@univerjs-pro/collaboration-client 0.2.10 → 0.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/locale/en-US.json +5 -0
- package/lib/locale/ru-RU.json +5 -0
- package/lib/locale/vi-VN.json +5 -0
- package/lib/locale/zh-CN.json +11 -6
- package/lib/locale/zh-TW.json +5 -0
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +1 -1
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +1 -1
- package/lib/types/controllers/collab-status/collab-status.controller.d.ts +1 -1
- package/lib/types/controllers/collaboration/collaboration-entity.d.ts +87 -0
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +2 -1
- package/lib/types/controllers/collaboration/collaboration.controller.d.ts +4 -88
- package/lib/types/controllers/config.schema.d.ts +5 -0
- package/lib/types/controllers/telemetry.d.ts +11 -0
- package/lib/types/index.d.ts +4 -3
- package/lib/types/locale/zh-CN.d.ts +5 -0
- package/lib/types/plugin.d.ts +3 -2
- package/lib/types/services/collaboration-session/collaboration-session.d.ts +59 -0
- package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +14 -57
- package/lib/types/services/range-selection/sheet-transform-selections.service.d.ts +3 -2
- package/lib/umd/index.js +1 -1
- package/package.json +29 -27
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function _0x2871(){const _0x2ef8f4=['shareReplay','_updateCollabCursors','_handleEvent','addObject','_schedule','MoveRangeCommandId','DeleteRangeMoveUpCommandId','_toggleOffline','BuiltInUIPart','getUnitOnRev','_range','set','toRgbString','moveTo','HEARTBEAT_INTERVAL','getRoom','_saveCache','displayName','getResourcesRequest','COMPRESS_MUTATION_SEND','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getCollabCursors$','subunit','_members','_onRemoteChangeset','HttpExport','Disposable','arc','[DataLoaderController]','ITransformService','rev','_clearLocalCache','SEND_CHANGESET_TIMEOUT_KEY','subscribe','transformChangesets','UnitSnapshot','resolve','subscribeEvent','clearInterval','_getScale','useDependency','InsertColCommandId','confirm','_document','call','0\x200\x2017\x2016','CollaborationSessionService','unitId','defs','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_getAnchorBounding','icon','result','_undoRedoService','_removeClearOtherTimer','selections','_unitOnClients','_transformUndoredo','deserializeToCombResponse','SetSelectionsOperation','roomMembers$','_getSheetObject','_localCacheService','OnLineSingle','setActiveRange','_handleLeaveEvent','endRow','getCollabEntity$','HttpImport','AWAITING','_removeCollabCursors','width','onCommandExecuted','EffectRefRangId','enableSingleActiveInstanceLock','_disabled','APPLY_REJECT','_clearUndo','joinRsp','LICENSE_MAX_UNITS_EXCEEDED','LICENSE_DISTRO_REJECTED','onTransformRemoteChangesetByIMECache','round','pushState','_exhaustRemoteChangesetQueue','_userManagerService','forwardRef','_sendingTimer','ERROR_IMAGE_TYPE','COLORS','_incrementRevisionNumber','connection\x20error','JSONX','HTTPRequest','toString','triggerDblclick','enableAuthServer','Injector','dispose$','UNKNOWN_CMD','onPointerMove$','SUCCUSS','onMissingChangesets','save\x20fail\x20reason\x20is\x20','_state','_getUndoStack','UniverCore','_onConnectionOpen','getWorkbookSelections','_docStateChangeManagerService','{fileID}','UNIVER_SHEET','filter','setShapeProps','_updateLocalCache','transformSelections','ThresholdInterceptorFactory','sheetID','_onCombEvent','path','JOINING','_updateURLWithCurrentState','startsWith','localeService','_hover','RETRY_CONNECTING_INTERVAL','clsx','getCellPositionByOffset','complete','responseType','pipe','COLLAB_SUBMIT_CHANGESET_URL_KEY','422164HeHesN','_clearRedo','liveShareNewHost','_commentService','_labelPosition','skeleton','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','getActiveRange','_id','@univerjs/design','IDLE','CONFLICT','PENDING','resourceIDs','USERS_LEAVE','newValue','getOffsetConfig','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getParam','length','isActive','OTHER_CLIENTS_EDITING','backgroundColor','currentTheme$','save','_event$','_unitID','UUID','hasOwnProperty','infoRsp','_transformStack','YUUMI_SUBSCRIPTION_NOT_FOUND','univer-pro.collaboration-client-socket-service','SheetPermissionInitController','WorkbookEditablePermission','SheetsSelectionsService','div','[FetchMissState]','@univerjs/engine-formula','map','TextSelectionManagerService','unknown','conflict.title','on-line-single','transformMutation','createIdentifier','MSG_FOR_ERROR','rxjs','_undoStacks','sheetId','permissionRejEvent','Rectangle','CONNECTOR_DATA_TOO_LARGE','_drawRectRange','sequenceExecute','ICommandService','collab-text-anchor-','_lastPointer','blue400','CollaborationSocketService','commentUpdateEvent','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','registerBeforeClose','collabStatus.syncing','then','rgba(255,\x20255,\x20255,\x200.01)','SetDocZoomRatioOperation','createSocket','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_socketReady','BASE64','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','memberID','&assign=','jiqing500','currentSkeleton$','getFocusedUnit','_submitChangeset','collabStatus.notCollab','ICollaborationSocketService','parseChangesetToProtocol','XHRHTTPImplementation','_onConnectionFailed','none','xlink:href','liveShareOperation','urlChange$','@univerjs/rpc','onlineStatus','FAIL','_initCommandExecutedListener','Error','session.collaboration-timeout','replaceState','appendMutation','location','_onMessage','SNAPSHOT_INVALID_SNAPSHOT','activeSheet$','shouldCloseConn','fromEvent','APPLY_PERMISSION_DENIED','USERS_ENTER','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getInterceptPoints','mergeOverrideWithDependencies','ImageIoService','popstate','_retryConnectingTimer','_onConflict','setItem','handleInsertRangeMoveRight','HEARTBEAT_INTERVAL_KEY','Rect','endColumn','CollaborationSession','_registerDependencies','close','getMember','_roomMembers$','patch','color','_onUserJoin','_handleHeartbeatEvent','_redoStacks','_clearHeartbeatTimer','createInstance','_onUserLeave','image/png','_onRefRangeChange','LEAVE','_onCursorDelete','COLLAB_SUBMIT_CHANGESET_URL','m2Prime','_uiPartsService','_cursor','_status$','\x0aCurrent:\x20','OFFLINE','_snapshotServerService','revision','eventID','replace','status$','operators','COMMENT_UPDATE','collabStatus.synced','find','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','measureText','0\x200\x2016\x2016','_getSnapshotAPIPrefix','INVALID_ARGUMENT','collab-text-range-','MessageType','@univerjs/engine-render','parseProtocolChangeset','data','Starting','UniverCollaborationClientPlugin','INotificationService','_loadSheet','mapTo','rxjs/operators','pending','UNIVER_DOC','_sendHeartbeatTimer','reverse','/unit/','disableLocalCache','makeDirty','InsertSheetMutation','session','conflict.content','\x0aAfter:\x20','BehaviorSubject','DesktopCollaborationStatusDisplayController','src','synced','_render','getSheetBlock','@univerjs/docs','selection','LICENSE_EXPORT_SIZE_EXCEEDED','error','LIVESHARE_TERMINATE','HEARTBEAT_TIMEOUT_KEY','RemoveRowCommandId','serializeDocRange','2678032vFAhxs','_eventUnsubscribe','concatMap','isTransformChangesetsSuccess','some','_draw','isArray','clear','[CollaborationSessionService]:\x20socket\x20error','collaboration.closeRoom','_localeService','_drawAnchor','values','_HTTPService','readAsDataURL','_univerInstanceService','getUnhiddenWorksheets','transformIMECache','SessionStatus','CollaborationEvent','_getMergeRange','prototype','code','state','MUTATION','_docSkeletonManagerService','_cachedData','Optional','_cursorShapes','DisposableCollection','append','JOIN','csAckEvent','range','function','LIVESHARE_REQUEST_HOST','_getUploadFileURL','lineTo','status','_context','online','collaMsg','_commandService','_disableEditing','CollaborationController','setTimeout','isTransformMutationsWithChangesetFailure','all','2812684BBpoWl','/-/object/-/batch_allowed','awaitingChangeset','[PendingState]:\x20unhandled\x20univer\x20type:\x20','image/bmp','_singleActiveUnitService','_getCtorByUniverType','dispose','univer-online-status-icon','_urlService','next','session.will-retry','822645JciGii','getSheetId','removeMember','_getAPIPrefixPath','enableOfflineEditing','Inject','updateOfflineData','_revisionService','offline','_compressMutationService','Vector2','column','_saveTaskMap','_transformService','YUUMI_URL_COL_OUT_OF_RANGE','createCollaborator','refreshPermission','serializeCombRequest','attrs','removeParam','fromEventSubject','slice','Shape','[OfflineState]:\x20received\x20rejection.','_logService','getUnitStatus$','SNAPSHOT_SERVER_URL_KEY','message$','_clearCollaborationTimeoutTimer','take','runRefRangeMutations','_transformIMECache','onStarting','tag','APPLY_REVISION_CONFILICT','APPLY_NON_SEQUENTIAL_REVISION','top','COMPLETION_FINISHED','getOwnPropertySymbols','[ClientCollaborationController]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','updateCursorEvent','init','UniverEngineFormula','\x20to\x20','ILogService','[CollaborationSessionService]','registerRefRange','CompressMutationService','_roomMembers','fillStyle','INTERNAL_ERROR','_refRangeService','Tools','TOO_MANY_REQUESTS','ThemeService','_collaborationPaused','_docSyncEditingCollabCursorService','_initStatusListener','...','_scene','AWAITING_WITH_PENDING','getImageSourceCache','CommentService','117006GRcRdu','json','updateMember','DocSkeletonManagerService','cmd','SheetCollabCursorShape','_clearScheduledTask','loadOfflineData','event$','UniverEngineRender','clearTimeout','_socket','_isPermissionRej','encodeURIComponent','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','asObservable','handleInsertRow','_onRemoteACK','close$','isTransformMutationsWithChangesetSuccess','_getRedoStack','ranges','use','cursorInfo','onRemoteAck','storage','LocaleService','RegularPolygon','_onFetchMissResult','SheetSkeletonManagerService','fetching\x20missing\x20changesets\x20from\x20','collabStatus.fetchMiss','HTTPService','object','method','roles','getCurrentUnitForType','IPermissionService','_handler','evenodd','startRow','_sessionStatus$','workbook','_waitCount','UNIVER_PROJECT','COLLAB_WEB_SOCKET_URL','_heartbeatTimer','concat','LifecycleStages','onSendChangeset','RxDisposable','url(#off-line-single_clip0_910_343)','lodash/debounce','getDocRanges','textEncoder','searchParams','OnLifecycle','/object','subUnitId','_unlockTransition','SetTextSelectionsOperation','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','LOGIN_URL_KEY','CommandType','FileId','CHANGESET_REJ','_beforeCloseService','getCoordByCell','NEW_CHANGESETS','CollaborationStatus','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','UniverCollaboration','_permissionService','UniverCollaborationClient','delete','_scheduleHeartbeat','transformMutationsWithChangeset','@univerjs/sheets','_waitForHeartbeatResponse','red300','initWorkbookPermissionChange','_snapshotService','_colorIndex','stringify','toDisposable','list','max','split','getCurrentRevForDocument','_docTransformIMECacheService','cursorInfo$','_queuedRemoteChangesets','symbol','SNAPSHOT_HAS_BEEN_REMOVED','/new_changes','DeleteRangeMoveLeftCommandId','getCurrentSelections','parse','_transitionLocked','contains','COMPRESS_MUTATION_APPLY','_createInitialState','merge','catch','deleteCollaborator','IUndoRedoService','sheets','saveSnapshot','_loadDoc','WebSocketService','_textBubble','?url=','_transformUndoRedoStack','on-line-single_clip0_910_349','defineProperty','_collabSessionService','EmptyMutation','collabStatus.conflict','transform','getTime','row','NodePositionConvertToRectRange','executeCommand','univer-offline','currentColor','_injector','ImageUploadStatusType','_lockTransition','from','allowed','_setupBeforeClosingHandler','delay','override','SHOULD_CLOSE_CONN','RevisionService','put','_entityInit$','_hideTimer','getMemberID','toggleOnline','update','PERMISSION_REJ','SheetCollaborationEntity','_initUnitPermissionChange','univer-pro.collaboration-client.single-active-unit-service','collaborators','handleDeleteRangeMoveLeft','lodash','_startSheetCollabCursor','body','c2Prime','not_collab','auth.needGotoLoginAlert','/allowed','onTransformChange$','collaboratorID','UNIVER_SLIDE','onCommentUpdate','svg','_checkMissing','onlineStatusTitle','requireSession','ONLINE','onlyLocal','_cursorInfo$','_scheduleReconnection','_color','_entities','listRoles','getCurrentUser','permission.content','setWaitCount','COLLAB_WEB_SOCKET_URL_KEY','#FFF','editing\x20status\x20changed\x20to','onRemoteRej','members','UPDATE_CURSOR','_anchor','Module','_hovered','_initResize','POST','_scheduleSaving','_name','findNodePositionByCharIndex','@univerjs/drawing','1118968diRqlD','_ensureSubject','show','AUTHZ_URL_KEY','loadSheet','handleInsertRangeMoveDown','listCollaborators','_startCollaboration','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onTransformSelections','UniverNetwork','_executeRemoteChangeset','_replaceFileID','clipPath','LOCAL_CACHE_INTERVAL','beginPath','text','getImage','distinctUntilChanged','string','fetch_missing','isTransformMutationFailure','_socketMessageSubscription','url(#on-line-single_clip0_910_349)','requestParams','setCurrentUser','_shapes','NOT_FOUND','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','updateCollaborator','focused$','UniverInstanceType','textRanges','_createSocket','FETCH_MISSING','LocalCacheService','getOwnPropertyDescriptor','image/jpeg','addImageSourceCache','DEFAULT_FILE_NAME','ERROR_IMAGE','PSEUDO_FETCH_MISSING_RESULT','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_collaborationSessionService','_updateState','unshift','UniverCollaborationPlugin','_joinRoom','setInterval','_online','getTypeOfUnitAdded$','_configService','RichTextEditingMutation','_renderManagerService','url','onPointerLeave$','pauseCollaboration','off-line-single','IBeforeCloseService','_collabCursorState$','Plugin','sessionStatus$','Unknown\x20user','target','RemoveColCommandId','newCsEvent','_httpService','_scheduleClearOtherTimer','onlineStatusIcon','_initCloseConn','add','/universer-api/snapshot','userID','entries','push','onload','[SyncedState]:\x20received\x20acknowledgement.','b64DecodeUnicode','getTypeOfUnitDisposed$','getUnitType','registerHTTPInterceptor','_substituteUndoStack','_decreaseWaiting','labelPosition','IMEInputManagerService','InsertRangeMoveDownCommandId','CHANGESET_ACK','setUndoRedoMutationParamsCache','FromArray','PERMISSION_DENIED','black','/universer-api/comb','ws://127.0.0.1:8000/universer-api/comb/connect','createElement','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_createHandler','ISnapshotServerService','Subject','[CollaborationEntity]','Error\x20on\x20receiving\x20event','_pendingMutations','encode','_getSendChangesetTimeout','TEXT_RANGE_LAYER_INDEX','reject','_initModules','_getSaveTimeout','href','_session','_cursors','_registerRenderDependencies','_drawTextRange','CHANGESET_REVISION_CONFILICT','_themeService','_remoteChangesetQueue','@univerjs/network','registerOnClose','restore','_scheduleTimestamp','routeKey','_config','roomInfos','_getAPIPrefix','name','setAlpha','#fff','send','awaiting_with_pending','onPointerEnter$','_backgroundColor','min','syncEditingCollabCursor','YUUMI_RATE_OVER_LIMIT','_setupSubUnitSync','transformStack\x20failed!','get','_clearTimeoutTimer','fetchMissingChangesets','unitID','YUUMI_UNABLE_LOAD_URL','_updateLocalCursor','_awaitingChangeset','UserManagerService','getSheetBySheetId','exhaustSavingTask','assignAColorForMemberID','NO_OTHER_CLIENTS_EDITING','fetchThroughInterceptors','change$','_tryEnsureSocket','_assignedColors','Ready','_onLocalMutation','UNIVER_UNKNOWN','isPermissionRej','saveChangeset','_messageService','/collaborator','_retryCount','_scheduleCollaborationTimeoutTimer','_collabCursorController','_socket$','UNKNOWN_CODE','roomMembers','gold400','snapshot','RETRY_CONNECTING_MAX_COUNT','permission.title','hide','substring','error$','NodePositionConvertToCursor','mutations','addEventListener','UNRECOGNIZED','history','socketService','transformUndoRedo','/role','_toggleOnline','ImageSourceType','getCurrent','LIVESHARE_NEW_HOST','_memberService','\x20in\x20_schedule.','getUndoRedoMutationParamsCache','[UniverCollaborationClientPlugin]','LocalUndoRedoService','editingUnit','includes','Undefined','bottom','getConfig','DataLoaderController','closeSession','random','onMissedChangesetFetched','_updateSubUnitFromURLParams','colorChannel1','/universer-api/oidc/authpage','_onCursorUpdate','leaveEvent','NOT_COLLAB','getValue','getColor','uni.network.url-service','_substituteRedoStack','_replayCachedMutations','[PendingState]:\x20received\x20rejection.','React','image/jpg','_sendHeartbeat','Steady','_sheetSkeletonManagerService','fillRule','[CollaborationUndoRedoService]','unsubscribe','_type','M0\x200H16V16H0z','post','changesets','assign','objectType','LICENSE_IMPORT_SIZE_EXCEEDED','IUniverInstanceService','deepClone','ACTIVE_UNIT_EVENT_CHANNEL','_syncEditingCollabCursorService','session.room-full','_socketService','transformRemoteChangeset','getUniverSheetInstance','saveSheetBlock','UniverDocs','_notificationService','unitId\x20is\x20not\x20found','onTransformIME','has','_colorAssignService','disposeWithMe','combineLatest','originalMeta','_init','forEach','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','submit\x20changeset\x20error!','ALREADY_EXISTS','UniverDesign','debounceTime','_onJoinRoomEvent','_collaborationTimeoutTimer','getUnitId','HELLO','_fetchMissChangesets','HEADER_MENU','serializeRangeWithSheet','drawWith','children','updatePermissionPoint','_docTransformSelectionsService','addObjects','type','file','/universer-api/stream/file/upload','baseRev','_startDocCollabCursor','@univerjs-pro/collaboration','/fetchmissing?from=','handleDeleteRangeMoveUp','registerRenderModule','IHTTPImplementation','IMessageService','RefRangeService','HEARTBEAT','compose','switchMap','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','resize','debug','collaboration-client.offline-data-not-saved','startColumn','Workbook','UNDEFINED','_acknowledgedAwaitingChangeset','@univerjs/core','SnapshotServerOverHTTPService','resend','socket\x20open.','UnitEmbedded','AuthzIoHttpService','/object/','Warning','generateRandomId','objectActions','univerjs-icon\x20univerjs-icon-','takeUntil','SNAPSHOT_URL_KEY','c1Prime','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','UniverRpc','handleMoveRange','IConfigService','_initStatusComponent','collabCursorState$','awaiting','size','fillText','[OfflineState]:\x20received\x20changeset.','getSkeleton','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','defIds','_unitStatus','UniverSheetsUi','_createInitialStateImpl','UNAUTHENTICATED','sessionStatus','_handleJoinEvent','/resources','toStringTag','_ws','_http','_initMergeInterceptor','_change$','_handleHover','onStateChange','SUBMIT_CHANGESET','/universer-api/snapshot/','deserializeRangeWithSheet','1em','_onRemoteRejected','LIVESHARE_FETCH_OPERATIONS','RECV','indexOf','getRangePointData','SetWorksheetActivateCommand','onSyncEditingCollabCursor','_state$','UniverIcon','reduce','m1Prime','registerComponent','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','/rev/','fill','univer-online','state$','CollaborationStatusDisplay','open$','_refreshCollabCursors','_timeoutTimer','doc.mutation.rich-text-editing','INGEST','_rescheduleHeartbeatEvent','actions','exports','_onRecvEvent','univer-online-status','apply','session.connection-failed','debounce','_sessions','react','onRemoteChangeset','_getSignURL','_send','commentUpdate$','_anchorDot','/universer-api/authz','_clearOtherTimers','objectID','_applyRemoteChangeset','univer-online-status-title','LIVESHARE_OPERATION','UPDATE_PERMISSION_OBJ','extend','?size=','_getCurrentRevision','params','_selfUnitIDs','UNIVER_COLLABORATION_CLIENT_PLUGIN','_commentUpdate$','toggleOffline','SEND_CHANGESET_TIMEOUT','_localStorageService','isInternalEditorID','setParam','_removeRoom','_imageSourceCache','FETCH_MISS','off-line-single_clip0_910_343','_updateStatus','unit','SYNCED','getAncestorScale','interceptor','433660BMuyPh'];_0x2871=function(){return _0x2ef8f4;};return _0x2871();}function _0x50c2(_0x542d3b,_0x28863d){const _0x28713d=_0x2871();return _0x50c2=function(_0x50c251,_0x17cddf){_0x50c251=_0x50c251-0x1c2;let _0x49c5af=_0x28713d[_0x50c251];return _0x49c5af;},_0x50c2(_0x542d3b,_0x28863d);}(function(_0x2cee0c,_0x415f77){const _0xe0e386=_0x50c2,_0x5ed5fe=_0x2cee0c();while(!![]){try{const _0x464132=parseInt(_0xe0e386(0x480))/0x1+parseInt(_0xe0e386(0x270))/0x2+-parseInt(_0xe0e386(0x579))/0x3+-parseInt(_0xe0e386(0x56d))/0x4+parseInt(_0xe0e386(0x3fb))/0x5+-parseInt(_0xe0e386(0x5b8))/0x6+parseInt(_0xe0e386(0x53d))/0x7;if(_0x464132===_0x415f77)break;else _0x5ed5fe['push'](_0x5ed5fe['shift']());}catch(_0x4ea594){_0x5ed5fe['push'](_0x5ed5fe['shift']());}}}(_0x2871,0x6edb5),function(_0x96c521,_0xb68497){const _0x3bcc7a=_0x50c2;typeof exports==_0x3bcc7a(0x1d6)&&typeof module<'u'?_0xb68497(exports,require(_0x3bcc7a(0x38c)),require(_0x3bcc7a(0x202)),require(_0x3bcc7a(0x489)),require('@univerjs/ui'),require(_0x3bcc7a(0x37a)),require(_0x3bcc7a(0x4af)),require(_0x3bcc7a(0x523)),require(_0x3bcc7a(0x535)),require(_0x3bcc7a(0x2e3)),require(_0x3bcc7a(0x26f)),require('@univerjs/engine-render'),require(_0x3bcc7a(0x4a6)),require(_0x3bcc7a(0x1e9)),require('@univerjs/sheets-ui'),require(_0x3bcc7a(0x3d9)),require(_0x3bcc7a(0x47a)),require(_0x3bcc7a(0x4d7))):typeof define==_0x3bcc7a(0x55f)&&define['amd']?define([_0x3bcc7a(0x3d2),_0x3bcc7a(0x38c),_0x3bcc7a(0x202),_0x3bcc7a(0x489),'@univerjs/ui',_0x3bcc7a(0x37a),_0x3bcc7a(0x4af),_0x3bcc7a(0x523),'@univerjs/docs',_0x3bcc7a(0x2e3),_0x3bcc7a(0x26f),_0x3bcc7a(0x51b),'@univerjs/engine-formula','lodash/debounce','@univerjs/sheets-ui','react','clsx',_0x3bcc7a(0x4d7)],_0xb68497):(_0x96c521=typeof globalThis<'u'?globalThis:_0x96c521||self,_0xb68497(_0x96c521[_0x3bcc7a(0x1fe)]={},_0x96c521[_0x3bcc7a(0x466)],_0x96c521['UniverSheets'],_0x96c521[_0x3bcc7a(0x367)],_0x96c521['UniverUi'],_0x96c521[_0x3bcc7a(0x1fc)],_0x96c521['rxjs'],_0x96c521[_0x3bcc7a(0x4af)][_0x3bcc7a(0x510)],_0x96c521[_0x3bcc7a(0x359)],_0x96c521[_0x3bcc7a(0x27a)],_0x96c521['UniverDrawing'],_0x96c521[_0x3bcc7a(0x5c1)],_0x96c521[_0x3bcc7a(0x5a3)],_0x96c521[_0x3bcc7a(0x248)][_0x3bcc7a(0x3d7)],_0x96c521[_0x3bcc7a(0x3a8)],_0x96c521[_0x3bcc7a(0x341)],_0x96c521['clsx'],_0x96c521[_0x3bcc7a(0x39b)]));}(this,function(_0x21561b,_0x59f65f,_0x5dba16,_0x936b9e,_0x40690c,_0x4c33ab,_0x6d0798,_0x4e8b21,_0x28f26c,_0x33d91c,_0x4ba2c1,_0x59fc99,_0x4bb840,_0x1a577b,_0x15ca36,_0xaabc7e,_0x18d70e,_0x13ce83){'use strict';const _0x2c702b=_0x50c2;var _0x4842b6=Object[_0x2c702b(0x227)],_0x20d93d=(_0x2ab225,_0x470030,_0x22705d)=>_0x470030 in _0x2ab225?_0x4842b6(_0x2ab225,_0x470030,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22705d}):_0x2ab225[_0x470030]=_0x22705d,_0x191e33=(_0x129358,_0xdcb8ab,_0x1607ed)=>_0x20d93d(_0x129358,typeof _0xdcb8ab!=_0x2c702b(0x211)?_0xdcb8ab+'':_0xdcb8ab,_0x1607ed);const _0x27f2b1=_0x2c702b(0x593),_0x4a6e51=_0x2c702b(0x2b7),_0x47cbd6=_0x2c702b(0x398),_0x577ef8=_0x2c702b(0x3ee),_0x5d608a=_0x2c702b(0x1e2),_0x27752e=_0x2c702b(0x2cc),_0x2c93f2=_0x2c702b(0x40a),_0x941b18='HEARTBEAT_TIMEOUT',_0x52518b=_0x2c702b(0x479),_0x4045c8=_0x2c702b(0x316),_0x219665=_0x2c702b(0x27e),_0x124ad0=_0x2c702b(0x504),_0x11ec87=_0x2c702b(0x2cb),_0x5565db=_0x2c702b(0x1f3),_0x3ec828=_0x2c702b(0x337);var _0x18c1e7=(_0x258623=>(_0x258623[_0x258623[_0x2c702b(0x38a)]=0x0]=_0x2c702b(0x38a),_0x258623[_0x258623['OK']=0x1]='OK',_0x258623[_0x258623[_0x2c702b(0x5ab)]=0x2]=_0x2c702b(0x5ab),_0x258623[_0x258623[_0x2c702b(0x2c9)]=0x3]=_0x2c702b(0x2c9),_0x258623[_0x258623['NOT_FOUND']=0x4]=_0x2c702b(0x28b),_0x258623[_0x258623['UNAUTHENTICATED']=0x5]=_0x2c702b(0x3aa),_0x258623[_0x258623[_0x2c702b(0x366)]=0x6]=_0x2c702b(0x366),_0x258623[_0x258623[_0x2c702b(0x518)]=0x7]=_0x2c702b(0x518),_0x258623[_0x258623[_0x2c702b(0x5ae)]=0x8]=_0x2c702b(0x5ae),_0x258623[_0x258623[_0x2c702b(0x59e)]=0x9]=_0x2c702b(0x59e),_0x258623[_0x258623[_0x2c702b(0x2e0)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x258623[_0x258623[_0x2c702b(0x4e1)]=0x1771]=_0x2c702b(0x4e1),_0x258623[_0x258623[_0x2c702b(0x212)]=0x1772]=_0x2c702b(0x212),_0x258623[_0x258623[_0x2c702b(0x448)]=0x1b59]='APPLY_REJECT',_0x258623[_0x258623[_0x2c702b(0x59c)]=0x1b5a]=_0x2c702b(0x59c),_0x258623[_0x258623['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x2c702b(0x59b),_0x258623[_0x258623['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2c702b(0x4e5),_0x258623[_0x258623[_0x2c702b(0x4b4)]=0x1f41]=_0x2c702b(0x4b4),_0x258623[_0x258623[_0x2c702b(0x44b)]=0x2329]=_0x2c702b(0x44b),_0x258623[_0x258623[_0x2c702b(0x278)]=0x232a]=_0x2c702b(0x278),_0x258623[_0x258623[_0x2c702b(0x34f)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x258623[_0x258623[_0x2c702b(0x537)]=0x232c]=_0x2c702b(0x537),_0x258623[_0x258623['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2c702b(0x44c),_0x258623[_0x258623['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x2c702b(0x2fb),_0x258623[_0x258623[_0x2c702b(0x587)]=0x2712]=_0x2c702b(0x587),_0x258623[_0x258623[_0x2c702b(0x2f4)]=0x2713]=_0x2c702b(0x2f4),_0x258623[_0x258623[_0x2c702b(0x49f)]=0x2714]=_0x2c702b(0x49f),_0x258623[_0x258623['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x258623))(_0x18c1e7||{}),_0x2e0d9e=(_0x240dae=>(_0x240dae[_0x240dae[_0x2c702b(0x309)]=0x0]=_0x2c702b(0x309),_0x240dae[_0x240dae[_0x2c702b(0x525)]=0x1]=_0x2c702b(0x525),_0x240dae[_0x240dae[_0x2c702b(0x46b)]=0x2]='UNIVER_SHEET',_0x240dae[_0x240dae[_0x2c702b(0x251)]=0x3]=_0x2c702b(0x251),_0x240dae[_0x240dae[_0x2c702b(0x1e1)]=0x4]=_0x2c702b(0x1e1),_0x240dae[_0x240dae[_0x2c702b(0x31e)]=-0x1]=_0x2c702b(0x31e),_0x240dae))(_0x2e0d9e||{}),_0x36744e=(_0x34362b=>(_0x34362b[_0x34362b[_0x2c702b(0x45f)]=0x0]=_0x2c702b(0x45f),_0x34362b[_0x34362b[_0x2c702b(0x36c)]=0x1]=_0x2c702b(0x36c),_0x34362b[_0x34362b['JOIN']=0x2]='JOIN',_0x34362b[_0x34362b[_0x2c702b(0x502)]=0x3]=_0x2c702b(0x502),_0x34362b[_0x34362b[_0x2c702b(0x3cf)]=0x4]=_0x2c702b(0x3cf),_0x34362b[_0x34362b['HEARTBEAT']=0x5]=_0x2c702b(0x381),_0x34362b[_0x34362b[_0x2c702b(0x3bb)]=0x6]=_0x2c702b(0x3bb),_0x34362b[_0x34362b[_0x2c702b(0x31e)]=-0x1]=_0x2c702b(0x31e),_0x34362b))(_0x36744e||{}),_0x2e0dfc=(_0x3cb208=>(_0x3cb208[_0x3cb208[_0x2c702b(0x312)]=0x0]=_0x2c702b(0x312),_0x3cb208[_0x3cb208['OK']=0x1]='OK',_0x3cb208[_0x3cb208[_0x2c702b(0x4d9)]=0x2]=_0x2c702b(0x4d9),_0x3cb208[_0x3cb208[_0x2c702b(0x31e)]=-0x1]=_0x2c702b(0x31e),_0x3cb208))(_0x2e0dfc||{}),_0x5171b7=(_0x2c8087=>(_0x2c8087[_0x2c8087[_0x2c702b(0x32e)]=0x0]=_0x2c702b(0x32e),_0x2c8087[_0x2c8087['HttpImport']=0x1]=_0x2c702b(0x440),_0x2c8087[_0x2c8087[_0x2c702b(0x415)]=0x2]='HttpExport',_0x2c8087[_0x2c8087[_0x2c702b(0x390)]=0x3]=_0x2c702b(0x390),_0x2c8087[_0x2c8087['UnitSnapshot']=0x4]=_0x2c702b(0x41f),_0x2c8087[_0x2c8087[_0x2c702b(0x31e)]=-0x1]=_0x2c702b(0x31e),_0x2c8087))(_0x5171b7||{}),_0x3cb9ed=Object[_0x2c702b(0x227)],_0x38b943=Object[_0x2c702b(0x294)],_0x2b90b4=(_0x2d2146,_0xf03acd,_0xb2146c,_0x10dc2f)=>{for(var _0x92d331=_0x10dc2f>0x1?void 0x0:_0x10dc2f?_0x38b943(_0xf03acd,_0xb2146c):_0xf03acd,_0x57e300=_0x2d2146['length']-0x1,_0x80bf47;_0x57e300>=0x0;_0x57e300--)(_0x80bf47=_0x2d2146[_0x57e300])&&(_0x92d331=(_0x10dc2f?_0x80bf47(_0xf03acd,_0xb2146c,_0x92d331):_0x80bf47(_0x92d331))||_0x92d331);return _0x10dc2f&&_0x92d331&&_0x3cb9ed(_0xf03acd,_0xb2146c,_0x92d331),_0x92d331;},_0x1c449f=(_0x2f0e26,_0x23995c)=>(_0x171173,_0xfcfd35)=>_0x23995c(_0x171173,_0xfcfd35,_0x2f0e26);let _0x1137aa=class extends _0x59f65f[_0x2c702b(0x416)]{constructor(_0x52df71,_0x785ef1){const _0x2da47e=_0x2c702b;super(),_0x191e33(this,_0x2da47e(0x5a9),new Map()),(this[_0x2da47e(0x54c)]=_0x52df71,this['_userManagerService']=_0x785ef1,this[_0x2da47e(0x35f)](_0x59f65f[_0x2da47e(0x209)](_0x6d0798['merge'](this[_0x2da47e(0x54c)][_0x2da47e(0x2be)](_0x59f65f[_0x2da47e(0x28f)][_0x2da47e(0x46b)])[_0x2da47e(0x47e)](_0x4e8b21['map'](_0x221c9c=>_0x221c9c['getUnitId']())),this[_0x2da47e(0x54c)][_0x2da47e(0x2be)](_0x59f65f[_0x2da47e(0x28f)][_0x2da47e(0x525)])[_0x2da47e(0x47e)](_0x4e8b21[_0x2da47e(0x4a7)](_0x405bbd=>_0x405bbd[_0x2da47e(0x36b)]())),this['_univerInstanceService'][_0x2da47e(0x2be)](_0x59f65f[_0x2da47e(0x28f)][_0x2da47e(0x251)])[_0x2da47e(0x47e)](_0x4e8b21[_0x2da47e(0x4a7)](_0x2aabd6=>_0x2aabd6['getUnitId']())))[_0x2da47e(0x41d)](_0x13f659=>this[_0x2da47e(0x3f2)](_0x13f659)))));}[_0x2c702b(0x289)](_0x3a3901){const _0x5c09da=_0x2c702b;this[_0x5c09da(0x451)]['setCurrentUser'](_0x3a3901);}[_0x2c702b(0x25e)](){const _0x59ee0d=_0x2c702b;return this[_0x59ee0d(0x451)][_0x59ee0d(0x25e)]();}[_0x2c702b(0x5ba)](_0x42949d,_0x560e4d){const _0x5cc07c=_0x2c702b;let _0x5b35e5=this[_0x5cc07c(0x5a9)][_0x5cc07c(0x2f7)](_0x42949d);_0x5b35e5||(_0x5b35e5=new _0x4e1f4e(),this[_0x5cc07c(0x5a9)][_0x5cc07c(0x407)](_0x42949d,_0x5b35e5)),_0x5b35e5[_0x5cc07c(0x5ba)](_0x560e4d);}[_0x2c702b(0x57b)](_0x342ff0,_0x12013d){const _0x191fdd=_0x2c702b,_0x558afd=this['_roomMembers'][_0x191fdd(0x2f7)](_0x342ff0);_0x558afd&&_0x558afd[_0x191fdd(0x57b)](_0x12013d);}[_0x2c702b(0x40b)](_0x25e7eb){const _0x55c1b1=_0x2c702b;return this[_0x55c1b1(0x5a9)][_0x55c1b1(0x2f7)](_0x25e7eb);}['getMember'](_0x2c5a7a,_0x566ffd){const _0x35f0da=_0x2c702b,_0x25ee00=this[_0x35f0da(0x5a9)][_0x35f0da(0x2f7)](_0x2c5a7a);if(_0x25ee00)return _0x25ee00[_0x35f0da(0x4f6)](_0x566ffd);}[_0x2c702b(0x3f2)](_0x1d2845){const _0x50260e=_0x2c702b,_0x242e12=this[_0x50260e(0x5a9)][_0x50260e(0x2f7)](_0x1d2845);_0x242e12&&(_0x242e12[_0x50260e(0x574)](),this['_roomMembers']['delete'](_0x1d2845));}[_0x2c702b(0x574)](){const _0x532972=_0x2c702b;this[_0x532972(0x5a9)][_0x532972(0x363)](_0x2209a3=>_0x2209a3[_0x532972(0x574)]()),this[_0x532972(0x5a9)][_0x532972(0x544)]();}};_0x1137aa=_0x2b90b4([_0x1c449f(0x0,_0x59f65f[_0x2c702b(0x350)]),_0x1c449f(0x1,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x2fe)]))],_0x1137aa);class _0x4e1f4e extends _0x59f65f[_0x2c702b(0x416)]{constructor(){const _0x3f42a0=_0x2c702b;super(...arguments),_0x191e33(this,_0x3f42a0(0x413),new Map());}[_0x2c702b(0x574)](){const _0x3b4eb4=_0x2c702b;this[_0x3b4eb4(0x413)][_0x3b4eb4(0x544)]();}[_0x2c702b(0x5ba)](_0x295e71){const _0x2e0d03=_0x2c702b;this[_0x2e0d03(0x413)][_0x2e0d03(0x407)](_0x295e71[_0x2e0d03(0x4c8)],_0x295e71);}[_0x2c702b(0x57b)](_0xcd1754){const _0x3e9290=_0x2c702b;this[_0x3e9290(0x413)][_0x3e9290(0x1ff)](_0xcd1754);}['getMember'](_0x22f45d){const _0x5aef40=_0x2c702b;return this['_members'][_0x5aef40(0x2f7)](_0x22f45d);}}function _0x4e430e(_0x15e7ad){const _0x300c0b=_0x2c702b;var _0x190060,_0x13224e,_0x2001eb,_0x477e8f;const _0x597067=_0x15e7ad[_0x300c0b(0x51d)],_0x15c00d=JSON[_0x300c0b(0x216)](_0x597067);switch(_0x15c00d[_0x300c0b(0x5bc)]){case _0x36744e[_0x300c0b(0x381)]:case _0x36744e['HELLO']:{const _0x1b355c=_0x15c00d[_0x300c0b(0x49d)];return{..._0x15c00d,'data':_0x1b355c,'cmd':_0x15c00d[_0x300c0b(0x5bc)]};}case _0x36744e[_0x300c0b(0x55c)]:{const _0x36a6ab=_0x15c00d[_0x300c0b(0x44a)];return{..._0x15c00d,'data':_0x36a6ab,'cmd':_0x15c00d['cmd']};}case _0x36744e[_0x300c0b(0x3bb)]:{const _0x1ccdd1=_0x15c00d[_0x300c0b(0x566)];switch(_0x1ccdd1['eventID']){case _0x4c33ab['CollaborationEvent'][_0x300c0b(0x242)]:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':(_0x190060=_0x1ccdd1[_0x300c0b(0x4b2)])==null?void 0x0:_0x190060['cs']},'cmd':_0x15c00d[_0x300c0b(0x5bc)]};case _0x4c33ab[_0x300c0b(0x550)][_0x300c0b(0x2c6)]:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':(_0x13224e=_0x1ccdd1[_0x300c0b(0x55d)])==null?void 0x0:_0x13224e['cs']},'cmd':_0x15c00d[_0x300c0b(0x5bc)]};case _0x4c33ab[_0x300c0b(0x550)][_0x300c0b(0x1f9)]:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':(_0x2001eb=_0x1ccdd1[_0x300c0b(0x2b1)])==null?void 0x0:_0x2001eb['cs']},'cmd':_0x15c00d[_0x300c0b(0x5bc)]};case _0x4c33ab[_0x300c0b(0x550)][_0x300c0b(0x1f6)]:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':(_0x477e8f=_0x1ccdd1['csRejEvent'])==null?void 0x0:_0x477e8f['cs']},'cmd':_0x15c00d[_0x300c0b(0x5bc)]};case _0x4c33ab[_0x300c0b(0x550)][_0x300c0b(0x266)]:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':_0x1ccdd1[_0x300c0b(0x5a1)]},'cmd':_0x15c00d[_0x300c0b(0x5bc)]};case _0x4c33ab[_0x300c0b(0x550)][_0x300c0b(0x4e6)]:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':_0x1ccdd1['joinEvent']},'cmd':_0x15c00d[_0x300c0b(0x5bc)]};case _0x4c33ab[_0x300c0b(0x550)]['USERS_LEAVE']:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':_0x1ccdd1[_0x300c0b(0x339)]},'cmd':_0x15c00d['cmd']};case _0x4c33ab['CollaborationEvent'][_0x300c0b(0x326)]:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':_0x1ccdd1[_0x300c0b(0x482)]},'cmd':_0x15c00d['cmd']};case _0x4c33ab[_0x300c0b(0x550)]['LIVESHARE_FETCH_OPERATIONS']:case _0x4c33ab[_0x300c0b(0x550)][_0x300c0b(0x3e4)]:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':_0x1ccdd1[_0x300c0b(0x4d5)]},'cmd':_0x15c00d[_0x300c0b(0x5bc)]};case _0x4c33ab['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':_0x1ccdd1[_0x300c0b(0x482)]},'cmd':_0x15c00d[_0x300c0b(0x5bc)]};case _0x4c33ab[_0x300c0b(0x550)][_0x300c0b(0x4ae)]:return{..._0x15c00d,'data':_0x1ccdd1,'cmd':_0x15c00d[_0x300c0b(0x5bc)]};case _0x4c33ab[_0x300c0b(0x550)][_0x300c0b(0x511)]:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':_0x1ccdd1[_0x300c0b(0x4bc)]},'cmd':_0x15c00d[_0x300c0b(0x5bc)]};case _0x4c33ab[_0x300c0b(0x550)][_0x300c0b(0x3e5)]:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':_0x1ccdd1['updatePermissionObjEvent']},'cmd':_0x15c00d['cmd']};case _0x4c33ab[_0x300c0b(0x550)][_0x300c0b(0x23a)]:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':_0x1ccdd1[_0x300c0b(0x4e3)]},'cmd':_0x15c00d['cmd']};default:return _0x15c00d;}}default:return _0x15c00d;}}function _0x4ae816(_0x661280){const _0x53939b=_0x2c702b;switch(_0x661280['cmd']){case _0x36744e[_0x53939b(0x381)]:case _0x36744e[_0x53939b(0x36c)]:return JSON[_0x53939b(0x208)]({'cmd':_0x661280['cmd'],'routeKey':_0x661280[_0x53939b(0x2e7)]});case _0x36744e[_0x53939b(0x3cf)]:{let _0x4045fc;switch(_0x661280['data'][_0x53939b(0x50d)]){case _0x4c33ab['CollaborationEvent'][_0x53939b(0x266)]:{_0x4045fc={'eventID':_0x4c33ab['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x661280['data'][_0x53939b(0x51d)]};break;}case _0x4c33ab[_0x53939b(0x550)][_0x53939b(0x48e)]:{_0x4045fc={'eventID':_0x4c33ab[_0x53939b(0x550)][_0x53939b(0x48e)],'leaveEvent':_0x661280[_0x53939b(0x51d)][_0x53939b(0x51d)]};break;}case _0x4c33ab[_0x53939b(0x550)][_0x53939b(0x4e6)]:{_0x4045fc={'eventID':_0x4c33ab['CollaborationEvent'][_0x53939b(0x4e6)],'joinEvent':_0x661280['data'][_0x53939b(0x51d)]};break;}case _0x4c33ab[_0x53939b(0x550)][_0x53939b(0x326)]:{_0x4045fc={'eventID':_0x4c33ab[_0x53939b(0x550)][_0x53939b(0x326)],'liveShareNewHost':_0x661280[_0x53939b(0x51d)][_0x53939b(0x51d)]};break;}case _0x4c33ab[_0x53939b(0x550)][_0x53939b(0x3e4)]:{_0x4045fc={'eventID':_0x4c33ab[_0x53939b(0x550)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x661280[_0x53939b(0x51d)][_0x53939b(0x51d)]};break;}case _0x4c33ab[_0x53939b(0x550)][_0x53939b(0x539)]:{_0x4045fc={'eventID':_0x4c33ab[_0x53939b(0x550)][_0x53939b(0x539)],'liveShareTerminate':_0x661280[_0x53939b(0x51d)][_0x53939b(0x51d)]};break;}case _0x4c33ab[_0x53939b(0x550)][_0x53939b(0x560)]:{_0x4045fc={'eventID':_0x4c33ab[_0x53939b(0x550)][_0x53939b(0x560)],'liveShareRequestHost':_0x661280[_0x53939b(0x51d)][_0x53939b(0x51d)]};break;}case _0x4c33ab[_0x53939b(0x550)]['LIVESHARE_FETCH_OPERATIONS']:{_0x4045fc={'eventID':_0x4c33ab[_0x53939b(0x550)][_0x53939b(0x3ba)]};break;}default:_0x4045fc={'eventID':_0x661280[_0x53939b(0x51d)][_0x53939b(0x50d)]};}return JSON[_0x53939b(0x208)]({'cmd':_0x661280[_0x53939b(0x5bc)],'routeKey':_0x661280['routeKey'],'collaMsg':_0x4045fc});}case _0x36744e[_0x53939b(0x55c)]:return JSON[_0x53939b(0x208)]({'cmd':_0x661280[_0x53939b(0x5bc)],'routeKey':_0x661280[_0x53939b(0x2e7)],'joinReq':_0x661280['data']});case _0x36744e[_0x53939b(0x502)]:return JSON['stringify']({'cmd':_0x661280['cmd'],'routeKey':_0x661280[_0x53939b(0x2e7)],'leaveReq':_0x661280[_0x53939b(0x51d)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x12d09e=Object['defineProperty'],_0x5801a0=Object[_0x2c702b(0x294)],_0x34404f=(_0x146573,_0x1879cb,_0x3cedd5,_0x550d59)=>{const _0x128d46=_0x2c702b;for(var _0x4da6db=_0x550d59>0x1?void 0x0:_0x550d59?_0x5801a0(_0x1879cb,_0x3cedd5):_0x1879cb,_0x3ec5de=_0x146573[_0x128d46(0x493)]-0x1,_0x1c087a;_0x3ec5de>=0x0;_0x3ec5de--)(_0x1c087a=_0x146573[_0x3ec5de])&&(_0x4da6db=(_0x550d59?_0x1c087a(_0x1879cb,_0x3cedd5,_0x4da6db):_0x1c087a(_0x4da6db))||_0x4da6db);return _0x550d59&&_0x4da6db&&_0x12d09e(_0x1879cb,_0x3cedd5,_0x4da6db),_0x4da6db;},_0x59ae19=(_0x219985,_0x2b8473)=>(_0x31607a,_0x31ed0e)=>_0x2b8473(_0x31607a,_0x31ed0e,_0x219985);const _0x285153=_0x59f65f[_0x2c702b(0x4ad)](_0x2c702b(0x4a0));function _0x5bcb6d(_0x36da2b,_0x1641fa,_0x19f8f3){const _0x2b3aec=_0x2c702b;return _0x36da2b+'/'+_0x1641fa+_0x2b3aec(0x528)+_0x19f8f3+_0x2b3aec(0x213);}_0x21561b[_0x2c702b(0x4bb)]=class{constructor(_0x45aae7,_0x299532,_0x102bf5,_0x4323ef,_0x7c50c3){const _0x40311c=_0x2c702b;this[_0x40311c(0x3b0)]=_0x45aae7,this[_0x40311c(0x3af)]=_0x299532,this[_0x40311c(0x2a3)]=_0x102bf5,this[_0x40311c(0x591)]=_0x4323ef,this[_0x40311c(0x50b)]=_0x7c50c3;}[_0x2c702b(0x4c3)](_0x186839){const _0x31b956=_0x2c702b,_0x5367e0=this['_ws']['createSocket'](_0x186839);if(!_0x5367e0)throw new Error(_0x31b956(0x364));const _0x20709d=new _0x59f65f[(_0x31b956(0x55a))](),_0x37dd8f=new _0x6d0798['Subject']();_0x20709d[_0x31b956(0x2b6)](_0x59f65f[_0x31b956(0x209)](_0x5367e0[_0x31b956(0x1c7)][_0x31b956(0x41d)](_0x904c99=>_0x37dd8f[_0x31b956(0x577)](_0x904c99)))),_0x20709d[_0x31b956(0x2b6)](_0x59f65f[_0x31b956(0x209)](()=>_0x37dd8f[_0x31b956(0x47c)]()));const _0xac7665=new _0x6d0798[(_0x31b956(0x2d1))]();_0x20709d['add'](_0x59f65f['toDisposable'](_0x5367e0[_0x31b956(0x31a)]['subscribe'](_0x4820b0=>_0xac7665[_0x31b956(0x577)](_0x4820b0)))),_0x20709d[_0x31b956(0x2b6)](_0x59f65f['toDisposable'](()=>_0xac7665[_0x31b956(0x47c)]()));const _0x377938=new _0x6d0798[(_0x31b956(0x2d1))]();_0x20709d['add'](_0x59f65f[_0x31b956(0x209)](_0x5367e0[_0x31b956(0x594)][_0x31b956(0x41d)](_0x22b201=>{const _0x1998d6=_0x31b956,_0x71d5d4=_0x4e430e(_0x22b201);_0x377938[_0x1998d6(0x577)](_0x71d5d4);}))),_0x20709d[_0x31b956(0x2b6)](_0x59f65f[_0x31b956(0x209)](()=>_0x377938[_0x31b956(0x47c)]()));const _0x29c767=()=>{const _0x196f3f=_0x31b956;_0xac7665[_0x196f3f(0x577)](new Event(_0x196f3f(0x457))),_0x37dd8f[_0x196f3f(0x577)](new CloseEvent(_0x196f3f(0x457))),_0x5a2541[_0x196f3f(0x4f5)]();},_0x5a2541={'memberID':'','close$':_0x37dd8f[_0x31b956(0x1c4)](),'error$':_0xac7665['asObservable'](),'open$':_0x5367e0[_0x31b956(0x3cb)],'message$':_0x377938['asObservable'](),'send':_0x3cb539=>{const _0x15a03c=_0x31b956;if(_0x3cb539[_0x15a03c(0x5bc)]===_0x36744e['INGEST']){if(_0x3cb539[_0x15a03c(0x51d)][_0x15a03c(0x50d)]===_0x4c33ab[_0x15a03c(0x550)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x5a2541,_0x3cb539[_0x15a03c(0x51d)])['catch'](_0x28699c=>{const _0x436df2=_0x15a03c;this['_logService'][_0x436df2(0x538)](_0x28699c),_0x29c767();});return;}if(_0x3cb539[_0x15a03c(0x51d)][_0x15a03c(0x50d)]===_0x4c33ab[_0x15a03c(0x550)][_0x15a03c(0x292)]){const _0x14890d=_0x3cb539[_0x15a03c(0x51d)];this[_0x15a03c(0x36d)](_0x14890d)[_0x15a03c(0x4c0)](_0x3f8181=>{const _0x455ed2=_0x15a03c;_0x377938[_0x455ed2(0x577)]({'cmd':_0x36744e[_0x455ed2(0x3bb)],'code':_0x2e0dfc['OK'],'routeKey':_0x14890d[_0x455ed2(0x51d)][_0x455ed2(0x2fa)],'routeType':'','data':{'eventID':_0x4c33ab[_0x455ed2(0x550)][_0x455ed2(0x299)],'data':{'changesets':_0x3f8181}}});})[_0x15a03c(0x21c)](_0x39a298=>{const _0x2fc770=_0x15a03c;this['_logService'][_0x2fc770(0x538)](_0x39a298),_0x29c767();});return;}}_0x5367e0[_0x15a03c(0x2ee)](_0x4ae816(_0x3cb539));},'close':()=>{const _0x329be8=_0x31b956;_0x5367e0[_0x329be8(0x4f5)](),_0x20709d['dispose']();}};return _0x5a2541;}async[_0x2c702b(0x4cd)](_0x2f4bec,_0x203f0f){const _0x3f385b=_0x2c702b;var _0xbdcf9c;const {unitType:_0x1be328,unitID:_0x5e65cf,changeset:_0x1e1f4a}=_0x203f0f[_0x3f385b(0x51d)],_0x32be97={'unitID':_0x5e65cf,'memberID':_0x2f4bec['memberID'],'type':_0x1be328,'changeset':_0x4c33ab[_0x3f385b(0x4d0)](_0x1e1f4a)},_0x3d18c6=_0x5bcb6d((_0xbdcf9c=this['_configService'][_0x3f385b(0x330)](_0x124ad0))!=null?_0xbdcf9c:_0x11ec87,_0x1be328,_0x5e65cf);try{await this['_http'][_0x3f385b(0x34b)](_0x3d18c6,{'body':_0x32be97});}catch(_0x269136){throw this['_logService'][_0x3f385b(0x538)]('[CollaborationSession]',_0x3f385b(0x365)),_0x269136;}}async[_0x2c702b(0x36d)](_0x2c2996){const _0x1819f0=_0x2c702b,{unitID:_0x49ea37,from:_0x13dab9,to:_0x1b62a7,unitType:_0x39d31f}=_0x2c2996[_0x1819f0(0x51d)];return(await this[_0x1819f0(0x50b)][_0x1819f0(0x2f9)]({'metadata':void 0x0},{'unitID':_0x49ea37,'type':_0x39d31f,'from':_0x13dab9,'to':_0x1b62a7}))[_0x1819f0(0x34c)];}},_0x21561b[_0x2c702b(0x4bb)]=_0x34404f([_0x59ae19(0x0,_0x59f65f[_0x2c702b(0x57e)](_0x33d91c[_0x2c702b(0x1d5)])),_0x59ae19(0x1,_0x59f65f[_0x2c702b(0x57e)](_0x33d91c[_0x2c702b(0x222)])),_0x59ae19(0x2,_0x59f65f[_0x2c702b(0x39d)]),_0x59ae19(0x3,_0x59f65f['ILogService']),_0x59ae19(0x4,_0x4c33ab[_0x2c702b(0x2d0)])],_0x21561b[_0x2c702b(0x4bb)]);class _0x256572{constructor(){const _0x1b7356=_0x2c702b;_0x191e33(this,_0x1b7356(0x3ec),new _0x6d0798['Subject']()),_0x191e33(this,_0x1b7356(0x3dd),this[_0x1b7356(0x3ec)]['asObservable']());}[_0x2c702b(0x252)](_0x283b84){const _0xa557cc=_0x2c702b;this[_0xa557cc(0x3ec)][_0xa557cc(0x577)](_0x283b84);}}var _0x118a74=Object['defineProperty'],_0xd6bb93=Object['getOwnPropertyDescriptor'],_0x248c13=(_0x44854c,_0x55ff21,_0x22bbda,_0x582a68)=>{const _0x3de63c=_0x2c702b;for(var _0x4fd5f9=_0x582a68>0x1?void 0x0:_0x582a68?_0xd6bb93(_0x55ff21,_0x22bbda):_0x55ff21,_0x53c291=_0x44854c[_0x3de63c(0x493)]-0x1,_0x57032e;_0x53c291>=0x0;_0x53c291--)(_0x57032e=_0x44854c[_0x53c291])&&(_0x4fd5f9=(_0x582a68?_0x57032e(_0x55ff21,_0x22bbda,_0x4fd5f9):_0x57032e(_0x4fd5f9))||_0x4fd5f9);return _0x582a68&&_0x4fd5f9&&_0x118a74(_0x55ff21,_0x22bbda,_0x4fd5f9),_0x4fd5f9;},_0x29a073=(_0x11fe8f,_0x27d459)=>(_0x1cd732,_0x5d8fd1)=>_0x27d459(_0x1cd732,_0x5d8fd1,_0x11fe8f),_0x29549f=(_0x271d64=>(_0x271d64[_0x271d64[_0x2c702b(0x48a)]=0x0]=_0x2c702b(0x48a),_0x271d64[_0x271d64['JOINING']=0x1]=_0x2c702b(0x474),_0x271d64[_0x271d64['OFFLINE']=0x2]=_0x2c702b(0x50a),_0x271d64[_0x271d64[_0x2c702b(0x257)]=0x3]=_0x2c702b(0x257),_0x271d64))(_0x29549f||{});_0x21561b[_0x2c702b(0x4f3)]=class extends _0x59f65f[_0x2c702b(0x1e7)]{constructor(_0x5214a2,_0x3d26f9,_0x33b648,_0x53de3b,_0xaea4f1,_0x2141ef,_0x5d5fff,_0x5a005d,_0x1ab146){const _0x11ffa4=_0x2c702b;super(),_0x191e33(this,'_sessionStatus$',new _0x6d0798['BehaviorSubject'](0x0)),_0x191e33(this,'sessionStatus$',this[_0x11ffa4(0x1de)]['asObservable']()),_0x191e33(this,_0x11ffa4(0x499),new _0x6d0798['Subject']()),_0x191e33(this,_0x11ffa4(0x5c0),this['_event$'][_0x11ffa4(0x1c4)]()),_0x191e33(this,_0x11ffa4(0x5c3)),_0x191e33(this,'_socketMessageSubscription'),_0x191e33(this,_0x11ffa4(0x36a)),(this[_0x11ffa4(0x49a)]=_0x5214a2,this[_0x11ffa4(0x591)]=_0x33b648,this[_0x11ffa4(0x1f7)]=_0x53de3b,this['_messageService']=_0xaea4f1,this[_0x11ffa4(0x2a3)]=_0x2141ef,this['_localeService']=_0x5d5fff,this[_0x11ffa4(0x327)]=_0x5a005d,this[_0x11ffa4(0x483)]=_0x1ab146,_0x3d26f9[_0x11ffa4(0x47e)](_0x4e8b21[_0x11ffa4(0x397)](this[_0x11ffa4(0x45e)]))['subscribe'](_0x18379a=>{const _0x1da9ab=_0x11ffa4;var _0x20f1de;typeof _0x18379a>'u'||(this[_0x1da9ab(0x5c3)]=_0x18379a,_0x18379a?(this[_0x1da9ab(0x29f)](_0x18379a),this[_0x1da9ab(0x286)]=this[_0x1da9ab(0x5c3)]['message$'][_0x1da9ab(0x41d)](_0x2f1ba0=>{const _0x314bab=_0x1da9ab;_0x2f1ba0[_0x314bab(0x2e7)]===this[_0x314bab(0x49a)]&&this['_onCombEvent'](_0x2f1ba0);})):(this[_0x1da9ab(0x1de)][_0x1da9ab(0x577)](0x2),(_0x20f1de=this[_0x1da9ab(0x286)])==null||_0x20f1de[_0x1da9ab(0x348)](),this['_socketMessageSubscription']=null));}),this[_0x11ffa4(0x35f)](this[_0x11ffa4(0x1f7)][_0x11ffa4(0x2e4)](()=>{const _0x451f0c=_0x11ffa4;var _0x45d3d5;(_0x45d3d5=this[_0x451f0c(0x5c3)])==null||_0x45d3d5[_0x451f0c(0x2ee)]({'cmd':_0x36744e[_0x451f0c(0x502)],'data':{'roomID':this['_unitID']}});})));}get[_0x2c702b(0x3ab)](){const _0x1bef61=_0x2c702b;return this[_0x1bef61(0x1de)]['getValue']();}[_0x2c702b(0x23f)](){const _0x3ea4d0=_0x2c702b;var _0x5e57df,_0x2ba748;return(_0x2ba748=(_0x5e57df=this['_socket'])==null?void 0x0:_0x5e57df[_0x3ea4d0(0x4c8)])!=null?_0x2ba748:null;}['dispose'](){const _0xdea44e=_0x2c702b;super[_0xdea44e(0x574)](),this[_0xdea44e(0x45e)][_0xdea44e(0x577)](),this[_0xdea44e(0x45e)][_0xdea44e(0x47c)]();}['close'](){const _0x228bbd=_0x2c702b;var _0x9aa05b,_0x2bc621;(_0x9aa05b=this[_0x228bbd(0x5c3)])==null||_0x9aa05b['send']({'cmd':_0x36744e[_0x228bbd(0x502)],'data':{'roomID':this['_unitID']}}),this[_0x228bbd(0x499)][_0x228bbd(0x47c)](),this[_0x228bbd(0x1de)][_0x228bbd(0x47c)](),(_0x2bc621=this['_socket'])==null||_0x2bc621[_0x228bbd(0x4f5)](),this[_0x228bbd(0x574)]();}[_0x2c702b(0x472)](_0x4cbe4a){const _0x5dd0e0=_0x2c702b;_0x4cbe4a[_0x5dd0e0(0x5bc)]===_0x36744e[_0x5dd0e0(0x55c)]?this[_0x5dd0e0(0x369)](_0x4cbe4a):_0x4cbe4a['cmd']===_0x36744e[_0x5dd0e0(0x3bb)]&&this['_onRecvEvent'](_0x4cbe4a);}[_0x2c702b(0x29f)](_0x5c8359){const _0x4ca287=_0x2c702b;this[_0x4ca287(0x1de)][_0x4ca287(0x577)](0x1),_0x5c8359[_0x4ca287(0x2ee)]({'cmd':_0x36744e[_0x4ca287(0x55c)],'routeKey':this[_0x4ca287(0x49a)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x2c5689){const _0x436880=_0x2c702b;var _0x4fcceb;if(_0x2c5689[_0x436880(0x553)]===_0x2e0dfc[_0x436880(0x4d9)]){this['_messageService'][_0x436880(0x272)]({'type':_0x936b9e[_0x436880(0x51a)]['Warning'],'content':this['_localeService']['t'](_0x436880(0x354))}),this['_sessionStatus$'][_0x436880(0x577)](0x2);return;}this[_0x436880(0x1de)][_0x436880(0x577)](0x3);const _0x2824b1=(_0x4fcceb=_0x2c5689[_0x436880(0x51d)][_0x436880(0x2e9)][this[_0x436880(0x49a)]])==null?void 0x0:_0x4fcceb[_0x436880(0x265)];_0x2824b1&&_0x2824b1[_0x436880(0x363)](_0x296ba2=>this['_memberService'][_0x436880(0x5ba)](this[_0x436880(0x49a)],_0x296ba2));}[_0x2c702b(0x3d3)](_0x2acd63){const _0x1f5964=_0x2c702b;try{const _0x2da812=_0x2acd63[_0x1f5964(0x51d)];switch(_0x2da812['eventID']){case _0x4c33ab[_0x1f5964(0x550)][_0x1f5964(0x4e6)]:this[_0x1f5964(0x4fa)](_0x2da812),this[_0x1f5964(0x499)][_0x1f5964(0x577)](_0x2da812);break;case _0x4c33ab['CollaborationEvent'][_0x1f5964(0x48e)]:this['_onUserLeave'](_0x2da812),this[_0x1f5964(0x499)][_0x1f5964(0x577)](_0x2da812);break;case _0x4c33ab[_0x1f5964(0x550)][_0x1f5964(0x2c6)]:this[_0x1f5964(0x595)](),this[_0x1f5964(0x499)][_0x1f5964(0x577)](_0x2da812);break;case _0x4c33ab[_0x1f5964(0x550)][_0x1f5964(0x4ae)]:this[_0x1f5964(0x591)][_0x1f5964(0x538)](_0x1f5964(0x463)+JSON[_0x1f5964(0x208)](_0x2da812)),this[_0x1f5964(0x499)][_0x1f5964(0x577)](_0x2da812);break;case _0x4c33ab[_0x1f5964(0x550)]['COMMENT_UPDATE']:this[_0x1f5964(0x483)][_0x1f5964(0x252)](_0x2da812[_0x1f5964(0x51d)]),this[_0x1f5964(0x499)]['next'](_0x2da812);break;default:this[_0x1f5964(0x499)][_0x1f5964(0x577)](_0x2da812);}}catch(_0x14ae3d){this[_0x1f5964(0x591)][_0x1f5964(0x538)](_0x14ae3d,_0x2acd63);}}[_0x2c702b(0x4fa)](_0x51f29d){const _0x8fef5f=_0x2c702b;this[_0x8fef5f(0x327)]['updateMember'](this[_0x8fef5f(0x49a)],_0x51f29d[_0x8fef5f(0x51d)]);}[_0x2c702b(0x4ff)](_0x1d8d3a){const _0x3b358d=_0x2c702b;this[_0x3b358d(0x327)]['removeMember'](this[_0x3b358d(0x49a)],_0x1d8d3a[_0x3b358d(0x51d)][_0x3b358d(0x4c8)]);}async[_0x2c702b(0x2ee)](_0x3656b3,_0x442162){const _0xdc573=_0x2c702b;if(this[_0xdc573(0x3ab)]!==0x3||!this[_0xdc573(0x5c3)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x3656b3['eventID']===_0x4c33ab[_0xdc573(0x550)]['NEW_CHANGESETS']&&this['_scheduleCollaborationTimeoutTimer'](),this[_0xdc573(0x5c3)][_0xdc573(0x2ee)]({'cmd':_0x36744e[_0xdc573(0x3cf)],'routeKey':_0x442162,'routeType':'','data':_0x3656b3});}catch(_0xf167dc){this[_0xdc573(0x591)][_0xdc573(0x538)](_0xf167dc);}}[_0x2c702b(0x30f)](){const _0x30cae5=_0x2c702b;var _0x17534c;this[_0x30cae5(0x36a)]=window[_0x30cae5(0x56a)](()=>{const _0x497efe=_0x30cae5;this[_0x497efe(0x36a)]=null,this['_messageService']['show']({'type':_0x936b9e[_0x497efe(0x51a)][_0x497efe(0x4db)],'content':this[_0x497efe(0x547)]['t'](_0x497efe(0x4dc))});},(_0x17534c=this[_0x30cae5(0x2a3)][_0x30cae5(0x330)](_0x941b18))!=null?_0x17534c:0x2710);}[_0x2c702b(0x595)](){const _0x2a2110=_0x2c702b;this[_0x2a2110(0x36a)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x2a2110(0x36a)]=null);}},_0x21561b[_0x2c702b(0x4f3)]=_0x248c13([_0x29a073(0x2,_0x59f65f[_0x2c702b(0x5a5)]),_0x29a073(0x3,_0x40690c[_0x2c702b(0x2aa)]),_0x29a073(0x4,_0x40690c[_0x2c702b(0x37f)]),_0x29a073(0x5,_0x59f65f[_0x2c702b(0x39d)]),_0x29a073(0x6,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x1cf)])),_0x29a073(0x7,_0x59f65f[_0x2c702b(0x57e)](_0x1137aa)),_0x29a073(0x8,_0x59f65f[_0x2c702b(0x57e)](_0x256572))],_0x21561b[_0x2c702b(0x4f3)]),_0x21561b[_0x2c702b(0x42a)]=class extends _0x59f65f[_0x2c702b(0x416)]{constructor(_0x40ba88,_0x2d3a63,_0x45e488,_0x2085dd,_0x34fc47,_0x2ec11b){const _0x3461f4=_0x2c702b;super(),_0x191e33(this,_0x3461f4(0x311),new _0x6d0798['BehaviorSubject'](void 0x0)),_0x191e33(this,'_sessions',new Map()),_0x191e33(this,_0x3461f4(0x508),new _0x6d0798[(_0x3461f4(0x52f))](0x0)),_0x191e33(this,_0x3461f4(0x50f),this[_0x3461f4(0x508)][_0x3461f4(0x1c4)]()),_0x191e33(this,_0x3461f4(0x4c5),!0x1),_0x191e33(this,_0x3461f4(0x526)),_0x191e33(this,_0x3461f4(0x3cd)),_0x191e33(this,_0x3461f4(0x4ec)),_0x191e33(this,_0x3461f4(0x30e),0x0),(this['_injector']=_0x40ba88,this[_0x3461f4(0x547)]=_0x2d3a63,this[_0x3461f4(0x30c)]=_0x45e488,this[_0x3461f4(0x591)]=_0x2085dd,this[_0x3461f4(0x2a3)]=_0x34fc47,this[_0x3461f4(0x355)]=_0x2ec11b);}get[_0x2c702b(0x5c3)](){const _0xeae943=_0x2c702b;return this[_0xeae943(0x311)][_0xeae943(0x33b)]();}[_0x2c702b(0x574)](){const _0x500c04=_0x2c702b;super[_0x500c04(0x574)](),this['_sessions']['forEach'](_0x5aeae9=>_0x5aeae9['dispose']()),this[_0x500c04(0x3d8)][_0x500c04(0x544)](),this[_0x500c04(0x508)][_0x500c04(0x47c)]();}async[_0x2c702b(0x256)](_0x5647ce){const _0x3b562c=_0x2c702b;if(this[_0x3b562c(0x3d8)]['has'](_0x5647ce))return this[_0x3b562c(0x3d8)][_0x3b562c(0x2f7)](_0x5647ce);this[_0x3b562c(0x305)]();const _0x42c099=this[_0x3b562c(0x232)][_0x3b562c(0x4fe)](_0x21561b[_0x3b562c(0x4f3)],_0x5647ce,this[_0x3b562c(0x311)][_0x3b562c(0x1c4)]());return this[_0x3b562c(0x3d8)][_0x3b562c(0x407)](_0x5647ce,_0x42c099),_0x42c099;}[_0x2c702b(0x332)](_0x42dc10){const _0x206470=_0x2c702b;var _0x5d5e80;const _0x1c6d26=this[_0x206470(0x3d8)]['get'](_0x42dc10);_0x1c6d26&&(this[_0x206470(0x3d8)][_0x206470(0x1ff)](_0x42dc10),_0x1c6d26['close']()),this[_0x206470(0x3d8)][_0x206470(0x3a1)]||(_0x5d5e80=this['_socket'])==null||_0x5d5e80[_0x206470(0x4f5)]();}[_0x2c702b(0x291)](){const _0xc2e894=_0x2c702b;var _0x5a21fb;const _0x3eab39=(_0x5a21fb=this['_configService'][_0xc2e894(0x330)](_0x5d608a))!=null?_0x5a21fb:_0x27752e;return this[_0xc2e894(0x355)][_0xc2e894(0x4c3)](_0x3eab39);}[_0x2c702b(0x305)](){const _0x16870d=_0x2c702b;try{const _0x529b09=this[_0x16870d(0x291)]();if(_0x529b09){const _0xee0983=_0x529b09[_0x16870d(0x2ee)];_0x529b09[_0x16870d(0x2ee)]=_0x3518ed=>(this[_0x16870d(0x3d0)](),_0xee0983[_0x16870d(0x3d5)](_0x529b09,[_0x3518ed])),_0x529b09[_0x16870d(0x594)][_0x16870d(0x41d)](_0x5ae355=>this[_0x16870d(0x4e0)](_0x529b09,_0x5ae355)),_0x529b09['error$'][_0x16870d(0x47e)](_0x4e8b21[_0x16870d(0x596)](0x1))[_0x16870d(0x41d)](_0x37cbdc=>this[_0x16870d(0x591)][_0x16870d(0x538)](_0x16870d(0x545),_0x37cbdc)),_0x529b09['open$']['pipe'](_0x4e8b21['take'](0x1))[_0x16870d(0x41d)](()=>{const _0x5c11db=_0x16870d;this[_0x5c11db(0x467)](_0x529b09);}),_0x529b09[_0x16870d(0x1c7)][_0x16870d(0x47e)](_0x4e8b21[_0x16870d(0x596)](0x1))[_0x16870d(0x41d)](_0x387208=>{const _0x54832e=_0x16870d;this[_0x54832e(0x591)][_0x54832e(0x386)](_0x54832e(0x5a6),'socket\x20close',_0x387208),this[_0x54832e(0x4d2)]();});}}catch(_0x2d34fa){this[_0x16870d(0x591)][_0x16870d(0x538)](_0x2d34fa),this[_0x16870d(0x4d2)]();}}[_0x2c702b(0x467)](_0x14553d){const _0x211d97=_0x2c702b;this[_0x211d97(0x591)][_0x211d97(0x386)](_0x211d97(0x5a6),_0x211d97(0x38f)),_0x14553d[_0x211d97(0x2ee)]({'cmd':_0x36744e['HELLO']}),this[_0x211d97(0x3d0)]();}[_0x2c702b(0x4d2)](){const _0x37ef3e=_0x2c702b;var _0x28103e;this['_status$'][_0x37ef3e(0x577)](0x2),this[_0x37ef3e(0x311)][_0x37ef3e(0x577)](null),this['_clearTimeoutTimer'](),this[_0x37ef3e(0x4fd)](),this[_0x37ef3e(0x4c5)]=!0x1,this[_0x37ef3e(0x30e)]<((_0x28103e=this[_0x37ef3e(0x2a3)][_0x37ef3e(0x330)](_0x4045c8))!=null?_0x28103e:0x3)?(this[_0x37ef3e(0x25a)](this[_0x37ef3e(0x30e)]),this[_0x37ef3e(0x30e)]+=0x1):this['_messageService'][_0x37ef3e(0x272)]({'type':_0x936b9e['MessageType'][_0x37ef3e(0x4db)],'content':this[_0x37ef3e(0x547)]['t'](_0x37ef3e(0x3d6))});}[_0x2c702b(0x25a)](_0x59f3b1){const _0x432404=_0x2c702b;var _0x309792;const _0x579f59=((_0x309792=this[_0x432404(0x2a3)][_0x432404(0x330)](_0x52518b))!=null?_0x309792:0x4e20)*0x2**_0x59f3b1;this[_0x432404(0x30c)][_0x432404(0x272)]({'type':_0x936b9e[_0x432404(0x51a)][_0x432404(0x393)],'content':this[_0x432404(0x547)]['t'](_0x432404(0x578))}),this[_0x432404(0x4ec)]=setTimeout(()=>{const _0x1cc9a1=_0x432404;this[_0x1cc9a1(0x305)](),clearTimeout(this['_retryConnectingTimer']),this[_0x1cc9a1(0x4ec)]=null;},_0x579f59);}[_0x2c702b(0x3d0)](){const _0x869634=_0x2c702b;var _0x48beca;this[_0x869634(0x4fd)](),this[_0x869634(0x526)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x48beca=this[_0x869634(0x2a3)][_0x869634(0x330)](_0x2c93f2))!=null?_0x48beca:0x7530);}[_0x2c702b(0x343)](){const _0x373ab0=_0x2c702b;this['_socket']['send']({'cmd':_0x36744e['HEARTBEAT']}),this[_0x373ab0(0x203)]();}[_0x2c702b(0x203)](){const _0xfe3fcb=_0x2c702b;var _0x27686d;this['_timeoutTimer']=setTimeout(()=>this[_0xfe3fcb(0x4d2)](),(_0x27686d=this[_0xfe3fcb(0x2a3)]['getConfig'](_0x941b18))!=null?_0x27686d:0x2710);}[_0x2c702b(0x4e0)](_0x33d10e,_0x234827){const _0x4876f9=_0x2c702b,{cmd:_0x4c03c3}=_0x234827;_0x4c03c3===_0x36744e['HELLO']&&!this[_0x4876f9(0x4c5)]&&(_0x33d10e['memberID']=_0x234827[_0x4876f9(0x51d)][_0x4876f9(0x4c8)],this['_socket$']['next'](_0x33d10e),this[_0x4876f9(0x508)][_0x4876f9(0x577)](0x3),this[_0x4876f9(0x4c5)]=!0x0),_0x4c03c3===_0x36744e[_0x4876f9(0x381)]&&this[_0x4876f9(0x2f8)](),this['_rescheduleHeartbeatEvent']();}['_clearHeartbeatTimer'](){const _0x4a69b4=_0x2c702b;this[_0x4a69b4(0x526)]!=null&&(clearTimeout(this[_0x4a69b4(0x526)]),this[_0x4a69b4(0x526)]=null);}[_0x2c702b(0x2f8)](){const _0x30b0ce=_0x2c702b;this[_0x30b0ce(0x3cd)]!=null&&(clearTimeout(this[_0x30b0ce(0x3cd)]),this[_0x30b0ce(0x3cd)]=null);}},_0x21561b[_0x2c702b(0x42a)]=_0x248c13([_0x29a073(0x0,_0x59f65f['Inject'](_0x59f65f[_0x2c702b(0x45d)])),_0x29a073(0x1,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x1cf)])),_0x29a073(0x2,_0x40690c[_0x2c702b(0x37f)]),_0x29a073(0x3,_0x59f65f[_0x2c702b(0x5a5)]),_0x29a073(0x4,_0x59f65f[_0x2c702b(0x39d)]),_0x29a073(0x5,_0x285153)],_0x21561b[_0x2c702b(0x42a)]);var _0x1c172b=Object[_0x2c702b(0x227)],_0x5077da=Object[_0x2c702b(0x294)],_0x20e126=(_0x49befc,_0x5427ae,_0x4a2090,_0x3b6114)=>{const _0x1bda7c=_0x2c702b;for(var _0x51358f=_0x3b6114>0x1?void 0x0:_0x3b6114?_0x5077da(_0x5427ae,_0x4a2090):_0x5427ae,_0x5ddbe4=_0x49befc[_0x1bda7c(0x493)]-0x1,_0x2254b4;_0x5ddbe4>=0x0;_0x5ddbe4--)(_0x2254b4=_0x49befc[_0x5ddbe4])&&(_0x51358f=(_0x3b6114?_0x2254b4(_0x5427ae,_0x4a2090,_0x51358f):_0x2254b4(_0x51358f))||_0x51358f);return _0x3b6114&&_0x51358f&&_0x1c172b(_0x5427ae,_0x4a2090,_0x51358f),_0x51358f;},_0x43e49e=(_0x339189,_0x4d6fcf)=>(_0x361821,_0x446929)=>_0x4d6fcf(_0x361821,_0x446929,_0x339189);_0x21561b[_0x2c702b(0x293)]=class extends _0x59f65f[_0x2c702b(0x416)]{constructor(_0x19470b,_0x1cac97,_0x144b1d,_0x4e5206,_0x521f79){const _0x3d575e=_0x2c702b;super(),_0x191e33(this,'_cachedData',new Map()),_0x191e33(this,_0x3d575e(0x585),new Map()),_0x191e33(this,_0x3d575e(0x447),!0x1),(this[_0x3d575e(0x2a3)]=_0x19470b,this[_0x3d575e(0x3ef)]=_0x1cac97,this[_0x3d575e(0x1f7)]=_0x144b1d,this[_0x3d575e(0x547)]=_0x4e5206,this[_0x3d575e(0x580)]=_0x521f79,this[_0x3d575e(0x237)]());}[_0x2c702b(0x529)](){const _0x4d7815=_0x2c702b;this[_0x4d7815(0x447)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}['dispose'](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async[_0x2c702b(0x5bf)](_0x5c0313){const _0x1a3cdf=_0x2c702b;return this[_0x1a3cdf(0x447)]?null:this[_0x1a3cdf(0x3ef)]['getItem'](_0x432427(_0x5c0313));}async['saveOfflineData'](_0x2b617e,_0x781407){const _0x26561d=_0x2c702b;return!!this[_0x26561d(0x3ef)]['setItem'](_0x2b617e,_0x781407);}['updateOfflineData'](_0x4edef8,_0xf5d70c,_0x16c81c,_0x594820){const _0x13e64b=_0x2c702b,_0x58b0da=this[_0x13e64b(0x580)]['getCurrentRevForDocument'](_0x4edef8);this[_0x13e64b(0x557)][_0x13e64b(0x407)](_0x4edef8,{'unitID':_0x4edef8,'type':_0xf5d70c,'awaitingChangeset':_0x16c81c,'mutations':_0x594820,'rev':_0x58b0da}),this['_saveTaskMap'][_0x13e64b(0x35d)](_0x4edef8)||this[_0x13e64b(0x26c)](_0x4edef8);}['_scheduleSaving'](_0x4eb162){const _0x154683=_0x2c702b,_0x25416e=this[_0x154683(0x2da)]();_0x25416e===0x0?this['_saveCache'](_0x4eb162):this['_saveTaskMap'][_0x154683(0x407)](_0x4eb162,setTimeout(()=>this['_saveCache'](_0x4eb162),_0x25416e));}['_getSaveTimeout'](){const _0x17a743=_0x2c702b;var _0x3670c5;return(_0x3670c5=this[_0x17a743(0x2a3)][_0x17a743(0x330)](_0x219665))!=null?_0x3670c5:0x3e8;}[_0x2c702b(0x40c)](_0x898805){const _0x5a50e3=_0x2c702b,_0x14cc18=this[_0x5a50e3(0x585)][_0x5a50e3(0x2f7)](_0x898805);return _0x14cc18!==void 0x0&&window[_0x5a50e3(0x5c2)](_0x14cc18),this['_localStorageService'][_0x5a50e3(0x4ee)](_0x432427(_0x898805),this[_0x5a50e3(0x557)][_0x5a50e3(0x2f7)](_0x898805))[_0x5a50e3(0x4c0)](()=>this[_0x5a50e3(0x585)][_0x5a50e3(0x1ff)](_0x898805));}async[_0x2c702b(0x300)](){const _0x1db3c9=_0x2c702b,_0x493b3a=[];this[_0x1db3c9(0x585)][_0x1db3c9(0x363)]((_0x31d1f8,_0x9083e6)=>{const _0x23cb00=_0x1db3c9;window[_0x23cb00(0x5c2)](_0x31d1f8),_0x493b3a[_0x23cb00(0x2ba)](this[_0x23cb00(0x40c)](_0x9083e6)[_0x23cb00(0x4c0)](()=>{const _0x3de8b5=_0x23cb00;this[_0x3de8b5(0x585)]['delete'](_0x9083e6);}));}),await Promise[_0x1db3c9(0x56c)](_0x493b3a);}[_0x2c702b(0x237)](){const _0x40c42a=_0x2c702b;this[_0x40c42a(0x35f)](this[_0x40c42a(0x1f7)][_0x40c42a(0x4be)](()=>{const _0x1e2a9e=_0x40c42a;if(this[_0x1e2a9e(0x585)][_0x1e2a9e(0x3a1)])return this[_0x1e2a9e(0x547)]['t'](_0x1e2a9e(0x387));}));}},_0x21561b['LocalCacheService']=_0x20e126([_0x43e49e(0x0,_0x59f65f['IConfigService']),_0x43e49e(0x1,_0x59f65f['ILocalStorageService']),_0x43e49e(0x2,_0x40690c['IBeforeCloseService']),_0x43e49e(0x3,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x1cf)])),_0x43e49e(0x4,_0x59f65f['Inject'](_0x4c33ab[_0x2c702b(0x23b)]))],_0x21561b[_0x2c702b(0x293)]);function _0x432427(_0x36b6a7){return'unit-cache-'+_0x36b6a7;}const _0x3c9dbb=_0x59f65f['createIdentifier'](_0x2c702b(0x245));var _0x13fe1f=(_0x5b0392=>(_0x5b0392[_0x5b0392[_0x2c702b(0x302)]=0x0]=_0x2c702b(0x302),_0x5b0392[_0x5b0392[_0x2c702b(0x495)]=0x1]='OTHER_CLIENTS_EDITING',_0x5b0392))(_0x13fe1f||{});const _0x478601=0x7530,_0x197b40=_0x2c702b(0x352);class _0x328887 extends _0x59f65f[_0x2c702b(0x416)]{constructor(){const _0x2ae8cd=_0x2c702b;super(),_0x191e33(this,_0x2ae8cd(0x488),_0x59f65f[_0x2ae8cd(0x5ad)][_0x2ae8cd(0x394)]()),_0x191e33(this,_0x2ae8cd(0x3ea),new Set()),_0x191e33(this,'_unitOnClients',new Map()),_0x191e33(this,_0x2ae8cd(0x1e3),null),_0x191e33(this,'_clearOtherTimers',new Map()),_0x191e33(this,'_unitStatus',new Map()),this[_0x2ae8cd(0x362)]();}[_0x2c702b(0x574)](){const _0x483374=_0x2c702b;super[_0x483374(0x574)](),this[_0x483374(0x3e0)][_0x483374(0x363)]((_0x1f4341,_0x4c41db)=>this[_0x483374(0x432)](_0x4c41db)),this[_0x483374(0x1e3)]&&window[_0x483374(0x422)](this[_0x483374(0x1e3)]);}[_0x2c702b(0x592)](_0x44f72c){const _0x2e916d=_0x2c702b;return this[_0x2e916d(0x271)](_0x44f72c)[_0x2e916d(0x47e)](_0x6d0798[_0x2e916d(0x282)]());}[_0x2c702b(0x32c)](_0x34503c){const _0x19ffe3=_0x2c702b;this[_0x19ffe3(0x3ea)][_0x19ffe3(0x3a1)]===0x0&&this[_0x19ffe3(0x200)](),this[_0x19ffe3(0x3ea)][_0x19ffe3(0x2b6)](_0x34503c),this['_send']({'type':0x0,'memberID':this[_0x19ffe3(0x488)],'unitIDs':[_0x34503c],'isForwarded':!0x1});}['disposeUnit'](_0x3d298c){const _0x5dc991=_0x2c702b;this['_selfUnitIDs']['delete'](_0x3d298c),this[_0x5dc991(0x3ea)][_0x5dc991(0x3a1)]===0x0&&this[_0x5dc991(0x1e3)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x2c702b(0x362)](){const _0x267947=_0x2c702b;this[_0x267947(0x35f)](_0x59f65f[_0x267947(0x209)](_0x6d0798[_0x267947(0x4e4)](window,_0x267947(0x1ce))[_0x267947(0x41d)](_0x1ee010=>{const _0x1be18d=_0x267947;if(_0x1ee010['key']!==_0x197b40||!_0x1ee010[_0x1be18d(0x48f)])return;const _0x376af5=JSON[_0x1be18d(0x216)](_0x1ee010['newValue']);this[_0x1be18d(0x3fe)](_0x376af5);}))),window[_0x267947(0x31d)]('unload',()=>this[_0x267947(0x3dc)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x267947(0x3ea)])}));}['_handleEvent'](_0x1b6147){const _0x276b0e=_0x2c702b;switch(_0x1b6147[_0x276b0e(0x375)]){case 0x0:this['_handleJoinEvent'](_0x1b6147);break;case 0x1:this[_0x276b0e(0x43d)](_0x1b6147);break;case 0x2:this[_0x276b0e(0x4fb)](_0x1b6147);break;}}[_0x2c702b(0x3ac)](_0x1f4c8d){const _0x4b431a=_0x2c702b,{unitIDs:_0x257c32,memberID:_0x5da121,isForwarded:_0x1f8e6e}=_0x1f4c8d;_0x257c32[_0x4b431a(0x363)](_0x30f31a=>{const _0x29e8eb=_0x4b431a;if(!_0x1f8e6e&&this['_unitOnClients']['has'](_0x30f31a)&&this[_0x29e8eb(0x271)](_0x30f31a)['next'](0x1),!this[_0x29e8eb(0x434)][_0x29e8eb(0x35d)](_0x30f31a)||!this[_0x29e8eb(0x434)][_0x29e8eb(0x2f7)](_0x30f31a)[_0x29e8eb(0x35d)](_0x5da121)){const _0x183a69=this[_0x29e8eb(0x434)][_0x29e8eb(0x2f7)](_0x30f31a)||new Set();_0x183a69[_0x29e8eb(0x2b6)](_0x5da121),this[_0x29e8eb(0x434)][_0x29e8eb(0x407)](_0x30f31a,_0x183a69),this[_0x29e8eb(0x2b3)](_0x5da121);}}),_0x1f8e6e||this[_0x4b431a(0x3dc)]({'type':0x0,'memberID':this[_0x4b431a(0x488)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2c702b(0x2b3)](_0x560328){const _0x2a5830=_0x2c702b;this[_0x2a5830(0x432)](_0x560328);const _0x4236cc=window[_0x2a5830(0x56a)](()=>{const _0x4f0954=_0x2a5830;this['_unitOnClients'][_0x4f0954(0x363)](_0x34aec7=>{const _0xb7b096=_0x4f0954;_0x34aec7[_0xb7b096(0x1ff)](_0x560328);});},_0x478601*0x2);this[_0x2a5830(0x3e0)]['set'](_0x560328,_0x4236cc);}[_0x2c702b(0x432)](_0xc0ab53){const _0x585cad=_0x2c702b;if(this['_clearOtherTimers']['has'](_0xc0ab53)){const _0x632832=this['_clearOtherTimers'][_0x585cad(0x2f7)](_0xc0ab53);_0x632832&&window[_0x585cad(0x5c2)](_0x632832),this['_clearOtherTimers'][_0x585cad(0x407)](_0xc0ab53,null);}}['_handleLeaveEvent'](_0x422a6e){const _0x288550=_0x2c702b,{memberID:_0x511a2b,unitIDs:_0xa46458}=_0x422a6e;_0xa46458[_0x288550(0x363)](_0x5b7195=>{const _0xac405a=_0x288550;var _0x4a97c9;const _0x49fe67=this[_0xac405a(0x434)][_0xac405a(0x2f7)](_0x5b7195);_0x49fe67&&(_0x49fe67[_0xac405a(0x1ff)](_0x511a2b),(_0x4a97c9=this['_ensureSubject'](_0x5b7195))==null||_0x4a97c9[_0xac405a(0x577)](_0x49fe67[_0xac405a(0x3a1)]===0x0?0x0:0x1));}),this[_0x288550(0x432)](_0x511a2b);}[_0x2c702b(0x4fb)](_0x5ebea3){const _0x476416=_0x2c702b;this[_0x476416(0x2b3)](_0x5ebea3[_0x476416(0x4c8)]);}['_send'](_0x3e87af){const _0x27433f=_0x2c702b;localStorage[_0x27433f(0x4ee)](_0x197b40,JSON[_0x27433f(0x208)](_0x3e87af));}[_0x2c702b(0x200)](){const _0xa00951=_0x2c702b;this[_0xa00951(0x1e3)]=window[_0xa00951(0x2a0)](()=>{const _0x835d1b=_0xa00951;this['_send']({'type':0x2,'memberID':this[_0x835d1b(0x488)]});},_0x478601);}[_0x2c702b(0x271)](_0xe5877f){const _0x4dc3f7=_0x2c702b;return this[_0x4dc3f7(0x3a7)][_0x4dc3f7(0x35d)](_0xe5877f)||this[_0x4dc3f7(0x3a7)]['set'](_0xe5877f,new _0x6d0798['BehaviorSubject'](0x0)),this[_0x4dc3f7(0x3a7)][_0x4dc3f7(0x2f7)](_0xe5877f);}}var _0x1a32a8=Object[_0x2c702b(0x227)],_0x4a46dd=Object[_0x2c702b(0x294)],_0x11a087=(_0x3795d2,_0x75090b,_0x1c4335,_0x28d925)=>{const _0x4a115e=_0x2c702b;for(var _0x1236ee=_0x28d925>0x1?void 0x0:_0x28d925?_0x4a46dd(_0x75090b,_0x1c4335):_0x75090b,_0x2b1266=_0x3795d2[_0x4a115e(0x493)]-0x1,_0x47df98;_0x2b1266>=0x0;_0x2b1266--)(_0x47df98=_0x3795d2[_0x2b1266])&&(_0x1236ee=(_0x28d925?_0x47df98(_0x75090b,_0x1c4335,_0x1236ee):_0x47df98(_0x1236ee))||_0x1236ee);return _0x28d925&&_0x1236ee&&_0x1a32a8(_0x75090b,_0x1c4335,_0x1236ee),_0x1236ee;},_0x479839=(_0x26d957,_0x2e5551)=>(_0x5c0a89,_0x4608ee)=>_0x2e5551(_0x5c0a89,_0x4608ee,_0x26d957);let _0x2e3636=class{constructor(_0x3abba5,_0xe74c8c){const _0x4d098b=_0x2c702b;this['_injector']=_0x3abba5,this[_0x4d098b(0x586)]=_0xe74c8c;}[_0x2c702b(0x54e)](_0x3210d3){const _0x270cb5=_0x2c702b;this[_0x270cb5(0x225)](_0x3210d3),this['_transformPreviousActiveRange'](_0x3210d3);}[_0x2c702b(0x356)](_0x5dbb5c){const _0x47de70=_0x2c702b,_0x48530a=this['_injector'][_0x47de70(0x2f7)](_0x28f26c[_0x47de70(0x2c4)]),{redoCache:_0x54889a}=_0x48530a[_0x47de70(0x329)]();if(_0x54889a[_0x47de70(0x493)]===0x0)return _0x5dbb5c;let _0x2794a1=_0x59f65f['Tools'][_0x47de70(0x351)](_0x5dbb5c[_0x47de70(0x31c)][0x0]);for(let _0x30fd7e=0x0;_0x30fd7e<_0x54889a[_0x47de70(0x493)];_0x30fd7e++){const _0x46e07f={'id':_0x47de70(0x3ce),'params':{..._0x54889a[_0x30fd7e]}},_0x14dbb8=this['_transformService'][_0x47de70(0x4ac)](_0x2794a1,_0x46e07f,!0x1);if(_0x4c33ab['isTransformMutationFailure'](_0x14dbb8))throw _0x14dbb8['error'];_0x2794a1=_0x14dbb8[_0x47de70(0x3c3)];}return{..._0x59f65f[_0x47de70(0x5ad)]['deepClone'](_0x5dbb5c),'mutations':[_0x2794a1]};}[_0x2c702b(0x225)](_0x157582){const _0x1067e7=_0x2c702b,_0x3aa18c=this[_0x1067e7(0x232)][_0x1067e7(0x2f7)](_0x28f26c['IMEInputManagerService']),{undoCache:_0x2f5235,redoCache:_0x58ca1f}=_0x3aa18c['getUndoRedoMutationParamsCache']();if(_0x2f5235[_0x1067e7(0x493)]===0x0||_0x58ca1f[_0x1067e7(0x493)]===0x0)return;const _0x58cb23=[],_0x542f60=[];let _0x509d96=_0x59f65f[_0x1067e7(0x5ad)][_0x1067e7(0x351)](_0x157582['mutations'][0x0]),_0x288212=_0x59f65f[_0x1067e7(0x5ad)]['deepClone'](_0x157582['mutations'][0x0]);for(let _0x40958b=_0x2f5235[_0x1067e7(0x493)]-0x1;_0x40958b>=0x0;_0x40958b--){const _0xc0a2a2={'id':_0x1067e7(0x3ce),'params':{..._0x2f5235[_0x40958b]}},_0x1123cf={'id':_0x1067e7(0x3ce),'params':{..._0x58ca1f[_0x40958b]}},_0x304370=this[_0x1067e7(0x586)][_0x1067e7(0x4ac)](_0x509d96,_0xc0a2a2,!0x1),_0x5ec967=this[_0x1067e7(0x586)][_0x1067e7(0x4ac)](_0x288212,_0x1123cf,!0x1);if(_0x4c33ab[_0x1067e7(0x285)](_0x304370))throw _0x304370[_0x1067e7(0x538)];if(_0x4c33ab[_0x1067e7(0x285)](_0x5ec967))throw _0x5ec967[_0x1067e7(0x538)];_0x58cb23[_0x1067e7(0x29d)](_0x304370[_0x1067e7(0x505)]['params']),_0x542f60[_0x1067e7(0x29d)](_0x5ec967['m2Prime'][_0x1067e7(0x3e9)]),_0x509d96=_0x304370[_0x1067e7(0x3c3)],_0x288212=_0x5ec967[_0x1067e7(0x3c3)];}_0x3aa18c[_0x1067e7(0x2c7)]({'undoCache':_0x58cb23,'redoCache':_0x542f60});}['_transformPreviousActiveRange'](_0x27c21f){const _0x299ff5=_0x2c702b,_0x57d852=this[_0x299ff5(0x232)][_0x299ff5(0x2f7)](_0x28f26c[_0x299ff5(0x2c4)]),_0x428c66=_0x57d852[_0x299ff5(0x487)]();if(_0x428c66==null)return;const _0x5e618a=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x27c21f[_0x299ff5(0x2fa)],'actions':null,'textRanges':[_0x428c66]}}],_0xb043f2=this[_0x299ff5(0x586)][_0x299ff5(0x201)](_0x27c21f,_0x5e618a);if(!_0x4c33ab[_0x299ff5(0x1c8)](_0xb043f2))throw _0xb043f2['error'];const _0x38af78=_0xb043f2[_0x299ff5(0x505)][0x0][_0x299ff5(0x3e9)]['textRanges'];Array[_0x299ff5(0x543)](_0x38af78)&&_0x38af78[_0x299ff5(0x493)]&&_0x57d852[_0x299ff5(0x43c)](_0x38af78[0x0]);}};_0x2e3636=_0x11a087([_0x479839(0x0,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x479839(0x1,_0x4c33ab['ITransformService'])],_0x2e3636);var _0x280e92=Object[_0x2c702b(0x227)],_0x7bde17=Object[_0x2c702b(0x294)],_0x111f3b=(_0x46e5b7,_0x45ad2b,_0x12cd90,_0x57f01c)=>{const _0x1d3fff=_0x2c702b;for(var _0xeb54b6=_0x57f01c>0x1?void 0x0:_0x57f01c?_0x7bde17(_0x45ad2b,_0x12cd90):_0x45ad2b,_0x466b7=_0x46e5b7[_0x1d3fff(0x493)]-0x1,_0x5f413d;_0x466b7>=0x0;_0x466b7--)(_0x5f413d=_0x46e5b7[_0x466b7])&&(_0xeb54b6=(_0x57f01c?_0x5f413d(_0x45ad2b,_0x12cd90,_0xeb54b6):_0x5f413d(_0xeb54b6))||_0xeb54b6);return _0x57f01c&&_0xeb54b6&&_0x280e92(_0x45ad2b,_0x12cd90,_0xeb54b6),_0xeb54b6;},_0x279fe8=(_0x28830c,_0x18a5d4)=>(_0x2e878f,_0x1b2fad)=>_0x18a5d4(_0x2e878f,_0x1b2fad,_0x28830c);let _0x191131=class{constructor(_0x274d9f,_0x3589aa){const _0x2c5a53=_0x2c702b;this[_0x2c5a53(0x232)]=_0x274d9f,this[_0x2c5a53(0x586)]=_0x3589aa;}[_0x2c702b(0x46f)](_0x3e06a0){const _0x480f78=_0x2c702b;var _0x9fdc10;const _0x41acdb=this[_0x480f78(0x232)][_0x480f78(0x2f7)](_0x28f26c[_0x480f78(0x4a8)]),_0x38244d=(_0x9fdc10=_0x41acdb['getDocRanges']())!=null?_0x9fdc10:[],_0xe94222=_0x38244d==null?void 0x0:_0x38244d[_0x480f78(0x4a7)](_0x28f26c[_0x480f78(0x53c)]);if(_0xe94222[_0x480f78(0x493)]===0x0)return;const _0x4a7cec=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3e06a0[_0x480f78(0x2fa)],'actions':null,'textRanges':_0xe94222}}],_0x1874e4=this[_0x480f78(0x586)][_0x480f78(0x201)](_0x3e06a0,_0x4a7cec);if(!_0x4c33ab[_0x480f78(0x1c8)](_0x1874e4))throw _0x1874e4[_0x480f78(0x538)];const _0x1adf10=_0x1874e4[_0x480f78(0x505)][0x0][_0x480f78(0x3e9)][_0x480f78(0x290)];Array[_0x480f78(0x543)](_0x1adf10)&&_0x1adf10[_0x480f78(0x493)]&&_0x41acdb['replaceTextRanges'](_0x1adf10,!0x1);}};_0x191131=_0x111f3b([_0x279fe8(0x0,_0x59f65f['Inject'](_0x59f65f[_0x2c702b(0x45d)])),_0x279fe8(0x1,_0x4c33ab[_0x2c702b(0x419)])],_0x191131);function _0x3a63ff(_0x24aca0){const _0x90e554=_0x2c702b;let _0x4b9b27='';for(const _0x4b12b7 of _0x24aca0){const {startOffset:_0x405e67,endOffset:_0x3fcfd9,isActive:_0x434a1e}=_0x4b12b7;_0x4b9b27[_0x90e554(0x493)]&&(_0x4b9b27+=','),_0x4b9b27+=_0x405e67+':'+_0x3fcfd9+':'+(_0x434a1e?'1':'0');}return _0x4b9b27;}function _0x343801(_0x921723){const _0x9d2492=_0x2c702b,_0xee7264=_0x921723[_0x9d2492(0x20c)](','),_0x4eae30=[];for(const _0x209718 of _0xee7264){const [_0xe30686,_0x23bee6,_0x42bf7b]=_0x209718[_0x9d2492(0x20c)](':');_0x4eae30[_0x9d2492(0x2ba)]({'startOffset':Number(_0xe30686),'endOffset':Number(_0x23bee6),'collapsed':_0xe30686===_0x23bee6,'isActive':_0x42bf7b==='1'});}return _0x4eae30[_0x9d2492(0x541)](_0x2d21fc=>_0x2d21fc['isActive'])||(_0x4eae30[0x0][_0x9d2492(0x494)]=!0x0),_0x4eae30;}class _0x267a51 extends _0x59f65f[_0x2c702b(0x1e7)]{constructor(){const _0x2ae3b3=_0x2c702b;super(...arguments),_0x191e33(this,_0x2ae3b3(0x2ab),new _0x6d0798[(_0x2ae3b3(0x52f))](null)),_0x191e33(this,_0x2ae3b3(0x39f),this[_0x2ae3b3(0x2ab)][_0x2ae3b3(0x1c4)]());}[_0x2c702b(0x2f3)](_0x2cdb38){const _0x1e785f=_0x2c702b,{unitID:_0x144fb6,memberID:_0x55118c,textRanges:_0x395a6d}=_0x2cdb38,_0x2f4565=_0x3a63ff(_0x395a6d),_0x18882b={'unitID':_0x144fb6,'memberID':_0x55118c,'selection':_0x2f4565};this[_0x1e785f(0x2ab)][_0x1e785f(0x577)](_0x18882b);}}var _0x325dab=Object['defineProperty'],_0x1215cf=Object[_0x2c702b(0x294)],_0x550424=(_0x39cb95,_0x555db3,_0x5386e5,_0x5d00dc)=>{const _0x1ba11c=_0x2c702b;for(var _0x510e77=_0x5d00dc>0x1?void 0x0:_0x5d00dc?_0x1215cf(_0x555db3,_0x5386e5):_0x555db3,_0x57137b=_0x39cb95[_0x1ba11c(0x493)]-0x1,_0x52b2f4;_0x57137b>=0x0;_0x57137b--)(_0x52b2f4=_0x39cb95[_0x57137b])&&(_0x510e77=(_0x5d00dc?_0x52b2f4(_0x555db3,_0x5386e5,_0x510e77):_0x52b2f4(_0x510e77))||_0x510e77);return _0x5d00dc&&_0x510e77&&_0x325dab(_0x555db3,_0x5386e5,_0x510e77),_0x510e77;},_0x34c022=(_0x57b4c8,_0x23cc1c)=>(_0x2971ab,_0x4126b9)=>_0x23cc1c(_0x2971ab,_0x4126b9,_0x57b4c8);function _0x549e71(_0x42862e){const _0x594bcb=_0x2c702b,{unitID:_0x3f22a3,mutations:_0x1e4891}=_0x42862e;return{'unitId':_0x3f22a3,'subUnitId':_0x1e4891[0x0][_0x594bcb(0x3e9)][_0x594bcb(0x1ef)]};}let _0x44d70e=class{constructor(_0x42a6ea,_0x195d74){this['_injector']=_0x42a6ea,this['_transformService']=_0x195d74;}[_0x2c702b(0x46f)](_0x2b456f){const _0xb8c49a=_0x2c702b;var _0x35bc44,_0x471d5e,_0x3b8d24;const _0x515dbb=this[_0xb8c49a(0x232)][_0xb8c49a(0x2f7)](_0x5dba16[_0xb8c49a(0x4a3)]),{unitId:_0x48b857,subUnitId:_0xeb7182}=_0x549e71(_0x2b456f),_0x4f8cc7=_0x515dbb[_0xb8c49a(0x468)](_0x48b857)[_0xb8c49a(0x215)]();if(_0x4f8cc7[_0xb8c49a(0x493)]===0x0||!_0x48b857||!_0xeb7182)return;const _0x2ec3f7=[{'id':_0x5dba16['SetSelectionsOperation']['id'],'params':{'unitId':_0x48b857,'subUnitId':_0xeb7182,'selections':_0x59f65f['Tools'][_0xb8c49a(0x351)](_0x4f8cc7)}}],_0x213c96=this['_transformService']['transformMutationsWithChangeset'](_0x2b456f,_0x2ec3f7);if(!_0x4c33ab[_0xb8c49a(0x1c8)](_0x213c96))throw _0x213c96['error'];const _0x1fcb5f=(_0x3b8d24=(_0x471d5e=(_0x35bc44=_0x213c96[_0xb8c49a(0x505)][0x0])==null?void 0x0:_0x35bc44[_0xb8c49a(0x3e9)])==null?void 0x0:_0x471d5e[_0xb8c49a(0x433)])!=null?_0x3b8d24:_0x4f8cc7;Array[_0xb8c49a(0x543)](_0x1fcb5f)&&_0x1fcb5f[_0xb8c49a(0x493)]&&this[_0xb8c49a(0x232)][_0xb8c49a(0x2f7)](_0x59f65f[_0xb8c49a(0x4b7)])[_0xb8c49a(0x22f)](_0x5dba16[_0xb8c49a(0x437)]['id'],{'unitId':_0x48b857,'subUnitId':_0xeb7182,'selections':_0x1fcb5f});}};_0x44d70e=_0x550424([_0x34c022(0x0,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x34c022(0x1,_0x4c33ab[_0x2c702b(0x419)])],_0x44d70e);const _0x5eeb88=new Set([_0x5dba16[_0x2c702b(0x52b)]['id']]);function _0x424cd5(_0x532962,_0x105cce,_0x24cd05,_0x105e7a,_0x254198){const _0x48f155=_0x2c702b;var _0x78f315,_0x19ec47,_0x569a26,_0x5cfce4;const _0x163db2=[];for(const _0x165214 of _0x532962)if(_0x5eeb88[_0x48f155(0x35d)](_0x165214['id'])){if(_0x163db2[_0x48f155(0x493)]>0x0)break;_0x163db2[_0x48f155(0x2ba)](_0x165214);break;}else _0x163db2[_0x48f155(0x2ba)](_0x165214);const _0x16636a=(_0x19ec47=(_0x78f315=_0x254198[_0x48f155(0x25e)]())==null?void 0x0:_0x78f315['userID'])!=null?_0x19ec47:'unknown',_0x39e989=(_0x5cfce4=(_0x569a26=_0x254198[_0x48f155(0x25e)]())==null?void 0x0:_0x569a26['memberID'])!=null?_0x5cfce4:_0x48f155(0x4a9);return{'changeset':{'unitID':_0x105cce,'type':_0x4c33ab['mapDocumentTypeToUniverType'](_0x24cd05[_0x48f155(0x2bf)](_0x105cce)),'baseRev':_0x105e7a['getCurrentRevForDocument'](_0x105cce),'revision':0x0,'userID':_0x16636a,'memberID':_0x39e989,'mutations':_0x163db2},'pendingMutations':_0x532962[_0x48f155(0x58e)](_0x163db2[_0x48f155(0x493)])};}function _0x4ce683(_0x4ed302,_0x44d329,_0x366362,_0x5a63b5,_0x26d138){const _0x3a5520=_0x2c702b;var _0x21d9ba,_0x53b6a7,_0xd24047,_0x4b9e17;const _0x5a58fc=[_0x4ed302[_0x3a5520(0x3c2)]((_0x4a9411,_0x58df7e)=>{const _0x36f800=_0x3a5520;var _0x470a36;const {id:_0x37baa4}=_0x4a9411,{id:_0x36fd93,type:_0x2511c1}=_0x58df7e,_0x31994d=(_0x470a36=_0x4a9411[_0x36f800(0x3e9)])!=null?_0x470a36:{'actions':null},_0x1729ff=_0x58df7e['params'];if(_0x37baa4&&_0x37baa4!==_0x36fd93)throw new Error(_0x36f800(0x1c3)+_0x37baa4+'\x20-\x20'+_0x36fd93+'.');return{..._0x4a9411,'id':_0x36fd93,'type':_0x2511c1,'params':{'unitId':_0x1729ff['unitId'],'textRanges':_0x1729ff[_0x36f800(0x290)],'actions':_0x59f65f[_0x36f800(0x458)][_0x36f800(0x382)](_0x31994d[_0x36f800(0x3d1)],_0x1729ff[_0x36f800(0x3d1)])}};},{})],_0x4fd7e0=(_0x53b6a7=(_0x21d9ba=_0x26d138['getCurrentUser']())==null?void 0x0:_0x21d9ba[_0x3a5520(0x2b8)])!=null?_0x53b6a7:'unknown',_0xc82859=(_0x4b9e17=(_0xd24047=_0x26d138[_0x3a5520(0x25e)]())==null?void 0x0:_0xd24047[_0x3a5520(0x4c8)])!=null?_0x4b9e17:'unknown';return{'changeset':{'unitID':_0x44d329,'type':_0x4c33ab['mapDocumentTypeToUniverType'](_0x366362[_0x3a5520(0x2bf)](_0x44d329)),'baseRev':_0x5a63b5[_0x3a5520(0x20d)](_0x44d329),'revision':0x0,'userID':_0x4fd7e0,'memberID':_0xc82859,'mutations':_0x5a58fc},'pendingMutations':[]};}const _0x27ce16={'id':_0x5dba16[_0x2c702b(0x229)]['id'],'type':_0x59f65f[_0x2c702b(0x1f4)]['MUTATION'],'params':{}};var _0x3466a7=Object['defineProperty'],_0x3f865b=Object[_0x2c702b(0x294)],_0x429298=(_0x4da6f4,_0x52787d,_0x54f591,_0x174591)=>{for(var _0x57fde7=_0x174591>0x1?void 0x0:_0x174591?_0x3f865b(_0x52787d,_0x54f591):_0x52787d,_0xdcec6c=_0x4da6f4['length']-0x1,_0x585513;_0xdcec6c>=0x0;_0xdcec6c--)(_0x585513=_0x4da6f4[_0xdcec6c])&&(_0x57fde7=(_0x174591?_0x585513(_0x52787d,_0x54f591,_0x57fde7):_0x585513(_0x57fde7))||_0x57fde7);return _0x174591&&_0x57fde7&&_0x3466a7(_0x52787d,_0x54f591,_0x57fde7),_0x57fde7;},_0x5094be=(_0x10556a,_0x167d02)=>(_0xf6a0d9,_0x4c40e7)=>_0x167d02(_0xf6a0d9,_0x4c40e7,_0x10556a),_0x56e84e=(_0x8a541=>(_0x8a541['NOT_COLLAB']=_0x2c702b(0x24c),_0x8a541[_0x2c702b(0x3f8)]=_0x2c702b(0x532),_0x8a541['PENDING']='pending',_0x8a541[_0x2c702b(0x441)]=_0x2c702b(0x3a0),_0x8a541[_0x2c702b(0x5b5)]=_0x2c702b(0x2ef),_0x8a541[_0x2c702b(0x3f4)]=_0x2c702b(0x284),_0x8a541[_0x2c702b(0x48b)]='conflict',_0x8a541['OFFLINE']='offline',_0x8a541))(_0x56e84e||{});class _0x27e376{constructor(_0x95cc1b,_0x2db62,_0xa42175,_0x2e07ae,_0x483cfe,_0x4ed5ef,_0x4ea895,_0x39135d,_0x20d731){const _0x24f272=_0x2c702b;_0x191e33(this,_0x24f272(0x2fd),null),_0x191e33(this,_0x24f272(0x2d4),[]),(this[_0x24f272(0x2fa)]=_0x95cc1b,this['type']=_0x2db62,this[_0x24f272(0x1db)]=_0x483cfe,this[_0x24f272(0x567)]=_0x4ed5ef,this[_0x24f272(0x431)]=_0x4ea895,this[_0x24f272(0x580)]=_0x39135d,this[_0x24f272(0x43a)]=_0x20d731,this['_awaitingChangeset']=_0xa42175,this[_0x24f272(0x2d4)]=_0x2e07ae);}['_checkMissing'](_0x26dab5){const _0x36ee2c=_0x2c702b,_0x4cb423=this['_revisionService'][_0x36ee2c(0x20d)](this[_0x36ee2c(0x2fa)]);return _0x26dab5[_0x36ee2c(0x50c)]>_0x4cb423+0x1?(this[_0x36ee2c(0x1db)][_0x36ee2c(0x462)]({'from':_0x4cb423,'to':_0x26dab5[_0x36ee2c(0x50c)]-0x1}),!0x0):!0x1;}[_0x2c702b(0x435)](_0x563065){const _0xf4b4ac=_0x2c702b;this[_0xf4b4ac(0x431)][_0xf4b4ac(0x321)](this['unitID'],_0x563065);}['_transformSelections'](_0x1362f4){const _0x127aa7=_0x2c702b;var _0x22b130,_0x399c0a;(_0x399c0a=(_0x22b130=this[_0x127aa7(0x1db)])[_0x127aa7(0x279)])==null||_0x399c0a[_0x127aa7(0x428)](_0x22b130,_0x1362f4);}[_0x2c702b(0x598)](_0x5b69af){const _0x31d256=_0x2c702b;var _0x283512,_0x23a612;return(_0x23a612=(_0x283512=this[_0x31d256(0x1db)])[_0x31d256(0x35c)])==null?void 0x0:_0x23a612['call'](_0x283512,_0x5b69af);}['_transformRemoteChangesetByIMECache'](_0x14240a){const _0x53e318=_0x2c702b;var _0x463b2b,_0x18d433,_0x34f6f7;return(_0x34f6f7=(_0x18d433=(_0x463b2b=this[_0x53e318(0x1db)])[_0x53e318(0x44d)])==null?void 0x0:_0x18d433[_0x53e318(0x428)](_0x463b2b,_0x14240a))!=null?_0x34f6f7:_0x14240a;}['_syncEditingCollabCursor'](_0xb94bd7){const _0x202699=_0x2c702b;var _0x446c53,_0x2aa5d0;if(this[_0x202699(0x375)]===_0x2e0d9e[_0x202699(0x525)]){const {unitID:_0x4b346a,mutations:_0x196c45,memberID:_0x1c0d55}=_0xb94bd7,_0x523036=_0x196c45[0x0][_0x202699(0x3e9)][_0x202699(0x290)];Array[_0x202699(0x543)](_0x523036)&&_0x523036[_0x202699(0x493)]>0x0&&((_0x2aa5d0=(_0x446c53=this[_0x202699(0x1db)])[_0x202699(0x3bf)])==null||_0x2aa5d0[_0x202699(0x428)](_0x446c53,{'unitID':_0x4b346a,'memberID':_0x1c0d55,'textRanges':_0x523036}));}}['_updateLocalCache'](){const _0x5c529b=_0x2c702b;this[_0x5c529b(0x43a)][_0x5c529b(0x57f)](this['unitID'],this[_0x5c529b(0x375)],this[_0x5c529b(0x2fd)],this['_pendingMutations']);}['_getCurrentRevision'](){const _0x4bd82c=_0x2c702b;return this['_revisionService'][_0x4bd82c(0x20d)](this['unitID']);}[_0x2c702b(0x456)](){const _0x56b802=_0x2c702b;this[_0x56b802(0x580)]['incrementRevForDocument'](this[_0x56b802(0x2fa)]);}[_0x2c702b(0x27b)](_0x2e7125){const _0x282934=_0x2c702b;var _0x4ac5ea;const _0x195453=this['_transformRemoteChangesetByIMECache'](_0x2e7125),_0x18e5e5=_0x59f65f[_0x282934(0x4b6)](_0x195453[_0x282934(0x31c)],this[_0x282934(0x567)],{'fromCollab':!0x0});if(!_0x18e5e5[_0x282934(0x430)])throw _0x18e5e5[_0x282934(0x538)]instanceof Error?_0x18e5e5['error']:new Error((_0x4ac5ea=_0x18e5e5['error'])!=null?_0x4ac5ea:'[CollaborationState]:\x20apply\x20error!');this[_0x282934(0x598)](_0x195453),this[_0x282934(0x435)](_0x2e7125),this['_transformSelections'](_0x195453),this['_syncEditingCollabCursor'](_0x195453),this[_0x282934(0x456)]();}}let _0x4954a5=class extends _0x27e376{constructor(_0x2199e6,_0x494261,_0x1be37e,_0x5e9408,_0x119631,_0x263308,_0x16bbdc,_0x5ae3ee,_0x32ccf9,_0x2d9091){const _0x374386=_0x2c702b;super(_0x2199e6,_0x494261,null,[],_0x1be37e,_0x5ae3ee,_0x16bbdc,_0x5e9408,_0x119631),_0x191e33(this,'status',_0x374386(0x532)),(this[_0x374386(0x232)]=_0x263308,this[_0x374386(0x591)]=_0x32ccf9,this[_0x374386(0x586)]=_0x2d9091);}[_0x2c702b(0x4de)](_0x516bb1){const _0x21c368=_0x2c702b,_0x3f5b99=this[_0x21c368(0x232)][_0x21c368(0x4fe)](_0x206511,this['unitID'],this[_0x21c368(0x375)],[_0x516bb1],this['_handler']);return _0x3f5b99[_0x21c368(0x400)](),_0x3f5b99[_0x21c368(0x46e)](),_0x3f5b99;}['onRemoteChangeset'](_0x39cc8f){const _0x237a1c=_0x2c702b;if(this['_checkMissing'](_0x39cc8f))return this['_injector']['createInstance'](_0x374d11,this['unitID'],this[_0x237a1c(0x375)],null,[],null,[_0x39cc8f],this[_0x237a1c(0x1db)]);try{const _0x4447cc=this[_0x237a1c(0x586)]['transformMutationsWithChangeset'](_0x39cc8f,[_0x27ce16]);if(_0x4c33ab[_0x237a1c(0x1c8)](_0x4447cc)){const {c1Prime:_0x619e97}=_0x4447cc;return this[_0x237a1c(0x27b)](_0x619e97),this;}throw _0x4447cc['error'];}catch(_0xf9a567){return this[_0x237a1c(0x591)][_0x237a1c(0x538)](_0xf9a567),this[_0x237a1c(0x4ed)](!0x1);}}[_0x2c702b(0x4ed)](_0x5225e4){const _0x3df92d=_0x2c702b;return this['_injector']['createInstance'](_0x145032,this[_0x3df92d(0x2fa)],this[_0x3df92d(0x375)],null,[],this[_0x3df92d(0x1db)],_0x5225e4);}['onRemoteAck'](){const _0x16e7e5=_0x2c702b;throw new Error(_0x16e7e5(0x2bc));}[_0x2c702b(0x264)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x2c702b(0x3ed)](){const _0x5e30ef=_0x2c702b;return this[_0x5e30ef(0x232)][_0x5e30ef(0x4fe)](_0x4db5a8,this[_0x5e30ef(0x2fa)],this[_0x5e30ef(0x375)],null,[],this[_0x5e30ef(0x1db)]);}['toggleOnline'](){return this;}[_0x2c702b(0x38e)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}};_0x4954a5=_0x429298([_0x5094be(0x3,_0x59f65f['Inject'](_0x4c33ab[_0x2c702b(0x23b)])),_0x5094be(0x4,_0x59f65f[_0x2c702b(0x57e)](_0x21561b[_0x2c702b(0x293)])),_0x5094be(0x5,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x5094be(0x6,_0x59f65f['IUndoRedoService']),_0x5094be(0x7,_0x59f65f['ICommandService']),_0x5094be(0x8,_0x59f65f[_0x2c702b(0x5a5)]),_0x5094be(0x9,_0x4c33ab[_0x2c702b(0x419)])],_0x4954a5);let _0x206511=class extends _0x27e376{constructor(_0x123658,_0x486648,_0x222d06,_0x3533ee,_0xeb2afc,_0x4104b3,_0x52ce59,_0x1a3829,_0x3ef2d2,_0x925e94,_0x58c0c3,_0x66ba0b,_0x2ec786,_0x2eda88){const _0x555ae1=_0x2c702b;super(_0x123658,_0x486648,null,_0x222d06,_0x3533ee,_0x925e94,_0x2eda88,_0x4104b3,_0x52ce59),_0x191e33(this,_0x555ae1(0x563),_0x555ae1(0x524)),_0x191e33(this,_0x555ae1(0x2e6),null),_0x191e33(this,_0x555ae1(0x453),null),(this['_injector']=_0xeb2afc,this[_0x555ae1(0x327)]=_0x1a3829,this['_logService']=_0x3ef2d2,this[_0x555ae1(0x2a3)]=_0x58c0c3,this[_0x555ae1(0x586)]=_0x66ba0b,this[_0x555ae1(0x54c)]=_0x2ec786);}[_0x2c702b(0x4de)](_0x340ccb){const _0x528227=_0x2c702b;return this[_0x528227(0x2d4)]['push'](_0x340ccb),this[_0x528227(0x46e)](),this;}[_0x2c702b(0x3da)](_0x51dab1){const _0x4da2e9=_0x2c702b;if(this[_0x4da2e9(0x254)](_0x51dab1))return this[_0x4da2e9(0x5be)](),this[_0x4da2e9(0x232)][_0x4da2e9(0x4fe)](_0x374d11,this[_0x4da2e9(0x2fa)],this['type'],null,this[_0x4da2e9(0x2d4)],null,[_0x51dab1],this[_0x4da2e9(0x1db)]);try{const _0x455c0e=this[_0x4da2e9(0x586)][_0x4da2e9(0x201)](_0x51dab1,this[_0x4da2e9(0x2d4)]);if(_0x4c33ab['isTransformMutationsWithChangesetSuccess'](_0x455c0e)){const {c1Prime:_0x2523d6,m2Prime:_0x39f472}=_0x455c0e;this[_0x4da2e9(0x27b)](_0x2523d6);const _0x22b652=this[_0x4da2e9(0x232)][_0x4da2e9(0x4fe)](_0x206511,this[_0x4da2e9(0x2fa)],this['type'],_0x39f472,this[_0x4da2e9(0x1db)]);return this[_0x4da2e9(0x5be)](),_0x22b652[_0x4da2e9(0x400)](this['_scheduleTimestamp']?Math['max'](0x0,new Date()[_0x4da2e9(0x22c)]()-this[_0x4da2e9(0x2e6)]):this[_0x4da2e9(0x2d6)]()),_0x22b652;}throw _0x455c0e[_0x4da2e9(0x538)];}catch(_0x13e6ed){return this['_logService'][_0x4da2e9(0x538)](_0x13e6ed),this[_0x4da2e9(0x4ed)](!0x1);}}[_0x2c702b(0x1cd)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x2c702b(0x264)](){const _0x43d21b=_0x2c702b;throw new Error(_0x43d21b(0x340));}[_0x2c702b(0x3ed)](){const _0x469fd4=_0x2c702b;return this[_0x469fd4(0x5be)](),this[_0x469fd4(0x232)][_0x469fd4(0x4fe)](_0x4db5a8,this[_0x469fd4(0x2fa)],this[_0x469fd4(0x375)],null,this[_0x469fd4(0x2d4)],this[_0x469fd4(0x1db)]);}['toggleOnline'](){return this;}[_0x2c702b(0x400)](_0x2b9230){const _0x4b38bb=_0x2c702b;_0x2b9230=_0x2b9230!=null?_0x2b9230:this[_0x4b38bb(0x2d6)](),this[_0x4b38bb(0x2e6)]=new Date()[_0x4b38bb(0x22c)](),this[_0x4b38bb(0x453)]=setTimeout(()=>{const _0x131f2c=_0x4b38bb;this['_clearScheduledTask']();let _0x4afaa4=null;switch(this['type']){case _0x2e0d9e[_0x131f2c(0x46b)]:{_0x4afaa4=_0x424cd5(this[_0x131f2c(0x2d4)],this[_0x131f2c(0x2fa)],this['_univerInstanceService'],this[_0x131f2c(0x580)],this['_memberService']);break;}case _0x2e0d9e[_0x131f2c(0x525)]:{this['_pendingMutations']['every'](_0x2ff5da=>_0x2ff5da['id']===_0x28f26c[_0x131f2c(0x2a4)]['id'])?_0x4afaa4=_0x4ce683(this[_0x131f2c(0x2d4)],this['unitID'],this['_univerInstanceService'],this[_0x131f2c(0x580)],this[_0x131f2c(0x327)]):_0x4afaa4=_0x424cd5(this['_pendingMutations'],this[_0x131f2c(0x2fa)],this[_0x131f2c(0x54c)],this['_revisionService'],this[_0x131f2c(0x327)]);break;}default:throw new Error(_0x131f2c(0x570)+this[_0x131f2c(0x375)]+_0x131f2c(0x328));}const {changeset:_0x36e142,pendingMutations:_0x1de409}=_0x4afaa4;this[_0x131f2c(0x1db)][_0x131f2c(0x1e6)](_0x36e142);const _0xb185b5=_0x1de409[_0x131f2c(0x493)]?this[_0x131f2c(0x232)][_0x131f2c(0x4fe)](_0x53a515,this[_0x131f2c(0x2fa)],this[_0x131f2c(0x375)],_0x36e142,_0x1de409,this[_0x131f2c(0x1db)]):this[_0x131f2c(0x232)]['createInstance'](_0xd8c813,this[_0x131f2c(0x2fa)],this[_0x131f2c(0x375)],_0x36e142,this[_0x131f2c(0x1db)]);_0xb185b5[_0x131f2c(0x46e)](),this['_handler'][_0x131f2c(0x3b4)](this,_0xb185b5);},_0x2b9230);}['_getSendChangesetTimeout'](){const _0xebc02f=_0x2c702b;var _0xc03ea4;return(_0xc03ea4=this[_0xebc02f(0x2a3)][_0xebc02f(0x330)](_0x577ef8))!=null?_0xc03ea4:0x7d0;}['resend'](){const _0x29aae3=_0x2c702b;throw new Error(_0x29aae3(0x39a));}[_0x2c702b(0x5be)](){const _0xfe9d98=_0x2c702b;this['_sendingTimer']!=null&&(clearTimeout(this[_0xfe9d98(0x453)]),this['_sendingTimer']=null);}['_onConflict'](_0x39e0ce){const _0x463f31=_0x2c702b;return this['_clearScheduledTask'](),this[_0x463f31(0x232)][_0x463f31(0x4fe)](_0x145032,this[_0x463f31(0x2fa)],this['type'],null,this[_0x463f31(0x2d4)],this[_0x463f31(0x1db)],_0x39e0ce);}};_0x206511=_0x429298([_0x5094be(0x4,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f['Injector'])),_0x5094be(0x5,_0x59f65f[_0x2c702b(0x57e)](_0x4c33ab[_0x2c702b(0x23b)])),_0x5094be(0x6,_0x59f65f[_0x2c702b(0x57e)](_0x21561b[_0x2c702b(0x293)])),_0x5094be(0x7,_0x59f65f[_0x2c702b(0x57e)](_0x1137aa)),_0x5094be(0x8,_0x59f65f[_0x2c702b(0x5a5)]),_0x5094be(0x9,_0x59f65f[_0x2c702b(0x4b7)]),_0x5094be(0xa,_0x59f65f[_0x2c702b(0x39d)]),_0x5094be(0xb,_0x4c33ab['ITransformService']),_0x5094be(0xc,_0x59f65f[_0x2c702b(0x350)]),_0x5094be(0xd,_0x59f65f['IUndoRedoService'])],_0x206511);let _0xd8c813=class extends _0x27e376{constructor(_0x5d3931,_0x2c9580,_0x2606d2,_0x592e3a,_0x154302,_0x18b869,_0x457bac,_0x494da9,_0x1a0b60,_0xd792eb,_0x4ea66e){const _0x12fc45=_0x2c702b;super(_0x5d3931,_0x2c9580,_0x2606d2,[],_0x592e3a,_0x494da9,_0x4ea66e,_0x18b869,_0x457bac),_0x191e33(this,_0x12fc45(0x563),'awaiting'),(this[_0x12fc45(0x232)]=_0x154302,this[_0x12fc45(0x591)]=_0x1a0b60,this[_0x12fc45(0x586)]=_0xd792eb);}[_0x2c702b(0x4de)](_0x2a6d65){const _0x5a7436=_0x2c702b,_0x42238f=this[_0x5a7436(0x232)][_0x5a7436(0x4fe)](_0x53a515,this[_0x5a7436(0x2fa)],this[_0x5a7436(0x375)],this['_awaitingChangeset'],[_0x2a6d65],this[_0x5a7436(0x1db)]);return _0x42238f['_updateLocalCache'](),_0x42238f;}['onRemoteChangeset'](_0x5c29c1){const _0x5afcae=_0x2c702b;if(this[_0x5afcae(0x254)](_0x5c29c1))return this[_0x5afcae(0x232)][_0x5afcae(0x4fe)](_0x374d11,this[_0x5afcae(0x2fa)],this[_0x5afcae(0x375)],this[_0x5afcae(0x2fd)],[],null,[_0x5c29c1],this['_handler']);try{const _0x36fdb5=this[_0x5afcae(0x586)]['transformChangesets']([_0x5c29c1],[this['_awaitingChangeset']],!0x1);if(_0x4c33ab[_0x5afcae(0x540)](_0x36fdb5)){const {c1Prime:_0xb6531e,c2Prime:_0x346562}=_0x36fdb5;this['_executeRemoteChangeset'](_0xb6531e[0x0]),_0x346562[0x0][_0x5afcae(0x378)]=this[_0x5afcae(0x3e8)]();const _0x56e6d8=this[_0x5afcae(0x232)][_0x5afcae(0x4fe)](_0xd8c813,this['unitID'],this['type'],_0x346562[0x0],this['_handler']);return _0x56e6d8[_0x5afcae(0x46e)](),_0x56e6d8;}return this['_onConflict'](!0x1);}catch(_0x143698){return this['_logService']['error'](_0x143698),this[_0x5afcae(0x4ed)](!0x1);}}[_0x2c702b(0x1cd)](_0xe524dc){const _0x269998=_0x2c702b,_0x4f828e=this[_0x269998(0x580)][_0x269998(0x20d)](this[_0x269998(0x2fa)]);if(_0xe524dc['revision']<_0x4f828e-0x1)return this;if(this['_checkMissing'](_0xe524dc))return this[_0x269998(0x232)][_0x269998(0x4fe)](_0x374d11,this['unitID'],this[_0x269998(0x375)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x269998(0x456)]();const _0x55c858=this[_0x269998(0x232)]['createInstance'](_0x4954a5,this[_0x269998(0x2fa)],this[_0x269998(0x375)],this['_handler']);return _0x55c858[_0x269998(0x46e)](),_0x55c858;}[_0x2c702b(0x264)](_0x4848c1){const _0x13c972=_0x2c702b;return this['_onConflict'](!!(_0x4848c1!=null&&_0x4848c1[_0x13c972(0x30a)]));}[_0x2c702b(0x3ed)](){const _0x3c1d22=_0x2c702b;return this['_injector'][_0x3c1d22(0x4fe)](_0x4db5a8,this[_0x3c1d22(0x2fa)],this['type'],this[_0x3c1d22(0x2fd)],[],this[_0x3c1d22(0x1db)]);}[_0x2c702b(0x240)](){return this;}[_0x2c702b(0x38e)](){const _0x240fa0=_0x2c702b;this[_0x240fa0(0x1db)][_0x240fa0(0x1e6)](this[_0x240fa0(0x2fd)]);}[_0x2c702b(0x4ed)](_0x175454){const _0x2d587f=_0x2c702b;return this['_injector'][_0x2d587f(0x4fe)](_0x145032,this['unitID'],this['type'],this['_awaitingChangeset'],[],this['_handler'],_0x175454);}};_0xd8c813=_0x429298([_0x5094be(0x4,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x5094be(0x5,_0x59f65f[_0x2c702b(0x57e)](_0x4c33ab['RevisionService'])),_0x5094be(0x6,_0x59f65f['Inject'](_0x21561b[_0x2c702b(0x293)])),_0x5094be(0x7,_0x59f65f[_0x2c702b(0x4b7)]),_0x5094be(0x8,_0x59f65f[_0x2c702b(0x5a5)]),_0x5094be(0x9,_0x4c33ab[_0x2c702b(0x419)]),_0x5094be(0xa,_0x59f65f[_0x2c702b(0x21e)])],_0xd8c813);let _0x53a515=class extends _0x27e376{constructor(_0x270725,_0xab802e,_0x4add44,_0x2c0efc,_0x497852,_0x479086,_0x12174d,_0xfce096,_0xed1432,_0xee6f4f,_0x712564,_0x3ddd7d){const _0x448c2c=_0x2c702b;super(_0x270725,_0xab802e,_0x4add44,_0x2c0efc,_0x497852,_0xed1432,_0x3ddd7d,_0x12174d,_0xfce096),_0x191e33(this,_0x448c2c(0x563),'awaiting_with_pending'),(this['_injector']=_0x479086,this[_0x448c2c(0x591)]=_0xee6f4f,this[_0x448c2c(0x586)]=_0x712564);}[_0x2c702b(0x4de)](_0x3b71cc){const _0x27dccf=_0x2c702b;return this[_0x27dccf(0x2d4)][_0x27dccf(0x2ba)](_0x3b71cc),this;}['onRemoteChangeset'](_0x59c8a5){const _0xdc6a00=_0x2c702b;if(this[_0xdc6a00(0x254)](_0x59c8a5))return this[_0xdc6a00(0x232)][_0xdc6a00(0x4fe)](_0x374d11,this[_0xdc6a00(0x2fa)],this[_0xdc6a00(0x375)],this[_0xdc6a00(0x2fd)],this['_pendingMutations'],null,[_0x59c8a5],this[_0xdc6a00(0x1db)]);try{const _0x4b020b=this[_0xdc6a00(0x586)][_0xdc6a00(0x41e)]([_0x59c8a5],[this[_0xdc6a00(0x2fd)]],!0x1);if(_0x4c33ab[_0xdc6a00(0x540)](_0x4b020b)){const {c1Prime:_0x29f152,c2Prime:_0x53eeca}=_0x4b020b,_0x17cada=this[_0xdc6a00(0x586)][_0xdc6a00(0x201)](_0x29f152[0x0],this['_pendingMutations']);if(_0x4c33ab['isTransformMutationsWithChangesetSuccess'](_0x17cada)){const {c1Prime:_0x4595fb,m2Prime:_0x3f5f58}=_0x17cada;return this['_executeRemoteChangeset'](_0x4595fb),_0x53eeca[0x0]['baseRev']=this[_0xdc6a00(0x3e8)](),this[_0xdc6a00(0x232)]['createInstance'](_0x53a515,this[_0xdc6a00(0x2fa)],this[_0xdc6a00(0x375)],_0x53eeca[0x0],_0x3f5f58,this[_0xdc6a00(0x1db)]);}throw _0x17cada[_0xdc6a00(0x538)];}throw _0x4b020b[_0xdc6a00(0x538)];}catch(_0x316639){return this[_0xdc6a00(0x591)][_0xdc6a00(0x538)](_0x316639),this[_0xdc6a00(0x4ed)](!0x1);}}[_0x2c702b(0x1cd)](_0x5c9d7c){const _0x17144d=_0x2c702b;if(this['_checkMissing'](_0x5c9d7c))return this[_0x17144d(0x232)][_0x17144d(0x4fe)](_0x374d11,this[_0x17144d(0x2fa)],this['type'],null,this['_pendingMutations'],this[_0x17144d(0x2fd)],[],this['_handler']);this[_0x17144d(0x456)]();const _0xd857b2=this[_0x17144d(0x232)][_0x17144d(0x4fe)](_0x206511,this['unitID'],this['type'],this[_0x17144d(0x2d4)],this[_0x17144d(0x1db)]);return _0xd857b2[_0x17144d(0x400)](),_0xd857b2[_0x17144d(0x46e)](),_0xd857b2;}[_0x2c702b(0x264)](_0x3cc37d){const _0x4a4b37=_0x2c702b;return this[_0x4a4b37(0x4ed)](!!(_0x3cc37d!=null&&_0x3cc37d[_0x4a4b37(0x30a)]));}[_0x2c702b(0x3ed)](){const _0x4356f1=_0x2c702b;return this[_0x4356f1(0x232)][_0x4356f1(0x4fe)](_0x4db5a8,this[_0x4356f1(0x2fa)],this[_0x4356f1(0x375)],this[_0x4356f1(0x2fd)],this[_0x4356f1(0x2d4)],this[_0x4356f1(0x1db)]);}['toggleOnline'](){return this;}[_0x2c702b(0x38e)](){const _0x2a7f4d=_0x2c702b;this[_0x2a7f4d(0x1db)][_0x2a7f4d(0x1e6)](this[_0x2a7f4d(0x2fd)]);}[_0x2c702b(0x4ed)](_0x268d36){const _0x4dce8a=_0x2c702b;return this[_0x4dce8a(0x232)]['createInstance'](_0x145032,this[_0x4dce8a(0x2fa)],this[_0x4dce8a(0x375)],null,this[_0x4dce8a(0x2d4)],this[_0x4dce8a(0x1db)],_0x268d36);}};_0x53a515=_0x429298([_0x5094be(0x5,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x5094be(0x6,_0x59f65f[_0x2c702b(0x57e)](_0x4c33ab[_0x2c702b(0x23b)])),_0x5094be(0x7,_0x59f65f[_0x2c702b(0x57e)](_0x21561b[_0x2c702b(0x293)])),_0x5094be(0x8,_0x59f65f[_0x2c702b(0x4b7)]),_0x5094be(0x9,_0x59f65f[_0x2c702b(0x5a5)]),_0x5094be(0xa,_0x4c33ab[_0x2c702b(0x419)]),_0x5094be(0xb,_0x59f65f[_0x2c702b(0x21e)])],_0x53a515);let _0x145032=class extends _0x27e376{constructor(_0x2bd84e,_0x1d72e1,_0x45ad59,_0x4fbe1b,_0x1fd74d,_0xf3ffc9=!0x1,_0x279eea,_0x58d6cc,_0x35b46b,_0x570a84,_0x3f774e,_0x93e543,_0x43c809){const _0x95736=_0x2c702b;super(_0x2bd84e,_0x1d72e1,_0x45ad59,_0x4fbe1b,_0x1fd74d,_0x58d6cc,_0x35b46b,_0x3f774e,_0x570a84),_0x191e33(this,_0x95736(0x563),'conflict'),(this[_0x95736(0x5c4)]=_0xf3ffc9,this[_0x95736(0x1fd)]=_0x279eea,this[_0x95736(0x547)]=_0x93e543,this[_0x95736(0x35a)]=_0x43c809,this['_showConflictNotification'](),this[_0x95736(0x41b)](),this[_0x95736(0x568)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x2c702b(0x1cd)](){return this;}['onRemoteRej'](){return this;}[_0x2c702b(0x3ed)](){return this;}[_0x2c702b(0x240)](){return this;}[_0x2c702b(0x38e)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){const _0x4f1bc3=_0x2c702b;this[_0x4f1bc3(0x43a)][_0x4f1bc3(0x57f)](this[_0x4f1bc3(0x2fa)],this['type'],null,[]);}['_showConflictNotification'](){const _0x1bfb4f=_0x2c702b;this[_0x1bfb4f(0x5c4)]?this['_notificationService'][_0x1bfb4f(0x272)]({'title':this['_localeService']['t'](_0x1bfb4f(0x317)),'content':this['_localeService']['t'](_0x1bfb4f(0x25f)),'type':_0x1bfb4f(0x538),'duration':0x0}):this['_notificationService'][_0x1bfb4f(0x272)]({'title':this['_localeService']['t'](_0x1bfb4f(0x4aa)),'content':this[_0x1bfb4f(0x547)]['t'](_0x1bfb4f(0x52d)),'type':_0x1bfb4f(0x538),'duration':0x0});}['_disableEditing'](){const _0xa83d92=_0x2c702b;this['_permissionService'][_0xa83d92(0x372)](new _0x5dba16['WorkbookEditablePermission'](this[_0xa83d92(0x2fa)])['id'],!0x1);}};_0x145032=_0x429298([_0x5094be(0x6,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f['IPermissionService'])),_0x5094be(0x7,_0x59f65f[_0x2c702b(0x4b7)]),_0x5094be(0x8,_0x59f65f[_0x2c702b(0x21e)]),_0x5094be(0x9,_0x59f65f[_0x2c702b(0x57e)](_0x21561b[_0x2c702b(0x293)])),_0x5094be(0xa,_0x59f65f['Inject'](_0x4c33ab[_0x2c702b(0x23b)])),_0x5094be(0xb,_0x59f65f['Inject'](_0x59f65f[_0x2c702b(0x1cf)])),_0x5094be(0xc,_0x40690c[_0x2c702b(0x520)])],_0x145032);let _0x4db5a8=class extends _0x27e376{constructor(_0xa52673,_0x24de48,_0x2af2df,_0x307d9f,_0x1a6931,_0xea5294,_0x11d445,_0x34f168,_0x36eeaf,_0xef2280){const _0x28377b=_0x2c702b;super(_0xa52673,_0x24de48,_0x2af2df,_0x307d9f,_0x1a6931,_0x36eeaf,_0xef2280,_0x11d445,_0x34f168),_0x191e33(this,_0x28377b(0x563),'offline'),this[_0x28377b(0x232)]=_0xea5294;}[_0x2c702b(0x4de)](_0x4e2539){const _0x30be8c=_0x2c702b;return this['_pendingMutations'][_0x30be8c(0x2ba)](_0x4e2539),this[_0x30be8c(0x46e)](),this;}['onRemoteChangeset'](_0xc1cb7e){const _0x18bccf=_0x2c702b;throw new Error(_0x18bccf(0x3a3));}[_0x2c702b(0x1cd)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0xf013a2=_0x2c702b;throw new Error(_0xf013a2(0x590));}[_0x2c702b(0x3ed)](){return this;}[_0x2c702b(0x240)](){const {_injector:_0x4e494b,_pendingMutations:_0x507633,_awaitingChangeset:_0x278996,unitID:_0x3920a5,_handler:_0x371955,type:_0x157728}=this,_0x2a5add=_0x4e03af(_0x4e494b,_0x3920a5,_0x157728,_0x278996,_0x507633,_0x371955);return _0x2a5add instanceof _0x206511?_0x2a5add['_schedule']():(_0x2a5add instanceof _0x53a515||_0x2a5add instanceof _0xd8c813)&&_0x2a5add['resend'](),_0x2a5add;}[_0x2c702b(0x38e)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};_0x4db5a8=_0x429298([_0x5094be(0x5,_0x59f65f['Inject'](_0x59f65f[_0x2c702b(0x45d)])),_0x5094be(0x6,_0x59f65f[_0x2c702b(0x57e)](_0x4c33ab[_0x2c702b(0x23b)])),_0x5094be(0x7,_0x59f65f[_0x2c702b(0x57e)](_0x21561b[_0x2c702b(0x293)])),_0x5094be(0x8,_0x59f65f[_0x2c702b(0x4b7)]),_0x5094be(0x9,_0x59f65f[_0x2c702b(0x21e)])],_0x4db5a8);let _0x374d11=class extends _0x27e376{constructor(_0x36e023,_0x74507f,_0x2d5d9e,_0x388d62,_0x205c5b,_0x6d3011,_0x4c1994,_0xd52bbd,_0xde1523,_0x56c708,_0x37b0fa,_0x110bb3,_0x41ad41,_0x1b8c09){const _0x13f886=_0x2c702b;super(_0x36e023,_0x74507f,_0x2d5d9e,_0x388d62,_0x4c1994,_0x110bb3,_0x41ad41,_0xde1523,_0x56c708),_0x191e33(this,_0x13f886(0x563),'fetch_missing'),(this[_0x13f886(0x38b)]=_0x205c5b,this[_0x13f886(0x210)]=_0x6d3011,this[_0x13f886(0x232)]=_0xd52bbd,this[_0x13f886(0x591)]=_0x37b0fa,this[_0x13f886(0x586)]=_0x1b8c09);}[_0x2c702b(0x334)](_0x21b26b){const _0x3db3fe=_0x2c702b;try{const _0x5ec395=[..._0x21b26b,...this[_0x3db3fe(0x210)]],_0x390d37=[this[_0x3db3fe(0x2fd)]||this['_acknowledgedAwaitingChangeset']][_0x3db3fe(0x46c)](_0x4ec063=>!!_0x4ec063);let _0x587c19,_0x501a4d;if(_0x390d37[_0x3db3fe(0x493)]){const _0x2fd164=this['_transformService'][_0x3db3fe(0x41e)](_0x5ec395,_0x390d37,!0x1);if(!_0x4c33ab[_0x3db3fe(0x540)](_0x2fd164))throw _0x2fd164['error'];_0x587c19=_0x2fd164[_0x3db3fe(0x399)],_0x501a4d=_0x2fd164[_0x3db3fe(0x24b)];}else _0x587c19=_0x5ec395,_0x501a4d=[];let _0x5768bc=this[_0x3db3fe(0x2d4)];_0x587c19[_0x3db3fe(0x363)](_0x5a8c06=>{const _0x582c65=_0x3db3fe;let _0x10c4c3;if(_0x5768bc['length']){const _0x331d88=this[_0x582c65(0x586)]['transformMutationsWithChangeset'](_0x5a8c06,_0x5768bc);if(!_0x4c33ab['isTransformMutationsWithChangesetSuccess'](_0x331d88))throw _0x331d88['error'];_0x10c4c3=_0x331d88[_0x582c65(0x399)],_0x5768bc=_0x331d88[_0x582c65(0x505)];}else _0x10c4c3=_0x5a8c06;this['_executeRemoteChangeset'](_0x10c4c3);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x3db3fe(0x2fd)]&&_0x501a4d[_0x3db3fe(0x493)]&&(_0x501a4d[0x0][_0x3db3fe(0x378)]=this[_0x3db3fe(0x3e8)]());let _0x2fd19a;if(this[_0x3db3fe(0x2fd)]&&_0x5768bc['length']!==0x0)_0x2fd19a=this[_0x3db3fe(0x232)][_0x3db3fe(0x4fe)](_0x53a515,this[_0x3db3fe(0x2fa)],this[_0x3db3fe(0x375)],_0x501a4d[0x0],_0x5768bc,this[_0x3db3fe(0x1db)]);else{if(this['_awaitingChangeset']&&_0x5768bc[_0x3db3fe(0x493)]===0x0)_0x501a4d[0x0][_0x3db3fe(0x378)]=this[_0x3db3fe(0x3e8)](),_0x2fd19a=this[_0x3db3fe(0x232)][_0x3db3fe(0x4fe)](_0xd8c813,this[_0x3db3fe(0x2fa)],this['type'],_0x501a4d[0x0],this['_handler']);else{if(_0x5768bc[_0x3db3fe(0x493)]!==0x0){const _0xcf7e78=this[_0x3db3fe(0x232)][_0x3db3fe(0x4fe)](_0x206511,this[_0x3db3fe(0x2fa)],this[_0x3db3fe(0x375)],_0x5768bc,this[_0x3db3fe(0x1db)]);_0xcf7e78[_0x3db3fe(0x400)](),_0x2fd19a=_0xcf7e78;}else _0x2fd19a=this[_0x3db3fe(0x232)][_0x3db3fe(0x4fe)](_0x4954a5,this[_0x3db3fe(0x2fa)],this[_0x3db3fe(0x375)],this[_0x3db3fe(0x1db)]);}}return _0x2fd19a[_0x3db3fe(0x46e)](),_0x2fd19a;}catch(_0x5a5585){return this['_logService'][_0x3db3fe(0x538)](_0x3db3fe(0x4a5),'failed\x20to\x20apply\x20missed\x20changesets!',_0x5a5585),this[_0x3db3fe(0x232)][_0x3db3fe(0x4fe)](_0x145032,this['unitID'],this[_0x3db3fe(0x375)],this[_0x3db3fe(0x2fd)],this[_0x3db3fe(0x2d4)],this[_0x3db3fe(0x1db)],!0x1);}}[_0x2c702b(0x38e)](){const _0x3797d2=_0x2c702b;throw new Error(_0x3797d2(0x1fb));}[_0x2c702b(0x4de)](_0x4afe10){const _0x2f91fd=_0x2c702b;return this[_0x2f91fd(0x2d4)][_0x2f91fd(0x2ba)](_0x4afe10),this;}[_0x2c702b(0x3da)](_0x46d886){const _0x385f2f=_0x2c702b;return this[_0x385f2f(0x210)][_0x385f2f(0x2ba)](_0x46d886),this;}[_0x2c702b(0x1cd)](_0x4a846d){const _0x595b06=_0x2c702b;if(this[_0x595b06(0x2fd)])return this[_0x595b06(0x38b)]=this[_0x595b06(0x2fd)],this[_0x595b06(0x2fd)]=null,this;throw new Error(_0x595b06(0x42d));}['onRemoteRej'](_0xc0478a){const _0x19bfc6=_0x2c702b;return this['_onConflict'](!!(_0xc0478a!=null&&_0xc0478a[_0x19bfc6(0x30a)]));}[_0x2c702b(0x3ed)](){const _0x44e769=_0x2c702b;return this[_0x44e769(0x232)][_0x44e769(0x4fe)](_0x4db5a8,this[_0x44e769(0x2fa)],this[_0x44e769(0x375)],this['_awaitingChangeset'],this[_0x44e769(0x2d4)],this[_0x44e769(0x1db)]);}[_0x2c702b(0x240)](){return this;}[_0x2c702b(0x4ed)](_0x5f0dda){const _0x1d6928=_0x2c702b;return this[_0x1d6928(0x232)]['createInstance'](_0x145032,this['unitID'],this[_0x1d6928(0x375)],this[_0x1d6928(0x2fd)],this[_0x1d6928(0x2d4)],this[_0x1d6928(0x1db)],_0x5f0dda);}};_0x374d11=_0x429298([_0x5094be(0x7,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x5094be(0x8,_0x59f65f[_0x2c702b(0x57e)](_0x4c33ab[_0x2c702b(0x23b)])),_0x5094be(0x9,_0x59f65f[_0x2c702b(0x57e)](_0x21561b[_0x2c702b(0x293)])),_0x5094be(0xa,_0x59f65f[_0x2c702b(0x5a5)]),_0x5094be(0xb,_0x59f65f['ICommandService']),_0x5094be(0xc,_0x59f65f['IUndoRedoService']),_0x5094be(0xd,_0x4c33ab['ITransformService'])],_0x374d11);function _0x4e03af(_0x194299,_0xbb5e3f,_0x2ce4df,_0x24c653,_0x2377f1,_0x594e3b){const _0x565f36=_0x2c702b;return _0x24c653&&_0x2377f1[_0x565f36(0x493)]?_0x194299[_0x565f36(0x4fe)](_0x53a515,_0xbb5e3f,_0x2ce4df,_0x24c653,_0x2377f1,_0x594e3b):_0x24c653?_0x194299['createInstance'](_0xd8c813,_0xbb5e3f,_0x2ce4df,_0x24c653,_0x594e3b):_0x2377f1[_0x565f36(0x493)]?_0x194299[_0x565f36(0x4fe)](_0x206511,_0xbb5e3f,_0x2ce4df,_0x2377f1,_0x594e3b):_0x194299[_0x565f36(0x4fe)](_0x4954a5,_0xbb5e3f,_0x2ce4df,_0x594e3b);}var _0x3f4199=Object[_0x2c702b(0x227)],_0x594939=Object[_0x2c702b(0x294)],_0xd6560=(_0x4beb19,_0x3ce721,_0x5cce8d,_0x5b5dbd)=>{for(var _0x442de5=_0x5b5dbd>0x1?void 0x0:_0x5b5dbd?_0x594939(_0x3ce721,_0x5cce8d):_0x3ce721,_0x47ae23=_0x4beb19['length']-0x1,_0x434808;_0x47ae23>=0x0;_0x47ae23--)(_0x434808=_0x4beb19[_0x47ae23])&&(_0x442de5=(_0x5b5dbd?_0x434808(_0x3ce721,_0x5cce8d,_0x442de5):_0x434808(_0x442de5))||_0x442de5);return _0x5b5dbd&&_0x442de5&&_0x3f4199(_0x3ce721,_0x5cce8d,_0x442de5),_0x442de5;},_0x107bc5=(_0x174d25,_0x53e583)=>(_0x304cfd,_0x5a690d)=>_0x53e583(_0x304cfd,_0x5a690d,_0x174d25);_0x21561b['CollaborationController']=class extends _0x59f65f['RxDisposable']{constructor(_0x3ed047,_0x4a731c,_0xcfa976){const _0x5a5f15=_0x2c702b;super(),_0x191e33(this,'_entities',new Map()),_0x191e33(this,'_entityInit$',new _0x6d0798[(_0x5a5f15(0x2d1))]()),(this['_injector']=_0x3ed047,this[_0x5a5f15(0x228)]=_0x4a731c,this[_0x5a5f15(0x54c)]=_0xcfa976,this[_0x5a5f15(0x362)]());}[_0x2c702b(0x574)](){const _0x1f0b9e=_0x2c702b;super['dispose'](),this[_0x1f0b9e(0x25c)][_0x1f0b9e(0x363)](_0x220b62=>_0x220b62[_0x1f0b9e(0x574)]()),this[_0x1f0b9e(0x25c)][_0x1f0b9e(0x544)]();}['getCollabEntity'](_0x498243){const _0x1010ec=_0x2c702b;var _0x291773;return(_0x291773=this[_0x1010ec(0x25c)][_0x1010ec(0x2f7)](_0x498243))!=null?_0x291773:null;}['getCollabEntity$'](_0x217d0c){const _0x5bd7e2=_0x2c702b,_0x33951e=this['getCollabEntity'](_0x217d0c);return _0x33951e?_0x6d0798['of'](_0x33951e):this[_0x5bd7e2(0x23d)][_0x5bd7e2(0x47e)](_0x4e8b21[_0x5bd7e2(0x46c)](_0x4c190c=>_0x4c190c[_0x5bd7e2(0x2fa)]===_0x217d0c));}['_init'](){const _0x880905=_0x2c702b;this[_0x880905(0x54c)][_0x880905(0x2a2)](_0x59f65f[_0x880905(0x28f)][_0x880905(0x46b)])[_0x880905(0x47e)](_0x6d0798[_0x880905(0x397)](this[_0x880905(0x45e)]),_0x4e8b21['delay'](0x10))[_0x880905(0x41d)](async _0x9badf8=>{const _0x22c206=_0x880905,_0x16ea5c=_0x9badf8[_0x22c206(0x36b)](),_0x3510a6=await this[_0x22c206(0x277)](_0x16ea5c,_0x2e0d9e[_0x22c206(0x46b)]);this['_entities'][_0x22c206(0x407)](_0x16ea5c,_0x3510a6);}),this[_0x880905(0x54c)][_0x880905(0x2a2)](_0x59f65f['UniverInstanceType']['UNIVER_DOC'])['pipe'](_0x6d0798[_0x880905(0x397)](this[_0x880905(0x45e)]),_0x4e8b21[_0x880905(0x238)](0x10))['pipe'](_0x4e8b21['filter'](_0x4a29ba=>!_0x4a29ba['getUnitId']()[_0x880905(0x476)]('__')))[_0x880905(0x41d)](async _0x34de8d=>{const _0x399a16=_0x880905,_0x3c9d0b=_0x34de8d[_0x399a16(0x36b)](),_0x41ff8d=await this[_0x399a16(0x277)](_0x3c9d0b,_0x2e0d9e[_0x399a16(0x525)]);this[_0x399a16(0x25c)][_0x399a16(0x407)](_0x3c9d0b,_0x41ff8d);}),_0x6d0798['merge'](this[_0x880905(0x54c)][_0x880905(0x2be)](_0x59f65f[_0x880905(0x28f)][_0x880905(0x46b)]),this['_univerInstanceService'][_0x880905(0x2be)](_0x59f65f[_0x880905(0x28f)]['UNIVER_DOC']))[_0x880905(0x47e)](_0x6d0798[_0x880905(0x397)](this[_0x880905(0x45e)]))[_0x880905(0x41d)](_0x1aa940=>{const _0xc19661=_0x880905,_0x20efa0=_0x1aa940['getUnitId'](),_0x12b1d2=this[_0xc19661(0x25c)][_0xc19661(0x2f7)](_0x20efa0);_0x12b1d2&&(_0x12b1d2[_0xc19661(0x574)](),this['_entities']['delete'](_0x20efa0));});}async[_0x2c702b(0x277)](_0x125679,_0x4e516c){const _0x2a7393=_0x2c702b,_0x3d65c2=await this[_0x2a7393(0x228)]['requireSession'](_0x125679),_0x28c189=this[_0x2a7393(0x232)][_0x2a7393(0x4fe)](this[_0x2a7393(0x573)](_0x4e516c),_0x125679,_0x4e516c,_0x3d65c2);return await _0x28c189[_0x2a7393(0x5a2)](),this[_0x2a7393(0x23d)][_0x2a7393(0x577)](_0x28c189),_0x28c189;}['_getCtorByUniverType'](_0x4bd5e1){const _0x2c5c5b=_0x2c702b;switch(_0x4bd5e1){case _0x2e0d9e[_0x2c5c5b(0x525)]:return _0x212601;case _0x2e0d9e[_0x2c5c5b(0x46b)]:return _0x21561b[_0x2c5c5b(0x243)];default:throw new Error(_0x2c5c5b(0x28c)+_0x4bd5e1);}}},_0x21561b[_0x2c702b(0x569)]=_0xd6560([_0x59f65f[_0x2c702b(0x1ed)](_0x59f65f[_0x2c702b(0x1e5)]['Starting'],_0x21561b[_0x2c702b(0x569)]),_0x107bc5(0x0,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x107bc5(0x1,_0x59f65f[_0x2c702b(0x57e)](_0x21561b[_0x2c702b(0x42a)])),_0x107bc5(0x2,_0x59f65f[_0x2c702b(0x350)])],_0x21561b[_0x2c702b(0x569)]);let _0x2411a0=class extends _0x59f65f['RxDisposable']{constructor(_0x275dcd,_0x230a4c,_0xf4e387,_0x594d50,_0x39b937,_0x6bf55d,_0x33fe59,_0xc8f953,_0x3d05e0,_0x431fff,_0xfeaf15,_0x422182,_0x38c881){const _0x2edc7d=_0x2c702b;super(),_0x191e33(this,_0x2edc7d(0x3c0),new _0x6d0798[(_0x2edc7d(0x52f))](null)),_0x191e33(this,_0x2edc7d(0x3c9),this[_0x2edc7d(0x3c0)][_0x2edc7d(0x1c4)]()),_0x191e33(this,_0x2edc7d(0x464)),_0x191e33(this,'_collaborationPaused',!0x1),_0x191e33(this,_0x2edc7d(0x50f),this['state$']['pipe'](_0x4e8b21[_0x2edc7d(0x4a7)](_0x3616ca=>_0x3616ca?_0x3616ca[_0x2edc7d(0x563)]:_0x56e84e['OFFLINE']),_0x4e8b21[_0x2edc7d(0x3fc)](0x1))),_0x191e33(this,_0x2edc7d(0x217),!0x1),_0x191e33(this,_0x2edc7d(0x2e2),[]),(this[_0x2edc7d(0x2fa)]=_0x275dcd,this['_type']=_0x230a4c,this['_session']=_0xf4e387,this['_injector']=_0x594d50,this[_0x2edc7d(0x43a)]=_0x39b937,this[_0x2edc7d(0x582)]=_0x6bf55d,this['_localeService']=_0x33fe59,this[_0x2edc7d(0x580)]=_0xc8f953,this[_0x2edc7d(0x591)]=_0x3d05e0,this['_commandService']=_0x431fff,this[_0x2edc7d(0x30c)]=_0xfeaf15,this[_0x2edc7d(0x1fd)]=_0x422182,this['_singleActiveUnitService']=_0x38c881);}get[_0x2c702b(0x554)](){const _0x4e4e49=_0x2c702b;return this[_0x4e4e49(0x464)];}async[_0x2c702b(0x5a2)](){const _0x23606a=_0x2c702b;if(this[_0x23606a(0x554)])throw new Error(_0x23606a(0x2ce));await this['_init']();}[_0x2c702b(0x2a8)](){const _0x28d0a1=_0x2c702b;return this[_0x28d0a1(0x5b0)]=!0x0,_0x59f65f[_0x28d0a1(0x209)](()=>{const _0x299864=_0x28d0a1;this[_0x299864(0x5b0)]=!0x1,this[_0x299864(0x450)]();});}[_0x2c702b(0x29c)](_0x2e84f8){const _0x5ea05f=_0x2c702b;this[_0x5ea05f(0x464)]=_0x2e84f8,this['_state$']['next'](_0x2e84f8);}async[_0x2c702b(0x362)](){const _0x14ce4d=_0x2c702b;var _0x265b8c;return this['_updateState'](await this[_0x14ce4d(0x21a)]()),this['_singleActiveUnitService']&&((_0x265b8c=this[_0x14ce4d(0x572)])==null||_0x265b8c[_0x14ce4d(0x32c)](this['unitID']),this[_0x14ce4d(0x35f)](_0x59f65f[_0x14ce4d(0x209)](this[_0x14ce4d(0x572)][_0x14ce4d(0x592)](this[_0x14ce4d(0x2fa)])[_0x14ce4d(0x41d)](_0x1811ae=>{const _0x3a119a=_0x14ce4d;this[_0x3a119a(0x591)][_0x3a119a(0x386)](_0x3a119a(0x2d2),_0x3a119a(0x263),_0x1811ae),_0x1811ae===_0x13fe1f['OTHER_CLIENTS_EDITING']?(this[_0x3a119a(0x30c)][_0x3a119a(0x272)]({'content':this[_0x3a119a(0x547)]['t']('collaboration.single-unit.warning'),'type':_0x936b9e[_0x3a119a(0x51a)]['Warning']}),this[_0x3a119a(0x1fd)][_0x3a119a(0x372)](new _0x5dba16[(_0x3a119a(0x4a2))](this[_0x3a119a(0x2fa)])['id'],!0x1)):this[_0x3a119a(0x1fd)][_0x3a119a(0x372)](new _0x5dba16['WorkbookEditablePermission'](this[_0x3a119a(0x2fa)])['id'],!0x0);})))),this[_0x14ce4d(0x35f)](_0x59f65f[_0x14ce4d(0x209)](this[_0x14ce4d(0x2dc)][_0x14ce4d(0x2ad)][_0x14ce4d(0x41d)](_0xb42dc8=>{const _0xd05c5e=_0x14ce4d;_0xb42dc8===_0x29549f[_0xd05c5e(0x257)]?this[_0xd05c5e(0x323)]():_0xb42dc8===_0x29549f[_0xd05c5e(0x50a)]&&this['_toggleOffline']();}))),this[_0x14ce4d(0x35f)](_0x59f65f[_0x14ce4d(0x209)](this[_0x14ce4d(0x2dc)][_0x14ce4d(0x5c0)][_0x14ce4d(0x41d)](_0x5cb84d=>{const _0x4b947e=_0x14ce4d;try{switch(_0x5cb84d[_0x4b947e(0x50d)]){case _0x4c33ab[_0x4b947e(0x550)][_0x4b947e(0x1f9)]:{this['_onRemoteChangeset'](_0x4c33ab[_0x4b947e(0x51c)](_0x5cb84d[_0x4b947e(0x51d)]));break;}case _0x4c33ab[_0x4b947e(0x550)][_0x4b947e(0x2c6)]:{this[_0x4b947e(0x1c6)](_0x5cb84d['data']);break;}case _0x4c33ab['CollaborationEvent'][_0x4b947e(0x1f6)]:{this[_0x4b947e(0x3b9)]();break;}case _0x4c33ab[_0x4b947e(0x550)][_0x4b947e(0x299)]:{this[_0x4b947e(0x1d1)](_0x5cb84d[_0x4b947e(0x51d)]['changesets']['map'](_0x17a7be=>_0x4c33ab[_0x4b947e(0x51c)](_0x17a7be)));break;}case _0x4c33ab[_0x4b947e(0x550)][_0x4b947e(0x242)]:this[_0x4b947e(0x3b9)]({'isPermissionRej':!0x0});}}catch(_0x469b78){throw console[_0x4b947e(0x538)](_0x4b947e(0x2d3),_0x469b78),_0x469b78;}}))),this['_state'];}[_0x2c702b(0x1f0)](){const _0x6c993=_0x2c702b;this[_0x6c993(0x217)]=!0x1;}['_lockTransition'](){const _0x4991e7=_0x2c702b;if(this[_0x4991e7(0x217)])throw new Error(_0x4991e7(0x3c5));this[_0x4991e7(0x217)]=!0x0;}['_onLocalMutation'](_0x44ec07){const _0x11fffd=_0x2c702b;this[_0x11fffd(0x234)](),this[_0x11fffd(0x29c)](this[_0x11fffd(0x464)][_0x11fffd(0x4de)](_0x44ec07)),this['_unlockTransition']();}[_0x2c702b(0x414)](_0x3e12c2){const _0x50a89b=_0x2c702b;if(!(_0x3e12c2[_0x50a89b(0x50c)]<=this[_0x50a89b(0x580)][_0x50a89b(0x20d)](this['unitID']))){if(this[_0x50a89b(0x5b0)]){this['_remoteChangesetQueue'][_0x50a89b(0x2ba)](_0x3e12c2);return;}this[_0x50a89b(0x3e2)](_0x3e12c2);}}[_0x2c702b(0x450)](){const _0x5c4234=_0x2c702b;this['_remoteChangesetQueue']['forEach'](_0x5e348e=>this['_applyRemoteChangeset'](_0x5e348e)),this[_0x5c4234(0x2e2)]=[];}[_0x2c702b(0x3e2)](_0x1a08df){const _0x4e2a1c=_0x2c702b,_0x220d97=this[_0x4e2a1c(0x582)][_0x4e2a1c(0x3fa)][_0x4e2a1c(0x303)](this['_compressMutationService'][_0x4e2a1c(0x3fa)][_0x4e2a1c(0x4e8)]()[_0x4e2a1c(0x219)])(_0x1a08df['mutations'],null)||_0x1a08df[_0x4e2a1c(0x31c)],_0x3f3606={..._0x1a08df,'mutations':_0x220d97};this[_0x4e2a1c(0x234)](),this[_0x4e2a1c(0x29c)](this[_0x4e2a1c(0x464)][_0x4e2a1c(0x3da)](_0x3f3606)),this[_0x4e2a1c(0x1f0)]();}[_0x2c702b(0x1c6)](_0x351cb3){const _0x2c1b7b=_0x2c702b;this[_0x2c1b7b(0x234)](),this[_0x2c1b7b(0x29c)](this[_0x2c1b7b(0x464)][_0x2c1b7b(0x1cd)](_0x351cb3)),this[_0x2c1b7b(0x1f0)]();}['_onRemoteRejected'](_0x2eb475){const _0x30c83f=_0x2c702b;this[_0x30c83f(0x234)](),this[_0x30c83f(0x29c)](this[_0x30c83f(0x464)][_0x30c83f(0x264)](_0x2eb475)),this['_unlockTransition']();}['_onFetchMissResult'](_0x2a1a62){const _0x88f5c4=_0x2c702b;if(!(this[_0x88f5c4(0x464)]instanceof _0x374d11))throw new TypeError(_0x88f5c4(0x486));const _0x575e6a=_0x2a1a62[_0x88f5c4(0x4a7)](_0x446dd9=>{const _0x22f056=_0x88f5c4,_0x1e5264=this[_0x22f056(0x582)][_0x22f056(0x3fa)][_0x22f056(0x303)](this[_0x22f056(0x582)][_0x22f056(0x3fa)][_0x22f056(0x4e8)]()['COMPRESS_MUTATION_APPLY'])(_0x446dd9[_0x22f056(0x31c)],null)||_0x446dd9[_0x22f056(0x31c)];return{..._0x446dd9,'mutations':_0x1e5264};});this[_0x88f5c4(0x234)](),this[_0x88f5c4(0x29c)](this[_0x88f5c4(0x464)][_0x88f5c4(0x334)](_0x575e6a)),this[_0x88f5c4(0x1f0)]();}['_toggleOffline'](){const _0x5dde96=_0x2c702b;this['_lockTransition'](),this[_0x5dde96(0x29c)](this['_state'][_0x5dde96(0x3ed)]()),this['_unlockTransition']();}['_toggleOnline'](){const _0x167c67=_0x2c702b;this['_lockTransition'](),this[_0x167c67(0x29c)](this[_0x167c67(0x464)]['toggleOnline']()),this['_unlockTransition']();}async[_0x2c702b(0x21a)](){return new Promise(_0x503420=>{const _0x52ff4a=_0x50c2;this[_0x52ff4a(0x2dc)]['sessionStatus$']['pipe'](_0x4e8b21[_0x52ff4a(0x596)](0x1))[_0x52ff4a(0x41d)](async _0x5b559e=>{const _0x116b7d=_0x52ff4a;_0x503420(await this['_createInitialStateImpl'](_0x5b559e===_0x29549f[_0x116b7d(0x257)]));});});}['_createHandler'](){const _0x154e05=_0x2c702b,_0x524dca=this[_0x154e05(0x2fa)];return{'onStateChange':(_0xe0cef1,_0x15ff90)=>{const _0x2936e6=_0x154e05;if(_0xe0cef1!==this[_0x2936e6(0x464)])throw new Error(_0x2936e6(0x5a0)+_0xe0cef1[_0x2936e6(0x563)]+_0x2936e6(0x52e)+_0x15ff90[_0x2936e6(0x563)]+_0x2936e6(0x509)+this[_0x2936e6(0x464)][_0x2936e6(0x563)]);this[_0x2936e6(0x29c)](_0x15ff90);},'onSendChangeset':_0x3ea6b3=>{const _0x5bcfb2=_0x154e05,_0x2ce0ea={'eventID':_0x4c33ab['CollaborationEvent'][_0x5bcfb2(0x3b5)],'data':{'unitID':_0x3ea6b3[_0x5bcfb2(0x2fa)],'unitType':this[_0x5bcfb2(0x349)],'changeset':_0x3ea6b3,'memberID':this[_0x5bcfb2(0x2dc)][_0x5bcfb2(0x23f)]()}};this[_0x5bcfb2(0x2dc)][_0x5bcfb2(0x2ee)](_0x2ce0ea,this[_0x5bcfb2(0x2fa)]);},'onMissingChangesets':({from:_0x10ec5d,to:_0x230fb5})=>{const _0x55d594=_0x154e05;this['_logService'][_0x55d594(0x386)](_0x55d594(0x2d2),_0x55d594(0x1d3)+_0x10ec5d+_0x55d594(0x5a4)+_0x230fb5);const _0x59ed45={'eventID':_0x4c33ab['CollaborationEvent'][_0x55d594(0x292)],'data':{'unitID':_0x524dca,'unitType':this[_0x55d594(0x349)],'from':_0x10ec5d,'to':_0x230fb5}};this[_0x55d594(0x2dc)][_0x55d594(0x2ee)](_0x59ed45,this[_0x55d594(0x2fa)]);}};}async[_0x2c702b(0x3a9)](_0x1b4127){const _0x316250=_0x2c702b;var _0x1cf53b,_0x2aba2f;const _0x46560c=await this['_localCacheService'][_0x316250(0x5bf)](this[_0x316250(0x2fa)]),_0x23059c=(_0x1cf53b=_0x46560c==null?void 0x0:_0x46560c[_0x316250(0x31c)])!=null?_0x1cf53b:[],_0x3cc769=(_0x2aba2f=_0x46560c==null?void 0x0:_0x46560c[_0x316250(0x56f)])!=null?_0x2aba2f:null,_0x4da5f2=this[_0x316250(0x2fa)];try{this[_0x316250(0x33f)](_0x3cc769,_0x23059c);}catch(_0x2a5b12){this[_0x316250(0x591)][_0x316250(0x538)](_0x2a5b12);}const _0x5187c7=this[_0x316250(0x2cf)]();if(_0x1b4127){const _0xf81e54=_0x4e03af(this['_injector'],_0x4da5f2,this['_type'],_0x3cc769,_0x23059c,_0x5187c7);return _0xf81e54 instanceof _0x206511?_0xf81e54[_0x316250(0x400)]():(_0xf81e54 instanceof _0x53a515||_0xf81e54 instanceof _0xd8c813)&&_0xf81e54['resend'](),_0xf81e54;}return this[_0x316250(0x232)][_0x316250(0x4fe)](_0x4db5a8,_0x4da5f2,this[_0x316250(0x349)],_0x3cc769,_0x23059c,_0x5187c7);}['_replayCachedMutations'](_0x43795d,_0x1c5e1c){const _0x19fabc=_0x2c702b;var _0x1e7458,_0xc09ef0;const _0x1c1e32=this[_0x19fabc(0x582)][_0x19fabc(0x3fa)][_0x19fabc(0x303)](this[_0x19fabc(0x582)]['interceptor']['getInterceptPoints']()[_0x19fabc(0x219)]);(_0x1e7458=_0x1c1e32((_0x43795d==null?void 0x0:_0x43795d['mutations'])||[],null))==null||_0x1e7458['forEach'](_0x570115=>this[_0x19fabc(0x567)][_0x19fabc(0x22f)](_0x570115['id'],_0x570115['params'])),(_0xc09ef0=_0x1c1e32(_0x1c5e1c||[],null))==null||_0xc09ef0[_0x19fabc(0x363)](_0x33fa33=>this[_0x19fabc(0x567)][_0x19fabc(0x22f)](_0x33fa33['id'],_0x33fa33['params']));}};_0x2411a0=_0xd6560([_0x107bc5(0x3,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x107bc5(0x4,_0x59f65f['Inject'](_0x21561b['LocalCacheService'])),_0x107bc5(0x5,_0x59f65f['Inject'](_0x4c33ab['CompressMutationService'])),_0x107bc5(0x6,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x1cf)])),_0x107bc5(0x7,_0x59f65f[_0x2c702b(0x57e)](_0x4c33ab[_0x2c702b(0x23b)])),_0x107bc5(0x8,_0x59f65f['ILogService']),_0x107bc5(0x9,_0x59f65f['ICommandService']),_0x107bc5(0xa,_0x40690c[_0x2c702b(0x37f)]),_0x107bc5(0xb,_0x59f65f[_0x2c702b(0x1da)]),_0x107bc5(0xc,_0x59f65f[_0x2c702b(0x558)](_0x3c9dbb))],_0x2411a0);let _0x212601=class extends _0x2411a0{constructor(_0x409ec2,_0xfdd852,_0x307b40,_0x4530af,_0x54a48f,_0x5308f6,_0x2f6549,_0x48377e,_0x5c19af,_0x55e7ea,_0x39884d,_0xbf08b3,_0x284832,_0x2b48d7,_0x30ef98,_0x2108bd,_0x236ead){const _0x223b16=_0x2c702b;super(_0x409ec2,_0xfdd852,_0x307b40,_0x4530af,_0x54a48f,_0x5308f6,_0x2f6549,_0x48377e,_0x284832,_0x2b48d7,_0x30ef98,_0x2108bd,_0x236ead),this['unitID']=_0x409ec2,this['type']=_0xfdd852,this[_0x223b16(0x52c)]=_0x307b40,this[_0x223b16(0x469)]=_0x5c19af,this[_0x223b16(0x20e)]=_0x55e7ea,this[_0x223b16(0x373)]=_0x39884d,this[_0x223b16(0x5b1)]=_0xbf08b3;}[_0x2c702b(0x2cf)](){const _0x21fdac=_0x2c702b,_0x33fa0a=super['_createHandler']();return _0x33fa0a[_0x21fdac(0x35c)]=_0x5cda43=>this['_docTransformIMECacheService'][_0x21fdac(0x54e)](_0x5cda43),_0x33fa0a[_0x21fdac(0x279)]=_0x3102a4=>this[_0x21fdac(0x373)]['transformSelections'](_0x3102a4),_0x33fa0a[_0x21fdac(0x3bf)]=_0x3e7592=>this[_0x21fdac(0x5b1)][_0x21fdac(0x2f3)](_0x3e7592),_0x33fa0a[_0x21fdac(0x44d)]=_0x46acd3=>this[_0x21fdac(0x20e)][_0x21fdac(0x356)](_0x46acd3),_0x33fa0a;}async[_0x2c702b(0x362)](){const _0x2062de=_0x2c702b,_0x1fd662=await super['_init']();return this[_0x2062de(0x35f)](this[_0x2062de(0x567)][_0x2062de(0x444)]((_0x356b7e,_0x337e55)=>{const _0x5930ed=_0x2062de;if(_0x356b7e[_0x5930ed(0x375)]!==_0x59f65f[_0x5930ed(0x1f4)][_0x5930ed(0x555)]||_0x337e55!=null&&_0x337e55['fromCollab']||_0x337e55!=null&&_0x337e55['onlyLocal'])return;const _0x362669=_0x356b7e['params'];if((_0x362669==null?void 0x0:_0x362669[_0x5930ed(0x42b)])!==this[_0x5930ed(0x2fa)])return;let _0x53bb94=_0x356b7e;if(_0x53bb94['id']===_0x28f26c[_0x5930ed(0x2a4)]['id']){const _0xf35ed9=_0x53bb94[_0x5930ed(0x3e9)];_0x53bb94={'id':_0x28f26c[_0x5930ed(0x2a4)]['id'],'type':_0x59f65f[_0x5930ed(0x1f4)][_0x5930ed(0x555)],'params':{'unitId':_0xf35ed9['unitId'],'actions':_0xf35ed9[_0x5930ed(0x3d1)],'textRanges':null}};}const _0x13773e=this[_0x5930ed(0x582)][_0x5930ed(0x3fa)][_0x5930ed(0x303)](this[_0x5930ed(0x582)][_0x5930ed(0x3fa)][_0x5930ed(0x4e8)]()['COMPRESS_MUTATION_SEND'])([_0x53bb94],null)||[_0x53bb94];this[_0x5930ed(0x308)](_0x13773e[0x0]);})),_0x1fd662;}};_0x212601=_0xd6560([_0x107bc5(0x3,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x107bc5(0x4,_0x59f65f[_0x2c702b(0x57e)](_0x21561b[_0x2c702b(0x293)])),_0x107bc5(0x5,_0x59f65f[_0x2c702b(0x57e)](_0x4c33ab[_0x2c702b(0x5a8)])),_0x107bc5(0x6,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x1cf)])),_0x107bc5(0x7,_0x59f65f['Inject'](_0x4c33ab[_0x2c702b(0x23b)])),_0x107bc5(0x8,_0x59f65f[_0x2c702b(0x57e)](_0x28f26c['DocStateChangeManagerService'])),_0x107bc5(0x9,_0x59f65f['Inject'](_0x2e3636)),_0x107bc5(0xa,_0x59f65f['Inject'](_0x191131)),_0x107bc5(0xb,_0x59f65f['Inject'](_0x267a51)),_0x107bc5(0xc,_0x59f65f[_0x2c702b(0x5a5)]),_0x107bc5(0xd,_0x59f65f[_0x2c702b(0x4b7)]),_0x107bc5(0xe,_0x40690c[_0x2c702b(0x37f)]),_0x107bc5(0xf,_0x59f65f[_0x2c702b(0x1da)]),_0x107bc5(0x10,_0x59f65f[_0x2c702b(0x558)](_0x3c9dbb))],_0x212601),_0x21561b[_0x2c702b(0x243)]=class extends _0x2411a0{constructor(_0xcab7f6,_0x1a0203,_0x2f360f,_0xca7c25,_0x12d750,_0x2f133f,_0x5a35f7,_0x33935c,_0x3d6fb1,_0x8f2770,_0x5200ba,_0x130259,_0x2c258c,_0x57f7ed){const _0x539a64=_0x2c702b;super(_0xcab7f6,_0x1a0203,_0x2f360f,_0xca7c25,_0x12d750,_0x2f133f,_0x5a35f7,_0x33935c,_0x8f2770,_0x5200ba,_0x130259,_0x2c258c,_0x57f7ed),this['unitID']=_0xcab7f6,this[_0x539a64(0x375)]=_0x1a0203,this[_0x539a64(0x52c)]=_0x2f360f,this['_sheetTransformSelectionsService']=_0x3d6fb1;}[_0x2c702b(0x2cf)](){const _0x422032=_0x2c702b,_0x164cde=super[_0x422032(0x2cf)]();return _0x164cde[_0x422032(0x279)]=_0x57105c=>this['_sheetTransformSelectionsService'][_0x422032(0x46f)](_0x57105c),_0x164cde;}async['_init'](){const _0x2115f3=_0x2c702b,_0x2dbc0f=await super[_0x2115f3(0x362)]();return this[_0x2115f3(0x35f)](this['_commandService'][_0x2115f3(0x444)]((_0x4ca7a9,_0x45c20d)=>{const _0x5ced03=_0x2115f3;if(_0x4ca7a9[_0x5ced03(0x375)]!==_0x59f65f[_0x5ced03(0x1f4)][_0x5ced03(0x555)]||_0x45c20d!=null&&_0x45c20d['fromCollab']||_0x45c20d!=null&&_0x45c20d[_0x5ced03(0x258)])return;const _0x3afb1b=_0x4ca7a9[_0x5ced03(0x3e9)];if((_0x3afb1b==null?void 0x0:_0x3afb1b[_0x5ced03(0x42b)])!==this[_0x5ced03(0x2fa)])return;const _0x1d533c=_0x4ca7a9,_0x52bca0=this[_0x5ced03(0x582)][_0x5ced03(0x3fa)][_0x5ced03(0x303)](this['_compressMutationService'][_0x5ced03(0x3fa)][_0x5ced03(0x4e8)]()[_0x5ced03(0x40f)])([_0x1d533c],null)||[_0x1d533c];this[_0x5ced03(0x308)](_0x52bca0[0x0]);})),_0x2dbc0f;}},_0x21561b[_0x2c702b(0x243)]=_0xd6560([_0x107bc5(0x3,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x107bc5(0x4,_0x59f65f[_0x2c702b(0x57e)](_0x21561b['LocalCacheService'])),_0x107bc5(0x5,_0x59f65f[_0x2c702b(0x57e)](_0x4c33ab[_0x2c702b(0x5a8)])),_0x107bc5(0x6,_0x59f65f['Inject'](_0x59f65f['LocaleService'])),_0x107bc5(0x7,_0x59f65f[_0x2c702b(0x57e)](_0x4c33ab[_0x2c702b(0x23b)])),_0x107bc5(0x8,_0x59f65f[_0x2c702b(0x57e)](_0x44d70e)),_0x107bc5(0x9,_0x59f65f[_0x2c702b(0x5a5)]),_0x107bc5(0xa,_0x59f65f[_0x2c702b(0x4b7)]),_0x107bc5(0xb,_0x40690c['IMessageService']),_0x107bc5(0xc,_0x59f65f[_0x2c702b(0x1da)]),_0x107bc5(0xd,_0x59f65f[_0x2c702b(0x558)](_0x3c9dbb))],_0x21561b[_0x2c702b(0x243)]);const _0x3a9b65=['purple300',_0x2c702b(0x4ca),'verdancy600',_0x2c702b(0x204),_0x2c702b(0x4ba),_0x2c702b(0x314)];class _0x427206 extends _0x59f65f[_0x2c702b(0x416)]{constructor(){const _0x4cc97e=_0x2c702b;super(...arguments),_0x191e33(this,_0x4cc97e(0x306),new Map()),_0x191e33(this,_0x4cc97e(0x207),0x0);}[_0x2c702b(0x301)](_0x406679){const _0x5c7ac9=_0x2c702b;if(this[_0x5c7ac9(0x306)][_0x5c7ac9(0x35d)](_0x406679))return this[_0x5c7ac9(0x306)][_0x5c7ac9(0x2f7)](_0x406679);const _0x2d303b=_0x3a9b65[this['_colorIndex']];return this[_0x5c7ac9(0x207)]=(this[_0x5c7ac9(0x207)]+0x1)%_0x3a9b65['length'],this[_0x5c7ac9(0x306)][_0x5c7ac9(0x407)](_0x406679,_0x2d303b),_0x2d303b;}}var _0x123d30=Object[_0x2c702b(0x227)],_0x164575=Object[_0x2c702b(0x294)],_0x52de49=(_0x40d17d,_0x1aedf4,_0x422b56,_0x5f1708)=>{const _0x135589=_0x2c702b;for(var _0x5832b4=_0x5f1708>0x1?void 0x0:_0x5f1708?_0x164575(_0x1aedf4,_0x422b56):_0x1aedf4,_0x568fa9=_0x40d17d[_0x135589(0x493)]-0x1,_0x435e44;_0x568fa9>=0x0;_0x568fa9--)(_0x435e44=_0x40d17d[_0x568fa9])&&(_0x5832b4=(_0x5f1708?_0x435e44(_0x1aedf4,_0x422b56,_0x5832b4):_0x435e44(_0x5832b4))||_0x5832b4);return _0x5f1708&&_0x5832b4&&_0x123d30(_0x1aedf4,_0x422b56,_0x5832b4),_0x5832b4;},_0x1aae40=(_0x5e7e1a,_0x409108)=>(_0x2d579a,_0x226482)=>_0x409108(_0x2d579a,_0x226482,_0x5e7e1a);const _0x2b51db=0x12c,_0x2d4abc=0x64,_0x409c0d=()=>{let _0x5c5f5b=[],_0x2bfe73=!0x1;return _0x186fcf=>{const _0x3aa072=_0x50c2;_0x5c5f5b[_0x3aa072(0x2ba)](_0x186fcf),_0x2bfe73||(_0x2bfe73=!0x0,setTimeout(()=>{_0x5c5f5b['forEach'](_0x50d15a=>_0x50d15a()),_0x5c5f5b=[],_0x2bfe73=!0x1;}));};};let _0x3f9f76=class extends _0x59f65f[_0x2c702b(0x1e7)]{constructor(_0xde4054,_0x3fc472,_0x193414,_0x3358cf,_0x33c0c8,_0x5a6a06,_0xb17b4b,_0x4764bd){const _0x1b54c5=_0x2c702b;super(),_0x191e33(this,_0x1b54c5(0x2a1),!0x1),_0x191e33(this,_0x1b54c5(0x362),!0x1),_0x191e33(this,_0x1b54c5(0x259),new _0x6d0798[(_0x1b54c5(0x52f))](new Map())),_0x191e33(this,_0x1b54c5(0x20f),this['_cursorInfo$']['asObservable']()),_0x191e33(this,_0x1b54c5(0x4f7),new _0x6d0798[(_0x1b54c5(0x52f))]([])),_0x191e33(this,_0x1b54c5(0x438),this[_0x1b54c5(0x4f7)]['pipe'](_0x6d0798['debounceTime'](_0x2b51db))),_0x191e33(this,_0x1b54c5(0x2fc),_0x1a577b((_0x351157,_0x1e5070)=>{const _0x324751=_0x1b54c5,_0x1cb408={'eventID':_0x4c33ab[_0x324751(0x550)][_0x324751(0x266)],'data':{'unitID':this['unitID'],'memberID':this[_0x324751(0x2dc)][_0x324751(0x23f)](),'selection':_0x4bb840[_0x324751(0x36f)](_0x351157,_0x1e5070[_0x324751(0x55e)])}};this[_0x324751(0x2dc)]['send'](_0x1cb408,this[_0x324751(0x2fa)]);},_0x2d4abc)),(this[_0x1b54c5(0x2fa)]=_0xde4054,this['_session']=_0x3fc472,this[_0x1b54c5(0x232)]=_0x193414,this['_colorAssignService']=_0x3358cf,this[_0x1b54c5(0x327)]=_0x33c0c8,this[_0x1b54c5(0x54c)]=_0x5a6a06,this['_commandService']=_0xb17b4b,this[_0x1b54c5(0x5ac)]=_0x4764bd);}get[_0x2c702b(0x1cc)](){const _0x38fb7c=_0x2c702b;return this[_0x38fb7c(0x259)][_0x38fb7c(0x33b)]();}get[_0x2c702b(0x313)](){const _0x32309b=_0x2c702b;return this['_roomMembers$'][_0x32309b(0x33b)]();}[_0x2c702b(0x574)](){const _0x15ca30=_0x2c702b;super[_0x15ca30(0x574)](),this[_0x15ca30(0x259)]['next'](new Map()),this[_0x15ca30(0x259)]['complete'](),this[_0x15ca30(0x4f7)][_0x15ca30(0x577)]([]),this[_0x15ca30(0x4f7)][_0x15ca30(0x47c)]();}['init'](){const _0x2eddcc=_0x2c702b;this[_0x2eddcc(0x362)]||(this[_0x2eddcc(0x362)]=!0x0,this[_0x2eddcc(0x2dc)][_0x2eddcc(0x2ad)][_0x2eddcc(0x47e)](_0x6d0798[_0x2eddcc(0x397)](this['dispose$']))[_0x2eddcc(0x41d)](_0x3f8c18=>{const _0x1ec668=_0x2eddcc;_0x3f8c18===_0x29549f[_0x1ec668(0x257)]?this['_toggleOnline']():this[_0x1ec668(0x403)]();}),this[_0x2eddcc(0x2dc)][_0x2eddcc(0x5c0)]['pipe'](_0x6d0798['takeUntil'](this[_0x2eddcc(0x45e)]))[_0x2eddcc(0x41d)](_0xcae84f=>{const _0x52b783=_0x2eddcc,_0x29f399=_0xcae84f[_0x52b783(0x50d)];_0x29f399===_0x4c33ab[_0x52b783(0x550)][_0x52b783(0x266)]&&this['_onCursorUpdate'](_0xcae84f),_0x29f399===_0x4c33ab[_0x52b783(0x550)]['USERS_LEAVE']&&this['_onCursorDelete'](_0xcae84f);}),this[_0x2eddcc(0x501)](),this[_0x2eddcc(0x35f)](this[_0x2eddcc(0x567)][_0x2eddcc(0x444)](_0x1017ae=>{const _0x8b273d=_0x2eddcc;if(this[_0x8b273d(0x2a1)]&&_0x1017ae['id']===_0x5dba16[_0x8b273d(0x437)]['id']&&_0x1017ae[_0x8b273d(0x3e9)][_0x8b273d(0x42b)]===this['unitID']){const _0x49b723=_0x1017ae['params'];this[_0x8b273d(0x2fc)](_0x49b723[_0x8b273d(0x1ef)],_0x49b723[_0x8b273d(0x433)][0x0]);}})));}['_onCursorUpdate'](_0x568a45){const _0x19afb2=_0x2c702b;var _0x2e33a1,_0x304fb0;const {memberID:_0xaa25d0,selection:_0x506222}=_0x568a45[_0x19afb2(0x51d)],{sheetName:_0x19126e,range:_0x17f157}=_0x4bb840[_0x19afb2(0x3b7)](_0x506222),_0x5709c9={'name':(_0x304fb0=(_0x2e33a1=this[_0x19afb2(0x327)][_0x19afb2(0x4f6)](this['unitID'],_0xaa25d0))==null?void 0x0:_0x2e33a1['name'])!=null?_0x304fb0:_0x19afb2(0x2ae),'range':this[_0x19afb2(0x551)](_0x19126e,_0x17f157),'sheetID':_0x19126e,'color':this[_0x19afb2(0x35e)][_0x19afb2(0x301)](_0xaa25d0),'selection':_0x506222},_0x1c7cfb=this['cursorInfo'];_0x1c7cfb['set'](_0xaa25d0,_0x5709c9),this[_0x19afb2(0x259)]['next'](_0x1c7cfb);}[_0x2c702b(0x503)](_0x134b27){const _0xfc9e75=_0x2c702b,{memberID:_0x336a99}=_0x134b27[_0xfc9e75(0x51d)],_0x3267b7=this[_0xfc9e75(0x1cc)];_0x3267b7[_0xfc9e75(0x1ff)](_0x336a99),this[_0xfc9e75(0x259)][_0xfc9e75(0x577)](_0x3267b7);}[_0x2c702b(0x551)](_0x5aee01,_0x1b8eaf){const _0x68f78b=_0x2c702b;var _0x37d15b,_0x5e86e7;const _0x54bd18=(_0x5e86e7=(_0x37d15b=this[_0x68f78b(0x54c)][_0x68f78b(0x357)](this[_0x68f78b(0x2fa)]))==null?void 0x0:_0x37d15b[_0x68f78b(0x2ff)](_0x5aee01))==null?void 0x0:_0x5e86e7['getMergeData']();return(_0x54bd18==null?void 0x0:_0x54bd18['find'](_0x20f4db=>_0x59f65f[_0x68f78b(0x4b3)][_0x68f78b(0x218)](_0x20f4db,_0x1b8eaf)))||_0x1b8eaf;}[_0x2c702b(0x501)](){const _0x464285=_0x2c702b,_0x31d4ef=new _0x59f65f[(_0x464285(0x55a))](),_0x3077f2=_0x409c0d(),_0x481dbd=()=>{const _0x40c9ed=_0x464285;_0x31d4ef[_0x40c9ed(0x574)]();const _0x5b4ed1=(_0x46c9fc,_0x3e8b6e,_0x2446d4,_0x50ff71)=>{const _0x305948=_0x40c9ed;let _0xd1b46=[];switch(_0x46c9fc['id']){case _0x5dba16[_0x305948(0x445)][_0x305948(0x214)]:{_0xd1b46=_0x5dba16[_0x305948(0x247)](_0x46c9fc,_0x50ff71);break;}case _0x5dba16[_0x305948(0x445)][_0x305948(0x402)]:{_0xd1b46=_0x5dba16[_0x305948(0x37c)](_0x46c9fc,_0x50ff71);break;}case _0x5dba16['EffectRefRangId'][_0x305948(0x425)]:{_0xd1b46=_0x5dba16['handleInsertCol'](_0x46c9fc,_0x50ff71);break;}case _0x5dba16['EffectRefRangId'][_0x305948(0x2c5)]:{_0xd1b46=_0x5dba16[_0x305948(0x275)](_0x46c9fc,_0x50ff71);break;}case _0x5dba16[_0x305948(0x445)]['InsertRangeMoveRightCommandId']:{_0xd1b46=_0x5dba16[_0x305948(0x4ef)](_0x46c9fc,_0x50ff71);break;}case _0x5dba16[_0x305948(0x445)]['InsertRowCommandId']:{_0xd1b46=_0x5dba16[_0x305948(0x1c5)](_0x46c9fc,_0x50ff71);break;}case _0x5dba16[_0x305948(0x445)][_0x305948(0x401)]:{_0xd1b46=_0x5dba16[_0x305948(0x39c)](_0x46c9fc,_0x50ff71);break;}case _0x5dba16[_0x305948(0x445)][_0x305948(0x2b0)]:{_0xd1b46=_0x5dba16['handleIRemoveCol'](_0x46c9fc,_0x50ff71);break;}case _0x5dba16[_0x305948(0x445)][_0x305948(0x53b)]:{_0xd1b46=_0x5dba16['handleIRemoveRow'](_0x46c9fc,_0x50ff71);break;}}const _0x174362=_0x5dba16[_0x305948(0x597)](_0xd1b46,_0x50ff71),_0x38ba61=this[_0x305948(0x1cc)][_0x305948(0x2f7)](_0x3e8b6e);if(_0x38ba61&&_0x174362){const _0x2d2b04={..._0x38ba61,'range':_0x174362};this[_0x305948(0x1cc)][_0x305948(0x407)](_0x3e8b6e,_0x2d2b04),_0x3077f2(()=>{const _0x1cacac=_0x305948,_0x2eda3b=this[_0x1cacac(0x5ac)]['registerRefRange'](_0x174362,_0x55cc05=>(_0x2eda3b[_0x1cacac(0x574)](),_0x5b4ed1(_0x55cc05,_0x3e8b6e,_0x2446d4,_0x174362)));_0x31d4ef['add'](_0x2eda3b);});}return{'redos':[],'undos':[]};};this[_0x40c9ed(0x1cc)][_0x40c9ed(0x363)]((_0x470495,_0xf15bfc)=>{const _0x258aa5=_0x40c9ed,{range:_0x3dcb1d,sheetID:_0x4ff4e0}=_0x470495,_0x559ac6=this[_0x258aa5(0x5ac)][_0x258aa5(0x5a7)](_0x3dcb1d,_0x1f608e=>(_0x559ac6[_0x258aa5(0x574)](),_0x5b4ed1(_0x1f608e,_0xf15bfc,_0x4ff4e0,_0x3dcb1d)));_0x31d4ef[_0x258aa5(0x2b6)](_0x559ac6);});};this['disposeWithMe'](_0x59f65f[_0x464285(0x209)](this[_0x464285(0x259)][_0x464285(0x41d)](()=>{_0x481dbd();})));}['_toggleOnline'](){const _0x495f2c=_0x2c702b;var _0x48a56e,_0x6d4764;if(this[_0x495f2c(0x2a1)]=!0x0,((_0x48a56e=this[_0x495f2c(0x54c)][_0x495f2c(0x4cc)]())==null?void 0x0:_0x48a56e['getUnitId']())!==this['unitID'])return;const _0x3109fc=(_0x6d4764=this['_injector']['get'](_0x5dba16[_0x495f2c(0x4a3)])[_0x495f2c(0x215)]())==null?void 0x0:_0x6d4764[0x0],_0x1afe42=this[_0x495f2c(0x54c)][_0x495f2c(0x1d9)](_0x59f65f[_0x495f2c(0x28f)][_0x495f2c(0x46b)])['getActiveSheet']();_0x3109fc&&_0x1afe42&&this[_0x495f2c(0x2fc)](_0x1afe42[_0x495f2c(0x57a)](),_0x3109fc);}[_0x2c702b(0x403)](){const _0x59d453=_0x2c702b;this[_0x59d453(0x2a1)]=!0x1;}};_0x3f9f76=_0x52de49([_0x1aae40(0x2,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x1aae40(0x3,_0x59f65f[_0x2c702b(0x57e)](_0x427206)),_0x1aae40(0x4,_0x59f65f['Inject'](_0x1137aa)),_0x1aae40(0x5,_0x59f65f[_0x2c702b(0x350)]),_0x1aae40(0x6,_0x59f65f['ICommandService']),_0x1aae40(0x7,_0x59f65f[_0x2c702b(0x57e)](_0x5dba16[_0x2c702b(0x380)]))],_0x3f9f76);var _0x3fa1b7=Object[_0x2c702b(0x227)],_0x1495d2=Object[_0x2c702b(0x294)],_0x5a7330=(_0x4182e2,_0x34ce65,_0x322484,_0x18278d)=>{const _0x525f46=_0x2c702b;for(var _0x5ca750=_0x18278d>0x1?void 0x0:_0x18278d?_0x1495d2(_0x34ce65,_0x322484):_0x34ce65,_0x399d94=_0x4182e2[_0x525f46(0x493)]-0x1,_0x18c8fa;_0x399d94>=0x0;_0x399d94--)(_0x18c8fa=_0x4182e2[_0x399d94])&&(_0x5ca750=(_0x18278d?_0x18c8fa(_0x34ce65,_0x322484,_0x5ca750):_0x18c8fa(_0x5ca750))||_0x5ca750);return _0x18278d&&_0x5ca750&&_0x3fa1b7(_0x34ce65,_0x322484,_0x5ca750),_0x5ca750;},_0x314f67=(_0x32c860,_0x13000d)=>(_0x3dde55,_0x27a133)=>_0x13000d(_0x3dde55,_0x27a133,_0x32c860);const _0xbc0634=0x12c,_0x413826=0x64;let _0x4dae4b=class extends _0x59f65f[_0x2c702b(0x1e7)]{constructor(_0x38d9f0,_0x31bffb,_0x237be3,_0x1213a7,_0xcda5e7,_0x554284,_0x5dbe2c,_0x4a20cc,_0x857a1b){const _0x1acf25=_0x2c702b;super(),_0x191e33(this,_0x1acf25(0x2a1),!0x1),_0x191e33(this,'_init',!0x1),_0x191e33(this,_0x1acf25(0x259),new _0x6d0798[(_0x1acf25(0x52f))](new Map())),_0x191e33(this,_0x1acf25(0x20f),this[_0x1acf25(0x259)][_0x1acf25(0x1c4)]()),_0x191e33(this,'_roomMembers$',new _0x6d0798[(_0x1acf25(0x52f))]([])),_0x191e33(this,_0x1acf25(0x438),this['_roomMembers$']['pipe'](_0x6d0798[_0x1acf25(0x368)](_0xbc0634))),_0x191e33(this,_0x1acf25(0x2fc),_0x1a577b(_0x1717af=>{const _0x112dcf=_0x1acf25,_0x4b6fbb={'eventID':_0x4c33ab['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x112dcf(0x23f)](),'selection':_0x3a63ff(_0x1717af)}};this[_0x112dcf(0x2dc)]['send'](_0x4b6fbb,this[_0x112dcf(0x2fa)]);},_0x413826)),(this['unitID']=_0x38d9f0,this[_0x1acf25(0x2dc)]=_0x31bffb,this[_0x1acf25(0x232)]=_0x237be3,this['_colorAssignService']=_0x1213a7,this['_memberService']=_0xcda5e7,this[_0x1acf25(0x353)]=_0x554284,this['_transformService']=_0x5dbe2c,this[_0x1acf25(0x54c)]=_0x4a20cc,this[_0x1acf25(0x567)]=_0x857a1b);}get[_0x2c702b(0x1cc)](){const _0x2f6f3b=_0x2c702b;return this[_0x2f6f3b(0x259)]['getValue']();}get[_0x2c702b(0x313)](){const _0x548dd1=_0x2c702b;return this[_0x548dd1(0x4f7)][_0x548dd1(0x33b)]();}['dispose'](){const _0x4e044b=_0x2c702b;super['dispose'](),this[_0x4e044b(0x259)][_0x4e044b(0x577)](new Map()),this[_0x4e044b(0x259)][_0x4e044b(0x47c)](),this[_0x4e044b(0x4f7)][_0x4e044b(0x577)]([]),this[_0x4e044b(0x4f7)][_0x4e044b(0x47c)]();}['init'](){const _0x5a5684=_0x2c702b;this[_0x5a5684(0x362)]||(this[_0x5a5684(0x362)]=!0x0,this[_0x5a5684(0x2dc)][_0x5a5684(0x2ad)][_0x5a5684(0x47e)](_0x6d0798[_0x5a5684(0x397)](this['dispose$']))[_0x5a5684(0x41d)](_0x405797=>{const _0x4189e2=_0x5a5684;_0x405797===_0x29549f['ONLINE']?this[_0x4189e2(0x323)]():this[_0x4189e2(0x403)]();}),this[_0x5a5684(0x2dc)][_0x5a5684(0x5c0)]['pipe'](_0x6d0798[_0x5a5684(0x397)](this[_0x5a5684(0x45e)]))[_0x5a5684(0x41d)](_0xaecc15=>{const _0x3257f5=_0x5a5684,_0xaf6590=_0xaecc15[_0x3257f5(0x50d)];_0xaf6590===_0x4c33ab[_0x3257f5(0x550)][_0x3257f5(0x266)]&&this[_0x3257f5(0x338)](_0xaecc15),_0xaf6590===_0x4c33ab[_0x3257f5(0x550)]['USERS_LEAVE']&&this[_0x3257f5(0x503)](_0xaecc15);}),this[_0x5a5684(0x35f)](this[_0x5a5684(0x567)][_0x5a5684(0x444)](_0x4d5293=>{const _0x5de35a=_0x5a5684,_0x4b80d6=_0x4d5293[_0x5de35a(0x3e9)];_0x4b80d6!=null&&this[_0x5de35a(0x2a1)]&&_0x4d5293['id']===_0x28f26c[_0x5de35a(0x1f1)]['id']&&_0x4b80d6[_0x5de35a(0x42b)]===this[_0x5de35a(0x2fa)]&&_0x4b80d6['isEditing']===!0x1&&this[_0x5de35a(0x2fc)](_0x4b80d6[_0x5de35a(0x1ca)]);})),this['_syncEditingCollabCursorService'][_0x5a5684(0x39f)][_0x5a5684(0x47e)](_0x6d0798[_0x5a5684(0x397)](this['dispose$']))[_0x5a5684(0x41d)](_0x1bb3c3=>{const _0x66a03b=_0x5a5684;if((_0x1bb3c3==null?void 0x0:_0x1bb3c3['unitID'])!==this[_0x66a03b(0x2fa)])return;const _0x58d620={'eventID':_0x4c33ab[_0x66a03b(0x550)][_0x66a03b(0x266)],'data':_0x1bb3c3};this['_onCursorUpdate'](_0x58d620);}),this[_0x5a5684(0x35f)](this[_0x5a5684(0x567)][_0x5a5684(0x444)](_0x14f866=>{const _0x3c5f4f=_0x5a5684;if(_0x14f866[_0x3c5f4f(0x3e9)]==null)return;const _0x132934=_0x14f866[_0x3c5f4f(0x3e9)];if(_0x14f866['id']!==_0x28f26c[_0x3c5f4f(0x2a4)]['id']||_0x132934[_0x3c5f4f(0x42b)]!==this[_0x3c5f4f(0x2fa)])return;const _0x514208={'id':_0x3c5f4f(0x3ce),'params':_0x132934},_0x1d4445=this['cursorInfo'];for(const [_0x103df1,_0x107e16]of _0x1d4445){const _0x5a888d={'id':_0x3c5f4f(0x3ce),'params':{'unitId':this[_0x3c5f4f(0x2fa)],'actions':null,'textRanges':_0x107e16['ranges']}},_0x3c46ef=this['_transformService']['transformMutation'](_0x514208,_0x5a888d,!0x1);if(_0x4c33ab[_0x3c5f4f(0x285)](_0x3c46ef))throw _0x3c46ef[_0x3c5f4f(0x538)];_0x1d4445[_0x3c5f4f(0x407)](_0x103df1,{..._0x107e16,'ranges':_0x3c46ef['m2Prime'][_0x3c5f4f(0x3e9)]['textRanges']});}queueMicrotask(()=>{const _0x4b6fde=_0x3c5f4f;this['_cursorInfo$'][_0x4b6fde(0x577)](_0x1d4445);});})));}[_0x2c702b(0x338)](_0x1928b3){const _0x3be77b=_0x2c702b;var _0x50cdb7,_0x1cb048;const {memberID:_0x1bb89f,selection:_0x31a69d}=_0x1928b3[_0x3be77b(0x51d)],_0x1a83e0=_0x343801(_0x31a69d),_0x300190=(_0x1cb048=(_0x50cdb7=this[_0x3be77b(0x327)][_0x3be77b(0x4f6)](this['unitID'],_0x1bb89f))==null?void 0x0:_0x50cdb7[_0x3be77b(0x2eb)])!=null?_0x1cb048:_0x3be77b(0x2ae),_0x3f28fd={'color':this[_0x3be77b(0x35e)][_0x3be77b(0x301)](_0x1bb89f),'name':_0x300190,'ranges':_0x1a83e0},_0x30508c=this[_0x3be77b(0x1cc)];_0x30508c[_0x3be77b(0x407)](_0x1bb89f,_0x3f28fd),this['_cursorInfo$'][_0x3be77b(0x577)](_0x30508c);}[_0x2c702b(0x503)](_0x117855){const _0x216184=_0x2c702b,{memberID:_0x5339be}=_0x117855[_0x216184(0x51d)],_0x362793=this['cursorInfo'];_0x362793[_0x216184(0x1ff)](_0x5339be),this[_0x216184(0x259)]['next'](_0x362793);}['_toggleOnline'](){const _0x559c91=_0x2c702b;var _0x9b645c;if(this[_0x559c91(0x2a1)]=!0x0,((_0x9b645c=this[_0x559c91(0x54c)][_0x559c91(0x4cc)]())==null?void 0x0:_0x9b645c['getUnitId']())!==this['unitID'])return;const _0x5cfb83=this[_0x559c91(0x232)][_0x559c91(0x2f7)](_0x28f26c[_0x559c91(0x4a8)])[_0x559c91(0x1ea)](),_0x117df5=_0x5cfb83==null?void 0x0:_0x5cfb83[_0x559c91(0x4a7)](_0x28f26c['serializeDocRange']);Array['isArray'](_0x117df5)&&_0x117df5[_0x559c91(0x493)]>0x0&&this[_0x559c91(0x2fc)](_0x117df5);}['_toggleOffline'](){this['_online']=!0x1;}};_0x4dae4b=_0x5a7330([_0x314f67(0x2,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f['Injector'])),_0x314f67(0x3,_0x59f65f[_0x2c702b(0x57e)](_0x427206)),_0x314f67(0x4,_0x59f65f[_0x2c702b(0x57e)](_0x1137aa)),_0x314f67(0x5,_0x59f65f[_0x2c702b(0x57e)](_0x267a51)),_0x314f67(0x6,_0x4c33ab[_0x2c702b(0x419)]),_0x314f67(0x7,_0x59f65f[_0x2c702b(0x350)]),_0x314f67(0x8,_0x59f65f[_0x2c702b(0x4b7)])],_0x4dae4b);var _0x36b789=Object[_0x2c702b(0x227)],_0x17e51e=Object[_0x2c702b(0x294)],_0x229601=(_0x4ad381,_0x3daa80,_0x5ccb13,_0x34f98b)=>{for(var _0x205473=_0x34f98b>0x1?void 0x0:_0x34f98b?_0x17e51e(_0x3daa80,_0x5ccb13):_0x3daa80,_0x40af60=_0x4ad381['length']-0x1,_0x205264;_0x40af60>=0x0;_0x40af60--)(_0x205264=_0x4ad381[_0x40af60])&&(_0x205473=(_0x34f98b?_0x205264(_0x3daa80,_0x5ccb13,_0x205473):_0x205264(_0x205473))||_0x205473);return _0x34f98b&&_0x205473&&_0x36b789(_0x3daa80,_0x5ccb13,_0x205473),_0x205473;},_0x3780bc=(_0x5bf37d,_0x74b5a9)=>(_0x153c53,_0x4fd983)=>_0x74b5a9(_0x153c53,_0x4fd983,_0x5bf37d);let _0x30cf8d=class extends _0x59f65f[_0x2c702b(0x1e7)]{constructor(_0xbf27dd,_0x1964e0,_0x5a32c6){const _0x4323bc=_0x2c702b;super(),_0x191e33(this,_0x4323bc(0x25c),new Map()),_0x191e33(this,_0x4323bc(0x23d),new _0x6d0798[(_0x4323bc(0x2d1))]()),(this['_univerInstanceService']=_0xbf27dd,this[_0x4323bc(0x232)]=_0x1964e0,this[_0x4323bc(0x228)]=_0x5a32c6,this[_0x4323bc(0x362)]());}[_0x2c702b(0x574)](){const _0x17ba54=_0x2c702b;super[_0x17ba54(0x574)](),this[_0x17ba54(0x23d)][_0x17ba54(0x47c)](),this[_0x17ba54(0x25c)]['forEach'](_0x331fa4=>_0x331fa4[_0x17ba54(0x574)]());}['getCollabCursors$'](_0x17a3a8){const _0x29e7a0=_0x2c702b;return this['_entities'][_0x29e7a0(0x35d)](_0x17a3a8)?this[_0x29e7a0(0x25c)][_0x29e7a0(0x2f7)](_0x17a3a8)['cursorInfo$']:this[_0x29e7a0(0x23d)][_0x29e7a0(0x47e)](_0x6d0798[_0x29e7a0(0x46c)](_0x2854b3=>_0x2854b3[_0x29e7a0(0x2fa)]===_0x17a3a8),_0x6d0798[_0x29e7a0(0x383)](_0x2ccc04=>_0x2ccc04['cursorInfo$']));}[_0x2c702b(0x362)](){const _0x2bcb8e=_0x2c702b;this[_0x2bcb8e(0x54c)]['getTypeOfUnitAdded$'](_0x59f65f[_0x2bcb8e(0x28f)]['UNIVER_SHEET'])[_0x2bcb8e(0x47e)](_0x6d0798[_0x2bcb8e(0x397)](this['dispose$']))[_0x2bcb8e(0x41d)](async _0x1c556e=>{const _0x15d917=_0x2bcb8e,_0x472a1b=_0x1c556e['getUnitId'](),_0x528d65=await this[_0x15d917(0x249)](_0x472a1b);this[_0x15d917(0x23d)]['next'](_0x528d65),this[_0x15d917(0x25c)][_0x15d917(0x407)](_0x472a1b,_0x528d65);}),this[_0x2bcb8e(0x54c)][_0x2bcb8e(0x2a2)](_0x59f65f[_0x2bcb8e(0x28f)][_0x2bcb8e(0x525)])[_0x2bcb8e(0x47e)](_0x6d0798[_0x2bcb8e(0x397)](this[_0x2bcb8e(0x45e)]))['pipe'](_0x6d0798[_0x2bcb8e(0x46c)](_0x2c9141=>!_0x2c9141[_0x2bcb8e(0x36b)]()[_0x2bcb8e(0x476)]('__')))['subscribe'](async _0x1801d1=>{const _0x18bbdf=_0x2bcb8e,_0x138531=_0x1801d1['getUnitId'](),_0x539cb1=await this[_0x18bbdf(0x379)](_0x138531);this[_0x18bbdf(0x23d)][_0x18bbdf(0x577)](_0x539cb1),this['_entities'][_0x18bbdf(0x407)](_0x138531,_0x539cb1);}),_0x6d0798['merge'](this['_univerInstanceService'][_0x2bcb8e(0x2be)](_0x59f65f[_0x2bcb8e(0x28f)][_0x2bcb8e(0x525)]),this['_univerInstanceService'][_0x2bcb8e(0x2be)](_0x59f65f[_0x2bcb8e(0x28f)]['UNIVER_SHEET']))[_0x2bcb8e(0x47e)](_0x6d0798[_0x2bcb8e(0x397)](this[_0x2bcb8e(0x45e)]))[_0x2bcb8e(0x41d)](_0x312b73=>{const _0x2d8059=_0x2bcb8e,_0xfa00b2=_0x312b73['getUnitId'](),_0x5293e2=this[_0x2d8059(0x25c)][_0x2d8059(0x2f7)](_0xfa00b2);_0x5293e2&&(_0x5293e2[_0x2d8059(0x574)](),this[_0x2d8059(0x25c)][_0x2d8059(0x1ff)](_0xfa00b2));});}async[_0x2c702b(0x249)](_0x59355d){const _0x31deb8=_0x2c702b,_0x47fbe8=await this[_0x31deb8(0x228)]['requireSession'](_0x59355d),_0x361ffa=this['_injector']['createInstance'](_0x3f9f76,_0x59355d,_0x47fbe8);return _0x361ffa[_0x31deb8(0x5a2)](),_0x361ffa;}async[_0x2c702b(0x379)](_0x4397d5){const _0x1404e9=_0x2c702b,_0x47bb7c=await this[_0x1404e9(0x228)][_0x1404e9(0x256)](_0x4397d5),_0x49e3ce=this[_0x1404e9(0x232)][_0x1404e9(0x4fe)](_0x4dae4b,_0x4397d5,_0x47bb7c);return _0x49e3ce[_0x1404e9(0x5a2)](),_0x49e3ce;}};_0x30cf8d=_0x229601([_0x59f65f[_0x2c702b(0x1ed)](_0x59f65f[_0x2c702b(0x1e5)]['Starting'],_0x30cf8d),_0x3780bc(0x0,_0x59f65f[_0x2c702b(0x350)]),_0x3780bc(0x1,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x3780bc(0x2,_0x59f65f['Inject'](_0x21561b[_0x2c702b(0x42a)]))],_0x30cf8d);const _0x4d9b5f=0x14,_0x4280ad=0xc8,_0x419cf8=0x4,_0x2c492f=0x5;function _0x2841e9(_0x5a89cc,_0x58578a){const _0x2d9c12=_0x2c702b;let {radius:_0x5011da,width:_0x32c10f,height:_0x3cd21c}=_0x58578a;_0x5011da=_0x5011da!=null?_0x5011da:0x0,_0x32c10f=_0x32c10f!=null?_0x32c10f:0x1e,_0x3cd21c=_0x3cd21c!=null?_0x3cd21c:0x1e;let _0x10bd5e=0x0,_0x20940e=0x0,_0x4108c2=0x0;_0x10bd5e=_0x20940e=_0x4108c2=Math[_0x2d9c12(0x2f2)](_0x5011da,_0x32c10f/0x2,_0x3cd21c/0x2),_0x5a89cc[_0x2d9c12(0x27f)](),_0x5a89cc[_0x2d9c12(0x409)](_0x10bd5e,0x0),_0x5a89cc[_0x2d9c12(0x562)](_0x32c10f-_0x20940e,0x0),_0x5a89cc[_0x2d9c12(0x417)](_0x32c10f-_0x20940e,_0x20940e,_0x20940e,Math['PI']*0x3/0x2,0x0,!0x1),_0x5a89cc['lineTo'](_0x32c10f,_0x3cd21c-_0x4108c2),_0x5a89cc[_0x2d9c12(0x417)](_0x32c10f-_0x4108c2,_0x3cd21c-_0x4108c2,_0x4108c2,0x0,Math['PI']/0x2,!0x1),_0x5a89cc['lineTo'](0x0,_0x3cd21c),_0x5a89cc[_0x2d9c12(0x562)](0x0,_0x10bd5e),_0x5a89cc['arc'](_0x10bd5e,_0x10bd5e,_0x10bd5e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5a89cc['closePath'](),_0x58578a[_0x2d9c12(0x3c7)]&&(_0x5a89cc[_0x2d9c12(0x498)](),_0x5a89cc[_0x2d9c12(0x5aa)]=_0x58578a[_0x2d9c12(0x3c7)],_0x58578a[_0x2d9c12(0x346)]===_0x2d9c12(0x1dc)?_0x5a89cc[_0x2d9c12(0x3c7)]('evenodd'):_0x5a89cc[_0x2d9c12(0x3c7)](),_0x5a89cc[_0x2d9c12(0x2e5)]());}class _0x15cd0c extends _0x59fc99[_0x2c702b(0x58f)]{constructor(_0x4b0f90,_0x1a08a6){const _0x5652ac=_0x2c702b;super(_0x4b0f90,_0x1a08a6),_0x191e33(this,'color'),_0x191e33(this,'text'),(this[_0x5652ac(0x4f9)]=_0x1a08a6==null?void 0x0:_0x1a08a6[_0x5652ac(0x4f9)],this[_0x5652ac(0x280)]=_0x1a08a6==null?void 0x0:_0x1a08a6[_0x5652ac(0x280)]);}static[_0x2c702b(0x370)](_0x12d318,_0x4c9786){const _0x3a0075=_0x2c702b,{text:_0xd08a56,color:_0x2b4efe}=_0x4c9786;_0x12d318['save'](),_0x12d318['font']=_0x3a0075(0x384);const _0x117814=_0x12d318[_0x3a0075(0x515)](_0xd08a56)['width'],_0x409572=Math['min'](_0x117814+0x2*_0x419cf8,_0x4280ad);_0x2841e9(_0x12d318,{'height':_0x4d9b5f,'radius':0x4,'width':_0x409572,'fill':_0x2b4efe,'evented':!0x1}),_0x12d318[_0x3a0075(0x5aa)]=_0x3a0075(0x262);const _0x30814a=_0x419cf8,_0x501270=_0x4d9b5f-_0x2c492f,_0x3cce1f=_0x4280ad-0x2*_0x419cf8;if(_0x117814>_0x3cce1f){let _0x51a33b='',_0x213e90=0x0;for(const _0x4f668a of _0xd08a56){const _0x572fc0=_0x12d318['measureText'](_0x4f668a)[_0x3a0075(0x443)];if(_0x213e90+_0x572fc0<=_0x3cce1f-_0x12d318[_0x3a0075(0x515)](_0x3a0075(0x5b3))[_0x3a0075(0x443)])_0x51a33b+=_0x4f668a,_0x213e90+=_0x572fc0;else{_0x51a33b+=_0x3a0075(0x5b3);break;}}_0x12d318[_0x3a0075(0x3a2)](_0x51a33b,_0x30814a,_0x501270);}else _0x12d318[_0x3a0075(0x3a2)](_0xd08a56,_0x30814a,_0x501270);_0x12d318[_0x3a0075(0x2e5)]();}[_0x2c702b(0x542)](_0x412311){_0x15cd0c['drawWith'](_0x412311,this);}}const _0x4369da=0x1,_0xa0b527=1.5;class _0xa87b1 extends _0x59fc99[_0x2c702b(0x58f)]{constructor(_0xf17463,_0x25cea){const _0x1bec14=_0x2c702b;super(_0xf17463,_0x25cea),_0x191e33(this,_0x1bec14(0x25b)),_0x191e33(this,_0x1bec14(0x269),!0x1),_0x191e33(this,_0x1bec14(0x406)),_0x191e33(this,_0x1bec14(0x26d),''),_0x191e33(this,'_labelPosition',_0x1bec14(0x59d)),_0x191e33(this,_0x1bec14(0x2f1)),(_0x25cea&&this[_0x1bec14(0x46d)](_0x25cea),this[_0x1bec14(0x2f0)][_0x1bec14(0x421)](()=>this[_0x1bec14(0x46d)]({'hovered':!0x0})),this[_0x1bec14(0x2a7)][_0x1bec14(0x421)](()=>this[_0x1bec14(0x46d)]({'hovered':!0x1})));}[_0x2c702b(0x46d)](_0xca20ad){const _0x4d1e25=_0x2c702b;var _0x371350,_0x57dd5e,_0x38415a,_0x3efabb,_0x3c20c3,_0xfcd7b7;this[_0x4d1e25(0x25b)]=(_0x371350=_0xca20ad['color'])!=null?_0x371350:this[_0x4d1e25(0x25b)],this[_0x4d1e25(0x269)]=(_0x57dd5e=_0xca20ad['hovered'])!=null?_0x57dd5e:this[_0x4d1e25(0x269)],this[_0x4d1e25(0x406)]=(_0x38415a=_0xca20ad[_0x4d1e25(0x55e)])!=null?_0x38415a:this[_0x4d1e25(0x406)],this[_0x4d1e25(0x26d)]=(_0x3efabb=_0xca20ad[_0x4d1e25(0x2eb)])!=null?_0x3efabb:this[_0x4d1e25(0x26d)],this[_0x4d1e25(0x484)]=(_0x3c20c3=_0xca20ad[_0x4d1e25(0x2c3)])!=null?_0x3c20c3:this['_labelPosition'],this['_backgroundColor']=(_0xfcd7b7=_0xca20ad[_0x4d1e25(0x496)])!=null?_0xfcd7b7:this[_0x4d1e25(0x2f1)],this['transformByState']({'width':_0xca20ad[_0x4d1e25(0x443)],'height':_0xca20ad['height']});}['onMouseMove'](_0x3670c1){const _0x4a7122=_0x2c702b,{row:_0x16ec7b,column:_0x40b0df}=_0x3670c1;if(_0x16ec7b>=this[_0x4a7122(0x406)][_0x4a7122(0x1dd)]&&_0x16ec7b<=this['_range'][_0x4a7122(0x43e)]&&_0x40b0df>=this[_0x4a7122(0x406)][_0x4a7122(0x388)]&&_0x40b0df<=this[_0x4a7122(0x406)][_0x4a7122(0x4f2)]){this[_0x4a7122(0x46d)]({'hovered':!0x0});return;}this[_0x4a7122(0x46d)]({'hovered':!0x1});}[_0x2c702b(0x45b)](_0x379f2d){return!0x1;}[_0x2c702b(0x542)](_0x1fdf20){const _0x1110b2=_0x2c702b;_0x59fc99[_0x1110b2(0x4f1)][_0x1110b2(0x370)](_0x1fdf20,{'width':this[_0x1110b2(0x443)],'height':this['height'],'strokeWidth':_0xa0b527,'stroke':this[_0x1110b2(0x25b)],'evented':!0x1,'fill':this[_0x1110b2(0x2f1)]}),this[_0x1110b2(0x269)]&&(_0x1fdf20[_0x1110b2(0x498)](),_0x1fdf20[_0x1110b2(0x22b)](0x1,0x0,0x0,0x1,this[_0x1110b2(0x443)],this[_0x1110b2(0x484)]==='bottom'?0x0:-_0x4d9b5f),_0x15cd0c[_0x1110b2(0x370)](_0x1fdf20,{'text':this[_0x1110b2(0x26d)],'color':this[_0x1110b2(0x25b)]}),_0x1fdf20['restore']());}}var _0xc74101=Object['defineProperty'],_0x45afa8=Object[_0x2c702b(0x294)],_0x319f8c=(_0x5a65d0,_0x1265f9,_0x55b8e3,_0x42e1ca)=>{const _0x3a96bc=_0x2c702b;for(var _0x34244a=_0x42e1ca>0x1?void 0x0:_0x42e1ca?_0x45afa8(_0x1265f9,_0x55b8e3):_0x1265f9,_0x309b43=_0x5a65d0[_0x3a96bc(0x493)]-0x1,_0xc1aba2;_0x309b43>=0x0;_0x309b43--)(_0xc1aba2=_0x5a65d0[_0x309b43])&&(_0x34244a=(_0x42e1ca?_0xc1aba2(_0x1265f9,_0x55b8e3,_0x34244a):_0xc1aba2(_0x34244a))||_0x34244a);return _0x42e1ca&&_0x34244a&&_0xc74101(_0x1265f9,_0x55b8e3,_0x34244a),_0x34244a;},_0x38be18=(_0x1cf712,_0xce902)=>(_0x568ec8,_0x351350)=>_0xce902(_0x568ec8,_0x351350,_0x1cf712);const _0x2b86d9=0x1389;let _0x1c8323=class extends _0x59f65f[_0x2c702b(0x1e7)]{constructor(_0xcf19a,_0x2db2ac,_0x3b3918,_0xea2f17){const _0x194c7a=_0x2c702b;super(),_0x191e33(this,_0x194c7a(0x2dd),new Set()),_0x191e33(this,_0x194c7a(0x4b9),null),(this['_context']=_0xcf19a,this[_0x194c7a(0x345)]=_0x2db2ac,this[_0x194c7a(0x310)]=_0x3b3918,this['_themeService']=_0xea2f17,this[_0x194c7a(0x362)]());}[_0x2c702b(0x362)](){const _0x279588=_0x2c702b;this[_0x279588(0x345)]['currentSkeleton$'][_0x279588(0x47e)](_0x4e8b21[_0x279588(0x397)](this[_0x279588(0x45e)]),_0x4e8b21['switchMap'](_0x2899dc=>{const _0x459857=_0x279588;if(_0x2899dc){const _0x47ab6d=_0x2899dc[_0x459857(0x4b1)];return _0x6d0798[_0x459857(0x360)](this[_0x459857(0x310)][_0x459857(0x411)](this[_0x459857(0x564)][_0x459857(0x42b)]),this['_themeService'][_0x459857(0x497)])[_0x459857(0x47e)](_0x4e8b21[_0x459857(0x4a7)](([_0x56e2e9,_0x5b023b])=>{const _0x2037fc=new Map();return _0x56e2e9['forEach']((_0x589a6e,_0x39f41e)=>{const _0x5a8eb7=_0x50c2;if(_0x589a6e[_0x5a8eb7(0x471)]===_0x47ab6d){const _0x2c88d7={..._0x589a6e};_0x2c88d7[_0x5a8eb7(0x4f9)]=_0x5b023b[_0x589a6e[_0x5a8eb7(0x4f9)]],_0x2037fc[_0x5a8eb7(0x407)](_0x39f41e,_0x2c88d7);}}),{'skeleton':_0x2899dc,'cursors':_0x2037fc};}));}return _0x6d0798['of']({'skeleton':null,'cursors':new Map()});}))[_0x279588(0x41d)](({skeleton:_0x2ae35b,cursors:_0x278cd7})=>{const _0x5789a0=_0x279588;this[_0x5789a0(0x442)](),_0x2ae35b&&this[_0x5789a0(0x3fd)](_0x2ae35b,_0x278cd7);}),this['_sheetSkeletonManagerService'][_0x279588(0x4cb)][_0x279588(0x41d)](_0x3c0fd1=>{const _0x3b39bf=_0x279588;if(_0x3c0fd1==null)return;const {skeleton:_0x55953b}=_0x3c0fd1,{scene:_0x598f75}=this[_0x3b39bf(0x564)];_0x598f75[_0x3b39bf(0x460)][_0x3b39bf(0x421)](_0x1a577b(_0x3af523=>{const _0x579281=_0x3b39bf;var _0x5c09f5,_0x113101;const {offsetX:_0x4f8f43,offsetY:_0x29c258}=_0x3af523,{x:_0x106582,y:_0x5c63c7}=_0x598f75['getRelativeToViewportCoord'](_0x59fc99[_0x579281(0x583)][_0x579281(0x2c8)]([_0x4f8f43,_0x29c258])),{scaleX:_0x5ad85d,scaleY:_0x44d1b5}=_0x598f75[_0x579281(0x3f9)](),_0x207fa2=_0x598f75['getViewport'](_0x15ca36['VIEWPORT_KEY']['VIEW_MAIN']),_0x3131b4=_0x598f75['getVpScrollXYInfoByPosToVp'](_0x59fc99[_0x579281(0x583)][_0x579281(0x2c8)]([_0x106582,_0x5c63c7]),_0x207fa2),_0x2684d3=_0x55953b[_0x579281(0x47b)](_0x4f8f43,_0x29c258,_0x5ad85d,_0x44d1b5,_0x3131b4);((_0x5c09f5=this['_lastPointer'])==null?void 0x0:_0x5c09f5[_0x579281(0x584)])===_0x2684d3[_0x579281(0x584)]&&((_0x113101=this[_0x579281(0x4b9)])==null?void 0x0:_0x113101[_0x579281(0x22d)])===_0x2684d3[_0x579281(0x22d)]||this[_0x579281(0x2dd)][_0x579281(0x363)](_0x59c78f=>{_0x59c78f['onMouseMove'](_0x2684d3);});},0x64));});}[_0x2c702b(0x3fd)](_0xdd11dd,_0x84a009){const _0x53f848=_0x2c702b;var _0x7a8789;const _0x402228=(_0x7a8789=this[_0x53f848(0x345)][_0x53f848(0x325)]())==null?void 0x0:_0x7a8789[_0x53f848(0x485)];if(!_0x402228)return;const _0x5a4ba4=this[_0x53f848(0x439)]();if(!_0x5a4ba4)return;this[_0x53f848(0x2dd)][_0x53f848(0x363)](_0x203dd2=>{const _0x3770ed=_0x53f848;_0x203dd2[_0x3770ed(0x52a)]();});const {scene:_0x57cff0}=_0x5a4ba4,_0x36a2dd=_0x5e31e1(Array[_0x53f848(0x235)](_0x84a009[_0x53f848(0x549)]()))['map'](_0x4640c4=>{const _0x1f31ef=_0x53f848,{color:_0x40160b,range:_0x49ff61,name:_0x3a69e1,selection:_0x1a7360,sheetID:_0x1cabd4}=_0x4640c4,{startColumn:_0x54a2bc,startRow:_0x4cc093,endColumn:_0x5537d5,endRow:_0x3807cb}=_0x49ff61,_0x11fcd3=_0x15ca36[_0x1f31ef(0x1f8)](_0x4cc093,_0x54a2bc,_0x57cff0,_0x402228),_0x15df4d=_0x15ca36['getCoordByCell'](_0x3807cb,_0x5537d5,_0x57cff0,_0x402228),{columnHeaderHeightAndMarginTop:_0x5d5e88}=_0x402228,{startX:_0x2ad209,startY:_0x209891}=_0x11fcd3,{endX:_0x491ad4,endY:_0x475f9f}=_0x15df4d,_0x1cd3ca=_0x491ad4-_0x2ad209,_0x28b84a=_0x475f9f-_0x209891,_0x10365f={'labelPosition':_0x209891-_0x5d5e88>=_0x4d9b5f?'top':_0x1f31ef(0x32f),'sheetID':_0x1cabd4,'range':_0x49ff61,'color':_0x40160b,'name':_0x3a69e1,'selection':_0x1a7360,'left':_0x2ad209,'top':_0x209891,'width':_0x1cd3ca,'height':_0x28b84a,'evented':!0x1,'zIndex':_0x2b86d9};return new _0xa87b1(_0x3a69e1,_0x10365f);});_0x57cff0[_0x53f848(0x374)](_0x36a2dd,_0x4369da),this[_0x53f848(0x2dd)]=new Set(_0x36a2dd);}[_0x2c702b(0x442)](){const _0x131916=_0x2c702b;var _0x212088;(_0x212088=this[_0x131916(0x2dd)])==null||_0x212088[_0x131916(0x363)](_0x162180=>_0x162180['dispose']());}[_0x2c702b(0x439)](){const _0x451be2=_0x2c702b;return _0x15ca36['getSheetObject'](this[_0x451be2(0x564)]['unit'],this[_0x451be2(0x564)]);}};_0x1c8323=_0x319f8c([_0x38be18(0x1,_0x59f65f[_0x2c702b(0x57e)](_0x15ca36[_0x2c702b(0x1d2)])),_0x38be18(0x2,_0x59f65f['Inject'](_0x30cf8d)),_0x38be18(0x3,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x5af)]))],_0x1c8323);function _0x5e31e1(_0x1665fc){const _0xb3219b=_0x2c702b,_0x47bb32=new Map();return _0x1665fc[_0xb3219b(0x363)](_0x2b370a=>{const _0x5ce802=_0xb3219b;if(_0x47bb32[_0x5ce802(0x35d)](_0x2b370a[_0x5ce802(0x536)])){const _0x36cd61=_0x47bb32[_0x5ce802(0x2f7)](_0x2b370a[_0x5ce802(0x536)]);_0x36cd61['name']+=',\x20'+_0x2b370a[_0x5ce802(0x2eb)];}else _0x47bb32[_0x5ce802(0x407)](_0x2b370a[_0x5ce802(0x536)],_0x2b370a);}),Array[_0xb3219b(0x235)](_0x47bb32['values']());}var _0x17f058=function(){const _0x1d226f=_0x2c702b;return _0x17f058=Object[_0x1d226f(0x34d)]||function(_0x5cf81c){const _0x1ba762=_0x1d226f;for(var _0x430b6c,_0xefc5fb=0x1,_0x2e7795=arguments[_0x1ba762(0x493)];_0xefc5fb<_0x2e7795;_0xefc5fb++){_0x430b6c=arguments[_0xefc5fb];for(var _0x3a438a in _0x430b6c)Object['prototype'][_0x1ba762(0x49c)][_0x1ba762(0x428)](_0x430b6c,_0x3a438a)&&(_0x5cf81c[_0x3a438a]=_0x430b6c[_0x3a438a]);}return _0x5cf81c;},_0x17f058[_0x1d226f(0x3d5)](this,arguments);},_0x5d2f33=function(_0x1acee3,_0x197fa5){const _0x5b1e5d=_0x2c702b;var _0x6a6288={};for(var _0xf1e860 in _0x1acee3)Object['prototype'][_0x5b1e5d(0x49c)]['call'](_0x1acee3,_0xf1e860)&&_0x197fa5[_0x5b1e5d(0x3bc)](_0xf1e860)<0x0&&(_0x6a6288[_0xf1e860]=_0x1acee3[_0xf1e860]);if(_0x1acee3!=null&&typeof Object[_0x5b1e5d(0x59f)]==_0x5b1e5d(0x55f)){for(var _0x4455c2=0x0,_0xf1e860=Object['getOwnPropertySymbols'](_0x1acee3);_0x4455c2<_0xf1e860[_0x5b1e5d(0x493)];_0x4455c2++)_0x197fa5['indexOf'](_0xf1e860[_0x4455c2])<0x0&&Object[_0x5b1e5d(0x552)]['propertyIsEnumerable'][_0x5b1e5d(0x428)](_0x1acee3,_0xf1e860[_0x4455c2])&&(_0x6a6288[_0xf1e860[_0x4455c2]]=_0x1acee3[_0xf1e860[_0x4455c2]]);}return _0x6a6288;},_0x1a2c48=_0xaabc7e[_0x2c702b(0x452)](function(_0x3ad3c8,_0x42f322){const _0xa02592=_0x2c702b;var _0x13ef19=_0x3ad3c8[_0xa02592(0x42f)],_0x136d3b=_0x3ad3c8['id'],_0x43b64f=_0x3ad3c8['className'],_0x4e56d9=_0x3ad3c8[_0xa02592(0x3e6)],_0xc9ebc8=_0x5d2f33(_0x3ad3c8,[_0xa02592(0x42f),'id','className','extend']),_0x4f3a41=_0xa02592(0x396)[_0xa02592(0x1e4)](_0x136d3b,'\x20')[_0xa02592(0x1e4)](_0x43b64f||'')['trim'](),_0x1c0b27=_0xaabc7e['useRef']('_'[_0xa02592(0x1e4)](_0x496a4b()));return _0x56e0c8(_0x13ef19,''[_0xa02592(0x1e4)](_0x136d3b),{'defIds':_0x13ef19[_0xa02592(0x3a6)],'idSuffix':_0x1c0b27['current']},_0x17f058({'ref':_0x42f322,'className':_0x4f3a41},_0xc9ebc8),_0x4e56d9);});function _0x56e0c8(_0x15e42f,_0x345fe5,_0x15195d,_0x15d655,_0x507cc3){const _0x4bfe42=_0x2c702b;return _0xaabc7e[_0x4bfe42(0x2cd)](_0x15e42f[_0x4bfe42(0x59a)],_0x17f058(_0x17f058({'key':_0x345fe5},_0x2b998d(_0x15e42f,_0x15195d,_0x507cc3)),_0x15d655),(_0x164184(_0x15e42f,_0x15195d)[_0x4bfe42(0x371)]||[])[_0x4bfe42(0x4a7)](function(_0x1bd319,_0x47ea05){const _0x39d1c1=_0x4bfe42;return _0x56e0c8(_0x1bd319,''[_0x39d1c1(0x1e4)](_0x345fe5,'-')[_0x39d1c1(0x1e4)](_0x15e42f[_0x39d1c1(0x59a)],'-')[_0x39d1c1(0x1e4)](_0x47ea05),_0x15195d,void 0x0,_0x507cc3);}));}function _0x2b998d(_0x52789d,_0x13af3a,_0x4ad9f2){const _0x310743=_0x2c702b;var _0x52e4c1=_0x17f058({},_0x52789d[_0x310743(0x58b)]);_0x4ad9f2!=null&&_0x4ad9f2[_0x310743(0x336)]&&_0x52e4c1['fill']===_0x310743(0x336)&&(_0x52e4c1[_0x310743(0x3c7)]=_0x4ad9f2[_0x310743(0x336)]);var _0x2a8510=_0x13af3a[_0x310743(0x3a6)];return!_0x2a8510||_0x2a8510[_0x310743(0x493)]===0x0||(_0x52789d[_0x310743(0x59a)]===_0x310743(0x1cb)&&_0x52e4c1[_0x310743(0x4d4)]&&(_0x52e4c1[_0x310743(0x4d4)]=_0x52e4c1[_0x310743(0x4d4)]+_0x13af3a['idSuffix']),Object[_0x310743(0x2b9)](_0x52e4c1)[_0x310743(0x363)](function(_0x362488){const _0x745eb=_0x310743;var _0x9ff882=_0x362488[0x0],_0x4efaba=_0x362488[0x1];typeof _0x4efaba==_0x745eb(0x283)&&(_0x52e4c1[_0x9ff882]=_0x4efaba[_0x745eb(0x50e)](/url\(#(.*)\)/,'url(#$1'[_0x745eb(0x1e4)](_0x13af3a['idSuffix'],')')));})),_0x52e4c1;}function _0x164184(_0x46ed83,_0x5c6311){const _0xabbe63=_0x2c702b;var _0x14a660,_0x57aad3=_0x5c6311[_0xabbe63(0x3a6)];return!_0x57aad3||_0x57aad3[_0xabbe63(0x493)]===0x0?_0x46ed83:_0x46ed83[_0xabbe63(0x59a)]==='defs'&&(!((_0x14a660=_0x46ed83[_0xabbe63(0x371)])===null||_0x14a660===void 0x0)&&_0x14a660[_0xabbe63(0x493)])?_0x17f058(_0x17f058({},_0x46ed83),{'children':_0x46ed83[_0xabbe63(0x371)][_0xabbe63(0x4a7)](function(_0x4ad060){const _0x420516=_0xabbe63;return typeof _0x4ad060[_0x420516(0x58b)]['id']=='string'&&_0x57aad3&&_0x57aad3['indexOf'](_0x4ad060[_0x420516(0x58b)]['id'])>-0x1?_0x17f058(_0x17f058({},_0x4ad060),{'attrs':_0x17f058(_0x17f058({},_0x4ad060['attrs']),{'id':_0x4ad060[_0x420516(0x58b)]['id']+_0x5c6311['idSuffix']})}):_0x4ad060;})}):_0x46ed83;}function _0x496a4b(){const _0x57d62d=_0x2c702b;return Math[_0x57d62d(0x333)]()[_0x57d62d(0x45a)](0x24)[_0x57d62d(0x319)](0x2,0x8);}_0x1a2c48[_0x2c702b(0x40d)]=_0x2c702b(0x3c1);var _0x253182={'tag':_0x2c702b(0x253),'attrs':{'fill':_0x2c702b(0x4d3),'viewBox':_0x2c702b(0x516),'width':_0x2c702b(0x3b8),'height':_0x2c702b(0x3b8)},'children':[{'tag':'g','attrs':{'clipPath':_0x2c702b(0x1e8)},'children':[{'tag':_0x2c702b(0x473),'attrs':{'stroke':_0x2c702b(0x231),'d':_0x2c702b(0x4c7),'strokeLinecap':'round','strokeLinejoin':_0x2c702b(0x44e),'strokeWidth':1.2}}]},{'tag':_0x2c702b(0x42c),'attrs':{},'children':[{'tag':_0x2c702b(0x27d),'attrs':{'id':_0x2c702b(0x3f5)},'children':[{'tag':_0x2c702b(0x473),'attrs':{'fill':'#fff','d':_0x2c702b(0x34a)}}]}]}],'defIds':[_0x2c702b(0x3f5)]},_0x5252a8=_0xaabc7e[_0x2c702b(0x452)](function(_0x2505ef,_0x457977){const _0x4f4fdd=_0x2c702b;return _0xaabc7e['createElement'](_0x1a2c48,Object[_0x4f4fdd(0x34d)]({},_0x2505ef,{'id':_0x4f4fdd(0x2a9),'ref':_0x457977,'icon':_0x253182}));});_0x5252a8['displayName']='OffLineSingle';var _0x3f3d06={'tag':_0x2c702b(0x253),'attrs':{'fill':_0x2c702b(0x4d3),'viewBox':_0x2c702b(0x429),'width':_0x2c702b(0x3b8),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2c702b(0x287)},'children':[{'tag':_0x2c702b(0x473),'attrs':{'stroke':_0x2c702b(0x231),'d':_0x2c702b(0x514),'strokeLinecap':_0x2c702b(0x44e),'strokeLinejoin':_0x2c702b(0x44e),'strokeWidth':1.2}}]},{'tag':_0x2c702b(0x42c),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x2c702b(0x473),'attrs':{'fill':_0x2c702b(0x2ed),'d':_0x2c702b(0x34a),'transform':'translate(.97)'}}]}]}],'defIds':[_0x2c702b(0x226)]},_0x1f143e=_0xaabc7e['forwardRef'](function(_0x2a5938,_0xb58770){const _0x58a174=_0x2c702b;return _0xaabc7e[_0x58a174(0x2cd)](_0x1a2c48,Object[_0x58a174(0x34d)]({},_0x2a5938,{'id':_0x58a174(0x4ab),'ref':_0xb58770,'icon':_0x3f3d06}));});_0x1f143e['displayName']=_0x2c702b(0x43b);const _0xbf6699={'onlineStatusIcon':_0x2c702b(0x575),'onlineStatusTitle':_0x2c702b(0x3e3),'onlineStatus':_0x2c702b(0x3d4),'online':_0x2c702b(0x3c8),'offline':_0x2c702b(0x230)};function _0x267cf2(_0x4a3aff){const _0x470d9f=_0x2c702b;switch(_0x4a3aff){case _0x56e84e[_0x470d9f(0x50a)]:return'collabStatus.offline';case _0x56e84e['CONFLICT']:return _0x470d9f(0x22a);case _0x56e84e[_0x470d9f(0x3f4)]:return _0x470d9f(0x1d4);case _0x56e84e[_0x470d9f(0x33a)]:return _0x470d9f(0x4ce);case _0x56e84e[_0x470d9f(0x48c)]:case _0x56e84e[_0x470d9f(0x441)]:case _0x56e84e[_0x470d9f(0x5b5)]:return _0x470d9f(0x4bf);case _0x56e84e['SYNCED']:return _0x470d9f(0x512);}}function _0x471604(_0x22f077){const _0x513f22=_0x2c702b,{status$:_0x5cf891}=_0x22f077,_0xee1f23=_0x40690c['useObservable'](_0x5cf891,_0x56e84e[_0x513f22(0x33a)]),_0x121b96=_0x59f65f[_0x513f22(0x424)](_0x59f65f['LocaleService']),_0x4e9229=_0xee1f23!==_0x56e84e['OFFLINE'],_0x17a141=_0x121b96['t'](_0x267cf2(_0xee1f23)),_0xeda6be=_0x18d70e(_0xbf6699[_0x513f22(0x4d8)],{[_0xbf6699[_0x513f22(0x565)]]:_0x4e9229,[_0xbf6699[_0x513f22(0x581)]]:!_0x4e9229}),_0x1c4148=_0x4e9229?_0xaabc7e[_0x513f22(0x2cd)](_0x1f143e,null):_0xaabc7e[_0x513f22(0x2cd)](_0x5252a8,null);return _0xaabc7e[_0x513f22(0x2cd)](_0x513f22(0x4a4),{'className':_0xeda6be},_0xaabc7e[_0x513f22(0x2cd)]('div',{'className':_0xbf6699[_0x513f22(0x2b4)]},_0x1c4148),_0xaabc7e[_0x513f22(0x2cd)](_0x513f22(0x4a4),{'className':_0xbf6699[_0x513f22(0x255)]},_0x17a141));}var _0x609800=Object[_0x2c702b(0x227)],_0x16870f=Object[_0x2c702b(0x294)],_0x223040=(_0x1a3d54,_0x1b159a,_0x33fe72,_0x4c8d26)=>{for(var _0x35e226=_0x4c8d26>0x1?void 0x0:_0x4c8d26?_0x16870f(_0x1b159a,_0x33fe72):_0x1b159a,_0x335417=_0x1a3d54['length']-0x1,_0x34391f;_0x335417>=0x0;_0x335417--)(_0x34391f=_0x1a3d54[_0x335417])&&(_0x35e226=(_0x4c8d26?_0x34391f(_0x1b159a,_0x33fe72,_0x35e226):_0x34391f(_0x35e226))||_0x35e226);return _0x4c8d26&&_0x35e226&&_0x609800(_0x1b159a,_0x33fe72,_0x35e226),_0x35e226;},_0x4765fa=(_0x594bd0,_0x7d9077)=>(_0x418bd1,_0x21cdd1)=>_0x7d9077(_0x418bd1,_0x21cdd1,_0x594bd0);_0x21561b['DesktopCollaborationStatusDisplayController']=class extends _0x59f65f[_0x2c702b(0x416)]{constructor(_0x10afc4,_0x4ec09d,_0x343134,_0x34aa2e){const _0x2ec15e=_0x2c702b;super(),_0x191e33(this,_0x2ec15e(0x508),new _0x6d0798[(_0x2ec15e(0x52f))](_0x56e84e[_0x2ec15e(0x33a)])),(this[_0x2ec15e(0x54c)]=_0x10afc4,this['_uiPartsService']=_0x4ec09d,this[_0x2ec15e(0x232)]=_0x343134,this['_collaborationController']=_0x34aa2e,this['_initStatusComponent'](),this[_0x2ec15e(0x5b2)]());}[_0x2c702b(0x39e)](){const _0x2d4715=_0x2c702b;this[_0x2d4715(0x35f)](this[_0x2d4715(0x506)][_0x2d4715(0x3c4)](_0x40690c[_0x2d4715(0x404)][_0x2d4715(0x36e)],()=>_0x59f65f['connectInjector'](_0x592325({'status$':this[_0x2d4715(0x508)][_0x2d4715(0x1c4)]()}),this[_0x2d4715(0x232)])));}[_0x2c702b(0x5b2)](){const _0x714225=_0x2c702b;this['disposeWithMe'](_0x59f65f[_0x714225(0x209)](this[_0x714225(0x54c)][_0x714225(0x28e)]['pipe'](_0x6d0798['switchMap'](()=>{const _0x1d8f27=_0x714225,_0x4571b6=this[_0x1d8f27(0x54c)][_0x1d8f27(0x4cc)]();return _0x4571b6?this['_collaborationController'][_0x1d8f27(0x43f)](_0x4571b6['getUnitId']()):_0x6d0798['of'](null);}),_0x6d0798[_0x714225(0x383)](_0x535caf=>_0x535caf?_0x535caf[_0x714225(0x50f)]:_0x6d0798['of'](_0x56e84e[_0x714225(0x33a)])))[_0x714225(0x41d)](_0xc1c7fb=>{const _0x45bd01=_0x714225;this[_0x45bd01(0x508)][_0x45bd01(0x577)](_0xc1c7fb);})));}},_0x21561b['DesktopCollaborationStatusDisplayController']=_0x223040([_0x59f65f[_0x2c702b(0x1ed)](_0x59f65f[_0x2c702b(0x1e5)]['Starting'],_0x21561b[_0x2c702b(0x530)]),_0x4765fa(0x0,_0x59f65f[_0x2c702b(0x350)]),_0x4765fa(0x1,_0x40690c['IUIPartsService']),_0x4765fa(0x2,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x4765fa(0x3,_0x59f65f[_0x2c702b(0x57e)](_0x21561b[_0x2c702b(0x569)]))],_0x21561b['DesktopCollaborationStatusDisplayController']);function _0x592325(_0x2a5aa2){const {status$:_0x521217}=_0x2a5aa2;return function(){const _0x25c53e=_0x50c2;return _0xaabc7e[_0x25c53e(0x2cd)](_0x471604,{'status$':_0x521217});};}const _0x5c813f=_0x59f65f[_0x2c702b(0x4ad)](_0x2c702b(0x33d));var _0x38d6cb=Object[_0x2c702b(0x227)],_0x17b836=Object[_0x2c702b(0x294)],_0x293e61=(_0x42d800,_0x504da4,_0x10a546,_0x14f10f)=>{for(var _0x45dbf4=_0x14f10f>0x1?void 0x0:_0x14f10f?_0x17b836(_0x504da4,_0x10a546):_0x504da4,_0x32c500=_0x42d800['length']-0x1,_0x5c4842;_0x32c500>=0x0;_0x32c500--)(_0x5c4842=_0x42d800[_0x32c500])&&(_0x45dbf4=(_0x14f10f?_0x5c4842(_0x504da4,_0x10a546,_0x45dbf4):_0x5c4842(_0x45dbf4))||_0x45dbf4);return _0x14f10f&&_0x45dbf4&&_0x38d6cb(_0x504da4,_0x10a546,_0x45dbf4),_0x45dbf4;},_0x56e0c5=(_0x48de43,_0x58d9e9)=>(_0x653910,_0x5d37ea)=>_0x58d9e9(_0x653910,_0x5d37ea,_0x48de43);_0x21561b[_0x2c702b(0x331)]=class extends _0x59f65f[_0x2c702b(0x1e7)]{constructor(_0x3da9ec,_0x5a717e,_0x276684,_0x2fbc7b,_0x4ef4b9,_0x1f3469){const _0x80be3a=_0x2c702b;super(),this['_urlService']=_0x3da9ec,this['_logService']=_0x5a717e,this[_0x80be3a(0x567)]=_0x276684,this['_localCacheService']=_0x2fbc7b,this[_0x80be3a(0x206)]=_0x4ef4b9,_0x1f3469?_0x1f3469==null||_0x1f3469['whenReady']()[_0x80be3a(0x4c0)](()=>this[_0x80be3a(0x362)]()):(this[_0x80be3a(0x591)][_0x80be3a(0x386)](_0x80be3a(0x418),_0x80be3a(0x3a5)),this[_0x80be3a(0x362)]());}async['_init'](){const _0x5ca029=_0x2c702b,_0x3c3389=this[_0x5ca029(0x576)][_0x5ca029(0x492)](_0x5ca029(0x3f7)),_0xd62dfe=this[_0x5ca029(0x576)][_0x5ca029(0x492)](_0x5ca029(0x375));if(!_0x3c3389||!_0xd62dfe){this[_0x5ca029(0x591)]['debug'](_0x5ca029(0x418),_0x5ca029(0x1f2));return;}switch(Number(_0xd62dfe)){case _0x2e0d9e[_0x5ca029(0x46b)]:{const _0x5c1f54=await this[_0x5ca029(0x521)](_0x3c3389);this[_0x5ca029(0x2f5)](_0x5c1f54);break;}case _0x2e0d9e[_0x5ca029(0x525)]:{await this[_0x5ca029(0x221)](_0x3c3389);break;}default:{this[_0x5ca029(0x591)]['error'](_0x5ca029(0x418),_0x5ca029(0x4c4));break;}}}async[_0x2c702b(0x2f5)](_0x301f3d){const _0x115f83=_0x2c702b;await this[_0x115f83(0x335)](_0x301f3d),_0x301f3d[_0x115f83(0x4e2)][_0x115f83(0x47e)](_0x6d0798[_0x115f83(0x397)](this[_0x115f83(0x45e)]))[_0x115f83(0x41d)](_0xf10dd3=>{const _0x18fa9e=_0x115f83;_0xf10dd3&&this[_0x18fa9e(0x475)](_0xf10dd3);}),this['_urlService']['urlChange$'][_0x115f83(0x47e)](_0x6d0798[_0x115f83(0x397)](this[_0x115f83(0x45e)]))[_0x115f83(0x41d)](()=>this[_0x115f83(0x335)](_0x301f3d));}[_0x2c702b(0x475)](_0x21717e,_0x5a9acf=!0x1){const _0x3d53e9=_0x2c702b,_0x3c6c5c=this['_urlService'][_0x3d53e9(0x492)](_0x3d53e9(0x412));_0x21717e[_0x3d53e9(0x57a)]()!==_0x3c6c5c&&this['_urlService'][_0x3d53e9(0x3f1)](_0x3d53e9(0x412),_0x21717e[_0x3d53e9(0x57a)](),_0x5a9acf);}async[_0x2c702b(0x335)](_0x1ab77a){const _0x3e7d08=_0x2c702b;var _0x4b8cac;const _0x30e238=this['_urlService']['getParam'](_0x3e7d08(0x412));if(!_0x30e238||!_0x1ab77a['getSheetBySheetId'](_0x30e238)){const _0x37b138=_0x1ab77a[_0x3e7d08(0x54d)]()[0x0],_0xddb2dc=_0x1ab77a['getSheetBySheetId'](_0x37b138);if(!_0xddb2dc)return;this[_0x3e7d08(0x475)](_0xddb2dc,!0x0),await this[_0x3e7d08(0x567)][_0x3e7d08(0x22f)](_0x5dba16[_0x3e7d08(0x3be)]['id'],{'unitId':_0x1ab77a['getUnitId'](),'subUnitId':_0x37b138});return;}((_0x4b8cac=_0x1ab77a['getActiveSheet']())==null?void 0x0:_0x4b8cac[_0x3e7d08(0x57a)]())!==_0x30e238&&await this[_0x3e7d08(0x567)][_0x3e7d08(0x22f)](_0x5dba16['SetWorksheetActivateCommand']['id'],{'unitId':_0x1ab77a[_0x3e7d08(0x36b)](),'subUnitId':_0x30e238});}async['_loadSheet'](_0x527fff){const _0x49c828=_0x2c702b;let _0x489f34=0x0;const _0x148380=await this[_0x49c828(0x43a)][_0x49c828(0x5bf)](_0x527fff);return _0x148380&&(_0x148380['awaitingChangeset']||_0x148380[_0x49c828(0x31c)][_0x49c828(0x493)]!==0x0)&&(_0x489f34=_0x148380[_0x49c828(0x41a)]),_0x489f34===0x0&&this[_0x49c828(0x591)][_0x49c828(0x386)](_0x49c828(0x418),_0x49c828(0x410)),this[_0x49c828(0x206)][_0x49c828(0x274)](_0x527fff,_0x489f34);}async[_0x2c702b(0x221)](_0x118ec2){const _0x2f17d9=_0x2c702b;let _0x33a7d8=0x0;const _0x373e29=await this[_0x2f17d9(0x43a)][_0x2f17d9(0x5bf)](_0x118ec2);return _0x373e29&&(_0x373e29[_0x2f17d9(0x56f)]||_0x373e29[_0x2f17d9(0x31c)][_0x2f17d9(0x493)]!==0x0)&&(_0x33a7d8=_0x373e29['rev']),_0x33a7d8===0x0&&this[_0x2f17d9(0x591)][_0x2f17d9(0x386)]('[DataLoaderController]',_0x2f17d9(0x410)),this[_0x2f17d9(0x206)]['loadDoc'](_0x118ec2,_0x33a7d8);}},_0x21561b[_0x2c702b(0x331)]=_0x293e61([_0x59f65f[_0x2c702b(0x1ed)](_0x59f65f[_0x2c702b(0x1e5)]['Starting'],_0x21561b[_0x2c702b(0x331)]),_0x56e0c5(0x0,_0x5c813f),_0x56e0c5(0x1,_0x59f65f['ILogService']),_0x56e0c5(0x2,_0x59f65f[_0x2c702b(0x4b7)]),_0x56e0c5(0x3,_0x59f65f[_0x2c702b(0x57e)](_0x21561b[_0x2c702b(0x293)])),_0x56e0c5(0x4,_0x59f65f['Inject'](_0x4c33ab['SnapshotService'])),_0x56e0c5(0x5,_0x59f65f[_0x2c702b(0x558)](_0x13ce83['IRemoteInstanceService']))],_0x21561b[_0x2c702b(0x331)]);var _0x1ae471=Object['defineProperty'],_0x420c7e=Object[_0x2c702b(0x294)],_0x9abe89=(_0x43d09b,_0x4ce5da,_0xc35223,_0x4db13a)=>{for(var _0x334883=_0x4db13a>0x1?void 0x0:_0x4db13a?_0x420c7e(_0x4ce5da,_0xc35223):_0x4ce5da,_0x17ce81=_0x43d09b['length']-0x1,_0x125ed6;_0x17ce81>=0x0;_0x17ce81--)(_0x125ed6=_0x43d09b[_0x17ce81])&&(_0x334883=(_0x4db13a?_0x125ed6(_0x4ce5da,_0xc35223,_0x334883):_0x125ed6(_0x334883))||_0x334883);return _0x4db13a&&_0x334883&&_0x1ae471(_0x4ce5da,_0xc35223,_0x334883),_0x334883;},_0x4c1107=(_0x41c2d6,_0x1448e0)=>(_0x5029ed,_0x70b710)=>_0x1448e0(_0x5029ed,_0x70b710,_0x41c2d6);const _0x2917fb=_0x2c702b(0x297),_0x465f42='Univer';let _0x30022e=class extends _0x59f65f[_0x2c702b(0x416)]{constructor(_0x5c1353,_0x57fff4){const _0x1c60b8=_0x2c702b;super(),this['_univerInstanceService']=_0x5c1353,this['_configService']=_0x57fff4,this[_0x1c60b8(0x362)]();}[_0x2c702b(0x362)](){const _0x35cba2=_0x2c702b;this[_0x35cba2(0x35f)](_0x59f65f[_0x35cba2(0x209)](this[_0x35cba2(0x54c)][_0x35cba2(0x28e)][_0x35cba2(0x41d)](()=>{const _0x464d77=_0x35cba2;var _0x75a710;const _0x183798=this[_0x464d77(0x54c)]['getFocusedUnit']();let _0x48de71=(_0x75a710=this['_configService'][_0x464d77(0x330)](_0x2917fb))!=null?_0x75a710:_0x465f42;_0x183798 instanceof _0x59f65f[_0x464d77(0x389)]&&(_0x48de71=_0x183798[_0x464d77(0x2eb)]),document['title']=_0x48de71;})));}};_0x30022e=_0x9abe89([_0x59f65f[_0x2c702b(0x1ed)](_0x59f65f[_0x2c702b(0x1e5)][_0x2c702b(0x307)],_0x30022e),_0x4c1107(0x0,_0x59f65f[_0x2c702b(0x350)]),_0x4c1107(0x1,_0x59f65f[_0x2c702b(0x39d)])],_0x30022e);var _0x6b105e=Object[_0x2c702b(0x227)],_0x5533d0=Object[_0x2c702b(0x294)],_0x378eea=(_0x580cbf,_0x399d23,_0x585d42,_0x6a3a3e)=>{for(var _0x5a8da6=_0x6a3a3e>0x1?void 0x0:_0x6a3a3e?_0x5533d0(_0x399d23,_0x585d42):_0x399d23,_0x25e9fb=_0x580cbf['length']-0x1,_0x16a4aa;_0x25e9fb>=0x0;_0x25e9fb--)(_0x16a4aa=_0x580cbf[_0x25e9fb])&&(_0x5a8da6=(_0x6a3a3e?_0x16a4aa(_0x399d23,_0x585d42,_0x5a8da6):_0x16a4aa(_0x5a8da6))||_0x5a8da6);return _0x6a3a3e&&_0x5a8da6&&_0x6b105e(_0x399d23,_0x585d42,_0x5a8da6),_0x5a8da6;},_0x435d33=(_0x1d8369,_0x2015c3)=>(_0x351edd,_0x5ea182)=>_0x2015c3(_0x351edd,_0x5ea182,_0x1d8369);_0x21561b['SnapshotServerOverHTTPService']=class{constructor(_0x31cf88,_0x40310e){const _0x600dd8=_0x2c702b;this[_0x600dd8(0x2a3)]=_0x31cf88,this['_httpService']=_0x40310e;}async[_0x2c702b(0x405)](_0x2e0c0d,_0x4ccbb6){const _0x2660b1=_0x2c702b;var _0x1aac34;const {unitID:_0x10327d,type:_0x16f781,revision:_0x1d294c=0x0}=_0x4ccbb6,_0x4d4cde=this[_0x2660b1(0x517)]()+'/'+_0x16f781+_0x2660b1(0x528)+_0x10327d+_0x2660b1(0x3c6)+_0x1d294c,_0x1a28e4=(await this[_0x2660b1(0x2b2)][_0x2660b1(0x2f7)](_0x4d4cde))[_0x2660b1(0x24a)],_0x1a2fab=(_0x1aac34=_0x1a28e4[_0x2660b1(0x315)])==null?void 0x0:_0x1aac34[_0x2660b1(0x1df)];if(_0x1a2fab){const _0x34c083=_0x1a2fab==null?void 0x0:_0x1a2fab[_0x2660b1(0x361)],_0x5e654d=_0x4c33ab['textEncoder']['encode'](_0x4c33ab['b64DecodeUnicode'](_0x34c083));_0x1a2fab['originalMeta']=_0x5e654d,Object['entries'](_0x1a2fab[_0x2660b1(0x21f)])['forEach'](([,_0x11d541])=>{const _0x33dd14=_0x2660b1,_0x4128e8=_0x11d541['originalMeta'],_0x2396ce=_0x4c33ab[_0x33dd14(0x1eb)][_0x33dd14(0x2d5)](_0x4c33ab[_0x33dd14(0x2bd)](_0x4128e8));_0x11d541[_0x33dd14(0x361)]=_0x2396ce;});}return _0x1a28e4;}async[_0x2c702b(0x534)](_0x427049,_0x559474){const _0x5beaa2=_0x2c702b,{unitID:_0x3a31a9,type:_0x208ecc,blockID:_0x118144}=_0x559474,_0x2b2a15=this['_getAPIPrefix']()+'/'+_0x208ecc+_0x5beaa2(0x528)+_0x3a31a9+'/block/'+_0x118144;return(await this[_0x5beaa2(0x2b2)][_0x5beaa2(0x2f7)](_0x2b2a15))[_0x5beaa2(0x24a)];}async['fetchMissingChangesets'](_0x472f45,_0x1485b8){const _0x44fa59=_0x2c702b,{unitID:_0x438270,type:_0x2c827f,from:_0x17faa5,to:_0x34ae4e}=_0x1485b8,_0x44b519=this['_getAPIPrefix']()+'/'+_0x2c827f+_0x44fa59(0x528)+_0x438270+_0x44fa59(0x37b)+_0x17faa5+'&to='+_0x34ae4e;return(await this[_0x44fa59(0x2b2)][_0x44fa59(0x2f7)](_0x44b519))[_0x44fa59(0x24a)];}[_0x2c702b(0x517)](){const _0x499016=_0x2c702b;var _0xc186b7;return(_0xc186b7=this[_0x499016(0x2a3)][_0x499016(0x330)](_0x47cbd6))!=null?_0xc186b7:this[_0x499016(0x2ea)]();}[_0x2c702b(0x2ea)](){const _0x4fcd31=_0x2c702b;var _0x27f5a2;return(_0x27f5a2=this[_0x4fcd31(0x2a3)][_0x4fcd31(0x330)](_0x27f2b1))!=null?_0x27f5a2:_0x4a6e51;}async[_0x2c702b(0x40e)](_0x4c9cd9,_0x2d4128){const _0x52ca49=_0x2c702b,_0x24f531=_0x52ca49(0x3b6)+_0x2d4128[_0x52ca49(0x375)]+_0x52ca49(0x528)+_0x2d4128['unitID']+_0x52ca49(0x3ad);return(await this[_0x52ca49(0x2b2)][_0x52ca49(0x2f7)](_0x24f531,{'params':{'resourceId':JSON[_0x52ca49(0x208)](_0x2d4128[_0x52ca49(0x48d)])}}))[_0x52ca49(0x24a)];}[_0x2c702b(0x220)](){const _0x4f942c=_0x2c702b;throw new Error(_0x4f942c(0x4bd));}[_0x2c702b(0x358)](){const _0x5e6f53=_0x2c702b;throw new Error(_0x5e6f53(0x4bd));}[_0x2c702b(0x30b)](){const _0xed284e=_0x2c702b;throw new Error(_0xed284e(0x4bd));}},_0x21561b[_0x2c702b(0x38d)]=_0x378eea([_0x435d33(0x0,_0x59f65f[_0x2c702b(0x39d)]),_0x435d33(0x1,_0x59f65f[_0x2c702b(0x57e)](_0x33d91c[_0x2c702b(0x1d5)]))],_0x21561b[_0x2c702b(0x38d)]);var _0x262bf8=Object[_0x2c702b(0x227)],_0x25199b=Object[_0x2c702b(0x294)],_0x3ff292=(_0x58b26a,_0x466173,_0x319121,_0x29c303)=>{const _0x4823a1=_0x2c702b;for(var _0x4956ad=_0x29c303>0x1?void 0x0:_0x29c303?_0x25199b(_0x466173,_0x319121):_0x466173,_0x5e0306=_0x58b26a[_0x4823a1(0x493)]-0x1,_0x23e481;_0x5e0306>=0x0;_0x5e0306--)(_0x23e481=_0x58b26a[_0x5e0306])&&(_0x4956ad=(_0x29c303?_0x23e481(_0x466173,_0x319121,_0x4956ad):_0x23e481(_0x4956ad))||_0x4956ad);return _0x29c303&&_0x4956ad&&_0x262bf8(_0x466173,_0x319121,_0x4956ad),_0x4956ad;},_0x56b22f=(_0x28ade7,_0x5cae10)=>(_0x2c6c05,_0x26b538)=>_0x5cae10(_0x2c6c05,_0x26b538,_0x28ade7);let _0x21f747=class extends _0x59f65f[_0x2c702b(0x32b)]{constructor(_0x5355b6,_0x5b9699,_0x291aa5,_0x3fc4f4,_0x4bb457){const _0x41e914=_0x2c702b;super(_0x5355b6,_0x5b9699,_0x291aa5),this[_0x41e914(0x586)]=_0x3fc4f4,this[_0x41e914(0x591)]=_0x4bb457;}[_0x2c702b(0x321)](_0x1c8d43,_0x5160a4){const _0x3b2c2c=_0x2c702b,_0x395d2e=this[_0x3b2c2c(0x465)](_0x1c8d43);if(_0x395d2e)try{const _0xfed6bc=this[_0x3b2c2c(0x49e)](_0x395d2e,_0x5160a4);this[_0x3b2c2c(0x2c1)](_0x1c8d43,_0xfed6bc);}catch(_0x4ff934){this[_0x3b2c2c(0x591)][_0x3b2c2c(0x538)](_0x3b2c2c(0x347),_0x4ff934),this['_clearUndo'](_0x1c8d43);}const _0x5d807e=this['_getRedoStack'](_0x1c8d43);if(_0x5d807e)try{const _0x3bf8c4=this[_0x3b2c2c(0x49e)](_0x5d807e,_0x5160a4);this[_0x3b2c2c(0x33e)](_0x1c8d43,_0x3bf8c4);}catch(_0x459185){this[_0x3b2c2c(0x591)]['error'](_0x459185),this[_0x3b2c2c(0x481)](_0x1c8d43);}}[_0x2c702b(0x449)](_0x1ed932){const _0x2b8528=_0x2c702b,_0x6dfa6c=this[_0x2b8528(0x465)](_0x1ed932);_0x6dfa6c&&(_0x6dfa6c[_0x2b8528(0x493)]=0x0,this[_0x2b8528(0x3f6)]());}[_0x2c702b(0x481)](_0x11bfa8){const _0x25b2c1=_0x2c702b,_0x46fd88=this[_0x25b2c1(0x1c9)](_0x11bfa8);_0x46fd88&&(_0x46fd88[_0x25b2c1(0x493)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x2afc76,_0x411c02){const _0x3fa6f4=_0x2c702b;this[_0x3fa6f4(0x4b0)][_0x3fa6f4(0x407)](_0x2afc76,_0x411c02),this[_0x3fa6f4(0x3f6)]();}[_0x2c702b(0x33e)](_0x4ad5b4,_0x41b9b2){const _0x5aec55=_0x2c702b;this[_0x5aec55(0x4fc)][_0x5aec55(0x407)](_0x4ad5b4,_0x41b9b2),this[_0x5aec55(0x3f6)]();}[_0x2c702b(0x49e)](_0x46e4b0,_0x2036ef){const _0x1a1bab=_0x2c702b,_0x19aaa8=[];let _0x14a63c=_0x2036ef,_0x56490f=_0x2036ef;for(let _0x336511=_0x46e4b0[_0x1a1bab(0x493)]-0x1;_0x336511>=0x0;_0x336511--){const {unitID:_0xc57d3c,undoMutations:_0x5116b8,redoMutations:_0x520547}=_0x46e4b0[_0x336511],_0x41d29e=this[_0x1a1bab(0x586)][_0x1a1bab(0x201)](_0x14a63c,_0x5116b8),_0x59de35=this[_0x1a1bab(0x586)][_0x1a1bab(0x201)](_0x56490f,_0x520547);if(_0x4c33ab[_0x1a1bab(0x56b)](_0x41d29e)||_0x4c33ab[_0x1a1bab(0x56b)](_0x59de35)){this['_logService'][_0x1a1bab(0x538)](_0x1a1bab(0x347),_0x1a1bab(0x2f6),_0x41d29e,_0x59de35);break;}_0x14a63c=_0x41d29e[_0x1a1bab(0x399)],_0x56490f=_0x59de35[_0x1a1bab(0x399)],_0x19aaa8[_0x1a1bab(0x2ba)]({'unitID':_0xc57d3c,'undoMutations':_0x41d29e[_0x1a1bab(0x505)],'redoMutations':_0x59de35[_0x1a1bab(0x505)]});}return _0x19aaa8[_0x1a1bab(0x527)]();}};_0x21f747=_0x3ff292([_0x56b22f(0x0,_0x59f65f[_0x2c702b(0x350)]),_0x56b22f(0x1,_0x59f65f[_0x2c702b(0x4b7)]),_0x56b22f(0x2,_0x59f65f['IContextService']),_0x56b22f(0x3,_0x4c33ab[_0x2c702b(0x419)]),_0x56b22f(0x4,_0x59f65f['ILogService'])],_0x21f747);class _0x270c1d extends _0x59f65f[_0x2c702b(0x1e7)]{constructor(){const _0x4e3f79=_0x2c702b;super(),_0x191e33(this,_0x4e3f79(0x4d6)),this[_0x4e3f79(0x4d6)]=_0x6d0798[_0x4e3f79(0x4e4)](window,_0x4e3f79(0x4eb))[_0x4e3f79(0x47e)](_0x6d0798[_0x4e3f79(0x397)](this['dispose$']),_0x6d0798[_0x4e3f79(0x3fc)](0x1),_0x6d0798[_0x4e3f79(0x522)](void 0x0));}[_0x2c702b(0x3f1)](_0x12a42a,_0x3eab59,_0x335bea=!0x1){const _0x3d8364=_0x2c702b,_0x82405a=new URL(window[_0x3d8364(0x4df)][_0x3d8364(0x2db)]);_0x82405a[_0x3d8364(0x1ec)]['set'](_0x12a42a,_0x3eab59),_0x335bea?window[_0x3d8364(0x31f)]['replaceState']('','',_0x82405a[_0x3d8364(0x45a)]()):window[_0x3d8364(0x31f)][_0x3d8364(0x44f)]('','',_0x82405a['toString']());}[_0x2c702b(0x58c)](_0x4324b2,_0x2119ef=!0x1){const _0x16a877=_0x2c702b,_0x5dd118=new URL(window[_0x16a877(0x4df)][_0x16a877(0x2db)]);_0x5dd118[_0x16a877(0x1ec)]['delete'](_0x4324b2),_0x2119ef?window[_0x16a877(0x31f)][_0x16a877(0x4dd)]('','',_0x5dd118[_0x16a877(0x45a)]()):window['history'][_0x16a877(0x44f)]('','',_0x5dd118[_0x16a877(0x45a)]());}[_0x2c702b(0x492)](_0x1149da){const _0x3cfd05=_0x2c702b;var _0x46ab64;return(_0x46ab64=new URL(window['location'][_0x3cfd05(0x2db)])[_0x3cfd05(0x1ec)][_0x3cfd05(0x2f7)](_0x1149da))!=null?_0x46ab64:void 0x0;}}const _0x15b26f=_0x2c702b(0x4b8),_0x3d169e=_0x2c702b(0x519),_0x32ee85='collab-rect-range-',_0x53d398=0x6,_0x1f5ddc=1.5,_0x3892ee=0x4,_0x5bf11f=1.5,_0x251151=_0x2c702b(0x4c1);class _0x2dec16{constructor(_0x28f87a,_0x1eccf3,_0x432a1b,_0x1433fc){const _0x2c2511=_0x2c702b;_0x191e33(this,_0x2c2511(0x28a),[]),_0x191e33(this,_0x2c2511(0x267),null),_0x191e33(this,'_textBubble',null),_0x191e33(this,_0x2c2511(0x3de),null),_0x191e33(this,_0x2c2511(0x23e),null),_0x191e33(this,_0x2c2511(0x53e),null),(this[_0x2c2511(0x507)]=_0x28f87a,this[_0x2c2511(0x5b4)]=_0x1eccf3,this['_docSkeleton']=_0x432a1b,this[_0x2c2511(0x427)]=_0x1433fc,this[_0x2c2511(0x533)]());}set[_0x2c702b(0x478)](_0x39c852){const _0xb4cff=_0x2c702b;_0x39c852?(this[_0xb4cff(0x3de)]&&this[_0xb4cff(0x3de)][_0xb4cff(0x318)](),this[_0xb4cff(0x223)]&&this[_0xb4cff(0x223)][_0xb4cff(0x272)]()):(this[_0xb4cff(0x3de)]&&this['_anchorDot'][_0xb4cff(0x272)](),this[_0xb4cff(0x223)]&&this[_0xb4cff(0x223)][_0xb4cff(0x318)]());}[_0x2c702b(0x574)](){const _0x214333=_0x2c702b;for(const _0x18c768 of this[_0x214333(0x28a)])_0x18c768[_0x214333(0x574)]();this[_0x214333(0x223)]&&this[_0x214333(0x223)][_0x214333(0x574)](),this[_0x214333(0x3de)]&&this[_0x214333(0x3de)]['dispose'](),this['_anchor']&&this['_anchor'][_0x214333(0x574)](),this[_0x214333(0x53e)]&&this[_0x214333(0x53e)]();}[_0x2c702b(0x533)](){const _0x216723=_0x2c702b;var _0x4d7173;const {_docSkeleton:_0x59c762,_document:_0x2fa908}=this,{color:_0x2360a9,name:_0x665fb8,ranges:_0x6e5ce}=this[_0x216723(0x507)],_0x34b447=_0x2fa908[_0x216723(0x490)](),{docsLeft:_0xf431aa,docsTop:_0x23dc63}=_0x34b447,_0x267efe=new _0x59fc99[(_0x216723(0x31b))](_0x34b447,_0x59c762);for(const {startOffset:_0x3373a1,endOffset:_0x2047ea,collapsed:_0x5be74e,isActive:_0x5e6bb0}of _0x6e5ce){const _0xe51b36=_0x59c762['findNodePositionByCharIndex'](_0x3373a1),_0x3897ae=_0x59c762[_0x216723(0x26e)](_0x2047ea);if(_0x5e6bb0){const {contentBoxPointGroup:_0x22d2d3}=_0x267efe[_0x216723(0x3bd)](_0x3897ae,_0x3897ae);if(_0x22d2d3['length']===0x0)continue;this[_0x216723(0x548)](_0x2360a9,_0x22d2d3,_0xf431aa,_0x23dc63,_0x665fb8),this[_0x216723(0x53e)]=this[_0x216723(0x3b3)]();}if(!_0x5be74e&&_0xe51b36&&_0x3897ae){if(_0x59fc99['isValidRectRange'](_0xe51b36,_0x3897ae)){const _0x75f845=new _0x59fc99[(_0x216723(0x22e))](_0x34b447,_0x59c762),{pointGroup:_0x255374}=(_0x4d7173=_0x75f845[_0x216723(0x3bd)](_0xe51b36,_0x3897ae))!=null?_0x4d7173:{};if(_0x255374==null||_0x255374[_0x216723(0x493)]===0x0)continue;this[_0x216723(0x4b5)](_0x2360a9,_0x255374,_0xf431aa,_0x23dc63);}else{const {contentBoxPointGroup:_0x32f8ad}=_0x267efe[_0x216723(0x3bd)](_0xe51b36,_0x3897ae);if(_0x32f8ad[_0x216723(0x493)]===0x0)continue;this['_drawTextRange'](_0x2360a9,_0x32f8ad,_0xf431aa,_0x23dc63);}}}}[_0x2c702b(0x548)](_0x590688,_0x517339,_0x1c59d9,_0x57b749,_0x34a907){const _0x53d370=_0x2c702b,_0x43dc48=this[_0x53d370(0x42e)](_0x517339),{left:_0x44112a,top:_0x43a9a6,height:_0x560ac8}=_0x43dc48,_0x5255a6=this[_0x53d370(0x423)](),_0x36e5b4=_0x5bf11f/_0x5255a6,_0x4646dc=new _0x59fc99[(_0x53d370(0x4f1))](_0x15b26f+_0x59f65f[_0x53d370(0x5ad)][_0x53d370(0x394)](_0x53d398),{'left':_0x44112a+_0x1c59d9-_0x36e5b4,'top':_0x43a9a6+_0x57b749,'height':_0x560ac8,'width':_0x1f5ddc,'fill':_0x590688||_0x59fc99['getColor'](_0x59f65f[_0x53d370(0x455)]['black'],0x0),'strokeWidth':_0x36e5b4,'stroke':_0x251151,'evented':!0x0});this[_0x53d370(0x267)]=_0x4646dc,this['_scene'][_0x53d370(0x3ff)](_0x4646dc,_0x59fc99[_0x53d370(0x2d7)]);const _0x2b79b0=new _0x59fc99['Rect'](_0x15b26f+_0x59f65f[_0x53d370(0x5ad)][_0x53d370(0x394)](_0x53d398),{'left':_0x44112a+_0x1c59d9-_0x36e5b4,'top':_0x43a9a6+_0x57b749-_0x3892ee/0x2,'height':_0x3892ee,'width':_0x3892ee,'fill':_0x590688||_0x59fc99[_0x53d370(0x33c)](_0x59f65f[_0x53d370(0x455)][_0x53d370(0x2ca)],0x0),'strokeWidth':0x0,'stroke':_0x590688||_0x59fc99['getColor'](_0x59f65f[_0x53d370(0x455)]['black'],0x0),'evented':!0x1});this[_0x53d370(0x3de)]=_0x2b79b0,this[_0x53d370(0x5b4)][_0x53d370(0x3ff)](_0x2b79b0,_0x59fc99[_0x53d370(0x2d7)]);const _0x21ab46=new _0x15cd0c(_0x15b26f+_0x59f65f[_0x53d370(0x5ad)][_0x53d370(0x394)](_0x53d398),{'left':_0x44112a+_0x1c59d9-_0x36e5b4,'top':_0x43a9a6+_0x57b749-_0x4d9b5f,'text':_0x34a907,'color':_0x590688});this[_0x53d370(0x223)]=_0x21ab46,this['_scene'][_0x53d370(0x3ff)](_0x21ab46,_0x59fc99[_0x53d370(0x2d7)]),this[_0x53d370(0x478)]=!0x1;}[_0x2c702b(0x3b3)](){const _0x5a6837=_0x2c702b,_0xc2b7e8=this[_0x5a6837(0x267)][_0x5a6837(0x2f0)]['subscribeEvent'](()=>{const _0x1d1cb2=_0x5a6837;this[_0x1d1cb2(0x478)]=!0x0;}),_0x36f614=this[_0x5a6837(0x267)][_0x5a6837(0x2a7)][_0x5a6837(0x421)](()=>{const _0x2a56d2=_0x5a6837;this[_0x2a56d2(0x23e)]&&clearTimeout(this[_0x2a56d2(0x23e)]),this[_0x2a56d2(0x23e)]=setTimeout(()=>{const _0x191aac=_0x2a56d2;this[_0x191aac(0x478)]=!0x1;},0x7d0);});return()=>{const _0x11a364=_0x5a6837;_0xc2b7e8['unsubscribe'](),_0x36f614[_0x11a364(0x348)]();};}[_0x2c702b(0x2df)](_0x5206f2,_0x342e61,_0x472d1a,_0x2983e8){const _0x329508=_0x2c702b,_0x3b7552=new _0x59f65f['ColorKit'](_0x5206f2)[_0x329508(0x2ec)](0.2)['toRgbString'](),_0x36629d=new _0x59fc99[(_0x329508(0x1d0))](_0x3d169e+_0x59f65f['Tools'][_0x329508(0x394)](_0x53d398),{'pointsGroup':_0x342e61,'fill':_0x3b7552||_0x59fc99[_0x329508(0x33c)](_0x59f65f['COLORS'][_0x329508(0x2ca)],0.2),'left':_0x472d1a,'top':_0x2983e8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x329508(0x28a)][_0x329508(0x2ba)](_0x36629d),this[_0x329508(0x5b4)][_0x329508(0x3ff)](_0x36629d,_0x59fc99[_0x329508(0x2d7)]);}['_drawRectRange'](_0x3c57b6,_0x29d5e0,_0x8fc9ac,_0x162229){const _0xe3e16c=_0x2c702b,_0x4a5f35=new _0x59f65f['ColorKit'](_0x3c57b6)['setAlpha'](0.2)[_0xe3e16c(0x408)](),_0x139345=new _0x59fc99['RegularPolygon'](_0x32ee85+_0x59f65f[_0xe3e16c(0x5ad)][_0xe3e16c(0x394)](_0x53d398),{'pointsGroup':_0x29d5e0,'fill':_0x4a5f35||_0x59fc99['getColor'](_0x59f65f[_0xe3e16c(0x455)]['black'],0.2),'left':_0x8fc9ac,'top':_0x162229,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x139345),this['_scene'][_0xe3e16c(0x3ff)](_0x139345,_0x59fc99[_0xe3e16c(0x2d7)]);}[_0x2c702b(0x42e)](_0x3007f7){const _0x216ecb=_0x3007f7[0x0],_0x206e9c=_0x216ecb[0x0],_0x596dbc=_0x216ecb[0x2],{x:_0x33922b,y:_0x5a5347}=_0x206e9c,{x:_0x53bb60,y:_0x1b5671}=_0x596dbc;return{'left':_0x33922b,'top':_0x5a5347,'width':_0x53bb60-_0x33922b,'height':_0x1b5671-_0x5a5347};}['_getScale'](){const _0xa25b90=_0x2c702b,{scaleX:_0xd2f105,scaleY:_0x30c8fd}=this['_scene'][_0xa25b90(0x3f9)]();return Math[_0xa25b90(0x20b)](_0xd2f105,_0x30c8fd);}}var _0x11db36=Object[_0x2c702b(0x227)],_0x1aefce=Object['getOwnPropertyDescriptor'],_0x257fec=(_0x12d8fe,_0x33f987,_0x3daffe,_0x56393b)=>{for(var _0x14ae5c=_0x56393b>0x1?void 0x0:_0x56393b?_0x1aefce(_0x33f987,_0x3daffe):_0x33f987,_0x46d8c4=_0x12d8fe['length']-0x1,_0x390917;_0x46d8c4>=0x0;_0x46d8c4--)(_0x390917=_0x12d8fe[_0x46d8c4])&&(_0x14ae5c=(_0x56393b?_0x390917(_0x33f987,_0x3daffe,_0x14ae5c):_0x390917(_0x14ae5c))||_0x14ae5c);return _0x56393b&&_0x14ae5c&&_0x11db36(_0x33f987,_0x3daffe,_0x14ae5c),_0x14ae5c;},_0xc6cff6=(_0x3cc9c8,_0x1362b8)=>(_0x3477ef,_0x3390bf)=>_0x1362b8(_0x3477ef,_0x3390bf,_0x3cc9c8);let _0x2bbb1b=class extends _0x59f65f[_0x2c702b(0x1e7)]{constructor(_0x1011eb,_0x4dabcc,_0x3384ab,_0x3f3af3,_0x4f19c3){const _0x26e2d6=_0x2c702b;super(),_0x191e33(this,_0x26e2d6(0x559),[]),_0x191e33(this,_0x26e2d6(0x2dd),[]),(this[_0x26e2d6(0x564)]=_0x1011eb,this[_0x26e2d6(0x556)]=_0x4dabcc,this[_0x26e2d6(0x310)]=_0x3384ab,this[_0x26e2d6(0x567)]=_0x3f3af3,this[_0x26e2d6(0x2e1)]=_0x4f19c3,this[_0x26e2d6(0x362)]());}[_0x2c702b(0x362)](){const _0xfc0736=_0x2c702b,_0x237ebd=this['_context']['unitId'],_0x5f28c2=this[_0xfc0736(0x556)];this[_0xfc0736(0x35f)](_0x6d0798[_0xfc0736(0x360)]([this['_collabCursorController'][_0xfc0736(0x411)](_0x237ebd),this[_0xfc0736(0x2e1)]['currentTheme$']])['pipe'](_0x4e8b21['map'](([_0x53d14d,_0x5cf40e])=>({'skeleton':_0x5f28c2[_0xfc0736(0x3a4)](),'cursors':[..._0x53d14d['values']()]['flatMap'](_0x226ada=>({..._0x226ada,'color':_0x5cf40e[_0x226ada['color']]}))})))[_0xfc0736(0x41d)](_0x409d27=>{const _0x434e63=_0xfc0736;if(this[_0x434e63(0x442)](),_0x409d27){const {skeleton:_0x3430ab,cursors:_0x22a0ee}=_0x409d27;this[_0x434e63(0x3fd)](_0x3430ab,_0x22a0ee);}})),this[_0xfc0736(0x26a)](),this['_initCommandExecutedListener']();}[_0x2c702b(0x3fd)](_0x64fd92,_0x188812){const _0x2fdca4=_0x2c702b,{scene:_0x413598,mainComponent:_0x2b5176}=this[_0x2fdca4(0x564)],_0x592787=_0x188812[_0x2fdca4(0x4a7)](_0x4a506d=>new _0x2dec16(_0x4a506d,_0x413598,_0x64fd92,_0x2b5176));this[_0x2fdca4(0x559)]=_0x592787,this[_0x2fdca4(0x2dd)]=_0x188812;}[_0x2c702b(0x3cc)](){const _0x18090b=_0x2c702b;this['_removeCollabCursors']();const {scene:_0x31128f,mainComponent:_0x4b67d3}=this['_context'],_0x5e5ff3=this[_0x18090b(0x556)][_0x18090b(0x3a4)](),_0x226405=this['_cursors'][_0x18090b(0x4a7)](_0x5c4589=>new _0x2dec16(_0x5c4589,_0x31128f,_0x5e5ff3,_0x4b67d3));this[_0x18090b(0x559)]=_0x226405;}[_0x2c702b(0x442)](){const _0x15d67b=_0x2c702b;this[_0x15d67b(0x559)][_0x15d67b(0x363)](_0x255932=>_0x255932[_0x15d67b(0x574)]()),this[_0x15d67b(0x559)]=[];}[_0x2c702b(0x4da)](){const _0x129546=_0x2c702b,_0x57d76d=[_0x28f26c[_0x129546(0x4c2)]['id']];this[_0x129546(0x35f)](this[_0x129546(0x567)][_0x129546(0x444)](_0x44cca4=>{const _0x2ad333=_0x129546;_0x57d76d['includes'](_0x44cca4['id'])&&_0x44cca4[_0x2ad333(0x3e9)][_0x2ad333(0x42b)]===this[_0x2ad333(0x564)][_0x2ad333(0x42b)]&&this['_refreshCollabCursors']();}));}[_0x2c702b(0x26a)](){const _0x56c03b=_0x2c702b;this['disposeWithMe'](_0x59f65f[_0x56c03b(0x58d)](this['_context']['engine'][_0x56c03b(0x24f)])[_0x56c03b(0x47e)](_0x4e8b21[_0x56c03b(0x46c)](_0x5b838f=>_0x5b838f[_0x56c03b(0x375)]===_0x59fc99[_0x56c03b(0x4e7)][_0x56c03b(0x385)]),_0x4e8b21['throttleTime'](0x10))[_0x56c03b(0x41d)](()=>{const _0x38ed75=_0x56c03b;this[_0x38ed75(0x3cc)]();}));}};_0x2bbb1b=_0x257fec([_0x59f65f[_0x2c702b(0x1ed)](_0x59f65f[_0x2c702b(0x1e5)][_0x2c702b(0x344)],_0x2bbb1b),_0xc6cff6(0x1,_0x59f65f[_0x2c702b(0x57e)](_0x28f26c[_0x2c702b(0x5bb)])),_0xc6cff6(0x2,_0x59f65f['Inject'](_0x30cf8d)),_0xc6cff6(0x3,_0x59f65f['ICommandService']),_0xc6cff6(0x4,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f['ThemeService']))],_0x2bbb1b);var _0x37d933=Object[_0x2c702b(0x227)],_0x2c45f2=Object['getOwnPropertyDescriptor'],_0x2f8927=(_0x338032,_0x3ef28f,_0x45eb12,_0x29f72b)=>{const _0xe2cf28=_0x2c702b;for(var _0x36a4f3=_0x29f72b>0x1?void 0x0:_0x29f72b?_0x2c45f2(_0x3ef28f,_0x45eb12):_0x3ef28f,_0x5e3650=_0x338032[_0xe2cf28(0x493)]-0x1,_0xb56439;_0x5e3650>=0x0;_0x5e3650--)(_0xb56439=_0x338032[_0x5e3650])&&(_0x36a4f3=(_0x29f72b?_0xb56439(_0x3ef28f,_0x45eb12,_0x36a4f3):_0xb56439(_0x36a4f3))||_0x36a4f3);return _0x29f72b&&_0x36a4f3&&_0x37d933(_0x3ef28f,_0x45eb12,_0x36a4f3),_0x36a4f3;},_0x1e2c08=(_0x340506,_0x1cbcdb)=>(_0x56aebd,_0x33dc1d)=>_0x1cbcdb(_0x56aebd,_0x33dc1d,_0x340506);let _0x3c43b0=class{constructor(_0x28ff41,_0xda0d2,_0x555896){const _0x1e001e=_0x2c702b;this[_0x1e001e(0x2a3)]=_0x28ff41,this[_0x1e001e(0x2b2)]=_0xda0d2,this[_0x1e001e(0x477)]=_0x555896,this[_0x1e001e(0x5a2)]();}[_0x2c702b(0x5a2)](){const _0x287ceb=_0x2c702b;this['_httpService'][_0x287ceb(0x2c0)]({'priority':0x1,'interceptor':(_0x17e942,_0x145abe)=>_0x145abe(_0x17e942)[_0x287ceb(0x47e)](_0x6d0798[_0x287ceb(0x53f)](async _0x547ee0=>{const _0xf343a=_0x287ceb,_0x1c6c02=_0x547ee0;if(_0x1c6c02['status']===0x191&&window[_0xf343a(0x426)](this[_0xf343a(0x477)]['t'](_0xf343a(0x24d)))){const _0x1dc1bd=window[_0xf343a(0x1c2)](window[_0xf343a(0x4df)][_0xf343a(0x2db)]);window['location'][_0xf343a(0x2db)]=this['_getLoginPath']()+_0xf343a(0x224)+_0x1dc1bd;}return _0x1c6c02;}))});}['_getLoginPath'](){const _0x1b8f5e=_0x2c702b;var _0x88e1ca;return(_0x88e1ca=this[_0x1b8f5e(0x2a3)][_0x1b8f5e(0x330)](_0x5565db))!=null?_0x88e1ca:_0x3ec828;}};_0x3c43b0=_0x2f8927([_0x1e2c08(0x0,_0x59f65f[_0x2c702b(0x39d)]),_0x1e2c08(0x1,_0x59f65f['Inject'](_0x33d91c[_0x2c702b(0x1d5)])),_0x1e2c08(0x2,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x1cf)]))],_0x3c43b0);var _0x161fe3=Object[_0x2c702b(0x227)],_0x34732f=Object[_0x2c702b(0x294)],_0x5184f6=(_0x4c0b5f,_0x34b312,_0x4f4737,_0x5574f0)=>{const _0x4e91c4=_0x2c702b;for(var _0x3d092c=_0x5574f0>0x1?void 0x0:_0x5574f0?_0x34732f(_0x34b312,_0x4f4737):_0x34b312,_0x53f07f=_0x4c0b5f[_0x4e91c4(0x493)]-0x1,_0x475b4a;_0x53f07f>=0x0;_0x53f07f--)(_0x475b4a=_0x4c0b5f[_0x53f07f])&&(_0x3d092c=(_0x5574f0?_0x475b4a(_0x34b312,_0x4f4737,_0x3d092c):_0x475b4a(_0x3d092c))||_0x3d092c);return _0x5574f0&&_0x3d092c&&_0x161fe3(_0x34b312,_0x4f4737,_0x3d092c),_0x3d092c;},_0x3f4685=(_0x76704a,_0x3da20d)=>(_0x45bbc2,_0x2d5b97)=>_0x3da20d(_0x45bbc2,_0x2d5b97,_0x76704a);const _0x4b5577=_0x2c702b(0x273),_0xad2d3b=_0x2c702b(0x3df);_0x21561b[_0x2c702b(0x391)]=class extends _0x59f65f[_0x2c702b(0x416)]{constructor(_0xdb9dc6,_0x5b156d){const _0x10d5cc=_0x2c702b;super(),this[_0x10d5cc(0x54a)]=_0xdb9dc6,this[_0x10d5cc(0x2a3)]=_0x5b156d,this[_0x10d5cc(0x3b1)]();}['_initMergeInterceptor'](){const _0x3def05=_0x2c702b,_0x3bd3d=this;this['disposeWithMe'](this[_0x3def05(0x54a)][_0x3def05(0x2c0)]({'priority':0x3e7,'interceptor':_0x33d91c['MergeInterceptorFactory']({'isMatch'(_0x216525){const _0x4f80cc=_0x3def05;var _0x21e5c7;if(_0x216525[_0x4f80cc(0x1d7)]===_0x4f80cc(0x26b)&&((_0x21e5c7=_0x216525[_0x4f80cc(0x288)])!=null&&_0x21e5c7[_0x4f80cc(0x24a)])){const {objectID:_0x397355,objectType:_0x4b97fa}=_0x216525[_0x4f80cc(0x288)]['body']||{};if(!_0x397355||_0x4b97fa===void 0x0)return!0x1;const _0x3e6590=_0x3bd3d[_0x4f80cc(0x57c)]()+'/'+_0x4b97fa+_0x4f80cc(0x392)+_0x397355+_0x4f80cc(0x24e);if(_0x216525[_0x4f80cc(0x2a6)]===_0x3e6590)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x31d038){const _0x26891c=_0x3def05;var _0x460112;return(_0x460112=_0x31d038[_0x26891c(0x288)])==null?void 0x0:_0x460112[_0x26891c(0x24a)];},'mergeParamsToRequest'(_0x1a49c8,_0xf9a6e9){const _0x53b23c=_0x3def05,_0x56002d=_0x3bd3d[_0x53b23c(0x57c)]()+_0x53b23c(0x56e),_0x5afc88=_0x1a49c8[_0x53b23c(0x3c2)]((_0x32e33f,_0x3d7232)=>{const _0xeecc3e=_0x53b23c,{unitID:_0x881d93,objectID:_0x3100db,objectType:_0x3b98c5,actions:_0x2036fc}=_0x3d7232;return _0x32e33f[_0x881d93]||(_0x32e33f[_0x881d93]={}),_0x32e33f[_0x881d93][_0x3100db]||(_0x32e33f[_0x881d93][_0x3100db]={'objectID':_0x3100db,'objectType':_0x3b98c5,'actions':[]}),_0x32e33f[_0x881d93][_0x3100db][_0xeecc3e(0x3d1)][_0xeecc3e(0x2ba)](..._0x2036fc),_0x32e33f;},{}),_0x2d9072=[];for(const _0x29f57d in _0x5afc88)for(const _0xd83145 in _0x5afc88[_0x29f57d]){const {actions:_0x35bdc4,objectType:_0x39e884}=_0x5afc88[_0x29f57d][_0xd83145],_0x343bd6=[...new Set(_0x35bdc4)];_0x2d9072['push']({'unitID':_0x29f57d,'objectID':_0xd83145,'objectType':_0x39e884,'actions':_0x343bd6});}return new _0x33d91c[(_0x53b23c(0x459))]('POST',_0x56002d,{'headers':_0xf9a6e9['headers'],'withCredentials':_0xf9a6e9['withCredentials'],'responseType':_0xf9a6e9[_0x53b23c(0x47d)],'body':{'requests':_0x2d9072}});}},{'distributeResult'(_0x3ff3ab,_0x2c6ac4){const _0xeacbc=_0x3def05,{objectActions:_0x14004a}=_0x3ff3ab;return _0x2c6ac4[_0xeacbc(0x4a7)](_0x3fddf7=>{const _0xcac8ef=_0xeacbc,{unitID:_0x23de05,objectID:_0x4630c9,actions:_0x3954bc}=_0x3fddf7,_0x305626=_0x14004a['find'](_0x59bbce=>_0x59bbce[_0xcac8ef(0x2fa)]===_0x23de05&&_0x59bbce[_0xcac8ef(0x3e1)]===_0x4630c9),_0x5dedb8=_0x3954bc[_0xcac8ef(0x4a7)](_0x3b03a8=>_0x305626==null?void 0x0:_0x305626[_0xcac8ef(0x3d1)][_0xcac8ef(0x513)](_0x1b3a2f=>_0x1b3a2f['action']===_0x3b03a8))['filter'](_0x15cf7c=>!!_0x15cf7c);return{'config':_0x3fddf7,'result':{'actions':_0x5dedb8,'error':_0x3ff3ab[_0xcac8ef(0x538)]}};});}})}));}[_0x2c702b(0x57c)](){const _0x263c38=_0x2c702b;var _0x31a719;return(_0x31a719=this[_0x263c38(0x2a3)]['getConfig'](_0x4b5577))!=null?_0x31a719:_0xad2d3b;}async['create'](_0x5832b7){const _0x5bd279=_0x2c702b,_0x458e27=this[_0x5bd279(0x57c)]()+'/'+_0x5832b7[_0x5bd279(0x34e)]+_0x5bd279(0x1ee);return(await this['_HTTPService']['post'](_0x458e27,{'body':_0x5832b7}))[_0x5bd279(0x24a)]['objectID']||'';}async[_0x2c702b(0x20a)](_0x11c354){const _0x4b7e03=_0x2c702b,_0xcda666=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x4b7e03(0x54a)][_0x4b7e03(0x34b)](_0xcda666,{'body':_0x11c354}))[_0x4b7e03(0x24a)]['objects'];}async[_0x2c702b(0x241)](_0x538fa0){const _0x45e44c=_0x2c702b,_0x3dff3d=this[_0x45e44c(0x57c)]()+'/'+_0x538fa0[_0x45e44c(0x34e)]+'/object/'+_0x538fa0[_0x45e44c(0x3e1)];await this['_HTTPService'][_0x45e44c(0x23c)](_0x3dff3d,{'body':_0x538fa0});}async[_0x2c702b(0x236)](_0x5dc0aa){const _0x1911de=_0x2c702b,_0x43c380=this[_0x1911de(0x57c)]()+'/'+_0x5dc0aa[_0x1911de(0x34e)]+_0x1911de(0x392)+_0x5dc0aa[_0x1911de(0x3e1)]+'/allowed';return(await this['_HTTPService'][_0x1911de(0x34b)](_0x43c380,{'body':_0x5dc0aa}))[_0x1911de(0x24a)][_0x1911de(0x3d1)];}async['batchAllowed'](_0x3edcc4){const _0x35b7b1=_0x2c702b,_0x34f5da=this[_0x35b7b1(0x57c)]()+_0x35b7b1(0x56e);return(await this[_0x35b7b1(0x54a)][_0x35b7b1(0x34b)](_0x34f5da,{'body':{'requests':_0x3edcc4}}))[_0x35b7b1(0x24a)][_0x35b7b1(0x395)];}async[_0x2c702b(0x25d)](_0x33c614){const _0x3b5c46=_0x2c702b,_0x1a7763=this[_0x3b5c46(0x57c)]()+'/'+_0x33c614[_0x3b5c46(0x34e)]+_0x3b5c46(0x322),_0x55cb4b=await this[_0x3b5c46(0x54a)][_0x3b5c46(0x34b)](_0x1a7763,{'body':_0x33c614});return{'roles':_0x55cb4b[_0x3b5c46(0x24a)][_0x3b5c46(0x1d8)],'actions':_0x55cb4b[_0x3b5c46(0x24a)][_0x3b5c46(0x3d1)]};}async[_0x2c702b(0x21d)](_0x2f9a4c){const _0x3fa20b=_0x2c702b,_0x2abadc=this['_getAPIPrefixPath']()+_0x3fa20b(0x30d);await this['_HTTPService']['delete'](_0x2abadc,{'params':{'collaboratorID':_0x2f9a4c[_0x3fa20b(0x250)],'objectID':_0x2f9a4c[_0x3fa20b(0x3e1)],'unitID':_0x2f9a4c[_0x3fa20b(0x2fa)]}});}async[_0x2c702b(0x28d)](_0xec5b7c){const _0x371404=_0x2c702b,_0xc30e9a=this[_0x371404(0x57c)]()+_0x371404(0x30d);await this[_0x371404(0x54a)][_0x371404(0x4f8)](_0xc30e9a,{'body':_0xec5b7c});}async[_0x2c702b(0x588)](_0x46ebee){const _0xf91122=_0x2c702b,_0x451e6e=this[_0xf91122(0x57c)]()+_0xf91122(0x30d);await this[_0xf91122(0x54a)][_0xf91122(0x34b)](_0x451e6e,{'body':_0x46ebee});}async[_0x2c702b(0x276)](_0x521bac){const _0x12ddf2=_0x2c702b,_0x32d5c3=this[_0x12ddf2(0x57c)]()+_0x12ddf2(0x30d);return(await this[_0x12ddf2(0x54a)][_0x12ddf2(0x2f7)](_0x32d5c3,{'params':{'objectID':_0x521bac[_0x12ddf2(0x3e1)],'unitID':_0x521bac['unitID']}}))[_0x12ddf2(0x24a)][_0x12ddf2(0x246)];}async['putCollaborators'](_0x3f220b){const _0x2718da=_0x2c702b,_0x42519e=this[_0x2718da(0x57c)]()+'/collaborator';await this['_HTTPService'][_0x2718da(0x23c)](_0x42519e,{'body':_0x3f220b});}},_0x21561b[_0x2c702b(0x391)]=_0x5184f6([_0x3f4685(0x0,_0x59f65f[_0x2c702b(0x57e)](_0x33d91c[_0x2c702b(0x1d5)])),_0x3f4685(0x1,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f['IConfigService']))],_0x21561b[_0x2c702b(0x391)]);var _0x28d720=Object[_0x2c702b(0x227)],_0xfce0b7=Object[_0x2c702b(0x294)],_0x579c76=(_0xb5da1a,_0x46a676,_0x48b11d,_0xcf4e83)=>{for(var _0x36c44b=_0xcf4e83>0x1?void 0x0:_0xcf4e83?_0xfce0b7(_0x46a676,_0x48b11d):_0x46a676,_0x4ee990=_0xb5da1a['length']-0x1,_0x4c2705;_0x4ee990>=0x0;_0x4ee990--)(_0x4c2705=_0xb5da1a[_0x4ee990])&&(_0x36c44b=(_0xcf4e83?_0x4c2705(_0x46a676,_0x48b11d,_0x36c44b):_0x4c2705(_0x36c44b))||_0x36c44b);return _0xcf4e83&&_0x36c44b&&_0x28d720(_0x46a676,_0x48b11d,_0x36c44b),_0x36c44b;},_0x1bc933=(_0x571b77,_0x37a7d9)=>(_0x1020cc,_0x39a1c9)=>_0x37a7d9(_0x1020cc,_0x39a1c9,_0x571b77);const _0x5ea3f0=[_0x2c702b(0x500),_0x2c702b(0x295),_0x2c702b(0x342),'image/gif',_0x2c702b(0x571)],_0x188435=0x5*0x400*0x400,_0x3c9c81='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x4315b0=_0x2c702b(0x377),_0x49e820=_0x2c702b(0x29a),_0x20095b='/universer-api/file/{fileID}/sign-url';_0x21561b[_0x2c702b(0x4ea)]=class{constructor(_0x52c575,_0x59f8b9,_0x5b9902){const _0x14e8f7=_0x2c702b;_0x191e33(this,_0x14e8f7(0x1e0),0x0),_0x191e33(this,_0x14e8f7(0x3b2),new _0x6d0798[(_0x14e8f7(0x2d1))]()),_0x191e33(this,_0x14e8f7(0x304),this[_0x14e8f7(0x3b2)]),_0x191e33(this,_0x14e8f7(0x3f3),new Map()),(this[_0x14e8f7(0x2b2)]=_0x52c575,this[_0x14e8f7(0x2a3)]=_0x59f8b9,this[_0x14e8f7(0x54c)]=_0x5b9902);}[_0x2c702b(0x260)](_0x502fef){const _0x52abcf=_0x2c702b;this[_0x52abcf(0x1e0)]=_0x502fef,this[_0x52abcf(0x3b2)][_0x52abcf(0x577)](_0x502fef);}[_0x2c702b(0x5b6)](_0x5669a7,_0x44ea4d){const _0x15e43a=_0x2c702b;if(_0x44ea4d===_0x4ba2c1[_0x15e43a(0x324)][_0x15e43a(0x4c6)]){const _0x27fcee=new Image();return _0x27fcee[_0x15e43a(0x531)]=_0x5669a7,_0x27fcee;}return this[_0x15e43a(0x3f3)]['get'](_0x5669a7);}[_0x2c702b(0x296)](_0x223128,_0x4f8345,_0xd4a8ec){const _0x52cb89=_0x2c702b;_0x4f8345===_0x4ba2c1['ImageSourceType'][_0x52cb89(0x4c6)]||_0xd4a8ec==null||this[_0x52cb89(0x3f3)]['set'](_0x223128,_0xd4a8ec);}async[_0x2c702b(0x281)](_0x33b393){const _0x48f41a=_0x2c702b;try{const _0x20c635=this['_replaceFileID'](this[_0x48f41a(0x3db)](),''+_0x33b393),_0x510407=(await this[_0x48f41a(0x2b2)][_0x48f41a(0x2f7)](_0x20c635))[_0x48f41a(0x24a)];return _0x510407['error']&&_0x510407[_0x48f41a(0x538)][_0x48f41a(0x553)]===_0x18c1e7['OK']?Promise[_0x48f41a(0x420)](_0x510407[_0x48f41a(0x2a6)]):Promise[_0x48f41a(0x2d8)](_0x510407['error']);}catch(_0x57c0cf){return Promise[_0x48f41a(0x2d8)](_0x57c0cf);}}async['saveImage'](_0x196aeb){const _0x268f59=_0x2c702b;let _0x454230='';if(!_0x5ea3f0[_0x268f59(0x32d)](_0x196aeb[_0x268f59(0x375)]))return this[_0x268f59(0x2c2)](),Promise['reject'](new Error(_0x4ba2c1[_0x268f59(0x233)][_0x268f59(0x454)]));if(_0x196aeb[_0x268f59(0x3a1)]>_0x188435)return this[_0x268f59(0x2c2)](),Promise[_0x268f59(0x2d8)](new Error(_0x4ba2c1['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x3183ea=new FormData();_0x3183ea[_0x268f59(0x55b)](_0x268f59(0x376),_0x196aeb);const _0x103c6e=this['_univerInstanceService'][_0x268f59(0x4cc)](),_0x61b95=_0x103c6e==null?void 0x0:_0x103c6e[_0x268f59(0x36b)]();if(!_0x61b95)throw new Error(_0x268f59(0x35b));const _0x42510a=this[_0x268f59(0x561)]()+_0x268f59(0x3e7)+_0x196aeb[_0x268f59(0x3a1)]['toString']()+'&source='+_0x5171b7['UnitEmbedded']+_0x268f59(0x4c9)+encodeURIComponent(_0x61b95),_0x40ff74=await(await fetch(_0x42510a,{'method':_0x268f59(0x26b),'body':_0x3183ea}))[_0x268f59(0x5b9)]();if(typeof _0x40ff74[_0x268f59(0x1f5)]!=_0x268f59(0x283))return this[_0x268f59(0x2c2)](),Promise[_0x268f59(0x2d8)](new Error(_0x4ba2c1[_0x268f59(0x233)][_0x268f59(0x298)]));_0x454230=_0x40ff74[_0x268f59(0x1f5)];}catch{return this[_0x268f59(0x2c2)](),Promise[_0x268f59(0x2d8)](new Error(_0x4ba2c1[_0x268f59(0x233)][_0x268f59(0x298)]));}return new Promise((_0x574006,_0x5406bf)=>{const _0x7c8c5a=_0x268f59,_0x186310=new FileReader();_0x186310[_0x7c8c5a(0x54b)](_0x196aeb),_0x186310[_0x7c8c5a(0x2bb)]=_0x428a49=>{const _0x1b4c91=_0x7c8c5a;var _0x4a0b41;const _0x9b962d=(_0x4a0b41=_0x428a49[_0x1b4c91(0x2af)])==null?void 0x0:_0x4a0b41['result'];if(_0x9b962d==null){this[_0x1b4c91(0x2c2)](),_0x5406bf(new Error(_0x4ba2c1[_0x1b4c91(0x233)]['ERROR_IMAGE']));return;}const _0x1ed90e=_0x59f65f[_0x1b4c91(0x5ad)][_0x1b4c91(0x394)](0x6);_0x574006({'imageId':_0x1ed90e,'imageSourceType':_0x4ba2c1[_0x1b4c91(0x324)][_0x1b4c91(0x49b)],'source':_0x454230,'base64Cache':_0x9b962d,'status':_0x4ba2c1[_0x1b4c91(0x233)][_0x1b4c91(0x461)]}),this[_0x1b4c91(0x2c2)]();};});}[_0x2c702b(0x561)](){const _0x1dae36=_0x2c702b;var _0x16f277;return(_0x16f277=this[_0x1dae36(0x2a3)][_0x1dae36(0x330)](_0x3c9c81))!=null?_0x16f277:_0x4315b0;}[_0x2c702b(0x3db)](){const _0x447a9c=_0x2c702b;var _0xcfa1bf;return(_0xcfa1bf=this['_configService'][_0x447a9c(0x330)](_0x49e820))!=null?_0xcfa1bf:_0x20095b;}[_0x2c702b(0x27c)](_0x2fbea4,_0x1263f8){const _0x32f871=_0x2c702b;return _0x2fbea4[_0x32f871(0x50e)](_0x32f871(0x46a),_0x1263f8);}['_decreaseWaiting'](){const _0x240265=_0x2c702b;this['_waitCount']-=0x1,this[_0x240265(0x3b2)]['next'](this[_0x240265(0x1e0)]);}},_0x21561b[_0x2c702b(0x4ea)]=_0x579c76([_0x1bc933(0x0,_0x59f65f[_0x2c702b(0x57e)](_0x33d91c[_0x2c702b(0x1d5)])),_0x1bc933(0x1,_0x59f65f[_0x2c702b(0x39d)]),_0x1bc933(0x2,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x350)]))],_0x21561b['ImageIoService']);var _0x805711=Object[_0x2c702b(0x227)],_0x18acec=Object[_0x2c702b(0x294)],_0x601912=(_0x36ef29,_0xd8c6b9,_0x11d39b,_0x533d9d)=>{const _0x5e2810=_0x2c702b;for(var _0x878a36=_0x533d9d>0x1?void 0x0:_0x533d9d?_0x18acec(_0xd8c6b9,_0x11d39b):_0xd8c6b9,_0x249635=_0x36ef29[_0x5e2810(0x493)]-0x1,_0x38922a;_0x249635>=0x0;_0x249635--)(_0x38922a=_0x36ef29[_0x249635])&&(_0x878a36=(_0x533d9d?_0x38922a(_0xd8c6b9,_0x11d39b,_0x878a36):_0x38922a(_0x878a36))||_0x878a36);return _0x533d9d&&_0x878a36&&_0x805711(_0xd8c6b9,_0x11d39b,_0x878a36),_0x878a36;},_0x3acc6d=(_0x14e734,_0x31e50b)=>(_0xb750cb,_0x25b70a)=>_0x31e50b(_0xb750cb,_0x25b70a,_0x14e734);let _0x190827=class extends _0x59f65f[_0x2c702b(0x1e7)]{constructor(_0xab7491,_0x5eb852,_0x5d3693,_0x49abfb,_0x188b71){const _0x34e09a=_0x2c702b;super(),this[_0x34e09a(0x232)]=_0xab7491,this[_0x34e09a(0x54c)]=_0x5eb852,this[_0x34e09a(0x1fd)]=_0x5d3693,this[_0x34e09a(0x29b)]=_0x49abfb,this[_0x34e09a(0x547)]=_0x188b71,this[_0x34e09a(0x244)](),this['_initCloseConn']();}[_0x2c702b(0x2b5)](){const _0x44f4b0=_0x2c702b,_0x2d58e2=async _0x24708f=>{const _0x165b57=_0x50c2;(await this[_0x165b57(0x29b)]['requireSession'](_0x24708f))['event$']['pipe'](_0x4e8b21[_0x165b57(0x46c)](_0x4b4b0d=>_0x4b4b0d[_0x165b57(0x50d)]===_0x4c33ab['CollaborationEvent']['SHOULD_CLOSE_CONN']),_0x4e8b21[_0x165b57(0x397)](this[_0x165b57(0x45e)]))[_0x165b57(0x41d)](_0x361a07=>{const _0x21473f=_0x165b57,_0x2e0d0f=_0x361a07,{reason:_0x3dc2c6}=_0x2e0d0f[_0x21473f(0x51d)];this[_0x21473f(0x232)][_0x21473f(0x2f7)](_0x40690c[_0x21473f(0x37f)])['show']({'type':_0x936b9e[_0x21473f(0x51a)][_0x21473f(0x4db)],'content':this[_0x21473f(0x547)]['t'](_0x21473f(0x546))+'('+_0x3dc2c6+')'}),this[_0x21473f(0x1fd)][_0x21473f(0x372)](new _0x5dba16[(_0x21473f(0x4a2))](_0x24708f)['id'],!0x1),this['_collaborationSessionService'][_0x21473f(0x332)](_0x24708f);});};_0x6d0798[_0x44f4b0(0x21b)](this[_0x44f4b0(0x54c)][_0x44f4b0(0x2a2)](_0x59f65f[_0x44f4b0(0x28f)][_0x44f4b0(0x46b)]),this[_0x44f4b0(0x54c)][_0x44f4b0(0x2a2)](_0x59f65f['UniverInstanceType'][_0x44f4b0(0x525)]))[_0x44f4b0(0x47e)](_0x4e8b21[_0x44f4b0(0x4a7)](_0x5390b9=>_0x5390b9['getUnitId']()),_0x4e8b21[_0x44f4b0(0x46c)](_0xcba68=>!_0x59f65f[_0x44f4b0(0x3f0)](_0xcba68)),_0x4e8b21['takeUntil'](this[_0x44f4b0(0x45e)]))[_0x44f4b0(0x41d)](_0x4b0e51=>{_0x2d58e2(_0x4b0e51);});}[_0x2c702b(0x244)](){const _0x2a8775=_0x2c702b,_0x22aecf=async _0x36aba2=>{const _0x134b69=_0x50c2;(await this[_0x134b69(0x29b)][_0x134b69(0x256)](_0x36aba2))[_0x134b69(0x5c0)][_0x134b69(0x47e)](_0x4e8b21[_0x134b69(0x46c)](_0x143470=>_0x143470[_0x134b69(0x50d)]===_0x4c33ab[_0x134b69(0x550)][_0x134b69(0x3e5)]),_0x4e8b21[_0x134b69(0x397)](this['dispose$']))[_0x134b69(0x41d)](_0x224ded=>{const _0x31b6f3=_0x134b69,_0xf93f8a=_0x224ded,{objectId:_0x5ca8ad}=_0xf93f8a[_0x31b6f3(0x51d)],_0x37109c=this['_injector'][_0x31b6f3(0x2f7)](_0x15ca36[_0x31b6f3(0x4a1)]);_0x5ca8ad===_0x36aba2?_0x37109c[_0x31b6f3(0x205)](_0x36aba2):_0x37109c[_0x31b6f3(0x589)](_0x36aba2,_0x5ca8ad);});};_0x6d0798[_0x2a8775(0x21b)](this[_0x2a8775(0x54c)][_0x2a8775(0x2a2)](_0x59f65f[_0x2a8775(0x28f)]['UNIVER_SHEET']),this[_0x2a8775(0x54c)][_0x2a8775(0x2a2)](_0x59f65f[_0x2a8775(0x28f)][_0x2a8775(0x525)]))['pipe'](_0x4e8b21[_0x2a8775(0x4a7)](_0xacbe91=>_0xacbe91['getUnitId']()),_0x4e8b21[_0x2a8775(0x46c)](_0x333a99=>!_0x59f65f[_0x2a8775(0x3f0)](_0x333a99)),_0x4e8b21[_0x2a8775(0x397)](this['dispose$']))['subscribe'](_0x265a09=>{_0x22aecf(_0x265a09);});}};_0x190827=_0x601912([_0x59f65f['OnLifecycle'](_0x59f65f[_0x2c702b(0x1e5)][_0x2c702b(0x51e)],_0x190827),_0x3acc6d(0x0,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x3acc6d(0x1,_0x59f65f[_0x2c702b(0x350)]),_0x3acc6d(0x2,_0x59f65f[_0x2c702b(0x1da)]),_0x3acc6d(0x3,_0x59f65f[_0x2c702b(0x57e)](_0x21561b[_0x2c702b(0x42a)])),_0x3acc6d(0x4,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x1cf)]))],_0x190827);var _0x4d4a2a=Object[_0x2c702b(0x227)],_0x45ed3b=Object['getOwnPropertyDescriptor'],_0x1d5d4f=(_0x45fb80,_0x542f07,_0x527f9d)=>_0x542f07 in _0x45fb80?_0x4d4a2a(_0x45fb80,_0x542f07,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x527f9d}):_0x45fb80[_0x542f07]=_0x527f9d,_0x26b8a9=(_0x8f513,_0xf5eefb,_0x23c6c2,_0x4f3efb)=>{const _0x44d6a1=_0x2c702b;for(var _0x186a3f=_0x4f3efb>0x1?void 0x0:_0x4f3efb?_0x45ed3b(_0xf5eefb,_0x23c6c2):_0xf5eefb,_0x2b83e4=_0x8f513[_0x44d6a1(0x493)]-0x1,_0x1b0e99;_0x2b83e4>=0x0;_0x2b83e4--)(_0x1b0e99=_0x8f513[_0x2b83e4])&&(_0x186a3f=(_0x4f3efb?_0x1b0e99(_0xf5eefb,_0x23c6c2,_0x186a3f):_0x1b0e99(_0x186a3f))||_0x186a3f);return _0x4f3efb&&_0x186a3f&&_0x4d4a2a(_0xf5eefb,_0x23c6c2,_0x186a3f),_0x186a3f;},_0x31b597=(_0x5b599c,_0x265692)=>(_0x307425,_0xdd0e68)=>_0x265692(_0x307425,_0xdd0e68,_0x5b599c),_0x10cba4=(_0x1f26c9,_0x1472fa,_0xb3bbe8)=>_0x1d5d4f(_0x1f26c9,_0x1472fa+'',_0xb3bbe8);const _0x147918=_0x2c702b(0x3eb);_0x21561b[_0x2c702b(0x51f)]=class extends _0x59f65f[_0x2c702b(0x2ac)]{constructor(_0x12b553,_0x52847c,_0x9d00e4,_0xe0208c){const _0xe9cf82=_0x2c702b;super(),this[_0xe9cf82(0x2e8)]=_0x12b553,this[_0xe9cf82(0x591)]=_0x52847c,this[_0xe9cf82(0x2a5)]=_0x9d00e4,this[_0xe9cf82(0x232)]=_0xe0208c;}[_0x2c702b(0x599)](){const _0x449e1f=_0x2c702b;this[_0x449e1f(0x4f4)]();}['onRendered'](){const _0x161558=_0x2c702b;this[_0x161558(0x2de)]();}[_0x2c702b(0x4f4)](){const _0x20d449=_0x2c702b;var _0xda94e8,_0x400610,_0x19a450,_0x5857eb;this[_0x20d449(0x232)][_0x20d449(0x35d)](_0x59f65f['IUndoRedoService'])&&this['_logService'][_0x20d449(0x538)](_0x20d449(0x32a),_0x20d449(0x491));let _0x5f0216=[[_0x59f65f[_0x20d449(0x21e)],{'useClass':_0x21f747}],[_0x21561b[_0x20d449(0x42a)]],[_0x427206],[_0x33d91c[_0x20d449(0x1d5)]],[_0x5c813f,{'useClass':_0x270c1d}],[_0x1137aa],[_0x21561b[_0x20d449(0x293)]],[_0x33d91c[_0x20d449(0x222)]],[_0x44d70e],[_0x191131],[_0x2e3636],[_0x267a51],[_0x3c43b0],[_0x256572],[_0x190827],[_0x285153,{'useClass':(_0x400610=(_0xda94e8=this[_0x20d449(0x2e8)])==null?void 0x0:_0xda94e8[_0x20d449(0x320)])!=null?_0x400610:_0x21561b[_0x20d449(0x4bb)]}],[_0x33d91c[_0x20d449(0x37e)],{'useClass':_0x33d91c[_0x20d449(0x4d1)]}],[_0x4c33ab[_0x20d449(0x2d0)],{'useClass':_0x21561b['SnapshotServerOverHTTPService']}],[_0x59f65f['IAuthzIoService'],{'useClass':_0x21561b[_0x20d449(0x391)]}],[_0x4ba2c1['IImageIoService'],{'useClass':_0x21561b[_0x20d449(0x4ea)]}],[_0x21561b['CollaborationController']],[_0x21561b[_0x20d449(0x331)]],[_0x21561b['DesktopCollaborationStatusDisplayController']],[_0x30022e],[_0x30cf8d]];(_0x19a450=this[_0x20d449(0x2e8)])!=null&&_0x19a450[_0x20d449(0x446)]&&_0x5f0216[_0x20d449(0x2ba)]([_0x3c9dbb,{'useClass':_0x328887}]),_0x5f0216=_0x59f65f[_0x20d449(0x4e9)](_0x5f0216,(_0x5857eb=this[_0x20d449(0x2e8)])==null?void 0x0:_0x5857eb[_0x20d449(0x239)]),_0x5f0216[_0x20d449(0x363)](_0x2cf785=>this[_0x20d449(0x232)]['add'](_0x2cf785)),this['_initModules']();}[_0x2c702b(0x2de)](){const _0x490ca6=_0x2c702b;this[_0x490ca6(0x35f)](this[_0x490ca6(0x2a5)][_0x490ca6(0x37d)](_0x59f65f[_0x490ca6(0x28f)]['UNIVER_DOC'],[_0x2bbb1b])),this[_0x490ca6(0x35f)](this[_0x490ca6(0x2a5)][_0x490ca6(0x37d)](_0x59f65f['UniverInstanceType']['UNIVER_SHEET'],[_0x1c8323]));}[_0x2c702b(0x2d9)](){const _0xa7f4b4=_0x2c702b;var _0x557ed2,_0x4f4146;this[_0xa7f4b4(0x232)][_0xa7f4b4(0x2f7)](_0x33d91c[_0xa7f4b4(0x1d5)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x33d91c[_0xa7f4b4(0x470)]({'maxParallel':0x6})}),(_0x557ed2=this['_config'])!=null&&_0x557ed2[_0xa7f4b4(0x57d)]||this['_injector'][_0xa7f4b4(0x2f7)](_0x21561b[_0xa7f4b4(0x293)])['disableLocalCache'](),(_0x4f4146=this[_0xa7f4b4(0x2e8)])!=null&&_0x4f4146[_0xa7f4b4(0x45c)]&&this[_0xa7f4b4(0x232)][_0xa7f4b4(0x2f7)](_0x3c43b0);}},_0x10cba4(_0x21561b[_0x2c702b(0x51f)],'pluginName',_0x147918),_0x21561b[_0x2c702b(0x51f)]=_0x26b8a9([_0x59f65f['DependentOn'](_0x4c33ab[_0x2c702b(0x29e)]),_0x31b597(0x1,_0x59f65f[_0x2c702b(0x5a5)]),_0x31b597(0x2,_0x59fc99['IRenderManagerService']),_0x31b597(0x3,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)]))],_0x21561b['UniverCollaborationClientPlugin']),_0x21561b[_0x2c702b(0x273)]=_0x4b5577,_0x21561b[_0x2c702b(0x47f)]=_0x124ad0,_0x21561b[_0x2c702b(0x261)]=_0x5d608a,_0x21561b[_0x2c702b(0x1fa)]=_0x56e84e,_0x21561b[_0x2c702b(0x3ca)]=_0x471604,_0x21561b[_0x2c702b(0x5b7)]=_0x256572,_0x21561b[_0x2c702b(0x4f0)]=_0x2c93f2,_0x21561b[_0x2c702b(0x53a)]=_0x941b18,_0x21561b[_0x2c702b(0x4cf)]=_0x285153,_0x21561b['IURLService']=_0x5c813f,_0x21561b['LOCAL_CACHE_INTERVAL_KEY']=_0x219665,_0x21561b[_0x2c702b(0x1f3)]=_0x5565db,_0x21561b[_0x2c702b(0x41c)]=_0x577ef8,_0x21561b[_0x2c702b(0x593)]=_0x27f2b1,_0x21561b['SNAPSHOT_URL_KEY']=_0x47cbd6,_0x21561b[_0x2c702b(0x54f)]=_0x29549f,_0x21561b[_0x2c702b(0x5bd)]=_0xa87b1,_0x21561b['WebURLService']=_0x270c1d,_0x21561b[_0x2c702b(0x436)]=_0x4e430e,_0x21561b[_0x2c702b(0x58a)]=_0x4ae816,Object[_0x2c702b(0x227)](_0x21561b,Symbol[_0x2c702b(0x3ae)],{'value':_0x2c702b(0x268)});}));
|
1
|
+
(function(_0x4ff49c,_0x5d9fb8){const _0x438d27=_0x4682,_0x59dd82=_0x4ff49c();while(!![]){try{const _0x5b9d26=-parseInt(_0x438d27(0x37d))/0x1+-parseInt(_0x438d27(0x274))/0x2*(-parseInt(_0x438d27(0x419))/0x3)+-parseInt(_0x438d27(0x258))/0x4+parseInt(_0x438d27(0x52a))/0x5+-parseInt(_0x438d27(0x438))/0x6+-parseInt(_0x438d27(0x22c))/0x7*(parseInt(_0x438d27(0x3ca))/0x8)+-parseInt(_0x438d27(0x361))/0x9*(-parseInt(_0x438d27(0x4f2))/0xa);if(_0x5b9d26===_0x5d9fb8)break;else _0x59dd82['push'](_0x59dd82['shift']());}catch(_0xf2cec8){_0x59dd82['push'](_0x59dd82['shift']());}}}(_0x3f5d,0xb8849),function(_0x5d8562,_0x310846){const _0x2dc644=_0x4682;typeof exports==_0x2dc644(0x279)&&typeof module<'u'?_0x310846(exports,require(_0x2dc644(0x514)),require(_0x2dc644(0x563)),require(_0x2dc644(0x38b)),require('@univerjs/design'),require(_0x2dc644(0x339)),require(_0x2dc644(0x1eb)),require('@univerjs-pro/collaboration'),require(_0x2dc644(0x42e)),require(_0x2dc644(0x4ed)),require(_0x2dc644(0x31a)),require(_0x2dc644(0x50e)),require(_0x2dc644(0x2d8)),require('@univerjs/engine-formula'),require('lodash/debounce'),require(_0x2dc644(0x298)),require(_0x2dc644(0x556)),require('clsx'),require(_0x2dc644(0x4a7))):typeof define=='function'&&define[_0x2dc644(0x3a3)]?define([_0x2dc644(0x1ee),_0x2dc644(0x514),_0x2dc644(0x563),'rxjs/operators','@univerjs/design',_0x2dc644(0x339),_0x2dc644(0x1eb),_0x2dc644(0x23f),_0x2dc644(0x42e),'@univerjs/docs',_0x2dc644(0x31a),_0x2dc644(0x50e),'@univerjs/engine-render',_0x2dc644(0x321),_0x2dc644(0x30c),_0x2dc644(0x298),_0x2dc644(0x556),_0x2dc644(0x2c9),_0x2dc644(0x4a7)],_0x310846):(_0x5d8562=typeof globalThis<'u'?globalThis:_0x5d8562||self,_0x310846(_0x5d8562[_0x2dc644(0x1a5)]={},_0x5d8562['UniverCore'],_0x5d8562[_0x2dc644(0x563)],_0x5d8562[_0x2dc644(0x563)][_0x2dc644(0x2d9)],_0x5d8562[_0x2dc644(0x19e)],_0x5d8562[_0x2dc644(0x522)],_0x5d8562[_0x2dc644(0x4b9)],_0x5d8562[_0x2dc644(0x55f)],_0x5d8562[_0x2dc644(0x272)],_0x5d8562[_0x2dc644(0x320)],_0x5d8562[_0x2dc644(0x3b7)],_0x5d8562[_0x2dc644(0x47b)],_0x5d8562['UniverEngineRender'],_0x5d8562['UniverEngineFormula'],_0x5d8562[_0x2dc644(0x231)][_0x2dc644(0x287)],_0x5d8562['UniverSheetsUi'],_0x5d8562[_0x2dc644(0x49a)],_0x5d8562[_0x2dc644(0x2c9)],_0x5d8562[_0x2dc644(0x331)]));}(this,function(_0x59ce0d,_0x36d396,_0x22cf47,_0x547088,_0x53e1d0,_0x455671,_0x3d1d50,_0x346629,_0x41d467,_0x569fac,_0xdbe912,_0x17128d,_0x54d1da,_0x933578,_0x3179a3,_0x343608,_0x28fb9c,_0x30ff44,_0x5badd8){'use strict';const _0x51d41b=_0x4682;var _0xfef6f1=Object[_0x51d41b(0x215)],_0xa44bdd=(_0x4cf0b4,_0x1c13dd,_0x28a31e)=>_0x1c13dd in _0x4cf0b4?_0xfef6f1(_0x4cf0b4,_0x1c13dd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x28a31e}):_0x4cf0b4[_0x1c13dd]=_0x28a31e,_0x55fd67=(_0x474007,_0x2841c1,_0xfc9f4e)=>_0xa44bdd(_0x474007,typeof _0x2841c1!=_0x51d41b(0x56b)?_0x2841c1+'':_0x2841c1,_0xfc9f4e);const _0x3ee3ce=_0x51d41b(0x4cf),_0x3fad9d=_0x51d41b(0x2f0),_0x4ad76f='SNAPSHOT_URL_KEY',_0x5d41d3=_0x51d41b(0x546),_0x53dc60='COLLAB_WEB_SOCKET_URL',_0xe402b=_0x51d41b(0x5a7),_0x14d59a=_0x51d41b(0x3d7),_0x1734e8=_0x51d41b(0x3ff),_0x2353ba=_0x51d41b(0x31d),_0xdebb3a='RETRY_CONNECTING_MAX_COUNT',_0x341945=_0x51d41b(0x518),_0x5da533='COLLAB_SUBMIT_CHANGESET_URL',_0x1f38f9=_0x51d41b(0x532),_0x4c6be5='LOGIN_URL_KEY',_0x11abd1='/universer-api/oidc/authpage';var _0x5d72a7=(_0x5cdb5f=>(_0x5cdb5f[_0x5cdb5f[_0x51d41b(0x27d)]=0x0]=_0x51d41b(0x27d),_0x5cdb5f[_0x5cdb5f['OK']=0x1]='OK',_0x5cdb5f[_0x5cdb5f['INTERNAL_ERROR']=0x2]=_0x51d41b(0x2ce),_0x5cdb5f[_0x5cdb5f[_0x51d41b(0x562)]=0x3]=_0x51d41b(0x562),_0x5cdb5f[_0x5cdb5f[_0x51d41b(0x38f)]=0x4]=_0x51d41b(0x38f),_0x5cdb5f[_0x5cdb5f[_0x51d41b(0x3ba)]=0x5]=_0x51d41b(0x3ba),_0x5cdb5f[_0x5cdb5f[_0x51d41b(0x3bd)]=0x6]=_0x51d41b(0x3bd),_0x5cdb5f[_0x5cdb5f[_0x51d41b(0x3f6)]=0x7]='INVALID_ARGUMENT',_0x5cdb5f[_0x5cdb5f['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x5cdb5f[_0x5cdb5f[_0x51d41b(0x193)]=0x9]='COMPLETION_FINISHED',_0x5cdb5f[_0x5cdb5f['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x51d41b(0x24d),_0x5cdb5f[_0x5cdb5f[_0x51d41b(0x466)]=0x1771]=_0x51d41b(0x466),_0x5cdb5f[_0x5cdb5f[_0x51d41b(0x22e)]=0x1772]=_0x51d41b(0x22e),_0x5cdb5f[_0x5cdb5f['APPLY_REJECT']=0x1b59]=_0x51d41b(0x232),_0x5cdb5f[_0x5cdb5f[_0x51d41b(0x3df)]=0x1b5a]=_0x51d41b(0x3df),_0x5cdb5f[_0x5cdb5f[_0x51d41b(0x423)]=0x1b5b]=_0x51d41b(0x423),_0x5cdb5f[_0x5cdb5f[_0x51d41b(0x19d)]=0x1b5c]=_0x51d41b(0x19d),_0x5cdb5f[_0x5cdb5f[_0x51d41b(0x517)]=0x1f41]=_0x51d41b(0x517),_0x5cdb5f[_0x5cdb5f[_0x51d41b(0x3d1)]=0x2329]=_0x51d41b(0x3d1),_0x5cdb5f[_0x5cdb5f[_0x51d41b(0x57b)]=0x232a]=_0x51d41b(0x57b),_0x5cdb5f[_0x5cdb5f[_0x51d41b(0x2e3)]=0x232b]=_0x51d41b(0x2e3),_0x5cdb5f[_0x5cdb5f[_0x51d41b(0x3a1)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5cdb5f[_0x5cdb5f[_0x51d41b(0x535)]=0x232d]=_0x51d41b(0x535),_0x5cdb5f[_0x5cdb5f[_0x51d41b(0x362)]=0x2711]=_0x51d41b(0x362),_0x5cdb5f[_0x5cdb5f['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5cdb5f[_0x5cdb5f[_0x51d41b(0x429)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5cdb5f[_0x5cdb5f[_0x51d41b(0x592)]=0x2714]=_0x51d41b(0x592),_0x5cdb5f[_0x5cdb5f[_0x51d41b(0x3a5)]=-0x1]=_0x51d41b(0x3a5),_0x5cdb5f))(_0x5d72a7||{}),_0x54451c=(_0x5b14c9=>(_0x5b14c9[_0x5b14c9[_0x51d41b(0x2fe)]=0x0]=_0x51d41b(0x2fe),_0x5b14c9[_0x5b14c9[_0x51d41b(0x43c)]=0x1]=_0x51d41b(0x43c),_0x5b14c9[_0x5b14c9[_0x51d41b(0x1d8)]=0x2]=_0x51d41b(0x1d8),_0x5b14c9[_0x5b14c9[_0x51d41b(0x1cc)]=0x3]='UNIVER_SLIDE',_0x5b14c9[_0x5b14c9[_0x51d41b(0x3dc)]=0x4]=_0x51d41b(0x3dc),_0x5b14c9[_0x5b14c9[_0x51d41b(0x3a5)]=-0x1]=_0x51d41b(0x3a5),_0x5b14c9))(_0x54451c||{}),_0x16a3a1=(_0x467abf=>(_0x467abf[_0x467abf[_0x51d41b(0x1cb)]=0x0]=_0x51d41b(0x1cb),_0x467abf[_0x467abf[_0x51d41b(0x420)]=0x1]='HELLO',_0x467abf[_0x467abf[_0x51d41b(0x4c2)]=0x2]=_0x51d41b(0x4c2),_0x467abf[_0x467abf[_0x51d41b(0x1be)]=0x3]=_0x51d41b(0x1be),_0x467abf[_0x467abf[_0x51d41b(0x37a)]=0x4]=_0x51d41b(0x37a),_0x467abf[_0x467abf[_0x51d41b(0x237)]=0x5]=_0x51d41b(0x237),_0x467abf[_0x467abf['RECV']=0x6]=_0x51d41b(0x1ae),_0x467abf[_0x467abf[_0x51d41b(0x3a5)]=-0x1]=_0x51d41b(0x3a5),_0x467abf))(_0x16a3a1||{}),_0x3368de=(_0x8ba726=>(_0x8ba726[_0x8ba726[_0x51d41b(0x2cd)]=0x0]='UNKNOWN_CODE',_0x8ba726[_0x8ba726['OK']=0x1]='OK',_0x8ba726[_0x8ba726[_0x51d41b(0x456)]=0x2]=_0x51d41b(0x456),_0x8ba726[_0x8ba726['UNRECOGNIZED']=-0x1]=_0x51d41b(0x3a5),_0x8ba726))(_0x3368de||{}),_0x66022a=(_0x36f84c=>(_0x36f84c[_0x36f84c['Undefined']=0x0]=_0x51d41b(0x2f3),_0x36f84c[_0x36f84c[_0x51d41b(0x1c4)]=0x1]=_0x51d41b(0x1c4),_0x36f84c[_0x36f84c['HttpExport']=0x2]=_0x51d41b(0x36c),_0x36f84c[_0x36f84c[_0x51d41b(0x381)]=0x3]=_0x51d41b(0x381),_0x36f84c[_0x36f84c[_0x51d41b(0x2e9)]=0x4]=_0x51d41b(0x2e9),_0x36f84c[_0x36f84c['UNRECOGNIZED']=-0x1]=_0x51d41b(0x3a5),_0x36f84c))(_0x66022a||{});function _0x251ac9(_0x4bb864){const _0x5909c7=_0x51d41b;var _0x14b19c,_0x10746a,_0x54080f,_0x2bdb17;const _0x2be20d=_0x4bb864[_0x5909c7(0x34f)],_0x4b7a2b=JSON['parse'](_0x2be20d);switch(_0x4b7a2b[_0x5909c7(0x266)]){case _0x16a3a1['HEARTBEAT']:case _0x16a3a1[_0x5909c7(0x420)]:{const _0x255e85=_0x4b7a2b['infoRsp'];return{..._0x4b7a2b,'data':_0x255e85,'cmd':_0x4b7a2b[_0x5909c7(0x266)]};}case _0x16a3a1[_0x5909c7(0x4c2)]:{const _0x90c62f=_0x4b7a2b[_0x5909c7(0x5aa)];return{..._0x4b7a2b,'data':_0x90c62f,'cmd':_0x4b7a2b[_0x5909c7(0x266)]};}case _0x16a3a1[_0x5909c7(0x1ae)]:{const _0x50bdfa=_0x4b7a2b[_0x5909c7(0x202)];switch(_0x50bdfa[_0x5909c7(0x1c6)]){case _0x346629['CollaborationEvent'][_0x5909c7(0x1ed)]:return{..._0x4b7a2b,'data':{..._0x50bdfa,'data':(_0x14b19c=_0x50bdfa[_0x5909c7(0x2c0)])==null?void 0x0:_0x14b19c['cs']},'cmd':_0x4b7a2b[_0x5909c7(0x266)]};case _0x346629['CollaborationEvent']['CHANGESET_ACK']:return{..._0x4b7a2b,'data':{..._0x50bdfa,'data':(_0x10746a=_0x50bdfa['csAckEvent'])==null?void 0x0:_0x10746a['cs']},'cmd':_0x4b7a2b[_0x5909c7(0x266)]};case _0x346629[_0x5909c7(0x2fa)]['NEW_CHANGESETS']:return{..._0x4b7a2b,'data':{..._0x50bdfa,'data':(_0x54080f=_0x50bdfa[_0x5909c7(0x3c7)])==null?void 0x0:_0x54080f['cs']},'cmd':_0x4b7a2b[_0x5909c7(0x266)]};case _0x346629[_0x5909c7(0x2fa)][_0x5909c7(0x20a)]:return{..._0x4b7a2b,'data':{..._0x50bdfa,'data':(_0x2bdb17=_0x50bdfa[_0x5909c7(0x293)])==null?void 0x0:_0x2bdb17['cs']},'cmd':_0x4b7a2b[_0x5909c7(0x266)]};case _0x346629['CollaborationEvent'][_0x5909c7(0x191)]:return{..._0x4b7a2b,'data':{..._0x50bdfa,'data':_0x50bdfa['updateCursorEvent']},'cmd':_0x4b7a2b['cmd']};case _0x346629[_0x5909c7(0x2fa)][_0x5909c7(0x252)]:return{..._0x4b7a2b,'data':{..._0x50bdfa,'data':_0x50bdfa[_0x5909c7(0x4a5)]},'cmd':_0x4b7a2b['cmd']};case _0x346629[_0x5909c7(0x2fa)][_0x5909c7(0x50b)]:return{..._0x4b7a2b,'data':{..._0x50bdfa,'data':_0x50bdfa['leaveEvent']},'cmd':_0x4b7a2b[_0x5909c7(0x266)]};case _0x346629[_0x5909c7(0x2fa)][_0x5909c7(0x47f)]:return{..._0x4b7a2b,'data':{..._0x50bdfa,'data':_0x50bdfa[_0x5909c7(0x433)]},'cmd':_0x4b7a2b['cmd']};case _0x346629[_0x5909c7(0x2fa)][_0x5909c7(0x574)]:case _0x346629[_0x5909c7(0x2fa)]['LIVESHARE_OPERATION']:return{..._0x4b7a2b,'data':{..._0x50bdfa,'data':_0x50bdfa['liveShareOperation']},'cmd':_0x4b7a2b[_0x5909c7(0x266)]};case _0x346629[_0x5909c7(0x2fa)][_0x5909c7(0x2d6)]:return{..._0x4b7a2b,'data':{..._0x50bdfa,'data':_0x50bdfa[_0x5909c7(0x433)]},'cmd':_0x4b7a2b['cmd']};case _0x346629[_0x5909c7(0x2fa)][_0x5909c7(0x255)]:return{..._0x4b7a2b,'data':_0x50bdfa,'cmd':_0x4b7a2b[_0x5909c7(0x266)]};case _0x346629[_0x5909c7(0x2fa)]['COMMENT_UPDATE']:return{..._0x4b7a2b,'data':{..._0x50bdfa,'data':_0x50bdfa[_0x5909c7(0x50f)]},'cmd':_0x4b7a2b[_0x5909c7(0x266)]};case _0x346629['CollaborationEvent'][_0x5909c7(0x425)]:return{..._0x4b7a2b,'data':{..._0x50bdfa,'data':_0x50bdfa[_0x5909c7(0x332)]},'cmd':_0x4b7a2b[_0x5909c7(0x266)]};case _0x346629[_0x5909c7(0x2fa)][_0x5909c7(0x408)]:return{..._0x4b7a2b,'data':{..._0x50bdfa,'data':_0x50bdfa[_0x5909c7(0x256)]},'cmd':_0x4b7a2b[_0x5909c7(0x266)]};default:return _0x4b7a2b;}}default:return _0x4b7a2b;}}function _0x342ade(_0x28cd68){const _0x867444=_0x51d41b;switch(_0x28cd68['cmd']){case _0x16a3a1[_0x867444(0x237)]:case _0x16a3a1['HELLO']:return JSON[_0x867444(0x54a)]({'cmd':_0x28cd68[_0x867444(0x266)],'routeKey':_0x28cd68[_0x867444(0x401)]});case _0x16a3a1['INGEST']:{let _0x19875d;switch(_0x28cd68[_0x867444(0x34f)][_0x867444(0x1c6)]){case _0x346629[_0x867444(0x2fa)][_0x867444(0x191)]:{_0x19875d={'eventID':_0x346629[_0x867444(0x2fa)][_0x867444(0x191)],'updateCursorEvent':_0x28cd68['data'][_0x867444(0x34f)]};break;}case _0x346629[_0x867444(0x2fa)][_0x867444(0x50b)]:{_0x19875d={'eventID':_0x346629['CollaborationEvent'][_0x867444(0x50b)],'leaveEvent':_0x28cd68[_0x867444(0x34f)][_0x867444(0x34f)]};break;}case _0x346629[_0x867444(0x2fa)]['USERS_ENTER']:{_0x19875d={'eventID':_0x346629['CollaborationEvent'][_0x867444(0x252)],'joinEvent':_0x28cd68[_0x867444(0x34f)][_0x867444(0x34f)]};break;}case _0x346629[_0x867444(0x2fa)][_0x867444(0x47f)]:{_0x19875d={'eventID':_0x346629[_0x867444(0x2fa)][_0x867444(0x47f)],'liveShareNewHost':_0x28cd68[_0x867444(0x34f)][_0x867444(0x34f)]};break;}case _0x346629['CollaborationEvent'][_0x867444(0x3b1)]:{_0x19875d={'eventID':_0x346629[_0x867444(0x2fa)][_0x867444(0x3b1)],'liveShareOperation':_0x28cd68[_0x867444(0x34f)][_0x867444(0x34f)]};break;}case _0x346629[_0x867444(0x2fa)][_0x867444(0x2d6)]:{_0x19875d={'eventID':_0x346629[_0x867444(0x2fa)][_0x867444(0x2d6)],'liveShareTerminate':_0x28cd68['data']['data']};break;}case _0x346629['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:{_0x19875d={'eventID':_0x346629['CollaborationEvent'][_0x867444(0x351)],'liveShareRequestHost':_0x28cd68[_0x867444(0x34f)]['data']};break;}case _0x346629[_0x867444(0x2fa)][_0x867444(0x574)]:{_0x19875d={'eventID':_0x346629['CollaborationEvent'][_0x867444(0x574)]};break;}default:_0x19875d={'eventID':_0x28cd68['data'][_0x867444(0x1c6)]};}return JSON[_0x867444(0x54a)]({'cmd':_0x28cd68['cmd'],'routeKey':_0x28cd68[_0x867444(0x401)],'collaMsg':_0x19875d});}case _0x16a3a1[_0x867444(0x4c2)]:return JSON[_0x867444(0x54a)]({'cmd':_0x28cd68[_0x867444(0x266)],'routeKey':_0x28cd68['routeKey'],'joinReq':_0x28cd68[_0x867444(0x34f)]});case _0x16a3a1[_0x867444(0x1be)]:return JSON['stringify']({'cmd':_0x28cd68[_0x867444(0x266)],'routeKey':_0x28cd68[_0x867444(0x401)],'leaveReq':_0x28cd68['data']});default:throw new Error(_0x867444(0x41f));}}var _0x4a0c11=Object[_0x51d41b(0x215)],_0x199615=Object[_0x51d41b(0x2b7)],_0x426c07=(_0x5132fa,_0x3768ac,_0x2b0921,_0x14e907)=>{for(var _0x18dce1=_0x14e907>0x1?void 0x0:_0x14e907?_0x199615(_0x3768ac,_0x2b0921):_0x3768ac,_0x1e40ce=_0x5132fa['length']-0x1,_0x2e6515;_0x1e40ce>=0x0;_0x1e40ce--)(_0x2e6515=_0x5132fa[_0x1e40ce])&&(_0x18dce1=(_0x14e907?_0x2e6515(_0x3768ac,_0x2b0921,_0x18dce1):_0x2e6515(_0x18dce1))||_0x18dce1);return _0x14e907&&_0x18dce1&&_0x4a0c11(_0x3768ac,_0x2b0921,_0x18dce1),_0x18dce1;},_0x485029=(_0x2a18f0,_0x3e2b6c)=>(_0x3c0a3f,_0x2c06cf)=>_0x3e2b6c(_0x3c0a3f,_0x2c06cf,_0x2a18f0);const _0xe35b0b=_0x36d396[_0x51d41b(0x494)](_0x51d41b(0x233));function _0x2a7dc2(_0x42fdc1,_0x27cea7,_0x51e901){const _0x20e22a=_0x51d41b;return _0x42fdc1+'/'+_0x27cea7+_0x20e22a(0x33f)+_0x51e901+_0x20e22a(0x516);}_0x59ce0d[_0x51d41b(0x551)]=class{constructor(_0x375bb3,_0x46eed2,_0x45524d,_0x3db685,_0x5230d8){const _0x3ced19=_0x51d41b;this['_http']=_0x375bb3,this['_ws']=_0x46eed2,this[_0x3ced19(0x448)]=_0x45524d,this['_logService']=_0x3db685,this[_0x3ced19(0x4af)]=_0x5230d8;}[_0x51d41b(0x1e1)](_0x2b312d){const _0x41f8a9=_0x51d41b,_0x549710=this[_0x41f8a9(0x318)][_0x41f8a9(0x1e1)](_0x2b312d);if(!_0x549710)throw new Error(_0x41f8a9(0x393));const _0x2ac53a=new _0x36d396[(_0x41f8a9(0x3bc))](),_0x2cf5a8=new _0x22cf47[(_0x41f8a9(0x3d9))]();_0x2ac53a[_0x41f8a9(0x5a2)](_0x549710[_0x41f8a9(0x292)][_0x41f8a9(0x200)](_0x506a11=>_0x2cf5a8[_0x41f8a9(0x1d6)](_0x506a11))),_0x2ac53a['add'](_0x36d396[_0x41f8a9(0x1d9)](()=>_0x2cf5a8[_0x41f8a9(0x22a)]()));const _0x8eb089=new _0x22cf47[(_0x41f8a9(0x3d9))]();_0x2ac53a[_0x41f8a9(0x5a2)](_0x549710[_0x41f8a9(0x4b6)]['subscribe'](_0x9acd18=>_0x8eb089['next'](_0x9acd18))),_0x2ac53a[_0x41f8a9(0x5a2)](_0x36d396[_0x41f8a9(0x1d9)](()=>_0x8eb089[_0x41f8a9(0x22a)]()));const _0x2b8dd8=new _0x22cf47[(_0x41f8a9(0x3d9))]();_0x2ac53a[_0x41f8a9(0x5a2)](_0x549710[_0x41f8a9(0x368)][_0x41f8a9(0x200)](_0x23e751=>{const _0x3afd96=_0x251ac9(_0x23e751);_0x2b8dd8['next'](_0x3afd96);})),_0x2ac53a[_0x41f8a9(0x5a2)](_0x36d396['toDisposable'](()=>_0x2b8dd8[_0x41f8a9(0x22a)]()));const _0x243234=()=>{const _0x1a6865=_0x41f8a9;_0x8eb089[_0x1a6865(0x1d6)](new Event(_0x1a6865(0x4e0))),_0x2cf5a8[_0x1a6865(0x1d6)](new CloseEvent(_0x1a6865(0x4e0))),_0x46141e['close']();},_0x46141e={'memberID':'','close$':_0x2cf5a8[_0x41f8a9(0x544)](),'error$':_0x8eb089['asObservable'](),'open$':_0x549710[_0x41f8a9(0x509)],'message$':_0x2b8dd8['asObservable'](),'send':_0x278f6b=>{const _0x15aacf=_0x41f8a9;if(_0x278f6b['cmd']===_0x16a3a1[_0x15aacf(0x37a)]){if(_0x278f6b[_0x15aacf(0x34f)][_0x15aacf(0x1c6)]===_0x346629['CollaborationEvent'][_0x15aacf(0x3a2)]){this[_0x15aacf(0x2fc)](_0x46141e,_0x278f6b[_0x15aacf(0x34f)])[_0x15aacf(0x276)](_0x27229d=>{const _0x423222=_0x15aacf;this['_logService'][_0x423222(0x405)](_0x27229d),_0x243234();});return;}if(_0x278f6b[_0x15aacf(0x34f)]['eventID']===_0x346629['CollaborationEvent'][_0x15aacf(0x568)]){const _0x20db8b=_0x278f6b['data'];this[_0x15aacf(0x409)](_0x20db8b)[_0x15aacf(0x59d)](_0x76c7c0=>{const _0x44856e=_0x15aacf;_0x2b8dd8['next']({'cmd':_0x16a3a1['RECV'],'code':_0x3368de['OK'],'routeKey':_0x20db8b[_0x44856e(0x34f)][_0x44856e(0x35f)],'routeType':'','data':{'eventID':_0x346629['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x76c7c0}}});})[_0x15aacf(0x276)](_0x2ba2ce=>{const _0x158e2c=_0x15aacf;this['_logService'][_0x158e2c(0x405)](_0x2ba2ce),_0x243234();});return;}}_0x549710['send'](_0x342ade(_0x278f6b));},'close':()=>{const _0x3e3bdc=_0x41f8a9;_0x549710[_0x3e3bdc(0x47c)](),_0x2ac53a['dispose']();}};return _0x46141e;}async[_0x51d41b(0x2fc)](_0x2db1f8,_0x1c5851){const _0x5b863f=_0x51d41b;var _0x10745a;const {unitType:_0x5a30af,unitID:_0x2f3450,changeset:_0x2993df}=_0x1c5851[_0x5b863f(0x34f)],_0x1b7add={'unitID':_0x2f3450,'memberID':_0x2db1f8[_0x5b863f(0x264)],'type':_0x5a30af,'changeset':_0x346629[_0x5b863f(0x1dc)](_0x2993df)},_0x561d1a=_0x2a7dc2((_0x10745a=this[_0x5b863f(0x448)]['getConfig'](_0x5da533))!=null?_0x10745a:_0x1f38f9,_0x5a30af,_0x2f3450);try{await this[_0x5b863f(0x2eb)][_0x5b863f(0x51e)](_0x561d1a,{'body':_0x1b7add});}catch(_0x1b6b4c){throw this[_0x5b863f(0x545)]['error'](_0x5b863f(0x593),_0x5b863f(0x2fb)),_0x1b6b4c;}}async[_0x51d41b(0x409)](_0x28a71f){const _0x5c7e58=_0x51d41b,{unitID:_0x542e46,from:_0x2e7d7d,to:_0x2dd03e,unitType:_0x25e765}=_0x28a71f[_0x5c7e58(0x34f)];return(await this[_0x5c7e58(0x4af)][_0x5c7e58(0x2fd)]({'metadata':void 0x0},{'unitID':_0x542e46,'type':_0x25e765,'from':_0x2e7d7d,'to':_0x2dd03e}))[_0x5c7e58(0x2bd)];}},_0x59ce0d[_0x51d41b(0x551)]=_0x426c07([_0x485029(0x0,_0x36d396[_0x51d41b(0x2ae)](_0x3d1d50['HTTPService'])),_0x485029(0x1,_0x36d396[_0x51d41b(0x2ae)](_0x3d1d50[_0x51d41b(0x4fd)])),_0x485029(0x2,_0x36d396[_0x51d41b(0x511)]),_0x485029(0x3,_0x36d396[_0x51d41b(0x495)]),_0x485029(0x4,_0x346629['ISnapshotServerService'])],_0x59ce0d[_0x51d41b(0x551)]);class _0x186531{constructor(){const _0x4c8a1f=_0x51d41b;_0x55fd67(this,_0x4c8a1f(0x26d),new _0x22cf47['Subject']()),_0x55fd67(this,_0x4c8a1f(0x2ba),this[_0x4c8a1f(0x26d)][_0x4c8a1f(0x544)]());}[_0x51d41b(0x1a8)](_0xf68a6e){const _0x5379d3=_0x51d41b;this[_0x5379d3(0x26d)]['next'](_0xf68a6e);}}var _0xffbadd=Object[_0x51d41b(0x215)],_0x1ea5f3=Object[_0x51d41b(0x2b7)],_0x14e67d=(_0xa2e19b,_0x340448,_0x59fdc4,_0x211136)=>{const _0x36cdd2=_0x51d41b;for(var _0x270e80=_0x211136>0x1?void 0x0:_0x211136?_0x1ea5f3(_0x340448,_0x59fdc4):_0x340448,_0x2cf89a=_0xa2e19b[_0x36cdd2(0x392)]-0x1,_0x3a6e1a;_0x2cf89a>=0x0;_0x2cf89a--)(_0x3a6e1a=_0xa2e19b[_0x2cf89a])&&(_0x270e80=(_0x211136?_0x3a6e1a(_0x340448,_0x59fdc4,_0x270e80):_0x3a6e1a(_0x270e80))||_0x270e80);return _0x211136&&_0x270e80&&_0xffbadd(_0x340448,_0x59fdc4,_0x270e80),_0x270e80;},_0x2127f4=(_0x2ca8bc,_0x400b8b)=>(_0x34d8cf,_0x16f4d2)=>_0x400b8b(_0x34d8cf,_0x16f4d2,_0x2ca8bc);let _0x2e1387=class extends _0x36d396[_0x51d41b(0x4f0)]{constructor(_0x374654,_0x9c5f59){const _0x3330ec=_0x51d41b;super(),_0x55fd67(this,_0x3330ec(0x338),new Map()),(this[_0x3330ec(0x273)]=_0x374654,this['_userManagerService']=_0x9c5f59,this[_0x3330ec(0x595)](_0x36d396[_0x3330ec(0x1d9)](_0x22cf47[_0x3330ec(0x4ee)](this[_0x3330ec(0x273)][_0x3330ec(0x505)](_0x36d396[_0x3330ec(0x26a)][_0x3330ec(0x1d8)])[_0x3330ec(0x257)](_0x547088[_0x3330ec(0x565)](_0x540ad6=>_0x540ad6[_0x3330ec(0x4ce)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x36d396[_0x3330ec(0x26a)][_0x3330ec(0x43c)])[_0x3330ec(0x257)](_0x547088[_0x3330ec(0x565)](_0x3ee59c=>_0x3ee59c['getUnitId']())),this[_0x3330ec(0x273)]['getTypeOfUnitDisposed$'](_0x36d396[_0x3330ec(0x26a)]['UNIVER_SLIDE'])[_0x3330ec(0x257)](_0x547088[_0x3330ec(0x565)](_0x2abef1=>_0x2abef1[_0x3330ec(0x4ce)]())))[_0x3330ec(0x200)](_0x4dcf33=>this[_0x3330ec(0x23e)](_0x4dcf33)))));}[_0x51d41b(0x3cc)](_0x4b5bd1){const _0xcca90=_0x51d41b;this['_userManagerService'][_0xcca90(0x3cc)](_0x4b5bd1);}[_0x51d41b(0x26c)](){const _0xd10d00=_0x51d41b;return this['_userManagerService'][_0xd10d00(0x26c)]();}[_0x51d41b(0x1ea)](_0x40e36e,_0x3a0ebc){const _0xcea0f1=_0x51d41b;let _0x3796f8=this[_0xcea0f1(0x338)][_0xcea0f1(0x58c)](_0x40e36e);_0x3796f8||(_0x3796f8=new _0x4d2291(),this[_0xcea0f1(0x338)][_0xcea0f1(0x27f)](_0x40e36e,_0x3796f8)),_0x3796f8[_0xcea0f1(0x1ea)](_0x3a0ebc);}['removeMember'](_0xa5c817,_0xdc3c4e){const _0x4b9e62=_0x51d41b,_0x135c8f=this[_0x4b9e62(0x338)][_0x4b9e62(0x58c)](_0xa5c817);_0x135c8f&&_0x135c8f['removeMember'](_0xdc3c4e);}['getRoom'](_0x58599f){const _0x16e95a=_0x51d41b;return this[_0x16e95a(0x338)][_0x16e95a(0x58c)](_0x58599f);}[_0x51d41b(0x359)](_0x120ede,_0x55b742){const _0x55b137=_0x51d41b,_0x35be94=this[_0x55b137(0x338)][_0x55b137(0x58c)](_0x120ede);if(_0x35be94)return _0x35be94[_0x55b137(0x359)](_0x55b742);}[_0x51d41b(0x23e)](_0x5294b8){const _0x44c695=_0x51d41b,_0x33345d=this[_0x44c695(0x338)]['get'](_0x5294b8);_0x33345d&&(_0x33345d[_0x44c695(0x3cd)](),this[_0x44c695(0x338)]['delete'](_0x5294b8));}['dispose'](){const _0x267629=_0x51d41b;this[_0x267629(0x338)][_0x267629(0x1a9)](_0xd3580f=>_0xd3580f[_0x267629(0x3cd)]()),this[_0x267629(0x338)][_0x267629(0x3a7)]();}};_0x2e1387=_0x14e67d([_0x2127f4(0x0,_0x36d396[_0x51d41b(0x2c5)]),_0x2127f4(0x1,_0x36d396[_0x51d41b(0x2ae)](_0x36d396[_0x51d41b(0x1b1)]))],_0x2e1387);class _0x4d2291 extends _0x36d396['Disposable']{constructor(){super(...arguments),_0x55fd67(this,'_members',new Map());}[_0x51d41b(0x3cd)](){const _0x2ebbb5=_0x51d41b;this[_0x2ebbb5(0x2ad)]['clear']();}[_0x51d41b(0x1ea)](_0x3336c7){const _0x144b7a=_0x51d41b;this[_0x144b7a(0x2ad)][_0x144b7a(0x27f)](_0x3336c7['memberID'],_0x3336c7);}[_0x51d41b(0x29e)](_0x5c66e8){const _0x3c8c81=_0x51d41b;this['_members'][_0x3c8c81(0x560)](_0x5c66e8);}['getMember'](_0x27a838){const _0x449789=_0x51d41b;return this[_0x449789(0x2ad)][_0x449789(0x58c)](_0x27a838);}}const _0x59eaff='collaboration_new_changeset';function _0x3f365d(_0x3d6334){const _0x390b1d=_0x51d41b;return JSON[_0x390b1d(0x54a)](_0x3d6334)[_0x390b1d(0x392)];}var _0x55aa98=Object[_0x51d41b(0x215)],_0x3d6d0c=Object[_0x51d41b(0x2b7)],_0x259696=(_0x357711,_0x2f728e,_0x57866d,_0x36090d)=>{const _0x2c9bd1=_0x51d41b;for(var _0x5e6774=_0x36090d>0x1?void 0x0:_0x36090d?_0x3d6d0c(_0x2f728e,_0x57866d):_0x2f728e,_0x3df77a=_0x357711[_0x2c9bd1(0x392)]-0x1,_0xb6c718;_0x3df77a>=0x0;_0x3df77a--)(_0xb6c718=_0x357711[_0x3df77a])&&(_0x5e6774=(_0x36090d?_0xb6c718(_0x2f728e,_0x57866d,_0x5e6774):_0xb6c718(_0x5e6774))||_0x5e6774);return _0x36090d&&_0x5e6774&&_0x55aa98(_0x2f728e,_0x57866d,_0x5e6774),_0x5e6774;},_0x498f7d=(_0x127da6,_0x17715e)=>(_0x54a713,_0x506dbf)=>_0x17715e(_0x54a713,_0x506dbf,_0x127da6),_0x4c781c=(_0x517441=>(_0x517441[_0x517441['IDLE']=0x0]=_0x51d41b(0x3be),_0x517441[_0x517441[_0x51d41b(0x3e2)]=0x1]=_0x51d41b(0x3e2),_0x517441[_0x517441[_0x51d41b(0x588)]=0x2]=_0x51d41b(0x588),_0x517441[_0x517441['ONLINE']=0x3]=_0x51d41b(0x2b3),_0x517441))(_0x4c781c||{});_0x59ce0d['CollaborationSession']=class extends _0x36d396[_0x51d41b(0x480)]{constructor(_0x4d8e94,_0x5b69ef,_0x90d976,_0x2e419c,_0x360073,_0x40d7ec,_0x3d81d9,_0x44df6f,_0x1eb9ac,_0x287108){const _0x35a997=_0x51d41b;super(),_0x55fd67(this,_0x35a997(0x1f9),new _0x22cf47[(_0x35a997(0x482))](0x0)),_0x55fd67(this,'sessionStatus$',this['_sessionStatus$'][_0x35a997(0x544)]()),_0x55fd67(this,_0x35a997(0x349),new _0x22cf47['Subject']()),_0x55fd67(this,_0x35a997(0x1b6),this[_0x35a997(0x349)]['asObservable']()),_0x55fd67(this,'_socket'),_0x55fd67(this,_0x35a997(0x2c2)),_0x55fd67(this,_0x35a997(0x569)),_0x55fd67(this,'_shouldReportTelemetry',!0x1),_0x55fd67(this,'_telemetryInfo',null),(this['_unitID']=_0x4d8e94,this[_0x35a997(0x545)]=_0x90d976,this[_0x35a997(0x524)]=_0x2e419c,this[_0x35a997(0x2a7)]=_0x360073,this[_0x35a997(0x448)]=_0x40d7ec,this[_0x35a997(0x31f)]=_0x3d81d9,this[_0x35a997(0x468)]=_0x44df6f,this[_0x35a997(0x2e5)]=_0x1eb9ac,this[_0x35a997(0x2a6)]=_0x287108,this[_0x35a997(0x23b)]=!!this[_0x35a997(0x2a6)],_0x5b69ef[_0x35a997(0x257)](_0x22cf47['takeUntil'](this['dispose$']))[_0x35a997(0x200)](_0x5e83ef=>{const _0x53fa02=_0x35a997;var _0xb631b1;typeof _0x5e83ef>'u'||(this['_socket']=_0x5e83ef,_0x5e83ef?(this['_joinRoom'](_0x5e83ef),this[_0x53fa02(0x2c2)]=this['_socket'][_0x53fa02(0x368)][_0x53fa02(0x200)](_0x27d30b=>{const _0x43039b=_0x53fa02;_0x27d30b[_0x43039b(0x401)]===this[_0x43039b(0x3f2)]&&this['_onCombEvent'](_0x27d30b);})):(this[_0x53fa02(0x1ec)](),this[_0x53fa02(0x1f9)][_0x53fa02(0x1d6)](0x2),(_0xb631b1=this[_0x53fa02(0x2c2)])==null||_0xb631b1[_0x53fa02(0x1f7)](),this[_0x53fa02(0x2c2)]=null));}),this['disposeWithMe'](this['_beforeCloseService'][_0x35a997(0x265)](()=>{const _0x33fefe=_0x35a997;var _0x342749;(_0x342749=this['_socket'])==null||_0x342749['send']({'cmd':_0x16a3a1[_0x33fefe(0x1be)],'data':{'roomID':this[_0x33fefe(0x3f2)]}});})));}get[_0x51d41b(0x277)](){const _0x38f0d2=_0x51d41b;return this[_0x38f0d2(0x1f9)][_0x38f0d2(0x2b1)]();}[_0x51d41b(0x1fb)](){const _0x4d2cff=_0x51d41b;var _0x394fb2,_0x28afec;return(_0x28afec=(_0x394fb2=this[_0x4d2cff(0x590)])==null?void 0x0:_0x394fb2[_0x4d2cff(0x264)])!=null?_0x28afec:null;}[_0x51d41b(0x3cd)](){const _0x1fca52=_0x51d41b;super[_0x1fca52(0x3cd)](),this[_0x1fca52(0x1b2)][_0x1fca52(0x1d6)](),this[_0x1fca52(0x1b2)][_0x1fca52(0x22a)]();}[_0x51d41b(0x47c)](){const _0x1e24a1=_0x51d41b;var _0x37f430,_0x6e61ae;this[_0x1e24a1(0x1ec)](),(_0x37f430=this[_0x1e24a1(0x590)])==null||_0x37f430[_0x1e24a1(0x4a2)]({'cmd':_0x16a3a1[_0x1e24a1(0x1be)],'data':{'roomID':this['_unitID']}}),(_0x6e61ae=this[_0x1e24a1(0x590)])==null||_0x6e61ae[_0x1e24a1(0x47c)](),this[_0x1e24a1(0x349)][_0x1e24a1(0x22a)](),this[_0x1e24a1(0x1f9)][_0x1e24a1(0x22a)](),this['dispose']();}[_0x51d41b(0x309)](_0x1f6588){const _0x12ccc9=_0x51d41b;_0x1f6588['cmd']===_0x16a3a1['JOIN']?this[_0x12ccc9(0x4a0)](_0x1f6588):_0x1f6588['cmd']===_0x16a3a1[_0x12ccc9(0x1ae)]&&this[_0x12ccc9(0x2b5)](_0x1f6588);}['_joinRoom'](_0x2bba4e){const _0xcbd74c=_0x51d41b;this['_sessionStatus$'][_0xcbd74c(0x1d6)](0x1),_0x2bba4e['send']({'cmd':_0x16a3a1['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0xcbd74c(0x3f2)]}]}});}[_0x51d41b(0x4a0)](_0xa1dc68){const _0x4cad67=_0x51d41b;var _0x2fc564;if(_0xa1dc68[_0x4cad67(0x30d)]===_0x3368de[_0x4cad67(0x456)]){this['_messageService'][_0x4cad67(0x3c3)]({'type':_0x53e1d0[_0x4cad67(0x31b)]['Warning'],'content':this[_0x4cad67(0x31f)]['t']('session.room-full')}),this['_sessionStatus$']['next'](0x2);return;}this[_0x4cad67(0x1f9)][_0x4cad67(0x1d6)](0x3);const _0x2d0856=(_0x2fc564=_0xa1dc68[_0x4cad67(0x34f)][_0x4cad67(0x496)][this['_unitID']])==null?void 0x0:_0x2fc564[_0x4cad67(0x1d1)];_0x2d0856&&_0x2d0856['forEach'](_0x4c45ad=>this[_0x4cad67(0x468)][_0x4cad67(0x1ea)](this[_0x4cad67(0x3f2)],_0x4c45ad));}[_0x51d41b(0x2b5)](_0x203c32){const _0x2458a4=_0x51d41b;try{const _0x43629a=_0x203c32[_0x2458a4(0x34f)];switch(_0x43629a[_0x2458a4(0x1c6)]){case _0x346629['CollaborationEvent'][_0x2458a4(0x252)]:this[_0x2458a4(0x58a)](_0x43629a),this[_0x2458a4(0x349)][_0x2458a4(0x1d6)](_0x43629a);break;case _0x346629[_0x2458a4(0x2fa)][_0x2458a4(0x50b)]:this[_0x2458a4(0x52e)](_0x43629a),this[_0x2458a4(0x349)]['next'](_0x43629a);break;case _0x346629[_0x2458a4(0x2fa)][_0x2458a4(0x44c)]:this[_0x2458a4(0x3ae)](),this[_0x2458a4(0x28a)](),this['_event$']['next'](_0x43629a);break;case _0x346629['CollaborationEvent'][_0x2458a4(0x255)]:this[_0x2458a4(0x545)][_0x2458a4(0x405)](_0x2458a4(0x589)+JSON[_0x2458a4(0x54a)](_0x43629a)),this[_0x2458a4(0x349)][_0x2458a4(0x1d6)](_0x43629a);break;case _0x346629[_0x2458a4(0x2fa)][_0x2458a4(0x1ce)]:this[_0x2458a4(0x2e5)][_0x2458a4(0x1a8)](_0x43629a[_0x2458a4(0x34f)]),this[_0x2458a4(0x349)]['next'](_0x43629a);break;default:this[_0x2458a4(0x349)][_0x2458a4(0x1d6)](_0x43629a);}}catch(_0x3328af){this[_0x2458a4(0x545)]['error'](_0x3328af,_0x203c32);}}['_onUserJoin'](_0x5bb1bb){const _0x544173=_0x51d41b;this['_memberService'][_0x544173(0x1ea)](this[_0x544173(0x3f2)],_0x5bb1bb['data']);}[_0x51d41b(0x52e)](_0x10ea85){const _0x528afb=_0x51d41b;this[_0x528afb(0x468)]['removeMember'](this[_0x528afb(0x3f2)],_0x10ea85[_0x528afb(0x34f)][_0x528afb(0x264)]);}async['send'](_0x3c0ab8,_0x204a1c){const _0x2ea359=_0x51d41b;if(this[_0x2ea359(0x277)]!==0x3||!this['_socket'])throw new Error(_0x2ea359(0x316));try{_0x3c0ab8[_0x2ea359(0x1c6)]===_0x346629[_0x2ea359(0x2fa)][_0x2ea359(0x3a2)]&&(this[_0x2ea359(0x404)](),this['_startTelemetryCollaborationNewChangeset'](_0x3c0ab8)),this['_socket'][_0x2ea359(0x4a2)]({'cmd':_0x16a3a1['INGEST'],'routeKey':_0x204a1c,'routeType':'','data':_0x3c0ab8});}catch(_0x3901c6){this[_0x2ea359(0x545)][_0x2ea359(0x405)](_0x3901c6);}}[_0x51d41b(0x404)](){const _0x4a365a=_0x51d41b;var _0x6892ae;this['_collaborationTimeoutTimer']=window['setTimeout'](()=>{const _0x1ebdb4=_0x4682;this[_0x1ebdb4(0x569)]=null,this[_0x1ebdb4(0x2a7)][_0x1ebdb4(0x3c3)]({'type':_0x53e1d0[_0x1ebdb4(0x31b)][_0x1ebdb4(0x372)],'content':this[_0x1ebdb4(0x31f)]['t']('session.collaboration-timeout')});},(_0x6892ae=this[_0x4a365a(0x448)]['getConfig'](_0x1734e8))!=null?_0x6892ae:0x2710);}[_0x51d41b(0x28a)](){const _0x451ea5=_0x51d41b;this[_0x451ea5(0x569)]&&(clearTimeout(this[_0x451ea5(0x569)]),this[_0x451ea5(0x569)]=null);}[_0x51d41b(0x25b)](_0x14df7){const _0x35c1a0=_0x51d41b;if(!this['_shouldReportTelemetry'])return;const {data:_0x12efb9}=_0x14df7,{unitID:_0x16695a,changeset:_0x1a5bd1}=_0x12efb9,{mutations:_0x45f03b,type:_0x17a64e}=_0x1a5bd1;this[_0x35c1a0(0x577)]={'unitId':_0x16695a,'type':_0x17a64e,'startTime':performance[_0x35c1a0(0x2ca)](),'stopTime':0x0,'duration':0x0,'size':_0x3f365d(_0x45f03b)};}[_0x51d41b(0x3ae)](){const _0x4f8d1e=_0x51d41b;if(this['_shouldReportTelemetry']){if(!this[_0x4f8d1e(0x577)]){this[_0x4f8d1e(0x545)][_0x4f8d1e(0x405)](_0x4f8d1e(0x593),_0x4f8d1e(0x471));return;}this[_0x4f8d1e(0x577)][_0x4f8d1e(0x4cb)]=performance['now'](),this[_0x4f8d1e(0x577)][_0x4f8d1e(0x2ed)]=this[_0x4f8d1e(0x577)][_0x4f8d1e(0x4cb)]-this['_telemetryInfo']['startTime'],this[_0x4f8d1e(0x2a6)]['capture'](_0x59eaff,this[_0x4f8d1e(0x577)]),this[_0x4f8d1e(0x577)]=null;}}[_0x51d41b(0x1ec)](){this['_telemetryInfo']=null;}},_0x59ce0d[_0x51d41b(0x459)]=_0x259696([_0x498f7d(0x2,_0x36d396[_0x51d41b(0x495)]),_0x498f7d(0x3,_0x455671[_0x51d41b(0x4bd)]),_0x498f7d(0x4,_0x455671[_0x51d41b(0x1c1)]),_0x498f7d(0x5,_0x36d396[_0x51d41b(0x511)]),_0x498f7d(0x6,_0x36d396[_0x51d41b(0x2ae)](_0x36d396['LocaleService'])),_0x498f7d(0x7,_0x36d396[_0x51d41b(0x2ae)](_0x2e1387)),_0x498f7d(0x8,_0x36d396[_0x51d41b(0x2ae)](_0x186531)),_0x498f7d(0x9,_0x36d396[_0x51d41b(0x43f)](_0x41d467[_0x51d41b(0x4db)]))],_0x59ce0d[_0x51d41b(0x459)]);var _0x2672c7=Object[_0x51d41b(0x215)],_0x419071=Object['getOwnPropertyDescriptor'],_0x47a4b6=(_0x4bc559,_0x2f2504,_0x39d589,_0x333032)=>{const _0x456355=_0x51d41b;for(var _0x5684fa=_0x333032>0x1?void 0x0:_0x333032?_0x419071(_0x2f2504,_0x39d589):_0x2f2504,_0x141847=_0x4bc559[_0x456355(0x392)]-0x1,_0x7d45cd;_0x141847>=0x0;_0x141847--)(_0x7d45cd=_0x4bc559[_0x141847])&&(_0x5684fa=(_0x333032?_0x7d45cd(_0x2f2504,_0x39d589,_0x5684fa):_0x7d45cd(_0x5684fa))||_0x5684fa);return _0x333032&&_0x5684fa&&_0x2672c7(_0x2f2504,_0x39d589,_0x5684fa),_0x5684fa;},_0x45a621=(_0x58b721,_0x1c1b95)=>(_0x4091e2,_0x52e84c)=>_0x1c1b95(_0x4091e2,_0x52e84c,_0x58b721);_0x59ce0d[_0x51d41b(0x285)]=class extends _0x36d396[_0x51d41b(0x4f0)]{constructor(_0x5dc1cb,_0x5b5a0e,_0x281407,_0x167cab,_0x38c9f2,_0x28be68){const _0x53c4a2=_0x51d41b;super(),_0x55fd67(this,'_socket$',new _0x22cf47['BehaviorSubject'](void 0x0)),_0x55fd67(this,'socket$',this['_socket$']['asObservable']()),_0x55fd67(this,_0x53c4a2(0x3c2),new Map()),_0x55fd67(this,_0x53c4a2(0x378),new _0x22cf47[(_0x53c4a2(0x482))](_0x4c781c[_0x53c4a2(0x3be)])),_0x55fd67(this,'status$',this[_0x53c4a2(0x378)][_0x53c4a2(0x544)]()),_0x55fd67(this,'_socketReady',!0x1),_0x55fd67(this,_0x53c4a2(0x2ef)),_0x55fd67(this,_0x53c4a2(0x2f7),0x0),_0x55fd67(this,'_sendHeartbeatTimer'),_0x55fd67(this,'_timeoutTimer'),(this[_0x53c4a2(0x2b0)]=_0x5dc1cb,this[_0x53c4a2(0x31f)]=_0x5b5a0e,this['_messageService']=_0x281407,this[_0x53c4a2(0x545)]=_0x167cab,this['_configService']=_0x38c9f2,this[_0x53c4a2(0x312)]=_0x28be68);}get[_0x51d41b(0x590)](){const _0x132cb1=_0x51d41b;return this[_0x132cb1(0x3ab)][_0x132cb1(0x2b1)]();}[_0x51d41b(0x3cd)](){const _0x32d33b=_0x51d41b;super[_0x32d33b(0x3cd)](),this[_0x32d33b(0x3c2)][_0x32d33b(0x1a9)](_0xf9ddf2=>_0xf9ddf2[_0x32d33b(0x3cd)]()),this[_0x32d33b(0x3c2)]['clear'](),this[_0x32d33b(0x378)][_0x32d33b(0x22a)]();}async['requireSession'](_0x7f47d7){const _0x3c436b=_0x51d41b;if(this[_0x3c436b(0x3c2)]['has'](_0x7f47d7))return this[_0x3c436b(0x3c2)][_0x3c436b(0x58c)](_0x7f47d7);this[_0x3c436b(0x1bc)]();const _0x24c4af=this[_0x3c436b(0x2b0)][_0x3c436b(0x2e7)](_0x59ce0d[_0x3c436b(0x459)],_0x7f47d7,this['_socket$'][_0x3c436b(0x544)]());return this[_0x3c436b(0x3c2)]['set'](_0x7f47d7,_0x24c4af),_0x24c4af;}[_0x51d41b(0x1e8)](_0x58bf92){const _0x5d8363=_0x51d41b;var _0x35704d;const _0x350528=this[_0x5d8363(0x3c2)][_0x5d8363(0x58c)](_0x58bf92);_0x350528&&(this[_0x5d8363(0x3c2)][_0x5d8363(0x560)](_0x58bf92),_0x350528[_0x5d8363(0x47c)]()),this['_sessions'][_0x5d8363(0x32c)]||(_0x35704d=this['_socket'])==null||_0x35704d['close']();}[_0x51d41b(0x1df)](){const _0x4e22ae=_0x51d41b;this[_0x4e22ae(0x2f7)]=0x0,this[_0x4e22ae(0x2ef)]!=null&&(clearTimeout(this[_0x4e22ae(0x2ef)]),this[_0x4e22ae(0x2ef)]=null),this[_0x4e22ae(0x1ba)]();}[_0x51d41b(0x290)](){const _0x2cf996=_0x51d41b;var _0x640322;const _0x213d60=(_0x640322=this[_0x2cf996(0x448)][_0x2cf996(0x1a6)](_0x53dc60))!=null?_0x640322:_0xe402b;return this[_0x2cf996(0x312)][_0x2cf996(0x1e1)](_0x213d60);}[_0x51d41b(0x1bc)](){const _0x5f4029=_0x51d41b;try{const _0xdd4814=this[_0x5f4029(0x290)]();if(_0xdd4814){const _0x289e18=_0xdd4814['send'];_0xdd4814[_0x5f4029(0x4a2)]=_0x2f866f=>(this[_0x5f4029(0x45f)](),_0x289e18[_0x5f4029(0x476)](_0xdd4814,[_0x2f866f])),_0xdd4814[_0x5f4029(0x368)][_0x5f4029(0x200)](_0x4c592f=>this['_onMessage'](_0xdd4814,_0x4c592f)),_0xdd4814['error$'][_0x5f4029(0x257)](_0x547088[_0x5f4029(0x4fb)](0x1))[_0x5f4029(0x200)](_0x1d2651=>this[_0x5f4029(0x545)]['error'](_0x5f4029(0x526),_0x1d2651)),_0xdd4814[_0x5f4029(0x509)]['pipe'](_0x547088['take'](0x1))['subscribe'](()=>{const _0x1368e6=_0x5f4029;this[_0x1368e6(0x4a4)](_0xdd4814);}),_0xdd4814['close$']['pipe'](_0x547088[_0x5f4029(0x4fb)](0x1))[_0x5f4029(0x200)](_0x39c8b1=>{const _0x5f2f25=_0x5f4029;this[_0x5f2f25(0x545)][_0x5f2f25(0x45b)](_0x5f2f25(0x440),'socket\x20close',_0x39c8b1),this[_0x5f2f25(0x465)]();});}}catch(_0x542181){this[_0x5f4029(0x545)][_0x5f4029(0x405)](_0x542181),this[_0x5f4029(0x465)]();}}[_0x51d41b(0x4a4)](_0x2b490a){const _0x3923c3=_0x51d41b;this[_0x3923c3(0x545)][_0x3923c3(0x45b)]('[CollaborationSessionService]','socket\x20open.'),_0x2b490a['send']({'cmd':_0x16a3a1['HELLO']}),this[_0x3923c3(0x45f)](),this[_0x3923c3(0x32d)]();}['_listenToOfflineEvent'](){const _0x220145=_0x51d41b,_0x6715af=()=>{const _0x36b329=_0x4682;this[_0x36b329(0x431)](),this[_0x36b329(0x539)](),window[_0x36b329(0x19a)](_0x36b329(0x1b9),_0x6715af);};window[_0x220145(0x42f)](_0x220145(0x1b9),_0x6715af);}[_0x51d41b(0x431)](){const _0x2b4cec=_0x51d41b;this[_0x2b4cec(0x1e0)]=!0x1,this[_0x2b4cec(0x378)][_0x2b4cec(0x1d6)](_0x4c781c['OFFLINE']),this[_0x2b4cec(0x3ab)]['next'](null),this[_0x2b4cec(0x4c7)](),this[_0x2b4cec(0x3f3)]();}['_onConnectionFailed'](){const _0x517d98=_0x51d41b;var _0x32821a;this['_onOffline'](),this[_0x517d98(0x2f7)]<((_0x32821a=this['_configService'][_0x517d98(0x1a6)](_0xdebb3a))!=null?_0x32821a:0x3)?(this['_messageService'][_0x517d98(0x3c3)]({'key':_0x517d98(0x281),'type':_0x53e1d0['MessageType'][_0x517d98(0x42c)],'content':this[_0x517d98(0x31f)]['t'](_0x517d98(0x19c))}),this['_tryReconnect']()):(this[_0x517d98(0x2a7)][_0x517d98(0x3c3)]({'key':'collaboration-session-retry','type':_0x53e1d0[_0x517d98(0x31b)][_0x517d98(0x372)],'content':this[_0x517d98(0x31f)]['t'](_0x517d98(0x455))}),this['_listenToOnlineEvent']());}[_0x51d41b(0x539)](){const _0x129b7f=_0x51d41b,_0x3575a0=()=>{const _0x478806=_0x4682;this['reconnect'](),window[_0x478806(0x19a)](_0x478806(0x2b8),_0x3575a0);};window['addEventListener'](_0x129b7f(0x2b8),_0x3575a0),this[_0x129b7f(0x3ab)][_0x129b7f(0x257)](_0x547088['filter'](_0x2832a1=>!!_0x2832a1),_0x547088[_0x129b7f(0x4fb)](0x1))[_0x129b7f(0x200)](()=>{const _0x5a3808=_0x129b7f;window[_0x5a3808(0x19a)]('online',_0x3575a0);});}[_0x51d41b(0x1ba)](){const _0x3d49ba=_0x51d41b;var _0x2dd649;const _0x42290b=this[_0x3d49ba(0x2f7)],_0xfa3055=_0x42290b===0x0?0x0:((_0x2dd649=this[_0x3d49ba(0x448)][_0x3d49ba(0x1a6)](_0x2353ba))!=null?_0x2dd649:0x4e20)*0x2**_0x42290b;this[_0x3d49ba(0x2ef)]=window['setTimeout'](()=>{const _0x44a906=_0x3d49ba;clearTimeout(this[_0x44a906(0x2ef)]),this[_0x44a906(0x2ef)]=null,this[_0x44a906(0x1bc)]();},_0xfa3055),this[_0x3d49ba(0x2f7)]+=0x1;}[_0x51d41b(0x389)](_0x38b56a,_0xe3369c){const _0x120c1c=_0x51d41b,{cmd:_0x3a5cae}=_0xe3369c;_0x3a5cae===_0x16a3a1[_0x120c1c(0x420)]&&!this[_0x120c1c(0x1e0)]&&(_0x38b56a[_0x120c1c(0x264)]=_0xe3369c[_0x120c1c(0x34f)][_0x120c1c(0x264)],this[_0x120c1c(0x3ab)][_0x120c1c(0x1d6)](_0x38b56a),this['_status$']['next'](_0x4c781c[_0x120c1c(0x2b3)]),this[_0x120c1c(0x1e0)]=!0x0),_0x3a5cae===_0x16a3a1[_0x120c1c(0x237)]&&this['_clearTimeoutTimer'](),this[_0x120c1c(0x45f)]();}['_rescheduleHeartbeat'](){const _0x202748=_0x51d41b;var _0x2b91cb;this[_0x202748(0x3f3)](),this['_sendHeartbeatTimer']=window[_0x202748(0x1a2)](()=>this[_0x202748(0x227)](),(_0x2b91cb=this[_0x202748(0x448)][_0x202748(0x1a6)](_0x14d59a))!=null?_0x2b91cb:0x7530);}['_sendHeartbeat'](){const _0x1fc553=_0x51d41b;this[_0x1fc553(0x590)]['send']({'cmd':_0x16a3a1[_0x1fc553(0x237)]}),this[_0x1fc553(0x29d)]();}[_0x51d41b(0x29d)](){const _0x57f726=_0x51d41b;var _0x2c5a1a;this['_timeoutTimer']=window[_0x57f726(0x1a2)](()=>this['_onConnectionFailed'](),(_0x2c5a1a=this[_0x57f726(0x448)]['getConfig'](_0x1734e8))!=null?_0x2c5a1a:0x2710);}[_0x51d41b(0x3f3)](){const _0x1f9f5f=_0x51d41b;this[_0x1f9f5f(0x2e0)]!=null&&(clearTimeout(this[_0x1f9f5f(0x2e0)]),this['_sendHeartbeatTimer']=null);}[_0x51d41b(0x4c7)](){const _0x149c48=_0x51d41b;this[_0x149c48(0x29b)]!=null&&(clearTimeout(this[_0x149c48(0x29b)]),this['_timeoutTimer']=null);}},_0x59ce0d[_0x51d41b(0x285)]=_0x47a4b6([_0x45a621(0x0,_0x36d396[_0x51d41b(0x2ae)](_0x36d396[_0x51d41b(0x268)])),_0x45a621(0x1,_0x36d396[_0x51d41b(0x2ae)](_0x36d396[_0x51d41b(0x22d)])),_0x45a621(0x2,_0x455671[_0x51d41b(0x1c1)]),_0x45a621(0x3,_0x36d396[_0x51d41b(0x495)]),_0x45a621(0x4,_0x36d396[_0x51d41b(0x511)]),_0x45a621(0x5,_0xe35b0b)],_0x59ce0d[_0x51d41b(0x285)]);var _0x3af560=Object[_0x51d41b(0x215)],_0x1b692d=Object['getOwnPropertyDescriptor'],_0x4b6519=(_0x380ccb,_0x5057ce,_0x372d7e,_0x849dc4)=>{for(var _0xa54565=_0x849dc4>0x1?void 0x0:_0x849dc4?_0x1b692d(_0x5057ce,_0x372d7e):_0x5057ce,_0x5c3e01=_0x380ccb['length']-0x1,_0xbd8d88;_0x5c3e01>=0x0;_0x5c3e01--)(_0xbd8d88=_0x380ccb[_0x5c3e01])&&(_0xa54565=(_0x849dc4?_0xbd8d88(_0x5057ce,_0x372d7e,_0xa54565):_0xbd8d88(_0xa54565))||_0xa54565);return _0x849dc4&&_0xa54565&&_0x3af560(_0x5057ce,_0x372d7e,_0xa54565),_0xa54565;},_0x2a1179=(_0x3b13b0,_0x4f8845)=>(_0x323525,_0x39f9d5)=>_0x4f8845(_0x323525,_0x39f9d5,_0x3b13b0);let _0x3106a2=class{constructor(_0x664f0d,_0x77e894){const _0xec14e2=_0x51d41b;this[_0xec14e2(0x2b0)]=_0x664f0d,this[_0xec14e2(0x376)]=_0x77e894;}[_0x51d41b(0x43e)](_0x318881){const _0x28e7f1=_0x51d41b;this[_0x28e7f1(0x340)](_0x318881),this[_0x28e7f1(0x210)](_0x318881);}['transformRemoteChangeset'](_0x51e547){const _0x58c23d=_0x51d41b,_0x5cfb72=this[_0x58c23d(0x2b0)][_0x58c23d(0x58c)](_0x569fac[_0x58c23d(0x365)]),{redoCache:_0x144b56}=_0x5cfb72['getUndoRedoMutationParamsCache']();if(_0x144b56[_0x58c23d(0x392)]===0x0)return _0x51e547;let _0x47aabb=_0x36d396[_0x58c23d(0x20e)][_0x58c23d(0x2de)](_0x51e547[_0x58c23d(0x533)][0x0]);for(let _0x4d0122=0x0;_0x4d0122<_0x144b56[_0x58c23d(0x392)];_0x4d0122++){const _0x4ab33a={'id':'doc.mutation.rich-text-editing','params':{..._0x144b56[_0x4d0122]}},_0x77f898=this[_0x58c23d(0x376)][_0x58c23d(0x3e9)](_0x47aabb,_0x4ab33a,!0x1);if(_0x346629[_0x58c23d(0x3ec)](_0x77f898))throw _0x77f898[_0x58c23d(0x405)];_0x47aabb=_0x77f898[_0x58c23d(0x503)];}return{..._0x36d396[_0x58c23d(0x20e)][_0x58c23d(0x2de)](_0x51e547),'mutations':[_0x47aabb]};}[_0x51d41b(0x340)](_0x439dd0){const _0x42edb5=_0x51d41b,_0x1a3162=this[_0x42edb5(0x2b0)][_0x42edb5(0x58c)](_0x569fac[_0x42edb5(0x365)]),{undoCache:_0x23beaa,redoCache:_0x479ab9}=_0x1a3162[_0x42edb5(0x4b3)]();if(_0x23beaa[_0x42edb5(0x392)]===0x0||_0x479ab9['length']===0x0)return;const _0x2a2d9b=[],_0x4cc4af=[];let _0x23f59a=_0x36d396['Tools'][_0x42edb5(0x2de)](_0x439dd0[_0x42edb5(0x533)][0x0]),_0x5d4f50=_0x36d396['Tools'][_0x42edb5(0x2de)](_0x439dd0[_0x42edb5(0x533)][0x0]);for(let _0x12163c=_0x23beaa['length']-0x1;_0x12163c>=0x0;_0x12163c--){const _0x54a4dc={'id':_0x42edb5(0x24e),'params':{..._0x23beaa[_0x12163c]}},_0x4a1831={'id':'doc.mutation.rich-text-editing','params':{..._0x479ab9[_0x12163c]}},_0x1b46f9=this[_0x42edb5(0x376)]['transformMutation'](_0x23f59a,_0x54a4dc,!0x1),_0x295d5a=this[_0x42edb5(0x376)][_0x42edb5(0x3e9)](_0x5d4f50,_0x4a1831,!0x1);if(_0x346629['isTransformMutationFailure'](_0x1b46f9))throw _0x1b46f9[_0x42edb5(0x405)];if(_0x346629['isTransformMutationFailure'](_0x295d5a))throw _0x295d5a[_0x42edb5(0x405)];_0x2a2d9b[_0x42edb5(0x584)](_0x1b46f9[_0x42edb5(0x4b5)][_0x42edb5(0x1c3)]),_0x4cc4af[_0x42edb5(0x584)](_0x295d5a[_0x42edb5(0x4b5)][_0x42edb5(0x1c3)]),_0x23f59a=_0x1b46f9['m1Prime'],_0x5d4f50=_0x295d5a[_0x42edb5(0x503)];}_0x1a3162['setUndoRedoMutationParamsCache']({'undoCache':_0x2a2d9b,'redoCache':_0x4cc4af});}[_0x51d41b(0x210)](_0x184e24){const _0x267976=_0x51d41b,_0x4a78c4=this[_0x267976(0x2b0)][_0x267976(0x58c)](_0x569fac['IMEInputManagerService']),_0x19e7e7=_0x4a78c4[_0x267976(0x3f0)]();if(_0x19e7e7==null)return;const _0x52a3cb=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x184e24[_0x267976(0x35f)],'actions':null,'textRanges':[_0x19e7e7]}}],_0x156415=this['_transformService'][_0x267976(0x26e)](_0x184e24,_0x52a3cb);if(!_0x346629['isTransformMutationsWithChangesetSuccess'](_0x156415))throw _0x156415[_0x267976(0x405)];const _0x383f38=_0x156415[_0x267976(0x4b5)][0x0]['params']['textRanges'];Array[_0x267976(0x223)](_0x383f38)&&_0x383f38[_0x267976(0x392)]&&_0x4a78c4['setActiveRange'](_0x383f38[0x0]);}};_0x3106a2=_0x4b6519([_0x2a1179(0x0,_0x36d396['Inject'](_0x36d396[_0x51d41b(0x268)])),_0x2a1179(0x1,_0x346629[_0x51d41b(0x213)])],_0x3106a2);var _0x1945eb=Object[_0x51d41b(0x215)],_0xa5de18=Object[_0x51d41b(0x2b7)],_0x4b8388=(_0x4fc363,_0x548409,_0x222f03,_0x3aa53c)=>{const _0x3efb18=_0x51d41b;for(var _0x29224e=_0x3aa53c>0x1?void 0x0:_0x3aa53c?_0xa5de18(_0x548409,_0x222f03):_0x548409,_0x2ec157=_0x4fc363[_0x3efb18(0x392)]-0x1,_0x292884;_0x2ec157>=0x0;_0x2ec157--)(_0x292884=_0x4fc363[_0x2ec157])&&(_0x29224e=(_0x3aa53c?_0x292884(_0x548409,_0x222f03,_0x29224e):_0x292884(_0x29224e))||_0x29224e);return _0x3aa53c&&_0x29224e&&_0x1945eb(_0x548409,_0x222f03,_0x29224e),_0x29224e;},_0x3c8259=(_0x5410f2,_0x120b86)=>(_0x24618e,_0x1f8753)=>_0x120b86(_0x24618e,_0x1f8753,_0x5410f2);_0x59ce0d[_0x51d41b(0x434)]=class extends _0x36d396[_0x51d41b(0x4f0)]{constructor(_0x110341,_0x41e893,_0x4ef6d9,_0x15a623,_0x3eaa10){const _0x42f784=_0x51d41b;super(),_0x55fd67(this,_0x42f784(0x236),new Map()),_0x55fd67(this,_0x42f784(0x1de),new Map()),_0x55fd67(this,_0x42f784(0x4f9),!0x1),(this[_0x42f784(0x448)]=_0x110341,this[_0x42f784(0x330)]=_0x41e893,this[_0x42f784(0x524)]=_0x4ef6d9,this[_0x42f784(0x31f)]=_0x15a623,this[_0x42f784(0x2c4)]=_0x3eaa10,this['_setupBeforeClosingHandler']());}[_0x51d41b(0x1a0)](){const _0x1bb67a=_0x51d41b;this[_0x1bb67a(0x4f9)]=!0x0;}[_0x51d41b(0x4a8)](){const _0x32042b=_0x51d41b;this[_0x32042b(0x4f9)]=!0x1;}[_0x51d41b(0x3cd)](){const _0x2981c0=_0x51d41b;this[_0x2981c0(0x492)]()[_0x2981c0(0x59d)](()=>super[_0x2981c0(0x3cd)]());}async['loadOfflineData'](_0x5ad95a){const _0x13ad9e=_0x51d41b;return this[_0x13ad9e(0x4f9)]?null:this[_0x13ad9e(0x330)]['getItem'](_0x5c1bdb(_0x5ad95a));}async[_0x51d41b(0x4cd)](_0x2d08a6,_0x51ab22){const _0x639ddc=_0x51d41b;return!!this['_localStorageService'][_0x639ddc(0x56c)](_0x2d08a6,_0x51ab22);}[_0x51d41b(0x34a)](_0x50d5e2,_0x18001e,_0x8e0455,_0x534dbb){const _0x4aa379=_0x51d41b,_0x2095d2=this[_0x4aa379(0x2c4)][_0x4aa379(0x59e)](_0x50d5e2);this[_0x4aa379(0x236)][_0x4aa379(0x27f)](_0x50d5e2,{'unitID':_0x50d5e2,'type':_0x18001e,'awaitingChangeset':_0x8e0455,'mutations':_0x534dbb,'rev':_0x2095d2}),this[_0x4aa379(0x1de)][_0x4aa379(0x58b)](_0x50d5e2)||this[_0x4aa379(0x4c1)](_0x50d5e2);}[_0x51d41b(0x4c1)](_0x2e4849){const _0x2d9fb6=_0x51d41b,_0xc58274=this[_0x2d9fb6(0x32f)]();_0xc58274===0x0?this[_0x2d9fb6(0x380)](_0x2e4849):this[_0x2d9fb6(0x1de)][_0x2d9fb6(0x27f)](_0x2e4849,setTimeout(()=>this[_0x2d9fb6(0x380)](_0x2e4849),_0xc58274));}[_0x51d41b(0x32f)](){const _0x276cb9=_0x51d41b;var _0x19e580;return(_0x19e580=this[_0x276cb9(0x448)][_0x276cb9(0x1a6)](_0x341945))!=null?_0x19e580:0x3e8;}[_0x51d41b(0x380)](_0x321a4c){const _0x57684f=_0x51d41b,_0x43f5fe=this['_saveTaskMap']['get'](_0x321a4c);return _0x43f5fe!==void 0x0&&window[_0x57684f(0x34c)](_0x43f5fe),this[_0x57684f(0x330)][_0x57684f(0x56c)](_0x5c1bdb(_0x321a4c),this[_0x57684f(0x236)]['get'](_0x321a4c))['then'](()=>this[_0x57684f(0x1de)]['delete'](_0x321a4c));}async[_0x51d41b(0x492)](){const _0x19fd3b=_0x51d41b,_0x1b936d=[];this[_0x19fd3b(0x1de)][_0x19fd3b(0x1a9)]((_0x48b20e,_0x2e49b5)=>{const _0x3c4e32=_0x19fd3b;window[_0x3c4e32(0x34c)](_0x48b20e),_0x1b936d[_0x3c4e32(0x3cf)](this[_0x3c4e32(0x380)](_0x2e49b5)[_0x3c4e32(0x59d)](()=>{this['_saveTaskMap']['delete'](_0x2e49b5);}));}),await Promise[_0x19fd3b(0x48f)](_0x1b936d);}['_setupBeforeClosingHandler'](){const _0x13ca86=_0x51d41b;this['disposeWithMe'](this[_0x13ca86(0x524)]['registerBeforeClose'](()=>{const _0x3a9f5a=_0x13ca86;if(this[_0x3a9f5a(0x1de)]['size'])return this[_0x3a9f5a(0x31f)]['t'](_0x3a9f5a(0x490));}));}},_0x59ce0d[_0x51d41b(0x434)]=_0x4b8388([_0x3c8259(0x0,_0x36d396[_0x51d41b(0x511)]),_0x3c8259(0x1,_0x36d396['ILocalStorageService']),_0x3c8259(0x2,_0x455671[_0x51d41b(0x4bd)]),_0x3c8259(0x3,_0x36d396[_0x51d41b(0x2ae)](_0x36d396['LocaleService'])),_0x3c8259(0x4,_0x36d396[_0x51d41b(0x2ae)](_0x346629[_0x51d41b(0x527)]))],_0x59ce0d[_0x51d41b(0x434)]);function _0x5c1bdb(_0x234d03){return'unit-cache-'+_0x234d03;}var _0x2dd8e9=Object[_0x51d41b(0x215)],_0x2526c7=Object[_0x51d41b(0x2b7)],_0xcfd0d3=(_0xec5731,_0x1fcf22,_0x16d698,_0x2c1bc2)=>{for(var _0x969719=_0x2c1bc2>0x1?void 0x0:_0x2c1bc2?_0x2526c7(_0x1fcf22,_0x16d698):_0x1fcf22,_0x148cf9=_0xec5731['length']-0x1,_0x45e405;_0x148cf9>=0x0;_0x148cf9--)(_0x45e405=_0xec5731[_0x148cf9])&&(_0x969719=(_0x2c1bc2?_0x45e405(_0x1fcf22,_0x16d698,_0x969719):_0x45e405(_0x969719))||_0x969719);return _0x2c1bc2&&_0x969719&&_0x2dd8e9(_0x1fcf22,_0x16d698,_0x969719),_0x969719;},_0x3b269e=(_0x45b102,_0x5c9b6a)=>(_0x2bbce6,_0x489f4e)=>_0x5c9b6a(_0x2bbce6,_0x489f4e,_0x45b102);function _0x39184d(_0x2f0865){const _0x9f60df=_0x51d41b,{unitID:_0x1150b4,mutations:_0x2db6c6}=_0x2f0865;return{'unitId':_0x1150b4,'subUnitId':_0x2db6c6[0x0][_0x9f60df(0x1c3)][_0x9f60df(0x367)]};}let _0x57d656=class{constructor(_0x1958e3,_0x3a22cc,_0x413eb2){const _0x36b007=_0x51d41b;this['_injector']=_0x1958e3,this[_0x36b007(0x376)]=_0x3a22cc,this[_0x36b007(0x207)]=_0x413eb2;}['transformSelections'](_0x2d69f9){const _0xe01e2b=_0x51d41b;var _0xe4648,_0x3daea6,_0xcdc06b,_0x187095,_0x5e0317;const _0x29e00f=this[_0xe01e2b(0x2b0)][_0xe01e2b(0x58c)](_0xdbe912[_0xe01e2b(0x5ac)]),{unitId:_0x1b33b9,subUnitId:_0x25d086}=_0x39184d(_0x2d69f9),_0x3b13cf=_0x29e00f[_0xe01e2b(0x4de)](_0x1b33b9)[_0xe01e2b(0x462)](),_0x10af9f=(_0x3daea6=(_0xe4648=this[_0xe01e2b(0x207)][_0xe01e2b(0x48e)](_0x1b33b9))==null?void 0x0:_0xe4648[_0xe01e2b(0x25a)]())==null?void 0x0:_0x3daea6['getSheetId']();if(_0x3b13cf['length']===0x0||!_0x1b33b9||!_0x25d086)return;const _0x348ef7=[{'id':_0xdbe912[_0xe01e2b(0x39e)]['id'],'params':{'unitId':_0x1b33b9,'subUnitId':_0x10af9f,'selections':_0x36d396[_0xe01e2b(0x20e)][_0xe01e2b(0x2de)](_0x3b13cf)}}],_0x5ac282=this['_transformService'][_0xe01e2b(0x26e)](_0x2d69f9,_0x348ef7);if(!_0x346629[_0xe01e2b(0x33d)](_0x5ac282))throw _0x5ac282[_0xe01e2b(0x405)];const _0x19de87=(_0x5e0317=(_0x187095=(_0xcdc06b=_0x5ac282['m2Prime'][0x0])==null?void 0x0:_0xcdc06b[_0xe01e2b(0x1c3)])==null?void 0x0:_0x187095[_0xe01e2b(0x216)])!=null?_0x5e0317:_0x3b13cf;Array[_0xe01e2b(0x223)](_0x19de87)&&_0x19de87['length']&&this['_injector'][_0xe01e2b(0x58c)](_0x36d396[_0xe01e2b(0x1d5)])[_0xe01e2b(0x4d0)](_0xdbe912['SetSelectionsOperation']['id'],{'unitId':_0x1b33b9,'subUnitId':_0x25d086,'selections':_0x19de87});}};_0x57d656=_0xcfd0d3([_0x3b269e(0x0,_0x36d396[_0x51d41b(0x2ae)](_0x36d396['Injector'])),_0x3b269e(0x1,_0x346629[_0x51d41b(0x213)]),_0x3b269e(0x2,_0x36d396[_0x51d41b(0x2c5)])],_0x57d656);const _0x33f55f=_0x36d396[_0x51d41b(0x494)](_0x51d41b(0x5a3));var _0x47a42c=(_0x9b1824=>(_0x9b1824[_0x9b1824[_0x51d41b(0x4da)]=0x0]=_0x51d41b(0x4da),_0x9b1824[_0x9b1824['OTHER_CLIENTS_EDITING']=0x1]=_0x51d41b(0x3e8),_0x9b1824))(_0x47a42c||{});const _0x4db7ff=0x7530,_0x216a63=_0x51d41b(0x282);class _0x5cacbb extends _0x36d396[_0x51d41b(0x4f0)]{constructor(){const _0x3b90d7=_0x51d41b;super(),_0x55fd67(this,_0x3b90d7(0x3e1),_0x36d396[_0x3b90d7(0x20e)][_0x3b90d7(0x1e3)]()),_0x55fd67(this,_0x3b90d7(0x1fc),new Set()),_0x55fd67(this,_0x3b90d7(0x415),new Map()),_0x55fd67(this,_0x3b90d7(0x30b),null),_0x55fd67(this,'_clearOtherTimers',new Map()),_0x55fd67(this,_0x3b90d7(0x1b0),new Map()),this[_0x3b90d7(0x571)]();}[_0x51d41b(0x3cd)](){const _0x1613de=_0x51d41b;super[_0x1613de(0x3cd)](),this[_0x1613de(0x4d4)][_0x1613de(0x1a9)]((_0x3af277,_0x4d4538)=>this[_0x1613de(0x585)](_0x4d4538)),this[_0x1613de(0x30b)]&&window[_0x1613de(0x1cd)](this['_heartbeatTimer']);}[_0x51d41b(0x25c)](_0x5a4679){const _0x3151fc=_0x51d41b;return this[_0x3151fc(0x558)](_0x5a4679)[_0x3151fc(0x257)](_0x22cf47[_0x3151fc(0x388)]());}[_0x51d41b(0x416)](_0x1d2103){const _0x568fb8=_0x51d41b;this['_selfUnitIDs'][_0x568fb8(0x32c)]===0x0&&this[_0x568fb8(0x2f1)](),this[_0x568fb8(0x1fc)]['add'](_0x1d2103),this[_0x568fb8(0x44e)]({'type':0x0,'memberID':this[_0x568fb8(0x3e1)],'unitIDs':[_0x1d2103],'isForwarded':!0x1});}[_0x51d41b(0x56d)](_0x1b4dc5){const _0x2d43eb=_0x51d41b;this[_0x2d43eb(0x1fc)][_0x2d43eb(0x560)](_0x1b4dc5),this[_0x2d43eb(0x1fc)][_0x2d43eb(0x32c)]===0x0&&this['_heartbeatTimer']&&window[_0x2d43eb(0x1cd)](this[_0x2d43eb(0x30b)]);}[_0x51d41b(0x571)](){const _0x5d1676=_0x51d41b;this['disposeWithMe'](_0x36d396[_0x5d1676(0x1d9)](_0x22cf47[_0x5d1676(0x2ea)](window,'storage')['subscribe'](_0x200e4e=>{const _0x560d56=_0x5d1676;if(_0x200e4e['key']!==_0x216a63||!_0x200e4e['newValue'])return;const _0x512945=JSON[_0x560d56(0x1ff)](_0x200e4e[_0x560d56(0x2c1)]);this[_0x560d56(0x2c7)](_0x512945);}))),window['addEventListener']('unload',()=>this[_0x5d1676(0x44e)]({'type':0x1,'memberID':this[_0x5d1676(0x3e1)],'unitIDs':Array[_0x5d1676(0x58d)](this['_selfUnitIDs'])}));}[_0x51d41b(0x2c7)](_0x470756){const _0x1cd1a3=_0x51d41b;switch(_0x470756[_0x1cd1a3(0x2cb)]){case 0x0:this[_0x1cd1a3(0x2ab)](_0x470756);break;case 0x1:this['_handleLeaveEvent'](_0x470756);break;case 0x2:this[_0x1cd1a3(0x1a1)](_0x470756);break;}}['_handleJoinEvent'](_0x244bd5){const _0x44edbc=_0x51d41b,{unitIDs:_0x1245bb,memberID:_0x554d09,isForwarded:_0x3c59d7}=_0x244bd5;_0x1245bb['forEach'](_0x4c67a7=>{const _0x4d15e6=_0x4682;if(!_0x3c59d7&&this[_0x4d15e6(0x415)][_0x4d15e6(0x58b)](_0x4c67a7)&&this['_ensureSubject'](_0x4c67a7)[_0x4d15e6(0x1d6)](0x1),!this[_0x4d15e6(0x415)][_0x4d15e6(0x58b)](_0x4c67a7)||!this[_0x4d15e6(0x415)]['get'](_0x4c67a7)[_0x4d15e6(0x58b)](_0x554d09)){const _0x2a3705=this[_0x4d15e6(0x415)]['get'](_0x4c67a7)||new Set();_0x2a3705[_0x4d15e6(0x5a2)](_0x554d09),this['_unitOnClients'][_0x4d15e6(0x27f)](_0x4c67a7,_0x2a3705),this[_0x4d15e6(0x377)](_0x554d09);}}),_0x3c59d7||this[_0x44edbc(0x44e)]({'type':0x0,'memberID':this[_0x44edbc(0x3e1)],'unitIDs':[...this[_0x44edbc(0x1fc)]],'isForwarded':!0x0});}[_0x51d41b(0x377)](_0x1ca2dc){const _0x2af55e=_0x51d41b;this[_0x2af55e(0x585)](_0x1ca2dc);const _0x51b9c9=window[_0x2af55e(0x1a2)](()=>{const _0x4eab9e=_0x2af55e;this[_0x4eab9e(0x415)]['forEach'](_0x4a62e6=>{_0x4a62e6['delete'](_0x1ca2dc);});},_0x4db7ff*0x2);this[_0x2af55e(0x4d4)][_0x2af55e(0x27f)](_0x1ca2dc,_0x51b9c9);}[_0x51d41b(0x585)](_0x3631ab){const _0x4f8ea8=_0x51d41b;if(this[_0x4f8ea8(0x4d4)][_0x4f8ea8(0x58b)](_0x3631ab)){const _0x35aef0=this[_0x4f8ea8(0x4d4)][_0x4f8ea8(0x58c)](_0x3631ab);_0x35aef0&&window['clearTimeout'](_0x35aef0),this['_clearOtherTimers'][_0x4f8ea8(0x27f)](_0x3631ab,null);}}['_handleLeaveEvent'](_0x3cef80){const {memberID:_0x4c7ca6,unitIDs:_0x77aff8}=_0x3cef80;_0x77aff8['forEach'](_0x43ad13=>{const _0x30690=_0x4682;var _0x4005c1;const _0x14d5f6=this['_unitOnClients'][_0x30690(0x58c)](_0x43ad13);_0x14d5f6&&(_0x14d5f6[_0x30690(0x560)](_0x4c7ca6),(_0x4005c1=this[_0x30690(0x558)](_0x43ad13))==null||_0x4005c1[_0x30690(0x1d6)](_0x14d5f6[_0x30690(0x32c)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x4c7ca6);}[_0x51d41b(0x1a1)](_0x7e345){const _0x4a7bab=_0x51d41b;this[_0x4a7bab(0x377)](_0x7e345[_0x4a7bab(0x264)]);}[_0x51d41b(0x44e)](_0x3f0629){const _0x3cb80a=_0x51d41b;localStorage[_0x3cb80a(0x56c)](_0x216a63,JSON['stringify'](_0x3f0629));}[_0x51d41b(0x2f1)](){const _0xe1032e=_0x51d41b;this[_0xe1032e(0x30b)]=window[_0xe1032e(0x500)](()=>{const _0x41116a=_0xe1032e;this[_0x41116a(0x44e)]({'type':0x2,'memberID':this[_0x41116a(0x3e1)]});},_0x4db7ff);}[_0x51d41b(0x558)](_0x387ffa){const _0xc1485d=_0x51d41b;return this[_0xc1485d(0x1b0)][_0xc1485d(0x58b)](_0x387ffa)||this[_0xc1485d(0x1b0)]['set'](_0x387ffa,new _0x22cf47[(_0xc1485d(0x482))](0x0)),this[_0xc1485d(0x1b0)][_0xc1485d(0x58c)](_0x387ffa);}}function _0x31462b(_0x35c2df){let _0x47fcfa='';for(const _0x5d3b2d of _0x35c2df){const {startOffset:_0x10eb1e,endOffset:_0x2f8c9f,isActive:_0x1b367f}=_0x5d3b2d;_0x47fcfa['length']&&(_0x47fcfa+=','),_0x47fcfa+=_0x10eb1e+':'+_0x2f8c9f+':'+(_0x1b367f?'1':'0');}return _0x47fcfa;}function _0x302630(_0x28d564){const _0x5f1b97=_0x51d41b,_0x2515c6=_0x28d564[_0x5f1b97(0x357)](','),_0x20d60c=[];for(const _0x4a478c of _0x2515c6){const [_0x2526d0,_0x4c6a95,_0x2806a]=_0x4a478c[_0x5f1b97(0x357)](':');_0x20d60c['push']({'startOffset':Number(_0x2526d0),'endOffset':Number(_0x4c6a95),'collapsed':_0x2526d0===_0x4c6a95,'isActive':_0x2806a==='1'});}return _0x20d60c[_0x5f1b97(0x24c)](_0x2c4966=>_0x2c4966['isActive'])||(_0x20d60c[0x0][_0x5f1b97(0x467)]=!0x0),_0x20d60c;}class _0xb807fa extends _0x36d396[_0x51d41b(0x480)]{constructor(){const _0x5e91fb=_0x51d41b;super(...arguments),_0x55fd67(this,_0x5e91fb(0x1a4),new _0x22cf47[(_0x5e91fb(0x482))](null)),_0x55fd67(this,_0x5e91fb(0x40b),this[_0x5e91fb(0x1a4)]['asObservable']());}[_0x51d41b(0x2f6)](_0xa0b7ae){const _0x24184d=_0x51d41b,{unitID:_0x432b93,memberID:_0x16a7d2,textRanges:_0x242ad8}=_0xa0b7ae,_0x46b3c9=_0x31462b(_0x242ad8),_0x27c07f={'unitID':_0x432b93,'memberID':_0x16a7d2,'selection':_0x46b3c9};this[_0x24184d(0x1a4)]['next'](_0x27c07f);}}var _0x219c6e=Object[_0x51d41b(0x215)],_0xdea96e=Object[_0x51d41b(0x2b7)],_0xaca3f1=(_0x795f10,_0x51d8d0,_0x18cea2,_0x47b19e)=>{const _0x2122be=_0x51d41b;for(var _0x2a68af=_0x47b19e>0x1?void 0x0:_0x47b19e?_0xdea96e(_0x51d8d0,_0x18cea2):_0x51d8d0,_0x355f56=_0x795f10[_0x2122be(0x392)]-0x1,_0x156cc3;_0x355f56>=0x0;_0x355f56--)(_0x156cc3=_0x795f10[_0x355f56])&&(_0x2a68af=(_0x47b19e?_0x156cc3(_0x51d8d0,_0x18cea2,_0x2a68af):_0x156cc3(_0x2a68af))||_0x2a68af);return _0x47b19e&&_0x2a68af&&_0x219c6e(_0x51d8d0,_0x18cea2,_0x2a68af),_0x2a68af;},_0x31d939=(_0xc42fd4,_0x46763d)=>(_0x44f138,_0x13a106)=>_0x46763d(_0x44f138,_0x13a106,_0xc42fd4);let _0xe78d9a=class{constructor(_0xdc75f3,_0x4656d3){this['_injector']=_0xdc75f3,this['_transformService']=_0x4656d3;}[_0x51d41b(0x3dd)](_0x89c904){const _0x40d0d6=_0x51d41b;var _0x1b7d92;const _0x1be3b5=this['_injector']['get'](_0x569fac[_0x40d0d6(0x35c)]),_0x4277b9=(_0x1b7d92=_0x1be3b5[_0x40d0d6(0x4f4)]())!=null?_0x1b7d92:[],_0x225f62=_0x4277b9==null?void 0x0:_0x4277b9['map'](_0x569fac['serializeDocRange']);if(_0x225f62[_0x40d0d6(0x392)]===0x0)return;const _0x2ea31d=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x89c904[_0x40d0d6(0x35f)],'actions':null,'textRanges':_0x225f62}}],_0x3e7190=this['_transformService']['transformMutationsWithChangeset'](_0x89c904,_0x2ea31d);if(!_0x346629['isTransformMutationsWithChangesetSuccess'](_0x3e7190))throw _0x3e7190[_0x40d0d6(0x405)];const _0x22d3b3=_0x3e7190['m2Prime'][0x0][_0x40d0d6(0x1c3)][_0x40d0d6(0x559)];Array[_0x40d0d6(0x223)](_0x22d3b3)&&_0x22d3b3[_0x40d0d6(0x392)]&&_0x1be3b5[_0x40d0d6(0x4f6)](_0x22d3b3,!0x1);}};_0xe78d9a=_0xaca3f1([_0x31d939(0x0,_0x36d396[_0x51d41b(0x2ae)](_0x36d396[_0x51d41b(0x268)])),_0x31d939(0x1,_0x346629[_0x51d41b(0x213)])],_0xe78d9a);const _0x17b0f3=new Set([_0xdbe912[_0x51d41b(0x24b)]['id']]);function _0x3a6e6d(_0x2edea0,_0x52bf2a,_0x582439,_0xc2b22f,_0x3b95be){const _0x53cd15=_0x51d41b;var _0x217119,_0x49431c,_0x58ba53,_0x343466;const _0x33049e=[];for(const _0x17af11 of _0x2edea0)if(_0x17b0f3['has'](_0x17af11['id'])){if(_0x33049e[_0x53cd15(0x392)]>0x0)break;_0x33049e[_0x53cd15(0x3cf)](_0x17af11);break;}else _0x33049e[_0x53cd15(0x3cf)](_0x17af11);const _0x196164=(_0x49431c=(_0x217119=_0x3b95be['getCurrentUser']())==null?void 0x0:_0x217119['userID'])!=null?_0x49431c:_0x53cd15(0x39c),_0x53404f=(_0x343466=(_0x58ba53=_0x3b95be['getCurrentUser']())==null?void 0x0:_0x58ba53['memberID'])!=null?_0x343466:_0x53cd15(0x39c);return{'changeset':{'unitID':_0x52bf2a,'type':_0x346629['mapDocumentTypeToUniverType'](_0x582439['getUnitType'](_0x52bf2a)),'baseRev':_0xc2b22f[_0x53cd15(0x59e)](_0x52bf2a),'revision':0x0,'userID':_0x196164,'memberID':_0x53404f,'mutations':_0x33049e},'pendingMutations':_0x2edea0[_0x53cd15(0x28f)](_0x33049e['length'])};}function _0x22032f(_0x29b1be,_0x42dcf1,_0x5c1da2,_0x57c915,_0x1c22f0){const _0x11ff0f=_0x51d41b;var _0x4e31a9,_0x5e97cc,_0xe7c68c,_0x2efda5;const _0x303c4f=[_0x29b1be[_0x11ff0f(0x21b)]((_0xec94,_0x426d10)=>{const _0x3219e8=_0x11ff0f;var _0xb85027;const {id:_0x5322ed}=_0xec94,{id:_0x542495,type:_0x52d171}=_0x426d10,_0x56797a=(_0xb85027=_0xec94[_0x3219e8(0x1c3)])!=null?_0xb85027:{'actions':null},_0x22fdb6=_0x426d10['params'];if(_0x5322ed&&_0x5322ed!==_0x542495)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x5322ed+_0x3219e8(0x2ee)+_0x542495+'.');return{..._0xec94,'id':_0x542495,'type':_0x52d171,'params':{'unitId':_0x22fdb6['unitId'],'textRanges':_0x22fdb6[_0x3219e8(0x559)],'actions':_0x36d396[_0x3219e8(0x3e6)][_0x3219e8(0x36d)](_0x56797a[_0x3219e8(0x583)],_0x22fdb6['actions'])}};},{})],_0x4c9603=(_0x5e97cc=(_0x4e31a9=_0x1c22f0[_0x11ff0f(0x26c)]())==null?void 0x0:_0x4e31a9[_0x11ff0f(0x581)])!=null?_0x5e97cc:_0x11ff0f(0x39c),_0x24b17c=(_0x2efda5=(_0xe7c68c=_0x1c22f0['getCurrentUser']())==null?void 0x0:_0xe7c68c[_0x11ff0f(0x264)])!=null?_0x2efda5:'unknown';return{'changeset':{'unitID':_0x42dcf1,'type':_0x346629[_0x11ff0f(0x347)](_0x5c1da2[_0x11ff0f(0x29f)](_0x42dcf1)),'baseRev':_0x57c915['getCurrentRevForDocument'](_0x42dcf1),'revision':0x0,'userID':_0x4c9603,'memberID':_0x24b17c,'mutations':_0x303c4f},'pendingMutations':[]};}const _0x45cf0d={'id':_0xdbe912[_0x51d41b(0x2bb)]['id'],'type':_0x36d396[_0x51d41b(0x3c4)][_0x51d41b(0x1f5)],'params':{}};var _0x871db3=Object['defineProperty'],_0x402b3c=Object[_0x51d41b(0x2b7)],_0x31d3bb=(_0x4416d4,_0x5201db,_0x3c1c0a,_0x3e6334)=>{const _0x3da059=_0x51d41b;for(var _0x59d69c=_0x3e6334>0x1?void 0x0:_0x3e6334?_0x402b3c(_0x5201db,_0x3c1c0a):_0x5201db,_0x1ba539=_0x4416d4[_0x3da059(0x392)]-0x1,_0x2dba8a;_0x1ba539>=0x0;_0x1ba539--)(_0x2dba8a=_0x4416d4[_0x1ba539])&&(_0x59d69c=(_0x3e6334?_0x2dba8a(_0x5201db,_0x3c1c0a,_0x59d69c):_0x2dba8a(_0x59d69c))||_0x59d69c);return _0x3e6334&&_0x59d69c&&_0x871db3(_0x5201db,_0x3c1c0a,_0x59d69c),_0x59d69c;},_0x32bbd5=(_0x4cc384,_0xad7bea)=>(_0x4aa057,_0x1bad89)=>_0xad7bea(_0x4aa057,_0x1bad89,_0x4cc384),_0xcb53f5=(_0xaee41b=>(_0xaee41b['NOT_COLLAB']=_0x51d41b(0x439),_0xaee41b[_0x51d41b(0x36f)]='synced',_0xaee41b[_0x51d41b(0x4ef)]=_0x51d41b(0x417),_0xaee41b[_0x51d41b(0x515)]=_0x51d41b(0x3c9),_0xaee41b[_0x51d41b(0x4f1)]=_0x51d41b(0x21e),_0xaee41b[_0x51d41b(0x1f8)]=_0x51d41b(0x360),_0xaee41b['CONFLICT']=_0x51d41b(0x3a9),_0xaee41b[_0x51d41b(0x588)]=_0x51d41b(0x1b9),_0xaee41b))(_0xcb53f5||{});class _0x443389{constructor(_0xdf1d33,_0x31696c,_0x434454,_0x240d50,_0x562217,_0x3ac3f1,_0x5b0a80,_0x55d7bb,_0x18df0f){const _0x189f19=_0x51d41b;_0x55fd67(this,_0x189f19(0x47a),null),_0x55fd67(this,'_pendingMutations',[]),(this[_0x189f19(0x35f)]=_0xdf1d33,this[_0x189f19(0x2cb)]=_0x31696c,this['_handler']=_0x562217,this[_0x189f19(0x561)]=_0x3ac3f1,this[_0x189f19(0x228)]=_0x5b0a80,this[_0x189f19(0x2c4)]=_0x55d7bb,this[_0x189f19(0x552)]=_0x18df0f,this['_awaitingChangeset']=_0x434454,this['_pendingMutations']=_0x240d50);}[_0x51d41b(0x398)](_0x5a4184){const _0x2ae467=_0x51d41b,_0x3d741d=this[_0x2ae467(0x2c4)][_0x2ae467(0x59e)](this[_0x2ae467(0x35f)]);return _0x5a4184['revision']>_0x3d741d+0x1?(this['_handler']['onMissingChangesets']({'from':_0x3d741d,'to':_0x5a4184[_0x2ae467(0x384)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x4f5e9f){const _0x229b09=_0x51d41b;this['_undoRedoService']['transformUndoRedo'](this[_0x229b09(0x35f)],_0x4f5e9f);}[_0x51d41b(0x34b)](_0xb6db00){const _0x5a7aa7=_0x51d41b;var _0x2144cf,_0x4cd0b7;(_0x4cd0b7=(_0x2144cf=this[_0x5a7aa7(0x484)])[_0x5a7aa7(0x23c)])==null||_0x4cd0b7['call'](_0x2144cf,_0xb6db00);}[_0x51d41b(0x192)](_0x1750a8){const _0x543a55=_0x51d41b;var _0x1db202,_0x3c6303;return(_0x3c6303=(_0x1db202=this[_0x543a55(0x484)])[_0x543a55(0x20d)])==null?void 0x0:_0x3c6303['call'](_0x1db202,_0x1750a8);}[_0x51d41b(0x3e4)](_0x6031a6){const _0x469b4b=_0x51d41b;var _0x27b728,_0x55f9fa,_0x2150c1;return(_0x2150c1=(_0x55f9fa=(_0x27b728=this['_handler'])[_0x469b4b(0x447)])==null?void 0x0:_0x55f9fa[_0x469b4b(0x267)](_0x27b728,_0x6031a6))!=null?_0x2150c1:_0x6031a6;}[_0x51d41b(0x4f5)](_0x2bb550){const _0x5be9b7=_0x51d41b;var _0x57ccdc,_0x3af2df;if(this['type']===_0x54451c['UNIVER_DOC']){const {unitID:_0x4bf390,mutations:_0x2d6993,memberID:_0x349f38}=_0x2bb550,_0x525442=_0x2d6993[0x0][_0x5be9b7(0x1c3)][_0x5be9b7(0x559)];Array[_0x5be9b7(0x223)](_0x525442)&&_0x525442[_0x5be9b7(0x392)]>0x0&&((_0x3af2df=(_0x57ccdc=this['_handler'])[_0x5be9b7(0x41d)])==null||_0x3af2df['call'](_0x57ccdc,{'unitID':_0x4bf390,'memberID':_0x349f38,'textRanges':_0x525442}));}}[_0x51d41b(0x554)](){const _0x2c3d51=_0x51d41b;this[_0x2c3d51(0x552)][_0x2c3d51(0x34a)](this[_0x2c3d51(0x35f)],this[_0x2c3d51(0x2cb)],this['_awaitingChangeset'],this[_0x2c3d51(0x25e)]);}[_0x51d41b(0x2f9)](){const _0xe2d582=_0x51d41b;return this[_0xe2d582(0x2c4)][_0xe2d582(0x59e)](this['unitID']);}[_0x51d41b(0x46d)](){const _0x29337f=_0x51d41b;this[_0x29337f(0x2c4)][_0x29337f(0x3ad)](this[_0x29337f(0x35f)]);}[_0x51d41b(0x4c3)](_0x417358){const _0x1ba53f=_0x51d41b;var _0x34988e;const _0x2cf8d8=this[_0x1ba53f(0x3e4)](_0x417358),_0x228ebb=_0x36d396[_0x1ba53f(0x5a5)](_0x2cf8d8['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x228ebb[_0x1ba53f(0x54e)])throw _0x228ebb[_0x1ba53f(0x405)]instanceof Error?_0x228ebb[_0x1ba53f(0x405)]:new Error((_0x34988e=_0x228ebb[_0x1ba53f(0x405)])!=null?_0x34988e:_0x1ba53f(0x348));this['_transformIMECache'](_0x2cf8d8),this['_transformUndoredo'](_0x417358),this[_0x1ba53f(0x34b)](_0x2cf8d8),this[_0x1ba53f(0x4f5)](_0x2cf8d8),this[_0x1ba53f(0x46d)]();}}let _0x27c498=class extends _0x443389{constructor(_0x323f48,_0x9a4dcb,_0x4d2c91,_0x57f369,_0xee6eda,_0x46df1d,_0x47df1c,_0x319e2,_0x43db02,_0x1e04d0){const _0x32a977=_0x51d41b;super(_0x323f48,_0x9a4dcb,null,[],_0x4d2c91,_0x319e2,_0x47df1c,_0x57f369,_0xee6eda),_0x55fd67(this,_0x32a977(0x199),_0x32a977(0x4f8)),(this[_0x32a977(0x2b0)]=_0x46df1d,this[_0x32a977(0x545)]=_0x43db02,this[_0x32a977(0x376)]=_0x1e04d0);}[_0x51d41b(0x1f1)](_0x290489){const _0x42db93=_0x51d41b,_0x5ca828=this[_0x42db93(0x2b0)]['createInstance'](_0xe38ae6,this['unitID'],this[_0x42db93(0x2cb)],[_0x290489],this[_0x42db93(0x484)]);return _0x5ca828[_0x42db93(0x1e2)](),_0x5ca828[_0x42db93(0x554)](),_0x5ca828;}[_0x51d41b(0x3f8)](_0x3ac152){const _0x2b3a0b=_0x51d41b;if(this['_checkMissing'](_0x3ac152))return this[_0x2b3a0b(0x2b0)][_0x2b3a0b(0x2e7)](_0x54cd11,this['unitID'],this[_0x2b3a0b(0x2cb)],null,[],null,[_0x3ac152],this[_0x2b3a0b(0x484)]);try{const _0x7bdaf5=this[_0x2b3a0b(0x376)][_0x2b3a0b(0x26e)](_0x3ac152,[_0x45cf0d]);if(_0x346629['isTransformMutationsWithChangesetSuccess'](_0x7bdaf5)){const {c1Prime:_0x100e49}=_0x7bdaf5;return this[_0x2b3a0b(0x4c3)](_0x100e49),this;}throw _0x7bdaf5['error'];}catch(_0x4866d6){return this['_logService'][_0x2b3a0b(0x405)](_0x4866d6),this[_0x2b3a0b(0x52f)](!0x1);}}[_0x51d41b(0x52f)](_0x149ba2){const _0x2933fe=_0x51d41b;return this['_injector'][_0x2933fe(0x2e7)](_0x48e3a8,this[_0x2933fe(0x35f)],this['type'],null,[],this[_0x2933fe(0x484)],_0x149ba2);}[_0x51d41b(0x387)](){const _0xf5ea6a=_0x51d41b;throw new Error(_0xf5ea6a(0x296));}[_0x51d41b(0x1c7)](){const _0x947cba=_0x51d41b;throw new Error(_0x947cba(0x375));}[_0x51d41b(0x39f)](){const _0x5683ea=_0x51d41b;return this[_0x5683ea(0x2b0)]['createInstance'](_0xad8cf9,this['unitID'],this[_0x5683ea(0x2cb)],null,[],this[_0x5683ea(0x484)]);}[_0x51d41b(0x458)](){return this;}['resend'](){const _0x54df75=_0x51d41b;throw new Error(_0x54df75(0x37b));}['fetchMiss'](){const _0x1c343d=_0x51d41b,_0x2a1cd9=this[_0x1c343d(0x2c4)][_0x1c343d(0x59e)](this['unitID']);return this[_0x1c343d(0x484)][_0x1c343d(0x4c5)]({'from':_0x2a1cd9,'to':0x0}),this[_0x1c343d(0x2b0)][_0x1c343d(0x2e7)](_0x54cd11,this[_0x1c343d(0x35f)],this[_0x1c343d(0x2cb)],null,[],null,[],this[_0x1c343d(0x484)]);}};_0x27c498=_0x31d3bb([_0x32bbd5(0x3,_0x36d396[_0x51d41b(0x2ae)](_0x346629[_0x51d41b(0x527)])),_0x32bbd5(0x4,_0x36d396[_0x51d41b(0x2ae)](_0x59ce0d[_0x51d41b(0x434)])),_0x32bbd5(0x5,_0x36d396[_0x51d41b(0x2ae)](_0x36d396[_0x51d41b(0x268)])),_0x32bbd5(0x6,_0x36d396[_0x51d41b(0x586)]),_0x32bbd5(0x7,_0x36d396[_0x51d41b(0x1d5)]),_0x32bbd5(0x8,_0x36d396[_0x51d41b(0x495)]),_0x32bbd5(0x9,_0x346629['ITransformService'])],_0x27c498);let _0xe38ae6=class extends _0x443389{constructor(_0x20d090,_0x521eb0,_0x2b6e70,_0x4161f7,_0xed3496,_0x255dd3,_0x18c7f3,_0x2ca2f6,_0x4edf6a,_0x5148ed,_0x528a95,_0x243e7c,_0x47faf7,_0x37978e){const _0x5e8df8=_0x51d41b;super(_0x20d090,_0x521eb0,null,_0x2b6e70,_0x4161f7,_0x5148ed,_0x37978e,_0x255dd3,_0x18c7f3),_0x55fd67(this,_0x5e8df8(0x199),'pending'),_0x55fd67(this,_0x5e8df8(0x2e1),null),_0x55fd67(this,_0x5e8df8(0x3f9),null),(this['_injector']=_0xed3496,this[_0x5e8df8(0x468)]=_0x2ca2f6,this[_0x5e8df8(0x545)]=_0x4edf6a,this[_0x5e8df8(0x448)]=_0x528a95,this[_0x5e8df8(0x376)]=_0x243e7c,this['_univerInstanceService']=_0x47faf7);}[_0x51d41b(0x1f1)](_0xdb3881){const _0x315701=_0x51d41b;return this[_0x315701(0x25e)][_0x315701(0x3cf)](_0xdb3881),this[_0x315701(0x554)](),this;}[_0x51d41b(0x3f8)](_0x4dc06d){const _0x2fa90c=_0x51d41b;if(this[_0x2fa90c(0x398)](_0x4dc06d))return this[_0x2fa90c(0x1a7)](),this[_0x2fa90c(0x2b0)][_0x2fa90c(0x2e7)](_0x54cd11,this[_0x2fa90c(0x35f)],this[_0x2fa90c(0x2cb)],null,this[_0x2fa90c(0x25e)],null,[_0x4dc06d],this[_0x2fa90c(0x484)]);try{const _0x4bf236=this['_transformService'][_0x2fa90c(0x26e)](_0x4dc06d,this[_0x2fa90c(0x25e)]);if(_0x346629[_0x2fa90c(0x33d)](_0x4bf236)){const {c1Prime:_0x3bac8f,m2Prime:_0x6bedd6}=_0x4bf236;this[_0x2fa90c(0x4c3)](_0x3bac8f);const _0xe47cd3=this[_0x2fa90c(0x2b0)][_0x2fa90c(0x2e7)](_0xe38ae6,this[_0x2fa90c(0x35f)],this[_0x2fa90c(0x2cb)],_0x6bedd6,this[_0x2fa90c(0x484)]);return this['_clearScheduledTask'](),_0xe47cd3[_0x2fa90c(0x1e2)](this[_0x2fa90c(0x2e1)]?Math[_0x2fa90c(0x36a)](0x0,new Date()[_0x2fa90c(0x412)]()-this[_0x2fa90c(0x2e1)]):this[_0x2fa90c(0x2bf)]()),_0xe47cd3;}throw _0x4bf236['error'];}catch(_0x55554b){return this[_0x2fa90c(0x545)][_0x2fa90c(0x405)](_0x55554b),this[_0x2fa90c(0x52f)](!0x1);}}[_0x51d41b(0x387)](){const _0x38272c=_0x51d41b;throw new Error(_0x38272c(0x263));}[_0x51d41b(0x1c7)](){const _0x25310e=_0x51d41b;throw new Error(_0x25310e(0x4a1));}[_0x51d41b(0x39f)](){const _0xf244af=_0x51d41b;return this[_0xf244af(0x1a7)](),this[_0xf244af(0x2b0)][_0xf244af(0x2e7)](_0xad8cf9,this[_0xf244af(0x35f)],this[_0xf244af(0x2cb)],null,this[_0xf244af(0x25e)],this[_0xf244af(0x484)]);}[_0x51d41b(0x458)](){return this;}[_0x51d41b(0x1e2)](_0x1c3748){const _0x139a0a=_0x51d41b,_0x3eb339=_0x1c3748!=null?_0x1c3748:this['_getSendChangesetTimeout']();this['_scheduleTimestamp']=new Date()[_0x139a0a(0x412)](),this[_0x139a0a(0x3f9)]=window[_0x139a0a(0x1a2)](()=>{const _0x193051=_0x139a0a;this[_0x193051(0x1a7)]();let _0x30fecf=null;switch(this[_0x193051(0x2cb)]){case _0x54451c[_0x193051(0x1d8)]:{_0x30fecf=_0x3a6e6d(this[_0x193051(0x25e)],this[_0x193051(0x35f)],this[_0x193051(0x273)],this[_0x193051(0x2c4)],this['_memberService']);break;}case _0x54451c['UNIVER_DOC']:{this['_pendingMutations'][_0x193051(0x399)](_0x3ada4e=>_0x3ada4e['id']===_0x569fac[_0x193051(0x4ec)]['id'])?_0x30fecf=_0x22032f(this['_pendingMutations'],this[_0x193051(0x35f)],this['_univerInstanceService'],this[_0x193051(0x2c4)],this[_0x193051(0x468)]):_0x30fecf=_0x3a6e6d(this[_0x193051(0x25e)],this[_0x193051(0x35f)],this[_0x193051(0x273)],this[_0x193051(0x2c4)],this[_0x193051(0x468)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x193051(0x260));}const {changeset:_0x4c52d2,pendingMutations:_0xa728d}=_0x30fecf;this[_0x193051(0x484)]['onSendChangeset'](_0x4c52d2);const _0x448471=_0xa728d['length']?this[_0x193051(0x2b0)][_0x193051(0x2e7)](_0x3d7f52,this[_0x193051(0x35f)],this[_0x193051(0x2cb)],_0x4c52d2,_0xa728d,this[_0x193051(0x484)]):this[_0x193051(0x2b0)][_0x193051(0x2e7)](_0x2fb341,this['unitID'],this['type'],_0x4c52d2,this[_0x193051(0x484)]);_0x448471[_0x193051(0x554)](),this[_0x193051(0x484)]['onStateChange'](this,_0x448471);},_0x3eb339);}[_0x51d41b(0x2bf)](){const _0x493662=_0x51d41b;var _0x20bd5a;return(_0x20bd5a=this[_0x493662(0x448)][_0x493662(0x1a6)](_0x5d41d3))!=null?_0x20bd5a:0x7d0;}[_0x51d41b(0x4bb)](){const _0x3a1e53=_0x51d41b;throw new Error(_0x3a1e53(0x469));}[_0x51d41b(0x1a7)](){const _0x4c6653=_0x51d41b;this[_0x4c6653(0x3f9)]!=null&&(clearTimeout(this[_0x4c6653(0x3f9)]),this[_0x4c6653(0x3f9)]=null);}[_0x51d41b(0x52f)](_0x505ab4){const _0x571949=_0x51d41b;return this['_clearScheduledTask'](),this[_0x571949(0x2b0)][_0x571949(0x2e7)](_0x48e3a8,this[_0x571949(0x35f)],this[_0x571949(0x2cb)],null,this[_0x571949(0x25e)],this[_0x571949(0x484)],_0x505ab4);}};_0xe38ae6=_0x31d3bb([_0x32bbd5(0x4,_0x36d396[_0x51d41b(0x2ae)](_0x36d396[_0x51d41b(0x268)])),_0x32bbd5(0x5,_0x36d396[_0x51d41b(0x2ae)](_0x346629[_0x51d41b(0x527)])),_0x32bbd5(0x6,_0x36d396[_0x51d41b(0x2ae)](_0x59ce0d[_0x51d41b(0x434)])),_0x32bbd5(0x7,_0x36d396[_0x51d41b(0x2ae)](_0x2e1387)),_0x32bbd5(0x8,_0x36d396[_0x51d41b(0x495)]),_0x32bbd5(0x9,_0x36d396[_0x51d41b(0x1d5)]),_0x32bbd5(0xa,_0x36d396['IConfigService']),_0x32bbd5(0xb,_0x346629[_0x51d41b(0x213)]),_0x32bbd5(0xc,_0x36d396[_0x51d41b(0x2c5)]),_0x32bbd5(0xd,_0x36d396['IUndoRedoService'])],_0xe38ae6);let _0x2fb341=class extends _0x443389{constructor(_0x106b56,_0x23537a,_0x2bcd1a,_0x56acc9,_0x1830b3,_0x38f448,_0x48e759,_0x60732f,_0x25fce4,_0x8dc8b1,_0x327f3b){const _0x1f5cd6=_0x51d41b;super(_0x106b56,_0x23537a,_0x2bcd1a,[],_0x56acc9,_0x60732f,_0x327f3b,_0x38f448,_0x48e759),_0x55fd67(this,'status',_0x1f5cd6(0x3c9)),(this[_0x1f5cd6(0x2b0)]=_0x1830b3,this['_logService']=_0x25fce4,this[_0x1f5cd6(0x376)]=_0x8dc8b1);}['appendMutation'](_0x38cde6){const _0x174bc2=_0x51d41b,_0x3155de=this[_0x174bc2(0x2b0)][_0x174bc2(0x2e7)](_0x3d7f52,this['unitID'],this[_0x174bc2(0x2cb)],this['_awaitingChangeset'],[_0x38cde6],this[_0x174bc2(0x484)]);return _0x3155de[_0x174bc2(0x554)](),_0x3155de;}[_0x51d41b(0x3f8)](_0x176770){const _0x1b595f=_0x51d41b;if(this[_0x1b595f(0x398)](_0x176770))return this['_injector'][_0x1b595f(0x2e7)](_0x54cd11,this['unitID'],this[_0x1b595f(0x2cb)],this[_0x1b595f(0x47a)],[],null,[_0x176770],this[_0x1b595f(0x484)]);try{const _0x3669e0=this[_0x1b595f(0x376)][_0x1b595f(0x4a3)]([_0x176770],[this[_0x1b595f(0x47a)]],!0x1);if(_0x346629['isTransformChangesetsSuccess'](_0x3669e0)){const {c1Prime:_0x3e221a,c2Prime:_0x5b92e9}=_0x3669e0;this[_0x1b595f(0x4c3)](_0x3e221a[0x0]),_0x5b92e9[0x0][_0x1b595f(0x38d)]=this['_getCurrentRevision']();const _0x3843f1=this['_injector'][_0x1b595f(0x2e7)](_0x2fb341,this[_0x1b595f(0x35f)],this[_0x1b595f(0x2cb)],_0x5b92e9[0x0],this[_0x1b595f(0x484)]);return _0x3843f1[_0x1b595f(0x554)](),_0x3843f1;}return this[_0x1b595f(0x52f)](!0x1);}catch(_0xdce50d){return this[_0x1b595f(0x545)][_0x1b595f(0x405)](_0xdce50d),this[_0x1b595f(0x52f)](!0x1);}}[_0x51d41b(0x387)](_0x4a5cb4){const _0x391f50=_0x51d41b,_0x3645ed=this[_0x391f50(0x2c4)][_0x391f50(0x59e)](this[_0x391f50(0x35f)]);if(_0x4a5cb4['revision']<_0x3645ed-0x1)return this;if(this[_0x391f50(0x398)](_0x4a5cb4))return this[_0x391f50(0x2b0)][_0x391f50(0x2e7)](_0x54cd11,this['unitID'],this['type'],null,[],this[_0x391f50(0x47a)],[],this[_0x391f50(0x484)]);this['_incrementRevisionNumber']();const _0xa6d8db=this[_0x391f50(0x2b0)][_0x391f50(0x2e7)](_0x27c498,this[_0x391f50(0x35f)],this[_0x391f50(0x2cb)],this[_0x391f50(0x484)]);return _0xa6d8db[_0x391f50(0x554)](),_0xa6d8db;}['onRemoteRej'](_0x36073d){const _0x47ae8e=_0x51d41b;return this['_onConflict'](!!(_0x36073d!=null&&_0x36073d[_0x47ae8e(0x271)]));}['toggleOffline'](){const _0x4cff95=_0x51d41b;return this[_0x4cff95(0x2b0)][_0x4cff95(0x2e7)](_0xad8cf9,this[_0x4cff95(0x35f)],this[_0x4cff95(0x2cb)],this[_0x4cff95(0x47a)],[],this['_handler']);}[_0x51d41b(0x458)](){return this;}[_0x51d41b(0x4bb)](){const _0x28aeb0=_0x51d41b;this[_0x28aeb0(0x484)][_0x28aeb0(0x248)](this[_0x28aeb0(0x47a)]);}[_0x51d41b(0x52f)](_0x5e788d){const _0x4a6e3b=_0x51d41b;return this[_0x4a6e3b(0x2b0)][_0x4a6e3b(0x2e7)](_0x48e3a8,this['unitID'],this[_0x4a6e3b(0x2cb)],this['_awaitingChangeset'],[],this['_handler'],_0x5e788d);}};_0x2fb341=_0x31d3bb([_0x32bbd5(0x4,_0x36d396[_0x51d41b(0x2ae)](_0x36d396[_0x51d41b(0x268)])),_0x32bbd5(0x5,_0x36d396[_0x51d41b(0x2ae)](_0x346629[_0x51d41b(0x527)])),_0x32bbd5(0x6,_0x36d396[_0x51d41b(0x2ae)](_0x59ce0d[_0x51d41b(0x434)])),_0x32bbd5(0x7,_0x36d396[_0x51d41b(0x1d5)]),_0x32bbd5(0x8,_0x36d396[_0x51d41b(0x495)]),_0x32bbd5(0x9,_0x346629['ITransformService']),_0x32bbd5(0xa,_0x36d396[_0x51d41b(0x586)])],_0x2fb341);let _0x3d7f52=class extends _0x443389{constructor(_0x223ae6,_0xa343ad,_0x341743,_0x45cbe4,_0x2cf1cb,_0x20a246,_0x5968a0,_0x419c00,_0x146948,_0x4e8d87,_0x358e33,_0x59068c){const _0xb20d7b=_0x51d41b;super(_0x223ae6,_0xa343ad,_0x341743,_0x45cbe4,_0x2cf1cb,_0x146948,_0x59068c,_0x5968a0,_0x419c00),_0x55fd67(this,_0xb20d7b(0x199),_0xb20d7b(0x21e)),(this[_0xb20d7b(0x2b0)]=_0x20a246,this[_0xb20d7b(0x545)]=_0x4e8d87,this[_0xb20d7b(0x376)]=_0x358e33);}[_0x51d41b(0x1f1)](_0x57bb52){const _0x2a3cc1=_0x51d41b;return this[_0x2a3cc1(0x25e)][_0x2a3cc1(0x3cf)](_0x57bb52),this;}[_0x51d41b(0x3f8)](_0x3c3f7d){const _0xff74c=_0x51d41b;if(this[_0xff74c(0x398)](_0x3c3f7d))return this[_0xff74c(0x2b0)][_0xff74c(0x2e7)](_0x54cd11,this[_0xff74c(0x35f)],this[_0xff74c(0x2cb)],this[_0xff74c(0x47a)],this[_0xff74c(0x25e)],null,[_0x3c3f7d],this[_0xff74c(0x484)]);try{const _0x304bc7=this[_0xff74c(0x376)][_0xff74c(0x4a3)]([_0x3c3f7d],[this['_awaitingChangeset']],!0x1);if(_0x346629['isTransformChangesetsSuccess'](_0x304bc7)){const {c1Prime:_0x401c42,c2Prime:_0x1f842d}=_0x304bc7,_0x2daa78=this[_0xff74c(0x376)]['transformMutationsWithChangeset'](_0x401c42[0x0],this[_0xff74c(0x25e)]);if(_0x346629[_0xff74c(0x33d)](_0x2daa78)){const {c1Prime:_0x4c04e1,m2Prime:_0x340039}=_0x2daa78;return this[_0xff74c(0x4c3)](_0x4c04e1),_0x1f842d[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0xff74c(0x2b0)]['createInstance'](_0x3d7f52,this['unitID'],this[_0xff74c(0x2cb)],_0x1f842d[0x0],_0x340039,this[_0xff74c(0x484)]);}throw _0x2daa78['error'];}throw _0x304bc7[_0xff74c(0x405)];}catch(_0x27e24e){return this[_0xff74c(0x545)]['error'](_0x27e24e),this['_onConflict'](!0x1);}}[_0x51d41b(0x387)](_0x289757){const _0x38ba5f=_0x51d41b;if(this[_0x38ba5f(0x398)](_0x289757))return this[_0x38ba5f(0x2b0)][_0x38ba5f(0x2e7)](_0x54cd11,this['unitID'],this['type'],null,this[_0x38ba5f(0x25e)],this[_0x38ba5f(0x47a)],[],this[_0x38ba5f(0x484)]);this[_0x38ba5f(0x46d)]();const _0x12f135=this[_0x38ba5f(0x2b0)][_0x38ba5f(0x2e7)](_0xe38ae6,this[_0x38ba5f(0x35f)],this[_0x38ba5f(0x2cb)],this[_0x38ba5f(0x25e)],this[_0x38ba5f(0x484)]);return _0x12f135[_0x38ba5f(0x1e2)](),_0x12f135[_0x38ba5f(0x554)](),_0x12f135;}[_0x51d41b(0x1c7)](_0x46db32){const _0x4f6c24=_0x51d41b;return this['_onConflict'](!!(_0x46db32!=null&&_0x46db32[_0x4f6c24(0x271)]));}[_0x51d41b(0x39f)](){const _0x2af397=_0x51d41b;return this[_0x2af397(0x2b0)][_0x2af397(0x2e7)](_0xad8cf9,this['unitID'],this[_0x2af397(0x2cb)],this[_0x2af397(0x47a)],this[_0x2af397(0x25e)],this['_handler']);}[_0x51d41b(0x458)](){return this;}[_0x51d41b(0x4bb)](){const _0x367b19=_0x51d41b;this[_0x367b19(0x484)][_0x367b19(0x248)](this[_0x367b19(0x47a)]);}[_0x51d41b(0x52f)](_0x4e6981){const _0x17e41a=_0x51d41b;return this[_0x17e41a(0x2b0)][_0x17e41a(0x2e7)](_0x48e3a8,this[_0x17e41a(0x35f)],this['type'],null,this[_0x17e41a(0x25e)],this[_0x17e41a(0x484)],_0x4e6981);}};_0x3d7f52=_0x31d3bb([_0x32bbd5(0x5,_0x36d396[_0x51d41b(0x2ae)](_0x36d396[_0x51d41b(0x268)])),_0x32bbd5(0x6,_0x36d396[_0x51d41b(0x2ae)](_0x346629[_0x51d41b(0x527)])),_0x32bbd5(0x7,_0x36d396[_0x51d41b(0x2ae)](_0x59ce0d[_0x51d41b(0x434)])),_0x32bbd5(0x8,_0x36d396['ICommandService']),_0x32bbd5(0x9,_0x36d396[_0x51d41b(0x495)]),_0x32bbd5(0xa,_0x346629[_0x51d41b(0x213)]),_0x32bbd5(0xb,_0x36d396[_0x51d41b(0x586)])],_0x3d7f52);let _0x48e3a8=class extends _0x443389{constructor(_0x37e269,_0x2f3371,_0xb46adf,_0x3c4826,_0x309735,_0x7dffc4=!0x1,_0x24e48e,_0x5775d6,_0x46769c,_0x46fb95,_0x53e892,_0x4227ff,_0x4ec5ac){const _0x1eeaae=_0x51d41b;super(_0x37e269,_0x2f3371,_0xb46adf,_0x3c4826,_0x309735,_0x5775d6,_0x46769c,_0x53e892,_0x46fb95),_0x55fd67(this,_0x1eeaae(0x199),_0x1eeaae(0x3a9)),(this[_0x1eeaae(0x390)]=_0x7dffc4,this['_permissionService']=_0x24e48e,this[_0x1eeaae(0x31f)]=_0x4227ff,this[_0x1eeaae(0x49f)]=_0x4ec5ac,this[_0x1eeaae(0x426)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x51d41b(0x1f1)](){return this;}[_0x51d41b(0x3f8)](){return this;}[_0x51d41b(0x387)](){return this;}['onRemoteRej'](){return this;}[_0x51d41b(0x39f)](){return this;}[_0x51d41b(0x458)](){return this;}[_0x51d41b(0x4bb)](){const _0x17c98d=_0x51d41b;throw new Error(_0x17c98d(0x52c));}[_0x51d41b(0x58e)](){const _0x2b344e=_0x51d41b;this[_0x2b344e(0x552)][_0x2b344e(0x34a)](this[_0x2b344e(0x35f)],this[_0x2b344e(0x2cb)],null,[]);}[_0x51d41b(0x426)](){const _0x1045f4=_0x51d41b;this[_0x1045f4(0x390)]?this['_notificationService'][_0x1045f4(0x3c3)]({'title':this[_0x1045f4(0x31f)]['t'](_0x1045f4(0x54b)),'content':this[_0x1045f4(0x31f)]['t'](_0x1045f4(0x481)),'type':_0x1045f4(0x405),'duration':0x0}):this[_0x1045f4(0x49f)][_0x1045f4(0x3c3)]({'title':this['_localeService']['t'](_0x1045f4(0x1e5)),'content':this[_0x1045f4(0x31f)]['t']('conflict.content'),'type':'error','duration':0x0});}['_disableEditing'](){const _0x456706=_0x51d41b;this[_0x456706(0x350)]['updatePermissionPoint'](new _0xdbe912['WorkbookEditablePermission'](this[_0x456706(0x35f)])['id'],!0x1);}};_0x48e3a8=_0x31d3bb([_0x32bbd5(0x6,_0x36d396[_0x51d41b(0x2ae)](_0x36d396['IPermissionService'])),_0x32bbd5(0x7,_0x36d396[_0x51d41b(0x1d5)]),_0x32bbd5(0x8,_0x36d396[_0x51d41b(0x586)]),_0x32bbd5(0x9,_0x36d396[_0x51d41b(0x2ae)](_0x59ce0d[_0x51d41b(0x434)])),_0x32bbd5(0xa,_0x36d396[_0x51d41b(0x2ae)](_0x346629[_0x51d41b(0x527)])),_0x32bbd5(0xb,_0x36d396[_0x51d41b(0x2ae)](_0x36d396[_0x51d41b(0x22d)])),_0x32bbd5(0xc,_0x455671[_0x51d41b(0x391)])],_0x48e3a8);let _0xad8cf9=class extends _0x443389{constructor(_0x21427b,_0x9f90c0,_0x497f97,_0x3650dc,_0x37e6d5,_0x3cf90b,_0x46571a,_0x101beb,_0x405521,_0x577c1e){const _0x152502=_0x51d41b;super(_0x21427b,_0x9f90c0,_0x497f97,_0x3650dc,_0x37e6d5,_0x405521,_0x577c1e,_0x46571a,_0x101beb),_0x55fd67(this,_0x152502(0x199),_0x152502(0x1b9)),this[_0x152502(0x2b0)]=_0x3cf90b;}[_0x51d41b(0x1f1)](_0x6ca420){const _0x85e10d=_0x51d41b;return this[_0x85e10d(0x25e)][_0x85e10d(0x3cf)](_0x6ca420),this[_0x85e10d(0x554)](),this;}[_0x51d41b(0x3f8)](_0xb7346e){const _0x3aeff6=_0x51d41b;throw new Error(_0x3aeff6(0x35b));}[_0x51d41b(0x387)](){const _0x1f8053=_0x51d41b;throw new Error(_0x1f8053(0x2c6));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x51d41b(0x39f)](){return this;}[_0x51d41b(0x458)](){const _0x3d4070=_0x51d41b,{_injector:_0x10e058,_pendingMutations:_0x136f91,_awaitingChangeset:_0x372545,unitID:_0x35a279,_handler:_0x56b34a,type:_0x4288a6}=this,_0x2eb799=_0x14c4f8(_0x10e058,_0x35a279,_0x4288a6,_0x372545,_0x136f91,_0x56b34a);return _0x2eb799 instanceof _0xe38ae6?_0x2eb799[_0x3d4070(0x1e2)]():(_0x2eb799 instanceof _0x3d7f52||_0x2eb799 instanceof _0x2fb341)&&_0x2eb799[_0x3d4070(0x4bb)](),_0x2eb799;}[_0x51d41b(0x4bb)](){const _0x5ee058=_0x51d41b;throw new Error(_0x5ee058(0x1cf));}};_0xad8cf9=_0x31d3bb([_0x32bbd5(0x5,_0x36d396[_0x51d41b(0x2ae)](_0x36d396[_0x51d41b(0x268)])),_0x32bbd5(0x6,_0x36d396[_0x51d41b(0x2ae)](_0x346629[_0x51d41b(0x527)])),_0x32bbd5(0x7,_0x36d396[_0x51d41b(0x2ae)](_0x59ce0d[_0x51d41b(0x434)])),_0x32bbd5(0x8,_0x36d396[_0x51d41b(0x1d5)]),_0x32bbd5(0x9,_0x36d396['IUndoRedoService'])],_0xad8cf9);let _0x54cd11=class extends _0x443389{constructor(_0x53ccde,_0x5ebcd4,_0x46043b,_0x10f5a8,_0x4942ff,_0x53ffdf,_0x3b8ddf,_0x395a2e,_0x186040,_0x317d88,_0x3bc073,_0x55bfc9,_0x161e97,_0x40c62b){const _0x3f98a0=_0x51d41b;super(_0x53ccde,_0x5ebcd4,_0x46043b,_0x10f5a8,_0x3b8ddf,_0x55bfc9,_0x161e97,_0x186040,_0x317d88),_0x55fd67(this,_0x3f98a0(0x199),'fetch_missing'),(this[_0x3f98a0(0x4ea)]=_0x4942ff,this[_0x3f98a0(0x501)]=_0x53ffdf,this[_0x3f98a0(0x2b0)]=_0x395a2e,this[_0x3f98a0(0x545)]=_0x3bc073,this[_0x3f98a0(0x376)]=_0x40c62b);}[_0x51d41b(0x382)](_0x1e5a0d){const _0x3083d9=_0x51d41b;try{const _0x2e6919=[..._0x1e5a0d,...this['_queuedRemoteChangesets']],_0x32a643=[this[_0x3083d9(0x47a)]||this[_0x3083d9(0x4ea)]][_0x3083d9(0x280)](_0x89ce3d=>!!_0x89ce3d);let _0x239842,_0x55a5ea;if(_0x32a643[_0x3083d9(0x392)]){const _0x519c4c=this[_0x3083d9(0x376)][_0x3083d9(0x4a3)](_0x2e6919,_0x32a643,!0x1);if(!_0x346629[_0x3083d9(0x40f)](_0x519c4c))throw _0x519c4c[_0x3083d9(0x405)];_0x239842=_0x519c4c[_0x3083d9(0x37c)],_0x55a5ea=_0x519c4c[_0x3083d9(0x528)];}else _0x239842=_0x2e6919,_0x55a5ea=[];let _0x4961de=this['_pendingMutations'];_0x239842[_0x3083d9(0x1a9)](_0x40eeba=>{const _0x20b4cf=_0x3083d9;let _0x402bcf;if(_0x4961de[_0x20b4cf(0x392)]){const _0x44f931=this[_0x20b4cf(0x376)][_0x20b4cf(0x26e)](_0x40eeba,_0x4961de);if(!_0x346629[_0x20b4cf(0x33d)](_0x44f931))throw _0x44f931[_0x20b4cf(0x405)];_0x402bcf=_0x44f931[_0x20b4cf(0x37c)],_0x4961de=_0x44f931[_0x20b4cf(0x4b5)];}else _0x402bcf=_0x40eeba;this[_0x20b4cf(0x4c3)](_0x402bcf);}),this[_0x3083d9(0x4ea)]&&this[_0x3083d9(0x46d)](),this['_awaitingChangeset']&&_0x55a5ea[_0x3083d9(0x392)]&&(_0x55a5ea[0x0][_0x3083d9(0x38d)]=this[_0x3083d9(0x2f9)]());let _0x5932b5;if(this[_0x3083d9(0x47a)]&&_0x4961de[_0x3083d9(0x392)]!==0x0)_0x5932b5=this[_0x3083d9(0x2b0)]['createInstance'](_0x3d7f52,this['unitID'],this[_0x3083d9(0x2cb)],_0x55a5ea[0x0],_0x4961de,this[_0x3083d9(0x484)]);else{if(this[_0x3083d9(0x47a)]&&_0x4961de['length']===0x0)_0x55a5ea[0x0][_0x3083d9(0x38d)]=this[_0x3083d9(0x2f9)](),_0x5932b5=this[_0x3083d9(0x2b0)][_0x3083d9(0x2e7)](_0x2fb341,this[_0x3083d9(0x35f)],this[_0x3083d9(0x2cb)],_0x55a5ea[0x0],this['_handler']);else{if(_0x4961de['length']!==0x0){const _0x55ec2e=this[_0x3083d9(0x2b0)][_0x3083d9(0x2e7)](_0xe38ae6,this[_0x3083d9(0x35f)],this[_0x3083d9(0x2cb)],_0x4961de,this[_0x3083d9(0x484)]);_0x55ec2e[_0x3083d9(0x1e2)](),_0x5932b5=_0x55ec2e;}else _0x5932b5=this[_0x3083d9(0x2b0)][_0x3083d9(0x2e7)](_0x27c498,this[_0x3083d9(0x35f)],this['type'],this[_0x3083d9(0x484)]);}}return _0x5932b5[_0x3083d9(0x554)](),_0x5932b5;}catch(_0x11a29b){return this[_0x3083d9(0x545)][_0x3083d9(0x405)](_0x3083d9(0x46e),_0x3083d9(0x573),_0x11a29b),this[_0x3083d9(0x2b0)][_0x3083d9(0x2e7)](_0x48e3a8,this[_0x3083d9(0x35f)],this[_0x3083d9(0x2cb)],this[_0x3083d9(0x47a)],this[_0x3083d9(0x25e)],this['_handler'],!0x1);}}['resend'](){const _0x49bd1c=_0x51d41b;throw new Error(_0x49bd1c(0x519));}[_0x51d41b(0x1f1)](_0x2410bc){const _0x198005=_0x51d41b;return this[_0x198005(0x25e)][_0x198005(0x3cf)](_0x2410bc),this;}[_0x51d41b(0x3f8)](_0x5f509f){const _0x25fb51=_0x51d41b;return this[_0x25fb51(0x501)][_0x25fb51(0x3cf)](_0x5f509f),this;}[_0x51d41b(0x387)](_0x552f29){const _0x5285ef=_0x51d41b;if(this[_0x5285ef(0x47a)])return this[_0x5285ef(0x4ea)]=this['_awaitingChangeset'],this[_0x5285ef(0x47a)]=null,this;throw new Error(_0x5285ef(0x315));}[_0x51d41b(0x1c7)](_0x3e1baf){const _0x3e3595=_0x51d41b;return this[_0x3e3595(0x52f)](!!(_0x3e1baf!=null&&_0x3e1baf[_0x3e3595(0x271)]));}['toggleOffline'](){const _0x1f93f0=_0x51d41b;return this[_0x1f93f0(0x2b0)][_0x1f93f0(0x2e7)](_0xad8cf9,this[_0x1f93f0(0x35f)],this[_0x1f93f0(0x2cb)],this[_0x1f93f0(0x47a)],this[_0x1f93f0(0x25e)],this['_handler']);}[_0x51d41b(0x458)](){return this;}[_0x51d41b(0x52f)](_0x227b3e){const _0x449057=_0x51d41b;return this['_injector'][_0x449057(0x2e7)](_0x48e3a8,this[_0x449057(0x35f)],this[_0x449057(0x2cb)],this['_awaitingChangeset'],this[_0x449057(0x25e)],this[_0x449057(0x484)],_0x227b3e);}};_0x54cd11=_0x31d3bb([_0x32bbd5(0x7,_0x36d396[_0x51d41b(0x2ae)](_0x36d396['Injector'])),_0x32bbd5(0x8,_0x36d396[_0x51d41b(0x2ae)](_0x346629['RevisionService'])),_0x32bbd5(0x9,_0x36d396['Inject'](_0x59ce0d['LocalCacheService'])),_0x32bbd5(0xa,_0x36d396['ILogService']),_0x32bbd5(0xb,_0x36d396[_0x51d41b(0x1d5)]),_0x32bbd5(0xc,_0x36d396['IUndoRedoService']),_0x32bbd5(0xd,_0x346629[_0x51d41b(0x213)])],_0x54cd11);function _0x14c4f8(_0x21df02,_0x5b29a4,_0x323f1e,_0x2f7365,_0x47c05d,_0x145fa0){const _0x256ef1=_0x51d41b;return _0x2f7365&&_0x47c05d[_0x256ef1(0x392)]?_0x21df02['createInstance'](_0x3d7f52,_0x5b29a4,_0x323f1e,_0x2f7365,_0x47c05d,_0x145fa0):_0x2f7365?_0x21df02[_0x256ef1(0x2e7)](_0x2fb341,_0x5b29a4,_0x323f1e,_0x2f7365,_0x145fa0):_0x47c05d[_0x256ef1(0x392)]?_0x21df02[_0x256ef1(0x2e7)](_0xe38ae6,_0x5b29a4,_0x323f1e,_0x47c05d,_0x145fa0):_0x21df02['createInstance'](_0x27c498,_0x5b29a4,_0x323f1e,_0x145fa0);}var _0x4d4e9e=Object['defineProperty'],_0x597287=Object[_0x51d41b(0x2b7)],_0x16cee8=(_0x5234d1,_0x441f42,_0x17a6f5,_0x1aae89)=>{const _0x507ac2=_0x51d41b;for(var _0x4d98b9=_0x1aae89>0x1?void 0x0:_0x1aae89?_0x597287(_0x441f42,_0x17a6f5):_0x441f42,_0x54a3e6=_0x5234d1[_0x507ac2(0x392)]-0x1,_0x957ca5;_0x54a3e6>=0x0;_0x54a3e6--)(_0x957ca5=_0x5234d1[_0x54a3e6])&&(_0x4d98b9=(_0x1aae89?_0x957ca5(_0x441f42,_0x17a6f5,_0x4d98b9):_0x957ca5(_0x4d98b9))||_0x4d98b9);return _0x1aae89&&_0x4d98b9&&_0x4d4e9e(_0x441f42,_0x17a6f5,_0x4d98b9),_0x4d98b9;},_0x26a766=(_0x1f5b25,_0x3560e7)=>(_0x2d3055,_0x15f109)=>_0x3560e7(_0x2d3055,_0x15f109,_0x1f5b25);_0x59ce0d[_0x51d41b(0x44d)]=class extends _0x36d396[_0x51d41b(0x480)]{constructor(_0x4915a1,_0x165b83,_0x216bde,_0x30b6a0,_0x130904,_0x215239,_0x613c1e,_0x5b9ce4,_0x5aead1,_0x3d3d04,_0xdf34e3,_0x208a21,_0xc07643){const _0x194532=_0x51d41b;super(),_0x55fd67(this,_0x194532(0x1fa),new _0x22cf47[(_0x194532(0x482))](null)),_0x55fd67(this,_0x194532(0x3de),this[_0x194532(0x1fa)][_0x194532(0x544)]()),_0x55fd67(this,_0x194532(0x53b)),_0x55fd67(this,_0x194532(0x2b4),!0x1),_0x55fd67(this,_0x194532(0x2a3),this[_0x194532(0x3de)]['pipe'](_0x22cf47['map'](_0x5ab83a=>_0x5ab83a?_0x5ab83a['status']:_0xcb53f5[_0x194532(0x588)]),_0x22cf47[_0x194532(0x566)](0x1))),_0x55fd67(this,_0x194532(0x443),!0x1),_0x55fd67(this,'_remoteChangesetQueue',[]),(this[_0x194532(0x35f)]=_0x4915a1,this[_0x194532(0x57a)]=_0x165b83,this[_0x194532(0x369)]=_0x216bde,this[_0x194532(0x2b0)]=_0x30b6a0,this[_0x194532(0x552)]=_0x130904,this['_compressMutationService']=_0x215239,this[_0x194532(0x31f)]=_0x613c1e,this[_0x194532(0x2c4)]=_0x5b9ce4,this[_0x194532(0x545)]=_0x5aead1,this[_0x194532(0x561)]=_0x3d3d04,this[_0x194532(0x2a7)]=_0xdf34e3,this[_0x194532(0x350)]=_0x208a21,this[_0x194532(0x342)]=_0xc07643);}get[_0x51d41b(0x2a4)](){return this['_state'];}async['init'](){const _0x13be4f=_0x51d41b;if(this[_0x13be4f(0x2a4)])throw new Error(_0x13be4f(0x38a));await this[_0x13be4f(0x571)]();}[_0x51d41b(0x5a8)](){const _0x41a2eb=_0x51d41b;return this[_0x41a2eb(0x2b4)]=!0x0,_0x36d396[_0x41a2eb(0x1d9)](()=>{const _0x5892cc=_0x41a2eb;this[_0x5892cc(0x2b4)]=!0x1,this[_0x5892cc(0x42b)]();});}['_updateState'](_0x222d5a){const _0x1a7622=_0x51d41b;this[_0x1a7622(0x53b)]=_0x222d5a,this[_0x1a7622(0x1fa)][_0x1a7622(0x1d6)](_0x222d5a);}async[_0x51d41b(0x571)](){const _0x28f597=_0x51d41b;var _0x3961e2;this[_0x28f597(0x3d3)](await this[_0x28f597(0x5ab)]()),this[_0x28f597(0x342)]&&((_0x3961e2=this[_0x28f597(0x342)])==null||_0x3961e2[_0x28f597(0x416)](this['unitID']),this[_0x28f597(0x595)](this[_0x28f597(0x342)][_0x28f597(0x25c)](this[_0x28f597(0x35f)])[_0x28f597(0x200)](_0x3e37e6=>{const _0x53b561=_0x28f597;this[_0x53b561(0x545)][_0x53b561(0x45b)](_0x53b561(0x39d),_0x53b561(0x487),_0x3e37e6),_0x3e37e6===_0x47a42c[_0x53b561(0x3e8)]?(this[_0x53b561(0x2a7)][_0x53b561(0x3c3)]({'content':this[_0x53b561(0x31f)]['t'](_0x53b561(0x3d6)),'type':_0x53e1d0[_0x53b561(0x31b)]['Warning']}),this[_0x53b561(0x350)]['updatePermissionPoint'](new _0xdbe912[(_0x53b561(0x47e))](this[_0x53b561(0x35f)])['id'],!0x1)):this['_permissionService'][_0x53b561(0x22f)](new _0xdbe912[(_0x53b561(0x47e))](this[_0x53b561(0x35f)])['id'],!0x0);})));let _0x11dbb4=!0x1;return this[_0x28f597(0x595)](this[_0x28f597(0x57a)][_0x28f597(0x314)][_0x28f597(0x200)](_0x4bb51e=>{const _0x5f1ca2=_0x28f597;_0x4bb51e===_0x4c781c['ONLINE']?this[_0x5f1ca2(0x410)](_0x11dbb4):_0x4bb51e===_0x4c781c['OFFLINE']&&(_0x11dbb4=!0x0,this[_0x5f1ca2(0x49d)]());})),this[_0x28f597(0x595)](this[_0x28f597(0x57a)][_0x28f597(0x1b6)][_0x28f597(0x200)](_0x2c592a=>{const _0x55c5e9=_0x28f597;try{switch(_0x2c592a[_0x55c5e9(0x1c6)]){case _0x346629[_0x55c5e9(0x2fa)][_0x55c5e9(0x4d9)]:{this[_0x55c5e9(0x445)](_0x346629['parseProtocolChangeset'](_0x2c592a[_0x55c5e9(0x34f)]));break;}case _0x346629['CollaborationEvent'][_0x55c5e9(0x44c)]:{this['_onRemoteACK'](_0x2c592a[_0x55c5e9(0x34f)]);break;}case _0x346629[_0x55c5e9(0x2fa)][_0x55c5e9(0x20a)]:{this[_0x55c5e9(0x50d)]();break;}case _0x346629[_0x55c5e9(0x2fa)][_0x55c5e9(0x246)]:{this[_0x55c5e9(0x4fa)](_0x2c592a[_0x55c5e9(0x34f)][_0x55c5e9(0x2bd)]['map'](_0x31aea1=>_0x346629[_0x55c5e9(0x530)](_0x31aea1)));break;}case _0x346629[_0x55c5e9(0x2fa)][_0x55c5e9(0x1ed)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x14bed9){throw console['error'](_0x55c5e9(0x460),_0x14bed9),_0x14bed9;}})),this[_0x28f597(0x53b)];}[_0x51d41b(0x2a2)](){this['_transitionLocked']=!0x1;}[_0x51d41b(0x262)](){const _0x525871=_0x51d41b;if(this['_transitionLocked'])throw new Error(_0x525871(0x4d2));this[_0x525871(0x443)]=!0x0;}[_0x51d41b(0x1f0)](_0xcc7772){const _0x571477=_0x51d41b;this[_0x571477(0x262)](),this[_0x571477(0x3d3)](this[_0x571477(0x53b)][_0x571477(0x1f1)](_0xcc7772)),this[_0x571477(0x2a2)]();}[_0x51d41b(0x445)](_0x284ffa){const _0x575edf=_0x51d41b;if(!(_0x284ffa[_0x575edf(0x384)]<=this[_0x575edf(0x2c4)][_0x575edf(0x59e)](this[_0x575edf(0x35f)]))){if(this[_0x575edf(0x2b4)]){this[_0x575edf(0x53c)][_0x575edf(0x3cf)](_0x284ffa);return;}this[_0x575edf(0x50a)](_0x284ffa);}}[_0x51d41b(0x42b)](){const _0xd18637=_0x51d41b;this['_remoteChangesetQueue'][_0xd18637(0x1a9)](_0x2acaab=>this[_0xd18637(0x50a)](_0x2acaab)),this[_0xd18637(0x53c)]=[];}[_0x51d41b(0x50a)](_0x2b6312){const _0x4b1441=_0x51d41b,_0x45d730=this['_compressMutationService'][_0x4b1441(0x328)][_0x4b1441(0x4c6)](this[_0x4b1441(0x241)][_0x4b1441(0x328)][_0x4b1441(0x2dc)]()[_0x4b1441(0x4fe)])(_0x2b6312[_0x4b1441(0x533)],null)||_0x2b6312[_0x4b1441(0x533)],_0x5b3aa0={..._0x2b6312,'mutations':_0x45d730};this[_0x4b1441(0x262)](),this[_0x4b1441(0x3d3)](this[_0x4b1441(0x53b)][_0x4b1441(0x3f8)](_0x5b3aa0)),this[_0x4b1441(0x2a2)]();}[_0x51d41b(0x33e)](_0x5f0198){const _0x2ccbdf=_0x51d41b;this['_lockTransition'](),this[_0x2ccbdf(0x3d3)](this[_0x2ccbdf(0x53b)][_0x2ccbdf(0x387)](_0x5f0198)),this[_0x2ccbdf(0x2a2)]();}[_0x51d41b(0x50d)](_0x90b86a){const _0x4b86ae=_0x51d41b;this[_0x4b86ae(0x262)](),this['_updateState'](this['_state'][_0x4b86ae(0x1c7)](_0x90b86a)),this['_unlockTransition']();}['_onFetchMissResult'](_0xbeeff4){const _0x64f400=_0x51d41b;if(!(this[_0x64f400(0x53b)]instanceof _0x54cd11))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x2cb1a7=_0xbeeff4[_0x64f400(0x565)](_0x5ee955=>{const _0x2848c1=_0x64f400,_0x30d925=this[_0x2848c1(0x241)][_0x2848c1(0x328)][_0x2848c1(0x4c6)](this[_0x2848c1(0x241)][_0x2848c1(0x328)][_0x2848c1(0x2dc)]()[_0x2848c1(0x4fe)])(_0x5ee955['mutations'],null)||_0x5ee955[_0x2848c1(0x533)];return{..._0x5ee955,'mutations':_0x30d925};});this[_0x64f400(0x262)](),this[_0x64f400(0x3d3)](this[_0x64f400(0x53b)][_0x64f400(0x382)](_0x2cb1a7)),this[_0x64f400(0x2a2)]();}[_0x51d41b(0x49d)](){const _0x591258=_0x51d41b;this[_0x591258(0x262)](),this[_0x591258(0x3d3)](this[_0x591258(0x53b)][_0x591258(0x39f)]()),this[_0x591258(0x2a2)]();}['_toggleOnline'](_0x520120=!0x1){const _0x2f4f12=_0x51d41b;this[_0x2f4f12(0x262)](),this[_0x2f4f12(0x3d3)](this[_0x2f4f12(0x53b)][_0x2f4f12(0x458)]()),this[_0x2f4f12(0x2a2)]();const _0x1ccac2=this[_0x2f4f12(0x53b)];_0x520120&&_0x1ccac2 instanceof _0x27c498&&(this[_0x2f4f12(0x262)](),this[_0x2f4f12(0x3d3)](_0x1ccac2[_0x2f4f12(0x243)]()),this[_0x2f4f12(0x2a2)]());}async[_0x51d41b(0x5ab)](){return new Promise(_0x32b566=>{const _0x302904=_0x4682;this[_0x302904(0x57a)][_0x302904(0x314)][_0x302904(0x257)](_0x22cf47['take'](0x1))['subscribe'](async _0x50ac82=>{const _0x55cb1b=_0x302904;_0x32b566(await this[_0x55cb1b(0x42a)](_0x50ac82===_0x4c781c[_0x55cb1b(0x2b3)]));});});}[_0x51d41b(0x406)](){const _0x4bb004=_0x51d41b,_0x584389=this[_0x4bb004(0x35f)];return{'onStateChange':(_0x18395f,_0x116de2)=>{const _0x2965b7=_0x4bb004;if(_0x18395f!==this[_0x2965b7(0x53b)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x18395f[_0x2965b7(0x199)]+_0x2965b7(0x44a)+_0x116de2['status']+'\x0aCurrent:\x20'+this[_0x2965b7(0x53b)]['status']);this[_0x2965b7(0x3d3)](_0x116de2);},'onSendChangeset':_0x10294e=>{const _0x721456=_0x4bb004,_0x3a8ae1={'eventID':_0x346629[_0x721456(0x2fa)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x10294e[_0x721456(0x35f)],'unitType':this[_0x721456(0x369)],'changeset':_0x10294e,'memberID':this[_0x721456(0x57a)]['getMemberID']()}};this[_0x721456(0x57a)]['send'](_0x3a8ae1,this[_0x721456(0x35f)]);},'onMissingChangesets':({from:_0x45b580,to:_0x3ebcb5})=>{const _0x204c61=_0x4bb004;this[_0x204c61(0x545)][_0x204c61(0x45b)]('[CollaborationEntity]',_0x204c61(0x394)+_0x45b580+'\x20to\x20'+_0x3ebcb5);const _0x392cec={'eventID':_0x346629['CollaborationEvent']['FETCH_MISSING'],'data':{'unitID':_0x584389,'unitType':this[_0x204c61(0x369)],'from':_0x45b580,'to':_0x3ebcb5}};this['session'][_0x204c61(0x4a2)](_0x392cec,this[_0x204c61(0x35f)]);}};}async[_0x51d41b(0x42a)](_0x75d38f){const _0x21099a=_0x51d41b;var _0x5ca550,_0x10f34d;const _0x10eef7=await this[_0x21099a(0x552)][_0x21099a(0x335)](this[_0x21099a(0x35f)]),_0x1deb5d=(_0x5ca550=_0x10eef7==null?void 0x0:_0x10eef7['mutations'])!=null?_0x5ca550:[],_0x5bb847=(_0x10f34d=_0x10eef7==null?void 0x0:_0x10eef7['awaitingChangeset'])!=null?_0x10f34d:null,_0x3ee632=this[_0x21099a(0x35f)];try{this[_0x21099a(0x599)](_0x5bb847,_0x1deb5d);}catch(_0x3411a9){this['_logService'][_0x21099a(0x405)](_0x3411a9);}const _0x41dab3=this[_0x21099a(0x406)]();if(_0x75d38f){const _0x4214a8=_0x14c4f8(this[_0x21099a(0x2b0)],_0x3ee632,this[_0x21099a(0x369)],_0x5bb847,_0x1deb5d,_0x41dab3);return _0x4214a8 instanceof _0xe38ae6?_0x4214a8[_0x21099a(0x1e2)]():(_0x4214a8 instanceof _0x3d7f52||_0x4214a8 instanceof _0x2fb341)&&_0x4214a8[_0x21099a(0x4bb)](),_0x4214a8;}return this['_injector']['createInstance'](_0xad8cf9,_0x3ee632,this[_0x21099a(0x369)],_0x5bb847,_0x1deb5d,_0x41dab3);}[_0x51d41b(0x599)](_0x5140d0,_0x4de57b){const _0x2bb0aa=_0x51d41b;var _0xbfaf7e,_0x4a35bf;const _0x4dfaa1=this[_0x2bb0aa(0x241)][_0x2bb0aa(0x328)][_0x2bb0aa(0x4c6)](this[_0x2bb0aa(0x241)]['interceptor'][_0x2bb0aa(0x2dc)]()[_0x2bb0aa(0x4fe)]);(_0xbfaf7e=_0x4dfaa1((_0x5140d0==null?void 0x0:_0x5140d0['mutations'])||[],null))==null||_0xbfaf7e[_0x2bb0aa(0x1a9)](_0x305c49=>this[_0x2bb0aa(0x561)][_0x2bb0aa(0x4d0)](_0x305c49['id'],_0x305c49[_0x2bb0aa(0x1c3)])),(_0x4a35bf=_0x4dfaa1(_0x4de57b||[],null))==null||_0x4a35bf[_0x2bb0aa(0x1a9)](_0x532bb=>this[_0x2bb0aa(0x561)][_0x2bb0aa(0x4d0)](_0x532bb['id'],_0x532bb['params']));}},_0x59ce0d[_0x51d41b(0x44d)]=_0x16cee8([_0x26a766(0x3,_0x36d396[_0x51d41b(0x2ae)](_0x36d396[_0x51d41b(0x268)])),_0x26a766(0x4,_0x36d396[_0x51d41b(0x2ae)](_0x59ce0d[_0x51d41b(0x434)])),_0x26a766(0x5,_0x36d396[_0x51d41b(0x2ae)](_0x346629[_0x51d41b(0x2da)])),_0x26a766(0x6,_0x36d396['Inject'](_0x36d396[_0x51d41b(0x22d)])),_0x26a766(0x7,_0x36d396[_0x51d41b(0x2ae)](_0x346629['RevisionService'])),_0x26a766(0x8,_0x36d396[_0x51d41b(0x495)]),_0x26a766(0x9,_0x36d396[_0x51d41b(0x1d5)]),_0x26a766(0xa,_0x455671[_0x51d41b(0x1c1)]),_0x26a766(0xb,_0x36d396[_0x51d41b(0x326)]),_0x26a766(0xc,_0x36d396[_0x51d41b(0x43f)](_0x33f55f))],_0x59ce0d[_0x51d41b(0x44d)]),_0x59ce0d['DocCollaborationEntity']=class extends _0x59ce0d[_0x51d41b(0x44d)]{constructor(_0x4dcaf7,_0x10fd25,_0x168237,_0x5b2591,_0x41c03c,_0x1bdc13,_0xdd4105,_0x1a6f46,_0x3d1742,_0x2a0f18,_0x608e5e,_0x4a2504,_0x2e3291,_0x1a8d69,_0x3f5131,_0x431eb7,_0x6d7e31){const _0x38555b=_0x51d41b;super(_0x4dcaf7,_0x168237,_0x10fd25,_0x5b2591,_0x41c03c,_0x1bdc13,_0xdd4105,_0x1a6f46,_0x2e3291,_0x1a8d69,_0x3f5131,_0x431eb7,_0x6d7e31),this['unitID']=_0x4dcaf7,this['type']=_0x10fd25,this[_0x38555b(0x473)]=_0x3d1742,this[_0x38555b(0x2ff)]=_0x2a0f18,this[_0x38555b(0x4c0)]=_0x608e5e,this[_0x38555b(0x42d)]=_0x4a2504;}[_0x51d41b(0x406)](){const _0x11d8b2=_0x51d41b,_0x266900=super[_0x11d8b2(0x406)]();return _0x266900['onTransformIME']=_0x264524=>this[_0x11d8b2(0x2ff)][_0x11d8b2(0x43e)](_0x264524),_0x266900[_0x11d8b2(0x23c)]=_0x4877af=>this[_0x11d8b2(0x4c0)]['transformSelections'](_0x4877af),_0x266900['onSyncEditingCollabCursor']=_0x22bec4=>this[_0x11d8b2(0x42d)][_0x11d8b2(0x2f6)](_0x22bec4),_0x266900['onTransformRemoteChangesetByIMECache']=_0x56d6de=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x56d6de),_0x266900;}async['_init'](){const _0x3e31dc=_0x51d41b,_0x387859=await super[_0x3e31dc(0x571)]();return this[_0x3e31dc(0x595)](this[_0x3e31dc(0x561)]['onCommandExecuted']((_0x296ac0,_0x512a6d)=>{const _0x21cc14=_0x3e31dc;if(_0x296ac0['type']!==_0x36d396[_0x21cc14(0x3c4)][_0x21cc14(0x1f5)]||_0x512a6d!=null&&_0x512a6d[_0x21cc14(0x3a0)]||_0x512a6d!=null&&_0x512a6d['onlyLocal'])return;const _0x66fcce=_0x296ac0[_0x21cc14(0x1c3)];if((_0x66fcce==null?void 0x0:_0x66fcce[_0x21cc14(0x19b)])!==this[_0x21cc14(0x35f)])return;let _0x40a8df=_0x296ac0;if(_0x40a8df['id']===_0x569fac[_0x21cc14(0x4ec)]['id']){const _0xd850d0=_0x40a8df[_0x21cc14(0x1c3)];_0x40a8df={'id':_0x569fac[_0x21cc14(0x4ec)]['id'],'type':_0x36d396[_0x21cc14(0x3c4)][_0x21cc14(0x1f5)],'params':{'unitId':_0xd850d0[_0x21cc14(0x19b)],'actions':_0xd850d0[_0x21cc14(0x583)],'textRanges':null}};}const _0x54c4e1=this['_compressMutationService'][_0x21cc14(0x328)][_0x21cc14(0x4c6)](this[_0x21cc14(0x241)][_0x21cc14(0x328)][_0x21cc14(0x2dc)]()[_0x21cc14(0x597)])([_0x40a8df],null)||[_0x40a8df];this[_0x21cc14(0x1f0)](_0x54c4e1[0x0]);})),_0x387859;}},_0x59ce0d[_0x51d41b(0x2d0)]=_0x16cee8([_0x26a766(0x3,_0x36d396['Inject'](_0x36d396[_0x51d41b(0x268)])),_0x26a766(0x4,_0x36d396[_0x51d41b(0x2ae)](_0x59ce0d['LocalCacheService'])),_0x26a766(0x5,_0x36d396[_0x51d41b(0x2ae)](_0x346629[_0x51d41b(0x2da)])),_0x26a766(0x6,_0x36d396['Inject'](_0x36d396[_0x51d41b(0x22d)])),_0x26a766(0x7,_0x36d396[_0x51d41b(0x2ae)](_0x346629[_0x51d41b(0x527)])),_0x26a766(0x8,_0x36d396[_0x51d41b(0x2ae)](_0x569fac[_0x51d41b(0x27b)])),_0x26a766(0x9,_0x36d396[_0x51d41b(0x2ae)](_0x3106a2)),_0x26a766(0xa,_0x36d396['Inject'](_0xe78d9a)),_0x26a766(0xb,_0x36d396[_0x51d41b(0x2ae)](_0xb807fa)),_0x26a766(0xc,_0x36d396[_0x51d41b(0x495)]),_0x26a766(0xd,_0x36d396[_0x51d41b(0x1d5)]),_0x26a766(0xe,_0x455671[_0x51d41b(0x1c1)]),_0x26a766(0xf,_0x36d396[_0x51d41b(0x326)]),_0x26a766(0x10,_0x36d396[_0x51d41b(0x43f)](_0x33f55f))],_0x59ce0d['DocCollaborationEntity']),_0x59ce0d[_0x51d41b(0x479)]=class extends _0x59ce0d[_0x51d41b(0x44d)]{constructor(_0x1a0748,_0xae3dda,_0x5497fe,_0x3fcafe,_0x3b124d,_0x17d9cc,_0x174c9b,_0x4dd39c,_0x5eecc7,_0x53d413,_0x5ca17a,_0xc1bcf8,_0x260df1,_0x26de11){const _0x103315=_0x51d41b;super(_0x1a0748,_0x5497fe,_0xae3dda,_0x3fcafe,_0x3b124d,_0x17d9cc,_0x174c9b,_0x4dd39c,_0x53d413,_0x5ca17a,_0xc1bcf8,_0x260df1,_0x26de11),this[_0x103315(0x35f)]=_0x1a0748,this[_0x103315(0x2cb)]=_0xae3dda,this['_sheetTransformSelectionsService']=_0x5eecc7;}['_createHandler'](){const _0x5b458f=_0x51d41b,_0x386f48=super[_0x5b458f(0x406)]();return _0x386f48[_0x5b458f(0x23c)]=_0x4144c4=>this[_0x5b458f(0x2a0)][_0x5b458f(0x3dd)](_0x4144c4),_0x386f48;}async['_init'](){const _0x4b1b04=_0x51d41b,_0x50981a=await super[_0x4b1b04(0x571)]();return this[_0x4b1b04(0x595)](this[_0x4b1b04(0x561)][_0x4b1b04(0x1c8)]((_0x20a6a9,_0x551b1e)=>{const _0x582ed5=_0x4b1b04;if(_0x20a6a9[_0x582ed5(0x2cb)]!==_0x36d396['CommandType'][_0x582ed5(0x1f5)]||_0x551b1e!=null&&_0x551b1e[_0x582ed5(0x3a0)]||_0x551b1e!=null&&_0x551b1e[_0x582ed5(0x310)])return;const _0x5d3243=_0x20a6a9['params'];if((_0x5d3243==null?void 0x0:_0x5d3243[_0x582ed5(0x19b)])!==this[_0x582ed5(0x35f)])return;const _0x6f358b=_0x20a6a9,_0x276312=this[_0x582ed5(0x241)]['interceptor'][_0x582ed5(0x4c6)](this['_compressMutationService'][_0x582ed5(0x328)][_0x582ed5(0x2dc)]()[_0x582ed5(0x597)])([_0x6f358b],null)||[_0x6f358b];this['_onLocalMutation'](_0x276312[0x0]);})),_0x50981a;}},_0x59ce0d[_0x51d41b(0x479)]=_0x16cee8([_0x26a766(0x3,_0x36d396[_0x51d41b(0x2ae)](_0x36d396[_0x51d41b(0x268)])),_0x26a766(0x4,_0x36d396[_0x51d41b(0x2ae)](_0x59ce0d[_0x51d41b(0x434)])),_0x26a766(0x5,_0x36d396[_0x51d41b(0x2ae)](_0x346629[_0x51d41b(0x2da)])),_0x26a766(0x6,_0x36d396[_0x51d41b(0x2ae)](_0x36d396[_0x51d41b(0x22d)])),_0x26a766(0x7,_0x36d396['Inject'](_0x346629[_0x51d41b(0x527)])),_0x26a766(0x8,_0x36d396[_0x51d41b(0x2ae)](_0x57d656)),_0x26a766(0x9,_0x36d396[_0x51d41b(0x495)]),_0x26a766(0xa,_0x36d396[_0x51d41b(0x1d5)]),_0x26a766(0xb,_0x455671[_0x51d41b(0x1c1)]),_0x26a766(0xc,_0x36d396['IPermissionService']),_0x26a766(0xd,_0x36d396[_0x51d41b(0x43f)](_0x33f55f))],_0x59ce0d[_0x51d41b(0x479)]);var _0x280879=Object[_0x51d41b(0x215)],_0x4a61a4=Object[_0x51d41b(0x2b7)],_0x122c2b=(_0x39f088,_0x535709,_0x11ee23,_0x25fc81)=>{for(var _0x4c6ba1=_0x25fc81>0x1?void 0x0:_0x25fc81?_0x4a61a4(_0x535709,_0x11ee23):_0x535709,_0x3cbf25=_0x39f088['length']-0x1,_0x565a52;_0x3cbf25>=0x0;_0x3cbf25--)(_0x565a52=_0x39f088[_0x3cbf25])&&(_0x4c6ba1=(_0x25fc81?_0x565a52(_0x535709,_0x11ee23,_0x4c6ba1):_0x565a52(_0x4c6ba1))||_0x4c6ba1);return _0x25fc81&&_0x4c6ba1&&_0x280879(_0x535709,_0x11ee23,_0x4c6ba1),_0x4c6ba1;},_0x244e31=(_0x4bae1a,_0x589633)=>(_0x53b3e8,_0x2467a4)=>_0x589633(_0x53b3e8,_0x2467a4,_0x4bae1a);_0x59ce0d['CollaborationController']=class extends _0x36d396[_0x51d41b(0x480)]{constructor(_0x487a85,_0x4e126e,_0x4a6c3f){const _0x3af01c=_0x51d41b;super(),_0x55fd67(this,_0x3af01c(0x20f),new Map()),_0x55fd67(this,_0x3af01c(0x21c),new _0x22cf47['Subject']()),(this[_0x3af01c(0x2b0)]=_0x487a85,this[_0x3af01c(0x319)]=_0x4e126e,this['_univerInstanceService']=_0x4a6c3f,this[_0x3af01c(0x571)]());}[_0x51d41b(0x3cd)](){const _0x486444=_0x51d41b;super[_0x486444(0x3cd)](),this[_0x486444(0x20f)][_0x486444(0x1a9)](_0x54d5c3=>_0x54d5c3[_0x486444(0x3cd)]()),this['_entities'][_0x486444(0x3a7)]();}[_0x51d41b(0x510)](_0x13eeb5){const _0x48f170=_0x51d41b;var _0x27035e;return(_0x27035e=this[_0x48f170(0x20f)][_0x48f170(0x58c)](_0x13eeb5))!=null?_0x27035e:null;}[_0x51d41b(0x1d7)](_0x2cf23c){const _0x22466d=_0x51d41b,_0x4e9bfc=this[_0x22466d(0x510)](_0x2cf23c);return _0x4e9bfc?_0x22cf47['of'](_0x4e9bfc):this[_0x22466d(0x21c)][_0x22466d(0x257)](_0x547088['filter'](_0x17d41f=>_0x17d41f[_0x22466d(0x35f)]===_0x2cf23c));}['_init'](){const _0x2915d2=_0x51d41b;this[_0x2915d2(0x273)][_0x2915d2(0x3b6)](_0x36d396[_0x2915d2(0x26a)]['UNIVER_SHEET'])[_0x2915d2(0x257)](_0x22cf47[_0x2915d2(0x5a4)](this[_0x2915d2(0x1b2)]),_0x547088[_0x2915d2(0x587)](0x10))[_0x2915d2(0x200)](async _0x9cdc61=>{const _0x2b75c7=_0x2915d2,_0x57c2e0=_0x9cdc61[_0x2b75c7(0x4ce)](),_0x398e3c=await this[_0x2b75c7(0x1b5)](_0x57c2e0,_0x54451c[_0x2b75c7(0x1d8)]);this[_0x2b75c7(0x20f)][_0x2b75c7(0x27f)](_0x57c2e0,_0x398e3c);}),this[_0x2915d2(0x273)][_0x2915d2(0x3b6)](_0x36d396['UniverInstanceType']['UNIVER_DOC'])[_0x2915d2(0x257)](_0x22cf47[_0x2915d2(0x5a4)](this['dispose$']),_0x547088[_0x2915d2(0x587)](0x10))[_0x2915d2(0x257)](_0x547088[_0x2915d2(0x280)](_0x1eccfd=>!_0x1eccfd[_0x2915d2(0x4ce)]()[_0x2915d2(0x59c)]('__')))[_0x2915d2(0x200)](async _0x151154=>{const _0x5badab=_0x2915d2,_0x49b08f=_0x151154[_0x5badab(0x4ce)](),_0x53650a=await this[_0x5badab(0x1b5)](_0x49b08f,_0x54451c[_0x5badab(0x43c)]);this[_0x5badab(0x20f)][_0x5badab(0x27f)](_0x49b08f,_0x53650a);}),_0x22cf47['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x36d396[_0x2915d2(0x26a)][_0x2915d2(0x1d8)]),this[_0x2915d2(0x273)][_0x2915d2(0x505)](_0x36d396[_0x2915d2(0x26a)]['UNIVER_DOC']))[_0x2915d2(0x257)](_0x22cf47[_0x2915d2(0x5a4)](this[_0x2915d2(0x1b2)]))[_0x2915d2(0x200)](_0xcb96d8=>{const _0x178512=_0x2915d2,_0x368940=_0xcb96d8[_0x178512(0x4ce)](),_0x416cda=this['_entities'][_0x178512(0x58c)](_0x368940);_0x416cda&&(_0x416cda[_0x178512(0x3cd)](),this[_0x178512(0x20f)][_0x178512(0x560)](_0x368940));});}async['_startCollaboration'](_0x2aea39,_0x3038aa){const _0x3c041e=_0x51d41b,_0x4b9163=await this['_collabSessionService'][_0x3c041e(0x208)](_0x2aea39),_0x21487e=this[_0x3c041e(0x2b0)][_0x3c041e(0x2e7)](this[_0x3c041e(0x325)](_0x3038aa),_0x2aea39,_0x3038aa,_0x4b9163);return await _0x21487e[_0x3c041e(0x46c)](),this['_entityInit$'][_0x3c041e(0x1d6)](_0x21487e),_0x21487e;}['_getCtorByUniverType'](_0x444e4a){const _0x574777=_0x51d41b;switch(_0x444e4a){case _0x54451c[_0x574777(0x43c)]:return _0x59ce0d[_0x574777(0x2d0)];case _0x54451c['UNIVER_SHEET']:return _0x59ce0d['SheetCollaborationEntity'];default:throw new Error(_0x574777(0x1aa)+_0x444e4a);}}},_0x59ce0d[_0x51d41b(0x4e2)]=_0x122c2b([_0x244e31(0x0,_0x36d396['Inject'](_0x36d396[_0x51d41b(0x268)])),_0x244e31(0x1,_0x36d396[_0x51d41b(0x2ae)](_0x59ce0d[_0x51d41b(0x285)])),_0x244e31(0x2,_0x36d396[_0x51d41b(0x2c5)])],_0x59ce0d[_0x51d41b(0x4e2)]);const _0x441c7d=['purple300','jiqing500','verdancy600','red300',_0x51d41b(0x4df),_0x51d41b(0x4f3)];class _0x2f29bf extends _0x36d396[_0x51d41b(0x4f0)]{constructor(){const _0x5a2e96=_0x51d41b;super(...arguments),_0x55fd67(this,_0x5a2e96(0x20c),new Map()),_0x55fd67(this,'_colorIndex',0x0);}[_0x51d41b(0x564)](_0x734049){const _0xde34aa=_0x51d41b;if(this[_0xde34aa(0x20c)][_0xde34aa(0x58b)](_0x734049))return this[_0xde34aa(0x20c)][_0xde34aa(0x58c)](_0x734049);const _0x5b9e4a=_0x441c7d[this[_0xde34aa(0x402)]];return this[_0xde34aa(0x402)]=(this[_0xde34aa(0x402)]+0x1)%_0x441c7d[_0xde34aa(0x392)],this[_0xde34aa(0x20c)][_0xde34aa(0x27f)](_0x734049,_0x5b9e4a),_0x5b9e4a;}}var _0x4614e9=Object[_0x51d41b(0x215)],_0x54f023=Object['getOwnPropertyDescriptor'],_0x5c53ba=(_0x544215,_0x37cce7,_0x5a5d8b,_0x3d8151)=>{const _0x3dc3ba=_0x51d41b;for(var _0x3c88d3=_0x3d8151>0x1?void 0x0:_0x3d8151?_0x54f023(_0x37cce7,_0x5a5d8b):_0x37cce7,_0x4a16ca=_0x544215[_0x3dc3ba(0x392)]-0x1,_0x2c5b99;_0x4a16ca>=0x0;_0x4a16ca--)(_0x2c5b99=_0x544215[_0x4a16ca])&&(_0x3c88d3=(_0x3d8151?_0x2c5b99(_0x37cce7,_0x5a5d8b,_0x3c88d3):_0x2c5b99(_0x3c88d3))||_0x3c88d3);return _0x3d8151&&_0x3c88d3&&_0x4614e9(_0x37cce7,_0x5a5d8b,_0x3c88d3),_0x3c88d3;},_0x13c286=(_0x2b197c,_0xc1ab3d)=>(_0x33d0,_0x1dc8f7)=>_0xc1ab3d(_0x33d0,_0x1dc8f7,_0x2b197c);const _0x34adef=0x12c,_0x2f4198=0x64,_0x2c980a=()=>{let _0x46c9b2=[],_0x47f9cc=!0x1;return _0x3cae6b=>{const _0x5cec84=_0x4682;_0x46c9b2[_0x5cec84(0x3cf)](_0x3cae6b),_0x47f9cc||(_0x47f9cc=!0x0,setTimeout(()=>{const _0x2df6a1=_0x5cec84;_0x46c9b2[_0x2df6a1(0x1a9)](_0x5e9953=>_0x5e9953()),_0x46c9b2=[],_0x47f9cc=!0x1;}));};};let _0x51b76e=class extends _0x36d396[_0x51d41b(0x480)]{constructor(_0x885265,_0x501f6e,_0x5a5723,_0x557c9a,_0xefe18b,_0x35c582,_0x2faf88,_0x4a3a6d){const _0x252044=_0x51d41b;super(),_0x55fd67(this,_0x252044(0x286),!0x1),_0x55fd67(this,_0x252044(0x571),!0x1),_0x55fd67(this,_0x252044(0x323),new _0x22cf47[(_0x252044(0x482))](new Map())),_0x55fd67(this,_0x252044(0x1d0),this[_0x252044(0x323)][_0x252044(0x544)]()),_0x55fd67(this,_0x252044(0x212),new _0x22cf47[(_0x252044(0x482))]([])),_0x55fd67(this,_0x252044(0x251),this[_0x252044(0x212)]['pipe'](_0x22cf47[_0x252044(0x41c)](_0x34adef))),_0x55fd67(this,_0x252044(0x411),_0x3179a3((_0x39f64e,_0x16de51)=>{const _0x5a42fb=_0x252044,_0x1d5c63={'eventID':_0x346629['CollaborationEvent'][_0x5a42fb(0x191)],'data':{'unitID':this['unitID'],'memberID':this[_0x5a42fb(0x598)]['getMemberID'](),'selection':_0x933578[_0x5a42fb(0x3b5)](_0x39f64e,_0x16de51[_0x5a42fb(0x20b)])}};this[_0x5a42fb(0x598)]['send'](_0x1d5c63,this[_0x5a42fb(0x35f)]);},_0x2f4198)),(this[_0x252044(0x35f)]=_0x885265,this['_session']=_0x501f6e,this[_0x252044(0x2b0)]=_0x5a5723,this[_0x252044(0x23d)]=_0x557c9a,this[_0x252044(0x468)]=_0xefe18b,this[_0x252044(0x273)]=_0x35c582,this[_0x252044(0x561)]=_0x2faf88,this[_0x252044(0x4f7)]=_0x4a3a6d);}get['cursorInfo'](){const _0x2a8c83=_0x51d41b;return this[_0x2a8c83(0x323)][_0x2a8c83(0x2b1)]();}get[_0x51d41b(0x358)](){const _0x3da048=_0x51d41b;return this['_roomMembers$'][_0x3da048(0x2b1)]();}[_0x51d41b(0x3cd)](){const _0x34fb8e=_0x51d41b;super[_0x34fb8e(0x3cd)](),this['_cursorInfo$'][_0x34fb8e(0x1d6)](new Map()),this[_0x34fb8e(0x323)][_0x34fb8e(0x22a)](),this[_0x34fb8e(0x212)][_0x34fb8e(0x1d6)]([]),this[_0x34fb8e(0x212)]['complete']();}['init'](){const _0x2e51bd=_0x51d41b;this[_0x2e51bd(0x571)]||(this['_init']=!0x0,this[_0x2e51bd(0x598)][_0x2e51bd(0x314)]['pipe'](_0x22cf47['takeUntil'](this[_0x2e51bd(0x1b2)]))['subscribe'](_0x169d38=>{const _0x2711ca=_0x2e51bd;_0x169d38===_0x4c781c[_0x2711ca(0x2b3)]?this[_0x2711ca(0x410)]():this['_toggleOffline']();}),this[_0x2e51bd(0x598)]['event$'][_0x2e51bd(0x257)](_0x22cf47[_0x2e51bd(0x5a4)](this['dispose$']))[_0x2e51bd(0x200)](_0x248bbd=>{const _0x23ceab=_0x2e51bd,_0x1755ca=_0x248bbd[_0x23ceab(0x1c6)];_0x1755ca===_0x346629[_0x23ceab(0x2fa)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x248bbd),_0x1755ca===_0x346629[_0x23ceab(0x2fa)]['USERS_LEAVE']&&this[_0x23ceab(0x483)](_0x248bbd);}),this[_0x2e51bd(0x1c0)](),this[_0x2e51bd(0x595)](this[_0x2e51bd(0x561)]['onCommandExecuted'](_0xf91874=>{const _0x5f0462=_0x2e51bd;if(this[_0x5f0462(0x286)]&&_0xf91874['id']===_0xdbe912['SetSelectionsOperation']['id']&&_0xf91874[_0x5f0462(0x1c3)][_0x5f0462(0x19b)]===this[_0x5f0462(0x35f)]){const _0x43f10a=_0xf91874['params'];this[_0x5f0462(0x411)](_0x43f10a['subUnitId'],_0x43f10a[_0x5f0462(0x216)][0x0]);}})));}['_onCursorUpdate'](_0x230e0f){const _0x162466=_0x51d41b;var _0x3e0188,_0x397b54;const {memberID:_0x5afd98,selection:_0x17eb51}=_0x230e0f[_0x162466(0x34f)],{sheetName:_0x29b2c8,range:_0x362c3b}=_0x933578[_0x162466(0x3da)](_0x17eb51),_0x378c3e={'name':(_0x397b54=(_0x3e0188=this[_0x162466(0x468)][_0x162466(0x359)](this[_0x162466(0x35f)],_0x5afd98))==null?void 0x0:_0x3e0188[_0x162466(0x346)])!=null?_0x397b54:_0x162466(0x32a),'range':this[_0x162466(0x488)](_0x29b2c8,_0x362c3b),'sheetID':_0x29b2c8,'color':this[_0x162466(0x23d)]['assignAColorForMemberID'](_0x5afd98),'selection':_0x17eb51},_0x7c5be3=this['cursorInfo'];_0x7c5be3[_0x162466(0x27f)](_0x5afd98,_0x378c3e),this[_0x162466(0x323)][_0x162466(0x1d6)](_0x7c5be3);}[_0x51d41b(0x483)](_0x8f78db){const _0x2d3fb7=_0x51d41b,{memberID:_0x5b1a75}=_0x8f78db[_0x2d3fb7(0x34f)],_0x48b8ae=this[_0x2d3fb7(0x324)];_0x48b8ae['delete'](_0x5b1a75),this['_cursorInfo$']['next'](_0x48b8ae);}[_0x51d41b(0x488)](_0x34a81c,_0xb53de0){const _0x2be775=_0x51d41b;var _0x53c99c,_0x8d0cdb;const _0x56279c=(_0x8d0cdb=(_0x53c99c=this[_0x2be775(0x273)]['getUniverSheetInstance'](this[_0x2be775(0x35f)]))==null?void 0x0:_0x53c99c[_0x2be775(0x24f)](_0x34a81c))==null?void 0x0:_0x8d0cdb[_0x2be775(0x538)]();return(_0x56279c==null?void 0x0:_0x56279c[_0x2be775(0x3e3)](_0x59525c=>_0x36d396[_0x2be775(0x3ed)][_0x2be775(0x3c6)](_0x59525c,_0xb53de0)))||_0xb53de0;}[_0x51d41b(0x1c0)](){const _0x3f0bf8=_0x51d41b,_0x3098b7=new _0x36d396['DisposableCollection'](),_0x50d81b=_0x2c980a(),_0x22163c=()=>{const _0x485179=_0x4682;_0x3098b7[_0x485179(0x3cd)]();const _0x287462=(_0x563b9e,_0x3b69f6,_0x427d4d,_0x5c635e)=>{const _0x1cbb6d=_0x485179;let _0x4fc40f=[];switch(_0x563b9e['id']){case _0xdbe912[_0x1cbb6d(0x446)][_0x1cbb6d(0x3b8)]:{_0x4fc40f=_0xdbe912['handleDeleteRangeMoveLeft'](_0x563b9e,_0x5c635e);break;}case _0xdbe912[_0x1cbb6d(0x446)]['DeleteRangeMoveUpCommandId']:{_0x4fc40f=_0xdbe912[_0x1cbb6d(0x51f)](_0x563b9e,_0x5c635e);break;}case _0xdbe912[_0x1cbb6d(0x446)]['InsertColCommandId']:{_0x4fc40f=_0xdbe912[_0x1cbb6d(0x27e)](_0x563b9e,_0x5c635e);break;}case _0xdbe912[_0x1cbb6d(0x446)]['InsertRangeMoveDownCommandId']:{_0x4fc40f=_0xdbe912[_0x1cbb6d(0x30e)](_0x563b9e,_0x5c635e);break;}case _0xdbe912[_0x1cbb6d(0x446)][_0x1cbb6d(0x353)]:{_0x4fc40f=_0xdbe912[_0x1cbb6d(0x2dd)](_0x563b9e,_0x5c635e);break;}case _0xdbe912[_0x1cbb6d(0x446)][_0x1cbb6d(0x1bf)]:{_0x4fc40f=_0xdbe912['handleInsertRow'](_0x563b9e,_0x5c635e);break;}case _0xdbe912['EffectRefRangId']['MoveRangeCommandId']:{_0x4fc40f=_0xdbe912['handleMoveRange'](_0x563b9e,_0x5c635e);break;}case _0xdbe912[_0x1cbb6d(0x446)]['RemoveColCommandId']:{_0x4fc40f=_0xdbe912['handleIRemoveCol'](_0x563b9e,_0x5c635e);break;}case _0xdbe912[_0x1cbb6d(0x446)]['RemoveRowCommandId']:{_0x4fc40f=_0xdbe912[_0x1cbb6d(0x3e0)](_0x563b9e,_0x5c635e);break;}}const _0x42273c=_0xdbe912[_0x1cbb6d(0x5a1)](_0x4fc40f,_0x5c635e),_0x3b7b64=this['cursorInfo']['get'](_0x3b69f6);if(_0x3b7b64&&_0x42273c){const _0x389a24={..._0x3b7b64,'range':_0x42273c};this['cursorInfo'][_0x1cbb6d(0x27f)](_0x3b69f6,_0x389a24),_0x50d81b(()=>{const _0x2009f9=_0x1cbb6d,_0x21a571=this[_0x2009f9(0x4f7)][_0x2009f9(0x1f2)](_0x42273c,_0x5e0ae7=>(_0x21a571['dispose'](),_0x287462(_0x5e0ae7,_0x3b69f6,_0x427d4d,_0x42273c)));_0x3098b7['add'](_0x21a571);});}return{'redos':[],'undos':[]};};this[_0x485179(0x324)][_0x485179(0x1a9)]((_0x57edd9,_0x36fc22)=>{const _0x1e0442=_0x485179,{range:_0x330f0c,sheetID:_0x320684}=_0x57edd9,_0x5310e5=this[_0x1e0442(0x4f7)]['registerRefRange'](_0x330f0c,_0x49ac79=>(_0x5310e5[_0x1e0442(0x3cd)](),_0x287462(_0x49ac79,_0x36fc22,_0x320684,_0x330f0c)));_0x3098b7[_0x1e0442(0x5a2)](_0x5310e5);});};this['disposeWithMe'](_0x36d396[_0x3f0bf8(0x1d9)](this[_0x3f0bf8(0x323)][_0x3f0bf8(0x200)](()=>{_0x22163c();})));}[_0x51d41b(0x410)](){const _0x28f5af=_0x51d41b;var _0x34699a,_0x1e9453;if(this['_online']=!0x0,((_0x34699a=this[_0x28f5af(0x273)][_0x28f5af(0x3ce)]())==null?void 0x0:_0x34699a[_0x28f5af(0x4ce)]())!==this[_0x28f5af(0x35f)])return;const _0x2f204e=(_0x1e9453=this[_0x28f5af(0x2b0)][_0x28f5af(0x58c)](_0xdbe912[_0x28f5af(0x5ac)])[_0x28f5af(0x462)]())==null?void 0x0:_0x1e9453[0x0],_0x2ef96f=this[_0x28f5af(0x273)][_0x28f5af(0x371)](_0x36d396[_0x28f5af(0x26a)][_0x28f5af(0x1d8)])[_0x28f5af(0x25a)]();_0x2f204e&&_0x2ef96f&&this['_updateLocalCursor'](_0x2ef96f[_0x28f5af(0x414)](),_0x2f204e);}[_0x51d41b(0x49d)](){const _0x48b433=_0x51d41b;this[_0x48b433(0x286)]=!0x1;}};_0x51b76e=_0x5c53ba([_0x13c286(0x2,_0x36d396['Inject'](_0x36d396[_0x51d41b(0x268)])),_0x13c286(0x3,_0x36d396[_0x51d41b(0x2ae)](_0x2f29bf)),_0x13c286(0x4,_0x36d396[_0x51d41b(0x2ae)](_0x2e1387)),_0x13c286(0x5,_0x36d396[_0x51d41b(0x2c5)]),_0x13c286(0x6,_0x36d396[_0x51d41b(0x1d5)]),_0x13c286(0x7,_0x36d396['Inject'](_0xdbe912[_0x51d41b(0x3b4)]))],_0x51b76e);var _0x4db1d2=Object['defineProperty'],_0x1ffb31=Object[_0x51d41b(0x2b7)],_0x393a7e=(_0x21ea0e,_0x419897,_0x4c2917,_0x95a461)=>{const _0x542823=_0x51d41b;for(var _0xf59bc6=_0x95a461>0x1?void 0x0:_0x95a461?_0x1ffb31(_0x419897,_0x4c2917):_0x419897,_0x1c9572=_0x21ea0e[_0x542823(0x392)]-0x1,_0x246f89;_0x1c9572>=0x0;_0x1c9572--)(_0x246f89=_0x21ea0e[_0x1c9572])&&(_0xf59bc6=(_0x95a461?_0x246f89(_0x419897,_0x4c2917,_0xf59bc6):_0x246f89(_0xf59bc6))||_0xf59bc6);return _0x95a461&&_0xf59bc6&&_0x4db1d2(_0x419897,_0x4c2917,_0xf59bc6),_0xf59bc6;},_0x5665c8=(_0x303b46,_0x16faa9)=>(_0x17bb9a,_0x16a7bc)=>_0x16faa9(_0x17bb9a,_0x16a7bc,_0x303b46);const _0x2f71fe=0x12c,_0x38e786=0x64;let _0x170182=class extends _0x36d396['RxDisposable']{constructor(_0x5e0f02,_0x533d86,_0x39b355,_0x529e0f,_0x47dc0c,_0xbdcb9d,_0xac8f7f,_0x45410d,_0x75d34f){const _0x2623c9=_0x51d41b;super(),_0x55fd67(this,_0x2623c9(0x286),!0x1),_0x55fd67(this,'_init',!0x1),_0x55fd67(this,_0x2623c9(0x323),new _0x22cf47['BehaviorSubject'](new Map())),_0x55fd67(this,'cursorInfo$',this[_0x2623c9(0x323)][_0x2623c9(0x544)]()),_0x55fd67(this,_0x2623c9(0x212),new _0x22cf47[(_0x2623c9(0x482))]([])),_0x55fd67(this,_0x2623c9(0x251),this[_0x2623c9(0x212)]['pipe'](_0x22cf47['debounceTime'](_0x2f71fe))),_0x55fd67(this,_0x2623c9(0x411),_0x3179a3(_0xe97eec=>{const _0x2e7f8d=_0x2623c9,_0x168b4e={'eventID':_0x346629['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x2e7f8d(0x598)][_0x2e7f8d(0x1fb)](),'selection':_0x31462b(_0xe97eec)}};this['_session'][_0x2e7f8d(0x4a2)](_0x168b4e,this['unitID']);},_0x38e786)),(this[_0x2623c9(0x35f)]=_0x5e0f02,this[_0x2623c9(0x598)]=_0x533d86,this['_injector']=_0x39b355,this[_0x2623c9(0x23d)]=_0x529e0f,this['_memberService']=_0x47dc0c,this[_0x2623c9(0x1d4)]=_0xbdcb9d,this[_0x2623c9(0x376)]=_0xac8f7f,this[_0x2623c9(0x273)]=_0x45410d,this[_0x2623c9(0x561)]=_0x75d34f);}get[_0x51d41b(0x324)](){const _0x364bae=_0x51d41b;return this[_0x364bae(0x323)][_0x364bae(0x2b1)]();}get[_0x51d41b(0x358)](){const _0x1ded85=_0x51d41b;return this[_0x1ded85(0x212)][_0x1ded85(0x2b1)]();}[_0x51d41b(0x3cd)](){const _0x23af4a=_0x51d41b;super[_0x23af4a(0x3cd)](),this['_cursorInfo$'][_0x23af4a(0x1d6)](new Map()),this[_0x23af4a(0x323)]['complete'](),this[_0x23af4a(0x212)][_0x23af4a(0x1d6)]([]),this[_0x23af4a(0x212)][_0x23af4a(0x22a)]();}[_0x51d41b(0x46c)](){const _0x40988f=_0x51d41b;this[_0x40988f(0x571)]||(this[_0x40988f(0x571)]=!0x0,this[_0x40988f(0x598)][_0x40988f(0x314)][_0x40988f(0x257)](_0x22cf47['takeUntil'](this[_0x40988f(0x1b2)]))[_0x40988f(0x200)](_0x5de992=>{const _0x42ff8e=_0x40988f;_0x5de992===_0x4c781c['ONLINE']?this[_0x42ff8e(0x410)]():this[_0x42ff8e(0x49d)]();}),this['_session'][_0x40988f(0x1b6)]['pipe'](_0x22cf47[_0x40988f(0x5a4)](this['dispose$']))[_0x40988f(0x200)](_0xf0bd83=>{const _0x528676=_0x40988f,_0x51ff91=_0xf0bd83['eventID'];_0x51ff91===_0x346629['CollaborationEvent'][_0x528676(0x191)]&&this[_0x528676(0x58f)](_0xf0bd83),_0x51ff91===_0x346629[_0x528676(0x2fa)]['USERS_LEAVE']&&this[_0x528676(0x483)](_0xf0bd83);}),this['disposeWithMe'](this['_commandService'][_0x40988f(0x1c8)](_0x236acf=>{const _0x128584=_0x40988f,_0x3d5b35=_0x236acf[_0x128584(0x1c3)];_0x3d5b35!=null&&this[_0x128584(0x286)]&&_0x236acf['id']===_0x569fac['SetTextSelectionsOperation']['id']&&_0x3d5b35['unitId']===this['unitID']&&_0x3d5b35[_0x128584(0x222)]===!0x1&&this[_0x128584(0x411)](_0x3d5b35['ranges']);})),this[_0x40988f(0x1d4)][_0x40988f(0x40b)][_0x40988f(0x257)](_0x22cf47['takeUntil'](this[_0x40988f(0x1b2)]))[_0x40988f(0x200)](_0x280669=>{const _0x2c4c3c=_0x40988f;if((_0x280669==null?void 0x0:_0x280669[_0x2c4c3c(0x35f)])!==this['unitID'])return;const _0x42fef5={'eventID':_0x346629[_0x2c4c3c(0x2fa)][_0x2c4c3c(0x191)],'data':_0x280669};this[_0x2c4c3c(0x58f)](_0x42fef5);}),this['disposeWithMe'](this[_0x40988f(0x561)][_0x40988f(0x1c8)](_0x4d768c=>{const _0x5b1b3f=_0x40988f;if(_0x4d768c[_0x5b1b3f(0x1c3)]==null)return;const _0x47d97c=_0x4d768c[_0x5b1b3f(0x1c3)];if(_0x4d768c['id']!==_0x569fac[_0x5b1b3f(0x4ec)]['id']||_0x47d97c[_0x5b1b3f(0x19b)]!==this[_0x5b1b3f(0x35f)])return;const _0x3efb26={'id':_0x5b1b3f(0x24e),'params':_0x47d97c},_0x480e82=this['cursorInfo'];for(const [_0x3f27f2,_0x262f64]of _0x480e82){const _0x3c3500={'id':_0x5b1b3f(0x24e),'params':{'unitId':this[_0x5b1b3f(0x35f)],'actions':null,'textRanges':_0x262f64[_0x5b1b3f(0x45c)]}},_0x1913de=this[_0x5b1b3f(0x376)][_0x5b1b3f(0x3e9)](_0x3efb26,_0x3c3500,!0x1);if(_0x346629[_0x5b1b3f(0x3ec)](_0x1913de))throw _0x1913de['error'];_0x480e82[_0x5b1b3f(0x27f)](_0x3f27f2,{..._0x262f64,'ranges':_0x1913de[_0x5b1b3f(0x4b5)][_0x5b1b3f(0x1c3)][_0x5b1b3f(0x559)]});}queueMicrotask(()=>{const _0x558723=_0x5b1b3f;this[_0x558723(0x323)][_0x558723(0x1d6)](_0x480e82);});})));}[_0x51d41b(0x58f)](_0x193f0e){const _0x380cec=_0x51d41b;var _0x16580b,_0x2cc3fd;const {memberID:_0x2bf0c1,selection:_0x4713a8}=_0x193f0e[_0x380cec(0x34f)],_0xdba4bf=_0x302630(_0x4713a8),_0x15ceb0=(_0x2cc3fd=(_0x16580b=this['_memberService'][_0x380cec(0x359)](this[_0x380cec(0x35f)],_0x2bf0c1))==null?void 0x0:_0x16580b[_0x380cec(0x346)])!=null?_0x2cc3fd:'Unknown\x20user',_0x495062={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x2bf0c1),'name':_0x15ceb0,'ranges':_0xdba4bf},_0x229c6e=this[_0x380cec(0x324)];_0x229c6e['set'](_0x2bf0c1,_0x495062),this['_cursorInfo$']['next'](_0x229c6e);}[_0x51d41b(0x483)](_0x316ce9){const _0x5d7963=_0x51d41b,{memberID:_0x381634}=_0x316ce9['data'],_0x319685=this['cursorInfo'];_0x319685[_0x5d7963(0x560)](_0x381634),this[_0x5d7963(0x323)][_0x5d7963(0x1d6)](_0x319685);}['_toggleOnline'](){const _0x2fc286=_0x51d41b;var _0x5f3cb5;if(this[_0x2fc286(0x286)]=!0x0,((_0x5f3cb5=this['_univerInstanceService'][_0x2fc286(0x3ce)]())==null?void 0x0:_0x5f3cb5['getUnitId']())!==this[_0x2fc286(0x35f)])return;const _0x41d46f=this[_0x2fc286(0x2b0)][_0x2fc286(0x58c)](_0x569fac[_0x2fc286(0x35c)])[_0x2fc286(0x4f4)](),_0xed5139=_0x41d46f==null?void 0x0:_0x41d46f[_0x2fc286(0x565)](_0x569fac[_0x2fc286(0x2aa)]);Array[_0x2fc286(0x223)](_0xed5139)&&_0xed5139[_0x2fc286(0x392)]>0x0&&this[_0x2fc286(0x411)](_0xed5139);}['_toggleOffline'](){const _0x587293=_0x51d41b;this[_0x587293(0x286)]=!0x1;}};_0x170182=_0x393a7e([_0x5665c8(0x2,_0x36d396[_0x51d41b(0x2ae)](_0x36d396[_0x51d41b(0x268)])),_0x5665c8(0x3,_0x36d396[_0x51d41b(0x2ae)](_0x2f29bf)),_0x5665c8(0x4,_0x36d396[_0x51d41b(0x2ae)](_0x2e1387)),_0x5665c8(0x5,_0x36d396['Inject'](_0xb807fa)),_0x5665c8(0x6,_0x346629['ITransformService']),_0x5665c8(0x7,_0x36d396['IUniverInstanceService']),_0x5665c8(0x8,_0x36d396['ICommandService'])],_0x170182);var _0x32aece=Object['defineProperty'],_0xae93e4=Object['getOwnPropertyDescriptor'],_0x18b496=(_0x5d6338,_0x23af54,_0x29b975,_0x27eb16)=>{const _0x2b5205=_0x51d41b;for(var _0x14eadb=_0x27eb16>0x1?void 0x0:_0x27eb16?_0xae93e4(_0x23af54,_0x29b975):_0x23af54,_0x4bdb21=_0x5d6338[_0x2b5205(0x392)]-0x1,_0x55934b;_0x4bdb21>=0x0;_0x4bdb21--)(_0x55934b=_0x5d6338[_0x4bdb21])&&(_0x14eadb=(_0x27eb16?_0x55934b(_0x23af54,_0x29b975,_0x14eadb):_0x55934b(_0x14eadb))||_0x14eadb);return _0x27eb16&&_0x14eadb&&_0x32aece(_0x23af54,_0x29b975,_0x14eadb),_0x14eadb;},_0x447a46=(_0xace37e,_0x56ef5b)=>(_0x2725d0,_0x2c743b)=>_0x56ef5b(_0x2725d0,_0x2c743b,_0xace37e);let _0x566b79=class extends _0x36d396['RxDisposable']{constructor(_0x3887c1,_0x4ecb01,_0x523b61){const _0x55c6e3=_0x51d41b;super(),_0x55fd67(this,_0x55c6e3(0x20f),new Map()),_0x55fd67(this,_0x55c6e3(0x21c),new _0x22cf47['Subject']()),(this[_0x55c6e3(0x273)]=_0x3887c1,this[_0x55c6e3(0x2b0)]=_0x4ecb01,this[_0x55c6e3(0x319)]=_0x523b61,this[_0x55c6e3(0x571)]());}[_0x51d41b(0x3cd)](){const _0x3e55a0=_0x51d41b;super[_0x3e55a0(0x3cd)](),this[_0x3e55a0(0x21c)]['complete'](),this['_entities'][_0x3e55a0(0x1a9)](_0x262583=>_0x262583['dispose']());}[_0x51d41b(0x45d)](_0x567001){const _0x2ac1f3=_0x51d41b;return this['_entities']['has'](_0x567001)?this[_0x2ac1f3(0x20f)][_0x2ac1f3(0x58c)](_0x567001)['cursorInfo$']:this[_0x2ac1f3(0x21c)][_0x2ac1f3(0x257)](_0x22cf47[_0x2ac1f3(0x280)](_0x4563c5=>_0x4563c5['unitID']===_0x567001),_0x22cf47[_0x2ac1f3(0x40c)](_0x1a6432=>_0x1a6432[_0x2ac1f3(0x1d0)]));}[_0x51d41b(0x571)](){const _0x2b367c=_0x51d41b;this[_0x2b367c(0x273)][_0x2b367c(0x3b6)](_0x36d396[_0x2b367c(0x26a)][_0x2b367c(0x1d8)])[_0x2b367c(0x257)](_0x22cf47[_0x2b367c(0x5a4)](this[_0x2b367c(0x1b2)]))[_0x2b367c(0x200)](async _0x5a9d01=>{const _0xea3a9d=_0x2b367c,_0x493838=_0x5a9d01[_0xea3a9d(0x4ce)](),_0x1b2773=await this['_startSheetCollabCursor'](_0x493838);this['_entityInit$'][_0xea3a9d(0x1d6)](_0x1b2773),this['_entities'][_0xea3a9d(0x27f)](_0x493838,_0x1b2773);}),this[_0x2b367c(0x273)][_0x2b367c(0x3b6)](_0x36d396['UniverInstanceType'][_0x2b367c(0x43c)])['pipe'](_0x22cf47[_0x2b367c(0x5a4)](this['dispose$']))[_0x2b367c(0x257)](_0x22cf47[_0x2b367c(0x280)](_0x51fcc9=>!_0x51fcc9['getUnitId']()['startsWith']('__')))[_0x2b367c(0x200)](async _0x20bf83=>{const _0x5bb742=_0x2b367c,_0x2dc985=_0x20bf83[_0x5bb742(0x4ce)](),_0x3b46b5=await this[_0x5bb742(0x49e)](_0x2dc985);this['_entityInit$'][_0x5bb742(0x1d6)](_0x3b46b5),this[_0x5bb742(0x20f)]['set'](_0x2dc985,_0x3b46b5);}),_0x22cf47['merge'](this['_univerInstanceService'][_0x2b367c(0x505)](_0x36d396[_0x2b367c(0x26a)][_0x2b367c(0x43c)]),this['_univerInstanceService'][_0x2b367c(0x505)](_0x36d396[_0x2b367c(0x26a)]['UNIVER_SHEET']))['pipe'](_0x22cf47[_0x2b367c(0x5a4)](this[_0x2b367c(0x1b2)]))[_0x2b367c(0x200)](_0x2560ef=>{const _0x4fa662=_0x2b367c,_0x1a09fc=_0x2560ef['getUnitId'](),_0x2f202d=this[_0x4fa662(0x20f)][_0x4fa662(0x58c)](_0x1a09fc);_0x2f202d&&(_0x2f202d[_0x4fa662(0x3cd)](),this[_0x4fa662(0x20f)][_0x4fa662(0x560)](_0x1a09fc));});}async['_startSheetCollabCursor'](_0x1f0ef0){const _0xd01ffc=_0x51d41b,_0x1ffd2c=await this['_collabSessionService'][_0xd01ffc(0x208)](_0x1f0ef0),_0x376767=this[_0xd01ffc(0x2b0)][_0xd01ffc(0x2e7)](_0x51b76e,_0x1f0ef0,_0x1ffd2c);return _0x376767[_0xd01ffc(0x46c)](),_0x376767;}async['_startDocCollabCursor'](_0x27bae2){const _0x3c1fba=_0x51d41b,_0x26de06=await this[_0x3c1fba(0x319)][_0x3c1fba(0x208)](_0x27bae2),_0x1b3ad5=this[_0x3c1fba(0x2b0)][_0x3c1fba(0x2e7)](_0x170182,_0x27bae2,_0x26de06);return _0x1b3ad5[_0x3c1fba(0x46c)](),_0x1b3ad5;}};_0x566b79=_0x18b496([_0x36d396['OnLifecycle'](_0x36d396[_0x51d41b(0x520)][_0x51d41b(0x4e8)],_0x566b79),_0x447a46(0x0,_0x36d396[_0x51d41b(0x2c5)]),_0x447a46(0x1,_0x36d396[_0x51d41b(0x2ae)](_0x36d396[_0x51d41b(0x268)])),_0x447a46(0x2,_0x36d396[_0x51d41b(0x2ae)](_0x59ce0d[_0x51d41b(0x285)]))],_0x566b79);const _0x122765=0x14,_0x2b7b13=0xc8,_0x3cb90c=0x4,_0x40980d=0x5;function _0x12fb14(_0x2b8a4b,_0x105480){const _0x1f62f6=_0x51d41b;let {radius:_0x30ad28,width:_0x482f71,height:_0x4f3359}=_0x105480;_0x30ad28=_0x30ad28!=null?_0x30ad28:0x0,_0x482f71=_0x482f71!=null?_0x482f71:0x1e,_0x4f3359=_0x4f3359!=null?_0x4f3359:0x1e;let _0x1112f7=0x0,_0xa08aeb=0x0,_0x53ee0f=0x0;_0x1112f7=_0xa08aeb=_0x53ee0f=Math[_0x1f62f6(0x305)](_0x30ad28,_0x482f71/0x2,_0x4f3359/0x2),_0x2b8a4b[_0x1f62f6(0x542)](),_0x2b8a4b[_0x1f62f6(0x1b8)](_0x1112f7,0x0),_0x2b8a4b[_0x1f62f6(0x1bd)](_0x482f71-_0xa08aeb,0x0),_0x2b8a4b[_0x1f62f6(0x4e1)](_0x482f71-_0xa08aeb,_0xa08aeb,_0xa08aeb,Math['PI']*0x3/0x2,0x0,!0x1),_0x2b8a4b[_0x1f62f6(0x1bd)](_0x482f71,_0x4f3359-_0x53ee0f),_0x2b8a4b[_0x1f62f6(0x4e1)](_0x482f71-_0x53ee0f,_0x4f3359-_0x53ee0f,_0x53ee0f,0x0,Math['PI']/0x2,!0x1),_0x2b8a4b[_0x1f62f6(0x1bd)](0x0,_0x4f3359),_0x2b8a4b[_0x1f62f6(0x1bd)](0x0,_0x1112f7),_0x2b8a4b['arc'](_0x1112f7,_0x1112f7,_0x1112f7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2b8a4b[_0x1f62f6(0x245)](),_0x105480[_0x1f62f6(0x229)]&&(_0x2b8a4b[_0x1f62f6(0x3fc)](),_0x2b8a4b[_0x1f62f6(0x432)]=_0x105480[_0x1f62f6(0x229)],_0x105480[_0x1f62f6(0x307)]===_0x1f62f6(0x206)?_0x2b8a4b['fill']('evenodd'):_0x2b8a4b['fill'](),_0x2b8a4b['restore']());}class _0x5aab28 extends _0x54d1da[_0x51d41b(0x1f4)]{constructor(_0x25a5f2,_0xf87f8a){const _0x5e7d67=_0x51d41b;super(_0x25a5f2,_0xf87f8a),_0x55fd67(this,_0x5e7d67(0x4bc)),_0x55fd67(this,_0x5e7d67(0x3c5)),(this['color']=_0xf87f8a==null?void 0x0:_0xf87f8a[_0x5e7d67(0x4bc)],this[_0x5e7d67(0x3c5)]=_0xf87f8a==null?void 0x0:_0xf87f8a[_0x5e7d67(0x3c5)]);}static['drawWith'](_0x35b6f9,_0x1f2170){const _0x3fe8ec=_0x51d41b,{text:_0x3dea00,color:_0x330b5a}=_0x1f2170;_0x35b6f9['save'](),_0x35b6f9[_0x3fe8ec(0x341)]=_0x3fe8ec(0x2f4);const _0x156288=_0x35b6f9['measureText'](_0x3dea00)[_0x3fe8ec(0x50c)],_0x159969=Math[_0x3fe8ec(0x305)](_0x156288+0x2*_0x3cb90c,_0x2b7b13);_0x12fb14(_0x35b6f9,{'height':_0x122765,'radius':0x4,'width':_0x159969,'fill':_0x330b5a,'evented':!0x1}),_0x35b6f9['fillStyle']=_0x3fe8ec(0x44f);const _0x4a9475=_0x3cb90c,_0x3edb13=_0x122765-_0x40980d,_0x4cc726=_0x2b7b13-0x2*_0x3cb90c;if(_0x156288>_0x4cc726){let _0x239a86='',_0x32daaf=0x0;for(const _0x1afe62 of _0x3dea00){const _0x38bbcc=_0x35b6f9[_0x3fe8ec(0x345)](_0x1afe62)[_0x3fe8ec(0x50c)];if(_0x32daaf+_0x38bbcc<=_0x4cc726-_0x35b6f9['measureText']('...')[_0x3fe8ec(0x50c)])_0x239a86+=_0x1afe62,_0x32daaf+=_0x38bbcc;else{_0x239a86+='...';break;}}_0x35b6f9[_0x3fe8ec(0x2a1)](_0x239a86,_0x4a9475,_0x3edb13);}else _0x35b6f9[_0x3fe8ec(0x2a1)](_0x3dea00,_0x4a9475,_0x3edb13);_0x35b6f9[_0x3fe8ec(0x1bb)]();}[_0x51d41b(0x2d2)](_0x41abc0){const _0x42f685=_0x51d41b;_0x5aab28[_0x42f685(0x1da)](_0x41abc0,this);}}const _0x1b3e1b=0x1,_0x1d5e35=1.5;class _0x21dc68 extends _0x54d1da['Shape']{constructor(_0x101ea8,_0x1c998e){const _0x280a65=_0x51d41b;super(_0x101ea8,_0x1c998e),_0x55fd67(this,_0x280a65(0x253)),_0x55fd67(this,_0x280a65(0x356),!0x1),_0x55fd67(this,_0x280a65(0x1ca)),_0x55fd67(this,_0x280a65(0x553),''),_0x55fd67(this,_0x280a65(0x44b),'top'),_0x55fd67(this,_0x280a65(0x461)),(_0x1c998e&&this[_0x280a65(0x37e)](_0x1c998e),this[_0x280a65(0x594)][_0x280a65(0x3ea)](()=>this[_0x280a65(0x37e)]({'hovered':!0x0})),this[_0x280a65(0x2ec)][_0x280a65(0x3ea)](()=>this[_0x280a65(0x37e)]({'hovered':!0x1})));}[_0x51d41b(0x37e)](_0x2a4fc3){const _0x1d02c0=_0x51d41b;var _0x529561,_0x1cd423,_0x569a76,_0x294a1a,_0xf8ca8f,_0x4531e3;this[_0x1d02c0(0x253)]=(_0x529561=_0x2a4fc3[_0x1d02c0(0x4bc)])!=null?_0x529561:this[_0x1d02c0(0x253)],this[_0x1d02c0(0x356)]=(_0x1cd423=_0x2a4fc3[_0x1d02c0(0x374)])!=null?_0x1cd423:this[_0x1d02c0(0x356)],this[_0x1d02c0(0x1ca)]=(_0x569a76=_0x2a4fc3['range'])!=null?_0x569a76:this[_0x1d02c0(0x1ca)],this[_0x1d02c0(0x553)]=(_0x294a1a=_0x2a4fc3[_0x1d02c0(0x346)])!=null?_0x294a1a:this[_0x1d02c0(0x553)],this['_labelPosition']=(_0xf8ca8f=_0x2a4fc3['labelPosition'])!=null?_0xf8ca8f:this['_labelPosition'],this[_0x1d02c0(0x461)]=(_0x4531e3=_0x2a4fc3[_0x1d02c0(0x4d6)])!=null?_0x4531e3:this[_0x1d02c0(0x461)],this[_0x1d02c0(0x2af)]({'width':_0x2a4fc3[_0x1d02c0(0x50c)],'height':_0x2a4fc3['height']});}[_0x51d41b(0x2bc)](_0x5f1081){const _0x478be7=_0x51d41b,{row:_0x60a85c,column:_0x108393}=_0x5f1081;if(_0x60a85c>=this[_0x478be7(0x1ca)][_0x478be7(0x493)]&&_0x60a85c<=this['_range']['endRow']&&_0x108393>=this[_0x478be7(0x1ca)][_0x478be7(0x230)]&&_0x108393<=this[_0x478be7(0x1ca)][_0x478be7(0x40a)]){this[_0x478be7(0x37e)]({'hovered':!0x0});return;}this[_0x478be7(0x37e)]({'hovered':!0x1});}[_0x51d41b(0x26b)](_0x363ebc){return!0x1;}[_0x51d41b(0x2d2)](_0x49142d){const _0x4db2bb=_0x51d41b;_0x54d1da[_0x4db2bb(0x4d3)][_0x4db2bb(0x1da)](_0x49142d,{'width':this[_0x4db2bb(0x50c)],'height':this['height'],'strokeWidth':_0x1d5e35,'stroke':this[_0x4db2bb(0x253)],'evented':!0x1,'fill':this[_0x4db2bb(0x461)]}),this[_0x4db2bb(0x356)]&&(_0x49142d[_0x4db2bb(0x3fc)](),_0x49142d[_0x4db2bb(0x396)](0x1,0x0,0x0,0x1,this[_0x4db2bb(0x50c)],this['_labelPosition']===_0x4db2bb(0x27a)?0x0:-_0x122765),_0x5aab28[_0x4db2bb(0x1da)](_0x49142d,{'text':this[_0x4db2bb(0x553)],'color':this[_0x4db2bb(0x253)]}),_0x49142d[_0x4db2bb(0x1bb)]());}}var _0x38b7e7=Object['defineProperty'],_0x327d0c=Object[_0x51d41b(0x2b7)],_0x5702e4=(_0x501c2b,_0x3f09f8,_0x89295c,_0x4f2bef)=>{const _0x4612e2=_0x51d41b;for(var _0x1677c0=_0x4f2bef>0x1?void 0x0:_0x4f2bef?_0x327d0c(_0x3f09f8,_0x89295c):_0x3f09f8,_0x24c1ed=_0x501c2b[_0x4612e2(0x392)]-0x1,_0x1bcf39;_0x24c1ed>=0x0;_0x24c1ed--)(_0x1bcf39=_0x501c2b[_0x24c1ed])&&(_0x1677c0=(_0x4f2bef?_0x1bcf39(_0x3f09f8,_0x89295c,_0x1677c0):_0x1bcf39(_0x1677c0))||_0x1677c0);return _0x4f2bef&&_0x1677c0&&_0x38b7e7(_0x3f09f8,_0x89295c,_0x1677c0),_0x1677c0;},_0x19a496=(_0x114a59,_0x505374)=>(_0x803181,_0xb28c72)=>_0x505374(_0x803181,_0xb28c72,_0x114a59);const _0x37131b=0x1389;let _0x47d6dc=class extends _0x36d396[_0x51d41b(0x480)]{constructor(_0x475ae6,_0x5e5f0d,_0x122194,_0x23c4f0){const _0x35f846=_0x51d41b;super(),_0x55fd67(this,'_cursors',new Set()),_0x55fd67(this,'_lastPointer',null),(this[_0x35f846(0x4e4)]=_0x475ae6,this['_sheetSkeletonManagerService']=_0x5e5f0d,this['_collabCursorController']=_0x122194,this[_0x35f846(0x2b9)]=_0x23c4f0,this[_0x35f846(0x571)]());}[_0x51d41b(0x571)](){const _0x4cafe6=_0x51d41b;this[_0x4cafe6(0x304)][_0x4cafe6(0x491)]['pipe'](_0x547088[_0x4cafe6(0x5a4)](this['dispose$']),_0x547088['switchMap'](_0x569dd3=>{const _0x532ff2=_0x4cafe6;if(_0x569dd3){const _0x330211=_0x569dd3[_0x532ff2(0x269)];return _0x22cf47[_0x532ff2(0x548)](this[_0x532ff2(0x1a3)][_0x532ff2(0x45d)](this[_0x532ff2(0x4e4)][_0x532ff2(0x19b)]),this[_0x532ff2(0x2b9)][_0x532ff2(0x4eb)])[_0x532ff2(0x257)](_0x547088[_0x532ff2(0x565)](([_0x16f2b2,_0x2f2170])=>{const _0xf00d19=new Map();return _0x16f2b2['forEach']((_0x580369,_0x6e7df6)=>{const _0x40f428=_0x4682;if(_0x580369[_0x40f428(0x2cf)]===_0x330211){const _0x138330={..._0x580369};_0x138330[_0x40f428(0x4bc)]=_0x2f2170[_0x580369[_0x40f428(0x4bc)]],_0xf00d19[_0x40f428(0x27f)](_0x6e7df6,_0x138330);}}),{'skeleton':_0x569dd3,'cursors':_0xf00d19};}));}return _0x22cf47['of']({'skeleton':null,'cursors':new Map()});}))[_0x4cafe6(0x200)](({skeleton:_0x557ff6,cursors:_0x324b45})=>{const _0x54d268=_0x4cafe6;this[_0x54d268(0x220)](),_0x557ff6&&this[_0x54d268(0x555)](_0x557ff6,_0x324b45);}),this[_0x4cafe6(0x304)][_0x4cafe6(0x491)][_0x4cafe6(0x200)](_0x4b9ff6=>{const _0x1e93d2=_0x4cafe6;if(_0x4b9ff6==null)return;const {skeleton:_0x42d5cc}=_0x4b9ff6,{scene:_0x15c95d}=this[_0x1e93d2(0x4e4)];_0x15c95d[_0x1e93d2(0x55d)]['subscribeEvent'](_0x3179a3(_0x26c0c1=>{const _0x43adce=_0x1e93d2;var _0x490e5c,_0x4bba69;const {offsetX:_0x410bf7,offsetY:_0xf83bd3}=_0x26c0c1,{x:_0x26b5c4,y:_0x27cd77}=_0x15c95d[_0x43adce(0x52b)](_0x54d1da[_0x43adce(0x250)][_0x43adce(0x46a)]([_0x410bf7,_0xf83bd3])),{scaleX:_0x436752,scaleY:_0x38488b}=_0x15c95d[_0x43adce(0x329)](),_0x1c8260=_0x15c95d['getViewport'](_0x343608[_0x43adce(0x46b)][_0x43adce(0x534)]),_0x1de602=_0x15c95d[_0x43adce(0x4b2)](_0x54d1da[_0x43adce(0x250)][_0x43adce(0x46a)]([_0x26b5c4,_0x27cd77]),_0x1c8260),_0x546fcf=_0x42d5cc[_0x43adce(0x21a)](_0x410bf7,_0xf83bd3,_0x436752,_0x38488b,_0x1de602);((_0x490e5c=this[_0x43adce(0x435)])==null?void 0x0:_0x490e5c[_0x43adce(0x53f)])===_0x546fcf[_0x43adce(0x53f)]&&((_0x4bba69=this[_0x43adce(0x435)])==null?void 0x0:_0x4bba69[_0x43adce(0x489)])===_0x546fcf[_0x43adce(0x489)]||this[_0x43adce(0x504)]['forEach'](_0x51523f=>{const _0x9b9d98=_0x43adce;_0x51523f[_0x9b9d98(0x2bc)](_0x546fcf);});},0x64));});}[_0x51d41b(0x555)](_0x4c6159,_0x49456b){const _0x3b85ac=_0x51d41b;var _0x289868;const _0x1f2e22=(_0x289868=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x289868[_0x3b85ac(0x1b3)];if(!_0x1f2e22)return;const _0x5e0c54=this[_0x3b85ac(0x4c8)]();if(!_0x5e0c54)return;this[_0x3b85ac(0x504)][_0x3b85ac(0x1a9)](_0x7e8be1=>{const _0x2c0125=_0x3b85ac;_0x7e8be1[_0x2c0125(0x507)]();});const {scene:_0x130730}=_0x5e0c54,_0x1588be=_0x309a58(Array[_0x3b85ac(0x58d)](_0x49456b[_0x3b85ac(0x235)]()))[_0x3b85ac(0x565)](_0x406cd8=>{const _0x329573=_0x3b85ac,{color:_0x699893,range:_0x55c56c,name:_0x2b095a,selection:_0xdfb7ee,sheetID:_0x3d897e}=_0x406cd8,{startColumn:_0x4957f5,startRow:_0x27524d,endColumn:_0x1771f4,endRow:_0x484d50}=_0x55c56c,_0x2639f3=_0x343608[_0x329573(0x218)](_0x27524d,_0x4957f5,_0x130730,_0x1f2e22),_0x5b1e7c=_0x343608[_0x329573(0x218)](_0x484d50,_0x1771f4,_0x130730,_0x1f2e22),{columnHeaderHeightAndMarginTop:_0x231087}=_0x1f2e22,{startX:_0x1be374,startY:_0xc3b8a7}=_0x2639f3,{endX:_0x38fd03,endY:_0x52c8c1}=_0x5b1e7c,_0x2cbf7a=_0x38fd03-_0x1be374,_0x3ee324=_0x52c8c1-_0xc3b8a7,_0x25187b={'labelPosition':_0xc3b8a7-_0x231087>=_0x122765?_0x329573(0x436):_0x329573(0x27a),'sheetID':_0x3d897e,'range':_0x55c56c,'color':_0x699893,'name':_0x2b095a,'selection':_0xdfb7ee,'left':_0x1be374,'top':_0xc3b8a7,'width':_0x2cbf7a,'height':_0x3ee324,'evented':!0x1,'zIndex':_0x37131b};return new _0x21dc68(_0x2b095a,_0x25187b);});_0x130730[_0x3b85ac(0x541)](_0x1588be,_0x1b3e1b),this[_0x3b85ac(0x504)]=new Set(_0x1588be);}[_0x51d41b(0x220)](){const _0x2862ae=_0x51d41b;var _0x1f4ba1;(_0x1f4ba1=this[_0x2862ae(0x504)])==null||_0x1f4ba1[_0x2862ae(0x1a9)](_0x5d073c=>_0x5d073c[_0x2862ae(0x3cd)]());}['_getSheetObject'](){const _0x245775=_0x51d41b;return _0x343608[_0x245775(0x306)](this[_0x245775(0x4e4)][_0x245775(0x4b4)],this[_0x245775(0x4e4)]);}};_0x47d6dc=_0x5702e4([_0x19a496(0x1,_0x36d396[_0x51d41b(0x2ae)](_0x343608[_0x51d41b(0x3ee)])),_0x19a496(0x2,_0x36d396[_0x51d41b(0x2ae)](_0x566b79)),_0x19a496(0x3,_0x36d396[_0x51d41b(0x2ae)](_0x36d396[_0x51d41b(0x21f)]))],_0x47d6dc);function _0x309a58(_0xb7985f){const _0x639f4b=_0x51d41b,_0x5a8aef=new Map();return _0xb7985f['forEach'](_0x306686=>{const _0x9df188=_0x4682;if(_0x5a8aef[_0x9df188(0x58b)](_0x306686['selection'])){const _0x4a22b6=_0x5a8aef['get'](_0x306686[_0x9df188(0x2b2)]);_0x4a22b6['name']+=',\x20'+_0x306686[_0x9df188(0x346)];}else _0x5a8aef[_0x9df188(0x27f)](_0x306686[_0x9df188(0x2b2)],_0x306686);}),Array[_0x639f4b(0x58d)](_0x5a8aef[_0x639f4b(0x235)]());}var _0xa5b5de=function(){const _0x493ad9=_0x51d41b;return _0xa5b5de=Object[_0x493ad9(0x219)]||function(_0x5dd564){const _0x27f393=_0x493ad9;for(var _0x2e659c,_0x44dd42=0x1,_0x2c0538=arguments[_0x27f393(0x392)];_0x44dd42<_0x2c0538;_0x44dd42++){_0x2e659c=arguments[_0x44dd42];for(var _0x23828b in _0x2e659c)Object[_0x27f393(0x1e4)][_0x27f393(0x3af)][_0x27f393(0x267)](_0x2e659c,_0x23828b)&&(_0x5dd564[_0x23828b]=_0x2e659c[_0x23828b]);}return _0x5dd564;},_0xa5b5de[_0x493ad9(0x476)](this,arguments);},_0x302be8=function(_0x4cd0b0,_0x144138){const _0x21acdd=_0x51d41b;var _0x4de0a8={};for(var _0x34a1e8 in _0x4cd0b0)Object[_0x21acdd(0x1e4)]['hasOwnProperty']['call'](_0x4cd0b0,_0x34a1e8)&&_0x144138[_0x21acdd(0x2a5)](_0x34a1e8)<0x0&&(_0x4de0a8[_0x34a1e8]=_0x4cd0b0[_0x34a1e8]);if(_0x4cd0b0!=null&&typeof Object[_0x21acdd(0x55a)]==_0x21acdd(0x386)){for(var _0x270d12=0x0,_0x34a1e8=Object[_0x21acdd(0x55a)](_0x4cd0b0);_0x270d12<_0x34a1e8[_0x21acdd(0x392)];_0x270d12++)_0x144138[_0x21acdd(0x2a5)](_0x34a1e8[_0x270d12])<0x0&&Object[_0x21acdd(0x1e4)][_0x21acdd(0x3d8)][_0x21acdd(0x267)](_0x4cd0b0,_0x34a1e8[_0x270d12])&&(_0x4de0a8[_0x34a1e8[_0x270d12]]=_0x4cd0b0[_0x34a1e8[_0x270d12]]);}return _0x4de0a8;},_0xa9974=_0x28fb9c[_0x51d41b(0x28b)](function(_0x2b8bd9,_0x2a0fa5){const _0x228ae1=_0x51d41b;var _0x72d80b=_0x2b8bd9[_0x228ae1(0x475)],_0x2d126f=_0x2b8bd9['id'],_0x2048a2=_0x2b8bd9[_0x228ae1(0x31c)],_0x497f15=_0x2b8bd9[_0x228ae1(0x38e)],_0x533473=_0x302be8(_0x2b8bd9,[_0x228ae1(0x475),'id',_0x228ae1(0x31c),'extend']),_0x3a9852=_0x228ae1(0x3fb)[_0x228ae1(0x1e6)](_0x2d126f,'\x20')['concat'](_0x2048a2||'')['trim'](),_0x2fe9c4=_0x28fb9c[_0x228ae1(0x508)]('_'[_0x228ae1(0x1e6)](_0x58a03a()));return _0x3334b0(_0x72d80b,''[_0x228ae1(0x1e6)](_0x2d126f),{'defIds':_0x72d80b['defIds'],'idSuffix':_0x2fe9c4['current']},_0xa5b5de({'ref':_0x2a0fa5,'className':_0x3a9852},_0x533473),_0x497f15);});function _0x3334b0(_0x12bb1e,_0x430267,_0x4da922,_0x5adaed,_0xfcdbbf){const _0x4249f5=_0x51d41b;return _0x28fb9c[_0x4249f5(0x4dd)](_0x12bb1e['tag'],_0xa5b5de(_0xa5b5de({'key':_0x430267},_0x1eeeba(_0x12bb1e,_0x4da922,_0xfcdbbf)),_0x5adaed),(_0x5ab46b(_0x12bb1e,_0x4da922)['children']||[])[_0x4249f5(0x565)](function(_0x146774,_0x5b15bc){const _0x8d2f76=_0x4249f5;return _0x3334b0(_0x146774,''[_0x8d2f76(0x1e6)](_0x430267,'-')[_0x8d2f76(0x1e6)](_0x12bb1e['tag'],'-')[_0x8d2f76(0x1e6)](_0x5b15bc),_0x4da922,void 0x0,_0xfcdbbf);}));}function _0x1eeeba(_0x5ee044,_0x459152,_0x593067){const _0x4c57fe=_0x51d41b;var _0x118922=_0xa5b5de({},_0x5ee044[_0x4c57fe(0x1e7)]);_0x593067!=null&&_0x593067[_0x4c57fe(0x478)]&&_0x118922[_0x4c57fe(0x229)]===_0x4c57fe(0x478)&&(_0x118922[_0x4c57fe(0x229)]=_0x593067['colorChannel1']);var _0x3a0e43=_0x459152[_0x4c57fe(0x33c)];return!_0x3a0e43||_0x3a0e43['length']===0x0||(_0x5ee044[_0x4c57fe(0x2d3)]==='use'&&_0x118922[_0x4c57fe(0x2a8)]&&(_0x118922[_0x4c57fe(0x2a8)]=_0x118922[_0x4c57fe(0x2a8)]+_0x459152['idSuffix']),Object[_0x4c57fe(0x57e)](_0x118922)[_0x4c57fe(0x1a9)](function(_0x324d62){const _0x25f911=_0x4c57fe;var _0x316c09=_0x324d62[0x0],_0x4a1fd2=_0x324d62[0x1];typeof _0x4a1fd2==_0x25f911(0x40e)&&(_0x118922[_0x316c09]=_0x4a1fd2['replace'](/url\(#(.*)\)/,'url(#$1'[_0x25f911(0x1e6)](_0x459152[_0x25f911(0x308)],')')));})),_0x118922;}function _0x5ab46b(_0x1f7acb,_0x460262){const _0x298e23=_0x51d41b;var _0x36b715,_0x5731eb=_0x460262[_0x298e23(0x33c)];return!_0x5731eb||_0x5731eb[_0x298e23(0x392)]===0x0?_0x1f7acb:_0x1f7acb[_0x298e23(0x2d3)]===_0x298e23(0x4b0)&&(!((_0x36b715=_0x1f7acb[_0x298e23(0x442)])===null||_0x36b715===void 0x0)&&_0x36b715[_0x298e23(0x392)])?_0xa5b5de(_0xa5b5de({},_0x1f7acb),{'children':_0x1f7acb[_0x298e23(0x442)]['map'](function(_0x37e6e2){const _0x288eda=_0x298e23;return typeof _0x37e6e2['attrs']['id']==_0x288eda(0x40e)&&_0x5731eb&&_0x5731eb['indexOf'](_0x37e6e2[_0x288eda(0x1e7)]['id'])>-0x1?_0xa5b5de(_0xa5b5de({},_0x37e6e2),{'attrs':_0xa5b5de(_0xa5b5de({},_0x37e6e2[_0x288eda(0x1e7)]),{'id':_0x37e6e2[_0x288eda(0x1e7)]['id']+_0x460262[_0x288eda(0x308)]})}):_0x37e6e2;})}):_0x1f7acb;}function _0x58a03a(){const _0x2db492=_0x51d41b;return Math['random']()[_0x2db492(0x240)](0x24)[_0x2db492(0x441)](0x2,0x8);}_0xa9974['displayName']='UniverIcon';var _0x36200d={'tag':_0x51d41b(0x47d),'attrs':{'fill':_0x51d41b(0x513),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x51d41b(0x2d4)},'children':[{'tag':'g','attrs':{'clipPath':_0x51d41b(0x506)},'children':[{'tag':_0x51d41b(0x4be),'attrs':{'stroke':_0x51d41b(0x4d5),'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':_0x51d41b(0x30a),'strokeLinejoin':_0x51d41b(0x30a),'strokeWidth':1.2}}]},{'tag':_0x51d41b(0x4b0),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x51d41b(0x451)},'children':[{'tag':'path','attrs':{'fill':_0x51d41b(0x46f),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x53ab85=_0x28fb9c[_0x51d41b(0x28b)](function(_0x5395ff,_0x41c22e){const _0x2d1f7f=_0x51d41b;return _0x28fb9c[_0x2d1f7f(0x4dd)](_0xa9974,Object[_0x2d1f7f(0x219)]({},_0x5395ff,{'id':_0x2d1f7f(0x289),'ref':_0x41c22e,'icon':_0x36200d}));});_0x53ab85[_0x51d41b(0x1ad)]=_0x51d41b(0x4b8);var _0x2f13bf={'tag':'svg','attrs':{'fill':_0x51d41b(0x513),'viewBox':_0x51d41b(0x582),'width':_0x51d41b(0x2d4),'height':_0x51d41b(0x2d4)},'children':[{'tag':'g','attrs':{'clipPath':_0x51d41b(0x299)},'children':[{'tag':_0x51d41b(0x4be),'attrs':{'stroke':_0x51d41b(0x4d5),'d':_0x51d41b(0x226),'strokeLinecap':_0x51d41b(0x30a),'strokeLinejoin':_0x51d41b(0x30a),'strokeWidth':1.2}}]},{'tag':_0x51d41b(0x4b0),'attrs':{},'children':[{'tag':_0x51d41b(0x4ad),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x51d41b(0x4be),'attrs':{'fill':_0x51d41b(0x46f),'d':_0x51d41b(0x2b6),'transform':_0x51d41b(0x209)}}]}]}],'defIds':[_0x51d41b(0x3c8)]},_0x9b7afe=_0x28fb9c[_0x51d41b(0x28b)](function(_0x253b53,_0x280bb4){const _0x7764b7=_0x51d41b;return _0x28fb9c['createElement'](_0xa9974,Object['assign']({},_0x253b53,{'id':_0x7764b7(0x239),'ref':_0x280bb4,'icon':_0x2f13bf}));});_0x9b7afe['displayName']='OnLineSingle';const _0x219ac6={'onlineStatusIcon':_0x51d41b(0x413),'onlineStatusTitle':_0x51d41b(0x4e6),'onlineStatus':_0x51d41b(0x5a6),'online':_0x51d41b(0x56f),'offline':'univer-offline'};function _0x2dceda(_0x294f7a){const _0x252156=_0x51d41b;switch(_0x294f7a){case _0xcb53f5[_0x252156(0x588)]:return _0x252156(0x580);case _0xcb53f5[_0x252156(0x3b3)]:return _0x252156(0x294);case _0xcb53f5[_0x252156(0x1f8)]:return _0x252156(0x4d7);case _0xcb53f5[_0x252156(0x4a9)]:return _0x252156(0x4d1);case _0xcb53f5[_0x252156(0x4ef)]:case _0xcb53f5[_0x252156(0x515)]:case _0xcb53f5['AWAITING_WITH_PENDING']:return _0x252156(0x211);case _0xcb53f5[_0x252156(0x36f)]:return'collabStatus.synced';}}function _0xc902da(_0x3bbc6d){const _0x2f4655=_0x51d41b,{status$:_0x5d8fe9}=_0x3bbc6d,_0x2bf60e=_0x455671[_0x2f4655(0x43b)](_0x5d8fe9,_0xcb53f5[_0x2f4655(0x4a9)]),_0x4a3377=_0x36d396[_0x2f4655(0x270)](_0x36d396['LocaleService']),_0x1d8eef=_0x36d396[_0x2f4655(0x270)](_0x59ce0d[_0x2f4655(0x285)]),_0x5be24a=_0x2bf60e!==_0xcb53f5['OFFLINE'],_0x660ff4=_0x4a3377['t'](_0x2dceda(_0x2bf60e)),_0x172ce8=_0x30ff44(_0x219ac6[_0x2f4655(0x354)],{[_0x219ac6['online']]:_0x5be24a,[_0x219ac6[_0x2f4655(0x1b9)]]:!_0x5be24a}),_0x40e92b=_0x5be24a?_0x28fb9c['createElement'](_0x9b7afe,null):_0x28fb9c['createElement'](_0x53ab85,null),_0x523d20=_0x28fb9c['useCallback'](()=>{const _0x2af022=_0x2f4655;_0x5be24a||_0x1d8eef[_0x2af022(0x1df)]();},[_0x5be24a,_0x1d8eef]);function _0x49ed29(){const _0x592b1b=_0x2f4655;return _0x28fb9c[_0x592b1b(0x4dd)]('div',{'className':_0x172ce8,'onClick':_0x523d20},_0x28fb9c[_0x592b1b(0x4dd)](_0x592b1b(0x18f),{'className':_0x219ac6[_0x592b1b(0x30f)]},_0x40e92b),_0x28fb9c['createElement']('div',{'className':_0x219ac6['onlineStatusTitle']},_0x660ff4));}return _0x5be24a?_0x49ed29():_0x28fb9c[_0x2f4655(0x4dd)](_0x53e1d0[_0x2f4655(0x449)],{'title':_0x4a3377['t'](_0x2f4655(0x512))},_0x49ed29());}var _0x2de791=Object[_0x51d41b(0x215)],_0x5eb9c5=Object[_0x51d41b(0x2b7)],_0x24733f=(_0x4d0e18,_0x126c0d,_0x4dde6a,_0x2ff2bd)=>{for(var _0x31c15c=_0x2ff2bd>0x1?void 0x0:_0x2ff2bd?_0x5eb9c5(_0x126c0d,_0x4dde6a):_0x126c0d,_0x126a9a=_0x4d0e18['length']-0x1,_0x119e87;_0x126a9a>=0x0;_0x126a9a--)(_0x119e87=_0x4d0e18[_0x126a9a])&&(_0x31c15c=(_0x2ff2bd?_0x119e87(_0x126c0d,_0x4dde6a,_0x31c15c):_0x119e87(_0x31c15c))||_0x31c15c);return _0x2ff2bd&&_0x31c15c&&_0x2de791(_0x126c0d,_0x4dde6a,_0x31c15c),_0x31c15c;},_0x45b50d=(_0x1ece68,_0x57886d)=>(_0x5100f2,_0x358cbd)=>_0x57886d(_0x5100f2,_0x358cbd,_0x1ece68);_0x59ce0d[_0x51d41b(0x452)]=class extends _0x36d396['Disposable']{constructor(_0x18a336,_0x4bf3c5,_0x406f70,_0x575dd2){const _0x3e2359=_0x51d41b;super(),_0x55fd67(this,_0x3e2359(0x378),new _0x22cf47[(_0x3e2359(0x482))](_0xcb53f5['NOT_COLLAB'])),(this[_0x3e2359(0x273)]=_0x18a336,this[_0x3e2359(0x3d4)]=_0x4bf3c5,this[_0x3e2359(0x2b0)]=_0x406f70,this[_0x3e2359(0x1c9)]=_0x575dd2,this[_0x3e2359(0x249)](),this[_0x3e2359(0x3b9)]());}[_0x51d41b(0x3b9)](){const _0x542eb7=_0x51d41b;this[_0x542eb7(0x595)](this[_0x542eb7(0x273)][_0x542eb7(0x201)][_0x542eb7(0x257)](_0x22cf47[_0x542eb7(0x40c)](()=>{const _0x32ce01=_0x542eb7,_0x5464e9=this[_0x32ce01(0x273)][_0x32ce01(0x3ce)]();return _0x5464e9?this[_0x32ce01(0x1c9)]['getCollabEntity$'](_0x5464e9[_0x32ce01(0x4ce)]()):_0x22cf47['of'](null);}),_0x22cf47[_0x542eb7(0x40c)](_0xa2b789=>_0xa2b789?_0xa2b789[_0x542eb7(0x2a3)]:_0x22cf47['of'](_0xcb53f5[_0x542eb7(0x4a9)])))[_0x542eb7(0x200)](_0x10250e=>{this['_status$']['next'](_0x10250e);}));}[_0x51d41b(0x249)](){const _0x28b265=_0x51d41b;this[_0x28b265(0x595)](this[_0x28b265(0x3d4)][_0x28b265(0x196)](_0x455671[_0x28b265(0x33a)]['HEADER_MENU'],()=>_0x36d396[_0x28b265(0x39b)](_0x401c32({'status$':this['_status$'][_0x28b265(0x544)]()}),this[_0x28b265(0x2b0)])));}},_0x59ce0d['DesktopCollaborationStatusDisplayController']=_0x24733f([_0x45b50d(0x0,_0x36d396[_0x51d41b(0x2c5)]),_0x45b50d(0x1,_0x455671[_0x51d41b(0x575)]),_0x45b50d(0x2,_0x36d396[_0x51d41b(0x2ae)](_0x36d396['Injector'])),_0x45b50d(0x3,_0x36d396[_0x51d41b(0x2ae)](_0x59ce0d['CollaborationController']))],_0x59ce0d[_0x51d41b(0x452)]);function _0x401c32(_0x1dd231){const {status$:_0x1be878}=_0x1dd231;return function(){const _0xb6619b=_0x4682;return _0x28fb9c[_0xb6619b(0x4dd)](_0xc902da,{'status$':_0x1be878});};}const _0x56d70c=_0x36d396[_0x51d41b(0x494)](_0x51d41b(0x549));var _0x4b78b1=Object[_0x51d41b(0x215)],_0x3ce1ea=Object[_0x51d41b(0x2b7)],_0x2f1e9e=(_0x32568f,_0x44062e,_0x21a0da,_0x31ee9d)=>{const _0x311293=_0x51d41b;for(var _0x3a419b=_0x31ee9d>0x1?void 0x0:_0x31ee9d?_0x3ce1ea(_0x44062e,_0x21a0da):_0x44062e,_0xe7669c=_0x32568f[_0x311293(0x392)]-0x1,_0x1b6ac7;_0xe7669c>=0x0;_0xe7669c--)(_0x1b6ac7=_0x32568f[_0xe7669c])&&(_0x3a419b=(_0x31ee9d?_0x1b6ac7(_0x44062e,_0x21a0da,_0x3a419b):_0x1b6ac7(_0x3a419b))||_0x3a419b);return _0x31ee9d&&_0x3a419b&&_0x4b78b1(_0x44062e,_0x21a0da,_0x3a419b),_0x3a419b;},_0x19edeb=(_0x5269e3,_0x28b990)=>(_0x3c33ef,_0x9570b4)=>_0x28b990(_0x3c33ef,_0x9570b4,_0x5269e3);_0x59ce0d[_0x51d41b(0x4a6)]=class extends _0x36d396[_0x51d41b(0x480)]{constructor(_0x4ce6b0,_0x481d44,_0x554697,_0x3ff9cf,_0x3d5c36,_0x169033){const _0x3b144c=_0x51d41b;super(),this['_urlService']=_0x4ce6b0,this['_logService']=_0x481d44,this[_0x3b144c(0x561)]=_0x554697,this[_0x3b144c(0x552)]=_0x3ff9cf,this['_snapshotService']=_0x3d5c36,_0x169033?_0x169033==null||_0x169033['whenReady']()[_0x3b144c(0x59d)](()=>this['_init']()):(this[_0x3b144c(0x545)][_0x3b144c(0x45b)](_0x3b144c(0x3f4),_0x3b144c(0x41a)),this['_init']());}async[_0x51d41b(0x571)](){const _0x2028a4=_0x51d41b,_0x5e3fa8=this['_urlService'][_0x2028a4(0x1d3)](_0x2028a4(0x4b4)),_0x39161e=this[_0x2028a4(0x254)][_0x2028a4(0x1d3)](_0x2028a4(0x2cb));if(!_0x5e3fa8||!_0x39161e){this[_0x2028a4(0x545)][_0x2028a4(0x45b)]('[DataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x39161e)){case _0x54451c[_0x2028a4(0x1d8)]:{const _0x1ad079=await this[_0x2028a4(0x424)](_0x5e3fa8);this[_0x2028a4(0x2d5)](_0x1ad079);break;}case _0x54451c['UNIVER_DOC']:{await this[_0x2028a4(0x22b)](_0x5e3fa8);break;}default:{this[_0x2028a4(0x545)][_0x2028a4(0x405)](_0x2028a4(0x3f4),_0x2028a4(0x373));break;}}}async[_0x51d41b(0x2d5)](_0x5b6bc2){const _0x282e2d=_0x51d41b;await this['_updateSubUnitFromURLParams'](_0x5b6bc2),_0x5b6bc2[_0x282e2d(0x3a6)][_0x282e2d(0x257)](_0x22cf47['takeUntil'](this[_0x282e2d(0x1b2)]))[_0x282e2d(0x200)](_0x2ec7d0=>{const _0x3510c1=_0x282e2d;_0x2ec7d0&&this[_0x3510c1(0x2df)](_0x2ec7d0);}),this[_0x282e2d(0x254)]['urlChange$'][_0x282e2d(0x257)](_0x22cf47[_0x282e2d(0x5a4)](this['dispose$']))[_0x282e2d(0x200)](()=>this[_0x282e2d(0x395)](_0x5b6bc2));}[_0x51d41b(0x2df)](_0x4937d5,_0x2dd53b=!0x1){const _0x348cc6=_0x51d41b,_0x13993f=this[_0x348cc6(0x254)][_0x348cc6(0x1d3)]('subunit');_0x4937d5[_0x348cc6(0x414)]()!==_0x13993f&&this[_0x348cc6(0x254)][_0x348cc6(0x444)](_0x348cc6(0x1ac),_0x4937d5[_0x348cc6(0x414)](),_0x2dd53b);}async[_0x51d41b(0x395)](_0x2a2487){const _0x2f8f42=_0x51d41b;var _0x1f5282;const _0x37d553=this[_0x2f8f42(0x254)][_0x2f8f42(0x1d3)]('subunit');if(!_0x37d553||!_0x2a2487['getSheetBySheetId'](_0x37d553)){const _0x463e90=_0x2a2487['getUnhiddenWorksheets']()[0x0],_0x581f64=_0x2a2487[_0x2f8f42(0x24f)](_0x463e90);if(!_0x581f64)return;this[_0x2f8f42(0x2df)](_0x581f64,!0x0),await this[_0x2f8f42(0x561)][_0x2f8f42(0x4d0)](_0xdbe912[_0x2f8f42(0x53a)]['id'],{'unitId':_0x2a2487[_0x2f8f42(0x4ce)](),'subUnitId':_0x463e90});return;}((_0x1f5282=_0x2a2487['getActiveSheet']())==null?void 0x0:_0x1f5282['getSheetId']())!==_0x37d553&&await this['_commandService'][_0x2f8f42(0x4d0)](_0xdbe912[_0x2f8f42(0x53a)]['id'],{'unitId':_0x2a2487[_0x2f8f42(0x4ce)](),'subUnitId':_0x37d553});}async[_0x51d41b(0x424)](_0x2bdac9){const _0x3a7e14=_0x51d41b;let _0x59ff81=0x0;const _0x58af5f=await this[_0x3a7e14(0x552)][_0x3a7e14(0x335)](_0x2bdac9);return _0x58af5f&&(_0x58af5f[_0x3a7e14(0x523)]||_0x58af5f[_0x3a7e14(0x533)]['length']!==0x0)&&(_0x59ff81=_0x58af5f['rev']),_0x59ff81===0x0&&this[_0x3a7e14(0x545)][_0x3a7e14(0x45b)]('[DataLoaderController]',_0x3a7e14(0x2f5)),this[_0x3a7e14(0x5a9)][_0x3a7e14(0x2e8)](_0x2bdac9,_0x59ff81);}async[_0x51d41b(0x22b)](_0x533651){const _0x5bca69=_0x51d41b;let _0x498a66=0x0;const _0x3b9779=await this[_0x5bca69(0x552)][_0x5bca69(0x335)](_0x533651);return _0x3b9779&&(_0x3b9779[_0x5bca69(0x523)]||_0x3b9779['mutations']['length']!==0x0)&&(_0x498a66=_0x3b9779[_0x5bca69(0x4cc)]),_0x498a66===0x0&&this['_logService'][_0x5bca69(0x45b)](_0x5bca69(0x3f4),_0x5bca69(0x2f5)),this[_0x5bca69(0x5a9)][_0x5bca69(0x27c)](_0x533651,_0x498a66);}},_0x59ce0d[_0x51d41b(0x4a6)]=_0x2f1e9e([_0x36d396['OnLifecycle'](_0x36d396['LifecycleStages'][_0x51d41b(0x4e8)],_0x59ce0d[_0x51d41b(0x4a6)]),_0x19edeb(0x0,_0x56d70c),_0x19edeb(0x1,_0x36d396['ILogService']),_0x19edeb(0x2,_0x36d396['ICommandService']),_0x19edeb(0x3,_0x36d396[_0x51d41b(0x2ae)](_0x59ce0d[_0x51d41b(0x434)])),_0x19edeb(0x4,_0x36d396[_0x51d41b(0x2ae)](_0x346629['SnapshotService'])),_0x19edeb(0x5,_0x36d396[_0x51d41b(0x43f)](_0x5badd8['IRemoteInstanceService']))],_0x59ce0d[_0x51d41b(0x4a6)]);var _0x426673=Object[_0x51d41b(0x215)],_0x1aeb69=Object[_0x51d41b(0x2b7)],_0x290f9e=(_0x4fc9d1,_0x2adb18,_0x59e8e4,_0x3f8e9c)=>{const _0x12d859=_0x51d41b;for(var _0x4618c3=_0x3f8e9c>0x1?void 0x0:_0x3f8e9c?_0x1aeb69(_0x2adb18,_0x59e8e4):_0x2adb18,_0x3bab89=_0x4fc9d1[_0x12d859(0x392)]-0x1,_0x34cbf6;_0x3bab89>=0x0;_0x3bab89--)(_0x34cbf6=_0x4fc9d1[_0x3bab89])&&(_0x4618c3=(_0x3f8e9c?_0x34cbf6(_0x2adb18,_0x59e8e4,_0x4618c3):_0x34cbf6(_0x4618c3))||_0x4618c3);return _0x3f8e9c&&_0x4618c3&&_0x426673(_0x2adb18,_0x59e8e4,_0x4618c3),_0x4618c3;},_0x597258=(_0x5b16fc,_0x4cd7f1)=>(_0x271a8f,_0xaf0021)=>_0x4cd7f1(_0x271a8f,_0xaf0021,_0x5b16fc);const _0x1fda7c=_0x51d41b(0x238),_0x11f8d9='Univer';let _0x3b02a7=class extends _0x36d396[_0x51d41b(0x4f0)]{constructor(_0x11dd5d,_0xe94c41){const _0x47a403=_0x51d41b;super(),this[_0x47a403(0x273)]=_0x11dd5d,this[_0x47a403(0x448)]=_0xe94c41,this[_0x47a403(0x571)]();}[_0x51d41b(0x571)](){const _0x99784c=_0x51d41b;this[_0x99784c(0x595)](_0x36d396['toDisposable'](this[_0x99784c(0x273)]['focused$'][_0x99784c(0x200)](()=>{const _0x5914d8=_0x99784c;var _0x540172;const _0xf8f735=this[_0x5914d8(0x273)][_0x5914d8(0x3ce)]();let _0x29253f=(_0x540172=this[_0x5914d8(0x448)][_0x5914d8(0x1a6)](_0x1fda7c))!=null?_0x540172:_0x11f8d9;_0xf8f735 instanceof _0x36d396['Workbook']&&(_0x29253f=_0xf8f735[_0x5914d8(0x346)]),document[_0x5914d8(0x261)]=_0x29253f;})));}};_0x3b02a7=_0x290f9e([_0x36d396['OnLifecycle'](_0x36d396['LifecycleStages'][_0x51d41b(0x3cb)],_0x3b02a7),_0x597258(0x0,_0x36d396[_0x51d41b(0x2c5)]),_0x597258(0x1,_0x36d396[_0x51d41b(0x511)])],_0x3b02a7);var _0x1d8afb=Object['defineProperty'],_0x573777=Object['getOwnPropertyDescriptor'],_0x34fab1=(_0x118e22,_0x392054,_0x343924,_0x5806ca)=>{const _0x103fa3=_0x51d41b;for(var _0x200848=_0x5806ca>0x1?void 0x0:_0x5806ca?_0x573777(_0x392054,_0x343924):_0x392054,_0x1d068c=_0x118e22[_0x103fa3(0x392)]-0x1,_0x4db511;_0x1d068c>=0x0;_0x1d068c--)(_0x4db511=_0x118e22[_0x1d068c])&&(_0x200848=(_0x5806ca?_0x4db511(_0x392054,_0x343924,_0x200848):_0x4db511(_0x200848))||_0x200848);return _0x5806ca&&_0x200848&&_0x1d8afb(_0x392054,_0x343924,_0x200848),_0x200848;},_0x121c3a=(_0x2df711,_0x5ecd2a)=>(_0x5575e5,_0x31d84d)=>_0x5ecd2a(_0x5575e5,_0x31d84d,_0x2df711);_0x59ce0d[_0x51d41b(0x53d)]=class{constructor(_0xf8991c,_0x4890b4){const _0x59b774=_0x51d41b;this[_0x59b774(0x448)]=_0xf8991c,this[_0x59b774(0x463)]=_0x4890b4;}async[_0x51d41b(0x3f7)](_0x263759,_0x1defb2){const _0x5c076e=_0x51d41b;var _0x25cf59;const {unitID:_0x22dad6,type:_0xcc3768,revision:_0x5e3318=0x0}=_0x1defb2,_0x1687a4=this[_0x5c076e(0x302)]()+'/'+_0xcc3768+'/unit/'+_0x22dad6+'/rev/'+_0x5e3318,_0x711e98=(await this[_0x5c076e(0x463)]['get'](_0x1687a4))['body'],_0xdbe65b=(_0x25cf59=_0x711e98[_0x5c076e(0x56a)])==null?void 0x0:_0x25cf59['workbook'];if(_0xdbe65b){const _0xe39029=_0xdbe65b==null?void 0x0:_0xdbe65b[_0x5c076e(0x3b0)],_0x56b89d=_0x346629['textEncoder'][_0x5c076e(0x2cc)](_0x346629[_0x5c076e(0x205)](_0xe39029));_0xdbe65b[_0x5c076e(0x3b0)]=_0x56b89d,Object[_0x5c076e(0x57e)](_0xdbe65b[_0x5c076e(0x407)])[_0x5c076e(0x1a9)](([,_0x3ee12c])=>{const _0x2ddc67=_0x5c076e,_0x4da2f4=_0x3ee12c[_0x2ddc67(0x3b0)],_0x5460fc=_0x346629[_0x2ddc67(0x194)][_0x2ddc67(0x2cc)](_0x346629[_0x2ddc67(0x205)](_0x4da2f4));_0x3ee12c['originalMeta']=_0x5460fc;});}return _0x711e98;}async[_0x51d41b(0x26f)](_0x2936c9,_0x170f59){const _0x250f45=_0x51d41b,{unitID:_0x230e22,type:_0x1d66f9,blockID:_0x40bad3}=_0x170f59,_0x14ea09=this['_getAPIPrefix']()+'/'+_0x1d66f9+_0x250f45(0x33f)+_0x230e22+_0x250f45(0x317)+_0x40bad3;return(await this[_0x250f45(0x463)][_0x250f45(0x58c)](_0x14ea09))['body'];}async[_0x51d41b(0x2fd)](_0x49cfeb,_0x5db543){const _0x3cb929=_0x51d41b,{unitID:_0x115a2c,type:_0x383598,from:_0x3ff438,to:_0x4c4d81}=_0x5db543,_0x47a162=this['_getAPIPrefix']()+'/'+_0x383598+'/unit/'+_0x115a2c+_0x3cb929(0x576)+_0x3ff438+'&to='+_0x4c4d81;return(await this['_httpService'][_0x3cb929(0x58c)](_0x47a162))[_0x3cb929(0x283)];}['_getSnapshotAPIPrefix'](){const _0x47104e=_0x51d41b;var _0x1ce5a1;return(_0x1ce5a1=this[_0x47104e(0x448)][_0x47104e(0x1a6)](_0x4ad76f))!=null?_0x1ce5a1:this[_0x47104e(0x234)]();}[_0x51d41b(0x234)](){const _0x159b1e=_0x51d41b;var _0x151c3a;return(_0x151c3a=this[_0x159b1e(0x448)][_0x159b1e(0x1a6)](_0x3ee3ce))!=null?_0x151c3a:_0x3fad9d;}async[_0x51d41b(0x486)](_0x21b3db,_0x2f7d2a){const _0x3e6ca0=_0x51d41b,_0x2e55ed='/universer-api/snapshot/'+_0x2f7d2a[_0x3e6ca0(0x2cb)]+_0x3e6ca0(0x33f)+_0x2f7d2a[_0x3e6ca0(0x35f)]+_0x3e6ca0(0x550);return(await this['_httpService'][_0x3e6ca0(0x58c)](_0x2e55ed,{'params':{'resourceId':JSON[_0x3e6ca0(0x54a)](_0x2f7d2a[_0x3e6ca0(0x344)])}}))[_0x3e6ca0(0x283)];}[_0x51d41b(0x1c5)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){const _0x3da828=_0x51d41b;throw new Error(_0x3da828(0x3a8));}[_0x51d41b(0x499)](){const _0x57ad8d=_0x51d41b;throw new Error(_0x57ad8d(0x3a8));}},_0x59ce0d[_0x51d41b(0x53d)]=_0x34fab1([_0x121c3a(0x0,_0x36d396[_0x51d41b(0x511)]),_0x121c3a(0x1,_0x36d396[_0x51d41b(0x2ae)](_0x3d1d50[_0x51d41b(0x2e6)]))],_0x59ce0d[_0x51d41b(0x53d)]);var _0x52d43d=Object[_0x51d41b(0x215)],_0x15fdd7=Object[_0x51d41b(0x2b7)],_0x360f6e=(_0x21c046,_0x560e48,_0xd81468,_0xde42c7)=>{const _0xf28dc9=_0x51d41b;for(var _0x3b1e0d=_0xde42c7>0x1?void 0x0:_0xde42c7?_0x15fdd7(_0x560e48,_0xd81468):_0x560e48,_0x5be30c=_0x21c046[_0xf28dc9(0x392)]-0x1,_0x121494;_0x5be30c>=0x0;_0x5be30c--)(_0x121494=_0x21c046[_0x5be30c])&&(_0x3b1e0d=(_0xde42c7?_0x121494(_0x560e48,_0xd81468,_0x3b1e0d):_0x121494(_0x3b1e0d))||_0x3b1e0d);return _0xde42c7&&_0x3b1e0d&&_0x52d43d(_0x560e48,_0xd81468,_0x3b1e0d),_0x3b1e0d;},_0x4a5eb8=(_0x4cb172,_0x41c816)=>(_0xe20149,_0x1af2b5)=>_0x41c816(_0xe20149,_0x1af2b5,_0x4cb172);let _0xfd6590=class extends _0x36d396[_0x51d41b(0x430)]{constructor(_0x5377e1,_0x2c883e,_0x23c38b,_0x4976b,_0x48a77a){const _0x32f8d0=_0x51d41b;super(_0x5377e1,_0x2c883e,_0x23c38b),this[_0x32f8d0(0x376)]=_0x4976b,this[_0x32f8d0(0x545)]=_0x48a77a;}[_0x51d41b(0x39a)](_0x5d112a,_0x31f72b){const _0x2b2a41=_0x51d41b,_0x1961cd=this['_getUndoStack'](_0x5d112a);if(_0x1961cd)try{const _0x55d7a8=this['_transformStack'](_0x1961cd,_0x31f72b);this[_0x2b2a41(0x379)](_0x5d112a,_0x55d7a8);}catch(_0x3e8f4e){this[_0x2b2a41(0x545)]['error']('[CollaborationUndoRedoService]',_0x3e8f4e),this[_0x2b2a41(0x334)](_0x5d112a);}const _0x30d410=this[_0x2b2a41(0x278)](_0x5d112a);if(_0x30d410)try{const _0x5551bb=this[_0x2b2a41(0x38c)](_0x30d410,_0x31f72b);this[_0x2b2a41(0x35d)](_0x5d112a,_0x5551bb);}catch(_0xc9d20f){this[_0x2b2a41(0x545)][_0x2b2a41(0x405)](_0xc9d20f),this['_clearRedo'](_0x5d112a);}}['_clearUndo'](_0x59d08e){const _0x10be96=_0x51d41b,_0x5a31dc=this[_0x10be96(0x537)](_0x59d08e);_0x5a31dc&&(_0x5a31dc[_0x10be96(0x392)]=0x0,this[_0x10be96(0x313)]());}[_0x51d41b(0x4e7)](_0x3928c1){const _0x30e4a4=_0x51d41b,_0x5542fb=this[_0x30e4a4(0x278)](_0x3928c1);_0x5542fb&&(_0x5542fb[_0x30e4a4(0x392)]=0x0,this[_0x30e4a4(0x313)]());}[_0x51d41b(0x379)](_0x26828a,_0x2c7634){const _0x35aa40=_0x51d41b;this['_undoStacks'][_0x35aa40(0x27f)](_0x26828a,_0x2c7634),this[_0x35aa40(0x313)]();}[_0x51d41b(0x35d)](_0x16e856,_0x15cd6b){const _0x32d605=_0x51d41b;this[_0x32d605(0x203)][_0x32d605(0x27f)](_0x16e856,_0x15cd6b),this[_0x32d605(0x313)]();}[_0x51d41b(0x38c)](_0x4d1e3e,_0x30ce11){const _0x4f14b9=_0x51d41b,_0x27279c=[];let _0x44337c=_0x30ce11,_0x2fd5dc=_0x30ce11;for(let _0x56b58c=_0x4d1e3e['length']-0x1;_0x56b58c>=0x0;_0x56b58c--){const {unitID:_0x27c1d8,undoMutations:_0x39058a,redoMutations:_0x236101}=_0x4d1e3e[_0x56b58c],_0x2aeb02=this[_0x4f14b9(0x376)][_0x4f14b9(0x26e)](_0x44337c,_0x39058a),_0x54a328=this[_0x4f14b9(0x376)]['transformMutationsWithChangeset'](_0x2fd5dc,_0x236101);if(_0x346629['isTransformMutationsWithChangesetFailure'](_0x2aeb02)||_0x346629[_0x4f14b9(0x4ac)](_0x54a328)){this[_0x4f14b9(0x545)][_0x4f14b9(0x405)](_0x4f14b9(0x428),_0x4f14b9(0x4ff),_0x2aeb02,_0x54a328);break;}_0x44337c=_0x2aeb02['c1Prime'],_0x2fd5dc=_0x54a328[_0x4f14b9(0x37c)],_0x27279c[_0x4f14b9(0x3cf)]({'unitID':_0x27c1d8,'undoMutations':_0x2aeb02[_0x4f14b9(0x4b5)],'redoMutations':_0x54a328[_0x4f14b9(0x4b5)]});}return _0x27279c[_0x4f14b9(0x497)]();}};_0xfd6590=_0x360f6e([_0x4a5eb8(0x0,_0x36d396[_0x51d41b(0x2c5)]),_0x4a5eb8(0x1,_0x36d396[_0x51d41b(0x1d5)]),_0x4a5eb8(0x2,_0x36d396[_0x51d41b(0x34e)]),_0x4a5eb8(0x3,_0x346629[_0x51d41b(0x213)]),_0x4a5eb8(0x4,_0x36d396[_0x51d41b(0x495)])],_0xfd6590);class _0x161740 extends _0x36d396[_0x51d41b(0x480)]{constructor(){const _0x202340=_0x51d41b;super(),_0x55fd67(this,_0x202340(0x2e2)),this[_0x202340(0x2e2)]=_0x22cf47[_0x202340(0x2ea)](window,_0x202340(0x291))[_0x202340(0x257)](_0x22cf47['takeUntil'](this['dispose$']),_0x22cf47[_0x202340(0x566)](0x1),_0x22cf47[_0x202340(0x2be)](void 0x0));}[_0x51d41b(0x444)](_0x1dc77d,_0x1c4092,_0x3756c5=!0x1){const _0x4faa8f=_0x51d41b,_0xb8c591=new URL(window[_0x4faa8f(0x57f)]['href']);_0xb8c591[_0x4faa8f(0x190)][_0x4faa8f(0x27f)](_0x1dc77d,_0x1c4092),_0x3756c5?window[_0x4faa8f(0x3d0)]['replaceState']('','',_0xb8c591[_0x4faa8f(0x240)]()):window[_0x4faa8f(0x3d0)]['pushState']('','',_0xb8c591[_0x4faa8f(0x240)]());}[_0x51d41b(0x336)](_0x26bf11,_0x525eab=!0x1){const _0x3e97d9=_0x51d41b,_0x52ddcd=new URL(window[_0x3e97d9(0x57f)][_0x3e97d9(0x23a)]);_0x52ddcd[_0x3e97d9(0x190)][_0x3e97d9(0x560)](_0x26bf11),_0x525eab?window['history'][_0x3e97d9(0x3c1)]('','',_0x52ddcd[_0x3e97d9(0x240)]()):window['history'][_0x3e97d9(0x454)]('','',_0x52ddcd[_0x3e97d9(0x240)]());}[_0x51d41b(0x1d3)](_0x19f356){const _0xc5c2f1=_0x51d41b;var _0xc369fc;return(_0xc369fc=new URL(window[_0xc5c2f1(0x57f)][_0xc5c2f1(0x23a)])[_0xc5c2f1(0x190)][_0xc5c2f1(0x58c)](_0x19f356))!=null?_0xc369fc:void 0x0;}}const _0x2196c7=_0x51d41b(0x40d),_0x26adf6=_0x51d41b(0x275),_0x19a34b=_0x51d41b(0x567),_0x42126b=0x6,_0x13d6fb=1.5,_0x10d324=0x4,_0x291f02=1.5,_0x490fff=_0x51d41b(0x29a);class _0x4cd564{constructor(_0x5b7454,_0x249123,_0x4a3058,_0x4ccdde){const _0x15ccbb=_0x51d41b;_0x55fd67(this,_0x15ccbb(0x4ae),[]),_0x55fd67(this,'_anchor',null),_0x55fd67(this,'_textBubble',null),_0x55fd67(this,_0x15ccbb(0x437),null),_0x55fd67(this,_0x15ccbb(0x56e),null),_0x55fd67(this,_0x15ccbb(0x301),null),(this[_0x15ccbb(0x327)]=_0x5b7454,this['_scene']=_0x249123,this[_0x15ccbb(0x1fd)]=_0x4a3058,this['_document']=_0x4ccdde,this[_0x15ccbb(0x59a)]());}set[_0x51d41b(0x59b)](_0x47d3c8){const _0x565271=_0x51d41b;_0x47d3c8?(this[_0x565271(0x437)]&&this[_0x565271(0x437)]['hide'](),this[_0x565271(0x2f8)]&&this[_0x565271(0x2f8)][_0x565271(0x3c3)]()):(this['_anchorDot']&&this[_0x565271(0x437)][_0x565271(0x3c3)](),this[_0x565271(0x2f8)]&&this[_0x565271(0x2f8)][_0x565271(0x1b4)]());}['dispose'](){const _0x3de57a=_0x51d41b;for(const _0x2406fa of this[_0x3de57a(0x4ae)])_0x2406fa[_0x3de57a(0x3cd)]();this[_0x3de57a(0x2f8)]&&this[_0x3de57a(0x2f8)][_0x3de57a(0x3cd)](),this[_0x3de57a(0x437)]&&this['_anchorDot'][_0x3de57a(0x3cd)](),this[_0x3de57a(0x28e)]&&this[_0x3de57a(0x28e)]['dispose'](),this[_0x3de57a(0x301)]&&this['_eventUnsubscribe']();}[_0x51d41b(0x59a)](){const _0x39c9e=_0x51d41b;var _0x185602;const {_docSkeleton:_0x350575,_document:_0x350ab0}=this,{color:_0x74a73c,name:_0x2a5e88,ranges:_0x48776d}=this[_0x39c9e(0x327)],_0x132421=_0x350ab0[_0x39c9e(0x4b1)](),{docsLeft:_0x220dc0,docsTop:_0x3b0ea2}=_0x132421,_0xf75941=new _0x54d1da['NodePositionConvertToCursor'](_0x132421,_0x350575);for(const {startOffset:_0xe3bf05,endOffset:_0x4764fe,collapsed:_0x43c91a,isActive:_0x3c2a0c}of _0x48776d){const _0x3007a3=_0x350575['findNodePositionByCharIndex'](_0xe3bf05),_0x2d4243=_0x350575[_0x39c9e(0x4bf)](_0x4764fe);if(_0x3c2a0c){const {contentBoxPointGroup:_0x5c28a2}=_0xf75941[_0x39c9e(0x295)](_0x2d4243,_0x2d4243);if(_0x5c28a2['length']===0x0)continue;this[_0x39c9e(0x2c8)](_0x74a73c,_0x5c28a2,_0x220dc0,_0x3b0ea2,_0x2a5e88),this[_0x39c9e(0x301)]=this[_0x39c9e(0x557)]();}if(!_0x43c91a&&_0x3007a3&&_0x2d4243){if(_0x54d1da['isValidRectRange'](_0x3007a3,_0x2d4243)){const _0x5415e7=new _0x54d1da[(_0x39c9e(0x19f))](_0x132421,_0x350575),{pointGroup:_0x436c7a}=(_0x185602=_0x5415e7[_0x39c9e(0x295)](_0x3007a3,_0x2d4243))!=null?_0x185602:{};if(_0x436c7a==null||_0x436c7a[_0x39c9e(0x392)]===0x0)continue;this[_0x39c9e(0x4ca)](_0x74a73c,_0x436c7a,_0x220dc0,_0x3b0ea2);}else{const {contentBoxPointGroup:_0x25c311}=_0xf75941[_0x39c9e(0x295)](_0x3007a3,_0x2d4243);if(_0x25c311['length']===0x0)continue;this[_0x39c9e(0x4c4)](_0x74a73c,_0x25c311,_0x220dc0,_0x3b0ea2);}}}}[_0x51d41b(0x2c8)](_0x54bc72,_0x8738df,_0x4f55b8,_0x52b442,_0x1a68ee){const _0x4c87e1=_0x51d41b,_0x338d4e=this[_0x4c87e1(0x311)](_0x8738df),{left:_0x4f59c8,top:_0x443717,height:_0x3e19a2}=_0x338d4e,_0x1f1686=this[_0x4c87e1(0x3e5)](),_0x158afc=_0x291f02/_0x1f1686,_0x1fe7b5=new _0x54d1da[(_0x4c87e1(0x4d3))](_0x2196c7+_0x36d396[_0x4c87e1(0x20e)][_0x4c87e1(0x1e3)](_0x42126b),{'left':_0x4f59c8+_0x4f55b8-_0x158afc,'top':_0x443717+_0x52b442,'height':_0x3e19a2,'width':_0x13d6fb,'fill':_0x54bc72||_0x54d1da[_0x4c87e1(0x472)](_0x36d396[_0x4c87e1(0x35e)][_0x4c87e1(0x529)],0x0),'strokeWidth':_0x158afc,'stroke':_0x490fff,'evented':!0x0});this[_0x4c87e1(0x28e)]=_0x1fe7b5,this['_scene'][_0x4c87e1(0x3c0)](_0x1fe7b5,_0x54d1da['TEXT_RANGE_LAYER_INDEX']);const _0x5889a0=new _0x54d1da[(_0x4c87e1(0x4d3))](_0x2196c7+_0x36d396[_0x4c87e1(0x20e)][_0x4c87e1(0x1e3)](_0x42126b),{'left':_0x4f59c8+_0x4f55b8-_0x158afc,'top':_0x443717+_0x52b442-_0x10d324/0x2,'height':_0x10d324,'width':_0x10d324,'fill':_0x54bc72||_0x54d1da[_0x4c87e1(0x472)](_0x36d396[_0x4c87e1(0x35e)][_0x4c87e1(0x529)],0x0),'strokeWidth':0x0,'stroke':_0x54bc72||_0x54d1da[_0x4c87e1(0x472)](_0x36d396[_0x4c87e1(0x35e)]['black'],0x0),'evented':!0x1});this[_0x4c87e1(0x437)]=_0x5889a0,this['_scene'][_0x4c87e1(0x3c0)](_0x5889a0,_0x54d1da['TEXT_RANGE_LAYER_INDEX']);const _0x3e68ad=new _0x5aab28(_0x2196c7+_0x36d396[_0x4c87e1(0x20e)][_0x4c87e1(0x1e3)](_0x42126b),{'left':_0x4f59c8+_0x4f55b8-_0x158afc,'top':_0x443717+_0x52b442-_0x122765,'text':_0x1a68ee,'color':_0x54bc72});this['_textBubble']=_0x3e68ad,this[_0x4c87e1(0x297)][_0x4c87e1(0x3c0)](_0x3e68ad,_0x54d1da['TEXT_RANGE_LAYER_INDEX']),this[_0x4c87e1(0x59b)]=!0x1;}[_0x51d41b(0x557)](){const _0x1fe840=_0x51d41b,_0x137de0=this[_0x1fe840(0x28e)][_0x1fe840(0x594)][_0x1fe840(0x3ea)](()=>{const _0xc56d1c=_0x1fe840;this[_0xc56d1c(0x59b)]=!0x0;}),_0x4798ab=this[_0x1fe840(0x28e)]['onPointerLeave$'][_0x1fe840(0x3ea)](()=>{const _0x5ed2c4=_0x1fe840;this[_0x5ed2c4(0x56e)]&&clearTimeout(this[_0x5ed2c4(0x56e)]),this[_0x5ed2c4(0x56e)]=setTimeout(()=>{const _0xc5ae14=_0x5ed2c4;this[_0xc5ae14(0x59b)]=!0x1;},0x7d0);});return()=>{_0x137de0['unsubscribe'](),_0x4798ab['unsubscribe']();};}[_0x51d41b(0x4c4)](_0x32f636,_0x33c899,_0x59cb50,_0x5e01ee){const _0x1182d0=_0x51d41b,_0x1a8da5=new _0x36d396[(_0x1182d0(0x1af))](_0x32f636)[_0x1182d0(0x474)](0.2)[_0x1182d0(0x45e)](),_0x562399=new _0x54d1da['RegularPolygon'](_0x26adf6+_0x36d396[_0x1182d0(0x20e)]['generateRandomId'](_0x42126b),{'pointsGroup':_0x33c899,'fill':_0x1a8da5||_0x54d1da[_0x1182d0(0x472)](_0x36d396[_0x1182d0(0x35e)][_0x1182d0(0x529)],0.2),'left':_0x59cb50,'top':_0x5e01ee,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1182d0(0x4ae)]['push'](_0x562399),this[_0x1182d0(0x297)][_0x1182d0(0x3c0)](_0x562399,_0x54d1da[_0x1182d0(0x366)]);}[_0x51d41b(0x4ca)](_0x15ab0a,_0x51b272,_0x208d9d,_0x53b606){const _0x23a432=_0x51d41b,_0x99fbc2=new _0x36d396['ColorKit'](_0x15ab0a)[_0x23a432(0x474)](0.2)[_0x23a432(0x45e)](),_0x4f76e6=new _0x54d1da['RegularPolygon'](_0x19a34b+_0x36d396[_0x23a432(0x20e)]['generateRandomId'](_0x42126b),{'pointsGroup':_0x51b272,'fill':_0x99fbc2||_0x54d1da[_0x23a432(0x472)](_0x36d396['COLORS'][_0x23a432(0x529)],0.2),'left':_0x208d9d,'top':_0x53b606,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x23a432(0x4ae)][_0x23a432(0x3cf)](_0x4f76e6),this[_0x23a432(0x297)][_0x23a432(0x3c0)](_0x4f76e6,_0x54d1da[_0x23a432(0x366)]);}[_0x51d41b(0x311)](_0x38bf42){const _0xd2c6e5=_0x38bf42[0x0],_0x300dab=_0xd2c6e5[0x0],_0x563bb5=_0xd2c6e5[0x2],{x:_0x572e60,y:_0x5bb5e7}=_0x300dab,{x:_0x485f24,y:_0x1b6309}=_0x563bb5;return{'left':_0x572e60,'top':_0x5bb5e7,'width':_0x485f24-_0x572e60,'height':_0x1b6309-_0x5bb5e7};}[_0x51d41b(0x3e5)](){const _0x2b86d2=_0x51d41b,{scaleX:_0x351d02,scaleY:_0x4211ed}=this[_0x2b86d2(0x297)][_0x2b86d2(0x329)]();return Math[_0x2b86d2(0x36a)](_0x351d02,_0x4211ed);}}var _0x558ec5=Object['defineProperty'],_0x113d79=Object[_0x51d41b(0x2b7)],_0x270c0d=(_0x403d33,_0x359217,_0x5d92b1,_0x3060ff)=>{const _0x541a7e=_0x51d41b;for(var _0x4a4764=_0x3060ff>0x1?void 0x0:_0x3060ff?_0x113d79(_0x359217,_0x5d92b1):_0x359217,_0x30e19e=_0x403d33[_0x541a7e(0x392)]-0x1,_0x2bbe0c;_0x30e19e>=0x0;_0x30e19e--)(_0x2bbe0c=_0x403d33[_0x30e19e])&&(_0x4a4764=(_0x3060ff?_0x2bbe0c(_0x359217,_0x5d92b1,_0x4a4764):_0x2bbe0c(_0x4a4764))||_0x4a4764);return _0x3060ff&&_0x4a4764&&_0x558ec5(_0x359217,_0x5d92b1,_0x4a4764),_0x4a4764;},_0x5d9a00=(_0xf67f59,_0x5051ec)=>(_0x37dc20,_0x413f23)=>_0x5051ec(_0x37dc20,_0x413f23,_0xf67f59);let _0x178c9a=class extends _0x36d396['RxDisposable']{constructor(_0x9a56b1,_0x155df6,_0x39782a,_0xf46ce7,_0x18d701){const _0x16dd8d=_0x51d41b;super(),_0x55fd67(this,_0x16dd8d(0x3d5),[]),_0x55fd67(this,_0x16dd8d(0x504),[]),(this[_0x16dd8d(0x4e4)]=_0x9a56b1,this[_0x16dd8d(0x4fc)]=_0x155df6,this['_collabCursorController']=_0x39782a,this[_0x16dd8d(0x561)]=_0xf46ce7,this[_0x16dd8d(0x2b9)]=_0x18d701,this[_0x16dd8d(0x571)]());}[_0x51d41b(0x571)](){const _0x5291b6=_0x51d41b,_0x583b38=this['_context'][_0x5291b6(0x19b)],_0x7f9965=this[_0x5291b6(0x4fc)];this[_0x5291b6(0x595)](_0x22cf47[_0x5291b6(0x548)]([this[_0x5291b6(0x1a3)][_0x5291b6(0x45d)](_0x583b38),this[_0x5291b6(0x2b9)]['currentTheme$']])[_0x5291b6(0x257)](_0x547088[_0x5291b6(0x565)](([_0x49134e,_0x4cb4f6])=>({'skeleton':_0x7f9965['getSkeleton'](),'cursors':[..._0x49134e['values']()][_0x5291b6(0x364)](_0x51c6d3=>({..._0x51c6d3,'color':_0x4cb4f6[_0x51c6d3['color']]}))})))[_0x5291b6(0x200)](_0x16e401=>{const _0x3993d9=_0x5291b6;if(this[_0x3993d9(0x220)](),_0x16e401){const {skeleton:_0x372c2d,cursors:_0x1a241d}=_0x16e401;this[_0x3993d9(0x555)](_0x372c2d,_0x1a241d);}})),this[_0x5291b6(0x422)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x36c6f9,_0x25b294){const _0x4a8e9c=_0x51d41b,{scene:_0x565277,mainComponent:_0x7395ac}=this[_0x4a8e9c(0x4e4)],_0x51f0b3=_0x25b294['map'](_0x2ac6a1=>new _0x4cd564(_0x2ac6a1,_0x565277,_0x36c6f9,_0x7395ac));this[_0x4a8e9c(0x3d5)]=_0x51f0b3,this[_0x4a8e9c(0x504)]=_0x25b294;}['_refreshCollabCursors'](){const _0x50fd96=_0x51d41b;this[_0x50fd96(0x220)]();const {scene:_0x268bca,mainComponent:_0xc96ab5}=this[_0x50fd96(0x4e4)],_0x55c0b7=this['_docSkeletonManagerService'][_0x50fd96(0x3bb)](),_0x3f15ad=this['_cursors'][_0x50fd96(0x565)](_0x153707=>new _0x4cd564(_0x153707,_0x268bca,_0x55c0b7,_0xc96ab5));this['_cursorShapes']=_0x3f15ad;}['_removeCollabCursors'](){const _0x2c1936=_0x51d41b;this[_0x2c1936(0x3d5)][_0x2c1936(0x1a9)](_0x17feb3=>_0x17feb3['dispose']()),this[_0x2c1936(0x3d5)]=[];}[_0x51d41b(0x3bf)](){const _0x1cbf72=_0x51d41b,_0x3d388=[_0x569fac['SetDocZoomRatioOperation']['id']];this[_0x1cbf72(0x595)](this['_commandService'][_0x1cbf72(0x1c8)](_0xc2fa5b=>{const _0x47d014=_0x1cbf72;_0x3d388[_0x47d014(0x55c)](_0xc2fa5b['id'])&&_0xc2fa5b['params']['unitId']===this[_0x47d014(0x4e4)][_0x47d014(0x19b)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x29ddd5=_0x51d41b;this[_0x29ddd5(0x595)](_0x36d396[_0x29ddd5(0x51a)](this[_0x29ddd5(0x4e4)][_0x29ddd5(0x48c)][_0x29ddd5(0x464)])[_0x29ddd5(0x257)](_0x547088[_0x29ddd5(0x280)](_0x418c71=>_0x418c71[_0x29ddd5(0x2cb)]===_0x54d1da[_0x29ddd5(0x2db)][_0x29ddd5(0x363)]),_0x547088[_0x29ddd5(0x41b)](0x10))[_0x29ddd5(0x200)](()=>{const _0x571287=_0x29ddd5;this[_0x571287(0x242)]();}));}};_0x178c9a=_0x270c0d([_0x36d396[_0x51d41b(0x547)](_0x36d396[_0x51d41b(0x520)]['Steady'],_0x178c9a),_0x5d9a00(0x1,_0x36d396['Inject'](_0x569fac[_0x51d41b(0x29c)])),_0x5d9a00(0x2,_0x36d396[_0x51d41b(0x2ae)](_0x566b79)),_0x5d9a00(0x3,_0x36d396[_0x51d41b(0x1d5)]),_0x5d9a00(0x4,_0x36d396[_0x51d41b(0x2ae)](_0x36d396['ThemeService']))],_0x178c9a);var _0x181296=Object[_0x51d41b(0x215)],_0xa34052=Object[_0x51d41b(0x2b7)],_0x49b301=(_0x5b4418,_0x2b24b0,_0x50bb37,_0xf230b4)=>{for(var _0x504c82=_0xf230b4>0x1?void 0x0:_0xf230b4?_0xa34052(_0x2b24b0,_0x50bb37):_0x2b24b0,_0x39d7d2=_0x5b4418['length']-0x1,_0x31870f;_0x39d7d2>=0x0;_0x39d7d2--)(_0x31870f=_0x5b4418[_0x39d7d2])&&(_0x504c82=(_0xf230b4?_0x31870f(_0x2b24b0,_0x50bb37,_0x504c82):_0x31870f(_0x504c82))||_0x504c82);return _0xf230b4&&_0x504c82&&_0x181296(_0x2b24b0,_0x50bb37,_0x504c82),_0x504c82;},_0x708478=(_0x4e3f5a,_0x3a6db3)=>(_0x9051b0,_0x39de9b)=>_0x3a6db3(_0x9051b0,_0x39de9b,_0x4e3f5a);let _0x29ed70=class{constructor(_0x266958,_0x71b5d9,_0x843847){const _0x3b8c8d=_0x51d41b;this[_0x3b8c8d(0x448)]=_0x266958,this['_httpService']=_0x71b5d9,this[_0x3b8c8d(0x1dd)]=_0x843847,this[_0x3b8c8d(0x46c)]();}[_0x51d41b(0x46c)](){const _0x2cceb5=_0x51d41b;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x548d1c,_0x284e96)=>_0x284e96(_0x548d1c)['pipe'](_0x22cf47[_0x2cceb5(0x4c9)](async _0x5b43cf=>{const _0x4c06f7=_0x2cceb5,_0x47db7e=_0x5b43cf;if(_0x47db7e[_0x4c06f7(0x199)]===0x191&&window['confirm'](this[_0x4c06f7(0x1dd)]['t'](_0x4c06f7(0x25f)))){const _0xcc6299=window[_0x4c06f7(0x303)](window[_0x4c06f7(0x57f)][_0x4c06f7(0x23a)]);window[_0x4c06f7(0x57f)][_0x4c06f7(0x23a)]=this['_getLoginPath']()+_0x4c06f7(0x502)+_0xcc6299;}return _0x47db7e;}))});}[_0x51d41b(0x204)](){const _0x4f10bd=_0x51d41b;var _0x38846f;return(_0x38846f=this[_0x4f10bd(0x448)][_0x4f10bd(0x1a6)](_0x4c6be5))!=null?_0x38846f:_0x11abd1;}};_0x29ed70=_0x49b301([_0x708478(0x0,_0x36d396['IConfigService']),_0x708478(0x1,_0x36d396['Inject'](_0x3d1d50[_0x51d41b(0x2e6)])),_0x708478(0x2,_0x36d396['Inject'](_0x36d396[_0x51d41b(0x22d)]))],_0x29ed70);var _0x38479a=Object[_0x51d41b(0x215)],_0x400f51=Object[_0x51d41b(0x2b7)],_0x2aa5d4=(_0x47f04c,_0x2f23bd,_0x2fb28e,_0x1f1b05)=>{for(var _0x16eb8c=_0x1f1b05>0x1?void 0x0:_0x1f1b05?_0x400f51(_0x2f23bd,_0x2fb28e):_0x2f23bd,_0x50feee=_0x47f04c['length']-0x1,_0x251c56;_0x50feee>=0x0;_0x50feee--)(_0x251c56=_0x47f04c[_0x50feee])&&(_0x16eb8c=(_0x1f1b05?_0x251c56(_0x2f23bd,_0x2fb28e,_0x16eb8c):_0x251c56(_0x16eb8c))||_0x16eb8c);return _0x1f1b05&&_0x16eb8c&&_0x38479a(_0x2f23bd,_0x2fb28e,_0x16eb8c),_0x16eb8c;},_0x4086a7=(_0x443e92,_0x8f436e)=>(_0x2f8d53,_0x25d63d)=>_0x8f436e(_0x2f8d53,_0x25d63d,_0x443e92);const _0x20cd58=_0x51d41b(0x33b),_0x1ea89d=_0x51d41b(0x400);_0x59ce0d[_0x51d41b(0x57c)]=class extends _0x36d396[_0x51d41b(0x4f0)]{constructor(_0x41a92b,_0x422832){const _0x2f82bf=_0x51d41b;super(),this[_0x2f82bf(0x579)]=_0x41a92b,this[_0x2f82bf(0x448)]=_0x422832,this['_initMergeInterceptor']();}[_0x51d41b(0x3fe)](){const _0x48cffb=_0x51d41b,_0x298ab5=this;this[_0x48cffb(0x595)](this['_HTTPService'][_0x48cffb(0x41e)]({'priority':0x3e7,'interceptor':_0x3d1d50[_0x48cffb(0x195)]({'isMatch'(_0x516851){const _0x3d6cdf=_0x48cffb;var _0x1d47db;if(_0x516851[_0x3d6cdf(0x244)]===_0x3d6cdf(0x352)&&((_0x1d47db=_0x516851[_0x3d6cdf(0x51b)])!=null&&_0x1d47db[_0x3d6cdf(0x283)])){const {objectID:_0x29f6aa,objectType:_0x36e49f}=_0x516851[_0x3d6cdf(0x51b)][_0x3d6cdf(0x283)]||{};if(!_0x29f6aa||_0x36e49f===void 0x0)return!0x1;const _0x1e6e39=_0x298ab5[_0x3d6cdf(0x214)]()+'/'+_0x36e49f+_0x3d6cdf(0x1ef)+_0x29f6aa+_0x3d6cdf(0x3ac);if(_0x516851['url']===_0x1e6e39)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5ee564){const _0xa52e5b=_0x48cffb;var _0x57623f;return(_0x57623f=_0x5ee564[_0xa52e5b(0x51b)])==null?void 0x0:_0x57623f['body'];},'mergeParamsToRequest'(_0x1de22e,_0x4227b8){const _0xec40ba=_0x48cffb,_0x67d7e4=_0x298ab5[_0xec40ba(0x214)]()+_0xec40ba(0x34d),_0x3bda89=_0x1de22e['reduce']((_0x283e19,_0x517b47)=>{const _0x4efc6f=_0xec40ba,{unitID:_0x23e7b1,objectID:_0xf3158a,objectType:_0x1e6889,actions:_0x12ab4d}=_0x517b47;return _0x283e19[_0x23e7b1]||(_0x283e19[_0x23e7b1]={}),_0x283e19[_0x23e7b1][_0xf3158a]||(_0x283e19[_0x23e7b1][_0xf3158a]={'objectID':_0xf3158a,'objectType':_0x1e6889,'actions':[]}),_0x283e19[_0x23e7b1][_0xf3158a][_0x4efc6f(0x583)][_0x4efc6f(0x3cf)](..._0x12ab4d),_0x283e19;},{}),_0x29a2b9=[];for(const _0x2918c2 in _0x3bda89)for(const _0x3a3dc6 in _0x3bda89[_0x2918c2]){const {actions:_0x186e6a,objectType:_0x36ed4b}=_0x3bda89[_0x2918c2][_0x3a3dc6],_0x228a88=[...new Set(_0x186e6a)];_0x29a2b9[_0xec40ba(0x3cf)]({'unitID':_0x2918c2,'objectID':_0x3a3dc6,'objectType':_0x36ed4b,'actions':_0x228a88});}return new _0x3d1d50[(_0xec40ba(0x259))](_0xec40ba(0x352),_0x67d7e4,{'headers':_0x4227b8[_0xec40ba(0x37f)],'withCredentials':_0x4227b8[_0xec40ba(0x284)],'responseType':_0x4227b8[_0xec40ba(0x3fd)],'body':{'requests':_0x29a2b9}});}},{'distributeResult'(_0x4ac239,_0xa4b15e){const _0x22566c=_0x48cffb,{objectActions:_0x4760bf}=_0x4ac239;return _0xa4b15e[_0x22566c(0x565)](_0x58a03c=>{const _0x1b0de4=_0x22566c,{unitID:_0x137026,objectID:_0x43ee2e,actions:_0x3af2de}=_0x58a03c,_0x51ba6d=_0x4760bf[_0x1b0de4(0x3e3)](_0xe149b9=>_0xe149b9['unitID']===_0x137026&&_0xe149b9[_0x1b0de4(0x1e9)]===_0x43ee2e),_0x9f672b=_0x3af2de[_0x1b0de4(0x565)](_0x2fa7bb=>_0x51ba6d==null?void 0x0:_0x51ba6d['actions'][_0x1b0de4(0x3e3)](_0x403daa=>_0x403daa[_0x1b0de4(0x2d7)]===_0x2fa7bb))['filter'](_0x2c8884=>!!_0x2c8884);return{'config':_0x58a03c,'result':{'actions':_0x9f672b,'error':_0x4ac239['error']}};});}})}));}[_0x51d41b(0x214)](){const _0x410dd5=_0x51d41b;var _0x57b867;return(_0x57b867=this['_configService'][_0x410dd5(0x1a6)](_0x20cd58))!=null?_0x57b867:_0x1ea89d;}async['create'](_0x3f628f){const _0x56fe18=_0x51d41b,_0x30554e=this[_0x56fe18(0x214)]()+'/'+_0x3f628f['objectType']+_0x56fe18(0x3d2);return(await this[_0x56fe18(0x579)][_0x56fe18(0x51e)](_0x30554e,{'body':_0x3f628f}))[_0x56fe18(0x283)][_0x56fe18(0x1e9)]||'';}async[_0x51d41b(0x49c)](_0x18d67b){const _0x20eb50=_0x51d41b,_0x1ea109=this['_getAPIPrefixPath']()+_0x20eb50(0x35a);return(await this['_HTTPService'][_0x20eb50(0x51e)](_0x1ea109,{'body':_0x18d67b}))[_0x20eb50(0x283)][_0x20eb50(0x43a)];}async['update'](_0x2d9755){const _0x12128a=_0x51d41b,_0x196b01=this[_0x12128a(0x214)]()+'/'+_0x2d9755[_0x12128a(0x4ba)]+'/object/'+_0x2d9755[_0x12128a(0x1e9)];await this[_0x12128a(0x579)][_0x12128a(0x21d)](_0x196b01,{'body':_0x2d9755});}async[_0x51d41b(0x355)](_0x13343b){const _0x24905e=_0x51d41b,_0x230dc3=this[_0x24905e(0x214)]()+'/'+_0x13343b[_0x24905e(0x4ba)]+_0x24905e(0x1ef)+_0x13343b[_0x24905e(0x1e9)]+'/allowed';return(await this['_HTTPService'][_0x24905e(0x51e)](_0x230dc3,{'body':_0x13343b}))[_0x24905e(0x283)]['actions'];}async[_0x51d41b(0x403)](_0x522b56){const _0x3b4f2c=_0x51d41b,_0x221e38=this[_0x3b4f2c(0x214)]()+'/-/object/-/batch_allowed';return(await this[_0x3b4f2c(0x579)][_0x3b4f2c(0x51e)](_0x221e38,{'body':{'requests':_0x522b56}}))[_0x3b4f2c(0x283)][_0x3b4f2c(0x198)];}async[_0x51d41b(0x4b7)](_0x17d535){const _0x4c1864=_0x51d41b,_0x2a0163=this['_getAPIPrefixPath']()+'/'+_0x17d535[_0x4c1864(0x4ba)]+'/role',_0xe2ee34=await this[_0x4c1864(0x579)][_0x4c1864(0x51e)](_0x2a0163,{'body':_0x17d535});return{'roles':_0xe2ee34[_0x4c1864(0x283)][_0x4c1864(0x2a9)],'actions':_0xe2ee34['body'][_0x4c1864(0x583)]};}async[_0x51d41b(0x197)](_0x3547d0){const _0x22f82c=_0x51d41b,_0x54cdd6=this[_0x22f82c(0x214)]()+_0x22f82c(0x4d8);await this['_HTTPService'][_0x22f82c(0x560)](_0x54cdd6,{'params':{'collaboratorID':_0x3547d0[_0x22f82c(0x247)],'objectID':_0x3547d0[_0x22f82c(0x1e9)],'unitID':_0x3547d0[_0x22f82c(0x35f)]}});}async[_0x51d41b(0x596)](_0x1dc70c){const _0x3bf1b6=_0x51d41b,_0x4696a2=this[_0x3bf1b6(0x214)]()+_0x3bf1b6(0x4d8);await this['_HTTPService']['patch'](_0x4696a2,{'body':_0x1dc70c});}async[_0x51d41b(0x385)](_0x23fd94){const _0x4fdd55=_0x51d41b,_0x281d4e=this['_getAPIPrefixPath']()+_0x4fdd55(0x4d8);await this['_HTTPService'][_0x4fdd55(0x51e)](_0x281d4e,{'body':_0x23fd94});}async[_0x51d41b(0x3fa)](_0x3f3b7d){const _0x2381d2=_0x51d41b,_0x22f729=this['_getAPIPrefixPath']()+_0x2381d2(0x4d8);return(await this['_HTTPService'][_0x2381d2(0x58c)](_0x22f729,{'params':{'objectID':_0x3f3b7d[_0x2381d2(0x1e9)],'unitID':_0x3f3b7d[_0x2381d2(0x35f)]}}))['body'][_0x2381d2(0x55e)];}async[_0x51d41b(0x3e7)](_0x56c7bb){const _0x59967d=_0x51d41b,_0x5db76e=this['_getAPIPrefixPath']()+_0x59967d(0x4d8);await this[_0x59967d(0x579)]['put'](_0x5db76e,{'body':_0x56c7bb});}},_0x59ce0d[_0x51d41b(0x57c)]=_0x2aa5d4([_0x4086a7(0x0,_0x36d396['Inject'](_0x3d1d50[_0x51d41b(0x2e6)])),_0x4086a7(0x1,_0x36d396[_0x51d41b(0x2ae)](_0x36d396[_0x51d41b(0x511)]))],_0x59ce0d[_0x51d41b(0x57c)]);var _0x41278a=Object['defineProperty'],_0x102b7e=Object['getOwnPropertyDescriptor'],_0x1acab9=(_0x5bab2c,_0x5d783f,_0x4e4871,_0x56bcbe)=>{const _0x449cc7=_0x51d41b;for(var _0x1b9400=_0x56bcbe>0x1?void 0x0:_0x56bcbe?_0x102b7e(_0x5d783f,_0x4e4871):_0x5d783f,_0x2080b4=_0x5bab2c[_0x449cc7(0x392)]-0x1,_0x347440;_0x2080b4>=0x0;_0x2080b4--)(_0x347440=_0x5bab2c[_0x2080b4])&&(_0x1b9400=(_0x56bcbe?_0x347440(_0x5d783f,_0x4e4871,_0x1b9400):_0x347440(_0x1b9400))||_0x1b9400);return _0x56bcbe&&_0x1b9400&&_0x41278a(_0x5d783f,_0x4e4871,_0x1b9400),_0x1b9400;},_0x41cda8=(_0x49b6ba,_0x2cafa8)=>(_0x3bb95d,_0x9f66c6)=>_0x2cafa8(_0x3bb95d,_0x9f66c6,_0x49b6ba);const _0x13975c=[_0x51d41b(0x418),_0x51d41b(0x221),_0x51d41b(0x1d2),_0x51d41b(0x54c),_0x51d41b(0x55b)],_0x251ee4=0x5*0x400*0x400,_0x4c3ca1='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x2d2b1e=_0x51d41b(0x3a4),_0x3cfbeb=_0x51d41b(0x43d),_0x4ce5c4=_0x51d41b(0x337);_0x59ce0d[_0x51d41b(0x288)]=class{constructor(_0x35faa5,_0x30795b,_0xbbe3d8){const _0x524d0e=_0x51d41b;_0x55fd67(this,'_waitCount',0x0),_0x55fd67(this,_0x524d0e(0x57d),new _0x22cf47['Subject']()),_0x55fd67(this,_0x524d0e(0x54f),this['_change$']),_0x55fd67(this,_0x524d0e(0x45a),new Map()),(this[_0x524d0e(0x463)]=_0x35faa5,this[_0x524d0e(0x448)]=_0x30795b,this[_0x524d0e(0x273)]=_0xbbe3d8);}[_0x51d41b(0x3aa)](_0x3cf089){const _0x33bbae=_0x51d41b;this[_0x33bbae(0x370)]=_0x3cf089,this[_0x33bbae(0x57d)][_0x33bbae(0x1d6)](_0x3cf089);}[_0x51d41b(0x1fe)](_0x1fad59,_0x407b1b){const _0x64a7f3=_0x51d41b;if(_0x407b1b===_0x17128d[_0x64a7f3(0x450)][_0x64a7f3(0x51d)]){const _0xd92edb=new Image();return _0xd92edb['src']=_0x1fad59,_0xd92edb;}return this[_0x64a7f3(0x45a)][_0x64a7f3(0x58c)](_0x1fad59);}[_0x51d41b(0x453)](_0x3f8f21,_0x3ec8bd,_0x5f4a4d){const _0x127a42=_0x51d41b;_0x3ec8bd===_0x17128d['ImageSourceType'][_0x127a42(0x51d)]||_0x5f4a4d==null||this['_imageSourceCache'][_0x127a42(0x27f)](_0x3f8f21,_0x5f4a4d);}async['getImage'](_0x20ce13){const _0x128e35=_0x51d41b;try{const _0x5167bf=this[_0x128e35(0x343)](this[_0x128e35(0x578)](),''+_0x20ce13),_0x4a93dd=(await this[_0x128e35(0x463)][_0x128e35(0x58c)](_0x5167bf))[_0x128e35(0x283)];return _0x4a93dd[_0x128e35(0x405)]&&_0x4a93dd[_0x128e35(0x405)][_0x128e35(0x30d)]===_0x5d72a7['OK']?Promise[_0x128e35(0x4aa)](_0x4a93dd[_0x128e35(0x28c)]):Promise['reject'](_0x4a93dd[_0x128e35(0x405)]);}catch(_0x511ae9){return Promise[_0x128e35(0x498)](_0x511ae9);}}async[_0x51d41b(0x32b)](_0x2c4d7e){const _0x54961f=_0x51d41b;let _0xdf9392='';if(!_0x13975c[_0x54961f(0x55c)](_0x2c4d7e[_0x54961f(0x2cb)]))return this[_0x54961f(0x421)](),Promise['reject'](new Error(_0x17128d[_0x54961f(0x4e9)][_0x54961f(0x4e5)]));if(_0x2c4d7e[_0x54961f(0x32c)]>_0x251ee4)return this[_0x54961f(0x421)](),Promise['reject'](new Error(_0x17128d['ImageUploadStatusType'][_0x54961f(0x3b2)]));try{const _0xcdfc2a=new FormData();_0xcdfc2a[_0x54961f(0x217)](_0x54961f(0x397),_0x2c4d7e);const _0x4d521d=this[_0x54961f(0x273)][_0x54961f(0x3ce)](),_0x1886c5=_0x4d521d==null?void 0x0:_0x4d521d[_0x54961f(0x4ce)]();if(!_0x1886c5)throw new Error(_0x54961f(0x521));const _0xea1941=this[_0x54961f(0x531)]()+_0x54961f(0x2e4)+_0x2c4d7e[_0x54961f(0x32c)][_0x54961f(0x240)]()+_0x54961f(0x59f)+_0x66022a[_0x54961f(0x381)]+'&assign='+encodeURIComponent(_0x1886c5),_0x3cd64d=await(await fetch(_0xea1941,{'method':_0x54961f(0x352),'body':_0xcdfc2a}))[_0x54961f(0x536)]();if(typeof _0x3cd64d[_0x54961f(0x1ab)]!='string')return this['_decreaseWaiting'](),Promise[_0x54961f(0x498)](new Error(_0x17128d[_0x54961f(0x4e9)][_0x54961f(0x4e3)]));_0xdf9392=_0x3cd64d[_0x54961f(0x1ab)];}catch{return this[_0x54961f(0x421)](),Promise[_0x54961f(0x498)](new Error(_0x17128d[_0x54961f(0x4e9)][_0x54961f(0x4e3)]));}return new Promise((_0x551895,_0x11eb71)=>{const _0x37c95d=_0x54961f,_0x2baa6f=new FileReader();_0x2baa6f[_0x37c95d(0x333)](_0x2c4d7e),_0x2baa6f[_0x37c95d(0x427)]=_0x19a97e=>{const _0x2c5322=_0x37c95d;var _0x308ee4;const _0x5aaa4b=(_0x308ee4=_0x19a97e[_0x2c5322(0x31e)])==null?void 0x0:_0x308ee4['result'];if(_0x5aaa4b==null){this['_decreaseWaiting'](),_0x11eb71(new Error(_0x17128d[_0x2c5322(0x4e9)][_0x2c5322(0x4e3)]));return;}const _0x21785c=_0x36d396[_0x2c5322(0x20e)][_0x2c5322(0x1e3)](0x6);_0x551895({'imageId':_0x21785c,'imageSourceType':_0x17128d['ImageSourceType']['UUID'],'source':_0xdf9392,'base64Cache':_0x5aaa4b,'status':_0x17128d['ImageUploadStatusType'][_0x2c5322(0x32e)]}),this[_0x2c5322(0x421)]();};});}[_0x51d41b(0x531)](){const _0x60c5fd=_0x51d41b;var _0x3c5fa3;return(_0x3c5fa3=this[_0x60c5fd(0x448)][_0x60c5fd(0x1a6)](_0x4c3ca1))!=null?_0x3c5fa3:_0x2d2b1e;}[_0x51d41b(0x578)](){const _0x12a999=_0x51d41b;var _0x43725c;return(_0x43725c=this[_0x12a999(0x448)][_0x12a999(0x1a6)](_0x3cfbeb))!=null?_0x43725c:_0x4ce5c4;}[_0x51d41b(0x343)](_0xbbe613,_0x5ac83e){const _0x24a9f5=_0x51d41b;return _0xbbe613[_0x24a9f5(0x591)](_0x24a9f5(0x2c3),_0x5ac83e);}['_decreaseWaiting'](){const _0x1f26a1=_0x51d41b;this['_waitCount']-=0x1,this['_change$'][_0x1f26a1(0x1d6)](this[_0x1f26a1(0x370)]);}},_0x59ce0d['ImageIoService']=_0x1acab9([_0x41cda8(0x0,_0x36d396['Inject'](_0x3d1d50[_0x51d41b(0x2e6)])),_0x41cda8(0x1,_0x36d396['IConfigService']),_0x41cda8(0x2,_0x36d396[_0x51d41b(0x2ae)](_0x36d396[_0x51d41b(0x2c5)]))],_0x59ce0d['ImageIoService']);var _0x2a8438=Object[_0x51d41b(0x215)],_0x4f4757=Object[_0x51d41b(0x2b7)],_0x2b61d8=(_0x5dc82a,_0x3cc148,_0x5a3a1d,_0x170372)=>{const _0x43911d=_0x51d41b;for(var _0x3181ec=_0x170372>0x1?void 0x0:_0x170372?_0x4f4757(_0x3cc148,_0x5a3a1d):_0x3cc148,_0x16e6e5=_0x5dc82a[_0x43911d(0x392)]-0x1,_0x16cf01;_0x16e6e5>=0x0;_0x16e6e5--)(_0x16cf01=_0x5dc82a[_0x16e6e5])&&(_0x3181ec=(_0x170372?_0x16cf01(_0x3cc148,_0x5a3a1d,_0x3181ec):_0x16cf01(_0x3181ec))||_0x3181ec);return _0x170372&&_0x3181ec&&_0x2a8438(_0x3cc148,_0x5a3a1d,_0x3181ec),_0x3181ec;},_0x4e9a10=(_0x4f7202,_0x5a335a)=>(_0x5a5518,_0x5bb584)=>_0x5a335a(_0x5a5518,_0x5bb584,_0x4f7202);let _0x4dc48c=class extends _0x36d396[_0x51d41b(0x480)]{constructor(_0x5d2df5,_0x4408f2,_0x2c9ffb,_0x144225,_0x1d9c59){const _0x4deff0=_0x51d41b;super(),this[_0x4deff0(0x2b0)]=_0x5d2df5,this[_0x4deff0(0x273)]=_0x4408f2,this[_0x4deff0(0x350)]=_0x2c9ffb,this[_0x4deff0(0x3f1)]=_0x144225,this['_localeService']=_0x1d9c59,this[_0x4deff0(0x383)](),this[_0x4deff0(0x53e)]();}[_0x51d41b(0x53e)](){const _0x430307=_0x51d41b,_0x5f2632=async _0x14bf38=>{const _0xd8cb8f=_0x4682;(await this[_0xd8cb8f(0x3f1)][_0xd8cb8f(0x208)](_0x14bf38))[_0xd8cb8f(0x1b6)][_0xd8cb8f(0x257)](_0x547088[_0xd8cb8f(0x280)](_0x5a3846=>_0x5a3846['eventID']===_0x346629[_0xd8cb8f(0x2fa)][_0xd8cb8f(0x408)]),_0x547088[_0xd8cb8f(0x5a4)](this['dispose$']))['subscribe'](_0x16614b=>{const _0x6e0174=_0xd8cb8f,_0xc91303=_0x16614b,{reason:_0x360173}=_0xc91303[_0x6e0174(0x34f)];this['_injector'][_0x6e0174(0x58c)](_0x455671[_0x6e0174(0x1c1)])['show']({'type':_0x53e1d0['MessageType'][_0x6e0174(0x372)],'content':this['_localeService']['t'](_0x6e0174(0x485))+'('+_0x360173+')'}),this['_permissionService']['updatePermissionPoint'](new _0xdbe912[(_0x6e0174(0x47e))](_0x14bf38)['id'],!0x1),this[_0x6e0174(0x3f1)][_0x6e0174(0x1e8)](_0x14bf38);});};_0x22cf47[_0x430307(0x4ee)](this['_univerInstanceService'][_0x430307(0x3b6)](_0x36d396[_0x430307(0x26a)][_0x430307(0x1d8)]),this[_0x430307(0x273)]['getTypeOfUnitAdded$'](_0x36d396['UniverInstanceType'][_0x430307(0x43c)]))[_0x430307(0x257)](_0x547088['map'](_0x7c1e52=>_0x7c1e52[_0x430307(0x4ce)]()),_0x547088[_0x430307(0x280)](_0x302b01=>!_0x36d396['isInternalEditorID'](_0x302b01)),_0x547088[_0x430307(0x5a4)](this[_0x430307(0x1b2)]))['subscribe'](_0x3bfd98=>{_0x5f2632(_0x3bfd98);});}['_initUnitPermissionChange'](){const _0x59dcfe=_0x51d41b,_0x513a60=async _0x4329ec=>{const _0x18995e=_0x4682;(await this[_0x18995e(0x3f1)]['requireSession'](_0x4329ec))[_0x18995e(0x1b6)][_0x18995e(0x257)](_0x547088[_0x18995e(0x280)](_0x3dc85b=>_0x3dc85b[_0x18995e(0x1c6)]===_0x346629[_0x18995e(0x2fa)]['UPDATE_PERMISSION_OBJ']),_0x547088[_0x18995e(0x5a4)](this[_0x18995e(0x1b2)]))[_0x18995e(0x200)](_0x52e92c=>{const _0x110d30=_0x18995e,_0x18504f=_0x52e92c,{objectId:_0x31a30c}=_0x18504f[_0x110d30(0x34f)],_0x287890=this[_0x110d30(0x2b0)][_0x110d30(0x58c)](_0x343608[_0x110d30(0x28d)]);_0x31a30c===_0x4329ec?_0x287890['initWorkbookPermissionChange'](_0x4329ec):_0x287890[_0x110d30(0x54d)](_0x4329ec,_0x31a30c);});};_0x22cf47[_0x59dcfe(0x4ee)](this['_univerInstanceService'][_0x59dcfe(0x3b6)](_0x36d396[_0x59dcfe(0x26a)][_0x59dcfe(0x1d8)]),this[_0x59dcfe(0x273)][_0x59dcfe(0x3b6)](_0x36d396[_0x59dcfe(0x26a)][_0x59dcfe(0x43c)]))[_0x59dcfe(0x257)](_0x547088['map'](_0x25d603=>_0x25d603[_0x59dcfe(0x4ce)]()),_0x547088[_0x59dcfe(0x280)](_0x298c64=>!_0x36d396['isInternalEditorID'](_0x298c64)),_0x547088[_0x59dcfe(0x5a4)](this[_0x59dcfe(0x1b2)]))['subscribe'](_0x5d5479=>{_0x513a60(_0x5d5479);});}};_0x4dc48c=_0x2b61d8([_0x36d396['OnLifecycle'](_0x36d396['LifecycleStages'][_0x51d41b(0x4e8)],_0x4dc48c),_0x4e9a10(0x0,_0x36d396['Inject'](_0x36d396[_0x51d41b(0x268)])),_0x4e9a10(0x1,_0x36d396[_0x51d41b(0x2c5)]),_0x4e9a10(0x2,_0x36d396[_0x51d41b(0x326)]),_0x4e9a10(0x3,_0x36d396[_0x51d41b(0x2ae)](_0x59ce0d[_0x51d41b(0x285)])),_0x4e9a10(0x4,_0x36d396[_0x51d41b(0x2ae)](_0x36d396[_0x51d41b(0x22d)]))],_0x4dc48c);const _0x2a6e9b=_0x51d41b(0x48a);var _0x113be1=Object[_0x51d41b(0x215)],_0x345e35=Object[_0x51d41b(0x2b7)],_0x309181=(_0x573686,_0x30a58e,_0x43e2a5)=>_0x30a58e in _0x573686?_0x113be1(_0x573686,_0x30a58e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x43e2a5}):_0x573686[_0x30a58e]=_0x43e2a5,_0xaa5a71=(_0x252b5b,_0x288e5d,_0x471aff,_0x3aa270)=>{const _0x4741cd=_0x51d41b;for(var _0x1feca5=_0x3aa270>0x1?void 0x0:_0x3aa270?_0x345e35(_0x288e5d,_0x471aff):_0x288e5d,_0x46aac4=_0x252b5b[_0x4741cd(0x392)]-0x1,_0x5ea5a9;_0x46aac4>=0x0;_0x46aac4--)(_0x5ea5a9=_0x252b5b[_0x46aac4])&&(_0x1feca5=(_0x3aa270?_0x5ea5a9(_0x288e5d,_0x471aff,_0x1feca5):_0x5ea5a9(_0x1feca5))||_0x1feca5);return _0x3aa270&&_0x1feca5&&_0x113be1(_0x288e5d,_0x471aff,_0x1feca5),_0x1feca5;},_0x467f00=(_0xf4c89,_0x48cf81)=>(_0xdff8d7,_0x24ed48)=>_0x48cf81(_0xdff8d7,_0x24ed48,_0xf4c89),_0x4252ae=(_0x389a7e,_0x6b9a26,_0x359e0e)=>_0x309181(_0x389a7e,_0x6b9a26+'',_0x359e0e);const _0x6e92ea=_0x51d41b(0x1b7);_0x59ce0d[_0x51d41b(0x3eb)]=class extends _0x36d396[_0x51d41b(0x300)]{constructor(_0x542f33={},_0x376fba,_0x3837bc,_0x15949f,_0x5b8f36){const _0x5d69d3=_0x51d41b;super(),this[_0x5d69d3(0x322)]=_0x542f33,this[_0x5d69d3(0x545)]=_0x376fba,this['_renderManagerService']=_0x3837bc,this[_0x5d69d3(0x2b0)]=_0x15949f,this[_0x5d69d3(0x448)]=_0x5b8f36;const {..._0x940cd4}=this[_0x5d69d3(0x322)];this[_0x5d69d3(0x448)]['setConfig'](_0x2a6e9b,_0x940cd4);}[_0x51d41b(0x2ac)](){const _0x1a3e59=_0x51d41b;this[_0x1a3e59(0x477)]();}['onRendered'](){const _0x44083f=_0x51d41b;this[_0x44083f(0x470)]();}[_0x51d41b(0x477)](){const _0x3264b3=_0x51d41b;var _0x18d4b9,_0x4a96c9,_0x372b2b,_0x4b4e8b;this['_injector']['has'](_0x36d396[_0x3264b3(0x586)])&&this[_0x3264b3(0x545)][_0x3264b3(0x405)]('[UniverCollaborationClientPlugin]',_0x3264b3(0x3ef));let _0x25d390=[[_0x36d396[_0x3264b3(0x586)],{'useClass':_0xfd6590}],[_0x59ce0d[_0x3264b3(0x285)]],[_0x2f29bf],[_0x3d1d50['HTTPService']],[_0x56d70c,{'useClass':_0x161740}],[_0x2e1387],[_0x59ce0d['LocalCacheService']],[_0x3d1d50[_0x3264b3(0x4fd)]],[_0x57d656],[_0xe78d9a],[_0x3106a2],[_0xb807fa],[_0x29ed70],[_0x186531],[_0x4dc48c],[_0xe35b0b,{'useClass':(_0x4a96c9=(_0x18d4b9=this[_0x3264b3(0x322)])==null?void 0x0:_0x18d4b9[_0x3264b3(0x49b)])!=null?_0x4a96c9:_0x59ce0d[_0x3264b3(0x551)]}],[_0x3d1d50[_0x3264b3(0x1f6)],{'useClass':_0x3d1d50['XHRHTTPImplementation']}],[_0x346629[_0x3264b3(0x2d1)],{'useClass':_0x59ce0d[_0x3264b3(0x53d)]}],[_0x36d396[_0x3264b3(0x525)],{'useClass':_0x59ce0d[_0x3264b3(0x57c)]}],[_0x17128d[_0x3264b3(0x25d)],{'useClass':_0x59ce0d['ImageIoService']}],[_0x59ce0d[_0x3264b3(0x4e2)]],[_0x59ce0d[_0x3264b3(0x4a6)]],[_0x59ce0d[_0x3264b3(0x452)]],[_0x3b02a7],[_0x566b79]];(_0x372b2b=this[_0x3264b3(0x322)])!=null&&_0x372b2b['enableSingleActiveInstanceLock']&&_0x25d390[_0x3264b3(0x3cf)]([_0x33f55f,{'useClass':_0x5cacbb}]),_0x25d390=_0x36d396[_0x3264b3(0x570)](_0x25d390,(_0x4b4e8b=this['_config'])==null?void 0x0:_0x4b4e8b[_0x3264b3(0x3db)]),_0x25d390[_0x3264b3(0x1a9)](_0x3d53f5=>this[_0x3264b3(0x2b0)][_0x3264b3(0x5a2)](_0x3d53f5)),this[_0x3264b3(0x4ab)]();}[_0x51d41b(0x470)](){const _0x14037f=_0x51d41b;this[_0x14037f(0x595)](this[_0x14037f(0x4dc)][_0x14037f(0x48b)](_0x36d396[_0x14037f(0x26a)][_0x14037f(0x43c)],[_0x178c9a])),this['disposeWithMe'](this[_0x14037f(0x4dc)][_0x14037f(0x48b)](_0x36d396[_0x14037f(0x26a)]['UNIVER_SHEET'],[_0x47d6dc]));}[_0x51d41b(0x4ab)](){const _0xcf4eb=_0x51d41b;var _0x2265a2,_0x4c528e;this[_0xcf4eb(0x2b0)][_0xcf4eb(0x58c)](_0x3d1d50[_0xcf4eb(0x2e6)])[_0xcf4eb(0x41e)]({'priority':0x14,'interceptor':_0x3d1d50[_0xcf4eb(0x5a0)]({'maxParallel':0x6})}),(_0x2265a2=this['_config'])!=null&&_0x2265a2[_0xcf4eb(0x1db)]||this[_0xcf4eb(0x2b0)][_0xcf4eb(0x58c)](_0x59ce0d[_0xcf4eb(0x434)])[_0xcf4eb(0x1a0)](),(_0x4c528e=this['_config'])!=null&&_0x4c528e[_0xcf4eb(0x225)]&&this['_injector'][_0xcf4eb(0x58c)](_0x29ed70),this[_0xcf4eb(0x2b0)]['get'](_0x59ce0d[_0xcf4eb(0x4e2)]),this[_0xcf4eb(0x2b0)][_0xcf4eb(0x58b)](_0x59ce0d[_0xcf4eb(0x452)])&&this[_0xcf4eb(0x2b0)][_0xcf4eb(0x58c)](_0x59ce0d['DesktopCollaborationStatusDisplayController']);}},_0x4252ae(_0x59ce0d[_0x51d41b(0x3eb)],'pluginName',_0x6e92ea),_0x59ce0d[_0x51d41b(0x3eb)]=_0xaa5a71([_0x36d396['DependentOn'](_0x346629[_0x51d41b(0x48d)]),_0x467f00(0x1,_0x36d396[_0x51d41b(0x495)]),_0x467f00(0x2,_0x54d1da[_0x51d41b(0x1c2)]),_0x467f00(0x3,_0x36d396[_0x51d41b(0x2ae)](_0x36d396[_0x51d41b(0x268)])),_0x467f00(0x4,_0x36d396[_0x51d41b(0x511)])],_0x59ce0d[_0x51d41b(0x3eb)]),_0x59ce0d['AUTHZ_URL_KEY']=_0x20cd58,_0x59ce0d['COLLAB_SUBMIT_CHANGESET_URL_KEY']=_0x5da533,_0x59ce0d[_0x51d41b(0x36b)]=_0x53dc60,_0x59ce0d[_0x51d41b(0x2f2)]=_0xcb53f5,_0x59ce0d[_0x51d41b(0x457)]=_0xc902da,_0x59ce0d[_0x51d41b(0x540)]=_0x186531,_0x59ce0d['HEARTBEAT_INTERVAL_KEY']=_0x14d59a,_0x59ce0d['HEARTBEAT_TIMEOUT_KEY']=_0x1734e8,_0x59ce0d['ICollaborationSocketService']=_0xe35b0b,_0x59ce0d['IURLService']=_0x56d70c,_0x59ce0d[_0x51d41b(0x3f5)]=_0x341945,_0x59ce0d[_0x51d41b(0x1f3)]=_0x4c6be5,_0x59ce0d[_0x51d41b(0x572)]=_0x2353ba,_0x59ce0d['RETRY_CONNECTING_MAX_COUNT_KEY']=_0xdebb3a,_0x59ce0d[_0x51d41b(0x543)]=_0x5d41d3,_0x59ce0d[_0x51d41b(0x4cf)]=_0x3ee3ce,_0x59ce0d[_0x51d41b(0x224)]=_0x4ad76f,_0x59ce0d[_0x51d41b(0x24a)]=_0x4c781c,_0x59ce0d['SheetCollabCursorShape']=_0x21dc68,_0x59ce0d[_0x51d41b(0x51c)]=_0x161740,_0x59ce0d['deserializeToCombResponse']=_0x251ac9,_0x59ce0d[_0x51d41b(0x36e)]=_0x342ade,Object[_0x51d41b(0x215)](_0x59ce0d,Symbol[_0x51d41b(0x52d)],{'value':'Module'});}));function _0x4682(_0x47e449,_0x9d092){const _0x3f5d0d=_0x3f5d();return _0x4682=function(_0x4682b6,_0x71fc78){_0x4682b6=_0x4682b6-0x18f;let _0x1c9ddb=_0x3f5d0d[_0x4682b6];return _0x1c9ddb;},_0x4682(_0x47e449,_0x9d092);}function _0x3f5d(){const _0xd8b72e=['8wWGKVR','Ready','setCurrentUser','dispose','getFocusedUnit','push','history','LICENSE_MAX_UNITS_EXCEEDED','/object','_updateState','_uiPartsService','_cursorShapes','collaboration.single-unit.warning','HEARTBEAT_INTERVAL','propertyIsEnumerable','Subject','deserializeRangeWithSheet','override','UNIVER_PROJECT','transformSelections','state$','APPLY_NON_SEQUENTIAL_REVISION','handleIRemoveRow','_id','JOINING','find','_transformRemoteChangesetByIMECache','_getScale','JSONX','putCollaborators','OTHER_CLIENTS_EDITING','transformMutation','subscribeEvent','UniverCollaborationClientPlugin','isTransformMutationFailure','Rectangle','SheetSkeletonManagerService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getActiveRange','_collaborationSessionService','_unitID','_clearHeartbeatTimer','[DataLoaderController]','LOCAL_CACHE_INTERVAL_KEY','INVALID_ARGUMENT','getUnitOnRev','onRemoteChangeset','_sendingTimer','listCollaborators','univerjs-icon\x20univerjs-icon-','save','responseType','_initMergeInterceptor','HEARTBEAT_TIMEOUT','/universer-api/authz','routeKey','_colorIndex','batchAllowed','_scheduleCollaborationTimeoutTimer','error','_createHandler','sheets','SHOULD_CLOSE_CONN','_fetchMissChangesets','endColumn','collabCursorState$','switchMap','collab-text-anchor-','string','isTransformChangesetsSuccess','_toggleOnline','_updateLocalCursor','getTime','univer-online-status-icon','getSheetId','_unitOnClients','editingUnit','pending','image/png','3lGTwKO','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','throttleTime','debounceTime','onSyncEditingCollabCursor','registerHTTPInterceptor','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','HELLO','_decreaseWaiting','_initResize','APPLY_REVISION_CONFILICT','_loadSheet','UPDATE_PERMISSION_OBJ','_showConflictNotification','onload','[CollaborationUndoRedoService]','YUUMI_RATE_OVER_LIMIT','_createInitialStateImpl','_exhaustRemoteChangesetQueue','Warning','_docSyncEditingCollabCursorService','@univerjs/telemetry','addEventListener','LocalUndoRedoService','_onOffline','fillStyle','liveShareNewHost','LocalCacheService','_lastPointer','top','_anchorDot','8636286Mzedwr','not_collab','objects','useObservable','UNIVER_DOC','EXCHANGE_SIGN_URL_SERVER_URL_KEY','transformIMECache','Optional','[CollaborationSessionService]','substring','children','_transitionLocked','setParam','_onRemoteChangeset','EffectRefRangId','onTransformRemoteChangesetByIMECache','_configService','Tooltip','\x0aAfter:\x20','_labelPosition','CHANGESET_ACK','CollaborationEntity','_send','#FFF','ImageSourceType','off-line-single_clip0_910_343','DesktopCollaborationStatusDisplayController','addImageSourceCache','pushState','session.connection-failed','FAIL','CollaborationStatusDisplay','toggleOnline','CollaborationSession','_imageSourceCache','debug','ranges','getCollabCursors$','toRgbString','_rescheduleHeartbeat','Error\x20on\x20receiving\x20event','_backgroundColor','getCurrentSelections','_httpService','onTransformChange$','_onConnectionFailed','SNAPSHOT_INVALID_SNAPSHOT','isActive','_memberService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','FromArray','VIEWPORT_KEY','init','_incrementRevisionNumber','[FetchMissState]','#fff','_registerRenderDependencies','telemetry\x20info\x20is\x20not\x20initialized','getColor','_docStateChangeManagerService','setAlpha','icon','apply','_registerDependencies','colorChannel1','SheetCollaborationEntity','_awaitingChangeset','UniverDrawing','close','svg','WorkbookEditablePermission','LIVESHARE_NEW_HOST','RxDisposable','permission.content','BehaviorSubject','_onCursorDelete','_handler','collaboration.closeRoom','getResourcesRequest','editing\x20status\x20changed\x20to','_getMergeRange','row','collaboration-client.config','registerRenderModule','engine','UniverCollaborationPlugin','getUnit','all','collaboration-client.offline-data-not-saved','currentSkeleton$','exhaustSavingTask','startRow','createIdentifier','ILogService','roomInfos','reverse','reject','saveChangeset','React','socketService','list','_toggleOffline','_startDocCollabCursor','_notificationService','_onJoinRoomEvent','[PendingState]:\x20received\x20rejection.','send','transformChangesets','_onConnectionOpen','joinEvent','DataLoaderController','@univerjs/rpc','enableLocalCache','NOT_COLLAB','resolve','_initModules','isTransformMutationsWithChangesetFailure','clipPath','_shapes','_snapshotServerService','defs','getOffsetConfig','getVpScrollXYInfoByPosToVp','getUndoRedoMutationParamsCache','unit','m2Prime','error$','listRoles','OffLineSingle','UniverNetwork','objectType','resend','color','IBeforeCloseService','path','findNodePositionByCharIndex','_docTransformSelectionsService','_scheduleSaving','JOIN','_executeRemoteChangeset','_drawTextRange','onMissingChangesets','fetchThroughInterceptors','_clearTimeoutTimer','_getSheetObject','concatMap','_drawRectRange','stopTime','rev','saveOfflineData','getUnitId','SNAPSHOT_SERVER_URL_KEY','executeCommand','collabStatus.notCollab','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','Rect','_clearOtherTimers','currentColor','backgroundColor','collabStatus.fetchMiss','/collaborator','NEW_CHANGESETS','NO_OTHER_CLIENTS_EDITING','ITelemetryService','_renderManagerService','createElement','getWorkbookSelections','blue400','connection\x20error','arc','CollaborationController','ERROR_IMAGE','_context','ERROR_IMAGE_TYPE','univer-online-status-title','_clearRedo','Starting','ImageUploadStatusType','_acknowledgedAwaitingChangeset','currentTheme$','RichTextEditingMutation','@univerjs/docs','merge','PENDING','Disposable','AWAITING_WITH_PENDING','10LQTBqN','gold400','getDocRanges','_syncEditingCollabCursor','replaceTextRanges','_refRangeService','synced','_disabled','_onFetchMissResult','take','_docSkeletonManagerService','WebSocketService','COMPRESS_MUTATION_APPLY','transformStack\x20failed!','setInterval','_queuedRemoteChangesets','?url=','m1Prime','_cursors','getTypeOfUnitDisposed$','url(#off-line-single_clip0_910_343)','makeDirty','useRef','open$','_applyRemoteChangeset','USERS_LEAVE','width','_onRemoteRejected','@univerjs/drawing','commentUpdateEvent','getCollabEntity','IConfigService','collab-client.tooltip.reconnect','none','@univerjs/core','AWAITING','/new_changes','CONNECTOR_DATA_TOO_LARGE','LOCAL_CACHE_INTERVAL','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','fromEventSubject','requestParams','WebURLService','BASE64','post','handleDeleteRangeMoveUp','LifecycleStages','unitId\x20is\x20not\x20found','UniverUi','awaitingChangeset','_beforeCloseService','IAuthzIoService','[CollaborationSessionService]:\x20socket\x20error','RevisionService','c2Prime','black','3561535wIWryR','getRelativeToViewportCoord','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','toStringTag','_onUserLeave','_onConflict','parseProtocolChangeset','_getUploadFileURL','/universer-api/comb','mutations','VIEW_MAIN','LICENSE_DISTRO_REJECTED','json','_getUndoStack','getMergeData','_listenToOnlineEvent','SetWorksheetActivateCommand','_state','_remoteChangesetQueue','SnapshotServerOverHTTPService','_initCloseConn','column','CommentService','addObjects','beginPath','SEND_CHANGESET_TIMEOUT_KEY','asObservable','_logService','SEND_CHANGESET_TIMEOUT','OnLifecycle','combineLatest','uni.network.url-service','stringify','permission.title','image/gif','refreshPermission','result','change$','/resources','CollaborationSocketService','_localCacheService','_name','_updateLocalCache','_updateCollabCursors','react','_handleHover','_ensureSubject','textRanges','getOwnPropertySymbols','image/bmp','includes','onPointerMove$','collaborators','UniverCollaboration','delete','_commandService','PERMISSION_DENIED','rxjs','assignAColorForMemberID','map','shareReplay','collab-rect-range-','FETCH_MISSING','_collaborationTimeoutTimer','snapshot','symbol','setItem','disposeUnit','_hideTimer','univer-online','mergeOverrideWithDependencies','_init','RETRY_CONNECTING_INTERVAL_KEY','failed\x20to\x20apply\x20missed\x20changesets!','LIVESHARE_FETCH_OPERATIONS','IUIPartsService','/fetchmissing?from=','_telemetryInfo','_getSignURL','_HTTPService','session','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','AuthzIoHttpService','_change$','entries','location','collabStatus.offline','userID','0\x200\x2017\x2016','actions','unshift','_removeClearOtherTimer','IUndoRedoService','delay','OFFLINE','save\x20fail\x20reason\x20is\x20','_onUserJoin','has','get','from','_clearLocalCache','_onCursorUpdate','_socket','replace','YUUMI_SUBSCRIPTION_NOT_FOUND','[CollaborationSession]','onPointerEnter$','disposeWithMe','updateCollaborator','COMPRESS_MUTATION_SEND','_session','_replayCachedMutations','_render','_hover','startsWith','then','getCurrentRevForDocument','&source=','ThresholdInterceptorFactory','runRefRangeMutations','add','univer-pro.collaboration-client.single-active-unit-service','takeUntil','sequenceExecute','univer-online-status','ws://127.0.0.1:8000/universer-api/comb/connect','pauseCollaboration','_snapshotService','joinRsp','_createInitialState','SheetsSelectionsService','div','searchParams','UPDATE_CURSOR','_transformIMECache','COMPLETION_FINISHED','textEncoder','MergeInterceptorFactory','registerComponent','deleteCollaborator','objectActions','status','removeEventListener','unitId','session.will-retry','APPLY_PERMISSION_DENIED','UniverDesign','NodePositionConvertToRectRange','disableLocalCache','_handleHeartbeatEvent','setTimeout','_collabCursorController','_collabCursorState$','UniverCollaborationClient','getConfig','_clearScheduledTask','onCommentUpdate','forEach','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','FileId','subunit','displayName','RECV','ColorKit','_unitStatus','UserManagerService','dispose$','skeleton','hide','_startCollaboration','event$','UNIVER_COLLABORATION_CLIENT_PLUGIN','moveTo','offline','_tryReconnect','restore','_tryEnsureSocket','lineTo','LEAVE','InsertRowCommandId','_onRefRangeChange','IMessageService','IRenderManagerService','params','HttpImport','saveSnapshot','eventID','onRemoteRej','onCommandExecuted','_collaborationController','_range','UNKNOWN_CMD','UNIVER_SLIDE','clearInterval','COMMENT_UPDATE','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','cursorInfo$','members','image/jpg','getParam','_syncEditingCollabCursorService','ICommandService','next','getCollabEntity$','UNIVER_SHEET','toDisposable','drawWith','enableOfflineEditing','parseChangesetToProtocol','localeService','_saveTaskMap','reconnect','_socketReady','createSocket','_schedule','generateRandomId','prototype','conflict.title','concat','attrs','closeSession','objectID','updateMember','@univerjs/network','_throwTelemetryCollaborationNewChangeset','PERMISSION_REJ','exports','/object/','_onLocalMutation','appendMutation','registerRefRange','LOGIN_URL_KEY','Shape','MUTATION','IHTTPImplementation','unsubscribe','FETCH_MISS','_sessionStatus$','_state$','getMemberID','_selfUnitIDs','_docSkeleton','getImageSourceCache','parse','subscribe','focused$','collaMsg','_redoStacks','_getLoginPath','b64DecodeUnicode','evenodd','_instanceService','requireSession','translate(.97)','CHANGESET_REJ','range','_assignedColors','onTransformIME','Tools','_entities','_transformPreviousActiveRange','collabStatus.syncing','_roomMembers$','ITransformService','_getAPIPrefixPath','defineProperty','selections','append','getCoordByCell','assign','getCellPositionByOffset','reduce','_entityInit$','put','awaiting_with_pending','ThemeService','_removeCollabCursors','image/jpeg','isEditing','isArray','SNAPSHOT_URL_KEY','enableAuthServer','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','_sendHeartbeat','_undoRedoService','fill','complete','_loadDoc','242235qaWaWd','LocaleService','SNAPSHOT_HAS_BEEN_REMOVED','updatePermissionPoint','startColumn','lodash','APPLY_REJECT','univer-pro.collaboration-client-socket-service','_getAPIPrefix','values','_cachedData','HEARTBEAT','DEFAULT_FILE_NAME','on-line-single','href','_shouldReportTelemetry','onTransformSelections','_colorAssignService','_removeRoom','@univerjs-pro/collaboration','toString','_compressMutationService','_refreshCollabCursors','fetchMiss','method','closePath','PSEUDO_FETCH_MISSING_RESULT','collaboratorID','onSendChangeset','_initStatusComponent','SessionStatus','InsertSheetMutation','some','CHANGESET_REVISION_CONFILICT','doc.mutation.rich-text-editing','getSheetBySheetId','Vector2','roomMembers$','USERS_ENTER','_color','_urlService','MSG_FOR_ERROR','shouldCloseConn','pipe','6364UlAuHs','HTTPRequest','getActiveSheet','_startTelemetryCollaborationNewChangeset','getUnitStatus$','IImageIoService','_pendingMutations','auth.needGotoLoginAlert','\x20in\x20_schedule.','title','_lockTransition','[PendingState]:\x20received\x20acknowledgement.','memberID','registerOnClose','cmd','call','Injector','sheetId','UniverInstanceType','triggerDblclick','getCurrentUser','_commentUpdate$','transformMutationsWithChangeset','getSheetBlock','useDependency','isPermissionRej','UniverTelemetry','_univerInstanceService','926746uqfecG','collab-text-range-','catch','sessionStatus','_getRedoStack','object','bottom','DocStateChangeManagerService','loadDoc','UNDEFINED','handleInsertCol','set','filter','collaboration-session-retry','ACTIVE_UNIT_EVENT_CHANNEL','body','withCredentials','CollaborationSessionService','_online','debounce','ImageIoService','off-line-single','_clearCollaborationTimeoutTimer','forwardRef','url','SheetPermissionInitController','_anchor','slice','_createSocket','popstate','close$','csRejEvent','collabStatus.conflict','getRangePointData','[SyncedState]:\x20received\x20acknowledgement.','_scene','@univerjs/sheets-ui','url(#on-line-single_clip0_910_349)','rgba(255,\x20255,\x20255,\x200.01)','_timeoutTimer','DocSkeletonManagerService','_waitForHeartbeatResponse','removeMember','getUnitType','_sheetTransformSelectionsService','fillText','_unlockTransition','status$','state','indexOf','_telemetryService','_messageService','xlink:href','roles','serializeDocRange','_handleJoinEvent','onStarting','_members','Inject','transformByState','_injector','getValue','selection','ONLINE','_collaborationPaused','_onRecvEvent','M0\x200H16V16H0z','getOwnPropertyDescriptor','online','_themeService','commentUpdate$','EmptyMutation','onMouseMove','changesets','mapTo','_getSendChangesetTimeout','permissionRejEvent','newValue','_socketMessageSubscription','{fileID}','_revisionService','IUniverInstanceService','[OfflineState]:\x20received\x20acknowledgement.','_handleEvent','_drawAnchor','clsx','now','type','encode','UNKNOWN_CODE','INTERNAL_ERROR','sheetID','DocCollaborationEntity','ISnapshotServerService','_draw','tag','1em','_setupSubUnitSync','LIVESHARE_TERMINATE','action','@univerjs/engine-render','operators','CompressMutationService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getInterceptPoints','handleInsertRangeMoveRight','deepClone','_updateURLWithCurrentState','_sendHeartbeatTimer','_scheduleTimestamp','urlChange$','LICENSE_IMPORT_SIZE_EXCEEDED','?size=','_commentService','HTTPService','createInstance','loadSheet','UnitSnapshot','fromEvent','_http','onPointerLeave$','duration','\x20-\x20','_retryConnectingTimer','/universer-api/snapshot','_scheduleHeartbeat','CollaborationStatus','Undefined','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','syncEditingCollabCursor','_retryCount','_textBubble','_getCurrentRevision','CollaborationEvent','submit\x20changeset\x20error!','_submitChangeset','fetchMissingChangesets','UNIVER_UNKNOWN','_docTransformIMECacheService','Plugin','_eventUnsubscribe','_getSnapshotAPIPrefix','encodeURIComponent','_sheetSkeletonManagerService','min','getSheetObject','fillRule','idSuffix','_onCombEvent','round','_heartbeatTimer','lodash/debounce','code','handleInsertRangeMoveDown','onlineStatusIcon','onlyLocal','_getAnchorBounding','_socketService','_updateStatus','sessionStatus$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','/block/','_ws','_collabSessionService','@univerjs/sheets','MessageType','className','RETRY_CONNECTING_INTERVAL','target','_localeService','UniverDocs','@univerjs/engine-formula','_config','_cursorInfo$','cursorInfo','_getCtorByUniverType','IPermissionService','_cursor','interceptor','getAncestorScale','Unknown\x20user','saveImage','size','_listenToOfflineEvent','SUCCUSS','_getSaveTimeout','_localStorageService','UniverRpc','updatePermissionObjEvent','readAsDataURL','_clearUndo','loadOfflineData','removeParam','/universer-api/file/{fileID}/sign-url','_roomMembers','@univerjs/ui','BuiltInUIPart','AUTHZ_URL_KEY','defIds','isTransformMutationsWithChangesetSuccess','_onRemoteACK','/unit/','_transformUndoRedoStack','font','_singleActiveUnitService','_replaceFileID','resourceIDs','measureText','name','mapDocumentTypeToUniverType','[CollaborationState]:\x20apply\x20error!','_event$','updateOfflineData','_transformSelections','clearTimeout','/-/object/-/batch_allowed','IContextService','data','_permissionService','LIVESHARE_REQUEST_HOST','POST','InsertRangeMoveRightCommandId','onlineStatus','allowed','_hovered','split','roomMembers','getMember','/-/object/list','[OfflineState]:\x20received\x20changeset.','TextSelectionManagerService','_substituteRedoStack','COLORS','unitID','fetch_missing','12434373FUFAPg','YUUMI_UNABLE_LOAD_URL','resize','flatMap','IMEInputManagerService','TEXT_RANGE_LAYER_INDEX','subUnitId','message$','_type','max','COLLAB_WEB_SOCKET_URL_KEY','HttpExport','compose','serializeCombRequest','SYNCED','_waitCount','getCurrentUnitForType','Error','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','hovered','[SyncedState]:\x20received\x20rejection.','_transformService','_scheduleClearOtherTimer','_status$','_substituteUndoStack','INGEST','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','c1Prime','325915wkeJAn','setShapeProps','headers','_saveCache','UnitEmbedded','onMissedChangesetFetched','_initUnitPermissionChange','revision','createCollaborator','function','onRemoteAck','distinctUntilChanged','_onMessage','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','rxjs/operators','_transformStack','baseRev','extend','NOT_FOUND','_isPermissionRej','INotificationService','length','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','fetching\x20missing\x20changesets\x20from\x20','_updateSubUnitFromURLParams','transform','file','_checkMissing','every','transformUndoRedo','connectInjector','unknown','[CollaborationEntity]','SetSelectionsOperation','toggleOffline','fromCollab','LICENSE_EXPORT_SIZE_EXCEEDED','SUBMIT_CHANGESET','amd','/universer-api/stream/file/upload','UNRECOGNIZED','activeSheet$','clear','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','conflict','setWaitCount','_socket$','/allowed','incrementRevForDocument','_stopTelemetryCollaborationNewChangeset','hasOwnProperty','originalMeta','LIVESHARE_OPERATION','ERROR_EXCEED_SIZE','CONFLICT','RefRangeService','serializeRangeWithSheet','getTypeOfUnitAdded$','UniverSheets','DeleteRangeMoveLeftCommandId','_initStatusListener','UNAUTHENTICATED','getSkeleton','DisposableCollection','ALREADY_EXISTS','IDLE','_initCommandExecutedListener','addObject','replaceState','_sessions','show','CommandType','text','contains','newCsEvent','on-line-single_clip0_910_349','awaiting'];_0x3f5d=function(){return _0xd8b72e;};return _0x3f5d();}
|