@univerjs-pro/collaboration-client 0.4.1 → 0.4.2-nightly.202410301606
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/es/index.js +1 -1
- package/lib/locale/en-US.js +1 -0
- package/lib/locale/fa-IR.js +1 -0
- package/lib/locale/ru-RU.js +1 -0
- package/lib/locale/vi-VN.js +1 -0
- package/lib/locale/zh-CN.js +1 -0
- package/lib/locale/zh-TW.js +1 -0
- 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 +2 -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/lib/umd/locale/en-US.js +1 -0
- package/lib/umd/locale/fa-IR.js +1 -0
- package/lib/umd/locale/ru-RU.js +1 -0
- package/lib/umd/locale/vi-VN.js +1 -0
- package/lib/umd/locale/zh-CN.js +1 -0
- package/lib/umd/locale/zh-TW.js +1 -0
- package/package.json +35 -31
- package/lib/cjs/index.js +0 -1
- package/lib/locale/en-US.json +0 -38
- package/lib/locale/fa-IR.json +0 -38
- package/lib/locale/ru-RU.json +0 -38
- package/lib/locale/vi-VN.json +0 -38
- package/lib/locale/zh-CN.json +0 -38
- package/lib/locale/zh-TW.json +0 -38
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 _0x414b(_0x43230a,_0x20c1e5){const _0x3cb84e=_0x3cb8();return _0x414b=function(_0x414bb2,_0x1d773b){_0x414bb2=_0x414bb2-0x186;let _0x132e43=_0x3cb84e[_0x414bb2];return _0x132e43;},_0x414b(_0x43230a,_0x20c1e5);}function _0x3cb8(){const _0x1c1a03=['_startDocCollabCursor','addEventListener','onCommandExecuted','complete','getValue','assign','onTransformRemoteChangesetByStateCache','deserializeRangeWithSheet','authzUrl','_resendTimeout','Hasher','algo','[SyncedState]:\x20received\x20rejection.','use','_clearOtherTimers','[PendingState]:\x20received\x20rejection.','RegularPolygon','_onRecvEvent','UniverInstanceType','msCrypto','getOwnPropertyDescriptor','_updateStatus','interceptor','CBC','defaultProps','floor','_syncEditingCollabCursorService','_onRemoteACK','ImageSourceType','getMember','dispose$','toggleOffline','addObject','CollaborationSession','Fragment','none','compute','_submitChangeset','Module','handleInsertCol','mixIn','_getLoginPath','9134rsOsan','decrypt','@univerjs/ui','confirm','_nRounds','charAt','[OfflineState]:\x20received\x20rejection.','_substituteUndoStack','_getCurrentRevision','_resendWithTimeout','textRanges','socketService','Could\x20not\x20dynamically\x20require\x20\x22','_initStatusListener','type','sessionStatus','createIdentifier','IConfigService','save','unit','triggerDblclick','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformUndoredo','_doReset','status','MD5','c1Prime','/role','_onConnectionOpen','IUniverInstanceService','clone','attrs','onPointerMove$','collabWebSocketUrl','objectType','enableSingleActiveInstanceLock','_localCacheService','_render','_iv','_checkMissing','_ensureSubject','_lastPointer','EffectRefRangId','_removeClearOtherTimer','hovered','LICENSE_EXPORT_SIZE_EXCEEDED','forEach','WebURLService','APPLY_REJECT','_onConnectionFailed','_process','handleInsertRangeMoveDown','COMPRESS_MUTATION_SEND','docStateChange$','sessionStatus$','measureText','top','listCollaborators','_getDownloadEndpointURL','default','NO_OTHER_CLIENTS_EDITING','_candidateSocket','FileId','_permissionService','UPDATE_PERMISSION_OBJ','_refRangeService','VIEWPORT_KEY','collabStatus.fetchMiss','Unknown\x20user','getFocusedUnit','startColumn','currentTheme$','DOC_RANGE_TYPE','getOffsetConfig','MSG_FOR_ERROR','_socketService','abs','concatMap','_state$','getAncestorScale','_startCollaboration','_reverseMap','HttpExport','@univerjs/engine-formula','fillText','_backgroundColor','HELLO','collab-client.tooltip.reconnect','HTTPRequest','black','Decryptor','_socket$','addImageSourceCache','ReplaySubject','WebSocketService','...','m2Prime','_scheduleSaving','bottom','flatMap','_xformMode','moveTo','transformMutation','syncEditingCollabCursor','SerializableCipher','getDocRanges','_applyRemoteChangeset','liveShareNewHost','unknown','unitId','registerComponent','permissionRejEvent','_handleLeaveEvent','put','LocalUndoRedoService','state','collab-text-anchor-','entries','LocaleService','focused$','_collabSessionService','clamp','_oKey','blue400','_undoRedoService','allowed','_hideTimer','selection','SEND_CHANGESET_TIMEOUT_KEY','close','univer-online-status-title','_transformUndoRedoStack','_clearHeartbeatTimer','_change$','_loadDoc','_getSaveTimeout','AUTHZ_URL_KEY','_scheduleCollaborationTimeoutTimer','editing\x20status\x20changed\x20to','ThemeService','image/png','0\x200\x2016\x2016','on-line-single','_localeService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','encryptBlock','unitID','ITelemetryService','unit-cache-','react','setCurrentUser','_ENC_XFORM_MODE','online','snapshot','serializeCombRequest','__Key__','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','apply','socket\x20open.','conflict','getWorkbookSelections','uni.network.url-service','changesets','isActive','UniverRpc','_unitID','getCollabEntity','SEND_CHANGESET_TIMEOUT','drawWith','cursorInfo','_handleEvent','session.connection-failed','max','_incrementRevisionNumber','UnitEmbedded','collaboration-session-retry','fromEvent','UNIVER_SHEET','workbook','resolve','message$','_cursors','PSEUDO_FETCH_MISSING_RESULT','YUUMI_RATE_OVER_LIMIT','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','HmacSHA1','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','_hover','ImageUploadStatusType','_minBufferSize','collab-rect-range-','handleDeleteRangeMoveLeft','_roomMembers','@univerjs/sheets-ui','sequenceExecute','kdf','_handleHeartbeatEvent','concat','getConfig','initWorkbookPermissionChange','_setupSubUnitSync','current','reset','getSheetId','transformMutationsWithChangeset','univer-online-status-icon','getUnitId','location','_tryEnsureSocket','_getAPIPrefixPath','forwardRef','&assign=','clear','_clearRedo','jsx','result','_event$','__esModule','appendMutation','UNKNOWN_CODE','buffer','_docTransformSelectionsService','_drawTextRange','@univerjs/engine-render','awaiting','_transformService','BehaviorSubject','session.room-full','_throwTelemetryCollaborationNewChangeset','createEncryptor','DataLoaderController','_registerDependencies','NOT_COLLAB','isArray','_cursorShapes','asObservable','registerRenderModule','function','PERMISSION_DENIED','@univerjs/telemetry','session','_saveCache','getAllMembers','hide','DEFAULT_FILE_NAME','idSuffix','_onMessage','onRemoteAck','/object/','repeat','/unit/','resize','_hovered','parseProtocolChangeset','WordArray','mode','rxjs','_onRefRangeChange','Error\x20on\x20receiving\x20event','roomMembers','INTERNAL_ERROR','DocSelectionManagerService','/universer-api/file/{fileID}/sign-url','_getSheetObject','whenReady','setActiveRange','roomMembers$','/universer-api/authz','setStateCache','UniverCollaborationPlugin','WorkbookEditablePermission','batchAllowed','ILocalStorageService','MUTATION','OpenSSL','_textBubble','reconnect','for','actions','onTransformState','width','shareReplay','_roomMembers$','ILogService','[CollaborationSession]','_keyPriorReset','_toggleOnline','DocSkeletonManagerService','delay','ICollaborationSocketService','SYNCED','setTimeout','AWAITING','getCurrentSelections','Univer','/-/object/-/batch_allowed','cmd','_univerInstanceService','getTypeOfUnitDisposed$','loginUrlKey','rev','set','_tryReconnect','APPLY_DUPLICATED','JSONX','subscribe','_snapshotServerService','substr','_status$','IPermissionService','_drawAnchor','pauseCollaboration','_getSendChangesetTimeout','/object','keySize','LIVESHARE_TERMINATE','RichTextEditingMutation','COMPLETION_FINISHED','registerHTTPInterceptor','IRemoteInstanceService','LICENSE_MAX_UNITS_EXCEEDED','UNRECOGNIZED','cursorInfo$','charCodeAt','length','TEXT','exhaustSavingTask','CollaborationSessionService','RECT','_cursor','UNIVER_DOC','onTransformIME','_acknowledgedAwaitingChangeset','evenodd','/block/','_commentUpdate$','backgroundColor','UniverIcon','getRelativeToViewportCoord','_init','subscribeEvent','_DEC_XFORM_MODE','byteLength','saveChangeset','_queuedRemoteChangesets','mapDocumentTypeToUniverType','_createInitialState','create','_rescheduleHeartbeat','collabStatus.offline','_loadSheet','size','fetchMissingChangesets','APPLY_NON_SEQUENTIAL_REVISION','updatePermissionObjEvent','liveShareOperation','randomUUID','_createHelper','/allowed','NEW_CHANGESETS','prototype','YUUMI_UNABLE_LOAD_URL','reqId','randomBytes','words','CHANGESET_REVISION_CONFILICT','clearInterval','closeSession','telemetry\x20info\x20is\x20not\x20initialized','CollaborationStatus','action','_clearCollaborationTimeoutTimer','DesktopCollaborationStatusDisplayController','\x20-\x20','transformByState','_pendingMutations','enableAuthServer','COMPRESS_MUTATION_APPLY','UNDEFINED','RxDisposable','LOCAL_CACHE_INTERVAL_KEY','_online','CHANGESET_SHOULD_RETRY','InsertColCommandId','getUndoRedoMutationParamsCache','_name','_initCloseConn','routeKey','_clearLocalCache','_disabled','socket\x20close','_config','_updateCollabCursors','_docSyncEditingCollabCursorService','@univerjs/sheets','/universer-api/stream/file/upload','HEADER_MENU','_sendingTimer','status$','8OSESYT','/fetchmissing?from=','CommandType','INVALID_ARGUMENT','/new_changes','_removeCollabCursors','_removeRoom','useRef','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','socket$','call','Tools','_getAnchorBounding','registerRefRange','fill','findNodePositionByCharIndex','duration','filter','CollaborationStatusDisplay','_shapes','CHANGESET_ACK','ColorKit','OnLineSingle','ONLINE','UniverTelemetry','purple300','&source=','append','RevisionService','title','MoveRangeCommandId','4059HtmyEv','DeleteRangeMoveLeftCommandId','getDeserializedSheetBlock','[DataLoaderController]','onRendered','_initResize','getActiveRange','Warning','_anchorDot','_toggleOffline','parseChangesetToProtocol','_data','CollaborationSocketService','HEARTBEAT_TIMEOUT','_ws','/collaborator','open$','fromCharCode','handleMoveRange','_initUnitPermissionChange','_updateLocalCache','padding','override','_onConflict','fillStyle','univer-offline','equals','leaveEvent','skeleton','FETCH_MISS','_selfUnitIDs','transformUndoRedo','key','UniverDocsUi','ThresholdInterceptorFactory','code','UNIVER_UNKNOWN','permission.content','join','getRenderById','className','updateCollaborator','_range','_getUndoStack','getUnit','data','isTransformChangesetsSuccess','throttleTime','_logService','createElement','svg','collaboration-client.offline-data-not-saved','_eventUnsubscribe','IImageIoService','_resendTimer','next','getRandomValues','1790268faQSzR','min','@univerjs/design','Latin1','HttpImport','_exhaustRemoteChangesetQueue','SnapshotServerOverHTTPService','saveSnapshot','INotificationService','_createInitialStateImpl','[CollaborationState]:\x20apply\x20error!','hostname','_notificationService','_uiPartsService','UniverCollaboration','_onLocalMutation','BASE64','list','_map','EvpKDF','SNAPSHOT_INVALID_SNAPSHOT','pad','collaboration.closeRoom','stringify','assignAColorForMemberID','retryConnectingInterval','reject','isTransformMutationsWithChangesetSuccess','_getRedoStack','collabStatus.notCollab','mergeOverrideWithDependencies','_remoteChangesetQueue','awaiting_with_pending','colorChannel1','_anchor','_getMergeRange','post','INGEST','ciphertext','_hasher','propertyIsEnumerable','fillRule','InsertRangeMoveRightCommandId','IAuthzIoService','updateOfflineData','_handleJoinEvent','3120929iwxGtU','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','__creator','params','_onUserJoin','@univerjs/rpc','split','COLLAB_SUBMIT_CHANGESET_URL_KEY','children','HEARTBEAT','AuthzIoHttpService','image/jpg','map','_unitOnClients','_initMergeInterceptor','searchParams','_disableEditing','_configService','Base','sin','_keySchedule','_invKeySchedule','_heartbeatTimer','CollaborationEvent','UniverDesign','_onRemoteRetry','CollaborationEntity','createSocket','setItem','_createHmacHelper','UniverNetworkPlugin','_scheduleHeartbeat','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','sigBytes','useDependency','InsertSheetMutation','target','LocalCacheService','_HTTPService','UniverUi','LIVESHARE_FETCH_OPERATIONS','_getScale','newValue','startTime','_renderManagerService','LICENSE_IMPORT_SIZE_EXCEEDED','removeMember','show','SUBMIT_CHANGESET','getCurrent','#fff','UniverCore','UniverEngineRender','ALREADY_EXISTS','roles','_snapshotService','getCurrentUnitForType','init','JOINING','IBeforeCloseService','_awaitingChangeset','editingUnit','defs','contains','joinEvent','Rect','_collaborationPaused','collaboratorID','image/jpeg','toRgbString','csAckEvent','_onCombEvent','_createSocket','subUnitId','_themeService','getCollabCursors$','push','fromEventSubject','_joinRoom','_scheduleClearOtherTimer','saveSheetBlock','Vector2','ref','history','COLORS','baseRev','CollaborationController','PERMISSION_REJ','PasswordBasedCipher','3006690HhlGtv','_onRemoteRejected','collab-text-range-','file','_urlService','USERS_LEAVE','onMissedChangesetFetched','sheetId','executeCommand','error$','onPointerLeave$','ICommandService','_decreaseWaiting','setWaitCount','onTransformSelections','_type','UniverSheets','makeDirty','_transformPreviousActiveRange','UserManagerService','MessageType','handleInsertRow','originalMeta','LIVESHARE_NEW_HOST','onSendChangeset','_onOffline','href','/rev/','HEARTBEAT_INTERVAL_KEY','HEARTBEAT_TIMEOUT_KEY','localeService','@univerjs/drawing','sheetID','_onUserLeave','SnapshotService','univer-online-status','univer-online','getSheetBlock','Inject','submit\x20changeset\x20error!','encrypt','_retryConnectingTimer','_drawRectRange','resend','isTransformMutationsWithChangesetFailure','commentUpdateEvent','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','disableLocalCache','downloadEndpointUrl','IUIPartsService','isEditing','ws://127.0.0.1:8000/universer-api/comb/connect','takeUntil','_http','_context','_entities','onload','roomInfos','useObservable','[OfflineState]:\x20received\x20acknowledgement.','merge','method','debounce','976782TcvTka','all','createInstance','ISnapshotServerService','getColor','ranges','clearTimeout','clipPath','generateRandomId','UNIVER_COLLABORATION_CLIENT_PLUGIN','_substituteRedoStack','_createHandler','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','trim','RETRY_CONNECTING_MAX_COUNT_KEY','deepClone','SHOULD_CLOSE_CONN','replace','event$','_timeoutTimer','_executeRemoteChangeset','univer-pro.collaboration-client.single-active-unit-service','column','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','session.will-retry','awaitingChangeset','from','updatePermissionPoint','_state','_hash','startsWith','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','finalize','_id','cfg','_collaborationController','pluginName','_transformSelections','members','userID','auth.needGotoLoginAlert','hidden','height','close$','_lockTransition','reduce','_sessions','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_labelPosition','onRemoteRetry','_userManagerService','doc.mutation.rich-text-editing','unshift','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','_socketMessageSubscription','resourceIDs','parse','/universer-api/snapshot','text','_doCryptBlock','then','MemberService','error','UniverSheetsUi','fetch_missing','_docStateChangeManagerService','isPermissionRej','fromCollab','touchDependencies','substring','_commentService','_scene','hasOwnProperty','_memberService','synced','off-line-single','transformIMECache','toString','hasher','byteOffset','Base64','disposeWithMe','_unitStatus','unsubscribe','setShapeProps','\x0aCurrent:\x20','AWAITING_WITH_PENDING','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','extend','_retryCount','catch','requestParams','ITransformService','UniverDrawing','url(#on-line-single_clip0_910_349)','state$','getImage','sheets','handleInsertRangeMoveRight','UNAUTHENTICATED','ivSize','[FetchMissState]','UNIVER_SLIDE','_draw','update','_color','url','_transformRemoteChangesetByIMECache','onRemoteRej','includes','processBlock','crypto','Error','startRow','xlink:href','transformSelections','getCoordByCell','DeleteRangeMoveUpCommandId','objectActions','_onRemoteChangeset','[CollaborationEntity]','FETCH_MISSING','find','RECV','some','LOGIN_URL_KEY','_docSkeletonManagerService','_imageSourceCache','_clearUndo','getCurrentUser','CommentService','save\x20fail\x20reason\x20is\x20','{fileID}','fetching\x20missing\x20changesets\x20from\x20','RemoveColCommandId','collaboration.single-unit.warning','_isPermissionRej','visibilitychange','beginPath','setAlpha','_waitCount','RETRY_CONNECTING_MAX_COUNT','SheetSkeletonManagerService','path','_listenToOnlineEvent','_beforeCloseService','IRenderManagerService','pending','JOIN','SetWorksheetActivateCommand','LIVESHARE_REQUEST_HOST','_onJoinRoomEvent','body','debug','React','NoPadding','encodeURIComponent','_getAPIPrefix','indexOf','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','pushState','_scheduleTimestamp','getCollabEntity$','POST','getRangePointData','selections','getUnitStatus$','NodePositionConvertToRectRange','_initDependencies','getTime','SNAPSHOT_HAS_BEEN_REMOVED','_onCursorUpdate','_members','_changesetSessionId','every','exports','decryptBlock','LIVESHARE_OPERATION','OffLineSingle','_nDataBytes','_schedule','redoState','CONFLICT','SetSelectionsOperation','iterations','1em','_saveTaskMap','Encryptor','_collabCursorController','_prevBlock','react.fragment','bind','unload','_mode','_collabCursorState$','COMMENT_UPDATE','updateMember','CompressMutationService','_transitionLocked','[PendingState]:\x20received\x20acknowledgement.','_session','_collaborationTimeoutTimer','_docTransformIMECacheService','icon','InsertRangeMoveDownCommandId','_getCtorByUniverType','3920958efKryb','setParam','_colorAssignService','memberID','$super','_replaceFileID','_clearScheduledTask','offline','_initRequestHeader','_singleActiveUnitService','_send','collaboration-client.config','getSheetBySheetId','getUnitType','onRemoteChangeset','change$','[CollaborationUndoRedoService]','session.collaboration-timeout','registerDependencies','has','13460AHPupK','c2Prime','_telemetryInfo','switchMap','defIds','getLatestCsReqIdBySid','ERROR_IMAGE','execute','toggleOnline','OTHER_CLIENTS_EDITING','SetDocZoomRatioOperation','url(#$1','slice','subunit','SUCCUSS','row','color','transformRemoteChangeset','objectID','_sendHeartbeat','string','getInterceptPoints','onCommentUpdate','_telemetryService','Injector','_append','_instanceService','TOO_MANY_REQUESTS','take','sid','OFFLINE','toLowerCase','div','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','setUndoRedoMutationParamsCache','delete','_getSnapshotAPIPrefix','ERROR_IMAGE_TYPE','APPLY_REVISION_CONFILICT','headers','splice','lineTo','_replayCachedMutations','Cipher','signUrlServerUrl','UNIVER_PROJECT','_stopTelemetryCollaborationNewChangeset','DisposableCollection','send','IDLE','defineProperty','currentColor','values','visibilityState','_updateState','transformStateCache','M0\x200H16V16H0z','@univerjs/docs','b64DecodeUnicode','_undoStacks','Subject','UNKNOWN_CMD','AES','loadSheet','_getUploadFileURL','get','currentSkeleton$','_fetchMissChangesets','rgba(255,\x20255,\x20255,\x200.01)','onStateChange','newCsEvent','_sheetTransformSelectionsService','_sender','loadDoc','RefRangeService','debounceTime','_parse','mutations','_sessionStatus$','name','getCurrentRevOfUnit','collabCursorState$','enc','APPLY_PERMISSION_DENIED','onPointerEnter$','getCellPositionByOffset','_commandService','_clearTimeoutTimer','_transformIMECache','jsxs','image/bmp','Hex','RemoveRowCommandId','isInternalEditorID','NodePositionConvertToCursor','isTransformMutationFailure','arc','ENSURE_SNAPSHOT_EXECUTION','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[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.','off-line-single_clip0_910_343','SheetsSelectionsService','onMouseMove','ImageIoService','saveImage','urlChange$','BlockCipher','objects','toDisposable','conflict.title','incrementRevOfUnit','LOCAL_CACHE_INTERVAL','endColumn','lib','?url=','on-line-single_clip0_910_349','tag','fetchMiss','_listenToOfflineEvent','_initCommandExecutedListener','commentUpdate$','YUUMI_URL_COL_OUT_OF_RANGE','DocCollaborationEntity','_key','deleteCollaborator','m1Prime','collaMsg','univer-pro.collaboration-client-socket-service','_startSheetCollabCursor','now','loadOfflineData','deserializeToCombResponse','getUnitOnRev','_handler','getOwnPropertySymbols','readAsDataURL','_onCursorDelete','combineLatest','[CollaborationSessionService]','USERS_ENTER','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_iKey','round','0\x200\x2017\x2016','_waitForHeartbeatResponse','random','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getMergeData','_httpService','_cursorInfo$','collabSubmitChangesetUrl','_refreshCollabCursors','react.element','shouldCloseConn','IMessageService','TEXT_RANGE_LAYER_INDEX','UUID','withCredentials','createDecryptor','_registerRenderDependencies','conflict.content','_colorIndex','\x0aAfter:\x20','getTypeOfUnitAdded$','displayName','_showConflictNotification','_initEventListeners','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','onTransformRemoteChangesetByIMECache','formatter','_transformStack','IUndoRedoService','LEAVE','univerjs-icon\x20univerjs-icon-','getActiveSheet','_socketReady','78oMWRvm','number','connectInjector','copyFileMeta','UPDATE_CURSOR','revision','ReactCurrentOwner','UniverCollaborationClientPlugin','_revisionService','_entityInit$','SheetCollaborationEntity','Optional','\x20in\x20_schedule.','getSheetObject','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_transformRemoteChangesetByStateCache','Rectangle','setShowComponents','_unlockTransition','_transformStateCache','_cipher','FromArray','Malformed\x20UTF-8\x20data','_changesetReqId','_shouldReportTelemetry','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','encode','url(#off-line-single_clip0_910_343)','dispose','_updateLocalCursor','_initStatusComponent','_localStorageService','getViewport','Undefined','createCollaborator','textEncoder','eventID','runRefRangeMutations','DocStateChangeManagerService','salt','blockSize','_getSignURL','_assignedColors','format','ceil','collaboration_new_changeset','not_collab','fetchThroughInterceptors','/universer-api/oidc/authpage','[UniverCollaborationClientPlugin]','_injector','PENDING','SNAPSHOT_SERVER_URL_KEY','NOT_FOUND','engine','SessionStatus','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','HMAC','getParam','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_compressMutationService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','CONNECTOR_DATA_TOO_LARGE','getMemberID','EmptyMutation','stopTime','storage','add','pipe','replaceState','restore','_cachedData','Utf8','_sendHeartbeatTimer','_setupBeforeClosingHandler','_messageService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','transformChangesets','_startTelemetryCollaborationNewChangeset','Disposable','rng','DocIMEInputManagerService','requireSession','Shape','disposeUnit','_socket','/universer-api/comb','FAIL','_updateSubUnitFromURLParams','onMissingChangesets','UniverEngineFormula','with','SHA1','HTTPService','\x20to\x20','SNAPSHOT_URL_KEY','font','_transformHistoryAndStateStack','connection\x20error','BufferedBlockAlgorithm','getStateCache','_collaborationSessionService'];_0x3cb8=function(){return _0x1c1a03;};return _0x3cb8();}(function(_0x4dbd15,_0x365fc5){const _0x2c76b3=_0x414b,_0x1fa7db=_0x4dbd15();while(!![]){try{const _0x45d9aa=-parseInt(_0x2c76b3(0x4ac))/0x1*(-parseInt(_0x2c76b3(0x53c))/0x2)+parseInt(_0x2c76b3(0x31a))/0x3+-parseInt(_0x2c76b3(0x254))/0x4+parseInt(_0x2c76b3(0x2db))/0x5+-parseInt(_0x2c76b3(0x3e8))/0x6+-parseInt(_0x2c76b3(0x282))/0x7*(parseInt(_0x2c76b3(0x1fc))/0x8)+parseInt(_0x2c76b3(0x21b))/0x9*(parseInt(_0x2c76b3(0x3fc))/0xa);if(_0x45d9aa===_0x365fc5)break;else _0x1fa7db['push'](_0x1fa7db['shift']());}catch(_0x1f6ac4){_0x1fa7db['push'](_0x1fa7db['shift']());}}}(_0x3cb8,0x53d01),function(_0x397c8d,_0x5980d){const _0x466bcb=_0x414b;typeof exports=='object'&&typeof module<'u'?_0x5980d(exports,require('@univerjs/core'),require(_0x466bcb(0x63c)),require('rxjs/operators'),require(_0x466bcb(0x256)),require(_0x466bcb(0x53e)),require('@univerjs/network'),require('@univerjs-pro/collaboration'),require('@univerjs/telemetry'),require('@univerjs/docs-ui'),require('@univerjs/sheets'),require(_0x466bcb(0x61b)),require(_0x466bcb(0x435)),require(_0x466bcb(0x2fa)),require(_0x466bcb(0x58f)),require(_0x466bcb(0x5fd)),require(_0x466bcb(0x5d1)),require(_0x466bcb(0x287))):typeof define==_0x466bcb(0x629)&&define['amd']?define([_0x466bcb(0x3c9),'@univerjs/core','rxjs','rxjs/operators',_0x466bcb(0x256),_0x466bcb(0x53e),'@univerjs/network','@univerjs-pro/collaboration',_0x466bcb(0x62b),'@univerjs/docs-ui',_0x466bcb(0x1f7),'@univerjs/engine-render',_0x466bcb(0x435),_0x466bcb(0x2fa),'@univerjs/engine-formula',_0x466bcb(0x5fd),'react','@univerjs/rpc'],_0x5980d):(_0x397c8d=typeof globalThis<'u'?globalThis:_0x397c8d||self,_0x5980d(_0x397c8d['UniverCollaborationClient']={},_0x397c8d[_0x466bcb(0x2b5)],_0x397c8d[_0x466bcb(0x63c)],_0x397c8d['rxjs']['operators'],_0x397c8d[_0x466bcb(0x29a)],_0x397c8d[_0x466bcb(0x2a9)],_0x397c8d['UniverNetwork'],_0x397c8d[_0x466bcb(0x262)],_0x397c8d[_0x466bcb(0x214)],_0x397c8d[_0x466bcb(0x23c)],_0x397c8d[_0x466bcb(0x2eb)],_0x397c8d[_0x466bcb(0x2b6)],_0x397c8d['UniverDocs'],_0x397c8d[_0x466bcb(0x377)],_0x397c8d[_0x466bcb(0x506)],_0x397c8d[_0x466bcb(0x359)],_0x397c8d[_0x466bcb(0x3b4)],_0x397c8d[_0x466bcb(0x5e0)]));}(this,function(_0x464166,_0x442b7a,_0x5cd5b5,_0x368c6f,_0x169949,_0x2b513a,_0xbf8193,_0x143a17,_0x4b00cb,_0x1927e6,_0x6c9a2,_0xbbe220,_0x40b533,_0x796c9a,_0x38f16c,_0x14ccae,_0x2f12f6,_0x242628){'use strict';const _0x20c0a9=_0x414b;var _0xad0b88=Object[_0x20c0a9(0x42e)],_0xff339d=(_0x6250c,_0x2b6a78,_0x3264ea)=>_0x2b6a78 in _0x6250c?_0xad0b88(_0x6250c,_0x2b6a78,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3264ea}):_0x6250c[_0x2b6a78]=_0x3264ea,_0x178698=(_0x3027a0,_0x123bb7,_0xc97847)=>_0xff339d(_0x3027a0,typeof _0x123bb7!='symbol'?_0x123bb7+'':_0x123bb7,_0xc97847);const _0x26ff33=_0x20c0a9(0x4e0),_0x5cd988=_0x20c0a9(0x353),_0x46dc1f=_0x20c0a9(0x50b),_0x3e3490=_0x20c0a9(0x5e3),_0x4b5c50='COLLAB_WEB_SOCKET_URL',_0xdad61c=_0x20c0a9(0x30e),_0x714583='HEARTBEAT_INTERVAL',_0x503ab5=_0x20c0a9(0x228),_0x3c59d1=_0x20c0a9(0x3a7),_0x4181cb=_0x20c0a9(0x46b),_0x440534='COLLAB_SUBMIT_CHANGESET_URL',_0x5c81e5=_0x20c0a9(0x502),_0x4e8d32=_0x20c0a9(0x397),_0x3ac987=_0x20c0a9(0x4dc);var _0x4c93ce=(_0x452cf1=>(_0x452cf1[_0x452cf1[_0x20c0a9(0x1e7)]=0x0]='UNDEFINED',_0x452cf1[_0x452cf1['OK']=0x1]='OK',_0x452cf1[_0x452cf1[_0x20c0a9(0x640)]=0x2]='INTERNAL_ERROR',_0x452cf1[_0x452cf1['PERMISSION_DENIED']=0x3]=_0x20c0a9(0x62a),_0x452cf1[_0x452cf1['NOT_FOUND']=0x4]=_0x20c0a9(0x4e1),_0x452cf1[_0x452cf1[_0x20c0a9(0x37d)]=0x5]=_0x20c0a9(0x37d),_0x452cf1[_0x452cf1[_0x20c0a9(0x2b7)]=0x6]=_0x20c0a9(0x2b7),_0x452cf1[_0x452cf1[_0x20c0a9(0x1ff)]=0x7]=_0x20c0a9(0x1ff),_0x452cf1[_0x452cf1[_0x20c0a9(0x417)]=0x8]='TOO_MANY_REQUESTS',_0x452cf1[_0x452cf1[_0x20c0a9(0x1aa)]=0x9]=_0x20c0a9(0x1aa),_0x452cf1[_0x452cf1[_0x20c0a9(0x1da)]=0x1389]=_0x20c0a9(0x1da),_0x452cf1[_0x452cf1[_0x20c0a9(0x268)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x452cf1[_0x452cf1[_0x20c0a9(0x3c4)]=0x1772]=_0x20c0a9(0x3c4),_0x452cf1[_0x452cf1[_0x20c0a9(0x45d)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x452cf1[_0x452cf1[_0x20c0a9(0x56c)]=0x1b59]=_0x20c0a9(0x56c),_0x452cf1[_0x452cf1[_0x20c0a9(0x1ce)]=0x1b5a]=_0x20c0a9(0x1ce),_0x452cf1[_0x452cf1[_0x20c0a9(0x422)]=0x1b5b]=_0x20c0a9(0x422),_0x452cf1[_0x452cf1['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x20c0a9(0x44f),_0x452cf1[_0x452cf1[_0x20c0a9(0x19c)]=0x1b5d]='APPLY_DUPLICATED',_0x452cf1[_0x452cf1[_0x20c0a9(0x4ea)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x452cf1[_0x452cf1[_0x20c0a9(0x1ad)]=0x2329]=_0x20c0a9(0x1ad),_0x452cf1[_0x452cf1[_0x20c0a9(0x4ba)]=0x232a]=_0x20c0a9(0x4ba),_0x452cf1[_0x452cf1[_0x20c0a9(0x2af)]=0x232b]=_0x20c0a9(0x2af),_0x452cf1[_0x452cf1[_0x20c0a9(0x569)]=0x232c]=_0x20c0a9(0x569),_0x452cf1[_0x452cf1['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x452cf1[_0x452cf1[_0x20c0a9(0x1d6)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x452cf1[_0x452cf1[_0x20c0a9(0x475)]=0x2712]=_0x20c0a9(0x475),_0x452cf1[_0x452cf1[_0x20c0a9(0x5f3)]=0x2713]=_0x20c0a9(0x5f3),_0x452cf1[_0x452cf1['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x452cf1[_0x452cf1[_0x20c0a9(0x1ae)]=-0x1]=_0x20c0a9(0x1ae),_0x452cf1))(_0x4c93ce||{}),_0x18e727=(_0x4cf7ab=>(_0x4cf7ab[_0x4cf7ab[_0x20c0a9(0x23f)]=0x0]=_0x20c0a9(0x23f),_0x4cf7ab[_0x4cf7ab[_0x20c0a9(0x1b7)]=0x1]=_0x20c0a9(0x1b7),_0x4cf7ab[_0x4cf7ab[_0x20c0a9(0x5ed)]=0x2]='UNIVER_SHEET',_0x4cf7ab[_0x4cf7ab[_0x20c0a9(0x380)]=0x3]=_0x20c0a9(0x380),_0x4cf7ab[_0x4cf7ab['UNIVER_PROJECT']=0x4]=_0x20c0a9(0x429),_0x4cf7ab[_0x4cf7ab[_0x20c0a9(0x1ae)]=-0x1]=_0x20c0a9(0x1ae),_0x4cf7ab))(_0x18e727||{}),_0x432d65=(_0x4d3385=>(_0x4d3385[_0x4d3385[_0x20c0a9(0x439)]=0x0]=_0x20c0a9(0x439),_0x4d3385[_0x4d3385['HELLO']=0x1]=_0x20c0a9(0x592),_0x4d3385[_0x4d3385['JOIN']=0x2]='JOIN',_0x4d3385[_0x4d3385[_0x20c0a9(0x4a8)]=0x3]=_0x20c0a9(0x4a8),_0x4d3385[_0x4d3385[_0x20c0a9(0x279)]=0x4]='INGEST',_0x4d3385[_0x4d3385[_0x20c0a9(0x28b)]=0x5]='HEARTBEAT',_0x4d3385[_0x4d3385[_0x20c0a9(0x395)]=0x6]='RECV',_0x4d3385[_0x4d3385[_0x20c0a9(0x1ae)]=-0x1]=_0x20c0a9(0x1ae),_0x4d3385))(_0x432d65||{}),_0x167f81=(_0x5596bb=>(_0x5596bb[_0x5596bb[_0x20c0a9(0x617)]=0x0]=_0x20c0a9(0x617),_0x5596bb[_0x5596bb['OK']=0x1]='OK',_0x5596bb[_0x5596bb[_0x20c0a9(0x503)]=0x2]=_0x20c0a9(0x503),_0x5596bb[_0x5596bb[_0x20c0a9(0x1ae)]=-0x1]='UNRECOGNIZED',_0x5596bb))(_0x167f81||{}),_0x46cda9=(_0x324b52=>(_0x324b52[_0x324b52[_0x20c0a9(0x4cd)]=0x0]='Undefined',_0x324b52[_0x324b52['HttpImport']=0x1]=_0x20c0a9(0x258),_0x324b52[_0x324b52[_0x20c0a9(0x58e)]=0x2]='HttpExport',_0x324b52[_0x324b52[_0x20c0a9(0x5ea)]=0x3]='UnitEmbedded',_0x324b52[_0x324b52['UnitSnapshot']=0x4]='UnitSnapshot',_0x324b52[_0x324b52[_0x20c0a9(0x1ae)]=-0x1]='UNRECOGNIZED',_0x324b52))(_0x46cda9||{});const _0x38eaa5=_0x20c0a9(0x3f3),_0x15c13e={};function _0x4ae5a3(_0x2df324){const _0x102738=_0x20c0a9;var _0x1fcff3,_0x557b8c,_0x1a650f,_0xc19683,_0x18da7c;const _0x3d0cad=_0x2df324[_0x102738(0x248)],_0xfb959=JSON[_0x102738(0x352)](_0x3d0cad);switch(_0xfb959[_0x102738(0x195)]){case _0x432d65['HEARTBEAT']:case _0x432d65[_0x102738(0x592)]:{const _0x3d53cd=_0xfb959['infoRsp'];return{..._0xfb959,'data':_0x3d53cd,'cmd':_0xfb959[_0x102738(0x195)]};}case _0x432d65['JOIN']:{const _0x546748=_0xfb959['joinRsp'];return{..._0xfb959,'data':_0x546748,'cmd':_0xfb959[_0x102738(0x195)]};}case _0x432d65['RECV']:{const _0x3106d9=_0xfb959[_0x102738(0x47a)];switch(_0x3106d9[_0x102738(0x4d0)]){case _0x143a17['CollaborationEvent']['PERMISSION_REJ']:return{..._0xfb959,'data':{..._0x3106d9,'data':(_0x1fcff3=_0x3106d9[_0x102738(0x5ab)])==null?void 0x0:_0x1fcff3['cs']},'cmd':_0xfb959[_0x102738(0x195)]};case _0x143a17['CollaborationEvent'][_0x102738(0x210)]:return{..._0xfb959,'data':{..._0x3106d9,'data':(_0x557b8c=_0x3106d9[_0x102738(0x2c8)])==null?void 0x0:_0x557b8c['cs']},'cmd':_0xfb959['cmd']};case _0x143a17[_0x102738(0x299)][_0x102738(0x1d4)]:return{..._0xfb959,'data':{..._0x3106d9,'data':(_0x1a650f=_0x3106d9[_0x102738(0x442)])==null?void 0x0:_0x1a650f['cs']},'cmd':_0xfb959[_0x102738(0x195)]};case _0x143a17[_0x102738(0x299)]['CHANGESET_REJ']:return{..._0xfb959,'data':{..._0x3106d9,'data':(_0xc19683=_0x3106d9['csRejEvent'])==null?void 0x0:_0xc19683['cs']},'cmd':_0xfb959[_0x102738(0x195)]};case _0x143a17['CollaborationEvent'][_0x102738(0x1eb)]:return{..._0xfb959,'data':{..._0x3106d9,'data':(_0x18da7c=_0x3106d9['csShouldRetryEvent'])==null?void 0x0:_0x18da7c['cs']},'cmd':_0xfb959[_0x102738(0x195)]};case _0x143a17['CollaborationEvent'][_0x102738(0x4b0)]:return{..._0xfb959,'data':{..._0x3106d9,'data':_0x3106d9['updateCursorEvent']},'cmd':_0xfb959[_0x102738(0x195)]};case _0x143a17[_0x102738(0x299)]['USERS_ENTER']:return{..._0xfb959,'data':{..._0x3106d9,'data':_0x3106d9[_0x102738(0x2c2)]},'cmd':_0xfb959[_0x102738(0x195)]};case _0x143a17[_0x102738(0x299)][_0x102738(0x2e0)]:return{..._0xfb959,'data':{..._0x3106d9,'data':_0x3106d9[_0x102738(0x236)]},'cmd':_0xfb959[_0x102738(0x195)]};case _0x143a17[_0x102738(0x299)]['LIVESHARE_NEW_HOST']:return{..._0xfb959,'data':{..._0x3106d9,'data':_0x3106d9[_0x102738(0x5a7)]},'cmd':_0xfb959['cmd']};case _0x143a17[_0x102738(0x299)][_0x102738(0x2aa)]:case _0x143a17[_0x102738(0x299)]['LIVESHARE_OPERATION']:return{..._0xfb959,'data':{..._0x3106d9,'data':_0x3106d9[_0x102738(0x1d0)]},'cmd':_0xfb959[_0x102738(0x195)]};case _0x143a17[_0x102738(0x299)][_0x102738(0x1a8)]:return{..._0xfb959,'data':{..._0x3106d9,'data':_0x3106d9[_0x102738(0x5a7)]},'cmd':_0xfb959[_0x102738(0x195)]};case _0x143a17['CollaborationEvent'][_0x102738(0x586)]:return{..._0xfb959,'data':_0x3106d9,'cmd':_0xfb959[_0x102738(0x195)]};case _0x143a17['CollaborationEvent'][_0x102738(0x3dd)]:return{..._0xfb959,'data':{..._0x3106d9,'data':_0x3106d9[_0x102738(0x308)]},'cmd':_0xfb959['cmd']};case _0x143a17[_0x102738(0x299)][_0x102738(0x57c)]:return{..._0xfb959,'data':{..._0x3106d9,'data':_0x3106d9[_0x102738(0x1cf)]},'cmd':_0xfb959[_0x102738(0x195)]};case _0x143a17[_0x102738(0x299)][_0x102738(0x32a)]:return{..._0xfb959,'data':{..._0x3106d9,'data':_0x3106d9[_0x102738(0x495)]},'cmd':_0xfb959[_0x102738(0x195)]};default:return _0xfb959;}}default:return _0xfb959;}}function _0x110bc6(_0x56af64){const _0x6b264c=_0x20c0a9;switch(_0x56af64[_0x6b264c(0x195)]){case _0x432d65['HEARTBEAT']:case _0x432d65[_0x6b264c(0x592)]:return JSON['stringify']({'cmd':_0x56af64[_0x6b264c(0x195)],'routeKey':_0x56af64['routeKey']});case _0x432d65[_0x6b264c(0x279)]:{let _0x5b73bb;switch(_0x56af64['data'][_0x6b264c(0x4d0)]){case _0x143a17['CollaborationEvent'][_0x6b264c(0x4b0)]:{_0x5b73bb={'eventID':_0x143a17['CollaborationEvent'][_0x6b264c(0x4b0)],'updateCursorEvent':_0x56af64[_0x6b264c(0x248)]['data']};break;}case _0x143a17[_0x6b264c(0x299)]['USERS_LEAVE']:{_0x5b73bb={'eventID':_0x143a17[_0x6b264c(0x299)][_0x6b264c(0x2e0)],'leaveEvent':_0x56af64[_0x6b264c(0x248)]['data']};break;}case _0x143a17[_0x6b264c(0x299)][_0x6b264c(0x487)]:{_0x5b73bb={'eventID':_0x143a17[_0x6b264c(0x299)][_0x6b264c(0x487)],'joinEvent':_0x56af64['data'][_0x6b264c(0x248)]};break;}case _0x143a17[_0x6b264c(0x299)]['LIVESHARE_NEW_HOST']:{_0x5b73bb={'eventID':_0x143a17[_0x6b264c(0x299)][_0x6b264c(0x2f2)],'liveShareNewHost':_0x56af64[_0x6b264c(0x248)][_0x6b264c(0x248)]};break;}case _0x143a17['CollaborationEvent']['LIVESHARE_OPERATION']:{_0x5b73bb={'eventID':_0x143a17['CollaborationEvent'][_0x6b264c(0x3cb)],'liveShareOperation':_0x56af64[_0x6b264c(0x248)][_0x6b264c(0x248)]};break;}case _0x143a17[_0x6b264c(0x299)]['LIVESHARE_TERMINATE']:{_0x5b73bb={'eventID':_0x143a17[_0x6b264c(0x299)][_0x6b264c(0x1a8)],'liveShareTerminate':_0x56af64['data']['data']};break;}case _0x143a17['CollaborationEvent'][_0x6b264c(0x3b0)]:{_0x5b73bb={'eventID':_0x143a17[_0x6b264c(0x299)][_0x6b264c(0x3b0)],'liveShareRequestHost':_0x56af64[_0x6b264c(0x248)]['data']};break;}case _0x143a17[_0x6b264c(0x299)]['LIVESHARE_FETCH_OPERATIONS']:{_0x5b73bb={'eventID':_0x143a17['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x5b73bb={'eventID':_0x56af64[_0x6b264c(0x248)][_0x6b264c(0x4d0)]};}return JSON[_0x6b264c(0x26b)]({'cmd':_0x56af64['cmd'],'routeKey':_0x56af64['routeKey'],'collaMsg':_0x5b73bb});}case _0x432d65[_0x6b264c(0x3ae)]:return JSON[_0x6b264c(0x26b)]({'cmd':_0x56af64['cmd'],'routeKey':_0x56af64[_0x6b264c(0x1f0)],'joinReq':_0x56af64[_0x6b264c(0x248)]});case _0x432d65[_0x6b264c(0x4a8)]:return JSON[_0x6b264c(0x26b)]({'cmd':_0x56af64[_0x6b264c(0x195)],'routeKey':_0x56af64[_0x6b264c(0x1f0)],'leaveReq':_0x56af64[_0x6b264c(0x248)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x36ff98=Object[_0x20c0a9(0x42e)],_0x4384f7=Object[_0x20c0a9(0x526)],_0x4a685b=(_0x163842,_0x33d727,_0x582cfa,_0x100c77)=>{const _0x143243=_0x20c0a9;for(var _0x1d614c=_0x100c77>0x1?void 0x0:_0x100c77?_0x4384f7(_0x33d727,_0x582cfa):_0x33d727,_0x2bee07=_0x163842[_0x143243(0x1b1)]-0x1,_0x2ae348;_0x2bee07>=0x0;_0x2bee07--)(_0x2ae348=_0x163842[_0x2bee07])&&(_0x1d614c=(_0x100c77?_0x2ae348(_0x33d727,_0x582cfa,_0x1d614c):_0x2ae348(_0x1d614c))||_0x1d614c);return _0x100c77&&_0x1d614c&&_0x36ff98(_0x33d727,_0x582cfa,_0x1d614c),_0x1d614c;},_0x56d09f=(_0x1b163f,_0x53ae9f)=>(_0x221a84,_0x13b023)=>_0x53ae9f(_0x221a84,_0x13b023,_0x1b163f);const _0x555a75=_0x442b7a[_0x20c0a9(0x54c)](_0x20c0a9(0x47b));function _0x576bfb(_0x22ece2,_0x3e74a8,_0x57b256){const _0x67a163=_0x20c0a9;return _0x22ece2+'/'+_0x3e74a8+_0x67a163(0x636)+_0x57b256+_0x67a163(0x200);}_0x464166[_0x20c0a9(0x227)]=class extends _0x442b7a[_0x20c0a9(0x4fb)]{constructor(_0x2a5d9c,_0x8869ca,_0x1bb701,_0x2bd95f,_0x2bf3c8){const _0xcdafe0=_0x20c0a9;super(),this[_0xcdafe0(0x310)]=_0x2a5d9c,this['_ws']=_0x8869ca,this[_0xcdafe0(0x293)]=_0x1bb701,this['_logService']=_0x2bd95f,this[_0xcdafe0(0x19f)]=_0x2bf3c8;}['createSocket'](_0x103741){const _0x356523=_0x20c0a9,_0x5c51a0=this[_0x356523(0x229)][_0x356523(0x29d)](_0x103741);if(!_0x5c51a0)throw new Error(_0x356523(0x4e9));const _0x3efb5e=new _0x442b7a[(_0x356523(0x42b))](),_0x1535fb=new _0x5cd5b5[(_0x356523(0x438))]();_0x3efb5e['add'](_0x5c51a0[_0x356523(0x345)][_0x356523(0x19e)](_0x2f8eb1=>_0x1535fb[_0x356523(0x252)](_0x2f8eb1))),_0x3efb5e[_0x356523(0x4ef)](_0x442b7a[_0x356523(0x468)](()=>_0x1535fb['complete']()));const _0x397289=new _0x5cd5b5[(_0x356523(0x438))]();_0x3efb5e[_0x356523(0x4ef)](_0x5c51a0['error$'][_0x356523(0x19e)](_0x33d540=>_0x397289[_0x356523(0x252)](_0x33d540))),_0x3efb5e[_0x356523(0x4ef)](_0x442b7a[_0x356523(0x468)](()=>_0x397289[_0x356523(0x515)]()));const _0x2278cd=new _0x5cd5b5[(_0x356523(0x438))]();_0x3efb5e[_0x356523(0x4ef)](_0x5c51a0['message$']['subscribe'](_0x175893=>{const _0x1de579=_0x356523,_0x14920b=_0x4ae5a3(_0x175893);_0x2278cd[_0x1de579(0x252)](_0x14920b);})),_0x3efb5e[_0x356523(0x4ef)](_0x442b7a[_0x356523(0x468)](()=>_0x2278cd[_0x356523(0x515)]()));let _0xb3de5;const _0x4a7786=()=>{const _0x408472=_0x356523;_0x397289['next'](new Event(_0x408472(0x50e))),_0x1535fb[_0x408472(0x252)](new CloseEvent(_0x408472(0x50e))),_0xb3de5[_0x408472(0x5bd)]();};return _0xb3de5={'memberID':'','close$':_0x1535fb[_0x356523(0x627)](),'error$':_0x397289[_0x356523(0x627)](),'open$':_0x5c51a0[_0x356523(0x22b)],'message$':_0x2278cd['asObservable'](),'send':_0x2d7878=>{const _0x2bfb0a=_0x356523;if(_0x2d7878['cmd']===_0x432d65[_0x2bfb0a(0x279)]){if(_0x2d7878[_0x2bfb0a(0x248)]['eventID']===_0x143a17[_0x2bfb0a(0x299)][_0x2bfb0a(0x2b2)]){this[_0x2bfb0a(0x537)](_0xb3de5,_0x2d7878[_0x2bfb0a(0x248)])[_0x2bfb0a(0x374)](_0x10d5e0=>{const _0x16ddb1=_0x2bfb0a;this[_0x16ddb1(0x24b)][_0x16ddb1(0x358)](_0x10d5e0),_0x4a7786();});return;}if(_0x2d7878['data'][_0x2bfb0a(0x4d0)]===_0x143a17[_0x2bfb0a(0x299)][_0x2bfb0a(0x393)]){const _0x2fa7bf=_0x2d7878[_0x2bfb0a(0x248)];this[_0x2bfb0a(0x43f)](_0x2fa7bf)[_0x2bfb0a(0x356)](_0x4f8321=>{const _0x109666=_0x2bfb0a;_0x2278cd[_0x109666(0x252)]({'cmd':_0x432d65['RECV'],'code':_0x167f81['OK'],'routeKey':_0x2fa7bf[_0x109666(0x248)][_0x109666(0x5ce)],'routeType':'','data':{'eventID':_0x143a17[_0x109666(0x299)][_0x109666(0x5f2)],'data':{'changesets':_0x4f8321}}});})[_0x2bfb0a(0x374)](_0x3703a2=>{const _0x1ff390=_0x2bfb0a;this[_0x1ff390(0x24b)]['error'](_0x3703a2),_0x4a7786();});return;}}_0x5c51a0['send'](_0x110bc6(_0x2d7878));},'close':()=>{const _0x457d26=_0x356523;_0x5c51a0['close'](),_0x3efb5e[_0x457d26(0x4c8)]();}},_0xb3de5;}async['_submitChangeset'](_0x1f6693,_0x196aa3){const _0x3169b3=_0x20c0a9;var _0xf17406,_0x1292c6;const {unitType:_0x192c03,unitID:_0x3605c7,changeset:_0x179a40}=_0x196aa3[_0x3169b3(0x248)],_0x355e5={'unitID':_0x3605c7,'memberID':_0x1f6693[_0x3169b3(0x3eb)],'type':_0x192c03,'changeset':_0x143a17[_0x3169b3(0x225)](_0x179a40)},_0x4ee652=this[_0x3169b3(0x293)]['getConfig'](_0x440534),_0x5b8d9b=this[_0x3169b3(0x293)][_0x3169b3(0x602)](_0x38eaa5),_0x4e1858=_0x576bfb((_0x1292c6=(_0xf17406=_0x5b8d9b==null?void 0x0:_0x5b8d9b[_0x3169b3(0x492)])!=null?_0xf17406:_0x4ee652)!=null?_0x1292c6:_0x5c81e5,_0x192c03,_0x3605c7);try{await this[_0x3169b3(0x310)][_0x3169b3(0x278)](_0x4e1858,{'body':_0x355e5});}catch(_0x3e902c){throw this[_0x3169b3(0x24b)]['error'](_0x3169b3(0x189),_0x3169b3(0x302)),_0x3e902c;}}async[_0x20c0a9(0x43f)](_0x13f131){const _0x5742fb=_0x20c0a9,{unitID:_0x1971f9,from:_0x4788d7,to:_0x213bbb,unitType:_0x12c7ae}=_0x13f131[_0x5742fb(0x248)];return(await this[_0x5742fb(0x19f)][_0x5742fb(0x1cd)]({'metadata':void 0x0},{'unitID':_0x1971f9,'type':_0x12c7ae,'from':_0x4788d7,'to':_0x213bbb}))[_0x5742fb(0x5de)];}},_0x464166['CollaborationSocketService']=_0x4a685b([_0x56d09f(0x0,_0x442b7a['Inject'](_0xbf8193[_0x20c0a9(0x509)])),_0x56d09f(0x1,_0x442b7a[_0x20c0a9(0x301)](_0xbf8193[_0x20c0a9(0x59a)])),_0x56d09f(0x2,_0x442b7a['IConfigService']),_0x56d09f(0x3,_0x442b7a[_0x20c0a9(0x188)]),_0x56d09f(0x4,_0x143a17['ISnapshotServerService'])],_0x464166[_0x20c0a9(0x227)]);const _0x2673b8=_0x20c0a9(0x4d9);function _0x4f83dc(_0x4d0522){const _0x37042b=_0x20c0a9;return JSON['stringify'](_0x4d0522)[_0x37042b(0x1b1)];}class _0x54372a{constructor(){const _0x505cdb=_0x20c0a9;_0x178698(this,_0x505cdb(0x1bc),new _0x5cd5b5[(_0x505cdb(0x438))]()),_0x178698(this,_0x505cdb(0x474),this['_commentUpdate$']['asObservable']());}[_0x20c0a9(0x412)](_0x309564){const _0x421660=_0x20c0a9;this[_0x421660(0x1bc)][_0x421660(0x252)](_0x309564);}}var _0x525144=Object['defineProperty'],_0x19f8e=Object['getOwnPropertyDescriptor'],_0x46abc6=(_0x94794e,_0x222f7c,_0x26526b,_0x48d5e3)=>{const _0x2f63a1=_0x20c0a9;for(var _0x269f66=_0x48d5e3>0x1?void 0x0:_0x48d5e3?_0x19f8e(_0x222f7c,_0x26526b):_0x222f7c,_0x505987=_0x94794e[_0x2f63a1(0x1b1)]-0x1,_0x5bf212;_0x505987>=0x0;_0x505987--)(_0x5bf212=_0x94794e[_0x505987])&&(_0x269f66=(_0x48d5e3?_0x5bf212(_0x222f7c,_0x26526b,_0x269f66):_0x5bf212(_0x269f66))||_0x269f66);return _0x48d5e3&&_0x269f66&&_0x525144(_0x222f7c,_0x26526b,_0x269f66),_0x269f66;},_0x1fc4ef=(_0x5f1908,_0x507610)=>(_0x1ddd2b,_0xda3b8)=>_0x507610(_0x1ddd2b,_0xda3b8,_0x5f1908);_0x464166[_0x20c0a9(0x357)]=class extends _0x442b7a[_0x20c0a9(0x4fb)]{constructor(_0x13e217,_0x1db037){const _0x4dff3a=_0x20c0a9;super(),_0x178698(this,_0x4dff3a(0x5fc),new Map()),(this[_0x4dff3a(0x196)]=_0x13e217,this[_0x4dff3a(0x34c)]=_0x1db037,this[_0x4dff3a(0x36b)](_0x442b7a['toDisposable'](_0x5cd5b5[_0x4dff3a(0x317)](this[_0x4dff3a(0x196)][_0x4dff3a(0x197)](_0x442b7a['UniverInstanceType'][_0x4dff3a(0x5ed)])[_0x4dff3a(0x4f0)](_0x368c6f[_0x4dff3a(0x28e)](_0x3e7caf=>_0x3e7caf['getUnitId']())),this[_0x4dff3a(0x196)][_0x4dff3a(0x197)](_0x442b7a[_0x4dff3a(0x524)][_0x4dff3a(0x1b7)])[_0x4dff3a(0x4f0)](_0x368c6f[_0x4dff3a(0x28e)](_0x547c4d=>_0x547c4d['getUnitId']())),this[_0x4dff3a(0x196)][_0x4dff3a(0x197)](_0x442b7a[_0x4dff3a(0x524)]['UNIVER_SLIDE'])[_0x4dff3a(0x4f0)](_0x368c6f[_0x4dff3a(0x28e)](_0x3c6fb7=>_0x3c6fb7[_0x4dff3a(0x60a)]())))[_0x4dff3a(0x19e)](_0x10203f=>this['_removeRoom'](_0x10203f)))));}['setCurrentUser'](_0x29b094){const _0xd7be1f=_0x20c0a9;this[_0xd7be1f(0x34c)][_0xd7be1f(0x5d2)](_0x29b094);}['getCurrentUser'](){const _0x4c0270=_0x20c0a9;return this[_0x4c0270(0x34c)][_0x4c0270(0x39b)]();}[_0x20c0a9(0x3de)](_0x5bcb34,_0x59c759){const _0x5559bd=_0x20c0a9;let _0x2ee45c=this[_0x5559bd(0x5fc)][_0x5559bd(0x43d)](_0x5bcb34);_0x2ee45c||(_0x2ee45c=new _0x1d6c19(),this['_roomMembers'][_0x5559bd(0x19a)](_0x5bcb34,_0x2ee45c)),_0x2ee45c[_0x5559bd(0x3de)](_0x59c759);}[_0x20c0a9(0x2b0)](_0x1d7c46,_0x2bad6c){const _0x1704fe=_0x20c0a9,_0x58b035=this[_0x1704fe(0x5fc)][_0x1704fe(0x43d)](_0x1d7c46);_0x58b035&&_0x58b035[_0x1704fe(0x2b0)](_0x2bad6c);}['getRoom'](_0x555a04){const _0x40f876=_0x20c0a9;return this[_0x40f876(0x5fc)][_0x40f876(0x43d)](_0x555a04);}[_0x20c0a9(0x52f)](_0x2c692a,_0x3448e4){const _0x3004de=_0x20c0a9,_0x253bc9=this['_roomMembers'][_0x3004de(0x43d)](_0x2c692a);if(_0x253bc9)return _0x253bc9['getMember'](_0x3448e4);}[_0x20c0a9(0x202)](_0x767b3d){const _0x150058=_0x20c0a9,_0x428d3=this[_0x150058(0x5fc)][_0x150058(0x43d)](_0x767b3d);_0x428d3&&(_0x428d3[_0x150058(0x4c8)](),this[_0x150058(0x5fc)][_0x150058(0x41f)](_0x767b3d));}[_0x20c0a9(0x4c8)](){const _0x451b1c=_0x20c0a9;this[_0x451b1c(0x5fc)][_0x451b1c(0x56a)](_0x485738=>_0x485738['dispose']()),this[_0x451b1c(0x5fc)][_0x451b1c(0x610)]();}},_0x464166[_0x20c0a9(0x357)]=_0x46abc6([_0x1fc4ef(0x0,_0x442b7a['IUniverInstanceService']),_0x1fc4ef(0x1,_0x442b7a[_0x20c0a9(0x301)](_0x442b7a[_0x20c0a9(0x2ee)]))],_0x464166[_0x20c0a9(0x357)]);class _0x1d6c19 extends _0x442b7a[_0x20c0a9(0x4fb)]{constructor(){super(...arguments),_0x178698(this,'_members',new Map());}['dispose'](){const _0x1f571d=_0x20c0a9;this['_members'][_0x1f571d(0x610)]();}[_0x20c0a9(0x3de)](_0x202922){const _0x4cbd85=_0x20c0a9;this[_0x4cbd85(0x3c6)][_0x4cbd85(0x19a)](_0x202922[_0x4cbd85(0x3eb)],_0x202922);}[_0x20c0a9(0x2b0)](_0x4075d8){const _0x2a573f=_0x20c0a9;this[_0x2a573f(0x3c6)]['delete'](_0x4075d8);}[_0x20c0a9(0x52f)](_0x1e73e4){const _0x43010a=_0x20c0a9;return this[_0x43010a(0x3c6)][_0x43010a(0x43d)](_0x1e73e4);}[_0x20c0a9(0x62e)](){const _0x414cc3=_0x20c0a9;return Array[_0x414cc3(0x334)](this[_0x414cc3(0x3c6)][_0x414cc3(0x430)]());}}var _0x1604d1=Object['defineProperty'],_0x38a6e4=Object['getOwnPropertyDescriptor'],_0xc481ca=(_0x43762c,_0x4af615,_0x231cae,_0x1afef8)=>{for(var _0x1476ce=_0x1afef8>0x1?void 0x0:_0x1afef8?_0x38a6e4(_0x4af615,_0x231cae):_0x4af615,_0x199847=_0x43762c['length']-0x1,_0x424273;_0x199847>=0x0;_0x199847--)(_0x424273=_0x43762c[_0x199847])&&(_0x1476ce=(_0x1afef8?_0x424273(_0x4af615,_0x231cae,_0x1476ce):_0x424273(_0x1476ce))||_0x1476ce);return _0x1afef8&&_0x1476ce&&_0x1604d1(_0x4af615,_0x231cae,_0x1476ce),_0x1476ce;},_0x227f00=(_0x1e0d1d,_0x285fa7)=>(_0x45a198,_0x59fa22)=>_0x285fa7(_0x45a198,_0x59fa22,_0x1e0d1d),_0x46eb20=(_0x5d77f3=>(_0x5d77f3[_0x5d77f3['IDLE']=0x0]=_0x20c0a9(0x42d),_0x5d77f3[_0x5d77f3[_0x20c0a9(0x2bc)]=0x1]=_0x20c0a9(0x2bc),_0x5d77f3[_0x5d77f3[_0x20c0a9(0x41a)]=0x2]='OFFLINE',_0x5d77f3[_0x5d77f3[_0x20c0a9(0x213)]=0x3]=_0x20c0a9(0x213),_0x5d77f3))(_0x46eb20||{});_0x464166['CollaborationSession']=class extends _0x442b7a[_0x20c0a9(0x1e8)]{constructor(_0x289f8f,_0x25f140,_0x417c20,_0x5997f3,_0x185e10,_0x12c3ce,_0x21acf5,_0x4b5f3,_0x2b2506,_0xe8e658){const _0x624f98=_0x20c0a9;super(),_0x178698(this,_0x624f98(0x44a),new _0x5cd5b5[(_0x624f98(0x61e))](0x0)),_0x178698(this,_0x624f98(0x572),this['_sessionStatus$'][_0x624f98(0x627)]()),_0x178698(this,_0x624f98(0x614),new _0x5cd5b5[(_0x624f98(0x438))]()),_0x178698(this,_0x624f98(0x32c),this[_0x624f98(0x614)]['asObservable']()),_0x178698(this,_0x624f98(0x501)),_0x178698(this,'_socketMessageSubscription'),_0x178698(this,_0x624f98(0x3e3)),_0x178698(this,_0x624f98(0x4c4),!0x1),_0x178698(this,_0x624f98(0x3fe),null),(this['_unitID']=_0x289f8f,this[_0x624f98(0x24b)]=_0x417c20,this[_0x624f98(0x3ab)]=_0x5997f3,this['_messageService']=_0x185e10,this[_0x624f98(0x293)]=_0x12c3ce,this[_0x624f98(0x5cb)]=_0x21acf5,this[_0x624f98(0x363)]=_0x4b5f3,this[_0x624f98(0x360)]=_0x2b2506,this[_0x624f98(0x413)]=_0xe8e658,this[_0x624f98(0x4c4)]=!!this[_0x624f98(0x413)],_0x25f140[_0x624f98(0x4f0)](_0x5cd5b5[_0x624f98(0x30f)](this['dispose$']))[_0x624f98(0x19e)](_0x4b274b=>{const _0x13d63e=_0x624f98;var _0x27eb11;typeof _0x4b274b>'u'||(this[_0x13d63e(0x501)]=_0x4b274b,_0x4b274b?(this['_joinRoom'](_0x4b274b),this[_0x13d63e(0x350)]=_0x4b274b[_0x13d63e(0x5f0)][_0x13d63e(0x19e)](_0x51372a=>{const _0x1348c3=_0x13d63e;_0x51372a[_0x1348c3(0x1f0)]===this[_0x1348c3(0x5e1)]&&this['_onCombEvent'](_0x51372a);})):(this[_0x13d63e(0x620)](),this[_0x13d63e(0x44a)][_0x13d63e(0x252)](0x2),(_0x27eb11=this['_socketMessageSubscription'])==null||_0x27eb11['unsubscribe'](),this[_0x13d63e(0x350)]=null));}),this[_0x624f98(0x36b)](this[_0x624f98(0x3ab)]['registerOnClose'](()=>{const _0x3d1c36=_0x624f98;var _0x516938;(_0x516938=this[_0x3d1c36(0x501)])==null||_0x516938[_0x3d1c36(0x42c)]({'cmd':_0x432d65[_0x3d1c36(0x4a8)],'data':{'roomID':this['_unitID']}});})));}get[_0x20c0a9(0x54b)](){return this['_sessionStatus$']['getValue']();}[_0x20c0a9(0x4eb)](){const _0x4455f9=_0x20c0a9;var _0x3c405a,_0x4d2791;return(_0x4d2791=(_0x3c405a=this[_0x4455f9(0x501)])==null?void 0x0:_0x3c405a[_0x4455f9(0x3eb)])!=null?_0x4d2791:null;}[_0x20c0a9(0x4c8)](){const _0x52d2e1=_0x20c0a9;super[_0x52d2e1(0x4c8)](),this[_0x52d2e1(0x530)]['next'](),this[_0x52d2e1(0x530)][_0x52d2e1(0x515)]();}[_0x20c0a9(0x5bd)](){const _0x14db4a=_0x20c0a9;var _0x2cdb54,_0x238c6a;this[_0x14db4a(0x620)](),(_0x2cdb54=this[_0x14db4a(0x501)])==null||_0x2cdb54['send']({'cmd':_0x432d65['LEAVE'],'data':{'roomID':this[_0x14db4a(0x5e1)]}}),(_0x238c6a=this[_0x14db4a(0x501)])==null||_0x238c6a['close'](),this[_0x14db4a(0x614)][_0x14db4a(0x515)](),this[_0x14db4a(0x44a)][_0x14db4a(0x515)](),this[_0x14db4a(0x4c8)]();}[_0x20c0a9(0x2c9)](_0xb3c322){const _0x500371=_0x20c0a9;_0xb3c322['cmd']===_0x432d65[_0x500371(0x3ae)]?this[_0x500371(0x3b1)](_0xb3c322):_0xb3c322[_0x500371(0x195)]===_0x432d65[_0x500371(0x395)]&&this[_0x500371(0x523)](_0xb3c322);}[_0x20c0a9(0x2d0)](_0x329555){const _0x10a9e0=_0x20c0a9;this['_sessionStatus$']['next'](0x1),_0x329555[_0x10a9e0(0x42c)]({'cmd':_0x432d65['JOIN'],'routeKey':this[_0x10a9e0(0x5e1)],'routeType':'','data':{'rooms':[{'roomID':this[_0x10a9e0(0x5e1)]}]}});}[_0x20c0a9(0x3b1)](_0x505da7){const _0x336f00=_0x20c0a9;var _0x41dbe4;if(_0x505da7[_0x336f00(0x23e)]===_0x167f81[_0x336f00(0x503)]){this[_0x336f00(0x4f7)][_0x336f00(0x2b1)]({'type':_0x169949['MessageType']['Warning'],'content':this[_0x336f00(0x5cb)]['t'](_0x336f00(0x61f))}),this[_0x336f00(0x44a)]['next'](0x2);return;}this[_0x336f00(0x44a)][_0x336f00(0x252)](0x3);const _0xa33b60=(_0x41dbe4=_0x505da7[_0x336f00(0x248)][_0x336f00(0x314)][this[_0x336f00(0x5e1)]])==null?void 0x0:_0x41dbe4[_0x336f00(0x340)];_0xa33b60&&_0xa33b60[_0x336f00(0x56a)](_0x4ac3ac=>this['_memberService'][_0x336f00(0x3de)](this[_0x336f00(0x5e1)],_0x4ac3ac));}[_0x20c0a9(0x523)](_0x1ac5c6){const _0x41e023=_0x20c0a9;try{const _0xbf5aa2=_0x1ac5c6[_0x41e023(0x248)];switch(_0xbf5aa2[_0x41e023(0x4d0)]){case _0x143a17[_0x41e023(0x299)][_0x41e023(0x487)]:this[_0x41e023(0x286)](_0xbf5aa2),this[_0x41e023(0x614)][_0x41e023(0x252)](_0xbf5aa2);break;case _0x143a17[_0x41e023(0x299)]['USERS_LEAVE']:this[_0x41e023(0x2fc)](_0xbf5aa2),this['_event$'][_0x41e023(0x252)](_0xbf5aa2);break;case _0x143a17[_0x41e023(0x299)][_0x41e023(0x210)]:case _0x143a17[_0x41e023(0x299)]['CHANGESET_SHOULD_RETRY']:this[_0x41e023(0x42a)](),this[_0x41e023(0x1e0)](),this[_0x41e023(0x614)][_0x41e023(0x252)](_0xbf5aa2);break;case _0x143a17[_0x41e023(0x299)][_0x41e023(0x586)]:this[_0x41e023(0x24b)][_0x41e023(0x358)](_0x41e023(0x39d)+JSON[_0x41e023(0x26b)](_0xbf5aa2)),this[_0x41e023(0x614)]['next'](_0xbf5aa2);break;case _0x143a17[_0x41e023(0x299)][_0x41e023(0x3dd)]:this[_0x41e023(0x360)][_0x41e023(0x412)](_0xbf5aa2[_0x41e023(0x248)]),this[_0x41e023(0x614)]['next'](_0xbf5aa2);break;default:this[_0x41e023(0x614)][_0x41e023(0x252)](_0xbf5aa2);}}catch(_0x20ecb1){this[_0x41e023(0x24b)][_0x41e023(0x358)](_0x20ecb1,_0x1ac5c6);}}[_0x20c0a9(0x286)](_0x422ed1){const _0x3daec9=_0x20c0a9;this[_0x3daec9(0x363)][_0x3daec9(0x3de)](this[_0x3daec9(0x5e1)],_0x422ed1[_0x3daec9(0x248)]);}[_0x20c0a9(0x2fc)](_0x2290bc){const _0x141fba=_0x20c0a9;this['_memberService']['removeMember'](this[_0x141fba(0x5e1)],_0x2290bc[_0x141fba(0x248)]['memberID']);}async[_0x20c0a9(0x42c)](_0x3f74c8,_0x3dff95){const _0x538544=_0x20c0a9;if(this[_0x538544(0x54b)]!==0x3||!this[_0x538544(0x501)])throw new Error(_0x538544(0x371));try{_0x3f74c8['eventID']===_0x143a17['CollaborationEvent'][_0x538544(0x2b2)]&&(this[_0x538544(0x5c5)](),this[_0x538544(0x4fa)](_0x3f74c8)),this[_0x538544(0x501)][_0x538544(0x42c)]({'cmd':_0x432d65['INGEST'],'routeKey':_0x3dff95,'routeType':'','data':_0x3f74c8});}catch(_0x4b7346){this[_0x538544(0x24b)][_0x538544(0x358)](_0x4b7346);}}[_0x20c0a9(0x5c5)](){const _0x39d145=_0x20c0a9;var _0x2847bb;this[_0x39d145(0x3e3)]=window[_0x39d145(0x190)](()=>{const _0x21336f=_0x39d145;this[_0x21336f(0x3e3)]=null,this['_messageService']['show']({'type':_0x169949[_0x21336f(0x2ef)][_0x21336f(0x38a)],'content':this[_0x21336f(0x5cb)]['t'](_0x21336f(0x3f9))});},(_0x2847bb=this['_configService']['getConfig'](_0x503ab5))!=null?_0x2847bb:0x4e20);}[_0x20c0a9(0x1e0)](){const _0x347d19=_0x20c0a9;this[_0x347d19(0x3e3)]&&(clearTimeout(this[_0x347d19(0x3e3)]),this[_0x347d19(0x3e3)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x1aacf9){const _0x118b76=_0x20c0a9;if(!this[_0x118b76(0x4c4)])return;const {data:_0x361f06}=_0x1aacf9,{unitID:_0x1855ef,changeset:_0x1d073c}=_0x361f06,{mutations:_0x1fe6e0,type:_0x2d692f}=_0x1d073c;this[_0x118b76(0x3fe)]={'unitId':_0x1855ef,'type':_0x2d692f,'startTime':performance[_0x118b76(0x47d)](),'stopTime':0x0,'duration':0x0,'size':_0x4f83dc(_0x1fe6e0)};}['_stopTelemetryCollaborationNewChangeset'](){const _0xcde0fd=_0x20c0a9;if(this['_shouldReportTelemetry']){if(!this[_0xcde0fd(0x3fe)]){this[_0xcde0fd(0x24b)][_0xcde0fd(0x358)](_0xcde0fd(0x189),_0xcde0fd(0x1dd));return;}this['_telemetryInfo'][_0xcde0fd(0x4ed)]=performance[_0xcde0fd(0x47d)](),this[_0xcde0fd(0x3fe)][_0xcde0fd(0x20c)]=this['_telemetryInfo']['stopTime']-this['_telemetryInfo'][_0xcde0fd(0x2ad)],this[_0xcde0fd(0x413)]['capture'](_0x2673b8,this[_0xcde0fd(0x3fe)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x18a55f=_0x20c0a9;this[_0x18a55f(0x3fe)]=null;}},_0x464166['CollaborationSession']=_0xc481ca([_0x227f00(0x2,_0x442b7a['ILogService']),_0x227f00(0x3,_0x2b513a[_0x20c0a9(0x2bd)]),_0x227f00(0x4,_0x2b513a[_0x20c0a9(0x496)]),_0x227f00(0x5,_0x442b7a['IConfigService']),_0x227f00(0x6,_0x442b7a[_0x20c0a9(0x301)](_0x442b7a[_0x20c0a9(0x5b2)])),_0x227f00(0x7,_0x442b7a['Inject'](_0x464166[_0x20c0a9(0x357)])),_0x227f00(0x8,_0x442b7a[_0x20c0a9(0x301)](_0x54372a)),_0x227f00(0x9,_0x442b7a['Optional'](_0x4b00cb[_0x20c0a9(0x5cf)]))],_0x464166[_0x20c0a9(0x533)]);var _0x3aeb89=Object[_0x20c0a9(0x42e)],_0x1a5d2b=Object['getOwnPropertyDescriptor'],_0x37595b=(_0x4deb09,_0x559dad,_0x3a43d7,_0xcc52a0)=>{const _0x4ce329=_0x20c0a9;for(var _0xd5406e=_0xcc52a0>0x1?void 0x0:_0xcc52a0?_0x1a5d2b(_0x559dad,_0x3a43d7):_0x559dad,_0x15eef4=_0x4deb09[_0x4ce329(0x1b1)]-0x1,_0xd12090;_0x15eef4>=0x0;_0x15eef4--)(_0xd12090=_0x4deb09[_0x15eef4])&&(_0xd5406e=(_0xcc52a0?_0xd12090(_0x559dad,_0x3a43d7,_0xd5406e):_0xd12090(_0xd5406e))||_0xd5406e);return _0xcc52a0&&_0xd5406e&&_0x3aeb89(_0x559dad,_0x3a43d7,_0xd5406e),_0xd5406e;},_0x5663e1=(_0x172dc2,_0x1957f8)=>(_0x2cc65f,_0x319f0d)=>_0x1957f8(_0x2cc65f,_0x319f0d,_0x172dc2);_0x464166[_0x20c0a9(0x1b4)]=class extends _0x442b7a[_0x20c0a9(0x4fb)]{constructor(_0x5c9266,_0x42f75f,_0x21347a,_0x279adf,_0x5639b7,_0x4b579c){const _0x5bd759=_0x20c0a9;super(),_0x178698(this,_0x5bd759(0x597),new _0x5cd5b5[(_0x5bd759(0x61e))](void 0x0)),_0x178698(this,_0x5bd759(0x205),this[_0x5bd759(0x597)][_0x5bd759(0x627)]()),_0x178698(this,'_candidateSocket',null),_0x178698(this,_0x5bd759(0x348),new Map()),_0x178698(this,_0x5bd759(0x1a1),new _0x5cd5b5[(_0x5bd759(0x61e))](_0x46eb20['IDLE'])),_0x178698(this,_0x5bd759(0x1fb),this['_status$'][_0x5bd759(0x627)]()),_0x178698(this,_0x5bd759(0x4ab),!0x1),_0x178698(this,_0x5bd759(0x304)),_0x178698(this,'_retryCount',0x0),_0x178698(this,_0x5bd759(0x4f5)),_0x178698(this,_0x5bd759(0x32d)),(this[_0x5bd759(0x4de)]=_0x5c9266,this['_localeService']=_0x42f75f,this[_0x5bd759(0x4f7)]=_0x21347a,this['_logService']=_0x279adf,this[_0x5bd759(0x293)]=_0x5639b7,this[_0x5bd759(0x587)]=_0x4b579c,this[_0x5bd759(0x4a2)]());}get[_0x20c0a9(0x501)](){const _0x2359a1=_0x20c0a9;return this[_0x2359a1(0x597)][_0x2359a1(0x516)]();}[_0x20c0a9(0x4a2)](){const _0x1b9713=_0x20c0a9;this[_0x1b9713(0x472)](),this[_0x1b9713(0x3aa)]();}['dispose'](){const _0x35e8f7=_0x20c0a9;super[_0x35e8f7(0x4c8)](),this[_0x35e8f7(0x348)][_0x35e8f7(0x56a)](_0x3ce793=>_0x3ce793[_0x35e8f7(0x4c8)]()),this[_0x35e8f7(0x348)]['clear'](),this['_status$'][_0x35e8f7(0x515)]();}async['requireSession'](_0x2256dd){const _0x3643ef=_0x20c0a9;if(this[_0x3643ef(0x348)][_0x3643ef(0x3fb)](_0x2256dd))return this[_0x3643ef(0x348)][_0x3643ef(0x43d)](_0x2256dd);this[_0x3643ef(0x60c)]();const _0xec46d2=this['_injector'][_0x3643ef(0x31c)](_0x464166[_0x3643ef(0x533)],_0x2256dd,this[_0x3643ef(0x597)]['asObservable']());return this[_0x3643ef(0x348)][_0x3643ef(0x19a)](_0x2256dd,_0xec46d2),_0xec46d2;}[_0x20c0a9(0x1dc)](_0x4b3226){const _0xd1a8f2=_0x20c0a9;var _0x6b5ff;const _0x18f743=this[_0xd1a8f2(0x348)]['get'](_0x4b3226);_0x18f743&&(this[_0xd1a8f2(0x348)][_0xd1a8f2(0x41f)](_0x4b3226),_0x18f743['close']()),this['_sessions'][_0xd1a8f2(0x1cc)]||(_0x6b5ff=this['_socket'])==null||_0x6b5ff[_0xd1a8f2(0x5bd)]();}[_0x20c0a9(0x650)](){const _0xfc1678=_0x20c0a9;this[_0xfc1678(0x373)]=0x0,this[_0xfc1678(0x304)]!=null&&(clearTimeout(this[_0xfc1678(0x304)]),this[_0xfc1678(0x304)]=null),this['_tryReconnect']();}[_0x20c0a9(0x2ca)](){const _0x4030a8=_0x20c0a9;var _0x22e0fd,_0x46c7a0;const _0x412371=this[_0x4030a8(0x293)][_0x4030a8(0x602)](_0x4b5c50),_0x36c994=this[_0x4030a8(0x293)][_0x4030a8(0x602)](_0x38eaa5),_0x4abac4=(_0x46c7a0=(_0x22e0fd=_0x36c994==null?void 0x0:_0x36c994[_0x4030a8(0x55d)])!=null?_0x22e0fd:_0x412371)!=null?_0x46c7a0:_0xdad61c,_0x191a5b=this['_socketService'][_0x4030a8(0x29d)](_0x4abac4);return this[_0x4030a8(0x579)]=_0x191a5b,_0x191a5b;}[_0x20c0a9(0x60c)](){const _0x5c2f2a=_0x20c0a9;var _0x4d7434,_0x1505cc;try{const _0x515da6=(_0x1505cc=(_0x4d7434=this['_socket'])!=null?_0x4d7434:this[_0x5c2f2a(0x579)])!=null?_0x1505cc:this['_createSocket']();if(_0x515da6){const _0x4bd21a=_0x515da6[_0x5c2f2a(0x42c)];_0x515da6[_0x5c2f2a(0x42c)]=_0x165905=>(this['_rescheduleHeartbeat'](),_0x4bd21a[_0x5c2f2a(0x5d9)](_0x515da6,[_0x165905])),_0x515da6['message$'][_0x5c2f2a(0x19e)](_0x1d8c0f=>this[_0x5c2f2a(0x632)](_0x515da6,_0x1d8c0f)),_0x515da6[_0x5c2f2a(0x2e4)][_0x5c2f2a(0x4f0)](_0x368c6f[_0x5c2f2a(0x418)](0x1))[_0x5c2f2a(0x19e)](_0x26aadc=>this[_0x5c2f2a(0x24b)][_0x5c2f2a(0x358)]('[CollaborationSessionService]:\x20socket\x20error',_0x26aadc)),_0x515da6['open$'][_0x5c2f2a(0x4f0)](_0x368c6f[_0x5c2f2a(0x418)](0x1))[_0x5c2f2a(0x19e)](()=>{const _0x2bd998=_0x5c2f2a;this[_0x2bd998(0x558)](_0x515da6);}),_0x515da6[_0x5c2f2a(0x345)][_0x5c2f2a(0x4f0)](_0x368c6f[_0x5c2f2a(0x418)](0x1))[_0x5c2f2a(0x19e)](_0x9620f8=>{const _0xa7b99e=_0x5c2f2a;this[_0xa7b99e(0x24b)]['debug'](_0xa7b99e(0x486),_0xa7b99e(0x1f3),_0x9620f8),this[_0xa7b99e(0x56d)]();});}}catch(_0xda63b0){this[_0x5c2f2a(0x24b)][_0x5c2f2a(0x358)](_0xda63b0),this[_0x5c2f2a(0x56d)]();}}['_onConnectionOpen'](_0x27a65b){const _0x20d09f=_0x20c0a9;this[_0x20d09f(0x24b)][_0x20d09f(0x3b3)](_0x20d09f(0x486),_0x20d09f(0x5da)),_0x27a65b[_0x20d09f(0x42c)]({'cmd':_0x432d65[_0x20d09f(0x592)]}),this[_0x20d09f(0x1c9)]();}[_0x20c0a9(0x472)](){const _0xa9355=_0x20c0a9;window[_0xa9355(0x513)](_0xa9355(0x3ef),()=>this[_0xa9355(0x2f4)]());}[_0x20c0a9(0x2f4)](){const _0xbb318=_0x20c0a9;this[_0xbb318(0x4ab)]=!0x1,this[_0xbb318(0x579)]=null,this[_0xbb318(0x1a1)]['next'](_0x46eb20['OFFLINE']),this[_0xbb318(0x597)]['next'](null),this['_clearTimeoutTimer'](),this[_0xbb318(0x5c0)]();}[_0x20c0a9(0x56d)](){const _0x253975=_0x20c0a9;var _0x21c7e;this['_onOffline'](),this[_0x253975(0x373)]<((_0x21c7e=this[_0x253975(0x293)][_0x253975(0x602)](_0x3c59d1))!=null?_0x21c7e:0x3)?(this[_0x253975(0x4f7)][_0x253975(0x2b1)]({'key':_0x253975(0x5eb),'type':_0x169949[_0x253975(0x2ef)]['Warning'],'content':this['_localeService']['t'](_0x253975(0x332))}),this[_0x253975(0x19b)]()):this[_0x253975(0x4f7)][_0x253975(0x2b1)]({'key':_0x253975(0x5eb),'type':_0x169949['MessageType'][_0x253975(0x38a)],'content':this[_0x253975(0x5cb)]['t'](_0x253975(0x5e7))});}[_0x20c0a9(0x3aa)](){const _0x32fc78=_0x20c0a9,_0x319208=()=>{const _0x73211c=_0x414b;this[_0x73211c(0x501)]||this['reconnect']();},_0x1e3542=()=>{const _0x225bc9=_0x414b;this[_0x225bc9(0x501)]||document[_0x225bc9(0x431)]===_0x225bc9(0x343)||this[_0x225bc9(0x650)]();};window[_0x32fc78(0x513)](_0x32fc78(0x5d4),_0x319208),document[_0x32fc78(0x513)](_0x32fc78(0x3a3),_0x1e3542);}[_0x20c0a9(0x19b)](){const _0x46fc3d=_0x20c0a9;var _0x409fa9;const _0x366f44=this[_0x46fc3d(0x373)],_0x221bb8=this[_0x46fc3d(0x293)][_0x46fc3d(0x602)](_0x38eaa5),_0x3a2af3=_0x366f44===0x0?0x0:((_0x409fa9=_0x221bb8==null?void 0x0:_0x221bb8[_0x46fc3d(0x26d)])!=null?_0x409fa9:0x4e20)*0x2**_0x366f44;this[_0x46fc3d(0x304)]=window[_0x46fc3d(0x190)](()=>{const _0x38960b=_0x46fc3d;clearTimeout(this[_0x38960b(0x304)]),this[_0x38960b(0x304)]=null,this[_0x38960b(0x60c)]();},_0x3a2af3),this['_retryCount']+=0x1;}[_0x20c0a9(0x632)](_0x2a1de3,_0x37f260){const _0x4b3de2=_0x20c0a9,{cmd:_0x42c36a}=_0x37f260;_0x42c36a===_0x432d65[_0x4b3de2(0x592)]&&!this[_0x4b3de2(0x4ab)]&&(_0x2a1de3[_0x4b3de2(0x3eb)]=_0x37f260[_0x4b3de2(0x248)][_0x4b3de2(0x3eb)],this[_0x4b3de2(0x597)][_0x4b3de2(0x252)](_0x2a1de3),this[_0x4b3de2(0x1a1)][_0x4b3de2(0x252)](_0x46eb20['ONLINE']),this['_socketReady']=!0x0,this[_0x4b3de2(0x579)]=null),_0x42c36a===_0x432d65[_0x4b3de2(0x28b)]&&this[_0x4b3de2(0x453)](),this[_0x4b3de2(0x1c9)]();}[_0x20c0a9(0x1c9)](){const _0x2207ae=_0x20c0a9;var _0x556b61;this[_0x2207ae(0x5c0)](),this[_0x2207ae(0x4f5)]=window['setTimeout'](()=>this[_0x2207ae(0x40f)](),(_0x556b61=this[_0x2207ae(0x293)][_0x2207ae(0x602)](_0x714583))!=null?_0x556b61:0x7530);}[_0x20c0a9(0x40f)](){const _0x24a99d=_0x20c0a9;this[_0x24a99d(0x501)][_0x24a99d(0x42c)]({'cmd':_0x432d65[_0x24a99d(0x28b)]}),this['_waitForHeartbeatResponse']();}[_0x20c0a9(0x48c)](){const _0x353dfd=_0x20c0a9;var _0x34b964;this[_0x353dfd(0x32d)]=window[_0x353dfd(0x190)](()=>this[_0x353dfd(0x56d)](),(_0x34b964=this[_0x353dfd(0x293)]['getConfig'](_0x503ab5))!=null?_0x34b964:0x4e20);}[_0x20c0a9(0x5c0)](){const _0x37a302=_0x20c0a9;this[_0x37a302(0x4f5)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x37a302(0x4f5)]=null);}[_0x20c0a9(0x453)](){const _0x457b8a=_0x20c0a9;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x457b8a(0x32d)]),this[_0x457b8a(0x32d)]=null);}},_0x464166[_0x20c0a9(0x1b4)]=_0x37595b([_0x5663e1(0x0,_0x442b7a[_0x20c0a9(0x301)](_0x442b7a[_0x20c0a9(0x414)])),_0x5663e1(0x1,_0x442b7a[_0x20c0a9(0x301)](_0x442b7a[_0x20c0a9(0x5b2)])),_0x5663e1(0x2,_0x2b513a[_0x20c0a9(0x496)]),_0x5663e1(0x3,_0x442b7a[_0x20c0a9(0x188)]),_0x5663e1(0x4,_0x442b7a['IConfigService']),_0x5663e1(0x5,_0x555a75)],_0x464166[_0x20c0a9(0x1b4)]);for(var _0x46a717=[],_0x18c934=0x0;_0x18c934<0x100;++_0x18c934)_0x46a717[_0x20c0a9(0x2ce)]((_0x18c934+0x100)[_0x20c0a9(0x367)](0x10)[_0x20c0a9(0x408)](0x1));function _0x5e0e45(_0x424bf8,_0x1773ff=0x0){const _0x3e9262=_0x20c0a9;return(_0x46a717[_0x424bf8[_0x1773ff+0x0]]+_0x46a717[_0x424bf8[_0x1773ff+0x1]]+_0x46a717[_0x424bf8[_0x1773ff+0x2]]+_0x46a717[_0x424bf8[_0x1773ff+0x3]]+'-'+_0x46a717[_0x424bf8[_0x1773ff+0x4]]+_0x46a717[_0x424bf8[_0x1773ff+0x5]]+'-'+_0x46a717[_0x424bf8[_0x1773ff+0x6]]+_0x46a717[_0x424bf8[_0x1773ff+0x7]]+'-'+_0x46a717[_0x424bf8[_0x1773ff+0x8]]+_0x46a717[_0x424bf8[_0x1773ff+0x9]]+'-'+_0x46a717[_0x424bf8[_0x1773ff+0xa]]+_0x46a717[_0x424bf8[_0x1773ff+0xb]]+_0x46a717[_0x424bf8[_0x1773ff+0xc]]+_0x46a717[_0x424bf8[_0x1773ff+0xd]]+_0x46a717[_0x424bf8[_0x1773ff+0xe]]+_0x46a717[_0x424bf8[_0x1773ff+0xf]])[_0x3e9262(0x41b)]();}var _0xfc803,_0x564460=new Uint8Array(0x10);function _0x31377b(){const _0x1be856=_0x20c0a9;if(!_0xfc803&&(_0xfc803=typeof crypto<'u'&&crypto[_0x1be856(0x253)]&&crypto[_0x1be856(0x253)][_0x1be856(0x3d9)](crypto),!_0xfc803))throw new Error(_0x1be856(0x4a3));return _0xfc803(_0x564460);}var _0x92df3d=typeof crypto<'u'&&crypto[_0x20c0a9(0x1d1)]&&crypto['randomUUID'][_0x20c0a9(0x3d9)](crypto);const _0x135917={'randomUUID':_0x92df3d};function _0x330420(_0x18acd9,_0x1f701e,_0x56c669){const _0x8f372e=_0x20c0a9;if(_0x135917[_0x8f372e(0x1d1)]&&!_0x1f701e&&!_0x18acd9)return _0x135917[_0x8f372e(0x1d1)]();_0x18acd9=_0x18acd9||{};var _0xe2faab=_0x18acd9['random']||(_0x18acd9[_0x8f372e(0x4fc)]||_0x31377b)();return _0xe2faab[0x6]=_0xe2faab[0x6]&0xf|0x40,_0xe2faab[0x8]=_0xe2faab[0x8]&0x3f|0x80,_0x5e0e45(_0xe2faab);}var _0x52474b=Object[_0x20c0a9(0x42e)],_0x1938fc=Object[_0x20c0a9(0x526)],_0x3dcd73=(_0x5b703c,_0x46b3e3,_0x2b1d49,_0x4488c5)=>{const _0xfad4f2=_0x20c0a9;for(var _0x11d71a=_0x4488c5>0x1?void 0x0:_0x4488c5?_0x1938fc(_0x46b3e3,_0x2b1d49):_0x46b3e3,_0x36f432=_0x5b703c[_0xfad4f2(0x1b1)]-0x1,_0x4b3c06;_0x36f432>=0x0;_0x36f432--)(_0x4b3c06=_0x5b703c[_0x36f432])&&(_0x11d71a=(_0x4488c5?_0x4b3c06(_0x46b3e3,_0x2b1d49,_0x11d71a):_0x4b3c06(_0x11d71a))||_0x11d71a);return _0x4488c5&&_0x11d71a&&_0x52474b(_0x46b3e3,_0x2b1d49,_0x11d71a),_0x11d71a;},_0x49ce70=(_0x228679,_0x707e69)=>(_0x469386,_0x14bfe9)=>_0x707e69(_0x469386,_0x14bfe9,_0x228679);let _0x122147=class{constructor(_0x45e7e0,_0x586d4d,_0x246aec){const _0x3ebaca=_0x20c0a9;this[_0x3ebaca(0x4de)]=_0x45e7e0,this[_0x3ebaca(0x61d)]=_0x586d4d,this[_0x3ebaca(0x2ae)]=_0x246aec;}[_0x20c0a9(0x366)](_0x423d85){const _0x191e71=_0x20c0a9;this[_0x191e71(0x5bf)](_0x423d85),this[_0x191e71(0x2ed)](_0x423d85);}[_0x20c0a9(0x40d)](_0x5ab8be){const _0x1562d9=_0x20c0a9,{unitID:_0x53c834}=_0x5ab8be,_0x175077=this['_renderManagerService'][_0x1562d9(0x242)](_0x53c834)[_0x1562d9(0x507)](_0x1927e6[_0x1562d9(0x4fd)]),{redoCache:_0x5204e6}=_0x175077[_0x1562d9(0x1ed)]();if(_0x5204e6[_0x1562d9(0x1b1)]===0x0)return _0x5ab8be;let _0x3bd67a=_0x442b7a[_0x1562d9(0x207)][_0x1562d9(0x329)](_0x5ab8be[_0x1562d9(0x449)][0x0]);for(let _0x193368=0x0;_0x193368<_0x5204e6[_0x1562d9(0x1b1)];_0x193368++){const _0x530cc8={'id':_0x1562d9(0x34d),'params':{..._0x5204e6[_0x193368]}},_0x31f572=this[_0x1562d9(0x61d)][_0x1562d9(0x5a2)](_0x3bd67a,_0x530cc8,!0x1);if(_0x143a17['isTransformMutationFailure'](_0x31f572))throw _0x31f572['error'];_0x3bd67a=_0x31f572[_0x1562d9(0x479)];}return{..._0x442b7a[_0x1562d9(0x207)][_0x1562d9(0x329)](_0x5ab8be),'mutations':[_0x3bd67a]};}[_0x20c0a9(0x5bf)](_0x3c5f54){const _0x2b6c18=_0x20c0a9,{unitID:_0x4eec8f}=_0x3c5f54,_0x2ec226=this['_renderManagerService']['getRenderById'](_0x4eec8f)[_0x2b6c18(0x507)](_0x1927e6[_0x2b6c18(0x4fd)]),{undoCache:_0x4c0c9a,redoCache:_0xd79d15}=_0x2ec226[_0x2b6c18(0x1ed)]();if(_0x4c0c9a['length']===0x0||_0xd79d15['length']===0x0)return;const _0x30fa37=[],_0x16f9dc=[];let _0xf39592=_0x442b7a[_0x2b6c18(0x207)][_0x2b6c18(0x329)](_0x3c5f54[_0x2b6c18(0x449)][0x0]),_0x4f54b6=_0x442b7a['Tools']['deepClone'](_0x3c5f54['mutations'][0x0]);for(let _0x31f20b=_0x4c0c9a[_0x2b6c18(0x1b1)]-0x1;_0x31f20b>=0x0;_0x31f20b--){const _0x4c5a98={'id':'doc.mutation.rich-text-editing','params':{..._0x4c0c9a[_0x31f20b]}},_0x489a1e={'id':_0x2b6c18(0x34d),'params':{..._0xd79d15[_0x31f20b]}},_0x2d16fb=this['_transformService'][_0x2b6c18(0x5a2)](_0xf39592,_0x4c5a98,!0x1),_0x2d2ef6=this[_0x2b6c18(0x61d)][_0x2b6c18(0x5a2)](_0x4f54b6,_0x489a1e,!0x1);if(_0x143a17[_0x2b6c18(0x45b)](_0x2d16fb))throw _0x2d16fb[_0x2b6c18(0x358)];if(_0x143a17[_0x2b6c18(0x45b)](_0x2d2ef6))throw _0x2d2ef6[_0x2b6c18(0x358)];_0x30fa37[_0x2b6c18(0x34e)](_0x2d16fb[_0x2b6c18(0x59c)][_0x2b6c18(0x285)]),_0x16f9dc[_0x2b6c18(0x34e)](_0x2d2ef6[_0x2b6c18(0x59c)]['params']),_0xf39592=_0x2d16fb[_0x2b6c18(0x479)],_0x4f54b6=_0x2d2ef6[_0x2b6c18(0x479)];}_0x2ec226[_0x2b6c18(0x41e)]({'undoCache':_0x30fa37,'redoCache':_0x16f9dc});}[_0x20c0a9(0x2ed)](_0xd0793b){const _0x5c5325=_0x20c0a9,{unitID:_0x4ae406}=_0xd0793b,_0x35534a=this['_renderManagerService'][_0x5c5325(0x242)](_0x4ae406)[_0x5c5325(0x507)](_0x1927e6['DocIMEInputManagerService']),_0xb1c04d=_0x35534a[_0x5c5325(0x221)]();if(_0xb1c04d==null)return;const _0x20a941=[{'id':_0x5c5325(0x34d),'params':{'unitId':_0xd0793b[_0x5c5325(0x5ce)],'actions':null,'textRanges':[_0xb1c04d]}}],_0x5b0ea0=this[_0x5c5325(0x61d)]['transformMutationsWithChangeset'](_0xd0793b,_0x20a941);if(!_0x143a17[_0x5c5325(0x26f)](_0x5b0ea0))throw _0x5b0ea0[_0x5c5325(0x358)];const _0x504040=_0x5b0ea0['m2Prime'][0x0][_0x5c5325(0x285)][_0x5c5325(0x546)];Array[_0x5c5325(0x625)](_0x504040)&&_0x504040[_0x5c5325(0x1b1)]&&_0x35534a[_0x5c5325(0x645)](_0x504040[0x0]);}};_0x122147=_0x3dcd73([_0x49ce70(0x0,_0x442b7a['Inject'](_0x442b7a[_0x20c0a9(0x414)])),_0x49ce70(0x1,_0x143a17['ITransformService']),_0x49ce70(0x2,_0xbbe220[_0x20c0a9(0x3ac)])],_0x122147);var _0x4ccfaa=Object[_0x20c0a9(0x42e)],_0x9dcc89=Object[_0x20c0a9(0x526)],_0x38fe9e=(_0x546741,_0x272f7a,_0x54b5cb,_0x344f03)=>{const _0x5abd08=_0x20c0a9;for(var _0x264be3=_0x344f03>0x1?void 0x0:_0x344f03?_0x9dcc89(_0x272f7a,_0x54b5cb):_0x272f7a,_0x1bb1f4=_0x546741[_0x5abd08(0x1b1)]-0x1,_0x34205d;_0x1bb1f4>=0x0;_0x1bb1f4--)(_0x34205d=_0x546741[_0x1bb1f4])&&(_0x264be3=(_0x344f03?_0x34205d(_0x272f7a,_0x54b5cb,_0x264be3):_0x34205d(_0x264be3))||_0x264be3);return _0x344f03&&_0x264be3&&_0x4ccfaa(_0x272f7a,_0x54b5cb,_0x264be3),_0x264be3;},_0x59bf1b=(_0x675e0,_0x54441a)=>(_0x2413fb,_0xc7f653)=>_0x54441a(_0x2413fb,_0xc7f653,_0x675e0);_0x464166[_0x20c0a9(0x2a7)]=class extends _0x442b7a[_0x20c0a9(0x4fb)]{constructor(_0x5cc7ce,_0x561bda,_0x48ac08,_0x239fed,_0x2b1b81){const _0x527c9d=_0x20c0a9;super(),_0x178698(this,_0x527c9d(0x4f3),new Map()),_0x178698(this,_0x527c9d(0x3d4),new Map()),_0x178698(this,_0x527c9d(0x1f2),!0x1),(this['_configService']=_0x5cc7ce,this[_0x527c9d(0x4cb)]=_0x561bda,this[_0x527c9d(0x3ab)]=_0x48ac08,this[_0x527c9d(0x5cb)]=_0x239fed,this[_0x527c9d(0x4b4)]=_0x2b1b81,this[_0x527c9d(0x4f6)]());}[_0x20c0a9(0x30a)](){const _0x3770b7=_0x20c0a9;this[_0x3770b7(0x1f2)]=!0x0;}['enableLocalCache'](){const _0x6cd6c5=_0x20c0a9;this[_0x6cd6c5(0x1f2)]=!0x1;}[_0x20c0a9(0x4c8)](){const _0x2fabed=_0x20c0a9;this[_0x2fabed(0x1b3)]()[_0x2fabed(0x356)](()=>super['dispose']());}async[_0x20c0a9(0x47e)](_0x56b2b2){const _0x43ffab=_0x20c0a9;return this[_0x43ffab(0x1f2)]?null:this['_localStorageService']['getItem'](_0x4c1449(_0x56b2b2));}async['saveOfflineData'](_0x18dffc,_0x522025){const _0x3d909f=_0x20c0a9;return!!this[_0x3d909f(0x4cb)]['setItem'](_0x18dffc,_0x522025);}['updateOfflineData'](_0x2e6197,_0x45ce76,_0xa0e9fc,_0x585ae2){const _0x2a73ac=_0x20c0a9,_0x3963f1=this['_revisionService']['getCurrentRevOfUnit'](_0x2e6197);this[_0x2a73ac(0x4f3)][_0x2a73ac(0x19a)](_0x2e6197,{'unitID':_0x2e6197,'type':_0x45ce76,'awaitingChangeset':_0xa0e9fc,'mutations':_0x585ae2,'rev':_0x3963f1}),this[_0x2a73ac(0x3d4)][_0x2a73ac(0x3fb)](_0x2e6197)||this['_scheduleSaving'](_0x2e6197);}[_0x20c0a9(0x59d)](_0x333b85){const _0x1f2e8f=_0x20c0a9,_0x2451f6=this['_getSaveTimeout']();_0x2451f6===0x0?this[_0x1f2e8f(0x62d)](_0x333b85):this[_0x1f2e8f(0x3d4)][_0x1f2e8f(0x19a)](_0x333b85,setTimeout(()=>this[_0x1f2e8f(0x62d)](_0x333b85),_0x2451f6));}[_0x20c0a9(0x5c3)](){const _0x1ba040=_0x20c0a9;var _0x47e58f;return(_0x47e58f=this[_0x1ba040(0x293)]['getConfig'](_0x4181cb))!=null?_0x47e58f:0x3e8;}['_saveCache'](_0x56e32){const _0x516647=_0x20c0a9,_0x2b2086=this['_saveTaskMap'][_0x516647(0x43d)](_0x56e32);return _0x2b2086!==void 0x0&&window[_0x516647(0x320)](_0x2b2086),this[_0x516647(0x4cb)][_0x516647(0x29e)](_0x4c1449(_0x56e32),this[_0x516647(0x4f3)][_0x516647(0x43d)](_0x56e32))[_0x516647(0x356)](()=>this[_0x516647(0x3d4)]['delete'](_0x56e32));}async[_0x20c0a9(0x1b3)](){const _0x3e8283=_0x20c0a9,_0x5ac1e5=[];this[_0x3e8283(0x3d4)]['forEach']((_0x159211,_0x21d98a)=>{const _0x4781b1=_0x3e8283;window[_0x4781b1(0x320)](_0x159211),_0x5ac1e5['push'](this[_0x4781b1(0x62d)](_0x21d98a)['then'](()=>{const _0x39e22c=_0x4781b1;this[_0x39e22c(0x3d4)]['delete'](_0x21d98a);}));}),await Promise[_0x3e8283(0x31b)](_0x5ac1e5);}[_0x20c0a9(0x4f6)](){const _0x40de72=_0x20c0a9;this[_0x40de72(0x36b)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x1e58e2=_0x40de72;if(this[_0x1e58e2(0x3d4)]['size'])return this[_0x1e58e2(0x5cb)]['t'](_0x1e58e2(0x24e));}));}},_0x464166['LocalCacheService']=_0x38fe9e([_0x59bf1b(0x0,_0x442b7a[_0x20c0a9(0x54d)]),_0x59bf1b(0x1,_0x442b7a[_0x20c0a9(0x64c)]),_0x59bf1b(0x2,_0x2b513a['IBeforeCloseService']),_0x59bf1b(0x3,_0x442b7a[_0x20c0a9(0x301)](_0x442b7a[_0x20c0a9(0x5b2)])),_0x59bf1b(0x4,_0x442b7a['Inject'](_0x143a17[_0x20c0a9(0x218)]))],_0x464166['LocalCacheService']);function _0x4c1449(_0x2b8422){const _0x4a17d2=_0x20c0a9;return _0x4a17d2(0x5d0)+_0x2b8422;}var _0x592d14=Object[_0x20c0a9(0x42e)],_0x220252=Object[_0x20c0a9(0x526)],_0x2745ba=(_0x394096,_0x68c324,_0x4fd7ec,_0x3a0ff9)=>{const _0xb13cd6=_0x20c0a9;for(var _0x42b161=_0x3a0ff9>0x1?void 0x0:_0x3a0ff9?_0x220252(_0x68c324,_0x4fd7ec):_0x68c324,_0xe4581b=_0x394096[_0xb13cd6(0x1b1)]-0x1,_0x27657e;_0xe4581b>=0x0;_0xe4581b--)(_0x27657e=_0x394096[_0xe4581b])&&(_0x42b161=(_0x3a0ff9?_0x27657e(_0x68c324,_0x4fd7ec,_0x42b161):_0x27657e(_0x42b161))||_0x42b161);return _0x3a0ff9&&_0x42b161&&_0x592d14(_0x68c324,_0x4fd7ec,_0x42b161),_0x42b161;},_0x2631fc=(_0x508a8c,_0x51d4c5)=>(_0x1434ae,_0x2cc49d)=>_0x51d4c5(_0x1434ae,_0x2cc49d,_0x508a8c);function _0x7988e5(_0x1f2f2b){const _0x12812d=_0x20c0a9,{unitID:_0x1a2ebe,mutations:_0xf89879}=_0x1f2f2b;return{'unitId':_0x1a2ebe,'subUnitId':_0xf89879[0x0][_0x12812d(0x285)][_0x12812d(0x2cb)]};}let _0x5bac6d=class{constructor(_0x128e77,_0x5b27ae,_0x33b924){const _0x2fad9c=_0x20c0a9;this[_0x2fad9c(0x4de)]=_0x128e77,this[_0x2fad9c(0x61d)]=_0x5b27ae,this[_0x2fad9c(0x416)]=_0x33b924;}[_0x20c0a9(0x38d)](_0x2852fe){const _0x4c661f=_0x20c0a9;var _0x924567,_0x4056d7,_0x219125,_0x2d86d5;const _0x57a70f=this[_0x4c661f(0x4de)][_0x4c661f(0x43d)](_0x6c9a2[_0x4c661f(0x461)]),{unitId:_0x5e8051,subUnitId:_0x227975}=_0x7988e5(_0x2852fe),_0x4e389f=_0x57a70f[_0x4c661f(0x5dc)](_0x5e8051)[_0x4c661f(0x192)](),_0x261423=(_0x4056d7=(_0x924567=this[_0x4c661f(0x416)][_0x4c661f(0x247)](_0x5e8051))==null?void 0x0:_0x924567[_0x4c661f(0x4aa)]())==null?void 0x0:_0x4056d7[_0x4c661f(0x607)]();if(_0x4e389f['length']===0x0||!_0x5e8051||!_0x227975)return;const _0x32cbbb=[{'id':_0x6c9a2[_0x4c661f(0x3d1)]['id'],'params':{'unitId':_0x5e8051,'subUnitId':_0x261423,'selections':_0x442b7a[_0x4c661f(0x207)][_0x4c661f(0x329)](_0x4e389f)}}],_0x20ed91=this['_transformService']['transformMutationsWithChangeset'](_0x2852fe,_0x32cbbb);if(!_0x143a17[_0x4c661f(0x26f)](_0x20ed91))throw _0x20ed91[_0x4c661f(0x358)];const _0x712005=(_0x2d86d5=(_0x219125=_0x20ed91[_0x4c661f(0x59c)][0x0])==null?void 0x0:_0x219125['params'])==null?void 0x0:_0x2d86d5[_0x4c661f(0x3bf)];if(Array[_0x4c661f(0x625)](_0x712005)&&_0x712005[_0x4c661f(0x1b1)]){if(_0x712005[_0x4c661f(0x1b1)]===_0x32cbbb[0x0]['params'][_0x4c661f(0x3bf)][_0x4c661f(0x1b1)]&&_0x712005[_0x4c661f(0x3c8)]((_0x28ed5f,_0x11e718)=>_0x442b7a[_0x4c661f(0x4bc)][_0x4c661f(0x235)](_0x28ed5f['range'],_0x32cbbb[0x0][_0x4c661f(0x285)][_0x4c661f(0x3bf)][_0x11e718]['range'])))return;this[_0x4c661f(0x4de)][_0x4c661f(0x43d)](_0x442b7a[_0x4c661f(0x2e6)])[_0x4c661f(0x2e3)](_0x6c9a2['SetSelectionsOperation']['id'],{'unitId':_0x5e8051,'subUnitId':_0x261423,'selections':_0x712005});}}};_0x5bac6d=_0x2745ba([_0x2631fc(0x0,_0x442b7a['Inject'](_0x442b7a['Injector'])),_0x2631fc(0x1,_0x143a17[_0x20c0a9(0x376)]),_0x2631fc(0x2,_0x442b7a[_0x20c0a9(0x559)])],_0x5bac6d);const _0xdf07b8=_0x442b7a[_0x20c0a9(0x54c)](_0x20c0a9(0x32f));var _0x2c0365=(_0x373726=>(_0x373726[_0x373726[_0x20c0a9(0x578)]=0x0]=_0x20c0a9(0x578),_0x373726[_0x373726[_0x20c0a9(0x405)]=0x1]=_0x20c0a9(0x405),_0x373726))(_0x2c0365||{});const _0x5c62b5=0x7530,_0x3138c0='ACTIVE_UNIT_EVENT_CHANNEL';class _0x4fcb08 extends _0x442b7a[_0x20c0a9(0x4fb)]{constructor(){const _0xd1efab=_0x20c0a9;super(),_0x178698(this,_0xd1efab(0x33b),_0x442b7a[_0xd1efab(0x207)][_0xd1efab(0x322)]()),_0x178698(this,'_selfUnitIDs',new Set()),_0x178698(this,_0xd1efab(0x28f),new Map()),_0x178698(this,'_heartbeatTimer',null),_0x178698(this,_0xd1efab(0x520),new Map()),_0x178698(this,'_unitStatus',new Map()),this[_0xd1efab(0x1c0)]();}[_0x20c0a9(0x4c8)](){const _0x12bc68=_0x20c0a9;super[_0x12bc68(0x4c8)](),this[_0x12bc68(0x520)][_0x12bc68(0x56a)]((_0x47d659,_0x56b127)=>this['_removeClearOtherTimer'](_0x56b127)),this[_0x12bc68(0x298)]&&window[_0x12bc68(0x1db)](this[_0x12bc68(0x298)]);}[_0x20c0a9(0x3c0)](_0x5953a9){const _0x4a8d1e=_0x20c0a9;return this[_0x4a8d1e(0x564)](_0x5953a9)[_0x4a8d1e(0x4f0)](_0x5cd5b5['distinctUntilChanged']());}[_0x20c0a9(0x2bf)](_0x44f52c){const _0x3205ad=_0x20c0a9;this['_selfUnitIDs']['size']===0x0&&this[_0x3205ad(0x2a1)](),this[_0x3205ad(0x239)][_0x3205ad(0x4ef)](_0x44f52c),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x44f52c],'isForwarded':!0x1});}[_0x20c0a9(0x500)](_0x3ae9c5){const _0xe80563=_0x20c0a9;this[_0xe80563(0x239)][_0xe80563(0x41f)](_0x3ae9c5),this[_0xe80563(0x239)][_0xe80563(0x1cc)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0xe80563(0x298)]);}[_0x20c0a9(0x1c0)](){const _0x3aeaa9=_0x20c0a9;this[_0x3aeaa9(0x36b)](_0x442b7a[_0x3aeaa9(0x468)](_0x5cd5b5['fromEvent'](window,_0x3aeaa9(0x4ee))[_0x3aeaa9(0x19e)](_0x3c9e98=>{const _0x4e2656=_0x3aeaa9;if(_0x3c9e98[_0x4e2656(0x23b)]!==_0x3138c0||!_0x3c9e98[_0x4e2656(0x2ac)])return;const _0x8e16d4=JSON[_0x4e2656(0x352)](_0x3c9e98[_0x4e2656(0x2ac)]);this['_handleEvent'](_0x8e16d4);}))),window[_0x3aeaa9(0x513)](_0x3aeaa9(0x3da),()=>this[_0x3aeaa9(0x3f2)]({'type':0x1,'memberID':this[_0x3aeaa9(0x33b)],'unitIDs':Array[_0x3aeaa9(0x334)](this['_selfUnitIDs'])}));}[_0x20c0a9(0x5e6)](_0x55df1c){const _0x3bdb80=_0x20c0a9;switch(_0x55df1c[_0x3bdb80(0x54a)]){case 0x0:this[_0x3bdb80(0x281)](_0x55df1c);break;case 0x1:this[_0x3bdb80(0x5ac)](_0x55df1c);break;case 0x2:this[_0x3bdb80(0x600)](_0x55df1c);break;}}['_handleJoinEvent'](_0x3cbd7b){const _0x18819c=_0x20c0a9,{unitIDs:_0x1b186c,memberID:_0xb76ea5,isForwarded:_0x349f54}=_0x3cbd7b;_0x1b186c[_0x18819c(0x56a)](_0x4072ef=>{const _0x1bb38c=_0x18819c;if(!_0x349f54&&this[_0x1bb38c(0x28f)][_0x1bb38c(0x3fb)](_0x4072ef)&&this[_0x1bb38c(0x564)](_0x4072ef)[_0x1bb38c(0x252)](0x1),!this['_unitOnClients'][_0x1bb38c(0x3fb)](_0x4072ef)||!this['_unitOnClients'][_0x1bb38c(0x43d)](_0x4072ef)[_0x1bb38c(0x3fb)](_0xb76ea5)){const _0x46377e=this['_unitOnClients']['get'](_0x4072ef)||new Set();_0x46377e[_0x1bb38c(0x4ef)](_0xb76ea5),this[_0x1bb38c(0x28f)][_0x1bb38c(0x19a)](_0x4072ef,_0x46377e),this[_0x1bb38c(0x2d1)](_0xb76ea5);}}),_0x349f54||this[_0x18819c(0x3f2)]({'type':0x0,'memberID':this[_0x18819c(0x33b)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x20c0a9(0x2d1)](_0x5db35e){const _0x37865e=_0x20c0a9;this[_0x37865e(0x567)](_0x5db35e);const _0x3b273e=window['setTimeout'](()=>{const _0x330fac=_0x37865e;this['_unitOnClients'][_0x330fac(0x56a)](_0x3e5d74=>{const _0x44e276=_0x330fac;_0x3e5d74[_0x44e276(0x41f)](_0x5db35e);});},_0x5c62b5*0x2);this[_0x37865e(0x520)][_0x37865e(0x19a)](_0x5db35e,_0x3b273e);}['_removeClearOtherTimer'](_0x47bdab){const _0x17695c=_0x20c0a9;if(this[_0x17695c(0x520)]['has'](_0x47bdab)){const _0x5ff49=this['_clearOtherTimers']['get'](_0x47bdab);_0x5ff49&&window[_0x17695c(0x320)](_0x5ff49),this[_0x17695c(0x520)][_0x17695c(0x19a)](_0x47bdab,null);}}[_0x20c0a9(0x5ac)](_0x130164){const _0x1cea0b=_0x20c0a9,{memberID:_0x59c577,unitIDs:_0x20b8bc}=_0x130164;_0x20b8bc[_0x1cea0b(0x56a)](_0x78d12c=>{const _0x1bc94f=_0x1cea0b;var _0x7a332e;const _0x487e30=this[_0x1bc94f(0x28f)][_0x1bc94f(0x43d)](_0x78d12c);_0x487e30&&(_0x487e30[_0x1bc94f(0x41f)](_0x59c577),(_0x7a332e=this[_0x1bc94f(0x564)](_0x78d12c))==null||_0x7a332e[_0x1bc94f(0x252)](_0x487e30[_0x1bc94f(0x1cc)]===0x0?0x0:0x1));}),this[_0x1cea0b(0x567)](_0x59c577);}['_handleHeartbeatEvent'](_0x1e81a9){const _0xf45a79=_0x20c0a9;this[_0xf45a79(0x2d1)](_0x1e81a9[_0xf45a79(0x3eb)]);}[_0x20c0a9(0x3f2)](_0x22380f){const _0x5f55cf=_0x20c0a9;localStorage[_0x5f55cf(0x29e)](_0x3138c0,JSON[_0x5f55cf(0x26b)](_0x22380f));}[_0x20c0a9(0x2a1)](){const _0x319ec7=_0x20c0a9;this[_0x319ec7(0x298)]=window['setInterval'](()=>{const _0x4f2d43=_0x319ec7;this[_0x4f2d43(0x3f2)]({'type':0x2,'memberID':this['_id']});},_0x5c62b5);}[_0x20c0a9(0x564)](_0x4fec1e){const _0x5d9aac=_0x20c0a9;return this[_0x5d9aac(0x36c)][_0x5d9aac(0x3fb)](_0x4fec1e)||this[_0x5d9aac(0x36c)][_0x5d9aac(0x19a)](_0x4fec1e,new _0x5cd5b5[(_0x5d9aac(0x61e))](0x0)),this[_0x5d9aac(0x36c)]['get'](_0x4fec1e);}}var _0x1739d7=Object[_0x20c0a9(0x42e)],_0x534fa7=Object[_0x20c0a9(0x526)],_0x26522f=(_0x1ad521,_0x4f91b8,_0x5e0c2a,_0x4ddc0a)=>{for(var _0x53b89c=_0x4ddc0a>0x1?void 0x0:_0x4ddc0a?_0x534fa7(_0x4f91b8,_0x5e0c2a):_0x4f91b8,_0x4f2b96=_0x1ad521['length']-0x1,_0x38ab80;_0x4f2b96>=0x0;_0x4f2b96--)(_0x38ab80=_0x1ad521[_0x4f2b96])&&(_0x53b89c=(_0x4ddc0a?_0x38ab80(_0x4f91b8,_0x5e0c2a,_0x53b89c):_0x38ab80(_0x53b89c))||_0x53b89c);return _0x4ddc0a&&_0x53b89c&&_0x1739d7(_0x4f91b8,_0x5e0c2a,_0x53b89c),_0x53b89c;},_0x4fd3b3=(_0x253728,_0x596e96)=>(_0x210240,_0x546a63)=>_0x596e96(_0x210240,_0x546a63,_0x253728);let _0x5a70bc=class{constructor(_0x5295b6,_0x4fc2cd,_0x28841b){const _0x4d3039=_0x20c0a9;this[_0x4d3039(0x4de)]=_0x5295b6,this['_transformService']=_0x4fc2cd,this[_0x4d3039(0x35b)]=_0x28841b;}[_0x20c0a9(0x433)](_0x2cc1f6){const _0x7edb50=_0x20c0a9;this[_0x7edb50(0x50d)](_0x2cc1f6);}[_0x20c0a9(0x40d)](_0x14474c){const _0x5a3ca0=_0x20c0a9,{unitID:_0x40cc1c}=_0x14474c,{collaboration:_0x2d01bf}=this[_0x5a3ca0(0x35b)]['getStateCache'](_0x40cc1c);if(_0x2d01bf[_0x5a3ca0(0x1b1)]===0x0)return _0x14474c;let _0x4ced6e=_0x442b7a[_0x5a3ca0(0x207)][_0x5a3ca0(0x329)](_0x14474c[_0x5a3ca0(0x449)][0x0]);for(let _0x497cc0=0x0;_0x497cc0<_0x2d01bf[_0x5a3ca0(0x1b1)];_0x497cc0++){const _0x5800b2={'id':_0x5a3ca0(0x34d),'params':{'unitId':_0x2d01bf[_0x497cc0][_0x5a3ca0(0x5a9)],..._0x2d01bf[_0x497cc0][_0x5a3ca0(0x3cf)]}},_0x56b2d7=this[_0x5a3ca0(0x61d)][_0x5a3ca0(0x5a2)](_0x4ced6e,_0x5800b2,!0x1);if(_0x143a17['isTransformMutationFailure'](_0x56b2d7))throw _0x56b2d7[_0x5a3ca0(0x358)];_0x4ced6e=_0x56b2d7[_0x5a3ca0(0x479)];}return{..._0x442b7a['Tools'][_0x5a3ca0(0x329)](_0x14474c),'mutations':[_0x4ced6e]};}[_0x20c0a9(0x50d)](_0x3cbe02){const _0x5fe06d=_0x20c0a9,{unitID:_0x603f6a}=_0x3cbe02,{history:_0x34db40,collaboration:_0x2c9220}=this[_0x5fe06d(0x35b)][_0x5fe06d(0x510)](_0x603f6a);if(_0x34db40[_0x5fe06d(0x1b1)]===0x0&&_0x2c9220['length']===0x0)return;const _0x126df4=[],_0x1a71f9=[];let _0x137678=_0x442b7a[_0x5fe06d(0x207)][_0x5fe06d(0x329)](_0x3cbe02[_0x5fe06d(0x449)][0x0]),_0x288aec=_0x442b7a['Tools'][_0x5fe06d(0x329)](_0x3cbe02['mutations'][0x0]);for(let _0x1c3d27=_0x34db40[_0x5fe06d(0x1b1)]-0x1;_0x1c3d27>=0x0;_0x1c3d27--){const _0x59008e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x34db40[_0x1c3d27][_0x5fe06d(0x5a9)],..._0x34db40[_0x1c3d27]['undoState']}},_0x74c908={'id':_0x5fe06d(0x34d),'params':{'unitId':_0x34db40[_0x1c3d27][_0x5fe06d(0x5a9)],..._0x34db40[_0x1c3d27]['redoState']}},_0x544352=this[_0x5fe06d(0x61d)][_0x5fe06d(0x5a2)](_0x137678,_0x59008e,!0x1),_0x1e8a99=this[_0x5fe06d(0x61d)]['transformMutation'](_0x288aec,_0x74c908,!0x1);if(_0x143a17[_0x5fe06d(0x45b)](_0x544352))throw _0x544352[_0x5fe06d(0x358)];if(_0x143a17[_0x5fe06d(0x45b)](_0x1e8a99))throw _0x1e8a99['error'];_0x126df4[_0x5fe06d(0x34e)]({..._0x34db40[_0x1c3d27],'undoState':_0x544352[_0x5fe06d(0x59c)][_0x5fe06d(0x285)],'redoState':_0x1e8a99[_0x5fe06d(0x59c)]['params']}),_0x137678=_0x544352[_0x5fe06d(0x479)],_0x288aec=_0x1e8a99[_0x5fe06d(0x479)];}_0x137678=_0x442b7a[_0x5fe06d(0x207)][_0x5fe06d(0x329)](_0x3cbe02['mutations'][0x0]),_0x288aec=_0x442b7a[_0x5fe06d(0x207)]['deepClone'](_0x3cbe02[_0x5fe06d(0x449)][0x0]);for(let _0x2f872b=_0x2c9220[_0x5fe06d(0x1b1)]-0x1;_0x2f872b>=0x0;_0x2f872b--){const _0x250700={'id':_0x5fe06d(0x34d),'params':{'unitId':_0x2c9220[_0x2f872b][_0x5fe06d(0x5a9)],..._0x2c9220[_0x2f872b]['undoState']}},_0x455b40={'id':_0x5fe06d(0x34d),'params':{'unitId':_0x2c9220[_0x2f872b][_0x5fe06d(0x5a9)],..._0x2c9220[_0x2f872b]['redoState']}},_0xcfb0b9=this['_transformService']['transformMutation'](_0x137678,_0x250700,!0x1),_0x21580a=this[_0x5fe06d(0x61d)]['transformMutation'](_0x288aec,_0x455b40,!0x1);if(_0x143a17[_0x5fe06d(0x45b)](_0xcfb0b9))throw _0xcfb0b9[_0x5fe06d(0x358)];if(_0x143a17[_0x5fe06d(0x45b)](_0x21580a))throw _0x21580a[_0x5fe06d(0x358)];_0x1a71f9[_0x5fe06d(0x34e)]({..._0x2c9220[_0x2f872b],'undoState':_0xcfb0b9['m2Prime']['params'],'redoState':_0x21580a[_0x5fe06d(0x59c)][_0x5fe06d(0x285)]}),_0x137678=_0xcfb0b9['m1Prime'],_0x288aec=_0x21580a[_0x5fe06d(0x479)];}this[_0x5fe06d(0x35b)][_0x5fe06d(0x648)](_0x603f6a,{'history':_0x126df4,'collaboration':_0x1a71f9});}};_0x5a70bc=_0x26522f([_0x4fd3b3(0x0,_0x442b7a['Inject'](_0x442b7a[_0x20c0a9(0x414)])),_0x4fd3b3(0x1,_0x143a17['ITransformService']),_0x4fd3b3(0x2,_0x442b7a[_0x20c0a9(0x301)](_0x1927e6[_0x20c0a9(0x4d2)]))],_0x5a70bc);function _0x997b7b(_0x26b817){const _0x4f7e87=_0x20c0a9;let _0xcc501c='';for(const _0x294b65 of _0x26b817){const {startOffset:_0x998068,endOffset:_0x28556c,isActive:_0x8781dd,rangeType:_0x5d7f9a,segmentId:_0x104970,segmentPage:_0x5af12b}=_0x294b65;_0xcc501c[_0x4f7e87(0x1b1)]&&(_0xcc501c+=','),_0xcc501c+=_0x998068+':'+_0x28556c+':'+(_0x8781dd?'1':'0')+':'+_0x5d7f9a+':'+_0x104970+':'+_0x5af12b;}return _0xcc501c;}function _0x413217(_0x34b0ef){const _0xd8f8c9=_0x20c0a9,_0x18c93c=_0x34b0ef[_0xd8f8c9(0x288)](','),_0xf93fd=[];for(const _0x35a4a0 of _0x18c93c){const [_0x189c02,_0x49838b,_0x4a08a3,_0x17f32a,_0x32b6bb,_0x3b0b88]=_0x35a4a0[_0xd8f8c9(0x288)](':');_0xf93fd[_0xd8f8c9(0x2ce)]({'startOffset':Number(_0x189c02),'endOffset':Number(_0x49838b),'collapsed':_0x189c02===_0x49838b,'isActive':_0x4a08a3==='1','rangeType':_0x17f32a===_0x442b7a[_0xd8f8c9(0x584)][_0xd8f8c9(0x1b2)]?_0x442b7a['DOC_RANGE_TYPE'][_0xd8f8c9(0x1b2)]:_0x442b7a[_0xd8f8c9(0x584)][_0xd8f8c9(0x1b5)],'segmentId':typeof _0x32b6bb==_0xd8f8c9(0x410)?String(_0x32b6bb):'','segmentPage':Number(_0x3b0b88!=null?_0x3b0b88:-0x1)});}return _0xf93fd[_0xd8f8c9(0x396)](_0x35da98=>_0x35da98[_0xd8f8c9(0x5df)])||(_0xf93fd[0x0][_0xd8f8c9(0x5df)]=!0x0),_0xf93fd;}class _0x135eb3 extends _0x442b7a[_0x20c0a9(0x1e8)]{constructor(){const _0x3a2a3d=_0x20c0a9;super(...arguments),_0x178698(this,_0x3a2a3d(0x3dc),new _0x5cd5b5['BehaviorSubject'](null)),_0x178698(this,_0x3a2a3d(0x44d),this[_0x3a2a3d(0x3dc)][_0x3a2a3d(0x627)]());}[_0x20c0a9(0x5a3)](_0x447cc6){const _0xfd7ad=_0x20c0a9,{unitID:_0x5c18d2,memberID:_0x1aec56,textRanges:_0xfde703}=_0x447cc6,_0x49ba08=_0x997b7b(_0xfde703);if(_0x49ba08==='')return;const _0xd37fe={'unitID':_0x5c18d2,'memberID':_0x1aec56,'selection':_0x49ba08};this[_0xfd7ad(0x3dc)][_0xfd7ad(0x252)](_0xd37fe);}}var _0x451c17=Object[_0x20c0a9(0x42e)],_0x21d264=Object[_0x20c0a9(0x526)],_0x555a1e=(_0x306709,_0x4d085d,_0x50be64,_0x59b2b6)=>{const _0x7413cb=_0x20c0a9;for(var _0x3c9bb9=_0x59b2b6>0x1?void 0x0:_0x59b2b6?_0x21d264(_0x4d085d,_0x50be64):_0x4d085d,_0x4a2b94=_0x306709[_0x7413cb(0x1b1)]-0x1,_0x1dfe68;_0x4a2b94>=0x0;_0x4a2b94--)(_0x1dfe68=_0x306709[_0x4a2b94])&&(_0x3c9bb9=(_0x59b2b6?_0x1dfe68(_0x4d085d,_0x50be64,_0x3c9bb9):_0x1dfe68(_0x3c9bb9))||_0x3c9bb9);return _0x59b2b6&&_0x3c9bb9&&_0x451c17(_0x4d085d,_0x50be64,_0x3c9bb9),_0x3c9bb9;},_0x410b21=(_0x73fa3c,_0x4bae80)=>(_0x10242f,_0x4bfe1b)=>_0x4bae80(_0x10242f,_0x4bfe1b,_0x73fa3c);let _0x28e5c1=class{constructor(_0xd5fef0,_0x1f7589){const _0x58626e=_0x20c0a9;this[_0x58626e(0x4de)]=_0xd5fef0,this['_transformService']=_0x1f7589;}[_0x20c0a9(0x38d)](_0x2a28d9){const _0x27f4be=_0x20c0a9;var _0x46def9;const _0xcd0f9b=this[_0x27f4be(0x4de)][_0x27f4be(0x43d)](_0x40b533[_0x27f4be(0x641)]),_0x1e776=(_0x46def9=_0xcd0f9b[_0x27f4be(0x5a5)]())!=null?_0x46def9:[];if(_0x1e776['length']===0x0)return;const _0x29af49=[{'id':_0x27f4be(0x34d),'params':{'unitId':_0x2a28d9[_0x27f4be(0x5ce)],'actions':null,'textRanges':_0x1e776}}],_0x134b25=this[_0x27f4be(0x61d)][_0x27f4be(0x608)](_0x2a28d9,_0x29af49);if(!_0x143a17[_0x27f4be(0x26f)](_0x134b25))throw _0x134b25[_0x27f4be(0x358)];const _0x5e21aa=_0x134b25[_0x27f4be(0x59c)][0x0][_0x27f4be(0x285)][_0x27f4be(0x546)];Array[_0x27f4be(0x625)](_0x5e21aa)&&_0x5e21aa[_0x27f4be(0x1b1)]&&_0xcd0f9b['replaceTextRanges'](_0x5e21aa,!0x1);}};_0x28e5c1=_0x555a1e([_0x410b21(0x0,_0x442b7a[_0x20c0a9(0x301)](_0x442b7a[_0x20c0a9(0x414)])),_0x410b21(0x1,_0x143a17[_0x20c0a9(0x376)])],_0x28e5c1);const _0x27a01f=new Set([_0x6c9a2[_0x20c0a9(0x2a5)]['id']]);function _0x42ea84(_0x2d49cc,_0x16f5b8,_0x4f1935,_0x586df8,_0x335004){const _0x2a8477=_0x20c0a9;var _0x40b98b,_0x4d05d7,_0x2f85be,_0x5d18f2;const _0x15fe3c=[];for(const _0x3dba69 of _0x2d49cc)if(_0x27a01f[_0x2a8477(0x3fb)](_0x3dba69['id'])){if(_0x15fe3c[_0x2a8477(0x1b1)]>0x0)break;_0x15fe3c['push'](_0x3dba69);break;}else _0x15fe3c['push'](_0x3dba69);const _0x458606=(_0x4d05d7=(_0x40b98b=_0x335004['getCurrentUser']())==null?void 0x0:_0x40b98b['userID'])!=null?_0x4d05d7:_0x2a8477(0x5a8),_0x27a530=(_0x5d18f2=(_0x2f85be=_0x335004['getCurrentUser']())==null?void 0x0:_0x2f85be[_0x2a8477(0x3eb)])!=null?_0x5d18f2:'unknown';return{'changeset':{'unitID':_0x16f5b8,'type':_0x143a17[_0x2a8477(0x1c6)](_0x4f1935['getUnitType'](_0x16f5b8)),'baseRev':_0x586df8[_0x2a8477(0x44c)](_0x16f5b8),'revision':0x0,'userID':_0x458606,'memberID':_0x27a530,'mutations':_0x15fe3c},'pendingMutations':_0x2d49cc[_0x2a8477(0x408)](_0x15fe3c[_0x2a8477(0x1b1)])};}function _0x1d19ad(_0x11e218,_0x5c714f,_0x3f8f35,_0x459178,_0x21f0cc){const _0x711a6b=_0x20c0a9;var _0x32dcab,_0x1986c6,_0x51e620,_0x428dcb;const _0x5216f0=[_0x11e218[_0x711a6b(0x347)]((_0x3137dc,_0x5494e2)=>{const _0x539feb=_0x711a6b;var _0x3d8588;const {id:_0x11e545}=_0x3137dc,{id:_0x504022,type:_0x5849b0}=_0x5494e2,_0xbf72e6=(_0x3d8588=_0x3137dc[_0x539feb(0x285)])!=null?_0x3d8588:{'actions':null},_0x47fcfb=_0x5494e2[_0x539feb(0x285)];if(_0x11e545&&_0x11e545!==_0x504022)throw new Error(_0x539feb(0x5f4)+_0x11e545+_0x539feb(0x1e2)+_0x504022+'.');return{..._0x3137dc,'id':_0x504022,'type':_0x5849b0,'params':{'unitId':_0x47fcfb['unitId'],'textRanges':_0x47fcfb[_0x539feb(0x546)],'actions':_0x442b7a[_0x539feb(0x19d)]['compose'](_0xbf72e6[_0x539feb(0x652)],_0x47fcfb[_0x539feb(0x652)])}};},{})],_0x6be2b1=(_0x1986c6=(_0x32dcab=_0x21f0cc[_0x711a6b(0x39b)]())==null?void 0x0:_0x32dcab[_0x711a6b(0x341)])!=null?_0x1986c6:_0x711a6b(0x5a8),_0x364ff6=(_0x428dcb=(_0x51e620=_0x21f0cc[_0x711a6b(0x39b)]())==null?void 0x0:_0x51e620[_0x711a6b(0x3eb)])!=null?_0x428dcb:_0x711a6b(0x5a8);return{'changeset':{'unitID':_0x5c714f,'type':_0x143a17[_0x711a6b(0x1c6)](_0x3f8f35[_0x711a6b(0x3f5)](_0x5c714f)),'baseRev':_0x459178[_0x711a6b(0x44c)](_0x5c714f),'revision':0x0,'userID':_0x6be2b1,'memberID':_0x364ff6,'mutations':_0x5216f0},'pendingMutations':[]};}function _0x4f1f9d(_0x392202,_0x46f309){const _0x44f6f6=_0x20c0a9,_0x194fc2=new _0x5cd5b5[(_0x44f6f6(0x599))](0x1);return setTimeout(()=>_0x194fc2[_0x44f6f6(0x252)](_0x46f309),_0x392202),_0x194fc2['asObservable']()[_0x44f6f6(0x4f0)](_0x5cd5b5['take'](0x1));}const _0x49562c={'id':_0x6c9a2[_0x20c0a9(0x4ec)]['id'],'type':_0x442b7a[_0x20c0a9(0x1fe)][_0x20c0a9(0x64d)],'params':{}};var _0x3a71ec=Object[_0x20c0a9(0x42e)],_0x1471c1=Object[_0x20c0a9(0x526)],_0x4e8783=(_0x44e728,_0xb7c201,_0x23dc56,_0x2baa02)=>{const _0x15c117=_0x20c0a9;for(var _0x2ab079=_0x2baa02>0x1?void 0x0:_0x2baa02?_0x1471c1(_0xb7c201,_0x23dc56):_0xb7c201,_0x5c7e15=_0x44e728[_0x15c117(0x1b1)]-0x1,_0x4468f2;_0x5c7e15>=0x0;_0x5c7e15--)(_0x4468f2=_0x44e728[_0x5c7e15])&&(_0x2ab079=(_0x2baa02?_0x4468f2(_0xb7c201,_0x23dc56,_0x2ab079):_0x4468f2(_0x2ab079))||_0x2ab079);return _0x2baa02&&_0x2ab079&&_0x3a71ec(_0xb7c201,_0x23dc56,_0x2ab079),_0x2ab079;},_0x4b986e=(_0x2f14eb,_0x3847ab)=>(_0x2bcffc,_0x18f84f)=>_0x3847ab(_0x2bcffc,_0x18f84f,_0x2f14eb),_0x446f55=(_0x45445b=>(_0x45445b[_0x20c0a9(0x624)]=_0x20c0a9(0x4da),_0x45445b[_0x20c0a9(0x18f)]=_0x20c0a9(0x364),_0x45445b[_0x20c0a9(0x4df)]=_0x20c0a9(0x3ad),_0x45445b[_0x20c0a9(0x191)]=_0x20c0a9(0x61c),_0x45445b[_0x20c0a9(0x370)]=_0x20c0a9(0x274),_0x45445b['FETCH_MISS']='fetch_missing',_0x45445b[_0x20c0a9(0x3d0)]=_0x20c0a9(0x5db),_0x45445b[_0x20c0a9(0x41a)]='offline',_0x45445b))(_0x446f55||{});const _0x125eac=0xea60;class _0x48f814{constructor(_0x3f3ac5,_0x56bebe,_0x207e58,_0x28ca91,_0x3f202f,_0x45bffc,_0x2b4393,_0x49f52f,_0x3bf64c){const _0x373175=_0x20c0a9;_0x178698(this,_0x373175(0x2be),null),_0x178698(this,'_pendingMutations',[]),(this['unitID']=_0x3f3ac5,this[_0x373175(0x54a)]=_0x56bebe,this[_0x373175(0x481)]=_0x3f202f,this['_commandService']=_0x45bffc,this[_0x373175(0x5b8)]=_0x2b4393,this[_0x373175(0x4b4)]=_0x49f52f,this[_0x373175(0x560)]=_0x3bf64c,this[_0x373175(0x2be)]=_0x207e58,this['_pendingMutations']=_0x28ca91);}['_checkMissing'](_0x22d8ef){const _0xda7c49=_0x20c0a9,_0x4895d9=this[_0xda7c49(0x4b4)][_0xda7c49(0x44c)](this[_0xda7c49(0x5ce)]);return _0x22d8ef['revision']>_0x4895d9+0x1?(this[_0xda7c49(0x481)][_0xda7c49(0x505)]({'from':_0x4895d9,'to':_0x22d8ef[_0xda7c49(0x4b1)]-0x1}),!0x0):!0x1;}[_0x20c0a9(0x552)](_0x3b44d0){const _0x209902=_0x20c0a9;this[_0x209902(0x5b8)]['transformUndoRedo'](this[_0x209902(0x5ce)],_0x3b44d0);}[_0x20c0a9(0x33f)](_0x3e8bba){const _0x19a1a5=_0x20c0a9;var _0x3f6b87,_0x475224;(_0x475224=(_0x3f6b87=this['_handler'])[_0x19a1a5(0x2e9)])==null||_0x475224[_0x19a1a5(0x206)](_0x3f6b87,_0x3e8bba);}[_0x20c0a9(0x454)](_0x3392a0){const _0x2314ea=_0x20c0a9;var _0x41736b,_0x1e16f2;return(_0x1e16f2=(_0x41736b=this[_0x2314ea(0x481)])[_0x2314ea(0x1b8)])==null?void 0x0:_0x1e16f2['call'](_0x41736b,_0x3392a0);}[_0x20c0a9(0x4bf)](_0x4c4060){const _0x5c6ecb=_0x20c0a9;var _0x3a75ac,_0x4e9c79;return(_0x4e9c79=(_0x3a75ac=this[_0x5c6ecb(0x481)])[_0x5c6ecb(0x653)])==null?void 0x0:_0x4e9c79[_0x5c6ecb(0x206)](_0x3a75ac,_0x4c4060);}[_0x20c0a9(0x385)](_0x837f50){const _0xc13978=_0x20c0a9;var _0xa7c5f7,_0x3bb7b0,_0x3deda4;return(_0x3deda4=(_0x3bb7b0=(_0xa7c5f7=this['_handler'])[_0xc13978(0x4a4)])==null?void 0x0:_0x3bb7b0[_0xc13978(0x206)](_0xa7c5f7,_0x837f50))!=null?_0x3deda4:_0x837f50;}['_transformRemoteChangesetByStateCache'](_0x533dba){const _0x5d21ab=_0x20c0a9;var _0xb3e00f,_0x88fbf8,_0x324d15;return(_0x324d15=(_0x88fbf8=(_0xb3e00f=this[_0x5d21ab(0x481)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x88fbf8[_0x5d21ab(0x206)](_0xb3e00f,_0x533dba))!=null?_0x324d15:_0x533dba;}['_syncEditingCollabCursor'](_0x4c535b){const _0x29c9c7=_0x20c0a9;var _0x23b617,_0x295174;if(this['type']===_0x18e727[_0x29c9c7(0x1b7)]){const {unitID:_0x506dd9,mutations:_0x4fd386,memberID:_0x308ee8}=_0x4c535b,_0x14f38e=_0x4fd386[0x0][_0x29c9c7(0x285)][_0x29c9c7(0x546)];Array['isArray'](_0x14f38e)&&_0x14f38e[_0x29c9c7(0x1b1)]>0x0&&((_0x295174=(_0x23b617=this[_0x29c9c7(0x481)])['onSyncEditingCollabCursor'])==null||_0x295174['call'](_0x23b617,{'unitID':_0x506dd9,'memberID':_0x308ee8,'textRanges':_0x14f38e}));}}[_0x20c0a9(0x22f)](){const _0x5abe4d=_0x20c0a9;this[_0x5abe4d(0x560)][_0x5abe4d(0x280)](this['unitID'],this[_0x5abe4d(0x54a)],this[_0x5abe4d(0x2be)],this[_0x5abe4d(0x1e4)]);}[_0x20c0a9(0x544)](){const _0x2eb0da=_0x20c0a9;return this[_0x2eb0da(0x4b4)]['getCurrentRevOfUnit'](this[_0x2eb0da(0x5ce)]);}[_0x20c0a9(0x5e9)](){const _0x19285d=_0x20c0a9;this[_0x19285d(0x4b4)][_0x19285d(0x46a)](this[_0x19285d(0x5ce)]);}[_0x20c0a9(0x32e)](_0x4a7f2b){const _0x5f2c8b=_0x20c0a9;var _0xf95d3d;let _0x260260=this[_0x5f2c8b(0x385)](_0x4a7f2b);_0x260260=this[_0x5f2c8b(0x4bb)](_0x260260);const _0x1eaccb=_0x442b7a[_0x5f2c8b(0x5fe)](_0x260260[_0x5f2c8b(0x449)],this[_0x5f2c8b(0x452)],{'fromCollab':!0x0});if(!_0x1eaccb[_0x5f2c8b(0x613)])throw _0x1eaccb['error']instanceof Error?_0x1eaccb[_0x5f2c8b(0x358)]:new Error((_0xf95d3d=_0x1eaccb['error'])!=null?_0xf95d3d:_0x5f2c8b(0x25e));this[_0x5f2c8b(0x454)](_0x260260),this['_transformStateCache'](_0x260260),this[_0x5f2c8b(0x552)](_0x4a7f2b),this['_transformSelections'](_0x260260),this['_syncEditingCollabCursor'](_0x260260),this[_0x5f2c8b(0x5e9)]();}}let _0x3ba370=class extends _0x48f814{constructor(_0xd5e630,_0x380cca,_0x5be075,_0x515419,_0x1e2cb5,_0x1fe792,_0x55f62d,_0x2c7507,_0x52345c,_0x5bf252){const _0x52285b=_0x20c0a9;super(_0xd5e630,_0x380cca,null,[],_0x5be075,_0x2c7507,_0x55f62d,_0x515419,_0x1e2cb5),_0x178698(this,_0x52285b(0x554),_0x52285b(0x364)),(this['_injector']=_0x1fe792,this[_0x52285b(0x24b)]=_0x52345c,this['_transformService']=_0x5bf252);}[_0x20c0a9(0x616)](_0x4819e0){const _0x2ffaa4=_0x20c0a9,_0x3e1626=this['_injector'][_0x2ffaa4(0x31c)](_0x5b3280,this[_0x2ffaa4(0x5ce)],this['type'],[_0x4819e0],this[_0x2ffaa4(0x481)]);return _0x3e1626[_0x2ffaa4(0x3ce)](),_0x3e1626[_0x2ffaa4(0x22f)](),_0x3e1626;}[_0x20c0a9(0x3f6)](_0x11cb4b){const _0x5f1115=_0x20c0a9;if(this['_checkMissing'](_0x11cb4b))return this[_0x5f1115(0x4de)][_0x5f1115(0x31c)](_0x300e85,this['unitID'],this['type'],null,[],null,[_0x11cb4b],this[_0x5f1115(0x481)]);try{const _0x3bae01=this[_0x5f1115(0x61d)][_0x5f1115(0x608)](_0x11cb4b,[_0x49562c]);if(_0x143a17[_0x5f1115(0x26f)](_0x3bae01)){const {c1Prime:_0x2f6b4e}=_0x3bae01;return this['_executeRemoteChangeset'](_0x2f6b4e),this;}throw _0x3bae01['error'];}catch(_0x1d94a2){return this[_0x5f1115(0x24b)][_0x5f1115(0x358)](_0x1d94a2),this[_0x5f1115(0x232)](!0x1);}}[_0x20c0a9(0x232)](_0x33d556){const _0x289fe9=_0x20c0a9;return this[_0x289fe9(0x4de)]['createInstance'](_0x316bf0,this[_0x289fe9(0x5ce)],this[_0x289fe9(0x54a)],null,[],this[_0x289fe9(0x481)],_0x33d556);}[_0x20c0a9(0x633)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x20c0a9(0x386)](){const _0x58d52=_0x20c0a9;throw new Error(_0x58d52(0x51e));}[_0x20c0a9(0x34b)](){return this;}[_0x20c0a9(0x531)](){const _0x1a3ae6=_0x20c0a9;return this[_0x1a3ae6(0x4de)]['createInstance'](_0x3a575e,this['unitID'],this[_0x1a3ae6(0x54a)],null,[],this[_0x1a3ae6(0x481)]);}[_0x20c0a9(0x404)](){return this;}[_0x20c0a9(0x306)](){const _0x240dcb=_0x20c0a9;throw new Error(_0x240dcb(0x204));}[_0x20c0a9(0x471)](){const _0x33d29e=_0x20c0a9,_0x1e9e59=this[_0x33d29e(0x4b4)][_0x33d29e(0x44c)](this[_0x33d29e(0x5ce)]);return this[_0x33d29e(0x481)][_0x33d29e(0x505)]({'from':_0x1e9e59,'to':0x0}),this[_0x33d29e(0x4de)][_0x33d29e(0x31c)](_0x300e85,this['unitID'],this[_0x33d29e(0x54a)],null,[],null,[],this[_0x33d29e(0x481)]);}};_0x3ba370=_0x4e8783([_0x4b986e(0x3,_0x442b7a[_0x20c0a9(0x301)](_0x143a17['RevisionService'])),_0x4b986e(0x4,_0x442b7a['Inject'](_0x464166[_0x20c0a9(0x2a7)])),_0x4b986e(0x5,_0x442b7a[_0x20c0a9(0x301)](_0x442b7a['Injector'])),_0x4b986e(0x6,_0x442b7a[_0x20c0a9(0x4a7)]),_0x4b986e(0x7,_0x442b7a[_0x20c0a9(0x2e6)]),_0x4b986e(0x8,_0x442b7a[_0x20c0a9(0x188)]),_0x4b986e(0x9,_0x143a17[_0x20c0a9(0x376)])],_0x3ba370);let _0x5b3280=class extends _0x48f814{constructor(_0x4b3852,_0x15b306,_0x4c24b2,_0x1fd085,_0x5dd4e7,_0x15f1ed,_0x419c88,_0x6c2db4,_0x46d2b9,_0x1b2582,_0x4489f6,_0x15b1cc,_0x6e02bb,_0x5257ec){const _0x349a44=_0x20c0a9;super(_0x4b3852,_0x15b306,null,_0x4c24b2,_0x1fd085,_0x1b2582,_0x5257ec,_0x15f1ed,_0x419c88),_0x178698(this,_0x349a44(0x554),'pending'),_0x178698(this,_0x349a44(0x3bb),null),_0x178698(this,'_sendingTimer',null),(this['_injector']=_0x5dd4e7,this['_memberService']=_0x6c2db4,this[_0x349a44(0x24b)]=_0x46d2b9,this[_0x349a44(0x293)]=_0x4489f6,this[_0x349a44(0x61d)]=_0x15b1cc,this['_univerInstanceService']=_0x6e02bb);}[_0x20c0a9(0x616)](_0x4c12bc){const _0x559ddf=_0x20c0a9;return this['_pendingMutations']['push'](_0x4c12bc),this[_0x559ddf(0x22f)](),this;}['onRemoteChangeset'](_0x14277e){const _0x69d1a3=_0x20c0a9;if(this['_checkMissing'](_0x14277e))return this['_clearScheduledTask'](),this[_0x69d1a3(0x4de)][_0x69d1a3(0x31c)](_0x300e85,this[_0x69d1a3(0x5ce)],this[_0x69d1a3(0x54a)],null,this[_0x69d1a3(0x1e4)],null,[_0x14277e],this['_handler']);try{const _0x19c6e7=this[_0x69d1a3(0x61d)]['transformMutationsWithChangeset'](_0x14277e,this[_0x69d1a3(0x1e4)]);if(_0x143a17[_0x69d1a3(0x26f)](_0x19c6e7)){const {c1Prime:_0x2c6c57,m2Prime:_0x353654}=_0x19c6e7;this['_executeRemoteChangeset'](_0x2c6c57);const _0x5845bc=this[_0x69d1a3(0x4de)][_0x69d1a3(0x31c)](_0x5b3280,this[_0x69d1a3(0x5ce)],this[_0x69d1a3(0x54a)],_0x353654,this[_0x69d1a3(0x481)]);return this[_0x69d1a3(0x3ee)](),_0x5845bc[_0x69d1a3(0x3ce)](this['_scheduleTimestamp']?Math['max'](0x0,new Date()[_0x69d1a3(0x3c3)]()-this[_0x69d1a3(0x3bb)]):this[_0x69d1a3(0x1a5)]()),_0x5845bc;}throw _0x19c6e7[_0x69d1a3(0x358)];}catch(_0x20e258){return this['_logService'][_0x69d1a3(0x358)](_0x20e258),this[_0x69d1a3(0x232)](!0x1);}}[_0x20c0a9(0x633)](){const _0x2267f5=_0x20c0a9;throw new Error(_0x2267f5(0x3e1));}[_0x20c0a9(0x386)](){const _0x4e21d7=_0x20c0a9;throw new Error(_0x4e21d7(0x521));}[_0x20c0a9(0x34b)](){return this;}[_0x20c0a9(0x531)](){const _0x46ac76=_0x20c0a9;return this[_0x46ac76(0x3ee)](),this['_injector']['createInstance'](_0x3a575e,this[_0x46ac76(0x5ce)],this['type'],null,this[_0x46ac76(0x1e4)],this['_handler']);}['toggleOnline'](){return this;}[_0x20c0a9(0x3ce)](_0x79d1fd){const _0xd71b99=_0x20c0a9,_0x1dfc7a=_0x79d1fd!=null?_0x79d1fd:this['_getSendChangesetTimeout']();this[_0xd71b99(0x3bb)]=new Date()[_0xd71b99(0x3c3)](),this[_0xd71b99(0x1fa)]=window[_0xd71b99(0x190)](()=>{const _0x3ec5cd=_0xd71b99;this[_0x3ec5cd(0x3ee)]();let _0x391e59=null;switch(this[_0x3ec5cd(0x54a)]){case _0x18e727[_0x3ec5cd(0x5ed)]:{_0x391e59=_0x42ea84(this[_0x3ec5cd(0x1e4)],this['unitID'],this['_univerInstanceService'],this[_0x3ec5cd(0x4b4)],this[_0x3ec5cd(0x363)]);break;}case _0x18e727[_0x3ec5cd(0x1b7)]:{this[_0x3ec5cd(0x1e4)][_0x3ec5cd(0x3c8)](_0x47b019=>_0x47b019['id']===_0x40b533[_0x3ec5cd(0x1a9)]['id'])?_0x391e59=_0x1d19ad(this['_pendingMutations'],this[_0x3ec5cd(0x5ce)],this[_0x3ec5cd(0x196)],this[_0x3ec5cd(0x4b4)],this[_0x3ec5cd(0x363)]):_0x391e59=_0x42ea84(this['_pendingMutations'],this[_0x3ec5cd(0x5ce)],this['_univerInstanceService'],this['_revisionService'],this[_0x3ec5cd(0x363)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x3ec5cd(0x54a)]+_0x3ec5cd(0x4b8));}const {changeset:_0x597155,pendingMutations:_0x472919}=_0x391e59;this[_0x3ec5cd(0x481)]['onSendChangeset'](_0x597155);const _0x3bfea1=_0x472919[_0x3ec5cd(0x1b1)]?this['_injector'][_0x3ec5cd(0x31c)](_0x248ddb,this[_0x3ec5cd(0x5ce)],this[_0x3ec5cd(0x54a)],_0x597155,_0x472919,this['_handler'],void 0x0):this['_injector'][_0x3ec5cd(0x31c)](_0x1d5c2b,this[_0x3ec5cd(0x5ce)],this[_0x3ec5cd(0x54a)],_0x597155,this[_0x3ec5cd(0x481)]);_0x3bfea1[_0x3ec5cd(0x22f)](),this[_0x3ec5cd(0x481)][_0x3ec5cd(0x441)](this,_0x3bfea1);},_0x1dfc7a);}['_getSendChangesetTimeout'](){const _0xdb54ec=_0x20c0a9;var _0x11ecf5;const _0x6e0ea2=this[_0xdb54ec(0x293)][_0xdb54ec(0x602)](_0x38eaa5);return(_0x11ecf5=_0x6e0ea2==null?void 0x0:_0x6e0ea2['sendChangesetTimeout'])!=null?_0x11ecf5:0x7d0;}[_0x20c0a9(0x306)](){const _0x2551c6=_0x20c0a9;throw new Error(_0x2551c6(0x5cc));}[_0x20c0a9(0x3ee)](){const _0x3f70e5=_0x20c0a9;this[_0x3f70e5(0x1fa)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x3f70e5(0x1fa)]=null);}[_0x20c0a9(0x232)](_0x171007){const _0x4f442e=_0x20c0a9;return this[_0x4f442e(0x3ee)](),this[_0x4f442e(0x4de)][_0x4f442e(0x31c)](_0x316bf0,this[_0x4f442e(0x5ce)],this[_0x4f442e(0x54a)],null,this[_0x4f442e(0x1e4)],this[_0x4f442e(0x481)],_0x171007);}};_0x5b3280=_0x4e8783([_0x4b986e(0x4,_0x442b7a[_0x20c0a9(0x301)](_0x442b7a[_0x20c0a9(0x414)])),_0x4b986e(0x5,_0x442b7a[_0x20c0a9(0x301)](_0x143a17[_0x20c0a9(0x218)])),_0x4b986e(0x6,_0x442b7a['Inject'](_0x464166['LocalCacheService'])),_0x4b986e(0x7,_0x442b7a[_0x20c0a9(0x301)](_0x464166['MemberService'])),_0x4b986e(0x8,_0x442b7a['ILogService']),_0x4b986e(0x9,_0x442b7a[_0x20c0a9(0x2e6)]),_0x4b986e(0xa,_0x442b7a[_0x20c0a9(0x54d)]),_0x4b986e(0xb,_0x143a17[_0x20c0a9(0x376)]),_0x4b986e(0xc,_0x442b7a[_0x20c0a9(0x559)]),_0x4b986e(0xd,_0x442b7a[_0x20c0a9(0x4a7)])],_0x5b3280);let _0x1d5c2b=class extends _0x48f814{constructor(_0x3f0a62,_0x3c8b79,_0xf3e82c,_0x36c042,_0x50c181,_0x5077d1,_0x234952,_0x134d63,_0x28788b,_0x583095,_0x58d3f3){const _0x3db6ff=_0x20c0a9;super(_0x3f0a62,_0x3c8b79,_0xf3e82c,[],_0x36c042,_0x134d63,_0x58d3f3,_0x5077d1,_0x234952),_0x178698(this,'status',_0x3db6ff(0x61c)),_0x178698(this,_0x3db6ff(0x51b),0x0),_0x178698(this,'_resendTimer'),_0x178698(this,'_sender'),(this['_injector']=_0x50c181,this['_logService']=_0x28788b,this[_0x3db6ff(0x61d)]=_0x583095);}[_0x20c0a9(0x616)](_0x58f7c9){const _0x13c5b6=_0x20c0a9;this[_0x13c5b6(0x3ee)]();const _0x4d4cea=this[_0x13c5b6(0x4de)]['createInstance'](_0x248ddb,this['unitID'],this[_0x13c5b6(0x54a)],this['_awaitingChangeset'],[_0x58f7c9],this['_handler'],this[_0x13c5b6(0x251)]);return _0x4d4cea[_0x13c5b6(0x22f)](),_0x4d4cea;}[_0x20c0a9(0x3f6)](_0x274680){const _0x3e2e8e=_0x20c0a9;if(this['_checkMissing'](_0x274680))return this['_clearScheduledTask'](),this[_0x3e2e8e(0x4de)][_0x3e2e8e(0x31c)](_0x300e85,this['unitID'],this[_0x3e2e8e(0x54a)],this[_0x3e2e8e(0x2be)],[],null,[_0x274680],this[_0x3e2e8e(0x481)]);try{const _0x2ebec2=this[_0x3e2e8e(0x61d)][_0x3e2e8e(0x4f9)]([_0x274680],[this[_0x3e2e8e(0x2be)]],!0x1);if(_0x143a17['isTransformChangesetsSuccess'](_0x2ebec2)){const {c1Prime:_0x40a321,c2Prime:_0x52dca3}=_0x2ebec2;this['_executeRemoteChangeset'](_0x40a321[0x0]),_0x52dca3[0x0][_0x3e2e8e(0x2d7)]=this[_0x3e2e8e(0x544)](),this['_clearScheduledTask']();const _0x17bdee=this[_0x3e2e8e(0x4de)][_0x3e2e8e(0x31c)](_0x1d5c2b,this[_0x3e2e8e(0x5ce)],this[_0x3e2e8e(0x54a)],_0x52dca3[0x0],this['_handler']);return _0x17bdee[_0x3e2e8e(0x22f)](),_0x17bdee;}return this['_onConflict'](!0x1);}catch(_0x1c2226){return this['_logService'][_0x3e2e8e(0x358)](_0x1c2226),this[_0x3e2e8e(0x232)](!0x1);}}[_0x20c0a9(0x633)](_0x5b4a7f){const _0x553afc=_0x20c0a9;this[_0x553afc(0x3ee)]();const _0x107843=this[_0x553afc(0x4b4)]['getCurrentRevOfUnit'](this[_0x553afc(0x5ce)]);if(_0x5b4a7f['revision']<_0x107843-0x1)return this;if(this[_0x553afc(0x563)](_0x5b4a7f))return this[_0x553afc(0x4de)][_0x553afc(0x31c)](_0x300e85,this[_0x553afc(0x5ce)],this['type'],null,[],this[_0x553afc(0x2be)],[],this[_0x553afc(0x481)]);this[_0x553afc(0x5e9)]();const _0x6718c7=this['_injector'][_0x553afc(0x31c)](_0x3ba370,this[_0x553afc(0x5ce)],this[_0x553afc(0x54a)],this[_0x553afc(0x481)]);return _0x6718c7['_updateLocalCache'](),_0x6718c7;}[_0x20c0a9(0x386)](_0x5d7bfb){const _0x3d1021=_0x20c0a9;return this[_0x3d1021(0x232)](!!(_0x5d7bfb!=null&&_0x5d7bfb[_0x3d1021(0x35c)]));}[_0x20c0a9(0x34b)](_0x28ee38){const _0x347087=_0x20c0a9;return this[_0x347087(0x51b)]>_0x125eac?this[_0x347087(0x531)]():(this['_resendTimer']=_0x4f1f9d(this['_resendTimeout'],{'timeout':this[_0x347087(0x51b)],'reqId':_0x28ee38[_0x347087(0x1d7)]}),this['_sender']=this[_0x347087(0x251)][_0x347087(0x19e)](({reqId:_0x2ed0ab,timeout:_0x38a1ca})=>{const _0x923f59=_0x347087;this[_0x923f59(0x545)](_0x2ed0ab,_0x38a1ca);}),this);}['toggleOffline'](){const _0x301465=_0x20c0a9;return this[_0x301465(0x3ee)](),this[_0x301465(0x4de)][_0x301465(0x31c)](_0x3a575e,this[_0x301465(0x5ce)],this[_0x301465(0x54a)],this[_0x301465(0x2be)],[],this[_0x301465(0x481)]);}[_0x20c0a9(0x404)](){return this;}[_0x20c0a9(0x306)](){const _0x2d529f=_0x20c0a9;this[_0x2d529f(0x481)][_0x2d529f(0x2f3)](this[_0x2d529f(0x2be)]);}[_0x20c0a9(0x232)](_0xdf63c6){const _0x335574=_0x20c0a9;return this[_0x335574(0x3ee)](),this[_0x335574(0x4de)]['createInstance'](_0x316bf0,this[_0x335574(0x5ce)],this[_0x335574(0x54a)],this[_0x335574(0x2be)],[],this[_0x335574(0x481)],_0xdf63c6);}['_resendWithTimeout'](_0x4587fa,_0x11f0dc){const _0x174307=_0x20c0a9;var _0x2b2d26;_0x4587fa===((_0x2b2d26=this[_0x174307(0x2be)])==null?void 0x0:_0x2b2d26[_0x174307(0x1d7)])&&(this[_0x174307(0x306)](),this[_0x174307(0x51b)]=_0x11f0dc===0x0?0x3e8:_0x11f0dc*0x2);}[_0x20c0a9(0x3ee)](){const _0x21d3de=_0x20c0a9;var _0x290f2;(_0x290f2=this['_sender'])==null||_0x290f2[_0x21d3de(0x36d)](),this[_0x21d3de(0x51b)]=0x0;}};_0x1d5c2b=_0x4e8783([_0x4b986e(0x4,_0x442b7a['Inject'](_0x442b7a[_0x20c0a9(0x414)])),_0x4b986e(0x5,_0x442b7a[_0x20c0a9(0x301)](_0x143a17['RevisionService'])),_0x4b986e(0x6,_0x442b7a[_0x20c0a9(0x301)](_0x464166['LocalCacheService'])),_0x4b986e(0x7,_0x442b7a[_0x20c0a9(0x2e6)]),_0x4b986e(0x8,_0x442b7a['ILogService']),_0x4b986e(0x9,_0x143a17[_0x20c0a9(0x376)]),_0x4b986e(0xa,_0x442b7a['IUndoRedoService'])],_0x1d5c2b);let _0x248ddb=class extends _0x48f814{constructor(_0x2862eb,_0x1d1c8f,_0x26aa58,_0x5c13a5,_0x171ff1,_0x1e80b7,_0x10086a,_0x24aad4,_0x319c8c,_0x15d49b,_0x41c9bd,_0x4ac809,_0x5e3f0d){const _0x187292=_0x20c0a9;super(_0x2862eb,_0x1d1c8f,_0x26aa58,_0x5c13a5,_0x171ff1,_0x15d49b,_0x5e3f0d,_0x24aad4,_0x319c8c),_0x178698(this,_0x187292(0x554),_0x187292(0x274)),_0x178698(this,'_resendTimeout',0x0),_0x178698(this,_0x187292(0x251)),_0x178698(this,'_sender'),(this[_0x187292(0x4de)]=_0x10086a,this[_0x187292(0x24b)]=_0x41c9bd,this[_0x187292(0x61d)]=_0x4ac809,_0x1e80b7&&(this[_0x187292(0x251)]=_0x1e80b7,this[_0x187292(0x444)]=this[_0x187292(0x251)]['subscribe'](({reqId:_0x11f617,timeout:_0x295629})=>{const _0x335b21=_0x187292;this[_0x335b21(0x545)](_0x11f617,_0x295629);})));}[_0x20c0a9(0x616)](_0x2bb9ce){const _0x3e289c=_0x20c0a9;return this[_0x3e289c(0x1e4)][_0x3e289c(0x2ce)](_0x2bb9ce),this;}[_0x20c0a9(0x3f6)](_0x163e7e){const _0x44bbfb=_0x20c0a9;if(this[_0x44bbfb(0x563)](_0x163e7e))return this['_clearScheduledTask'](),this[_0x44bbfb(0x4de)][_0x44bbfb(0x31c)](_0x300e85,this['unitID'],this[_0x44bbfb(0x54a)],this['_awaitingChangeset'],this[_0x44bbfb(0x1e4)],null,[_0x163e7e],this[_0x44bbfb(0x481)]);try{const _0x1a328a=this[_0x44bbfb(0x61d)][_0x44bbfb(0x4f9)]([_0x163e7e],[this[_0x44bbfb(0x2be)]],!0x1);if(_0x143a17[_0x44bbfb(0x249)](_0x1a328a)){const {c1Prime:_0x30243d,c2Prime:_0x460671}=_0x1a328a,_0x4e5429=this[_0x44bbfb(0x61d)]['transformMutationsWithChangeset'](_0x30243d[0x0],this[_0x44bbfb(0x1e4)]);if(_0x143a17[_0x44bbfb(0x26f)](_0x4e5429)){const {c1Prime:_0x4ad7bc,m2Prime:_0x4f709e}=_0x4e5429;return this[_0x44bbfb(0x32e)](_0x4ad7bc),_0x460671[0x0][_0x44bbfb(0x2d7)]=this[_0x44bbfb(0x544)](),this[_0x44bbfb(0x3ee)](),this[_0x44bbfb(0x4de)][_0x44bbfb(0x31c)](_0x248ddb,this['unitID'],this[_0x44bbfb(0x54a)],_0x460671[0x0],_0x4f709e,this['_handler'],void 0x0);}throw _0x4e5429[_0x44bbfb(0x358)];}throw _0x1a328a[_0x44bbfb(0x358)];}catch(_0x12e761){return this['_logService'][_0x44bbfb(0x358)](_0x12e761),this[_0x44bbfb(0x232)](!0x1);}}[_0x20c0a9(0x633)](_0x1f3d41){const _0x42c4df=_0x20c0a9;if(this[_0x42c4df(0x3ee)](),this[_0x42c4df(0x563)](_0x1f3d41))return this['_injector'][_0x42c4df(0x31c)](_0x300e85,this[_0x42c4df(0x5ce)],this[_0x42c4df(0x54a)],null,this[_0x42c4df(0x1e4)],this[_0x42c4df(0x2be)],[],this[_0x42c4df(0x481)]);this[_0x42c4df(0x5e9)]();const _0x15c0e0=this['_injector'][_0x42c4df(0x31c)](_0x5b3280,this[_0x42c4df(0x5ce)],this['type'],this[_0x42c4df(0x1e4)],this[_0x42c4df(0x481)]);return _0x15c0e0[_0x42c4df(0x3ce)](),_0x15c0e0['_updateLocalCache'](),_0x15c0e0;}[_0x20c0a9(0x386)](_0x436b3e){const _0x26ba8d=_0x20c0a9;return this[_0x26ba8d(0x232)](!!(_0x436b3e!=null&&_0x436b3e['isPermissionRej']));}['onRemoteRetry'](_0x4277f9){const _0x5ac6d3=_0x20c0a9;return this['_resendTimeout']>_0x125eac?this[_0x5ac6d3(0x531)]():(this[_0x5ac6d3(0x251)]=_0x4f1f9d(this[_0x5ac6d3(0x51b)],{'timeout':this[_0x5ac6d3(0x51b)],'reqId':_0x4277f9['reqId']}),this[_0x5ac6d3(0x444)]=this[_0x5ac6d3(0x251)][_0x5ac6d3(0x19e)](({reqId:_0xc53789,timeout:_0x4ff234})=>{const _0x58cce9=_0x5ac6d3;this[_0x58cce9(0x545)](_0xc53789,_0x4ff234);}),this);}['toggleOffline'](){const _0x492de2=_0x20c0a9;return this['_clearScheduledTask'](),this[_0x492de2(0x4de)][_0x492de2(0x31c)](_0x3a575e,this[_0x492de2(0x5ce)],this[_0x492de2(0x54a)],this[_0x492de2(0x2be)],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x20c0a9(0x306)](){const _0x56ac14=_0x20c0a9;this[_0x56ac14(0x481)][_0x56ac14(0x2f3)](this['_awaitingChangeset']);}['_onConflict'](_0x58969c){const _0x3d1ea8=_0x20c0a9;return this[_0x3d1ea8(0x3ee)](),this[_0x3d1ea8(0x4de)][_0x3d1ea8(0x31c)](_0x316bf0,this[_0x3d1ea8(0x5ce)],this['type'],null,this[_0x3d1ea8(0x1e4)],this['_handler'],_0x58969c);}[_0x20c0a9(0x545)](_0x2611e4,_0x108f70){const _0x341fb3=_0x20c0a9;var _0x57dcab;_0x2611e4===((_0x57dcab=this[_0x341fb3(0x2be)])==null?void 0x0:_0x57dcab['reqId'])&&(this[_0x341fb3(0x306)](),this[_0x341fb3(0x51b)]=_0x108f70===0x0?0x3e8:_0x108f70*0x2);}[_0x20c0a9(0x3ee)](){const _0x537b57=_0x20c0a9;var _0x19e81e;(_0x19e81e=this[_0x537b57(0x444)])==null||_0x19e81e[_0x537b57(0x36d)](),this[_0x537b57(0x51b)]=0x0;}};_0x248ddb=_0x4e8783([_0x4b986e(0x6,_0x442b7a[_0x20c0a9(0x301)](_0x442b7a[_0x20c0a9(0x414)])),_0x4b986e(0x7,_0x442b7a[_0x20c0a9(0x301)](_0x143a17[_0x20c0a9(0x218)])),_0x4b986e(0x8,_0x442b7a[_0x20c0a9(0x301)](_0x464166['LocalCacheService'])),_0x4b986e(0x9,_0x442b7a[_0x20c0a9(0x2e6)]),_0x4b986e(0xa,_0x442b7a['ILogService']),_0x4b986e(0xb,_0x143a17[_0x20c0a9(0x376)]),_0x4b986e(0xc,_0x442b7a[_0x20c0a9(0x4a7)])],_0x248ddb);let _0x316bf0=class extends _0x48f814{constructor(_0x4e2ebe,_0x385ebf,_0x2758b3,_0x42618b,_0x123619,_0x495f39=!0x1,_0x5925db,_0x1ce947,_0x11e656,_0x1b2b21,_0x232eab,_0x112024,_0x2964fb){const _0xebf97c=_0x20c0a9;super(_0x4e2ebe,_0x385ebf,_0x2758b3,_0x42618b,_0x123619,_0x1ce947,_0x11e656,_0x232eab,_0x1b2b21),_0x178698(this,'status',_0xebf97c(0x5db)),(this['_isPermissionRej']=_0x495f39,this[_0xebf97c(0x57b)]=_0x5925db,this[_0xebf97c(0x5cb)]=_0x112024,this[_0xebf97c(0x260)]=_0x2964fb,this[_0xebf97c(0x4a1)](),this['_clearLocalCache'](),this[_0xebf97c(0x292)]());}[_0x20c0a9(0x616)](){return this;}[_0x20c0a9(0x3f6)](){return this;}[_0x20c0a9(0x633)](){return this;}[_0x20c0a9(0x386)](){return this;}['onRemoteRetry'](){return this;}[_0x20c0a9(0x531)](){return this;}['toggleOnline'](){return this;}['resend'](){const _0x2d7810=_0x20c0a9;throw new Error(_0x2d7810(0x4e4));}[_0x20c0a9(0x1f1)](){const _0x4a8cc9=_0x20c0a9;this[_0x4a8cc9(0x560)][_0x4a8cc9(0x280)](this[_0x4a8cc9(0x5ce)],this[_0x4a8cc9(0x54a)],null,[]);}[_0x20c0a9(0x4a1)](){const _0x3ea4f3=_0x20c0a9;this[_0x3ea4f3(0x3a2)]?this[_0x3ea4f3(0x260)][_0x3ea4f3(0x2b1)]({'title':this[_0x3ea4f3(0x5cb)]['t']('permission.title'),'content':this['_localeService']['t'](_0x3ea4f3(0x240)),'type':_0x3ea4f3(0x358),'duration':0x0}):this['_notificationService'][_0x3ea4f3(0x2b1)]({'title':this['_localeService']['t'](_0x3ea4f3(0x469)),'content':this[_0x3ea4f3(0x5cb)]['t'](_0x3ea4f3(0x49c)),'type':_0x3ea4f3(0x358),'duration':0x0});}[_0x20c0a9(0x292)](){const _0x3c7894=_0x20c0a9;this[_0x3c7894(0x57b)]['updatePermissionPoint'](new _0x6c9a2[(_0x3c7894(0x64a))](this[_0x3c7894(0x5ce)])['id'],!0x1);}};_0x316bf0=_0x4e8783([_0x4b986e(0x6,_0x442b7a[_0x20c0a9(0x301)](_0x442b7a[_0x20c0a9(0x1a2)])),_0x4b986e(0x7,_0x442b7a[_0x20c0a9(0x2e6)]),_0x4b986e(0x8,_0x442b7a['IUndoRedoService']),_0x4b986e(0x9,_0x442b7a[_0x20c0a9(0x301)](_0x464166[_0x20c0a9(0x2a7)])),_0x4b986e(0xa,_0x442b7a[_0x20c0a9(0x301)](_0x143a17['RevisionService'])),_0x4b986e(0xb,_0x442b7a[_0x20c0a9(0x301)](_0x442b7a[_0x20c0a9(0x5b2)])),_0x4b986e(0xc,_0x2b513a[_0x20c0a9(0x25c)])],_0x316bf0);let _0x3a575e=class extends _0x48f814{constructor(_0x2de60a,_0x33d6d5,_0x33e13f,_0x380134,_0x334688,_0x483326,_0x49f01b,_0x8de1d5,_0x1efa13,_0x41f449){const _0xe52634=_0x20c0a9;super(_0x2de60a,_0x33d6d5,_0x33e13f,_0x380134,_0x334688,_0x1efa13,_0x41f449,_0x49f01b,_0x8de1d5),_0x178698(this,_0xe52634(0x554),_0xe52634(0x3ef)),this[_0xe52634(0x4de)]=_0x483326;}[_0x20c0a9(0x616)](_0x3773af){const _0x3e20bf=_0x20c0a9;return this[_0x3e20bf(0x1e4)]['push'](_0x3773af),this[_0x3e20bf(0x22f)](),this;}[_0x20c0a9(0x3f6)](_0x4f68fd){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0x3c639b=_0x20c0a9;throw new Error(_0x3c639b(0x316));}[_0x20c0a9(0x386)](){const _0x312aff=_0x20c0a9;throw new Error(_0x312aff(0x542));}[_0x20c0a9(0x34b)](){return this;}['toggleOffline'](){return this;}[_0x20c0a9(0x404)](){const _0x1bcea3=_0x20c0a9,{_injector:_0x538b89,_pendingMutations:_0x4f4078,_awaitingChangeset:_0x50439d,unitID:_0x3c2872,_handler:_0x4f190e,type:_0x465c19}=this,_0x5c5fe3=_0x3e7d1c(_0x538b89,_0x3c2872,_0x465c19,_0x50439d,_0x4f4078,_0x4f190e);return _0x5c5fe3 instanceof _0x5b3280?_0x5c5fe3[_0x1bcea3(0x3ce)]():(_0x5c5fe3 instanceof _0x248ddb||_0x5c5fe3 instanceof _0x1d5c2b)&&_0x5c5fe3[_0x1bcea3(0x306)](),_0x5c5fe3;}[_0x20c0a9(0x306)](){const _0x2e4253=_0x20c0a9;throw new Error(_0x2e4253(0x551));}};_0x3a575e=_0x4e8783([_0x4b986e(0x5,_0x442b7a[_0x20c0a9(0x301)](_0x442b7a[_0x20c0a9(0x414)])),_0x4b986e(0x6,_0x442b7a[_0x20c0a9(0x301)](_0x143a17[_0x20c0a9(0x218)])),_0x4b986e(0x7,_0x442b7a['Inject'](_0x464166[_0x20c0a9(0x2a7)])),_0x4b986e(0x8,_0x442b7a[_0x20c0a9(0x2e6)]),_0x4b986e(0x9,_0x442b7a[_0x20c0a9(0x4a7)])],_0x3a575e);let _0x300e85=class extends _0x48f814{constructor(_0x40fa93,_0x406a07,_0x14e09a,_0x43ebff,_0x2b1fd0,_0x329a55,_0x3445a6,_0x41155a,_0x36fb34,_0x14013a,_0x335046,_0x396c3a,_0x4dca81,_0x4726b7){const _0x3e55dc=_0x20c0a9;super(_0x40fa93,_0x406a07,_0x14e09a,_0x43ebff,_0x3445a6,_0x396c3a,_0x4dca81,_0x36fb34,_0x14013a),_0x178698(this,_0x3e55dc(0x554),_0x3e55dc(0x35a)),(this[_0x3e55dc(0x1b9)]=_0x2b1fd0,this[_0x3e55dc(0x1c5)]=_0x329a55,this[_0x3e55dc(0x4de)]=_0x41155a,this[_0x3e55dc(0x24b)]=_0x335046,this[_0x3e55dc(0x61d)]=_0x4726b7);}['onMissedChangesetFetched'](_0x886c07){const _0x29ad05=_0x20c0a9;try{const _0x334e5c=[..._0x886c07,...this[_0x29ad05(0x1c5)]],_0x25e71=[this['_awaitingChangeset']||this[_0x29ad05(0x1b9)]][_0x29ad05(0x20d)](_0x3410bd=>!!_0x3410bd);let _0xd96fbe,_0x3dbf17;if(_0x25e71[_0x29ad05(0x1b1)]){const _0x19ed33=this[_0x29ad05(0x61d)][_0x29ad05(0x4f9)](_0x334e5c,_0x25e71,!0x1);if(!_0x143a17['isTransformChangesetsSuccess'](_0x19ed33))throw _0x19ed33['error'];_0xd96fbe=_0x19ed33[_0x29ad05(0x556)],_0x3dbf17=_0x19ed33[_0x29ad05(0x3fd)];}else _0xd96fbe=_0x334e5c,_0x3dbf17=[];let _0x5cbbb5=this[_0x29ad05(0x1e4)];_0xd96fbe[_0x29ad05(0x56a)](_0x13ef76=>{const _0xde76e3=_0x29ad05;let _0x5e08b2;if(_0x5cbbb5[_0xde76e3(0x1b1)]){const _0x53962f=this['_transformService'][_0xde76e3(0x608)](_0x13ef76,_0x5cbbb5);if(!_0x143a17[_0xde76e3(0x26f)](_0x53962f))throw _0x53962f['error'];_0x5e08b2=_0x53962f[_0xde76e3(0x556)],_0x5cbbb5=_0x53962f[_0xde76e3(0x59c)];}else _0x5e08b2=_0x13ef76;this[_0xde76e3(0x32e)](_0x5e08b2);}),this['_acknowledgedAwaitingChangeset']&&this[_0x29ad05(0x5e9)](),this[_0x29ad05(0x2be)]&&_0x3dbf17[_0x29ad05(0x1b1)]&&(_0x3dbf17[0x0][_0x29ad05(0x2d7)]=this['_getCurrentRevision']());let _0x22a48b;if(this['_awaitingChangeset']&&_0x5cbbb5[_0x29ad05(0x1b1)]!==0x0)_0x22a48b=this[_0x29ad05(0x4de)][_0x29ad05(0x31c)](_0x248ddb,this[_0x29ad05(0x5ce)],this[_0x29ad05(0x54a)],_0x3dbf17[0x0],_0x5cbbb5,this[_0x29ad05(0x481)],void 0x0);else{if(this[_0x29ad05(0x2be)]&&_0x5cbbb5[_0x29ad05(0x1b1)]===0x0)_0x3dbf17[0x0][_0x29ad05(0x2d7)]=this['_getCurrentRevision'](),_0x22a48b=this[_0x29ad05(0x4de)][_0x29ad05(0x31c)](_0x1d5c2b,this[_0x29ad05(0x5ce)],this['type'],_0x3dbf17[0x0],this[_0x29ad05(0x481)]);else{if(_0x5cbbb5[_0x29ad05(0x1b1)]!==0x0){const _0x393dfb=this[_0x29ad05(0x4de)][_0x29ad05(0x31c)](_0x5b3280,this[_0x29ad05(0x5ce)],this[_0x29ad05(0x54a)],_0x5cbbb5,this[_0x29ad05(0x481)]);_0x393dfb[_0x29ad05(0x3ce)](),_0x22a48b=_0x393dfb;}else _0x22a48b=this[_0x29ad05(0x4de)][_0x29ad05(0x31c)](_0x3ba370,this[_0x29ad05(0x5ce)],this['type'],this[_0x29ad05(0x481)]);}}return _0x22a48b['_updateLocalCache'](),_0x22a48b;}catch(_0x3077c4){return this[_0x29ad05(0x24b)][_0x29ad05(0x358)](_0x29ad05(0x37f),'failed\x20to\x20apply\x20missed\x20changesets!',_0x3077c4),this[_0x29ad05(0x4de)][_0x29ad05(0x31c)](_0x316bf0,this[_0x29ad05(0x5ce)],this['type'],this[_0x29ad05(0x2be)],this['_pendingMutations'],this[_0x29ad05(0x481)],!0x1);}}[_0x20c0a9(0x306)](){const _0x53195f=_0x20c0a9;throw new Error(_0x53195f(0x5d8));}['appendMutation'](_0x184c99){const _0x432a5a=_0x20c0a9;return this[_0x432a5a(0x1e4)]['push'](_0x184c99),this;}['onRemoteChangeset'](_0x146f75){const _0x5db8d6=_0x20c0a9;return this['_queuedRemoteChangesets'][_0x5db8d6(0x2ce)](_0x146f75),this;}[_0x20c0a9(0x633)](_0x34e6e5){const _0x2b71cd=_0x20c0a9;if(this[_0x2b71cd(0x2be)])return this[_0x2b71cd(0x1b9)]=this[_0x2b71cd(0x2be)],this[_0x2b71cd(0x2be)]=null,this;throw new Error(_0x2b71cd(0x4c5));}[_0x20c0a9(0x386)](_0xc46089){const _0x4be79f=_0x20c0a9;return this[_0x4be79f(0x232)](!!(_0xc46089!=null&&_0xc46089[_0x4be79f(0x35c)]));}['onRemoteRetry'](){return this;}[_0x20c0a9(0x531)](){const _0x49b17f=_0x20c0a9;return this[_0x49b17f(0x4de)][_0x49b17f(0x31c)](_0x3a575e,this[_0x49b17f(0x5ce)],this[_0x49b17f(0x54a)],this[_0x49b17f(0x2be)],this[_0x49b17f(0x1e4)],this['_handler']);}[_0x20c0a9(0x404)](){return this;}[_0x20c0a9(0x232)](_0x13b152){const _0x4204c5=_0x20c0a9;return this[_0x4204c5(0x4de)][_0x4204c5(0x31c)](_0x316bf0,this[_0x4204c5(0x5ce)],this[_0x4204c5(0x54a)],this['_awaitingChangeset'],this[_0x4204c5(0x1e4)],this['_handler'],_0x13b152);}};_0x300e85=_0x4e8783([_0x4b986e(0x7,_0x442b7a['Inject'](_0x442b7a[_0x20c0a9(0x414)])),_0x4b986e(0x8,_0x442b7a[_0x20c0a9(0x301)](_0x143a17[_0x20c0a9(0x218)])),_0x4b986e(0x9,_0x442b7a[_0x20c0a9(0x301)](_0x464166[_0x20c0a9(0x2a7)])),_0x4b986e(0xa,_0x442b7a[_0x20c0a9(0x188)]),_0x4b986e(0xb,_0x442b7a[_0x20c0a9(0x2e6)]),_0x4b986e(0xc,_0x442b7a['IUndoRedoService']),_0x4b986e(0xd,_0x143a17['ITransformService'])],_0x300e85);function _0x3e7d1c(_0x231045,_0x1a6d19,_0x5be72d,_0x4fbf7a,_0x3de90e,_0x41a79e){const _0x4c4fe9=_0x20c0a9;return _0x4fbf7a&&_0x3de90e[_0x4c4fe9(0x1b1)]?_0x231045[_0x4c4fe9(0x31c)](_0x248ddb,_0x1a6d19,_0x5be72d,_0x4fbf7a,_0x3de90e,_0x41a79e,void 0x0):_0x4fbf7a?_0x231045[_0x4c4fe9(0x31c)](_0x1d5c2b,_0x1a6d19,_0x5be72d,_0x4fbf7a,_0x41a79e):_0x3de90e[_0x4c4fe9(0x1b1)]?_0x231045['createInstance'](_0x5b3280,_0x1a6d19,_0x5be72d,_0x3de90e,_0x41a79e):_0x231045[_0x4c4fe9(0x31c)](_0x3ba370,_0x1a6d19,_0x5be72d,_0x41a79e);}var _0x1b0816=Object[_0x20c0a9(0x42e)],_0x16eed9=Object[_0x20c0a9(0x526)],_0x3892ed=(_0x469ae7,_0x27c5e3,_0x4c0c61,_0x41ddec)=>{const _0x1e07b3=_0x20c0a9;for(var _0x1226d3=_0x41ddec>0x1?void 0x0:_0x41ddec?_0x16eed9(_0x27c5e3,_0x4c0c61):_0x27c5e3,_0x22aeea=_0x469ae7[_0x1e07b3(0x1b1)]-0x1,_0x2659aa;_0x22aeea>=0x0;_0x22aeea--)(_0x2659aa=_0x469ae7[_0x22aeea])&&(_0x1226d3=(_0x41ddec?_0x2659aa(_0x27c5e3,_0x4c0c61,_0x1226d3):_0x2659aa(_0x1226d3))||_0x1226d3);return _0x41ddec&&_0x1226d3&&_0x1b0816(_0x27c5e3,_0x4c0c61,_0x1226d3),_0x1226d3;},_0x127d58=(_0x26fde3,_0x2cacfc)=>(_0xd46102,_0x118f27)=>_0x2cacfc(_0xd46102,_0x118f27,_0x26fde3);_0x464166[_0x20c0a9(0x29c)]=class extends _0x442b7a[_0x20c0a9(0x1e8)]{constructor(_0x6686cb,_0x4bcc9f,_0x59dbc9,_0x5c50b7,_0x543b56,_0x5cb0be,_0x54f28a,_0x109d09,_0x489143,_0x287b6d,_0x34ad7b,_0x20200f,_0x175cb6){const _0x3f4646=_0x20c0a9;super(),_0x178698(this,_0x3f4646(0x58a),new _0x5cd5b5['BehaviorSubject'](null)),_0x178698(this,_0x3f4646(0x379),this[_0x3f4646(0x58a)][_0x3f4646(0x627)]()),_0x178698(this,_0x3f4646(0x336)),_0x178698(this,_0x3f4646(0x2c4),!0x1),_0x178698(this,_0x3f4646(0x3c7),''),_0x178698(this,_0x3f4646(0x4c3),0x0),_0x178698(this,_0x3f4646(0x1fb),this['state$'][_0x3f4646(0x4f0)](_0x5cd5b5[_0x3f4646(0x28e)](_0x267f78=>_0x267f78?_0x267f78[_0x3f4646(0x554)]:_0x446f55[_0x3f4646(0x41a)]),_0x5cd5b5[_0x3f4646(0x186)](0x1))),_0x178698(this,_0x3f4646(0x3e0),!0x1),_0x178698(this,_0x3f4646(0x273),[]),(this[_0x3f4646(0x5ce)]=_0x6686cb,this[_0x3f4646(0x62c)]=_0x4bcc9f,this[_0x3f4646(0x2ea)]=_0x59dbc9,this[_0x3f4646(0x4de)]=_0x5c50b7,this[_0x3f4646(0x560)]=_0x543b56,this[_0x3f4646(0x4e8)]=_0x5cb0be,this[_0x3f4646(0x5cb)]=_0x54f28a,this[_0x3f4646(0x4b4)]=_0x109d09,this['_logService']=_0x489143,this[_0x3f4646(0x452)]=_0x287b6d,this['_messageService']=_0x34ad7b,this[_0x3f4646(0x57b)]=_0x20200f,this[_0x3f4646(0x3f1)]=_0x175cb6);}get['state'](){return this['_state'];}async[_0x20c0a9(0x2bb)](){const _0x1ac28e=_0x20c0a9;if(this[_0x1ac28e(0x5af)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x1ac28e(0x1c0)]();}[_0x20c0a9(0x1a4)](){const _0x2a2c4f=_0x20c0a9;return this[_0x2a2c4f(0x2c4)]=!0x0,_0x442b7a['toDisposable'](()=>{const _0x2590c5=_0x2a2c4f;this['_collaborationPaused']=!0x1,this[_0x2590c5(0x259)]();});}[_0x20c0a9(0x432)](_0xdafd98){const _0x26354b=_0x20c0a9;this[_0x26354b(0x336)]=_0xdafd98,this[_0x26354b(0x58a)]['next'](_0xdafd98);}async[_0x20c0a9(0x1c0)](){const _0x1beb43=_0x20c0a9;var _0x52481a;this[_0x1beb43(0x432)](await this[_0x1beb43(0x1c7)]()),this['_singleActiveUnitService']&&((_0x52481a=this[_0x1beb43(0x3f1)])==null||_0x52481a['editingUnit'](this[_0x1beb43(0x5ce)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x1beb43(0x3c0)](this[_0x1beb43(0x5ce)])[_0x1beb43(0x19e)](_0x226372=>{const _0x3ac860=_0x1beb43;this['_logService'][_0x3ac860(0x3b3)](_0x3ac860(0x392),_0x3ac860(0x5c6),_0x226372),_0x226372===_0x2c0365['OTHER_CLIENTS_EDITING']?(this['_messageService'][_0x3ac860(0x2b1)]({'content':this[_0x3ac860(0x5cb)]['t'](_0x3ac860(0x3a1)),'type':_0x169949[_0x3ac860(0x2ef)][_0x3ac860(0x222)]}),this[_0x3ac860(0x57b)][_0x3ac860(0x335)](new _0x6c9a2[(_0x3ac860(0x64a))](this[_0x3ac860(0x5ce)])['id'],!0x1),this[_0x3ac860(0x57b)][_0x3ac860(0x4bd)](!0x1)):(this[_0x3ac860(0x57b)][_0x3ac860(0x335)](new _0x6c9a2[(_0x3ac860(0x64a))](this['unitID'])['id'],!0x0),this[_0x3ac860(0x57b)][_0x3ac860(0x4bd)](!0x0));})));let _0xbc81cc=!0x1;return this['disposeWithMe'](this[_0x1beb43(0x62c)][_0x1beb43(0x572)][_0x1beb43(0x19e)](_0x2384e7=>{const _0xef46a4=_0x1beb43;_0x2384e7===_0x46eb20[_0xef46a4(0x213)]?this[_0xef46a4(0x18b)](_0xbc81cc):_0x2384e7===_0x46eb20[_0xef46a4(0x41a)]&&(_0xbc81cc=!0x0,this[_0xef46a4(0x224)]());})),this['disposeWithMe'](this[_0x1beb43(0x62c)][_0x1beb43(0x32c)][_0x1beb43(0x19e)](_0x368df6=>{const _0xc1c37f=_0x1beb43;try{switch(_0x368df6['eventID']){case _0x143a17[_0xc1c37f(0x299)][_0xc1c37f(0x1d4)]:{this[_0xc1c37f(0x391)](_0x143a17[_0xc1c37f(0x639)](_0x368df6[_0xc1c37f(0x248)]));break;}case _0x143a17[_0xc1c37f(0x299)][_0xc1c37f(0x210)]:{this[_0xc1c37f(0x52d)](_0x368df6[_0xc1c37f(0x248)]);break;}case _0x143a17['CollaborationEvent']['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x143a17[_0xc1c37f(0x299)][_0xc1c37f(0x1eb)]:{this[_0xc1c37f(0x29b)](_0x368df6[_0xc1c37f(0x248)]);break;}case _0x143a17['CollaborationEvent'][_0xc1c37f(0x5f2)]:{this['_onFetchMissResult'](_0x368df6['data']['changesets']['map'](_0x61917d=>_0x143a17[_0xc1c37f(0x639)](_0x61917d)));break;}case _0x143a17[_0xc1c37f(0x299)][_0xc1c37f(0x2d9)]:this[_0xc1c37f(0x2dc)]({'isPermissionRej':!0x0});}}catch(_0x4fc67c){throw console[_0xc1c37f(0x358)](_0xc1c37f(0x63e),_0x4fc67c),_0x4fc67c;}})),this[_0x1beb43(0x336)];}[_0x20c0a9(0x4be)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){const _0x516a7f=_0x20c0a9;if(this[_0x516a7f(0x3e0)])throw new Error(_0x516a7f(0x45f));this[_0x516a7f(0x3e0)]=!0x0;}[_0x20c0a9(0x263)](_0x45c54d){const _0x6283ca=_0x20c0a9;this[_0x6283ca(0x346)](),this[_0x6283ca(0x432)](this[_0x6283ca(0x336)]['appendMutation'](_0x45c54d)),this[_0x6283ca(0x4be)]();}['_onRemoteChangeset'](_0xcc5644){const _0x8542c9=_0x20c0a9;if(!(_0xcc5644[_0x8542c9(0x4b1)]<=this['_revisionService'][_0x8542c9(0x44c)](this[_0x8542c9(0x5ce)]))){if(this[_0x8542c9(0x2c4)]){this['_remoteChangesetQueue'][_0x8542c9(0x2ce)](_0xcc5644);return;}this[_0x8542c9(0x5a6)](_0xcc5644);}}[_0x20c0a9(0x259)](){const _0x323e9e=_0x20c0a9;this[_0x323e9e(0x273)][_0x323e9e(0x56a)](_0x71ff89=>this[_0x323e9e(0x5a6)](_0x71ff89)),this['_remoteChangesetQueue']=[];}[_0x20c0a9(0x5a6)](_0x1e4af4){const _0x508ff6=_0x20c0a9,_0x394c94=this[_0x508ff6(0x4e8)][_0x508ff6(0x528)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x508ff6(0x411)]()[_0x508ff6(0x1e6)])(_0x1e4af4[_0x508ff6(0x449)],null)||_0x1e4af4[_0x508ff6(0x449)],_0x209407={..._0x1e4af4,'mutations':_0x394c94};this[_0x508ff6(0x346)](),this['_updateState'](this['_state'][_0x508ff6(0x3f6)](_0x209407)),this['_unlockTransition']();}[_0x20c0a9(0x52d)](_0x230536){const _0x59ec98=_0x20c0a9;this[_0x59ec98(0x346)](),this[_0x59ec98(0x432)](this[_0x59ec98(0x336)][_0x59ec98(0x633)](_0x230536)),this[_0x59ec98(0x4be)]();}[_0x20c0a9(0x2dc)](_0x2ab08c){const _0x3434fd=_0x20c0a9;this[_0x3434fd(0x346)](),this[_0x3434fd(0x432)](this[_0x3434fd(0x336)][_0x3434fd(0x386)](_0x2ab08c)),this['_unlockTransition']();}[_0x20c0a9(0x29b)](_0x1ece7b){const _0x352fe6=_0x20c0a9;this[_0x352fe6(0x346)](),this['_updateState'](this['_state']['onRemoteRetry'](_0x1ece7b)),this[_0x352fe6(0x4be)]();}['_onFetchMissResult'](_0x425188){const _0x459ad1=_0x20c0a9;if(!(this['_state']instanceof _0x300e85))throw new TypeError(_0x459ad1(0x2a2));const _0x5b55b5=_0x425188[_0x459ad1(0x28e)](_0x122852=>{const _0x5a232c=_0x459ad1,_0x239575=this[_0x5a232c(0x4e8)][_0x5a232c(0x528)][_0x5a232c(0x4db)](this['_compressMutationService'][_0x5a232c(0x528)]['getInterceptPoints']()[_0x5a232c(0x1e6)])(_0x122852[_0x5a232c(0x449)],null)||_0x122852[_0x5a232c(0x449)];return{..._0x122852,'mutations':_0x239575};});this[_0x459ad1(0x346)](),this[_0x459ad1(0x432)](this[_0x459ad1(0x336)][_0x459ad1(0x2e1)](_0x5b55b5)),this[_0x459ad1(0x4be)]();}[_0x20c0a9(0x224)](){const _0x3e78a5=_0x20c0a9;this[_0x3e78a5(0x346)](),this['_updateState'](this[_0x3e78a5(0x336)]['toggleOffline']()),this[_0x3e78a5(0x4be)]();}[_0x20c0a9(0x18b)](_0x40a9f0=!0x1){const _0x39b643=_0x20c0a9;this['_lockTransition'](),this[_0x39b643(0x432)](this[_0x39b643(0x336)][_0x39b643(0x404)]()),this['_unlockTransition']();const _0x1fcda3=this[_0x39b643(0x336)];_0x40a9f0&&_0x1fcda3 instanceof _0x3ba370&&(this[_0x39b643(0x346)](),this['_updateState'](_0x1fcda3[_0x39b643(0x471)]()),this[_0x39b643(0x4be)]());}async[_0x20c0a9(0x1c7)](){return new Promise(_0x1c9b38=>{const _0x1a7212=_0x414b;this[_0x1a7212(0x62c)]['sessionStatus$'][_0x1a7212(0x4f0)](_0x5cd5b5['take'](0x1))[_0x1a7212(0x19e)](async _0x53ca18=>{const _0x4f2366=_0x1a7212;_0x1c9b38(await this[_0x4f2366(0x25d)](_0x53ca18===_0x46eb20[_0x4f2366(0x213)]));});});}[_0x20c0a9(0x325)](){const _0xd6537b=this['unitID'];return{'onStateChange':(_0xa5d8a1,_0x1fe0f1)=>{const _0x4137c1=_0x414b;if(_0xa5d8a1!==this['_state'])throw new Error(_0x4137c1(0x4f8)+_0xa5d8a1[_0x4137c1(0x554)]+_0x4137c1(0x49e)+_0x1fe0f1[_0x4137c1(0x554)]+_0x4137c1(0x36f)+this[_0x4137c1(0x336)][_0x4137c1(0x554)]);this[_0x4137c1(0x432)](_0x1fe0f1);},'onSendChangeset':_0xf0955c=>{const _0x3421d9=_0x414b;_0xf0955c[_0x3421d9(0x419)]||(_0xf0955c[_0x3421d9(0x419)]=this[_0x3421d9(0x3c7)],_0xf0955c[_0x3421d9(0x1d7)]=++this[_0x3421d9(0x4c3)]);const _0x5865ec={'eventID':_0x143a17['CollaborationEvent'][_0x3421d9(0x2b2)],'data':{'unitID':_0xf0955c[_0x3421d9(0x5ce)],'unitType':this['_type'],'changeset':_0xf0955c,'memberID':this[_0x3421d9(0x62c)][_0x3421d9(0x4eb)]()}};this['session']['send'](_0x5865ec,this[_0x3421d9(0x5ce)]);},'onMissingChangesets':({from:_0x51bfae,to:_0x54afd8})=>{const _0x1ed461=_0x414b;this['_logService'][_0x1ed461(0x3b3)](_0x1ed461(0x392),_0x1ed461(0x39f)+_0x51bfae+_0x1ed461(0x50a)+_0x54afd8);const _0x3ca693={'eventID':_0x143a17[_0x1ed461(0x299)]['FETCH_MISSING'],'data':{'unitID':_0xd6537b,'unitType':this['_type'],'from':_0x51bfae,'to':_0x54afd8}};this['session']['send'](_0x3ca693,this[_0x1ed461(0x5ce)]);}};}async[_0x20c0a9(0x25d)](_0x205416){const _0x4d27bc=_0x20c0a9;var _0x243515,_0x3265c9;const _0x54c6c5=await this[_0x4d27bc(0x560)][_0x4d27bc(0x47e)](this[_0x4d27bc(0x5ce)]),_0x404cd1=(_0x243515=_0x54c6c5==null?void 0x0:_0x54c6c5[_0x4d27bc(0x449)])!=null?_0x243515:[],_0x4adf8a=(_0x3265c9=_0x54c6c5==null?void 0x0:_0x54c6c5[_0x4d27bc(0x333)])!=null?_0x3265c9:null,_0x152d1f=!!(_0x4adf8a!=null&&_0x4adf8a[_0x4d27bc(0x419)])&&!!(_0x4adf8a!=null&&_0x4adf8a[_0x4d27bc(0x1d7)]);this['_changesetSessionId']=_0x152d1f?_0x4adf8a[_0x4d27bc(0x419)]:_0x330420(),this[_0x4d27bc(0x4c3)]=_0x152d1f?_0x4adf8a[_0x4d27bc(0x1d7)]:0x0;const _0x530609=this[_0x4d27bc(0x5ce)];try{this[_0x4d27bc(0x426)](_0x4adf8a,_0x404cd1);}catch(_0x51efb6){this[_0x4d27bc(0x24b)]['error'](_0x51efb6);}const _0x273cab=this[_0x4d27bc(0x325)]();if(_0x205416){const _0x231876=_0x3e7d1c(this[_0x4d27bc(0x4de)],_0x530609,this['_type'],_0x4adf8a,_0x404cd1,_0x273cab);return _0x231876 instanceof _0x5b3280?_0x231876['_schedule']():(_0x231876 instanceof _0x248ddb||_0x231876 instanceof _0x1d5c2b)&&_0x231876['resend'](),_0x231876;}return this[_0x4d27bc(0x4de)][_0x4d27bc(0x31c)](_0x3a575e,_0x530609,this[_0x4d27bc(0x2ea)],_0x4adf8a,_0x404cd1,_0x273cab);}[_0x20c0a9(0x426)](_0x83075,_0x5ed898){const _0x4c62ea=_0x20c0a9;var _0x5a88ce,_0x50451a;const _0x1508c7=this['_compressMutationService'][_0x4c62ea(0x528)][_0x4c62ea(0x4db)](this[_0x4c62ea(0x4e8)]['interceptor'][_0x4c62ea(0x411)]()['COMPRESS_MUTATION_APPLY']);(_0x5a88ce=_0x1508c7((_0x83075==null?void 0x0:_0x83075['mutations'])||[],null))==null||_0x5a88ce[_0x4c62ea(0x56a)](_0x57e0bf=>this['_commandService']['executeCommand'](_0x57e0bf['id'],_0x57e0bf[_0x4c62ea(0x285)])),(_0x50451a=_0x1508c7(_0x5ed898||[],null))==null||_0x50451a[_0x4c62ea(0x56a)](_0x23347a=>this[_0x4c62ea(0x452)][_0x4c62ea(0x2e3)](_0x23347a['id'],_0x23347a['params']));}},_0x464166[_0x20c0a9(0x29c)]=_0x3892ed([_0x127d58(0x3,_0x442b7a[_0x20c0a9(0x301)](_0x442b7a[_0x20c0a9(0x414)])),_0x127d58(0x4,_0x442b7a[_0x20c0a9(0x301)](_0x464166[_0x20c0a9(0x2a7)])),_0x127d58(0x5,_0x442b7a[_0x20c0a9(0x301)](_0x143a17['CompressMutationService'])),_0x127d58(0x6,_0x442b7a['Inject'](_0x442b7a['LocaleService'])),_0x127d58(0x7,_0x442b7a[_0x20c0a9(0x301)](_0x143a17[_0x20c0a9(0x218)])),_0x127d58(0x8,_0x442b7a[_0x20c0a9(0x188)]),_0x127d58(0x9,_0x442b7a['ICommandService']),_0x127d58(0xa,_0x2b513a[_0x20c0a9(0x496)]),_0x127d58(0xb,_0x442b7a['IPermissionService']),_0x127d58(0xc,_0x442b7a[_0x20c0a9(0x4b7)](_0xdf07b8))],_0x464166[_0x20c0a9(0x29c)]),_0x464166[_0x20c0a9(0x476)]=class extends _0x464166[_0x20c0a9(0x29c)]{constructor(_0x22b05c,_0x31dc59,_0x666b1f,_0x205942,_0x5188e4,_0xba6453,_0x11500b,_0x2687fd,_0x3df821,_0x211d75,_0x4cfb98,_0xbd6050,_0x35c622,_0x54d8da,_0x2e9e0d,_0xed46d2,_0x2d9c48,_0x57770d){const _0x38382=_0x20c0a9;super(_0x22b05c,_0x666b1f,_0x31dc59,_0x205942,_0x5188e4,_0xba6453,_0x11500b,_0x2687fd,_0x54d8da,_0x2e9e0d,_0xed46d2,_0x2d9c48,_0x57770d),this['unitID']=_0x22b05c,this['type']=_0x31dc59,this[_0x38382(0x35b)]=_0x3df821,this[_0x38382(0x3e4)]=_0x211d75,this['_docTransformStateCacheService']=_0x4cfb98,this[_0x38382(0x619)]=_0xbd6050,this[_0x38382(0x1f6)]=_0x35c622;}[_0x20c0a9(0x325)](){const _0x46ed1e=_0x20c0a9,_0x42516=super[_0x46ed1e(0x325)]();return _0x42516[_0x46ed1e(0x1b8)]=_0x1ec129=>this[_0x46ed1e(0x3e4)][_0x46ed1e(0x366)](_0x1ec129),_0x42516[_0x46ed1e(0x653)]=_0x3e50a6=>this['_docTransformStateCacheService']['transformStateCache'](_0x3e50a6),_0x42516[_0x46ed1e(0x2e9)]=_0x15cd1f=>this[_0x46ed1e(0x619)]['transformSelections'](_0x15cd1f),_0x42516['onSyncEditingCollabCursor']=_0x3e262e=>this['_docSyncEditingCollabCursorService'][_0x46ed1e(0x5a3)](_0x3e262e),_0x42516[_0x46ed1e(0x4a4)]=_0xba07d1=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0xba07d1),_0x42516[_0x46ed1e(0x518)]=_0x4185ae=>this['_docTransformStateCacheService'][_0x46ed1e(0x40d)](_0x4185ae),_0x42516;}async[_0x20c0a9(0x1c0)](){const _0x114c67=_0x20c0a9,_0x1a0473=await super['_init']();return this[_0x114c67(0x35b)][_0x114c67(0x571)]['pipe'](_0x5cd5b5[_0x114c67(0x30f)](this[_0x114c67(0x530)]))[_0x114c67(0x19e)](_0x4da864=>{const _0x106f4e=_0x114c67;if(_0x4da864==null)return;const {unitId:_0x5beb1e,redoState:_0xf568b6,commandId:_0x306106}=_0x4da864;if(_0x5beb1e!==this['unitID'])return;const _0x36c382={'id':_0x306106,'type':_0x442b7a[_0x106f4e(0x1fe)][_0x106f4e(0x64d)],'params':{'unitId':_0x5beb1e,'actions':_0xf568b6[_0x106f4e(0x652)],'textRanges':null}};this['_onLocalMutation'](_0x36c382);}),_0x1a0473;}},_0x464166[_0x20c0a9(0x476)]=_0x3892ed([_0x127d58(0x3,_0x442b7a['Inject'](_0x442b7a['Injector'])),_0x127d58(0x4,_0x442b7a[_0x20c0a9(0x301)](_0x464166[_0x20c0a9(0x2a7)])),_0x127d58(0x5,_0x442b7a['Inject'](_0x143a17['CompressMutationService'])),_0x127d58(0x6,_0x442b7a[_0x20c0a9(0x301)](_0x442b7a[_0x20c0a9(0x5b2)])),_0x127d58(0x7,_0x442b7a[_0x20c0a9(0x301)](_0x143a17[_0x20c0a9(0x218)])),_0x127d58(0x8,_0x442b7a[_0x20c0a9(0x301)](_0x1927e6[_0x20c0a9(0x4d2)])),_0x127d58(0x9,_0x442b7a[_0x20c0a9(0x301)](_0x122147)),_0x127d58(0xa,_0x442b7a[_0x20c0a9(0x301)](_0x5a70bc)),_0x127d58(0xb,_0x442b7a[_0x20c0a9(0x301)](_0x28e5c1)),_0x127d58(0xc,_0x442b7a[_0x20c0a9(0x301)](_0x135eb3)),_0x127d58(0xd,_0x442b7a[_0x20c0a9(0x188)]),_0x127d58(0xe,_0x442b7a[_0x20c0a9(0x2e6)]),_0x127d58(0xf,_0x2b513a[_0x20c0a9(0x496)]),_0x127d58(0x10,_0x442b7a[_0x20c0a9(0x1a2)]),_0x127d58(0x11,_0x442b7a[_0x20c0a9(0x4b7)](_0xdf07b8))],_0x464166[_0x20c0a9(0x476)]),_0x464166[_0x20c0a9(0x4b6)]=class extends _0x464166[_0x20c0a9(0x29c)]{constructor(_0x4e57b9,_0x4546e6,_0x49b4f5,_0x41e4a9,_0x5678d7,_0x2121d2,_0x359e9f,_0x2de1cd,_0x2268cd,_0x4574b0,_0x582d58,_0x22266a,_0x2b4302,_0xc87d1c){super(_0x4e57b9,_0x49b4f5,_0x4546e6,_0x41e4a9,_0x5678d7,_0x2121d2,_0x359e9f,_0x2de1cd,_0x4574b0,_0x582d58,_0x22266a,_0x2b4302,_0xc87d1c),this['unitID']=_0x4e57b9,this['type']=_0x4546e6,this['_sheetTransformSelectionsService']=_0x2268cd;}['_createHandler'](){const _0x228387=_0x20c0a9,_0x3aced1=super[_0x228387(0x325)]();return _0x3aced1[_0x228387(0x2e9)]=_0x37fe04=>this[_0x228387(0x443)][_0x228387(0x38d)](_0x37fe04),_0x3aced1;}async[_0x20c0a9(0x1c0)](){const _0xe8f5e1=_0x20c0a9,_0x958361=await super[_0xe8f5e1(0x1c0)]();return this[_0xe8f5e1(0x36b)](this[_0xe8f5e1(0x452)][_0xe8f5e1(0x514)]((_0x20b3c8,_0x7b1348)=>{const _0x221b29=_0xe8f5e1;if(_0x20b3c8[_0x221b29(0x54a)]!==_0x442b7a[_0x221b29(0x1fe)][_0x221b29(0x64d)]||_0x7b1348!=null&&_0x7b1348[_0x221b29(0x35d)]||_0x7b1348!=null&&_0x7b1348['onlyLocal'])return;const _0x555201=_0x20b3c8['params'];if((_0x555201==null?void 0x0:_0x555201[_0x221b29(0x5a9)])!==this['unitID'])return;const _0x470dcf=_0x20b3c8,_0x1be208=this[_0x221b29(0x4e8)][_0x221b29(0x528)][_0x221b29(0x4db)](this[_0x221b29(0x4e8)][_0x221b29(0x528)][_0x221b29(0x411)]()[_0x221b29(0x570)])([_0x470dcf],null)||[_0x470dcf];this[_0x221b29(0x263)](_0x1be208[0x0]);})),_0x958361;}},_0x464166[_0x20c0a9(0x4b6)]=_0x3892ed([_0x127d58(0x3,_0x442b7a[_0x20c0a9(0x301)](_0x442b7a[_0x20c0a9(0x414)])),_0x127d58(0x4,_0x442b7a[_0x20c0a9(0x301)](_0x464166[_0x20c0a9(0x2a7)])),_0x127d58(0x5,_0x442b7a[_0x20c0a9(0x301)](_0x143a17[_0x20c0a9(0x3df)])),_0x127d58(0x6,_0x442b7a[_0x20c0a9(0x301)](_0x442b7a[_0x20c0a9(0x5b2)])),_0x127d58(0x7,_0x442b7a[_0x20c0a9(0x301)](_0x143a17[_0x20c0a9(0x218)])),_0x127d58(0x8,_0x442b7a[_0x20c0a9(0x301)](_0x5bac6d)),_0x127d58(0x9,_0x442b7a[_0x20c0a9(0x188)]),_0x127d58(0xa,_0x442b7a[_0x20c0a9(0x2e6)]),_0x127d58(0xb,_0x2b513a[_0x20c0a9(0x496)]),_0x127d58(0xc,_0x442b7a['IPermissionService']),_0x127d58(0xd,_0x442b7a['Optional'](_0xdf07b8))],_0x464166['SheetCollaborationEntity']);var _0x5e04f9=Object[_0x20c0a9(0x42e)],_0x380649=Object[_0x20c0a9(0x526)],_0x546d98=(_0xfddfc8,_0x37b549,_0x284fd1,_0x25d63c)=>{const _0x49a8ea=_0x20c0a9;for(var _0x49653f=_0x25d63c>0x1?void 0x0:_0x25d63c?_0x380649(_0x37b549,_0x284fd1):_0x37b549,_0x3f73cf=_0xfddfc8[_0x49a8ea(0x1b1)]-0x1,_0x1a2059;_0x3f73cf>=0x0;_0x3f73cf--)(_0x1a2059=_0xfddfc8[_0x3f73cf])&&(_0x49653f=(_0x25d63c?_0x1a2059(_0x37b549,_0x284fd1,_0x49653f):_0x1a2059(_0x49653f))||_0x49653f);return _0x25d63c&&_0x49653f&&_0x5e04f9(_0x37b549,_0x284fd1,_0x49653f),_0x49653f;},_0xb539ae=(_0x5c02bc,_0x299690)=>(_0x5f4708,_0x293f7d)=>_0x299690(_0x5f4708,_0x293f7d,_0x5c02bc);_0x464166['CollaborationController']=class extends _0x442b7a[_0x20c0a9(0x1e8)]{constructor(_0x5552e5,_0x2ee2df,_0x507db4){const _0x3b662c=_0x20c0a9;super(),_0x178698(this,_0x3b662c(0x312),new Map()),_0x178698(this,'_entityInit$',new _0x5cd5b5[(_0x3b662c(0x438))]()),(this[_0x3b662c(0x4de)]=_0x5552e5,this[_0x3b662c(0x5b4)]=_0x2ee2df,this[_0x3b662c(0x196)]=_0x507db4,this[_0x3b662c(0x1c0)]());}['dispose'](){const _0x9e99da=_0x20c0a9;super[_0x9e99da(0x4c8)](),this[_0x9e99da(0x312)][_0x9e99da(0x56a)](_0x147675=>_0x147675[_0x9e99da(0x4c8)]()),this[_0x9e99da(0x312)][_0x9e99da(0x610)]();}['getCollabEntity'](_0x87d4f1){var _0x5d054f;return(_0x5d054f=this['_entities']['get'](_0x87d4f1))!=null?_0x5d054f:null;}[_0x20c0a9(0x3bc)](_0x2571aa){const _0x22424c=_0x20c0a9,_0x5a71a3=this[_0x22424c(0x5e2)](_0x2571aa);return _0x5a71a3?_0x5cd5b5['of'](_0x5a71a3):this[_0x22424c(0x4b5)]['pipe'](_0x368c6f[_0x22424c(0x20d)](_0x4e3222=>_0x4e3222['unitID']===_0x2571aa));}[_0x20c0a9(0x1c0)](){const _0x25d33b=_0x20c0a9;this[_0x25d33b(0x196)][_0x25d33b(0x49f)](_0x442b7a['UniverInstanceType'][_0x25d33b(0x5ed)])[_0x25d33b(0x4f0)](_0x5cd5b5[_0x25d33b(0x30f)](this['dispose$']),_0x368c6f[_0x25d33b(0x18d)](0x10))[_0x25d33b(0x19e)](async _0x2a25eb=>{const _0x5a72bf=_0x25d33b,_0x2605d7=_0x2a25eb[_0x5a72bf(0x60a)](),_0xa93938=await this['_startCollaboration'](_0x2605d7,_0x18e727[_0x5a72bf(0x5ed)]);this['_entities'][_0x5a72bf(0x19a)](_0x2605d7,_0xa93938);}),this[_0x25d33b(0x196)]['getTypeOfUnitAdded$'](_0x442b7a[_0x25d33b(0x524)][_0x25d33b(0x1b7)])[_0x25d33b(0x4f0)](_0x5cd5b5['takeUntil'](this[_0x25d33b(0x530)]),_0x368c6f['delay'](0x10))['pipe'](_0x368c6f[_0x25d33b(0x20d)](_0x4ab02e=>!_0x4ab02e[_0x25d33b(0x60a)]()[_0x25d33b(0x338)]('__')))['subscribe'](async _0x17a7c2=>{const _0x32d21a=_0x25d33b,_0x194e34=_0x17a7c2[_0x32d21a(0x60a)](),_0x5b3a6f=await this['_startCollaboration'](_0x194e34,_0x18e727[_0x32d21a(0x1b7)]);this[_0x32d21a(0x312)][_0x32d21a(0x19a)](_0x194e34,_0x5b3a6f);}),_0x5cd5b5[_0x25d33b(0x317)](this[_0x25d33b(0x196)]['getTypeOfUnitDisposed$'](_0x442b7a[_0x25d33b(0x524)][_0x25d33b(0x5ed)]),this[_0x25d33b(0x196)][_0x25d33b(0x197)](_0x442b7a[_0x25d33b(0x524)]['UNIVER_DOC']))[_0x25d33b(0x4f0)](_0x5cd5b5[_0x25d33b(0x30f)](this[_0x25d33b(0x530)]))[_0x25d33b(0x19e)](_0x348da1=>{const _0x10ad66=_0x25d33b,_0x1a729e=_0x348da1[_0x10ad66(0x60a)](),_0x29cda5=this[_0x10ad66(0x312)][_0x10ad66(0x43d)](_0x1a729e);_0x29cda5&&(_0x29cda5[_0x10ad66(0x4c8)](),this[_0x10ad66(0x312)][_0x10ad66(0x41f)](_0x1a729e));});}async[_0x20c0a9(0x58c)](_0x589b72,_0x547f2d){const _0x59ada3=_0x20c0a9,_0x31937f=await this[_0x59ada3(0x5b4)]['requireSession'](_0x589b72),_0x2f71eb=this[_0x59ada3(0x4de)][_0x59ada3(0x31c)](this[_0x59ada3(0x3e7)](_0x547f2d),_0x589b72,_0x547f2d,_0x31937f);return await _0x2f71eb['init'](),this[_0x59ada3(0x4b5)]['next'](_0x2f71eb),_0x2f71eb;}[_0x20c0a9(0x3e7)](_0x3f88e5){const _0x3db08f=_0x20c0a9;switch(_0x3f88e5){case _0x18e727[_0x3db08f(0x1b7)]:return _0x464166['DocCollaborationEntity'];case _0x18e727[_0x3db08f(0x5ed)]:return _0x464166[_0x3db08f(0x4b6)];default:throw new Error(_0x3db08f(0x331)+_0x3f88e5);}}},_0x464166[_0x20c0a9(0x2d8)]=_0x546d98([_0xb539ae(0x0,_0x442b7a['Inject'](_0x442b7a[_0x20c0a9(0x414)])),_0xb539ae(0x1,_0x442b7a['Inject'](_0x464166[_0x20c0a9(0x1b4)])),_0xb539ae(0x2,_0x442b7a[_0x20c0a9(0x559)])],_0x464166[_0x20c0a9(0x2d8)]);const _0x22b34a=[_0x20c0a9(0x215),'jiqing500','verdancy600','red300',_0x20c0a9(0x5b7),'gold400'];class _0x3c306a extends _0x442b7a[_0x20c0a9(0x4fb)]{constructor(){const _0x73bd23=_0x20c0a9;super(...arguments),_0x178698(this,'_assignedColors',new Map()),_0x178698(this,_0x73bd23(0x49d),0x0);}[_0x20c0a9(0x26c)](_0x28ef19){const _0x127182=_0x20c0a9;if(this[_0x127182(0x4d6)][_0x127182(0x3fb)](_0x28ef19))return this[_0x127182(0x4d6)]['get'](_0x28ef19);const _0x3b942d=_0x22b34a[this['_colorIndex']];return this[_0x127182(0x49d)]=(this[_0x127182(0x49d)]+0x1)%_0x22b34a[_0x127182(0x1b1)],this['_assignedColors'][_0x127182(0x19a)](_0x28ef19,_0x3b942d),_0x3b942d;}}var _0x4f74f4=Object['defineProperty'],_0x121992=Object[_0x20c0a9(0x526)],_0x3d9c80=(_0x1080b4,_0x2d61be,_0x98a076,_0x1f88eb)=>{const _0x1d8b86=_0x20c0a9;for(var _0x16ab76=_0x1f88eb>0x1?void 0x0:_0x1f88eb?_0x121992(_0x2d61be,_0x98a076):_0x2d61be,_0x1749bb=_0x1080b4[_0x1d8b86(0x1b1)]-0x1,_0x5e93ab;_0x1749bb>=0x0;_0x1749bb--)(_0x5e93ab=_0x1080b4[_0x1749bb])&&(_0x16ab76=(_0x1f88eb?_0x5e93ab(_0x2d61be,_0x98a076,_0x16ab76):_0x5e93ab(_0x16ab76))||_0x16ab76);return _0x1f88eb&&_0x16ab76&&_0x4f74f4(_0x2d61be,_0x98a076,_0x16ab76),_0x16ab76;},_0x411b7a=(_0x5577a7,_0x2fe699)=>(_0x4e2890,_0x20ba2b)=>_0x2fe699(_0x4e2890,_0x20ba2b,_0x5577a7);const _0x327acf=0x12c,_0x2c6470=0x64;let _0x10c173=class extends _0x442b7a['RxDisposable']{constructor(_0x36c5a6,_0x28ab74,_0x4e6c9b,_0x5632a3,_0x54d52d,_0x2e04bd,_0x23ab10,_0x4b1386,_0x597846){const _0xd8b6a3=_0x20c0a9;super(),_0x178698(this,_0xd8b6a3(0x1ea),!0x1),_0x178698(this,'_init',!0x1),_0x178698(this,'_cursorInfo$',new _0x5cd5b5[(_0xd8b6a3(0x61e))](new Map())),_0x178698(this,'cursorInfo$',this[_0xd8b6a3(0x491)][_0xd8b6a3(0x627)]()),_0x178698(this,'_roomMembers$',new _0x5cd5b5[(_0xd8b6a3(0x61e))]([])),_0x178698(this,_0xd8b6a3(0x646),this[_0xd8b6a3(0x187)][_0xd8b6a3(0x4f0)](_0x5cd5b5[_0xd8b6a3(0x447)](_0x327acf))),_0x178698(this,_0xd8b6a3(0x4c9),_0x442b7a[_0xd8b6a3(0x319)](_0x1eb54b=>{const _0x3eb104=_0xd8b6a3,_0x29115d={'eventID':_0x143a17['CollaborationEvent'][_0x3eb104(0x4b0)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x3eb104(0x4eb)](),'selection':_0x997b7b(_0x1eb54b)}};this[_0x3eb104(0x3e2)][_0x3eb104(0x42c)](_0x29115d,this['unitID']);},_0x2c6470)),(this[_0xd8b6a3(0x5ce)]=_0x36c5a6,this[_0xd8b6a3(0x3e2)]=_0x28ab74,this[_0xd8b6a3(0x4de)]=_0x4e6c9b,this[_0xd8b6a3(0x3ea)]=_0x5632a3,this[_0xd8b6a3(0x363)]=_0x54d52d,this[_0xd8b6a3(0x52c)]=_0x2e04bd,this[_0xd8b6a3(0x61d)]=_0x23ab10,this['_univerInstanceService']=_0x4b1386,this['_commandService']=_0x597846);}get[_0x20c0a9(0x5e5)](){const _0x30a1ca=_0x20c0a9;return this[_0x30a1ca(0x491)][_0x30a1ca(0x516)]();}get[_0x20c0a9(0x63f)](){const _0x4d752f=_0x20c0a9;return this[_0x4d752f(0x187)]['getValue']();}['dispose'](){const _0x3609fd=_0x20c0a9;super[_0x3609fd(0x4c8)](),this[_0x3609fd(0x491)][_0x3609fd(0x252)](new Map()),this[_0x3609fd(0x491)]['complete'](),this[_0x3609fd(0x187)][_0x3609fd(0x252)]([]),this[_0x3609fd(0x187)][_0x3609fd(0x515)]();}[_0x20c0a9(0x2bb)](){const _0x2003b8=_0x20c0a9;this[_0x2003b8(0x1c0)]||(this[_0x2003b8(0x1c0)]=!0x0,this[_0x2003b8(0x3e2)][_0x2003b8(0x572)][_0x2003b8(0x4f0)](_0x5cd5b5[_0x2003b8(0x30f)](this[_0x2003b8(0x530)]))[_0x2003b8(0x19e)](_0x1653ce=>{const _0xd7d44a=_0x2003b8;_0x1653ce===_0x46eb20[_0xd7d44a(0x213)]?this[_0xd7d44a(0x18b)]():this[_0xd7d44a(0x224)]();}),this[_0x2003b8(0x3e2)]['event$'][_0x2003b8(0x4f0)](_0x5cd5b5['takeUntil'](this[_0x2003b8(0x530)]))[_0x2003b8(0x19e)](_0x1cb5d5=>{const _0x2832b2=_0x2003b8,_0x13384a=_0x1cb5d5[_0x2832b2(0x4d0)];_0x13384a===_0x143a17[_0x2832b2(0x299)][_0x2832b2(0x4b0)]&&this['_onCursorUpdate'](_0x1cb5d5),_0x13384a===_0x143a17['CollaborationEvent'][_0x2832b2(0x2e0)]&&this['_onCursorDelete'](_0x1cb5d5);}),this[_0x2003b8(0x36b)](this[_0x2003b8(0x452)][_0x2003b8(0x514)](_0xbf2ca8=>{const _0x2fb17e=_0x2003b8,_0x586d43=_0xbf2ca8[_0x2fb17e(0x285)];_0x586d43!=null&&this[_0x2fb17e(0x1ea)]&&_0xbf2ca8['id']===_0x40b533['SetTextSelectionsOperation']['id']&&_0x586d43[_0x2fb17e(0x5a9)]===this[_0x2fb17e(0x5ce)]&&_0x586d43[_0x2fb17e(0x30d)]===!0x1&&_0x586d43[_0x2fb17e(0x31f)][_0x2fb17e(0x1b1)]>0x0&&this[_0x2fb17e(0x4c9)](_0x586d43[_0x2fb17e(0x31f)]);})),this['_syncEditingCollabCursorService'][_0x2003b8(0x44d)][_0x2003b8(0x4f0)](_0x5cd5b5[_0x2003b8(0x30f)](this['dispose$']))[_0x2003b8(0x19e)](_0x2d4619=>{const _0x959e17=_0x2003b8;if((_0x2d4619==null?void 0x0:_0x2d4619[_0x959e17(0x5ce)])!==this[_0x959e17(0x5ce)])return;const _0x2cf7ad={'eventID':_0x143a17[_0x959e17(0x299)][_0x959e17(0x4b0)],'data':_0x2d4619};this['_onCursorUpdate'](_0x2cf7ad);}),this[_0x2003b8(0x36b)](this['_commandService']['onCommandExecuted'](_0x479c4e=>{const _0x1e2c7c=_0x2003b8;if(_0x479c4e['params']==null)return;const _0x3c3f72=_0x479c4e[_0x1e2c7c(0x285)];if(_0x479c4e['id']!==_0x40b533[_0x1e2c7c(0x1a9)]['id']||_0x3c3f72[_0x1e2c7c(0x5a9)]!==this[_0x1e2c7c(0x5ce)])return;const _0x3fa641={'id':_0x1e2c7c(0x34d),'params':_0x3c3f72},_0x3a3391=this[_0x1e2c7c(0x5e5)];for(const [_0x10afef,_0x5430ee]of _0x3a3391){const _0x57417e={'id':_0x1e2c7c(0x34d),'params':{'unitId':this[_0x1e2c7c(0x5ce)],'actions':null,'textRanges':_0x5430ee[_0x1e2c7c(0x31f)]}},_0x11fe8e=this[_0x1e2c7c(0x61d)]['transformMutation'](_0x3fa641,_0x57417e,!0x1);if(_0x143a17[_0x1e2c7c(0x45b)](_0x11fe8e))throw _0x11fe8e[_0x1e2c7c(0x358)];_0x3a3391[_0x1e2c7c(0x19a)](_0x10afef,{..._0x5430ee,'ranges':_0x11fe8e[_0x1e2c7c(0x59c)][_0x1e2c7c(0x285)][_0x1e2c7c(0x546)]});}queueMicrotask(()=>{const _0x1c66fe=_0x1e2c7c;this[_0x1c66fe(0x491)][_0x1c66fe(0x252)](_0x3a3391);});})));}[_0x20c0a9(0x3c5)](_0x5cacf7){const _0x50de7e=_0x20c0a9;var _0x3c8a9d,_0x56c0d4;const {memberID:_0x189b8e,selection:_0x17f111}=_0x5cacf7['data'],_0x5879cf=_0x413217(_0x17f111),_0x1fb72e=(_0x56c0d4=(_0x3c8a9d=this[_0x50de7e(0x363)][_0x50de7e(0x52f)](this['unitID'],_0x189b8e))==null?void 0x0:_0x3c8a9d['name'])!=null?_0x56c0d4:_0x50de7e(0x580),_0x277646={'color':this['_colorAssignService'][_0x50de7e(0x26c)](_0x189b8e),'name':_0x1fb72e,'ranges':_0x5879cf},_0x9d17ea=this['cursorInfo'];_0x9d17ea[_0x50de7e(0x19a)](_0x189b8e,_0x277646),this['_cursorInfo$'][_0x50de7e(0x252)](_0x9d17ea);}[_0x20c0a9(0x484)](_0xe39e35){const _0x3a1422=_0x20c0a9,{memberID:_0x162b1d}=_0xe39e35['data'],_0x38db40=this[_0x3a1422(0x5e5)];_0x38db40[_0x3a1422(0x41f)](_0x162b1d),this[_0x3a1422(0x491)][_0x3a1422(0x252)](_0x38db40);}['_toggleOnline'](){const _0x3791a6=_0x20c0a9;var _0x495914;if(this['_online']=!0x0,((_0x495914=this[_0x3791a6(0x196)]['getFocusedUnit']())==null?void 0x0:_0x495914[_0x3791a6(0x60a)]())!==this[_0x3791a6(0x5ce)])return;const _0x53a534=this['_injector'][_0x3791a6(0x43d)](_0x40b533['DocSelectionManagerService'])[_0x3791a6(0x5a5)]();Array[_0x3791a6(0x625)](_0x53a534)&&_0x53a534[_0x3791a6(0x1b1)]>0x0&&this['_updateLocalCursor'](_0x53a534);}[_0x20c0a9(0x224)](){const _0x532d1a=_0x20c0a9;this[_0x532d1a(0x1ea)]=!0x1;}};_0x10c173=_0x3d9c80([_0x411b7a(0x2,_0x442b7a['Inject'](_0x442b7a['Injector'])),_0x411b7a(0x3,_0x442b7a[_0x20c0a9(0x301)](_0x3c306a)),_0x411b7a(0x4,_0x442b7a[_0x20c0a9(0x301)](_0x464166['MemberService'])),_0x411b7a(0x5,_0x442b7a['Inject'](_0x135eb3)),_0x411b7a(0x6,_0x143a17[_0x20c0a9(0x376)]),_0x411b7a(0x7,_0x442b7a['IUniverInstanceService']),_0x411b7a(0x8,_0x442b7a[_0x20c0a9(0x2e6)])],_0x10c173);var _0x5f19ec=Object['defineProperty'],_0x295f28=Object[_0x20c0a9(0x526)],_0x552294=(_0x6f3d8c,_0x11a0cf,_0x160a37,_0x1c688e)=>{for(var _0x247b22=_0x1c688e>0x1?void 0x0:_0x1c688e?_0x295f28(_0x11a0cf,_0x160a37):_0x11a0cf,_0x4c6ed3=_0x6f3d8c['length']-0x1,_0x456115;_0x4c6ed3>=0x0;_0x4c6ed3--)(_0x456115=_0x6f3d8c[_0x4c6ed3])&&(_0x247b22=(_0x1c688e?_0x456115(_0x11a0cf,_0x160a37,_0x247b22):_0x456115(_0x247b22))||_0x247b22);return _0x1c688e&&_0x247b22&&_0x5f19ec(_0x11a0cf,_0x160a37,_0x247b22),_0x247b22;},_0x138a0f=(_0x109d8e,_0x45b166)=>(_0x2a5e70,_0x23a230)=>_0x45b166(_0x2a5e70,_0x23a230,_0x109d8e);const _0x41e43e=0x12c,_0x244d89=0x64,_0x86719=()=>{let _0x3cced0=[],_0x489377=!0x1;return _0x142c67=>{const _0x16c16e=_0x414b;_0x3cced0[_0x16c16e(0x2ce)](_0x142c67),_0x489377||(_0x489377=!0x0,setTimeout(()=>{const _0x24268d=_0x16c16e;_0x3cced0[_0x24268d(0x56a)](_0x5ccf7a=>_0x5ccf7a()),_0x3cced0=[],_0x489377=!0x1;}));};};let _0x875d82=class extends _0x442b7a[_0x20c0a9(0x1e8)]{constructor(_0x41ac31,_0x7a7b8,_0xf681b8,_0x1c5475,_0x5707da,_0x107df8,_0x22c13b,_0xb50044){const _0xc56c3a=_0x20c0a9;super(),_0x178698(this,'_online',!0x1),_0x178698(this,'_init',!0x1),_0x178698(this,_0xc56c3a(0x491),new _0x5cd5b5[(_0xc56c3a(0x61e))](new Map())),_0x178698(this,_0xc56c3a(0x1af),this[_0xc56c3a(0x491)][_0xc56c3a(0x627)]()),_0x178698(this,_0xc56c3a(0x187),new _0x5cd5b5[(_0xc56c3a(0x61e))]([])),_0x178698(this,'roomMembers$',this['_roomMembers$'][_0xc56c3a(0x4f0)](_0x5cd5b5[_0xc56c3a(0x447)](_0x41e43e))),_0x178698(this,_0xc56c3a(0x4c9),_0x442b7a[_0xc56c3a(0x319)]((_0x27ff8c,_0x425dfe)=>{const _0x3fd5c5=_0xc56c3a,_0x193285={'eventID':_0x143a17[_0x3fd5c5(0x299)][_0x3fd5c5(0x4b0)],'data':{'unitID':this[_0x3fd5c5(0x5ce)],'memberID':this['_session'][_0x3fd5c5(0x4eb)](),'selection':_0x38f16c['serializeRangeWithSheet'](_0x27ff8c,_0x425dfe['range'])}};this[_0x3fd5c5(0x3e2)][_0x3fd5c5(0x42c)](_0x193285,this[_0x3fd5c5(0x5ce)]);},_0x244d89)),(this[_0xc56c3a(0x5ce)]=_0x41ac31,this[_0xc56c3a(0x3e2)]=_0x7a7b8,this[_0xc56c3a(0x4de)]=_0xf681b8,this['_colorAssignService']=_0x1c5475,this['_memberService']=_0x5707da,this['_univerInstanceService']=_0x107df8,this[_0xc56c3a(0x452)]=_0x22c13b,this[_0xc56c3a(0x57d)]=_0xb50044);}get[_0x20c0a9(0x5e5)](){const _0x39b0d8=_0x20c0a9;return this[_0x39b0d8(0x491)][_0x39b0d8(0x516)]();}get[_0x20c0a9(0x63f)](){const _0x594346=_0x20c0a9;return this[_0x594346(0x187)][_0x594346(0x516)]();}['dispose'](){const _0x389d20=_0x20c0a9;super[_0x389d20(0x4c8)](),this[_0x389d20(0x491)][_0x389d20(0x252)](new Map()),this[_0x389d20(0x491)][_0x389d20(0x515)](),this[_0x389d20(0x187)][_0x389d20(0x252)]([]),this[_0x389d20(0x187)][_0x389d20(0x515)]();}['init'](){const _0x1a8b81=_0x20c0a9;this[_0x1a8b81(0x1c0)]||(this[_0x1a8b81(0x1c0)]=!0x0,this[_0x1a8b81(0x3e2)][_0x1a8b81(0x572)][_0x1a8b81(0x4f0)](_0x5cd5b5['takeUntil'](this[_0x1a8b81(0x530)]))['subscribe'](_0x2e45bf=>{const _0x27f196=_0x1a8b81;_0x2e45bf===_0x46eb20[_0x27f196(0x213)]?this['_toggleOnline']():this[_0x27f196(0x224)]();}),this[_0x1a8b81(0x3e2)][_0x1a8b81(0x32c)][_0x1a8b81(0x4f0)](_0x5cd5b5[_0x1a8b81(0x30f)](this[_0x1a8b81(0x530)]))[_0x1a8b81(0x19e)](_0x38222c=>{const _0x4ea9cd=_0x1a8b81,_0x2a27a3=_0x38222c[_0x4ea9cd(0x4d0)];_0x2a27a3===_0x143a17[_0x4ea9cd(0x299)][_0x4ea9cd(0x4b0)]&&this['_onCursorUpdate'](_0x38222c),_0x2a27a3===_0x143a17['CollaborationEvent'][_0x4ea9cd(0x2e0)]&&this['_onCursorDelete'](_0x38222c);}),this['_onRefRangeChange'](),this[_0x1a8b81(0x36b)](this[_0x1a8b81(0x452)][_0x1a8b81(0x514)](_0xd7a2a6=>{const _0x949c2f=_0x1a8b81;if(this[_0x949c2f(0x1ea)]&&_0xd7a2a6['id']===_0x6c9a2[_0x949c2f(0x3d1)]['id']&&_0xd7a2a6[_0x949c2f(0x285)][_0x949c2f(0x5a9)]===this[_0x949c2f(0x5ce)]){const _0x23cdc0=_0xd7a2a6[_0x949c2f(0x285)];this[_0x949c2f(0x4c9)](_0x23cdc0[_0x949c2f(0x2cb)],_0x23cdc0[_0x949c2f(0x3bf)][0x0]);}})));}[_0x20c0a9(0x3c5)](_0x505bb1){const _0x2e1861=_0x20c0a9;var _0x49a527,_0x447d36;const {memberID:_0x107147,selection:_0x271bb1}=_0x505bb1[_0x2e1861(0x248)],{sheetName:_0x5718d0,range:_0x3cbc8d}=_0x38f16c[_0x2e1861(0x519)](_0x271bb1),_0x26f754={'name':(_0x447d36=(_0x49a527=this[_0x2e1861(0x363)][_0x2e1861(0x52f)](this[_0x2e1861(0x5ce)],_0x107147))==null?void 0x0:_0x49a527[_0x2e1861(0x44b)])!=null?_0x447d36:_0x2e1861(0x580),'range':this[_0x2e1861(0x277)](_0x5718d0,_0x3cbc8d),'sheetID':_0x5718d0,'color':this[_0x2e1861(0x3ea)][_0x2e1861(0x26c)](_0x107147),'selection':_0x271bb1},_0x4d0182=this[_0x2e1861(0x5e5)];_0x4d0182[_0x2e1861(0x19a)](_0x107147,_0x26f754),this['_cursorInfo$'][_0x2e1861(0x252)](_0x4d0182);}[_0x20c0a9(0x484)](_0x39df48){const _0x5729a4=_0x20c0a9,{memberID:_0x40c323}=_0x39df48[_0x5729a4(0x248)],_0x5bfb4b=this[_0x5729a4(0x5e5)];_0x5bfb4b[_0x5729a4(0x41f)](_0x40c323),this['_cursorInfo$']['next'](_0x5bfb4b);}[_0x20c0a9(0x277)](_0x56c451,_0x2c1df9){const _0x44c903=_0x20c0a9;var _0xb1487,_0x3b1e8b;const _0x38ce3f=(_0x3b1e8b=(_0xb1487=this[_0x44c903(0x196)]['getUniverSheetInstance'](this[_0x44c903(0x5ce)]))==null?void 0x0:_0xb1487[_0x44c903(0x3f4)](_0x56c451))==null?void 0x0:_0x3b1e8b[_0x44c903(0x48f)]();return(_0x38ce3f==null?void 0x0:_0x38ce3f[_0x44c903(0x394)](_0x296c5c=>_0x442b7a[_0x44c903(0x4bc)][_0x44c903(0x2c1)](_0x296c5c,_0x2c1df9)))||_0x2c1df9;}[_0x20c0a9(0x63d)](){const _0x248de2=_0x20c0a9,_0x382111=new _0x442b7a[(_0x248de2(0x42b))](),_0x4b9ae7=_0x86719(),_0x5d92d7=()=>{const _0x4a2582=_0x248de2;_0x382111[_0x4a2582(0x4c8)]();const _0x12cd22=(_0x4a281e,_0x1efa71,_0x394490,_0x5b6ec1)=>{const _0x41427e=_0x4a2582;let _0x36c7fb=[];switch(_0x4a281e['id']){case _0x6c9a2[_0x41427e(0x566)][_0x41427e(0x21c)]:{_0x36c7fb=_0x6c9a2[_0x41427e(0x5fb)](_0x4a281e,_0x5b6ec1);break;}case _0x6c9a2[_0x41427e(0x566)][_0x41427e(0x38f)]:{_0x36c7fb=_0x6c9a2['handleDeleteRangeMoveUp'](_0x4a281e,_0x5b6ec1);break;}case _0x6c9a2[_0x41427e(0x566)][_0x41427e(0x1ec)]:{_0x36c7fb=_0x6c9a2[_0x41427e(0x539)](_0x4a281e,_0x5b6ec1);break;}case _0x6c9a2['EffectRefRangId'][_0x41427e(0x3e6)]:{_0x36c7fb=_0x6c9a2[_0x41427e(0x56f)](_0x4a281e,_0x5b6ec1);break;}case _0x6c9a2['EffectRefRangId'][_0x41427e(0x27e)]:{_0x36c7fb=_0x6c9a2[_0x41427e(0x37c)](_0x4a281e,_0x5b6ec1);break;}case _0x6c9a2[_0x41427e(0x566)]['InsertRowCommandId']:{_0x36c7fb=_0x6c9a2[_0x41427e(0x2f0)](_0x4a281e,_0x5b6ec1);break;}case _0x6c9a2['EffectRefRangId'][_0x41427e(0x21a)]:{_0x36c7fb=_0x6c9a2[_0x41427e(0x22d)](_0x4a281e,_0x5b6ec1);break;}case _0x6c9a2['EffectRefRangId'][_0x41427e(0x3a0)]:{_0x36c7fb=_0x6c9a2['handleIRemoveCol'](_0x4a281e,_0x5b6ec1);break;}case _0x6c9a2[_0x41427e(0x566)][_0x41427e(0x458)]:{_0x36c7fb=_0x6c9a2['handleIRemoveRow'](_0x4a281e,_0x5b6ec1);break;}}const _0x1e8262=_0x6c9a2[_0x41427e(0x4d1)](_0x36c7fb,_0x5b6ec1),_0x4798ec=this[_0x41427e(0x5e5)]['get'](_0x1efa71);if(_0x4798ec&&_0x1e8262){const _0x48f7b8={..._0x4798ec,'range':_0x1e8262};this[_0x41427e(0x5e5)][_0x41427e(0x19a)](_0x1efa71,_0x48f7b8),_0x4b9ae7(()=>{const _0x3907bd=_0x41427e,_0x2d4f8b=this[_0x3907bd(0x57d)][_0x3907bd(0x209)](_0x1e8262,_0xc2af9d=>(_0x2d4f8b[_0x3907bd(0x4c8)](),_0x12cd22(_0xc2af9d,_0x1efa71,_0x394490,_0x1e8262)));_0x382111['add'](_0x2d4f8b);});}return{'redos':[],'undos':[]};};this[_0x4a2582(0x5e5)][_0x4a2582(0x56a)]((_0xa6d4d6,_0x1429bc)=>{const _0xa826ca=_0x4a2582,{range:_0xa8c8f6,sheetID:_0x51fc6d}=_0xa6d4d6,_0x4fc0a2=this['_refRangeService'][_0xa826ca(0x209)](_0xa8c8f6,_0x14ab01=>(_0x4fc0a2[_0xa826ca(0x4c8)](),_0x12cd22(_0x14ab01,_0x1429bc,_0x51fc6d,_0xa8c8f6)));_0x382111[_0xa826ca(0x4ef)](_0x4fc0a2);});};this[_0x248de2(0x36b)](_0x442b7a['toDisposable'](this[_0x248de2(0x491)][_0x248de2(0x19e)](()=>{_0x5d92d7();})));}[_0x20c0a9(0x18b)](){const _0x34c3be=_0x20c0a9;var _0x1a2b41,_0x38125f;if(this[_0x34c3be(0x1ea)]=!0x0,((_0x1a2b41=this[_0x34c3be(0x196)][_0x34c3be(0x581)]())==null?void 0x0:_0x1a2b41[_0x34c3be(0x60a)]())!==this[_0x34c3be(0x5ce)])return;const _0x56aaad=(_0x38125f=this[_0x34c3be(0x4de)][_0x34c3be(0x43d)](_0x6c9a2['SheetsSelectionsService'])[_0x34c3be(0x192)]())==null?void 0x0:_0x38125f[0x0],_0x1aafd3=this[_0x34c3be(0x196)][_0x34c3be(0x2ba)](_0x442b7a[_0x34c3be(0x524)][_0x34c3be(0x5ed)])['getActiveSheet']();_0x56aaad&&_0x1aafd3&&this[_0x34c3be(0x4c9)](_0x1aafd3['getSheetId'](),_0x56aaad);}[_0x20c0a9(0x224)](){const _0x1c2c37=_0x20c0a9;this[_0x1c2c37(0x1ea)]=!0x1;}};_0x875d82=_0x552294([_0x138a0f(0x2,_0x442b7a['Inject'](_0x442b7a[_0x20c0a9(0x414)])),_0x138a0f(0x3,_0x442b7a['Inject'](_0x3c306a)),_0x138a0f(0x4,_0x442b7a[_0x20c0a9(0x301)](_0x464166[_0x20c0a9(0x357)])),_0x138a0f(0x5,_0x442b7a[_0x20c0a9(0x559)]),_0x138a0f(0x6,_0x442b7a[_0x20c0a9(0x2e6)]),_0x138a0f(0x7,_0x442b7a[_0x20c0a9(0x301)](_0x6c9a2[_0x20c0a9(0x446)]))],_0x875d82);var _0x4f3c01=Object[_0x20c0a9(0x42e)],_0x7264d3=Object[_0x20c0a9(0x526)],_0xb413cf=(_0x4157ee,_0x3b0adb,_0x56fd96,_0xe29542)=>{const _0x243b13=_0x20c0a9;for(var _0x187652=_0xe29542>0x1?void 0x0:_0xe29542?_0x7264d3(_0x3b0adb,_0x56fd96):_0x3b0adb,_0x200111=_0x4157ee[_0x243b13(0x1b1)]-0x1,_0x182d10;_0x200111>=0x0;_0x200111--)(_0x182d10=_0x4157ee[_0x200111])&&(_0x187652=(_0xe29542?_0x182d10(_0x3b0adb,_0x56fd96,_0x187652):_0x182d10(_0x187652))||_0x187652);return _0xe29542&&_0x187652&&_0x4f3c01(_0x3b0adb,_0x56fd96,_0x187652),_0x187652;},_0x41957a=(_0x1ce1d4,_0x556e7b)=>(_0x121dcd,_0x48d4ff)=>_0x556e7b(_0x121dcd,_0x48d4ff,_0x1ce1d4);let _0x374d6f=class extends _0x442b7a[_0x20c0a9(0x1e8)]{constructor(_0x2e13b5,_0x1c2f5c,_0x1eb094){const _0x162939=_0x20c0a9;super(),_0x178698(this,_0x162939(0x312),new Map()),_0x178698(this,'_entityInit$',new _0x5cd5b5['Subject']()),(this['_univerInstanceService']=_0x2e13b5,this[_0x162939(0x4de)]=_0x1c2f5c,this[_0x162939(0x5b4)]=_0x1eb094,this[_0x162939(0x1c0)]());}['dispose'](){const _0x5d8989=_0x20c0a9;super[_0x5d8989(0x4c8)](),this['_entityInit$'][_0x5d8989(0x515)](),this['_entities'][_0x5d8989(0x56a)](_0x8b5e97=>_0x8b5e97[_0x5d8989(0x4c8)]());}[_0x20c0a9(0x2cd)](_0x1adfcb){const _0xb5176d=_0x20c0a9;return this[_0xb5176d(0x312)][_0xb5176d(0x3fb)](_0x1adfcb)?this[_0xb5176d(0x312)][_0xb5176d(0x43d)](_0x1adfcb)[_0xb5176d(0x1af)]:this[_0xb5176d(0x4b5)][_0xb5176d(0x4f0)](_0x5cd5b5[_0xb5176d(0x20d)](_0x21771e=>_0x21771e[_0xb5176d(0x5ce)]===_0x1adfcb),_0x5cd5b5[_0xb5176d(0x3ff)](_0x1c15ac=>_0x1c15ac[_0xb5176d(0x1af)]));}[_0x20c0a9(0x1c0)](){const _0x48c7c9=_0x20c0a9;this[_0x48c7c9(0x196)][_0x48c7c9(0x49f)](_0x442b7a['UniverInstanceType']['UNIVER_SHEET'])[_0x48c7c9(0x4f0)](_0x5cd5b5[_0x48c7c9(0x30f)](this[_0x48c7c9(0x530)]))[_0x48c7c9(0x19e)](async _0x3701bd=>{const _0x182479=_0x48c7c9,_0x4f7668=_0x3701bd[_0x182479(0x60a)](),_0x3f5e92=await this[_0x182479(0x47c)](_0x4f7668);this[_0x182479(0x4b5)]['next'](_0x3f5e92),this[_0x182479(0x312)]['set'](_0x4f7668,_0x3f5e92);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x442b7a[_0x48c7c9(0x524)][_0x48c7c9(0x1b7)])[_0x48c7c9(0x4f0)](_0x5cd5b5[_0x48c7c9(0x30f)](this['dispose$']))[_0x48c7c9(0x4f0)](_0x5cd5b5[_0x48c7c9(0x20d)](_0x1de6a1=>!_0x1de6a1[_0x48c7c9(0x60a)]()[_0x48c7c9(0x338)]('__')))[_0x48c7c9(0x19e)](async _0x1b215c=>{const _0x2874bd=_0x48c7c9,_0xfe5fcb=_0x1b215c[_0x2874bd(0x60a)](),_0x4c8bb9=await this[_0x2874bd(0x512)](_0xfe5fcb);this['_entityInit$'][_0x2874bd(0x252)](_0x4c8bb9),this[_0x2874bd(0x312)][_0x2874bd(0x19a)](_0xfe5fcb,_0x4c8bb9);}),_0x5cd5b5[_0x48c7c9(0x317)](this['_univerInstanceService'][_0x48c7c9(0x197)](_0x442b7a[_0x48c7c9(0x524)]['UNIVER_DOC']),this['_univerInstanceService'][_0x48c7c9(0x197)](_0x442b7a[_0x48c7c9(0x524)]['UNIVER_SHEET']))[_0x48c7c9(0x4f0)](_0x5cd5b5[_0x48c7c9(0x30f)](this[_0x48c7c9(0x530)]))['subscribe'](_0x3be818=>{const _0x6fe53e=_0x48c7c9,_0x509989=_0x3be818[_0x6fe53e(0x60a)](),_0x35a046=this[_0x6fe53e(0x312)][_0x6fe53e(0x43d)](_0x509989);_0x35a046&&(_0x35a046[_0x6fe53e(0x4c8)](),this[_0x6fe53e(0x312)][_0x6fe53e(0x41f)](_0x509989));});}async[_0x20c0a9(0x47c)](_0x1bd587){const _0x3ad645=_0x20c0a9,_0x5cb918=await this[_0x3ad645(0x5b4)][_0x3ad645(0x4fe)](_0x1bd587),_0x3e1de0=this[_0x3ad645(0x4de)]['createInstance'](_0x875d82,_0x1bd587,_0x5cb918);return _0x3e1de0[_0x3ad645(0x2bb)](),_0x3e1de0;}async[_0x20c0a9(0x512)](_0x100584){const _0x4e4c76=_0x20c0a9,_0xc17dbb=await this[_0x4e4c76(0x5b4)]['requireSession'](_0x100584),_0x5cee52=this[_0x4e4c76(0x4de)][_0x4e4c76(0x31c)](_0x10c173,_0x100584,_0xc17dbb);return _0x5cee52[_0x4e4c76(0x2bb)](),_0x5cee52;}};_0x374d6f=_0xb413cf([_0x41957a(0x0,_0x442b7a[_0x20c0a9(0x559)]),_0x41957a(0x1,_0x442b7a['Inject'](_0x442b7a[_0x20c0a9(0x414)])),_0x41957a(0x2,_0x442b7a[_0x20c0a9(0x301)](_0x464166[_0x20c0a9(0x1b4)]))],_0x374d6f);const _0x2c5621=0x14,_0x14db19=0xc8,_0x58cbac=0x4,_0x122291=0x5;function _0x39b564(_0x2bfdba,_0xd1e249){const _0x5ea34e=_0x20c0a9;let {radius:_0xf9a54c,width:_0x4f11e6,height:_0xe3e4e4}=_0xd1e249;_0xf9a54c=_0xf9a54c!=null?_0xf9a54c:0x0,_0x4f11e6=_0x4f11e6!=null?_0x4f11e6:0x1e,_0xe3e4e4=_0xe3e4e4!=null?_0xe3e4e4:0x1e;let _0x288ff5=0x0,_0x287dd9=0x0,_0x74cee6=0x0;_0x288ff5=_0x287dd9=_0x74cee6=Math[_0x5ea34e(0x255)](_0xf9a54c,_0x4f11e6/0x2,_0xe3e4e4/0x2),_0x2bfdba[_0x5ea34e(0x3a4)](),_0x2bfdba[_0x5ea34e(0x5a1)](_0x288ff5,0x0),_0x2bfdba[_0x5ea34e(0x425)](_0x4f11e6-_0x287dd9,0x0),_0x2bfdba[_0x5ea34e(0x45c)](_0x4f11e6-_0x287dd9,_0x287dd9,_0x287dd9,Math['PI']*0x3/0x2,0x0,!0x1),_0x2bfdba[_0x5ea34e(0x425)](_0x4f11e6,_0xe3e4e4-_0x74cee6),_0x2bfdba[_0x5ea34e(0x45c)](_0x4f11e6-_0x74cee6,_0xe3e4e4-_0x74cee6,_0x74cee6,0x0,Math['PI']/0x2,!0x1),_0x2bfdba[_0x5ea34e(0x425)](0x0,_0xe3e4e4),_0x2bfdba[_0x5ea34e(0x425)](0x0,_0x288ff5),_0x2bfdba['arc'](_0x288ff5,_0x288ff5,_0x288ff5,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2bfdba['closePath'](),_0xd1e249[_0x5ea34e(0x20a)]&&(_0x2bfdba[_0x5ea34e(0x54e)](),_0x2bfdba['fillStyle']=_0xd1e249['fill'],_0xd1e249[_0x5ea34e(0x27d)]===_0x5ea34e(0x1ba)?_0x2bfdba[_0x5ea34e(0x20a)](_0x5ea34e(0x1ba)):_0x2bfdba[_0x5ea34e(0x20a)](),_0x2bfdba[_0x5ea34e(0x4f2)]());}class _0x471993 extends _0xbbe220[_0x20c0a9(0x4ff)]{constructor(_0x2edaca,_0x38d12b){const _0x579ad0=_0x20c0a9;super(_0x2edaca,_0x38d12b),_0x178698(this,'color'),_0x178698(this,_0x579ad0(0x354)),(this[_0x579ad0(0x40c)]=_0x38d12b==null?void 0x0:_0x38d12b[_0x579ad0(0x40c)],this[_0x579ad0(0x354)]=_0x38d12b==null?void 0x0:_0x38d12b['text']);}static[_0x20c0a9(0x5e4)](_0x135c9e,_0x53b5e5){const _0x118c0d=_0x20c0a9,{text:_0x346c71,color:_0x5e3ba7}=_0x53b5e5;_0x135c9e['save'](),_0x135c9e[_0x118c0d(0x50c)]=_0x118c0d(0x41d);const _0x2c0056=_0x135c9e['measureText'](_0x346c71)[_0x118c0d(0x654)],_0x3d443c=Math[_0x118c0d(0x255)](_0x2c0056+0x2*_0x58cbac,_0x14db19);_0x39b564(_0x135c9e,{'height':_0x2c5621,'radius':0x4,'width':_0x3d443c,'fill':_0x5e3ba7,'evented':!0x1}),_0x135c9e[_0x118c0d(0x233)]='#FFF';const _0x109e10=_0x58cbac,_0x3d27de=_0x2c5621-_0x122291,_0xf94c3b=_0x14db19-0x2*_0x58cbac;if(_0x2c0056>_0xf94c3b){let _0x4d16df='',_0x362d5c=0x0;for(const _0x1fb94c of _0x346c71){const _0x31cf0d=_0x135c9e[_0x118c0d(0x573)](_0x1fb94c)[_0x118c0d(0x654)];if(_0x362d5c+_0x31cf0d<=_0xf94c3b-_0x135c9e[_0x118c0d(0x573)](_0x118c0d(0x59b))[_0x118c0d(0x654)])_0x4d16df+=_0x1fb94c,_0x362d5c+=_0x31cf0d;else{_0x4d16df+=_0x118c0d(0x59b);break;}}_0x135c9e[_0x118c0d(0x590)](_0x4d16df,_0x109e10,_0x3d27de);}else _0x135c9e[_0x118c0d(0x590)](_0x346c71,_0x109e10,_0x3d27de);_0x135c9e[_0x118c0d(0x4f2)]();}[_0x20c0a9(0x381)](_0x505dd7){const _0x253ded=_0x20c0a9;_0x471993[_0x253ded(0x5e4)](_0x505dd7,this);}}const _0x2d4ba9=_0x20c0a9(0x5b0),_0x8f321d=_0x20c0a9(0x2dd),_0xa073bd=_0x20c0a9(0x5fa),_0xa23755=0x6,_0x5982dc=1.5,_0x3bc9fb=0x4,_0x49de55=1.5,_0x3c9ca5=_0x20c0a9(0x440);class _0x44e8b9{constructor(_0x1daab4,_0x4fc3ba,_0x550314,_0x4835ef){const _0x4448a=_0x20c0a9;_0x178698(this,_0x4448a(0x20f),[]),_0x178698(this,_0x4448a(0x276),null),_0x178698(this,_0x4448a(0x64f),null),_0x178698(this,_0x4448a(0x223),null),_0x178698(this,'_hideTimer',null),_0x178698(this,_0x4448a(0x24f),null),(this[_0x4448a(0x1b6)]=_0x1daab4,this['_scene']=_0x4fc3ba,this['_docSkeleton']=_0x550314,this['_document']=_0x4835ef,this[_0x4448a(0x561)]());}set[_0x20c0a9(0x5f7)](_0x1f3a7c){const _0x327abe=_0x20c0a9;_0x1f3a7c?(this[_0x327abe(0x223)]&&this['_anchorDot'][_0x327abe(0x62f)](),this[_0x327abe(0x64f)]&&this['_textBubble'][_0x327abe(0x2b1)]()):(this[_0x327abe(0x223)]&&this[_0x327abe(0x223)]['show'](),this[_0x327abe(0x64f)]&&this['_textBubble'][_0x327abe(0x62f)]());}[_0x20c0a9(0x4c8)](){const _0x54d77a=_0x20c0a9;for(const _0x45b1b7 of this[_0x54d77a(0x20f)])_0x45b1b7[_0x54d77a(0x4c8)]();this[_0x54d77a(0x64f)]&&this[_0x54d77a(0x64f)][_0x54d77a(0x4c8)](),this[_0x54d77a(0x223)]&&this[_0x54d77a(0x223)]['dispose'](),this[_0x54d77a(0x276)]&&this[_0x54d77a(0x276)][_0x54d77a(0x4c8)](),this[_0x54d77a(0x24f)]&&this['_eventUnsubscribe']();}[_0x20c0a9(0x561)](){const _0x2b072d=_0x20c0a9;var _0x45be25;const {_docSkeleton:_0xa7fed0,_document:_0x41b3b1}=this,{color:_0x651fc1,name:_0x22b76d,ranges:_0x4c823c}=this['_cursor'],_0x16c635=_0x41b3b1[_0x2b072d(0x585)](),{docsLeft:_0x534403,docsTop:_0x1fa0cb}=_0x16c635,_0x431f4a=new _0x1927e6[(_0x2b072d(0x45a))](_0x16c635,_0xa7fed0);for(const {startOffset:_0x363ab8,endOffset:_0x1f6dc7,rangeType:_0xe3753d,segmentId:_0x20bbc9,segmentPage:_0x630613,collapsed:_0x408cb3,isActive:_0x448f7c}of _0x4c823c){const _0x313697=_0xa7fed0[_0x2b072d(0x20b)](_0x363ab8,!0x0,_0x20bbc9,_0x630613);let _0x3a9cb2=_0xa7fed0[_0x2b072d(0x20b)](_0x1f6dc7,!0x0,_0x20bbc9,_0x630613);if(_0x3a9cb2==null&&(_0x3a9cb2=_0xa7fed0[_0x2b072d(0x20b)](_0x1f6dc7-0x1,!0x1,_0x20bbc9,_0x630613)),_0x448f7c){const {contentBoxPointGroup:_0x2d37c0}=_0x431f4a[_0x2b072d(0x3be)](_0x3a9cb2,_0x3a9cb2);if(_0x2d37c0[_0x2b072d(0x1b1)]===0x0)continue;this[_0x2b072d(0x1a3)](_0x651fc1,_0x2d37c0,_0x534403,_0x1fa0cb,_0x22b76d),this[_0x2b072d(0x24f)]=this['_handleHover']();}if(!_0x408cb3&&_0x313697&&_0x3a9cb2){if(_0xe3753d===_0x442b7a['DOC_RANGE_TYPE'][_0x2b072d(0x1b5)]){const _0xc76fdc=new _0x1927e6[(_0x2b072d(0x3c1))](_0x16c635,_0xa7fed0),{pointGroup:_0x57b1c7}=(_0x45be25=_0xc76fdc['getRangePointData'](_0x313697,_0x3a9cb2))!=null?_0x45be25:{};if(_0x57b1c7==null||_0x57b1c7['length']===0x0)continue;this[_0x2b072d(0x305)](_0x651fc1,_0x57b1c7,_0x534403,_0x1fa0cb);}else{const {borderBoxPointGroup:_0x3f2922}=_0x431f4a[_0x2b072d(0x3be)](_0x313697,_0x3a9cb2);if(_0x3f2922[_0x2b072d(0x1b1)]===0x0)continue;this[_0x2b072d(0x61a)](_0x651fc1,_0x3f2922,_0x534403,_0x1fa0cb);}}}}[_0x20c0a9(0x1a3)](_0x246658,_0x296668,_0x13f8fc,_0x25c6bb,_0x1d31c3){const _0x100511=_0x20c0a9,_0x4dd5aa=this[_0x100511(0x208)](_0x296668),{left:_0x525158,top:_0x1b0470,height:_0x1a1c4d}=_0x4dd5aa,_0xa16ad4=this[_0x100511(0x2ab)](),_0x2adbeb=_0x49de55/_0xa16ad4,_0x2ace69=new _0xbbe220[(_0x100511(0x2c3))](_0x2d4ba9+_0x442b7a[_0x100511(0x207)][_0x100511(0x322)](_0xa23755),{'left':_0x525158+_0x13f8fc-_0x2adbeb,'top':_0x1b0470+_0x25c6bb,'height':_0x1a1c4d,'width':_0x5982dc,'fill':_0x246658||_0xbbe220[_0x100511(0x31e)](_0x442b7a[_0x100511(0x2d6)][_0x100511(0x595)],0x0),'strokeWidth':_0x2adbeb,'stroke':_0x3c9ca5,'evented':!0x0});this[_0x100511(0x276)]=_0x2ace69,this[_0x100511(0x361)][_0x100511(0x532)](_0x2ace69,_0x1927e6[_0x100511(0x497)]);const _0x449409=new _0xbbe220['Rect'](_0x2d4ba9+_0x442b7a[_0x100511(0x207)][_0x100511(0x322)](_0xa23755),{'left':_0x525158+_0x13f8fc-_0x2adbeb,'top':_0x1b0470+_0x25c6bb-_0x3bc9fb/0x2,'height':_0x3bc9fb,'width':_0x3bc9fb,'fill':_0x246658||_0xbbe220[_0x100511(0x31e)](_0x442b7a[_0x100511(0x2d6)][_0x100511(0x595)],0x0),'strokeWidth':0x0,'stroke':_0x246658||_0xbbe220[_0x100511(0x31e)](_0x442b7a['COLORS']['black'],0x0),'evented':!0x1});this[_0x100511(0x223)]=_0x449409,this[_0x100511(0x361)][_0x100511(0x532)](_0x449409,_0x1927e6['TEXT_RANGE_LAYER_INDEX']);const _0x3a89a4=new _0x471993(_0x2d4ba9+_0x442b7a[_0x100511(0x207)]['generateRandomId'](_0xa23755),{'left':_0x525158+_0x13f8fc-_0x2adbeb,'top':_0x1b0470+_0x25c6bb-_0x2c5621,'text':_0x1d31c3,'color':_0x246658});this[_0x100511(0x64f)]=_0x3a89a4,this[_0x100511(0x361)][_0x100511(0x532)](_0x3a89a4,_0x1927e6[_0x100511(0x497)]),this[_0x100511(0x5f7)]=!0x1;}['_handleHover'](){const _0x260582=_0x20c0a9,_0x440d43=this['_anchor']['onPointerEnter$'][_0x260582(0x1c1)](()=>{const _0x392363=_0x260582;this[_0x392363(0x5f7)]=!0x0;}),_0x4e29bd=this['_anchor'][_0x260582(0x2e5)]['subscribeEvent'](()=>{const _0x5ed328=_0x260582;this[_0x5ed328(0x5ba)]&&clearTimeout(this[_0x5ed328(0x5ba)]),this[_0x5ed328(0x5ba)]=setTimeout(()=>{const _0x58f8e1=_0x5ed328;this[_0x58f8e1(0x5f7)]=!0x1;},0x7d0);});return()=>{const _0x1f3a1d=_0x260582;_0x440d43[_0x1f3a1d(0x36d)](),_0x4e29bd[_0x1f3a1d(0x36d)]();};}[_0x20c0a9(0x61a)](_0x215f4e,_0x4ed63a,_0x569ebc,_0x3ac21e){const _0x2e798b=_0x20c0a9,_0x2114e4=new _0x442b7a[(_0x2e798b(0x211))](_0x215f4e)[_0x2e798b(0x3a5)](0.2)[_0x2e798b(0x2c7)](),_0x3b010d=new _0xbbe220[(_0x2e798b(0x522))](_0x8f321d+_0x442b7a[_0x2e798b(0x207)][_0x2e798b(0x322)](_0xa23755),{'pointsGroup':_0x4ed63a,'fill':_0x2114e4||_0xbbe220['getColor'](_0x442b7a['COLORS'][_0x2e798b(0x595)],0.2),'left':_0x569ebc,'top':_0x3ac21e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2e798b(0x20f)][_0x2e798b(0x2ce)](_0x3b010d),this[_0x2e798b(0x361)]['addObject'](_0x3b010d,_0x1927e6['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x12f3c8,_0x2489be,_0x155206,_0x194a10){const _0x237063=_0x20c0a9,_0x295336=new _0x442b7a[(_0x237063(0x211))](_0x12f3c8)[_0x237063(0x3a5)](0.2)['toRgbString'](),_0xf7099e=new _0xbbe220[(_0x237063(0x522))](_0xa073bd+_0x442b7a[_0x237063(0x207)][_0x237063(0x322)](_0xa23755),{'pointsGroup':_0x2489be,'fill':_0x295336||_0xbbe220[_0x237063(0x31e)](_0x442b7a['COLORS'][_0x237063(0x595)],0.2),'left':_0x155206,'top':_0x194a10,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x237063(0x20f)]['push'](_0xf7099e),this[_0x237063(0x361)][_0x237063(0x532)](_0xf7099e,_0x1927e6['TEXT_RANGE_LAYER_INDEX']);}[_0x20c0a9(0x208)](_0x5d8bcc){const _0x1853e6=_0x5d8bcc[0x0],_0x1664bc=_0x1853e6[0x0],_0x550082=_0x1853e6[0x2],{x:_0x159513,y:_0x1e7fe4}=_0x1664bc,{x:_0x2d3955,y:_0x5013a8}=_0x550082;return{'left':_0x159513,'top':_0x1e7fe4,'width':_0x2d3955-_0x159513,'height':_0x5013a8-_0x1e7fe4};}[_0x20c0a9(0x2ab)](){const _0xab0261=_0x20c0a9,{scaleX:_0x2253d5,scaleY:_0x51349c}=this['_scene'][_0xab0261(0x58b)]();return Math[_0xab0261(0x5e8)](_0x2253d5,_0x51349c);}}var _0x2af8af=Object[_0x20c0a9(0x42e)],_0x5d78e4=Object[_0x20c0a9(0x526)],_0x21fedb=(_0x5542b8,_0x99bfb7,_0x5fe50e,_0x35b9fb)=>{const _0x10c1be=_0x20c0a9;for(var _0x1ef495=_0x35b9fb>0x1?void 0x0:_0x35b9fb?_0x5d78e4(_0x99bfb7,_0x5fe50e):_0x99bfb7,_0x330372=_0x5542b8[_0x10c1be(0x1b1)]-0x1,_0x1003a1;_0x330372>=0x0;_0x330372--)(_0x1003a1=_0x5542b8[_0x330372])&&(_0x1ef495=(_0x35b9fb?_0x1003a1(_0x99bfb7,_0x5fe50e,_0x1ef495):_0x1003a1(_0x1ef495))||_0x1ef495);return _0x35b9fb&&_0x1ef495&&_0x2af8af(_0x99bfb7,_0x5fe50e,_0x1ef495),_0x1ef495;},_0x152447=(_0x3846e5,_0x838764)=>(_0x1ca960,_0x58835d)=>_0x838764(_0x1ca960,_0x58835d,_0x3846e5);let _0x161178=class extends _0x442b7a[_0x20c0a9(0x1e8)]{constructor(_0x3a3140,_0x16cb41,_0x18d819,_0xce1621,_0x598976){const _0x53279a=_0x20c0a9;super(),_0x178698(this,_0x53279a(0x626),[]),_0x178698(this,_0x53279a(0x5f1),[]),(this[_0x53279a(0x311)]=_0x3a3140,this[_0x53279a(0x398)]=_0x16cb41,this['_collabCursorController']=_0x18d819,this['_commandService']=_0xce1621,this['_themeService']=_0x598976,this[_0x53279a(0x1c0)]());}[_0x20c0a9(0x1c0)](){const _0x5cdb75=_0x20c0a9,_0x360570=this[_0x5cdb75(0x311)][_0x5cdb75(0x5a9)],_0x1ac5fa=this[_0x5cdb75(0x398)];this[_0x5cdb75(0x36b)](_0x5cd5b5[_0x5cdb75(0x485)]([this['_collabCursorController'][_0x5cdb75(0x2cd)](_0x360570),this[_0x5cdb75(0x2cc)][_0x5cdb75(0x583)]])[_0x5cdb75(0x4f0)](_0x368c6f['map'](([_0x1c9813,_0x562cb7])=>({'skeleton':_0x1ac5fa['getSkeleton'](),'cursors':[..._0x1c9813[_0x5cdb75(0x430)]()][_0x5cdb75(0x59f)](_0x23daab=>({..._0x23daab,'color':_0x562cb7[_0x23daab[_0x5cdb75(0x40c)]]}))})))[_0x5cdb75(0x19e)](_0x1960e1=>{const _0x13b75c=_0x5cdb75;if(this[_0x13b75c(0x201)](),_0x1960e1){const {skeleton:_0x7ddd8b,cursors:_0x1e916f}=_0x1960e1;this[_0x13b75c(0x1f5)](_0x7ddd8b,_0x1e916f);}})),this[_0x5cdb75(0x220)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x56647f,_0x29cb3e){const _0x2cc427=_0x20c0a9,{scene:_0x129008,mainComponent:_0x2cc97f}=this[_0x2cc427(0x311)],_0x15693b=_0x29cb3e[_0x2cc427(0x28e)](_0x3b2b5a=>new _0x44e8b9(_0x3b2b5a,_0x129008,_0x56647f,_0x2cc97f));this['_cursorShapes']=_0x15693b,this[_0x2cc427(0x5f1)]=_0x29cb3e;}[_0x20c0a9(0x493)](){const _0x2088dd=_0x20c0a9;this['_removeCollabCursors']();const {scene:_0x51ece8,mainComponent:_0x5897bd}=this[_0x2088dd(0x311)],_0x3441c7=this['_docSkeletonManagerService']['getSkeleton'](),_0x2753cf=this['_cursors'][_0x2088dd(0x28e)](_0xc3605c=>new _0x44e8b9(_0xc3605c,_0x51ece8,_0x3441c7,_0x5897bd));this[_0x2088dd(0x626)]=_0x2753cf;}[_0x20c0a9(0x201)](){const _0x2194a3=_0x20c0a9;this[_0x2194a3(0x626)][_0x2194a3(0x56a)](_0x2b1e07=>_0x2b1e07[_0x2194a3(0x4c8)]()),this['_cursorShapes']=[];}[_0x20c0a9(0x473)](){const _0x300732=_0x20c0a9,_0x38905c=[_0x1927e6[_0x300732(0x406)]['id']];this['disposeWithMe'](this['_commandService'][_0x300732(0x514)](_0x4eb7e2=>{const _0x3ac8fc=_0x300732;_0x38905c[_0x3ac8fc(0x387)](_0x4eb7e2['id'])&&_0x4eb7e2['params']['unitId']===this['_context'][_0x3ac8fc(0x5a9)]&&this['_refreshCollabCursors']();}));}[_0x20c0a9(0x220)](){const _0x58bf78=_0x20c0a9;this[_0x58bf78(0x36b)](_0x442b7a[_0x58bf78(0x2cf)](this[_0x58bf78(0x311)][_0x58bf78(0x4e2)]['onTransformChange$'])[_0x58bf78(0x4f0)](_0x368c6f[_0x58bf78(0x20d)](_0x89a779=>_0x89a779[_0x58bf78(0x54a)]===_0xbbe220[_0x58bf78(0x4e7)][_0x58bf78(0x637)]),_0x368c6f[_0x58bf78(0x24a)](0x10))[_0x58bf78(0x19e)](()=>{const _0x21db2e=_0x58bf78;this[_0x21db2e(0x493)]();}));}};_0x161178=_0x21fedb([_0x152447(0x1,_0x442b7a[_0x20c0a9(0x301)](_0x40b533[_0x20c0a9(0x18c)])),_0x152447(0x2,_0x442b7a[_0x20c0a9(0x301)](_0x374d6f)),_0x152447(0x3,_0x442b7a[_0x20c0a9(0x2e6)]),_0x152447(0x4,_0x442b7a[_0x20c0a9(0x301)](_0x442b7a[_0x20c0a9(0x5c7)]))],_0x161178);const _0x36f798=0x1,_0x59989c=1.5;class _0xbf6f2d extends _0xbbe220['Shape']{constructor(_0x12e9ea,_0x1ca216){const _0x39bff6=_0x20c0a9;super(_0x12e9ea,_0x1ca216),_0x178698(this,_0x39bff6(0x383)),_0x178698(this,'_hovered',!0x1),_0x178698(this,_0x39bff6(0x245)),_0x178698(this,'_name',''),_0x178698(this,_0x39bff6(0x34a),_0x39bff6(0x574)),_0x178698(this,_0x39bff6(0x591)),(_0x1ca216&&this[_0x39bff6(0x36e)](_0x1ca216),this[_0x39bff6(0x450)][_0x39bff6(0x1c1)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x39bff6(0x2e5)][_0x39bff6(0x1c1)](()=>this[_0x39bff6(0x36e)]({'hovered':!0x1})));}[_0x20c0a9(0x36e)](_0x367abb){const _0xf547e0=_0x20c0a9;var _0xc1e6ea,_0x4a6b61,_0x1b9e1c,_0x1d5b98,_0x198042,_0x34f012;this[_0xf547e0(0x383)]=(_0xc1e6ea=_0x367abb[_0xf547e0(0x40c)])!=null?_0xc1e6ea:this['_color'],this['_hovered']=(_0x4a6b61=_0x367abb[_0xf547e0(0x568)])!=null?_0x4a6b61:this[_0xf547e0(0x638)],this[_0xf547e0(0x245)]=(_0x1b9e1c=_0x367abb['range'])!=null?_0x1b9e1c:this['_range'],this[_0xf547e0(0x1ee)]=(_0x1d5b98=_0x367abb['name'])!=null?_0x1d5b98:this[_0xf547e0(0x1ee)],this[_0xf547e0(0x34a)]=(_0x198042=_0x367abb['labelPosition'])!=null?_0x198042:this[_0xf547e0(0x34a)],this['_backgroundColor']=(_0x34f012=_0x367abb[_0xf547e0(0x1bd)])!=null?_0x34f012:this['_backgroundColor'],this[_0xf547e0(0x1e3)]({'width':_0x367abb['width'],'height':_0x367abb[_0xf547e0(0x344)]});}[_0x20c0a9(0x462)](_0x187f45){const _0x1533d3=_0x20c0a9,{row:_0x52bb73,column:_0x4478d2}=_0x187f45;if(_0x52bb73>=this[_0x1533d3(0x245)][_0x1533d3(0x38b)]&&_0x52bb73<=this[_0x1533d3(0x245)]['endRow']&&_0x4478d2>=this[_0x1533d3(0x245)][_0x1533d3(0x582)]&&_0x4478d2<=this[_0x1533d3(0x245)][_0x1533d3(0x46c)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x1533d3(0x36e)]({'hovered':!0x1});}[_0x20c0a9(0x550)](_0x444366){return!0x1;}['_draw'](_0x2689b8){const _0x3f67fa=_0x20c0a9;_0xbbe220[_0x3f67fa(0x2c3)][_0x3f67fa(0x5e4)](_0x2689b8,{'width':this[_0x3f67fa(0x654)],'height':this[_0x3f67fa(0x344)],'strokeWidth':_0x59989c,'stroke':this[_0x3f67fa(0x383)],'evented':!0x1,'fill':this[_0x3f67fa(0x591)]}),this[_0x3f67fa(0x638)]&&(_0x2689b8['save'](),_0x2689b8['transform'](0x1,0x0,0x0,0x1,this[_0x3f67fa(0x654)],this['_labelPosition']==='bottom'?0x0:-_0x2c5621),_0x471993[_0x3f67fa(0x5e4)](_0x2689b8,{'text':this[_0x3f67fa(0x1ee)],'color':this[_0x3f67fa(0x383)]}),_0x2689b8['restore']());}}var _0x1557d2=Object['defineProperty'],_0x56d1c1=Object[_0x20c0a9(0x526)],_0x4443e2=(_0x30bb9a,_0x5f15fb,_0x149313,_0x1e4581)=>{const _0x5b0a2a=_0x20c0a9;for(var _0x5c6213=_0x1e4581>0x1?void 0x0:_0x1e4581?_0x56d1c1(_0x5f15fb,_0x149313):_0x5f15fb,_0x2affa3=_0x30bb9a[_0x5b0a2a(0x1b1)]-0x1,_0x133612;_0x2affa3>=0x0;_0x2affa3--)(_0x133612=_0x30bb9a[_0x2affa3])&&(_0x5c6213=(_0x1e4581?_0x133612(_0x5f15fb,_0x149313,_0x5c6213):_0x133612(_0x5c6213))||_0x5c6213);return _0x1e4581&&_0x5c6213&&_0x1557d2(_0x5f15fb,_0x149313,_0x5c6213),_0x5c6213;},_0x19467c=(_0x4c7eb1,_0x305e74)=>(_0x38d1be,_0x276cb2)=>_0x305e74(_0x38d1be,_0x276cb2,_0x4c7eb1);const _0x2331ef=0x1389;let _0x103ccc=class extends _0x442b7a[_0x20c0a9(0x1e8)]{constructor(_0x5c69d5,_0x4cd344,_0x50be16,_0x416c85){const _0x26aa4b=_0x20c0a9;super(),_0x178698(this,'_cursors',new Set()),_0x178698(this,_0x26aa4b(0x565),null),(this['_context']=_0x5c69d5,this['_sheetSkeletonManagerService']=_0x4cd344,this[_0x26aa4b(0x3d6)]=_0x50be16,this[_0x26aa4b(0x2cc)]=_0x416c85,this[_0x26aa4b(0x1c0)]());}['_init'](){const _0x3d9a60=_0x20c0a9;this['_sheetSkeletonManagerService'][_0x3d9a60(0x43e)][_0x3d9a60(0x4f0)](_0x368c6f[_0x3d9a60(0x30f)](this['dispose$']),_0x368c6f[_0x3d9a60(0x3ff)](_0x41f160=>{const _0xea8b3b=_0x3d9a60;if(_0x41f160){const _0x569f1c=_0x41f160[_0xea8b3b(0x2e2)];return _0x5cd5b5[_0xea8b3b(0x485)](this[_0xea8b3b(0x3d6)]['getCollabCursors$'](this[_0xea8b3b(0x311)][_0xea8b3b(0x5a9)]),this[_0xea8b3b(0x2cc)]['currentTheme$'])[_0xea8b3b(0x4f0)](_0x368c6f[_0xea8b3b(0x28e)](([_0x525aec,_0x1d73d9])=>{const _0x2189fb=_0xea8b3b,_0xcdac47=new Map();return _0x525aec[_0x2189fb(0x56a)]((_0x4ed2c8,_0x52f073)=>{const _0x574057=_0x2189fb;if(_0x4ed2c8[_0x574057(0x2fb)]===_0x569f1c){const _0x5c3ed7={..._0x4ed2c8};_0x5c3ed7['color']=_0x1d73d9[_0x4ed2c8[_0x574057(0x40c)]],_0xcdac47['set'](_0x52f073,_0x5c3ed7);}}),{'skeleton':_0x41f160,'cursors':_0xcdac47};}));}return _0x5cd5b5['of']({'skeleton':null,'cursors':new Map()});}))[_0x3d9a60(0x19e)](({skeleton:_0x5b9d83,cursors:_0x133cc5})=>{const _0xf164c9=_0x3d9a60;this['_removeCollabCursors'](),_0x5b9d83&&this[_0xf164c9(0x1f5)](_0x5b9d83,_0x133cc5);}),this['_sheetSkeletonManagerService'][_0x3d9a60(0x43e)][_0x3d9a60(0x19e)](_0x3b704c=>{const _0x36e614=_0x3d9a60;if(_0x3b704c==null)return;const {skeleton:_0x2b4eb4}=_0x3b704c,{scene:_0x5d49ee}=this[_0x36e614(0x311)];_0x5d49ee[_0x36e614(0x55c)][_0x36e614(0x1c1)](_0x442b7a[_0x36e614(0x319)](_0x457da7=>{const _0x353246=_0x36e614;var _0x400149,_0x14b676;const {offsetX:_0x2ade58,offsetY:_0x42e1e8}=_0x457da7,{x:_0x2de396,y:_0x13d8c8}=_0x5d49ee[_0x353246(0x1bf)](_0xbbe220[_0x353246(0x2d3)][_0x353246(0x4c1)]([_0x2ade58,_0x42e1e8])),{scaleX:_0x4433ff,scaleY:_0x1d04dd}=_0x5d49ee['getAncestorScale'](),_0x6294b3=_0x5d49ee[_0x353246(0x4cc)](_0x14ccae[_0x353246(0x57e)]['VIEW_MAIN']),_0x5bc95f=_0x5d49ee['getVpScrollXYInfoByPosToVp'](_0xbbe220[_0x353246(0x2d3)][_0x353246(0x4c1)]([_0x2de396,_0x13d8c8]),_0x6294b3),_0x5bd8e7=_0x2b4eb4[_0x353246(0x451)](_0x2ade58,_0x42e1e8,_0x4433ff,_0x1d04dd,_0x5bc95f);((_0x400149=this['_lastPointer'])==null?void 0x0:_0x400149[_0x353246(0x330)])===_0x5bd8e7[_0x353246(0x330)]&&((_0x14b676=this[_0x353246(0x565)])==null?void 0x0:_0x14b676[_0x353246(0x40b)])===_0x5bd8e7[_0x353246(0x40b)]||this[_0x353246(0x5f1)][_0x353246(0x56a)](_0x572d7a=>{const _0x2de379=_0x353246;_0x572d7a[_0x2de379(0x462)](_0x5bd8e7);});},0x64));});}[_0x20c0a9(0x1f5)](_0x332ee2,_0x4ea9da){const _0x1dbc69=_0x20c0a9;var _0x1c7773;const _0x2ea2a2=(_0x1c7773=this['_sheetSkeletonManagerService'][_0x1dbc69(0x2b3)]())==null?void 0x0:_0x1c7773[_0x1dbc69(0x237)];if(!_0x2ea2a2)return;const _0x5dcccc=this[_0x1dbc69(0x643)]();if(!_0x5dcccc)return;this[_0x1dbc69(0x5f1)][_0x1dbc69(0x56a)](_0x4d43c2=>{const _0x36da49=_0x1dbc69;_0x4d43c2[_0x36da49(0x2ec)]();});const {scene:_0x57674f}=_0x5dcccc,_0x1826e2=_0x167ada(Array[_0x1dbc69(0x334)](_0x4ea9da[_0x1dbc69(0x430)]()))[_0x1dbc69(0x28e)](_0x2accdd=>{const _0x312a47=_0x1dbc69,{color:_0x5a9c1d,range:_0x5e567c,name:_0x1c59a6,selection:_0x12bf11,sheetID:_0x580a62}=_0x2accdd,{startColumn:_0x2acf5a,startRow:_0x31990c,endColumn:_0xa94632,endRow:_0x2d79e4}=_0x5e567c,_0x1e3439=_0x14ccae[_0x312a47(0x38e)](_0x31990c,_0x2acf5a,_0x57674f,_0x2ea2a2),_0x36b41b=_0x14ccae[_0x312a47(0x38e)](_0x2d79e4,_0xa94632,_0x57674f,_0x2ea2a2),{columnHeaderHeightAndMarginTop:_0x9075dd}=_0x2ea2a2,{startX:_0x450c09,startY:_0x20e0cf}=_0x1e3439,{endX:_0x1909ef,endY:_0x2d3f9c}=_0x36b41b,_0x67f411=_0x1909ef-_0x450c09,_0x4ded32=_0x2d3f9c-_0x20e0cf,_0x36cca0={'labelPosition':_0x20e0cf-_0x9075dd>=_0x2c5621?_0x312a47(0x574):_0x312a47(0x59e),'sheetID':_0x580a62,'range':_0x5e567c,'color':_0x5a9c1d,'name':_0x1c59a6,'selection':_0x12bf11,'left':_0x450c09,'top':_0x20e0cf,'width':_0x67f411,'height':_0x4ded32,'evented':!0x1,'zIndex':_0x2331ef};return new _0xbf6f2d(_0x1c59a6,_0x36cca0);});_0x57674f['addObjects'](_0x1826e2,_0x36f798),this[_0x1dbc69(0x5f1)]=new Set(_0x1826e2);}['_removeCollabCursors'](){const _0x307546=_0x20c0a9;var _0x1db420;(_0x1db420=this[_0x307546(0x5f1)])==null||_0x1db420[_0x307546(0x56a)](_0x249cf7=>_0x249cf7[_0x307546(0x4c8)]());}[_0x20c0a9(0x643)](){const _0x2429a5=_0x20c0a9;return _0x14ccae[_0x2429a5(0x4b9)](this[_0x2429a5(0x311)][_0x2429a5(0x54f)],this[_0x2429a5(0x311)]);}};_0x103ccc=_0x4443e2([_0x19467c(0x1,_0x442b7a[_0x20c0a9(0x301)](_0x14ccae[_0x20c0a9(0x3a8)])),_0x19467c(0x2,_0x442b7a[_0x20c0a9(0x301)](_0x374d6f)),_0x19467c(0x3,_0x442b7a['Inject'](_0x442b7a[_0x20c0a9(0x5c7)]))],_0x103ccc);function _0x167ada(_0x29a741){const _0x4a1b33=_0x20c0a9,_0x49426e=new Map();return _0x29a741[_0x4a1b33(0x56a)](_0x40f060=>{const _0x4cbb8a=_0x4a1b33;if(_0x49426e[_0x4cbb8a(0x3fb)](_0x40f060[_0x4cbb8a(0x5bb)])){const _0x3763eb=_0x49426e[_0x4cbb8a(0x43d)](_0x40f060[_0x4cbb8a(0x5bb)]);_0x3763eb[_0x4cbb8a(0x44b)]+=',\x20'+_0x40f060[_0x4cbb8a(0x44b)];}else _0x49426e[_0x4cbb8a(0x19a)](_0x40f060[_0x4cbb8a(0x5bb)],_0x40f060);}),Array['from'](_0x49426e[_0x4a1b33(0x430)]());}var _0x3c3bdd=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x373aff(_0x25d16b){const _0x193172=_0x20c0a9;return _0x25d16b&&_0x25d16b[_0x193172(0x615)]&&Object['prototype'][_0x193172(0x362)][_0x193172(0x206)](_0x25d16b,_0x193172(0x577))?_0x25d16b['default']:_0x25d16b;}var _0x194fc9={'exports':{}},_0x769041={},_0x3ae057=_0x2f12f6,_0x338d68=Symbol[_0x20c0a9(0x651)](_0x20c0a9(0x494)),_0x51966e=Symbol[_0x20c0a9(0x651)](_0x20c0a9(0x3d8)),_0x508758=Object[_0x20c0a9(0x1d5)][_0x20c0a9(0x362)],_0x2ec218=_0x3ae057['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x20c0a9(0x4b2)],_0x567692={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x50544b(_0x217334,_0xdb829e,_0x7fb272){const _0x3b6abd=_0x20c0a9;var _0x43dc0e,_0xb675eb={},_0x259e8d=null,_0xca7c45=null;_0x7fb272!==void 0x0&&(_0x259e8d=''+_0x7fb272),_0xdb829e['key']!==void 0x0&&(_0x259e8d=''+_0xdb829e[_0x3b6abd(0x23b)]),_0xdb829e[_0x3b6abd(0x2d4)]!==void 0x0&&(_0xca7c45=_0xdb829e[_0x3b6abd(0x2d4)]);for(_0x43dc0e in _0xdb829e)_0x508758[_0x3b6abd(0x206)](_0xdb829e,_0x43dc0e)&&!_0x567692['hasOwnProperty'](_0x43dc0e)&&(_0xb675eb[_0x43dc0e]=_0xdb829e[_0x43dc0e]);if(_0x217334&&_0x217334[_0x3b6abd(0x52a)]){for(_0x43dc0e in(_0xdb829e=_0x217334[_0x3b6abd(0x52a)],_0xdb829e))_0xb675eb[_0x43dc0e]===void 0x0&&(_0xb675eb[_0x43dc0e]=_0xdb829e[_0x43dc0e]);}return{'$$typeof':_0x338d68,'type':_0x217334,'key':_0x259e8d,'ref':_0xca7c45,'props':_0xb675eb,'_owner':_0x2ec218['current']};}_0x769041[_0x20c0a9(0x534)]=_0x51966e,_0x769041[_0x20c0a9(0x612)]=_0x50544b,_0x769041[_0x20c0a9(0x455)]=_0x50544b,_0x194fc9[_0x20c0a9(0x3c9)]=_0x769041;var _0x13ad0c=_0x194fc9['exports'],_0x204e45=function(){const _0x15a91e=_0x20c0a9;return _0x204e45=Object[_0x15a91e(0x517)]||function(_0x32935f){const _0x525e83=_0x15a91e;for(var _0x16536a,_0x3928d0=0x1,_0x133683=arguments[_0x525e83(0x1b1)];_0x3928d0<_0x133683;_0x3928d0++){_0x16536a=arguments[_0x3928d0];for(var _0x18691c in _0x16536a)Object[_0x525e83(0x1d5)][_0x525e83(0x362)][_0x525e83(0x206)](_0x16536a,_0x18691c)&&(_0x32935f[_0x18691c]=_0x16536a[_0x18691c]);}return _0x32935f;},_0x204e45[_0x15a91e(0x5d9)](this,arguments);},_0x363b7e=function(_0x468ac8,_0x235401){const _0x5bbb6a=_0x20c0a9;var _0x69debf={};for(var _0x4478ed in _0x468ac8)Object['prototype']['hasOwnProperty'][_0x5bbb6a(0x206)](_0x468ac8,_0x4478ed)&&_0x235401[_0x5bbb6a(0x3b8)](_0x4478ed)<0x0&&(_0x69debf[_0x4478ed]=_0x468ac8[_0x4478ed]);if(_0x468ac8!=null&&typeof Object[_0x5bbb6a(0x482)]==_0x5bbb6a(0x629)){for(var _0xda5c1e=0x0,_0x4478ed=Object[_0x5bbb6a(0x482)](_0x468ac8);_0xda5c1e<_0x4478ed['length'];_0xda5c1e++)_0x235401[_0x5bbb6a(0x3b8)](_0x4478ed[_0xda5c1e])<0x0&&Object['prototype'][_0x5bbb6a(0x27c)][_0x5bbb6a(0x206)](_0x468ac8,_0x4478ed[_0xda5c1e])&&(_0x69debf[_0x4478ed[_0xda5c1e]]=_0x468ac8[_0x4478ed[_0xda5c1e]]);}return _0x69debf;},_0x533dc0=_0x2f12f6[_0x20c0a9(0x60e)](function(_0x624dd0,_0x1ac958){const _0x1c1dbb=_0x20c0a9;var _0x2cb62c=_0x624dd0[_0x1c1dbb(0x3e5)],_0x3c8a8b=_0x624dd0['id'],_0x56d91c=_0x624dd0['className'],_0x13feb3=_0x624dd0['extend'],_0x22e40b=_0x363b7e(_0x624dd0,[_0x1c1dbb(0x3e5),'id',_0x1c1dbb(0x243),'extend']),_0x21323b=_0x1c1dbb(0x4a9)[_0x1c1dbb(0x601)](_0x3c8a8b,'\x20')['concat'](_0x56d91c||'')[_0x1c1dbb(0x327)](),_0x10be60=_0x2f12f6[_0x1c1dbb(0x203)]('_'['concat'](_0xd7c728()));return _0x47a31d(_0x2cb62c,''[_0x1c1dbb(0x601)](_0x3c8a8b),{'defIds':_0x2cb62c[_0x1c1dbb(0x400)],'idSuffix':_0x10be60[_0x1c1dbb(0x605)]},_0x204e45({'ref':_0x1ac958,'className':_0x21323b},_0x22e40b),_0x13feb3);});function _0x47a31d(_0x380bb4,_0x4379f4,_0x451a67,_0x5a7da3,_0x189eac){const _0x31f7c3=_0x20c0a9;return _0x2f12f6[_0x31f7c3(0x24c)](_0x380bb4[_0x31f7c3(0x470)],_0x204e45(_0x204e45({'key':_0x4379f4},_0x399bb3(_0x380bb4,_0x451a67,_0x189eac)),_0x5a7da3),(_0x233453(_0x380bb4,_0x451a67)[_0x31f7c3(0x28a)]||[])['map'](function(_0x52c9fe,_0x38ef2c){const _0x4cd0e0=_0x31f7c3;return _0x47a31d(_0x52c9fe,''[_0x4cd0e0(0x601)](_0x4379f4,'-')[_0x4cd0e0(0x601)](_0x380bb4[_0x4cd0e0(0x470)],'-')['concat'](_0x38ef2c),_0x451a67,void 0x0,_0x189eac);}));}function _0x399bb3(_0xdf49b8,_0x154c9a,_0x5ea94c){const _0x4a45bf=_0x20c0a9;var _0x41b1d0=_0x204e45({},_0xdf49b8['attrs']);_0x5ea94c!=null&&_0x5ea94c[_0x4a45bf(0x275)]&&_0x41b1d0[_0x4a45bf(0x20a)]===_0x4a45bf(0x275)&&(_0x41b1d0[_0x4a45bf(0x20a)]=_0x5ea94c[_0x4a45bf(0x275)]);var _0x20f5d4=_0x154c9a['defIds'];return!_0x20f5d4||_0x20f5d4[_0x4a45bf(0x1b1)]===0x0||(_0xdf49b8['tag']===_0x4a45bf(0x51f)&&_0x41b1d0[_0x4a45bf(0x38c)]&&(_0x41b1d0['xlink:href']=_0x41b1d0[_0x4a45bf(0x38c)]+_0x154c9a[_0x4a45bf(0x631)]),Object[_0x4a45bf(0x5b1)](_0x41b1d0)[_0x4a45bf(0x56a)](function(_0x151b2d){const _0x219113=_0x4a45bf;var _0x1f77e1=_0x151b2d[0x0],_0x114d0b=_0x151b2d[0x1];typeof _0x114d0b==_0x219113(0x410)&&(_0x41b1d0[_0x1f77e1]=_0x114d0b['replace'](/url\(#(.*)\)/,_0x219113(0x407)[_0x219113(0x601)](_0x154c9a[_0x219113(0x631)],')')));})),_0x41b1d0;}function _0x233453(_0x5b0ee2,_0x30af23){const _0x45eb6c=_0x20c0a9;var _0x1dea97,_0x56a6a3=_0x30af23[_0x45eb6c(0x400)];return!_0x56a6a3||_0x56a6a3[_0x45eb6c(0x1b1)]===0x0?_0x5b0ee2:_0x5b0ee2[_0x45eb6c(0x470)]===_0x45eb6c(0x2c0)&&(!((_0x1dea97=_0x5b0ee2[_0x45eb6c(0x28a)])===null||_0x1dea97===void 0x0)&&_0x1dea97['length'])?_0x204e45(_0x204e45({},_0x5b0ee2),{'children':_0x5b0ee2['children'][_0x45eb6c(0x28e)](function(_0x5a1c07){const _0x571eb8=_0x45eb6c;return typeof _0x5a1c07[_0x571eb8(0x55b)]['id']==_0x571eb8(0x410)&&_0x56a6a3&&_0x56a6a3[_0x571eb8(0x3b8)](_0x5a1c07['attrs']['id'])>-0x1?_0x204e45(_0x204e45({},_0x5a1c07),{'attrs':_0x204e45(_0x204e45({},_0x5a1c07[_0x571eb8(0x55b)]),{'id':_0x5a1c07[_0x571eb8(0x55b)]['id']+_0x30af23[_0x571eb8(0x631)]})}):_0x5a1c07;})}):_0x5b0ee2;}function _0xd7c728(){const _0x1495d4=_0x20c0a9;return Math[_0x1495d4(0x48d)]()[_0x1495d4(0x367)](0x24)[_0x1495d4(0x35f)](0x2,0x8);}_0x533dc0[_0x20c0a9(0x4a0)]=_0x20c0a9(0x1be);var _0x478493={'tag':_0x20c0a9(0x24d),'attrs':{'fill':_0x20c0a9(0x535),'viewBox':_0x20c0a9(0x5c9),'width':'1em','height':_0x20c0a9(0x3d3)},'children':[{'tag':'g','attrs':{'clipPath':_0x20c0a9(0x4c7)},'children':[{'tag':_0x20c0a9(0x3a9),'attrs':{'stroke':'currentColor','d':_0x20c0a9(0x34f),'strokeLinecap':_0x20c0a9(0x48a),'strokeLinejoin':_0x20c0a9(0x48a),'strokeWidth':1.2}}]},{'tag':_0x20c0a9(0x2c0),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x20c0a9(0x460)},'children':[{'tag':_0x20c0a9(0x3a9),'attrs':{'fill':_0x20c0a9(0x2b4),'d':_0x20c0a9(0x434)}}]}]}],'defIds':[_0x20c0a9(0x460)]},_0x19bfac=_0x2f12f6[_0x20c0a9(0x60e)](function(_0x9bb666,_0x2e4957){const _0x3e17e9=_0x20c0a9;return _0x2f12f6[_0x3e17e9(0x24c)](_0x533dc0,Object['assign']({},_0x9bb666,{'id':_0x3e17e9(0x365),'ref':_0x2e4957,'icon':_0x478493}));});_0x19bfac[_0x20c0a9(0x4a0)]=_0x20c0a9(0x3cc);var _0x32b64b={'tag':_0x20c0a9(0x24d),'attrs':{'fill':'none','viewBox':_0x20c0a9(0x48b),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x20c0a9(0x378)},'children':[{'tag':'path','attrs':{'stroke':_0x20c0a9(0x42f),'d':_0x20c0a9(0x5f6),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x20c0a9(0x2c0),'attrs':{},'children':[{'tag':_0x20c0a9(0x321),'attrs':{'id':_0x20c0a9(0x46f)},'children':[{'tag':_0x20c0a9(0x3a9),'attrs':{'fill':_0x20c0a9(0x2b4),'d':_0x20c0a9(0x434),'transform':'translate(.97)'}}]}]}],'defIds':[_0x20c0a9(0x46f)]},_0x355eae=_0x2f12f6[_0x20c0a9(0x60e)](function(_0x12f33a,_0x360ac0){const _0x579b92=_0x20c0a9;return _0x2f12f6[_0x579b92(0x24c)](_0x533dc0,Object[_0x579b92(0x517)]({},_0x12f33a,{'id':_0x579b92(0x5ca),'ref':_0x360ac0,'icon':_0x32b64b}));});_0x355eae[_0x20c0a9(0x4a0)]=_0x20c0a9(0x212);function _0x6ead07(_0x222af1){const _0x959ddd=_0x20c0a9;var _0x2b3d68,_0x1f4e12,_0x145193='';if(typeof _0x222af1==_0x959ddd(0x410)||typeof _0x222af1==_0x959ddd(0x4ad))_0x145193+=_0x222af1;else{if(typeof _0x222af1=='object'){if(Array[_0x959ddd(0x625)](_0x222af1)){var _0x5d17c3=_0x222af1['length'];for(_0x2b3d68=0x0;_0x2b3d68<_0x5d17c3;_0x2b3d68++)_0x222af1[_0x2b3d68]&&(_0x1f4e12=_0x6ead07(_0x222af1[_0x2b3d68]))&&(_0x145193&&(_0x145193+='\x20'),_0x145193+=_0x1f4e12);}else{for(_0x1f4e12 in _0x222af1)_0x222af1[_0x1f4e12]&&(_0x145193&&(_0x145193+='\x20'),_0x145193+=_0x1f4e12);}}}return _0x145193;}function _0x186e0c(){for(var _0x45dea3,_0x358484,_0x58e8f4=0x0,_0x322c1e='',_0x4c0ecd=arguments['length'];_0x58e8f4<_0x4c0ecd;_0x58e8f4++)(_0x45dea3=arguments[_0x58e8f4])&&(_0x358484=_0x6ead07(_0x45dea3))&&(_0x322c1e&&(_0x322c1e+='\x20'),_0x322c1e+=_0x358484);return _0x322c1e;}const _0x4e3fbe={'onlineStatusIcon':_0x20c0a9(0x609),'onlineStatusTitle':_0x20c0a9(0x5be),'onlineStatus':_0x20c0a9(0x2fe),'online':_0x20c0a9(0x2ff),'offline':_0x20c0a9(0x234)};function _0x5e37b1(_0x273493){const _0x38f1a4=_0x20c0a9;switch(_0x273493){case _0x446f55[_0x38f1a4(0x41a)]:return _0x38f1a4(0x1ca);case _0x446f55[_0x38f1a4(0x3d0)]:return'collabStatus.conflict';case _0x446f55[_0x38f1a4(0x238)]:return _0x38f1a4(0x57f);case _0x446f55[_0x38f1a4(0x624)]:return _0x38f1a4(0x271);case _0x446f55[_0x38f1a4(0x191)]:case _0x446f55[_0x38f1a4(0x370)]:return'collabStatus.syncing';case _0x446f55['SYNCED']:case _0x446f55[_0x38f1a4(0x4df)]:return'collabStatus.synced';}}function _0x1b8cf1(_0x43637c){const _0x2f0dac=_0x20c0a9,{status$:_0x1fb80d}=_0x43637c,_0x31c1b0=_0x2b513a[_0x2f0dac(0x315)](_0x1fb80d,_0x446f55[_0x2f0dac(0x624)]),_0x218d5a=_0x442b7a[_0x2f0dac(0x2a4)](_0x442b7a[_0x2f0dac(0x5b2)]),_0x4478fb=_0x442b7a[_0x2f0dac(0x2a4)](_0x464166['CollaborationSessionService']),_0x478a04=_0x31c1b0!==_0x446f55[_0x2f0dac(0x41a)],_0x30bb3a=_0x218d5a['t'](_0x5e37b1(_0x31c1b0)),_0x599c73=_0x186e0c(_0x4e3fbe['onlineStatus'],{[_0x4e3fbe[_0x2f0dac(0x5d4)]]:_0x478a04,[_0x4e3fbe['offline']]:!_0x478a04}),_0x35f40e=_0x478a04?_0x13ad0c[_0x2f0dac(0x612)](_0x355eae,{}):_0x13ad0c[_0x2f0dac(0x612)](_0x19bfac,{}),_0x38f7d4=_0x2f12f6['useCallback'](()=>{const _0x63393e=_0x2f0dac;_0x478a04||_0x4478fb[_0x63393e(0x650)]();},[_0x478a04,_0x4478fb]);function _0x38de3c(){const _0x19a3d7=_0x2f0dac;return _0x13ad0c[_0x19a3d7(0x455)](_0x19a3d7(0x41c),{'className':_0x599c73,'onClick':_0x38f7d4,'children':[_0x13ad0c[_0x19a3d7(0x612)](_0x19a3d7(0x41c),{'className':_0x4e3fbe['onlineStatusIcon'],'children':_0x35f40e}),_0x13ad0c[_0x19a3d7(0x612)](_0x19a3d7(0x41c),{'className':_0x4e3fbe['onlineStatusTitle'],'children':_0x30bb3a})]});}return _0x478a04?_0x38de3c():_0x13ad0c['jsx'](_0x169949['Tooltip'],{'title':_0x218d5a['t'](_0x2f0dac(0x593)),'children':_0x38de3c()});}var _0x55957a=Object[_0x20c0a9(0x42e)],_0x4467d6=Object['getOwnPropertyDescriptor'],_0x74516f=(_0x4be269,_0x4ecd19,_0x51cc84,_0x285887)=>{const _0x2c7347=_0x20c0a9;for(var _0x1c08d0=_0x285887>0x1?void 0x0:_0x285887?_0x4467d6(_0x4ecd19,_0x51cc84):_0x4ecd19,_0x283956=_0x4be269[_0x2c7347(0x1b1)]-0x1,_0x160c64;_0x283956>=0x0;_0x283956--)(_0x160c64=_0x4be269[_0x283956])&&(_0x1c08d0=(_0x285887?_0x160c64(_0x4ecd19,_0x51cc84,_0x1c08d0):_0x160c64(_0x1c08d0))||_0x1c08d0);return _0x285887&&_0x1c08d0&&_0x55957a(_0x4ecd19,_0x51cc84,_0x1c08d0),_0x1c08d0;},_0x27ec36=(_0x43213b,_0x168bbe)=>(_0x3e95a5,_0x45e184)=>_0x168bbe(_0x3e95a5,_0x45e184,_0x43213b);_0x464166[_0x20c0a9(0x1e1)]=class extends _0x442b7a[_0x20c0a9(0x4fb)]{constructor(_0x39e9b6,_0x1b61e0,_0x1e5218,_0x110b86){const _0x31fd89=_0x20c0a9;super(),_0x178698(this,_0x31fd89(0x1a1),new _0x5cd5b5['BehaviorSubject'](_0x446f55['NOT_COLLAB'])),(this[_0x31fd89(0x196)]=_0x39e9b6,this[_0x31fd89(0x261)]=_0x1b61e0,this['_injector']=_0x1e5218,this['_collaborationController']=_0x110b86,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x20c0a9(0x549)](){const _0x3740c7=_0x20c0a9;this[_0x3740c7(0x36b)](this[_0x3740c7(0x196)][_0x3740c7(0x5b3)][_0x3740c7(0x4f0)](_0x5cd5b5[_0x3740c7(0x3ff)](()=>{const _0x814f5d=_0x3740c7,_0x5daa30=this[_0x814f5d(0x196)][_0x814f5d(0x581)]();return _0x5daa30?this[_0x814f5d(0x33d)][_0x814f5d(0x3bc)](_0x5daa30[_0x814f5d(0x60a)]()):_0x5cd5b5['of'](null);}),_0x5cd5b5[_0x3740c7(0x3ff)](_0x143778=>_0x143778?_0x143778[_0x3740c7(0x1fb)]:_0x5cd5b5['of'](_0x446f55[_0x3740c7(0x624)])))[_0x3740c7(0x19e)](_0x40b188=>{const _0x1a184f=_0x3740c7;this[_0x1a184f(0x1a1)]['next'](_0x40b188);}));}[_0x20c0a9(0x4ca)](){const _0x2e81e9=_0x20c0a9;this['disposeWithMe'](this['_uiPartsService'][_0x2e81e9(0x5aa)](_0x2b513a['BuiltInUIPart'][_0x2e81e9(0x1f9)],()=>_0x442b7a[_0x2e81e9(0x4ae)](_0x1a6b22({'status$':this[_0x2e81e9(0x1a1)][_0x2e81e9(0x627)]()}),this[_0x2e81e9(0x4de)])));}},_0x464166[_0x20c0a9(0x1e1)]=_0x74516f([_0x27ec36(0x0,_0x442b7a[_0x20c0a9(0x559)]),_0x27ec36(0x1,_0x2b513a[_0x20c0a9(0x30c)]),_0x27ec36(0x2,_0x442b7a[_0x20c0a9(0x301)](_0x442b7a[_0x20c0a9(0x414)])),_0x27ec36(0x3,_0x442b7a[_0x20c0a9(0x301)](_0x464166[_0x20c0a9(0x2d8)]))],_0x464166[_0x20c0a9(0x1e1)]);function _0x1a6b22(_0x1dec11){const {status$:_0x22066}=_0x1dec11;return function(){const _0x465b3e=_0x414b;return _0x13ad0c[_0x465b3e(0x612)](_0x1b8cf1,{'status$':_0x22066});};}const _0x21a928=_0x442b7a['createIdentifier'](_0x20c0a9(0x5dd));var _0x2e6023=Object[_0x20c0a9(0x42e)],_0x43b00a=Object[_0x20c0a9(0x526)],_0x11f586=(_0x2cd9eb,_0x3c17c8,_0x203fe4,_0x5b2e95)=>{const _0x113d9b=_0x20c0a9;for(var _0x4a3187=_0x5b2e95>0x1?void 0x0:_0x5b2e95?_0x43b00a(_0x3c17c8,_0x203fe4):_0x3c17c8,_0x4497c7=_0x2cd9eb[_0x113d9b(0x1b1)]-0x1,_0x1f6c1d;_0x4497c7>=0x0;_0x4497c7--)(_0x1f6c1d=_0x2cd9eb[_0x4497c7])&&(_0x4a3187=(_0x5b2e95?_0x1f6c1d(_0x3c17c8,_0x203fe4,_0x4a3187):_0x1f6c1d(_0x4a3187))||_0x4a3187);return _0x5b2e95&&_0x4a3187&&_0x2e6023(_0x3c17c8,_0x203fe4,_0x4a3187),_0x4a3187;},_0x325f66=(_0x432d18,_0xc4ecd5)=>(_0x4d3180,_0x4cd72b)=>_0xc4ecd5(_0x4d3180,_0x4cd72b,_0x432d18);_0x464166['DataLoaderController']=class extends _0x442b7a[_0x20c0a9(0x1e8)]{constructor(_0x3c036b,_0x2ede34,_0xf532f,_0xbf212f,_0x4772db,_0x2699fd){const _0x16a0ed=_0x20c0a9;super(),this[_0x16a0ed(0x2df)]=_0x3c036b,this[_0x16a0ed(0x24b)]=_0x2ede34,this[_0x16a0ed(0x452)]=_0xf532f,this['_localCacheService']=_0xbf212f,this[_0x16a0ed(0x2b9)]=_0x4772db,_0x2699fd?_0x2699fd==null||_0x2699fd[_0x16a0ed(0x644)]()['then'](()=>this[_0x16a0ed(0x1c0)]()):(this[_0x16a0ed(0x24b)][_0x16a0ed(0x3b3)]('[DataLoaderController]',_0x16a0ed(0x48e)),this[_0x16a0ed(0x1c0)]());}async[_0x20c0a9(0x1c0)](){const _0x5d1c4d=_0x20c0a9,_0x3ea956=this[_0x5d1c4d(0x2df)][_0x5d1c4d(0x4e6)]('unit'),_0x5baa61=this['_urlService']['getParam']('type');if(!_0x3ea956||!_0x5baa61){this[_0x5d1c4d(0x24b)]['debug']('[DataLoaderController]',_0x5d1c4d(0x339));return;}switch(Number(_0x5baa61)){case _0x18e727['UNIVER_SHEET']:{const _0x5c3177=await this['_loadSheet'](_0x3ea956);this[_0x5d1c4d(0x604)](_0x5c3177);break;}case _0x18e727[_0x5d1c4d(0x1b7)]:{await this[_0x5d1c4d(0x5c2)](_0x3ea956);break;}default:{this[_0x5d1c4d(0x24b)][_0x5d1c4d(0x358)]('[DataLoaderController]',_0x5d1c4d(0x45e));break;}}}async[_0x20c0a9(0x604)](_0x388a4b){const _0x5e9ffb=_0x20c0a9;await this[_0x5e9ffb(0x504)](_0x388a4b),_0x388a4b['activeSheet$']['pipe'](_0x5cd5b5[_0x5e9ffb(0x30f)](this['dispose$']))[_0x5e9ffb(0x19e)](_0xb67b61=>{_0xb67b61&&this['_updateURLWithCurrentState'](_0xb67b61);}),this[_0x5e9ffb(0x2df)][_0x5e9ffb(0x465)]['pipe'](_0x5cd5b5[_0x5e9ffb(0x30f)](this['dispose$']))[_0x5e9ffb(0x19e)](()=>this[_0x5e9ffb(0x504)](_0x388a4b));}['_updateURLWithCurrentState'](_0xbb1a55,_0x14d70d=!0x1){const _0x14469b=_0x20c0a9,_0x2f345f=this[_0x14469b(0x2df)]['getParam'](_0x14469b(0x409));_0xbb1a55['getSheetId']()!==_0x2f345f&&this[_0x14469b(0x2df)][_0x14469b(0x3e9)](_0x14469b(0x409),_0xbb1a55[_0x14469b(0x607)](),_0x14d70d);}async[_0x20c0a9(0x504)](_0x2a57e5){const _0x5858ba=_0x20c0a9;var _0x42ed61;const _0x488706=this[_0x5858ba(0x2df)][_0x5858ba(0x4e6)](_0x5858ba(0x409));if(!_0x488706||!_0x2a57e5[_0x5858ba(0x3f4)](_0x488706)){const _0x5b933f=_0x2a57e5['getUnhiddenWorksheets']()[0x0],_0x41765f=_0x2a57e5[_0x5858ba(0x3f4)](_0x5b933f);if(!_0x41765f)return;this['_updateURLWithCurrentState'](_0x41765f,!0x0),await this[_0x5858ba(0x452)]['executeCommand'](_0x6c9a2[_0x5858ba(0x3af)]['id'],{'unitId':_0x2a57e5[_0x5858ba(0x60a)](),'subUnitId':_0x5b933f});return;}((_0x42ed61=_0x2a57e5[_0x5858ba(0x4aa)]())==null?void 0x0:_0x42ed61['getSheetId']())!==_0x488706&&await this[_0x5858ba(0x452)][_0x5858ba(0x2e3)](_0x6c9a2[_0x5858ba(0x3af)]['id'],{'unitId':_0x2a57e5[_0x5858ba(0x60a)](),'subUnitId':_0x488706});}async[_0x20c0a9(0x1cb)](_0x26f0f0){const _0x82a1a9=_0x20c0a9;let _0x412c47=0x0;const _0x226261=await this[_0x82a1a9(0x560)][_0x82a1a9(0x47e)](_0x26f0f0);return _0x226261&&(_0x226261[_0x82a1a9(0x333)]||_0x226261[_0x82a1a9(0x449)][_0x82a1a9(0x1b1)]!==0x0)&&(_0x412c47=_0x226261[_0x82a1a9(0x199)]),_0x412c47===0x0&&this[_0x82a1a9(0x24b)]['debug'](_0x82a1a9(0x21e),_0x82a1a9(0x283)),this[_0x82a1a9(0x2b9)][_0x82a1a9(0x43b)](_0x26f0f0,_0x412c47);}async[_0x20c0a9(0x5c2)](_0x2dea75){const _0x842dbb=_0x20c0a9;let _0x94c9e1=0x0;const _0x117531=await this[_0x842dbb(0x560)][_0x842dbb(0x47e)](_0x2dea75);return _0x117531&&(_0x117531[_0x842dbb(0x333)]||_0x117531[_0x842dbb(0x449)]['length']!==0x0)&&(_0x94c9e1=_0x117531[_0x842dbb(0x199)]),_0x94c9e1===0x0&&this[_0x842dbb(0x24b)]['debug'](_0x842dbb(0x21e),_0x842dbb(0x283)),this['_snapshotService'][_0x842dbb(0x445)](_0x2dea75,_0x94c9e1);}},_0x464166['DataLoaderController']=_0x11f586([_0x325f66(0x0,_0x21a928),_0x325f66(0x1,_0x442b7a[_0x20c0a9(0x188)]),_0x325f66(0x2,_0x442b7a['ICommandService']),_0x325f66(0x3,_0x442b7a['Inject'](_0x464166[_0x20c0a9(0x2a7)])),_0x325f66(0x4,_0x442b7a[_0x20c0a9(0x301)](_0x143a17[_0x20c0a9(0x2fd)])),_0x325f66(0x5,_0x442b7a[_0x20c0a9(0x4b7)](_0x242628[_0x20c0a9(0x1ac)]))],_0x464166[_0x20c0a9(0x622)]);var _0x251579=Object['defineProperty'],_0x4bd41e=Object[_0x20c0a9(0x526)],_0x5dc23f=(_0x4834e8,_0x5e3e74,_0x235f8f,_0x209174)=>{const _0x4ad028=_0x20c0a9;for(var _0x5abd63=_0x209174>0x1?void 0x0:_0x209174?_0x4bd41e(_0x5e3e74,_0x235f8f):_0x5e3e74,_0x3b356c=_0x4834e8[_0x4ad028(0x1b1)]-0x1,_0x2f34be;_0x3b356c>=0x0;_0x3b356c--)(_0x2f34be=_0x4834e8[_0x3b356c])&&(_0x5abd63=(_0x209174?_0x2f34be(_0x5e3e74,_0x235f8f,_0x5abd63):_0x2f34be(_0x5abd63))||_0x5abd63);return _0x209174&&_0x5abd63&&_0x251579(_0x5e3e74,_0x235f8f,_0x5abd63),_0x5abd63;},_0x8656e0=(_0x443480,_0x1b63e1)=>(_0x2034e5,_0x260532)=>_0x1b63e1(_0x2034e5,_0x260532,_0x443480);const _0x23bb92=_0x20c0a9(0x630),_0x274284=_0x20c0a9(0x193);let _0xd63027=class extends _0x442b7a[_0x20c0a9(0x4fb)]{constructor(_0xc84f4b,_0x309042){const _0x27e89b=_0x20c0a9;super(),this['_univerInstanceService']=_0xc84f4b,this[_0x27e89b(0x293)]=_0x309042,this[_0x27e89b(0x1c0)]();}['_init'](){const _0x3d7573=_0x20c0a9;this[_0x3d7573(0x36b)](this[_0x3d7573(0x196)][_0x3d7573(0x5b3)][_0x3d7573(0x19e)](()=>{const _0x46dd08=_0x3d7573;var _0x52cde5;const _0x32d85d=this[_0x46dd08(0x196)][_0x46dd08(0x581)]();let _0x5683df=(_0x52cde5=this[_0x46dd08(0x293)][_0x46dd08(0x602)](_0x23bb92))!=null?_0x52cde5:_0x274284;_0x32d85d instanceof _0x442b7a['Workbook']&&(_0x5683df=_0x32d85d['name']),document[_0x46dd08(0x219)]=_0x5683df;}));}};_0xd63027=_0x5dc23f([_0x8656e0(0x0,_0x442b7a[_0x20c0a9(0x559)]),_0x8656e0(0x1,_0x442b7a['IConfigService'])],_0xd63027);var _0x588054=Object[_0x20c0a9(0x42e)],_0x24311f=Object['getOwnPropertyDescriptor'],_0x2d5b03=(_0x3a71ac,_0x5270a6,_0x2150ad,_0x1e9e0d)=>{const _0xc1e12=_0x20c0a9;for(var _0x337f88=_0x1e9e0d>0x1?void 0x0:_0x1e9e0d?_0x24311f(_0x5270a6,_0x2150ad):_0x5270a6,_0x5cb4f1=_0x3a71ac[_0xc1e12(0x1b1)]-0x1,_0xd5c078;_0x5cb4f1>=0x0;_0x5cb4f1--)(_0xd5c078=_0x3a71ac[_0x5cb4f1])&&(_0x337f88=(_0x1e9e0d?_0xd5c078(_0x5270a6,_0x2150ad,_0x337f88):_0xd5c078(_0x337f88))||_0x337f88);return _0x1e9e0d&&_0x337f88&&_0x588054(_0x5270a6,_0x2150ad,_0x337f88),_0x337f88;},_0x3ed7d6=(_0x5bb93e,_0x46db46)=>(_0x49334b,_0x51e658)=>_0x46db46(_0x49334b,_0x51e658,_0x5bb93e);let _0xfa2371=class{constructor(_0x2e6ab1,_0x2c97d3,_0x570897){const _0x2b5b39=_0x20c0a9;this[_0x2b5b39(0x293)]=_0x2e6ab1,this[_0x2b5b39(0x490)]=_0x2c97d3,this['localeService']=_0x570897,this[_0x2b5b39(0x2bb)]();}[_0x20c0a9(0x2bb)](){const _0x33e670=_0x20c0a9;this[_0x33e670(0x490)][_0x33e670(0x1ab)]({'priority':0x1,'interceptor':(_0x24b749,_0x32ae6f)=>_0x32ae6f(_0x24b749)[_0x33e670(0x4f0)](_0x5cd5b5[_0x33e670(0x589)](async _0x3705d1=>{const _0xd5dfa8=_0x33e670,_0x3dcac8=_0x3705d1;if(_0x3dcac8[_0xd5dfa8(0x554)]===0x191&&window[_0xd5dfa8(0x53f)](this[_0xd5dfa8(0x2f9)]['t'](_0xd5dfa8(0x342)))){const _0x39dff4=window[_0xd5dfa8(0x3b6)](window['location'][_0xd5dfa8(0x2f5)]);window[_0xd5dfa8(0x60b)][_0xd5dfa8(0x2f5)]=this[_0xd5dfa8(0x53b)]()+_0xd5dfa8(0x46e)+_0x39dff4;}return _0x3dcac8;}))});}[_0x20c0a9(0x53b)](){const _0xa5e25=_0x20c0a9;var _0x504fde,_0x210afb;const _0x18dfc4=this[_0xa5e25(0x293)][_0xa5e25(0x602)](_0x4e8d32),_0xb285ed=this[_0xa5e25(0x293)][_0xa5e25(0x602)](_0x38eaa5);return(_0x210afb=(_0x504fde=_0xb285ed==null?void 0x0:_0xb285ed[_0xa5e25(0x198)])!=null?_0x504fde:_0x18dfc4)!=null?_0x210afb:_0x3ac987;}};_0xfa2371=_0x2d5b03([_0x3ed7d6(0x0,_0x442b7a[_0x20c0a9(0x54d)]),_0x3ed7d6(0x1,_0x442b7a['Inject'](_0xbf8193[_0x20c0a9(0x509)])),_0x3ed7d6(0x2,_0x442b7a['Inject'](_0x442b7a[_0x20c0a9(0x5b2)]))],_0xfa2371);var _0x5424c9=Object[_0x20c0a9(0x42e)],_0x47cdd5=Object['getOwnPropertyDescriptor'],_0x2185f8=(_0x13c44f,_0x41d10b,_0x1a4f43,_0x1e9fe4)=>{for(var _0x40cac0=_0x1e9fe4>0x1?void 0x0:_0x1e9fe4?_0x47cdd5(_0x41d10b,_0x1a4f43):_0x41d10b,_0x23efd2=_0x13c44f['length']-0x1,_0x58e915;_0x23efd2>=0x0;_0x23efd2--)(_0x58e915=_0x13c44f[_0x23efd2])&&(_0x40cac0=(_0x1e9fe4?_0x58e915(_0x41d10b,_0x1a4f43,_0x40cac0):_0x58e915(_0x40cac0))||_0x40cac0);return _0x1e9fe4&&_0x40cac0&&_0x5424c9(_0x41d10b,_0x1a4f43,_0x40cac0),_0x40cac0;},_0x4528f9=(_0x1c9a26,_0x4fd908)=>(_0x6c48e3,_0x31f389)=>_0x4fd908(_0x6c48e3,_0x31f389,_0x1c9a26);const _0x32d5a1=_0x20c0a9(0x5c4),_0x36d666=_0x20c0a9(0x647);_0x464166[_0x20c0a9(0x28c)]=class extends _0x442b7a[_0x20c0a9(0x4fb)]{constructor(_0x489487,_0x1d3757){const _0x2456a4=_0x20c0a9;super(),this['_HTTPService']=_0x489487,this[_0x2456a4(0x293)]=_0x1d3757,this[_0x2456a4(0x290)]();}['_initMergeInterceptor'](){const _0xb06da8=_0x20c0a9,_0x2d78fe=this;this['disposeWithMe'](this[_0xb06da8(0x2a8)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0xbf8193['MergeInterceptorFactory']({'isMatch'(_0x45e38d){const _0x1c5748=_0xb06da8;var _0x471efd;if(_0x45e38d[_0x1c5748(0x318)]===_0x1c5748(0x3bd)&&((_0x471efd=_0x45e38d[_0x1c5748(0x375)])!=null&&_0x471efd[_0x1c5748(0x3b2)])){const {objectID:_0x45f7dd,objectType:_0x443522}=_0x45e38d[_0x1c5748(0x375)]['body']||{};if(!_0x45f7dd||_0x443522===void 0x0)return!0x1;const _0x55d974=_0x2d78fe['_getAPIPrefixPath']()+'/'+_0x443522+_0x1c5748(0x634)+_0x45f7dd+_0x1c5748(0x1d3);if(_0x45e38d[_0x1c5748(0x384)]===_0x55d974)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x379ad7){const _0x579568=_0xb06da8;var _0x29c361;return(_0x29c361=_0x379ad7['requestParams'])==null?void 0x0:_0x29c361[_0x579568(0x3b2)];},'mergeParamsToRequest'(_0x807882,_0x14671c){const _0x43017a=_0xb06da8,_0x3ed063=_0x2d78fe[_0x43017a(0x60d)]()+_0x43017a(0x194),_0x187d66=_0x807882[_0x43017a(0x347)]((_0x5263a9,_0x2f4793)=>{const _0x3c56ce=_0x43017a,{unitID:_0x1f36bc,objectID:_0x41ceea,objectType:_0x3eb4a1,actions:_0x5e4a90}=_0x2f4793;return _0x5263a9[_0x1f36bc]||(_0x5263a9[_0x1f36bc]={}),_0x5263a9[_0x1f36bc][_0x41ceea]||(_0x5263a9[_0x1f36bc][_0x41ceea]={'objectID':_0x41ceea,'objectType':_0x3eb4a1,'actions':[]}),_0x5263a9[_0x1f36bc][_0x41ceea][_0x3c56ce(0x652)]['push'](..._0x5e4a90),_0x5263a9;},{}),_0x5be879=[];for(const _0x12dcec in _0x187d66)for(const _0x21ac6c in _0x187d66[_0x12dcec]){const {actions:_0x3095a2,objectType:_0x2dcf13}=_0x187d66[_0x12dcec][_0x21ac6c],_0x4337a2=[...new Set(_0x3095a2)];_0x5be879[_0x43017a(0x2ce)]({'unitID':_0x12dcec,'objectID':_0x21ac6c,'objectType':_0x2dcf13,'actions':_0x4337a2});}return new _0xbf8193[(_0x43017a(0x594))](_0x43017a(0x3bd),_0x3ed063,{'headers':_0x14671c[_0x43017a(0x423)],'withCredentials':_0x14671c[_0x43017a(0x499)],'responseType':_0x14671c['responseType'],'body':{'requests':_0x5be879}});}},{'distributeResult'(_0xb3aeb,_0x5e809c){const _0x1cb2a8=_0xb06da8,{objectActions:_0x4e81fe}=_0xb3aeb;return _0x5e809c[_0x1cb2a8(0x28e)](_0x43a7d9=>{const _0x1f7968=_0x1cb2a8,{unitID:_0x29a906,objectID:_0x148fa2,actions:_0x27c204}=_0x43a7d9,_0x7bb706=_0x4e81fe[_0x1f7968(0x394)](_0x19f7a3=>_0x19f7a3[_0x1f7968(0x5ce)]===_0x29a906&&_0x19f7a3[_0x1f7968(0x40e)]===_0x148fa2),_0x130988=_0x27c204[_0x1f7968(0x28e)](_0x3fb354=>_0x7bb706==null?void 0x0:_0x7bb706['actions'][_0x1f7968(0x394)](_0x537adc=>_0x537adc[_0x1f7968(0x1df)]===_0x3fb354))[_0x1f7968(0x20d)](_0x58c885=>!!_0x58c885);return{'config':_0x43a7d9,'result':{'actions':_0x130988,'error':_0xb3aeb[_0x1f7968(0x358)]}};});}})}));}[_0x20c0a9(0x60d)](){const _0x2b4bb1=_0x20c0a9;var _0xeda4e9,_0x410d36;const _0x4c42c8=this[_0x2b4bb1(0x293)]['getConfig'](_0x32d5a1),_0x5b0736=this[_0x2b4bb1(0x293)][_0x2b4bb1(0x602)](_0x38eaa5);return(_0x410d36=(_0xeda4e9=_0x5b0736==null?void 0x0:_0x5b0736[_0x2b4bb1(0x51a)])!=null?_0xeda4e9:_0x4c42c8)!=null?_0x410d36:_0x36d666;}async[_0x20c0a9(0x1c8)](_0x53bc55){const _0x2e6f2b=_0x20c0a9,_0x21ec0d=this[_0x2e6f2b(0x60d)]()+'/'+_0x53bc55[_0x2e6f2b(0x55e)]+_0x2e6f2b(0x1a6);return(await this['_HTTPService'][_0x2e6f2b(0x278)](_0x21ec0d,{'body':_0x53bc55}))[_0x2e6f2b(0x3b2)][_0x2e6f2b(0x40e)]||'';}async[_0x20c0a9(0x265)](_0x436f8b){const _0x38f87c=_0x20c0a9,_0x33abc7=this[_0x38f87c(0x60d)]()+'/-/object/list';return(await this['_HTTPService'][_0x38f87c(0x278)](_0x33abc7,{'body':_0x436f8b}))[_0x38f87c(0x3b2)][_0x38f87c(0x467)];}async['update'](_0x49e0f7){const _0x547061=_0x20c0a9,_0x10cc89=this[_0x547061(0x60d)]()+'/'+_0x49e0f7[_0x547061(0x55e)]+_0x547061(0x634)+_0x49e0f7[_0x547061(0x40e)];await this[_0x547061(0x2a8)][_0x547061(0x5ad)](_0x10cc89,{'body':_0x49e0f7});}async[_0x20c0a9(0x5b9)](_0x2d683b){const _0x1489f0=_0x20c0a9,_0x4bc287=this['_getAPIPrefixPath']()+'/'+_0x2d683b['objectType']+_0x1489f0(0x634)+_0x2d683b[_0x1489f0(0x40e)]+'/allowed';return(await this[_0x1489f0(0x2a8)][_0x1489f0(0x278)](_0x4bc287,{'body':_0x2d683b}))[_0x1489f0(0x3b2)][_0x1489f0(0x652)];}async[_0x20c0a9(0x64b)](_0x1d4647){const _0x4e8cf2=_0x20c0a9,_0x295de0=this[_0x4e8cf2(0x60d)]()+_0x4e8cf2(0x194);return(await this['_HTTPService'][_0x4e8cf2(0x278)](_0x295de0,{'body':{'requests':_0x1d4647}}))[_0x4e8cf2(0x3b2)][_0x4e8cf2(0x390)];}async['listRoles'](_0x47d73b){const _0x13959f=_0x20c0a9,_0x57be1b=this[_0x13959f(0x60d)]()+'/'+_0x47d73b[_0x13959f(0x55e)]+_0x13959f(0x557),_0x232716=await this['_HTTPService']['post'](_0x57be1b,{'body':_0x47d73b});return{'roles':_0x232716[_0x13959f(0x3b2)][_0x13959f(0x2b8)],'actions':_0x232716['body']['actions']};}async[_0x20c0a9(0x478)](_0x1088cb){const _0x4ca3ff=_0x20c0a9,_0x2a9007=this[_0x4ca3ff(0x60d)]()+_0x4ca3ff(0x22a);await this[_0x4ca3ff(0x2a8)]['delete'](_0x2a9007,{'params':{'collaboratorID':_0x1088cb[_0x4ca3ff(0x2c5)],'objectID':_0x1088cb[_0x4ca3ff(0x40e)],'unitID':_0x1088cb[_0x4ca3ff(0x5ce)]}});}async[_0x20c0a9(0x244)](_0x3bc4e6){const _0x5a48f7=_0x20c0a9,_0x4f6205=this['_getAPIPrefixPath']()+_0x5a48f7(0x22a);await this['_HTTPService']['patch'](_0x4f6205,{'body':_0x3bc4e6});}async[_0x20c0a9(0x4ce)](_0x45ce51){const _0x11ad72=_0x20c0a9,_0x338553=this[_0x11ad72(0x60d)]()+'/collaborator';await this['_HTTPService'][_0x11ad72(0x278)](_0x338553,{'body':_0x45ce51});}async[_0x20c0a9(0x575)](_0xcc6420){const _0x37ec3d=_0x20c0a9,_0x12cac1=this[_0x37ec3d(0x60d)]()+_0x37ec3d(0x22a);return(await this['_HTTPService'][_0x37ec3d(0x43d)](_0x12cac1,{'params':{'objectID':_0xcc6420['objectID'],'unitID':_0xcc6420[_0x37ec3d(0x5ce)]}}))[_0x37ec3d(0x3b2)]['collaborators'];}async['putCollaborators'](_0x3e1ba7){const _0x3d90e2=_0x20c0a9,_0x11cfc9=this[_0x3d90e2(0x60d)]()+_0x3d90e2(0x22a);await this[_0x3d90e2(0x2a8)][_0x3d90e2(0x5ad)](_0x11cfc9,{'body':_0x3e1ba7});}},_0x464166[_0x20c0a9(0x28c)]=_0x2185f8([_0x4528f9(0x0,_0x442b7a['Inject'](_0xbf8193[_0x20c0a9(0x509)])),_0x4528f9(0x1,_0x442b7a['Inject'](_0x442b7a[_0x20c0a9(0x54d)]))],_0x464166[_0x20c0a9(0x28c)]);var _0x3a40aa={'exports':{}};function _0x37bce2(_0x1a7c5c){const _0x1a9a2e=_0x20c0a9;throw new Error(_0x1a9a2e(0x548)+_0x1a7c5c+_0x1a9a2e(0x309));}var _0x4848e0={'exports':{}},_0x45bc7f;function _0x3b7cdd(){return _0x45bc7f||(_0x45bc7f=0x1,function(_0x42276b,_0x57b1f9){(function(_0x54ddd3,_0x3fb0cf){const _0x3f7f9c=_0x414b;_0x42276b[_0x3f7f9c(0x3c9)]=_0x3fb0cf();}(_0x3c3bdd,function(){var _0x2d7049=_0x2d7049||function(_0x3b6232,_0xe21b57){const _0xd575a6=_0x414b;var _0x3c6be4;if(typeof window<'u'&&window[_0xd575a6(0x389)]&&(_0x3c6be4=window['crypto']),typeof self<'u'&&self[_0xd575a6(0x389)]&&(_0x3c6be4=self[_0xd575a6(0x389)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3c6be4=globalThis[_0xd575a6(0x389)]),!_0x3c6be4&&typeof window<'u'&&window[_0xd575a6(0x525)]&&(_0x3c6be4=window[_0xd575a6(0x525)]),!_0x3c6be4&&typeof _0x3c3bdd<'u'&&_0x3c3bdd['crypto']&&(_0x3c6be4=_0x3c3bdd[_0xd575a6(0x389)]),!_0x3c6be4&&typeof _0x37bce2=='function')try{_0x3c6be4=require(_0xd575a6(0x389));}catch{}var _0x49bf34=function(){const _0x27541d=_0xd575a6;if(_0x3c6be4){if(typeof _0x3c6be4[_0x27541d(0x253)]=='function')try{return _0x3c6be4[_0x27541d(0x253)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3c6be4[_0x27541d(0x1d8)]==_0x27541d(0x629))try{return _0x3c6be4[_0x27541d(0x1d8)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x27541d(0x326));},_0x512979=Object[_0xd575a6(0x1c8)]||(function(){function _0xbc73d(){}return function(_0x1f6f18){const _0x261622=_0x414b;var _0x5af619;return _0xbc73d[_0x261622(0x1d5)]=_0x1f6f18,_0x5af619=new _0xbc73d(),_0xbc73d[_0x261622(0x1d5)]=null,_0x5af619;};}()),_0x407066={},_0x14233e=_0x407066['lib']={},_0x327169=_0x14233e[_0xd575a6(0x294)]=(function(){return{'extend':function(_0x444813){const _0x59c34e=_0x414b;var _0x3efc2f=_0x512979(this);return _0x444813&&_0x3efc2f[_0x59c34e(0x53a)](_0x444813),(!_0x3efc2f[_0x59c34e(0x362)](_0x59c34e(0x2bb))||this[_0x59c34e(0x2bb)]===_0x3efc2f[_0x59c34e(0x2bb)])&&(_0x3efc2f[_0x59c34e(0x2bb)]=function(){const _0x5d1961=_0x59c34e;_0x3efc2f[_0x5d1961(0x3ec)][_0x5d1961(0x2bb)][_0x5d1961(0x5d9)](this,arguments);}),_0x3efc2f[_0x59c34e(0x2bb)][_0x59c34e(0x1d5)]=_0x3efc2f,_0x3efc2f['$super']=this,_0x3efc2f;},'create':function(){const _0x40af0a=_0x414b;var _0x300e0f=this[_0x40af0a(0x372)]();return _0x300e0f['init'][_0x40af0a(0x5d9)](_0x300e0f,arguments),_0x300e0f;},'init':function(){},'mixIn':function(_0xfceeb2){const _0x3c4375=_0x414b;for(var _0x3fbd9d in _0xfceeb2)_0xfceeb2[_0x3c4375(0x362)](_0x3fbd9d)&&(this[_0x3fbd9d]=_0xfceeb2[_0x3fbd9d]);_0xfceeb2['hasOwnProperty']('toString')&&(this[_0x3c4375(0x367)]=_0xfceeb2[_0x3c4375(0x367)]);},'clone':function(){const _0x5cc54d=_0x414b;return this[_0x5cc54d(0x2bb)][_0x5cc54d(0x1d5)][_0x5cc54d(0x372)](this);}};}()),_0x3bfae5=_0x14233e['WordArray']=_0x327169['extend']({'init':function(_0x1bd0ad,_0x439ea2){const _0x49b460=_0xd575a6;_0x1bd0ad=this['words']=_0x1bd0ad||[],_0x439ea2!=_0xe21b57?this['sigBytes']=_0x439ea2:this[_0x49b460(0x2a3)]=_0x1bd0ad[_0x49b460(0x1b1)]*0x4;},'toString':function(_0x23d4b0){return(_0x23d4b0||_0x484a83)['stringify'](this);},'concat':function(_0x3254d3){const _0x1c3a66=_0xd575a6;var _0x196e24=this[_0x1c3a66(0x1d9)],_0x30ceb9=_0x3254d3[_0x1c3a66(0x1d9)],_0x477537=this[_0x1c3a66(0x2a3)],_0x3d290a=_0x3254d3[_0x1c3a66(0x2a3)];if(this['clamp'](),_0x477537%0x4)for(var _0x3da00=0x0;_0x3da00<_0x3d290a;_0x3da00++){var _0x35bd9d=_0x30ceb9[_0x3da00>>>0x2]>>>0x18-_0x3da00%0x4*0x8&0xff;_0x196e24[_0x477537+_0x3da00>>>0x2]|=_0x35bd9d<<0x18-(_0x477537+_0x3da00)%0x4*0x8;}else{for(var _0x134988=0x0;_0x134988<_0x3d290a;_0x134988+=0x4)_0x196e24[_0x477537+_0x134988>>>0x2]=_0x30ceb9[_0x134988>>>0x2];}return this[_0x1c3a66(0x2a3)]+=_0x3d290a,this;},'clamp':function(){const _0x521ec6=_0xd575a6;var _0x2ff24a=this['words'],_0x9dc3d9=this[_0x521ec6(0x2a3)];_0x2ff24a[_0x9dc3d9>>>0x2]&=0xffffffff<<0x20-_0x9dc3d9%0x4*0x8,_0x2ff24a[_0x521ec6(0x1b1)]=_0x3b6232[_0x521ec6(0x4d8)](_0x9dc3d9/0x4);},'clone':function(){const _0x359e60=_0xd575a6;var _0x54c520=_0x327169[_0x359e60(0x55a)][_0x359e60(0x206)](this);return _0x54c520['words']=this['words'][_0x359e60(0x408)](0x0),_0x54c520;},'random':function(_0x4469f8){const _0x26dc82=_0xd575a6;for(var _0x576de2=[],_0x4024ab=0x0;_0x4024ab<_0x4469f8;_0x4024ab+=0x4)_0x576de2['push'](_0x49bf34());return new _0x3bfae5[(_0x26dc82(0x2bb))](_0x576de2,_0x4469f8);}}),_0x5704de=_0x407066[_0xd575a6(0x44e)]={},_0x484a83=_0x5704de[_0xd575a6(0x457)]={'stringify':function(_0x10f57f){const _0x24216e=_0xd575a6;for(var _0x564fe8=_0x10f57f[_0x24216e(0x1d9)],_0x3b2c86=_0x10f57f[_0x24216e(0x2a3)],_0x50ec3e=[],_0x3e9d0e=0x0;_0x3e9d0e<_0x3b2c86;_0x3e9d0e++){var _0x1ff876=_0x564fe8[_0x3e9d0e>>>0x2]>>>0x18-_0x3e9d0e%0x4*0x8&0xff;_0x50ec3e[_0x24216e(0x2ce)]((_0x1ff876>>>0x4)[_0x24216e(0x367)](0x10)),_0x50ec3e['push']((_0x1ff876&0xf)['toString'](0x10));}return _0x50ec3e['join']('');},'parse':function(_0x473ddb){const _0x2392bb=_0xd575a6;for(var _0x134e74=_0x473ddb['length'],_0x5abf90=[],_0x321e23=0x0;_0x321e23<_0x134e74;_0x321e23+=0x2)_0x5abf90[_0x321e23>>>0x3]|=parseInt(_0x473ddb[_0x2392bb(0x1a0)](_0x321e23,0x2),0x10)<<0x18-_0x321e23%0x8*0x4;return new _0x3bfae5[(_0x2392bb(0x2bb))](_0x5abf90,_0x134e74/0x2);}},_0x3c3287=_0x5704de[_0xd575a6(0x257)]={'stringify':function(_0x2cbd5f){const _0x5ee0a7=_0xd575a6;for(var _0x1f81d2=_0x2cbd5f['words'],_0x3c0d36=_0x2cbd5f[_0x5ee0a7(0x2a3)],_0x17b6a8=[],_0x4a4f83=0x0;_0x4a4f83<_0x3c0d36;_0x4a4f83++){var _0x72d03d=_0x1f81d2[_0x4a4f83>>>0x2]>>>0x18-_0x4a4f83%0x4*0x8&0xff;_0x17b6a8[_0x5ee0a7(0x2ce)](String[_0x5ee0a7(0x22c)](_0x72d03d));}return _0x17b6a8[_0x5ee0a7(0x241)]('');},'parse':function(_0x48bd64){const _0x5d49d9=_0xd575a6;for(var _0x419493=_0x48bd64[_0x5d49d9(0x1b1)],_0x40481e=[],_0xcfd5de=0x0;_0xcfd5de<_0x419493;_0xcfd5de++)_0x40481e[_0xcfd5de>>>0x2]|=(_0x48bd64[_0x5d49d9(0x1b0)](_0xcfd5de)&0xff)<<0x18-_0xcfd5de%0x4*0x8;return new _0x3bfae5['init'](_0x40481e,_0x419493);}},_0x55bf69=_0x5704de['Utf8']={'stringify':function(_0xd52be2){const _0x948337=_0xd575a6;try{return decodeURIComponent(escape(_0x3c3287['stringify'](_0xd52be2)));}catch{throw new Error(_0x948337(0x4c2));}},'parse':function(_0x481341){const _0x5c994c=_0xd575a6;return _0x3c3287[_0x5c994c(0x352)](unescape(encodeURIComponent(_0x481341)));}},_0x2b71dc=_0x14233e[_0xd575a6(0x50f)]=_0x327169[_0xd575a6(0x372)]({'reset':function(){const _0x4fd009=_0xd575a6;this[_0x4fd009(0x226)]=new _0x3bfae5[(_0x4fd009(0x2bb))](),this[_0x4fd009(0x3cd)]=0x0;},'_append':function(_0x52a210){const _0x1751dd=_0xd575a6;typeof _0x52a210==_0x1751dd(0x410)&&(_0x52a210=_0x55bf69[_0x1751dd(0x352)](_0x52a210)),this[_0x1751dd(0x226)][_0x1751dd(0x601)](_0x52a210),this[_0x1751dd(0x3cd)]+=_0x52a210[_0x1751dd(0x2a3)];},'_process':function(_0x40ca0c){const _0x6192c5=_0xd575a6;var _0x7c4fab,_0x300d10=this['_data'],_0x16f0b9=_0x300d10['words'],_0x415ad5=_0x300d10[_0x6192c5(0x2a3)],_0x5d517c=this[_0x6192c5(0x4d4)],_0x2581fa=_0x5d517c*0x4,_0x50141a=_0x415ad5/_0x2581fa;_0x40ca0c?_0x50141a=_0x3b6232['ceil'](_0x50141a):_0x50141a=_0x3b6232[_0x6192c5(0x5e8)]((_0x50141a|0x0)-this[_0x6192c5(0x5f9)],0x0);var _0x5e99d7=_0x50141a*_0x5d517c,_0x5b787c=_0x3b6232[_0x6192c5(0x255)](_0x5e99d7*0x4,_0x415ad5);if(_0x5e99d7){for(var _0x24f663=0x0;_0x24f663<_0x5e99d7;_0x24f663+=_0x5d517c)this['_doProcessBlock'](_0x16f0b9,_0x24f663);_0x7c4fab=_0x16f0b9[_0x6192c5(0x424)](0x0,_0x5e99d7),_0x300d10[_0x6192c5(0x2a3)]-=_0x5b787c;}return new _0x3bfae5[(_0x6192c5(0x2bb))](_0x7c4fab,_0x5b787c);},'clone':function(){const _0x2791be=_0xd575a6;var _0x4bd77b=_0x327169[_0x2791be(0x55a)][_0x2791be(0x206)](this);return _0x4bd77b[_0x2791be(0x226)]=this['_data'][_0x2791be(0x55a)](),_0x4bd77b;},'_minBufferSize':0x0});_0x14233e[_0xd575a6(0x51c)]=_0x2b71dc[_0xd575a6(0x372)]({'cfg':_0x327169[_0xd575a6(0x372)](),'init':function(_0x11ac7b){const _0x5d84dd=_0xd575a6;this['cfg']=this['cfg'][_0x5d84dd(0x372)](_0x11ac7b),this[_0x5d84dd(0x606)]();},'reset':function(){const _0x4ca565=_0xd575a6;_0x2b71dc[_0x4ca565(0x606)][_0x4ca565(0x206)](this),this['_doReset']();},'update':function(_0x11f24b){const _0x51aa93=_0xd575a6;return this[_0x51aa93(0x415)](_0x11f24b),this['_process'](),this;},'finalize':function(_0x5ed91b){const _0x3e0961=_0xd575a6;_0x5ed91b&&this[_0x3e0961(0x415)](_0x5ed91b);var _0x3b38fe=this['_doFinalize']();return _0x3b38fe;},'blockSize':0x10,'_createHelper':function(_0x5841bd){return function(_0x523bb3,_0x10c1fa){const _0x33244b=_0x414b;return new _0x5841bd[(_0x33244b(0x2bb))](_0x10c1fa)[_0x33244b(0x33a)](_0x523bb3);};},'_createHmacHelper':function(_0xb90bc){return function(_0x91c5a9,_0x55c98d){const _0x5cdcc4=_0x414b;return new _0x355de8[(_0x5cdcc4(0x4e5))][(_0x5cdcc4(0x2bb))](_0xb90bc,_0x55c98d)['finalize'](_0x91c5a9);};}});var _0x355de8=_0x407066['algo']={};return _0x407066;}(Math);return _0x2d7049;}));}(_0x4848e0)),_0x4848e0['exports'];}var _0x1d7df6={'exports':{}},_0x37d6c6;function _0xd666fa(){const _0xa16686=_0x20c0a9;return _0x37d6c6||(_0x37d6c6=0x1,function(_0x5c408a,_0x5200e2){(function(_0x375cc7,_0x476269){_0x5c408a['exports']=_0x476269(_0x3b7cdd());}(_0x3c3bdd,function(_0x10d8b4){const _0x5423a7=_0x414b;return(function(){const _0x3908ad=_0x414b;var _0x3f6f92=_0x10d8b4,_0x3f801e=_0x3f6f92[_0x3908ad(0x46d)],_0x131443=_0x3f801e[_0x3908ad(0x63a)],_0x2dd1b5=_0x3f6f92[_0x3908ad(0x44e)];_0x2dd1b5['Base64']={'stringify':function(_0x3239e2){const _0x2b45ae=_0x3908ad;var _0x3f8ec1=_0x3239e2[_0x2b45ae(0x1d9)],_0x175a0d=_0x3239e2[_0x2b45ae(0x2a3)],_0x394eb3=this[_0x2b45ae(0x266)];_0x3239e2[_0x2b45ae(0x5b5)]();for(var _0x39340d=[],_0x229fdf=0x0;_0x229fdf<_0x175a0d;_0x229fdf+=0x3)for(var _0x546f67=_0x3f8ec1[_0x229fdf>>>0x2]>>>0x18-_0x229fdf%0x4*0x8&0xff,_0xc3f56a=_0x3f8ec1[_0x229fdf+0x1>>>0x2]>>>0x18-(_0x229fdf+0x1)%0x4*0x8&0xff,_0x4ea889=_0x3f8ec1[_0x229fdf+0x2>>>0x2]>>>0x18-(_0x229fdf+0x2)%0x4*0x8&0xff,_0x1a3a8f=_0x546f67<<0x10|_0xc3f56a<<0x8|_0x4ea889,_0x4d7d3d=0x0;_0x4d7d3d<0x4&&_0x229fdf+_0x4d7d3d*0.75<_0x175a0d;_0x4d7d3d++)_0x39340d[_0x2b45ae(0x2ce)](_0x394eb3[_0x2b45ae(0x541)](_0x1a3a8f>>>0x6*(0x3-_0x4d7d3d)&0x3f));var _0x251117=_0x394eb3[_0x2b45ae(0x541)](0x40);if(_0x251117){for(;_0x39340d[_0x2b45ae(0x1b1)]%0x4;)_0x39340d[_0x2b45ae(0x2ce)](_0x251117);}return _0x39340d[_0x2b45ae(0x241)]('');},'parse':function(_0x1a7ef7){const _0x29f7c2=_0x3908ad;var _0x4343aa=_0x1a7ef7['length'],_0x5b9eaa=this[_0x29f7c2(0x266)],_0x3b4201=this[_0x29f7c2(0x58d)];if(!_0x3b4201){_0x3b4201=this['_reverseMap']=[];for(var _0x1afd64=0x0;_0x1afd64<_0x5b9eaa[_0x29f7c2(0x1b1)];_0x1afd64++)_0x3b4201[_0x5b9eaa['charCodeAt'](_0x1afd64)]=_0x1afd64;}var _0x5e5d0c=_0x5b9eaa[_0x29f7c2(0x541)](0x40);if(_0x5e5d0c){var _0xda78a2=_0x1a7ef7[_0x29f7c2(0x3b8)](_0x5e5d0c);_0xda78a2!==-0x1&&(_0x4343aa=_0xda78a2);}return _0xcafd30(_0x1a7ef7,_0x4343aa,_0x3b4201);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0xcafd30(_0x4403b4,_0x34328e,_0x801302){const _0x5c2d97=_0x3908ad;for(var _0x441b67=[],_0xcb8745=0x0,_0x3e74a3=0x0;_0x3e74a3<_0x34328e;_0x3e74a3++)if(_0x3e74a3%0x4){var _0x574e2a=_0x801302[_0x4403b4[_0x5c2d97(0x1b0)](_0x3e74a3-0x1)]<<_0x3e74a3%0x4*0x2,_0x13812b=_0x801302[_0x4403b4[_0x5c2d97(0x1b0)](_0x3e74a3)]>>>0x6-_0x3e74a3%0x4*0x2,_0x336428=_0x574e2a|_0x13812b;_0x441b67[_0xcb8745>>>0x2]|=_0x336428<<0x18-_0xcb8745%0x4*0x8,_0xcb8745++;}return _0x131443[_0x5c2d97(0x1c8)](_0x441b67,_0xcb8745);}}()),_0x10d8b4['enc'][_0x5423a7(0x36a)];}));}(_0x1d7df6)),_0x1d7df6[_0xa16686(0x3c9)];}var _0x1e6753={'exports':{}},_0x464914;function _0x2f01fa(){return _0x464914||(_0x464914=0x1,function(_0x12dc83,_0x296317){(function(_0xbcacbc,_0x11daeb){const _0x3ec379=_0x414b;_0x12dc83[_0x3ec379(0x3c9)]=_0x11daeb(_0x3b7cdd());}(_0x3c3bdd,function(_0x276b05){return function(_0x3f7c85){const _0x5c910d=_0x414b;var _0x114ced=_0x276b05,_0x2e09ff=_0x114ced[_0x5c910d(0x46d)],_0x515f12=_0x2e09ff[_0x5c910d(0x63a)],_0x56a736=_0x2e09ff[_0x5c910d(0x51c)],_0x115872=_0x114ced[_0x5c910d(0x51d)],_0x19e214=[];(function(){const _0x3ac417=_0x5c910d;for(var _0x54d405=0x0;_0x54d405<0x40;_0x54d405++)_0x19e214[_0x54d405]=_0x3f7c85[_0x3ac417(0x588)](_0x3f7c85[_0x3ac417(0x295)](_0x54d405+0x1))*0x100000000|0x0;}());var _0x5d4f5b=_0x115872[_0x5c910d(0x555)]=_0x56a736['extend']({'_doReset':function(){this['_hash']=new _0x515f12['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x36d0d1,_0x298848){const _0x3adc43=_0x5c910d;for(var _0x315211=0x0;_0x315211<0x10;_0x315211++){var _0x3e9c10=_0x298848+_0x315211,_0x577b4b=_0x36d0d1[_0x3e9c10];_0x36d0d1[_0x3e9c10]=(_0x577b4b<<0x8|_0x577b4b>>>0x18)&0xff00ff|(_0x577b4b<<0x18|_0x577b4b>>>0x8)&0xff00ff00;}var _0xf7c29a=this[_0x3adc43(0x337)]['words'],_0x2cb705=_0x36d0d1[_0x298848+0x0],_0x38bddd=_0x36d0d1[_0x298848+0x1],_0x3ac9eb=_0x36d0d1[_0x298848+0x2],_0x5ee70=_0x36d0d1[_0x298848+0x3],_0x5a2a73=_0x36d0d1[_0x298848+0x4],_0x316a75=_0x36d0d1[_0x298848+0x5],_0x7fa35b=_0x36d0d1[_0x298848+0x6],_0x1e8d2b=_0x36d0d1[_0x298848+0x7],_0x2b7708=_0x36d0d1[_0x298848+0x8],_0x1d45c1=_0x36d0d1[_0x298848+0x9],_0x539452=_0x36d0d1[_0x298848+0xa],_0x3470d3=_0x36d0d1[_0x298848+0xb],_0x1bd4bd=_0x36d0d1[_0x298848+0xc],_0x5ab645=_0x36d0d1[_0x298848+0xd],_0x39d1a7=_0x36d0d1[_0x298848+0xe],_0x4ba196=_0x36d0d1[_0x298848+0xf],_0xb7ae05=_0xf7c29a[0x0],_0x36e7a6=_0xf7c29a[0x1],_0x1efae9=_0xf7c29a[0x2],_0x43cff3=_0xf7c29a[0x3];_0xb7ae05=_0x39ada4(_0xb7ae05,_0x36e7a6,_0x1efae9,_0x43cff3,_0x2cb705,0x7,_0x19e214[0x0]),_0x43cff3=_0x39ada4(_0x43cff3,_0xb7ae05,_0x36e7a6,_0x1efae9,_0x38bddd,0xc,_0x19e214[0x1]),_0x1efae9=_0x39ada4(_0x1efae9,_0x43cff3,_0xb7ae05,_0x36e7a6,_0x3ac9eb,0x11,_0x19e214[0x2]),_0x36e7a6=_0x39ada4(_0x36e7a6,_0x1efae9,_0x43cff3,_0xb7ae05,_0x5ee70,0x16,_0x19e214[0x3]),_0xb7ae05=_0x39ada4(_0xb7ae05,_0x36e7a6,_0x1efae9,_0x43cff3,_0x5a2a73,0x7,_0x19e214[0x4]),_0x43cff3=_0x39ada4(_0x43cff3,_0xb7ae05,_0x36e7a6,_0x1efae9,_0x316a75,0xc,_0x19e214[0x5]),_0x1efae9=_0x39ada4(_0x1efae9,_0x43cff3,_0xb7ae05,_0x36e7a6,_0x7fa35b,0x11,_0x19e214[0x6]),_0x36e7a6=_0x39ada4(_0x36e7a6,_0x1efae9,_0x43cff3,_0xb7ae05,_0x1e8d2b,0x16,_0x19e214[0x7]),_0xb7ae05=_0x39ada4(_0xb7ae05,_0x36e7a6,_0x1efae9,_0x43cff3,_0x2b7708,0x7,_0x19e214[0x8]),_0x43cff3=_0x39ada4(_0x43cff3,_0xb7ae05,_0x36e7a6,_0x1efae9,_0x1d45c1,0xc,_0x19e214[0x9]),_0x1efae9=_0x39ada4(_0x1efae9,_0x43cff3,_0xb7ae05,_0x36e7a6,_0x539452,0x11,_0x19e214[0xa]),_0x36e7a6=_0x39ada4(_0x36e7a6,_0x1efae9,_0x43cff3,_0xb7ae05,_0x3470d3,0x16,_0x19e214[0xb]),_0xb7ae05=_0x39ada4(_0xb7ae05,_0x36e7a6,_0x1efae9,_0x43cff3,_0x1bd4bd,0x7,_0x19e214[0xc]),_0x43cff3=_0x39ada4(_0x43cff3,_0xb7ae05,_0x36e7a6,_0x1efae9,_0x5ab645,0xc,_0x19e214[0xd]),_0x1efae9=_0x39ada4(_0x1efae9,_0x43cff3,_0xb7ae05,_0x36e7a6,_0x39d1a7,0x11,_0x19e214[0xe]),_0x36e7a6=_0x39ada4(_0x36e7a6,_0x1efae9,_0x43cff3,_0xb7ae05,_0x4ba196,0x16,_0x19e214[0xf]),_0xb7ae05=_0x37c741(_0xb7ae05,_0x36e7a6,_0x1efae9,_0x43cff3,_0x38bddd,0x5,_0x19e214[0x10]),_0x43cff3=_0x37c741(_0x43cff3,_0xb7ae05,_0x36e7a6,_0x1efae9,_0x7fa35b,0x9,_0x19e214[0x11]),_0x1efae9=_0x37c741(_0x1efae9,_0x43cff3,_0xb7ae05,_0x36e7a6,_0x3470d3,0xe,_0x19e214[0x12]),_0x36e7a6=_0x37c741(_0x36e7a6,_0x1efae9,_0x43cff3,_0xb7ae05,_0x2cb705,0x14,_0x19e214[0x13]),_0xb7ae05=_0x37c741(_0xb7ae05,_0x36e7a6,_0x1efae9,_0x43cff3,_0x316a75,0x5,_0x19e214[0x14]),_0x43cff3=_0x37c741(_0x43cff3,_0xb7ae05,_0x36e7a6,_0x1efae9,_0x539452,0x9,_0x19e214[0x15]),_0x1efae9=_0x37c741(_0x1efae9,_0x43cff3,_0xb7ae05,_0x36e7a6,_0x4ba196,0xe,_0x19e214[0x16]),_0x36e7a6=_0x37c741(_0x36e7a6,_0x1efae9,_0x43cff3,_0xb7ae05,_0x5a2a73,0x14,_0x19e214[0x17]),_0xb7ae05=_0x37c741(_0xb7ae05,_0x36e7a6,_0x1efae9,_0x43cff3,_0x1d45c1,0x5,_0x19e214[0x18]),_0x43cff3=_0x37c741(_0x43cff3,_0xb7ae05,_0x36e7a6,_0x1efae9,_0x39d1a7,0x9,_0x19e214[0x19]),_0x1efae9=_0x37c741(_0x1efae9,_0x43cff3,_0xb7ae05,_0x36e7a6,_0x5ee70,0xe,_0x19e214[0x1a]),_0x36e7a6=_0x37c741(_0x36e7a6,_0x1efae9,_0x43cff3,_0xb7ae05,_0x2b7708,0x14,_0x19e214[0x1b]),_0xb7ae05=_0x37c741(_0xb7ae05,_0x36e7a6,_0x1efae9,_0x43cff3,_0x5ab645,0x5,_0x19e214[0x1c]),_0x43cff3=_0x37c741(_0x43cff3,_0xb7ae05,_0x36e7a6,_0x1efae9,_0x3ac9eb,0x9,_0x19e214[0x1d]),_0x1efae9=_0x37c741(_0x1efae9,_0x43cff3,_0xb7ae05,_0x36e7a6,_0x1e8d2b,0xe,_0x19e214[0x1e]),_0x36e7a6=_0x37c741(_0x36e7a6,_0x1efae9,_0x43cff3,_0xb7ae05,_0x1bd4bd,0x14,_0x19e214[0x1f]),_0xb7ae05=_0x3019c4(_0xb7ae05,_0x36e7a6,_0x1efae9,_0x43cff3,_0x316a75,0x4,_0x19e214[0x20]),_0x43cff3=_0x3019c4(_0x43cff3,_0xb7ae05,_0x36e7a6,_0x1efae9,_0x2b7708,0xb,_0x19e214[0x21]),_0x1efae9=_0x3019c4(_0x1efae9,_0x43cff3,_0xb7ae05,_0x36e7a6,_0x3470d3,0x10,_0x19e214[0x22]),_0x36e7a6=_0x3019c4(_0x36e7a6,_0x1efae9,_0x43cff3,_0xb7ae05,_0x39d1a7,0x17,_0x19e214[0x23]),_0xb7ae05=_0x3019c4(_0xb7ae05,_0x36e7a6,_0x1efae9,_0x43cff3,_0x38bddd,0x4,_0x19e214[0x24]),_0x43cff3=_0x3019c4(_0x43cff3,_0xb7ae05,_0x36e7a6,_0x1efae9,_0x5a2a73,0xb,_0x19e214[0x25]),_0x1efae9=_0x3019c4(_0x1efae9,_0x43cff3,_0xb7ae05,_0x36e7a6,_0x1e8d2b,0x10,_0x19e214[0x26]),_0x36e7a6=_0x3019c4(_0x36e7a6,_0x1efae9,_0x43cff3,_0xb7ae05,_0x539452,0x17,_0x19e214[0x27]),_0xb7ae05=_0x3019c4(_0xb7ae05,_0x36e7a6,_0x1efae9,_0x43cff3,_0x5ab645,0x4,_0x19e214[0x28]),_0x43cff3=_0x3019c4(_0x43cff3,_0xb7ae05,_0x36e7a6,_0x1efae9,_0x2cb705,0xb,_0x19e214[0x29]),_0x1efae9=_0x3019c4(_0x1efae9,_0x43cff3,_0xb7ae05,_0x36e7a6,_0x5ee70,0x10,_0x19e214[0x2a]),_0x36e7a6=_0x3019c4(_0x36e7a6,_0x1efae9,_0x43cff3,_0xb7ae05,_0x7fa35b,0x17,_0x19e214[0x2b]),_0xb7ae05=_0x3019c4(_0xb7ae05,_0x36e7a6,_0x1efae9,_0x43cff3,_0x1d45c1,0x4,_0x19e214[0x2c]),_0x43cff3=_0x3019c4(_0x43cff3,_0xb7ae05,_0x36e7a6,_0x1efae9,_0x1bd4bd,0xb,_0x19e214[0x2d]),_0x1efae9=_0x3019c4(_0x1efae9,_0x43cff3,_0xb7ae05,_0x36e7a6,_0x4ba196,0x10,_0x19e214[0x2e]),_0x36e7a6=_0x3019c4(_0x36e7a6,_0x1efae9,_0x43cff3,_0xb7ae05,_0x3ac9eb,0x17,_0x19e214[0x2f]),_0xb7ae05=_0x57806e(_0xb7ae05,_0x36e7a6,_0x1efae9,_0x43cff3,_0x2cb705,0x6,_0x19e214[0x30]),_0x43cff3=_0x57806e(_0x43cff3,_0xb7ae05,_0x36e7a6,_0x1efae9,_0x1e8d2b,0xa,_0x19e214[0x31]),_0x1efae9=_0x57806e(_0x1efae9,_0x43cff3,_0xb7ae05,_0x36e7a6,_0x39d1a7,0xf,_0x19e214[0x32]),_0x36e7a6=_0x57806e(_0x36e7a6,_0x1efae9,_0x43cff3,_0xb7ae05,_0x316a75,0x15,_0x19e214[0x33]),_0xb7ae05=_0x57806e(_0xb7ae05,_0x36e7a6,_0x1efae9,_0x43cff3,_0x1bd4bd,0x6,_0x19e214[0x34]),_0x43cff3=_0x57806e(_0x43cff3,_0xb7ae05,_0x36e7a6,_0x1efae9,_0x5ee70,0xa,_0x19e214[0x35]),_0x1efae9=_0x57806e(_0x1efae9,_0x43cff3,_0xb7ae05,_0x36e7a6,_0x539452,0xf,_0x19e214[0x36]),_0x36e7a6=_0x57806e(_0x36e7a6,_0x1efae9,_0x43cff3,_0xb7ae05,_0x38bddd,0x15,_0x19e214[0x37]),_0xb7ae05=_0x57806e(_0xb7ae05,_0x36e7a6,_0x1efae9,_0x43cff3,_0x2b7708,0x6,_0x19e214[0x38]),_0x43cff3=_0x57806e(_0x43cff3,_0xb7ae05,_0x36e7a6,_0x1efae9,_0x4ba196,0xa,_0x19e214[0x39]),_0x1efae9=_0x57806e(_0x1efae9,_0x43cff3,_0xb7ae05,_0x36e7a6,_0x7fa35b,0xf,_0x19e214[0x3a]),_0x36e7a6=_0x57806e(_0x36e7a6,_0x1efae9,_0x43cff3,_0xb7ae05,_0x5ab645,0x15,_0x19e214[0x3b]),_0xb7ae05=_0x57806e(_0xb7ae05,_0x36e7a6,_0x1efae9,_0x43cff3,_0x5a2a73,0x6,_0x19e214[0x3c]),_0x43cff3=_0x57806e(_0x43cff3,_0xb7ae05,_0x36e7a6,_0x1efae9,_0x3470d3,0xa,_0x19e214[0x3d]),_0x1efae9=_0x57806e(_0x1efae9,_0x43cff3,_0xb7ae05,_0x36e7a6,_0x3ac9eb,0xf,_0x19e214[0x3e]),_0x36e7a6=_0x57806e(_0x36e7a6,_0x1efae9,_0x43cff3,_0xb7ae05,_0x1d45c1,0x15,_0x19e214[0x3f]),_0xf7c29a[0x0]=_0xf7c29a[0x0]+_0xb7ae05|0x0,_0xf7c29a[0x1]=_0xf7c29a[0x1]+_0x36e7a6|0x0,_0xf7c29a[0x2]=_0xf7c29a[0x2]+_0x1efae9|0x0,_0xf7c29a[0x3]=_0xf7c29a[0x3]+_0x43cff3|0x0;},'_doFinalize':function(){const _0x5d10c3=_0x5c910d;var _0x3d24ba=this[_0x5d10c3(0x226)],_0x5294b0=_0x3d24ba[_0x5d10c3(0x1d9)],_0x192c17=this[_0x5d10c3(0x3cd)]*0x8,_0x155d53=_0x3d24ba['sigBytes']*0x8;_0x5294b0[_0x155d53>>>0x5]|=0x80<<0x18-_0x155d53%0x20;var _0x290ed4=_0x3f7c85[_0x5d10c3(0x52b)](_0x192c17/0x100000000),_0x420b12=_0x192c17;_0x5294b0[(_0x155d53+0x40>>>0x9<<0x4)+0xf]=(_0x290ed4<<0x8|_0x290ed4>>>0x18)&0xff00ff|(_0x290ed4<<0x18|_0x290ed4>>>0x8)&0xff00ff00,_0x5294b0[(_0x155d53+0x40>>>0x9<<0x4)+0xe]=(_0x420b12<<0x8|_0x420b12>>>0x18)&0xff00ff|(_0x420b12<<0x18|_0x420b12>>>0x8)&0xff00ff00,_0x3d24ba[_0x5d10c3(0x2a3)]=(_0x5294b0[_0x5d10c3(0x1b1)]+0x1)*0x4,this['_process']();for(var _0x57972b=this[_0x5d10c3(0x337)],_0x37d794=_0x57972b[_0x5d10c3(0x1d9)],_0x3eef36=0x0;_0x3eef36<0x4;_0x3eef36++){var _0x538d4f=_0x37d794[_0x3eef36];_0x37d794[_0x3eef36]=(_0x538d4f<<0x8|_0x538d4f>>>0x18)&0xff00ff|(_0x538d4f<<0x18|_0x538d4f>>>0x8)&0xff00ff00;}return _0x57972b;},'clone':function(){const _0x4e8930=_0x5c910d;var _0x16392a=_0x56a736[_0x4e8930(0x55a)][_0x4e8930(0x206)](this);return _0x16392a['_hash']=this[_0x4e8930(0x337)][_0x4e8930(0x55a)](),_0x16392a;}});function _0x39ada4(_0x2afe79,_0x3e4df7,_0x9b1b87,_0x4fa870,_0x49f3b6,_0x3fff57,_0x42457f){var _0x15bea2=_0x2afe79+(_0x3e4df7&_0x9b1b87|~_0x3e4df7&_0x4fa870)+_0x49f3b6+_0x42457f;return(_0x15bea2<<_0x3fff57|_0x15bea2>>>0x20-_0x3fff57)+_0x3e4df7;}function _0x37c741(_0x400e8c,_0x49f28a,_0x5da3b8,_0x5c722b,_0x13b283,_0x3dbc2f,_0x3abaaa){var _0x5dfa6d=_0x400e8c+(_0x49f28a&_0x5c722b|_0x5da3b8&~_0x5c722b)+_0x13b283+_0x3abaaa;return(_0x5dfa6d<<_0x3dbc2f|_0x5dfa6d>>>0x20-_0x3dbc2f)+_0x49f28a;}function _0x3019c4(_0x3c0588,_0x44e64e,_0x5f282e,_0x1cbca8,_0x2304a2,_0x4befdb,_0x48a8d9){var _0x48c070=_0x3c0588+(_0x44e64e^_0x5f282e^_0x1cbca8)+_0x2304a2+_0x48a8d9;return(_0x48c070<<_0x4befdb|_0x48c070>>>0x20-_0x4befdb)+_0x44e64e;}function _0x57806e(_0x2d62a0,_0x50b2d2,_0x29120d,_0x57b31a,_0x18360b,_0xc120b7,_0x5418e2){var _0x585d1b=_0x2d62a0+(_0x29120d^(_0x50b2d2|~_0x57b31a))+_0x18360b+_0x5418e2;return(_0x585d1b<<_0xc120b7|_0x585d1b>>>0x20-_0xc120b7)+_0x50b2d2;}_0x114ced['MD5']=_0x56a736['_createHelper'](_0x5d4f5b),_0x114ced['HmacMD5']=_0x56a736[_0x5c910d(0x29f)](_0x5d4f5b);}(Math),_0x276b05['MD5'];}));}(_0x1e6753)),_0x1e6753['exports'];}var _0x1dc6d4={'exports':{}},_0x373bc5={'exports':{}},_0x20557a;function _0x35a49a(){const _0x3b570f=_0x20c0a9;return _0x20557a||(_0x20557a=0x1,function(_0x648e5a,_0x4d7743){(function(_0x9de287,_0x33832e){_0x648e5a['exports']=_0x33832e(_0x3b7cdd());}(_0x3c3bdd,function(_0x3a1794){return(function(){const _0x5ef1db=_0x414b;var _0x480a2c=_0x3a1794,_0x49bf89=_0x480a2c[_0x5ef1db(0x46d)],_0x2c9fd8=_0x49bf89['WordArray'],_0x34fe90=_0x49bf89[_0x5ef1db(0x51c)],_0x18459c=_0x480a2c[_0x5ef1db(0x51d)],_0x2fe4e9=[],_0x521829=_0x18459c[_0x5ef1db(0x508)]=_0x34fe90[_0x5ef1db(0x372)]({'_doReset':function(){const _0x40b40d=_0x5ef1db;this['_hash']=new _0x2c9fd8[(_0x40b40d(0x2bb))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x397056,_0x5e225e){const _0x1381d7=_0x5ef1db;for(var _0x3669c6=this['_hash'][_0x1381d7(0x1d9)],_0x27e056=_0x3669c6[0x0],_0x20061a=_0x3669c6[0x1],_0x2f8bcb=_0x3669c6[0x2],_0x3c203e=_0x3669c6[0x3],_0x358d7f=_0x3669c6[0x4],_0x268c45=0x0;_0x268c45<0x50;_0x268c45++){if(_0x268c45<0x10)_0x2fe4e9[_0x268c45]=_0x397056[_0x5e225e+_0x268c45]|0x0;else{var _0x3c8cda=_0x2fe4e9[_0x268c45-0x3]^_0x2fe4e9[_0x268c45-0x8]^_0x2fe4e9[_0x268c45-0xe]^_0x2fe4e9[_0x268c45-0x10];_0x2fe4e9[_0x268c45]=_0x3c8cda<<0x1|_0x3c8cda>>>0x1f;}var _0x2d7841=(_0x27e056<<0x5|_0x27e056>>>0x1b)+_0x358d7f+_0x2fe4e9[_0x268c45];_0x268c45<0x14?_0x2d7841+=(_0x20061a&_0x2f8bcb|~_0x20061a&_0x3c203e)+0x5a827999:_0x268c45<0x28?_0x2d7841+=(_0x20061a^_0x2f8bcb^_0x3c203e)+0x6ed9eba1:_0x268c45<0x3c?_0x2d7841+=(_0x20061a&_0x2f8bcb|_0x20061a&_0x3c203e|_0x2f8bcb&_0x3c203e)-0x70e44324:_0x2d7841+=(_0x20061a^_0x2f8bcb^_0x3c203e)-0x359d3e2a,_0x358d7f=_0x3c203e,_0x3c203e=_0x2f8bcb,_0x2f8bcb=_0x20061a<<0x1e|_0x20061a>>>0x2,_0x20061a=_0x27e056,_0x27e056=_0x2d7841;}_0x3669c6[0x0]=_0x3669c6[0x0]+_0x27e056|0x0,_0x3669c6[0x1]=_0x3669c6[0x1]+_0x20061a|0x0,_0x3669c6[0x2]=_0x3669c6[0x2]+_0x2f8bcb|0x0,_0x3669c6[0x3]=_0x3669c6[0x3]+_0x3c203e|0x0,_0x3669c6[0x4]=_0x3669c6[0x4]+_0x358d7f|0x0;},'_doFinalize':function(){const _0x415cff=_0x5ef1db;var _0x510360=this[_0x415cff(0x226)],_0x242996=_0x510360[_0x415cff(0x1d9)],_0x3d9d84=this['_nDataBytes']*0x8,_0x118dce=_0x510360['sigBytes']*0x8;return _0x242996[_0x118dce>>>0x5]|=0x80<<0x18-_0x118dce%0x20,_0x242996[(_0x118dce+0x40>>>0x9<<0x4)+0xe]=Math[_0x415cff(0x52b)](_0x3d9d84/0x100000000),_0x242996[(_0x118dce+0x40>>>0x9<<0x4)+0xf]=_0x3d9d84,_0x510360[_0x415cff(0x2a3)]=_0x242996[_0x415cff(0x1b1)]*0x4,this[_0x415cff(0x56e)](),this[_0x415cff(0x337)];},'clone':function(){const _0x2462cf=_0x5ef1db;var _0x344fb1=_0x34fe90[_0x2462cf(0x55a)]['call'](this);return _0x344fb1['_hash']=this[_0x2462cf(0x337)][_0x2462cf(0x55a)](),_0x344fb1;}});_0x480a2c[_0x5ef1db(0x508)]=_0x34fe90[_0x5ef1db(0x1d2)](_0x521829),_0x480a2c[_0x5ef1db(0x5f5)]=_0x34fe90['_createHmacHelper'](_0x521829);}()),_0x3a1794['SHA1'];}));}(_0x373bc5)),_0x373bc5[_0x3b570f(0x3c9)];}var _0x5e24e2={'exports':{}},_0x2b720f;function _0x302b48(){const _0x3616ff=_0x20c0a9;return _0x2b720f||(_0x2b720f=0x1,function(_0x2be159,_0x207cc9){(function(_0x507fe1,_0x20d455){_0x2be159['exports']=_0x20d455(_0x3b7cdd());}(_0x3c3bdd,function(_0x17fa80){(function(){const _0x4edfe1=_0x414b;var _0x44a803=_0x17fa80,_0x1f53b2=_0x44a803[_0x4edfe1(0x46d)],_0x2310d9=_0x1f53b2['Base'],_0x4c2e4e=_0x44a803[_0x4edfe1(0x44e)],_0x2b53d6=_0x4c2e4e[_0x4edfe1(0x4f4)],_0x358095=_0x44a803[_0x4edfe1(0x51d)];_0x358095[_0x4edfe1(0x4e5)]=_0x2310d9[_0x4edfe1(0x372)]({'init':function(_0x4f11c5,_0x55889d){const _0x2d7bc1=_0x4edfe1;_0x4f11c5=this[_0x2d7bc1(0x27b)]=new _0x4f11c5['init'](),typeof _0x55889d==_0x2d7bc1(0x410)&&(_0x55889d=_0x2b53d6[_0x2d7bc1(0x352)](_0x55889d));var _0x35c262=_0x4f11c5[_0x2d7bc1(0x4d4)],_0x432d36=_0x35c262*0x4;_0x55889d[_0x2d7bc1(0x2a3)]>_0x432d36&&(_0x55889d=_0x4f11c5[_0x2d7bc1(0x33a)](_0x55889d)),_0x55889d[_0x2d7bc1(0x5b5)]();for(var _0x5deca1=this['_oKey']=_0x55889d[_0x2d7bc1(0x55a)](),_0x4b759=this[_0x2d7bc1(0x489)]=_0x55889d['clone'](),_0x35c352=_0x5deca1[_0x2d7bc1(0x1d9)],_0x3a9fac=_0x4b759[_0x2d7bc1(0x1d9)],_0x55f536=0x0;_0x55f536<_0x35c262;_0x55f536++)_0x35c352[_0x55f536]^=0x5c5c5c5c,_0x3a9fac[_0x55f536]^=0x36363636;_0x5deca1['sigBytes']=_0x4b759[_0x2d7bc1(0x2a3)]=_0x432d36,this[_0x2d7bc1(0x606)]();},'reset':function(){const _0x4755df=_0x4edfe1;var _0x1f0ee3=this['_hasher'];_0x1f0ee3[_0x4755df(0x606)](),_0x1f0ee3['update'](this[_0x4755df(0x489)]);},'update':function(_0x245d08){const _0xccb31b=_0x4edfe1;return this[_0xccb31b(0x27b)]['update'](_0x245d08),this;},'finalize':function(_0x59f218){const _0x1a2dd0=_0x4edfe1;var _0x596c56=this[_0x1a2dd0(0x27b)],_0xec7aa0=_0x596c56[_0x1a2dd0(0x33a)](_0x59f218);_0x596c56[_0x1a2dd0(0x606)]();var _0xa357b=_0x596c56['finalize'](this[_0x1a2dd0(0x5b6)]['clone']()[_0x1a2dd0(0x601)](_0xec7aa0));return _0xa357b;}});}());}));}(_0x5e24e2)),_0x5e24e2[_0x3616ff(0x3c9)];}var _0x24ca5a;function _0x26c133(){return _0x24ca5a||(_0x24ca5a=0x1,function(_0x4cb309,_0x131f50){(function(_0x34bd00,_0x1e3036,_0x5bfd8e){_0x4cb309['exports']=_0x1e3036(_0x3b7cdd(),_0x35a49a(),_0x302b48());}(_0x3c3bdd,function(_0x3e2127){const _0x2df136=_0x414b;return(function(){const _0x35c504=_0x414b;var _0x4b1898=_0x3e2127,_0x4fc1cf=_0x4b1898[_0x35c504(0x46d)],_0x551ad0=_0x4fc1cf['Base'],_0x4091bc=_0x4fc1cf['WordArray'],_0x51d24f=_0x4b1898[_0x35c504(0x51d)],_0x46213f=_0x51d24f[_0x35c504(0x555)],_0x48315e=_0x51d24f[_0x35c504(0x267)]=_0x551ad0[_0x35c504(0x372)]({'cfg':_0x551ad0[_0x35c504(0x372)]({'keySize':0x80/0x20,'hasher':_0x46213f,'iterations':0x1}),'init':function(_0xaa77f6){const _0x46b2f5=_0x35c504;this[_0x46b2f5(0x33c)]=this[_0x46b2f5(0x33c)][_0x46b2f5(0x372)](_0xaa77f6);},'compute':function(_0x332632,_0x5a6620){const _0x2fec97=_0x35c504;for(var _0x28aa10,_0xf5e2d0=this[_0x2fec97(0x33c)],_0x46b2c3=_0xf5e2d0[_0x2fec97(0x368)]['create'](),_0x430e29=_0x4091bc[_0x2fec97(0x1c8)](),_0xeed5e2=_0x430e29[_0x2fec97(0x1d9)],_0x3d5637=_0xf5e2d0[_0x2fec97(0x1a7)],_0x87fefb=_0xf5e2d0[_0x2fec97(0x3d2)];_0xeed5e2[_0x2fec97(0x1b1)]<_0x3d5637;){_0x28aa10&&_0x46b2c3[_0x2fec97(0x382)](_0x28aa10),_0x28aa10=_0x46b2c3[_0x2fec97(0x382)](_0x332632)[_0x2fec97(0x33a)](_0x5a6620),_0x46b2c3[_0x2fec97(0x606)]();for(var _0x34852f=0x1;_0x34852f<_0x87fefb;_0x34852f++)_0x28aa10=_0x46b2c3[_0x2fec97(0x33a)](_0x28aa10),_0x46b2c3[_0x2fec97(0x606)]();_0x430e29[_0x2fec97(0x601)](_0x28aa10);}return _0x430e29['sigBytes']=_0x3d5637*0x4,_0x430e29;}});_0x4b1898[_0x35c504(0x267)]=function(_0x1d8b9d,_0x363a6c,_0x508709){const _0x2ba562=_0x35c504;return _0x48315e[_0x2ba562(0x1c8)](_0x508709)[_0x2ba562(0x536)](_0x1d8b9d,_0x363a6c);};}()),_0x3e2127[_0x2df136(0x267)];}));}(_0x1dc6d4)),_0x1dc6d4['exports'];}var _0x57ff3e={'exports':{}},_0x2efe15;function _0x314250(){const _0x4f5b75=_0x20c0a9;return _0x2efe15||(_0x2efe15=0x1,function(_0xe26082,_0x5907e8){(function(_0x58f6af,_0x135b5b,_0x5da459){_0xe26082['exports']=_0x135b5b(_0x3b7cdd(),_0x26c133());}(_0x3c3bdd,function(_0x5115f1){const _0x485ac6=_0x414b;_0x5115f1[_0x485ac6(0x46d)][_0x485ac6(0x427)]||function(_0x2f6588){const _0x2fff81=_0x485ac6;var _0x408596=_0x5115f1,_0x20cb94=_0x408596[_0x2fff81(0x46d)],_0x276675=_0x20cb94[_0x2fff81(0x294)],_0x232357=_0x20cb94['WordArray'],_0x196d22=_0x20cb94[_0x2fff81(0x50f)],_0x123b99=_0x408596[_0x2fff81(0x44e)];_0x123b99[_0x2fff81(0x4f4)];var _0x99ffa7=_0x123b99[_0x2fff81(0x36a)],_0x2701b0=_0x408596[_0x2fff81(0x51d)],_0x2f16a6=_0x2701b0['EvpKDF'],_0x5e11a3=_0x20cb94[_0x2fff81(0x427)]=_0x196d22[_0x2fff81(0x372)]({'cfg':_0x276675[_0x2fff81(0x372)](),'createEncryptor':function(_0x3db83a,_0x1996dc){const _0x17f8da=_0x2fff81;return this['create'](this[_0x17f8da(0x5d3)],_0x3db83a,_0x1996dc);},'createDecryptor':function(_0x3231e9,_0xd5cde6){const _0x31faad=_0x2fff81;return this[_0x31faad(0x1c8)](this[_0x31faad(0x1c2)],_0x3231e9,_0xd5cde6);},'init':function(_0x2ce367,_0x3d13e0,_0x1b556c){const _0x123eea=_0x2fff81;this[_0x123eea(0x33c)]=this[_0x123eea(0x33c)][_0x123eea(0x372)](_0x1b556c),this[_0x123eea(0x5a0)]=_0x2ce367,this[_0x123eea(0x477)]=_0x3d13e0,this[_0x123eea(0x606)]();},'reset':function(){const _0x2fb396=_0x2fff81;_0x196d22[_0x2fb396(0x606)][_0x2fb396(0x206)](this),this[_0x2fb396(0x553)]();},'process':function(_0xd24c0b){const _0x100fdd=_0x2fff81;return this[_0x100fdd(0x415)](_0xd24c0b),this['_process']();},'finalize':function(_0x4b27cc){const _0x207615=_0x2fff81;_0x4b27cc&&this[_0x207615(0x415)](_0x4b27cc);var _0x4725f4=this['_doFinalize']();return _0x4725f4;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x29b15a(_0xd62210){const _0x24746c=_0x414b;return typeof _0xd62210==_0x24746c(0x410)?_0x1cba3a:_0x57172c;}return function(_0xc69206){return{'encrypt':function(_0x55ef25,_0x32918a,_0x3534fc){return _0x29b15a(_0x32918a)['encrypt'](_0xc69206,_0x55ef25,_0x32918a,_0x3534fc);},'decrypt':function(_0x251cba,_0x54f42e,_0x5bf324){const _0x181eb5=_0x414b;return _0x29b15a(_0x54f42e)[_0x181eb5(0x53d)](_0xc69206,_0x251cba,_0x54f42e,_0x5bf324);}};};}())});_0x20cb94['StreamCipher']=_0x5e11a3[_0x2fff81(0x372)]({'_doFinalize':function(){const _0x43482b=_0x2fff81;var _0x4549f2=this[_0x43482b(0x56e)](!0x0);return _0x4549f2;},'blockSize':0x1});var _0x82c51c=_0x408596[_0x2fff81(0x63b)]={},_0xc854b0=_0x20cb94['BlockCipherMode']=_0x276675['extend']({'createEncryptor':function(_0x3ffe7a,_0x400d2a){const _0x3e793f=_0x2fff81;return this[_0x3e793f(0x3d5)][_0x3e793f(0x1c8)](_0x3ffe7a,_0x400d2a);},'createDecryptor':function(_0x169ba7,_0x2b546a){const _0x1fd96c=_0x2fff81;return this[_0x1fd96c(0x596)][_0x1fd96c(0x1c8)](_0x169ba7,_0x2b546a);},'init':function(_0x5f150f,_0x378212){const _0x1a0707=_0x2fff81;this[_0x1a0707(0x4c0)]=_0x5f150f,this[_0x1a0707(0x562)]=_0x378212;}}),_0xf49d35=_0x82c51c[_0x2fff81(0x529)]=(function(){const _0x34cafc=_0x2fff81;var _0x4320e0=_0xc854b0[_0x34cafc(0x372)]();_0x4320e0[_0x34cafc(0x3d5)]=_0x4320e0[_0x34cafc(0x372)]({'processBlock':function(_0x21bc1f,_0x52772a){const _0x25d8db=_0x34cafc;var _0x3418d9=this[_0x25d8db(0x4c0)],_0x2c95a8=_0x3418d9[_0x25d8db(0x4d4)];_0x566714[_0x25d8db(0x206)](this,_0x21bc1f,_0x52772a,_0x2c95a8),_0x3418d9[_0x25d8db(0x5cd)](_0x21bc1f,_0x52772a),this[_0x25d8db(0x3d7)]=_0x21bc1f['slice'](_0x52772a,_0x52772a+_0x2c95a8);}}),_0x4320e0['Decryptor']=_0x4320e0['extend']({'processBlock':function(_0x519871,_0x33fbf2){const _0x11033c=_0x34cafc;var _0x447a7c=this['_cipher'],_0x3e78b8=_0x447a7c[_0x11033c(0x4d4)],_0x542cf4=_0x519871[_0x11033c(0x408)](_0x33fbf2,_0x33fbf2+_0x3e78b8);_0x447a7c[_0x11033c(0x3ca)](_0x519871,_0x33fbf2),_0x566714[_0x11033c(0x206)](this,_0x519871,_0x33fbf2,_0x3e78b8),this[_0x11033c(0x3d7)]=_0x542cf4;}});function _0x566714(_0x2de1ca,_0x1ea46d,_0x5ee7c9){const _0xcc250=_0x34cafc;var _0x668c76,_0x30b995=this['_iv'];_0x30b995?(_0x668c76=_0x30b995,this['_iv']=_0x2f6588):_0x668c76=this[_0xcc250(0x3d7)];for(var _0x3a5ea6=0x0;_0x3a5ea6<_0x5ee7c9;_0x3a5ea6++)_0x2de1ca[_0x1ea46d+_0x3a5ea6]^=_0x668c76[_0x3a5ea6];}return _0x4320e0;}()),_0x55b700=_0x408596['pad']={},_0x5f5089=_0x55b700['Pkcs7']={'pad':function(_0x2eaeed,_0x2381e4){const _0x255979=_0x2fff81;for(var _0xb217e3=_0x2381e4*0x4,_0x1224ad=_0xb217e3-_0x2eaeed['sigBytes']%_0xb217e3,_0x22c32c=_0x1224ad<<0x18|_0x1224ad<<0x10|_0x1224ad<<0x8|_0x1224ad,_0x30a6e6=[],_0x5709ba=0x0;_0x5709ba<_0x1224ad;_0x5709ba+=0x4)_0x30a6e6[_0x255979(0x2ce)](_0x22c32c);var _0x4c0464=_0x232357['create'](_0x30a6e6,_0x1224ad);_0x2eaeed['concat'](_0x4c0464);},'unpad':function(_0x57ebcb){const _0x5d0209=_0x2fff81;var _0x56627f=_0x57ebcb[_0x5d0209(0x1d9)][_0x57ebcb['sigBytes']-0x1>>>0x2]&0xff;_0x57ebcb[_0x5d0209(0x2a3)]-=_0x56627f;}};_0x20cb94[_0x2fff81(0x466)]=_0x5e11a3[_0x2fff81(0x372)]({'cfg':_0x5e11a3['cfg']['extend']({'mode':_0xf49d35,'padding':_0x5f5089}),'reset':function(){const _0x208554=_0x2fff81;var _0x4b471c;_0x5e11a3[_0x208554(0x606)][_0x208554(0x206)](this);var _0x37ed44=this['cfg'],_0x3069c4=_0x37ed44['iv'],_0x239826=_0x37ed44[_0x208554(0x63b)];this[_0x208554(0x5a0)]==this[_0x208554(0x5d3)]?_0x4b471c=_0x239826[_0x208554(0x621)]:(_0x4b471c=_0x239826[_0x208554(0x49a)],this['_minBufferSize']=0x1),this[_0x208554(0x3db)]&&this[_0x208554(0x3db)][_0x208554(0x284)]==_0x4b471c?this[_0x208554(0x3db)][_0x208554(0x2bb)](this,_0x3069c4&&_0x3069c4['words']):(this[_0x208554(0x3db)]=_0x4b471c[_0x208554(0x206)](_0x239826,this,_0x3069c4&&_0x3069c4[_0x208554(0x1d9)]),this[_0x208554(0x3db)]['__creator']=_0x4b471c);},'_doProcessBlock':function(_0x5d283f,_0xa1ba6a){const _0x22b930=_0x2fff81;this['_mode'][_0x22b930(0x388)](_0x5d283f,_0xa1ba6a);},'_doFinalize':function(){const _0x2302f4=_0x2fff81;var _0x3c93d8,_0x3e5195=this[_0x2302f4(0x33c)][_0x2302f4(0x230)];return this[_0x2302f4(0x5a0)]==this[_0x2302f4(0x5d3)]?(_0x3e5195[_0x2302f4(0x269)](this[_0x2302f4(0x226)],this[_0x2302f4(0x4d4)]),_0x3c93d8=this['_process'](!0x0)):(_0x3c93d8=this['_process'](!0x0),_0x3e5195['unpad'](_0x3c93d8)),_0x3c93d8;},'blockSize':0x80/0x20});var _0x4cf72c=_0x20cb94['CipherParams']=_0x276675['extend']({'init':function(_0x379a9a){const _0xbba8df=_0x2fff81;this[_0xbba8df(0x53a)](_0x379a9a);},'toString':function(_0x710fea){const _0x984f6e=_0x2fff81;return(_0x710fea||this[_0x984f6e(0x4a5)])[_0x984f6e(0x26b)](this);}}),_0x5b2bdd=_0x408596[_0x2fff81(0x4d7)]={},_0x7fdb2f=_0x5b2bdd['OpenSSL']={'stringify':function(_0x565e5f){const _0x551ff8=_0x2fff81;var _0x50a2ff,_0x44be41=_0x565e5f[_0x551ff8(0x27a)],_0x474ce0=_0x565e5f[_0x551ff8(0x4d3)];return _0x474ce0?_0x50a2ff=_0x232357[_0x551ff8(0x1c8)]([0x53616c74,0x65645f5f])['concat'](_0x474ce0)['concat'](_0x44be41):_0x50a2ff=_0x44be41,_0x50a2ff[_0x551ff8(0x367)](_0x99ffa7);},'parse':function(_0x431665){const _0x35e358=_0x2fff81;var _0x54ef54,_0x3fc7b8=_0x99ffa7[_0x35e358(0x352)](_0x431665),_0x250972=_0x3fc7b8['words'];return _0x250972[0x0]==0x53616c74&&_0x250972[0x1]==0x65645f5f&&(_0x54ef54=_0x232357[_0x35e358(0x1c8)](_0x250972[_0x35e358(0x408)](0x2,0x4)),_0x250972['splice'](0x0,0x4),_0x3fc7b8[_0x35e358(0x2a3)]-=0x10),_0x4cf72c[_0x35e358(0x1c8)]({'ciphertext':_0x3fc7b8,'salt':_0x54ef54});}},_0x57172c=_0x20cb94[_0x2fff81(0x5a4)]=_0x276675[_0x2fff81(0x372)]({'cfg':_0x276675[_0x2fff81(0x372)]({'format':_0x7fdb2f}),'encrypt':function(_0x519a23,_0x2f7a60,_0x585271,_0x23cc80){const _0x345ce1=_0x2fff81;_0x23cc80=this['cfg'][_0x345ce1(0x372)](_0x23cc80);var _0xd168b4=_0x519a23[_0x345ce1(0x621)](_0x585271,_0x23cc80),_0x5d3e47=_0xd168b4[_0x345ce1(0x33a)](_0x2f7a60),_0x4411f2=_0xd168b4[_0x345ce1(0x33c)];return _0x4cf72c[_0x345ce1(0x1c8)]({'ciphertext':_0x5d3e47,'key':_0x585271,'iv':_0x4411f2['iv'],'algorithm':_0x519a23,'mode':_0x4411f2[_0x345ce1(0x63b)],'padding':_0x4411f2[_0x345ce1(0x230)],'blockSize':_0x519a23[_0x345ce1(0x4d4)],'formatter':_0x23cc80[_0x345ce1(0x4d7)]});},'decrypt':function(_0x5992e7,_0x3bc37a,_0x59d8ac,_0x10607e){const _0x4c0678=_0x2fff81;_0x10607e=this[_0x4c0678(0x33c)]['extend'](_0x10607e),_0x3bc37a=this['_parse'](_0x3bc37a,_0x10607e['format']);var _0x13f299=_0x5992e7[_0x4c0678(0x49a)](_0x59d8ac,_0x10607e)['finalize'](_0x3bc37a[_0x4c0678(0x27a)]);return _0x13f299;},'_parse':function(_0x55b6f6,_0x2f6b77){const _0x20c184=_0x2fff81;return typeof _0x55b6f6==_0x20c184(0x410)?_0x2f6b77[_0x20c184(0x352)](_0x55b6f6,this):_0x55b6f6;}}),_0x1aaf70=_0x408596[_0x2fff81(0x5ff)]={},_0x30a15d=_0x1aaf70[_0x2fff81(0x64e)]={'execute':function(_0x154fd0,_0x15cd13,_0x1be424,_0x571855,_0x19e75a){const _0x173117=_0x2fff81;if(_0x571855||(_0x571855=_0x232357[_0x173117(0x48d)](0x40/0x8)),_0x19e75a)var _0x2b1cd6=_0x2f16a6[_0x173117(0x1c8)]({'keySize':_0x15cd13+_0x1be424,'hasher':_0x19e75a})[_0x173117(0x536)](_0x154fd0,_0x571855);else var _0x2b1cd6=_0x2f16a6['create']({'keySize':_0x15cd13+_0x1be424})[_0x173117(0x536)](_0x154fd0,_0x571855);var _0x504478=_0x232357[_0x173117(0x1c8)](_0x2b1cd6['words'][_0x173117(0x408)](_0x15cd13),_0x1be424*0x4);return _0x2b1cd6[_0x173117(0x2a3)]=_0x15cd13*0x4,_0x4cf72c[_0x173117(0x1c8)]({'key':_0x2b1cd6,'iv':_0x504478,'salt':_0x571855});}},_0x1cba3a=_0x20cb94[_0x2fff81(0x2da)]=_0x57172c[_0x2fff81(0x372)]({'cfg':_0x57172c[_0x2fff81(0x33c)][_0x2fff81(0x372)]({'kdf':_0x30a15d}),'encrypt':function(_0x27394d,_0x502cdc,_0x8a89b6,_0x15eb55){const _0x5adaaa=_0x2fff81;_0x15eb55=this[_0x5adaaa(0x33c)][_0x5adaaa(0x372)](_0x15eb55);var _0x59fcff=_0x15eb55[_0x5adaaa(0x5ff)]['execute'](_0x8a89b6,_0x27394d[_0x5adaaa(0x1a7)],_0x27394d[_0x5adaaa(0x37e)],_0x15eb55['salt'],_0x15eb55[_0x5adaaa(0x368)]);_0x15eb55['iv']=_0x59fcff['iv'];var _0x4d913d=_0x57172c[_0x5adaaa(0x303)][_0x5adaaa(0x206)](this,_0x27394d,_0x502cdc,_0x59fcff[_0x5adaaa(0x23b)],_0x15eb55);return _0x4d913d[_0x5adaaa(0x53a)](_0x59fcff),_0x4d913d;},'decrypt':function(_0x420209,_0x3fd9dd,_0x1ef4bf,_0x109b89){const _0x424445=_0x2fff81;_0x109b89=this[_0x424445(0x33c)][_0x424445(0x372)](_0x109b89),_0x3fd9dd=this[_0x424445(0x448)](_0x3fd9dd,_0x109b89[_0x424445(0x4d7)]);var _0x35fcfd=_0x109b89[_0x424445(0x5ff)][_0x424445(0x403)](_0x1ef4bf,_0x420209[_0x424445(0x1a7)],_0x420209[_0x424445(0x37e)],_0x3fd9dd[_0x424445(0x4d3)],_0x109b89[_0x424445(0x368)]);_0x109b89['iv']=_0x35fcfd['iv'];var _0x4bb7c1=_0x57172c[_0x424445(0x53d)][_0x424445(0x206)](this,_0x420209,_0x3fd9dd,_0x35fcfd[_0x424445(0x23b)],_0x109b89);return _0x4bb7c1;}});}();}));}(_0x57ff3e)),_0x57ff3e[_0x4f5b75(0x3c9)];}(function(_0x38f582,_0x38fd04){(function(_0x288b2a,_0x5a1f83,_0x4f35f2){const _0x1b3d95=_0x414b;_0x38f582[_0x1b3d95(0x3c9)]=_0x5a1f83(_0x3b7cdd(),_0xd666fa(),_0x2f01fa(),_0x26c133(),_0x314250());}(_0x3c3bdd,function(_0x407f26){const _0x37db96=_0x414b;return(function(){const _0x2d632d=_0x414b;var _0x582b6d=_0x407f26,_0x1bb3b2=_0x582b6d['lib'],_0x18285d=_0x1bb3b2[_0x2d632d(0x466)],_0x3997cb=_0x582b6d[_0x2d632d(0x51d)],_0x4ccb01=[],_0x3c7a2e=[],_0x3ec203=[],_0x2d18fc=[],_0x3b0964=[],_0x27d74f=[],_0x10d02e=[],_0x2ed378=[],_0x4af54d=[],_0x42ad02=[];(function(){for(var _0x32a52b=[],_0x28e4bd=0x0;_0x28e4bd<0x100;_0x28e4bd++)_0x28e4bd<0x80?_0x32a52b[_0x28e4bd]=_0x28e4bd<<0x1:_0x32a52b[_0x28e4bd]=_0x28e4bd<<0x1^0x11b;for(var _0x37fbef=0x0,_0x282786=0x0,_0x28e4bd=0x0;_0x28e4bd<0x100;_0x28e4bd++){var _0x2a343e=_0x282786^_0x282786<<0x1^_0x282786<<0x2^_0x282786<<0x3^_0x282786<<0x4;_0x2a343e=_0x2a343e>>>0x8^_0x2a343e&0xff^0x63,_0x4ccb01[_0x37fbef]=_0x2a343e,_0x3c7a2e[_0x2a343e]=_0x37fbef;var _0xb27d62=_0x32a52b[_0x37fbef],_0x189ff9=_0x32a52b[_0xb27d62],_0x18af84=_0x32a52b[_0x189ff9],_0x423343=_0x32a52b[_0x2a343e]*0x101^_0x2a343e*0x1010100;_0x3ec203[_0x37fbef]=_0x423343<<0x18|_0x423343>>>0x8,_0x2d18fc[_0x37fbef]=_0x423343<<0x10|_0x423343>>>0x10,_0x3b0964[_0x37fbef]=_0x423343<<0x8|_0x423343>>>0x18,_0x27d74f[_0x37fbef]=_0x423343;var _0x423343=_0x18af84*0x1010101^_0x189ff9*0x10001^_0xb27d62*0x101^_0x37fbef*0x1010100;_0x10d02e[_0x2a343e]=_0x423343<<0x18|_0x423343>>>0x8,_0x2ed378[_0x2a343e]=_0x423343<<0x10|_0x423343>>>0x10,_0x4af54d[_0x2a343e]=_0x423343<<0x8|_0x423343>>>0x18,_0x42ad02[_0x2a343e]=_0x423343,_0x37fbef?(_0x37fbef=_0xb27d62^_0x32a52b[_0x32a52b[_0x32a52b[_0x18af84^_0xb27d62]]],_0x282786^=_0x32a52b[_0x32a52b[_0x282786]]):_0x37fbef=_0x282786=0x1;}}());var _0x5014fb=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4f1a4f=_0x3997cb[_0x2d632d(0x43a)]=_0x18285d[_0x2d632d(0x372)]({'_doReset':function(){const _0x403525=_0x2d632d;var _0x3ad5c0;if(!(this[_0x403525(0x540)]&&this['_keyPriorReset']===this[_0x403525(0x477)])){for(var _0x32ad3b=this[_0x403525(0x18a)]=this[_0x403525(0x477)],_0x51f802=_0x32ad3b['words'],_0x5f4c29=_0x32ad3b['sigBytes']/0x4,_0x44bdf8=this[_0x403525(0x540)]=_0x5f4c29+0x6,_0x199daf=(_0x44bdf8+0x1)*0x4,_0x344fe7=this['_keySchedule']=[],_0x2bbf9f=0x0;_0x2bbf9f<_0x199daf;_0x2bbf9f++)_0x2bbf9f<_0x5f4c29?_0x344fe7[_0x2bbf9f]=_0x51f802[_0x2bbf9f]:(_0x3ad5c0=_0x344fe7[_0x2bbf9f-0x1],_0x2bbf9f%_0x5f4c29?_0x5f4c29>0x6&&_0x2bbf9f%_0x5f4c29==0x4&&(_0x3ad5c0=_0x4ccb01[_0x3ad5c0>>>0x18]<<0x18|_0x4ccb01[_0x3ad5c0>>>0x10&0xff]<<0x10|_0x4ccb01[_0x3ad5c0>>>0x8&0xff]<<0x8|_0x4ccb01[_0x3ad5c0&0xff]):(_0x3ad5c0=_0x3ad5c0<<0x8|_0x3ad5c0>>>0x18,_0x3ad5c0=_0x4ccb01[_0x3ad5c0>>>0x18]<<0x18|_0x4ccb01[_0x3ad5c0>>>0x10&0xff]<<0x10|_0x4ccb01[_0x3ad5c0>>>0x8&0xff]<<0x8|_0x4ccb01[_0x3ad5c0&0xff],_0x3ad5c0^=_0x5014fb[_0x2bbf9f/_0x5f4c29|0x0]<<0x18),_0x344fe7[_0x2bbf9f]=_0x344fe7[_0x2bbf9f-_0x5f4c29]^_0x3ad5c0);for(var _0x286086=this[_0x403525(0x297)]=[],_0x2e902d=0x0;_0x2e902d<_0x199daf;_0x2e902d++){var _0x2bbf9f=_0x199daf-_0x2e902d;if(_0x2e902d%0x4)var _0x3ad5c0=_0x344fe7[_0x2bbf9f];else var _0x3ad5c0=_0x344fe7[_0x2bbf9f-0x4];_0x2e902d<0x4||_0x2bbf9f<=0x4?_0x286086[_0x2e902d]=_0x3ad5c0:_0x286086[_0x2e902d]=_0x10d02e[_0x4ccb01[_0x3ad5c0>>>0x18]]^_0x2ed378[_0x4ccb01[_0x3ad5c0>>>0x10&0xff]]^_0x4af54d[_0x4ccb01[_0x3ad5c0>>>0x8&0xff]]^_0x42ad02[_0x4ccb01[_0x3ad5c0&0xff]];}}},'encryptBlock':function(_0x1a5678,_0xa449cf){const _0x26f63c=_0x2d632d;this[_0x26f63c(0x355)](_0x1a5678,_0xa449cf,this[_0x26f63c(0x296)],_0x3ec203,_0x2d18fc,_0x3b0964,_0x27d74f,_0x4ccb01);},'decryptBlock':function(_0x3147d2,_0x5b7ef8){const _0xe94a7c=_0x2d632d;var _0x42398b=_0x3147d2[_0x5b7ef8+0x1];_0x3147d2[_0x5b7ef8+0x1]=_0x3147d2[_0x5b7ef8+0x3],_0x3147d2[_0x5b7ef8+0x3]=_0x42398b,this[_0xe94a7c(0x355)](_0x3147d2,_0x5b7ef8,this[_0xe94a7c(0x297)],_0x10d02e,_0x2ed378,_0x4af54d,_0x42ad02,_0x3c7a2e);var _0x42398b=_0x3147d2[_0x5b7ef8+0x1];_0x3147d2[_0x5b7ef8+0x1]=_0x3147d2[_0x5b7ef8+0x3],_0x3147d2[_0x5b7ef8+0x3]=_0x42398b;},'_doCryptBlock':function(_0x122355,_0x379e5d,_0xb18cab,_0x4c8d86,_0x6b5c6c,_0x47ef7a,_0x60cf3b,_0x1e83c9){const _0x3f1a64=_0x2d632d;for(var _0x1a621f=this[_0x3f1a64(0x540)],_0x1a8c00=_0x122355[_0x379e5d]^_0xb18cab[0x0],_0x349855=_0x122355[_0x379e5d+0x1]^_0xb18cab[0x1],_0x4829f8=_0x122355[_0x379e5d+0x2]^_0xb18cab[0x2],_0x2a31c2=_0x122355[_0x379e5d+0x3]^_0xb18cab[0x3],_0x41f841=0x4,_0x188c8c=0x1;_0x188c8c<_0x1a621f;_0x188c8c++){var _0x12078f=_0x4c8d86[_0x1a8c00>>>0x18]^_0x6b5c6c[_0x349855>>>0x10&0xff]^_0x47ef7a[_0x4829f8>>>0x8&0xff]^_0x60cf3b[_0x2a31c2&0xff]^_0xb18cab[_0x41f841++],_0x37ca81=_0x4c8d86[_0x349855>>>0x18]^_0x6b5c6c[_0x4829f8>>>0x10&0xff]^_0x47ef7a[_0x2a31c2>>>0x8&0xff]^_0x60cf3b[_0x1a8c00&0xff]^_0xb18cab[_0x41f841++],_0x1c2970=_0x4c8d86[_0x4829f8>>>0x18]^_0x6b5c6c[_0x2a31c2>>>0x10&0xff]^_0x47ef7a[_0x1a8c00>>>0x8&0xff]^_0x60cf3b[_0x349855&0xff]^_0xb18cab[_0x41f841++],_0x337704=_0x4c8d86[_0x2a31c2>>>0x18]^_0x6b5c6c[_0x1a8c00>>>0x10&0xff]^_0x47ef7a[_0x349855>>>0x8&0xff]^_0x60cf3b[_0x4829f8&0xff]^_0xb18cab[_0x41f841++];_0x1a8c00=_0x12078f,_0x349855=_0x37ca81,_0x4829f8=_0x1c2970,_0x2a31c2=_0x337704;}var _0x12078f=(_0x1e83c9[_0x1a8c00>>>0x18]<<0x18|_0x1e83c9[_0x349855>>>0x10&0xff]<<0x10|_0x1e83c9[_0x4829f8>>>0x8&0xff]<<0x8|_0x1e83c9[_0x2a31c2&0xff])^_0xb18cab[_0x41f841++],_0x37ca81=(_0x1e83c9[_0x349855>>>0x18]<<0x18|_0x1e83c9[_0x4829f8>>>0x10&0xff]<<0x10|_0x1e83c9[_0x2a31c2>>>0x8&0xff]<<0x8|_0x1e83c9[_0x1a8c00&0xff])^_0xb18cab[_0x41f841++],_0x1c2970=(_0x1e83c9[_0x4829f8>>>0x18]<<0x18|_0x1e83c9[_0x2a31c2>>>0x10&0xff]<<0x10|_0x1e83c9[_0x1a8c00>>>0x8&0xff]<<0x8|_0x1e83c9[_0x349855&0xff])^_0xb18cab[_0x41f841++],_0x337704=(_0x1e83c9[_0x2a31c2>>>0x18]<<0x18|_0x1e83c9[_0x1a8c00>>>0x10&0xff]<<0x10|_0x1e83c9[_0x349855>>>0x8&0xff]<<0x8|_0x1e83c9[_0x4829f8&0xff])^_0xb18cab[_0x41f841++];_0x122355[_0x379e5d]=_0x12078f,_0x122355[_0x379e5d+0x1]=_0x37ca81,_0x122355[_0x379e5d+0x2]=_0x1c2970,_0x122355[_0x379e5d+0x3]=_0x337704;},'keySize':0x100/0x20});_0x582b6d[_0x2d632d(0x43a)]=_0x18285d['_createHelper'](_0x4f1a4f);}()),_0x407f26[_0x37db96(0x43a)];}));}(_0x3a40aa));var _0x438385=_0x3a40aa[_0x20c0a9(0x3c9)];const _0x2675be=_0x373aff(_0x438385);var _0x4c70a6=_0xd666fa();const _0x13e791=_0x373aff(_0x4c70a6);var _0x53acaa={'exports':{}};(function(_0x12a660,_0x492090){(function(_0x2d946d,_0x20964e){const _0x4292a1=_0x414b;_0x12a660[_0x4292a1(0x3c9)]=_0x20964e(_0x3b7cdd());}(_0x3c3bdd,function(_0x181fa2){const _0x440251=_0x414b;return _0x181fa2[_0x440251(0x44e)]['Utf8'];}));}(_0x53acaa));var _0x4337e1=_0x53acaa[_0x20c0a9(0x3c9)];const _0x4ae2bf=_0x373aff(_0x4337e1);var _0x4b7dca={'exports':{}};(function(_0x198b37,_0x5d2fcc){(function(_0x350b6b,_0x326614){const _0x3abb33=_0x414b;_0x198b37[_0x3abb33(0x3c9)]=_0x326614(_0x3b7cdd());}(_0x3c3bdd,function(_0x40c862){const _0x32a6da=_0x414b;return(function(){const _0x2e623e=_0x414b;if(typeof ArrayBuffer==_0x2e623e(0x629)){var _0x4cc895=_0x40c862,_0x3c2101=_0x4cc895[_0x2e623e(0x46d)],_0x58abc5=_0x3c2101['WordArray'],_0x233f68=_0x58abc5[_0x2e623e(0x2bb)],_0x3cea26=_0x58abc5['init']=function(_0x16ced5){const _0xa1f1e6=_0x2e623e;if(_0x16ced5 instanceof ArrayBuffer&&(_0x16ced5=new Uint8Array(_0x16ced5)),(_0x16ced5 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x16ced5 instanceof Uint8ClampedArray||_0x16ced5 instanceof Int16Array||_0x16ced5 instanceof Uint16Array||_0x16ced5 instanceof Int32Array||_0x16ced5 instanceof Uint32Array||_0x16ced5 instanceof Float32Array||_0x16ced5 instanceof Float64Array)&&(_0x16ced5=new Uint8Array(_0x16ced5[_0xa1f1e6(0x618)],_0x16ced5[_0xa1f1e6(0x369)],_0x16ced5[_0xa1f1e6(0x1c3)])),_0x16ced5 instanceof Uint8Array){for(var _0x10a3bc=_0x16ced5[_0xa1f1e6(0x1c3)],_0x19958f=[],_0x51d47b=0x0;_0x51d47b<_0x10a3bc;_0x51d47b++)_0x19958f[_0x51d47b>>>0x2]|=_0x16ced5[_0x51d47b]<<0x18-_0x51d47b%0x4*0x8;_0x233f68['call'](this,_0x19958f,_0x10a3bc);}else _0x233f68[_0xa1f1e6(0x5d9)](this,arguments);};_0x3cea26['prototype']=_0x58abc5;}}()),_0x40c862[_0x32a6da(0x46d)][_0x32a6da(0x63a)];}));}(_0x4b7dca));var _0x55ea53=_0x4b7dca['exports'];const _0xa30d3a=_0x373aff(_0x55ea53);var _0x2cdcee={'exports':{}};(function(_0x3b8c2c,_0x19ac85){(function(_0x1f228a,_0x2ad337,_0xfd8220){const _0xc8021c=_0x414b;_0x3b8c2c[_0xc8021c(0x3c9)]=_0x2ad337(_0x3b7cdd(),_0x314250());}(_0x3c3bdd,function(_0x5916dc){const _0x1c3194=_0x414b;return _0x5916dc[_0x1c3194(0x269)][_0x1c3194(0x3b5)]={'pad':function(){},'unpad':function(){}},_0x5916dc[_0x1c3194(0x269)][_0x1c3194(0x3b5)];}));}(_0x2cdcee));var _0x5ee83c=_0x2cdcee['exports'];const _0x468dbb=_0x373aff(_0x5ee83c);function _0xa9807d(_0x8688da,_0x4b1574){const _0xaa89d=_0x20c0a9,_0x523654=_0x4b1574-_0x8688da[_0xaa89d(0x1b1)]%_0x4b1574,_0xb274fa=String[_0xaa89d(0x22c)](_0x523654)[_0xaa89d(0x635)](_0x523654);return _0x8688da+_0xb274fa;}function _0x3f23d9(_0x1b5a5a,_0x100b22){const _0x392645=_0x20c0a9,_0x5e3225=_0xa30d3a[_0x392645(0x48d)](0x10),_0x4dd9a1=_0xa9807d(_0x1b5a5a,0x10),_0x215c97=_0x2675be['encrypt'](_0x4ae2bf[_0x392645(0x352)](_0x4dd9a1),_0x13e791[_0x392645(0x352)](_0x100b22),{'iv':_0x5e3225,'padding':_0x468dbb});return _0x5e3225[_0x392645(0x601)](_0x215c97[_0x392645(0x27a)])[_0x392645(0x367)](_0x13e791);}function _0x1c5737(){const _0x264f7f=_0x20c0a9,_0x336b6a=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x264f7f(0x5d7)];if(_0x336b6a){const _0xef5e7b={'time':Math[_0x264f7f(0x52b)](Date[_0x264f7f(0x47d)]()/0x3e8),'domain':location[_0x264f7f(0x25f)]};return _0x3f23d9(JSON[_0x264f7f(0x26b)](_0xef5e7b),_0x336b6a);}}var _0x2a41dc=Object['defineProperty'],_0x2da331=Object['getOwnPropertyDescriptor'],_0xc6b2a2=(_0x887bcd,_0x504311,_0x24f4f5,_0x118a5d)=>{const _0x371f61=_0x20c0a9;for(var _0x53794d=_0x118a5d>0x1?void 0x0:_0x118a5d?_0x2da331(_0x504311,_0x24f4f5):_0x504311,_0x35ce4a=_0x887bcd[_0x371f61(0x1b1)]-0x1,_0x2b81ea;_0x35ce4a>=0x0;_0x35ce4a--)(_0x2b81ea=_0x887bcd[_0x35ce4a])&&(_0x53794d=(_0x118a5d?_0x2b81ea(_0x504311,_0x24f4f5,_0x53794d):_0x2b81ea(_0x53794d))||_0x53794d);return _0x118a5d&&_0x53794d&&_0x2a41dc(_0x504311,_0x24f4f5,_0x53794d),_0x53794d;},_0x2ee22c=(_0xa4c76e,_0x5cafea)=>(_0x5e1314,_0x5bfe52)=>_0x5cafea(_0x5e1314,_0x5bfe52,_0xa4c76e);let _0x4cfdec=class{constructor(_0xa3960b){const _0x55198e=_0x20c0a9;this[_0x55198e(0x490)]=_0xa3960b,this[_0x55198e(0x3f0)]();}[_0x20c0a9(0x3f0)](){const _0xd502d8=_0x20c0a9;this['_httpService'][_0xd502d8(0x1ab)]({'interceptor':(_0x1f76bd,_0xe8d0c)=>{const _0x300c7f=_0xd502d8,_0x50053f=_0x1f76bd[_0x300c7f(0x423)],_0x228a2b=_0x1c5737();return _0x228a2b&&_0x50053f[_0x300c7f(0x19a)]('x-univer-host',_0x228a2b),_0xe8d0c(_0x1f76bd);}});}};_0x4cfdec=_0xc6b2a2([_0x2ee22c(0x0,_0x442b7a['Inject'](_0xbf8193[_0x20c0a9(0x509)]))],_0x4cfdec);var _0x2850bd=Object['defineProperty'],_0x2769f2=Object[_0x20c0a9(0x526)],_0x10c376=(_0x1b0dc6,_0xa2d141,_0x27e303,_0x4cd2eb)=>{for(var _0x579c01=_0x4cd2eb>0x1?void 0x0:_0x4cd2eb?_0x2769f2(_0xa2d141,_0x27e303):_0xa2d141,_0x1f35b0=_0x1b0dc6['length']-0x1,_0x604446;_0x1f35b0>=0x0;_0x1f35b0--)(_0x604446=_0x1b0dc6[_0x1f35b0])&&(_0x579c01=(_0x4cd2eb?_0x604446(_0xa2d141,_0x27e303,_0x579c01):_0x604446(_0x579c01))||_0x579c01);return _0x4cd2eb&&_0x579c01&&_0x2850bd(_0xa2d141,_0x27e303,_0x579c01),_0x579c01;},_0x49b626=(_0x305634,_0xd1a23a)=>(_0x4abf9a,_0x54e330)=>_0xd1a23a(_0x4abf9a,_0x54e330,_0x305634);const _0x121dbc=[_0x20c0a9(0x5c8),_0x20c0a9(0x2c6),_0x20c0a9(0x28d),'image/gif',_0x20c0a9(0x456)],_0x37350f=0x5*0x400*0x400,_0x21dc36=_0x20c0a9(0x3b9),_0xd3db2a=_0x20c0a9(0x1f8),_0x177cf3=_0x20c0a9(0x349),_0x57a361=_0x20c0a9(0x642);_0x464166[_0x20c0a9(0x463)]=class{constructor(_0x2deed0,_0x53c428,_0x193075){const _0x57d90e=_0x20c0a9;_0x178698(this,'_waitCount',0x0),_0x178698(this,_0x57d90e(0x5c1),new _0x5cd5b5[(_0x57d90e(0x438))]()),_0x178698(this,_0x57d90e(0x3f7),this[_0x57d90e(0x5c1)]),_0x178698(this,'_imageSourceCache',new Map()),(this[_0x57d90e(0x490)]=_0x2deed0,this['_configService']=_0x53c428,this['_univerInstanceService']=_0x193075);}[_0x20c0a9(0x2e8)](_0x46b40c){const _0x3760ab=_0x20c0a9;this[_0x3760ab(0x3a6)]=_0x46b40c,this[_0x3760ab(0x5c1)]['next'](_0x46b40c);}['getImageSourceCache'](_0x36dfc4,_0x28161f){const _0x5e513e=_0x20c0a9;if(_0x28161f===_0x796c9a['ImageSourceType'][_0x5e513e(0x264)]){const _0x57c594=new Image();return _0x57c594['src']=_0x36dfc4,_0x57c594;}return this[_0x5e513e(0x399)][_0x5e513e(0x43d)](_0x36dfc4);}[_0x20c0a9(0x598)](_0x40b8de,_0x36d2ff,_0x41de20){const _0x20c443=_0x20c0a9;_0x36d2ff===_0x796c9a[_0x20c443(0x52e)]['BASE64']||_0x41de20==null||this[_0x20c443(0x399)][_0x20c443(0x19a)](_0x40b8de,_0x41de20);}async[_0x20c0a9(0x37a)](_0x292c30){const _0x5b7163=_0x20c0a9;try{const _0x4d532f=this[_0x5b7163(0x3ed)](this[_0x5b7163(0x4d5)](),''+_0x292c30),_0x2bcd81=(await this[_0x5b7163(0x490)][_0x5b7163(0x43d)](_0x4d532f))[_0x5b7163(0x3b2)];if(_0x2bcd81[_0x5b7163(0x358)]&&_0x2bcd81[_0x5b7163(0x358)]['code']===_0x4c93ce['OK']){const _0x1e8a02=new URL(_0x2bcd81['url'],this[_0x5b7163(0x576)]())[_0x5b7163(0x367)]();return Promise[_0x5b7163(0x5ef)](_0x1e8a02);}return Promise['reject'](_0x2bcd81[_0x5b7163(0x358)]);}catch(_0x4aae11){return Promise['reject'](_0x4aae11);}}async[_0x20c0a9(0x464)](_0x509735){const _0x311a21=_0x20c0a9;let _0x24fc9f='';if(!_0x121dbc[_0x311a21(0x387)](_0x509735[_0x311a21(0x54a)]))return this[_0x311a21(0x2e7)](),Promise[_0x311a21(0x26e)](new Error(_0x796c9a['ImageUploadStatusType'][_0x311a21(0x421)]));if(_0x509735[_0x311a21(0x1cc)]>_0x37350f)return this[_0x311a21(0x2e7)](),Promise[_0x311a21(0x26e)](new Error(_0x796c9a['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x883f5d=new FormData();_0x883f5d[_0x311a21(0x217)](_0x311a21(0x2de),_0x509735);const _0x58db10=this['_univerInstanceService'][_0x311a21(0x581)](),_0x17d863=_0x58db10==null?void 0x0:_0x58db10['getUnitId']();if(!_0x17d863)throw new Error('unitId\x20is\x20not\x20found');const _0x32b37a=this[_0x311a21(0x43c)]()+'?size='+_0x509735[_0x311a21(0x1cc)][_0x311a21(0x367)]()+_0x311a21(0x216)+_0x46cda9[_0x311a21(0x5ea)]+_0x311a21(0x60f)+encodeURIComponent(_0x17d863),_0x23b877=await(await fetch(_0x32b37a,{'method':_0x311a21(0x3bd),'body':_0x883f5d}))['json']();if(typeof _0x23b877[_0x311a21(0x57a)]!=_0x311a21(0x410))return this[_0x311a21(0x2e7)](),Promise['reject'](new Error(_0x796c9a['ImageUploadStatusType']['ERROR_IMAGE']));_0x24fc9f=_0x23b877[_0x311a21(0x57a)];}catch{return this[_0x311a21(0x2e7)](),Promise[_0x311a21(0x26e)](new Error(_0x796c9a[_0x311a21(0x5f8)][_0x311a21(0x402)]));}return new Promise((_0x42ee48,_0x2e1391)=>{const _0x1dd6b2=_0x311a21,_0x4abd37=new FileReader();_0x4abd37[_0x1dd6b2(0x483)](_0x509735),_0x4abd37[_0x1dd6b2(0x313)]=_0x24bc51=>{const _0x2803b7=_0x1dd6b2;var _0x3d87e1;const _0x1717f0=(_0x3d87e1=_0x24bc51[_0x2803b7(0x2a6)])==null?void 0x0:_0x3d87e1['result'];if(_0x1717f0==null){this[_0x2803b7(0x2e7)](),_0x2e1391(new Error(_0x796c9a[_0x2803b7(0x5f8)][_0x2803b7(0x402)]));return;}const _0x5aa604=_0x442b7a[_0x2803b7(0x207)]['generateRandomId'](0x6);_0x42ee48({'imageId':_0x5aa604,'imageSourceType':_0x796c9a[_0x2803b7(0x52e)][_0x2803b7(0x498)],'source':_0x24fc9f,'base64Cache':_0x1717f0,'status':_0x796c9a[_0x2803b7(0x5f8)][_0x2803b7(0x40a)]}),this[_0x2803b7(0x2e7)]();};});}[_0x20c0a9(0x43c)](){const _0x4f2626=_0x20c0a9;var _0x5852d3,_0x424daf;const _0x3b66d3=this['_configService'][_0x4f2626(0x602)](_0x21dc36),_0x1db021=this[_0x4f2626(0x293)][_0x4f2626(0x602)](_0x38eaa5);return(_0x424daf=(_0x5852d3=_0x1db021==null?void 0x0:_0x1db021['uploadFileServerUrl'])!=null?_0x5852d3:_0x3b66d3)!=null?_0x424daf:_0xd3db2a;}[_0x20c0a9(0x4d5)](){const _0x92053=_0x20c0a9;var _0x267fdc,_0x649f4c;const _0x4e65d5=this[_0x92053(0x293)][_0x92053(0x602)](_0x177cf3),_0xab3081=this[_0x92053(0x293)][_0x92053(0x602)](_0x38eaa5);return(_0x649f4c=(_0x267fdc=_0xab3081==null?void 0x0:_0xab3081[_0x92053(0x428)])!=null?_0x267fdc:_0x4e65d5)!=null?_0x649f4c:_0x57a361;}[_0x20c0a9(0x576)](){const _0x2c7688=_0x20c0a9;var _0x4da042;const _0x28c213=this[_0x2c7688(0x293)][_0x2c7688(0x602)](_0x38eaa5);return(_0x4da042=_0x28c213==null?void 0x0:_0x28c213[_0x2c7688(0x30b)])!=null?_0x4da042:location['origin'];}[_0x20c0a9(0x3ed)](_0xa1778d,_0x2e098e){const _0x501548=_0x20c0a9;return _0xa1778d[_0x501548(0x32b)](_0x501548(0x39e),_0x2e098e);}[_0x20c0a9(0x2e7)](){const _0x1bed15=_0x20c0a9;this['_waitCount']-=0x1,this[_0x1bed15(0x5c1)][_0x1bed15(0x252)](this[_0x1bed15(0x3a6)]);}},_0x464166['ImageIoService']=_0x10c376([_0x49b626(0x0,_0x442b7a[_0x20c0a9(0x301)](_0xbf8193[_0x20c0a9(0x509)])),_0x49b626(0x1,_0x442b7a['IConfigService']),_0x49b626(0x2,_0x442b7a[_0x20c0a9(0x301)](_0x442b7a[_0x20c0a9(0x559)]))],_0x464166[_0x20c0a9(0x463)]);var _0x2f5a5b=Object['defineProperty'],_0x3551c6=Object[_0x20c0a9(0x526)],_0x1ded50=(_0x2b0aef,_0x4e0171,_0x429659,_0x1df641)=>{const _0x47214a=_0x20c0a9;for(var _0x5b62ea=_0x1df641>0x1?void 0x0:_0x1df641?_0x3551c6(_0x4e0171,_0x429659):_0x4e0171,_0x373e26=_0x2b0aef[_0x47214a(0x1b1)]-0x1,_0x327f05;_0x373e26>=0x0;_0x373e26--)(_0x327f05=_0x2b0aef[_0x373e26])&&(_0x5b62ea=(_0x1df641?_0x327f05(_0x4e0171,_0x429659,_0x5b62ea):_0x327f05(_0x5b62ea))||_0x5b62ea);return _0x1df641&&_0x5b62ea&&_0x2f5a5b(_0x4e0171,_0x429659,_0x5b62ea),_0x5b62ea;},_0x4c0396=(_0x11da63,_0x15ef68)=>(_0x4ee6a9,_0x5db303)=>_0x15ef68(_0x4ee6a9,_0x5db303,_0x11da63);let _0x256557=class extends _0x442b7a[_0x20c0a9(0x1e8)]{constructor(_0x36f292,_0x2b59b6,_0x4d40da,_0x251205,_0x4aaa51){const _0x2ac68c=_0x20c0a9;super(),this[_0x2ac68c(0x4de)]=_0x36f292,this[_0x2ac68c(0x196)]=_0x2b59b6,this[_0x2ac68c(0x57b)]=_0x4d40da,this[_0x2ac68c(0x511)]=_0x251205,this[_0x2ac68c(0x5cb)]=_0x4aaa51,this['_initUnitPermissionChange'](),this[_0x2ac68c(0x1ef)]();}[_0x20c0a9(0x1ef)](){const _0x349f85=_0x20c0a9,_0x594aa1=async _0x33c71c=>{const _0x48c08b=_0x414b;(await this[_0x48c08b(0x511)][_0x48c08b(0x4fe)](_0x33c71c))[_0x48c08b(0x32c)]['pipe'](_0x368c6f[_0x48c08b(0x20d)](_0x5bc16f=>_0x5bc16f['eventID']===_0x143a17[_0x48c08b(0x299)][_0x48c08b(0x32a)]),_0x368c6f[_0x48c08b(0x30f)](this[_0x48c08b(0x530)]))[_0x48c08b(0x19e)](_0x56da4b=>{const _0x1397f6=_0x48c08b,_0xe39af4=_0x56da4b,{reason:_0x110e88}=_0xe39af4['data'];this['_injector'][_0x1397f6(0x43d)](_0x2b513a[_0x1397f6(0x496)])['show']({'type':_0x169949[_0x1397f6(0x2ef)][_0x1397f6(0x38a)],'content':this[_0x1397f6(0x5cb)]['t'](_0x1397f6(0x26a))+'('+_0x110e88+')'}),this['_permissionService']['updatePermissionPoint'](new _0x6c9a2[(_0x1397f6(0x64a))](_0x33c71c)['id'],!0x1),this['_collaborationSessionService'][_0x1397f6(0x1dc)](_0x33c71c);});};_0x5cd5b5['merge'](this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x442b7a[_0x349f85(0x524)][_0x349f85(0x5ed)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x442b7a[_0x349f85(0x524)]['UNIVER_DOC']))[_0x349f85(0x4f0)](_0x368c6f[_0x349f85(0x28e)](_0x456f39=>_0x456f39[_0x349f85(0x60a)]()),_0x368c6f[_0x349f85(0x20d)](_0x57302=>!_0x442b7a['isInternalEditorID'](_0x57302)),_0x368c6f[_0x349f85(0x30f)](this[_0x349f85(0x530)]))['subscribe'](_0x4725c3=>{_0x594aa1(_0x4725c3);});}[_0x20c0a9(0x22e)](){const _0x476b1f=_0x20c0a9,_0x4d9743=async _0x5e8140=>{const _0x42546c=_0x414b;(await this[_0x42546c(0x511)][_0x42546c(0x4fe)](_0x5e8140))['event$']['pipe'](_0x368c6f[_0x42546c(0x20d)](_0x36dcc5=>_0x36dcc5['eventID']===_0x143a17[_0x42546c(0x299)]['UPDATE_PERMISSION_OBJ']),_0x368c6f['takeUntil'](this[_0x42546c(0x530)]))[_0x42546c(0x19e)](_0x4cdae3=>{const _0x534edf=_0x42546c,_0x5c78ec=_0x4cdae3,{objectId:_0x4f7a18}=_0x5c78ec[_0x534edf(0x248)],_0x5cd1ee=this['_injector']['get'](_0x14ccae['SheetPermissionInitController']);_0x4f7a18===_0x5e8140?_0x5cd1ee[_0x534edf(0x603)](_0x5e8140):_0x5cd1ee['refreshPermission'](_0x5e8140,_0x4f7a18);});};_0x5cd5b5[_0x476b1f(0x317)](this['_univerInstanceService'][_0x476b1f(0x49f)](_0x442b7a[_0x476b1f(0x524)]['UNIVER_SHEET']),this[_0x476b1f(0x196)][_0x476b1f(0x49f)](_0x442b7a[_0x476b1f(0x524)][_0x476b1f(0x1b7)]))[_0x476b1f(0x4f0)](_0x368c6f[_0x476b1f(0x28e)](_0xdc96d2=>_0xdc96d2[_0x476b1f(0x60a)]()),_0x368c6f[_0x476b1f(0x20d)](_0x439f5c=>!_0x442b7a[_0x476b1f(0x459)](_0x439f5c)),_0x368c6f['takeUntil'](this[_0x476b1f(0x530)]))[_0x476b1f(0x19e)](_0x4c2ae4=>{_0x4d9743(_0x4c2ae4);});}};_0x256557=_0x1ded50([_0x4c0396(0x0,_0x442b7a[_0x20c0a9(0x301)](_0x442b7a[_0x20c0a9(0x414)])),_0x4c0396(0x1,_0x442b7a[_0x20c0a9(0x559)]),_0x4c0396(0x2,_0x442b7a[_0x20c0a9(0x1a2)]),_0x4c0396(0x3,_0x442b7a[_0x20c0a9(0x301)](_0x464166[_0x20c0a9(0x1b4)])),_0x4c0396(0x4,_0x442b7a['Inject'](_0x442b7a[_0x20c0a9(0x5b2)]))],_0x256557);var _0x57ed24=Object[_0x20c0a9(0x42e)],_0x56053b=Object[_0x20c0a9(0x526)],_0x5c65b2=(_0xaa688,_0x1742b2,_0x1f325b,_0x14efa2)=>{const _0x539196=_0x20c0a9;for(var _0x66df07=_0x14efa2>0x1?void 0x0:_0x14efa2?_0x56053b(_0x1742b2,_0x1f325b):_0x1742b2,_0x1d81a2=_0xaa688[_0x539196(0x1b1)]-0x1,_0x6b61c0;_0x1d81a2>=0x0;_0x1d81a2--)(_0x6b61c0=_0xaa688[_0x1d81a2])&&(_0x66df07=(_0x14efa2?_0x6b61c0(_0x1742b2,_0x1f325b,_0x66df07):_0x6b61c0(_0x66df07))||_0x66df07);return _0x14efa2&&_0x66df07&&_0x57ed24(_0x1742b2,_0x1f325b,_0x66df07),_0x66df07;},_0x5c2a57=(_0xfdb7cb,_0x24e442)=>(_0x21397f,_0x3f9a40)=>_0x24e442(_0x21397f,_0x3f9a40,_0xfdb7cb);_0x464166[_0x20c0a9(0x25a)]=class{constructor(_0x2622b4,_0x631b64){const _0x5e50bc=_0x20c0a9;this['_configService']=_0x2622b4,this[_0x5e50bc(0x490)]=_0x631b64;}async[_0x20c0a9(0x480)](_0x47f08d,_0x1d10ba){const _0x5d2893=_0x20c0a9;var _0x392b7a;const {unitID:_0x4ab8c6,type:_0x572660,revision:_0xd9f0a3=0x0}=_0x1d10ba,_0x2f2dca=this[_0x5d2893(0x420)]()+'/'+_0x572660+_0x5d2893(0x636)+_0x4ab8c6+_0x5d2893(0x2f6)+_0xd9f0a3,_0x2552be=(await this['_httpService'][_0x5d2893(0x43d)](_0x2f2dca))['body'],_0x23b94a=(_0x392b7a=_0x2552be[_0x5d2893(0x5d5)])==null?void 0x0:_0x392b7a[_0x5d2893(0x5ee)];if(_0x23b94a){const _0x2b3e16=_0x23b94a==null?void 0x0:_0x23b94a[_0x5d2893(0x2f1)],_0x533811=_0x143a17['textEncoder'][_0x5d2893(0x4c6)](_0x143a17[_0x5d2893(0x436)](_0x2b3e16));_0x23b94a['originalMeta']=_0x533811,Object['entries'](_0x23b94a[_0x5d2893(0x37b)])[_0x5d2893(0x56a)](([,_0x47127e])=>{const _0x2d3030=_0x5d2893,_0xaa9759=_0x47127e[_0x2d3030(0x2f1)],_0x12b472=_0x143a17[_0x2d3030(0x4cf)][_0x2d3030(0x4c6)](_0x143a17[_0x2d3030(0x436)](_0xaa9759));_0x47127e[_0x2d3030(0x2f1)]=_0x12b472;});}return _0x2552be;}async[_0x20c0a9(0x300)](_0x23a5f5,_0xe84d69){const _0x4d187a=_0x20c0a9,{unitID:_0x194a65,type:_0x58167f,blockID:_0x50be07}=_0xe84d69,_0x3b20c9=this['_getAPIPrefix']()+'/'+_0x58167f+_0x4d187a(0x636)+_0x194a65+_0x4d187a(0x1bb)+_0x50be07;return(await this['_httpService']['get'](_0x3b20c9))[_0x4d187a(0x3b2)];}async[_0x20c0a9(0x21d)](_0xe76b55,_0x364d2f){const _0x570b2e=_0x20c0a9,{unitID:_0xa9cd85,type:_0x566217,blockID:_0x2417d7}=_0x364d2f,_0x23f96e=this['_getAPIPrefix']()+_0x570b2e(0x1bb)+_0x566217+_0x570b2e(0x636)+_0xa9cd85+_0x570b2e(0x1bb)+_0x2417d7;return(await this['_httpService'][_0x570b2e(0x43d)](_0x23f96e))[_0x570b2e(0x3b2)];}async[_0x20c0a9(0x1cd)](_0x58eb11,_0x5d7c38){const _0x587ff3=_0x20c0a9,{unitID:_0x1c4998,type:_0x9ff47b,from:_0x1a2f95,to:_0x49bcda}=_0x5d7c38,_0x4cff56=this[_0x587ff3(0x3b7)]()+'/'+_0x9ff47b+_0x587ff3(0x636)+_0x1c4998+_0x587ff3(0x1fd)+_0x1a2f95+'&to='+_0x49bcda;return(await this[_0x587ff3(0x490)][_0x587ff3(0x43d)](_0x4cff56))[_0x587ff3(0x3b2)];}[_0x20c0a9(0x420)](){const _0x467efd=_0x20c0a9;var _0x560e78;return(_0x560e78=this[_0x467efd(0x293)][_0x467efd(0x602)](_0x46dc1f))!=null?_0x560e78:this[_0x467efd(0x3b7)]();}[_0x20c0a9(0x3b7)](){const _0x5b36b7=_0x20c0a9;var _0x4eafb7,_0x8cad0f;const _0x4c91cb=this['_configService'][_0x5b36b7(0x602)](_0x26ff33),_0x5bbab8=this[_0x5b36b7(0x293)][_0x5b36b7(0x602)](_0x38eaa5);return(_0x8cad0f=(_0x4eafb7=_0x5bbab8==null?void 0x0:_0x5bbab8['snapshotServerUrl'])!=null?_0x4eafb7:_0x4c91cb)!=null?_0x8cad0f:_0x5cd988;}async['getResourcesRequest'](_0xb2fd00,_0x234bdb){const _0x17a6d5=_0x20c0a9,_0x4cece8='/universer-api/snapshot/'+_0x234bdb['type']+'/unit/'+_0x234bdb[_0x17a6d5(0x5ce)]+'/resources';return(await this[_0x17a6d5(0x490)][_0x17a6d5(0x43d)](_0x4cece8,{'params':{'resourceId':JSON[_0x17a6d5(0x26b)](_0x234bdb[_0x17a6d5(0x351)])}}))[_0x17a6d5(0x3b2)];}[_0x20c0a9(0x25b)](){const _0x5b5dde=_0x20c0a9;throw new Error(_0x5b5dde(0x488));}[_0x20c0a9(0x2d2)](){const _0x50617a=_0x20c0a9;throw new Error(_0x50617a(0x488));}[_0x20c0a9(0x1c4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x20c0a9(0x4af)](){const _0x3e9f32=_0x20c0a9;throw new Error(_0x3e9f32(0x488));}[_0x20c0a9(0x401)](){const _0x199093=_0x20c0a9;throw new Error(_0x199093(0x488));}},_0x464166[_0x20c0a9(0x25a)]=_0x5c65b2([_0x5c2a57(0x0,_0x442b7a[_0x20c0a9(0x54d)]),_0x5c2a57(0x1,_0x442b7a[_0x20c0a9(0x301)](_0xbf8193['HTTPService']))],_0x464166['SnapshotServerOverHTTPService']);var _0x3ab7c6=Object[_0x20c0a9(0x42e)],_0x3e2a91=Object[_0x20c0a9(0x526)],_0x25f3c8=(_0x4d393c,_0x9491bc,_0x5e3151,_0x275806)=>{const _0x34c082=_0x20c0a9;for(var _0x3d26f9=_0x275806>0x1?void 0x0:_0x275806?_0x3e2a91(_0x9491bc,_0x5e3151):_0x9491bc,_0xb828ac=_0x4d393c[_0x34c082(0x1b1)]-0x1,_0x2cb6af;_0xb828ac>=0x0;_0xb828ac--)(_0x2cb6af=_0x4d393c[_0xb828ac])&&(_0x3d26f9=(_0x275806?_0x2cb6af(_0x9491bc,_0x5e3151,_0x3d26f9):_0x2cb6af(_0x3d26f9))||_0x3d26f9);return _0x275806&&_0x3d26f9&&_0x3ab7c6(_0x9491bc,_0x5e3151,_0x3d26f9),_0x3d26f9;},_0x4de62d=(_0x2c8cf1,_0x4dd229)=>(_0x3c0440,_0x162e9f)=>_0x4dd229(_0x3c0440,_0x162e9f,_0x2c8cf1);let _0x544eff=class extends _0x442b7a[_0x20c0a9(0x5ae)]{constructor(_0x20bf37,_0x1f735b,_0x3110ae,_0x2fde32,_0xce0417){const _0x4a9834=_0x20c0a9;super(_0x20bf37,_0x1f735b,_0x3110ae),this[_0x4a9834(0x61d)]=_0x2fde32,this[_0x4a9834(0x24b)]=_0xce0417;}[_0x20c0a9(0x23a)](_0x52812c,_0x1a28ac){const _0x512cb2=_0x20c0a9,_0x3094ab=this[_0x512cb2(0x246)](_0x52812c);if(_0x3094ab)try{const _0x176e32=this[_0x512cb2(0x4a6)](_0x3094ab,_0x1a28ac);this[_0x512cb2(0x543)](_0x52812c,_0x176e32);}catch(_0x4aad43){this[_0x512cb2(0x24b)][_0x512cb2(0x358)](_0x512cb2(0x3f8),_0x4aad43),this[_0x512cb2(0x39a)](_0x52812c);}const _0x4d1a87=this[_0x512cb2(0x270)](_0x52812c);if(_0x4d1a87)try{const _0x5f146d=this[_0x512cb2(0x4a6)](_0x4d1a87,_0x1a28ac);this['_substituteRedoStack'](_0x52812c,_0x5f146d);}catch(_0x4811cb){this[_0x512cb2(0x24b)]['error'](_0x4811cb),this[_0x512cb2(0x611)](_0x52812c);}}[_0x20c0a9(0x39a)](_0x45fa89){const _0x4ddc54=this['_getUndoStack'](_0x45fa89);_0x4ddc54&&(_0x4ddc54['length']=0x0,this['_updateStatus']());}[_0x20c0a9(0x611)](_0x188166){const _0x32f8b4=_0x20c0a9,_0x3160fd=this[_0x32f8b4(0x270)](_0x188166);_0x3160fd&&(_0x3160fd[_0x32f8b4(0x1b1)]=0x0,this['_updateStatus']());}[_0x20c0a9(0x543)](_0x19d973,_0x75b2e8){const _0x4281e8=_0x20c0a9;this[_0x4281e8(0x437)][_0x4281e8(0x19a)](_0x19d973,_0x75b2e8),this['_updateStatus']();}[_0x20c0a9(0x324)](_0x23dd4c,_0x2a710f){const _0x5c7ab6=_0x20c0a9;this['_redoStacks'][_0x5c7ab6(0x19a)](_0x23dd4c,_0x2a710f),this[_0x5c7ab6(0x527)]();}[_0x20c0a9(0x4a6)](_0x27c969,_0xe17c21){const _0x31d5ec=_0x20c0a9,_0x5f2900=[];let _0x4e8d1d=_0xe17c21,_0x16b0f7=_0xe17c21;for(let _0x53a2b9=_0x27c969[_0x31d5ec(0x1b1)]-0x1;_0x53a2b9>=0x0;_0x53a2b9--){const {unitID:_0x29c072,undoMutations:_0x3f7e62,redoMutations:_0x5ddcd2}=_0x27c969[_0x53a2b9],_0x29b8c9=this[_0x31d5ec(0x61d)][_0x31d5ec(0x608)](_0x4e8d1d,_0x3f7e62),_0x4aafda=this[_0x31d5ec(0x61d)][_0x31d5ec(0x608)](_0x16b0f7,_0x5ddcd2);if(_0x143a17[_0x31d5ec(0x307)](_0x29b8c9)||_0x143a17[_0x31d5ec(0x307)](_0x4aafda)){this[_0x31d5ec(0x24b)][_0x31d5ec(0x358)](_0x31d5ec(0x3f8),'transformStack\x20failed!',_0x29b8c9,_0x4aafda);break;}_0x4e8d1d=_0x29b8c9[_0x31d5ec(0x556)],_0x16b0f7=_0x4aafda[_0x31d5ec(0x556)],_0x5f2900[_0x31d5ec(0x2ce)]({'unitID':_0x29c072,'undoMutations':_0x29b8c9['m2Prime'],'redoMutations':_0x4aafda['m2Prime']});}return _0x5f2900['reverse']();}};_0x544eff=_0x25f3c8([_0x4de62d(0x0,_0x442b7a[_0x20c0a9(0x559)]),_0x4de62d(0x1,_0x442b7a['ICommandService']),_0x4de62d(0x2,_0x442b7a['IContextService']),_0x4de62d(0x3,_0x143a17[_0x20c0a9(0x376)]),_0x4de62d(0x4,_0x442b7a[_0x20c0a9(0x188)])],_0x544eff);class _0x1c3468 extends _0x442b7a[_0x20c0a9(0x1e8)]{constructor(){const _0x4ad2be=_0x20c0a9;super(),_0x178698(this,'urlChange$'),this['urlChange$']=_0x5cd5b5[_0x4ad2be(0x5ec)](window,'popstate')[_0x4ad2be(0x4f0)](_0x5cd5b5[_0x4ad2be(0x30f)](this[_0x4ad2be(0x530)]),_0x5cd5b5[_0x4ad2be(0x186)](0x1),_0x5cd5b5['mapTo'](void 0x0));}[_0x20c0a9(0x3e9)](_0xdfa97e,_0x4fd037,_0x94dd4=!0x1){const _0x133497=_0x20c0a9,_0x322f19=new URL(window['location'][_0x133497(0x2f5)]);_0x322f19[_0x133497(0x291)][_0x133497(0x19a)](_0xdfa97e,_0x4fd037),_0x94dd4?window[_0x133497(0x2d5)][_0x133497(0x4f1)]('','',_0x322f19[_0x133497(0x367)]()):window[_0x133497(0x2d5)][_0x133497(0x3ba)]('','',_0x322f19[_0x133497(0x367)]());}['removeParam'](_0x41c4fa,_0x3d469d=!0x1){const _0x51dfbb=_0x20c0a9,_0x4814c8=new URL(window[_0x51dfbb(0x60b)][_0x51dfbb(0x2f5)]);_0x4814c8[_0x51dfbb(0x291)][_0x51dfbb(0x41f)](_0x41c4fa),_0x3d469d?window[_0x51dfbb(0x2d5)][_0x51dfbb(0x4f1)]('','',_0x4814c8[_0x51dfbb(0x367)]()):window[_0x51dfbb(0x2d5)][_0x51dfbb(0x3ba)]('','',_0x4814c8[_0x51dfbb(0x367)]());}[_0x20c0a9(0x4e6)](_0x5893f3){const _0xa5acc0=_0x20c0a9;var _0x582c3b;return(_0x582c3b=new URL(window['location'][_0xa5acc0(0x2f5)])[_0xa5acc0(0x291)][_0xa5acc0(0x43d)](_0x5893f3))!=null?_0x582c3b:void 0x0;}}var _0x4c1a5f=Object[_0x20c0a9(0x42e)],_0x21a6f1=Object[_0x20c0a9(0x526)],_0x19be2d=(_0x534f20,_0x16a2db,_0x38eb71)=>_0x16a2db in _0x534f20?_0x4c1a5f(_0x534f20,_0x16a2db,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38eb71}):_0x534f20[_0x16a2db]=_0x38eb71,_0x471308=(_0x3a9008,_0x4cd63c,_0x23b6e1,_0x405391)=>{const _0x5e5c0d=_0x20c0a9;for(var _0x4b4829=_0x405391>0x1?void 0x0:_0x405391?_0x21a6f1(_0x4cd63c,_0x23b6e1):_0x4cd63c,_0x1f0710=_0x3a9008[_0x5e5c0d(0x1b1)]-0x1,_0x2867b3;_0x1f0710>=0x0;_0x1f0710--)(_0x2867b3=_0x3a9008[_0x1f0710])&&(_0x4b4829=(_0x405391?_0x2867b3(_0x4cd63c,_0x23b6e1,_0x4b4829):_0x2867b3(_0x4b4829))||_0x4b4829);return _0x405391&&_0x4b4829&&_0x4c1a5f(_0x4cd63c,_0x23b6e1,_0x4b4829),_0x4b4829;},_0x91e42d=(_0x52ba2e,_0x22f638)=>(_0x9b0c10,_0x4cfa16)=>_0x22f638(_0x9b0c10,_0x4cfa16,_0x52ba2e),_0x45ea5f=(_0x4845c1,_0x39b91a,_0x4d83bb)=>_0x19be2d(_0x4845c1,_0x39b91a+'',_0x4d83bb);const _0x217e0e=_0x20c0a9(0x323);_0x464166[_0x20c0a9(0x4b3)]=class extends _0x442b7a['Plugin']{constructor(_0x4a0ba1=_0x15c13e,_0x1cc47d,_0x40115,_0x3ae3b9,_0x44d52f){const _0x2a4a30=_0x20c0a9;super(),this[_0x2a4a30(0x1f4)]=_0x4a0ba1,this[_0x2a4a30(0x24b)]=_0x1cc47d,this[_0x2a4a30(0x2ae)]=_0x40115,this[_0x2a4a30(0x4de)]=_0x3ae3b9,this[_0x2a4a30(0x293)]=_0x44d52f;const {..._0x32f636}=this[_0x2a4a30(0x1f4)];this[_0x2a4a30(0x293)]['setConfig'](_0x38eaa5,_0x32f636);}['onStarting'](){const _0x3ede8a=_0x20c0a9;this[_0x3ede8a(0x623)](),this[_0x3ede8a(0x3c2)]();}['onReady'](){const _0x1e4d93=_0x20c0a9;_0x442b7a[_0x1e4d93(0x35e)](this[_0x1e4d93(0x4de)],[[_0xd63027]]);}[_0x20c0a9(0x21f)](){const _0x151542=_0x20c0a9;this[_0x151542(0x49b)]();}[_0x20c0a9(0x623)](){const _0x3c9d51=_0x20c0a9;var _0x53a58e,_0x5ce20c,_0x4a2ea1,_0x4900ac;this['_injector']['has'](_0x442b7a[_0x3c9d51(0x4a7)])&&this[_0x3c9d51(0x24b)][_0x3c9d51(0x358)](_0x3c9d51(0x4dd),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x4a3796=[[_0x442b7a['IUndoRedoService'],{'useClass':_0x544eff}],[_0x464166[_0x3c9d51(0x1b4)]],[_0x3c306a],[_0x21a928,{'useClass':_0x1c3468}],[_0x464166[_0x3c9d51(0x357)]],[_0x464166[_0x3c9d51(0x2a7)]],[_0xbf8193[_0x3c9d51(0x59a)]],[_0x5bac6d],[_0x28e5c1],[_0x122147],[_0x5a70bc],[_0x135eb3],[_0xfa2371],[_0x4cfdec],[_0x54372a],[_0x256557],[_0x555a75,{'useClass':(_0x5ce20c=(_0x53a58e=this[_0x3c9d51(0x1f4)])==null?void 0x0:_0x53a58e[_0x3c9d51(0x547)])!=null?_0x5ce20c:_0x464166[_0x3c9d51(0x227)]}],[_0x143a17[_0x3c9d51(0x31d)],{'useClass':_0x464166[_0x3c9d51(0x25a)]}],[_0x442b7a[_0x3c9d51(0x27f)],{'useClass':_0x464166[_0x3c9d51(0x28c)]}],[_0x796c9a[_0x3c9d51(0x250)],{'useClass':_0x464166[_0x3c9d51(0x463)]}],[_0x464166[_0x3c9d51(0x2d8)]],[_0x464166[_0x3c9d51(0x622)]],[_0x464166['DesktopCollaborationStatusDisplayController']],[_0xd63027],[_0x374d6f]];(_0x4a2ea1=this[_0x3c9d51(0x1f4)])!=null&&_0x4a2ea1[_0x3c9d51(0x55f)]&&_0x4a3796[_0x3c9d51(0x2ce)]([_0xdf07b8,{'useClass':_0x4fcb08}]),_0x442b7a[_0x3c9d51(0x3fa)](this[_0x3c9d51(0x4de)],_0x442b7a[_0x3c9d51(0x272)](_0x4a3796,(_0x4900ac=this[_0x3c9d51(0x1f4)])==null?void 0x0:_0x4900ac[_0x3c9d51(0x231)]));}[_0x20c0a9(0x49b)](){const _0x4664e6=_0x20c0a9;this['disposeWithMe'](this['_renderManagerService'][_0x4664e6(0x628)](_0x442b7a['UniverInstanceType']['UNIVER_DOC'],[_0x161178])),this[_0x4664e6(0x36b)](this[_0x4664e6(0x2ae)][_0x4664e6(0x628)](_0x442b7a[_0x4664e6(0x524)][_0x4664e6(0x5ed)],[_0x103ccc]));}['_initDependencies'](){const _0x296c3=_0x20c0a9;var _0x37fff5,_0x2a082e;this[_0x296c3(0x4de)][_0x296c3(0x43d)](_0xbf8193[_0x296c3(0x509)])[_0x296c3(0x1ab)]({'priority':0x14,'interceptor':_0xbf8193[_0x296c3(0x23d)]({'maxParallel':0x6})}),(_0x37fff5=this[_0x296c3(0x1f4)])!=null&&_0x37fff5['enableOfflineEditing']||this[_0x296c3(0x4de)]['get'](_0x464166[_0x296c3(0x2a7)])[_0x296c3(0x30a)](),(_0x2a082e=this[_0x296c3(0x1f4)])!=null&&_0x2a082e[_0x296c3(0x1e5)]&&_0x442b7a[_0x296c3(0x35e)](this[_0x296c3(0x4de)],[[_0xfa2371]]),_0x442b7a[_0x296c3(0x35e)](this['_injector'],[[_0x4cfdec],[_0x374d6f],[_0x464166['DataLoaderController']],[_0x464166['CollaborationController']],[_0x464166[_0x296c3(0x1e1)]],[_0x256557]]);}},_0x45ea5f(_0x464166[_0x20c0a9(0x4b3)],_0x20c0a9(0x33e),_0x217e0e),_0x464166[_0x20c0a9(0x4b3)]=_0x471308([_0x442b7a['DependentOn'](_0x143a17[_0x20c0a9(0x649)],_0xbf8193[_0x20c0a9(0x2a0)]),_0x91e42d(0x1,_0x442b7a['ILogService']),_0x91e42d(0x2,_0xbbe220[_0x20c0a9(0x3ac)]),_0x91e42d(0x3,_0x442b7a[_0x20c0a9(0x301)](_0x442b7a['Injector'])),_0x91e42d(0x4,_0x442b7a[_0x20c0a9(0x54d)])],_0x464166[_0x20c0a9(0x4b3)]),_0x464166[_0x20c0a9(0x5c4)]=_0x32d5a1,_0x464166[_0x20c0a9(0x289)]=_0x440534,_0x464166['COLLAB_WEB_SOCKET_URL_KEY']=_0x4b5c50,_0x464166[_0x20c0a9(0x1de)]=_0x446f55,_0x464166[_0x20c0a9(0x20e)]=_0x1b8cf1,_0x464166[_0x20c0a9(0x39c)]=_0x54372a,_0x464166[_0x20c0a9(0x2f7)]=_0x714583,_0x464166[_0x20c0a9(0x2f8)]=_0x503ab5,_0x464166[_0x20c0a9(0x18e)]=_0x555a75,_0x464166['IURLService']=_0x21a928,_0x464166[_0x20c0a9(0x1e9)]=_0x4181cb,_0x464166[_0x20c0a9(0x397)]=_0x4e8d32,_0x464166[_0x20c0a9(0x328)]=_0x3c59d1,_0x464166[_0x20c0a9(0x5bc)]=_0x3e3490,_0x464166[_0x20c0a9(0x4e0)]=_0x26ff33,_0x464166[_0x20c0a9(0x50b)]=_0x46dc1f,_0x464166[_0x20c0a9(0x4e3)]=_0x46eb20,_0x464166['SheetCollabCursorShape']=_0xbf6f2d,_0x464166[_0x20c0a9(0x56b)]=_0x1c3468,_0x464166[_0x20c0a9(0x47f)]=_0x4ae5a3,_0x464166[_0x20c0a9(0x5d6)]=_0x110bc6,Object[_0x20c0a9(0x42e)](_0x464166,Symbol['toStringTag'],{'value':_0x20c0a9(0x538)});}));
|