@univerjs-pro/collaboration-client 0.4.1 → 0.4.2
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/types/controllers/collaboration/collaboration-entity.d.ts +5 -3
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +32 -1
- package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +2 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/auth-server/util.d.ts +1 -0
- package/lib/types/services/collaboration-session/collaboration-session.d.ts +4 -4
- package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +1 -1
- package/lib/types/services/member/member.service.d.ts +39 -0
- package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +12 -0
- package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +1 -1
- package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +20 -18
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function _0x4c16(_0x551b44,_0x5238ab){const _0x4e79bc=_0x4e79();return _0x4c16=function(_0x4c16bb,_0x20ef04){_0x4c16bb=_0x4c16bb-0xa8;let _0x3ec4fc=_0x4e79bc[_0x4c16bb];return _0x3ec4fc;},_0x4c16(_0x551b44,_0x5238ab);}function _0x4e79(){const _0xff2bf7=['signUrlServerUrl','_syncEditingCollabCursorService','saveOfflineData','exports','ALREADY_EXISTS','@univerjs/docs','registerComponent','clearInterval','VIEW_MAIN','HELLO','getTime','onMissingChangesets','_getScale','row','actions','_socketReady','USERS_LEAVE','searchParams','session','_state','_init','collabWebSocketUrl','_getSendChangesetTimeout','getRandomValues','COLORS','parse','_startSheetCollabCursor','getConfig','AuthzIoHttpService','rgba(255,\x20255,\x20255,\x200.01)','useDependency','collab-rect-range-','_hover','collabStatus.conflict','_shouldReportTelemetry','routeKey','_heartbeatTimer','[CollaborationUndoRedoService]','getOwnPropertySymbols','getWorkbookSelections','startColumn','rxjs','uni.network.url-service','LIVESHARE_FETCH_OPERATIONS','HttpExport','transformIMECache','trim','IUndoRedoService','duration','onCommentUpdate','error$','_handleEvent','_changesetSessionId','bottom','onSendChangeset','isTransformMutationsWithChangesetFailure','_handleHeartbeatEvent','UUID','setCurrentUser','clear','_executeRemoteChangeset','_logService','isInternalEditorID','[PendingState]:\x20received\x20rejection.','useObservable','clearTimeout','257557OBjnVF','_drawTextRange','CommandType','column','selection','_getLoginPath','saveImage','UnitSnapshot','backgroundColor','displayName','updateMember','pending','number','/role','online','isTransformMutationsWithChangesetSuccess','_context','_telemetryInfo','state$','COLLAB_SUBMIT_CHANGESET_URL_KEY','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','action','univer-online','_cursorInfo$','_docSkeleton','switchMap','getUnhiddenWorksheets','/universer-api/snapshot','toggleOnline','unit-cache-','_ensureSubject','SheetPermissionInitController','setUndoRedoMutationParamsCache','getAncestorScale','DeleteRangeMoveLeftCommandId','_undoRedoService','distinctUntilChanged','_onRecvEvent','handleInsertRow','toggleOffline','AWAITING','onRendered','propertyIsEnumerable','Error','top','substring','stopTime','_candidateSocket','_commentUpdate$','ITransformService','arc','@univerjs/rpc','synced','JOIN','getResourcesRequest','_getCtorByUniverType','_colorAssignService','_stopTelemetryCollaborationNewChangeset','react','HEARTBEAT_TIMEOUT_KEY','executeCommand','entries','conflict','getAttachHeader','_getSaveTimeout','_onMessage','HTTPService','COLLAB_SUBMIT_CHANGESET_URL','onPointerMove$','...','\x0aCurrent:\x20','_themeService','getSkeleton','attrs','operators','IAuthzIoService','docStateChange$','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','beginPath','generateRandomId','UNIVER_PROJECT','onPointerLeave$','@univerjs-pro/license','_transformRemoteChangesetByIMECache','INotificationService','_queuedRemoteChangesets','CONFLICT','LIVESHARE_TERMINATE','push','location','_backgroundColor','length','PERMISSION_DENIED','_initUnitPermissionChange','_commentService','setItem','defIds','InsertColCommandId','_awaitingChangeset','skeleton','listRoles','UNKNOWN_CMD','/resources','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformChange$','event$','CollaborationSession','COMPLETION_FINISHED','UNIVER_UNKNOWN','SHOULD_CLOSE_CONN','onTransformIME','loadOfflineData','[CollaborationSessionService]:\x20socket\x20error','startRow','ImageIoService','status$','Error\x20on\x20receiving\x20event','objectType','div','assign','sessionStatus$','collaMsg','M0\x200H16V16H0z','BASE64','reverse','_setupBeforeClosingHandler','UserManagerService','getCurrentSelections','_tryReconnect','FileId','[CollaborationSessionService]','_onRemoteACK','session.room-full','YUUMI_UNABLE_LOAD_URL','changesets','_clearScheduledTask','subunit','registerRenderModule','DocSelectionManagerService','XHRHTTPImplementation','/block/','fetchMissingChangesets','on-line-single','_handler','all','APPLY_REJECT','[CollaborationSession]','take','_schedule','onlineStatusTitle','getCollabEntity','current','cursorInfo$','_createInitialStateImpl','_anchorDot','split','_syncEditingCollabCursor','NEW_CHANGESETS','_joinRoom','_unitID','@univerjs/design','ENSURE_SNAPSHOT_EXECUTION','/universer-api/stream/file/upload','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','COMPRESS_MUTATION_SEND','includes','_transformSelections','hide','@univerjs/ui','PSEUDO_FETCH_MISSING_RESULT','conflict.content','evenodd','_document','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','fetchMiss','[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.','src','_clearLocalCache','_transformService','save','PENDING','JSONX','defineProperty','getActiveSheet','pipe','from','_timeoutTimer','\x20-\x20','InsertRangeMoveDownCommandId','originalMeta','name','size','_saveCache','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','SnapshotServerOverHTTPService','random','getMember','not_collab','@univerjs-pro/collaboration','font','_initStatusListener','_cachedData','LICENSE_IMPORT_SIZE_EXCEEDED','hovered','univer-online-status-icon','_submitChangeset','10BsDIIg','sheetID','CollaborationStatusDisplay','values','ImageSourceType','setShapeProps','_updateState','apply','_online','equals','_socketMessageSubscription','disableLocalCache','saveSnapshot','memberID','getUnitId','4487697oylEMz','OTHER_CLIENTS_EDITING','PERMISSION_REJ','unshift','_acknowledgedAwaitingChangeset','syncEditingCollabCursor','getCoordByCell','SNAPSHOT_SERVER_URL_KEY','subUnitId','SetTextSelectionsOperation','textRanges','create','target','send','CompressMutationService','shouldCloseConn','_sheetTransformSelectionsService','permission.content','_clearHeartbeatTimer','dispose$','focused$','cursorInfo','override','range','collabStatus.syncing','_replayCachedMutations','WebURLService','tag','_isPermissionRej','_send','ws://127.0.0.1:8000/universer-api/comb/connect','IImageIoService','UNIVER_DOC','onStateChange','_textBubble','debounce','image/jpeg','next','_onUserJoin','addObjects','IHTTPImplementation','_notificationService','OFFLINE','Injector','ERROR_IMAGE_TYPE','_disableEditing','[SyncedState]:\x20received\x20rejection.','UniverEngineRender','loadDoc','EmptyMutation','UniverInstanceType','_onRemoteRejected','onTransformSelections','_singleActiveUnitService','m2Prime','createInstance','_snapshotService','deserializeToCombResponse','Rectangle','_collabCursorState$','Inject','state','result','CollaborationEvent','univer-online-status','connection\x20error','infoRsp','_range','stringify','unitId\x20is\x20not\x20found','_name','_anchor','fetch_missing','csRejEvent','_event$','Optional','createElement','appendMutation','?size=','RegularPolygon','cmd','socket\x20close','colorChannel1','2712096thaKFE','incrementRevOfUnit','LocalCacheService','/collaborator','members','InsertSheetMutation','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','Plugin','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','getUnitStatus$','fill','_sheetSkeletonManagerService','_getAPIPrefix','_configService','_id','_removeRoom','ILocalStorageService','_updateLocalCursor','_change$','UniverCore','_scheduleClearOtherTimer','RevisionService','CollaborationEntity','IConfigService','transformRemoteChangeset','save\x20fail\x20reason\x20is\x20','activeSheet$','_sendHeartbeat','SetWorksheetActivateCommand','min','getInterceptPoints','UNRECOGNIZED','xlink:href','_injector','_onFetchMissResult','/object/','collabStatus.offline','_drawRectRange','add','MUTATION','height','_messageService','getImage','setActiveRange','_localCacheService','_collaborationTimeoutTimer','_imageSourceCache','45WnDWdh','LOCAL_CACHE_INTERVAL_KEY','_scheduleSaving','#fff','_clearTimeoutTimer','currentSkeleton$','fillRule','clipPath','bind','joinEvent','React','eventID','FromArray','isArray','sendChangesetTimeout','UniverDocs','selections','collab-text-range-','assignAColorForMemberID','setTimeout','_onOffline','put','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','createSocket','deepClone','CONNECTOR_DATA_TOO_LARGE','roomMembers','withCredentials','isValidRectRange','HttpImport','_entities','commentUpdate$','DocCollaborationEntity','resourceIDs','interceptor','resolve','_getSignURL','commentUpdateEvent','_getDownloadEndpointURL','onMouseMove','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','rxjs/operators','_collabSessionService','collaboration_new_changeset','InsertRangeMoveRightCommandId','off-line-single','baseRev','UNIVER_SHEET','82040WlmrSa','RxDisposable','DependentOn','_listenToOfflineEvent','UNAUTHENTICATED','newValue','RETRY_CONNECTING_MAX_COUNT','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','univer-pro.collaboration-client.single-active-unit-service','HEARTBEAT','_initModules','asObservable','_docStateChangeManagerService','post','toString','TOO_MANY_REQUESTS','touchDependencies','_roomMembers$','rev','takeUntil','onRemoteRej','_cursors','getUndoRedoMutationParamsCache','collaboration-session-retry','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','APPLY_DUPLICATED','@univerjs/docs-ui','univer-offline','[OfflineState]:\x20received\x20acknowledgement.','resize','_HTTPService','get','indexOf','href','sid','mutations','UniverRpc','object','registerHTTPInterceptor','_drawAnchor','parseProtocolChangeset','awaiting_with_pending','getValue','LICENSE_EXPORT_SIZE_EXCEEDED','_hideTimer','OnLineSingle','initWorkbookPermissionChange','history','[SyncedState]:\x20received\x20acknowledgement.','transformByState','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_saveTaskMap','58634cMngMV','RECV','reconnect','image/gif','reject','use','unload','Disposable','prototype','getSheetBySheetId','_ws','handleDeleteRangeMoveUp','_state$','AUTHZ_URL_KEY','getDeserializedSheetBlock','[DataLoaderController]','_sessions','subscribeEvent','ColorKit','onlineStatusIcon','debug','NO_OTHER_CLIENTS_EDITING','unit','DocSkeletonManagerService','type','collaborators','_waitForHeartbeatResponse','getCurrentUnitForType','sessionStatus','EffectRefRangId','_initEventListeners','DisposableCollection','SnapshotService','_refRangeService','_initCommandExecutedListener','IRenderManagerService','session.connection-failed','subscribe','TEXT_RANGE_LAYER_INDEX','verdancy600','text','transformMutation','UPDATE_CURSOR','univer-pro.collaboration-client-socket-service','_onConnectionFailed','sequenceExecute','IPermissionService','BuiltInUIPart','x-univer-host','transformUndoRedo','SetSelectionsOperation','disposeWithMe','SYNCED','storage','ThemeService','getUniverSheetInstance','unsubscribe','getTypeOfUnitAdded$','doc.mutation.rich-text-editing','UNKNOWN_CODE','width','RemoveRowCommandId','Warning','downloadEndpointUrl','Undefined','LIVESHARE_NEW_HOST','_clearRedo','authzUrl','rng','APPLY_NON_SEQUENTIAL_REVISION','_toggleOffline','onSyncEditingCollabCursor','_docTransformIMECacheService','DeleteRangeMoveUpCommandId','key','MessageType','CHANGESET_REVISION_CONFILICT','_http','handleIRemoveRow','_onCombEvent','?url=','snapshotServerUrl','getVpScrollXYInfoByPosToVp','pushState','INVALID_ARGUMENT','replaceState','toStringTag','setInterval','closeSession','SheetCollaborationEntity','SNAPSHOT_INVALID_SNAPSHOT','_decreaseWaiting','SEND_CHANGESET_TIMEOUT','SNAPSHOT_URL_KEY','getLatestCsReqIdBySid','_updateStatus','IDLE','8UfUWHZ','_collaborationSessionService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','close$','DocStateChangeManagerService','SheetSkeletonManagerService','replaceTextRanges','_collaborationController','univerjs-icon\x20univerjs-icon-','icon','objectID','title','_getAnchorBounding','collaboration.closeRoom','WorkbookEditablePermission','\x20in\x20_schedule.','auth.needGotoLoginAlert','COLLAB_WEB_SOCKET_URL','SheetCollabCursorShape','APPLY_REVISION_CONFILICT','COMMENT_UPDATE','UNDEFINED','CollaborationStatus','parseChangesetToProtocol','IUniverInstanceService','collaboration-client.config','map','addImageSourceCache','_setupSubUnitSync','isTransformMutationFailure','concat','getCollabEntity$','_socketService','@univerjs/engine-formula','dispose','startsWith','_socket','purple300','_telemetryService','[CollaborationEntity]','UniverSheets','roomInfos','updatePermissionPoint','isPermissionRej','visibilityState','_loadSheet','has','DataLoaderController','_initResize','ranges','getFocusedUnit','UniverTelemetry','SUBMIT_CHANGESET','CHANGESET_REJ','_replaceFileID','getCurrentRevOfUnit','_toggleOnline','find','_roomMembers','UniverCollaborationPlugin','LIVESHARE_REQUEST_HOST','hidden','combineLatest','getRenderById','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','Tools','_onCursorDelete','on-line-single_clip0_910_349','JOINING','DEFAULT_FILE_NAME','_cursorShapes','_assignedColors','Subject','idSuffix','_status$','_createHandler','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_getUndoStack','restore','YUUMI_RATE_OVER_LIMIT','registerOnClose','_scheduleTimestamp','collabStatus.notCollab','_sessionStatus$','filter','0\x200\x2016\x2016','_getSheetObject','getRangePointData','@univerjs/telemetry','useCallback','UniverCollaboration','_createInitialState','UniverEngineFormula','hasOwnProperty','now','getCurrent','LIVESHARE_OPERATION','DesktopCollaborationStatusDisplayController','collabStatus.synced','copyFileMeta','_instanceService','readAsDataURL','UniverDocsUi','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getCellPositionByOffset','_config','encode','_sendingTimer','_lastPointer','url(#off-line-single_clip0_910_343)','localeService','round','roles','concatMap','_changesetReqId','_revisionService','onRemoteAck','url','_updateURLWithCurrentState','_startCollaboration','NOT_COLLAB','&to=','_userManagerService','_applyRemoteChangeset','_transformUndoredo','_onUserLeave','NodePositionConvertToCursor','LICENSE_DISTRO_REJECTED','measureText','whenReady','collabStatus.fetchMiss','Rect','setAlpha','serializeRangeWithSheet','_registerRenderDependencies','extend','1em','@univerjs/drawing','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','enableAuthServer','ICollaborationSocketService','_removeCollabCursors','_shapes','_sendHeartbeatTimer','throttleTime','enableLocalCache','body','_snapshotServerService','_socket$','complete','reqId','leaveEvent','NOT_FOUND','className','_docSyncEditingCollabCursorService','UniverIcon','function','children','_members','MSG_FOR_ERROR','_draw','_commandService','update','change$','startTime','collaboratorID','mergeOverrideWithDependencies','translate(.97)','useRef','onReady','updateOfflineData','[OfflineState]:\x20received\x20rejection.','_startTelemetryCollaborationNewChangeset','onRemoteChangeset','workbook','path','session.collaboration-timeout','_refreshCollabCursors','_univerInstanceService','_memberService','_beforeCloseService','UniverNetwork','getTypeOfUnitDisposed$','fromEventSubject','onMissedChangesetFetched','_onCursorUpdate','_collaborationPaused','merge','collabSubmitChangesetUrl','sheets','_undoStacks','collabCursorState$','_transformIMECache','_initRequestHeader','UnitEmbedded','capture','#FFF','_pendingMutations','compose','_unlockTransition','flatMap','/universer-api/authz','_color','transformSelections','_colorIndex','refreshPermission','_retryCount','_eventUnsubscribe','_onJoinRoomEvent','SheetsSelectionsService','requireSession','svg','data','UPDATE_PERMISSION_OBJ','forwardRef','DocIMEInputManagerService','fromEvent','_transformStack','permission.title','black','forEach','socket\x20open.','collaboration.single-unit.warning','code','UNIVER_SLIDE','urlChange$','color','_exhaustRemoteChangesetQueue','string','_unitOnClients','_renderManagerService','getViewport','unknown','_onConnectionOpen','isActive','ONLINE','engine','UniverLicense','LOCAL_CACHE_INTERVAL','_getMergeRange','toDisposable','_urlService','contains','textEncoder','_throwTelemetryCollaborationNewChangeset','UNIVER_COLLABORATION_CLIENT_PLUGIN','unitID','init','LocaleService','set','_httpService','POST','fillStyle','_startDocCollabCursor','SNAPSHOT_HAS_BEEN_REMOVED','saveChangeset','amd','joinRsp','_handleJoinEvent','lineTo','params','getOffsetConfig','m1Prime','findNodePositionByCharIndex','[FetchMissState]','transformStack\x20failed!','_getCurrentRevision','_incrementRevisionNumber','objectActions','every','session.will-retry','@univerjs/sheets-ui','handleInsertRangeMoveDown','_clearUndo','IMessageService','/new_changes','getRoom','_getAPIPrefixPath','_rescheduleHeartbeat','drawWith','handleDeleteRangeMoveLeft','[PendingState]:\x20unhandled\x20univer\x20type:\x20','HEARTBEAT_INTERVAL_KEY','_labelPosition','removeMember','{fileID}','sheetId','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','currentTheme$','/unit/','defs','_updateCollabCursors','transformChangesets','isTransformChangesetsSuccess','removeParam','blue400','CollaborationSocketService','_handleHover','toRgbString','message$','list','onPointerEnter$','IBeforeCloseService','ERROR_IMAGE','with','HTTPRequest','_collabCursorController','setParam','ImageUploadStatusType','BehaviorSubject','call','/-/object/-/batch_allowed','SessionStatus','/allowed','fillText','_initStatusComponent','_onRemoteChangeset','_updateSubUnitFromURLParams','error','YUUMI_SUBSCRIPTION_NOT_FOUND','_docTransformSelectionsService','CommentService','debounceTime','disposeUnit','Vector2','_selfUnitIDs','endRow','_compressMutationService','_lockTransition','ThresholdInterceptorFactory','_type','Unknown\x20user','transformMutationsWithChangeset','CHANGESET_ACK','_tryEnsureSocket','_checkMissing','snapshot','unitId','3359839DGZMKV','/universer-api/snapshot/','FETCH_MISSING','_localStorageService','_retryConnectingTimer','registerBeforeClose','onTransformRemoteChangesetByIMECache','RETRY_CONNECTING_MAX_COUNT_KEY','close','_uiPartsService','revision','_handleLeaveEvent','offline','_registerDependencies','getItem','_onRefRangeChange','loadSheet','uploadFileServerUrl','_substituteRedoStack','_cursor','editingUnit','awaitingChangeset','HEARTBEAT_INTERVAL','randomUUID','deleteCollaborator','[PendingState]:\x20received\x20acknowledgement.','IUIPartsService','handleInsertRangeMoveRight','json','getCurrentUser','[UniverCollaborationClientPlugin]','/fetchmissing?from=','COMPRESS_MUTATION_APPLY','\x20to\x20','url(#$1','status','_unitStatus','ERROR_EXCEED_SIZE','onCommandExecuted','RemoveColCommandId','shareReplay','_session','HEARTBEAT_TIMEOUT','handleInsertCol','createCollaborator','_onConflict','_entityInit$','_hovered','@univerjs/engine-render','updatePermissionObjEvent','show','USERS_ENTER','INGEST','max','fetchThroughInterceptors','image/bmp','_initCloseConn','_substituteUndoStack','permissionRejEvent','30116185aqRmNM','_scheduleHeartbeat','getSheetId','LocalUndoRedoService','/object','LOGIN_URL_KEY','WebSocketService','createIdentifier','mapTo','off-line-single_clip0_910_343','responseType','_clearOtherTimers','image/png','delay','newCsEvent','failed\x20to\x20apply\x20missed\x20changesets!','currentColor','reduce','collab-client.tooltip.reconnect','LEAVE','_clearCollaborationTimeoutTimer','allowed','YUUMI_URL_COL_OUT_OF_RANGE','requestParams','ISnapshotServerService','getUnitType','enableOfflineEditing','closePath','UniverCollaborationClientPlugin','RichTextEditingMutation','_localeService','CollaborationSessionService','_transitionLocked','then','CollaborationController','_updateLocalCache','_docSkeletonManagerService','_remoteChangesetQueue','catch','Shape','exhaustSavingTask','file','serializeCombRequest','SEND_CHANGESET_TIMEOUT_KEY','getParam','_waitCount','12KLlFrd','ILogService','getOwnPropertyDescriptor','_disabled','addEventListener','getDocRanges','_listenToOnlineEvent','getColor','registerRefRange','_onLocalMutation','_removeClearOtherTimer','UniverSheetsUi','objects','handleIRemoveCol','ICommandService','addObject','getSheetBlock','fetching\x20missing\x20changesets\x20from\x20','getMemberID','_transformUndoRedoStack','delete','liveShareNewHost','onlineStatus','onload','_permissionService','roomMembers$','fromCollab','FAIL','none','resend','_scene','awaiting','c1Prime','_getRedoStack','FETCH_MISS'];_0x4e79=function(){return _0xff2bf7;};return _0x4e79();}(function(_0x3a008e,_0x4c79b8){const _0x3a1748=_0x4c16,_0x1ff51f=_0x3a008e();while(!![]){try{const _0x50fa55=-parseInt(_0x3a1748(0x3e4))/0x1+-parseInt(_0x3a1748(0x163))/0x2*(parseInt(_0x3a1748(0xff))/0x3)+-parseInt(_0x3a1748(0xd0))/0x4+parseInt(_0x3a1748(0x12f))/0x5*(-parseInt(_0x3a1748(0x37f))/0x6)+-parseInt(_0x3a1748(0x316))/0x7*(parseInt(_0x3a1748(0x1c4))/0x8)+-parseInt(_0x3a1748(0x4c1))/0x9+parseInt(_0x3a1748(0x4b2))/0xa*(parseInt(_0x3a1748(0x351))/0xb);if(_0x50fa55===_0x4c79b8)break;else _0x1ff51f['push'](_0x1ff51f['shift']());}catch(_0x344b92){_0x1ff51f['push'](_0x1ff51f['shift']());}}}(_0x4e79,0x55b61),function(_0x316310,_0x1f3c60){const _0xc9db33=_0x4c16;typeof exports==_0xc9db33(0x154)&&typeof module<'u'?_0x1f3c60(exports,require('@univerjs/core'),require('rxjs'),require(_0xc9db33(0x128)),require(_0xc9db33(0x484)),require(_0xc9db33(0x48c)),require('@univerjs/network'),require('@univerjs-pro/collaboration'),require(_0xc9db33(0x21c)),require(_0xc9db33(0x149)),require('@univerjs/sheets'),require(_0xc9db33(0x346)),require('@univerjs/docs'),require('@univerjs/drawing'),require(_0xc9db33(0x1e5)),require(_0xc9db33(0x2d3)),require(_0xc9db33(0x41e)),require('@univerjs/rpc'),require(_0xc9db33(0x436))):typeof define=='function'&&define[_0xc9db33(0x2c4)]?define([_0xc9db33(0x3a5),'@univerjs/core',_0xc9db33(0x3cb),_0xc9db33(0x128),_0xc9db33(0x484),_0xc9db33(0x48c),'@univerjs/network',_0xc9db33(0x4aa),_0xc9db33(0x21c),_0xc9db33(0x149),'@univerjs/sheets',_0xc9db33(0x346),_0xc9db33(0x3a7),_0xc9db33(0x24d),_0xc9db33(0x1e5),'@univerjs/sheets-ui',_0xc9db33(0x41e),_0xc9db33(0x417),'@univerjs-pro/license'],_0x1f3c60):(_0x316310=typeof globalThis<'u'?globalThis:_0x316310||self,_0x1f3c60(_0x316310['UniverCollaborationClient']={},_0x316310[_0xc9db33(0xe3)],_0x316310[_0xc9db33(0x3cb)],_0x316310[_0xc9db33(0x3cb)][_0xc9db33(0x42e)],_0x316310['UniverDesign'],_0x316310['UniverUi'],_0x316310[_0xc9db33(0x279)],_0x316310[_0xc9db33(0x21e)],_0x316310[_0xc9db33(0x1f7)],_0x316310[_0xc9db33(0x22a)],_0x316310[_0xc9db33(0x1ec)],_0x316310[_0xc9db33(0xac)],_0x316310[_0xc9db33(0x10e)],_0x316310['UniverDrawing'],_0x316310[_0xc9db33(0x220)],_0x316310[_0xc9db33(0x38a)],_0x316310[_0xc9db33(0x109)],_0x316310[_0xc9db33(0x153)],_0x316310[_0xc9db33(0x2b1)]));}(this,function(_0x4238fe,_0x593949,_0x30c949,_0x218e56,_0x2b27fc,_0xc44033,_0x4c2b25,_0x4968b4,_0x3d9685,_0x5c6469,_0xec6805,_0xa07e34,_0x4aa7be,_0x2b881e,_0x399ee2,_0x35ed85,_0x111993,_0x172174,_0x56e63b){'use strict';const _0x36f281=_0x4c16;var _0x58cbf7=Object[_0x36f281(0x49a)],_0x1c3be4=(_0x5abf15,_0x3e7d75,_0x401faf)=>_0x3e7d75 in _0x5abf15?_0x58cbf7(_0x5abf15,_0x3e7d75,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x401faf}):_0x5abf15[_0x3e7d75]=_0x401faf,_0x3e0772=(_0x19dc06,_0x3968c0,_0xe1b1)=>_0x1c3be4(_0x19dc06,typeof _0x3968c0!='symbol'?_0x3968c0+'':_0x3968c0,_0xe1b1);const _0x3f5413=_0x36f281(0x4c8),_0x227a95=_0x36f281(0x3ff),_0x418a13=_0x36f281(0x1c0),_0x2b528f=_0x36f281(0x1bf),_0x3db6d8=_0x36f281(0x1d5),_0x270218=_0x36f281(0x4df),_0xec8683=_0x36f281(0x32c),_0x512ef2=_0x36f281(0x340),_0x428723=_0x36f281(0x135),_0x443bb=_0x36f281(0x2b2),_0x51e7c0=_0x36f281(0x427),_0x16783a='/universer-api/comb',_0x40bc0f=_0x36f281(0x356),_0x945847='/universer-api/oidc/authpage';var _0x52baf3=(_0x2c772e=>(_0x2c772e[_0x2c772e['UNDEFINED']=0x0]=_0x36f281(0x1d9),_0x2c772e[_0x2c772e['OK']=0x1]='OK',_0x2c772e[_0x2c772e['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x2c772e[_0x2c772e[_0x36f281(0x440)]=0x3]=_0x36f281(0x440),_0x2c772e[_0x2c772e[_0x36f281(0x25c)]=0x4]='NOT_FOUND',_0x2c772e[_0x2c772e[_0x36f281(0x133)]=0x5]=_0x36f281(0x133),_0x2c772e[_0x2c772e[_0x36f281(0x3a6)]=0x6]=_0x36f281(0x3a6),_0x2c772e[_0x2c772e[_0x36f281(0x1b7)]=0x7]=_0x36f281(0x1b7),_0x2c772e[_0x2c772e[_0x36f281(0x13e)]=0x8]=_0x36f281(0x13e),_0x2c772e[_0x2c772e[_0x36f281(0x44f)]=0x9]=_0x36f281(0x44f),_0x2c772e[_0x2c772e[_0x36f281(0x1af)]=0x1389]=_0x36f281(0x1af),_0x2c772e[_0x2c772e['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x36f281(0x1bd),_0x2c772e[_0x2c772e[_0x36f281(0x2c2)]=0x1772]=_0x36f281(0x2c2),_0x2c772e[_0x2c772e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x36f281(0x485),_0x2c772e[_0x2c772e[_0x36f281(0x475)]=0x1b59]=_0x36f281(0x475),_0x2c772e[_0x2c772e['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x36f281(0x1a8),_0x2c772e[_0x2c772e[_0x36f281(0x1d7)]=0x1b5b]=_0x36f281(0x1d7),_0x2c772e[_0x2c772e['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2c772e[_0x2c772e[_0x36f281(0x148)]=0x1b5d]='APPLY_DUPLICATED',_0x2c772e[_0x2c772e[_0x36f281(0x118)]=0x1f41]=_0x36f281(0x118),_0x2c772e[_0x2c772e['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2c772e[_0x2c772e[_0x36f281(0x487)]=0x232a]=_0x36f281(0x487),_0x2c772e[_0x2c772e[_0x36f281(0x4ae)]=0x232b]=_0x36f281(0x4ae),_0x2c772e[_0x2c772e[_0x36f281(0x15a)]=0x232c]=_0x36f281(0x15a),_0x2c772e[_0x2c772e[_0x36f281(0x243)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2c772e[_0x2c772e['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x36f281(0x469),_0x2c772e[_0x2c772e['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x36f281(0x367),_0x2c772e[_0x2c772e[_0x36f281(0x213)]=0x2713]=_0x36f281(0x213),_0x2c772e[_0x2c772e['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x36f281(0x303),_0x2c772e[_0x2c772e[_0x36f281(0xef)]=-0x1]='UNRECOGNIZED',_0x2c772e))(_0x52baf3||{}),_0x4775b3=(_0x5f3409=>(_0x5f3409[_0x5f3409[_0x36f281(0x450)]=0x0]=_0x36f281(0x450),_0x5f3409[_0x5f3409[_0x36f281(0x4e1)]=0x1]=_0x36f281(0x4e1),_0x5f3409[_0x5f3409[_0x36f281(0x12e)]=0x2]=_0x36f281(0x12e),_0x5f3409[_0x5f3409[_0x36f281(0x2a4)]=0x3]=_0x36f281(0x2a4),_0x5f3409[_0x5f3409[_0x36f281(0x434)]=0x4]='UNIVER_PROJECT',_0x5f3409[_0x5f3409['UNRECOGNIZED']=-0x1]=_0x36f281(0xef),_0x5f3409))(_0x4775b3||{}),_0x5e3ac2=(_0x3c0399=>(_0x3c0399[_0x3c0399[_0x36f281(0x449)]=0x0]=_0x36f281(0x449),_0x3c0399[_0x3c0399[_0x36f281(0x3ab)]=0x1]=_0x36f281(0x3ab),_0x3c0399[_0x3c0399[_0x36f281(0x419)]=0x2]=_0x36f281(0x419),_0x3c0399[_0x3c0399[_0x36f281(0x364)]=0x3]=_0x36f281(0x364),_0x3c0399[_0x3c0399[_0x36f281(0x34a)]=0x4]=_0x36f281(0x34a),_0x3c0399[_0x3c0399[_0x36f281(0x138)]=0x5]=_0x36f281(0x138),_0x3c0399[_0x3c0399[_0x36f281(0x164)]=0x6]=_0x36f281(0x164),_0x3c0399[_0x3c0399[_0x36f281(0xef)]=-0x1]=_0x36f281(0xef),_0x3c0399))(_0x5e3ac2||{}),_0xd96311=(_0x4c0504=>(_0x4c0504[_0x4c0504[_0x36f281(0x19e)]=0x0]=_0x36f281(0x19e),_0x4c0504[_0x4c0504['OK']=0x1]='OK',_0x4c0504[_0x4c0504[_0x36f281(0x39a)]=0x2]=_0x36f281(0x39a),_0x4c0504[_0x4c0504[_0x36f281(0xef)]=-0x1]=_0x36f281(0xef),_0x4c0504))(_0xd96311||{}),_0x34a97d=(_0x108334=>(_0x108334[_0x108334[_0x36f281(0x1a3)]=0x0]=_0x36f281(0x1a3),_0x108334[_0x108334[_0x36f281(0x11c)]=0x1]=_0x36f281(0x11c),_0x108334[_0x108334['HttpExport']=0x2]=_0x36f281(0x3ce),_0x108334[_0x108334[_0x36f281(0x286)]=0x3]=_0x36f281(0x286),_0x108334[_0x108334[_0x36f281(0x3eb)]=0x4]=_0x36f281(0x3eb),_0x108334[_0x108334[_0x36f281(0xef)]=-0x1]=_0x36f281(0xef),_0x108334))(_0x34a97d||{});const _0xfe6e3e=_0x36f281(0x1dd),_0x57fe04={};function _0x49635b(_0x25a445){const _0xa6a016=_0x36f281;var _0x4ff51e,_0x811e04,_0x6da64c,_0x186137;const _0xa517db=_0x25a445[_0xa6a016(0x298)],_0x69971a=JSON[_0xa6a016(0x3bb)](_0xa517db);switch(_0x69971a[_0xa6a016(0xcd)]){case _0x5e3ac2[_0xa6a016(0x138)]:case _0x5e3ac2['HELLO']:{const _0x3c1cbc=_0x69971a[_0xa6a016(0xbf)];return{..._0x69971a,'data':_0x3c1cbc,'cmd':_0x69971a[_0xa6a016(0xcd)]};}case _0x5e3ac2[_0xa6a016(0x419)]:{const _0x465780=_0x69971a[_0xa6a016(0x2c5)];return{..._0x69971a,'data':_0x465780,'cmd':_0x69971a[_0xa6a016(0xcd)]};}case _0x5e3ac2[_0xa6a016(0x164)]:{const _0x6b2b10=_0x69971a[_0xa6a016(0x45d)];switch(_0x6b2b10[_0xa6a016(0x10a)]){case _0x4968b4['CollaborationEvent'][_0xa6a016(0x4c3)]:return{..._0x69971a,'data':{..._0x6b2b10,'data':(_0x4ff51e=_0x6b2b10[_0xa6a016(0x350)])==null?void 0x0:_0x4ff51e['cs']},'cmd':_0x69971a['cmd']};case _0x4968b4[_0xa6a016(0xbc)][_0xa6a016(0x311)]:return{..._0x69971a,'data':{..._0x6b2b10,'data':(_0x811e04=_0x6b2b10['csAckEvent'])==null?void 0x0:_0x811e04['cs']},'cmd':_0x69971a[_0xa6a016(0xcd)]};case _0x4968b4[_0xa6a016(0xbc)][_0xa6a016(0x481)]:return{..._0x69971a,'data':{..._0x6b2b10,'data':(_0x6da64c=_0x6b2b10[_0xa6a016(0x35f)])==null?void 0x0:_0x6da64c['cs']},'cmd':_0x69971a[_0xa6a016(0xcd)]};case _0x4968b4[_0xa6a016(0xbc)][_0xa6a016(0x1f9)]:return{..._0x69971a,'data':{..._0x6b2b10,'data':(_0x186137=_0x6b2b10[_0xa6a016(0xc6)])==null?void 0x0:_0x186137['cs']},'cmd':_0x69971a[_0xa6a016(0xcd)]};case _0x4968b4['CollaborationEvent']['UPDATE_CURSOR']:return{..._0x69971a,'data':{..._0x6b2b10,'data':_0x6b2b10['updateCursorEvent']},'cmd':_0x69971a[_0xa6a016(0xcd)]};case _0x4968b4[_0xa6a016(0xbc)][_0xa6a016(0x349)]:return{..._0x69971a,'data':{..._0x6b2b10,'data':_0x6b2b10[_0xa6a016(0x108)]},'cmd':_0x69971a[_0xa6a016(0xcd)]};case _0x4968b4[_0xa6a016(0xbc)][_0xa6a016(0x3b2)]:return{..._0x69971a,'data':{..._0x6b2b10,'data':_0x6b2b10[_0xa6a016(0x25b)]},'cmd':_0x69971a[_0xa6a016(0xcd)]};case _0x4968b4[_0xa6a016(0xbc)][_0xa6a016(0x1a4)]:return{..._0x69971a,'data':{..._0x6b2b10,'data':_0x6b2b10['liveShareNewHost']},'cmd':_0x69971a[_0xa6a016(0xcd)]};case _0x4968b4['CollaborationEvent'][_0xa6a016(0x3cd)]:case _0x4968b4['CollaborationEvent'][_0xa6a016(0x224)]:return{..._0x69971a,'data':{..._0x6b2b10,'data':_0x6b2b10['liveShareOperation']},'cmd':_0x69971a[_0xa6a016(0xcd)]};case _0x4968b4[_0xa6a016(0xbc)]['LIVESHARE_TERMINATE']:return{..._0x69971a,'data':{..._0x6b2b10,'data':_0x6b2b10[_0xa6a016(0x394)]},'cmd':_0x69971a[_0xa6a016(0xcd)]};case _0x4968b4[_0xa6a016(0xbc)]['MSG_FOR_ERROR']:return{..._0x69971a,'data':_0x6b2b10,'cmd':_0x69971a[_0xa6a016(0xcd)]};case _0x4968b4[_0xa6a016(0xbc)][_0xa6a016(0x1d8)]:return{..._0x69971a,'data':{..._0x6b2b10,'data':_0x6b2b10[_0xa6a016(0x124)]},'cmd':_0x69971a[_0xa6a016(0xcd)]};case _0x4968b4[_0xa6a016(0xbc)][_0xa6a016(0x299)]:return{..._0x69971a,'data':{..._0x6b2b10,'data':_0x6b2b10[_0xa6a016(0x347)]},'cmd':_0x69971a[_0xa6a016(0xcd)]};case _0x4968b4[_0xa6a016(0xbc)][_0xa6a016(0x451)]:return{..._0x69971a,'data':{..._0x6b2b10,'data':_0x6b2b10[_0xa6a016(0x4d0)]},'cmd':_0x69971a[_0xa6a016(0xcd)]};default:return _0x69971a;}}default:return _0x69971a;}}function _0x59173a(_0x5829b4){const _0x2c54c4=_0x36f281;switch(_0x5829b4[_0x2c54c4(0xcd)]){case _0x5e3ac2['HEARTBEAT']:case _0x5e3ac2[_0x2c54c4(0x3ab)]:return JSON[_0x2c54c4(0xc1)]({'cmd':_0x5829b4[_0x2c54c4(0xcd)],'routeKey':_0x5829b4[_0x2c54c4(0x3c5)]});case _0x5e3ac2[_0x2c54c4(0x34a)]:{let _0x2c46b0;switch(_0x5829b4[_0x2c54c4(0x298)][_0x2c54c4(0x10a)]){case _0x4968b4[_0x2c54c4(0xbc)][_0x2c54c4(0x18d)]:{_0x2c46b0={'eventID':_0x4968b4['CollaborationEvent'][_0x2c54c4(0x18d)],'updateCursorEvent':_0x5829b4[_0x2c54c4(0x298)]['data']};break;}case _0x4968b4['CollaborationEvent'][_0x2c54c4(0x3b2)]:{_0x2c46b0={'eventID':_0x4968b4[_0x2c54c4(0xbc)][_0x2c54c4(0x3b2)],'leaveEvent':_0x5829b4[_0x2c54c4(0x298)][_0x2c54c4(0x298)]};break;}case _0x4968b4[_0x2c54c4(0xbc)][_0x2c54c4(0x349)]:{_0x2c46b0={'eventID':_0x4968b4[_0x2c54c4(0xbc)][_0x2c54c4(0x349)],'joinEvent':_0x5829b4['data'][_0x2c54c4(0x298)]};break;}case _0x4968b4[_0x2c54c4(0xbc)]['LIVESHARE_NEW_HOST']:{_0x2c46b0={'eventID':_0x4968b4[_0x2c54c4(0xbc)][_0x2c54c4(0x1a4)],'liveShareNewHost':_0x5829b4[_0x2c54c4(0x298)][_0x2c54c4(0x298)]};break;}case _0x4968b4[_0x2c54c4(0xbc)][_0x2c54c4(0x224)]:{_0x2c46b0={'eventID':_0x4968b4['CollaborationEvent'][_0x2c54c4(0x224)],'liveShareOperation':_0x5829b4[_0x2c54c4(0x298)][_0x2c54c4(0x298)]};break;}case _0x4968b4[_0x2c54c4(0xbc)][_0x2c54c4(0x43b)]:{_0x2c46b0={'eventID':_0x4968b4[_0x2c54c4(0xbc)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x5829b4['data'][_0x2c54c4(0x298)]};break;}case _0x4968b4[_0x2c54c4(0xbc)][_0x2c54c4(0x200)]:{_0x2c46b0={'eventID':_0x4968b4[_0x2c54c4(0xbc)][_0x2c54c4(0x200)],'liveShareRequestHost':_0x5829b4[_0x2c54c4(0x298)][_0x2c54c4(0x298)]};break;}case _0x4968b4[_0x2c54c4(0xbc)]['LIVESHARE_FETCH_OPERATIONS']:{_0x2c46b0={'eventID':_0x4968b4[_0x2c54c4(0xbc)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x2c46b0={'eventID':_0x5829b4[_0x2c54c4(0x298)]['eventID']};}return JSON[_0x2c54c4(0xc1)]({'cmd':_0x5829b4[_0x2c54c4(0xcd)],'routeKey':_0x5829b4['routeKey'],'collaMsg':_0x2c46b0});}case _0x5e3ac2[_0x2c54c4(0x419)]:return JSON[_0x2c54c4(0xc1)]({'cmd':_0x5829b4[_0x2c54c4(0xcd)],'routeKey':_0x5829b4[_0x2c54c4(0x3c5)],'joinReq':_0x5829b4[_0x2c54c4(0x298)]});case _0x5e3ac2[_0x2c54c4(0x364)]:return JSON['stringify']({'cmd':_0x5829b4[_0x2c54c4(0xcd)],'routeKey':_0x5829b4['routeKey'],'leaveReq':_0x5829b4[_0x2c54c4(0x298)]});default:throw new Error(_0x2c54c4(0x4a5));}}var _0xe19ba4=Object[_0x36f281(0x49a)],_0xf1f4f2=Object[_0x36f281(0x381)],_0x215bca=(_0x4b9c60,_0xee6bfd,_0x4d38aa,_0x2a801e)=>{const _0x1f9c17=_0x36f281;for(var _0x14f640=_0x2a801e>0x1?void 0x0:_0x2a801e?_0xf1f4f2(_0xee6bfd,_0x4d38aa):_0xee6bfd,_0x2f2d0c=_0x4b9c60[_0x1f9c17(0x43f)]-0x1,_0x173441;_0x2f2d0c>=0x0;_0x2f2d0c--)(_0x173441=_0x4b9c60[_0x2f2d0c])&&(_0x14f640=(_0x2a801e?_0x173441(_0xee6bfd,_0x4d38aa,_0x14f640):_0x173441(_0x14f640))||_0x14f640);return _0x2a801e&&_0x14f640&&_0xe19ba4(_0xee6bfd,_0x4d38aa,_0x14f640),_0x14f640;},_0xdc1482=(_0x123ccc,_0x2139f0)=>(_0x3e9781,_0x226928)=>_0x2139f0(_0x3e9781,_0x226928,_0x123ccc);const _0x2d8f92=_0x593949[_0x36f281(0x358)](_0x36f281(0x18e));function _0x5733a0(_0x4c0fa1,_0x3367a0,_0x510b61){const _0x1f51fc=_0x36f281;return _0x4c0fa1+'/'+_0x3367a0+_0x1f51fc(0x2e5)+_0x510b61+_0x1f51fc(0x2d7);}_0x4238fe[_0x36f281(0x2ec)]=class extends _0x593949[_0x36f281(0x16a)]{constructor(_0x24b84f,_0x274acc,_0x3ab662,_0x14b696,_0x2f0dbd){const _0x14e2e2=_0x36f281;super(),this[_0x14e2e2(0x1b0)]=_0x24b84f,this[_0x14e2e2(0x16d)]=_0x274acc,this[_0x14e2e2(0xdd)]=_0x3ab662,this[_0x14e2e2(0x3df)]=_0x14b696,this['_snapshotServerService']=_0x2f0dbd;}[_0x36f281(0x116)](_0x6d2e2f){const _0x4c75df=_0x36f281,_0x14e55c=this[_0x4c75df(0x16d)]['createSocket'](_0x6d2e2f);if(!_0x14e55c)throw new Error(_0x4c75df(0x491));const _0x5d7205=new _0x593949[(_0x4c75df(0x182))](),_0xd9e3b8=new _0x30c949[(_0x4c75df(0x20c))]();_0x5d7205[_0x4c75df(0xf6)](_0x14e55c[_0x4c75df(0x1c7)][_0x4c75df(0x188)](_0x2f9f33=>_0xd9e3b8[_0x4c75df(0x4e6)](_0x2f9f33))),_0x5d7205[_0x4c75df(0xf6)](_0x593949[_0x4c75df(0x2b4)](()=>_0xd9e3b8[_0x4c75df(0x259)]()));const _0x37bd24=new _0x30c949[(_0x4c75df(0x20c))]();_0x5d7205['add'](_0x14e55c[_0x4c75df(0x3d4)]['subscribe'](_0x4f5d00=>_0x37bd24[_0x4c75df(0x4e6)](_0x4f5d00))),_0x5d7205['add'](_0x593949['toDisposable'](()=>_0x37bd24['complete']()));const _0x1fa915=new _0x30c949[(_0x4c75df(0x20c))]();_0x5d7205['add'](_0x14e55c['message$'][_0x4c75df(0x188)](_0x390264=>{const _0x5abdb6=_0x49635b(_0x390264);_0x1fa915['next'](_0x5abdb6);})),_0x5d7205[_0x4c75df(0xf6)](_0x593949[_0x4c75df(0x2b4)](()=>_0x1fa915[_0x4c75df(0x259)]()));let _0x1b817b;const _0x1dbd77=()=>{const _0x183326=_0x4c75df;_0x37bd24['next'](new Event(_0x183326(0xbe))),_0xd9e3b8['next'](new CloseEvent(_0x183326(0xbe))),_0x1b817b[_0x183326(0x31e)]();};return _0x1b817b={'memberID':'','close$':_0xd9e3b8[_0x4c75df(0x13a)](),'error$':_0x37bd24[_0x4c75df(0x13a)](),'open$':_0x14e55c['open$'],'message$':_0x1fa915[_0x4c75df(0x13a)](),'send':_0x50badc=>{const _0x50c072=_0x4c75df;if(_0x50badc['cmd']===_0x5e3ac2[_0x50c072(0x34a)]){if(_0x50badc[_0x50c072(0x298)][_0x50c072(0x10a)]===_0x4968b4[_0x50c072(0xbc)][_0x50c072(0x1f8)]){this[_0x50c072(0x4b1)](_0x1b817b,_0x50badc[_0x50c072(0x298)])[_0x50c072(0x377)](_0x5b25cd=>{const _0x39a16c=_0x50c072;this[_0x39a16c(0x3df)][_0x39a16c(0x302)](_0x5b25cd),_0x1dbd77();});return;}if(_0x50badc[_0x50c072(0x298)][_0x50c072(0x10a)]===_0x4968b4[_0x50c072(0xbc)][_0x50c072(0x318)]){const _0x4b2410=_0x50badc[_0x50c072(0x298)];this['_fetchMissChangesets'](_0x4b2410)['then'](_0x1d0149=>{const _0x5942c8=_0x50c072;_0x1fa915['next']({'cmd':_0x5e3ac2['RECV'],'code':_0xd96311['OK'],'routeKey':_0x4b2410['data'][_0x5942c8(0x2ba)],'routeType':'','data':{'eventID':_0x4968b4[_0x5942c8(0xbc)][_0x5942c8(0x48d)],'data':{'changesets':_0x1d0149}}});})['catch'](_0x3599b4=>{const _0x163556=_0x50c072;this[_0x163556(0x3df)][_0x163556(0x302)](_0x3599b4),_0x1dbd77();});return;}}_0x14e55c['send'](_0x59173a(_0x50badc));},'close':()=>{const _0x26e669=_0x4c75df;_0x14e55c[_0x26e669(0x31e)](),_0x5d7205[_0x26e669(0x1e6)]();}},_0x1b817b;}async['_submitChangeset'](_0x3cfcef,_0x474e17){const _0x4404bf=_0x36f281;var _0x2d1493,_0x544ab0;const {unitType:_0x5cfbaa,unitID:_0x539f19,changeset:_0x1113d7}=_0x474e17[_0x4404bf(0x298)],_0x56559f={'unitID':_0x539f19,'memberID':_0x3cfcef[_0x4404bf(0x4bf)],'type':_0x5cfbaa,'changeset':_0x4968b4[_0x4404bf(0x1db)](_0x1113d7)},_0x2fdc4d=this[_0x4404bf(0xdd)][_0x4404bf(0x3bd)](_0x51e7c0),_0x3380f4=this[_0x4404bf(0xdd)][_0x4404bf(0x3bd)](_0xfe6e3e),_0xc377f2=_0x5733a0((_0x544ab0=(_0x2d1493=_0x3380f4==null?void 0x0:_0x3380f4[_0x4404bf(0x280)])!=null?_0x2d1493:_0x2fdc4d)!=null?_0x544ab0:_0x16783a,_0x5cfbaa,_0x539f19);try{await this[_0x4404bf(0x1b0)][_0x4404bf(0x13c)](_0xc377f2,{'body':_0x56559f});}catch(_0x4bf9d0){throw this[_0x4404bf(0x3df)][_0x4404bf(0x302)](_0x4404bf(0x476),'submit\x20changeset\x20error!'),_0x4bf9d0;}}async['_fetchMissChangesets'](_0x4dd89c){const _0x280ca6=_0x36f281,{unitID:_0x7ed550,from:_0xecca16,to:_0x29bd20,unitType:_0x91e7de}=_0x4dd89c['data'];return(await this[_0x280ca6(0x257)][_0x280ca6(0x471)]({'metadata':void 0x0},{'unitID':_0x7ed550,'type':_0x91e7de,'from':_0xecca16,'to':_0x29bd20}))[_0x280ca6(0x46a)];}},_0x4238fe[_0x36f281(0x2ec)]=_0x215bca([_0xdc1482(0x0,_0x593949[_0x36f281(0xb9)](_0x4c2b25[_0x36f281(0x426)])),_0xdc1482(0x1,_0x593949[_0x36f281(0xb9)](_0x4c2b25[_0x36f281(0x357)])),_0xdc1482(0x2,_0x593949[_0x36f281(0xe7)]),_0xdc1482(0x3,_0x593949[_0x36f281(0x380)]),_0xdc1482(0x4,_0x4968b4[_0x36f281(0x369)])],_0x4238fe[_0x36f281(0x2ec)]);const _0x5df521=_0x36f281(0x12a);function _0x12263b(_0x1767e3){const _0x2681af=_0x36f281;return JSON[_0x2681af(0xc1)](_0x1767e3)[_0x2681af(0x43f)];}class _0x5a515d{constructor(){const _0x15fbd7=_0x36f281;_0x3e0772(this,_0x15fbd7(0x414),new _0x30c949[(_0x15fbd7(0x20c))]()),_0x3e0772(this,_0x15fbd7(0x11e),this[_0x15fbd7(0x414)][_0x15fbd7(0x13a)]());}[_0x36f281(0x3d3)](_0x590e2c){const _0x6d21d5=_0x36f281;this[_0x6d21d5(0x414)][_0x6d21d5(0x4e6)](_0x590e2c);}}var _0x330acb=Object[_0x36f281(0x49a)],_0x58a3ea=Object[_0x36f281(0x381)],_0x38f98d=(_0x4eae2b,_0x186693,_0x34bc9b,_0x47face)=>{for(var _0x26b05c=_0x47face>0x1?void 0x0:_0x47face?_0x58a3ea(_0x186693,_0x34bc9b):_0x186693,_0x14e7ae=_0x4eae2b['length']-0x1,_0x4f25dd;_0x14e7ae>=0x0;_0x14e7ae--)(_0x4f25dd=_0x4eae2b[_0x14e7ae])&&(_0x26b05c=(_0x47face?_0x4f25dd(_0x186693,_0x34bc9b,_0x26b05c):_0x4f25dd(_0x26b05c))||_0x26b05c);return _0x47face&&_0x26b05c&&_0x330acb(_0x186693,_0x34bc9b,_0x26b05c),_0x26b05c;},_0x2120a7=(_0x2c6ebf,_0x4755e2)=>(_0x2a6e91,_0x5a02f6)=>_0x4755e2(_0x2a6e91,_0x5a02f6,_0x2c6ebf);let _0x40c14d=class extends _0x593949['Disposable']{constructor(_0x4a7d17,_0x251e8a){const _0x2e283e=_0x36f281;super(),_0x3e0772(this,_0x2e283e(0x1fe),new Map()),(this[_0x2e283e(0x276)]=_0x4a7d17,this[_0x2e283e(0x23e)]=_0x251e8a,this['disposeWithMe'](_0x593949[_0x2e283e(0x2b4)](_0x30c949[_0x2e283e(0x27f)](this[_0x2e283e(0x276)][_0x2e283e(0x27a)](_0x593949[_0x2e283e(0xaf)][_0x2e283e(0x12e)])[_0x2e283e(0x49c)](_0x218e56['map'](_0x3d367f=>_0x3d367f[_0x2e283e(0x4c0)]())),this['_univerInstanceService'][_0x2e283e(0x27a)](_0x593949['UniverInstanceType']['UNIVER_DOC'])[_0x2e283e(0x49c)](_0x218e56[_0x2e283e(0x1de)](_0x170bc0=>_0x170bc0[_0x2e283e(0x4c0)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x593949[_0x2e283e(0xaf)][_0x2e283e(0x2a4)])[_0x2e283e(0x49c)](_0x218e56[_0x2e283e(0x1de)](_0x2ed886=>_0x2ed886[_0x2e283e(0x4c0)]())))[_0x2e283e(0x188)](_0x34ccd6=>this[_0x2e283e(0xdf)](_0x34ccd6)))));}[_0x36f281(0x3dc)](_0xaeb29d){const _0x25bfc4=_0x36f281;this[_0x25bfc4(0x23e)][_0x25bfc4(0x3dc)](_0xaeb29d);}[_0x36f281(0x333)](){const _0x464953=_0x36f281;return this['_userManagerService'][_0x464953(0x333)]();}[_0x36f281(0x3ee)](_0x5d2823,_0x21af41){const _0x2f6482=_0x36f281;let _0x95fd27=this['_roomMembers'][_0x2f6482(0x14e)](_0x5d2823);_0x95fd27||(_0x95fd27=new _0x28292f(),this['_roomMembers'][_0x2f6482(0x2bd)](_0x5d2823,_0x95fd27)),_0x95fd27[_0x2f6482(0x3ee)](_0x21af41);}['removeMember'](_0x50b453,_0x3b6b13){const _0x575569=_0x36f281,_0x8b00d9=this['_roomMembers'][_0x575569(0x14e)](_0x50b453);_0x8b00d9&&_0x8b00d9[_0x575569(0x2e0)](_0x3b6b13);}[_0x36f281(0x2d8)](_0xe2ba86){const _0x117d8e=_0x36f281;return this[_0x117d8e(0x1fe)][_0x117d8e(0x14e)](_0xe2ba86);}['getMember'](_0x5c95bf,_0x554e8d){const _0x3f1943=_0x36f281,_0x1fb94a=this[_0x3f1943(0x1fe)][_0x3f1943(0x14e)](_0x5c95bf);if(_0x1fb94a)return _0x1fb94a[_0x3f1943(0x4a8)](_0x554e8d);}[_0x36f281(0xdf)](_0x445d70){const _0xb9f525=_0x36f281,_0x3f0aad=this[_0xb9f525(0x1fe)]['get'](_0x445d70);_0x3f0aad&&(_0x3f0aad['dispose'](),this['_roomMembers'][_0xb9f525(0x393)](_0x445d70));}[_0x36f281(0x1e6)](){const _0x5d9ccc=_0x36f281;this[_0x5d9ccc(0x1fe)][_0x5d9ccc(0x2a0)](_0x22195d=>_0x22195d['dispose']()),this[_0x5d9ccc(0x1fe)]['clear']();}};_0x40c14d=_0x38f98d([_0x2120a7(0x0,_0x593949[_0x36f281(0x1dc)]),_0x2120a7(0x1,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0x462)]))],_0x40c14d);class _0x28292f extends _0x593949[_0x36f281(0x16a)]{constructor(){const _0x1b238a=_0x36f281;super(...arguments),_0x3e0772(this,_0x1b238a(0x262),new Map());}[_0x36f281(0x1e6)](){const _0x132429=_0x36f281;this[_0x132429(0x262)]['clear']();}['updateMember'](_0x26103b){const _0x5196c4=_0x36f281;this[_0x5196c4(0x262)][_0x5196c4(0x2bd)](_0x26103b[_0x5196c4(0x4bf)],_0x26103b);}[_0x36f281(0x2e0)](_0x27f60e){const _0x41f7f9=_0x36f281;this[_0x41f7f9(0x262)][_0x41f7f9(0x393)](_0x27f60e);}[_0x36f281(0x4a8)](_0x4cc07a){const _0x5469c9=_0x36f281;return this[_0x5469c9(0x262)][_0x5469c9(0x14e)](_0x4cc07a);}}var _0x615e3a=Object[_0x36f281(0x49a)],_0x9bac3f=Object[_0x36f281(0x381)],_0x34d061=(_0x25e602,_0x35f20f,_0x11d3a3,_0x317200)=>{const _0x4c405f=_0x36f281;for(var _0x5b8600=_0x317200>0x1?void 0x0:_0x317200?_0x9bac3f(_0x35f20f,_0x11d3a3):_0x35f20f,_0x2498f9=_0x25e602[_0x4c405f(0x43f)]-0x1,_0x1ec42b;_0x2498f9>=0x0;_0x2498f9--)(_0x1ec42b=_0x25e602[_0x2498f9])&&(_0x5b8600=(_0x317200?_0x1ec42b(_0x35f20f,_0x11d3a3,_0x5b8600):_0x1ec42b(_0x5b8600))||_0x5b8600);return _0x317200&&_0x5b8600&&_0x615e3a(_0x35f20f,_0x11d3a3,_0x5b8600),_0x5b8600;},_0x316683=(_0xfc6983,_0x28220c)=>(_0x27cd37,_0x2e778b)=>_0x28220c(_0x27cd37,_0x2e778b,_0xfc6983),_0x108499=(_0x5e083c=>(_0x5e083c[_0x5e083c[_0x36f281(0x1c3)]=0x0]=_0x36f281(0x1c3),_0x5e083c[_0x5e083c['JOINING']=0x1]=_0x36f281(0x208),_0x5e083c[_0x5e083c[_0x36f281(0x4eb)]=0x2]=_0x36f281(0x4eb),_0x5e083c[_0x5e083c[_0x36f281(0x2af)]=0x3]='ONLINE',_0x5e083c))(_0x108499||{});_0x4238fe[_0x36f281(0x44e)]=class extends _0x593949['RxDisposable']{constructor(_0x497be2,_0x380f58,_0x39156d,_0x2f181e,_0x171c91,_0x1acef6,_0x2707ef,_0x283826,_0x8e688f,_0x14cc3e){const _0xf301a7=_0x36f281;super(),_0x3e0772(this,_0xf301a7(0x217),new _0x30c949[(_0xf301a7(0x2f9))](0x0)),_0x3e0772(this,_0xf301a7(0x45c),this[_0xf301a7(0x217)]['asObservable']()),_0x3e0772(this,'_event$',new _0x30c949[(_0xf301a7(0x20c))]()),_0x3e0772(this,_0xf301a7(0x44d),this[_0xf301a7(0xc7)][_0xf301a7(0x13a)]()),_0x3e0772(this,_0xf301a7(0x1e8)),_0x3e0772(this,_0xf301a7(0x4bc)),_0x3e0772(this,'_collaborationTimeoutTimer'),_0x3e0772(this,'_shouldReportTelemetry',!0x1),_0x3e0772(this,_0xf301a7(0x3f5),null),(this[_0xf301a7(0x483)]=_0x497be2,this[_0xf301a7(0x3df)]=_0x39156d,this['_beforeCloseService']=_0x2f181e,this[_0xf301a7(0xf9)]=_0x171c91,this[_0xf301a7(0xdd)]=_0x1acef6,this['_localeService']=_0x2707ef,this['_memberService']=_0x283826,this[_0xf301a7(0x442)]=_0x8e688f,this['_telemetryService']=_0x14cc3e,this['_shouldReportTelemetry']=!!this[_0xf301a7(0x1ea)],_0x380f58[_0xf301a7(0x49c)](_0x30c949[_0xf301a7(0x142)](this[_0xf301a7(0x4d4)]))['subscribe'](_0x4d716f=>{const _0x2ad420=_0xf301a7;var _0x42338f;typeof _0x4d716f>'u'||(this[_0x2ad420(0x1e8)]=_0x4d716f,_0x4d716f?(this[_0x2ad420(0x482)](_0x4d716f),this[_0x2ad420(0x4bc)]=_0x4d716f[_0x2ad420(0x2ef)][_0x2ad420(0x188)](_0x28c267=>{const _0x2979c3=_0x2ad420;_0x28c267[_0x2979c3(0x3c5)]===this[_0x2979c3(0x483)]&&this[_0x2979c3(0x1b2)](_0x28c267);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x2ad420(0x217)][_0x2ad420(0x4e6)](0x2),(_0x42338f=this[_0x2ad420(0x4bc)])==null||_0x42338f[_0x2ad420(0x19b)](),this[_0x2ad420(0x4bc)]=null));}),this[_0xf301a7(0x196)](this[_0xf301a7(0x278)][_0xf301a7(0x214)](()=>{const _0x2e4707=_0xf301a7;var _0xd26b3f;(_0xd26b3f=this[_0x2e4707(0x1e8)])==null||_0xd26b3f[_0x2e4707(0x4ce)]({'cmd':_0x5e3ac2['LEAVE'],'data':{'roomID':this[_0x2e4707(0x483)]}});})));}get[_0x36f281(0x17f)](){const _0x1826f6=_0x36f281;return this[_0x1826f6(0x217)][_0x1826f6(0x159)]();}[_0x36f281(0x391)](){const _0x36bfa5=_0x36f281;var _0x5428a0,_0x35cac8;return(_0x35cac8=(_0x5428a0=this['_socket'])==null?void 0x0:_0x5428a0[_0x36bfa5(0x4bf)])!=null?_0x35cac8:null;}[_0x36f281(0x1e6)](){const _0x57d516=_0x36f281;super['dispose'](),this[_0x57d516(0x4d4)][_0x57d516(0x4e6)](),this[_0x57d516(0x4d4)]['complete']();}[_0x36f281(0x31e)](){const _0x51c534=_0x36f281;var _0x5a77b3,_0x5b6b7f;this['_throwTelemetryCollaborationNewChangeset'](),(_0x5a77b3=this[_0x51c534(0x1e8)])==null||_0x5a77b3['send']({'cmd':_0x5e3ac2[_0x51c534(0x364)],'data':{'roomID':this[_0x51c534(0x483)]}}),(_0x5b6b7f=this[_0x51c534(0x1e8)])==null||_0x5b6b7f['close'](),this['_event$'][_0x51c534(0x259)](),this[_0x51c534(0x217)][_0x51c534(0x259)](),this[_0x51c534(0x1e6)]();}[_0x36f281(0x1b2)](_0x51f18d){const _0x33a9fe=_0x36f281;_0x51f18d[_0x33a9fe(0xcd)]===_0x5e3ac2[_0x33a9fe(0x419)]?this[_0x33a9fe(0x294)](_0x51f18d):_0x51f18d[_0x33a9fe(0xcd)]===_0x5e3ac2[_0x33a9fe(0x164)]&&this[_0x33a9fe(0x409)](_0x51f18d);}[_0x36f281(0x482)](_0x346d47){const _0x56ff61=_0x36f281;this[_0x56ff61(0x217)]['next'](0x1),_0x346d47['send']({'cmd':_0x5e3ac2[_0x56ff61(0x419)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x56ff61(0x483)]}]}});}[_0x36f281(0x294)](_0x5f46c1){const _0x222aa8=_0x36f281;var _0x161c75;if(_0x5f46c1[_0x222aa8(0x2a3)]===_0xd96311[_0x222aa8(0x39a)]){this['_messageService'][_0x222aa8(0x348)]({'type':_0x2b27fc['MessageType']['Warning'],'content':this[_0x222aa8(0x36f)]['t'](_0x222aa8(0x468))}),this[_0x222aa8(0x217)]['next'](0x2);return;}this[_0x222aa8(0x217)][_0x222aa8(0x4e6)](0x3);const _0x1a7490=(_0x161c75=_0x5f46c1['data'][_0x222aa8(0x1ed)][this[_0x222aa8(0x483)]])==null?void 0x0:_0x161c75[_0x222aa8(0xd4)];_0x1a7490&&_0x1a7490[_0x222aa8(0x2a0)](_0x4538ed=>this['_memberService'][_0x222aa8(0x3ee)](this[_0x222aa8(0x483)],_0x4538ed));}['_onRecvEvent'](_0x4fcdce){const _0x5ebf71=_0x36f281;try{const _0x2fd9aa=_0x4fcdce[_0x5ebf71(0x298)];switch(_0x2fd9aa[_0x5ebf71(0x10a)]){case _0x4968b4['CollaborationEvent']['USERS_ENTER']:this['_onUserJoin'](_0x2fd9aa),this['_event$'][_0x5ebf71(0x4e6)](_0x2fd9aa);break;case _0x4968b4[_0x5ebf71(0xbc)][_0x5ebf71(0x3b2)]:this['_onUserLeave'](_0x2fd9aa),this[_0x5ebf71(0xc7)][_0x5ebf71(0x4e6)](_0x2fd9aa);break;case _0x4968b4['CollaborationEvent']['CHANGESET_ACK']:this[_0x5ebf71(0x41d)](),this[_0x5ebf71(0x365)](),this['_event$'][_0x5ebf71(0x4e6)](_0x2fd9aa);break;case _0x4968b4[_0x5ebf71(0xbc)][_0x5ebf71(0x263)]:this['_logService'][_0x5ebf71(0x302)](_0x5ebf71(0xe9)+JSON[_0x5ebf71(0xc1)](_0x2fd9aa)),this[_0x5ebf71(0xc7)][_0x5ebf71(0x4e6)](_0x2fd9aa);break;case _0x4968b4[_0x5ebf71(0xbc)]['COMMENT_UPDATE']:this[_0x5ebf71(0x442)][_0x5ebf71(0x3d3)](_0x2fd9aa[_0x5ebf71(0x298)]),this['_event$'][_0x5ebf71(0x4e6)](_0x2fd9aa);break;default:this[_0x5ebf71(0xc7)]['next'](_0x2fd9aa);}}catch(_0x59ece1){this[_0x5ebf71(0x3df)][_0x5ebf71(0x302)](_0x59ece1,_0x4fcdce);}}[_0x36f281(0x4e7)](_0xb1b7e5){const _0x14cc5a=_0x36f281;this[_0x14cc5a(0x277)][_0x14cc5a(0x3ee)](this[_0x14cc5a(0x483)],_0xb1b7e5[_0x14cc5a(0x298)]);}[_0x36f281(0x241)](_0x242588){const _0x4a2342=_0x36f281;this[_0x4a2342(0x277)][_0x4a2342(0x2e0)](this[_0x4a2342(0x483)],_0x242588[_0x4a2342(0x298)][_0x4a2342(0x4bf)]);}async[_0x36f281(0x4ce)](_0x49643f,_0x3d02e3){const _0x4d6964=_0x36f281;if(this[_0x4d6964(0x17f)]!==0x3||!this[_0x4d6964(0x1e8)])throw new Error(_0x4d6964(0xd6));try{_0x49643f['eventID']===_0x4968b4[_0x4d6964(0xbc)]['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x49643f)),this[_0x4d6964(0x1e8)][_0x4d6964(0x4ce)]({'cmd':_0x5e3ac2['INGEST'],'routeKey':_0x3d02e3,'routeType':'','data':_0x49643f});}catch(_0x1ccc7a){this['_logService']['error'](_0x1ccc7a);}}['_scheduleCollaborationTimeoutTimer'](){const _0x17060d=_0x36f281;var _0x4996cd;this[_0x17060d(0xfd)]=window[_0x17060d(0x112)](()=>{const _0x255bfd=_0x17060d;this[_0x255bfd(0xfd)]=null,this[_0x255bfd(0xf9)][_0x255bfd(0x348)]({'type':_0x2b27fc['MessageType'][_0x255bfd(0x40f)],'content':this[_0x255bfd(0x36f)]['t'](_0x255bfd(0x274))});},(_0x4996cd=this['_configService'][_0x17060d(0x3bd)](_0x512ef2))!=null?_0x4996cd:0x4e20);}['_clearCollaborationTimeoutTimer'](){const _0x516f6e=_0x36f281;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x516f6e(0xfd)]),this[_0x516f6e(0xfd)]=null);}[_0x36f281(0x270)](_0x52a553){const _0x493cd7=_0x36f281;if(!this[_0x493cd7(0x3c4)])return;const {data:_0x28c41a}=_0x52a553,{unitID:_0x877298,changeset:_0x3709a4}=_0x28c41a,{mutations:_0x27c87d,type:_0x5aebba}=_0x3709a4;this[_0x493cd7(0x3f5)]={'unitId':_0x877298,'type':_0x5aebba,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x12263b(_0x27c87d)};}[_0x36f281(0x41d)](){const _0x2cc29f=_0x36f281;if(this[_0x2cc29f(0x3c4)]){if(!this[_0x2cc29f(0x3f5)]){this[_0x2cc29f(0x3df)][_0x2cc29f(0x302)](_0x2cc29f(0x476),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2cc29f(0x3f5)][_0x2cc29f(0x412)]=performance[_0x2cc29f(0x222)](),this[_0x2cc29f(0x3f5)][_0x2cc29f(0x3d2)]=this[_0x2cc29f(0x3f5)][_0x2cc29f(0x412)]-this[_0x2cc29f(0x3f5)][_0x2cc29f(0x268)],this[_0x2cc29f(0x1ea)][_0x2cc29f(0x287)](_0x5df521,this[_0x2cc29f(0x3f5)]),this[_0x2cc29f(0x3f5)]=null;}}[_0x36f281(0x2b8)](){const _0x3127c4=_0x36f281;this[_0x3127c4(0x3f5)]=null;}},_0x4238fe[_0x36f281(0x44e)]=_0x34d061([_0x316683(0x2,_0x593949[_0x36f281(0x380)]),_0x316683(0x3,_0xc44033[_0x36f281(0x2f2)]),_0x316683(0x4,_0xc44033[_0x36f281(0x2d6)]),_0x316683(0x5,_0x593949[_0x36f281(0xe7)]),_0x316683(0x6,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0x2bc)])),_0x316683(0x7,_0x593949['Inject'](_0x40c14d)),_0x316683(0x8,_0x593949[_0x36f281(0xb9)](_0x5a515d)),_0x316683(0x9,_0x593949['Optional'](_0x3d9685['ITelemetryService']))],_0x4238fe['CollaborationSession']);var _0x46b98f=Object[_0x36f281(0x49a)],_0x18deb2=Object['getOwnPropertyDescriptor'],_0x10893d=(_0x306305,_0xdbfcc7,_0x250387,_0x3046c6)=>{const _0xde93cc=_0x36f281;for(var _0x7c9676=_0x3046c6>0x1?void 0x0:_0x3046c6?_0x18deb2(_0xdbfcc7,_0x250387):_0xdbfcc7,_0x1b5570=_0x306305[_0xde93cc(0x43f)]-0x1,_0x21d58e;_0x1b5570>=0x0;_0x1b5570--)(_0x21d58e=_0x306305[_0x1b5570])&&(_0x7c9676=(_0x3046c6?_0x21d58e(_0xdbfcc7,_0x250387,_0x7c9676):_0x21d58e(_0x7c9676))||_0x7c9676);return _0x3046c6&&_0x7c9676&&_0x46b98f(_0xdbfcc7,_0x250387,_0x7c9676),_0x7c9676;},_0x3ea66b=(_0x334e2a,_0x3ee436)=>(_0x3f746a,_0x2f2894)=>_0x3ee436(_0x3f746a,_0x2f2894,_0x334e2a);_0x4238fe[_0x36f281(0x370)]=class extends _0x593949[_0x36f281(0x16a)]{constructor(_0x326dab,_0x5afe4d,_0x1a76ed,_0x2b0423,_0x54c732,_0x4fb963){const _0xcb21ca=_0x36f281;super(),_0x3e0772(this,_0xcb21ca(0x258),new _0x30c949[(_0xcb21ca(0x2f9))](void 0x0)),_0x3e0772(this,'socket$',this[_0xcb21ca(0x258)][_0xcb21ca(0x13a)]()),_0x3e0772(this,'_candidateSocket',null),_0x3e0772(this,'_sessions',new Map()),_0x3e0772(this,'_status$',new _0x30c949[(_0xcb21ca(0x2f9))](_0x108499[_0xcb21ca(0x1c3)])),_0x3e0772(this,_0xcb21ca(0x457),this[_0xcb21ca(0x20e)][_0xcb21ca(0x13a)]()),_0x3e0772(this,'_socketReady',!0x1),_0x3e0772(this,_0xcb21ca(0x31a)),_0x3e0772(this,'_retryCount',0x0),_0x3e0772(this,'_sendHeartbeatTimer'),_0x3e0772(this,'_timeoutTimer'),(this[_0xcb21ca(0xf1)]=_0x326dab,this[_0xcb21ca(0x36f)]=_0x5afe4d,this[_0xcb21ca(0xf9)]=_0x1a76ed,this[_0xcb21ca(0x3df)]=_0x2b0423,this[_0xcb21ca(0xdd)]=_0x54c732,this['_socketService']=_0x4fb963,this['_initEventListeners']());}get[_0x36f281(0x1e8)](){const _0x55fee8=_0x36f281;return this['_socket$'][_0x55fee8(0x159)]();}[_0x36f281(0x181)](){const _0x28056e=_0x36f281;this[_0x28056e(0x132)](),this[_0x28056e(0x385)]();}[_0x36f281(0x1e6)](){const _0x87884c=_0x36f281;super[_0x87884c(0x1e6)](),this[_0x87884c(0x173)]['forEach'](_0x3386a5=>_0x3386a5[_0x87884c(0x1e6)]()),this[_0x87884c(0x173)][_0x87884c(0x3dd)](),this[_0x87884c(0x20e)]['complete']();}async[_0x36f281(0x296)](_0x3d2f90){const _0x4fbeb2=_0x36f281;if(this['_sessions'][_0x4fbeb2(0x1f2)](_0x3d2f90))return this[_0x4fbeb2(0x173)][_0x4fbeb2(0x14e)](_0x3d2f90);this[_0x4fbeb2(0x312)]();const _0x10cf5f=this[_0x4fbeb2(0xf1)][_0x4fbeb2(0xb4)](_0x4238fe[_0x4fbeb2(0x44e)],_0x3d2f90,this[_0x4fbeb2(0x258)][_0x4fbeb2(0x13a)]());return this[_0x4fbeb2(0x173)]['set'](_0x3d2f90,_0x10cf5f),_0x10cf5f;}[_0x36f281(0x1bb)](_0x12c67f){const _0x48ea34=_0x36f281;var _0xf7e07b;const _0x94386a=this[_0x48ea34(0x173)]['get'](_0x12c67f);_0x94386a&&(this[_0x48ea34(0x173)][_0x48ea34(0x393)](_0x12c67f),_0x94386a[_0x48ea34(0x31e)]()),this[_0x48ea34(0x173)][_0x48ea34(0x4a3)]||(_0xf7e07b=this[_0x48ea34(0x1e8)])==null||_0xf7e07b[_0x48ea34(0x31e)]();}[_0x36f281(0x165)](){const _0x4079ee=_0x36f281;this[_0x4079ee(0x292)]=0x0,this[_0x4079ee(0x31a)]!=null&&(clearTimeout(this[_0x4079ee(0x31a)]),this[_0x4079ee(0x31a)]=null),this[_0x4079ee(0x464)]();}['_createSocket'](){const _0x1ca232=_0x36f281;var _0x3cd9ee,_0x566430;const _0x4e4c42=this[_0x1ca232(0xdd)][_0x1ca232(0x3bd)](_0x3db6d8),_0x5d51a1=this[_0x1ca232(0xdd)]['getConfig'](_0xfe6e3e),_0x5a20f5=(_0x566430=(_0x3cd9ee=_0x5d51a1==null?void 0x0:_0x5d51a1[_0x1ca232(0x3b7)])!=null?_0x3cd9ee:_0x4e4c42)!=null?_0x566430:_0x270218,_0x355bf5=this[_0x1ca232(0x1e4)][_0x1ca232(0x116)](_0x5a20f5);return this[_0x1ca232(0x413)]=_0x355bf5,_0x355bf5;}[_0x36f281(0x312)](){const _0x28755a=_0x36f281;var _0x52de7f,_0x679fcc;try{const _0x2b4e82=(_0x679fcc=(_0x52de7f=this[_0x28755a(0x1e8)])!=null?_0x52de7f:this[_0x28755a(0x413)])!=null?_0x679fcc:this['_createSocket']();if(_0x2b4e82){const _0x3e6575=_0x2b4e82[_0x28755a(0x4ce)];_0x2b4e82[_0x28755a(0x4ce)]=_0x47fa73=>(this[_0x28755a(0x2da)](),_0x3e6575[_0x28755a(0x4b9)](_0x2b4e82,[_0x47fa73])),_0x2b4e82[_0x28755a(0x2ef)][_0x28755a(0x188)](_0x4b4253=>this[_0x28755a(0x425)](_0x2b4e82,_0x4b4253)),_0x2b4e82['error$'][_0x28755a(0x49c)](_0x218e56[_0x28755a(0x477)](0x1))[_0x28755a(0x188)](_0x2ab0a3=>this[_0x28755a(0x3df)][_0x28755a(0x302)](_0x28755a(0x454),_0x2ab0a3)),_0x2b4e82['open$']['pipe'](_0x218e56['take'](0x1))[_0x28755a(0x188)](()=>{const _0x3ca260=_0x28755a;this[_0x3ca260(0x2ad)](_0x2b4e82);}),_0x2b4e82['close$'][_0x28755a(0x49c)](_0x218e56['take'](0x1))[_0x28755a(0x188)](_0x4b8758=>{const _0x28fad3=_0x28755a;this['_logService'][_0x28fad3(0x177)](_0x28fad3(0x466),_0x28fad3(0xce),_0x4b8758),this[_0x28fad3(0x18f)]();});}}catch(_0x26a9ef){this[_0x28755a(0x3df)]['error'](_0x26a9ef),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x473bda){const _0x3ce5de=_0x36f281;this[_0x3ce5de(0x3df)][_0x3ce5de(0x177)]('[CollaborationSessionService]',_0x3ce5de(0x2a1)),_0x473bda[_0x3ce5de(0x4ce)]({'cmd':_0x5e3ac2[_0x3ce5de(0x3ab)]}),this[_0x3ce5de(0x2da)]();}['_listenToOfflineEvent'](){const _0x3cbb46=_0x36f281;window['addEventListener']('offline',()=>this[_0x3cbb46(0x113)]());}['_onOffline'](){const _0xca808f=_0x36f281;this[_0xca808f(0x3b1)]=!0x1,this[_0xca808f(0x413)]=null,this[_0xca808f(0x20e)][_0xca808f(0x4e6)](_0x108499['OFFLINE']),this[_0xca808f(0x258)]['next'](null),this[_0xca808f(0x103)](),this[_0xca808f(0x4d3)]();}['_onConnectionFailed'](){const _0x252ba0=_0x36f281;var _0x535b35;this[_0x252ba0(0x113)](),this[_0x252ba0(0x292)]<((_0x535b35=this[_0x252ba0(0xdd)][_0x252ba0(0x3bd)](_0x428723))!=null?_0x535b35:0x3)?(this[_0x252ba0(0xf9)]['show']({'key':_0x252ba0(0x146),'type':_0x2b27fc[_0x252ba0(0x1ae)][_0x252ba0(0x1a1)],'content':this[_0x252ba0(0x36f)]['t'](_0x252ba0(0x2d2))}),this[_0x252ba0(0x464)]()):this[_0x252ba0(0xf9)][_0x252ba0(0x348)]({'key':_0x252ba0(0x146),'type':_0x2b27fc[_0x252ba0(0x1ae)][_0x252ba0(0x40f)],'content':this[_0x252ba0(0x36f)]['t'](_0x252ba0(0x187))});}[_0x36f281(0x385)](){const _0x2a5ff3=_0x36f281,_0x276751=()=>{const _0x21128e=_0x4c16;this[_0x21128e(0x1e8)]||this[_0x21128e(0x165)]();},_0x504355=()=>{const _0x448960=_0x4c16;this[_0x448960(0x1e8)]||document[_0x448960(0x1f0)]===_0x448960(0x201)||this[_0x448960(0x165)]();};window['addEventListener']('online',_0x276751),document[_0x2a5ff3(0x383)]('visibilitychange',_0x504355);}[_0x36f281(0x464)](){const _0x11e36f=_0x36f281;var _0x2229df;const _0x11ca5c=this[_0x11e36f(0x292)],_0x30d2c8=this[_0x11e36f(0xdd)][_0x11e36f(0x3bd)](_0xfe6e3e),_0x2c11a0=_0x11ca5c===0x0?0x0:((_0x2229df=_0x30d2c8==null?void 0x0:_0x30d2c8['retryConnectingInterval'])!=null?_0x2229df:0x4e20)*0x2**_0x11ca5c;this[_0x11e36f(0x31a)]=window[_0x11e36f(0x112)](()=>{const _0x3bc988=_0x11e36f;clearTimeout(this[_0x3bc988(0x31a)]),this[_0x3bc988(0x31a)]=null,this[_0x3bc988(0x312)]();},_0x2c11a0),this[_0x11e36f(0x292)]+=0x1;}[_0x36f281(0x425)](_0x113915,_0x4e54c3){const _0x48f973=_0x36f281,{cmd:_0x512ce0}=_0x4e54c3;_0x512ce0===_0x5e3ac2['HELLO']&&!this[_0x48f973(0x3b1)]&&(_0x113915['memberID']=_0x4e54c3['data']['memberID'],this[_0x48f973(0x258)][_0x48f973(0x4e6)](_0x113915),this[_0x48f973(0x20e)][_0x48f973(0x4e6)](_0x108499[_0x48f973(0x2af)]),this[_0x48f973(0x3b1)]=!0x0,this['_candidateSocket']=null),_0x512ce0===_0x5e3ac2['HEARTBEAT']&&this[_0x48f973(0x103)](),this[_0x48f973(0x2da)]();}['_rescheduleHeartbeat'](){const _0x5f290e=_0x36f281;var _0x593bd3;this[_0x5f290e(0x4d3)](),this['_sendHeartbeatTimer']=window[_0x5f290e(0x112)](()=>this[_0x5f290e(0xeb)](),(_0x593bd3=this[_0x5f290e(0xdd)][_0x5f290e(0x3bd)](_0xec8683))!=null?_0x593bd3:0x7530);}[_0x36f281(0xeb)](){const _0x58a76e=_0x36f281;this[_0x58a76e(0x1e8)][_0x58a76e(0x4ce)]({'cmd':_0x5e3ac2['HEARTBEAT']}),this[_0x58a76e(0x17d)]();}['_waitForHeartbeatResponse'](){const _0x1d4b59=_0x36f281;var _0x40b7c1;this[_0x1d4b59(0x49e)]=window['setTimeout'](()=>this[_0x1d4b59(0x18f)](),(_0x40b7c1=this['_configService'][_0x1d4b59(0x3bd)](_0x512ef2))!=null?_0x40b7c1:0x4e20);}[_0x36f281(0x4d3)](){const _0x4eafdc=_0x36f281;this[_0x4eafdc(0x253)]!=null&&(clearTimeout(this[_0x4eafdc(0x253)]),this[_0x4eafdc(0x253)]=null);}[_0x36f281(0x103)](){const _0x7a8f4=_0x36f281;this[_0x7a8f4(0x49e)]!=null&&(clearTimeout(this[_0x7a8f4(0x49e)]),this[_0x7a8f4(0x49e)]=null);}},_0x4238fe[_0x36f281(0x370)]=_0x10893d([_0x3ea66b(0x0,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x3ea66b(0x1,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0x2bc)])),_0x3ea66b(0x2,_0xc44033['IMessageService']),_0x3ea66b(0x3,_0x593949[_0x36f281(0x380)]),_0x3ea66b(0x4,_0x593949[_0x36f281(0xe7)]),_0x3ea66b(0x5,_0x2d8f92)],_0x4238fe[_0x36f281(0x370)]);for(var _0x5e0049=[],_0x5ada10=0x0;_0x5ada10<0x100;++_0x5ada10)_0x5e0049['push']((_0x5ada10+0x100)[_0x36f281(0x13d)](0x10)['slice'](0x1));function _0x47f13c(_0x4945e4,_0x3c2e26=0x0){return(_0x5e0049[_0x4945e4[_0x3c2e26+0x0]]+_0x5e0049[_0x4945e4[_0x3c2e26+0x1]]+_0x5e0049[_0x4945e4[_0x3c2e26+0x2]]+_0x5e0049[_0x4945e4[_0x3c2e26+0x3]]+'-'+_0x5e0049[_0x4945e4[_0x3c2e26+0x4]]+_0x5e0049[_0x4945e4[_0x3c2e26+0x5]]+'-'+_0x5e0049[_0x4945e4[_0x3c2e26+0x6]]+_0x5e0049[_0x4945e4[_0x3c2e26+0x7]]+'-'+_0x5e0049[_0x4945e4[_0x3c2e26+0x8]]+_0x5e0049[_0x4945e4[_0x3c2e26+0x9]]+'-'+_0x5e0049[_0x4945e4[_0x3c2e26+0xa]]+_0x5e0049[_0x4945e4[_0x3c2e26+0xb]]+_0x5e0049[_0x4945e4[_0x3c2e26+0xc]]+_0x5e0049[_0x4945e4[_0x3c2e26+0xd]]+_0x5e0049[_0x4945e4[_0x3c2e26+0xe]]+_0x5e0049[_0x4945e4[_0x3c2e26+0xf]])['toLowerCase']();}var _0x3aef1e,_0xb6f1cc=new Uint8Array(0x10);function _0x40c750(){const _0x248cd9=_0x36f281;if(!_0x3aef1e&&(_0x3aef1e=typeof crypto<'u'&&crypto[_0x248cd9(0x3b9)]&&crypto[_0x248cd9(0x3b9)]['bind'](crypto),!_0x3aef1e))throw new Error(_0x248cd9(0x210));return _0x3aef1e(_0xb6f1cc);}var _0x5a3577=typeof crypto<'u'&&crypto[_0x36f281(0x32d)]&&crypto[_0x36f281(0x32d)][_0x36f281(0x107)](crypto);const _0x5eee52={'randomUUID':_0x5a3577};function _0x1b3228(_0x1626f2,_0x46939d,_0x26675c){const _0x4a3645=_0x36f281;if(_0x5eee52[_0x4a3645(0x32d)]&&!_0x46939d&&!_0x1626f2)return _0x5eee52[_0x4a3645(0x32d)]();_0x1626f2=_0x1626f2||{};var _0x432de1=_0x1626f2[_0x4a3645(0x4a7)]||(_0x1626f2[_0x4a3645(0x1a7)]||_0x40c750)();return _0x432de1[0x6]=_0x432de1[0x6]&0xf|0x40,_0x432de1[0x8]=_0x432de1[0x8]&0x3f|0x80,_0x47f13c(_0x432de1);}var _0x3157ab=Object[_0x36f281(0x49a)],_0x5067f6=Object[_0x36f281(0x381)],_0x20fb2f=(_0x519160,_0x4fd969,_0x474905,_0x4a89e1)=>{const _0x4063cf=_0x36f281;for(var _0x435f86=_0x4a89e1>0x1?void 0x0:_0x4a89e1?_0x5067f6(_0x4fd969,_0x474905):_0x4fd969,_0x5a0123=_0x519160[_0x4063cf(0x43f)]-0x1,_0x4d5ef0;_0x5a0123>=0x0;_0x5a0123--)(_0x4d5ef0=_0x519160[_0x5a0123])&&(_0x435f86=(_0x4a89e1?_0x4d5ef0(_0x4fd969,_0x474905,_0x435f86):_0x4d5ef0(_0x435f86))||_0x435f86);return _0x4a89e1&&_0x435f86&&_0x3157ab(_0x4fd969,_0x474905,_0x435f86),_0x435f86;},_0x462723=(_0x46e6ca,_0x4ff296)=>(_0x278daa,_0x23e988)=>_0x4ff296(_0x278daa,_0x23e988,_0x46e6ca);let _0x249d79=class{constructor(_0x4d9ff5,_0x10fe01,_0x492b17){const _0x211280=_0x36f281;this[_0x211280(0xf1)]=_0x4d9ff5,this[_0x211280(0x496)]=_0x10fe01,this['_renderManagerService']=_0x492b17;}[_0x36f281(0x3cf)](_0x19797a){const _0x358001=_0x36f281;this[_0x358001(0x392)](_0x19797a),this['_transformPreviousActiveRange'](_0x19797a);}[_0x36f281(0xe8)](_0x236d9d){const _0xdfab5b=_0x36f281,{unitID:_0x57a615}=_0x236d9d,_0x1b4895=this['_renderManagerService']['getRenderById'](_0x57a615)[_0xdfab5b(0x2f4)](_0x5c6469[_0xdfab5b(0x29b)]),{redoCache:_0x75e52d}=_0x1b4895[_0xdfab5b(0x145)]();if(_0x75e52d[_0xdfab5b(0x43f)]===0x0)return _0x236d9d;let _0x11449a=_0x593949[_0xdfab5b(0x205)][_0xdfab5b(0x117)](_0x236d9d['mutations'][0x0]);for(let _0x35e6c7=0x0;_0x35e6c7<_0x75e52d['length'];_0x35e6c7++){const _0x2c7133={'id':'doc.mutation.rich-text-editing','params':{..._0x75e52d[_0x35e6c7]}},_0x113c46=this[_0xdfab5b(0x496)][_0xdfab5b(0x18c)](_0x11449a,_0x2c7133,!0x1);if(_0x4968b4[_0xdfab5b(0x1e1)](_0x113c46))throw _0x113c46['error'];_0x11449a=_0x113c46[_0xdfab5b(0x2ca)];}return{..._0x593949[_0xdfab5b(0x205)][_0xdfab5b(0x117)](_0x236d9d),'mutations':[_0x11449a]};}[_0x36f281(0x392)](_0x1ccfc8){const _0x10c69f=_0x36f281,{unitID:_0x49ad82}=_0x1ccfc8,_0x43ba61=this[_0x10c69f(0x2aa)][_0x10c69f(0x203)](_0x49ad82)[_0x10c69f(0x2f4)](_0x5c6469['DocIMEInputManagerService']),{undoCache:_0x31e075,redoCache:_0x239b3c}=_0x43ba61[_0x10c69f(0x145)]();if(_0x31e075[_0x10c69f(0x43f)]===0x0||_0x239b3c[_0x10c69f(0x43f)]===0x0)return;const _0x1b5c7c=[],_0x41827d=[];let _0x43c244=_0x593949[_0x10c69f(0x205)][_0x10c69f(0x117)](_0x1ccfc8['mutations'][0x0]),_0x550a0b=_0x593949['Tools'][_0x10c69f(0x117)](_0x1ccfc8[_0x10c69f(0x152)][0x0]);for(let _0x16336b=_0x31e075[_0x10c69f(0x43f)]-0x1;_0x16336b>=0x0;_0x16336b--){const _0x4fe04e={'id':_0x10c69f(0x19d),'params':{..._0x31e075[_0x16336b]}},_0x4d0194={'id':'doc.mutation.rich-text-editing','params':{..._0x239b3c[_0x16336b]}},_0x108f84=this['_transformService'][_0x10c69f(0x18c)](_0x43c244,_0x4fe04e,!0x1),_0x17d5d4=this['_transformService'][_0x10c69f(0x18c)](_0x550a0b,_0x4d0194,!0x1);if(_0x4968b4['isTransformMutationFailure'](_0x108f84))throw _0x108f84[_0x10c69f(0x302)];if(_0x4968b4['isTransformMutationFailure'](_0x17d5d4))throw _0x17d5d4[_0x10c69f(0x302)];_0x1b5c7c[_0x10c69f(0x4c4)](_0x108f84['m2Prime'][_0x10c69f(0x2c8)]),_0x41827d[_0x10c69f(0x4c4)](_0x17d5d4['m2Prime'][_0x10c69f(0x2c8)]),_0x43c244=_0x108f84[_0x10c69f(0x2ca)],_0x550a0b=_0x17d5d4[_0x10c69f(0x2ca)];}_0x43ba61[_0x10c69f(0x404)]({'undoCache':_0x1b5c7c,'redoCache':_0x41827d});}['_transformPreviousActiveRange'](_0x11dccb){const _0x3c436f=_0x36f281,{unitID:_0x5a48bf}=_0x11dccb,_0x24716a=this[_0x3c436f(0x2aa)][_0x3c436f(0x203)](_0x5a48bf)['with'](_0x5c6469['DocIMEInputManagerService']),_0x1efde7=_0x24716a['getActiveRange']();if(_0x1efde7==null)return;const _0x2b9638=[{'id':_0x3c436f(0x19d),'params':{'unitId':_0x11dccb[_0x3c436f(0x2ba)],'actions':null,'textRanges':[_0x1efde7]}}],_0x5850a2=this[_0x3c436f(0x496)][_0x3c436f(0x310)](_0x11dccb,_0x2b9638);if(!_0x4968b4[_0x3c436f(0x3f3)](_0x5850a2))throw _0x5850a2[_0x3c436f(0x302)];const _0x4c198b=_0x5850a2[_0x3c436f(0xb3)][0x0][_0x3c436f(0x2c8)]['textRanges'];Array[_0x3c436f(0x10c)](_0x4c198b)&&_0x4c198b[_0x3c436f(0x43f)]&&_0x24716a[_0x3c436f(0xfb)](_0x4c198b[0x0]);}};_0x249d79=_0x20fb2f([_0x462723(0x0,_0x593949['Inject'](_0x593949['Injector'])),_0x462723(0x1,_0x4968b4[_0x36f281(0x415)]),_0x462723(0x2,_0xa07e34[_0x36f281(0x186)])],_0x249d79);var _0x37c40d=Object[_0x36f281(0x49a)],_0x1a9f3e=Object[_0x36f281(0x381)],_0x2b79f2=(_0x3f1d95,_0x47760a,_0xb4ddba,_0x2e8800)=>{const _0x1ddcc4=_0x36f281;for(var _0xb2c9c1=_0x2e8800>0x1?void 0x0:_0x2e8800?_0x1a9f3e(_0x47760a,_0xb4ddba):_0x47760a,_0xae5725=_0x3f1d95[_0x1ddcc4(0x43f)]-0x1,_0x5f5ca6;_0xae5725>=0x0;_0xae5725--)(_0x5f5ca6=_0x3f1d95[_0xae5725])&&(_0xb2c9c1=(_0x2e8800?_0x5f5ca6(_0x47760a,_0xb4ddba,_0xb2c9c1):_0x5f5ca6(_0xb2c9c1))||_0xb2c9c1);return _0x2e8800&&_0xb2c9c1&&_0x37c40d(_0x47760a,_0xb4ddba,_0xb2c9c1),_0xb2c9c1;},_0x4d845a=(_0x6bb76e,_0x5b2d03)=>(_0x4974ca,_0x448a19)=>_0x5b2d03(_0x4974ca,_0x448a19,_0x6bb76e);_0x4238fe[_0x36f281(0xd2)]=class extends _0x593949[_0x36f281(0x16a)]{constructor(_0x55d5e0,_0x1caa68,_0x26df50,_0x1e10bf,_0x5a75bf){const _0xfeb3fc=_0x36f281;super(),_0x3e0772(this,_0xfeb3fc(0x4ad),new Map()),_0x3e0772(this,'_saveTaskMap',new Map()),_0x3e0772(this,_0xfeb3fc(0x382),!0x1),(this[_0xfeb3fc(0xdd)]=_0x55d5e0,this['_localStorageService']=_0x1caa68,this[_0xfeb3fc(0x278)]=_0x26df50,this[_0xfeb3fc(0x36f)]=_0x1e10bf,this['_revisionService']=_0x5a75bf,this[_0xfeb3fc(0x461)]());}['disableLocalCache'](){const _0x5ed23e=_0x36f281;this[_0x5ed23e(0x382)]=!0x0;}[_0x36f281(0x255)](){const _0x695b02=_0x36f281;this[_0x695b02(0x382)]=!0x1;}['dispose'](){const _0x4dc051=_0x36f281;this[_0x4dc051(0x379)]()['then'](()=>super[_0x4dc051(0x1e6)]());}async['loadOfflineData'](_0x4288cd){const _0x2af859=_0x36f281;return this[_0x2af859(0x382)]?null:this[_0x2af859(0x319)][_0x2af859(0x324)](_0x20ff64(_0x4288cd));}async[_0x36f281(0x3a4)](_0x244506,_0xf3e9d1){const _0x529f0a=_0x36f281;return!!this[_0x529f0a(0x319)][_0x529f0a(0x443)](_0x244506,_0xf3e9d1);}['updateOfflineData'](_0x3ce7fc,_0x2d8210,_0x1d177,_0x48eb39){const _0x3b67d4=_0x36f281,_0x49e322=this[_0x3b67d4(0x237)]['getCurrentRevOfUnit'](_0x3ce7fc);this[_0x3b67d4(0x4ad)][_0x3b67d4(0x2bd)](_0x3ce7fc,{'unitID':_0x3ce7fc,'type':_0x2d8210,'awaitingChangeset':_0x1d177,'mutations':_0x48eb39,'rev':_0x49e322}),this[_0x3b67d4(0x162)]['has'](_0x3ce7fc)||this[_0x3b67d4(0x101)](_0x3ce7fc);}[_0x36f281(0x101)](_0x26954e){const _0x16557d=_0x36f281,_0x830fbe=this[_0x16557d(0x424)]();_0x830fbe===0x0?this[_0x16557d(0x4a4)](_0x26954e):this['_saveTaskMap'][_0x16557d(0x2bd)](_0x26954e,setTimeout(()=>this[_0x16557d(0x4a4)](_0x26954e),_0x830fbe));}['_getSaveTimeout'](){const _0x29ff7f=_0x36f281;var _0x5b80fa;return(_0x5b80fa=this['_configService'][_0x29ff7f(0x3bd)](_0x443bb))!=null?_0x5b80fa:0x3e8;}[_0x36f281(0x4a4)](_0x1eb8b3){const _0x5499b4=_0x36f281,_0x15e72e=this[_0x5499b4(0x162)][_0x5499b4(0x14e)](_0x1eb8b3);return _0x15e72e!==void 0x0&&window[_0x5499b4(0x3e3)](_0x15e72e),this['_localStorageService']['setItem'](_0x20ff64(_0x1eb8b3),this[_0x5499b4(0x4ad)][_0x5499b4(0x14e)](_0x1eb8b3))['then'](()=>this[_0x5499b4(0x162)][_0x5499b4(0x393)](_0x1eb8b3));}async[_0x36f281(0x379)](){const _0x251e0b=_0x36f281,_0x5e45ac=[];this['_saveTaskMap'][_0x251e0b(0x2a0)]((_0x4d24b3,_0x3095ec)=>{const _0x41badd=_0x251e0b;window[_0x41badd(0x3e3)](_0x4d24b3),_0x5e45ac[_0x41badd(0x43c)](this[_0x41badd(0x4a4)](_0x3095ec)[_0x41badd(0x372)](()=>{const _0x12dd9c=_0x41badd;this[_0x12dd9c(0x162)][_0x12dd9c(0x393)](_0x3095ec);}));}),await Promise[_0x251e0b(0x474)](_0x5e45ac);}[_0x36f281(0x461)](){const _0xd66237=_0x36f281;this[_0xd66237(0x196)](this[_0xd66237(0x278)][_0xd66237(0x31b)](()=>{const _0x29454f=_0xd66237;if(this['_saveTaskMap'][_0x29454f(0x4a3)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}},_0x4238fe[_0x36f281(0xd2)]=_0x2b79f2([_0x4d845a(0x0,_0x593949[_0x36f281(0xe7)]),_0x4d845a(0x1,_0x593949[_0x36f281(0xe0)]),_0x4d845a(0x2,_0xc44033[_0x36f281(0x2f2)]),_0x4d845a(0x3,_0x593949[_0x36f281(0xb9)](_0x593949['LocaleService'])),_0x4d845a(0x4,_0x593949[_0x36f281(0xb9)](_0x4968b4[_0x36f281(0xe5)]))],_0x4238fe[_0x36f281(0xd2)]);function _0x20ff64(_0x47dd39){const _0x284ea2=_0x36f281;return _0x284ea2(0x401)+_0x47dd39;}var _0xbda6ec=Object['defineProperty'],_0x3b08e0=Object[_0x36f281(0x381)],_0x439222=(_0x313d9b,_0x2c4d82,_0x409d5a,_0x49b629)=>{const _0x3b7c21=_0x36f281;for(var _0x247215=_0x49b629>0x1?void 0x0:_0x49b629?_0x3b08e0(_0x2c4d82,_0x409d5a):_0x2c4d82,_0x41d22e=_0x313d9b[_0x3b7c21(0x43f)]-0x1,_0x3c1c8f;_0x41d22e>=0x0;_0x41d22e--)(_0x3c1c8f=_0x313d9b[_0x41d22e])&&(_0x247215=(_0x49b629?_0x3c1c8f(_0x2c4d82,_0x409d5a,_0x247215):_0x3c1c8f(_0x247215))||_0x247215);return _0x49b629&&_0x247215&&_0xbda6ec(_0x2c4d82,_0x409d5a,_0x247215),_0x247215;},_0x501656=(_0x38b95b,_0x31bc85)=>(_0x42b124,_0x4cc18b)=>_0x31bc85(_0x42b124,_0x4cc18b,_0x38b95b);function _0x19f63f(_0x388d7d){const _0x3b0858=_0x36f281,{unitID:_0x1274f2,mutations:_0x281e6d}=_0x388d7d;return{'unitId':_0x1274f2,'subUnitId':_0x281e6d[0x0][_0x3b0858(0x2c8)]['subUnitId']};}let _0x29a18f=class{constructor(_0xea8e3,_0x5cf779,_0x456a43){const _0x1194be=_0x36f281;this[_0x1194be(0xf1)]=_0xea8e3,this[_0x1194be(0x496)]=_0x5cf779,this[_0x1194be(0x228)]=_0x456a43;}[_0x36f281(0x28f)](_0x10f299){const _0x5935df=_0x36f281;var _0x4916d6,_0x45ecce,_0x49eec0,_0x706554;const _0x237812=this[_0x5935df(0xf1)][_0x5935df(0x14e)](_0xec6805['SheetsSelectionsService']),{unitId:_0x5e622f,subUnitId:_0x3266a4}=_0x19f63f(_0x10f299),_0x20853a=_0x237812[_0x5935df(0x3c9)](_0x5e622f)[_0x5935df(0x463)](),_0x4d90f9=(_0x45ecce=(_0x4916d6=this['_instanceService']['getUnit'](_0x5e622f))==null?void 0x0:_0x4916d6[_0x5935df(0x49b)]())==null?void 0x0:_0x45ecce[_0x5935df(0x353)]();if(_0x20853a[_0x5935df(0x43f)]===0x0||!_0x5e622f||!_0x3266a4)return;const _0x22b246=[{'id':_0xec6805[_0x5935df(0x195)]['id'],'params':{'unitId':_0x5e622f,'subUnitId':_0x4d90f9,'selections':_0x593949['Tools'][_0x5935df(0x117)](_0x20853a)}}],_0x1ca94b=this[_0x5935df(0x496)][_0x5935df(0x310)](_0x10f299,_0x22b246);if(!_0x4968b4[_0x5935df(0x3f3)](_0x1ca94b))throw _0x1ca94b[_0x5935df(0x302)];const _0x52ef73=(_0x706554=(_0x49eec0=_0x1ca94b[_0x5935df(0xb3)][0x0])==null?void 0x0:_0x49eec0[_0x5935df(0x2c8)])==null?void 0x0:_0x706554[_0x5935df(0x10f)];if(Array[_0x5935df(0x10c)](_0x52ef73)&&_0x52ef73[_0x5935df(0x43f)]){if(_0x52ef73[_0x5935df(0x43f)]===_0x22b246[0x0]['params'][_0x5935df(0x10f)][_0x5935df(0x43f)]&&_0x52ef73[_0x5935df(0x2d1)]((_0x5ec9c0,_0x278442)=>_0x593949[_0x5935df(0xb7)][_0x5935df(0x4bb)](_0x5ec9c0[_0x5935df(0x4d8)],_0x22b246[0x0]['params']['selections'][_0x278442][_0x5935df(0x4d8)])))return;this['_injector'][_0x5935df(0x14e)](_0x593949[_0x5935df(0x38d)])[_0x5935df(0x420)](_0xec6805[_0x5935df(0x195)]['id'],{'unitId':_0x5e622f,'subUnitId':_0x4d90f9,'selections':_0x52ef73});}}};_0x29a18f=_0x439222([_0x501656(0x0,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x501656(0x1,_0x4968b4[_0x36f281(0x415)]),_0x501656(0x2,_0x593949[_0x36f281(0x1dc)])],_0x29a18f);const _0x34b236=_0x593949['createIdentifier'](_0x36f281(0x137));var _0x3e0c16=(_0x43962a=>(_0x43962a[_0x43962a[_0x36f281(0x178)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x43962a[_0x43962a[_0x36f281(0x4c2)]=0x1]=_0x36f281(0x4c2),_0x43962a))(_0x3e0c16||{});const _0x2c0f60=0x7530,_0x535abf='ACTIVE_UNIT_EVENT_CHANNEL';class _0x34a490 extends _0x593949[_0x36f281(0x16a)]{constructor(){const _0x5da2f5=_0x36f281;super(),_0x3e0772(this,_0x5da2f5(0xde),_0x593949['Tools'][_0x5da2f5(0x433)]()),_0x3e0772(this,_0x5da2f5(0x309),new Set()),_0x3e0772(this,_0x5da2f5(0x2a9),new Map()),_0x3e0772(this,_0x5da2f5(0x3c6),null),_0x3e0772(this,_0x5da2f5(0x35c),new Map()),_0x3e0772(this,_0x5da2f5(0x33a),new Map()),this[_0x5da2f5(0x3b6)]();}[_0x36f281(0x1e6)](){const _0x2c791a=_0x36f281;super[_0x2c791a(0x1e6)](),this[_0x2c791a(0x35c)][_0x2c791a(0x2a0)]((_0x3ae17b,_0x5ccf6e)=>this[_0x2c791a(0x389)](_0x5ccf6e)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x2c791a(0x3c6)]);}[_0x36f281(0xd9)](_0x41db91){const _0x410874=_0x36f281;return this[_0x410874(0x402)](_0x41db91)['pipe'](_0x30c949[_0x410874(0x408)]());}[_0x36f281(0x32a)](_0x2c5760){const _0x22ccf4=_0x36f281;this[_0x22ccf4(0x309)][_0x22ccf4(0x4a3)]===0x0&&this[_0x22ccf4(0x352)](),this[_0x22ccf4(0x309)][_0x22ccf4(0xf6)](_0x2c5760),this[_0x22ccf4(0x4de)]({'type':0x0,'memberID':this[_0x22ccf4(0xde)],'unitIDs':[_0x2c5760],'isForwarded':!0x1});}[_0x36f281(0x307)](_0x51c2ec){const _0x42aec8=_0x36f281;this[_0x42aec8(0x309)][_0x42aec8(0x393)](_0x51c2ec),this[_0x42aec8(0x309)]['size']===0x0&&this[_0x42aec8(0x3c6)]&&window[_0x42aec8(0x3a9)](this[_0x42aec8(0x3c6)]);}[_0x36f281(0x3b6)](){const _0x4a3376=_0x36f281;this[_0x4a3376(0x196)](_0x593949[_0x4a3376(0x2b4)](_0x30c949[_0x4a3376(0x29c)](window,_0x4a3376(0x198))[_0x4a3376(0x188)](_0x52903e=>{const _0x140e63=_0x4a3376;if(_0x52903e[_0x140e63(0x1ad)]!==_0x535abf||!_0x52903e[_0x140e63(0x134)])return;const _0x408231=JSON['parse'](_0x52903e[_0x140e63(0x134)]);this[_0x140e63(0x3d5)](_0x408231);}))),window[_0x4a3376(0x383)](_0x4a3376(0x169),()=>this['_send']({'type':0x1,'memberID':this[_0x4a3376(0xde)],'unitIDs':Array[_0x4a3376(0x49d)](this[_0x4a3376(0x309)])}));}['_handleEvent'](_0x53f877){const _0x52af9c=_0x36f281;switch(_0x53f877[_0x52af9c(0x17b)]){case 0x0:this[_0x52af9c(0x2c6)](_0x53f877);break;case 0x1:this[_0x52af9c(0x321)](_0x53f877);break;case 0x2:this['_handleHeartbeatEvent'](_0x53f877);break;}}[_0x36f281(0x2c6)](_0x507f7c){const _0x5470f1=_0x36f281,{unitIDs:_0x1b5bac,memberID:_0x7a6c37,isForwarded:_0x16de66}=_0x507f7c;_0x1b5bac[_0x5470f1(0x2a0)](_0x424607=>{const _0x1e73b7=_0x5470f1;if(!_0x16de66&&this['_unitOnClients']['has'](_0x424607)&&this[_0x1e73b7(0x402)](_0x424607)[_0x1e73b7(0x4e6)](0x1),!this['_unitOnClients']['has'](_0x424607)||!this[_0x1e73b7(0x2a9)][_0x1e73b7(0x14e)](_0x424607)['has'](_0x7a6c37)){const _0xd5aa7b=this[_0x1e73b7(0x2a9)][_0x1e73b7(0x14e)](_0x424607)||new Set();_0xd5aa7b[_0x1e73b7(0xf6)](_0x7a6c37),this[_0x1e73b7(0x2a9)]['set'](_0x424607,_0xd5aa7b),this['_scheduleClearOtherTimer'](_0x7a6c37);}}),_0x16de66||this['_send']({'type':0x0,'memberID':this[_0x5470f1(0xde)],'unitIDs':[...this[_0x5470f1(0x309)]],'isForwarded':!0x0});}[_0x36f281(0xe4)](_0x35c573){const _0x4c8056=_0x36f281;this[_0x4c8056(0x389)](_0x35c573);const _0x3275da=window[_0x4c8056(0x112)](()=>{const _0x2eec7f=_0x4c8056;this[_0x2eec7f(0x2a9)]['forEach'](_0x4b016e=>{const _0x5660e2=_0x2eec7f;_0x4b016e[_0x5660e2(0x393)](_0x35c573);});},_0x2c0f60*0x2);this[_0x4c8056(0x35c)][_0x4c8056(0x2bd)](_0x35c573,_0x3275da);}[_0x36f281(0x389)](_0xefe167){const _0x3d13e8=_0x36f281;if(this[_0x3d13e8(0x35c)]['has'](_0xefe167)){const _0x3f1f96=this['_clearOtherTimers']['get'](_0xefe167);_0x3f1f96&&window[_0x3d13e8(0x3e3)](_0x3f1f96),this[_0x3d13e8(0x35c)][_0x3d13e8(0x2bd)](_0xefe167,null);}}[_0x36f281(0x321)](_0x4e3feb){const _0x352f81=_0x36f281,{memberID:_0x8405cb,unitIDs:_0x3b9781}=_0x4e3feb;_0x3b9781[_0x352f81(0x2a0)](_0x1f34e3=>{const _0x53ca0d=_0x352f81;var _0xb145bc;const _0x164297=this[_0x53ca0d(0x2a9)][_0x53ca0d(0x14e)](_0x1f34e3);_0x164297&&(_0x164297[_0x53ca0d(0x393)](_0x8405cb),(_0xb145bc=this['_ensureSubject'](_0x1f34e3))==null||_0xb145bc['next'](_0x164297['size']===0x0?0x0:0x1));}),this[_0x352f81(0x389)](_0x8405cb);}[_0x36f281(0x3da)](_0x4247c7){const _0x293ec7=_0x36f281;this['_scheduleClearOtherTimer'](_0x4247c7[_0x293ec7(0x4bf)]);}[_0x36f281(0x4de)](_0x26b5b1){const _0x1e9f3e=_0x36f281;localStorage[_0x1e9f3e(0x443)](_0x535abf,JSON[_0x1e9f3e(0xc1)](_0x26b5b1));}[_0x36f281(0x352)](){const _0x4b468c=_0x36f281;this[_0x4b468c(0x3c6)]=window[_0x4b468c(0x1ba)](()=>{const _0x554923=_0x4b468c;this['_send']({'type':0x2,'memberID':this[_0x554923(0xde)]});},_0x2c0f60);}[_0x36f281(0x402)](_0x59e518){const _0x123afb=_0x36f281;return this[_0x123afb(0x33a)]['has'](_0x59e518)||this[_0x123afb(0x33a)][_0x123afb(0x2bd)](_0x59e518,new _0x30c949[(_0x123afb(0x2f9))](0x0)),this[_0x123afb(0x33a)][_0x123afb(0x14e)](_0x59e518);}}function _0x2cec55(_0x1fcc0d){const _0xa034ca=_0x36f281;let _0x3b7600='';for(const _0x479228 of _0x1fcc0d){const {startOffset:_0x2e6bf9,endOffset:_0x327d5d,isActive:_0x5eb202}=_0x479228;_0x3b7600[_0xa034ca(0x43f)]&&(_0x3b7600+=','),_0x3b7600+=_0x2e6bf9+':'+_0x327d5d+':'+(_0x5eb202?'1':'0');}return _0x3b7600;}function _0x36aa49(_0x47bee1){const _0x43802a=_0x36f281,_0x573ec0=_0x47bee1['split'](','),_0x5258e8=[];for(const _0x160ded of _0x573ec0){const [_0x530506,_0x4f0a69,_0x5d4ba7]=_0x160ded[_0x43802a(0x47f)](':');_0x5258e8['push']({'startOffset':Number(_0x530506),'endOffset':Number(_0x4f0a69),'collapsed':_0x530506===_0x4f0a69,'isActive':_0x5d4ba7==='1'});}return _0x5258e8['some'](_0x282c54=>_0x282c54['isActive'])||(_0x5258e8[0x0][_0x43802a(0x2ae)]=!0x0),_0x5258e8;}class _0x337544 extends _0x593949[_0x36f281(0x130)]{constructor(){const _0x5021c6=_0x36f281;super(...arguments),_0x3e0772(this,_0x5021c6(0xb8),new _0x30c949[(_0x5021c6(0x2f9))](null)),_0x3e0772(this,_0x5021c6(0x283),this[_0x5021c6(0xb8)][_0x5021c6(0x13a)]());}[_0x36f281(0x4c6)](_0x20a898){const _0x358bb0=_0x36f281,{unitID:_0x2c11c1,memberID:_0x5691c6,textRanges:_0x537c13}=_0x20a898,_0x4fa47e=_0x2cec55(_0x537c13),_0x4ad810={'unitID':_0x2c11c1,'memberID':_0x5691c6,'selection':_0x4fa47e};this[_0x358bb0(0xb8)]['next'](_0x4ad810);}}var _0x3ecdc3=Object[_0x36f281(0x49a)],_0x4c1073=Object[_0x36f281(0x381)],_0x216986=(_0x15c6bb,_0xc99e77,_0x3fc2ec,_0x748638)=>{const _0x46e0ac=_0x36f281;for(var _0x5dfc20=_0x748638>0x1?void 0x0:_0x748638?_0x4c1073(_0xc99e77,_0x3fc2ec):_0xc99e77,_0x445051=_0x15c6bb[_0x46e0ac(0x43f)]-0x1,_0x8bed;_0x445051>=0x0;_0x445051--)(_0x8bed=_0x15c6bb[_0x445051])&&(_0x5dfc20=(_0x748638?_0x8bed(_0xc99e77,_0x3fc2ec,_0x5dfc20):_0x8bed(_0x5dfc20))||_0x5dfc20);return _0x748638&&_0x5dfc20&&_0x3ecdc3(_0xc99e77,_0x3fc2ec,_0x5dfc20),_0x5dfc20;},_0x3c4d8e=(_0x4815dd,_0x575ea9)=>(_0x5c390a,_0x60d294)=>_0x575ea9(_0x5c390a,_0x60d294,_0x4815dd);let _0x2ffd8e=class{constructor(_0x4d4ae1,_0x32b2ab){const _0x5ad6f4=_0x36f281;this[_0x5ad6f4(0xf1)]=_0x4d4ae1,this[_0x5ad6f4(0x496)]=_0x32b2ab;}[_0x36f281(0x28f)](_0x19461a){const _0x5560c0=_0x36f281;var _0x53103b;const _0x312f39=this[_0x5560c0(0xf1)][_0x5560c0(0x14e)](_0x4aa7be['DocSelectionManagerService']),_0x541d1b=(_0x53103b=_0x312f39[_0x5560c0(0x384)]())!=null?_0x53103b:[];if(_0x541d1b[_0x5560c0(0x43f)]===0x0)return;const _0x4d9b33=[{'id':_0x5560c0(0x19d),'params':{'unitId':_0x19461a[_0x5560c0(0x2ba)],'actions':null,'textRanges':_0x541d1b}}],_0x59d9c5=this['_transformService'][_0x5560c0(0x310)](_0x19461a,_0x4d9b33);if(!_0x4968b4[_0x5560c0(0x3f3)](_0x59d9c5))throw _0x59d9c5[_0x5560c0(0x302)];const _0x25ff06=_0x59d9c5[_0x5560c0(0xb3)][0x0][_0x5560c0(0x2c8)][_0x5560c0(0x4cb)];Array[_0x5560c0(0x10c)](_0x25ff06)&&_0x25ff06['length']&&_0x312f39[_0x5560c0(0x1ca)](_0x25ff06,!0x1);}};_0x2ffd8e=_0x216986([_0x3c4d8e(0x0,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x3c4d8e(0x1,_0x4968b4['ITransformService'])],_0x2ffd8e);const _0x40b5ae=new Set([_0xec6805[_0x36f281(0xd5)]['id']]);function _0x36aad1(_0x518f1b,_0x61569f,_0x168704,_0x338706,_0x57f936){const _0x52ce42=_0x36f281;var _0x18a5ec,_0x356d9c,_0x5825c8,_0x1e14a7;const _0x46f11f=[];for(const _0x52461b of _0x518f1b)if(_0x40b5ae[_0x52ce42(0x1f2)](_0x52461b['id'])){if(_0x46f11f[_0x52ce42(0x43f)]>0x0)break;_0x46f11f[_0x52ce42(0x43c)](_0x52461b);break;}else _0x46f11f[_0x52ce42(0x43c)](_0x52461b);const _0x22a6cb=(_0x356d9c=(_0x18a5ec=_0x57f936['getCurrentUser']())==null?void 0x0:_0x18a5ec['userID'])!=null?_0x356d9c:'unknown',_0x2917f4=(_0x1e14a7=(_0x5825c8=_0x57f936[_0x52ce42(0x333)]())==null?void 0x0:_0x5825c8[_0x52ce42(0x4bf)])!=null?_0x1e14a7:_0x52ce42(0x2ac);return{'changeset':{'unitID':_0x61569f,'type':_0x4968b4['mapDocumentTypeToUniverType'](_0x168704[_0x52ce42(0x36a)](_0x61569f)),'baseRev':_0x338706[_0x52ce42(0x1fb)](_0x61569f),'revision':0x0,'userID':_0x22a6cb,'memberID':_0x2917f4,'mutations':_0x46f11f},'pendingMutations':_0x518f1b['slice'](_0x46f11f[_0x52ce42(0x43f)])};}function _0xeb2f45(_0x5a77ad,_0x25d1a2,_0x2c0293,_0x87eef7,_0x236bf9){const _0x733102=_0x36f281;var _0x5c7a85,_0x1e1ea5,_0x4d9dc8,_0xcfbc2;const _0x1495ac=[_0x5a77ad[_0x733102(0x362)]((_0x440081,_0x2156b4)=>{const _0x22bf1b=_0x733102;var _0x258b01;const {id:_0x155d3a}=_0x440081,{id:_0x27e62e,type:_0x270d79}=_0x2156b4,_0x2b9adb=(_0x258b01=_0x440081[_0x22bf1b(0x2c8)])!=null?_0x258b01:{'actions':null},_0x6f9fb8=_0x2156b4['params'];if(_0x155d3a&&_0x155d3a!==_0x27e62e)throw new Error(_0x22bf1b(0x204)+_0x155d3a+_0x22bf1b(0x49f)+_0x27e62e+'.');return{..._0x440081,'id':_0x27e62e,'type':_0x270d79,'params':{'unitId':_0x6f9fb8[_0x22bf1b(0x315)],'textRanges':_0x6f9fb8[_0x22bf1b(0x4cb)],'actions':_0x593949[_0x22bf1b(0x499)][_0x22bf1b(0x28a)](_0x2b9adb[_0x22bf1b(0x3b0)],_0x6f9fb8[_0x22bf1b(0x3b0)])}};},{})],_0x445a8d=(_0x1e1ea5=(_0x5c7a85=_0x236bf9['getCurrentUser']())==null?void 0x0:_0x5c7a85['userID'])!=null?_0x1e1ea5:_0x733102(0x2ac),_0x16a734=(_0xcfbc2=(_0x4d9dc8=_0x236bf9[_0x733102(0x333)]())==null?void 0x0:_0x4d9dc8[_0x733102(0x4bf)])!=null?_0xcfbc2:'unknown';return{'changeset':{'unitID':_0x25d1a2,'type':_0x4968b4['mapDocumentTypeToUniverType'](_0x2c0293[_0x733102(0x36a)](_0x25d1a2)),'baseRev':_0x87eef7['getCurrentRevOfUnit'](_0x25d1a2),'revision':0x0,'userID':_0x445a8d,'memberID':_0x16a734,'mutations':_0x1495ac},'pendingMutations':[]};}const _0xea11e5={'id':_0xec6805[_0x36f281(0xae)]['id'],'type':_0x593949[_0x36f281(0x3e6)][_0x36f281(0xf7)],'params':{}};var _0x594cc4=Object[_0x36f281(0x49a)],_0x5e41ff=Object[_0x36f281(0x381)],_0x1a64a2=(_0x94cb9e,_0x5b142e,_0x4d54af,_0x467c68)=>{const _0x39c437=_0x36f281;for(var _0x5768c6=_0x467c68>0x1?void 0x0:_0x467c68?_0x5e41ff(_0x5b142e,_0x4d54af):_0x5b142e,_0x5e5dd6=_0x94cb9e[_0x39c437(0x43f)]-0x1,_0x4cf395;_0x5e5dd6>=0x0;_0x5e5dd6--)(_0x4cf395=_0x94cb9e[_0x5e5dd6])&&(_0x5768c6=(_0x467c68?_0x4cf395(_0x5b142e,_0x4d54af,_0x5768c6):_0x4cf395(_0x5768c6))||_0x5768c6);return _0x467c68&&_0x5768c6&&_0x594cc4(_0x5b142e,_0x4d54af,_0x5768c6),_0x5768c6;},_0x418d5f=(_0xbd3e43,_0x4bd33d)=>(_0x4d0bbe,_0x25c70e)=>_0x4bd33d(_0x4d0bbe,_0x25c70e,_0xbd3e43),_0x2d65dc=(_0x3cbbd2=>(_0x3cbbd2['NOT_COLLAB']=_0x36f281(0x4a9),_0x3cbbd2['SYNCED']=_0x36f281(0x418),_0x3cbbd2[_0x36f281(0x498)]='pending',_0x3cbbd2['AWAITING']='awaiting',_0x3cbbd2['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x3cbbd2[_0x36f281(0x3a1)]=_0x36f281(0xc5),_0x3cbbd2[_0x36f281(0x43a)]='conflict',_0x3cbbd2[_0x36f281(0x4eb)]=_0x36f281(0x322),_0x3cbbd2))(_0x2d65dc||{});class _0x3595bc{constructor(_0x11a4b9,_0x55ade5,_0x4464b3,_0x4082d3,_0x156e93,_0x155c84,_0x3aa855,_0x362f49,_0xf8ac74){const _0x3c08b6=_0x36f281;_0x3e0772(this,'_awaitingChangeset',null),_0x3e0772(this,_0x3c08b6(0x289),[]),(this[_0x3c08b6(0x2ba)]=_0x11a4b9,this[_0x3c08b6(0x17b)]=_0x55ade5,this['_handler']=_0x156e93,this[_0x3c08b6(0x265)]=_0x155c84,this[_0x3c08b6(0x407)]=_0x3aa855,this[_0x3c08b6(0x237)]=_0x362f49,this[_0x3c08b6(0xfc)]=_0xf8ac74,this[_0x3c08b6(0x446)]=_0x4464b3,this[_0x3c08b6(0x289)]=_0x4082d3);}['_checkMissing'](_0x499097){const _0x27ecad=_0x36f281,_0xe7ccdb=this[_0x27ecad(0x237)][_0x27ecad(0x1fb)](this[_0x27ecad(0x2ba)]);return _0x499097[_0x27ecad(0x320)]>_0xe7ccdb+0x1?(this[_0x27ecad(0x473)][_0x27ecad(0x3ad)]({'from':_0xe7ccdb,'to':_0x499097[_0x27ecad(0x320)]-0x1}),!0x0):!0x1;}[_0x36f281(0x240)](_0x3c921a){const _0x1f8abf=_0x36f281;this['_undoRedoService'][_0x1f8abf(0x194)](this[_0x1f8abf(0x2ba)],_0x3c921a);}[_0x36f281(0x48a)](_0x17390a){const _0x2e7a68=_0x36f281;var _0x5d9517,_0x154eb3;(_0x154eb3=(_0x5d9517=this[_0x2e7a68(0x473)])[_0x2e7a68(0xb1)])==null||_0x154eb3['call'](_0x5d9517,_0x17390a);}[_0x36f281(0x284)](_0x12fbc2){const _0x494ed2=_0x36f281;var _0x44ba26,_0x502ded;return(_0x502ded=(_0x44ba26=this[_0x494ed2(0x473)])[_0x494ed2(0x452)])==null?void 0x0:_0x502ded[_0x494ed2(0x2fa)](_0x44ba26,_0x12fbc2);}[_0x36f281(0x437)](_0x5306b9){const _0x3ee711=_0x36f281;var _0x5d4d66,_0x95e5d2,_0x1c0f1c;return(_0x1c0f1c=(_0x95e5d2=(_0x5d4d66=this[_0x3ee711(0x473)])[_0x3ee711(0x31c)])==null?void 0x0:_0x95e5d2[_0x3ee711(0x2fa)](_0x5d4d66,_0x5306b9))!=null?_0x1c0f1c:_0x5306b9;}[_0x36f281(0x480)](_0x175aac){const _0x2643d8=_0x36f281;var _0x1a1468,_0x224232;if(this[_0x2643d8(0x17b)]===_0x4775b3[_0x2643d8(0x4e1)]){const {unitID:_0x1aa9c8,mutations:_0x29b6f7,memberID:_0xc0003a}=_0x175aac,_0x7b4a8f=_0x29b6f7[0x0]['params'][_0x2643d8(0x4cb)];Array[_0x2643d8(0x10c)](_0x7b4a8f)&&_0x7b4a8f['length']>0x0&&((_0x224232=(_0x1a1468=this['_handler'])[_0x2643d8(0x1aa)])==null||_0x224232['call'](_0x1a1468,{'unitID':_0x1aa9c8,'memberID':_0xc0003a,'textRanges':_0x7b4a8f}));}}[_0x36f281(0x374)](){const _0xe831f8=_0x36f281;this[_0xe831f8(0xfc)]['updateOfflineData'](this['unitID'],this['type'],this[_0xe831f8(0x446)],this['_pendingMutations']);}[_0x36f281(0x2ce)](){const _0x2468ef=_0x36f281;return this['_revisionService'][_0x2468ef(0x1fb)](this[_0x2468ef(0x2ba)]);}[_0x36f281(0x2cf)](){const _0x342ddc=_0x36f281;this[_0x342ddc(0x237)][_0x342ddc(0xd1)](this['unitID']);}[_0x36f281(0x3de)](_0x45f862){const _0x34d139=_0x36f281;var _0x4160e2;const _0x2fe95e=this[_0x34d139(0x437)](_0x45f862),_0x163e9e=_0x593949[_0x34d139(0x190)](_0x2fe95e['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x163e9e[_0x34d139(0xbb)])throw _0x163e9e['error']instanceof Error?_0x163e9e[_0x34d139(0x302)]:new Error((_0x4160e2=_0x163e9e[_0x34d139(0x302)])!=null?_0x4160e2:'[CollaborationState]:\x20apply\x20error!');this[_0x34d139(0x284)](_0x2fe95e),this[_0x34d139(0x240)](_0x45f862),this[_0x34d139(0x48a)](_0x2fe95e),this[_0x34d139(0x480)](_0x2fe95e),this[_0x34d139(0x2cf)]();}}let _0x333ccd=class extends _0x3595bc{constructor(_0x25a245,_0xd47142,_0x456452,_0x121c50,_0x33d6d4,_0x1e9a28,_0x55bc33,_0x7156a5,_0x2ebc54,_0x33bfb9){const _0x10a57a=_0x36f281;super(_0x25a245,_0xd47142,null,[],_0x456452,_0x7156a5,_0x55bc33,_0x121c50,_0x33d6d4),_0x3e0772(this,'status',_0x10a57a(0x418)),(this[_0x10a57a(0xf1)]=_0x1e9a28,this['_logService']=_0x2ebc54,this[_0x10a57a(0x496)]=_0x33bfb9);}[_0x36f281(0xca)](_0x2584d7){const _0x384ef1=_0x36f281,_0x50c7f6=this[_0x384ef1(0xf1)]['createInstance'](_0x5f011e,this['unitID'],this[_0x384ef1(0x17b)],[_0x2584d7],this[_0x384ef1(0x473)]);return _0x50c7f6[_0x384ef1(0x478)](),_0x50c7f6['_updateLocalCache'](),_0x50c7f6;}[_0x36f281(0x271)](_0x3f7a97){const _0x35d5e5=_0x36f281;if(this[_0x35d5e5(0x313)](_0x3f7a97))return this['_injector'][_0x35d5e5(0xb4)](_0x486ba5,this[_0x35d5e5(0x2ba)],this[_0x35d5e5(0x17b)],null,[],null,[_0x3f7a97],this['_handler']);try{const _0x333569=this[_0x35d5e5(0x496)][_0x35d5e5(0x310)](_0x3f7a97,[_0xea11e5]);if(_0x4968b4['isTransformMutationsWithChangesetSuccess'](_0x333569)){const {c1Prime:_0x1c9ff5}=_0x333569;return this[_0x35d5e5(0x3de)](_0x1c9ff5),this;}throw _0x333569[_0x35d5e5(0x302)];}catch(_0x5eb085){return this['_logService'][_0x35d5e5(0x302)](_0x5eb085),this['_onConflict'](!0x1);}}[_0x36f281(0x343)](_0x4caf6b){const _0x170deb=_0x36f281;return this['_injector'][_0x170deb(0xb4)](_0x24fcd1,this[_0x170deb(0x2ba)],this[_0x170deb(0x17b)],null,[],this[_0x170deb(0x473)],_0x4caf6b);}['onRemoteAck'](){const _0x10eb0d=_0x36f281;throw new Error(_0x10eb0d(0x15f));}[_0x36f281(0x143)](){const _0x472319=_0x36f281;throw new Error(_0x472319(0xab));}[_0x36f281(0x40b)](){const _0x595b41=_0x36f281;return this[_0x595b41(0xf1)][_0x595b41(0xb4)](_0x4519aa,this[_0x595b41(0x2ba)],this[_0x595b41(0x17b)],null,[],this['_handler']);}[_0x36f281(0x400)](){return this;}[_0x36f281(0x39c)](){const _0x236037=_0x36f281;throw new Error(_0x236037(0x115));}[_0x36f281(0x492)](){const _0x4501f2=_0x36f281,_0x52dfa2=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return this[_0x4501f2(0x473)][_0x4501f2(0x3ad)]({'from':_0x52dfa2,'to':0x0}),this[_0x4501f2(0xf1)][_0x4501f2(0xb4)](_0x486ba5,this[_0x4501f2(0x2ba)],this[_0x4501f2(0x17b)],null,[],null,[],this['_handler']);}};_0x333ccd=_0x1a64a2([_0x418d5f(0x3,_0x593949[_0x36f281(0xb9)](_0x4968b4[_0x36f281(0xe5)])),_0x418d5f(0x4,_0x593949['Inject'](_0x4238fe['LocalCacheService'])),_0x418d5f(0x5,_0x593949[_0x36f281(0xb9)](_0x593949['Injector'])),_0x418d5f(0x6,_0x593949[_0x36f281(0x3d1)]),_0x418d5f(0x7,_0x593949[_0x36f281(0x38d)]),_0x418d5f(0x8,_0x593949[_0x36f281(0x380)]),_0x418d5f(0x9,_0x4968b4[_0x36f281(0x415)])],_0x333ccd);let _0x5f011e=class extends _0x3595bc{constructor(_0x2e9d75,_0x9c2b0d,_0x377eac,_0x340ee5,_0x404305,_0x380968,_0x31d643,_0xdb9e77,_0x844249,_0x4e2ca6,_0x2f2a3a,_0x199268,_0x5df6de,_0x4f42de){const _0x2058ef=_0x36f281;super(_0x2e9d75,_0x9c2b0d,null,_0x377eac,_0x340ee5,_0x4e2ca6,_0x4f42de,_0x380968,_0x31d643),_0x3e0772(this,_0x2058ef(0x339),_0x2058ef(0x3ef)),_0x3e0772(this,_0x2058ef(0x215),null),_0x3e0772(this,_0x2058ef(0x22f),null),(this[_0x2058ef(0xf1)]=_0x404305,this['_memberService']=_0xdb9e77,this['_logService']=_0x844249,this[_0x2058ef(0xdd)]=_0x2f2a3a,this[_0x2058ef(0x496)]=_0x199268,this['_univerInstanceService']=_0x5df6de);}[_0x36f281(0xca)](_0x38102c){const _0x5ddeea=_0x36f281;return this['_pendingMutations'][_0x5ddeea(0x43c)](_0x38102c),this[_0x5ddeea(0x374)](),this;}['onRemoteChangeset'](_0x29c7c2){const _0x3068e8=_0x36f281;if(this[_0x3068e8(0x313)](_0x29c7c2))return this['_clearScheduledTask'](),this['_injector'][_0x3068e8(0xb4)](_0x486ba5,this[_0x3068e8(0x2ba)],this['type'],null,this[_0x3068e8(0x289)],null,[_0x29c7c2],this[_0x3068e8(0x473)]);try{const _0x91701a=this[_0x3068e8(0x496)][_0x3068e8(0x310)](_0x29c7c2,this[_0x3068e8(0x289)]);if(_0x4968b4[_0x3068e8(0x3f3)](_0x91701a)){const {c1Prime:_0x2d1287,m2Prime:_0x1f445e}=_0x91701a;this[_0x3068e8(0x3de)](_0x2d1287);const _0x4fdbc8=this[_0x3068e8(0xf1)][_0x3068e8(0xb4)](_0x5f011e,this[_0x3068e8(0x2ba)],this[_0x3068e8(0x17b)],_0x1f445e,this['_handler']);return this[_0x3068e8(0x46b)](),_0x4fdbc8[_0x3068e8(0x478)](this[_0x3068e8(0x215)]?Math[_0x3068e8(0x34b)](0x0,new Date()[_0x3068e8(0x3ac)]()-this[_0x3068e8(0x215)]):this[_0x3068e8(0x3b8)]()),_0x4fdbc8;}throw _0x91701a[_0x3068e8(0x302)];}catch(_0x303418){return this[_0x3068e8(0x3df)][_0x3068e8(0x302)](_0x303418),this['_onConflict'](!0x1);}}[_0x36f281(0x238)](){const _0x28dd51=_0x36f281;throw new Error(_0x28dd51(0x32f));}['onRemoteRej'](){const _0x7df85c=_0x36f281;throw new Error(_0x7df85c(0x3e1));}[_0x36f281(0x40b)](){const _0x825773=_0x36f281;return this[_0x825773(0x46b)](),this[_0x825773(0xf1)][_0x825773(0xb4)](_0x4519aa,this[_0x825773(0x2ba)],this[_0x825773(0x17b)],null,this[_0x825773(0x289)],this['_handler']);}['toggleOnline'](){return this;}[_0x36f281(0x478)](_0x3e577c){const _0x18a147=_0x36f281,_0x426214=_0x3e577c!=null?_0x3e577c:this[_0x18a147(0x3b8)]();this[_0x18a147(0x215)]=new Date()['getTime'](),this['_sendingTimer']=window['setTimeout'](()=>{const _0x5a820c=_0x18a147;this[_0x5a820c(0x46b)]();let _0x384dd1=null;switch(this['type']){case _0x4775b3[_0x5a820c(0x12e)]:{_0x384dd1=_0x36aad1(this[_0x5a820c(0x289)],this[_0x5a820c(0x2ba)],this[_0x5a820c(0x276)],this['_revisionService'],this[_0x5a820c(0x277)]);break;}case _0x4775b3[_0x5a820c(0x4e1)]:{this[_0x5a820c(0x289)][_0x5a820c(0x2d1)](_0xc95aa7=>_0xc95aa7['id']===_0x4aa7be[_0x5a820c(0x36e)]['id'])?_0x384dd1=_0xeb2f45(this[_0x5a820c(0x289)],this[_0x5a820c(0x2ba)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']):_0x384dd1=_0x36aad1(this[_0x5a820c(0x289)],this[_0x5a820c(0x2ba)],this[_0x5a820c(0x276)],this[_0x5a820c(0x237)],this[_0x5a820c(0x277)]);break;}default:throw new Error(_0x5a820c(0x2dd)+this[_0x5a820c(0x17b)]+_0x5a820c(0x1d3));}const {changeset:_0x47915a,pendingMutations:_0x2a7c06}=_0x384dd1;this[_0x5a820c(0x473)]['onSendChangeset'](_0x47915a);const _0x5edde7=_0x2a7c06['length']?this['_injector'][_0x5a820c(0xb4)](_0x165ad8,this[_0x5a820c(0x2ba)],this[_0x5a820c(0x17b)],_0x47915a,_0x2a7c06,this['_handler']):this['_injector']['createInstance'](_0x5165c0,this['unitID'],this[_0x5a820c(0x17b)],_0x47915a,this[_0x5a820c(0x473)]);_0x5edde7['_updateLocalCache'](),this['_handler'][_0x5a820c(0x4e2)](this,_0x5edde7);},_0x426214);}['_getSendChangesetTimeout'](){const _0x3dbcc1=_0x36f281;var _0x4543fc;const _0x2e78af=this[_0x3dbcc1(0xdd)]['getConfig'](_0xfe6e3e);return(_0x4543fc=_0x2e78af==null?void 0x0:_0x2e78af[_0x3dbcc1(0x10d)])!=null?_0x4543fc:0x7d0;}[_0x36f281(0x39c)](){const _0x1ab89a=_0x36f281;throw new Error(_0x1ab89a(0xd8));}[_0x36f281(0x46b)](){const _0x3109fd=_0x36f281;this['_sendingTimer']!=null&&(clearTimeout(this[_0x3109fd(0x22f)]),this[_0x3109fd(0x22f)]=null);}[_0x36f281(0x343)](_0x2c1a23){const _0x2c5189=_0x36f281;return this[_0x2c5189(0x46b)](),this[_0x2c5189(0xf1)][_0x2c5189(0xb4)](_0x24fcd1,this[_0x2c5189(0x2ba)],this[_0x2c5189(0x17b)],null,this['_pendingMutations'],this[_0x2c5189(0x473)],_0x2c1a23);}};_0x5f011e=_0x1a64a2([_0x418d5f(0x4,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x418d5f(0x5,_0x593949['Inject'](_0x4968b4[_0x36f281(0xe5)])),_0x418d5f(0x6,_0x593949[_0x36f281(0xb9)](_0x4238fe[_0x36f281(0xd2)])),_0x418d5f(0x7,_0x593949[_0x36f281(0xb9)](_0x40c14d)),_0x418d5f(0x8,_0x593949['ILogService']),_0x418d5f(0x9,_0x593949[_0x36f281(0x38d)]),_0x418d5f(0xa,_0x593949['IConfigService']),_0x418d5f(0xb,_0x4968b4[_0x36f281(0x415)]),_0x418d5f(0xc,_0x593949[_0x36f281(0x1dc)]),_0x418d5f(0xd,_0x593949[_0x36f281(0x3d1)])],_0x5f011e);let _0x5165c0=class extends _0x3595bc{constructor(_0xad17f2,_0x1671a,_0x2208ce,_0x4f5f88,_0x224ebb,_0x235a60,_0x5ae4c5,_0x1578c2,_0x3d8002,_0x310c0d,_0x3cc62a){const _0x17333f=_0x36f281;super(_0xad17f2,_0x1671a,_0x2208ce,[],_0x4f5f88,_0x1578c2,_0x3cc62a,_0x235a60,_0x5ae4c5),_0x3e0772(this,_0x17333f(0x339),_0x17333f(0x39e)),(this[_0x17333f(0xf1)]=_0x224ebb,this['_logService']=_0x3d8002,this[_0x17333f(0x496)]=_0x310c0d);}['appendMutation'](_0x296462){const _0x1c0908=_0x36f281,_0x25e8bf=this[_0x1c0908(0xf1)][_0x1c0908(0xb4)](_0x165ad8,this[_0x1c0908(0x2ba)],this[_0x1c0908(0x17b)],this['_awaitingChangeset'],[_0x296462],this['_handler']);return _0x25e8bf[_0x1c0908(0x374)](),_0x25e8bf;}[_0x36f281(0x271)](_0x468773){const _0x44e221=_0x36f281;if(this[_0x44e221(0x313)](_0x468773))return this[_0x44e221(0xf1)]['createInstance'](_0x486ba5,this[_0x44e221(0x2ba)],this[_0x44e221(0x17b)],this[_0x44e221(0x446)],[],null,[_0x468773],this[_0x44e221(0x473)]);try{const _0x4601f0=this['_transformService'][_0x44e221(0x2e8)]([_0x468773],[this['_awaitingChangeset']],!0x1);if(_0x4968b4[_0x44e221(0x2e9)](_0x4601f0)){const {c1Prime:_0x185285,c2Prime:_0x52b3b1}=_0x4601f0;this[_0x44e221(0x3de)](_0x185285[0x0]),_0x52b3b1[0x0]['baseRev']=this[_0x44e221(0x2ce)]();const _0x4a09e1=this['_injector'][_0x44e221(0xb4)](_0x5165c0,this[_0x44e221(0x2ba)],this['type'],_0x52b3b1[0x0],this[_0x44e221(0x473)]);return _0x4a09e1[_0x44e221(0x374)](),_0x4a09e1;}return this[_0x44e221(0x343)](!0x1);}catch(_0x3b2adb){return this[_0x44e221(0x3df)][_0x44e221(0x302)](_0x3b2adb),this[_0x44e221(0x343)](!0x1);}}[_0x36f281(0x238)](_0x1a1fc3){const _0x29f683=_0x36f281,_0x52f40b=this[_0x29f683(0x237)][_0x29f683(0x1fb)](this[_0x29f683(0x2ba)]);if(_0x1a1fc3[_0x29f683(0x320)]<_0x52f40b-0x1)return this;if(this[_0x29f683(0x313)](_0x1a1fc3))return this[_0x29f683(0xf1)][_0x29f683(0xb4)](_0x486ba5,this[_0x29f683(0x2ba)],this[_0x29f683(0x17b)],null,[],this[_0x29f683(0x446)],[],this[_0x29f683(0x473)]);this[_0x29f683(0x2cf)]();const _0x4b5547=this[_0x29f683(0xf1)][_0x29f683(0xb4)](_0x333ccd,this['unitID'],this[_0x29f683(0x17b)],this[_0x29f683(0x473)]);return _0x4b5547[_0x29f683(0x374)](),_0x4b5547;}[_0x36f281(0x143)](_0x48d8ce){const _0x2a9e3c=_0x36f281;return this[_0x2a9e3c(0x343)](!!(_0x48d8ce!=null&&_0x48d8ce['isPermissionRej']));}[_0x36f281(0x40b)](){const _0x4ba02e=_0x36f281;return this['_injector'][_0x4ba02e(0xb4)](_0x4519aa,this['unitID'],this['type'],this['_awaitingChangeset'],[],this[_0x4ba02e(0x473)]);}[_0x36f281(0x400)](){return this;}[_0x36f281(0x39c)](){const _0x203f6a=_0x36f281;this[_0x203f6a(0x473)]['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x21a79e){const _0x5e3fc7=_0x36f281;return this[_0x5e3fc7(0xf1)][_0x5e3fc7(0xb4)](_0x24fcd1,this[_0x5e3fc7(0x2ba)],this['type'],this[_0x5e3fc7(0x446)],[],this[_0x5e3fc7(0x473)],_0x21a79e);}};_0x5165c0=_0x1a64a2([_0x418d5f(0x4,_0x593949['Inject'](_0x593949[_0x36f281(0xa8)])),_0x418d5f(0x5,_0x593949[_0x36f281(0xb9)](_0x4968b4[_0x36f281(0xe5)])),_0x418d5f(0x6,_0x593949[_0x36f281(0xb9)](_0x4238fe[_0x36f281(0xd2)])),_0x418d5f(0x7,_0x593949['ICommandService']),_0x418d5f(0x8,_0x593949[_0x36f281(0x380)]),_0x418d5f(0x9,_0x4968b4[_0x36f281(0x415)]),_0x418d5f(0xa,_0x593949['IUndoRedoService'])],_0x5165c0);let _0x165ad8=class extends _0x3595bc{constructor(_0x585f59,_0x450bc4,_0x12ce61,_0x5cfbf0,_0x318e88,_0x3148c6,_0x51c88f,_0x2b494d,_0xb7b8ca,_0x7d9f75,_0x520cfa,_0x2ea744){const _0x5704c8=_0x36f281;super(_0x585f59,_0x450bc4,_0x12ce61,_0x5cfbf0,_0x318e88,_0xb7b8ca,_0x2ea744,_0x51c88f,_0x2b494d),_0x3e0772(this,'status',_0x5704c8(0x158)),(this['_injector']=_0x3148c6,this[_0x5704c8(0x3df)]=_0x7d9f75,this['_transformService']=_0x520cfa);}['appendMutation'](_0xa0a491){const _0x23a7ac=_0x36f281;return this['_pendingMutations'][_0x23a7ac(0x43c)](_0xa0a491),this;}[_0x36f281(0x271)](_0x4d72b1){const _0x2f1407=_0x36f281;if(this[_0x2f1407(0x313)](_0x4d72b1))return this[_0x2f1407(0xf1)][_0x2f1407(0xb4)](_0x486ba5,this[_0x2f1407(0x2ba)],this[_0x2f1407(0x17b)],this[_0x2f1407(0x446)],this[_0x2f1407(0x289)],null,[_0x4d72b1],this[_0x2f1407(0x473)]);try{const _0x3a9144=this[_0x2f1407(0x496)][_0x2f1407(0x2e8)]([_0x4d72b1],[this['_awaitingChangeset']],!0x1);if(_0x4968b4['isTransformChangesetsSuccess'](_0x3a9144)){const {c1Prime:_0x2b6167,c2Prime:_0x5ab062}=_0x3a9144,_0x46ae56=this[_0x2f1407(0x496)][_0x2f1407(0x310)](_0x2b6167[0x0],this[_0x2f1407(0x289)]);if(_0x4968b4[_0x2f1407(0x3f3)](_0x46ae56)){const {c1Prime:_0x37cc9b,m2Prime:_0x21485b}=_0x46ae56;return this[_0x2f1407(0x3de)](_0x37cc9b),_0x5ab062[0x0][_0x2f1407(0x12d)]=this[_0x2f1407(0x2ce)](),this[_0x2f1407(0xf1)][_0x2f1407(0xb4)](_0x165ad8,this[_0x2f1407(0x2ba)],this[_0x2f1407(0x17b)],_0x5ab062[0x0],_0x21485b,this['_handler']);}throw _0x46ae56[_0x2f1407(0x302)];}throw _0x3a9144['error'];}catch(_0x346228){return this[_0x2f1407(0x3df)][_0x2f1407(0x302)](_0x346228),this[_0x2f1407(0x343)](!0x1);}}[_0x36f281(0x238)](_0x403aa9){const _0x14a630=_0x36f281;if(this[_0x14a630(0x313)](_0x403aa9))return this[_0x14a630(0xf1)][_0x14a630(0xb4)](_0x486ba5,this['unitID'],this['type'],null,this[_0x14a630(0x289)],this[_0x14a630(0x446)],[],this[_0x14a630(0x473)]);this[_0x14a630(0x2cf)]();const _0x18a12f=this[_0x14a630(0xf1)]['createInstance'](_0x5f011e,this[_0x14a630(0x2ba)],this['type'],this[_0x14a630(0x289)],this[_0x14a630(0x473)]);return _0x18a12f[_0x14a630(0x478)](),_0x18a12f['_updateLocalCache'](),_0x18a12f;}[_0x36f281(0x143)](_0x2dea48){const _0x258217=_0x36f281;return this[_0x258217(0x343)](!!(_0x2dea48!=null&&_0x2dea48['isPermissionRej']));}[_0x36f281(0x40b)](){const _0x10bc6d=_0x36f281;return this[_0x10bc6d(0xf1)]['createInstance'](_0x4519aa,this[_0x10bc6d(0x2ba)],this[_0x10bc6d(0x17b)],this[_0x10bc6d(0x446)],this[_0x10bc6d(0x289)],this[_0x10bc6d(0x473)]);}[_0x36f281(0x400)](){return this;}[_0x36f281(0x39c)](){const _0x44326b=_0x36f281;this[_0x44326b(0x473)][_0x44326b(0x3d8)](this[_0x44326b(0x446)]);}['_onConflict'](_0x5c85d1){const _0x1af3a5=_0x36f281;return this['_injector'][_0x1af3a5(0xb4)](_0x24fcd1,this['unitID'],this[_0x1af3a5(0x17b)],null,this[_0x1af3a5(0x289)],this[_0x1af3a5(0x473)],_0x5c85d1);}};_0x165ad8=_0x1a64a2([_0x418d5f(0x5,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x418d5f(0x6,_0x593949[_0x36f281(0xb9)](_0x4968b4[_0x36f281(0xe5)])),_0x418d5f(0x7,_0x593949['Inject'](_0x4238fe[_0x36f281(0xd2)])),_0x418d5f(0x8,_0x593949['ICommandService']),_0x418d5f(0x9,_0x593949[_0x36f281(0x380)]),_0x418d5f(0xa,_0x4968b4[_0x36f281(0x415)]),_0x418d5f(0xb,_0x593949[_0x36f281(0x3d1)])],_0x165ad8);let _0x24fcd1=class extends _0x3595bc{constructor(_0x248ccf,_0x5e517a,_0x8a71f8,_0x1b837f,_0x199ef8,_0x3ced7f=!0x1,_0x254d48,_0x5c6a53,_0x50f869,_0x408cd5,_0x55b962,_0x49987b,_0x5df862){const _0xa9b98=_0x36f281;super(_0x248ccf,_0x5e517a,_0x8a71f8,_0x1b837f,_0x199ef8,_0x5c6a53,_0x50f869,_0x55b962,_0x408cd5),_0x3e0772(this,_0xa9b98(0x339),_0xa9b98(0x422)),(this[_0xa9b98(0x4dd)]=_0x3ced7f,this[_0xa9b98(0x397)]=_0x254d48,this['_localeService']=_0x49987b,this[_0xa9b98(0x4ea)]=_0x5df862,this['_showConflictNotification'](),this[_0xa9b98(0x495)](),this[_0xa9b98(0xaa)]());}[_0x36f281(0xca)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x36f281(0x40b)](){return this;}['toggleOnline'](){return this;}[_0x36f281(0x39c)](){const _0x3ca38e=_0x36f281;throw new Error(_0x3ca38e(0x44b));}[_0x36f281(0x495)](){const _0x391e9f=_0x36f281;this[_0x391e9f(0xfc)][_0x391e9f(0x26e)](this[_0x391e9f(0x2ba)],this['type'],null,[]);}['_showConflictNotification'](){const _0x4aefea=_0x36f281;this[_0x4aefea(0x4dd)]?this[_0x4aefea(0x4ea)]['show']({'title':this[_0x4aefea(0x36f)]['t'](_0x4aefea(0x29e)),'content':this[_0x4aefea(0x36f)]['t'](_0x4aefea(0x4d2)),'type':_0x4aefea(0x302),'duration':0x0}):this[_0x4aefea(0x4ea)][_0x4aefea(0x348)]({'title':this[_0x4aefea(0x36f)]['t']('conflict.title'),'content':this[_0x4aefea(0x36f)]['t'](_0x4aefea(0x48e)),'type':_0x4aefea(0x302),'duration':0x0});}[_0x36f281(0xaa)](){const _0x3a333a=_0x36f281;this['_permissionService'][_0x3a333a(0x1ee)](new _0xec6805[(_0x3a333a(0x1d2))](this['unitID'])['id'],!0x1);}};_0x24fcd1=_0x1a64a2([_0x418d5f(0x6,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0x191)])),_0x418d5f(0x7,_0x593949[_0x36f281(0x38d)]),_0x418d5f(0x8,_0x593949[_0x36f281(0x3d1)]),_0x418d5f(0x9,_0x593949[_0x36f281(0xb9)](_0x4238fe[_0x36f281(0xd2)])),_0x418d5f(0xa,_0x593949['Inject'](_0x4968b4[_0x36f281(0xe5)])),_0x418d5f(0xb,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0x2bc)])),_0x418d5f(0xc,_0xc44033[_0x36f281(0x438)])],_0x24fcd1);let _0x4519aa=class extends _0x3595bc{constructor(_0x26d1eb,_0x571fa8,_0x44ee0e,_0x130cbc,_0x2c9116,_0x44ef86,_0x365a56,_0x24ec76,_0x59c328,_0x1edbd4){const _0x55d361=_0x36f281;super(_0x26d1eb,_0x571fa8,_0x44ee0e,_0x130cbc,_0x2c9116,_0x59c328,_0x1edbd4,_0x365a56,_0x24ec76),_0x3e0772(this,_0x55d361(0x339),'offline'),this['_injector']=_0x44ef86;}['appendMutation'](_0x561504){const _0xe9d4a9=_0x36f281;return this[_0xe9d4a9(0x289)]['push'](_0x561504),this[_0xe9d4a9(0x374)](),this;}[_0x36f281(0x271)](_0x43dc0c){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0x968aa8=_0x36f281;throw new Error(_0x968aa8(0x14b));}['onRemoteRej'](){const _0x4a1f79=_0x36f281;throw new Error(_0x4a1f79(0x26f));}[_0x36f281(0x40b)](){return this;}[_0x36f281(0x400)](){const _0x527d65=_0x36f281,{_injector:_0x5e05fd,_pendingMutations:_0x4b40b4,_awaitingChangeset:_0x300cd7,unitID:_0x35577b,_handler:_0x2338a0,type:_0x191c1c}=this,_0x4dce49=_0x4d8d4e(_0x5e05fd,_0x35577b,_0x191c1c,_0x300cd7,_0x4b40b4,_0x2338a0);return _0x4dce49 instanceof _0x5f011e?_0x4dce49[_0x527d65(0x478)]():(_0x4dce49 instanceof _0x165ad8||_0x4dce49 instanceof _0x5165c0)&&_0x4dce49['resend'](),_0x4dce49;}[_0x36f281(0x39c)](){const _0x19f337=_0x36f281;throw new Error(_0x19f337(0x3f8));}};_0x4519aa=_0x1a64a2([_0x418d5f(0x5,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x418d5f(0x6,_0x593949[_0x36f281(0xb9)](_0x4968b4['RevisionService'])),_0x418d5f(0x7,_0x593949[_0x36f281(0xb9)](_0x4238fe[_0x36f281(0xd2)])),_0x418d5f(0x8,_0x593949[_0x36f281(0x38d)]),_0x418d5f(0x9,_0x593949['IUndoRedoService'])],_0x4519aa);let _0x486ba5=class extends _0x3595bc{constructor(_0x76d557,_0x4e60c4,_0x54c14d,_0x5f48bf,_0x3bb5b7,_0x52da86,_0x2fc433,_0x543c5e,_0x24423f,_0x368089,_0x2db470,_0x2ee923,_0x12f11b,_0x33b341){const _0x3b2b59=_0x36f281;super(_0x76d557,_0x4e60c4,_0x54c14d,_0x5f48bf,_0x2fc433,_0x2ee923,_0x12f11b,_0x24423f,_0x368089),_0x3e0772(this,_0x3b2b59(0x339),_0x3b2b59(0xc5)),(this['_acknowledgedAwaitingChangeset']=_0x3bb5b7,this[_0x3b2b59(0x439)]=_0x52da86,this['_injector']=_0x543c5e,this[_0x3b2b59(0x3df)]=_0x2db470,this[_0x3b2b59(0x496)]=_0x33b341);}[_0x36f281(0x27c)](_0x3d7cf6){const _0x447301=_0x36f281;try{const _0x4098b8=[..._0x3d7cf6,...this[_0x447301(0x439)]],_0x23650c=[this[_0x447301(0x446)]||this[_0x447301(0x4c5)]][_0x447301(0x218)](_0x9f1207=>!!_0x9f1207);let _0x195b53,_0x57c617;if(_0x23650c[_0x447301(0x43f)]){const _0x334ddf=this[_0x447301(0x496)]['transformChangesets'](_0x4098b8,_0x23650c,!0x1);if(!_0x4968b4['isTransformChangesetsSuccess'](_0x334ddf))throw _0x334ddf[_0x447301(0x302)];_0x195b53=_0x334ddf[_0x447301(0x39f)],_0x57c617=_0x334ddf['c2Prime'];}else _0x195b53=_0x4098b8,_0x57c617=[];let _0x47431e=this['_pendingMutations'];_0x195b53[_0x447301(0x2a0)](_0x2a1a3b=>{const _0x261695=_0x447301;let _0xdc1c72;if(_0x47431e['length']){const _0x4e2b5c=this[_0x261695(0x496)][_0x261695(0x310)](_0x2a1a3b,_0x47431e);if(!_0x4968b4['isTransformMutationsWithChangesetSuccess'](_0x4e2b5c))throw _0x4e2b5c['error'];_0xdc1c72=_0x4e2b5c[_0x261695(0x39f)],_0x47431e=_0x4e2b5c[_0x261695(0xb3)];}else _0xdc1c72=_0x2a1a3b;this[_0x261695(0x3de)](_0xdc1c72);}),this[_0x447301(0x4c5)]&&this[_0x447301(0x2cf)](),this[_0x447301(0x446)]&&_0x57c617[_0x447301(0x43f)]&&(_0x57c617[0x0][_0x447301(0x12d)]=this[_0x447301(0x2ce)]());let _0x89d84;if(this[_0x447301(0x446)]&&_0x47431e[_0x447301(0x43f)]!==0x0)_0x89d84=this[_0x447301(0xf1)][_0x447301(0xb4)](_0x165ad8,this['unitID'],this[_0x447301(0x17b)],_0x57c617[0x0],_0x47431e,this[_0x447301(0x473)]);else{if(this[_0x447301(0x446)]&&_0x47431e['length']===0x0)_0x57c617[0x0]['baseRev']=this[_0x447301(0x2ce)](),_0x89d84=this['_injector'][_0x447301(0xb4)](_0x5165c0,this[_0x447301(0x2ba)],this[_0x447301(0x17b)],_0x57c617[0x0],this['_handler']);else{if(_0x47431e[_0x447301(0x43f)]!==0x0){const _0x58acae=this[_0x447301(0xf1)]['createInstance'](_0x5f011e,this[_0x447301(0x2ba)],this[_0x447301(0x17b)],_0x47431e,this[_0x447301(0x473)]);_0x58acae[_0x447301(0x478)](),_0x89d84=_0x58acae;}else _0x89d84=this[_0x447301(0xf1)][_0x447301(0xb4)](_0x333ccd,this['unitID'],this[_0x447301(0x17b)],this[_0x447301(0x473)]);}}return _0x89d84['_updateLocalCache'](),_0x89d84;}catch(_0x13f2dd){return this[_0x447301(0x3df)][_0x447301(0x302)](_0x447301(0x2cc),_0x447301(0x360),_0x13f2dd),this['_injector']['createInstance'](_0x24fcd1,this['unitID'],this[_0x447301(0x17b)],this[_0x447301(0x446)],this[_0x447301(0x289)],this[_0x447301(0x473)],!0x1);}}['resend'](){const _0x5ae767=_0x36f281;throw new Error(_0x5ae767(0x2e3));}[_0x36f281(0xca)](_0x26138d){const _0x38dd37=_0x36f281;return this[_0x38dd37(0x289)]['push'](_0x26138d),this;}[_0x36f281(0x271)](_0x37a742){const _0x1c2d45=_0x36f281;return this[_0x1c2d45(0x439)][_0x1c2d45(0x43c)](_0x37a742),this;}[_0x36f281(0x238)](_0x3b7ac9){const _0x2f6fd0=_0x36f281;if(this[_0x2f6fd0(0x446)])return this[_0x2f6fd0(0x4c5)]=this[_0x2f6fd0(0x446)],this['_awaitingChangeset']=null,this;throw new Error(_0x2f6fd0(0x161));}[_0x36f281(0x143)](_0x3a32ae){const _0x1fa43d=_0x36f281;return this[_0x1fa43d(0x343)](!!(_0x3a32ae!=null&&_0x3a32ae[_0x1fa43d(0x1ef)]));}[_0x36f281(0x40b)](){const _0x1286af=_0x36f281;return this[_0x1286af(0xf1)]['createInstance'](_0x4519aa,this[_0x1286af(0x2ba)],this['type'],this[_0x1286af(0x446)],this['_pendingMutations'],this[_0x1286af(0x473)]);}[_0x36f281(0x400)](){return this;}['_onConflict'](_0x3413eb){const _0xca43ec=_0x36f281;return this[_0xca43ec(0xf1)][_0xca43ec(0xb4)](_0x24fcd1,this[_0xca43ec(0x2ba)],this[_0xca43ec(0x17b)],this[_0xca43ec(0x446)],this[_0xca43ec(0x289)],this[_0xca43ec(0x473)],_0x3413eb);}};_0x486ba5=_0x1a64a2([_0x418d5f(0x7,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x418d5f(0x8,_0x593949['Inject'](_0x4968b4[_0x36f281(0xe5)])),_0x418d5f(0x9,_0x593949[_0x36f281(0xb9)](_0x4238fe[_0x36f281(0xd2)])),_0x418d5f(0xa,_0x593949['ILogService']),_0x418d5f(0xb,_0x593949[_0x36f281(0x38d)]),_0x418d5f(0xc,_0x593949[_0x36f281(0x3d1)]),_0x418d5f(0xd,_0x4968b4['ITransformService'])],_0x486ba5);function _0x4d8d4e(_0x346e58,_0x5b5882,_0x4aa32c,_0x30d623,_0x220a6a,_0x1f1b60){const _0x26cefb=_0x36f281;return _0x30d623&&_0x220a6a[_0x26cefb(0x43f)]?_0x346e58[_0x26cefb(0xb4)](_0x165ad8,_0x5b5882,_0x4aa32c,_0x30d623,_0x220a6a,_0x1f1b60):_0x30d623?_0x346e58[_0x26cefb(0xb4)](_0x5165c0,_0x5b5882,_0x4aa32c,_0x30d623,_0x1f1b60):_0x220a6a['length']?_0x346e58[_0x26cefb(0xb4)](_0x5f011e,_0x5b5882,_0x4aa32c,_0x220a6a,_0x1f1b60):_0x346e58[_0x26cefb(0xb4)](_0x333ccd,_0x5b5882,_0x4aa32c,_0x1f1b60);}var _0x670b4=Object[_0x36f281(0x49a)],_0x2c911d=Object[_0x36f281(0x381)],_0x220de1=(_0x3beece,_0x353f56,_0x4bab18,_0x2f0dcc)=>{for(var _0x2cba5b=_0x2f0dcc>0x1?void 0x0:_0x2f0dcc?_0x2c911d(_0x353f56,_0x4bab18):_0x353f56,_0x57dc51=_0x3beece['length']-0x1,_0x1d1762;_0x57dc51>=0x0;_0x57dc51--)(_0x1d1762=_0x3beece[_0x57dc51])&&(_0x2cba5b=(_0x2f0dcc?_0x1d1762(_0x353f56,_0x4bab18,_0x2cba5b):_0x1d1762(_0x2cba5b))||_0x2cba5b);return _0x2f0dcc&&_0x2cba5b&&_0x670b4(_0x353f56,_0x4bab18,_0x2cba5b),_0x2cba5b;},_0x3d2353=(_0x34e84b,_0x35b4e2)=>(_0x276307,_0x68127f)=>_0x35b4e2(_0x276307,_0x68127f,_0x34e84b);_0x4238fe['CollaborationEntity']=class extends _0x593949[_0x36f281(0x130)]{constructor(_0x26ed7e,_0x5cfe36,_0x32c0e1,_0xaf57ea,_0x2eb07b,_0x256b2d,_0xe2eb97,_0x40e780,_0x29f02b,_0x28a4a3,_0xabcbde,_0x198afa,_0x367ea5){const _0x45aa5e=_0x36f281;super(),_0x3e0772(this,_0x45aa5e(0x16f),new _0x30c949[(_0x45aa5e(0x2f9))](null)),_0x3e0772(this,_0x45aa5e(0x3f6),this['_state$'][_0x45aa5e(0x13a)]()),_0x3e0772(this,_0x45aa5e(0x3b5)),_0x3e0772(this,_0x45aa5e(0x27e),!0x1),_0x3e0772(this,_0x45aa5e(0x3d6),''),_0x3e0772(this,_0x45aa5e(0x236),0x0),_0x3e0772(this,'status$',this[_0x45aa5e(0x3f6)]['pipe'](_0x30c949['map'](_0x45dfb6=>_0x45dfb6?_0x45dfb6[_0x45aa5e(0x339)]:_0x2d65dc[_0x45aa5e(0x4eb)]),_0x30c949[_0x45aa5e(0x33e)](0x1))),_0x3e0772(this,'_transitionLocked',!0x1),_0x3e0772(this,_0x45aa5e(0x376),[]),(this[_0x45aa5e(0x2ba)]=_0x26ed7e,this[_0x45aa5e(0x3b4)]=_0x5cfe36,this[_0x45aa5e(0x30e)]=_0x32c0e1,this[_0x45aa5e(0xf1)]=_0xaf57ea,this[_0x45aa5e(0xfc)]=_0x2eb07b,this[_0x45aa5e(0x30b)]=_0x256b2d,this[_0x45aa5e(0x36f)]=_0xe2eb97,this['_revisionService']=_0x40e780,this['_logService']=_0x29f02b,this[_0x45aa5e(0x265)]=_0x28a4a3,this[_0x45aa5e(0xf9)]=_0xabcbde,this[_0x45aa5e(0x397)]=_0x198afa,this[_0x45aa5e(0xb2)]=_0x367ea5);}get['state'](){const _0x14a5be=_0x36f281;return this[_0x14a5be(0x3b5)];}async[_0x36f281(0x2bb)](){const _0x3482c3=_0x36f281;if(this[_0x3482c3(0xba)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x3482c3(0x3b6)]();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0x593949['toDisposable'](()=>{const _0x528c3c=_0x4c16;this['_collaborationPaused']=!0x1,this[_0x528c3c(0x2a7)]();});}['_updateState'](_0x17bb8d){const _0x13a181=_0x36f281;this[_0x13a181(0x3b5)]=_0x17bb8d,this[_0x13a181(0x16f)][_0x13a181(0x4e6)](_0x17bb8d);}async[_0x36f281(0x3b6)](){const _0x147b98=_0x36f281;var _0x1b0e92;this['_updateState'](await this[_0x147b98(0x21f)]()),this[_0x147b98(0xb2)]&&((_0x1b0e92=this['_singleActiveUnitService'])==null||_0x1b0e92[_0x147b98(0x32a)](this['unitID']),this[_0x147b98(0x196)](this[_0x147b98(0xb2)][_0x147b98(0xd9)](this['unitID'])['subscribe'](_0x3cc1ee=>{const _0x5d3fc8=_0x147b98;this[_0x5d3fc8(0x3df)][_0x5d3fc8(0x177)](_0x5d3fc8(0x1eb),'editing\x20status\x20changed\x20to',_0x3cc1ee),_0x3cc1ee===_0x3e0c16[_0x5d3fc8(0x4c2)]?(this[_0x5d3fc8(0xf9)][_0x5d3fc8(0x348)]({'content':this[_0x5d3fc8(0x36f)]['t'](_0x5d3fc8(0x2a2)),'type':_0x2b27fc[_0x5d3fc8(0x1ae)]['Warning']}),this['_permissionService'][_0x5d3fc8(0x1ee)](new _0xec6805[(_0x5d3fc8(0x1d2))](this[_0x5d3fc8(0x2ba)])['id'],!0x1)):this[_0x5d3fc8(0x397)][_0x5d3fc8(0x1ee)](new _0xec6805[(_0x5d3fc8(0x1d2))](this['unitID'])['id'],!0x0);})));let _0x3cc0bd=!0x1;return this[_0x147b98(0x196)](this[_0x147b98(0x3b4)][_0x147b98(0x45c)][_0x147b98(0x188)](_0x33a102=>{const _0x5f0ac5=_0x147b98;_0x33a102===_0x108499[_0x5f0ac5(0x2af)]?this[_0x5f0ac5(0x1fc)](_0x3cc0bd):_0x33a102===_0x108499[_0x5f0ac5(0x4eb)]&&(_0x3cc0bd=!0x0,this[_0x5f0ac5(0x1a9)]());})),this[_0x147b98(0x196)](this['session'][_0x147b98(0x44d)]['subscribe'](_0x52055c=>{const _0x162549=_0x147b98;try{switch(_0x52055c['eventID']){case _0x4968b4[_0x162549(0xbc)]['NEW_CHANGESETS']:{this[_0x162549(0x300)](_0x4968b4['parseProtocolChangeset'](_0x52055c[_0x162549(0x298)]));break;}case _0x4968b4[_0x162549(0xbc)]['CHANGESET_ACK']:{this[_0x162549(0x467)](_0x52055c[_0x162549(0x298)]);break;}case _0x4968b4[_0x162549(0xbc)][_0x162549(0x1f9)]:{this['_onRemoteRejected']();break;}case _0x4968b4[_0x162549(0xbc)][_0x162549(0x48d)]:{this[_0x162549(0xf2)](_0x52055c['data'][_0x162549(0x46a)][_0x162549(0x1de)](_0xfd94b1=>_0x4968b4[_0x162549(0x157)](_0xfd94b1)));break;}case _0x4968b4[_0x162549(0xbc)][_0x162549(0x4c3)]:this[_0x162549(0xb0)]({'isPermissionRej':!0x0});}}catch(_0x4d909c){throw console[_0x162549(0x302)](_0x162549(0x458),_0x4d909c),_0x4d909c;}})),this[_0x147b98(0x3b5)];}[_0x36f281(0x28b)](){const _0x2c0a65=_0x36f281;this[_0x2c0a65(0x371)]=!0x1;}['_lockTransition'](){const _0x497b09=_0x36f281;if(this[_0x497b09(0x371)])throw new Error(_0x497b09(0x493));this['_transitionLocked']=!0x0;}[_0x36f281(0x388)](_0x39b1b1){const _0x3d63e1=_0x36f281;this[_0x3d63e1(0x30c)](),this[_0x3d63e1(0x4b8)](this['_state'][_0x3d63e1(0xca)](_0x39b1b1)),this[_0x3d63e1(0x28b)]();}[_0x36f281(0x300)](_0x375f3d){const _0xe0f96a=_0x36f281;if(!(_0x375f3d[_0xe0f96a(0x320)]<=this[_0xe0f96a(0x237)][_0xe0f96a(0x1fb)](this[_0xe0f96a(0x2ba)]))){if(this[_0xe0f96a(0x27e)]){this[_0xe0f96a(0x376)][_0xe0f96a(0x43c)](_0x375f3d);return;}this[_0xe0f96a(0x23f)](_0x375f3d);}}[_0x36f281(0x2a7)](){const _0x4eaf79=_0x36f281;this['_remoteChangesetQueue']['forEach'](_0xa4ad1b=>this[_0x4eaf79(0x23f)](_0xa4ad1b)),this[_0x4eaf79(0x376)]=[];}[_0x36f281(0x23f)](_0x5e9b9c){const _0x57a7c4=_0x36f281,_0xe04b13=this['_compressMutationService'][_0x57a7c4(0x121)]['fetchThroughInterceptors'](this[_0x57a7c4(0x30b)][_0x57a7c4(0x121)][_0x57a7c4(0xee)]()[_0x57a7c4(0x336)])(_0x5e9b9c[_0x57a7c4(0x152)],null)||_0x5e9b9c['mutations'],_0x5dfdd4={..._0x5e9b9c,'mutations':_0xe04b13};this[_0x57a7c4(0x30c)](),this[_0x57a7c4(0x4b8)](this['_state'][_0x57a7c4(0x271)](_0x5dfdd4)),this['_unlockTransition']();}[_0x36f281(0x467)](_0x36c5f8){const _0x1f70cb=_0x36f281;this[_0x1f70cb(0x30c)](),this[_0x1f70cb(0x4b8)](this[_0x1f70cb(0x3b5)][_0x1f70cb(0x238)](_0x36c5f8)),this['_unlockTransition']();}['_onRemoteRejected'](_0x2f5eff){const _0x2e6409=_0x36f281;this[_0x2e6409(0x30c)](),this['_updateState'](this[_0x2e6409(0x3b5)][_0x2e6409(0x143)](_0x2f5eff)),this[_0x2e6409(0x28b)]();}[_0x36f281(0xf2)](_0x165107){const _0xa3e221=_0x36f281;if(!(this[_0xa3e221(0x3b5)]instanceof _0x486ba5))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0xd44b21=_0x165107[_0xa3e221(0x1de)](_0x52c932=>{const _0x3603cb=_0xa3e221,_0x5c0af0=this[_0x3603cb(0x30b)][_0x3603cb(0x121)][_0x3603cb(0x34c)](this[_0x3603cb(0x30b)][_0x3603cb(0x121)][_0x3603cb(0xee)]()[_0x3603cb(0x336)])(_0x52c932[_0x3603cb(0x152)],null)||_0x52c932[_0x3603cb(0x152)];return{..._0x52c932,'mutations':_0x5c0af0};});this['_lockTransition'](),this[_0xa3e221(0x4b8)](this['_state']['onMissedChangesetFetched'](_0xd44b21)),this[_0xa3e221(0x28b)]();}['_toggleOffline'](){const _0x5e7fc8=_0x36f281;this[_0x5e7fc8(0x30c)](),this[_0x5e7fc8(0x4b8)](this['_state'][_0x5e7fc8(0x40b)]()),this[_0x5e7fc8(0x28b)]();}[_0x36f281(0x1fc)](_0x4a2c38=!0x1){const _0x13e9dd=_0x36f281;this[_0x13e9dd(0x30c)](),this[_0x13e9dd(0x4b8)](this['_state'][_0x13e9dd(0x400)]()),this[_0x13e9dd(0x28b)]();const _0x3e88c9=this[_0x13e9dd(0x3b5)];_0x4a2c38&&_0x3e88c9 instanceof _0x333ccd&&(this[_0x13e9dd(0x30c)](),this[_0x13e9dd(0x4b8)](_0x3e88c9[_0x13e9dd(0x492)]()),this[_0x13e9dd(0x28b)]());}async[_0x36f281(0x21f)](){return new Promise(_0x4b6ffe=>{const _0x11acd2=_0x4c16;this[_0x11acd2(0x3b4)][_0x11acd2(0x45c)][_0x11acd2(0x49c)](_0x30c949[_0x11acd2(0x477)](0x1))['subscribe'](async _0x1f33c6=>{const _0x1b7271=_0x11acd2;_0x4b6ffe(await this[_0x1b7271(0x47d)](_0x1f33c6===_0x108499['ONLINE']));});});}['_createHandler'](){const _0x11225e=_0x36f281,_0x11e877=this[_0x11225e(0x2ba)];return{'onStateChange':(_0x4038d9,_0x7d182c)=>{const _0x547d9a=_0x11225e;if(_0x4038d9!==this[_0x547d9a(0x3b5)])throw new Error(_0x547d9a(0x127)+_0x4038d9[_0x547d9a(0x339)]+'\x0aAfter:\x20'+_0x7d182c['status']+_0x547d9a(0x42a)+this[_0x547d9a(0x3b5)]['status']);this[_0x547d9a(0x4b8)](_0x7d182c);},'onSendChangeset':_0x25c6e6=>{const _0x127e0b=_0x11225e;_0x25c6e6[_0x127e0b(0x151)]||(_0x25c6e6[_0x127e0b(0x151)]=this['_changesetSessionId'],_0x25c6e6[_0x127e0b(0x25a)]=++this[_0x127e0b(0x236)]);const _0x24692a={'eventID':_0x4968b4[_0x127e0b(0xbc)][_0x127e0b(0x1f8)],'data':{'unitID':_0x25c6e6[_0x127e0b(0x2ba)],'unitType':this[_0x127e0b(0x30e)],'changeset':_0x25c6e6,'memberID':this[_0x127e0b(0x3b4)][_0x127e0b(0x391)]()}};this['session']['send'](_0x24692a,this[_0x127e0b(0x2ba)]);},'onMissingChangesets':({from:_0x737fc6,to:_0x35ff8d})=>{const _0x365e75=_0x11225e;this[_0x365e75(0x3df)][_0x365e75(0x177)](_0x365e75(0x1eb),_0x365e75(0x390)+_0x737fc6+_0x365e75(0x337)+_0x35ff8d);const _0x5d4407={'eventID':_0x4968b4['CollaborationEvent'][_0x365e75(0x318)],'data':{'unitID':_0x11e877,'unitType':this['_type'],'from':_0x737fc6,'to':_0x35ff8d}};this[_0x365e75(0x3b4)][_0x365e75(0x4ce)](_0x5d4407,this['unitID']);}};}async['_createInitialStateImpl'](_0x3fa656){const _0x4b4f20=_0x36f281;var _0x1c52ff,_0x236a9f;const _0x5d2e8e=await this[_0x4b4f20(0xfc)][_0x4b4f20(0x453)](this['unitID']),_0x3c8ab1=(_0x1c52ff=_0x5d2e8e==null?void 0x0:_0x5d2e8e[_0x4b4f20(0x152)])!=null?_0x1c52ff:[],_0x2ab73c=(_0x236a9f=_0x5d2e8e==null?void 0x0:_0x5d2e8e[_0x4b4f20(0x32b)])!=null?_0x236a9f:null,_0x5724a3=!!(_0x2ab73c!=null&&_0x2ab73c[_0x4b4f20(0x151)])&&!!(_0x2ab73c!=null&&_0x2ab73c[_0x4b4f20(0x25a)]);this['_changesetSessionId']=_0x5724a3?_0x2ab73c[_0x4b4f20(0x151)]:_0x1b3228(),this[_0x4b4f20(0x236)]=_0x5724a3?_0x2ab73c[_0x4b4f20(0x25a)]:0x0;const _0x361eec=this[_0x4b4f20(0x2ba)];try{this[_0x4b4f20(0x4da)](_0x2ab73c,_0x3c8ab1);}catch(_0x228ad3){this[_0x4b4f20(0x3df)]['error'](_0x228ad3);}const _0x2eac9d=this[_0x4b4f20(0x20f)]();if(_0x3fa656){const _0x1f1746=_0x4d8d4e(this[_0x4b4f20(0xf1)],_0x361eec,this[_0x4b4f20(0x30e)],_0x2ab73c,_0x3c8ab1,_0x2eac9d);return _0x1f1746 instanceof _0x5f011e?_0x1f1746[_0x4b4f20(0x478)]():(_0x1f1746 instanceof _0x165ad8||_0x1f1746 instanceof _0x5165c0)&&_0x1f1746[_0x4b4f20(0x39c)](),_0x1f1746;}return this[_0x4b4f20(0xf1)][_0x4b4f20(0xb4)](_0x4519aa,_0x361eec,this[_0x4b4f20(0x30e)],_0x2ab73c,_0x3c8ab1,_0x2eac9d);}['_replayCachedMutations'](_0x44c5bd,_0x59d8fb){const _0x5b8907=_0x36f281;var _0x4782b6,_0x481dd0;const _0x36f288=this['_compressMutationService'][_0x5b8907(0x121)][_0x5b8907(0x34c)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x5b8907(0x336)]);(_0x4782b6=_0x36f288((_0x44c5bd==null?void 0x0:_0x44c5bd[_0x5b8907(0x152)])||[],null))==null||_0x4782b6[_0x5b8907(0x2a0)](_0x3730f6=>this[_0x5b8907(0x265)][_0x5b8907(0x420)](_0x3730f6['id'],_0x3730f6['params'])),(_0x481dd0=_0x36f288(_0x59d8fb||[],null))==null||_0x481dd0[_0x5b8907(0x2a0)](_0x35faaa=>this['_commandService'][_0x5b8907(0x420)](_0x35faaa['id'],_0x35faaa[_0x5b8907(0x2c8)]));}},_0x4238fe[_0x36f281(0xe6)]=_0x220de1([_0x3d2353(0x3,_0x593949['Inject'](_0x593949['Injector'])),_0x3d2353(0x4,_0x593949[_0x36f281(0xb9)](_0x4238fe[_0x36f281(0xd2)])),_0x3d2353(0x5,_0x593949[_0x36f281(0xb9)](_0x4968b4['CompressMutationService'])),_0x3d2353(0x6,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0x2bc)])),_0x3d2353(0x7,_0x593949['Inject'](_0x4968b4[_0x36f281(0xe5)])),_0x3d2353(0x8,_0x593949['ILogService']),_0x3d2353(0x9,_0x593949[_0x36f281(0x38d)]),_0x3d2353(0xa,_0xc44033[_0x36f281(0x2d6)]),_0x3d2353(0xb,_0x593949['IPermissionService']),_0x3d2353(0xc,_0x593949[_0x36f281(0xc8)](_0x34b236))],_0x4238fe[_0x36f281(0xe6)]),_0x4238fe[_0x36f281(0x11f)]=class extends _0x4238fe[_0x36f281(0xe6)]{constructor(_0x2cec67,_0x2e1b7d,_0x41431b,_0x4a0fac,_0x4bea74,_0x77e0b,_0x38ab13,_0x210b29,_0x2238a0,_0x2c13e3,_0xfca7bc,_0x57cf36,_0x5891dd,_0x10b662,_0x228716,_0x4a8da3,_0x4e64f0){const _0x57e820=_0x36f281;super(_0x2cec67,_0x41431b,_0x2e1b7d,_0x4a0fac,_0x4bea74,_0x77e0b,_0x38ab13,_0x210b29,_0x5891dd,_0x10b662,_0x228716,_0x4a8da3,_0x4e64f0),this[_0x57e820(0x2ba)]=_0x2cec67,this[_0x57e820(0x17b)]=_0x2e1b7d,this[_0x57e820(0x13b)]=_0x2238a0,this[_0x57e820(0x1ab)]=_0x2c13e3,this[_0x57e820(0x304)]=_0xfca7bc,this[_0x57e820(0x25e)]=_0x57cf36;}[_0x36f281(0x20f)](){const _0x56a942=_0x36f281,_0x4c7cda=super[_0x56a942(0x20f)]();return _0x4c7cda[_0x56a942(0x452)]=_0x1a4ab8=>this['_docTransformIMECacheService'][_0x56a942(0x3cf)](_0x1a4ab8),_0x4c7cda[_0x56a942(0xb1)]=_0x1a1310=>this[_0x56a942(0x304)][_0x56a942(0x28f)](_0x1a1310),_0x4c7cda['onSyncEditingCollabCursor']=_0x30f6e0=>this[_0x56a942(0x25e)][_0x56a942(0x4c6)](_0x30f6e0),_0x4c7cda[_0x56a942(0x31c)]=_0x2db4cb=>this['_docTransformIMECacheService'][_0x56a942(0xe8)](_0x2db4cb),_0x4c7cda;}async[_0x36f281(0x3b6)](){const _0x5312e7=_0x36f281,_0x2885de=await super[_0x5312e7(0x3b6)]();return this[_0x5312e7(0x13b)][_0x5312e7(0x430)]['pipe'](_0x30c949[_0x5312e7(0x142)](this[_0x5312e7(0x4d4)]))[_0x5312e7(0x188)](_0x4f6ff7=>{const _0x452166=_0x5312e7;if(_0x4f6ff7==null)return;const {unitId:_0xe50e87,redoState:_0x16ea4d,commandId:_0x503d8d}=_0x4f6ff7;if(_0xe50e87!==this[_0x452166(0x2ba)])return;const _0x2ef758={'id':_0x503d8d,'type':_0x593949[_0x452166(0x3e6)]['MUTATION'],'params':{'unitId':_0xe50e87,'actions':_0x16ea4d[_0x452166(0x3b0)],'textRanges':null}};this[_0x452166(0x388)](_0x2ef758);}),_0x2885de;}},_0x4238fe[_0x36f281(0x11f)]=_0x220de1([_0x3d2353(0x3,_0x593949['Inject'](_0x593949['Injector'])),_0x3d2353(0x4,_0x593949[_0x36f281(0xb9)](_0x4238fe[_0x36f281(0xd2)])),_0x3d2353(0x5,_0x593949[_0x36f281(0xb9)](_0x4968b4[_0x36f281(0x4cf)])),_0x3d2353(0x6,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0x2bc)])),_0x3d2353(0x7,_0x593949['Inject'](_0x4968b4[_0x36f281(0xe5)])),_0x3d2353(0x8,_0x593949[_0x36f281(0xb9)](_0x5c6469[_0x36f281(0x1c8)])),_0x3d2353(0x9,_0x593949[_0x36f281(0xb9)](_0x249d79)),_0x3d2353(0xa,_0x593949['Inject'](_0x2ffd8e)),_0x3d2353(0xb,_0x593949[_0x36f281(0xb9)](_0x337544)),_0x3d2353(0xc,_0x593949['ILogService']),_0x3d2353(0xd,_0x593949[_0x36f281(0x38d)]),_0x3d2353(0xe,_0xc44033[_0x36f281(0x2d6)]),_0x3d2353(0xf,_0x593949[_0x36f281(0x191)]),_0x3d2353(0x10,_0x593949[_0x36f281(0xc8)](_0x34b236))],_0x4238fe['DocCollaborationEntity']),_0x4238fe[_0x36f281(0x1bc)]=class extends _0x4238fe[_0x36f281(0xe6)]{constructor(_0x3c1c05,_0x13d324,_0x217420,_0x336cc5,_0x4d16d8,_0x54cc1a,_0x29dbda,_0x405250,_0x291890,_0x40fdeb,_0x3667be,_0x5bf1f8,_0x75772e,_0x202d52){const _0x27ef71=_0x36f281;super(_0x3c1c05,_0x217420,_0x13d324,_0x336cc5,_0x4d16d8,_0x54cc1a,_0x29dbda,_0x405250,_0x40fdeb,_0x3667be,_0x5bf1f8,_0x75772e,_0x202d52),this[_0x27ef71(0x2ba)]=_0x3c1c05,this[_0x27ef71(0x17b)]=_0x13d324,this[_0x27ef71(0x4d1)]=_0x291890;}[_0x36f281(0x20f)](){const _0x18984b=_0x36f281,_0xa5af5f=super[_0x18984b(0x20f)]();return _0xa5af5f[_0x18984b(0xb1)]=_0x35bd5c=>this[_0x18984b(0x4d1)]['transformSelections'](_0x35bd5c),_0xa5af5f;}async[_0x36f281(0x3b6)](){const _0x23fab2=_0x36f281,_0x223ddf=await super[_0x23fab2(0x3b6)]();return this[_0x23fab2(0x196)](this[_0x23fab2(0x265)][_0x23fab2(0x33c)]((_0x335e5e,_0x36d62e)=>{const _0x2363ff=_0x23fab2;if(_0x335e5e[_0x2363ff(0x17b)]!==_0x593949[_0x2363ff(0x3e6)]['MUTATION']||_0x36d62e!=null&&_0x36d62e[_0x2363ff(0x399)]||_0x36d62e!=null&&_0x36d62e['onlyLocal'])return;const _0x1e30bd=_0x335e5e['params'];if((_0x1e30bd==null?void 0x0:_0x1e30bd[_0x2363ff(0x315)])!==this[_0x2363ff(0x2ba)])return;const _0x3c6471=_0x335e5e,_0x49af38=this[_0x2363ff(0x30b)][_0x2363ff(0x121)][_0x2363ff(0x34c)](this[_0x2363ff(0x30b)][_0x2363ff(0x121)][_0x2363ff(0xee)]()[_0x2363ff(0x488)])([_0x3c6471],null)||[_0x3c6471];this[_0x2363ff(0x388)](_0x49af38[0x0]);})),_0x223ddf;}},_0x4238fe[_0x36f281(0x1bc)]=_0x220de1([_0x3d2353(0x3,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x3d2353(0x4,_0x593949[_0x36f281(0xb9)](_0x4238fe[_0x36f281(0xd2)])),_0x3d2353(0x5,_0x593949[_0x36f281(0xb9)](_0x4968b4[_0x36f281(0x4cf)])),_0x3d2353(0x6,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0x2bc)])),_0x3d2353(0x7,_0x593949['Inject'](_0x4968b4[_0x36f281(0xe5)])),_0x3d2353(0x8,_0x593949[_0x36f281(0xb9)](_0x29a18f)),_0x3d2353(0x9,_0x593949[_0x36f281(0x380)]),_0x3d2353(0xa,_0x593949[_0x36f281(0x38d)]),_0x3d2353(0xb,_0xc44033[_0x36f281(0x2d6)]),_0x3d2353(0xc,_0x593949[_0x36f281(0x191)]),_0x3d2353(0xd,_0x593949[_0x36f281(0xc8)](_0x34b236))],_0x4238fe[_0x36f281(0x1bc)]);var _0x167169=Object['defineProperty'],_0x1723ad=Object[_0x36f281(0x381)],_0x2df128=(_0x2fcbd3,_0x3e6266,_0x4c5e78,_0x5ad821)=>{const _0x799e1f=_0x36f281;for(var _0x656052=_0x5ad821>0x1?void 0x0:_0x5ad821?_0x1723ad(_0x3e6266,_0x4c5e78):_0x3e6266,_0x2cba86=_0x2fcbd3[_0x799e1f(0x43f)]-0x1,_0x9a26f9;_0x2cba86>=0x0;_0x2cba86--)(_0x9a26f9=_0x2fcbd3[_0x2cba86])&&(_0x656052=(_0x5ad821?_0x9a26f9(_0x3e6266,_0x4c5e78,_0x656052):_0x9a26f9(_0x656052))||_0x656052);return _0x5ad821&&_0x656052&&_0x167169(_0x3e6266,_0x4c5e78,_0x656052),_0x656052;},_0x33b5f1=(_0x1c917f,_0x4ea40b)=>(_0x40fc0,_0xfda460)=>_0x4ea40b(_0x40fc0,_0xfda460,_0x1c917f);_0x4238fe[_0x36f281(0x373)]=class extends _0x593949[_0x36f281(0x130)]{constructor(_0xd38ed6,_0x4ba227,_0x3d0dc2){const _0x443cd2=_0x36f281;super(),_0x3e0772(this,'_entities',new Map()),_0x3e0772(this,_0x443cd2(0x344),new _0x30c949['Subject']()),(this[_0x443cd2(0xf1)]=_0xd38ed6,this[_0x443cd2(0x129)]=_0x4ba227,this[_0x443cd2(0x276)]=_0x3d0dc2,this['_init']());}['dispose'](){const _0x541432=_0x36f281;super['dispose'](),this[_0x541432(0x11d)][_0x541432(0x2a0)](_0x23e797=>_0x23e797[_0x541432(0x1e6)]()),this[_0x541432(0x11d)][_0x541432(0x3dd)]();}[_0x36f281(0x47a)](_0x4e2eca){const _0x2b9f1a=_0x36f281;var _0x367457;return(_0x367457=this[_0x2b9f1a(0x11d)][_0x2b9f1a(0x14e)](_0x4e2eca))!=null?_0x367457:null;}[_0x36f281(0x1e3)](_0xee5c18){const _0x131455=_0x36f281,_0x83c5f4=this['getCollabEntity'](_0xee5c18);return _0x83c5f4?_0x30c949['of'](_0x83c5f4):this[_0x131455(0x344)][_0x131455(0x49c)](_0x218e56[_0x131455(0x218)](_0x26f982=>_0x26f982['unitID']===_0xee5c18));}[_0x36f281(0x3b6)](){const _0x4d529b=_0x36f281;this[_0x4d529b(0x276)]['getTypeOfUnitAdded$'](_0x593949['UniverInstanceType'][_0x4d529b(0x12e)])[_0x4d529b(0x49c)](_0x30c949['takeUntil'](this['dispose$']),_0x218e56[_0x4d529b(0x35e)](0x10))['subscribe'](async _0x30f206=>{const _0x2df253=_0x4d529b,_0x3f553d=_0x30f206['getUnitId'](),_0x1b790e=await this[_0x2df253(0x23b)](_0x3f553d,_0x4775b3[_0x2df253(0x12e)]);this[_0x2df253(0x11d)][_0x2df253(0x2bd)](_0x3f553d,_0x1b790e);}),this['_univerInstanceService'][_0x4d529b(0x19c)](_0x593949['UniverInstanceType'][_0x4d529b(0x4e1)])[_0x4d529b(0x49c)](_0x30c949[_0x4d529b(0x142)](this[_0x4d529b(0x4d4)]),_0x218e56['delay'](0x10))[_0x4d529b(0x49c)](_0x218e56['filter'](_0x479b01=>!_0x479b01[_0x4d529b(0x4c0)]()[_0x4d529b(0x1e7)]('__')))['subscribe'](async _0x1b9bb4=>{const _0x5834f5=_0x4d529b,_0x1f3cbf=_0x1b9bb4[_0x5834f5(0x4c0)](),_0x2c2ac=await this[_0x5834f5(0x23b)](_0x1f3cbf,_0x4775b3[_0x5834f5(0x4e1)]);this['_entities'][_0x5834f5(0x2bd)](_0x1f3cbf,_0x2c2ac);}),_0x30c949[_0x4d529b(0x27f)](this[_0x4d529b(0x276)][_0x4d529b(0x27a)](_0x593949['UniverInstanceType'][_0x4d529b(0x12e)]),this[_0x4d529b(0x276)][_0x4d529b(0x27a)](_0x593949[_0x4d529b(0xaf)]['UNIVER_DOC']))['pipe'](_0x30c949['takeUntil'](this[_0x4d529b(0x4d4)]))[_0x4d529b(0x188)](_0x2d09e3=>{const _0x54e5e6=_0x4d529b,_0x4c2b57=_0x2d09e3[_0x54e5e6(0x4c0)](),_0x4be5ff=this[_0x54e5e6(0x11d)][_0x54e5e6(0x14e)](_0x4c2b57);_0x4be5ff&&(_0x4be5ff[_0x54e5e6(0x1e6)](),this[_0x54e5e6(0x11d)]['delete'](_0x4c2b57));});}async['_startCollaboration'](_0x4dff58,_0x1aa679){const _0x3c2f13=_0x36f281,_0x46e037=await this['_collabSessionService'][_0x3c2f13(0x296)](_0x4dff58),_0x2f4764=this['_injector'][_0x3c2f13(0xb4)](this['_getCtorByUniverType'](_0x1aa679),_0x4dff58,_0x1aa679,_0x46e037);return await _0x2f4764[_0x3c2f13(0x2bb)](),this[_0x3c2f13(0x344)][_0x3c2f13(0x4e6)](_0x2f4764),_0x2f4764;}[_0x36f281(0x41b)](_0x3069f0){const _0x576d9d=_0x36f281;switch(_0x3069f0){case _0x4775b3['UNIVER_DOC']:return _0x4238fe['DocCollaborationEntity'];case _0x4775b3[_0x576d9d(0x12e)]:return _0x4238fe['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x3069f0);}}},_0x4238fe['CollaborationController']=_0x2df128([_0x33b5f1(0x0,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x33b5f1(0x1,_0x593949[_0x36f281(0xb9)](_0x4238fe[_0x36f281(0x370)])),_0x33b5f1(0x2,_0x593949[_0x36f281(0x1dc)])],_0x4238fe[_0x36f281(0x373)]);const _0xcf1d41=[_0x36f281(0x1e9),'jiqing500',_0x36f281(0x18a),'red300',_0x36f281(0x2eb),'gold400'];class _0x5d0f13 extends _0x593949['Disposable']{constructor(){const _0x5c9cf7=_0x36f281;super(...arguments),_0x3e0772(this,_0x5c9cf7(0x20b),new Map()),_0x3e0772(this,'_colorIndex',0x0);}[_0x36f281(0x111)](_0x40f67b){const _0x89e2c8=_0x36f281;if(this[_0x89e2c8(0x20b)][_0x89e2c8(0x1f2)](_0x40f67b))return this[_0x89e2c8(0x20b)][_0x89e2c8(0x14e)](_0x40f67b);const _0x247f39=_0xcf1d41[this['_colorIndex']];return this[_0x89e2c8(0x290)]=(this[_0x89e2c8(0x290)]+0x1)%_0xcf1d41[_0x89e2c8(0x43f)],this[_0x89e2c8(0x20b)][_0x89e2c8(0x2bd)](_0x40f67b,_0x247f39),_0x247f39;}}var _0x6a9dd6=Object[_0x36f281(0x49a)],_0x49738b=Object['getOwnPropertyDescriptor'],_0x281bab=(_0x2bb776,_0x4a970f,_0x103c51,_0x51b5d9)=>{const _0xd243a8=_0x36f281;for(var _0x48dbbb=_0x51b5d9>0x1?void 0x0:_0x51b5d9?_0x49738b(_0x4a970f,_0x103c51):_0x4a970f,_0x2cfff2=_0x2bb776[_0xd243a8(0x43f)]-0x1,_0x53d7a6;_0x2cfff2>=0x0;_0x2cfff2--)(_0x53d7a6=_0x2bb776[_0x2cfff2])&&(_0x48dbbb=(_0x51b5d9?_0x53d7a6(_0x4a970f,_0x103c51,_0x48dbbb):_0x53d7a6(_0x48dbbb))||_0x48dbbb);return _0x51b5d9&&_0x48dbbb&&_0x6a9dd6(_0x4a970f,_0x103c51,_0x48dbbb),_0x48dbbb;},_0x1bee55=(_0x3259a3,_0x518a3d)=>(_0x4f7c58,_0x222892)=>_0x518a3d(_0x4f7c58,_0x222892,_0x3259a3);const _0x16296b=0x12c,_0x345133=0x64;let _0x3353fc=class extends _0x593949[_0x36f281(0x130)]{constructor(_0x5cfa84,_0x4b7016,_0x4a1d8b,_0x369efc,_0x6aa3a2,_0x51526f,_0x3cd3d1,_0x16530f,_0x5b4645){const _0x419366=_0x36f281;super(),_0x3e0772(this,'_online',!0x1),_0x3e0772(this,_0x419366(0x3b6),!0x1),_0x3e0772(this,'_cursorInfo$',new _0x30c949[(_0x419366(0x2f9))](new Map())),_0x3e0772(this,'cursorInfo$',this[_0x419366(0x3fb)][_0x419366(0x13a)]()),_0x3e0772(this,'_roomMembers$',new _0x30c949[(_0x419366(0x2f9))]([])),_0x3e0772(this,_0x419366(0x398),this[_0x419366(0x140)]['pipe'](_0x30c949[_0x419366(0x306)](_0x16296b))),_0x3e0772(this,'_updateLocalCursor',_0x593949[_0x419366(0x4e4)](_0xa54372=>{const _0x228a73=_0x419366,_0x4c7569={'eventID':_0x4968b4[_0x228a73(0xbc)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x228a73(0x2ba)],'memberID':this['_session'][_0x228a73(0x391)](),'selection':_0x2cec55(_0xa54372)}};this[_0x228a73(0x33f)][_0x228a73(0x4ce)](_0x4c7569,this[_0x228a73(0x2ba)]);},_0x345133)),(this[_0x419366(0x2ba)]=_0x5cfa84,this['_session']=_0x4b7016,this[_0x419366(0xf1)]=_0x4a1d8b,this[_0x419366(0x41c)]=_0x369efc,this['_memberService']=_0x6aa3a2,this[_0x419366(0x3a3)]=_0x51526f,this[_0x419366(0x496)]=_0x3cd3d1,this[_0x419366(0x276)]=_0x16530f,this[_0x419366(0x265)]=_0x5b4645);}get[_0x36f281(0x4d6)](){const _0x59a7df=_0x36f281;return this['_cursorInfo$'][_0x59a7df(0x159)]();}get[_0x36f281(0x119)](){const _0x16b1a4=_0x36f281;return this[_0x16b1a4(0x140)][_0x16b1a4(0x159)]();}[_0x36f281(0x1e6)](){const _0x41685e=_0x36f281;super[_0x41685e(0x1e6)](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$'][_0x41685e(0x259)](),this[_0x41685e(0x140)][_0x41685e(0x4e6)]([]),this[_0x41685e(0x140)][_0x41685e(0x259)]();}[_0x36f281(0x2bb)](){const _0x58ccd1=_0x36f281;this[_0x58ccd1(0x3b6)]||(this['_init']=!0x0,this[_0x58ccd1(0x33f)][_0x58ccd1(0x45c)]['pipe'](_0x30c949['takeUntil'](this['dispose$']))[_0x58ccd1(0x188)](_0x4855cd=>{const _0x5bd986=_0x58ccd1;_0x4855cd===_0x108499['ONLINE']?this['_toggleOnline']():this[_0x5bd986(0x1a9)]();}),this[_0x58ccd1(0x33f)]['event$']['pipe'](_0x30c949[_0x58ccd1(0x142)](this[_0x58ccd1(0x4d4)]))[_0x58ccd1(0x188)](_0x3d7f00=>{const _0x5b34de=_0x58ccd1,_0x2c13de=_0x3d7f00[_0x5b34de(0x10a)];_0x2c13de===_0x4968b4[_0x5b34de(0xbc)][_0x5b34de(0x18d)]&&this[_0x5b34de(0x27d)](_0x3d7f00),_0x2c13de===_0x4968b4[_0x5b34de(0xbc)][_0x5b34de(0x3b2)]&&this[_0x5b34de(0x206)](_0x3d7f00);}),this['disposeWithMe'](this[_0x58ccd1(0x265)]['onCommandExecuted'](_0x4278b3=>{const _0x50cf98=_0x58ccd1,_0x5a595f=_0x4278b3[_0x50cf98(0x2c8)];_0x5a595f!=null&&this['_online']&&_0x4278b3['id']===_0x4aa7be[_0x50cf98(0x4ca)]['id']&&_0x5a595f[_0x50cf98(0x315)]===this[_0x50cf98(0x2ba)]&&_0x5a595f['isEditing']===!0x1&&this['_updateLocalCursor'](_0x5a595f[_0x50cf98(0x1f5)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x58ccd1(0x49c)](_0x30c949[_0x58ccd1(0x142)](this['dispose$']))[_0x58ccd1(0x188)](_0x2c9b73=>{const _0x1353a4=_0x58ccd1;if((_0x2c9b73==null?void 0x0:_0x2c9b73[_0x1353a4(0x2ba)])!==this['unitID'])return;const _0x385597={'eventID':_0x4968b4[_0x1353a4(0xbc)]['UPDATE_CURSOR'],'data':_0x2c9b73};this['_onCursorUpdate'](_0x385597);}),this['disposeWithMe'](this[_0x58ccd1(0x265)]['onCommandExecuted'](_0x38edc0=>{const _0x524ea2=_0x58ccd1;if(_0x38edc0['params']==null)return;const _0x5cf42f=_0x38edc0[_0x524ea2(0x2c8)];if(_0x38edc0['id']!==_0x4aa7be[_0x524ea2(0x36e)]['id']||_0x5cf42f[_0x524ea2(0x315)]!==this['unitID'])return;const _0x57f644={'id':_0x524ea2(0x19d),'params':_0x5cf42f},_0x45e658=this[_0x524ea2(0x4d6)];for(const [_0x6b4c0b,_0x5059f7]of _0x45e658){const _0x43a3f4={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x524ea2(0x2ba)],'actions':null,'textRanges':_0x5059f7[_0x524ea2(0x1f5)]}},_0x3e5ced=this['_transformService'][_0x524ea2(0x18c)](_0x57f644,_0x43a3f4,!0x1);if(_0x4968b4[_0x524ea2(0x1e1)](_0x3e5ced))throw _0x3e5ced[_0x524ea2(0x302)];_0x45e658[_0x524ea2(0x2bd)](_0x6b4c0b,{..._0x5059f7,'ranges':_0x3e5ced[_0x524ea2(0xb3)][_0x524ea2(0x2c8)][_0x524ea2(0x4cb)]});}queueMicrotask(()=>{const _0x3cb674=_0x524ea2;this['_cursorInfo$'][_0x3cb674(0x4e6)](_0x45e658);});})));}[_0x36f281(0x27d)](_0x5cb68c){const _0x18480b=_0x36f281;var _0x515c46,_0x5684f3;const {memberID:_0x4eeb96,selection:_0x455db9}=_0x5cb68c[_0x18480b(0x298)],_0x56b15b=_0x36aa49(_0x455db9),_0x41da3f=(_0x5684f3=(_0x515c46=this[_0x18480b(0x277)][_0x18480b(0x4a8)](this[_0x18480b(0x2ba)],_0x4eeb96))==null?void 0x0:_0x515c46[_0x18480b(0x4a2)])!=null?_0x5684f3:'Unknown\x20user',_0x20deaa={'color':this[_0x18480b(0x41c)][_0x18480b(0x111)](_0x4eeb96),'name':_0x41da3f,'ranges':_0x56b15b},_0x3b5066=this[_0x18480b(0x4d6)];_0x3b5066['set'](_0x4eeb96,_0x20deaa),this[_0x18480b(0x3fb)][_0x18480b(0x4e6)](_0x3b5066);}['_onCursorDelete'](_0x5f22fb){const _0x4e90d1=_0x36f281,{memberID:_0x201ce8}=_0x5f22fb['data'],_0x1c4a9f=this['cursorInfo'];_0x1c4a9f['delete'](_0x201ce8),this[_0x4e90d1(0x3fb)]['next'](_0x1c4a9f);}['_toggleOnline'](){const _0xaaa334=_0x36f281;var _0x3be34c;if(this[_0xaaa334(0x4ba)]=!0x0,((_0x3be34c=this['_univerInstanceService'][_0xaaa334(0x1f6)]())==null?void 0x0:_0x3be34c['getUnitId']())!==this[_0xaaa334(0x2ba)])return;const _0x1d7205=this['_injector']['get'](_0x4aa7be[_0xaaa334(0x46e)])[_0xaaa334(0x384)]();Array[_0xaaa334(0x10c)](_0x1d7205)&&_0x1d7205['length']>0x0&&this[_0xaaa334(0xe1)](_0x1d7205);}[_0x36f281(0x1a9)](){const _0x2d78e8=_0x36f281;this[_0x2d78e8(0x4ba)]=!0x1;}};_0x3353fc=_0x281bab([_0x1bee55(0x2,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x1bee55(0x3,_0x593949['Inject'](_0x5d0f13)),_0x1bee55(0x4,_0x593949['Inject'](_0x40c14d)),_0x1bee55(0x5,_0x593949[_0x36f281(0xb9)](_0x337544)),_0x1bee55(0x6,_0x4968b4[_0x36f281(0x415)]),_0x1bee55(0x7,_0x593949['IUniverInstanceService']),_0x1bee55(0x8,_0x593949['ICommandService'])],_0x3353fc);var _0x1d9f75=Object[_0x36f281(0x49a)],_0x4414bb=Object['getOwnPropertyDescriptor'],_0x39b844=(_0x46865c,_0x175fa8,_0x4d2871,_0x5b4a87)=>{const _0x4a9556=_0x36f281;for(var _0x431599=_0x5b4a87>0x1?void 0x0:_0x5b4a87?_0x4414bb(_0x175fa8,_0x4d2871):_0x175fa8,_0x3e54c8=_0x46865c[_0x4a9556(0x43f)]-0x1,_0x596120;_0x3e54c8>=0x0;_0x3e54c8--)(_0x596120=_0x46865c[_0x3e54c8])&&(_0x431599=(_0x5b4a87?_0x596120(_0x175fa8,_0x4d2871,_0x431599):_0x596120(_0x431599))||_0x431599);return _0x5b4a87&&_0x431599&&_0x1d9f75(_0x175fa8,_0x4d2871,_0x431599),_0x431599;},_0x48ea6d=(_0x45e313,_0x5a9de9)=>(_0x46d533,_0x477e6e)=>_0x5a9de9(_0x46d533,_0x477e6e,_0x45e313);const _0x3e52a8=0x12c,_0x322fbb=0x64,_0x3817ab=()=>{let _0x482cbf=[],_0xf9e2b0=!0x1;return _0x3828bb=>{const _0x444026=_0x4c16;_0x482cbf[_0x444026(0x43c)](_0x3828bb),_0xf9e2b0||(_0xf9e2b0=!0x0,setTimeout(()=>{_0x482cbf['forEach'](_0x3e9b83=>_0x3e9b83()),_0x482cbf=[],_0xf9e2b0=!0x1;}));};};let _0x58677e=class extends _0x593949[_0x36f281(0x130)]{constructor(_0x71d2a3,_0x264990,_0x18276c,_0x5e9132,_0x3b41ff,_0x3a2be2,_0x4afb54,_0x587c6e){const _0x71230c=_0x36f281;super(),_0x3e0772(this,_0x71230c(0x4ba),!0x1),_0x3e0772(this,_0x71230c(0x3b6),!0x1),_0x3e0772(this,'_cursorInfo$',new _0x30c949[(_0x71230c(0x2f9))](new Map())),_0x3e0772(this,_0x71230c(0x47c),this[_0x71230c(0x3fb)][_0x71230c(0x13a)]()),_0x3e0772(this,_0x71230c(0x140),new _0x30c949[(_0x71230c(0x2f9))]([])),_0x3e0772(this,_0x71230c(0x398),this['_roomMembers$'][_0x71230c(0x49c)](_0x30c949[_0x71230c(0x306)](_0x3e52a8))),_0x3e0772(this,_0x71230c(0xe1),_0x593949[_0x71230c(0x4e4)]((_0x4c2661,_0x2eb24e)=>{const _0x1514bf=_0x71230c,_0x5902bc={'eventID':_0x4968b4[_0x1514bf(0xbc)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1514bf(0x2ba)],'memberID':this[_0x1514bf(0x33f)][_0x1514bf(0x391)](),'selection':_0x399ee2[_0x1514bf(0x249)](_0x4c2661,_0x2eb24e['range'])}};this[_0x1514bf(0x33f)][_0x1514bf(0x4ce)](_0x5902bc,this[_0x1514bf(0x2ba)]);},_0x322fbb)),(this[_0x71230c(0x2ba)]=_0x71d2a3,this[_0x71230c(0x33f)]=_0x264990,this[_0x71230c(0xf1)]=_0x18276c,this['_colorAssignService']=_0x5e9132,this[_0x71230c(0x277)]=_0x3b41ff,this['_univerInstanceService']=_0x3a2be2,this[_0x71230c(0x265)]=_0x4afb54,this[_0x71230c(0x184)]=_0x587c6e);}get[_0x36f281(0x4d6)](){const _0x18c9aa=_0x36f281;return this[_0x18c9aa(0x3fb)][_0x18c9aa(0x159)]();}get[_0x36f281(0x119)](){const _0x4aed0b=_0x36f281;return this[_0x4aed0b(0x140)][_0x4aed0b(0x159)]();}[_0x36f281(0x1e6)](){const _0x172cae=_0x36f281;super['dispose'](),this[_0x172cae(0x3fb)][_0x172cae(0x4e6)](new Map()),this['_cursorInfo$'][_0x172cae(0x259)](),this[_0x172cae(0x140)][_0x172cae(0x4e6)]([]),this[_0x172cae(0x140)][_0x172cae(0x259)]();}['init'](){const _0x1b5e34=_0x36f281;this[_0x1b5e34(0x3b6)]||(this['_init']=!0x0,this[_0x1b5e34(0x33f)][_0x1b5e34(0x45c)][_0x1b5e34(0x49c)](_0x30c949[_0x1b5e34(0x142)](this[_0x1b5e34(0x4d4)]))['subscribe'](_0x2dad08=>{const _0x199066=_0x1b5e34;_0x2dad08===_0x108499['ONLINE']?this['_toggleOnline']():this[_0x199066(0x1a9)]();}),this[_0x1b5e34(0x33f)][_0x1b5e34(0x44d)][_0x1b5e34(0x49c)](_0x30c949['takeUntil'](this['dispose$']))[_0x1b5e34(0x188)](_0x52b9e4=>{const _0x1a0b74=_0x1b5e34,_0x37c1d7=_0x52b9e4['eventID'];_0x37c1d7===_0x4968b4[_0x1a0b74(0xbc)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x52b9e4),_0x37c1d7===_0x4968b4[_0x1a0b74(0xbc)]['USERS_LEAVE']&&this[_0x1a0b74(0x206)](_0x52b9e4);}),this[_0x1b5e34(0x325)](),this['disposeWithMe'](this[_0x1b5e34(0x265)][_0x1b5e34(0x33c)](_0x2df047=>{const _0x338d1c=_0x1b5e34;if(this[_0x338d1c(0x4ba)]&&_0x2df047['id']===_0xec6805[_0x338d1c(0x195)]['id']&&_0x2df047[_0x338d1c(0x2c8)][_0x338d1c(0x315)]===this[_0x338d1c(0x2ba)]){const _0x5b7d7d=_0x2df047[_0x338d1c(0x2c8)];this[_0x338d1c(0xe1)](_0x5b7d7d[_0x338d1c(0x4c9)],_0x5b7d7d[_0x338d1c(0x10f)][0x0]);}})));}[_0x36f281(0x27d)](_0x17b102){const _0x314e7f=_0x36f281;var _0x32d874,_0x581a9b;const {memberID:_0x56b398,selection:_0x8cbfb5}=_0x17b102[_0x314e7f(0x298)],{sheetName:_0x5d31e8,range:_0xd4f0d2}=_0x399ee2['deserializeRangeWithSheet'](_0x8cbfb5),_0x3215ef={'name':(_0x581a9b=(_0x32d874=this[_0x314e7f(0x277)][_0x314e7f(0x4a8)](this[_0x314e7f(0x2ba)],_0x56b398))==null?void 0x0:_0x32d874['name'])!=null?_0x581a9b:_0x314e7f(0x30f),'range':this[_0x314e7f(0x2b3)](_0x5d31e8,_0xd4f0d2),'sheetID':_0x5d31e8,'color':this[_0x314e7f(0x41c)]['assignAColorForMemberID'](_0x56b398),'selection':_0x8cbfb5},_0x3254aa=this[_0x314e7f(0x4d6)];_0x3254aa[_0x314e7f(0x2bd)](_0x56b398,_0x3215ef),this['_cursorInfo$']['next'](_0x3254aa);}['_onCursorDelete'](_0x3c5c86){const _0x5a9576=_0x36f281,{memberID:_0x403250}=_0x3c5c86[_0x5a9576(0x298)],_0x460741=this[_0x5a9576(0x4d6)];_0x460741['delete'](_0x403250),this[_0x5a9576(0x3fb)][_0x5a9576(0x4e6)](_0x460741);}[_0x36f281(0x2b3)](_0x579039,_0x3b2040){const _0xbeba5e=_0x36f281;var _0xbf3825,_0x23f561;const _0x4683d0=(_0x23f561=(_0xbf3825=this['_univerInstanceService'][_0xbeba5e(0x19a)](this[_0xbeba5e(0x2ba)]))==null?void 0x0:_0xbf3825[_0xbeba5e(0x16c)](_0x579039))==null?void 0x0:_0x23f561['getMergeData']();return(_0x4683d0==null?void 0x0:_0x4683d0[_0xbeba5e(0x1fd)](_0x3376b8=>_0x593949['Rectangle'][_0xbeba5e(0x2b6)](_0x3376b8,_0x3b2040)))||_0x3b2040;}[_0x36f281(0x325)](){const _0x114e1e=_0x36f281,_0x1e635c=new _0x593949[(_0x114e1e(0x182))](),_0xb518f0=_0x3817ab(),_0x1525a3=()=>{const _0x175f3b=_0x114e1e;_0x1e635c['dispose']();const _0x443a95=(_0xb95c8b,_0x553428,_0x4c8270,_0x52093a)=>{const _0x1e2140=_0x4c16;let _0x260351=[];switch(_0xb95c8b['id']){case _0xec6805[_0x1e2140(0x180)][_0x1e2140(0x406)]:{_0x260351=_0xec6805[_0x1e2140(0x2dc)](_0xb95c8b,_0x52093a);break;}case _0xec6805[_0x1e2140(0x180)][_0x1e2140(0x1ac)]:{_0x260351=_0xec6805[_0x1e2140(0x16e)](_0xb95c8b,_0x52093a);break;}case _0xec6805[_0x1e2140(0x180)][_0x1e2140(0x445)]:{_0x260351=_0xec6805[_0x1e2140(0x341)](_0xb95c8b,_0x52093a);break;}case _0xec6805[_0x1e2140(0x180)][_0x1e2140(0x4a0)]:{_0x260351=_0xec6805[_0x1e2140(0x2d4)](_0xb95c8b,_0x52093a);break;}case _0xec6805[_0x1e2140(0x180)][_0x1e2140(0x12b)]:{_0x260351=_0xec6805[_0x1e2140(0x331)](_0xb95c8b,_0x52093a);break;}case _0xec6805['EffectRefRangId']['InsertRowCommandId']:{_0x260351=_0xec6805[_0x1e2140(0x40a)](_0xb95c8b,_0x52093a);break;}case _0xec6805[_0x1e2140(0x180)]['MoveRangeCommandId']:{_0x260351=_0xec6805['handleMoveRange'](_0xb95c8b,_0x52093a);break;}case _0xec6805[_0x1e2140(0x180)][_0x1e2140(0x33d)]:{_0x260351=_0xec6805[_0x1e2140(0x38c)](_0xb95c8b,_0x52093a);break;}case _0xec6805[_0x1e2140(0x180)][_0x1e2140(0x1a0)]:{_0x260351=_0xec6805[_0x1e2140(0x1b1)](_0xb95c8b,_0x52093a);break;}}const _0x474b21=_0xec6805['runRefRangeMutations'](_0x260351,_0x52093a),_0x11909d=this['cursorInfo'][_0x1e2140(0x14e)](_0x553428);if(_0x11909d&&_0x474b21){const _0x24ca6c={..._0x11909d,'range':_0x474b21};this[_0x1e2140(0x4d6)][_0x1e2140(0x2bd)](_0x553428,_0x24ca6c),_0xb518f0(()=>{const _0x646c1a=_0x1e2140,_0x3f921c=this[_0x646c1a(0x184)]['registerRefRange'](_0x474b21,_0x520105=>(_0x3f921c[_0x646c1a(0x1e6)](),_0x443a95(_0x520105,_0x553428,_0x4c8270,_0x474b21)));_0x1e635c[_0x646c1a(0xf6)](_0x3f921c);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x175f3b(0x2a0)]((_0x5f2a14,_0x5af517)=>{const _0x1d1983=_0x175f3b,{range:_0x3bbfd0,sheetID:_0x18ca9a}=_0x5f2a14,_0x14dfad=this[_0x1d1983(0x184)][_0x1d1983(0x387)](_0x3bbfd0,_0x19ca34=>(_0x14dfad[_0x1d1983(0x1e6)](),_0x443a95(_0x19ca34,_0x5af517,_0x18ca9a,_0x3bbfd0)));_0x1e635c[_0x1d1983(0xf6)](_0x14dfad);});};this['disposeWithMe'](_0x593949['toDisposable'](this[_0x114e1e(0x3fb)]['subscribe'](()=>{_0x1525a3();})));}[_0x36f281(0x1fc)](){const _0x14b443=_0x36f281;var _0x1dd0f5,_0x127574;if(this[_0x14b443(0x4ba)]=!0x0,((_0x1dd0f5=this[_0x14b443(0x276)]['getFocusedUnit']())==null?void 0x0:_0x1dd0f5[_0x14b443(0x4c0)]())!==this[_0x14b443(0x2ba)])return;const _0x367863=(_0x127574=this[_0x14b443(0xf1)][_0x14b443(0x14e)](_0xec6805[_0x14b443(0x295)])['getCurrentSelections']())==null?void 0x0:_0x127574[0x0],_0x10be53=this[_0x14b443(0x276)][_0x14b443(0x17e)](_0x593949[_0x14b443(0xaf)]['UNIVER_SHEET'])[_0x14b443(0x49b)]();_0x367863&&_0x10be53&&this[_0x14b443(0xe1)](_0x10be53[_0x14b443(0x353)](),_0x367863);}[_0x36f281(0x1a9)](){this['_online']=!0x1;}};_0x58677e=_0x39b844([_0x48ea6d(0x2,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x48ea6d(0x3,_0x593949['Inject'](_0x5d0f13)),_0x48ea6d(0x4,_0x593949['Inject'](_0x40c14d)),_0x48ea6d(0x5,_0x593949[_0x36f281(0x1dc)]),_0x48ea6d(0x6,_0x593949['ICommandService']),_0x48ea6d(0x7,_0x593949[_0x36f281(0xb9)](_0xec6805['RefRangeService']))],_0x58677e);var _0x483cdd=Object[_0x36f281(0x49a)],_0x516b07=Object[_0x36f281(0x381)],_0x219bc0=(_0x28978c,_0x51b5b6,_0x6e3059,_0x34a477)=>{const _0x23f572=_0x36f281;for(var _0x511b19=_0x34a477>0x1?void 0x0:_0x34a477?_0x516b07(_0x51b5b6,_0x6e3059):_0x51b5b6,_0x4ed6b9=_0x28978c[_0x23f572(0x43f)]-0x1,_0x4f743a;_0x4ed6b9>=0x0;_0x4ed6b9--)(_0x4f743a=_0x28978c[_0x4ed6b9])&&(_0x511b19=(_0x34a477?_0x4f743a(_0x51b5b6,_0x6e3059,_0x511b19):_0x4f743a(_0x511b19))||_0x511b19);return _0x34a477&&_0x511b19&&_0x483cdd(_0x51b5b6,_0x6e3059,_0x511b19),_0x511b19;},_0x247f3a=(_0x1c7a21,_0x4a6a0b)=>(_0x1cf001,_0x425725)=>_0x4a6a0b(_0x1cf001,_0x425725,_0x1c7a21);let _0x455914=class extends _0x593949[_0x36f281(0x130)]{constructor(_0x458715,_0x37d396,_0x333756){const _0xc02a3=_0x36f281;super(),_0x3e0772(this,_0xc02a3(0x11d),new Map()),_0x3e0772(this,_0xc02a3(0x344),new _0x30c949[(_0xc02a3(0x20c))]()),(this[_0xc02a3(0x276)]=_0x458715,this['_injector']=_0x37d396,this['_collabSessionService']=_0x333756,this[_0xc02a3(0x3b6)]());}[_0x36f281(0x1e6)](){const _0x303e6a=_0x36f281;super[_0x303e6a(0x1e6)](),this[_0x303e6a(0x344)][_0x303e6a(0x259)](),this[_0x303e6a(0x11d)][_0x303e6a(0x2a0)](_0x12fbd3=>_0x12fbd3['dispose']());}['getCollabCursors$'](_0x1f4aa1){const _0x1504a1=_0x36f281;return this[_0x1504a1(0x11d)]['has'](_0x1f4aa1)?this[_0x1504a1(0x11d)]['get'](_0x1f4aa1)[_0x1504a1(0x47c)]:this['_entityInit$'][_0x1504a1(0x49c)](_0x30c949[_0x1504a1(0x218)](_0x37ba47=>_0x37ba47['unitID']===_0x1f4aa1),_0x30c949['switchMap'](_0x4c61bd=>_0x4c61bd[_0x1504a1(0x47c)]));}[_0x36f281(0x3b6)](){const _0x5518cd=_0x36f281;this[_0x5518cd(0x276)][_0x5518cd(0x19c)](_0x593949['UniverInstanceType'][_0x5518cd(0x12e)])[_0x5518cd(0x49c)](_0x30c949['takeUntil'](this[_0x5518cd(0x4d4)]))[_0x5518cd(0x188)](async _0x3dbe2d=>{const _0x4dfcbd=_0x5518cd,_0x140e2b=_0x3dbe2d['getUnitId'](),_0x17259b=await this[_0x4dfcbd(0x3bc)](_0x140e2b);this['_entityInit$'][_0x4dfcbd(0x4e6)](_0x17259b),this[_0x4dfcbd(0x11d)][_0x4dfcbd(0x2bd)](_0x140e2b,_0x17259b);}),this[_0x5518cd(0x276)][_0x5518cd(0x19c)](_0x593949[_0x5518cd(0xaf)][_0x5518cd(0x4e1)])[_0x5518cd(0x49c)](_0x30c949['takeUntil'](this[_0x5518cd(0x4d4)]))['pipe'](_0x30c949['filter'](_0x24065c=>!_0x24065c['getUnitId']()[_0x5518cd(0x1e7)]('__')))['subscribe'](async _0x2dc820=>{const _0x2f99de=_0x5518cd,_0x240c80=_0x2dc820[_0x2f99de(0x4c0)](),_0x4826b2=await this[_0x2f99de(0x2c1)](_0x240c80);this[_0x2f99de(0x344)][_0x2f99de(0x4e6)](_0x4826b2),this[_0x2f99de(0x11d)][_0x2f99de(0x2bd)](_0x240c80,_0x4826b2);}),_0x30c949[_0x5518cd(0x27f)](this[_0x5518cd(0x276)][_0x5518cd(0x27a)](_0x593949[_0x5518cd(0xaf)]['UNIVER_DOC']),this[_0x5518cd(0x276)][_0x5518cd(0x27a)](_0x593949[_0x5518cd(0xaf)]['UNIVER_SHEET']))[_0x5518cd(0x49c)](_0x30c949[_0x5518cd(0x142)](this['dispose$']))[_0x5518cd(0x188)](_0x452be7=>{const _0x45549c=_0x5518cd,_0x831745=_0x452be7[_0x45549c(0x4c0)](),_0x3d350c=this[_0x45549c(0x11d)][_0x45549c(0x14e)](_0x831745);_0x3d350c&&(_0x3d350c['dispose'](),this[_0x45549c(0x11d)][_0x45549c(0x393)](_0x831745));});}async[_0x36f281(0x3bc)](_0x3bf126){const _0x11a51c=_0x36f281,_0x5d17c3=await this[_0x11a51c(0x129)][_0x11a51c(0x296)](_0x3bf126),_0x1ae8e5=this[_0x11a51c(0xf1)][_0x11a51c(0xb4)](_0x58677e,_0x3bf126,_0x5d17c3);return _0x1ae8e5[_0x11a51c(0x2bb)](),_0x1ae8e5;}async[_0x36f281(0x2c1)](_0x19e878){const _0x4925a4=_0x36f281,_0x44e459=await this[_0x4925a4(0x129)][_0x4925a4(0x296)](_0x19e878),_0x8c3331=this[_0x4925a4(0xf1)][_0x4925a4(0xb4)](_0x3353fc,_0x19e878,_0x44e459);return _0x8c3331['init'](),_0x8c3331;}};_0x455914=_0x219bc0([_0x247f3a(0x0,_0x593949['IUniverInstanceService']),_0x247f3a(0x1,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x247f3a(0x2,_0x593949['Inject'](_0x4238fe[_0x36f281(0x370)]))],_0x455914);const _0x60143b=0x14,_0x339035=0xc8,_0x130ec4=0x4,_0x3a331a=0x5;function _0x57a00a(_0x5b2740,_0x345029){const _0x150a37=_0x36f281;let {radius:_0xe713c4,width:_0x4942f4,height:_0x212996}=_0x345029;_0xe713c4=_0xe713c4!=null?_0xe713c4:0x0,_0x4942f4=_0x4942f4!=null?_0x4942f4:0x1e,_0x212996=_0x212996!=null?_0x212996:0x1e;let _0x19fb50=0x0,_0xb67f4c=0x0,_0x20eff2=0x0;_0x19fb50=_0xb67f4c=_0x20eff2=Math[_0x150a37(0xed)](_0xe713c4,_0x4942f4/0x2,_0x212996/0x2),_0x5b2740[_0x150a37(0x432)](),_0x5b2740['moveTo'](_0x19fb50,0x0),_0x5b2740['lineTo'](_0x4942f4-_0xb67f4c,0x0),_0x5b2740[_0x150a37(0x416)](_0x4942f4-_0xb67f4c,_0xb67f4c,_0xb67f4c,Math['PI']*0x3/0x2,0x0,!0x1),_0x5b2740[_0x150a37(0x2c7)](_0x4942f4,_0x212996-_0x20eff2),_0x5b2740[_0x150a37(0x416)](_0x4942f4-_0x20eff2,_0x212996-_0x20eff2,_0x20eff2,0x0,Math['PI']/0x2,!0x1),_0x5b2740['lineTo'](0x0,_0x212996),_0x5b2740['lineTo'](0x0,_0x19fb50),_0x5b2740[_0x150a37(0x416)](_0x19fb50,_0x19fb50,_0x19fb50,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5b2740[_0x150a37(0x36c)](),_0x345029[_0x150a37(0xda)]&&(_0x5b2740[_0x150a37(0x497)](),_0x5b2740[_0x150a37(0x2c0)]=_0x345029[_0x150a37(0xda)],_0x345029[_0x150a37(0x105)]==='evenodd'?_0x5b2740[_0x150a37(0xda)](_0x150a37(0x48f)):_0x5b2740[_0x150a37(0xda)](),_0x5b2740[_0x150a37(0x212)]());}class _0xc05a02 extends _0xa07e34[_0x36f281(0x378)]{constructor(_0x331bfa,_0x2875a2){const _0x269962=_0x36f281;super(_0x331bfa,_0x2875a2),_0x3e0772(this,_0x269962(0x2a6)),_0x3e0772(this,_0x269962(0x18b)),(this[_0x269962(0x2a6)]=_0x2875a2==null?void 0x0:_0x2875a2[_0x269962(0x2a6)],this['text']=_0x2875a2==null?void 0x0:_0x2875a2[_0x269962(0x18b)]);}static[_0x36f281(0x2db)](_0x46d1d2,_0x2c1b62){const _0x568ea2=_0x36f281,{text:_0x3ef2c,color:_0x57d863}=_0x2c1b62;_0x46d1d2[_0x568ea2(0x497)](),_0x46d1d2[_0x568ea2(0x4ab)]=_0x568ea2(0x147);const _0x1b2a6c=_0x46d1d2[_0x568ea2(0x244)](_0x3ef2c)[_0x568ea2(0x19f)],_0x45d9c1=Math[_0x568ea2(0xed)](_0x1b2a6c+0x2*_0x130ec4,_0x339035);_0x57a00a(_0x46d1d2,{'height':_0x60143b,'radius':0x4,'width':_0x45d9c1,'fill':_0x57d863,'evented':!0x1}),_0x46d1d2[_0x568ea2(0x2c0)]=_0x568ea2(0x288);const _0x17af1e=_0x130ec4,_0x5bb34a=_0x60143b-_0x3a331a,_0x1199b3=_0x339035-0x2*_0x130ec4;if(_0x1b2a6c>_0x1199b3){let _0x26d1f5='',_0x2299f5=0x0;for(const _0x1ddfe8 of _0x3ef2c){const _0x43027b=_0x46d1d2[_0x568ea2(0x244)](_0x1ddfe8)[_0x568ea2(0x19f)];if(_0x2299f5+_0x43027b<=_0x1199b3-_0x46d1d2['measureText'](_0x568ea2(0x429))[_0x568ea2(0x19f)])_0x26d1f5+=_0x1ddfe8,_0x2299f5+=_0x43027b;else{_0x26d1f5+=_0x568ea2(0x429);break;}}_0x46d1d2['fillText'](_0x26d1f5,_0x17af1e,_0x5bb34a);}else _0x46d1d2[_0x568ea2(0x2fe)](_0x3ef2c,_0x17af1e,_0x5bb34a);_0x46d1d2[_0x568ea2(0x212)]();}[_0x36f281(0x264)](_0x3f8fdb){_0xc05a02['drawWith'](_0x3f8fdb,this);}}const _0x3fd1e2='collab-text-anchor-',_0xfcf932=_0x36f281(0x110),_0x5b6e09=_0x36f281(0x3c1),_0xd11e0e=0x6,_0x28f04e=1.5,_0x1aa8bf=0x4,_0x50e2ac=1.5,_0x28dfe7=_0x36f281(0x3bf);class _0x4747cd{constructor(_0x2a73e9,_0x25fffb,_0x372bdd,_0x4b7a9c){const _0x159d29=_0x36f281;_0x3e0772(this,_0x159d29(0x252),[]),_0x3e0772(this,_0x159d29(0xc4),null),_0x3e0772(this,_0x159d29(0x4e3),null),_0x3e0772(this,_0x159d29(0x47e),null),_0x3e0772(this,'_hideTimer',null),_0x3e0772(this,_0x159d29(0x293),null),(this[_0x159d29(0x329)]=_0x2a73e9,this[_0x159d29(0x39d)]=_0x25fffb,this[_0x159d29(0x3fc)]=_0x372bdd,this[_0x159d29(0x490)]=_0x4b7a9c,this['_render']());}set[_0x36f281(0x3c2)](_0x3e6152){const _0x26d97f=_0x36f281;_0x3e6152?(this[_0x26d97f(0x47e)]&&this['_anchorDot']['hide'](),this['_textBubble']&&this[_0x26d97f(0x4e3)][_0x26d97f(0x348)]()):(this[_0x26d97f(0x47e)]&&this[_0x26d97f(0x47e)][_0x26d97f(0x348)](),this[_0x26d97f(0x4e3)]&&this[_0x26d97f(0x4e3)][_0x26d97f(0x48b)]());}[_0x36f281(0x1e6)](){const _0x111ef8=_0x36f281;for(const _0x3c9b31 of this['_shapes'])_0x3c9b31[_0x111ef8(0x1e6)]();this[_0x111ef8(0x4e3)]&&this[_0x111ef8(0x4e3)]['dispose'](),this[_0x111ef8(0x47e)]&&this['_anchorDot'][_0x111ef8(0x1e6)](),this[_0x111ef8(0xc4)]&&this['_anchor']['dispose'](),this[_0x111ef8(0x293)]&&this['_eventUnsubscribe']();}['_render'](){const _0x46971e=_0x36f281;var _0x1845a8;const {_docSkeleton:_0x272d25,_document:_0x4593ad}=this,{color:_0x25edc4,name:_0x13d85c,ranges:_0x1c20d2}=this[_0x46971e(0x329)],_0x4c01b4=_0x4593ad[_0x46971e(0x2c9)](),{docsLeft:_0x2649a0,docsTop:_0x2e45e3}=_0x4c01b4,_0x2d1aa7=new _0x5c6469[(_0x46971e(0x242))](_0x4c01b4,_0x272d25);for(const {startOffset:_0x302bd3,endOffset:_0x2e2a3b,collapsed:_0x23fa1c,isActive:_0x1c3f9c}of _0x1c20d2){const _0x149e5e=_0x272d25[_0x46971e(0x2cb)](_0x302bd3),_0x21ebf8=_0x272d25[_0x46971e(0x2cb)](_0x2e2a3b);if(_0x1c3f9c){const {contentBoxPointGroup:_0x5e5baa}=_0x2d1aa7[_0x46971e(0x21b)](_0x21ebf8,_0x21ebf8);if(_0x5e5baa[_0x46971e(0x43f)]===0x0)continue;this[_0x46971e(0x156)](_0x25edc4,_0x5e5baa,_0x2649a0,_0x2e45e3,_0x13d85c),this[_0x46971e(0x293)]=this[_0x46971e(0x2ed)]();}if(!_0x23fa1c&&_0x149e5e&&_0x21ebf8){if(_0x5c6469[_0x46971e(0x11b)](_0x149e5e,_0x21ebf8)){const _0xd9de8c=new _0x5c6469['NodePositionConvertToRectRange'](_0x4c01b4,_0x272d25),{pointGroup:_0x3c891f}=(_0x1845a8=_0xd9de8c['getRangePointData'](_0x149e5e,_0x21ebf8))!=null?_0x1845a8:{};if(_0x3c891f==null||_0x3c891f[_0x46971e(0x43f)]===0x0)continue;this[_0x46971e(0xf5)](_0x25edc4,_0x3c891f,_0x2649a0,_0x2e45e3);}else{const {contentBoxPointGroup:_0x3d219c}=_0x2d1aa7[_0x46971e(0x21b)](_0x149e5e,_0x21ebf8);if(_0x3d219c[_0x46971e(0x43f)]===0x0)continue;this[_0x46971e(0x3e5)](_0x25edc4,_0x3d219c,_0x2649a0,_0x2e45e3);}}}}[_0x36f281(0x156)](_0x2edf17,_0x43ef65,_0x4ab47b,_0x1fb6a9,_0x17d738){const _0x506741=_0x36f281,_0x1c5d4f=this[_0x506741(0x1d0)](_0x43ef65),{left:_0x2609cd,top:_0x35842e,height:_0x2aae52}=_0x1c5d4f,_0xa93bb9=this[_0x506741(0x3ae)](),_0x219d99=_0x50e2ac/_0xa93bb9,_0x39ef26=new _0xa07e34['Rect'](_0x3fd1e2+_0x593949['Tools'][_0x506741(0x433)](_0xd11e0e),{'left':_0x2609cd+_0x4ab47b-_0x219d99,'top':_0x35842e+_0x1fb6a9,'height':_0x2aae52,'width':_0x28f04e,'fill':_0x2edf17||_0xa07e34[_0x506741(0x386)](_0x593949['COLORS']['black'],0x0),'strokeWidth':_0x219d99,'stroke':_0x28dfe7,'evented':!0x0});this['_anchor']=_0x39ef26,this[_0x506741(0x39d)][_0x506741(0x38e)](_0x39ef26,_0x5c6469['TEXT_RANGE_LAYER_INDEX']);const _0x47b763=new _0xa07e34[(_0x506741(0x247))](_0x3fd1e2+_0x593949['Tools'][_0x506741(0x433)](_0xd11e0e),{'left':_0x2609cd+_0x4ab47b-_0x219d99,'top':_0x35842e+_0x1fb6a9-_0x1aa8bf/0x2,'height':_0x1aa8bf,'width':_0x1aa8bf,'fill':_0x2edf17||_0xa07e34[_0x506741(0x386)](_0x593949[_0x506741(0x3ba)][_0x506741(0x29f)],0x0),'strokeWidth':0x0,'stroke':_0x2edf17||_0xa07e34[_0x506741(0x386)](_0x593949[_0x506741(0x3ba)][_0x506741(0x29f)],0x0),'evented':!0x1});this['_anchorDot']=_0x47b763,this['_scene']['addObject'](_0x47b763,_0x5c6469['TEXT_RANGE_LAYER_INDEX']);const _0x4568e1=new _0xc05a02(_0x3fd1e2+_0x593949[_0x506741(0x205)]['generateRandomId'](_0xd11e0e),{'left':_0x2609cd+_0x4ab47b-_0x219d99,'top':_0x35842e+_0x1fb6a9-_0x60143b,'text':_0x17d738,'color':_0x2edf17});this[_0x506741(0x4e3)]=_0x4568e1,this[_0x506741(0x39d)][_0x506741(0x38e)](_0x4568e1,_0x5c6469[_0x506741(0x189)]),this[_0x506741(0x3c2)]=!0x1;}[_0x36f281(0x2ed)](){const _0x4ad1d3=_0x36f281,_0x5be4d6=this['_anchor'][_0x4ad1d3(0x2f1)][_0x4ad1d3(0x174)](()=>{const _0x533ce5=_0x4ad1d3;this[_0x533ce5(0x3c2)]=!0x0;}),_0x57961f=this[_0x4ad1d3(0xc4)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x10b3c=_0x4ad1d3;this['_hideTimer']&&clearTimeout(this[_0x10b3c(0x15b)]),this[_0x10b3c(0x15b)]=setTimeout(()=>{const _0x48da71=_0x10b3c;this[_0x48da71(0x3c2)]=!0x1;},0x7d0);});return()=>{const _0x1f3cb8=_0x4ad1d3;_0x5be4d6[_0x1f3cb8(0x19b)](),_0x57961f[_0x1f3cb8(0x19b)]();};}[_0x36f281(0x3e5)](_0x4098e0,_0x201e5c,_0x1381b3,_0x116dc5){const _0xbe1059=_0x36f281,_0x170f24=new _0x593949[(_0xbe1059(0x175))](_0x4098e0)[_0xbe1059(0x248)](0.2)[_0xbe1059(0x2ee)](),_0x313d7e=new _0xa07e34[(_0xbe1059(0xcc))](_0xfcf932+_0x593949[_0xbe1059(0x205)][_0xbe1059(0x433)](_0xd11e0e),{'pointsGroup':_0x201e5c,'fill':_0x170f24||_0xa07e34['getColor'](_0x593949[_0xbe1059(0x3ba)][_0xbe1059(0x29f)],0.2),'left':_0x1381b3,'top':_0x116dc5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xbe1059(0x252)][_0xbe1059(0x43c)](_0x313d7e),this[_0xbe1059(0x39d)][_0xbe1059(0x38e)](_0x313d7e,_0x5c6469[_0xbe1059(0x189)]);}['_drawRectRange'](_0x246807,_0x30a282,_0x49b1c0,_0x1f2a42){const _0x11beb3=_0x36f281,_0x25f96c=new _0x593949[(_0x11beb3(0x175))](_0x246807)[_0x11beb3(0x248)](0.2)[_0x11beb3(0x2ee)](),_0x510691=new _0xa07e34['RegularPolygon'](_0x5b6e09+_0x593949['Tools']['generateRandomId'](_0xd11e0e),{'pointsGroup':_0x30a282,'fill':_0x25f96c||_0xa07e34[_0x11beb3(0x386)](_0x593949[_0x11beb3(0x3ba)]['black'],0.2),'left':_0x49b1c0,'top':_0x1f2a42,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x11beb3(0x252)][_0x11beb3(0x43c)](_0x510691),this[_0x11beb3(0x39d)]['addObject'](_0x510691,_0x5c6469[_0x11beb3(0x189)]);}[_0x36f281(0x1d0)](_0x16f037){const _0xe987fe=_0x16f037[0x0],_0x23513f=_0xe987fe[0x0],_0x3f42e0=_0xe987fe[0x2],{x:_0xd80600,y:_0x474ac9}=_0x23513f,{x:_0x446be2,y:_0x2c0ea7}=_0x3f42e0;return{'left':_0xd80600,'top':_0x474ac9,'width':_0x446be2-_0xd80600,'height':_0x2c0ea7-_0x474ac9};}[_0x36f281(0x3ae)](){const _0x34d14e=_0x36f281,{scaleX:_0x128683,scaleY:_0x33d338}=this['_scene'][_0x34d14e(0x405)]();return Math[_0x34d14e(0x34b)](_0x128683,_0x33d338);}}var _0x1cba8d=Object[_0x36f281(0x49a)],_0x1cf060=Object[_0x36f281(0x381)],_0x362d85=(_0x1a0621,_0x2069f7,_0x51efaa,_0x29ef5f)=>{const _0x20a999=_0x36f281;for(var _0x2028f8=_0x29ef5f>0x1?void 0x0:_0x29ef5f?_0x1cf060(_0x2069f7,_0x51efaa):_0x2069f7,_0x53cb0b=_0x1a0621[_0x20a999(0x43f)]-0x1,_0x2cc151;_0x53cb0b>=0x0;_0x53cb0b--)(_0x2cc151=_0x1a0621[_0x53cb0b])&&(_0x2028f8=(_0x29ef5f?_0x2cc151(_0x2069f7,_0x51efaa,_0x2028f8):_0x2cc151(_0x2028f8))||_0x2028f8);return _0x29ef5f&&_0x2028f8&&_0x1cba8d(_0x2069f7,_0x51efaa,_0x2028f8),_0x2028f8;},_0x2479a2=(_0x3f81c2,_0x53a390)=>(_0x32a65a,_0x1afcae)=>_0x53a390(_0x32a65a,_0x1afcae,_0x3f81c2);let _0x12fd25=class extends _0x593949[_0x36f281(0x130)]{constructor(_0x1cc65b,_0x252c4a,_0x157eb4,_0x56c148,_0x1762f9){const _0x318720=_0x36f281;super(),_0x3e0772(this,'_cursorShapes',[]),_0x3e0772(this,_0x318720(0x144),[]),(this['_context']=_0x1cc65b,this[_0x318720(0x375)]=_0x252c4a,this[_0x318720(0x2f6)]=_0x157eb4,this['_commandService']=_0x56c148,this[_0x318720(0x42b)]=_0x1762f9,this['_init']());}['_init'](){const _0x493c28=_0x36f281,_0x4a4b34=this[_0x493c28(0x3f4)]['unitId'],_0x2fcad3=this['_docSkeletonManagerService'];this[_0x493c28(0x196)](_0x30c949[_0x493c28(0x202)]([this[_0x493c28(0x2f6)]['getCollabCursors$'](_0x4a4b34),this[_0x493c28(0x42b)][_0x493c28(0x2e4)]])[_0x493c28(0x49c)](_0x218e56['map'](([_0x2a0c70,_0x114b24])=>({'skeleton':_0x2fcad3[_0x493c28(0x42c)](),'cursors':[..._0x2a0c70[_0x493c28(0x4b5)]()][_0x493c28(0x28c)](_0x131c13=>({..._0x131c13,'color':_0x114b24[_0x131c13['color']]}))})))[_0x493c28(0x188)](_0x492d67=>{const _0x3cce66=_0x493c28;if(this[_0x3cce66(0x251)](),_0x492d67){const {skeleton:_0x44a39b,cursors:_0x2f5d41}=_0x492d67;this[_0x3cce66(0x2e7)](_0x44a39b,_0x2f5d41);}})),this['_initResize'](),this[_0x493c28(0x185)]();}[_0x36f281(0x2e7)](_0xafec4a,_0x45ed8d){const _0x5e99f3=_0x36f281,{scene:_0x33c821,mainComponent:_0x473315}=this[_0x5e99f3(0x3f4)],_0x3bd3d9=_0x45ed8d['map'](_0xeea877=>new _0x4747cd(_0xeea877,_0x33c821,_0xafec4a,_0x473315));this[_0x5e99f3(0x20a)]=_0x3bd3d9,this[_0x5e99f3(0x144)]=_0x45ed8d;}['_refreshCollabCursors'](){const _0x2cd444=_0x36f281;this[_0x2cd444(0x251)]();const {scene:_0x4dad7a,mainComponent:_0x4bc129}=this[_0x2cd444(0x3f4)],_0xcd0982=this[_0x2cd444(0x375)][_0x2cd444(0x42c)](),_0x1d6526=this[_0x2cd444(0x144)][_0x2cd444(0x1de)](_0x2222ad=>new _0x4747cd(_0x2222ad,_0x4dad7a,_0xcd0982,_0x4bc129));this['_cursorShapes']=_0x1d6526;}[_0x36f281(0x251)](){const _0x18d6cb=_0x36f281;this[_0x18d6cb(0x20a)]['forEach'](_0x585b52=>_0x585b52['dispose']()),this[_0x18d6cb(0x20a)]=[];}[_0x36f281(0x185)](){const _0x3ebba0=_0x36f281,_0x4eb0f2=[_0x5c6469['SetDocZoomRatioOperation']['id']];this[_0x3ebba0(0x196)](this[_0x3ebba0(0x265)]['onCommandExecuted'](_0x109e94=>{const _0x238ff9=_0x3ebba0;_0x4eb0f2['includes'](_0x109e94['id'])&&_0x109e94[_0x238ff9(0x2c8)]['unitId']===this[_0x238ff9(0x3f4)][_0x238ff9(0x315)]&&this['_refreshCollabCursors']();}));}[_0x36f281(0x1f4)](){const _0xef6910=_0x36f281;this[_0xef6910(0x196)](_0x593949[_0xef6910(0x27b)](this[_0xef6910(0x3f4)][_0xef6910(0x2b0)][_0xef6910(0x44c)])['pipe'](_0x218e56[_0xef6910(0x218)](_0x1ebb47=>_0x1ebb47[_0xef6910(0x17b)]===_0xa07e34['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0xef6910(0x14c)]),_0x218e56[_0xef6910(0x254)](0x10))[_0xef6910(0x188)](()=>{const _0x4a1c52=_0xef6910;this[_0x4a1c52(0x275)]();}));}};_0x12fd25=_0x362d85([_0x2479a2(0x1,_0x593949['Inject'](_0x4aa7be[_0x36f281(0x17a)])),_0x2479a2(0x2,_0x593949[_0x36f281(0xb9)](_0x455914)),_0x2479a2(0x3,_0x593949[_0x36f281(0x38d)]),_0x2479a2(0x4,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0x199)]))],_0x12fd25);const _0x2631a6=0x1,_0x35876c=1.5;class _0x55e027 extends _0xa07e34[_0x36f281(0x378)]{constructor(_0x21c154,_0x3102ee){const _0x409f4d=_0x36f281;super(_0x21c154,_0x3102ee),_0x3e0772(this,_0x409f4d(0x28e)),_0x3e0772(this,_0x409f4d(0x345),!0x1),_0x3e0772(this,_0x409f4d(0xc0)),_0x3e0772(this,_0x409f4d(0xc3),''),_0x3e0772(this,'_labelPosition',_0x409f4d(0x410)),_0x3e0772(this,_0x409f4d(0x43e)),(_0x3102ee&&this[_0x409f4d(0x4b7)](_0x3102ee),this[_0x409f4d(0x2f1)][_0x409f4d(0x174)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x409f4d(0x435)][_0x409f4d(0x174)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x36f281(0x4b7)](_0x11b155){const _0x5e973f=_0x36f281;var _0x324799,_0x619d23,_0x467ee4,_0x965c44,_0x50a00d,_0x1238f5;this[_0x5e973f(0x28e)]=(_0x324799=_0x11b155['color'])!=null?_0x324799:this[_0x5e973f(0x28e)],this[_0x5e973f(0x345)]=(_0x619d23=_0x11b155[_0x5e973f(0x4af)])!=null?_0x619d23:this['_hovered'],this[_0x5e973f(0xc0)]=(_0x467ee4=_0x11b155[_0x5e973f(0x4d8)])!=null?_0x467ee4:this[_0x5e973f(0xc0)],this['_name']=(_0x965c44=_0x11b155[_0x5e973f(0x4a2)])!=null?_0x965c44:this[_0x5e973f(0xc3)],this[_0x5e973f(0x2df)]=(_0x50a00d=_0x11b155['labelPosition'])!=null?_0x50a00d:this['_labelPosition'],this['_backgroundColor']=(_0x1238f5=_0x11b155[_0x5e973f(0x3ec)])!=null?_0x1238f5:this[_0x5e973f(0x43e)],this[_0x5e973f(0x160)]({'width':_0x11b155['width'],'height':_0x11b155[_0x5e973f(0xf8)]});}[_0x36f281(0x126)](_0x5b051d){const _0x535188=_0x36f281,{row:_0x4652a6,column:_0x30f166}=_0x5b051d;if(_0x4652a6>=this[_0x535188(0xc0)][_0x535188(0x455)]&&_0x4652a6<=this[_0x535188(0xc0)][_0x535188(0x30a)]&&_0x30f166>=this[_0x535188(0xc0)][_0x535188(0x3ca)]&&_0x30f166<=this[_0x535188(0xc0)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x16400d){return!0x1;}[_0x36f281(0x264)](_0x2e90b9){const _0x4068fc=_0x36f281;_0xa07e34[_0x4068fc(0x247)][_0x4068fc(0x2db)](_0x2e90b9,{'width':this['width'],'height':this['height'],'strokeWidth':_0x35876c,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x4068fc(0x43e)]}),this[_0x4068fc(0x345)]&&(_0x2e90b9[_0x4068fc(0x497)](),_0x2e90b9['transform'](0x1,0x0,0x0,0x1,this[_0x4068fc(0x19f)],this[_0x4068fc(0x2df)]===_0x4068fc(0x3d7)?0x0:-_0x60143b),_0xc05a02[_0x4068fc(0x2db)](_0x2e90b9,{'text':this[_0x4068fc(0xc3)],'color':this[_0x4068fc(0x28e)]}),_0x2e90b9[_0x4068fc(0x212)]());}}var _0x5640fa=Object[_0x36f281(0x49a)],_0x37634a=Object['getOwnPropertyDescriptor'],_0x5eadd4=(_0x5472c3,_0x2000fe,_0x3baec5,_0x32d152)=>{const _0x3e5b44=_0x36f281;for(var _0x28089b=_0x32d152>0x1?void 0x0:_0x32d152?_0x37634a(_0x2000fe,_0x3baec5):_0x2000fe,_0x5ee4f0=_0x5472c3[_0x3e5b44(0x43f)]-0x1,_0x48e37d;_0x5ee4f0>=0x0;_0x5ee4f0--)(_0x48e37d=_0x5472c3[_0x5ee4f0])&&(_0x28089b=(_0x32d152?_0x48e37d(_0x2000fe,_0x3baec5,_0x28089b):_0x48e37d(_0x28089b))||_0x28089b);return _0x32d152&&_0x28089b&&_0x5640fa(_0x2000fe,_0x3baec5,_0x28089b),_0x28089b;},_0x473f8b=(_0x1e85cc,_0x447422)=>(_0x8c5ecc,_0x22b16b)=>_0x447422(_0x8c5ecc,_0x22b16b,_0x1e85cc);const _0x200e77=0x1389;let _0x11cefc=class extends _0x593949[_0x36f281(0x130)]{constructor(_0x4aa855,_0x420559,_0x53d866,_0x3ab31d){const _0x12e463=_0x36f281;super(),_0x3e0772(this,_0x12e463(0x144),new Set()),_0x3e0772(this,'_lastPointer',null),(this[_0x12e463(0x3f4)]=_0x4aa855,this['_sheetSkeletonManagerService']=_0x420559,this[_0x12e463(0x2f6)]=_0x53d866,this[_0x12e463(0x42b)]=_0x3ab31d,this['_init']());}[_0x36f281(0x3b6)](){const _0x5b548a=_0x36f281;this[_0x5b548a(0xdb)]['currentSkeleton$'][_0x5b548a(0x49c)](_0x218e56[_0x5b548a(0x142)](this[_0x5b548a(0x4d4)]),_0x218e56['switchMap'](_0x1d6887=>{const _0x12c434=_0x5b548a;if(_0x1d6887){const _0x4dbd4d=_0x1d6887[_0x12c434(0x2e2)];return _0x30c949[_0x12c434(0x202)](this[_0x12c434(0x2f6)]['getCollabCursors$'](this['_context'][_0x12c434(0x315)]),this['_themeService'][_0x12c434(0x2e4)])[_0x12c434(0x49c)](_0x218e56[_0x12c434(0x1de)](([_0x1b82d2,_0x2c41e6])=>{const _0xe8a6bb=_0x12c434,_0x16f6af=new Map();return _0x1b82d2[_0xe8a6bb(0x2a0)]((_0x38e98f,_0x5cd08d)=>{const _0x1c8836=_0xe8a6bb;if(_0x38e98f[_0x1c8836(0x4b3)]===_0x4dbd4d){const _0x32b622={..._0x38e98f};_0x32b622[_0x1c8836(0x2a6)]=_0x2c41e6[_0x38e98f['color']],_0x16f6af['set'](_0x5cd08d,_0x32b622);}}),{'skeleton':_0x1d6887,'cursors':_0x16f6af};}));}return _0x30c949['of']({'skeleton':null,'cursors':new Map()});}))[_0x5b548a(0x188)](({skeleton:_0x3dc132,cursors:_0x4e5c5e})=>{const _0x3fc0d1=_0x5b548a;this[_0x3fc0d1(0x251)](),_0x3dc132&&this['_updateCollabCursors'](_0x3dc132,_0x4e5c5e);}),this['_sheetSkeletonManagerService'][_0x5b548a(0x104)][_0x5b548a(0x188)](_0x1892c1=>{const _0x2a56a0=_0x5b548a;if(_0x1892c1==null)return;const {skeleton:_0xc4e574}=_0x1892c1,{scene:_0x33e693}=this[_0x2a56a0(0x3f4)];_0x33e693[_0x2a56a0(0x428)][_0x2a56a0(0x174)](_0x593949[_0x2a56a0(0x4e4)](_0x18f5dd=>{const _0x2e45ad=_0x2a56a0;var _0x48b553,_0x4cff8e;const {offsetX:_0x5d0443,offsetY:_0x550fe0}=_0x18f5dd,{x:_0x5825c0,y:_0x38e267}=_0x33e693['getRelativeToViewportCoord'](_0xa07e34['Vector2'][_0x2e45ad(0x10b)]([_0x5d0443,_0x550fe0])),{scaleX:_0xac21ad,scaleY:_0x3d2c37}=_0x33e693[_0x2e45ad(0x405)](),_0x672f18=_0x33e693[_0x2e45ad(0x2ab)](_0x35ed85['VIEWPORT_KEY'][_0x2e45ad(0x3aa)]),_0x26fa0a=_0x33e693[_0x2e45ad(0x1b5)](_0xa07e34[_0x2e45ad(0x308)][_0x2e45ad(0x10b)]([_0x5825c0,_0x38e267]),_0x672f18),_0x5c4ece=_0xc4e574[_0x2e45ad(0x22c)](_0x5d0443,_0x550fe0,_0xac21ad,_0x3d2c37,_0x26fa0a);((_0x48b553=this[_0x2e45ad(0x230)])==null?void 0x0:_0x48b553['column'])===_0x5c4ece[_0x2e45ad(0x3e7)]&&((_0x4cff8e=this['_lastPointer'])==null?void 0x0:_0x4cff8e[_0x2e45ad(0x3af)])===_0x5c4ece[_0x2e45ad(0x3af)]||this[_0x2e45ad(0x144)][_0x2e45ad(0x2a0)](_0x37c399=>{const _0x77efc=_0x2e45ad;_0x37c399[_0x77efc(0x126)](_0x5c4ece);});},0x64));});}[_0x36f281(0x2e7)](_0x4f6458,_0x1e0685){const _0xe68280=_0x36f281;var _0x50d18d;const _0x588b53=(_0x50d18d=this[_0xe68280(0xdb)][_0xe68280(0x223)]())==null?void 0x0:_0x50d18d[_0xe68280(0x447)];if(!_0x588b53)return;const _0x483eff=this['_getSheetObject']();if(!_0x483eff)return;this[_0xe68280(0x144)][_0xe68280(0x2a0)](_0x1e79a6=>{_0x1e79a6['makeDirty']();});const {scene:_0x421d88}=_0x483eff,_0x4cb1c1=_0x14e1b7(Array['from'](_0x1e0685[_0xe68280(0x4b5)]()))['map'](_0x5e82da=>{const _0xca0a35=_0xe68280,{color:_0x20f548,range:_0x34ee6a,name:_0x24a3dd,selection:_0x1258b8,sheetID:_0x222760}=_0x5e82da,{startColumn:_0x3a1343,startRow:_0x260a97,endColumn:_0x425841,endRow:_0x4be5cd}=_0x34ee6a,_0x289950=_0x35ed85[_0xca0a35(0x4c7)](_0x260a97,_0x3a1343,_0x421d88,_0x588b53),_0x3a6f31=_0x35ed85[_0xca0a35(0x4c7)](_0x4be5cd,_0x425841,_0x421d88,_0x588b53),{columnHeaderHeightAndMarginTop:_0x2c151d}=_0x588b53,{startX:_0x35e7a7,startY:_0x46971b}=_0x289950,{endX:_0x50f142,endY:_0x15105a}=_0x3a6f31,_0x17cc20=_0x50f142-_0x35e7a7,_0x3f0e84=_0x15105a-_0x46971b,_0x41a737={'labelPosition':_0x46971b-_0x2c151d>=_0x60143b?_0xca0a35(0x410):'bottom','sheetID':_0x222760,'range':_0x34ee6a,'color':_0x20f548,'name':_0x24a3dd,'selection':_0x1258b8,'left':_0x35e7a7,'top':_0x46971b,'width':_0x17cc20,'height':_0x3f0e84,'evented':!0x1,'zIndex':_0x200e77};return new _0x55e027(_0x24a3dd,_0x41a737);});_0x421d88[_0xe68280(0x4e8)](_0x4cb1c1,_0x2631a6),this['_cursors']=new Set(_0x4cb1c1);}[_0x36f281(0x251)](){const _0x4c6ef3=_0x36f281;var _0x23a289;(_0x23a289=this[_0x4c6ef3(0x144)])==null||_0x23a289[_0x4c6ef3(0x2a0)](_0x43b12c=>_0x43b12c[_0x4c6ef3(0x1e6)]());}[_0x36f281(0x21a)](){const _0x2ab8a2=_0x36f281;return _0x35ed85['getSheetObject'](this[_0x2ab8a2(0x3f4)][_0x2ab8a2(0x179)],this['_context']);}};_0x11cefc=_0x5eadd4([_0x473f8b(0x1,_0x593949[_0x36f281(0xb9)](_0x35ed85[_0x36f281(0x1c9)])),_0x473f8b(0x2,_0x593949['Inject'](_0x455914)),_0x473f8b(0x3,_0x593949[_0x36f281(0xb9)](_0x593949['ThemeService']))],_0x11cefc);function _0x14e1b7(_0x4a61f3){const _0x41d85e=_0x36f281,_0x2fd401=new Map();return _0x4a61f3[_0x41d85e(0x2a0)](_0x525127=>{const _0x37471e=_0x41d85e;if(_0x2fd401[_0x37471e(0x1f2)](_0x525127[_0x37471e(0x3e8)])){const _0x2a7716=_0x2fd401[_0x37471e(0x14e)](_0x525127['selection']);_0x2a7716['name']+=',\x20'+_0x525127['name'];}else _0x2fd401[_0x37471e(0x2bd)](_0x525127['selection'],_0x525127);}),Array['from'](_0x2fd401[_0x41d85e(0x4b5)]());}var _0x3e8e60=function(){const _0x2b7802=_0x36f281;return _0x3e8e60=Object[_0x2b7802(0x45b)]||function(_0x349ac7){const _0x299d7e=_0x2b7802;for(var _0x5c642d,_0x2a2db9=0x1,_0x52e281=arguments[_0x299d7e(0x43f)];_0x2a2db9<_0x52e281;_0x2a2db9++){_0x5c642d=arguments[_0x2a2db9];for(var _0x3b0e58 in _0x5c642d)Object['prototype'][_0x299d7e(0x221)]['call'](_0x5c642d,_0x3b0e58)&&(_0x349ac7[_0x3b0e58]=_0x5c642d[_0x3b0e58]);}return _0x349ac7;},_0x3e8e60[_0x2b7802(0x4b9)](this,arguments);},_0x4386da=function(_0x31138c,_0x352856){const _0x12a3cf=_0x36f281;var _0x522c24={};for(var _0x5578a2 in _0x31138c)Object[_0x12a3cf(0x16b)][_0x12a3cf(0x221)][_0x12a3cf(0x2fa)](_0x31138c,_0x5578a2)&&_0x352856[_0x12a3cf(0x14f)](_0x5578a2)<0x0&&(_0x522c24[_0x5578a2]=_0x31138c[_0x5578a2]);if(_0x31138c!=null&&typeof Object[_0x12a3cf(0x3c8)]==_0x12a3cf(0x260)){for(var _0x20c285=0x0,_0x5578a2=Object[_0x12a3cf(0x3c8)](_0x31138c);_0x20c285<_0x5578a2[_0x12a3cf(0x43f)];_0x20c285++)_0x352856[_0x12a3cf(0x14f)](_0x5578a2[_0x20c285])<0x0&&Object[_0x12a3cf(0x16b)][_0x12a3cf(0x40e)][_0x12a3cf(0x2fa)](_0x31138c,_0x5578a2[_0x20c285])&&(_0x522c24[_0x5578a2[_0x20c285]]=_0x31138c[_0x5578a2[_0x20c285]]);}return _0x522c24;},_0x2e418b=_0x111993['forwardRef'](function(_0x11b39b,_0x3906dc){const _0x4fca90=_0x36f281;var _0x4f0297=_0x11b39b[_0x4fca90(0x1cd)],_0x24bb2e=_0x11b39b['id'],_0x5073e6=_0x11b39b[_0x4fca90(0x25d)],_0x2d4d08=_0x11b39b[_0x4fca90(0x24b)],_0x39c96c=_0x4386da(_0x11b39b,[_0x4fca90(0x1cd),'id','className',_0x4fca90(0x24b)]),_0x54fed8=_0x4fca90(0x1cc)['concat'](_0x24bb2e,'\x20')[_0x4fca90(0x1e2)](_0x5073e6||'')[_0x4fca90(0x3d0)](),_0x2b4258=_0x111993[_0x4fca90(0x26c)]('_'[_0x4fca90(0x1e2)](_0x48dcdb()));return _0x127c3b(_0x4f0297,''[_0x4fca90(0x1e2)](_0x24bb2e),{'defIds':_0x4f0297[_0x4fca90(0x444)],'idSuffix':_0x2b4258[_0x4fca90(0x47b)]},_0x3e8e60({'ref':_0x3906dc,'className':_0x54fed8},_0x39c96c),_0x2d4d08);});function _0x127c3b(_0x4e7289,_0x38f4ae,_0x50655f,_0x3c9bd4,_0x31121f){const _0xb89455=_0x36f281;return _0x111993[_0xb89455(0xc9)](_0x4e7289[_0xb89455(0x4dc)],_0x3e8e60(_0x3e8e60({'key':_0x38f4ae},_0x34a09c(_0x4e7289,_0x50655f,_0x31121f)),_0x3c9bd4),(_0x1a4f60(_0x4e7289,_0x50655f)[_0xb89455(0x261)]||[])[_0xb89455(0x1de)](function(_0x4e4540,_0x52ae11){const _0x1b4baa=_0xb89455;return _0x127c3b(_0x4e4540,''[_0x1b4baa(0x1e2)](_0x38f4ae,'-')[_0x1b4baa(0x1e2)](_0x4e7289['tag'],'-')[_0x1b4baa(0x1e2)](_0x52ae11),_0x50655f,void 0x0,_0x31121f);}));}function _0x34a09c(_0x1a1967,_0x5a21c4,_0x25fba7){const _0x2e4aba=_0x36f281;var _0x35dede=_0x3e8e60({},_0x1a1967[_0x2e4aba(0x42d)]);_0x25fba7!=null&&_0x25fba7['colorChannel1']&&_0x35dede[_0x2e4aba(0xda)]===_0x2e4aba(0xcf)&&(_0x35dede[_0x2e4aba(0xda)]=_0x25fba7[_0x2e4aba(0xcf)]);var _0x1af388=_0x5a21c4[_0x2e4aba(0x444)];return!_0x1af388||_0x1af388[_0x2e4aba(0x43f)]===0x0||(_0x1a1967[_0x2e4aba(0x4dc)]===_0x2e4aba(0x168)&&_0x35dede[_0x2e4aba(0xf0)]&&(_0x35dede[_0x2e4aba(0xf0)]=_0x35dede['xlink:href']+_0x5a21c4[_0x2e4aba(0x20d)]),Object[_0x2e4aba(0x421)](_0x35dede)[_0x2e4aba(0x2a0)](function(_0x4faf3a){const _0x232a69=_0x2e4aba;var _0x3457f4=_0x4faf3a[0x0],_0x2dc370=_0x4faf3a[0x1];typeof _0x2dc370==_0x232a69(0x2a8)&&(_0x35dede[_0x3457f4]=_0x2dc370['replace'](/url\(#(.*)\)/,_0x232a69(0x338)[_0x232a69(0x1e2)](_0x5a21c4[_0x232a69(0x20d)],')')));})),_0x35dede;}function _0x1a4f60(_0x34a091,_0x9e0fb4){const _0x302fbf=_0x36f281;var _0xb4f16f,_0x40059b=_0x9e0fb4[_0x302fbf(0x444)];return!_0x40059b||_0x40059b[_0x302fbf(0x43f)]===0x0?_0x34a091:_0x34a091[_0x302fbf(0x4dc)]===_0x302fbf(0x2e6)&&(!((_0xb4f16f=_0x34a091[_0x302fbf(0x261)])===null||_0xb4f16f===void 0x0)&&_0xb4f16f['length'])?_0x3e8e60(_0x3e8e60({},_0x34a091),{'children':_0x34a091[_0x302fbf(0x261)][_0x302fbf(0x1de)](function(_0x45348e){const _0x29ee77=_0x302fbf;return typeof _0x45348e[_0x29ee77(0x42d)]['id']==_0x29ee77(0x2a8)&&_0x40059b&&_0x40059b[_0x29ee77(0x14f)](_0x45348e[_0x29ee77(0x42d)]['id'])>-0x1?_0x3e8e60(_0x3e8e60({},_0x45348e),{'attrs':_0x3e8e60(_0x3e8e60({},_0x45348e['attrs']),{'id':_0x45348e[_0x29ee77(0x42d)]['id']+_0x9e0fb4[_0x29ee77(0x20d)]})}):_0x45348e;})}):_0x34a091;}function _0x48dcdb(){const _0x1cf14e=_0x36f281;return Math[_0x1cf14e(0x4a7)]()[_0x1cf14e(0x13d)](0x24)[_0x1cf14e(0x411)](0x2,0x8);}_0x2e418b['displayName']=_0x36f281(0x25f);var _0x4c4b77={'tag':_0x36f281(0x297),'attrs':{'fill':'none','viewBox':_0x36f281(0x219),'width':_0x36f281(0x24c),'height':_0x36f281(0x24c)},'children':[{'tag':'g','attrs':{'clipPath':_0x36f281(0x231)},'children':[{'tag':_0x36f281(0x273),'attrs':{'stroke':_0x36f281(0x361),'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':_0x36f281(0x233),'strokeLinejoin':_0x36f281(0x233),'strokeWidth':1.2}}]},{'tag':_0x36f281(0x2e6),'attrs':{},'children':[{'tag':_0x36f281(0x106),'attrs':{'id':_0x36f281(0x35a)},'children':[{'tag':_0x36f281(0x273),'attrs':{'fill':'#fff','d':_0x36f281(0x45e)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x447b96=_0x111993[_0x36f281(0x29a)](function(_0x171e8d,_0x4cbf99){const _0x249289=_0x36f281;return _0x111993[_0x249289(0xc9)](_0x2e418b,Object['assign']({},_0x171e8d,{'id':_0x249289(0x12c),'ref':_0x4cbf99,'icon':_0x4c4b77}));});_0x447b96[_0x36f281(0x3ed)]='OffLineSingle';var _0x467f00={'tag':_0x36f281(0x297),'attrs':{'fill':_0x36f281(0x39b),'viewBox':'0\x200\x2017\x2016','width':_0x36f281(0x24c),'height':_0x36f281(0x24c)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x36f281(0x361),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x36f281(0x233),'strokeLinejoin':_0x36f281(0x233),'strokeWidth':1.2}}]},{'tag':_0x36f281(0x2e6),'attrs':{},'children':[{'tag':_0x36f281(0x106),'attrs':{'id':_0x36f281(0x207)},'children':[{'tag':_0x36f281(0x273),'attrs':{'fill':_0x36f281(0x102),'d':_0x36f281(0x45e),'transform':_0x36f281(0x26b)}}]}]}],'defIds':[_0x36f281(0x207)]},_0x5544d1=_0x111993[_0x36f281(0x29a)](function(_0x41fb91,_0x2ef276){const _0x7be90d=_0x36f281;return _0x111993[_0x7be90d(0xc9)](_0x2e418b,Object['assign']({},_0x41fb91,{'id':_0x7be90d(0x472),'ref':_0x2ef276,'icon':_0x467f00}));});_0x5544d1[_0x36f281(0x3ed)]=_0x36f281(0x15c);function _0x1db50c(_0x13c0bf){const _0x582747=_0x36f281;var _0x1a8624,_0x392b7a,_0xd6a04a='';if(typeof _0x13c0bf==_0x582747(0x2a8)||typeof _0x13c0bf==_0x582747(0x3f0))_0xd6a04a+=_0x13c0bf;else{if(typeof _0x13c0bf=='object'){if(Array[_0x582747(0x10c)](_0x13c0bf)){var _0x2dfb42=_0x13c0bf[_0x582747(0x43f)];for(_0x1a8624=0x0;_0x1a8624<_0x2dfb42;_0x1a8624++)_0x13c0bf[_0x1a8624]&&(_0x392b7a=_0x1db50c(_0x13c0bf[_0x1a8624]))&&(_0xd6a04a&&(_0xd6a04a+='\x20'),_0xd6a04a+=_0x392b7a);}else{for(_0x392b7a in _0x13c0bf)_0x13c0bf[_0x392b7a]&&(_0xd6a04a&&(_0xd6a04a+='\x20'),_0xd6a04a+=_0x392b7a);}}}return _0xd6a04a;}function _0x3cdde9(){const _0x53b700=_0x36f281;for(var _0x26b794,_0x3033e6,_0x33a043=0x0,_0x12a9a2='',_0x59f557=arguments[_0x53b700(0x43f)];_0x33a043<_0x59f557;_0x33a043++)(_0x26b794=arguments[_0x33a043])&&(_0x3033e6=_0x1db50c(_0x26b794))&&(_0x12a9a2&&(_0x12a9a2+='\x20'),_0x12a9a2+=_0x3033e6);return _0x12a9a2;}const _0x379f92={'onlineStatusIcon':_0x36f281(0x4b0),'onlineStatusTitle':'univer-online-status-title','onlineStatus':_0x36f281(0xbd),'online':_0x36f281(0x3fa),'offline':_0x36f281(0x14a)};function _0x425cdd(_0x14b273){const _0x9bf82e=_0x36f281;switch(_0x14b273){case _0x2d65dc[_0x9bf82e(0x4eb)]:return _0x9bf82e(0xf4);case _0x2d65dc[_0x9bf82e(0x43a)]:return _0x9bf82e(0x3c3);case _0x2d65dc[_0x9bf82e(0x3a1)]:return _0x9bf82e(0x246);case _0x2d65dc[_0x9bf82e(0x23c)]:return _0x9bf82e(0x216);case _0x2d65dc[_0x9bf82e(0x498)]:case _0x2d65dc[_0x9bf82e(0x40c)]:case _0x2d65dc['AWAITING_WITH_PENDING']:return _0x9bf82e(0x4d9);case _0x2d65dc[_0x9bf82e(0x197)]:return _0x9bf82e(0x226);}}function _0x580fae(_0x423c72){const _0x4e5856=_0x36f281,{status$:_0x44e188}=_0x423c72,_0xa0d3a7=_0xc44033[_0x4e5856(0x3e2)](_0x44e188,_0x2d65dc[_0x4e5856(0x23c)]),_0x5198c7=_0x593949['useDependency'](_0x593949[_0x4e5856(0x2bc)]),_0x35e760=_0x593949[_0x4e5856(0x3c0)](_0x4238fe[_0x4e5856(0x370)]),_0x2b7012=_0xa0d3a7!==_0x2d65dc['OFFLINE'],_0x468898=_0x5198c7['t'](_0x425cdd(_0xa0d3a7)),_0x4383a=_0x3cdde9(_0x379f92[_0x4e5856(0x395)],{[_0x379f92[_0x4e5856(0x3f2)]]:_0x2b7012,[_0x379f92[_0x4e5856(0x322)]]:!_0x2b7012}),_0x39283a=_0x2b7012?_0x111993['createElement'](_0x5544d1,null):_0x111993['createElement'](_0x447b96,null),_0x283cfb=_0x111993[_0x4e5856(0x21d)](()=>{const _0x172e14=_0x4e5856;_0x2b7012||_0x35e760[_0x172e14(0x165)]();},[_0x2b7012,_0x35e760]);function _0x3ab32e(){const _0x60504=_0x4e5856;return _0x111993['createElement'](_0x60504(0x45a),{'className':_0x4383a,'onClick':_0x283cfb},_0x111993['createElement']('div',{'className':_0x379f92[_0x60504(0x176)]},_0x39283a),_0x111993[_0x60504(0xc9)](_0x60504(0x45a),{'className':_0x379f92[_0x60504(0x479)]},_0x468898));}return _0x2b7012?_0x3ab32e():_0x111993[_0x4e5856(0xc9)](_0x2b27fc['Tooltip'],{'title':_0x5198c7['t'](_0x4e5856(0x363))},_0x3ab32e());}var _0x3c501b=Object[_0x36f281(0x49a)],_0x57c4e7=Object['getOwnPropertyDescriptor'],_0x5b0b55=(_0x559cf1,_0x51cd97,_0x5ebcd6,_0x2769d6)=>{const _0x3a9ff3=_0x36f281;for(var _0x1aaf82=_0x2769d6>0x1?void 0x0:_0x2769d6?_0x57c4e7(_0x51cd97,_0x5ebcd6):_0x51cd97,_0x389429=_0x559cf1[_0x3a9ff3(0x43f)]-0x1,_0x393053;_0x389429>=0x0;_0x389429--)(_0x393053=_0x559cf1[_0x389429])&&(_0x1aaf82=(_0x2769d6?_0x393053(_0x51cd97,_0x5ebcd6,_0x1aaf82):_0x393053(_0x1aaf82))||_0x1aaf82);return _0x2769d6&&_0x1aaf82&&_0x3c501b(_0x51cd97,_0x5ebcd6,_0x1aaf82),_0x1aaf82;},_0x52cd6b=(_0x1e135b,_0x17211e)=>(_0x38b629,_0x5c2605)=>_0x17211e(_0x38b629,_0x5c2605,_0x1e135b);_0x4238fe[_0x36f281(0x225)]=class extends _0x593949['Disposable']{constructor(_0x2ab502,_0x11de22,_0x339ecc,_0x4ba3a3){const _0x2c37dc=_0x36f281;super(),_0x3e0772(this,_0x2c37dc(0x20e),new _0x30c949[(_0x2c37dc(0x2f9))](_0x2d65dc[_0x2c37dc(0x23c)])),(this[_0x2c37dc(0x276)]=_0x2ab502,this[_0x2c37dc(0x31f)]=_0x11de22,this[_0x2c37dc(0xf1)]=_0x339ecc,this[_0x2c37dc(0x1cb)]=_0x4ba3a3,this[_0x2c37dc(0x2ff)](),this[_0x2c37dc(0x4ac)]());}[_0x36f281(0x4ac)](){const _0x108005=_0x36f281;this[_0x108005(0x196)](this[_0x108005(0x276)][_0x108005(0x4d5)]['pipe'](_0x30c949[_0x108005(0x3fd)](()=>{const _0x1cb576=_0x108005,_0x4c32e0=this['_univerInstanceService']['getFocusedUnit']();return _0x4c32e0?this['_collaborationController'][_0x1cb576(0x1e3)](_0x4c32e0[_0x1cb576(0x4c0)]()):_0x30c949['of'](null);}),_0x30c949['switchMap'](_0x43af13=>_0x43af13?_0x43af13[_0x108005(0x457)]:_0x30c949['of'](_0x2d65dc[_0x108005(0x23c)])))[_0x108005(0x188)](_0x190eca=>{const _0x3157d9=_0x108005;this[_0x3157d9(0x20e)]['next'](_0x190eca);}));}[_0x36f281(0x2ff)](){const _0x53dc03=_0x36f281;this[_0x53dc03(0x196)](this['_uiPartsService'][_0x53dc03(0x3a8)](_0xc44033[_0x53dc03(0x192)]['HEADER_MENU'],()=>_0x593949['connectInjector'](_0x113a75({'status$':this[_0x53dc03(0x20e)][_0x53dc03(0x13a)]()}),this[_0x53dc03(0xf1)])));}},_0x4238fe[_0x36f281(0x225)]=_0x5b0b55([_0x52cd6b(0x0,_0x593949[_0x36f281(0x1dc)]),_0x52cd6b(0x1,_0xc44033[_0x36f281(0x330)]),_0x52cd6b(0x2,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x52cd6b(0x3,_0x593949['Inject'](_0x4238fe[_0x36f281(0x373)]))],_0x4238fe[_0x36f281(0x225)]);function _0x113a75(_0x2da8a3){const {status$:_0x26b701}=_0x2da8a3;return function(){const _0x53f4f8=_0x4c16;return _0x111993[_0x53f4f8(0xc9)](_0x580fae,{'status$':_0x26b701});};}const _0x2863a7=_0x593949[_0x36f281(0x358)](_0x36f281(0x3cc));var _0x4371b0=Object[_0x36f281(0x49a)],_0x5d27b4=Object[_0x36f281(0x381)],_0xbe49a9=(_0x5e290f,_0x53f14f,_0x37d43c,_0x113436)=>{const _0xe1f861=_0x36f281;for(var _0x41525b=_0x113436>0x1?void 0x0:_0x113436?_0x5d27b4(_0x53f14f,_0x37d43c):_0x53f14f,_0x466d02=_0x5e290f[_0xe1f861(0x43f)]-0x1,_0x3eee9e;_0x466d02>=0x0;_0x466d02--)(_0x3eee9e=_0x5e290f[_0x466d02])&&(_0x41525b=(_0x113436?_0x3eee9e(_0x53f14f,_0x37d43c,_0x41525b):_0x3eee9e(_0x41525b))||_0x41525b);return _0x113436&&_0x41525b&&_0x4371b0(_0x53f14f,_0x37d43c,_0x41525b),_0x41525b;},_0x1a8666=(_0x178208,_0x5ed952)=>(_0xb713d,_0x3a1bed)=>_0x5ed952(_0xb713d,_0x3a1bed,_0x178208);_0x4238fe['DataLoaderController']=class extends _0x593949['RxDisposable']{constructor(_0x4e95dd,_0x284a98,_0x25c309,_0x1c6541,_0x3d6198,_0x21be4e){const _0x63c86e=_0x36f281;super(),this['_urlService']=_0x4e95dd,this[_0x63c86e(0x3df)]=_0x284a98,this[_0x63c86e(0x265)]=_0x25c309,this[_0x63c86e(0xfc)]=_0x1c6541,this[_0x63c86e(0xb5)]=_0x3d6198,_0x21be4e?_0x21be4e==null||_0x21be4e[_0x63c86e(0x245)]()[_0x63c86e(0x372)](()=>this[_0x63c86e(0x3b6)]()):(this[_0x63c86e(0x3df)]['debug'](_0x63c86e(0x172),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x63c86e(0x3b6)]());}async[_0x36f281(0x3b6)](){const _0xb3d370=_0x36f281,_0x3a74ab=this[_0xb3d370(0x2b5)][_0xb3d370(0x37d)](_0xb3d370(0x179)),_0x17691e=this[_0xb3d370(0x2b5)][_0xb3d370(0x37d)]('type');if(!_0x3a74ab||!_0x17691e){this[_0xb3d370(0x3df)][_0xb3d370(0x177)](_0xb3d370(0x172),_0xb3d370(0x1c6));return;}switch(Number(_0x17691e)){case _0x4775b3[_0xb3d370(0x12e)]:{const _0x340c54=await this[_0xb3d370(0x1f1)](_0x3a74ab);this[_0xb3d370(0x1e0)](_0x340c54);break;}case _0x4775b3[_0xb3d370(0x4e1)]:{await this['_loadDoc'](_0x3a74ab);break;}default:{this[_0xb3d370(0x3df)][_0xb3d370(0x302)](_0xb3d370(0x172),_0xb3d370(0x431));break;}}}async[_0x36f281(0x1e0)](_0x4a9d42){const _0x4eb71e=_0x36f281;await this[_0x4eb71e(0x301)](_0x4a9d42),_0x4a9d42[_0x4eb71e(0xea)][_0x4eb71e(0x49c)](_0x30c949[_0x4eb71e(0x142)](this[_0x4eb71e(0x4d4)]))[_0x4eb71e(0x188)](_0x1a325a=>{const _0x43ca18=_0x4eb71e;_0x1a325a&&this[_0x43ca18(0x23a)](_0x1a325a);}),this['_urlService'][_0x4eb71e(0x2a5)][_0x4eb71e(0x49c)](_0x30c949['takeUntil'](this['dispose$']))[_0x4eb71e(0x188)](()=>this[_0x4eb71e(0x301)](_0x4a9d42));}[_0x36f281(0x23a)](_0x141aab,_0x35cb92=!0x1){const _0x5b6323=_0x36f281,_0x5b9a22=this[_0x5b6323(0x2b5)][_0x5b6323(0x37d)](_0x5b6323(0x46c));_0x141aab[_0x5b6323(0x353)]()!==_0x5b9a22&&this['_urlService'][_0x5b6323(0x2f7)](_0x5b6323(0x46c),_0x141aab[_0x5b6323(0x353)](),_0x35cb92);}async['_updateSubUnitFromURLParams'](_0x47797f){const _0x3d27f5=_0x36f281;var _0x3a4dbd;const _0x9ce911=this['_urlService']['getParam']('subunit');if(!_0x9ce911||!_0x47797f['getSheetBySheetId'](_0x9ce911)){const _0x773178=_0x47797f[_0x3d27f5(0x3fe)]()[0x0],_0x3055b1=_0x47797f[_0x3d27f5(0x16c)](_0x773178);if(!_0x3055b1)return;this['_updateURLWithCurrentState'](_0x3055b1,!0x0),await this[_0x3d27f5(0x265)]['executeCommand'](_0xec6805[_0x3d27f5(0xec)]['id'],{'unitId':_0x47797f[_0x3d27f5(0x4c0)](),'subUnitId':_0x773178});return;}((_0x3a4dbd=_0x47797f[_0x3d27f5(0x49b)]())==null?void 0x0:_0x3a4dbd['getSheetId']())!==_0x9ce911&&await this[_0x3d27f5(0x265)][_0x3d27f5(0x420)](_0xec6805['SetWorksheetActivateCommand']['id'],{'unitId':_0x47797f[_0x3d27f5(0x4c0)](),'subUnitId':_0x9ce911});}async[_0x36f281(0x1f1)](_0x2272ca){const _0x5d4e27=_0x36f281;let _0x4942c2=0x0;const _0x4b5fcb=await this[_0x5d4e27(0xfc)][_0x5d4e27(0x453)](_0x2272ca);return _0x4b5fcb&&(_0x4b5fcb['awaitingChangeset']||_0x4b5fcb['mutations']['length']!==0x0)&&(_0x4942c2=_0x4b5fcb[_0x5d4e27(0x141)]),_0x4942c2===0x0&&this[_0x5d4e27(0x3df)][_0x5d4e27(0x177)]('[DataLoaderController]',_0x5d4e27(0x136)),this[_0x5d4e27(0xb5)][_0x5d4e27(0x326)](_0x2272ca,_0x4942c2);}async['_loadDoc'](_0x4d81ba){const _0x23f046=_0x36f281;let _0x30dace=0x0;const _0x2f4093=await this[_0x23f046(0xfc)]['loadOfflineData'](_0x4d81ba);return _0x2f4093&&(_0x2f4093[_0x23f046(0x32b)]||_0x2f4093[_0x23f046(0x152)][_0x23f046(0x43f)]!==0x0)&&(_0x30dace=_0x2f4093[_0x23f046(0x141)]),_0x30dace===0x0&&this[_0x23f046(0x3df)][_0x23f046(0x177)]('[DataLoaderController]',_0x23f046(0x136)),this['_snapshotService'][_0x23f046(0xad)](_0x4d81ba,_0x30dace);}},_0x4238fe[_0x36f281(0x1f3)]=_0xbe49a9([_0x1a8666(0x0,_0x2863a7),_0x1a8666(0x1,_0x593949[_0x36f281(0x380)]),_0x1a8666(0x2,_0x593949[_0x36f281(0x38d)]),_0x1a8666(0x3,_0x593949[_0x36f281(0xb9)](_0x4238fe[_0x36f281(0xd2)])),_0x1a8666(0x4,_0x593949[_0x36f281(0xb9)](_0x4968b4[_0x36f281(0x183)])),_0x1a8666(0x5,_0x593949[_0x36f281(0xc8)](_0x172174['IRemoteInstanceService']))],_0x4238fe[_0x36f281(0x1f3)]);var _0x20ae76=Object[_0x36f281(0x49a)],_0x34aaf1=Object[_0x36f281(0x381)],_0x301c2a=(_0x558118,_0x578b1a,_0x5a5892,_0x37a179)=>{const _0x5ef9e1=_0x36f281;for(var _0x52f210=_0x37a179>0x1?void 0x0:_0x37a179?_0x34aaf1(_0x578b1a,_0x5a5892):_0x578b1a,_0x407111=_0x558118[_0x5ef9e1(0x43f)]-0x1,_0x421074;_0x407111>=0x0;_0x407111--)(_0x421074=_0x558118[_0x407111])&&(_0x52f210=(_0x37a179?_0x421074(_0x578b1a,_0x5a5892,_0x52f210):_0x421074(_0x52f210))||_0x52f210);return _0x37a179&&_0x52f210&&_0x20ae76(_0x578b1a,_0x5a5892,_0x52f210),_0x52f210;},_0x129d22=(_0x5bbd49,_0x1ed2a5)=>(_0x367205,_0x5bc9e9)=>_0x1ed2a5(_0x367205,_0x5bc9e9,_0x5bbd49);const _0x480b3c=_0x36f281(0x209),_0x2a3669='Univer';let _0x471f41=class extends _0x593949[_0x36f281(0x16a)]{constructor(_0x46f433,_0xbd49fc){const _0xdc7a65=_0x36f281;super(),this['_univerInstanceService']=_0x46f433,this[_0xdc7a65(0xdd)]=_0xbd49fc,this[_0xdc7a65(0x3b6)]();}[_0x36f281(0x3b6)](){const _0x378dc0=_0x36f281;this[_0x378dc0(0x196)](this[_0x378dc0(0x276)][_0x378dc0(0x4d5)][_0x378dc0(0x188)](()=>{const _0x31558b=_0x378dc0;var _0x1be989;const _0x705adc=this[_0x31558b(0x276)][_0x31558b(0x1f6)]();let _0x221b9f=(_0x1be989=this[_0x31558b(0xdd)][_0x31558b(0x3bd)](_0x480b3c))!=null?_0x1be989:_0x2a3669;_0x705adc instanceof _0x593949['Workbook']&&(_0x221b9f=_0x705adc['name']),document[_0x31558b(0x1cf)]=_0x221b9f;}));}};_0x471f41=_0x301c2a([_0x129d22(0x0,_0x593949[_0x36f281(0x1dc)]),_0x129d22(0x1,_0x593949[_0x36f281(0xe7)])],_0x471f41);var _0x3b0555=Object['defineProperty'],_0x5a3fd6=Object[_0x36f281(0x381)],_0x3f03ee=(_0x3f36d4,_0x2dbc98,_0x13635d,_0x47c883)=>{const _0x4ee004=_0x36f281;for(var _0x4f5dcc=_0x47c883>0x1?void 0x0:_0x47c883?_0x5a3fd6(_0x2dbc98,_0x13635d):_0x2dbc98,_0x228166=_0x3f36d4[_0x4ee004(0x43f)]-0x1,_0xd4624e;_0x228166>=0x0;_0x228166--)(_0xd4624e=_0x3f36d4[_0x228166])&&(_0x4f5dcc=(_0x47c883?_0xd4624e(_0x2dbc98,_0x13635d,_0x4f5dcc):_0xd4624e(_0x4f5dcc))||_0x4f5dcc);return _0x47c883&&_0x4f5dcc&&_0x3b0555(_0x2dbc98,_0x13635d,_0x4f5dcc),_0x4f5dcc;},_0x713913=(_0x451119,_0x457478)=>(_0x12f28e,_0x8cba67)=>_0x457478(_0x12f28e,_0x8cba67,_0x451119);let _0x2e20af=class{constructor(_0x215234,_0x3a3f04,_0x34cf3e){const _0x5f4a56=_0x36f281;this[_0x5f4a56(0xdd)]=_0x215234,this[_0x5f4a56(0x2be)]=_0x3a3f04,this[_0x5f4a56(0x232)]=_0x34cf3e,this['init']();}[_0x36f281(0x2bb)](){const _0x1bee5a=_0x36f281;this[_0x1bee5a(0x2be)][_0x1bee5a(0x155)]({'priority':0x1,'interceptor':(_0x4f4e07,_0x48f015)=>_0x48f015(_0x4f4e07)['pipe'](_0x30c949[_0x1bee5a(0x235)](async _0x36dff1=>{const _0x51fb82=_0x1bee5a,_0x353e98=_0x36dff1;if(_0x353e98[_0x51fb82(0x339)]===0x191&&window['confirm'](this[_0x51fb82(0x232)]['t'](_0x51fb82(0x1d4)))){const _0x251aa7=window['encodeURIComponent'](window[_0x51fb82(0x43d)][_0x51fb82(0x150)]);window[_0x51fb82(0x43d)]['href']=this[_0x51fb82(0x3e9)]()+_0x51fb82(0x1b3)+_0x251aa7;}return _0x353e98;}))});}['_getLoginPath'](){const _0x11ea38=_0x36f281;var _0x38d931,_0x38f758;const _0x36fdc6=this['_configService'][_0x11ea38(0x3bd)](_0x40bc0f),_0x4fdfb7=this[_0x11ea38(0xdd)][_0x11ea38(0x3bd)](_0xfe6e3e);return(_0x38f758=(_0x38d931=_0x4fdfb7==null?void 0x0:_0x4fdfb7['loginUrlKey'])!=null?_0x38d931:_0x36fdc6)!=null?_0x38f758:_0x945847;}};_0x2e20af=_0x3f03ee([_0x713913(0x0,_0x593949[_0x36f281(0xe7)]),_0x713913(0x1,_0x593949[_0x36f281(0xb9)](_0x4c2b25[_0x36f281(0x426)])),_0x713913(0x2,_0x593949['Inject'](_0x593949[_0x36f281(0x2bc)]))],_0x2e20af);var _0x2ef9f4=Object['defineProperty'],_0x35d30e=Object['getOwnPropertyDescriptor'],_0x19d738=(_0xe952c2,_0x42d7d0,_0x18d7c8,_0x126883)=>{for(var _0x532d5d=_0x126883>0x1?void 0x0:_0x126883?_0x35d30e(_0x42d7d0,_0x18d7c8):_0x42d7d0,_0x145281=_0xe952c2['length']-0x1,_0x4d9ba7;_0x145281>=0x0;_0x145281--)(_0x4d9ba7=_0xe952c2[_0x145281])&&(_0x532d5d=(_0x126883?_0x4d9ba7(_0x42d7d0,_0x18d7c8,_0x532d5d):_0x4d9ba7(_0x532d5d))||_0x532d5d);return _0x126883&&_0x532d5d&&_0x2ef9f4(_0x42d7d0,_0x18d7c8,_0x532d5d),_0x532d5d;},_0x5db52a=(_0x55f7f2,_0x1928ef)=>(_0x204525,_0x3092b7)=>_0x1928ef(_0x204525,_0x3092b7,_0x55f7f2);const _0x53a088=_0x36f281(0x170),_0x4bf1ad=_0x36f281(0x28d);_0x4238fe['AuthzIoHttpService']=class extends _0x593949[_0x36f281(0x16a)]{constructor(_0x1113f1,_0x507a73){const _0x12e57b=_0x36f281;super(),this[_0x12e57b(0x14d)]=_0x1113f1,this[_0x12e57b(0xdd)]=_0x507a73,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){const _0x384d6b=_0x36f281,_0x3ec204=this;this['disposeWithMe'](this[_0x384d6b(0x14d)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x4c2b25['MergeInterceptorFactory']({'isMatch'(_0x643bce){const _0x52b067=_0x384d6b;var _0x250efc;if(_0x643bce['method']===_0x52b067(0x2bf)&&((_0x250efc=_0x643bce[_0x52b067(0x368)])!=null&&_0x250efc[_0x52b067(0x256)])){const {objectID:_0x3dcfd7,objectType:_0x12fc75}=_0x643bce[_0x52b067(0x368)][_0x52b067(0x256)]||{};if(!_0x3dcfd7||_0x12fc75===void 0x0)return!0x1;const _0x5cc48b=_0x3ec204[_0x52b067(0x2d9)]()+'/'+_0x12fc75+'/object/'+_0x3dcfd7+_0x52b067(0x2fd);if(_0x643bce[_0x52b067(0x239)]===_0x5cc48b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5b6b23){const _0x4beaf4=_0x384d6b;var _0x4857fb;return(_0x4857fb=_0x5b6b23[_0x4beaf4(0x368)])==null?void 0x0:_0x4857fb[_0x4beaf4(0x256)];},'mergeParamsToRequest'(_0x3a38e7,_0x170ec8){const _0x46de2e=_0x384d6b,_0x249111=_0x3ec204[_0x46de2e(0x2d9)]()+_0x46de2e(0x2fb),_0x4131e8=_0x3a38e7['reduce']((_0x2c5faf,_0x3e55a9)=>{const _0x1f5362=_0x46de2e,{unitID:_0x1600e1,objectID:_0x5bb0b6,objectType:_0x266af9,actions:_0x5d31da}=_0x3e55a9;return _0x2c5faf[_0x1600e1]||(_0x2c5faf[_0x1600e1]={}),_0x2c5faf[_0x1600e1][_0x5bb0b6]||(_0x2c5faf[_0x1600e1][_0x5bb0b6]={'objectID':_0x5bb0b6,'objectType':_0x266af9,'actions':[]}),_0x2c5faf[_0x1600e1][_0x5bb0b6][_0x1f5362(0x3b0)][_0x1f5362(0x43c)](..._0x5d31da),_0x2c5faf;},{}),_0x5f4493=[];for(const _0x4fa5e7 in _0x4131e8)for(const _0x2ec48e in _0x4131e8[_0x4fa5e7]){const {actions:_0x336563,objectType:_0x32de66}=_0x4131e8[_0x4fa5e7][_0x2ec48e],_0x338537=[...new Set(_0x336563)];_0x5f4493[_0x46de2e(0x43c)]({'unitID':_0x4fa5e7,'objectID':_0x2ec48e,'objectType':_0x32de66,'actions':_0x338537});}return new _0x4c2b25[(_0x46de2e(0x2f5))](_0x46de2e(0x2bf),_0x249111,{'headers':_0x170ec8['headers'],'withCredentials':_0x170ec8[_0x46de2e(0x11a)],'responseType':_0x170ec8[_0x46de2e(0x35b)],'body':{'requests':_0x5f4493}});}},{'distributeResult'(_0x2cd386,_0x4160eb){const _0x1836c4=_0x384d6b,{objectActions:_0x2286aa}=_0x2cd386;return _0x4160eb[_0x1836c4(0x1de)](_0x5265d2=>{const _0x5c4bce=_0x1836c4,{unitID:_0x59deee,objectID:_0x57700b,actions:_0x46dfa4}=_0x5265d2,_0x394281=_0x2286aa[_0x5c4bce(0x1fd)](_0x37cda5=>_0x37cda5[_0x5c4bce(0x2ba)]===_0x59deee&&_0x37cda5['objectID']===_0x57700b),_0x53fd15=_0x46dfa4['map'](_0x438057=>_0x394281==null?void 0x0:_0x394281['actions'][_0x5c4bce(0x1fd)](_0x11de9e=>_0x11de9e[_0x5c4bce(0x3f9)]===_0x438057))[_0x5c4bce(0x218)](_0xe648c3=>!!_0xe648c3);return{'config':_0x5265d2,'result':{'actions':_0x53fd15,'error':_0x2cd386[_0x5c4bce(0x302)]}};});}})}));}['_getAPIPrefixPath'](){const _0x50e21e=_0x36f281;var _0x2d01f3,_0x22d8e5;const _0x12e0d3=this['_configService']['getConfig'](_0x53a088),_0x5ab16a=this[_0x50e21e(0xdd)]['getConfig'](_0xfe6e3e);return(_0x22d8e5=(_0x2d01f3=_0x5ab16a==null?void 0x0:_0x5ab16a[_0x50e21e(0x1a6)])!=null?_0x2d01f3:_0x12e0d3)!=null?_0x22d8e5:_0x4bf1ad;}async[_0x36f281(0x4cc)](_0x3e9298){const _0xf9fed5=_0x36f281,_0x4a3af5=this[_0xf9fed5(0x2d9)]()+'/'+_0x3e9298[_0xf9fed5(0x459)]+_0xf9fed5(0x355);return(await this['_HTTPService'][_0xf9fed5(0x13c)](_0x4a3af5,{'body':_0x3e9298}))['body'][_0xf9fed5(0x1ce)]||'';}async[_0x36f281(0x2f0)](_0x1b54dd){const _0x373c36=_0x36f281,_0x5a30ab=this[_0x373c36(0x2d9)]()+'/-/object/list';return(await this['_HTTPService']['post'](_0x5a30ab,{'body':_0x1b54dd}))[_0x373c36(0x256)][_0x373c36(0x38b)];}async[_0x36f281(0x266)](_0x5cf139){const _0x3f1c31=_0x36f281,_0x56cc06=this[_0x3f1c31(0x2d9)]()+'/'+_0x5cf139[_0x3f1c31(0x459)]+_0x3f1c31(0xf3)+_0x5cf139[_0x3f1c31(0x1ce)];await this['_HTTPService'][_0x3f1c31(0x114)](_0x56cc06,{'body':_0x5cf139});}async[_0x36f281(0x366)](_0x2cd959){const _0x23215=_0x36f281,_0x1c9231=this['_getAPIPrefixPath']()+'/'+_0x2cd959[_0x23215(0x459)]+_0x23215(0xf3)+_0x2cd959[_0x23215(0x1ce)]+'/allowed';return(await this[_0x23215(0x14d)][_0x23215(0x13c)](_0x1c9231,{'body':_0x2cd959}))['body'][_0x23215(0x3b0)];}async['batchAllowed'](_0x10f539){const _0x23d250=_0x36f281,_0x2cffa9=this[_0x23d250(0x2d9)]()+_0x23d250(0x2fb);return(await this[_0x23d250(0x14d)][_0x23d250(0x13c)](_0x2cffa9,{'body':{'requests':_0x10f539}}))[_0x23d250(0x256)][_0x23d250(0x2d0)];}async[_0x36f281(0x448)](_0x285d63){const _0x446177=_0x36f281,_0x490f26=this[_0x446177(0x2d9)]()+'/'+_0x285d63[_0x446177(0x459)]+_0x446177(0x3f1),_0x20267d=await this[_0x446177(0x14d)][_0x446177(0x13c)](_0x490f26,{'body':_0x285d63});return{'roles':_0x20267d[_0x446177(0x256)][_0x446177(0x234)],'actions':_0x20267d[_0x446177(0x256)]['actions']};}async[_0x36f281(0x32e)](_0x3da400){const _0x1b018b=_0x36f281,_0x4d61b0=this[_0x1b018b(0x2d9)]()+_0x1b018b(0xd3);await this[_0x1b018b(0x14d)][_0x1b018b(0x393)](_0x4d61b0,{'params':{'collaboratorID':_0x3da400[_0x1b018b(0x269)],'objectID':_0x3da400[_0x1b018b(0x1ce)],'unitID':_0x3da400['unitID']}});}async['updateCollaborator'](_0x2d344f){const _0x530329=_0x36f281,_0x164129=this['_getAPIPrefixPath']()+_0x530329(0xd3);await this[_0x530329(0x14d)]['patch'](_0x164129,{'body':_0x2d344f});}async[_0x36f281(0x342)](_0xbac71e){const _0x5b8922=_0x36f281,_0x221e79=this['_getAPIPrefixPath']()+_0x5b8922(0xd3);await this['_HTTPService'][_0x5b8922(0x13c)](_0x221e79,{'body':_0xbac71e});}async['listCollaborators'](_0x3ee79b){const _0x1d9192=_0x36f281,_0x416c86=this[_0x1d9192(0x2d9)]()+'/collaborator';return(await this[_0x1d9192(0x14d)][_0x1d9192(0x14e)](_0x416c86,{'params':{'objectID':_0x3ee79b[_0x1d9192(0x1ce)],'unitID':_0x3ee79b[_0x1d9192(0x2ba)]}}))[_0x1d9192(0x256)][_0x1d9192(0x17c)];}async['putCollaborators'](_0x5222ac){const _0xbb1f4a=_0x36f281,_0x596dea=this[_0xbb1f4a(0x2d9)]()+_0xbb1f4a(0xd3);await this[_0xbb1f4a(0x14d)]['put'](_0x596dea,{'body':_0x5222ac});}},_0x4238fe[_0x36f281(0x3be)]=_0x19d738([_0x5db52a(0x0,_0x593949[_0x36f281(0xb9)](_0x4c2b25[_0x36f281(0x426)])),_0x5db52a(0x1,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xe7)]))],_0x4238fe['AuthzIoHttpService']);var _0x20fef0=Object[_0x36f281(0x49a)],_0xbc48c0=Object[_0x36f281(0x381)],_0x3cdb4f=(_0x1a5d5c,_0xec4aa5,_0x2deea3,_0x5513fc)=>{const _0x3dae9b=_0x36f281;for(var _0xdafab1=_0x5513fc>0x1?void 0x0:_0x5513fc?_0xbc48c0(_0xec4aa5,_0x2deea3):_0xec4aa5,_0x2800b4=_0x1a5d5c[_0x3dae9b(0x43f)]-0x1,_0x5ef953;_0x2800b4>=0x0;_0x2800b4--)(_0x5ef953=_0x1a5d5c[_0x2800b4])&&(_0xdafab1=(_0x5513fc?_0x5ef953(_0xec4aa5,_0x2deea3,_0xdafab1):_0x5ef953(_0xdafab1))||_0xdafab1);return _0x5513fc&&_0xdafab1&&_0x20fef0(_0xec4aa5,_0x2deea3,_0xdafab1),_0xdafab1;},_0x4dbfb4=(_0xb2ed15,_0x53384a)=>(_0x4adfd9,_0x367a29)=>_0x53384a(_0x4adfd9,_0x367a29,_0xb2ed15);let _0x131dae=class{constructor(_0xc64324){const _0x429a3d=_0x36f281;this[_0x429a3d(0x2be)]=_0xc64324,this[_0x429a3d(0x285)]();}[_0x36f281(0x285)](){const _0x417ba8=_0x36f281;this[_0x417ba8(0x2be)][_0x417ba8(0x155)]({'interceptor':(_0x523ec0,_0x5c5c29)=>{const _0x33559a=_0x417ba8,_0x1965bb=_0x523ec0['headers'],_0x483c81=_0x56e63b[_0x33559a(0x423)]();return _0x483c81&&_0x1965bb[_0x33559a(0x2bd)](_0x33559a(0x193),_0x483c81),_0x5c5c29(_0x523ec0);}});}};_0x131dae=_0x3cdb4f([_0x4dbfb4(0x0,_0x593949[_0x36f281(0xb9)](_0x4c2b25['HTTPService']))],_0x131dae);var _0x35b515=Object[_0x36f281(0x49a)],_0x325f4d=Object[_0x36f281(0x381)],_0xf6657c=(_0x21834c,_0x41b5f2,_0x3d9b44,_0x3fb083)=>{const _0x1e0a95=_0x36f281;for(var _0x2348f5=_0x3fb083>0x1?void 0x0:_0x3fb083?_0x325f4d(_0x41b5f2,_0x3d9b44):_0x41b5f2,_0x152c2d=_0x21834c[_0x1e0a95(0x43f)]-0x1,_0x35e828;_0x152c2d>=0x0;_0x152c2d--)(_0x35e828=_0x21834c[_0x152c2d])&&(_0x2348f5=(_0x3fb083?_0x35e828(_0x41b5f2,_0x3d9b44,_0x2348f5):_0x35e828(_0x2348f5))||_0x2348f5);return _0x3fb083&&_0x2348f5&&_0x35b515(_0x41b5f2,_0x3d9b44,_0x2348f5),_0x2348f5;},_0x123bae=(_0x5883d5,_0x5644c4)=>(_0x4c1a4d,_0x50b306)=>_0x5644c4(_0x4c1a4d,_0x50b306,_0x5883d5);const _0xe87d0b=[_0x36f281(0x35d),_0x36f281(0x4e5),'image/jpg',_0x36f281(0x166),_0x36f281(0x34d)],_0x3b066f=0x5*0x400*0x400,_0x7cb682='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x3dff72=_0x36f281(0x486),_0x4b4605='EXCHANGE_SIGN_URL_SERVER_URL_KEY',_0xfd321b='/universer-api/file/{fileID}/sign-url';_0x4238fe[_0x36f281(0x456)]=class{constructor(_0x5d3bec,_0x298387,_0x43305e){const _0x2e7312=_0x36f281;_0x3e0772(this,_0x2e7312(0x37e),0x0),_0x3e0772(this,_0x2e7312(0xe2),new _0x30c949[(_0x2e7312(0x20c))]()),_0x3e0772(this,_0x2e7312(0x267),this['_change$']),_0x3e0772(this,_0x2e7312(0xfe),new Map()),(this[_0x2e7312(0x2be)]=_0x5d3bec,this[_0x2e7312(0xdd)]=_0x298387,this[_0x2e7312(0x276)]=_0x43305e);}['setWaitCount'](_0x4dc761){const _0x149359=_0x36f281;this[_0x149359(0x37e)]=_0x4dc761,this[_0x149359(0xe2)][_0x149359(0x4e6)](_0x4dc761);}['getImageSourceCache'](_0x2878ea,_0x496607){const _0x403262=_0x36f281;if(_0x496607===_0x2b881e[_0x403262(0x4b6)][_0x403262(0x45f)]){const _0x4b1449=new Image();return _0x4b1449[_0x403262(0x494)]=_0x2878ea,_0x4b1449;}return this[_0x403262(0xfe)][_0x403262(0x14e)](_0x2878ea);}[_0x36f281(0x1df)](_0x351f98,_0x2ffc72,_0x15f1a8){const _0x29e8cc=_0x36f281;_0x2ffc72===_0x2b881e['ImageSourceType'][_0x29e8cc(0x45f)]||_0x15f1a8==null||this[_0x29e8cc(0xfe)][_0x29e8cc(0x2bd)](_0x351f98,_0x15f1a8);}async[_0x36f281(0xfa)](_0x2cfb1b){const _0x4e9ca3=_0x36f281;try{const _0x1721ab=this[_0x4e9ca3(0x1fa)](this[_0x4e9ca3(0x123)](),''+_0x2cfb1b),_0x596ce7=(await this['_httpService'][_0x4e9ca3(0x14e)](_0x1721ab))[_0x4e9ca3(0x256)];if(_0x596ce7[_0x4e9ca3(0x302)]&&_0x596ce7[_0x4e9ca3(0x302)][_0x4e9ca3(0x2a3)]===_0x52baf3['OK']){const _0x18d3d7=new URL(_0x596ce7[_0x4e9ca3(0x239)],this[_0x4e9ca3(0x125)]())['toString']();return Promise[_0x4e9ca3(0x122)](_0x18d3d7);}return Promise[_0x4e9ca3(0x167)](_0x596ce7[_0x4e9ca3(0x302)]);}catch(_0x4cca9b){return Promise[_0x4e9ca3(0x167)](_0x4cca9b);}}async[_0x36f281(0x3ea)](_0x29e84b){const _0x319acd=_0x36f281;let _0x5d4641='';if(!_0xe87d0b[_0x319acd(0x489)](_0x29e84b[_0x319acd(0x17b)]))return this[_0x319acd(0x1be)](),Promise[_0x319acd(0x167)](new Error(_0x2b881e['ImageUploadStatusType'][_0x319acd(0xa9)]));if(_0x29e84b[_0x319acd(0x4a3)]>_0x3b066f)return this[_0x319acd(0x1be)](),Promise[_0x319acd(0x167)](new Error(_0x2b881e[_0x319acd(0x2f8)][_0x319acd(0x33b)]));try{const _0x41c1e0=new FormData();_0x41c1e0['append'](_0x319acd(0x37a),_0x29e84b);const _0x34e478=this[_0x319acd(0x276)][_0x319acd(0x1f6)](),_0x5eeec6=_0x34e478==null?void 0x0:_0x34e478[_0x319acd(0x4c0)]();if(!_0x5eeec6)throw new Error(_0x319acd(0xc2));const _0xdbc19=this['_getUploadFileURL']()+_0x319acd(0xcb)+_0x29e84b['size'][_0x319acd(0x13d)]()+'&source='+_0x34a97d[_0x319acd(0x286)]+'&assign='+encodeURIComponent(_0x5eeec6),_0x550bc3=await(await fetch(_0xdbc19,{'method':'POST','body':_0x41c1e0}))[_0x319acd(0x332)]();if(typeof _0x550bc3['FileId']!=_0x319acd(0x2a8))return this[_0x319acd(0x1be)](),Promise['reject'](new Error(_0x2b881e[_0x319acd(0x2f8)][_0x319acd(0x2f3)]));_0x5d4641=_0x550bc3[_0x319acd(0x465)];}catch{return this[_0x319acd(0x1be)](),Promise['reject'](new Error(_0x2b881e[_0x319acd(0x2f8)][_0x319acd(0x2f3)]));}return new Promise((_0x47120c,_0x18592a)=>{const _0x1a947a=_0x319acd,_0x4399d7=new FileReader();_0x4399d7[_0x1a947a(0x229)](_0x29e84b),_0x4399d7[_0x1a947a(0x396)]=_0x628fce=>{const _0x289cfb=_0x1a947a;var _0x702fb8;const _0x37d28e=(_0x702fb8=_0x628fce[_0x289cfb(0x4cd)])==null?void 0x0:_0x702fb8['result'];if(_0x37d28e==null){this[_0x289cfb(0x1be)](),_0x18592a(new Error(_0x2b881e['ImageUploadStatusType'][_0x289cfb(0x2f3)]));return;}const _0x4eb02d=_0x593949[_0x289cfb(0x205)][_0x289cfb(0x433)](0x6);_0x47120c({'imageId':_0x4eb02d,'imageSourceType':_0x2b881e[_0x289cfb(0x4b6)][_0x289cfb(0x3db)],'source':_0x5d4641,'base64Cache':_0x37d28e,'status':_0x2b881e[_0x289cfb(0x2f8)]['SUCCUSS']}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){const _0x20f35a=_0x36f281;var _0x258005,_0x43350a;const _0x246352=this[_0x20f35a(0xdd)]['getConfig'](_0x7cb682),_0x4dd29f=this[_0x20f35a(0xdd)]['getConfig'](_0xfe6e3e);return(_0x43350a=(_0x258005=_0x4dd29f==null?void 0x0:_0x4dd29f[_0x20f35a(0x327)])!=null?_0x258005:_0x246352)!=null?_0x43350a:_0x3dff72;}[_0x36f281(0x123)](){const _0x820333=_0x36f281;var _0x3d0af6,_0x301bb8;const _0x43526c=this[_0x820333(0xdd)][_0x820333(0x3bd)](_0x4b4605),_0x5adeeb=this[_0x820333(0xdd)][_0x820333(0x3bd)](_0xfe6e3e);return(_0x301bb8=(_0x3d0af6=_0x5adeeb==null?void 0x0:_0x5adeeb[_0x820333(0x3a2)])!=null?_0x3d0af6:_0x43526c)!=null?_0x301bb8:_0xfd321b;}[_0x36f281(0x125)](){const _0x14af70=_0x36f281;var _0x146ffd;const _0x513572=this['_configService'][_0x14af70(0x3bd)](_0xfe6e3e);return(_0x146ffd=_0x513572==null?void 0x0:_0x513572[_0x14af70(0x1a2)])!=null?_0x146ffd:location['origin'];}[_0x36f281(0x1fa)](_0x172508,_0x264036){const _0x5f4e77=_0x36f281;return _0x172508['replace'](_0x5f4e77(0x2e1),_0x264036);}[_0x36f281(0x1be)](){const _0x9d77b=_0x36f281;this[_0x9d77b(0x37e)]-=0x1,this['_change$']['next'](this['_waitCount']);}},_0x4238fe[_0x36f281(0x456)]=_0xf6657c([_0x123bae(0x0,_0x593949[_0x36f281(0xb9)](_0x4c2b25[_0x36f281(0x426)])),_0x123bae(0x1,_0x593949[_0x36f281(0xe7)]),_0x123bae(0x2,_0x593949['Inject'](_0x593949[_0x36f281(0x1dc)]))],_0x4238fe[_0x36f281(0x456)]);var _0x31305b=Object[_0x36f281(0x49a)],_0xf6f75d=Object[_0x36f281(0x381)],_0x4f444a=(_0x2bc589,_0x9ad8dd,_0x256b5d,_0x2bd06b)=>{const _0x284c0b=_0x36f281;for(var _0x17f36f=_0x2bd06b>0x1?void 0x0:_0x2bd06b?_0xf6f75d(_0x9ad8dd,_0x256b5d):_0x9ad8dd,_0x537158=_0x2bc589[_0x284c0b(0x43f)]-0x1,_0x122f5f;_0x537158>=0x0;_0x537158--)(_0x122f5f=_0x2bc589[_0x537158])&&(_0x17f36f=(_0x2bd06b?_0x122f5f(_0x9ad8dd,_0x256b5d,_0x17f36f):_0x122f5f(_0x17f36f))||_0x17f36f);return _0x2bd06b&&_0x17f36f&&_0x31305b(_0x9ad8dd,_0x256b5d,_0x17f36f),_0x17f36f;},_0x20bc53=(_0x63f27a,_0x57fef2)=>(_0x5afcc5,_0x44565c)=>_0x57fef2(_0x5afcc5,_0x44565c,_0x63f27a);let _0x33dc8d=class extends _0x593949[_0x36f281(0x130)]{constructor(_0x5f473c,_0x593c73,_0x222804,_0x245b3e,_0x51ba14){const _0x1e7dbb=_0x36f281;super(),this[_0x1e7dbb(0xf1)]=_0x5f473c,this['_univerInstanceService']=_0x593c73,this[_0x1e7dbb(0x397)]=_0x222804,this[_0x1e7dbb(0x1c5)]=_0x245b3e,this[_0x1e7dbb(0x36f)]=_0x51ba14,this['_initUnitPermissionChange'](),this[_0x1e7dbb(0x34e)]();}[_0x36f281(0x34e)](){const _0xb445a7=_0x36f281,_0x2c1503=async _0x56856f=>{const _0x19373a=_0x4c16;(await this['_collaborationSessionService']['requireSession'](_0x56856f))[_0x19373a(0x44d)][_0x19373a(0x49c)](_0x218e56['filter'](_0x18e6ef=>_0x18e6ef[_0x19373a(0x10a)]===_0x4968b4['CollaborationEvent'][_0x19373a(0x451)]),_0x218e56[_0x19373a(0x142)](this[_0x19373a(0x4d4)]))[_0x19373a(0x188)](_0x3f548e=>{const _0x5aed58=_0x19373a,_0x40d162=_0x3f548e,{reason:_0x3ac3e8}=_0x40d162[_0x5aed58(0x298)];this['_injector']['get'](_0xc44033['IMessageService'])[_0x5aed58(0x348)]({'type':_0x2b27fc['MessageType'][_0x5aed58(0x40f)],'content':this['_localeService']['t'](_0x5aed58(0x1d1))+'('+_0x3ac3e8+')'}),this[_0x5aed58(0x397)]['updatePermissionPoint'](new _0xec6805[(_0x5aed58(0x1d2))](_0x56856f)['id'],!0x1),this[_0x5aed58(0x1c5)][_0x5aed58(0x1bb)](_0x56856f);});};_0x30c949['merge'](this[_0xb445a7(0x276)]['getTypeOfUnitAdded$'](_0x593949[_0xb445a7(0xaf)]['UNIVER_SHEET']),this[_0xb445a7(0x276)][_0xb445a7(0x19c)](_0x593949[_0xb445a7(0xaf)][_0xb445a7(0x4e1)]))[_0xb445a7(0x49c)](_0x218e56[_0xb445a7(0x1de)](_0x3951d8=>_0x3951d8['getUnitId']()),_0x218e56['filter'](_0x5d6c5a=>!_0x593949[_0xb445a7(0x3e0)](_0x5d6c5a)),_0x218e56[_0xb445a7(0x142)](this['dispose$']))[_0xb445a7(0x188)](_0x502efe=>{_0x2c1503(_0x502efe);});}[_0x36f281(0x441)](){const _0x5f217e=_0x36f281,_0x47c5a1=async _0x27b88d=>{const _0x3fdd36=_0x4c16;(await this[_0x3fdd36(0x1c5)]['requireSession'](_0x27b88d))['event$'][_0x3fdd36(0x49c)](_0x218e56[_0x3fdd36(0x218)](_0x4dbcd6=>_0x4dbcd6[_0x3fdd36(0x10a)]===_0x4968b4['CollaborationEvent'][_0x3fdd36(0x299)]),_0x218e56[_0x3fdd36(0x142)](this[_0x3fdd36(0x4d4)]))['subscribe'](_0x270a1e=>{const _0x22560e=_0x3fdd36,_0x35a299=_0x270a1e,{objectId:_0x5eb797}=_0x35a299[_0x22560e(0x298)],_0x4bf781=this[_0x22560e(0xf1)][_0x22560e(0x14e)](_0x35ed85[_0x22560e(0x403)]);_0x5eb797===_0x27b88d?_0x4bf781[_0x22560e(0x15d)](_0x27b88d):_0x4bf781[_0x22560e(0x291)](_0x27b88d,_0x5eb797);});};_0x30c949[_0x5f217e(0x27f)](this[_0x5f217e(0x276)][_0x5f217e(0x19c)](_0x593949[_0x5f217e(0xaf)]['UNIVER_SHEET']),this[_0x5f217e(0x276)]['getTypeOfUnitAdded$'](_0x593949[_0x5f217e(0xaf)][_0x5f217e(0x4e1)]))[_0x5f217e(0x49c)](_0x218e56[_0x5f217e(0x1de)](_0x5d9710=>_0x5d9710[_0x5f217e(0x4c0)]()),_0x218e56[_0x5f217e(0x218)](_0x434d29=>!_0x593949['isInternalEditorID'](_0x434d29)),_0x218e56[_0x5f217e(0x142)](this[_0x5f217e(0x4d4)]))[_0x5f217e(0x188)](_0x1809ad=>{_0x47c5a1(_0x1809ad);});}};_0x33dc8d=_0x4f444a([_0x20bc53(0x0,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x20bc53(0x1,_0x593949[_0x36f281(0x1dc)]),_0x20bc53(0x2,_0x593949[_0x36f281(0x191)]),_0x20bc53(0x3,_0x593949[_0x36f281(0xb9)](_0x4238fe['CollaborationSessionService'])),_0x20bc53(0x4,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0x2bc)]))],_0x33dc8d);var _0x2989cb=Object[_0x36f281(0x49a)],_0xbb894a=Object[_0x36f281(0x381)],_0x456626=(_0x38d2fc,_0x1e1d4d,_0x1ee3fe,_0x422f4c)=>{const _0x30d443=_0x36f281;for(var _0x51b643=_0x422f4c>0x1?void 0x0:_0x422f4c?_0xbb894a(_0x1e1d4d,_0x1ee3fe):_0x1e1d4d,_0x47379d=_0x38d2fc[_0x30d443(0x43f)]-0x1,_0x58b95d;_0x47379d>=0x0;_0x47379d--)(_0x58b95d=_0x38d2fc[_0x47379d])&&(_0x51b643=(_0x422f4c?_0x58b95d(_0x1e1d4d,_0x1ee3fe,_0x51b643):_0x58b95d(_0x51b643))||_0x51b643);return _0x422f4c&&_0x51b643&&_0x2989cb(_0x1e1d4d,_0x1ee3fe,_0x51b643),_0x51b643;},_0x3700e5=(_0x4b077e,_0x555f73)=>(_0x3943d2,_0x450dfa)=>_0x555f73(_0x3943d2,_0x450dfa,_0x4b077e);_0x4238fe['SnapshotServerOverHTTPService']=class{constructor(_0xca42da,_0x509503){const _0x1c951d=_0x36f281;this[_0x1c951d(0xdd)]=_0xca42da,this['_httpService']=_0x509503;}async['getUnitOnRev'](_0x4a5db2,_0x58edfa){const _0x2239ff=_0x36f281;var _0x33f7b8;const {unitID:_0x54ca0b,type:_0x4b0611,revision:_0x10c6d4=0x0}=_0x58edfa,_0x1e5c5b=this['_getSnapshotAPIPrefix']()+'/'+_0x4b0611+'/unit/'+_0x54ca0b+'/rev/'+_0x10c6d4,_0x3ebad3=(await this['_httpService']['get'](_0x1e5c5b))[_0x2239ff(0x256)],_0x48b967=(_0x33f7b8=_0x3ebad3[_0x2239ff(0x314)])==null?void 0x0:_0x33f7b8[_0x2239ff(0x272)];if(_0x48b967){const _0x466cef=_0x48b967==null?void 0x0:_0x48b967[_0x2239ff(0x4a1)],_0x5070dc=_0x4968b4[_0x2239ff(0x2b7)][_0x2239ff(0x22e)](_0x4968b4['b64DecodeUnicode'](_0x466cef));_0x48b967[_0x2239ff(0x4a1)]=_0x5070dc,Object['entries'](_0x48b967[_0x2239ff(0x281)])['forEach'](([,_0xdef50b])=>{const _0x430376=_0x2239ff,_0x25db27=_0xdef50b['originalMeta'],_0x85e57e=_0x4968b4['textEncoder'][_0x430376(0x22e)](_0x4968b4['b64DecodeUnicode'](_0x25db27));_0xdef50b['originalMeta']=_0x85e57e;});}return _0x3ebad3;}async[_0x36f281(0x38f)](_0x2c42f9,_0x385631){const _0x2ea763=_0x36f281,{unitID:_0x5b5500,type:_0x6ed45b,blockID:_0x1b3888}=_0x385631,_0xac2995=this[_0x2ea763(0xdc)]()+'/'+_0x6ed45b+_0x2ea763(0x2e5)+_0x5b5500+_0x2ea763(0x470)+_0x1b3888;return(await this['_httpService'][_0x2ea763(0x14e)](_0xac2995))['body'];}async[_0x36f281(0x171)](_0x59146d,_0x249f1e){const _0x236344=_0x36f281,{unitID:_0x182823,type:_0x4e1407,blockID:_0x179510}=_0x249f1e,_0x86b84b=this['_getAPIPrefix']()+_0x236344(0x470)+_0x4e1407+_0x236344(0x2e5)+_0x182823+'/block/'+_0x179510;return(await this[_0x236344(0x2be)][_0x236344(0x14e)](_0x86b84b))[_0x236344(0x256)];}async[_0x36f281(0x471)](_0x312df6,_0x28ecab){const _0x1da5b7=_0x36f281,{unitID:_0x9178b2,type:_0x390ecf,from:_0x9b9422,to:_0x22e39d}=_0x28ecab,_0x5d3439=this[_0x1da5b7(0xdc)]()+'/'+_0x390ecf+_0x1da5b7(0x2e5)+_0x9178b2+_0x1da5b7(0x335)+_0x9b9422+_0x1da5b7(0x23d)+_0x22e39d;return(await this[_0x1da5b7(0x2be)][_0x1da5b7(0x14e)](_0x5d3439))[_0x1da5b7(0x256)];}['_getSnapshotAPIPrefix'](){const _0x39d0a5=_0x36f281;var _0x1d94ae;return(_0x1d94ae=this[_0x39d0a5(0xdd)]['getConfig'](_0x418a13))!=null?_0x1d94ae:this[_0x39d0a5(0xdc)]();}['_getAPIPrefix'](){const _0x42b2f1=_0x36f281;var _0x56ee07,_0x569b9c;const _0x57e47c=this[_0x42b2f1(0xdd)][_0x42b2f1(0x3bd)](_0x3f5413),_0x3a5033=this[_0x42b2f1(0xdd)][_0x42b2f1(0x3bd)](_0xfe6e3e);return(_0x569b9c=(_0x56ee07=_0x3a5033==null?void 0x0:_0x3a5033[_0x42b2f1(0x1b4)])!=null?_0x56ee07:_0x57e47c)!=null?_0x569b9c:_0x227a95;}async[_0x36f281(0x41a)](_0x50ecc5,_0x3d253b){const _0x177602=_0x36f281,_0x4ad7cd=_0x177602(0x317)+_0x3d253b['type']+_0x177602(0x2e5)+_0x3d253b['unitID']+_0x177602(0x44a);return(await this['_httpService'][_0x177602(0x14e)](_0x4ad7cd,{'params':{'resourceId':JSON[_0x177602(0xc1)](_0x3d253b[_0x177602(0x120)])}}))['body'];}[_0x36f281(0x4be)](){const _0x2a96c9=_0x36f281;throw new Error(_0x2a96c9(0x24e));}['saveSheetBlock'](){const _0x4cf5de=_0x36f281;throw new Error(_0x4cf5de(0x24e));}[_0x36f281(0x2c3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x36f281(0x227)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x36f281(0x1c1)](){const _0x3c8a9f=_0x36f281;throw new Error(_0x3c8a9f(0x24e));}},_0x4238fe[_0x36f281(0x4a6)]=_0x456626([_0x3700e5(0x0,_0x593949[_0x36f281(0xe7)]),_0x3700e5(0x1,_0x593949[_0x36f281(0xb9)](_0x4c2b25['HTTPService']))],_0x4238fe['SnapshotServerOverHTTPService']);var _0x3f71a6=Object[_0x36f281(0x49a)],_0x51dea4=Object[_0x36f281(0x381)],_0xf42ea2=(_0x1720d1,_0x262048,_0xf64f20,_0x2b8803)=>{const _0x46962d=_0x36f281;for(var _0x1aa46f=_0x2b8803>0x1?void 0x0:_0x2b8803?_0x51dea4(_0x262048,_0xf64f20):_0x262048,_0x22e82b=_0x1720d1[_0x46962d(0x43f)]-0x1,_0x2d5e81;_0x22e82b>=0x0;_0x22e82b--)(_0x2d5e81=_0x1720d1[_0x22e82b])&&(_0x1aa46f=(_0x2b8803?_0x2d5e81(_0x262048,_0xf64f20,_0x1aa46f):_0x2d5e81(_0x1aa46f))||_0x1aa46f);return _0x2b8803&&_0x1aa46f&&_0x3f71a6(_0x262048,_0xf64f20,_0x1aa46f),_0x1aa46f;},_0x363352=(_0x123431,_0x51ba8d)=>(_0x5b2994,_0x307e4e)=>_0x51ba8d(_0x5b2994,_0x307e4e,_0x123431);let _0x360146=class extends _0x593949[_0x36f281(0x354)]{constructor(_0x41acf8,_0x587449,_0x4eb896,_0x1c9a6c,_0x488392){const _0x3adde9=_0x36f281;super(_0x41acf8,_0x587449,_0x4eb896),this[_0x3adde9(0x496)]=_0x1c9a6c,this[_0x3adde9(0x3df)]=_0x488392;}[_0x36f281(0x194)](_0x7b5d78,_0x38dfc3){const _0x29e28d=_0x36f281,_0x490090=this[_0x29e28d(0x211)](_0x7b5d78);if(_0x490090)try{const _0x1ac054=this[_0x29e28d(0x29d)](_0x490090,_0x38dfc3);this[_0x29e28d(0x34f)](_0x7b5d78,_0x1ac054);}catch(_0x3a3061){this[_0x29e28d(0x3df)][_0x29e28d(0x302)](_0x29e28d(0x3c7),_0x3a3061),this[_0x29e28d(0x2d5)](_0x7b5d78);}const _0x480ca9=this[_0x29e28d(0x3a0)](_0x7b5d78);if(_0x480ca9)try{const _0x2d579e=this[_0x29e28d(0x29d)](_0x480ca9,_0x38dfc3);this[_0x29e28d(0x328)](_0x7b5d78,_0x2d579e);}catch(_0x49389a){this[_0x29e28d(0x3df)]['error'](_0x49389a),this[_0x29e28d(0x1a5)](_0x7b5d78);}}[_0x36f281(0x2d5)](_0x4cd7b7){const _0x34a157=_0x36f281,_0x47c61e=this[_0x34a157(0x211)](_0x4cd7b7);_0x47c61e&&(_0x47c61e[_0x34a157(0x43f)]=0x0,this[_0x34a157(0x1c2)]());}[_0x36f281(0x1a5)](_0x19093f){const _0x377fed=_0x36f281,_0x422b0e=this[_0x377fed(0x3a0)](_0x19093f);_0x422b0e&&(_0x422b0e['length']=0x0,this[_0x377fed(0x1c2)]());}[_0x36f281(0x34f)](_0x3193b6,_0x598c70){const _0x24213a=_0x36f281;this[_0x24213a(0x282)]['set'](_0x3193b6,_0x598c70),this[_0x24213a(0x1c2)]();}[_0x36f281(0x328)](_0x16e176,_0x1fdb02){const _0x2cd1fc=_0x36f281;this['_redoStacks'][_0x2cd1fc(0x2bd)](_0x16e176,_0x1fdb02),this['_updateStatus']();}[_0x36f281(0x29d)](_0xadf77,_0x5316e5){const _0x4b9d73=_0x36f281,_0x1e0bd7=[];let _0xccdf7=_0x5316e5,_0x4750b7=_0x5316e5;for(let _0x484733=_0xadf77[_0x4b9d73(0x43f)]-0x1;_0x484733>=0x0;_0x484733--){const {unitID:_0x1186ec,undoMutations:_0x54ec7c,redoMutations:_0x402ae4}=_0xadf77[_0x484733],_0xc2a2d5=this[_0x4b9d73(0x496)]['transformMutationsWithChangeset'](_0xccdf7,_0x54ec7c),_0x3209fc=this[_0x4b9d73(0x496)][_0x4b9d73(0x310)](_0x4750b7,_0x402ae4);if(_0x4968b4[_0x4b9d73(0x3d9)](_0xc2a2d5)||_0x4968b4['isTransformMutationsWithChangesetFailure'](_0x3209fc)){this[_0x4b9d73(0x3df)][_0x4b9d73(0x302)](_0x4b9d73(0x3c7),_0x4b9d73(0x2cd),_0xc2a2d5,_0x3209fc);break;}_0xccdf7=_0xc2a2d5['c1Prime'],_0x4750b7=_0x3209fc[_0x4b9d73(0x39f)],_0x1e0bd7[_0x4b9d73(0x43c)]({'unitID':_0x1186ec,'undoMutations':_0xc2a2d5[_0x4b9d73(0xb3)],'redoMutations':_0x3209fc[_0x4b9d73(0xb3)]});}return _0x1e0bd7[_0x4b9d73(0x460)]();}};_0x360146=_0xf42ea2([_0x363352(0x0,_0x593949['IUniverInstanceService']),_0x363352(0x1,_0x593949['ICommandService']),_0x363352(0x2,_0x593949['IContextService']),_0x363352(0x3,_0x4968b4['ITransformService']),_0x363352(0x4,_0x593949[_0x36f281(0x380)])],_0x360146);class _0x4e05d9 extends _0x593949['RxDisposable']{constructor(){const _0x2b8516=_0x36f281;super(),_0x3e0772(this,_0x2b8516(0x2a5)),this[_0x2b8516(0x2a5)]=_0x30c949[_0x2b8516(0x29c)](window,'popstate')[_0x2b8516(0x49c)](_0x30c949['takeUntil'](this[_0x2b8516(0x4d4)]),_0x30c949[_0x2b8516(0x33e)](0x1),_0x30c949[_0x2b8516(0x359)](void 0x0));}[_0x36f281(0x2f7)](_0x3cd934,_0x3ea483,_0x46d38d=!0x1){const _0x1fc9a0=_0x36f281,_0x31c885=new URL(window[_0x1fc9a0(0x43d)][_0x1fc9a0(0x150)]);_0x31c885['searchParams'][_0x1fc9a0(0x2bd)](_0x3cd934,_0x3ea483),_0x46d38d?window[_0x1fc9a0(0x15e)]['replaceState']('','',_0x31c885[_0x1fc9a0(0x13d)]()):window[_0x1fc9a0(0x15e)][_0x1fc9a0(0x1b6)]('','',_0x31c885[_0x1fc9a0(0x13d)]());}[_0x36f281(0x2ea)](_0x4027ab,_0x325d78=!0x1){const _0x213cdd=_0x36f281,_0x1a5ea1=new URL(window[_0x213cdd(0x43d)][_0x213cdd(0x150)]);_0x1a5ea1['searchParams']['delete'](_0x4027ab),_0x325d78?window[_0x213cdd(0x15e)][_0x213cdd(0x1b8)]('','',_0x1a5ea1['toString']()):window[_0x213cdd(0x15e)][_0x213cdd(0x1b6)]('','',_0x1a5ea1[_0x213cdd(0x13d)]());}[_0x36f281(0x37d)](_0x3246e9){const _0x139134=_0x36f281;var _0x4c34c6;return(_0x4c34c6=new URL(window[_0x139134(0x43d)][_0x139134(0x150)])[_0x139134(0x3b3)][_0x139134(0x14e)](_0x3246e9))!=null?_0x4c34c6:void 0x0;}}var _0x44b24b=Object['defineProperty'],_0x281df3=Object[_0x36f281(0x381)],_0x462610=(_0xe7e8d1,_0x1a183e,_0x27a2ac)=>_0x1a183e in _0xe7e8d1?_0x44b24b(_0xe7e8d1,_0x1a183e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x27a2ac}):_0xe7e8d1[_0x1a183e]=_0x27a2ac,_0x284ccd=(_0x3a4153,_0x54db1f,_0x598a9b,_0x4083c0)=>{const _0x68440d=_0x36f281;for(var _0x420da9=_0x4083c0>0x1?void 0x0:_0x4083c0?_0x281df3(_0x54db1f,_0x598a9b):_0x54db1f,_0x445a48=_0x3a4153[_0x68440d(0x43f)]-0x1,_0x184089;_0x445a48>=0x0;_0x445a48--)(_0x184089=_0x3a4153[_0x445a48])&&(_0x420da9=(_0x4083c0?_0x184089(_0x54db1f,_0x598a9b,_0x420da9):_0x184089(_0x420da9))||_0x420da9);return _0x4083c0&&_0x420da9&&_0x44b24b(_0x54db1f,_0x598a9b,_0x420da9),_0x420da9;},_0x1436ea=(_0x453111,_0x67652d)=>(_0x38f055,_0x4714ac)=>_0x67652d(_0x38f055,_0x4714ac,_0x453111),_0x2cafe3=(_0x403c08,_0x3ff4ee,_0x37e253)=>_0x462610(_0x403c08,_0x3ff4ee+'',_0x37e253);const _0x23e748=_0x36f281(0x2b9);_0x4238fe[_0x36f281(0x36d)]=class extends _0x593949[_0x36f281(0xd7)]{constructor(_0x41e574=_0x57fe04,_0x3fb56b,_0x4b4dea,_0x262a5a,_0x542e28){const _0x470fd4=_0x36f281;super(),this['_config']=_0x41e574,this[_0x470fd4(0x3df)]=_0x3fb56b,this[_0x470fd4(0x2aa)]=_0x4b4dea,this[_0x470fd4(0xf1)]=_0x262a5a,this[_0x470fd4(0xdd)]=_0x542e28;const {..._0x2e3e0e}=this[_0x470fd4(0x22d)];this[_0x470fd4(0xdd)]['setConfig'](_0xfe6e3e,_0x2e3e0e);}['onStarting'](){const _0x3d69be=_0x36f281;this['_registerDependencies'](),_0x593949[_0x3d69be(0x13f)](this[_0x3d69be(0xf1)],[[_0x455914],[_0x4238fe['DataLoaderController']],[_0x33dc8d]]);}[_0x36f281(0x26d)](){const _0x5ae054=_0x36f281;_0x593949[_0x5ae054(0x13f)](this['_injector'],[[_0x471f41]]);}[_0x36f281(0x40d)](){this['_registerRenderDependencies']();}[_0x36f281(0x323)](){const _0x506e3a=_0x36f281;var _0xf0f809,_0x1fd45a,_0x543f0e,_0xfc073;this[_0x506e3a(0xf1)][_0x506e3a(0x1f2)](_0x593949[_0x506e3a(0x3d1)])&&this[_0x506e3a(0x3df)][_0x506e3a(0x302)](_0x506e3a(0x334),_0x506e3a(0x22b));let _0x112f28=[[_0x593949[_0x506e3a(0x3d1)],{'useClass':_0x360146}],[_0x4238fe[_0x506e3a(0x370)]],[_0x5d0f13],[_0x4c2b25[_0x506e3a(0x426)]],[_0x2863a7,{'useClass':_0x4e05d9}],[_0x40c14d],[_0x4238fe[_0x506e3a(0xd2)]],[_0x4c2b25[_0x506e3a(0x357)]],[_0x29a18f],[_0x2ffd8e],[_0x249d79],[_0x337544],[_0x2e20af],[_0x131dae],[_0x5a515d],[_0x33dc8d],[_0x2d8f92,{'useClass':(_0x1fd45a=(_0xf0f809=this[_0x506e3a(0x22d)])==null?void 0x0:_0xf0f809['socketService'])!=null?_0x1fd45a:_0x4238fe['CollaborationSocketService']}],[_0x4c2b25[_0x506e3a(0x4e9)],{'useClass':_0x4c2b25[_0x506e3a(0x46f)]}],[_0x4968b4[_0x506e3a(0x369)],{'useClass':_0x4238fe['SnapshotServerOverHTTPService']}],[_0x593949[_0x506e3a(0x42f)],{'useClass':_0x4238fe['AuthzIoHttpService']}],[_0x2b881e[_0x506e3a(0x4e0)],{'useClass':_0x4238fe['ImageIoService']}],[_0x4238fe['CollaborationController']],[_0x4238fe[_0x506e3a(0x1f3)]],[_0x4238fe[_0x506e3a(0x225)]],[_0x471f41],[_0x455914]];(_0x543f0e=this['_config'])!=null&&_0x543f0e['enableSingleActiveInstanceLock']&&_0x112f28[_0x506e3a(0x43c)]([_0x34b236,{'useClass':_0x34a490}]),_0x112f28=_0x593949[_0x506e3a(0x26a)](_0x112f28,(_0xfc073=this[_0x506e3a(0x22d)])==null?void 0x0:_0xfc073[_0x506e3a(0x4d7)]),_0x112f28['forEach'](_0x469ef6=>this[_0x506e3a(0xf1)][_0x506e3a(0xf6)](_0x469ef6)),this[_0x506e3a(0x139)]();}[_0x36f281(0x24a)](){const _0x42e125=_0x36f281;this['disposeWithMe'](this[_0x42e125(0x2aa)][_0x42e125(0x46d)](_0x593949[_0x42e125(0xaf)]['UNIVER_DOC'],[_0x12fd25])),this[_0x42e125(0x196)](this[_0x42e125(0x2aa)]['registerRenderModule'](_0x593949[_0x42e125(0xaf)][_0x42e125(0x12e)],[_0x11cefc]));}[_0x36f281(0x139)](){const _0x2b4314=_0x36f281;var _0x5013dc,_0x12a765;this[_0x2b4314(0xf1)][_0x2b4314(0x14e)](_0x4c2b25[_0x2b4314(0x426)])[_0x2b4314(0x155)]({'priority':0x14,'interceptor':_0x4c2b25[_0x2b4314(0x30d)]({'maxParallel':0x6})}),this[_0x2b4314(0xf1)][_0x2b4314(0x14e)](_0x131dae),(_0x5013dc=this[_0x2b4314(0x22d)])!=null&&_0x5013dc[_0x2b4314(0x36b)]||this['_injector'][_0x2b4314(0x14e)](_0x4238fe[_0x2b4314(0xd2)])[_0x2b4314(0x4bd)](),(_0x12a765=this[_0x2b4314(0x22d)])!=null&&_0x12a765[_0x2b4314(0x24f)]&&this[_0x2b4314(0xf1)]['get'](_0x2e20af),this['_injector'][_0x2b4314(0x14e)](_0x4238fe['CollaborationController']),this[_0x2b4314(0xf1)][_0x2b4314(0x1f2)](_0x4238fe['DesktopCollaborationStatusDisplayController'])&&this[_0x2b4314(0xf1)][_0x2b4314(0x14e)](_0x4238fe[_0x2b4314(0x225)]);}},_0x2cafe3(_0x4238fe[_0x36f281(0x36d)],'pluginName',_0x23e748),_0x4238fe[_0x36f281(0x36d)]=_0x284ccd([_0x593949[_0x36f281(0x131)](_0x4968b4[_0x36f281(0x1ff)]),_0x1436ea(0x1,_0x593949[_0x36f281(0x380)]),_0x1436ea(0x2,_0xa07e34[_0x36f281(0x186)]),_0x1436ea(0x3,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x1436ea(0x4,_0x593949[_0x36f281(0xe7)])],_0x4238fe[_0x36f281(0x36d)]),_0x4238fe['AUTHZ_URL_KEY']=_0x53a088,_0x4238fe[_0x36f281(0x3f7)]=_0x51e7c0,_0x4238fe['COLLAB_WEB_SOCKET_URL_KEY']=_0x3db6d8,_0x4238fe[_0x36f281(0x1da)]=_0x2d65dc,_0x4238fe[_0x36f281(0x4b4)]=_0x580fae,_0x4238fe[_0x36f281(0x305)]=_0x5a515d,_0x4238fe[_0x36f281(0x2de)]=_0xec8683,_0x4238fe[_0x36f281(0x41f)]=_0x512ef2,_0x4238fe[_0x36f281(0x250)]=_0x2d8f92,_0x4238fe['IURLService']=_0x2863a7,_0x4238fe[_0x36f281(0x100)]=_0x443bb,_0x4238fe[_0x36f281(0x356)]=_0x40bc0f,_0x4238fe[_0x36f281(0x31d)]=_0x428723,_0x4238fe[_0x36f281(0x37c)]=_0x2b528f,_0x4238fe[_0x36f281(0x4c8)]=_0x3f5413,_0x4238fe[_0x36f281(0x1c0)]=_0x418a13,_0x4238fe[_0x36f281(0x2fc)]=_0x108499,_0x4238fe[_0x36f281(0x1d6)]=_0x55e027,_0x4238fe[_0x36f281(0x4db)]=_0x4e05d9,_0x4238fe[_0x36f281(0xb6)]=_0x49635b,_0x4238fe[_0x36f281(0x37b)]=_0x59173a,Object[_0x36f281(0x49a)](_0x4238fe,Symbol[_0x36f281(0x1b9)],{'value':'Module'});}));
|
1
|
+
function _0x352d(_0x3d227c,_0x371ca4){const _0x17ad53=_0x17ad();return _0x352d=function(_0x352da1,_0x5aa361){_0x352da1=_0x352da1-0x10a;let _0x53d292=_0x17ad53[_0x352da1];return _0x53d292;},_0x352d(_0x3d227c,_0x371ca4);}(function(_0x5c44aa,_0x46e694){const _0x3a0d27=_0x352d,_0x21d259=_0x5c44aa();while(!![]){try{const _0x4161ef=-parseInt(_0x3a0d27(0x372))/0x1+-parseInt(_0x3a0d27(0x4a9))/0x2+parseInt(_0x3a0d27(0x22a))/0x3+parseInt(_0x3a0d27(0x46a))/0x4*(parseInt(_0x3a0d27(0x264))/0x5)+-parseInt(_0x3a0d27(0x2c9))/0x6+parseInt(_0x3a0d27(0x1bb))/0x7*(-parseInt(_0x3a0d27(0x532))/0x8)+parseInt(_0x3a0d27(0x3cd))/0x9*(-parseInt(_0x3a0d27(0x5bd))/0xa);if(_0x4161ef===_0x46e694)break;else _0x21d259['push'](_0x21d259['shift']());}catch(_0x11b37f){_0x21d259['push'](_0x21d259['shift']());}}}(_0x17ad,0xcad38),function(_0x744c4f,_0x40b139){const _0x5a137e=_0x352d;typeof exports=='object'&&typeof module<'u'?_0x40b139(exports,require(_0x5a137e(0x1f4)),require('rxjs'),require(_0x5a137e(0x58b)),require('@univerjs/design'),require(_0x5a137e(0x1b9)),require(_0x5a137e(0x2c3)),require('@univerjs-pro/collaboration'),require(_0x5a137e(0x4df)),require(_0x5a137e(0x5b8)),require(_0x5a137e(0x512)),require(_0x5a137e(0x1b7)),require(_0x5a137e(0x5b2)),require('@univerjs/drawing'),require(_0x5a137e(0x418)),require(_0x5a137e(0x5af)),require(_0x5a137e(0x485)),require(_0x5a137e(0x358))):typeof define==_0x5a137e(0x2e0)&&define['amd']?define([_0x5a137e(0x4be),_0x5a137e(0x1f4),'rxjs',_0x5a137e(0x58b),_0x5a137e(0x2ea),_0x5a137e(0x1b9),_0x5a137e(0x2c3),'@univerjs-pro/collaboration',_0x5a137e(0x4df),'@univerjs/docs-ui',_0x5a137e(0x512),_0x5a137e(0x1b7),_0x5a137e(0x5b2),_0x5a137e(0x4d4),_0x5a137e(0x418),_0x5a137e(0x5af),_0x5a137e(0x485),_0x5a137e(0x358)],_0x40b139):(_0x744c4f=typeof globalThis<'u'?globalThis:_0x744c4f||self,_0x40b139(_0x744c4f[_0x5a137e(0x539)]={},_0x744c4f['UniverCore'],_0x744c4f['rxjs'],_0x744c4f[_0x5a137e(0x19f)][_0x5a137e(0x1e2)],_0x744c4f[_0x5a137e(0x216)],_0x744c4f[_0x5a137e(0x37a)],_0x744c4f[_0x5a137e(0x11d)],_0x744c4f[_0x5a137e(0x5cf)],_0x744c4f[_0x5a137e(0x37c)],_0x744c4f[_0x5a137e(0x2a1)],_0x744c4f['UniverSheets'],_0x744c4f[_0x5a137e(0x487)],_0x744c4f[_0x5a137e(0x30c)],_0x744c4f[_0x5a137e(0x392)],_0x744c4f[_0x5a137e(0x1d6)],_0x744c4f['UniverSheetsUi'],_0x744c4f[_0x5a137e(0x537)],_0x744c4f[_0x5a137e(0x399)]));}(this,function(_0x5e8095,_0xd3ef1d,_0x2c8065,_0x5cc70d,_0x3c4c54,_0x45bd5d,_0x46bbd6,_0x47367d,_0x1278b2,_0x580bbe,_0x1b517d,_0x141d86,_0x4c13e7,_0x542813,_0x24d855,_0x4c24d4,_0x1fccfb,_0x1d5916){'use strict';const _0x4176ec=_0x352d;var _0x55781b=Object[_0x4176ec(0x2b4)],_0x2953ca=(_0x5512ca,_0x23a272,_0x53fa62)=>_0x23a272 in _0x5512ca?_0x55781b(_0x5512ca,_0x23a272,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53fa62}):_0x5512ca[_0x23a272]=_0x53fa62,_0xddf92d=(_0x532285,_0x497291,_0x260b9b)=>_0x2953ca(_0x532285,typeof _0x497291!='symbol'?_0x497291+'':_0x497291,_0x260b9b);const _0x3c4a0e=_0x4176ec(0x55c),_0x434e9e=_0x4176ec(0x4e5),_0x16b278=_0x4176ec(0x366),_0x195f21=_0x4176ec(0x324),_0x5d93b2=_0x4176ec(0x188),_0x4bede7=_0x4176ec(0x5a5),_0x1f3478='HEARTBEAT_INTERVAL',_0x3ac21c=_0x4176ec(0x196),_0x556d99=_0x4176ec(0x350),_0x102ba6='LOCAL_CACHE_INTERVAL',_0x4aec31=_0x4176ec(0x222),_0x2bbff7='/universer-api/comb',_0x342faa=_0x4176ec(0x4cd),_0x4e7a7c='/universer-api/oidc/authpage';var _0xd6cb55=(_0x2c9c59=>(_0x2c9c59[_0x2c9c59[_0x4176ec(0x2c4)]=0x0]='UNDEFINED',_0x2c9c59[_0x2c9c59['OK']=0x1]='OK',_0x2c9c59[_0x2c9c59['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x2c9c59[_0x2c9c59['PERMISSION_DENIED']=0x3]=_0x4176ec(0x509),_0x2c9c59[_0x2c9c59['NOT_FOUND']=0x4]=_0x4176ec(0x3c9),_0x2c9c59[_0x2c9c59[_0x4176ec(0x5d1)]=0x5]=_0x4176ec(0x5d1),_0x2c9c59[_0x2c9c59[_0x4176ec(0x52c)]=0x6]=_0x4176ec(0x52c),_0x2c9c59[_0x2c9c59['INVALID_ARGUMENT']=0x7]=_0x4176ec(0x4f5),_0x2c9c59[_0x2c9c59[_0x4176ec(0x436)]=0x8]=_0x4176ec(0x436),_0x2c9c59[_0x2c9c59[_0x4176ec(0x171)]=0x9]=_0x4176ec(0x171),_0x2c9c59[_0x2c9c59[_0x4176ec(0x137)]=0x1389]=_0x4176ec(0x137),_0x2c9c59[_0x2c9c59['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4176ec(0x2a5),_0x2c9c59[_0x2c9c59[_0x4176ec(0x3f0)]=0x1772]=_0x4176ec(0x3f0),_0x2c9c59[_0x2c9c59[_0x4176ec(0x4ee)]=0x1773]=_0x4176ec(0x4ee),_0x2c9c59[_0x2c9c59['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x2c9c59[_0x2c9c59[_0x4176ec(0x3bb)]=0x1b5a]=_0x4176ec(0x3bb),_0x2c9c59[_0x2c9c59['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4176ec(0x431),_0x2c9c59[_0x2c9c59['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4176ec(0x594),_0x2c9c59[_0x2c9c59['APPLY_DUPLICATED']=0x1b5d]=_0x4176ec(0x596),_0x2c9c59[_0x2c9c59[_0x4176ec(0x3cf)]=0x1f41]=_0x4176ec(0x3cf),_0x2c9c59[_0x2c9c59[_0x4176ec(0x3ee)]=0x2329]=_0x4176ec(0x3ee),_0x2c9c59[_0x2c9c59[_0x4176ec(0x36f)]=0x232a]=_0x4176ec(0x36f),_0x2c9c59[_0x2c9c59[_0x4176ec(0x31a)]=0x232b]=_0x4176ec(0x31a),_0x2c9c59[_0x2c9c59['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2c9c59[_0x2c9c59[_0x4176ec(0x3b4)]=0x232d]=_0x4176ec(0x3b4),_0x2c9c59[_0x2c9c59['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4176ec(0x1f6),_0x2c9c59[_0x2c9c59[_0x4176ec(0x492)]=0x2712]=_0x4176ec(0x492),_0x2c9c59[_0x2c9c59['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4176ec(0x17b),_0x2c9c59[_0x2c9c59[_0x4176ec(0x32b)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2c9c59[_0x2c9c59['UNRECOGNIZED']=-0x1]=_0x4176ec(0x34d),_0x2c9c59))(_0xd6cb55||{}),_0x34a84f=(_0x215246=>(_0x215246[_0x215246[_0x4176ec(0x125)]=0x0]='UNIVER_UNKNOWN',_0x215246[_0x215246[_0x4176ec(0x457)]=0x1]=_0x4176ec(0x457),_0x215246[_0x215246[_0x4176ec(0x1ab)]=0x2]='UNIVER_SHEET',_0x215246[_0x215246[_0x4176ec(0x161)]=0x3]='UNIVER_SLIDE',_0x215246[_0x215246[_0x4176ec(0x456)]=0x4]=_0x4176ec(0x456),_0x215246[_0x215246[_0x4176ec(0x34d)]=-0x1]=_0x4176ec(0x34d),_0x215246))(_0x34a84f||{}),_0x3a059b=(_0x519047=>(_0x519047[_0x519047[_0x4176ec(0x143)]=0x0]='UNKNOWN_CMD',_0x519047[_0x519047['HELLO']=0x1]=_0x4176ec(0x465),_0x519047[_0x519047[_0x4176ec(0x2c7)]=0x2]=_0x4176ec(0x2c7),_0x519047[_0x519047['LEAVE']=0x3]=_0x4176ec(0x5ca),_0x519047[_0x519047[_0x4176ec(0x494)]=0x4]=_0x4176ec(0x494),_0x519047[_0x519047[_0x4176ec(0x597)]=0x5]='HEARTBEAT',_0x519047[_0x519047[_0x4176ec(0x35a)]=0x6]=_0x4176ec(0x35a),_0x519047[_0x519047[_0x4176ec(0x34d)]=-0x1]=_0x4176ec(0x34d),_0x519047))(_0x3a059b||{}),_0x352906=(_0x1ec3ee=>(_0x1ec3ee[_0x1ec3ee[_0x4176ec(0x252)]=0x0]='UNKNOWN_CODE',_0x1ec3ee[_0x1ec3ee['OK']=0x1]='OK',_0x1ec3ee[_0x1ec3ee[_0x4176ec(0x263)]=0x2]='FAIL',_0x1ec3ee[_0x1ec3ee[_0x4176ec(0x34d)]=-0x1]='UNRECOGNIZED',_0x1ec3ee))(_0x352906||{}),_0x14912f=(_0x34ea9d=>(_0x34ea9d[_0x34ea9d['Undefined']=0x0]=_0x4176ec(0x46b),_0x34ea9d[_0x34ea9d['HttpImport']=0x1]=_0x4176ec(0x1d8),_0x34ea9d[_0x34ea9d['HttpExport']=0x2]=_0x4176ec(0x208),_0x34ea9d[_0x34ea9d['UnitEmbedded']=0x3]='UnitEmbedded',_0x34ea9d[_0x34ea9d['UnitSnapshot']=0x4]=_0x4176ec(0x1c0),_0x34ea9d[_0x34ea9d[_0x4176ec(0x34d)]=-0x1]=_0x4176ec(0x34d),_0x34ea9d))(_0x14912f||{});const _0x20ac24=_0x4176ec(0x2ae),_0x57c7f4={};function _0x44c533(_0x532ba5){const _0x51eac3=_0x4176ec;var _0x476800,_0x56af39,_0x461167,_0x598ea3,_0x2a193a;const _0x690635=_0x532ba5['data'],_0x44b261=JSON[_0x51eac3(0x25b)](_0x690635);switch(_0x44b261[_0x51eac3(0x24d)]){case _0x3a059b[_0x51eac3(0x597)]:case _0x3a059b['HELLO']:{const _0x4a8dab=_0x44b261['infoRsp'];return{..._0x44b261,'data':_0x4a8dab,'cmd':_0x44b261[_0x51eac3(0x24d)]};}case _0x3a059b[_0x51eac3(0x2c7)]:{const _0x938fcd=_0x44b261[_0x51eac3(0x3cb)];return{..._0x44b261,'data':_0x938fcd,'cmd':_0x44b261['cmd']};}case _0x3a059b[_0x51eac3(0x35a)]:{const _0x4f3de0=_0x44b261[_0x51eac3(0x35c)];switch(_0x4f3de0[_0x51eac3(0x4d0)]){case _0x47367d[_0x51eac3(0x498)][_0x51eac3(0x558)]:return{..._0x44b261,'data':{..._0x4f3de0,'data':(_0x476800=_0x4f3de0[_0x51eac3(0x4e2)])==null?void 0x0:_0x476800['cs']},'cmd':_0x44b261['cmd']};case _0x47367d['CollaborationEvent']['CHANGESET_ACK']:return{..._0x44b261,'data':{..._0x4f3de0,'data':(_0x56af39=_0x4f3de0['csAckEvent'])==null?void 0x0:_0x56af39['cs']},'cmd':_0x44b261['cmd']};case _0x47367d[_0x51eac3(0x498)][_0x51eac3(0x27f)]:return{..._0x44b261,'data':{..._0x4f3de0,'data':(_0x461167=_0x4f3de0[_0x51eac3(0x1b5)])==null?void 0x0:_0x461167['cs']},'cmd':_0x44b261['cmd']};case _0x47367d[_0x51eac3(0x498)][_0x51eac3(0x274)]:return{..._0x44b261,'data':{..._0x4f3de0,'data':(_0x598ea3=_0x4f3de0[_0x51eac3(0x225)])==null?void 0x0:_0x598ea3['cs']},'cmd':_0x44b261[_0x51eac3(0x24d)]};case _0x47367d['CollaborationEvent'][_0x51eac3(0x318)]:return{..._0x44b261,'data':{..._0x4f3de0,'data':(_0x2a193a=_0x4f3de0[_0x51eac3(0x262)])==null?void 0x0:_0x2a193a['cs']},'cmd':_0x44b261[_0x51eac3(0x24d)]};case _0x47367d[_0x51eac3(0x498)][_0x51eac3(0x12f)]:return{..._0x44b261,'data':{..._0x4f3de0,'data':_0x4f3de0[_0x51eac3(0x307)]},'cmd':_0x44b261[_0x51eac3(0x24d)]};case _0x47367d[_0x51eac3(0x498)]['USERS_ENTER']:return{..._0x44b261,'data':{..._0x4f3de0,'data':_0x4f3de0[_0x51eac3(0x1cf)]},'cmd':_0x44b261[_0x51eac3(0x24d)]};case _0x47367d[_0x51eac3(0x498)][_0x51eac3(0x376)]:return{..._0x44b261,'data':{..._0x4f3de0,'data':_0x4f3de0[_0x51eac3(0x27c)]},'cmd':_0x44b261['cmd']};case _0x47367d[_0x51eac3(0x498)][_0x51eac3(0x562)]:return{..._0x44b261,'data':{..._0x4f3de0,'data':_0x4f3de0[_0x51eac3(0x1a1)]},'cmd':_0x44b261[_0x51eac3(0x24d)]};case _0x47367d[_0x51eac3(0x498)]['LIVESHARE_FETCH_OPERATIONS']:case _0x47367d['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x44b261,'data':{..._0x4f3de0,'data':_0x4f3de0['liveShareOperation']},'cmd':_0x44b261[_0x51eac3(0x24d)]};case _0x47367d[_0x51eac3(0x498)]['LIVESHARE_TERMINATE']:return{..._0x44b261,'data':{..._0x4f3de0,'data':_0x4f3de0[_0x51eac3(0x1a1)]},'cmd':_0x44b261['cmd']};case _0x47367d[_0x51eac3(0x498)][_0x51eac3(0x25a)]:return{..._0x44b261,'data':_0x4f3de0,'cmd':_0x44b261['cmd']};case _0x47367d[_0x51eac3(0x498)][_0x51eac3(0x46f)]:return{..._0x44b261,'data':{..._0x4f3de0,'data':_0x4f3de0['commentUpdateEvent']},'cmd':_0x44b261['cmd']};case _0x47367d[_0x51eac3(0x498)][_0x51eac3(0x5c6)]:return{..._0x44b261,'data':{..._0x4f3de0,'data':_0x4f3de0[_0x51eac3(0x49b)]},'cmd':_0x44b261[_0x51eac3(0x24d)]};case _0x47367d[_0x51eac3(0x498)]['SHOULD_CLOSE_CONN']:return{..._0x44b261,'data':{..._0x4f3de0,'data':_0x4f3de0['shouldCloseConn']},'cmd':_0x44b261[_0x51eac3(0x24d)]};default:return _0x44b261;}}default:return _0x44b261;}}function _0x3a96bd(_0x52a042){const _0x1dabff=_0x4176ec;switch(_0x52a042[_0x1dabff(0x24d)]){case _0x3a059b[_0x1dabff(0x597)]:case _0x3a059b[_0x1dabff(0x465)]:return JSON['stringify']({'cmd':_0x52a042['cmd'],'routeKey':_0x52a042['routeKey']});case _0x3a059b[_0x1dabff(0x494)]:{let _0x41d0c5;switch(_0x52a042[_0x1dabff(0x33b)]['eventID']){case _0x47367d[_0x1dabff(0x498)][_0x1dabff(0x12f)]:{_0x41d0c5={'eventID':_0x47367d[_0x1dabff(0x498)][_0x1dabff(0x12f)],'updateCursorEvent':_0x52a042[_0x1dabff(0x33b)][_0x1dabff(0x33b)]};break;}case _0x47367d['CollaborationEvent'][_0x1dabff(0x376)]:{_0x41d0c5={'eventID':_0x47367d[_0x1dabff(0x498)]['USERS_LEAVE'],'leaveEvent':_0x52a042[_0x1dabff(0x33b)][_0x1dabff(0x33b)]};break;}case _0x47367d[_0x1dabff(0x498)][_0x1dabff(0x4dd)]:{_0x41d0c5={'eventID':_0x47367d[_0x1dabff(0x498)]['USERS_ENTER'],'joinEvent':_0x52a042['data'][_0x1dabff(0x33b)]};break;}case _0x47367d[_0x1dabff(0x498)]['LIVESHARE_NEW_HOST']:{_0x41d0c5={'eventID':_0x47367d['CollaborationEvent'][_0x1dabff(0x562)],'liveShareNewHost':_0x52a042[_0x1dabff(0x33b)][_0x1dabff(0x33b)]};break;}case _0x47367d[_0x1dabff(0x498)][_0x1dabff(0x473)]:{_0x41d0c5={'eventID':_0x47367d[_0x1dabff(0x498)][_0x1dabff(0x473)],'liveShareOperation':_0x52a042[_0x1dabff(0x33b)][_0x1dabff(0x33b)]};break;}case _0x47367d[_0x1dabff(0x498)][_0x1dabff(0x273)]:{_0x41d0c5={'eventID':_0x47367d['CollaborationEvent'][_0x1dabff(0x273)],'liveShareTerminate':_0x52a042[_0x1dabff(0x33b)][_0x1dabff(0x33b)]};break;}case _0x47367d[_0x1dabff(0x498)][_0x1dabff(0x2fe)]:{_0x41d0c5={'eventID':_0x47367d[_0x1dabff(0x498)][_0x1dabff(0x2fe)],'liveShareRequestHost':_0x52a042[_0x1dabff(0x33b)][_0x1dabff(0x33b)]};break;}case _0x47367d['CollaborationEvent'][_0x1dabff(0x19e)]:{_0x41d0c5={'eventID':_0x47367d[_0x1dabff(0x498)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x41d0c5={'eventID':_0x52a042[_0x1dabff(0x33b)][_0x1dabff(0x4d0)]};}return JSON[_0x1dabff(0x385)]({'cmd':_0x52a042[_0x1dabff(0x24d)],'routeKey':_0x52a042[_0x1dabff(0x205)],'collaMsg':_0x41d0c5});}case _0x3a059b[_0x1dabff(0x2c7)]:return JSON['stringify']({'cmd':_0x52a042['cmd'],'routeKey':_0x52a042[_0x1dabff(0x205)],'joinReq':_0x52a042[_0x1dabff(0x33b)]});case _0x3a059b[_0x1dabff(0x5ca)]:return JSON[_0x1dabff(0x385)]({'cmd':_0x52a042[_0x1dabff(0x24d)],'routeKey':_0x52a042[_0x1dabff(0x205)],'leaveReq':_0x52a042[_0x1dabff(0x33b)]});default:throw new Error(_0x1dabff(0x598));}}var _0x31f769=Object[_0x4176ec(0x2b4)],_0x254701=Object[_0x4176ec(0x48c)],_0x5d0b3f=(_0x154134,_0x2bd6fa,_0x1f9d27,_0x17b27d)=>{const _0xb78de8=_0x4176ec;for(var _0x174964=_0x17b27d>0x1?void 0x0:_0x17b27d?_0x254701(_0x2bd6fa,_0x1f9d27):_0x2bd6fa,_0xb7ff7a=_0x154134[_0xb78de8(0x2b7)]-0x1,_0xf9067f;_0xb7ff7a>=0x0;_0xb7ff7a--)(_0xf9067f=_0x154134[_0xb7ff7a])&&(_0x174964=(_0x17b27d?_0xf9067f(_0x2bd6fa,_0x1f9d27,_0x174964):_0xf9067f(_0x174964))||_0x174964);return _0x17b27d&&_0x174964&&_0x31f769(_0x2bd6fa,_0x1f9d27,_0x174964),_0x174964;},_0x4503b3=(_0x3fd99c,_0x3a6b49)=>(_0x31002b,_0x328845)=>_0x3a6b49(_0x31002b,_0x328845,_0x3fd99c);const _0x39032f=_0xd3ef1d[_0x4176ec(0x23d)](_0x4176ec(0x4bd));function _0x1c8fbb(_0x1a1299,_0x382326,_0x3df9a4){const _0x5905ab=_0x4176ec;return _0x1a1299+'/'+_0x382326+_0x5905ab(0x2bb)+_0x3df9a4+_0x5905ab(0x5aa);}_0x5e8095[_0x4176ec(0x58e)]=class extends _0xd3ef1d[_0x4176ec(0x198)]{constructor(_0x1d8de0,_0x461a4b,_0x1cebea,_0xf92722,_0x37adc5){const _0x30025f=_0x4176ec;super(),this['_http']=_0x1d8de0,this['_ws']=_0x461a4b,this[_0x30025f(0x1bf)]=_0x1cebea,this['_logService']=_0xf92722,this[_0x30025f(0x22f)]=_0x37adc5;}[_0x4176ec(0x2bd)](_0x3545cc){const _0x5834c6=_0x4176ec,_0x348307=this[_0x5834c6(0x3df)][_0x5834c6(0x2bd)](_0x3545cc);if(!_0x348307)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x3aaac7=new _0xd3ef1d[(_0x5834c6(0x406))](),_0x509e00=new _0x2c8065[(_0x5834c6(0x58c))]();_0x3aaac7[_0x5834c6(0x154)](_0x348307[_0x5834c6(0x20a)][_0x5834c6(0x221)](_0x48e17a=>_0x509e00[_0x5834c6(0x52a)](_0x48e17a))),_0x3aaac7[_0x5834c6(0x154)](_0xd3ef1d['toDisposable'](()=>_0x509e00['complete']()));const _0x443b95=new _0x2c8065['Subject']();_0x3aaac7[_0x5834c6(0x154)](_0x348307['error$']['subscribe'](_0x49b75d=>_0x443b95[_0x5834c6(0x52a)](_0x49b75d))),_0x3aaac7[_0x5834c6(0x154)](_0xd3ef1d[_0x5834c6(0x44a)](()=>_0x443b95[_0x5834c6(0x21e)]()));const _0x52a641=new _0x2c8065[(_0x5834c6(0x58c))]();_0x3aaac7['add'](_0x348307[_0x5834c6(0x2e1)][_0x5834c6(0x221)](_0x18e25f=>{const _0x360070=_0x44c533(_0x18e25f);_0x52a641['next'](_0x360070);})),_0x3aaac7['add'](_0xd3ef1d[_0x5834c6(0x44a)](()=>_0x52a641[_0x5834c6(0x21e)]()));let _0x101d05;const _0x30a032=()=>{const _0x228a8d=_0x5834c6;_0x443b95[_0x228a8d(0x52a)](new Event('connection\x20error')),_0x509e00[_0x228a8d(0x52a)](new CloseEvent(_0x228a8d(0x387))),_0x101d05['close']();};return _0x101d05={'memberID':'','close$':_0x509e00[_0x5834c6(0x117)](),'error$':_0x443b95[_0x5834c6(0x117)](),'open$':_0x348307['open$'],'message$':_0x52a641[_0x5834c6(0x117)](),'send':_0xcb7759=>{const _0x451d94=_0x5834c6;if(_0xcb7759['cmd']===_0x3a059b['INGEST']){if(_0xcb7759[_0x451d94(0x33b)]['eventID']===_0x47367d[_0x451d94(0x498)][_0x451d94(0x49f)]){this[_0x451d94(0x10a)](_0x101d05,_0xcb7759[_0x451d94(0x33b)])[_0x451d94(0x302)](_0x3c9111=>{const _0x35535f=_0x451d94;this[_0x35535f(0x5ab)]['error'](_0x3c9111),_0x30a032();});return;}if(_0xcb7759[_0x451d94(0x33b)]['eventID']===_0x47367d[_0x451d94(0x498)][_0x451d94(0x14b)]){const _0x4f7dd7=_0xcb7759[_0x451d94(0x33b)];this[_0x451d94(0x2ca)](_0x4f7dd7)[_0x451d94(0x4c4)](_0x524ea3=>{const _0x449bc3=_0x451d94;_0x52a641[_0x449bc3(0x52a)]({'cmd':_0x3a059b[_0x449bc3(0x35a)],'code':_0x352906['OK'],'routeKey':_0x4f7dd7[_0x449bc3(0x33b)][_0x449bc3(0x488)],'routeType':'','data':{'eventID':_0x47367d[_0x449bc3(0x498)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x524ea3}}});})[_0x451d94(0x302)](_0xd67131=>{const _0xece96a=_0x451d94;this[_0xece96a(0x5ab)][_0xece96a(0x476)](_0xd67131),_0x30a032();});return;}}_0x348307['send'](_0x3a96bd(_0xcb7759));},'close':()=>{const _0x7b1bf5=_0x5834c6;_0x348307[_0x7b1bf5(0x5b1)](),_0x3aaac7[_0x7b1bf5(0x275)]();}},_0x101d05;}async[_0x4176ec(0x10a)](_0x3574dc,_0x9fb66a){const _0x370276=_0x4176ec;var _0x19bc48,_0x446faf;const {unitType:_0xacf89e,unitID:_0x58411f,changeset:_0x54bc04}=_0x9fb66a[_0x370276(0x33b)],_0x12206b={'unitID':_0x58411f,'memberID':_0x3574dc[_0x370276(0x41b)],'type':_0xacf89e,'changeset':_0x47367d[_0x370276(0x491)](_0x54bc04)},_0x1ea8a5=this[_0x370276(0x1bf)][_0x370276(0x40b)](_0x4aec31),_0x40e7dc=this[_0x370276(0x1bf)][_0x370276(0x40b)](_0x20ac24),_0x46959c=_0x1c8fbb((_0x446faf=(_0x19bc48=_0x40e7dc==null?void 0x0:_0x40e7dc[_0x370276(0x1ed)])!=null?_0x19bc48:_0x1ea8a5)!=null?_0x446faf:_0x2bbff7,_0xacf89e,_0x58411f);try{await this['_http'][_0x370276(0x226)](_0x46959c,{'body':_0x12206b});}catch(_0x3b21cd){throw this['_logService'][_0x370276(0x476)](_0x370276(0x2a9),_0x370276(0x51d)),_0x3b21cd;}}async[_0x4176ec(0x2ca)](_0x47961d){const _0x32ea0a=_0x4176ec,{unitID:_0x58dedf,from:_0x21a99f,to:_0x10bedf,unitType:_0x17b2ba}=_0x47961d[_0x32ea0a(0x33b)];return(await this[_0x32ea0a(0x22f)][_0x32ea0a(0x242)]({'metadata':void 0x0},{'unitID':_0x58dedf,'type':_0x17b2ba,'from':_0x21a99f,'to':_0x10bedf}))[_0x32ea0a(0x5be)];}},_0x5e8095[_0x4176ec(0x58e)]=_0x5d0b3f([_0x4503b3(0x0,_0xd3ef1d[_0x4176ec(0x2bc)](_0x46bbd6[_0x4176ec(0x180)])),_0x4503b3(0x1,_0xd3ef1d[_0x4176ec(0x2bc)](_0x46bbd6[_0x4176ec(0x53f)])),_0x4503b3(0x2,_0xd3ef1d[_0x4176ec(0x2ce)]),_0x4503b3(0x3,_0xd3ef1d[_0x4176ec(0x5b4)]),_0x4503b3(0x4,_0x47367d[_0x4176ec(0x16e)])],_0x5e8095[_0x4176ec(0x58e)]);const _0x4df5f2=_0x4176ec(0x5a1);function _0x42d0b2(_0x2fafa9){const _0x5a3c66=_0x4176ec;return JSON[_0x5a3c66(0x385)](_0x2fafa9)['length'];}class _0x5b0fae{constructor(){const _0x2853b0=_0x4176ec;_0xddf92d(this,_0x2853b0(0x517),new _0x2c8065[(_0x2853b0(0x58c))]()),_0xddf92d(this,'commentUpdate$',this[_0x2853b0(0x517)][_0x2853b0(0x117)]());}['onCommentUpdate'](_0x2c0aed){const _0x3f583d=_0x4176ec;this['_commentUpdate$'][_0x3f583d(0x52a)](_0x2c0aed);}}var _0x53af42=Object[_0x4176ec(0x2b4)],_0x5ce882=Object[_0x4176ec(0x48c)],_0x22722e=(_0x2d8b7f,_0x5d56b6,_0xac83bb,_0x57802)=>{const _0x5388b4=_0x4176ec;for(var _0xa45a1b=_0x57802>0x1?void 0x0:_0x57802?_0x5ce882(_0x5d56b6,_0xac83bb):_0x5d56b6,_0x2c4c8d=_0x2d8b7f[_0x5388b4(0x2b7)]-0x1,_0x356293;_0x2c4c8d>=0x0;_0x2c4c8d--)(_0x356293=_0x2d8b7f[_0x2c4c8d])&&(_0xa45a1b=(_0x57802?_0x356293(_0x5d56b6,_0xac83bb,_0xa45a1b):_0x356293(_0xa45a1b))||_0xa45a1b);return _0x57802&&_0xa45a1b&&_0x53af42(_0x5d56b6,_0xac83bb,_0xa45a1b),_0xa45a1b;},_0x5c1e0e=(_0x387ea3,_0x4ecea5)=>(_0x578d0b,_0x166356)=>_0x4ecea5(_0x578d0b,_0x166356,_0x387ea3);_0x5e8095['MemberService']=class extends _0xd3ef1d[_0x4176ec(0x198)]{constructor(_0x56da97,_0x381125){const _0x42ad8c=_0x4176ec;super(),_0xddf92d(this,_0x42ad8c(0x59e),new Map()),(this[_0x42ad8c(0x1d0)]=_0x56da97,this[_0x42ad8c(0x495)]=_0x381125,this['disposeWithMe'](_0xd3ef1d[_0x42ad8c(0x44a)](_0x2c8065[_0x42ad8c(0x2ff)](this[_0x42ad8c(0x1d0)][_0x42ad8c(0x5a3)](_0xd3ef1d['UniverInstanceType']['UNIVER_SHEET'])[_0x42ad8c(0x579)](_0x5cc70d[_0x42ad8c(0x40d)](_0x2633ad=>_0x2633ad[_0x42ad8c(0x57e)]())),this[_0x42ad8c(0x1d0)]['getTypeOfUnitDisposed$'](_0xd3ef1d[_0x42ad8c(0x20c)]['UNIVER_DOC'])['pipe'](_0x5cc70d['map'](_0x32bd25=>_0x32bd25[_0x42ad8c(0x57e)]())),this['_univerInstanceService'][_0x42ad8c(0x5a3)](_0xd3ef1d[_0x42ad8c(0x20c)][_0x42ad8c(0x161)])['pipe'](_0x5cc70d['map'](_0x171990=>_0x171990[_0x42ad8c(0x57e)]())))['subscribe'](_0x3f7cbd=>this[_0x42ad8c(0x310)](_0x3f7cbd)))));}['setCurrentUser'](_0x1d318c){const _0x7e0617=_0x4176ec;this[_0x7e0617(0x495)][_0x7e0617(0x4ad)](_0x1d318c);}[_0x4176ec(0x256)](){const _0x388a89=_0x4176ec;return this[_0x388a89(0x495)][_0x388a89(0x256)]();}[_0x4176ec(0x32c)](_0x2d4c99,_0x25ba8a){const _0x3682c4=_0x4176ec;let _0x43bc8b=this[_0x3682c4(0x59e)]['get'](_0x2d4c99);_0x43bc8b||(_0x43bc8b=new _0x4cda52(),this[_0x3682c4(0x59e)][_0x3682c4(0x266)](_0x2d4c99,_0x43bc8b)),_0x43bc8b[_0x3682c4(0x32c)](_0x25ba8a);}['removeMember'](_0x382659,_0x5ebd15){const _0x706d80=_0x4176ec,_0x369242=this[_0x706d80(0x59e)][_0x706d80(0x313)](_0x382659);_0x369242&&_0x369242['removeMember'](_0x5ebd15);}[_0x4176ec(0x590)](_0x454033){const _0x16df8e=_0x4176ec;return this[_0x16df8e(0x59e)][_0x16df8e(0x313)](_0x454033);}[_0x4176ec(0x230)](_0xc97b6e,_0x43e2be){const _0x4fb706=_0x4176ec,_0x3e993e=this[_0x4fb706(0x59e)][_0x4fb706(0x313)](_0xc97b6e);if(_0x3e993e)return _0x3e993e[_0x4fb706(0x230)](_0x43e2be);}[_0x4176ec(0x310)](_0x3bd27f){const _0x646f1a=_0x4176ec,_0x455750=this['_roomMembers'][_0x646f1a(0x313)](_0x3bd27f);_0x455750&&(_0x455750[_0x646f1a(0x275)](),this[_0x646f1a(0x59e)][_0x646f1a(0x38e)](_0x3bd27f));}['dispose'](){const _0x4c589b=_0x4176ec;this[_0x4c589b(0x59e)][_0x4c589b(0x193)](_0x1a321e=>_0x1a321e['dispose']()),this[_0x4c589b(0x59e)]['clear']();}},_0x5e8095[_0x4176ec(0x4b1)]=_0x22722e([_0x5c1e0e(0x0,_0xd3ef1d[_0x4176ec(0x2fc)]),_0x5c1e0e(0x1,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d[_0x4176ec(0x4af)]))],_0x5e8095[_0x4176ec(0x4b1)]);class _0x4cda52 extends _0xd3ef1d[_0x4176ec(0x198)]{constructor(){const _0x5ba5ab=_0x4176ec;super(...arguments),_0xddf92d(this,_0x5ba5ab(0x53c),new Map());}['dispose'](){const _0x1d7b95=_0x4176ec;this[_0x1d7b95(0x53c)][_0x1d7b95(0x341)]();}[_0x4176ec(0x32c)](_0x3b924c){const _0x543bce=_0x4176ec;this[_0x543bce(0x53c)][_0x543bce(0x266)](_0x3b924c[_0x543bce(0x41b)],_0x3b924c);}[_0x4176ec(0x424)](_0x4824d2){const _0x598f76=_0x4176ec;this[_0x598f76(0x53c)]['delete'](_0x4824d2);}['getMember'](_0x35f28f){const _0x308094=_0x4176ec;return this['_members'][_0x308094(0x313)](_0x35f28f);}[_0x4176ec(0x1be)](){const _0x4947ba=_0x4176ec;return Array[_0x4947ba(0x165)](this[_0x4947ba(0x53c)][_0x4947ba(0x4aa)]());}}var _0x420fe5=Object[_0x4176ec(0x2b4)],_0x684828=Object['getOwnPropertyDescriptor'],_0x19f448=(_0x59f205,_0x3525ed,_0x3ca058,_0x2b490c)=>{const _0x1f7729=_0x4176ec;for(var _0xf030c9=_0x2b490c>0x1?void 0x0:_0x2b490c?_0x684828(_0x3525ed,_0x3ca058):_0x3525ed,_0x547bd8=_0x59f205[_0x1f7729(0x2b7)]-0x1,_0x3f9607;_0x547bd8>=0x0;_0x547bd8--)(_0x3f9607=_0x59f205[_0x547bd8])&&(_0xf030c9=(_0x2b490c?_0x3f9607(_0x3525ed,_0x3ca058,_0xf030c9):_0x3f9607(_0xf030c9))||_0xf030c9);return _0x2b490c&&_0xf030c9&&_0x420fe5(_0x3525ed,_0x3ca058,_0xf030c9),_0xf030c9;},_0x59dcf1=(_0x15501f,_0x1abac5)=>(_0x58a8f9,_0x333d50)=>_0x1abac5(_0x58a8f9,_0x333d50,_0x15501f),_0x5a5e86=(_0x69f27c=>(_0x69f27c[_0x69f27c[_0x4176ec(0x183)]=0x0]=_0x4176ec(0x183),_0x69f27c[_0x69f27c[_0x4176ec(0x468)]=0x1]=_0x4176ec(0x468),_0x69f27c[_0x69f27c[_0x4176ec(0x10e)]=0x2]=_0x4176ec(0x10e),_0x69f27c[_0x69f27c[_0x4176ec(0x1a7)]=0x3]='ONLINE',_0x69f27c))(_0x5a5e86||{});_0x5e8095['CollaborationSession']=class extends _0xd3ef1d[_0x4176ec(0x19c)]{constructor(_0x1ce4d8,_0xeb638f,_0x380931,_0x16e836,_0x5af0ec,_0x1a0caf,_0x3f2ab1,_0x52f6fb,_0x1b9422,_0x5cca68){const _0x253498=_0x4176ec;super(),_0xddf92d(this,_0x253498(0x501),new _0x2c8065[(_0x253498(0x3b0))](0x0)),_0xddf92d(this,_0x253498(0x51f),this[_0x253498(0x501)]['asObservable']()),_0xddf92d(this,_0x253498(0x285),new _0x2c8065[(_0x253498(0x58c))]()),_0xddf92d(this,_0x253498(0x3c6),this[_0x253498(0x285)][_0x253498(0x117)]()),_0xddf92d(this,'_socket'),_0xddf92d(this,'_socketMessageSubscription'),_0xddf92d(this,_0x253498(0x5d2)),_0xddf92d(this,_0x253498(0x38d),!0x1),_0xddf92d(this,_0x253498(0x1dc),null),(this['_unitID']=_0x1ce4d8,this[_0x253498(0x5ab)]=_0x380931,this[_0x253498(0x1ec)]=_0x16e836,this[_0x253498(0x1df)]=_0x5af0ec,this[_0x253498(0x1bf)]=_0x1a0caf,this['_localeService']=_0x3f2ab1,this['_memberService']=_0x52f6fb,this[_0x253498(0x58a)]=_0x1b9422,this['_telemetryService']=_0x5cca68,this[_0x253498(0x38d)]=!!this[_0x253498(0x4ab)],_0xeb638f[_0x253498(0x579)](_0x2c8065[_0x253498(0x50b)](this[_0x253498(0x484)]))['subscribe'](_0x28b052=>{const _0x2ac36d=_0x253498;var _0x5eb9e4;typeof _0x28b052>'u'||(this[_0x2ac36d(0x353)]=_0x28b052,_0x28b052?(this[_0x2ac36d(0x4ea)](_0x28b052),this['_socketMessageSubscription']=_0x28b052[_0x2ac36d(0x2e1)]['subscribe'](_0x106b89=>{const _0x1663b7=_0x2ac36d;_0x106b89[_0x1663b7(0x205)]===this[_0x1663b7(0x4a1)]&&this[_0x1663b7(0x3a8)](_0x106b89);})):(this[_0x2ac36d(0x574)](),this[_0x2ac36d(0x501)]['next'](0x2),(_0x5eb9e4=this[_0x2ac36d(0x549)])==null||_0x5eb9e4[_0x2ac36d(0x447)](),this['_socketMessageSubscription']=null));}),this[_0x253498(0x1a6)](this[_0x253498(0x1ec)][_0x253498(0x571)](()=>{const _0x54e693=_0x253498;var _0x443540;(_0x443540=this['_socket'])==null||_0x443540['send']({'cmd':_0x3a059b[_0x54e693(0x5ca)],'data':{'roomID':this[_0x54e693(0x4a1)]}});})));}get['sessionStatus'](){const _0x1d3940=_0x4176ec;return this[_0x1d3940(0x501)][_0x1d3940(0x2c6)]();}[_0x4176ec(0x3d9)](){const _0x37b2a1=_0x4176ec;var _0x91b14b,_0x318dc2;return(_0x318dc2=(_0x91b14b=this[_0x37b2a1(0x353)])==null?void 0x0:_0x91b14b[_0x37b2a1(0x41b)])!=null?_0x318dc2:null;}[_0x4176ec(0x275)](){const _0x379ef3=_0x4176ec;super[_0x379ef3(0x275)](),this['dispose$'][_0x379ef3(0x52a)](),this['dispose$'][_0x379ef3(0x21e)]();}[_0x4176ec(0x5b1)](){const _0x509c07=_0x4176ec;var _0x1ea854,_0x2401c1;this['_throwTelemetryCollaborationNewChangeset'](),(_0x1ea854=this[_0x509c07(0x353)])==null||_0x1ea854[_0x509c07(0x4f3)]({'cmd':_0x3a059b[_0x509c07(0x5ca)],'data':{'roomID':this['_unitID']}}),(_0x2401c1=this[_0x509c07(0x353)])==null||_0x2401c1['close'](),this[_0x509c07(0x285)][_0x509c07(0x21e)](),this[_0x509c07(0x501)][_0x509c07(0x21e)](),this[_0x509c07(0x275)]();}[_0x4176ec(0x3a8)](_0x3223b4){const _0x3b818b=_0x4176ec;_0x3223b4[_0x3b818b(0x24d)]===_0x3a059b[_0x3b818b(0x2c7)]?this[_0x3b818b(0x25d)](_0x3223b4):_0x3223b4[_0x3b818b(0x24d)]===_0x3a059b[_0x3b818b(0x35a)]&&this[_0x3b818b(0x371)](_0x3223b4);}[_0x4176ec(0x4ea)](_0x1ed585){const _0x5b9c81=_0x4176ec;this['_sessionStatus$'][_0x5b9c81(0x52a)](0x1),_0x1ed585[_0x5b9c81(0x4f3)]({'cmd':_0x3a059b['JOIN'],'routeKey':this[_0x5b9c81(0x4a1)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x4176ec(0x25d)](_0x46e8e3){const _0x4f9657=_0x4176ec;var _0xac0c1f;if(_0x46e8e3['code']===_0x352906[_0x4f9657(0x263)]){this[_0x4f9657(0x1df)][_0x4f9657(0x593)]({'type':_0x3c4c54[_0x4f9657(0x344)][_0x4f9657(0x50f)],'content':this[_0x4f9657(0x4a7)]['t'](_0x4f9657(0x451))}),this[_0x4f9657(0x501)][_0x4f9657(0x52a)](0x2);return;}this['_sessionStatus$'][_0x4f9657(0x52a)](0x3);const _0x431770=(_0xac0c1f=_0x46e8e3['data'][_0x4f9657(0x2dc)][this[_0x4f9657(0x4a1)]])==null?void 0x0:_0xac0c1f[_0x4f9657(0x43f)];_0x431770&&_0x431770[_0x4f9657(0x193)](_0x230413=>this[_0x4f9657(0x192)][_0x4f9657(0x32c)](this[_0x4f9657(0x4a1)],_0x230413));}[_0x4176ec(0x371)](_0x2f27bf){const _0x59206a=_0x4176ec;try{const _0x502309=_0x2f27bf[_0x59206a(0x33b)];switch(_0x502309[_0x59206a(0x4d0)]){case _0x47367d['CollaborationEvent'][_0x59206a(0x4dd)]:this[_0x59206a(0x2eb)](_0x502309),this[_0x59206a(0x285)]['next'](_0x502309);break;case _0x47367d['CollaborationEvent'][_0x59206a(0x376)]:this[_0x59206a(0x39d)](_0x502309),this[_0x59206a(0x285)][_0x59206a(0x52a)](_0x502309);break;case _0x47367d[_0x59206a(0x498)][_0x59206a(0x428)]:case _0x47367d[_0x59206a(0x498)]['CHANGESET_SHOULD_RETRY']:this[_0x59206a(0x568)](),this[_0x59206a(0x185)](),this['_event$']['next'](_0x502309);break;case _0x47367d[_0x59206a(0x498)][_0x59206a(0x25a)]:this[_0x59206a(0x5ab)]['error'](_0x59206a(0x16a)+JSON['stringify'](_0x502309)),this['_event$'][_0x59206a(0x52a)](_0x502309);break;case _0x47367d[_0x59206a(0x498)][_0x59206a(0x46f)]:this[_0x59206a(0x58a)][_0x59206a(0x15d)](_0x502309[_0x59206a(0x33b)]),this[_0x59206a(0x285)][_0x59206a(0x52a)](_0x502309);break;default:this[_0x59206a(0x285)][_0x59206a(0x52a)](_0x502309);}}catch(_0x259d30){this[_0x59206a(0x5ab)][_0x59206a(0x476)](_0x259d30,_0x2f27bf);}}[_0x4176ec(0x2eb)](_0x4f91d7){const _0x23f47a=_0x4176ec;this['_memberService']['updateMember'](this['_unitID'],_0x4f91d7[_0x23f47a(0x33b)]);}[_0x4176ec(0x39d)](_0x53c494){const _0x69bf34=_0x4176ec;this[_0x69bf34(0x192)][_0x69bf34(0x424)](this[_0x69bf34(0x4a1)],_0x53c494[_0x69bf34(0x33b)][_0x69bf34(0x41b)]);}async[_0x4176ec(0x4f3)](_0x5989e8,_0x572ec0){const _0x532fe7=_0x4176ec;if(this[_0x532fe7(0x364)]!==0x3||!this[_0x532fe7(0x353)])throw new Error(_0x532fe7(0x3b3));try{_0x5989e8['eventID']===_0x47367d[_0x532fe7(0x498)]['SUBMIT_CHANGESET']&&(this[_0x532fe7(0x30b)](),this[_0x532fe7(0x251)](_0x5989e8)),this[_0x532fe7(0x353)][_0x532fe7(0x4f3)]({'cmd':_0x3a059b[_0x532fe7(0x494)],'routeKey':_0x572ec0,'routeType':'','data':_0x5989e8});}catch(_0x57388d){this[_0x532fe7(0x5ab)][_0x532fe7(0x476)](_0x57388d);}}[_0x4176ec(0x30b)](){const _0x4928d9=_0x4176ec;var _0x174700;this[_0x4928d9(0x5d2)]=window[_0x4928d9(0x5a2)](()=>{const _0x35f448=_0x4928d9;this[_0x35f448(0x5d2)]=null,this[_0x35f448(0x1df)]['show']({'type':_0x3c4c54['MessageType'][_0x35f448(0x3dd)],'content':this[_0x35f448(0x4a7)]['t']('session.collaboration-timeout')});},(_0x174700=this['_configService']['getConfig'](_0x3ac21c))!=null?_0x174700:0x4e20);}['_clearCollaborationTimeoutTimer'](){const _0x595891=_0x4176ec;this[_0x595891(0x5d2)]&&(clearTimeout(this[_0x595891(0x5d2)]),this['_collaborationTimeoutTimer']=null);}[_0x4176ec(0x251)](_0x4e4c76){const _0x1ddcc2=_0x4176ec;if(!this['_shouldReportTelemetry'])return;const {data:_0x23a203}=_0x4e4c76,{unitID:_0x105594,changeset:_0x1cd5ef}=_0x23a203,{mutations:_0x450877,type:_0x17cfd2}=_0x1cd5ef;this[_0x1ddcc2(0x1dc)]={'unitId':_0x105594,'type':_0x17cfd2,'startTime':performance[_0x1ddcc2(0x4d1)](),'stopTime':0x0,'duration':0x0,'size':_0x42d0b2(_0x450877)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x6152d6=_0x4176ec;if(this[_0x6152d6(0x38d)]){if(!this[_0x6152d6(0x1dc)]){this[_0x6152d6(0x5ab)][_0x6152d6(0x476)](_0x6152d6(0x2a9),_0x6152d6(0x28c));return;}this['_telemetryInfo']['stopTime']=performance[_0x6152d6(0x4d1)](),this[_0x6152d6(0x1dc)][_0x6152d6(0x1ef)]=this[_0x6152d6(0x1dc)]['stopTime']-this['_telemetryInfo'][_0x6152d6(0x28b)],this['_telemetryService'][_0x6152d6(0x45d)](_0x4df5f2,this[_0x6152d6(0x1dc)]),this['_telemetryInfo']=null;}}[_0x4176ec(0x574)](){const _0xfd6b8c=_0x4176ec;this[_0xfd6b8c(0x1dc)]=null;}},_0x5e8095[_0x4176ec(0x209)]=_0x19f448([_0x59dcf1(0x2,_0xd3ef1d[_0x4176ec(0x5b4)]),_0x59dcf1(0x3,_0x45bd5d[_0x4176ec(0x17d)]),_0x59dcf1(0x4,_0x45bd5d[_0x4176ec(0x2bf)]),_0x59dcf1(0x5,_0xd3ef1d[_0x4176ec(0x2ce)]),_0x59dcf1(0x6,_0xd3ef1d['Inject'](_0xd3ef1d[_0x4176ec(0x2b3)])),_0x59dcf1(0x7,_0xd3ef1d[_0x4176ec(0x2bc)](_0x5e8095[_0x4176ec(0x4b1)])),_0x59dcf1(0x8,_0xd3ef1d[_0x4176ec(0x2bc)](_0x5b0fae)),_0x59dcf1(0x9,_0xd3ef1d[_0x4176ec(0x4a6)](_0x1278b2[_0x4176ec(0x3c0)]))],_0x5e8095['CollaborationSession']);var _0xced3d7=Object[_0x4176ec(0x2b4)],_0x3e0f2e=Object[_0x4176ec(0x48c)],_0x1536e4=(_0x5dc245,_0x9b2af3,_0x467fff,_0x774e7f)=>{const _0x40fa9a=_0x4176ec;for(var _0x109e1c=_0x774e7f>0x1?void 0x0:_0x774e7f?_0x3e0f2e(_0x9b2af3,_0x467fff):_0x9b2af3,_0x206090=_0x5dc245[_0x40fa9a(0x2b7)]-0x1,_0x983b5;_0x206090>=0x0;_0x206090--)(_0x983b5=_0x5dc245[_0x206090])&&(_0x109e1c=(_0x774e7f?_0x983b5(_0x9b2af3,_0x467fff,_0x109e1c):_0x983b5(_0x109e1c))||_0x109e1c);return _0x774e7f&&_0x109e1c&&_0xced3d7(_0x9b2af3,_0x467fff,_0x109e1c),_0x109e1c;},_0x2b20c5=(_0x38ff3d,_0x24038a)=>(_0x8ba01f,_0x331f2c)=>_0x24038a(_0x8ba01f,_0x331f2c,_0x38ff3d);_0x5e8095['CollaborationSessionService']=class extends _0xd3ef1d['Disposable']{constructor(_0x48a5ec,_0x141f79,_0x21a231,_0x52e2a0,_0x4c6515,_0x130d25){const _0x37a268=_0x4176ec;super(),_0xddf92d(this,_0x37a268(0x3d1),new _0x2c8065['BehaviorSubject'](void 0x0)),_0xddf92d(this,_0x37a268(0x2ba),this['_socket$'][_0x37a268(0x117)]()),_0xddf92d(this,_0x37a268(0x19b),null),_0xddf92d(this,_0x37a268(0x3ac),new Map()),_0xddf92d(this,'_status$',new _0x2c8065['BehaviorSubject'](_0x5a5e86[_0x37a268(0x183)])),_0xddf92d(this,_0x37a268(0x536),this[_0x37a268(0x1e6)][_0x37a268(0x117)]()),_0xddf92d(this,_0x37a268(0x27e),!0x1),_0xddf92d(this,_0x37a268(0x288)),_0xddf92d(this,_0x37a268(0x163),0x0),_0xddf92d(this,_0x37a268(0x1d1)),_0xddf92d(this,'_timeoutTimer'),(this[_0x37a268(0x11a)]=_0x48a5ec,this[_0x37a268(0x4a7)]=_0x141f79,this['_messageService']=_0x21a231,this[_0x37a268(0x5ab)]=_0x52e2a0,this[_0x37a268(0x1bf)]=_0x4c6515,this[_0x37a268(0x123)]=_0x130d25,this[_0x37a268(0x19d)]());}get[_0x4176ec(0x353)](){const _0x5727f1=_0x4176ec;return this['_socket$'][_0x5727f1(0x2c6)]();}[_0x4176ec(0x19d)](){const _0x3c0723=_0x4176ec;this[_0x3c0723(0x3c2)](),this[_0x3c0723(0x342)]();}[_0x4176ec(0x275)](){const _0x35d95f=_0x4176ec;super[_0x35d95f(0x275)](),this[_0x35d95f(0x3ac)][_0x35d95f(0x193)](_0x4ad2dd=>_0x4ad2dd[_0x35d95f(0x275)]()),this[_0x35d95f(0x3ac)][_0x35d95f(0x341)](),this[_0x35d95f(0x1e6)]['complete']();}async[_0x4176ec(0x3f8)](_0x5e7d1c){const _0x549979=_0x4176ec;if(this['_sessions'][_0x549979(0x4cf)](_0x5e7d1c))return this[_0x549979(0x3ac)][_0x549979(0x313)](_0x5e7d1c);this[_0x549979(0x5ad)]();const _0x4134b0=this['_injector'][_0x549979(0x5c5)](_0x5e8095['CollaborationSession'],_0x5e7d1c,this['_socket$'][_0x549979(0x117)]());return this['_sessions'][_0x549979(0x266)](_0x5e7d1c,_0x4134b0),_0x4134b0;}[_0x4176ec(0x524)](_0x47a8da){const _0x1ff57a=_0x4176ec;var _0x8cfea8;const _0x56c7f7=this[_0x1ff57a(0x3ac)]['get'](_0x47a8da);_0x56c7f7&&(this['_sessions'][_0x1ff57a(0x38e)](_0x47a8da),_0x56c7f7[_0x1ff57a(0x5b1)]()),this[_0x1ff57a(0x3ac)]['size']||(_0x8cfea8=this['_socket'])==null||_0x8cfea8[_0x1ff57a(0x5b1)]();}[_0x4176ec(0x283)](){const _0x1542c9=_0x4176ec;this['_retryCount']=0x0,this[_0x1542c9(0x288)]!=null&&(clearTimeout(this[_0x1542c9(0x288)]),this['_retryConnectingTimer']=null),this['_tryReconnect']();}[_0x4176ec(0x111)](){const _0x583ba2=_0x4176ec;var _0x2ad52a,_0x5d3a29;const _0x248efc=this[_0x583ba2(0x1bf)][_0x583ba2(0x40b)](_0x5d93b2),_0x5791cc=this['_configService'][_0x583ba2(0x40b)](_0x20ac24),_0x177b47=(_0x5d3a29=(_0x2ad52a=_0x5791cc==null?void 0x0:_0x5791cc[_0x583ba2(0x21c)])!=null?_0x2ad52a:_0x248efc)!=null?_0x5d3a29:_0x4bede7,_0x2657bb=this[_0x583ba2(0x123)][_0x583ba2(0x2bd)](_0x177b47);return this[_0x583ba2(0x19b)]=_0x2657bb,_0x2657bb;}[_0x4176ec(0x5ad)](){const _0x3cef5f=_0x4176ec;var _0x80aab1,_0x4715c3;try{const _0x5234b1=(_0x4715c3=(_0x80aab1=this[_0x3cef5f(0x353)])!=null?_0x80aab1:this[_0x3cef5f(0x19b)])!=null?_0x4715c3:this[_0x3cef5f(0x111)]();if(_0x5234b1){const _0x19067b=_0x5234b1[_0x3cef5f(0x4f3)];_0x5234b1[_0x3cef5f(0x4f3)]=_0x16dfe=>(this[_0x3cef5f(0x30e)](),_0x19067b[_0x3cef5f(0x39e)](_0x5234b1,[_0x16dfe])),_0x5234b1[_0x3cef5f(0x2e1)]['subscribe'](_0x413cf9=>this[_0x3cef5f(0x2be)](_0x5234b1,_0x413cf9)),_0x5234b1[_0x3cef5f(0x419)][_0x3cef5f(0x579)](_0x5cc70d['take'](0x1))[_0x3cef5f(0x221)](_0x34870f=>this[_0x3cef5f(0x5ab)][_0x3cef5f(0x476)](_0x3cef5f(0x5ac),_0x34870f)),_0x5234b1[_0x3cef5f(0x4bb)][_0x3cef5f(0x579)](_0x5cc70d[_0x3cef5f(0x272)](0x1))[_0x3cef5f(0x221)](()=>{const _0x3c6afc=_0x3cef5f;this[_0x3c6afc(0x2a0)](_0x5234b1);}),_0x5234b1[_0x3cef5f(0x20a)][_0x3cef5f(0x579)](_0x5cc70d['take'](0x1))[_0x3cef5f(0x221)](_0x53b3bb=>{const _0x5474ae=_0x3cef5f;this[_0x5474ae(0x5ab)][_0x5474ae(0x144)](_0x5474ae(0x4fb),_0x5474ae(0x34f),_0x53b3bb),this[_0x5474ae(0x514)]();});}}catch(_0x3d9ad4){this['_logService'][_0x3cef5f(0x476)](_0x3d9ad4),this[_0x3cef5f(0x514)]();}}[_0x4176ec(0x2a0)](_0x44bde2){const _0x47b89a=_0x4176ec;this[_0x47b89a(0x5ab)]['debug']('[CollaborationSessionService]',_0x47b89a(0x41a)),_0x44bde2[_0x47b89a(0x4f3)]({'cmd':_0x3a059b['HELLO']}),this['_rescheduleHeartbeat']();}[_0x4176ec(0x3c2)](){const _0x4639fe=_0x4176ec;window[_0x4639fe(0x160)](_0x4639fe(0x151),()=>this['_onOffline']());}[_0x4176ec(0x411)](){const _0x37f1a8=_0x4176ec;this['_socketReady']=!0x1,this[_0x37f1a8(0x19b)]=null,this[_0x37f1a8(0x1e6)][_0x37f1a8(0x52a)](_0x5a5e86[_0x37f1a8(0x10e)]),this[_0x37f1a8(0x3d1)][_0x37f1a8(0x52a)](null),this[_0x37f1a8(0x4f2)](),this[_0x37f1a8(0x301)]();}[_0x4176ec(0x514)](){const _0x3bdc48=_0x4176ec;var _0x58f8d7;this[_0x3bdc48(0x411)](),this[_0x3bdc48(0x163)]<((_0x58f8d7=this[_0x3bdc48(0x1bf)][_0x3bdc48(0x40b)](_0x556d99))!=null?_0x58f8d7:0x3)?(this[_0x3bdc48(0x1df)]['show']({'key':_0x3bdc48(0x1b2),'type':_0x3c4c54['MessageType'][_0x3bdc48(0x50f)],'content':this[_0x3bdc48(0x4a7)]['t']('session.will-retry')}),this[_0x3bdc48(0x1ea)]()):this[_0x3bdc48(0x1df)]['show']({'key':_0x3bdc48(0x1b2),'type':_0x3c4c54['MessageType']['Error'],'content':this['_localeService']['t']('session.connection-failed')});}[_0x4176ec(0x342)](){const _0x386137=_0x4176ec,_0x51cbc9=()=>{const _0x78e1c9=_0x352d;this[_0x78e1c9(0x353)]||this[_0x78e1c9(0x283)]();},_0x52e409=()=>{const _0x317a70=_0x352d;this[_0x317a70(0x353)]||document[_0x317a70(0x2b0)]===_0x317a70(0x55f)||this[_0x317a70(0x283)]();};window[_0x386137(0x160)](_0x386137(0x525),_0x51cbc9),document[_0x386137(0x160)](_0x386137(0x1f0),_0x52e409);}[_0x4176ec(0x1ea)](){const _0x481a8d=_0x4176ec;var _0x47278f;const _0x2fefa1=this[_0x481a8d(0x163)],_0x378d7c=this[_0x481a8d(0x1bf)]['getConfig'](_0x20ac24),_0x5bd9c6=_0x2fefa1===0x0?0x0:((_0x47278f=_0x378d7c==null?void 0x0:_0x378d7c[_0x481a8d(0x10d)])!=null?_0x47278f:0x4e20)*0x2**_0x2fefa1;this['_retryConnectingTimer']=window[_0x481a8d(0x5a2)](()=>{const _0x51b13b=_0x481a8d;clearTimeout(this[_0x51b13b(0x288)]),this[_0x51b13b(0x288)]=null,this[_0x51b13b(0x5ad)]();},_0x5bd9c6),this[_0x481a8d(0x163)]+=0x1;}['_onMessage'](_0x4c25e6,_0x154763){const _0x10b023=_0x4176ec,{cmd:_0xf07a1f}=_0x154763;_0xf07a1f===_0x3a059b[_0x10b023(0x465)]&&!this['_socketReady']&&(_0x4c25e6['memberID']=_0x154763[_0x10b023(0x33b)][_0x10b023(0x41b)],this['_socket$'][_0x10b023(0x52a)](_0x4c25e6),this[_0x10b023(0x1e6)][_0x10b023(0x52a)](_0x5a5e86[_0x10b023(0x1a7)]),this[_0x10b023(0x27e)]=!0x0,this[_0x10b023(0x19b)]=null),_0xf07a1f===_0x3a059b[_0x10b023(0x597)]&&this[_0x10b023(0x4f2)](),this[_0x10b023(0x30e)]();}[_0x4176ec(0x30e)](){const _0x402133=_0x4176ec;var _0x85492f;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=window[_0x402133(0x5a2)](()=>this[_0x402133(0x189)](),(_0x85492f=this[_0x402133(0x1bf)][_0x402133(0x40b)](_0x1f3478))!=null?_0x85492f:0x7530);}[_0x4176ec(0x189)](){const _0x486327=_0x4176ec;this['_socket']['send']({'cmd':_0x3a059b[_0x486327(0x597)]}),this[_0x486327(0x508)]();}[_0x4176ec(0x508)](){const _0x40939d=_0x4176ec;var _0x5c173c;this[_0x40939d(0x4a4)]=window[_0x40939d(0x5a2)](()=>this[_0x40939d(0x514)](),(_0x5c173c=this[_0x40939d(0x1bf)][_0x40939d(0x40b)](_0x3ac21c))!=null?_0x5c173c:0x4e20);}[_0x4176ec(0x301)](){const _0x9549b0=_0x4176ec;this[_0x9549b0(0x1d1)]!=null&&(clearTimeout(this[_0x9549b0(0x1d1)]),this['_sendHeartbeatTimer']=null);}[_0x4176ec(0x4f2)](){const _0x36a390=_0x4176ec;this[_0x36a390(0x4a4)]!=null&&(clearTimeout(this[_0x36a390(0x4a4)]),this[_0x36a390(0x4a4)]=null);}},_0x5e8095['CollaborationSessionService']=_0x1536e4([_0x2b20c5(0x0,_0xd3ef1d['Inject'](_0xd3ef1d[_0x4176ec(0x5ba)])),_0x2b20c5(0x1,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d[_0x4176ec(0x2b3)])),_0x2b20c5(0x2,_0x45bd5d[_0x4176ec(0x2bf)]),_0x2b20c5(0x3,_0xd3ef1d[_0x4176ec(0x5b4)]),_0x2b20c5(0x4,_0xd3ef1d['IConfigService']),_0x2b20c5(0x5,_0x39032f)],_0x5e8095[_0x4176ec(0x48a)]);for(var _0x14feea=[],_0x3e7acb=0x0;_0x3e7acb<0x100;++_0x3e7acb)_0x14feea[_0x4176ec(0x455)]((_0x3e7acb+0x100)[_0x4176ec(0x530)](0x10)[_0x4176ec(0x2de)](0x1));function _0x220f46(_0x3cb1a1,_0x18b5b0=0x0){const _0x3e59b8=_0x4176ec;return(_0x14feea[_0x3cb1a1[_0x18b5b0+0x0]]+_0x14feea[_0x3cb1a1[_0x18b5b0+0x1]]+_0x14feea[_0x3cb1a1[_0x18b5b0+0x2]]+_0x14feea[_0x3cb1a1[_0x18b5b0+0x3]]+'-'+_0x14feea[_0x3cb1a1[_0x18b5b0+0x4]]+_0x14feea[_0x3cb1a1[_0x18b5b0+0x5]]+'-'+_0x14feea[_0x3cb1a1[_0x18b5b0+0x6]]+_0x14feea[_0x3cb1a1[_0x18b5b0+0x7]]+'-'+_0x14feea[_0x3cb1a1[_0x18b5b0+0x8]]+_0x14feea[_0x3cb1a1[_0x18b5b0+0x9]]+'-'+_0x14feea[_0x3cb1a1[_0x18b5b0+0xa]]+_0x14feea[_0x3cb1a1[_0x18b5b0+0xb]]+_0x14feea[_0x3cb1a1[_0x18b5b0+0xc]]+_0x14feea[_0x3cb1a1[_0x18b5b0+0xd]]+_0x14feea[_0x3cb1a1[_0x18b5b0+0xe]]+_0x14feea[_0x3cb1a1[_0x18b5b0+0xf]])[_0x3e59b8(0x3c5)]();}var _0x479d82,_0x269626=new Uint8Array(0x10);function _0x58818e(){const _0x1c6051=_0x4176ec;if(!_0x479d82&&(_0x479d82=typeof crypto<'u'&&crypto['getRandomValues']&&crypto[_0x1c6051(0x53e)][_0x1c6051(0x284)](crypto),!_0x479d82))throw new Error(_0x1c6051(0x2f9));return _0x479d82(_0x269626);}var _0x36d96f=typeof crypto<'u'&&crypto[_0x4176ec(0x401)]&&crypto['randomUUID'][_0x4176ec(0x284)](crypto);const _0x1f6da0={'randomUUID':_0x36d96f};function _0x198ef1(_0x877670,_0x3f3b69,_0x335b88){const _0x2e8e6a=_0x4176ec;if(_0x1f6da0[_0x2e8e6a(0x401)]&&!_0x3f3b69&&!_0x877670)return _0x1f6da0['randomUUID']();_0x877670=_0x877670||{};var _0x5df3e7=_0x877670['random']||(_0x877670[_0x2e8e6a(0x1a9)]||_0x58818e)();return _0x5df3e7[0x6]=_0x5df3e7[0x6]&0xf|0x40,_0x5df3e7[0x8]=_0x5df3e7[0x8]&0x3f|0x80,_0x220f46(_0x5df3e7);}var _0x117cdd=Object[_0x4176ec(0x2b4)],_0x43c3ff=Object[_0x4176ec(0x48c)],_0x4d2ddd=(_0x4df78f,_0xa33568,_0x52dd7c,_0x1a4abf)=>{const _0x1ccdf1=_0x4176ec;for(var _0x474703=_0x1a4abf>0x1?void 0x0:_0x1a4abf?_0x43c3ff(_0xa33568,_0x52dd7c):_0xa33568,_0xdf2368=_0x4df78f[_0x1ccdf1(0x2b7)]-0x1,_0x29cd35;_0xdf2368>=0x0;_0xdf2368--)(_0x29cd35=_0x4df78f[_0xdf2368])&&(_0x474703=(_0x1a4abf?_0x29cd35(_0xa33568,_0x52dd7c,_0x474703):_0x29cd35(_0x474703))||_0x474703);return _0x1a4abf&&_0x474703&&_0x117cdd(_0xa33568,_0x52dd7c,_0x474703),_0x474703;},_0x12754f=(_0x21f56d,_0x3a70d9)=>(_0x5ba6d8,_0x6e7649)=>_0x3a70d9(_0x5ba6d8,_0x6e7649,_0x21f56d);let _0x133a0f=class{constructor(_0x5466ba,_0x1ecddc,_0x442d0a){const _0x278892=_0x4176ec;this['_injector']=_0x5466ba,this[_0x278892(0x31d)]=_0x1ecddc,this['_renderManagerService']=_0x442d0a;}[_0x4176ec(0x1fe)](_0x226a69){const _0x4a7cfc=_0x4176ec;this['_transformUndoRedoStack'](_0x226a69),this[_0x4a7cfc(0x1da)](_0x226a69);}[_0x4176ec(0x59a)](_0x34e853){const _0x43a00d=_0x4176ec,{unitID:_0x1eb98f}=_0x34e853,_0x14d7eb=this['_renderManagerService'][_0x43a00d(0x210)](_0x1eb98f)['with'](_0x580bbe['DocIMEInputManagerService']),{redoCache:_0x22f1ab}=_0x14d7eb['getUndoRedoMutationParamsCache']();if(_0x22f1ab['length']===0x0)return _0x34e853;let _0x9dc9ff=_0xd3ef1d[_0x43a00d(0x471)][_0x43a00d(0x36c)](_0x34e853[_0x43a00d(0x11b)][0x0]);for(let _0x4ccbd3=0x0;_0x4ccbd3<_0x22f1ab[_0x43a00d(0x2b7)];_0x4ccbd3++){const _0x4c05e3={'id':_0x43a00d(0x386),'params':{..._0x22f1ab[_0x4ccbd3]}},_0x10ab50=this[_0x43a00d(0x31d)][_0x43a00d(0x13b)](_0x9dc9ff,_0x4c05e3,!0x1);if(_0x47367d['isTransformMutationFailure'](_0x10ab50))throw _0x10ab50[_0x43a00d(0x476)];_0x9dc9ff=_0x10ab50[_0x43a00d(0x39f)];}return{..._0xd3ef1d[_0x43a00d(0x471)]['deepClone'](_0x34e853),'mutations':[_0x9dc9ff]};}[_0x4176ec(0x2c8)](_0x54b0bc){const _0x29f04a=_0x4176ec,{unitID:_0x82a31c}=_0x54b0bc,_0x7c1ebf=this[_0x29f04a(0x359)][_0x29f04a(0x210)](_0x82a31c)[_0x29f04a(0x49e)](_0x580bbe[_0x29f04a(0x328)]),{undoCache:_0x5046b1,redoCache:_0x1b5345}=_0x7c1ebf[_0x29f04a(0x4cc)]();if(_0x5046b1['length']===0x0||_0x1b5345[_0x29f04a(0x2b7)]===0x0)return;const _0x12d1e1=[],_0x2d2dba=[];let _0x52772c=_0xd3ef1d[_0x29f04a(0x471)]['deepClone'](_0x54b0bc[_0x29f04a(0x11b)][0x0]),_0x227162=_0xd3ef1d[_0x29f04a(0x471)][_0x29f04a(0x36c)](_0x54b0bc['mutations'][0x0]);for(let _0x154e52=_0x5046b1['length']-0x1;_0x154e52>=0x0;_0x154e52--){const _0x5b04d9={'id':'doc.mutation.rich-text-editing','params':{..._0x5046b1[_0x154e52]}},_0x56ae48={'id':_0x29f04a(0x386),'params':{..._0x1b5345[_0x154e52]}},_0x225e12=this['_transformService'][_0x29f04a(0x13b)](_0x52772c,_0x5b04d9,!0x1),_0xd389b5=this[_0x29f04a(0x31d)]['transformMutation'](_0x227162,_0x56ae48,!0x1);if(_0x47367d[_0x29f04a(0x3b8)](_0x225e12))throw _0x225e12['error'];if(_0x47367d[_0x29f04a(0x3b8)](_0xd389b5))throw _0xd389b5[_0x29f04a(0x476)];_0x12d1e1[_0x29f04a(0x2d7)](_0x225e12[_0x29f04a(0x389)][_0x29f04a(0x42d)]),_0x2d2dba[_0x29f04a(0x2d7)](_0xd389b5[_0x29f04a(0x389)][_0x29f04a(0x42d)]),_0x52772c=_0x225e12[_0x29f04a(0x39f)],_0x227162=_0xd389b5[_0x29f04a(0x39f)];}_0x7c1ebf[_0x29f04a(0x21a)]({'undoCache':_0x12d1e1,'redoCache':_0x2d2dba});}['_transformPreviousActiveRange'](_0x28f192){const _0x43208d=_0x4176ec,{unitID:_0x4ae6db}=_0x28f192,_0x89cfc=this['_renderManagerService'][_0x43208d(0x210)](_0x4ae6db)[_0x43208d(0x49e)](_0x580bbe[_0x43208d(0x328)]),_0x42b9b8=_0x89cfc[_0x43208d(0x2ee)]();if(_0x42b9b8==null)return;const _0x228ea1=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x28f192[_0x43208d(0x488)],'actions':null,'textRanges':[_0x42b9b8]}}],_0x2d2e27=this[_0x43208d(0x31d)][_0x43208d(0x2b2)](_0x28f192,_0x228ea1);if(!_0x47367d[_0x43208d(0x578)](_0x2d2e27))throw _0x2d2e27[_0x43208d(0x476)];const _0xd2912b=_0x2d2e27[_0x43208d(0x389)][0x0][_0x43208d(0x42d)][_0x43208d(0x159)];Array[_0x43208d(0x317)](_0xd2912b)&&_0xd2912b[_0x43208d(0x2b7)]&&_0x89cfc[_0x43208d(0x59f)](_0xd2912b[0x0]);}};_0x133a0f=_0x4d2ddd([_0x12754f(0x0,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d['Injector'])),_0x12754f(0x1,_0x47367d['ITransformService']),_0x12754f(0x2,_0x141d86['IRenderManagerService'])],_0x133a0f);var _0x20cc7a=Object[_0x4176ec(0x2b4)],_0x39a0c9=Object['getOwnPropertyDescriptor'],_0x705bda=(_0x4ba05b,_0x1a9e41,_0x292b21,_0x29708b)=>{const _0x56172b=_0x4176ec;for(var _0x530ad8=_0x29708b>0x1?void 0x0:_0x29708b?_0x39a0c9(_0x1a9e41,_0x292b21):_0x1a9e41,_0x5c0680=_0x4ba05b[_0x56172b(0x2b7)]-0x1,_0x34f9f1;_0x5c0680>=0x0;_0x5c0680--)(_0x34f9f1=_0x4ba05b[_0x5c0680])&&(_0x530ad8=(_0x29708b?_0x34f9f1(_0x1a9e41,_0x292b21,_0x530ad8):_0x34f9f1(_0x530ad8))||_0x530ad8);return _0x29708b&&_0x530ad8&&_0x20cc7a(_0x1a9e41,_0x292b21,_0x530ad8),_0x530ad8;},_0x1bbad6=(_0x587482,_0x1a034a)=>(_0x4b3e0f,_0x299715)=>_0x1a034a(_0x4b3e0f,_0x299715,_0x587482);_0x5e8095[_0x4176ec(0x5c2)]=class extends _0xd3ef1d[_0x4176ec(0x198)]{constructor(_0x52f5d3,_0x325d09,_0x2a1466,_0x3ede6a,_0x1895a8){const _0xca7d1e=_0x4176ec;super(),_0xddf92d(this,_0xca7d1e(0x12d),new Map()),_0xddf92d(this,_0xca7d1e(0x4eb),new Map()),_0xddf92d(this,_0xca7d1e(0x582),!0x1),(this[_0xca7d1e(0x1bf)]=_0x52f5d3,this[_0xca7d1e(0x232)]=_0x325d09,this[_0xca7d1e(0x1ec)]=_0x2a1466,this[_0xca7d1e(0x4a7)]=_0x3ede6a,this[_0xca7d1e(0x2f7)]=_0x1895a8,this[_0xca7d1e(0x50d)]());}[_0x4176ec(0x44e)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x316ef3=_0x4176ec;this[_0x316ef3(0x582)]=!0x1;}[_0x4176ec(0x275)](){const _0xfb11e=_0x4176ec;this[_0xfb11e(0x3f2)]()[_0xfb11e(0x4c4)](()=>super['dispose']());}async[_0x4176ec(0x11c)](_0x5702ff){const _0x405b63=_0x4176ec;return this[_0x405b63(0x582)]?null:this[_0x405b63(0x232)][_0x405b63(0x54c)](_0x16d472(_0x5702ff));}async[_0x4176ec(0x1a2)](_0x41be06,_0x1ed499){const _0x1559bf=_0x4176ec;return!!this[_0x1559bf(0x232)]['setItem'](_0x41be06,_0x1ed499);}[_0x4176ec(0x489)](_0x5f5c9f,_0x103a17,_0x441ba9,_0x439632){const _0xb6acce=_0x4176ec,_0x48f35a=this[_0xb6acce(0x2f7)][_0xb6acce(0x469)](_0x5f5c9f);this[_0xb6acce(0x12d)][_0xb6acce(0x266)](_0x5f5c9f,{'unitID':_0x5f5c9f,'type':_0x103a17,'awaitingChangeset':_0x441ba9,'mutations':_0x439632,'rev':_0x48f35a}),this[_0xb6acce(0x4eb)][_0xb6acce(0x4cf)](_0x5f5c9f)||this[_0xb6acce(0x5bf)](_0x5f5c9f);}['_scheduleSaving'](_0x4950aa){const _0x31184a=_0x4176ec,_0x23e6b0=this[_0x31184a(0x3fe)]();_0x23e6b0===0x0?this[_0x31184a(0x3da)](_0x4950aa):this[_0x31184a(0x4eb)][_0x31184a(0x266)](_0x4950aa,setTimeout(()=>this['_saveCache'](_0x4950aa),_0x23e6b0));}[_0x4176ec(0x3fe)](){const _0x541b51=_0x4176ec;var _0x4ea130;return(_0x4ea130=this[_0x541b51(0x1bf)]['getConfig'](_0x102ba6))!=null?_0x4ea130:0x3e8;}[_0x4176ec(0x3da)](_0x2040e4){const _0x5393b7=_0x4176ec,_0x25de07=this[_0x5393b7(0x4eb)][_0x5393b7(0x313)](_0x2040e4);return _0x25de07!==void 0x0&&window[_0x5393b7(0x1e4)](_0x25de07),this[_0x5393b7(0x232)][_0x5393b7(0x330)](_0x16d472(_0x2040e4),this[_0x5393b7(0x12d)][_0x5393b7(0x313)](_0x2040e4))['then'](()=>this[_0x5393b7(0x4eb)][_0x5393b7(0x38e)](_0x2040e4));}async[_0x4176ec(0x3f2)](){const _0x207b1e=_0x4176ec,_0x29c1e6=[];this[_0x207b1e(0x4eb)]['forEach']((_0x34937e,_0x5ab65a)=>{const _0x490694=_0x207b1e;window[_0x490694(0x1e4)](_0x34937e),_0x29c1e6[_0x490694(0x455)](this[_0x490694(0x3da)](_0x5ab65a)[_0x490694(0x4c4)](()=>{const _0x1e1eac=_0x490694;this[_0x1e1eac(0x4eb)][_0x1e1eac(0x38e)](_0x5ab65a);}));}),await Promise[_0x207b1e(0x3f9)](_0x29c1e6);}[_0x4176ec(0x50d)](){const _0x4761e4=_0x4176ec;this[_0x4761e4(0x1a6)](this['_beforeCloseService'][_0x4761e4(0x167)](()=>{const _0x4b914b=_0x4761e4;if(this[_0x4b914b(0x4eb)][_0x4b914b(0x118)])return this['_localeService']['t'](_0x4b914b(0x112));}));}},_0x5e8095[_0x4176ec(0x5c2)]=_0x705bda([_0x1bbad6(0x0,_0xd3ef1d[_0x4176ec(0x2ce)]),_0x1bbad6(0x1,_0xd3ef1d['ILocalStorageService']),_0x1bbad6(0x2,_0x45bd5d[_0x4176ec(0x17d)]),_0x1bbad6(0x3,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d[_0x4176ec(0x2b3)])),_0x1bbad6(0x4,_0xd3ef1d[_0x4176ec(0x2bc)](_0x47367d[_0x4176ec(0x248)]))],_0x5e8095[_0x4176ec(0x5c2)]);function _0x16d472(_0x4bce0c){const _0xcde486=_0x4176ec;return _0xcde486(0x332)+_0x4bce0c;}var _0x47c3c8=Object[_0x4176ec(0x2b4)],_0x1af1ca=Object[_0x4176ec(0x48c)],_0x39e5e5=(_0x5887ef,_0x3231bb,_0x468a42,_0x143a86)=>{const _0x46e85f=_0x4176ec;for(var _0x1a68a5=_0x143a86>0x1?void 0x0:_0x143a86?_0x1af1ca(_0x3231bb,_0x468a42):_0x3231bb,_0x2c1baf=_0x5887ef[_0x46e85f(0x2b7)]-0x1,_0x447a99;_0x2c1baf>=0x0;_0x2c1baf--)(_0x447a99=_0x5887ef[_0x2c1baf])&&(_0x1a68a5=(_0x143a86?_0x447a99(_0x3231bb,_0x468a42,_0x1a68a5):_0x447a99(_0x1a68a5))||_0x1a68a5);return _0x143a86&&_0x1a68a5&&_0x47c3c8(_0x3231bb,_0x468a42,_0x1a68a5),_0x1a68a5;},_0x5b4acc=(_0x573a83,_0x10a5f4)=>(_0x5d3a68,_0x5d5ad9)=>_0x10a5f4(_0x5d3a68,_0x5d5ad9,_0x573a83);function _0xfafcb7(_0x46bcb2){const _0x59622f=_0x4176ec,{unitID:_0x3691e7,mutations:_0x2dbc32}=_0x46bcb2;return{'unitId':_0x3691e7,'subUnitId':_0x2dbc32[0x0][_0x59622f(0x42d)]['subUnitId']};}let _0x3d1c7c=class{constructor(_0x1ebb39,_0x2b281a,_0x4140a6){const _0x5d2297=_0x4176ec;this[_0x5d2297(0x11a)]=_0x1ebb39,this['_transformService']=_0x2b281a,this['_instanceService']=_0x4140a6;}[_0x4176ec(0x58d)](_0x142a24){const _0x2d59d7=_0x4176ec;var _0xb8e0f3,_0x33b9c3,_0x3b9a3e,_0x5dbf72;const _0x2b983c=this[_0x2d59d7(0x11a)]['get'](_0x1b517d['SheetsSelectionsService']),{unitId:_0x1d13df,subUnitId:_0x2afd2a}=_0xfafcb7(_0x142a24),_0x30b252=_0x2b983c['getWorkbookSelections'](_0x1d13df)[_0x2d59d7(0x46e)](),_0x115b1f=(_0x33b9c3=(_0xb8e0f3=this[_0x2d59d7(0x31e)][_0x2d59d7(0x3d0)](_0x1d13df))==null?void 0x0:_0xb8e0f3[_0x2d59d7(0x4cb)]())==null?void 0x0:_0x33b9c3[_0x2d59d7(0x1c1)]();if(_0x30b252[_0x2d59d7(0x2b7)]===0x0||!_0x1d13df||!_0x2afd2a)return;const _0x570454=[{'id':_0x1b517d[_0x2d59d7(0x4d3)]['id'],'params':{'unitId':_0x1d13df,'subUnitId':_0x115b1f,'selections':_0xd3ef1d[_0x2d59d7(0x471)][_0x2d59d7(0x36c)](_0x30b252)}}],_0x322ff8=this['_transformService']['transformMutationsWithChangeset'](_0x142a24,_0x570454);if(!_0x47367d[_0x2d59d7(0x578)](_0x322ff8))throw _0x322ff8['error'];const _0x39aaab=(_0x5dbf72=(_0x3b9a3e=_0x322ff8[_0x2d59d7(0x389)][0x0])==null?void 0x0:_0x3b9a3e[_0x2d59d7(0x42d)])==null?void 0x0:_0x5dbf72[_0x2d59d7(0x17c)];if(Array['isArray'](_0x39aaab)&&_0x39aaab[_0x2d59d7(0x2b7)]){if(_0x39aaab[_0x2d59d7(0x2b7)]===_0x570454[0x0][_0x2d59d7(0x42d)][_0x2d59d7(0x17c)]['length']&&_0x39aaab[_0x2d59d7(0x490)]((_0x51ce9e,_0x38208e)=>_0xd3ef1d[_0x2d59d7(0x4a3)][_0x2d59d7(0x45f)](_0x51ce9e[_0x2d59d7(0x1ca)],_0x570454[0x0]['params'][_0x2d59d7(0x17c)][_0x38208e][_0x2d59d7(0x1ca)])))return;this[_0x2d59d7(0x11a)][_0x2d59d7(0x313)](_0xd3ef1d['ICommandService'])[_0x2d59d7(0x5a6)](_0x1b517d[_0x2d59d7(0x4d3)]['id'],{'unitId':_0x1d13df,'subUnitId':_0x115b1f,'selections':_0x39aaab});}}};_0x3d1c7c=_0x39e5e5([_0x5b4acc(0x0,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d[_0x4176ec(0x5ba)])),_0x5b4acc(0x1,_0x47367d[_0x4176ec(0x39c)]),_0x5b4acc(0x2,_0xd3ef1d[_0x4176ec(0x2fc)])],_0x3d1c7c);const _0x2c4fd7=_0xd3ef1d[_0x4176ec(0x23d)](_0x4176ec(0x247));var _0x560664=(_0xd9e849=>(_0xd9e849[_0xd9e849['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4176ec(0x452),_0xd9e849[_0xd9e849[_0x4176ec(0x5ae)]=0x1]='OTHER_CLIENTS_EDITING',_0xd9e849))(_0x560664||{});const _0x2e056f=0x7530,_0x3c1a2d='ACTIVE_UNIT_EVENT_CHANNEL';class _0x16fdad extends _0xd3ef1d[_0x4176ec(0x198)]{constructor(){const _0x47a730=_0x4176ec;super(),_0xddf92d(this,_0x47a730(0x405),_0xd3ef1d[_0x47a730(0x471)][_0x47a730(0x139)]()),_0xddf92d(this,'_selfUnitIDs',new Set()),_0xddf92d(this,_0x47a730(0x44b),new Map()),_0xddf92d(this,'_heartbeatTimer',null),_0xddf92d(this,_0x47a730(0x4d5),new Map()),_0xddf92d(this,'_unitStatus',new Map()),this[_0x47a730(0x3d5)]();}[_0x4176ec(0x275)](){const _0x5c7ffe=_0x4176ec;super[_0x5c7ffe(0x275)](),this[_0x5c7ffe(0x4d5)][_0x5c7ffe(0x193)]((_0x1642df,_0x5eab90)=>this['_removeClearOtherTimer'](_0x5eab90)),this['_heartbeatTimer']&&window[_0x5c7ffe(0x116)](this[_0x5c7ffe(0x47d)]);}[_0x4176ec(0x203)](_0x122dda){const _0x551480=_0x4176ec;return this[_0x551480(0x374)](_0x122dda)[_0x551480(0x579)](_0x2c8065[_0x551480(0x13c)]());}[_0x4176ec(0x194)](_0x2c30c0){const _0xf13588=_0x4176ec;this['_selfUnitIDs']['size']===0x0&&this[_0xf13588(0x544)](),this[_0xf13588(0x4b7)]['add'](_0x2c30c0),this['_send']({'type':0x0,'memberID':this[_0xf13588(0x405)],'unitIDs':[_0x2c30c0],'isForwarded':!0x1});}[_0x4176ec(0x542)](_0x5560c6){const _0x5bb9ad=_0x4176ec;this['_selfUnitIDs'][_0x5bb9ad(0x38e)](_0x5560c6),this[_0x5bb9ad(0x4b7)]['size']===0x0&&this[_0x5bb9ad(0x47d)]&&window['clearInterval'](this[_0x5bb9ad(0x47d)]);}[_0x4176ec(0x3d5)](){const _0x2b4bdd=_0x4176ec;this[_0x2b4bdd(0x1a6)](_0xd3ef1d[_0x2b4bdd(0x44a)](_0x2c8065[_0x2b4bdd(0x24b)](window,'storage')[_0x2b4bdd(0x221)](_0x148537=>{const _0x45e656=_0x2b4bdd;if(_0x148537[_0x45e656(0x546)]!==_0x3c1a2d||!_0x148537['newValue'])return;const _0x260fd5=JSON[_0x45e656(0x25b)](_0x148537['newValue']);this[_0x45e656(0x178)](_0x260fd5);}))),window['addEventListener']('unload',()=>this[_0x2b4bdd(0x402)]({'type':0x1,'memberID':this[_0x2b4bdd(0x405)],'unitIDs':Array[_0x2b4bdd(0x165)](this[_0x2b4bdd(0x4b7)])}));}[_0x4176ec(0x178)](_0x25440c){const _0x3fca69=_0x4176ec;switch(_0x25440c[_0x3fca69(0x286)]){case 0x0:this['_handleJoinEvent'](_0x25440c);break;case 0x1:this[_0x3fca69(0x4e8)](_0x25440c);break;case 0x2:this[_0x3fca69(0x172)](_0x25440c);break;}}[_0x4176ec(0x277)](_0x4feb2f){const _0x22ec93=_0x4176ec,{unitIDs:_0xa7b80c,memberID:_0x2ff48b,isForwarded:_0x2baf36}=_0x4feb2f;_0xa7b80c[_0x22ec93(0x193)](_0x2ac20a=>{const _0x30f354=_0x22ec93;if(!_0x2baf36&&this[_0x30f354(0x44b)]['has'](_0x2ac20a)&&this[_0x30f354(0x374)](_0x2ac20a)[_0x30f354(0x52a)](0x1),!this[_0x30f354(0x44b)][_0x30f354(0x4cf)](_0x2ac20a)||!this[_0x30f354(0x44b)]['get'](_0x2ac20a)[_0x30f354(0x4cf)](_0x2ff48b)){const _0x3a615a=this['_unitOnClients'][_0x30f354(0x313)](_0x2ac20a)||new Set();_0x3a615a['add'](_0x2ff48b),this[_0x30f354(0x44b)][_0x30f354(0x266)](_0x2ac20a,_0x3a615a),this['_scheduleClearOtherTimer'](_0x2ff48b);}}),_0x2baf36||this[_0x22ec93(0x402)]({'type':0x0,'memberID':this[_0x22ec93(0x405)],'unitIDs':[...this[_0x22ec93(0x4b7)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x444da2){const _0x2e1b0c=_0x4176ec;this[_0x2e1b0c(0x236)](_0x444da2);const _0xb74bea=window[_0x2e1b0c(0x5a2)](()=>{const _0x346f02=_0x2e1b0c;this[_0x346f02(0x44b)][_0x346f02(0x193)](_0x1aadb1=>{const _0x52f577=_0x346f02;_0x1aadb1[_0x52f577(0x38e)](_0x444da2);});},_0x2e056f*0x2);this['_clearOtherTimers'][_0x2e1b0c(0x266)](_0x444da2,_0xb74bea);}[_0x4176ec(0x236)](_0x3a2a12){const _0x49daaa=_0x4176ec;if(this[_0x49daaa(0x4d5)][_0x49daaa(0x4cf)](_0x3a2a12)){const _0x3650c1=this[_0x49daaa(0x4d5)][_0x49daaa(0x313)](_0x3a2a12);_0x3650c1&&window['clearTimeout'](_0x3650c1),this['_clearOtherTimers'][_0x49daaa(0x266)](_0x3a2a12,null);}}['_handleLeaveEvent'](_0x92c0f2){const _0x27078f=_0x4176ec,{memberID:_0x1c60cf,unitIDs:_0x37f81a}=_0x92c0f2;_0x37f81a[_0x27078f(0x193)](_0x3c137e=>{const _0x4f2db2=_0x27078f;var _0x3fc3ce;const _0x1b5e19=this['_unitOnClients'][_0x4f2db2(0x313)](_0x3c137e);_0x1b5e19&&(_0x1b5e19['delete'](_0x1c60cf),(_0x3fc3ce=this[_0x4f2db2(0x374)](_0x3c137e))==null||_0x3fc3ce[_0x4f2db2(0x52a)](_0x1b5e19[_0x4f2db2(0x118)]===0x0?0x0:0x1));}),this[_0x27078f(0x236)](_0x1c60cf);}[_0x4176ec(0x172)](_0x3dd0fe){const _0x7b50e9=_0x4176ec;this[_0x7b50e9(0x176)](_0x3dd0fe[_0x7b50e9(0x41b)]);}['_send'](_0x2a9473){const _0x3d91e4=_0x4176ec;localStorage[_0x3d91e4(0x330)](_0x3c1a2d,JSON[_0x3d91e4(0x385)](_0x2a9473));}['_scheduleHeartbeat'](){const _0x54a2fb=_0x4176ec;this['_heartbeatTimer']=window[_0x54a2fb(0x212)](()=>{const _0x4d7130=_0x54a2fb;this['_send']({'type':0x2,'memberID':this[_0x4d7130(0x405)]});},_0x2e056f);}[_0x4176ec(0x374)](_0x3db187){const _0x9c7716=_0x4176ec;return this[_0x9c7716(0x356)][_0x9c7716(0x4cf)](_0x3db187)||this['_unitStatus'][_0x9c7716(0x266)](_0x3db187,new _0x2c8065[(_0x9c7716(0x3b0))](0x0)),this[_0x9c7716(0x356)][_0x9c7716(0x313)](_0x3db187);}}var _0x2267b6=Object['defineProperty'],_0x384c16=Object['getOwnPropertyDescriptor'],_0x3b1b7e=(_0xcfe99e,_0x34030f,_0x526d9a,_0x4dd29b)=>{const _0x4a481d=_0x4176ec;for(var _0x286e33=_0x4dd29b>0x1?void 0x0:_0x4dd29b?_0x384c16(_0x34030f,_0x526d9a):_0x34030f,_0x4cb198=_0xcfe99e[_0x4a481d(0x2b7)]-0x1,_0x38f496;_0x4cb198>=0x0;_0x4cb198--)(_0x38f496=_0xcfe99e[_0x4cb198])&&(_0x286e33=(_0x4dd29b?_0x38f496(_0x34030f,_0x526d9a,_0x286e33):_0x38f496(_0x286e33))||_0x286e33);return _0x4dd29b&&_0x286e33&&_0x2267b6(_0x34030f,_0x526d9a,_0x286e33),_0x286e33;},_0x2d2e8d=(_0x3b2fb4,_0x2c1d22)=>(_0x1147e9,_0x3b65cb)=>_0x2c1d22(_0x1147e9,_0x3b65cb,_0x3b2fb4);let _0x55a4fc=class{constructor(_0x42a7cc,_0x32d959,_0x9c58e){const _0xd299f6=_0x4176ec;this[_0xd299f6(0x11a)]=_0x42a7cc,this[_0xd299f6(0x31d)]=_0x32d959,this[_0xd299f6(0x581)]=_0x9c58e;}[_0x4176ec(0x29b)](_0x407d73){const _0x51dff5=_0x4176ec;this[_0x51dff5(0x1f3)](_0x407d73);}[_0x4176ec(0x59a)](_0x1e37f6){const _0x244d7a=_0x4176ec,{unitID:_0x395ff5}=_0x1e37f6,{collaboration:_0x3715f0}=this[_0x244d7a(0x581)][_0x244d7a(0x1b0)](_0x395ff5);if(_0x3715f0[_0x244d7a(0x2b7)]===0x0)return _0x1e37f6;let _0x362183=_0xd3ef1d[_0x244d7a(0x471)][_0x244d7a(0x36c)](_0x1e37f6[_0x244d7a(0x11b)][0x0]);for(let _0x6e1928=0x0;_0x6e1928<_0x3715f0[_0x244d7a(0x2b7)];_0x6e1928++){const _0x1ad9d5={'id':_0x244d7a(0x386),'params':{'unitId':_0x3715f0[_0x6e1928]['unitId'],..._0x3715f0[_0x6e1928]['redoState']}},_0x4c7cba=this[_0x244d7a(0x31d)][_0x244d7a(0x13b)](_0x362183,_0x1ad9d5,!0x1);if(_0x47367d[_0x244d7a(0x3b8)](_0x4c7cba))throw _0x4c7cba[_0x244d7a(0x476)];_0x362183=_0x4c7cba['m1Prime'];}return{..._0xd3ef1d[_0x244d7a(0x471)][_0x244d7a(0x36c)](_0x1e37f6),'mutations':[_0x362183]};}[_0x4176ec(0x1f3)](_0x26a78f){const _0x4e6e94=_0x4176ec,{unitID:_0x467735}=_0x26a78f,{history:_0x5622a2,collaboration:_0x389563}=this[_0x4e6e94(0x581)][_0x4e6e94(0x1b0)](_0x467735);if(_0x5622a2[_0x4e6e94(0x2b7)]===0x0&&_0x389563[_0x4e6e94(0x2b7)]===0x0)return;const _0xddf9ed=[],_0x1558c7=[];let _0x55fd47=_0xd3ef1d['Tools'][_0x4e6e94(0x36c)](_0x26a78f[_0x4e6e94(0x11b)][0x0]),_0x203a5b=_0xd3ef1d['Tools'][_0x4e6e94(0x36c)](_0x26a78f[_0x4e6e94(0x11b)][0x0]);for(let _0x35a694=_0x5622a2['length']-0x1;_0x35a694>=0x0;_0x35a694--){const _0x3edaaa={'id':_0x4e6e94(0x386),'params':{'unitId':_0x5622a2[_0x35a694][_0x4e6e94(0x2cc)],..._0x5622a2[_0x35a694][_0x4e6e94(0x45b)]}},_0x3f4b64={'id':_0x4e6e94(0x386),'params':{'unitId':_0x5622a2[_0x35a694]['unitId'],..._0x5622a2[_0x35a694][_0x4e6e94(0x43b)]}},_0x3f448c=this[_0x4e6e94(0x31d)][_0x4e6e94(0x13b)](_0x55fd47,_0x3edaaa,!0x1),_0x49d7fb=this[_0x4e6e94(0x31d)][_0x4e6e94(0x13b)](_0x203a5b,_0x3f4b64,!0x1);if(_0x47367d[_0x4e6e94(0x3b8)](_0x3f448c))throw _0x3f448c['error'];if(_0x47367d['isTransformMutationFailure'](_0x49d7fb))throw _0x49d7fb[_0x4e6e94(0x476)];_0xddf9ed[_0x4e6e94(0x2d7)]({..._0x5622a2[_0x35a694],'undoState':_0x3f448c['m2Prime'][_0x4e6e94(0x42d)],'redoState':_0x49d7fb[_0x4e6e94(0x389)][_0x4e6e94(0x42d)]}),_0x55fd47=_0x3f448c['m1Prime'],_0x203a5b=_0x49d7fb[_0x4e6e94(0x39f)];}_0x55fd47=_0xd3ef1d[_0x4e6e94(0x471)][_0x4e6e94(0x36c)](_0x26a78f[_0x4e6e94(0x11b)][0x0]),_0x203a5b=_0xd3ef1d[_0x4e6e94(0x471)]['deepClone'](_0x26a78f[_0x4e6e94(0x11b)][0x0]);for(let _0x17c041=_0x389563[_0x4e6e94(0x2b7)]-0x1;_0x17c041>=0x0;_0x17c041--){const _0x1b3a66={'id':_0x4e6e94(0x386),'params':{'unitId':_0x389563[_0x17c041]['unitId'],..._0x389563[_0x17c041][_0x4e6e94(0x45b)]}},_0x50bd2f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x389563[_0x17c041][_0x4e6e94(0x2cc)],..._0x389563[_0x17c041][_0x4e6e94(0x43b)]}},_0xdfa03d=this[_0x4e6e94(0x31d)][_0x4e6e94(0x13b)](_0x55fd47,_0x1b3a66,!0x1),_0x2741d3=this['_transformService']['transformMutation'](_0x203a5b,_0x50bd2f,!0x1);if(_0x47367d['isTransformMutationFailure'](_0xdfa03d))throw _0xdfa03d[_0x4e6e94(0x476)];if(_0x47367d[_0x4e6e94(0x3b8)](_0x2741d3))throw _0x2741d3[_0x4e6e94(0x476)];_0x1558c7[_0x4e6e94(0x2d7)]({..._0x389563[_0x17c041],'undoState':_0xdfa03d[_0x4e6e94(0x389)][_0x4e6e94(0x42d)],'redoState':_0x2741d3['m2Prime'][_0x4e6e94(0x42d)]}),_0x55fd47=_0xdfa03d['m1Prime'],_0x203a5b=_0x2741d3[_0x4e6e94(0x39f)];}this[_0x4e6e94(0x581)][_0x4e6e94(0x481)](_0x467735,{'history':_0xddf9ed,'collaboration':_0x1558c7});}};_0x55a4fc=_0x3b1b7e([_0x2d2e8d(0x0,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d[_0x4176ec(0x5ba)])),_0x2d2e8d(0x1,_0x47367d[_0x4176ec(0x39c)]),_0x2d2e8d(0x2,_0xd3ef1d[_0x4176ec(0x2bc)](_0x580bbe['DocStateChangeManagerService']))],_0x55a4fc);function _0x2a3dfd(_0x9b4cc4){const _0xfccae9=_0x4176ec;let _0x40ff09='';for(const _0x385587 of _0x9b4cc4){const {startOffset:_0x5ef3b0,endOffset:_0x1eb647,isActive:_0x357812,rangeType:_0x215dc5,segmentId:_0x4b78e8,segmentPage:_0x5ba15c}=_0x385587;_0x40ff09[_0xfccae9(0x2b7)]&&(_0x40ff09+=','),_0x40ff09+=_0x5ef3b0+':'+_0x1eb647+':'+(_0x357812?'1':'0')+':'+_0x215dc5+':'+_0x4b78e8+':'+_0x5ba15c;}return _0x40ff09;}function _0x3e2c8f(_0x8c6151){const _0x382004=_0x4176ec,_0x1a7b68=_0x8c6151[_0x382004(0x201)](','),_0x590bfd=[];for(const _0xe68492 of _0x1a7b68){const [_0x16130d,_0x2adb87,_0x1c6d37,_0x1c444c,_0x32f497,_0x2d7ec1]=_0xe68492[_0x382004(0x201)](':');_0x590bfd[_0x382004(0x455)]({'startOffset':Number(_0x16130d),'endOffset':Number(_0x2adb87),'collapsed':_0x16130d===_0x2adb87,'isActive':_0x1c6d37==='1','rangeType':_0x1c444c===_0xd3ef1d[_0x382004(0x538)][_0x382004(0x34a)]?_0xd3ef1d[_0x382004(0x538)]['TEXT']:_0xd3ef1d[_0x382004(0x538)]['RECT'],'segmentId':typeof _0x32f497=='string'?String(_0x32f497):'','segmentPage':Number(_0x2d7ec1!=null?_0x2d7ec1:-0x1)});}return _0x590bfd[_0x382004(0x3a6)](_0x29d616=>_0x29d616[_0x382004(0x51c)])||(_0x590bfd[0x0]['isActive']=!0x0),_0x590bfd;}class _0x1947b9 extends _0xd3ef1d['RxDisposable']{constructor(){const _0x18e058=_0x4176ec;super(...arguments),_0xddf92d(this,_0x18e058(0x369),new _0x2c8065['BehaviorSubject'](null)),_0xddf92d(this,_0x18e058(0x240),this[_0x18e058(0x369)][_0x18e058(0x117)]());}[_0x4176ec(0x1bd)](_0x2d346c){const _0xe44925=_0x4176ec,{unitID:_0x10f449,memberID:_0x1fa581,textRanges:_0x44abcf}=_0x2d346c,_0x4ae235=_0x2a3dfd(_0x44abcf);if(_0x4ae235==='')return;const _0x1f53fa={'unitID':_0x10f449,'memberID':_0x1fa581,'selection':_0x4ae235};this[_0xe44925(0x369)][_0xe44925(0x52a)](_0x1f53fa);}}var _0x3918f0=Object[_0x4176ec(0x2b4)],_0x4dc946=Object[_0x4176ec(0x48c)],_0x55e12e=(_0x54a9fb,_0x54706d,_0x193c1a,_0x687537)=>{for(var _0x1be160=_0x687537>0x1?void 0x0:_0x687537?_0x4dc946(_0x54706d,_0x193c1a):_0x54706d,_0x374478=_0x54a9fb['length']-0x1,_0x300c28;_0x374478>=0x0;_0x374478--)(_0x300c28=_0x54a9fb[_0x374478])&&(_0x1be160=(_0x687537?_0x300c28(_0x54706d,_0x193c1a,_0x1be160):_0x300c28(_0x1be160))||_0x1be160);return _0x687537&&_0x1be160&&_0x3918f0(_0x54706d,_0x193c1a,_0x1be160),_0x1be160;},_0x598f17=(_0x3a20c0,_0x45fa99)=>(_0x37d2a8,_0x8dee9b)=>_0x45fa99(_0x37d2a8,_0x8dee9b,_0x3a20c0);let _0x5763eb=class{constructor(_0x33c77c,_0x31e5a6){const _0x1fec55=_0x4176ec;this[_0x1fec55(0x11a)]=_0x33c77c,this[_0x1fec55(0x31d)]=_0x31e5a6;}[_0x4176ec(0x58d)](_0x43ca41){const _0x19bd19=_0x4176ec;var _0x1eb870;const _0x2d0baf=this[_0x19bd19(0x11a)]['get'](_0x4c13e7[_0x19bd19(0x20b)]),_0x1969a0=(_0x1eb870=_0x2d0baf[_0x19bd19(0x26c)]())!=null?_0x1eb870:[];if(_0x1969a0[_0x19bd19(0x2b7)]===0x0)return;const _0x417b34=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x43ca41[_0x19bd19(0x488)],'actions':null,'textRanges':_0x1969a0}}],_0x520b6b=this[_0x19bd19(0x31d)][_0x19bd19(0x2b2)](_0x43ca41,_0x417b34);if(!_0x47367d['isTransformMutationsWithChangesetSuccess'](_0x520b6b))throw _0x520b6b['error'];const _0x92cde9=_0x520b6b[_0x19bd19(0x389)][0x0][_0x19bd19(0x42d)]['textRanges'];Array[_0x19bd19(0x317)](_0x92cde9)&&_0x92cde9[_0x19bd19(0x2b7)]&&_0x2d0baf[_0x19bd19(0x157)](_0x92cde9,!0x1);}};_0x5763eb=_0x55e12e([_0x598f17(0x0,_0xd3ef1d['Inject'](_0xd3ef1d[_0x4176ec(0x5ba)])),_0x598f17(0x1,_0x47367d[_0x4176ec(0x39c)])],_0x5763eb);const _0x30ae92=new Set([_0x1b517d['InsertSheetMutation']['id']]);function _0x441606(_0x59d5ed,_0x5cd0f2,_0xecc9c2,_0xeda24,_0x5b7214){const _0x5a82e8=_0x4176ec;var _0x514b82,_0x1ce5ef,_0x3b9cfe,_0x2dd499;const _0x314ded=[];for(const _0x19b92d of _0x59d5ed)if(_0x30ae92['has'](_0x19b92d['id'])){if(_0x314ded['length']>0x0)break;_0x314ded['push'](_0x19b92d);break;}else _0x314ded[_0x5a82e8(0x455)](_0x19b92d);const _0x296015=(_0x1ce5ef=(_0x514b82=_0x5b7214[_0x5a82e8(0x256)]())==null?void 0x0:_0x514b82[_0x5a82e8(0x43d)])!=null?_0x1ce5ef:_0x5a82e8(0x132),_0x480059=(_0x2dd499=(_0x3b9cfe=_0x5b7214[_0x5a82e8(0x256)]())==null?void 0x0:_0x3b9cfe[_0x5a82e8(0x41b)])!=null?_0x2dd499:'unknown';return{'changeset':{'unitID':_0x5cd0f2,'type':_0x47367d[_0x5a82e8(0x179)](_0xecc9c2[_0x5a82e8(0x26b)](_0x5cd0f2)),'baseRev':_0xeda24[_0x5a82e8(0x469)](_0x5cd0f2),'revision':0x0,'userID':_0x296015,'memberID':_0x480059,'mutations':_0x314ded},'pendingMutations':_0x59d5ed[_0x5a82e8(0x2de)](_0x314ded[_0x5a82e8(0x2b7)])};}function _0x2388b3(_0x3a24f7,_0x117e78,_0x595ef5,_0x4f4159,_0x1c424c){const _0x5cbacb=_0x4176ec;var _0x59ead1,_0x391000,_0x97ba87,_0x572404;const _0xb57f58=[_0x3a24f7[_0x5cbacb(0x1f8)]((_0x38eb76,_0x141128)=>{const _0x4b7a37=_0x5cbacb;var _0x584d2c;const {id:_0x5532ec}=_0x38eb76,{id:_0x88104f,type:_0x29cf16}=_0x141128,_0xea2eb7=(_0x584d2c=_0x38eb76[_0x4b7a37(0x42d)])!=null?_0x584d2c:{'actions':null},_0x5d26d0=_0x141128[_0x4b7a37(0x42d)];if(_0x5532ec&&_0x5532ec!==_0x88104f)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x5532ec+_0x4b7a37(0x133)+_0x88104f+'.');return{..._0x38eb76,'id':_0x88104f,'type':_0x29cf16,'params':{'unitId':_0x5d26d0[_0x4b7a37(0x2cc)],'textRanges':_0x5d26d0[_0x4b7a37(0x159)],'actions':_0xd3ef1d[_0x4b7a37(0x4a5)][_0x4b7a37(0x1c6)](_0xea2eb7[_0x4b7a37(0x370)],_0x5d26d0[_0x4b7a37(0x370)])}};},{})],_0x49203c=(_0x391000=(_0x59ead1=_0x1c424c[_0x5cbacb(0x256)]())==null?void 0x0:_0x59ead1[_0x5cbacb(0x43d)])!=null?_0x391000:_0x5cbacb(0x132),_0x3962b5=(_0x572404=(_0x97ba87=_0x1c424c[_0x5cbacb(0x256)]())==null?void 0x0:_0x97ba87[_0x5cbacb(0x41b)])!=null?_0x572404:_0x5cbacb(0x132);return{'changeset':{'unitID':_0x117e78,'type':_0x47367d[_0x5cbacb(0x179)](_0x595ef5['getUnitType'](_0x117e78)),'baseRev':_0x4f4159[_0x5cbacb(0x469)](_0x117e78),'revision':0x0,'userID':_0x49203c,'memberID':_0x3962b5,'mutations':_0xb57f58},'pendingMutations':[]};}function _0x316111(_0x3e0e27,_0x5f391c){const _0x2f7a5a=_0x4176ec,_0x586558=new _0x2c8065[(_0x2f7a5a(0x5c1))](0x1);return setTimeout(()=>_0x586558['next'](_0x5f391c),_0x3e0e27),_0x586558[_0x2f7a5a(0x117)]()[_0x2f7a5a(0x579)](_0x2c8065[_0x2f7a5a(0x272)](0x1));}const _0x5093ee={'id':_0x1b517d['EmptyMutation']['id'],'type':_0xd3ef1d[_0x4176ec(0x4c5)][_0x4176ec(0x363)],'params':{}};var _0x1c732=Object[_0x4176ec(0x2b4)],_0xcdb93c=Object['getOwnPropertyDescriptor'],_0x1eb82f=(_0x47c1dd,_0x3d7e51,_0x3aa3d3,_0x5e60da)=>{const _0x108f58=_0x4176ec;for(var _0x1f3098=_0x5e60da>0x1?void 0x0:_0x5e60da?_0xcdb93c(_0x3d7e51,_0x3aa3d3):_0x3d7e51,_0x2f5818=_0x47c1dd[_0x108f58(0x2b7)]-0x1,_0x423d0d;_0x2f5818>=0x0;_0x2f5818--)(_0x423d0d=_0x47c1dd[_0x2f5818])&&(_0x1f3098=(_0x5e60da?_0x423d0d(_0x3d7e51,_0x3aa3d3,_0x1f3098):_0x423d0d(_0x1f3098))||_0x1f3098);return _0x5e60da&&_0x1f3098&&_0x1c732(_0x3d7e51,_0x3aa3d3,_0x1f3098),_0x1f3098;},_0x3a4a35=(_0x584db1,_0x3a87d9)=>(_0x322c6f,_0x2c2c76)=>_0x3a87d9(_0x322c6f,_0x2c2c76,_0x584db1),_0x52e01f=(_0x22fc75=>(_0x22fc75[_0x4176ec(0x2f0)]=_0x4176ec(0x2b6),_0x22fc75['SYNCED']='synced',_0x22fc75[_0x4176ec(0x18e)]=_0x4176ec(0x2c0),_0x22fc75[_0x4176ec(0x3d4)]=_0x4176ec(0x224),_0x22fc75[_0x4176ec(0x10c)]=_0x4176ec(0x26d),_0x22fc75[_0x4176ec(0x250)]=_0x4176ec(0x19a),_0x22fc75[_0x4176ec(0x15c)]=_0x4176ec(0x181),_0x22fc75['OFFLINE']=_0x4176ec(0x151),_0x22fc75))(_0x52e01f||{});const _0x25241f=0xea60;class _0x17f65c{constructor(_0x58a376,_0x2b005d,_0xf63fb3,_0x301275,_0x45f148,_0x35ee3a,_0x493b79,_0x1cfbf8,_0x443bca){const _0x58a146=_0x4176ec;_0xddf92d(this,'_awaitingChangeset',null),_0xddf92d(this,_0x58a146(0x576),[]),(this['unitID']=_0x58a376,this[_0x58a146(0x286)]=_0x2b005d,this[_0x58a146(0x557)]=_0x45f148,this[_0x58a146(0x135)]=_0x35ee3a,this['_undoRedoService']=_0x493b79,this['_revisionService']=_0x1cfbf8,this['_localCacheService']=_0x443bca,this[_0x58a146(0x267)]=_0xf63fb3,this[_0x58a146(0x576)]=_0x301275);}[_0x4176ec(0x565)](_0x18b4e9){const _0x165bec=_0x4176ec,_0x202375=this['_revisionService'][_0x165bec(0x469)](this[_0x165bec(0x488)]);return _0x18b4e9[_0x165bec(0x140)]>_0x202375+0x1?(this[_0x165bec(0x557)][_0x165bec(0x24e)]({'from':_0x202375,'to':_0x18b4e9['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x23ff52){const _0x3e495d=_0x4176ec;this[_0x3e495d(0x43c)][_0x3e495d(0x462)](this[_0x3e495d(0x488)],_0x23ff52);}[_0x4176ec(0x477)](_0x5acdaf){const _0x5c044b=_0x4176ec;var _0x7b8ae8,_0x58dd7a;(_0x58dd7a=(_0x7b8ae8=this[_0x5c044b(0x557)])[_0x5c044b(0x2ac)])==null||_0x58dd7a[_0x5c044b(0x35e)](_0x7b8ae8,_0x5acdaf);}[_0x4176ec(0x292)](_0x10e1e5){const _0xe837d4=_0x4176ec;var _0x4102f5,_0xc54a57;return(_0xc54a57=(_0x4102f5=this['_handler'])[_0xe837d4(0x3be)])==null?void 0x0:_0xc54a57[_0xe837d4(0x35e)](_0x4102f5,_0x10e1e5);}[_0x4176ec(0x54a)](_0x5da558){const _0x4eb36f=_0x4176ec;var _0x43ae57,_0x2ee78c;return(_0x2ee78c=(_0x43ae57=this[_0x4eb36f(0x557)])[_0x4eb36f(0x14d)])==null?void 0x0:_0x2ee78c['call'](_0x43ae57,_0x5da558);}[_0x4176ec(0x407)](_0x382bf9){const _0x555cd9=_0x4176ec;var _0x437181,_0x3dd2eb,_0x5b1853;return(_0x5b1853=(_0x3dd2eb=(_0x437181=this['_handler'])[_0x555cd9(0x4c3)])==null?void 0x0:_0x3dd2eb[_0x555cd9(0x35e)](_0x437181,_0x382bf9))!=null?_0x5b1853:_0x382bf9;}[_0x4176ec(0x16b)](_0xb3252a){const _0x40165c=_0x4176ec;var _0x5ddd73,_0x342fa6,_0x29712f;return(_0x29712f=(_0x342fa6=(_0x5ddd73=this[_0x40165c(0x557)])[_0x40165c(0x357)])==null?void 0x0:_0x342fa6[_0x40165c(0x35e)](_0x5ddd73,_0xb3252a))!=null?_0x29712f:_0xb3252a;}[_0x4176ec(0x4d2)](_0x38975e){const _0x30bc26=_0x4176ec;var _0x42ed77,_0x557c85;if(this[_0x30bc26(0x286)]===_0x34a84f[_0x30bc26(0x457)]){const {unitID:_0x447717,mutations:_0x2d38f0,memberID:_0xad9ee5}=_0x38975e,_0x3fe94d=_0x2d38f0[0x0][_0x30bc26(0x42d)][_0x30bc26(0x159)];Array[_0x30bc26(0x317)](_0x3fe94d)&&_0x3fe94d[_0x30bc26(0x2b7)]>0x0&&((_0x557c85=(_0x42ed77=this[_0x30bc26(0x557)])[_0x30bc26(0x38a)])==null||_0x557c85['call'](_0x42ed77,{'unitID':_0x447717,'memberID':_0xad9ee5,'textRanges':_0x3fe94d}));}}[_0x4176ec(0x28f)](){const _0x2c6842=_0x4176ec;this[_0x2c6842(0x29a)][_0x2c6842(0x489)](this['unitID'],this[_0x2c6842(0x286)],this[_0x2c6842(0x267)],this[_0x2c6842(0x576)]);}[_0x4176ec(0x2b5)](){const _0x1e20ad=_0x4176ec;return this[_0x1e20ad(0x2f7)][_0x1e20ad(0x469)](this['unitID']);}[_0x4176ec(0x22b)](){const _0x47537e=_0x4176ec;this[_0x47537e(0x2f7)][_0x47537e(0x4d7)](this[_0x47537e(0x488)]);}[_0x4176ec(0x29e)](_0x1b2523){const _0x446910=_0x4176ec;var _0x52007b;let _0x1cdc95=this['_transformRemoteChangesetByIMECache'](_0x1b2523);_0x1cdc95=this[_0x446910(0x16b)](_0x1cdc95);const _0x56ac3a=_0xd3ef1d[_0x446910(0x541)](_0x1cdc95[_0x446910(0x11b)],this[_0x446910(0x135)],{'fromCollab':!0x0});if(!_0x56ac3a[_0x446910(0x339)])throw _0x56ac3a['error']instanceof Error?_0x56ac3a[_0x446910(0x476)]:new Error((_0x52007b=_0x56ac3a[_0x446910(0x476)])!=null?_0x52007b:_0x446910(0x527));this[_0x446910(0x292)](_0x1cdc95),this['_transformStateCache'](_0x1cdc95),this[_0x446910(0x575)](_0x1b2523),this[_0x446910(0x477)](_0x1cdc95),this[_0x446910(0x4d2)](_0x1cdc95),this[_0x446910(0x22b)]();}}let _0x43108f=class extends _0x17f65c{constructor(_0x388005,_0x194982,_0x580da9,_0x309c91,_0x35734e,_0x4c1683,_0x748cea,_0x153eb5,_0x2ed657,_0x24f4bb){const _0x1d9fc1=_0x4176ec;super(_0x388005,_0x194982,null,[],_0x580da9,_0x153eb5,_0x748cea,_0x309c91,_0x35734e),_0xddf92d(this,_0x1d9fc1(0x3ad),_0x1d9fc1(0x4ed)),(this[_0x1d9fc1(0x11a)]=_0x4c1683,this['_logService']=_0x2ed657,this[_0x1d9fc1(0x31d)]=_0x24f4bb);}[_0x4176ec(0x24c)](_0x231894){const _0x1c8b84=_0x4176ec,_0x144ea8=this[_0x1c8b84(0x11a)][_0x1c8b84(0x5c5)](_0x325a65,this[_0x1c8b84(0x488)],this[_0x1c8b84(0x286)],[_0x231894],this['_handler']);return _0x144ea8[_0x1c8b84(0x480)](),_0x144ea8[_0x1c8b84(0x28f)](),_0x144ea8;}['onRemoteChangeset'](_0x46661c){const _0x548214=_0x4176ec;if(this[_0x548214(0x565)](_0x46661c))return this[_0x548214(0x11a)][_0x548214(0x5c5)](_0x59c836,this['unitID'],this[_0x548214(0x286)],null,[],null,[_0x46661c],this[_0x548214(0x557)]);try{const _0x114f8c=this[_0x548214(0x31d)][_0x548214(0x2b2)](_0x46661c,[_0x5093ee]);if(_0x47367d[_0x548214(0x578)](_0x114f8c)){const {c1Prime:_0x3c7448}=_0x114f8c;return this[_0x548214(0x29e)](_0x3c7448),this;}throw _0x114f8c[_0x548214(0x476)];}catch(_0xbaa45e){return this[_0x548214(0x5ab)][_0x548214(0x476)](_0xbaa45e),this['_onConflict'](!0x1);}}[_0x4176ec(0x5c9)](_0x1e184b){const _0x9f472b=_0x4176ec;return this[_0x9f472b(0x11a)][_0x9f472b(0x5c5)](_0x14d23a,this[_0x9f472b(0x488)],this[_0x9f472b(0x286)],null,[],this['_handler'],_0x1e184b);}[_0x4176ec(0x396)](){const _0x14aae9=_0x4176ec;throw new Error(_0x14aae9(0x2d2));}[_0x4176ec(0x227)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x4176ec(0x382)](){return this;}[_0x4176ec(0x500)](){const _0x5500fe=_0x4176ec;return this[_0x5500fe(0x11a)][_0x5500fe(0x5c5)](_0x3a5b1a,this[_0x5500fe(0x488)],this['type'],null,[],this[_0x5500fe(0x557)]);}[_0x4176ec(0x572)](){return this;}[_0x4176ec(0x48d)](){const _0x59be2a=_0x4176ec;throw new Error(_0x59be2a(0x52d));}[_0x4176ec(0x2d1)](){const _0x1bd5ef=_0x4176ec,_0x1f72e0=this[_0x1bd5ef(0x2f7)][_0x1bd5ef(0x469)](this[_0x1bd5ef(0x488)]);return this[_0x1bd5ef(0x557)]['onMissingChangesets']({'from':_0x1f72e0,'to':0x0}),this[_0x1bd5ef(0x11a)][_0x1bd5ef(0x5c5)](_0x59c836,this['unitID'],this['type'],null,[],null,[],this[_0x1bd5ef(0x557)]);}};_0x43108f=_0x1eb82f([_0x3a4a35(0x3,_0xd3ef1d[_0x4176ec(0x2bc)](_0x47367d[_0x4176ec(0x248)])),_0x3a4a35(0x4,_0xd3ef1d[_0x4176ec(0x2bc)](_0x5e8095[_0x4176ec(0x5c2)])),_0x3a4a35(0x5,_0xd3ef1d['Inject'](_0xd3ef1d['Injector'])),_0x3a4a35(0x6,_0xd3ef1d[_0x4176ec(0x1ac)]),_0x3a4a35(0x7,_0xd3ef1d['ICommandService']),_0x3a4a35(0x8,_0xd3ef1d[_0x4176ec(0x5b4)]),_0x3a4a35(0x9,_0x47367d[_0x4176ec(0x39c)])],_0x43108f);let _0x325a65=class extends _0x17f65c{constructor(_0x4fc83b,_0x3fb3b9,_0x4e7645,_0x46847b,_0x95120a,_0x560bcb,_0x51c731,_0x134063,_0x14057c,_0xa30f94,_0x3d6e96,_0x5bf7d2,_0x14f6b3,_0x19e91e){const _0x1f12ed=_0x4176ec;super(_0x4fc83b,_0x3fb3b9,null,_0x4e7645,_0x46847b,_0xa30f94,_0x19e91e,_0x560bcb,_0x51c731),_0xddf92d(this,_0x1f12ed(0x3ad),_0x1f12ed(0x2c0)),_0xddf92d(this,_0x1f12ed(0x3bd),null),_0xddf92d(this,_0x1f12ed(0x453),null),(this['_injector']=_0x95120a,this[_0x1f12ed(0x192)]=_0x134063,this[_0x1f12ed(0x5ab)]=_0x14057c,this['_configService']=_0x3d6e96,this['_transformService']=_0x5bf7d2,this[_0x1f12ed(0x1d0)]=_0x14f6b3);}[_0x4176ec(0x24c)](_0x1604ec){const _0x3181d8=_0x4176ec;return this[_0x3181d8(0x576)][_0x3181d8(0x455)](_0x1604ec),this[_0x3181d8(0x28f)](),this;}[_0x4176ec(0x12c)](_0x47edf2){const _0x520209=_0x4176ec;if(this[_0x520209(0x565)](_0x47edf2))return this[_0x520209(0x3e2)](),this[_0x520209(0x11a)][_0x520209(0x5c5)](_0x59c836,this[_0x520209(0x488)],this[_0x520209(0x286)],null,this[_0x520209(0x576)],null,[_0x47edf2],this['_handler']);try{const _0x2f317a=this[_0x520209(0x31d)][_0x520209(0x2b2)](_0x47edf2,this[_0x520209(0x576)]);if(_0x47367d['isTransformMutationsWithChangesetSuccess'](_0x2f317a)){const {c1Prime:_0x39203d,m2Prime:_0x5a4be2}=_0x2f317a;this[_0x520209(0x29e)](_0x39203d);const _0x4c1a7e=this['_injector'][_0x520209(0x5c5)](_0x325a65,this['unitID'],this[_0x520209(0x286)],_0x5a4be2,this[_0x520209(0x557)]);return this['_clearScheduledTask'](),_0x4c1a7e['_schedule'](this[_0x520209(0x3bd)]?Math[_0x520209(0x3f3)](0x0,new Date()[_0x520209(0x365)]()-this[_0x520209(0x3bd)]):this[_0x520209(0x3ed)]()),_0x4c1a7e;}throw _0x2f317a[_0x520209(0x476)];}catch(_0x12c4d8){return this['_logService'][_0x520209(0x476)](_0x12c4d8),this[_0x520209(0x5c9)](!0x1);}}[_0x4176ec(0x396)](){const _0xea121c=_0x4176ec;throw new Error(_0xea121c(0x3ca));}[_0x4176ec(0x227)](){const _0x14a08e=_0x4176ec;throw new Error(_0x14a08e(0x437));}['onRemoteRetry'](){return this;}[_0x4176ec(0x500)](){const _0x433c4f=_0x4176ec;return this[_0x433c4f(0x3e2)](),this[_0x433c4f(0x11a)]['createInstance'](_0x3a5b1a,this[_0x433c4f(0x488)],this['type'],null,this[_0x433c4f(0x576)],this['_handler']);}['toggleOnline'](){return this;}[_0x4176ec(0x480)](_0x22cbc9){const _0x42ec8e=_0x4176ec,_0x2fe6c9=_0x22cbc9!=null?_0x22cbc9:this[_0x42ec8e(0x3ed)]();this['_scheduleTimestamp']=new Date()['getTime'](),this[_0x42ec8e(0x453)]=window[_0x42ec8e(0x5a2)](()=>{const _0x5ecdaa=_0x42ec8e;this[_0x5ecdaa(0x3e2)]();let _0x22056b=null;switch(this[_0x5ecdaa(0x286)]){case _0x34a84f[_0x5ecdaa(0x1ab)]:{_0x22056b=_0x441606(this[_0x5ecdaa(0x576)],this[_0x5ecdaa(0x488)],this[_0x5ecdaa(0x1d0)],this['_revisionService'],this[_0x5ecdaa(0x192)]);break;}case _0x34a84f[_0x5ecdaa(0x457)]:{this[_0x5ecdaa(0x576)][_0x5ecdaa(0x490)](_0x638f55=>_0x638f55['id']===_0x4c13e7[_0x5ecdaa(0x440)]['id'])?_0x22056b=_0x2388b3(this[_0x5ecdaa(0x576)],this[_0x5ecdaa(0x488)],this[_0x5ecdaa(0x1d0)],this[_0x5ecdaa(0x2f7)],this[_0x5ecdaa(0x192)]):_0x22056b=_0x441606(this['_pendingMutations'],this[_0x5ecdaa(0x488)],this[_0x5ecdaa(0x1d0)],this[_0x5ecdaa(0x2f7)],this['_memberService']);break;}default:throw new Error(_0x5ecdaa(0x320)+this['type']+_0x5ecdaa(0x461));}const {changeset:_0x59fd11,pendingMutations:_0x22f812}=_0x22056b;this[_0x5ecdaa(0x557)][_0x5ecdaa(0x559)](_0x59fd11);const _0x5cd14c=_0x22f812[_0x5ecdaa(0x2b7)]?this['_injector']['createInstance'](_0x3957ac,this[_0x5ecdaa(0x488)],this[_0x5ecdaa(0x286)],_0x59fd11,_0x22f812,this[_0x5ecdaa(0x557)],void 0x0):this[_0x5ecdaa(0x11a)]['createInstance'](_0x4649d3,this[_0x5ecdaa(0x488)],this['type'],_0x59fd11,this['_handler']);_0x5cd14c['_updateLocalCache'](),this[_0x5ecdaa(0x557)][_0x5ecdaa(0x4ac)](this,_0x5cd14c);},_0x2fe6c9);}[_0x4176ec(0x3ed)](){const _0x1d9c4f=_0x4176ec;var _0x117278;const _0x383e11=this[_0x1d9c4f(0x1bf)][_0x1d9c4f(0x40b)](_0x20ac24);return(_0x117278=_0x383e11==null?void 0x0:_0x383e11['sendChangesetTimeout'])!=null?_0x117278:0x7d0;}[_0x4176ec(0x48d)](){const _0x41a19e=_0x4176ec;throw new Error(_0x41a19e(0x543));}[_0x4176ec(0x3e2)](){const _0x5bf9b3=_0x4176ec;this[_0x5bf9b3(0x453)]!=null&&(clearTimeout(this[_0x5bf9b3(0x453)]),this[_0x5bf9b3(0x453)]=null);}['_onConflict'](_0x11be79){const _0x4d3072=_0x4176ec;return this[_0x4d3072(0x3e2)](),this['_injector'][_0x4d3072(0x5c5)](_0x14d23a,this['unitID'],this[_0x4d3072(0x286)],null,this[_0x4d3072(0x576)],this[_0x4d3072(0x557)],_0x11be79);}};_0x325a65=_0x1eb82f([_0x3a4a35(0x4,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d['Injector'])),_0x3a4a35(0x5,_0xd3ef1d[_0x4176ec(0x2bc)](_0x47367d[_0x4176ec(0x248)])),_0x3a4a35(0x6,_0xd3ef1d['Inject'](_0x5e8095['LocalCacheService'])),_0x3a4a35(0x7,_0xd3ef1d[_0x4176ec(0x2bc)](_0x5e8095[_0x4176ec(0x4b1)])),_0x3a4a35(0x8,_0xd3ef1d[_0x4176ec(0x5b4)]),_0x3a4a35(0x9,_0xd3ef1d['ICommandService']),_0x3a4a35(0xa,_0xd3ef1d[_0x4176ec(0x2ce)]),_0x3a4a35(0xb,_0x47367d[_0x4176ec(0x39c)]),_0x3a4a35(0xc,_0xd3ef1d[_0x4176ec(0x2fc)]),_0x3a4a35(0xd,_0xd3ef1d[_0x4176ec(0x1ac)])],_0x325a65);let _0x4649d3=class extends _0x17f65c{constructor(_0x564b87,_0x5b8d3b,_0x5715d4,_0x2fbd9b,_0x3353f2,_0x1b9be8,_0x4cb4bd,_0x2f6cc2,_0x554693,_0x2d064c,_0x41762e){const _0x5cb280=_0x4176ec;super(_0x564b87,_0x5b8d3b,_0x5715d4,[],_0x2fbd9b,_0x2f6cc2,_0x41762e,_0x1b9be8,_0x4cb4bd),_0xddf92d(this,_0x5cb280(0x3ad),_0x5cb280(0x224)),_0xddf92d(this,'_resendTimeout',0x0),_0xddf92d(this,'_resendTimer'),_0xddf92d(this,'_sender'),(this[_0x5cb280(0x11a)]=_0x3353f2,this[_0x5cb280(0x5ab)]=_0x554693,this[_0x5cb280(0x31d)]=_0x2d064c);}['appendMutation'](_0x4dd5ae){const _0x5d7413=_0x4176ec;this['_clearScheduledTask']();const _0x53e00a=this['_injector'][_0x5d7413(0x5c5)](_0x3957ac,this[_0x5d7413(0x488)],this[_0x5d7413(0x286)],this[_0x5d7413(0x267)],[_0x4dd5ae],this[_0x5d7413(0x557)],this[_0x5d7413(0x4e0)]);return _0x53e00a[_0x5d7413(0x28f)](),_0x53e00a;}['onRemoteChangeset'](_0x2d367c){const _0x30bd76=_0x4176ec;if(this[_0x30bd76(0x565)](_0x2d367c))return this[_0x30bd76(0x3e2)](),this[_0x30bd76(0x11a)][_0x30bd76(0x5c5)](_0x59c836,this[_0x30bd76(0x488)],this[_0x30bd76(0x286)],this[_0x30bd76(0x267)],[],null,[_0x2d367c],this[_0x30bd76(0x557)]);try{const _0x5cca6f=this[_0x30bd76(0x31d)]['transformChangesets']([_0x2d367c],[this[_0x30bd76(0x267)]],!0x1);if(_0x47367d[_0x30bd76(0x169)](_0x5cca6f)){const {c1Prime:_0x1fba59,c2Prime:_0x35b77b}=_0x5cca6f;this[_0x30bd76(0x29e)](_0x1fba59[0x0]),_0x35b77b[0x0][_0x30bd76(0x168)]=this[_0x30bd76(0x2b5)](),this[_0x30bd76(0x3e2)]();const _0x26ac63=this[_0x30bd76(0x11a)][_0x30bd76(0x5c5)](_0x4649d3,this[_0x30bd76(0x488)],this[_0x30bd76(0x286)],_0x35b77b[0x0],this['_handler']);return _0x26ac63['_updateLocalCache'](),_0x26ac63;}return this['_onConflict'](!0x1);}catch(_0x44a02b){return this['_logService'][_0x30bd76(0x476)](_0x44a02b),this[_0x30bd76(0x5c9)](!0x1);}}[_0x4176ec(0x396)](_0x196ac7){const _0x3312fa=_0x4176ec;this['_clearScheduledTask']();const _0x404387=this[_0x3312fa(0x2f7)][_0x3312fa(0x469)](this[_0x3312fa(0x488)]);if(_0x196ac7[_0x3312fa(0x140)]<_0x404387-0x1)return this;if(this[_0x3312fa(0x565)](_0x196ac7))return this[_0x3312fa(0x11a)]['createInstance'](_0x59c836,this['unitID'],this[_0x3312fa(0x286)],null,[],this[_0x3312fa(0x267)],[],this[_0x3312fa(0x557)]);this[_0x3312fa(0x22b)]();const _0xaa5d59=this[_0x3312fa(0x11a)][_0x3312fa(0x5c5)](_0x43108f,this[_0x3312fa(0x488)],this[_0x3312fa(0x286)],this[_0x3312fa(0x557)]);return _0xaa5d59[_0x3312fa(0x28f)](),_0xaa5d59;}['onRemoteRej'](_0x423045){const _0x1dd2c5=_0x4176ec;return this['_onConflict'](!!(_0x423045!=null&&_0x423045[_0x1dd2c5(0x239)]));}['onRemoteRetry'](_0x5935c6){const _0x4ba42a=_0x4176ec;return this['_resendTimeout']>_0x25241f?this[_0x4ba42a(0x500)]():(this[_0x4ba42a(0x4e0)]=_0x316111(this[_0x4ba42a(0x2c1)],{'timeout':this[_0x4ba42a(0x2c1)],'reqId':_0x5935c6['reqId']}),this[_0x4ba42a(0x1e3)]=this[_0x4ba42a(0x4e0)][_0x4ba42a(0x221)](({reqId:_0x423b5a,timeout:_0x46fea6})=>{const _0x71ced5=_0x4ba42a;this[_0x71ced5(0x31f)](_0x423b5a,_0x46fea6);}),this);}[_0x4176ec(0x500)](){const _0xc896dd=_0x4176ec;return this['_clearScheduledTask'](),this[_0xc896dd(0x11a)][_0xc896dd(0x5c5)](_0x3a5b1a,this['unitID'],this[_0xc896dd(0x286)],this[_0xc896dd(0x267)],[],this['_handler']);}[_0x4176ec(0x572)](){return this;}[_0x4176ec(0x48d)](){const _0x5ad8e5=_0x4176ec;this[_0x5ad8e5(0x557)][_0x5ad8e5(0x559)](this[_0x5ad8e5(0x267)]);}['_onConflict'](_0x5b4699){const _0x225363=_0x4176ec;return this['_clearScheduledTask'](),this['_injector'][_0x225363(0x5c5)](_0x14d23a,this[_0x225363(0x488)],this[_0x225363(0x286)],this['_awaitingChangeset'],[],this[_0x225363(0x557)],_0x5b4699);}['_resendWithTimeout'](_0x48de84,_0x1d4c20){const _0x2b40d0=_0x4176ec;var _0x349f1c;_0x48de84===((_0x349f1c=this[_0x2b40d0(0x267)])==null?void 0x0:_0x349f1c[_0x2b40d0(0x1f1)])&&(this[_0x2b40d0(0x48d)](),this[_0x2b40d0(0x2c1)]=_0x1d4c20===0x0?0x3e8:_0x1d4c20*0x2);}[_0x4176ec(0x3e2)](){const _0x595545=_0x4176ec;var _0x2d9635;(_0x2d9635=this[_0x595545(0x1e3)])==null||_0x2d9635[_0x595545(0x447)](),this['_resendTimeout']=0x0;}};_0x4649d3=_0x1eb82f([_0x3a4a35(0x4,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d['Injector'])),_0x3a4a35(0x5,_0xd3ef1d['Inject'](_0x47367d[_0x4176ec(0x248)])),_0x3a4a35(0x6,_0xd3ef1d[_0x4176ec(0x2bc)](_0x5e8095[_0x4176ec(0x5c2)])),_0x3a4a35(0x7,_0xd3ef1d[_0x4176ec(0x438)]),_0x3a4a35(0x8,_0xd3ef1d[_0x4176ec(0x5b4)]),_0x3a4a35(0x9,_0x47367d['ITransformService']),_0x3a4a35(0xa,_0xd3ef1d['IUndoRedoService'])],_0x4649d3);let _0x3957ac=class extends _0x17f65c{constructor(_0x4d5487,_0x4c272b,_0x15931b,_0x4b0179,_0x14f2b8,_0x5e2ffa,_0x3e8e09,_0x11eebb,_0x3d5b56,_0x230d3a,_0x546be1,_0x197be0,_0x5cb18d){const _0x5b8719=_0x4176ec;super(_0x4d5487,_0x4c272b,_0x15931b,_0x4b0179,_0x14f2b8,_0x230d3a,_0x5cb18d,_0x11eebb,_0x3d5b56),_0xddf92d(this,_0x5b8719(0x3ad),_0x5b8719(0x26d)),_0xddf92d(this,_0x5b8719(0x2c1),0x0),_0xddf92d(this,_0x5b8719(0x4e0)),_0xddf92d(this,'_sender'),(this['_injector']=_0x3e8e09,this[_0x5b8719(0x5ab)]=_0x546be1,this[_0x5b8719(0x31d)]=_0x197be0,_0x5e2ffa&&(this['_resendTimer']=_0x5e2ffa,this[_0x5b8719(0x1e3)]=this['_resendTimer']['subscribe'](({reqId:_0x3dc694,timeout:_0x4339e9})=>{const _0x170262=_0x5b8719;this[_0x170262(0x31f)](_0x3dc694,_0x4339e9);})));}[_0x4176ec(0x24c)](_0x159db7){const _0x2f2fb5=_0x4176ec;return this[_0x2f2fb5(0x576)][_0x2f2fb5(0x455)](_0x159db7),this;}[_0x4176ec(0x12c)](_0xe8f6d5){const _0x350337=_0x4176ec;if(this[_0x350337(0x565)](_0xe8f6d5))return this[_0x350337(0x3e2)](),this[_0x350337(0x11a)][_0x350337(0x5c5)](_0x59c836,this[_0x350337(0x488)],this[_0x350337(0x286)],this[_0x350337(0x267)],this[_0x350337(0x576)],null,[_0xe8f6d5],this['_handler']);try{const _0x46a7d6=this['_transformService'][_0x350337(0x211)]([_0xe8f6d5],[this[_0x350337(0x267)]],!0x1);if(_0x47367d[_0x350337(0x169)](_0x46a7d6)){const {c1Prime:_0xd90e43,c2Prime:_0xb35769}=_0x46a7d6,_0x51777d=this['_transformService']['transformMutationsWithChangeset'](_0xd90e43[0x0],this[_0x350337(0x576)]);if(_0x47367d[_0x350337(0x578)](_0x51777d)){const {c1Prime:_0x1b417f,m2Prime:_0x23d053}=_0x51777d;return this[_0x350337(0x29e)](_0x1b417f),_0xb35769[0x0][_0x350337(0x168)]=this[_0x350337(0x2b5)](),this[_0x350337(0x3e2)](),this[_0x350337(0x11a)][_0x350337(0x5c5)](_0x3957ac,this[_0x350337(0x488)],this['type'],_0xb35769[0x0],_0x23d053,this['_handler'],void 0x0);}throw _0x51777d[_0x350337(0x476)];}throw _0x46a7d6['error'];}catch(_0x39e66c){return this[_0x350337(0x5ab)][_0x350337(0x476)](_0x39e66c),this['_onConflict'](!0x1);}}[_0x4176ec(0x396)](_0x48a797){const _0x3747d5=_0x4176ec;if(this[_0x3747d5(0x3e2)](),this[_0x3747d5(0x565)](_0x48a797))return this[_0x3747d5(0x11a)]['createInstance'](_0x59c836,this[_0x3747d5(0x488)],this[_0x3747d5(0x286)],null,this[_0x3747d5(0x576)],this[_0x3747d5(0x267)],[],this['_handler']);this[_0x3747d5(0x22b)]();const _0x28a5a0=this['_injector'][_0x3747d5(0x5c5)](_0x325a65,this[_0x3747d5(0x488)],this[_0x3747d5(0x286)],this['_pendingMutations'],this['_handler']);return _0x28a5a0[_0x3747d5(0x480)](),_0x28a5a0[_0x3747d5(0x28f)](),_0x28a5a0;}[_0x4176ec(0x227)](_0x41f24e){const _0x2a0fd6=_0x4176ec;return this[_0x2a0fd6(0x5c9)](!!(_0x41f24e!=null&&_0x41f24e[_0x2a0fd6(0x239)]));}['onRemoteRetry'](_0x4dd114){const _0x3448c5=_0x4176ec;return this[_0x3448c5(0x2c1)]>_0x25241f?this['toggleOffline']():(this['_resendTimer']=_0x316111(this[_0x3448c5(0x2c1)],{'timeout':this[_0x3448c5(0x2c1)],'reqId':_0x4dd114['reqId']}),this[_0x3448c5(0x1e3)]=this[_0x3448c5(0x4e0)][_0x3448c5(0x221)](({reqId:_0x2a0e68,timeout:_0x338d71})=>{const _0x464969=_0x3448c5;this[_0x464969(0x31f)](_0x2a0e68,_0x338d71);}),this);}['toggleOffline'](){const _0x11a68f=_0x4176ec;return this[_0x11a68f(0x3e2)](),this[_0x11a68f(0x11a)][_0x11a68f(0x5c5)](_0x3a5b1a,this['unitID'],this[_0x11a68f(0x286)],this[_0x11a68f(0x267)],this[_0x11a68f(0x576)],this['_handler']);}[_0x4176ec(0x572)](){return this;}[_0x4176ec(0x48d)](){const _0x44bbcc=_0x4176ec;this['_handler'][_0x44bbcc(0x559)](this[_0x44bbcc(0x267)]);}[_0x4176ec(0x5c9)](_0x55d1e7){const _0x2739c6=_0x4176ec;return this[_0x2739c6(0x3e2)](),this[_0x2739c6(0x11a)][_0x2739c6(0x5c5)](_0x14d23a,this[_0x2739c6(0x488)],this[_0x2739c6(0x286)],null,this[_0x2739c6(0x576)],this[_0x2739c6(0x557)],_0x55d1e7);}[_0x4176ec(0x31f)](_0x2b6f55,_0x367d95){const _0x506622=_0x4176ec;var _0x92d30;_0x2b6f55===((_0x92d30=this[_0x506622(0x267)])==null?void 0x0:_0x92d30[_0x506622(0x1f1)])&&(this['resend'](),this[_0x506622(0x2c1)]=_0x367d95===0x0?0x3e8:_0x367d95*0x2);}['_clearScheduledTask'](){const _0x1d722f=_0x4176ec;var _0x5c38fd;(_0x5c38fd=this[_0x1d722f(0x1e3)])==null||_0x5c38fd[_0x1d722f(0x447)](),this[_0x1d722f(0x2c1)]=0x0;}};_0x3957ac=_0x1eb82f([_0x3a4a35(0x6,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d[_0x4176ec(0x5ba)])),_0x3a4a35(0x7,_0xd3ef1d[_0x4176ec(0x2bc)](_0x47367d[_0x4176ec(0x248)])),_0x3a4a35(0x8,_0xd3ef1d['Inject'](_0x5e8095[_0x4176ec(0x5c2)])),_0x3a4a35(0x9,_0xd3ef1d[_0x4176ec(0x438)]),_0x3a4a35(0xa,_0xd3ef1d[_0x4176ec(0x5b4)]),_0x3a4a35(0xb,_0x47367d[_0x4176ec(0x39c)]),_0x3a4a35(0xc,_0xd3ef1d['IUndoRedoService'])],_0x3957ac);let _0x14d23a=class extends _0x17f65c{constructor(_0x27996a,_0x2aa8d3,_0x5efda3,_0x5f0d7b,_0x33f1fc,_0x107208=!0x1,_0x364597,_0x16ef3f,_0x2b0466,_0x52ad50,_0x362873,_0x141c4e,_0x1ecfe9){const _0x39fd5d=_0x4176ec;super(_0x27996a,_0x2aa8d3,_0x5efda3,_0x5f0d7b,_0x33f1fc,_0x16ef3f,_0x2b0466,_0x362873,_0x52ad50),_0xddf92d(this,_0x39fd5d(0x3ad),_0x39fd5d(0x181)),(this[_0x39fd5d(0x50e)]=_0x107208,this[_0x39fd5d(0x3c1)]=_0x364597,this[_0x39fd5d(0x4a7)]=_0x141c4e,this[_0x39fd5d(0x153)]=_0x1ecfe9,this[_0x39fd5d(0x548)](),this['_clearLocalCache'](),this[_0x39fd5d(0x5cd)]());}[_0x4176ec(0x24c)](){return this;}['onRemoteChangeset'](){return this;}[_0x4176ec(0x396)](){return this;}[_0x4176ec(0x227)](){return this;}[_0x4176ec(0x382)](){return this;}['toggleOffline'](){return this;}[_0x4176ec(0x572)](){return this;}[_0x4176ec(0x48d)](){const _0x19f8ce=_0x4176ec;throw new Error(_0x19f8ce(0x336));}[_0x4176ec(0x442)](){const _0x312992=_0x4176ec;this[_0x312992(0x29a)][_0x312992(0x489)](this[_0x312992(0x488)],this[_0x312992(0x286)],null,[]);}[_0x4176ec(0x548)](){const _0x455e03=_0x4176ec;this[_0x455e03(0x50e)]?this[_0x455e03(0x153)]['show']({'title':this[_0x455e03(0x4a7)]['t'](_0x455e03(0x4f4)),'content':this[_0x455e03(0x4a7)]['t'](_0x455e03(0x5c4)),'type':_0x455e03(0x476),'duration':0x0}):this[_0x455e03(0x153)]['show']({'title':this[_0x455e03(0x4a7)]['t']('conflict.title'),'content':this[_0x455e03(0x4a7)]['t'](_0x455e03(0x24a)),'type':_0x455e03(0x476),'duration':0x0});}[_0x4176ec(0x5cd)](){const _0x172f62=_0x4176ec;this[_0x172f62(0x3c1)]['updatePermissionPoint'](new _0x1b517d[(_0x172f62(0x41d))](this[_0x172f62(0x488)])['id'],!0x1);}};_0x14d23a=_0x1eb82f([_0x3a4a35(0x6,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d[_0x4176ec(0x57f)])),_0x3a4a35(0x7,_0xd3ef1d[_0x4176ec(0x438)]),_0x3a4a35(0x8,_0xd3ef1d[_0x4176ec(0x1ac)]),_0x3a4a35(0x9,_0xd3ef1d[_0x4176ec(0x2bc)](_0x5e8095[_0x4176ec(0x5c2)])),_0x3a4a35(0xa,_0xd3ef1d[_0x4176ec(0x2bc)](_0x47367d[_0x4176ec(0x248)])),_0x3a4a35(0xb,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d['LocaleService'])),_0x3a4a35(0xc,_0x45bd5d[_0x4176ec(0x560)])],_0x14d23a);let _0x3a5b1a=class extends _0x17f65c{constructor(_0x2c870c,_0x2d392e,_0x826989,_0x3994c5,_0x592a88,_0x560e78,_0x415093,_0x25d1f8,_0x48fa64,_0x22505d){const _0x30e15a=_0x4176ec;super(_0x2c870c,_0x2d392e,_0x826989,_0x3994c5,_0x592a88,_0x48fa64,_0x22505d,_0x415093,_0x25d1f8),_0xddf92d(this,_0x30e15a(0x3ad),_0x30e15a(0x151)),this[_0x30e15a(0x11a)]=_0x560e78;}['appendMutation'](_0x390cb3){const _0x3df6ef=_0x4176ec;return this[_0x3df6ef(0x576)][_0x3df6ef(0x455)](_0x390cb3),this['_updateLocalCache'](),this;}[_0x4176ec(0x12c)](_0xcb808c){const _0x17b108=_0x4176ec;throw new Error(_0x17b108(0x56f));}[_0x4176ec(0x396)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x1caa5e=_0x4176ec;throw new Error(_0x1caa5e(0x3e5));}[_0x4176ec(0x382)](){return this;}[_0x4176ec(0x500)](){return this;}[_0x4176ec(0x572)](){const _0x1b0d4d=_0x4176ec,{_injector:_0x4f120e,_pendingMutations:_0x56bd3e,_awaitingChangeset:_0x119817,unitID:_0x20ec5f,_handler:_0x5069cc,type:_0x46c3ed}=this,_0x60add4=_0x1aaf85(_0x4f120e,_0x20ec5f,_0x46c3ed,_0x119817,_0x56bd3e,_0x5069cc);return _0x60add4 instanceof _0x325a65?_0x60add4[_0x1b0d4d(0x480)]():(_0x60add4 instanceof _0x3957ac||_0x60add4 instanceof _0x4649d3)&&_0x60add4[_0x1b0d4d(0x48d)](),_0x60add4;}[_0x4176ec(0x48d)](){const _0x1f68ad=_0x4176ec;throw new Error(_0x1f68ad(0x393));}};_0x3a5b1a=_0x1eb82f([_0x3a4a35(0x5,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d[_0x4176ec(0x5ba)])),_0x3a4a35(0x6,_0xd3ef1d[_0x4176ec(0x2bc)](_0x47367d[_0x4176ec(0x248)])),_0x3a4a35(0x7,_0xd3ef1d[_0x4176ec(0x2bc)](_0x5e8095[_0x4176ec(0x5c2)])),_0x3a4a35(0x8,_0xd3ef1d[_0x4176ec(0x438)]),_0x3a4a35(0x9,_0xd3ef1d[_0x4176ec(0x1ac)])],_0x3a5b1a);let _0x59c836=class extends _0x17f65c{constructor(_0xa1f3dd,_0x4a5058,_0x2a1339,_0x19a0a6,_0x458eb4,_0x430a62,_0x594073,_0x3b0971,_0x12cea0,_0x16d7b7,_0x7e1440,_0x4f99a6,_0xb53bb1,_0x3f031e){const _0x1c863b=_0x4176ec;super(_0xa1f3dd,_0x4a5058,_0x2a1339,_0x19a0a6,_0x594073,_0x4f99a6,_0xb53bb1,_0x12cea0,_0x16d7b7),_0xddf92d(this,_0x1c863b(0x3ad),_0x1c863b(0x19a)),(this[_0x1c863b(0x36b)]=_0x458eb4,this[_0x1c863b(0x13a)]=_0x430a62,this['_injector']=_0x3b0971,this[_0x1c863b(0x5ab)]=_0x7e1440,this[_0x1c863b(0x31d)]=_0x3f031e);}['onMissedChangesetFetched'](_0x316d58){const _0x1f73b5=_0x4176ec;try{const _0x3abae5=[..._0x316d58,...this['_queuedRemoteChangesets']],_0x3ccc9e=[this[_0x1f73b5(0x267)]||this['_acknowledgedAwaitingChangeset']][_0x1f73b5(0x3b9)](_0x1902ed=>!!_0x1902ed);let _0x174b99,_0x25d49a;if(_0x3ccc9e[_0x1f73b5(0x2b7)]){const _0x918050=this[_0x1f73b5(0x31d)][_0x1f73b5(0x211)](_0x3abae5,_0x3ccc9e,!0x1);if(!_0x47367d[_0x1f73b5(0x169)](_0x918050))throw _0x918050[_0x1f73b5(0x476)];_0x174b99=_0x918050[_0x1f73b5(0x245)],_0x25d49a=_0x918050[_0x1f73b5(0x518)];}else _0x174b99=_0x3abae5,_0x25d49a=[];let _0x1668b4=this[_0x1f73b5(0x576)];_0x174b99['forEach'](_0x2d6d65=>{const _0x422b70=_0x1f73b5;let _0x3dbf3a;if(_0x1668b4['length']){const _0x37093d=this[_0x422b70(0x31d)]['transformMutationsWithChangeset'](_0x2d6d65,_0x1668b4);if(!_0x47367d[_0x422b70(0x578)](_0x37093d))throw _0x37093d[_0x422b70(0x476)];_0x3dbf3a=_0x37093d['c1Prime'],_0x1668b4=_0x37093d[_0x422b70(0x389)];}else _0x3dbf3a=_0x2d6d65;this[_0x422b70(0x29e)](_0x3dbf3a);}),this[_0x1f73b5(0x36b)]&&this[_0x1f73b5(0x22b)](),this[_0x1f73b5(0x267)]&&_0x25d49a[_0x1f73b5(0x2b7)]&&(_0x25d49a[0x0][_0x1f73b5(0x168)]=this['_getCurrentRevision']());let _0x2d5907;if(this['_awaitingChangeset']&&_0x1668b4['length']!==0x0)_0x2d5907=this[_0x1f73b5(0x11a)][_0x1f73b5(0x5c5)](_0x3957ac,this[_0x1f73b5(0x488)],this['type'],_0x25d49a[0x0],_0x1668b4,this[_0x1f73b5(0x557)],void 0x0);else{if(this[_0x1f73b5(0x267)]&&_0x1668b4[_0x1f73b5(0x2b7)]===0x0)_0x25d49a[0x0]['baseRev']=this['_getCurrentRevision'](),_0x2d5907=this[_0x1f73b5(0x11a)][_0x1f73b5(0x5c5)](_0x4649d3,this['unitID'],this[_0x1f73b5(0x286)],_0x25d49a[0x0],this[_0x1f73b5(0x557)]);else{if(_0x1668b4['length']!==0x0){const _0x2c0775=this['_injector']['createInstance'](_0x325a65,this['unitID'],this[_0x1f73b5(0x286)],_0x1668b4,this[_0x1f73b5(0x557)]);_0x2c0775[_0x1f73b5(0x480)](),_0x2d5907=_0x2c0775;}else _0x2d5907=this[_0x1f73b5(0x11a)][_0x1f73b5(0x5c5)](_0x43108f,this[_0x1f73b5(0x488)],this['type'],this[_0x1f73b5(0x557)]);}}return _0x2d5907[_0x1f73b5(0x28f)](),_0x2d5907;}catch(_0x2578c8){return this[_0x1f73b5(0x5ab)][_0x1f73b5(0x476)](_0x1f73b5(0x380),_0x1f73b5(0x2b9),_0x2578c8),this[_0x1f73b5(0x11a)][_0x1f73b5(0x5c5)](_0x14d23a,this[_0x1f73b5(0x488)],this[_0x1f73b5(0x286)],this[_0x1f73b5(0x267)],this[_0x1f73b5(0x576)],this['_handler'],!0x1);}}[_0x4176ec(0x48d)](){const _0x13b42e=_0x4176ec;throw new Error(_0x13b42e(0x269));}['appendMutation'](_0x52ac05){const _0x21461c=_0x4176ec;return this[_0x21461c(0x576)][_0x21461c(0x455)](_0x52ac05),this;}[_0x4176ec(0x12c)](_0x16f5ec){const _0x39490d=_0x4176ec;return this['_queuedRemoteChangesets'][_0x39490d(0x455)](_0x16f5ec),this;}[_0x4176ec(0x396)](_0x3e1d8d){const _0x20beb5=_0x4176ec;if(this[_0x20beb5(0x267)])return this[_0x20beb5(0x36b)]=this[_0x20beb5(0x267)],this['_awaitingChangeset']=null,this;throw new Error(_0x20beb5(0x241));}[_0x4176ec(0x227)](_0x1dd1d2){const _0x453f47=_0x4176ec;return this[_0x453f47(0x5c9)](!!(_0x1dd1d2!=null&&_0x1dd1d2[_0x453f47(0x239)]));}[_0x4176ec(0x382)](){return this;}['toggleOffline'](){const _0x3482c4=_0x4176ec;return this[_0x3482c4(0x11a)][_0x3482c4(0x5c5)](_0x3a5b1a,this[_0x3482c4(0x488)],this[_0x3482c4(0x286)],this[_0x3482c4(0x267)],this['_pendingMutations'],this[_0x3482c4(0x557)]);}[_0x4176ec(0x572)](){return this;}[_0x4176ec(0x5c9)](_0x116f23){const _0x3843ef=_0x4176ec;return this['_injector'][_0x3843ef(0x5c5)](_0x14d23a,this[_0x3843ef(0x488)],this[_0x3843ef(0x286)],this[_0x3843ef(0x267)],this[_0x3843ef(0x576)],this['_handler'],_0x116f23);}};_0x59c836=_0x1eb82f([_0x3a4a35(0x7,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d[_0x4176ec(0x5ba)])),_0x3a4a35(0x8,_0xd3ef1d[_0x4176ec(0x2bc)](_0x47367d['RevisionService'])),_0x3a4a35(0x9,_0xd3ef1d[_0x4176ec(0x2bc)](_0x5e8095[_0x4176ec(0x5c2)])),_0x3a4a35(0xa,_0xd3ef1d[_0x4176ec(0x5b4)]),_0x3a4a35(0xb,_0xd3ef1d[_0x4176ec(0x438)]),_0x3a4a35(0xc,_0xd3ef1d[_0x4176ec(0x1ac)]),_0x3a4a35(0xd,_0x47367d[_0x4176ec(0x39c)])],_0x59c836);function _0x1aaf85(_0x4bfd0f,_0x1a288f,_0x37315d,_0x291d5f,_0x561fae,_0x4af7e7){const _0x5d67e0=_0x4176ec;return _0x291d5f&&_0x561fae['length']?_0x4bfd0f[_0x5d67e0(0x5c5)](_0x3957ac,_0x1a288f,_0x37315d,_0x291d5f,_0x561fae,_0x4af7e7,void 0x0):_0x291d5f?_0x4bfd0f[_0x5d67e0(0x5c5)](_0x4649d3,_0x1a288f,_0x37315d,_0x291d5f,_0x4af7e7):_0x561fae[_0x5d67e0(0x2b7)]?_0x4bfd0f[_0x5d67e0(0x5c5)](_0x325a65,_0x1a288f,_0x37315d,_0x561fae,_0x4af7e7):_0x4bfd0f[_0x5d67e0(0x5c5)](_0x43108f,_0x1a288f,_0x37315d,_0x4af7e7);}var _0x56db3d=Object[_0x4176ec(0x2b4)],_0x1e1bef=Object[_0x4176ec(0x48c)],_0x455cde=(_0x3e5498,_0xc80151,_0x3e1da9,_0x5ce5e0)=>{const _0x17f4e0=_0x4176ec;for(var _0x4192d9=_0x5ce5e0>0x1?void 0x0:_0x5ce5e0?_0x1e1bef(_0xc80151,_0x3e1da9):_0xc80151,_0x54d69f=_0x3e5498[_0x17f4e0(0x2b7)]-0x1,_0x3bb444;_0x54d69f>=0x0;_0x54d69f--)(_0x3bb444=_0x3e5498[_0x54d69f])&&(_0x4192d9=(_0x5ce5e0?_0x3bb444(_0xc80151,_0x3e1da9,_0x4192d9):_0x3bb444(_0x4192d9))||_0x4192d9);return _0x5ce5e0&&_0x4192d9&&_0x56db3d(_0xc80151,_0x3e1da9,_0x4192d9),_0x4192d9;},_0x1dc04a=(_0x447e0d,_0x39bba8)=>(_0xd2c6ef,_0x5e3e6c)=>_0x39bba8(_0xd2c6ef,_0x5e3e6c,_0x447e0d);_0x5e8095[_0x4176ec(0x57c)]=class extends _0xd3ef1d['RxDisposable']{constructor(_0x124790,_0x3c8dfa,_0x6b8b4c,_0x5bcd9e,_0x512b53,_0x6e35a2,_0x25e6f7,_0x1f5274,_0x5f14ba,_0x4da583,_0x286fe8,_0x2e0d0c,_0x4dee8d){const _0x17c9a1=_0x4176ec;super(),_0xddf92d(this,'_state$',new _0x2c8065[(_0x17c9a1(0x3b0))](null)),_0xddf92d(this,'state$',this['_state$'][_0x17c9a1(0x117)]()),_0xddf92d(this,'_state'),_0xddf92d(this,'_collaborationPaused',!0x1),_0xddf92d(this,'_changesetSessionId',''),_0xddf92d(this,'_changesetReqId',0x0),_0xddf92d(this,_0x17c9a1(0x536),this['state$'][_0x17c9a1(0x579)](_0x2c8065[_0x17c9a1(0x40d)](_0x30e259=>_0x30e259?_0x30e259['status']:_0x52e01f[_0x17c9a1(0x10e)]),_0x2c8065[_0x17c9a1(0x53b)](0x1))),_0xddf92d(this,_0x17c9a1(0x493),!0x1),_0xddf92d(this,_0x17c9a1(0x2d5),[]),(this[_0x17c9a1(0x488)]=_0x124790,this[_0x17c9a1(0x1f9)]=_0x3c8dfa,this[_0x17c9a1(0x1fd)]=_0x6b8b4c,this['_injector']=_0x5bcd9e,this[_0x17c9a1(0x29a)]=_0x512b53,this[_0x17c9a1(0x4f9)]=_0x6e35a2,this['_localeService']=_0x25e6f7,this[_0x17c9a1(0x2f7)]=_0x1f5274,this[_0x17c9a1(0x5ab)]=_0x5f14ba,this['_commandService']=_0x4da583,this[_0x17c9a1(0x1df)]=_0x286fe8,this[_0x17c9a1(0x3c1)]=_0x2e0d0c,this[_0x17c9a1(0x5b9)]=_0x4dee8d);}get['state'](){const _0x2a96fb=_0x4176ec;return this[_0x2a96fb(0x29d)];}async[_0x4176ec(0x15b)](){const _0x4f614b=_0x4176ec;if(this['state'])throw new Error(_0x4f614b(0x41e));await this[_0x4f614b(0x3d5)]();}[_0x4176ec(0x381)](){const _0x1f0cc8=_0x4176ec;return this[_0x1f0cc8(0x423)]=!0x0,_0xd3ef1d[_0x1f0cc8(0x44a)](()=>{const _0xb1d270=_0x1f0cc8;this[_0xb1d270(0x423)]=!0x1,this[_0xb1d270(0x5bc)]();});}[_0x4176ec(0x561)](_0x26b55c){const _0x261295=_0x4176ec;this[_0x261295(0x29d)]=_0x26b55c,this[_0x261295(0x523)][_0x261295(0x52a)](_0x26b55c);}async[_0x4176ec(0x3d5)](){const _0x11f419=_0x4176ec;var _0x262b27;this[_0x11f419(0x561)](await this[_0x11f419(0x346)]()),this[_0x11f419(0x5b9)]&&((_0x262b27=this[_0x11f419(0x5b9)])==null||_0x262b27[_0x11f419(0x194)](this['unitID']),this[_0x11f419(0x1a6)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x11f419(0x488)])[_0x11f419(0x221)](_0x37c45a=>{const _0x2fb200=_0x11f419;this[_0x2fb200(0x5ab)][_0x2fb200(0x144)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x37c45a),_0x37c45a===_0x560664[_0x2fb200(0x5ae)]?(this[_0x2fb200(0x1df)][_0x2fb200(0x593)]({'content':this[_0x2fb200(0x4a7)]['t'](_0x2fb200(0x31b)),'type':_0x3c4c54['MessageType'][_0x2fb200(0x50f)]}),this[_0x2fb200(0x3c1)][_0x2fb200(0x296)](new _0x1b517d['WorkbookEditablePermission'](this[_0x2fb200(0x488)])['id'],!0x1),this['_permissionService'][_0x2fb200(0x4f7)](!0x1)):(this[_0x2fb200(0x3c1)][_0x2fb200(0x296)](new _0x1b517d[(_0x2fb200(0x41d))](this[_0x2fb200(0x488)])['id'],!0x0),this[_0x2fb200(0x3c1)][_0x2fb200(0x4f7)](!0x0));})));let _0x23ca57=!0x1;return this['disposeWithMe'](this['session']['sessionStatus$'][_0x11f419(0x221)](_0x202f8c=>{const _0x5a6d2e=_0x11f419;_0x202f8c===_0x5a5e86['ONLINE']?this[_0x5a6d2e(0x53d)](_0x23ca57):_0x202f8c===_0x5a5e86['OFFLINE']&&(_0x23ca57=!0x0,this['_toggleOffline']());})),this[_0x11f419(0x1a6)](this[_0x11f419(0x1f9)]['event$'][_0x11f419(0x221)](_0x28c83a=>{const _0x17caf8=_0x11f419;try{switch(_0x28c83a[_0x17caf8(0x4d0)]){case _0x47367d[_0x17caf8(0x498)][_0x17caf8(0x27f)]:{this[_0x17caf8(0x1a3)](_0x47367d['parseProtocolChangeset'](_0x28c83a[_0x17caf8(0x33b)]));break;}case _0x47367d['CollaborationEvent'][_0x17caf8(0x428)]:{this[_0x17caf8(0x384)](_0x28c83a['data']);break;}case _0x47367d[_0x17caf8(0x498)][_0x17caf8(0x274)]:{this[_0x17caf8(0x1d3)]();break;}case _0x47367d['CollaborationEvent'][_0x17caf8(0x318)]:{this[_0x17caf8(0x174)](_0x28c83a[_0x17caf8(0x33b)]);break;}case _0x47367d['CollaborationEvent'][_0x17caf8(0x308)]:{this[_0x17caf8(0x467)](_0x28c83a[_0x17caf8(0x33b)][_0x17caf8(0x5be)][_0x17caf8(0x40d)](_0x5de0f5=>_0x47367d[_0x17caf8(0x2c5)](_0x5de0f5)));break;}case _0x47367d[_0x17caf8(0x498)][_0x17caf8(0x558)]:this[_0x17caf8(0x1d3)]({'isPermissionRej':!0x0});}}catch(_0x1247d2){throw console[_0x17caf8(0x476)](_0x17caf8(0x368),_0x1247d2),_0x1247d2;}})),this[_0x11f419(0x29d)];}['_unlockTransition'](){const _0x12cfa6=_0x4176ec;this[_0x12cfa6(0x493)]=!0x1;}['_lockTransition'](){const _0x2a68c6=_0x4176ec;if(this[_0x2a68c6(0x493)])throw new Error(_0x2a68c6(0x312));this[_0x2a68c6(0x493)]=!0x0;}['_onLocalMutation'](_0x108041){const _0x141fe8=_0x4176ec;this[_0x141fe8(0x2ad)](),this[_0x141fe8(0x561)](this[_0x141fe8(0x29d)][_0x141fe8(0x24c)](_0x108041)),this[_0x141fe8(0x265)]();}['_onRemoteChangeset'](_0x187df3){const _0x11a21d=_0x4176ec;if(!(_0x187df3['revision']<=this[_0x11a21d(0x2f7)]['getCurrentRevOfUnit'](this[_0x11a21d(0x488)]))){if(this['_collaborationPaused']){this[_0x11a21d(0x2d5)][_0x11a21d(0x455)](_0x187df3);return;}this[_0x11a21d(0x520)](_0x187df3);}}[_0x4176ec(0x5bc)](){const _0x2ee061=_0x4176ec;this['_remoteChangesetQueue'][_0x2ee061(0x193)](_0x49e5cc=>this[_0x2ee061(0x520)](_0x49e5cc)),this[_0x2ee061(0x2d5)]=[];}[_0x4176ec(0x520)](_0x246042){const _0x2cecc2=_0x4176ec,_0x371bd5=this['_compressMutationService'][_0x2cecc2(0x2e2)][_0x2cecc2(0x1ae)](this['_compressMutationService'][_0x2cecc2(0x2e2)][_0x2cecc2(0x276)]()[_0x2cecc2(0x59c)])(_0x246042[_0x2cecc2(0x11b)],null)||_0x246042[_0x2cecc2(0x11b)],_0x27fe59={..._0x246042,'mutations':_0x371bd5};this[_0x2cecc2(0x2ad)](),this[_0x2cecc2(0x561)](this[_0x2cecc2(0x29d)]['onRemoteChangeset'](_0x27fe59)),this[_0x2cecc2(0x265)]();}[_0x4176ec(0x384)](_0x367baa){const _0x1e095f=_0x4176ec;this[_0x1e095f(0x2ad)](),this[_0x1e095f(0x561)](this[_0x1e095f(0x29d)]['onRemoteAck'](_0x367baa)),this[_0x1e095f(0x265)]();}[_0x4176ec(0x1d3)](_0x5eb5e2){const _0x422d84=_0x4176ec;this[_0x422d84(0x2ad)](),this['_updateState'](this[_0x422d84(0x29d)][_0x422d84(0x227)](_0x5eb5e2)),this['_unlockTransition']();}['_onRemoteRetry'](_0x179d36){const _0x288c1a=_0x4176ec;this[_0x288c1a(0x2ad)](),this['_updateState'](this[_0x288c1a(0x29d)][_0x288c1a(0x382)](_0x179d36)),this[_0x288c1a(0x265)]();}[_0x4176ec(0x467)](_0x405927){const _0x19f4da=_0x4176ec;if(!(this[_0x19f4da(0x29d)]instanceof _0x59c836))throw new TypeError(_0x19f4da(0x325));const _0xa26c85=_0x405927[_0x19f4da(0x40d)](_0x5f4548=>{const _0x18eed6=_0x19f4da,_0x4b26c1=this[_0x18eed6(0x4f9)][_0x18eed6(0x2e2)][_0x18eed6(0x1ae)](this['_compressMutationService'][_0x18eed6(0x2e2)]['getInterceptPoints']()[_0x18eed6(0x59c)])(_0x5f4548[_0x18eed6(0x11b)],null)||_0x5f4548[_0x18eed6(0x11b)];return{..._0x5f4548,'mutations':_0x4b26c1};});this[_0x19f4da(0x2ad)](),this[_0x19f4da(0x561)](this[_0x19f4da(0x29d)][_0x19f4da(0x433)](_0xa26c85)),this[_0x19f4da(0x265)]();}['_toggleOffline'](){const _0x3b842f=_0x4176ec;this['_lockTransition'](),this[_0x3b842f(0x561)](this['_state'][_0x3b842f(0x500)]()),this[_0x3b842f(0x265)]();}[_0x4176ec(0x53d)](_0x208294=!0x1){const _0x334af6=_0x4176ec;this[_0x334af6(0x2ad)](),this[_0x334af6(0x561)](this[_0x334af6(0x29d)][_0x334af6(0x572)]()),this[_0x334af6(0x265)]();const _0xd524d6=this[_0x334af6(0x29d)];_0x208294&&_0xd524d6 instanceof _0x43108f&&(this[_0x334af6(0x2ad)](),this['_updateState'](_0xd524d6[_0x334af6(0x2d1)]()),this[_0x334af6(0x265)]());}async[_0x4176ec(0x346)](){return new Promise(_0xcb8a1a=>{const _0x28cf78=_0x352d;this[_0x28cf78(0x1f9)]['sessionStatus$']['pipe'](_0x2c8065[_0x28cf78(0x272)](0x1))[_0x28cf78(0x221)](async _0x53e9a0=>{const _0x145056=_0x28cf78;_0xcb8a1a(await this[_0x145056(0x114)](_0x53e9a0===_0x5a5e86[_0x145056(0x1a7)]));});});}[_0x4176ec(0x3b7)](){const _0x15dd5a=_0x4176ec,_0x1fb6e8=this[_0x15dd5a(0x488)];return{'onStateChange':(_0x5be09a,_0x4e3006)=>{const _0x5171be=_0x15dd5a;if(_0x5be09a!==this[_0x5171be(0x29d)])throw new Error(_0x5171be(0x17a)+_0x5be09a['status']+_0x5171be(0x540)+_0x4e3006[_0x5171be(0x3ad)]+_0x5171be(0x4a0)+this[_0x5171be(0x29d)]['status']);this[_0x5171be(0x561)](_0x4e3006);},'onSendChangeset':_0xe798ea=>{const _0x593966=_0x15dd5a;_0xe798ea[_0x593966(0x345)]||(_0xe798ea['sid']=this[_0x593966(0x408)],_0xe798ea[_0x593966(0x1f1)]=++this[_0x593966(0x3d2)]);const _0x54dd4f={'eventID':_0x47367d['CollaborationEvent']['SUBMIT_CHANGESET'],'data':{'unitID':_0xe798ea['unitID'],'unitType':this[_0x593966(0x1fd)],'changeset':_0xe798ea,'memberID':this[_0x593966(0x1f9)][_0x593966(0x3d9)]()}};this[_0x593966(0x1f9)][_0x593966(0x4f3)](_0x54dd4f,this[_0x593966(0x488)]);},'onMissingChangesets':({from:_0x108f95,to:_0x4748aa})=>{const _0x2a6ff5=_0x15dd5a;this['_logService'][_0x2a6ff5(0x144)](_0x2a6ff5(0x32f),_0x2a6ff5(0x12b)+_0x108f95+_0x2a6ff5(0x186)+_0x4748aa);const _0x3ed719={'eventID':_0x47367d[_0x2a6ff5(0x498)]['FETCH_MISSING'],'data':{'unitID':_0x1fb6e8,'unitType':this[_0x2a6ff5(0x1fd)],'from':_0x108f95,'to':_0x4748aa}};this[_0x2a6ff5(0x1f9)][_0x2a6ff5(0x4f3)](_0x3ed719,this[_0x2a6ff5(0x488)]);}};}async['_createInitialStateImpl'](_0x4d2347){const _0x462ffd=_0x4176ec;var _0x39a366,_0x2fb9ff;const _0x3014e2=await this[_0x462ffd(0x29a)][_0x462ffd(0x11c)](this['unitID']),_0x405990=(_0x39a366=_0x3014e2==null?void 0x0:_0x3014e2[_0x462ffd(0x11b)])!=null?_0x39a366:[],_0x1fc388=(_0x2fb9ff=_0x3014e2==null?void 0x0:_0x3014e2['awaitingChangeset'])!=null?_0x2fb9ff:null,_0x2a45ae=!!(_0x1fc388!=null&&_0x1fc388[_0x462ffd(0x345)])&&!!(_0x1fc388!=null&&_0x1fc388['reqId']);this['_changesetSessionId']=_0x2a45ae?_0x1fc388['sid']:_0x198ef1(),this[_0x462ffd(0x3d2)]=_0x2a45ae?_0x1fc388[_0x462ffd(0x1f1)]:0x0;const _0x1ff4ed=this[_0x462ffd(0x488)];try{this['_replayCachedMutations'](_0x1fc388,_0x405990);}catch(_0x2149a8){this[_0x462ffd(0x5ab)][_0x462ffd(0x476)](_0x2149a8);}const _0x2628e2=this['_createHandler']();if(_0x4d2347){const _0x58074a=_0x1aaf85(this['_injector'],_0x1ff4ed,this[_0x462ffd(0x1fd)],_0x1fc388,_0x405990,_0x2628e2);return _0x58074a instanceof _0x325a65?_0x58074a[_0x462ffd(0x480)]():(_0x58074a instanceof _0x3957ac||_0x58074a instanceof _0x4649d3)&&_0x58074a[_0x462ffd(0x48d)](),_0x58074a;}return this['_injector'][_0x462ffd(0x5c5)](_0x3a5b1a,_0x1ff4ed,this['_type'],_0x1fc388,_0x405990,_0x2628e2);}[_0x4176ec(0x1de)](_0x1a08a6,_0x4820b9){const _0x2b45b5=_0x4176ec;var _0x35984c,_0xf947cb;const _0x4e7633=this[_0x2b45b5(0x4f9)][_0x2b45b5(0x2e2)][_0x2b45b5(0x1ae)](this[_0x2b45b5(0x4f9)]['interceptor'][_0x2b45b5(0x276)]()[_0x2b45b5(0x59c)]);(_0x35984c=_0x4e7633((_0x1a08a6==null?void 0x0:_0x1a08a6[_0x2b45b5(0x11b)])||[],null))==null||_0x35984c[_0x2b45b5(0x193)](_0x2660ee=>this[_0x2b45b5(0x135)][_0x2b45b5(0x5a6)](_0x2660ee['id'],_0x2660ee['params'])),(_0xf947cb=_0x4e7633(_0x4820b9||[],null))==null||_0xf947cb[_0x2b45b5(0x193)](_0x200be6=>this[_0x2b45b5(0x135)]['executeCommand'](_0x200be6['id'],_0x200be6['params']));}},_0x5e8095[_0x4176ec(0x57c)]=_0x455cde([_0x1dc04a(0x3,_0xd3ef1d['Inject'](_0xd3ef1d[_0x4176ec(0x5ba)])),_0x1dc04a(0x4,_0xd3ef1d[_0x4176ec(0x2bc)](_0x5e8095[_0x4176ec(0x5c2)])),_0x1dc04a(0x5,_0xd3ef1d['Inject'](_0x47367d[_0x4176ec(0x3de)])),_0x1dc04a(0x6,_0xd3ef1d['Inject'](_0xd3ef1d[_0x4176ec(0x2b3)])),_0x1dc04a(0x7,_0xd3ef1d[_0x4176ec(0x2bc)](_0x47367d[_0x4176ec(0x248)])),_0x1dc04a(0x8,_0xd3ef1d[_0x4176ec(0x5b4)]),_0x1dc04a(0x9,_0xd3ef1d['ICommandService']),_0x1dc04a(0xa,_0x45bd5d[_0x4176ec(0x2bf)]),_0x1dc04a(0xb,_0xd3ef1d[_0x4176ec(0x57f)]),_0x1dc04a(0xc,_0xd3ef1d[_0x4176ec(0x4a6)](_0x2c4fd7))],_0x5e8095[_0x4176ec(0x57c)]),_0x5e8095[_0x4176ec(0x474)]=class extends _0x5e8095[_0x4176ec(0x57c)]{constructor(_0xa0d5c5,_0x43d6f6,_0x2e327a,_0x306486,_0x419772,_0x152947,_0x1c0a17,_0x5c87f0,_0x42ff24,_0x10bda9,_0x441e1c,_0x3f8396,_0x596e78,_0xaaee80,_0x4ecebf,_0x172624,_0x337d64,_0x134794){const _0x404d6c=_0x4176ec;super(_0xa0d5c5,_0x2e327a,_0x43d6f6,_0x306486,_0x419772,_0x152947,_0x1c0a17,_0x5c87f0,_0xaaee80,_0x4ecebf,_0x172624,_0x337d64,_0x134794),this[_0x404d6c(0x488)]=_0xa0d5c5,this[_0x404d6c(0x286)]=_0x43d6f6,this['_docStateChangeManagerService']=_0x42ff24,this['_docTransformIMECacheService']=_0x10bda9,this[_0x404d6c(0x33a)]=_0x441e1c,this[_0x404d6c(0x298)]=_0x3f8396,this[_0x404d6c(0x14a)]=_0x596e78;}['_createHandler'](){const _0x55d488=_0x4176ec,_0x38e079=super[_0x55d488(0x3b7)]();return _0x38e079['onTransformIME']=_0x41f0f6=>this[_0x55d488(0x235)][_0x55d488(0x1fe)](_0x41f0f6),_0x38e079[_0x55d488(0x14d)]=_0x36690e=>this[_0x55d488(0x33a)][_0x55d488(0x29b)](_0x36690e),_0x38e079[_0x55d488(0x2ac)]=_0x346508=>this['_docTransformSelectionsService'][_0x55d488(0x58d)](_0x346508),_0x38e079[_0x55d488(0x38a)]=_0x5cecc7=>this[_0x55d488(0x14a)][_0x55d488(0x1bd)](_0x5cecc7),_0x38e079[_0x55d488(0x4c3)]=_0x297193=>this['_docTransformIMECacheService'][_0x55d488(0x59a)](_0x297193),_0x38e079[_0x55d488(0x357)]=_0x3e66f4=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x3e66f4),_0x38e079;}async[_0x4176ec(0x3d5)](){const _0x2170e3=_0x4176ec,_0x475106=await super[_0x2170e3(0x3d5)]();return this[_0x2170e3(0x581)][_0x2170e3(0x270)][_0x2170e3(0x579)](_0x2c8065[_0x2170e3(0x50b)](this[_0x2170e3(0x484)]))[_0x2170e3(0x221)](_0x2221af=>{const _0x5ee1f5=_0x2170e3;if(_0x2221af==null)return;const {unitId:_0x45aa63,redoState:_0x4c3472,commandId:_0x409de4}=_0x2221af;if(_0x45aa63!==this[_0x5ee1f5(0x488)])return;const _0x25e8bf={'id':_0x409de4,'type':_0xd3ef1d[_0x5ee1f5(0x4c5)][_0x5ee1f5(0x363)],'params':{'unitId':_0x45aa63,'actions':_0x4c3472[_0x5ee1f5(0x370)],'textRanges':null}};this['_onLocalMutation'](_0x25e8bf);}),_0x475106;}},_0x5e8095[_0x4176ec(0x474)]=_0x455cde([_0x1dc04a(0x3,_0xd3ef1d['Inject'](_0xd3ef1d['Injector'])),_0x1dc04a(0x4,_0xd3ef1d[_0x4176ec(0x2bc)](_0x5e8095[_0x4176ec(0x5c2)])),_0x1dc04a(0x5,_0xd3ef1d[_0x4176ec(0x2bc)](_0x47367d[_0x4176ec(0x3de)])),_0x1dc04a(0x6,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d[_0x4176ec(0x2b3)])),_0x1dc04a(0x7,_0xd3ef1d[_0x4176ec(0x2bc)](_0x47367d[_0x4176ec(0x248)])),_0x1dc04a(0x8,_0xd3ef1d[_0x4176ec(0x2bc)](_0x580bbe[_0x4176ec(0x4bf)])),_0x1dc04a(0x9,_0xd3ef1d[_0x4176ec(0x2bc)](_0x133a0f)),_0x1dc04a(0xa,_0xd3ef1d[_0x4176ec(0x2bc)](_0x55a4fc)),_0x1dc04a(0xb,_0xd3ef1d['Inject'](_0x5763eb)),_0x1dc04a(0xc,_0xd3ef1d[_0x4176ec(0x2bc)](_0x1947b9)),_0x1dc04a(0xd,_0xd3ef1d[_0x4176ec(0x5b4)]),_0x1dc04a(0xe,_0xd3ef1d[_0x4176ec(0x438)]),_0x1dc04a(0xf,_0x45bd5d['IMessageService']),_0x1dc04a(0x10,_0xd3ef1d[_0x4176ec(0x57f)]),_0x1dc04a(0x11,_0xd3ef1d[_0x4176ec(0x4a6)](_0x2c4fd7))],_0x5e8095[_0x4176ec(0x474)]),_0x5e8095[_0x4176ec(0x511)]=class extends _0x5e8095['CollaborationEntity']{constructor(_0x36326c,_0x3d6e17,_0x435c15,_0x2ca1ed,_0x2e3c46,_0x2c3d14,_0xb68da3,_0x10b83c,_0x85c04a,_0x6ac050,_0x15e12a,_0xcff603,_0x1d3bb0,_0x10b587){const _0x53e6e3=_0x4176ec;super(_0x36326c,_0x435c15,_0x3d6e17,_0x2ca1ed,_0x2e3c46,_0x2c3d14,_0xb68da3,_0x10b83c,_0x6ac050,_0x15e12a,_0xcff603,_0x1d3bb0,_0x10b587),this[_0x53e6e3(0x488)]=_0x36326c,this[_0x53e6e3(0x286)]=_0x3d6e17,this[_0x53e6e3(0x4b0)]=_0x85c04a;}[_0x4176ec(0x3b7)](){const _0x4057a8=_0x4176ec,_0x367ffd=super[_0x4057a8(0x3b7)]();return _0x367ffd[_0x4057a8(0x2ac)]=_0x2bec4f=>this[_0x4057a8(0x4b0)][_0x4057a8(0x58d)](_0x2bec4f),_0x367ffd;}async[_0x4176ec(0x3d5)](){const _0x372024=_0x4176ec,_0x59273e=await super['_init']();return this[_0x372024(0x1a6)](this[_0x372024(0x135)]['onCommandExecuted']((_0x58fda5,_0x1d9369)=>{const _0x46ac46=_0x372024;if(_0x58fda5[_0x46ac46(0x286)]!==_0xd3ef1d[_0x46ac46(0x4c5)][_0x46ac46(0x363)]||_0x1d9369!=null&&_0x1d9369['fromCollab']||_0x1d9369!=null&&_0x1d9369['onlyLocal'])return;const _0x53c1be=_0x58fda5[_0x46ac46(0x42d)];if((_0x53c1be==null?void 0x0:_0x53c1be['unitId'])!==this['unitID'])return;const _0x2e3e06=_0x58fda5,_0x23e301=this['_compressMutationService'][_0x46ac46(0x2e2)]['fetchThroughInterceptors'](this[_0x46ac46(0x4f9)][_0x46ac46(0x2e2)][_0x46ac46(0x276)]()['COMPRESS_MUTATION_SEND'])([_0x2e3e06],null)||[_0x2e3e06];this['_onLocalMutation'](_0x23e301[0x0]);})),_0x59273e;}},_0x5e8095[_0x4176ec(0x511)]=_0x455cde([_0x1dc04a(0x3,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d['Injector'])),_0x1dc04a(0x4,_0xd3ef1d[_0x4176ec(0x2bc)](_0x5e8095['LocalCacheService'])),_0x1dc04a(0x5,_0xd3ef1d[_0x4176ec(0x2bc)](_0x47367d['CompressMutationService'])),_0x1dc04a(0x6,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d[_0x4176ec(0x2b3)])),_0x1dc04a(0x7,_0xd3ef1d[_0x4176ec(0x2bc)](_0x47367d['RevisionService'])),_0x1dc04a(0x8,_0xd3ef1d[_0x4176ec(0x2bc)](_0x3d1c7c)),_0x1dc04a(0x9,_0xd3ef1d[_0x4176ec(0x5b4)]),_0x1dc04a(0xa,_0xd3ef1d[_0x4176ec(0x438)]),_0x1dc04a(0xb,_0x45bd5d[_0x4176ec(0x2bf)]),_0x1dc04a(0xc,_0xd3ef1d['IPermissionService']),_0x1dc04a(0xd,_0xd3ef1d['Optional'](_0x2c4fd7))],_0x5e8095[_0x4176ec(0x511)]);var _0x4a3717=Object['defineProperty'],_0xdc6127=Object[_0x4176ec(0x48c)],_0x2af29c=(_0x366e8b,_0x37271f,_0x1cf03a,_0x255caf)=>{const _0x2c5f2c=_0x4176ec;for(var _0x5aee5f=_0x255caf>0x1?void 0x0:_0x255caf?_0xdc6127(_0x37271f,_0x1cf03a):_0x37271f,_0x579159=_0x366e8b[_0x2c5f2c(0x2b7)]-0x1,_0x28adf5;_0x579159>=0x0;_0x579159--)(_0x28adf5=_0x366e8b[_0x579159])&&(_0x5aee5f=(_0x255caf?_0x28adf5(_0x37271f,_0x1cf03a,_0x5aee5f):_0x28adf5(_0x5aee5f))||_0x5aee5f);return _0x255caf&&_0x5aee5f&&_0x4a3717(_0x37271f,_0x1cf03a,_0x5aee5f),_0x5aee5f;},_0x3dff4d=(_0xce74c3,_0x472297)=>(_0x59290b,_0x12586e)=>_0x472297(_0x59290b,_0x12586e,_0xce74c3);_0x5e8095[_0x4176ec(0x4b2)]=class extends _0xd3ef1d[_0x4176ec(0x19c)]{constructor(_0x33eb30,_0x4b099d,_0x2b4f33){const _0x48ba52=_0x4176ec;super(),_0xddf92d(this,_0x48ba52(0x27a),new Map()),_0xddf92d(this,'_entityInit$',new _0x2c8065[(_0x48ba52(0x58c))]()),(this[_0x48ba52(0x11a)]=_0x33eb30,this[_0x48ba52(0x16c)]=_0x4b099d,this[_0x48ba52(0x1d0)]=_0x2b4f33,this[_0x48ba52(0x3d5)]());}[_0x4176ec(0x275)](){const _0x25431d=_0x4176ec;super[_0x25431d(0x275)](),this['_entities'][_0x25431d(0x193)](_0x1845ee=>_0x1845ee[_0x25431d(0x275)]()),this['_entities'][_0x25431d(0x341)]();}[_0x4176ec(0x3d8)](_0x4025ad){const _0x40acbf=_0x4176ec;var _0x4043ad;return(_0x4043ad=this[_0x40acbf(0x27a)]['get'](_0x4025ad))!=null?_0x4043ad:null;}[_0x4176ec(0x278)](_0x1bfa7b){const _0xf8a90=_0x4176ec,_0x597ff2=this[_0xf8a90(0x3d8)](_0x1bfa7b);return _0x597ff2?_0x2c8065['of'](_0x597ff2):this['_entityInit$'][_0xf8a90(0x579)](_0x5cc70d['filter'](_0x328fe0=>_0x328fe0[_0xf8a90(0x488)]===_0x1bfa7b));}[_0x4176ec(0x3d5)](){const _0x569417=_0x4176ec;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xd3ef1d[_0x569417(0x20c)][_0x569417(0x1ab)])[_0x569417(0x579)](_0x2c8065['takeUntil'](this[_0x569417(0x484)]),_0x5cc70d[_0x569417(0x33d)](0x10))[_0x569417(0x221)](async _0x54da8c=>{const _0x43f3ed=_0x569417,_0x2764e8=_0x54da8c[_0x43f3ed(0x57e)](),_0x72123e=await this[_0x43f3ed(0x355)](_0x2764e8,_0x34a84f[_0x43f3ed(0x1ab)]);this[_0x43f3ed(0x27a)][_0x43f3ed(0x266)](_0x2764e8,_0x72123e);}),this['_univerInstanceService'][_0x569417(0x4b4)](_0xd3ef1d['UniverInstanceType']['UNIVER_DOC'])['pipe'](_0x2c8065['takeUntil'](this[_0x569417(0x484)]),_0x5cc70d[_0x569417(0x33d)](0x10))[_0x569417(0x579)](_0x5cc70d[_0x569417(0x3b9)](_0x4994a3=>!_0x4994a3[_0x569417(0x57e)]()[_0x569417(0x33f)]('__')))['subscribe'](async _0x531f8d=>{const _0x4e65df=_0x569417,_0xc56253=_0x531f8d[_0x4e65df(0x57e)](),_0x498127=await this[_0x4e65df(0x355)](_0xc56253,_0x34a84f[_0x4e65df(0x457)]);this[_0x4e65df(0x27a)][_0x4e65df(0x266)](_0xc56253,_0x498127);}),_0x2c8065['merge'](this['_univerInstanceService'][_0x569417(0x5a3)](_0xd3ef1d['UniverInstanceType']['UNIVER_SHEET']),this[_0x569417(0x1d0)]['getTypeOfUnitDisposed$'](_0xd3ef1d[_0x569417(0x20c)][_0x569417(0x457)]))[_0x569417(0x579)](_0x2c8065[_0x569417(0x50b)](this[_0x569417(0x484)]))[_0x569417(0x221)](_0x622099=>{const _0x1f7fa1=_0x569417,_0x1ea998=_0x622099['getUnitId'](),_0x143208=this[_0x1f7fa1(0x27a)][_0x1f7fa1(0x313)](_0x1ea998);_0x143208&&(_0x143208[_0x1f7fa1(0x275)](),this[_0x1f7fa1(0x27a)][_0x1f7fa1(0x38e)](_0x1ea998));});}async['_startCollaboration'](_0x1ad66e,_0xeca7b7){const _0x4ee679=_0x4176ec,_0x1cc274=await this['_collabSessionService'][_0x4ee679(0x3f8)](_0x1ad66e),_0x61bf1b=this[_0x4ee679(0x11a)][_0x4ee679(0x5c5)](this[_0x4ee679(0x2d8)](_0xeca7b7),_0x1ad66e,_0xeca7b7,_0x1cc274);return await _0x61bf1b['init'](),this[_0x4ee679(0x26f)][_0x4ee679(0x52a)](_0x61bf1b),_0x61bf1b;}[_0x4176ec(0x2d8)](_0x258ea4){const _0x597443=_0x4176ec;switch(_0x258ea4){case _0x34a84f[_0x597443(0x457)]:return _0x5e8095[_0x597443(0x474)];case _0x34a84f[_0x597443(0x1ab)]:return _0x5e8095['SheetCollaborationEntity'];default:throw new Error(_0x597443(0x397)+_0x258ea4);}}},_0x5e8095[_0x4176ec(0x4b2)]=_0x2af29c([_0x3dff4d(0x0,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d['Injector'])),_0x3dff4d(0x1,_0xd3ef1d[_0x4176ec(0x2bc)](_0x5e8095[_0x4176ec(0x48a)])),_0x3dff4d(0x2,_0xd3ef1d[_0x4176ec(0x2fc)])],_0x5e8095[_0x4176ec(0x4b2)]);const _0x76bcc8=['purple300',_0x4176ec(0x2aa),_0x4176ec(0x550),_0x4176ec(0x4de),_0x4176ec(0x1d5),_0x4176ec(0x173)];class _0x1cc3f2 extends _0xd3ef1d[_0x4176ec(0x198)]{constructor(){const _0xee79c5=_0x4176ec;super(...arguments),_0xddf92d(this,_0xee79c5(0x505),new Map()),_0xddf92d(this,_0xee79c5(0x513),0x0);}[_0x4176ec(0x220)](_0x3bd8ae){const _0x121e5=_0x4176ec;if(this[_0x121e5(0x505)][_0x121e5(0x4cf)](_0x3bd8ae))return this[_0x121e5(0x505)]['get'](_0x3bd8ae);const _0x4d0bb5=_0x76bcc8[this[_0x121e5(0x513)]];return this[_0x121e5(0x513)]=(this[_0x121e5(0x513)]+0x1)%_0x76bcc8[_0x121e5(0x2b7)],this['_assignedColors'][_0x121e5(0x266)](_0x3bd8ae,_0x4d0bb5),_0x4d0bb5;}}var _0x50b057=Object[_0x4176ec(0x2b4)],_0x3fefa6=Object[_0x4176ec(0x48c)],_0x127bef=(_0x521341,_0x3174c5,_0x292637,_0x3932e3)=>{const _0x8cba5a=_0x4176ec;for(var _0x5ead65=_0x3932e3>0x1?void 0x0:_0x3932e3?_0x3fefa6(_0x3174c5,_0x292637):_0x3174c5,_0x4669ad=_0x521341[_0x8cba5a(0x2b7)]-0x1,_0x57773a;_0x4669ad>=0x0;_0x4669ad--)(_0x57773a=_0x521341[_0x4669ad])&&(_0x5ead65=(_0x3932e3?_0x57773a(_0x3174c5,_0x292637,_0x5ead65):_0x57773a(_0x5ead65))||_0x5ead65);return _0x3932e3&&_0x5ead65&&_0x50b057(_0x3174c5,_0x292637,_0x5ead65),_0x5ead65;},_0xefe81a=(_0x206336,_0x6bf84d)=>(_0x49d220,_0x24add9)=>_0x6bf84d(_0x49d220,_0x24add9,_0x206336);const _0x144928=0x12c,_0x11d18e=0x64;let _0x468dcf=class extends _0xd3ef1d[_0x4176ec(0x19c)]{constructor(_0x55e9b9,_0x2f4b66,_0x3989bf,_0x3dc6b8,_0x1a5817,_0x41b940,_0x43a8da,_0x324c87,_0x569d2d){const _0x3f2506=_0x4176ec;super(),_0xddf92d(this,'_online',!0x1),_0xddf92d(this,_0x3f2506(0x3d5),!0x1),_0xddf92d(this,_0x3f2506(0x463),new _0x2c8065[(_0x3f2506(0x3b0))](new Map())),_0xddf92d(this,_0x3f2506(0x1f7),this[_0x3f2506(0x463)][_0x3f2506(0x117)]()),_0xddf92d(this,'_roomMembers$',new _0x2c8065['BehaviorSubject']([])),_0xddf92d(this,_0x3f2506(0x1b8),this[_0x3f2506(0x3b2)][_0x3f2506(0x579)](_0x2c8065['debounceTime'](_0x144928))),_0xddf92d(this,_0x3f2506(0x400),_0xd3ef1d[_0x3f2506(0x57d)](_0x20f934=>{const _0x6e781d=_0x3f2506,_0x40ecac={'eventID':_0x47367d[_0x6e781d(0x498)][_0x6e781d(0x12f)],'data':{'unitID':this['unitID'],'memberID':this[_0x6e781d(0x2fd)]['getMemberID'](),'selection':_0x2a3dfd(_0x20f934)}};this[_0x6e781d(0x2fd)][_0x6e781d(0x4f3)](_0x40ecac,this[_0x6e781d(0x488)]);},_0x11d18e)),(this[_0x3f2506(0x488)]=_0x55e9b9,this[_0x3f2506(0x2fd)]=_0x2f4b66,this[_0x3f2506(0x11a)]=_0x3989bf,this[_0x3f2506(0x3a3)]=_0x3dc6b8,this[_0x3f2506(0x192)]=_0x1a5817,this['_syncEditingCollabCursorService']=_0x41b940,this[_0x3f2506(0x31d)]=_0x43a8da,this[_0x3f2506(0x1d0)]=_0x324c87,this[_0x3f2506(0x135)]=_0x569d2d);}get['cursorInfo'](){const _0x136516=_0x4176ec;return this[_0x136516(0x463)][_0x136516(0x2c6)]();}get[_0x4176ec(0x413)](){const _0x20d058=_0x4176ec;return this[_0x20d058(0x3b2)][_0x20d058(0x2c6)]();}[_0x4176ec(0x275)](){const _0x304fca=_0x4176ec;super['dispose'](),this['_cursorInfo$'][_0x304fca(0x52a)](new Map()),this[_0x304fca(0x463)][_0x304fca(0x21e)](),this[_0x304fca(0x3b2)][_0x304fca(0x52a)]([]),this[_0x304fca(0x3b2)]['complete']();}['init'](){const _0x5c509d=_0x4176ec;this[_0x5c509d(0x3d5)]||(this[_0x5c509d(0x3d5)]=!0x0,this['_session']['sessionStatus$'][_0x5c509d(0x579)](_0x2c8065['takeUntil'](this[_0x5c509d(0x484)]))[_0x5c509d(0x221)](_0x12bb93=>{const _0xc0c5a2=_0x5c509d;_0x12bb93===_0x5a5e86['ONLINE']?this[_0xc0c5a2(0x53d)]():this[_0xc0c5a2(0x388)]();}),this[_0x5c509d(0x2fd)][_0x5c509d(0x3c6)][_0x5c509d(0x579)](_0x2c8065['takeUntil'](this[_0x5c509d(0x484)]))[_0x5c509d(0x221)](_0x8f5713=>{const _0x53be43=_0x5c509d,_0x5a62d6=_0x8f5713[_0x53be43(0x4d0)];_0x5a62d6===_0x47367d[_0x53be43(0x498)][_0x53be43(0x12f)]&&this[_0x53be43(0x177)](_0x8f5713),_0x5a62d6===_0x47367d[_0x53be43(0x498)]['USERS_LEAVE']&&this[_0x53be43(0x22e)](_0x8f5713);}),this[_0x5c509d(0x1a6)](this[_0x5c509d(0x135)][_0x5c509d(0x131)](_0x2a7e4b=>{const _0x2aa898=_0x5c509d,_0x4ef919=_0x2a7e4b[_0x2aa898(0x42d)];_0x4ef919!=null&&this[_0x2aa898(0x162)]&&_0x2a7e4b['id']===_0x4c13e7['SetTextSelectionsOperation']['id']&&_0x4ef919[_0x2aa898(0x2cc)]===this[_0x2aa898(0x488)]&&_0x4ef919[_0x2aa898(0x54b)]===!0x1&&_0x4ef919['ranges'][_0x2aa898(0x2b7)]>0x0&&this[_0x2aa898(0x400)](_0x4ef919[_0x2aa898(0x425)]);})),this[_0x5c509d(0x1ce)][_0x5c509d(0x240)][_0x5c509d(0x579)](_0x2c8065['takeUntil'](this['dispose$']))[_0x5c509d(0x221)](_0x21cd44=>{const _0x49de71=_0x5c509d;if((_0x21cd44==null?void 0x0:_0x21cd44[_0x49de71(0x488)])!==this[_0x49de71(0x488)])return;const _0x5dbd0a={'eventID':_0x47367d[_0x49de71(0x498)][_0x49de71(0x12f)],'data':_0x21cd44};this[_0x49de71(0x177)](_0x5dbd0a);}),this[_0x5c509d(0x1a6)](this[_0x5c509d(0x135)][_0x5c509d(0x131)](_0x1d5281=>{const _0x522d9e=_0x5c509d;if(_0x1d5281['params']==null)return;const _0x174e10=_0x1d5281['params'];if(_0x1d5281['id']!==_0x4c13e7[_0x522d9e(0x440)]['id']||_0x174e10[_0x522d9e(0x2cc)]!==this[_0x522d9e(0x488)])return;const _0x33219e={'id':_0x522d9e(0x386),'params':_0x174e10},_0x51851e=this[_0x522d9e(0x50c)];for(const [_0x5008dd,_0x12f816]of _0x51851e){const _0x3eaeed={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x522d9e(0x488)],'actions':null,'textRanges':_0x12f816[_0x522d9e(0x425)]}},_0x3f4016=this[_0x522d9e(0x31d)]['transformMutation'](_0x33219e,_0x3eaeed,!0x1);if(_0x47367d['isTransformMutationFailure'](_0x3f4016))throw _0x3f4016[_0x522d9e(0x476)];_0x51851e['set'](_0x5008dd,{..._0x12f816,'ranges':_0x3f4016[_0x522d9e(0x389)][_0x522d9e(0x42d)][_0x522d9e(0x159)]});}queueMicrotask(()=>{const _0x565385=_0x522d9e;this[_0x565385(0x463)]['next'](_0x51851e);});})));}[_0x4176ec(0x177)](_0x2ccdfc){const _0x44fd60=_0x4176ec;var _0x5a7bca,_0x141567;const {memberID:_0x49bfea,selection:_0x159e2d}=_0x2ccdfc[_0x44fd60(0x33b)],_0xb40c9f=_0x3e2c8f(_0x159e2d),_0x446604=(_0x141567=(_0x5a7bca=this[_0x44fd60(0x192)]['getMember'](this[_0x44fd60(0x488)],_0x49bfea))==null?void 0x0:_0x5a7bca[_0x44fd60(0x36a)])!=null?_0x141567:_0x44fd60(0x13e),_0x16c65a={'color':this[_0x44fd60(0x3a3)][_0x44fd60(0x220)](_0x49bfea),'name':_0x446604,'ranges':_0xb40c9f},_0x16f197=this[_0x44fd60(0x50c)];_0x16f197[_0x44fd60(0x266)](_0x49bfea,_0x16c65a),this['_cursorInfo$'][_0x44fd60(0x52a)](_0x16f197);}[_0x4176ec(0x22e)](_0x450f56){const _0xacf6cc=_0x4176ec,{memberID:_0x36ef7f}=_0x450f56['data'],_0xa0071b=this[_0xacf6cc(0x50c)];_0xa0071b[_0xacf6cc(0x38e)](_0x36ef7f),this['_cursorInfo$'][_0xacf6cc(0x52a)](_0xa0071b);}[_0x4176ec(0x53d)](){const _0x5f040a=_0x4176ec;var _0x1b5e1e;if(this[_0x5f040a(0x162)]=!0x0,((_0x1b5e1e=this[_0x5f040a(0x1d0)][_0x5f040a(0x279)]())==null?void 0x0:_0x1b5e1e[_0x5f040a(0x57e)]())!==this['unitID'])return;const _0xcb5456=this[_0x5f040a(0x11a)]['get'](_0x4c13e7[_0x5f040a(0x20b)])['getDocRanges']();Array['isArray'](_0xcb5456)&&_0xcb5456[_0x5f040a(0x2b7)]>0x0&&this['_updateLocalCursor'](_0xcb5456);}[_0x4176ec(0x388)](){const _0x3acc7c=_0x4176ec;this[_0x3acc7c(0x162)]=!0x1;}};_0x468dcf=_0x127bef([_0xefe81a(0x2,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d['Injector'])),_0xefe81a(0x3,_0xd3ef1d[_0x4176ec(0x2bc)](_0x1cc3f2)),_0xefe81a(0x4,_0xd3ef1d['Inject'](_0x5e8095['MemberService'])),_0xefe81a(0x5,_0xd3ef1d[_0x4176ec(0x2bc)](_0x1947b9)),_0xefe81a(0x6,_0x47367d[_0x4176ec(0x39c)]),_0xefe81a(0x7,_0xd3ef1d[_0x4176ec(0x2fc)]),_0xefe81a(0x8,_0xd3ef1d[_0x4176ec(0x438)])],_0x468dcf);var _0x44d6b5=Object[_0x4176ec(0x2b4)],_0x223682=Object['getOwnPropertyDescriptor'],_0x5e2236=(_0x503bd0,_0x3f13b5,_0x5d04f8,_0x26b391)=>{const _0x5cb7c3=_0x4176ec;for(var _0x46d101=_0x26b391>0x1?void 0x0:_0x26b391?_0x223682(_0x3f13b5,_0x5d04f8):_0x3f13b5,_0x1f799a=_0x503bd0[_0x5cb7c3(0x2b7)]-0x1,_0x2b05d5;_0x1f799a>=0x0;_0x1f799a--)(_0x2b05d5=_0x503bd0[_0x1f799a])&&(_0x46d101=(_0x26b391?_0x2b05d5(_0x3f13b5,_0x5d04f8,_0x46d101):_0x2b05d5(_0x46d101))||_0x46d101);return _0x26b391&&_0x46d101&&_0x44d6b5(_0x3f13b5,_0x5d04f8,_0x46d101),_0x46d101;},_0x1044c0=(_0x544141,_0x1de04c)=>(_0x44e7fa,_0x414db5)=>_0x1de04c(_0x44e7fa,_0x414db5,_0x544141);const _0x5c0c63=0x12c,_0x3155ff=0x64,_0x1ecf6e=()=>{let _0x4abc57=[],_0x4ea51b=!0x1;return _0x1a7c7e=>{const _0x50811f=_0x352d;_0x4abc57[_0x50811f(0x455)](_0x1a7c7e),_0x4ea51b||(_0x4ea51b=!0x0,setTimeout(()=>{_0x4abc57['forEach'](_0x2f0d22=>_0x2f0d22()),_0x4abc57=[],_0x4ea51b=!0x1;}));};};let _0x16aed0=class extends _0xd3ef1d[_0x4176ec(0x19c)]{constructor(_0x3c03b0,_0x520897,_0x74a274,_0x42e76c,_0xa6dd1f,_0x26d511,_0x25d728,_0x804598){const _0x494984=_0x4176ec;super(),_0xddf92d(this,_0x494984(0x162),!0x1),_0xddf92d(this,_0x494984(0x3d5),!0x1),_0xddf92d(this,_0x494984(0x463),new _0x2c8065[(_0x494984(0x3b0))](new Map())),_0xddf92d(this,_0x494984(0x1f7),this[_0x494984(0x463)]['asObservable']()),_0xddf92d(this,'_roomMembers$',new _0x2c8065['BehaviorSubject']([])),_0xddf92d(this,_0x494984(0x1b8),this[_0x494984(0x3b2)][_0x494984(0x579)](_0x2c8065['debounceTime'](_0x5c0c63))),_0xddf92d(this,_0x494984(0x400),_0xd3ef1d[_0x494984(0x57d)]((_0x31076a,_0x12d94b)=>{const _0x802d6d=_0x494984,_0x5f3d41={'eventID':_0x47367d['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x802d6d(0x488)],'memberID':this[_0x802d6d(0x2fd)][_0x802d6d(0x3d9)](),'selection':_0x24d855[_0x802d6d(0x259)](_0x31076a,_0x12d94b[_0x802d6d(0x1ca)])}};this[_0x802d6d(0x2fd)][_0x802d6d(0x4f3)](_0x5f3d41,this['unitID']);},_0x3155ff)),(this[_0x494984(0x488)]=_0x3c03b0,this[_0x494984(0x2fd)]=_0x520897,this['_injector']=_0x74a274,this['_colorAssignService']=_0x42e76c,this[_0x494984(0x192)]=_0xa6dd1f,this['_univerInstanceService']=_0x26d511,this[_0x494984(0x135)]=_0x25d728,this[_0x494984(0x3f5)]=_0x804598);}get[_0x4176ec(0x50c)](){return this['_cursorInfo$']['getValue']();}get[_0x4176ec(0x413)](){const _0x49cc29=_0x4176ec;return this[_0x49cc29(0x3b2)][_0x49cc29(0x2c6)]();}['dispose'](){const _0x23e2d1=_0x4176ec;super[_0x23e2d1(0x275)](),this[_0x23e2d1(0x463)][_0x23e2d1(0x52a)](new Map()),this[_0x23e2d1(0x463)][_0x23e2d1(0x21e)](),this['_roomMembers$'][_0x23e2d1(0x52a)]([]),this[_0x23e2d1(0x3b2)]['complete']();}[_0x4176ec(0x15b)](){const _0x7cc32a=_0x4176ec;this[_0x7cc32a(0x3d5)]||(this['_init']=!0x0,this[_0x7cc32a(0x2fd)][_0x7cc32a(0x51f)]['pipe'](_0x2c8065['takeUntil'](this[_0x7cc32a(0x484)]))[_0x7cc32a(0x221)](_0x309ac6=>{const _0x3162f5=_0x7cc32a;_0x309ac6===_0x5a5e86[_0x3162f5(0x1a7)]?this[_0x3162f5(0x53d)]():this[_0x3162f5(0x388)]();}),this[_0x7cc32a(0x2fd)][_0x7cc32a(0x3c6)][_0x7cc32a(0x579)](_0x2c8065['takeUntil'](this['dispose$']))[_0x7cc32a(0x221)](_0x3a5631=>{const _0x39ff54=_0x7cc32a,_0x404934=_0x3a5631['eventID'];_0x404934===_0x47367d[_0x39ff54(0x498)][_0x39ff54(0x12f)]&&this[_0x39ff54(0x177)](_0x3a5631),_0x404934===_0x47367d[_0x39ff54(0x498)][_0x39ff54(0x376)]&&this[_0x39ff54(0x22e)](_0x3a5631);}),this[_0x7cc32a(0x41f)](),this['disposeWithMe'](this[_0x7cc32a(0x135)][_0x7cc32a(0x131)](_0x1ebf6d=>{const _0x1592af=_0x7cc32a;if(this['_online']&&_0x1ebf6d['id']===_0x1b517d['SetSelectionsOperation']['id']&&_0x1ebf6d['params'][_0x1592af(0x2cc)]===this[_0x1592af(0x488)]){const _0x1bef86=_0x1ebf6d[_0x1592af(0x42d)];this['_updateLocalCursor'](_0x1bef86[_0x1592af(0x507)],_0x1bef86[_0x1592af(0x17c)][0x0]);}})));}[_0x4176ec(0x177)](_0x5eee94){const _0x55f7d7=_0x4176ec;var _0x1583fd,_0x21952b;const {memberID:_0x2884bc,selection:_0x3e6db8}=_0x5eee94[_0x55f7d7(0x33b)],{sheetName:_0x16519c,range:_0x27e9fa}=_0x24d855['deserializeRangeWithSheet'](_0x3e6db8),_0x7be41d={'name':(_0x21952b=(_0x1583fd=this['_memberService'][_0x55f7d7(0x230)](this['unitID'],_0x2884bc))==null?void 0x0:_0x1583fd[_0x55f7d7(0x36a)])!=null?_0x21952b:_0x55f7d7(0x13e),'range':this[_0x55f7d7(0x503)](_0x16519c,_0x27e9fa),'sheetID':_0x16519c,'color':this[_0x55f7d7(0x3a3)]['assignAColorForMemberID'](_0x2884bc),'selection':_0x3e6db8},_0x31c100=this[_0x55f7d7(0x50c)];_0x31c100['set'](_0x2884bc,_0x7be41d),this[_0x55f7d7(0x463)][_0x55f7d7(0x52a)](_0x31c100);}['_onCursorDelete'](_0x13140c){const _0x33ba02=_0x4176ec,{memberID:_0x2fe65e}=_0x13140c[_0x33ba02(0x33b)],_0x5abcca=this[_0x33ba02(0x50c)];_0x5abcca[_0x33ba02(0x38e)](_0x2fe65e),this[_0x33ba02(0x463)][_0x33ba02(0x52a)](_0x5abcca);}[_0x4176ec(0x503)](_0x30bf01,_0x5e7881){const _0x2a2bbe=_0x4176ec;var _0x511432,_0x2a2dd6;const _0xb523=(_0x2a2dd6=(_0x511432=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x2a2bbe(0x488)]))==null?void 0x0:_0x511432[_0x2a2bbe(0x573)](_0x30bf01))==null?void 0x0:_0x2a2dd6[_0x2a2bbe(0x190)]();return(_0xb523==null?void 0x0:_0xb523[_0x2a2bbe(0x229)](_0x34fec9=>_0xd3ef1d[_0x2a2bbe(0x4a3)][_0x2a2bbe(0x475)](_0x34fec9,_0x5e7881)))||_0x5e7881;}['_onRefRangeChange'](){const _0x4d69e5=_0x4176ec,_0x395179=new _0xd3ef1d[(_0x4d69e5(0x406))](),_0x172fd9=_0x1ecf6e(),_0x2694f9=()=>{const _0x530e7e=_0x4d69e5;_0x395179[_0x530e7e(0x275)]();const _0x53198d=(_0x3f0b2b,_0x1d1b56,_0x3be84a,_0x5b6406)=>{const _0x1cc868=_0x530e7e;let _0x5c9bc2=[];switch(_0x3f0b2b['id']){case _0x1b517d['EffectRefRangId'][_0x1cc868(0x56e)]:{_0x5c9bc2=_0x1b517d[_0x1cc868(0x4b5)](_0x3f0b2b,_0x5b6406);break;}case _0x1b517d[_0x1cc868(0x145)][_0x1cc868(0x2d3)]:{_0x5c9bc2=_0x1b517d['handleDeleteRangeMoveUp'](_0x3f0b2b,_0x5b6406);break;}case _0x1b517d[_0x1cc868(0x145)][_0x1cc868(0x5b3)]:{_0x5c9bc2=_0x1b517d[_0x1cc868(0x35f)](_0x3f0b2b,_0x5b6406);break;}case _0x1b517d[_0x1cc868(0x145)]['InsertRangeMoveDownCommandId']:{_0x5c9bc2=_0x1b517d[_0x1cc868(0x41c)](_0x3f0b2b,_0x5b6406);break;}case _0x1b517d['EffectRefRangId'][_0x1cc868(0x56d)]:{_0x5c9bc2=_0x1b517d['handleInsertRangeMoveRight'](_0x3f0b2b,_0x5b6406);break;}case _0x1b517d[_0x1cc868(0x145)][_0x1cc868(0x1fa)]:{_0x5c9bc2=_0x1b517d['handleInsertRow'](_0x3f0b2b,_0x5b6406);break;}case _0x1b517d[_0x1cc868(0x145)][_0x1cc868(0x4ff)]:{_0x5c9bc2=_0x1b517d[_0x1cc868(0x375)](_0x3f0b2b,_0x5b6406);break;}case _0x1b517d[_0x1cc868(0x145)][_0x1cc868(0x182)]:{_0x5c9bc2=_0x1b517d[_0x1cc868(0x11f)](_0x3f0b2b,_0x5b6406);break;}case _0x1b517d[_0x1cc868(0x145)][_0x1cc868(0x391)]:{_0x5c9bc2=_0x1b517d[_0x1cc868(0x5b7)](_0x3f0b2b,_0x5b6406);break;}}const _0x55b5a2=_0x1b517d['runRefRangeMutations'](_0x5c9bc2,_0x5b6406),_0xc8f061=this[_0x1cc868(0x50c)][_0x1cc868(0x313)](_0x1d1b56);if(_0xc8f061&&_0x55b5a2){const _0x43f625={..._0xc8f061,'range':_0x55b5a2};this['cursorInfo'][_0x1cc868(0x266)](_0x1d1b56,_0x43f625),_0x172fd9(()=>{const _0x1787e4=_0x1cc868,_0x47d071=this[_0x1787e4(0x3f5)][_0x1787e4(0x1c3)](_0x55b5a2,_0x3e823d=>(_0x47d071['dispose'](),_0x53198d(_0x3e823d,_0x1d1b56,_0x3be84a,_0x55b5a2)));_0x395179['add'](_0x47d071);});}return{'redos':[],'undos':[]};};this[_0x530e7e(0x50c)][_0x530e7e(0x193)]((_0x187ca8,_0x5251f8)=>{const _0x2d3911=_0x530e7e,{range:_0x1433b2,sheetID:_0x3def3f}=_0x187ca8,_0x515c23=this[_0x2d3911(0x3f5)][_0x2d3911(0x1c3)](_0x1433b2,_0x504847=>(_0x515c23[_0x2d3911(0x275)](),_0x53198d(_0x504847,_0x5251f8,_0x3def3f,_0x1433b2)));_0x395179[_0x2d3911(0x154)](_0x515c23);});};this['disposeWithMe'](_0xd3ef1d['toDisposable'](this['_cursorInfo$'][_0x4d69e5(0x221)](()=>{_0x2694f9();})));}[_0x4176ec(0x53d)](){const _0x3e5dfd=_0x4176ec;var _0x43b261,_0x4ac19a;if(this[_0x3e5dfd(0x162)]=!0x0,((_0x43b261=this[_0x3e5dfd(0x1d0)][_0x3e5dfd(0x279)]())==null?void 0x0:_0x43b261[_0x3e5dfd(0x57e)]())!==this[_0x3e5dfd(0x488)])return;const _0x4e6d2f=(_0x4ac19a=this['_injector'][_0x3e5dfd(0x313)](_0x1b517d[_0x3e5dfd(0x37b)])['getCurrentSelections']())==null?void 0x0:_0x4ac19a[0x0],_0x3f0292=this[_0x3e5dfd(0x1d0)][_0x3e5dfd(0x2ec)](_0xd3ef1d[_0x3e5dfd(0x20c)][_0x3e5dfd(0x1ab)])[_0x3e5dfd(0x4cb)]();_0x4e6d2f&&_0x3f0292&&this[_0x3e5dfd(0x400)](_0x3f0292[_0x3e5dfd(0x1c1)](),_0x4e6d2f);}['_toggleOffline'](){const _0x887fc7=_0x4176ec;this[_0x887fc7(0x162)]=!0x1;}};_0x16aed0=_0x5e2236([_0x1044c0(0x2,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d[_0x4176ec(0x5ba)])),_0x1044c0(0x3,_0xd3ef1d[_0x4176ec(0x2bc)](_0x1cc3f2)),_0x1044c0(0x4,_0xd3ef1d['Inject'](_0x5e8095[_0x4176ec(0x4b1)])),_0x1044c0(0x5,_0xd3ef1d[_0x4176ec(0x2fc)]),_0x1044c0(0x6,_0xd3ef1d[_0x4176ec(0x438)]),_0x1044c0(0x7,_0xd3ef1d[_0x4176ec(0x2bc)](_0x1b517d['RefRangeService']))],_0x16aed0);var _0x113be6=Object[_0x4176ec(0x2b4)],_0x464b21=Object[_0x4176ec(0x48c)],_0x5a0e21=(_0x437842,_0x49c780,_0x4897cd,_0x25da6e)=>{for(var _0x3a5535=_0x25da6e>0x1?void 0x0:_0x25da6e?_0x464b21(_0x49c780,_0x4897cd):_0x49c780,_0x5522b8=_0x437842['length']-0x1,_0x41589a;_0x5522b8>=0x0;_0x5522b8--)(_0x41589a=_0x437842[_0x5522b8])&&(_0x3a5535=(_0x25da6e?_0x41589a(_0x49c780,_0x4897cd,_0x3a5535):_0x41589a(_0x3a5535))||_0x3a5535);return _0x25da6e&&_0x3a5535&&_0x113be6(_0x49c780,_0x4897cd,_0x3a5535),_0x3a5535;},_0x546ae7=(_0x172ca3,_0x322a51)=>(_0x4cae5b,_0x3abb65)=>_0x322a51(_0x4cae5b,_0x3abb65,_0x172ca3);let _0xc8c02a=class extends _0xd3ef1d['RxDisposable']{constructor(_0xdb6bb9,_0xd1cf15,_0x454121){const _0x1228cf=_0x4176ec;super(),_0xddf92d(this,_0x1228cf(0x27a),new Map()),_0xddf92d(this,_0x1228cf(0x26f),new _0x2c8065[(_0x1228cf(0x58c))]()),(this[_0x1228cf(0x1d0)]=_0xdb6bb9,this[_0x1228cf(0x11a)]=_0xd1cf15,this[_0x1228cf(0x16c)]=_0x454121,this['_init']());}[_0x4176ec(0x275)](){const _0x56a614=_0x4176ec;super[_0x56a614(0x275)](),this[_0x56a614(0x26f)]['complete'](),this[_0x56a614(0x27a)]['forEach'](_0x314ee7=>_0x314ee7[_0x56a614(0x275)]());}['getCollabCursors$'](_0x10be72){const _0x4ca76a=_0x4176ec;return this[_0x4ca76a(0x27a)]['has'](_0x10be72)?this[_0x4ca76a(0x27a)][_0x4ca76a(0x313)](_0x10be72)[_0x4ca76a(0x1f7)]:this[_0x4ca76a(0x26f)][_0x4ca76a(0x579)](_0x2c8065[_0x4ca76a(0x3b9)](_0x14766c=>_0x14766c['unitID']===_0x10be72),_0x2c8065[_0x4ca76a(0x18d)](_0x183d68=>_0x183d68['cursorInfo$']));}[_0x4176ec(0x3d5)](){const _0x82028f=_0x4176ec;this[_0x82028f(0x1d0)][_0x82028f(0x4b4)](_0xd3ef1d['UniverInstanceType']['UNIVER_SHEET'])[_0x82028f(0x579)](_0x2c8065[_0x82028f(0x50b)](this[_0x82028f(0x484)]))['subscribe'](async _0x23a8dc=>{const _0x5e186d=_0x82028f,_0x528b97=_0x23a8dc['getUnitId'](),_0x183c33=await this[_0x5e186d(0x138)](_0x528b97);this['_entityInit$'][_0x5e186d(0x52a)](_0x183c33),this[_0x5e186d(0x27a)][_0x5e186d(0x266)](_0x528b97,_0x183c33);}),this[_0x82028f(0x1d0)][_0x82028f(0x4b4)](_0xd3ef1d['UniverInstanceType']['UNIVER_DOC'])[_0x82028f(0x579)](_0x2c8065['takeUntil'](this[_0x82028f(0x484)]))[_0x82028f(0x579)](_0x2c8065[_0x82028f(0x3b9)](_0x1abd7e=>!_0x1abd7e['getUnitId']()[_0x82028f(0x33f)]('__')))[_0x82028f(0x221)](async _0x1b9c4c=>{const _0x112662=_0x82028f,_0x15cd8b=_0x1b9c4c[_0x112662(0x57e)](),_0x5e59d6=await this[_0x112662(0x580)](_0x15cd8b);this[_0x112662(0x26f)][_0x112662(0x52a)](_0x5e59d6),this['_entities'][_0x112662(0x266)](_0x15cd8b,_0x5e59d6);}),_0x2c8065[_0x82028f(0x2ff)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0xd3ef1d[_0x82028f(0x20c)][_0x82028f(0x457)]),this[_0x82028f(0x1d0)][_0x82028f(0x5a3)](_0xd3ef1d[_0x82028f(0x20c)][_0x82028f(0x1ab)]))[_0x82028f(0x579)](_0x2c8065['takeUntil'](this['dispose$']))[_0x82028f(0x221)](_0x7ebe=>{const _0x3620e4=_0x82028f,_0x520cd6=_0x7ebe['getUnitId'](),_0x1eaa42=this[_0x3620e4(0x27a)][_0x3620e4(0x313)](_0x520cd6);_0x1eaa42&&(_0x1eaa42[_0x3620e4(0x275)](),this[_0x3620e4(0x27a)][_0x3620e4(0x38e)](_0x520cd6));});}async['_startSheetCollabCursor'](_0x17b514){const _0x394638=_0x4176ec,_0xb685f4=await this[_0x394638(0x16c)]['requireSession'](_0x17b514),_0xf1decd=this[_0x394638(0x11a)][_0x394638(0x5c5)](_0x16aed0,_0x17b514,_0xb685f4);return _0xf1decd['init'](),_0xf1decd;}async[_0x4176ec(0x580)](_0x5aaa67){const _0x1dd60b=_0x4176ec,_0xf981ad=await this[_0x1dd60b(0x16c)][_0x1dd60b(0x3f8)](_0x5aaa67),_0x5890d3=this[_0x1dd60b(0x11a)]['createInstance'](_0x468dcf,_0x5aaa67,_0xf981ad);return _0x5890d3[_0x1dd60b(0x15b)](),_0x5890d3;}};_0xc8c02a=_0x5a0e21([_0x546ae7(0x0,_0xd3ef1d['IUniverInstanceService']),_0x546ae7(0x1,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d[_0x4176ec(0x5ba)])),_0x546ae7(0x2,_0xd3ef1d[_0x4176ec(0x2bc)](_0x5e8095['CollaborationSessionService']))],_0xc8c02a);const _0x4a13ff=0x14,_0x1a5981=0xc8,_0x5bac0f=0x4,_0x119d8a=0x5;function _0x2c0a4a(_0x17977d,_0x25bd91){const _0x28a1da=_0x4176ec;let {radius:_0x106f82,width:_0x472ed6,height:_0x27a2e9}=_0x25bd91;_0x106f82=_0x106f82!=null?_0x106f82:0x0,_0x472ed6=_0x472ed6!=null?_0x472ed6:0x1e,_0x27a2e9=_0x27a2e9!=null?_0x27a2e9:0x1e;let _0x5b15f7=0x0,_0x5b5e5c=0x0,_0x3403f8=0x0;_0x5b15f7=_0x5b5e5c=_0x3403f8=Math[_0x28a1da(0x1a0)](_0x106f82,_0x472ed6/0x2,_0x27a2e9/0x2),_0x17977d[_0x28a1da(0x5c8)](),_0x17977d['moveTo'](_0x5b15f7,0x0),_0x17977d['lineTo'](_0x472ed6-_0x5b5e5c,0x0),_0x17977d[_0x28a1da(0x591)](_0x472ed6-_0x5b5e5c,_0x5b5e5c,_0x5b5e5c,Math['PI']*0x3/0x2,0x0,!0x1),_0x17977d[_0x28a1da(0x319)](_0x472ed6,_0x27a2e9-_0x3403f8),_0x17977d['arc'](_0x472ed6-_0x3403f8,_0x27a2e9-_0x3403f8,_0x3403f8,0x0,Math['PI']/0x2,!0x1),_0x17977d[_0x28a1da(0x319)](0x0,_0x27a2e9),_0x17977d[_0x28a1da(0x319)](0x0,_0x5b15f7),_0x17977d['arc'](_0x5b15f7,_0x5b15f7,_0x5b15f7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x17977d[_0x28a1da(0x4b3)](),_0x25bd91[_0x28a1da(0x1e1)]&&(_0x17977d[_0x28a1da(0x349)](),_0x17977d['fillStyle']=_0x25bd91[_0x28a1da(0x1e1)],_0x25bd91['fillRule']===_0x28a1da(0x414)?_0x17977d[_0x28a1da(0x1e1)](_0x28a1da(0x414)):_0x17977d[_0x28a1da(0x1e1)](),_0x17977d[_0x28a1da(0x504)]());}class _0x51beab extends _0x141d86['Shape']{constructor(_0x4a3a12,_0x343393){const _0x1396a8=_0x4176ec;super(_0x4a3a12,_0x343393),_0xddf92d(this,_0x1396a8(0x1b6)),_0xddf92d(this,_0x1396a8(0x415)),(this[_0x1396a8(0x1b6)]=_0x343393==null?void 0x0:_0x343393[_0x1396a8(0x1b6)],this['text']=_0x343393==null?void 0x0:_0x343393['text']);}static[_0x4176ec(0x37e)](_0x45f24c,_0x27dd52){const _0x21cd83=_0x4176ec,{text:_0x1c5986,color:_0x570231}=_0x27dd52;_0x45f24c[_0x21cd83(0x349)](),_0x45f24c[_0x21cd83(0x14f)]=_0x21cd83(0x56a);const _0x5abbee=_0x45f24c[_0x21cd83(0x121)](_0x1c5986)[_0x21cd83(0x545)],_0x1da8d3=Math[_0x21cd83(0x1a0)](_0x5abbee+0x2*_0x5bac0f,_0x1a5981);_0x2c0a4a(_0x45f24c,{'height':_0x4a13ff,'radius':0x4,'width':_0x1da8d3,'fill':_0x570231,'evented':!0x1}),_0x45f24c[_0x21cd83(0x21d)]=_0x21cd83(0x2da);const _0x2d52e9=_0x5bac0f,_0x6c6f33=_0x4a13ff-_0x119d8a,_0x27994e=_0x1a5981-0x2*_0x5bac0f;if(_0x5abbee>_0x27994e){let _0x560333='',_0x438f87=0x0;for(const _0x529fb8 of _0x1c5986){const _0x19ff73=_0x45f24c[_0x21cd83(0x121)](_0x529fb8)[_0x21cd83(0x545)];if(_0x438f87+_0x19ff73<=_0x27994e-_0x45f24c[_0x21cd83(0x121)](_0x21cd83(0x535))['width'])_0x560333+=_0x529fb8,_0x438f87+=_0x19ff73;else{_0x560333+=_0x21cd83(0x535);break;}}_0x45f24c[_0x21cd83(0x243)](_0x560333,_0x2d52e9,_0x6c6f33);}else _0x45f24c[_0x21cd83(0x243)](_0x1c5986,_0x2d52e9,_0x6c6f33);_0x45f24c[_0x21cd83(0x504)]();}[_0x4176ec(0x1e8)](_0x2ef225){_0x51beab['drawWith'](_0x2ef225,this);}}const _0x2a3693='collab-text-anchor-',_0x2fdb3c=_0x4176ec(0x429),_0x53214f='collab-rect-range-',_0x2dbd99=0x6,_0x4d623b=1.5,_0x1fbaa3=0x4,_0x17febc=1.5,_0x22d684=_0x4176ec(0x2fb);class _0x2e3927{constructor(_0xb7aacd,_0x37bfff,_0x13bb4b,_0x50eeb5){const _0x5b6c92=_0x4176ec;_0xddf92d(this,_0x5b6c92(0x30d),[]),_0xddf92d(this,'_anchor',null),_0xddf92d(this,_0x5b6c92(0x555),null),_0xddf92d(this,'_anchorDot',null),_0xddf92d(this,'_hideTimer',null),_0xddf92d(this,_0x5b6c92(0x2a6),null),(this[_0x5b6c92(0x373)]=_0xb7aacd,this[_0x5b6c92(0x20f)]=_0x37bfff,this[_0x5b6c92(0x2f2)]=_0x13bb4b,this['_document']=_0x50eeb5,this['_render']());}set[_0x4176ec(0x300)](_0xcd12c4){const _0x21a562=_0x4176ec;_0xcd12c4?(this[_0x21a562(0x23c)]&&this[_0x21a562(0x23c)][_0x21a562(0x113)](),this['_textBubble']&&this[_0x21a562(0x555)][_0x21a562(0x593)]()):(this['_anchorDot']&&this['_anchorDot'][_0x21a562(0x593)](),this['_textBubble']&&this[_0x21a562(0x555)][_0x21a562(0x113)]());}[_0x4176ec(0x275)](){const _0x13abb5=_0x4176ec;for(const _0x36ebc3 of this[_0x13abb5(0x30d)])_0x36ebc3[_0x13abb5(0x275)]();this['_textBubble']&&this[_0x13abb5(0x555)][_0x13abb5(0x275)](),this[_0x13abb5(0x23c)]&&this[_0x13abb5(0x23c)][_0x13abb5(0x275)](),this[_0x13abb5(0x39b)]&&this[_0x13abb5(0x39b)][_0x13abb5(0x275)](),this['_eventUnsubscribe']&&this[_0x13abb5(0x2a6)]();}[_0x4176ec(0x16d)](){const _0x4d4577=_0x4176ec;var _0x575f37;const {_docSkeleton:_0x4b1b74,_document:_0x1bb328}=this,{color:_0x8e896,name:_0x334d70,ranges:_0x1a715d}=this['_cursor'],_0x1875d6=_0x1bb328[_0x4d4577(0x2e5)](),{docsLeft:_0x12d666,docsTop:_0x3e8117}=_0x1875d6,_0x5bf6a5=new _0x580bbe['NodePositionConvertToCursor'](_0x1875d6,_0x4b1b74);for(const {startOffset:_0x11355e,endOffset:_0x21f825,rangeType:_0x162494,segmentId:_0x41575e,segmentPage:_0x37e42a,collapsed:_0x39a5dd,isActive:_0x4111a8}of _0x1a715d){const _0x1e4c7f=_0x4b1b74[_0x4d4577(0x10f)](_0x11355e,!0x0,_0x41575e,_0x37e42a);let _0x370e9f=_0x4b1b74[_0x4d4577(0x10f)](_0x21f825,!0x0,_0x41575e,_0x37e42a);if(_0x370e9f==null&&(_0x370e9f=_0x4b1b74[_0x4d4577(0x10f)](_0x21f825-0x1,!0x1,_0x41575e,_0x37e42a)),_0x4111a8){const {contentBoxPointGroup:_0x1150f6}=_0x5bf6a5['getRangePointData'](_0x370e9f,_0x370e9f);if(_0x1150f6[_0x4d4577(0x2b7)]===0x0)continue;this[_0x4d4577(0x361)](_0x8e896,_0x1150f6,_0x12d666,_0x3e8117,_0x334d70),this[_0x4d4577(0x2a6)]=this[_0x4d4577(0x4b6)]();}if(!_0x39a5dd&&_0x1e4c7f&&_0x370e9f){if(_0x162494===_0xd3ef1d[_0x4d4577(0x538)][_0x4d4577(0x3b5)]){const _0x299b49=new _0x580bbe[(_0x4d4577(0x268))](_0x1875d6,_0x4b1b74),{pointGroup:_0x12a1f9}=(_0x575f37=_0x299b49[_0x4d4577(0x3a0)](_0x1e4c7f,_0x370e9f))!=null?_0x575f37:{};if(_0x12a1f9==null||_0x12a1f9[_0x4d4577(0x2b7)]===0x0)continue;this[_0x4d4577(0x56c)](_0x8e896,_0x12a1f9,_0x12d666,_0x3e8117);}else{const {borderBoxPointGroup:_0x3bdf4f}=_0x5bf6a5[_0x4d4577(0x3a0)](_0x1e4c7f,_0x370e9f);if(_0x3bdf4f['length']===0x0)continue;this[_0x4d4577(0x589)](_0x8e896,_0x3bdf4f,_0x12d666,_0x3e8117);}}}}[_0x4176ec(0x361)](_0xd25939,_0x170201,_0x27d1df,_0x26fe35,_0x19aa27){const _0x18e9b9=_0x4176ec,_0x15cc58=this[_0x18e9b9(0x18c)](_0x170201),{left:_0x3dbb2d,top:_0x12f02e,height:_0x31caf0}=_0x15cc58,_0x4dff1d=this[_0x18e9b9(0x416)](),_0x3388a1=_0x17febc/_0x4dff1d,_0xf9cb93=new _0x141d86['Rect'](_0x2a3693+_0xd3ef1d[_0x18e9b9(0x471)][_0x18e9b9(0x139)](_0x2dbd99),{'left':_0x3dbb2d+_0x27d1df-_0x3388a1,'top':_0x12f02e+_0x26fe35,'height':_0x31caf0,'width':_0x4d623b,'fill':_0xd25939||_0x141d86[_0x18e9b9(0x142)](_0xd3ef1d['COLORS'][_0x18e9b9(0x258)],0x0),'strokeWidth':_0x3388a1,'stroke':_0x22d684,'evented':!0x0});this[_0x18e9b9(0x39b)]=_0xf9cb93,this[_0x18e9b9(0x20f)][_0x18e9b9(0x3ff)](_0xf9cb93,_0x580bbe[_0x18e9b9(0x50a)]);const _0x377681=new _0x141d86['Rect'](_0x2a3693+_0xd3ef1d[_0x18e9b9(0x471)][_0x18e9b9(0x139)](_0x2dbd99),{'left':_0x3dbb2d+_0x27d1df-_0x3388a1,'top':_0x12f02e+_0x26fe35-_0x1fbaa3/0x2,'height':_0x1fbaa3,'width':_0x1fbaa3,'fill':_0xd25939||_0x141d86[_0x18e9b9(0x142)](_0xd3ef1d[_0x18e9b9(0x528)][_0x18e9b9(0x258)],0x0),'strokeWidth':0x0,'stroke':_0xd25939||_0x141d86[_0x18e9b9(0x142)](_0xd3ef1d['COLORS']['black'],0x0),'evented':!0x1});this[_0x18e9b9(0x23c)]=_0x377681,this[_0x18e9b9(0x20f)][_0x18e9b9(0x3ff)](_0x377681,_0x580bbe[_0x18e9b9(0x50a)]);const _0x260824=new _0x51beab(_0x2a3693+_0xd3ef1d[_0x18e9b9(0x471)][_0x18e9b9(0x139)](_0x2dbd99),{'left':_0x3dbb2d+_0x27d1df-_0x3388a1,'top':_0x12f02e+_0x26fe35-_0x4a13ff,'text':_0x19aa27,'color':_0xd25939});this[_0x18e9b9(0x555)]=_0x260824,this[_0x18e9b9(0x20f)][_0x18e9b9(0x3ff)](_0x260824,_0x580bbe[_0x18e9b9(0x50a)]),this['_hover']=!0x1;}[_0x4176ec(0x4b6)](){const _0x11d003=_0x4176ec,_0x338921=this[_0x11d003(0x39b)][_0x11d003(0x281)]['subscribeEvent'](()=>{const _0x33610f=_0x11d003;this[_0x33610f(0x300)]=!0x0;}),_0x4a1f2f=this['_anchor']['onPointerLeave$'][_0x11d003(0x4dc)](()=>{const _0x1d54e0=_0x11d003;this[_0x1d54e0(0x583)]&&clearTimeout(this['_hideTimer']),this[_0x1d54e0(0x583)]=setTimeout(()=>{const _0x2f2e35=_0x1d54e0;this[_0x2f2e35(0x300)]=!0x1;},0x7d0);});return()=>{const _0x5e4283=_0x11d003;_0x338921['unsubscribe'](),_0x4a1f2f[_0x5e4283(0x447)]();};}[_0x4176ec(0x589)](_0x2ff19e,_0x5ed721,_0x5830ed,_0x16800f){const _0x26934a=_0x4176ec,_0x1ee15c=new _0xd3ef1d['ColorKit'](_0x2ff19e)[_0x26934a(0x1a8)](0.2)[_0x26934a(0x3db)](),_0x42e013=new _0x141d86['RegularPolygon'](_0x2fdb3c+_0xd3ef1d[_0x26934a(0x471)]['generateRandomId'](_0x2dbd99),{'pointsGroup':_0x5ed721,'fill':_0x1ee15c||_0x141d86[_0x26934a(0x142)](_0xd3ef1d[_0x26934a(0x528)][_0x26934a(0x258)],0.2),'left':_0x5830ed,'top':_0x16800f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x26934a(0x455)](_0x42e013),this[_0x26934a(0x20f)]['addObject'](_0x42e013,_0x580bbe[_0x26934a(0x50a)]);}[_0x4176ec(0x56c)](_0x5ad1e5,_0x19268f,_0x10fd0f,_0x4409ad){const _0x1b05f5=_0x4176ec,_0x163fbf=new _0xd3ef1d[(_0x1b05f5(0x5c7))](_0x5ad1e5)[_0x1b05f5(0x1a8)](0.2)[_0x1b05f5(0x3db)](),_0x57a4ec=new _0x141d86[(_0x1b05f5(0x46c))](_0x53214f+_0xd3ef1d[_0x1b05f5(0x471)][_0x1b05f5(0x139)](_0x2dbd99),{'pointsGroup':_0x19268f,'fill':_0x163fbf||_0x141d86[_0x1b05f5(0x142)](_0xd3ef1d[_0x1b05f5(0x528)][_0x1b05f5(0x258)],0.2),'left':_0x10fd0f,'top':_0x4409ad,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1b05f5(0x30d)][_0x1b05f5(0x455)](_0x57a4ec),this[_0x1b05f5(0x20f)][_0x1b05f5(0x3ff)](_0x57a4ec,_0x580bbe[_0x1b05f5(0x50a)]);}[_0x4176ec(0x18c)](_0x4b8361){const _0x59d8d1=_0x4b8361[0x0],_0x2cf6b9=_0x59d8d1[0x0],_0x3ba49a=_0x59d8d1[0x2],{x:_0x5b70aa,y:_0x3ff050}=_0x2cf6b9,{x:_0x3315d8,y:_0x1d48ac}=_0x3ba49a;return{'left':_0x5b70aa,'top':_0x3ff050,'width':_0x3315d8-_0x5b70aa,'height':_0x1d48ac-_0x3ff050};}[_0x4176ec(0x416)](){const _0x15d3c7=_0x4176ec,{scaleX:_0x64d563,scaleY:_0x1998a2}=this['_scene'][_0x15d3c7(0x4b8)]();return Math[_0x15d3c7(0x3f3)](_0x64d563,_0x1998a2);}}var _0x11c32f=Object[_0x4176ec(0x2b4)],_0x32c8d7=Object[_0x4176ec(0x48c)],_0x580f55=(_0x4efabf,_0x5a7b35,_0x59bbd9,_0x11fe9f)=>{const _0x242670=_0x4176ec;for(var _0x11d7f4=_0x11fe9f>0x1?void 0x0:_0x11fe9f?_0x32c8d7(_0x5a7b35,_0x59bbd9):_0x5a7b35,_0x1fe366=_0x4efabf[_0x242670(0x2b7)]-0x1,_0x478e22;_0x1fe366>=0x0;_0x1fe366--)(_0x478e22=_0x4efabf[_0x1fe366])&&(_0x11d7f4=(_0x11fe9f?_0x478e22(_0x5a7b35,_0x59bbd9,_0x11d7f4):_0x478e22(_0x11d7f4))||_0x11d7f4);return _0x11fe9f&&_0x11d7f4&&_0x11c32f(_0x5a7b35,_0x59bbd9,_0x11d7f4),_0x11d7f4;},_0x3617a2=(_0x46015c,_0x4b0697)=>(_0x25f692,_0x25550d)=>_0x4b0697(_0x25f692,_0x25550d,_0x46015c);let _0x456732=class extends _0xd3ef1d[_0x4176ec(0x19c)]{constructor(_0x5abbb2,_0x374e5f,_0x5d3eef,_0x485445,_0x172584){const _0x4bf4d1=_0x4176ec;super(),_0xddf92d(this,_0x4bf4d1(0x287),[]),_0xddf92d(this,_0x4bf4d1(0x191),[]),(this[_0x4bf4d1(0x52f)]=_0x5abbb2,this[_0x4bf4d1(0x421)]=_0x374e5f,this[_0x4bf4d1(0x34b)]=_0x5d3eef,this['_commandService']=_0x485445,this[_0x4bf4d1(0x472)]=_0x172584,this[_0x4bf4d1(0x3d5)]());}[_0x4176ec(0x3d5)](){const _0x5687b0=_0x4176ec,_0xd6aad3=this[_0x5687b0(0x52f)][_0x5687b0(0x2cc)],_0x55cbfb=this[_0x5687b0(0x421)];this['disposeWithMe'](_0x2c8065[_0x5687b0(0x231)]([this['_collabCursorController'][_0x5687b0(0x4b9)](_0xd6aad3),this[_0x5687b0(0x472)][_0x5687b0(0x3d3)]])[_0x5687b0(0x579)](_0x5cc70d['map'](([_0x4a7f72,_0x38f737])=>({'skeleton':_0x55cbfb['getSkeleton'](),'cursors':[..._0x4a7f72[_0x5687b0(0x4aa)]()][_0x5687b0(0x4ca)](_0x517c78=>({..._0x517c78,'color':_0x38f737[_0x517c78[_0x5687b0(0x1b6)]]}))})))[_0x5687b0(0x221)](_0xb6aaa1=>{const _0x4c9d5b=_0x5687b0;if(this[_0x4c9d5b(0x2df)](),_0xb6aaa1){const {skeleton:_0x4747a0,cursors:_0x57cfc6}=_0xb6aaa1;this[_0x4c9d5b(0x1d2)](_0x4747a0,_0x57cfc6);}})),this[_0x5687b0(0x5b5)](),this[_0x5687b0(0x5b6)]();}[_0x4176ec(0x1d2)](_0x4667f0,_0x3f1312){const _0x161e35=_0x4176ec,{scene:_0x5e4d6c,mainComponent:_0x33336d}=this[_0x161e35(0x52f)],_0x195fbc=_0x3f1312[_0x161e35(0x40d)](_0x330753=>new _0x2e3927(_0x330753,_0x5e4d6c,_0x4667f0,_0x33336d));this[_0x161e35(0x287)]=_0x195fbc,this['_cursors']=_0x3f1312;}['_refreshCollabCursors'](){const _0x5edb14=_0x4176ec;this[_0x5edb14(0x2df)]();const {scene:_0x5251bf,mainComponent:_0x3695b5}=this[_0x5edb14(0x52f)],_0x4dee64=this[_0x5edb14(0x421)][_0x5edb14(0x304)](),_0x347e21=this['_cursors'][_0x5edb14(0x40d)](_0xb4c831=>new _0x2e3927(_0xb4c831,_0x5251bf,_0x4dee64,_0x3695b5));this['_cursorShapes']=_0x347e21;}[_0x4176ec(0x2df)](){const _0x4ca7f0=_0x4176ec;this['_cursorShapes'][_0x4ca7f0(0x193)](_0x1e2dc5=>_0x1e2dc5['dispose']()),this['_cursorShapes']=[];}[_0x4176ec(0x5b6)](){const _0x181799=_0x4176ec,_0x1214e4=[_0x580bbe[_0x181799(0x44f)]['id']];this['disposeWithMe'](this[_0x181799(0x135)][_0x181799(0x131)](_0x36c3e6=>{const _0x1d0b04=_0x181799;_0x1214e4[_0x1d0b04(0x417)](_0x36c3e6['id'])&&_0x36c3e6[_0x1d0b04(0x42d)][_0x1d0b04(0x2cc)]===this[_0x1d0b04(0x52f)][_0x1d0b04(0x2cc)]&&this[_0x1d0b04(0x556)]();}));}[_0x4176ec(0x5b5)](){const _0x3de7e6=_0x4176ec;this['disposeWithMe'](_0xd3ef1d[_0x3de7e6(0x435)](this[_0x3de7e6(0x52f)]['engine'][_0x3de7e6(0x1ff)])['pipe'](_0x5cc70d['filter'](_0xe27e74=>_0xe27e74[_0x3de7e6(0x286)]===_0x141d86['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x5cc70d[_0x3de7e6(0x566)](0x10))[_0x3de7e6(0x221)](()=>{const _0x13a4f2=_0x3de7e6;this[_0x13a4f2(0x556)]();}));}};_0x456732=_0x580f55([_0x3617a2(0x1,_0xd3ef1d[_0x4176ec(0x2bc)](_0x4c13e7['DocSkeletonManagerService'])),_0x3617a2(0x2,_0xd3ef1d[_0x4176ec(0x2bc)](_0xc8c02a)),_0x3617a2(0x3,_0xd3ef1d['ICommandService']),_0x3617a2(0x4,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d[_0x4176ec(0x52e)]))],_0x456732);const _0x4f2de8=0x1,_0x2ce6de=1.5;class _0x2ea295 extends _0x141d86[_0x4176ec(0x23a)]{constructor(_0x176a93,_0x37a43e){const _0xb31c18=_0x4176ec;super(_0x176a93,_0x37a43e),_0xddf92d(this,'_color'),_0xddf92d(this,_0xb31c18(0x3ba),!0x1),_0xddf92d(this,_0xb31c18(0x35d)),_0xddf92d(this,_0xb31c18(0x291),''),_0xddf92d(this,'_labelPosition',_0xb31c18(0x110)),_0xddf92d(this,'_backgroundColor'),(_0x37a43e&&this[_0xb31c18(0x195)](_0x37a43e),this[_0xb31c18(0x281)]['subscribeEvent'](()=>this[_0xb31c18(0x195)]({'hovered':!0x0})),this[_0xb31c18(0x2f6)][_0xb31c18(0x4dc)](()=>this[_0xb31c18(0x195)]({'hovered':!0x1})));}[_0x4176ec(0x195)](_0x4daa30){const _0x13b08d=_0x4176ec;var _0x8f5946,_0x17521f,_0x28cecf,_0x20b3fb,_0x59697d,_0x17cfb8;this['_color']=(_0x8f5946=_0x4daa30[_0x13b08d(0x1b6)])!=null?_0x8f5946:this['_color'],this['_hovered']=(_0x17521f=_0x4daa30[_0x13b08d(0x1a4)])!=null?_0x17521f:this[_0x13b08d(0x3ba)],this[_0x13b08d(0x35d)]=(_0x28cecf=_0x4daa30[_0x13b08d(0x1ca)])!=null?_0x28cecf:this[_0x13b08d(0x35d)],this[_0x13b08d(0x291)]=(_0x20b3fb=_0x4daa30[_0x13b08d(0x36a)])!=null?_0x20b3fb:this[_0x13b08d(0x291)],this[_0x13b08d(0x496)]=(_0x59697d=_0x4daa30[_0x13b08d(0x458)])!=null?_0x59697d:this[_0x13b08d(0x496)],this[_0x13b08d(0x1cc)]=(_0x17cfb8=_0x4daa30[_0x13b08d(0x595)])!=null?_0x17cfb8:this[_0x13b08d(0x1cc)],this[_0x13b08d(0x17e)]({'width':_0x4daa30['width'],'height':_0x4daa30[_0x13b08d(0x39a)]});}[_0x4176ec(0x309)](_0x4c12d7){const _0x178680=_0x4176ec,{row:_0x4306f2,column:_0x7ebbec}=_0x4c12d7;if(_0x4306f2>=this[_0x178680(0x35d)][_0x178680(0x25c)]&&_0x4306f2<=this['_range'][_0x178680(0x2cf)]&&_0x7ebbec>=this['_range'][_0x178680(0x1d7)]&&_0x7ebbec<=this['_range'][_0x178680(0x34e)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x178680(0x195)]({'hovered':!0x1});}[_0x4176ec(0x3fc)](_0x22c7ad){return!0x1;}[_0x4176ec(0x1e8)](_0x4f7df8){const _0x2a1c15=_0x4176ec;_0x141d86[_0x2a1c15(0x4db)][_0x2a1c15(0x37e)](_0x4f7df8,{'width':this[_0x2a1c15(0x545)],'height':this[_0x2a1c15(0x39a)],'strokeWidth':_0x2ce6de,'stroke':this[_0x2a1c15(0x4e4)],'evented':!0x1,'fill':this[_0x2a1c15(0x1cc)]}),this[_0x2a1c15(0x3ba)]&&(_0x4f7df8[_0x2a1c15(0x349)](),_0x4f7df8[_0x2a1c15(0x20d)](0x1,0x0,0x0,0x1,this[_0x2a1c15(0x545)],this['_labelPosition']===_0x2a1c15(0x3fd)?0x0:-_0x4a13ff),_0x51beab[_0x2a1c15(0x37e)](_0x4f7df8,{'text':this[_0x2a1c15(0x291)],'color':this[_0x2a1c15(0x4e4)]}),_0x4f7df8[_0x2a1c15(0x504)]());}}var _0x3f62b5=Object[_0x4176ec(0x2b4)],_0x291ebe=Object[_0x4176ec(0x48c)],_0x2a2ce5=(_0x1fb11c,_0x1c8007,_0x13e9aa,_0x11bb25)=>{const _0xe47a7e=_0x4176ec;for(var _0x162019=_0x11bb25>0x1?void 0x0:_0x11bb25?_0x291ebe(_0x1c8007,_0x13e9aa):_0x1c8007,_0xba8dc1=_0x1fb11c[_0xe47a7e(0x2b7)]-0x1,_0x516c2d;_0xba8dc1>=0x0;_0xba8dc1--)(_0x516c2d=_0x1fb11c[_0xba8dc1])&&(_0x162019=(_0x11bb25?_0x516c2d(_0x1c8007,_0x13e9aa,_0x162019):_0x516c2d(_0x162019))||_0x162019);return _0x11bb25&&_0x162019&&_0x3f62b5(_0x1c8007,_0x13e9aa,_0x162019),_0x162019;},_0x5d7dc3=(_0x25410b,_0x207c8d)=>(_0x5b0e17,_0x58d7a8)=>_0x207c8d(_0x5b0e17,_0x58d7a8,_0x25410b);const _0x10f4d4=0x1389;let _0xf8b72f=class extends _0xd3ef1d['RxDisposable']{constructor(_0x28cdd1,_0x392977,_0x2bedad,_0x3421c3){const _0x16a985=_0x4176ec;super(),_0xddf92d(this,_0x16a985(0x191),new Set()),_0xddf92d(this,_0x16a985(0x126),null),(this[_0x16a985(0x52f)]=_0x28cdd1,this['_sheetSkeletonManagerService']=_0x392977,this[_0x16a985(0x34b)]=_0x2bedad,this[_0x16a985(0x472)]=_0x3421c3,this[_0x16a985(0x3d5)]());}[_0x4176ec(0x3d5)](){const _0x13d2bb=_0x4176ec;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x13d2bb(0x579)](_0x5cc70d[_0x13d2bb(0x50b)](this[_0x13d2bb(0x484)]),_0x5cc70d['switchMap'](_0x421ac6=>{const _0x5ec3ae=_0x13d2bb;if(_0x421ac6){const _0xcdd128=_0x421ac6[_0x5ec3ae(0x30f)];return _0x2c8065[_0x5ec3ae(0x231)](this[_0x5ec3ae(0x34b)][_0x5ec3ae(0x4b9)](this[_0x5ec3ae(0x52f)][_0x5ec3ae(0x2cc)]),this[_0x5ec3ae(0x472)][_0x5ec3ae(0x3d3)])[_0x5ec3ae(0x579)](_0x5cc70d[_0x5ec3ae(0x40d)](([_0x2d67a0,_0x23a234])=>{const _0x1afb37=_0x5ec3ae,_0x4ed213=new Map();return _0x2d67a0[_0x1afb37(0x193)]((_0x16edb5,_0x2838ff)=>{const _0x2143c3=_0x1afb37;if(_0x16edb5[_0x2143c3(0x260)]===_0xcdd128){const _0x403381={..._0x16edb5};_0x403381[_0x2143c3(0x1b6)]=_0x23a234[_0x16edb5[_0x2143c3(0x1b6)]],_0x4ed213[_0x2143c3(0x266)](_0x2838ff,_0x403381);}}),{'skeleton':_0x421ac6,'cursors':_0x4ed213};}));}return _0x2c8065['of']({'skeleton':null,'cursors':new Map()});}))[_0x13d2bb(0x221)](({skeleton:_0x540e73,cursors:_0xbc34f5})=>{const _0x1da34c=_0x13d2bb;this[_0x1da34c(0x2df)](),_0x540e73&&this[_0x1da34c(0x1d2)](_0x540e73,_0xbc34f5);}),this['_sheetSkeletonManagerService'][_0x13d2bb(0x1e0)]['subscribe'](_0x1ed314=>{const _0x68f5f1=_0x13d2bb;if(_0x1ed314==null)return;const {skeleton:_0x59966a}=_0x1ed314,{scene:_0x191141}=this[_0x68f5f1(0x52f)];_0x191141[_0x68f5f1(0x48f)][_0x68f5f1(0x4dc)](_0xd3ef1d[_0x68f5f1(0x57d)](_0xb3d2ec=>{const _0x141c79=_0x68f5f1;var _0x31b10a,_0x435877;const {offsetX:_0xa09430,offsetY:_0x4ab708}=_0xb3d2ec,{x:_0x356e99,y:_0x5716a8}=_0x191141[_0x141c79(0x3e0)](_0x141d86[_0x141c79(0x4d9)][_0x141c79(0x354)]([_0xa09430,_0x4ab708])),{scaleX:_0x1ed4a2,scaleY:_0x469dee}=_0x191141['getAncestorScale'](),_0x27a15a=_0x191141[_0x141c79(0x42e)](_0x4c24d4[_0x141c79(0x36d)]['VIEW_MAIN']),_0x5428d7=_0x191141[_0x141c79(0x3bf)](_0x141d86[_0x141c79(0x4d9)][_0x141c79(0x354)]([_0x356e99,_0x5716a8]),_0x27a15a),_0x6eff9a=_0x59966a['getCellPositionByOffset'](_0xa09430,_0x4ab708,_0x1ed4a2,_0x469dee,_0x5428d7);((_0x31b10a=this[_0x141c79(0x126)])==null?void 0x0:_0x31b10a[_0x141c79(0x3b6)])===_0x6eff9a[_0x141c79(0x3b6)]&&((_0x435877=this[_0x141c79(0x126)])==null?void 0x0:_0x435877[_0x141c79(0x434)])===_0x6eff9a['row']||this[_0x141c79(0x191)][_0x141c79(0x193)](_0xde21fa=>{const _0x35c9d7=_0x141c79;_0xde21fa[_0x35c9d7(0x309)](_0x6eff9a);});},0x64));});}[_0x4176ec(0x1d2)](_0x11d6f4,_0xc730a2){const _0x5d0a71=_0x4176ec;var _0x443df6;const _0x54c193=(_0x443df6=this[_0x5d0a71(0x2d4)]['getCurrent']())==null?void 0x0:_0x443df6['skeleton'];if(!_0x54c193)return;const _0x1c0750=this['_getSheetObject']();if(!_0x1c0750)return;this[_0x5d0a71(0x191)]['forEach'](_0x36183b=>{const _0x2ad1a0=_0x5d0a71;_0x36183b[_0x2ad1a0(0x333)]();});const {scene:_0x1c85c7}=_0x1c0750,_0x2a2441=_0x499d75(Array['from'](_0xc730a2[_0x5d0a71(0x4aa)]()))[_0x5d0a71(0x40d)](_0x1d67be=>{const _0x3333d9=_0x5d0a71,{color:_0x34ab41,range:_0x18f5e5,name:_0xc647d5,selection:_0x596dfb,sheetID:_0x385f16}=_0x1d67be,{startColumn:_0x1a007f,startRow:_0x42cf6f,endColumn:_0x299e0f,endRow:_0x19b75e}=_0x18f5e5,_0x306c0c=_0x4c24d4[_0x3333d9(0x42c)](_0x42cf6f,_0x1a007f,_0x1c85c7,_0x54c193),_0x1886ef=_0x4c24d4[_0x3333d9(0x42c)](_0x19b75e,_0x299e0f,_0x1c85c7,_0x54c193),{columnHeaderHeightAndMarginTop:_0x485edc}=_0x54c193,{startX:_0x548825,startY:_0x1e3072}=_0x306c0c,{endX:_0x4bf4b0,endY:_0x325855}=_0x1886ef,_0x212a73=_0x4bf4b0-_0x548825,_0x50c325=_0x325855-_0x1e3072,_0x92ac9b={'labelPosition':_0x1e3072-_0x485edc>=_0x4a13ff?_0x3333d9(0x110):_0x3333d9(0x3fd),'sheetID':_0x385f16,'range':_0x18f5e5,'color':_0x34ab41,'name':_0xc647d5,'selection':_0x596dfb,'left':_0x548825,'top':_0x1e3072,'width':_0x212a73,'height':_0x50c325,'evented':!0x1,'zIndex':_0x10f4d4};return new _0x2ea295(_0xc647d5,_0x92ac9b);});_0x1c85c7[_0x5d0a71(0x1fb)](_0x2a2441,_0x4f2de8),this[_0x5d0a71(0x191)]=new Set(_0x2a2441);}['_removeCollabCursors'](){const _0x368b60=_0x4176ec;var _0x3d9986;(_0x3d9986=this[_0x368b60(0x191)])==null||_0x3d9986[_0x368b60(0x193)](_0x19c267=>_0x19c267[_0x368b60(0x275)]());}['_getSheetObject'](){const _0xd182cc=_0x4176ec;return _0x4c24d4['getSheetObject'](this['_context'][_0xd182cc(0x115)],this[_0xd182cc(0x52f)]);}};_0xf8b72f=_0x2a2ce5([_0x5d7dc3(0x1,_0xd3ef1d[_0x4176ec(0x2bc)](_0x4c24d4['SheetSkeletonManagerService'])),_0x5d7dc3(0x2,_0xd3ef1d[_0x4176ec(0x2bc)](_0xc8c02a)),_0x5d7dc3(0x3,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d[_0x4176ec(0x52e)]))],_0xf8b72f);function _0x499d75(_0x2d4aeb){const _0x490fb7=_0x4176ec,_0x247cce=new Map();return _0x2d4aeb['forEach'](_0x4889a5=>{const _0xaf7c6=_0x352d;if(_0x247cce[_0xaf7c6(0x4cf)](_0x4889a5['selection'])){const _0x10a095=_0x247cce[_0xaf7c6(0x313)](_0x4889a5[_0xaf7c6(0x3af)]);_0x10a095[_0xaf7c6(0x36a)]+=',\x20'+_0x4889a5[_0xaf7c6(0x36a)];}else _0x247cce[_0xaf7c6(0x266)](_0x4889a5[_0xaf7c6(0x3af)],_0x4889a5);}),Array['from'](_0x247cce[_0x490fb7(0x4aa)]());}var _0x4ff87d=function(){const _0x236867=_0x4176ec;return _0x4ff87d=Object[_0x236867(0x2a2)]||function(_0x22dc35){const _0x42aaba=_0x236867;for(var _0x8103b2,_0x4e938b=0x1,_0x3a9006=arguments[_0x42aaba(0x2b7)];_0x4e938b<_0x3a9006;_0x4e938b++){_0x8103b2=arguments[_0x4e938b];for(var _0x51686d in _0x8103b2)Object[_0x42aaba(0x3a9)]['hasOwnProperty'][_0x42aaba(0x35e)](_0x8103b2,_0x51686d)&&(_0x22dc35[_0x51686d]=_0x8103b2[_0x51686d]);}return _0x22dc35;},_0x4ff87d[_0x236867(0x39e)](this,arguments);},_0x5001c8=function(_0x5db452,_0x5ad5e4){const _0x2c9f1a=_0x4176ec;var _0x46e1d5={};for(var _0x4b9182 in _0x5db452)Object[_0x2c9f1a(0x3a9)][_0x2c9f1a(0x454)][_0x2c9f1a(0x35e)](_0x5db452,_0x4b9182)&&_0x5ad5e4[_0x2c9f1a(0x553)](_0x4b9182)<0x0&&(_0x46e1d5[_0x4b9182]=_0x5db452[_0x4b9182]);if(_0x5db452!=null&&typeof Object[_0x2c9f1a(0x4c7)]=='function'){for(var _0x2c1c57=0x0,_0x4b9182=Object[_0x2c9f1a(0x4c7)](_0x5db452);_0x2c1c57<_0x4b9182[_0x2c9f1a(0x2b7)];_0x2c1c57++)_0x5ad5e4[_0x2c9f1a(0x553)](_0x4b9182[_0x2c1c57])<0x0&&Object['prototype'][_0x2c9f1a(0x28e)][_0x2c9f1a(0x35e)](_0x5db452,_0x4b9182[_0x2c1c57])&&(_0x46e1d5[_0x4b9182[_0x2c1c57]]=_0x5db452[_0x4b9182[_0x2c1c57]]);}return _0x46e1d5;},_0x5f29b9=_0x1fccfb[_0x4176ec(0x5ce)](function(_0x5577a,_0x5dcd73){const _0x216ecc=_0x4176ec;var _0x317c03=_0x5577a[_0x216ecc(0x55a)],_0x4714db=_0x5577a['id'],_0x124f29=_0x5577a[_0x216ecc(0x1e5)],_0x23a464=_0x5577a[_0x216ecc(0x51a)],_0x22099f=_0x5001c8(_0x5577a,[_0x216ecc(0x55a),'id','className','extend']),_0x272f5b=_0x216ecc(0x26e)[_0x216ecc(0x526)](_0x4714db,'\x20')[_0x216ecc(0x526)](_0x124f29||'')['trim'](),_0x388433=_0x1fccfb[_0x216ecc(0x432)]('_'[_0x216ecc(0x526)](_0x3a3d49()));return _0x37a31b(_0x317c03,''[_0x216ecc(0x526)](_0x4714db),{'defIds':_0x317c03[_0x216ecc(0x59d)],'idSuffix':_0x388433[_0x216ecc(0x448)]},_0x4ff87d({'ref':_0x5dcd73,'className':_0x272f5b},_0x22099f),_0x23a464);});function _0x37a31b(_0x5c8247,_0x9e2d51,_0x26422b,_0x20d92d,_0x48985f){const _0x31495f=_0x4176ec;return _0x1fccfb[_0x31495f(0x303)](_0x5c8247[_0x31495f(0x5d3)],_0x4ff87d(_0x4ff87d({'key':_0x9e2d51},_0x53a355(_0x5c8247,_0x26422b,_0x48985f)),_0x20d92d),(_0x1c0d25(_0x5c8247,_0x26422b)['children']||[])['map'](function(_0x11cc50,_0x1f0726){const _0x5bb928=_0x31495f;return _0x37a31b(_0x11cc50,''[_0x5bb928(0x526)](_0x9e2d51,'-')[_0x5bb928(0x526)](_0x5c8247[_0x5bb928(0x5d3)],'-')['concat'](_0x1f0726),_0x26422b,void 0x0,_0x48985f);}));}function _0x53a355(_0x109048,_0x2a4f3d,_0x204ae5){const _0xdd9ee6=_0x4176ec;var _0x3f369d=_0x4ff87d({},_0x109048[_0xdd9ee6(0x244)]);_0x204ae5!=null&&_0x204ae5['colorChannel1']&&_0x3f369d[_0xdd9ee6(0x1e1)]===_0xdd9ee6(0x390)&&(_0x3f369d[_0xdd9ee6(0x1e1)]=_0x204ae5['colorChannel1']);var _0x147398=_0x2a4f3d[_0xdd9ee6(0x59d)];return!_0x147398||_0x147398['length']===0x0||(_0x109048[_0xdd9ee6(0x5d3)]==='use'&&_0x3f369d[_0xdd9ee6(0x3fb)]&&(_0x3f369d[_0xdd9ee6(0x3fb)]=_0x3f369d[_0xdd9ee6(0x3fb)]+_0x2a4f3d['idSuffix']),Object[_0xdd9ee6(0x30a)](_0x3f369d)[_0xdd9ee6(0x193)](function(_0x26ebf1){const _0x45fe55=_0xdd9ee6;var _0x441e47=_0x26ebf1[0x0],_0x370c21=_0x26ebf1[0x1];typeof _0x370c21==_0x45fe55(0x199)&&(_0x3f369d[_0x441e47]=_0x370c21['replace'](/url\(#(.*)\)/,_0x45fe55(0x1b1)[_0x45fe55(0x526)](_0x2a4f3d[_0x45fe55(0x1f2)],')')));})),_0x3f369d;}function _0x1c0d25(_0x277118,_0x10b9be){const _0x1972f8=_0x4176ec;var _0x4cf5d4,_0x502af8=_0x10b9be[_0x1972f8(0x59d)];return!_0x502af8||_0x502af8[_0x1972f8(0x2b7)]===0x0?_0x277118:_0x277118[_0x1972f8(0x5d3)]===_0x1972f8(0x5a0)&&(!((_0x4cf5d4=_0x277118[_0x1972f8(0x25f)])===null||_0x4cf5d4===void 0x0)&&_0x4cf5d4[_0x1972f8(0x2b7)])?_0x4ff87d(_0x4ff87d({},_0x277118),{'children':_0x277118[_0x1972f8(0x25f)][_0x1972f8(0x40d)](function(_0x1b10bf){const _0x52a2d7=_0x1972f8;return typeof _0x1b10bf[_0x52a2d7(0x244)]['id']=='string'&&_0x502af8&&_0x502af8['indexOf'](_0x1b10bf[_0x52a2d7(0x244)]['id'])>-0x1?_0x4ff87d(_0x4ff87d({},_0x1b10bf),{'attrs':_0x4ff87d(_0x4ff87d({},_0x1b10bf[_0x52a2d7(0x244)]),{'id':_0x1b10bf[_0x52a2d7(0x244)]['id']+_0x10b9be[_0x52a2d7(0x1f2)]})}):_0x1b10bf;})}):_0x277118;}function _0x3a3d49(){const _0x2d611b=_0x4176ec;return Math[_0x2d611b(0x2f3)]()[_0x2d611b(0x530)](0x24)['substring'](0x2,0x8);}_0x5f29b9[_0x4176ec(0x12e)]=_0x4176ec(0x2ed);var _0x3c9df0={'tag':_0x4176ec(0x57a),'attrs':{'fill':_0x4176ec(0x547),'viewBox':'0\x200\x2016\x2016','width':_0x4176ec(0x337),'height':_0x4176ec(0x337)},'children':[{'tag':'g','attrs':{'clipPath':_0x4176ec(0x2ef)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','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':'round','strokeLinejoin':_0x4176ec(0x4fe),'strokeWidth':1.2}}]},{'tag':_0x4176ec(0x5a0),'attrs':{},'children':[{'tag':_0x4176ec(0x13d),'attrs':{'id':_0x4176ec(0x362)},'children':[{'tag':_0x4176ec(0x21f),'attrs':{'fill':_0x4176ec(0x2d0),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x3d85e2=_0x1fccfb[_0x4176ec(0x5ce)](function(_0x433e27,_0x5dbdfb){const _0xfa82dd=_0x4176ec;return _0x1fccfb[_0xfa82dd(0x303)](_0x5f29b9,Object[_0xfa82dd(0x2a2)]({},_0x433e27,{'id':_0xfa82dd(0x37f),'ref':_0x5dbdfb,'icon':_0x3c9df0}));});_0x3d85e2['displayName']=_0x4176ec(0x2af);var _0x49dea7={'tag':'svg','attrs':{'fill':_0x4176ec(0x547),'viewBox':_0x4176ec(0x3f4),'width':_0x4176ec(0x337),'height':_0x4176ec(0x337)},'children':[{'tag':'g','attrs':{'clipPath':_0x4176ec(0x2f1)},'children':[{'tag':_0x4176ec(0x21f),'attrs':{'stroke':_0x4176ec(0x187),'d':_0x4176ec(0x29f),'strokeLinecap':_0x4176ec(0x4fe),'strokeLinejoin':_0x4176ec(0x4fe),'strokeWidth':1.2}}]},{'tag':_0x4176ec(0x5a0),'attrs':{},'children':[{'tag':_0x4176ec(0x13d),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x4176ec(0x21f),'attrs':{'fill':_0x4176ec(0x2d0),'d':_0x4176ec(0x207),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0xf49b5f=_0x1fccfb[_0x4176ec(0x5ce)](function(_0x4fc7db,_0x5ca744){const _0x1efcfa=_0x4176ec;return _0x1fccfb[_0x1efcfa(0x303)](_0x5f29b9,Object[_0x1efcfa(0x2a2)]({},_0x4fc7db,{'id':_0x1efcfa(0x459),'ref':_0x5ca744,'icon':_0x49dea7}));});_0xf49b5f['displayName']=_0x4176ec(0x5cb);function _0x20a56d(_0x5c8f04){const _0x386c10=_0x4176ec;var _0x295bec,_0x1f3abd,_0x1c94a6='';if(typeof _0x5c8f04=='string'||typeof _0x5c8f04==_0x386c10(0x1ad))_0x1c94a6+=_0x5c8f04;else{if(typeof _0x5c8f04==_0x386c10(0x3a4)){if(Array[_0x386c10(0x317)](_0x5c8f04)){var _0x336c6a=_0x5c8f04[_0x386c10(0x2b7)];for(_0x295bec=0x0;_0x295bec<_0x336c6a;_0x295bec++)_0x5c8f04[_0x295bec]&&(_0x1f3abd=_0x20a56d(_0x5c8f04[_0x295bec]))&&(_0x1c94a6&&(_0x1c94a6+='\x20'),_0x1c94a6+=_0x1f3abd);}else{for(_0x1f3abd in _0x5c8f04)_0x5c8f04[_0x1f3abd]&&(_0x1c94a6&&(_0x1c94a6+='\x20'),_0x1c94a6+=_0x1f3abd);}}}return _0x1c94a6;}function _0x9e5e01(){const _0x12b296=_0x4176ec;for(var _0x3047cc,_0x2d49cb,_0x33f8df=0x0,_0x4f06b7='',_0x34971d=arguments[_0x12b296(0x2b7)];_0x33f8df<_0x34971d;_0x33f8df++)(_0x3047cc=arguments[_0x33f8df])&&(_0x2d49cb=_0x20a56d(_0x3047cc))&&(_0x4f06b7&&(_0x4f06b7+='\x20'),_0x4f06b7+=_0x2d49cb);return _0x4f06b7;}const _0x587e43={'onlineStatusIcon':_0x4176ec(0x14e),'onlineStatusTitle':_0x4176ec(0x2d6),'onlineStatus':_0x4176ec(0x16f),'online':_0x4176ec(0x119),'offline':_0x4176ec(0x3a7)};function _0x41e6c7(_0x23944c){const _0x382e87=_0x4176ec;switch(_0x23944c){case _0x52e01f[_0x382e87(0x10e)]:return _0x382e87(0x246);case _0x52e01f[_0x382e87(0x15c)]:return _0x382e87(0x430);case _0x52e01f[_0x382e87(0x250)]:return _0x382e87(0x40f);case _0x52e01f[_0x382e87(0x2f0)]:return'collabStatus.notCollab';case _0x52e01f[_0x382e87(0x3d4)]:case _0x52e01f[_0x382e87(0x10c)]:return _0x382e87(0x47c);case _0x52e01f[_0x382e87(0x32d)]:case _0x52e01f[_0x382e87(0x18e)]:return _0x382e87(0x441);}}function _0x23a232(_0x49feed){const _0x1b2e14=_0x4176ec,{status$:_0x7dbac2}=_0x49feed,_0x490175=_0x45bd5d['useObservable'](_0x7dbac2,_0x52e01f['NOT_COLLAB']),_0x52ba5d=_0xd3ef1d[_0x1b2e14(0x17f)](_0xd3ef1d[_0x1b2e14(0x2b3)]),_0x2ffaec=_0xd3ef1d[_0x1b2e14(0x17f)](_0x5e8095[_0x1b2e14(0x48a)]),_0x46d353=_0x490175!==_0x52e01f['OFFLINE'],_0x10532e=_0x52ba5d['t'](_0x41e6c7(_0x490175)),_0x1de5e4=_0x9e5e01(_0x587e43['onlineStatus'],{[_0x587e43['online']]:_0x46d353,[_0x587e43[_0x1b2e14(0x151)]]:!_0x46d353}),_0x1f693f=_0x46d353?_0x1fccfb[_0x1b2e14(0x303)](_0xf49b5f,null):_0x1fccfb[_0x1b2e14(0x303)](_0x3d85e2,null),_0x2f9b79=_0x1fccfb[_0x1b2e14(0x14c)](()=>{const _0x21878f=_0x1b2e14;_0x46d353||_0x2ffaec[_0x21878f(0x283)]();},[_0x46d353,_0x2ffaec]);function _0x3cd17c(){const _0x363a8c=_0x1b2e14;return _0x1fccfb['createElement'](_0x363a8c(0x4c8),{'className':_0x1de5e4,'onClick':_0x2f9b79},_0x1fccfb[_0x363a8c(0x303)]('div',{'className':_0x587e43[_0x363a8c(0x5a9)]},_0x1f693f),_0x1fccfb[_0x363a8c(0x303)](_0x363a8c(0x4c8),{'className':_0x587e43[_0x363a8c(0x2f4)]},_0x10532e));}return _0x46d353?_0x3cd17c():_0x1fccfb['createElement'](_0x3c4c54[_0x1b2e14(0x3e4)],{'title':_0x52ba5d['t'](_0x1b2e14(0x2c2))},_0x3cd17c());}var _0x238075=Object[_0x4176ec(0x2b4)],_0x594192=Object[_0x4176ec(0x48c)],_0x1c528c=(_0x9335f6,_0x45d828,_0x3f2d07,_0x51b7a9)=>{const _0x1c08ab=_0x4176ec;for(var _0x5d31eb=_0x51b7a9>0x1?void 0x0:_0x51b7a9?_0x594192(_0x45d828,_0x3f2d07):_0x45d828,_0x207d65=_0x9335f6[_0x1c08ab(0x2b7)]-0x1,_0x267d59;_0x207d65>=0x0;_0x207d65--)(_0x267d59=_0x9335f6[_0x207d65])&&(_0x5d31eb=(_0x51b7a9?_0x267d59(_0x45d828,_0x3f2d07,_0x5d31eb):_0x267d59(_0x5d31eb))||_0x5d31eb);return _0x51b7a9&&_0x5d31eb&&_0x238075(_0x45d828,_0x3f2d07,_0x5d31eb),_0x5d31eb;},_0x58aa19=(_0x399ad4,_0x153ed3)=>(_0x4c7e87,_0x24003a)=>_0x153ed3(_0x4c7e87,_0x24003a,_0x399ad4);_0x5e8095[_0x4176ec(0x1c8)]=class extends _0xd3ef1d[_0x4176ec(0x198)]{constructor(_0x39237c,_0x18f501,_0x41a984,_0x36ec46){const _0x41e6b0=_0x4176ec;super(),_0xddf92d(this,_0x41e6b0(0x1e6),new _0x2c8065['BehaviorSubject'](_0x52e01f['NOT_COLLAB'])),(this[_0x41e6b0(0x1d0)]=_0x39237c,this[_0x41e6b0(0x20e)]=_0x18f501,this['_injector']=_0x41a984,this[_0x41e6b0(0x4c6)]=_0x36ec46,this[_0x41e6b0(0x54f)](),this[_0x41e6b0(0x466)]());}[_0x4176ec(0x466)](){const _0x15f859=_0x4176ec;this['disposeWithMe'](this[_0x15f859(0x1d0)]['focused$']['pipe'](_0x2c8065[_0x15f859(0x18d)](()=>{const _0x4912a0=_0x15f859,_0x43ac63=this['_univerInstanceService'][_0x4912a0(0x279)]();return _0x43ac63?this['_collaborationController'][_0x4912a0(0x278)](_0x43ac63[_0x4912a0(0x57e)]()):_0x2c8065['of'](null);}),_0x2c8065[_0x15f859(0x18d)](_0x4ee445=>_0x4ee445?_0x4ee445[_0x15f859(0x536)]:_0x2c8065['of'](_0x52e01f[_0x15f859(0x2f0)])))[_0x15f859(0x221)](_0x2553ba=>{const _0x576e80=_0x15f859;this[_0x576e80(0x1e6)]['next'](_0x2553ba);}));}['_initStatusComponent'](){const _0x7bbde3=_0x4176ec;this[_0x7bbde3(0x1a6)](this[_0x7bbde3(0x20e)][_0x7bbde3(0x420)](_0x45bd5d[_0x7bbde3(0x128)][_0x7bbde3(0x383)],()=>_0xd3ef1d['connectInjector'](_0x38af68({'status$':this[_0x7bbde3(0x1e6)][_0x7bbde3(0x117)]()}),this[_0x7bbde3(0x11a)])));}},_0x5e8095[_0x4176ec(0x1c8)]=_0x1c528c([_0x58aa19(0x0,_0xd3ef1d[_0x4176ec(0x2fc)]),_0x58aa19(0x1,_0x45bd5d[_0x4176ec(0x497)]),_0x58aa19(0x2,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d['Injector'])),_0x58aa19(0x3,_0xd3ef1d[_0x4176ec(0x2bc)](_0x5e8095[_0x4176ec(0x4b2)]))],_0x5e8095[_0x4176ec(0x1c8)]);function _0x38af68(_0x2b465c){const {status$:_0x1b4143}=_0x2b465c;return function(){return _0x1fccfb['createElement'](_0x23a232,{'status$':_0x1b4143});};}const _0x230310=_0xd3ef1d[_0x4176ec(0x23d)](_0x4176ec(0x32e));var _0xe2dab7=Object[_0x4176ec(0x2b4)],_0x154793=Object[_0x4176ec(0x48c)],_0x530dd7=(_0x2f3d00,_0xdc5b30,_0x6bcc08,_0x3f97d7)=>{const _0x3d4501=_0x4176ec;for(var _0x2924fd=_0x3f97d7>0x1?void 0x0:_0x3f97d7?_0x154793(_0xdc5b30,_0x6bcc08):_0xdc5b30,_0x24213f=_0x2f3d00[_0x3d4501(0x2b7)]-0x1,_0x3b9ff0;_0x24213f>=0x0;_0x24213f--)(_0x3b9ff0=_0x2f3d00[_0x24213f])&&(_0x2924fd=(_0x3f97d7?_0x3b9ff0(_0xdc5b30,_0x6bcc08,_0x2924fd):_0x3b9ff0(_0x2924fd))||_0x2924fd);return _0x3f97d7&&_0x2924fd&&_0xe2dab7(_0xdc5b30,_0x6bcc08,_0x2924fd),_0x2924fd;},_0x32c49d=(_0x27697b,_0xd0cf2f)=>(_0x5e3c37,_0x54d1f5)=>_0xd0cf2f(_0x5e3c37,_0x54d1f5,_0x27697b);_0x5e8095[_0x4176ec(0x306)]=class extends _0xd3ef1d[_0x4176ec(0x19c)]{constructor(_0x25c60c,_0x582357,_0x8b8fff,_0x3877fa,_0x3baad8,_0x3bd173){const _0x47a63b=_0x4176ec;super(),this[_0x47a63b(0x26a)]=_0x25c60c,this[_0x47a63b(0x5ab)]=_0x582357,this[_0x47a63b(0x135)]=_0x8b8fff,this[_0x47a63b(0x29a)]=_0x3877fa,this[_0x47a63b(0x334)]=_0x3baad8,_0x3bd173?_0x3bd173==null||_0x3bd173[_0x47a63b(0x4c0)]()[_0x47a63b(0x4c4)](()=>this[_0x47a63b(0x3d5)]()):(this[_0x47a63b(0x5ab)][_0x47a63b(0x144)](_0x47a63b(0x450),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x47a63b(0x3d5)]());}async[_0x4176ec(0x3d5)](){const _0x4d1e1a=_0x4176ec,_0xa1130a=this[_0x4d1e1a(0x26a)][_0x4d1e1a(0x1fc)](_0x4d1e1a(0x115)),_0x1c1f06=this[_0x4d1e1a(0x26a)][_0x4d1e1a(0x1fc)](_0x4d1e1a(0x286));if(!_0xa1130a||!_0x1c1f06){this[_0x4d1e1a(0x5ab)][_0x4d1e1a(0x144)](_0x4d1e1a(0x450),_0x4d1e1a(0x3b1));return;}switch(Number(_0x1c1f06)){case _0x34a84f[_0x4d1e1a(0x1ab)]:{const _0x524f19=await this[_0x4d1e1a(0x3a5)](_0xa1130a);this['_setupSubUnitSync'](_0x524f19);break;}case _0x34a84f[_0x4d1e1a(0x457)]:{await this[_0x4d1e1a(0x1c4)](_0xa1130a);break;}default:{this[_0x4d1e1a(0x5ab)][_0x4d1e1a(0x476)](_0x4d1e1a(0x450),_0x4d1e1a(0x351));break;}}}async[_0x4176ec(0x567)](_0x3963ca){const _0xe0b479=_0x4176ec;await this[_0xe0b479(0x3bc)](_0x3963ca),_0x3963ca['activeSheet$'][_0xe0b479(0x579)](_0x2c8065[_0xe0b479(0x50b)](this[_0xe0b479(0x484)]))['subscribe'](_0x55cc5e=>{const _0xa82bf0=_0xe0b479;_0x55cc5e&&this[_0xa82bf0(0x478)](_0x55cc5e);}),this[_0xe0b479(0x26a)][_0xe0b479(0x2b8)][_0xe0b479(0x579)](_0x2c8065[_0xe0b479(0x50b)](this[_0xe0b479(0x484)]))[_0xe0b479(0x221)](()=>this[_0xe0b479(0x3bc)](_0x3963ca));}[_0x4176ec(0x478)](_0x57bf92,_0xa54177=!0x1){const _0x14273a=_0x4176ec,_0x1ffb87=this[_0x14273a(0x26a)]['getParam'](_0x14273a(0x55e));_0x57bf92[_0x14273a(0x1c1)]()!==_0x1ffb87&&this[_0x14273a(0x26a)][_0x14273a(0x3f1)]('subunit',_0x57bf92[_0x14273a(0x1c1)](),_0xa54177);}async[_0x4176ec(0x3bc)](_0x198fdf){const _0x11b137=_0x4176ec;var _0x28ef7e;const _0x4b92b8=this['_urlService']['getParam'](_0x11b137(0x55e));if(!_0x4b92b8||!_0x198fdf[_0x11b137(0x573)](_0x4b92b8)){const _0x457b9f=_0x198fdf[_0x11b137(0x502)]()[0x0],_0x4ac5c8=_0x198fdf[_0x11b137(0x573)](_0x457b9f);if(!_0x4ac5c8)return;this[_0x11b137(0x478)](_0x4ac5c8,!0x0),await this[_0x11b137(0x135)][_0x11b137(0x5a6)](_0x1b517d[_0x11b137(0x219)]['id'],{'unitId':_0x198fdf[_0x11b137(0x57e)](),'subUnitId':_0x457b9f});return;}((_0x28ef7e=_0x198fdf[_0x11b137(0x4cb)]())==null?void 0x0:_0x28ef7e[_0x11b137(0x1c1)]())!==_0x4b92b8&&await this[_0x11b137(0x135)][_0x11b137(0x5a6)](_0x1b517d['SetWorksheetActivateCommand']['id'],{'unitId':_0x198fdf[_0x11b137(0x57e)](),'subUnitId':_0x4b92b8});}async[_0x4176ec(0x3a5)](_0x29ae57){const _0x2b06f3=_0x4176ec;let _0x559961=0x0;const _0x47afe6=await this[_0x2b06f3(0x29a)][_0x2b06f3(0x11c)](_0x29ae57);return _0x47afe6&&(_0x47afe6[_0x2b06f3(0x55d)]||_0x47afe6[_0x2b06f3(0x11b)][_0x2b06f3(0x2b7)]!==0x0)&&(_0x559961=_0x47afe6[_0x2b06f3(0x152)]),_0x559961===0x0&&this[_0x2b06f3(0x5ab)][_0x2b06f3(0x144)]('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2b06f3(0x334)][_0x2b06f3(0x52b)](_0x29ae57,_0x559961);}async[_0x4176ec(0x1c4)](_0x22a3ee){const _0x4f836f=_0x4176ec;let _0x22d3a0=0x0;const _0x58a93e=await this[_0x4f836f(0x29a)][_0x4f836f(0x11c)](_0x22a3ee);return _0x58a93e&&(_0x58a93e[_0x4f836f(0x55d)]||_0x58a93e[_0x4f836f(0x11b)][_0x4f836f(0x2b7)]!==0x0)&&(_0x22d3a0=_0x58a93e[_0x4f836f(0x152)]),_0x22d3a0===0x0&&this[_0x4f836f(0x5ab)]['debug'](_0x4f836f(0x450),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService']['loadDoc'](_0x22a3ee,_0x22d3a0);}},_0x5e8095[_0x4176ec(0x306)]=_0x530dd7([_0x32c49d(0x0,_0x230310),_0x32c49d(0x1,_0xd3ef1d[_0x4176ec(0x5b4)]),_0x32c49d(0x2,_0xd3ef1d[_0x4176ec(0x438)]),_0x32c49d(0x3,_0xd3ef1d[_0x4176ec(0x2bc)](_0x5e8095[_0x4176ec(0x5c2)])),_0x32c49d(0x4,_0xd3ef1d[_0x4176ec(0x2bc)](_0x47367d['SnapshotService'])),_0x32c49d(0x5,_0xd3ef1d[_0x4176ec(0x4a6)](_0x1d5916[_0x4176ec(0x326)]))],_0x5e8095[_0x4176ec(0x306)]);var _0x31e213=Object[_0x4176ec(0x2b4)],_0x30bf93=Object['getOwnPropertyDescriptor'],_0x3bfb05=(_0x38416b,_0x1db361,_0x1222db,_0x4684cc)=>{const _0x3e5bbe=_0x4176ec;for(var _0x5352cc=_0x4684cc>0x1?void 0x0:_0x4684cc?_0x30bf93(_0x1db361,_0x1222db):_0x1db361,_0x5b465a=_0x38416b[_0x3e5bbe(0x2b7)]-0x1,_0x4078c6;_0x5b465a>=0x0;_0x5b465a--)(_0x4078c6=_0x38416b[_0x5b465a])&&(_0x5352cc=(_0x4684cc?_0x4078c6(_0x1db361,_0x1222db,_0x5352cc):_0x4078c6(_0x5352cc))||_0x5352cc);return _0x4684cc&&_0x5352cc&&_0x31e213(_0x1db361,_0x1222db,_0x5352cc),_0x5352cc;},_0x20bc23=(_0x25f55f,_0x4330b0)=>(_0x29c415,_0x174d87)=>_0x4330b0(_0x29c415,_0x174d87,_0x25f55f);const _0x246fa5='DEFAULT_FILE_NAME',_0x5e072d=_0x4176ec(0x53a);let _0x1a3e7a=class extends _0xd3ef1d[_0x4176ec(0x198)]{constructor(_0x1b8a3f,_0x2d3194){const _0x56dc9e=_0x4176ec;super(),this['_univerInstanceService']=_0x1b8a3f,this[_0x56dc9e(0x1bf)]=_0x2d3194,this[_0x56dc9e(0x3d5)]();}[_0x4176ec(0x3d5)](){const _0x40cdf5=_0x4176ec;this[_0x40cdf5(0x1a6)](this[_0x40cdf5(0x1d0)][_0x40cdf5(0x255)]['subscribe'](()=>{const _0x384ae8=_0x40cdf5;var _0x401ce0;const _0xfaf3f2=this['_univerInstanceService'][_0x384ae8(0x279)]();let _0x4cf256=(_0x401ce0=this[_0x384ae8(0x1bf)][_0x384ae8(0x40b)](_0x246fa5))!=null?_0x401ce0:_0x5e072d;_0xfaf3f2 instanceof _0xd3ef1d[_0x384ae8(0x534)]&&(_0x4cf256=_0xfaf3f2[_0x384ae8(0x36a)]),document[_0x384ae8(0x519)]=_0x4cf256;}));}};_0x1a3e7a=_0x3bfb05([_0x20bc23(0x0,_0xd3ef1d[_0x4176ec(0x2fc)]),_0x20bc23(0x1,_0xd3ef1d['IConfigService'])],_0x1a3e7a);var _0x19a02e=Object['defineProperty'],_0x109348=Object['getOwnPropertyDescriptor'],_0x2b0ab0=(_0xb26d65,_0x255298,_0xf41afe,_0x53f7ba)=>{const _0x3ebd1e=_0x4176ec;for(var _0x389fe1=_0x53f7ba>0x1?void 0x0:_0x53f7ba?_0x109348(_0x255298,_0xf41afe):_0x255298,_0xb3db2a=_0xb26d65[_0x3ebd1e(0x2b7)]-0x1,_0x168724;_0xb3db2a>=0x0;_0xb3db2a--)(_0x168724=_0xb26d65[_0xb3db2a])&&(_0x389fe1=(_0x53f7ba?_0x168724(_0x255298,_0xf41afe,_0x389fe1):_0x168724(_0x389fe1))||_0x389fe1);return _0x53f7ba&&_0x389fe1&&_0x19a02e(_0x255298,_0xf41afe,_0x389fe1),_0x389fe1;},_0x29dcbd=(_0x33425c,_0x1ff95a)=>(_0x401b69,_0x3bcb22)=>_0x1ff95a(_0x401b69,_0x3bcb22,_0x33425c);let _0x563f12=class{constructor(_0x46f6e1,_0x4334a2,_0x9cd304){const _0x52ecc2=_0x4176ec;this[_0x52ecc2(0x1bf)]=_0x46f6e1,this[_0x52ecc2(0x3d6)]=_0x4334a2,this[_0x52ecc2(0x42f)]=_0x9cd304,this['init']();}[_0x4176ec(0x15b)](){const _0x1abca4=_0x4176ec;this[_0x1abca4(0x3d6)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x4f507a,_0xcf703e)=>_0xcf703e(_0x4f507a)[_0x1abca4(0x579)](_0x2c8065['concatMap'](async _0x3a697a=>{const _0x4075c0=_0x1abca4,_0x57aff8=_0x3a697a;if(_0x57aff8[_0x4075c0(0x3ad)]===0x191&&window[_0x4075c0(0x257)](this[_0x4075c0(0x42f)]['t'](_0x4075c0(0x120)))){const _0x1bb837=window[_0x4075c0(0x48e)](window[_0x4075c0(0x54d)]['href']);window[_0x4075c0(0x54d)][_0x4075c0(0x147)]=this[_0x4075c0(0x1e9)]()+_0x4075c0(0x521)+_0x1bb837;}return _0x57aff8;}))});}[_0x4176ec(0x1e9)](){const _0x5694f6=_0x4176ec;var _0x1ce366,_0x579387;const _0x43eb03=this['_configService'][_0x5694f6(0x40b)](_0x342faa),_0x4b34f9=this[_0x5694f6(0x1bf)][_0x5694f6(0x40b)](_0x20ac24);return(_0x579387=(_0x1ce366=_0x4b34f9==null?void 0x0:_0x4b34f9[_0x5694f6(0x3dc)])!=null?_0x1ce366:_0x43eb03)!=null?_0x579387:_0x4e7a7c;}};_0x563f12=_0x2b0ab0([_0x29dcbd(0x0,_0xd3ef1d[_0x4176ec(0x2ce)]),_0x29dcbd(0x1,_0xd3ef1d[_0x4176ec(0x2bc)](_0x46bbd6[_0x4176ec(0x180)])),_0x29dcbd(0x2,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d[_0x4176ec(0x2b3)]))],_0x563f12);var _0x39ecd6=Object['defineProperty'],_0x2924fe=Object['getOwnPropertyDescriptor'],_0x187d2f=(_0x4988f4,_0x292f68,_0x1d963f,_0x1cb9e1)=>{const _0xad5b02=_0x4176ec;for(var _0x160e01=_0x1cb9e1>0x1?void 0x0:_0x1cb9e1?_0x2924fe(_0x292f68,_0x1d963f):_0x292f68,_0x423206=_0x4988f4[_0xad5b02(0x2b7)]-0x1,_0x462204;_0x423206>=0x0;_0x423206--)(_0x462204=_0x4988f4[_0x423206])&&(_0x160e01=(_0x1cb9e1?_0x462204(_0x292f68,_0x1d963f,_0x160e01):_0x462204(_0x160e01))||_0x160e01);return _0x1cb9e1&&_0x160e01&&_0x39ecd6(_0x292f68,_0x1d963f,_0x160e01),_0x160e01;},_0x489b65=(_0x358c6f,_0x527228)=>(_0x43f480,_0xe7e7c2)=>_0x527228(_0x43f480,_0xe7e7c2,_0x358c6f);const _0x4ad53e=_0x4176ec(0x42b),_0x131ed7=_0x4176ec(0x1dd);_0x5e8095[_0x4176ec(0x3d7)]=class extends _0xd3ef1d['Disposable']{constructor(_0x16f468,_0x34a527){const _0x421c26=_0x4176ec;super(),this['_HTTPService']=_0x16f468,this[_0x421c26(0x1bf)]=_0x34a527,this['_initMergeInterceptor']();}[_0x4176ec(0x249)](){const _0x2b0ca2=_0x4176ec,_0x3123e6=this;this[_0x2b0ca2(0x1a6)](this[_0x2b0ca2(0x184)][_0x2b0ca2(0x3e7)]({'priority':0x3e7,'interceptor':_0x46bbd6[_0x2b0ca2(0x5a7)]({'isMatch'(_0x4c94b6){const _0x287422=_0x2b0ca2;var _0x7b58aa;if(_0x4c94b6[_0x287422(0x2e6)]===_0x287422(0x5c3)&&((_0x7b58aa=_0x4c94b6['requestParams'])!=null&&_0x7b58aa[_0x287422(0x483)])){const {objectID:_0x1f803b,objectType:_0x14e0aa}=_0x4c94b6[_0x287422(0x1cd)]['body']||{};if(!_0x1f803b||_0x14e0aa===void 0x0)return!0x1;const _0x2b8e1c=_0x3123e6[_0x287422(0x4ce)]()+'/'+_0x14e0aa+_0x287422(0x218)+_0x1f803b+_0x287422(0x1eb);if(_0x4c94b6[_0x287422(0x379)]===_0x2b8e1c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x282c79){const _0xb4f88f=_0x2b0ca2;var _0x55b120;return(_0x55b120=_0x282c79[_0xb4f88f(0x1cd)])==null?void 0x0:_0x55b120[_0xb4f88f(0x483)];},'mergeParamsToRequest'(_0x356ce9,_0x418bbf){const _0x24d13c=_0x2b0ca2,_0x5e3c7f=_0x3123e6['_getAPIPrefixPath']()+_0x24d13c(0x444),_0x57b8c8=_0x356ce9[_0x24d13c(0x1f8)]((_0x510315,_0x35e137)=>{const _0x4370b0=_0x24d13c,{unitID:_0x416ce1,objectID:_0x21dd9b,objectType:_0x475252,actions:_0x435dd4}=_0x35e137;return _0x510315[_0x416ce1]||(_0x510315[_0x416ce1]={}),_0x510315[_0x416ce1][_0x21dd9b]||(_0x510315[_0x416ce1][_0x21dd9b]={'objectID':_0x21dd9b,'objectType':_0x475252,'actions':[]}),_0x510315[_0x416ce1][_0x21dd9b][_0x4370b0(0x370)]['push'](..._0x435dd4),_0x510315;},{}),_0xf55b33=[];for(const _0x13fac7 in _0x57b8c8)for(const _0x56cdae in _0x57b8c8[_0x13fac7]){const {actions:_0x5c8606,objectType:_0x1ec118}=_0x57b8c8[_0x13fac7][_0x56cdae],_0x292739=[...new Set(_0x5c8606)];_0xf55b33[_0x24d13c(0x455)]({'unitID':_0x13fac7,'objectID':_0x56cdae,'objectType':_0x1ec118,'actions':_0x292739});}return new _0x46bbd6[(_0x24d13c(0x170))]('POST',_0x5e3c7f,{'headers':_0x418bbf[_0x24d13c(0x4c1)],'withCredentials':_0x418bbf[_0x24d13c(0x588)],'responseType':_0x418bbf['responseType'],'body':{'requests':_0xf55b33}});}},{'distributeResult'(_0x56e8a1,_0x286fc7){const _0x42bcb5=_0x2b0ca2,{objectActions:_0xdccbf2}=_0x56e8a1;return _0x286fc7[_0x42bcb5(0x40d)](_0x37898c=>{const _0x3faad3=_0x42bcb5,{unitID:_0x39bc5a,objectID:_0x46f490,actions:_0x4700b5}=_0x37898c,_0x3abd6b=_0xdccbf2[_0x3faad3(0x229)](_0x45a69a=>_0x45a69a[_0x3faad3(0x488)]===_0x39bc5a&&_0x45a69a['objectID']===_0x46f490),_0x152988=_0x4700b5[_0x3faad3(0x40d)](_0x4dc30c=>_0x3abd6b==null?void 0x0:_0x3abd6b[_0x3faad3(0x370)][_0x3faad3(0x229)](_0x4dca8d=>_0x4dca8d[_0x3faad3(0x233)]===_0x4dc30c))[_0x3faad3(0x3b9)](_0x38d3ac=>!!_0x38d3ac);return{'config':_0x37898c,'result':{'actions':_0x152988,'error':_0x56e8a1[_0x3faad3(0x476)]}};});}})}));}[_0x4176ec(0x4ce)](){const _0xf83ba3=_0x4176ec;var _0x36eeb9,_0x2c217e;const _0x448008=this[_0xf83ba3(0x1bf)][_0xf83ba3(0x40b)](_0x4ad53e),_0x4bbd50=this[_0xf83ba3(0x1bf)]['getConfig'](_0x20ac24);return(_0x2c217e=(_0x36eeb9=_0x4bbd50==null?void 0x0:_0x4bbd50[_0xf83ba3(0x4a8)])!=null?_0x36eeb9:_0x448008)!=null?_0x2c217e:_0x131ed7;}async[_0x4176ec(0x5d0)](_0x2c44bb){const _0x32cd07=_0x4176ec,_0x43df2a=this[_0x32cd07(0x4ce)]()+'/'+_0x2c44bb[_0x32cd07(0x569)]+'/object';return(await this[_0x32cd07(0x184)][_0x32cd07(0x226)](_0x43df2a,{'body':_0x2c44bb}))['body'][_0x32cd07(0x5cc)]||'';}async[_0x4176ec(0x3e6)](_0x1ca86a){const _0x5e4222=_0x4176ec,_0x4edf0a=this['_getAPIPrefixPath']()+_0x5e4222(0x470);return(await this[_0x5e4222(0x184)]['post'](_0x4edf0a,{'body':_0x1ca86a}))[_0x5e4222(0x483)][_0x5e4222(0x515)];}async[_0x4176ec(0x215)](_0x6c70a4){const _0x608470=_0x4176ec,_0x32cab5=this[_0x608470(0x4ce)]()+'/'+_0x6c70a4[_0x608470(0x569)]+_0x608470(0x218)+_0x6c70a4[_0x608470(0x5cc)];await this['_HTTPService'][_0x608470(0x5c0)](_0x32cab5,{'body':_0x6c70a4});}async[_0x4176ec(0x58f)](_0x4a6b5d){const _0x10e73a=_0x4176ec,_0x389dae=this[_0x10e73a(0x4ce)]()+'/'+_0x4a6b5d[_0x10e73a(0x569)]+_0x10e73a(0x218)+_0x4a6b5d[_0x10e73a(0x5cc)]+'/allowed';return(await this['_HTTPService'][_0x10e73a(0x226)](_0x389dae,{'body':_0x4a6b5d}))[_0x10e73a(0x483)][_0x10e73a(0x370)];}async['batchAllowed'](_0x5bbd97){const _0x16603c=_0x4176ec,_0x54dcfe=this[_0x16603c(0x4ce)]()+_0x16603c(0x444);return(await this[_0x16603c(0x184)][_0x16603c(0x226)](_0x54dcfe,{'body':{'requests':_0x5bbd97}}))[_0x16603c(0x483)][_0x16603c(0x352)];}async[_0x4176ec(0x1db)](_0x374197){const _0x440648=_0x4176ec,_0x231320=this[_0x440648(0x4ce)]()+'/'+_0x374197[_0x440648(0x569)]+_0x440648(0x42a),_0x69a23b=await this[_0x440648(0x184)][_0x440648(0x226)](_0x231320,{'body':_0x374197});return{'roles':_0x69a23b[_0x440648(0x483)][_0x440648(0x158)],'actions':_0x69a23b['body'][_0x440648(0x370)]};}async[_0x4176ec(0x33c)](_0x257b1d){const _0x10a26f=_0x4176ec,_0x293ee1=this[_0x10a26f(0x4ce)]()+_0x10a26f(0x2e9);await this['_HTTPService'][_0x10a26f(0x38e)](_0x293ee1,{'params':{'collaboratorID':_0x257b1d[_0x10a26f(0x45c)],'objectID':_0x257b1d[_0x10a26f(0x5cc)],'unitID':_0x257b1d[_0x10a26f(0x488)]}});}async[_0x4176ec(0x2f5)](_0x551591){const _0x319cb1=_0x4176ec,_0x1f7c01=this[_0x319cb1(0x4ce)]()+_0x319cb1(0x2e9);await this['_HTTPService']['patch'](_0x1f7c01,{'body':_0x551591});}async['createCollaborator'](_0x849d28){const _0x367e09=_0x4176ec,_0x31b8eb=this['_getAPIPrefixPath']()+_0x367e09(0x2e9);await this[_0x367e09(0x184)][_0x367e09(0x226)](_0x31b8eb,{'body':_0x849d28});}async[_0x4176ec(0x4fd)](_0x105406){const _0x198558=_0x4176ec,_0x18326e=this[_0x198558(0x4ce)]()+_0x198558(0x2e9);return(await this[_0x198558(0x184)]['get'](_0x18326e,{'params':{'objectID':_0x105406[_0x198558(0x5cc)],'unitID':_0x105406['unitID']}}))[_0x198558(0x483)][_0x198558(0x510)];}async[_0x4176ec(0x175)](_0x2e7c84){const _0x58304f=_0x4176ec,_0x30857b=this[_0x58304f(0x4ce)]()+_0x58304f(0x2e9);await this[_0x58304f(0x184)][_0x58304f(0x5c0)](_0x30857b,{'body':_0x2e7c84});}},_0x5e8095['AuthzIoHttpService']=_0x187d2f([_0x489b65(0x0,_0xd3ef1d[_0x4176ec(0x2bc)](_0x46bbd6[_0x4176ec(0x180)])),_0x489b65(0x1,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d['IConfigService']))],_0x5e8095[_0x4176ec(0x3d7)]);var _0x37786d=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x53bc33(_0x350c1a){const _0x27ee01=_0x4176ec;return _0x350c1a&&_0x350c1a[_0x27ee01(0x4e1)]&&Object[_0x27ee01(0x3a9)][_0x27ee01(0x454)][_0x27ee01(0x35e)](_0x350c1a,_0x27ee01(0x314))?_0x350c1a['default']:_0x350c1a;}function _0x27f7ea(_0x3884a6){const _0x1aa5af=_0x4176ec;if(_0x3884a6[_0x1aa5af(0x4e1)])return _0x3884a6;var _0x40f7a0=_0x3884a6[_0x1aa5af(0x314)];if(typeof _0x40f7a0==_0x1aa5af(0x2e0)){var _0x249a7f=function _0x4ee957(){const _0xf530c2=_0x1aa5af;return this instanceof _0x4ee957?Reflect['construct'](_0x40f7a0,arguments,this[_0xf530c2(0x146)]):_0x40f7a0['apply'](this,arguments);};_0x249a7f[_0x1aa5af(0x3a9)]=_0x40f7a0['prototype'];}else _0x249a7f={};return Object[_0x1aa5af(0x2b4)](_0x249a7f,_0x1aa5af(0x4e1),{'value':!0x0}),Object['keys'](_0x3884a6)['forEach'](function(_0x2fae27){const _0x4e6501=_0x1aa5af;var _0x3e5955=Object['getOwnPropertyDescriptor'](_0x3884a6,_0x2fae27);Object['defineProperty'](_0x249a7f,_0x2fae27,_0x3e5955[_0x4e6501(0x313)]?_0x3e5955:{'enumerable':!0x0,'get':function(){return _0x3884a6[_0x2fae27];}});}),_0x249a7f;}var _0x517fb0={'exports':{}};function _0x57c4c7(_0x2893f7){const _0x182501=_0x4176ec;throw new Error(_0x182501(0x38c)+_0x2893f7+_0x182501(0x311));}var _0x35bf73={'exports':{}};const _0x133859=_0x27f7ea(Object[_0x4176ec(0x156)](Object[_0x4176ec(0x2b4)]({'__proto__':null,'default':{}},Symbol[_0x4176ec(0x516)],{'value':_0x4176ec(0x2d9)})));var _0x3da188;function _0x4cb391(){return _0x3da188||(_0x3da188=0x1,function(_0x4e96f7,_0x80d144){(function(_0x831c8c,_0x2d9373){const _0x1cf69f=_0x352d;_0x4e96f7[_0x1cf69f(0x4be)]=_0x2d9373();}(_0x37786d,function(){var _0xe9795a=_0xe9795a||function(_0x3ec917,_0x3c137b){const _0x4993b1=_0x352d;var _0x33f408;if(typeof window<'u'&&window[_0x4993b1(0x13f)]&&(_0x33f408=window[_0x4993b1(0x13f)]),typeof self<'u'&&self[_0x4993b1(0x13f)]&&(_0x33f408=self[_0x4993b1(0x13f)]),typeof globalThis<'u'&&globalThis[_0x4993b1(0x13f)]&&(_0x33f408=globalThis[_0x4993b1(0x13f)]),!_0x33f408&&typeof window<'u'&&window[_0x4993b1(0x3aa)]&&(_0x33f408=window[_0x4993b1(0x3aa)]),!_0x33f408&&typeof _0x37786d<'u'&&_0x37786d[_0x4993b1(0x13f)]&&(_0x33f408=_0x37786d[_0x4993b1(0x13f)]),!_0x33f408&&typeof _0x57c4c7==_0x4993b1(0x2e0))try{_0x33f408=_0x133859;}catch{}var _0x4cd5ba=function(){const _0x1334b9=_0x4993b1;if(_0x33f408){if(typeof _0x33f408[_0x1334b9(0x53e)]==_0x1334b9(0x2e0))try{return _0x33f408[_0x1334b9(0x53e)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x33f408[_0x1334b9(0x3ea)]==_0x1334b9(0x2e0))try{return _0x33f408[_0x1334b9(0x3ea)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x1334b9(0x25e));},_0x16644f=Object[_0x4993b1(0x5d0)]||(function(){function _0x380bc4(){}return function(_0x37daec){const _0x3f9280=_0x352d;var _0x17d2a8;return _0x380bc4[_0x3f9280(0x3a9)]=_0x37daec,_0x17d2a8=new _0x380bc4(),_0x380bc4[_0x3f9280(0x3a9)]=null,_0x17d2a8;};}()),_0x4176de={},_0x438230=_0x4176de[_0x4993b1(0x1e7)]={},_0x219d30=_0x438230['Base']=(function(){return{'extend':function(_0x689b47){const _0x5f3493=_0x352d;var _0x4a3a7e=_0x16644f(this);return _0x689b47&&_0x4a3a7e[_0x5f3493(0x38b)](_0x689b47),(!_0x4a3a7e[_0x5f3493(0x454)](_0x5f3493(0x15b))||this['init']===_0x4a3a7e[_0x5f3493(0x15b)])&&(_0x4a3a7e[_0x5f3493(0x15b)]=function(){const _0x106e31=_0x5f3493;_0x4a3a7e[_0x106e31(0x40a)]['init'][_0x106e31(0x39e)](this,arguments);}),_0x4a3a7e['init'][_0x5f3493(0x3a9)]=_0x4a3a7e,_0x4a3a7e['$super']=this,_0x4a3a7e;},'create':function(){const _0x49a56c=_0x352d;var _0x29651e=this['extend']();return _0x29651e[_0x49a56c(0x15b)][_0x49a56c(0x39e)](_0x29651e,arguments),_0x29651e;},'init':function(){},'mixIn':function(_0x39d3b2){const _0x556e6b=_0x352d;for(var _0x5a4dde in _0x39d3b2)_0x39d3b2['hasOwnProperty'](_0x5a4dde)&&(this[_0x5a4dde]=_0x39d3b2[_0x5a4dde]);_0x39d3b2['hasOwnProperty']('toString')&&(this[_0x556e6b(0x530)]=_0x39d3b2[_0x556e6b(0x530)]);},'clone':function(){const _0x436197=_0x352d;return this[_0x436197(0x15b)][_0x436197(0x3a9)]['extend'](this);}};}()),_0x3b7f62=_0x438230[_0x4993b1(0x422)]=_0x219d30[_0x4993b1(0x51a)]({'init':function(_0x34e92d,_0x37c496){const _0x4061f3=_0x4993b1;_0x34e92d=this[_0x4061f3(0x51b)]=_0x34e92d||[],_0x37c496!=_0x3c137b?this[_0x4061f3(0x409)]=_0x37c496:this[_0x4061f3(0x409)]=_0x34e92d[_0x4061f3(0x2b7)]*0x4;},'toString':function(_0x4c3d67){return(_0x4c3d67||_0x315659)['stringify'](this);},'concat':function(_0x4754a5){const _0x863b86=_0x4993b1;var _0xbace5b=this['words'],_0x3f2b84=_0x4754a5[_0x863b86(0x51b)],_0x4165c7=this['sigBytes'],_0x314b3a=_0x4754a5[_0x863b86(0x409)];if(this['clamp'](),_0x4165c7%0x4)for(var _0x3fd5ed=0x0;_0x3fd5ed<_0x314b3a;_0x3fd5ed++){var _0x23e177=_0x3f2b84[_0x3fd5ed>>>0x2]>>>0x18-_0x3fd5ed%0x4*0x8&0xff;_0xbace5b[_0x4165c7+_0x3fd5ed>>>0x2]|=_0x23e177<<0x18-(_0x4165c7+_0x3fd5ed)%0x4*0x8;}else{for(var _0x20d283=0x0;_0x20d283<_0x314b3a;_0x20d283+=0x4)_0xbace5b[_0x4165c7+_0x20d283>>>0x2]=_0x3f2b84[_0x20d283>>>0x2];}return this[_0x863b86(0x409)]+=_0x314b3a,this;},'clamp':function(){const _0x15cf5a=_0x4993b1;var _0x51c72e=this[_0x15cf5a(0x51b)],_0x358e7e=this[_0x15cf5a(0x409)];_0x51c72e[_0x358e7e>>>0x2]&=0xffffffff<<0x20-_0x358e7e%0x4*0x8,_0x51c72e['length']=_0x3ec917[_0x15cf5a(0x564)](_0x358e7e/0x4);},'clone':function(){const _0xa9f4c=_0x4993b1;var _0x5ebd1a=_0x219d30[_0xa9f4c(0x4da)]['call'](this);return _0x5ebd1a[_0xa9f4c(0x51b)]=this['words'][_0xa9f4c(0x2de)](0x0),_0x5ebd1a;},'random':function(_0x5f5110){const _0x1b1ca4=_0x4993b1;for(var _0x3cd801=[],_0x4c4010=0x0;_0x4c4010<_0x5f5110;_0x4c4010+=0x4)_0x3cd801[_0x1b1ca4(0x455)](_0x4cd5ba());return new _0x3b7f62[(_0x1b1ca4(0x15b))](_0x3cd801,_0x5f5110);}}),_0x415846=_0x4176de['enc']={},_0x315659=_0x415846[_0x4993b1(0x35b)]={'stringify':function(_0x1881bc){const _0x48f8c7=_0x4993b1;for(var _0x29c192=_0x1881bc[_0x48f8c7(0x51b)],_0x4ea912=_0x1881bc[_0x48f8c7(0x409)],_0x56743a=[],_0x1d27d3=0x0;_0x1d27d3<_0x4ea912;_0x1d27d3++){var _0xa66c86=_0x29c192[_0x1d27d3>>>0x2]>>>0x18-_0x1d27d3%0x4*0x8&0xff;_0x56743a[_0x48f8c7(0x455)]((_0xa66c86>>>0x4)[_0x48f8c7(0x530)](0x10)),_0x56743a[_0x48f8c7(0x455)]((_0xa66c86&0xf)['toString'](0x10));}return _0x56743a['join']('');},'parse':function(_0x5e21fe){const _0x1ae979=_0x4993b1;for(var _0x5d599f=_0x5e21fe['length'],_0x1e8be8=[],_0xe6f5e0=0x0;_0xe6f5e0<_0x5d599f;_0xe6f5e0+=0x2)_0x1e8be8[_0xe6f5e0>>>0x3]|=parseInt(_0x5e21fe[_0x1ae979(0x395)](_0xe6f5e0,0x2),0x10)<<0x18-_0xe6f5e0%0x8*0x4;return new _0x3b7f62[(_0x1ae979(0x15b))](_0x1e8be8,_0x5d599f/0x2);}},_0x47e8cc=_0x415846[_0x4993b1(0x360)]={'stringify':function(_0x43ca12){const _0x19fa65=_0x4993b1;for(var _0x1bf2f7=_0x43ca12[_0x19fa65(0x51b)],_0x2a83fc=_0x43ca12['sigBytes'],_0x231ae1=[],_0x1de0c7=0x0;_0x1de0c7<_0x2a83fc;_0x1de0c7++){var _0x5c962d=_0x1bf2f7[_0x1de0c7>>>0x2]>>>0x18-_0x1de0c7%0x4*0x8&0xff;_0x231ae1['push'](String[_0x19fa65(0x27d)](_0x5c962d));}return _0x231ae1['join']('');},'parse':function(_0x27c2be){const _0x588279=_0x4993b1;for(var _0x269db2=_0x27c2be['length'],_0x50b3f3=[],_0x2850e0=0x0;_0x2850e0<_0x269db2;_0x2850e0++)_0x50b3f3[_0x2850e0>>>0x2]|=(_0x27c2be[_0x588279(0x1aa)](_0x2850e0)&0xff)<<0x18-_0x2850e0%0x4*0x8;return new _0x3b7f62[(_0x588279(0x15b))](_0x50b3f3,_0x269db2);}},_0x5c9380=_0x415846[_0x4993b1(0x28d)]={'stringify':function(_0x4d5766){const _0x577934=_0x4993b1;try{return decodeURIComponent(escape(_0x47e8cc[_0x577934(0x385)](_0x4d5766)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x2d0d3e){const _0x5ece19=_0x4993b1;return _0x47e8cc[_0x5ece19(0x25b)](unescape(encodeURIComponent(_0x2d0d3e)));}},_0x19596b=_0x438230[_0x4993b1(0x214)]=_0x219d30['extend']({'reset':function(){const _0xf08db0=_0x4993b1;this[_0xf08db0(0x4bc)]=new _0x3b7f62[(_0xf08db0(0x15b))](),this[_0xf08db0(0x1a5)]=0x0;},'_append':function(_0x38446a){const _0x589441=_0x4993b1;typeof _0x38446a==_0x589441(0x199)&&(_0x38446a=_0x5c9380[_0x589441(0x25b)](_0x38446a)),this[_0x589441(0x4bc)][_0x589441(0x526)](_0x38446a),this[_0x589441(0x1a5)]+=_0x38446a[_0x589441(0x409)];},'_process':function(_0x4ee9c5){const _0xc8e526=_0x4993b1;var _0x1742e0,_0x552230=this[_0xc8e526(0x4bc)],_0x5b1689=_0x552230[_0xc8e526(0x51b)],_0x13d7a9=_0x552230[_0xc8e526(0x409)],_0x38a887=this[_0xc8e526(0x290)],_0x1c66ba=_0x38a887*0x4,_0x2f67de=_0x13d7a9/_0x1c66ba;_0x4ee9c5?_0x2f67de=_0x3ec917['ceil'](_0x2f67de):_0x2f67de=_0x3ec917['max']((_0x2f67de|0x0)-this['_minBufferSize'],0x0);var _0x365a4b=_0x2f67de*_0x38a887,_0x498d11=_0x3ec917['min'](_0x365a4b*0x4,_0x13d7a9);if(_0x365a4b){for(var _0x288416=0x0;_0x288416<_0x365a4b;_0x288416+=_0x38a887)this[_0xc8e526(0x200)](_0x5b1689,_0x288416);_0x1742e0=_0x5b1689[_0xc8e526(0x11e)](0x0,_0x365a4b),_0x552230[_0xc8e526(0x409)]-=_0x498d11;}return new _0x3b7f62[(_0xc8e526(0x15b))](_0x1742e0,_0x498d11);},'clone':function(){const _0x42c18c=_0x4993b1;var _0x41530e=_0x219d30['clone'][_0x42c18c(0x35e)](this);return _0x41530e['_data']=this[_0x42c18c(0x4bc)][_0x42c18c(0x4da)](),_0x41530e;},'_minBufferSize':0x0});_0x438230[_0x4993b1(0x3f7)]=_0x19596b['extend']({'cfg':_0x219d30[_0x4993b1(0x51a)](),'init':function(_0x621d3b){const _0xb159ad=_0x4993b1;this[_0xb159ad(0x529)]=this[_0xb159ad(0x529)][_0xb159ad(0x51a)](_0x621d3b),this[_0xb159ad(0x427)]();},'reset':function(){const _0x2970be=_0x4993b1;_0x19596b[_0x2970be(0x427)][_0x2970be(0x35e)](this),this['_doReset']();},'update':function(_0x1edce5){const _0x4479af=_0x4993b1;return this[_0x4479af(0x166)](_0x1edce5),this[_0x4479af(0x293)](),this;},'finalize':function(_0x3e9f68){const _0x2f9002=_0x4993b1;_0x3e9f68&&this[_0x2f9002(0x166)](_0x3e9f68);var _0x3e10fb=this[_0x2f9002(0x37d)]();return _0x3e10fb;},'blockSize':0x10,'_createHelper':function(_0x221311){return function(_0x3c9f79,_0x40935e){const _0x1f3564=_0x352d;return new _0x221311[(_0x1f3564(0x15b))](_0x40935e)[_0x1f3564(0x18f)](_0x3c9f79);};},'_createHmacHelper':function(_0x2e8731){return function(_0x6b0a4a,_0x9cab06){const _0x4f03aa=_0x352d;return new _0x3962d7[(_0x4f03aa(0x155))][(_0x4f03aa(0x15b))](_0x2e8731,_0x9cab06)[_0x4f03aa(0x18f)](_0x6b0a4a);};}});var _0x3962d7=_0x4176de[_0x4993b1(0x343)]={};return _0x4176de;}(Math);return _0xe9795a;}));}(_0x35bf73)),_0x35bf73['exports'];}var _0x2598ab={'exports':{}},_0x21786e;function _0x2c4881(){const _0x4de638=_0x4176ec;return _0x21786e||(_0x21786e=0x1,function(_0x17b3f5,_0x462c99){(function(_0x5b333b,_0x374fa4){_0x17b3f5['exports']=_0x374fa4(_0x4cb391());}(_0x37786d,function(_0x19eb1e){return(function(){const _0x59094f=_0x352d;var _0x2a391a=_0x19eb1e,_0x132c0e=_0x2a391a['lib'],_0x550851=_0x132c0e[_0x59094f(0x422)],_0x4fa4d6=_0x2a391a[_0x59094f(0x378)];_0x4fa4d6[_0x59094f(0x316)]={'stringify':function(_0xb76cd3){const _0x3f74de=_0x59094f;var _0x3d4780=_0xb76cd3['words'],_0x2a358a=_0xb76cd3[_0x3f74de(0x409)],_0x39d665=this[_0x3f74de(0x1d4)];_0xb76cd3['clamp']();for(var _0x4549a9=[],_0x4de248=0x0;_0x4de248<_0x2a358a;_0x4de248+=0x3)for(var _0x5a1119=_0x3d4780[_0x4de248>>>0x2]>>>0x18-_0x4de248%0x4*0x8&0xff,_0x5445a6=_0x3d4780[_0x4de248+0x1>>>0x2]>>>0x18-(_0x4de248+0x1)%0x4*0x8&0xff,_0x4288ad=_0x3d4780[_0x4de248+0x2>>>0x2]>>>0x18-(_0x4de248+0x2)%0x4*0x8&0xff,_0x8e5ba2=_0x5a1119<<0x10|_0x5445a6<<0x8|_0x4288ad,_0xe97d25=0x0;_0xe97d25<0x4&&_0x4de248+_0xe97d25*0.75<_0x2a358a;_0xe97d25++)_0x4549a9[_0x3f74de(0x455)](_0x39d665['charAt'](_0x8e5ba2>>>0x6*(0x3-_0xe97d25)&0x3f));var _0x19d53a=_0x39d665[_0x3f74de(0x237)](0x40);if(_0x19d53a){for(;_0x4549a9[_0x3f74de(0x2b7)]%0x4;)_0x4549a9[_0x3f74de(0x455)](_0x19d53a);}return _0x4549a9[_0x3f74de(0x377)]('');},'parse':function(_0x41688){const _0x5eddcb=_0x59094f;var _0x1d39d3=_0x41688[_0x5eddcb(0x2b7)],_0x51ef1e=this[_0x5eddcb(0x1d4)],_0xd6947a=this[_0x5eddcb(0x3c4)];if(!_0xd6947a){_0xd6947a=this[_0x5eddcb(0x3c4)]=[];for(var _0x4535a7=0x0;_0x4535a7<_0x51ef1e[_0x5eddcb(0x2b7)];_0x4535a7++)_0xd6947a[_0x51ef1e['charCodeAt'](_0x4535a7)]=_0x4535a7;}var _0x393912=_0x51ef1e['charAt'](0x40);if(_0x393912){var _0x1bc4cc=_0x41688[_0x5eddcb(0x553)](_0x393912);_0x1bc4cc!==-0x1&&(_0x1d39d3=_0x1bc4cc);}return _0x3113d3(_0x41688,_0x1d39d3,_0xd6947a);},'_map':_0x59094f(0x36e)};function _0x3113d3(_0x319e27,_0x344c65,_0xabead7){const _0x1f46f6=_0x59094f;for(var _0x4edfef=[],_0x2010d2=0x0,_0x59ff54=0x0;_0x59ff54<_0x344c65;_0x59ff54++)if(_0x59ff54%0x4){var _0x6c2705=_0xabead7[_0x319e27[_0x1f46f6(0x1aa)](_0x59ff54-0x1)]<<_0x59ff54%0x4*0x2,_0x3d60ae=_0xabead7[_0x319e27[_0x1f46f6(0x1aa)](_0x59ff54)]>>>0x6-_0x59ff54%0x4*0x2,_0x4c8bc8=_0x6c2705|_0x3d60ae;_0x4edfef[_0x2010d2>>>0x2]|=_0x4c8bc8<<0x18-_0x2010d2%0x4*0x8,_0x2010d2++;}return _0x550851[_0x1f46f6(0x5d0)](_0x4edfef,_0x2010d2);}}()),_0x19eb1e['enc']['Base64'];}));}(_0x2598ab)),_0x2598ab[_0x4de638(0x4be)];}var _0x4d87d7={'exports':{}},_0x4c9fe2;function _0x2c0034(){return _0x4c9fe2||(_0x4c9fe2=0x1,function(_0x2ef118,_0x8da540){(function(_0x3e0548,_0x2c30e9){const _0x1181fa=_0x352d;_0x2ef118[_0x1181fa(0x4be)]=_0x2c30e9(_0x4cb391());}(_0x37786d,function(_0x198c74){const _0x2e1afc=_0x352d;return function(_0x249dff){const _0xc16718=_0x352d;var _0x4795c6=_0x198c74,_0x3f0c53=_0x4795c6[_0xc16718(0x1e7)],_0x29d664=_0x3f0c53['WordArray'],_0x13cefa=_0x3f0c53[_0xc16718(0x3f7)],_0x5b1195=_0x4795c6[_0xc16718(0x343)],_0x478e21=[];(function(){const _0x3f4e74=_0xc16718;for(var _0x4402f9=0x0;_0x4402f9<0x40;_0x4402f9++)_0x478e21[_0x4402f9]=_0x249dff[_0x3f4e74(0x4f1)](_0x249dff[_0x3f4e74(0x56b)](_0x4402f9+0x1))*0x100000000|0x0;}());var _0x119cf9=_0x5b1195[_0xc16718(0x4e3)]=_0x13cefa['extend']({'_doReset':function(){const _0xd5505a=_0xc16718;this[_0xd5505a(0x412)]=new _0x29d664['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x24ee20,_0x1b224c){const _0x5788d4=_0xc16718;for(var _0x1027f2=0x0;_0x1027f2<0x10;_0x1027f2++){var _0x434afb=_0x1b224c+_0x1027f2,_0x58ce2f=_0x24ee20[_0x434afb];_0x24ee20[_0x434afb]=(_0x58ce2f<<0x8|_0x58ce2f>>>0x18)&0xff00ff|(_0x58ce2f<<0x18|_0x58ce2f>>>0x8)&0xff00ff00;}var _0x561611=this[_0x5788d4(0x412)][_0x5788d4(0x51b)],_0xce6a0d=_0x24ee20[_0x1b224c+0x0],_0x93aab5=_0x24ee20[_0x1b224c+0x1],_0x366c4a=_0x24ee20[_0x1b224c+0x2],_0x40a605=_0x24ee20[_0x1b224c+0x3],_0x468f6d=_0x24ee20[_0x1b224c+0x4],_0x5017a4=_0x24ee20[_0x1b224c+0x5],_0xff6cf1=_0x24ee20[_0x1b224c+0x6],_0x3cda79=_0x24ee20[_0x1b224c+0x7],_0x56cb33=_0x24ee20[_0x1b224c+0x8],_0x38126b=_0x24ee20[_0x1b224c+0x9],_0x28d192=_0x24ee20[_0x1b224c+0xa],_0x1e1557=_0x24ee20[_0x1b224c+0xb],_0x30d8f8=_0x24ee20[_0x1b224c+0xc],_0x312a9e=_0x24ee20[_0x1b224c+0xd],_0x37f541=_0x24ee20[_0x1b224c+0xe],_0xa3256d=_0x24ee20[_0x1b224c+0xf],_0xbe51d9=_0x561611[0x0],_0x1efa63=_0x561611[0x1],_0x6c0145=_0x561611[0x2],_0x36a6ee=_0x561611[0x3];_0xbe51d9=_0x35bb6c(_0xbe51d9,_0x1efa63,_0x6c0145,_0x36a6ee,_0xce6a0d,0x7,_0x478e21[0x0]),_0x36a6ee=_0x35bb6c(_0x36a6ee,_0xbe51d9,_0x1efa63,_0x6c0145,_0x93aab5,0xc,_0x478e21[0x1]),_0x6c0145=_0x35bb6c(_0x6c0145,_0x36a6ee,_0xbe51d9,_0x1efa63,_0x366c4a,0x11,_0x478e21[0x2]),_0x1efa63=_0x35bb6c(_0x1efa63,_0x6c0145,_0x36a6ee,_0xbe51d9,_0x40a605,0x16,_0x478e21[0x3]),_0xbe51d9=_0x35bb6c(_0xbe51d9,_0x1efa63,_0x6c0145,_0x36a6ee,_0x468f6d,0x7,_0x478e21[0x4]),_0x36a6ee=_0x35bb6c(_0x36a6ee,_0xbe51d9,_0x1efa63,_0x6c0145,_0x5017a4,0xc,_0x478e21[0x5]),_0x6c0145=_0x35bb6c(_0x6c0145,_0x36a6ee,_0xbe51d9,_0x1efa63,_0xff6cf1,0x11,_0x478e21[0x6]),_0x1efa63=_0x35bb6c(_0x1efa63,_0x6c0145,_0x36a6ee,_0xbe51d9,_0x3cda79,0x16,_0x478e21[0x7]),_0xbe51d9=_0x35bb6c(_0xbe51d9,_0x1efa63,_0x6c0145,_0x36a6ee,_0x56cb33,0x7,_0x478e21[0x8]),_0x36a6ee=_0x35bb6c(_0x36a6ee,_0xbe51d9,_0x1efa63,_0x6c0145,_0x38126b,0xc,_0x478e21[0x9]),_0x6c0145=_0x35bb6c(_0x6c0145,_0x36a6ee,_0xbe51d9,_0x1efa63,_0x28d192,0x11,_0x478e21[0xa]),_0x1efa63=_0x35bb6c(_0x1efa63,_0x6c0145,_0x36a6ee,_0xbe51d9,_0x1e1557,0x16,_0x478e21[0xb]),_0xbe51d9=_0x35bb6c(_0xbe51d9,_0x1efa63,_0x6c0145,_0x36a6ee,_0x30d8f8,0x7,_0x478e21[0xc]),_0x36a6ee=_0x35bb6c(_0x36a6ee,_0xbe51d9,_0x1efa63,_0x6c0145,_0x312a9e,0xc,_0x478e21[0xd]),_0x6c0145=_0x35bb6c(_0x6c0145,_0x36a6ee,_0xbe51d9,_0x1efa63,_0x37f541,0x11,_0x478e21[0xe]),_0x1efa63=_0x35bb6c(_0x1efa63,_0x6c0145,_0x36a6ee,_0xbe51d9,_0xa3256d,0x16,_0x478e21[0xf]),_0xbe51d9=_0x3e6121(_0xbe51d9,_0x1efa63,_0x6c0145,_0x36a6ee,_0x93aab5,0x5,_0x478e21[0x10]),_0x36a6ee=_0x3e6121(_0x36a6ee,_0xbe51d9,_0x1efa63,_0x6c0145,_0xff6cf1,0x9,_0x478e21[0x11]),_0x6c0145=_0x3e6121(_0x6c0145,_0x36a6ee,_0xbe51d9,_0x1efa63,_0x1e1557,0xe,_0x478e21[0x12]),_0x1efa63=_0x3e6121(_0x1efa63,_0x6c0145,_0x36a6ee,_0xbe51d9,_0xce6a0d,0x14,_0x478e21[0x13]),_0xbe51d9=_0x3e6121(_0xbe51d9,_0x1efa63,_0x6c0145,_0x36a6ee,_0x5017a4,0x5,_0x478e21[0x14]),_0x36a6ee=_0x3e6121(_0x36a6ee,_0xbe51d9,_0x1efa63,_0x6c0145,_0x28d192,0x9,_0x478e21[0x15]),_0x6c0145=_0x3e6121(_0x6c0145,_0x36a6ee,_0xbe51d9,_0x1efa63,_0xa3256d,0xe,_0x478e21[0x16]),_0x1efa63=_0x3e6121(_0x1efa63,_0x6c0145,_0x36a6ee,_0xbe51d9,_0x468f6d,0x14,_0x478e21[0x17]),_0xbe51d9=_0x3e6121(_0xbe51d9,_0x1efa63,_0x6c0145,_0x36a6ee,_0x38126b,0x5,_0x478e21[0x18]),_0x36a6ee=_0x3e6121(_0x36a6ee,_0xbe51d9,_0x1efa63,_0x6c0145,_0x37f541,0x9,_0x478e21[0x19]),_0x6c0145=_0x3e6121(_0x6c0145,_0x36a6ee,_0xbe51d9,_0x1efa63,_0x40a605,0xe,_0x478e21[0x1a]),_0x1efa63=_0x3e6121(_0x1efa63,_0x6c0145,_0x36a6ee,_0xbe51d9,_0x56cb33,0x14,_0x478e21[0x1b]),_0xbe51d9=_0x3e6121(_0xbe51d9,_0x1efa63,_0x6c0145,_0x36a6ee,_0x312a9e,0x5,_0x478e21[0x1c]),_0x36a6ee=_0x3e6121(_0x36a6ee,_0xbe51d9,_0x1efa63,_0x6c0145,_0x366c4a,0x9,_0x478e21[0x1d]),_0x6c0145=_0x3e6121(_0x6c0145,_0x36a6ee,_0xbe51d9,_0x1efa63,_0x3cda79,0xe,_0x478e21[0x1e]),_0x1efa63=_0x3e6121(_0x1efa63,_0x6c0145,_0x36a6ee,_0xbe51d9,_0x30d8f8,0x14,_0x478e21[0x1f]),_0xbe51d9=_0x403252(_0xbe51d9,_0x1efa63,_0x6c0145,_0x36a6ee,_0x5017a4,0x4,_0x478e21[0x20]),_0x36a6ee=_0x403252(_0x36a6ee,_0xbe51d9,_0x1efa63,_0x6c0145,_0x56cb33,0xb,_0x478e21[0x21]),_0x6c0145=_0x403252(_0x6c0145,_0x36a6ee,_0xbe51d9,_0x1efa63,_0x1e1557,0x10,_0x478e21[0x22]),_0x1efa63=_0x403252(_0x1efa63,_0x6c0145,_0x36a6ee,_0xbe51d9,_0x37f541,0x17,_0x478e21[0x23]),_0xbe51d9=_0x403252(_0xbe51d9,_0x1efa63,_0x6c0145,_0x36a6ee,_0x93aab5,0x4,_0x478e21[0x24]),_0x36a6ee=_0x403252(_0x36a6ee,_0xbe51d9,_0x1efa63,_0x6c0145,_0x468f6d,0xb,_0x478e21[0x25]),_0x6c0145=_0x403252(_0x6c0145,_0x36a6ee,_0xbe51d9,_0x1efa63,_0x3cda79,0x10,_0x478e21[0x26]),_0x1efa63=_0x403252(_0x1efa63,_0x6c0145,_0x36a6ee,_0xbe51d9,_0x28d192,0x17,_0x478e21[0x27]),_0xbe51d9=_0x403252(_0xbe51d9,_0x1efa63,_0x6c0145,_0x36a6ee,_0x312a9e,0x4,_0x478e21[0x28]),_0x36a6ee=_0x403252(_0x36a6ee,_0xbe51d9,_0x1efa63,_0x6c0145,_0xce6a0d,0xb,_0x478e21[0x29]),_0x6c0145=_0x403252(_0x6c0145,_0x36a6ee,_0xbe51d9,_0x1efa63,_0x40a605,0x10,_0x478e21[0x2a]),_0x1efa63=_0x403252(_0x1efa63,_0x6c0145,_0x36a6ee,_0xbe51d9,_0xff6cf1,0x17,_0x478e21[0x2b]),_0xbe51d9=_0x403252(_0xbe51d9,_0x1efa63,_0x6c0145,_0x36a6ee,_0x38126b,0x4,_0x478e21[0x2c]),_0x36a6ee=_0x403252(_0x36a6ee,_0xbe51d9,_0x1efa63,_0x6c0145,_0x30d8f8,0xb,_0x478e21[0x2d]),_0x6c0145=_0x403252(_0x6c0145,_0x36a6ee,_0xbe51d9,_0x1efa63,_0xa3256d,0x10,_0x478e21[0x2e]),_0x1efa63=_0x403252(_0x1efa63,_0x6c0145,_0x36a6ee,_0xbe51d9,_0x366c4a,0x17,_0x478e21[0x2f]),_0xbe51d9=_0x2a6ff6(_0xbe51d9,_0x1efa63,_0x6c0145,_0x36a6ee,_0xce6a0d,0x6,_0x478e21[0x30]),_0x36a6ee=_0x2a6ff6(_0x36a6ee,_0xbe51d9,_0x1efa63,_0x6c0145,_0x3cda79,0xa,_0x478e21[0x31]),_0x6c0145=_0x2a6ff6(_0x6c0145,_0x36a6ee,_0xbe51d9,_0x1efa63,_0x37f541,0xf,_0x478e21[0x32]),_0x1efa63=_0x2a6ff6(_0x1efa63,_0x6c0145,_0x36a6ee,_0xbe51d9,_0x5017a4,0x15,_0x478e21[0x33]),_0xbe51d9=_0x2a6ff6(_0xbe51d9,_0x1efa63,_0x6c0145,_0x36a6ee,_0x30d8f8,0x6,_0x478e21[0x34]),_0x36a6ee=_0x2a6ff6(_0x36a6ee,_0xbe51d9,_0x1efa63,_0x6c0145,_0x40a605,0xa,_0x478e21[0x35]),_0x6c0145=_0x2a6ff6(_0x6c0145,_0x36a6ee,_0xbe51d9,_0x1efa63,_0x28d192,0xf,_0x478e21[0x36]),_0x1efa63=_0x2a6ff6(_0x1efa63,_0x6c0145,_0x36a6ee,_0xbe51d9,_0x93aab5,0x15,_0x478e21[0x37]),_0xbe51d9=_0x2a6ff6(_0xbe51d9,_0x1efa63,_0x6c0145,_0x36a6ee,_0x56cb33,0x6,_0x478e21[0x38]),_0x36a6ee=_0x2a6ff6(_0x36a6ee,_0xbe51d9,_0x1efa63,_0x6c0145,_0xa3256d,0xa,_0x478e21[0x39]),_0x6c0145=_0x2a6ff6(_0x6c0145,_0x36a6ee,_0xbe51d9,_0x1efa63,_0xff6cf1,0xf,_0x478e21[0x3a]),_0x1efa63=_0x2a6ff6(_0x1efa63,_0x6c0145,_0x36a6ee,_0xbe51d9,_0x312a9e,0x15,_0x478e21[0x3b]),_0xbe51d9=_0x2a6ff6(_0xbe51d9,_0x1efa63,_0x6c0145,_0x36a6ee,_0x468f6d,0x6,_0x478e21[0x3c]),_0x36a6ee=_0x2a6ff6(_0x36a6ee,_0xbe51d9,_0x1efa63,_0x6c0145,_0x1e1557,0xa,_0x478e21[0x3d]),_0x6c0145=_0x2a6ff6(_0x6c0145,_0x36a6ee,_0xbe51d9,_0x1efa63,_0x366c4a,0xf,_0x478e21[0x3e]),_0x1efa63=_0x2a6ff6(_0x1efa63,_0x6c0145,_0x36a6ee,_0xbe51d9,_0x38126b,0x15,_0x478e21[0x3f]),_0x561611[0x0]=_0x561611[0x0]+_0xbe51d9|0x0,_0x561611[0x1]=_0x561611[0x1]+_0x1efa63|0x0,_0x561611[0x2]=_0x561611[0x2]+_0x6c0145|0x0,_0x561611[0x3]=_0x561611[0x3]+_0x36a6ee|0x0;},'_doFinalize':function(){const _0xbd95a2=_0xc16718;var _0x16b5cc=this[_0xbd95a2(0x4bc)],_0x5572b8=_0x16b5cc[_0xbd95a2(0x51b)],_0xb00dd0=this[_0xbd95a2(0x1a5)]*0x8,_0x4b57db=_0x16b5cc[_0xbd95a2(0x409)]*0x8;_0x5572b8[_0x4b57db>>>0x5]|=0x80<<0x18-_0x4b57db%0x20;var _0x56e5e1=_0x249dff[_0xbd95a2(0x217)](_0xb00dd0/0x100000000),_0x558e94=_0xb00dd0;_0x5572b8[(_0x4b57db+0x40>>>0x9<<0x4)+0xf]=(_0x56e5e1<<0x8|_0x56e5e1>>>0x18)&0xff00ff|(_0x56e5e1<<0x18|_0x56e5e1>>>0x8)&0xff00ff00,_0x5572b8[(_0x4b57db+0x40>>>0x9<<0x4)+0xe]=(_0x558e94<<0x8|_0x558e94>>>0x18)&0xff00ff|(_0x558e94<<0x18|_0x558e94>>>0x8)&0xff00ff00,_0x16b5cc[_0xbd95a2(0x409)]=(_0x5572b8[_0xbd95a2(0x2b7)]+0x1)*0x4,this[_0xbd95a2(0x293)]();for(var _0x51c814=this['_hash'],_0x311b39=_0x51c814[_0xbd95a2(0x51b)],_0x12d5ca=0x0;_0x12d5ca<0x4;_0x12d5ca++){var _0x2f55cd=_0x311b39[_0x12d5ca];_0x311b39[_0x12d5ca]=(_0x2f55cd<<0x8|_0x2f55cd>>>0x18)&0xff00ff|(_0x2f55cd<<0x18|_0x2f55cd>>>0x8)&0xff00ff00;}return _0x51c814;},'clone':function(){const _0x219f52=_0xc16718;var _0x5dbfa0=_0x13cefa[_0x219f52(0x4da)][_0x219f52(0x35e)](this);return _0x5dbfa0[_0x219f52(0x412)]=this['_hash'][_0x219f52(0x4da)](),_0x5dbfa0;}});function _0x35bb6c(_0x4c4ec7,_0x363fdc,_0x5a8cd4,_0x1431bc,_0x11b48e,_0x48c1ac,_0x3072fd){var _0x4d400d=_0x4c4ec7+(_0x363fdc&_0x5a8cd4|~_0x363fdc&_0x1431bc)+_0x11b48e+_0x3072fd;return(_0x4d400d<<_0x48c1ac|_0x4d400d>>>0x20-_0x48c1ac)+_0x363fdc;}function _0x3e6121(_0x46eca5,_0x1094c3,_0x5d93f3,_0x3279c0,_0x53bcd6,_0x58cd2f,_0x4cfad5){var _0x1444a9=_0x46eca5+(_0x1094c3&_0x3279c0|_0x5d93f3&~_0x3279c0)+_0x53bcd6+_0x4cfad5;return(_0x1444a9<<_0x58cd2f|_0x1444a9>>>0x20-_0x58cd2f)+_0x1094c3;}function _0x403252(_0x32f296,_0x32b97e,_0x5735f6,_0x49d414,_0x4e8a34,_0xd8dabd,_0x302a26){var _0x370171=_0x32f296+(_0x32b97e^_0x5735f6^_0x49d414)+_0x4e8a34+_0x302a26;return(_0x370171<<_0xd8dabd|_0x370171>>>0x20-_0xd8dabd)+_0x32b97e;}function _0x2a6ff6(_0x8572fb,_0x24e371,_0xa57f49,_0x343f0c,_0x50a175,_0x33080e,_0x1e9ca1){var _0x18ee86=_0x8572fb+(_0xa57f49^(_0x24e371|~_0x343f0c))+_0x50a175+_0x1e9ca1;return(_0x18ee86<<_0x33080e|_0x18ee86>>>0x20-_0x33080e)+_0x24e371;}_0x4795c6['MD5']=_0x13cefa[_0xc16718(0x331)](_0x119cf9),_0x4795c6['HmacMD5']=_0x13cefa['_createHmacHelper'](_0x119cf9);}(Math),_0x198c74[_0x2e1afc(0x4e3)];}));}(_0x4d87d7)),_0x4d87d7['exports'];}var _0x13400a={'exports':{}},_0x4213d9={'exports':{}},_0x454411;function _0x179902(){const _0x2d391a=_0x4176ec;return _0x454411||(_0x454411=0x1,function(_0x183d7b,_0x147837){(function(_0x252a16,_0x4022a3){const _0x200cd3=_0x352d;_0x183d7b[_0x200cd3(0x4be)]=_0x4022a3(_0x4cb391());}(_0x37786d,function(_0x3562d2){const _0x2888f=_0x352d;return(function(){const _0x5c724e=_0x352d;var _0x4d0bd1=_0x3562d2,_0x5d81bc=_0x4d0bd1[_0x5c724e(0x1e7)],_0x4f8e89=_0x5d81bc[_0x5c724e(0x422)],_0x267180=_0x5d81bc[_0x5c724e(0x3f7)],_0x49747b=_0x4d0bd1[_0x5c724e(0x343)],_0x797dd=[],_0x15d870=_0x49747b[_0x5c724e(0x22c)]=_0x267180[_0x5c724e(0x51a)]({'_doReset':function(){const _0x5df305=_0x5c724e;this[_0x5df305(0x412)]=new _0x4f8e89[(_0x5df305(0x15b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x9ca1d7,_0x266490){const _0x55fef7=_0x5c724e;for(var _0x5ced29=this['_hash'][_0x55fef7(0x51b)],_0x58a3ae=_0x5ced29[0x0],_0x3febdf=_0x5ced29[0x1],_0x87dedf=_0x5ced29[0x2],_0x205634=_0x5ced29[0x3],_0x593742=_0x5ced29[0x4],_0x3585c2=0x0;_0x3585c2<0x50;_0x3585c2++){if(_0x3585c2<0x10)_0x797dd[_0x3585c2]=_0x9ca1d7[_0x266490+_0x3585c2]|0x0;else{var _0x3943c6=_0x797dd[_0x3585c2-0x3]^_0x797dd[_0x3585c2-0x8]^_0x797dd[_0x3585c2-0xe]^_0x797dd[_0x3585c2-0x10];_0x797dd[_0x3585c2]=_0x3943c6<<0x1|_0x3943c6>>>0x1f;}var _0x781e29=(_0x58a3ae<<0x5|_0x58a3ae>>>0x1b)+_0x593742+_0x797dd[_0x3585c2];_0x3585c2<0x14?_0x781e29+=(_0x3febdf&_0x87dedf|~_0x3febdf&_0x205634)+0x5a827999:_0x3585c2<0x28?_0x781e29+=(_0x3febdf^_0x87dedf^_0x205634)+0x6ed9eba1:_0x3585c2<0x3c?_0x781e29+=(_0x3febdf&_0x87dedf|_0x3febdf&_0x205634|_0x87dedf&_0x205634)-0x70e44324:_0x781e29+=(_0x3febdf^_0x87dedf^_0x205634)-0x359d3e2a,_0x593742=_0x205634,_0x205634=_0x87dedf,_0x87dedf=_0x3febdf<<0x1e|_0x3febdf>>>0x2,_0x3febdf=_0x58a3ae,_0x58a3ae=_0x781e29;}_0x5ced29[0x0]=_0x5ced29[0x0]+_0x58a3ae|0x0,_0x5ced29[0x1]=_0x5ced29[0x1]+_0x3febdf|0x0,_0x5ced29[0x2]=_0x5ced29[0x2]+_0x87dedf|0x0,_0x5ced29[0x3]=_0x5ced29[0x3]+_0x205634|0x0,_0x5ced29[0x4]=_0x5ced29[0x4]+_0x593742|0x0;},'_doFinalize':function(){const _0x373cae=_0x5c724e;var _0x218c79=this[_0x373cae(0x4bc)],_0x133b1a=_0x218c79['words'],_0x3e3a6d=this[_0x373cae(0x1a5)]*0x8,_0x309c01=_0x218c79[_0x373cae(0x409)]*0x8;return _0x133b1a[_0x309c01>>>0x5]|=0x80<<0x18-_0x309c01%0x20,_0x133b1a[(_0x309c01+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x3e3a6d/0x100000000),_0x133b1a[(_0x309c01+0x40>>>0x9<<0x4)+0xf]=_0x3e3a6d,_0x218c79[_0x373cae(0x409)]=_0x133b1a[_0x373cae(0x2b7)]*0x4,this['_process'](),this['_hash'];},'clone':function(){const _0x5b9f58=_0x5c724e;var _0x334cbc=_0x267180[_0x5b9f58(0x4da)][_0x5b9f58(0x35e)](this);return _0x334cbc[_0x5b9f58(0x412)]=this[_0x5b9f58(0x412)][_0x5b9f58(0x4da)](),_0x334cbc;}});_0x4d0bd1['SHA1']=_0x267180[_0x5c724e(0x331)](_0x15d870),_0x4d0bd1[_0x5c724e(0x271)]=_0x267180[_0x5c724e(0x47a)](_0x15d870);}()),_0x3562d2[_0x2888f(0x22c)];}));}(_0x4213d9)),_0x4213d9[_0x2d391a(0x4be)];}var _0x5cf529={'exports':{}},_0x367158;function _0x374533(){const _0x2f0d57=_0x4176ec;return _0x367158||(_0x367158=0x1,function(_0x536059,_0x2f3a36){(function(_0x4938c8,_0x56b45a){const _0x45ff12=_0x352d;_0x536059[_0x45ff12(0x4be)]=_0x56b45a(_0x4cb391());}(_0x37786d,function(_0x337f4b){(function(){const _0xf0ed67=_0x352d;var _0x14554e=_0x337f4b,_0x3f6995=_0x14554e[_0xf0ed67(0x1e7)],_0x68f225=_0x3f6995[_0xf0ed67(0x23f)],_0x5ead94=_0x14554e[_0xf0ed67(0x378)],_0x3e7f9d=_0x5ead94[_0xf0ed67(0x28d)],_0x4b4b15=_0x14554e[_0xf0ed67(0x343)];_0x4b4b15['HMAC']=_0x68f225[_0xf0ed67(0x51a)]({'init':function(_0x40fe0f,_0x120289){const _0x4c3f4b=_0xf0ed67;_0x40fe0f=this[_0x4c3f4b(0x3a2)]=new _0x40fe0f['init'](),typeof _0x120289==_0x4c3f4b(0x199)&&(_0x120289=_0x3e7f9d[_0x4c3f4b(0x25b)](_0x120289));var _0x399fae=_0x40fe0f[_0x4c3f4b(0x290)],_0x4a606c=_0x399fae*0x4;_0x120289[_0x4c3f4b(0x409)]>_0x4a606c&&(_0x120289=_0x40fe0f[_0x4c3f4b(0x18f)](_0x120289)),_0x120289[_0x4c3f4b(0x315)]();for(var _0x1a3880=this['_oKey']=_0x120289[_0x4c3f4b(0x4da)](),_0x1482d7=this[_0x4c3f4b(0x3f6)]=_0x120289[_0x4c3f4b(0x4da)](),_0x1e3c71=_0x1a3880[_0x4c3f4b(0x51b)],_0xc8be10=_0x1482d7[_0x4c3f4b(0x51b)],_0x39d453=0x0;_0x39d453<_0x399fae;_0x39d453++)_0x1e3c71[_0x39d453]^=0x5c5c5c5c,_0xc8be10[_0x39d453]^=0x36363636;_0x1a3880[_0x4c3f4b(0x409)]=_0x1482d7[_0x4c3f4b(0x409)]=_0x4a606c,this['reset']();},'reset':function(){const _0x2eeeb7=_0xf0ed67;var _0x198478=this[_0x2eeeb7(0x3a2)];_0x198478[_0x2eeeb7(0x427)](),_0x198478[_0x2eeeb7(0x215)](this[_0x2eeeb7(0x3f6)]);},'update':function(_0x1ab409){const _0x42b8e2=_0xf0ed67;return this[_0x42b8e2(0x3a2)][_0x42b8e2(0x215)](_0x1ab409),this;},'finalize':function(_0xe0eebb){const _0x3a8c38=_0xf0ed67;var _0x58aad5=this['_hasher'],_0x4cba81=_0x58aad5[_0x3a8c38(0x18f)](_0xe0eebb);_0x58aad5[_0x3a8c38(0x427)]();var _0x4767cb=_0x58aad5[_0x3a8c38(0x18f)](this[_0x3a8c38(0x3ef)][_0x3a8c38(0x4da)]()[_0x3a8c38(0x526)](_0x4cba81));return _0x4767cb;}});}());}));}(_0x5cf529)),_0x5cf529[_0x2f0d57(0x4be)];}var _0x8227d3;function _0x4221cc(){const _0xfd4c0f=_0x4176ec;return _0x8227d3||(_0x8227d3=0x1,function(_0x4d2bdf,_0x4258cc){(function(_0x1eccaa,_0x31f5ef,_0x18d68c){_0x4d2bdf['exports']=_0x31f5ef(_0x4cb391(),_0x179902(),_0x374533());}(_0x37786d,function(_0x2b33a6){return(function(){const _0x53b7ad=_0x352d;var _0x254fb9=_0x2b33a6,_0x5cc0ba=_0x254fb9[_0x53b7ad(0x1e7)],_0x49a51d=_0x5cc0ba[_0x53b7ad(0x23f)],_0x5d8d16=_0x5cc0ba['WordArray'],_0x61f562=_0x254fb9[_0x53b7ad(0x343)],_0x3c5a53=_0x61f562[_0x53b7ad(0x4e3)],_0xbbc90f=_0x61f562[_0x53b7ad(0x34c)]=_0x49a51d['extend']({'cfg':_0x49a51d[_0x53b7ad(0x51a)]({'keySize':0x80/0x20,'hasher':_0x3c5a53,'iterations':0x1}),'init':function(_0x462ca1){const _0xc70d22=_0x53b7ad;this[_0xc70d22(0x529)]=this['cfg'][_0xc70d22(0x51a)](_0x462ca1);},'compute':function(_0x462448,_0x5779f0){const _0x155654=_0x53b7ad;for(var _0x5056dc,_0xececbc=this['cfg'],_0x203e3e=_0xececbc[_0x155654(0x4a2)][_0x155654(0x5d0)](),_0x46981b=_0x5d8d16['create'](),_0xe5a89d=_0x46981b[_0x155654(0x51b)],_0x24e952=_0xececbc[_0x155654(0x47b)],_0x5e76cc=_0xececbc[_0x155654(0x3c7)];_0xe5a89d[_0x155654(0x2b7)]<_0x24e952;){_0x5056dc&&_0x203e3e[_0x155654(0x215)](_0x5056dc),_0x5056dc=_0x203e3e[_0x155654(0x215)](_0x462448)[_0x155654(0x18f)](_0x5779f0),_0x203e3e[_0x155654(0x427)]();for(var _0xde72d4=0x1;_0xde72d4<_0x5e76cc;_0xde72d4++)_0x5056dc=_0x203e3e[_0x155654(0x18f)](_0x5056dc),_0x203e3e[_0x155654(0x427)]();_0x46981b[_0x155654(0x526)](_0x5056dc);}return _0x46981b[_0x155654(0x409)]=_0x24e952*0x4,_0x46981b;}});_0x254fb9[_0x53b7ad(0x34c)]=function(_0x68de16,_0x525eb8,_0x5e39de){const _0x2dc5d3=_0x53b7ad;return _0xbbc90f[_0x2dc5d3(0x5d0)](_0x5e39de)[_0x2dc5d3(0x46d)](_0x68de16,_0x525eb8);};}()),_0x2b33a6['EvpKDF'];}));}(_0x13400a)),_0x13400a[_0xfd4c0f(0x4be)];}var _0x455316={'exports':{}},_0x2a4be1;function _0x10d9ea(){const _0x341ed6=_0x4176ec;return _0x2a4be1||(_0x2a4be1=0x1,function(_0xbd8209,_0x354610){(function(_0x2721b6,_0x2c8804,_0x23cf2c){const _0x33eebc=_0x352d;_0xbd8209[_0x33eebc(0x4be)]=_0x2c8804(_0x4cb391(),_0x4221cc());}(_0x37786d,function(_0x2a77f8){const _0x147a55=_0x352d;_0x2a77f8[_0x147a55(0x1e7)]['Cipher']||function(_0x19132d){const _0x63837e=_0x147a55;var _0x3ad36f=_0x2a77f8,_0x98d360=_0x3ad36f['lib'],_0x48b732=_0x98d360['Base'],_0x35e073=_0x98d360['WordArray'],_0x566285=_0x98d360[_0x63837e(0x214)],_0x234929=_0x3ad36f[_0x63837e(0x378)];_0x234929['Utf8'];var _0x5677e2=_0x234929[_0x63837e(0x316)],_0x531dc5=_0x3ad36f[_0x63837e(0x343)],_0x566cf0=_0x531dc5[_0x63837e(0x34c)],_0x225c28=_0x98d360[_0x63837e(0x4f6)]=_0x566285[_0x63837e(0x51a)]({'cfg':_0x48b732[_0x63837e(0x51a)](),'createEncryptor':function(_0x128e37,_0x6c58af){const _0x852c07=_0x63837e;return this[_0x852c07(0x5d0)](this[_0x852c07(0x49a)],_0x128e37,_0x6c58af);},'createDecryptor':function(_0x3ffa1b,_0x2d56a3){const _0x552be8=_0x63837e;return this[_0x552be8(0x5d0)](this['_DEC_XFORM_MODE'],_0x3ffa1b,_0x2d56a3);},'init':function(_0x12571e,_0x4e04f2,_0x26676d){const _0x2e0068=_0x63837e;this[_0x2e0068(0x529)]=this[_0x2e0068(0x529)][_0x2e0068(0x51a)](_0x26676d),this[_0x2e0068(0x202)]=_0x12571e,this['_key']=_0x4e04f2,this[_0x2e0068(0x427)]();},'reset':function(){const _0x3ffaa2=_0x63837e;_0x566285[_0x3ffaa2(0x427)][_0x3ffaa2(0x35e)](this),this['_doReset']();},'process':function(_0x45cb0c){const _0x5f2111=_0x63837e;return this[_0x5f2111(0x166)](_0x45cb0c),this[_0x5f2111(0x293)]();},'finalize':function(_0x5e5671){const _0x38a7ac=_0x63837e;_0x5e5671&&this[_0x38a7ac(0x166)](_0x5e5671);var _0x42be8b=this[_0x38a7ac(0x37d)]();return _0x42be8b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x271565(_0x42b866){const _0x4eaff8=_0x352d;return typeof _0x42b866==_0x4eaff8(0x199)?_0x28a3b5:_0x548e13;}return function(_0x2f4661){return{'encrypt':function(_0x528319,_0x3004ec,_0x23d9a6){const _0x4ec712=_0x352d;return _0x271565(_0x3004ec)[_0x4ec712(0x335)](_0x2f4661,_0x528319,_0x3004ec,_0x23d9a6);},'decrypt':function(_0x305c54,_0x345912,_0x27afe9){const _0x492579=_0x352d;return _0x271565(_0x345912)[_0x492579(0x4d8)](_0x2f4661,_0x305c54,_0x345912,_0x27afe9);}};};}())});_0x98d360[_0x63837e(0x4e7)]=_0x225c28['extend']({'_doFinalize':function(){const _0xa99732=_0x63837e;var _0x5b2984=this[_0xa99732(0x293)](!0x0);return _0x5b2984;},'blockSize':0x1});var _0x568d0b=_0x3ad36f[_0x63837e(0x305)]={},_0x44b6fc=_0x98d360[_0x63837e(0x599)]=_0x48b732[_0x63837e(0x51a)]({'createEncryptor':function(_0x3cfacc,_0x4416b3){const _0x1d0e6c=_0x63837e;return this[_0x1d0e6c(0x3a1)]['create'](_0x3cfacc,_0x4416b3);},'createDecryptor':function(_0x2f54d3,_0xc10d66){return this['Decryptor']['create'](_0x2f54d3,_0xc10d66);},'init':function(_0x219b7e,_0x369c43){const _0x1108d1=_0x63837e;this[_0x1108d1(0x3ce)]=_0x219b7e,this['_iv']=_0x369c43;}}),_0x204c28=_0x568d0b[_0x63837e(0x54e)]=(function(){const _0x3af34e=_0x63837e;var _0x3597f7=_0x44b6fc['extend']();_0x3597f7[_0x3af34e(0x3a1)]=_0x3597f7[_0x3af34e(0x51a)]({'processBlock':function(_0x22a2aa,_0x39d320){const _0x4847a6=_0x3af34e;var _0x1414ea=this[_0x4847a6(0x3ce)],_0x50f923=_0x1414ea[_0x4847a6(0x290)];_0x2af53e[_0x4847a6(0x35e)](this,_0x22a2aa,_0x39d320,_0x50f923),_0x1414ea['encryptBlock'](_0x22a2aa,_0x39d320),this[_0x4847a6(0x29c)]=_0x22a2aa[_0x4847a6(0x2de)](_0x39d320,_0x39d320+_0x50f923);}}),_0x3597f7[_0x3af34e(0x1f5)]=_0x3597f7[_0x3af34e(0x51a)]({'processBlock':function(_0x146ccc,_0x8118d2){const _0x41e3bb=_0x3af34e;var _0x2580d0=this['_cipher'],_0x2ceaaa=_0x2580d0[_0x41e3bb(0x290)],_0x308723=_0x146ccc[_0x41e3bb(0x2de)](_0x8118d2,_0x8118d2+_0x2ceaaa);_0x2580d0[_0x41e3bb(0x197)](_0x146ccc,_0x8118d2),_0x2af53e[_0x41e3bb(0x35e)](this,_0x146ccc,_0x8118d2,_0x2ceaaa),this['_prevBlock']=_0x308723;}});function _0x2af53e(_0x90ab51,_0x34450a,_0x474a37){const _0x22db83=_0x3af34e;var _0x25ec6d,_0x2aeaba=this[_0x22db83(0x585)];_0x2aeaba?(_0x25ec6d=_0x2aeaba,this[_0x22db83(0x585)]=_0x19132d):_0x25ec6d=this['_prevBlock'];for(var _0x505061=0x0;_0x505061<_0x474a37;_0x505061++)_0x90ab51[_0x34450a+_0x505061]^=_0x25ec6d[_0x505061];}return _0x3597f7;}()),_0x57f3e1=_0x3ad36f[_0x63837e(0x3eb)]={},_0x23a745=_0x57f3e1[_0x63837e(0x2b1)]={'pad':function(_0x270f0a,_0xff2520){const _0x239fdb=_0x63837e;for(var _0x4e88d7=_0xff2520*0x4,_0x2b02cb=_0x4e88d7-_0x270f0a[_0x239fdb(0x409)]%_0x4e88d7,_0x2126ae=_0x2b02cb<<0x18|_0x2b02cb<<0x10|_0x2b02cb<<0x8|_0x2b02cb,_0x1d8007=[],_0x1b1442=0x0;_0x1b1442<_0x2b02cb;_0x1b1442+=0x4)_0x1d8007[_0x239fdb(0x455)](_0x2126ae);var _0x56724d=_0x35e073[_0x239fdb(0x5d0)](_0x1d8007,_0x2b02cb);_0x270f0a[_0x239fdb(0x526)](_0x56724d);},'unpad':function(_0x30f69e){const _0x6e17fd=_0x63837e;var _0x18f834=_0x30f69e[_0x6e17fd(0x51b)][_0x30f69e[_0x6e17fd(0x409)]-0x1>>>0x2]&0xff;_0x30f69e['sigBytes']-=_0x18f834;}};_0x98d360[_0x63837e(0x533)]=_0x225c28[_0x63837e(0x51a)]({'cfg':_0x225c28[_0x63837e(0x529)][_0x63837e(0x51a)]({'mode':_0x204c28,'padding':_0x23a745}),'reset':function(){const _0x5253ef=_0x63837e;var _0x38289c;_0x225c28[_0x5253ef(0x427)][_0x5253ef(0x35e)](this);var _0xf00317=this[_0x5253ef(0x529)],_0x54998c=_0xf00317['iv'],_0x49f2c5=_0xf00317[_0x5253ef(0x305)];this[_0x5253ef(0x202)]==this[_0x5253ef(0x49a)]?_0x38289c=_0x49f2c5[_0x5253ef(0x4d6)]:(_0x38289c=_0x49f2c5[_0x5253ef(0x282)],this[_0x5253ef(0x164)]=0x1),this[_0x5253ef(0x322)]&&this[_0x5253ef(0x322)][_0x5253ef(0x410)]==_0x38289c?this['_mode'][_0x5253ef(0x15b)](this,_0x54998c&&_0x54998c[_0x5253ef(0x51b)]):(this[_0x5253ef(0x322)]=_0x38289c[_0x5253ef(0x35e)](_0x49f2c5,this,_0x54998c&&_0x54998c[_0x5253ef(0x51b)]),this[_0x5253ef(0x322)][_0x5253ef(0x410)]=_0x38289c);},'_doProcessBlock':function(_0x40c786,_0x3443a7){const _0x3c1899=_0x63837e;this['_mode'][_0x3c1899(0x1af)](_0x40c786,_0x3443a7);},'_doFinalize':function(){const _0xb713ea=_0x63837e;var _0x1a6b5f,_0x23c672=this[_0xb713ea(0x529)][_0xb713ea(0x134)];return this['_xformMode']==this[_0xb713ea(0x49a)]?(_0x23c672[_0xb713ea(0x3eb)](this['_data'],this[_0xb713ea(0x290)]),_0x1a6b5f=this['_process'](!0x0)):(_0x1a6b5f=this[_0xb713ea(0x293)](!0x0),_0x23c672['unpad'](_0x1a6b5f)),_0x1a6b5f;},'blockSize':0x80/0x20});var _0x52eb4c=_0x98d360[_0x63837e(0x150)]=_0x48b732['extend']({'init':function(_0xcc51e0){this['mixIn'](_0xcc51e0);},'toString':function(_0x5b091a){const _0x399277=_0x63837e;return(_0x5b091a||this[_0x399277(0x2a3)])[_0x399277(0x385)](this);}}),_0x46915b=_0x3ad36f[_0x63837e(0x129)]={},_0x2f9e6a=_0x46915b[_0x63837e(0x33e)]={'stringify':function(_0x331bf5){const _0x2068e7=_0x63837e;var _0x1c3281,_0x2b3900=_0x331bf5[_0x2068e7(0x403)],_0x39c547=_0x331bf5[_0x2068e7(0x445)];return _0x39c547?_0x1c3281=_0x35e073[_0x2068e7(0x5d0)]([0x53616c74,0x65645f5f])[_0x2068e7(0x526)](_0x39c547)['concat'](_0x2b3900):_0x1c3281=_0x2b3900,_0x1c3281['toString'](_0x5677e2);},'parse':function(_0x263a74){const _0x29e6f0=_0x63837e;var _0x54060e,_0x3a7b59=_0x5677e2[_0x29e6f0(0x25b)](_0x263a74),_0x44c0af=_0x3a7b59[_0x29e6f0(0x51b)];return _0x44c0af[0x0]==0x53616c74&&_0x44c0af[0x1]==0x65645f5f&&(_0x54060e=_0x35e073[_0x29e6f0(0x5d0)](_0x44c0af[_0x29e6f0(0x2de)](0x2,0x4)),_0x44c0af['splice'](0x0,0x4),_0x3a7b59[_0x29e6f0(0x409)]-=0x10),_0x52eb4c['create']({'ciphertext':_0x3a7b59,'salt':_0x54060e});}},_0x548e13=_0x98d360[_0x63837e(0x327)]=_0x48b732['extend']({'cfg':_0x48b732['extend']({'format':_0x2f9e6a}),'encrypt':function(_0x232d3d,_0x5b789c,_0x5a57ca,_0x1ec987){const _0x3d2827=_0x63837e;_0x1ec987=this[_0x3d2827(0x529)]['extend'](_0x1ec987);var _0x3204d7=_0x232d3d[_0x3d2827(0x4d6)](_0x5a57ca,_0x1ec987),_0x3ee9b1=_0x3204d7['finalize'](_0x5b789c),_0x5bdf9f=_0x3204d7[_0x3d2827(0x529)];return _0x52eb4c[_0x3d2827(0x5d0)]({'ciphertext':_0x3ee9b1,'key':_0x5a57ca,'iv':_0x5bdf9f['iv'],'algorithm':_0x232d3d,'mode':_0x5bdf9f[_0x3d2827(0x305)],'padding':_0x5bdf9f[_0x3d2827(0x134)],'blockSize':_0x232d3d[_0x3d2827(0x290)],'formatter':_0x1ec987['format']});},'decrypt':function(_0x575905,_0x550f74,_0x462593,_0x491d4e){const _0x42eb7b=_0x63837e;_0x491d4e=this[_0x42eb7b(0x529)][_0x42eb7b(0x51a)](_0x491d4e),_0x550f74=this[_0x42eb7b(0x4e6)](_0x550f74,_0x491d4e[_0x42eb7b(0x129)]);var _0xb503bd=_0x575905['createDecryptor'](_0x462593,_0x491d4e)[_0x42eb7b(0x18f)](_0x550f74['ciphertext']);return _0xb503bd;},'_parse':function(_0x3bd814,_0x262fa0){const _0x122f11=_0x63837e;return typeof _0x3bd814==_0x122f11(0x199)?_0x262fa0[_0x122f11(0x25b)](_0x3bd814,this):_0x3bd814;}}),_0x34fc36=_0x3ad36f[_0x63837e(0x486)]={},_0x77079=_0x34fc36['OpenSSL']={'execute':function(_0x52f6d2,_0x576be4,_0x30d0d1,_0x35f018,_0xba283){const _0x5ed0ce=_0x63837e;if(_0x35f018||(_0x35f018=_0x35e073[_0x5ed0ce(0x2f3)](0x40/0x8)),_0xba283)var _0x2fface=_0x566cf0[_0x5ed0ce(0x5d0)]({'keySize':_0x576be4+_0x30d0d1,'hasher':_0xba283})[_0x5ed0ce(0x46d)](_0x52f6d2,_0x35f018);else var _0x2fface=_0x566cf0[_0x5ed0ce(0x5d0)]({'keySize':_0x576be4+_0x30d0d1})['compute'](_0x52f6d2,_0x35f018);var _0x4868af=_0x35e073[_0x5ed0ce(0x5d0)](_0x2fface['words'][_0x5ed0ce(0x2de)](_0x576be4),_0x30d0d1*0x4);return _0x2fface['sigBytes']=_0x576be4*0x4,_0x52eb4c[_0x5ed0ce(0x5d0)]({'key':_0x2fface,'iv':_0x4868af,'salt':_0x35f018});}},_0x28a3b5=_0x98d360[_0x63837e(0x3cc)]=_0x548e13[_0x63837e(0x51a)]({'cfg':_0x548e13[_0x63837e(0x529)][_0x63837e(0x51a)]({'kdf':_0x77079}),'encrypt':function(_0x3a4be4,_0x993802,_0x58de48,_0x2d69b3){const _0x3c1017=_0x63837e;_0x2d69b3=this[_0x3c1017(0x529)][_0x3c1017(0x51a)](_0x2d69b3);var _0x38a66d=_0x2d69b3[_0x3c1017(0x486)][_0x3c1017(0x59b)](_0x58de48,_0x3a4be4[_0x3c1017(0x47b)],_0x3a4be4['ivSize'],_0x2d69b3['salt'],_0x2d69b3['hasher']);_0x2d69b3['iv']=_0x38a66d['iv'];var _0xaf8b46=_0x548e13[_0x3c1017(0x335)][_0x3c1017(0x35e)](this,_0x3a4be4,_0x993802,_0x38a66d[_0x3c1017(0x546)],_0x2d69b3);return _0xaf8b46['mixIn'](_0x38a66d),_0xaf8b46;},'decrypt':function(_0x10042b,_0x56fd1a,_0x526053,_0x3738b0){const _0x1052ca=_0x63837e;_0x3738b0=this[_0x1052ca(0x529)][_0x1052ca(0x51a)](_0x3738b0),_0x56fd1a=this[_0x1052ca(0x4e6)](_0x56fd1a,_0x3738b0[_0x1052ca(0x129)]);var _0x329bf7=_0x3738b0[_0x1052ca(0x486)]['execute'](_0x526053,_0x10042b[_0x1052ca(0x47b)],_0x10042b[_0x1052ca(0x27b)],_0x56fd1a[_0x1052ca(0x445)],_0x3738b0[_0x1052ca(0x4a2)]);_0x3738b0['iv']=_0x329bf7['iv'];var _0x3bc782=_0x548e13[_0x1052ca(0x4d8)][_0x1052ca(0x35e)](this,_0x10042b,_0x56fd1a,_0x329bf7[_0x1052ca(0x546)],_0x3738b0);return _0x3bc782;}});}();}));}(_0x455316)),_0x455316[_0x341ed6(0x4be)];}(function(_0x52a524,_0x426ec2){(function(_0x1c8792,_0x2a68fe,_0x409c60){const _0x57efff=_0x352d;_0x52a524[_0x57efff(0x4be)]=_0x2a68fe(_0x4cb391(),_0x2c4881(),_0x2c0034(),_0x4221cc(),_0x10d9ea());}(_0x37786d,function(_0x5b1bbc){const _0xab6cdd=_0x352d;return(function(){const _0x3a5057=_0x352d;var _0x198837=_0x5b1bbc,_0x32f1ee=_0x198837['lib'],_0xe88560=_0x32f1ee[_0x3a5057(0x533)],_0x1cc139=_0x198837['algo'],_0x31db68=[],_0x5f26bb=[],_0x23adaf=[],_0x7c10a9=[],_0x456f0b=[],_0x5c941d=[],_0x18a815=[],_0x2fa0bb=[],_0x18e9f2=[],_0x1065b8=[];(function(){for(var _0x481c6c=[],_0x692df9=0x0;_0x692df9<0x100;_0x692df9++)_0x692df9<0x80?_0x481c6c[_0x692df9]=_0x692df9<<0x1:_0x481c6c[_0x692df9]=_0x692df9<<0x1^0x11b;for(var _0x9d338=0x0,_0x1d8c72=0x0,_0x692df9=0x0;_0x692df9<0x100;_0x692df9++){var _0x14605e=_0x1d8c72^_0x1d8c72<<0x1^_0x1d8c72<<0x2^_0x1d8c72<<0x3^_0x1d8c72<<0x4;_0x14605e=_0x14605e>>>0x8^_0x14605e&0xff^0x63,_0x31db68[_0x9d338]=_0x14605e,_0x5f26bb[_0x14605e]=_0x9d338;var _0x20345a=_0x481c6c[_0x9d338],_0x5cfa0f=_0x481c6c[_0x20345a],_0x393181=_0x481c6c[_0x5cfa0f],_0x4e8f1b=_0x481c6c[_0x14605e]*0x101^_0x14605e*0x1010100;_0x23adaf[_0x9d338]=_0x4e8f1b<<0x18|_0x4e8f1b>>>0x8,_0x7c10a9[_0x9d338]=_0x4e8f1b<<0x10|_0x4e8f1b>>>0x10,_0x456f0b[_0x9d338]=_0x4e8f1b<<0x8|_0x4e8f1b>>>0x18,_0x5c941d[_0x9d338]=_0x4e8f1b;var _0x4e8f1b=_0x393181*0x1010101^_0x5cfa0f*0x10001^_0x20345a*0x101^_0x9d338*0x1010100;_0x18a815[_0x14605e]=_0x4e8f1b<<0x18|_0x4e8f1b>>>0x8,_0x2fa0bb[_0x14605e]=_0x4e8f1b<<0x10|_0x4e8f1b>>>0x10,_0x18e9f2[_0x14605e]=_0x4e8f1b<<0x8|_0x4e8f1b>>>0x18,_0x1065b8[_0x14605e]=_0x4e8f1b,_0x9d338?(_0x9d338=_0x20345a^_0x481c6c[_0x481c6c[_0x481c6c[_0x393181^_0x20345a]]],_0x1d8c72^=_0x481c6c[_0x481c6c[_0x1d8c72]]):_0x9d338=_0x1d8c72=0x1;}}());var _0x194e8c=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1838a6=_0x1cc139[_0x3a5057(0x338)]=_0xe88560[_0x3a5057(0x51a)]({'_doReset':function(){const _0x179fc9=_0x3a5057;var _0x32c548;if(!(this[_0x179fc9(0x2fa)]&&this[_0x179fc9(0x289)]===this[_0x179fc9(0x12a)])){for(var _0x42f373=this[_0x179fc9(0x289)]=this[_0x179fc9(0x12a)],_0x339b05=_0x42f373[_0x179fc9(0x51b)],_0x17281d=_0x42f373[_0x179fc9(0x409)]/0x4,_0x532edb=this[_0x179fc9(0x2fa)]=_0x17281d+0x6,_0x4d262e=(_0x532edb+0x1)*0x4,_0x48b54a=this[_0x179fc9(0x206)]=[],_0x4ce392=0x0;_0x4ce392<_0x4d262e;_0x4ce392++)_0x4ce392<_0x17281d?_0x48b54a[_0x4ce392]=_0x339b05[_0x4ce392]:(_0x32c548=_0x48b54a[_0x4ce392-0x1],_0x4ce392%_0x17281d?_0x17281d>0x6&&_0x4ce392%_0x17281d==0x4&&(_0x32c548=_0x31db68[_0x32c548>>>0x18]<<0x18|_0x31db68[_0x32c548>>>0x10&0xff]<<0x10|_0x31db68[_0x32c548>>>0x8&0xff]<<0x8|_0x31db68[_0x32c548&0xff]):(_0x32c548=_0x32c548<<0x8|_0x32c548>>>0x18,_0x32c548=_0x31db68[_0x32c548>>>0x18]<<0x18|_0x31db68[_0x32c548>>>0x10&0xff]<<0x10|_0x31db68[_0x32c548>>>0x8&0xff]<<0x8|_0x31db68[_0x32c548&0xff],_0x32c548^=_0x194e8c[_0x4ce392/_0x17281d|0x0]<<0x18),_0x48b54a[_0x4ce392]=_0x48b54a[_0x4ce392-_0x17281d]^_0x32c548);for(var _0x2f1b2d=this[_0x179fc9(0x1ee)]=[],_0x52f394=0x0;_0x52f394<_0x4d262e;_0x52f394++){var _0x4ce392=_0x4d262e-_0x52f394;if(_0x52f394%0x4)var _0x32c548=_0x48b54a[_0x4ce392];else var _0x32c548=_0x48b54a[_0x4ce392-0x4];_0x52f394<0x4||_0x4ce392<=0x4?_0x2f1b2d[_0x52f394]=_0x32c548:_0x2f1b2d[_0x52f394]=_0x18a815[_0x31db68[_0x32c548>>>0x18]]^_0x2fa0bb[_0x31db68[_0x32c548>>>0x10&0xff]]^_0x18e9f2[_0x31db68[_0x32c548>>>0x8&0xff]]^_0x1065b8[_0x31db68[_0x32c548&0xff]];}}},'encryptBlock':function(_0x3dea61,_0x446490){const _0x11b0be=_0x3a5057;this['_doCryptBlock'](_0x3dea61,_0x446490,this[_0x11b0be(0x206)],_0x23adaf,_0x7c10a9,_0x456f0b,_0x5c941d,_0x31db68);},'decryptBlock':function(_0x563b56,_0x5d60b3){const _0x4b9d15=_0x3a5057;var _0x56fbb1=_0x563b56[_0x5d60b3+0x1];_0x563b56[_0x5d60b3+0x1]=_0x563b56[_0x5d60b3+0x3],_0x563b56[_0x5d60b3+0x3]=_0x56fbb1,this[_0x4b9d15(0x4ae)](_0x563b56,_0x5d60b3,this[_0x4b9d15(0x1ee)],_0x18a815,_0x2fa0bb,_0x18e9f2,_0x1065b8,_0x5f26bb);var _0x56fbb1=_0x563b56[_0x5d60b3+0x1];_0x563b56[_0x5d60b3+0x1]=_0x563b56[_0x5d60b3+0x3],_0x563b56[_0x5d60b3+0x3]=_0x56fbb1;},'_doCryptBlock':function(_0x5c23ee,_0x789e02,_0x1ef36f,_0x348055,_0x251b4e,_0x3530fc,_0x13e638,_0x3360e6){for(var _0x55bc26=this['_nRounds'],_0x78fc30=_0x5c23ee[_0x789e02]^_0x1ef36f[0x0],_0x203739=_0x5c23ee[_0x789e02+0x1]^_0x1ef36f[0x1],_0x131f6a=_0x5c23ee[_0x789e02+0x2]^_0x1ef36f[0x2],_0x1aa45e=_0x5c23ee[_0x789e02+0x3]^_0x1ef36f[0x3],_0x31b5b5=0x4,_0x58cfc3=0x1;_0x58cfc3<_0x55bc26;_0x58cfc3++){var _0x2886ee=_0x348055[_0x78fc30>>>0x18]^_0x251b4e[_0x203739>>>0x10&0xff]^_0x3530fc[_0x131f6a>>>0x8&0xff]^_0x13e638[_0x1aa45e&0xff]^_0x1ef36f[_0x31b5b5++],_0x3bedba=_0x348055[_0x203739>>>0x18]^_0x251b4e[_0x131f6a>>>0x10&0xff]^_0x3530fc[_0x1aa45e>>>0x8&0xff]^_0x13e638[_0x78fc30&0xff]^_0x1ef36f[_0x31b5b5++],_0x3ed617=_0x348055[_0x131f6a>>>0x18]^_0x251b4e[_0x1aa45e>>>0x10&0xff]^_0x3530fc[_0x78fc30>>>0x8&0xff]^_0x13e638[_0x203739&0xff]^_0x1ef36f[_0x31b5b5++],_0x111a23=_0x348055[_0x1aa45e>>>0x18]^_0x251b4e[_0x78fc30>>>0x10&0xff]^_0x3530fc[_0x203739>>>0x8&0xff]^_0x13e638[_0x131f6a&0xff]^_0x1ef36f[_0x31b5b5++];_0x78fc30=_0x2886ee,_0x203739=_0x3bedba,_0x131f6a=_0x3ed617,_0x1aa45e=_0x111a23;}var _0x2886ee=(_0x3360e6[_0x78fc30>>>0x18]<<0x18|_0x3360e6[_0x203739>>>0x10&0xff]<<0x10|_0x3360e6[_0x131f6a>>>0x8&0xff]<<0x8|_0x3360e6[_0x1aa45e&0xff])^_0x1ef36f[_0x31b5b5++],_0x3bedba=(_0x3360e6[_0x203739>>>0x18]<<0x18|_0x3360e6[_0x131f6a>>>0x10&0xff]<<0x10|_0x3360e6[_0x1aa45e>>>0x8&0xff]<<0x8|_0x3360e6[_0x78fc30&0xff])^_0x1ef36f[_0x31b5b5++],_0x3ed617=(_0x3360e6[_0x131f6a>>>0x18]<<0x18|_0x3360e6[_0x1aa45e>>>0x10&0xff]<<0x10|_0x3360e6[_0x78fc30>>>0x8&0xff]<<0x8|_0x3360e6[_0x203739&0xff])^_0x1ef36f[_0x31b5b5++],_0x111a23=(_0x3360e6[_0x1aa45e>>>0x18]<<0x18|_0x3360e6[_0x78fc30>>>0x10&0xff]<<0x10|_0x3360e6[_0x203739>>>0x8&0xff]<<0x8|_0x3360e6[_0x131f6a&0xff])^_0x1ef36f[_0x31b5b5++];_0x5c23ee[_0x789e02]=_0x2886ee,_0x5c23ee[_0x789e02+0x1]=_0x3bedba,_0x5c23ee[_0x789e02+0x2]=_0x3ed617,_0x5c23ee[_0x789e02+0x3]=_0x111a23;},'keySize':0x100/0x20});_0x198837['AES']=_0xe88560[_0x3a5057(0x331)](_0x1838a6);}()),_0x5b1bbc[_0xab6cdd(0x338)];}));}(_0x517fb0));var _0x42750f=_0x517fb0[_0x4176ec(0x4be)];const _0x39261d=_0x53bc33(_0x42750f);var _0x2fc7f7=_0x2c4881();const _0x102696=_0x53bc33(_0x2fc7f7);var _0xe95a83={'exports':{}};(function(_0x3851bd,_0x42b192){(function(_0x57444b,_0x57fc3e){const _0x45ecf4=_0x352d;_0x3851bd[_0x45ecf4(0x4be)]=_0x57fc3e(_0x4cb391());}(_0x37786d,function(_0x233ea7){const _0x2a2408=_0x352d;return _0x233ea7['enc'][_0x2a2408(0x28d)];}));}(_0xe95a83));var _0x5a306f=_0xe95a83[_0x4176ec(0x4be)];const _0x24097e=_0x53bc33(_0x5a306f);var _0x4e895f={'exports':{}};(function(_0x52915c,_0xda8a48){(function(_0x726c2b,_0x1655c8){const _0x51a53a=_0x352d;_0x52915c[_0x51a53a(0x4be)]=_0x1655c8(_0x4cb391());}(_0x37786d,function(_0xb813e5){const _0xbfb953=_0x352d;return(function(){const _0xab3fa0=_0x352d;if(typeof ArrayBuffer=='function'){var _0x39e0f3=_0xb813e5,_0x45a9b9=_0x39e0f3[_0xab3fa0(0x1e7)],_0x566803=_0x45a9b9[_0xab3fa0(0x422)],_0x58b286=_0x566803[_0xab3fa0(0x15b)],_0x5d982=_0x566803[_0xab3fa0(0x15b)]=function(_0x2568f0){const _0xf5182c=_0xab3fa0;if(_0x2568f0 instanceof ArrayBuffer&&(_0x2568f0=new Uint8Array(_0x2568f0)),(_0x2568f0 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2568f0 instanceof Uint8ClampedArray||_0x2568f0 instanceof Int16Array||_0x2568f0 instanceof Uint16Array||_0x2568f0 instanceof Int32Array||_0x2568f0 instanceof Uint32Array||_0x2568f0 instanceof Float32Array||_0x2568f0 instanceof Float64Array)&&(_0x2568f0=new Uint8Array(_0x2568f0['buffer'],_0x2568f0['byteOffset'],_0x2568f0[_0xf5182c(0x2a8)])),_0x2568f0 instanceof Uint8Array){for(var _0x25c02f=_0x2568f0[_0xf5182c(0x2a8)],_0x2f4328=[],_0x216715=0x0;_0x216715<_0x25c02f;_0x216715++)_0x2f4328[_0x216715>>>0x2]|=_0x2568f0[_0x216715]<<0x18-_0x216715%0x4*0x8;_0x58b286[_0xf5182c(0x35e)](this,_0x2f4328,_0x25c02f);}else _0x58b286['apply'](this,arguments);};_0x5d982[_0xab3fa0(0x3a9)]=_0x566803;}}()),_0xb813e5[_0xbfb953(0x1e7)]['WordArray'];}));}(_0x4e895f));var _0x3481e9=_0x4e895f['exports'];const _0x4ece88=_0x53bc33(_0x3481e9);var _0x165969={'exports':{}};(function(_0x52b6d8,_0x484811){(function(_0x1645dd,_0x18a562,_0x3d6943){const _0x241401=_0x352d;_0x52b6d8[_0x241401(0x4be)]=_0x18a562(_0x4cb391(),_0x10d9ea());}(_0x37786d,function(_0x58e143){const _0x34614a=_0x352d;return _0x58e143['pad'][_0x34614a(0x23e)]={'pad':function(){},'unpad':function(){}},_0x58e143['pad'][_0x34614a(0x23e)];}));}(_0x165969));var _0x39c675=_0x165969[_0x4176ec(0x4be)];const _0x452d43=_0x53bc33(_0x39c675);function _0x5d77fa(_0x1ebe12,_0xc16d96){const _0x2900ae=_0x4176ec,_0x52e11d=_0xc16d96-_0x1ebe12[_0x2900ae(0x2b7)]%_0xc16d96,_0x4180e9=String[_0x2900ae(0x27d)](_0x52e11d)[_0x2900ae(0x482)](_0x52e11d);return _0x1ebe12+_0x4180e9;}function _0x4ec9d2(_0x45c50e,_0x3d353f){const _0x5c78af=_0x4176ec,_0x527157=_0x4ece88[_0x5c78af(0x2f3)](0x10),_0x597846=_0x5d77fa(_0x45c50e,0x10),_0x813093=_0x39261d[_0x5c78af(0x335)](_0x24097e['parse'](_0x597846),_0x102696[_0x5c78af(0x25b)](_0x3d353f),{'iv':_0x527157,'padding':_0x452d43});return _0x527157[_0x5c78af(0x526)](_0x813093['ciphertext'])['toString'](_0x102696);}function _0x342449(){const _0x43dc6f=_0x4176ec,_0x1db20f=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x43dc6f(0x4f8)];if(_0x1db20f){const _0x3b0940={'time':Math[_0x43dc6f(0x217)](Date[_0x43dc6f(0x4d1)]()/0x3e8),'domain':location[_0x43dc6f(0x47e)]};return _0x4ec9d2(JSON[_0x43dc6f(0x385)](_0x3b0940),_0x1db20f);}}var _0x297ca2=Object[_0x4176ec(0x2b4)],_0xbac34d=Object[_0x4176ec(0x48c)],_0x4fe85a=(_0x241570,_0x413c20,_0x1c5e5c,_0x1875fe)=>{const _0x5f2a53=_0x4176ec;for(var _0x10df0f=_0x1875fe>0x1?void 0x0:_0x1875fe?_0xbac34d(_0x413c20,_0x1c5e5c):_0x413c20,_0x145275=_0x241570[_0x5f2a53(0x2b7)]-0x1,_0x2b734f;_0x145275>=0x0;_0x145275--)(_0x2b734f=_0x241570[_0x145275])&&(_0x10df0f=(_0x1875fe?_0x2b734f(_0x413c20,_0x1c5e5c,_0x10df0f):_0x2b734f(_0x10df0f))||_0x10df0f);return _0x1875fe&&_0x10df0f&&_0x297ca2(_0x413c20,_0x1c5e5c,_0x10df0f),_0x10df0f;},_0x2c5bf1=(_0x20dbab,_0x818643)=>(_0x18ccea,_0xab0d81)=>_0x818643(_0x18ccea,_0xab0d81,_0x20dbab);let _0x3606f5=class{constructor(_0x456222){const _0x24bb89=_0x4176ec;this['_httpService']=_0x456222,this[_0x24bb89(0x223)]();}[_0x4176ec(0x223)](){const _0x5a98ac=_0x4176ec;this['_httpService'][_0x5a98ac(0x3e7)]({'interceptor':(_0x28a1fa,_0x4c2b61)=>{const _0x26ca0f=_0x5a98ac,_0x4c01e0=_0x28a1fa[_0x26ca0f(0x4c1)],_0x4bb0b2=_0x342449();return _0x4bb0b2&&_0x4c01e0[_0x26ca0f(0x266)](_0x26ca0f(0x148),_0x4bb0b2),_0x4c2b61(_0x28a1fa);}});}};_0x3606f5=_0x4fe85a([_0x2c5bf1(0x0,_0xd3ef1d[_0x4176ec(0x2bc)](_0x46bbd6[_0x4176ec(0x180)]))],_0x3606f5);var _0x2e94b6=Object['defineProperty'],_0x8bb9fa=Object[_0x4176ec(0x48c)],_0x41d3bd=(_0x219481,_0x4068ff,_0x1a00cd,_0xbb84d5)=>{for(var _0x2d9ac9=_0xbb84d5>0x1?void 0x0:_0xbb84d5?_0x8bb9fa(_0x4068ff,_0x1a00cd):_0x4068ff,_0x275c02=_0x219481['length']-0x1,_0x364f89;_0x275c02>=0x0;_0x275c02--)(_0x364f89=_0x219481[_0x275c02])&&(_0x2d9ac9=(_0xbb84d5?_0x364f89(_0x4068ff,_0x1a00cd,_0x2d9ac9):_0x364f89(_0x2d9ac9))||_0x2d9ac9);return _0xbb84d5&&_0x2d9ac9&&_0x2e94b6(_0x4068ff,_0x1a00cd,_0x2d9ac9),_0x2d9ac9;},_0x345da1=(_0x363a0e,_0x87bb9d)=>(_0x52aa7f,_0x507883)=>_0x87bb9d(_0x52aa7f,_0x507883,_0x363a0e);const _0x1e3e44=[_0x4176ec(0x3ae),_0x4176ec(0x18a),_0x4176ec(0x3e3),_0x4176ec(0x1cb),'image/bmp'],_0x10816b=0x5*0x400*0x400,_0x59068d=_0x4176ec(0x40c),_0x570d12='/universer-api/stream/file/upload',_0x5d36d0=_0x4176ec(0x4c2),_0x2ca3a0='/universer-api/file/{fileID}/sign-url';_0x5e8095[_0x4176ec(0x55b)]=class{constructor(_0x57f377,_0x4038df,_0x22662a){const _0x5802d1=_0x4176ec;_0xddf92d(this,_0x5802d1(0x4e9),0x0),_0xddf92d(this,_0x5802d1(0x43e),new _0x2c8065[(_0x5802d1(0x58c))]()),_0xddf92d(this,_0x5802d1(0x4ba),this[_0x5802d1(0x43e)]),_0xddf92d(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x57f377,this[_0x5802d1(0x1bf)]=_0x4038df,this[_0x5802d1(0x1d0)]=_0x22662a);}[_0x4176ec(0x38f)](_0x57d917){const _0x21e127=_0x4176ec;this[_0x21e127(0x4e9)]=_0x57d917,this[_0x21e127(0x43e)][_0x21e127(0x52a)](_0x57d917);}[_0x4176ec(0x5b0)](_0x606bf0,_0x3958e1){const _0x292d79=_0x4176ec;if(_0x3958e1===_0x542813['ImageSourceType'][_0x292d79(0x2e8)]){const _0xba1318=new Image();return _0xba1318[_0x292d79(0x254)]=_0x606bf0,_0xba1318;}return this[_0x292d79(0x15f)]['get'](_0x606bf0);}[_0x4176ec(0x40e)](_0x41864d,_0x3f6389,_0xb015df){const _0x34c085=_0x4176ec;_0x3f6389===_0x542813['ImageSourceType'][_0x34c085(0x2e8)]||_0xb015df==null||this[_0x34c085(0x15f)]['set'](_0x41864d,_0xb015df);}async[_0x4176ec(0x24f)](_0x542fe8){const _0x3e08d0=_0x4176ec;try{const _0x2be38f=this[_0x3e08d0(0x426)](this[_0x3e08d0(0x127)](),''+_0x542fe8),_0xc96be1=(await this[_0x3e08d0(0x3d6)][_0x3e08d0(0x313)](_0x2be38f))[_0x3e08d0(0x483)];if(_0xc96be1[_0x3e08d0(0x476)]&&_0xc96be1[_0x3e08d0(0x476)]['code']===_0xd6cb55['OK']){const _0x3b6ae8=new URL(_0xc96be1['url'],this[_0x3e08d0(0x2a4)]())[_0x3e08d0(0x530)]();return Promise[_0x3e08d0(0x446)](_0x3b6ae8);}return Promise[_0x3e08d0(0x347)](_0xc96be1[_0x3e08d0(0x476)]);}catch(_0x59a5fc){return Promise['reject'](_0x59a5fc);}}async['saveImage'](_0xda77a8){const _0x2a57b2=_0x4176ec;let _0x230d9d='';if(!_0x1e3e44['includes'](_0xda77a8[_0x2a57b2(0x286)]))return this[_0x2a57b2(0x141)](),Promise[_0x2a57b2(0x347)](new Error(_0x542813[_0x2a57b2(0x3ec)][_0x2a57b2(0x44d)]));if(_0xda77a8['size']>_0x10816b)return this[_0x2a57b2(0x141)](),Promise[_0x2a57b2(0x347)](new Error(_0x542813[_0x2a57b2(0x3ec)][_0x2a57b2(0x2e7)]));try{const _0x214472=new FormData();_0x214472[_0x2a57b2(0x3e1)]('file',_0xda77a8);const _0x38311b=this[_0x2a57b2(0x1d0)]['getFocusedUnit'](),_0x888a1e=_0x38311b==null?void 0x0:_0x38311b['getUnitId']();if(!_0x888a1e)throw new Error(_0x2a57b2(0x234));const _0x58029b=this[_0x2a57b2(0x2db)]()+_0x2a57b2(0x31c)+_0xda77a8['size'][_0x2a57b2(0x530)]()+'&source='+_0x14912f[_0x2a57b2(0x43a)]+_0x2a57b2(0x2e3)+encodeURIComponent(_0x888a1e),_0x46d01c=await(await fetch(_0x58029b,{'method':_0x2a57b2(0x5c3),'body':_0x214472}))[_0x2a57b2(0x49d)]();if(typeof _0x46d01c['FileId']!=_0x2a57b2(0x199))return this['_decreaseWaiting'](),Promise[_0x2a57b2(0x347)](new Error(_0x542813['ImageUploadStatusType']['ERROR_IMAGE']));_0x230d9d=_0x46d01c[_0x2a57b2(0x2e4)];}catch{return this[_0x2a57b2(0x141)](),Promise['reject'](new Error(_0x542813['ImageUploadStatusType'][_0x2a57b2(0x586)]));}return new Promise((_0x4ef9d2,_0x7e9e0f)=>{const _0x129b17=_0x2a57b2,_0x18fe3e=new FileReader();_0x18fe3e[_0x129b17(0x3e9)](_0xda77a8),_0x18fe3e['onload']=_0x1639cf=>{const _0x1b9a9c=_0x129b17;var _0x33c955;const _0x1de913=(_0x33c955=_0x1639cf[_0x1b9a9c(0x2cd)])==null?void 0x0:_0x33c955[_0x1b9a9c(0x339)];if(_0x1de913==null){this[_0x1b9a9c(0x141)](),_0x7e9e0f(new Error(_0x542813['ImageUploadStatusType'][_0x1b9a9c(0x586)]));return;}const _0x44b671=_0xd3ef1d[_0x1b9a9c(0x471)]['generateRandomId'](0x6);_0x4ef9d2({'imageId':_0x44b671,'imageSourceType':_0x542813[_0x1b9a9c(0x3fa)][_0x1b9a9c(0x213)],'source':_0x230d9d,'base64Cache':_0x1de913,'status':_0x542813[_0x1b9a9c(0x3ec)][_0x1b9a9c(0x449)]}),this[_0x1b9a9c(0x141)]();};});}[_0x4176ec(0x2db)](){const _0x36eb35=_0x4176ec;var _0x57b93d,_0x56e1f4;const _0x58b784=this[_0x36eb35(0x1bf)][_0x36eb35(0x40b)](_0x59068d),_0x13aee5=this[_0x36eb35(0x1bf)]['getConfig'](_0x20ac24);return(_0x56e1f4=(_0x57b93d=_0x13aee5==null?void 0x0:_0x13aee5[_0x36eb35(0x2ab)])!=null?_0x57b93d:_0x58b784)!=null?_0x56e1f4:_0x570d12;}[_0x4176ec(0x127)](){const _0x3b3070=_0x4176ec;var _0x55efbf,_0x126ef8;const _0x5a0903=this[_0x3b3070(0x1bf)][_0x3b3070(0x40b)](_0x5d36d0),_0x1d3412=this[_0x3b3070(0x1bf)]['getConfig'](_0x20ac24);return(_0x126ef8=(_0x55efbf=_0x1d3412==null?void 0x0:_0x1d3412[_0x3b3070(0x584)])!=null?_0x55efbf:_0x5a0903)!=null?_0x126ef8:_0x2ca3a0;}[_0x4176ec(0x2a4)](){const _0x245776=_0x4176ec;var _0x369718;const _0x1b2297=this[_0x245776(0x1bf)][_0x245776(0x40b)](_0x20ac24);return(_0x369718=_0x1b2297==null?void 0x0:_0x1b2297[_0x245776(0x297)])!=null?_0x369718:location['origin'];}[_0x4176ec(0x426)](_0x224e82,_0x5bb1e1){const _0x541099=_0x4176ec;return _0x224e82[_0x541099(0x1bc)]('{fileID}',_0x5bb1e1);}[_0x4176ec(0x141)](){const _0x5716d4=_0x4176ec;this[_0x5716d4(0x4e9)]-=0x1,this[_0x5716d4(0x43e)][_0x5716d4(0x52a)](this[_0x5716d4(0x4e9)]);}},_0x5e8095[_0x4176ec(0x55b)]=_0x41d3bd([_0x345da1(0x0,_0xd3ef1d[_0x4176ec(0x2bc)](_0x46bbd6[_0x4176ec(0x180)])),_0x345da1(0x1,_0xd3ef1d[_0x4176ec(0x2ce)]),_0x345da1(0x2,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d[_0x4176ec(0x2fc)]))],_0x5e8095[_0x4176ec(0x55b)]);var _0x28a421=Object['defineProperty'],_0x185b3c=Object[_0x4176ec(0x48c)],_0x9e538e=(_0x3fbb94,_0x26c7d0,_0x54d308,_0x2bdff7)=>{for(var _0x55ce2c=_0x2bdff7>0x1?void 0x0:_0x2bdff7?_0x185b3c(_0x26c7d0,_0x54d308):_0x26c7d0,_0x3198b9=_0x3fbb94['length']-0x1,_0x3346c5;_0x3198b9>=0x0;_0x3198b9--)(_0x3346c5=_0x3fbb94[_0x3198b9])&&(_0x55ce2c=(_0x2bdff7?_0x3346c5(_0x26c7d0,_0x54d308,_0x55ce2c):_0x3346c5(_0x55ce2c))||_0x55ce2c);return _0x2bdff7&&_0x55ce2c&&_0x28a421(_0x26c7d0,_0x54d308,_0x55ce2c),_0x55ce2c;},_0x861628=(_0x5c5b1a,_0x27e0fa)=>(_0x219b1e,_0x2f7c48)=>_0x27e0fa(_0x219b1e,_0x2f7c48,_0x5c5b1a);let _0x2a45b8=class extends _0xd3ef1d[_0x4176ec(0x19c)]{constructor(_0x46a9e7,_0x466bfb,_0x3025dd,_0x35c987,_0x1b207a){const _0x344c41=_0x4176ec;super(),this[_0x344c41(0x11a)]=_0x46a9e7,this[_0x344c41(0x1d0)]=_0x466bfb,this[_0x344c41(0x3c1)]=_0x3025dd,this[_0x344c41(0x10b)]=_0x35c987,this[_0x344c41(0x4a7)]=_0x1b207a,this[_0x344c41(0x1b4)](),this[_0x344c41(0x439)]();}[_0x4176ec(0x439)](){const _0x5a949b=_0x4176ec,_0x3997d7=async _0x20ddbe=>{const _0x2e571d=_0x352d;(await this[_0x2e571d(0x10b)][_0x2e571d(0x3f8)](_0x20ddbe))['event$']['pipe'](_0x5cc70d[_0x2e571d(0x3b9)](_0x180be2=>_0x180be2['eventID']===_0x47367d[_0x2e571d(0x498)][_0x2e571d(0x3ab)]),_0x5cc70d[_0x2e571d(0x50b)](this['dispose$']))[_0x2e571d(0x221)](_0x509450=>{const _0x2cb5bf=_0x2e571d,_0x3acea0=_0x509450,{reason:_0x1042d4}=_0x3acea0[_0x2cb5bf(0x33b)];this[_0x2cb5bf(0x11a)][_0x2cb5bf(0x313)](_0x45bd5d[_0x2cb5bf(0x2bf)])[_0x2cb5bf(0x593)]({'type':_0x3c4c54['MessageType'][_0x2cb5bf(0x3dd)],'content':this[_0x2cb5bf(0x4a7)]['t'](_0x2cb5bf(0x348))+'('+_0x1042d4+')'}),this['_permissionService'][_0x2cb5bf(0x296)](new _0x1b517d[(_0x2cb5bf(0x41d))](_0x20ddbe)['id'],!0x1),this['_collaborationSessionService'][_0x2cb5bf(0x524)](_0x20ddbe);});};_0x2c8065[_0x5a949b(0x2ff)](this[_0x5a949b(0x1d0)][_0x5a949b(0x4b4)](_0xd3ef1d[_0x5a949b(0x20c)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x5a949b(0x4b4)](_0xd3ef1d[_0x5a949b(0x20c)][_0x5a949b(0x457)]))['pipe'](_0x5cc70d[_0x5a949b(0x40d)](_0x28d8ca=>_0x28d8ca['getUnitId']()),_0x5cc70d[_0x5a949b(0x3b9)](_0x333ea1=>!_0xd3ef1d['isInternalEditorID'](_0x333ea1)),_0x5cc70d[_0x5a949b(0x50b)](this[_0x5a949b(0x484)]))[_0x5a949b(0x221)](_0x53f6cd=>{_0x3997d7(_0x53f6cd);});}[_0x4176ec(0x1b4)](){const _0xd09d9a=_0x4176ec,_0x190580=async _0x41b46d=>{const _0x36093e=_0x352d;(await this[_0x36093e(0x10b)][_0x36093e(0x3f8)](_0x41b46d))['event$'][_0x36093e(0x579)](_0x5cc70d[_0x36093e(0x3b9)](_0x3adf46=>_0x3adf46[_0x36093e(0x4d0)]===_0x47367d[_0x36093e(0x498)][_0x36093e(0x5c6)]),_0x5cc70d[_0x36093e(0x50b)](this[_0x36093e(0x484)]))[_0x36093e(0x221)](_0x4d5aa2=>{const _0x36151d=_0x36093e,_0x4c8fa4=_0x4d5aa2,{objectId:_0x3bd7d7}=_0x4c8fa4[_0x36151d(0x33b)],_0x2d3055=this[_0x36151d(0x11a)][_0x36151d(0x313)](_0x4c24d4['SheetPermissionInitController']);_0x3bd7d7===_0x41b46d?_0x2d3055[_0x36151d(0x1c7)](_0x41b46d):_0x2d3055[_0x36151d(0x3c3)](_0x41b46d,_0x3bd7d7);});};_0x2c8065[_0xd09d9a(0x2ff)](this[_0xd09d9a(0x1d0)][_0xd09d9a(0x4b4)](_0xd3ef1d[_0xd09d9a(0x20c)][_0xd09d9a(0x1ab)]),this['_univerInstanceService'][_0xd09d9a(0x4b4)](_0xd3ef1d[_0xd09d9a(0x20c)][_0xd09d9a(0x457)]))['pipe'](_0x5cc70d[_0xd09d9a(0x40d)](_0x51f17f=>_0x51f17f['getUnitId']()),_0x5cc70d[_0xd09d9a(0x3b9)](_0x10929a=>!_0xd3ef1d[_0xd09d9a(0x2cb)](_0x10929a)),_0x5cc70d['takeUntil'](this[_0xd09d9a(0x484)]))[_0xd09d9a(0x221)](_0x22ce50=>{_0x190580(_0x22ce50);});}};_0x2a45b8=_0x9e538e([_0x861628(0x0,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d['Injector'])),_0x861628(0x1,_0xd3ef1d[_0x4176ec(0x2fc)]),_0x861628(0x2,_0xd3ef1d[_0x4176ec(0x57f)]),_0x861628(0x3,_0xd3ef1d[_0x4176ec(0x2bc)](_0x5e8095[_0x4176ec(0x48a)])),_0x861628(0x4,_0xd3ef1d[_0x4176ec(0x2bc)](_0xd3ef1d[_0x4176ec(0x2b3)]))],_0x2a45b8);var _0x2e21f7=Object[_0x4176ec(0x2b4)],_0x509db9=Object[_0x4176ec(0x48c)],_0x285400=(_0x17fe1c,_0x1129f1,_0x1ba6e9,_0x327516)=>{const _0x3912ba=_0x4176ec;for(var _0x2985a5=_0x327516>0x1?void 0x0:_0x327516?_0x509db9(_0x1129f1,_0x1ba6e9):_0x1129f1,_0x40cdb8=_0x17fe1c[_0x3912ba(0x2b7)]-0x1,_0x346681;_0x40cdb8>=0x0;_0x40cdb8--)(_0x346681=_0x17fe1c[_0x40cdb8])&&(_0x2985a5=(_0x327516?_0x346681(_0x1129f1,_0x1ba6e9,_0x2985a5):_0x346681(_0x2985a5))||_0x2985a5);return _0x327516&&_0x2985a5&&_0x2e21f7(_0x1129f1,_0x1ba6e9,_0x2985a5),_0x2985a5;},_0x2aa152=(_0x237ff4,_0x9aa66e)=>(_0x34006b,_0x2cd888)=>_0x9aa66e(_0x34006b,_0x2cd888,_0x237ff4);_0x5e8095[_0x4176ec(0x124)]=class{constructor(_0x3c75ec,_0x4e854b){const _0x20e596=_0x4176ec;this[_0x20e596(0x1bf)]=_0x3c75ec,this[_0x20e596(0x3d6)]=_0x4e854b;}async[_0x4176ec(0x394)](_0x56c21c,_0x3ac4b1){const _0x35dc0b=_0x4176ec;var _0x290e50;const {unitID:_0x1ea193,type:_0x5d055f,revision:_0x44cd7c=0x0}=_0x3ac4b1,_0xa4f39d=this['_getSnapshotAPIPrefix']()+'/'+_0x5d055f+'/unit/'+_0x1ea193+_0x35dc0b(0x253)+_0x44cd7c,_0x3efc75=(await this[_0x35dc0b(0x3d6)][_0x35dc0b(0x313)](_0xa4f39d))[_0x35dc0b(0x483)],_0x17b27e=(_0x290e50=_0x3efc75['snapshot'])==null?void 0x0:_0x290e50[_0x35dc0b(0x1c9)];if(_0x17b27e){const _0x19e757=_0x17b27e==null?void 0x0:_0x17b27e[_0x35dc0b(0x1c2)],_0x2a5813=_0x47367d[_0x35dc0b(0x3c8)]['encode'](_0x47367d[_0x35dc0b(0x499)](_0x19e757));_0x17b27e['originalMeta']=_0x2a5813,Object[_0x35dc0b(0x30a)](_0x17b27e['sheets'])[_0x35dc0b(0x193)](([,_0x50fba6])=>{const _0x4ec09f=_0x35dc0b,_0x21e263=_0x50fba6['originalMeta'],_0x2d7ee4=_0x47367d[_0x4ec09f(0x3c8)]['encode'](_0x47367d[_0x4ec09f(0x499)](_0x21e263));_0x50fba6[_0x4ec09f(0x1c2)]=_0x2d7ee4;});}return _0x3efc75;}async[_0x4176ec(0x2dd)](_0x261c4d,_0x2c9a5b){const _0x24ad6b=_0x4176ec,{unitID:_0x4720e1,type:_0x426eb6,blockID:_0x125f85}=_0x2c9a5b,_0x3419c0=this[_0x24ad6b(0x1c5)]()+'/'+_0x426eb6+_0x24ad6b(0x2bb)+_0x4720e1+_0x24ad6b(0x45a)+_0x125f85;return(await this[_0x24ad6b(0x3d6)][_0x24ad6b(0x313)](_0x3419c0))[_0x24ad6b(0x483)];}async[_0x4176ec(0x57b)](_0x171a56,_0x4414fb){const _0x371ff2=_0x4176ec,{unitID:_0x1f339d,type:_0x2a6c8f,blockID:_0x5c7d2c}=_0x4414fb,_0x19b2be=this[_0x371ff2(0x1c5)]()+_0x371ff2(0x45a)+_0x2a6c8f+_0x371ff2(0x2bb)+_0x1f339d+_0x371ff2(0x45a)+_0x5c7d2c;return(await this[_0x371ff2(0x3d6)][_0x371ff2(0x313)](_0x19b2be))['body'];}async[_0x4176ec(0x242)](_0x3ab57a,_0x12b540){const _0x1e70c8=_0x4176ec,{unitID:_0x482c69,type:_0x35b8f5,from:_0x37ba8c,to:_0x168f07}=_0x12b540,_0x5ebaef=this[_0x1e70c8(0x1c5)]()+'/'+_0x35b8f5+_0x1e70c8(0x2bb)+_0x482c69+_0x1e70c8(0x3e8)+_0x37ba8c+'&to='+_0x168f07;return(await this[_0x1e70c8(0x3d6)][_0x1e70c8(0x313)](_0x5ebaef))[_0x1e70c8(0x483)];}[_0x4176ec(0x23b)](){const _0x26b910=_0x4176ec;var _0x2432ef;return(_0x2432ef=this[_0x26b910(0x1bf)][_0x26b910(0x40b)](_0x16b278))!=null?_0x2432ef:this['_getAPIPrefix']();}[_0x4176ec(0x1c5)](){const _0x43aaf3=_0x4176ec;var _0x2c4194,_0x5aa036;const _0x388796=this[_0x43aaf3(0x1bf)][_0x43aaf3(0x40b)](_0x3c4a0e),_0x509ae6=this['_configService'][_0x43aaf3(0x40b)](_0x20ac24);return(_0x5aa036=(_0x2c4194=_0x509ae6==null?void 0x0:_0x509ae6[_0x43aaf3(0x5a4)])!=null?_0x2c4194:_0x388796)!=null?_0x5aa036:_0x434e9e;}async[_0x4176ec(0x45e)](_0x2edc0d,_0x302de3){const _0x34f62f=_0x4176ec,_0x5d2a8e='/universer-api/snapshot/'+_0x302de3[_0x34f62f(0x286)]+_0x34f62f(0x2bb)+_0x302de3['unitID']+_0x34f62f(0x4f0);return(await this['_httpService']['get'](_0x5d2a8e,{'params':{'resourceId':JSON['stringify'](_0x302de3['resourceIDs'])}}))[_0x34f62f(0x483)];}[_0x4176ec(0x299)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4176ec(0x261)](){const _0x52d52f=_0x4176ec;throw new Error(_0x52d52f(0x136));}[_0x4176ec(0x4ec)](){const _0x1ff524=_0x4176ec;throw new Error(_0x1ff524(0x136));}[_0x4176ec(0x204)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){const _0x4a72e6=_0x4176ec;throw new Error(_0x4a72e6(0x136));}},_0x5e8095['SnapshotServerOverHTTPService']=_0x285400([_0x2aa152(0x0,_0xd3ef1d[_0x4176ec(0x2ce)]),_0x2aa152(0x1,_0xd3ef1d[_0x4176ec(0x2bc)](_0x46bbd6[_0x4176ec(0x180)]))],_0x5e8095[_0x4176ec(0x124)]);var _0x524707=Object[_0x4176ec(0x2b4)],_0x510dc0=Object[_0x4176ec(0x48c)],_0xda11c3=(_0x1dc155,_0x1913dc,_0x40ffbd,_0x3464f0)=>{for(var _0x3f4fd5=_0x3464f0>0x1?void 0x0:_0x3464f0?_0x510dc0(_0x1913dc,_0x40ffbd):_0x1913dc,_0x3888de=_0x1dc155['length']-0x1,_0xdc2437;_0x3888de>=0x0;_0x3888de--)(_0xdc2437=_0x1dc155[_0x3888de])&&(_0x3f4fd5=(_0x3464f0?_0xdc2437(_0x1913dc,_0x40ffbd,_0x3f4fd5):_0xdc2437(_0x3f4fd5))||_0x3f4fd5);return _0x3464f0&&_0x3f4fd5&&_0x524707(_0x1913dc,_0x40ffbd,_0x3f4fd5),_0x3f4fd5;},_0xf89818=(_0x3e7f49,_0xdc2fc1)=>(_0x4619e0,_0x13b00d)=>_0xdc2fc1(_0x4619e0,_0x13b00d,_0x3e7f49);let _0x73654a=class extends _0xd3ef1d['LocalUndoRedoService']{constructor(_0x3fa173,_0x55cd4a,_0x59db9c,_0x7e1f4,_0x3e2da9){const _0x6971f9=_0x4176ec;super(_0x3fa173,_0x55cd4a,_0x59db9c),this['_transformService']=_0x7e1f4,this[_0x6971f9(0x5ab)]=_0x3e2da9;}[_0x4176ec(0x462)](_0x2e4d03,_0x5b13c5){const _0x41009f=_0x4176ec,_0x4721aa=this[_0x41009f(0x563)](_0x2e4d03);if(_0x4721aa)try{const _0x59da28=this['_transformStack'](_0x4721aa,_0x5b13c5);this[_0x41009f(0x522)](_0x2e4d03,_0x59da28);}catch(_0x1b99bc){this[_0x41009f(0x5ab)]['error']('[CollaborationUndoRedoService]',_0x1b99bc),this['_clearUndo'](_0x2e4d03);}const _0x4609d8=this['_getRedoStack'](_0x2e4d03);if(_0x4609d8)try{const _0x4a0efc=this[_0x41009f(0x295)](_0x4609d8,_0x5b13c5);this[_0x41009f(0x531)](_0x2e4d03,_0x4a0efc);}catch(_0x4ca519){this[_0x41009f(0x5ab)][_0x41009f(0x476)](_0x4ca519),this['_clearRedo'](_0x2e4d03);}}[_0x4176ec(0x49c)](_0x3da51a){const _0x27f898=_0x4176ec,_0x44abd7=this['_getUndoStack'](_0x3da51a);_0x44abd7&&(_0x44abd7[_0x27f898(0x2b7)]=0x0,this[_0x27f898(0x554)]());}[_0x4176ec(0x280)](_0xb507ab){const _0x3b15a4=_0x4176ec,_0x22b234=this[_0x3b15a4(0x340)](_0xb507ab);_0x22b234&&(_0x22b234[_0x3b15a4(0x2b7)]=0x0,this[_0x3b15a4(0x554)]());}[_0x4176ec(0x522)](_0x2b4157,_0x342617){const _0x242e06=_0x4176ec;this[_0x242e06(0x506)]['set'](_0x2b4157,_0x342617),this[_0x242e06(0x554)]();}[_0x4176ec(0x531)](_0x4ab87c,_0x1cd00f){const _0x466388=_0x4176ec;this[_0x466388(0x570)][_0x466388(0x266)](_0x4ab87c,_0x1cd00f),this['_updateStatus']();}['_transformStack'](_0xc723c9,_0x4a72f6){const _0x549317=_0x4176ec,_0x49550d=[];let _0x278927=_0x4a72f6,_0x502263=_0x4a72f6;for(let _0x5b5cc5=_0xc723c9['length']-0x1;_0x5b5cc5>=0x0;_0x5b5cc5--){const {unitID:_0x51d3db,undoMutations:_0xc133ae,redoMutations:_0x53de1a}=_0xc723c9[_0x5b5cc5],_0x46657e=this[_0x549317(0x31d)][_0x549317(0x2b2)](_0x278927,_0xc133ae),_0x2986e8=this[_0x549317(0x31d)][_0x549317(0x2b2)](_0x502263,_0x53de1a);if(_0x47367d[_0x549317(0x4c9)](_0x46657e)||_0x47367d[_0x549317(0x4c9)](_0x2986e8)){this[_0x549317(0x5ab)]['error'](_0x549317(0x398),_0x549317(0x5bb),_0x46657e,_0x2986e8);break;}_0x278927=_0x46657e[_0x549317(0x245)],_0x502263=_0x2986e8['c1Prime'],_0x49550d[_0x549317(0x455)]({'unitID':_0x51d3db,'undoMutations':_0x46657e[_0x549317(0x389)],'redoMutations':_0x2986e8[_0x549317(0x389)]});}return _0x49550d[_0x549317(0x4fc)]();}};_0x73654a=_0xda11c3([_0xf89818(0x0,_0xd3ef1d[_0x4176ec(0x2fc)]),_0xf89818(0x1,_0xd3ef1d['ICommandService']),_0xf89818(0x2,_0xd3ef1d[_0x4176ec(0x238)]),_0xf89818(0x3,_0x47367d[_0x4176ec(0x39c)]),_0xf89818(0x4,_0xd3ef1d[_0x4176ec(0x5b4)])],_0x73654a);class _0x3c8e9e extends _0xd3ef1d[_0x4176ec(0x19c)]{constructor(){const _0xc2944a=_0x4176ec;super(),_0xddf92d(this,_0xc2944a(0x2b8)),this[_0xc2944a(0x2b8)]=_0x2c8065[_0xc2944a(0x24b)](window,_0xc2944a(0x367))[_0xc2944a(0x579)](_0x2c8065['takeUntil'](this[_0xc2944a(0x484)]),_0x2c8065[_0xc2944a(0x53b)](0x1),_0x2c8065[_0xc2944a(0x464)](void 0x0));}[_0x4176ec(0x3f1)](_0x38bb77,_0x4cfd0d,_0x11b4ab=!0x1){const _0x50f250=_0x4176ec,_0x4926cc=new URL(window[_0x50f250(0x54d)][_0x50f250(0x147)]);_0x4926cc[_0x50f250(0x1b3)][_0x50f250(0x266)](_0x38bb77,_0x4cfd0d),_0x11b4ab?window[_0x50f250(0x404)]['replaceState']('','',_0x4926cc[_0x50f250(0x530)]()):window['history'][_0x50f250(0x51e)]('','',_0x4926cc['toString']());}['removeParam'](_0x46c2b2,_0x56310b=!0x1){const _0x8b0f08=_0x4176ec,_0x994179=new URL(window[_0x8b0f08(0x54d)][_0x8b0f08(0x147)]);_0x994179[_0x8b0f08(0x1b3)][_0x8b0f08(0x38e)](_0x46c2b2),_0x56310b?window['history'][_0x8b0f08(0x48b)]('','',_0x994179[_0x8b0f08(0x530)]()):window['history'][_0x8b0f08(0x51e)]('','',_0x994179['toString']());}['getParam'](_0x2cf2de){const _0x44592e=_0x4176ec;var _0xbdc53a;return(_0xbdc53a=new URL(window[_0x44592e(0x54d)][_0x44592e(0x147)])['searchParams'][_0x44592e(0x313)](_0x2cf2de))!=null?_0xbdc53a:void 0x0;}}var _0x18a628=Object[_0x4176ec(0x2b4)],_0x27ff86=Object['getOwnPropertyDescriptor'],_0x4b63b3=(_0x52a004,_0x4af8ea,_0x3d8ee6)=>_0x4af8ea in _0x52a004?_0x18a628(_0x52a004,_0x4af8ea,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d8ee6}):_0x52a004[_0x4af8ea]=_0x3d8ee6,_0x5d2f7e=(_0x41e87c,_0x101be1,_0x1d4398,_0x5e52d2)=>{const _0x3c2b5f=_0x4176ec;for(var _0x10f42d=_0x5e52d2>0x1?void 0x0:_0x5e52d2?_0x27ff86(_0x101be1,_0x1d4398):_0x101be1,_0x3b72e8=_0x41e87c[_0x3c2b5f(0x2b7)]-0x1,_0x134792;_0x3b72e8>=0x0;_0x3b72e8--)(_0x134792=_0x41e87c[_0x3b72e8])&&(_0x10f42d=(_0x5e52d2?_0x134792(_0x101be1,_0x1d4398,_0x10f42d):_0x134792(_0x10f42d))||_0x10f42d);return _0x5e52d2&&_0x10f42d&&_0x18a628(_0x101be1,_0x1d4398,_0x10f42d),_0x10f42d;},_0x40fdd1=(_0x3e5aa0,_0x3e0731)=>(_0x54b9c9,_0x4c0c1f)=>_0x3e0731(_0x54b9c9,_0x4c0c1f,_0x3e5aa0),_0x48c138=(_0x4f1ad1,_0x27cd8e,_0x37f280)=>_0x4b63b3(_0x4f1ad1,_0x27cd8e+'',_0x37f280);const _0x47dc73=_0x4176ec(0x329);_0x5e8095[_0x4176ec(0x1ba)]=class extends _0xd3ef1d[_0x4176ec(0x130)]{constructor(_0x2a0527=_0x57c7f4,_0x2c0aa3,_0x3d0306,_0x7cd9a8,_0xb94c1c){const _0x3dfa47=_0x4176ec;super(),this[_0x3dfa47(0x323)]=_0x2a0527,this['_logService']=_0x2c0aa3,this[_0x3dfa47(0x359)]=_0x3d0306,this[_0x3dfa47(0x11a)]=_0x7cd9a8,this['_configService']=_0xb94c1c;const {..._0xe034c1}=this[_0x3dfa47(0x323)];this[_0x3dfa47(0x1bf)][_0x3dfa47(0x2f8)](_0x20ac24,_0xe034c1);}[_0x4176ec(0x122)](){const _0x37dc7e=_0x4176ec;this[_0x37dc7e(0x2a7)](),this[_0x37dc7e(0x15a)]();}['onReady'](){const _0x31549e=_0x4176ec;_0xd3ef1d[_0x31549e(0x15e)](this[_0x31549e(0x11a)],[[_0x1a3e7a]]);}[_0x4176ec(0x149)](){const _0x3cf44e=_0x4176ec;this[_0x3cf44e(0x28a)]();}['_registerDependencies'](){const _0x3ebee4=_0x4176ec;var _0x34e201,_0x4185a4,_0x5ef1fb,_0xdc72a2;this['_injector']['has'](_0xd3ef1d[_0x3ebee4(0x1ac)])&&this[_0x3ebee4(0x5ab)][_0x3ebee4(0x476)](_0x3ebee4(0x5a8),_0x3ebee4(0x479));const _0x28d45d=[[_0xd3ef1d[_0x3ebee4(0x1ac)],{'useClass':_0x73654a}],[_0x5e8095['CollaborationSessionService']],[_0x1cc3f2],[_0x230310,{'useClass':_0x3c8e9e}],[_0x5e8095[_0x3ebee4(0x4b1)]],[_0x5e8095[_0x3ebee4(0x5c2)]],[_0x46bbd6['WebSocketService']],[_0x3d1c7c],[_0x5763eb],[_0x133a0f],[_0x55a4fc],[_0x1947b9],[_0x563f12],[_0x3606f5],[_0x5b0fae],[_0x2a45b8],[_0x39032f,{'useClass':(_0x4185a4=(_0x34e201=this[_0x3ebee4(0x323)])==null?void 0x0:_0x34e201[_0x3ebee4(0x321)])!=null?_0x4185a4:_0x5e8095[_0x3ebee4(0x58e)]}],[_0x47367d[_0x3ebee4(0x16e)],{'useClass':_0x5e8095[_0x3ebee4(0x124)]}],[_0xd3ef1d['IAuthzIoService'],{'useClass':_0x5e8095[_0x3ebee4(0x3d7)]}],[_0x542813[_0x3ebee4(0x32a)],{'useClass':_0x5e8095[_0x3ebee4(0x55b)]}],[_0x5e8095[_0x3ebee4(0x4b2)]],[_0x5e8095['DataLoaderController']],[_0x5e8095['DesktopCollaborationStatusDisplayController']],[_0x1a3e7a],[_0xc8c02a]];(_0x5ef1fb=this['_config'])!=null&&_0x5ef1fb['enableSingleActiveInstanceLock']&&_0x28d45d[_0x3ebee4(0x455)]([_0x2c4fd7,{'useClass':_0x16fdad}]),_0xd3ef1d['registerDependencies'](this[_0x3ebee4(0x11a)],_0xd3ef1d[_0x3ebee4(0x18b)](_0x28d45d,(_0xdc72a2=this[_0x3ebee4(0x323)])==null?void 0x0:_0xdc72a2[_0x3ebee4(0x21b)]));}[_0x4176ec(0x28a)](){const _0x4d565f=_0x4176ec;this['disposeWithMe'](this[_0x4d565f(0x359)][_0x4d565f(0x4ef)](_0xd3ef1d[_0x4d565f(0x20c)][_0x4d565f(0x457)],[_0x456732])),this['disposeWithMe'](this[_0x4d565f(0x359)][_0x4d565f(0x4ef)](_0xd3ef1d[_0x4d565f(0x20c)][_0x4d565f(0x1ab)],[_0xf8b72f]));}[_0x4176ec(0x15a)](){const _0x498feb=_0x4176ec;var _0x183948,_0x4430b1;this[_0x498feb(0x11a)]['get'](_0x46bbd6['HTTPService'])[_0x498feb(0x3e7)]({'priority':0x14,'interceptor':_0x46bbd6[_0x498feb(0x587)]({'maxParallel':0x6})}),(_0x183948=this[_0x498feb(0x323)])!=null&&_0x183948[_0x498feb(0x4fa)]||this['_injector'][_0x498feb(0x313)](_0x5e8095[_0x498feb(0x5c2)])[_0x498feb(0x44e)](),(_0x4430b1=this['_config'])!=null&&_0x4430b1[_0x498feb(0x22d)]&&_0xd3ef1d['touchDependencies'](this[_0x498feb(0x11a)],[[_0x563f12]]),_0xd3ef1d[_0x498feb(0x15e)](this['_injector'],[[_0x3606f5],[_0xc8c02a],[_0x5e8095[_0x498feb(0x306)]],[_0x5e8095[_0x498feb(0x4b2)]],[_0x5e8095[_0x498feb(0x1c8)]],[_0x2a45b8]]);}},_0x48c138(_0x5e8095[_0x4176ec(0x1ba)],_0x4176ec(0x592),_0x47dc73),_0x5e8095['UniverCollaborationClientPlugin']=_0x5d2f7e([_0xd3ef1d['DependentOn'](_0x47367d[_0x4176ec(0x47f)],_0x46bbd6[_0x4176ec(0x551)]),_0x40fdd1(0x1,_0xd3ef1d[_0x4176ec(0x5b4)]),_0x40fdd1(0x2,_0x141d86['IRenderManagerService']),_0x40fdd1(0x3,_0xd3ef1d['Inject'](_0xd3ef1d[_0x4176ec(0x5ba)])),_0x40fdd1(0x4,_0xd3ef1d[_0x4176ec(0x2ce)])],_0x5e8095[_0x4176ec(0x1ba)]),_0x5e8095['AUTHZ_URL_KEY']=_0x4ad53e,_0x5e8095['COLLAB_SUBMIT_CHANGESET_URL_KEY']=_0x4aec31,_0x5e8095[_0x4176ec(0x552)]=_0x5d93b2,_0x5e8095[_0x4176ec(0x294)]=_0x52e01f,_0x5e8095['CollaborationStatusDisplay']=_0x23a232,_0x5e8095['CommentService']=_0x5b0fae,_0x5e8095[_0x4176ec(0x460)]=_0x1f3478,_0x5e8095[_0x4176ec(0x443)]=_0x3ac21c,_0x5e8095['ICollaborationSocketService']=_0x39032f,_0x5e8095['IURLService']=_0x230310,_0x5e8095['LOCAL_CACHE_INTERVAL_KEY']=_0x102ba6,_0x5e8095[_0x4176ec(0x4cd)]=_0x342faa,_0x5e8095['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x556d99,_0x5e8095[_0x4176ec(0x44c)]=_0x195f21,_0x5e8095[_0x4176ec(0x55c)]=_0x3c4a0e,_0x5e8095[_0x4176ec(0x366)]=_0x16b278,_0x5e8095['SessionStatus']=_0x5a5e86,_0x5e8095[_0x4176ec(0x228)]=_0x2ea295,_0x5e8095['WebURLService']=_0x3c8e9e,_0x5e8095[_0x4176ec(0x577)]=_0x44c533,_0x5e8095[_0x4176ec(0x1d9)]=_0x3a96bd,Object['defineProperty'](_0x5e8095,Symbol[_0x4176ec(0x516)],{'value':_0x4176ec(0x2d9)});}));function _0x17ad(){const _0x364cac=['_setupBeforeClosingHandler','_isPermissionRej','Warning','collaborators','SheetCollaborationEntity','@univerjs/sheets','_colorIndex','_onConnectionFailed','objects','toStringTag','_commentUpdate$','c2Prime','title','extend','words','isActive','submit\x20changeset\x20error!','pushState','sessionStatus$','_applyRemoteChangeset','?url=','_substituteUndoStack','_state$','closeSession','online','concat','[CollaborationState]:\x20apply\x20error!','COLORS','cfg','next','loadSheet','ALREADY_EXISTS','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','ThemeService','_context','toString','_substituteRedoStack','8XoVIZX','BlockCipher','Workbook','...','status$','React','DOC_RANGE_TYPE','UniverCollaborationClient','Univer','shareReplay','_members','_toggleOnline','getRandomValues','WebSocketService','\x0aAfter:\x20','sequenceExecute','disposeUnit','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_scheduleHeartbeat','width','key','none','_showConflictNotification','_socketMessageSubscription','_transformStateCache','isEditing','getItem','location','CBC','_initStatusComponent','verdancy600','UniverNetworkPlugin','COLLAB_WEB_SOCKET_URL_KEY','indexOf','_updateStatus','_textBubble','_refreshCollabCursors','_handler','PERMISSION_REJ','onSendChangeset','icon','ImageIoService','SNAPSHOT_SERVER_URL_KEY','awaitingChangeset','subunit','hidden','INotificationService','_updateState','LIVESHARE_NEW_HOST','_getUndoStack','ceil','_checkMissing','throttleTime','_setupSubUnitSync','_stopTelemetryCollaborationNewChangeset','objectType','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','sin','_drawRectRange','InsertRangeMoveRightCommandId','DeleteRangeMoveLeftCommandId','[OfflineState]:\x20received\x20changeset.','_redoStacks','registerOnClose','toggleOnline','getSheetBySheetId','_throwTelemetryCollaborationNewChangeset','_transformUndoredo','_pendingMutations','deserializeToCombResponse','isTransformMutationsWithChangesetSuccess','pipe','svg','getDeserializedSheetBlock','CollaborationEntity','debounce','getUnitId','IPermissionService','_startDocCollabCursor','_docStateChangeManagerService','_disabled','_hideTimer','signUrlServerUrl','_iv','ERROR_IMAGE','ThresholdInterceptorFactory','withCredentials','_drawTextRange','_commentService','rxjs/operators','Subject','transformSelections','CollaborationSocketService','allowed','getRoom','arc','pluginName','show','APPLY_PERMISSION_DENIED','backgroundColor','APPLY_DUPLICATED','HEARTBEAT','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','BlockCipherMode','transformRemoteChangeset','execute','COMPRESS_MUTATION_APPLY','defIds','_roomMembers','setActiveRange','defs','collaboration_new_changeset','setTimeout','getTypeOfUnitDisposed$','snapshotServerUrl','ws://127.0.0.1:8000/universer-api/comb/connect','executeCommand','MergeInterceptorFactory','[UniverCollaborationClientPlugin]','onlineStatusIcon','/new_changes','_logService','[CollaborationSessionService]:\x20socket\x20error','_tryEnsureSocket','OTHER_CLIENTS_EDITING','@univerjs/sheets-ui','getImageSourceCache','close','@univerjs/docs','InsertColCommandId','ILogService','_initResize','_initCommandExecutedListener','handleIRemoveRow','@univerjs/docs-ui','_singleActiveUnitService','Injector','transformStack\x20failed!','_exhaustRemoteChangesetQueue','2650QhIcyF','changesets','_scheduleSaving','put','ReplaySubject','LocalCacheService','POST','permission.content','createInstance','UPDATE_PERMISSION_OBJ','ColorKit','beginPath','_onConflict','LEAVE','OnLineSingle','objectID','_disableEditing','forwardRef','UniverCollaboration','create','UNAUTHENTICATED','_collaborationTimeoutTimer','tag','_submitChangeset','_collaborationSessionService','AWAITING_WITH_PENDING','retryConnectingInterval','OFFLINE','findNodePositionByCharIndex','top','_createSocket','collaboration-client.offline-data-not-saved','hide','_createInitialStateImpl','unit','clearInterval','asObservable','size','univer-online','_injector','mutations','loadOfflineData','UniverNetwork','splice','handleIRemoveCol','auth.needGotoLoginAlert','measureText','onStarting','_socketService','SnapshotServerOverHTTPService','UNIVER_UNKNOWN','_lastPointer','_getSignURL','BuiltInUIPart','format','_key','fetching\x20missing\x20changesets\x20from\x20','onRemoteChangeset','_cachedData','displayName','UPDATE_CURSOR','Plugin','onCommandExecuted','unknown','\x20-\x20','padding','_commandService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','CHANGESET_REVISION_CONFILICT','_startSheetCollabCursor','generateRandomId','_queuedRemoteChangesets','transformMutation','distinctUntilChanged','clipPath','Unknown\x20user','crypto','revision','_decreaseWaiting','getColor','UNKNOWN_CMD','debug','EffectRefRangId','constructor','href','x-univer-host','onRendered','_docSyncEditingCollabCursorService','FETCH_MISSING','useCallback','onTransformState','univer-online-status-icon','font','CipherParams','offline','rev','_notificationService','add','HMAC','freeze','replaceTextRanges','roles','textRanges','_initDependencies','init','CONFLICT','onCommentUpdate','touchDependencies','_imageSourceCache','addEventListener','UNIVER_SLIDE','_online','_retryCount','_minBufferSize','from','_append','registerBeforeClose','baseRev','isTransformChangesetsSuccess','save\x20fail\x20reason\x20is\x20','_transformRemoteChangesetByStateCache','_collabSessionService','_render','ISnapshotServerService','univer-online-status','HTTPRequest','COMPLETION_FINISHED','_handleHeartbeatEvent','gold400','_onRemoteRetry','putCollaborators','_scheduleClearOtherTimer','_onCursorUpdate','_handleEvent','mapDocumentTypeToUniverType','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','YUUMI_RATE_OVER_LIMIT','selections','IBeforeCloseService','transformByState','useDependency','HTTPService','conflict','RemoveColCommandId','IDLE','_HTTPService','_clearCollaborationTimeoutTimer','\x20to\x20','currentColor','COLLAB_WEB_SOCKET_URL','_sendHeartbeat','image/jpeg','mergeOverrideWithDependencies','_getAnchorBounding','switchMap','PENDING','finalize','getMergeData','_cursors','_memberService','forEach','editingUnit','setShapeProps','HEARTBEAT_TIMEOUT','decryptBlock','Disposable','string','fetch_missing','_candidateSocket','RxDisposable','_initEventListeners','LIVESHARE_FETCH_OPERATIONS','rxjs','min','liveShareNewHost','saveOfflineData','_onRemoteChangeset','hovered','_nDataBytes','disposeWithMe','ONLINE','setAlpha','rng','charCodeAt','UNIVER_SHEET','IUndoRedoService','number','fetchThroughInterceptors','processBlock','getStateCache','url(#$1','collaboration-session-retry','searchParams','_initUnitPermissionChange','newCsEvent','color','@univerjs/engine-render','roomMembers$','@univerjs/ui','UniverCollaborationClientPlugin','1498847TKocxy','replace','syncEditingCollabCursor','getAllMembers','_configService','UnitSnapshot','getSheetId','originalMeta','registerRefRange','_loadDoc','_getAPIPrefix','compose','initWorkbookPermissionChange','DesktopCollaborationStatusDisplayController','workbook','range','image/gif','_backgroundColor','requestParams','_syncEditingCollabCursorService','joinEvent','_univerInstanceService','_sendHeartbeatTimer','_updateCollabCursors','_onRemoteRejected','_map','blue400','UniverEngineFormula','startColumn','HttpImport','serializeCombRequest','_transformPreviousActiveRange','listRoles','_telemetryInfo','/universer-api/authz','_replayCachedMutations','_messageService','currentSkeleton$','fill','operators','_sender','clearTimeout','className','_status$','lib','_draw','_getLoginPath','_tryReconnect','/allowed','_beforeCloseService','collabSubmitChangesetUrl','_invKeySchedule','duration','visibilitychange','reqId','idSuffix','_transformHistoryAndStateStack','@univerjs/core','Decryptor','YUUMI_UNABLE_LOAD_URL','cursorInfo$','reduce','session','InsertRowCommandId','addObjects','getParam','_type','transformIMECache','onTransformChange$','_doProcessBlock','split','_xformMode','getUnitStatus$','copyFileMeta','routeKey','_keySchedule','M0\x200H16V16H0z','HttpExport','CollaborationSession','close$','DocSelectionManagerService','UniverInstanceType','transform','_uiPartsService','_scene','getRenderById','transformChangesets','setInterval','UUID','BufferedBlockAlgorithm','update','UniverDesign','floor','/object/','SetWorksheetActivateCommand','setUndoRedoMutationParamsCache','override','collabWebSocketUrl','fillStyle','complete','path','assignAColorForMemberID','subscribe','COLLAB_SUBMIT_CHANGESET_URL','_initRequestHeader','awaiting','csRejEvent','post','onRemoteRej','SheetCollabCursorShape','find','4437783IWgUGg','_incrementRevisionNumber','SHA1','enableAuthServer','_onCursorDelete','_snapshotServerService','getMember','combineLatest','_localStorageService','action','unitId\x20is\x20not\x20found','_docTransformIMECacheService','_removeClearOtherTimer','charAt','IContextService','isPermissionRej','Shape','_getSnapshotAPIPrefix','_anchorDot','createIdentifier','NoPadding','Base','collabCursorState$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','fetchMissingChangesets','fillText','attrs','c1Prime','collabStatus.offline','univer-pro.collaboration-client.single-active-unit-service','RevisionService','_initMergeInterceptor','conflict.content','fromEvent','appendMutation','cmd','onMissingChangesets','getImage','FETCH_MISS','_startTelemetryCollaborationNewChangeset','UNKNOWN_CODE','/rev/','src','focused$','getCurrentUser','confirm','black','serializeRangeWithSheet','MSG_FOR_ERROR','parse','startRow','_onJoinRoomEvent','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','children','sheetID','saveSheetBlock','csShouldRetryEvent','FAIL','75qzeUSo','_unlockTransition','set','_awaitingChangeset','NodePositionConvertToRectRange','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_urlService','getUnitType','getDocRanges','awaiting_with_pending','univerjs-icon\x20univerjs-icon-','_entityInit$','docStateChange$','HmacSHA1','take','LIVESHARE_TERMINATE','CHANGESET_REJ','dispose','getInterceptPoints','_handleJoinEvent','getCollabEntity$','getFocusedUnit','_entities','ivSize','leaveEvent','fromCharCode','_socketReady','NEW_CHANGESETS','_clearRedo','onPointerEnter$','createDecryptor','reconnect','bind','_event$','type','_cursorShapes','_retryConnectingTimer','_keyPriorReset','_registerRenderDependencies','startTime','telemetry\x20info\x20is\x20not\x20initialized','Utf8','propertyIsEnumerable','_updateLocalCache','blockSize','_name','_transformIMECache','_process','CollaborationStatus','_transformStack','updatePermissionPoint','downloadEndpointUrl','_docTransformSelectionsService','saveSnapshot','_localCacheService','transformStateCache','_prevBlock','_state','_executeRemoteChangeset','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','_onConnectionOpen','UniverDocsUi','assign','formatter','_getDownloadEndpointURL','SNAPSHOT_INVALID_SNAPSHOT','_eventUnsubscribe','_registerDependencies','byteLength','[CollaborationSession]','jiqing500','uploadFileServerUrl','onTransformSelections','_lockTransition','collaboration-client.config','OffLineSingle','visibilityState','Pkcs7','transformMutationsWithChangeset','LocaleService','defineProperty','_getCurrentRevision','not_collab','length','urlChange$','failed\x20to\x20apply\x20missed\x20changesets!','socket$','/unit/','Inject','createSocket','_onMessage','IMessageService','pending','_resendTimeout','collab-client.tooltip.reconnect','@univerjs/network','UNDEFINED','parseProtocolChangeset','getValue','JOIN','_transformUndoRedoStack','2953974pWOGxq','_fetchMissChangesets','isInternalEditorID','unitId','target','IConfigService','endRow','#fff','fetchMiss','[SyncedState]:\x20received\x20acknowledgement.','DeleteRangeMoveUpCommandId','_sheetSkeletonManagerService','_remoteChangesetQueue','univer-online-status-title','unshift','_getCtorByUniverType','Module','#FFF','_getUploadFileURL','roomInfos','getSheetBlock','slice','_removeCollabCursors','function','message$','interceptor','&assign=','FileId','getOffsetConfig','method','ERROR_EXCEED_SIZE','BASE64','/collaborator','@univerjs/design','_onUserJoin','getCurrentUnitForType','UniverIcon','getActiveRange','url(#off-line-single_clip0_910_343)','NOT_COLLAB','url(#on-line-single_clip0_910_349)','_docSkeleton','random','onlineStatusTitle','updateCollaborator','onPointerLeave$','_revisionService','setConfig','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_nRounds','rgba(255,\x20255,\x20255,\x200.01)','IUniverInstanceService','_session','LIVESHARE_REQUEST_HOST','merge','_hover','_clearHeartbeatTimer','catch','createElement','getSkeleton','mode','DataLoaderController','updateCursorEvent','PSEUDO_FETCH_MISSING_RESULT','onMouseMove','entries','_scheduleCollaborationTimeoutTimer','UniverDocs','_shapes','_rescheduleHeartbeat','sheetId','_removeRoom','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','[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.','get','default','clamp','Base64','isArray','CHANGESET_SHOULD_RETRY','lineTo','LICENSE_IMPORT_SIZE_EXCEEDED','collaboration.single-unit.warning','?size=','_transformService','_instanceService','_resendWithTimeout','[PendingState]:\x20unhandled\x20univer\x20type:\x20','socketService','_mode','_config','SEND_CHANGESET_TIMEOUT','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','IRemoteInstanceService','SerializableCipher','DocIMEInputManagerService','UNIVER_COLLABORATION_CLIENT_PLUGIN','IImageIoService','YUUMI_SUBSCRIPTION_NOT_FOUND','updateMember','SYNCED','uni.network.url-service','[CollaborationEntity]','setItem','_createHelper','unit-cache-','makeDirty','_snapshotService','encrypt','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','1em','AES','result','_docTransformStateCacheService','data','deleteCollaborator','delay','OpenSSL','startsWith','_getRedoStack','clear','_listenToOnlineEvent','algo','MessageType','sid','_createInitialState','reject','collaboration.closeRoom','save','TEXT','_collabCursorController','EvpKDF','UNRECOGNIZED','endColumn','socket\x20close','RETRY_CONNECTING_MAX_COUNT','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','objectActions','_socket','FromArray','_startCollaboration','_unitStatus','onTransformRemoteChangesetByStateCache','@univerjs/rpc','_renderManagerService','RECV','Hex','collaMsg','_range','call','handleInsertCol','Latin1','_drawAnchor','off-line-single_clip0_910_343','MUTATION','sessionStatus','getTime','SNAPSHOT_URL_KEY','popstate','Error\x20on\x20receiving\x20event','_collabCursorState$','name','_acknowledgedAwaitingChangeset','deepClone','VIEWPORT_KEY','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','actions','_onRecvEvent','620827cEkOjx','_cursor','_ensureSubject','handleMoveRange','USERS_LEAVE','join','enc','url','UniverUi','SheetsSelectionsService','UniverTelemetry','_doFinalize','drawWith','off-line-single','[FetchMissState]','pauseCollaboration','onRemoteRetry','HEADER_MENU','_onRemoteACK','stringify','doc.mutation.rich-text-editing','connection\x20error','_toggleOffline','m2Prime','onSyncEditingCollabCursor','mixIn','Could\x20not\x20dynamically\x20require\x20\x22','_shouldReportTelemetry','delete','setWaitCount','colorChannel1','RemoveRowCommandId','UniverDrawing','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','getUnitOnRev','substr','onRemoteAck','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','[CollaborationUndoRedoService]','UniverRpc','height','_anchor','ITransformService','_onUserLeave','apply','m1Prime','getRangePointData','Encryptor','_hasher','_colorAssignService','object','_loadSheet','some','univer-offline','_onCombEvent','prototype','msCrypto','SHOULD_CLOSE_CONN','_sessions','status','image/png','selection','BehaviorSubject','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_roomMembers$','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','LICENSE_DISTRO_REJECTED','RECT','column','_createHandler','isTransformMutationFailure','filter','_hovered','APPLY_NON_SEQUENTIAL_REVISION','_updateSubUnitFromURLParams','_scheduleTimestamp','onTransformIME','getVpScrollXYInfoByPosToVp','ITelemetryService','_permissionService','_listenToOfflineEvent','refreshPermission','_reverseMap','toLowerCase','event$','iterations','textEncoder','NOT_FOUND','[PendingState]:\x20received\x20acknowledgement.','joinRsp','PasswordBasedCipher','2970PfMyqw','_cipher','CONNECTOR_DATA_TOO_LARGE','getUnit','_socket$','_changesetReqId','currentTheme$','AWAITING','_init','_httpService','AuthzIoHttpService','getCollabEntity','getMemberID','_saveCache','toRgbString','loginUrlKey','Error','CompressMutationService','_ws','getRelativeToViewportCoord','append','_clearScheduledTask','image/jpg','Tooltip','[OfflineState]:\x20received\x20rejection.','list','registerHTTPInterceptor','/fetchmissing?from=','readAsDataURL','randomBytes','pad','ImageUploadStatusType','_getSendChangesetTimeout','LICENSE_MAX_UNITS_EXCEEDED','_oKey','SNAPSHOT_HAS_BEEN_REMOVED','setParam','exhaustSavingTask','max','0\x200\x2017\x2016','_refRangeService','_iKey','Hasher','requireSession','all','ImageSourceType','xlink:href','triggerDblclick','bottom','_getSaveTimeout','addObject','_updateLocalCursor','randomUUID','_send','ciphertext','history','_id','DisposableCollection','_transformRemoteChangesetByIMECache','_changesetSessionId','sigBytes','$super','getConfig','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','map','addImageSourceCache','collabStatus.fetchMiss','__creator','_onOffline','_hash','roomMembers','evenodd','text','_getScale','includes','@univerjs/engine-formula','error$','socket\x20open.','memberID','handleInsertRangeMoveDown','WorkbookEditablePermission','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_onRefRangeChange','registerComponent','_docSkeletonManagerService','WordArray','_collaborationPaused','removeMember','ranges','_replaceFileID','reset','CHANGESET_ACK','collab-text-range-','/role','AUTHZ_URL_KEY','getCoordByCell','params','getViewport','localeService','collabStatus.conflict','APPLY_REVISION_CONFILICT','useRef','onMissedChangesetFetched','row','fromEventSubject','TOO_MANY_REQUESTS','[PendingState]:\x20received\x20rejection.','ICommandService','_initCloseConn','UnitEmbedded','redoState','_undoRedoService','userID','_change$','members','RichTextEditingMutation','collabStatus.synced','_clearLocalCache','HEARTBEAT_TIMEOUT_KEY','/-/object/-/batch_allowed','salt','resolve','unsubscribe','current','SUCCUSS','toDisposable','_unitOnClients','SEND_CHANGESET_TIMEOUT_KEY','ERROR_IMAGE_TYPE','disableLocalCache','SetDocZoomRatioOperation','[DataLoaderController]','session.room-full','NO_OTHER_CLIENTS_EDITING','_sendingTimer','hasOwnProperty','push','UNIVER_PROJECT','UNIVER_DOC','labelPosition','on-line-single','/block/','undoState','collaboratorID','capture','getResourcesRequest','equals','HEARTBEAT_INTERVAL_KEY','\x20in\x20_schedule.','transformUndoRedo','_cursorInfo$','mapTo','HELLO','_initStatusListener','_onFetchMissResult','JOINING','getCurrentRevOfUnit','398316kQQxbc','Undefined','RegularPolygon','compute','getCurrentSelections','COMMENT_UPDATE','/-/object/list','Tools','_themeService','LIVESHARE_OPERATION','DocCollaborationEntity','contains','error','_transformSelections','_updateURLWithCurrentState','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_createHmacHelper','keySize','collabStatus.syncing','_heartbeatTimer','hostname','UniverCollaborationPlugin','_schedule','setStateCache','repeat','body','dispose$','react','kdf','UniverEngineRender','unitID','updateOfflineData','CollaborationSessionService','replaceState','getOwnPropertyDescriptor','resend','encodeURIComponent','onPointerMove$','every','parseChangesetToProtocol','YUUMI_URL_COL_OUT_OF_RANGE','_transitionLocked','INGEST','_userManagerService','_labelPosition','IUIPartsService','CollaborationEvent','b64DecodeUnicode','_ENC_XFORM_MODE','updatePermissionObjEvent','_clearUndo','json','with','SUBMIT_CHANGESET','\x0aCurrent:\x20','_unitID','hasher','Rectangle','_timeoutTimer','JSONX','Optional','_localeService','authzUrl','1454886CCnOrt','values','_telemetryService','onStateChange','setCurrentUser','_doCryptBlock','UserManagerService','_sheetTransformSelectionsService','MemberService','CollaborationController','closePath','getTypeOfUnitAdded$','handleDeleteRangeMoveLeft','_handleHover','_selfUnitIDs','getAncestorScale','getCollabCursors$','change$','open$','_data','univer-pro.collaboration-client-socket-service','exports','DocStateChangeManagerService','whenReady','headers','EXCHANGE_SIGN_URL_SERVER_URL_KEY','onTransformRemoteChangesetByIMECache','then','CommandType','_collaborationController','getOwnPropertySymbols','div','isTransformMutationsWithChangesetFailure','flatMap','getActiveSheet','getUndoRedoMutationParamsCache','LOGIN_URL_KEY','_getAPIPrefixPath','has','eventID','now','_syncEditingCollabCursor','SetSelectionsOperation','@univerjs/drawing','_clearOtherTimers','createEncryptor','incrementRevOfUnit','decrypt','Vector2','clone','Rect','subscribeEvent','USERS_ENTER','red300','@univerjs/telemetry','_resendTimer','__esModule','permissionRejEvent','MD5','_color','/universer-api/snapshot','_parse','StreamCipher','_handleLeaveEvent','_waitCount','_joinRoom','_saveTaskMap','saveChangeset','synced','ENSURE_SNAPSHOT_EXECUTION','registerRenderModule','/resources','abs','_clearTimeoutTimer','send','permission.title','INVALID_ARGUMENT','Cipher','setShowComponents','__Key__','_compressMutationService','enableOfflineEditing','[CollaborationSessionService]','reverse','listCollaborators','round','MoveRangeCommandId','toggleOffline','_sessionStatus$','getUnhiddenWorksheets','_getMergeRange','restore','_assignedColors','_undoStacks','subUnitId','_waitForHeartbeatResponse','PERMISSION_DENIED','TEXT_RANGE_LAYER_INDEX','takeUntil','cursorInfo'];_0x17ad=function(){return _0x364cac;};return _0x17ad();}
|