@univerjs-pro/collaboration-client-ui 0.12.4-experimental.20251210-d708bff → 0.12.4-experimental.20251210-29c379a

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +15 -15
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x7e28(){const _0x2bee20=['getLocalCacheKey','UniverSheets','totalFormulasToCalculate','loadOfflineData','mutations','_updateURLWithCurrentState','reconnect','backgroundColor','_clearPolling','ITransformService','_commandService','_range','uni.network.url-service','formula.calculation.waiting','InsertRowCommandId','_logService','addObjects','bind','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','onCommandExecuted','all','add','_scheduleSaving','_unitStatus','@univerjs/engine-formula','TEXT_RANGE_LAYER_INDEX','getSheetId','setUndoRedoMutationParamsCache','RemoteUniscriptService','key','registerBeforeClose','_toggleOnline','LICENSE_EXPORT_SIZE_EXCEEDED','getUnit','clearInterval','getFocusedUnit','_send','INVITE_CODE_REQUIRED','collaboration.closeRoom','CollaborationEvent','REDEMPTION_USER_NOT_ELIGIBLE','430dvSytx','LICENSE_DISTRO_REJECTED','ENTITLE_CHAT_LIMIT_EXCEED','UniverSheetsUi','createInstance','_memberID','replace','unsubscribe','svg','_transformHistoryAndStateStack','takeUntil','IConfigService','stageInfo','off-line-icon_clip0_910_343','APPLY_REVISION_CONFILICT','SUCCESS','YUUMI_ASYNCIO_CANCELLED','_revisionService','filename','unshift','UNRECOGNIZED','roomMembers$','_cursorShapes','Success','973314OsUmFn','collabCursorState$','BehaviorSubject','eventID','collabStatus.fetchMiss','parse','transformIMECache','debounceTime','_online','_hasFormulaInDirtyRanges','_docTransformSelectionsService','_initUnhandledRejectionListener','event$','setItem','setTimeout','clsx','attrs','DisposableCollection','SetWorksheetActivateCommand','Subject','UniverEngineFormula','none','@univerjs/core','React','RxDisposable','IDocClipboardService','CanceledError','MUTATION','getActiveRange','entries','SOCKET_FAILED','blue.400','UniverDocsUi','getUnhiddenWorksheets','fillStyle','getTypeOfUnitAdded$','debounce','_uploadLog','map','_name','#FFF','createSocket','memberID','complete','_ensureSubject','_backgroundColor','useCallback','LOGIN_FAILED','_updateCollabCursors','init','disposeUnit','EMAIL_HAS_BEEN_BOUND','deserializeRangeWithSheet','code','_monkeyPatchLogService','origin','some','div','forEach','isFormulaString','saveImage','handleMoveRange','deepClone','RevisionService','min','UniverEngineRender','_handleHover','ranges','enableFrontendLog','UNIVER_SHEET','@univerjs/sheets-ui','triggerDblclick','releaseFormulaLimitUrl','_messageService','@univerjs/docs-ui','_initWindowErrorListener','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_renderManagerService','getConfig','subscribeEvent','getOffsetConfig','getColorFromTheme','runRefRangeMutations','UnitStatus','length','useDependency','INVALID_ARGUMENT','xlink:href','hide','entityInit$','ICommandService','editingUnit','_cursorInfo$','LOGIN_TOKEN_PROCESSING_FAILED','_cursor','getSkeleton','clearTimeout','_onRefRangeChange','transformRemoteChangeset','ENTITLE_REPORT_LIMIT_EXCEED','REDEMPTION_CODE_INACTIVE','assign','_collaborationSessionService','253617ACqyEI','max','range','_beforeCloseService','clipPath','COMPLETION_FINISHED','_getSaveTimeout','isActive','_getFormulaLimitStatus','next','1em','?taskId=','IBeforeCloseService','_localStorageService','session.connection-failed','_updateLocalCursor','whenReady','getActiveSheet','collabStatus.conflict','dispose','getCollabCursors$','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_roomMembers$','_startSheetCollabCursor','getDocRanges','MemberService','ENTITLE_COUPON_USED_UP','status$','_getScale','USER_NOT_INVITED_CODE','formula.calculation.unable','useObservable','_entityInit$','disposeWithMe','MOBILE_VERIFY_CODE_MISMATCH','selection','_transformService','_uiPartsService','toDisposable','_session','RemoveRowCommandId','_handleLeaveEvent','registerRefRange','white','_initCommandExecutedListener','@univerjs/design','exhaustSavingTask','_themeService','REDEMPTION_USER_REDEEM_TIMES_EXCEED','split','5915dfkAws','lineno','_notificationService','transformMutationsWithChangeset','location','redoState','collabStatus.offline','CollaborationSessionService','...','IUIPartsService','collaboration-client-ui.config','children','Workbook','restore','UniverInstanceType','IMessageService','OFFLINE','getMemberID','InsertRangeMoveDownCommandId','reason','makeDirty','_context','translate(.97)','ALREADY_EXISTS','_initCommandInterceptor','unit','useRef','ticket','data','_startDocCollabCursor','params','_heartbeatTimer','CONFLICT','pluginName','_transformPreviousActiveRange','@univerjs/docs','IUniverInstanceService','subunit','bottom','handleInsertRangeMoveDown','_registerRenderDependencies','disableLocalCache','/universer-api/frontend/logs','@univerjs/engine-render','column','CommandType','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_localCacheService','SetFormulaCalculationStartMutation','createElement','DocIMEInputManagerService','focused$','SUBMIT_CHANGESET_TIMEOUT','_docTransformStateCacheService','HTTPService','pushState','CollaborationUIEventService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','setInterval','getValue','FromArray','executeCommand','Tools','ERROR_AGAIN','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collabStatus.notCollab','SOCKET_FAILED_RETRY','ISocketService','show','_urlService','UniverProCollaborationClient','throttleTime','LocaleService','arc','string','_onCursorUpdate','WebURLService','_textBubble','UniverDesign','RichTextEditingMutation','type','_createSocketURL','mergeOverrideWithDependencies','onPointerEnter$','text','_collabSessionService','442920qLmzmO','getCoordByCell','_cursors','CollaborationStatus','engine','_releaseCalculationLimit','toStringTag','forwardRef','_docSkeletonManagerService','merge','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','getCurrent','isTransformMutationFailure','_clearOtherTimers','ENTITLE_COUPON_EXPIRED','defineProperty','collaboration.offline-data-not-saved','size','now','ENTITLE_INVALID_COUPON_CODE','startFormulaLimitUrl','SheetsSelectionsService','APPLY_REJECT','url(#on-line-icon_clip0_910_349)','currentSkeleton$','onRendered','Unknown\x20user','setActiveRange','_init','_transformUndoRedoStack','OTHER_CLIENT_EDITING','_hovered','DeleteRangeMoveUpCommandId','assignAColorForMemberID','switchMap','row','debug','Tooltip','Rect','round','trim','filter','@univerjs-pro/collaboration','_saveTaskMap','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_configService','_lastResponseTimestamp','_getAnchorBounding','UNIVER_DOC','transformStateCache','_initStatusComponent','toString','jsx','YUUMI_SUBSCRIPTION_NOT_FOUND','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getMergeData','onLocalMutation','ILocalStorageService','startRow','defs','post','_refRangeService','startsWith','_docStateChangeManagerService','IImageIoService','registerDependencies','_collaborationController','searchParams','INVITE_CODE_ALREADY_BOUND','_removeClearOtherTimer','lineTo','transformSelections','function','roomMembers','combineLatest','override','Plugin','undoState','AWAITING','ILogService','rxjs','_onCursorDelete','docStateChange$','findNodePositionByCharIndex','unitId','_initResize','_scheduleClearOtherTimer','INTERNAL_ERROR','InsertColCommandId','Disposable','push','random','font','SessionStatus','_initEvent','USER_IS_ANONYMOUS','getUndoRedoMutationParamsCache','onMouseMove','PAYMENT_CHANNEL_NOT_SUPPORT','_docSyncEditingCollabCursorService','getUniverSheetInstance','textRanges','top','_scene','send','newValue','UniverCollaborationClientUIPlugin','skeleton','ILocalCacheService','UniverNetwork','PY_RUNTIME_SCRIPT_ERROR','INVITE_CODE_HAS_BEEN_UES','black','mask','unhandledrejection','handleDeleteRangeMoveUp','isFormulaId','COLORS','http://www.w3.org/2000/svg','getCellMatrix','REDEMPTION_CODE_NOT_STARTED','REDEMPTION_CODE_HAS_BEEN_CREATED','beginPath','SetDocZoomRatioOperation','CURRENT_STATUS_CANNOT_OPERATE','_docClipboardService','onPointerLeave$','beforeCommandExecuted','_color','permission.title','USER_NOT_FOUND','_applyCommand','WebSocketService','message','isArray','_getSessionTicket','_collaborationUIEventService','socket$','_collabCursorController','getCurrentRevOfUnit','/universer-api/license/formula/limit/status','_unitOnClients','session.will-retry','m1Prime','ThemeService','path','session.collaboration-timeout','_colorAssignService','DataLoaderService','_anchorDot','doc.mutation.rich-text-editing','55vLypGa','color','urlChange$','_setFormulaLimitStatus','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_initDependencies','CollaborationUIEventId','on-line-icon_clip0_910_349','BuiltInUIPart','save','_getSheetObject','unitID','_pollingInterval','_updateSubUnitFromURLParams','getAncestorScale','_hover','YUUMI_NO_CUBOID_FOR_QUESTION','CHANGESET_REVISION_CONFILICT','_scheduleHeartbeat','DeleteRangeMoveLeftCommandId','2094DQAqfS','SNAPSHOT_HAS_BEEN_REMOVED','onPointerMove$','2214zRZKBB','parseInt','find','univerjs-icon\x20univerjs-icon-','MessageType','[Unhandled\x20Rejection]:\x20','DEFAULT_WS_SESSION_TICKET_URL','MOBILE_HAS_BEEN_BOUND','_maxFormulaLimit','RegularPolygon','REDEMPTION_CODE_FULLY_REDEEMED','NodePositionConvertToCursor','jiqing.500','includes','_showGuardMessage','values','react/jsx-runtime','DOC_RANGE_TYPE','APPLY_PERMISSION_DENIED','currentColor','getCellPositionByOffset','623060GqMLAY','_docTransformIMECacheService','CollaborationController','_initUserListener','WECHAT_HAS_BEEN_BOUND','HEADER_MENU','getSheetObject','EMAIL_VERIFY_CODE_MISMATCH','SHEET_VIEWPORT_KEY','NodePositionConvertToRectRange','@univerjs-pro/collaboration-client','CollaborationSocketService','Inject','saveTaskMap','startColumn','runOnServer','_selfUnitIDs','height','from','ENTITLE_INSUFFICIENT_QUOTA','dispose$','toRgbString','17396fclRKI','collab-client.tooltip.reconnect','YUUMI_RATE_OVER_LIMIT','PERMISSION_DENIED','_draw','_checkAndWaitForCalculationPermission','_dataLoaderService','_toggleOffline','DesktopCollaborationStatusDisplayController','ENTITLE_NEED_BILLING_ADDRESS','getParam','cursorInfo$','YUUMI_UNABLE_LOAD_URL','href','NO_OTHER_CLIENTS_EDITING','_entities','symbol','_id','IRenderManagerService','setParam','_anchor','_saveCache','activeSheet$','m2Prime','cursorInfo','_eventUnsubscribe','_config','_instanceService','Module','_setupBeforeClosingHandler','UNAUTHENTICATED','_setupSubUnitSync','green.600','_removeCollabCursors','fromEvent','Failed','has','connectInjector','RefRangeService','NOT_FOUND','LICENSE_IMPORT_SIZE_EXCEEDED','EffectRefRangId','USERS_LEAVE','sessionStatus$','RECT','getUnitStatus$','subUnitId','_initStatusListener','collab-rect-range-','_drawTextRange','get','_cachedData','LOCAL_CACHE_INTERVAL_KEY','setShapeProps','VIEW_MAIN','isTransformMutationsWithChangesetSuccess','FormulaExecutedStateType','NOT_COLLAB','_handleJoinEvent','IRemoteInstanceService','tag','history','on-line-icon','removeEventListener','subscribe','REDEMPTION_INVALID_CODE','setStateCache','TEXT','ColorKit','JOIN_ROOM_FAILED','colno','addEventListener','delete','Injector','evenodd','UniverCore','@univerjs/sheets','/run/','_colorIndex','ONLINE','YUUMI_URL_COL_OUT_OF_RANGE','LICENSE_MAX_UNITS_EXCEEDED','IURLService','shift','moveTo','UniverIcon','_localeService','syncEditingCollabCursor','maxFormulaLimit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','closePath','_memberService','endRow','_disabled','Warning','DocSelectionManagerService','set','YUUMI_CONNECTOR_URL_NOT_FOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','APPLY_NON_SEQUENTIAL_REVISION','Rectangle','SetSelectionsOperation','generateRandomId','selections','_httpService','fromEventSubject','_lastPointer','measureText','getUnitId','handleInsertRow','_drawAnchor','registerComponent','stack','touchDependencies','with','_getMergeRange','getMember','\x20at\x20','addObject','_drawRectRange','SheetSkeletonManagerService','_labelPosition','PENDING','getTypeOfUnitDisposed$','stringify','colorChannel1','body','_collabCursorState$','_syncEditingCollabCursorService','replaceState','collabStatus.synced','name','collabStatus.syncing','getOwnPropertyDescriptor','_document','requireSession','_currentUsage','ENSURE_SNAPSHOT_EXECUTION','BrowserCollaborationSocketService','saveOfflineData','amd','UniverDocs','_taskIds','drawWith','registerRenderModule','jsxs','asObservable','transformMutation','SNAPSHOT_INVALID_SNAPSHOT','error','getSheetBySheetId','react','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','limitInfo','CLOSE_ROOM','idSuffix','use','rgba(255,\x20255,\x20255,\x200.01)','_checkCalculationAvailable','UniverProCollaborationClientUi','sessionTicket','width','invokeId','_refreshCollabCursors','getRenderById','_hideTimer','sheetId','fillText','endColumn','object','Loading','removeParam','YUUMI_ALL_TABLES_IS_INVALID','getCollabEntity$','_shapes','pipe','/universer-api/license/formula/limit/start','_render','runId','_assignedColors','application/json','DependentOn','collab-text-anchor-','setAlpha','UniverCollaborationClientPlugin','784ExmXNt','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','then','FormulaExecuteStageType','_registerDependencies','START_CALCULATION','[Window\x20Error]:\x20','_status$','_handleEvent','_injector','getRangePointData','_initEntityListener','_univerInstanceService','setConfig','_sheetSkeletonManagerService','flatMap','Shape','current','0\x200\x2017\x2016','[CollaborationDataLoaderController]','getColor','fill','currentTheme$','Error','UNDEFINED','Vector2','formula.calculation.started','CONNECTOR_DATA_TOO_LARGE','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','red.300','RemoveColCommandId','CollaborationDataLoaderController','UPDATE_CURSOR','UniverUi','displayName','wsSessionTicketUrl'];_0x7e28=function(){return _0x2bee20;};return _0x7e28();}function _0x33b0(_0x3fc460,_0xad95c){_0x3fc460=_0x3fc460-0x6e;const _0x7e2888=_0x7e28();let _0x33b0ca=_0x7e2888[_0x3fc460];return _0x33b0ca;}(function(_0x143a9e,_0x27e87c){const _0x5d7621=_0x33b0,_0x4e1576=_0x143a9e();while(!![]){try{const _0x85f168=-parseInt(_0x5d7621(0x276))/0x1+-parseInt(_0x5d7621(0x2fe))/0x2+parseInt(_0x5d7621(0x20f))/0x3+-parseInt(_0x5d7621(0xf1))/0x4*(-parseInt(_0x5d7621(0x1f7))/0x5)+-parseInt(_0x5d7621(0xc3))/0x6*(-parseInt(_0x5d7621(0x2a8))/0x7)+-parseInt(_0x5d7621(0x1aa))/0x8*(-parseInt(_0x5d7621(0xc6))/0x9)+parseInt(_0x5d7621(0xdb))/0xa*(-parseInt(_0x5d7621(0xaf))/0xb);if(_0x85f168===_0x27e87c)break;else _0x4e1576['push'](_0x4e1576['shift']());}catch(_0x473973){_0x4e1576['push'](_0x4e1576['shift']());}}}(_0x7e28,0x385ca),function(_0x2a427f,_0x37ed0e){const _0x2061e7=_0x33b0;typeof exports==_0x2061e7(0x19a)&&typeof module<'u'?_0x37ed0e(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x2061e7(0x346)&&define[_0x2061e7(0x17d)]?define(['exports',_0x2061e7(0xd6),_0x2061e7(0xe5),_0x2061e7(0x225),'@univerjs/ui','rxjs',_0x2061e7(0x2a3),_0x2061e7(0x188),'@univerjs/rpc',_0x2061e7(0x13d),_0x2061e7(0x2d3),'@univerjs/network',_0x2061e7(0x259),'@univerjs/drawing',_0x2061e7(0x328),_0x2061e7(0x2cb),_0x2061e7(0x1e6),'rxjs/operators',_0x2061e7(0x255)],_0x37ed0e):(_0x2a427f=typeof globalThis<'u'?globalThis:_0x2a427f||self,_0x37ed0e(_0x2a427f[_0x2061e7(0x190)]={},_0x2a427f[_0x2061e7(0x226)],_0x2a427f[_0x2061e7(0x2ee)],_0x2a427f[_0x2061e7(0x13c)],_0x2a427f[_0x2061e7(0x1cb)],_0x2a427f['rxjs'],_0x2a427f[_0x2061e7(0x2f6)],_0x2a427f[_0x2061e7(0x226)],_0x2a427f['UniverRpc'],_0x2a427f[_0x2061e7(0x1cf)],_0x2a427f[_0x2061e7(0x250)],_0x2a427f[_0x2061e7(0x85)],_0x2a427f[_0x2061e7(0x22f)],_0x2a427f['UniverDrawing'],_0x2a427f['UniverProCollaboration'],_0x2a427f[_0x2061e7(0x17e)],_0x2a427f[_0x2061e7(0x223)],_0x2a427f[_0x2061e7(0x34e)]['operators'],_0x2a427f[_0x2061e7(0x1fa)]));}(this,function(_0x21651b,_0x4401ae,_0x3899ea,_0x1dfb30,_0x5581af,_0x12ea67,_0x1d1957,_0x1060b1,_0x52d554,_0x59ff8d,_0x5cce25,_0x221af8,_0x4f04d2,_0x54e484,_0x1448e7,_0x90847b,_0x119829,_0x2dd10a,_0x149dfc){'use strict';const _0x1c30d9=_0x33b0;var _0x21f776=Object[_0x1c30d9(0x30d)],_0x52ca7d=(_0x1876f3,_0x2c8dd1,_0x2d9932)=>_0x2c8dd1 in _0x1876f3?_0x21f776(_0x1876f3,_0x2c8dd1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d9932}):_0x1876f3[_0x2c8dd1]=_0x2d9932,_0xbf1006=(_0xdc5087,_0xd2fd5e,_0x1d183b)=>_0x52ca7d(_0xdc5087,typeof _0xd2fd5e!=_0x1c30d9(0x101)?_0xd2fd5e+'':_0xd2fd5e,_0x1d183b);function _0xe02e29({ref:_0x15d6d4,..._0x265e9a}){const _0x448ea0=_0x1c30d9,{icon:_0xc42af3,id:_0x403eee,className:_0x50b0aa,extend:_0x3c6815,..._0x340fac}=_0x265e9a,_0x5bc8f5=(_0x448ea0(0xc9)+_0x403eee+'\x20'+(_0x50b0aa||''))[_0x448ea0(0x326)](),_0x211b28=_0x1060b1[_0x448ea0(0x2c2)]('_'+_0x14ae85());return _0x3f3387(_0xc42af3,''+_0x403eee,{'defIds':_0xc42af3['defIds'],'idSuffix':_0x211b28[_0x448ea0(0x1bb)]},{'ref':_0x15d6d4,'className':_0x5bc8f5,..._0x340fac},_0x3c6815);}function _0x3f3387(_0x1ac055,_0x23c2b7,_0x326ca6,_0x11ae7a,_0x4ec11e){return _0x1060b1['createElement'](_0x1ac055['tag'],{'key':_0x23c2b7,..._0x14d226(_0x1ac055,_0x326ca6,_0x4ec11e),..._0x11ae7a},(_0x6e4566(_0x1ac055,_0x326ca6)['children']||[])['map']((_0x5e888c,_0x863dbd)=>_0x3f3387(_0x5e888c,_0x23c2b7+'-'+_0x1ac055['tag']+'-'+_0x863dbd,_0x326ca6,void 0x0,_0x4ec11e)));}function _0x14d226(_0x5f1574,_0x21436b,_0x246d64){const _0x3af2a6=_0x1c30d9,_0x4423f2={..._0x5f1574['attrs']};_0x246d64!=null&&_0x246d64[_0x3af2a6(0x16e)]&&_0x4423f2[_0x3af2a6(0x1bf)]===_0x3af2a6(0x16e)&&(_0x4423f2[_0x3af2a6(0x1bf)]=_0x246d64[_0x3af2a6(0x16e)]),_0x5f1574[_0x3af2a6(0x12d)]===_0x3af2a6(0x89)&&_0x4423f2['id']&&(_0x4423f2['id']=_0x4423f2['id']+_0x21436b[_0x3af2a6(0x18c)]),Object[_0x3af2a6(0x22c)](_0x4423f2)['forEach'](([_0x4a109a,_0x3ccf74])=>{const _0x590703=_0x3af2a6;_0x4a109a==='mask'&&typeof _0x3ccf74=='string'&&(_0x4423f2[_0x4a109a]=_0x3ccf74['replace'](/url\(#(.*)\)/,'url(#$1'+_0x21436b[_0x590703(0x18c)]+')'));});const {defIds:_0x4a49f0}=_0x21436b;return!_0x4a49f0||_0x4a49f0['length']===0x0||(_0x5f1574[_0x3af2a6(0x12d)]===_0x3af2a6(0x18d)&&_0x4423f2[_0x3af2a6(0x266)]&&(_0x4423f2['xlink:href']=_0x4423f2[_0x3af2a6(0x266)]+_0x21436b[_0x3af2a6(0x18c)]),Object['entries'](_0x4423f2)[_0x3af2a6(0x249)](([_0x47402c,_0x6e1bf1])=>{const _0x1ec959=_0x3af2a6;typeof _0x6e1bf1=='string'&&(_0x4423f2[_0x47402c]=_0x6e1bf1[_0x1ec959(0x1fd)](/url\(#(.*)\)/,'url(#$1'+_0x21436b[_0x1ec959(0x18c)]+')'));})),_0x4423f2;}function _0x6e4566(_0x4c6c2,_0x121981){const _0x3c9132=_0x1c30d9;var _0x4287a7;const {defIds:_0x17396c}=_0x121981;return!_0x17396c||_0x17396c[_0x3c9132(0x263)]===0x0?_0x4c6c2:_0x4c6c2[_0x3c9132(0x12d)]==='defs'&&((_0x4287a7=_0x4c6c2[_0x3c9132(0x2b3)])!=null&&_0x4287a7[_0x3c9132(0x263)])?{..._0x4c6c2,'children':_0x4c6c2[_0x3c9132(0x2b3)][_0x3c9132(0x235)](_0x63d50=>typeof _0x63d50[_0x3c9132(0x21f)]['id']==_0x3c9132(0x2f2)&&_0x17396c&&_0x17396c[_0x3c9132(0xd3)](_0x63d50[_0x3c9132(0x21f)]['id'])?{..._0x63d50,'attrs':{..._0x63d50[_0x3c9132(0x21f)],'id':_0x63d50['attrs']['id']+_0x121981[_0x3c9132(0x18c)]}}:_0x63d50)}:_0x4c6c2;}function _0x14ae85(){const _0x4a006a=_0x1c30d9;return Math[_0x4a006a(0x73)]()[_0x4a006a(0x331)](0x24)['substring'](0x2,0x8);}_0xe02e29[_0x1c30d9(0x1cc)]=_0x1c30d9(0x146);const _0x32fe32={'tag':_0x1c30d9(0x1ff),'attrs':{'xmlns':_0x1c30d9(0x8e),'fill':_0x1c30d9(0x224),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x1c30d9(0xa9),'attrs':{'stroke':_0x1c30d9(0xd9),'d':_0x1c30d9(0x1e0),'strokeLinecap':'round','strokeLinejoin':_0x1c30d9(0x325),'strokeWidth':1.2}}]},{'tag':_0x1c30d9(0x339),'attrs':{},'children':[{'tag':_0x1c30d9(0x27a),'attrs':{'id':_0x1c30d9(0x204)},'children':[{'tag':_0x1c30d9(0xa9),'attrs':{'fill':_0x1c30d9(0x2a1),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1c30d9(0x204)]},_0x174388=_0x1060b1[_0x1c30d9(0x305)](function(_0x34f384,_0x2ef7e6){const _0x2f2dc7=_0x1c30d9;return _0x1060b1[_0x2f2dc7(0x2d9)](_0xe02e29,Object[_0x2f2dc7(0x274)]({},_0x34f384,{'id':'off-line-icon','ref':_0x2ef7e6,'icon':_0x32fe32}));});_0x174388[_0x1c30d9(0x1cc)]='OffLineIcon';const _0x4d2ade={'tag':_0x1c30d9(0x1ff),'attrs':{'xmlns':_0x1c30d9(0x8e),'fill':_0x1c30d9(0x224),'viewBox':_0x1c30d9(0x1bc),'width':_0x1c30d9(0x280),'height':_0x1c30d9(0x280)},'children':[{'tag':'g','attrs':{'clipPath':_0x1c30d9(0x315)},'children':[{'tag':_0x1c30d9(0xa9),'attrs':{'stroke':'currentColor','d':_0x1c30d9(0x308),'strokeLinecap':_0x1c30d9(0x325),'strokeLinejoin':_0x1c30d9(0x325),'strokeWidth':1.2}}]},{'tag':_0x1c30d9(0x339),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1c30d9(0xb6)},'children':[{'tag':_0x1c30d9(0xa9),'attrs':{'fill':_0x1c30d9(0x2a1),'d':'M0\x200H16V16H0z','transform':_0x1c30d9(0x2be)}}]}]}],'defIds':[_0x1c30d9(0xb6)]},_0x28e949=_0x1060b1['forwardRef'](function(_0x5048bf,_0x122125){const _0x2e294b=_0x1c30d9;return _0x1060b1[_0x2e294b(0x2d9)](_0xe02e29,Object[_0x2e294b(0x274)]({},_0x5048bf,{'id':_0x2e294b(0x12f),'ref':_0x122125,'icon':_0x4d2ade}));});_0x28e949[_0x1c30d9(0x1cc)]='OnLineIcon';function _0x4803c2(_0x2312e1){const _0x3b698d=_0x1c30d9;switch(_0x2312e1){case _0x3899ea[_0x3b698d(0x301)][_0x3b698d(0x2b8)]:return _0x3b698d(0x2ae);case _0x3899ea[_0x3b698d(0x301)][_0x3b698d(0x2c8)]:return _0x3b698d(0x288);case _0x3899ea['CollaborationStatus']['FETCH_MISS']:return _0x3b698d(0x213);case _0x3899ea[_0x3b698d(0x301)][_0x3b698d(0x12a)]:return _0x3b698d(0x2e9);case _0x3899ea[_0x3b698d(0x301)][_0x3b698d(0x34c)]:case _0x3899ea[_0x3b698d(0x301)]['AWAITING_WITH_PENDING']:return _0x3b698d(0x175);case _0x3899ea['CollaborationStatus']['SYNCED']:case _0x3899ea['CollaborationStatus'][_0x3b698d(0x16b)]:return _0x3b698d(0x173);}}function _0x13f0f1(_0x2ea3d8){const _0x539b90=_0x1c30d9,{status$:_0x5f2498}=_0x2ea3d8,_0x30077d=_0x5581af[_0x539b90(0x295)](_0x5f2498,_0x3899ea[_0x539b90(0x301)][_0x539b90(0x12a)]),_0x45a736=_0x5581af['useDependency'](_0x1dfb30[_0x539b90(0x2f0)]),_0x63342=_0x5581af[_0x539b90(0x264)](_0x3899ea['CollaborationSessionService']),_0x2832fe=_0x30077d!==_0x3899ea[_0x539b90(0x301)][_0x539b90(0x2b8)],_0x449d99=_0x45a736['t'](_0x4803c2(_0x30077d)),_0x31fec9=_0x2832fe?_0x4401ae[_0x539b90(0x332)](_0x28e949,{}):_0x4401ae['jsx'](_0x174388,{}),_0x2383da=_0x1060b1[_0x539b90(0x23d)](()=>{const _0x19fd18=_0x539b90;_0x2832fe||_0x63342[_0x19fd18(0x1d4)]();},[_0x2832fe,_0x63342]);function _0x150a2a(){const _0x546365=_0x539b90;return _0x4401ae[_0x546365(0x182)](_0x546365(0x248),{'className':'univer-flex\x20univer-items-center','onClick':_0x2383da,'children':[_0x4401ae[_0x546365(0x332)]('div',{'className':_0x1d1957[_0x546365(0x21e)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2832fe,'univer-text-red-500':!_0x2832fe}),'children':_0x31fec9}),_0x4401ae['jsx'](_0x546365(0x248),{'className':_0x546365(0x2e1),'children':_0x449d99})]});}return _0x2832fe?_0x150a2a():_0x4401ae[_0x539b90(0x332)](_0x1d1957[_0x539b90(0x323)],{'title':_0x45a736['t'](_0x539b90(0xf2)),'children':_0x150a2a()});}var _0x23bdd9=Object[_0x1c30d9(0x176)],_0x51d42c=(_0x5b983c,_0x1db36b,_0x2087b2,_0x5267eb)=>{const _0x3a447d=_0x1c30d9;for(var _0x25c436=_0x5267eb>0x1?void 0x0:_0x5267eb?_0x23bdd9(_0x1db36b,_0x2087b2):_0x1db36b,_0x2ad384=_0x5b983c[_0x3a447d(0x263)]-0x1,_0x426c5c;_0x2ad384>=0x0;_0x2ad384--)(_0x426c5c=_0x5b983c[_0x2ad384])&&(_0x25c436=_0x426c5c(_0x25c436)||_0x25c436);return _0x25c436;},_0x3d2c07=(_0x509814,_0x45a8b5)=>(_0x2ba506,_0xbc2e58)=>_0x45a8b5(_0x2ba506,_0xbc2e58,_0x509814);_0x21651b[_0x1c30d9(0xf9)]=class extends _0x1dfb30[_0x1c30d9(0x71)]{constructor(_0x264ed1,_0x2cfd61,_0x460d47,_0x120305){const _0x3bc4f4=_0x1c30d9;super(),_0xbf1006(this,_0x3bc4f4(0x1b1),new _0x12ea67[(_0x3bc4f4(0x211))](_0x3899ea[_0x3bc4f4(0x301)][_0x3bc4f4(0x12a)])),(this['_univerInstanceService']=_0x264ed1,this['_injector']=_0x2cfd61,this['_collaborationController']=_0x460d47,this['_uiPartsService']=_0x120305,this[_0x3bc4f4(0x330)](),this[_0x3bc4f4(0x120)]());}[_0x1c30d9(0x120)](){const _0x128f2e=_0x1c30d9;this[_0x128f2e(0x297)](this['_univerInstanceService'][_0x128f2e(0x2db)][_0x128f2e(0x1a0)](_0x12ea67[_0x128f2e(0x320)](()=>{const _0x26a6eb=_0x128f2e,_0x3e74f=this[_0x26a6eb(0x1b6)][_0x26a6eb(0x1f1)]();return _0x3e74f?this[_0x26a6eb(0x340)][_0x26a6eb(0x19e)](_0x3e74f[_0x26a6eb(0x15d)]()):_0x12ea67['of'](null);}),_0x12ea67[_0x128f2e(0x320)](_0x4a1395=>_0x4a1395?_0x4a1395[_0x128f2e(0x291)]:_0x12ea67['of'](_0x3899ea[_0x128f2e(0x301)][_0x128f2e(0x12a)])))[_0x128f2e(0x131)](_0x34d159=>{const _0x2af22a=_0x128f2e;this[_0x2af22a(0x1b1)]['next'](_0x34d159);}));}[_0x1c30d9(0x330)](){const _0x2b159e=_0x1c30d9;this[_0x2b159e(0x297)](this[_0x2b159e(0x29b)][_0x2b159e(0x160)](_0x5581af[_0x2b159e(0xb7)][_0x2b159e(0xe0)],()=>_0x5581af[_0x2b159e(0x116)](_0x4fa062({'status$':this[_0x2b159e(0x1b1)]['asObservable']()}),this[_0x2b159e(0x1b3)])));}},_0x21651b['DesktopCollaborationStatusDisplayController']=_0x51d42c([_0x3d2c07(0x0,_0x1dfb30[_0x1c30d9(0x2cc)]),_0x3d2c07(0x1,_0x1dfb30['Inject'](_0x1dfb30[_0x1c30d9(0x13a)])),_0x3d2c07(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x3899ea[_0x1c30d9(0xdd)])),_0x3d2c07(0x3,_0x5581af[_0x1c30d9(0x2b1)])],_0x21651b[_0x1c30d9(0xf9)]);function _0x4fa062(_0x3dc3ff){const {status$:_0x5941bc}=_0x3dc3ff;return function(){const _0x446607=_0x33b0;return _0x4401ae[_0x446607(0x332)](_0x13f0f1,{'status$':_0x5941bc});};}const _0x50751f=_0x1dfb30['createIdentifier'](_0x1c30d9(0x1da));var _0x383a5a=Object[_0x1c30d9(0x176)],_0x7d5f55=(_0x35902d,_0x1fee03,_0x43ae0f,_0x2d4b25)=>{const _0x19336f=_0x1c30d9;for(var _0x480231=_0x2d4b25>0x1?void 0x0:_0x2d4b25?_0x383a5a(_0x1fee03,_0x43ae0f):_0x1fee03,_0x5e161a=_0x35902d[_0x19336f(0x263)]-0x1,_0x51f8f5;_0x5e161a>=0x0;_0x5e161a--)(_0x51f8f5=_0x35902d[_0x5e161a])&&(_0x480231=_0x51f8f5(_0x480231)||_0x480231);return _0x480231;},_0x4762cc=(_0x3dd77a,_0x2ac1a0)=>(_0x22c92f,_0x3a4fb8)=>_0x2ac1a0(_0x22c92f,_0x3a4fb8,_0x3dd77a);_0x21651b['CollaborationDataLoaderController']=class extends _0x1dfb30['RxDisposable']{constructor(_0x1104bd,_0x47c54e,_0x1bb926,_0x240686,_0x31c079){const _0x371e08=_0x1c30d9;super(),this['_urlService']=_0x1104bd,this['_logService']=_0x47c54e,this['_commandService']=_0x1bb926,this[_0x371e08(0xf7)]=_0x240686,_0x31c079?_0x31c079==null||_0x31c079[_0x371e08(0x286)]()[_0x371e08(0x1ac)](()=>this[_0x371e08(0x31a)]()):(this['_logService']['debug'](_0x371e08(0x1bd),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x371e08(0x31a)]());}async[_0x1c30d9(0x31a)](){const _0x37d92a=_0x1c30d9,_0x8bb63d=this['_urlService'][_0x37d92a(0xfb)](_0x37d92a(0x2c1)),_0x72da87=this[_0x37d92a(0x2ed)][_0x37d92a(0xfb)](_0x37d92a(0x2f8)),_0x428129=this[_0x37d92a(0x2ed)]['getParam'](_0x37d92a(0x2cd));if(!_0x8bb63d||!_0x72da87){this[_0x37d92a(0x1dd)][_0x37d92a(0x322)](_0x37d92a(0x1bd),_0x37d92a(0x32a));return;}const _0x568c69=await this[_0x37d92a(0xf7)]['loadUnit'](_0x8bb63d,Number(_0x72da87),_0x428129);_0x568c69&&_0x568c69 instanceof _0x1dfb30[_0x37d92a(0x2b4)]&&this[_0x37d92a(0x110)](_0x568c69);}async[_0x1c30d9(0x110)](_0x3a9133){const _0x36791b=_0x1c30d9;await this[_0x36791b(0xbc)](_0x3a9133),_0x3a9133[_0x36791b(0x107)][_0x36791b(0x1a0)](_0x12ea67['takeUntil'](this[_0x36791b(0xef)]))[_0x36791b(0x131)](_0x4ad768=>{const _0x2debbd=_0x36791b;_0x4ad768&&this[_0x2debbd(0x1d3)](_0x4ad768);}),this['_urlService']['urlChange$'][_0x36791b(0x1a0)](_0x12ea67['takeUntil'](this[_0x36791b(0xef)]))[_0x36791b(0x131)](()=>this['_updateSubUnitFromURLParams'](_0x3a9133));}[_0x1c30d9(0x1d3)](_0x240601,_0x5d22d2=!0x1){const _0xb1130d=_0x1c30d9,_0x4ea0ed=this[_0xb1130d(0x2ed)][_0xb1130d(0xfb)](_0xb1130d(0x2cd));_0x240601[_0xb1130d(0x1e8)]()!==_0x4ea0ed&&this[_0xb1130d(0x2ed)][_0xb1130d(0x104)](_0xb1130d(0x2cd),_0x240601[_0xb1130d(0x1e8)](),_0x5d22d2);}async[_0x1c30d9(0xbc)](_0x24efa6){const _0x1a9569=_0x1c30d9;var _0x130df3;const _0xd53000=this['_urlService'][_0x1a9569(0xfb)](_0x1a9569(0x2cd));if(!_0xd53000||!_0x24efa6[_0x1a9569(0x187)](_0xd53000)){const _0x326167=_0x24efa6[_0x1a9569(0x230)]()[0x0],_0x40d2dd=_0x24efa6[_0x1a9569(0x187)](_0x326167);if(!_0x40d2dd)return;this[_0x1a9569(0x1d3)](_0x40d2dd,!0x0),await this[_0x1a9569(0x1d8)]['executeCommand'](_0x59ff8d[_0x1a9569(0x221)]['id'],{'unitId':_0x24efa6[_0x1a9569(0x15d)](),'subUnitId':_0x326167});return;}((_0x130df3=_0x24efa6['getActiveSheet']())==null?void 0x0:_0x130df3[_0x1a9569(0x1e8)]())!==_0xd53000&&await this[_0x1a9569(0x1d8)][_0x1a9569(0x2e5)](_0x59ff8d[_0x1a9569(0x221)]['id'],{'unitId':_0x24efa6[_0x1a9569(0x15d)](),'subUnitId':_0xd53000});}},_0x21651b[_0x1c30d9(0x1c9)]=_0x7d5f55([_0x4762cc(0x0,_0x50751f),_0x4762cc(0x1,_0x1dfb30[_0x1c30d9(0x34d)]),_0x4762cc(0x2,_0x1dfb30[_0x1c30d9(0x269)]),_0x4762cc(0x3,_0x1dfb30[_0x1c30d9(0xe7)](_0x3899ea[_0x1c30d9(0xac)])),_0x4762cc(0x4,_0x1dfb30['Optional'](_0x52d554[_0x1c30d9(0x12c)]))],_0x21651b[_0x1c30d9(0x1c9)]);var _0x248c21=Object[_0x1c30d9(0x176)],_0x1d1448=(_0x191b72,_0xcb619b,_0x5062e5,_0x17e167)=>{for(var _0x2f5fce=_0x17e167>0x1?void 0x0:_0x17e167?_0x248c21(_0xcb619b,_0x5062e5):_0xcb619b,_0x3c173e=_0x191b72['length']-0x1,_0x4a9904;_0x3c173e>=0x0;_0x3c173e--)(_0x4a9904=_0x191b72[_0x3c173e])&&(_0x2f5fce=_0x4a9904(_0x2f5fce)||_0x2f5fce);return _0x2f5fce;},_0x465541=(_0x5f467d,_0x25dbc6)=>(_0x442ae3,_0x584176)=>_0x25dbc6(_0x442ae3,_0x584176,_0x5f467d);let _0x5cf9d2=class extends _0x1dfb30[_0x1c30d9(0x227)]{constructor(_0x4ffb2e,_0x4c9c1b){const _0x61f894=_0x1c30d9;super(),this[_0x61f894(0x95)]=_0x4ffb2e,this['_imageIoService']=_0x4c9c1b,this[_0x61f894(0x31a)]();}[_0x1c30d9(0x31a)](){const _0x360d9a=_0x1c30d9,_0x1a2ae2=this;this[_0x360d9a(0x297)](this[_0x360d9a(0x95)]['addClipboardHook']({'onBeforePasteImage':async _0x3da10d=>{const _0x40c9bd=_0x360d9a,_0x22f9e3=await _0x1a2ae2['_imageIoService'][_0x40c9bd(0x24b)](_0x3da10d);return _0x22f9e3?{'source':_0x22f9e3['source'],'imageSourceType':_0x22f9e3['imageSourceType']}:null;}}));}};_0x5cf9d2=_0x1d1448([_0x465541(0x0,_0x4f04d2[_0x1c30d9(0x228)]),_0x465541(0x1,_0x54e484[_0x1c30d9(0x33e)])],_0x5cf9d2);const _0x522eee=['purple.300',_0x1c30d9(0xd2),_0x1c30d9(0x111),_0x1c30d9(0x1c7),_0x1c30d9(0x22e),'yellow.400'];class _0x37c3e7 extends _0x1dfb30[_0x1c30d9(0x71)]{constructor(){const _0x556ca7=_0x1c30d9;super(...arguments),_0xbf1006(this,_0x556ca7(0x1a4),new Map()),_0xbf1006(this,_0x556ca7(0x13f),0x0);}[_0x1c30d9(0x31f)](_0xe9e02b){const _0x2457b6=_0x1c30d9;if(this[_0x2457b6(0x1a4)][_0x2457b6(0x115)](_0xe9e02b))return this[_0x2457b6(0x1a4)]['get'](_0xe9e02b);const _0x380ea9=_0x522eee[this[_0x2457b6(0x13f)]];return this[_0x2457b6(0x13f)]=(this[_0x2457b6(0x13f)]+0x1)%_0x522eee[_0x2457b6(0x263)],this[_0x2457b6(0x1a4)][_0x2457b6(0x151)](_0xe9e02b,_0x380ea9),_0x380ea9;}}function _0x5e1a13(_0x53738a){const _0x4b8fa2=_0x1c30d9;let _0x198f02='';for(const _0x13580c of _0x53738a){const {startOffset:_0x3285cc,endOffset:_0x31cee9,isActive:_0x4cc963,rangeType:_0x1bcbc6,segmentId:_0x9af153,segmentPage:_0x35092e}=_0x13580c;_0x198f02[_0x4b8fa2(0x263)]&&(_0x198f02+=','),_0x198f02+=_0x3285cc+':'+_0x31cee9+':'+(_0x4cc963?'1':'0')+':'+_0x1bcbc6+':'+_0x9af153+':'+_0x35092e;}return _0x198f02;}function _0x43cc2a(_0xa8ea70){const _0x1d9240=_0x1c30d9,_0x10608b=_0xa8ea70[_0x1d9240(0x2a7)](','),_0x489970=[];for(const _0x560a6d of _0x10608b){const [_0x195cca,_0x2ad34b,_0x18303b,_0x56dad3,_0x122245,_0x55cafd]=_0x560a6d[_0x1d9240(0x2a7)](':');_0x489970[_0x1d9240(0x72)]({'startOffset':Number(_0x195cca),'endOffset':Number(_0x2ad34b),'collapsed':_0x195cca===_0x2ad34b,'isActive':_0x18303b==='1','rangeType':_0x56dad3===_0x1dfb30[_0x1d9240(0xd7)][_0x1d9240(0x134)]?_0x1dfb30['DOC_RANGE_TYPE'][_0x1d9240(0x134)]:_0x1dfb30[_0x1d9240(0xd7)][_0x1d9240(0x11d)],'segmentId':typeof _0x122245==_0x1d9240(0x2f2)?String(_0x122245):'','segmentPage':Number(_0x55cafd!=null?_0x55cafd:-0x1)});}return _0x489970[_0x1d9240(0x247)](_0x5ec889=>_0x5ec889[_0x1d9240(0x27d)])||(_0x489970[0x0][_0x1d9240(0x27d)]=!0x0),_0x489970;}class _0x3b41c7 extends _0x1dfb30[_0x1c30d9(0x227)]{constructor(){const _0x4ecac8=_0x1c30d9;super(...arguments),_0xbf1006(this,'_collabCursorState$',new _0x12ea67[(_0x4ecac8(0x211))](null)),_0xbf1006(this,_0x4ecac8(0x210),this[_0x4ecac8(0x170)][_0x4ecac8(0x183)]());}[_0x1c30d9(0x148)](_0x2adfb8){const _0x21cebe=_0x1c30d9,{unitID:_0x3966fc,memberID:_0x568058,textRanges:_0x2b4382}=_0x2adfb8,_0x59f0be=_0x5e1a13(_0x2b4382);if(_0x59f0be==='')return;const _0x8931f0={'unitID':_0x3966fc,'memberID':_0x568058,'selection':_0x59f0be};this[_0x21cebe(0x170)][_0x21cebe(0x27f)](_0x8931f0);}}var _0x3e8ba9=Object[_0x1c30d9(0x176)],_0xf0f5c9=(_0x2f3e32,_0x336c11,_0x5ba632,_0x573a22)=>{const _0x4252f4=_0x1c30d9;for(var _0x490e95=_0x573a22>0x1?void 0x0:_0x573a22?_0x3e8ba9(_0x336c11,_0x5ba632):_0x336c11,_0x337611=_0x2f3e32[_0x4252f4(0x263)]-0x1,_0x61db2b;_0x337611>=0x0;_0x337611--)(_0x61db2b=_0x2f3e32[_0x337611])&&(_0x490e95=_0x61db2b(_0x490e95)||_0x490e95);return _0x490e95;},_0x2e2ed7=(_0x52beaa,_0x566f01)=>(_0xb61ff0,_0x30fbea)=>_0x566f01(_0xb61ff0,_0x30fbea,_0x52beaa);const _0x5d97ec=0x12c,_0x2ac50f=0x64;let _0x1ce994=class extends _0x1dfb30[_0x1c30d9(0x227)]{constructor(_0x352078,_0x4530fd,_0x24e9b7,_0x352a12,_0x1513f1,_0x23bc49,_0x55d657,_0xa5b2a9,_0x63237){const _0x1127f8=_0x1c30d9;super(),_0xbf1006(this,_0x1127f8(0x217),!0x1),_0xbf1006(this,'_init',!0x1),_0xbf1006(this,'_cursorInfo$',new _0x12ea67['BehaviorSubject'](new Map())),_0xbf1006(this,_0x1127f8(0xfc),this[_0x1127f8(0x26b)][_0x1127f8(0x183)]()),_0xbf1006(this,_0x1127f8(0x28c),new _0x12ea67[(_0x1127f8(0x211))]([])),_0xbf1006(this,_0x1127f8(0x20c),this[_0x1127f8(0x28c)]['pipe'](_0x12ea67[_0x1127f8(0x216)](_0x5d97ec))),_0xbf1006(this,_0x1127f8(0x285),_0x1dfb30[_0x1127f8(0x233)](_0x2700be=>{const _0x4639e3=_0x1127f8,_0x2d68e2={'eventID':_0x1448e7[_0x4639e3(0x1f5)][_0x4639e3(0x1ca)],'data':{'unitID':this[_0x4639e3(0xba)],'memberID':this[_0x4639e3(0x29d)][_0x4639e3(0x2b9)](),'selection':_0x5e1a13(_0x2700be)}};this[_0x4639e3(0x29d)][_0x4639e3(0x80)](_0x2d68e2,this[_0x4639e3(0xba)]);},_0x2ac50f)),(this[_0x1127f8(0xba)]=_0x352078,this[_0x1127f8(0x29d)]=_0x4530fd,this['_injector']=_0x24e9b7,this['_colorAssignService']=_0x352a12,this[_0x1127f8(0x14c)]=_0x1513f1,this[_0x1127f8(0x171)]=_0x23bc49,this[_0x1127f8(0x29a)]=_0x55d657,this[_0x1127f8(0x1b6)]=_0xa5b2a9,this[_0x1127f8(0x1d8)]=_0x63237);}get[_0x1c30d9(0x109)](){const _0x880bbe=_0x1c30d9;return this['_cursorInfo$'][_0x880bbe(0x2e3)]();}get['roomMembers'](){const _0x5f3dcc=_0x1c30d9;return this[_0x5f3dcc(0x28c)][_0x5f3dcc(0x2e3)]();}[_0x1c30d9(0x289)](){const _0x49d567=_0x1c30d9;super[_0x49d567(0x289)](),this[_0x49d567(0x26b)][_0x49d567(0x27f)](new Map()),this[_0x49d567(0x26b)][_0x49d567(0x23a)](),this[_0x49d567(0x28c)][_0x49d567(0x27f)]([]),this[_0x49d567(0x28c)]['complete']();}[_0x1c30d9(0x240)](){const _0x1749e4=_0x1c30d9;this['_init']||(this['_init']=!0x0,this[_0x1749e4(0x29d)][_0x1749e4(0x11c)][_0x1749e4(0x1a0)](_0x12ea67['takeUntil'](this[_0x1749e4(0xef)]))[_0x1749e4(0x131)](_0x213901=>{const _0x54e76b=_0x1749e4;_0x213901===_0x3899ea[_0x54e76b(0x75)][_0x54e76b(0x140)]?this[_0x54e76b(0x1ed)]():this[_0x54e76b(0xf8)]();}),this[_0x1749e4(0x29d)][_0x1749e4(0x21b)][_0x1749e4(0x1a0)](_0x12ea67[_0x1749e4(0x201)](this[_0x1749e4(0xef)]))[_0x1749e4(0x131)](_0x33abef=>{const _0xc5de31=_0x1749e4,_0x59c411=_0x33abef['eventID'];_0x59c411===_0x1448e7[_0xc5de31(0x1f5)][_0xc5de31(0x1ca)]&&this[_0xc5de31(0x2f3)](_0x33abef),_0x59c411===_0x1448e7[_0xc5de31(0x1f5)][_0xc5de31(0x11b)]&&this[_0xc5de31(0x34f)](_0x33abef);}),this[_0x1749e4(0x297)](this[_0x1749e4(0x1d8)]['onCommandExecuted'](_0x27825f=>{const _0x58537b=_0x1749e4,_0x308e60=_0x27825f[_0x58537b(0x2c6)];_0x308e60!=null&&this[_0x58537b(0x217)]&&_0x27825f['id']===_0x90847b['SetTextSelectionsOperation']['id']&&_0x308e60[_0x58537b(0x352)]===this[_0x58537b(0xba)]&&_0x308e60['isEditing']===!0x1&&_0x308e60[_0x58537b(0x252)][_0x58537b(0x263)]>0x0&&this[_0x58537b(0x285)](_0x308e60[_0x58537b(0x252)]);})),this['_syncEditingCollabCursorService'][_0x1749e4(0x210)][_0x1749e4(0x1a0)](_0x12ea67[_0x1749e4(0x201)](this[_0x1749e4(0xef)]))[_0x1749e4(0x131)](_0x1ba4fe=>{const _0x86aeb8=_0x1749e4;if((_0x1ba4fe==null?void 0x0:_0x1ba4fe[_0x86aeb8(0xba)])!==this['unitID'])return;const _0x67c3bb={'eventID':_0x1448e7[_0x86aeb8(0x1f5)]['UPDATE_CURSOR'],'data':_0x1ba4fe};this['_onCursorUpdate'](_0x67c3bb);}),this[_0x1749e4(0x297)](this[_0x1749e4(0x1d8)][_0x1749e4(0x1e1)](_0x16ac3c=>{const _0x17096f=_0x1749e4;if(_0x16ac3c[_0x17096f(0x2c6)]==null)return;const _0x2df9c4=_0x16ac3c['params'];if(_0x16ac3c['id']!==_0x90847b[_0x17096f(0x2f7)]['id']||_0x2df9c4[_0x17096f(0x352)]!==this[_0x17096f(0xba)])return;const _0x16a012={'id':_0x17096f(0xae),'params':_0x2df9c4},_0x1ad7b6=this[_0x17096f(0x109)];for(const [_0x3e7c02,_0x32571f]of _0x1ad7b6){const _0x3f7264={'id':_0x17096f(0xae),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x32571f[_0x17096f(0x252)]}},_0x27046e=this[_0x17096f(0x29a)]['transformMutation'](_0x16a012,_0x3f7264,!0x1);if(_0x1448e7['isTransformMutationFailure'](_0x27046e))throw _0x27046e[_0x17096f(0x186)];_0x1ad7b6[_0x17096f(0x151)](_0x3e7c02,{..._0x32571f,'ranges':_0x27046e[_0x17096f(0x108)][_0x17096f(0x2c6)]['textRanges']});}queueMicrotask(()=>{const _0x211f1f=_0x17096f;this['_cursorInfo$'][_0x211f1f(0x27f)](_0x1ad7b6);});})));}['_onCursorUpdate'](_0xe7a557){const _0x1dc3b2=_0x1c30d9;var _0x162e3e,_0x5d6e36;const {memberID:_0x47ee54,selection:_0x5ca21a}=_0xe7a557['data'],_0x502a75=_0x43cc2a(_0x5ca21a),_0x4af2de=(_0x5d6e36=(_0x162e3e=this[_0x1dc3b2(0x14c)][_0x1dc3b2(0x165)](this[_0x1dc3b2(0xba)],_0x47ee54))==null?void 0x0:_0x162e3e[_0x1dc3b2(0x174)])!=null?_0x5d6e36:_0x1dc3b2(0x318),_0x51aeda={'color':this[_0x1dc3b2(0xab)][_0x1dc3b2(0x31f)](_0x47ee54),'name':_0x4af2de,'ranges':_0x502a75},_0x3fca8a=this[_0x1dc3b2(0x109)];_0x3fca8a[_0x1dc3b2(0x151)](_0x47ee54,_0x51aeda),this['_cursorInfo$'][_0x1dc3b2(0x27f)](_0x3fca8a);}[_0x1c30d9(0x34f)](_0x437f1a){const _0x44ef65=_0x1c30d9,{memberID:_0x395309}=_0x437f1a[_0x44ef65(0x2c4)],_0x416611=this[_0x44ef65(0x109)];_0x416611['delete'](_0x395309),this['_cursorInfo$']['next'](_0x416611);}[_0x1c30d9(0x1ed)](){const _0x520a20=_0x1c30d9;var _0x2a59a0;if(this[_0x520a20(0x217)]=!0x0,((_0x2a59a0=this[_0x520a20(0x1b6)][_0x520a20(0x1f1)]())==null?void 0x0:_0x2a59a0['getUnitId']())!==this[_0x520a20(0xba)])return;const _0x54f766=this['_injector'][_0x520a20(0x123)](_0x90847b[_0x520a20(0x150)])['getDocRanges']();Array[_0x520a20(0x9e)](_0x54f766)&&_0x54f766[_0x520a20(0x263)]>0x0&&this[_0x520a20(0x285)](_0x54f766);}[_0x1c30d9(0xf8)](){const _0x1635c6=_0x1c30d9;this[_0x1635c6(0x217)]=!0x1;}};_0x1ce994=_0xf0f5c9([_0x2e2ed7(0x2,_0x1dfb30['Inject'](_0x1dfb30[_0x1c30d9(0x13a)])),_0x2e2ed7(0x3,_0x1dfb30[_0x1c30d9(0xe7)](_0x37c3e7)),_0x2e2ed7(0x4,_0x1dfb30[_0x1c30d9(0xe7)](_0x3899ea['MemberService'])),_0x2e2ed7(0x5,_0x1dfb30['Inject'](_0x3b41c7)),_0x2e2ed7(0x6,_0x1448e7[_0x1c30d9(0x1d7)]),_0x2e2ed7(0x7,_0x1dfb30[_0x1c30d9(0x2cc)]),_0x2e2ed7(0x8,_0x1dfb30[_0x1c30d9(0x269)])],_0x1ce994);var _0x302aa7=Object[_0x1c30d9(0x176)],_0x18db51=(_0x593294,_0x59f5b1,_0x32a9af,_0x5e5cda)=>{const _0x1b38bb=_0x1c30d9;for(var _0x3769d1=_0x5e5cda>0x1?void 0x0:_0x5e5cda?_0x302aa7(_0x59f5b1,_0x32a9af):_0x59f5b1,_0x2cc533=_0x593294[_0x1b38bb(0x263)]-0x1,_0x2ca57e;_0x2cc533>=0x0;_0x2cc533--)(_0x2ca57e=_0x593294[_0x2cc533])&&(_0x3769d1=_0x2ca57e(_0x3769d1)||_0x3769d1);return _0x3769d1;},_0x2f9ea2=(_0x1e83fb,_0x46bbb9)=>(_0x22f6de,_0x257252)=>_0x46bbb9(_0x22f6de,_0x257252,_0x1e83fb);const _0x67503b=0x12c,_0x484329=0x64,_0x2011ca=()=>{let _0x4ce330=[],_0x401fb6=!0x1;return _0x14d403=>{_0x4ce330['push'](_0x14d403),_0x401fb6||(_0x401fb6=!0x0,setTimeout(()=>{_0x4ce330['forEach'](_0x36bb18=>_0x36bb18()),_0x4ce330=[],_0x401fb6=!0x1;}));};};let _0x26f0a0=class extends _0x1dfb30[_0x1c30d9(0x227)]{constructor(_0x59d931,_0x5554c1,_0x53d34c,_0x19490c,_0x2b2e45,_0x341fb7,_0x96e3f,_0x2baf70){const _0x1232b2=_0x1c30d9;super(),_0xbf1006(this,'_online',!0x1),_0xbf1006(this,_0x1232b2(0x31a),!0x1),_0xbf1006(this,'_cursorInfo$',new _0x12ea67[(_0x1232b2(0x211))](new Map())),_0xbf1006(this,_0x1232b2(0xfc),this[_0x1232b2(0x26b)]['asObservable']()),_0xbf1006(this,_0x1232b2(0x28c),new _0x12ea67[(_0x1232b2(0x211))]([])),_0xbf1006(this,_0x1232b2(0x20c),this[_0x1232b2(0x28c)][_0x1232b2(0x1a0)](_0x12ea67[_0x1232b2(0x216)](_0x67503b))),_0xbf1006(this,'_updateLocalCursor',_0x1dfb30['debounce']((_0x279a0a,_0x32018c)=>{const _0x4b6198=_0x1232b2,_0xb568ac={'eventID':_0x1448e7[_0x4b6198(0x1f5)][_0x4b6198(0x1ca)],'data':{'unitID':this[_0x4b6198(0xba)],'memberID':this['_session']['getMemberID'](),'selection':_0x119829['serializeRangeWithSheet'](_0x279a0a,_0x32018c[_0x4b6198(0x278)])}};this['_session'][_0x4b6198(0x80)](_0xb568ac,this[_0x4b6198(0xba)]);},_0x484329)),(this[_0x1232b2(0xba)]=_0x59d931,this['_session']=_0x5554c1,this[_0x1232b2(0x1b3)]=_0x53d34c,this[_0x1232b2(0xab)]=_0x19490c,this['_memberService']=_0x2b2e45,this[_0x1232b2(0x1b6)]=_0x341fb7,this[_0x1232b2(0x1d8)]=_0x96e3f,this[_0x1232b2(0x33b)]=_0x2baf70);}get['cursorInfo'](){const _0x5d96d9=_0x1c30d9;return this[_0x5d96d9(0x26b)][_0x5d96d9(0x2e3)]();}get[_0x1c30d9(0x347)](){const _0x3e0163=_0x1c30d9;return this['_roomMembers$'][_0x3e0163(0x2e3)]();}['dispose'](){const _0x443b1c=_0x1c30d9;super[_0x443b1c(0x289)](),this[_0x443b1c(0x26b)][_0x443b1c(0x27f)](new Map()),this[_0x443b1c(0x26b)]['complete'](),this[_0x443b1c(0x28c)][_0x443b1c(0x27f)]([]),this[_0x443b1c(0x28c)][_0x443b1c(0x23a)]();}[_0x1c30d9(0x240)](){const _0x11d7d4=_0x1c30d9;this['_init']||(this['_init']=!0x0,this[_0x11d7d4(0x29d)]['sessionStatus$'][_0x11d7d4(0x1a0)](_0x12ea67['takeUntil'](this[_0x11d7d4(0xef)]))[_0x11d7d4(0x131)](_0x3340bb=>{const _0x45c418=_0x11d7d4;_0x3340bb===_0x3899ea[_0x45c418(0x75)]['ONLINE']?this[_0x45c418(0x1ed)]():this[_0x45c418(0xf8)]();}),this[_0x11d7d4(0x29d)][_0x11d7d4(0x21b)]['pipe'](_0x12ea67[_0x11d7d4(0x201)](this[_0x11d7d4(0xef)]))['subscribe'](_0x481668=>{const _0x1d052c=_0x11d7d4,_0x559cd6=_0x481668[_0x1d052c(0x212)];_0x559cd6===_0x1448e7[_0x1d052c(0x1f5)][_0x1d052c(0x1ca)]&&this['_onCursorUpdate'](_0x481668),_0x559cd6===_0x1448e7[_0x1d052c(0x1f5)]['USERS_LEAVE']&&this[_0x1d052c(0x34f)](_0x481668);}),this[_0x11d7d4(0x270)](),this[_0x11d7d4(0x297)](this[_0x11d7d4(0x1d8)]['onCommandExecuted'](_0x19ce2b=>{const _0x5410a9=_0x11d7d4;if(this[_0x5410a9(0x217)]&&_0x19ce2b['id']===_0x59ff8d[_0x5410a9(0x156)]['id']&&_0x19ce2b[_0x5410a9(0x2c6)][_0x5410a9(0x352)]===this[_0x5410a9(0xba)]){const _0x3d7704=_0x19ce2b[_0x5410a9(0x2c6)];this['_updateLocalCursor'](_0x3d7704[_0x5410a9(0x11f)],_0x3d7704[_0x5410a9(0x158)][0x0]);}})));}['_onCursorUpdate'](_0x10b67f){const _0x16e251=_0x1c30d9;var _0x5dd1dd,_0x3261b2;const {memberID:_0x37d5e3,selection:_0x229597}=_0x10b67f['data'],{sheetName:_0x2fe94a,range:_0x348826}=_0x119829[_0x16e251(0x243)](_0x229597),_0x1a05ad={'name':(_0x3261b2=(_0x5dd1dd=this[_0x16e251(0x14c)][_0x16e251(0x165)](this[_0x16e251(0xba)],_0x37d5e3))==null?void 0x0:_0x5dd1dd[_0x16e251(0x174)])!=null?_0x3261b2:'Unknown\x20user','range':this['_getMergeRange'](_0x2fe94a,_0x348826),'sheetID':_0x2fe94a,'color':this[_0x16e251(0xab)][_0x16e251(0x31f)](_0x37d5e3),'selection':_0x229597},_0x4e9e11=this[_0x16e251(0x109)];_0x4e9e11[_0x16e251(0x151)](_0x37d5e3,_0x1a05ad),this[_0x16e251(0x26b)][_0x16e251(0x27f)](_0x4e9e11);}[_0x1c30d9(0x34f)](_0x4d44d3){const _0x5ec2c0=_0x1c30d9,{memberID:_0x5a515c}=_0x4d44d3['data'],_0x49c391=this[_0x5ec2c0(0x109)];_0x49c391[_0x5ec2c0(0x139)](_0x5a515c),this[_0x5ec2c0(0x26b)][_0x5ec2c0(0x27f)](_0x49c391);}[_0x1c30d9(0x164)](_0x7487c0,_0x584635){const _0x29e269=_0x1c30d9;var _0x5d477e,_0x234403;const _0x3c2765=(_0x234403=(_0x5d477e=this[_0x29e269(0x1b6)][_0x29e269(0x7c)](this[_0x29e269(0xba)]))==null?void 0x0:_0x5d477e[_0x29e269(0x187)](_0x7487c0))==null?void 0x0:_0x234403[_0x29e269(0x335)]();return(_0x3c2765==null?void 0x0:_0x3c2765[_0x29e269(0xc8)](_0x55df26=>_0x1dfb30[_0x29e269(0x155)]['contains'](_0x55df26,_0x584635)))||_0x584635;}[_0x1c30d9(0x270)](){const _0x8458c1=_0x1c30d9,_0x13dac5=new _0x1dfb30[(_0x8458c1(0x220))](),_0x231608=_0x2011ca(),_0x4a2e12=()=>{const _0x581767=_0x8458c1;_0x13dac5[_0x581767(0x289)]();const _0x5feada=(_0x4bd674,_0x4b3e84,_0x51bcdc,_0x2406f1)=>{const _0x5f1068=_0x581767;let _0x37921b=[];switch(_0x4bd674['id']){case _0x59ff8d[_0x5f1068(0x11a)][_0x5f1068(0xc2)]:{_0x37921b=_0x59ff8d['handleDeleteRangeMoveLeft'](_0x4bd674,_0x2406f1);break;}case _0x59ff8d[_0x5f1068(0x11a)][_0x5f1068(0x31e)]:{_0x37921b=_0x59ff8d[_0x5f1068(0x8b)](_0x4bd674,_0x2406f1);break;}case _0x59ff8d['EffectRefRangId'][_0x5f1068(0x70)]:{_0x37921b=_0x59ff8d['handleInsertCol'](_0x4bd674,_0x2406f1);break;}case _0x59ff8d['EffectRefRangId'][_0x5f1068(0x2ba)]:{_0x37921b=_0x59ff8d[_0x5f1068(0x2cf)](_0x4bd674,_0x2406f1);break;}case _0x59ff8d[_0x5f1068(0x11a)]['InsertRangeMoveRightCommandId']:{_0x37921b=_0x59ff8d['handleInsertRangeMoveRight'](_0x4bd674,_0x2406f1);break;}case _0x59ff8d[_0x5f1068(0x11a)][_0x5f1068(0x1dc)]:{_0x37921b=_0x59ff8d[_0x5f1068(0x15e)](_0x4bd674,_0x2406f1);break;}case _0x59ff8d[_0x5f1068(0x11a)]['MoveRangeCommandId']:{_0x37921b=_0x59ff8d[_0x5f1068(0x24c)](_0x4bd674,_0x2406f1);break;}case _0x59ff8d[_0x5f1068(0x11a)][_0x5f1068(0x1c8)]:{_0x37921b=_0x59ff8d['handleIRemoveCol'](_0x4bd674,_0x2406f1);break;}case _0x59ff8d['EffectRefRangId'][_0x5f1068(0x29e)]:{_0x37921b=_0x59ff8d['handleIRemoveRow'](_0x4bd674,_0x2406f1);break;}}const _0x4f1408=_0x59ff8d[_0x5f1068(0x261)](_0x37921b,_0x2406f1),_0x44c4f7=this[_0x5f1068(0x109)]['get'](_0x4b3e84);if(_0x44c4f7&&_0x4f1408){const _0x12aa27={..._0x44c4f7,'range':_0x4f1408};this['cursorInfo'][_0x5f1068(0x151)](_0x4b3e84,_0x12aa27),_0x231608(()=>{const _0x224e0e=_0x5f1068,_0x35acc3=this[_0x224e0e(0x33b)][_0x224e0e(0x2a0)](_0x4f1408,_0x51dfab=>(_0x35acc3[_0x224e0e(0x289)](),_0x5feada(_0x51dfab,_0x4b3e84,_0x51bcdc,_0x4f1408)));_0x13dac5[_0x224e0e(0x1e3)](_0x35acc3);});}return{'redos':[],'undos':[]};};this[_0x581767(0x109)]['forEach']((_0x19d7c2,_0x174bc6)=>{const _0x1f2419=_0x581767,{range:_0x37fb34,sheetID:_0x20fa6d}=_0x19d7c2,_0x40e6c7=this[_0x1f2419(0x33b)]['registerRefRange'](_0x37fb34,_0x3553eb=>(_0x40e6c7['dispose'](),_0x5feada(_0x3553eb,_0x174bc6,_0x20fa6d,_0x37fb34)));_0x13dac5[_0x1f2419(0x1e3)](_0x40e6c7);});};this['disposeWithMe'](_0x1dfb30['toDisposable'](this[_0x8458c1(0x26b)]['subscribe'](()=>{_0x4a2e12();})));}[_0x1c30d9(0x1ed)](){const _0xe85be7=_0x1c30d9;var _0xc7d84a,_0x4e610e;if(this[_0xe85be7(0x217)]=!0x0,((_0xc7d84a=this[_0xe85be7(0x1b6)]['getFocusedUnit']())==null?void 0x0:_0xc7d84a[_0xe85be7(0x15d)]())!==this[_0xe85be7(0xba)])return;const _0x27064b=(_0x4e610e=this[_0xe85be7(0x1b3)][_0xe85be7(0x123)](_0x59ff8d[_0xe85be7(0x313)])['getCurrentSelections']())==null?void 0x0:_0x4e610e[0x0],_0x1ac206=this[_0xe85be7(0x1b6)]['getCurrentUnitForType'](_0x1dfb30[_0xe85be7(0x2b6)][_0xe85be7(0x254)])[_0xe85be7(0x287)]();_0x27064b&&_0x1ac206&&this[_0xe85be7(0x285)](_0x1ac206[_0xe85be7(0x1e8)](),_0x27064b);}[_0x1c30d9(0xf8)](){const _0x5cb2ba=_0x1c30d9;this[_0x5cb2ba(0x217)]=!0x1;}};_0x26f0a0=_0x18db51([_0x2f9ea2(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30['Injector'])),_0x2f9ea2(0x3,_0x1dfb30[_0x1c30d9(0xe7)](_0x37c3e7)),_0x2f9ea2(0x4,_0x1dfb30['Inject'](_0x3899ea[_0x1c30d9(0x28f)])),_0x2f9ea2(0x5,_0x1dfb30[_0x1c30d9(0x2cc)]),_0x2f9ea2(0x6,_0x1dfb30[_0x1c30d9(0x269)]),_0x2f9ea2(0x7,_0x1dfb30['Inject'](_0x59ff8d[_0x1c30d9(0x117)]))],_0x26f0a0);var _0x57cb78=Object[_0x1c30d9(0x176)],_0x218b8e=(_0x9c41f8,_0x1854a5,_0x21faee,_0x324a99)=>{const _0x2011e1=_0x1c30d9;for(var _0x40119c=_0x324a99>0x1?void 0x0:_0x324a99?_0x57cb78(_0x1854a5,_0x21faee):_0x1854a5,_0x3c66d0=_0x9c41f8[_0x2011e1(0x263)]-0x1,_0x3ac21c;_0x3c66d0>=0x0;_0x3c66d0--)(_0x3ac21c=_0x9c41f8[_0x3c66d0])&&(_0x40119c=_0x3ac21c(_0x40119c)||_0x40119c);return _0x40119c;},_0x336319=(_0x1e974e,_0x54e021)=>(_0x483424,_0x808d6b)=>_0x54e021(_0x483424,_0x808d6b,_0x1e974e);let _0x156b27=class extends _0x1dfb30[_0x1c30d9(0x227)]{constructor(_0x316bae,_0x7d750d,_0x4d4736){const _0x41e122=_0x1c30d9;super(),_0xbf1006(this,_0x41e122(0x100),new Map()),_0xbf1006(this,_0x41e122(0x296),new _0x12ea67[(_0x41e122(0x222))]()),(this[_0x41e122(0x1b6)]=_0x316bae,this[_0x41e122(0x1b3)]=_0x7d750d,this['_collabSessionService']=_0x4d4736,this[_0x41e122(0x31a)]());}['dispose'](){const _0x56f028=_0x1c30d9;super[_0x56f028(0x289)](),this['_entityInit$'][_0x56f028(0x23a)](),this['_entities'][_0x56f028(0x249)](_0x492d8d=>_0x492d8d[_0x56f028(0x289)]());}[_0x1c30d9(0x28a)](_0x5df38e){const _0x49721e=_0x1c30d9;return this[_0x49721e(0x100)][_0x49721e(0x115)](_0x5df38e)?this[_0x49721e(0x100)]['get'](_0x5df38e)['cursorInfo$']:this[_0x49721e(0x296)]['pipe'](_0x12ea67[_0x49721e(0x327)](_0x7611c7=>_0x7611c7[_0x49721e(0xba)]===_0x5df38e),_0x12ea67['switchMap'](_0x278883=>_0x278883[_0x49721e(0xfc)]));}[_0x1c30d9(0x31a)](){const _0x3a69c0=_0x1c30d9;this[_0x3a69c0(0x1b6)][_0x3a69c0(0x232)](_0x1dfb30[_0x3a69c0(0x2b6)]['UNIVER_SHEET'])[_0x3a69c0(0x1a0)](_0x12ea67['takeUntil'](this[_0x3a69c0(0xef)]))['subscribe'](async _0x1c1f47=>{const _0x4f2dd8=_0x3a69c0,_0x33237c=_0x1c1f47['getUnitId'](),_0x125046=await this[_0x4f2dd8(0x28d)](_0x33237c);this[_0x4f2dd8(0x296)][_0x4f2dd8(0x27f)](_0x125046),this[_0x4f2dd8(0x100)]['set'](_0x33237c,_0x125046);}),this[_0x3a69c0(0x1b6)][_0x3a69c0(0x232)](_0x1dfb30[_0x3a69c0(0x2b6)][_0x3a69c0(0x32e)])['pipe'](_0x12ea67['takeUntil'](this[_0x3a69c0(0xef)]))[_0x3a69c0(0x1a0)](_0x12ea67[_0x3a69c0(0x327)](_0x47048f=>!_0x47048f[_0x3a69c0(0x15d)]()[_0x3a69c0(0x33c)]('__')))[_0x3a69c0(0x131)](async _0x43b0e2=>{const _0x3633bc=_0x3a69c0,_0xf5f6ce=_0x43b0e2[_0x3633bc(0x15d)](),_0x958183=await this[_0x3633bc(0x2c5)](_0xf5f6ce);this[_0x3633bc(0x296)][_0x3633bc(0x27f)](_0x958183),this[_0x3633bc(0x100)][_0x3633bc(0x151)](_0xf5f6ce,_0x958183);}),_0x12ea67[_0x3a69c0(0x307)](this[_0x3a69c0(0x1b6)][_0x3a69c0(0x16c)](_0x1dfb30['UniverInstanceType'][_0x3a69c0(0x32e)]),this[_0x3a69c0(0x1b6)][_0x3a69c0(0x16c)](_0x1dfb30[_0x3a69c0(0x2b6)]['UNIVER_SHEET']))['pipe'](_0x12ea67[_0x3a69c0(0x201)](this[_0x3a69c0(0xef)]))[_0x3a69c0(0x131)](_0x5e7d25=>{const _0x1b43fc=_0x3a69c0,_0x35fb09=_0x5e7d25['getUnitId'](),_0x117d5f=this[_0x1b43fc(0x100)][_0x1b43fc(0x123)](_0x35fb09);_0x117d5f&&(_0x117d5f[_0x1b43fc(0x289)](),this[_0x1b43fc(0x100)][_0x1b43fc(0x139)](_0x35fb09));});}async[_0x1c30d9(0x28d)](_0x50b3a6){const _0x4018fe=_0x1c30d9,_0x143edd=await this[_0x4018fe(0x2fd)][_0x4018fe(0x178)](_0x50b3a6),_0x2ed0e3=this[_0x4018fe(0x1b3)][_0x4018fe(0x1fb)](_0x26f0a0,_0x50b3a6,_0x143edd);return _0x2ed0e3[_0x4018fe(0x240)](),_0x2ed0e3;}async['_startDocCollabCursor'](_0x5e8625){const _0xa32b37=_0x1c30d9,_0x2dc7b4=await this['_collabSessionService'][_0xa32b37(0x178)](_0x5e8625),_0x4d95d0=this[_0xa32b37(0x1b3)][_0xa32b37(0x1fb)](_0x1ce994,_0x5e8625,_0x2dc7b4);return _0x4d95d0[_0xa32b37(0x240)](),_0x4d95d0;}};_0x156b27=_0x218b8e([_0x336319(0x0,_0x1dfb30[_0x1c30d9(0x2cc)]),_0x336319(0x1,_0x1dfb30['Inject'](_0x1dfb30[_0x1c30d9(0x13a)])),_0x336319(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x3899ea[_0x1c30d9(0x2af)]))],_0x156b27);const _0x5b7dae=0x14,_0x2e1839=0xc8,_0x316dd9=0x4,_0x6954ee=0x5;function _0x25d6fc(_0x255f64,_0x846288){const _0x16da7b=_0x1c30d9;let {radius:_0x56441f,width:_0x425f4e,height:_0x306f8a}=_0x846288;_0x56441f=_0x56441f!=null?_0x56441f:0x0,_0x425f4e=_0x425f4e!=null?_0x425f4e:0x1e,_0x306f8a=_0x306f8a!=null?_0x306f8a:0x1e;let _0x18c313=0x0,_0x2df2f1=0x0,_0x5a6e6b=0x0;_0x18c313=_0x2df2f1=_0x5a6e6b=Math[_0x16da7b(0x24f)](_0x56441f,_0x425f4e/0x2,_0x306f8a/0x2),_0x255f64[_0x16da7b(0x92)](),_0x255f64[_0x16da7b(0x145)](_0x18c313,0x0),_0x255f64[_0x16da7b(0x344)](_0x425f4e-_0x2df2f1,0x0),_0x255f64[_0x16da7b(0x2f1)](_0x425f4e-_0x2df2f1,_0x2df2f1,_0x2df2f1,Math['PI']*0x3/0x2,0x0,!0x1),_0x255f64[_0x16da7b(0x344)](_0x425f4e,_0x306f8a-_0x5a6e6b),_0x255f64[_0x16da7b(0x2f1)](_0x425f4e-_0x5a6e6b,_0x306f8a-_0x5a6e6b,_0x5a6e6b,0x0,Math['PI']/0x2,!0x1),_0x255f64[_0x16da7b(0x344)](0x0,_0x306f8a),_0x255f64[_0x16da7b(0x344)](0x0,_0x18c313),_0x255f64[_0x16da7b(0x2f1)](_0x18c313,_0x18c313,_0x18c313,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x255f64[_0x16da7b(0x14b)](),_0x846288[_0x16da7b(0x1bf)]&&(_0x255f64[_0x16da7b(0xb8)](),_0x255f64[_0x16da7b(0x231)]=_0x846288[_0x16da7b(0x1bf)],_0x846288['fillRule']===_0x16da7b(0x13b)?_0x255f64[_0x16da7b(0x1bf)](_0x16da7b(0x13b)):_0x255f64['fill'](),_0x255f64[_0x16da7b(0x2b5)]());}class _0x1932c3 extends _0x5cce25['Shape']{constructor(_0x9c9091,_0x23a8bf){const _0x565f1d=_0x1c30d9;super(_0x9c9091,_0x23a8bf),_0xbf1006(this,_0x565f1d(0xb0)),_0xbf1006(this,_0x565f1d(0x2fc)),(this[_0x565f1d(0xb0)]=_0x23a8bf==null?void 0x0:_0x23a8bf[_0x565f1d(0xb0)],this[_0x565f1d(0x2fc)]=_0x23a8bf==null?void 0x0:_0x23a8bf[_0x565f1d(0x2fc)]);}static[_0x1c30d9(0x180)](_0x1ba5ac,_0xda9fad){const _0x161cd9=_0x1c30d9,{text:_0x136981,color:_0xf83c31}=_0xda9fad;_0x1ba5ac[_0x161cd9(0xb8)](),_0x1ba5ac[_0x161cd9(0x74)]=_0x161cd9(0x25b);const _0x49b7c9=_0x1ba5ac[_0x161cd9(0x15c)](_0x136981)[_0x161cd9(0x192)],_0x4b9f47=Math[_0x161cd9(0x24f)](_0x49b7c9+0x2*_0x316dd9,_0x2e1839);_0x25d6fc(_0x1ba5ac,{'height':_0x5b7dae,'radius':0x4,'width':_0x4b9f47,'fill':_0xf83c31}),_0x1ba5ac[_0x161cd9(0x231)]=_0x161cd9(0x237);const _0x4429ca=_0x316dd9,_0x3fb7c1=_0x5b7dae-_0x6954ee,_0xdb0160=_0x2e1839-0x2*_0x316dd9;if(_0x49b7c9>_0xdb0160){let _0xe43c88='',_0x58caec=0x0;for(const _0x3cdd72 of _0x136981){const _0x530495=_0x1ba5ac[_0x161cd9(0x15c)](_0x3cdd72)[_0x161cd9(0x192)];if(_0x58caec+_0x530495<=_0xdb0160-_0x1ba5ac[_0x161cd9(0x15c)](_0x161cd9(0x2b0))[_0x161cd9(0x192)])_0xe43c88+=_0x3cdd72,_0x58caec+=_0x530495;else{_0xe43c88+='...';break;}}_0x1ba5ac[_0x161cd9(0x198)](_0xe43c88,_0x4429ca,_0x3fb7c1);}else _0x1ba5ac[_0x161cd9(0x198)](_0x136981,_0x4429ca,_0x3fb7c1);_0x1ba5ac[_0x161cd9(0x2b5)]();}[_0x1c30d9(0xf5)](_0x52e593){const _0x4195cd=_0x1c30d9;_0x1932c3[_0x4195cd(0x180)](_0x52e593,this);}}const _0x4bac1f=_0x1c30d9(0x1a7),_0x30b12a='collab-text-range-',_0x675c05=_0x1c30d9(0x121),_0x197527=0x6,_0x1a5bed=1.5,_0x17f908=0x4,_0x46d8a3=1.5,_0x5b9578=_0x1c30d9(0x18e);class _0x348f9b{constructor(_0x4657da,_0x235e46,_0x505265,_0x51b2c6){const _0x5189f3=_0x1c30d9;_0xbf1006(this,_0x5189f3(0x19f),[]),_0xbf1006(this,_0x5189f3(0x105),null),_0xbf1006(this,'_textBubble',null),_0xbf1006(this,_0x5189f3(0xad),null),_0xbf1006(this,'_hideTimer',null),_0xbf1006(this,'_eventUnsubscribe',null),(this[_0x5189f3(0x26d)]=_0x4657da,this[_0x5189f3(0x7f)]=_0x235e46,this['_docSkeleton']=_0x505265,this[_0x5189f3(0x177)]=_0x51b2c6,this[_0x5189f3(0x1a2)]());}set[_0x1c30d9(0xbe)](_0x1fc6d4){const _0x2ab4ca=_0x1c30d9;_0x1fc6d4?(this[_0x2ab4ca(0xad)]&&this[_0x2ab4ca(0xad)]['hide'](),this[_0x2ab4ca(0x2f5)]&&this['_textBubble'][_0x2ab4ca(0x2ec)]()):(this['_anchorDot']&&this[_0x2ab4ca(0xad)][_0x2ab4ca(0x2ec)](),this[_0x2ab4ca(0x2f5)]&&this[_0x2ab4ca(0x2f5)][_0x2ab4ca(0x267)]());}[_0x1c30d9(0x289)](){const _0x5584f4=_0x1c30d9;for(const _0x44b8ab of this[_0x5584f4(0x19f)])_0x44b8ab[_0x5584f4(0x289)]();this['_textBubble']&&this[_0x5584f4(0x2f5)]['dispose'](),this['_anchorDot']&&this[_0x5584f4(0xad)][_0x5584f4(0x289)](),this['_anchor']&&this[_0x5584f4(0x105)]['dispose'](),this[_0x5584f4(0x10a)]&&this[_0x5584f4(0x10a)]();}[_0x1c30d9(0x1a2)](){const _0x7c492d=_0x1c30d9;var _0x3a48e7;const {_docSkeleton:_0x62e982,_document:_0x29e285}=this,{color:_0x20ed29,name:_0x25889e,ranges:_0x30b58c}=this[_0x7c492d(0x26d)],_0x2bc7d0=_0x29e285[_0x7c492d(0x25f)](),{docsLeft:_0x3cdc51,docsTop:_0x20dcd2}=_0x2bc7d0,_0x3963cd=new _0x4f04d2[(_0x7c492d(0xd1))](_0x2bc7d0,_0x62e982);for(const {startOffset:_0x206e8d,endOffset:_0x592444,rangeType:_0xcc62e6,segmentId:_0x4a3d40,segmentPage:_0x378411,collapsed:_0x204457,isActive:_0x45803b}of _0x30b58c){const _0xca4705=_0x62e982[_0x7c492d(0x351)](_0x206e8d,!0x0,_0x4a3d40,_0x378411);let _0x774cd3=_0x62e982[_0x7c492d(0x351)](_0x592444,!0x0,_0x4a3d40,_0x378411);if(_0x774cd3==null&&(_0x774cd3=_0x62e982['findNodePositionByCharIndex'](_0x592444-0x1,!0x1,_0x4a3d40,_0x378411)),_0x45803b){const {contentBoxPointGroup:_0x1ced6a}=_0x3963cd[_0x7c492d(0x1b4)](_0x774cd3,_0x774cd3);if(_0x1ced6a[_0x7c492d(0x263)]===0x0)continue;this[_0x7c492d(0x15f)](_0x20ed29,_0x1ced6a,_0x3cdc51,_0x20dcd2,_0x25889e),this[_0x7c492d(0x10a)]=this[_0x7c492d(0x251)]();}if(_0xca4705&&_0x774cd3){if(_0xcc62e6===_0x1dfb30[_0x7c492d(0xd7)][_0x7c492d(0x11d)]){const _0x3a4dbf=new _0x4f04d2[(_0x7c492d(0xe4))](_0x2bc7d0,_0x62e982),{pointGroup:_0x4a4f1c}=(_0x3a48e7=_0x3a4dbf[_0x7c492d(0x1b4)](_0xca4705,_0x774cd3))!=null?_0x3a48e7:{};if(_0x4a4f1c==null||_0x4a4f1c[_0x7c492d(0x263)]===0x0)continue;this[_0x7c492d(0x168)](_0x20ed29,_0x4a4f1c,_0x3cdc51,_0x20dcd2);}else{if(!_0x204457){const {borderBoxPointGroup:_0x37a332}=_0x3963cd[_0x7c492d(0x1b4)](_0xca4705,_0x774cd3);if(_0x37a332[_0x7c492d(0x263)]===0x0)continue;this[_0x7c492d(0x122)](_0x20ed29,_0x37a332,_0x3cdc51,_0x20dcd2);}}}}}[_0x1c30d9(0x15f)](_0x4637a4,_0xac3ae1,_0x21420b,_0xdf31a9,_0x130a5a){const _0x344ac4=_0x1c30d9,_0x583fba=this['_getAnchorBounding'](_0xac3ae1),{left:_0x3e5689,top:_0x2e4985,height:_0x10ac4c}=_0x583fba,_0x5ac337=this[_0x344ac4(0x292)](),_0x4f9ebe=_0x46d8a3/_0x5ac337,_0xf4e5aa=new _0x5cce25[(_0x344ac4(0x324))](_0x4bac1f+_0x1dfb30[_0x344ac4(0x157)](_0x197527),{'left':_0x3e5689+_0x21420b-_0x4f9ebe,'top':_0x2e4985+_0xdf31a9,'height':_0x10ac4c,'width':_0x1a5bed,'fill':_0x4637a4||_0x5cce25['getColor'](_0x1dfb30[_0x344ac4(0x8d)][_0x344ac4(0x88)],0x0),'strokeWidth':_0x4f9ebe,'stroke':_0x5b9578,'evented':!0x0});this[_0x344ac4(0x105)]=_0xf4e5aa,this[_0x344ac4(0x7f)]['addObject'](_0xf4e5aa,_0x4f04d2[_0x344ac4(0x1e7)]);const _0x4d57a3=new _0x5cce25[(_0x344ac4(0x324))](_0x4bac1f+_0x1dfb30[_0x344ac4(0x157)](_0x197527),{'left':_0x3e5689+_0x21420b-_0x4f9ebe,'top':_0x2e4985+_0xdf31a9-_0x17f908/0x2,'height':_0x17f908,'width':_0x17f908,'fill':_0x4637a4||_0x5cce25['getColor'](_0x1dfb30['COLORS'][_0x344ac4(0x88)],0x0),'strokeWidth':0x0,'stroke':_0x4637a4||_0x5cce25[_0x344ac4(0x1be)](_0x1dfb30[_0x344ac4(0x8d)]['black'],0x0),'evented':!0x1});this[_0x344ac4(0xad)]=_0x4d57a3,this[_0x344ac4(0x7f)]['addObject'](_0x4d57a3,_0x4f04d2[_0x344ac4(0x1e7)]);const _0x51184c=new _0x1932c3(_0x4bac1f+_0x1dfb30[_0x344ac4(0x157)](_0x197527),{'left':_0x3e5689+_0x21420b-_0x4f9ebe,'top':_0x2e4985+_0xdf31a9-_0x5b7dae,'text':_0x130a5a,'color':_0x4637a4});this['_textBubble']=_0x51184c,this[_0x344ac4(0x7f)][_0x344ac4(0x167)](_0x51184c,_0x4f04d2['TEXT_RANGE_LAYER_INDEX']),this[_0x344ac4(0xbe)]=!0x1;}[_0x1c30d9(0x251)](){const _0x1efa93=_0x1c30d9,_0x38def3=this['_anchor'][_0x1efa93(0x2fb)][_0x1efa93(0x25e)](()=>{const _0x44d5f7=_0x1efa93;this[_0x44d5f7(0xbe)]=!0x0;}),_0x376f98=this[_0x1efa93(0x105)][_0x1efa93(0x96)]['subscribeEvent'](()=>{const _0x51ea66=_0x1efa93;this[_0x51ea66(0x196)]&&clearTimeout(this[_0x51ea66(0x196)]),this[_0x51ea66(0x196)]=setTimeout(()=>{const _0x204b9c=_0x51ea66;this[_0x204b9c(0xbe)]=!0x1;},0x7d0);});return()=>{const _0x30bf8e=_0x1efa93;_0x38def3[_0x30bf8e(0x1fe)](),_0x376f98[_0x30bf8e(0x1fe)]();};}[_0x1c30d9(0x122)](_0x524736,_0x3d775b,_0x48f5fe,_0x254119){const _0x25eba0=_0x1c30d9,_0x2b723a=new _0x1dfb30[(_0x25eba0(0x135))](_0x524736)[_0x25eba0(0x1a8)](0.2)[_0x25eba0(0xf0)](),_0x147c91=new _0x5cce25[(_0x25eba0(0xcf))](_0x30b12a+_0x1dfb30[_0x25eba0(0x157)](_0x197527),{'pointsGroup':_0x3d775b,'fill':_0x2b723a||_0x5cce25[_0x25eba0(0x1be)](_0x1dfb30[_0x25eba0(0x8d)][_0x25eba0(0x88)],0.2),'left':_0x48f5fe,'top':_0x254119,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x25eba0(0x72)](_0x147c91),this[_0x25eba0(0x7f)]['addObject'](_0x147c91,_0x4f04d2[_0x25eba0(0x1e7)]);}['_drawRectRange'](_0x8e3062,_0xc7b78f,_0x4c8d71,_0x531dae){const _0x428982=_0x1c30d9,_0xfd775=new _0x1dfb30[(_0x428982(0x135))](_0x8e3062)[_0x428982(0x1a8)](0.2)['toRgbString'](),_0x49c757=new _0x5cce25['RegularPolygon'](_0x675c05+_0x1dfb30['generateRandomId'](_0x197527),{'pointsGroup':_0xc7b78f,'fill':_0xfd775||_0x5cce25[_0x428982(0x1be)](_0x1dfb30[_0x428982(0x8d)][_0x428982(0x88)],0.2),'left':_0x4c8d71,'top':_0x531dae,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x428982(0x19f)][_0x428982(0x72)](_0x49c757),this['_scene'][_0x428982(0x167)](_0x49c757,_0x4f04d2[_0x428982(0x1e7)]);}[_0x1c30d9(0x32d)](_0x1e280c){const _0xf61fa1=_0x1e280c[0x0],_0x1eff4f=_0xf61fa1[0x0],_0x4ac336=_0xf61fa1[0x2],{x:_0x12f6da,y:_0x1cf08e}=_0x1eff4f,{x:_0x4717d4,y:_0x528b03}=_0x4ac336;return{'left':_0x12f6da,'top':_0x1cf08e,'width':_0x4717d4-_0x12f6da,'height':_0x528b03-_0x1cf08e};}[_0x1c30d9(0x292)](){const _0x278982=_0x1c30d9,{scaleX:_0x30ac,scaleY:_0x5e56df}=this[_0x278982(0x7f)][_0x278982(0xbd)]();return Math[_0x278982(0x277)](_0x30ac,_0x5e56df);}}var _0x16e398=Object[_0x1c30d9(0x176)],_0x3a36cc=(_0x41628c,_0x2c385f,_0x30f066,_0x5df8ff)=>{const _0x3b7e81=_0x1c30d9;for(var _0x523c4d=_0x5df8ff>0x1?void 0x0:_0x5df8ff?_0x16e398(_0x2c385f,_0x30f066):_0x2c385f,_0x5c9e7e=_0x41628c[_0x3b7e81(0x263)]-0x1,_0x58316f;_0x5c9e7e>=0x0;_0x5c9e7e--)(_0x58316f=_0x41628c[_0x5c9e7e])&&(_0x523c4d=_0x58316f(_0x523c4d)||_0x523c4d);return _0x523c4d;},_0x4a84f3=(_0x1f2ef1,_0x4fa0e1)=>(_0x321fb3,_0x556e02)=>_0x4fa0e1(_0x321fb3,_0x556e02,_0x1f2ef1);let _0x55ea51=class extends _0x1dfb30[_0x1c30d9(0x227)]{constructor(_0x3e1922,_0x5da921,_0x3ab9a9,_0x4c605b,_0x3134d1){const _0x2ce739=_0x1c30d9;super(),_0xbf1006(this,_0x2ce739(0x20d),[]),_0xbf1006(this,'_cursors',[]),(this['_context']=_0x3e1922,this[_0x2ce739(0x306)]=_0x5da921,this[_0x2ce739(0xa2)]=_0x3ab9a9,this[_0x2ce739(0x1d8)]=_0x4c605b,this['_themeService']=_0x3134d1,this[_0x2ce739(0x31a)]());}[_0x1c30d9(0x31a)](){const _0x59face=_0x1c30d9,_0x1a5239=this[_0x59face(0x2bd)][_0x59face(0x352)],_0x2e86c1=this[_0x59face(0x306)];this['disposeWithMe'](_0x12ea67[_0x59face(0x348)]([this[_0x59face(0xa2)]['getCollabCursors$'](_0x1a5239),this[_0x59face(0x2a5)][_0x59face(0x1c0)]])[_0x59face(0x1a0)](_0x2dd10a['map'](([_0x50362f,_0x5f1f44])=>({'skeleton':_0x2e86c1['getSkeleton'](),'cursors':[..._0x50362f[_0x59face(0xd5)]()][_0x59face(0x1b9)](_0x244591=>({..._0x244591,'color':this[_0x59face(0x2a5)][_0x59face(0x260)](_0x244591[_0x59face(0xb0)])}))})))[_0x59face(0x131)](_0x3cc83c=>{const _0x5a1b9d=_0x59face;if(this[_0x5a1b9d(0x112)](),_0x3cc83c){const {skeleton:_0x37da41,cursors:_0x2297de}=_0x3cc83c;this[_0x5a1b9d(0x23f)](_0x37da41,_0x2297de);}})),this[_0x59face(0x353)](),this['_initCommandExecutedListener']();}[_0x1c30d9(0x23f)](_0x34c52e,_0x26b888){const _0x9facf9=_0x1c30d9,{scene:_0x3037b1,mainComponent:_0x1d04f6}=this['_context'],_0x5d6ec6=_0x26b888[_0x9facf9(0x235)](_0x1e4473=>new _0x348f9b(_0x1e4473,_0x3037b1,_0x34c52e,_0x1d04f6));this[_0x9facf9(0x20d)]=_0x5d6ec6,this[_0x9facf9(0x300)]=_0x26b888;}['_refreshCollabCursors'](){const _0x1f9c43=_0x1c30d9;this[_0x1f9c43(0x112)]();const {scene:_0x6af634,mainComponent:_0x264ba7}=this[_0x1f9c43(0x2bd)],_0x3a52ad=this[_0x1f9c43(0x306)][_0x1f9c43(0x26e)](),_0x580fd4=this['_cursors'][_0x1f9c43(0x235)](_0x30eabe=>new _0x348f9b(_0x30eabe,_0x6af634,_0x3a52ad,_0x264ba7));this[_0x1f9c43(0x20d)]=_0x580fd4;}[_0x1c30d9(0x112)](){const _0x43a363=_0x1c30d9;this[_0x43a363(0x20d)][_0x43a363(0x249)](_0x3b3d67=>_0x3b3d67[_0x43a363(0x289)]()),this[_0x43a363(0x20d)]=[];}[_0x1c30d9(0x2a2)](){const _0x35b52d=_0x1c30d9,_0x7fadfb=[_0x4f04d2[_0x35b52d(0x93)]['id']];this['disposeWithMe'](this[_0x35b52d(0x1d8)][_0x35b52d(0x1e1)](_0x5a183e=>{const _0x25e77a=_0x35b52d;_0x7fadfb['includes'](_0x5a183e['id'])&&_0x5a183e[_0x25e77a(0x2c6)][_0x25e77a(0x352)]===this[_0x25e77a(0x2bd)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x1c30d9(0x353)](){const _0x10a220=_0x1c30d9;this[_0x10a220(0x297)](_0x1dfb30[_0x10a220(0x15a)](this[_0x10a220(0x2bd)][_0x10a220(0x302)]['onTransformChange$'])[_0x10a220(0x1a0)](_0x2dd10a[_0x10a220(0x327)](_0x3710c5=>_0x3710c5[_0x10a220(0x2f8)]===_0x5cce25[_0x10a220(0xb3)]['resize']),_0x2dd10a[_0x10a220(0x2ef)](0x10))[_0x10a220(0x131)](()=>{const _0x780209=_0x10a220;this[_0x780209(0x194)]();}));}};_0x55ea51=_0x3a36cc([_0x4a84f3(0x1,_0x1dfb30[_0x1c30d9(0xe7)](_0x90847b['DocSkeletonManagerService'])),_0x4a84f3(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x156b27)),_0x4a84f3(0x3,_0x1dfb30['ICommandService']),_0x4a84f3(0x4,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30[_0x1c30d9(0xa8)]))],_0x55ea51);const _0x547eea=0x1,_0x4a9d37=1.5;class _0x3e7dc2 extends _0x5cce25[_0x1c30d9(0x1ba)]{constructor(_0x289721,_0x3ba25a){const _0x100fbe=_0x1c30d9;super(_0x289721,_0x3ba25a),_0xbf1006(this,_0x100fbe(0x98)),_0xbf1006(this,_0x100fbe(0x31d),!0x1),_0xbf1006(this,_0x100fbe(0x1d9)),_0xbf1006(this,_0x100fbe(0x236),''),_0xbf1006(this,_0x100fbe(0x16a),'top'),_0xbf1006(this,_0x100fbe(0x23c)),(_0x3ba25a&&this[_0x100fbe(0x126)](_0x3ba25a),this[_0x100fbe(0x2fb)][_0x100fbe(0x25e)](()=>this[_0x100fbe(0x126)]({'hovered':!0x0})),this[_0x100fbe(0x96)]['subscribeEvent'](()=>this[_0x100fbe(0x126)]({'hovered':!0x1})));}[_0x1c30d9(0x126)](_0x3c45dc){const _0x1bc0bf=_0x1c30d9;var _0x27544a,_0x2888fa,_0x317980,_0x5eb2d6,_0x9d6039,_0x206a61;this[_0x1bc0bf(0x98)]=(_0x27544a=_0x3c45dc[_0x1bc0bf(0xb0)])!=null?_0x27544a:this['_color'],this[_0x1bc0bf(0x31d)]=(_0x2888fa=_0x3c45dc['hovered'])!=null?_0x2888fa:this[_0x1bc0bf(0x31d)],this[_0x1bc0bf(0x1d9)]=(_0x317980=_0x3c45dc[_0x1bc0bf(0x278)])!=null?_0x317980:this[_0x1bc0bf(0x1d9)],this['_name']=(_0x5eb2d6=_0x3c45dc['name'])!=null?_0x5eb2d6:this[_0x1bc0bf(0x236)],this[_0x1bc0bf(0x16a)]=(_0x9d6039=_0x3c45dc['labelPosition'])!=null?_0x9d6039:this[_0x1bc0bf(0x16a)],this['_backgroundColor']=(_0x206a61=_0x3c45dc[_0x1bc0bf(0x1d5)])!=null?_0x206a61:this[_0x1bc0bf(0x23c)],this['transformByState']({'width':_0x3c45dc[_0x1bc0bf(0x192)],'height':_0x3c45dc[_0x1bc0bf(0xec)]});}[_0x1c30d9(0x79)](_0x3b43ec){const _0x55268e=_0x1c30d9,{row:_0x129569,column:_0x40fda}=_0x3b43ec;if(_0x129569>=this[_0x55268e(0x1d9)][_0x55268e(0x338)]&&_0x129569<=this[_0x55268e(0x1d9)][_0x55268e(0x14d)]&&_0x40fda>=this[_0x55268e(0x1d9)][_0x55268e(0xe9)]&&_0x40fda<=this[_0x55268e(0x1d9)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x55268e(0x126)]({'hovered':!0x1});}[_0x1c30d9(0x256)](_0x1891de){return!0x1;}['_draw'](_0x82e4b0){const _0x4e811e=_0x1c30d9;_0x5cce25['Rect'][_0x4e811e(0x180)](_0x82e4b0,{'width':this[_0x4e811e(0x192)],'height':this['height'],'strokeWidth':_0x4a9d37,'stroke':this[_0x4e811e(0x98)],'evented':!0x1,'fill':this[_0x4e811e(0x23c)]}),this[_0x4e811e(0x31d)]&&(_0x82e4b0[_0x4e811e(0xb8)](),_0x82e4b0['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x4e811e(0x16a)]===_0x4e811e(0x2ce)?0x0:-_0x5b7dae),_0x1932c3[_0x4e811e(0x180)](_0x82e4b0,{'text':this['_name'],'color':this['_color']}),_0x82e4b0[_0x4e811e(0x2b5)]());}}var _0x9265c6=Object[_0x1c30d9(0x176)],_0x53b2e7=(_0x37d937,_0x1fdbbc,_0x196d90,_0x16b6df)=>{for(var _0x3d97eb=_0x16b6df>0x1?void 0x0:_0x16b6df?_0x9265c6(_0x1fdbbc,_0x196d90):_0x1fdbbc,_0x30c1a5=_0x37d937['length']-0x1,_0x2734dd;_0x30c1a5>=0x0;_0x30c1a5--)(_0x2734dd=_0x37d937[_0x30c1a5])&&(_0x3d97eb=_0x2734dd(_0x3d97eb)||_0x3d97eb);return _0x3d97eb;},_0x607070=(_0xfdc640,_0xf40919)=>(_0x2a5675,_0x34a6a2)=>_0xf40919(_0x2a5675,_0x34a6a2,_0xfdc640);const _0x533df6=0x1389;let _0x5e75af=class extends _0x1dfb30['RxDisposable']{constructor(_0x1f6c24,_0x1996e2,_0x3a3b03,_0x4ad463){const _0x196ed9=_0x1c30d9;super(),_0xbf1006(this,_0x196ed9(0x300),new Set()),_0xbf1006(this,'_lastPointer',null),(this['_context']=_0x1f6c24,this[_0x196ed9(0x1b8)]=_0x1996e2,this[_0x196ed9(0xa2)]=_0x3a3b03,this['_themeService']=_0x4ad463,this[_0x196ed9(0x31a)]());}[_0x1c30d9(0x31a)](){const _0x1d3dfd=_0x1c30d9;this[_0x1d3dfd(0x1b8)][_0x1d3dfd(0x316)]['pipe'](_0x2dd10a[_0x1d3dfd(0x201)](this['dispose$']),_0x2dd10a[_0x1d3dfd(0x320)](_0x527663=>{const _0x1a2b3f=_0x1d3dfd;if(_0x527663){const _0x21b8a9=_0x527663[_0x1a2b3f(0x197)];return _0x12ea67[_0x1a2b3f(0x348)](this['_collabCursorController'][_0x1a2b3f(0x28a)](this[_0x1a2b3f(0x2bd)][_0x1a2b3f(0x352)]),this[_0x1a2b3f(0x2a5)]['currentTheme$'])[_0x1a2b3f(0x1a0)](_0x2dd10a[_0x1a2b3f(0x235)](([_0x3059eb,_0x272e0e])=>{const _0x162925=_0x1a2b3f,_0x3964f6=new Map();return _0x3059eb[_0x162925(0x249)]((_0x4a06d5,_0x4a18cf)=>{const _0x1158ed=_0x162925;if(_0x4a06d5['sheetID']===_0x21b8a9){const _0x4c4c45={..._0x4a06d5};_0x4c4c45[_0x1158ed(0xb0)]=this['_themeService']['getColorFromTheme'](_0x4a06d5[_0x1158ed(0xb0)]),_0x3964f6[_0x1158ed(0x151)](_0x4a18cf,_0x4c4c45);}}),{'skeleton':_0x527663,'cursors':_0x3964f6};}));}return _0x12ea67['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x516881,cursors:_0x4fb32c})=>{const _0x538644=_0x1d3dfd;this[_0x538644(0x112)](),_0x516881&&this[_0x538644(0x23f)](_0x516881,_0x4fb32c);}),this[_0x1d3dfd(0x1b8)][_0x1d3dfd(0x316)][_0x1d3dfd(0x131)](_0x4b5110=>{const _0x3e4fd3=_0x1d3dfd;if(_0x4b5110==null)return;const {skeleton:_0x3e190c}=_0x4b5110,{scene:_0x56c94d}=this['_context'];_0x56c94d[_0x3e4fd3(0xc5)][_0x3e4fd3(0x25e)](_0x1dfb30[_0x3e4fd3(0x233)](_0x31ee28=>{const _0x18fb1e=_0x3e4fd3;var _0xba314f,_0x128ae4;const {offsetX:_0x467a6d,offsetY:_0x56ad68}=_0x31ee28,{x:_0x2ce6e2,y:_0x2537d7}=_0x56c94d['getRelativeToViewportCoord'](_0x5cce25[_0x18fb1e(0x1c3)][_0x18fb1e(0x2e4)]([_0x467a6d,_0x56ad68])),{scaleX:_0x2a602f,scaleY:_0x4d56a9}=_0x56c94d[_0x18fb1e(0xbd)](),_0x54dd4b=_0x56c94d['getViewport'](_0x5cce25[_0x18fb1e(0xe3)][_0x18fb1e(0x127)]),_0x4a7531=_0x56c94d['getVpScrollXYInfoByPosToVp'](_0x5cce25[_0x18fb1e(0x1c3)]['FromArray']([_0x2ce6e2,_0x2537d7]),_0x54dd4b),_0x421f2c=_0x3e190c[_0x18fb1e(0xda)](_0x467a6d,_0x56ad68,_0x2a602f,_0x4d56a9,_0x4a7531);((_0xba314f=this[_0x18fb1e(0x15b)])==null?void 0x0:_0xba314f[_0x18fb1e(0x2d4)])===_0x421f2c[_0x18fb1e(0x2d4)]&&((_0x128ae4=this[_0x18fb1e(0x15b)])==null?void 0x0:_0x128ae4[_0x18fb1e(0x321)])===_0x421f2c[_0x18fb1e(0x321)]||this[_0x18fb1e(0x300)]['forEach'](_0x307df3=>{const _0x226130=_0x18fb1e;_0x307df3[_0x226130(0x79)](_0x421f2c);});},0x64));});}[_0x1c30d9(0x23f)](_0x18076f,_0x16fc23){const _0x42a64f=_0x1c30d9;var _0x2ace8c;const _0x4cbf81=(_0x2ace8c=this['_sheetSkeletonManagerService'][_0x42a64f(0x309)]())==null?void 0x0:_0x2ace8c[_0x42a64f(0x83)];if(!_0x4cbf81)return;const _0x370599=this[_0x42a64f(0xb9)]();if(!_0x370599)return;this['_cursors'][_0x42a64f(0x249)](_0x301a56=>{const _0x447a16=_0x42a64f;_0x301a56[_0x447a16(0x2bc)]();});const {scene:_0x497f40}=_0x370599,_0x5719ca=_0x197825(Array[_0x42a64f(0xed)](_0x16fc23[_0x42a64f(0xd5)]()))[_0x42a64f(0x235)](_0x2c5e6c=>{const _0x3413c1=_0x42a64f,{color:_0x26cd69,range:_0x28b30a,name:_0x59e32d,selection:_0x5daeeb,sheetID:_0x57c697}=_0x2c5e6c,{startColumn:_0xeec926,startRow:_0x1b6401,endColumn:_0x8acf67,endRow:_0x1e41d8}=_0x28b30a,_0x25d3d0=_0x149dfc['getCoordByCell'](_0x1b6401,_0xeec926,_0x497f40,_0x4cbf81),_0x1e49fa=_0x149dfc[_0x3413c1(0x2ff)](_0x1e41d8,_0x8acf67,_0x497f40,_0x4cbf81),{columnHeaderHeightAndMarginTop:_0x31affb}=_0x4cbf81,{startX:_0x4e78bd,startY:_0x3f7072}=_0x25d3d0,{endX:_0xe10d94,endY:_0x4a898d}=_0x1e49fa,_0x447665=_0xe10d94-_0x4e78bd,_0xeee734=_0x4a898d-_0x3f7072,_0x5ce1b9={'labelPosition':_0x3f7072-_0x31affb>=_0x5b7dae?_0x3413c1(0x7e):'bottom','sheetID':_0x57c697,'range':_0x28b30a,'color':_0x26cd69,'name':_0x59e32d,'selection':_0x5daeeb,'left':_0x4e78bd,'top':_0x3f7072,'width':_0x447665,'height':_0xeee734,'evented':!0x1,'zIndex':_0x533df6};return new _0x3e7dc2(_0x59e32d,_0x5ce1b9);});_0x497f40[_0x42a64f(0x1de)](_0x5719ca,_0x547eea),this[_0x42a64f(0x300)]=new Set(_0x5719ca);}['_removeCollabCursors'](){const _0x3153da=_0x1c30d9;var _0x1dc030;(_0x1dc030=this[_0x3153da(0x300)])==null||_0x1dc030[_0x3153da(0x249)](_0x537026=>_0x537026[_0x3153da(0x289)]());}[_0x1c30d9(0xb9)](){const _0x401472=_0x1c30d9;return _0x149dfc[_0x401472(0xe1)](this[_0x401472(0x2bd)]['unit'],this['_context']);}};_0x5e75af=_0x53b2e7([_0x607070(0x1,_0x1dfb30['Inject'](_0x149dfc[_0x1c30d9(0x169)])),_0x607070(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x156b27)),_0x607070(0x3,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30[_0x1c30d9(0xa8)]))],_0x5e75af);function _0x197825(_0x3b3860){const _0x163833=_0x1c30d9,_0x37dc25=new Map();return _0x3b3860[_0x163833(0x249)](_0x1c0f53=>{const _0x3582bf=_0x163833;if(_0x37dc25['has'](_0x1c0f53['selection'])){const _0x385c2b=_0x37dc25[_0x3582bf(0x123)](_0x1c0f53[_0x3582bf(0x299)]);_0x385c2b[_0x3582bf(0x174)]+=',\x20'+_0x1c0f53[_0x3582bf(0x174)];}else _0x37dc25[_0x3582bf(0x151)](_0x1c0f53[_0x3582bf(0x299)],_0x1c0f53);}),Array[_0x163833(0xed)](_0x37dc25[_0x163833(0xd5)]());}var _0x123224=Object[_0x1c30d9(0x176)],_0x2726d1=(_0x80d3ff,_0x3ea718,_0x9f1fb0,_0x3dc467)=>{const _0x3ab385=_0x1c30d9;for(var _0x24bf11=_0x3dc467>0x1?void 0x0:_0x3dc467?_0x123224(_0x3ea718,_0x9f1fb0):_0x3ea718,_0x4d5800=_0x80d3ff[_0x3ab385(0x263)]-0x1,_0x31485c;_0x4d5800>=0x0;_0x4d5800--)(_0x31485c=_0x80d3ff[_0x4d5800])&&(_0x24bf11=_0x31485c(_0x24bf11)||_0x24bf11);return _0x24bf11;},_0x530b80=(_0x35239a,_0x58aab5)=>(_0x3cdb5b,_0x7c6741)=>_0x58aab5(_0x3cdb5b,_0x7c6741,_0x35239a);let _0x36e370=class extends _0x1dfb30[_0x1c30d9(0x71)]{constructor(_0x36a2f8,_0x4b9e7b,_0x15ca45,_0x1dfa23,_0x247b9d,_0x3a7845){const _0x294b2c=_0x1c30d9;super(),this['_beforeCloseService']=_0x36a2f8,this[_0x294b2c(0x2d7)]=_0x4b9e7b,this[_0x294b2c(0xa0)]=_0x15ca45,this[_0x294b2c(0x258)]=_0x1dfa23,this['_notificationService']=_0x247b9d,this['_localeService']=_0x3a7845,this[_0x294b2c(0x10e)](),this['_initEvent']();}[_0x1c30d9(0x10e)](){const _0x44a303=_0x1c30d9;this['disposeWithMe'](this[_0x44a303(0x279)][_0x44a303(0x1ec)](()=>{const _0x249a59=_0x44a303;if(this[_0x249a59(0x2d7)][_0x249a59(0xe8)][_0x249a59(0x30f)])return this['_localeService']['t'](_0x249a59(0x30e));}));}[_0x1c30d9(0x76)](){const _0x214901=_0x1c30d9;this[_0x214901(0x297)](this[_0x214901(0xa0)]['event$'][_0x214901(0x131)](_0x41ba6e=>{const _0x9d5d71=_0x214901;_0x41ba6e['id']===_0x3899ea['CollaborationUIEventId'][_0x9d5d71(0x31c)]&&this[_0x9d5d71(0x258)][_0x9d5d71(0x2ec)]({'type':_0x1d1957['MessageType'][_0x9d5d71(0x14f)],'content':this[_0x9d5d71(0x147)]['t']('collaboration.single-unit.warning')}),_0x41ba6e['id']===_0x3899ea[_0x9d5d71(0xb5)][_0x9d5d71(0x18b)]&&this['_messageService'][_0x9d5d71(0x2ec)]({'type':_0x1d1957[_0x9d5d71(0xca)][_0x9d5d71(0x14f)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x41ba6e['id']===_0x3899ea[_0x9d5d71(0xb5)]['PERMISSION_DENIED']&&this[_0x9d5d71(0x2aa)][_0x9d5d71(0x2ec)]({'title':this[_0x9d5d71(0x147)]['t'](_0x9d5d71(0x99)),'content':this[_0x9d5d71(0x147)]['t']('permission.content'),'type':_0x9d5d71(0x186),'duration':0x0}),_0x41ba6e['id']===_0x3899ea[_0x9d5d71(0xb5)]['CONFLICT']&&this[_0x9d5d71(0x258)][_0x9d5d71(0x2ec)]({'type':_0x1d1957['MessageType'][_0x9d5d71(0x1c1)],'content':this[_0x9d5d71(0x147)]['t'](_0x9d5d71(0x1f4))+'('+_0x41ba6e[_0x9d5d71(0x2c4)]+')'}),_0x41ba6e['id']===_0x3899ea[_0x9d5d71(0xb5)][_0x9d5d71(0x136)]&&this[_0x9d5d71(0x258)][_0x9d5d71(0x2ec)]({'type':_0x1d1957[_0x9d5d71(0xca)][_0x9d5d71(0x14f)],'content':this[_0x9d5d71(0x147)]['t'](_0x41ba6e[_0x9d5d71(0x2c4)]||'')}),_0x41ba6e['id']===_0x3899ea[_0x9d5d71(0xb5)][_0x9d5d71(0x2ea)]&&this['_messageService']['show']({'type':_0x1d1957[_0x9d5d71(0xca)]['Warning'],'content':this[_0x9d5d71(0x147)]['t'](_0x9d5d71(0xa6))}),_0x41ba6e['id']===_0x3899ea[_0x9d5d71(0xb5)][_0x9d5d71(0x22d)]&&this[_0x9d5d71(0x258)]['show']({'type':_0x1d1957[_0x9d5d71(0xca)]['Error'],'content':this[_0x9d5d71(0x147)]['t'](_0x9d5d71(0x284))}),_0x41ba6e['id']===_0x3899ea[_0x9d5d71(0xb5)][_0x9d5d71(0x2dc)]&&this[_0x9d5d71(0x258)]['show']({'type':_0x1d1957[_0x9d5d71(0xca)]['Error'],'content':this[_0x9d5d71(0x147)]['t'](_0x9d5d71(0xaa))});}));}};_0x36e370=_0x2726d1([_0x530b80(0x0,_0x5581af[_0x1c30d9(0x282)]),_0x530b80(0x1,_0x3899ea['ILocalCacheService']),_0x530b80(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x3899ea[_0x1c30d9(0x2e0)])),_0x530b80(0x3,_0x5581af[_0x1c30d9(0x2b7)]),_0x530b80(0x4,_0x5581af['INotificationService']),_0x530b80(0x5,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30[_0x1c30d9(0x2f0)]))],_0x36e370);var _0x210745=Object[_0x1c30d9(0x176)],_0x3ef7a5=(_0x417978,_0x7d13e5,_0x56570d,_0x31db8a)=>{const _0x479416=_0x1c30d9;for(var _0x22bcd8=_0x31db8a>0x1?void 0x0:_0x31db8a?_0x210745(_0x7d13e5,_0x56570d):_0x7d13e5,_0x206ffc=_0x417978[_0x479416(0x263)]-0x1,_0x53bc89;_0x206ffc>=0x0;_0x206ffc--)(_0x53bc89=_0x417978[_0x206ffc])&&(_0x22bcd8=_0x53bc89(_0x22bcd8)||_0x22bcd8);return _0x22bcd8;},_0x558fc4=(_0x145a3e,_0xaa261e)=>(_0x9082c0,_0x5e6e5e)=>_0xaa261e(_0x9082c0,_0x5e6e5e,_0x145a3e);let _0x27794d=class extends _0x1dfb30['Disposable']{constructor(_0x5ed558,_0x2939b7,_0x2e65bb,_0x5e0ec2){const _0x3b5738=_0x1c30d9;super(),_0xbf1006(this,_0x3b5738(0x1fc)),(this[_0x3b5738(0x1b3)]=_0x5ed558,this[_0x3b5738(0x159)]=_0x2939b7,this[_0x3b5738(0x1dd)]=_0x2e65bb,this[_0x3b5738(0x275)]=_0x5e0ec2,this[_0x3b5738(0x31a)]());}[_0x1c30d9(0x31a)](){const _0x36f8df=_0x1c30d9;this['_initWindowErrorListener'](),this[_0x36f8df(0x21a)](),this[_0x36f8df(0x245)](),this[_0x36f8df(0xde)]();}[_0x1c30d9(0xde)](){const _0x41258b=_0x1c30d9;this['disposeWithMe'](this[_0x41258b(0x275)][_0x41258b(0xa1)][_0x41258b(0x131)](_0x111a60=>{const _0x45aed7=_0x41258b;this[_0x45aed7(0x1fc)]=_0x111a60==null?void 0x0:_0x111a60['memberID'];}));}[_0x1c30d9(0x25a)](){const _0x31c40e=_0x1c30d9,_0x2607ca=_0x1cfde6=>{const _0x360c45=_0x33b0;var _0x5a458d;this[_0x360c45(0x234)]('error',_0x360c45(0x1b0)+_0x1cfde6[_0x360c45(0x9d)]+_0x360c45(0x166)+_0x1cfde6[_0x360c45(0x209)]+':'+_0x1cfde6[_0x360c45(0x2a9)]+':'+_0x1cfde6[_0x360c45(0x137)]+'\x0a'+(((_0x5a458d=_0x1cfde6[_0x360c45(0x186)])==null?void 0x0:_0x5a458d[_0x360c45(0x161)])||''));};window[_0x31c40e(0x138)](_0x31c40e(0x186),_0x2607ca),this[_0x31c40e(0x297)](()=>{const _0x1291fc=_0x31c40e;window[_0x1291fc(0x130)]('error',_0x2607ca);});}[_0x1c30d9(0x21a)](){const _0x2b7cc6=_0x1c30d9,_0x5c08b0=_0x3ea153=>{const _0xf21e44=_0x33b0;this[_0xf21e44(0x234)](_0xf21e44(0x186),_0xf21e44(0xcb)+_0x3ea153[_0xf21e44(0x2bb)]);};window[_0x2b7cc6(0x138)](_0x2b7cc6(0x8a),_0x5c08b0),this[_0x2b7cc6(0x297)](()=>{const _0x10d04e=_0x2b7cc6;window[_0x10d04e(0x130)](_0x10d04e(0x8a),_0x5c08b0);});}[_0x1c30d9(0x245)](){const _0x231fdd=_0x1c30d9,_0x2a3eb6=this['_logService'][_0x231fdd(0x186)][_0x231fdd(0x1df)](this[_0x231fdd(0x1dd)]);this[_0x231fdd(0x1dd)]['error']=(..._0x2aceca)=>{const _0x522ffe=_0x231fdd,_0x903a68=_0x2aceca[_0x522ffe(0x235)](_0x18b0f0=>_0x18b0f0 instanceof Error?_0x18b0f0[_0x522ffe(0x9d)]+'\x0a'+_0x18b0f0[_0x522ffe(0x161)]:String(_0x18b0f0))['join']('\x20');this[_0x522ffe(0x234)]('error','[LogService\x20Error]:\x20'+_0x903a68),_0x2a3eb6(..._0x2aceca);},this[_0x231fdd(0x297)](()=>{const _0x5ad0f6=_0x231fdd;this[_0x5ad0f6(0x1dd)][_0x5ad0f6(0x186)]=_0x2a3eb6;});}[_0x1c30d9(0x234)](_0xfcf554,_0x7fb07f){const _0x57884b=_0x1c30d9;try{const _0x2693c6={'userId':this['_memberID'],'logLabel':_0xfcf554,'content':_0x7fb07f};this[_0x57884b(0x159)]['post'](_0x57884b(0x2d2),{'body':_0x2693c6})['catch'](()=>{});}catch{}}};_0x27794d=_0x3ef7a5([_0x558fc4(0x0,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30[_0x1c30d9(0x13a)])),_0x558fc4(0x1,_0x1dfb30[_0x1c30d9(0xe7)](_0x221af8[_0x1c30d9(0x2de)])),_0x558fc4(0x2,_0x1dfb30['ILogService']),_0x558fc4(0x3,_0x1dfb30[_0x1c30d9(0xe7)](_0x3899ea['CollaborationSessionService']))],_0x27794d);const _0x3bfb6b=_0x1c30d9(0x2b2),_0x5a98db={};var _0x11c632=Object[_0x1c30d9(0x176)],_0x18f5b6=(_0x678a4b,_0x364118,_0x20b407,_0x5c7cc3)=>{const _0x86238=_0x1c30d9;for(var _0x1ab4de=_0x5c7cc3>0x1?void 0x0:_0x5c7cc3?_0x11c632(_0x364118,_0x20b407):_0x364118,_0x29f0e0=_0x678a4b[_0x86238(0x263)]-0x1,_0x11b9ae;_0x29f0e0>=0x0;_0x29f0e0--)(_0x11b9ae=_0x678a4b[_0x29f0e0])&&(_0x1ab4de=_0x11b9ae(_0x1ab4de)||_0x1ab4de);return _0x1ab4de;},_0x3b047a=(_0x589caa,_0x5ceb49)=>(_0x4f2acd,_0x4c46bf)=>_0x5ceb49(_0x4f2acd,_0x4c46bf,_0x589caa);let _0x404555=class{constructor(_0x5b6e13,_0x1ab5e5){const _0x604912=_0x1c30d9;this['_transformService']=_0x5b6e13,this[_0x604912(0x25c)]=_0x1ab5e5;}[_0x1c30d9(0x215)](_0x1da70c){const _0x22ef8b=_0x1c30d9;this[_0x22ef8b(0x31b)](_0x1da70c),this['_transformPreviousActiveRange'](_0x1da70c);}[_0x1c30d9(0x271)](_0x3c5918){const _0x309d59=_0x1c30d9,{unitID:_0x7d56bc}=_0x3c5918,_0x111382=this[_0x309d59(0x25c)][_0x309d59(0x195)](_0x7d56bc)[_0x309d59(0x163)](_0x4f04d2[_0x309d59(0x2da)]),{redoCache:_0x3a54dc}=_0x111382[_0x309d59(0x78)]();if(_0x3a54dc[_0x309d59(0x263)]===0x0)return _0x3c5918;let _0x43b039=_0x1dfb30['Tools']['deepClone'](_0x3c5918[_0x309d59(0x1d2)][0x0]);for(let _0x11bf81=0x0;_0x11bf81<_0x3a54dc[_0x309d59(0x263)];_0x11bf81++){const _0x5a20b2={'id':_0x309d59(0xae),'params':{..._0x3a54dc[_0x11bf81]}},_0x39b716=this[_0x309d59(0x29a)][_0x309d59(0x184)](_0x43b039,_0x5a20b2,!0x1);if(_0x1448e7['isTransformMutationFailure'](_0x39b716))throw _0x39b716[_0x309d59(0x186)];_0x43b039=_0x39b716[_0x309d59(0xa7)];}return{..._0x1dfb30[_0x309d59(0x2e6)]['deepClone'](_0x3c5918),'mutations':[_0x43b039]};}[_0x1c30d9(0x31b)](_0x3d05e4){const _0x9cc46d=_0x1c30d9,{unitID:_0x5b2494}=_0x3d05e4,_0x24bf8e=this[_0x9cc46d(0x25c)][_0x9cc46d(0x195)](_0x5b2494)[_0x9cc46d(0x163)](_0x4f04d2['DocIMEInputManagerService']),{undoCache:_0x1e9483,redoCache:_0x28a8bf}=_0x24bf8e[_0x9cc46d(0x78)]();if(_0x1e9483['length']===0x0||_0x28a8bf['length']===0x0)return;const _0x21bca1=[],_0x1851b7=[];let _0x3bb122=_0x1dfb30['Tools']['deepClone'](_0x3d05e4['mutations'][0x0]),_0x27b4cf=_0x1dfb30[_0x9cc46d(0x2e6)][_0x9cc46d(0x24d)](_0x3d05e4[_0x9cc46d(0x1d2)][0x0]);for(let _0x58779a=_0x1e9483['length']-0x1;_0x58779a>=0x0;_0x58779a--){const _0x176167={'id':_0x9cc46d(0xae),'params':{..._0x1e9483[_0x58779a]}},_0x5cca0e={'id':_0x9cc46d(0xae),'params':{..._0x28a8bf[_0x58779a]}},_0x56267a=this[_0x9cc46d(0x29a)][_0x9cc46d(0x184)](_0x3bb122,_0x176167,!0x1),_0x408707=this[_0x9cc46d(0x29a)][_0x9cc46d(0x184)](_0x27b4cf,_0x5cca0e,!0x1);if(_0x1448e7[_0x9cc46d(0x30a)](_0x56267a))throw _0x56267a[_0x9cc46d(0x186)];if(_0x1448e7[_0x9cc46d(0x30a)](_0x408707))throw _0x408707[_0x9cc46d(0x186)];_0x21bca1[_0x9cc46d(0x20a)](_0x56267a[_0x9cc46d(0x108)][_0x9cc46d(0x2c6)]),_0x1851b7[_0x9cc46d(0x20a)](_0x408707[_0x9cc46d(0x108)]['params']),_0x3bb122=_0x56267a[_0x9cc46d(0xa7)],_0x27b4cf=_0x408707[_0x9cc46d(0xa7)];}_0x24bf8e[_0x9cc46d(0x1e9)]({'undoCache':_0x21bca1,'redoCache':_0x1851b7});}[_0x1c30d9(0x2ca)](_0x12c328){const _0x4a1f9a=_0x1c30d9,{unitID:_0x31f9b3}=_0x12c328,_0x3da032=this[_0x4a1f9a(0x25c)][_0x4a1f9a(0x195)](_0x31f9b3)[_0x4a1f9a(0x163)](_0x4f04d2['DocIMEInputManagerService']),_0x430b2b=_0x3da032[_0x4a1f9a(0x22b)]();if(_0x430b2b==null)return;const _0x4f7217=[{'id':_0x4a1f9a(0xae),'params':{'unitId':_0x12c328['unitID'],'actions':null,'textRanges':[_0x430b2b]}}],_0x5b2082=this[_0x4a1f9a(0x29a)][_0x4a1f9a(0x2ab)](_0x12c328,_0x4f7217);if(!_0x1448e7[_0x4a1f9a(0x128)](_0x5b2082))throw _0x5b2082['error'];const _0x5eb00c=_0x5b2082['m2Prime'][0x0][_0x4a1f9a(0x2c6)][_0x4a1f9a(0x7d)];Array[_0x4a1f9a(0x9e)](_0x5eb00c)&&_0x5eb00c['length']&&_0x3da032[_0x4a1f9a(0x319)](_0x5eb00c[0x0]);}};_0x404555=_0x18f5b6([_0x3b047a(0x0,_0x1448e7['ITransformService']),_0x3b047a(0x1,_0x5cce25[_0x1c30d9(0x103)])],_0x404555);var _0x99fa8=Object['getOwnPropertyDescriptor'],_0x48df58=(_0x3610de,_0xa31e32,_0x369fca,_0x26ef0f)=>{for(var _0x66fbb0=_0x26ef0f>0x1?void 0x0:_0x26ef0f?_0x99fa8(_0xa31e32,_0x369fca):_0xa31e32,_0x1ab243=_0x3610de['length']-0x1,_0x5175bf;_0x1ab243>=0x0;_0x1ab243--)(_0x5175bf=_0x3610de[_0x1ab243])&&(_0x66fbb0=_0x5175bf(_0x66fbb0)||_0x66fbb0);return _0x66fbb0;},_0x3d688d=(_0x3b5eba,_0x5acaaa)=>(_0x30a74d,_0x57df07)=>_0x5acaaa(_0x30a74d,_0x57df07,_0x3b5eba);let _0x105355=class{constructor(_0x434f07,_0x43e55d,_0x553add){const _0x4faa6f=_0x1c30d9;this[_0x4faa6f(0x1b3)]=_0x434f07,this[_0x4faa6f(0x29a)]=_0x43e55d,this[_0x4faa6f(0x33d)]=_0x553add;}['transformStateCache'](_0x15ea33){this['_transformHistoryAndStateStack'](_0x15ea33);}[_0x1c30d9(0x271)](_0x544748){const _0x2f62b6=_0x1c30d9,{unitID:_0x58247c}=_0x544748,{collaboration:_0x1ed33c}=this[_0x2f62b6(0x33d)]['getStateCache'](_0x58247c);if(_0x1ed33c[_0x2f62b6(0x263)]===0x0)return _0x544748;let _0xc478b5=_0x1dfb30[_0x2f62b6(0x2e6)][_0x2f62b6(0x24d)](_0x544748[_0x2f62b6(0x1d2)][0x0]);for(let _0x2f2830=0x0;_0x2f2830<_0x1ed33c['length'];_0x2f2830++){const _0x30ffc1={'id':_0x2f62b6(0xae),'params':{'unitId':_0x1ed33c[_0x2f2830][_0x2f62b6(0x352)],..._0x1ed33c[_0x2f2830][_0x2f62b6(0x2ad)]}},_0x58dd7e=this['_transformService'][_0x2f62b6(0x184)](_0xc478b5,_0x30ffc1,!0x1);if(_0x1448e7['isTransformMutationFailure'](_0x58dd7e))throw _0x58dd7e[_0x2f62b6(0x186)];_0xc478b5=_0x58dd7e['m1Prime'];}return{..._0x1dfb30[_0x2f62b6(0x2e6)]['deepClone'](_0x544748),'mutations':[_0xc478b5]};}[_0x1c30d9(0x200)](_0xc652ee){const _0x472513=_0x1c30d9,{unitID:_0x3bed5b}=_0xc652ee,{history:_0x4d093e,collaboration:_0x252c65}=this['_docStateChangeManagerService']['getStateCache'](_0x3bed5b);if(_0x4d093e[_0x472513(0x263)]===0x0&&_0x252c65[_0x472513(0x263)]===0x0)return;const _0x12a45e=[],_0x1b7534=[];let _0x166ca4=_0x1dfb30[_0x472513(0x2e6)][_0x472513(0x24d)](_0xc652ee[_0x472513(0x1d2)][0x0]),_0xd3d470=_0x1dfb30[_0x472513(0x2e6)][_0x472513(0x24d)](_0xc652ee[_0x472513(0x1d2)][0x0]);for(let _0x4cad2e=_0x4d093e[_0x472513(0x263)]-0x1;_0x4cad2e>=0x0;_0x4cad2e--){const _0xb1e853={'id':_0x472513(0xae),'params':{'unitId':_0x4d093e[_0x4cad2e][_0x472513(0x352)],..._0x4d093e[_0x4cad2e]['undoState']}},_0x5168a7={'id':_0x472513(0xae),'params':{'unitId':_0x4d093e[_0x4cad2e][_0x472513(0x352)],..._0x4d093e[_0x4cad2e][_0x472513(0x2ad)]}},_0xd685a2=this['_transformService'][_0x472513(0x184)](_0x166ca4,_0xb1e853,!0x1),_0x2fc89c=this[_0x472513(0x29a)]['transformMutation'](_0xd3d470,_0x5168a7,!0x1);if(_0x1448e7['isTransformMutationFailure'](_0xd685a2))throw _0xd685a2[_0x472513(0x186)];if(_0x1448e7[_0x472513(0x30a)](_0x2fc89c))throw _0x2fc89c[_0x472513(0x186)];_0x12a45e[_0x472513(0x20a)]({..._0x4d093e[_0x4cad2e],'undoState':_0xd685a2[_0x472513(0x108)]['params'],'redoState':_0x2fc89c[_0x472513(0x108)]['params']}),_0x166ca4=_0xd685a2[_0x472513(0xa7)],_0xd3d470=_0x2fc89c[_0x472513(0xa7)];}_0x166ca4=_0x1dfb30['Tools'][_0x472513(0x24d)](_0xc652ee[_0x472513(0x1d2)][0x0]),_0xd3d470=_0x1dfb30[_0x472513(0x2e6)][_0x472513(0x24d)](_0xc652ee[_0x472513(0x1d2)][0x0]);for(let _0x4c7fc1=_0x252c65['length']-0x1;_0x4c7fc1>=0x0;_0x4c7fc1--){const _0x48c5a8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x252c65[_0x4c7fc1][_0x472513(0x352)],..._0x252c65[_0x4c7fc1][_0x472513(0x34b)]}},_0x1d1755={'id':_0x472513(0xae),'params':{'unitId':_0x252c65[_0x4c7fc1]['unitId'],..._0x252c65[_0x4c7fc1][_0x472513(0x2ad)]}},_0x5067df=this[_0x472513(0x29a)][_0x472513(0x184)](_0x166ca4,_0x48c5a8,!0x1),_0x561c7f=this[_0x472513(0x29a)][_0x472513(0x184)](_0xd3d470,_0x1d1755,!0x1);if(_0x1448e7[_0x472513(0x30a)](_0x5067df))throw _0x5067df[_0x472513(0x186)];if(_0x1448e7[_0x472513(0x30a)](_0x561c7f))throw _0x561c7f[_0x472513(0x186)];_0x1b7534[_0x472513(0x20a)]({..._0x252c65[_0x4c7fc1],'undoState':_0x5067df[_0x472513(0x108)][_0x472513(0x2c6)],'redoState':_0x561c7f[_0x472513(0x108)][_0x472513(0x2c6)]}),_0x166ca4=_0x5067df[_0x472513(0xa7)],_0xd3d470=_0x561c7f[_0x472513(0xa7)];}this[_0x472513(0x33d)][_0x472513(0x133)](_0x3bed5b,{'history':_0x12a45e,'collaboration':_0x1b7534});}};_0x105355=_0x48df58([_0x3d688d(0x0,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30[_0x1c30d9(0x13a)])),_0x3d688d(0x1,_0x1448e7[_0x1c30d9(0x1d7)]),_0x3d688d(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x4f04d2['DocStateChangeManagerService']))],_0x105355);var _0x32b73c=Object[_0x1c30d9(0x176)],_0x416748=(_0x1aecf1,_0x3fb4b4,_0x378742,_0x27c899)=>{const _0x304040=_0x1c30d9;for(var _0x56aa8c=_0x27c899>0x1?void 0x0:_0x27c899?_0x32b73c(_0x3fb4b4,_0x378742):_0x3fb4b4,_0x1749f3=_0x1aecf1[_0x304040(0x263)]-0x1,_0x2a9cb8;_0x1749f3>=0x0;_0x1749f3--)(_0x2a9cb8=_0x1aecf1[_0x1749f3])&&(_0x56aa8c=_0x2a9cb8(_0x56aa8c)||_0x56aa8c);return _0x56aa8c;},_0x37eb14=(_0x48474e,_0x10a4d0)=>(_0x17b675,_0x3dc1a9)=>_0x10a4d0(_0x17b675,_0x3dc1a9,_0x48474e);let _0x545a97=class{constructor(_0x2ca4c5,_0x1aa36f){const _0x3cd515=_0x1c30d9;this[_0x3cd515(0x1b3)]=_0x2ca4c5,this[_0x3cd515(0x29a)]=_0x1aa36f;}[_0x1c30d9(0x345)](_0x3f8820){const _0x370214=_0x1c30d9;var _0x3e37bf;const _0x3a8900=this['_injector'][_0x370214(0x123)](_0x90847b[_0x370214(0x150)]),_0x40663e=(_0x3e37bf=_0x3a8900[_0x370214(0x28e)]())!=null?_0x3e37bf:[];if(_0x40663e[_0x370214(0x263)]===0x0)return;const _0x27c9e9=_0x3f8820['unitID'],_0x19a5de=[{'id':_0x370214(0xae),'params':{'unitId':_0x27c9e9,'actions':null,'textRanges':_0x40663e}}],_0x22e720=this[_0x370214(0x29a)][_0x370214(0x2ab)](_0x3f8820,_0x19a5de);if(!_0x1448e7[_0x370214(0x128)](_0x22e720))throw _0x22e720['error'];const _0x311be5=_0x22e720['m2Prime'][0x0][_0x370214(0x2c6)][_0x370214(0x7d)];Array[_0x370214(0x9e)](_0x311be5)&&_0x311be5[_0x370214(0x263)]&&_0x3a8900['replaceDocRanges'](_0x311be5,{'unitId':_0x27c9e9,'subUnitId':_0x27c9e9},!0x1);}};_0x545a97=_0x416748([_0x37eb14(0x0,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30['Injector'])),_0x37eb14(0x1,_0x1448e7[_0x1c30d9(0x1d7)])],_0x545a97);var _0x50bf6e=Object[_0x1c30d9(0x176)],_0x12e0ee=(_0xc9353c,_0x2e95ba,_0x3f7499,_0xc3f1a4)=>{for(var _0x2590aa=_0xc3f1a4>0x1?void 0x0:_0xc3f1a4?_0x50bf6e(_0x2e95ba,_0x3f7499):_0x2e95ba,_0x4d9056=_0xc9353c['length']-0x1,_0xb40ebe;_0x4d9056>=0x0;_0x4d9056--)(_0xb40ebe=_0xc9353c[_0x4d9056])&&(_0x2590aa=_0xb40ebe(_0x2590aa)||_0x2590aa);return _0x2590aa;},_0x4c02af=(_0x330f97,_0x4ee641)=>(_0x1c4bb1,_0x22e710)=>_0x4ee641(_0x1c4bb1,_0x22e710,_0x330f97);let _0x23b742=class extends _0x1dfb30[_0x1c30d9(0x71)]{constructor(_0x3020ae,_0x290461,_0x401f4b,_0x4cc4ac,_0x46234f,_0x525c93,_0x1e93ee,_0x57136d){const _0x6fb226=_0x1c30d9;super(),_0xbf1006(this,_0x6fb226(0x1b1),new _0x12ea67[(_0x6fb226(0x211))](_0x3899ea['CollaborationStatus'][_0x6fb226(0x12a)])),(this[_0x6fb226(0x33d)]=_0x3020ae,this[_0x6fb226(0x340)]=_0x290461,this[_0x6fb226(0xdc)]=_0x401f4b,this['_docTransformStateCacheService']=_0x4cc4ac,this[_0x6fb226(0x219)]=_0x46234f,this[_0x6fb226(0x7b)]=_0x525c93,this[_0x6fb226(0x258)]=_0x1e93ee,this[_0x6fb226(0x147)]=_0x57136d,this[_0x6fb226(0x1b5)]());}[_0x1c30d9(0x1b5)](){const _0x4641e3=_0x1c30d9;this[_0x4641e3(0x297)](this[_0x4641e3(0x340)][_0x4641e3(0x268)]['subscribe'](_0x5cf71f=>{const _0xabea8f=_0x4641e3,_0xb0ebcf=this[_0xabea8f(0x33d)][_0xabea8f(0x350)][_0xabea8f(0x131)](_0x16f237=>{const _0xc1f82c=_0xabea8f;if(_0x16f237==null)return;const {unitId:_0x4c0150,redoState:_0x508cfc,commandId:_0x2d0f11}=_0x16f237;if(_0x4c0150!==_0x5cf71f[_0xc1f82c(0xba)])return;const _0x3c0c2b={'id':_0x2d0f11,'type':_0x1dfb30[_0xc1f82c(0x2d5)][_0xc1f82c(0x22a)],'params':{'unitId':_0x4c0150,'actions':_0x508cfc['actions'],'textRanges':null}};_0x5cf71f[_0xc1f82c(0x336)](_0x3c0c2b);});if(_0x5cf71f['disposeWithMe'](_0xb0ebcf),_0x5cf71f instanceof _0x3899ea['DocCollaborationEntity']){const _0x91b813={'onTransformIME':_0x21c7b5=>this[_0xabea8f(0xdc)][_0xabea8f(0x215)](_0x21c7b5),'onTransformState':_0x2573b2=>this[_0xabea8f(0x2dd)][_0xabea8f(0x32f)](_0x2573b2),'onTransformSelections':_0x1b9f99=>this[_0xabea8f(0x219)][_0xabea8f(0x345)](_0x1b9f99),'onSyncEditingCollabCursor':_0x4d8361=>this[_0xabea8f(0x7b)][_0xabea8f(0x148)](_0x4d8361),'onTransformRemoteChangesetByIMECache':_0x34c394=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x34c394),'onTransformRemoteChangesetByStateCache':_0x1f5706=>this[_0xabea8f(0x2dd)][_0xabea8f(0x271)](_0x1f5706)};_0x5cf71f['addHandlerCallback'](_0x91b813);}}));}};_0x23b742=_0x12e0ee([_0x4c02af(0x0,_0x1dfb30[_0x1c30d9(0xe7)](_0x4f04d2['DocStateChangeManagerService'])),_0x4c02af(0x1,_0x1dfb30[_0x1c30d9(0xe7)](_0x3899ea[_0x1c30d9(0xdd)])),_0x4c02af(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x404555)),_0x4c02af(0x3,_0x1dfb30[_0x1c30d9(0xe7)](_0x105355)),_0x4c02af(0x4,_0x1dfb30[_0x1c30d9(0xe7)](_0x545a97)),_0x4c02af(0x5,_0x1dfb30[_0x1c30d9(0xe7)](_0x3b41c7)),_0x4c02af(0x6,_0x5581af[_0x1c30d9(0x2b7)]),_0x4c02af(0x7,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30['LocaleService']))],_0x23b742);var _0x21f032=(_0x48c22e=>(_0x48c22e[_0x48c22e[_0x1c30d9(0x1c2)]=0x0]=_0x1c30d9(0x1c2),_0x48c22e[_0x48c22e['OK']=0x1]='OK',_0x48c22e[_0x48c22e[_0x1c30d9(0x6f)]=0x2]=_0x1c30d9(0x6f),_0x48c22e[_0x48c22e[_0x1c30d9(0xf4)]=0x3]=_0x1c30d9(0xf4),_0x48c22e[_0x48c22e['NOT_FOUND']=0x4]=_0x1c30d9(0x118),_0x48c22e[_0x48c22e[_0x1c30d9(0x10f)]=0x5]=_0x1c30d9(0x10f),_0x48c22e[_0x48c22e[_0x1c30d9(0x2bf)]=0x6]=_0x1c30d9(0x2bf),_0x48c22e[_0x48c22e['INVALID_ARGUMENT']=0x7]=_0x1c30d9(0x265),_0x48c22e[_0x48c22e['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x48c22e[_0x48c22e[_0x1c30d9(0x27b)]=0x9]='COMPLETION_FINISHED',_0x48c22e[_0x48c22e[_0x1c30d9(0x23e)]=0xa]=_0x1c30d9(0x23e),_0x48c22e[_0x48c22e[_0x1c30d9(0x298)]=0xb]=_0x1c30d9(0x298),_0x48c22e[_0x48c22e[_0x1c30d9(0x28b)]=0xc]=_0x1c30d9(0x28b),_0x48c22e[_0x48c22e[_0x1c30d9(0xe2)]=0xd]=_0x1c30d9(0xe2),_0x48c22e[_0x48c22e[_0x1c30d9(0x1c6)]=0xe]=_0x1c30d9(0x1c6),_0x48c22e[_0x48c22e['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x48c22e[_0x48c22e['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x1c30d9(0x26c),_0x48c22e[_0x48c22e[_0x1c30d9(0x94)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x48c22e[_0x48c22e['ERROR_AGAIN']=0x65]=_0x1c30d9(0x2e7),_0x48c22e[_0x48c22e[_0x1c30d9(0x9a)]=0xc9]='USER_NOT_FOUND',_0x48c22e[_0x48c22e[_0x1c30d9(0x77)]=0xca]=_0x1c30d9(0x77),_0x48c22e[_0x48c22e[_0x1c30d9(0xc0)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x48c22e[_0x48c22e[_0x1c30d9(0x185)]=0x1771]=_0x1c30d9(0x185),_0x48c22e[_0x48c22e[_0x1c30d9(0xc4)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x48c22e[_0x48c22e[_0x1c30d9(0x17a)]=0x1773]=_0x1c30d9(0x17a),_0x48c22e[_0x48c22e[_0x1c30d9(0x314)]=0x1b59]=_0x1c30d9(0x314),_0x48c22e[_0x48c22e[_0x1c30d9(0x154)]=0x1b5a]=_0x1c30d9(0x154),_0x48c22e[_0x48c22e[_0x1c30d9(0x205)]=0x1b5b]=_0x1c30d9(0x205),_0x48c22e[_0x48c22e[_0x1c30d9(0xd8)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x48c22e[_0x48c22e['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x48c22e[_0x48c22e[_0x1c30d9(0x1c5)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x48c22e[_0x48c22e[_0x1c30d9(0x142)]=0x2329]=_0x1c30d9(0x142),_0x48c22e[_0x48c22e[_0x1c30d9(0x14a)]=0x232a]=_0x1c30d9(0x14a),_0x48c22e[_0x48c22e['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1c30d9(0x119),_0x48c22e[_0x48c22e[_0x1c30d9(0x1ee)]=0x232c]=_0x1c30d9(0x1ee),_0x48c22e[_0x48c22e['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1c30d9(0x1f8),_0x48c22e[_0x48c22e[_0x1c30d9(0xfd)]=0x2711]=_0x1c30d9(0xfd),_0x48c22e[_0x48c22e[_0x1c30d9(0x141)]=0x2712]=_0x1c30d9(0x141),_0x48c22e[_0x48c22e[_0x1c30d9(0xf3)]=0x2713]=_0x1c30d9(0xf3),_0x48c22e[_0x48c22e[_0x1c30d9(0x333)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x48c22e[_0x48c22e[_0x1c30d9(0xbf)]=0x271a]=_0x1c30d9(0xbf),_0x48c22e[_0x48c22e[_0x1c30d9(0x207)]=0x271b]=_0x1c30d9(0x207),_0x48c22e[_0x48c22e['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x1c30d9(0x153),_0x48c22e[_0x48c22e[_0x1c30d9(0x19d)]=0x271d]=_0x1c30d9(0x19d),_0x48c22e[_0x48c22e['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x1c30d9(0x2e8),_0x48c22e[_0x48c22e['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x48c22e[_0x48c22e[_0x1c30d9(0x152)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x48c22e[_0x48c22e['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1c30d9(0x86),_0x48c22e[_0x48c22e[_0x1c30d9(0x87)]=0x2ee1]=_0x1c30d9(0x87),_0x48c22e[_0x48c22e['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x48c22e[_0x48c22e[_0x1c30d9(0x1f3)]=0x2ee3]=_0x1c30d9(0x1f3),_0x48c22e[_0x48c22e['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1c30d9(0x293),_0x48c22e[_0x48c22e[_0x1c30d9(0x342)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x48c22e[_0x48c22e[_0x1c30d9(0xdf)]=0x32c9]=_0x1c30d9(0xdf),_0x48c22e[_0x48c22e[_0x1c30d9(0xcd)]=0x32ca]=_0x1c30d9(0xcd),_0x48c22e[_0x48c22e[_0x1c30d9(0x242)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x48c22e[_0x48c22e['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x48c22e[_0x48c22e['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x48c22e[_0x48c22e['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x48c22e[_0x48c22e[_0x1c30d9(0x7a)]=0x36b4]=_0x1c30d9(0x7a),_0x48c22e[_0x48c22e[_0x1c30d9(0x311)]=0x36b5]=_0x1c30d9(0x311),_0x48c22e[_0x48c22e[_0x1c30d9(0x30c)]=0x36b6]=_0x1c30d9(0x30c),_0x48c22e[_0x48c22e[_0x1c30d9(0x290)]=0x36b7]=_0x1c30d9(0x290),_0x48c22e[_0x48c22e[_0x1c30d9(0x2d6)]=0x36b8]=_0x1c30d9(0x2d6),_0x48c22e[_0x48c22e['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x1c30d9(0x1f9),_0x48c22e[_0x48c22e[_0x1c30d9(0x272)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x48c22e[_0x48c22e[_0x1c30d9(0xee)]=0x3717]=_0x1c30d9(0xee),_0x48c22e[_0x48c22e[_0x1c30d9(0xfa)]=0x37dd]=_0x1c30d9(0xfa),_0x48c22e[_0x48c22e[_0x1c30d9(0x132)]=0x3a99]=_0x1c30d9(0x132),_0x48c22e[_0x48c22e[_0x1c30d9(0x273)]=0x3a9a]=_0x1c30d9(0x273),_0x48c22e[_0x48c22e['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x1c30d9(0xd0),_0x48c22e[_0x48c22e['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x1c30d9(0x90),_0x48c22e[_0x48c22e[_0x1c30d9(0x1f6)]=0x3a9d]=_0x1c30d9(0x1f6),_0x48c22e[_0x48c22e['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x1c30d9(0x2a6),_0x48c22e[_0x48c22e[_0x1c30d9(0x91)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x48c22e[_0x48c22e['DATA_SOURCE_TOO_LARGE']=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x48c22e[_0x48c22e[_0x1c30d9(0x20b)]=-0x1]=_0x1c30d9(0x20b),_0x48c22e))(_0x21f032||{});function _0x296e47(_0x173ddb){const _0x57a9ff=_0x1c30d9;var _0x6a8d1e,_0xbc4f55;const _0x165696=(_0x6a8d1e=_0x173ddb[_0x57a9ff(0x203)])==null?void 0x0:_0x6a8d1e['stage'],_0xd0aa7e=((_0xbc4f55=_0x173ddb[_0x57a9ff(0x203)])==null?void 0x0:_0xbc4f55[_0x57a9ff(0x1d0)])||0x0;return _0x165696===_0x119829[_0x57a9ff(0x1ad)][_0x57a9ff(0x1af)]&&_0xd0aa7e>0x0;}function _0x1183a5(_0x445010){const _0x4f7aec=_0x1c30d9;return _0x445010['functionsExecutedState']===_0x119829[_0x4f7aec(0x129)][_0x4f7aec(0x206)];}var _0xc5755f=Object[_0x1c30d9(0x176)],_0x5e922c=(_0x233636,_0x3ec9a1,_0x398dcc,_0x573bda)=>{const _0x416acf=_0x1c30d9;for(var _0x3d2e51=_0x573bda>0x1?void 0x0:_0x573bda?_0xc5755f(_0x3ec9a1,_0x398dcc):_0x3ec9a1,_0x3aa239=_0x233636[_0x416acf(0x263)]-0x1,_0xa06ab9;_0x3aa239>=0x0;_0x3aa239--)(_0xa06ab9=_0x233636[_0x3aa239])&&(_0x3d2e51=_0xa06ab9(_0x3d2e51)||_0x3d2e51);return _0x3d2e51;},_0x1aecf9=(_0x5e3879,_0x127cdc)=>(_0x3f0251,_0x5c16be)=>_0x127cdc(_0x3f0251,_0x5c16be,_0x5e3879);const _0x28ffa4=_0x1c30d9(0xa4),_0x33b5c6=_0x1c30d9(0x1a1),_0x25ccf2='/universer-api/license/formula/limit/done';let _0x3186d7=class extends _0x1dfb30[_0x1c30d9(0x71)]{constructor(_0x5c0be8,_0x984ce6,_0x3a5f68,_0x62e763,_0x51ffb6,_0x512d99,_0x49615d){const _0x1be246=_0x1c30d9;super(),_0xbf1006(this,'_pollingInterval',null),_0xbf1006(this,_0x1be246(0xce),0x0),_0xbf1006(this,_0x1be246(0x179),0x0),_0xbf1006(this,_0x1be246(0x17f),[]),_0xbf1006(this,_0x1be246(0x32c),0x0),(this[_0x1be246(0x258)]=_0x5c0be8,this['_commandService']=_0x984ce6,this['_configService']=_0x3a5f68,this[_0x1be246(0x159)]=_0x62e763,this[_0x1be246(0x1b6)]=_0x51ffb6,this[_0x1be246(0x1dd)]=_0x512d99,this[_0x1be246(0x147)]=_0x49615d,this['_initCommandInterceptor']());}[_0x1c30d9(0x2c0)](){const _0x529494=_0x1c30d9;this[_0x529494(0x297)](this[_0x529494(0x1d8)][_0x529494(0x97)]((_0xfc4481,_0x534815)=>{const _0xeb7989=_0x529494;var _0x30cf67;if(_0xfc4481['id']!==_0x119829[_0xeb7989(0x2d8)]['id'])return;const _0x1fda54=_0xfc4481[_0xeb7989(0x2c6)];if(!this[_0xeb7989(0x218)]((_0x30cf67=_0x1fda54['dirtyRanges'])!=null?_0x30cf67:[]))return;if(!this[_0xeb7989(0x18f)]())throw this[_0xeb7989(0xf6)](_0xfc4481,_0x534815),this[_0xeb7989(0xd4)](),new _0x1dfb30[(_0xeb7989(0x229))]();})),this['disposeWithMe'](this['_commandService'][_0x529494(0x1e1)]((_0x5189e9,_0x393fdd)=>{const _0x2d894e=_0x529494;if(_0x5189e9['id']!==_0x119829['SetFormulaCalculationNotificationMutation']['id'])return;const _0xc2021d=_0x5189e9[_0x2d894e(0x2c6)];if(_0x296e47(_0xc2021d)){const _0x571c03=_0x1dfb30[_0x2d894e(0x157)]();this[_0x2d894e(0x17f)][_0x2d894e(0x72)](_0x571c03),this['_startCalculationLimit'](_0x571c03);}else{if(_0x1183a5(_0xc2021d)&&this['_taskIds']['length']>0x0){const _0x54d397=this['_taskIds'][_0x2d894e(0x144)]();this[_0x2d894e(0x303)](_0x54d397);}}}));}[_0x1c30d9(0x289)](){const _0x58eefb=_0x1c30d9;super[_0x58eefb(0x289)](),this[_0x58eefb(0x1d6)](),this['_taskIds']=[],this[_0x58eefb(0x179)]=0x0,this[_0x58eefb(0xce)]=0x0,this[_0x58eefb(0x32c)]=0x0;}async[_0x1c30d9(0xf6)](_0x34c106,_0x21fad1){const _0x4beab3=_0x1c30d9;for(let _0x52e3de=0x0;_0x52e3de<0x1e;_0x52e3de++)try{if(await this[_0x4beab3(0x27e)](),this[_0x4beab3(0x18f)]()){this['_applyCommand'](_0x34c106,_0x21fad1),this['_messageService'][_0x4beab3(0x2ec)]({'content':this[_0x4beab3(0x147)]['t'](_0x4beab3(0x1c4)),'type':_0x1d1957[_0x4beab3(0xca)][_0x4beab3(0x20e)]});return;}await new Promise(_0x27fad0=>{const _0xf9dc55=_0x4beab3;this[_0xf9dc55(0xbb)]=window['setTimeout'](_0x27fad0,0x3e8);});}catch(_0x324c82){this['_logService'][_0x4beab3(0x186)](_0x324c82);}this[_0x4beab3(0x258)][_0x4beab3(0x2ec)]({'content':this['_localeService']['t'](_0x4beab3(0x294)),'type':_0x1d1957[_0x4beab3(0xca)]['Error']});}[_0x1c30d9(0x9b)](_0x2aa42e,_0x4d8224){const _0x3de664=_0x1c30d9;try{this[_0x3de664(0x1d8)]['executeCommand'](_0x2aa42e['id'],_0x2aa42e[_0x3de664(0x2c6)],_0x4d8224);}catch(_0x1609ee){this[_0x3de664(0x1dd)][_0x3de664(0x186)](_0x1609ee);}}[_0x1c30d9(0xb2)](_0x34797d,_0x2bae06){const _0x1a4d69=_0x1c30d9;_0x2bae06<this[_0x1a4d69(0x32c)]||(this['_lastResponseTimestamp']=_0x2bae06,this['_maxFormulaLimit']=Number[_0x1a4d69(0xc7)](_0x34797d[_0x1a4d69(0x149)]),this[_0x1a4d69(0x179)]=Number[_0x1a4d69(0xc7)](_0x34797d['currentUsage']));}async['_startCalculationLimit'](_0x5c82df){const _0x15d9f1=_0x1c30d9;var _0x44b743,_0x1fc3cf;const _0x7d0f81=Date['now']();try{const _0x1c69fd=((_0x44b743=this[_0x15d9f1(0x32b)][_0x15d9f1(0x25d)](_0x3899ea[_0x15d9f1(0x1ab)]))==null?void 0x0:_0x44b743[_0x15d9f1(0x312)])||_0x33b5c6,_0x1c88cf=(await this[_0x15d9f1(0x159)][_0x15d9f1(0x33a)](_0x1c69fd,{'body':JSON[_0x15d9f1(0x16d)]({'taskId':_0x5c82df})}))[_0x15d9f1(0x16f)];if(((_0x1fc3cf=_0x1c88cf[_0x15d9f1(0x186)])==null?void 0x0:_0x1fc3cf[_0x15d9f1(0x244)])!==_0x21f032['OK'])return;this['_setFormulaLimitStatus'](_0x1c88cf[_0x15d9f1(0x18a)],_0x7d0f81);}catch(_0x342c90){this['_logService'][_0x15d9f1(0x186)](_0x342c90);}}async[_0x1c30d9(0x27e)](_0x1ae35b){const _0x1fca97=_0x1c30d9;var _0x4af722,_0x4568e2;const _0x39e8b3=Date[_0x1fca97(0x310)]();try{const _0x301e05=((_0x4af722=this['_configService'][_0x1fca97(0x25d)](_0x3899ea[_0x1fca97(0x1ab)]))==null?void 0x0:_0x4af722['getformulaLimitStatusUrl'])||_0x28ffa4,_0x2a32ad=_0x1ae35b?_0x301e05+_0x1fca97(0x281)+encodeURIComponent(_0x1ae35b):_0x301e05,_0x15a7f3=(await this[_0x1fca97(0x159)][_0x1fca97(0x123)](_0x2a32ad))[_0x1fca97(0x16f)];if(((_0x4568e2=_0x15a7f3[_0x1fca97(0x186)])==null?void 0x0:_0x4568e2[_0x1fca97(0x244)])!==_0x21f032['OK'])return;this['_setFormulaLimitStatus'](_0x15a7f3[_0x1fca97(0x18a)],_0x39e8b3);}catch(_0x10f665){this[_0x1fca97(0x1dd)][_0x1fca97(0x186)](_0x10f665);}}async[_0x1c30d9(0x303)](_0x234934){const _0x268625=_0x1c30d9;var _0x31fd55,_0x5b0424;const _0x3c407e=Date[_0x268625(0x310)]();try{const _0x188887=((_0x31fd55=this[_0x268625(0x32b)]['getConfig'](_0x3899ea[_0x268625(0x1ab)]))==null?void 0x0:_0x31fd55[_0x268625(0x257)])||_0x25ccf2,_0x4c0788=(await this['_httpService'][_0x268625(0x33a)](_0x188887,{'body':JSON['stringify']({'taskId':_0x234934})}))['body'];if(((_0x5b0424=_0x4c0788[_0x268625(0x186)])==null?void 0x0:_0x5b0424['code'])!==_0x21f032['OK'])return;this[_0x268625(0xb2)](_0x4c0788[_0x268625(0x18a)],_0x3c407e);}catch(_0x59338b){this[_0x268625(0x1dd)]['error'](_0x59338b);}}[_0x1c30d9(0x18f)](){const _0x20af1d=_0x1c30d9;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x20af1d(0xce)]-this[_0x20af1d(0x179)]>0x0;}[_0x1c30d9(0x1d6)](){const _0x5b7ba4=_0x1c30d9;this[_0x5b7ba4(0xbb)]&&(clearTimeout(this[_0x5b7ba4(0xbb)]),this[_0x5b7ba4(0xbb)]=null);}['_showGuardMessage'](){const _0x567e5f=_0x1c30d9;this[_0x567e5f(0x258)]['show']({'content':this[_0x567e5f(0x147)]['t'](_0x567e5f(0x1db)),'type':_0x1d1957['MessageType'][_0x567e5f(0x19b)]});}[_0x1c30d9(0x218)](_0x255b2e){const _0x3614d4=_0x1c30d9;for(const _0x361bc2 of _0x255b2e){const {unitId:_0x57ea7b,sheetId:_0xf15b4c,range:_0x455c18}=_0x361bc2,_0x3e2574=this[_0x3614d4(0x1b6)][_0x3614d4(0x1ef)](_0x57ea7b);if(!_0x3e2574)continue;const _0x475210=_0x3e2574[_0x3614d4(0x187)](_0xf15b4c);if(!_0x475210)continue;const _0x1cf8bd=_0x475210[_0x3614d4(0x8f)]();for(let _0x50719b=_0x455c18[_0x3614d4(0x338)];_0x50719b<=_0x455c18['endRow'];_0x50719b++)for(let _0x2b75fa=_0x455c18[_0x3614d4(0xe9)];_0x2b75fa<=_0x455c18[_0x3614d4(0x199)];_0x2b75fa++){const _0x20d9e8=_0x1cf8bd[_0x3614d4(0x2e3)](_0x50719b,_0x2b75fa);if(_0x20d9e8&&(_0x1dfb30[_0x3614d4(0x24a)](_0x20d9e8['f'])||_0x1dfb30[_0x3614d4(0x8c)](_0x20d9e8['si'])))return!0x0;}}return!0x1;}};_0x3186d7=_0x5e922c([_0x1aecf9(0x0,_0x1dfb30['Inject'](_0x5581af[_0x1c30d9(0x2b7)])),_0x1aecf9(0x1,_0x1dfb30[_0x1c30d9(0x269)]),_0x1aecf9(0x2,_0x1dfb30[_0x1c30d9(0x202)]),_0x1aecf9(0x3,_0x1dfb30[_0x1c30d9(0xe7)](_0x221af8[_0x1c30d9(0x2de)])),_0x1aecf9(0x4,_0x1dfb30[_0x1c30d9(0x2cc)]),_0x1aecf9(0x5,_0x1dfb30['ILogService']),_0x1aecf9(0x6,_0x1dfb30['Inject'](_0x1dfb30[_0x1c30d9(0x2f0)]))],_0x3186d7);var _0x22a598=Object[_0x1c30d9(0x176)],_0xc823=(_0x3c1d59,_0x1dd3a5,_0x9e4de7,_0x57e7c4)=>{for(var _0x21e122=_0x57e7c4>0x1?void 0x0:_0x57e7c4?_0x22a598(_0x1dd3a5,_0x9e4de7):_0x1dd3a5,_0x3f61f4=_0x3c1d59['length']-0x1,_0x5c44fd;_0x3f61f4>=0x0;_0x3f61f4--)(_0x5c44fd=_0x3c1d59[_0x3f61f4])&&(_0x21e122=_0x5c44fd(_0x21e122)||_0x21e122);return _0x21e122;},_0x82fff9=(_0x3a96c1,_0x334697)=>(_0x424ca5,_0x5ccf30)=>_0x334697(_0x424ca5,_0x5ccf30,_0x3a96c1);let _0x110e96=class extends _0x1dfb30[_0x1c30d9(0x71)]{constructor(_0x4e1d0f,_0x869056,_0x5612cc){const _0xd2ecdc=_0x1c30d9;super(),_0xbf1006(this,'_cachedData',new Map()),_0xbf1006(this,'_saveTaskMap',new Map()),_0xbf1006(this,_0xd2ecdc(0x14e),!0x1),(this[_0xd2ecdc(0x32b)]=_0x4e1d0f,this['_localStorageService']=_0x869056,this['_revisionService']=_0x5612cc);}[_0x1c30d9(0x2d1)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x1b548c=_0x1c30d9;this[_0x1b548c(0x14e)]=!0x1;}get[_0x1c30d9(0xe8)](){const _0x3ebf67=_0x1c30d9;return this[_0x3ebf67(0x329)];}['dispose'](){const _0x83f7ed=_0x1c30d9;this['exhaustSavingTask']()['then'](()=>super[_0x83f7ed(0x289)]());}async[_0x1c30d9(0x1d1)](_0x46439a){const _0x2d8964=_0x1c30d9;return this[_0x2d8964(0x14e)]?null:this['_localStorageService']['getItem'](_0x3899ea[_0x2d8964(0x1ce)](_0x46439a));}async[_0x1c30d9(0x17c)](_0x569e30,_0x570c9d){const _0x33ad89=_0x1c30d9;return!!this[_0x33ad89(0x283)][_0x33ad89(0x21c)](_0x569e30,_0x570c9d);}['updateOfflineData'](_0x47eb8b,_0x2908bb,_0x11c0d8,_0x50a4ac){const _0x2152f2=_0x1c30d9,_0x283fa2=this[_0x2152f2(0x208)][_0x2152f2(0xa3)](_0x47eb8b);this[_0x2152f2(0x124)][_0x2152f2(0x151)](_0x47eb8b,{'unitID':_0x47eb8b,'type':_0x2908bb,'awaitingChangeset':_0x11c0d8,'mutations':_0x50a4ac,'rev':_0x283fa2}),this[_0x2152f2(0x329)][_0x2152f2(0x115)](_0x47eb8b)||this[_0x2152f2(0x1e4)](_0x47eb8b);}['_scheduleSaving'](_0xae36dd){const _0x3a6251=_0x1c30d9,_0x2d1695=this[_0x3a6251(0x27c)]();_0x2d1695===0x0?this[_0x3a6251(0x106)](_0xae36dd):this[_0x3a6251(0x329)]['set'](_0xae36dd,setTimeout(()=>this[_0x3a6251(0x106)](_0xae36dd),_0x2d1695));}['_getSaveTimeout'](){const _0x33e0da=_0x1c30d9;var _0x19e5d9;return(_0x19e5d9=this[_0x33e0da(0x32b)][_0x33e0da(0x25d)](_0x3899ea[_0x33e0da(0x125)]))!=null?_0x19e5d9:_0x3899ea['LOCAL_CACHE_INTERVAL'];}[_0x1c30d9(0x106)](_0x3f4856){const _0x5e5139=_0x1c30d9,_0x58ef62=this['_saveTaskMap'][_0x5e5139(0x123)](_0x3f4856);return _0x58ef62!==void 0x0&&window[_0x5e5139(0x26f)](_0x58ef62),this[_0x5e5139(0x283)][_0x5e5139(0x21c)](_0x3899ea[_0x5e5139(0x1ce)](_0x3f4856),this['_cachedData'][_0x5e5139(0x123)](_0x3f4856))[_0x5e5139(0x1ac)](()=>this[_0x5e5139(0x329)]['delete'](_0x3f4856));}async[_0x1c30d9(0x2a4)](){const _0x4059c5=_0x1c30d9,_0x52f578=[];this['_saveTaskMap']['forEach']((_0x4d0ea3,_0x3b9b56)=>{const _0x186dcb=_0x33b0;window[_0x186dcb(0x26f)](_0x4d0ea3),_0x52f578['push'](this[_0x186dcb(0x106)](_0x3b9b56)[_0x186dcb(0x1ac)](()=>{const _0x179861=_0x186dcb;this[_0x179861(0x329)][_0x179861(0x139)](_0x3b9b56);}));}),await Promise[_0x4059c5(0x1e2)](_0x52f578);}};_0x110e96=_0xc823([_0x82fff9(0x0,_0x1dfb30['IConfigService']),_0x82fff9(0x1,_0x1dfb30[_0x1c30d9(0x337)]),_0x82fff9(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x1448e7[_0x1c30d9(0x24e)]))],_0x110e96);class _0x197d00 extends _0x1dfb30['RxDisposable']{constructor(){const _0x42db01=_0x1c30d9;super(),_0xbf1006(this,'urlChange$'),this[_0x42db01(0xb1)]=_0x12ea67['fromEvent'](window,'popstate')['pipe'](_0x12ea67[_0x42db01(0x201)](this['dispose$']),_0x12ea67['shareReplay'](0x1),_0x12ea67['mapTo'](void 0x0));}[_0x1c30d9(0x104)](_0x3b8526,_0x4a04dd,_0x79a65b=!0x1){const _0x59fbe9=_0x1c30d9,_0x42e16b=new URL(window[_0x59fbe9(0x2ac)][_0x59fbe9(0xfe)]);_0x42e16b[_0x59fbe9(0x341)][_0x59fbe9(0x151)](_0x3b8526,_0x4a04dd),_0x79a65b?window['history'][_0x59fbe9(0x172)]('','',_0x42e16b[_0x59fbe9(0x331)]()):window['history'][_0x59fbe9(0x2df)]('','',_0x42e16b[_0x59fbe9(0x331)]());}[_0x1c30d9(0x19c)](_0x33ba51,_0x50c3b5=!0x1){const _0x1c6467=_0x1c30d9,_0x12f669=new URL(window[_0x1c6467(0x2ac)][_0x1c6467(0xfe)]);_0x12f669['searchParams'][_0x1c6467(0x139)](_0x33ba51),_0x50c3b5?window['history'][_0x1c6467(0x172)]('','',_0x12f669[_0x1c6467(0x331)]()):window[_0x1c6467(0x12e)][_0x1c6467(0x2df)]('','',_0x12f669[_0x1c6467(0x331)]());}[_0x1c30d9(0xfb)](_0xf4562e){const _0x3b79c2=_0x1c30d9;var _0x2f6e27;return(_0x2f6e27=new URL(window[_0x3b79c2(0x2ac)][_0x3b79c2(0xfe)])[_0x3b79c2(0x341)][_0x3b79c2(0x123)](_0xf4562e))!=null?_0x2f6e27:void 0x0;}}var _0x1b5a71=Object[_0x1c30d9(0x30d)],_0x25f9e5=Object['getOwnPropertyDescriptor'],_0x573f84=(_0xaaab40,_0x3da921,_0x536187)=>_0x3da921 in _0xaaab40?_0x1b5a71(_0xaaab40,_0x3da921,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x536187}):_0xaaab40[_0x3da921]=_0x536187,_0xc62929=(_0x3c528b,_0x1bd68a,_0x3e7ec8,_0x2558e3)=>{const _0x23f9c8=_0x1c30d9;for(var _0x385a48=_0x2558e3>0x1?void 0x0:_0x2558e3?_0x25f9e5(_0x1bd68a,_0x3e7ec8):_0x1bd68a,_0x16786e=_0x3c528b[_0x23f9c8(0x263)]-0x1,_0x1f66e4;_0x16786e>=0x0;_0x16786e--)(_0x1f66e4=_0x3c528b[_0x16786e])&&(_0x385a48=_0x1f66e4(_0x385a48)||_0x385a48);return _0x385a48;},_0x173be2=(_0x3c9e1d,_0x15bddc)=>(_0x2e608b,_0x41bdf4)=>_0x15bddc(_0x2e608b,_0x41bdf4,_0x3c9e1d),_0x2fd532=(_0x20c353,_0x133526,_0x1c5c90)=>_0x573f84(_0x20c353,_0x133526+'',_0x1c5c90);const _0x3b3b8c=_0x1c30d9(0x189);_0x21651b['UniverCollaborationClientUIPlugin']=class extends _0x1dfb30[_0x1c30d9(0x34a)]{constructor(_0x488b15=_0x5a98db,_0x3bc7a6,_0x56a6b6,_0x3412bb){const _0x191e55=_0x1c30d9;super(),this[_0x191e55(0x10b)]=_0x488b15,this[_0x191e55(0x25c)]=_0x3bc7a6,this[_0x191e55(0x1b3)]=_0x56a6b6,this[_0x191e55(0x32b)]=_0x3412bb;const {..._0x3541a5}=_0x1dfb30[_0x191e55(0x307)]({},_0x5a98db,this['_config']);this['_configService'][_0x191e55(0x1b7)](_0x3bfb6b,_0x3541a5);}['onStarting'](){const _0x4ff517=_0x1c30d9;this[_0x4ff517(0x1ae)](),this[_0x4ff517(0xb4)]();}[_0x1c30d9(0x317)](){const _0x3a0a75=_0x1c30d9;this[_0x3a0a75(0x2d0)]();}[_0x1c30d9(0x1ae)](){const _0x583f73=_0x1c30d9;var _0x473682;const _0x363ec8=[[_0x37c3e7],[_0x3186d7],[_0x545a97],[_0x404555],[_0x105355],[_0x3b41c7],[_0x50751f,{'useClass':_0x197d00}],[_0x221af8[_0x583f73(0x2eb)],{'useClass':_0x221af8[_0x583f73(0x9c)]}],[_0x3899ea[_0x583f73(0x84)],{'useClass':_0x110e96}],[_0x21651b[_0x583f73(0xf9)]],[_0x23b742],[_0x36e370],[_0x156b27],[_0x5cf9d2],[_0x21651b[_0x583f73(0x1c9)]]];this[_0x583f73(0x10b)]['enableFrontendLog']&&_0x363ec8[_0x583f73(0x72)]([_0x27794d]),_0x1dfb30[_0x583f73(0x33f)](this[_0x583f73(0x1b3)],_0x1dfb30[_0x583f73(0x2fa)](_0x363ec8,(_0x473682=this['_config'])==null?void 0x0:_0x473682[_0x583f73(0x349)]));}['_registerRenderDependencies'](){const _0x1a21f1=_0x1c30d9;this[_0x1a21f1(0x297)](this[_0x1a21f1(0x25c)][_0x1a21f1(0x181)](_0x1dfb30[_0x1a21f1(0x2b6)][_0x1a21f1(0x32e)],[_0x55ea51])),this['disposeWithMe'](this['_renderManagerService'][_0x1a21f1(0x181)](_0x1dfb30[_0x1a21f1(0x2b6)][_0x1a21f1(0x254)],[_0x5e75af]));}[_0x1c30d9(0xb4)](){const _0x2b74d4=_0x1c30d9;_0x1dfb30[_0x2b74d4(0x162)](this[_0x2b74d4(0x1b3)],[[_0x156b27],[_0x21651b[_0x2b74d4(0xf9)]],[_0x23b742],[_0x36e370],[_0x21651b[_0x2b74d4(0x1c9)]],[_0x3186d7]]),this[_0x2b74d4(0x10b)][_0x2b74d4(0x253)]&&_0x1dfb30['touchDependencies'](this[_0x2b74d4(0x1b3)],[[_0x27794d]]);}},_0x2fd532(_0x21651b[_0x1c30d9(0x82)],_0x1c30d9(0x2c9),_0x3b3b8c),_0x21651b[_0x1c30d9(0x82)]=_0xc62929([_0x1dfb30[_0x1c30d9(0x1a6)](_0x3899ea[_0x1c30d9(0x1a9)]),_0x173be2(0x1,_0x5cce25[_0x1c30d9(0x103)]),_0x173be2(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30[_0x1c30d9(0x13a)])),_0x173be2(0x3,_0x1dfb30[_0x1c30d9(0x202)])],_0x21651b[_0x1c30d9(0x82)]);var _0x512f13=Object[_0x1c30d9(0x176)],_0x2319e9=(_0xdb5c65,_0x9b8950,_0x2f8685,_0x199ae9)=>{const _0x1824ae=_0x1c30d9;for(var _0xc07f04=_0x199ae9>0x1?void 0x0:_0x199ae9?_0x512f13(_0x9b8950,_0x2f8685):_0x9b8950,_0x205ec0=_0xdb5c65[_0x1824ae(0x263)]-0x1,_0x4f82a1;_0x205ec0>=0x0;_0x205ec0--)(_0x4f82a1=_0xdb5c65[_0x205ec0])&&(_0xc07f04=_0x4f82a1(_0xc07f04)||_0xc07f04);return _0xc07f04;},_0x407e83=(_0xe817ce,_0x145e49)=>(_0x3ff6a7,_0x8efaa5)=>_0x145e49(_0x3ff6a7,_0x8efaa5,_0xe817ce);_0x21651b[_0x1c30d9(0x17b)]=class extends _0x3899ea[_0x1c30d9(0xe6)]{constructor(_0x106a38,_0x1c1101,_0x44ee25,_0x22a2b9,_0x4c7f24){super(_0x106a38,_0x1c1101,_0x44ee25,_0x22a2b9,_0x4c7f24);}async[_0x1c30d9(0x238)](_0x38d7bd){const _0x2ac3f9=_0x1c30d9,_0x2afaee=await this['_getSessionTicket'](),_0x3068ff=this[_0x2ac3f9(0x2f9)](_0x38d7bd,_0x2afaee);return this['_doCreateSocket'](_0x3068ff);}[_0x1c30d9(0x2f9)](_0x258325,_0x12b4f9){const _0x3f67d7=_0x1c30d9,_0x2f38a0=typeof window>'u'?new URL(_0x258325):new URL(_0x258325,window[_0x3f67d7(0x2ac)][_0x3f67d7(0x246)]);_0x2f38a0[_0x3f67d7(0x341)]['set'](_0x3f67d7(0x191),_0x12b4f9);const _0x38775e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3f67d7(0x2ac)]['search']);return _0x38775e[_0x3f67d7(0x123)](_0x3f67d7(0x1a3))&&_0x2f38a0[_0x3f67d7(0x341)][_0x3f67d7(0x151)](_0x3f67d7(0x1a3),_0x38775e[_0x3f67d7(0x123)](_0x3f67d7(0x1a3))),_0x2f38a0['toString']();}async[_0x1c30d9(0x9f)](){const _0xdcbbf8=_0x1c30d9;var _0x492124,_0x49556a,_0x8ea6c0;const _0xce810e=this[_0xdcbbf8(0x32b)]['getConfig'](_0x3899ea[_0xdcbbf8(0x1ab)]),_0x519cae=(_0x492124=_0xce810e==null?void 0x0:_0xce810e[_0xdcbbf8(0x1cd)])!=null?_0x492124:_0x3899ea[_0xdcbbf8(0xcc)];return(_0x8ea6c0=(_0x49556a=(await this[_0xdcbbf8(0x159)]['get'](_0x519cae,{'headers':{'Content-Type':_0xdcbbf8(0x1a5)}}))['body'])==null?void 0x0:_0x49556a[_0xdcbbf8(0x2c3)])!=null?_0x8ea6c0:'';}},_0x21651b[_0x1c30d9(0x17b)]=_0x2319e9([_0x407e83(0x0,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30[_0x1c30d9(0x13a)])),_0x407e83(0x1,_0x1dfb30['Inject'](_0x221af8[_0x1c30d9(0x2de)])),_0x407e83(0x2,_0x1dfb30[_0x1c30d9(0x202)]),_0x407e83(0x3,_0x1dfb30['ILogService']),_0x407e83(0x4,_0x1448e7['ISnapshotServerService'])],_0x21651b[_0x1c30d9(0x17b)]);var _0xe95722=Object[_0x1c30d9(0x176)],_0x1401a0=(_0x5377f9,_0x1739ea,_0x53442c,_0x55fe2d)=>{const _0xdcd2c6=_0x1c30d9;for(var _0x1733bd=_0x55fe2d>0x1?void 0x0:_0x55fe2d?_0xe95722(_0x1739ea,_0x53442c):_0x1739ea,_0x20b033=_0x5377f9[_0xdcd2c6(0x263)]-0x1,_0x364a7f;_0x20b033>=0x0;_0x20b033--)(_0x364a7f=_0x5377f9[_0x20b033])&&(_0x1733bd=_0x364a7f(_0x1733bd)||_0x1733bd);return _0x1733bd;},_0x468c6d=(_0x2d2219,_0x7909d8)=>(_0x2141ad,_0x344254)=>_0x7909d8(_0x2141ad,_0x344254,_0x2d2219);_0x21651b['RemoteUniscriptService']=class extends _0x1dfb30['Disposable']{constructor(_0x49f00a,_0x58753c,_0x555931){const _0x3ba2a7=_0x1c30d9;super(),this[_0x3ba2a7(0x10c)]=_0x49f00a,this[_0x3ba2a7(0x159)]=_0x58753c,this['_configService']=_0x555931;}async[_0x1c30d9(0xea)](_0x29402b,_0x129552,_0x4e7a6a,..._0x2f6e42){const _0x9d6605=_0x1c30d9;var _0x298ce9,_0x17b6d4,_0x17339c,_0x44d186;const _0x553f48=this['_instanceService'][_0x9d6605(0x1f1)]();if(!_0x553f48)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x4fec15=((_0x298ce9=this[_0x9d6605(0x32b)][_0x9d6605(0x25d)](_0x3899ea['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x298ce9:_0x3899ea[_0x9d6605(0x334)])+'/'+_0x29402b+_0x9d6605(0x13e)+_0x129552,_0x8fc495=new URL(window['location']['href']),_0x3d9d8e={'scriptId':_0x29402b,'runId':(_0x17b6d4=_0x8fc495[_0x9d6605(0x341)][_0x9d6605(0x123)](_0x9d6605(0x1a3)))!=null?_0x17b6d4:'','function':_0x129552,'unitId':_0x553f48['getUnitId'](),'argsOfFunction':JSON[_0x9d6605(0x16d)](_0x2f6e42),'invokeId':(_0x17339c=_0x4e7a6a[_0x9d6605(0x193)])!=null?_0x17339c:'','executionId':(_0x44d186=_0x4e7a6a['executionId'])!=null?_0x44d186:''};try{const _0x4eda9e=await this[_0x9d6605(0x159)][_0x9d6605(0x33a)](_0x4fec15,{'body':_0x3d9d8e});return _0x4eda9e[_0x9d6605(0x16f)][_0x9d6605(0x186)]&&_0x4eda9e[_0x9d6605(0x16f)][_0x9d6605(0x186)][_0x9d6605(0x244)]!==_0x21f032['OK']?'Failed':_0x4eda9e[_0x9d6605(0x16f)]['result'];}catch{return _0x9d6605(0x114);}}},_0x21651b[_0x1c30d9(0x1ea)]=_0x1401a0([_0x468c6d(0x0,_0x1dfb30[_0x1c30d9(0x2cc)]),_0x468c6d(0x1,_0x1dfb30['Inject'](_0x221af8[_0x1c30d9(0x2de)])),_0x468c6d(0x2,_0x1dfb30[_0x1c30d9(0x202)])],_0x21651b[_0x1c30d9(0x1ea)]);const _0x1e34b6=0x7530,_0x3d64ed='ACTIVE_UNIT_EVENT_CHANNEL';class _0x127319 extends _0x1dfb30[_0x1c30d9(0x71)]{constructor(){const _0xe448f3=_0x1c30d9;super(),_0xbf1006(this,_0xe448f3(0x102),_0x1dfb30['generateRandomId']()),_0xbf1006(this,_0xe448f3(0xeb),new Set()),_0xbf1006(this,_0xe448f3(0xa5),new Map()),_0xbf1006(this,_0xe448f3(0x2c7),null),_0xbf1006(this,_0xe448f3(0x30b),new Map()),_0xbf1006(this,_0xe448f3(0x1e5),new Map()),this[_0xe448f3(0x31a)]();}[_0x1c30d9(0x289)](){const _0x5d9fba=_0x1c30d9;super['dispose'](),this['_clearOtherTimers']['forEach']((_0x3020ab,_0x3550f0)=>this[_0x5d9fba(0x343)](_0x3550f0)),this[_0x5d9fba(0x2c7)]&&window[_0x5d9fba(0x1f0)](this[_0x5d9fba(0x2c7)]);}[_0x1c30d9(0x11e)](_0x256134){const _0x2d4b24=_0x1c30d9;return this[_0x2d4b24(0x23b)](_0x256134)['pipe'](_0x12ea67['distinctUntilChanged']());}[_0x1c30d9(0x26a)](_0x190e20){const _0x247e97=_0x1c30d9;this[_0x247e97(0xeb)][_0x247e97(0x30f)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x247e97(0x1e3)](_0x190e20),this[_0x247e97(0x1f2)]({'type':0x0,'memberID':this[_0x247e97(0x102)],'unitIDs':[_0x190e20],'isForwarded':!0x1});}[_0x1c30d9(0x241)](_0x4a6ee7){const _0x5eefdb=_0x1c30d9;this[_0x5eefdb(0xeb)]['delete'](_0x4a6ee7),this[_0x5eefdb(0xeb)]['size']===0x0&&this[_0x5eefdb(0x2c7)]&&window[_0x5eefdb(0x1f0)](this['_heartbeatTimer']);}[_0x1c30d9(0x31a)](){const _0x4ad7f6=_0x1c30d9;this[_0x4ad7f6(0x297)](_0x1dfb30[_0x4ad7f6(0x29c)](_0x12ea67[_0x4ad7f6(0x113)](window,'storage')['subscribe'](_0xda8c7e=>{const _0x1e62ee=_0x4ad7f6;if(_0xda8c7e[_0x1e62ee(0x1eb)]!==_0x3d64ed||!_0xda8c7e[_0x1e62ee(0x81)])return;const _0x51c9d7=JSON[_0x1e62ee(0x214)](_0xda8c7e['newValue']);this[_0x1e62ee(0x1b2)](_0x51c9d7);}))),window['addEventListener']('unload',()=>this[_0x4ad7f6(0x1f2)]({'type':0x1,'memberID':this[_0x4ad7f6(0x102)],'unitIDs':Array[_0x4ad7f6(0xed)](this[_0x4ad7f6(0xeb)])}));}[_0x1c30d9(0x1b2)](_0x10dead){const _0x1af036=_0x1c30d9;switch(_0x10dead[_0x1af036(0x2f8)]){case 0x0:this[_0x1af036(0x12b)](_0x10dead);break;case 0x1:this['_handleLeaveEvent'](_0x10dead);break;case 0x2:this['_handleHeartbeatEvent'](_0x10dead);break;}}[_0x1c30d9(0x12b)](_0x18dffa){const _0x58a413=_0x1c30d9,{unitIDs:_0x501614,memberID:_0x4c1774,isForwarded:_0x3b2806}=_0x18dffa;_0x501614[_0x58a413(0x249)](_0x1adbfa=>{const _0x597b1e=_0x58a413;if(!_0x3b2806&&this[_0x597b1e(0xa5)][_0x597b1e(0x115)](_0x1adbfa)&&this[_0x597b1e(0x23b)](_0x1adbfa)['next'](_0x3899ea[_0x597b1e(0x262)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x597b1e(0x115)](_0x1adbfa)||!this[_0x597b1e(0xa5)]['get'](_0x1adbfa)['has'](_0x4c1774)){const _0x42022d=this[_0x597b1e(0xa5)]['get'](_0x1adbfa)||new Set();_0x42022d[_0x597b1e(0x1e3)](_0x4c1774),this[_0x597b1e(0xa5)]['set'](_0x1adbfa,_0x42022d),this[_0x597b1e(0x6e)](_0x4c1774);}}),_0x3b2806||this[_0x58a413(0x1f2)]({'type':0x0,'memberID':this[_0x58a413(0x102)],'unitIDs':[...this[_0x58a413(0xeb)]],'isForwarded':!0x0});}[_0x1c30d9(0x6e)](_0x5d4ad3){const _0x528702=_0x1c30d9;this[_0x528702(0x343)](_0x5d4ad3);const _0x54d7ce=window[_0x528702(0x21d)](()=>{const _0x181f1b=_0x528702;this['_unitOnClients'][_0x181f1b(0x249)](_0xf03655=>{const _0x4d7aec=_0x181f1b;_0xf03655[_0x4d7aec(0x139)](_0x5d4ad3);});},_0x1e34b6*0x2);this[_0x528702(0x30b)]['set'](_0x5d4ad3,_0x54d7ce);}[_0x1c30d9(0x343)](_0x25a2a9){const _0xf2c486=_0x1c30d9;if(this[_0xf2c486(0x30b)][_0xf2c486(0x115)](_0x25a2a9)){const _0x111071=this[_0xf2c486(0x30b)][_0xf2c486(0x123)](_0x25a2a9);_0x111071&&window[_0xf2c486(0x26f)](_0x111071),this[_0xf2c486(0x30b)][_0xf2c486(0x151)](_0x25a2a9,null);}}[_0x1c30d9(0x29f)](_0x396682){const _0x2e8407=_0x1c30d9,{memberID:_0x8bd7cc,unitIDs:_0x3af48e}=_0x396682;_0x3af48e[_0x2e8407(0x249)](_0x506bff=>{const _0xeed590=_0x2e8407;var _0x5cfb44;const _0x2d5359=this['_unitOnClients'][_0xeed590(0x123)](_0x506bff);_0x2d5359&&(_0x2d5359['delete'](_0x8bd7cc),(_0x5cfb44=this[_0xeed590(0x23b)](_0x506bff))==null||_0x5cfb44[_0xeed590(0x27f)](_0x2d5359[_0xeed590(0x30f)]===0x0?_0x3899ea[_0xeed590(0x262)]['NO_OTHER_CLIENTS_EDITING']:_0x3899ea[_0xeed590(0x262)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x8bd7cc);}['_handleHeartbeatEvent'](_0x41b42c){const _0x31ba41=_0x1c30d9;this[_0x31ba41(0x6e)](_0x41b42c[_0x31ba41(0x239)]);}['_send'](_0x2dd757){const _0x30f866=_0x1c30d9;localStorage[_0x30f866(0x21c)](_0x3d64ed,JSON[_0x30f866(0x16d)](_0x2dd757));}[_0x1c30d9(0xc1)](){const _0x3f54f7=_0x1c30d9;this[_0x3f54f7(0x2c7)]=window[_0x3f54f7(0x2e2)](()=>{const _0x47cc13=_0x3f54f7;this[_0x47cc13(0x1f2)]({'type':0x2,'memberID':this['_id']});},_0x1e34b6);}['_ensureSubject'](_0x391178){const _0x15c542=_0x1c30d9;return this[_0x15c542(0x1e5)]['has'](_0x391178)||this[_0x15c542(0x1e5)]['set'](_0x391178,new _0x12ea67[(_0x15c542(0x211))](_0x3899ea['UnitStatus'][_0x15c542(0xff)])),this[_0x15c542(0x1e5)][_0x15c542(0x123)](_0x391178);}}_0x21651b[_0x1c30d9(0x143)]=_0x50751f,_0x21651b['SheetCollabCursorShape']=_0x3e7dc2,_0x21651b['WebBrowserSingleActiveUnitService']=_0x127319,_0x21651b[_0x1c30d9(0x2f4)]=_0x197d00,Object[_0x1c30d9(0x30d)](_0x21651b,Symbol[_0x1c30d9(0x304)],{'value':_0x1c30d9(0x10d)});}));
1
+ function _0x34b8(_0x1a0d7f,_0x1d6ca9){_0x1a0d7f=_0x1a0d7f-0x86;const _0x356f4f=_0x356f();let _0x34b88d=_0x356f4f[_0x1a0d7f];return _0x34b88d;}function _0x356f(){const _0x40841e=['registerBeforeClose','302620SflCmv','executionId','subUnitId','collab-text-range-','unit','_cachedData','_createSocketURL','CollaborationEvent','getRenderById','setUndoRedoMutationParamsCache','idSuffix','IBeforeCloseService','univer-flex\x20univer-items-center','_showGuardMessage','@univerjs/docs-ui','origin','LOGIN_FAILED','runId','actions','getRelativeToViewportCoord','getSheetBySheetId','LICENSE_DISTRO_REJECTED','push','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','RxDisposable','BehaviorSubject','redoState','_handleJoinEvent','stringify','getCoordByCell','_handleEvent','m2Prime','UnitStatus','_transformPreviousActiveRange','runRefRangeMutations','_initCommandInterceptor','_beforeCloseService','disposeUnit','_docTransformStateCacheService','transformMutation','setTimeout','/universer-api/license/formula/limit/start','InsertRowCommandId','_setFormulaLimitStatus','sheetID','_startCalculationLimit','UniverEngineRender','APPLY_REVISION_CONFILICT','INTERNAL_ERROR','APPLY_REJECT','useCallback','_scheduleSaving','on-line-icon','_initEntityListener','OffLineIcon','toRgbString','popstate','_lastPointer','drawWith','catch','UNIVER_SHEET','getUnitId','http://www.w3.org/2000/svg','IImageIoService','_maxFormulaLimit','UniverCore','div','DocSelectionManagerService','_textBubble','getCollabCursors$','NOT_COLLAB','addHandlerCallback','CanceledError','transformIMECache','_docSkeleton','_online','Failed','INVITE_CODE_REQUIRED','_lastResponseTimestamp','YUUMI_ASYNCIO_CANCELLED','_unitStatus','runOnServer','debounce','range','UNAUTHENTICATED','collabStatus.notCollab','APPLY_PERMISSION_DENIED','round','_range','jsx','sessionStatus$','ENTITLE_CHAT_LIMIT_EXCEED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UniverDesign','focused$','current','INotificationService','_configService','merge','_hover','labelPosition','BuiltInUIPart','EMAIL_VERIFY_CODE_MISMATCH','evenodd','_hasFormulaInDirtyRanges','deepClone','updateOfflineData','data','search','ThemeService','PAYMENT_CHANNEL_NOT_SUPPORT','requireSession','IURLService','UNDEFINED','_httpService','url(#off-line-icon_clip0_910_343)','cursorInfo','tag','saveImage','sessionTicket','generateRandomId','green.600','_applyCommand','UniverProCollaboration','INVALID_INVITE_CODE','jsxs','_localeService','_toggleOffline','red.300','addClipboardHook','dirtyRanges','setItem','758omMOQL','mask','flatMap','lineno','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','getMemberID','Workbook','permission.content','HEADER_MENU','2868116kOssaQ','_updateLocalCursor','_collabSessionService','black','_registerDependencies','_name','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','formula.calculation.started','Disposable','stage','restore','YUUMI_NO_CUBOID_FOR_QUESTION','SUCCESS','REDEMPTION_CODE_NOT_STARTED','2984930UHIHGD','SetFormulaCalculationStartMutation','whenReady','RemoteUniscriptService','eventID','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','limitInfo','ENTITLE_INVALID_COUPON_CODE','_collaborationSessionService','OnLineIcon','addEventListener','assignAColorForMemberID','_anchor','override','handleIRemoveCol','getViewport','length','_getSheetObject','purple.300','IRenderManagerService','APPLY_DUPLICATED','UPDATE_CURSOR','_instanceService','has','distinctUntilChanged','url(#on-line-icon_clip0_910_349)','handleMoveRange','univer-mr-2\x20univer-flex\x20univer-text-xl','UniverNetwork','_saveTaskMap','IUniverInstanceService','_docClipboardService','MOBILE_VERIFY_CODE_MISMATCH','_transformService','_initUserListener','_initCommandExecutedListener','activeSheet$','M0\x200H16V16H0z','split','_initUnhandledRejectionListener','hovered','displayName','map','NOT_FOUND','_transformUndoRedoStack','DeleteRangeMoveUpCommandId','INVITE_CODE_HAS_BEEN_UES','[RemoteUniscriptService]:\x20no\x20focused\x20unit','RegularPolygon','Tools','_removeCollabCursors','Optional','WebSocketService','ACTIVE_UNIT_EVENT_CHANNEL','_entityInit$','getItem','enableFrontendLog','_notificationService','CollaborationStatus','NodePositionConvertToCursor','DocSkeletonManagerService','exhaustSavingTask','HTTPService','debug','unhandledrejection','ColorKit','includes','_assignedColors','isEditing','YUUMI_TABLE_NOT_FOUND_IN_UNIT','setConfig','REDEMPTION_USER_NOT_ELIGIBLE','onLocalMutation','@univerjs/rpc','LOCAL_CACHE_INTERVAL','_updateCollabCursors','react','startRow','CollaborationSessionService','_anchorDot','NodePositionConvertToRectRange','#FFF','475698CFatoo','InsertRangeMoveRightCommandId','UniverSheetsUi','docStateChange$','_themeService','createInstance','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_heartbeatTimer','debounceTime','_uploadLog','entityInit$','LICENSE_EXPORT_SIZE_EXCEEDED','url(#$1','Injector','CollaborationUIEventId','permission.title','CHANGESET_REVISION_CONFILICT','RefRangeService','FormulaExecutedStateType','Error','1988464qWsUbH','SetFormulaCalculationNotificationMutation','clearInterval','asObservable','_ensureSubject','_entities','_currentUsage','_getScale','add','bind','Unknown\x20user','colorChannel1','params','ENTITLE_NEED_BILLING_ADDRESS','_initWindowErrorListener','then','fillStyle','LICENSE_IMPORT_SIZE_EXCEEDED','dispose$','replaceState','getActiveSheet','filename','RichTextEditingMutation','ILocalCacheService','currentTheme$','collaboration-client-ui.config','size','Plugin','isActive','_checkAndWaitForCalculationPermission','SetWorksheetActivateCommand','code','ENTITLE_COUPON_USED_UP','_send','@univerjs/ui','onPointerMove$','ISocketService','_drawAnchor','ENTITLE_USE_COUPON_NOT_1ST_TRADE','NO_OTHER_CLIENTS_EDITING','isFormulaString','transformMutationsWithChangeset','subunit','uni.network.url-service','_pollingInterval','string','CommandType','use','CONFLICT','_shapes','children','resize','column','executeCommand','useDependency','storage','ITransformService','MemberService','ONLINE','_context','handleIRemoveRow','isArray','width','source','Module','getCellMatrix','fillRule','text','addObjects','getStateCache','mapTo','_docTransformIMECacheService','UniverEngineFormula','find','_scene','EffectRefRangId','EMAIL_HAS_BEEN_BOUND','DEFAULT_WS_SESSION_TICKET_URL','blue.400','UniverUi','ticket','_id','_updateURLWithCurrentState','MOBILE_HAS_BEEN_BOUND','registerComponent','collabStatus.offline','_clearPolling','transform','getParam','_localStorageService','top','REDEMPTION_CODE_HAS_BEEN_CREATED','toStringTag','_eventUnsubscribe','react/jsx-runtime','_session','Rect','subscribeEvent','SetDocZoomRatioOperation','_logService','m1Prime','pushState','onMouseMove','useObservable','_memberID','transformByState','_getFormulaLimitStatus','replace','off-line-icon_clip0_910_343','wsSessionTicketUrl','getColorFromTheme','doc.mutation.rich-text-editing','USER_IS_ANONYMOUS','REDEMPTION_INVALID_CODE','CURRENT_STATUS_CANNOT_OPERATE','xlink:href','ICommandService','SOCKET_FAILED_RETRY','setShapeProps','_draw','OFFLINE','clipPath','fillText','engine','_monkeyPatchLogService','_sheetSkeletonManagerService','disableLocalCache','DesktopCollaborationStatusDisplayController','ILocalStorageService','yellow.400','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','FormulaExecuteStageType','START_CALCULATION','href','getActiveRange','getUniverSheetInstance','setParam','YUUMI_SUBSCRIPTION_NOT_FOUND','AWAITING','_scheduleClearOtherTimer','JOIN_ROOM_FAILED','ILogService','_toggleOnline','univerjs-icon\x20univerjs-icon-','reason','1257195rGPplt','currentColor','ENTITLE_INSUFFICIENT_QUOTA','_color','InsertRangeMoveDownCommandId','_collabCursorController','with','BrowserCollaborationSocketService','type','stack','TRANSFORM_CHANGE_OBSERVABLE_TYPE','sheetId','disposeWithMe','_roomMembers$','IMessageService','getformulaLimitStatusUrl','SheetsSelectionsService','UniverCollaborationClientPlugin','[Unhandled\x20Rejection]:\x20','contains','session.connection-failed','getRangePointData','ENSURE_SNAPSHOT_EXECUTION','RevisionService','takeUntil','getUnhiddenWorksheets','FETCH_MISS','YUUMI_URL_COL_OUT_OF_RANGE','_renderManagerService','filter','_status$','28PKYraG','[CollaborationDataLoaderController]','[Window\x20Error]:\x20','FromArray','LOGIN_TOKEN_PROCESSING_FAILED','YUUMI_RATE_OVER_LIMIT','result','Inject','rxjs','collaboration.closeRoom','_dataLoaderService','@univerjs/engine-formula','values','_clearOtherTimers','getCurrentSelections','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','parseInt','fromEvent','saveTaskMap','ENTITLE_DUP_SUBSCRIPTION','on-line-icon_clip0_910_349','unshift','_initResize','fill','@univerjs-pro/collaboration','getMember','hide','SNAPSHOT_INVALID_SNAPSHOT','LocaleService','APPLY_NON_SEQUENTIAL_REVISION','PENDING','_docTransformSelectionsService','YUUMI_UNABLE_LOAD_URL','TOO_MANY_REQUESTS','exports','IConfigService','transformSelections','symbol','get','onPointerEnter$','TEXT_RANGE_LAYER_INDEX','createIdentifier','newValue','SetSelectionsOperation','RemoveColCommandId','@univerjs/engine-render','toDisposable','_refRangeService','translate(.97)','urlChange$','58BrhYvL','/universer-api/license/formula/limit/done','collabCursorState$','white','COLORS','TEXT','isFormulaId','RECT','DATA_SOURCE_TOO_LARGE','_saveCache','onPointerLeave$','COMPLETION_FINISHED','formula.calculation.unable','undoState','INVITE_CODE_ALREADY_BOUND','_cursorShapes','_localCacheService','_univerInstanceService','SHEET_VIEWPORT_KEY','_disabled','_checkCalculationAvailable','backgroundColor','SUBMIT_CHANGESET_TIMEOUT','/universer-api/frontend/logs','SetTextSelectionsOperation','USERS_LEAVE','CollaborationSocketService','_taskIds','UniverInstanceType','DocCollaborationEntity','getTypeOfUnitDisposed$','post','DOC_RANGE_TYPE','assign','handleInsertRangeMoveRight','_docStateChangeManagerService','getValue','CollaborationDataLoaderController','ENTITLE_COUPON_EXPIRED','getConfig','set','from','ENTITLE_REPORT_LIMIT_EXCEED','random','function','SessionStatus','INVALID_ARGUMENT','DocIMEInputManagerService','complete','_updateSubUnitFromURLParams','loadOfflineData','_imageIoService','memberID','save','lineTo','_messageService','roomMembers','getAncestorScale','_setupBeforeClosingHandler','_handleLeaveEvent','endColumn','subscribe','toString','onCommandExecuted','_unitOnClients','arc','entries','_doCreateSocket','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_colorAssignService','YUUMI_ALL_TABLES_IS_INVALID','startFormulaLimitUrl','_initDependencies','setAlpha','Warning','getOwnPropertyDescriptor','session.collaboration-timeout','getTypeOfUnitAdded$','_collabCursorState$','_render','parse','_startDocCollabCursor','svg','SYNCED','touchDependencies','unitID','_memberService','_transformHistoryAndStateStack','addObject','_selfUnitIDs','removeParam','_collaborationController','dispose','@univerjs-pro/collaboration-client','ENTITLE_CAN_NOT_BUY_LOWER_OTP','ranges','OTHER_CLIENTS_EDITING','_onRefRangeChange','socket$','UNRECOGNIZED','row','_docSkeletonManagerService','location','name','Tooltip','1em','handleInsertRow','_commandService','_onCursorUpdate','_syncEditingCollabCursorService','getSheetId','onStarting','getCurrentUnitForType','clsx','send','?taskId=','replaceDocRanges','error','_revisionService','_getAnchorBounding','getVpScrollXYInfoByPosToVp','MoveRangeCommandId','_config','387GFNnOv','endRow','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','ERROR_AGAIN','_init','event$','forwardRef','makeDirty','bottom','max','collabStatus.conflict','_startSheetCollabCursor','attrs','SheetCollabCursorShape','_handleHover','UniverDrawing','color','_uiPartsService','getCurrent','_removeClearOtherTimer','trim','unitId','roomMembers$','selection','startColumn','UniverDocsUi','@univerjs/design','\x20at\x20','UNIVER_DOC','MessageType','YUUMI_AI_RUN_FAILED','rgba(255,\x20255,\x20255,\x200.01)','ALREADY_EXISTS','WebBrowserSingleActiveUnitService','clearTimeout','_injector','_urlService','_setupSubUnitSync','_backgroundColor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','switchMap','SNAPSHOT_HAS_BEEN_REMOVED','_hideTimer','UniverRpc','Success','/run/','DocStateChangeManagerService','show','_initStatusListener','isTransformMutationsWithChangesetSuccess','_getSaveTimeout','defIds','getUndoRedoMutationParamsCache','skeleton','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getColor','UniverCollaborationClientUIPlugin','forEach','_drawRectRange','defs','shift','Rectangle','beforeCommandExecuted','MUTATION','next','_colorIndex','closePath','Vector2','@univerjs/sheets-ui','createElement','_initStatusComponent','history','status$','body','React','path','unload','CollaborationController','collab-rect-range-','_cursorInfo$','pipe','REDEMPTION_CODE_FULLY_REDEEMED','USER_NOT_INVITED_CODE','collabStatus.synced','CONNECTOR_DATA_TOO_LARGE','isTransformMutationFailure','now','enableLocalCache','USER_NOT_FOUND','[LogService\x20Error]:\x20','CollaborationUIEventService','_docSyncEditingCollabCursorService','YUUMI_CONNECTOR_URL_NOT_FOUND','PY_RUNTIME_SCRIPT_ERROR','_handleHeartbeatEvent','_getMergeRange','colno','getLocalCacheKey','handleDeleteRangeMoveUp','transformRemoteChangeset','DeleteRangeMoveLeftCommandId','searchParams','collabStatus.syncing','_onCursorDelete','jiqing.500','currentSkeleton$','getFocusedUnit','_scheduleHeartbeat','none','getDocRanges','defineProperty','init','UniverProCollaborationClientUi','_hovered','_cursors','_labelPosition','CLOSE_ROOM','handleDeleteRangeMoveLeft','_refreshCollabCursors','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','DataLoaderService','_initEvent','PERMISSION_DENIED','removeEventListener','getOffsetConfig','moveTo','off-line-icon','textRanges','registerRefRange','measureText','delete','...','mutations','substring','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','cursorInfo$','Shape','registerRenderModule','UniverIcon','_drawTextRange','_releaseCalculationLimit','min','startsWith','createSocket'];_0x356f=function(){return _0x40841e;};return _0x356f();}(function(_0x232148,_0x450492){const _0x4a56b0=_0x34b8,_0x1db6fb=_0x232148();while(!![]){try{const _0x1fa649=-parseInt(_0x4a56b0(0x23a))/0x1*(parseInt(_0x4a56b0(0xaa))/0x2)+-parseInt(_0x4a56b0(0x348))/0x3+parseInt(_0x4a56b0(0x243))/0x4+-parseInt(_0x4a56b0(0x251))/0x5+-parseInt(_0x4a56b0(0x2a3))/0x6*(parseInt(_0x4a56b0(0x367))/0x7)+-parseInt(_0x4a56b0(0x2b7))/0x8+-parseInt(_0x4a56b0(0x125))/0x9*(-parseInt(_0x4a56b0(0x1b6))/0xa);if(_0x1fa649===_0x450492)break;else _0x1db6fb['push'](_0x1db6fb['shift']());}catch(_0x57bc17){_0x1db6fb['push'](_0x1db6fb['shift']());}}}(_0x356f,0x6536c),function(_0x14441c,_0x14a50d){const _0x32037a=_0x34b8;typeof exports=='object'&&typeof module<'u'?_0x14a50d(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x32037a(0xd6)&&define['amd']?define([_0x32037a(0x9a),_0x32037a(0x315),_0x32037a(0x107),'@univerjs/core',_0x32037a(0x2d9),_0x32037a(0x36f),_0x32037a(0x13f),_0x32037a(0x29d),_0x32037a(0x29a),'@univerjs/sheets',_0x32037a(0xa5),'@univerjs/network',_0x32037a(0x1c4),'@univerjs/drawing',_0x32037a(0x90),'@univerjs/docs',_0x32037a(0x372),'rxjs/operators',_0x32037a(0x169)],_0x14a50d):(_0x14441c=typeof globalThis<'u'?globalThis:_0x14441c||self,_0x14a50d(_0x14441c[_0x32037a(0x195)]={},_0x14441c[_0x32037a(0x16f)],_0x14441c['UniverProCollaborationClient'],_0x14441c[_0x32037a(0x1f7)],_0x14441c[_0x32037a(0x306)],_0x14441c[_0x32037a(0x36f)],_0x14441c[_0x32037a(0x213)],_0x14441c[_0x32037a(0x16f)],_0x14441c[_0x32037a(0x150)],_0x14441c['UniverSheets'],_0x14441c[_0x32037a(0x1e4)],_0x14441c[_0x32037a(0x26d)],_0x14441c[_0x32037a(0x13e)],_0x14441c[_0x32037a(0x134)],_0x14441c[_0x32037a(0x231)],_0x14441c['UniverDocs'],_0x14441c[_0x32037a(0x2ff)],_0x14441c[_0x32037a(0x36f)]['operators'],_0x14441c[_0x32037a(0x2a5)]));}(this,function(_0x49b1c5,_0x43d0fe,_0x497c74,_0x4b176f,_0x48763f,_0x2d9524,_0x47ae90,_0x1b9293,_0x4e4364,_0x4ba8ca,_0x517da6,_0x542501,_0x5f0c77,_0x150443,_0x2cf75e,_0xb532ca,_0x1707bd,_0x11f65e,_0x17a370){'use strict';const _0x568c59=_0x34b8;var _0x2f51a2=Object['defineProperty'],_0x2b2d24=(_0x420982,_0x2d6f56,_0x1bb42e)=>_0x2d6f56 in _0x420982?_0x2f51a2(_0x420982,_0x2d6f56,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1bb42e}):_0x420982[_0x2d6f56]=_0x1bb42e,_0xe730d4=(_0x975106,_0x564a72,_0x20c8f1)=>_0x2b2d24(_0x975106,typeof _0x564a72!=_0x568c59(0x9d)?_0x564a72+'':_0x564a72,_0x20c8f1);function _0x3a20cf({ref:_0x471aec,..._0x219de2}){const _0x1961f3=_0x568c59,{icon:_0x10d2d2,id:_0x3c80bc,className:_0x4d16c2,extend:_0x42bc47,..._0xf63751}=_0x219de2,_0x58844b=(_0x1961f3(0x346)+_0x3c80bc+'\x20'+(_0x4d16c2||''))[_0x1961f3(0x139)](),_0x664cb2=_0x1b9293['useRef']('_'+_0xa6bce8());return _0x36803a(_0x10d2d2,''+_0x3c80bc,{'defIds':_0x10d2d2[_0x1961f3(0x158)],'idSuffix':_0x664cb2[_0x1961f3(0x215)]},{'ref':_0x471aec,'className':_0x58844b,..._0xf63751},_0x42bc47);}function _0x36803a(_0x1a50e9,_0x4e71de,_0x182dd5,_0x27d9fd,_0xde2fce){const _0x2642f5=_0x568c59;return _0x1b9293[_0x2642f5(0x16a)](_0x1a50e9[_0x2642f5(0x22b)],{'key':_0x4e71de,..._0x3a294c(_0x1a50e9,_0x182dd5,_0xde2fce),..._0x27d9fd},(_0x5a6783(_0x1a50e9,_0x182dd5)[_0x2642f5(0x2e9)]||[])[_0x2642f5(0x27b)]((_0x1faa6b,_0x351ba2)=>_0x36803a(_0x1faa6b,_0x4e71de+'-'+_0x1a50e9['tag']+'-'+_0x351ba2,_0x182dd5,void 0x0,_0xde2fce)));}function _0x3a294c(_0x18fd4f,_0x305a37,_0x1d8322){const _0x4c2ad5=_0x568c59,_0x1a7a67={..._0x18fd4f[_0x4c2ad5(0x131)]};_0x1d8322!=null&&_0x1d8322[_0x4c2ad5(0x2c2)]&&_0x1a7a67[_0x4c2ad5(0x8f)]===_0x4c2ad5(0x2c2)&&(_0x1a7a67[_0x4c2ad5(0x8f)]=_0x1d8322['colorChannel1']),_0x18fd4f['tag']===_0x4c2ad5(0x23b)&&_0x1a7a67['id']&&(_0x1a7a67['id']=_0x1a7a67['id']+_0x305a37['idSuffix']),Object[_0x4c2ad5(0xec)](_0x1a7a67)[_0x4c2ad5(0x15e)](([_0x12281c,_0x1b15a8])=>{const _0xc2fbd8=_0x4c2ad5;_0x12281c===_0xc2fbd8(0x23b)&&typeof _0x1b15a8=='string'&&(_0x1a7a67[_0x12281c]=_0x1b15a8[_0xc2fbd8(0x322)](/url\(#(.*)\)/,_0xc2fbd8(0x2af)+_0x305a37[_0xc2fbd8(0x1c0)]+')'));});const {defIds:_0x4356c2}=_0x305a37;return!_0x4356c2||_0x4356c2[_0x4c2ad5(0x261)]===0x0||(_0x18fd4f[_0x4c2ad5(0x22b)]===_0x4c2ad5(0x2e6)&&_0x1a7a67['xlink:href']&&(_0x1a7a67[_0x4c2ad5(0x32a)]=_0x1a7a67[_0x4c2ad5(0x32a)]+_0x305a37['idSuffix']),Object['entries'](_0x1a7a67)[_0x4c2ad5(0x15e)](([_0x11e19f,_0x5c2ecb])=>{const _0x21b651=_0x4c2ad5;typeof _0x5c2ecb==_0x21b651(0x2e4)&&(_0x1a7a67[_0x11e19f]=_0x5c2ecb[_0x21b651(0x322)](/url\(#(.*)\)/,'url(#$1'+_0x305a37[_0x21b651(0x1c0)]+')'));})),_0x1a7a67;}function _0x5a6783(_0x25f58e,_0x13501d){const _0x2318f0=_0x568c59;var _0x44ad18;const {defIds:_0x28262e}=_0x13501d;return!_0x28262e||_0x28262e[_0x2318f0(0x261)]===0x0?_0x25f58e:_0x25f58e['tag']===_0x2318f0(0x160)&&((_0x44ad18=_0x25f58e[_0x2318f0(0x2e9)])!=null&&_0x44ad18[_0x2318f0(0x261)])?{..._0x25f58e,'children':_0x25f58e[_0x2318f0(0x2e9)][_0x2318f0(0x27b)](_0x28342f=>typeof _0x28342f[_0x2318f0(0x131)]['id']==_0x2318f0(0x2e4)&&_0x28262e&&_0x28262e['includes'](_0x28342f[_0x2318f0(0x131)]['id'])?{..._0x28342f,'attrs':{..._0x28342f[_0x2318f0(0x131)],'id':_0x28342f[_0x2318f0(0x131)]['id']+_0x13501d[_0x2318f0(0x1c0)]}}:_0x28342f)}:_0x25f58e;}function _0xa6bce8(){const _0x47f5ff=_0x568c59;return Math[_0x47f5ff(0xd5)]()['toString'](0x24)[_0x47f5ff(0x1aa)](0x2,0x8);}_0x3a20cf['displayName']=_0x568c59(0x1af);const _0x2e9596={'tag':_0x568c59(0xfc),'attrs':{'xmlns':_0x568c59(0x1f4),'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x568c59(0x229)},'children':[{'tag':'path','attrs':{'stroke':_0x568c59(0x349),'d':_0x568c59(0x23e),'strokeLinecap':'round','strokeLinejoin':_0x568c59(0x20d),'strokeWidth':1.2}}]},{'tag':_0x568c59(0x160),'attrs':{},'children':[{'tag':_0x568c59(0x330),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x568c59(0x170),'attrs':{'fill':_0x568c59(0xad),'d':_0x568c59(0x276)}}]}]}],'defIds':[_0x568c59(0x323)]},_0x4fe69e=_0x1b9293[_0x568c59(0x12b)](function(_0x4a2d92,_0x20f4a3){const _0x2753fc=_0x568c59;return _0x1b9293[_0x2753fc(0x16a)](_0x3a20cf,Object[_0x2753fc(0xcb)]({},_0x4a2d92,{'id':_0x2753fc(0x1a3),'ref':_0x20f4a3,'icon':_0x2e9596}));});_0x4fe69e[_0x568c59(0x27a)]=_0x568c59(0x1ec);const _0x40e88d={'tag':_0x568c59(0xfc),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x568c59(0x191),'viewBox':'0\x200\x2017\x2016','width':_0x568c59(0x113),'height':_0x568c59(0x113)},'children':[{'tag':'g','attrs':{'clipPath':_0x568c59(0x26a)},'children':[{'tag':_0x568c59(0x170),'attrs':{'stroke':_0x568c59(0x349),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x568c59(0x20d),'strokeLinejoin':_0x568c59(0x20d),'strokeWidth':1.2}}]},{'tag':_0x568c59(0x160),'attrs':{},'children':[{'tag':_0x568c59(0x330),'attrs':{'id':_0x568c59(0x8c)},'children':[{'tag':'path','attrs':{'fill':_0x568c59(0xad),'d':'M0\x200H16V16H0z','transform':_0x568c59(0xa8)}}]}]}],'defIds':[_0x568c59(0x8c)]},_0x4c1607=_0x1b9293[_0x568c59(0x12b)](function(_0x597fd8,_0x3714af){const _0x23759e=_0x568c59;return _0x1b9293[_0x23759e(0x16a)](_0x3a20cf,Object[_0x23759e(0xcb)]({},_0x597fd8,{'id':_0x23759e(0x1ea),'ref':_0x3714af,'icon':_0x40e88d}));});_0x4c1607[_0x568c59(0x27a)]=_0x568c59(0x25a);function _0x3bc71b(_0x65bc62){const _0x53b8af=_0x568c59;switch(_0x65bc62){case _0x497c74[_0x53b8af(0x28b)][_0x53b8af(0x32f)]:return _0x53b8af(0x30c);case _0x497c74[_0x53b8af(0x28b)][_0x53b8af(0x2e7)]:return _0x53b8af(0x12f);case _0x497c74[_0x53b8af(0x28b)][_0x53b8af(0x362)]:return'collabStatus.fetchMiss';case _0x497c74['CollaborationStatus'][_0x53b8af(0x1fc)]:return _0x53b8af(0x20b);case _0x497c74[_0x53b8af(0x28b)][_0x53b8af(0x341)]:case _0x497c74[_0x53b8af(0x28b)]['AWAITING_WITH_PENDING']:return _0x53b8af(0x18b);case _0x497c74[_0x53b8af(0x28b)][_0x53b8af(0xfd)]:case _0x497c74[_0x53b8af(0x28b)][_0x53b8af(0x96)]:return _0x53b8af(0x178);}}function _0x1db768(_0x48f5cc){const _0x332ccc=_0x568c59,{status$:_0x4929f1}=_0x48f5cc,_0x11f8da=_0x48763f[_0x332ccc(0x31e)](_0x4929f1,_0x497c74[_0x332ccc(0x28b)]['NOT_COLLAB']),_0x15853a=_0x48763f['useDependency'](_0x4b176f['LocaleService']),_0x2ea38f=_0x48763f[_0x332ccc(0x2ed)](_0x497c74[_0x332ccc(0x29f)]),_0x371a67=_0x11f8da!==_0x497c74[_0x332ccc(0x28b)]['OFFLINE'],_0x2fb180=_0x15853a['t'](_0x3bc71b(_0x11f8da)),_0x35750b=_0x371a67?_0x43d0fe[_0x332ccc(0x20f)](_0x4c1607,{}):_0x43d0fe[_0x332ccc(0x20f)](_0x4fe69e,{}),_0x59862c=_0x1b9293[_0x332ccc(0x1e8)](()=>{_0x371a67||_0x2ea38f['reconnect']();},[_0x371a67,_0x2ea38f]);function _0x5fb97(){const _0x89a94e=_0x332ccc;return _0x43d0fe[_0x89a94e(0x233)](_0x89a94e(0x1f8),{'className':_0x89a94e(0x1c2),'onClick':_0x59862c,'children':[_0x43d0fe[_0x89a94e(0x20f)](_0x89a94e(0x1f8),{'className':_0x47ae90[_0x89a94e(0x11b)](_0x89a94e(0x26c),{'univer-text-green-500':_0x371a67,'univer-text-red-500':!_0x371a67}),'children':_0x35750b}),_0x43d0fe['jsx'](_0x89a94e(0x1f8),{'className':_0x89a94e(0x1cd),'children':_0x2fb180})]});}return _0x371a67?_0x5fb97():_0x43d0fe['jsx'](_0x47ae90[_0x332ccc(0x112)],{'title':_0x15853a['t']('collab-client.tooltip.reconnect'),'children':_0x5fb97()});}var _0x11eec4=Object[_0x568c59(0xf5)],_0x1d0e0d=(_0x35669b,_0x243c75,_0x45806e,_0x1eb313)=>{const _0x2d5f84=_0x568c59;for(var _0x72c77a=_0x1eb313>0x1?void 0x0:_0x1eb313?_0x11eec4(_0x243c75,_0x45806e):_0x243c75,_0x137442=_0x35669b[_0x2d5f84(0x261)]-0x1,_0x2beff6;_0x137442>=0x0;_0x137442--)(_0x2beff6=_0x35669b[_0x137442])&&(_0x72c77a=_0x2beff6(_0x72c77a)||_0x72c77a);return _0x72c77a;},_0x2ae13f=(_0x1e1ced,_0x5dec5c)=>(_0x5582a2,_0x19ee3e)=>_0x5dec5c(_0x5582a2,_0x19ee3e,_0x1e1ced);_0x49b1c5[_0x568c59(0x336)]=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x254a0c,_0x12b351,_0x45c852,_0x22dbaa){const _0x191560=_0x568c59;super(),_0xe730d4(this,_0x191560(0x366),new _0x2d9524[(_0x191560(0x1cf))](_0x497c74[_0x191560(0x28b)][_0x191560(0x1fc)])),(this['_univerInstanceService']=_0x254a0c,this['_injector']=_0x12b351,this[_0x191560(0x105)]=_0x45c852,this[_0x191560(0x136)]=_0x22dbaa,this[_0x191560(0x16b)](),this[_0x191560(0x155)]());}['_initStatusListener'](){const _0x593d99=_0x568c59;this['disposeWithMe'](this[_0x593d99(0xbb)][_0x593d99(0x214)][_0x593d99(0x175)](_0x2d9524['switchMap'](()=>{const _0x2bd9ac=_0x593d99,_0x5e1756=this['_univerInstanceService'][_0x2bd9ac(0x18f)]();return _0x5e1756?this['_collaborationController']['getCollabEntity$'](_0x5e1756['getUnitId']()):_0x2d9524['of'](null);}),_0x2d9524[_0x593d99(0x14d)](_0xab08a=>_0xab08a?_0xab08a[_0x593d99(0x16d)]:_0x2d9524['of'](_0x497c74[_0x593d99(0x28b)][_0x593d99(0x1fc)])))[_0x593d99(0xe7)](_0xaf82=>{const _0x4d953b=_0x593d99;this[_0x4d953b(0x366)][_0x4d953b(0x165)](_0xaf82);}));}[_0x568c59(0x16b)](){const _0x4e4301=_0x568c59;this[_0x4e4301(0x354)](this[_0x4e4301(0x136)][_0x4e4301(0x30b)](_0x48763f[_0x4e4301(0x21b)][_0x4e4301(0x242)],()=>_0x48763f['connectInjector'](_0x274aa2({'status$':this[_0x4e4301(0x366)][_0x4e4301(0x2ba)]()}),this[_0x4e4301(0x148)])));}},_0x49b1c5[_0x568c59(0x336)]=_0x1d0e0d([_0x2ae13f(0x0,_0x4b176f['IUniverInstanceService']),_0x2ae13f(0x1,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x2b0)])),_0x2ae13f(0x2,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x172)])),_0x2ae13f(0x3,_0x48763f['IUIPartsService'])],_0x49b1c5[_0x568c59(0x336)]);function _0x274aa2(_0x2b84c2){const {status$:_0x13a947}=_0x2b84c2;return function(){return _0x43d0fe['jsx'](_0x1db768,{'status$':_0x13a947});};}const _0x69f589=_0x4b176f[_0x568c59(0xa1)](_0x568c59(0x2e2));var _0x3b8b70=Object[_0x568c59(0xf5)],_0xc2a3f8=(_0x2cb8e5,_0x16dc43,_0x3472ea,_0x514b04)=>{const _0x33255c=_0x568c59;for(var _0x4ecb39=_0x514b04>0x1?void 0x0:_0x514b04?_0x3b8b70(_0x16dc43,_0x3472ea):_0x16dc43,_0x1ecf42=_0x2cb8e5[_0x33255c(0x261)]-0x1,_0x268be3;_0x1ecf42>=0x0;_0x1ecf42--)(_0x268be3=_0x2cb8e5[_0x1ecf42])&&(_0x4ecb39=_0x268be3(_0x4ecb39)||_0x4ecb39);return _0x4ecb39;},_0x5755bf=(_0x200246,_0x5bb552)=>(_0x5baaab,_0xdf5fd3)=>_0x5bb552(_0x5baaab,_0xdf5fd3,_0x200246);_0x49b1c5[_0x568c59(0xcf)]=class extends _0x4b176f[_0x568c59(0x1ce)]{constructor(_0x3cd4cb,_0x655d0b,_0x1653a2,_0x5c63cd,_0xd3ab34){const _0x39cd02=_0x568c59;super(),this[_0x39cd02(0x149)]=_0x3cd4cb,this[_0x39cd02(0x31a)]=_0x655d0b,this[_0x39cd02(0x115)]=_0x1653a2,this[_0x39cd02(0x371)]=_0x5c63cd,_0xd3ab34?_0xd3ab34==null||_0xd3ab34[_0x39cd02(0x253)]()[_0x39cd02(0x2c6)](()=>this['_init']()):(this[_0x39cd02(0x31a)][_0x39cd02(0x290)](_0x39cd02(0x368),_0x39cd02(0x2a9)),this['_init']());}async[_0x568c59(0x129)](){const _0xee14e5=_0x568c59,_0x4b5e56=this[_0xee14e5(0x149)][_0xee14e5(0x30f)](_0xee14e5(0x1ba)),_0xa28c0f=this[_0xee14e5(0x149)][_0xee14e5(0x30f)]('type'),_0x5b0bcf=this[_0xee14e5(0x149)][_0xee14e5(0x30f)](_0xee14e5(0x2e1));if(!_0x4b5e56||!_0xa28c0f){this[_0xee14e5(0x31a)][_0xee14e5(0x290)](_0xee14e5(0x368),_0xee14e5(0x87));return;}const _0x1a54d2=await this[_0xee14e5(0x371)]['loadUnit'](_0x4b5e56,Number(_0xa28c0f),_0x5b0bcf);_0x1a54d2&&_0x1a54d2 instanceof _0x4b176f[_0xee14e5(0x240)]&&this[_0xee14e5(0x14a)](_0x1a54d2);}async[_0x568c59(0x14a)](_0x1756b8){const _0x543145=_0x568c59;await this[_0x543145(0xdb)](_0x1756b8),_0x1756b8[_0x543145(0x275)][_0x543145(0x175)](_0x2d9524[_0x543145(0x360)](this['dispose$']))['subscribe'](_0x2b81cf=>{const _0x1b4af9=_0x543145;_0x2b81cf&&this[_0x1b4af9(0x309)](_0x2b81cf);}),this[_0x543145(0x149)][_0x543145(0xa9)][_0x543145(0x175)](_0x2d9524[_0x543145(0x360)](this[_0x543145(0x2c9)]))[_0x543145(0xe7)](()=>this[_0x543145(0xdb)](_0x1756b8));}[_0x568c59(0x309)](_0x4ec03b,_0x4b808d=!0x1){const _0x13e6ca=_0x568c59,_0xb4e1bd=this[_0x13e6ca(0x149)][_0x13e6ca(0x30f)](_0x13e6ca(0x2e1));_0x4ec03b[_0x13e6ca(0x118)]()!==_0xb4e1bd&&this[_0x13e6ca(0x149)][_0x13e6ca(0x33f)](_0x13e6ca(0x2e1),_0x4ec03b[_0x13e6ca(0x118)](),_0x4b808d);}async[_0x568c59(0xdb)](_0x440290){const _0x3c06f0=_0x568c59;var _0x4b2411;const _0x739feb=this[_0x3c06f0(0x149)]['getParam'](_0x3c06f0(0x2e1));if(!_0x739feb||!_0x440290[_0x3c06f0(0x1ca)](_0x739feb)){const _0x257e53=_0x440290[_0x3c06f0(0x361)]()[0x0],_0x198690=_0x440290[_0x3c06f0(0x1ca)](_0x257e53);if(!_0x198690)return;this[_0x3c06f0(0x309)](_0x198690,!0x0),await this['_commandService']['executeCommand'](_0x4ba8ca['SetWorksheetActivateCommand']['id'],{'unitId':_0x440290['getUnitId'](),'subUnitId':_0x257e53});return;}((_0x4b2411=_0x440290['getActiveSheet']())==null?void 0x0:_0x4b2411[_0x3c06f0(0x118)]())!==_0x739feb&&await this[_0x3c06f0(0x115)][_0x3c06f0(0x2ec)](_0x4ba8ca[_0x3c06f0(0x2d5)]['id'],{'unitId':_0x440290['getUnitId'](),'subUnitId':_0x739feb});}},_0x49b1c5[_0x568c59(0xcf)]=_0xc2a3f8([_0x5755bf(0x0,_0x69f589),_0x5755bf(0x1,_0x4b176f[_0x568c59(0x344)]),_0x5755bf(0x2,_0x4b176f['ICommandService']),_0x5755bf(0x3,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x19d)])),_0x5755bf(0x4,_0x4b176f[_0x568c59(0x284)](_0x4e4364['IRemoteInstanceService']))],_0x49b1c5['CollaborationDataLoaderController']);var _0x4efba8=Object[_0x568c59(0xf5)],_0x486b2d=(_0x34f4c7,_0x295ebb,_0x3ce311,_0x363be3)=>{for(var _0x1b7262=_0x363be3>0x1?void 0x0:_0x363be3?_0x4efba8(_0x295ebb,_0x3ce311):_0x295ebb,_0x3187c6=_0x34f4c7['length']-0x1,_0x5c3419;_0x3187c6>=0x0;_0x3187c6--)(_0x5c3419=_0x34f4c7[_0x3187c6])&&(_0x1b7262=_0x5c3419(_0x1b7262)||_0x1b7262);return _0x1b7262;},_0x2c1b3d=(_0x407df6,_0x2d7df0)=>(_0xb02b09,_0xf08b8)=>_0x2d7df0(_0xb02b09,_0xf08b8,_0x407df6);let _0x30a20f=class extends _0x4b176f[_0x568c59(0x1ce)]{constructor(_0x833609,_0x34a3a2){const _0x16da91=_0x568c59;super(),this[_0x16da91(0x270)]=_0x833609,this['_imageIoService']=_0x34a3a2,this[_0x16da91(0x129)]();}['_init'](){const _0x3b2bdf=_0x568c59,_0x19885d=this;this[_0x3b2bdf(0x354)](this[_0x3b2bdf(0x270)][_0x3b2bdf(0x237)]({'onBeforePasteImage':async _0x405f26=>{const _0x47e14e=_0x3b2bdf,_0x3e55d3=await _0x19885d[_0x47e14e(0xdd)][_0x47e14e(0x22c)](_0x405f26);return _0x3e55d3?{'source':_0x3e55d3[_0x47e14e(0x2f6)],'imageSourceType':_0x3e55d3['imageSourceType']}:null;}}));}};_0x30a20f=_0x486b2d([_0x2c1b3d(0x0,_0x5f0c77['IDocClipboardService']),_0x2c1b3d(0x1,_0x150443[_0x568c59(0x1f5)])],_0x30a20f);const _0x4294fe=[_0x568c59(0x263),_0x568c59(0x18d),_0x568c59(0x22f),_0x568c59(0x236),_0x568c59(0x305),_0x568c59(0x338)];class _0x4009eb extends _0x4b176f[_0x568c59(0x24b)]{constructor(){const _0x3285f0=_0x568c59;super(...arguments),_0xe730d4(this,_0x3285f0(0x294),new Map()),_0xe730d4(this,_0x3285f0(0x166),0x0);}[_0x568c59(0x25c)](_0x119a2b){const _0x4f4842=_0x568c59;if(this[_0x4f4842(0x294)][_0x4f4842(0x268)](_0x119a2b))return this[_0x4f4842(0x294)][_0x4f4842(0x9e)](_0x119a2b);const _0x53e362=_0x4294fe[this[_0x4f4842(0x166)]];return this[_0x4f4842(0x166)]=(this['_colorIndex']+0x1)%_0x4294fe[_0x4f4842(0x261)],this[_0x4f4842(0x294)][_0x4f4842(0xd2)](_0x119a2b,_0x53e362),_0x53e362;}}function _0x548dc2(_0x2e805b){const _0x4d84a6=_0x568c59;let _0x180144='';for(const _0x4051e9 of _0x2e805b){const {startOffset:_0x2af84b,endOffset:_0x752fc2,isActive:_0x218f74,rangeType:_0x2173e4,segmentId:_0x6858f0,segmentPage:_0x40c20a}=_0x4051e9;_0x180144[_0x4d84a6(0x261)]&&(_0x180144+=','),_0x180144+=_0x2af84b+':'+_0x752fc2+':'+(_0x218f74?'1':'0')+':'+_0x2173e4+':'+_0x6858f0+':'+_0x40c20a;}return _0x180144;}function _0xd0e126(_0x36a289){const _0x510971=_0x568c59,_0x29c685=_0x36a289['split'](','),_0x4cc1f6=[];for(const _0x5752de of _0x29c685){const [_0x782ba7,_0x4e3b98,_0x38090d,_0x3df3e9,_0x2f0076,_0x29a219]=_0x5752de[_0x510971(0x277)](':');_0x4cc1f6['push']({'startOffset':Number(_0x782ba7),'endOffset':Number(_0x4e3b98),'collapsed':_0x782ba7===_0x4e3b98,'isActive':_0x38090d==='1','rangeType':_0x3df3e9===_0x4b176f['DOC_RANGE_TYPE'][_0x510971(0xaf)]?_0x4b176f[_0x510971(0xca)]['TEXT']:_0x4b176f[_0x510971(0xca)][_0x510971(0xb1)],'segmentId':typeof _0x2f0076==_0x510971(0x2e4)?String(_0x2f0076):'','segmentPage':Number(_0x29a219!=null?_0x29a219:-0x1)});}return _0x4cc1f6['some'](_0x1160d4=>_0x1160d4['isActive'])||(_0x4cc1f6[0x0][_0x510971(0x2d3)]=!0x0),_0x4cc1f6;}class _0x510ecb extends _0x4b176f['RxDisposable']{constructor(){const _0x39ef27=_0x568c59;super(...arguments),_0xe730d4(this,_0x39ef27(0xf8),new _0x2d9524[(_0x39ef27(0x1cf))](null)),_0xe730d4(this,_0x39ef27(0xac),this[_0x39ef27(0xf8)][_0x39ef27(0x2ba)]());}['syncEditingCollabCursor'](_0x2f0bbd){const _0x389036=_0x568c59,{unitID:_0x3bc56b,memberID:_0x39283b,textRanges:_0x558d01}=_0x2f0bbd,_0x42425b=_0x548dc2(_0x558d01);if(_0x42425b==='')return;const _0x3ecfe9={'unitID':_0x3bc56b,'memberID':_0x39283b,'selection':_0x42425b};this['_collabCursorState$'][_0x389036(0x165)](_0x3ecfe9);}}var _0x24a4c3=Object[_0x568c59(0xf5)],_0x504e87=(_0x2be9e0,_0x4d3d3a,_0x5937f5,_0x535584)=>{const _0x2dd1cd=_0x568c59;for(var _0x3f5ea9=_0x535584>0x1?void 0x0:_0x535584?_0x24a4c3(_0x4d3d3a,_0x5937f5):_0x4d3d3a,_0x1253aa=_0x2be9e0[_0x2dd1cd(0x261)]-0x1,_0x238989;_0x1253aa>=0x0;_0x1253aa--)(_0x238989=_0x2be9e0[_0x1253aa])&&(_0x3f5ea9=_0x238989(_0x3f5ea9)||_0x3f5ea9);return _0x3f5ea9;},_0x160ff1=(_0x2ff61c,_0x36a548)=>(_0x4f9946,_0x2160af)=>_0x36a548(_0x4f9946,_0x2160af,_0x2ff61c);const _0x4705a8=0x12c,_0x873073=0x64;let _0x2c2994=class extends _0x4b176f['RxDisposable']{constructor(_0x7c0598,_0x34aeff,_0x5f5781,_0x4f67ae,_0xe937c5,_0x42423c,_0x4b8977,_0x4b4f41,_0x1b1d1f){const _0x1b8cc6=_0x568c59;super(),_0xe730d4(this,'_online',!0x1),_0xe730d4(this,'_init',!0x1),_0xe730d4(this,'_cursorInfo$',new _0x2d9524[(_0x1b8cc6(0x1cf))](new Map())),_0xe730d4(this,'cursorInfo$',this[_0x1b8cc6(0x174)][_0x1b8cc6(0x2ba)]()),_0xe730d4(this,_0x1b8cc6(0x355),new _0x2d9524[(_0x1b8cc6(0x1cf))]([])),_0xe730d4(this,'roomMembers$',this[_0x1b8cc6(0x355)][_0x1b8cc6(0x175)](_0x2d9524[_0x1b8cc6(0x2ab)](_0x4705a8))),_0xe730d4(this,_0x1b8cc6(0x244),_0x4b176f[_0x1b8cc6(0x208)](_0x4b956e=>{const _0x41a29d=_0x1b8cc6,_0x135edc={'eventID':_0x2cf75e[_0x41a29d(0x1bd)][_0x41a29d(0x266)],'data':{'unitID':this[_0x41a29d(0xff)],'memberID':this[_0x41a29d(0x316)][_0x41a29d(0x23f)](),'selection':_0x548dc2(_0x4b956e)}};this['_session'][_0x41a29d(0x11c)](_0x135edc,this[_0x41a29d(0xff)]);},_0x873073)),(this[_0x1b8cc6(0xff)]=_0x7c0598,this[_0x1b8cc6(0x316)]=_0x34aeff,this[_0x1b8cc6(0x148)]=_0x5f5781,this[_0x1b8cc6(0xef)]=_0x4f67ae,this[_0x1b8cc6(0x100)]=_0xe937c5,this[_0x1b8cc6(0x117)]=_0x42423c,this['_transformService']=_0x4b8977,this[_0x1b8cc6(0xbb)]=_0x4b4f41,this[_0x1b8cc6(0x115)]=_0x1b1d1f);}get[_0x568c59(0x22a)](){const _0x40150d=_0x568c59;return this[_0x40150d(0x174)]['getValue']();}get[_0x568c59(0xe2)](){const _0x8f7e9f=_0x568c59;return this[_0x8f7e9f(0x355)]['getValue']();}[_0x568c59(0x106)](){const _0x577fe5=_0x568c59;super[_0x577fe5(0x106)](),this[_0x577fe5(0x174)]['next'](new Map()),this[_0x577fe5(0x174)][_0x577fe5(0xda)](),this['_roomMembers$'][_0x577fe5(0x165)]([]),this[_0x577fe5(0x355)][_0x577fe5(0xda)]();}['init'](){const _0x375469=_0x568c59;this[_0x375469(0x129)]||(this['_init']=!0x0,this['_session'][_0x375469(0x210)][_0x375469(0x175)](_0x2d9524[_0x375469(0x360)](this[_0x375469(0x2c9)]))[_0x375469(0xe7)](_0x242376=>{const _0x406b03=_0x375469;_0x242376===_0x497c74[_0x406b03(0xd7)][_0x406b03(0x2f1)]?this[_0x406b03(0x345)]():this[_0x406b03(0x235)]();}),this[_0x375469(0x316)][_0x375469(0x12a)]['pipe'](_0x2d9524[_0x375469(0x360)](this['dispose$']))[_0x375469(0xe7)](_0x1dcad6=>{const _0x2732a0=_0x375469,_0x8062f9=_0x1dcad6[_0x2732a0(0x255)];_0x8062f9===_0x2cf75e[_0x2732a0(0x1bd)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1dcad6),_0x8062f9===_0x2cf75e[_0x2732a0(0x1bd)][_0x2732a0(0xc3)]&&this[_0x2732a0(0x18c)](_0x1dcad6);}),this[_0x375469(0x354)](this['_commandService'][_0x375469(0xe9)](_0x136de1=>{const _0x37f9af=_0x375469,_0x179989=_0x136de1['params'];_0x179989!=null&&this[_0x37f9af(0x201)]&&_0x136de1['id']===_0xb532ca[_0x37f9af(0xc2)]['id']&&_0x179989[_0x37f9af(0x13a)]===this[_0x37f9af(0xff)]&&_0x179989[_0x37f9af(0x295)]===!0x1&&_0x179989[_0x37f9af(0x109)][_0x37f9af(0x261)]>0x0&&this['_updateLocalCursor'](_0x179989[_0x37f9af(0x109)]);})),this[_0x375469(0x117)][_0x375469(0xac)]['pipe'](_0x2d9524[_0x375469(0x360)](this[_0x375469(0x2c9)]))[_0x375469(0xe7)](_0xbcf20f=>{const _0x2d24cf=_0x375469;if((_0xbcf20f==null?void 0x0:_0xbcf20f[_0x2d24cf(0xff)])!==this[_0x2d24cf(0xff)])return;const _0x20877a={'eventID':_0x2cf75e[_0x2d24cf(0x1bd)][_0x2d24cf(0x266)],'data':_0xbcf20f};this[_0x2d24cf(0x116)](_0x20877a);}),this[_0x375469(0x354)](this[_0x375469(0x115)][_0x375469(0xe9)](_0x3affc5=>{const _0xfd2d7=_0x375469;if(_0x3affc5[_0xfd2d7(0x2c3)]==null)return;const _0x34a1fd=_0x3affc5['params'];if(_0x3affc5['id']!==_0xb532ca[_0xfd2d7(0x2cd)]['id']||_0x34a1fd[_0xfd2d7(0x13a)]!==this[_0xfd2d7(0xff)])return;const _0x15e6d9={'id':_0xfd2d7(0x326),'params':_0x34a1fd},_0x429a15=this[_0xfd2d7(0x22a)];for(const [_0x57d100,_0x714044]of _0x429a15){const _0x11c648={'id':_0xfd2d7(0x326),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x714044['ranges']}},_0x54c7d2=this[_0xfd2d7(0x272)][_0xfd2d7(0x1dd)](_0x15e6d9,_0x11c648,!0x1);if(_0x2cf75e['isTransformMutationFailure'](_0x54c7d2))throw _0x54c7d2[_0xfd2d7(0x11f)];_0x429a15[_0xfd2d7(0xd2)](_0x57d100,{..._0x714044,'ranges':_0x54c7d2[_0xfd2d7(0x1d5)][_0xfd2d7(0x2c3)][_0xfd2d7(0x1a4)]});}queueMicrotask(()=>{const _0x3f3961=_0xfd2d7;this[_0x3f3961(0x174)]['next'](_0x429a15);});})));}['_onCursorUpdate'](_0x1a135a){const _0x1937f0=_0x568c59;var _0x1d1b59,_0x13e5e3;const {memberID:_0x36befa,selection:_0x200e41}=_0x1a135a[_0x1937f0(0x221)],_0x35b8ae=_0xd0e126(_0x200e41),_0x5997d4=(_0x13e5e3=(_0x1d1b59=this[_0x1937f0(0x100)][_0x1937f0(0x91)](this['unitID'],_0x36befa))==null?void 0x0:_0x1d1b59['name'])!=null?_0x13e5e3:_0x1937f0(0x2c1),_0x2c8516={'color':this[_0x1937f0(0xef)][_0x1937f0(0x25c)](_0x36befa),'name':_0x5997d4,'ranges':_0x35b8ae},_0x1ccb55=this[_0x1937f0(0x22a)];_0x1ccb55[_0x1937f0(0xd2)](_0x36befa,_0x2c8516),this[_0x1937f0(0x174)][_0x1937f0(0x165)](_0x1ccb55);}[_0x568c59(0x18c)](_0x634634){const _0x581fe1=_0x568c59,{memberID:_0x4c8c42}=_0x634634[_0x581fe1(0x221)],_0x169378=this[_0x581fe1(0x22a)];_0x169378[_0x581fe1(0x1a7)](_0x4c8c42),this[_0x581fe1(0x174)][_0x581fe1(0x165)](_0x169378);}['_toggleOnline'](){const _0x1a756b=_0x568c59;var _0x34066a;if(this['_online']=!0x0,((_0x34066a=this[_0x1a756b(0xbb)][_0x1a756b(0x18f)]())==null?void 0x0:_0x34066a[_0x1a756b(0x1f3)]())!==this[_0x1a756b(0xff)])return;const _0x225dcd=this[_0x1a756b(0x148)][_0x1a756b(0x9e)](_0xb532ca[_0x1a756b(0x1f9)])[_0x1a756b(0x192)]();Array[_0x1a756b(0x2f4)](_0x225dcd)&&_0x225dcd[_0x1a756b(0x261)]>0x0&&this[_0x1a756b(0x244)](_0x225dcd);}[_0x568c59(0x235)](){const _0x218795=_0x568c59;this[_0x218795(0x201)]=!0x1;}};_0x2c2994=_0x504e87([_0x160ff1(0x2,_0x4b176f['Inject'](_0x4b176f[_0x568c59(0x2b0)])),_0x160ff1(0x3,_0x4b176f[_0x568c59(0x36e)](_0x4009eb)),_0x160ff1(0x4,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x2f0)])),_0x160ff1(0x5,_0x4b176f[_0x568c59(0x36e)](_0x510ecb)),_0x160ff1(0x6,_0x2cf75e[_0x568c59(0x2ef)]),_0x160ff1(0x7,_0x4b176f[_0x568c59(0x26f)]),_0x160ff1(0x8,_0x4b176f['ICommandService'])],_0x2c2994);var _0x5a2ffe=Object[_0x568c59(0xf5)],_0x20e6db=(_0x2b2e0f,_0x225502,_0x2d20a6,_0x51c0db)=>{const _0x204a9b=_0x568c59;for(var _0x5e5922=_0x51c0db>0x1?void 0x0:_0x51c0db?_0x5a2ffe(_0x225502,_0x2d20a6):_0x225502,_0x388af7=_0x2b2e0f[_0x204a9b(0x261)]-0x1,_0x463224;_0x388af7>=0x0;_0x388af7--)(_0x463224=_0x2b2e0f[_0x388af7])&&(_0x5e5922=_0x463224(_0x5e5922)||_0x5e5922);return _0x5e5922;},_0x35bee9=(_0x36b935,_0x568c18)=>(_0x379089,_0x2195cd)=>_0x568c18(_0x379089,_0x2195cd,_0x36b935);const _0x2fd63a=0x12c,_0xdbf390=0x64,_0x152b33=()=>{let _0x423bd5=[],_0x5bec71=!0x1;return _0x8747a3=>{const _0xb476b5=_0x34b8;_0x423bd5[_0xb476b5(0x1cc)](_0x8747a3),_0x5bec71||(_0x5bec71=!0x0,setTimeout(()=>{const _0x4601e8=_0xb476b5;_0x423bd5[_0x4601e8(0x15e)](_0x36f22f=>_0x36f22f()),_0x423bd5=[],_0x5bec71=!0x1;}));};};let _0x8f0c30=class extends _0x4b176f[_0x568c59(0x1ce)]{constructor(_0x48d25c,_0x530191,_0x103a00,_0x406c7d,_0x5e1cb5,_0x1acda7,_0x26a4eb,_0x490a27){const _0x4674fb=_0x568c59;super(),_0xe730d4(this,_0x4674fb(0x201),!0x1),_0xe730d4(this,_0x4674fb(0x129),!0x1),_0xe730d4(this,'_cursorInfo$',new _0x2d9524[(_0x4674fb(0x1cf))](new Map())),_0xe730d4(this,_0x4674fb(0x1ac),this[_0x4674fb(0x174)][_0x4674fb(0x2ba)]()),_0xe730d4(this,_0x4674fb(0x355),new _0x2d9524['BehaviorSubject']([])),_0xe730d4(this,_0x4674fb(0x13b),this[_0x4674fb(0x355)][_0x4674fb(0x175)](_0x2d9524[_0x4674fb(0x2ab)](_0x2fd63a))),_0xe730d4(this,_0x4674fb(0x244),_0x4b176f[_0x4674fb(0x208)]((_0x5e6aab,_0x4216e1)=>{const _0x407cef=_0x4674fb,_0x1a7230={'eventID':_0x2cf75e['CollaborationEvent'][_0x407cef(0x266)],'data':{'unitID':this[_0x407cef(0xff)],'memberID':this[_0x407cef(0x316)][_0x407cef(0x23f)](),'selection':_0x1707bd['serializeRangeWithSheet'](_0x5e6aab,_0x4216e1[_0x407cef(0x209)])}};this['_session'][_0x407cef(0x11c)](_0x1a7230,this[_0x407cef(0xff)]);},_0xdbf390)),(this[_0x4674fb(0xff)]=_0x48d25c,this[_0x4674fb(0x316)]=_0x530191,this[_0x4674fb(0x148)]=_0x103a00,this[_0x4674fb(0xef)]=_0x406c7d,this[_0x4674fb(0x100)]=_0x5e1cb5,this[_0x4674fb(0xbb)]=_0x1acda7,this[_0x4674fb(0x115)]=_0x26a4eb,this[_0x4674fb(0xa7)]=_0x490a27);}get[_0x568c59(0x22a)](){const _0x432a4=_0x568c59;return this[_0x432a4(0x174)]['getValue']();}get[_0x568c59(0xe2)](){const _0x5f1fa5=_0x568c59;return this['_roomMembers$'][_0x5f1fa5(0xce)]();}[_0x568c59(0x106)](){const _0x5339d0=_0x568c59;super[_0x5339d0(0x106)](),this[_0x5339d0(0x174)]['next'](new Map()),this[_0x5339d0(0x174)]['complete'](),this[_0x5339d0(0x355)][_0x5339d0(0x165)]([]),this[_0x5339d0(0x355)][_0x5339d0(0xda)]();}[_0x568c59(0x194)](){const _0x5626de=_0x568c59;this[_0x5626de(0x129)]||(this['_init']=!0x0,this['_session'][_0x5626de(0x210)][_0x5626de(0x175)](_0x2d9524[_0x5626de(0x360)](this[_0x5626de(0x2c9)]))[_0x5626de(0xe7)](_0x4eaafd=>{const _0x270453=_0x5626de;_0x4eaafd===_0x497c74[_0x270453(0xd7)][_0x270453(0x2f1)]?this[_0x270453(0x345)]():this[_0x270453(0x235)]();}),this[_0x5626de(0x316)][_0x5626de(0x12a)][_0x5626de(0x175)](_0x2d9524[_0x5626de(0x360)](this[_0x5626de(0x2c9)]))[_0x5626de(0xe7)](_0x100783=>{const _0x30b5a5=_0x5626de,_0x3cf27c=_0x100783[_0x30b5a5(0x255)];_0x3cf27c===_0x2cf75e['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x30b5a5(0x116)](_0x100783),_0x3cf27c===_0x2cf75e[_0x30b5a5(0x1bd)][_0x30b5a5(0xc3)]&&this[_0x30b5a5(0x18c)](_0x100783);}),this[_0x5626de(0x10b)](),this[_0x5626de(0x354)](this[_0x5626de(0x115)][_0x5626de(0xe9)](_0x46b7e4=>{const _0x3b5169=_0x5626de;if(this['_online']&&_0x46b7e4['id']===_0x4ba8ca[_0x3b5169(0xa3)]['id']&&_0x46b7e4[_0x3b5169(0x2c3)]['unitId']===this[_0x3b5169(0xff)]){const _0x482267=_0x46b7e4['params'];this[_0x3b5169(0x244)](_0x482267[_0x3b5169(0x1b8)],_0x482267['selections'][0x0]);}})));}[_0x568c59(0x116)](_0x208182){const _0x43a178=_0x568c59;var _0x439a9d,_0x43671a;const {memberID:_0x369b1e,selection:_0x286652}=_0x208182['data'],{sheetName:_0x36d6b3,range:_0x964ea6}=_0x1707bd['deserializeRangeWithSheet'](_0x286652),_0x2cd365={'name':(_0x43671a=(_0x439a9d=this['_memberService'][_0x43a178(0x91)](this[_0x43a178(0xff)],_0x369b1e))==null?void 0x0:_0x439a9d[_0x43a178(0x111)])!=null?_0x43671a:_0x43a178(0x2c1),'range':this[_0x43a178(0x184)](_0x36d6b3,_0x964ea6),'sheetID':_0x36d6b3,'color':this[_0x43a178(0xef)][_0x43a178(0x25c)](_0x369b1e),'selection':_0x286652},_0x9da315=this[_0x43a178(0x22a)];_0x9da315[_0x43a178(0xd2)](_0x369b1e,_0x2cd365),this[_0x43a178(0x174)][_0x43a178(0x165)](_0x9da315);}[_0x568c59(0x18c)](_0xaf3487){const _0x2020f7=_0x568c59,{memberID:_0x522980}=_0xaf3487[_0x2020f7(0x221)],_0x1cc1b0=this[_0x2020f7(0x22a)];_0x1cc1b0['delete'](_0x522980),this[_0x2020f7(0x174)][_0x2020f7(0x165)](_0x1cc1b0);}['_getMergeRange'](_0x1286a7,_0x3d905e){const _0x44fd78=_0x568c59;var _0x3a49bf,_0xc338e6;const _0x1e1b50=(_0xc338e6=(_0x3a49bf=this[_0x44fd78(0xbb)][_0x44fd78(0x33e)](this[_0x44fd78(0xff)]))==null?void 0x0:_0x3a49bf[_0x44fd78(0x1ca)](_0x1286a7))==null?void 0x0:_0xc338e6['getMergeData']();return(_0x1e1b50==null?void 0x0:_0x1e1b50[_0x44fd78(0x300)](_0x22df91=>_0x4b176f[_0x44fd78(0x162)][_0x44fd78(0x35b)](_0x22df91,_0x3d905e)))||_0x3d905e;}[_0x568c59(0x10b)](){const _0x382e78=_0x568c59,_0x3b75df=new _0x4b176f['DisposableCollection'](),_0x27f2c3=_0x152b33(),_0x4d100e=()=>{const _0x2a341e=_0x34b8;_0x3b75df[_0x2a341e(0x106)]();const _0x7099a0=(_0x5c8027,_0x5d0c5a,_0x262008,_0x721060)=>{const _0x5ae608=_0x2a341e;let _0x529a1e=[];switch(_0x5c8027['id']){case _0x4ba8ca['EffectRefRangId'][_0x5ae608(0x189)]:{_0x529a1e=_0x4ba8ca[_0x5ae608(0x19a)](_0x5c8027,_0x721060);break;}case _0x4ba8ca['EffectRefRangId'][_0x5ae608(0x27e)]:{_0x529a1e=_0x4ba8ca[_0x5ae608(0x187)](_0x5c8027,_0x721060);break;}case _0x4ba8ca[_0x5ae608(0x302)]['InsertColCommandId']:{_0x529a1e=_0x4ba8ca['handleInsertCol'](_0x5c8027,_0x721060);break;}case _0x4ba8ca[_0x5ae608(0x302)][_0x5ae608(0x34c)]:{_0x529a1e=_0x4ba8ca['handleInsertRangeMoveDown'](_0x5c8027,_0x721060);break;}case _0x4ba8ca['EffectRefRangId'][_0x5ae608(0x2a4)]:{_0x529a1e=_0x4ba8ca[_0x5ae608(0xcc)](_0x5c8027,_0x721060);break;}case _0x4ba8ca['EffectRefRangId'][_0x5ae608(0x1e0)]:{_0x529a1e=_0x4ba8ca[_0x5ae608(0x114)](_0x5c8027,_0x721060);break;}case _0x4ba8ca[_0x5ae608(0x302)][_0x5ae608(0x123)]:{_0x529a1e=_0x4ba8ca[_0x5ae608(0x26b)](_0x5c8027,_0x721060);break;}case _0x4ba8ca[_0x5ae608(0x302)][_0x5ae608(0xa4)]:{_0x529a1e=_0x4ba8ca[_0x5ae608(0x25f)](_0x5c8027,_0x721060);break;}case _0x4ba8ca[_0x5ae608(0x302)]['RemoveRowCommandId']:{_0x529a1e=_0x4ba8ca[_0x5ae608(0x2f3)](_0x5c8027,_0x721060);break;}}const _0x580455=_0x4ba8ca[_0x5ae608(0x1d8)](_0x529a1e,_0x721060),_0x1a32b9=this[_0x5ae608(0x22a)][_0x5ae608(0x9e)](_0x5d0c5a);if(_0x1a32b9&&_0x580455){const _0x5d57c5={..._0x1a32b9,'range':_0x580455};this[_0x5ae608(0x22a)][_0x5ae608(0xd2)](_0x5d0c5a,_0x5d57c5),_0x27f2c3(()=>{const _0x5520cf=_0x5ae608,_0x346a15=this[_0x5520cf(0xa7)][_0x5520cf(0x1a5)](_0x580455,_0x2d31db=>(_0x346a15[_0x5520cf(0x106)](),_0x7099a0(_0x2d31db,_0x5d0c5a,_0x262008,_0x580455)));_0x3b75df[_0x5520cf(0x2bf)](_0x346a15);});}return{'redos':[],'undos':[]};};this[_0x2a341e(0x22a)][_0x2a341e(0x15e)]((_0x3602ca,_0x30a3de)=>{const _0x49b6f1=_0x2a341e,{range:_0x4c57ce,sheetID:_0x33243a}=_0x3602ca,_0x54a744=this[_0x49b6f1(0xa7)][_0x49b6f1(0x1a5)](_0x4c57ce,_0x33de9c=>(_0x54a744[_0x49b6f1(0x106)](),_0x7099a0(_0x33de9c,_0x30a3de,_0x33243a,_0x4c57ce)));_0x3b75df[_0x49b6f1(0x2bf)](_0x54a744);});};this[_0x382e78(0x354)](_0x4b176f[_0x382e78(0xa6)](this['_cursorInfo$']['subscribe'](()=>{_0x4d100e();})));}[_0x568c59(0x345)](){const _0xa642d4=_0x568c59;var _0x59f55e,_0x49eec7;if(this[_0xa642d4(0x201)]=!0x0,((_0x59f55e=this[_0xa642d4(0xbb)][_0xa642d4(0x18f)]())==null?void 0x0:_0x59f55e[_0xa642d4(0x1f3)]())!==this[_0xa642d4(0xff)])return;const _0x1a6d1b=(_0x49eec7=this[_0xa642d4(0x148)]['get'](_0x4ba8ca[_0xa642d4(0x358)])[_0xa642d4(0x86)]())==null?void 0x0:_0x49eec7[0x0],_0x29ed25=this[_0xa642d4(0xbb)][_0xa642d4(0x11a)](_0x4b176f[_0xa642d4(0xc6)][_0xa642d4(0x1f2)])[_0xa642d4(0x2cb)]();_0x1a6d1b&&_0x29ed25&&this[_0xa642d4(0x244)](_0x29ed25[_0xa642d4(0x118)](),_0x1a6d1b);}[_0x568c59(0x235)](){const _0x50dc50=_0x568c59;this[_0x50dc50(0x201)]=!0x1;}};_0x8f0c30=_0x20e6db([_0x35bee9(0x2,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x2b0)])),_0x35bee9(0x3,_0x4b176f[_0x568c59(0x36e)](_0x4009eb)),_0x35bee9(0x4,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x2f0)])),_0x35bee9(0x5,_0x4b176f['IUniverInstanceService']),_0x35bee9(0x6,_0x4b176f[_0x568c59(0x32b)]),_0x35bee9(0x7,_0x4b176f[_0x568c59(0x36e)](_0x4ba8ca[_0x568c59(0x2b4)]))],_0x8f0c30);var _0x37d882=Object['getOwnPropertyDescriptor'],_0x5c5d4a=(_0x492623,_0x1dff59,_0x5dc127,_0x4f837f)=>{const _0x3f8c51=_0x568c59;for(var _0x3fd4d1=_0x4f837f>0x1?void 0x0:_0x4f837f?_0x37d882(_0x1dff59,_0x5dc127):_0x1dff59,_0x1c1114=_0x492623[_0x3f8c51(0x261)]-0x1,_0x49c918;_0x1c1114>=0x0;_0x1c1114--)(_0x49c918=_0x492623[_0x1c1114])&&(_0x3fd4d1=_0x49c918(_0x3fd4d1)||_0x3fd4d1);return _0x3fd4d1;},_0x3f5b2f=(_0x44fc5d,_0x593bc3)=>(_0x2a7c06,_0x266415)=>_0x593bc3(_0x2a7c06,_0x266415,_0x44fc5d);let _0x53db82=class extends _0x4b176f['RxDisposable']{constructor(_0x18a9a4,_0x2240e6,_0x348426){const _0x3cf699=_0x568c59;super(),_0xe730d4(this,_0x3cf699(0x2bc),new Map()),_0xe730d4(this,_0x3cf699(0x287),new _0x2d9524['Subject']()),(this['_univerInstanceService']=_0x18a9a4,this['_injector']=_0x2240e6,this[_0x3cf699(0x245)]=_0x348426,this[_0x3cf699(0x129)]());}['dispose'](){const _0x238994=_0x568c59;super[_0x238994(0x106)](),this[_0x238994(0x287)][_0x238994(0xda)](),this[_0x238994(0x2bc)][_0x238994(0x15e)](_0x5b0205=>_0x5b0205[_0x238994(0x106)]());}['getCollabCursors$'](_0xf234f){const _0x54cd19=_0x568c59;return this[_0x54cd19(0x2bc)][_0x54cd19(0x268)](_0xf234f)?this[_0x54cd19(0x2bc)][_0x54cd19(0x9e)](_0xf234f)['cursorInfo$']:this[_0x54cd19(0x287)][_0x54cd19(0x175)](_0x2d9524[_0x54cd19(0x365)](_0x5bc7bd=>_0x5bc7bd[_0x54cd19(0xff)]===_0xf234f),_0x2d9524['switchMap'](_0x4d1a08=>_0x4d1a08[_0x54cd19(0x1ac)]));}[_0x568c59(0x129)](){const _0x4ec8be=_0x568c59;this['_univerInstanceService'][_0x4ec8be(0xf7)](_0x4b176f[_0x4ec8be(0xc6)]['UNIVER_SHEET'])[_0x4ec8be(0x175)](_0x2d9524[_0x4ec8be(0x360)](this[_0x4ec8be(0x2c9)]))[_0x4ec8be(0xe7)](async _0x434f8b=>{const _0x216f79=_0x4ec8be,_0x4b7d6d=_0x434f8b[_0x216f79(0x1f3)](),_0x24e280=await this['_startSheetCollabCursor'](_0x4b7d6d);this['_entityInit$'][_0x216f79(0x165)](_0x24e280),this['_entities'][_0x216f79(0xd2)](_0x4b7d6d,_0x24e280);}),this['_univerInstanceService'][_0x4ec8be(0xf7)](_0x4b176f[_0x4ec8be(0xc6)][_0x4ec8be(0x141)])[_0x4ec8be(0x175)](_0x2d9524[_0x4ec8be(0x360)](this[_0x4ec8be(0x2c9)]))[_0x4ec8be(0x175)](_0x2d9524[_0x4ec8be(0x365)](_0x4ee439=>!_0x4ee439[_0x4ec8be(0x1f3)]()[_0x4ec8be(0x1b3)]('__')))[_0x4ec8be(0xe7)](async _0xa4b31b=>{const _0x4c1a76=_0x4ec8be,_0x2b489a=_0xa4b31b[_0x4c1a76(0x1f3)](),_0xe020ee=await this[_0x4c1a76(0xfb)](_0x2b489a);this[_0x4c1a76(0x287)][_0x4c1a76(0x165)](_0xe020ee),this[_0x4c1a76(0x2bc)][_0x4c1a76(0xd2)](_0x2b489a,_0xe020ee);}),_0x2d9524['merge'](this[_0x4ec8be(0xbb)][_0x4ec8be(0xc8)](_0x4b176f[_0x4ec8be(0xc6)][_0x4ec8be(0x141)]),this[_0x4ec8be(0xbb)][_0x4ec8be(0xc8)](_0x4b176f[_0x4ec8be(0xc6)][_0x4ec8be(0x1f2)]))['pipe'](_0x2d9524[_0x4ec8be(0x360)](this[_0x4ec8be(0x2c9)]))[_0x4ec8be(0xe7)](_0xca7592=>{const _0x11535e=_0x4ec8be,_0x2ea9ed=_0xca7592[_0x11535e(0x1f3)](),_0x1101e8=this[_0x11535e(0x2bc)][_0x11535e(0x9e)](_0x2ea9ed);_0x1101e8&&(_0x1101e8['dispose'](),this[_0x11535e(0x2bc)]['delete'](_0x2ea9ed));});}async[_0x568c59(0x130)](_0x32392b){const _0x396471=_0x568c59,_0x47dcf7=await this[_0x396471(0x245)][_0x396471(0x225)](_0x32392b),_0x53cb74=this[_0x396471(0x148)][_0x396471(0x2a8)](_0x8f0c30,_0x32392b,_0x47dcf7);return _0x53cb74['init'](),_0x53cb74;}async[_0x568c59(0xfb)](_0x7cad46){const _0x383843=_0x568c59,_0x5b0175=await this[_0x383843(0x245)][_0x383843(0x225)](_0x7cad46),_0x5976a7=this[_0x383843(0x148)]['createInstance'](_0x2c2994,_0x7cad46,_0x5b0175);return _0x5976a7['init'](),_0x5976a7;}};_0x53db82=_0x5c5d4a([_0x3f5b2f(0x0,_0x4b176f[_0x568c59(0x26f)]),_0x3f5b2f(0x1,_0x4b176f[_0x568c59(0x36e)](_0x4b176f['Injector'])),_0x3f5b2f(0x2,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x29f)]))],_0x53db82);const _0x21a6a9=0x14,_0x367f7e=0xc8,_0x167a5c=0x4,_0x3cdce1=0x5;function _0x42254b(_0x313b12,_0x5af7f4){const _0x2d4bda=_0x568c59;let {radius:_0x335b2c,width:_0x33d915,height:_0x83cbee}=_0x5af7f4;_0x335b2c=_0x335b2c!=null?_0x335b2c:0x0,_0x33d915=_0x33d915!=null?_0x33d915:0x1e,_0x83cbee=_0x83cbee!=null?_0x83cbee:0x1e;let _0x447c61=0x0,_0x2f75a2=0x0,_0x26f420=0x0;_0x447c61=_0x2f75a2=_0x26f420=Math[_0x2d4bda(0x1b2)](_0x335b2c,_0x33d915/0x2,_0x83cbee/0x2),_0x313b12['beginPath'](),_0x313b12[_0x2d4bda(0x1a2)](_0x447c61,0x0),_0x313b12[_0x2d4bda(0xe0)](_0x33d915-_0x2f75a2,0x0),_0x313b12[_0x2d4bda(0xeb)](_0x33d915-_0x2f75a2,_0x2f75a2,_0x2f75a2,Math['PI']*0x3/0x2,0x0,!0x1),_0x313b12[_0x2d4bda(0xe0)](_0x33d915,_0x83cbee-_0x26f420),_0x313b12[_0x2d4bda(0xeb)](_0x33d915-_0x26f420,_0x83cbee-_0x26f420,_0x26f420,0x0,Math['PI']/0x2,!0x1),_0x313b12[_0x2d4bda(0xe0)](0x0,_0x83cbee),_0x313b12[_0x2d4bda(0xe0)](0x0,_0x447c61),_0x313b12[_0x2d4bda(0xeb)](_0x447c61,_0x447c61,_0x447c61,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x313b12[_0x2d4bda(0x167)](),_0x5af7f4[_0x2d4bda(0x8f)]&&(_0x313b12[_0x2d4bda(0xdf)](),_0x313b12[_0x2d4bda(0x2c7)]=_0x5af7f4['fill'],_0x5af7f4[_0x2d4bda(0x2f9)]===_0x2d4bda(0x21d)?_0x313b12['fill'](_0x2d4bda(0x21d)):_0x313b12[_0x2d4bda(0x8f)](),_0x313b12[_0x2d4bda(0x24d)]());}class _0x1a0ab3 extends _0x517da6[_0x568c59(0x1ad)]{constructor(_0x4db68e,_0xf5216f){const _0x25b852=_0x568c59;super(_0x4db68e,_0xf5216f),_0xe730d4(this,_0x25b852(0x135)),_0xe730d4(this,_0x25b852(0x2fa)),(this[_0x25b852(0x135)]=_0xf5216f==null?void 0x0:_0xf5216f[_0x25b852(0x135)],this[_0x25b852(0x2fa)]=_0xf5216f==null?void 0x0:_0xf5216f['text']);}static['drawWith'](_0x5a2ebc,_0x257ff9){const _0x3e0e03=_0x568c59,{text:_0x3a99a0,color:_0x3d2785}=_0x257ff9;_0x5a2ebc[_0x3e0e03(0xdf)](),_0x5a2ebc['font']=_0x3e0e03(0x14c);const _0x2b5657=_0x5a2ebc[_0x3e0e03(0x1a6)](_0x3a99a0)['width'],_0x5ce001=Math[_0x3e0e03(0x1b2)](_0x2b5657+0x2*_0x167a5c,_0x367f7e);_0x42254b(_0x5a2ebc,{'height':_0x21a6a9,'radius':0x4,'width':_0x5ce001,'fill':_0x3d2785}),_0x5a2ebc[_0x3e0e03(0x2c7)]=_0x3e0e03(0x2a2);const _0x386ebf=_0x167a5c,_0x2d99bf=_0x21a6a9-_0x3cdce1,_0xd16930=_0x367f7e-0x2*_0x167a5c;if(_0x2b5657>_0xd16930){let _0xf87f0c='',_0x13cf9d=0x0;for(const _0x11b1ec of _0x3a99a0){const _0x5c3799=_0x5a2ebc[_0x3e0e03(0x1a6)](_0x11b1ec)[_0x3e0e03(0x2f5)];if(_0x13cf9d+_0x5c3799<=_0xd16930-_0x5a2ebc[_0x3e0e03(0x1a6)](_0x3e0e03(0x1a8))[_0x3e0e03(0x2f5)])_0xf87f0c+=_0x11b1ec,_0x13cf9d+=_0x5c3799;else{_0xf87f0c+=_0x3e0e03(0x1a8);break;}}_0x5a2ebc['fillText'](_0xf87f0c,_0x386ebf,_0x2d99bf);}else _0x5a2ebc[_0x3e0e03(0x331)](_0x3a99a0,_0x386ebf,_0x2d99bf);_0x5a2ebc[_0x3e0e03(0x24d)]();}[_0x568c59(0x32e)](_0x3bd794){const _0x188af3=_0x568c59;_0x1a0ab3[_0x188af3(0x1f0)](_0x3bd794,this);}}const _0x4e9940='collab-text-anchor-',_0x2c0825=_0x568c59(0x1b9),_0x11e65f=_0x568c59(0x173),_0x43bf1e=0x6,_0x3c9181=1.5,_0x803823=0x4,_0x5c6dee=1.5,_0x2032f6=_0x568c59(0x144);class _0x4a4828{constructor(_0x1e08df,_0x2a6a03,_0x264c18,_0x5a0b87){const _0x1ee61d=_0x568c59;_0xe730d4(this,_0x1ee61d(0x2e8),[]),_0xe730d4(this,'_anchor',null),_0xe730d4(this,_0x1ee61d(0x1fa),null),_0xe730d4(this,'_anchorDot',null),_0xe730d4(this,_0x1ee61d(0x14f),null),_0xe730d4(this,_0x1ee61d(0x314),null),(this['_cursor']=_0x1e08df,this[_0x1ee61d(0x301)]=_0x2a6a03,this[_0x1ee61d(0x200)]=_0x264c18,this['_document']=_0x5a0b87,this[_0x1ee61d(0xf9)]());}set[_0x568c59(0x219)](_0x32bac7){const _0xc05020=_0x568c59;_0x32bac7?(this[_0xc05020(0x2a0)]&&this['_anchorDot'][_0xc05020(0x92)](),this[_0xc05020(0x1fa)]&&this[_0xc05020(0x1fa)][_0xc05020(0x154)]()):(this['_anchorDot']&&this[_0xc05020(0x2a0)]['show'](),this['_textBubble']&&this[_0xc05020(0x1fa)]['hide']());}[_0x568c59(0x106)](){const _0x1e3af2=_0x568c59;for(const _0x48976c of this['_shapes'])_0x48976c[_0x1e3af2(0x106)]();this[_0x1e3af2(0x1fa)]&&this[_0x1e3af2(0x1fa)][_0x1e3af2(0x106)](),this[_0x1e3af2(0x2a0)]&&this[_0x1e3af2(0x2a0)][_0x1e3af2(0x106)](),this[_0x1e3af2(0x25d)]&&this[_0x1e3af2(0x25d)]['dispose'](),this['_eventUnsubscribe']&&this[_0x1e3af2(0x314)]();}[_0x568c59(0xf9)](){const _0x5ca834=_0x568c59;var _0x467ca4;const {_docSkeleton:_0x1789ef,_document:_0x3e8419}=this,{color:_0x24f206,name:_0x3d8bfe,ranges:_0x479082}=this['_cursor'],_0x1132cf=_0x3e8419[_0x5ca834(0x1a1)](),{docsLeft:_0x13d9ba,docsTop:_0x27f99a}=_0x1132cf,_0x4d6ff6=new _0x5f0c77[(_0x5ca834(0x28c))](_0x1132cf,_0x1789ef);for(const {startOffset:_0x14201c,endOffset:_0x3f1aac,rangeType:_0xb9db8f,segmentId:_0x1d20b0,segmentPage:_0x2b3ea0,collapsed:_0x4b1738,isActive:_0x2629aa}of _0x479082){const _0xbb9b19=_0x1789ef['findNodePositionByCharIndex'](_0x14201c,!0x0,_0x1d20b0,_0x2b3ea0);let _0x2eb71d=_0x1789ef['findNodePositionByCharIndex'](_0x3f1aac,!0x0,_0x1d20b0,_0x2b3ea0);if(_0x2eb71d==null&&(_0x2eb71d=_0x1789ef['findNodePositionByCharIndex'](_0x3f1aac-0x1,!0x1,_0x1d20b0,_0x2b3ea0)),_0x2629aa){const {contentBoxPointGroup:_0x357b46}=_0x4d6ff6[_0x5ca834(0x35d)](_0x2eb71d,_0x2eb71d);if(_0x357b46[_0x5ca834(0x261)]===0x0)continue;this[_0x5ca834(0x2dc)](_0x24f206,_0x357b46,_0x13d9ba,_0x27f99a,_0x3d8bfe),this[_0x5ca834(0x314)]=this['_handleHover']();}if(_0xbb9b19&&_0x2eb71d){if(_0xb9db8f===_0x4b176f[_0x5ca834(0xca)][_0x5ca834(0xb1)]){const _0x4c24a2=new _0x5f0c77[(_0x5ca834(0x2a1))](_0x1132cf,_0x1789ef),{pointGroup:_0x5948be}=(_0x467ca4=_0x4c24a2[_0x5ca834(0x35d)](_0xbb9b19,_0x2eb71d))!=null?_0x467ca4:{};if(_0x5948be==null||_0x5948be[_0x5ca834(0x261)]===0x0)continue;this[_0x5ca834(0x15f)](_0x24f206,_0x5948be,_0x13d9ba,_0x27f99a);}else{if(!_0x4b1738){const {borderBoxPointGroup:_0x48d85d}=_0x4d6ff6[_0x5ca834(0x35d)](_0xbb9b19,_0x2eb71d);if(_0x48d85d[_0x5ca834(0x261)]===0x0)continue;this[_0x5ca834(0x1b0)](_0x24f206,_0x48d85d,_0x13d9ba,_0x27f99a);}}}}}[_0x568c59(0x2dc)](_0x5ba58c,_0x184b93,_0x532d82,_0x4c2b65,_0x418499){const _0xa5e435=_0x568c59,_0x168ab8=this[_0xa5e435(0x121)](_0x184b93),{left:_0x2e4ab5,top:_0x59334a,height:_0x2cedc6}=_0x168ab8,_0x4bee49=this[_0xa5e435(0x2be)](),_0x1defe2=_0x5c6dee/_0x4bee49,_0x58d0f7=new _0x517da6[(_0xa5e435(0x317))](_0x4e9940+_0x4b176f[_0xa5e435(0x22e)](_0x43bf1e),{'left':_0x2e4ab5+_0x532d82-_0x1defe2,'top':_0x59334a+_0x4c2b65,'height':_0x2cedc6,'width':_0x3c9181,'fill':_0x5ba58c||_0x517da6['getColor'](_0x4b176f[_0xa5e435(0xae)][_0xa5e435(0x246)],0x0),'strokeWidth':_0x1defe2,'stroke':_0x2032f6,'evented':!0x0});this[_0xa5e435(0x25d)]=_0x58d0f7,this[_0xa5e435(0x301)][_0xa5e435(0x102)](_0x58d0f7,_0x5f0c77['TEXT_RANGE_LAYER_INDEX']);const _0x4d18a8=new _0x517da6[(_0xa5e435(0x317))](_0x4e9940+_0x4b176f[_0xa5e435(0x22e)](_0x43bf1e),{'left':_0x2e4ab5+_0x532d82-_0x1defe2,'top':_0x59334a+_0x4c2b65-_0x803823/0x2,'height':_0x803823,'width':_0x803823,'fill':_0x5ba58c||_0x517da6['getColor'](_0x4b176f[_0xa5e435(0xae)][_0xa5e435(0x246)],0x0),'strokeWidth':0x0,'stroke':_0x5ba58c||_0x517da6[_0xa5e435(0x15c)](_0x4b176f['COLORS'][_0xa5e435(0x246)],0x0),'evented':!0x1});this[_0xa5e435(0x2a0)]=_0x4d18a8,this[_0xa5e435(0x301)][_0xa5e435(0x102)](_0x4d18a8,_0x5f0c77[_0xa5e435(0xa0)]);const _0x533f8a=new _0x1a0ab3(_0x4e9940+_0x4b176f[_0xa5e435(0x22e)](_0x43bf1e),{'left':_0x2e4ab5+_0x532d82-_0x1defe2,'top':_0x59334a+_0x4c2b65-_0x21a6a9,'text':_0x418499,'color':_0x5ba58c});this['_textBubble']=_0x533f8a,this[_0xa5e435(0x301)]['addObject'](_0x533f8a,_0x5f0c77[_0xa5e435(0xa0)]),this[_0xa5e435(0x219)]=!0x1;}[_0x568c59(0x133)](){const _0x468009=_0x568c59,_0x571e41=this[_0x468009(0x25d)][_0x468009(0x9f)][_0x468009(0x318)](()=>{const _0x38f37d=_0x468009;this[_0x38f37d(0x219)]=!0x0;}),_0xf4c749=this[_0x468009(0x25d)][_0x468009(0xb4)]['subscribeEvent'](()=>{const _0x10b5b3=_0x468009;this['_hideTimer']&&clearTimeout(this[_0x10b5b3(0x14f)]),this[_0x10b5b3(0x14f)]=setTimeout(()=>{const _0x4bab3b=_0x10b5b3;this[_0x4bab3b(0x219)]=!0x1;},0x7d0);});return()=>{_0x571e41['unsubscribe'](),_0xf4c749['unsubscribe']();};}[_0x568c59(0x1b0)](_0x5cdd72,_0x3f6c32,_0x46e403,_0x4797cc){const _0x3c7abf=_0x568c59,_0x135f59=new _0x4b176f['ColorKit'](_0x5cdd72)[_0x3c7abf(0xf3)](0.2)[_0x3c7abf(0x1ed)](),_0x422cf1=new _0x517da6[(_0x3c7abf(0x281))](_0x2c0825+_0x4b176f[_0x3c7abf(0x22e)](_0x43bf1e),{'pointsGroup':_0x3f6c32,'fill':_0x135f59||_0x517da6[_0x3c7abf(0x15c)](_0x4b176f[_0x3c7abf(0xae)][_0x3c7abf(0x246)],0.2),'left':_0x46e403,'top':_0x4797cc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3c7abf(0x2e8)][_0x3c7abf(0x1cc)](_0x422cf1),this[_0x3c7abf(0x301)]['addObject'](_0x422cf1,_0x5f0c77[_0x3c7abf(0xa0)]);}[_0x568c59(0x15f)](_0x59f840,_0x26384e,_0x435584,_0x44b69d){const _0x3d057c=_0x568c59,_0x3fe02c=new _0x4b176f[(_0x3d057c(0x292))](_0x59f840)[_0x3d057c(0xf3)](0.2)[_0x3d057c(0x1ed)](),_0xddf071=new _0x517da6[(_0x3d057c(0x281))](_0x11e65f+_0x4b176f['generateRandomId'](_0x43bf1e),{'pointsGroup':_0x26384e,'fill':_0x3fe02c||_0x517da6['getColor'](_0x4b176f[_0x3d057c(0xae)]['black'],0.2),'left':_0x435584,'top':_0x44b69d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3d057c(0x1cc)](_0xddf071),this[_0x3d057c(0x301)][_0x3d057c(0x102)](_0xddf071,_0x5f0c77[_0x3d057c(0xa0)]);}[_0x568c59(0x121)](_0x41a536){const _0x3376e1=_0x41a536[0x0],_0x3ca364=_0x3376e1[0x0],_0x4b8cc1=_0x3376e1[0x2],{x:_0xadd302,y:_0x237372}=_0x3ca364,{x:_0x487d0f,y:_0xe00c11}=_0x4b8cc1;return{'left':_0xadd302,'top':_0x237372,'width':_0x487d0f-_0xadd302,'height':_0xe00c11-_0x237372};}[_0x568c59(0x2be)](){const _0x4da505=_0x568c59,{scaleX:_0x40f3ca,scaleY:_0x4dee50}=this['_scene'][_0x4da505(0xe3)]();return Math[_0x4da505(0x12e)](_0x40f3ca,_0x4dee50);}}var _0x19d6a8=Object[_0x568c59(0xf5)],_0x5ac40a=(_0x2a9660,_0x1932b0,_0x2e58a5,_0x5a2bff)=>{for(var _0x336ecb=_0x5a2bff>0x1?void 0x0:_0x5a2bff?_0x19d6a8(_0x1932b0,_0x2e58a5):_0x1932b0,_0x466643=_0x2a9660['length']-0x1,_0x313009;_0x466643>=0x0;_0x466643--)(_0x313009=_0x2a9660[_0x466643])&&(_0x336ecb=_0x313009(_0x336ecb)||_0x336ecb);return _0x336ecb;},_0x4b8ca1=(_0x2c63ef,_0x3044a0)=>(_0x30b68f,_0x296753)=>_0x3044a0(_0x30b68f,_0x296753,_0x2c63ef);let _0x578f3e=class extends _0x4b176f['RxDisposable']{constructor(_0x5476cc,_0x3b0f9b,_0x3a70b7,_0x416471,_0x20dda3){const _0x1fbe36=_0x568c59;super(),_0xe730d4(this,_0x1fbe36(0xb9),[]),_0xe730d4(this,_0x1fbe36(0x197),[]),(this[_0x1fbe36(0x2f2)]=_0x5476cc,this[_0x1fbe36(0x10f)]=_0x3b0f9b,this['_collabCursorController']=_0x3a70b7,this[_0x1fbe36(0x115)]=_0x416471,this['_themeService']=_0x20dda3,this[_0x1fbe36(0x129)]());}[_0x568c59(0x129)](){const _0x51c32a=_0x568c59,_0x2d39bd=this[_0x51c32a(0x2f2)][_0x51c32a(0x13a)],_0x3a7cb3=this[_0x51c32a(0x10f)];this[_0x51c32a(0x354)](_0x2d9524['combineLatest']([this[_0x51c32a(0x34d)][_0x51c32a(0x1fb)](_0x2d39bd),this[_0x51c32a(0x2a7)][_0x51c32a(0x2cf)]])[_0x51c32a(0x175)](_0x11f65e[_0x51c32a(0x27b)](([_0x50d772,_0x32d235])=>({'skeleton':_0x3a7cb3['getSkeleton'](),'cursors':[..._0x50d772[_0x51c32a(0x373)]()][_0x51c32a(0x23c)](_0x41472b=>({..._0x41472b,'color':this['_themeService'][_0x51c32a(0x325)](_0x41472b[_0x51c32a(0x135)])}))})))[_0x51c32a(0xe7)](_0x466482=>{const _0x415a07=_0x51c32a;if(this['_removeCollabCursors'](),_0x466482){const {skeleton:_0x381120,cursors:_0x52116c}=_0x466482;this[_0x415a07(0x29c)](_0x381120,_0x52116c);}})),this['_initResize'](),this[_0x51c32a(0x274)]();}['_updateCollabCursors'](_0x209378,_0x39aaf7){const _0x5a7f33=_0x568c59,{scene:_0x1cd50d,mainComponent:_0x4be5c}=this[_0x5a7f33(0x2f2)],_0x31ad0b=_0x39aaf7[_0x5a7f33(0x27b)](_0x2f8b0c=>new _0x4a4828(_0x2f8b0c,_0x1cd50d,_0x209378,_0x4be5c));this[_0x5a7f33(0xb9)]=_0x31ad0b,this[_0x5a7f33(0x197)]=_0x39aaf7;}[_0x568c59(0x19b)](){const _0x22b28a=_0x568c59;this[_0x22b28a(0x283)]();const {scene:_0x10bb61,mainComponent:_0x4afb7c}=this[_0x22b28a(0x2f2)],_0x486951=this[_0x22b28a(0x10f)]['getSkeleton'](),_0x301b36=this[_0x22b28a(0x197)][_0x22b28a(0x27b)](_0x1fa623=>new _0x4a4828(_0x1fa623,_0x10bb61,_0x486951,_0x4afb7c));this[_0x22b28a(0xb9)]=_0x301b36;}[_0x568c59(0x283)](){const _0x5c3dd2=_0x568c59;this['_cursorShapes']['forEach'](_0xfb101c=>_0xfb101c['dispose']()),this[_0x5c3dd2(0xb9)]=[];}['_initCommandExecutedListener'](){const _0x41983d=_0x568c59,_0x5b6564=[_0x5f0c77[_0x41983d(0x319)]['id']];this[_0x41983d(0x354)](this[_0x41983d(0x115)][_0x41983d(0xe9)](_0x47ac55=>{const _0x3bccaa=_0x41983d;_0x5b6564[_0x3bccaa(0x293)](_0x47ac55['id'])&&_0x47ac55[_0x3bccaa(0x2c3)]['unitId']===this[_0x3bccaa(0x2f2)][_0x3bccaa(0x13a)]&&this[_0x3bccaa(0x19b)]();}));}[_0x568c59(0x8e)](){const _0x32616c=_0x568c59;this[_0x32616c(0x354)](_0x4b176f['fromEventSubject'](this['_context'][_0x32616c(0x332)]['onTransformChange$'])[_0x32616c(0x175)](_0x11f65e['filter'](_0x35afb6=>_0x35afb6[_0x32616c(0x350)]===_0x517da6[_0x32616c(0x352)][_0x32616c(0x2ea)]),_0x11f65e['throttleTime'](0x10))[_0x32616c(0xe7)](()=>{const _0x53b12a=_0x32616c;this[_0x53b12a(0x19b)]();}));}};_0x578f3e=_0x5ac40a([_0x4b8ca1(0x1,_0x4b176f['Inject'](_0xb532ca[_0x568c59(0x28d)])),_0x4b8ca1(0x2,_0x4b176f[_0x568c59(0x36e)](_0x53db82)),_0x4b8ca1(0x3,_0x4b176f[_0x568c59(0x32b)]),_0x4b8ca1(0x4,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x223)]))],_0x578f3e);const _0x82d777=0x1,_0xa9e60e=1.5;class _0x2b40de extends _0x517da6[_0x568c59(0x1ad)]{constructor(_0x52d6b7,_0x161416){const _0x5981cf=_0x568c59;super(_0x52d6b7,_0x161416),_0xe730d4(this,'_color'),_0xe730d4(this,_0x5981cf(0x196),!0x1),_0xe730d4(this,_0x5981cf(0x20e)),_0xe730d4(this,_0x5981cf(0x248),''),_0xe730d4(this,_0x5981cf(0x198),_0x5981cf(0x311)),_0xe730d4(this,_0x5981cf(0x14b)),(_0x161416&&this['setShapeProps'](_0x161416),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x5981cf(0x32d)]({'hovered':!0x0})),this[_0x5981cf(0xb4)][_0x5981cf(0x318)](()=>this[_0x5981cf(0x32d)]({'hovered':!0x1})));}[_0x568c59(0x32d)](_0x31ca64){const _0x54efb0=_0x568c59;var _0x13cca5,_0x35327e,_0x5f2e36,_0x5ac359,_0x35e001,_0x5a1c02;this[_0x54efb0(0x34b)]=(_0x13cca5=_0x31ca64['color'])!=null?_0x13cca5:this['_color'],this['_hovered']=(_0x35327e=_0x31ca64[_0x54efb0(0x279)])!=null?_0x35327e:this[_0x54efb0(0x196)],this['_range']=(_0x5f2e36=_0x31ca64[_0x54efb0(0x209)])!=null?_0x5f2e36:this[_0x54efb0(0x20e)],this['_name']=(_0x5ac359=_0x31ca64[_0x54efb0(0x111)])!=null?_0x5ac359:this[_0x54efb0(0x248)],this[_0x54efb0(0x198)]=(_0x35e001=_0x31ca64[_0x54efb0(0x21a)])!=null?_0x35e001:this[_0x54efb0(0x198)],this[_0x54efb0(0x14b)]=(_0x5a1c02=_0x31ca64[_0x54efb0(0xbf)])!=null?_0x5a1c02:this[_0x54efb0(0x14b)],this[_0x54efb0(0x320)]({'width':_0x31ca64['width'],'height':_0x31ca64['height']});}[_0x568c59(0x31d)](_0x2b14e5){const _0x54ff90=_0x568c59,{row:_0x45bb9e,column:_0x212095}=_0x2b14e5;if(_0x45bb9e>=this[_0x54ff90(0x20e)]['startRow']&&_0x45bb9e<=this['_range'][_0x54ff90(0x126)]&&_0x212095>=this[_0x54ff90(0x20e)][_0x54ff90(0x13d)]&&_0x212095<=this[_0x54ff90(0x20e)][_0x54ff90(0xe6)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x54ff90(0x32d)]({'hovered':!0x1});}['triggerDblclick'](_0x2b1ed4){return!0x1;}[_0x568c59(0x32e)](_0x293359){const _0x5c36bc=_0x568c59;_0x517da6[_0x5c36bc(0x317)][_0x5c36bc(0x1f0)](_0x293359,{'width':this[_0x5c36bc(0x2f5)],'height':this['height'],'strokeWidth':_0xa9e60e,'stroke':this[_0x5c36bc(0x34b)],'evented':!0x1,'fill':this[_0x5c36bc(0x14b)]}),this['_hovered']&&(_0x293359[_0x5c36bc(0xdf)](),_0x293359[_0x5c36bc(0x30e)](0x1,0x0,0x0,0x1,this[_0x5c36bc(0x2f5)],this['_labelPosition']===_0x5c36bc(0x12d)?0x0:-_0x21a6a9),_0x1a0ab3[_0x5c36bc(0x1f0)](_0x293359,{'text':this[_0x5c36bc(0x248)],'color':this['_color']}),_0x293359[_0x5c36bc(0x24d)]());}}var _0x42b3d=Object['getOwnPropertyDescriptor'],_0x29b0df=(_0x4b012b,_0x444fbf,_0x41b040,_0x5584f3)=>{const _0x1832f0=_0x568c59;for(var _0x100be8=_0x5584f3>0x1?void 0x0:_0x5584f3?_0x42b3d(_0x444fbf,_0x41b040):_0x444fbf,_0x387936=_0x4b012b[_0x1832f0(0x261)]-0x1,_0x4c588a;_0x387936>=0x0;_0x387936--)(_0x4c588a=_0x4b012b[_0x387936])&&(_0x100be8=_0x4c588a(_0x100be8)||_0x100be8);return _0x100be8;},_0x7e96e1=(_0x5380,_0x1cc556)=>(_0x589fa8,_0x2a3ead)=>_0x1cc556(_0x589fa8,_0x2a3ead,_0x5380);const _0x45cea3=0x1389;let _0x4f696d=class extends _0x4b176f[_0x568c59(0x1ce)]{constructor(_0x25ef35,_0x1a01f1,_0xf1ee7d,_0x37b76f){const _0x4bdd=_0x568c59;super(),_0xe730d4(this,_0x4bdd(0x197),new Set()),_0xe730d4(this,_0x4bdd(0x1ef),null),(this['_context']=_0x25ef35,this[_0x4bdd(0x334)]=_0x1a01f1,this['_collabCursorController']=_0xf1ee7d,this[_0x4bdd(0x2a7)]=_0x37b76f,this['_init']());}[_0x568c59(0x129)](){const _0x2c5d66=_0x568c59;this[_0x2c5d66(0x334)][_0x2c5d66(0x18e)][_0x2c5d66(0x175)](_0x11f65e[_0x2c5d66(0x360)](this[_0x2c5d66(0x2c9)]),_0x11f65e[_0x2c5d66(0x14d)](_0x2f1350=>{const _0x399ca5=_0x2c5d66;if(_0x2f1350){const _0x154c07=_0x2f1350[_0x399ca5(0x353)];return _0x2d9524['combineLatest'](this[_0x399ca5(0x34d)][_0x399ca5(0x1fb)](this[_0x399ca5(0x2f2)][_0x399ca5(0x13a)]),this['_themeService'][_0x399ca5(0x2cf)])['pipe'](_0x11f65e[_0x399ca5(0x27b)](([_0x5402a3,_0x2ebe09])=>{const _0x56130b=_0x399ca5,_0x536e18=new Map();return _0x5402a3[_0x56130b(0x15e)]((_0xc571b5,_0x5bd700)=>{const _0x4ed3f2=_0x56130b;if(_0xc571b5[_0x4ed3f2(0x1e2)]===_0x154c07){const _0x422873={..._0xc571b5};_0x422873[_0x4ed3f2(0x135)]=this['_themeService'][_0x4ed3f2(0x325)](_0xc571b5[_0x4ed3f2(0x135)]),_0x536e18[_0x4ed3f2(0xd2)](_0x5bd700,_0x422873);}}),{'skeleton':_0x2f1350,'cursors':_0x536e18};}));}return _0x2d9524['of']({'skeleton':null,'cursors':new Map()});}))[_0x2c5d66(0xe7)](({skeleton:_0x1e9cd1,cursors:_0x1c23da})=>{const _0x52a66c=_0x2c5d66;this['_removeCollabCursors'](),_0x1e9cd1&&this[_0x52a66c(0x29c)](_0x1e9cd1,_0x1c23da);}),this['_sheetSkeletonManagerService'][_0x2c5d66(0x18e)][_0x2c5d66(0xe7)](_0x1a42b7=>{const _0x5418cc=_0x2c5d66;if(_0x1a42b7==null)return;const {skeleton:_0x31488a}=_0x1a42b7,{scene:_0x2404d7}=this[_0x5418cc(0x2f2)];_0x2404d7[_0x5418cc(0x2da)][_0x5418cc(0x318)](_0x4b176f[_0x5418cc(0x208)](_0x3d3831=>{const _0xae0b8c=_0x5418cc;var _0x5634bf,_0x4ee74a;const {offsetX:_0x1c0faa,offsetY:_0x249a82}=_0x3d3831,{x:_0x1f77ee,y:_0x130572}=_0x2404d7[_0xae0b8c(0x1c9)](_0x517da6[_0xae0b8c(0x168)][_0xae0b8c(0x36a)]([_0x1c0faa,_0x249a82])),{scaleX:_0x4a468a,scaleY:_0x2078ba}=_0x2404d7[_0xae0b8c(0xe3)](),_0x21608b=_0x2404d7[_0xae0b8c(0x260)](_0x517da6[_0xae0b8c(0xbc)]['VIEW_MAIN']),_0x49a04a=_0x2404d7[_0xae0b8c(0x122)](_0x517da6[_0xae0b8c(0x168)]['FromArray']([_0x1f77ee,_0x130572]),_0x21608b),_0x57d07d=_0x31488a['getCellPositionByOffset'](_0x1c0faa,_0x249a82,_0x4a468a,_0x2078ba,_0x49a04a);((_0x5634bf=this[_0xae0b8c(0x1ef)])==null?void 0x0:_0x5634bf[_0xae0b8c(0x2eb)])===_0x57d07d['column']&&((_0x4ee74a=this[_0xae0b8c(0x1ef)])==null?void 0x0:_0x4ee74a[_0xae0b8c(0x10e)])===_0x57d07d[_0xae0b8c(0x10e)]||this[_0xae0b8c(0x197)][_0xae0b8c(0x15e)](_0x2030b9=>{const _0xf8203a=_0xae0b8c;_0x2030b9[_0xf8203a(0x31d)](_0x57d07d);});},0x64));});}[_0x568c59(0x29c)](_0x499ba9,_0x4b801f){const _0x57db35=_0x568c59;var _0x22bf98;const _0x1e2178=(_0x22bf98=this[_0x57db35(0x334)][_0x57db35(0x137)]())==null?void 0x0:_0x22bf98[_0x57db35(0x15a)];if(!_0x1e2178)return;const _0x3f8353=this[_0x57db35(0x262)]();if(!_0x3f8353)return;this[_0x57db35(0x197)][_0x57db35(0x15e)](_0x2df5f9=>{const _0x370964=_0x57db35;_0x2df5f9[_0x370964(0x12c)]();});const {scene:_0x5d3493}=_0x3f8353,_0x27b3c9=_0x5b2156(Array[_0x57db35(0xd3)](_0x4b801f[_0x57db35(0x373)]()))[_0x57db35(0x27b)](_0x598536=>{const _0x4cd2e9=_0x57db35,{color:_0xb2545a,range:_0x238343,name:_0x4c5fce,selection:_0x4fd12b,sheetID:_0x57b6ba}=_0x598536,{startColumn:_0x5bd3fa,startRow:_0x2aa605,endColumn:_0xa84623,endRow:_0x59ee31}=_0x238343,_0x440a6f=_0x17a370[_0x4cd2e9(0x1d3)](_0x2aa605,_0x5bd3fa,_0x5d3493,_0x1e2178),_0x2ddaec=_0x17a370['getCoordByCell'](_0x59ee31,_0xa84623,_0x5d3493,_0x1e2178),{columnHeaderHeightAndMarginTop:_0x35f92d}=_0x1e2178,{startX:_0xccbf,startY:_0x5d66c1}=_0x440a6f,{endX:_0x258596,endY:_0x358ea4}=_0x2ddaec,_0x624a90=_0x258596-_0xccbf,_0xbab199=_0x358ea4-_0x5d66c1,_0x548b20={'labelPosition':_0x5d66c1-_0x35f92d>=_0x21a6a9?_0x4cd2e9(0x311):_0x4cd2e9(0x12d),'sheetID':_0x57b6ba,'range':_0x238343,'color':_0xb2545a,'name':_0x4c5fce,'selection':_0x4fd12b,'left':_0xccbf,'top':_0x5d66c1,'width':_0x624a90,'height':_0xbab199,'evented':!0x1,'zIndex':_0x45cea3};return new _0x2b40de(_0x4c5fce,_0x548b20);});_0x5d3493[_0x57db35(0x2fb)](_0x27b3c9,_0x82d777),this[_0x57db35(0x197)]=new Set(_0x27b3c9);}['_removeCollabCursors'](){const _0x11ddeb=_0x568c59;var _0x1415f8;(_0x1415f8=this[_0x11ddeb(0x197)])==null||_0x1415f8[_0x11ddeb(0x15e)](_0x23e15e=>_0x23e15e[_0x11ddeb(0x106)]());}[_0x568c59(0x262)](){const _0x2478e8=_0x568c59;return _0x17a370['getSheetObject'](this[_0x2478e8(0x2f2)][_0x2478e8(0x1ba)],this[_0x2478e8(0x2f2)]);}};_0x4f696d=_0x29b0df([_0x7e96e1(0x1,_0x4b176f['Inject'](_0x17a370['SheetSkeletonManagerService'])),_0x7e96e1(0x2,_0x4b176f[_0x568c59(0x36e)](_0x53db82)),_0x7e96e1(0x3,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x223)]))],_0x4f696d);function _0x5b2156(_0x1aa52b){const _0x5e00d3=_0x568c59,_0x2a7369=new Map();return _0x1aa52b[_0x5e00d3(0x15e)](_0x48db34=>{const _0x115d1a=_0x5e00d3;if(_0x2a7369[_0x115d1a(0x268)](_0x48db34[_0x115d1a(0x13c)])){const _0x52c387=_0x2a7369[_0x115d1a(0x9e)](_0x48db34[_0x115d1a(0x13c)]);_0x52c387[_0x115d1a(0x111)]+=',\x20'+_0x48db34['name'];}else _0x2a7369[_0x115d1a(0xd2)](_0x48db34['selection'],_0x48db34);}),Array[_0x5e00d3(0xd3)](_0x2a7369['values']());}var _0x31250e=Object[_0x568c59(0xf5)],_0x344602=(_0x2b8466,_0x2ec0bf,_0x553ab9,_0xa1b141)=>{const _0x2ed923=_0x568c59;for(var _0x549240=_0xa1b141>0x1?void 0x0:_0xa1b141?_0x31250e(_0x2ec0bf,_0x553ab9):_0x2ec0bf,_0x239d95=_0x2b8466[_0x2ed923(0x261)]-0x1,_0x2b029c;_0x239d95>=0x0;_0x239d95--)(_0x2b029c=_0x2b8466[_0x239d95])&&(_0x549240=_0x2b029c(_0x549240)||_0x549240);return _0x549240;},_0x409624=(_0x3e8468,_0x4234e2)=>(_0x3f2447,_0x27775a)=>_0x4234e2(_0x3f2447,_0x27775a,_0x3e8468);let _0x32db3d=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x22cd61,_0x21666a,_0xa20e8d,_0x31cea6,_0x434412,_0x1e8fcc){const _0xf0fd2f=_0x568c59;super(),this[_0xf0fd2f(0x1da)]=_0x22cd61,this[_0xf0fd2f(0xba)]=_0x21666a,this['_collaborationUIEventService']=_0xa20e8d,this[_0xf0fd2f(0xe1)]=_0x31cea6,this[_0xf0fd2f(0x28a)]=_0x434412,this[_0xf0fd2f(0x234)]=_0x1e8fcc,this[_0xf0fd2f(0xe4)](),this[_0xf0fd2f(0x19e)]();}[_0x568c59(0xe4)](){const _0x3eaf77=_0x568c59;this[_0x3eaf77(0x354)](this[_0x3eaf77(0x1da)][_0x3eaf77(0x1b5)](()=>{const _0x2db9c3=_0x3eaf77;if(this[_0x2db9c3(0xba)][_0x2db9c3(0x8a)]['size'])return this[_0x2db9c3(0x234)]['t']('collaboration.offline-data-not-saved');}));}[_0x568c59(0x19e)](){const _0x3c1535=_0x568c59;this['disposeWithMe'](this['_collaborationUIEventService'][_0x3c1535(0x12a)]['subscribe'](_0xbd4b2f=>{const _0x33c956=_0x3c1535;_0xbd4b2f['id']===_0x497c74[_0x33c956(0x2b1)]['OTHER_CLIENT_EDITING']&&this[_0x33c956(0xe1)][_0x33c956(0x154)]({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0xf4)],'content':this[_0x33c956(0x234)]['t']('collaboration.single-unit.warning')}),_0xbd4b2f['id']===_0x497c74[_0x33c956(0x2b1)][_0x33c956(0x199)]&&this[_0x33c956(0xe1)][_0x33c956(0x154)]({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0xf4)],'content':this[_0x33c956(0x234)]['t'](_0x33c956(0x370))}),_0xbd4b2f['id']===_0x497c74[_0x33c956(0x2b1)][_0x33c956(0x19f)]&&this['_notificationService']['show']({'title':this[_0x33c956(0x234)]['t'](_0x33c956(0x2b2)),'content':this['_localeService']['t'](_0x33c956(0x241)),'type':_0x33c956(0x11f),'duration':0x0}),_0xbd4b2f['id']===_0x497c74['CollaborationUIEventId']['CONFLICT']&&this['_messageService'][_0x33c956(0x154)]({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0x2b6)],'content':this['_localeService']['t'](_0x33c956(0x370))+'('+_0xbd4b2f[_0x33c956(0x221)]+')'}),_0xbd4b2f['id']===_0x497c74['CollaborationUIEventId'][_0x33c956(0x343)]&&this[_0x33c956(0xe1)][_0x33c956(0x154)]({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0xf4)],'content':this[_0x33c956(0x234)]['t'](_0xbd4b2f[_0x33c956(0x221)]||'')}),_0xbd4b2f['id']===_0x497c74[_0x33c956(0x2b1)][_0x33c956(0x32c)]&&this['_messageService']['show']({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0xf4)],'content':this[_0x33c956(0x234)]['t']('session.will-retry')}),_0xbd4b2f['id']===_0x497c74['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x33c956(0xe1)][_0x33c956(0x154)]({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0x2b6)],'content':this[_0x33c956(0x234)]['t'](_0x33c956(0x35c))}),_0xbd4b2f['id']===_0x497c74['CollaborationUIEventId'][_0x33c956(0xc0)]&&this[_0x33c956(0xe1)][_0x33c956(0x154)]({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0x2b6)],'content':this[_0x33c956(0x234)]['t'](_0x33c956(0xf6))});}));}};_0x32db3d=_0x344602([_0x409624(0x0,_0x48763f[_0x568c59(0x1c1)]),_0x409624(0x1,_0x497c74[_0x568c59(0x2ce)]),_0x409624(0x2,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x17f)])),_0x409624(0x3,_0x48763f[_0x568c59(0x356)]),_0x409624(0x4,_0x48763f[_0x568c59(0x216)]),_0x409624(0x5,_0x4b176f['Inject'](_0x4b176f[_0x568c59(0x94)]))],_0x32db3d);var _0x57136a=Object[_0x568c59(0xf5)],_0x41029f=(_0x49d23d,_0x4e7f94,_0x1abebd,_0x4303a0)=>{for(var _0x16fe17=_0x4303a0>0x1?void 0x0:_0x4303a0?_0x57136a(_0x4e7f94,_0x1abebd):_0x4e7f94,_0xb0b8d7=_0x49d23d['length']-0x1,_0x2d7b7f;_0xb0b8d7>=0x0;_0xb0b8d7--)(_0x2d7b7f=_0x49d23d[_0xb0b8d7])&&(_0x16fe17=_0x2d7b7f(_0x16fe17)||_0x16fe17);return _0x16fe17;},_0x513fe8=(_0x162bde,_0x549b2e)=>(_0xd1d2e1,_0x455563)=>_0x549b2e(_0xd1d2e1,_0x455563,_0x162bde);let _0x16e051=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x5757d9,_0x63253c,_0x1d4793,_0x42a57f){const _0x4e42f0=_0x568c59;super(),_0xe730d4(this,_0x4e42f0(0x31f)),(this['_injector']=_0x5757d9,this[_0x4e42f0(0x228)]=_0x63253c,this[_0x4e42f0(0x31a)]=_0x1d4793,this['_collaborationSessionService']=_0x42a57f,this[_0x4e42f0(0x129)]());}[_0x568c59(0x129)](){const _0x17b95e=_0x568c59;this[_0x17b95e(0x2c5)](),this[_0x17b95e(0x278)](),this[_0x17b95e(0x333)](),this[_0x17b95e(0x273)]();}[_0x568c59(0x273)](){const _0x2d75c9=_0x568c59;this[_0x2d75c9(0x354)](this[_0x2d75c9(0x259)][_0x2d75c9(0x10c)][_0x2d75c9(0xe7)](_0xa7a78f=>{const _0x30beea=_0x2d75c9;this['_memberID']=_0xa7a78f==null?void 0x0:_0xa7a78f[_0x30beea(0xde)];}));}[_0x568c59(0x2c5)](){const _0x406e2e=_0x568c59,_0x540890=_0x70db5b=>{const _0x28574b=_0x34b8;var _0x57c3b7;this['_uploadLog']('error',_0x28574b(0x369)+_0x70db5b['message']+_0x28574b(0x140)+_0x70db5b[_0x28574b(0x2cc)]+':'+_0x70db5b[_0x28574b(0x23d)]+':'+_0x70db5b[_0x28574b(0x185)]+'\x0a'+(((_0x57c3b7=_0x70db5b[_0x28574b(0x11f)])==null?void 0x0:_0x57c3b7[_0x28574b(0x351)])||''));};window[_0x406e2e(0x25b)](_0x406e2e(0x11f),_0x540890),this['disposeWithMe'](()=>{const _0x4708f8=_0x406e2e;window[_0x4708f8(0x1a0)]('error',_0x540890);});}[_0x568c59(0x278)](){const _0x563390=_0x568c59,_0x278260=_0x5c9fab=>{const _0x4330d0=_0x34b8;this[_0x4330d0(0x2ac)]('error',_0x4330d0(0x35a)+_0x5c9fab[_0x4330d0(0x347)]);};window[_0x563390(0x25b)](_0x563390(0x291),_0x278260),this[_0x563390(0x354)](()=>{const _0x4b69bb=_0x563390;window[_0x4b69bb(0x1a0)](_0x4b69bb(0x291),_0x278260);});}[_0x568c59(0x333)](){const _0x26806f=_0x568c59,_0x3f43cd=this[_0x26806f(0x31a)][_0x26806f(0x11f)][_0x26806f(0x2c0)](this[_0x26806f(0x31a)]);this['_logService'][_0x26806f(0x11f)]=(..._0x586f07)=>{const _0x1c06d2=_0x26806f,_0x45c03d=_0x586f07[_0x1c06d2(0x27b)](_0x12af6c=>_0x12af6c instanceof Error?_0x12af6c['message']+'\x0a'+_0x12af6c[_0x1c06d2(0x351)]:String(_0x12af6c))['join']('\x20');this[_0x1c06d2(0x2ac)](_0x1c06d2(0x11f),_0x1c06d2(0x17e)+_0x45c03d),_0x3f43cd(..._0x586f07);},this[_0x26806f(0x354)](()=>{const _0x14962a=_0x26806f;this[_0x14962a(0x31a)][_0x14962a(0x11f)]=_0x3f43cd;});}[_0x568c59(0x2ac)](_0x38c61d,_0x4db42f){const _0x439699=_0x568c59;try{const _0x241aff={'userId':this['_memberID'],'logLabel':_0x38c61d,'content':_0x4db42f};this['_httpService']['post'](_0x439699(0xc1),{'body':_0x241aff})[_0x439699(0x1f1)](()=>{});}catch{}}};_0x16e051=_0x41029f([_0x513fe8(0x0,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x2b0)])),_0x513fe8(0x1,_0x4b176f['Inject'](_0x542501[_0x568c59(0x28f)])),_0x513fe8(0x2,_0x4b176f[_0x568c59(0x344)]),_0x513fe8(0x3,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x29f)]))],_0x16e051);const _0x28fa25=_0x568c59(0x2d0),_0x1119c0={};var _0x3d83c2=Object[_0x568c59(0xf5)],_0x1e3963=(_0x30fba6,_0x7149da,_0x4f0b04,_0x492c50)=>{const _0x1cdf6b=_0x568c59;for(var _0x3c6a97=_0x492c50>0x1?void 0x0:_0x492c50?_0x3d83c2(_0x7149da,_0x4f0b04):_0x7149da,_0xf35b72=_0x30fba6[_0x1cdf6b(0x261)]-0x1,_0x595782;_0xf35b72>=0x0;_0xf35b72--)(_0x595782=_0x30fba6[_0xf35b72])&&(_0x3c6a97=_0x595782(_0x3c6a97)||_0x3c6a97);return _0x3c6a97;},_0x511c5a=(_0x33af04,_0xf41059)=>(_0x1b51a0,_0x53b2c6)=>_0xf41059(_0x1b51a0,_0x53b2c6,_0x33af04);let _0x32787b=class{constructor(_0x2341f9,_0x23c0f0){const _0x35bedd=_0x568c59;this[_0x35bedd(0x272)]=_0x2341f9,this[_0x35bedd(0x364)]=_0x23c0f0;}[_0x568c59(0x1ff)](_0x3017cf){const _0x2bfd06=_0x568c59;this['_transformUndoRedoStack'](_0x3017cf),this[_0x2bfd06(0x1d7)](_0x3017cf);}[_0x568c59(0x188)](_0xb1c492){const _0x2e6fb6=_0x568c59,{unitID:_0x4b62d2}=_0xb1c492,_0x442bd5=this['_renderManagerService']['getRenderById'](_0x4b62d2)[_0x2e6fb6(0x34e)](_0x5f0c77[_0x2e6fb6(0xd9)]),{redoCache:_0x454603}=_0x442bd5[_0x2e6fb6(0x159)]();if(_0x454603[_0x2e6fb6(0x261)]===0x0)return _0xb1c492;let _0x1b569f=_0x4b176f[_0x2e6fb6(0x282)]['deepClone'](_0xb1c492[_0x2e6fb6(0x1a9)][0x0]);for(let _0x27b5af=0x0;_0x27b5af<_0x454603[_0x2e6fb6(0x261)];_0x27b5af++){const _0x16ba51={'id':_0x2e6fb6(0x326),'params':{..._0x454603[_0x27b5af]}},_0x131de3=this[_0x2e6fb6(0x272)][_0x2e6fb6(0x1dd)](_0x1b569f,_0x16ba51,!0x1);if(_0x2cf75e['isTransformMutationFailure'](_0x131de3))throw _0x131de3[_0x2e6fb6(0x11f)];_0x1b569f=_0x131de3[_0x2e6fb6(0x31b)];}return{..._0x4b176f['Tools'][_0x2e6fb6(0x21f)](_0xb1c492),'mutations':[_0x1b569f]};}[_0x568c59(0x27d)](_0x2cdba7){const _0x178ec9=_0x568c59,{unitID:_0x266e74}=_0x2cdba7,_0x1e45e2=this[_0x178ec9(0x364)][_0x178ec9(0x1be)](_0x266e74)['with'](_0x5f0c77[_0x178ec9(0xd9)]),{undoCache:_0x11ea97,redoCache:_0x19c30c}=_0x1e45e2[_0x178ec9(0x159)]();if(_0x11ea97[_0x178ec9(0x261)]===0x0||_0x19c30c[_0x178ec9(0x261)]===0x0)return;const _0xfbc98a=[],_0x6d2bfa=[];let _0x3bc736=_0x4b176f[_0x178ec9(0x282)][_0x178ec9(0x21f)](_0x2cdba7[_0x178ec9(0x1a9)][0x0]),_0x1533de=_0x4b176f['Tools'][_0x178ec9(0x21f)](_0x2cdba7[_0x178ec9(0x1a9)][0x0]);for(let _0x4db40c=_0x11ea97[_0x178ec9(0x261)]-0x1;_0x4db40c>=0x0;_0x4db40c--){const _0x4b14c2={'id':'doc.mutation.rich-text-editing','params':{..._0x11ea97[_0x4db40c]}},_0x158adf={'id':'doc.mutation.rich-text-editing','params':{..._0x19c30c[_0x4db40c]}},_0x33d2d9=this[_0x178ec9(0x272)][_0x178ec9(0x1dd)](_0x3bc736,_0x4b14c2,!0x1),_0x39b929=this[_0x178ec9(0x272)]['transformMutation'](_0x1533de,_0x158adf,!0x1);if(_0x2cf75e[_0x178ec9(0x17a)](_0x33d2d9))throw _0x33d2d9['error'];if(_0x2cf75e[_0x178ec9(0x17a)](_0x39b929))throw _0x39b929[_0x178ec9(0x11f)];_0xfbc98a[_0x178ec9(0x8d)](_0x33d2d9[_0x178ec9(0x1d5)][_0x178ec9(0x2c3)]),_0x6d2bfa[_0x178ec9(0x8d)](_0x39b929[_0x178ec9(0x1d5)][_0x178ec9(0x2c3)]),_0x3bc736=_0x33d2d9[_0x178ec9(0x31b)],_0x1533de=_0x39b929[_0x178ec9(0x31b)];}_0x1e45e2[_0x178ec9(0x1bf)]({'undoCache':_0xfbc98a,'redoCache':_0x6d2bfa});}[_0x568c59(0x1d7)](_0x3f574f){const _0x457708=_0x568c59,{unitID:_0x38a70f}=_0x3f574f,_0x553191=this[_0x457708(0x364)][_0x457708(0x1be)](_0x38a70f)[_0x457708(0x34e)](_0x5f0c77['DocIMEInputManagerService']),_0x67b920=_0x553191[_0x457708(0x33d)]();if(_0x67b920==null)return;const _0x3e2b4e=[{'id':_0x457708(0x326),'params':{'unitId':_0x3f574f[_0x457708(0xff)],'actions':null,'textRanges':[_0x67b920]}}],_0x496892=this['_transformService'][_0x457708(0x2e0)](_0x3f574f,_0x3e2b4e);if(!_0x2cf75e[_0x457708(0x156)](_0x496892))throw _0x496892['error'];const _0x14b24c=_0x496892[_0x457708(0x1d5)][0x0][_0x457708(0x2c3)][_0x457708(0x1a4)];Array[_0x457708(0x2f4)](_0x14b24c)&&_0x14b24c['length']&&_0x553191['setActiveRange'](_0x14b24c[0x0]);}};_0x32787b=_0x1e3963([_0x511c5a(0x0,_0x2cf75e[_0x568c59(0x2ef)]),_0x511c5a(0x1,_0x517da6[_0x568c59(0x264)])],_0x32787b);var _0x66e15e=Object['getOwnPropertyDescriptor'],_0x35aef2=(_0x598ebd,_0x478a88,_0x4018be,_0x47b746)=>{const _0x24e29f=_0x568c59;for(var _0x3ca2ea=_0x47b746>0x1?void 0x0:_0x47b746?_0x66e15e(_0x478a88,_0x4018be):_0x478a88,_0x1b1b87=_0x598ebd[_0x24e29f(0x261)]-0x1,_0x9f8f6;_0x1b1b87>=0x0;_0x1b1b87--)(_0x9f8f6=_0x598ebd[_0x1b1b87])&&(_0x3ca2ea=_0x9f8f6(_0x3ca2ea)||_0x3ca2ea);return _0x3ca2ea;},_0x10cdb3=(_0x43377d,_0x1884f9)=>(_0x39984b,_0x2b78b9)=>_0x1884f9(_0x39984b,_0x2b78b9,_0x43377d);let _0x45c595=class{constructor(_0x4ec0b9,_0x584c05,_0x59977d){const _0x317657=_0x568c59;this[_0x317657(0x148)]=_0x4ec0b9,this['_transformService']=_0x584c05,this[_0x317657(0xcd)]=_0x59977d;}['transformStateCache'](_0x286d9f){const _0x4ab5a6=_0x568c59;this[_0x4ab5a6(0x101)](_0x286d9f);}[_0x568c59(0x188)](_0x35f8ad){const _0x549678=_0x568c59,{unitID:_0x22bcd3}=_0x35f8ad,{collaboration:_0xa5fa12}=this[_0x549678(0xcd)][_0x549678(0x2fc)](_0x22bcd3);if(_0xa5fa12[_0x549678(0x261)]===0x0)return _0x35f8ad;let _0x2684d5=_0x4b176f['Tools']['deepClone'](_0x35f8ad[_0x549678(0x1a9)][0x0]);for(let _0x4ffbc9=0x0;_0x4ffbc9<_0xa5fa12['length'];_0x4ffbc9++){const _0x335298={'id':_0x549678(0x326),'params':{'unitId':_0xa5fa12[_0x4ffbc9][_0x549678(0x13a)],..._0xa5fa12[_0x4ffbc9][_0x549678(0x1d0)]}},_0xabd955=this[_0x549678(0x272)]['transformMutation'](_0x2684d5,_0x335298,!0x1);if(_0x2cf75e[_0x549678(0x17a)](_0xabd955))throw _0xabd955[_0x549678(0x11f)];_0x2684d5=_0xabd955['m1Prime'];}return{..._0x4b176f['Tools'][_0x549678(0x21f)](_0x35f8ad),'mutations':[_0x2684d5]};}[_0x568c59(0x101)](_0x458411){const _0x271961=_0x568c59,{unitID:_0x5bda90}=_0x458411,{history:_0x4aceed,collaboration:_0x2e4c29}=this[_0x271961(0xcd)]['getStateCache'](_0x5bda90);if(_0x4aceed[_0x271961(0x261)]===0x0&&_0x2e4c29[_0x271961(0x261)]===0x0)return;const _0x88d731=[],_0x22677e=[];let _0x4a5f4b=_0x4b176f[_0x271961(0x282)][_0x271961(0x21f)](_0x458411['mutations'][0x0]),_0x10c596=_0x4b176f[_0x271961(0x282)][_0x271961(0x21f)](_0x458411['mutations'][0x0]);for(let _0x1b3e2c=_0x4aceed[_0x271961(0x261)]-0x1;_0x1b3e2c>=0x0;_0x1b3e2c--){const _0x381f8f={'id':_0x271961(0x326),'params':{'unitId':_0x4aceed[_0x1b3e2c][_0x271961(0x13a)],..._0x4aceed[_0x1b3e2c][_0x271961(0xb7)]}},_0x4aa288={'id':_0x271961(0x326),'params':{'unitId':_0x4aceed[_0x1b3e2c][_0x271961(0x13a)],..._0x4aceed[_0x1b3e2c]['redoState']}},_0xbea3c=this[_0x271961(0x272)][_0x271961(0x1dd)](_0x4a5f4b,_0x381f8f,!0x1),_0x2b0619=this['_transformService'][_0x271961(0x1dd)](_0x10c596,_0x4aa288,!0x1);if(_0x2cf75e['isTransformMutationFailure'](_0xbea3c))throw _0xbea3c[_0x271961(0x11f)];if(_0x2cf75e[_0x271961(0x17a)](_0x2b0619))throw _0x2b0619['error'];_0x88d731[_0x271961(0x8d)]({..._0x4aceed[_0x1b3e2c],'undoState':_0xbea3c[_0x271961(0x1d5)]['params'],'redoState':_0x2b0619[_0x271961(0x1d5)]['params']}),_0x4a5f4b=_0xbea3c[_0x271961(0x31b)],_0x10c596=_0x2b0619['m1Prime'];}_0x4a5f4b=_0x4b176f[_0x271961(0x282)]['deepClone'](_0x458411[_0x271961(0x1a9)][0x0]),_0x10c596=_0x4b176f[_0x271961(0x282)]['deepClone'](_0x458411[_0x271961(0x1a9)][0x0]);for(let _0x3ab5dc=_0x2e4c29[_0x271961(0x261)]-0x1;_0x3ab5dc>=0x0;_0x3ab5dc--){const _0x1fc2aa={'id':_0x271961(0x326),'params':{'unitId':_0x2e4c29[_0x3ab5dc][_0x271961(0x13a)],..._0x2e4c29[_0x3ab5dc][_0x271961(0xb7)]}},_0x29871e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2e4c29[_0x3ab5dc][_0x271961(0x13a)],..._0x2e4c29[_0x3ab5dc][_0x271961(0x1d0)]}},_0x2fdb44=this[_0x271961(0x272)][_0x271961(0x1dd)](_0x4a5f4b,_0x1fc2aa,!0x1),_0x45708c=this[_0x271961(0x272)][_0x271961(0x1dd)](_0x10c596,_0x29871e,!0x1);if(_0x2cf75e['isTransformMutationFailure'](_0x2fdb44))throw _0x2fdb44[_0x271961(0x11f)];if(_0x2cf75e[_0x271961(0x17a)](_0x45708c))throw _0x45708c[_0x271961(0x11f)];_0x22677e[_0x271961(0x8d)]({..._0x2e4c29[_0x3ab5dc],'undoState':_0x2fdb44[_0x271961(0x1d5)][_0x271961(0x2c3)],'redoState':_0x45708c[_0x271961(0x1d5)][_0x271961(0x2c3)]}),_0x4a5f4b=_0x2fdb44[_0x271961(0x31b)],_0x10c596=_0x45708c['m1Prime'];}this['_docStateChangeManagerService']['setStateCache'](_0x5bda90,{'history':_0x88d731,'collaboration':_0x22677e});}};_0x45c595=_0x35aef2([_0x10cdb3(0x0,_0x4b176f['Inject'](_0x4b176f[_0x568c59(0x2b0)])),_0x10cdb3(0x1,_0x2cf75e[_0x568c59(0x2ef)]),_0x10cdb3(0x2,_0x4b176f[_0x568c59(0x36e)](_0x5f0c77[_0x568c59(0x153)]))],_0x45c595);var _0x2b703f=Object['getOwnPropertyDescriptor'],_0x6c757f=(_0x1c93dc,_0x36b644,_0x363dbd,_0x1c9a8f)=>{const _0x54939a=_0x568c59;for(var _0x16c090=_0x1c9a8f>0x1?void 0x0:_0x1c9a8f?_0x2b703f(_0x36b644,_0x363dbd):_0x36b644,_0x55df3f=_0x1c93dc[_0x54939a(0x261)]-0x1,_0x52b270;_0x55df3f>=0x0;_0x55df3f--)(_0x52b270=_0x1c93dc[_0x55df3f])&&(_0x16c090=_0x52b270(_0x16c090)||_0x16c090);return _0x16c090;},_0x1b4705=(_0x48116a,_0x4f631d)=>(_0x63a405,_0x59465c)=>_0x4f631d(_0x63a405,_0x59465c,_0x48116a);let _0x4ac300=class{constructor(_0x2a8f94,_0x28eaf8){const _0x42fc30=_0x568c59;this[_0x42fc30(0x148)]=_0x2a8f94,this[_0x42fc30(0x272)]=_0x28eaf8;}[_0x568c59(0x9c)](_0x5a22c0){const _0x2d4789=_0x568c59;var _0x4fb676;const _0x1db3d0=this[_0x2d4789(0x148)]['get'](_0xb532ca[_0x2d4789(0x1f9)]),_0x4ac941=(_0x4fb676=_0x1db3d0[_0x2d4789(0x192)]())!=null?_0x4fb676:[];if(_0x4ac941[_0x2d4789(0x261)]===0x0)return;const _0x421190=_0x5a22c0['unitID'],_0x456a7d=[{'id':_0x2d4789(0x326),'params':{'unitId':_0x421190,'actions':null,'textRanges':_0x4ac941}}],_0x259606=this[_0x2d4789(0x272)][_0x2d4789(0x2e0)](_0x5a22c0,_0x456a7d);if(!_0x2cf75e[_0x2d4789(0x156)](_0x259606))throw _0x259606['error'];const _0x52b96b=_0x259606[_0x2d4789(0x1d5)][0x0][_0x2d4789(0x2c3)]['textRanges'];Array[_0x2d4789(0x2f4)](_0x52b96b)&&_0x52b96b[_0x2d4789(0x261)]&&_0x1db3d0[_0x2d4789(0x11e)](_0x52b96b,{'unitId':_0x421190,'subUnitId':_0x421190},!0x1);}};_0x4ac300=_0x6c757f([_0x1b4705(0x0,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x2b0)])),_0x1b4705(0x1,_0x2cf75e[_0x568c59(0x2ef)])],_0x4ac300);var _0x3d75dd=Object[_0x568c59(0xf5)],_0x1c45a1=(_0x42f74f,_0xacd1f2,_0x1ee466,_0x4196bc)=>{const _0x6c8c23=_0x568c59;for(var _0x3b2246=_0x4196bc>0x1?void 0x0:_0x4196bc?_0x3d75dd(_0xacd1f2,_0x1ee466):_0xacd1f2,_0x3404b8=_0x42f74f[_0x6c8c23(0x261)]-0x1,_0x587d36;_0x3404b8>=0x0;_0x3404b8--)(_0x587d36=_0x42f74f[_0x3404b8])&&(_0x3b2246=_0x587d36(_0x3b2246)||_0x3b2246);return _0x3b2246;},_0x3c478a=(_0x3511e7,_0x4a21f0)=>(_0x57e6e8,_0x20db5a)=>_0x4a21f0(_0x57e6e8,_0x20db5a,_0x3511e7);let _0x1c4ddb=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x2d6d81,_0x290c85,_0xb5ffe1,_0x48d629,_0x380bee,_0x1824fe,_0x3e0be3,_0x42d866){const _0x428985=_0x568c59;super(),_0xe730d4(this,_0x428985(0x366),new _0x2d9524['BehaviorSubject'](_0x497c74['CollaborationStatus'][_0x428985(0x1fc)])),(this['_docStateChangeManagerService']=_0x2d6d81,this[_0x428985(0x105)]=_0x290c85,this[_0x428985(0x2fe)]=_0xb5ffe1,this['_docTransformStateCacheService']=_0x48d629,this[_0x428985(0x97)]=_0x380bee,this['_docSyncEditingCollabCursorService']=_0x1824fe,this['_messageService']=_0x3e0be3,this[_0x428985(0x234)]=_0x42d866,this[_0x428985(0x1eb)]());}[_0x568c59(0x1eb)](){const _0x196c77=_0x568c59;this[_0x196c77(0x354)](this[_0x196c77(0x105)][_0x196c77(0x2ad)][_0x196c77(0xe7)](_0x267e6f=>{const _0x4732ad=_0x196c77,_0x102230=this[_0x4732ad(0xcd)][_0x4732ad(0x2a6)][_0x4732ad(0xe7)](_0x5749fc=>{const _0x17d1cc=_0x4732ad;if(_0x5749fc==null)return;const {unitId:_0x99d716,redoState:_0x1b2c87,commandId:_0x46a427}=_0x5749fc;if(_0x99d716!==_0x267e6f['unitID'])return;const _0x231f10={'id':_0x46a427,'type':_0x4b176f[_0x17d1cc(0x2e5)][_0x17d1cc(0x164)],'params':{'unitId':_0x99d716,'actions':_0x1b2c87[_0x17d1cc(0x1c8)],'textRanges':null}};_0x267e6f[_0x17d1cc(0x299)](_0x231f10);});if(_0x267e6f[_0x4732ad(0x354)](_0x102230),_0x267e6f instanceof _0x497c74[_0x4732ad(0xc7)]){const _0x587dc6={'onTransformIME':_0x1236e2=>this['_docTransformIMECacheService'][_0x4732ad(0x1ff)](_0x1236e2),'onTransformState':_0x200e11=>this[_0x4732ad(0x1dc)]['transformStateCache'](_0x200e11),'onTransformSelections':_0x2ec78d=>this['_docTransformSelectionsService'][_0x4732ad(0x9c)](_0x2ec78d),'onSyncEditingCollabCursor':_0x164309=>this[_0x4732ad(0x180)]['syncEditingCollabCursor'](_0x164309),'onTransformRemoteChangesetByIMECache':_0x4b88c2=>this[_0x4732ad(0x2fe)][_0x4732ad(0x188)](_0x4b88c2),'onTransformRemoteChangesetByStateCache':_0x534fc6=>this[_0x4732ad(0x1dc)]['transformRemoteChangeset'](_0x534fc6)};_0x267e6f[_0x4732ad(0x1fd)](_0x587dc6);}}));}};_0x1c4ddb=_0x1c45a1([_0x3c478a(0x0,_0x4b176f[_0x568c59(0x36e)](_0x5f0c77[_0x568c59(0x153)])),_0x3c478a(0x1,_0x4b176f['Inject'](_0x497c74[_0x568c59(0x172)])),_0x3c478a(0x2,_0x4b176f[_0x568c59(0x36e)](_0x32787b)),_0x3c478a(0x3,_0x4b176f[_0x568c59(0x36e)](_0x45c595)),_0x3c478a(0x4,_0x4b176f[_0x568c59(0x36e)](_0x4ac300)),_0x3c478a(0x5,_0x4b176f[_0x568c59(0x36e)](_0x510ecb)),_0x3c478a(0x6,_0x48763f[_0x568c59(0x356)]),_0x3c478a(0x7,_0x4b176f[_0x568c59(0x36e)](_0x4b176f['LocaleService']))],_0x1c4ddb);var _0x5502e6=(_0xa98f1=>(_0xa98f1[_0xa98f1['UNDEFINED']=0x0]=_0x568c59(0x227),_0xa98f1[_0xa98f1['OK']=0x1]='OK',_0xa98f1[_0xa98f1[_0x568c59(0x1e6)]=0x2]=_0x568c59(0x1e6),_0xa98f1[_0xa98f1[_0x568c59(0x19f)]=0x3]=_0x568c59(0x19f),_0xa98f1[_0xa98f1['NOT_FOUND']=0x4]=_0x568c59(0x27c),_0xa98f1[_0xa98f1[_0x568c59(0x20a)]=0x5]=_0x568c59(0x20a),_0xa98f1[_0xa98f1[_0x568c59(0x145)]=0x6]=_0x568c59(0x145),_0xa98f1[_0xa98f1[_0x568c59(0xd8)]=0x7]=_0x568c59(0xd8),_0xa98f1[_0xa98f1[_0x568c59(0x99)]=0x8]=_0x568c59(0x99),_0xa98f1[_0xa98f1[_0x568c59(0xb5)]=0x9]=_0x568c59(0xb5),_0xa98f1[_0xa98f1[_0x568c59(0x1c6)]=0xa]='LOGIN_FAILED',_0xa98f1[_0xa98f1[_0x568c59(0x271)]=0xb]=_0x568c59(0x271),_0xa98f1[_0xa98f1[_0x568c59(0x256)]=0xc]=_0x568c59(0x256),_0xa98f1[_0xa98f1[_0x568c59(0x21c)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xa98f1[_0xa98f1[_0x568c59(0x339)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0xa98f1[_0xa98f1['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0xa98f1[_0xa98f1[_0x568c59(0x36b)]=0x10]=_0x568c59(0x36b),_0xa98f1[_0xa98f1[_0x568c59(0x329)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0xa98f1[_0xa98f1['ERROR_AGAIN']=0x65]=_0x568c59(0x128),_0xa98f1[_0xa98f1[_0x568c59(0x17d)]=0xc9]=_0x568c59(0x17d),_0xa98f1[_0xa98f1[_0x568c59(0x327)]=0xca]=_0x568c59(0x327),_0xa98f1[_0xa98f1[_0x568c59(0x2b3)]=0x1389]=_0x568c59(0x2b3),_0xa98f1[_0xa98f1['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x568c59(0x93),_0xa98f1[_0xa98f1['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x568c59(0x14e),_0xa98f1[_0xa98f1[_0x568c59(0x35e)]=0x1773]=_0x568c59(0x35e),_0xa98f1[_0xa98f1[_0x568c59(0x1e7)]=0x1b59]=_0x568c59(0x1e7),_0xa98f1[_0xa98f1[_0x568c59(0x95)]=0x1b5a]=_0x568c59(0x95),_0xa98f1[_0xa98f1['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x568c59(0x1e5),_0xa98f1[_0xa98f1['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x568c59(0x20c),_0xa98f1[_0xa98f1[_0x568c59(0x265)]=0x1b5d]='APPLY_DUPLICATED',_0xa98f1[_0xa98f1[_0x568c59(0x179)]=0x1f41]=_0x568c59(0x179),_0xa98f1[_0xa98f1['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0xa98f1[_0xa98f1[_0x568c59(0x1ab)]=0x232a]=_0x568c59(0x1ab),_0xa98f1[_0xa98f1[_0x568c59(0x2c8)]=0x232b]=_0x568c59(0x2c8),_0xa98f1[_0xa98f1['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x568c59(0x2ae),_0xa98f1[_0xa98f1['LICENSE_DISTRO_REJECTED']=0x232d]=_0x568c59(0x1cb),_0xa98f1[_0xa98f1[_0x568c59(0x98)]=0x2711]=_0x568c59(0x98),_0xa98f1[_0xa98f1[_0x568c59(0x363)]=0x2712]=_0x568c59(0x363),_0xa98f1[_0xa98f1[_0x568c59(0x36c)]=0x2713]=_0x568c59(0x36c),_0xa98f1[_0xa98f1[_0x568c59(0x340)]=0x2714]=_0x568c59(0x340),_0xa98f1[_0xa98f1[_0x568c59(0x24e)]=0x271a]=_0x568c59(0x24e),_0xa98f1[_0xa98f1[_0x568c59(0x205)]=0x271b]=_0x568c59(0x205),_0xa98f1[_0xa98f1[_0x568c59(0x296)]=0x271c]=_0x568c59(0x296),_0xa98f1[_0xa98f1[_0x568c59(0xf0)]=0x271d]=_0x568c59(0xf0),_0xa98f1[_0xa98f1[_0x568c59(0x19c)]=0x271e]=_0x568c59(0x19c),_0xa98f1[_0xa98f1[_0x568c59(0x143)]=0x271f]=_0x568c59(0x143),_0xa98f1[_0xa98f1[_0x568c59(0x181)]=0x2720]=_0x568c59(0x181),_0xa98f1[_0xa98f1[_0x568c59(0x182)]=0x2af9]=_0x568c59(0x182),_0xa98f1[_0xa98f1[_0x568c59(0x27f)]=0x2ee1]=_0x568c59(0x27f),_0xa98f1[_0xa98f1[_0x568c59(0x232)]=0x2ee2]=_0x568c59(0x232),_0xa98f1[_0xa98f1[_0x568c59(0x203)]=0x2ee3]=_0x568c59(0x203),_0xa98f1[_0xa98f1[_0x568c59(0x177)]=0x2ee4]=_0x568c59(0x177),_0xa98f1[_0xa98f1[_0x568c59(0xb8)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0xa98f1[_0xa98f1['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0xa98f1[_0xa98f1[_0x568c59(0x30a)]=0x32ca]=_0x568c59(0x30a),_0xa98f1[_0xa98f1[_0x568c59(0x303)]=0x32cb]=_0x568c59(0x303),_0xa98f1[_0xa98f1[_0x568c59(0x108)]=0x36b1]=_0x568c59(0x108),_0xa98f1[_0xa98f1[_0x568c59(0x127)]=0x36b2]=_0x568c59(0x127),_0xa98f1[_0xa98f1[_0x568c59(0x8b)]=0x36b3]=_0x568c59(0x8b),_0xa98f1[_0xa98f1[_0x568c59(0x224)]=0x36b4]=_0x568c59(0x224),_0xa98f1[_0xa98f1[_0x568c59(0x258)]=0x36b5]=_0x568c59(0x258),_0xa98f1[_0xa98f1[_0x568c59(0xd0)]=0x36b6]=_0x568c59(0xd0),_0xa98f1[_0xa98f1[_0x568c59(0x2d7)]=0x36b7]=_0x568c59(0x2d7),_0xa98f1[_0xa98f1[_0x568c59(0x2dd)]=0x36b8]=_0x568c59(0x2dd),_0xa98f1[_0xa98f1[_0x568c59(0x211)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0xa98f1[_0xa98f1[_0x568c59(0xd4)]=0x3716]=_0x568c59(0xd4),_0xa98f1[_0xa98f1[_0x568c59(0x34a)]=0x3717]=_0x568c59(0x34a),_0xa98f1[_0xa98f1[_0x568c59(0x2c4)]=0x37dd]=_0x568c59(0x2c4),_0xa98f1[_0xa98f1['REDEMPTION_INVALID_CODE']=0x3a99]=_0x568c59(0x328),_0xa98f1[_0xa98f1['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0xa98f1[_0xa98f1[_0x568c59(0x176)]=0x3a9b]=_0x568c59(0x176),_0xa98f1[_0xa98f1['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x568c59(0x250),_0xa98f1[_0xa98f1[_0x568c59(0x298)]=0x3a9d]=_0x568c59(0x298),_0xa98f1[_0xa98f1[_0x568c59(0xee)]=0x3a9e]=_0x568c59(0xee),_0xa98f1[_0xa98f1[_0x568c59(0x312)]=0x3a9f]=_0x568c59(0x312),_0xa98f1[_0xa98f1[_0x568c59(0xb2)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0xa98f1[_0xa98f1[_0x568c59(0x10d)]=-0x1]='UNRECOGNIZED',_0xa98f1))(_0x5502e6||{});function _0x360e8a(_0x5c498b){const _0x54759b=_0x568c59;var _0x554a31,_0x90bf84;const _0x348a44=(_0x554a31=_0x5c498b['stageInfo'])==null?void 0x0:_0x554a31[_0x54759b(0x24c)],_0x19eaae=((_0x90bf84=_0x5c498b['stageInfo'])==null?void 0x0:_0x90bf84['totalFormulasToCalculate'])||0x0;return _0x348a44===_0x1707bd[_0x54759b(0x33a)][_0x54759b(0x33b)]&&_0x19eaae>0x0;}function _0x83ba07(_0x5a1ce6){const _0x1a981e=_0x568c59;return _0x5a1ce6['functionsExecutedState']===_0x1707bd[_0x1a981e(0x2b5)][_0x1a981e(0x24f)];}var _0x3d1652=Object[_0x568c59(0xf5)],_0x56a47e=(_0x2a64bd,_0xf5909d,_0x3a117f,_0x1b5032)=>{const _0x4b718f=_0x568c59;for(var _0x5e976d=_0x1b5032>0x1?void 0x0:_0x1b5032?_0x3d1652(_0xf5909d,_0x3a117f):_0xf5909d,_0x5e9fae=_0x2a64bd[_0x4b718f(0x261)]-0x1,_0xf36b6a;_0x5e9fae>=0x0;_0x5e9fae--)(_0xf36b6a=_0x2a64bd[_0x5e9fae])&&(_0x5e976d=_0xf36b6a(_0x5e976d)||_0x5e976d);return _0x5e976d;},_0x5ba6c1=(_0x26f5f1,_0x578971)=>(_0x349eb8,_0x56b356)=>_0x578971(_0x349eb8,_0x56b356,_0x26f5f1);const _0x1e85dc='/universer-api/license/formula/limit/status',_0x151764=_0x568c59(0x1df),_0x5d06f3=_0x568c59(0xab);let _0x535a7f=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x34690b,_0x3cfbbb,_0x55eb63,_0x337c6f,_0x23f8c6,_0x835de1,_0x4228f8){const _0x42ee4e=_0x568c59;super(),_0xe730d4(this,_0x42ee4e(0x2e3),null),_0xe730d4(this,_0x42ee4e(0x1f6),0x0),_0xe730d4(this,_0x42ee4e(0x2bd),0x0),_0xe730d4(this,_0x42ee4e(0xc5),[]),_0xe730d4(this,_0x42ee4e(0x204),0x0),(this[_0x42ee4e(0xe1)]=_0x34690b,this[_0x42ee4e(0x115)]=_0x3cfbbb,this['_configService']=_0x55eb63,this['_httpService']=_0x337c6f,this['_univerInstanceService']=_0x23f8c6,this[_0x42ee4e(0x31a)]=_0x835de1,this['_localeService']=_0x4228f8,this[_0x42ee4e(0x1d9)]());}[_0x568c59(0x1d9)](){const _0x28089f=_0x568c59;this[_0x28089f(0x354)](this[_0x28089f(0x115)][_0x28089f(0x163)]((_0x3ac3f0,_0x3fdd15)=>{const _0x52ccd7=_0x28089f;var _0x88b470;if(_0x3ac3f0['id']!==_0x1707bd[_0x52ccd7(0x252)]['id'])return;const _0x3392f6=_0x3ac3f0[_0x52ccd7(0x2c3)];if(!this[_0x52ccd7(0x21e)]((_0x88b470=_0x3392f6[_0x52ccd7(0x238)])!=null?_0x88b470:[]))return;if(!this[_0x52ccd7(0xbe)]())throw this[_0x52ccd7(0x2d4)](_0x3ac3f0,_0x3fdd15),this[_0x52ccd7(0x1c3)](),new _0x4b176f[(_0x52ccd7(0x1fe))]();})),this[_0x28089f(0x354)](this['_commandService'][_0x28089f(0xe9)]((_0x433bfe,_0x4e518e)=>{const _0x340e32=_0x28089f;if(_0x433bfe['id']!==_0x1707bd[_0x340e32(0x2b8)]['id'])return;const _0x1e7207=_0x433bfe[_0x340e32(0x2c3)];if(_0x360e8a(_0x1e7207)){const _0x3d27da=_0x4b176f[_0x340e32(0x22e)]();this['_taskIds'][_0x340e32(0x1cc)](_0x3d27da),this[_0x340e32(0x1e3)](_0x3d27da);}else{if(_0x83ba07(_0x1e7207)&&this[_0x340e32(0xc5)]['length']>0x0){const _0x22a9ff=this['_taskIds'][_0x340e32(0x161)]();this[_0x340e32(0x1b1)](_0x22a9ff);}}}));}[_0x568c59(0x106)](){const _0x80c332=_0x568c59;super[_0x80c332(0x106)](),this['_clearPolling'](),this[_0x80c332(0xc5)]=[],this[_0x80c332(0x2bd)]=0x0,this[_0x80c332(0x1f6)]=0x0,this['_lastResponseTimestamp']=0x0;}async['_checkAndWaitForCalculationPermission'](_0x475b3d,_0xb4e1c5){const _0xec9b6a=_0x568c59;for(let _0x1f601d=0x0;_0x1f601d<0x1e;_0x1f601d++)try{if(await this[_0xec9b6a(0x321)](),this['_checkCalculationAvailable']()){this[_0xec9b6a(0x230)](_0x475b3d,_0xb4e1c5),this[_0xec9b6a(0xe1)][_0xec9b6a(0x154)]({'content':this[_0xec9b6a(0x234)]['t'](_0xec9b6a(0x24a)),'type':_0x47ae90[_0xec9b6a(0x142)][_0xec9b6a(0x151)]});return;}await new Promise(_0x28076e=>{const _0x1e0a60=_0xec9b6a;this[_0x1e0a60(0x2e3)]=window[_0x1e0a60(0x1de)](_0x28076e,0x3e8);});}catch(_0x54f856){this[_0xec9b6a(0x31a)][_0xec9b6a(0x11f)](_0x54f856);}this['_messageService'][_0xec9b6a(0x154)]({'content':this[_0xec9b6a(0x234)]['t'](_0xec9b6a(0xb6)),'type':_0x47ae90['MessageType'][_0xec9b6a(0x2b6)]});}[_0x568c59(0x230)](_0x1aed52,_0x4a5846){const _0x529e24=_0x568c59;try{this[_0x529e24(0x115)][_0x529e24(0x2ec)](_0x1aed52['id'],_0x1aed52['params'],_0x4a5846);}catch(_0x18be1a){this[_0x529e24(0x31a)][_0x529e24(0x11f)](_0x18be1a);}}[_0x568c59(0x1e1)](_0x5a89b4,_0x38c5c0){const _0x537ee9=_0x568c59;_0x38c5c0<this[_0x537ee9(0x204)]||(this[_0x537ee9(0x204)]=_0x38c5c0,this[_0x537ee9(0x1f6)]=Number[_0x537ee9(0x88)](_0x5a89b4['maxFormulaLimit']),this[_0x537ee9(0x2bd)]=Number[_0x537ee9(0x88)](_0x5a89b4['currentUsage']));}async[_0x568c59(0x1e3)](_0x5d17db){const _0x57bca9=_0x568c59;var _0xb70801,_0x4a431e;const _0x326cbb=Date[_0x57bca9(0x17b)]();try{const _0x58b1bf=((_0xb70801=this[_0x57bca9(0x217)][_0x57bca9(0xd1)](_0x497c74[_0x57bca9(0x212)]))==null?void 0x0:_0xb70801[_0x57bca9(0xf1)])||_0x151764,_0x462d98=(await this['_httpService'][_0x57bca9(0xc9)](_0x58b1bf,{'body':JSON['stringify']({'taskId':_0x5d17db})}))[_0x57bca9(0x16e)];if(((_0x4a431e=_0x462d98[_0x57bca9(0x11f)])==null?void 0x0:_0x4a431e['code'])!==_0x5502e6['OK'])return;this['_setFormulaLimitStatus'](_0x462d98[_0x57bca9(0x257)],_0x326cbb);}catch(_0x5ba2c1){this[_0x57bca9(0x31a)]['error'](_0x5ba2c1);}}async[_0x568c59(0x321)](_0x2c5a8a){const _0x564b2c=_0x568c59;var _0x58af99,_0x3ed634;const _0x571543=Date[_0x564b2c(0x17b)]();try{const _0x2fc9c9=((_0x58af99=this[_0x564b2c(0x217)][_0x564b2c(0xd1)](_0x497c74[_0x564b2c(0x212)]))==null?void 0x0:_0x58af99[_0x564b2c(0x357)])||_0x1e85dc,_0x2020cc=_0x2c5a8a?_0x2fc9c9+_0x564b2c(0x11d)+encodeURIComponent(_0x2c5a8a):_0x2fc9c9,_0x1077a4=(await this['_httpService'][_0x564b2c(0x9e)](_0x2020cc))[_0x564b2c(0x16e)];if(((_0x3ed634=_0x1077a4['error'])==null?void 0x0:_0x3ed634['code'])!==_0x5502e6['OK'])return;this['_setFormulaLimitStatus'](_0x1077a4[_0x564b2c(0x257)],_0x571543);}catch(_0x3251ac){this[_0x564b2c(0x31a)]['error'](_0x3251ac);}}async[_0x568c59(0x1b1)](_0xfaa52c){const _0x6d4567=_0x568c59;var _0x4ba6df,_0x5c189c;const _0x10e1c1=Date[_0x6d4567(0x17b)]();try{const _0xfe9b95=((_0x4ba6df=this[_0x6d4567(0x217)][_0x6d4567(0xd1)](_0x497c74[_0x6d4567(0x212)]))==null?void 0x0:_0x4ba6df['releaseFormulaLimitUrl'])||_0x5d06f3,_0x58ac33=(await this[_0x6d4567(0x228)][_0x6d4567(0xc9)](_0xfe9b95,{'body':JSON['stringify']({'taskId':_0xfaa52c})}))[_0x6d4567(0x16e)];if(((_0x5c189c=_0x58ac33[_0x6d4567(0x11f)])==null?void 0x0:_0x5c189c[_0x6d4567(0x2d6)])!==_0x5502e6['OK'])return;this[_0x6d4567(0x1e1)](_0x58ac33[_0x6d4567(0x257)],_0x10e1c1);}catch(_0x2f23aa){this[_0x6d4567(0x31a)]['error'](_0x2f23aa);}}[_0x568c59(0xbe)](){return this['_maxFormulaLimit']===0x0?!0x0:this['_maxFormulaLimit']-this['_currentUsage']>0x0;}[_0x568c59(0x30d)](){const _0x559fd5=_0x568c59;this[_0x559fd5(0x2e3)]&&(clearTimeout(this['_pollingInterval']),this['_pollingInterval']=null);}[_0x568c59(0x1c3)](){const _0x31824d=_0x568c59;this[_0x31824d(0xe1)][_0x31824d(0x154)]({'content':this[_0x31824d(0x234)]['t']('formula.calculation.waiting'),'type':_0x47ae90['MessageType']['Loading']});}[_0x568c59(0x21e)](_0x29b4b7){const _0x510daf=_0x568c59;for(const _0x40777a of _0x29b4b7){const {unitId:_0x269859,sheetId:_0x5227a8,range:_0x4808d9}=_0x40777a,_0x10bdce=this[_0x510daf(0xbb)]['getUnit'](_0x269859);if(!_0x10bdce)continue;const _0x43f986=_0x10bdce['getSheetBySheetId'](_0x5227a8);if(!_0x43f986)continue;const _0x153a86=_0x43f986[_0x510daf(0x2f8)]();for(let _0x1a077c=_0x4808d9[_0x510daf(0x29e)];_0x1a077c<=_0x4808d9['endRow'];_0x1a077c++)for(let _0x6a372b=_0x4808d9[_0x510daf(0x13d)];_0x6a372b<=_0x4808d9[_0x510daf(0xe6)];_0x6a372b++){const _0x14719b=_0x153a86[_0x510daf(0xce)](_0x1a077c,_0x6a372b);if(_0x14719b&&(_0x4b176f[_0x510daf(0x2df)](_0x14719b['f'])||_0x4b176f[_0x510daf(0xb0)](_0x14719b['si'])))return!0x0;}}return!0x1;}};_0x535a7f=_0x56a47e([_0x5ba6c1(0x0,_0x4b176f[_0x568c59(0x36e)](_0x48763f[_0x568c59(0x356)])),_0x5ba6c1(0x1,_0x4b176f[_0x568c59(0x32b)]),_0x5ba6c1(0x2,_0x4b176f['IConfigService']),_0x5ba6c1(0x3,_0x4b176f[_0x568c59(0x36e)](_0x542501[_0x568c59(0x28f)])),_0x5ba6c1(0x4,_0x4b176f['IUniverInstanceService']),_0x5ba6c1(0x5,_0x4b176f['ILogService']),_0x5ba6c1(0x6,_0x4b176f[_0x568c59(0x36e)](_0x4b176f['LocaleService']))],_0x535a7f);var _0x5237a6=Object[_0x568c59(0xf5)],_0x2c1815=(_0x48cf4c,_0x47d574,_0x32e2c0,_0x1a67c1)=>{for(var _0x9d1836=_0x1a67c1>0x1?void 0x0:_0x1a67c1?_0x5237a6(_0x47d574,_0x32e2c0):_0x47d574,_0x315271=_0x48cf4c['length']-0x1,_0x2d7c95;_0x315271>=0x0;_0x315271--)(_0x2d7c95=_0x48cf4c[_0x315271])&&(_0x9d1836=_0x2d7c95(_0x9d1836)||_0x9d1836);return _0x9d1836;},_0x5b86ae=(_0x1ab50f,_0xb53619)=>(_0x5206f9,_0x11af16)=>_0xb53619(_0x5206f9,_0x11af16,_0x1ab50f);let _0x3d07bb=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x464f41,_0x5ae807,_0x56a0ac){const _0x14c145=_0x568c59;super(),_0xe730d4(this,'_cachedData',new Map()),_0xe730d4(this,_0x14c145(0x26e),new Map()),_0xe730d4(this,'_disabled',!0x1),(this['_configService']=_0x464f41,this[_0x14c145(0x310)]=_0x5ae807,this[_0x14c145(0x120)]=_0x56a0ac);}[_0x568c59(0x335)](){const _0x1417f2=_0x568c59;this[_0x1417f2(0xbd)]=!0x0;}[_0x568c59(0x17c)](){const _0x41c9b6=_0x568c59;this[_0x41c9b6(0xbd)]=!0x1;}get[_0x568c59(0x8a)](){const _0xc8885c=_0x568c59;return this[_0xc8885c(0x26e)];}['dispose'](){const _0x302faa=_0x568c59;this[_0x302faa(0x28e)]()[_0x302faa(0x2c6)](()=>super[_0x302faa(0x106)]());}async[_0x568c59(0xdc)](_0x57e58e){const _0x4fcf1e=_0x568c59;return this['_disabled']?null:this[_0x4fcf1e(0x310)][_0x4fcf1e(0x288)](_0x497c74[_0x4fcf1e(0x186)](_0x57e58e));}async['saveOfflineData'](_0x12214b,_0x5ddef2){const _0x3b9c95=_0x568c59;return!!this['_localStorageService'][_0x3b9c95(0x239)](_0x12214b,_0x5ddef2);}[_0x568c59(0x220)](_0x53fdc1,_0x19d0b3,_0x50bfa6,_0x22440a){const _0x563d05=_0x568c59,_0x50a355=this[_0x563d05(0x120)]['getCurrentRevOfUnit'](_0x53fdc1);this[_0x563d05(0x1bb)]['set'](_0x53fdc1,{'unitID':_0x53fdc1,'type':_0x19d0b3,'awaitingChangeset':_0x50bfa6,'mutations':_0x22440a,'rev':_0x50a355}),this[_0x563d05(0x26e)][_0x563d05(0x268)](_0x53fdc1)||this[_0x563d05(0x1e9)](_0x53fdc1);}[_0x568c59(0x1e9)](_0x7bd6cd){const _0x4f64c7=_0x568c59,_0x1300a6=this[_0x4f64c7(0x157)]();_0x1300a6===0x0?this[_0x4f64c7(0xb3)](_0x7bd6cd):this[_0x4f64c7(0x26e)]['set'](_0x7bd6cd,setTimeout(()=>this[_0x4f64c7(0xb3)](_0x7bd6cd),_0x1300a6));}[_0x568c59(0x157)](){const _0x3d2c40=_0x568c59;var _0x528384;return(_0x528384=this[_0x3d2c40(0x217)][_0x3d2c40(0xd1)](_0x497c74['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x528384:_0x497c74[_0x3d2c40(0x29b)];}[_0x568c59(0xb3)](_0x421d05){const _0xb08e44=_0x568c59,_0x2da690=this[_0xb08e44(0x26e)][_0xb08e44(0x9e)](_0x421d05);return _0x2da690!==void 0x0&&window[_0xb08e44(0x147)](_0x2da690),this['_localStorageService'][_0xb08e44(0x239)](_0x497c74[_0xb08e44(0x186)](_0x421d05),this['_cachedData']['get'](_0x421d05))['then'](()=>this[_0xb08e44(0x26e)][_0xb08e44(0x1a7)](_0x421d05));}async['exhaustSavingTask'](){const _0x2756f4=_0x568c59,_0x232dd2=[];this[_0x2756f4(0x26e)]['forEach']((_0x2366f8,_0x457397)=>{const _0x3d0253=_0x2756f4;window[_0x3d0253(0x147)](_0x2366f8),_0x232dd2[_0x3d0253(0x1cc)](this[_0x3d0253(0xb3)](_0x457397)[_0x3d0253(0x2c6)](()=>{const _0x2783ca=_0x3d0253;this[_0x2783ca(0x26e)][_0x2783ca(0x1a7)](_0x457397);}));}),await Promise['all'](_0x232dd2);}};_0x3d07bb=_0x2c1815([_0x5b86ae(0x0,_0x4b176f[_0x568c59(0x9b)]),_0x5b86ae(0x1,_0x4b176f[_0x568c59(0x337)]),_0x5b86ae(0x2,_0x4b176f[_0x568c59(0x36e)](_0x2cf75e[_0x568c59(0x35f)]))],_0x3d07bb);class _0x2347bf extends _0x4b176f['RxDisposable']{constructor(){const _0x1fd6da=_0x568c59;super(),_0xe730d4(this,_0x1fd6da(0xa9)),this[_0x1fd6da(0xa9)]=_0x2d9524[_0x1fd6da(0x89)](window,_0x1fd6da(0x1ee))[_0x1fd6da(0x175)](_0x2d9524['takeUntil'](this['dispose$']),_0x2d9524['shareReplay'](0x1),_0x2d9524[_0x1fd6da(0x2fd)](void 0x0));}[_0x568c59(0x33f)](_0x53a9b4,_0x229341,_0x47635d=!0x1){const _0x330b73=_0x568c59,_0x2ad483=new URL(window[_0x330b73(0x110)][_0x330b73(0x33c)]);_0x2ad483['searchParams']['set'](_0x53a9b4,_0x229341),_0x47635d?window['history'][_0x330b73(0x2ca)]('','',_0x2ad483[_0x330b73(0xe8)]()):window['history'][_0x330b73(0x31c)]('','',_0x2ad483[_0x330b73(0xe8)]());}[_0x568c59(0x104)](_0x369f1d,_0x3091c8=!0x1){const _0x333f04=_0x568c59,_0x12200b=new URL(window['location'][_0x333f04(0x33c)]);_0x12200b[_0x333f04(0x18a)][_0x333f04(0x1a7)](_0x369f1d),_0x3091c8?window[_0x333f04(0x16c)][_0x333f04(0x2ca)]('','',_0x12200b[_0x333f04(0xe8)]()):window[_0x333f04(0x16c)][_0x333f04(0x31c)]('','',_0x12200b[_0x333f04(0xe8)]());}[_0x568c59(0x30f)](_0x9ef46c){const _0x2d4c18=_0x568c59;var _0x22e0fa;return(_0x22e0fa=new URL(window[_0x2d4c18(0x110)]['href'])['searchParams'][_0x2d4c18(0x9e)](_0x9ef46c))!=null?_0x22e0fa:void 0x0;}}var _0x287c9e=Object[_0x568c59(0x193)],_0x203838=Object[_0x568c59(0xf5)],_0x9e97f7=(_0x572ee5,_0x455b09,_0x2cf558)=>_0x455b09 in _0x572ee5?_0x287c9e(_0x572ee5,_0x455b09,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2cf558}):_0x572ee5[_0x455b09]=_0x2cf558,_0x431c8d=(_0x36283f,_0x59713c,_0x26f96e,_0x101f9d)=>{const _0x20aa8a=_0x568c59;for(var _0x41a9d8=_0x101f9d>0x1?void 0x0:_0x101f9d?_0x203838(_0x59713c,_0x26f96e):_0x59713c,_0xdd7bb8=_0x36283f[_0x20aa8a(0x261)]-0x1,_0x4cfb74;_0xdd7bb8>=0x0;_0xdd7bb8--)(_0x4cfb74=_0x36283f[_0xdd7bb8])&&(_0x41a9d8=_0x4cfb74(_0x41a9d8)||_0x41a9d8);return _0x41a9d8;},_0x2b34fb=(_0xddeafa,_0x5e6f3d)=>(_0x2547ab,_0xc6153c)=>_0x5e6f3d(_0x2547ab,_0xc6153c,_0xddeafa),_0x2a513a=(_0x3c12bf,_0x1f56a9,_0x2ee4c0)=>_0x9e97f7(_0x3c12bf,_0x1f56a9+'',_0x2ee4c0);const _0x293f41=_0x568c59(0x249);_0x49b1c5[_0x568c59(0x15d)]=class extends _0x4b176f[_0x568c59(0x2d2)]{constructor(_0x2da001=_0x1119c0,_0x2d6daf,_0x22d942,_0x49875a){const _0x8d7552=_0x568c59;super(),this['_config']=_0x2da001,this[_0x8d7552(0x364)]=_0x2d6daf,this[_0x8d7552(0x148)]=_0x22d942,this[_0x8d7552(0x217)]=_0x49875a;const {..._0x4d87c4}=_0x4b176f[_0x8d7552(0x218)]({},_0x1119c0,this[_0x8d7552(0x124)]);this['_configService'][_0x8d7552(0x297)](_0x28fa25,_0x4d87c4);}[_0x568c59(0x119)](){const _0x2121f4=_0x568c59;this['_registerDependencies'](),this[_0x2121f4(0xf2)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0x568c59(0x247)](){const _0xcfd021=_0x568c59;var _0xe4cead;const _0xcc771b=[[_0x4009eb],[_0x535a7f],[_0x4ac300],[_0x32787b],[_0x45c595],[_0x510ecb],[_0x69f589,{'useClass':_0x2347bf}],[_0x542501[_0xcfd021(0x2db)],{'useClass':_0x542501[_0xcfd021(0x285)]}],[_0x497c74['ILocalCacheService'],{'useClass':_0x3d07bb}],[_0x49b1c5[_0xcfd021(0x336)]],[_0x1c4ddb],[_0x32db3d],[_0x53db82],[_0x30a20f],[_0x49b1c5['CollaborationDataLoaderController']]];this[_0xcfd021(0x124)][_0xcfd021(0x289)]&&_0xcc771b[_0xcfd021(0x1cc)]([_0x16e051]),_0x4b176f['registerDependencies'](this[_0xcfd021(0x148)],_0x4b176f['mergeOverrideWithDependencies'](_0xcc771b,(_0xe4cead=this['_config'])==null?void 0x0:_0xe4cead[_0xcfd021(0x25e)]));}['_registerRenderDependencies'](){const _0x3fa480=_0x568c59;this[_0x3fa480(0x354)](this[_0x3fa480(0x364)][_0x3fa480(0x1ae)](_0x4b176f[_0x3fa480(0xc6)][_0x3fa480(0x141)],[_0x578f3e])),this[_0x3fa480(0x354)](this[_0x3fa480(0x364)][_0x3fa480(0x1ae)](_0x4b176f[_0x3fa480(0xc6)]['UNIVER_SHEET'],[_0x4f696d]));}[_0x568c59(0xf2)](){const _0x36d382=_0x568c59;_0x4b176f[_0x36d382(0xfe)](this['_injector'],[[_0x53db82],[_0x49b1c5[_0x36d382(0x336)]],[_0x1c4ddb],[_0x32db3d],[_0x49b1c5['CollaborationDataLoaderController']],[_0x535a7f]]),this[_0x36d382(0x124)][_0x36d382(0x289)]&&_0x4b176f[_0x36d382(0xfe)](this[_0x36d382(0x148)],[[_0x16e051]]);}},_0x2a513a(_0x49b1c5['UniverCollaborationClientUIPlugin'],'pluginName',_0x293f41),_0x49b1c5[_0x568c59(0x15d)]=_0x431c8d([_0x4b176f['DependentOn'](_0x497c74[_0x568c59(0x359)]),_0x2b34fb(0x1,_0x517da6[_0x568c59(0x264)]),_0x2b34fb(0x2,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x2b0)])),_0x2b34fb(0x3,_0x4b176f[_0x568c59(0x9b)])],_0x49b1c5[_0x568c59(0x15d)]);var _0x555dd1=Object[_0x568c59(0xf5)],_0xef853b=(_0x2c8a5b,_0x559c0f,_0xa845f0,_0x4075f4)=>{const _0xdbe6ea=_0x568c59;for(var _0x263754=_0x4075f4>0x1?void 0x0:_0x4075f4?_0x555dd1(_0x559c0f,_0xa845f0):_0x559c0f,_0x240378=_0x2c8a5b[_0xdbe6ea(0x261)]-0x1,_0x110103;_0x240378>=0x0;_0x240378--)(_0x110103=_0x2c8a5b[_0x240378])&&(_0x263754=_0x110103(_0x263754)||_0x263754);return _0x263754;},_0xc8fcd7=(_0x3614fb,_0x5702d4)=>(_0x4c722c,_0x31a9d6)=>_0x5702d4(_0x4c722c,_0x31a9d6,_0x3614fb);_0x49b1c5[_0x568c59(0x34f)]=class extends _0x497c74[_0x568c59(0xc4)]{constructor(_0x13ff5a,_0x22a86c,_0x3e8ba9,_0x299d72,_0x2b7b7f){super(_0x13ff5a,_0x22a86c,_0x3e8ba9,_0x299d72,_0x2b7b7f);}async[_0x568c59(0x1b4)](_0x175c10){const _0x18468c=_0x568c59,_0x36b2ee=await this['_getSessionTicket'](),_0xc00b64=this[_0x18468c(0x1bc)](_0x175c10,_0x36b2ee);return this[_0x18468c(0xed)](_0xc00b64);}['_createSocketURL'](_0x10083a,_0x450a4d){const _0x5a3d8c=_0x568c59,_0x73309b=typeof window>'u'?new URL(_0x10083a):new URL(_0x10083a,window[_0x5a3d8c(0x110)][_0x5a3d8c(0x1c5)]);_0x73309b[_0x5a3d8c(0x18a)][_0x5a3d8c(0xd2)](_0x5a3d8c(0x22d),_0x450a4d);const _0x5b7390=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5a3d8c(0x110)][_0x5a3d8c(0x222)]);return _0x5b7390[_0x5a3d8c(0x9e)](_0x5a3d8c(0x1c7))&&_0x73309b[_0x5a3d8c(0x18a)][_0x5a3d8c(0xd2)]('runId',_0x5b7390[_0x5a3d8c(0x9e)](_0x5a3d8c(0x1c7))),_0x73309b[_0x5a3d8c(0xe8)]();}async['_getSessionTicket'](){const _0x1da992=_0x568c59;var _0x6f3901,_0x16d18e,_0x3c6894;const _0x634648=this[_0x1da992(0x217)][_0x1da992(0xd1)](_0x497c74['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x134be2=(_0x6f3901=_0x634648==null?void 0x0:_0x634648[_0x1da992(0x324)])!=null?_0x6f3901:_0x497c74[_0x1da992(0x304)];return(_0x3c6894=(_0x16d18e=(await this['_httpService']['get'](_0x134be2,{'headers':{'Content-Type':'application/json'}}))[_0x1da992(0x16e)])==null?void 0x0:_0x16d18e[_0x1da992(0x307)])!=null?_0x3c6894:'';}},_0x49b1c5[_0x568c59(0x34f)]=_0xef853b([_0xc8fcd7(0x0,_0x4b176f['Inject'](_0x4b176f[_0x568c59(0x2b0)])),_0xc8fcd7(0x1,_0x4b176f[_0x568c59(0x36e)](_0x542501[_0x568c59(0x28f)])),_0xc8fcd7(0x2,_0x4b176f[_0x568c59(0x9b)]),_0xc8fcd7(0x3,_0x4b176f[_0x568c59(0x344)]),_0xc8fcd7(0x4,_0x2cf75e['ISnapshotServerService'])],_0x49b1c5['BrowserCollaborationSocketService']);var _0xb7dbe1=Object[_0x568c59(0xf5)],_0x2da5f7=(_0x33b30a,_0x378757,_0x51a64f,_0x257469)=>{const _0x58ac9e=_0x568c59;for(var _0x5bbbda=_0x257469>0x1?void 0x0:_0x257469?_0xb7dbe1(_0x378757,_0x51a64f):_0x378757,_0x1007d2=_0x33b30a[_0x58ac9e(0x261)]-0x1,_0x4a286a;_0x1007d2>=0x0;_0x1007d2--)(_0x4a286a=_0x33b30a[_0x1007d2])&&(_0x5bbbda=_0x4a286a(_0x5bbbda)||_0x5bbbda);return _0x5bbbda;},_0xfa9f7f=(_0x44d0a4,_0x3fd110)=>(_0x31643c,_0x310df3)=>_0x3fd110(_0x31643c,_0x310df3,_0x44d0a4);_0x49b1c5[_0x568c59(0x254)]=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x3fa835,_0x3ac559,_0xeab8c9){const _0x55b502=_0x568c59;super(),this[_0x55b502(0x267)]=_0x3fa835,this[_0x55b502(0x228)]=_0x3ac559,this[_0x55b502(0x217)]=_0xeab8c9;}async[_0x568c59(0x207)](_0x35bfdd,_0xd4cbb3,_0x10423b,..._0x592ae4){const _0x4a9e4c=_0x568c59;var _0x5bc41e,_0xca6253,_0x48cd13,_0x28f631;const _0x1b7f18=this[_0x4a9e4c(0x267)][_0x4a9e4c(0x18f)]();if(!_0x1b7f18)throw new Error(_0x4a9e4c(0x280));const _0x2ed315=((_0x5bc41e=this[_0x4a9e4c(0x217)][_0x4a9e4c(0xd1)](_0x497c74[_0x4a9e4c(0x15b)]))!=null?_0x5bc41e:_0x497c74['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x35bfdd+_0x4a9e4c(0x152)+_0xd4cbb3,_0x577994=new URL(window[_0x4a9e4c(0x110)][_0x4a9e4c(0x33c)]),_0x2fdaab={'scriptId':_0x35bfdd,'runId':(_0xca6253=_0x577994['searchParams'][_0x4a9e4c(0x9e)](_0x4a9e4c(0x1c7)))!=null?_0xca6253:'','function':_0xd4cbb3,'unitId':_0x1b7f18[_0x4a9e4c(0x1f3)](),'argsOfFunction':JSON[_0x4a9e4c(0x1d2)](_0x592ae4),'invokeId':(_0x48cd13=_0x10423b['invokeId'])!=null?_0x48cd13:'','executionId':(_0x28f631=_0x10423b[_0x4a9e4c(0x1b7)])!=null?_0x28f631:''};try{const _0x128dee=await this[_0x4a9e4c(0x228)][_0x4a9e4c(0xc9)](_0x2ed315,{'body':_0x2fdaab});return _0x128dee[_0x4a9e4c(0x16e)][_0x4a9e4c(0x11f)]&&_0x128dee['body'][_0x4a9e4c(0x11f)][_0x4a9e4c(0x2d6)]!==_0x5502e6['OK']?_0x4a9e4c(0x202):_0x128dee[_0x4a9e4c(0x16e)][_0x4a9e4c(0x36d)];}catch{return'Failed';}}},_0x49b1c5['RemoteUniscriptService']=_0x2da5f7([_0xfa9f7f(0x0,_0x4b176f[_0x568c59(0x26f)]),_0xfa9f7f(0x1,_0x4b176f[_0x568c59(0x36e)](_0x542501[_0x568c59(0x28f)])),_0xfa9f7f(0x2,_0x4b176f[_0x568c59(0x9b)])],_0x49b1c5[_0x568c59(0x254)]);const _0x5ef8d7=0x7530,_0x317e80=_0x568c59(0x286);class _0xbda6a0 extends _0x4b176f['Disposable']{constructor(){const _0x9c2660=_0x568c59;super(),_0xe730d4(this,_0x9c2660(0x308),_0x4b176f[_0x9c2660(0x22e)]()),_0xe730d4(this,'_selfUnitIDs',new Set()),_0xe730d4(this,'_unitOnClients',new Map()),_0xe730d4(this,'_heartbeatTimer',null),_0xe730d4(this,_0x9c2660(0x374),new Map()),_0xe730d4(this,'_unitStatus',new Map()),this[_0x9c2660(0x129)]();}[_0x568c59(0x106)](){const _0x3ce6eb=_0x568c59;super[_0x3ce6eb(0x106)](),this[_0x3ce6eb(0x374)][_0x3ce6eb(0x15e)]((_0x2a479b,_0x4f33ad)=>this[_0x3ce6eb(0x138)](_0x4f33ad)),this[_0x3ce6eb(0x2aa)]&&window['clearInterval'](this[_0x3ce6eb(0x2aa)]);}['getUnitStatus$'](_0x5e6e4e){const _0x28a2e2=_0x568c59;return this[_0x28a2e2(0x2bb)](_0x5e6e4e)['pipe'](_0x2d9524[_0x28a2e2(0x269)]());}['editingUnit'](_0x22b0a6){const _0xaa886e=_0x568c59;this[_0xaa886e(0x103)][_0xaa886e(0x2d1)]===0x0&&this[_0xaa886e(0x190)](),this[_0xaa886e(0x103)][_0xaa886e(0x2bf)](_0x22b0a6),this[_0xaa886e(0x2d8)]({'type':0x0,'memberID':this[_0xaa886e(0x308)],'unitIDs':[_0x22b0a6],'isForwarded':!0x1});}[_0x568c59(0x1db)](_0x4c7dd8){const _0x569ad2=_0x568c59;this['_selfUnitIDs'][_0x569ad2(0x1a7)](_0x4c7dd8),this[_0x569ad2(0x103)][_0x569ad2(0x2d1)]===0x0&&this[_0x569ad2(0x2aa)]&&window[_0x569ad2(0x2b9)](this['_heartbeatTimer']);}[_0x568c59(0x129)](){const _0x2ace39=_0x568c59;this[_0x2ace39(0x354)](_0x4b176f['toDisposable'](_0x2d9524[_0x2ace39(0x89)](window,_0x2ace39(0x2ee))[_0x2ace39(0xe7)](_0x949f2e=>{const _0x4bdb8d=_0x2ace39;if(_0x949f2e['key']!==_0x317e80||!_0x949f2e[_0x4bdb8d(0xa2)])return;const _0xb6803d=JSON[_0x4bdb8d(0xfa)](_0x949f2e[_0x4bdb8d(0xa2)]);this[_0x4bdb8d(0x1d4)](_0xb6803d);}))),window['addEventListener'](_0x2ace39(0x171),()=>this[_0x2ace39(0x2d8)]({'type':0x1,'memberID':this[_0x2ace39(0x308)],'unitIDs':Array[_0x2ace39(0xd3)](this[_0x2ace39(0x103)])}));}[_0x568c59(0x1d4)](_0x3e7398){const _0x3ed957=_0x568c59;switch(_0x3e7398['type']){case 0x0:this[_0x3ed957(0x1d1)](_0x3e7398);break;case 0x1:this[_0x3ed957(0xe5)](_0x3e7398);break;case 0x2:this[_0x3ed957(0x183)](_0x3e7398);break;}}[_0x568c59(0x1d1)](_0x48f530){const _0x1a6663=_0x568c59,{unitIDs:_0x58a802,memberID:_0x549e88,isForwarded:_0x33653b}=_0x48f530;_0x58a802[_0x1a6663(0x15e)](_0x251ea=>{const _0x53623b=_0x1a6663;if(!_0x33653b&&this[_0x53623b(0xea)][_0x53623b(0x268)](_0x251ea)&&this[_0x53623b(0x2bb)](_0x251ea)[_0x53623b(0x165)](_0x497c74['UnitStatus'][_0x53623b(0x10a)]),!this[_0x53623b(0xea)][_0x53623b(0x268)](_0x251ea)||!this[_0x53623b(0xea)]['get'](_0x251ea)[_0x53623b(0x268)](_0x549e88)){const _0x53728b=this[_0x53623b(0xea)][_0x53623b(0x9e)](_0x251ea)||new Set();_0x53728b[_0x53623b(0x2bf)](_0x549e88),this['_unitOnClients'][_0x53623b(0xd2)](_0x251ea,_0x53728b),this[_0x53623b(0x342)](_0x549e88);}}),_0x33653b||this['_send']({'type':0x0,'memberID':this[_0x1a6663(0x308)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x568c59(0x342)](_0x47e6d1){const _0xe3b74=_0x568c59;this[_0xe3b74(0x138)](_0x47e6d1);const _0x52a920=window[_0xe3b74(0x1de)](()=>{const _0x564f48=_0xe3b74;this[_0x564f48(0xea)]['forEach'](_0x437c5e=>{const _0x32fd4d=_0x564f48;_0x437c5e[_0x32fd4d(0x1a7)](_0x47e6d1);});},_0x5ef8d7*0x2);this[_0xe3b74(0x374)]['set'](_0x47e6d1,_0x52a920);}['_removeClearOtherTimer'](_0x568c43){const _0xd1194e=_0x568c59;if(this[_0xd1194e(0x374)][_0xd1194e(0x268)](_0x568c43)){const _0x13b5e4=this[_0xd1194e(0x374)]['get'](_0x568c43);_0x13b5e4&&window[_0xd1194e(0x147)](_0x13b5e4),this['_clearOtherTimers'][_0xd1194e(0xd2)](_0x568c43,null);}}['_handleLeaveEvent'](_0xa18a36){const _0xcae122=_0x568c59,{memberID:_0x4d2afa,unitIDs:_0x689ae4}=_0xa18a36;_0x689ae4[_0xcae122(0x15e)](_0x33f472=>{const _0x2bfcfe=_0xcae122;var _0x3618bc;const _0x907d6f=this['_unitOnClients'][_0x2bfcfe(0x9e)](_0x33f472);_0x907d6f&&(_0x907d6f[_0x2bfcfe(0x1a7)](_0x4d2afa),(_0x3618bc=this[_0x2bfcfe(0x2bb)](_0x33f472))==null||_0x3618bc['next'](_0x907d6f[_0x2bfcfe(0x2d1)]===0x0?_0x497c74[_0x2bfcfe(0x1d6)][_0x2bfcfe(0x2de)]:_0x497c74[_0x2bfcfe(0x1d6)][_0x2bfcfe(0x10a)]));}),this['_removeClearOtherTimer'](_0x4d2afa);}[_0x568c59(0x183)](_0x78b5ed){const _0x53c4ca=_0x568c59;this['_scheduleClearOtherTimer'](_0x78b5ed[_0x53c4ca(0xde)]);}['_send'](_0x2f9499){const _0x2f4b4c=_0x568c59;localStorage[_0x2f4b4c(0x239)](_0x317e80,JSON[_0x2f4b4c(0x1d2)](_0x2f9499));}[_0x568c59(0x190)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x33539d=_0x34b8;this['_send']({'type':0x2,'memberID':this[_0x33539d(0x308)]});},_0x5ef8d7);}[_0x568c59(0x2bb)](_0x37fd18){const _0xd4875b=_0x568c59;return this['_unitStatus']['has'](_0x37fd18)||this[_0xd4875b(0x206)]['set'](_0x37fd18,new _0x2d9524[(_0xd4875b(0x1cf))](_0x497c74[_0xd4875b(0x1d6)][_0xd4875b(0x2de)])),this[_0xd4875b(0x206)]['get'](_0x37fd18);}}_0x49b1c5[_0x568c59(0x226)]=_0x69f589,_0x49b1c5[_0x568c59(0x132)]=_0x2b40de,_0x49b1c5[_0x568c59(0x146)]=_0xbda6a0,_0x49b1c5['WebURLService']=_0x2347bf,Object[_0x568c59(0x193)](_0x49b1c5,Symbol[_0x568c59(0x313)],{'value':_0x568c59(0x2f7)});}));