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

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 _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)});}));
1
+ function _0x42c3(){const _0x3a0e29=['CONNECTOR_DATA_TOO_LARGE','svg','CURRENT_STATUS_CANNOT_OPERATE','beforeCommandExecuted','Injector','NOT_COLLAB','takeUntil','blue.400','_onRefRangeChange','_lastResponseTimestamp','UnitStatus','_removeCollabCursors','[CollaborationDataLoaderController]','UniverInstanceType','filter','collaboration.closeRoom','url(#$1','IRemoteInstanceService','collabStatus.offline','createIdentifier','Warning','ILocalStorageService','_toggleOffline','save','startsWith','executionId','_range','on-line-icon_clip0_910_349','_unitStatus','get','BehaviorSubject','_initStatusListener','onPointerEnter$','_currentUsage','_ensureSubject','20FAmBmk','result','closePath','Rect','onPointerMove$','isTransformMutationsWithChangesetSuccess','deepClone','isFormulaString','_hideTimer','_maxFormulaLimit','NodePositionConvertToCursor','params','4bpxakG','ranges','LICENSE_IMPORT_SIZE_EXCEEDED','_docSkeletonManagerService','_docSyncEditingCollabCursorService','session.collaboration-timeout','getCoordByCell','complete','getRelativeToViewportCoord','setTimeout','ICommandService','_uiPartsService','deserializeRangeWithSheet','getMemberID','[LogService\x20Error]:\x20','_handleHover','_registerDependencies','defineProperty','forwardRef','20QxvavE','setParam','getUndoRedoMutationParamsCache','_refRangeService','transformIMECache','onStarting','getUnitId','toString','MessageType','_init','distinctUntilChanged','getCurrentSelections','ALREADY_EXISTS','error','PY_RUNTIME_SCRIPT_ERROR','evenodd','_revisionService','UniverDocsUi','SNAPSHOT_INVALID_SNAPSHOT','ILocalCacheService','font','SheetsSelectionsService','@univerjs/engine-render','subscribe','updateOfflineData','DataLoaderService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UNRECOGNIZED','delete','setItem','RemoveRowCommandId','_hovered','_send','handleInsertCol','_collaborationController','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getDocRanges','_unitOnClients','13ggOBkk','subunit','getMember','assignAColorForMemberID','LocaleService','_transformHistoryAndStateStack','collabStatus.conflict','saveTaskMap','loadOfflineData','_docTransformIMECacheService','_name','_syncEditingCollabCursorService','_saveTaskMap','APPLY_PERMISSION_DENIED','Subject','_pollingInterval','dirtyRanges','Tools','CONFLICT','EffectRefRangId','UNDEFINED','formula.calculation.unable','UniverDrawing','_httpService','NO_OTHER_CLIENTS_EDITING','reconnect','generateRandomId','_online','split','_hasFormulaInDirtyRanges','function','touchDependencies','_messageService','_drawAnchor','COLORS','registerRefRange','_onCursorDelete','has','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','addObjects','_initUserListener','_initWindowErrorListener','socket$','width','ticket','SetFormulaCalculationNotificationMutation','addObject','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','clipPath','drawWith','getViewport','registerDependencies','m1Prime','skeleton','80628WjFkMp','url(#off-line-icon_clip0_910_343)','_releaseCalculationLimit','IImageIoService','@univerjs/network','createInstance','transformSelections','useRef','debounce','_handleEvent','unitId','DesktopCollaborationStatusDisplayController','enableFrontendLog','MoveRangeCommandId','debug','div','CollaborationSessionService','setConfig','red.300','toStringTag','_imageIoService','NodePositionConvertToRectRange','rxjs/operators','@univerjs/design','collab-text-range-','/universer-api/license/formula/limit/status','collaboration.single-unit.warning','_refreshCollabCursors','_setFormulaLimitStatus','_setupSubUnitSync','getCurrentUnitForType','@univerjs/docs-ui','from','_shapes','OTHER_CLIENTS_EDITING','32231JpwpuO','undoState','RefRangeService','_updateCollabCursors','_registerRenderDependencies','black','off-line-icon_clip0_910_343','FormulaExecuteStageType','code','@univerjs-pro/collaboration-client','mutations','random','react','path','getColorFromTheme','Inject','6DpqCOx','DocCollaborationEntity','IRenderManagerService','round','...','OFFLINE','onTransformChange$','event$','size','_memberService','permission.title','UniverProCollaborationClientUi','wsSessionTicketUrl','YUUMI_AI_RUN_FAILED','top','arc','UNIVER_DOC','children','unitID','REDEMPTION_CODE_FULLY_REDEEMED','_roomMembers$','_disabled','_initUnhandledRejectionListener','includes','formula.calculation.waiting','APPLY_NON_SEQUENTIAL_REVISION','now','clsx','transformMutationsWithChangeset','UniverCollaborationClientUIPlugin','mapTo','UniverEngineRender','_hover','APPLY_REVISION_CONFILICT','_checkAndWaitForCalculationPermission','serializeRangeWithSheet','?taskId=','_sheetSkeletonManagerService','MOBILE_VERIFY_CODE_MISMATCH','currentSkeleton$','executeCommand','memberID','isArray','CLOSE_ROOM','getAncestorScale','entries','LICENSE_MAX_UNITS_EXCEEDED','whenReady','WebBrowserSingleActiveUnitService','AUTHORIZE_CODE_ILLEGAL','createSocket','CollaborationStatus','collabCursorState$','_startSheetCollabCursor','setStateCache','location','_commandService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','source','currentColor','unhandledrejection','http://www.w3.org/2000/svg','/universer-api/frontend/logs','_id','DOC_RANGE_TYPE','REDEMPTION_INVALID_CODE','RevisionService','getRenderById','getSheetObject','_draw','rxjs','colno','_cursorShapes','RemoteUniscriptService','off-line-icon','message','_getAnchorBounding','DocIMEInputManagerService','_backgroundColor','makeDirty','_updateURLWithCurrentState','SetDocZoomRatioOperation','TOO_MANY_REQUESTS','replaceDocRanges','UniverDesign','getItem','pushState','_setupBeforeClosingHandler','EMAIL_HAS_BEEN_BOUND','stage','COMPLETION_FINISHED','0\x200\x2017\x2016','setAlpha','_eventUnsubscribe','ThemeService','isActive','BrowserCollaborationSocketService','ENTITLE_NEED_BILLING_ADDRESS','CHANGESET_REVISION_CONFILICT','collab-rect-range-','idSuffix','1912440Yabwcb','_localeService','collabStatus.syncing','ENTITLE_CAN_NOT_BUY_LOWER_OTP','transformRemoteChangeset','_renderManagerService','REDEMPTION_CODE_HAS_BEEN_CREATED','React','0\x200\x2016\x2016','REDEMPTION_CODE_NOT_STARTED','AWAITING','override','rgba(255,\x20255,\x20255,\x200.01)','useObservable','_color','PAYMENT_CHANNEL_NOT_SUPPORT','DeleteRangeMoveLeftCommandId','maxFormulaLimit','HEADER_MENU','getParam','LOCAL_CACHE_INTERVAL','cursorInfo','Shape','_docClipboardService','FormulaExecutedStateType','fillText','name','current','startColumn','WebURLService','jsx','getActiveSheet','Optional','ENTITLE_COUPON_USED_UP','getTypeOfUnitAdded$','_initEntityListener','UniverDocs','Vector2','1em','univer-flex\x20univer-items-center','INVALID_INVITE_CODE','CollaborationEvent','reason','storage','DEFAULT_WS_SESSION_TICKET_URL','filename','show','uni.network.url-service','MUTATION','xlink:href','findNodePositionByCharIndex','push','_cursor','WECHAT_HAS_BEEN_BOUND','_removeClearOtherTimer','unshift','ENTITLE_REPORT_LIMIT_EXCEED','registerRenderModule','syncEditingCollabCursor','tag','INVALID_ARGUMENT','_session','OnLineIcon','_collaborationUIEventService','OffLineIcon','_labelPosition','FromArray','getSkeleton','requireSession','parseInt','lineTo','YUUMI_UNABLE_LOAD_URL','then','selection','_createSocketURL','APPLY_REJECT','CollaborationUIEventService','useDependency','fromEvent','jiqing.500','Disposable','_render','_toggleOnline','_config','_cursorInfo$','releaseFormulaLimitUrl','UniverNetwork','721007sCbDjr','onMouseMove','ENTITLE_CHAT_LIMIT_EXCEED','UniverProCollaboration','some','getConfig','editingUnit','dispose','1104323JLXTTE','setShapeProps','replace','handleMoveRange','_localStorageService','_entityInit$','_handleLeaveEvent','min','IUIPartsService','endColumn','CollaborationController','_univerInstanceService','substring','_instanceService','UniverProCollaborationClient','onCommandExecuted','DeleteRangeMoveUpCommandId','LOGIN_TOKEN_PROCESSING_FAILED','asObservable','_clearOtherTimers','BuiltInUIPart','enableLocalCache','SheetCollabCursorShape','beginPath','collabStatus.fetchMiss','fill','ENTITLE_COUPON_EXPIRED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getFocusedUnit','ENTITLE_USE_COUPON_NOT_1ST_TRADE','subscribeEvent','_getFormulaLimitStatus','_initCommandInterceptor','handleIRemoveRow','collaboration.offline-data-not-saved','_docStateChangeManagerService','fromEventSubject','status$','SetWorksheetActivateCommand','ONLINE','getformulaLimitStatusUrl','_collabCursorState$','handleIRemoveCol','stageInfo','collabStatus.notCollab','_lastPointer','connectInjector','handleInsertRow','application/json','colorChannel1','measureText','_docTransformSelectionsService','createElement','stringify','_notificationService','type','exhaustSavingTask','SessionStatus','ILogService','hide','_context','lineno','parse','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_anchor','getUnit','column','_updateLocalCursor','textRanges','_collabSessionService','endRow','USER_IS_ANONYMOUS','VIEW_MAIN','_updateSubUnitFromURLParams','next','saveImage','dispose$','START_CALCULATION','white','disposeUnit','operators','SetSelectionsOperation','actions','IConfigService','fillRule','UPDATE_CURSOR','REDEMPTION_USER_REDEEM_TIMES_EXCEED','InsertColCommandId','transformMutation','YUUMI_NO_CUBOID_FOR_QUESTION','DocSelectionManagerService','ENTITLE_INSUFFICIENT_QUOTA','RichTextEditingMutation','PERMISSION_DENIED','REDEMPTION_USER_NOT_ELIGIBLE','NOT_FOUND','runId','LOCAL_CACHE_INTERVAL_KEY','INVITE_CODE_ALREADY_BOUND','MemberService','MOBILE_HAS_BEEN_BOUND','onLocalMutation','history','limitInfo','getUnitStatus$','_applyCommand','_assignedColors','TEXT_RANGE_LAYER_INDEX','map','936NopxBC','SOCKET_FAILED','_scheduleClearOtherTimer','none','3120XaRKSK','defIds','selections','find','data','SetTextSelectionsOperation','_showGuardMessage','getCellMatrix','_configService','ERROR_AGAIN','startRow','removeEventListener','1201095YBxlUN','_scheduleSaving','DisposableCollection','_initResize','body','_collaborationSessionService','RECT','getOwnPropertyDescriptor','UNAUTHENTICATED','currentTheme$','combineLatest','getCurrent','transform','functionsExecutedState','YUUMI_RATE_OVER_LIMIT','_saveCache','INTERNAL_ERROR','unit','_colorIndex','getCellPositionByOffset','Workbook','newValue','_drawRectRange','href','startFormulaLimitUrl','IMessageService','ITransformService','getCollabCursors$','moveTo','_initDependencies','attrs','_cachedData','LOGIN_FAILED','addEventListener','_initEvent','with','getColor','CollaborationDataLoaderController','@univerjs/drawing','YUUMI_URL_COL_OUT_OF_RANGE','_onCursorUpdate','jsxs','_injector','symbol','toRgbString','string','_checkCalculationAvailable','engine','_dataLoaderService','getCurrentRevOfUnit','[Window\x20Error]:\x20','IURLService','isFormulaId','onPointerLeave$','flatMap','searchParams','@univerjs/ui','object','length','HTTPService','roomMembers$','INVITE_CODE_HAS_BEEN_UES','@univerjs/sheets-ui','_transformUndoRedoStack','sheetId','_colorAssignService','all','setUndoRedoMutationParamsCache','contains','USER_NOT_FOUND','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UniverUi','_beforeCloseService','transformStateCache','UniverRpc','resize','disableLocalCache','ACTIVE_UNIT_EVENT_CHANNEL','_docTransformStateCacheService','ENTITLE_DUP_SUBSCRIPTION','_heartbeatTimer','addClipboardHook','RegularPolygon','assign','restore','removeParam','isTransformMutationFailure','_getMergeRange','transformByState','TEXT','SYNCED','_doCreateSocket','post','_entities','_uploadLog','forEach','_collabCursorController','totalFormulasToCalculate','stack','YUUMI_ALL_TABLES_IS_INVALID','exports','YUUMI_ASYNCIO_CANCELLED','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','CollaborationUIEventId','range','_themeService','sessionStatus$','saveOfflineData','_transformService','shift','_startDocCollabCursor','_logService','merge','disposeWithMe','replaceState','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_monkeyPatchLogService','_drawTextRange','handleInsertRangeMoveDown','IUniverInstanceService','getOffsetConfig','collab-text-anchor-','ENSURE_SNAPSHOT_EXECUTION','_taskIds','@univerjs/core','handleDeleteRangeMoveUp','currentUsage','Error','_getSessionTicket','entityInit$','bottom','cursorInfo$','values','subUnitId','_anchorDot','ENTITLE_INVALID_COUPON_CODE','catch','color','redoState','urlChange$','INVITE_CODE_REQUIRED','UNIVER_SHEET','_clearPolling','useCallback','RxDisposable','UniverEngineFormula','/universer-api/license/formula/limit/start','CanceledError','UniverCore','add','DependentOn','USERS_LEAVE','text','getLocalCacheKey','unsubscribe','key','_transformPreviousActiveRange','collabStatus.synced','APPLY_DUPLICATED','height','invokeId','origin','throttleTime','mergeOverrideWithDependencies','_urlService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','init','_handleHeartbeatEvent','_startCalculationLimit','_localCacheService','translate(.97)','@univerjs/engine-formula','WebSocketService','doc.mutation.rich-text-editing','DATA_SOURCE_TOO_LARGE','Failed','getUnhiddenWorksheets','getSheetBySheetId','YUUMI_SUBSCRIPTION_NOT_FOUND','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','LICENSE_EXPORT_SIZE_EXCEEDED','\x20at\x20','loadUnit','set','clearInterval','_status$','Success','_getSaveTimeout','DocSkeletonManagerService','collab-client.tooltip.reconnect','_selfUnitIDs','DocStateChangeManagerService','send','_getSheetObject','/universer-api/license/formula/limit/done','collaboration-client-ui.config','SNAPSHOT_HAS_BEEN_REMOVED','SetFormulaCalculationStartMutation','m2Prime','pipe','YUUMI_CONNECTOR_URL_NOT_FOUND','labelPosition','M0\x200H16V16H0z','getSheetId','_scene','LICENSE_DISTRO_REJECTED','debounceTime','row','pluginName','UniverSheets','isEditing','getRangePointData','_textBubble','ColorKit','getUniverSheetInstance','_cursors','Loading','getStateCache','switchMap','_scheduleHeartbeat','clearTimeout','displayName','EMAIL_VERIFY_CODE_MISMATCH','green.600','use','getValue'];_0x42c3=function(){return _0x3a0e29;};return _0x42c3();}function _0x3fad(_0x51e7db,_0x448028){_0x51e7db=_0x51e7db-0xbd;const _0x42c325=_0x42c3();let _0x3fadc9=_0x42c325[_0x51e7db];return _0x3fadc9;}(function(_0x5384d3,_0x15efaf){const _0x34be41=_0x3fad,_0x4d707d=_0x5384d3();while(!![]){try{const _0x4145e4=-parseInt(_0x34be41(0xcc))/0x1*(-parseInt(_0x34be41(0x323))/0x2)+parseInt(_0x34be41(0x39e))/0x3*(parseInt(_0x34be41(0x32f))/0x4)+parseInt(_0x34be41(0x21d))/0x5+-parseInt(_0x34be41(0xdc))/0x6*(parseInt(_0x34be41(0x198))/0x7)+parseInt(_0x34be41(0x211))/0x8*(parseInt(_0x34be41(0x20d))/0x9)+-parseInt(_0x34be41(0x342))/0xa*(parseInt(_0x34be41(0x1a0))/0xb)+-parseInt(_0x34be41(0x141))/0xc*(parseInt(_0x34be41(0x368))/0xd);if(_0x4145e4===_0x15efaf)break;else _0x4d707d['push'](_0x4d707d['shift']());}catch(_0x4131ab){_0x4d707d['push'](_0x4d707d['shift']());}}}(_0x42c3,0x28b98),function(_0x573077,_0x383f41){const _0x5de9d3=_0x3fad;typeof exports==_0x5de9d3(0x256)&&typeof module<'u'?_0x383f41(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==_0x5de9d3(0x386)&&define['amd']?define([_0x5de9d3(0x281),'react/jsx-runtime',_0x5de9d3(0xd5),_0x5de9d3(0x299),_0x5de9d3(0x255),'rxjs',_0x5de9d3(0xc0),_0x5de9d3(0xd8),'@univerjs/rpc','@univerjs/sheets',_0x5de9d3(0x358),_0x5de9d3(0x3a2),_0x5de9d3(0xc8),_0x5de9d3(0x243),'@univerjs-pro/collaboration','@univerjs/docs',_0x5de9d3(0x2c9),_0x5de9d3(0xbf),_0x5de9d3(0x25b)],_0x383f41):(_0x573077=typeof globalThis<'u'?globalThis:_0x573077||self,_0x383f41(_0x573077[_0x5de9d3(0xe7)]={},_0x573077[_0x5de9d3(0x148)],_0x573077[_0x5de9d3(0x1ae)],_0x573077[_0x5de9d3(0x2b1)],_0x573077[_0x5de9d3(0x264)],_0x573077[_0x5de9d3(0x122)],_0x573077[_0x5de9d3(0x130)],_0x573077[_0x5de9d3(0x148)],_0x573077[_0x5de9d3(0x267)],_0x573077[_0x5de9d3(0x2ef)],_0x573077[_0x5de9d3(0xfb)],_0x573077[_0x5de9d3(0x197)],_0x573077[_0x5de9d3(0x353)],_0x573077[_0x5de9d3(0x37e)],_0x573077[_0x5de9d3(0x19b)],_0x573077[_0x5de9d3(0x165)],_0x573077[_0x5de9d3(0x2ae)],_0x573077['rxjs'][_0x5de9d3(0x1f0)],_0x573077['UniverSheetsUi']));}(this,function(_0x1e8a5b,_0x3b5db8,_0x5e7c26,_0x3a09c4,_0x592aaf,_0x41fba3,_0x2a2db6,_0x5c82c4,_0x22bf51,_0x6f871,_0x271b4b,_0x20de86,_0x9d9b14,_0x5b74e1,_0x5e9418,_0x4995f4,_0x3202a1,_0x360399,_0x577dad){'use strict';const _0x29bde7=_0x3fad;var _0xddd7bc=Object[_0x29bde7(0x340)],_0x4fef61=(_0x244bd4,_0x318e5b,_0x20be18)=>_0x318e5b in _0x244bd4?_0xddd7bc(_0x244bd4,_0x318e5b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20be18}):_0x244bd4[_0x318e5b]=_0x20be18,_0x9f87fa=(_0x713eda,_0x5dd261,_0x5ce16d)=>_0x4fef61(_0x713eda,typeof _0x5dd261!=_0x29bde7(0x248)?_0x5dd261+'':_0x5dd261,_0x5ce16d);function _0xd2a620({ref:_0x12c1b3,..._0x517030}){const _0xe651fb=_0x29bde7,{icon:_0x54ff81,id:_0x5e86cc,className:_0xb1c0f7,extend:_0x23cad8,..._0x1cfae7}=_0x517030,_0x5e24fc=('univerjs-icon\x20univerjs-icon-'+_0x5e86cc+'\x20'+(_0xb1c0f7||''))['trim'](),_0xd71011=_0x5c82c4[_0xe651fb(0x3a5)]('_'+_0x45d478());return _0x18f2df(_0x54ff81,''+_0x5e86cc,{'defIds':_0x54ff81[_0xe651fb(0x212)],'idSuffix':_0xd71011[_0xe651fb(0x15c)]},{'ref':_0x12c1b3,'className':_0x5e24fc,..._0x1cfae7},_0x23cad8);}function _0x18f2df(_0x1411f6,_0x256ff3,_0x3d8548,_0x3bbabf,_0x5dc9f2){const _0x368a23=_0x29bde7;return _0x5c82c4['createElement'](_0x1411f6['tag'],{'key':_0x256ff3,..._0x4299c0(_0x1411f6,_0x3d8548,_0x5dc9f2),..._0x3bbabf},(_0x5bd913(_0x1411f6,_0x3d8548)['children']||[])[_0x368a23(0x20c)]((_0x88b2e9,_0x1eeaae)=>_0x18f2df(_0x88b2e9,_0x256ff3+'-'+_0x1411f6[_0x368a23(0x17c)]+'-'+_0x1eeaae,_0x3d8548,void 0x0,_0x5dc9f2)));}function _0x4299c0(_0x1867ae,_0x5a6774,_0x5b7533){const _0x285641=_0x29bde7,_0x70abd8={..._0x1867ae[_0x285641(0x23b)]};_0x5b7533!=null&&_0x5b7533[_0x285641(0x1d1)]&&_0x70abd8[_0x285641(0x1b9)]===_0x285641(0x1d1)&&(_0x70abd8[_0x285641(0x1b9)]=_0x5b7533['colorChannel1']),_0x1867ae['tag']==='mask'&&_0x70abd8['id']&&(_0x70abd8['id']=_0x70abd8['id']+_0x5a6774[_0x285641(0x140)]),Object[_0x285641(0x109)](_0x70abd8)[_0x285641(0x27c)](([_0x223cbb,_0x4a1cdf])=>{const _0xb1ecd2=_0x285641;_0x223cbb==='mask'&&typeof _0x4a1cdf==_0xb1ecd2(0x24a)&&(_0x70abd8[_0x223cbb]=_0x4a1cdf[_0xb1ecd2(0x1a2)](/url\(#(.*)\)/,_0xb1ecd2(0x310)+_0x5a6774[_0xb1ecd2(0x140)]+')'));});const {defIds:_0x88c3c7}=_0x5a6774;return!_0x88c3c7||_0x88c3c7[_0x285641(0x257)]===0x0||(_0x1867ae['tag']===_0x285641(0x2fe)&&_0x70abd8[_0x285641(0x172)]&&(_0x70abd8['xlink:href']=_0x70abd8[_0x285641(0x172)]+_0x5a6774[_0x285641(0x140)]),Object[_0x285641(0x109)](_0x70abd8)[_0x285641(0x27c)](([_0x2293e5,_0x403190])=>{const _0x15e6e8=_0x285641;typeof _0x403190==_0x15e6e8(0x24a)&&(_0x70abd8[_0x2293e5]=_0x403190[_0x15e6e8(0x1a2)](/url\(#(.*)\)/,_0x15e6e8(0x310)+_0x5a6774['idSuffix']+')'));})),_0x70abd8;}function _0x5bd913(_0x2bd4a6,_0x46c937){const _0x11eee5=_0x29bde7;var _0x415b4f;const {defIds:_0x40e702}=_0x46c937;return!_0x40e702||_0x40e702[_0x11eee5(0x257)]===0x0?_0x2bd4a6:_0x2bd4a6['tag']==='defs'&&((_0x415b4f=_0x2bd4a6['children'])!=null&&_0x415b4f[_0x11eee5(0x257)])?{..._0x2bd4a6,'children':_0x2bd4a6[_0x11eee5(0xed)][_0x11eee5(0x20c)](_0x4bdc98=>typeof _0x4bdc98[_0x11eee5(0x23b)]['id']==_0x11eee5(0x24a)&&_0x40e702&&_0x40e702[_0x11eee5(0xf3)](_0x4bdc98['attrs']['id'])?{..._0x4bdc98,'attrs':{..._0x4bdc98[_0x11eee5(0x23b)],'id':_0x4bdc98[_0x11eee5(0x23b)]['id']+_0x46c937[_0x11eee5(0x140)]}}:_0x4bdc98)}:_0x2bd4a6;}function _0x45d478(){const _0x204c51=_0x29bde7;return Math[_0x204c51(0xd7)]()['toString'](0x24)[_0x204c51(0x1ac)](0x2,0x8);}_0xd2a620[_0x29bde7(0x2fb)]='UniverIcon';const _0x2368a1={'tag':_0x29bde7(0x301),'attrs':{'xmlns':_0x29bde7(0x119),'fill':_0x29bde7(0x210),'viewBox':_0x29bde7(0x149),'width':_0x29bde7(0x167),'height':_0x29bde7(0x167)},'children':[{'tag':'g','attrs':{'clipPath':_0x29bde7(0x39f)},'children':[{'tag':_0x29bde7(0xd9),'attrs':{'stroke':_0x29bde7(0x117),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x29bde7(0xdf),'strokeLinejoin':_0x29bde7(0xdf),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x29bde7(0x398),'attrs':{'id':_0x29bde7(0xd2)},'children':[{'tag':_0x29bde7(0xd9),'attrs':{'fill':'white','d':_0x29bde7(0x2e8)}}]}]}],'defIds':[_0x29bde7(0xd2)]},_0x3d03f0=_0x5c82c4['forwardRef'](function(_0x52cb2b,_0x387246){const _0x4f9536=_0x29bde7;return _0x5c82c4[_0x4f9536(0x1d4)](_0xd2a620,Object[_0x4f9536(0x270)]({},_0x52cb2b,{'id':_0x4f9536(0x126),'ref':_0x387246,'icon':_0x2368a1}));});_0x3d03f0['displayName']=_0x29bde7(0x181);const _0x5338e0={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x29bde7(0x210),'viewBox':_0x29bde7(0x137),'width':_0x29bde7(0x167),'height':_0x29bde7(0x167)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x29bde7(0xd9),'attrs':{'stroke':_0x29bde7(0x117),'d':_0x29bde7(0x283),'strokeLinecap':_0x29bde7(0xdf),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x29bde7(0x398),'attrs':{'id':_0x29bde7(0x31b)},'children':[{'tag':'path','attrs':{'fill':_0x29bde7(0x1ee),'d':_0x29bde7(0x2e8),'transform':_0x29bde7(0x2c8)}}]}]}],'defIds':[_0x29bde7(0x31b)]},_0x5d6bcd=_0x5c82c4[_0x29bde7(0x341)](function(_0x40cbfc,_0x43ba27){const _0x514212=_0x29bde7;return _0x5c82c4[_0x514212(0x1d4)](_0xd2a620,Object['assign']({},_0x40cbfc,{'id':'on-line-icon','ref':_0x43ba27,'icon':_0x5338e0}));});_0x5d6bcd[_0x29bde7(0x2fb)]=_0x29bde7(0x17f);function _0x51b422(_0x358998){const _0x33ec7b=_0x29bde7;switch(_0x358998){case _0x5e7c26[_0x33ec7b(0x10f)]['OFFLINE']:return _0x33ec7b(0x312);case _0x5e7c26['CollaborationStatus'][_0x33ec7b(0x37a)]:return _0x33ec7b(0x36e);case _0x5e7c26[_0x33ec7b(0x10f)]['FETCH_MISS']:return _0x33ec7b(0x1b8);case _0x5e7c26[_0x33ec7b(0x10f)][_0x33ec7b(0x305)]:return _0x33ec7b(0x1cc);case _0x5e7c26['CollaborationStatus'][_0x33ec7b(0x14b)]:case _0x5e7c26[_0x33ec7b(0x10f)]['AWAITING_WITH_PENDING']:return _0x33ec7b(0x143);case _0x5e7c26[_0x33ec7b(0x10f)][_0x33ec7b(0x277)]:case _0x5e7c26['CollaborationStatus']['PENDING']:return _0x33ec7b(0x2ba);}}function _0x586a64(_0x1274d0){const _0x372534=_0x29bde7,{status$:_0x238fed}=_0x1274d0,_0x5809f9=_0x592aaf[_0x372534(0x14e)](_0x238fed,_0x5e7c26[_0x372534(0x10f)][_0x372534(0x305)]),_0x213133=_0x592aaf[_0x372534(0x18e)](_0x3a09c4[_0x372534(0x36c)]),_0x5e12ff=_0x592aaf['useDependency'](_0x5e7c26[_0x372534(0x3ae)]),_0x2a58a8=_0x5809f9!==_0x5e7c26['CollaborationStatus'][_0x372534(0xe1)],_0x3e5e3b=_0x213133['t'](_0x51b422(_0x5809f9)),_0x110329=_0x2a58a8?_0x3b5db8[_0x372534(0x15f)](_0x5d6bcd,{}):_0x3b5db8[_0x372534(0x15f)](_0x3d03f0,{}),_0x3ff55d=_0x5c82c4[_0x372534(0x2ac)](()=>{const _0x593ea9=_0x372534;_0x2a58a8||_0x5e12ff[_0x593ea9(0x381)]();},[_0x2a58a8,_0x5e12ff]);function _0x7facce(){const _0x4fb858=_0x372534;return _0x3b5db8[_0x4fb858(0x246)]('div',{'className':_0x4fb858(0x168),'onClick':_0x3ff55d,'children':[_0x3b5db8[_0x4fb858(0x15f)](_0x4fb858(0x3ad),{'className':_0x2a2db6[_0x4fb858(0xf7)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2a58a8,'univer-text-red-500':!_0x2a58a8}),'children':_0x110329}),_0x3b5db8[_0x4fb858(0x15f)](_0x4fb858(0x3ad),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3e5e3b})]});}return _0x2a58a8?_0x7facce():_0x3b5db8[_0x372534(0x15f)](_0x2a2db6['Tooltip'],{'title':_0x213133['t'](_0x372534(0x2db)),'children':_0x7facce()});}var _0xf3d9cc=Object['getOwnPropertyDescriptor'],_0x2212a1=(_0x15cf22,_0x1e3076,_0x3bb8be,_0x5f1cca)=>{for(var _0x458e8d=_0x5f1cca>0x1?void 0x0:_0x5f1cca?_0xf3d9cc(_0x1e3076,_0x3bb8be):_0x1e3076,_0x5bac29=_0x15cf22['length']-0x1,_0x440c44;_0x5bac29>=0x0;_0x5bac29--)(_0x440c44=_0x15cf22[_0x5bac29])&&(_0x458e8d=_0x440c44(_0x458e8d)||_0x458e8d);return _0x458e8d;},_0x125c7b=(_0x50bb02,_0x9ab62)=>(_0x2b79ea,_0x53a27d)=>_0x9ab62(_0x2b79ea,_0x53a27d,_0x50bb02);_0x1e8a5b[_0x29bde7(0x3a9)]=class extends _0x3a09c4['Disposable']{constructor(_0x1828a0,_0x1654f8,_0xf9548b,_0x5bbf48){const _0x563957=_0x29bde7;super(),_0x9f87fa(this,_0x563957(0x2d7),new _0x41fba3[(_0x563957(0x31e))](_0x5e7c26[_0x563957(0x10f)][_0x563957(0x305)])),(this['_univerInstanceService']=_0x1828a0,this[_0x563957(0x247)]=_0x1654f8,this[_0x563957(0x364)]=_0xf9548b,this[_0x563957(0x33a)]=_0x5bbf48,this['_initStatusComponent'](),this[_0x563957(0x31f)]());}['_initStatusListener'](){const _0x5415e5=_0x29bde7;this[_0x5415e5(0x28e)](this['_univerInstanceService']['focused$'][_0x5415e5(0x2e5)](_0x41fba3[_0x5415e5(0x2f8)](()=>{const _0x3238dc=_0x5415e5,_0x4ec5f4=this[_0x3238dc(0x1ab)][_0x3238dc(0x1bc)]();return _0x4ec5f4?this['_collaborationController']['getCollabEntity$'](_0x4ec5f4[_0x3238dc(0x348)]()):_0x41fba3['of'](null);}),_0x41fba3['switchMap'](_0x453dc0=>_0x453dc0?_0x453dc0[_0x5415e5(0x1c5)]:_0x41fba3['of'](_0x5e7c26[_0x5415e5(0x10f)]['NOT_COLLAB'])))['subscribe'](_0xed8cd4=>{const _0x40e6fe=_0x5415e5;this['_status$'][_0x40e6fe(0x1ea)](_0xed8cd4);}));}['_initStatusComponent'](){const _0x1797a5=_0x29bde7;this['disposeWithMe'](this[_0x1797a5(0x33a)]['registerComponent'](_0x592aaf[_0x1797a5(0x1b4)][_0x1797a5(0x153)],()=>_0x592aaf[_0x1797a5(0x1ce)](_0x4e323b({'status$':this['_status$']['asObservable']()}),this[_0x1797a5(0x247)])));}},_0x1e8a5b[_0x29bde7(0x3a9)]=_0x2212a1([_0x125c7b(0x0,_0x3a09c4[_0x29bde7(0x294)]),_0x125c7b(0x1,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x304)])),_0x125c7b(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x1aa)])),_0x125c7b(0x3,_0x592aaf[_0x29bde7(0x1a8)])],_0x1e8a5b[_0x29bde7(0x3a9)]);function _0x4e323b(_0x484373){const {status$:_0x230ea8}=_0x484373;return function(){return _0x3b5db8['jsx'](_0x586a64,{'status$':_0x230ea8});};}const _0x5c7e96=_0x3a09c4[_0x29bde7(0x313)](_0x29bde7(0x170));var _0x50b63b=Object[_0x29bde7(0x224)],_0x293bd3=(_0x76e25b,_0x2544ac,_0x3eb896,_0x5262f7)=>{const _0x4f9bbc=_0x29bde7;for(var _0xb7184d=_0x5262f7>0x1?void 0x0:_0x5262f7?_0x50b63b(_0x2544ac,_0x3eb896):_0x2544ac,_0xda8740=_0x76e25b[_0x4f9bbc(0x257)]-0x1,_0x3e0700;_0xda8740>=0x0;_0xda8740--)(_0x3e0700=_0x76e25b[_0xda8740])&&(_0xb7184d=_0x3e0700(_0xb7184d)||_0xb7184d);return _0xb7184d;},_0x55071e=(_0x5a4a0e,_0x1f3ab5)=>(_0x425401,_0x5253be)=>_0x1f3ab5(_0x425401,_0x5253be,_0x5a4a0e);_0x1e8a5b[_0x29bde7(0x242)]=class extends _0x3a09c4['RxDisposable']{constructor(_0x534445,_0x100654,_0x448937,_0x33f605,_0xf894ab){const _0x55140a=_0x29bde7;super(),this[_0x55140a(0x2c1)]=_0x534445,this['_logService']=_0x100654,this['_commandService']=_0x448937,this[_0x55140a(0x24d)]=_0x33f605,_0xf894ab?_0xf894ab==null||_0xf894ab[_0x55140a(0x10b)]()[_0x55140a(0x189)](()=>this[_0x55140a(0x34b)]()):(this[_0x55140a(0x28c)][_0x55140a(0x3ac)](_0x55140a(0x30c),_0x55140a(0x35c)),this[_0x55140a(0x34b)]());}async[_0x29bde7(0x34b)](){const _0x2b24ca=_0x29bde7,_0x5334ab=this[_0x2b24ca(0x2c1)][_0x2b24ca(0x154)](_0x2b24ca(0x22e)),_0x4ce4aa=this[_0x2b24ca(0x2c1)]['getParam'](_0x2b24ca(0x1d7)),_0xe101cc=this['_urlService'][_0x2b24ca(0x154)](_0x2b24ca(0x369));if(!_0x5334ab||!_0x4ce4aa){this[_0x2b24ca(0x28c)][_0x2b24ca(0x3ac)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4025e4=await this[_0x2b24ca(0x24d)][_0x2b24ca(0x2d4)](_0x5334ab,Number(_0x4ce4aa),_0xe101cc);_0x4025e4&&_0x4025e4 instanceof _0x3a09c4[_0x2b24ca(0x231)]&&this['_setupSubUnitSync'](_0x4025e4);}async[_0x29bde7(0xc6)](_0x2ddd3d){const _0x5d7d0e=_0x29bde7;await this[_0x5d7d0e(0x1e9)](_0x2ddd3d),_0x2ddd3d['activeSheet$'][_0x5d7d0e(0x2e5)](_0x41fba3[_0x5d7d0e(0x306)](this['dispose$']))[_0x5d7d0e(0x359)](_0x183143=>{const _0x2dfb3e=_0x5d7d0e;_0x183143&&this[_0x2dfb3e(0x12c)](_0x183143);}),this['_urlService'][_0x5d7d0e(0x2a8)]['pipe'](_0x41fba3[_0x5d7d0e(0x306)](this[_0x5d7d0e(0x1ec)]))[_0x5d7d0e(0x359)](()=>this[_0x5d7d0e(0x1e9)](_0x2ddd3d));}[_0x29bde7(0x12c)](_0x40e31c,_0xab951b=!0x1){const _0x4c0474=_0x29bde7,_0x3f94c6=this[_0x4c0474(0x2c1)][_0x4c0474(0x154)](_0x4c0474(0x369));_0x40e31c['getSheetId']()!==_0x3f94c6&&this[_0x4c0474(0x2c1)][_0x4c0474(0x343)](_0x4c0474(0x369),_0x40e31c['getSheetId'](),_0xab951b);}async['_updateSubUnitFromURLParams'](_0x117af2){const _0xd5fe35=_0x29bde7;var _0x2a2d2c;const _0x4b7957=this[_0xd5fe35(0x2c1)][_0xd5fe35(0x154)](_0xd5fe35(0x369));if(!_0x4b7957||!_0x117af2[_0xd5fe35(0x2cf)](_0x4b7957)){const _0x246a50=_0x117af2[_0xd5fe35(0x2ce)]()[0x0],_0x5b0af4=_0x117af2['getSheetBySheetId'](_0x246a50);if(!_0x5b0af4)return;this['_updateURLWithCurrentState'](_0x5b0af4,!0x0),await this[_0xd5fe35(0x114)]['executeCommand'](_0x6f871[_0xd5fe35(0x1c6)]['id'],{'unitId':_0x117af2[_0xd5fe35(0x348)](),'subUnitId':_0x246a50});return;}((_0x2a2d2c=_0x117af2[_0xd5fe35(0x160)]())==null?void 0x0:_0x2a2d2c[_0xd5fe35(0x2e9)]())!==_0x4b7957&&await this[_0xd5fe35(0x114)][_0xd5fe35(0x104)](_0x6f871[_0xd5fe35(0x1c6)]['id'],{'unitId':_0x117af2[_0xd5fe35(0x348)](),'subUnitId':_0x4b7957});}},_0x1e8a5b[_0x29bde7(0x242)]=_0x293bd3([_0x55071e(0x0,_0x5c7e96),_0x55071e(0x1,_0x3a09c4[_0x29bde7(0x1da)]),_0x55071e(0x2,_0x3a09c4[_0x29bde7(0x339)]),_0x55071e(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x35b)])),_0x55071e(0x4,_0x3a09c4[_0x29bde7(0x161)](_0x22bf51[_0x29bde7(0x311)]))],_0x1e8a5b[_0x29bde7(0x242)]);var _0x59dd67=Object['getOwnPropertyDescriptor'],_0x1f6ee5=(_0x3641a5,_0x5a750d,_0x52953a,_0x216761)=>{for(var _0xc6c788=_0x216761>0x1?void 0x0:_0x216761?_0x59dd67(_0x5a750d,_0x52953a):_0x5a750d,_0xdf652d=_0x3641a5['length']-0x1,_0x4df46e;_0xdf652d>=0x0;_0xdf652d--)(_0x4df46e=_0x3641a5[_0xdf652d])&&(_0xc6c788=_0x4df46e(_0xc6c788)||_0xc6c788);return _0xc6c788;},_0x412726=(_0x2e07d1,_0x14e67f)=>(_0x414345,_0x17c263)=>_0x14e67f(_0x414345,_0x17c263,_0x2e07d1);let _0x43ac4d=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x687e24,_0x2b0bb2){const _0x1f4338=_0x29bde7;super(),this[_0x1f4338(0x158)]=_0x687e24,this[_0x1f4338(0xbd)]=_0x2b0bb2,this[_0x1f4338(0x34b)]();}[_0x29bde7(0x34b)](){const _0x3186bc=_0x29bde7,_0x5d9da8=this;this['disposeWithMe'](this['_docClipboardService'][_0x3186bc(0x26e)]({'onBeforePasteImage':async _0xaca630=>{const _0x75e8e9=_0x3186bc,_0x5d56f8=await _0x5d9da8[_0x75e8e9(0xbd)][_0x75e8e9(0x1eb)](_0xaca630);return _0x5d56f8?{'source':_0x5d56f8[_0x75e8e9(0x116)],'imageSourceType':_0x5d56f8['imageSourceType']}:null;}}));}};_0x43ac4d=_0x1f6ee5([_0x412726(0x0,_0x9d9b14['IDocClipboardService']),_0x412726(0x1,_0x5b74e1[_0x29bde7(0x3a1)])],_0x43ac4d);const _0xccb0ec=['purple.300',_0x29bde7(0x190),_0x29bde7(0x2fd),_0x29bde7(0x3b0),_0x29bde7(0x307),'yellow.400'];class _0x1acd06 extends _0x3a09c4['Disposable']{constructor(){const _0x5c58ff=_0x29bde7;super(...arguments),_0x9f87fa(this,_0x5c58ff(0x20a),new Map()),_0x9f87fa(this,_0x5c58ff(0x22f),0x0);}['assignAColorForMemberID'](_0x16c02b){const _0x312eb5=_0x29bde7;if(this[_0x312eb5(0x20a)]['has'](_0x16c02b))return this['_assignedColors'][_0x312eb5(0x31d)](_0x16c02b);const _0x573efa=_0xccb0ec[this[_0x312eb5(0x22f)]];return this[_0x312eb5(0x22f)]=(this[_0x312eb5(0x22f)]+0x1)%_0xccb0ec[_0x312eb5(0x257)],this['_assignedColors'][_0x312eb5(0x2d5)](_0x16c02b,_0x573efa),_0x573efa;}}function _0x440e57(_0x3b9d77){const _0x191ce6=_0x29bde7;let _0x339c96='';for(const _0x4018c6 of _0x3b9d77){const {startOffset:_0x492c5b,endOffset:_0x1ab40f,isActive:_0x331634,rangeType:_0x4cd3f9,segmentId:_0x3c2dfb,segmentPage:_0x134841}=_0x4018c6;_0x339c96[_0x191ce6(0x257)]&&(_0x339c96+=','),_0x339c96+=_0x492c5b+':'+_0x1ab40f+':'+(_0x331634?'1':'0')+':'+_0x4cd3f9+':'+_0x3c2dfb+':'+_0x134841;}return _0x339c96;}function _0x1f91e0(_0x47344c){const _0x3c8fde=_0x29bde7,_0x27004f=_0x47344c[_0x3c8fde(0x384)](','),_0x4cb024=[];for(const _0x1449d7 of _0x27004f){const [_0x22d4a6,_0x18bb39,_0x2d7f4a,_0x4f2012,_0x3d0541,_0x334d61]=_0x1449d7[_0x3c8fde(0x384)](':');_0x4cb024[_0x3c8fde(0x174)]({'startOffset':Number(_0x22d4a6),'endOffset':Number(_0x18bb39),'collapsed':_0x22d4a6===_0x18bb39,'isActive':_0x2d7f4a==='1','rangeType':_0x4f2012===_0x3a09c4[_0x3c8fde(0x11c)][_0x3c8fde(0x276)]?_0x3a09c4[_0x3c8fde(0x11c)]['TEXT']:_0x3a09c4[_0x3c8fde(0x11c)][_0x3c8fde(0x223)],'segmentId':typeof _0x3d0541==_0x3c8fde(0x24a)?String(_0x3d0541):'','segmentPage':Number(_0x334d61!=null?_0x334d61:-0x1)});}return _0x4cb024[_0x3c8fde(0x19c)](_0x52618c=>_0x52618c[_0x3c8fde(0x13b)])||(_0x4cb024[0x0]['isActive']=!0x0),_0x4cb024;}class _0x3d295c extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(){const _0x3da188=_0x29bde7;super(...arguments),_0x9f87fa(this,'_collabCursorState$',new _0x41fba3['BehaviorSubject'](null)),_0x9f87fa(this,_0x3da188(0x110),this[_0x3da188(0x1c9)]['asObservable']());}['syncEditingCollabCursor'](_0x4f0b0d){const _0xf34b9f=_0x29bde7,{unitID:_0x1f9429,memberID:_0x219b14,textRanges:_0x124610}=_0x4f0b0d,_0x84b018=_0x440e57(_0x124610);if(_0x84b018==='')return;const _0x4d1585={'unitID':_0x1f9429,'memberID':_0x219b14,'selection':_0x84b018};this[_0xf34b9f(0x1c9)]['next'](_0x4d1585);}}var _0x264d27=Object['getOwnPropertyDescriptor'],_0x512f44=(_0x3eb956,_0x42abc8,_0x5431ec,_0x3c6565)=>{const _0x35b302=_0x29bde7;for(var _0x32e78c=_0x3c6565>0x1?void 0x0:_0x3c6565?_0x264d27(_0x42abc8,_0x5431ec):_0x42abc8,_0x61e866=_0x3eb956[_0x35b302(0x257)]-0x1,_0x40a2bd;_0x61e866>=0x0;_0x61e866--)(_0x40a2bd=_0x3eb956[_0x61e866])&&(_0x32e78c=_0x40a2bd(_0x32e78c)||_0x32e78c);return _0x32e78c;},_0x3ed4c3=(_0x5ac82d,_0x108264)=>(_0xbb4dcc,_0x5c3baa)=>_0x108264(_0xbb4dcc,_0x5c3baa,_0x5ac82d);const _0x37e166=0x12c,_0x5f06e4=0x64;let _0x977053=class extends _0x3a09c4['RxDisposable']{constructor(_0x1762de,_0x502ffe,_0x3a9ca6,_0x2f1b08,_0x5dba4b,_0x2708c0,_0x102f29,_0x38e35a,_0x25ad68){const _0x4db517=_0x29bde7;super(),_0x9f87fa(this,'_online',!0x1),_0x9f87fa(this,_0x4db517(0x34b),!0x1),_0x9f87fa(this,_0x4db517(0x195),new _0x41fba3[(_0x4db517(0x31e))](new Map())),_0x9f87fa(this,_0x4db517(0x2a0),this[_0x4db517(0x195)][_0x4db517(0x1b2)]()),_0x9f87fa(this,'_roomMembers$',new _0x41fba3[(_0x4db517(0x31e))]([])),_0x9f87fa(this,_0x4db517(0x259),this[_0x4db517(0xf0)][_0x4db517(0x2e5)](_0x41fba3[_0x4db517(0x2ec)](_0x37e166))),_0x9f87fa(this,_0x4db517(0x1e3),_0x3a09c4[_0x4db517(0x3a6)](_0x107227=>{const _0xe8057b=_0x4db517,_0x15975a={'eventID':_0x5e9418[_0xe8057b(0x16a)][_0xe8057b(0x1f5)],'data':{'unitID':this[_0xe8057b(0xee)],'memberID':this[_0xe8057b(0x17e)][_0xe8057b(0x33c)](),'selection':_0x440e57(_0x107227)}};this[_0xe8057b(0x17e)][_0xe8057b(0x2de)](_0x15975a,this[_0xe8057b(0xee)]);},_0x5f06e4)),(this[_0x4db517(0xee)]=_0x1762de,this[_0x4db517(0x17e)]=_0x502ffe,this[_0x4db517(0x247)]=_0x3a9ca6,this[_0x4db517(0x25e)]=_0x2f1b08,this[_0x4db517(0xe5)]=_0x5dba4b,this['_syncEditingCollabCursorService']=_0x2708c0,this[_0x4db517(0x289)]=_0x102f29,this[_0x4db517(0x1ab)]=_0x38e35a,this[_0x4db517(0x114)]=_0x25ad68);}get['cursorInfo'](){const _0x25d88c=_0x29bde7;return this[_0x25d88c(0x195)][_0x25d88c(0x2ff)]();}get['roomMembers'](){const _0x1ad6f6=_0x29bde7;return this[_0x1ad6f6(0xf0)][_0x1ad6f6(0x2ff)]();}[_0x29bde7(0x19f)](){const _0x1a61ae=_0x29bde7;super[_0x1a61ae(0x19f)](),this[_0x1a61ae(0x195)][_0x1a61ae(0x1ea)](new Map()),this[_0x1a61ae(0x195)][_0x1a61ae(0x336)](),this[_0x1a61ae(0xf0)][_0x1a61ae(0x1ea)]([]),this[_0x1a61ae(0xf0)][_0x1a61ae(0x336)]();}['init'](){const _0x5c4887=_0x29bde7;this['_init']||(this[_0x5c4887(0x34b)]=!0x0,this[_0x5c4887(0x17e)][_0x5c4887(0x287)]['pipe'](_0x41fba3[_0x5c4887(0x306)](this[_0x5c4887(0x1ec)]))[_0x5c4887(0x359)](_0x301b06=>{const _0x5b2bd2=_0x5c4887;_0x301b06===_0x5e7c26['SessionStatus'][_0x5b2bd2(0x1c7)]?this[_0x5b2bd2(0x193)]():this[_0x5b2bd2(0x316)]();}),this[_0x5c4887(0x17e)][_0x5c4887(0xe3)][_0x5c4887(0x2e5)](_0x41fba3[_0x5c4887(0x306)](this['dispose$']))[_0x5c4887(0x359)](_0x57ab44=>{const _0x17b5ab=_0x5c4887,_0x371346=_0x57ab44['eventID'];_0x371346===_0x5e9418[_0x17b5ab(0x16a)][_0x17b5ab(0x1f5)]&&this['_onCursorUpdate'](_0x57ab44),_0x371346===_0x5e9418[_0x17b5ab(0x16a)][_0x17b5ab(0x2b4)]&&this[_0x17b5ab(0x38c)](_0x57ab44);}),this['disposeWithMe'](this[_0x5c4887(0x114)][_0x5c4887(0x1af)](_0x107d24=>{const _0x3fd03e=_0x5c4887,_0x5746d6=_0x107d24[_0x3fd03e(0x32e)];_0x5746d6!=null&&this[_0x3fd03e(0x383)]&&_0x107d24['id']===_0x4995f4[_0x3fd03e(0x216)]['id']&&_0x5746d6['unitId']===this[_0x3fd03e(0xee)]&&_0x5746d6[_0x3fd03e(0x2f0)]===!0x1&&_0x5746d6[_0x3fd03e(0x330)][_0x3fd03e(0x257)]>0x0&&this[_0x3fd03e(0x1e3)](_0x5746d6[_0x3fd03e(0x330)]);})),this[_0x5c4887(0x373)]['collabCursorState$'][_0x5c4887(0x2e5)](_0x41fba3['takeUntil'](this['dispose$']))[_0x5c4887(0x359)](_0x263ce9=>{const _0x4acfaa=_0x5c4887;if((_0x263ce9==null?void 0x0:_0x263ce9[_0x4acfaa(0xee)])!==this['unitID'])return;const _0x313061={'eventID':_0x5e9418[_0x4acfaa(0x16a)]['UPDATE_CURSOR'],'data':_0x263ce9};this[_0x4acfaa(0x245)](_0x313061);}),this['disposeWithMe'](this['_commandService'][_0x5c4887(0x1af)](_0x1d9f60=>{const _0x379040=_0x5c4887;if(_0x1d9f60['params']==null)return;const _0x9b4c3b=_0x1d9f60[_0x379040(0x32e)];if(_0x1d9f60['id']!==_0x4995f4[_0x379040(0x1fc)]['id']||_0x9b4c3b[_0x379040(0x3a8)]!==this['unitID'])return;const _0x2ba056={'id':'doc.mutation.rich-text-editing','params':_0x9b4c3b},_0x18db26=this['cursorInfo'];for(const [_0x107b4d,_0x12ef70]of _0x18db26){const _0x2be9af={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x379040(0xee)],'actions':null,'textRanges':_0x12ef70[_0x379040(0x330)]}},_0x339855=this[_0x379040(0x289)][_0x379040(0x1f8)](_0x2ba056,_0x2be9af,!0x1);if(_0x5e9418[_0x379040(0x273)](_0x339855))throw _0x339855[_0x379040(0x34f)];_0x18db26[_0x379040(0x2d5)](_0x107b4d,{..._0x12ef70,'ranges':_0x339855['m2Prime'][_0x379040(0x32e)][_0x379040(0x1e4)]});}queueMicrotask(()=>{const _0x20eb5b=_0x379040;this[_0x20eb5b(0x195)][_0x20eb5b(0x1ea)](_0x18db26);});})));}[_0x29bde7(0x245)](_0x5d50fd){const _0x5a4899=_0x29bde7;var _0x40d3fc,_0x34ea49;const {memberID:_0xad60b5,selection:_0x40d80b}=_0x5d50fd[_0x5a4899(0x215)],_0x3f9f7e=_0x1f91e0(_0x40d80b),_0x1f8190=(_0x34ea49=(_0x40d3fc=this[_0x5a4899(0xe5)][_0x5a4899(0x36a)](this[_0x5a4899(0xee)],_0xad60b5))==null?void 0x0:_0x40d3fc[_0x5a4899(0x15b)])!=null?_0x34ea49:'Unknown\x20user',_0x598d06={'color':this['_colorAssignService'][_0x5a4899(0x36b)](_0xad60b5),'name':_0x1f8190,'ranges':_0x3f9f7e},_0x5a326b=this['cursorInfo'];_0x5a326b[_0x5a4899(0x2d5)](_0xad60b5,_0x598d06),this[_0x5a4899(0x195)]['next'](_0x5a326b);}[_0x29bde7(0x38c)](_0x13402f){const _0xbe1a67=_0x29bde7,{memberID:_0xf26e6a}=_0x13402f[_0xbe1a67(0x215)],_0x581ba1=this[_0xbe1a67(0x156)];_0x581ba1['delete'](_0xf26e6a),this['_cursorInfo$']['next'](_0x581ba1);}[_0x29bde7(0x193)](){const _0x46b535=_0x29bde7;var _0x51eef7;if(this[_0x46b535(0x383)]=!0x0,((_0x51eef7=this[_0x46b535(0x1ab)][_0x46b535(0x1bc)]())==null?void 0x0:_0x51eef7[_0x46b535(0x348)]())!==this['unitID'])return;const _0x5c357a=this[_0x46b535(0x247)][_0x46b535(0x31d)](_0x4995f4[_0x46b535(0x1fa)])[_0x46b535(0x366)]();Array[_0x46b535(0x106)](_0x5c357a)&&_0x5c357a['length']>0x0&&this[_0x46b535(0x1e3)](_0x5c357a);}[_0x29bde7(0x316)](){const _0x1b62ee=_0x29bde7;this[_0x1b62ee(0x383)]=!0x1;}};_0x977053=_0x512f44([_0x3ed4c3(0x2,_0x3a09c4['Inject'](_0x3a09c4['Injector'])),_0x3ed4c3(0x3,_0x3a09c4['Inject'](_0x1acd06)),_0x3ed4c3(0x4,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x203)])),_0x3ed4c3(0x5,_0x3a09c4[_0x29bde7(0xdb)](_0x3d295c)),_0x3ed4c3(0x6,_0x5e9418[_0x29bde7(0x237)]),_0x3ed4c3(0x7,_0x3a09c4[_0x29bde7(0x294)]),_0x3ed4c3(0x8,_0x3a09c4['ICommandService'])],_0x977053);var _0x528743=Object[_0x29bde7(0x224)],_0x20c1aa=(_0x2bd934,_0x5068e0,_0x30fed3,_0x1bcdb1)=>{for(var _0x4ff0cb=_0x1bcdb1>0x1?void 0x0:_0x1bcdb1?_0x528743(_0x5068e0,_0x30fed3):_0x5068e0,_0x4bb9b2=_0x2bd934['length']-0x1,_0x301922;_0x4bb9b2>=0x0;_0x4bb9b2--)(_0x301922=_0x2bd934[_0x4bb9b2])&&(_0x4ff0cb=_0x301922(_0x4ff0cb)||_0x4ff0cb);return _0x4ff0cb;},_0x565401=(_0x3feeb5,_0x124d92)=>(_0x2d7e58,_0x5d9aad)=>_0x124d92(_0x2d7e58,_0x5d9aad,_0x3feeb5);const _0xde364e=0x12c,_0x4deb90=0x64,_0x92e6b9=()=>{let _0x160b00=[],_0x2c3dbb=!0x1;return _0x1d3847=>{_0x160b00['push'](_0x1d3847),_0x2c3dbb||(_0x2c3dbb=!0x0,setTimeout(()=>{_0x160b00['forEach'](_0x962fba=>_0x962fba()),_0x160b00=[],_0x2c3dbb=!0x1;}));};};let _0xd3e96a=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x598747,_0x55b114,_0x501e3f,_0x34f2b2,_0x594a9f,_0x2bc6c0,_0x2f924e,_0x238a58){const _0x32c75f=_0x29bde7;super(),_0x9f87fa(this,_0x32c75f(0x383),!0x1),_0x9f87fa(this,_0x32c75f(0x34b),!0x1),_0x9f87fa(this,_0x32c75f(0x195),new _0x41fba3[(_0x32c75f(0x31e))](new Map())),_0x9f87fa(this,_0x32c75f(0x2a0),this[_0x32c75f(0x195)][_0x32c75f(0x1b2)]()),_0x9f87fa(this,_0x32c75f(0xf0),new _0x41fba3['BehaviorSubject']([])),_0x9f87fa(this,_0x32c75f(0x259),this[_0x32c75f(0xf0)][_0x32c75f(0x2e5)](_0x41fba3['debounceTime'](_0xde364e))),_0x9f87fa(this,_0x32c75f(0x1e3),_0x3a09c4[_0x32c75f(0x3a6)]((_0x499441,_0xbc2603)=>{const _0x3fdd03=_0x32c75f,_0x127e66={'eventID':_0x5e9418['CollaborationEvent'][_0x3fdd03(0x1f5)],'data':{'unitID':this[_0x3fdd03(0xee)],'memberID':this[_0x3fdd03(0x17e)][_0x3fdd03(0x33c)](),'selection':_0x3202a1[_0x3fdd03(0xff)](_0x499441,_0xbc2603[_0x3fdd03(0x285)])}};this[_0x3fdd03(0x17e)]['send'](_0x127e66,this[_0x3fdd03(0xee)]);},_0x4deb90)),(this['unitID']=_0x598747,this[_0x32c75f(0x17e)]=_0x55b114,this[_0x32c75f(0x247)]=_0x501e3f,this['_colorAssignService']=_0x34f2b2,this[_0x32c75f(0xe5)]=_0x594a9f,this['_univerInstanceService']=_0x2bc6c0,this['_commandService']=_0x2f924e,this[_0x32c75f(0x345)]=_0x238a58);}get[_0x29bde7(0x156)](){const _0x545423=_0x29bde7;return this[_0x545423(0x195)][_0x545423(0x2ff)]();}get['roomMembers'](){const _0x1012b1=_0x29bde7;return this[_0x1012b1(0xf0)][_0x1012b1(0x2ff)]();}['dispose'](){const _0x22a559=_0x29bde7;super[_0x22a559(0x19f)](),this[_0x22a559(0x195)][_0x22a559(0x1ea)](new Map()),this[_0x22a559(0x195)][_0x22a559(0x336)](),this[_0x22a559(0xf0)][_0x22a559(0x1ea)]([]),this[_0x22a559(0xf0)][_0x22a559(0x336)]();}[_0x29bde7(0x2c4)](){const _0x443468=_0x29bde7;this[_0x443468(0x34b)]||(this[_0x443468(0x34b)]=!0x0,this['_session'][_0x443468(0x287)][_0x443468(0x2e5)](_0x41fba3[_0x443468(0x306)](this['dispose$']))[_0x443468(0x359)](_0x5c1287=>{const _0x36ff6c=_0x443468;_0x5c1287===_0x5e7c26[_0x36ff6c(0x1d9)]['ONLINE']?this['_toggleOnline']():this[_0x36ff6c(0x316)]();}),this[_0x443468(0x17e)][_0x443468(0xe3)][_0x443468(0x2e5)](_0x41fba3[_0x443468(0x306)](this[_0x443468(0x1ec)]))[_0x443468(0x359)](_0x289b71=>{const _0x3605a2=_0x443468,_0x31c61e=_0x289b71['eventID'];_0x31c61e===_0x5e9418[_0x3605a2(0x16a)][_0x3605a2(0x1f5)]&&this['_onCursorUpdate'](_0x289b71),_0x31c61e===_0x5e9418['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x289b71);}),this[_0x443468(0x308)](),this[_0x443468(0x28e)](this[_0x443468(0x114)][_0x443468(0x1af)](_0x26c5f7=>{const _0x26f6ac=_0x443468;if(this[_0x26f6ac(0x383)]&&_0x26c5f7['id']===_0x6f871[_0x26f6ac(0x1f1)]['id']&&_0x26c5f7[_0x26f6ac(0x32e)][_0x26f6ac(0x3a8)]===this[_0x26f6ac(0xee)]){const _0x503de8=_0x26c5f7['params'];this[_0x26f6ac(0x1e3)](_0x503de8[_0x26f6ac(0x2a2)],_0x503de8[_0x26f6ac(0x213)][0x0]);}})));}['_onCursorUpdate'](_0x2fbd71){const _0x24b77d=_0x29bde7;var _0x1f9d23,_0x269e46;const {memberID:_0x2959bf,selection:_0x3b8b4a}=_0x2fbd71['data'],{sheetName:_0x40439b,range:_0x38922d}=_0x3202a1[_0x24b77d(0x33b)](_0x3b8b4a),_0x5ca0a0={'name':(_0x269e46=(_0x1f9d23=this[_0x24b77d(0xe5)][_0x24b77d(0x36a)](this[_0x24b77d(0xee)],_0x2959bf))==null?void 0x0:_0x1f9d23[_0x24b77d(0x15b)])!=null?_0x269e46:'Unknown\x20user','range':this['_getMergeRange'](_0x40439b,_0x38922d),'sheetID':_0x40439b,'color':this[_0x24b77d(0x25e)]['assignAColorForMemberID'](_0x2959bf),'selection':_0x3b8b4a},_0x34c8ac=this['cursorInfo'];_0x34c8ac['set'](_0x2959bf,_0x5ca0a0),this['_cursorInfo$']['next'](_0x34c8ac);}['_onCursorDelete'](_0x26ebbd){const _0x551703=_0x29bde7,{memberID:_0x55bbbf}=_0x26ebbd[_0x551703(0x215)],_0x254160=this['cursorInfo'];_0x254160[_0x551703(0x35e)](_0x55bbbf),this[_0x551703(0x195)][_0x551703(0x1ea)](_0x254160);}[_0x29bde7(0x274)](_0x5a0f06,_0x3ed744){const _0x3d1199=_0x29bde7;var _0x2e76df,_0x103ffa;const _0x307cd7=(_0x103ffa=(_0x2e76df=this[_0x3d1199(0x1ab)][_0x3d1199(0x2f4)](this[_0x3d1199(0xee)]))==null?void 0x0:_0x2e76df[_0x3d1199(0x2cf)](_0x5a0f06))==null?void 0x0:_0x103ffa['getMergeData']();return(_0x307cd7==null?void 0x0:_0x307cd7[_0x3d1199(0x214)](_0x29e1c2=>_0x3a09c4['Rectangle'][_0x3d1199(0x261)](_0x29e1c2,_0x3ed744)))||_0x3ed744;}[_0x29bde7(0x308)](){const _0x5827ab=_0x29bde7,_0x4091eb=new _0x3a09c4[(_0x5827ab(0x21f))](),_0x1002be=_0x92e6b9(),_0x448ef0=()=>{const _0x4820ee=_0x5827ab;_0x4091eb[_0x4820ee(0x19f)]();const _0x539a40=(_0x4e0087,_0x5d3997,_0x12e556,_0x60dd61)=>{const _0x487617=_0x4820ee;let _0x57ec46=[];switch(_0x4e0087['id']){case _0x6f871[_0x487617(0x37b)][_0x487617(0x151)]:{_0x57ec46=_0x6f871['handleDeleteRangeMoveLeft'](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)][_0x487617(0x1b0)]:{_0x57ec46=_0x6f871[_0x487617(0x29a)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)][_0x487617(0x1f7)]:{_0x57ec46=_0x6f871[_0x487617(0x363)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)]['InsertRangeMoveDownCommandId']:{_0x57ec46=_0x6f871[_0x487617(0x293)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)]['InsertRangeMoveRightCommandId']:{_0x57ec46=_0x6f871['handleInsertRangeMoveRight'](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)]['InsertRowCommandId']:{_0x57ec46=_0x6f871[_0x487617(0x1cf)](_0x4e0087,_0x60dd61);break;}case _0x6f871['EffectRefRangId'][_0x487617(0x3ab)]:{_0x57ec46=_0x6f871[_0x487617(0x1a3)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)]['RemoveColCommandId']:{_0x57ec46=_0x6f871[_0x487617(0x1ca)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)][_0x487617(0x360)]:{_0x57ec46=_0x6f871[_0x487617(0x1c1)](_0x4e0087,_0x60dd61);break;}}const _0x325812=_0x6f871['runRefRangeMutations'](_0x57ec46,_0x60dd61),_0x3e4a17=this[_0x487617(0x156)][_0x487617(0x31d)](_0x5d3997);if(_0x3e4a17&&_0x325812){const _0x1eb09c={..._0x3e4a17,'range':_0x325812};this['cursorInfo']['set'](_0x5d3997,_0x1eb09c),_0x1002be(()=>{const _0xef7f7=_0x487617,_0x599a3f=this['_refRangeService'][_0xef7f7(0x38b)](_0x325812,_0x48982b=>(_0x599a3f[_0xef7f7(0x19f)](),_0x539a40(_0x48982b,_0x5d3997,_0x12e556,_0x325812)));_0x4091eb['add'](_0x599a3f);});}return{'redos':[],'undos':[]};};this[_0x4820ee(0x156)][_0x4820ee(0x27c)]((_0x2d30ae,_0xcf814d)=>{const _0x5ae9f0=_0x4820ee,{range:_0x1eba62,sheetID:_0x5b3bb3}=_0x2d30ae,_0x2f70ab=this[_0x5ae9f0(0x345)][_0x5ae9f0(0x38b)](_0x1eba62,_0x4d85a3=>(_0x2f70ab[_0x5ae9f0(0x19f)](),_0x539a40(_0x4d85a3,_0xcf814d,_0x5b3bb3,_0x1eba62)));_0x4091eb[_0x5ae9f0(0x2b2)](_0x2f70ab);});};this[_0x5827ab(0x28e)](_0x3a09c4['toDisposable'](this[_0x5827ab(0x195)][_0x5827ab(0x359)](()=>{_0x448ef0();})));}[_0x29bde7(0x193)](){const _0x278587=_0x29bde7;var _0x6771c8,_0x53c53d;if(this[_0x278587(0x383)]=!0x0,((_0x6771c8=this[_0x278587(0x1ab)]['getFocusedUnit']())==null?void 0x0:_0x6771c8[_0x278587(0x348)]())!==this[_0x278587(0xee)])return;const _0x5e5221=(_0x53c53d=this['_injector']['get'](_0x6f871[_0x278587(0x357)])[_0x278587(0x34d)]())==null?void 0x0:_0x53c53d[0x0],_0x3f3f33=this[_0x278587(0x1ab)][_0x278587(0xc7)](_0x3a09c4[_0x278587(0x30d)][_0x278587(0x2aa)])[_0x278587(0x160)]();_0x5e5221&&_0x3f3f33&&this[_0x278587(0x1e3)](_0x3f3f33['getSheetId'](),_0x5e5221);}['_toggleOffline'](){const _0x556bd1=_0x29bde7;this[_0x556bd1(0x383)]=!0x1;}};_0xd3e96a=_0x20c1aa([_0x565401(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x304)])),_0x565401(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0x1acd06)),_0x565401(0x4,_0x3a09c4['Inject'](_0x5e7c26[_0x29bde7(0x203)])),_0x565401(0x5,_0x3a09c4['IUniverInstanceService']),_0x565401(0x6,_0x3a09c4[_0x29bde7(0x339)]),_0x565401(0x7,_0x3a09c4[_0x29bde7(0xdb)](_0x6f871[_0x29bde7(0xce)]))],_0xd3e96a);var _0x4e2170=Object[_0x29bde7(0x224)],_0x218f59=(_0x5f5943,_0x2238b0,_0x34fc00,_0x56a336)=>{const _0xa1ef26=_0x29bde7;for(var _0x1b79ff=_0x56a336>0x1?void 0x0:_0x56a336?_0x4e2170(_0x2238b0,_0x34fc00):_0x2238b0,_0x1c7458=_0x5f5943[_0xa1ef26(0x257)]-0x1,_0x4d74bd;_0x1c7458>=0x0;_0x1c7458--)(_0x4d74bd=_0x5f5943[_0x1c7458])&&(_0x1b79ff=_0x4d74bd(_0x1b79ff)||_0x1b79ff);return _0x1b79ff;},_0x52c822=(_0x3457ea,_0x22bdbc)=>(_0x19b6dc,_0x2d732a)=>_0x22bdbc(_0x19b6dc,_0x2d732a,_0x3457ea);let _0x2763d1=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x2c80fb,_0x38b36d,_0x368003){const _0x2b4869=_0x29bde7;super(),_0x9f87fa(this,_0x2b4869(0x27a),new Map()),_0x9f87fa(this,_0x2b4869(0x1a5),new _0x41fba3[(_0x2b4869(0x376))]()),(this[_0x2b4869(0x1ab)]=_0x2c80fb,this[_0x2b4869(0x247)]=_0x38b36d,this[_0x2b4869(0x1e5)]=_0x368003,this[_0x2b4869(0x34b)]());}[_0x29bde7(0x19f)](){const _0x317844=_0x29bde7;super[_0x317844(0x19f)](),this['_entityInit$'][_0x317844(0x336)](),this['_entities'][_0x317844(0x27c)](_0x5a9b41=>_0x5a9b41[_0x317844(0x19f)]());}[_0x29bde7(0x238)](_0x14ec27){const _0x3e9153=_0x29bde7;return this['_entities']['has'](_0x14ec27)?this[_0x3e9153(0x27a)][_0x3e9153(0x31d)](_0x14ec27)[_0x3e9153(0x2a0)]:this[_0x3e9153(0x1a5)][_0x3e9153(0x2e5)](_0x41fba3[_0x3e9153(0x30e)](_0x50e413=>_0x50e413[_0x3e9153(0xee)]===_0x14ec27),_0x41fba3[_0x3e9153(0x2f8)](_0x18c779=>_0x18c779[_0x3e9153(0x2a0)]));}['_init'](){const _0x3ec692=_0x29bde7;this['_univerInstanceService'][_0x3ec692(0x163)](_0x3a09c4[_0x3ec692(0x30d)][_0x3ec692(0x2aa)])[_0x3ec692(0x2e5)](_0x41fba3['takeUntil'](this[_0x3ec692(0x1ec)]))['subscribe'](async _0x18906c=>{const _0x43ad84=_0x3ec692,_0x4d8c6a=_0x18906c[_0x43ad84(0x348)](),_0x101ec4=await this['_startSheetCollabCursor'](_0x4d8c6a);this['_entityInit$'][_0x43ad84(0x1ea)](_0x101ec4),this[_0x43ad84(0x27a)]['set'](_0x4d8c6a,_0x101ec4);}),this['_univerInstanceService'][_0x3ec692(0x163)](_0x3a09c4[_0x3ec692(0x30d)][_0x3ec692(0xec)])[_0x3ec692(0x2e5)](_0x41fba3[_0x3ec692(0x306)](this[_0x3ec692(0x1ec)]))[_0x3ec692(0x2e5)](_0x41fba3[_0x3ec692(0x30e)](_0x1941c3=>!_0x1941c3[_0x3ec692(0x348)]()[_0x3ec692(0x318)]('__')))[_0x3ec692(0x359)](async _0x522cb3=>{const _0x15189f=_0x3ec692,_0x806c88=_0x522cb3[_0x15189f(0x348)](),_0x1ad223=await this[_0x15189f(0x28b)](_0x806c88);this['_entityInit$'][_0x15189f(0x1ea)](_0x1ad223),this[_0x15189f(0x27a)][_0x15189f(0x2d5)](_0x806c88,_0x1ad223);}),_0x41fba3[_0x3ec692(0x28d)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x3a09c4[_0x3ec692(0x30d)][_0x3ec692(0xec)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x3a09c4['UniverInstanceType'][_0x3ec692(0x2aa)]))['pipe'](_0x41fba3[_0x3ec692(0x306)](this[_0x3ec692(0x1ec)]))[_0x3ec692(0x359)](_0x3289bc=>{const _0x41ebfa=_0x3ec692,_0x1c41f7=_0x3289bc[_0x41ebfa(0x348)](),_0x1a9cd4=this[_0x41ebfa(0x27a)][_0x41ebfa(0x31d)](_0x1c41f7);_0x1a9cd4&&(_0x1a9cd4[_0x41ebfa(0x19f)](),this[_0x41ebfa(0x27a)][_0x41ebfa(0x35e)](_0x1c41f7));});}async[_0x29bde7(0x111)](_0x1dd71f){const _0xeea0ea=_0x29bde7,_0x5efc46=await this[_0xeea0ea(0x1e5)][_0xeea0ea(0x185)](_0x1dd71f),_0x1d06ce=this['_injector'][_0xeea0ea(0x3a3)](_0xd3e96a,_0x1dd71f,_0x5efc46);return _0x1d06ce[_0xeea0ea(0x2c4)](),_0x1d06ce;}async[_0x29bde7(0x28b)](_0x10d354){const _0x502a1c=_0x29bde7,_0x522e3b=await this[_0x502a1c(0x1e5)][_0x502a1c(0x185)](_0x10d354),_0x3a82ab=this[_0x502a1c(0x247)][_0x502a1c(0x3a3)](_0x977053,_0x10d354,_0x522e3b);return _0x3a82ab['init'](),_0x3a82ab;}};_0x2763d1=_0x218f59([_0x52c822(0x0,_0x3a09c4[_0x29bde7(0x294)]),_0x52c822(0x1,_0x3a09c4['Inject'](_0x3a09c4[_0x29bde7(0x304)])),_0x52c822(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x3ae)]))],_0x2763d1);const _0x3ad07c=0x14,_0x4afbb1=0xc8,_0x221ad0=0x4,_0x5ef308=0x5;function _0x314ac8(_0x136a0f,_0x144f2b){const _0x39dbc2=_0x29bde7;let {radius:_0x47e621,width:_0x4609c4,height:_0x15cd9c}=_0x144f2b;_0x47e621=_0x47e621!=null?_0x47e621:0x0,_0x4609c4=_0x4609c4!=null?_0x4609c4:0x1e,_0x15cd9c=_0x15cd9c!=null?_0x15cd9c:0x1e;let _0x4039f2=0x0,_0x26d23c=0x0,_0x14382e=0x0;_0x4039f2=_0x26d23c=_0x14382e=Math[_0x39dbc2(0x1a7)](_0x47e621,_0x4609c4/0x2,_0x15cd9c/0x2),_0x136a0f[_0x39dbc2(0x1b7)](),_0x136a0f[_0x39dbc2(0x239)](_0x4039f2,0x0),_0x136a0f[_0x39dbc2(0x187)](_0x4609c4-_0x26d23c,0x0),_0x136a0f[_0x39dbc2(0xeb)](_0x4609c4-_0x26d23c,_0x26d23c,_0x26d23c,Math['PI']*0x3/0x2,0x0,!0x1),_0x136a0f[_0x39dbc2(0x187)](_0x4609c4,_0x15cd9c-_0x14382e),_0x136a0f[_0x39dbc2(0xeb)](_0x4609c4-_0x14382e,_0x15cd9c-_0x14382e,_0x14382e,0x0,Math['PI']/0x2,!0x1),_0x136a0f['lineTo'](0x0,_0x15cd9c),_0x136a0f['lineTo'](0x0,_0x4039f2),_0x136a0f[_0x39dbc2(0xeb)](_0x4039f2,_0x4039f2,_0x4039f2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x136a0f[_0x39dbc2(0x325)](),_0x144f2b[_0x39dbc2(0x1b9)]&&(_0x136a0f[_0x39dbc2(0x317)](),_0x136a0f['fillStyle']=_0x144f2b[_0x39dbc2(0x1b9)],_0x144f2b[_0x39dbc2(0x1f4)]===_0x39dbc2(0x351)?_0x136a0f[_0x39dbc2(0x1b9)](_0x39dbc2(0x351)):_0x136a0f[_0x39dbc2(0x1b9)](),_0x136a0f[_0x39dbc2(0x271)]());}class _0xb13f21 extends _0x271b4b[_0x29bde7(0x157)]{constructor(_0x43ed6c,_0xea6e14){const _0xddeab2=_0x29bde7;super(_0x43ed6c,_0xea6e14),_0x9f87fa(this,_0xddeab2(0x2a6)),_0x9f87fa(this,_0xddeab2(0x2b5)),(this[_0xddeab2(0x2a6)]=_0xea6e14==null?void 0x0:_0xea6e14['color'],this[_0xddeab2(0x2b5)]=_0xea6e14==null?void 0x0:_0xea6e14[_0xddeab2(0x2b5)]);}static[_0x29bde7(0x399)](_0x55a5f0,_0x5a2b77){const _0x115991=_0x29bde7,{text:_0x4735b,color:_0x51d243}=_0x5a2b77;_0x55a5f0[_0x115991(0x317)](),_0x55a5f0[_0x115991(0x356)]=_0x115991(0x397);const _0x4e0753=_0x55a5f0[_0x115991(0x1d2)](_0x4735b)[_0x115991(0x393)],_0x125730=Math[_0x115991(0x1a7)](_0x4e0753+0x2*_0x221ad0,_0x4afbb1);_0x314ac8(_0x55a5f0,{'height':_0x3ad07c,'radius':0x4,'width':_0x125730,'fill':_0x51d243}),_0x55a5f0['fillStyle']='#FFF';const _0x32b9a1=_0x221ad0,_0x2e37c7=_0x3ad07c-_0x5ef308,_0xfc4fc5=_0x4afbb1-0x2*_0x221ad0;if(_0x4e0753>_0xfc4fc5){let _0x195510='',_0x58803e=0x0;for(const _0xaf6479 of _0x4735b){const _0x5404cf=_0x55a5f0[_0x115991(0x1d2)](_0xaf6479)['width'];if(_0x58803e+_0x5404cf<=_0xfc4fc5-_0x55a5f0['measureText'](_0x115991(0xe0))[_0x115991(0x393)])_0x195510+=_0xaf6479,_0x58803e+=_0x5404cf;else{_0x195510+='...';break;}}_0x55a5f0['fillText'](_0x195510,_0x32b9a1,_0x2e37c7);}else _0x55a5f0[_0x115991(0x15a)](_0x4735b,_0x32b9a1,_0x2e37c7);_0x55a5f0['restore']();}[_0x29bde7(0x121)](_0x2e2c96){const _0xdc63b7=_0x29bde7;_0xb13f21[_0xdc63b7(0x399)](_0x2e2c96,this);}}const _0x576984=_0x29bde7(0x296),_0x1d1b28=_0x29bde7(0xc1),_0x10b1db=_0x29bde7(0x13f),_0x4b09c8=0x6,_0x4564fc=1.5,_0x59a3b3=0x4,_0x3debe4=1.5,_0xfd59bb=_0x29bde7(0x14d);class _0x544971{constructor(_0x5c210e,_0x1be163,_0x472a3e,_0x3006cd){const _0x3df967=_0x29bde7;_0x9f87fa(this,'_shapes',[]),_0x9f87fa(this,_0x3df967(0x1e0),null),_0x9f87fa(this,'_textBubble',null),_0x9f87fa(this,_0x3df967(0x2a3),null),_0x9f87fa(this,_0x3df967(0x32b),null),_0x9f87fa(this,_0x3df967(0x139),null),(this['_cursor']=_0x5c210e,this['_scene']=_0x1be163,this['_docSkeleton']=_0x472a3e,this['_document']=_0x3006cd,this[_0x3df967(0x192)]());}set[_0x29bde7(0xfc)](_0x19af79){const _0x2da6b9=_0x29bde7;_0x19af79?(this['_anchorDot']&&this['_anchorDot'][_0x2da6b9(0x1db)](),this[_0x2da6b9(0x2f2)]&&this[_0x2da6b9(0x2f2)][_0x2da6b9(0x16f)]()):(this['_anchorDot']&&this[_0x2da6b9(0x2a3)][_0x2da6b9(0x16f)](),this[_0x2da6b9(0x2f2)]&&this['_textBubble']['hide']());}[_0x29bde7(0x19f)](){const _0x46ce7a=_0x29bde7;for(const _0x26d093 of this[_0x46ce7a(0xca)])_0x26d093[_0x46ce7a(0x19f)]();this[_0x46ce7a(0x2f2)]&&this[_0x46ce7a(0x2f2)][_0x46ce7a(0x19f)](),this[_0x46ce7a(0x2a3)]&&this[_0x46ce7a(0x2a3)][_0x46ce7a(0x19f)](),this[_0x46ce7a(0x1e0)]&&this[_0x46ce7a(0x1e0)][_0x46ce7a(0x19f)](),this[_0x46ce7a(0x139)]&&this[_0x46ce7a(0x139)]();}['_render'](){const _0x1fdfe9=_0x29bde7;var _0x2afc87;const {_docSkeleton:_0xc41b26,_document:_0x3ae2e3}=this,{color:_0x414d6e,name:_0x478b36,ranges:_0x511a91}=this[_0x1fdfe9(0x175)],_0x16a598=_0x3ae2e3[_0x1fdfe9(0x295)](),{docsLeft:_0x251af4,docsTop:_0x2692bd}=_0x16a598,_0x46a766=new _0x9d9b14[(_0x1fdfe9(0x32d))](_0x16a598,_0xc41b26);for(const {startOffset:_0x28f588,endOffset:_0x517be2,rangeType:_0x5ce289,segmentId:_0x44024d,segmentPage:_0x37d0f6,collapsed:_0x1789c2,isActive:_0x20dcd0}of _0x511a91){const _0x3240be=_0xc41b26['findNodePositionByCharIndex'](_0x28f588,!0x0,_0x44024d,_0x37d0f6);let _0x102b79=_0xc41b26[_0x1fdfe9(0x173)](_0x517be2,!0x0,_0x44024d,_0x37d0f6);if(_0x102b79==null&&(_0x102b79=_0xc41b26[_0x1fdfe9(0x173)](_0x517be2-0x1,!0x1,_0x44024d,_0x37d0f6)),_0x20dcd0){const {contentBoxPointGroup:_0x5f4b4b}=_0x46a766[_0x1fdfe9(0x2f1)](_0x102b79,_0x102b79);if(_0x5f4b4b[_0x1fdfe9(0x257)]===0x0)continue;this[_0x1fdfe9(0x389)](_0x414d6e,_0x5f4b4b,_0x251af4,_0x2692bd,_0x478b36),this['_eventUnsubscribe']=this[_0x1fdfe9(0x33e)]();}if(_0x3240be&&_0x102b79){if(_0x5ce289===_0x3a09c4[_0x1fdfe9(0x11c)][_0x1fdfe9(0x223)]){const _0x2cec86=new _0x9d9b14[(_0x1fdfe9(0xbe))](_0x16a598,_0xc41b26),{pointGroup:_0x47a5f6}=(_0x2afc87=_0x2cec86['getRangePointData'](_0x3240be,_0x102b79))!=null?_0x2afc87:{};if(_0x47a5f6==null||_0x47a5f6[_0x1fdfe9(0x257)]===0x0)continue;this[_0x1fdfe9(0x233)](_0x414d6e,_0x47a5f6,_0x251af4,_0x2692bd);}else{if(!_0x1789c2){const {borderBoxPointGroup:_0x1a6290}=_0x46a766[_0x1fdfe9(0x2f1)](_0x3240be,_0x102b79);if(_0x1a6290[_0x1fdfe9(0x257)]===0x0)continue;this[_0x1fdfe9(0x292)](_0x414d6e,_0x1a6290,_0x251af4,_0x2692bd);}}}}}[_0x29bde7(0x389)](_0x232110,_0x3557cc,_0xc439cb,_0x19f45e,_0x5cd9df){const _0x5d295b=_0x29bde7,_0x4f08b1=this[_0x5d295b(0x128)](_0x3557cc),{left:_0x357a0f,top:_0x254e85,height:_0x3ea74f}=_0x4f08b1,_0x256591=this['_getScale'](),_0x37392d=_0x3debe4/_0x256591,_0x5d0e17=new _0x271b4b[(_0x5d295b(0x326))](_0x576984+_0x3a09c4[_0x5d295b(0x382)](_0x4b09c8),{'left':_0x357a0f+_0xc439cb-_0x37392d,'top':_0x254e85+_0x19f45e,'height':_0x3ea74f,'width':_0x4564fc,'fill':_0x232110||_0x271b4b[_0x5d295b(0x241)](_0x3a09c4[_0x5d295b(0x38a)][_0x5d295b(0xd1)],0x0),'strokeWidth':_0x37392d,'stroke':_0xfd59bb,'evented':!0x0});this['_anchor']=_0x5d0e17,this[_0x5d295b(0x2ea)][_0x5d295b(0x396)](_0x5d0e17,_0x9d9b14[_0x5d295b(0x20b)]);const _0x1271e5=new _0x271b4b['Rect'](_0x576984+_0x3a09c4['generateRandomId'](_0x4b09c8),{'left':_0x357a0f+_0xc439cb-_0x37392d,'top':_0x254e85+_0x19f45e-_0x59a3b3/0x2,'height':_0x59a3b3,'width':_0x59a3b3,'fill':_0x232110||_0x271b4b[_0x5d295b(0x241)](_0x3a09c4[_0x5d295b(0x38a)][_0x5d295b(0xd1)],0x0),'strokeWidth':0x0,'stroke':_0x232110||_0x271b4b['getColor'](_0x3a09c4['COLORS'][_0x5d295b(0xd1)],0x0),'evented':!0x1});this[_0x5d295b(0x2a3)]=_0x1271e5,this[_0x5d295b(0x2ea)][_0x5d295b(0x396)](_0x1271e5,_0x9d9b14[_0x5d295b(0x20b)]);const _0xd876ef=new _0xb13f21(_0x576984+_0x3a09c4[_0x5d295b(0x382)](_0x4b09c8),{'left':_0x357a0f+_0xc439cb-_0x37392d,'top':_0x254e85+_0x19f45e-_0x3ad07c,'text':_0x5cd9df,'color':_0x232110});this[_0x5d295b(0x2f2)]=_0xd876ef,this[_0x5d295b(0x2ea)][_0x5d295b(0x396)](_0xd876ef,_0x9d9b14[_0x5d295b(0x20b)]),this[_0x5d295b(0xfc)]=!0x1;}['_handleHover'](){const _0x507d67=_0x29bde7,_0x1efc7d=this[_0x507d67(0x1e0)][_0x507d67(0x320)]['subscribeEvent'](()=>{const _0x269f55=_0x507d67;this[_0x269f55(0xfc)]=!0x0;}),_0x5f25f2=this[_0x507d67(0x1e0)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x228edb=_0x507d67;this[_0x228edb(0x32b)]&&clearTimeout(this[_0x228edb(0x32b)]),this[_0x228edb(0x32b)]=setTimeout(()=>{const _0x4ddab5=_0x228edb;this[_0x4ddab5(0xfc)]=!0x1;},0x7d0);});return()=>{const _0x2da018=_0x507d67;_0x1efc7d[_0x2da018(0x2b7)](),_0x5f25f2[_0x2da018(0x2b7)]();};}[_0x29bde7(0x292)](_0xcbeaf9,_0x24409b,_0x1a0689,_0x2a0946){const _0x51d7cf=_0x29bde7,_0x12f80f=new _0x3a09c4[(_0x51d7cf(0x2f3))](_0xcbeaf9)[_0x51d7cf(0x138)](0.2)['toRgbString'](),_0x305ab6=new _0x271b4b[(_0x51d7cf(0x26f))](_0x1d1b28+_0x3a09c4[_0x51d7cf(0x382)](_0x4b09c8),{'pointsGroup':_0x24409b,'fill':_0x12f80f||_0x271b4b[_0x51d7cf(0x241)](_0x3a09c4[_0x51d7cf(0x38a)][_0x51d7cf(0xd1)],0.2),'left':_0x1a0689,'top':_0x2a0946,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x305ab6),this[_0x51d7cf(0x2ea)][_0x51d7cf(0x396)](_0x305ab6,_0x9d9b14[_0x51d7cf(0x20b)]);}[_0x29bde7(0x233)](_0x1cf7c8,_0x41acac,_0x4e40e7,_0x2f30a1){const _0x4a848b=_0x29bde7,_0x3b9fcb=new _0x3a09c4['ColorKit'](_0x1cf7c8)['setAlpha'](0.2)[_0x4a848b(0x249)](),_0x471b14=new _0x271b4b[(_0x4a848b(0x26f))](_0x10b1db+_0x3a09c4[_0x4a848b(0x382)](_0x4b09c8),{'pointsGroup':_0x41acac,'fill':_0x3b9fcb||_0x271b4b['getColor'](_0x3a09c4['COLORS'][_0x4a848b(0xd1)],0.2),'left':_0x4e40e7,'top':_0x2f30a1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4a848b(0xca)][_0x4a848b(0x174)](_0x471b14),this[_0x4a848b(0x2ea)][_0x4a848b(0x396)](_0x471b14,_0x9d9b14[_0x4a848b(0x20b)]);}['_getAnchorBounding'](_0x5b7ec){const _0x1559c3=_0x5b7ec[0x0],_0x562452=_0x1559c3[0x0],_0xabfa07=_0x1559c3[0x2],{x:_0x4bd49e,y:_0x481d14}=_0x562452,{x:_0x41756d,y:_0x27fe0a}=_0xabfa07;return{'left':_0x4bd49e,'top':_0x481d14,'width':_0x41756d-_0x4bd49e,'height':_0x27fe0a-_0x481d14};}['_getScale'](){const _0x37b4b0=_0x29bde7,{scaleX:_0x3a70f3,scaleY:_0x55992f}=this[_0x37b4b0(0x2ea)]['getAncestorScale']();return Math['max'](_0x3a70f3,_0x55992f);}}var _0x2e0a2e=Object[_0x29bde7(0x224)],_0xf368bb=(_0x4cbfcb,_0x3f9482,_0x2dadcf,_0x4a076c)=>{for(var _0x51c50e=_0x4a076c>0x1?void 0x0:_0x4a076c?_0x2e0a2e(_0x3f9482,_0x2dadcf):_0x3f9482,_0x44a4d0=_0x4cbfcb['length']-0x1,_0xab0f3b;_0x44a4d0>=0x0;_0x44a4d0--)(_0xab0f3b=_0x4cbfcb[_0x44a4d0])&&(_0x51c50e=_0xab0f3b(_0x51c50e)||_0x51c50e);return _0x51c50e;},_0x9203be=(_0x2c5e4b,_0x5811dc)=>(_0x21152a,_0x24d69e)=>_0x5811dc(_0x21152a,_0x24d69e,_0x2c5e4b);let _0x4ec09a=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x34636e,_0x32d985,_0x300d63,_0x2cd2f4,_0x5a4aad){const _0x12f6ce=_0x29bde7;super(),_0x9f87fa(this,_0x12f6ce(0x124),[]),_0x9f87fa(this,_0x12f6ce(0x2f5),[]),(this[_0x12f6ce(0x1dc)]=_0x34636e,this['_docSkeletonManagerService']=_0x32d985,this[_0x12f6ce(0x27d)]=_0x300d63,this[_0x12f6ce(0x114)]=_0x2cd2f4,this[_0x12f6ce(0x286)]=_0x5a4aad,this[_0x12f6ce(0x34b)]());}['_init'](){const _0x1c0317=_0x29bde7,_0x584cf9=this[_0x1c0317(0x1dc)][_0x1c0317(0x3a8)],_0x816b14=this[_0x1c0317(0x332)];this[_0x1c0317(0x28e)](_0x41fba3[_0x1c0317(0x227)]([this[_0x1c0317(0x27d)][_0x1c0317(0x238)](_0x584cf9),this['_themeService'][_0x1c0317(0x226)]])[_0x1c0317(0x2e5)](_0x360399[_0x1c0317(0x20c)](([_0xa4c5ef,_0x1da424])=>({'skeleton':_0x816b14['getSkeleton'](),'cursors':[..._0xa4c5ef['values']()][_0x1c0317(0x253)](_0x78f409=>({..._0x78f409,'color':this['_themeService'][_0x1c0317(0xda)](_0x78f409[_0x1c0317(0x2a6)])}))})))[_0x1c0317(0x359)](_0x4c91d2=>{const _0x11ea0c=_0x1c0317;if(this[_0x11ea0c(0x30b)](),_0x4c91d2){const {skeleton:_0x586069,cursors:_0x52e314}=_0x4c91d2;this[_0x11ea0c(0xcf)](_0x586069,_0x52e314);}})),this[_0x1c0317(0x220)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x231b48,_0x4a75a4){const _0x1e160f=_0x29bde7,{scene:_0x1dba02,mainComponent:_0x51135b}=this['_context'],_0x41da39=_0x4a75a4[_0x1e160f(0x20c)](_0x173184=>new _0x544971(_0x173184,_0x1dba02,_0x231b48,_0x51135b));this['_cursorShapes']=_0x41da39,this[_0x1e160f(0x2f5)]=_0x4a75a4;}['_refreshCollabCursors'](){const _0x1a321b=_0x29bde7;this[_0x1a321b(0x30b)]();const {scene:_0x3c2f6d,mainComponent:_0x4fc845}=this[_0x1a321b(0x1dc)],_0x1d116e=this['_docSkeletonManagerService'][_0x1a321b(0x184)](),_0x461525=this[_0x1a321b(0x2f5)]['map'](_0x636d24=>new _0x544971(_0x636d24,_0x3c2f6d,_0x1d116e,_0x4fc845));this[_0x1a321b(0x124)]=_0x461525;}['_removeCollabCursors'](){const _0x22bc5f=_0x29bde7;this[_0x22bc5f(0x124)]['forEach'](_0x5b7b69=>_0x5b7b69[_0x22bc5f(0x19f)]()),this[_0x22bc5f(0x124)]=[];}['_initCommandExecutedListener'](){const _0x322076=_0x29bde7,_0x2b8933=[_0x9d9b14[_0x322076(0x12d)]['id']];this[_0x322076(0x28e)](this[_0x322076(0x114)][_0x322076(0x1af)](_0x271a3c=>{const _0x4f710d=_0x322076;_0x2b8933[_0x4f710d(0xf3)](_0x271a3c['id'])&&_0x271a3c[_0x4f710d(0x32e)][_0x4f710d(0x3a8)]===this[_0x4f710d(0x1dc)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x29bde7(0x220)](){const _0x2f66a7=_0x29bde7;this['disposeWithMe'](_0x3a09c4[_0x2f66a7(0x1c4)](this['_context'][_0x2f66a7(0x24c)][_0x2f66a7(0xe2)])[_0x2f66a7(0x2e5)](_0x360399[_0x2f66a7(0x30e)](_0x36dd83=>_0x36dd83[_0x2f66a7(0x1d7)]===_0x271b4b[_0x2f66a7(0x1bb)][_0x2f66a7(0x268)]),_0x360399[_0x2f66a7(0x2bf)](0x10))[_0x2f66a7(0x359)](()=>{const _0x4d6f49=_0x2f66a7;this[_0x4d6f49(0xc4)]();}));}};_0x4ec09a=_0xf368bb([_0x9203be(0x1,_0x3a09c4[_0x29bde7(0xdb)](_0x4995f4[_0x29bde7(0x2da)])),_0x9203be(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x2763d1)),_0x9203be(0x3,_0x3a09c4['ICommandService']),_0x9203be(0x4,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x13a)]))],_0x4ec09a);const _0x5b7afe=0x1,_0x407b6e=1.5;class _0x526d2d extends _0x271b4b[_0x29bde7(0x157)]{constructor(_0x8c7dcf,_0x110cc5){const _0x2f85da=_0x29bde7;super(_0x8c7dcf,_0x110cc5),_0x9f87fa(this,_0x2f85da(0x14f)),_0x9f87fa(this,'_hovered',!0x1),_0x9f87fa(this,_0x2f85da(0x31a)),_0x9f87fa(this,_0x2f85da(0x372),''),_0x9f87fa(this,_0x2f85da(0x182),_0x2f85da(0xea)),_0x9f87fa(this,_0x2f85da(0x12a)),(_0x110cc5&&this[_0x2f85da(0x1a1)](_0x110cc5),this['onPointerEnter$'][_0x2f85da(0x1be)](()=>this[_0x2f85da(0x1a1)]({'hovered':!0x0})),this[_0x2f85da(0x252)][_0x2f85da(0x1be)](()=>this[_0x2f85da(0x1a1)]({'hovered':!0x1})));}[_0x29bde7(0x1a1)](_0x1be9bc){const _0x27232e=_0x29bde7;var _0x17aa54,_0x27dfe3,_0x4112a1,_0x338c46,_0x97b0fc,_0x251153;this[_0x27232e(0x14f)]=(_0x17aa54=_0x1be9bc[_0x27232e(0x2a6)])!=null?_0x17aa54:this[_0x27232e(0x14f)],this[_0x27232e(0x361)]=(_0x27dfe3=_0x1be9bc['hovered'])!=null?_0x27dfe3:this[_0x27232e(0x361)],this[_0x27232e(0x31a)]=(_0x4112a1=_0x1be9bc[_0x27232e(0x285)])!=null?_0x4112a1:this['_range'],this[_0x27232e(0x372)]=(_0x338c46=_0x1be9bc['name'])!=null?_0x338c46:this[_0x27232e(0x372)],this['_labelPosition']=(_0x97b0fc=_0x1be9bc[_0x27232e(0x2e7)])!=null?_0x97b0fc:this[_0x27232e(0x182)],this['_backgroundColor']=(_0x251153=_0x1be9bc['backgroundColor'])!=null?_0x251153:this[_0x27232e(0x12a)],this[_0x27232e(0x275)]({'width':_0x1be9bc[_0x27232e(0x393)],'height':_0x1be9bc['height']});}[_0x29bde7(0x199)](_0x30a776){const _0x3fa98b=_0x29bde7,{row:_0x1143c6,column:_0xaae917}=_0x30a776;if(_0x1143c6>=this[_0x3fa98b(0x31a)]['startRow']&&_0x1143c6<=this[_0x3fa98b(0x31a)][_0x3fa98b(0x1e6)]&&_0xaae917>=this[_0x3fa98b(0x31a)][_0x3fa98b(0x15d)]&&_0xaae917<=this[_0x3fa98b(0x31a)][_0x3fa98b(0x1a9)]){this[_0x3fa98b(0x1a1)]({'hovered':!0x0});return;}this[_0x3fa98b(0x1a1)]({'hovered':!0x1});}['triggerDblclick'](_0x90ab2){return!0x1;}[_0x29bde7(0x121)](_0x4dc10d){const _0x5e5c3a=_0x29bde7;_0x271b4b[_0x5e5c3a(0x326)]['drawWith'](_0x4dc10d,{'width':this['width'],'height':this[_0x5e5c3a(0x2bc)],'strokeWidth':_0x407b6e,'stroke':this[_0x5e5c3a(0x14f)],'evented':!0x1,'fill':this[_0x5e5c3a(0x12a)]}),this[_0x5e5c3a(0x361)]&&(_0x4dc10d['save'](),_0x4dc10d[_0x5e5c3a(0x229)](0x1,0x0,0x0,0x1,this[_0x5e5c3a(0x393)],this['_labelPosition']===_0x5e5c3a(0x29f)?0x0:-_0x3ad07c),_0xb13f21[_0x5e5c3a(0x399)](_0x4dc10d,{'text':this[_0x5e5c3a(0x372)],'color':this['_color']}),_0x4dc10d[_0x5e5c3a(0x271)]());}}var _0x16a55b=Object[_0x29bde7(0x224)],_0x1c0456=(_0x17dfd5,_0x3b593b,_0x2c916f,_0x4ef92d)=>{for(var _0x17bd27=_0x4ef92d>0x1?void 0x0:_0x4ef92d?_0x16a55b(_0x3b593b,_0x2c916f):_0x3b593b,_0x5508ef=_0x17dfd5['length']-0x1,_0x470be4;_0x5508ef>=0x0;_0x5508ef--)(_0x470be4=_0x17dfd5[_0x5508ef])&&(_0x17bd27=_0x470be4(_0x17bd27)||_0x17bd27);return _0x17bd27;},_0x423606=(_0x59ab5a,_0x15455b)=>(_0x3e2590,_0x24b57e)=>_0x15455b(_0x3e2590,_0x24b57e,_0x59ab5a);const _0x20bda2=0x1389;let _0x27259b=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x265b11,_0x4c59e3,_0x5f28bb,_0x1896b9){const _0x5db528=_0x29bde7;super(),_0x9f87fa(this,'_cursors',new Set()),_0x9f87fa(this,_0x5db528(0x1cd),null),(this['_context']=_0x265b11,this[_0x5db528(0x101)]=_0x4c59e3,this['_collabCursorController']=_0x5f28bb,this['_themeService']=_0x1896b9,this[_0x5db528(0x34b)]());}[_0x29bde7(0x34b)](){const _0x296cb6=_0x29bde7;this[_0x296cb6(0x101)][_0x296cb6(0x103)][_0x296cb6(0x2e5)](_0x360399['takeUntil'](this['dispose$']),_0x360399[_0x296cb6(0x2f8)](_0x394cef=>{const _0x28daea=_0x296cb6;if(_0x394cef){const _0x540861=_0x394cef[_0x28daea(0x25d)];return _0x41fba3[_0x28daea(0x227)](this[_0x28daea(0x27d)][_0x28daea(0x238)](this[_0x28daea(0x1dc)][_0x28daea(0x3a8)]),this['_themeService'][_0x28daea(0x226)])[_0x28daea(0x2e5)](_0x360399[_0x28daea(0x20c)](([_0x391d4a,_0x556693])=>{const _0x3243b1=new Map();return _0x391d4a['forEach']((_0x4f3ce3,_0x23313e)=>{const _0x48fec0=_0x3fad;if(_0x4f3ce3['sheetID']===_0x540861){const _0x3c1275={..._0x4f3ce3};_0x3c1275[_0x48fec0(0x2a6)]=this['_themeService']['getColorFromTheme'](_0x4f3ce3[_0x48fec0(0x2a6)]),_0x3243b1[_0x48fec0(0x2d5)](_0x23313e,_0x3c1275);}}),{'skeleton':_0x394cef,'cursors':_0x3243b1};}));}return _0x41fba3['of']({'skeleton':null,'cursors':new Map()});}))[_0x296cb6(0x359)](({skeleton:_0x26566c,cursors:_0x43db7a})=>{const _0x4e99b0=_0x296cb6;this[_0x4e99b0(0x30b)](),_0x26566c&&this['_updateCollabCursors'](_0x26566c,_0x43db7a);}),this['_sheetSkeletonManagerService']['currentSkeleton$']['subscribe'](_0x5b1065=>{const _0x2ec879=_0x296cb6;if(_0x5b1065==null)return;const {skeleton:_0x461401}=_0x5b1065,{scene:_0x361528}=this[_0x2ec879(0x1dc)];_0x361528[_0x2ec879(0x327)]['subscribeEvent'](_0x3a09c4[_0x2ec879(0x3a6)](_0x2d783e=>{const _0x227887=_0x2ec879;var _0xa9cea9,_0x290d73;const {offsetX:_0x5b6c5a,offsetY:_0x31c953}=_0x2d783e,{x:_0x4fb5f2,y:_0x35f800}=_0x361528[_0x227887(0x337)](_0x271b4b[_0x227887(0x166)]['FromArray']([_0x5b6c5a,_0x31c953])),{scaleX:_0x424bd0,scaleY:_0x490992}=_0x361528[_0x227887(0x108)](),_0x2ee426=_0x361528[_0x227887(0x39a)](_0x271b4b['SHEET_VIEWPORT_KEY'][_0x227887(0x1e8)]),_0x5119cb=_0x361528['getVpScrollXYInfoByPosToVp'](_0x271b4b[_0x227887(0x166)][_0x227887(0x183)]([_0x4fb5f2,_0x35f800]),_0x2ee426),_0x421b25=_0x461401[_0x227887(0x230)](_0x5b6c5a,_0x31c953,_0x424bd0,_0x490992,_0x5119cb);((_0xa9cea9=this[_0x227887(0x1cd)])==null?void 0x0:_0xa9cea9[_0x227887(0x1e2)])===_0x421b25[_0x227887(0x1e2)]&&((_0x290d73=this['_lastPointer'])==null?void 0x0:_0x290d73[_0x227887(0x2ed)])===_0x421b25[_0x227887(0x2ed)]||this[_0x227887(0x2f5)][_0x227887(0x27c)](_0x1e6df1=>{_0x1e6df1['onMouseMove'](_0x421b25);});},0x64));});}[_0x29bde7(0xcf)](_0x52c013,_0x539cec){const _0x29d0e3=_0x29bde7;var _0x4295c4;const _0x5aa635=(_0x4295c4=this[_0x29d0e3(0x101)][_0x29d0e3(0x228)]())==null?void 0x0:_0x4295c4[_0x29d0e3(0x39d)];if(!_0x5aa635)return;const _0x512e8f=this[_0x29d0e3(0x2df)]();if(!_0x512e8f)return;this['_cursors'][_0x29d0e3(0x27c)](_0x1d48ae=>{const _0x3a3e24=_0x29d0e3;_0x1d48ae[_0x3a3e24(0x12b)]();});const {scene:_0x4fe874}=_0x512e8f,_0x1ce790=_0x149313(Array['from'](_0x539cec[_0x29d0e3(0x2a1)]()))[_0x29d0e3(0x20c)](_0x260674=>{const _0x4f126c=_0x29d0e3,{color:_0x3c36f4,range:_0x41cd54,name:_0x116191,selection:_0x26d2e8,sheetID:_0x410c76}=_0x260674,{startColumn:_0x79dc81,startRow:_0x2cc771,endColumn:_0x3bd07a,endRow:_0x633d6a}=_0x41cd54,_0x5da82a=_0x577dad['getCoordByCell'](_0x2cc771,_0x79dc81,_0x4fe874,_0x5aa635),_0x2cefcb=_0x577dad[_0x4f126c(0x335)](_0x633d6a,_0x3bd07a,_0x4fe874,_0x5aa635),{columnHeaderHeightAndMarginTop:_0x1ab6c6}=_0x5aa635,{startX:_0x957c82,startY:_0x4a43b6}=_0x5da82a,{endX:_0x2ee712,endY:_0x4e28a4}=_0x2cefcb,_0x1f7642=_0x2ee712-_0x957c82,_0x23698d=_0x4e28a4-_0x4a43b6,_0x3d770b={'labelPosition':_0x4a43b6-_0x1ab6c6>=_0x3ad07c?_0x4f126c(0xea):_0x4f126c(0x29f),'sheetID':_0x410c76,'range':_0x41cd54,'color':_0x3c36f4,'name':_0x116191,'selection':_0x26d2e8,'left':_0x957c82,'top':_0x4a43b6,'width':_0x1f7642,'height':_0x23698d,'evented':!0x1,'zIndex':_0x20bda2};return new _0x526d2d(_0x116191,_0x3d770b);});_0x4fe874[_0x29d0e3(0x38f)](_0x1ce790,_0x5b7afe),this[_0x29d0e3(0x2f5)]=new Set(_0x1ce790);}[_0x29bde7(0x30b)](){const _0x25825d=_0x29bde7;var _0x47796d;(_0x47796d=this['_cursors'])==null||_0x47796d[_0x25825d(0x27c)](_0x4c3464=>_0x4c3464[_0x25825d(0x19f)]());}['_getSheetObject'](){const _0x3513ab=_0x29bde7;return _0x577dad[_0x3513ab(0x120)](this[_0x3513ab(0x1dc)][_0x3513ab(0x22e)],this['_context']);}};_0x27259b=_0x1c0456([_0x423606(0x1,_0x3a09c4['Inject'](_0x577dad['SheetSkeletonManagerService'])),_0x423606(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x2763d1)),_0x423606(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x13a)]))],_0x27259b);function _0x149313(_0x468862){const _0x47f526=_0x29bde7,_0x2cae6b=new Map();return _0x468862['forEach'](_0x5e0be0=>{const _0x316ab6=_0x3fad;if(_0x2cae6b['has'](_0x5e0be0[_0x316ab6(0x18a)])){const _0x21d45d=_0x2cae6b[_0x316ab6(0x31d)](_0x5e0be0[_0x316ab6(0x18a)]);_0x21d45d[_0x316ab6(0x15b)]+=',\x20'+_0x5e0be0['name'];}else _0x2cae6b[_0x316ab6(0x2d5)](_0x5e0be0['selection'],_0x5e0be0);}),Array[_0x47f526(0xc9)](_0x2cae6b[_0x47f526(0x2a1)]());}var _0x5148f1=Object[_0x29bde7(0x224)],_0xac81cc=(_0x38838a,_0x1dbaa4,_0x17d60a,_0x4e196b)=>{for(var _0x2476e2=_0x4e196b>0x1?void 0x0:_0x4e196b?_0x5148f1(_0x1dbaa4,_0x17d60a):_0x1dbaa4,_0x4d6155=_0x38838a['length']-0x1,_0x1a8819;_0x4d6155>=0x0;_0x4d6155--)(_0x1a8819=_0x38838a[_0x4d6155])&&(_0x2476e2=_0x1a8819(_0x2476e2)||_0x2476e2);return _0x2476e2;},_0x46b179=(_0x2a1f91,_0xc1fae1)=>(_0x4c3511,_0xe4b076)=>_0xc1fae1(_0x4c3511,_0xe4b076,_0x2a1f91);let _0x2ee8d7=class extends _0x3a09c4[_0x29bde7(0x191)]{constructor(_0x4decdb,_0x165174,_0x3268f4,_0x53fda2,_0x566582,_0x179dec){const _0x3773ac=_0x29bde7;super(),this[_0x3773ac(0x265)]=_0x4decdb,this[_0x3773ac(0x2c7)]=_0x165174,this[_0x3773ac(0x180)]=_0x3268f4,this[_0x3773ac(0x388)]=_0x53fda2,this[_0x3773ac(0x1d6)]=_0x566582,this[_0x3773ac(0x142)]=_0x179dec,this['_setupBeforeClosingHandler'](),this[_0x3773ac(0x23f)]();}[_0x29bde7(0x133)](){const _0xecd386=_0x29bde7;this['disposeWithMe'](this[_0xecd386(0x265)]['registerBeforeClose'](()=>{const _0x212f30=_0xecd386;if(this[_0x212f30(0x2c7)][_0x212f30(0x36f)][_0x212f30(0xe4)])return this[_0x212f30(0x142)]['t'](_0x212f30(0x1c2));}));}['_initEvent'](){const _0x230e6d=_0x29bde7;this[_0x230e6d(0x28e)](this[_0x230e6d(0x180)][_0x230e6d(0xe3)][_0x230e6d(0x359)](_0x1a3f55=>{const _0x20a5c6=_0x230e6d;_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)]['OTHER_CLIENT_EDITING']&&this[_0x20a5c6(0x388)]['show']({'type':_0x2a2db6['MessageType'][_0x20a5c6(0x314)],'content':this[_0x20a5c6(0x142)]['t'](_0x20a5c6(0xc3))}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)][_0x20a5c6(0x107)]&&this[_0x20a5c6(0x388)][_0x20a5c6(0x16f)]({'type':_0x2a2db6[_0x20a5c6(0x34a)][_0x20a5c6(0x314)],'content':this[_0x20a5c6(0x142)]['t'](_0x20a5c6(0x30f))}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)]['PERMISSION_DENIED']&&this[_0x20a5c6(0x1d6)][_0x20a5c6(0x16f)]({'title':this[_0x20a5c6(0x142)]['t'](_0x20a5c6(0xe6)),'content':this[_0x20a5c6(0x142)]['t']('permission.content'),'type':_0x20a5c6(0x34f),'duration':0x0}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)][_0x20a5c6(0x37a)]&&this[_0x20a5c6(0x388)]['show']({'type':_0x2a2db6[_0x20a5c6(0x34a)]['Error'],'content':this['_localeService']['t'](_0x20a5c6(0x30f))+'('+_0x1a3f55[_0x20a5c6(0x215)]+')'}),_0x1a3f55['id']===_0x5e7c26['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x20a5c6(0x388)][_0x20a5c6(0x16f)]({'type':_0x2a2db6['MessageType'][_0x20a5c6(0x314)],'content':this[_0x20a5c6(0x142)]['t'](_0x1a3f55['data']||'')}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)]['SOCKET_FAILED_RETRY']&&this[_0x20a5c6(0x388)][_0x20a5c6(0x16f)]({'type':_0x2a2db6[_0x20a5c6(0x34a)]['Warning'],'content':this[_0x20a5c6(0x142)]['t']('session.will-retry')}),_0x1a3f55['id']===_0x5e7c26['CollaborationUIEventId'][_0x20a5c6(0x20e)]&&this[_0x20a5c6(0x388)][_0x20a5c6(0x16f)]({'type':_0x2a2db6[_0x20a5c6(0x34a)]['Error'],'content':this[_0x20a5c6(0x142)]['t']('session.connection-failed')}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x20a5c6(0x388)]['show']({'type':_0x2a2db6['MessageType'][_0x20a5c6(0x29c)],'content':this[_0x20a5c6(0x142)]['t'](_0x20a5c6(0x334))});}));}};_0x2ee8d7=_0xac81cc([_0x46b179(0x0,_0x592aaf['IBeforeCloseService']),_0x46b179(0x1,_0x5e7c26[_0x29bde7(0x355)]),_0x46b179(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x18d)])),_0x46b179(0x3,_0x592aaf[_0x29bde7(0x236)]),_0x46b179(0x4,_0x592aaf['INotificationService']),_0x46b179(0x5,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x36c)]))],_0x2ee8d7);var _0x19fc27=Object['getOwnPropertyDescriptor'],_0x21ee04=(_0x4df1a1,_0x31b6a8,_0x464c23,_0x3d4d72)=>{for(var _0x4117c7=_0x3d4d72>0x1?void 0x0:_0x3d4d72?_0x19fc27(_0x31b6a8,_0x464c23):_0x31b6a8,_0x189eca=_0x4df1a1['length']-0x1,_0x323889;_0x189eca>=0x0;_0x189eca--)(_0x323889=_0x4df1a1[_0x189eca])&&(_0x4117c7=_0x323889(_0x4117c7)||_0x4117c7);return _0x4117c7;},_0x3f2815=(_0x10580b,_0x588e8c)=>(_0x3f81ea,_0x15eedc)=>_0x588e8c(_0x3f81ea,_0x15eedc,_0x10580b);let _0x32a527=class extends _0x3a09c4['Disposable']{constructor(_0x46a485,_0x3416b6,_0x336e1d,_0x121a3b){const _0x4ccb85=_0x29bde7;super(),_0x9f87fa(this,'_memberID'),(this['_injector']=_0x46a485,this['_httpService']=_0x3416b6,this[_0x4ccb85(0x28c)]=_0x336e1d,this[_0x4ccb85(0x222)]=_0x121a3b,this[_0x4ccb85(0x34b)]());}[_0x29bde7(0x34b)](){const _0x34cdb1=_0x29bde7;this[_0x34cdb1(0x391)](),this[_0x34cdb1(0xf2)](),this['_monkeyPatchLogService'](),this[_0x34cdb1(0x390)]();}[_0x29bde7(0x390)](){const _0x40be7c=_0x29bde7;this[_0x40be7c(0x28e)](this['_collaborationSessionService'][_0x40be7c(0x392)][_0x40be7c(0x359)](_0x29cf5b=>{const _0x300d7f=_0x40be7c;this['_memberID']=_0x29cf5b==null?void 0x0:_0x29cf5b[_0x300d7f(0x105)];}));}['_initWindowErrorListener'](){const _0x269f6d=_0x29bde7,_0x2dfd29=_0x52308f=>{const _0xc12670=_0x3fad;var _0x4b30c7;this['_uploadLog'](_0xc12670(0x34f),_0xc12670(0x24f)+_0x52308f[_0xc12670(0x127)]+_0xc12670(0x2d3)+_0x52308f[_0xc12670(0x16e)]+':'+_0x52308f[_0xc12670(0x1dd)]+':'+_0x52308f[_0xc12670(0x123)]+'\x0a'+(((_0x4b30c7=_0x52308f[_0xc12670(0x34f)])==null?void 0x0:_0x4b30c7[_0xc12670(0x27f)])||''));};window[_0x269f6d(0x23e)]('error',_0x2dfd29),this['disposeWithMe'](()=>{const _0x5a6530=_0x269f6d;window[_0x5a6530(0x21c)]('error',_0x2dfd29);});}[_0x29bde7(0xf2)](){const _0x421304=_0x29bde7,_0x5037d3=_0x4de7a7=>{const _0x248ede=_0x3fad;this[_0x248ede(0x27b)](_0x248ede(0x34f),'[Unhandled\x20Rejection]:\x20'+_0x4de7a7[_0x248ede(0x16b)]);};window[_0x421304(0x23e)](_0x421304(0x118),_0x5037d3),this[_0x421304(0x28e)](()=>{const _0x5d3cd5=_0x421304;window[_0x5d3cd5(0x21c)](_0x5d3cd5(0x118),_0x5037d3);});}[_0x29bde7(0x291)](){const _0x452b58=_0x29bde7,_0x306448=this[_0x452b58(0x28c)]['error']['bind'](this[_0x452b58(0x28c)]);this['_logService']['error']=(..._0x5659a6)=>{const _0x558c69=_0x452b58,_0x2e2201=_0x5659a6[_0x558c69(0x20c)](_0x4d67d1=>_0x4d67d1 instanceof Error?_0x4d67d1[_0x558c69(0x127)]+'\x0a'+_0x4d67d1['stack']:String(_0x4d67d1))['join']('\x20');this[_0x558c69(0x27b)](_0x558c69(0x34f),_0x558c69(0x33d)+_0x2e2201),_0x306448(..._0x5659a6);},this[_0x452b58(0x28e)](()=>{this['_logService']['error']=_0x306448;});}['_uploadLog'](_0x2ba37b,_0x3ea335){const _0x15b994=_0x29bde7;try{const _0x3a9d68={'userId':this['_memberID'],'logLabel':_0x2ba37b,'content':_0x3ea335};this['_httpService'][_0x15b994(0x279)](_0x15b994(0x11a),{'body':_0x3a9d68})[_0x15b994(0x2a5)](()=>{});}catch{}}};_0x32a527=_0x21ee04([_0x3f2815(0x0,_0x3a09c4['Inject'](_0x3a09c4[_0x29bde7(0x304)])),_0x3f2815(0x1,_0x3a09c4[_0x29bde7(0xdb)](_0x20de86[_0x29bde7(0x258)])),_0x3f2815(0x2,_0x3a09c4[_0x29bde7(0x1da)]),_0x3f2815(0x3,_0x3a09c4['Inject'](_0x5e7c26['CollaborationSessionService']))],_0x32a527);const _0x2d74b1=_0x29bde7(0x2e1),_0x2c5eff={};var _0x3cba64=Object[_0x29bde7(0x224)],_0x51b25a=(_0x4a6cd2,_0x490862,_0x3c0353,_0x496da8)=>{const _0x484a22=_0x29bde7;for(var _0x9aee0e=_0x496da8>0x1?void 0x0:_0x496da8?_0x3cba64(_0x490862,_0x3c0353):_0x490862,_0xa5ba32=_0x4a6cd2[_0x484a22(0x257)]-0x1,_0x590c3c;_0xa5ba32>=0x0;_0xa5ba32--)(_0x590c3c=_0x4a6cd2[_0xa5ba32])&&(_0x9aee0e=_0x590c3c(_0x9aee0e)||_0x9aee0e);return _0x9aee0e;},_0x18d7b0=(_0x4d44a1,_0x446d6f)=>(_0x5eb091,_0x440b52)=>_0x446d6f(_0x5eb091,_0x440b52,_0x4d44a1);let _0x5e0130=class{constructor(_0x46ac11,_0x49180f){const _0x147723=_0x29bde7;this[_0x147723(0x289)]=_0x46ac11,this[_0x147723(0x146)]=_0x49180f;}[_0x29bde7(0x346)](_0x31be42){const _0x1fd5f4=_0x29bde7;this[_0x1fd5f4(0x25c)](_0x31be42),this[_0x1fd5f4(0x2b9)](_0x31be42);}[_0x29bde7(0x145)](_0x363631){const _0x29cf6e=_0x29bde7,{unitID:_0x527aae}=_0x363631,_0x355805=this[_0x29cf6e(0x146)][_0x29cf6e(0x11f)](_0x527aae)[_0x29cf6e(0x240)](_0x9d9b14[_0x29cf6e(0x129)]),{redoCache:_0x4a4ca1}=_0x355805[_0x29cf6e(0x344)]();if(_0x4a4ca1['length']===0x0)return _0x363631;let _0x539830=_0x3a09c4[_0x29cf6e(0x379)]['deepClone'](_0x363631[_0x29cf6e(0xd6)][0x0]);for(let _0xf484e=0x0;_0xf484e<_0x4a4ca1[_0x29cf6e(0x257)];_0xf484e++){const _0x393f9d={'id':_0x29cf6e(0x2cb),'params':{..._0x4a4ca1[_0xf484e]}},_0x116539=this[_0x29cf6e(0x289)][_0x29cf6e(0x1f8)](_0x539830,_0x393f9d,!0x1);if(_0x5e9418[_0x29cf6e(0x273)](_0x116539))throw _0x116539['error'];_0x539830=_0x116539[_0x29cf6e(0x39c)];}return{..._0x3a09c4[_0x29cf6e(0x379)][_0x29cf6e(0x329)](_0x363631),'mutations':[_0x539830]};}[_0x29bde7(0x25c)](_0x1ad039){const _0x3fb531=_0x29bde7,{unitID:_0x8bc2f8}=_0x1ad039,_0x3a4260=this[_0x3fb531(0x146)][_0x3fb531(0x11f)](_0x8bc2f8)['with'](_0x9d9b14['DocIMEInputManagerService']),{undoCache:_0x4b405c,redoCache:_0x4e4199}=_0x3a4260[_0x3fb531(0x344)]();if(_0x4b405c['length']===0x0||_0x4e4199[_0x3fb531(0x257)]===0x0)return;const _0xc9069f=[],_0x34bc50=[];let _0x102345=_0x3a09c4[_0x3fb531(0x379)][_0x3fb531(0x329)](_0x1ad039['mutations'][0x0]),_0x16e30d=_0x3a09c4[_0x3fb531(0x379)][_0x3fb531(0x329)](_0x1ad039[_0x3fb531(0xd6)][0x0]);for(let _0x56d1cb=_0x4b405c[_0x3fb531(0x257)]-0x1;_0x56d1cb>=0x0;_0x56d1cb--){const _0x45d03e={'id':_0x3fb531(0x2cb),'params':{..._0x4b405c[_0x56d1cb]}},_0x4b4bf9={'id':_0x3fb531(0x2cb),'params':{..._0x4e4199[_0x56d1cb]}},_0x304759=this[_0x3fb531(0x289)][_0x3fb531(0x1f8)](_0x102345,_0x45d03e,!0x1),_0x2ab12b=this[_0x3fb531(0x289)][_0x3fb531(0x1f8)](_0x16e30d,_0x4b4bf9,!0x1);if(_0x5e9418[_0x3fb531(0x273)](_0x304759))throw _0x304759[_0x3fb531(0x34f)];if(_0x5e9418[_0x3fb531(0x273)](_0x2ab12b))throw _0x2ab12b['error'];_0xc9069f[_0x3fb531(0x178)](_0x304759[_0x3fb531(0x2e4)]['params']),_0x34bc50[_0x3fb531(0x178)](_0x2ab12b['m2Prime'][_0x3fb531(0x32e)]),_0x102345=_0x304759[_0x3fb531(0x39c)],_0x16e30d=_0x2ab12b[_0x3fb531(0x39c)];}_0x3a4260[_0x3fb531(0x260)]({'undoCache':_0xc9069f,'redoCache':_0x34bc50});}[_0x29bde7(0x2b9)](_0x361b1a){const _0x4e253a=_0x29bde7,{unitID:_0x3fa9eb}=_0x361b1a,_0x4ad21b=this[_0x4e253a(0x146)]['getRenderById'](_0x3fa9eb)[_0x4e253a(0x240)](_0x9d9b14['DocIMEInputManagerService']),_0x57afc8=_0x4ad21b['getActiveRange']();if(_0x57afc8==null)return;const _0x19201b=[{'id':_0x4e253a(0x2cb),'params':{'unitId':_0x361b1a[_0x4e253a(0xee)],'actions':null,'textRanges':[_0x57afc8]}}],_0x596121=this['_transformService'][_0x4e253a(0xf8)](_0x361b1a,_0x19201b);if(!_0x5e9418['isTransformMutationsWithChangesetSuccess'](_0x596121))throw _0x596121[_0x4e253a(0x34f)];const _0x51de96=_0x596121[_0x4e253a(0x2e4)][0x0][_0x4e253a(0x32e)][_0x4e253a(0x1e4)];Array[_0x4e253a(0x106)](_0x51de96)&&_0x51de96[_0x4e253a(0x257)]&&_0x4ad21b['setActiveRange'](_0x51de96[0x0]);}};_0x5e0130=_0x51b25a([_0x18d7b0(0x0,_0x5e9418['ITransformService']),_0x18d7b0(0x1,_0x271b4b[_0x29bde7(0xde)])],_0x5e0130);var _0x30175c=Object[_0x29bde7(0x224)],_0xe6434d=(_0x471187,_0x2c77be,_0x5f1d88,_0x5642e3)=>{const _0x4ca838=_0x29bde7;for(var _0x20d0c4=_0x5642e3>0x1?void 0x0:_0x5642e3?_0x30175c(_0x2c77be,_0x5f1d88):_0x2c77be,_0x2c1fa4=_0x471187[_0x4ca838(0x257)]-0x1,_0x446dc4;_0x2c1fa4>=0x0;_0x2c1fa4--)(_0x446dc4=_0x471187[_0x2c1fa4])&&(_0x20d0c4=_0x446dc4(_0x20d0c4)||_0x20d0c4);return _0x20d0c4;},_0x21662e=(_0x445231,_0x404cc8)=>(_0x19d142,_0x2841f1)=>_0x404cc8(_0x19d142,_0x2841f1,_0x445231);let _0xc132fe=class{constructor(_0x4d1833,_0xb8780,_0x1a7f94){const _0x3fd455=_0x29bde7;this[_0x3fd455(0x247)]=_0x4d1833,this[_0x3fd455(0x289)]=_0xb8780,this['_docStateChangeManagerService']=_0x1a7f94;}[_0x29bde7(0x266)](_0x951add){this['_transformHistoryAndStateStack'](_0x951add);}[_0x29bde7(0x145)](_0x1fe947){const _0x1463be=_0x29bde7,{unitID:_0x452286}=_0x1fe947,{collaboration:_0x1e5729}=this['_docStateChangeManagerService'][_0x1463be(0x2f7)](_0x452286);if(_0x1e5729[_0x1463be(0x257)]===0x0)return _0x1fe947;let _0x4d3727=_0x3a09c4[_0x1463be(0x379)]['deepClone'](_0x1fe947[_0x1463be(0xd6)][0x0]);for(let _0x15588b=0x0;_0x15588b<_0x1e5729[_0x1463be(0x257)];_0x15588b++){const _0x53120f={'id':_0x1463be(0x2cb),'params':{'unitId':_0x1e5729[_0x15588b][_0x1463be(0x3a8)],..._0x1e5729[_0x15588b]['redoState']}},_0x1a9230=this[_0x1463be(0x289)][_0x1463be(0x1f8)](_0x4d3727,_0x53120f,!0x1);if(_0x5e9418[_0x1463be(0x273)](_0x1a9230))throw _0x1a9230[_0x1463be(0x34f)];_0x4d3727=_0x1a9230['m1Prime'];}return{..._0x3a09c4[_0x1463be(0x379)][_0x1463be(0x329)](_0x1fe947),'mutations':[_0x4d3727]};}[_0x29bde7(0x36d)](_0x36608a){const _0xdb503b=_0x29bde7,{unitID:_0x1bbe6f}=_0x36608a,{history:_0x181d1e,collaboration:_0x1fe449}=this[_0xdb503b(0x1c3)]['getStateCache'](_0x1bbe6f);if(_0x181d1e[_0xdb503b(0x257)]===0x0&&_0x1fe449[_0xdb503b(0x257)]===0x0)return;const _0x5df06a=[],_0x48bec6=[];let _0x2a1738=_0x3a09c4[_0xdb503b(0x379)][_0xdb503b(0x329)](_0x36608a[_0xdb503b(0xd6)][0x0]),_0x46eacb=_0x3a09c4[_0xdb503b(0x379)][_0xdb503b(0x329)](_0x36608a[_0xdb503b(0xd6)][0x0]);for(let _0x1a6a85=_0x181d1e[_0xdb503b(0x257)]-0x1;_0x1a6a85>=0x0;_0x1a6a85--){const _0x312f8e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x181d1e[_0x1a6a85][_0xdb503b(0x3a8)],..._0x181d1e[_0x1a6a85][_0xdb503b(0xcd)]}},_0x1a4215={'id':_0xdb503b(0x2cb),'params':{'unitId':_0x181d1e[_0x1a6a85]['unitId'],..._0x181d1e[_0x1a6a85][_0xdb503b(0x2a7)]}},_0x212c06=this['_transformService']['transformMutation'](_0x2a1738,_0x312f8e,!0x1),_0x121780=this['_transformService'][_0xdb503b(0x1f8)](_0x46eacb,_0x1a4215,!0x1);if(_0x5e9418['isTransformMutationFailure'](_0x212c06))throw _0x212c06[_0xdb503b(0x34f)];if(_0x5e9418[_0xdb503b(0x273)](_0x121780))throw _0x121780[_0xdb503b(0x34f)];_0x5df06a['unshift']({..._0x181d1e[_0x1a6a85],'undoState':_0x212c06[_0xdb503b(0x2e4)][_0xdb503b(0x32e)],'redoState':_0x121780['m2Prime'][_0xdb503b(0x32e)]}),_0x2a1738=_0x212c06[_0xdb503b(0x39c)],_0x46eacb=_0x121780[_0xdb503b(0x39c)];}_0x2a1738=_0x3a09c4[_0xdb503b(0x379)][_0xdb503b(0x329)](_0x36608a[_0xdb503b(0xd6)][0x0]),_0x46eacb=_0x3a09c4[_0xdb503b(0x379)][_0xdb503b(0x329)](_0x36608a['mutations'][0x0]);for(let _0x3eecd4=_0x1fe449[_0xdb503b(0x257)]-0x1;_0x3eecd4>=0x0;_0x3eecd4--){const _0x1abe45={'id':_0xdb503b(0x2cb),'params':{'unitId':_0x1fe449[_0x3eecd4][_0xdb503b(0x3a8)],..._0x1fe449[_0x3eecd4][_0xdb503b(0xcd)]}},_0x5fecfe={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1fe449[_0x3eecd4][_0xdb503b(0x3a8)],..._0x1fe449[_0x3eecd4][_0xdb503b(0x2a7)]}},_0x473a58=this[_0xdb503b(0x289)][_0xdb503b(0x1f8)](_0x2a1738,_0x1abe45,!0x1),_0xf5921a=this[_0xdb503b(0x289)][_0xdb503b(0x1f8)](_0x46eacb,_0x5fecfe,!0x1);if(_0x5e9418[_0xdb503b(0x273)](_0x473a58))throw _0x473a58[_0xdb503b(0x34f)];if(_0x5e9418[_0xdb503b(0x273)](_0xf5921a))throw _0xf5921a[_0xdb503b(0x34f)];_0x48bec6[_0xdb503b(0x178)]({..._0x1fe449[_0x3eecd4],'undoState':_0x473a58[_0xdb503b(0x2e4)][_0xdb503b(0x32e)],'redoState':_0xf5921a[_0xdb503b(0x2e4)]['params']}),_0x2a1738=_0x473a58['m1Prime'],_0x46eacb=_0xf5921a[_0xdb503b(0x39c)];}this[_0xdb503b(0x1c3)][_0xdb503b(0x112)](_0x1bbe6f,{'history':_0x5df06a,'collaboration':_0x48bec6});}};_0xc132fe=_0xe6434d([_0x21662e(0x0,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x304)])),_0x21662e(0x1,_0x5e9418[_0x29bde7(0x237)]),_0x21662e(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x9d9b14['DocStateChangeManagerService']))],_0xc132fe);var _0x4e3357=Object['getOwnPropertyDescriptor'],_0x488474=(_0xdaf1e1,_0x1c8191,_0x4f8528,_0x440258)=>{const _0xea4b78=_0x29bde7;for(var _0x5aeca5=_0x440258>0x1?void 0x0:_0x440258?_0x4e3357(_0x1c8191,_0x4f8528):_0x1c8191,_0x1a17d1=_0xdaf1e1[_0xea4b78(0x257)]-0x1,_0x546ccf;_0x1a17d1>=0x0;_0x1a17d1--)(_0x546ccf=_0xdaf1e1[_0x1a17d1])&&(_0x5aeca5=_0x546ccf(_0x5aeca5)||_0x5aeca5);return _0x5aeca5;},_0x375f2d=(_0x34f72a,_0x1c8754)=>(_0x43b805,_0x27c4ee)=>_0x1c8754(_0x43b805,_0x27c4ee,_0x34f72a);let _0x3628e2=class{constructor(_0x206071,_0x80ed11){const _0x202272=_0x29bde7;this[_0x202272(0x247)]=_0x206071,this[_0x202272(0x289)]=_0x80ed11;}['transformSelections'](_0x4f2465){const _0x92e285=_0x29bde7;var _0x2daa7c;const _0xce762d=this[_0x92e285(0x247)]['get'](_0x4995f4[_0x92e285(0x1fa)]),_0x530f86=(_0x2daa7c=_0xce762d['getDocRanges']())!=null?_0x2daa7c:[];if(_0x530f86[_0x92e285(0x257)]===0x0)return;const _0x20c844=_0x4f2465['unitID'],_0x340d69=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x20c844,'actions':null,'textRanges':_0x530f86}}],_0x5c9d93=this['_transformService'][_0x92e285(0xf8)](_0x4f2465,_0x340d69);if(!_0x5e9418[_0x92e285(0x328)](_0x5c9d93))throw _0x5c9d93['error'];const _0x3e528e=_0x5c9d93[_0x92e285(0x2e4)][0x0]['params'][_0x92e285(0x1e4)];Array['isArray'](_0x3e528e)&&_0x3e528e['length']&&_0xce762d[_0x92e285(0x12f)](_0x3e528e,{'unitId':_0x20c844,'subUnitId':_0x20c844},!0x1);}};_0x3628e2=_0x488474([_0x375f2d(0x0,_0x3a09c4['Inject'](_0x3a09c4[_0x29bde7(0x304)])),_0x375f2d(0x1,_0x5e9418[_0x29bde7(0x237)])],_0x3628e2);var _0x405e8b=Object[_0x29bde7(0x224)],_0x77179d=(_0xf3d97,_0x22e5c6,_0x5bb703,_0x38cc92)=>{const _0x1bf41f=_0x29bde7;for(var _0x208496=_0x38cc92>0x1?void 0x0:_0x38cc92?_0x405e8b(_0x22e5c6,_0x5bb703):_0x22e5c6,_0x47f74f=_0xf3d97[_0x1bf41f(0x257)]-0x1,_0x1d59f6;_0x47f74f>=0x0;_0x47f74f--)(_0x1d59f6=_0xf3d97[_0x47f74f])&&(_0x208496=_0x1d59f6(_0x208496)||_0x208496);return _0x208496;},_0x4f961f=(_0x3c3af0,_0x1eec20)=>(_0x15cd8e,_0x3c6593)=>_0x1eec20(_0x15cd8e,_0x3c6593,_0x3c3af0);let _0x30a1d6=class extends _0x3a09c4[_0x29bde7(0x191)]{constructor(_0x5928fd,_0x45ed03,_0x4fcb60,_0x90e601,_0xf1aa05,_0x1ac937,_0x53f9db,_0x104782){const _0x5470a5=_0x29bde7;super(),_0x9f87fa(this,_0x5470a5(0x2d7),new _0x41fba3[(_0x5470a5(0x31e))](_0x5e7c26[_0x5470a5(0x10f)][_0x5470a5(0x305)])),(this[_0x5470a5(0x1c3)]=_0x5928fd,this[_0x5470a5(0x364)]=_0x45ed03,this[_0x5470a5(0x371)]=_0x4fcb60,this['_docTransformStateCacheService']=_0x90e601,this['_docTransformSelectionsService']=_0xf1aa05,this[_0x5470a5(0x333)]=_0x1ac937,this[_0x5470a5(0x388)]=_0x53f9db,this[_0x5470a5(0x142)]=_0x104782,this[_0x5470a5(0x164)]());}[_0x29bde7(0x164)](){const _0x57b943=_0x29bde7;this[_0x57b943(0x28e)](this['_collaborationController'][_0x57b943(0x29e)][_0x57b943(0x359)](_0x259004=>{const _0x6a0de=_0x57b943,_0x324414=this['_docStateChangeManagerService']['docStateChange$'][_0x6a0de(0x359)](_0x976e3c=>{const _0x28eb6b=_0x6a0de;if(_0x976e3c==null)return;const {unitId:_0xb11880,redoState:_0x36001e,commandId:_0x37232c}=_0x976e3c;if(_0xb11880!==_0x259004[_0x28eb6b(0xee)])return;const _0x4af2ba={'id':_0x37232c,'type':_0x3a09c4['CommandType'][_0x28eb6b(0x171)],'params':{'unitId':_0xb11880,'actions':_0x36001e[_0x28eb6b(0x1f2)],'textRanges':null}};_0x259004[_0x28eb6b(0x205)](_0x4af2ba);});if(_0x259004[_0x6a0de(0x28e)](_0x324414),_0x259004 instanceof _0x5e7c26[_0x6a0de(0xdd)]){const _0xc989bf={'onTransformIME':_0x3f3e83=>this[_0x6a0de(0x371)]['transformIMECache'](_0x3f3e83),'onTransformState':_0x441681=>this[_0x6a0de(0x26b)][_0x6a0de(0x266)](_0x441681),'onTransformSelections':_0x4aca1c=>this[_0x6a0de(0x1d3)][_0x6a0de(0x3a4)](_0x4aca1c),'onSyncEditingCollabCursor':_0x447912=>this[_0x6a0de(0x333)][_0x6a0de(0x17b)](_0x447912),'onTransformRemoteChangesetByIMECache':_0x22098b=>this['_docTransformIMECacheService'][_0x6a0de(0x145)](_0x22098b),'onTransformRemoteChangesetByStateCache':_0x44e168=>this['_docTransformStateCacheService'][_0x6a0de(0x145)](_0x44e168)};_0x259004['addHandlerCallback'](_0xc989bf);}}));}};_0x30a1d6=_0x77179d([_0x4f961f(0x0,_0x3a09c4[_0x29bde7(0xdb)](_0x9d9b14[_0x29bde7(0x2dd)])),_0x4f961f(0x1,_0x3a09c4['Inject'](_0x5e7c26[_0x29bde7(0x1aa)])),_0x4f961f(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e0130)),_0x4f961f(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0xc132fe)),_0x4f961f(0x4,_0x3a09c4[_0x29bde7(0xdb)](_0x3628e2)),_0x4f961f(0x5,_0x3a09c4[_0x29bde7(0xdb)](_0x3d295c)),_0x4f961f(0x6,_0x592aaf[_0x29bde7(0x236)]),_0x4f961f(0x7,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4['LocaleService']))],_0x30a1d6);var _0x2b04bc=(_0x2abc76=>(_0x2abc76[_0x2abc76[_0x29bde7(0x37c)]=0x0]=_0x29bde7(0x37c),_0x2abc76[_0x2abc76['OK']=0x1]='OK',_0x2abc76[_0x2abc76[_0x29bde7(0x22d)]=0x2]='INTERNAL_ERROR',_0x2abc76[_0x2abc76[_0x29bde7(0x1fd)]=0x3]='PERMISSION_DENIED',_0x2abc76[_0x2abc76[_0x29bde7(0x1ff)]=0x4]=_0x29bde7(0x1ff),_0x2abc76[_0x2abc76[_0x29bde7(0x225)]=0x5]=_0x29bde7(0x225),_0x2abc76[_0x2abc76[_0x29bde7(0x34e)]=0x6]=_0x29bde7(0x34e),_0x2abc76[_0x2abc76[_0x29bde7(0x17d)]=0x7]=_0x29bde7(0x17d),_0x2abc76[_0x2abc76[_0x29bde7(0x12e)]=0x8]='TOO_MANY_REQUESTS',_0x2abc76[_0x2abc76['COMPLETION_FINISHED']=0x9]=_0x29bde7(0x136),_0x2abc76[_0x2abc76[_0x29bde7(0x23d)]=0xa]=_0x29bde7(0x23d),_0x2abc76[_0x2abc76[_0x29bde7(0x102)]=0xb]=_0x29bde7(0x102),_0x2abc76[_0x2abc76['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x29bde7(0x365),_0x2abc76[_0x2abc76[_0x29bde7(0x2fc)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x2abc76[_0x2abc76[_0x29bde7(0x38e)]=0xe]=_0x29bde7(0x38e),_0x2abc76[_0x2abc76[_0x29bde7(0x10d)]=0xf]=_0x29bde7(0x10d),_0x2abc76[_0x2abc76[_0x29bde7(0x1b1)]=0x10]=_0x29bde7(0x1b1),_0x2abc76[_0x2abc76[_0x29bde7(0x302)]=0x64]=_0x29bde7(0x302),_0x2abc76[_0x2abc76['ERROR_AGAIN']=0x65]=_0x29bde7(0x21a),_0x2abc76[_0x2abc76[_0x29bde7(0x262)]=0xc9]=_0x29bde7(0x262),_0x2abc76[_0x2abc76[_0x29bde7(0x1e7)]=0xca]=_0x29bde7(0x1e7),_0x2abc76[_0x2abc76[_0x29bde7(0x13e)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2abc76[_0x2abc76[_0x29bde7(0x354)]=0x1771]=_0x29bde7(0x354),_0x2abc76[_0x2abc76[_0x29bde7(0x2e2)]=0x1772]=_0x29bde7(0x2e2),_0x2abc76[_0x2abc76[_0x29bde7(0x297)]=0x1773]=_0x29bde7(0x297),_0x2abc76[_0x2abc76['APPLY_REJECT']=0x1b59]=_0x29bde7(0x18c),_0x2abc76[_0x2abc76[_0x29bde7(0xf5)]=0x1b5a]=_0x29bde7(0xf5),_0x2abc76[_0x2abc76['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x29bde7(0xfd),_0x2abc76[_0x2abc76[_0x29bde7(0x375)]=0x1b5c]=_0x29bde7(0x375),_0x2abc76[_0x2abc76[_0x29bde7(0x2bb)]=0x1b5d]=_0x29bde7(0x2bb),_0x2abc76[_0x2abc76[_0x29bde7(0x300)]=0x1f41]=_0x29bde7(0x300),_0x2abc76[_0x2abc76[_0x29bde7(0x10a)]=0x2329]=_0x29bde7(0x10a),_0x2abc76[_0x2abc76[_0x29bde7(0x115)]=0x232a]=_0x29bde7(0x115),_0x2abc76[_0x2abc76[_0x29bde7(0x331)]=0x232b]=_0x29bde7(0x331),_0x2abc76[_0x2abc76[_0x29bde7(0x2d2)]=0x232c]=_0x29bde7(0x2d2),_0x2abc76[_0x2abc76[_0x29bde7(0x2eb)]=0x232d]=_0x29bde7(0x2eb),_0x2abc76[_0x2abc76[_0x29bde7(0x188)]=0x2711]=_0x29bde7(0x188),_0x2abc76[_0x2abc76['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x29bde7(0x244),_0x2abc76[_0x2abc76[_0x29bde7(0x22b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2abc76[_0x2abc76['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x29bde7(0x2d0),_0x2abc76[_0x2abc76[_0x29bde7(0x1f9)]=0x271a]=_0x29bde7(0x1f9),_0x2abc76[_0x2abc76[_0x29bde7(0x282)]=0x271b]=_0x29bde7(0x282),_0x2abc76[_0x2abc76[_0x29bde7(0x290)]=0x271c]=_0x29bde7(0x290),_0x2abc76[_0x2abc76[_0x29bde7(0x280)]=0x271d]=_0x29bde7(0x280),_0x2abc76[_0x2abc76[_0x29bde7(0x2c2)]=0x271e]=_0x29bde7(0x2c2),_0x2abc76[_0x2abc76[_0x29bde7(0xe9)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x2abc76[_0x2abc76[_0x29bde7(0x2e6)]=0x2720]=_0x29bde7(0x2e6),_0x2abc76[_0x2abc76[_0x29bde7(0x350)]=0x2af9]=_0x29bde7(0x350),_0x2abc76[_0x2abc76['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x29bde7(0x25a),_0x2abc76[_0x2abc76[_0x29bde7(0x169)]=0x2ee2]=_0x29bde7(0x169),_0x2abc76[_0x2abc76[_0x29bde7(0x2a9)]=0x2ee3]=_0x29bde7(0x2a9),_0x2abc76[_0x2abc76['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x2abc76[_0x2abc76['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x29bde7(0x202),_0x2abc76[_0x2abc76[_0x29bde7(0x176)]=0x32c9]=_0x29bde7(0x176),_0x2abc76[_0x2abc76[_0x29bde7(0x204)]=0x32ca]=_0x29bde7(0x204),_0x2abc76[_0x2abc76[_0x29bde7(0x134)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2abc76[_0x2abc76[_0x29bde7(0x144)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x2abc76[_0x2abc76[_0x29bde7(0x263)]=0x36b2]=_0x29bde7(0x263),_0x2abc76[_0x2abc76[_0x29bde7(0x26c)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x2abc76[_0x2abc76[_0x29bde7(0x150)]=0x36b4]=_0x29bde7(0x150),_0x2abc76[_0x2abc76[_0x29bde7(0x2a4)]=0x36b5]=_0x29bde7(0x2a4),_0x2abc76[_0x2abc76[_0x29bde7(0x1ba)]=0x36b6]=_0x29bde7(0x1ba),_0x2abc76[_0x2abc76[_0x29bde7(0x162)]=0x36b7]=_0x29bde7(0x162),_0x2abc76[_0x2abc76[_0x29bde7(0x1bd)]=0x36b8]=_0x29bde7(0x1bd),_0x2abc76[_0x2abc76[_0x29bde7(0x19a)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x2abc76[_0x2abc76[_0x29bde7(0x179)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x2abc76[_0x2abc76[_0x29bde7(0x1fb)]=0x3717]=_0x29bde7(0x1fb),_0x2abc76[_0x2abc76[_0x29bde7(0x13d)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x2abc76[_0x2abc76[_0x29bde7(0x11d)]=0x3a99]=_0x29bde7(0x11d),_0x2abc76[_0x2abc76['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x2abc76[_0x2abc76[_0x29bde7(0xef)]=0x3a9b]=_0x29bde7(0xef),_0x2abc76[_0x2abc76[_0x29bde7(0x14a)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x2abc76[_0x2abc76[_0x29bde7(0x1fe)]=0x3a9d]=_0x29bde7(0x1fe),_0x2abc76[_0x2abc76[_0x29bde7(0x1f6)]=0x3a9e]=_0x29bde7(0x1f6),_0x2abc76[_0x2abc76[_0x29bde7(0x147)]=0x3a9f]=_0x29bde7(0x147),_0x2abc76[_0x2abc76[_0x29bde7(0x2cc)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x2abc76[_0x2abc76[_0x29bde7(0x35d)]=-0x1]=_0x29bde7(0x35d),_0x2abc76))(_0x2b04bc||{});function _0x541d21(_0x1033dd){const _0xcc7aca=_0x29bde7;var _0x20c779,_0x3a0d01;const _0xa49bd=(_0x20c779=_0x1033dd[_0xcc7aca(0x1cb)])==null?void 0x0:_0x20c779[_0xcc7aca(0x135)],_0x473bff=((_0x3a0d01=_0x1033dd['stageInfo'])==null?void 0x0:_0x3a0d01[_0xcc7aca(0x27e)])||0x0;return _0xa49bd===_0x3202a1[_0xcc7aca(0xd3)][_0xcc7aca(0x1ed)]&&_0x473bff>0x0;}function _0x3dbd8b(_0x127b5c){const _0x377898=_0x29bde7;return _0x127b5c[_0x377898(0x22a)]===_0x3202a1[_0x377898(0x159)]['SUCCESS'];}var _0x46379b=Object['getOwnPropertyDescriptor'],_0x1dfd3c=(_0x327ece,_0x5405c2,_0x59ecf8,_0x49de0d)=>{const _0x1f8d10=_0x29bde7;for(var _0x267fd0=_0x49de0d>0x1?void 0x0:_0x49de0d?_0x46379b(_0x5405c2,_0x59ecf8):_0x5405c2,_0x142276=_0x327ece[_0x1f8d10(0x257)]-0x1,_0x2e66bf;_0x142276>=0x0;_0x142276--)(_0x2e66bf=_0x327ece[_0x142276])&&(_0x267fd0=_0x2e66bf(_0x267fd0)||_0x267fd0);return _0x267fd0;},_0x55e2d6=(_0x49744f,_0x4a733a)=>(_0x1d7186,_0x3ab44b)=>_0x4a733a(_0x1d7186,_0x3ab44b,_0x49744f);const _0x417e1d=_0x29bde7(0xc2),_0x4e7f71=_0x29bde7(0x2af),_0x47b146=_0x29bde7(0x2e0);let _0x353926=class extends _0x3a09c4[_0x29bde7(0x191)]{constructor(_0x32adfd,_0x47335e,_0x3c097a,_0x8a3673,_0x520ca4,_0x188019,_0x1d8d74){const _0x5a2d7c=_0x29bde7;super(),_0x9f87fa(this,_0x5a2d7c(0x377),null),_0x9f87fa(this,'_maxFormulaLimit',0x0),_0x9f87fa(this,_0x5a2d7c(0x321),0x0),_0x9f87fa(this,_0x5a2d7c(0x298),[]),_0x9f87fa(this,_0x5a2d7c(0x309),0x0),(this[_0x5a2d7c(0x388)]=_0x32adfd,this[_0x5a2d7c(0x114)]=_0x47335e,this[_0x5a2d7c(0x219)]=_0x3c097a,this[_0x5a2d7c(0x37f)]=_0x8a3673,this[_0x5a2d7c(0x1ab)]=_0x520ca4,this[_0x5a2d7c(0x28c)]=_0x188019,this['_localeService']=_0x1d8d74,this[_0x5a2d7c(0x1c0)]());}[_0x29bde7(0x1c0)](){const _0x7fcf32=_0x29bde7;this[_0x7fcf32(0x28e)](this[_0x7fcf32(0x114)][_0x7fcf32(0x303)]((_0x5ea7de,_0x15236e)=>{const _0x3bee13=_0x7fcf32;var _0x36e788;if(_0x5ea7de['id']!==_0x3202a1[_0x3bee13(0x2e3)]['id'])return;const _0x43cc5e=_0x5ea7de[_0x3bee13(0x32e)];if(!this[_0x3bee13(0x385)]((_0x36e788=_0x43cc5e[_0x3bee13(0x378)])!=null?_0x36e788:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x3bee13(0xfe)](_0x5ea7de,_0x15236e),this[_0x3bee13(0x217)](),new _0x3a09c4[(_0x3bee13(0x2b0))]();})),this[_0x7fcf32(0x28e)](this['_commandService']['onCommandExecuted']((_0x57d299,_0x44268b)=>{const _0x218ad3=_0x7fcf32;if(_0x57d299['id']!==_0x3202a1[_0x218ad3(0x395)]['id'])return;const _0x4b1205=_0x57d299[_0x218ad3(0x32e)];if(_0x541d21(_0x4b1205)){const _0x204129=_0x3a09c4[_0x218ad3(0x382)]();this[_0x218ad3(0x298)][_0x218ad3(0x174)](_0x204129),this[_0x218ad3(0x2c6)](_0x204129);}else{if(_0x3dbd8b(_0x4b1205)&&this['_taskIds'][_0x218ad3(0x257)]>0x0){const _0xadfb32=this['_taskIds'][_0x218ad3(0x28a)]();this[_0x218ad3(0x3a0)](_0xadfb32);}}}));}['dispose'](){const _0x298b96=_0x29bde7;super[_0x298b96(0x19f)](),this[_0x298b96(0x2ab)](),this['_taskIds']=[],this[_0x298b96(0x321)]=0x0,this[_0x298b96(0x32c)]=0x0,this[_0x298b96(0x309)]=0x0;}async[_0x29bde7(0xfe)](_0x1ef5cf,_0x57834a){const _0x48cf07=_0x29bde7;for(let _0xd69dac=0x0;_0xd69dac<0x1e;_0xd69dac++)try{if(await this[_0x48cf07(0x1bf)](),this[_0x48cf07(0x24b)]()){this[_0x48cf07(0x209)](_0x1ef5cf,_0x57834a),this[_0x48cf07(0x388)][_0x48cf07(0x16f)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x2a2db6[_0x48cf07(0x34a)][_0x48cf07(0x2d8)]});return;}await new Promise(_0x2b02fc=>{const _0x1e39ae=_0x48cf07;this['_pollingInterval']=window[_0x1e39ae(0x338)](_0x2b02fc,0x3e8);});}catch(_0x2fd45e){this[_0x48cf07(0x28c)]['error'](_0x2fd45e);}this[_0x48cf07(0x388)][_0x48cf07(0x16f)]({'content':this['_localeService']['t'](_0x48cf07(0x37d)),'type':_0x2a2db6[_0x48cf07(0x34a)][_0x48cf07(0x29c)]});}[_0x29bde7(0x209)](_0x382c07,_0x2293e9){const _0x5cbc0c=_0x29bde7;try{this['_commandService'][_0x5cbc0c(0x104)](_0x382c07['id'],_0x382c07[_0x5cbc0c(0x32e)],_0x2293e9);}catch(_0x43c8db){this[_0x5cbc0c(0x28c)]['error'](_0x43c8db);}}[_0x29bde7(0xc5)](_0x1d380e,_0x13f2e4){const _0x4f46c8=_0x29bde7;_0x13f2e4<this[_0x4f46c8(0x309)]||(this[_0x4f46c8(0x309)]=_0x13f2e4,this['_maxFormulaLimit']=Number[_0x4f46c8(0x186)](_0x1d380e[_0x4f46c8(0x152)]),this[_0x4f46c8(0x321)]=Number[_0x4f46c8(0x186)](_0x1d380e[_0x4f46c8(0x29b)]));}async[_0x29bde7(0x2c6)](_0x122bde){const _0x36f003=_0x29bde7;var _0x3c9801,_0x75dd4e;const _0x83ecaf=Date[_0x36f003(0xf6)]();try{const _0x564a38=((_0x3c9801=this[_0x36f003(0x219)][_0x36f003(0x19d)](_0x5e7c26[_0x36f003(0x2c3)]))==null?void 0x0:_0x3c9801[_0x36f003(0x235)])||_0x4e7f71,_0x1dd61d=(await this[_0x36f003(0x37f)][_0x36f003(0x279)](_0x564a38,{'body':JSON[_0x36f003(0x1d5)]({'taskId':_0x122bde})}))[_0x36f003(0x221)];if(((_0x75dd4e=_0x1dd61d[_0x36f003(0x34f)])==null?void 0x0:_0x75dd4e['code'])!==_0x2b04bc['OK'])return;this[_0x36f003(0xc5)](_0x1dd61d[_0x36f003(0x207)],_0x83ecaf);}catch(_0x5cf12f){this['_logService'][_0x36f003(0x34f)](_0x5cf12f);}}async[_0x29bde7(0x1bf)](_0x4fd1ea){const _0x4577b6=_0x29bde7;var _0x27d13c,_0x59a78;const _0x3dbd22=Date[_0x4577b6(0xf6)]();try{const _0x22c263=((_0x27d13c=this[_0x4577b6(0x219)]['getConfig'](_0x5e7c26[_0x4577b6(0x2c3)]))==null?void 0x0:_0x27d13c[_0x4577b6(0x1c8)])||_0x417e1d,_0x113b01=_0x4fd1ea?_0x22c263+_0x4577b6(0x100)+encodeURIComponent(_0x4fd1ea):_0x22c263,_0x34b497=(await this[_0x4577b6(0x37f)][_0x4577b6(0x31d)](_0x113b01))[_0x4577b6(0x221)];if(((_0x59a78=_0x34b497['error'])==null?void 0x0:_0x59a78['code'])!==_0x2b04bc['OK'])return;this[_0x4577b6(0xc5)](_0x34b497[_0x4577b6(0x207)],_0x3dbd22);}catch(_0x5723fb){this[_0x4577b6(0x28c)][_0x4577b6(0x34f)](_0x5723fb);}}async[_0x29bde7(0x3a0)](_0x4928ed){const _0xb0c2e1=_0x29bde7;var _0x1651cc,_0x1ce4a9;const _0x2409c6=Date[_0xb0c2e1(0xf6)]();try{const _0x4f3d9d=((_0x1651cc=this[_0xb0c2e1(0x219)][_0xb0c2e1(0x19d)](_0x5e7c26['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x1651cc[_0xb0c2e1(0x196)])||_0x47b146,_0x349498=(await this['_httpService'][_0xb0c2e1(0x279)](_0x4f3d9d,{'body':JSON[_0xb0c2e1(0x1d5)]({'taskId':_0x4928ed})}))[_0xb0c2e1(0x221)];if(((_0x1ce4a9=_0x349498['error'])==null?void 0x0:_0x1ce4a9[_0xb0c2e1(0xd4)])!==_0x2b04bc['OK'])return;this['_setFormulaLimitStatus'](_0x349498['limitInfo'],_0x2409c6);}catch(_0xd2377e){this[_0xb0c2e1(0x28c)][_0xb0c2e1(0x34f)](_0xd2377e);}}[_0x29bde7(0x24b)](){const _0x4c3c87=_0x29bde7;return this[_0x4c3c87(0x32c)]===0x0?!0x0:this[_0x4c3c87(0x32c)]-this[_0x4c3c87(0x321)]>0x0;}[_0x29bde7(0x2ab)](){const _0x4b7a52=_0x29bde7;this[_0x4b7a52(0x377)]&&(clearTimeout(this[_0x4b7a52(0x377)]),this[_0x4b7a52(0x377)]=null);}[_0x29bde7(0x217)](){const _0x4025c3=_0x29bde7;this[_0x4025c3(0x388)][_0x4025c3(0x16f)]({'content':this[_0x4025c3(0x142)]['t'](_0x4025c3(0xf4)),'type':_0x2a2db6['MessageType'][_0x4025c3(0x2f6)]});}['_hasFormulaInDirtyRanges'](_0x28f628){const _0x1af6a6=_0x29bde7;for(const _0x29ac28 of _0x28f628){const {unitId:_0x5af3a7,sheetId:_0x122c18,range:_0x970384}=_0x29ac28,_0x5572ac=this[_0x1af6a6(0x1ab)][_0x1af6a6(0x1e1)](_0x5af3a7);if(!_0x5572ac)continue;const _0x1388dc=_0x5572ac[_0x1af6a6(0x2cf)](_0x122c18);if(!_0x1388dc)continue;const _0x4d3588=_0x1388dc[_0x1af6a6(0x218)]();for(let _0x5afd4d=_0x970384[_0x1af6a6(0x21b)];_0x5afd4d<=_0x970384[_0x1af6a6(0x1e6)];_0x5afd4d++)for(let _0x735523=_0x970384[_0x1af6a6(0x15d)];_0x735523<=_0x970384[_0x1af6a6(0x1a9)];_0x735523++){const _0x5b8960=_0x4d3588[_0x1af6a6(0x2ff)](_0x5afd4d,_0x735523);if(_0x5b8960&&(_0x3a09c4[_0x1af6a6(0x32a)](_0x5b8960['f'])||_0x3a09c4[_0x1af6a6(0x251)](_0x5b8960['si'])))return!0x0;}}return!0x1;}};_0x353926=_0x1dfd3c([_0x55e2d6(0x0,_0x3a09c4[_0x29bde7(0xdb)](_0x592aaf[_0x29bde7(0x236)])),_0x55e2d6(0x1,_0x3a09c4[_0x29bde7(0x339)]),_0x55e2d6(0x2,_0x3a09c4[_0x29bde7(0x1f3)]),_0x55e2d6(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0x20de86['HTTPService'])),_0x55e2d6(0x4,_0x3a09c4[_0x29bde7(0x294)]),_0x55e2d6(0x5,_0x3a09c4[_0x29bde7(0x1da)]),_0x55e2d6(0x6,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x36c)]))],_0x353926);var _0x5e6e28=Object[_0x29bde7(0x224)],_0x36d557=(_0x4c2ccf,_0x8e5ba5,_0x4478e1,_0xb68c4c)=>{const _0x363a85=_0x29bde7;for(var _0x5ebd13=_0xb68c4c>0x1?void 0x0:_0xb68c4c?_0x5e6e28(_0x8e5ba5,_0x4478e1):_0x8e5ba5,_0x4c05b9=_0x4c2ccf[_0x363a85(0x257)]-0x1,_0x39c86e;_0x4c05b9>=0x0;_0x4c05b9--)(_0x39c86e=_0x4c2ccf[_0x4c05b9])&&(_0x5ebd13=_0x39c86e(_0x5ebd13)||_0x5ebd13);return _0x5ebd13;},_0x287ce9=(_0x43e1f9,_0x30459e)=>(_0x2bd312,_0x154b5b)=>_0x30459e(_0x2bd312,_0x154b5b,_0x43e1f9);let _0x10ebcc=class extends _0x3a09c4[_0x29bde7(0x191)]{constructor(_0x4a1415,_0x3aae6c,_0x5e160d){const _0x20a91d=_0x29bde7;super(),_0x9f87fa(this,_0x20a91d(0x23c),new Map()),_0x9f87fa(this,_0x20a91d(0x374),new Map()),_0x9f87fa(this,_0x20a91d(0xf1),!0x1),(this[_0x20a91d(0x219)]=_0x4a1415,this[_0x20a91d(0x1a4)]=_0x3aae6c,this[_0x20a91d(0x352)]=_0x5e160d);}[_0x29bde7(0x269)](){const _0x278245=_0x29bde7;this[_0x278245(0xf1)]=!0x0;}[_0x29bde7(0x1b5)](){const _0xd56cd2=_0x29bde7;this[_0xd56cd2(0xf1)]=!0x1;}get[_0x29bde7(0x36f)](){const _0x7f8b47=_0x29bde7;return this[_0x7f8b47(0x374)];}['dispose'](){const _0xf9898a=_0x29bde7;this['exhaustSavingTask']()[_0xf9898a(0x189)](()=>super[_0xf9898a(0x19f)]());}async[_0x29bde7(0x370)](_0x46af0b){const _0x4c6fa5=_0x29bde7;return this[_0x4c6fa5(0xf1)]?null:this[_0x4c6fa5(0x1a4)][_0x4c6fa5(0x131)](_0x5e7c26[_0x4c6fa5(0x2b6)](_0x46af0b));}async[_0x29bde7(0x288)](_0x5b9eb,_0x3d1c4a){const _0x5c6875=_0x29bde7;return!!this['_localStorageService'][_0x5c6875(0x35f)](_0x5b9eb,_0x3d1c4a);}[_0x29bde7(0x35a)](_0x5de9ba,_0x73c898,_0x3fbb4c,_0xcb84c2){const _0x83fe4f=_0x29bde7,_0x22a8d1=this['_revisionService'][_0x83fe4f(0x24e)](_0x5de9ba);this[_0x83fe4f(0x23c)]['set'](_0x5de9ba,{'unitID':_0x5de9ba,'type':_0x73c898,'awaitingChangeset':_0x3fbb4c,'mutations':_0xcb84c2,'rev':_0x22a8d1}),this['_saveTaskMap']['has'](_0x5de9ba)||this[_0x83fe4f(0x21e)](_0x5de9ba);}[_0x29bde7(0x21e)](_0x18df72){const _0x2c74ae=_0x29bde7,_0x296285=this['_getSaveTimeout']();_0x296285===0x0?this[_0x2c74ae(0x22c)](_0x18df72):this[_0x2c74ae(0x374)][_0x2c74ae(0x2d5)](_0x18df72,setTimeout(()=>this['_saveCache'](_0x18df72),_0x296285));}[_0x29bde7(0x2d9)](){const _0x453438=_0x29bde7;var _0x21168b;return(_0x21168b=this[_0x453438(0x219)][_0x453438(0x19d)](_0x5e7c26[_0x453438(0x201)]))!=null?_0x21168b:_0x5e7c26[_0x453438(0x155)];}[_0x29bde7(0x22c)](_0x45ab3f){const _0x1d77fe=_0x29bde7,_0x54070d=this[_0x1d77fe(0x374)]['get'](_0x45ab3f);return _0x54070d!==void 0x0&&window[_0x1d77fe(0x2fa)](_0x54070d),this[_0x1d77fe(0x1a4)][_0x1d77fe(0x35f)](_0x5e7c26[_0x1d77fe(0x2b6)](_0x45ab3f),this[_0x1d77fe(0x23c)]['get'](_0x45ab3f))[_0x1d77fe(0x189)](()=>this[_0x1d77fe(0x374)][_0x1d77fe(0x35e)](_0x45ab3f));}async[_0x29bde7(0x1d8)](){const _0x40ebc0=_0x29bde7,_0x3f4958=[];this[_0x40ebc0(0x374)][_0x40ebc0(0x27c)]((_0x150a76,_0x38638c)=>{const _0x52e278=_0x40ebc0;window[_0x52e278(0x2fa)](_0x150a76),_0x3f4958[_0x52e278(0x174)](this[_0x52e278(0x22c)](_0x38638c)[_0x52e278(0x189)](()=>{const _0x371c28=_0x52e278;this[_0x371c28(0x374)][_0x371c28(0x35e)](_0x38638c);}));}),await Promise[_0x40ebc0(0x25f)](_0x3f4958);}};_0x10ebcc=_0x36d557([_0x287ce9(0x0,_0x3a09c4[_0x29bde7(0x1f3)]),_0x287ce9(0x1,_0x3a09c4[_0x29bde7(0x315)]),_0x287ce9(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e9418[_0x29bde7(0x11e)]))],_0x10ebcc);class _0x18c0ae extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(){const _0xfa6ab9=_0x29bde7;super(),_0x9f87fa(this,_0xfa6ab9(0x2a8)),this['urlChange$']=_0x41fba3[_0xfa6ab9(0x18f)](window,'popstate')[_0xfa6ab9(0x2e5)](_0x41fba3[_0xfa6ab9(0x306)](this['dispose$']),_0x41fba3['shareReplay'](0x1),_0x41fba3[_0xfa6ab9(0xfa)](void 0x0));}[_0x29bde7(0x343)](_0x293c15,_0x58ebd6,_0x187a54=!0x1){const _0x5a188f=_0x29bde7,_0x5f1f2a=new URL(window[_0x5a188f(0x113)]['href']);_0x5f1f2a['searchParams'][_0x5a188f(0x2d5)](_0x293c15,_0x58ebd6),_0x187a54?window['history'][_0x5a188f(0x28f)]('','',_0x5f1f2a['toString']()):window[_0x5a188f(0x206)][_0x5a188f(0x132)]('','',_0x5f1f2a[_0x5a188f(0x349)]());}[_0x29bde7(0x272)](_0x3e3b87,_0x487dfb=!0x1){const _0x3b690f=_0x29bde7,_0xddaaf7=new URL(window[_0x3b690f(0x113)][_0x3b690f(0x234)]);_0xddaaf7['searchParams'][_0x3b690f(0x35e)](_0x3e3b87),_0x487dfb?window[_0x3b690f(0x206)]['replaceState']('','',_0xddaaf7[_0x3b690f(0x349)]()):window[_0x3b690f(0x206)][_0x3b690f(0x132)]('','',_0xddaaf7[_0x3b690f(0x349)]());}[_0x29bde7(0x154)](_0x4a7ea5){const _0x4dcdc6=_0x29bde7;var _0x4e3022;return(_0x4e3022=new URL(window['location'][_0x4dcdc6(0x234)])['searchParams'][_0x4dcdc6(0x31d)](_0x4a7ea5))!=null?_0x4e3022:void 0x0;}}var _0x40d0a6=Object[_0x29bde7(0x340)],_0x4cf4cb=Object['getOwnPropertyDescriptor'],_0x4e65bd=(_0x3bed3f,_0x417391,_0x17c5b2)=>_0x417391 in _0x3bed3f?_0x40d0a6(_0x3bed3f,_0x417391,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17c5b2}):_0x3bed3f[_0x417391]=_0x17c5b2,_0x362661=(_0x3d7015,_0x1a0a69,_0x4b50b4,_0x3ab994)=>{for(var _0xbe30bb=_0x3ab994>0x1?void 0x0:_0x3ab994?_0x4cf4cb(_0x1a0a69,_0x4b50b4):_0x1a0a69,_0x21aa17=_0x3d7015['length']-0x1,_0x5d7aa9;_0x21aa17>=0x0;_0x21aa17--)(_0x5d7aa9=_0x3d7015[_0x21aa17])&&(_0xbe30bb=_0x5d7aa9(_0xbe30bb)||_0xbe30bb);return _0xbe30bb;},_0x6ce988=(_0x859eb4,_0x59af9e)=>(_0x25350f,_0x2a4772)=>_0x59af9e(_0x25350f,_0x2a4772,_0x859eb4),_0xa9b818=(_0x5b9cb2,_0x1bc10d,_0x4e5f5e)=>_0x4e65bd(_0x5b9cb2,_0x1bc10d+'',_0x4e5f5e);const _0x4a74e3=_0x29bde7(0x1df);_0x1e8a5b[_0x29bde7(0xf9)]=class extends _0x3a09c4['Plugin']{constructor(_0x133867=_0x2c5eff,_0x2c50f6,_0x17fd8a,_0x18cbc8){const _0x395517=_0x29bde7;super(),this[_0x395517(0x194)]=_0x133867,this[_0x395517(0x146)]=_0x2c50f6,this[_0x395517(0x247)]=_0x17fd8a,this[_0x395517(0x219)]=_0x18cbc8;const {..._0x262aba}=_0x3a09c4['merge']({},_0x2c5eff,this[_0x395517(0x194)]);this['_configService'][_0x395517(0x3af)](_0x2d74b1,_0x262aba);}[_0x29bde7(0x347)](){const _0x3249a5=_0x29bde7;this[_0x3249a5(0x33f)](),this[_0x3249a5(0x23a)]();}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x4f50d8=_0x29bde7;var _0x1a73fb;const _0x28e67a=[[_0x1acd06],[_0x353926],[_0x3628e2],[_0x5e0130],[_0xc132fe],[_0x3d295c],[_0x5c7e96,{'useClass':_0x18c0ae}],[_0x20de86['ISocketService'],{'useClass':_0x20de86[_0x4f50d8(0x2ca)]}],[_0x5e7c26[_0x4f50d8(0x355)],{'useClass':_0x10ebcc}],[_0x1e8a5b[_0x4f50d8(0x3a9)]],[_0x30a1d6],[_0x2ee8d7],[_0x2763d1],[_0x43ac4d],[_0x1e8a5b[_0x4f50d8(0x242)]]];this['_config'][_0x4f50d8(0x3aa)]&&_0x28e67a[_0x4f50d8(0x174)]([_0x32a527]),_0x3a09c4[_0x4f50d8(0x39b)](this[_0x4f50d8(0x247)],_0x3a09c4[_0x4f50d8(0x2c0)](_0x28e67a,(_0x1a73fb=this[_0x4f50d8(0x194)])==null?void 0x0:_0x1a73fb[_0x4f50d8(0x14c)]));}[_0x29bde7(0xd0)](){const _0x43c60c=_0x29bde7;this[_0x43c60c(0x28e)](this[_0x43c60c(0x146)]['registerRenderModule'](_0x3a09c4[_0x43c60c(0x30d)][_0x43c60c(0xec)],[_0x4ec09a])),this[_0x43c60c(0x28e)](this[_0x43c60c(0x146)][_0x43c60c(0x17a)](_0x3a09c4[_0x43c60c(0x30d)][_0x43c60c(0x2aa)],[_0x27259b]));}[_0x29bde7(0x23a)](){const _0x13fc16=_0x29bde7;_0x3a09c4['touchDependencies'](this['_injector'],[[_0x2763d1],[_0x1e8a5b[_0x13fc16(0x3a9)]],[_0x30a1d6],[_0x2ee8d7],[_0x1e8a5b['CollaborationDataLoaderController']],[_0x353926]]),this[_0x13fc16(0x194)][_0x13fc16(0x3aa)]&&_0x3a09c4[_0x13fc16(0x387)](this[_0x13fc16(0x247)],[[_0x32a527]]);}},_0xa9b818(_0x1e8a5b[_0x29bde7(0xf9)],_0x29bde7(0x2ee),_0x4a74e3),_0x1e8a5b[_0x29bde7(0xf9)]=_0x362661([_0x3a09c4[_0x29bde7(0x2b3)](_0x5e7c26['UniverCollaborationClientPlugin']),_0x6ce988(0x1,_0x271b4b[_0x29bde7(0xde)]),_0x6ce988(0x2,_0x3a09c4['Inject'](_0x3a09c4['Injector'])),_0x6ce988(0x3,_0x3a09c4['IConfigService'])],_0x1e8a5b[_0x29bde7(0xf9)]);var _0x58f851=Object['getOwnPropertyDescriptor'],_0x515c24=(_0x1393e3,_0x1eedb2,_0x42718c,_0x2ecd75)=>{for(var _0x374c44=_0x2ecd75>0x1?void 0x0:_0x2ecd75?_0x58f851(_0x1eedb2,_0x42718c):_0x1eedb2,_0x2f1f24=_0x1393e3['length']-0x1,_0x36db24;_0x2f1f24>=0x0;_0x2f1f24--)(_0x36db24=_0x1393e3[_0x2f1f24])&&(_0x374c44=_0x36db24(_0x374c44)||_0x374c44);return _0x374c44;},_0x349abe=(_0x4f04bd,_0x2eca08)=>(_0x3e37fb,_0x534a3e)=>_0x2eca08(_0x3e37fb,_0x534a3e,_0x4f04bd);_0x1e8a5b[_0x29bde7(0x13c)]=class extends _0x5e7c26['CollaborationSocketService']{constructor(_0x5a00a7,_0x42748a,_0x2883d4,_0x361ebf,_0x19f007){super(_0x5a00a7,_0x42748a,_0x2883d4,_0x361ebf,_0x19f007);}async[_0x29bde7(0x10e)](_0x2722fb){const _0x170255=_0x29bde7,_0x3fbae5=await this['_getSessionTicket'](),_0x3d751a=this['_createSocketURL'](_0x2722fb,_0x3fbae5);return this[_0x170255(0x278)](_0x3d751a);}[_0x29bde7(0x18b)](_0x2acf11,_0x3d2f68){const _0x8b325b=_0x29bde7,_0xff6a03=typeof window>'u'?new URL(_0x2acf11):new URL(_0x2acf11,window['location'][_0x8b325b(0x2be)]);_0xff6a03[_0x8b325b(0x254)]['set']('sessionTicket',_0x3d2f68);const _0x38ac96=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x38ac96[_0x8b325b(0x31d)](_0x8b325b(0x200))&&_0xff6a03[_0x8b325b(0x254)][_0x8b325b(0x2d5)](_0x8b325b(0x200),_0x38ac96['get'](_0x8b325b(0x200))),_0xff6a03[_0x8b325b(0x349)]();}async[_0x29bde7(0x29d)](){const _0x5b2f3b=_0x29bde7;var _0x46c27c,_0x571d12,_0x1b47e9;const _0x3b8afd=this['_configService']['getConfig'](_0x5e7c26[_0x5b2f3b(0x2c3)]),_0x28d8d4=(_0x46c27c=_0x3b8afd==null?void 0x0:_0x3b8afd[_0x5b2f3b(0xe8)])!=null?_0x46c27c:_0x5e7c26[_0x5b2f3b(0x16d)];return(_0x1b47e9=(_0x571d12=(await this[_0x5b2f3b(0x37f)][_0x5b2f3b(0x31d)](_0x28d8d4,{'headers':{'Content-Type':_0x5b2f3b(0x1d0)}}))['body'])==null?void 0x0:_0x571d12[_0x5b2f3b(0x394)])!=null?_0x1b47e9:'';}},_0x1e8a5b['BrowserCollaborationSocketService']=_0x515c24([_0x349abe(0x0,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x304)])),_0x349abe(0x1,_0x3a09c4['Inject'](_0x20de86['HTTPService'])),_0x349abe(0x2,_0x3a09c4[_0x29bde7(0x1f3)]),_0x349abe(0x3,_0x3a09c4['ILogService']),_0x349abe(0x4,_0x5e9418['ISnapshotServerService'])],_0x1e8a5b[_0x29bde7(0x13c)]);var _0x3f6a8a=Object[_0x29bde7(0x224)],_0x798b80=(_0x3107e3,_0x11ede5,_0x60ba4e,_0x2f701d)=>{const _0x1d2085=_0x29bde7;for(var _0x6a827c=_0x2f701d>0x1?void 0x0:_0x2f701d?_0x3f6a8a(_0x11ede5,_0x60ba4e):_0x11ede5,_0x1cce90=_0x3107e3[_0x1d2085(0x257)]-0x1,_0x2bc55e;_0x1cce90>=0x0;_0x1cce90--)(_0x2bc55e=_0x3107e3[_0x1cce90])&&(_0x6a827c=_0x2bc55e(_0x6a827c)||_0x6a827c);return _0x6a827c;},_0x1b5bce=(_0x1d814a,_0x243f25)=>(_0x1cf4ad,_0x4c3959)=>_0x243f25(_0x1cf4ad,_0x4c3959,_0x1d814a);_0x1e8a5b[_0x29bde7(0x125)]=class extends _0x3a09c4['Disposable']{constructor(_0xed5a70,_0x2ee3b3,_0x46b998){const _0x454fe5=_0x29bde7;super(),this[_0x454fe5(0x1ad)]=_0xed5a70,this[_0x454fe5(0x37f)]=_0x2ee3b3,this[_0x454fe5(0x219)]=_0x46b998;}async['runOnServer'](_0xa81255,_0x4001ef,_0x4db5fd,..._0x2637ee){const _0x3d3569=_0x29bde7;var _0x58e2f3,_0x1c8760,_0x16fed7,_0x2b5764;const _0x20b803=this['_instanceService'][_0x3d3569(0x1bc)]();if(!_0x20b803)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1dba06=((_0x58e2f3=this[_0x3d3569(0x219)][_0x3d3569(0x19d)](_0x5e7c26['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x58e2f3:_0x5e7c26[_0x3d3569(0x2d1)])+'/'+_0xa81255+'/run/'+_0x4001ef,_0x24a444=new URL(window[_0x3d3569(0x113)][_0x3d3569(0x234)]),_0x3f4bdb={'scriptId':_0xa81255,'runId':(_0x1c8760=_0x24a444[_0x3d3569(0x254)][_0x3d3569(0x31d)](_0x3d3569(0x200)))!=null?_0x1c8760:'','function':_0x4001ef,'unitId':_0x20b803[_0x3d3569(0x348)](),'argsOfFunction':JSON['stringify'](_0x2637ee),'invokeId':(_0x16fed7=_0x4db5fd[_0x3d3569(0x2bd)])!=null?_0x16fed7:'','executionId':(_0x2b5764=_0x4db5fd[_0x3d3569(0x319)])!=null?_0x2b5764:''};try{const _0x2d40a4=await this[_0x3d3569(0x37f)][_0x3d3569(0x279)](_0x1dba06,{'body':_0x3f4bdb});return _0x2d40a4[_0x3d3569(0x221)][_0x3d3569(0x34f)]&&_0x2d40a4[_0x3d3569(0x221)][_0x3d3569(0x34f)]['code']!==_0x2b04bc['OK']?_0x3d3569(0x2cd):_0x2d40a4[_0x3d3569(0x221)][_0x3d3569(0x324)];}catch{return _0x3d3569(0x2cd);}}},_0x1e8a5b[_0x29bde7(0x125)]=_0x798b80([_0x1b5bce(0x0,_0x3a09c4[_0x29bde7(0x294)]),_0x1b5bce(0x1,_0x3a09c4[_0x29bde7(0xdb)](_0x20de86[_0x29bde7(0x258)])),_0x1b5bce(0x2,_0x3a09c4[_0x29bde7(0x1f3)])],_0x1e8a5b[_0x29bde7(0x125)]);const _0x568b98=0x7530,_0x476747=_0x29bde7(0x26a);class _0x5a1ef8 extends _0x3a09c4[_0x29bde7(0x191)]{constructor(){const _0x152e36=_0x29bde7;super(),_0x9f87fa(this,_0x152e36(0x11b),_0x3a09c4[_0x152e36(0x382)]()),_0x9f87fa(this,_0x152e36(0x2dc),new Set()),_0x9f87fa(this,_0x152e36(0x367),new Map()),_0x9f87fa(this,_0x152e36(0x26d),null),_0x9f87fa(this,_0x152e36(0x1b3),new Map()),_0x9f87fa(this,_0x152e36(0x31c),new Map()),this['_init']();}[_0x29bde7(0x19f)](){const _0x17e505=_0x29bde7;super[_0x17e505(0x19f)](),this[_0x17e505(0x1b3)]['forEach']((_0x227c02,_0x3bc3cf)=>this[_0x17e505(0x177)](_0x3bc3cf)),this[_0x17e505(0x26d)]&&window[_0x17e505(0x2d6)](this[_0x17e505(0x26d)]);}[_0x29bde7(0x208)](_0xac6b7d){const _0x3b18d1=_0x29bde7;return this['_ensureSubject'](_0xac6b7d)[_0x3b18d1(0x2e5)](_0x41fba3[_0x3b18d1(0x34c)]());}[_0x29bde7(0x19e)](_0x6f973b){const _0x2dfc7b=_0x29bde7;this[_0x2dfc7b(0x2dc)][_0x2dfc7b(0xe4)]===0x0&&this[_0x2dfc7b(0x2f9)](),this[_0x2dfc7b(0x2dc)]['add'](_0x6f973b),this[_0x2dfc7b(0x362)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x6f973b],'isForwarded':!0x1});}[_0x29bde7(0x1ef)](_0x1a490e){const _0x29f810=_0x29bde7;this[_0x29f810(0x2dc)]['delete'](_0x1a490e),this['_selfUnitIDs'][_0x29f810(0xe4)]===0x0&&this[_0x29f810(0x26d)]&&window['clearInterval'](this[_0x29f810(0x26d)]);}[_0x29bde7(0x34b)](){const _0x34e0ec=_0x29bde7;this[_0x34e0ec(0x28e)](_0x3a09c4['toDisposable'](_0x41fba3['fromEvent'](window,_0x34e0ec(0x16c))[_0x34e0ec(0x359)](_0xe351ff=>{const _0x59214a=_0x34e0ec;if(_0xe351ff[_0x59214a(0x2b8)]!==_0x476747||!_0xe351ff['newValue'])return;const _0x51a041=JSON[_0x59214a(0x1de)](_0xe351ff[_0x59214a(0x232)]);this['_handleEvent'](_0x51a041);}))),window[_0x34e0ec(0x23e)]('unload',()=>this[_0x34e0ec(0x362)]({'type':0x1,'memberID':this[_0x34e0ec(0x11b)],'unitIDs':Array[_0x34e0ec(0xc9)](this[_0x34e0ec(0x2dc)])}));}[_0x29bde7(0x3a7)](_0x5763cc){const _0x32827b=_0x29bde7;switch(_0x5763cc[_0x32827b(0x1d7)]){case 0x0:this['_handleJoinEvent'](_0x5763cc);break;case 0x1:this[_0x32827b(0x1a6)](_0x5763cc);break;case 0x2:this[_0x32827b(0x2c5)](_0x5763cc);break;}}['_handleJoinEvent'](_0x1153e6){const _0x4ee3a5=_0x29bde7,{unitIDs:_0x1f5bbf,memberID:_0x200a64,isForwarded:_0x7e41bc}=_0x1153e6;_0x1f5bbf[_0x4ee3a5(0x27c)](_0x38f07d=>{const _0x2073b3=_0x4ee3a5;if(!_0x7e41bc&&this['_unitOnClients']['has'](_0x38f07d)&&this[_0x2073b3(0x322)](_0x38f07d)['next'](_0x5e7c26[_0x2073b3(0x30a)]['OTHER_CLIENTS_EDITING']),!this[_0x2073b3(0x367)][_0x2073b3(0x38d)](_0x38f07d)||!this['_unitOnClients'][_0x2073b3(0x31d)](_0x38f07d)['has'](_0x200a64)){const _0x4e72d6=this['_unitOnClients'][_0x2073b3(0x31d)](_0x38f07d)||new Set();_0x4e72d6[_0x2073b3(0x2b2)](_0x200a64),this[_0x2073b3(0x367)][_0x2073b3(0x2d5)](_0x38f07d,_0x4e72d6),this[_0x2073b3(0x20f)](_0x200a64);}}),_0x7e41bc||this['_send']({'type':0x0,'memberID':this[_0x4ee3a5(0x11b)],'unitIDs':[...this[_0x4ee3a5(0x2dc)]],'isForwarded':!0x0});}[_0x29bde7(0x20f)](_0x23646e){const _0x1c9721=_0x29bde7;this['_removeClearOtherTimer'](_0x23646e);const _0x1580a8=window[_0x1c9721(0x338)](()=>{const _0xa94e3c=_0x1c9721;this[_0xa94e3c(0x367)][_0xa94e3c(0x27c)](_0x58a876=>{const _0x54fea0=_0xa94e3c;_0x58a876[_0x54fea0(0x35e)](_0x23646e);});},_0x568b98*0x2);this[_0x1c9721(0x1b3)][_0x1c9721(0x2d5)](_0x23646e,_0x1580a8);}['_removeClearOtherTimer'](_0x29595){const _0x2f4fd1=_0x29bde7;if(this['_clearOtherTimers'][_0x2f4fd1(0x38d)](_0x29595)){const _0xfa1747=this[_0x2f4fd1(0x1b3)]['get'](_0x29595);_0xfa1747&&window[_0x2f4fd1(0x2fa)](_0xfa1747),this[_0x2f4fd1(0x1b3)][_0x2f4fd1(0x2d5)](_0x29595,null);}}[_0x29bde7(0x1a6)](_0x3ec245){const _0x634342=_0x29bde7,{memberID:_0x52529e,unitIDs:_0x5212aa}=_0x3ec245;_0x5212aa[_0x634342(0x27c)](_0x10ccbd=>{const _0x46faf0=_0x634342;var _0x49540a;const _0x83a62e=this[_0x46faf0(0x367)][_0x46faf0(0x31d)](_0x10ccbd);_0x83a62e&&(_0x83a62e[_0x46faf0(0x35e)](_0x52529e),(_0x49540a=this[_0x46faf0(0x322)](_0x10ccbd))==null||_0x49540a[_0x46faf0(0x1ea)](_0x83a62e[_0x46faf0(0xe4)]===0x0?_0x5e7c26[_0x46faf0(0x30a)][_0x46faf0(0x380)]:_0x5e7c26[_0x46faf0(0x30a)][_0x46faf0(0xcb)]));}),this[_0x634342(0x177)](_0x52529e);}[_0x29bde7(0x2c5)](_0xf91ef0){const _0x271436=_0x29bde7;this[_0x271436(0x20f)](_0xf91ef0[_0x271436(0x105)]);}['_send'](_0x577e97){localStorage['setItem'](_0x476747,JSON['stringify'](_0x577e97));}[_0x29bde7(0x2f9)](){const _0x3f8e08=_0x29bde7;this[_0x3f8e08(0x26d)]=window['setInterval'](()=>{const _0xdbfa94=_0x3f8e08;this['_send']({'type':0x2,'memberID':this[_0xdbfa94(0x11b)]});},_0x568b98);}[_0x29bde7(0x322)](_0x5aa104){const _0x4ea97c=_0x29bde7;return this[_0x4ea97c(0x31c)][_0x4ea97c(0x38d)](_0x5aa104)||this[_0x4ea97c(0x31c)][_0x4ea97c(0x2d5)](_0x5aa104,new _0x41fba3[(_0x4ea97c(0x31e))](_0x5e7c26['UnitStatus']['NO_OTHER_CLIENTS_EDITING'])),this[_0x4ea97c(0x31c)][_0x4ea97c(0x31d)](_0x5aa104);}}_0x1e8a5b[_0x29bde7(0x250)]=_0x5c7e96,_0x1e8a5b[_0x29bde7(0x1b6)]=_0x526d2d,_0x1e8a5b[_0x29bde7(0x10c)]=_0x5a1ef8,_0x1e8a5b[_0x29bde7(0x15e)]=_0x18c0ae,Object['defineProperty'](_0x1e8a5b,Symbol[_0x29bde7(0x3b1)],{'value':'Module'});}));