@univerjs-pro/collaboration-client 0.4.2-nightly.202411041606 → 0.4.2-nightly.202411051606

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x3963(){const _0x155456=['_loadSheet','subscribe','message$','_onJoinRoomEvent','enc','VIEWPORT_KEY','/universer-api/stream/file/upload','Subject','with','resend','[OfflineState]:\x20received\x20changeset.','asObservable','getRelativeToViewportCoord','transformChangesets','get','_commentUpdate$','UNIVER_SHEET','_candidateSocket','onRemoteAck','_clearCollaborationTimeoutTimer','fromEventSubject','pushState','hasOwnProperty','CollaborationEntity','getUndoRedoMutationParamsCache','close$','_docSyncEditingCollabCursorService','FromArray','MUTATION','onRemoteRej','NodePositionConvertToCursor','max','UniverDocs','removeParam','leaveEvent','@univerjs/core','_setupBeforeClosingHandler','doc.mutation.rich-text-editing','ITelemetryService','SnapshotService','startTime','save\x20fail\x20reason\x20is\x20','getCurrentUser','putCollaborators','getUnitStatus$','registerRefRange','react.element','sessionStatus$','displayName','parseProtocolChangeset','_collaborationTimeoutTimer','getOffsetConfig','getSheetObject','INotificationService','_onRemoteRetry','toggleOffline','history','mutations','attrs','3484260tSlJWy','transformSelections','/-/object/-/batch_allowed','_disabled','show','setUndoRedoMutationParamsCache','algo','_transformStack','univer-offline','_initDependencies','target','_anchorDot','onRendered','RevisionService','colorChannel1','_nDataBytes','unsubscribe','IUniverInstanceService','USERS_LEAVE','[CollaborationSessionService]','session','_scheduleSaving','incrementRevOfUnit','_drawAnchor','onStateChange','_configService','IImageIoService','UniverCollaborationPlugin','Injector','_decreaseWaiting','onSendChangeset','byteLength','_sheetTransformSelectionsService','_cursorInfo$','collaboration_new_changeset','sigBytes','LIVESHARE_FETCH_OPERATIONS','collaMsg','ReactCurrentOwner','_updateSubUnitFromURLParams','_startSheetCollabCursor','_keySchedule','_colorAssignService','conflict.content','UniverCollaborationClient','_awaitingChangeset','ILogService','univer-online-status-icon','url','onCommandExecuted','_tryReconnect','collabStatus.syncing','unit-cache-','_getSheetObject','size','transformRemoteChangeset','_sender','patch','awaitingChangeset','_map','delete','_listenToOnlineEvent','error','height','getWorkbookSelections','RegularPolygon','onPointerLeave$','textEncoder','collab-client.tooltip.reconnect','PSEUDO_FETCH_MISSING_RESULT','hide','OpenSSL','_color','/object/','_handleJoinEvent','extend','session.will-retry','replaceTextRanges','fromCharCode','_remoteChangesetQueue','_hasher','_lastPointer','actions','b64DecodeUnicode','UniverDocsUi','isTransformChangesetsSuccess','_handleLeaveEvent','string','[PendingState]:\x20received\x20rejection.','generateRandomId','COLLAB_SUBMIT_CHANGESET_URL_KEY','_data','includes','_scene','defs','_saveTaskMap','_getCurrentRevision','NOT_COLLAB','randomUUID','UnitEmbedded','_resendTimeout','fetchMiss','_transformStateCache','measureText','_applyRemoteChangeset','_renderManagerService','stringify','rxjs','0\x200\x2017\x2016','capture','_transformPreviousActiveRange','file','Fragment','popstate','reqId','isPermissionRej','#FFF','listCollaborators','closeSession','editing\x20status\x20changed\x20to','/resources','_hovered','_onLocalMutation','UniverCollaboration','updateCursorEvent','unshift','min','_backgroundColor','unitId','_refRangeService','EffectRefRangId','AWAITING_WITH_PENDING','urlChange$','handleDeleteRangeMoveUp','from','_initResize','_toggleOnline','moveTo','TEXT_RANGE_LAYER_INDEX','map','encrypt','pluginName','mapDocumentTypeToUniverType','_change$','_refreshCollabCursors','deserializeToCombResponse','updateMember','SEND_CHANGESET_TIMEOUT','SnapshotServerOverHTTPService','UNIVER_UNKNOWN','BufferedBlockAlgorithm','syncEditingCollabCursor','SUBMIT_CHANGESET','4QBCJMD','getRangePointData','shareReplay','ciphertext','_entityInit$','_sendHeartbeat','ERROR_IMAGE_TYPE','formatter','visibilityState','font','&assign=','UNIVER_COLLABORATION_CLIENT_PLUGIN','toString','copyFileMeta','getDocRanges','WebSocketService','registerHTTPInterceptor','_joinRoom','_members','Tooltip','INGEST','rev','DocIMEInputManagerService','updateOfflineData','row','AES','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_imageSourceCache','\x20in\x20_schedule.','batchAllowed','randomBytes','/collaborator','key','_startDocCollabCursor','bottom','YUUMI_UNABLE_LOAD_URL','onMouseMove','$super','_collabSessionService','StreamCipher','updateCollaborator','/block/','handleIRemoveCol','defIds','RemoveRowCommandId','method','on-line-single','Base','ranges','_roomMembers$','_initUnitPermissionChange','_draw','CollaborationSession','floor','IConfigService','LOGIN_URL_KEY','selections','_docSkeletonManagerService','getMemberID','update','newValue','COLLAB_SUBMIT_CHANGESET_URL','Workbook','addObjects','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_waitCount','_getSnapshotAPIPrefix','isTransformMutationsWithChangesetSuccess','Hasher','INVALID_ARGUMENT','src','status$','_cursorShapes','[CollaborationState]:\x20apply\x20error!','RECV','_getScale','transformStateCache','UnitSnapshot','svg','_state$','set','loadOfflineData','has','LOCAL_CACHE_INTERVAL_KEY','_context','getUnitId','isTransformMutationFailure','engine','drawWith','push','objects','getCurrentUnitForType','_httpService','beginPath','_localeService','@univerjs/docs-ui','_onMessage','_transformUndoredo','\x20-\x20','CollaborationStatus','url(#on-line-single_clip0_910_349)','title','loadSheet','DeleteRangeMoveLeftCommandId','TOO_MANY_REQUESTS','collaboratorID','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_entities','uni.network.url-service','transformStack\x20failed!','getResourcesRequest','AWAITING','function','APPLY_REVISION_CONFILICT','unit','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_append','executeCommand','onPointerMove$','top','socketService','_resendTimer','hostname','_event$','touchDependencies','univer-online-status-title','_checkMissing','_session','reverse','UniverUi','trim','getRenderById','collabCursorState$','duration','MessageType','_getRedoStack','data','decrypt','_collabCursorState$','iterations','reduce','object','_handleHeartbeatEvent','format','onReady','Optional','add','_hash','activeSheet$','_getDownloadEndpointURL','_ws','_socketMessageSubscription','_transformRemoteChangesetByStateCache','_eventUnsubscribe','pending','PasswordBasedCipher','CompressMutationService','getFocusedUnit','_acknowledgedAwaitingChangeset','clone','assign','connectInjector','[OfflineState]:\x20received\x20rejection.','_registerDependencies','encodeURIComponent','slice','_revisionService','SNAPSHOT_INVALID_SNAPSHOT','switchMap','encode','Pkcs7','?size=','random','exports','ref','UniverInstanceType','roomMembers','__esModule','cursorInfo$','permission.content','_updateState','ALREADY_EXISTS','image/jpg','getValue','_messageService','error$','SheetCollaborationEntity','charAt','override','disposeWithMe','JSONX','operators','csRejEvent','_getCtorByUniverType','_textBubble','ceil','_range','_redoStacks','distinctUntilChanged','words','close','getTypeOfUnitAdded$','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','YUUMI_SUBSCRIPTION_NOT_FOUND','saveChangeset','DataLoaderController','getCurrentSelections','blockSize','@univerjs/rpc','url(#off-line-single_clip0_910_343)','objectID','_ensureSubject','EXCHANGE_SIGN_URL_SERVER_URL_KEY','CHANGESET_SHOULD_RETRY','setShapeProps','liveShareOperation','setStateCache','red300','fillRule','@univerjs/sheets-ui','LICENSE_EXPORT_SIZE_EXCEEDED','UPDATE_PERMISSION_OBJ','React','univer-pro.collaboration-client.single-active-unit-service','_state','deepClone','fetching\x20missing\x20changesets\x20from\x20','transformMutationsWithChangeset','SerializableCipher','_updateCollabCursors','state$','PENDING','permissionRejEvent','saveImage','_syncEditingCollabCursorService','_incrementRevisionNumber','LocalUndoRedoService','jsx','registerOnClose','/fetchmissing?from=','_docTransformIMECacheService','offline','collaboration.single-unit.warning','session.collaboration-timeout','APPLY_DUPLICATED','UniverSheets','setParam','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_waitForHeartbeatResponse','react','auth.needGotoLoginAlert','path','_commandService','DOC_RANGE_TYPE','_assignedColors','_createInitialStateImpl','sheetID','_executeRemoteChangeset','SHOULD_CLOSE_CONN','_socket$','_onRemoteRejected','HTTPService','stopTime','_socket','CipherParams','_onFetchMissResult','toggleOnline','_scheduleTimestamp','_doReset','getViewport','_sendingTimer','_mode','_collaborationController','ImageSourceType','EvpKDF','getRandomValues','sequenceExecute','_onOffline','mode','UNIVER_PROJECT','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','symbol','synced','@univerjs/engine-formula','saveSnapshot','/universer-api/snapshot/','off-line-single_clip0_910_343','_toggleOffline','PERMISSION_REJ','unload','SetWorksheetActivateCommand','onTransformSelections','onlyLocal','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getOwnPropertyDescriptor','44610BDORQh','_shouldReportTelemetry','_undoStacks','SetDocZoomRatioOperation','/unit/','DocSkeletonManagerService','on-line-single_clip0_910_349','setInterval','CONNECTOR_DATA_TOO_LARGE','debug','_handleEvent','&to=','joinEvent','routeKey','_collaborationPaused','COLORS','CONFLICT','fill','useRef','session.room-full','FAIL','sessionStatus','crypto','retryConnectingInterval','_substituteRedoStack','indexOf','MD5','getParam','_anchor','range','labelPosition','_timeoutTimer','DependentOn','repeat','WordArray','compute','createElement','undoState','setShowComponents','getCollabEntity','fetchMissingChangesets','hasher','_rescheduleHeartbeat','init','getCellPositionByOffset','_onRemoteACK','11457876FbETeX','CollaborationSocketService','SEND_CHANGESET_TIMEOUT_KEY','SNAPSHOT_SERVER_URL_KEY','assignAColorForMemberID','onSyncEditingCollabCursor','UniverCore','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','roomInfos','prototype','_socketService','isActive','resize','collabStatus.fetchMiss','setCurrentUser','decryptBlock','_iKey','pad','UNIVER_SLIDE','_handler','@univerjs-pro/collaboration','COMPRESS_MUTATION_APPLY','IRenderManagerService','url(#$1','_collaborationSessionService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','enableSingleActiveInstanceLock','getVpScrollXYInfoByPosToVp','_loadDoc','workbook','_shapes','_scheduleCollaborationTimeoutTimer','ICollaborationSocketService','location','reconnect','_drawTextRange','IPermissionService','JOINING','createDecryptor','_updateLocalCache','_createHmacHelper','_submitChangeset','toDisposable','_notificationService','BlockCipherMode','mapTo','current','onlineStatusIcon','bind','startRow','ERROR_IMAGE','take','LEAVE','_resendWithTimeout','useObservable','onRemoteChangeset','status','open$','getActiveSheet','onTransformState','transformUndoRedo','IContextService','name','_throwTelemetryCollaborationNewChangeset','_getLoginPath','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','icon','handleInsertCol','shouldCloseConn','registerDependencies','clearInterval','getSkeleton','Error\x20on\x20receiving\x20event','_keyPriorReset','_clearOtherTimers','addObject','RemoveColCommandId','responseType','awaiting_with_pending','_queuedRemoteChangesets','_getUndoStack','textRanges','_substituteUndoStack','onMissingChangesets','_listenToOfflineEvent','socket\x20open.','6659540HWsGEb','collabSubmitChangesetUrl','_updateURLWithCurrentState','uploadFileServerUrl','_prevBlock','findNodePositionByCharIndex','_transformService','onlineStatus','catch','values','Error','_handleHover','createInstance','LocaleService','RECT','_socketReady','handleMoveRange','fromCollab','FileId','replaceState','restore','_id','_init','memberID','[CollaborationSessionService]:\x20socket\x20error','CollaborationController','JOIN','SheetCollabCursorShape','[PendingState]:\x20unhandled\x20univer\x20type:\x20','/role','_collabCursorController','initWorkbookPermissionChange','conflict','LIVESHARE_TERMINATE','/allowed','Decryptor','salt','_onUserLeave','image/jpeg','_onConnectionFailed','execute','cursorInfo','collab-text-range-','LICENSE_IMPORT_SIZE_EXCEEDED','delay','UNIVER_DOC','_removeRoom','COMMENT_UPDATE','ITransformService','startsWith','_selfUnitIDs','ImageIoService','msCrypto','_replayCachedMutations','_uiPartsService','_unlockTransition','clear','getUnitType','resolve','WebURLService','clamp','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','getColor','snapshot','react.fragment','_invKeySchedule','NOT_FOUND','Hex','M0\x200H16V16H0z','TEXT','then','_nRounds','state','post','requestParams','removeMember','addEventListener','_iv','/universer-api/file/{fileID}/sign-url','_telemetryInfo','onTransformIME','image/png','getStateCache','handleDeleteRangeMoveLeft','@univerjs/sheets','send','liveShareNewHost','APPLY_REJECT','[DataLoaderController]','allowed','_online','selection','getCurrentRevOfUnit','body','roles','mixIn','round','SHA1','saveSheetBlock','_snapshotService','/new_changes','_scheduleClearOtherTimer','USERS_ENTER','_disableEditing','_themeService','_cursors','[OfflineState]:\x20received\x20acknowledgement.','NoPadding','arc','defineProperty','next','fillStyle','ONLINE','[CollaborationSession]','isArray','Disposable','[CollaborationEntity]','create','SessionStatus','/-/object/list','_docTransformStateCacheService','backgroundColor','enableLocalCache','parse','hovered','LIVESHARE_REQUEST_HOST','_stopTelemetryCollaborationNewChangeset','univer-online-status','cfg','ivSize','evenodd','UniverCollaborationClientPlugin','_saveCache','code','IDLE','[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.','Encryptor','UniverEngineRender','LIVESHARE_NEW_HOST','/object','_removeClearOtherTimer','CommentService','_retryCount','unitId\x20is\x20not\x20found','UNRECOGNIZED','getMember','action','&source=','padding','createCollaborator','_doProcessBlock','concat','save','NO_OTHER_CLIENTS_EDITING','_replaceFileID','ISnapshotServerService','SetSelectionsOperation','getUnitOnRev','@univerjs/drawing','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','NodePositionConvertToRectRange','_transitionLocked','Base64','complete','[SyncedState]:\x20received\x20acknowledgement.','SheetSkeletonManagerService','_docTransformSelectionsService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','dispose$','InsertRangeMoveDownCommandId','OffLineSingle','collab-text-anchor-','changesets','lib','_onCombEvent','Warning','fromEvent','objectActions','split','HEARTBEAT_TIMEOUT','364jYVApQ','collaboration.closeRoom','_commentService','_urlService','x-univer-host','lineTo','_getSendChangesetTimeout','_reverseMap','ThresholdInterceptorFactory','_doCryptBlock','div','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_telemetryService','storage','submit\x20changeset\x20error!','HEARTBEAT_INTERVAL_KEY','ENSURE_SNAPSHOT_EXECUTION','dispose','registerBeforeClose','_cachedData','getCoordByCell','sid','_labelPosition','getSheetBySheetId','getSheetBlock','HmacSHA1','withCredentials','185MXikRw','enableAuthServer','createIdentifier','every','_cursor','_clearHeartbeatTimer','sin','_docStateChangeManagerService','confirm','0\x200\x2016\x2016','docStateChange$','splice','_initCloseConn','_localStorageService','52280YOjFve','/universer-api/oidc/authpage','BASE64','useDependency','reset','rxjs/operators','Latin1','Module','baseRev','Rect','getTime','IAuthzIoService','filter','Tools','telemetry\x20info\x20is\x20not\x20initialized','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','transformByState','Rectangle','currentTheme$','finalize','collab-rect-range-','_setupSubUnitSync','DEFAULT_FILE_NAME','reject','roomMembers$','_getSaveTimeout','LocalCacheService','children','[CollaborationUndoRedoService]','_changesetSessionId','_status$','compose','APPLY_NON_SEQUENTIAL_REVISION','toRgbString','ICommandService','...','UUID','_onConnectionOpen','_unitOnClients','RxDisposable','serializeRangeWithSheet','mergeOverrideWithDependencies','_updateLocalCursor','socket\x20close','createEncryptor','Univer','black','_DEC_XFORM_MODE','ImageUploadStatusType','getDeserializedSheetBlock','apply','_docSkeleton','join','handleInsertRow','_onCursorUpdate','FETCH_MISS','CommandType','amd','csShouldRetryEvent','ERROR_EXCEED_SIZE','SetTextSelectionsOperation','getUniverSheetInstance','Shape','startColumn','m1Prime','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collabWebSocketUrl','_initStatusListener','3172593FCgOyP','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','HEARTBEAT_INTERVAL','width','_oKey','_fetchMissChangesets','takeUntil','currentColor','localeService','@univerjs/design','endColumn','_startCollaboration','YUUMI_RATE_OVER_LIMIT','eventID','off-line-single','_getAPIPrefixPath','_heartbeatTimer','readInt32LE','_http','_retryConnectingTimer','_onUserJoin','MemberService','CHANGESET_ACK','_onCursorDelete','_logService','_key','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','event$','UniverRpc','Inject','useCallback','createSocket','Malformed\x20UTF-8\x20data','forwardRef','DesktopCollaborationStatusDisplayController','className','Could\x20not\x20dynamically\x20require\x20\x22','11pXEeNf','onlineStatusTitle','@univerjs/docs','_onRefRangeChange','__creator','resourceIDs','HttpImport','onMissedChangesetFetched','_scheduleHeartbeat','_xformMode','setItem','CHANGESET_REJ','onTransformRemoteChangesetByIMECache','for','_pendingMutations','@univerjs/network','type','_doFinalize','_memberService','DocStateChangeManagerService','collabStatus.offline','csAckEvent','params','length','visibilitychange','_startTelemetryCollaborationNewChangeset','getRoom','_unitID','_name','UniverNetworkPlugin','_colorIndex','_config','_showConflictNotification','_createSocket','@univerjs/telemetry','_drawRectRange','whenReady','_createHelper','TRANSFORM_CHANGE_OBSERVABLE_TYPE','serializeCombRequest','SheetsSelectionsService','IBeforeCloseService','_sessions','HEADER_MENU','@univerjs/ui','revision','Utf8','ReplaySubject','BehaviorSubject','abs','substring','unknown','_permissionService','none','json','default','subunit','UniverNetwork','getCurrent','origin','number','_getUploadFileURL','kdf','objectType','jsxs','unitID','_type','_createHandler','transformMutation','_localCacheService','_onConflict','getCollabEntity$','fetchThroughInterceptors','_roomMembers','_updateStatus','_hideTimer','xlink:href','collaboration-client.config','commentUpdate$','UNKNOWN_CODE','_hover','_clearScheduledTask','conflict.title','_onRecvEvent','getConfig','userID','CollaborationEvent','_getAPIPrefix','_tryEnsureSocket','AuthzIoHttpService','Cipher','HELLO','append','CollaborationSessionService','clearTimeout','_clearRedo','getInterceptPoints','UserManagerService','updatePermissionPoint','_singleActiveUnitService','m2Prime','onPointerEnter$','_getAnchorBounding','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','debounce','MoveRangeCommandId','saveOfflineData','OnLineSingle','HEARTBEAT','buffer','IUIPartsService','_initCommandExecutedListener','_removeCollabCursors','univerjs-icon\x20univerjs-icon-','pipe','_sendHeartbeatTimer','originalMeta','_injector','AUTHZ_URL_KEY','OTHER_CLIENTS_EDITING','_syncEditingCollabCursor','defaultProps','forEach','_clearUndo','color','call','IUndoRedoService','some','sendChangesetTimeout','SYNCED','getTypeOfUnitDisposed$','online','[SyncedState]:\x20received\x20rejection.','onTransformChange$','transform','getSheetId','UniverTelemetry','fillText','processBlock','_process','onTransformRemoteChangesetByStateCache','_getMergeRange','_unitStatus','_registerRenderDependencies','newCsEvent','OFFLINE','_send','55184RyJjJS','BlockCipher','Vector2','c1Prime','subUnitId','/universer-api/authz','_exhaustRemoteChangesetQueue','disableLocalCache','column','currentSkeleton$','FETCH_MISSING','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','jiqing500','setActiveRange','cmd','1em','image/bmp','setTimeout','disposeUnit','collaborators','awaiting','_schedule','_HTTPService','setAlpha','PERMISSION_DENIED','combineLatest','_instanceService','propertyIsEnumerable','SNAPSHOT_HAS_BEEN_REMOVED','replace','_initRequestHeader','_clearTimeoutTimer','_beforeCloseService','_ENC_XFORM_MODE','_sheetSkeletonManagerService','Undefined','loginUrlKey','_onRemoteChangeset','MSG_FOR_ERROR','collaboration-session-retry','Unknown\x20user','LIVESHARE_OPERATION','#fff','parseChangesetToProtocol','endRow','COMPLETION_FINISHED','_render','_clearLocalCache','DisposableCollection','_createInitialState','YUUMI_URL_COL_OUT_OF_RANGE','_lockTransition','_userManagerService','byteOffset','getUnit','CBC','getLatestCsReqIdBySid','UniverDesign','\x20to\x20','interceptor','POST','LICENSE_MAX_UNITS_EXCEEDED','getCollabCursors$','VIEW_MAIN','CHANGESET_REVISION_CONFILICT','_transformUndoRedoStack','failed\x20to\x20apply\x20missed\x20changesets!','_transformSelections','RichTextEditingMutation','setWaitCount','NEW_CHANGESETS','8zXkGNo','debounceTime','/rev/','session.connection-failed','UNAUTHENTICATED','now','getUnhiddenWorksheets','_univerInstanceService','UNDEFINED','_cipher','_compressMutationService','_sessionStatus$','IMessageService','getAncestorScale','UNKNOWN_CMD','triggerDblclick','registerRenderModule','appendMutation','fetch_missing','INTERNAL_ERROR','{fileID}','href','_snapshotServerService','ColorKit','find','subscribeEvent','_transformRemoteChangesetByIMECache','editingUnit','isTransformMutationsWithChangesetFailure','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','onRemoteRetry','tag','charCodeAt','addImageSourceCache','members','WorkbookEditablePermission','_initEventListeners','\x0aCurrent:\x20','headers','UPDATE_CURSOR','_isPermissionRej','_getSignURL','merge','HMAC','DocCollaborationEntity','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','hidden','connection\x20error','clipPath','requireSession','handleInsertRangeMoveRight','DocSelectionManagerService','keySize'];_0x3963=function(){return _0x155456;};return _0x3963();}function _0x27a5(_0x1318e5,_0x40eda7){const _0x3963da=_0x3963();return _0x27a5=function(_0x27a5ae,_0x4147ab){_0x27a5ae=_0x27a5ae-0x1ca;let _0x191599=_0x3963da[_0x27a5ae];return _0x191599;},_0x27a5(_0x1318e5,_0x40eda7);}(function(_0x32bf13,_0x48e3f2){const _0x1f3dcd=_0x27a5,_0x440bc4=_0x32bf13();while(!![]){try{const _0x491f30=parseInt(_0x1f3dcd(0x51b))/0x1*(parseInt(_0x1f3dcd(0x3d8))/0x2)+parseInt(_0x1f3dcd(0x41c))/0x3*(parseInt(_0x1f3dcd(0x624))/0x4)+parseInt(_0x1f3dcd(0x3ca))/0x5*(-parseInt(_0x1f3dcd(0x277))/0x6)+-parseInt(_0x1f3dcd(0x3af))/0x7*(parseInt(_0x1f3dcd(0x4d4))/0x8)+-parseInt(_0x1f3dcd(0x58b))/0x9+-parseInt(_0x1f3dcd(0x2fb))/0xa+-parseInt(_0x1f3dcd(0x441))/0xb*(-parseInt(_0x1f3dcd(0x2a5))/0xc);if(_0x491f30===_0x48e3f2)break;else _0x440bc4['push'](_0x440bc4['shift']());}catch(_0x1638b7){_0x440bc4['push'](_0x440bc4['shift']());}}}(_0x3963,0x8283d),function(_0x549938,_0x689b9a){const _0x4bc3d0=_0x27a5;typeof exports==_0x4bc3d0(0x1dd)&&typeof module<'u'?_0x689b9a(exports,require(_0x4bc3d0(0x573)),require(_0x4bc3d0(0x5f6)),require('rxjs/operators'),require(_0x4bc3d0(0x425)),require('@univerjs/ui'),require(_0x4bc3d0(0x450)),require(_0x4bc3d0(0x2b9)),require(_0x4bc3d0(0x463)),require(_0x4bc3d0(0x683)),require('@univerjs/sheets'),require('@univerjs/engine-render'),require(_0x4bc3d0(0x443)),require(_0x4bc3d0(0x399)),require(_0x4bc3d0(0x26b)),require('@univerjs/sheets-ui'),require(_0x4bc3d0(0x249)),require(_0x4bc3d0(0x220))):typeof define=='function'&&define[_0x4bc3d0(0x411)]?define([_0x4bc3d0(0x1fd),_0x4bc3d0(0x573),_0x4bc3d0(0x5f6),_0x4bc3d0(0x3dd),_0x4bc3d0(0x425),_0x4bc3d0(0x46d),_0x4bc3d0(0x450),_0x4bc3d0(0x2b9),_0x4bc3d0(0x463),_0x4bc3d0(0x683),_0x4bc3d0(0x34f),'@univerjs/engine-render',_0x4bc3d0(0x443),'@univerjs/drawing','@univerjs/engine-formula',_0x4bc3d0(0x22b),_0x4bc3d0(0x249),_0x4bc3d0(0x220)],_0x689b9a):(_0x549938=typeof globalThis<'u'?globalThis:_0x549938||self,_0x689b9a(_0x549938[_0x4bc3d0(0x5b7)]={},_0x549938[_0x4bc3d0(0x2ab)],_0x549938[_0x4bc3d0(0x5f6)],_0x549938[_0x4bc3d0(0x5f6)][_0x4bc3d0(0x20f)],_0x549938[_0x4bc3d0(0x50d)],_0x549938[_0x4bc3d0(0x1d1)],_0x549938[_0x4bc3d0(0x47a)],_0x549938[_0x4bc3d0(0x606)],_0x549938[_0x4bc3d0(0x4c9)],_0x549938[_0x4bc3d0(0x5df)],_0x549938[_0x4bc3d0(0x245)],_0x549938[_0x4bc3d0(0x384)],_0x549938[_0x4bc3d0(0x570)],_0x549938['UniverDrawing'],_0x549938['UniverEngineFormula'],_0x549938['UniverSheetsUi'],_0x549938[_0x4bc3d0(0x22e)],_0x549938[_0x4bc3d0(0x438)]));}(this,function(_0x439f5,_0x2a6157,_0x59070a,_0x12f2af,_0x407879,_0x4c9f9a,_0x145c4f,_0x63ab19,_0x1ec5d5,_0x4b7f90,_0xeac940,_0xf19b5a,_0x6fdacf,_0x559dab,_0x1819fc,_0x4d9cae,_0x494c84,_0x11fe04){'use strict';const _0x1bb47d=_0x27a5;var _0x22261b=Object[_0x1bb47d(0x368)],_0x9e1002=(_0x27066f,_0x4b5c3f,_0x26c429)=>_0x4b5c3f in _0x27066f?_0x22261b(_0x27066f,_0x4b5c3f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x26c429}):_0x27066f[_0x4b5c3f]=_0x26c429,_0x538cec=(_0x1375eb,_0x4727ca,_0x1f991d)=>_0x9e1002(_0x1375eb,typeof _0x4727ca!=_0x1bb47d(0x269)?_0x4727ca+'':_0x4727ca,_0x1f991d);const _0x90b128='SNAPSHOT_SERVER_URL_KEY',_0x20abae='/universer-api/snapshot',_0x2ecd96='SNAPSHOT_URL_KEY',_0x4d1065=_0x1bb47d(0x61e),_0x1be3bc='COLLAB_WEB_SOCKET_URL',_0x4304d6='ws://127.0.0.1:8000/universer-api/comb/connect',_0x3c4100=_0x1bb47d(0x41e),_0x2a8762=_0x1bb47d(0x3ae),_0x287e3e='RETRY_CONNECTING_MAX_COUNT',_0x3b829d='LOCAL_CACHE_INTERVAL',_0x514403=_0x1bb47d(0x661),_0x2e43a9='/universer-api/comb',_0x298781=_0x1bb47d(0x65b),_0x31d168=_0x1bb47d(0x3d9);var _0x93929f=(_0x4518f8=>(_0x4518f8[_0x4518f8[_0x1bb47d(0x523)]=0x0]=_0x1bb47d(0x523),_0x4518f8[_0x4518f8['OK']=0x1]='OK',_0x4518f8[_0x4518f8['INTERNAL_ERROR']=0x2]=_0x1bb47d(0x52e),_0x4518f8[_0x4518f8[_0x1bb47d(0x4ec)]=0x3]=_0x1bb47d(0x4ec),_0x4518f8[_0x4518f8[_0x1bb47d(0x33d)]=0x4]=_0x1bb47d(0x33d),_0x4518f8[_0x4518f8['UNAUTHENTICATED']=0x5]=_0x1bb47d(0x51f),_0x4518f8[_0x4518f8[_0x1bb47d(0x205)]=0x6]=_0x1bb47d(0x205),_0x4518f8[_0x4518f8[_0x1bb47d(0x669)]=0x7]=_0x1bb47d(0x669),_0x4518f8[_0x4518f8['TOO_MANY_REQUESTS']=0x8]=_0x1bb47d(0x68c),_0x4518f8[_0x4518f8[_0x1bb47d(0x501)]=0x9]=_0x1bb47d(0x501),_0x4518f8[_0x4518f8[_0x1bb47d(0x514)]=0x1389]=_0x1bb47d(0x514),_0x4518f8[_0x4518f8[_0x1bb47d(0x1f7)]=0x1771]=_0x1bb47d(0x1f7),_0x4518f8[_0x4518f8[_0x1bb47d(0x4f0)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4518f8[_0x4518f8[_0x1bb47d(0x3bf)]=0x1773]=_0x1bb47d(0x3bf),_0x4518f8[_0x4518f8[_0x1bb47d(0x352)]=0x1b59]=_0x1bb47d(0x352),_0x4518f8[_0x4518f8[_0x1bb47d(0x3f8)]=0x1b5a]=_0x1bb47d(0x3f8),_0x4518f8[_0x4518f8['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1bb47d(0x695),_0x4518f8[_0x4518f8['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4518f8[_0x4518f8[_0x1bb47d(0x244)]=0x1b5d]='APPLY_DUPLICATED',_0x4518f8[_0x4518f8[_0x1bb47d(0x27f)]=0x1f41]=_0x1bb47d(0x27f),_0x4518f8[_0x4518f8[_0x1bb47d(0x511)]=0x2329]=_0x1bb47d(0x511),_0x4518f8[_0x4518f8[_0x1bb47d(0x4df)]=0x232a]=_0x1bb47d(0x4df),_0x4518f8[_0x4518f8[_0x1bb47d(0x326)]=0x232b]=_0x1bb47d(0x326),_0x4518f8[_0x4518f8[_0x1bb47d(0x22c)]=0x232c]=_0x1bb47d(0x22c),_0x4518f8[_0x4518f8['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x4518f8[_0x4518f8[_0x1bb47d(0x647)]=0x2711]=_0x1bb47d(0x647),_0x4518f8[_0x4518f8[_0x1bb47d(0x506)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4518f8[_0x4518f8[_0x1bb47d(0x428)]=0x2713]=_0x1bb47d(0x428),_0x4518f8[_0x4518f8[_0x1bb47d(0x21b)]=0x2714]=_0x1bb47d(0x21b),_0x4518f8[_0x4518f8['UNRECOGNIZED']=-0x1]=_0x1bb47d(0x38b),_0x4518f8))(_0x93929f||{}),_0x48d2c2=(_0x4b0050=>(_0x4b0050[_0x4b0050[_0x1bb47d(0x620)]=0x0]='UNIVER_UNKNOWN',_0x4b0050[_0x4b0050['UNIVER_DOC']=0x1]=_0x1bb47d(0x328),_0x4b0050[_0x4b0050[_0x1bb47d(0x560)]=0x2]='UNIVER_SHEET',_0x4b0050[_0x4b0050['UNIVER_SLIDE']=0x3]=_0x1bb47d(0x2b7),_0x4b0050[_0x4b0050['UNIVER_PROJECT']=0x4]=_0x1bb47d(0x267),_0x4b0050[_0x4b0050[_0x1bb47d(0x38b)]=-0x1]='UNRECOGNIZED',_0x4b0050))(_0x48d2c2||{}),_0x43e8b8=(_0x67e5ee=>(_0x67e5ee[_0x67e5ee[_0x1bb47d(0x529)]=0x0]=_0x1bb47d(0x529),_0x67e5ee[_0x67e5ee[_0x1bb47d(0x49c)]=0x1]=_0x1bb47d(0x49c),_0x67e5ee[_0x67e5ee[_0x1bb47d(0x315)]=0x2]='JOIN',_0x67e5ee[_0x67e5ee[_0x1bb47d(0x2d9)]=0x3]=_0x1bb47d(0x2d9),_0x67e5ee[_0x67e5ee[_0x1bb47d(0x638)]=0x4]='INGEST',_0x67e5ee[_0x67e5ee['HEARTBEAT']=0x5]='HEARTBEAT',_0x67e5ee[_0x67e5ee[_0x1bb47d(0x66e)]=0x6]=_0x1bb47d(0x66e),_0x67e5ee[_0x67e5ee['UNRECOGNIZED']=-0x1]=_0x1bb47d(0x38b),_0x67e5ee))(_0x43e8b8||{}),_0x424255=(_0x41df4c=>(_0x41df4c[_0x41df4c[_0x1bb47d(0x490)]=0x0]=_0x1bb47d(0x490),_0x41df4c[_0x41df4c['OK']=0x1]='OK',_0x41df4c[_0x41df4c[_0x1bb47d(0x28b)]=0x2]=_0x1bb47d(0x28b),_0x41df4c[_0x41df4c[_0x1bb47d(0x38b)]=-0x1]=_0x1bb47d(0x38b),_0x41df4c))(_0x424255||{}),_0x23a8e3=(_0x31ded6=>(_0x31ded6[_0x31ded6[_0x1bb47d(0x4f7)]=0x0]=_0x1bb47d(0x4f7),_0x31ded6[_0x31ded6[_0x1bb47d(0x447)]=0x1]=_0x1bb47d(0x447),_0x31ded6[_0x31ded6['HttpExport']=0x2]='HttpExport',_0x31ded6[_0x31ded6[_0x1bb47d(0x5ee)]=0x3]='UnitEmbedded',_0x31ded6[_0x31ded6[_0x1bb47d(0x671)]=0x4]='UnitSnapshot',_0x31ded6[_0x31ded6[_0x1bb47d(0x38b)]=-0x1]=_0x1bb47d(0x38b),_0x31ded6))(_0x23a8e3||{});const _0x2dabdd=_0x1bb47d(0x48e),_0x556aef={};function _0xccd654(_0x1262f3){const _0xb05ce2=_0x1bb47d;var _0x4e0624,_0x3f51b6,_0x5acb66,_0x11b5f4,_0xb4a3a2;const _0x5707fe=_0x1262f3[_0xb05ce2(0x1d8)],_0xc0767c=JSON['parse'](_0x5707fe);switch(_0xc0767c[_0xb05ce2(0x4e2)]){case _0x43e8b8[_0xb05ce2(0x4ad)]:case _0x43e8b8['HELLO']:{const _0x14c1d2=_0xc0767c['infoRsp'];return{..._0xc0767c,'data':_0x14c1d2,'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};}case _0x43e8b8['JOIN']:{const _0x5672b7=_0xc0767c['joinRsp'];return{..._0xc0767c,'data':_0x5672b7,'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};}case _0x43e8b8['RECV']:{const _0x1a92e9=_0xc0767c[_0xb05ce2(0x5b0)];switch(_0x1a92e9[_0xb05ce2(0x429)]){case _0x63ab19[_0xb05ce2(0x497)][_0xb05ce2(0x270)]:return{..._0xc0767c,'data':{..._0x1a92e9,'data':(_0x4e0624=_0x1a92e9[_0xb05ce2(0x238)])==null?void 0x0:_0x4e0624['cs']},'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};case _0x63ab19[_0xb05ce2(0x497)][_0xb05ce2(0x432)]:return{..._0xc0767c,'data':{..._0x1a92e9,'data':(_0x3f51b6=_0x1a92e9[_0xb05ce2(0x456)])==null?void 0x0:_0x3f51b6['cs']},'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};case _0x63ab19[_0xb05ce2(0x497)][_0xb05ce2(0x51a)]:return{..._0xc0767c,'data':{..._0x1a92e9,'data':(_0x5acb66=_0x1a92e9[_0xb05ce2(0x4d1)])==null?void 0x0:_0x5acb66['cs']},'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};case _0x63ab19[_0xb05ce2(0x497)][_0xb05ce2(0x44c)]:return{..._0xc0767c,'data':{..._0x1a92e9,'data':(_0x11b5f4=_0x1a92e9[_0xb05ce2(0x210)])==null?void 0x0:_0x11b5f4['cs']},'cmd':_0xc0767c['cmd']};case _0x63ab19[_0xb05ce2(0x497)][_0xb05ce2(0x225)]:return{..._0xc0767c,'data':{..._0x1a92e9,'data':(_0xb4a3a2=_0x1a92e9[_0xb05ce2(0x412)])==null?void 0x0:_0xb4a3a2['cs']},'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};case _0x63ab19[_0xb05ce2(0x497)]['UPDATE_CURSOR']:return{..._0xc0767c,'data':{..._0x1a92e9,'data':_0x1a92e9[_0xb05ce2(0x607)]},'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};case _0x63ab19[_0xb05ce2(0x497)][_0xb05ce2(0x361)]:return{..._0xc0767c,'data':{..._0x1a92e9,'data':_0x1a92e9[_0xb05ce2(0x283)]},'cmd':_0xc0767c['cmd']};case _0x63ab19[_0xb05ce2(0x497)][_0xb05ce2(0x59d)]:return{..._0xc0767c,'data':{..._0x1a92e9,'data':_0x1a92e9[_0xb05ce2(0x572)]},'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};case _0x63ab19['CollaborationEvent'][_0xb05ce2(0x385)]:return{..._0xc0767c,'data':{..._0x1a92e9,'data':_0x1a92e9[_0xb05ce2(0x351)]},'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};case _0x63ab19['CollaborationEvent'][_0xb05ce2(0x5af)]:case _0x63ab19[_0xb05ce2(0x497)]['LIVESHARE_OPERATION']:return{..._0xc0767c,'data':{..._0x1a92e9,'data':_0x1a92e9[_0xb05ce2(0x227)]},'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};case _0x63ab19[_0xb05ce2(0x497)]['LIVESHARE_TERMINATE']:return{..._0xc0767c,'data':{..._0x1a92e9,'data':_0x1a92e9[_0xb05ce2(0x351)]},'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};case _0x63ab19[_0xb05ce2(0x497)][_0xb05ce2(0x4fa)]:return{..._0xc0767c,'data':_0x1a92e9,'cmd':_0xc0767c['cmd']};case _0x63ab19[_0xb05ce2(0x497)][_0xb05ce2(0x32a)]:return{..._0xc0767c,'data':{..._0x1a92e9,'data':_0x1a92e9['commentUpdateEvent']},'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};case _0x63ab19[_0xb05ce2(0x497)][_0xb05ce2(0x22d)]:return{..._0xc0767c,'data':{..._0x1a92e9,'data':_0x1a92e9['updatePermissionObjEvent']},'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};case _0x63ab19[_0xb05ce2(0x497)][_0xb05ce2(0x252)]:return{..._0xc0767c,'data':{..._0x1a92e9,'data':_0x1a92e9[_0xb05ce2(0x2e9)]},'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};default:return _0xc0767c;}}default:return _0xc0767c;}}function _0x2481da(_0x2f6614){const _0x5efd4e=_0x1bb47d;switch(_0x2f6614[_0x5efd4e(0x4e2)]){case _0x43e8b8[_0x5efd4e(0x4ad)]:case _0x43e8b8['HELLO']:return JSON[_0x5efd4e(0x5f5)]({'cmd':_0x2f6614[_0x5efd4e(0x4e2)],'routeKey':_0x2f6614[_0x5efd4e(0x284)]});case _0x43e8b8[_0x5efd4e(0x638)]:{let _0x4ee958;switch(_0x2f6614[_0x5efd4e(0x1d8)][_0x5efd4e(0x429)]){case _0x63ab19[_0x5efd4e(0x497)][_0x5efd4e(0x542)]:{_0x4ee958={'eventID':_0x63ab19['CollaborationEvent'][_0x5efd4e(0x542)],'updateCursorEvent':_0x2f6614[_0x5efd4e(0x1d8)]['data']};break;}case _0x63ab19['CollaborationEvent'][_0x5efd4e(0x59d)]:{_0x4ee958={'eventID':_0x63ab19[_0x5efd4e(0x497)][_0x5efd4e(0x59d)],'leaveEvent':_0x2f6614[_0x5efd4e(0x1d8)][_0x5efd4e(0x1d8)]};break;}case _0x63ab19[_0x5efd4e(0x497)][_0x5efd4e(0x361)]:{_0x4ee958={'eventID':_0x63ab19['CollaborationEvent'][_0x5efd4e(0x361)],'joinEvent':_0x2f6614[_0x5efd4e(0x1d8)][_0x5efd4e(0x1d8)]};break;}case _0x63ab19[_0x5efd4e(0x497)][_0x5efd4e(0x385)]:{_0x4ee958={'eventID':_0x63ab19[_0x5efd4e(0x497)][_0x5efd4e(0x385)],'liveShareNewHost':_0x2f6614[_0x5efd4e(0x1d8)]['data']};break;}case _0x63ab19[_0x5efd4e(0x497)][_0x5efd4e(0x4fd)]:{_0x4ee958={'eventID':_0x63ab19[_0x5efd4e(0x497)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x2f6614['data']['data']};break;}case _0x63ab19['CollaborationEvent'][_0x5efd4e(0x31c)]:{_0x4ee958={'eventID':_0x63ab19[_0x5efd4e(0x497)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x2f6614['data'][_0x5efd4e(0x1d8)]};break;}case _0x63ab19[_0x5efd4e(0x497)][_0x5efd4e(0x378)]:{_0x4ee958={'eventID':_0x63ab19[_0x5efd4e(0x497)][_0x5efd4e(0x378)],'liveShareRequestHost':_0x2f6614[_0x5efd4e(0x1d8)]['data']};break;}case _0x63ab19[_0x5efd4e(0x497)]['LIVESHARE_FETCH_OPERATIONS']:{_0x4ee958={'eventID':_0x63ab19[_0x5efd4e(0x497)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x4ee958={'eventID':_0x2f6614[_0x5efd4e(0x1d8)][_0x5efd4e(0x429)]};}return JSON[_0x5efd4e(0x5f5)]({'cmd':_0x2f6614[_0x5efd4e(0x4e2)],'routeKey':_0x2f6614[_0x5efd4e(0x284)],'collaMsg':_0x4ee958});}case _0x43e8b8[_0x5efd4e(0x315)]:return JSON[_0x5efd4e(0x5f5)]({'cmd':_0x2f6614[_0x5efd4e(0x4e2)],'routeKey':_0x2f6614['routeKey'],'joinReq':_0x2f6614[_0x5efd4e(0x1d8)]});case _0x43e8b8[_0x5efd4e(0x2d9)]:return JSON[_0x5efd4e(0x5f5)]({'cmd':_0x2f6614['cmd'],'routeKey':_0x2f6614[_0x5efd4e(0x284)],'leaveReq':_0x2f6614[_0x5efd4e(0x1d8)]});default:throw new Error(_0x5efd4e(0x538));}}var _0x1dce24=Object['defineProperty'],_0x157e96=Object['getOwnPropertyDescriptor'],_0x284475=(_0x5b3e6e,_0x16eee4,_0x575d0e,_0x1b4ad2)=>{const _0x1c2ce9=_0x1bb47d;for(var _0x54dd9d=_0x1b4ad2>0x1?void 0x0:_0x1b4ad2?_0x157e96(_0x16eee4,_0x575d0e):_0x16eee4,_0xb99e7a=_0x5b3e6e[_0x1c2ce9(0x458)]-0x1,_0x40814e;_0xb99e7a>=0x0;_0xb99e7a--)(_0x40814e=_0x5b3e6e[_0xb99e7a])&&(_0x54dd9d=(_0x1b4ad2?_0x40814e(_0x16eee4,_0x575d0e,_0x54dd9d):_0x40814e(_0x54dd9d))||_0x54dd9d);return _0x1b4ad2&&_0x54dd9d&&_0x1dce24(_0x16eee4,_0x575d0e,_0x54dd9d),_0x54dd9d;},_0xb44b8c=(_0x40a0c3,_0x1387aa)=>(_0x559a21,_0x1866d8)=>_0x1387aa(_0x559a21,_0x1866d8,_0x40a0c3);const _0x4bc590=_0x2a6157[_0x1bb47d(0x3cc)]('univer-pro.collaboration-client-socket-service');function _0x355f15(_0x39c0e1,_0x57539d,_0x3ae019){const _0x2d775e=_0x1bb47d;return _0x39c0e1+'/'+_0x57539d+_0x2d775e(0x27b)+_0x3ae019+_0x2d775e(0x35f);}_0x439f5['CollaborationSocketService']=class extends _0x2a6157['Disposable']{constructor(_0x490b0d,_0x11fa94,_0x585157,_0x239956,_0x2bc1b7){const _0xa19f6f=_0x1bb47d;super(),this['_http']=_0x490b0d,this[_0xa19f6f(0x1e6)]=_0x11fa94,this['_configService']=_0x585157,this[_0xa19f6f(0x434)]=_0x239956,this[_0xa19f6f(0x531)]=_0x2bc1b7;}[_0x1bb47d(0x43b)](_0x5a3eb4){const _0x1bb067=_0x1bb47d,_0x3b15be=this['_ws'][_0x1bb067(0x43b)](_0x5a3eb4);if(!_0x3b15be)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x225846=new _0x2a6157['DisposableCollection'](),_0x33f003=new _0x59070a[(_0x1bb067(0x557))]();_0x225846[_0x1bb067(0x1e2)](_0x3b15be[_0x1bb067(0x569)]['subscribe'](_0x23662c=>_0x33f003[_0x1bb067(0x369)](_0x23662c))),_0x225846[_0x1bb067(0x1e2)](_0x2a6157['toDisposable'](()=>_0x33f003[_0x1bb067(0x39e)]()));const _0x20a490=new _0x59070a[(_0x1bb067(0x557))]();_0x225846[_0x1bb067(0x1e2)](_0x3b15be['error$'][_0x1bb067(0x551)](_0x4a8066=>_0x20a490[_0x1bb067(0x369)](_0x4a8066))),_0x225846[_0x1bb067(0x1e2)](_0x2a6157[_0x1bb067(0x2cf)](()=>_0x20a490['complete']()));const _0x342d5d=new _0x59070a[(_0x1bb067(0x557))]();_0x225846[_0x1bb067(0x1e2)](_0x3b15be[_0x1bb067(0x552)][_0x1bb067(0x551)](_0x341185=>{const _0x177009=_0xccd654(_0x341185);_0x342d5d['next'](_0x177009);})),_0x225846[_0x1bb067(0x1e2)](_0x2a6157[_0x1bb067(0x2cf)](()=>_0x342d5d[_0x1bb067(0x39e)]()));let _0xaaff9b;const _0x2a1810=()=>{const _0x555b86=_0x1bb067;_0x20a490[_0x555b86(0x369)](new Event('connection\x20error')),_0x33f003[_0x555b86(0x369)](new CloseEvent(_0x555b86(0x54a))),_0xaaff9b[_0x555b86(0x218)]();};return _0xaaff9b={'memberID':'','close$':_0x33f003['asObservable'](),'error$':_0x20a490['asObservable'](),'open$':_0x3b15be[_0x1bb067(0x2de)],'message$':_0x342d5d['asObservable'](),'send':_0x5cdd69=>{const _0x47e93b=_0x1bb067;if(_0x5cdd69[_0x47e93b(0x4e2)]===_0x43e8b8[_0x47e93b(0x638)]){if(_0x5cdd69[_0x47e93b(0x1d8)]['eventID']===_0x63ab19['CollaborationEvent']['SUBMIT_CHANGESET']){this[_0x47e93b(0x2ce)](_0xaaff9b,_0x5cdd69[_0x47e93b(0x1d8)])[_0x47e93b(0x303)](_0x1b088a=>{const _0x35de29=_0x47e93b;this[_0x35de29(0x434)][_0x35de29(0x5c9)](_0x1b088a),_0x2a1810();});return;}if(_0x5cdd69['data'][_0x47e93b(0x429)]===_0x63ab19[_0x47e93b(0x497)][_0x47e93b(0x4de)]){const _0x38d909=_0x5cdd69[_0x47e93b(0x1d8)];this[_0x47e93b(0x421)](_0x38d909)[_0x47e93b(0x341)](_0x684e40=>{const _0x45f61d=_0x47e93b;_0x342d5d['next']({'cmd':_0x43e8b8['RECV'],'code':_0x424255['OK'],'routeKey':_0x38d909[_0x45f61d(0x1d8)][_0x45f61d(0x482)],'routeType':'','data':{'eventID':_0x63ab19['CollaborationEvent'][_0x45f61d(0x5d0)],'data':{'changesets':_0x684e40}}});})[_0x47e93b(0x303)](_0x18408f=>{const _0x3787f7=_0x47e93b;this[_0x3787f7(0x434)][_0x3787f7(0x5c9)](_0x18408f),_0x2a1810();});return;}}_0x3b15be[_0x47e93b(0x350)](_0x2481da(_0x5cdd69));},'close':()=>{const _0x4d63e7=_0x1bb067;_0x3b15be[_0x4d63e7(0x218)](),_0x225846[_0x4d63e7(0x3c0)]();}},_0xaaff9b;}async[_0x1bb47d(0x2ce)](_0x554d2f,_0xba2c20){const _0x17906e=_0x1bb47d;var _0x5e2e15,_0x3278d6;const {unitType:_0x4fd134,unitID:_0x2c7420,changeset:_0x55766b}=_0xba2c20[_0x17906e(0x1d8)],_0x389696={'unitID':_0x2c7420,'memberID':_0x554d2f[_0x17906e(0x312)],'type':_0x4fd134,'changeset':_0x63ab19[_0x17906e(0x4ff)](_0x55766b)},_0x45fe1a=this[_0x17906e(0x5a4)]['getConfig'](_0x514403),_0x3f648c=this[_0x17906e(0x5a4)]['getConfig'](_0x2dabdd),_0x379bed=_0x355f15((_0x3278d6=(_0x5e2e15=_0x3f648c==null?void 0x0:_0x3f648c[_0x17906e(0x2fc)])!=null?_0x5e2e15:_0x45fe1a)!=null?_0x3278d6:_0x2e43a9,_0x4fd134,_0x2c7420);try{await this[_0x17906e(0x42e)]['post'](_0x379bed,{'body':_0x389696});}catch(_0x46e4e3){throw this[_0x17906e(0x434)][_0x17906e(0x5c9)](_0x17906e(0x36c),_0x17906e(0x3bd)),_0x46e4e3;}}async[_0x1bb47d(0x421)](_0x201f87){const _0x4a4e10=_0x1bb47d,{unitID:_0x2dedaa,from:_0x377e5b,to:_0x105280,unitType:_0x11d5c0}=_0x201f87[_0x4a4e10(0x1d8)];return(await this[_0x4a4e10(0x531)][_0x4a4e10(0x29f)]({'metadata':void 0x0},{'unitID':_0x2dedaa,'type':_0x11d5c0,'from':_0x377e5b,'to':_0x105280}))[_0x4a4e10(0x3a7)];}},_0x439f5[_0x1bb47d(0x2a6)]=_0x284475([_0xb44b8c(0x0,_0x2a6157['Inject'](_0x145c4f['HTTPService'])),_0xb44b8c(0x1,_0x2a6157[_0x1bb47d(0x439)](_0x145c4f[_0x1bb47d(0x633)])),_0xb44b8c(0x2,_0x2a6157[_0x1bb47d(0x65a)]),_0xb44b8c(0x3,_0x2a6157[_0x1bb47d(0x5b9)]),_0xb44b8c(0x4,_0x63ab19[_0x1bb47d(0x396)])],_0x439f5[_0x1bb47d(0x2a6)]);const _0x4837cd=_0x1bb47d(0x5ad);function _0x4b1ce4(_0x26c932){const _0x342886=_0x1bb47d;return JSON['stringify'](_0x26c932)[_0x342886(0x458)];}class _0x1b88f9{constructor(){const _0x8fd0ba=_0x1bb47d;_0x538cec(this,_0x8fd0ba(0x55f),new _0x59070a[(_0x8fd0ba(0x557))]()),_0x538cec(this,_0x8fd0ba(0x48f),this[_0x8fd0ba(0x55f)][_0x8fd0ba(0x55b)]());}['onCommentUpdate'](_0x588c2f){const _0x1fd685=_0x1bb47d;this[_0x1fd685(0x55f)][_0x1fd685(0x369)](_0x588c2f);}}var _0x1b3500=Object[_0x1bb47d(0x368)],_0x279f9d=Object['getOwnPropertyDescriptor'],_0x13639a=(_0x40d70c,_0xc3c2,_0x3e72e3,_0x238a60)=>{const _0x2281f0=_0x1bb47d;for(var _0x2fdf17=_0x238a60>0x1?void 0x0:_0x238a60?_0x279f9d(_0xc3c2,_0x3e72e3):_0xc3c2,_0x34eba6=_0x40d70c[_0x2281f0(0x458)]-0x1,_0x377895;_0x34eba6>=0x0;_0x34eba6--)(_0x377895=_0x40d70c[_0x34eba6])&&(_0x2fdf17=(_0x238a60?_0x377895(_0xc3c2,_0x3e72e3,_0x2fdf17):_0x377895(_0x2fdf17))||_0x2fdf17);return _0x238a60&&_0x2fdf17&&_0x1b3500(_0xc3c2,_0x3e72e3,_0x2fdf17),_0x2fdf17;},_0x3d561b=(_0x261655,_0x28f2f0)=>(_0x2bcb3c,_0x4c7c8c)=>_0x28f2f0(_0x2bcb3c,_0x4c7c8c,_0x261655);_0x439f5[_0x1bb47d(0x431)]=class extends _0x2a6157[_0x1bb47d(0x36e)]{constructor(_0x1b9a27,_0x2ed923){const _0x5f0296=_0x1bb47d;super(),_0x538cec(this,_0x5f0296(0x48a),new Map()),(this[_0x5f0296(0x522)]=_0x1b9a27,this[_0x5f0296(0x508)]=_0x2ed923,this[_0x5f0296(0x20d)](_0x2a6157[_0x5f0296(0x2cf)](_0x59070a[_0x5f0296(0x545)](this[_0x5f0296(0x522)][_0x5f0296(0x4c3)](_0x2a6157[_0x5f0296(0x1ff)]['UNIVER_SHEET'])['pipe'](_0x12f2af[_0x5f0296(0x616)](_0x29421b=>_0x29421b[_0x5f0296(0x679)]())),this[_0x5f0296(0x522)][_0x5f0296(0x4c3)](_0x2a6157[_0x5f0296(0x1ff)][_0x5f0296(0x328)])[_0x5f0296(0x4b3)](_0x12f2af[_0x5f0296(0x616)](_0x810df9=>_0x810df9['getUnitId']())),this[_0x5f0296(0x522)]['getTypeOfUnitDisposed$'](_0x2a6157[_0x5f0296(0x1ff)][_0x5f0296(0x2b7)])[_0x5f0296(0x4b3)](_0x12f2af[_0x5f0296(0x616)](_0x3a45d7=>_0x3a45d7['getUnitId']())))[_0x5f0296(0x551)](_0x56dfef=>this[_0x5f0296(0x329)](_0x56dfef)))));}[_0x1bb47d(0x2b3)](_0xeec366){const _0x21d7ac=_0x1bb47d;this[_0x21d7ac(0x508)][_0x21d7ac(0x2b3)](_0xeec366);}[_0x1bb47d(0x57a)](){const _0x4a603f=_0x1bb47d;return this['_userManagerService'][_0x4a603f(0x57a)]();}[_0x1bb47d(0x61d)](_0x6dc0c5,_0x4a1062){const _0x21d7a1=_0x1bb47d;let _0x26b963=this[_0x21d7a1(0x48a)][_0x21d7a1(0x55e)](_0x6dc0c5);_0x26b963||(_0x26b963=new _0x97f259(),this['_roomMembers'][_0x21d7a1(0x674)](_0x6dc0c5,_0x26b963)),_0x26b963[_0x21d7a1(0x61d)](_0x4a1062);}[_0x1bb47d(0x346)](_0x436173,_0x49aef6){const _0x55870e=_0x1bb47d,_0x376659=this['_roomMembers'][_0x55870e(0x55e)](_0x436173);_0x376659&&_0x376659[_0x55870e(0x346)](_0x49aef6);}[_0x1bb47d(0x45b)](_0x45d72c){const _0xb81bb0=_0x1bb47d;return this[_0xb81bb0(0x48a)][_0xb81bb0(0x55e)](_0x45d72c);}[_0x1bb47d(0x38c)](_0x12ef95,_0xee9320){const _0x4780e0=_0x1bb47d,_0x342697=this[_0x4780e0(0x48a)][_0x4780e0(0x55e)](_0x12ef95);if(_0x342697)return _0x342697['getMember'](_0xee9320);}[_0x1bb47d(0x329)](_0x4f09b2){const _0x49b595=_0x1bb47d,_0x15f6ed=this[_0x49b595(0x48a)][_0x49b595(0x55e)](_0x4f09b2);_0x15f6ed&&(_0x15f6ed['dispose'](),this[_0x49b595(0x48a)][_0x49b595(0x5c7)](_0x4f09b2));}['dispose'](){const _0x20a8dd=_0x1bb47d;this[_0x20a8dd(0x48a)][_0x20a8dd(0x4bb)](_0xaf13d0=>_0xaf13d0[_0x20a8dd(0x3c0)]()),this[_0x20a8dd(0x48a)]['clear']();}},_0x439f5['MemberService']=_0x13639a([_0x3d561b(0x0,_0x2a6157[_0x1bb47d(0x59c)]),_0x3d561b(0x1,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x4a2)]))],_0x439f5['MemberService']);class _0x97f259 extends _0x2a6157['Disposable']{constructor(){const _0x4ed9c3=_0x1bb47d;super(...arguments),_0x538cec(this,_0x4ed9c3(0x636),new Map());}[_0x1bb47d(0x3c0)](){const _0x46c9e9=_0x1bb47d;this['_members'][_0x46c9e9(0x333)]();}['updateMember'](_0x108087){const _0x321173=_0x1bb47d;this[_0x321173(0x636)][_0x321173(0x674)](_0x108087[_0x321173(0x312)],_0x108087);}[_0x1bb47d(0x346)](_0x392b22){const _0x57ad1f=_0x1bb47d;this[_0x57ad1f(0x636)][_0x57ad1f(0x5c7)](_0x392b22);}[_0x1bb47d(0x38c)](_0x34c8a8){const _0x245183=_0x1bb47d;return this[_0x245183(0x636)][_0x245183(0x55e)](_0x34c8a8);}['getAllMembers'](){const _0x424908=_0x1bb47d;return Array[_0x424908(0x611)](this[_0x424908(0x636)][_0x424908(0x304)]());}}var _0xced6d=Object['defineProperty'],_0x23dcc8=Object[_0x1bb47d(0x276)],_0x255376=(_0x244a1d,_0x3b1394,_0xbd1f68,_0x3cad22)=>{for(var _0x3d81b9=_0x3cad22>0x1?void 0x0:_0x3cad22?_0x23dcc8(_0x3b1394,_0xbd1f68):_0x3b1394,_0x4f7a3d=_0x244a1d['length']-0x1,_0x8f08d6;_0x4f7a3d>=0x0;_0x4f7a3d--)(_0x8f08d6=_0x244a1d[_0x4f7a3d])&&(_0x3d81b9=(_0x3cad22?_0x8f08d6(_0x3b1394,_0xbd1f68,_0x3d81b9):_0x8f08d6(_0x3d81b9))||_0x3d81b9);return _0x3cad22&&_0x3d81b9&&_0xced6d(_0x3b1394,_0xbd1f68,_0x3d81b9),_0x3d81b9;},_0x45751c=(_0x310f3c,_0xd01146)=>(_0x3c3bde,_0x152be8)=>_0xd01146(_0x3c3bde,_0x152be8,_0x310f3c),_0x1710c1=(_0x4b4dab=>(_0x4b4dab[_0x4b4dab[_0x1bb47d(0x381)]=0x0]='IDLE',_0x4b4dab[_0x4b4dab[_0x1bb47d(0x2ca)]=0x1]=_0x1bb47d(0x2ca),_0x4b4dab[_0x4b4dab[_0x1bb47d(0x4d2)]=0x2]=_0x1bb47d(0x4d2),_0x4b4dab[_0x4b4dab[_0x1bb47d(0x36b)]=0x3]=_0x1bb47d(0x36b),_0x4b4dab))(_0x1710c1||{});_0x439f5[_0x1bb47d(0x658)]=class extends _0x2a6157[_0x1bb47d(0x3ff)]{constructor(_0x5bcc34,_0x33805a,_0x364b69,_0x8e7efa,_0x50d1cc,_0x52aba8,_0x5f2487,_0x198f51,_0x42b96f,_0x43583e){const _0x50ddd5=_0x1bb47d;super(),_0x538cec(this,_0x50ddd5(0x526),new _0x59070a[(_0x50ddd5(0x471))](0x0)),_0x538cec(this,_0x50ddd5(0x57f),this[_0x50ddd5(0x526)]['asObservable']()),_0x538cec(this,_0x50ddd5(0x1cb),new _0x59070a[(_0x50ddd5(0x557))]()),_0x538cec(this,_0x50ddd5(0x437),this['_event$'][_0x50ddd5(0x55b)]()),_0x538cec(this,'_socket'),_0x538cec(this,_0x50ddd5(0x1e7)),_0x538cec(this,'_collaborationTimeoutTimer'),_0x538cec(this,_0x50ddd5(0x278),!0x1),_0x538cec(this,_0x50ddd5(0x34a),null),(this[_0x50ddd5(0x45c)]=_0x5bcc34,this['_logService']=_0x364b69,this['_beforeCloseService']=_0x8e7efa,this[_0x50ddd5(0x208)]=_0x50d1cc,this[_0x50ddd5(0x5a4)]=_0x52aba8,this[_0x50ddd5(0x682)]=_0x5f2487,this[_0x50ddd5(0x453)]=_0x198f51,this[_0x50ddd5(0x3b1)]=_0x42b96f,this[_0x50ddd5(0x3bb)]=_0x43583e,this[_0x50ddd5(0x278)]=!!this['_telemetryService'],_0x33805a[_0x50ddd5(0x4b3)](_0x59070a[_0x50ddd5(0x422)](this[_0x50ddd5(0x3a3)]))[_0x50ddd5(0x551)](_0x53c045=>{const _0x3195db=_0x50ddd5;var _0x4dbb05;typeof _0x53c045>'u'||(this['_socket']=_0x53c045,_0x53c045?(this['_joinRoom'](_0x53c045),this[_0x3195db(0x1e7)]=_0x53c045[_0x3195db(0x552)]['subscribe'](_0x151669=>{const _0x171d3a=_0x3195db;_0x151669['routeKey']===this[_0x171d3a(0x45c)]&&this[_0x171d3a(0x3a9)](_0x151669);})):(this[_0x3195db(0x2e4)](),this[_0x3195db(0x526)][_0x3195db(0x369)](0x2),(_0x4dbb05=this['_socketMessageSubscription'])==null||_0x4dbb05[_0x3195db(0x59b)](),this['_socketMessageSubscription']=null));}),this[_0x50ddd5(0x20d)](this[_0x50ddd5(0x4f4)][_0x50ddd5(0x23e)](()=>{const _0x57d7e2=_0x50ddd5;var _0xcdd95e;(_0xcdd95e=this[_0x57d7e2(0x257)])==null||_0xcdd95e[_0x57d7e2(0x350)]({'cmd':_0x43e8b8['LEAVE'],'data':{'roomID':this[_0x57d7e2(0x45c)]}});})));}get[_0x1bb47d(0x28c)](){const _0x7cea8d=_0x1bb47d;return this[_0x7cea8d(0x526)][_0x7cea8d(0x207)]();}[_0x1bb47d(0x65e)](){const _0x399004=_0x1bb47d;var _0x49c0d2,_0x23844f;return(_0x23844f=(_0x49c0d2=this[_0x399004(0x257)])==null?void 0x0:_0x49c0d2[_0x399004(0x312)])!=null?_0x23844f:null;}[_0x1bb47d(0x3c0)](){const _0x28b7af=_0x1bb47d;super[_0x28b7af(0x3c0)](),this[_0x28b7af(0x3a3)][_0x28b7af(0x369)](),this[_0x28b7af(0x3a3)][_0x28b7af(0x39e)]();}[_0x1bb47d(0x218)](){const _0x218f14=_0x1bb47d;var _0x113a96,_0xa312dd;this[_0x218f14(0x2e4)](),(_0x113a96=this['_socket'])==null||_0x113a96['send']({'cmd':_0x43e8b8[_0x218f14(0x2d9)],'data':{'roomID':this[_0x218f14(0x45c)]}}),(_0xa312dd=this[_0x218f14(0x257)])==null||_0xa312dd['close'](),this[_0x218f14(0x1cb)][_0x218f14(0x39e)](),this[_0x218f14(0x526)]['complete'](),this[_0x218f14(0x3c0)]();}[_0x1bb47d(0x3a9)](_0x526d27){const _0x4dd556=_0x1bb47d;_0x526d27[_0x4dd556(0x4e2)]===_0x43e8b8[_0x4dd556(0x315)]?this[_0x4dd556(0x553)](_0x526d27):_0x526d27['cmd']===_0x43e8b8[_0x4dd556(0x66e)]&&this['_onRecvEvent'](_0x526d27);}[_0x1bb47d(0x635)](_0x11d620){const _0x38f418=_0x1bb47d;this[_0x38f418(0x526)][_0x38f418(0x369)](0x1),_0x11d620[_0x38f418(0x350)]({'cmd':_0x43e8b8[_0x38f418(0x315)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x38f418(0x45c)]}]}});}[_0x1bb47d(0x553)](_0x99bf58){const _0x175358=_0x1bb47d;var _0x38993f;if(_0x99bf58[_0x175358(0x380)]===_0x424255[_0x175358(0x28b)]){this[_0x175358(0x208)][_0x175358(0x58f)]({'type':_0x407879[_0x175358(0x1d6)][_0x175358(0x3aa)],'content':this[_0x175358(0x682)]['t'](_0x175358(0x28a))}),this['_sessionStatus$'][_0x175358(0x369)](0x2);return;}this[_0x175358(0x526)]['next'](0x3);const _0xff3a9c=(_0x38993f=_0x99bf58[_0x175358(0x1d8)][_0x175358(0x2ad)][this['_unitID']])==null?void 0x0:_0x38993f[_0x175358(0x53d)];_0xff3a9c&&_0xff3a9c[_0x175358(0x4bb)](_0x57c0bd=>this[_0x175358(0x453)][_0x175358(0x61d)](this[_0x175358(0x45c)],_0x57c0bd));}[_0x1bb47d(0x494)](_0xc5ee86){const _0x110760=_0x1bb47d;try{const _0x366f8d=_0xc5ee86[_0x110760(0x1d8)];switch(_0x366f8d['eventID']){case _0x63ab19[_0x110760(0x497)][_0x110760(0x361)]:this['_onUserJoin'](_0x366f8d),this[_0x110760(0x1cb)][_0x110760(0x369)](_0x366f8d);break;case _0x63ab19[_0x110760(0x497)][_0x110760(0x59d)]:this[_0x110760(0x320)](_0x366f8d),this[_0x110760(0x1cb)][_0x110760(0x369)](_0x366f8d);break;case _0x63ab19[_0x110760(0x497)][_0x110760(0x432)]:case _0x63ab19[_0x110760(0x497)]['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x110760(0x563)](),this[_0x110760(0x1cb)][_0x110760(0x369)](_0x366f8d);break;case _0x63ab19['CollaborationEvent']['MSG_FOR_ERROR']:this[_0x110760(0x434)][_0x110760(0x5c9)](_0x110760(0x579)+JSON['stringify'](_0x366f8d)),this[_0x110760(0x1cb)][_0x110760(0x369)](_0x366f8d);break;case _0x63ab19['CollaborationEvent'][_0x110760(0x32a)]:this['_commentService']['onCommentUpdate'](_0x366f8d[_0x110760(0x1d8)]),this[_0x110760(0x1cb)][_0x110760(0x369)](_0x366f8d);break;default:this[_0x110760(0x1cb)][_0x110760(0x369)](_0x366f8d);}}catch(_0x16e79c){this[_0x110760(0x434)]['error'](_0x16e79c,_0xc5ee86);}}[_0x1bb47d(0x430)](_0x1274ce){const _0x3c1343=_0x1bb47d;this[_0x3c1343(0x453)]['updateMember'](this[_0x3c1343(0x45c)],_0x1274ce[_0x3c1343(0x1d8)]);}[_0x1bb47d(0x320)](_0x1258d5){const _0x548e28=_0x1bb47d;this[_0x548e28(0x453)]['removeMember'](this[_0x548e28(0x45c)],_0x1258d5[_0x548e28(0x1d8)][_0x548e28(0x312)]);}async[_0x1bb47d(0x350)](_0x5163c0,_0x49294e){const _0xf8789b=_0x1bb47d;if(this['sessionStatus']!==0x3||!this[_0xf8789b(0x257)])throw new Error(_0xf8789b(0x247));try{_0x5163c0['eventID']===_0x63ab19[_0xf8789b(0x497)][_0xf8789b(0x623)]&&(this[_0xf8789b(0x2c4)](),this['_startTelemetryCollaborationNewChangeset'](_0x5163c0)),this[_0xf8789b(0x257)]['send']({'cmd':_0x43e8b8[_0xf8789b(0x638)],'routeKey':_0x49294e,'routeType':'','data':_0x5163c0});}catch(_0x38a818){this['_logService'][_0xf8789b(0x5c9)](_0x38a818);}}[_0x1bb47d(0x2c4)](){const _0x531f7e=_0x1bb47d;var _0xfe9b2b;this[_0x531f7e(0x582)]=window['setTimeout'](()=>{const _0x3193b7=_0x531f7e;this[_0x3193b7(0x582)]=null,this['_messageService'][_0x3193b7(0x58f)]({'type':_0x407879[_0x3193b7(0x1d6)][_0x3193b7(0x305)],'content':this['_localeService']['t'](_0x3193b7(0x243))});},(_0xfe9b2b=this[_0x531f7e(0x5a4)]['getConfig'](_0x2a8762))!=null?_0xfe9b2b:0x4e20);}[_0x1bb47d(0x563)](){const _0x4718e5=_0x1bb47d;this[_0x4718e5(0x582)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x1bb47d(0x45a)](_0x2a1ff3){const _0x2063af=_0x1bb47d;if(!this[_0x2063af(0x278)])return;const {data:_0x34abf4}=_0x2a1ff3,{unitID:_0x120503,changeset:_0x87d634}=_0x34abf4,{mutations:_0x5857ea,type:_0x2c3c25}=_0x87d634;this['_telemetryInfo']={'unitId':_0x120503,'type':_0x2c3c25,'startTime':performance[_0x2063af(0x520)](),'stopTime':0x0,'duration':0x0,'size':_0x4b1ce4(_0x5857ea)};}[_0x1bb47d(0x379)](){const _0x1bd270=_0x1bb47d;if(this[_0x1bd270(0x278)]){if(!this[_0x1bd270(0x34a)]){this[_0x1bd270(0x434)][_0x1bd270(0x5c9)]('[CollaborationSession]',_0x1bd270(0x3e6));return;}this[_0x1bd270(0x34a)]['stopTime']=performance[_0x1bd270(0x520)](),this[_0x1bd270(0x34a)][_0x1bd270(0x1d5)]=this['_telemetryInfo'][_0x1bd270(0x256)]-this[_0x1bd270(0x34a)][_0x1bd270(0x578)],this[_0x1bd270(0x3bb)][_0x1bd270(0x5f8)](_0x4837cd,this[_0x1bd270(0x34a)]),this[_0x1bd270(0x34a)]=null;}}[_0x1bb47d(0x2e4)](){const _0x844f9e=_0x1bb47d;this[_0x844f9e(0x34a)]=null;}},_0x439f5[_0x1bb47d(0x658)]=_0x255376([_0x45751c(0x2,_0x2a6157[_0x1bb47d(0x5b9)]),_0x45751c(0x3,_0x4c9f9a[_0x1bb47d(0x46a)]),_0x45751c(0x4,_0x4c9f9a[_0x1bb47d(0x527)]),_0x45751c(0x5,_0x2a6157[_0x1bb47d(0x65a)]),_0x45751c(0x6,_0x2a6157['Inject'](_0x2a6157[_0x1bb47d(0x308)])),_0x45751c(0x7,_0x2a6157['Inject'](_0x439f5['MemberService'])),_0x45751c(0x8,_0x2a6157['Inject'](_0x1b88f9)),_0x45751c(0x9,_0x2a6157[_0x1bb47d(0x1e1)](_0x1ec5d5[_0x1bb47d(0x576)]))],_0x439f5['CollaborationSession']);var _0x385ef4=Object[_0x1bb47d(0x368)],_0x31cdd3=Object[_0x1bb47d(0x276)],_0x3ca230=(_0x19d39b,_0x596ce9,_0x3fba14,_0x4ba01a)=>{const _0x22b532=_0x1bb47d;for(var _0x30d7d0=_0x4ba01a>0x1?void 0x0:_0x4ba01a?_0x31cdd3(_0x596ce9,_0x3fba14):_0x596ce9,_0x29ba0d=_0x19d39b[_0x22b532(0x458)]-0x1,_0x41c99;_0x29ba0d>=0x0;_0x29ba0d--)(_0x41c99=_0x19d39b[_0x29ba0d])&&(_0x30d7d0=(_0x4ba01a?_0x41c99(_0x596ce9,_0x3fba14,_0x30d7d0):_0x41c99(_0x30d7d0))||_0x30d7d0);return _0x4ba01a&&_0x30d7d0&&_0x385ef4(_0x596ce9,_0x3fba14,_0x30d7d0),_0x30d7d0;},_0x589252=(_0x537986,_0x4366dc)=>(_0x1208ef,_0x193f22)=>_0x4366dc(_0x1208ef,_0x193f22,_0x537986);_0x439f5['CollaborationSessionService']=class extends _0x2a6157[_0x1bb47d(0x36e)]{constructor(_0x3550d9,_0x52b0ce,_0x609801,_0x1802bb,_0x4093f2,_0x4c1a32){const _0x50a1cd=_0x1bb47d;super(),_0x538cec(this,'_socket$',new _0x59070a['BehaviorSubject'](void 0x0)),_0x538cec(this,'socket$',this[_0x50a1cd(0x253)]['asObservable']()),_0x538cec(this,'_candidateSocket',null),_0x538cec(this,'_sessions',new Map()),_0x538cec(this,_0x50a1cd(0x3f6),new _0x59070a[(_0x50a1cd(0x471))](_0x1710c1[_0x50a1cd(0x381)])),_0x538cec(this,_0x50a1cd(0x66b),this[_0x50a1cd(0x3f6)][_0x50a1cd(0x55b)]()),_0x538cec(this,'_socketReady',!0x1),_0x538cec(this,_0x50a1cd(0x42f)),_0x538cec(this,_0x50a1cd(0x389),0x0),_0x538cec(this,'_sendHeartbeatTimer'),_0x538cec(this,'_timeoutTimer'),(this[_0x50a1cd(0x4b6)]=_0x3550d9,this[_0x50a1cd(0x682)]=_0x52b0ce,this[_0x50a1cd(0x208)]=_0x609801,this['_logService']=_0x1802bb,this[_0x50a1cd(0x5a4)]=_0x4093f2,this[_0x50a1cd(0x2af)]=_0x4c1a32,this[_0x50a1cd(0x53f)]());}get[_0x1bb47d(0x257)](){const _0x33f591=_0x1bb47d;return this[_0x33f591(0x253)]['getValue']();}['_initEventListeners'](){const _0x2072dd=_0x1bb47d;this[_0x2072dd(0x2f9)](),this['_listenToOnlineEvent']();}[_0x1bb47d(0x3c0)](){const _0x49e867=_0x1bb47d;super[_0x49e867(0x3c0)](),this['_sessions']['forEach'](_0x4f2ed8=>_0x4f2ed8[_0x49e867(0x3c0)]()),this['_sessions'][_0x49e867(0x333)](),this[_0x49e867(0x3f6)][_0x49e867(0x39e)]();}async['requireSession'](_0x274838){const _0x44e256=_0x1bb47d;if(this['_sessions'][_0x44e256(0x676)](_0x274838))return this[_0x44e256(0x46b)][_0x44e256(0x55e)](_0x274838);this[_0x44e256(0x499)]();const _0x29c979=this[_0x44e256(0x4b6)][_0x44e256(0x307)](_0x439f5['CollaborationSession'],_0x274838,this[_0x44e256(0x253)][_0x44e256(0x55b)]());return this[_0x44e256(0x46b)][_0x44e256(0x674)](_0x274838,_0x29c979),_0x29c979;}[_0x1bb47d(0x601)](_0x3224ac){const _0x2d1046=_0x1bb47d;var _0x1573b3;const _0x46044f=this[_0x2d1046(0x46b)]['get'](_0x3224ac);_0x46044f&&(this['_sessions'][_0x2d1046(0x5c7)](_0x3224ac),_0x46044f['close']()),this['_sessions']['size']||(_0x1573b3=this[_0x2d1046(0x257)])==null||_0x1573b3[_0x2d1046(0x218)]();}['reconnect'](){const _0x4b52b7=_0x1bb47d;this[_0x4b52b7(0x389)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x4b52b7(0x42f)]),this['_retryConnectingTimer']=null),this[_0x4b52b7(0x5bd)]();}[_0x1bb47d(0x462)](){const _0x3c6f17=_0x1bb47d;var _0x26802b,_0x3b9efd;const _0x37bf99=this[_0x3c6f17(0x5a4)][_0x3c6f17(0x495)](_0x1be3bc),_0x124053=this['_configService'][_0x3c6f17(0x495)](_0x2dabdd),_0xe59dcf=(_0x3b9efd=(_0x26802b=_0x124053==null?void 0x0:_0x124053[_0x3c6f17(0x41a)])!=null?_0x26802b:_0x37bf99)!=null?_0x3b9efd:_0x4304d6,_0x113f2e=this[_0x3c6f17(0x2af)]['createSocket'](_0xe59dcf);return this[_0x3c6f17(0x561)]=_0x113f2e,_0x113f2e;}['_tryEnsureSocket'](){const _0x1a651a=_0x1bb47d;var _0x5a0e41,_0x37b631;try{const _0x3fc6cc=(_0x37b631=(_0x5a0e41=this[_0x1a651a(0x257)])!=null?_0x5a0e41:this[_0x1a651a(0x561)])!=null?_0x37b631:this[_0x1a651a(0x462)]();if(_0x3fc6cc){const _0x4f93c8=_0x3fc6cc['send'];_0x3fc6cc[_0x1a651a(0x350)]=_0x3a66f0=>(this[_0x1a651a(0x2a1)](),_0x4f93c8[_0x1a651a(0x40a)](_0x3fc6cc,[_0x3a66f0])),_0x3fc6cc[_0x1a651a(0x552)][_0x1a651a(0x551)](_0x3bd9dd=>this[_0x1a651a(0x684)](_0x3fc6cc,_0x3bd9dd)),_0x3fc6cc[_0x1a651a(0x209)][_0x1a651a(0x4b3)](_0x12f2af[_0x1a651a(0x2d8)](0x1))[_0x1a651a(0x551)](_0x530585=>this[_0x1a651a(0x434)][_0x1a651a(0x5c9)](_0x1a651a(0x313),_0x530585)),_0x3fc6cc[_0x1a651a(0x2de)][_0x1a651a(0x4b3)](_0x12f2af[_0x1a651a(0x2d8)](0x1))[_0x1a651a(0x551)](()=>{const _0x11cb61=_0x1a651a;this[_0x11cb61(0x3fd)](_0x3fc6cc);}),_0x3fc6cc[_0x1a651a(0x569)][_0x1a651a(0x4b3)](_0x12f2af[_0x1a651a(0x2d8)](0x1))[_0x1a651a(0x551)](_0x1cd2ce=>{const _0x304510=_0x1a651a;this[_0x304510(0x434)][_0x304510(0x280)](_0x304510(0x59e),_0x304510(0x403),_0x1cd2ce),this[_0x304510(0x322)]();});}}catch(_0x316517){this['_logService'][_0x1a651a(0x5c9)](_0x316517),this[_0x1a651a(0x322)]();}}[_0x1bb47d(0x3fd)](_0x467703){const _0x1ae376=_0x1bb47d;this['_logService'][_0x1ae376(0x280)]('[CollaborationSessionService]',_0x1ae376(0x2fa)),_0x467703[_0x1ae376(0x350)]({'cmd':_0x43e8b8[_0x1ae376(0x49c)]}),this[_0x1ae376(0x2a1)]();}[_0x1bb47d(0x2f9)](){const _0x39a02f=_0x1bb47d;window[_0x39a02f(0x347)](_0x39a02f(0x241),()=>this['_onOffline']());}[_0x1bb47d(0x265)](){const _0x5efd9d=_0x1bb47d;this[_0x5efd9d(0x30a)]=!0x1,this[_0x5efd9d(0x561)]=null,this[_0x5efd9d(0x3f6)][_0x5efd9d(0x369)](_0x1710c1['OFFLINE']),this['_socket$'][_0x5efd9d(0x369)](null),this[_0x5efd9d(0x4f3)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){const _0x377cbc=_0x1bb47d;var _0x284c49;this[_0x377cbc(0x265)](),this[_0x377cbc(0x389)]<((_0x284c49=this[_0x377cbc(0x5a4)][_0x377cbc(0x495)](_0x287e3e))!=null?_0x284c49:0x3)?(this['_messageService'][_0x377cbc(0x58f)]({'key':_0x377cbc(0x4fb),'type':_0x407879[_0x377cbc(0x1d6)][_0x377cbc(0x3aa)],'content':this[_0x377cbc(0x682)]['t'](_0x377cbc(0x5d7))}),this[_0x377cbc(0x5bd)]()):this['_messageService']['show']({'key':_0x377cbc(0x4fb),'type':_0x407879['MessageType'][_0x377cbc(0x305)],'content':this[_0x377cbc(0x682)]['t'](_0x377cbc(0x51e))});}[_0x1bb47d(0x5c8)](){const _0x3d989d=_0x1bb47d,_0x24e545=()=>{const _0x523494=_0x27a5;this[_0x523494(0x257)]||this['reconnect']();},_0x3f3025=()=>{const _0x52fd30=_0x27a5;this[_0x52fd30(0x257)]||document[_0x52fd30(0x62c)]===_0x52fd30(0x549)||this[_0x52fd30(0x2c7)]();};window['addEventListener'](_0x3d989d(0x4c4),_0x24e545),document[_0x3d989d(0x347)](_0x3d989d(0x459),_0x3f3025);}['_tryReconnect'](){const _0x4629ae=_0x1bb47d;var _0x59ea9b;const _0x1aab9f=this['_retryCount'],_0xd3109d=this[_0x4629ae(0x5a4)][_0x4629ae(0x495)](_0x2dabdd),_0x553197=_0x1aab9f===0x0?0x0:((_0x59ea9b=_0xd3109d==null?void 0x0:_0xd3109d[_0x4629ae(0x28e)])!=null?_0x59ea9b:0x4e20)*0x2**_0x1aab9f;this[_0x4629ae(0x42f)]=window['setTimeout'](()=>{const _0x51643a=_0x4629ae;clearTimeout(this[_0x51643a(0x42f)]),this[_0x51643a(0x42f)]=null,this[_0x51643a(0x499)]();},_0x553197),this[_0x4629ae(0x389)]+=0x1;}[_0x1bb47d(0x684)](_0x5e5071,_0xfb7081){const _0x4c2b78=_0x1bb47d,{cmd:_0x10c724}=_0xfb7081;_0x10c724===_0x43e8b8['HELLO']&&!this[_0x4c2b78(0x30a)]&&(_0x5e5071[_0x4c2b78(0x312)]=_0xfb7081[_0x4c2b78(0x1d8)][_0x4c2b78(0x312)],this[_0x4c2b78(0x253)]['next'](_0x5e5071),this[_0x4c2b78(0x3f6)][_0x4c2b78(0x369)](_0x1710c1['ONLINE']),this[_0x4c2b78(0x30a)]=!0x0,this[_0x4c2b78(0x561)]=null),_0x10c724===_0x43e8b8[_0x4c2b78(0x4ad)]&&this[_0x4c2b78(0x4f3)](),this[_0x4c2b78(0x2a1)]();}['_rescheduleHeartbeat'](){const _0x1a0c41=_0x1bb47d;var _0x5e5f80;this[_0x1a0c41(0x3cf)](),this[_0x1a0c41(0x4b4)]=window[_0x1a0c41(0x4e5)](()=>this[_0x1a0c41(0x629)](),(_0x5e5f80=this['_configService'][_0x1a0c41(0x495)](_0x3c4100))!=null?_0x5e5f80:0x7530);}[_0x1bb47d(0x629)](){const _0x60d44a=_0x1bb47d;this['_socket'][_0x60d44a(0x350)]({'cmd':_0x43e8b8[_0x60d44a(0x4ad)]}),this['_waitForHeartbeatResponse']();}[_0x1bb47d(0x248)](){const _0x4eca04=_0x1bb47d;var _0x2385c8;this['_timeoutTimer']=window[_0x4eca04(0x4e5)](()=>this['_onConnectionFailed'](),(_0x2385c8=this[_0x4eca04(0x5a4)][_0x4eca04(0x495)](_0x2a8762))!=null?_0x2385c8:0x4e20);}['_clearHeartbeatTimer'](){const _0x54c8be=_0x1bb47d;this[_0x54c8be(0x4b4)]!=null&&(clearTimeout(this[_0x54c8be(0x4b4)]),this[_0x54c8be(0x4b4)]=null);}['_clearTimeoutTimer'](){const _0x56f8a3=_0x1bb47d;this[_0x56f8a3(0x296)]!=null&&(clearTimeout(this[_0x56f8a3(0x296)]),this[_0x56f8a3(0x296)]=null);}},_0x439f5[_0x1bb47d(0x49e)]=_0x3ca230([_0x589252(0x0,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x5a7)])),_0x589252(0x1,_0x2a6157['Inject'](_0x2a6157[_0x1bb47d(0x308)])),_0x589252(0x2,_0x4c9f9a['IMessageService']),_0x589252(0x3,_0x2a6157[_0x1bb47d(0x5b9)]),_0x589252(0x4,_0x2a6157[_0x1bb47d(0x65a)]),_0x589252(0x5,_0x4bc590)],_0x439f5[_0x1bb47d(0x49e)]);for(var _0x4706b6=[],_0x1e3955=0x0;_0x1e3955<0x100;++_0x1e3955)_0x4706b6[_0x1bb47d(0x67d)]((_0x1e3955+0x100)[_0x1bb47d(0x630)](0x10)['slice'](0x1));function _0x2b607e(_0x5c4b63,_0x4d8f3f=0x0){return(_0x4706b6[_0x5c4b63[_0x4d8f3f+0x0]]+_0x4706b6[_0x5c4b63[_0x4d8f3f+0x1]]+_0x4706b6[_0x5c4b63[_0x4d8f3f+0x2]]+_0x4706b6[_0x5c4b63[_0x4d8f3f+0x3]]+'-'+_0x4706b6[_0x5c4b63[_0x4d8f3f+0x4]]+_0x4706b6[_0x5c4b63[_0x4d8f3f+0x5]]+'-'+_0x4706b6[_0x5c4b63[_0x4d8f3f+0x6]]+_0x4706b6[_0x5c4b63[_0x4d8f3f+0x7]]+'-'+_0x4706b6[_0x5c4b63[_0x4d8f3f+0x8]]+_0x4706b6[_0x5c4b63[_0x4d8f3f+0x9]]+'-'+_0x4706b6[_0x5c4b63[_0x4d8f3f+0xa]]+_0x4706b6[_0x5c4b63[_0x4d8f3f+0xb]]+_0x4706b6[_0x5c4b63[_0x4d8f3f+0xc]]+_0x4706b6[_0x5c4b63[_0x4d8f3f+0xd]]+_0x4706b6[_0x5c4b63[_0x4d8f3f+0xe]]+_0x4706b6[_0x5c4b63[_0x4d8f3f+0xf]])['toLowerCase']();}var _0x169c9d,_0x10fce3=new Uint8Array(0x10);function _0x11a456(){const _0x3c44bf=_0x1bb47d;if(!_0x169c9d&&(_0x169c9d=typeof crypto<'u'&&crypto['getRandomValues']&&crypto[_0x3c44bf(0x263)]['bind'](crypto),!_0x169c9d))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return _0x169c9d(_0x10fce3);}var _0x5ba5b6=typeof crypto<'u'&&crypto[_0x1bb47d(0x5ed)]&&crypto[_0x1bb47d(0x5ed)][_0x1bb47d(0x2d5)](crypto);const _0x5cbfb5={'randomUUID':_0x5ba5b6};function _0x43fb5e(_0x517a43,_0x291b66,_0x9c21df){const _0x5d94a3=_0x1bb47d;if(_0x5cbfb5['randomUUID']&&!_0x291b66&&!_0x517a43)return _0x5cbfb5['randomUUID']();_0x517a43=_0x517a43||{};var _0x574eee=_0x517a43[_0x5d94a3(0x1fc)]||(_0x517a43['rng']||_0x11a456)();return _0x574eee[0x6]=_0x574eee[0x6]&0xf|0x40,_0x574eee[0x8]=_0x574eee[0x8]&0x3f|0x80,_0x2b607e(_0x574eee);}var _0x81b522=Object[_0x1bb47d(0x368)],_0x27bfc5=Object[_0x1bb47d(0x276)],_0x66d805=(_0x259f14,_0x3388ad,_0x3c9a80,_0x39a47e)=>{const _0x50b336=_0x1bb47d;for(var _0x2f79cf=_0x39a47e>0x1?void 0x0:_0x39a47e?_0x27bfc5(_0x3388ad,_0x3c9a80):_0x3388ad,_0x58e918=_0x259f14[_0x50b336(0x458)]-0x1,_0x53e312;_0x58e918>=0x0;_0x58e918--)(_0x53e312=_0x259f14[_0x58e918])&&(_0x2f79cf=(_0x39a47e?_0x53e312(_0x3388ad,_0x3c9a80,_0x2f79cf):_0x53e312(_0x2f79cf))||_0x2f79cf);return _0x39a47e&&_0x2f79cf&&_0x81b522(_0x3388ad,_0x3c9a80,_0x2f79cf),_0x2f79cf;},_0x3a2dbd=(_0x9e25b7,_0x3fd55d)=>(_0x14d987,_0x334cc4)=>_0x3fd55d(_0x14d987,_0x334cc4,_0x9e25b7);let _0x328692=class{constructor(_0x3a95db,_0x42a592,_0x1e6f38){const _0x4ef309=_0x1bb47d;this['_injector']=_0x3a95db,this[_0x4ef309(0x301)]=_0x42a592,this[_0x4ef309(0x5f4)]=_0x1e6f38;}['transformIMECache'](_0x2fef51){const _0x22e2f0=_0x1bb47d;this[_0x22e2f0(0x515)](_0x2fef51),this[_0x22e2f0(0x5f9)](_0x2fef51);}[_0x1bb47d(0x5c2)](_0x4cd98e){const _0x1aa5ec=_0x1bb47d,{unitID:_0x5b9b0e}=_0x4cd98e,_0x5d7560=this[_0x1aa5ec(0x5f4)][_0x1aa5ec(0x1d3)](_0x5b9b0e)[_0x1aa5ec(0x558)](_0x4b7f90[_0x1aa5ec(0x63a)]),{redoCache:_0x4a954e}=_0x5d7560['getUndoRedoMutationParamsCache']();if(_0x4a954e['length']===0x0)return _0x4cd98e;let _0xd3a6b8=_0x2a6157[_0x1aa5ec(0x3e5)][_0x1aa5ec(0x231)](_0x4cd98e[_0x1aa5ec(0x589)][0x0]);for(let _0x519ead=0x0;_0x519ead<_0x4a954e[_0x1aa5ec(0x458)];_0x519ead++){const _0x439148={'id':'doc.mutation.rich-text-editing','params':{..._0x4a954e[_0x519ead]}},_0x590a8e=this['_transformService']['transformMutation'](_0xd3a6b8,_0x439148,!0x1);if(_0x63ab19[_0x1aa5ec(0x67a)](_0x590a8e))throw _0x590a8e[_0x1aa5ec(0x5c9)];_0xd3a6b8=_0x590a8e[_0x1aa5ec(0x418)];}return{..._0x2a6157['Tools'][_0x1aa5ec(0x231)](_0x4cd98e),'mutations':[_0xd3a6b8]};}[_0x1bb47d(0x515)](_0x4eedd0){const _0x341d54=_0x1bb47d,{unitID:_0x4fd5a2}=_0x4eedd0,_0x54482e=this[_0x341d54(0x5f4)][_0x341d54(0x1d3)](_0x4fd5a2)[_0x341d54(0x558)](_0x4b7f90[_0x341d54(0x63a)]),{undoCache:_0x544bea,redoCache:_0x1da92a}=_0x54482e[_0x341d54(0x568)]();if(_0x544bea['length']===0x0||_0x1da92a[_0x341d54(0x458)]===0x0)return;const _0x1efe66=[],_0x2b9e9a=[];let _0x2891fc=_0x2a6157[_0x341d54(0x3e5)][_0x341d54(0x231)](_0x4eedd0[_0x341d54(0x589)][0x0]),_0x1401b4=_0x2a6157[_0x341d54(0x3e5)][_0x341d54(0x231)](_0x4eedd0[_0x341d54(0x589)][0x0]);for(let _0x3daa54=_0x544bea[_0x341d54(0x458)]-0x1;_0x3daa54>=0x0;_0x3daa54--){const _0x34f41e={'id':_0x341d54(0x575),'params':{..._0x544bea[_0x3daa54]}},_0x2305cb={'id':_0x341d54(0x575),'params':{..._0x1da92a[_0x3daa54]}},_0x33e235=this[_0x341d54(0x301)][_0x341d54(0x485)](_0x2891fc,_0x34f41e,!0x1),_0x13a812=this['_transformService'][_0x341d54(0x485)](_0x1401b4,_0x2305cb,!0x1);if(_0x63ab19[_0x341d54(0x67a)](_0x33e235))throw _0x33e235[_0x341d54(0x5c9)];if(_0x63ab19[_0x341d54(0x67a)](_0x13a812))throw _0x13a812[_0x341d54(0x5c9)];_0x1efe66[_0x341d54(0x608)](_0x33e235[_0x341d54(0x4a5)]['params']),_0x2b9e9a[_0x341d54(0x608)](_0x13a812[_0x341d54(0x4a5)]['params']),_0x2891fc=_0x33e235[_0x341d54(0x418)],_0x1401b4=_0x13a812[_0x341d54(0x418)];}_0x54482e[_0x341d54(0x590)]({'undoCache':_0x1efe66,'redoCache':_0x2b9e9a});}[_0x1bb47d(0x5f9)](_0x199a71){const _0x4eea0e=_0x1bb47d,{unitID:_0x43e4fd}=_0x199a71,_0x234384=this[_0x4eea0e(0x5f4)]['getRenderById'](_0x43e4fd)[_0x4eea0e(0x558)](_0x4b7f90[_0x4eea0e(0x63a)]),_0x42487d=_0x234384['getActiveRange']();if(_0x42487d==null)return;const _0x42f4c8=[{'id':_0x4eea0e(0x575),'params':{'unitId':_0x199a71[_0x4eea0e(0x482)],'actions':null,'textRanges':[_0x42487d]}}],_0x5257f4=this[_0x4eea0e(0x301)][_0x4eea0e(0x233)](_0x199a71,_0x42f4c8);if(!_0x63ab19[_0x4eea0e(0x667)](_0x5257f4))throw _0x5257f4[_0x4eea0e(0x5c9)];const _0x652836=_0x5257f4[_0x4eea0e(0x4a5)][0x0][_0x4eea0e(0x457)][_0x4eea0e(0x2f6)];Array[_0x4eea0e(0x36d)](_0x652836)&&_0x652836[_0x4eea0e(0x458)]&&_0x234384[_0x4eea0e(0x4e1)](_0x652836[0x0]);}};_0x328692=_0x66d805([_0x3a2dbd(0x0,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x5a7)])),_0x3a2dbd(0x1,_0x63ab19[_0x1bb47d(0x32b)]),_0x3a2dbd(0x2,_0xf19b5a[_0x1bb47d(0x2bb)])],_0x328692);var _0x42d4ea=Object['defineProperty'],_0x1c70df=Object[_0x1bb47d(0x276)],_0x2e5804=(_0x5f4390,_0x28e2f,_0x343af,_0x1c5708)=>{const _0x399366=_0x1bb47d;for(var _0x127362=_0x1c5708>0x1?void 0x0:_0x1c5708?_0x1c70df(_0x28e2f,_0x343af):_0x28e2f,_0xcc23ee=_0x5f4390[_0x399366(0x458)]-0x1,_0x325275;_0xcc23ee>=0x0;_0xcc23ee--)(_0x325275=_0x5f4390[_0xcc23ee])&&(_0x127362=(_0x1c5708?_0x325275(_0x28e2f,_0x343af,_0x127362):_0x325275(_0x127362))||_0x127362);return _0x1c5708&&_0x127362&&_0x42d4ea(_0x28e2f,_0x343af,_0x127362),_0x127362;},_0x97c679=(_0xe753fe,_0x35df5b)=>(_0x4fc80e,_0x501685)=>_0x35df5b(_0x4fc80e,_0x501685,_0xe753fe);_0x439f5[_0x1bb47d(0x3f2)]=class extends _0x2a6157[_0x1bb47d(0x36e)]{constructor(_0x2ba9b6,_0x525bd6,_0x4702d6,_0x232e3b,_0x519501){const _0x30f6c8=_0x1bb47d;super(),_0x538cec(this,'_cachedData',new Map()),_0x538cec(this,_0x30f6c8(0x5ea),new Map()),_0x538cec(this,_0x30f6c8(0x58e),!0x1),(this['_configService']=_0x2ba9b6,this[_0x30f6c8(0x3d7)]=_0x525bd6,this[_0x30f6c8(0x4f4)]=_0x4702d6,this[_0x30f6c8(0x682)]=_0x232e3b,this[_0x30f6c8(0x1f6)]=_0x519501,this[_0x30f6c8(0x574)]());}[_0x1bb47d(0x4db)](){const _0x1c773f=_0x1bb47d;this[_0x1c773f(0x58e)]=!0x0;}[_0x1bb47d(0x375)](){const _0x101d49=_0x1bb47d;this[_0x101d49(0x58e)]=!0x1;}[_0x1bb47d(0x3c0)](){const _0x3b14ed=_0x1bb47d;this['exhaustSavingTask']()['then'](()=>super[_0x3b14ed(0x3c0)]());}async[_0x1bb47d(0x675)](_0x2d4be8){const _0x3c0712=_0x1bb47d;return this[_0x3c0712(0x58e)]?null:this[_0x3c0712(0x3d7)]['getItem'](_0x3c547b(_0x2d4be8));}async[_0x1bb47d(0x4ab)](_0x5ea36b,_0x124955){const _0x5248f4=_0x1bb47d;return!!this[_0x5248f4(0x3d7)][_0x5248f4(0x44b)](_0x5ea36b,_0x124955);}[_0x1bb47d(0x63b)](_0x51b81c,_0x372075,_0x5b68a2,_0x561a9a){const _0xce6f86=_0x1bb47d,_0xa730a0=this[_0xce6f86(0x1f6)][_0xce6f86(0x357)](_0x51b81c);this[_0xce6f86(0x3c2)]['set'](_0x51b81c,{'unitID':_0x51b81c,'type':_0x372075,'awaitingChangeset':_0x5b68a2,'mutations':_0x561a9a,'rev':_0xa730a0}),this[_0xce6f86(0x5ea)][_0xce6f86(0x676)](_0x51b81c)||this[_0xce6f86(0x5a0)](_0x51b81c);}[_0x1bb47d(0x5a0)](_0xadc816){const _0x528e03=_0x1bb47d,_0x269531=this[_0x528e03(0x3f1)]();_0x269531===0x0?this[_0x528e03(0x37f)](_0xadc816):this[_0x528e03(0x5ea)]['set'](_0xadc816,setTimeout(()=>this[_0x528e03(0x37f)](_0xadc816),_0x269531));}[_0x1bb47d(0x3f1)](){var _0x224414;return(_0x224414=this['_configService']['getConfig'](_0x3b829d))!=null?_0x224414:0x3e8;}[_0x1bb47d(0x37f)](_0x24b85e){const _0xaf9019=_0x1bb47d,_0x42c8ab=this[_0xaf9019(0x5ea)][_0xaf9019(0x55e)](_0x24b85e);return _0x42c8ab!==void 0x0&&window['clearTimeout'](_0x42c8ab),this[_0xaf9019(0x3d7)][_0xaf9019(0x44b)](_0x3c547b(_0x24b85e),this[_0xaf9019(0x3c2)][_0xaf9019(0x55e)](_0x24b85e))[_0xaf9019(0x341)](()=>this[_0xaf9019(0x5ea)][_0xaf9019(0x5c7)](_0x24b85e));}async['exhaustSavingTask'](){const _0x5156d9=_0x1bb47d,_0x3c1aac=[];this[_0x5156d9(0x5ea)][_0x5156d9(0x4bb)]((_0x324d6f,_0x3a62ba)=>{const _0x247c0c=_0x5156d9;window[_0x247c0c(0x49f)](_0x324d6f),_0x3c1aac[_0x247c0c(0x67d)](this[_0x247c0c(0x37f)](_0x3a62ba)[_0x247c0c(0x341)](()=>{const _0x251505=_0x247c0c;this[_0x251505(0x5ea)]['delete'](_0x3a62ba);}));}),await Promise['all'](_0x3c1aac);}[_0x1bb47d(0x574)](){const _0x4261fd=_0x1bb47d;this['disposeWithMe'](this[_0x4261fd(0x4f4)][_0x4261fd(0x3c1)](()=>{const _0x32a50a=_0x4261fd;if(this[_0x32a50a(0x5ea)][_0x32a50a(0x5c1)])return this[_0x32a50a(0x682)]['t']('collaboration-client.offline-data-not-saved');}));}},_0x439f5['LocalCacheService']=_0x2e5804([_0x97c679(0x0,_0x2a6157[_0x1bb47d(0x65a)]),_0x97c679(0x1,_0x2a6157['ILocalStorageService']),_0x97c679(0x2,_0x4c9f9a[_0x1bb47d(0x46a)]),_0x97c679(0x3,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x308)])),_0x97c679(0x4,_0x2a6157['Inject'](_0x63ab19['RevisionService']))],_0x439f5[_0x1bb47d(0x3f2)]);function _0x3c547b(_0x5a9b50){const _0xfd206c=_0x1bb47d;return _0xfd206c(0x5bf)+_0x5a9b50;}var _0x45610b=Object[_0x1bb47d(0x368)],_0x1532f4=Object[_0x1bb47d(0x276)],_0x4a24f0=(_0x12baf5,_0x2f5439,_0xa6b917,_0x962e8e)=>{for(var _0x1d1052=_0x962e8e>0x1?void 0x0:_0x962e8e?_0x1532f4(_0x2f5439,_0xa6b917):_0x2f5439,_0x164f4d=_0x12baf5['length']-0x1,_0x2eed2a;_0x164f4d>=0x0;_0x164f4d--)(_0x2eed2a=_0x12baf5[_0x164f4d])&&(_0x1d1052=(_0x962e8e?_0x2eed2a(_0x2f5439,_0xa6b917,_0x1d1052):_0x2eed2a(_0x1d1052))||_0x1d1052);return _0x962e8e&&_0x1d1052&&_0x45610b(_0x2f5439,_0xa6b917,_0x1d1052),_0x1d1052;},_0x4a8643=(_0x28ea31,_0x3221c5)=>(_0x57be04,_0x4d1534)=>_0x3221c5(_0x57be04,_0x4d1534,_0x28ea31);function _0x21d810(_0x26be2e){const _0xbccab9=_0x1bb47d,{unitID:_0x27a07b,mutations:_0x1a970b}=_0x26be2e;return{'unitId':_0x27a07b,'subUnitId':_0x1a970b[0x0][_0xbccab9(0x457)][_0xbccab9(0x4d8)]};}let _0x5128be=class{constructor(_0x48e7ce,_0x259eba,_0x526e87){const _0x58b6d6=_0x1bb47d;this[_0x58b6d6(0x4b6)]=_0x48e7ce,this[_0x58b6d6(0x301)]=_0x259eba,this[_0x58b6d6(0x4ee)]=_0x526e87;}[_0x1bb47d(0x58c)](_0x40073e){const _0x1e2f9a=_0x1bb47d;var _0x2c9e9c,_0x4baab8,_0x34034c,_0x11e57e;const _0x1253b6=this[_0x1e2f9a(0x4b6)][_0x1e2f9a(0x55e)](_0xeac940[_0x1e2f9a(0x469)]),{unitId:_0x2c5b39,subUnitId:_0x389011}=_0x21d810(_0x40073e),_0x52ea7a=_0x1253b6[_0x1e2f9a(0x5cb)](_0x2c5b39)['getCurrentSelections'](),_0x5d159b=(_0x4baab8=(_0x2c9e9c=this['_instanceService'][_0x1e2f9a(0x50a)](_0x2c5b39))==null?void 0x0:_0x2c9e9c[_0x1e2f9a(0x2df)]())==null?void 0x0:_0x4baab8['getSheetId']();if(_0x52ea7a[_0x1e2f9a(0x458)]===0x0||!_0x2c5b39||!_0x389011)return;const _0x3e6098=[{'id':_0xeac940[_0x1e2f9a(0x397)]['id'],'params':{'unitId':_0x2c5b39,'subUnitId':_0x5d159b,'selections':_0x2a6157[_0x1e2f9a(0x3e5)][_0x1e2f9a(0x231)](_0x52ea7a)}}],_0x1c2ecc=this[_0x1e2f9a(0x301)][_0x1e2f9a(0x233)](_0x40073e,_0x3e6098);if(!_0x63ab19[_0x1e2f9a(0x667)](_0x1c2ecc))throw _0x1c2ecc[_0x1e2f9a(0x5c9)];const _0xa1d849=(_0x11e57e=(_0x34034c=_0x1c2ecc[_0x1e2f9a(0x4a5)][0x0])==null?void 0x0:_0x34034c[_0x1e2f9a(0x457)])==null?void 0x0:_0x11e57e[_0x1e2f9a(0x65c)];if(Array[_0x1e2f9a(0x36d)](_0xa1d849)&&_0xa1d849['length']){if(_0xa1d849['length']===_0x3e6098[0x0][_0x1e2f9a(0x457)][_0x1e2f9a(0x65c)][_0x1e2f9a(0x458)]&&_0xa1d849[_0x1e2f9a(0x3cd)]((_0x2572c8,_0x4f256a)=>_0x2a6157[_0x1e2f9a(0x3e9)]['equals'](_0x2572c8[_0x1e2f9a(0x294)],_0x3e6098[0x0][_0x1e2f9a(0x457)][_0x1e2f9a(0x65c)][_0x4f256a][_0x1e2f9a(0x294)])))return;this[_0x1e2f9a(0x4b6)][_0x1e2f9a(0x55e)](_0x2a6157[_0x1e2f9a(0x3fa)])[_0x1e2f9a(0x699)](_0xeac940[_0x1e2f9a(0x397)]['id'],{'unitId':_0x2c5b39,'subUnitId':_0x5d159b,'selections':_0xa1d849});}}};_0x5128be=_0x4a24f0([_0x4a8643(0x0,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x5a7)])),_0x4a8643(0x1,_0x63ab19[_0x1bb47d(0x32b)]),_0x4a8643(0x2,_0x2a6157[_0x1bb47d(0x59c)])],_0x5128be);const _0x4eeee0=_0x2a6157[_0x1bb47d(0x3cc)](_0x1bb47d(0x22f));var _0xfa0e84=(_0xfe4b7b=>(_0xfe4b7b[_0xfe4b7b[_0x1bb47d(0x394)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0xfe4b7b[_0xfe4b7b[_0x1bb47d(0x4b8)]=0x1]='OTHER_CLIENTS_EDITING',_0xfe4b7b))(_0xfa0e84||{});const _0x1724e0=0x7530,_0x472e5c='ACTIVE_UNIT_EVENT_CHANNEL';class _0x1af1cf extends _0x2a6157[_0x1bb47d(0x36e)]{constructor(){const _0x115a27=_0x1bb47d;super(),_0x538cec(this,_0x115a27(0x310),_0x2a6157[_0x115a27(0x3e5)][_0x115a27(0x5e4)]()),_0x538cec(this,_0x115a27(0x32d),new Set()),_0x538cec(this,_0x115a27(0x3fe),new Map()),_0x538cec(this,_0x115a27(0x42c),null),_0x538cec(this,_0x115a27(0x2ef),new Map()),_0x538cec(this,_0x115a27(0x4cf),new Map()),this[_0x115a27(0x311)]();}[_0x1bb47d(0x3c0)](){const _0x52af12=_0x1bb47d;super[_0x52af12(0x3c0)](),this['_clearOtherTimers']['forEach']((_0x59a0d2,_0x589215)=>this[_0x52af12(0x387)](_0x589215)),this['_heartbeatTimer']&&window[_0x52af12(0x2eb)](this[_0x52af12(0x42c)]);}[_0x1bb47d(0x57c)](_0x2e2e14){const _0x2eb1d2=_0x1bb47d;return this['_ensureSubject'](_0x2e2e14)[_0x2eb1d2(0x4b3)](_0x59070a[_0x2eb1d2(0x216)]());}[_0x1bb47d(0x536)](_0x55e8a2){const _0x308b6e=_0x1bb47d;this[_0x308b6e(0x32d)][_0x308b6e(0x5c1)]===0x0&&this[_0x308b6e(0x449)](),this[_0x308b6e(0x32d)][_0x308b6e(0x1e2)](_0x55e8a2),this['_send']({'type':0x0,'memberID':this[_0x308b6e(0x310)],'unitIDs':[_0x55e8a2],'isForwarded':!0x1});}[_0x1bb47d(0x4e6)](_0x11089d){const _0x2c3f81=_0x1bb47d;this[_0x2c3f81(0x32d)]['delete'](_0x11089d),this[_0x2c3f81(0x32d)][_0x2c3f81(0x5c1)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x2c3f81(0x42c)]);}[_0x1bb47d(0x311)](){const _0x599010=_0x1bb47d;this[_0x599010(0x20d)](_0x2a6157[_0x599010(0x2cf)](_0x59070a['fromEvent'](window,_0x599010(0x3bc))[_0x599010(0x551)](_0x45f21=>{const _0x3916c2=_0x599010;if(_0x45f21['key']!==_0x472e5c||!_0x45f21[_0x3916c2(0x660)])return;const _0x5cd635=JSON[_0x3916c2(0x376)](_0x45f21[_0x3916c2(0x660)]);this[_0x3916c2(0x281)](_0x5cd635);}))),window[_0x599010(0x347)](_0x599010(0x271),()=>this[_0x599010(0x4d3)]({'type':0x1,'memberID':this[_0x599010(0x310)],'unitIDs':Array['from'](this[_0x599010(0x32d)])}));}[_0x1bb47d(0x281)](_0x52504e){const _0x115ba7=_0x1bb47d;switch(_0x52504e[_0x115ba7(0x451)]){case 0x0:this[_0x115ba7(0x5d5)](_0x52504e);break;case 0x1:this[_0x115ba7(0x5e1)](_0x52504e);break;case 0x2:this[_0x115ba7(0x1de)](_0x52504e);break;}}[_0x1bb47d(0x5d5)](_0x89b34){const _0x5ccc45=_0x1bb47d,{unitIDs:_0x291c26,memberID:_0x265720,isForwarded:_0x43ca5d}=_0x89b34;_0x291c26[_0x5ccc45(0x4bb)](_0xee7b46=>{const _0x14ab17=_0x5ccc45;if(!_0x43ca5d&&this[_0x14ab17(0x3fe)][_0x14ab17(0x676)](_0xee7b46)&&this['_ensureSubject'](_0xee7b46)[_0x14ab17(0x369)](0x1),!this[_0x14ab17(0x3fe)]['has'](_0xee7b46)||!this[_0x14ab17(0x3fe)][_0x14ab17(0x55e)](_0xee7b46)[_0x14ab17(0x676)](_0x265720)){const _0x261405=this[_0x14ab17(0x3fe)][_0x14ab17(0x55e)](_0xee7b46)||new Set();_0x261405[_0x14ab17(0x1e2)](_0x265720),this[_0x14ab17(0x3fe)][_0x14ab17(0x674)](_0xee7b46,_0x261405),this[_0x14ab17(0x360)](_0x265720);}}),_0x43ca5d||this['_send']({'type':0x0,'memberID':this[_0x5ccc45(0x310)],'unitIDs':[...this[_0x5ccc45(0x32d)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x230d94){const _0x4548b2=_0x1bb47d;this[_0x4548b2(0x387)](_0x230d94);const _0x40a5c2=window['setTimeout'](()=>{const _0x508624=_0x4548b2;this[_0x508624(0x3fe)][_0x508624(0x4bb)](_0x548773=>{const _0x23bb95=_0x508624;_0x548773[_0x23bb95(0x5c7)](_0x230d94);});},_0x1724e0*0x2);this['_clearOtherTimers'][_0x4548b2(0x674)](_0x230d94,_0x40a5c2);}[_0x1bb47d(0x387)](_0x2b476c){const _0x22b2e4=_0x1bb47d;if(this['_clearOtherTimers']['has'](_0x2b476c)){const _0x4a8cb6=this[_0x22b2e4(0x2ef)][_0x22b2e4(0x55e)](_0x2b476c);_0x4a8cb6&&window[_0x22b2e4(0x49f)](_0x4a8cb6),this[_0x22b2e4(0x2ef)][_0x22b2e4(0x674)](_0x2b476c,null);}}['_handleLeaveEvent'](_0x52043a){const _0x4f549a=_0x1bb47d,{memberID:_0x4642a5,unitIDs:_0x2ff347}=_0x52043a;_0x2ff347[_0x4f549a(0x4bb)](_0x5d63c2=>{const _0x4eff05=_0x4f549a;var _0x13019b;const _0x139c82=this[_0x4eff05(0x3fe)]['get'](_0x5d63c2);_0x139c82&&(_0x139c82['delete'](_0x4642a5),(_0x13019b=this[_0x4eff05(0x223)](_0x5d63c2))==null||_0x13019b['next'](_0x139c82[_0x4eff05(0x5c1)]===0x0?0x0:0x1));}),this[_0x4f549a(0x387)](_0x4642a5);}[_0x1bb47d(0x1de)](_0x15f5a0){const _0x21ba36=_0x1bb47d;this[_0x21ba36(0x360)](_0x15f5a0[_0x21ba36(0x312)]);}['_send'](_0x1de459){const _0x4f18c5=_0x1bb47d;localStorage[_0x4f18c5(0x44b)](_0x472e5c,JSON['stringify'](_0x1de459));}['_scheduleHeartbeat'](){const _0x34813d=_0x1bb47d;this[_0x34813d(0x42c)]=window[_0x34813d(0x27e)](()=>{const _0x526c53=_0x34813d;this[_0x526c53(0x4d3)]({'type':0x2,'memberID':this[_0x526c53(0x310)]});},_0x1724e0);}[_0x1bb47d(0x223)](_0x140655){const _0x46c26f=_0x1bb47d;return this[_0x46c26f(0x4cf)][_0x46c26f(0x676)](_0x140655)||this[_0x46c26f(0x4cf)][_0x46c26f(0x674)](_0x140655,new _0x59070a[(_0x46c26f(0x471))](0x0)),this[_0x46c26f(0x4cf)]['get'](_0x140655);}}var _0x3f2cc8=Object[_0x1bb47d(0x368)],_0x236d2e=Object[_0x1bb47d(0x276)],_0x58c75e=(_0x2d4ff3,_0x2c4df9,_0x1c7e66,_0x4c1b88)=>{const _0xa6d28a=_0x1bb47d;for(var _0x49c166=_0x4c1b88>0x1?void 0x0:_0x4c1b88?_0x236d2e(_0x2c4df9,_0x1c7e66):_0x2c4df9,_0x2ca4e6=_0x2d4ff3[_0xa6d28a(0x458)]-0x1,_0x1d5388;_0x2ca4e6>=0x0;_0x2ca4e6--)(_0x1d5388=_0x2d4ff3[_0x2ca4e6])&&(_0x49c166=(_0x4c1b88?_0x1d5388(_0x2c4df9,_0x1c7e66,_0x49c166):_0x1d5388(_0x49c166))||_0x49c166);return _0x4c1b88&&_0x49c166&&_0x3f2cc8(_0x2c4df9,_0x1c7e66,_0x49c166),_0x49c166;},_0x33ec8b=(_0x10a3c5,_0x2325b5)=>(_0x48df24,_0x57806b)=>_0x2325b5(_0x48df24,_0x57806b,_0x10a3c5);let _0x360c7d=class{constructor(_0x3d71b2,_0x5d50b6,_0xc29253){const _0x88fba0=_0x1bb47d;this[_0x88fba0(0x4b6)]=_0x3d71b2,this['_transformService']=_0x5d50b6,this['_docStateChangeManagerService']=_0xc29253;}[_0x1bb47d(0x670)](_0x5c12ad){this['_transformHistoryAndStateStack'](_0x5c12ad);}[_0x1bb47d(0x5c2)](_0x4ed199){const _0x106968=_0x1bb47d,{unitID:_0x24f4c3}=_0x4ed199,{collaboration:_0x1d2587}=this[_0x106968(0x3d1)]['getStateCache'](_0x24f4c3);if(_0x1d2587['length']===0x0)return _0x4ed199;let _0x97de5e=_0x2a6157[_0x106968(0x3e5)]['deepClone'](_0x4ed199[_0x106968(0x589)][0x0]);for(let _0x527ddb=0x0;_0x527ddb<_0x1d2587[_0x106968(0x458)];_0x527ddb++){const _0x4bfc14={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1d2587[_0x527ddb][_0x106968(0x60b)],..._0x1d2587[_0x527ddb]['redoState']}},_0x47b8ee=this[_0x106968(0x301)][_0x106968(0x485)](_0x97de5e,_0x4bfc14,!0x1);if(_0x63ab19[_0x106968(0x67a)](_0x47b8ee))throw _0x47b8ee[_0x106968(0x5c9)];_0x97de5e=_0x47b8ee['m1Prime'];}return{..._0x2a6157[_0x106968(0x3e5)]['deepClone'](_0x4ed199),'mutations':[_0x97de5e]};}['_transformHistoryAndStateStack'](_0x3f0568){const _0x29df1a=_0x1bb47d,{unitID:_0x4d71fc}=_0x3f0568,{history:_0x188e00,collaboration:_0x2950b2}=this[_0x29df1a(0x3d1)][_0x29df1a(0x34d)](_0x4d71fc);if(_0x188e00[_0x29df1a(0x458)]===0x0&&_0x2950b2[_0x29df1a(0x458)]===0x0)return;const _0x2c23f6=[],_0xb4c60d=[];let _0x224079=_0x2a6157[_0x29df1a(0x3e5)][_0x29df1a(0x231)](_0x3f0568['mutations'][0x0]),_0xb17b00=_0x2a6157['Tools'][_0x29df1a(0x231)](_0x3f0568[_0x29df1a(0x589)][0x0]);for(let _0x5e86ec=_0x188e00[_0x29df1a(0x458)]-0x1;_0x5e86ec>=0x0;_0x5e86ec--){const _0x9f088b={'id':_0x29df1a(0x575),'params':{'unitId':_0x188e00[_0x5e86ec][_0x29df1a(0x60b)],..._0x188e00[_0x5e86ec][_0x29df1a(0x29c)]}},_0x5438fa={'id':_0x29df1a(0x575),'params':{'unitId':_0x188e00[_0x5e86ec][_0x29df1a(0x60b)],..._0x188e00[_0x5e86ec]['redoState']}},_0x3e3fa1=this[_0x29df1a(0x301)][_0x29df1a(0x485)](_0x224079,_0x9f088b,!0x1),_0x3a2e1d=this[_0x29df1a(0x301)][_0x29df1a(0x485)](_0xb17b00,_0x5438fa,!0x1);if(_0x63ab19[_0x29df1a(0x67a)](_0x3e3fa1))throw _0x3e3fa1[_0x29df1a(0x5c9)];if(_0x63ab19[_0x29df1a(0x67a)](_0x3a2e1d))throw _0x3a2e1d[_0x29df1a(0x5c9)];_0x2c23f6[_0x29df1a(0x608)]({..._0x188e00[_0x5e86ec],'undoState':_0x3e3fa1[_0x29df1a(0x4a5)][_0x29df1a(0x457)],'redoState':_0x3a2e1d[_0x29df1a(0x4a5)]['params']}),_0x224079=_0x3e3fa1[_0x29df1a(0x418)],_0xb17b00=_0x3a2e1d['m1Prime'];}_0x224079=_0x2a6157['Tools']['deepClone'](_0x3f0568['mutations'][0x0]),_0xb17b00=_0x2a6157[_0x29df1a(0x3e5)][_0x29df1a(0x231)](_0x3f0568[_0x29df1a(0x589)][0x0]);for(let _0x21c176=_0x2950b2[_0x29df1a(0x458)]-0x1;_0x21c176>=0x0;_0x21c176--){const _0x1073bc={'id':_0x29df1a(0x575),'params':{'unitId':_0x2950b2[_0x21c176][_0x29df1a(0x60b)],..._0x2950b2[_0x21c176][_0x29df1a(0x29c)]}},_0x41004b={'id':_0x29df1a(0x575),'params':{'unitId':_0x2950b2[_0x21c176][_0x29df1a(0x60b)],..._0x2950b2[_0x21c176]['redoState']}},_0x1e2b12=this[_0x29df1a(0x301)][_0x29df1a(0x485)](_0x224079,_0x1073bc,!0x1),_0x354db6=this[_0x29df1a(0x301)][_0x29df1a(0x485)](_0xb17b00,_0x41004b,!0x1);if(_0x63ab19[_0x29df1a(0x67a)](_0x1e2b12))throw _0x1e2b12[_0x29df1a(0x5c9)];if(_0x63ab19[_0x29df1a(0x67a)](_0x354db6))throw _0x354db6['error'];_0xb4c60d[_0x29df1a(0x608)]({..._0x2950b2[_0x21c176],'undoState':_0x1e2b12[_0x29df1a(0x4a5)][_0x29df1a(0x457)],'redoState':_0x354db6[_0x29df1a(0x4a5)]['params']}),_0x224079=_0x1e2b12['m1Prime'],_0xb17b00=_0x354db6[_0x29df1a(0x418)];}this[_0x29df1a(0x3d1)][_0x29df1a(0x228)](_0x4d71fc,{'history':_0x2c23f6,'collaboration':_0xb4c60d});}};_0x360c7d=_0x58c75e([_0x33ec8b(0x0,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x5a7)])),_0x33ec8b(0x1,_0x63ab19['ITransformService']),_0x33ec8b(0x2,_0x2a6157[_0x1bb47d(0x439)](_0x4b7f90[_0x1bb47d(0x454)]))],_0x360c7d);function _0x4ecbbf(_0x4b6438){let _0x36be27='';for(const _0x110045 of _0x4b6438){const {startOffset:_0x42c2c6,endOffset:_0x406355,isActive:_0x5da7db,rangeType:_0xa4df9,segmentId:_0x215cb5,segmentPage:_0x530066}=_0x110045;_0x36be27['length']&&(_0x36be27+=','),_0x36be27+=_0x42c2c6+':'+_0x406355+':'+(_0x5da7db?'1':'0')+':'+_0xa4df9+':'+_0x215cb5+':'+_0x530066;}return _0x36be27;}function _0x43f154(_0x35beff){const _0x5b9e72=_0x1bb47d,_0x549c5d=_0x35beff['split'](','),_0x5cd17f=[];for(const _0x2466e3 of _0x549c5d){const [_0x589d34,_0x2f881f,_0x35ea0e,_0x27b1df,_0x1234cd,_0x8a0a1d]=_0x2466e3[_0x5b9e72(0x3ad)](':');_0x5cd17f[_0x5b9e72(0x67d)]({'startOffset':Number(_0x589d34),'endOffset':Number(_0x2f881f),'collapsed':_0x589d34===_0x2f881f,'isActive':_0x35ea0e==='1','rangeType':_0x27b1df===_0x2a6157[_0x5b9e72(0x24d)][_0x5b9e72(0x340)]?_0x2a6157[_0x5b9e72(0x24d)][_0x5b9e72(0x340)]:_0x2a6157['DOC_RANGE_TYPE'][_0x5b9e72(0x309)],'segmentId':typeof _0x1234cd==_0x5b9e72(0x5e2)?String(_0x1234cd):'','segmentPage':Number(_0x8a0a1d!=null?_0x8a0a1d:-0x1)});}return _0x5cd17f[_0x5b9e72(0x4c0)](_0x378155=>_0x378155[_0x5b9e72(0x2b0)])||(_0x5cd17f[0x0][_0x5b9e72(0x2b0)]=!0x0),_0x5cd17f;}class _0x46f788 extends _0x2a6157['RxDisposable']{constructor(){const _0x534267=_0x1bb47d;super(...arguments),_0x538cec(this,_0x534267(0x1da),new _0x59070a[(_0x534267(0x471))](null)),_0x538cec(this,_0x534267(0x1d4),this['_collabCursorState$'][_0x534267(0x55b)]());}[_0x1bb47d(0x622)](_0x44ad3d){const {unitID:_0x44c695,memberID:_0xe832b1,textRanges:_0x57172b}=_0x44ad3d,_0x27512e=_0x4ecbbf(_0x57172b);if(_0x27512e==='')return;const _0x2e0395={'unitID':_0x44c695,'memberID':_0xe832b1,'selection':_0x27512e};this['_collabCursorState$']['next'](_0x2e0395);}}var _0x55b855=Object[_0x1bb47d(0x368)],_0x341d1c=Object['getOwnPropertyDescriptor'],_0x1240e9=(_0xe08b60,_0x6e6fc,_0x4c61ab,_0x5bfc45)=>{const _0x1dea62=_0x1bb47d;for(var _0x37b2bb=_0x5bfc45>0x1?void 0x0:_0x5bfc45?_0x341d1c(_0x6e6fc,_0x4c61ab):_0x6e6fc,_0x4b7fcc=_0xe08b60[_0x1dea62(0x458)]-0x1,_0xb495e;_0x4b7fcc>=0x0;_0x4b7fcc--)(_0xb495e=_0xe08b60[_0x4b7fcc])&&(_0x37b2bb=(_0x5bfc45?_0xb495e(_0x6e6fc,_0x4c61ab,_0x37b2bb):_0xb495e(_0x37b2bb))||_0x37b2bb);return _0x5bfc45&&_0x37b2bb&&_0x55b855(_0x6e6fc,_0x4c61ab,_0x37b2bb),_0x37b2bb;},_0x2fbd07=(_0x253c49,_0x56ce57)=>(_0x3f7f53,_0x5659be)=>_0x56ce57(_0x3f7f53,_0x5659be,_0x253c49);let _0x25b89c=class{constructor(_0x37b1b6,_0x1ecf7f){const _0x3a1eac=_0x1bb47d;this[_0x3a1eac(0x4b6)]=_0x37b1b6,this[_0x3a1eac(0x301)]=_0x1ecf7f;}[_0x1bb47d(0x58c)](_0x29e923){const _0x235209=_0x1bb47d;var _0x40d16b;const _0x1d29fe=this[_0x235209(0x4b6)][_0x235209(0x55e)](_0x6fdacf[_0x235209(0x54e)]),_0x380c85=(_0x40d16b=_0x1d29fe[_0x235209(0x632)]())!=null?_0x40d16b:[];if(_0x380c85['length']===0x0)return;const _0xc44bda=[{'id':_0x235209(0x575),'params':{'unitId':_0x29e923['unitID'],'actions':null,'textRanges':_0x380c85}}],_0x25acc5=this[_0x235209(0x301)][_0x235209(0x233)](_0x29e923,_0xc44bda);if(!_0x63ab19[_0x235209(0x667)](_0x25acc5))throw _0x25acc5[_0x235209(0x5c9)];const _0x64eb2d=_0x25acc5[_0x235209(0x4a5)][0x0]['params']['textRanges'];Array[_0x235209(0x36d)](_0x64eb2d)&&_0x64eb2d[_0x235209(0x458)]&&_0x1d29fe[_0x235209(0x5d8)](_0x64eb2d,!0x1);}};_0x25b89c=_0x1240e9([_0x2fbd07(0x0,_0x2a6157['Inject'](_0x2a6157[_0x1bb47d(0x5a7)])),_0x2fbd07(0x1,_0x63ab19[_0x1bb47d(0x32b)])],_0x25b89c);const _0x4d3c2a=new Set([_0xeac940['InsertSheetMutation']['id']]);function _0x244e86(_0x9af557,_0x459c78,_0x151fac,_0x238913,_0x81d0fb){const _0x5e3023=_0x1bb47d;var _0x224145,_0x2aaf21,_0x5dad48,_0x36a3dc;const _0x8fc4f1=[];for(const _0x2cdf7b of _0x9af557)if(_0x4d3c2a[_0x5e3023(0x676)](_0x2cdf7b['id'])){if(_0x8fc4f1[_0x5e3023(0x458)]>0x0)break;_0x8fc4f1['push'](_0x2cdf7b);break;}else _0x8fc4f1[_0x5e3023(0x67d)](_0x2cdf7b);const _0x54ab90=(_0x2aaf21=(_0x224145=_0x81d0fb[_0x5e3023(0x57a)]())==null?void 0x0:_0x224145[_0x5e3023(0x496)])!=null?_0x2aaf21:_0x5e3023(0x474),_0x3e4963=(_0x36a3dc=(_0x5dad48=_0x81d0fb[_0x5e3023(0x57a)]())==null?void 0x0:_0x5dad48['memberID'])!=null?_0x36a3dc:_0x5e3023(0x474);return{'changeset':{'unitID':_0x459c78,'type':_0x63ab19[_0x5e3023(0x619)](_0x151fac[_0x5e3023(0x334)](_0x459c78)),'baseRev':_0x238913[_0x5e3023(0x357)](_0x459c78),'revision':0x0,'userID':_0x54ab90,'memberID':_0x3e4963,'mutations':_0x8fc4f1},'pendingMutations':_0x9af557[_0x5e3023(0x1f5)](_0x8fc4f1[_0x5e3023(0x458)])};}function _0x2b0960(_0x35a823,_0x58af43,_0x1530af,_0x14ff45,_0x836d4c){const _0x484c75=_0x1bb47d;var _0x20598b,_0x3e657a,_0x33d378,_0x23329c;const _0x166c27=[_0x35a823['reduce']((_0x813d1a,_0x5c6136)=>{const _0x33e401=_0x27a5;var _0x507881;const {id:_0x3d6558}=_0x813d1a,{id:_0x59aebc,type:_0xaa263a}=_0x5c6136,_0x1a1819=(_0x507881=_0x813d1a[_0x33e401(0x457)])!=null?_0x507881:{'actions':null},_0x2fa834=_0x5c6136['params'];if(_0x3d6558&&_0x3d6558!==_0x59aebc)throw new Error(_0x33e401(0x548)+_0x3d6558+_0x33e401(0x686)+_0x59aebc+'.');return{..._0x813d1a,'id':_0x59aebc,'type':_0xaa263a,'params':{'unitId':_0x2fa834['unitId'],'textRanges':_0x2fa834['textRanges'],'actions':_0x2a6157[_0x33e401(0x20e)][_0x33e401(0x3f7)](_0x1a1819[_0x33e401(0x5dd)],_0x2fa834[_0x33e401(0x5dd)])}};},{})],_0x190a9b=(_0x3e657a=(_0x20598b=_0x836d4c['getCurrentUser']())==null?void 0x0:_0x20598b[_0x484c75(0x496)])!=null?_0x3e657a:_0x484c75(0x474),_0x3dfeeb=(_0x23329c=(_0x33d378=_0x836d4c[_0x484c75(0x57a)]())==null?void 0x0:_0x33d378[_0x484c75(0x312)])!=null?_0x23329c:_0x484c75(0x474);return{'changeset':{'unitID':_0x58af43,'type':_0x63ab19[_0x484c75(0x619)](_0x1530af['getUnitType'](_0x58af43)),'baseRev':_0x14ff45[_0x484c75(0x357)](_0x58af43),'revision':0x0,'userID':_0x190a9b,'memberID':_0x3dfeeb,'mutations':_0x166c27},'pendingMutations':[]};}function _0x4f9a0e(_0x345137,_0xec4cf8){const _0x54db5d=_0x1bb47d,_0x2aa27a=new _0x59070a[(_0x54db5d(0x470))](0x1);return setTimeout(()=>_0x2aa27a[_0x54db5d(0x369)](_0xec4cf8),_0x345137),_0x2aa27a['asObservable']()[_0x54db5d(0x4b3)](_0x59070a[_0x54db5d(0x2d8)](0x1));}const _0x33d78b={'id':_0xeac940['EmptyMutation']['id'],'type':_0x2a6157[_0x1bb47d(0x410)][_0x1bb47d(0x56c)],'params':{}};var _0x61c80b=Object['defineProperty'],_0x352373=Object[_0x1bb47d(0x276)],_0x1abeeb=(_0x4f636b,_0x405f80,_0x4560be,_0x1c789b)=>{const _0x252fd8=_0x1bb47d;for(var _0x2f6bb3=_0x1c789b>0x1?void 0x0:_0x1c789b?_0x352373(_0x405f80,_0x4560be):_0x405f80,_0xa4629=_0x4f636b[_0x252fd8(0x458)]-0x1,_0x159f35;_0xa4629>=0x0;_0xa4629--)(_0x159f35=_0x4f636b[_0xa4629])&&(_0x2f6bb3=(_0x1c789b?_0x159f35(_0x405f80,_0x4560be,_0x2f6bb3):_0x159f35(_0x2f6bb3))||_0x2f6bb3);return _0x1c789b&&_0x2f6bb3&&_0x61c80b(_0x405f80,_0x4560be,_0x2f6bb3),_0x2f6bb3;},_0x3b3006=(_0x16d550,_0x348060)=>(_0x58a8fa,_0x2db8d3)=>_0x348060(_0x58a8fa,_0x2db8d3,_0x16d550),_0x1e7227=(_0x2ba1fd=>(_0x2ba1fd[_0x1bb47d(0x5ec)]='not_collab',_0x2ba1fd['SYNCED']='synced',_0x2ba1fd[_0x1bb47d(0x237)]='pending',_0x2ba1fd[_0x1bb47d(0x693)]=_0x1bb47d(0x4e8),_0x2ba1fd[_0x1bb47d(0x60e)]=_0x1bb47d(0x2f3),_0x2ba1fd[_0x1bb47d(0x40f)]=_0x1bb47d(0x52d),_0x2ba1fd[_0x1bb47d(0x287)]='conflict',_0x2ba1fd['OFFLINE']='offline',_0x2ba1fd))(_0x1e7227||{});const _0x4b7337=0xea60;class _0x3ba638{constructor(_0x51d100,_0x584a61,_0x417c87,_0x3b027a,_0x30cfcd,_0xf916af,_0x3ef6dc,_0xb2d157,_0xe78007){const _0x231837=_0x1bb47d;_0x538cec(this,_0x231837(0x5b8),null),_0x538cec(this,'_pendingMutations',[]),(this['unitID']=_0x51d100,this['type']=_0x584a61,this[_0x231837(0x2b8)]=_0x30cfcd,this[_0x231837(0x24c)]=_0xf916af,this['_undoRedoService']=_0x3ef6dc,this[_0x231837(0x1f6)]=_0xb2d157,this['_localCacheService']=_0xe78007,this[_0x231837(0x5b8)]=_0x417c87,this['_pendingMutations']=_0x3b027a);}[_0x1bb47d(0x1ce)](_0x2bbe55){const _0x300b61=_0x1bb47d,_0x4b1632=this[_0x300b61(0x1f6)][_0x300b61(0x357)](this['unitID']);return _0x2bbe55['revision']>_0x4b1632+0x1?(this[_0x300b61(0x2b8)][_0x300b61(0x2f8)]({'from':_0x4b1632,'to':_0x2bbe55[_0x300b61(0x46e)]-0x1}),!0x0):!0x1;}[_0x1bb47d(0x685)](_0xe5b4d3){const _0x4e33de=_0x1bb47d;this['_undoRedoService']['transformUndoRedo'](this[_0x4e33de(0x482)],_0xe5b4d3);}[_0x1bb47d(0x517)](_0x2f9fad){const _0x25d534=_0x1bb47d;var _0x710a13,_0x34d916;(_0x34d916=(_0x710a13=this[_0x25d534(0x2b8)])[_0x25d534(0x273)])==null||_0x34d916['call'](_0x710a13,_0x2f9fad);}['_transformIMECache'](_0x2683cb){const _0x19ff0c=_0x1bb47d;var _0x395c1a,_0x2e87b8;return(_0x2e87b8=(_0x395c1a=this['_handler'])['onTransformIME'])==null?void 0x0:_0x2e87b8[_0x19ff0c(0x4be)](_0x395c1a,_0x2683cb);}['_transformStateCache'](_0x51eb4a){const _0x4f7091=_0x1bb47d;var _0x2ff60c,_0x4ba838;return(_0x4ba838=(_0x2ff60c=this[_0x4f7091(0x2b8)])[_0x4f7091(0x2e0)])==null?void 0x0:_0x4ba838[_0x4f7091(0x4be)](_0x2ff60c,_0x51eb4a);}[_0x1bb47d(0x535)](_0x2ecd1c){const _0xfba542=_0x1bb47d;var _0x32549c,_0x327aa1,_0x3d551e;return(_0x3d551e=(_0x327aa1=(_0x32549c=this[_0xfba542(0x2b8)])[_0xfba542(0x44d)])==null?void 0x0:_0x327aa1['call'](_0x32549c,_0x2ecd1c))!=null?_0x3d551e:_0x2ecd1c;}[_0x1bb47d(0x1e8)](_0x241f42){const _0x246462=_0x1bb47d;var _0x59d39c,_0x313675,_0x43dd87;return(_0x43dd87=(_0x313675=(_0x59d39c=this['_handler'])[_0x246462(0x4cd)])==null?void 0x0:_0x313675[_0x246462(0x4be)](_0x59d39c,_0x241f42))!=null?_0x43dd87:_0x241f42;}[_0x1bb47d(0x4b9)](_0x3e47c9){const _0x2d0cac=_0x1bb47d;var _0x5c5f49,_0x57f3bb;if(this['type']===_0x48d2c2[_0x2d0cac(0x328)]){const {unitID:_0x5c62f3,mutations:_0x500cba,memberID:_0x522108}=_0x3e47c9,_0x503f28=_0x500cba[0x0][_0x2d0cac(0x457)][_0x2d0cac(0x2f6)];Array[_0x2d0cac(0x36d)](_0x503f28)&&_0x503f28[_0x2d0cac(0x458)]>0x0&&((_0x57f3bb=(_0x5c5f49=this[_0x2d0cac(0x2b8)])[_0x2d0cac(0x2aa)])==null||_0x57f3bb['call'](_0x5c5f49,{'unitID':_0x5c62f3,'memberID':_0x522108,'textRanges':_0x503f28}));}}[_0x1bb47d(0x2cc)](){const _0x1463fd=_0x1bb47d;this[_0x1463fd(0x486)][_0x1463fd(0x63b)](this[_0x1463fd(0x482)],this[_0x1463fd(0x451)],this[_0x1463fd(0x5b8)],this['_pendingMutations']);}[_0x1bb47d(0x5eb)](){const _0x344708=_0x1bb47d;return this[_0x344708(0x1f6)][_0x344708(0x357)](this[_0x344708(0x482)]);}[_0x1bb47d(0x23b)](){const _0x538747=_0x1bb47d;this['_revisionService'][_0x538747(0x5a1)](this['unitID']);}[_0x1bb47d(0x251)](_0x1eb820){const _0x1a61af=_0x1bb47d;var _0x58ac04;let _0xca9a89=this[_0x1a61af(0x535)](_0x1eb820);_0xca9a89=this[_0x1a61af(0x1e8)](_0xca9a89);const _0x2201ea=_0x2a6157[_0x1a61af(0x264)](_0xca9a89[_0x1a61af(0x589)],this['_commandService'],{'fromCollab':!0x0});if(!_0x2201ea['result'])throw _0x2201ea['error']instanceof Error?_0x2201ea['error']:new Error((_0x58ac04=_0x2201ea[_0x1a61af(0x5c9)])!=null?_0x58ac04:_0x1a61af(0x66d));this['_transformIMECache'](_0xca9a89),this[_0x1a61af(0x5f1)](_0xca9a89),this['_transformUndoredo'](_0x1eb820),this[_0x1a61af(0x517)](_0xca9a89),this[_0x1a61af(0x4b9)](_0xca9a89),this[_0x1a61af(0x23b)]();}}let _0x45cb6c=class extends _0x3ba638{constructor(_0x501eac,_0x206eeb,_0xe7971e,_0x2a8c1d,_0x39b295,_0x21d448,_0x5ee5d6,_0xe8a585,_0x57e360,_0x406876){const _0x13dcdf=_0x1bb47d;super(_0x501eac,_0x206eeb,null,[],_0xe7971e,_0xe8a585,_0x5ee5d6,_0x2a8c1d,_0x39b295),_0x538cec(this,_0x13dcdf(0x2dd),_0x13dcdf(0x26a)),(this['_injector']=_0x21d448,this['_logService']=_0x57e360,this[_0x13dcdf(0x301)]=_0x406876);}['appendMutation'](_0x2f7bce){const _0x109018=_0x1bb47d,_0x514318=this[_0x109018(0x4b6)][_0x109018(0x307)](_0x41a97c,this['unitID'],this[_0x109018(0x451)],[_0x2f7bce],this['_handler']);return _0x514318['_schedule'](),_0x514318['_updateLocalCache'](),_0x514318;}[_0x1bb47d(0x2dc)](_0x4c9a3f){const _0x2a45b0=_0x1bb47d;if(this[_0x2a45b0(0x1ce)](_0x4c9a3f))return this[_0x2a45b0(0x4b6)][_0x2a45b0(0x307)](_0x1e6359,this['unitID'],this[_0x2a45b0(0x451)],null,[],null,[_0x4c9a3f],this[_0x2a45b0(0x2b8)]);try{const _0x451bfe=this[_0x2a45b0(0x301)][_0x2a45b0(0x233)](_0x4c9a3f,[_0x33d78b]);if(_0x63ab19[_0x2a45b0(0x667)](_0x451bfe)){const {c1Prime:_0x317f1d}=_0x451bfe;return this[_0x2a45b0(0x251)](_0x317f1d),this;}throw _0x451bfe['error'];}catch(_0x505d36){return this[_0x2a45b0(0x434)][_0x2a45b0(0x5c9)](_0x505d36),this[_0x2a45b0(0x487)](!0x1);}}[_0x1bb47d(0x487)](_0x46e392){const _0x2bd841=_0x1bb47d;return this['_injector'][_0x2bd841(0x307)](_0x40c599,this[_0x2bd841(0x482)],this[_0x2bd841(0x451)],null,[],this['_handler'],_0x46e392);}[_0x1bb47d(0x562)](){const _0x5266f1=_0x1bb47d;throw new Error(_0x5266f1(0x39f));}['onRemoteRej'](){const _0x113f1d=_0x1bb47d;throw new Error(_0x113f1d(0x4c5));}[_0x1bb47d(0x539)](){return this;}['toggleOffline'](){const _0x151916=_0x1bb47d;return this['_injector'][_0x151916(0x307)](_0x317297,this[_0x151916(0x482)],this['type'],null,[],this[_0x151916(0x2b8)]);}['toggleOnline'](){return this;}[_0x1bb47d(0x559)](){const _0xe2e376=_0x1bb47d;throw new Error(_0xe2e376(0x275));}[_0x1bb47d(0x5f0)](){const _0x342bc8=_0x1bb47d,_0x3943b4=this[_0x342bc8(0x1f6)][_0x342bc8(0x357)](this[_0x342bc8(0x482)]);return this[_0x342bc8(0x2b8)][_0x342bc8(0x2f8)]({'from':_0x3943b4,'to':0x0}),this[_0x342bc8(0x4b6)][_0x342bc8(0x307)](_0x1e6359,this[_0x342bc8(0x482)],this[_0x342bc8(0x451)],null,[],null,[],this['_handler']);}};_0x45cb6c=_0x1abeeb([_0x3b3006(0x3,_0x2a6157[_0x1bb47d(0x439)](_0x63ab19['RevisionService'])),_0x3b3006(0x4,_0x2a6157[_0x1bb47d(0x439)](_0x439f5[_0x1bb47d(0x3f2)])),_0x3b3006(0x5,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x5a7)])),_0x3b3006(0x6,_0x2a6157[_0x1bb47d(0x4bf)]),_0x3b3006(0x7,_0x2a6157[_0x1bb47d(0x3fa)]),_0x3b3006(0x8,_0x2a6157['ILogService']),_0x3b3006(0x9,_0x63ab19[_0x1bb47d(0x32b)])],_0x45cb6c);let _0x41a97c=class extends _0x3ba638{constructor(_0x224c6f,_0x2a543a,_0x1e1887,_0x147a31,_0x5bdf7a,_0x3db58e,_0x2020eb,_0x330d38,_0x5aa1b8,_0x52c773,_0x596a0e,_0xb1f820,_0x30892b,_0x22908a){const _0x2d4abc=_0x1bb47d;super(_0x224c6f,_0x2a543a,null,_0x1e1887,_0x147a31,_0x52c773,_0x22908a,_0x3db58e,_0x2020eb),_0x538cec(this,_0x2d4abc(0x2dd),_0x2d4abc(0x1ea)),_0x538cec(this,_0x2d4abc(0x25b),null),_0x538cec(this,'_sendingTimer',null),(this[_0x2d4abc(0x4b6)]=_0x5bdf7a,this[_0x2d4abc(0x453)]=_0x330d38,this[_0x2d4abc(0x434)]=_0x5aa1b8,this[_0x2d4abc(0x5a4)]=_0x596a0e,this['_transformService']=_0xb1f820,this[_0x2d4abc(0x522)]=_0x30892b);}[_0x1bb47d(0x52c)](_0x43f801){const _0x4f7c46=_0x1bb47d;return this[_0x4f7c46(0x44f)][_0x4f7c46(0x67d)](_0x43f801),this['_updateLocalCache'](),this;}[_0x1bb47d(0x2dc)](_0x1456fe){const _0x23e36b=_0x1bb47d;if(this[_0x23e36b(0x1ce)](_0x1456fe))return this[_0x23e36b(0x492)](),this['_injector'][_0x23e36b(0x307)](_0x1e6359,this['unitID'],this[_0x23e36b(0x451)],null,this[_0x23e36b(0x44f)],null,[_0x1456fe],this[_0x23e36b(0x2b8)]);try{const _0x4ee2f4=this[_0x23e36b(0x301)][_0x23e36b(0x233)](_0x1456fe,this[_0x23e36b(0x44f)]);if(_0x63ab19[_0x23e36b(0x667)](_0x4ee2f4)){const {c1Prime:_0x5de197,m2Prime:_0x31e529}=_0x4ee2f4;this['_executeRemoteChangeset'](_0x5de197);const _0x1e0703=this['_injector'][_0x23e36b(0x307)](_0x41a97c,this['unitID'],this[_0x23e36b(0x451)],_0x31e529,this[_0x23e36b(0x2b8)]);return this[_0x23e36b(0x492)](),_0x1e0703[_0x23e36b(0x4e9)](this[_0x23e36b(0x25b)]?Math['max'](0x0,new Date()[_0x23e36b(0x3e2)]()-this[_0x23e36b(0x25b)]):this[_0x23e36b(0x3b5)]()),_0x1e0703;}throw _0x4ee2f4[_0x23e36b(0x5c9)];}catch(_0x5c42c9){return this[_0x23e36b(0x434)][_0x23e36b(0x5c9)](_0x5c42c9),this[_0x23e36b(0x487)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x1bb47d(0x56d)](){const _0x278258=_0x1bb47d;throw new Error(_0x278258(0x5e3));}['onRemoteRetry'](){return this;}[_0x1bb47d(0x587)](){const _0xb859f2=_0x1bb47d;return this[_0xb859f2(0x492)](),this[_0xb859f2(0x4b6)][_0xb859f2(0x307)](_0x317297,this[_0xb859f2(0x482)],this[_0xb859f2(0x451)],null,this['_pendingMutations'],this[_0xb859f2(0x2b8)]);}[_0x1bb47d(0x25a)](){return this;}['_schedule'](_0x51e92c){const _0x220449=_0x1bb47d,_0x5e5617=_0x51e92c!=null?_0x51e92c:this[_0x220449(0x3b5)]();this[_0x220449(0x25b)]=new Date()[_0x220449(0x3e2)](),this[_0x220449(0x25e)]=window[_0x220449(0x4e5)](()=>{const _0x23224d=_0x220449;this[_0x23224d(0x492)]();let _0x420877=null;switch(this['type']){case _0x48d2c2[_0x23224d(0x560)]:{_0x420877=_0x244e86(this[_0x23224d(0x44f)],this['unitID'],this[_0x23224d(0x522)],this[_0x23224d(0x1f6)],this[_0x23224d(0x453)]);break;}case _0x48d2c2[_0x23224d(0x328)]:{this[_0x23224d(0x44f)][_0x23224d(0x3cd)](_0x5cb582=>_0x5cb582['id']===_0x6fdacf[_0x23224d(0x518)]['id'])?_0x420877=_0x2b0960(this[_0x23224d(0x44f)],this[_0x23224d(0x482)],this[_0x23224d(0x522)],this[_0x23224d(0x1f6)],this['_memberService']):_0x420877=_0x244e86(this[_0x23224d(0x44f)],this[_0x23224d(0x482)],this[_0x23224d(0x522)],this[_0x23224d(0x1f6)],this[_0x23224d(0x453)]);break;}default:throw new Error(_0x23224d(0x317)+this['type']+_0x23224d(0x640));}const {changeset:_0x3e0d91,pendingMutations:_0x536570}=_0x420877;this[_0x23224d(0x2b8)]['onSendChangeset'](_0x3e0d91);const _0x3fc3ec=_0x536570[_0x23224d(0x458)]?this[_0x23224d(0x4b6)][_0x23224d(0x307)](_0x12d703,this['unitID'],this[_0x23224d(0x451)],_0x3e0d91,_0x536570,this[_0x23224d(0x2b8)],void 0x0):this[_0x23224d(0x4b6)][_0x23224d(0x307)](_0x43b52e,this[_0x23224d(0x482)],this[_0x23224d(0x451)],_0x3e0d91,this[_0x23224d(0x2b8)]);_0x3fc3ec[_0x23224d(0x2cc)](),this[_0x23224d(0x2b8)][_0x23224d(0x5a3)](this,_0x3fc3ec);},_0x5e5617);}[_0x1bb47d(0x3b5)](){const _0x500879=_0x1bb47d;var _0x2c3887;const _0x2cfea2=this[_0x500879(0x5a4)]['getConfig'](_0x2dabdd);return(_0x2c3887=_0x2cfea2==null?void 0x0:_0x2cfea2[_0x500879(0x4c1)])!=null?_0x2c3887:0x7d0;}[_0x1bb47d(0x559)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1bb47d(0x492)](){const _0x34368d=_0x1bb47d;this[_0x34368d(0x25e)]!=null&&(clearTimeout(this[_0x34368d(0x25e)]),this[_0x34368d(0x25e)]=null);}['_onConflict'](_0x5b3f39){const _0x119321=_0x1bb47d;return this[_0x119321(0x492)](),this[_0x119321(0x4b6)]['createInstance'](_0x40c599,this[_0x119321(0x482)],this[_0x119321(0x451)],null,this[_0x119321(0x44f)],this[_0x119321(0x2b8)],_0x5b3f39);}};_0x41a97c=_0x1abeeb([_0x3b3006(0x4,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x5a7)])),_0x3b3006(0x5,_0x2a6157['Inject'](_0x63ab19[_0x1bb47d(0x598)])),_0x3b3006(0x6,_0x2a6157['Inject'](_0x439f5[_0x1bb47d(0x3f2)])),_0x3b3006(0x7,_0x2a6157[_0x1bb47d(0x439)](_0x439f5[_0x1bb47d(0x431)])),_0x3b3006(0x8,_0x2a6157['ILogService']),_0x3b3006(0x9,_0x2a6157[_0x1bb47d(0x3fa)]),_0x3b3006(0xa,_0x2a6157['IConfigService']),_0x3b3006(0xb,_0x63ab19[_0x1bb47d(0x32b)]),_0x3b3006(0xc,_0x2a6157[_0x1bb47d(0x59c)]),_0x3b3006(0xd,_0x2a6157[_0x1bb47d(0x4bf)])],_0x41a97c);let _0x43b52e=class extends _0x3ba638{constructor(_0x1666f8,_0x47e630,_0x56fd00,_0x5a8319,_0x26099d,_0x5c20f8,_0x2c1c87,_0x4daa86,_0x43e2d4,_0x32f538,_0x11e603){const _0x42e469=_0x1bb47d;super(_0x1666f8,_0x47e630,_0x56fd00,[],_0x5a8319,_0x4daa86,_0x11e603,_0x5c20f8,_0x2c1c87),_0x538cec(this,_0x42e469(0x2dd),_0x42e469(0x4e8)),_0x538cec(this,'_resendTimeout',0x0),_0x538cec(this,_0x42e469(0x69d)),_0x538cec(this,_0x42e469(0x5c3)),(this[_0x42e469(0x4b6)]=_0x26099d,this[_0x42e469(0x434)]=_0x43e2d4,this[_0x42e469(0x301)]=_0x32f538);}[_0x1bb47d(0x52c)](_0x330ba3){const _0x39630d=_0x1bb47d;this[_0x39630d(0x492)]();const _0xe79f60=this[_0x39630d(0x4b6)][_0x39630d(0x307)](_0x12d703,this['unitID'],this[_0x39630d(0x451)],this['_awaitingChangeset'],[_0x330ba3],this[_0x39630d(0x2b8)],this[_0x39630d(0x69d)]);return _0xe79f60[_0x39630d(0x2cc)](),_0xe79f60;}[_0x1bb47d(0x2dc)](_0x291244){const _0x990413=_0x1bb47d;if(this[_0x990413(0x1ce)](_0x291244))return this[_0x990413(0x492)](),this[_0x990413(0x4b6)][_0x990413(0x307)](_0x1e6359,this[_0x990413(0x482)],this['type'],this[_0x990413(0x5b8)],[],null,[_0x291244],this[_0x990413(0x2b8)]);try{const _0x1332c4=this[_0x990413(0x301)][_0x990413(0x55d)]([_0x291244],[this[_0x990413(0x5b8)]],!0x1);if(_0x63ab19[_0x990413(0x5e0)](_0x1332c4)){const {c1Prime:_0x11118c,c2Prime:_0x170940}=_0x1332c4;this[_0x990413(0x251)](_0x11118c[0x0]),_0x170940[0x0][_0x990413(0x3e0)]=this[_0x990413(0x5eb)](),this['_clearScheduledTask']();const _0x42c62e=this[_0x990413(0x4b6)][_0x990413(0x307)](_0x43b52e,this[_0x990413(0x482)],this['type'],_0x170940[0x0],this[_0x990413(0x2b8)]);return _0x42c62e['_updateLocalCache'](),_0x42c62e;}return this[_0x990413(0x487)](!0x1);}catch(_0x3fa78c){return this[_0x990413(0x434)]['error'](_0x3fa78c),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x34ac75){const _0x1845ce=_0x1bb47d;this[_0x1845ce(0x492)]();const _0x17cd12=this[_0x1845ce(0x1f6)]['getCurrentRevOfUnit'](this[_0x1845ce(0x482)]);if(_0x34ac75['revision']<_0x17cd12-0x1)return this;if(this[_0x1845ce(0x1ce)](_0x34ac75))return this[_0x1845ce(0x4b6)]['createInstance'](_0x1e6359,this[_0x1845ce(0x482)],this[_0x1845ce(0x451)],null,[],this[_0x1845ce(0x5b8)],[],this[_0x1845ce(0x2b8)]);this[_0x1845ce(0x23b)]();const _0x20f444=this[_0x1845ce(0x4b6)][_0x1845ce(0x307)](_0x45cb6c,this[_0x1845ce(0x482)],this[_0x1845ce(0x451)],this[_0x1845ce(0x2b8)]);return _0x20f444[_0x1845ce(0x2cc)](),_0x20f444;}[_0x1bb47d(0x56d)](_0x1e56fc){const _0x1bef5c=_0x1bb47d;return this[_0x1bef5c(0x487)](!!(_0x1e56fc!=null&&_0x1e56fc[_0x1bef5c(0x5fe)]));}[_0x1bb47d(0x539)](_0x4d91){const _0x4ec3e3=_0x1bb47d;return this[_0x4ec3e3(0x5ef)]>_0x4b7337?this['toggleOffline']():(this['_resendTimer']=_0x4f9a0e(this[_0x4ec3e3(0x5ef)],{'timeout':this[_0x4ec3e3(0x5ef)],'reqId':_0x4d91['reqId']}),this[_0x4ec3e3(0x5c3)]=this[_0x4ec3e3(0x69d)][_0x4ec3e3(0x551)](({reqId:_0x57a45b,timeout:_0x4b556d})=>{const _0x391e5e=_0x4ec3e3;this[_0x391e5e(0x2da)](_0x57a45b,_0x4b556d);}),this);}[_0x1bb47d(0x587)](){const _0x2094b4=_0x1bb47d;return this['_clearScheduledTask'](),this[_0x2094b4(0x4b6)][_0x2094b4(0x307)](_0x317297,this[_0x2094b4(0x482)],this['type'],this['_awaitingChangeset'],[],this[_0x2094b4(0x2b8)]);}[_0x1bb47d(0x25a)](){return this;}[_0x1bb47d(0x559)](){const _0x241c66=_0x1bb47d;this[_0x241c66(0x2b8)][_0x241c66(0x5a9)](this[_0x241c66(0x5b8)]);}[_0x1bb47d(0x487)](_0x4ac3a4){const _0x26a097=_0x1bb47d;return this[_0x26a097(0x492)](),this[_0x26a097(0x4b6)][_0x26a097(0x307)](_0x40c599,this[_0x26a097(0x482)],this['type'],this[_0x26a097(0x5b8)],[],this[_0x26a097(0x2b8)],_0x4ac3a4);}[_0x1bb47d(0x2da)](_0x4ad110,_0xa00c87){const _0x4ad193=_0x1bb47d;var _0xbcec7d;_0x4ad110===((_0xbcec7d=this[_0x4ad193(0x5b8)])==null?void 0x0:_0xbcec7d['reqId'])&&(this[_0x4ad193(0x559)](),this[_0x4ad193(0x5ef)]=_0xa00c87===0x0?0x3e8:_0xa00c87*0x2);}[_0x1bb47d(0x492)](){const _0x4e6b37=_0x1bb47d;var _0x5388f1;(_0x5388f1=this[_0x4e6b37(0x5c3)])==null||_0x5388f1[_0x4e6b37(0x59b)](),this[_0x4e6b37(0x5ef)]=0x0;}};_0x43b52e=_0x1abeeb([_0x3b3006(0x4,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157['Injector'])),_0x3b3006(0x5,_0x2a6157['Inject'](_0x63ab19['RevisionService'])),_0x3b3006(0x6,_0x2a6157[_0x1bb47d(0x439)](_0x439f5[_0x1bb47d(0x3f2)])),_0x3b3006(0x7,_0x2a6157['ICommandService']),_0x3b3006(0x8,_0x2a6157[_0x1bb47d(0x5b9)]),_0x3b3006(0x9,_0x63ab19[_0x1bb47d(0x32b)]),_0x3b3006(0xa,_0x2a6157[_0x1bb47d(0x4bf)])],_0x43b52e);let _0x12d703=class extends _0x3ba638{constructor(_0x34bbd1,_0x4e9c3e,_0x56deb3,_0x4f383d,_0x885908,_0x350b48,_0x578369,_0xb68869,_0x308523,_0x12f70c,_0x23b536,_0x539757,_0x36b9ee){const _0x4d7eaf=_0x1bb47d;super(_0x34bbd1,_0x4e9c3e,_0x56deb3,_0x4f383d,_0x885908,_0x12f70c,_0x36b9ee,_0xb68869,_0x308523),_0x538cec(this,_0x4d7eaf(0x2dd),_0x4d7eaf(0x2f3)),_0x538cec(this,_0x4d7eaf(0x5ef),0x0),_0x538cec(this,_0x4d7eaf(0x69d)),_0x538cec(this,'_sender'),(this[_0x4d7eaf(0x4b6)]=_0x578369,this[_0x4d7eaf(0x434)]=_0x23b536,this[_0x4d7eaf(0x301)]=_0x539757,_0x350b48&&(this[_0x4d7eaf(0x69d)]=_0x350b48,this[_0x4d7eaf(0x5c3)]=this[_0x4d7eaf(0x69d)][_0x4d7eaf(0x551)](({reqId:_0x4f9e20,timeout:_0x4dbd0c})=>{const _0x2bfb68=_0x4d7eaf;this[_0x2bfb68(0x2da)](_0x4f9e20,_0x4dbd0c);})));}[_0x1bb47d(0x52c)](_0x45e302){const _0x2fff1a=_0x1bb47d;return this['_pendingMutations'][_0x2fff1a(0x67d)](_0x45e302),this;}['onRemoteChangeset'](_0x200aeb){const _0x2d26ea=_0x1bb47d;if(this['_checkMissing'](_0x200aeb))return this[_0x2d26ea(0x492)](),this[_0x2d26ea(0x4b6)][_0x2d26ea(0x307)](_0x1e6359,this['unitID'],this[_0x2d26ea(0x451)],this['_awaitingChangeset'],this[_0x2d26ea(0x44f)],null,[_0x200aeb],this[_0x2d26ea(0x2b8)]);try{const _0x583c89=this[_0x2d26ea(0x301)][_0x2d26ea(0x55d)]([_0x200aeb],[this['_awaitingChangeset']],!0x1);if(_0x63ab19['isTransformChangesetsSuccess'](_0x583c89)){const {c1Prime:_0x5201f3,c2Prime:_0x6ae30d}=_0x583c89,_0x19c5f4=this[_0x2d26ea(0x301)]['transformMutationsWithChangeset'](_0x5201f3[0x0],this[_0x2d26ea(0x44f)]);if(_0x63ab19[_0x2d26ea(0x667)](_0x19c5f4)){const {c1Prime:_0xf52e09,m2Prime:_0x2a6edf}=_0x19c5f4;return this['_executeRemoteChangeset'](_0xf52e09),_0x6ae30d[0x0][_0x2d26ea(0x3e0)]=this[_0x2d26ea(0x5eb)](),this[_0x2d26ea(0x492)](),this[_0x2d26ea(0x4b6)][_0x2d26ea(0x307)](_0x12d703,this[_0x2d26ea(0x482)],this[_0x2d26ea(0x451)],_0x6ae30d[0x0],_0x2a6edf,this[_0x2d26ea(0x2b8)],void 0x0);}throw _0x19c5f4['error'];}throw _0x583c89['error'];}catch(_0x14a07c){return this[_0x2d26ea(0x434)][_0x2d26ea(0x5c9)](_0x14a07c),this[_0x2d26ea(0x487)](!0x1);}}['onRemoteAck'](_0x4691cd){const _0x2d4c9d=_0x1bb47d;if(this['_clearScheduledTask'](),this[_0x2d4c9d(0x1ce)](_0x4691cd))return this[_0x2d4c9d(0x4b6)][_0x2d4c9d(0x307)](_0x1e6359,this[_0x2d4c9d(0x482)],this[_0x2d4c9d(0x451)],null,this['_pendingMutations'],this[_0x2d4c9d(0x5b8)],[],this[_0x2d4c9d(0x2b8)]);this[_0x2d4c9d(0x23b)]();const _0x30240b=this[_0x2d4c9d(0x4b6)]['createInstance'](_0x41a97c,this[_0x2d4c9d(0x482)],this['type'],this[_0x2d4c9d(0x44f)],this[_0x2d4c9d(0x2b8)]);return _0x30240b[_0x2d4c9d(0x4e9)](),_0x30240b[_0x2d4c9d(0x2cc)](),_0x30240b;}[_0x1bb47d(0x56d)](_0x189ed4){const _0x24c826=_0x1bb47d;return this['_onConflict'](!!(_0x189ed4!=null&&_0x189ed4[_0x24c826(0x5fe)]));}[_0x1bb47d(0x539)](_0x14c30d){const _0x8378df=_0x1bb47d;return this['_resendTimeout']>_0x4b7337?this[_0x8378df(0x587)]():(this[_0x8378df(0x69d)]=_0x4f9a0e(this[_0x8378df(0x5ef)],{'timeout':this['_resendTimeout'],'reqId':_0x14c30d[_0x8378df(0x5fd)]}),this[_0x8378df(0x5c3)]=this[_0x8378df(0x69d)][_0x8378df(0x551)](({reqId:_0x4fc4c1,timeout:_0xf8b120})=>{const _0x54faa8=_0x8378df;this[_0x54faa8(0x2da)](_0x4fc4c1,_0xf8b120);}),this);}['toggleOffline'](){const _0x189cff=_0x1bb47d;return this[_0x189cff(0x492)](),this[_0x189cff(0x4b6)][_0x189cff(0x307)](_0x317297,this[_0x189cff(0x482)],this[_0x189cff(0x451)],this[_0x189cff(0x5b8)],this[_0x189cff(0x44f)],this[_0x189cff(0x2b8)]);}[_0x1bb47d(0x25a)](){return this;}[_0x1bb47d(0x559)](){const _0x1f36cb=_0x1bb47d;this['_handler'][_0x1f36cb(0x5a9)](this[_0x1f36cb(0x5b8)]);}[_0x1bb47d(0x487)](_0x50653b){const _0x15cb90=_0x1bb47d;return this[_0x15cb90(0x492)](),this[_0x15cb90(0x4b6)][_0x15cb90(0x307)](_0x40c599,this[_0x15cb90(0x482)],this[_0x15cb90(0x451)],null,this[_0x15cb90(0x44f)],this['_handler'],_0x50653b);}['_resendWithTimeout'](_0xe3478f,_0x3ea7d8){const _0x4e5eab=_0x1bb47d;var _0xe4cb60;_0xe3478f===((_0xe4cb60=this[_0x4e5eab(0x5b8)])==null?void 0x0:_0xe4cb60[_0x4e5eab(0x5fd)])&&(this[_0x4e5eab(0x559)](),this[_0x4e5eab(0x5ef)]=_0x3ea7d8===0x0?0x3e8:_0x3ea7d8*0x2);}[_0x1bb47d(0x492)](){const _0x497f4b=_0x1bb47d;var _0x214f0d;(_0x214f0d=this[_0x497f4b(0x5c3)])==null||_0x214f0d[_0x497f4b(0x59b)](),this[_0x497f4b(0x5ef)]=0x0;}};_0x12d703=_0x1abeeb([_0x3b3006(0x6,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x5a7)])),_0x3b3006(0x7,_0x2a6157[_0x1bb47d(0x439)](_0x63ab19[_0x1bb47d(0x598)])),_0x3b3006(0x8,_0x2a6157[_0x1bb47d(0x439)](_0x439f5[_0x1bb47d(0x3f2)])),_0x3b3006(0x9,_0x2a6157[_0x1bb47d(0x3fa)]),_0x3b3006(0xa,_0x2a6157['ILogService']),_0x3b3006(0xb,_0x63ab19[_0x1bb47d(0x32b)]),_0x3b3006(0xc,_0x2a6157[_0x1bb47d(0x4bf)])],_0x12d703);let _0x40c599=class extends _0x3ba638{constructor(_0x253c52,_0x1bdc25,_0x195233,_0x5547f3,_0x197eb3,_0x25dcc1=!0x1,_0x255ce8,_0xa8ad13,_0x4ad59c,_0x53e9d8,_0x5c6369,_0x2c6f0d,_0x57149e){const _0x22421a=_0x1bb47d;super(_0x253c52,_0x1bdc25,_0x195233,_0x5547f3,_0x197eb3,_0xa8ad13,_0x4ad59c,_0x5c6369,_0x53e9d8),_0x538cec(this,'status',_0x22421a(0x31b)),(this[_0x22421a(0x543)]=_0x25dcc1,this[_0x22421a(0x475)]=_0x255ce8,this[_0x22421a(0x682)]=_0x2c6f0d,this[_0x22421a(0x2d0)]=_0x57149e,this[_0x22421a(0x461)](),this[_0x22421a(0x503)](),this[_0x22421a(0x362)]());}[_0x1bb47d(0x52c)](){return this;}['onRemoteChangeset'](){return this;}[_0x1bb47d(0x562)](){return this;}[_0x1bb47d(0x56d)](){return this;}[_0x1bb47d(0x539)](){return this;}[_0x1bb47d(0x587)](){return this;}[_0x1bb47d(0x25a)](){return this;}[_0x1bb47d(0x559)](){const _0xc02673=_0x1bb47d;throw new Error(_0xc02673(0x21a));}[_0x1bb47d(0x503)](){const _0x535a37=_0x1bb47d;this[_0x535a37(0x486)][_0x535a37(0x63b)](this[_0x535a37(0x482)],this[_0x535a37(0x451)],null,[]);}[_0x1bb47d(0x461)](){const _0x4a8dd5=_0x1bb47d;this[_0x4a8dd5(0x543)]?this[_0x4a8dd5(0x2d0)][_0x4a8dd5(0x58f)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x4a8dd5(0x682)]['t'](_0x4a8dd5(0x203)),'type':'error','duration':0x0}):this['_notificationService'][_0x4a8dd5(0x58f)]({'title':this[_0x4a8dd5(0x682)]['t'](_0x4a8dd5(0x493)),'content':this[_0x4a8dd5(0x682)]['t'](_0x4a8dd5(0x5b6)),'type':_0x4a8dd5(0x5c9),'duration':0x0});}[_0x1bb47d(0x362)](){const _0x16d09e=_0x1bb47d;this[_0x16d09e(0x475)][_0x16d09e(0x4a3)](new _0xeac940[(_0x16d09e(0x53e))](this[_0x16d09e(0x482)])['id'],!0x1);}};_0x40c599=_0x1abeeb([_0x3b3006(0x6,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x2c9)])),_0x3b3006(0x7,_0x2a6157['ICommandService']),_0x3b3006(0x8,_0x2a6157[_0x1bb47d(0x4bf)]),_0x3b3006(0x9,_0x2a6157[_0x1bb47d(0x439)](_0x439f5[_0x1bb47d(0x3f2)])),_0x3b3006(0xa,_0x2a6157[_0x1bb47d(0x439)](_0x63ab19[_0x1bb47d(0x598)])),_0x3b3006(0xb,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x308)])),_0x3b3006(0xc,_0x4c9f9a[_0x1bb47d(0x585)])],_0x40c599);let _0x317297=class extends _0x3ba638{constructor(_0x478dfb,_0x2a7b45,_0x26f37f,_0x122d1d,_0x7ff341,_0x385f70,_0x3a127a,_0x23dfbf,_0x2734ad,_0x539816){const _0x55bd3a=_0x1bb47d;super(_0x478dfb,_0x2a7b45,_0x26f37f,_0x122d1d,_0x7ff341,_0x2734ad,_0x539816,_0x3a127a,_0x23dfbf),_0x538cec(this,_0x55bd3a(0x2dd),_0x55bd3a(0x241)),this['_injector']=_0x385f70;}[_0x1bb47d(0x52c)](_0x4de5cf){const _0xfd9fcb=_0x1bb47d;return this['_pendingMutations'][_0xfd9fcb(0x67d)](_0x4de5cf),this[_0xfd9fcb(0x2cc)](),this;}[_0x1bb47d(0x2dc)](_0x1bde51){const _0x4759fa=_0x1bb47d;throw new Error(_0x4759fa(0x55a));}[_0x1bb47d(0x562)](){const _0x38b027=_0x1bb47d;throw new Error(_0x38b027(0x365));}[_0x1bb47d(0x56d)](){const _0x5309c7=_0x1bb47d;throw new Error(_0x5309c7(0x1f2));}['onRemoteRetry'](){return this;}[_0x1bb47d(0x587)](){return this;}[_0x1bb47d(0x25a)](){const _0x42d5cd=_0x1bb47d,{_injector:_0x20dffe,_pendingMutations:_0x4cfa9d,_awaitingChangeset:_0x324a74,unitID:_0x52d92b,_handler:_0x34890f,type:_0x41de44}=this,_0x2f6f8b=_0x27704c(_0x20dffe,_0x52d92b,_0x41de44,_0x324a74,_0x4cfa9d,_0x34890f);return _0x2f6f8b instanceof _0x41a97c?_0x2f6f8b[_0x42d5cd(0x4e9)]():(_0x2f6f8b instanceof _0x12d703||_0x2f6f8b instanceof _0x43b52e)&&_0x2f6f8b[_0x42d5cd(0x559)](),_0x2f6f8b;}['resend'](){const _0x363391=_0x1bb47d;throw new Error(_0x363391(0x2be));}};_0x317297=_0x1abeeb([_0x3b3006(0x5,_0x2a6157['Inject'](_0x2a6157[_0x1bb47d(0x5a7)])),_0x3b3006(0x6,_0x2a6157['Inject'](_0x63ab19[_0x1bb47d(0x598)])),_0x3b3006(0x7,_0x2a6157[_0x1bb47d(0x439)](_0x439f5[_0x1bb47d(0x3f2)])),_0x3b3006(0x8,_0x2a6157['ICommandService']),_0x3b3006(0x9,_0x2a6157['IUndoRedoService'])],_0x317297);let _0x1e6359=class extends _0x3ba638{constructor(_0x4906c1,_0xb43329,_0x2260c5,_0x5da4ac,_0x524b2b,_0x2c9270,_0x29d1ae,_0x33094d,_0x27f514,_0x1db790,_0x4aed07,_0x59c0cc,_0xa31733,_0x3dc176){const _0x5922e7=_0x1bb47d;super(_0x4906c1,_0xb43329,_0x2260c5,_0x5da4ac,_0x29d1ae,_0x59c0cc,_0xa31733,_0x27f514,_0x1db790),_0x538cec(this,_0x5922e7(0x2dd),_0x5922e7(0x52d)),(this[_0x5922e7(0x1ee)]=_0x524b2b,this[_0x5922e7(0x2f4)]=_0x2c9270,this[_0x5922e7(0x4b6)]=_0x33094d,this[_0x5922e7(0x434)]=_0x4aed07,this[_0x5922e7(0x301)]=_0x3dc176);}[_0x1bb47d(0x448)](_0x271af4){const _0x5d4f88=_0x1bb47d;try{const _0x598469=[..._0x271af4,...this[_0x5d4f88(0x2f4)]],_0x5d9b9d=[this[_0x5d4f88(0x5b8)]||this[_0x5d4f88(0x1ee)]][_0x5d4f88(0x3e4)](_0x31a397=>!!_0x31a397);let _0x109f5e,_0x1b3118;if(_0x5d9b9d[_0x5d4f88(0x458)]){const _0x12fce5=this[_0x5d4f88(0x301)][_0x5d4f88(0x55d)](_0x598469,_0x5d9b9d,!0x1);if(!_0x63ab19[_0x5d4f88(0x5e0)](_0x12fce5))throw _0x12fce5[_0x5d4f88(0x5c9)];_0x109f5e=_0x12fce5['c1Prime'],_0x1b3118=_0x12fce5['c2Prime'];}else _0x109f5e=_0x598469,_0x1b3118=[];let _0x1e424e=this[_0x5d4f88(0x44f)];_0x109f5e[_0x5d4f88(0x4bb)](_0x483f1b=>{const _0x234a72=_0x5d4f88;let _0x498c9e;if(_0x1e424e[_0x234a72(0x458)]){const _0x2c10a1=this[_0x234a72(0x301)][_0x234a72(0x233)](_0x483f1b,_0x1e424e);if(!_0x63ab19[_0x234a72(0x667)](_0x2c10a1))throw _0x2c10a1[_0x234a72(0x5c9)];_0x498c9e=_0x2c10a1[_0x234a72(0x4d7)],_0x1e424e=_0x2c10a1[_0x234a72(0x4a5)];}else _0x498c9e=_0x483f1b;this[_0x234a72(0x251)](_0x498c9e);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x5d4f88(0x5b8)]&&_0x1b3118['length']&&(_0x1b3118[0x0]['baseRev']=this[_0x5d4f88(0x5eb)]());let _0x930a6b;if(this['_awaitingChangeset']&&_0x1e424e[_0x5d4f88(0x458)]!==0x0)_0x930a6b=this['_injector'][_0x5d4f88(0x307)](_0x12d703,this[_0x5d4f88(0x482)],this[_0x5d4f88(0x451)],_0x1b3118[0x0],_0x1e424e,this['_handler'],void 0x0);else{if(this[_0x5d4f88(0x5b8)]&&_0x1e424e[_0x5d4f88(0x458)]===0x0)_0x1b3118[0x0][_0x5d4f88(0x3e0)]=this[_0x5d4f88(0x5eb)](),_0x930a6b=this[_0x5d4f88(0x4b6)][_0x5d4f88(0x307)](_0x43b52e,this[_0x5d4f88(0x482)],this[_0x5d4f88(0x451)],_0x1b3118[0x0],this[_0x5d4f88(0x2b8)]);else{if(_0x1e424e[_0x5d4f88(0x458)]!==0x0){const _0x53ba56=this[_0x5d4f88(0x4b6)][_0x5d4f88(0x307)](_0x41a97c,this['unitID'],this['type'],_0x1e424e,this['_handler']);_0x53ba56[_0x5d4f88(0x4e9)](),_0x930a6b=_0x53ba56;}else _0x930a6b=this[_0x5d4f88(0x4b6)]['createInstance'](_0x45cb6c,this['unitID'],this['type'],this[_0x5d4f88(0x2b8)]);}}return _0x930a6b['_updateLocalCache'](),_0x930a6b;}catch(_0xa76af7){return this[_0x5d4f88(0x434)]['error']('[FetchMissState]',_0x5d4f88(0x516),_0xa76af7),this['_injector']['createInstance'](_0x40c599,this[_0x5d4f88(0x482)],this[_0x5d4f88(0x451)],this[_0x5d4f88(0x5b8)],this[_0x5d4f88(0x44f)],this[_0x5d4f88(0x2b8)],!0x1);}}[_0x1bb47d(0x559)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1bb47d(0x52c)](_0x29dc35){const _0x4dc46f=_0x1bb47d;return this[_0x4dc46f(0x44f)][_0x4dc46f(0x67d)](_0x29dc35),this;}[_0x1bb47d(0x2dc)](_0x211346){const _0x270898=_0x1bb47d;return this[_0x270898(0x2f4)][_0x270898(0x67d)](_0x211346),this;}[_0x1bb47d(0x562)](_0x56bc24){const _0x339e5f=_0x1bb47d;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x339e5f(0x5b8)],this['_awaitingChangeset']=null,this;throw new Error(_0x339e5f(0x268));}['onRemoteRej'](_0xa11fa6){const _0x944626=_0x1bb47d;return this[_0x944626(0x487)](!!(_0xa11fa6!=null&&_0xa11fa6[_0x944626(0x5fe)]));}[_0x1bb47d(0x539)](){return this;}['toggleOffline'](){const _0x52fca1=_0x1bb47d;return this['_injector'][_0x52fca1(0x307)](_0x317297,this['unitID'],this[_0x52fca1(0x451)],this[_0x52fca1(0x5b8)],this[_0x52fca1(0x44f)],this['_handler']);}[_0x1bb47d(0x25a)](){return this;}[_0x1bb47d(0x487)](_0x5a1f93){const _0x407da6=_0x1bb47d;return this['_injector'][_0x407da6(0x307)](_0x40c599,this[_0x407da6(0x482)],this[_0x407da6(0x451)],this[_0x407da6(0x5b8)],this[_0x407da6(0x44f)],this[_0x407da6(0x2b8)],_0x5a1f93);}};_0x1e6359=_0x1abeeb([_0x3b3006(0x7,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157['Injector'])),_0x3b3006(0x8,_0x2a6157[_0x1bb47d(0x439)](_0x63ab19[_0x1bb47d(0x598)])),_0x3b3006(0x9,_0x2a6157[_0x1bb47d(0x439)](_0x439f5['LocalCacheService'])),_0x3b3006(0xa,_0x2a6157[_0x1bb47d(0x5b9)]),_0x3b3006(0xb,_0x2a6157[_0x1bb47d(0x3fa)]),_0x3b3006(0xc,_0x2a6157['IUndoRedoService']),_0x3b3006(0xd,_0x63ab19[_0x1bb47d(0x32b)])],_0x1e6359);function _0x27704c(_0x422a72,_0x521979,_0x36ce55,_0x2c1532,_0x272f97,_0x34a204){const _0x4ffa7e=_0x1bb47d;return _0x2c1532&&_0x272f97[_0x4ffa7e(0x458)]?_0x422a72[_0x4ffa7e(0x307)](_0x12d703,_0x521979,_0x36ce55,_0x2c1532,_0x272f97,_0x34a204,void 0x0):_0x2c1532?_0x422a72[_0x4ffa7e(0x307)](_0x43b52e,_0x521979,_0x36ce55,_0x2c1532,_0x34a204):_0x272f97[_0x4ffa7e(0x458)]?_0x422a72[_0x4ffa7e(0x307)](_0x41a97c,_0x521979,_0x36ce55,_0x272f97,_0x34a204):_0x422a72[_0x4ffa7e(0x307)](_0x45cb6c,_0x521979,_0x36ce55,_0x34a204);}var _0xf14a74=Object[_0x1bb47d(0x368)],_0x332783=Object['getOwnPropertyDescriptor'],_0x555999=(_0xe596d5,_0x7178e,_0xd38aa4,_0x3d3bfd)=>{const _0x1ffa99=_0x1bb47d;for(var _0x2a48e7=_0x3d3bfd>0x1?void 0x0:_0x3d3bfd?_0x332783(_0x7178e,_0xd38aa4):_0x7178e,_0x3ed38e=_0xe596d5[_0x1ffa99(0x458)]-0x1,_0x53ab11;_0x3ed38e>=0x0;_0x3ed38e--)(_0x53ab11=_0xe596d5[_0x3ed38e])&&(_0x2a48e7=(_0x3d3bfd?_0x53ab11(_0x7178e,_0xd38aa4,_0x2a48e7):_0x53ab11(_0x2a48e7))||_0x2a48e7);return _0x3d3bfd&&_0x2a48e7&&_0xf14a74(_0x7178e,_0xd38aa4,_0x2a48e7),_0x2a48e7;},_0x531311=(_0x44726b,_0x1cefba)=>(_0x3cd8cd,_0x4a7ce5)=>_0x1cefba(_0x3cd8cd,_0x4a7ce5,_0x44726b);_0x439f5['CollaborationEntity']=class extends _0x2a6157[_0x1bb47d(0x3ff)]{constructor(_0x30b14b,_0x53d5a4,_0x532171,_0x1d186e,_0x3b9d0b,_0x257b1a,_0x4a38af,_0x3fa55e,_0x72925f,_0x475d57,_0x381bb3,_0xcf6a68,_0x392cce){const _0x52d9b3=_0x1bb47d;super(),_0x538cec(this,_0x52d9b3(0x673),new _0x59070a[(_0x52d9b3(0x471))](null)),_0x538cec(this,_0x52d9b3(0x236),this[_0x52d9b3(0x673)]['asObservable']()),_0x538cec(this,_0x52d9b3(0x230)),_0x538cec(this,_0x52d9b3(0x285),!0x1),_0x538cec(this,_0x52d9b3(0x3f5),''),_0x538cec(this,'_changesetReqId',0x0),_0x538cec(this,_0x52d9b3(0x66b),this[_0x52d9b3(0x236)][_0x52d9b3(0x4b3)](_0x59070a[_0x52d9b3(0x616)](_0x5f2b5d=>_0x5f2b5d?_0x5f2b5d[_0x52d9b3(0x2dd)]:_0x1e7227[_0x52d9b3(0x4d2)]),_0x59070a[_0x52d9b3(0x626)](0x1))),_0x538cec(this,_0x52d9b3(0x39c),!0x1),_0x538cec(this,_0x52d9b3(0x5da),[]),(this['unitID']=_0x30b14b,this[_0x52d9b3(0x59f)]=_0x53d5a4,this[_0x52d9b3(0x483)]=_0x532171,this[_0x52d9b3(0x4b6)]=_0x1d186e,this['_localCacheService']=_0x3b9d0b,this[_0x52d9b3(0x525)]=_0x257b1a,this['_localeService']=_0x4a38af,this[_0x52d9b3(0x1f6)]=_0x3fa55e,this[_0x52d9b3(0x434)]=_0x72925f,this[_0x52d9b3(0x24c)]=_0x475d57,this[_0x52d9b3(0x208)]=_0x381bb3,this['_permissionService']=_0xcf6a68,this[_0x52d9b3(0x4a4)]=_0x392cce);}get[_0x1bb47d(0x343)](){const _0x5d54fe=_0x1bb47d;return this[_0x5d54fe(0x230)];}async[_0x1bb47d(0x2a2)](){const _0x422f73=_0x1bb47d;if(this[_0x422f73(0x343)])throw new Error(_0x422f73(0x63e));await this[_0x422f73(0x311)]();}['pauseCollaboration'](){const _0x5d3f79=_0x1bb47d;return this['_collaborationPaused']=!0x0,_0x2a6157[_0x5d3f79(0x2cf)](()=>{const _0x55c903=_0x5d3f79;this['_collaborationPaused']=!0x1,this[_0x55c903(0x4da)]();});}['_updateState'](_0x462ec6){const _0x12aac8=_0x1bb47d;this[_0x12aac8(0x230)]=_0x462ec6,this[_0x12aac8(0x673)][_0x12aac8(0x369)](_0x462ec6);}async[_0x1bb47d(0x311)](){const _0x39949e=_0x1bb47d;var _0x36753b;this[_0x39949e(0x204)](await this[_0x39949e(0x505)]()),this[_0x39949e(0x4a4)]&&((_0x36753b=this[_0x39949e(0x4a4)])==null||_0x36753b[_0x39949e(0x536)](this['unitID']),this[_0x39949e(0x20d)](this['_singleActiveUnitService'][_0x39949e(0x57c)](this['unitID'])[_0x39949e(0x551)](_0x242fdf=>{const _0x3743c1=_0x39949e;this[_0x3743c1(0x434)][_0x3743c1(0x280)](_0x3743c1(0x36f),_0x3743c1(0x602),_0x242fdf),_0x242fdf===_0xfa0e84['OTHER_CLIENTS_EDITING']?(this[_0x3743c1(0x208)][_0x3743c1(0x58f)]({'content':this[_0x3743c1(0x682)]['t'](_0x3743c1(0x242)),'type':_0x407879[_0x3743c1(0x1d6)][_0x3743c1(0x3aa)]}),this[_0x3743c1(0x475)][_0x3743c1(0x4a3)](new _0xeac940[(_0x3743c1(0x53e))](this[_0x3743c1(0x482)])['id'],!0x1),this[_0x3743c1(0x475)]['setShowComponents'](!0x1)):(this[_0x3743c1(0x475)]['updatePermissionPoint'](new _0xeac940[(_0x3743c1(0x53e))](this[_0x3743c1(0x482)])['id'],!0x0),this[_0x3743c1(0x475)][_0x3743c1(0x29d)](!0x0));})));let _0x3c4d79=!0x1;return this[_0x39949e(0x20d)](this[_0x39949e(0x59f)]['sessionStatus$'][_0x39949e(0x551)](_0x5e2279=>{const _0xadbe8a=_0x39949e;_0x5e2279===_0x1710c1[_0xadbe8a(0x36b)]?this['_toggleOnline'](_0x3c4d79):_0x5e2279===_0x1710c1[_0xadbe8a(0x4d2)]&&(_0x3c4d79=!0x0,this[_0xadbe8a(0x26f)]());})),this['disposeWithMe'](this['session'][_0x39949e(0x437)][_0x39949e(0x551)](_0x172951=>{const _0x3b8483=_0x39949e;try{switch(_0x172951[_0x3b8483(0x429)]){case _0x63ab19[_0x3b8483(0x497)][_0x3b8483(0x51a)]:{this[_0x3b8483(0x4f9)](_0x63ab19[_0x3b8483(0x581)](_0x172951[_0x3b8483(0x1d8)]));break;}case _0x63ab19[_0x3b8483(0x497)][_0x3b8483(0x432)]:{this['_onRemoteACK'](_0x172951['data']);break;}case _0x63ab19[_0x3b8483(0x497)][_0x3b8483(0x44c)]:{this[_0x3b8483(0x254)]();break;}case _0x63ab19['CollaborationEvent'][_0x3b8483(0x225)]:{this[_0x3b8483(0x586)](_0x172951[_0x3b8483(0x1d8)]);break;}case _0x63ab19[_0x3b8483(0x497)][_0x3b8483(0x5d0)]:{this[_0x3b8483(0x259)](_0x172951[_0x3b8483(0x1d8)]['changesets'][_0x3b8483(0x616)](_0x17498a=>_0x63ab19[_0x3b8483(0x581)](_0x17498a)));break;}case _0x63ab19[_0x3b8483(0x497)][_0x3b8483(0x270)]:this[_0x3b8483(0x254)]({'isPermissionRej':!0x0});}}catch(_0x3a4d83){throw console[_0x3b8483(0x5c9)](_0x3b8483(0x2ed),_0x3a4d83),_0x3a4d83;}})),this['_state'];}['_unlockTransition'](){const _0x36b639=_0x1bb47d;this[_0x36b639(0x39c)]=!0x1;}[_0x1bb47d(0x507)](){const _0x471afd=_0x1bb47d;if(this[_0x471afd(0x39c)])throw new Error(_0x471afd(0x382));this[_0x471afd(0x39c)]=!0x0;}[_0x1bb47d(0x605)](_0x55819b){const _0x53acff=_0x1bb47d;this[_0x53acff(0x507)](),this['_updateState'](this[_0x53acff(0x230)][_0x53acff(0x52c)](_0x55819b)),this['_unlockTransition']();}[_0x1bb47d(0x4f9)](_0x3387b1){const _0x1914d8=_0x1bb47d;if(!(_0x3387b1[_0x1914d8(0x46e)]<=this[_0x1914d8(0x1f6)][_0x1914d8(0x357)](this[_0x1914d8(0x482)]))){if(this[_0x1914d8(0x285)]){this[_0x1914d8(0x5da)][_0x1914d8(0x67d)](_0x3387b1);return;}this[_0x1914d8(0x5f3)](_0x3387b1);}}[_0x1bb47d(0x4da)](){const _0xfe31ea=_0x1bb47d;this[_0xfe31ea(0x5da)][_0xfe31ea(0x4bb)](_0x46d07d=>this[_0xfe31ea(0x5f3)](_0x46d07d)),this[_0xfe31ea(0x5da)]=[];}[_0x1bb47d(0x5f3)](_0x519b17){const _0x1da71d=_0x1bb47d,_0x52438c=this[_0x1da71d(0x525)][_0x1da71d(0x50f)][_0x1da71d(0x489)](this[_0x1da71d(0x525)][_0x1da71d(0x50f)][_0x1da71d(0x4a1)]()[_0x1da71d(0x2ba)])(_0x519b17['mutations'],null)||_0x519b17[_0x1da71d(0x589)],_0x114caf={..._0x519b17,'mutations':_0x52438c};this['_lockTransition'](),this[_0x1da71d(0x204)](this['_state'][_0x1da71d(0x2dc)](_0x114caf)),this[_0x1da71d(0x332)]();}[_0x1bb47d(0x2a4)](_0x215763){const _0x53e687=_0x1bb47d;this['_lockTransition'](),this[_0x53e687(0x204)](this[_0x53e687(0x230)][_0x53e687(0x562)](_0x215763)),this[_0x53e687(0x332)]();}['_onRemoteRejected'](_0x4d8db2){const _0x4830d7=_0x1bb47d;this[_0x4830d7(0x507)](),this[_0x4830d7(0x204)](this['_state'][_0x4830d7(0x56d)](_0x4d8db2)),this[_0x4830d7(0x332)]();}['_onRemoteRetry'](_0x4bafe2){const _0x417b5a=_0x1bb47d;this['_lockTransition'](),this['_updateState'](this[_0x417b5a(0x230)]['onRemoteRetry'](_0x4bafe2)),this[_0x417b5a(0x332)]();}[_0x1bb47d(0x259)](_0xe874b9){const _0x31556c=_0x1bb47d;if(!(this[_0x31556c(0x230)]instanceof _0x1e6359))throw new TypeError(_0x31556c(0x68e));const _0x2c349f=_0xe874b9[_0x31556c(0x616)](_0x4f20cb=>{const _0x26bd8f=_0x31556c,_0x22734f=this[_0x26bd8f(0x525)]['interceptor'][_0x26bd8f(0x489)](this[_0x26bd8f(0x525)][_0x26bd8f(0x50f)][_0x26bd8f(0x4a1)]()[_0x26bd8f(0x2ba)])(_0x4f20cb[_0x26bd8f(0x589)],null)||_0x4f20cb[_0x26bd8f(0x589)];return{..._0x4f20cb,'mutations':_0x22734f};});this['_lockTransition'](),this[_0x31556c(0x204)](this[_0x31556c(0x230)][_0x31556c(0x448)](_0x2c349f)),this[_0x31556c(0x332)]();}[_0x1bb47d(0x26f)](){const _0x3cb21d=_0x1bb47d;this['_lockTransition'](),this[_0x3cb21d(0x204)](this['_state'][_0x3cb21d(0x587)]()),this[_0x3cb21d(0x332)]();}[_0x1bb47d(0x613)](_0x36d32e=!0x1){const _0x15681d=_0x1bb47d;this['_lockTransition'](),this[_0x15681d(0x204)](this[_0x15681d(0x230)][_0x15681d(0x25a)]()),this[_0x15681d(0x332)]();const _0x3d5426=this[_0x15681d(0x230)];_0x36d32e&&_0x3d5426 instanceof _0x45cb6c&&(this[_0x15681d(0x507)](),this[_0x15681d(0x204)](_0x3d5426[_0x15681d(0x5f0)]()),this[_0x15681d(0x332)]());}async['_createInitialState'](){return new Promise(_0x12516d=>{const _0x133285=_0x27a5;this[_0x133285(0x59f)][_0x133285(0x57f)][_0x133285(0x4b3)](_0x59070a[_0x133285(0x2d8)](0x1))['subscribe'](async _0x5e566b=>{const _0x95a3c3=_0x133285;_0x12516d(await this[_0x95a3c3(0x24f)](_0x5e566b===_0x1710c1[_0x95a3c3(0x36b)]));});});}[_0x1bb47d(0x484)](){const _0x1888b4=_0x1bb47d,_0x387329=this[_0x1888b4(0x482)];return{'onStateChange':(_0x5c11c6,_0x38fc47)=>{const _0x2ab1a4=_0x1888b4;if(_0x5c11c6!==this[_0x2ab1a4(0x230)])throw new Error(_0x2ab1a4(0x697)+_0x5c11c6[_0x2ab1a4(0x2dd)]+'\x0aAfter:\x20'+_0x38fc47['status']+_0x2ab1a4(0x540)+this[_0x2ab1a4(0x230)]['status']);this[_0x2ab1a4(0x204)](_0x38fc47);},'onSendChangeset':_0x44469f=>{const _0x417e23=_0x1888b4;_0x44469f[_0x417e23(0x3c4)]||(_0x44469f[_0x417e23(0x3c4)]=this['_changesetSessionId'],_0x44469f[_0x417e23(0x5fd)]=++this['_changesetReqId']);const _0x3e7ac7={'eventID':_0x63ab19[_0x417e23(0x497)][_0x417e23(0x623)],'data':{'unitID':_0x44469f['unitID'],'unitType':this[_0x417e23(0x483)],'changeset':_0x44469f,'memberID':this[_0x417e23(0x59f)]['getMemberID']()}};this[_0x417e23(0x59f)][_0x417e23(0x350)](_0x3e7ac7,this[_0x417e23(0x482)]);},'onMissingChangesets':({from:_0x8d047b,to:_0xcd6dc2})=>{const _0x2ef992=_0x1888b4;this['_logService'][_0x2ef992(0x280)](_0x2ef992(0x36f),_0x2ef992(0x232)+_0x8d047b+_0x2ef992(0x50e)+_0xcd6dc2);const _0x328252={'eventID':_0x63ab19['CollaborationEvent']['FETCH_MISSING'],'data':{'unitID':_0x387329,'unitType':this[_0x2ef992(0x483)],'from':_0x8d047b,'to':_0xcd6dc2}};this[_0x2ef992(0x59f)][_0x2ef992(0x350)](_0x328252,this[_0x2ef992(0x482)]);}};}async['_createInitialStateImpl'](_0x48a2e6){const _0x1fd20f=_0x1bb47d;var _0x8eab92,_0x1e1d3a;const _0x2d7663=await this[_0x1fd20f(0x486)][_0x1fd20f(0x675)](this['unitID']),_0x5747f9=(_0x8eab92=_0x2d7663==null?void 0x0:_0x2d7663['mutations'])!=null?_0x8eab92:[],_0x3d2642=(_0x1e1d3a=_0x2d7663==null?void 0x0:_0x2d7663[_0x1fd20f(0x5c5)])!=null?_0x1e1d3a:null,_0x164414=!!(_0x3d2642!=null&&_0x3d2642[_0x1fd20f(0x3c4)])&&!!(_0x3d2642!=null&&_0x3d2642['reqId']);this[_0x1fd20f(0x3f5)]=_0x164414?_0x3d2642[_0x1fd20f(0x3c4)]:_0x43fb5e(),this['_changesetReqId']=_0x164414?_0x3d2642[_0x1fd20f(0x5fd)]:0x0;const _0x4ac3dc=this[_0x1fd20f(0x482)];try{this[_0x1fd20f(0x330)](_0x3d2642,_0x5747f9);}catch(_0x179e15){this[_0x1fd20f(0x434)][_0x1fd20f(0x5c9)](_0x179e15);}const _0x45c6ec=this[_0x1fd20f(0x484)]();if(_0x48a2e6){const _0x3a917d=_0x27704c(this[_0x1fd20f(0x4b6)],_0x4ac3dc,this['_type'],_0x3d2642,_0x5747f9,_0x45c6ec);return _0x3a917d instanceof _0x41a97c?_0x3a917d[_0x1fd20f(0x4e9)]():(_0x3a917d instanceof _0x12d703||_0x3a917d instanceof _0x43b52e)&&_0x3a917d['resend'](),_0x3a917d;}return this[_0x1fd20f(0x4b6)]['createInstance'](_0x317297,_0x4ac3dc,this[_0x1fd20f(0x483)],_0x3d2642,_0x5747f9,_0x45c6ec);}[_0x1bb47d(0x330)](_0xb3a03c,_0x13fb9d){const _0x2900a9=_0x1bb47d;var _0x2d04f7,_0x26d8e0;const _0x5dd35e=this[_0x2900a9(0x525)][_0x2900a9(0x50f)]['fetchThroughInterceptors'](this[_0x2900a9(0x525)][_0x2900a9(0x50f)][_0x2900a9(0x4a1)]()[_0x2900a9(0x2ba)]);(_0x2d04f7=_0x5dd35e((_0xb3a03c==null?void 0x0:_0xb3a03c[_0x2900a9(0x589)])||[],null))==null||_0x2d04f7[_0x2900a9(0x4bb)](_0x51fbe6=>this['_commandService'][_0x2900a9(0x699)](_0x51fbe6['id'],_0x51fbe6[_0x2900a9(0x457)])),(_0x26d8e0=_0x5dd35e(_0x13fb9d||[],null))==null||_0x26d8e0['forEach'](_0x582844=>this['_commandService'][_0x2900a9(0x699)](_0x582844['id'],_0x582844['params']));}},_0x439f5[_0x1bb47d(0x567)]=_0x555999([_0x531311(0x3,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157['Injector'])),_0x531311(0x4,_0x2a6157[_0x1bb47d(0x439)](_0x439f5[_0x1bb47d(0x3f2)])),_0x531311(0x5,_0x2a6157[_0x1bb47d(0x439)](_0x63ab19[_0x1bb47d(0x1ec)])),_0x531311(0x6,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157['LocaleService'])),_0x531311(0x7,_0x2a6157[_0x1bb47d(0x439)](_0x63ab19[_0x1bb47d(0x598)])),_0x531311(0x8,_0x2a6157['ILogService']),_0x531311(0x9,_0x2a6157[_0x1bb47d(0x3fa)]),_0x531311(0xa,_0x4c9f9a[_0x1bb47d(0x527)]),_0x531311(0xb,_0x2a6157[_0x1bb47d(0x2c9)]),_0x531311(0xc,_0x2a6157['Optional'](_0x4eeee0))],_0x439f5[_0x1bb47d(0x567)]),_0x439f5[_0x1bb47d(0x547)]=class extends _0x439f5[_0x1bb47d(0x567)]{constructor(_0xa5ce54,_0x5d03b7,_0x1d28fc,_0x44db61,_0x58bfd4,_0x4c1d8a,_0x171e44,_0x1e4842,_0x3c9005,_0x2e33e7,_0x427934,_0x1a354b,_0x1b20db,_0x4ad72e,_0x4ac4da,_0x1ce357,_0x3d3617,_0x1a78ac){const _0x427a6=_0x1bb47d;super(_0xa5ce54,_0x1d28fc,_0x5d03b7,_0x44db61,_0x58bfd4,_0x4c1d8a,_0x171e44,_0x1e4842,_0x4ad72e,_0x4ac4da,_0x1ce357,_0x3d3617,_0x1a78ac),this[_0x427a6(0x482)]=_0xa5ce54,this[_0x427a6(0x451)]=_0x5d03b7,this[_0x427a6(0x3d1)]=_0x3c9005,this[_0x427a6(0x240)]=_0x2e33e7,this[_0x427a6(0x373)]=_0x427934,this[_0x427a6(0x3a1)]=_0x1a354b,this['_docSyncEditingCollabCursorService']=_0x1b20db;}[_0x1bb47d(0x484)](){const _0x168805=_0x1bb47d,_0x262dba=super[_0x168805(0x484)]();return _0x262dba[_0x168805(0x34b)]=_0x2b19b1=>this['_docTransformIMECacheService']['transformIMECache'](_0x2b19b1),_0x262dba[_0x168805(0x2e0)]=_0x2758b3=>this[_0x168805(0x373)][_0x168805(0x670)](_0x2758b3),_0x262dba['onTransformSelections']=_0x445023=>this[_0x168805(0x3a1)][_0x168805(0x58c)](_0x445023),_0x262dba[_0x168805(0x2aa)]=_0x3074ba=>this[_0x168805(0x56a)][_0x168805(0x622)](_0x3074ba),_0x262dba['onTransformRemoteChangesetByIMECache']=_0x2228b2=>this[_0x168805(0x240)]['transformRemoteChangeset'](_0x2228b2),_0x262dba[_0x168805(0x4cd)]=_0x5109e3=>this[_0x168805(0x373)][_0x168805(0x5c2)](_0x5109e3),_0x262dba;}async['_init'](){const _0x4dd69c=_0x1bb47d,_0x2fc40c=await super[_0x4dd69c(0x311)]();return this[_0x4dd69c(0x3d1)][_0x4dd69c(0x3d4)][_0x4dd69c(0x4b3)](_0x59070a['takeUntil'](this[_0x4dd69c(0x3a3)]))['subscribe'](_0x1e4fd9=>{const _0x4115e2=_0x4dd69c;if(_0x1e4fd9==null)return;const {unitId:_0x3cbf71,redoState:_0xf3f0a0,commandId:_0x30d54c}=_0x1e4fd9;if(_0x3cbf71!==this[_0x4115e2(0x482)])return;const _0x42c58b={'id':_0x30d54c,'type':_0x2a6157[_0x4115e2(0x410)][_0x4115e2(0x56c)],'params':{'unitId':_0x3cbf71,'actions':_0xf3f0a0['actions'],'textRanges':null}};this['_onLocalMutation'](_0x42c58b);}),_0x2fc40c;}},_0x439f5[_0x1bb47d(0x547)]=_0x555999([_0x531311(0x3,_0x2a6157['Inject'](_0x2a6157[_0x1bb47d(0x5a7)])),_0x531311(0x4,_0x2a6157[_0x1bb47d(0x439)](_0x439f5[_0x1bb47d(0x3f2)])),_0x531311(0x5,_0x2a6157[_0x1bb47d(0x439)](_0x63ab19[_0x1bb47d(0x1ec)])),_0x531311(0x6,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x308)])),_0x531311(0x7,_0x2a6157[_0x1bb47d(0x439)](_0x63ab19['RevisionService'])),_0x531311(0x8,_0x2a6157[_0x1bb47d(0x439)](_0x4b7f90[_0x1bb47d(0x454)])),_0x531311(0x9,_0x2a6157[_0x1bb47d(0x439)](_0x328692)),_0x531311(0xa,_0x2a6157[_0x1bb47d(0x439)](_0x360c7d)),_0x531311(0xb,_0x2a6157[_0x1bb47d(0x439)](_0x25b89c)),_0x531311(0xc,_0x2a6157[_0x1bb47d(0x439)](_0x46f788)),_0x531311(0xd,_0x2a6157[_0x1bb47d(0x5b9)]),_0x531311(0xe,_0x2a6157[_0x1bb47d(0x3fa)]),_0x531311(0xf,_0x4c9f9a[_0x1bb47d(0x527)]),_0x531311(0x10,_0x2a6157[_0x1bb47d(0x2c9)]),_0x531311(0x11,_0x2a6157[_0x1bb47d(0x1e1)](_0x4eeee0))],_0x439f5[_0x1bb47d(0x547)]),_0x439f5['SheetCollaborationEntity']=class extends _0x439f5['CollaborationEntity']{constructor(_0x15a564,_0x3513c3,_0xe4bdff,_0xeb7643,_0x291764,_0x943c15,_0x4d8b85,_0x36b43b,_0x4862b0,_0x543f9d,_0x5a7a73,_0x264666,_0x533055,_0x22dbf9){const _0x4973a5=_0x1bb47d;super(_0x15a564,_0xe4bdff,_0x3513c3,_0xeb7643,_0x291764,_0x943c15,_0x4d8b85,_0x36b43b,_0x543f9d,_0x5a7a73,_0x264666,_0x533055,_0x22dbf9),this[_0x4973a5(0x482)]=_0x15a564,this[_0x4973a5(0x451)]=_0x3513c3,this[_0x4973a5(0x5ab)]=_0x4862b0;}[_0x1bb47d(0x484)](){const _0x3f59ba=_0x1bb47d,_0x125565=super[_0x3f59ba(0x484)]();return _0x125565[_0x3f59ba(0x273)]=_0x51e1bb=>this['_sheetTransformSelectionsService'][_0x3f59ba(0x58c)](_0x51e1bb),_0x125565;}async[_0x1bb47d(0x311)](){const _0x943b22=_0x1bb47d,_0x435082=await super[_0x943b22(0x311)]();return this[_0x943b22(0x20d)](this[_0x943b22(0x24c)][_0x943b22(0x5bc)]((_0x3260c6,_0xd8e624)=>{const _0x596ec3=_0x943b22;if(_0x3260c6[_0x596ec3(0x451)]!==_0x2a6157[_0x596ec3(0x410)][_0x596ec3(0x56c)]||_0xd8e624!=null&&_0xd8e624[_0x596ec3(0x30c)]||_0xd8e624!=null&&_0xd8e624[_0x596ec3(0x274)])return;const _0x2764ea=_0x3260c6[_0x596ec3(0x457)];if((_0x2764ea==null?void 0x0:_0x2764ea[_0x596ec3(0x60b)])!==this[_0x596ec3(0x482)])return;const _0x20050e=_0x3260c6,_0x50893d=this[_0x596ec3(0x525)][_0x596ec3(0x50f)]['fetchThroughInterceptors'](this[_0x596ec3(0x525)][_0x596ec3(0x50f)][_0x596ec3(0x4a1)]()['COMPRESS_MUTATION_SEND'])([_0x20050e],null)||[_0x20050e];this['_onLocalMutation'](_0x50893d[0x0]);})),_0x435082;}},_0x439f5[_0x1bb47d(0x20a)]=_0x555999([_0x531311(0x3,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x5a7)])),_0x531311(0x4,_0x2a6157[_0x1bb47d(0x439)](_0x439f5['LocalCacheService'])),_0x531311(0x5,_0x2a6157['Inject'](_0x63ab19[_0x1bb47d(0x1ec)])),_0x531311(0x6,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x308)])),_0x531311(0x7,_0x2a6157[_0x1bb47d(0x439)](_0x63ab19[_0x1bb47d(0x598)])),_0x531311(0x8,_0x2a6157[_0x1bb47d(0x439)](_0x5128be)),_0x531311(0x9,_0x2a6157[_0x1bb47d(0x5b9)]),_0x531311(0xa,_0x2a6157[_0x1bb47d(0x3fa)]),_0x531311(0xb,_0x4c9f9a[_0x1bb47d(0x527)]),_0x531311(0xc,_0x2a6157['IPermissionService']),_0x531311(0xd,_0x2a6157[_0x1bb47d(0x1e1)](_0x4eeee0))],_0x439f5[_0x1bb47d(0x20a)]);var _0x442dce=Object[_0x1bb47d(0x368)],_0x3d3529=Object['getOwnPropertyDescriptor'],_0x5061b8=(_0x5a87dd,_0x367828,_0x294140,_0x15f690)=>{const _0x332899=_0x1bb47d;for(var _0xd837be=_0x15f690>0x1?void 0x0:_0x15f690?_0x3d3529(_0x367828,_0x294140):_0x367828,_0x5e7dba=_0x5a87dd[_0x332899(0x458)]-0x1,_0x3a3118;_0x5e7dba>=0x0;_0x5e7dba--)(_0x3a3118=_0x5a87dd[_0x5e7dba])&&(_0xd837be=(_0x15f690?_0x3a3118(_0x367828,_0x294140,_0xd837be):_0x3a3118(_0xd837be))||_0xd837be);return _0x15f690&&_0xd837be&&_0x442dce(_0x367828,_0x294140,_0xd837be),_0xd837be;},_0x32cc80=(_0x3bee1d,_0x34f986)=>(_0x3cb7a1,_0x517947)=>_0x34f986(_0x3cb7a1,_0x517947,_0x3bee1d);_0x439f5[_0x1bb47d(0x314)]=class extends _0x2a6157[_0x1bb47d(0x3ff)]{constructor(_0x7c7901,_0x5b08ca,_0x31e311){const _0xf0a5a4=_0x1bb47d;super(),_0x538cec(this,'_entities',new Map()),_0x538cec(this,_0xf0a5a4(0x628),new _0x59070a[(_0xf0a5a4(0x557))]()),(this[_0xf0a5a4(0x4b6)]=_0x7c7901,this['_collabSessionService']=_0x5b08ca,this[_0xf0a5a4(0x522)]=_0x31e311,this[_0xf0a5a4(0x311)]());}['dispose'](){const _0x1b1d75=_0x1bb47d;super[_0x1b1d75(0x3c0)](),this[_0x1b1d75(0x68f)]['forEach'](_0x2cc4e1=>_0x2cc4e1[_0x1b1d75(0x3c0)]()),this[_0x1b1d75(0x68f)][_0x1b1d75(0x333)]();}[_0x1bb47d(0x29e)](_0x453801){const _0x1e3385=_0x1bb47d;var _0x4f88db;return(_0x4f88db=this[_0x1e3385(0x68f)][_0x1e3385(0x55e)](_0x453801))!=null?_0x4f88db:null;}[_0x1bb47d(0x488)](_0x50ca35){const _0x571cd5=_0x1bb47d,_0x3bbf5d=this[_0x571cd5(0x29e)](_0x50ca35);return _0x3bbf5d?_0x59070a['of'](_0x3bbf5d):this[_0x571cd5(0x628)][_0x571cd5(0x4b3)](_0x12f2af[_0x571cd5(0x3e4)](_0x5f49f3=>_0x5f49f3[_0x571cd5(0x482)]===_0x50ca35));}[_0x1bb47d(0x311)](){const _0x1b7bd5=_0x1bb47d;this[_0x1b7bd5(0x522)]['getTypeOfUnitAdded$'](_0x2a6157[_0x1b7bd5(0x1ff)][_0x1b7bd5(0x560)])[_0x1b7bd5(0x4b3)](_0x59070a[_0x1b7bd5(0x422)](this['dispose$']),_0x12f2af[_0x1b7bd5(0x327)](0x10))[_0x1b7bd5(0x551)](async _0x1f8b5f=>{const _0x5d93fd=_0x1b7bd5,_0x4cbb3c=_0x1f8b5f[_0x5d93fd(0x679)](),_0x39469a=await this[_0x5d93fd(0x427)](_0x4cbb3c,_0x48d2c2['UNIVER_SHEET']);this['_entities'][_0x5d93fd(0x674)](_0x4cbb3c,_0x39469a);}),this[_0x1b7bd5(0x522)][_0x1b7bd5(0x219)](_0x2a6157['UniverInstanceType']['UNIVER_DOC'])[_0x1b7bd5(0x4b3)](_0x59070a[_0x1b7bd5(0x422)](this[_0x1b7bd5(0x3a3)]),_0x12f2af[_0x1b7bd5(0x327)](0x10))['pipe'](_0x12f2af[_0x1b7bd5(0x3e4)](_0x27d5ff=>!_0x27d5ff[_0x1b7bd5(0x679)]()[_0x1b7bd5(0x32c)]('__')))[_0x1b7bd5(0x551)](async _0x400d91=>{const _0x5d5efe=_0x1b7bd5,_0x2b0cc8=_0x400d91['getUnitId'](),_0x27e65f=await this[_0x5d5efe(0x427)](_0x2b0cc8,_0x48d2c2['UNIVER_DOC']);this[_0x5d5efe(0x68f)]['set'](_0x2b0cc8,_0x27e65f);}),_0x59070a['merge'](this[_0x1b7bd5(0x522)]['getTypeOfUnitDisposed$'](_0x2a6157[_0x1b7bd5(0x1ff)]['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x2a6157['UniverInstanceType'][_0x1b7bd5(0x328)]))[_0x1b7bd5(0x4b3)](_0x59070a[_0x1b7bd5(0x422)](this['dispose$']))[_0x1b7bd5(0x551)](_0x46201e=>{const _0x2078a4=_0x1b7bd5,_0x384d2b=_0x46201e[_0x2078a4(0x679)](),_0x5ccf6c=this['_entities']['get'](_0x384d2b);_0x5ccf6c&&(_0x5ccf6c['dispose'](),this[_0x2078a4(0x68f)][_0x2078a4(0x5c7)](_0x384d2b));});}async[_0x1bb47d(0x427)](_0x2e0970,_0x45ab0a){const _0x162c76=_0x1bb47d,_0x9b5850=await this[_0x162c76(0x64a)][_0x162c76(0x54c)](_0x2e0970),_0x31b8c8=this[_0x162c76(0x4b6)]['createInstance'](this['_getCtorByUniverType'](_0x45ab0a),_0x2e0970,_0x45ab0a,_0x9b5850);return await _0x31b8c8[_0x162c76(0x2a2)](),this['_entityInit$'][_0x162c76(0x369)](_0x31b8c8),_0x31b8c8;}[_0x1bb47d(0x211)](_0x4b65ae){const _0x445a42=_0x1bb47d;switch(_0x4b65ae){case _0x48d2c2['UNIVER_DOC']:return _0x439f5[_0x445a42(0x547)];case _0x48d2c2[_0x445a42(0x560)]:return _0x439f5[_0x445a42(0x20a)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x4b65ae);}}},_0x439f5[_0x1bb47d(0x314)]=_0x5061b8([_0x32cc80(0x0,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x5a7)])),_0x32cc80(0x1,_0x2a6157[_0x1bb47d(0x439)](_0x439f5[_0x1bb47d(0x49e)])),_0x32cc80(0x2,_0x2a6157[_0x1bb47d(0x59c)])],_0x439f5[_0x1bb47d(0x314)]);const _0x59407a=['purple300',_0x1bb47d(0x4e0),'verdancy600',_0x1bb47d(0x229),'blue400','gold400'];class _0x555674 extends _0x2a6157[_0x1bb47d(0x36e)]{constructor(){super(...arguments),_0x538cec(this,'_assignedColors',new Map()),_0x538cec(this,'_colorIndex',0x0);}[_0x1bb47d(0x2a9)](_0xb5cf66){const _0x12e244=_0x1bb47d;if(this['_assignedColors']['has'](_0xb5cf66))return this[_0x12e244(0x24e)][_0x12e244(0x55e)](_0xb5cf66);const _0x2b692c=_0x59407a[this['_colorIndex']];return this[_0x12e244(0x45f)]=(this[_0x12e244(0x45f)]+0x1)%_0x59407a[_0x12e244(0x458)],this[_0x12e244(0x24e)]['set'](_0xb5cf66,_0x2b692c),_0x2b692c;}}var _0x1614e6=Object[_0x1bb47d(0x368)],_0x55ce43=Object[_0x1bb47d(0x276)],_0x1ce142=(_0x224cd1,_0x3d17fd,_0x26f576,_0x9c453e)=>{for(var _0x370e6c=_0x9c453e>0x1?void 0x0:_0x9c453e?_0x55ce43(_0x3d17fd,_0x26f576):_0x3d17fd,_0x3a9401=_0x224cd1['length']-0x1,_0x3e2505;_0x3a9401>=0x0;_0x3a9401--)(_0x3e2505=_0x224cd1[_0x3a9401])&&(_0x370e6c=(_0x9c453e?_0x3e2505(_0x3d17fd,_0x26f576,_0x370e6c):_0x3e2505(_0x370e6c))||_0x370e6c);return _0x9c453e&&_0x370e6c&&_0x1614e6(_0x3d17fd,_0x26f576,_0x370e6c),_0x370e6c;},_0x11b4ec=(_0x1ee9b1,_0x513cc4)=>(_0xd879b5,_0x4c9d66)=>_0x513cc4(_0xd879b5,_0x4c9d66,_0x1ee9b1);const _0x5c7742=0x12c,_0x1cbba0=0x64;let _0x2f338e=class extends _0x2a6157['RxDisposable']{constructor(_0x51bd9c,_0x54e852,_0x532593,_0x377215,_0x59a52c,_0x1eaa4a,_0x591861,_0x5bd567,_0xbb03b1){const _0x107f85=_0x1bb47d;super(),_0x538cec(this,_0x107f85(0x355),!0x1),_0x538cec(this,_0x107f85(0x311),!0x1),_0x538cec(this,_0x107f85(0x5ac),new _0x59070a[(_0x107f85(0x471))](new Map())),_0x538cec(this,_0x107f85(0x202),this[_0x107f85(0x5ac)][_0x107f85(0x55b)]()),_0x538cec(this,_0x107f85(0x655),new _0x59070a[(_0x107f85(0x471))]([])),_0x538cec(this,_0x107f85(0x3f0),this[_0x107f85(0x655)][_0x107f85(0x4b3)](_0x59070a['debounceTime'](_0x5c7742))),_0x538cec(this,_0x107f85(0x402),_0x2a6157[_0x107f85(0x4a9)](_0x4ba743=>{const _0x1b0dde=_0x107f85,_0x135c27={'eventID':_0x63ab19[_0x1b0dde(0x497)][_0x1b0dde(0x542)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x1b0dde(0x65e)](),'selection':_0x4ecbbf(_0x4ba743)}};this['_session'][_0x1b0dde(0x350)](_0x135c27,this['unitID']);},_0x1cbba0)),(this[_0x107f85(0x482)]=_0x51bd9c,this[_0x107f85(0x1cf)]=_0x54e852,this[_0x107f85(0x4b6)]=_0x532593,this['_colorAssignService']=_0x377215,this['_memberService']=_0x59a52c,this[_0x107f85(0x23a)]=_0x1eaa4a,this[_0x107f85(0x301)]=_0x591861,this[_0x107f85(0x522)]=_0x5bd567,this['_commandService']=_0xbb03b1);}get[_0x1bb47d(0x324)](){const _0x3e8c3e=_0x1bb47d;return this[_0x3e8c3e(0x5ac)][_0x3e8c3e(0x207)]();}get[_0x1bb47d(0x200)](){const _0x1c855e=_0x1bb47d;return this[_0x1c855e(0x655)][_0x1c855e(0x207)]();}[_0x1bb47d(0x3c0)](){const _0x136293=_0x1bb47d;super[_0x136293(0x3c0)](),this[_0x136293(0x5ac)][_0x136293(0x369)](new Map()),this[_0x136293(0x5ac)][_0x136293(0x39e)](),this[_0x136293(0x655)][_0x136293(0x369)]([]),this[_0x136293(0x655)][_0x136293(0x39e)]();}['init'](){const _0x318bff=_0x1bb47d;this[_0x318bff(0x311)]||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x318bff(0x4b3)](_0x59070a[_0x318bff(0x422)](this[_0x318bff(0x3a3)]))[_0x318bff(0x551)](_0xc8222c=>{const _0xb5d306=_0x318bff;_0xc8222c===_0x1710c1[_0xb5d306(0x36b)]?this['_toggleOnline']():this[_0xb5d306(0x26f)]();}),this[_0x318bff(0x1cf)][_0x318bff(0x437)][_0x318bff(0x4b3)](_0x59070a[_0x318bff(0x422)](this[_0x318bff(0x3a3)]))[_0x318bff(0x551)](_0x4b57df=>{const _0x195575=_0x318bff,_0x55dbb6=_0x4b57df[_0x195575(0x429)];_0x55dbb6===_0x63ab19['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x195575(0x40e)](_0x4b57df),_0x55dbb6===_0x63ab19[_0x195575(0x497)]['USERS_LEAVE']&&this[_0x195575(0x433)](_0x4b57df);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x459a9d=>{const _0x3cd6f7=_0x318bff,_0x458809=_0x459a9d['params'];_0x458809!=null&&this[_0x3cd6f7(0x355)]&&_0x459a9d['id']===_0x6fdacf[_0x3cd6f7(0x414)]['id']&&_0x458809['unitId']===this[_0x3cd6f7(0x482)]&&_0x458809['isEditing']===!0x1&&_0x458809[_0x3cd6f7(0x654)][_0x3cd6f7(0x458)]>0x0&&this['_updateLocalCursor'](_0x458809[_0x3cd6f7(0x654)]);})),this[_0x318bff(0x23a)][_0x318bff(0x1d4)][_0x318bff(0x4b3)](_0x59070a[_0x318bff(0x422)](this['dispose$']))[_0x318bff(0x551)](_0x57f826=>{const _0x5785c8=_0x318bff;if((_0x57f826==null?void 0x0:_0x57f826[_0x5785c8(0x482)])!==this[_0x5785c8(0x482)])return;const _0x4cb41a={'eventID':_0x63ab19[_0x5785c8(0x497)]['UPDATE_CURSOR'],'data':_0x57f826};this['_onCursorUpdate'](_0x4cb41a);}),this[_0x318bff(0x20d)](this[_0x318bff(0x24c)][_0x318bff(0x5bc)](_0x29c955=>{const _0xde579d=_0x318bff;if(_0x29c955[_0xde579d(0x457)]==null)return;const _0x3d1fdb=_0x29c955[_0xde579d(0x457)];if(_0x29c955['id']!==_0x6fdacf[_0xde579d(0x518)]['id']||_0x3d1fdb['unitId']!==this[_0xde579d(0x482)])return;const _0x9efa58={'id':'doc.mutation.rich-text-editing','params':_0x3d1fdb},_0x5bbbf2=this[_0xde579d(0x324)];for(const [_0xc5ec4f,_0x49615c]of _0x5bbbf2){const _0x31dc22={'id':_0xde579d(0x575),'params':{'unitId':this[_0xde579d(0x482)],'actions':null,'textRanges':_0x49615c[_0xde579d(0x654)]}},_0x1ab4dd=this[_0xde579d(0x301)]['transformMutation'](_0x9efa58,_0x31dc22,!0x1);if(_0x63ab19[_0xde579d(0x67a)](_0x1ab4dd))throw _0x1ab4dd[_0xde579d(0x5c9)];_0x5bbbf2[_0xde579d(0x674)](_0xc5ec4f,{..._0x49615c,'ranges':_0x1ab4dd[_0xde579d(0x4a5)][_0xde579d(0x457)][_0xde579d(0x2f6)]});}queueMicrotask(()=>{const _0x44e564=_0xde579d;this[_0x44e564(0x5ac)][_0x44e564(0x369)](_0x5bbbf2);});})));}['_onCursorUpdate'](_0x1ee442){const _0xf617dc=_0x1bb47d;var _0x3ccad5,_0xf6360;const {memberID:_0x4b2340,selection:_0x1ef691}=_0x1ee442[_0xf617dc(0x1d8)],_0x590c1c=_0x43f154(_0x1ef691),_0x5d7543=(_0xf6360=(_0x3ccad5=this[_0xf617dc(0x453)][_0xf617dc(0x38c)](this[_0xf617dc(0x482)],_0x4b2340))==null?void 0x0:_0x3ccad5['name'])!=null?_0xf6360:_0xf617dc(0x4fc),_0x195e46={'color':this[_0xf617dc(0x5b5)][_0xf617dc(0x2a9)](_0x4b2340),'name':_0x5d7543,'ranges':_0x590c1c},_0x205af8=this[_0xf617dc(0x324)];_0x205af8[_0xf617dc(0x674)](_0x4b2340,_0x195e46),this['_cursorInfo$'][_0xf617dc(0x369)](_0x205af8);}[_0x1bb47d(0x433)](_0x361831){const _0xe76d38=_0x1bb47d,{memberID:_0x2b9e7c}=_0x361831[_0xe76d38(0x1d8)],_0x3794d1=this[_0xe76d38(0x324)];_0x3794d1['delete'](_0x2b9e7c),this[_0xe76d38(0x5ac)][_0xe76d38(0x369)](_0x3794d1);}[_0x1bb47d(0x613)](){const _0x50930d=_0x1bb47d;var _0x2e733b;if(this[_0x50930d(0x355)]=!0x0,((_0x2e733b=this[_0x50930d(0x522)]['getFocusedUnit']())==null?void 0x0:_0x2e733b[_0x50930d(0x679)]())!==this[_0x50930d(0x482)])return;const _0x5e33a3=this['_injector'][_0x50930d(0x55e)](_0x6fdacf[_0x50930d(0x54e)])[_0x50930d(0x632)]();Array[_0x50930d(0x36d)](_0x5e33a3)&&_0x5e33a3[_0x50930d(0x458)]>0x0&&this['_updateLocalCursor'](_0x5e33a3);}['_toggleOffline'](){const _0x65fee2=_0x1bb47d;this[_0x65fee2(0x355)]=!0x1;}};_0x2f338e=_0x1ce142([_0x11b4ec(0x2,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157['Injector'])),_0x11b4ec(0x3,_0x2a6157[_0x1bb47d(0x439)](_0x555674)),_0x11b4ec(0x4,_0x2a6157[_0x1bb47d(0x439)](_0x439f5['MemberService'])),_0x11b4ec(0x5,_0x2a6157[_0x1bb47d(0x439)](_0x46f788)),_0x11b4ec(0x6,_0x63ab19[_0x1bb47d(0x32b)]),_0x11b4ec(0x7,_0x2a6157[_0x1bb47d(0x59c)]),_0x11b4ec(0x8,_0x2a6157[_0x1bb47d(0x3fa)])],_0x2f338e);var _0x5d1e17=Object[_0x1bb47d(0x368)],_0xcb9223=Object['getOwnPropertyDescriptor'],_0x257154=(_0x476852,_0x384ce4,_0x495486,_0x13c86a)=>{const _0x35ed68=_0x1bb47d;for(var _0x434312=_0x13c86a>0x1?void 0x0:_0x13c86a?_0xcb9223(_0x384ce4,_0x495486):_0x384ce4,_0x4b32c=_0x476852[_0x35ed68(0x458)]-0x1,_0x3fcf45;_0x4b32c>=0x0;_0x4b32c--)(_0x3fcf45=_0x476852[_0x4b32c])&&(_0x434312=(_0x13c86a?_0x3fcf45(_0x384ce4,_0x495486,_0x434312):_0x3fcf45(_0x434312))||_0x434312);return _0x13c86a&&_0x434312&&_0x5d1e17(_0x384ce4,_0x495486,_0x434312),_0x434312;},_0x5cffce=(_0x5542fa,_0x4b524c)=>(_0x280069,_0x5294c4)=>_0x4b524c(_0x280069,_0x5294c4,_0x5542fa);const _0x473f78=0x12c,_0x2bfaac=0x64,_0x3c0077=()=>{let _0x35dc3b=[],_0x133002=!0x1;return _0x8da865=>{_0x35dc3b['push'](_0x8da865),_0x133002||(_0x133002=!0x0,setTimeout(()=>{const _0x26cad2=_0x27a5;_0x35dc3b[_0x26cad2(0x4bb)](_0xbc9af1=>_0xbc9af1()),_0x35dc3b=[],_0x133002=!0x1;}));};};let _0x478e6a=class extends _0x2a6157[_0x1bb47d(0x3ff)]{constructor(_0x4dc4b8,_0x1d0052,_0x4b7714,_0x5f054d,_0x373707,_0x37bd90,_0x5697ca,_0x1c6fd5){const _0x144623=_0x1bb47d;super(),_0x538cec(this,_0x144623(0x355),!0x1),_0x538cec(this,_0x144623(0x311),!0x1),_0x538cec(this,_0x144623(0x5ac),new _0x59070a[(_0x144623(0x471))](new Map())),_0x538cec(this,_0x144623(0x202),this[_0x144623(0x5ac)][_0x144623(0x55b)]()),_0x538cec(this,_0x144623(0x655),new _0x59070a[(_0x144623(0x471))]([])),_0x538cec(this,_0x144623(0x3f0),this[_0x144623(0x655)][_0x144623(0x4b3)](_0x59070a[_0x144623(0x51c)](_0x473f78))),_0x538cec(this,'_updateLocalCursor',_0x2a6157[_0x144623(0x4a9)]((_0x2b00c0,_0x22d6ae)=>{const _0x5cb008=_0x144623,_0x1c86af={'eventID':_0x63ab19['CollaborationEvent'][_0x5cb008(0x542)],'data':{'unitID':this['unitID'],'memberID':this[_0x5cb008(0x1cf)][_0x5cb008(0x65e)](),'selection':_0x1819fc[_0x5cb008(0x400)](_0x2b00c0,_0x22d6ae[_0x5cb008(0x294)])}};this[_0x5cb008(0x1cf)]['send'](_0x1c86af,this[_0x5cb008(0x482)]);},_0x2bfaac)),(this[_0x144623(0x482)]=_0x4dc4b8,this['_session']=_0x1d0052,this[_0x144623(0x4b6)]=_0x4b7714,this[_0x144623(0x5b5)]=_0x5f054d,this[_0x144623(0x453)]=_0x373707,this[_0x144623(0x522)]=_0x37bd90,this['_commandService']=_0x5697ca,this[_0x144623(0x60c)]=_0x1c6fd5);}get[_0x1bb47d(0x324)](){const _0x57895d=_0x1bb47d;return this[_0x57895d(0x5ac)][_0x57895d(0x207)]();}get['roomMembers'](){const _0x13fdda=_0x1bb47d;return this[_0x13fdda(0x655)]['getValue']();}[_0x1bb47d(0x3c0)](){const _0x2bffc8=_0x1bb47d;super['dispose'](),this[_0x2bffc8(0x5ac)][_0x2bffc8(0x369)](new Map()),this[_0x2bffc8(0x5ac)][_0x2bffc8(0x39e)](),this[_0x2bffc8(0x655)][_0x2bffc8(0x369)]([]),this[_0x2bffc8(0x655)][_0x2bffc8(0x39e)]();}[_0x1bb47d(0x2a2)](){const _0x39b5ea=_0x1bb47d;this[_0x39b5ea(0x311)]||(this[_0x39b5ea(0x311)]=!0x0,this['_session'][_0x39b5ea(0x57f)][_0x39b5ea(0x4b3)](_0x59070a[_0x39b5ea(0x422)](this['dispose$']))['subscribe'](_0x43aa9a=>{const _0x45763b=_0x39b5ea;_0x43aa9a===_0x1710c1['ONLINE']?this[_0x45763b(0x613)]():this['_toggleOffline']();}),this[_0x39b5ea(0x1cf)][_0x39b5ea(0x437)]['pipe'](_0x59070a[_0x39b5ea(0x422)](this[_0x39b5ea(0x3a3)]))[_0x39b5ea(0x551)](_0x42a5f6=>{const _0x469591=_0x39b5ea,_0x5412ed=_0x42a5f6[_0x469591(0x429)];_0x5412ed===_0x63ab19[_0x469591(0x497)][_0x469591(0x542)]&&this['_onCursorUpdate'](_0x42a5f6),_0x5412ed===_0x63ab19['CollaborationEvent'][_0x469591(0x59d)]&&this[_0x469591(0x433)](_0x42a5f6);}),this[_0x39b5ea(0x444)](),this[_0x39b5ea(0x20d)](this[_0x39b5ea(0x24c)][_0x39b5ea(0x5bc)](_0x43a0b9=>{const _0x49af62=_0x39b5ea;if(this['_online']&&_0x43a0b9['id']===_0xeac940[_0x49af62(0x397)]['id']&&_0x43a0b9[_0x49af62(0x457)]['unitId']===this['unitID']){const _0x3e8c02=_0x43a0b9[_0x49af62(0x457)];this['_updateLocalCursor'](_0x3e8c02[_0x49af62(0x4d8)],_0x3e8c02[_0x49af62(0x65c)][0x0]);}})));}[_0x1bb47d(0x40e)](_0x1a7fd7){const _0x3cb513=_0x1bb47d;var _0x996e6d,_0x1d0c34;const {memberID:_0x469e6f,selection:_0x1ed78a}=_0x1a7fd7['data'],{sheetName:_0x3d4c5e,range:_0x133bf7}=_0x1819fc['deserializeRangeWithSheet'](_0x1ed78a),_0x4d4fd1={'name':(_0x1d0c34=(_0x996e6d=this[_0x3cb513(0x453)]['getMember'](this['unitID'],_0x469e6f))==null?void 0x0:_0x996e6d[_0x3cb513(0x2e3)])!=null?_0x1d0c34:_0x3cb513(0x4fc),'range':this[_0x3cb513(0x4ce)](_0x3d4c5e,_0x133bf7),'sheetID':_0x3d4c5e,'color':this[_0x3cb513(0x5b5)][_0x3cb513(0x2a9)](_0x469e6f),'selection':_0x1ed78a},_0x178dc3=this[_0x3cb513(0x324)];_0x178dc3[_0x3cb513(0x674)](_0x469e6f,_0x4d4fd1),this['_cursorInfo$'][_0x3cb513(0x369)](_0x178dc3);}[_0x1bb47d(0x433)](_0xb8e5fb){const _0x35962f=_0x1bb47d,{memberID:_0x1703d0}=_0xb8e5fb[_0x35962f(0x1d8)],_0x55db0e=this['cursorInfo'];_0x55db0e[_0x35962f(0x5c7)](_0x1703d0),this[_0x35962f(0x5ac)][_0x35962f(0x369)](_0x55db0e);}[_0x1bb47d(0x4ce)](_0x252e41,_0x742e4f){const _0x1d525d=_0x1bb47d;var _0xcbd0a8,_0x555226;const _0x55f86b=(_0x555226=(_0xcbd0a8=this[_0x1d525d(0x522)][_0x1d525d(0x415)](this['unitID']))==null?void 0x0:_0xcbd0a8[_0x1d525d(0x3c6)](_0x252e41))==null?void 0x0:_0x555226['getMergeData']();return(_0x55f86b==null?void 0x0:_0x55f86b[_0x1d525d(0x533)](_0x2df2fb=>_0x2a6157['Rectangle']['contains'](_0x2df2fb,_0x742e4f)))||_0x742e4f;}[_0x1bb47d(0x444)](){const _0x11465d=_0x1bb47d,_0x3c553f=new _0x2a6157[(_0x11465d(0x504))](),_0x5a1c3f=_0x3c0077(),_0x4e804c=()=>{const _0x581b4d=_0x11465d;_0x3c553f[_0x581b4d(0x3c0)]();const _0x568239=(_0x52b841,_0x2f86c9,_0x35355b,_0x692bfd)=>{const _0x360310=_0x581b4d;let _0x1ad2b6=[];switch(_0x52b841['id']){case _0xeac940[_0x360310(0x60d)][_0x360310(0x68b)]:{_0x1ad2b6=_0xeac940[_0x360310(0x34e)](_0x52b841,_0x692bfd);break;}case _0xeac940['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x1ad2b6=_0xeac940[_0x360310(0x610)](_0x52b841,_0x692bfd);break;}case _0xeac940[_0x360310(0x60d)]['InsertColCommandId']:{_0x1ad2b6=_0xeac940[_0x360310(0x2e8)](_0x52b841,_0x692bfd);break;}case _0xeac940[_0x360310(0x60d)][_0x360310(0x3a4)]:{_0x1ad2b6=_0xeac940['handleInsertRangeMoveDown'](_0x52b841,_0x692bfd);break;}case _0xeac940[_0x360310(0x60d)]['InsertRangeMoveRightCommandId']:{_0x1ad2b6=_0xeac940[_0x360310(0x54d)](_0x52b841,_0x692bfd);break;}case _0xeac940[_0x360310(0x60d)]['InsertRowCommandId']:{_0x1ad2b6=_0xeac940[_0x360310(0x40d)](_0x52b841,_0x692bfd);break;}case _0xeac940[_0x360310(0x60d)][_0x360310(0x4aa)]:{_0x1ad2b6=_0xeac940[_0x360310(0x30b)](_0x52b841,_0x692bfd);break;}case _0xeac940[_0x360310(0x60d)][_0x360310(0x2f1)]:{_0x1ad2b6=_0xeac940[_0x360310(0x64e)](_0x52b841,_0x692bfd);break;}case _0xeac940[_0x360310(0x60d)][_0x360310(0x650)]:{_0x1ad2b6=_0xeac940['handleIRemoveRow'](_0x52b841,_0x692bfd);break;}}const _0x5415b0=_0xeac940['runRefRangeMutations'](_0x1ad2b6,_0x692bfd),_0x59750e=this['cursorInfo'][_0x360310(0x55e)](_0x2f86c9);if(_0x59750e&&_0x5415b0){const _0x4d0eec={..._0x59750e,'range':_0x5415b0};this[_0x360310(0x324)]['set'](_0x2f86c9,_0x4d0eec),_0x5a1c3f(()=>{const _0x24ec81=_0x360310,_0x3354d3=this[_0x24ec81(0x60c)][_0x24ec81(0x57d)](_0x5415b0,_0xb70f60=>(_0x3354d3[_0x24ec81(0x3c0)](),_0x568239(_0xb70f60,_0x2f86c9,_0x35355b,_0x5415b0)));_0x3c553f['add'](_0x3354d3);});}return{'redos':[],'undos':[]};};this[_0x581b4d(0x324)][_0x581b4d(0x4bb)]((_0x5ef6ad,_0x1e7107)=>{const _0x40b232=_0x581b4d,{range:_0x2b7913,sheetID:_0x575e0f}=_0x5ef6ad,_0x1337ea=this[_0x40b232(0x60c)][_0x40b232(0x57d)](_0x2b7913,_0x56366f=>(_0x1337ea['dispose'](),_0x568239(_0x56366f,_0x1e7107,_0x575e0f,_0x2b7913)));_0x3c553f[_0x40b232(0x1e2)](_0x1337ea);});};this[_0x11465d(0x20d)](_0x2a6157[_0x11465d(0x2cf)](this[_0x11465d(0x5ac)][_0x11465d(0x551)](()=>{_0x4e804c();})));}[_0x1bb47d(0x613)](){const _0x1221ff=_0x1bb47d;var _0x574d23,_0x3c4e2e;if(this[_0x1221ff(0x355)]=!0x0,((_0x574d23=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x574d23[_0x1221ff(0x679)]())!==this[_0x1221ff(0x482)])return;const _0x3a9568=(_0x3c4e2e=this[_0x1221ff(0x4b6)][_0x1221ff(0x55e)](_0xeac940[_0x1221ff(0x469)])[_0x1221ff(0x21e)]())==null?void 0x0:_0x3c4e2e[0x0],_0x85e2ce=this[_0x1221ff(0x522)][_0x1221ff(0x67f)](_0x2a6157[_0x1221ff(0x1ff)]['UNIVER_SHEET'])[_0x1221ff(0x2df)]();_0x3a9568&&_0x85e2ce&&this[_0x1221ff(0x402)](_0x85e2ce['getSheetId'](),_0x3a9568);}[_0x1bb47d(0x26f)](){const _0x5e4922=_0x1bb47d;this[_0x5e4922(0x355)]=!0x1;}};_0x478e6a=_0x257154([_0x5cffce(0x2,_0x2a6157['Inject'](_0x2a6157[_0x1bb47d(0x5a7)])),_0x5cffce(0x3,_0x2a6157[_0x1bb47d(0x439)](_0x555674)),_0x5cffce(0x4,_0x2a6157['Inject'](_0x439f5[_0x1bb47d(0x431)])),_0x5cffce(0x5,_0x2a6157['IUniverInstanceService']),_0x5cffce(0x6,_0x2a6157[_0x1bb47d(0x3fa)]),_0x5cffce(0x7,_0x2a6157['Inject'](_0xeac940['RefRangeService']))],_0x478e6a);var _0x1196b1=Object[_0x1bb47d(0x368)],_0x3b1cc0=Object[_0x1bb47d(0x276)],_0x590aaf=(_0x37d957,_0x3ff2a7,_0x5401be,_0x2d0dc9)=>{for(var _0x4363cf=_0x2d0dc9>0x1?void 0x0:_0x2d0dc9?_0x3b1cc0(_0x3ff2a7,_0x5401be):_0x3ff2a7,_0x2da316=_0x37d957['length']-0x1,_0x1c9f77;_0x2da316>=0x0;_0x2da316--)(_0x1c9f77=_0x37d957[_0x2da316])&&(_0x4363cf=(_0x2d0dc9?_0x1c9f77(_0x3ff2a7,_0x5401be,_0x4363cf):_0x1c9f77(_0x4363cf))||_0x4363cf);return _0x2d0dc9&&_0x4363cf&&_0x1196b1(_0x3ff2a7,_0x5401be,_0x4363cf),_0x4363cf;},_0x3232cb=(_0x23c5ce,_0x28da6e)=>(_0x55547b,_0x24b926)=>_0x28da6e(_0x55547b,_0x24b926,_0x23c5ce);let _0x38e1cd=class extends _0x2a6157[_0x1bb47d(0x3ff)]{constructor(_0x24ec28,_0x74fc88,_0x5e7565){const _0x52b506=_0x1bb47d;super(),_0x538cec(this,_0x52b506(0x68f),new Map()),_0x538cec(this,_0x52b506(0x628),new _0x59070a[(_0x52b506(0x557))]()),(this[_0x52b506(0x522)]=_0x24ec28,this[_0x52b506(0x4b6)]=_0x74fc88,this['_collabSessionService']=_0x5e7565,this[_0x52b506(0x311)]());}['dispose'](){const _0x5491c3=_0x1bb47d;super[_0x5491c3(0x3c0)](),this['_entityInit$']['complete'](),this[_0x5491c3(0x68f)][_0x5491c3(0x4bb)](_0xacee3a=>_0xacee3a[_0x5491c3(0x3c0)]());}[_0x1bb47d(0x512)](_0x44c881){const _0x1ff291=_0x1bb47d;return this[_0x1ff291(0x68f)][_0x1ff291(0x676)](_0x44c881)?this[_0x1ff291(0x68f)][_0x1ff291(0x55e)](_0x44c881)[_0x1ff291(0x202)]:this[_0x1ff291(0x628)][_0x1ff291(0x4b3)](_0x59070a[_0x1ff291(0x3e4)](_0x14a882=>_0x14a882['unitID']===_0x44c881),_0x59070a[_0x1ff291(0x1f8)](_0x11e35a=>_0x11e35a[_0x1ff291(0x202)]));}[_0x1bb47d(0x311)](){const _0x25bd6f=_0x1bb47d;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2a6157[_0x25bd6f(0x1ff)][_0x25bd6f(0x560)])[_0x25bd6f(0x4b3)](_0x59070a[_0x25bd6f(0x422)](this[_0x25bd6f(0x3a3)]))['subscribe'](async _0x105e33=>{const _0x491a76=_0x25bd6f,_0x156c8b=_0x105e33['getUnitId'](),_0x2cf010=await this[_0x491a76(0x5b3)](_0x156c8b);this[_0x491a76(0x628)]['next'](_0x2cf010),this[_0x491a76(0x68f)][_0x491a76(0x674)](_0x156c8b,_0x2cf010);}),this[_0x25bd6f(0x522)]['getTypeOfUnitAdded$'](_0x2a6157['UniverInstanceType'][_0x25bd6f(0x328)])[_0x25bd6f(0x4b3)](_0x59070a['takeUntil'](this[_0x25bd6f(0x3a3)]))[_0x25bd6f(0x4b3)](_0x59070a[_0x25bd6f(0x3e4)](_0x5ab91d=>!_0x5ab91d['getUnitId']()['startsWith']('__')))['subscribe'](async _0x1274b4=>{const _0x6e3c92=_0x25bd6f,_0x13612b=_0x1274b4[_0x6e3c92(0x679)](),_0x5b0d89=await this['_startDocCollabCursor'](_0x13612b);this['_entityInit$']['next'](_0x5b0d89),this[_0x6e3c92(0x68f)][_0x6e3c92(0x674)](_0x13612b,_0x5b0d89);}),_0x59070a[_0x25bd6f(0x545)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x2a6157[_0x25bd6f(0x1ff)]['UNIVER_DOC']),this['_univerInstanceService'][_0x25bd6f(0x4c3)](_0x2a6157['UniverInstanceType'][_0x25bd6f(0x560)]))[_0x25bd6f(0x4b3)](_0x59070a[_0x25bd6f(0x422)](this['dispose$']))[_0x25bd6f(0x551)](_0x5ed33b=>{const _0x12939a=_0x25bd6f,_0x521258=_0x5ed33b[_0x12939a(0x679)](),_0x1b296d=this[_0x12939a(0x68f)][_0x12939a(0x55e)](_0x521258);_0x1b296d&&(_0x1b296d[_0x12939a(0x3c0)](),this[_0x12939a(0x68f)][_0x12939a(0x5c7)](_0x521258));});}async[_0x1bb47d(0x5b3)](_0x4cd68c){const _0x209ecb=_0x1bb47d,_0x99d160=await this[_0x209ecb(0x64a)]['requireSession'](_0x4cd68c),_0x36bee4=this[_0x209ecb(0x4b6)][_0x209ecb(0x307)](_0x478e6a,_0x4cd68c,_0x99d160);return _0x36bee4[_0x209ecb(0x2a2)](),_0x36bee4;}async[_0x1bb47d(0x645)](_0x1b44ca){const _0x2713ee=_0x1bb47d,_0x30dcfd=await this[_0x2713ee(0x64a)][_0x2713ee(0x54c)](_0x1b44ca),_0x379b68=this[_0x2713ee(0x4b6)][_0x2713ee(0x307)](_0x2f338e,_0x1b44ca,_0x30dcfd);return _0x379b68[_0x2713ee(0x2a2)](),_0x379b68;}};_0x38e1cd=_0x590aaf([_0x3232cb(0x0,_0x2a6157['IUniverInstanceService']),_0x3232cb(0x1,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157['Injector'])),_0x3232cb(0x2,_0x2a6157[_0x1bb47d(0x439)](_0x439f5['CollaborationSessionService']))],_0x38e1cd);const _0x5daefb=0x14,_0x1d86b9=0xc8,_0x14ea60=0x4,_0x2c30f8=0x5;function _0x4a7d43(_0x1678ce,_0x57afc3){const _0x5aae52=_0x1bb47d;let {radius:_0x47f7e9,width:_0x220c76,height:_0x42f0e8}=_0x57afc3;_0x47f7e9=_0x47f7e9!=null?_0x47f7e9:0x0,_0x220c76=_0x220c76!=null?_0x220c76:0x1e,_0x42f0e8=_0x42f0e8!=null?_0x42f0e8:0x1e;let _0x2dbaef=0x0,_0x27a965=0x0,_0x3fa6eb=0x0;_0x2dbaef=_0x27a965=_0x3fa6eb=Math[_0x5aae52(0x609)](_0x47f7e9,_0x220c76/0x2,_0x42f0e8/0x2),_0x1678ce[_0x5aae52(0x681)](),_0x1678ce[_0x5aae52(0x614)](_0x2dbaef,0x0),_0x1678ce[_0x5aae52(0x3b4)](_0x220c76-_0x27a965,0x0),_0x1678ce[_0x5aae52(0x367)](_0x220c76-_0x27a965,_0x27a965,_0x27a965,Math['PI']*0x3/0x2,0x0,!0x1),_0x1678ce[_0x5aae52(0x3b4)](_0x220c76,_0x42f0e8-_0x3fa6eb),_0x1678ce[_0x5aae52(0x367)](_0x220c76-_0x3fa6eb,_0x42f0e8-_0x3fa6eb,_0x3fa6eb,0x0,Math['PI']/0x2,!0x1),_0x1678ce[_0x5aae52(0x3b4)](0x0,_0x42f0e8),_0x1678ce[_0x5aae52(0x3b4)](0x0,_0x2dbaef),_0x1678ce['arc'](_0x2dbaef,_0x2dbaef,_0x2dbaef,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1678ce['closePath'](),_0x57afc3[_0x5aae52(0x288)]&&(_0x1678ce[_0x5aae52(0x393)](),_0x1678ce[_0x5aae52(0x36a)]=_0x57afc3[_0x5aae52(0x288)],_0x57afc3[_0x5aae52(0x22a)]===_0x5aae52(0x37d)?_0x1678ce['fill'](_0x5aae52(0x37d)):_0x1678ce['fill'](),_0x1678ce[_0x5aae52(0x30f)]());}class _0x2db77c extends _0xf19b5a[_0x1bb47d(0x416)]{constructor(_0x552b65,_0xbb981d){const _0x1f94a6=_0x1bb47d;super(_0x552b65,_0xbb981d),_0x538cec(this,_0x1f94a6(0x4bd)),_0x538cec(this,'text'),(this[_0x1f94a6(0x4bd)]=_0xbb981d==null?void 0x0:_0xbb981d['color'],this['text']=_0xbb981d==null?void 0x0:_0xbb981d['text']);}static['drawWith'](_0x1f7dfe,_0x24d10){const _0x57ef07=_0x1bb47d,{text:_0x8102e4,color:_0x303c4c}=_0x24d10;_0x1f7dfe['save'](),_0x1f7dfe[_0x57ef07(0x62d)]=_0x57ef07(0x41d);const _0x32c12e=_0x1f7dfe[_0x57ef07(0x5f2)](_0x8102e4)['width'],_0xb6fc23=Math[_0x57ef07(0x609)](_0x32c12e+0x2*_0x14ea60,_0x1d86b9);_0x4a7d43(_0x1f7dfe,{'height':_0x5daefb,'radius':0x4,'width':_0xb6fc23,'fill':_0x303c4c,'evented':!0x1}),_0x1f7dfe['fillStyle']=_0x57ef07(0x5ff);const _0x5452e5=_0x14ea60,_0x3495d8=_0x5daefb-_0x2c30f8,_0x404a86=_0x1d86b9-0x2*_0x14ea60;if(_0x32c12e>_0x404a86){let _0x13e990='',_0x5b76a6=0x0;for(const _0x36eea4 of _0x8102e4){const _0x5d722f=_0x1f7dfe['measureText'](_0x36eea4)[_0x57ef07(0x41f)];if(_0x5b76a6+_0x5d722f<=_0x404a86-_0x1f7dfe['measureText'](_0x57ef07(0x3fb))[_0x57ef07(0x41f)])_0x13e990+=_0x36eea4,_0x5b76a6+=_0x5d722f;else{_0x13e990+=_0x57ef07(0x3fb);break;}}_0x1f7dfe[_0x57ef07(0x4ca)](_0x13e990,_0x5452e5,_0x3495d8);}else _0x1f7dfe[_0x57ef07(0x4ca)](_0x8102e4,_0x5452e5,_0x3495d8);_0x1f7dfe['restore']();}[_0x1bb47d(0x657)](_0xcc381c){const _0x16476c=_0x1bb47d;_0x2db77c[_0x16476c(0x67c)](_0xcc381c,this);}}const _0x51ba48=_0x1bb47d(0x3a6),_0x2b5d59=_0x1bb47d(0x325),_0x333720=_0x1bb47d(0x3ec),_0x2aea0f=0x6,_0x48432f=1.5,_0x59ee80=0x4,_0x59ca0f=1.5,_0x21fd91='rgba(255,\x20255,\x20255,\x200.01)';class _0x3efe30{constructor(_0x4d480b,_0x33c24e,_0x58582e,_0x1fb727){const _0x29e5f6=_0x1bb47d;_0x538cec(this,_0x29e5f6(0x2c3),[]),_0x538cec(this,_0x29e5f6(0x293),null),_0x538cec(this,_0x29e5f6(0x212),null),_0x538cec(this,_0x29e5f6(0x596),null),_0x538cec(this,_0x29e5f6(0x48c),null),_0x538cec(this,_0x29e5f6(0x1e9),null),(this['_cursor']=_0x4d480b,this['_scene']=_0x33c24e,this[_0x29e5f6(0x40b)]=_0x58582e,this['_document']=_0x1fb727,this[_0x29e5f6(0x502)]());}set[_0x1bb47d(0x491)](_0x5941f9){const _0x392f20=_0x1bb47d;_0x5941f9?(this[_0x392f20(0x596)]&&this['_anchorDot'][_0x392f20(0x5d1)](),this[_0x392f20(0x212)]&&this[_0x392f20(0x212)][_0x392f20(0x58f)]()):(this[_0x392f20(0x596)]&&this[_0x392f20(0x596)][_0x392f20(0x58f)](),this[_0x392f20(0x212)]&&this[_0x392f20(0x212)][_0x392f20(0x5d1)]());}['dispose'](){const _0x51ac75=_0x1bb47d;for(const _0x12181f of this['_shapes'])_0x12181f['dispose']();this[_0x51ac75(0x212)]&&this[_0x51ac75(0x212)][_0x51ac75(0x3c0)](),this[_0x51ac75(0x596)]&&this[_0x51ac75(0x596)]['dispose'](),this[_0x51ac75(0x293)]&&this[_0x51ac75(0x293)]['dispose'](),this[_0x51ac75(0x1e9)]&&this[_0x51ac75(0x1e9)]();}[_0x1bb47d(0x502)](){const _0x1cb234=_0x1bb47d;var _0x47c78d;const {_docSkeleton:_0x40529b,_document:_0x26cb65}=this,{color:_0xaaccf1,name:_0x2098ad,ranges:_0x4c85d3}=this[_0x1cb234(0x3ce)],_0x38ed7c=_0x26cb65[_0x1cb234(0x583)](),{docsLeft:_0x1ad0ff,docsTop:_0x6494c8}=_0x38ed7c,_0x483a90=new _0x4b7f90[(_0x1cb234(0x56e))](_0x38ed7c,_0x40529b);for(const {startOffset:_0x46821e,endOffset:_0x5b0901,rangeType:_0x570b64,segmentId:_0x4791bc,segmentPage:_0x10d682,collapsed:_0x454a01,isActive:_0xe247dc}of _0x4c85d3){const _0x4626c8=_0x40529b[_0x1cb234(0x300)](_0x46821e,!0x0,_0x4791bc,_0x10d682);let _0xed5c22=_0x40529b[_0x1cb234(0x300)](_0x5b0901,!0x0,_0x4791bc,_0x10d682);if(_0xed5c22==null&&(_0xed5c22=_0x40529b[_0x1cb234(0x300)](_0x5b0901-0x1,!0x1,_0x4791bc,_0x10d682)),_0xe247dc){const {contentBoxPointGroup:_0x61b033}=_0x483a90[_0x1cb234(0x625)](_0xed5c22,_0xed5c22);if(_0x61b033[_0x1cb234(0x458)]===0x0)continue;this['_drawAnchor'](_0xaaccf1,_0x61b033,_0x1ad0ff,_0x6494c8,_0x2098ad),this['_eventUnsubscribe']=this[_0x1cb234(0x306)]();}if(!_0x454a01&&_0x4626c8&&_0xed5c22){if(_0x570b64===_0x2a6157['DOC_RANGE_TYPE']['RECT']){const _0x5ec1c6=new _0x4b7f90[(_0x1cb234(0x39b))](_0x38ed7c,_0x40529b),{pointGroup:_0x33e14f}=(_0x47c78d=_0x5ec1c6[_0x1cb234(0x625)](_0x4626c8,_0xed5c22))!=null?_0x47c78d:{};if(_0x33e14f==null||_0x33e14f[_0x1cb234(0x458)]===0x0)continue;this[_0x1cb234(0x464)](_0xaaccf1,_0x33e14f,_0x1ad0ff,_0x6494c8);}else{const {borderBoxPointGroup:_0x4130c2}=_0x483a90[_0x1cb234(0x625)](_0x4626c8,_0xed5c22);if(_0x4130c2[_0x1cb234(0x458)]===0x0)continue;this[_0x1cb234(0x2c8)](_0xaaccf1,_0x4130c2,_0x1ad0ff,_0x6494c8);}}}}[_0x1bb47d(0x5a2)](_0x48af97,_0x94445a,_0x5ebe5c,_0x38ce60,_0xf867ba){const _0x3d34ab=_0x1bb47d,_0x4df170=this[_0x3d34ab(0x4a7)](_0x94445a),{left:_0x36516e,top:_0x1d8cb0,height:_0x7b83e9}=_0x4df170,_0x186801=this[_0x3d34ab(0x66f)](),_0x1d7c51=_0x59ca0f/_0x186801,_0x252ac=new _0xf19b5a[(_0x3d34ab(0x3e1))](_0x51ba48+_0x2a6157[_0x3d34ab(0x3e5)][_0x3d34ab(0x5e4)](_0x2aea0f),{'left':_0x36516e+_0x5ebe5c-_0x1d7c51,'top':_0x1d8cb0+_0x38ce60,'height':_0x7b83e9,'width':_0x48432f,'fill':_0x48af97||_0xf19b5a[_0x3d34ab(0x339)](_0x2a6157[_0x3d34ab(0x286)][_0x3d34ab(0x406)],0x0),'strokeWidth':_0x1d7c51,'stroke':_0x21fd91,'evented':!0x0});this[_0x3d34ab(0x293)]=_0x252ac,this[_0x3d34ab(0x5e8)][_0x3d34ab(0x2f0)](_0x252ac,_0x4b7f90[_0x3d34ab(0x615)]);const _0x469c88=new _0xf19b5a[(_0x3d34ab(0x3e1))](_0x51ba48+_0x2a6157[_0x3d34ab(0x3e5)]['generateRandomId'](_0x2aea0f),{'left':_0x36516e+_0x5ebe5c-_0x1d7c51,'top':_0x1d8cb0+_0x38ce60-_0x59ee80/0x2,'height':_0x59ee80,'width':_0x59ee80,'fill':_0x48af97||_0xf19b5a[_0x3d34ab(0x339)](_0x2a6157[_0x3d34ab(0x286)][_0x3d34ab(0x406)],0x0),'strokeWidth':0x0,'stroke':_0x48af97||_0xf19b5a['getColor'](_0x2a6157[_0x3d34ab(0x286)][_0x3d34ab(0x406)],0x0),'evented':!0x1});this[_0x3d34ab(0x596)]=_0x469c88,this[_0x3d34ab(0x5e8)][_0x3d34ab(0x2f0)](_0x469c88,_0x4b7f90[_0x3d34ab(0x615)]);const _0x4f5de3=new _0x2db77c(_0x51ba48+_0x2a6157['Tools']['generateRandomId'](_0x2aea0f),{'left':_0x36516e+_0x5ebe5c-_0x1d7c51,'top':_0x1d8cb0+_0x38ce60-_0x5daefb,'text':_0xf867ba,'color':_0x48af97});this[_0x3d34ab(0x212)]=_0x4f5de3,this[_0x3d34ab(0x5e8)][_0x3d34ab(0x2f0)](_0x4f5de3,_0x4b7f90[_0x3d34ab(0x615)]),this[_0x3d34ab(0x491)]=!0x1;}[_0x1bb47d(0x306)](){const _0x15cb87=_0x1bb47d,_0x56165a=this[_0x15cb87(0x293)][_0x15cb87(0x4a6)][_0x15cb87(0x534)](()=>{const _0x4c42de=_0x15cb87;this[_0x4c42de(0x491)]=!0x0;}),_0x54cf71=this[_0x15cb87(0x293)][_0x15cb87(0x5cd)][_0x15cb87(0x534)](()=>{const _0x471f50=_0x15cb87;this[_0x471f50(0x48c)]&&clearTimeout(this[_0x471f50(0x48c)]),this[_0x471f50(0x48c)]=setTimeout(()=>{const _0x4d7949=_0x471f50;this[_0x4d7949(0x491)]=!0x1;},0x7d0);});return()=>{const _0x589a39=_0x15cb87;_0x56165a[_0x589a39(0x59b)](),_0x54cf71[_0x589a39(0x59b)]();};}[_0x1bb47d(0x2c8)](_0x3362f0,_0x596769,_0xf21ec4,_0x37ed12){const _0x4f502b=_0x1bb47d,_0x5eced2=new _0x2a6157[(_0x4f502b(0x532))](_0x3362f0)[_0x4f502b(0x4eb)](0.2)[_0x4f502b(0x3f9)](),_0x6b6ab4=new _0xf19b5a[(_0x4f502b(0x5cc))](_0x2b5d59+_0x2a6157[_0x4f502b(0x3e5)][_0x4f502b(0x5e4)](_0x2aea0f),{'pointsGroup':_0x596769,'fill':_0x5eced2||_0xf19b5a['getColor'](_0x2a6157[_0x4f502b(0x286)][_0x4f502b(0x406)],0.2),'left':_0xf21ec4,'top':_0x37ed12,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4f502b(0x2c3)]['push'](_0x6b6ab4),this['_scene'][_0x4f502b(0x2f0)](_0x6b6ab4,_0x4b7f90[_0x4f502b(0x615)]);}['_drawRectRange'](_0x580d55,_0x19167d,_0x57930f,_0x2be3f0){const _0x8ff18d=_0x1bb47d,_0x1b1c86=new _0x2a6157[(_0x8ff18d(0x532))](_0x580d55)[_0x8ff18d(0x4eb)](0.2)[_0x8ff18d(0x3f9)](),_0x25581b=new _0xf19b5a[(_0x8ff18d(0x5cc))](_0x333720+_0x2a6157[_0x8ff18d(0x3e5)][_0x8ff18d(0x5e4)](_0x2aea0f),{'pointsGroup':_0x19167d,'fill':_0x1b1c86||_0xf19b5a['getColor'](_0x2a6157[_0x8ff18d(0x286)]['black'],0.2),'left':_0x57930f,'top':_0x2be3f0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x8ff18d(0x2c3)][_0x8ff18d(0x67d)](_0x25581b),this[_0x8ff18d(0x5e8)][_0x8ff18d(0x2f0)](_0x25581b,_0x4b7f90[_0x8ff18d(0x615)]);}['_getAnchorBounding'](_0x2091b1){const _0x4a38e9=_0x2091b1[0x0],_0xddf7ba=_0x4a38e9[0x0],_0x16e194=_0x4a38e9[0x2],{x:_0x45a09d,y:_0x65bba7}=_0xddf7ba,{x:_0x2d7695,y:_0x4a8f4b}=_0x16e194;return{'left':_0x45a09d,'top':_0x65bba7,'width':_0x2d7695-_0x45a09d,'height':_0x4a8f4b-_0x65bba7};}[_0x1bb47d(0x66f)](){const _0x1aa4ee=_0x1bb47d,{scaleX:_0x150e8b,scaleY:_0x4d0643}=this[_0x1aa4ee(0x5e8)][_0x1aa4ee(0x528)]();return Math[_0x1aa4ee(0x56f)](_0x150e8b,_0x4d0643);}}var _0x4c41b5=Object[_0x1bb47d(0x368)],_0x1bbc4c=Object[_0x1bb47d(0x276)],_0x3283cf=(_0x1465fd,_0x4f1c98,_0x5e8ba0,_0x5b82df)=>{for(var _0x1af696=_0x5b82df>0x1?void 0x0:_0x5b82df?_0x1bbc4c(_0x4f1c98,_0x5e8ba0):_0x4f1c98,_0x187b37=_0x1465fd['length']-0x1,_0x56dae3;_0x187b37>=0x0;_0x187b37--)(_0x56dae3=_0x1465fd[_0x187b37])&&(_0x1af696=(_0x5b82df?_0x56dae3(_0x4f1c98,_0x5e8ba0,_0x1af696):_0x56dae3(_0x1af696))||_0x1af696);return _0x5b82df&&_0x1af696&&_0x4c41b5(_0x4f1c98,_0x5e8ba0,_0x1af696),_0x1af696;},_0x13b320=(_0x1f0210,_0xf7bf4e)=>(_0x1ef485,_0x1f39cf)=>_0xf7bf4e(_0x1ef485,_0x1f39cf,_0x1f0210);let _0x4815f9=class extends _0x2a6157[_0x1bb47d(0x3ff)]{constructor(_0x3a2fc4,_0x4c6d41,_0x119e2a,_0xc46ba9,_0x386691){const _0x5c160d=_0x1bb47d;super(),_0x538cec(this,_0x5c160d(0x66c),[]),_0x538cec(this,_0x5c160d(0x364),[]),(this[_0x5c160d(0x678)]=_0x3a2fc4,this[_0x5c160d(0x65d)]=_0x4c6d41,this[_0x5c160d(0x319)]=_0x119e2a,this[_0x5c160d(0x24c)]=_0xc46ba9,this[_0x5c160d(0x363)]=_0x386691,this['_init']());}[_0x1bb47d(0x311)](){const _0x5ed422=_0x1bb47d,_0xd746ee=this[_0x5ed422(0x678)][_0x5ed422(0x60b)],_0x16e4b7=this['_docSkeletonManagerService'];this[_0x5ed422(0x20d)](_0x59070a[_0x5ed422(0x4ed)]([this['_collabCursorController']['getCollabCursors$'](_0xd746ee),this[_0x5ed422(0x363)][_0x5ed422(0x3ea)]])['pipe'](_0x12f2af['map'](([_0xf045,_0x341d62])=>({'skeleton':_0x16e4b7[_0x5ed422(0x2ec)](),'cursors':[..._0xf045[_0x5ed422(0x304)]()]['flatMap'](_0x23b706=>({..._0x23b706,'color':_0x341d62[_0x23b706['color']]}))})))[_0x5ed422(0x551)](_0x129121=>{const _0x5dfad0=_0x5ed422;if(this[_0x5dfad0(0x4b1)](),_0x129121){const {skeleton:_0x167658,cursors:_0x351279}=_0x129121;this['_updateCollabCursors'](_0x167658,_0x351279);}})),this[_0x5ed422(0x612)](),this[_0x5ed422(0x4b0)]();}[_0x1bb47d(0x235)](_0x13414f,_0x469ca6){const _0x51ce7c=_0x1bb47d,{scene:_0x3c3373,mainComponent:_0x16eca4}=this[_0x51ce7c(0x678)],_0xe719ed=_0x469ca6[_0x51ce7c(0x616)](_0x7b60f5=>new _0x3efe30(_0x7b60f5,_0x3c3373,_0x13414f,_0x16eca4));this[_0x51ce7c(0x66c)]=_0xe719ed,this[_0x51ce7c(0x364)]=_0x469ca6;}[_0x1bb47d(0x61b)](){const _0x419e28=_0x1bb47d;this[_0x419e28(0x4b1)]();const {scene:_0x300bd6,mainComponent:_0x404bea}=this[_0x419e28(0x678)],_0x384e71=this['_docSkeletonManagerService'][_0x419e28(0x2ec)](),_0x46f42d=this['_cursors'][_0x419e28(0x616)](_0x33e070=>new _0x3efe30(_0x33e070,_0x300bd6,_0x384e71,_0x404bea));this[_0x419e28(0x66c)]=_0x46f42d;}[_0x1bb47d(0x4b1)](){const _0x3a16ea=_0x1bb47d;this[_0x3a16ea(0x66c)][_0x3a16ea(0x4bb)](_0x2a0596=>_0x2a0596[_0x3a16ea(0x3c0)]()),this[_0x3a16ea(0x66c)]=[];}[_0x1bb47d(0x4b0)](){const _0x3b80c3=_0x1bb47d,_0x35ae0e=[_0x4b7f90[_0x3b80c3(0x27a)]['id']];this[_0x3b80c3(0x20d)](this['_commandService']['onCommandExecuted'](_0x1c338e=>{const _0x2c0395=_0x3b80c3;_0x35ae0e[_0x2c0395(0x5e7)](_0x1c338e['id'])&&_0x1c338e[_0x2c0395(0x457)][_0x2c0395(0x60b)]===this['_context'][_0x2c0395(0x60b)]&&this[_0x2c0395(0x61b)]();}));}[_0x1bb47d(0x612)](){const _0x4cd79c=_0x1bb47d;this['disposeWithMe'](_0x2a6157[_0x4cd79c(0x564)](this[_0x4cd79c(0x678)][_0x4cd79c(0x67b)][_0x4cd79c(0x4c6)])[_0x4cd79c(0x4b3)](_0x12f2af['filter'](_0x22a786=>_0x22a786[_0x4cd79c(0x451)]===_0xf19b5a[_0x4cd79c(0x467)][_0x4cd79c(0x2b1)]),_0x12f2af['throttleTime'](0x10))['subscribe'](()=>{const _0x40839f=_0x4cd79c;this[_0x40839f(0x61b)]();}));}};_0x4815f9=_0x3283cf([_0x13b320(0x1,_0x2a6157[_0x1bb47d(0x439)](_0x6fdacf[_0x1bb47d(0x27c)])),_0x13b320(0x2,_0x2a6157[_0x1bb47d(0x439)](_0x38e1cd)),_0x13b320(0x3,_0x2a6157[_0x1bb47d(0x3fa)]),_0x13b320(0x4,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157['ThemeService']))],_0x4815f9);const _0x4dbc46=0x1,_0x5b6be5=1.5;class _0x571ce1 extends _0xf19b5a[_0x1bb47d(0x416)]{constructor(_0x34a7e3,_0x3b1d71){const _0x3df9c2=_0x1bb47d;super(_0x34a7e3,_0x3b1d71),_0x538cec(this,_0x3df9c2(0x5d3)),_0x538cec(this,_0x3df9c2(0x604),!0x1),_0x538cec(this,_0x3df9c2(0x214)),_0x538cec(this,_0x3df9c2(0x45d),''),_0x538cec(this,_0x3df9c2(0x3c5),_0x3df9c2(0x69b)),_0x538cec(this,_0x3df9c2(0x60a)),(_0x3b1d71&&this['setShapeProps'](_0x3b1d71),this['onPointerEnter$'][_0x3df9c2(0x534)](()=>this[_0x3df9c2(0x226)]({'hovered':!0x0})),this[_0x3df9c2(0x5cd)]['subscribeEvent'](()=>this[_0x3df9c2(0x226)]({'hovered':!0x1})));}['setShapeProps'](_0x64c09f){const _0x543016=_0x1bb47d;var _0x2f568c,_0x239d52,_0x32f7e9,_0x47190a,_0x200603,_0x3d9398;this[_0x543016(0x5d3)]=(_0x2f568c=_0x64c09f[_0x543016(0x4bd)])!=null?_0x2f568c:this['_color'],this[_0x543016(0x604)]=(_0x239d52=_0x64c09f[_0x543016(0x377)])!=null?_0x239d52:this[_0x543016(0x604)],this[_0x543016(0x214)]=(_0x32f7e9=_0x64c09f[_0x543016(0x294)])!=null?_0x32f7e9:this[_0x543016(0x214)],this[_0x543016(0x45d)]=(_0x47190a=_0x64c09f[_0x543016(0x2e3)])!=null?_0x47190a:this[_0x543016(0x45d)],this['_labelPosition']=(_0x200603=_0x64c09f[_0x543016(0x295)])!=null?_0x200603:this[_0x543016(0x3c5)],this[_0x543016(0x60a)]=(_0x3d9398=_0x64c09f[_0x543016(0x374)])!=null?_0x3d9398:this[_0x543016(0x60a)],this[_0x543016(0x3e8)]({'width':_0x64c09f[_0x543016(0x41f)],'height':_0x64c09f[_0x543016(0x5ca)]});}[_0x1bb47d(0x648)](_0x2ef69a){const _0x1c4118=_0x1bb47d,{row:_0x1abd77,column:_0x42ab77}=_0x2ef69a;if(_0x1abd77>=this[_0x1c4118(0x214)][_0x1c4118(0x2d6)]&&_0x1abd77<=this[_0x1c4118(0x214)][_0x1c4118(0x500)]&&_0x42ab77>=this[_0x1c4118(0x214)][_0x1c4118(0x417)]&&_0x42ab77<=this[_0x1c4118(0x214)][_0x1c4118(0x426)]){this[_0x1c4118(0x226)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x1bb47d(0x52a)](_0x37e781){return!0x1;}[_0x1bb47d(0x657)](_0x178a29){const _0x390751=_0x1bb47d;_0xf19b5a['Rect'][_0x390751(0x67c)](_0x178a29,{'width':this[_0x390751(0x41f)],'height':this[_0x390751(0x5ca)],'strokeWidth':_0x5b6be5,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x390751(0x60a)]}),this['_hovered']&&(_0x178a29[_0x390751(0x393)](),_0x178a29[_0x390751(0x4c7)](0x1,0x0,0x0,0x1,this[_0x390751(0x41f)],this[_0x390751(0x3c5)]===_0x390751(0x646)?0x0:-_0x5daefb),_0x2db77c[_0x390751(0x67c)](_0x178a29,{'text':this[_0x390751(0x45d)],'color':this['_color']}),_0x178a29[_0x390751(0x30f)]());}}var _0x39b282=Object['defineProperty'],_0xd6a059=Object[_0x1bb47d(0x276)],_0x134393=(_0x14d3eb,_0x4170fc,_0x32d3b3,_0x8c41f)=>{const _0xa2522f=_0x1bb47d;for(var _0x587413=_0x8c41f>0x1?void 0x0:_0x8c41f?_0xd6a059(_0x4170fc,_0x32d3b3):_0x4170fc,_0x1cf068=_0x14d3eb[_0xa2522f(0x458)]-0x1,_0x49fdd8;_0x1cf068>=0x0;_0x1cf068--)(_0x49fdd8=_0x14d3eb[_0x1cf068])&&(_0x587413=(_0x8c41f?_0x49fdd8(_0x4170fc,_0x32d3b3,_0x587413):_0x49fdd8(_0x587413))||_0x587413);return _0x8c41f&&_0x587413&&_0x39b282(_0x4170fc,_0x32d3b3,_0x587413),_0x587413;},_0x7043e8=(_0x1a1c98,_0x19d57)=>(_0x4f4604,_0x1e41ba)=>_0x19d57(_0x4f4604,_0x1e41ba,_0x1a1c98);const _0x1b8c11=0x1389;let _0x305653=class extends _0x2a6157[_0x1bb47d(0x3ff)]{constructor(_0x1d7bd0,_0x60406e,_0x162754,_0x39a2fc){const _0x188e67=_0x1bb47d;super(),_0x538cec(this,_0x188e67(0x364),new Set()),_0x538cec(this,_0x188e67(0x5dc),null),(this[_0x188e67(0x678)]=_0x1d7bd0,this[_0x188e67(0x4f6)]=_0x60406e,this['_collabCursorController']=_0x162754,this[_0x188e67(0x363)]=_0x39a2fc,this['_init']());}['_init'](){const _0x2aebf0=_0x1bb47d;this[_0x2aebf0(0x4f6)][_0x2aebf0(0x4dd)]['pipe'](_0x12f2af[_0x2aebf0(0x422)](this[_0x2aebf0(0x3a3)]),_0x12f2af['switchMap'](_0x531041=>{const _0x37df2f=_0x2aebf0;if(_0x531041){const _0x443362=_0x531041['sheetId'];return _0x59070a['combineLatest'](this[_0x37df2f(0x319)][_0x37df2f(0x512)](this['_context'][_0x37df2f(0x60b)]),this[_0x37df2f(0x363)][_0x37df2f(0x3ea)])[_0x37df2f(0x4b3)](_0x12f2af[_0x37df2f(0x616)](([_0x1ac292,_0x1d4bec])=>{const _0xafa8b8=_0x37df2f,_0x563163=new Map();return _0x1ac292[_0xafa8b8(0x4bb)]((_0x15e246,_0x592ce1)=>{const _0x266092=_0xafa8b8;if(_0x15e246[_0x266092(0x250)]===_0x443362){const _0x3897e4={..._0x15e246};_0x3897e4[_0x266092(0x4bd)]=_0x1d4bec[_0x15e246[_0x266092(0x4bd)]],_0x563163[_0x266092(0x674)](_0x592ce1,_0x3897e4);}}),{'skeleton':_0x531041,'cursors':_0x563163};}));}return _0x59070a['of']({'skeleton':null,'cursors':new Map()});}))[_0x2aebf0(0x551)](({skeleton:_0x261b0e,cursors:_0x27ee23})=>{const _0x49120e=_0x2aebf0;this[_0x49120e(0x4b1)](),_0x261b0e&&this[_0x49120e(0x235)](_0x261b0e,_0x27ee23);}),this['_sheetSkeletonManagerService'][_0x2aebf0(0x4dd)]['subscribe'](_0x220bec=>{const _0x5878cd=_0x2aebf0;if(_0x220bec==null)return;const {skeleton:_0x4e31f1}=_0x220bec,{scene:_0x175278}=this['_context'];_0x175278[_0x5878cd(0x69a)][_0x5878cd(0x534)](_0x2a6157[_0x5878cd(0x4a9)](_0x2cc38b=>{const _0x1d8632=_0x5878cd;var _0x366e34,_0x4c2537;const {offsetX:_0x366f49,offsetY:_0x19026f}=_0x2cc38b,{x:_0x50262b,y:_0x352262}=_0x175278[_0x1d8632(0x55c)](_0xf19b5a[_0x1d8632(0x4d6)][_0x1d8632(0x56b)]([_0x366f49,_0x19026f])),{scaleX:_0x340b90,scaleY:_0x199958}=_0x175278[_0x1d8632(0x528)](),_0x4b2bbe=_0x175278[_0x1d8632(0x25d)](_0x4d9cae[_0x1d8632(0x555)][_0x1d8632(0x513)]),_0x2d25d3=_0x175278[_0x1d8632(0x2c0)](_0xf19b5a[_0x1d8632(0x4d6)][_0x1d8632(0x56b)]([_0x50262b,_0x352262]),_0x4b2bbe),_0x52fdd5=_0x4e31f1[_0x1d8632(0x2a3)](_0x366f49,_0x19026f,_0x340b90,_0x199958,_0x2d25d3);((_0x366e34=this[_0x1d8632(0x5dc)])==null?void 0x0:_0x366e34[_0x1d8632(0x4dc)])===_0x52fdd5[_0x1d8632(0x4dc)]&&((_0x4c2537=this[_0x1d8632(0x5dc)])==null?void 0x0:_0x4c2537[_0x1d8632(0x63c)])===_0x52fdd5[_0x1d8632(0x63c)]||this[_0x1d8632(0x364)][_0x1d8632(0x4bb)](_0x4e51e2=>{const _0x358757=_0x1d8632;_0x4e51e2[_0x358757(0x648)](_0x52fdd5);});},0x64));});}[_0x1bb47d(0x235)](_0x6003d5,_0x27adc8){const _0x29c877=_0x1bb47d;var _0x4b9cb9;const _0x53bef3=(_0x4b9cb9=this[_0x29c877(0x4f6)][_0x29c877(0x47b)]())==null?void 0x0:_0x4b9cb9['skeleton'];if(!_0x53bef3)return;const _0x5bbd98=this[_0x29c877(0x5c0)]();if(!_0x5bbd98)return;this[_0x29c877(0x364)][_0x29c877(0x4bb)](_0x347d6d=>{_0x347d6d['makeDirty']();});const {scene:_0x2ccdca}=_0x5bbd98,_0x3ada7=_0x1f8a39(Array[_0x29c877(0x611)](_0x27adc8[_0x29c877(0x304)]()))[_0x29c877(0x616)](_0x4018de=>{const _0x24392e=_0x29c877,{color:_0x4b6aa3,range:_0x4f8ecd,name:_0x30aea7,selection:_0xd84001,sheetID:_0x4029c8}=_0x4018de,{startColumn:_0x1f3165,startRow:_0xc94028,endColumn:_0x3cc406,endRow:_0x54c95f}=_0x4f8ecd,_0x28e854=_0x4d9cae[_0x24392e(0x3c3)](_0xc94028,_0x1f3165,_0x2ccdca,_0x53bef3),_0x5ca877=_0x4d9cae[_0x24392e(0x3c3)](_0x54c95f,_0x3cc406,_0x2ccdca,_0x53bef3),{columnHeaderHeightAndMarginTop:_0x314b5b}=_0x53bef3,{startX:_0x14c9fe,startY:_0xf2e4e9}=_0x28e854,{endX:_0x24f8bf,endY:_0x168f70}=_0x5ca877,_0x3ffbca=_0x24f8bf-_0x14c9fe,_0x3ef3d2=_0x168f70-_0xf2e4e9,_0x53d29c={'labelPosition':_0xf2e4e9-_0x314b5b>=_0x5daefb?_0x24392e(0x69b):_0x24392e(0x646),'sheetID':_0x4029c8,'range':_0x4f8ecd,'color':_0x4b6aa3,'name':_0x30aea7,'selection':_0xd84001,'left':_0x14c9fe,'top':_0xf2e4e9,'width':_0x3ffbca,'height':_0x3ef3d2,'evented':!0x1,'zIndex':_0x1b8c11};return new _0x571ce1(_0x30aea7,_0x53d29c);});_0x2ccdca[_0x29c877(0x663)](_0x3ada7,_0x4dbc46),this[_0x29c877(0x364)]=new Set(_0x3ada7);}[_0x1bb47d(0x4b1)](){const _0x232b74=_0x1bb47d;var _0x988bbb;(_0x988bbb=this[_0x232b74(0x364)])==null||_0x988bbb['forEach'](_0x52e4ea=>_0x52e4ea[_0x232b74(0x3c0)]());}[_0x1bb47d(0x5c0)](){const _0x347bd6=_0x1bb47d;return _0x4d9cae[_0x347bd6(0x584)](this['_context'][_0x347bd6(0x696)],this[_0x347bd6(0x678)]);}};_0x305653=_0x134393([_0x7043e8(0x1,_0x2a6157[_0x1bb47d(0x439)](_0x4d9cae[_0x1bb47d(0x3a0)])),_0x7043e8(0x2,_0x2a6157[_0x1bb47d(0x439)](_0x38e1cd)),_0x7043e8(0x3,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157['ThemeService']))],_0x305653);function _0x1f8a39(_0x2ec512){const _0x571cde=_0x1bb47d,_0x12b6d6=new Map();return _0x2ec512[_0x571cde(0x4bb)](_0x2063e7=>{const _0x375ef4=_0x571cde;if(_0x12b6d6[_0x375ef4(0x676)](_0x2063e7[_0x375ef4(0x356)])){const _0x168639=_0x12b6d6[_0x375ef4(0x55e)](_0x2063e7[_0x375ef4(0x356)]);_0x168639['name']+=',\x20'+_0x2063e7[_0x375ef4(0x2e3)];}else _0x12b6d6[_0x375ef4(0x674)](_0x2063e7[_0x375ef4(0x356)],_0x2063e7);}),Array[_0x571cde(0x611)](_0x12b6d6[_0x571cde(0x304)]());}var _0x11540d=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x336dd0(_0x33545b){const _0x4021fc=_0x1bb47d;return _0x33545b&&_0x33545b[_0x4021fc(0x201)]&&Object[_0x4021fc(0x2ae)][_0x4021fc(0x566)][_0x4021fc(0x4be)](_0x33545b,'default')?_0x33545b[_0x4021fc(0x478)]:_0x33545b;}var _0x3b339a={'exports':{}},_0x84ace7={},_0x3ae8e4=_0x494c84,_0x1c50b2=Symbol[_0x1bb47d(0x44e)](_0x1bb47d(0x57e)),_0x5e6d8c=Symbol[_0x1bb47d(0x44e)](_0x1bb47d(0x33b)),_0x26b9e2=Object[_0x1bb47d(0x2ae)][_0x1bb47d(0x566)],_0x14c512=_0x3ae8e4[_0x1bb47d(0x436)][_0x1bb47d(0x5b1)],_0x5bb927={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x341585(_0x2ceaed,_0x5628b2,_0x14cffe){const _0x23796f=_0x1bb47d;var _0xf6322b,_0x1375ac={},_0x387069=null,_0x17dec7=null;_0x14cffe!==void 0x0&&(_0x387069=''+_0x14cffe),_0x5628b2[_0x23796f(0x644)]!==void 0x0&&(_0x387069=''+_0x5628b2[_0x23796f(0x644)]),_0x5628b2[_0x23796f(0x1fe)]!==void 0x0&&(_0x17dec7=_0x5628b2['ref']);for(_0xf6322b in _0x5628b2)_0x26b9e2[_0x23796f(0x4be)](_0x5628b2,_0xf6322b)&&!_0x5bb927[_0x23796f(0x566)](_0xf6322b)&&(_0x1375ac[_0xf6322b]=_0x5628b2[_0xf6322b]);if(_0x2ceaed&&_0x2ceaed[_0x23796f(0x4ba)]){for(_0xf6322b in(_0x5628b2=_0x2ceaed[_0x23796f(0x4ba)],_0x5628b2))_0x1375ac[_0xf6322b]===void 0x0&&(_0x1375ac[_0xf6322b]=_0x5628b2[_0xf6322b]);}return{'$$typeof':_0x1c50b2,'type':_0x2ceaed,'key':_0x387069,'ref':_0x17dec7,'props':_0x1375ac,'_owner':_0x14c512[_0x23796f(0x2d3)]};}_0x84ace7[_0x1bb47d(0x5fb)]=_0x5e6d8c,_0x84ace7[_0x1bb47d(0x23d)]=_0x341585,_0x84ace7[_0x1bb47d(0x481)]=_0x341585,_0x3b339a[_0x1bb47d(0x1fd)]=_0x84ace7;var _0x3bcd97=_0x3b339a[_0x1bb47d(0x1fd)],_0xb1695c=function(){const _0x30a0a3=_0x1bb47d;return _0xb1695c=Object[_0x30a0a3(0x1f0)]||function(_0x2c922e){const _0xc5fccd=_0x30a0a3;for(var _0x55660a,_0x5f2c11=0x1,_0x177d65=arguments[_0xc5fccd(0x458)];_0x5f2c11<_0x177d65;_0x5f2c11++){_0x55660a=arguments[_0x5f2c11];for(var _0x582f60 in _0x55660a)Object[_0xc5fccd(0x2ae)][_0xc5fccd(0x566)]['call'](_0x55660a,_0x582f60)&&(_0x2c922e[_0x582f60]=_0x55660a[_0x582f60]);}return _0x2c922e;},_0xb1695c['apply'](this,arguments);},_0x3d42c6=function(_0x348148,_0x41436e){const _0xf4cb6b=_0x1bb47d;var _0x3c9857={};for(var _0x53b99e in _0x348148)Object[_0xf4cb6b(0x2ae)]['hasOwnProperty']['call'](_0x348148,_0x53b99e)&&_0x41436e[_0xf4cb6b(0x290)](_0x53b99e)<0x0&&(_0x3c9857[_0x53b99e]=_0x348148[_0x53b99e]);if(_0x348148!=null&&typeof Object['getOwnPropertySymbols']==_0xf4cb6b(0x694)){for(var _0x441331=0x0,_0x53b99e=Object['getOwnPropertySymbols'](_0x348148);_0x441331<_0x53b99e['length'];_0x441331++)_0x41436e[_0xf4cb6b(0x290)](_0x53b99e[_0x441331])<0x0&&Object['prototype'][_0xf4cb6b(0x4ef)][_0xf4cb6b(0x4be)](_0x348148,_0x53b99e[_0x441331])&&(_0x3c9857[_0x53b99e[_0x441331]]=_0x348148[_0x53b99e[_0x441331]]);}return _0x3c9857;},_0x23251f=_0x494c84[_0x1bb47d(0x43d)](function(_0x40b7b0,_0x3e760c){const _0x57241a=_0x1bb47d;var _0x895ca3=_0x40b7b0['icon'],_0x58df61=_0x40b7b0['id'],_0x57b167=_0x40b7b0[_0x57241a(0x43f)],_0x459eca=_0x40b7b0[_0x57241a(0x5d6)],_0x53ec05=_0x3d42c6(_0x40b7b0,[_0x57241a(0x2e7),'id',_0x57241a(0x43f),_0x57241a(0x5d6)]),_0x3e4c79=_0x57241a(0x4b2)[_0x57241a(0x392)](_0x58df61,'\x20')[_0x57241a(0x392)](_0x57b167||'')[_0x57241a(0x1d2)](),_0x41d73c=_0x494c84[_0x57241a(0x289)]('_'[_0x57241a(0x392)](_0x319133()));return _0x259c4c(_0x895ca3,''[_0x57241a(0x392)](_0x58df61),{'defIds':_0x895ca3[_0x57241a(0x64f)],'idSuffix':_0x41d73c[_0x57241a(0x2d3)]},_0xb1695c({'ref':_0x3e760c,'className':_0x3e4c79},_0x53ec05),_0x459eca);});function _0x259c4c(_0x47cb42,_0x51bcd0,_0x9c2274,_0xe7c727,_0x303f00){const _0x89c8cd=_0x1bb47d;return _0x494c84[_0x89c8cd(0x29b)](_0x47cb42[_0x89c8cd(0x53a)],_0xb1695c(_0xb1695c({'key':_0x51bcd0},_0x34c5c1(_0x47cb42,_0x9c2274,_0x303f00)),_0xe7c727),(_0x495b6f(_0x47cb42,_0x9c2274)[_0x89c8cd(0x3f3)]||[])[_0x89c8cd(0x616)](function(_0x4ef5b7,_0x570c9d){const _0x39790d=_0x89c8cd;return _0x259c4c(_0x4ef5b7,''[_0x39790d(0x392)](_0x51bcd0,'-')[_0x39790d(0x392)](_0x47cb42[_0x39790d(0x53a)],'-')[_0x39790d(0x392)](_0x570c9d),_0x9c2274,void 0x0,_0x303f00);}));}function _0x34c5c1(_0x30424f,_0x310996,_0x12d13a){const _0x9f1bad=_0x1bb47d;var _0x1a15aa=_0xb1695c({},_0x30424f['attrs']);_0x12d13a!=null&&_0x12d13a[_0x9f1bad(0x599)]&&_0x1a15aa[_0x9f1bad(0x288)]===_0x9f1bad(0x599)&&(_0x1a15aa[_0x9f1bad(0x288)]=_0x12d13a['colorChannel1']);var _0x157df9=_0x310996[_0x9f1bad(0x64f)];return!_0x157df9||_0x157df9[_0x9f1bad(0x458)]===0x0||(_0x30424f[_0x9f1bad(0x53a)]==='use'&&_0x1a15aa[_0x9f1bad(0x48d)]&&(_0x1a15aa[_0x9f1bad(0x48d)]=_0x1a15aa['xlink:href']+_0x310996['idSuffix']),Object['entries'](_0x1a15aa)[_0x9f1bad(0x4bb)](function(_0x489112){const _0x585c1e=_0x9f1bad;var _0x368664=_0x489112[0x0],_0x130a03=_0x489112[0x1];typeof _0x130a03==_0x585c1e(0x5e2)&&(_0x1a15aa[_0x368664]=_0x130a03[_0x585c1e(0x4f1)](/url\(#(.*)\)/,_0x585c1e(0x2bc)[_0x585c1e(0x392)](_0x310996['idSuffix'],')')));})),_0x1a15aa;}function _0x495b6f(_0x32e2e4,_0x22a757){const _0x179f40=_0x1bb47d;var _0x328291,_0xd41daa=_0x22a757['defIds'];return!_0xd41daa||_0xd41daa['length']===0x0?_0x32e2e4:_0x32e2e4[_0x179f40(0x53a)]===_0x179f40(0x5e9)&&(!((_0x328291=_0x32e2e4[_0x179f40(0x3f3)])===null||_0x328291===void 0x0)&&_0x328291[_0x179f40(0x458)])?_0xb1695c(_0xb1695c({},_0x32e2e4),{'children':_0x32e2e4['children']['map'](function(_0x2d6cf5){const _0x613e50=_0x179f40;return typeof _0x2d6cf5['attrs']['id']==_0x613e50(0x5e2)&&_0xd41daa&&_0xd41daa['indexOf'](_0x2d6cf5[_0x613e50(0x58a)]['id'])>-0x1?_0xb1695c(_0xb1695c({},_0x2d6cf5),{'attrs':_0xb1695c(_0xb1695c({},_0x2d6cf5[_0x613e50(0x58a)]),{'id':_0x2d6cf5[_0x613e50(0x58a)]['id']+_0x22a757['idSuffix']})}):_0x2d6cf5;})}):_0x32e2e4;}function _0x319133(){const _0x46a15b=_0x1bb47d;return Math[_0x46a15b(0x1fc)]()[_0x46a15b(0x630)](0x24)[_0x46a15b(0x473)](0x2,0x8);}_0x23251f['displayName']='UniverIcon';var _0xf1132c={'tag':_0x1bb47d(0x672),'attrs':{'fill':_0x1bb47d(0x476),'viewBox':_0x1bb47d(0x3d3),'width':_0x1bb47d(0x4e3),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1bb47d(0x221)},'children':[{'tag':_0x1bb47d(0x24b),'attrs':{'stroke':'currentColor','d':_0x1bb47d(0x338),'strokeLinecap':_0x1bb47d(0x35b),'strokeLinejoin':_0x1bb47d(0x35b),'strokeWidth':1.2}}]},{'tag':_0x1bb47d(0x5e9),'attrs':{},'children':[{'tag':_0x1bb47d(0x54b),'attrs':{'id':_0x1bb47d(0x26e)},'children':[{'tag':_0x1bb47d(0x24b),'attrs':{'fill':'#fff','d':_0x1bb47d(0x33f)}}]}]}],'defIds':[_0x1bb47d(0x26e)]},_0x43ba84=_0x494c84[_0x1bb47d(0x43d)](function(_0x184196,_0x4f9764){const _0x3c4a3b=_0x1bb47d;return _0x494c84[_0x3c4a3b(0x29b)](_0x23251f,Object[_0x3c4a3b(0x1f0)]({},_0x184196,{'id':_0x3c4a3b(0x42a),'ref':_0x4f9764,'icon':_0xf1132c}));});_0x43ba84[_0x1bb47d(0x580)]=_0x1bb47d(0x3a5);var _0x5e08e5={'tag':_0x1bb47d(0x672),'attrs':{'fill':'none','viewBox':_0x1bb47d(0x5f7),'width':_0x1bb47d(0x4e3),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1bb47d(0x688)},'children':[{'tag':'path','attrs':{'stroke':_0x1bb47d(0x423),'d':_0x1bb47d(0x2e6),'strokeLinecap':_0x1bb47d(0x35b),'strokeLinejoin':_0x1bb47d(0x35b),'strokeWidth':1.2}}]},{'tag':_0x1bb47d(0x5e9),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1bb47d(0x27d)},'children':[{'tag':_0x1bb47d(0x24b),'attrs':{'fill':_0x1bb47d(0x4fe),'d':_0x1bb47d(0x33f),'transform':'translate(.97)'}}]}]}],'defIds':[_0x1bb47d(0x27d)]},_0x1df69c=_0x494c84[_0x1bb47d(0x43d)](function(_0x4e4064,_0x3ffdbf){const _0x28456e=_0x1bb47d;return _0x494c84[_0x28456e(0x29b)](_0x23251f,Object[_0x28456e(0x1f0)]({},_0x4e4064,{'id':_0x28456e(0x652),'ref':_0x3ffdbf,'icon':_0x5e08e5}));});_0x1df69c[_0x1bb47d(0x580)]=_0x1bb47d(0x4ac);function _0x33b600(_0x539ca8){const _0x70da26=_0x1bb47d;var _0x5699f5,_0x20b066,_0x5d1be7='';if(typeof _0x539ca8==_0x70da26(0x5e2)||typeof _0x539ca8==_0x70da26(0x47d))_0x5d1be7+=_0x539ca8;else{if(typeof _0x539ca8==_0x70da26(0x1dd)){if(Array[_0x70da26(0x36d)](_0x539ca8)){var _0x50ca28=_0x539ca8[_0x70da26(0x458)];for(_0x5699f5=0x0;_0x5699f5<_0x50ca28;_0x5699f5++)_0x539ca8[_0x5699f5]&&(_0x20b066=_0x33b600(_0x539ca8[_0x5699f5]))&&(_0x5d1be7&&(_0x5d1be7+='\x20'),_0x5d1be7+=_0x20b066);}else{for(_0x20b066 in _0x539ca8)_0x539ca8[_0x20b066]&&(_0x5d1be7&&(_0x5d1be7+='\x20'),_0x5d1be7+=_0x20b066);}}}return _0x5d1be7;}function _0x2a6384(){const _0x587799=_0x1bb47d;for(var _0x20f0d1,_0x163a20,_0x5938b9=0x0,_0x650559='',_0x469c82=arguments[_0x587799(0x458)];_0x5938b9<_0x469c82;_0x5938b9++)(_0x20f0d1=arguments[_0x5938b9])&&(_0x163a20=_0x33b600(_0x20f0d1))&&(_0x650559&&(_0x650559+='\x20'),_0x650559+=_0x163a20);return _0x650559;}const _0x5cfe61={'onlineStatusIcon':_0x1bb47d(0x5ba),'onlineStatusTitle':_0x1bb47d(0x1cd),'onlineStatus':_0x1bb47d(0x37a),'online':'univer-online','offline':_0x1bb47d(0x593)};function _0x58609d(_0x5d260d){const _0x301f8c=_0x1bb47d;switch(_0x5d260d){case _0x1e7227[_0x301f8c(0x4d2)]:return _0x301f8c(0x455);case _0x1e7227[_0x301f8c(0x287)]:return'collabStatus.conflict';case _0x1e7227[_0x301f8c(0x40f)]:return _0x301f8c(0x2b2);case _0x1e7227[_0x301f8c(0x5ec)]:return'collabStatus.notCollab';case _0x1e7227[_0x301f8c(0x693)]:case _0x1e7227[_0x301f8c(0x60e)]:return _0x301f8c(0x5be);case _0x1e7227[_0x301f8c(0x4c2)]:case _0x1e7227[_0x301f8c(0x237)]:return'collabStatus.synced';}}function _0x409442(_0x5008ba){const _0x7de1b5=_0x1bb47d,{status$:_0x3ce7e2}=_0x5008ba,_0x317140=_0x4c9f9a[_0x7de1b5(0x2db)](_0x3ce7e2,_0x1e7227[_0x7de1b5(0x5ec)]),_0x15fea0=_0x2a6157[_0x7de1b5(0x3db)](_0x2a6157[_0x7de1b5(0x308)]),_0x29e395=_0x2a6157['useDependency'](_0x439f5[_0x7de1b5(0x49e)]),_0xabf8fd=_0x317140!==_0x1e7227[_0x7de1b5(0x4d2)],_0x5ea2ad=_0x15fea0['t'](_0x58609d(_0x317140)),_0x47e279=_0x2a6384(_0x5cfe61[_0x7de1b5(0x302)],{[_0x5cfe61['online']]:_0xabf8fd,[_0x5cfe61[_0x7de1b5(0x241)]]:!_0xabf8fd}),_0x458b79=_0xabf8fd?_0x3bcd97[_0x7de1b5(0x23d)](_0x1df69c,{}):_0x3bcd97[_0x7de1b5(0x23d)](_0x43ba84,{}),_0x1a8bcf=_0x494c84[_0x7de1b5(0x43a)](()=>{const _0x3f85af=_0x7de1b5;_0xabf8fd||_0x29e395[_0x3f85af(0x2c7)]();},[_0xabf8fd,_0x29e395]);function _0x1d3b40(){const _0xfc4e81=_0x7de1b5;return _0x3bcd97[_0xfc4e81(0x481)]('div',{'className':_0x47e279,'onClick':_0x1a8bcf,'children':[_0x3bcd97[_0xfc4e81(0x23d)](_0xfc4e81(0x3b9),{'className':_0x5cfe61[_0xfc4e81(0x2d4)],'children':_0x458b79}),_0x3bcd97[_0xfc4e81(0x23d)](_0xfc4e81(0x3b9),{'className':_0x5cfe61[_0xfc4e81(0x442)],'children':_0x5ea2ad})]});}return _0xabf8fd?_0x1d3b40():_0x3bcd97['jsx'](_0x407879[_0x7de1b5(0x637)],{'title':_0x15fea0['t'](_0x7de1b5(0x5cf)),'children':_0x1d3b40()});}var _0x12ec21=Object[_0x1bb47d(0x368)],_0x36c938=Object[_0x1bb47d(0x276)],_0x19f2c5=(_0x3c6dcc,_0xe317b,_0x3e0814,_0x1f318c)=>{const _0x5d20ee=_0x1bb47d;for(var _0x444b31=_0x1f318c>0x1?void 0x0:_0x1f318c?_0x36c938(_0xe317b,_0x3e0814):_0xe317b,_0x3da4c9=_0x3c6dcc[_0x5d20ee(0x458)]-0x1,_0x546b91;_0x3da4c9>=0x0;_0x3da4c9--)(_0x546b91=_0x3c6dcc[_0x3da4c9])&&(_0x444b31=(_0x1f318c?_0x546b91(_0xe317b,_0x3e0814,_0x444b31):_0x546b91(_0x444b31))||_0x444b31);return _0x1f318c&&_0x444b31&&_0x12ec21(_0xe317b,_0x3e0814,_0x444b31),_0x444b31;},_0x133779=(_0xaed0ac,_0xe824f2)=>(_0x12ca49,_0x60db05)=>_0xe824f2(_0x12ca49,_0x60db05,_0xaed0ac);_0x439f5['DesktopCollaborationStatusDisplayController']=class extends _0x2a6157[_0x1bb47d(0x36e)]{constructor(_0x2326e0,_0xeefdf7,_0x21ee74,_0x899f06){const _0x38d48c=_0x1bb47d;super(),_0x538cec(this,_0x38d48c(0x3f6),new _0x59070a[(_0x38d48c(0x471))](_0x1e7227[_0x38d48c(0x5ec)])),(this['_univerInstanceService']=_0x2326e0,this[_0x38d48c(0x331)]=_0xeefdf7,this[_0x38d48c(0x4b6)]=_0x21ee74,this[_0x38d48c(0x260)]=_0x899f06,this['_initStatusComponent'](),this[_0x38d48c(0x41b)]());}[_0x1bb47d(0x41b)](){const _0x5bda26=_0x1bb47d;this[_0x5bda26(0x20d)](this[_0x5bda26(0x522)]['focused$'][_0x5bda26(0x4b3)](_0x59070a[_0x5bda26(0x1f8)](()=>{const _0x5202c8=_0x5bda26,_0x1094ee=this[_0x5202c8(0x522)][_0x5202c8(0x1ed)]();return _0x1094ee?this[_0x5202c8(0x260)][_0x5202c8(0x488)](_0x1094ee['getUnitId']()):_0x59070a['of'](null);}),_0x59070a['switchMap'](_0x3948d9=>_0x3948d9?_0x3948d9[_0x5bda26(0x66b)]:_0x59070a['of'](_0x1e7227[_0x5bda26(0x5ec)])))['subscribe'](_0x3836c6=>{this['_status$']['next'](_0x3836c6);}));}['_initStatusComponent'](){const _0x3e7b06=_0x1bb47d;this[_0x3e7b06(0x20d)](this['_uiPartsService']['registerComponent'](_0x4c9f9a['BuiltInUIPart'][_0x3e7b06(0x46c)],()=>_0x2a6157[_0x3e7b06(0x1f1)](_0x4767af({'status$':this[_0x3e7b06(0x3f6)][_0x3e7b06(0x55b)]()}),this[_0x3e7b06(0x4b6)])));}},_0x439f5[_0x1bb47d(0x43e)]=_0x19f2c5([_0x133779(0x0,_0x2a6157[_0x1bb47d(0x59c)]),_0x133779(0x1,_0x4c9f9a[_0x1bb47d(0x4af)]),_0x133779(0x2,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x5a7)])),_0x133779(0x3,_0x2a6157[_0x1bb47d(0x439)](_0x439f5[_0x1bb47d(0x314)]))],_0x439f5[_0x1bb47d(0x43e)]);function _0x4767af(_0x157009){const {status$:_0x303222}=_0x157009;return function(){return _0x3bcd97['jsx'](_0x409442,{'status$':_0x303222});};}const _0x179949=_0x2a6157[_0x1bb47d(0x3cc)](_0x1bb47d(0x690));var _0x36ceb4=Object['defineProperty'],_0xa83404=Object['getOwnPropertyDescriptor'],_0x930b95=(_0x2c6ea9,_0x1dcc33,_0x5bf1b6,_0x137d45)=>{for(var _0x171e5a=_0x137d45>0x1?void 0x0:_0x137d45?_0xa83404(_0x1dcc33,_0x5bf1b6):_0x1dcc33,_0x22befd=_0x2c6ea9['length']-0x1,_0x4d56bb;_0x22befd>=0x0;_0x22befd--)(_0x4d56bb=_0x2c6ea9[_0x22befd])&&(_0x171e5a=(_0x137d45?_0x4d56bb(_0x1dcc33,_0x5bf1b6,_0x171e5a):_0x4d56bb(_0x171e5a))||_0x171e5a);return _0x137d45&&_0x171e5a&&_0x36ceb4(_0x1dcc33,_0x5bf1b6,_0x171e5a),_0x171e5a;},_0x268f55=(_0xcc2738,_0x4f800c)=>(_0xad78fd,_0x2dfd21)=>_0x4f800c(_0xad78fd,_0x2dfd21,_0xcc2738);_0x439f5[_0x1bb47d(0x21d)]=class extends _0x2a6157['RxDisposable']{constructor(_0x4e9740,_0x761a3a,_0x205064,_0x44f538,_0xc03ffc,_0x2cbe65){const _0x195406=_0x1bb47d;super(),this[_0x195406(0x3b2)]=_0x4e9740,this[_0x195406(0x434)]=_0x761a3a,this['_commandService']=_0x205064,this['_localCacheService']=_0x44f538,this[_0x195406(0x35e)]=_0xc03ffc,_0x2cbe65?_0x2cbe65==null||_0x2cbe65[_0x195406(0x465)]()['then'](()=>this['_init']()):(this[_0x195406(0x434)][_0x195406(0x280)](_0x195406(0x353),_0x195406(0x2ac)),this['_init']());}async['_init'](){const _0x361ae7=_0x1bb47d,_0x47addd=this[_0x361ae7(0x3b2)][_0x361ae7(0x292)](_0x361ae7(0x696)),_0x2abc78=this['_urlService'][_0x361ae7(0x292)]('type');if(!_0x47addd||!_0x2abc78){this[_0x361ae7(0x434)][_0x361ae7(0x280)]('[DataLoaderController]',_0x361ae7(0x3a2));return;}switch(Number(_0x2abc78)){case _0x48d2c2[_0x361ae7(0x560)]:{const _0x5bc3e4=await this[_0x361ae7(0x550)](_0x47addd);this[_0x361ae7(0x3ed)](_0x5bc3e4);break;}case _0x48d2c2[_0x361ae7(0x328)]:{await this[_0x361ae7(0x2c1)](_0x47addd);break;}default:{this[_0x361ae7(0x434)][_0x361ae7(0x5c9)]('[DataLoaderController]',_0x361ae7(0x419));break;}}}async[_0x1bb47d(0x3ed)](_0x2d33a9){const _0x456c2d=_0x1bb47d;await this[_0x456c2d(0x5b2)](_0x2d33a9),_0x2d33a9[_0x456c2d(0x1e4)][_0x456c2d(0x4b3)](_0x59070a[_0x456c2d(0x422)](this[_0x456c2d(0x3a3)]))[_0x456c2d(0x551)](_0x4f2ad0=>{_0x4f2ad0&&this['_updateURLWithCurrentState'](_0x4f2ad0);}),this['_urlService'][_0x456c2d(0x60f)][_0x456c2d(0x4b3)](_0x59070a[_0x456c2d(0x422)](this[_0x456c2d(0x3a3)]))[_0x456c2d(0x551)](()=>this[_0x456c2d(0x5b2)](_0x2d33a9));}[_0x1bb47d(0x2fd)](_0x45101d,_0x35b566=!0x1){const _0x1a9747=_0x1bb47d,_0x169b27=this[_0x1a9747(0x3b2)]['getParam'](_0x1a9747(0x479));_0x45101d[_0x1a9747(0x4c8)]()!==_0x169b27&&this[_0x1a9747(0x3b2)][_0x1a9747(0x246)]('subunit',_0x45101d[_0x1a9747(0x4c8)](),_0x35b566);}async[_0x1bb47d(0x5b2)](_0x510d19){const _0x2916d2=_0x1bb47d;var _0x141783;const _0x4dc84f=this[_0x2916d2(0x3b2)][_0x2916d2(0x292)]('subunit');if(!_0x4dc84f||!_0x510d19[_0x2916d2(0x3c6)](_0x4dc84f)){const _0x41896=_0x510d19[_0x2916d2(0x521)]()[0x0],_0x201b0f=_0x510d19[_0x2916d2(0x3c6)](_0x41896);if(!_0x201b0f)return;this[_0x2916d2(0x2fd)](_0x201b0f,!0x0),await this[_0x2916d2(0x24c)][_0x2916d2(0x699)](_0xeac940['SetWorksheetActivateCommand']['id'],{'unitId':_0x510d19[_0x2916d2(0x679)](),'subUnitId':_0x41896});return;}((_0x141783=_0x510d19[_0x2916d2(0x2df)]())==null?void 0x0:_0x141783[_0x2916d2(0x4c8)]())!==_0x4dc84f&&await this[_0x2916d2(0x24c)][_0x2916d2(0x699)](_0xeac940[_0x2916d2(0x272)]['id'],{'unitId':_0x510d19['getUnitId'](),'subUnitId':_0x4dc84f});}async[_0x1bb47d(0x550)](_0xc57295){const _0x71e10c=_0x1bb47d;let _0x352303=0x0;const _0x4e3347=await this[_0x71e10c(0x486)][_0x71e10c(0x675)](_0xc57295);return _0x4e3347&&(_0x4e3347[_0x71e10c(0x5c5)]||_0x4e3347['mutations'][_0x71e10c(0x458)]!==0x0)&&(_0x352303=_0x4e3347[_0x71e10c(0x639)]),_0x352303===0x0&&this[_0x71e10c(0x434)][_0x71e10c(0x280)](_0x71e10c(0x353),_0x71e10c(0x3e7)),this[_0x71e10c(0x35e)][_0x71e10c(0x68a)](_0xc57295,_0x352303);}async[_0x1bb47d(0x2c1)](_0x5eb0c3){const _0x501851=_0x1bb47d;let _0x534388=0x0;const _0x4050bb=await this[_0x501851(0x486)][_0x501851(0x675)](_0x5eb0c3);return _0x4050bb&&(_0x4050bb[_0x501851(0x5c5)]||_0x4050bb['mutations'][_0x501851(0x458)]!==0x0)&&(_0x534388=_0x4050bb[_0x501851(0x639)]),_0x534388===0x0&&this[_0x501851(0x434)]['debug']('[DataLoaderController]',_0x501851(0x3e7)),this[_0x501851(0x35e)]['loadDoc'](_0x5eb0c3,_0x534388);}},_0x439f5[_0x1bb47d(0x21d)]=_0x930b95([_0x268f55(0x0,_0x179949),_0x268f55(0x1,_0x2a6157[_0x1bb47d(0x5b9)]),_0x268f55(0x2,_0x2a6157[_0x1bb47d(0x3fa)]),_0x268f55(0x3,_0x2a6157[_0x1bb47d(0x439)](_0x439f5['LocalCacheService'])),_0x268f55(0x4,_0x2a6157['Inject'](_0x63ab19[_0x1bb47d(0x577)])),_0x268f55(0x5,_0x2a6157[_0x1bb47d(0x1e1)](_0x11fe04['IRemoteInstanceService']))],_0x439f5[_0x1bb47d(0x21d)]);var _0x21f98e=Object[_0x1bb47d(0x368)],_0x8d9a64=Object['getOwnPropertyDescriptor'],_0x43bfb8=(_0x521b5e,_0x7d2190,_0x5ac526,_0x3a854f)=>{for(var _0x5c541b=_0x3a854f>0x1?void 0x0:_0x3a854f?_0x8d9a64(_0x7d2190,_0x5ac526):_0x7d2190,_0x24525d=_0x521b5e['length']-0x1,_0x1d157c;_0x24525d>=0x0;_0x24525d--)(_0x1d157c=_0x521b5e[_0x24525d])&&(_0x5c541b=(_0x3a854f?_0x1d157c(_0x7d2190,_0x5ac526,_0x5c541b):_0x1d157c(_0x5c541b))||_0x5c541b);return _0x3a854f&&_0x5c541b&&_0x21f98e(_0x7d2190,_0x5ac526,_0x5c541b),_0x5c541b;},_0x399ece=(_0x516d0e,_0x50840d)=>(_0x36c792,_0x517644)=>_0x50840d(_0x36c792,_0x517644,_0x516d0e);const _0x4b6c3a=_0x1bb47d(0x3ee),_0x315730=_0x1bb47d(0x405);let _0x481a76=class extends _0x2a6157[_0x1bb47d(0x36e)]{constructor(_0x32bcab,_0x1d041c){const _0x22ac2c=_0x1bb47d;super(),this[_0x22ac2c(0x522)]=_0x32bcab,this[_0x22ac2c(0x5a4)]=_0x1d041c,this['_init']();}['_init'](){const _0x2e2c17=_0x1bb47d;this[_0x2e2c17(0x20d)](this[_0x2e2c17(0x522)]['focused$'][_0x2e2c17(0x551)](()=>{const _0x52a304=_0x2e2c17;var _0x30f87b;const _0x2cd919=this['_univerInstanceService'][_0x52a304(0x1ed)]();let _0x37f4d1=(_0x30f87b=this[_0x52a304(0x5a4)][_0x52a304(0x495)](_0x4b6c3a))!=null?_0x30f87b:_0x315730;_0x2cd919 instanceof _0x2a6157[_0x52a304(0x662)]&&(_0x37f4d1=_0x2cd919[_0x52a304(0x2e3)]),document[_0x52a304(0x689)]=_0x37f4d1;}));}};_0x481a76=_0x43bfb8([_0x399ece(0x0,_0x2a6157[_0x1bb47d(0x59c)]),_0x399ece(0x1,_0x2a6157[_0x1bb47d(0x65a)])],_0x481a76);var _0x25075d=Object['defineProperty'],_0x5eaacd=Object[_0x1bb47d(0x276)],_0x449573=(_0x4bb41a,_0x43d672,_0x40fd4e,_0x298c38)=>{const _0x282d7b=_0x1bb47d;for(var _0x5ee663=_0x298c38>0x1?void 0x0:_0x298c38?_0x5eaacd(_0x43d672,_0x40fd4e):_0x43d672,_0x29b1ed=_0x4bb41a[_0x282d7b(0x458)]-0x1,_0x8221bd;_0x29b1ed>=0x0;_0x29b1ed--)(_0x8221bd=_0x4bb41a[_0x29b1ed])&&(_0x5ee663=(_0x298c38?_0x8221bd(_0x43d672,_0x40fd4e,_0x5ee663):_0x8221bd(_0x5ee663))||_0x5ee663);return _0x298c38&&_0x5ee663&&_0x25075d(_0x43d672,_0x40fd4e,_0x5ee663),_0x5ee663;},_0x2a4f2a=(_0x1184b7,_0x1da7af)=>(_0x11c8c4,_0xe16b31)=>_0x1da7af(_0x11c8c4,_0xe16b31,_0x1184b7);let _0x32d92e=class{constructor(_0x468f6b,_0x4af018,_0x57cd56){const _0x1090f8=_0x1bb47d;this[_0x1090f8(0x5a4)]=_0x468f6b,this[_0x1090f8(0x680)]=_0x4af018,this[_0x1090f8(0x424)]=_0x57cd56,this[_0x1090f8(0x2a2)]();}[_0x1bb47d(0x2a2)](){const _0x37e383=_0x1bb47d;this[_0x37e383(0x680)][_0x37e383(0x634)]({'priority':0x1,'interceptor':(_0x5900c7,_0x253a15)=>_0x253a15(_0x5900c7)[_0x37e383(0x4b3)](_0x59070a['concatMap'](async _0x227d0f=>{const _0x5da2b6=_0x37e383,_0x177dee=_0x227d0f;if(_0x177dee[_0x5da2b6(0x2dd)]===0x191&&window[_0x5da2b6(0x3d2)](this[_0x5da2b6(0x424)]['t'](_0x5da2b6(0x24a)))){const _0xf0fa15=window[_0x5da2b6(0x1f4)](window['location'][_0x5da2b6(0x530)]);window[_0x5da2b6(0x2c6)][_0x5da2b6(0x530)]=this[_0x5da2b6(0x2e5)]()+'?url='+_0xf0fa15;}return _0x177dee;}))});}[_0x1bb47d(0x2e5)](){const _0x5afa25=_0x1bb47d;var _0x224588,_0x2a447e;const _0x2e4171=this['_configService'][_0x5afa25(0x495)](_0x298781),_0xa368dc=this[_0x5afa25(0x5a4)][_0x5afa25(0x495)](_0x2dabdd);return(_0x2a447e=(_0x224588=_0xa368dc==null?void 0x0:_0xa368dc[_0x5afa25(0x4f8)])!=null?_0x224588:_0x2e4171)!=null?_0x2a447e:_0x31d168;}};_0x32d92e=_0x449573([_0x2a4f2a(0x0,_0x2a6157['IConfigService']),_0x2a4f2a(0x1,_0x2a6157['Inject'](_0x145c4f[_0x1bb47d(0x255)])),_0x2a4f2a(0x2,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x308)]))],_0x32d92e);var _0x53d7e1=Object[_0x1bb47d(0x368)],_0x24e4ec=Object[_0x1bb47d(0x276)],_0xb4fe57=(_0x10fba9,_0x5e1ab8,_0xeba7d8,_0x145976)=>{const _0x2e05f3=_0x1bb47d;for(var _0x5ade39=_0x145976>0x1?void 0x0:_0x145976?_0x24e4ec(_0x5e1ab8,_0xeba7d8):_0x5e1ab8,_0xb68d9b=_0x10fba9[_0x2e05f3(0x458)]-0x1,_0x1c4896;_0xb68d9b>=0x0;_0xb68d9b--)(_0x1c4896=_0x10fba9[_0xb68d9b])&&(_0x5ade39=(_0x145976?_0x1c4896(_0x5e1ab8,_0xeba7d8,_0x5ade39):_0x1c4896(_0x5ade39))||_0x5ade39);return _0x145976&&_0x5ade39&&_0x53d7e1(_0x5e1ab8,_0xeba7d8,_0x5ade39),_0x5ade39;},_0xda5a18=(_0x195246,_0x25ac19)=>(_0x8a4271,_0x167be4)=>_0x25ac19(_0x8a4271,_0x167be4,_0x195246);const _0x267bd9=_0x1bb47d(0x4b7),_0x2b8576=_0x1bb47d(0x4d9);_0x439f5[_0x1bb47d(0x49a)]=class extends _0x2a6157[_0x1bb47d(0x36e)]{constructor(_0x37d12e,_0x1c11c9){const _0x2b05ef=_0x1bb47d;super(),this[_0x2b05ef(0x4ea)]=_0x37d12e,this[_0x2b05ef(0x5a4)]=_0x1c11c9,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){const _0x27893f=_0x1bb47d,_0x3e838a=this;this[_0x27893f(0x20d)](this[_0x27893f(0x4ea)][_0x27893f(0x634)]({'priority':0x3e7,'interceptor':_0x145c4f['MergeInterceptorFactory']({'isMatch'(_0x617b09){const _0x2201bf=_0x27893f;var _0x546db8;if(_0x617b09[_0x2201bf(0x651)]===_0x2201bf(0x510)&&((_0x546db8=_0x617b09[_0x2201bf(0x345)])!=null&&_0x546db8['body'])){const {objectID:_0x39b32d,objectType:_0x3720dc}=_0x617b09[_0x2201bf(0x345)][_0x2201bf(0x358)]||{};if(!_0x39b32d||_0x3720dc===void 0x0)return!0x1;const _0x5874bd=_0x3e838a['_getAPIPrefixPath']()+'/'+_0x3720dc+_0x2201bf(0x5d4)+_0x39b32d+'/allowed';if(_0x617b09[_0x2201bf(0x5bb)]===_0x5874bd)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x33b67e){const _0x17f4a6=_0x27893f;var _0x3d869f;return(_0x3d869f=_0x33b67e[_0x17f4a6(0x345)])==null?void 0x0:_0x3d869f[_0x17f4a6(0x358)];},'mergeParamsToRequest'(_0x5c6e31,_0x2ee53b){const _0x458cef=_0x27893f,_0x2a44ee=_0x3e838a[_0x458cef(0x42b)]()+_0x458cef(0x58d),_0xe74b83=_0x5c6e31[_0x458cef(0x1dc)]((_0x2a4a4e,_0x2c3683)=>{const _0x13d6da=_0x458cef,{unitID:_0x528756,objectID:_0xe0461b,objectType:_0xbc1141,actions:_0x49f7e7}=_0x2c3683;return _0x2a4a4e[_0x528756]||(_0x2a4a4e[_0x528756]={}),_0x2a4a4e[_0x528756][_0xe0461b]||(_0x2a4a4e[_0x528756][_0xe0461b]={'objectID':_0xe0461b,'objectType':_0xbc1141,'actions':[]}),_0x2a4a4e[_0x528756][_0xe0461b][_0x13d6da(0x5dd)][_0x13d6da(0x67d)](..._0x49f7e7),_0x2a4a4e;},{}),_0x270a9f=[];for(const _0x30d9ff in _0xe74b83)for(const _0x2d35f0 in _0xe74b83[_0x30d9ff]){const {actions:_0x1f4f7a,objectType:_0xf369dd}=_0xe74b83[_0x30d9ff][_0x2d35f0],_0x23307b=[...new Set(_0x1f4f7a)];_0x270a9f[_0x458cef(0x67d)]({'unitID':_0x30d9ff,'objectID':_0x2d35f0,'objectType':_0xf369dd,'actions':_0x23307b});}return new _0x145c4f['HTTPRequest'](_0x458cef(0x510),_0x2a44ee,{'headers':_0x2ee53b[_0x458cef(0x541)],'withCredentials':_0x2ee53b[_0x458cef(0x3c9)],'responseType':_0x2ee53b[_0x458cef(0x2f2)],'body':{'requests':_0x270a9f}});}},{'distributeResult'(_0x4398e6,_0x404aee){const _0x53d32a=_0x27893f,{objectActions:_0x5ed418}=_0x4398e6;return _0x404aee[_0x53d32a(0x616)](_0x32fd1a=>{const _0x4d1584=_0x53d32a,{unitID:_0x4b2ff5,objectID:_0x7a47ad,actions:_0x21adc2}=_0x32fd1a,_0x5693e7=_0x5ed418[_0x4d1584(0x533)](_0x3f77af=>_0x3f77af[_0x4d1584(0x482)]===_0x4b2ff5&&_0x3f77af[_0x4d1584(0x222)]===_0x7a47ad),_0x4d992e=_0x21adc2[_0x4d1584(0x616)](_0x57cf79=>_0x5693e7==null?void 0x0:_0x5693e7[_0x4d1584(0x5dd)][_0x4d1584(0x533)](_0x1b94e5=>_0x1b94e5[_0x4d1584(0x38d)]===_0x57cf79))['filter'](_0x3d76fa=>!!_0x3d76fa);return{'config':_0x32fd1a,'result':{'actions':_0x4d992e,'error':_0x4398e6['error']}};});}})}));}[_0x1bb47d(0x42b)](){const _0x58474f=_0x1bb47d;var _0x459bad,_0x4f1041;const _0x374902=this[_0x58474f(0x5a4)][_0x58474f(0x495)](_0x267bd9),_0x1a1527=this[_0x58474f(0x5a4)][_0x58474f(0x495)](_0x2dabdd);return(_0x4f1041=(_0x459bad=_0x1a1527==null?void 0x0:_0x1a1527['authzUrl'])!=null?_0x459bad:_0x374902)!=null?_0x4f1041:_0x2b8576;}async[_0x1bb47d(0x370)](_0x412cb0){const _0x32b3fd=_0x1bb47d,_0x5beeaa=this[_0x32b3fd(0x42b)]()+'/'+_0x412cb0['objectType']+_0x32b3fd(0x386);return(await this['_HTTPService'][_0x32b3fd(0x344)](_0x5beeaa,{'body':_0x412cb0}))[_0x32b3fd(0x358)][_0x32b3fd(0x222)]||'';}async['list'](_0x48519c){const _0x5b8aa3=_0x1bb47d,_0xac3893=this['_getAPIPrefixPath']()+_0x5b8aa3(0x372);return(await this[_0x5b8aa3(0x4ea)][_0x5b8aa3(0x344)](_0xac3893,{'body':_0x48519c}))[_0x5b8aa3(0x358)][_0x5b8aa3(0x67e)];}async[_0x1bb47d(0x65f)](_0x32e44f){const _0x2fde3c=_0x1bb47d,_0xd4fec6=this['_getAPIPrefixPath']()+'/'+_0x32e44f[_0x2fde3c(0x480)]+'/object/'+_0x32e44f[_0x2fde3c(0x222)];await this[_0x2fde3c(0x4ea)]['put'](_0xd4fec6,{'body':_0x32e44f});}async[_0x1bb47d(0x354)](_0x4c10a6){const _0xbd2f77=_0x1bb47d,_0x3582c9=this[_0xbd2f77(0x42b)]()+'/'+_0x4c10a6[_0xbd2f77(0x480)]+_0xbd2f77(0x5d4)+_0x4c10a6[_0xbd2f77(0x222)]+_0xbd2f77(0x31d);return(await this[_0xbd2f77(0x4ea)]['post'](_0x3582c9,{'body':_0x4c10a6}))[_0xbd2f77(0x358)][_0xbd2f77(0x5dd)];}async[_0x1bb47d(0x641)](_0x5e2649){const _0x814724=_0x1bb47d,_0x16a01c=this[_0x814724(0x42b)]()+_0x814724(0x58d);return(await this[_0x814724(0x4ea)][_0x814724(0x344)](_0x16a01c,{'body':{'requests':_0x5e2649}}))[_0x814724(0x358)][_0x814724(0x3ac)];}async['listRoles'](_0x35c567){const _0x3bcdc9=_0x1bb47d,_0x4034b3=this[_0x3bcdc9(0x42b)]()+'/'+_0x35c567[_0x3bcdc9(0x480)]+_0x3bcdc9(0x318),_0x4a9e18=await this['_HTTPService'][_0x3bcdc9(0x344)](_0x4034b3,{'body':_0x35c567});return{'roles':_0x4a9e18[_0x3bcdc9(0x358)][_0x3bcdc9(0x359)],'actions':_0x4a9e18['body'][_0x3bcdc9(0x5dd)]};}async['deleteCollaborator'](_0x332dfb){const _0x37c257=_0x1bb47d,_0xfd245=this[_0x37c257(0x42b)]()+_0x37c257(0x643);await this[_0x37c257(0x4ea)][_0x37c257(0x5c7)](_0xfd245,{'params':{'collaboratorID':_0x332dfb[_0x37c257(0x68d)],'objectID':_0x332dfb[_0x37c257(0x222)],'unitID':_0x332dfb[_0x37c257(0x482)]}});}async[_0x1bb47d(0x64c)](_0x17ed26){const _0x2807a8=_0x1bb47d,_0x136a0f=this[_0x2807a8(0x42b)]()+'/collaborator';await this[_0x2807a8(0x4ea)][_0x2807a8(0x5c4)](_0x136a0f,{'body':_0x17ed26});}async[_0x1bb47d(0x390)](_0x5b2dca){const _0x1c62e9=_0x1bb47d,_0x3b0b18=this['_getAPIPrefixPath']()+_0x1c62e9(0x643);await this['_HTTPService'][_0x1c62e9(0x344)](_0x3b0b18,{'body':_0x5b2dca});}async[_0x1bb47d(0x600)](_0x14e1b0){const _0x2ab729=_0x1bb47d,_0x326980=this[_0x2ab729(0x42b)]()+_0x2ab729(0x643);return(await this[_0x2ab729(0x4ea)][_0x2ab729(0x55e)](_0x326980,{'params':{'objectID':_0x14e1b0[_0x2ab729(0x222)],'unitID':_0x14e1b0[_0x2ab729(0x482)]}}))[_0x2ab729(0x358)][_0x2ab729(0x4e7)];}async[_0x1bb47d(0x57b)](_0x4df422){const _0x5664c1=_0x1bb47d,_0x46f3d8=this[_0x5664c1(0x42b)]()+_0x5664c1(0x643);await this[_0x5664c1(0x4ea)]['put'](_0x46f3d8,{'body':_0x4df422});}},_0x439f5[_0x1bb47d(0x49a)]=_0xb4fe57([_0xda5a18(0x0,_0x2a6157[_0x1bb47d(0x439)](_0x145c4f['HTTPService'])),_0xda5a18(0x1,_0x2a6157['Inject'](_0x2a6157[_0x1bb47d(0x65a)]))],_0x439f5[_0x1bb47d(0x49a)]);var _0x1f0260={'exports':{}};function _0x1f20f5(_0x46234d){const _0x48b9f0=_0x1bb47d;throw new Error(_0x48b9f0(0x440)+_0x46234d+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x216d98={'exports':{}},_0x45c35f;function _0x541f6d(){const _0x77d479=_0x1bb47d;return _0x45c35f||(_0x45c35f=0x1,function(_0x18d6cf,_0x181077){(function(_0x53f2d7,_0x278eee){const _0x231adf=_0x27a5;_0x18d6cf[_0x231adf(0x1fd)]=_0x278eee();}(_0x11540d,function(){var _0x4cfce5=_0x4cfce5||function(_0x32631e,_0x1cd54e){const _0x52606a=_0x27a5;var _0x1f2a79;if(typeof window<'u'&&window[_0x52606a(0x28d)]&&(_0x1f2a79=window[_0x52606a(0x28d)]),typeof self<'u'&&self[_0x52606a(0x28d)]&&(_0x1f2a79=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1f2a79=globalThis[_0x52606a(0x28d)]),!_0x1f2a79&&typeof window<'u'&&window[_0x52606a(0x32f)]&&(_0x1f2a79=window[_0x52606a(0x32f)]),!_0x1f2a79&&typeof _0x11540d<'u'&&_0x11540d['crypto']&&(_0x1f2a79=_0x11540d[_0x52606a(0x28d)]),!_0x1f2a79&&typeof _0x1f20f5==_0x52606a(0x694))try{_0x1f2a79=require(_0x52606a(0x28d));}catch{}var _0x261c89=function(){const _0x35bc54=_0x52606a;if(_0x1f2a79){if(typeof _0x1f2a79['getRandomValues']==_0x35bc54(0x694))try{return _0x1f2a79[_0x35bc54(0x263)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1f2a79[_0x35bc54(0x642)]==_0x35bc54(0x694))try{return _0x1f2a79[_0x35bc54(0x642)](0x4)[_0x35bc54(0x42d)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x5bf0ec=Object[_0x52606a(0x370)]||(function(){function _0x1c20b1(){}return function(_0x292558){const _0x4fac67=_0x27a5;var _0x10ea0d;return _0x1c20b1['prototype']=_0x292558,_0x10ea0d=new _0x1c20b1(),_0x1c20b1[_0x4fac67(0x2ae)]=null,_0x10ea0d;};}()),_0x56bc70={},_0x1f0ae0=_0x56bc70[_0x52606a(0x3a8)]={},_0x8b64cc=_0x1f0ae0[_0x52606a(0x653)]=(function(){return{'extend':function(_0x435d86){const _0x34b84f=_0x27a5;var _0x3d903e=_0x5bf0ec(this);return _0x435d86&&_0x3d903e[_0x34b84f(0x35a)](_0x435d86),(!_0x3d903e[_0x34b84f(0x566)](_0x34b84f(0x2a2))||this[_0x34b84f(0x2a2)]===_0x3d903e[_0x34b84f(0x2a2)])&&(_0x3d903e[_0x34b84f(0x2a2)]=function(){const _0x5e10ef=_0x34b84f;_0x3d903e['$super'][_0x5e10ef(0x2a2)]['apply'](this,arguments);}),_0x3d903e['init'][_0x34b84f(0x2ae)]=_0x3d903e,_0x3d903e[_0x34b84f(0x649)]=this,_0x3d903e;},'create':function(){const _0xb237ed=_0x27a5;var _0x511243=this['extend']();return _0x511243['init'][_0xb237ed(0x40a)](_0x511243,arguments),_0x511243;},'init':function(){},'mixIn':function(_0x427a1d){const _0x55e00b=_0x27a5;for(var _0x141b0f in _0x427a1d)_0x427a1d[_0x55e00b(0x566)](_0x141b0f)&&(this[_0x141b0f]=_0x427a1d[_0x141b0f]);_0x427a1d[_0x55e00b(0x566)](_0x55e00b(0x630))&&(this[_0x55e00b(0x630)]=_0x427a1d[_0x55e00b(0x630)]);},'clone':function(){const _0x2618e7=_0x27a5;return this[_0x2618e7(0x2a2)][_0x2618e7(0x2ae)][_0x2618e7(0x5d6)](this);}};}()),_0x54e4b4=_0x1f0ae0['WordArray']=_0x8b64cc[_0x52606a(0x5d6)]({'init':function(_0x1288df,_0x42d1f2){const _0x4cce25=_0x52606a;_0x1288df=this['words']=_0x1288df||[],_0x42d1f2!=_0x1cd54e?this['sigBytes']=_0x42d1f2:this['sigBytes']=_0x1288df[_0x4cce25(0x458)]*0x4;},'toString':function(_0x18bd13){const _0x59a8e0=_0x52606a;return(_0x18bd13||_0x1d5b71)[_0x59a8e0(0x5f5)](this);},'concat':function(_0x59b2c7){const _0x3985c9=_0x52606a;var _0xb7636d=this[_0x3985c9(0x217)],_0x1f779d=_0x59b2c7[_0x3985c9(0x217)],_0x3e4465=this[_0x3985c9(0x5ae)],_0x365c91=_0x59b2c7['sigBytes'];if(this[_0x3985c9(0x337)](),_0x3e4465%0x4)for(var _0x2bbd19=0x0;_0x2bbd19<_0x365c91;_0x2bbd19++){var _0xf61ead=_0x1f779d[_0x2bbd19>>>0x2]>>>0x18-_0x2bbd19%0x4*0x8&0xff;_0xb7636d[_0x3e4465+_0x2bbd19>>>0x2]|=_0xf61ead<<0x18-(_0x3e4465+_0x2bbd19)%0x4*0x8;}else{for(var _0x3f7a5b=0x0;_0x3f7a5b<_0x365c91;_0x3f7a5b+=0x4)_0xb7636d[_0x3e4465+_0x3f7a5b>>>0x2]=_0x1f779d[_0x3f7a5b>>>0x2];}return this['sigBytes']+=_0x365c91,this;},'clamp':function(){const _0x5038e8=_0x52606a;var _0x55d414=this['words'],_0x527891=this[_0x5038e8(0x5ae)];_0x55d414[_0x527891>>>0x2]&=0xffffffff<<0x20-_0x527891%0x4*0x8,_0x55d414['length']=_0x32631e[_0x5038e8(0x213)](_0x527891/0x4);},'clone':function(){const _0x496556=_0x52606a;var _0xb62ff0=_0x8b64cc['clone'][_0x496556(0x4be)](this);return _0xb62ff0[_0x496556(0x217)]=this[_0x496556(0x217)]['slice'](0x0),_0xb62ff0;},'random':function(_0x213bcf){const _0x1e76c5=_0x52606a;for(var _0xa397aa=[],_0x57fed8=0x0;_0x57fed8<_0x213bcf;_0x57fed8+=0x4)_0xa397aa['push'](_0x261c89());return new _0x54e4b4[(_0x1e76c5(0x2a2))](_0xa397aa,_0x213bcf);}}),_0x57b991=_0x56bc70[_0x52606a(0x554)]={},_0x1d5b71=_0x57b991[_0x52606a(0x33e)]={'stringify':function(_0x51d8b8){const _0x3ab642=_0x52606a;for(var _0x24a61a=_0x51d8b8[_0x3ab642(0x217)],_0x3d6ef9=_0x51d8b8['sigBytes'],_0x3cb6b0=[],_0x5206e0=0x0;_0x5206e0<_0x3d6ef9;_0x5206e0++){var _0x1c4826=_0x24a61a[_0x5206e0>>>0x2]>>>0x18-_0x5206e0%0x4*0x8&0xff;_0x3cb6b0[_0x3ab642(0x67d)]((_0x1c4826>>>0x4)[_0x3ab642(0x630)](0x10)),_0x3cb6b0['push']((_0x1c4826&0xf)[_0x3ab642(0x630)](0x10));}return _0x3cb6b0[_0x3ab642(0x40c)]('');},'parse':function(_0x4a562d){const _0x54d7e6=_0x52606a;for(var _0x4e3895=_0x4a562d[_0x54d7e6(0x458)],_0x46cec3=[],_0x21723d=0x0;_0x21723d<_0x4e3895;_0x21723d+=0x2)_0x46cec3[_0x21723d>>>0x3]|=parseInt(_0x4a562d['substr'](_0x21723d,0x2),0x10)<<0x18-_0x21723d%0x8*0x4;return new _0x54e4b4[(_0x54d7e6(0x2a2))](_0x46cec3,_0x4e3895/0x2);}},_0x2c058d=_0x57b991[_0x52606a(0x3de)]={'stringify':function(_0x462912){const _0x390c06=_0x52606a;for(var _0x5d7814=_0x462912[_0x390c06(0x217)],_0xc05977=_0x462912[_0x390c06(0x5ae)],_0x2d3fda=[],_0x4773db=0x0;_0x4773db<_0xc05977;_0x4773db++){var _0x28d4b4=_0x5d7814[_0x4773db>>>0x2]>>>0x18-_0x4773db%0x4*0x8&0xff;_0x2d3fda[_0x390c06(0x67d)](String['fromCharCode'](_0x28d4b4));}return _0x2d3fda[_0x390c06(0x40c)]('');},'parse':function(_0x12a1c1){const _0x4faea4=_0x52606a;for(var _0x2eea25=_0x12a1c1['length'],_0x4a6fc5=[],_0x3689ec=0x0;_0x3689ec<_0x2eea25;_0x3689ec++)_0x4a6fc5[_0x3689ec>>>0x2]|=(_0x12a1c1[_0x4faea4(0x53b)](_0x3689ec)&0xff)<<0x18-_0x3689ec%0x4*0x8;return new _0x54e4b4[(_0x4faea4(0x2a2))](_0x4a6fc5,_0x2eea25);}},_0x15f99c=_0x57b991[_0x52606a(0x46f)]={'stringify':function(_0x4a5b34){const _0x55a7a6=_0x52606a;try{return decodeURIComponent(escape(_0x2c058d[_0x55a7a6(0x5f5)](_0x4a5b34)));}catch{throw new Error(_0x55a7a6(0x43c));}},'parse':function(_0x16ed61){return _0x2c058d['parse'](unescape(encodeURIComponent(_0x16ed61)));}},_0x4d9646=_0x1f0ae0[_0x52606a(0x621)]=_0x8b64cc[_0x52606a(0x5d6)]({'reset':function(){const _0x4036ec=_0x52606a;this[_0x4036ec(0x5e6)]=new _0x54e4b4[(_0x4036ec(0x2a2))](),this['_nDataBytes']=0x0;},'_append':function(_0x1d561c){const _0x24afe8=_0x52606a;typeof _0x1d561c==_0x24afe8(0x5e2)&&(_0x1d561c=_0x15f99c[_0x24afe8(0x376)](_0x1d561c)),this[_0x24afe8(0x5e6)][_0x24afe8(0x392)](_0x1d561c),this[_0x24afe8(0x59a)]+=_0x1d561c[_0x24afe8(0x5ae)];},'_process':function(_0x430f42){const _0xeb605e=_0x52606a;var _0x495c5c,_0x15594e=this[_0xeb605e(0x5e6)],_0x4febc0=_0x15594e[_0xeb605e(0x217)],_0x4216c3=_0x15594e['sigBytes'],_0x5d37f4=this[_0xeb605e(0x21f)],_0x2668c6=_0x5d37f4*0x4,_0x46d57e=_0x4216c3/_0x2668c6;_0x430f42?_0x46d57e=_0x32631e[_0xeb605e(0x213)](_0x46d57e):_0x46d57e=_0x32631e[_0xeb605e(0x56f)]((_0x46d57e|0x0)-this['_minBufferSize'],0x0);var _0x862f96=_0x46d57e*_0x5d37f4,_0xde98cb=_0x32631e[_0xeb605e(0x609)](_0x862f96*0x4,_0x4216c3);if(_0x862f96){for(var _0x3ac565=0x0;_0x3ac565<_0x862f96;_0x3ac565+=_0x5d37f4)this[_0xeb605e(0x391)](_0x4febc0,_0x3ac565);_0x495c5c=_0x4febc0[_0xeb605e(0x3d5)](0x0,_0x862f96),_0x15594e[_0xeb605e(0x5ae)]-=_0xde98cb;}return new _0x54e4b4['init'](_0x495c5c,_0xde98cb);},'clone':function(){const _0x2f144a=_0x52606a;var _0x355d17=_0x8b64cc[_0x2f144a(0x1ef)]['call'](this);return _0x355d17['_data']=this[_0x2f144a(0x5e6)]['clone'](),_0x355d17;},'_minBufferSize':0x0});_0x1f0ae0['Hasher']=_0x4d9646[_0x52606a(0x5d6)]({'cfg':_0x8b64cc['extend'](),'init':function(_0x2fe4ef){const _0x421024=_0x52606a;this[_0x421024(0x37b)]=this[_0x421024(0x37b)][_0x421024(0x5d6)](_0x2fe4ef),this[_0x421024(0x3dc)]();},'reset':function(){const _0x14970a=_0x52606a;_0x4d9646[_0x14970a(0x3dc)]['call'](this),this[_0x14970a(0x25c)]();},'update':function(_0x2759d8){const _0x64e127=_0x52606a;return this[_0x64e127(0x698)](_0x2759d8),this[_0x64e127(0x4cc)](),this;},'finalize':function(_0x4b7c8f){const _0x5c40b5=_0x52606a;_0x4b7c8f&&this['_append'](_0x4b7c8f);var _0x12f9d4=this[_0x5c40b5(0x452)]();return _0x12f9d4;},'blockSize':0x10,'_createHelper':function(_0x5cdd8b){return function(_0x1bfa7c,_0x4b928a){const _0x28d0e9=_0x27a5;return new _0x5cdd8b[(_0x28d0e9(0x2a2))](_0x4b928a)[_0x28d0e9(0x3eb)](_0x1bfa7c);};},'_createHmacHelper':function(_0x1aa001){return function(_0x474c18,_0x19e086){const _0x269ef8=_0x27a5;return new _0x918379[(_0x269ef8(0x546))]['init'](_0x1aa001,_0x19e086)[_0x269ef8(0x3eb)](_0x474c18);};}});var _0x918379=_0x56bc70[_0x52606a(0x591)]={};return _0x56bc70;}(Math);return _0x4cfce5;}));}(_0x216d98)),_0x216d98[_0x77d479(0x1fd)];}var _0xcaba58={'exports':{}},_0x517e06;function _0x10c3e1(){const _0x3da347=_0x1bb47d;return _0x517e06||(_0x517e06=0x1,function(_0x5dea58,_0x546182){(function(_0x1a5d1c,_0x135961){const _0x9765ae=_0x27a5;_0x5dea58[_0x9765ae(0x1fd)]=_0x135961(_0x541f6d());}(_0x11540d,function(_0x31bdc){const _0x4551e3=_0x27a5;return(function(){const _0x3f108b=_0x27a5;var _0x5cd9af=_0x31bdc,_0x296f97=_0x5cd9af[_0x3f108b(0x3a8)],_0x2c3f1d=_0x296f97[_0x3f108b(0x299)],_0x14244f=_0x5cd9af[_0x3f108b(0x554)];_0x14244f[_0x3f108b(0x39d)]={'stringify':function(_0x1efccc){const _0x485a1c=_0x3f108b;var _0x2a9a19=_0x1efccc[_0x485a1c(0x217)],_0x4144a7=_0x1efccc[_0x485a1c(0x5ae)],_0x2b74d1=this[_0x485a1c(0x5c6)];_0x1efccc[_0x485a1c(0x337)]();for(var _0x3fe776=[],_0x589611=0x0;_0x589611<_0x4144a7;_0x589611+=0x3)for(var _0x685469=_0x2a9a19[_0x589611>>>0x2]>>>0x18-_0x589611%0x4*0x8&0xff,_0x3754bf=_0x2a9a19[_0x589611+0x1>>>0x2]>>>0x18-(_0x589611+0x1)%0x4*0x8&0xff,_0x224a13=_0x2a9a19[_0x589611+0x2>>>0x2]>>>0x18-(_0x589611+0x2)%0x4*0x8&0xff,_0x4187c2=_0x685469<<0x10|_0x3754bf<<0x8|_0x224a13,_0x35cf11=0x0;_0x35cf11<0x4&&_0x589611+_0x35cf11*0.75<_0x4144a7;_0x35cf11++)_0x3fe776[_0x485a1c(0x67d)](_0x2b74d1[_0x485a1c(0x20b)](_0x4187c2>>>0x6*(0x3-_0x35cf11)&0x3f));var _0x38a12e=_0x2b74d1[_0x485a1c(0x20b)](0x40);if(_0x38a12e){for(;_0x3fe776['length']%0x4;)_0x3fe776[_0x485a1c(0x67d)](_0x38a12e);}return _0x3fe776[_0x485a1c(0x40c)]('');},'parse':function(_0x6a0d81){const _0x6f9a67=_0x3f108b;var _0xc6c614=_0x6a0d81['length'],_0x130c92=this[_0x6f9a67(0x5c6)],_0x537f5a=this[_0x6f9a67(0x3b6)];if(!_0x537f5a){_0x537f5a=this[_0x6f9a67(0x3b6)]=[];for(var _0x3d98f2=0x0;_0x3d98f2<_0x130c92[_0x6f9a67(0x458)];_0x3d98f2++)_0x537f5a[_0x130c92[_0x6f9a67(0x53b)](_0x3d98f2)]=_0x3d98f2;}var _0xd96dc1=_0x130c92[_0x6f9a67(0x20b)](0x40);if(_0xd96dc1){var _0x24770e=_0x6a0d81[_0x6f9a67(0x290)](_0xd96dc1);_0x24770e!==-0x1&&(_0xc6c614=_0x24770e);}return _0xa8ae64(_0x6a0d81,_0xc6c614,_0x537f5a);},'_map':_0x3f108b(0x39a)};function _0xa8ae64(_0x282858,_0x158045,_0x324e43){const _0x480779=_0x3f108b;for(var _0x429ab8=[],_0x11c3ee=0x0,_0x3143b7=0x0;_0x3143b7<_0x158045;_0x3143b7++)if(_0x3143b7%0x4){var _0x4b83a9=_0x324e43[_0x282858[_0x480779(0x53b)](_0x3143b7-0x1)]<<_0x3143b7%0x4*0x2,_0x367b2b=_0x324e43[_0x282858['charCodeAt'](_0x3143b7)]>>>0x6-_0x3143b7%0x4*0x2,_0x5b0274=_0x4b83a9|_0x367b2b;_0x429ab8[_0x11c3ee>>>0x2]|=_0x5b0274<<0x18-_0x11c3ee%0x4*0x8,_0x11c3ee++;}return _0x2c3f1d[_0x480779(0x370)](_0x429ab8,_0x11c3ee);}}()),_0x31bdc[_0x4551e3(0x554)][_0x4551e3(0x39d)];}));}(_0xcaba58)),_0xcaba58[_0x3da347(0x1fd)];}var _0x3632e6={'exports':{}},_0x24f097;function _0x34b306(){return _0x24f097||(_0x24f097=0x1,function(_0x3d6039,_0x499e25){(function(_0x5b39c9,_0x1b6c9f){const _0x70ef2e=_0x27a5;_0x3d6039[_0x70ef2e(0x1fd)]=_0x1b6c9f(_0x541f6d());}(_0x11540d,function(_0x13b428){const _0x7d5b29=_0x27a5;return function(_0x54c004){const _0x5ebfa5=_0x27a5;var _0x5adb0b=_0x13b428,_0x152983=_0x5adb0b[_0x5ebfa5(0x3a8)],_0x50e6a9=_0x152983[_0x5ebfa5(0x299)],_0x3889ad=_0x152983['Hasher'],_0x4d7500=_0x5adb0b[_0x5ebfa5(0x591)],_0x45620d=[];(function(){const _0x16a07e=_0x5ebfa5;for(var _0x52aa8b=0x0;_0x52aa8b<0x40;_0x52aa8b++)_0x45620d[_0x52aa8b]=_0x54c004[_0x16a07e(0x472)](_0x54c004[_0x16a07e(0x3d0)](_0x52aa8b+0x1))*0x100000000|0x0;}());var _0x4ff8c5=_0x4d7500[_0x5ebfa5(0x291)]=_0x3889ad['extend']({'_doReset':function(){this['_hash']=new _0x50e6a9['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x32521,_0x336d3d){const _0x259244=_0x5ebfa5;for(var _0x509b90=0x0;_0x509b90<0x10;_0x509b90++){var _0x308717=_0x336d3d+_0x509b90,_0x39064c=_0x32521[_0x308717];_0x32521[_0x308717]=(_0x39064c<<0x8|_0x39064c>>>0x18)&0xff00ff|(_0x39064c<<0x18|_0x39064c>>>0x8)&0xff00ff00;}var _0x18ca9e=this[_0x259244(0x1e3)][_0x259244(0x217)],_0x36beee=_0x32521[_0x336d3d+0x0],_0x33b513=_0x32521[_0x336d3d+0x1],_0xfd4091=_0x32521[_0x336d3d+0x2],_0x3bfc94=_0x32521[_0x336d3d+0x3],_0x5fd55d=_0x32521[_0x336d3d+0x4],_0x3070fe=_0x32521[_0x336d3d+0x5],_0x169619=_0x32521[_0x336d3d+0x6],_0x47d81f=_0x32521[_0x336d3d+0x7],_0x4023d3=_0x32521[_0x336d3d+0x8],_0x3a6516=_0x32521[_0x336d3d+0x9],_0x10a555=_0x32521[_0x336d3d+0xa],_0x15bf1e=_0x32521[_0x336d3d+0xb],_0x5ae462=_0x32521[_0x336d3d+0xc],_0x37a139=_0x32521[_0x336d3d+0xd],_0x521ed2=_0x32521[_0x336d3d+0xe],_0x271e5b=_0x32521[_0x336d3d+0xf],_0x55d534=_0x18ca9e[0x0],_0x3db404=_0x18ca9e[0x1],_0x16a2cc=_0x18ca9e[0x2],_0x5bcdb6=_0x18ca9e[0x3];_0x55d534=_0xfb020b(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x36beee,0x7,_0x45620d[0x0]),_0x5bcdb6=_0xfb020b(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x33b513,0xc,_0x45620d[0x1]),_0x16a2cc=_0xfb020b(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0xfd4091,0x11,_0x45620d[0x2]),_0x3db404=_0xfb020b(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3bfc94,0x16,_0x45620d[0x3]),_0x55d534=_0xfb020b(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x5fd55d,0x7,_0x45620d[0x4]),_0x5bcdb6=_0xfb020b(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x3070fe,0xc,_0x45620d[0x5]),_0x16a2cc=_0xfb020b(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x169619,0x11,_0x45620d[0x6]),_0x3db404=_0xfb020b(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x47d81f,0x16,_0x45620d[0x7]),_0x55d534=_0xfb020b(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x4023d3,0x7,_0x45620d[0x8]),_0x5bcdb6=_0xfb020b(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x3a6516,0xc,_0x45620d[0x9]),_0x16a2cc=_0xfb020b(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x10a555,0x11,_0x45620d[0xa]),_0x3db404=_0xfb020b(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x15bf1e,0x16,_0x45620d[0xb]),_0x55d534=_0xfb020b(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x5ae462,0x7,_0x45620d[0xc]),_0x5bcdb6=_0xfb020b(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x37a139,0xc,_0x45620d[0xd]),_0x16a2cc=_0xfb020b(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x521ed2,0x11,_0x45620d[0xe]),_0x3db404=_0xfb020b(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x271e5b,0x16,_0x45620d[0xf]),_0x55d534=_0x4f121a(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x33b513,0x5,_0x45620d[0x10]),_0x5bcdb6=_0x4f121a(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x169619,0x9,_0x45620d[0x11]),_0x16a2cc=_0x4f121a(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x15bf1e,0xe,_0x45620d[0x12]),_0x3db404=_0x4f121a(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x36beee,0x14,_0x45620d[0x13]),_0x55d534=_0x4f121a(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x3070fe,0x5,_0x45620d[0x14]),_0x5bcdb6=_0x4f121a(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x10a555,0x9,_0x45620d[0x15]),_0x16a2cc=_0x4f121a(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x271e5b,0xe,_0x45620d[0x16]),_0x3db404=_0x4f121a(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x5fd55d,0x14,_0x45620d[0x17]),_0x55d534=_0x4f121a(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x3a6516,0x5,_0x45620d[0x18]),_0x5bcdb6=_0x4f121a(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x521ed2,0x9,_0x45620d[0x19]),_0x16a2cc=_0x4f121a(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x3bfc94,0xe,_0x45620d[0x1a]),_0x3db404=_0x4f121a(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x4023d3,0x14,_0x45620d[0x1b]),_0x55d534=_0x4f121a(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x37a139,0x5,_0x45620d[0x1c]),_0x5bcdb6=_0x4f121a(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0xfd4091,0x9,_0x45620d[0x1d]),_0x16a2cc=_0x4f121a(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x47d81f,0xe,_0x45620d[0x1e]),_0x3db404=_0x4f121a(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x5ae462,0x14,_0x45620d[0x1f]),_0x55d534=_0x433759(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x3070fe,0x4,_0x45620d[0x20]),_0x5bcdb6=_0x433759(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x4023d3,0xb,_0x45620d[0x21]),_0x16a2cc=_0x433759(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x15bf1e,0x10,_0x45620d[0x22]),_0x3db404=_0x433759(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x521ed2,0x17,_0x45620d[0x23]),_0x55d534=_0x433759(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x33b513,0x4,_0x45620d[0x24]),_0x5bcdb6=_0x433759(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x5fd55d,0xb,_0x45620d[0x25]),_0x16a2cc=_0x433759(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x47d81f,0x10,_0x45620d[0x26]),_0x3db404=_0x433759(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x10a555,0x17,_0x45620d[0x27]),_0x55d534=_0x433759(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x37a139,0x4,_0x45620d[0x28]),_0x5bcdb6=_0x433759(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x36beee,0xb,_0x45620d[0x29]),_0x16a2cc=_0x433759(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x3bfc94,0x10,_0x45620d[0x2a]),_0x3db404=_0x433759(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x169619,0x17,_0x45620d[0x2b]),_0x55d534=_0x433759(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x3a6516,0x4,_0x45620d[0x2c]),_0x5bcdb6=_0x433759(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x5ae462,0xb,_0x45620d[0x2d]),_0x16a2cc=_0x433759(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x271e5b,0x10,_0x45620d[0x2e]),_0x3db404=_0x433759(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0xfd4091,0x17,_0x45620d[0x2f]),_0x55d534=_0x53348a(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x36beee,0x6,_0x45620d[0x30]),_0x5bcdb6=_0x53348a(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x47d81f,0xa,_0x45620d[0x31]),_0x16a2cc=_0x53348a(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x521ed2,0xf,_0x45620d[0x32]),_0x3db404=_0x53348a(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3070fe,0x15,_0x45620d[0x33]),_0x55d534=_0x53348a(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x5ae462,0x6,_0x45620d[0x34]),_0x5bcdb6=_0x53348a(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x3bfc94,0xa,_0x45620d[0x35]),_0x16a2cc=_0x53348a(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x10a555,0xf,_0x45620d[0x36]),_0x3db404=_0x53348a(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x33b513,0x15,_0x45620d[0x37]),_0x55d534=_0x53348a(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x4023d3,0x6,_0x45620d[0x38]),_0x5bcdb6=_0x53348a(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x271e5b,0xa,_0x45620d[0x39]),_0x16a2cc=_0x53348a(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x169619,0xf,_0x45620d[0x3a]),_0x3db404=_0x53348a(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x37a139,0x15,_0x45620d[0x3b]),_0x55d534=_0x53348a(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x5fd55d,0x6,_0x45620d[0x3c]),_0x5bcdb6=_0x53348a(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x15bf1e,0xa,_0x45620d[0x3d]),_0x16a2cc=_0x53348a(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0xfd4091,0xf,_0x45620d[0x3e]),_0x3db404=_0x53348a(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3a6516,0x15,_0x45620d[0x3f]),_0x18ca9e[0x0]=_0x18ca9e[0x0]+_0x55d534|0x0,_0x18ca9e[0x1]=_0x18ca9e[0x1]+_0x3db404|0x0,_0x18ca9e[0x2]=_0x18ca9e[0x2]+_0x16a2cc|0x0,_0x18ca9e[0x3]=_0x18ca9e[0x3]+_0x5bcdb6|0x0;},'_doFinalize':function(){const _0x20208e=_0x5ebfa5;var _0x310403=this[_0x20208e(0x5e6)],_0x2d4f8e=_0x310403[_0x20208e(0x217)],_0x43b3d2=this[_0x20208e(0x59a)]*0x8,_0xb5a501=_0x310403[_0x20208e(0x5ae)]*0x8;_0x2d4f8e[_0xb5a501>>>0x5]|=0x80<<0x18-_0xb5a501%0x20;var _0x399037=_0x54c004[_0x20208e(0x659)](_0x43b3d2/0x100000000),_0xf7d5cb=_0x43b3d2;_0x2d4f8e[(_0xb5a501+0x40>>>0x9<<0x4)+0xf]=(_0x399037<<0x8|_0x399037>>>0x18)&0xff00ff|(_0x399037<<0x18|_0x399037>>>0x8)&0xff00ff00,_0x2d4f8e[(_0xb5a501+0x40>>>0x9<<0x4)+0xe]=(_0xf7d5cb<<0x8|_0xf7d5cb>>>0x18)&0xff00ff|(_0xf7d5cb<<0x18|_0xf7d5cb>>>0x8)&0xff00ff00,_0x310403[_0x20208e(0x5ae)]=(_0x2d4f8e[_0x20208e(0x458)]+0x1)*0x4,this[_0x20208e(0x4cc)]();for(var _0x4abc56=this[_0x20208e(0x1e3)],_0x3e0515=_0x4abc56[_0x20208e(0x217)],_0x56630f=0x0;_0x56630f<0x4;_0x56630f++){var _0x100685=_0x3e0515[_0x56630f];_0x3e0515[_0x56630f]=(_0x100685<<0x8|_0x100685>>>0x18)&0xff00ff|(_0x100685<<0x18|_0x100685>>>0x8)&0xff00ff00;}return _0x4abc56;},'clone':function(){const _0x147415=_0x5ebfa5;var _0x4ebd3d=_0x3889ad['clone']['call'](this);return _0x4ebd3d['_hash']=this[_0x147415(0x1e3)]['clone'](),_0x4ebd3d;}});function _0xfb020b(_0xc2deec,_0x308e1c,_0x23da59,_0x20b691,_0xa842b8,_0x5e11b3,_0x2280be){var _0x4337de=_0xc2deec+(_0x308e1c&_0x23da59|~_0x308e1c&_0x20b691)+_0xa842b8+_0x2280be;return(_0x4337de<<_0x5e11b3|_0x4337de>>>0x20-_0x5e11b3)+_0x308e1c;}function _0x4f121a(_0x2dd5bf,_0x29cda4,_0x225482,_0x212338,_0x4403df,_0x441851,_0x5c6fe9){var _0xb957b3=_0x2dd5bf+(_0x29cda4&_0x212338|_0x225482&~_0x212338)+_0x4403df+_0x5c6fe9;return(_0xb957b3<<_0x441851|_0xb957b3>>>0x20-_0x441851)+_0x29cda4;}function _0x433759(_0xbcec62,_0x1de9a2,_0x4c3a01,_0x57bef5,_0x3f2ab8,_0x580591,_0x2dae2e){var _0x9e8d9d=_0xbcec62+(_0x1de9a2^_0x4c3a01^_0x57bef5)+_0x3f2ab8+_0x2dae2e;return(_0x9e8d9d<<_0x580591|_0x9e8d9d>>>0x20-_0x580591)+_0x1de9a2;}function _0x53348a(_0x3e3144,_0x126f89,_0x259ae8,_0x2f44f6,_0x4e18f5,_0x22e071,_0x3d676f){var _0xeccfe5=_0x3e3144+(_0x259ae8^(_0x126f89|~_0x2f44f6))+_0x4e18f5+_0x3d676f;return(_0xeccfe5<<_0x22e071|_0xeccfe5>>>0x20-_0x22e071)+_0x126f89;}_0x5adb0b['MD5']=_0x3889ad[_0x5ebfa5(0x466)](_0x4ff8c5),_0x5adb0b['HmacMD5']=_0x3889ad[_0x5ebfa5(0x2cd)](_0x4ff8c5);}(Math),_0x13b428[_0x7d5b29(0x291)];}));}(_0x3632e6)),_0x3632e6['exports'];}var _0x2f7d1b={'exports':{}},_0x18eed2={'exports':{}},_0x57a0f8;function _0x375a69(){const _0x3130f1=_0x1bb47d;return _0x57a0f8||(_0x57a0f8=0x1,function(_0x3e99c9,_0x4042c4){(function(_0x4faeba,_0x459637){_0x3e99c9['exports']=_0x459637(_0x541f6d());}(_0x11540d,function(_0x22ef72){const _0x19d4f5=_0x27a5;return(function(){const _0x33f559=_0x27a5;var _0x28dc9d=_0x22ef72,_0x5a8fec=_0x28dc9d['lib'],_0x57c104=_0x5a8fec[_0x33f559(0x299)],_0x276fa3=_0x5a8fec[_0x33f559(0x668)],_0x3dfaaf=_0x28dc9d[_0x33f559(0x591)],_0x222e70=[],_0x2d5c9d=_0x3dfaaf[_0x33f559(0x35c)]=_0x276fa3[_0x33f559(0x5d6)]({'_doReset':function(){this['_hash']=new _0x57c104['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x23866c,_0x27e363){const _0x12a2dd=_0x33f559;for(var _0x37b24a=this[_0x12a2dd(0x1e3)][_0x12a2dd(0x217)],_0x516f79=_0x37b24a[0x0],_0x519965=_0x37b24a[0x1],_0x21fc8b=_0x37b24a[0x2],_0x4f3980=_0x37b24a[0x3],_0x3691b6=_0x37b24a[0x4],_0x5769cf=0x0;_0x5769cf<0x50;_0x5769cf++){if(_0x5769cf<0x10)_0x222e70[_0x5769cf]=_0x23866c[_0x27e363+_0x5769cf]|0x0;else{var _0x18c8a5=_0x222e70[_0x5769cf-0x3]^_0x222e70[_0x5769cf-0x8]^_0x222e70[_0x5769cf-0xe]^_0x222e70[_0x5769cf-0x10];_0x222e70[_0x5769cf]=_0x18c8a5<<0x1|_0x18c8a5>>>0x1f;}var _0x5aaff6=(_0x516f79<<0x5|_0x516f79>>>0x1b)+_0x3691b6+_0x222e70[_0x5769cf];_0x5769cf<0x14?_0x5aaff6+=(_0x519965&_0x21fc8b|~_0x519965&_0x4f3980)+0x5a827999:_0x5769cf<0x28?_0x5aaff6+=(_0x519965^_0x21fc8b^_0x4f3980)+0x6ed9eba1:_0x5769cf<0x3c?_0x5aaff6+=(_0x519965&_0x21fc8b|_0x519965&_0x4f3980|_0x21fc8b&_0x4f3980)-0x70e44324:_0x5aaff6+=(_0x519965^_0x21fc8b^_0x4f3980)-0x359d3e2a,_0x3691b6=_0x4f3980,_0x4f3980=_0x21fc8b,_0x21fc8b=_0x519965<<0x1e|_0x519965>>>0x2,_0x519965=_0x516f79,_0x516f79=_0x5aaff6;}_0x37b24a[0x0]=_0x37b24a[0x0]+_0x516f79|0x0,_0x37b24a[0x1]=_0x37b24a[0x1]+_0x519965|0x0,_0x37b24a[0x2]=_0x37b24a[0x2]+_0x21fc8b|0x0,_0x37b24a[0x3]=_0x37b24a[0x3]+_0x4f3980|0x0,_0x37b24a[0x4]=_0x37b24a[0x4]+_0x3691b6|0x0;},'_doFinalize':function(){const _0x5c2e76=_0x33f559;var _0x3ddf4d=this['_data'],_0x459c06=_0x3ddf4d[_0x5c2e76(0x217)],_0x442d24=this[_0x5c2e76(0x59a)]*0x8,_0x39e376=_0x3ddf4d[_0x5c2e76(0x5ae)]*0x8;return _0x459c06[_0x39e376>>>0x5]|=0x80<<0x18-_0x39e376%0x20,_0x459c06[(_0x39e376+0x40>>>0x9<<0x4)+0xe]=Math[_0x5c2e76(0x659)](_0x442d24/0x100000000),_0x459c06[(_0x39e376+0x40>>>0x9<<0x4)+0xf]=_0x442d24,_0x3ddf4d[_0x5c2e76(0x5ae)]=_0x459c06[_0x5c2e76(0x458)]*0x4,this[_0x5c2e76(0x4cc)](),this[_0x5c2e76(0x1e3)];},'clone':function(){const _0x11b2af=_0x33f559;var _0x39843d=_0x276fa3[_0x11b2af(0x1ef)][_0x11b2af(0x4be)](this);return _0x39843d[_0x11b2af(0x1e3)]=this[_0x11b2af(0x1e3)][_0x11b2af(0x1ef)](),_0x39843d;}});_0x28dc9d[_0x33f559(0x35c)]=_0x276fa3[_0x33f559(0x466)](_0x2d5c9d),_0x28dc9d[_0x33f559(0x3c8)]=_0x276fa3[_0x33f559(0x2cd)](_0x2d5c9d);}()),_0x22ef72[_0x19d4f5(0x35c)];}));}(_0x18eed2)),_0x18eed2[_0x3130f1(0x1fd)];}var _0x4c76e1={'exports':{}},_0x48addc;function _0x208ed6(){return _0x48addc||(_0x48addc=0x1,function(_0x5ae812,_0x554d6a){(function(_0x118cc6,_0x5d97d2){const _0x3d27de=_0x27a5;_0x5ae812[_0x3d27de(0x1fd)]=_0x5d97d2(_0x541f6d());}(_0x11540d,function(_0x52c794){(function(){const _0x251490=_0x27a5;var _0x5caea6=_0x52c794,_0x157a22=_0x5caea6['lib'],_0x266159=_0x157a22[_0x251490(0x653)],_0x4c6491=_0x5caea6[_0x251490(0x554)],_0x385a39=_0x4c6491[_0x251490(0x46f)],_0x518ab1=_0x5caea6[_0x251490(0x591)];_0x518ab1[_0x251490(0x546)]=_0x266159[_0x251490(0x5d6)]({'init':function(_0xbcff88,_0x3e2e23){const _0x4ff7e7=_0x251490;_0xbcff88=this['_hasher']=new _0xbcff88['init'](),typeof _0x3e2e23==_0x4ff7e7(0x5e2)&&(_0x3e2e23=_0x385a39[_0x4ff7e7(0x376)](_0x3e2e23));var _0x53cafb=_0xbcff88[_0x4ff7e7(0x21f)],_0x4ba603=_0x53cafb*0x4;_0x3e2e23[_0x4ff7e7(0x5ae)]>_0x4ba603&&(_0x3e2e23=_0xbcff88['finalize'](_0x3e2e23)),_0x3e2e23[_0x4ff7e7(0x337)]();for(var _0x154fa6=this[_0x4ff7e7(0x420)]=_0x3e2e23[_0x4ff7e7(0x1ef)](),_0x2c2b8a=this['_iKey']=_0x3e2e23[_0x4ff7e7(0x1ef)](),_0x3bede9=_0x154fa6[_0x4ff7e7(0x217)],_0x4c997d=_0x2c2b8a['words'],_0x38dc37=0x0;_0x38dc37<_0x53cafb;_0x38dc37++)_0x3bede9[_0x38dc37]^=0x5c5c5c5c,_0x4c997d[_0x38dc37]^=0x36363636;_0x154fa6[_0x4ff7e7(0x5ae)]=_0x2c2b8a['sigBytes']=_0x4ba603,this[_0x4ff7e7(0x3dc)]();},'reset':function(){const _0x1ca26c=_0x251490;var _0x42ce0b=this[_0x1ca26c(0x5db)];_0x42ce0b[_0x1ca26c(0x3dc)](),_0x42ce0b[_0x1ca26c(0x65f)](this[_0x1ca26c(0x2b5)]);},'update':function(_0x31a063){const _0x33720a=_0x251490;return this[_0x33720a(0x5db)][_0x33720a(0x65f)](_0x31a063),this;},'finalize':function(_0x102ad8){const _0x552a03=_0x251490;var _0x275450=this['_hasher'],_0x3d573f=_0x275450[_0x552a03(0x3eb)](_0x102ad8);_0x275450[_0x552a03(0x3dc)]();var _0x55445a=_0x275450[_0x552a03(0x3eb)](this[_0x552a03(0x420)][_0x552a03(0x1ef)]()[_0x552a03(0x392)](_0x3d573f));return _0x55445a;}});}());}));}(_0x4c76e1)),_0x4c76e1['exports'];}var _0x2972f3;function _0x2122df(){return _0x2972f3||(_0x2972f3=0x1,function(_0x422347,_0xe8fdf2){(function(_0x50b3fd,_0x23f441,_0x17616b){const _0x44d097=_0x27a5;_0x422347[_0x44d097(0x1fd)]=_0x23f441(_0x541f6d(),_0x375a69(),_0x208ed6());}(_0x11540d,function(_0x925b9f){const _0x391074=_0x27a5;return(function(){const _0x45a2b5=_0x27a5;var _0x567406=_0x925b9f,_0x3557e6=_0x567406[_0x45a2b5(0x3a8)],_0x450b1e=_0x3557e6[_0x45a2b5(0x653)],_0x49af8e=_0x3557e6['WordArray'],_0x425679=_0x567406['algo'],_0x4ef5bd=_0x425679[_0x45a2b5(0x291)],_0x1adc74=_0x425679['EvpKDF']=_0x450b1e[_0x45a2b5(0x5d6)]({'cfg':_0x450b1e[_0x45a2b5(0x5d6)]({'keySize':0x80/0x20,'hasher':_0x4ef5bd,'iterations':0x1}),'init':function(_0x39fc23){const _0x332871=_0x45a2b5;this['cfg']=this[_0x332871(0x37b)][_0x332871(0x5d6)](_0x39fc23);},'compute':function(_0x3ce02b,_0x26620c){const _0x24e51e=_0x45a2b5;for(var _0x2ae1b5,_0x11c4b0=this[_0x24e51e(0x37b)],_0x5f5d7b=_0x11c4b0[_0x24e51e(0x2a0)][_0x24e51e(0x370)](),_0x17c666=_0x49af8e[_0x24e51e(0x370)](),_0x6afbfa=_0x17c666[_0x24e51e(0x217)],_0x53c361=_0x11c4b0['keySize'],_0x56945d=_0x11c4b0[_0x24e51e(0x1db)];_0x6afbfa[_0x24e51e(0x458)]<_0x53c361;){_0x2ae1b5&&_0x5f5d7b[_0x24e51e(0x65f)](_0x2ae1b5),_0x2ae1b5=_0x5f5d7b['update'](_0x3ce02b)[_0x24e51e(0x3eb)](_0x26620c),_0x5f5d7b['reset']();for(var _0x1f4ba7=0x1;_0x1f4ba7<_0x56945d;_0x1f4ba7++)_0x2ae1b5=_0x5f5d7b[_0x24e51e(0x3eb)](_0x2ae1b5),_0x5f5d7b[_0x24e51e(0x3dc)]();_0x17c666[_0x24e51e(0x392)](_0x2ae1b5);}return _0x17c666[_0x24e51e(0x5ae)]=_0x53c361*0x4,_0x17c666;}});_0x567406[_0x45a2b5(0x262)]=function(_0xad5554,_0x359a2a,_0x4b0a0a){const _0x58ca64=_0x45a2b5;return _0x1adc74[_0x58ca64(0x370)](_0x4b0a0a)[_0x58ca64(0x29a)](_0xad5554,_0x359a2a);};}()),_0x925b9f[_0x391074(0x262)];}));}(_0x2f7d1b)),_0x2f7d1b['exports'];}var _0x1968bb={'exports':{}},_0x2002a8;function _0x1b7204(){const _0xa77ecb=_0x1bb47d;return _0x2002a8||(_0x2002a8=0x1,function(_0x49b882,_0x3dfdde){(function(_0x5b15f6,_0x1a223d,_0x3ac71e){const _0x294bed=_0x27a5;_0x49b882[_0x294bed(0x1fd)]=_0x1a223d(_0x541f6d(),_0x2122df());}(_0x11540d,function(_0x5d139a){const _0x462f09=_0x27a5;_0x5d139a[_0x462f09(0x3a8)][_0x462f09(0x49b)]||function(_0xb6773f){const _0x25444a=_0x462f09;var _0x2cfe20=_0x5d139a,_0x3f71d8=_0x2cfe20[_0x25444a(0x3a8)],_0x39c1a1=_0x3f71d8[_0x25444a(0x653)],_0x1dcbbb=_0x3f71d8[_0x25444a(0x299)],_0x5ae7fe=_0x3f71d8[_0x25444a(0x621)],_0x2e94a5=_0x2cfe20[_0x25444a(0x554)];_0x2e94a5[_0x25444a(0x46f)];var _0x517508=_0x2e94a5[_0x25444a(0x39d)],_0x5eb524=_0x2cfe20[_0x25444a(0x591)],_0x30099f=_0x5eb524['EvpKDF'],_0x3b82a7=_0x3f71d8[_0x25444a(0x49b)]=_0x5ae7fe['extend']({'cfg':_0x39c1a1[_0x25444a(0x5d6)](),'createEncryptor':function(_0x17df07,_0x2d7441){const _0x2f6a63=_0x25444a;return this[_0x2f6a63(0x370)](this[_0x2f6a63(0x4f5)],_0x17df07,_0x2d7441);},'createDecryptor':function(_0x182e71,_0x1921e5){const _0xac17f=_0x25444a;return this[_0xac17f(0x370)](this[_0xac17f(0x407)],_0x182e71,_0x1921e5);},'init':function(_0xede856,_0x4b65c1,_0x385503){const _0x29ffa8=_0x25444a;this['cfg']=this[_0x29ffa8(0x37b)][_0x29ffa8(0x5d6)](_0x385503),this[_0x29ffa8(0x44a)]=_0xede856,this[_0x29ffa8(0x435)]=_0x4b65c1,this[_0x29ffa8(0x3dc)]();},'reset':function(){const _0x2f62d5=_0x25444a;_0x5ae7fe['reset']['call'](this),this[_0x2f62d5(0x25c)]();},'process':function(_0x4af6b4){const _0x2866b0=_0x25444a;return this[_0x2866b0(0x698)](_0x4af6b4),this['_process']();},'finalize':function(_0x4c335f){_0x4c335f&&this['_append'](_0x4c335f);var _0x431c29=this['_doFinalize']();return _0x431c29;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x58359f(_0x3e38d3){return typeof _0x3e38d3=='string'?_0x451cb4:_0x3fe0c8;}return function(_0x17afd5){return{'encrypt':function(_0x3923b3,_0x114f33,_0x47cab3){const _0x1d39e6=_0x27a5;return _0x58359f(_0x114f33)[_0x1d39e6(0x617)](_0x17afd5,_0x3923b3,_0x114f33,_0x47cab3);},'decrypt':function(_0x581059,_0x16a64a,_0x4c2731){const _0x560b3e=_0x27a5;return _0x58359f(_0x16a64a)[_0x560b3e(0x1d9)](_0x17afd5,_0x581059,_0x16a64a,_0x4c2731);}};};}())});_0x3f71d8[_0x25444a(0x64b)]=_0x3b82a7[_0x25444a(0x5d6)]({'_doFinalize':function(){const _0x30e506=_0x25444a;var _0x5b11f8=this[_0x30e506(0x4cc)](!0x0);return _0x5b11f8;},'blockSize':0x1});var _0x258d7a=_0x2cfe20[_0x25444a(0x266)]={},_0x57a8f6=_0x3f71d8[_0x25444a(0x2d1)]=_0x39c1a1[_0x25444a(0x5d6)]({'createEncryptor':function(_0x1b4bb8,_0x19fac4){return this['Encryptor']['create'](_0x1b4bb8,_0x19fac4);},'createDecryptor':function(_0xd6692d,_0x4f3c64){const _0x3e46dd=_0x25444a;return this[_0x3e46dd(0x31e)]['create'](_0xd6692d,_0x4f3c64);},'init':function(_0x3ff93b,_0x139f84){const _0x3f6e20=_0x25444a;this['_cipher']=_0x3ff93b,this[_0x3f6e20(0x348)]=_0x139f84;}}),_0x477b92=_0x258d7a[_0x25444a(0x50b)]=(function(){const _0x32282d=_0x25444a;var _0x3e8e29=_0x57a8f6[_0x32282d(0x5d6)]();_0x3e8e29[_0x32282d(0x383)]=_0x3e8e29[_0x32282d(0x5d6)]({'processBlock':function(_0x2af73b,_0x548e8b){const _0x4830ac=_0x32282d;var _0x5b9197=this[_0x4830ac(0x524)],_0x4f934e=_0x5b9197[_0x4830ac(0x21f)];_0x5c2751['call'](this,_0x2af73b,_0x548e8b,_0x4f934e),_0x5b9197['encryptBlock'](_0x2af73b,_0x548e8b),this[_0x4830ac(0x2ff)]=_0x2af73b['slice'](_0x548e8b,_0x548e8b+_0x4f934e);}}),_0x3e8e29[_0x32282d(0x31e)]=_0x3e8e29[_0x32282d(0x5d6)]({'processBlock':function(_0x465db7,_0x517352){const _0x594e04=_0x32282d;var _0xec8583=this['_cipher'],_0x5bc05d=_0xec8583[_0x594e04(0x21f)],_0xc95547=_0x465db7['slice'](_0x517352,_0x517352+_0x5bc05d);_0xec8583[_0x594e04(0x2b4)](_0x465db7,_0x517352),_0x5c2751[_0x594e04(0x4be)](this,_0x465db7,_0x517352,_0x5bc05d),this['_prevBlock']=_0xc95547;}});function _0x5c2751(_0x1f0df7,_0xfe4e6,_0x28b504){const _0x2e480f=_0x32282d;var _0x335799,_0x35eccb=this[_0x2e480f(0x348)];_0x35eccb?(_0x335799=_0x35eccb,this[_0x2e480f(0x348)]=_0xb6773f):_0x335799=this[_0x2e480f(0x2ff)];for(var _0x51de58=0x0;_0x51de58<_0x28b504;_0x51de58++)_0x1f0df7[_0xfe4e6+_0x51de58]^=_0x335799[_0x51de58];}return _0x3e8e29;}()),_0x110c02=_0x2cfe20[_0x25444a(0x2b6)]={},_0x532072=_0x110c02[_0x25444a(0x1fa)]={'pad':function(_0x2a3a21,_0x4f96b3){const _0x14b12a=_0x25444a;for(var _0x1c1a81=_0x4f96b3*0x4,_0x142ba0=_0x1c1a81-_0x2a3a21['sigBytes']%_0x1c1a81,_0x598922=_0x142ba0<<0x18|_0x142ba0<<0x10|_0x142ba0<<0x8|_0x142ba0,_0x2273f6=[],_0x36729d=0x0;_0x36729d<_0x142ba0;_0x36729d+=0x4)_0x2273f6[_0x14b12a(0x67d)](_0x598922);var _0x254fd7=_0x1dcbbb['create'](_0x2273f6,_0x142ba0);_0x2a3a21['concat'](_0x254fd7);},'unpad':function(_0x3fd7c5){const _0x46a48d=_0x25444a;var _0xe66f8e=_0x3fd7c5[_0x46a48d(0x217)][_0x3fd7c5[_0x46a48d(0x5ae)]-0x1>>>0x2]&0xff;_0x3fd7c5[_0x46a48d(0x5ae)]-=_0xe66f8e;}};_0x3f71d8[_0x25444a(0x4d5)]=_0x3b82a7[_0x25444a(0x5d6)]({'cfg':_0x3b82a7[_0x25444a(0x37b)][_0x25444a(0x5d6)]({'mode':_0x477b92,'padding':_0x532072}),'reset':function(){const _0x521ca5=_0x25444a;var _0x21b9aa;_0x3b82a7[_0x521ca5(0x3dc)]['call'](this);var _0x69cabf=this[_0x521ca5(0x37b)],_0x2533e0=_0x69cabf['iv'],_0xe81e4a=_0x69cabf[_0x521ca5(0x266)];this[_0x521ca5(0x44a)]==this[_0x521ca5(0x4f5)]?_0x21b9aa=_0xe81e4a['createEncryptor']:(_0x21b9aa=_0xe81e4a[_0x521ca5(0x2cb)],this['_minBufferSize']=0x1),this[_0x521ca5(0x25f)]&&this[_0x521ca5(0x25f)][_0x521ca5(0x445)]==_0x21b9aa?this['_mode']['init'](this,_0x2533e0&&_0x2533e0['words']):(this[_0x521ca5(0x25f)]=_0x21b9aa[_0x521ca5(0x4be)](_0xe81e4a,this,_0x2533e0&&_0x2533e0[_0x521ca5(0x217)]),this[_0x521ca5(0x25f)][_0x521ca5(0x445)]=_0x21b9aa);},'_doProcessBlock':function(_0x1fb0df,_0x2956f2){const _0x34e717=_0x25444a;this[_0x34e717(0x25f)][_0x34e717(0x4cb)](_0x1fb0df,_0x2956f2);},'_doFinalize':function(){const _0x43351e=_0x25444a;var _0x1f5921,_0x94d9db=this['cfg'][_0x43351e(0x38f)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x94d9db[_0x43351e(0x2b6)](this[_0x43351e(0x5e6)],this['blockSize']),_0x1f5921=this[_0x43351e(0x4cc)](!0x0)):(_0x1f5921=this[_0x43351e(0x4cc)](!0x0),_0x94d9db['unpad'](_0x1f5921)),_0x1f5921;},'blockSize':0x80/0x20});var _0x3562c3=_0x3f71d8[_0x25444a(0x258)]=_0x39c1a1[_0x25444a(0x5d6)]({'init':function(_0x5aa9e3){const _0x550112=_0x25444a;this[_0x550112(0x35a)](_0x5aa9e3);},'toString':function(_0x5b2ce2){const _0x18b27a=_0x25444a;return(_0x5b2ce2||this[_0x18b27a(0x62b)])['stringify'](this);}}),_0x1543de=_0x2cfe20[_0x25444a(0x1df)]={},_0x29ea54=_0x1543de[_0x25444a(0x5d2)]={'stringify':function(_0x1557f4){const _0x35ab5b=_0x25444a;var _0x25efd1,_0x5784e3=_0x1557f4[_0x35ab5b(0x627)],_0x42a756=_0x1557f4[_0x35ab5b(0x31f)];return _0x42a756?_0x25efd1=_0x1dcbbb[_0x35ab5b(0x370)]([0x53616c74,0x65645f5f])[_0x35ab5b(0x392)](_0x42a756)[_0x35ab5b(0x392)](_0x5784e3):_0x25efd1=_0x5784e3,_0x25efd1['toString'](_0x517508);},'parse':function(_0x4e7a1d){const _0x3c6893=_0x25444a;var _0x4cca92,_0x318eea=_0x517508['parse'](_0x4e7a1d),_0x3fa4a8=_0x318eea[_0x3c6893(0x217)];return _0x3fa4a8[0x0]==0x53616c74&&_0x3fa4a8[0x1]==0x65645f5f&&(_0x4cca92=_0x1dcbbb[_0x3c6893(0x370)](_0x3fa4a8[_0x3c6893(0x1f5)](0x2,0x4)),_0x3fa4a8[_0x3c6893(0x3d5)](0x0,0x4),_0x318eea[_0x3c6893(0x5ae)]-=0x10),_0x3562c3[_0x3c6893(0x370)]({'ciphertext':_0x318eea,'salt':_0x4cca92});}},_0x3fe0c8=_0x3f71d8[_0x25444a(0x234)]=_0x39c1a1['extend']({'cfg':_0x39c1a1[_0x25444a(0x5d6)]({'format':_0x29ea54}),'encrypt':function(_0x102538,_0x39bffa,_0x1ce541,_0x3eead2){const _0x26b278=_0x25444a;_0x3eead2=this[_0x26b278(0x37b)][_0x26b278(0x5d6)](_0x3eead2);var _0x45e688=_0x102538[_0x26b278(0x404)](_0x1ce541,_0x3eead2),_0x2c4154=_0x45e688[_0x26b278(0x3eb)](_0x39bffa),_0x52e1b2=_0x45e688[_0x26b278(0x37b)];return _0x3562c3[_0x26b278(0x370)]({'ciphertext':_0x2c4154,'key':_0x1ce541,'iv':_0x52e1b2['iv'],'algorithm':_0x102538,'mode':_0x52e1b2[_0x26b278(0x266)],'padding':_0x52e1b2[_0x26b278(0x38f)],'blockSize':_0x102538['blockSize'],'formatter':_0x3eead2[_0x26b278(0x1df)]});},'decrypt':function(_0x4e9d9a,_0x590b2d,_0x280593,_0x349d28){const _0x2aa57b=_0x25444a;_0x349d28=this['cfg'][_0x2aa57b(0x5d6)](_0x349d28),_0x590b2d=this['_parse'](_0x590b2d,_0x349d28['format']);var _0x82f6ac=_0x4e9d9a[_0x2aa57b(0x2cb)](_0x280593,_0x349d28)[_0x2aa57b(0x3eb)](_0x590b2d[_0x2aa57b(0x627)]);return _0x82f6ac;},'_parse':function(_0x324bf0,_0x2d083c){const _0x284839=_0x25444a;return typeof _0x324bf0==_0x284839(0x5e2)?_0x2d083c['parse'](_0x324bf0,this):_0x324bf0;}}),_0x2230c0=_0x2cfe20[_0x25444a(0x47f)]={},_0x286081=_0x2230c0[_0x25444a(0x5d2)]={'execute':function(_0x464dec,_0x5d34b6,_0x370105,_0x5dfdbc,_0x1362db){const _0x351657=_0x25444a;if(_0x5dfdbc||(_0x5dfdbc=_0x1dcbbb[_0x351657(0x1fc)](0x40/0x8)),_0x1362db)var _0x2c8c7c=_0x30099f[_0x351657(0x370)]({'keySize':_0x5d34b6+_0x370105,'hasher':_0x1362db})['compute'](_0x464dec,_0x5dfdbc);else var _0x2c8c7c=_0x30099f[_0x351657(0x370)]({'keySize':_0x5d34b6+_0x370105})[_0x351657(0x29a)](_0x464dec,_0x5dfdbc);var _0x48acb9=_0x1dcbbb[_0x351657(0x370)](_0x2c8c7c[_0x351657(0x217)]['slice'](_0x5d34b6),_0x370105*0x4);return _0x2c8c7c[_0x351657(0x5ae)]=_0x5d34b6*0x4,_0x3562c3[_0x351657(0x370)]({'key':_0x2c8c7c,'iv':_0x48acb9,'salt':_0x5dfdbc});}},_0x451cb4=_0x3f71d8[_0x25444a(0x1eb)]=_0x3fe0c8[_0x25444a(0x5d6)]({'cfg':_0x3fe0c8['cfg']['extend']({'kdf':_0x286081}),'encrypt':function(_0x1d45a7,_0x5ebc6e,_0x1734f6,_0xc58773){const _0x427d4f=_0x25444a;_0xc58773=this[_0x427d4f(0x37b)][_0x427d4f(0x5d6)](_0xc58773);var _0xa7107f=_0xc58773[_0x427d4f(0x47f)]['execute'](_0x1734f6,_0x1d45a7[_0x427d4f(0x54f)],_0x1d45a7[_0x427d4f(0x37c)],_0xc58773[_0x427d4f(0x31f)],_0xc58773[_0x427d4f(0x2a0)]);_0xc58773['iv']=_0xa7107f['iv'];var _0x43d9a6=_0x3fe0c8[_0x427d4f(0x617)][_0x427d4f(0x4be)](this,_0x1d45a7,_0x5ebc6e,_0xa7107f[_0x427d4f(0x644)],_0xc58773);return _0x43d9a6['mixIn'](_0xa7107f),_0x43d9a6;},'decrypt':function(_0x1d7014,_0x37f21b,_0x2f46fd,_0x2dd7c5){const _0x449a96=_0x25444a;_0x2dd7c5=this['cfg'][_0x449a96(0x5d6)](_0x2dd7c5),_0x37f21b=this['_parse'](_0x37f21b,_0x2dd7c5[_0x449a96(0x1df)]);var _0x167768=_0x2dd7c5[_0x449a96(0x47f)][_0x449a96(0x323)](_0x2f46fd,_0x1d7014['keySize'],_0x1d7014[_0x449a96(0x37c)],_0x37f21b[_0x449a96(0x31f)],_0x2dd7c5['hasher']);_0x2dd7c5['iv']=_0x167768['iv'];var _0x1c5ace=_0x3fe0c8[_0x449a96(0x1d9)][_0x449a96(0x4be)](this,_0x1d7014,_0x37f21b,_0x167768[_0x449a96(0x644)],_0x2dd7c5);return _0x1c5ace;}});}();}));}(_0x1968bb)),_0x1968bb[_0xa77ecb(0x1fd)];}(function(_0x211829,_0x122f5e){(function(_0x5baad8,_0x459abb,_0x26e501){const _0x209739=_0x27a5;_0x211829[_0x209739(0x1fd)]=_0x459abb(_0x541f6d(),_0x10c3e1(),_0x34b306(),_0x2122df(),_0x1b7204());}(_0x11540d,function(_0x380400){const _0x2996a9=_0x27a5;return(function(){const _0x4cf1c6=_0x27a5;var _0x344a6d=_0x380400,_0x2ef770=_0x344a6d[_0x4cf1c6(0x3a8)],_0x1fa74a=_0x2ef770[_0x4cf1c6(0x4d5)],_0x257669=_0x344a6d[_0x4cf1c6(0x591)],_0x110a89=[],_0x4ec097=[],_0x38e6bd=[],_0x2d78e8=[],_0x507747=[],_0x210862=[],_0x345c9a=[],_0x120caf=[],_0x49af02=[],_0x1f3cb9=[];(function(){for(var _0x1466f8=[],_0x440cd9=0x0;_0x440cd9<0x100;_0x440cd9++)_0x440cd9<0x80?_0x1466f8[_0x440cd9]=_0x440cd9<<0x1:_0x1466f8[_0x440cd9]=_0x440cd9<<0x1^0x11b;for(var _0x229280=0x0,_0x18a0e9=0x0,_0x440cd9=0x0;_0x440cd9<0x100;_0x440cd9++){var _0x27f024=_0x18a0e9^_0x18a0e9<<0x1^_0x18a0e9<<0x2^_0x18a0e9<<0x3^_0x18a0e9<<0x4;_0x27f024=_0x27f024>>>0x8^_0x27f024&0xff^0x63,_0x110a89[_0x229280]=_0x27f024,_0x4ec097[_0x27f024]=_0x229280;var _0x512456=_0x1466f8[_0x229280],_0x577c05=_0x1466f8[_0x512456],_0x51a6f3=_0x1466f8[_0x577c05],_0x3f8454=_0x1466f8[_0x27f024]*0x101^_0x27f024*0x1010100;_0x38e6bd[_0x229280]=_0x3f8454<<0x18|_0x3f8454>>>0x8,_0x2d78e8[_0x229280]=_0x3f8454<<0x10|_0x3f8454>>>0x10,_0x507747[_0x229280]=_0x3f8454<<0x8|_0x3f8454>>>0x18,_0x210862[_0x229280]=_0x3f8454;var _0x3f8454=_0x51a6f3*0x1010101^_0x577c05*0x10001^_0x512456*0x101^_0x229280*0x1010100;_0x345c9a[_0x27f024]=_0x3f8454<<0x18|_0x3f8454>>>0x8,_0x120caf[_0x27f024]=_0x3f8454<<0x10|_0x3f8454>>>0x10,_0x49af02[_0x27f024]=_0x3f8454<<0x8|_0x3f8454>>>0x18,_0x1f3cb9[_0x27f024]=_0x3f8454,_0x229280?(_0x229280=_0x512456^_0x1466f8[_0x1466f8[_0x1466f8[_0x51a6f3^_0x512456]]],_0x18a0e9^=_0x1466f8[_0x1466f8[_0x18a0e9]]):_0x229280=_0x18a0e9=0x1;}}());var _0x1f3bf5=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5591ca=_0x257669[_0x4cf1c6(0x63d)]=_0x1fa74a[_0x4cf1c6(0x5d6)]({'_doReset':function(){const _0x482984=_0x4cf1c6;var _0x55c089;if(!(this[_0x482984(0x342)]&&this[_0x482984(0x2ee)]===this[_0x482984(0x435)])){for(var _0x49ceb3=this['_keyPriorReset']=this[_0x482984(0x435)],_0x13d114=_0x49ceb3['words'],_0x47446c=_0x49ceb3['sigBytes']/0x4,_0x3d2ff7=this[_0x482984(0x342)]=_0x47446c+0x6,_0x4dc78d=(_0x3d2ff7+0x1)*0x4,_0x160ef6=this[_0x482984(0x5b4)]=[],_0x2db79b=0x0;_0x2db79b<_0x4dc78d;_0x2db79b++)_0x2db79b<_0x47446c?_0x160ef6[_0x2db79b]=_0x13d114[_0x2db79b]:(_0x55c089=_0x160ef6[_0x2db79b-0x1],_0x2db79b%_0x47446c?_0x47446c>0x6&&_0x2db79b%_0x47446c==0x4&&(_0x55c089=_0x110a89[_0x55c089>>>0x18]<<0x18|_0x110a89[_0x55c089>>>0x10&0xff]<<0x10|_0x110a89[_0x55c089>>>0x8&0xff]<<0x8|_0x110a89[_0x55c089&0xff]):(_0x55c089=_0x55c089<<0x8|_0x55c089>>>0x18,_0x55c089=_0x110a89[_0x55c089>>>0x18]<<0x18|_0x110a89[_0x55c089>>>0x10&0xff]<<0x10|_0x110a89[_0x55c089>>>0x8&0xff]<<0x8|_0x110a89[_0x55c089&0xff],_0x55c089^=_0x1f3bf5[_0x2db79b/_0x47446c|0x0]<<0x18),_0x160ef6[_0x2db79b]=_0x160ef6[_0x2db79b-_0x47446c]^_0x55c089);for(var _0x2a1f27=this['_invKeySchedule']=[],_0x1efdcd=0x0;_0x1efdcd<_0x4dc78d;_0x1efdcd++){var _0x2db79b=_0x4dc78d-_0x1efdcd;if(_0x1efdcd%0x4)var _0x55c089=_0x160ef6[_0x2db79b];else var _0x55c089=_0x160ef6[_0x2db79b-0x4];_0x1efdcd<0x4||_0x2db79b<=0x4?_0x2a1f27[_0x1efdcd]=_0x55c089:_0x2a1f27[_0x1efdcd]=_0x345c9a[_0x110a89[_0x55c089>>>0x18]]^_0x120caf[_0x110a89[_0x55c089>>>0x10&0xff]]^_0x49af02[_0x110a89[_0x55c089>>>0x8&0xff]]^_0x1f3cb9[_0x110a89[_0x55c089&0xff]];}}},'encryptBlock':function(_0x8655d1,_0x161040){const _0x831f75=_0x4cf1c6;this[_0x831f75(0x3b8)](_0x8655d1,_0x161040,this[_0x831f75(0x5b4)],_0x38e6bd,_0x2d78e8,_0x507747,_0x210862,_0x110a89);},'decryptBlock':function(_0x175a63,_0x3df1dc){const _0x26b07d=_0x4cf1c6;var _0x1301ca=_0x175a63[_0x3df1dc+0x1];_0x175a63[_0x3df1dc+0x1]=_0x175a63[_0x3df1dc+0x3],_0x175a63[_0x3df1dc+0x3]=_0x1301ca,this[_0x26b07d(0x3b8)](_0x175a63,_0x3df1dc,this[_0x26b07d(0x33c)],_0x345c9a,_0x120caf,_0x49af02,_0x1f3cb9,_0x4ec097);var _0x1301ca=_0x175a63[_0x3df1dc+0x1];_0x175a63[_0x3df1dc+0x1]=_0x175a63[_0x3df1dc+0x3],_0x175a63[_0x3df1dc+0x3]=_0x1301ca;},'_doCryptBlock':function(_0x4aae0d,_0x4b8dac,_0x2bd507,_0x56ad52,_0x33e319,_0x4e6aeb,_0x272777,_0x15977b){const _0x1d2d04=_0x4cf1c6;for(var _0x49fb22=this[_0x1d2d04(0x342)],_0x46aa6a=_0x4aae0d[_0x4b8dac]^_0x2bd507[0x0],_0x157ab5=_0x4aae0d[_0x4b8dac+0x1]^_0x2bd507[0x1],_0x5eb97b=_0x4aae0d[_0x4b8dac+0x2]^_0x2bd507[0x2],_0x27e424=_0x4aae0d[_0x4b8dac+0x3]^_0x2bd507[0x3],_0x5f1ceb=0x4,_0x3e7587=0x1;_0x3e7587<_0x49fb22;_0x3e7587++){var _0x2aedc7=_0x56ad52[_0x46aa6a>>>0x18]^_0x33e319[_0x157ab5>>>0x10&0xff]^_0x4e6aeb[_0x5eb97b>>>0x8&0xff]^_0x272777[_0x27e424&0xff]^_0x2bd507[_0x5f1ceb++],_0x43a7f2=_0x56ad52[_0x157ab5>>>0x18]^_0x33e319[_0x5eb97b>>>0x10&0xff]^_0x4e6aeb[_0x27e424>>>0x8&0xff]^_0x272777[_0x46aa6a&0xff]^_0x2bd507[_0x5f1ceb++],_0x5872ca=_0x56ad52[_0x5eb97b>>>0x18]^_0x33e319[_0x27e424>>>0x10&0xff]^_0x4e6aeb[_0x46aa6a>>>0x8&0xff]^_0x272777[_0x157ab5&0xff]^_0x2bd507[_0x5f1ceb++],_0x4d8a78=_0x56ad52[_0x27e424>>>0x18]^_0x33e319[_0x46aa6a>>>0x10&0xff]^_0x4e6aeb[_0x157ab5>>>0x8&0xff]^_0x272777[_0x5eb97b&0xff]^_0x2bd507[_0x5f1ceb++];_0x46aa6a=_0x2aedc7,_0x157ab5=_0x43a7f2,_0x5eb97b=_0x5872ca,_0x27e424=_0x4d8a78;}var _0x2aedc7=(_0x15977b[_0x46aa6a>>>0x18]<<0x18|_0x15977b[_0x157ab5>>>0x10&0xff]<<0x10|_0x15977b[_0x5eb97b>>>0x8&0xff]<<0x8|_0x15977b[_0x27e424&0xff])^_0x2bd507[_0x5f1ceb++],_0x43a7f2=(_0x15977b[_0x157ab5>>>0x18]<<0x18|_0x15977b[_0x5eb97b>>>0x10&0xff]<<0x10|_0x15977b[_0x27e424>>>0x8&0xff]<<0x8|_0x15977b[_0x46aa6a&0xff])^_0x2bd507[_0x5f1ceb++],_0x5872ca=(_0x15977b[_0x5eb97b>>>0x18]<<0x18|_0x15977b[_0x27e424>>>0x10&0xff]<<0x10|_0x15977b[_0x46aa6a>>>0x8&0xff]<<0x8|_0x15977b[_0x157ab5&0xff])^_0x2bd507[_0x5f1ceb++],_0x4d8a78=(_0x15977b[_0x27e424>>>0x18]<<0x18|_0x15977b[_0x46aa6a>>>0x10&0xff]<<0x10|_0x15977b[_0x157ab5>>>0x8&0xff]<<0x8|_0x15977b[_0x5eb97b&0xff])^_0x2bd507[_0x5f1ceb++];_0x4aae0d[_0x4b8dac]=_0x2aedc7,_0x4aae0d[_0x4b8dac+0x1]=_0x43a7f2,_0x4aae0d[_0x4b8dac+0x2]=_0x5872ca,_0x4aae0d[_0x4b8dac+0x3]=_0x4d8a78;},'keySize':0x100/0x20});_0x344a6d['AES']=_0x1fa74a['_createHelper'](_0x5591ca);}()),_0x380400[_0x2996a9(0x63d)];}));}(_0x1f0260));var _0x21f343=_0x1f0260[_0x1bb47d(0x1fd)];const _0x1b909a=_0x336dd0(_0x21f343);var _0x5e3e46=_0x10c3e1();const _0x4fe6c1=_0x336dd0(_0x5e3e46);var _0x3898b4={'exports':{}};(function(_0xe77fda,_0x4b7815){(function(_0x249b74,_0x1d1294){const _0x8e38cc=_0x27a5;_0xe77fda[_0x8e38cc(0x1fd)]=_0x1d1294(_0x541f6d());}(_0x11540d,function(_0x3e16ee){const _0x6857e9=_0x27a5;return _0x3e16ee[_0x6857e9(0x554)][_0x6857e9(0x46f)];}));}(_0x3898b4));var _0x236274=_0x3898b4[_0x1bb47d(0x1fd)];const _0x1371ff=_0x336dd0(_0x236274);var _0x1337ce={'exports':{}};(function(_0x1bc4e5,_0x28edcb){(function(_0x40c638,_0x44d616){const _0x42622a=_0x27a5;_0x1bc4e5[_0x42622a(0x1fd)]=_0x44d616(_0x541f6d());}(_0x11540d,function(_0x430b2f){const _0xe3480e=_0x27a5;return(function(){const _0x59cae1=_0x27a5;if(typeof ArrayBuffer==_0x59cae1(0x694)){var _0x4a5efe=_0x430b2f,_0xe577cf=_0x4a5efe['lib'],_0x16dc90=_0xe577cf[_0x59cae1(0x299)],_0x3e2c66=_0x16dc90[_0x59cae1(0x2a2)],_0x2348e1=_0x16dc90[_0x59cae1(0x2a2)]=function(_0x34fc2e){const _0x2515da=_0x59cae1;if(_0x34fc2e instanceof ArrayBuffer&&(_0x34fc2e=new Uint8Array(_0x34fc2e)),(_0x34fc2e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x34fc2e instanceof Uint8ClampedArray||_0x34fc2e instanceof Int16Array||_0x34fc2e instanceof Uint16Array||_0x34fc2e instanceof Int32Array||_0x34fc2e instanceof Uint32Array||_0x34fc2e instanceof Float32Array||_0x34fc2e instanceof Float64Array)&&(_0x34fc2e=new Uint8Array(_0x34fc2e[_0x2515da(0x4ae)],_0x34fc2e[_0x2515da(0x509)],_0x34fc2e[_0x2515da(0x5aa)])),_0x34fc2e instanceof Uint8Array){for(var _0x1aa6ca=_0x34fc2e[_0x2515da(0x5aa)],_0x2ca1ed=[],_0x136215=0x0;_0x136215<_0x1aa6ca;_0x136215++)_0x2ca1ed[_0x136215>>>0x2]|=_0x34fc2e[_0x136215]<<0x18-_0x136215%0x4*0x8;_0x3e2c66[_0x2515da(0x4be)](this,_0x2ca1ed,_0x1aa6ca);}else _0x3e2c66['apply'](this,arguments);};_0x2348e1[_0x59cae1(0x2ae)]=_0x16dc90;}}()),_0x430b2f['lib'][_0xe3480e(0x299)];}));}(_0x1337ce));var _0x4c618f=_0x1337ce[_0x1bb47d(0x1fd)];const _0x317861=_0x336dd0(_0x4c618f);var _0x4876bb={'exports':{}};(function(_0x3e14be,_0x1ae6f2){(function(_0x40a315,_0x2554fc,_0x24d7a2){const _0x5f1918=_0x27a5;_0x3e14be[_0x5f1918(0x1fd)]=_0x2554fc(_0x541f6d(),_0x1b7204());}(_0x11540d,function(_0x1c78ac){const _0x51cb36=_0x27a5;return _0x1c78ac['pad'][_0x51cb36(0x366)]={'pad':function(){},'unpad':function(){}},_0x1c78ac[_0x51cb36(0x2b6)][_0x51cb36(0x366)];}));}(_0x4876bb));var _0x2b0556=_0x4876bb[_0x1bb47d(0x1fd)];const _0x4705cc=_0x336dd0(_0x2b0556);function _0x5e6948(_0x1aca5e,_0x258e40){const _0x35f714=_0x1bb47d,_0x1afd47=_0x258e40-_0x1aca5e[_0x35f714(0x458)]%_0x258e40,_0x1b8676=String[_0x35f714(0x5d9)](_0x1afd47)[_0x35f714(0x298)](_0x1afd47);return _0x1aca5e+_0x1b8676;}function _0x4ea9ad(_0x2ca632,_0x274007){const _0x316dac=_0x1bb47d,_0x407def=_0x317861['random'](0x10),_0x42245c=_0x5e6948(_0x2ca632,0x10),_0x2a4883=_0x1b909a['encrypt'](_0x1371ff[_0x316dac(0x376)](_0x42245c),_0x4fe6c1['parse'](_0x274007),{'iv':_0x407def,'padding':_0x4705cc});return _0x407def['concat'](_0x2a4883['ciphertext'])[_0x316dac(0x630)](_0x4fe6c1);}function _0x2d07f2(){const _0x154464=_0x1bb47d,_0x542ec2=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x542ec2){const _0x25820d={'time':Math[_0x154464(0x659)](Date[_0x154464(0x520)]()/0x3e8),'domain':location[_0x154464(0x1ca)]};return _0x4ea9ad(JSON[_0x154464(0x5f5)](_0x25820d),_0x542ec2);}}var _0x107dbc=Object['defineProperty'],_0x4880e7=Object[_0x1bb47d(0x276)],_0x515693=(_0x2e3e2f,_0x293044,_0x5059ab,_0x2c2d1a)=>{const _0x19ebd6=_0x1bb47d;for(var _0x204120=_0x2c2d1a>0x1?void 0x0:_0x2c2d1a?_0x4880e7(_0x293044,_0x5059ab):_0x293044,_0x5bfaa5=_0x2e3e2f[_0x19ebd6(0x458)]-0x1,_0x3af284;_0x5bfaa5>=0x0;_0x5bfaa5--)(_0x3af284=_0x2e3e2f[_0x5bfaa5])&&(_0x204120=(_0x2c2d1a?_0x3af284(_0x293044,_0x5059ab,_0x204120):_0x3af284(_0x204120))||_0x204120);return _0x2c2d1a&&_0x204120&&_0x107dbc(_0x293044,_0x5059ab,_0x204120),_0x204120;},_0x5c0e0e=(_0x5aa9ca,_0x5145c4)=>(_0x347178,_0x1d25f3)=>_0x5145c4(_0x347178,_0x1d25f3,_0x5aa9ca);let _0x501547=class{constructor(_0x5b6e1f){const _0x148915=_0x1bb47d;this[_0x148915(0x680)]=_0x5b6e1f,this['_initRequestHeader']();}[_0x1bb47d(0x4f2)](){const _0x384151=_0x1bb47d;this[_0x384151(0x680)][_0x384151(0x634)]({'interceptor':(_0x2c1366,_0x24cbe5)=>{const _0x4189ef=_0x384151,_0x356974=_0x2c1366[_0x4189ef(0x541)],_0x1700a7=_0x2d07f2();return _0x1700a7&&_0x356974['set'](_0x4189ef(0x3b3),_0x1700a7),_0x24cbe5(_0x2c1366);}});}};_0x501547=_0x515693([_0x5c0e0e(0x0,_0x2a6157[_0x1bb47d(0x439)](_0x145c4f[_0x1bb47d(0x255)]))],_0x501547);var _0x27f1ba=Object[_0x1bb47d(0x368)],_0x22c316=Object[_0x1bb47d(0x276)],_0x5c8a83=(_0x210e6d,_0x524edd,_0x546746,_0x3489ed)=>{const _0x267e9c=_0x1bb47d;for(var _0x1a9931=_0x3489ed>0x1?void 0x0:_0x3489ed?_0x22c316(_0x524edd,_0x546746):_0x524edd,_0x16b144=_0x210e6d[_0x267e9c(0x458)]-0x1,_0x7f916b;_0x16b144>=0x0;_0x16b144--)(_0x7f916b=_0x210e6d[_0x16b144])&&(_0x1a9931=(_0x3489ed?_0x7f916b(_0x524edd,_0x546746,_0x1a9931):_0x7f916b(_0x1a9931))||_0x1a9931);return _0x3489ed&&_0x1a9931&&_0x27f1ba(_0x524edd,_0x546746,_0x1a9931),_0x1a9931;},_0xe39bd5=(_0x2a1d12,_0x471fca)=>(_0x1fe5c8,_0x3a0408)=>_0x471fca(_0x1fe5c8,_0x3a0408,_0x2a1d12);const _0xd09a32=[_0x1bb47d(0x34c),_0x1bb47d(0x321),_0x1bb47d(0x206),'image/gif',_0x1bb47d(0x4e4)],_0x2f9251=0x5*0x400*0x400,_0x2fa582=_0x1bb47d(0x664),_0x19850b=_0x1bb47d(0x556),_0x4f5e98=_0x1bb47d(0x224),_0x414b1c=_0x1bb47d(0x349);_0x439f5['ImageIoService']=class{constructor(_0x46de26,_0x4e8d44,_0x36fc90){const _0x425c0d=_0x1bb47d;_0x538cec(this,_0x425c0d(0x665),0x0),_0x538cec(this,'_change$',new _0x59070a['Subject']()),_0x538cec(this,'change$',this[_0x425c0d(0x61a)]),_0x538cec(this,_0x425c0d(0x63f),new Map()),(this[_0x425c0d(0x680)]=_0x46de26,this[_0x425c0d(0x5a4)]=_0x4e8d44,this[_0x425c0d(0x522)]=_0x36fc90);}[_0x1bb47d(0x519)](_0x364666){const _0x2d2d7d=_0x1bb47d;this['_waitCount']=_0x364666,this[_0x2d2d7d(0x61a)]['next'](_0x364666);}['getImageSourceCache'](_0x1793f2,_0x293cde){const _0x4242d2=_0x1bb47d;if(_0x293cde===_0x559dab[_0x4242d2(0x261)][_0x4242d2(0x3da)]){const _0x56d8d5=new Image();return _0x56d8d5[_0x4242d2(0x66a)]=_0x1793f2,_0x56d8d5;}return this[_0x4242d2(0x63f)][_0x4242d2(0x55e)](_0x1793f2);}[_0x1bb47d(0x53c)](_0x27230c,_0x63ee3e,_0x4c8487){const _0x11e178=_0x1bb47d;_0x63ee3e===_0x559dab[_0x11e178(0x261)][_0x11e178(0x3da)]||_0x4c8487==null||this['_imageSourceCache'][_0x11e178(0x674)](_0x27230c,_0x4c8487);}async['getImage'](_0x5c5aae){const _0x5169fb=_0x1bb47d;try{const _0x2d92b8=this['_replaceFileID'](this[_0x5169fb(0x544)](),''+_0x5c5aae),_0x3c5152=(await this[_0x5169fb(0x680)][_0x5169fb(0x55e)](_0x2d92b8))['body'];if(_0x3c5152[_0x5169fb(0x5c9)]&&_0x3c5152[_0x5169fb(0x5c9)]['code']===_0x93929f['OK']){const _0x599334=new URL(_0x3c5152['url'],this[_0x5169fb(0x1e5)]())[_0x5169fb(0x630)]();return Promise[_0x5169fb(0x335)](_0x599334);}return Promise[_0x5169fb(0x3ef)](_0x3c5152['error']);}catch(_0x36a54e){return Promise['reject'](_0x36a54e);}}async[_0x1bb47d(0x239)](_0x1e72a2){const _0x1dc015=_0x1bb47d;let _0x1a2f4b='';if(!_0xd09a32[_0x1dc015(0x5e7)](_0x1e72a2[_0x1dc015(0x451)]))return this[_0x1dc015(0x5a8)](),Promise['reject'](new Error(_0x559dab['ImageUploadStatusType'][_0x1dc015(0x62a)]));if(_0x1e72a2['size']>_0x2f9251)return this[_0x1dc015(0x5a8)](),Promise['reject'](new Error(_0x559dab[_0x1dc015(0x408)][_0x1dc015(0x413)]));try{const _0x2f4f96=new FormData();_0x2f4f96[_0x1dc015(0x49d)](_0x1dc015(0x5fa),_0x1e72a2);const _0x590cdd=this[_0x1dc015(0x522)]['getFocusedUnit'](),_0x58ef45=_0x590cdd==null?void 0x0:_0x590cdd['getUnitId']();if(!_0x58ef45)throw new Error(_0x1dc015(0x38a));const _0x18f666=this[_0x1dc015(0x47e)]()+_0x1dc015(0x1fb)+_0x1e72a2[_0x1dc015(0x5c1)]['toString']()+_0x1dc015(0x38e)+_0x23a8e3[_0x1dc015(0x5ee)]+_0x1dc015(0x62e)+encodeURIComponent(_0x58ef45),_0x5dd2ef=await(await fetch(_0x18f666,{'method':_0x1dc015(0x510),'body':_0x2f4f96}))[_0x1dc015(0x477)]();if(typeof _0x5dd2ef[_0x1dc015(0x30d)]!=_0x1dc015(0x5e2))return this[_0x1dc015(0x5a8)](),Promise[_0x1dc015(0x3ef)](new Error(_0x559dab[_0x1dc015(0x408)][_0x1dc015(0x2d7)]));_0x1a2f4b=_0x5dd2ef['FileId'];}catch{return this['_decreaseWaiting'](),Promise[_0x1dc015(0x3ef)](new Error(_0x559dab[_0x1dc015(0x408)][_0x1dc015(0x2d7)]));}return new Promise((_0x1c5c3d,_0x4467d8)=>{const _0x2ac654=new FileReader();_0x2ac654['readAsDataURL'](_0x1e72a2),_0x2ac654['onload']=_0x4ac7c7=>{const _0x4c06bb=_0x27a5;var _0x307ea1;const _0x1a2357=(_0x307ea1=_0x4ac7c7[_0x4c06bb(0x595)])==null?void 0x0:_0x307ea1['result'];if(_0x1a2357==null){this[_0x4c06bb(0x5a8)](),_0x4467d8(new Error(_0x559dab[_0x4c06bb(0x408)][_0x4c06bb(0x2d7)]));return;}const _0x240e96=_0x2a6157[_0x4c06bb(0x3e5)][_0x4c06bb(0x5e4)](0x6);_0x1c5c3d({'imageId':_0x240e96,'imageSourceType':_0x559dab[_0x4c06bb(0x261)][_0x4c06bb(0x3fc)],'source':_0x1a2f4b,'base64Cache':_0x1a2357,'status':_0x559dab['ImageUploadStatusType']['SUCCUSS']}),this[_0x4c06bb(0x5a8)]();};});}[_0x1bb47d(0x47e)](){const _0x1d9276=_0x1bb47d;var _0xdbf7ca,_0x1c8627;const _0x42ce81=this[_0x1d9276(0x5a4)][_0x1d9276(0x495)](_0x2fa582),_0x397d89=this['_configService'][_0x1d9276(0x495)](_0x2dabdd);return(_0x1c8627=(_0xdbf7ca=_0x397d89==null?void 0x0:_0x397d89[_0x1d9276(0x2fe)])!=null?_0xdbf7ca:_0x42ce81)!=null?_0x1c8627:_0x19850b;}['_getSignURL'](){const _0x15558b=_0x1bb47d;var _0x1b4b3f,_0x4bdf1d;const _0x3955a7=this['_configService'][_0x15558b(0x495)](_0x4f5e98),_0xa8877c=this['_configService']['getConfig'](_0x2dabdd);return(_0x4bdf1d=(_0x1b4b3f=_0xa8877c==null?void 0x0:_0xa8877c['signUrlServerUrl'])!=null?_0x1b4b3f:_0x3955a7)!=null?_0x4bdf1d:_0x414b1c;}[_0x1bb47d(0x1e5)](){const _0x481a81=_0x1bb47d;var _0x164bc7;const _0x4aab37=this[_0x481a81(0x5a4)][_0x481a81(0x495)](_0x2dabdd);return(_0x164bc7=_0x4aab37==null?void 0x0:_0x4aab37['downloadEndpointUrl'])!=null?_0x164bc7:location[_0x481a81(0x47c)];}[_0x1bb47d(0x395)](_0x4b814e,_0x51dd06){const _0x168ad8=_0x1bb47d;return _0x4b814e[_0x168ad8(0x4f1)](_0x168ad8(0x52f),_0x51dd06);}['_decreaseWaiting'](){const _0x269b33=_0x1bb47d;this[_0x269b33(0x665)]-=0x1,this['_change$']['next'](this[_0x269b33(0x665)]);}},_0x439f5[_0x1bb47d(0x32e)]=_0x5c8a83([_0xe39bd5(0x0,_0x2a6157['Inject'](_0x145c4f[_0x1bb47d(0x255)])),_0xe39bd5(0x1,_0x2a6157[_0x1bb47d(0x65a)]),_0xe39bd5(0x2,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x59c)]))],_0x439f5[_0x1bb47d(0x32e)]);var _0x17a730=Object[_0x1bb47d(0x368)],_0xd006ff=Object[_0x1bb47d(0x276)],_0x44592d=(_0x173cf6,_0x204df4,_0x5bf794,_0x223b52)=>{const _0x799a1d=_0x1bb47d;for(var _0x435d79=_0x223b52>0x1?void 0x0:_0x223b52?_0xd006ff(_0x204df4,_0x5bf794):_0x204df4,_0x18829e=_0x173cf6[_0x799a1d(0x458)]-0x1,_0x38d549;_0x18829e>=0x0;_0x18829e--)(_0x38d549=_0x173cf6[_0x18829e])&&(_0x435d79=(_0x223b52?_0x38d549(_0x204df4,_0x5bf794,_0x435d79):_0x38d549(_0x435d79))||_0x435d79);return _0x223b52&&_0x435d79&&_0x17a730(_0x204df4,_0x5bf794,_0x435d79),_0x435d79;},_0x4e81ec=(_0x3f651d,_0x40bbe2)=>(_0x3e2adb,_0x380820)=>_0x40bbe2(_0x3e2adb,_0x380820,_0x3f651d);let _0x441be0=class extends _0x2a6157[_0x1bb47d(0x3ff)]{constructor(_0x35690d,_0x434b50,_0x63013f,_0xd67942,_0x1cc810){const _0x15ff7a=_0x1bb47d;super(),this[_0x15ff7a(0x4b6)]=_0x35690d,this['_univerInstanceService']=_0x434b50,this[_0x15ff7a(0x475)]=_0x63013f,this[_0x15ff7a(0x2bd)]=_0xd67942,this[_0x15ff7a(0x682)]=_0x1cc810,this[_0x15ff7a(0x656)](),this[_0x15ff7a(0x3d6)]();}[_0x1bb47d(0x3d6)](){const _0x2c623b=_0x1bb47d,_0x209a5e=async _0x4cc044=>{const _0x2433e4=_0x27a5;(await this[_0x2433e4(0x2bd)][_0x2433e4(0x54c)](_0x4cc044))['event$'][_0x2433e4(0x4b3)](_0x12f2af['filter'](_0x19ed1a=>_0x19ed1a[_0x2433e4(0x429)]===_0x63ab19[_0x2433e4(0x497)][_0x2433e4(0x252)]),_0x12f2af[_0x2433e4(0x422)](this[_0x2433e4(0x3a3)]))[_0x2433e4(0x551)](_0x34abdc=>{const _0x58ec1a=_0x2433e4,_0x571a0a=_0x34abdc,{reason:_0x12069b}=_0x571a0a[_0x58ec1a(0x1d8)];this[_0x58ec1a(0x4b6)][_0x58ec1a(0x55e)](_0x4c9f9a[_0x58ec1a(0x527)])[_0x58ec1a(0x58f)]({'type':_0x407879['MessageType'][_0x58ec1a(0x305)],'content':this[_0x58ec1a(0x682)]['t'](_0x58ec1a(0x3b0))+'('+_0x12069b+')'}),this[_0x58ec1a(0x475)][_0x58ec1a(0x4a3)](new _0xeac940[(_0x58ec1a(0x53e))](_0x4cc044)['id'],!0x1),this[_0x58ec1a(0x2bd)][_0x58ec1a(0x601)](_0x4cc044);});};_0x59070a['merge'](this[_0x2c623b(0x522)][_0x2c623b(0x219)](_0x2a6157[_0x2c623b(0x1ff)][_0x2c623b(0x560)]),this[_0x2c623b(0x522)][_0x2c623b(0x219)](_0x2a6157[_0x2c623b(0x1ff)][_0x2c623b(0x328)]))[_0x2c623b(0x4b3)](_0x12f2af[_0x2c623b(0x616)](_0x562d52=>_0x562d52[_0x2c623b(0x679)]()),_0x12f2af['filter'](_0x35a299=>!_0x2a6157['isInternalEditorID'](_0x35a299)),_0x12f2af[_0x2c623b(0x422)](this[_0x2c623b(0x3a3)]))[_0x2c623b(0x551)](_0x5cff15=>{_0x209a5e(_0x5cff15);});}[_0x1bb47d(0x656)](){const _0x567ee3=_0x1bb47d,_0x31c379=async _0x51828c=>{const _0x32594f=_0x27a5;(await this[_0x32594f(0x2bd)][_0x32594f(0x54c)](_0x51828c))['event$'][_0x32594f(0x4b3)](_0x12f2af[_0x32594f(0x3e4)](_0x4656e5=>_0x4656e5['eventID']===_0x63ab19[_0x32594f(0x497)][_0x32594f(0x22d)]),_0x12f2af[_0x32594f(0x422)](this[_0x32594f(0x3a3)]))[_0x32594f(0x551)](_0x4b5f18=>{const _0x30eda1=_0x32594f,_0x25f84a=_0x4b5f18,{objectId:_0x4ef711}=_0x25f84a[_0x30eda1(0x1d8)],_0x24a731=this[_0x30eda1(0x4b6)]['get'](_0x4d9cae['SheetPermissionInitController']);_0x4ef711===_0x51828c?_0x24a731[_0x30eda1(0x31a)](_0x51828c):_0x24a731['refreshPermission'](_0x51828c,_0x4ef711);});};_0x59070a[_0x567ee3(0x545)](this[_0x567ee3(0x522)][_0x567ee3(0x219)](_0x2a6157[_0x567ee3(0x1ff)][_0x567ee3(0x560)]),this['_univerInstanceService'][_0x567ee3(0x219)](_0x2a6157[_0x567ee3(0x1ff)][_0x567ee3(0x328)]))[_0x567ee3(0x4b3)](_0x12f2af[_0x567ee3(0x616)](_0x37de0d=>_0x37de0d['getUnitId']()),_0x12f2af[_0x567ee3(0x3e4)](_0x5ee7da=>!_0x2a6157['isInternalEditorID'](_0x5ee7da)),_0x12f2af[_0x567ee3(0x422)](this[_0x567ee3(0x3a3)]))[_0x567ee3(0x551)](_0x5dcc06=>{_0x31c379(_0x5dcc06);});}};_0x441be0=_0x44592d([_0x4e81ec(0x0,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x5a7)])),_0x4e81ec(0x1,_0x2a6157[_0x1bb47d(0x59c)]),_0x4e81ec(0x2,_0x2a6157['IPermissionService']),_0x4e81ec(0x3,_0x2a6157[_0x1bb47d(0x439)](_0x439f5[_0x1bb47d(0x49e)])),_0x4e81ec(0x4,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x308)]))],_0x441be0);var _0x580b38=Object[_0x1bb47d(0x368)],_0x1353ba=Object['getOwnPropertyDescriptor'],_0x5f0833=(_0x18760,_0x44cfcc,_0x161938,_0x30b590)=>{const _0x42f37d=_0x1bb47d;for(var _0x10d782=_0x30b590>0x1?void 0x0:_0x30b590?_0x1353ba(_0x44cfcc,_0x161938):_0x44cfcc,_0xd7cd30=_0x18760[_0x42f37d(0x458)]-0x1,_0x1ff0a5;_0xd7cd30>=0x0;_0xd7cd30--)(_0x1ff0a5=_0x18760[_0xd7cd30])&&(_0x10d782=(_0x30b590?_0x1ff0a5(_0x44cfcc,_0x161938,_0x10d782):_0x1ff0a5(_0x10d782))||_0x10d782);return _0x30b590&&_0x10d782&&_0x580b38(_0x44cfcc,_0x161938,_0x10d782),_0x10d782;},_0x215361=(_0xe2111,_0x1bc55d)=>(_0x2167e5,_0x47e963)=>_0x1bc55d(_0x2167e5,_0x47e963,_0xe2111);_0x439f5[_0x1bb47d(0x61f)]=class{constructor(_0x41a7c4,_0x395041){const _0x526900=_0x1bb47d;this[_0x526900(0x5a4)]=_0x41a7c4,this[_0x526900(0x680)]=_0x395041;}async[_0x1bb47d(0x398)](_0x41d5aa,_0x133ef7){const _0x11c829=_0x1bb47d;var _0xcd4827;const {unitID:_0x1d733d,type:_0xe3ecc3,revision:_0x4b5d16=0x0}=_0x133ef7,_0x1f1b56=this[_0x11c829(0x666)]()+'/'+_0xe3ecc3+_0x11c829(0x27b)+_0x1d733d+_0x11c829(0x51d)+_0x4b5d16,_0x38996a=(await this['_httpService'][_0x11c829(0x55e)](_0x1f1b56))[_0x11c829(0x358)],_0xf2cf50=(_0xcd4827=_0x38996a[_0x11c829(0x33a)])==null?void 0x0:_0xcd4827[_0x11c829(0x2c2)];if(_0xf2cf50){const _0x354b35=_0xf2cf50==null?void 0x0:_0xf2cf50[_0x11c829(0x4b5)],_0x2b227e=_0x63ab19['textEncoder'][_0x11c829(0x1f9)](_0x63ab19[_0x11c829(0x5de)](_0x354b35));_0xf2cf50['originalMeta']=_0x2b227e,Object['entries'](_0xf2cf50['sheets'])[_0x11c829(0x4bb)](([,_0x47ee64])=>{const _0x199479=_0x11c829,_0x55df7=_0x47ee64[_0x199479(0x4b5)],_0x241205=_0x63ab19[_0x199479(0x5ce)][_0x199479(0x1f9)](_0x63ab19['b64DecodeUnicode'](_0x55df7));_0x47ee64[_0x199479(0x4b5)]=_0x241205;});}return _0x38996a;}async[_0x1bb47d(0x3c7)](_0x56c72a,_0x3698ed){const _0x141b38=_0x1bb47d,{unitID:_0x40bc3b,type:_0x1b481a,blockID:_0x4a7a67}=_0x3698ed,_0x14dc54=this['_getAPIPrefix']()+'/'+_0x1b481a+'/unit/'+_0x40bc3b+_0x141b38(0x64d)+_0x4a7a67;return(await this[_0x141b38(0x680)]['get'](_0x14dc54))[_0x141b38(0x358)];}async[_0x1bb47d(0x409)](_0x353ce8,_0x5e04c0){const _0x54e6c2=_0x1bb47d,{unitID:_0xc8ef8f,type:_0x57eee9,blockID:_0x42c565}=_0x5e04c0,_0x50a54d=this[_0x54e6c2(0x498)]()+_0x54e6c2(0x64d)+_0x57eee9+_0x54e6c2(0x27b)+_0xc8ef8f+'/block/'+_0x42c565;return(await this[_0x54e6c2(0x680)][_0x54e6c2(0x55e)](_0x50a54d))[_0x54e6c2(0x358)];}async[_0x1bb47d(0x29f)](_0x5dc859,_0x2ada18){const _0x53435d=_0x1bb47d,{unitID:_0x2fb4e2,type:_0xa99490,from:_0x569150,to:_0x1d19d8}=_0x2ada18,_0x132efc=this[_0x53435d(0x498)]()+'/'+_0xa99490+_0x53435d(0x27b)+_0x2fb4e2+_0x53435d(0x23f)+_0x569150+_0x53435d(0x282)+_0x1d19d8;return(await this[_0x53435d(0x680)][_0x53435d(0x55e)](_0x132efc))[_0x53435d(0x358)];}[_0x1bb47d(0x666)](){const _0x4fd669=_0x1bb47d;var _0x2a89a7;return(_0x2a89a7=this[_0x4fd669(0x5a4)][_0x4fd669(0x495)](_0x2ecd96))!=null?_0x2a89a7:this[_0x4fd669(0x498)]();}[_0x1bb47d(0x498)](){const _0x5101a0=_0x1bb47d;var _0x50e2c7,_0x48451e;const _0x316653=this[_0x5101a0(0x5a4)]['getConfig'](_0x90b128),_0x581937=this[_0x5101a0(0x5a4)][_0x5101a0(0x495)](_0x2dabdd);return(_0x48451e=(_0x50e2c7=_0x581937==null?void 0x0:_0x581937['snapshotServerUrl'])!=null?_0x50e2c7:_0x316653)!=null?_0x48451e:_0x20abae;}async[_0x1bb47d(0x692)](_0x292a54,_0x100a4d){const _0x270293=_0x1bb47d,_0x4cac09=_0x270293(0x26d)+_0x100a4d['type']+'/unit/'+_0x100a4d[_0x270293(0x482)]+_0x270293(0x603);return(await this['_httpService'][_0x270293(0x55e)](_0x4cac09,{'params':{'resourceId':JSON[_0x270293(0x5f5)](_0x100a4d[_0x270293(0x446)])}}))[_0x270293(0x358)];}[_0x1bb47d(0x26c)](){const _0x5845f6=_0x1bb47d;throw new Error(_0x5845f6(0x4a8));}[_0x1bb47d(0x35d)](){const _0x587a79=_0x1bb47d;throw new Error(_0x587a79(0x4a8));}[_0x1bb47d(0x21c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1bb47d(0x631)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1bb47d(0x50c)](){const _0x25af28=_0x1bb47d;throw new Error(_0x25af28(0x4a8));}},_0x439f5[_0x1bb47d(0x61f)]=_0x5f0833([_0x215361(0x0,_0x2a6157[_0x1bb47d(0x65a)]),_0x215361(0x1,_0x2a6157[_0x1bb47d(0x439)](_0x145c4f[_0x1bb47d(0x255)]))],_0x439f5[_0x1bb47d(0x61f)]);var _0x375a05=Object[_0x1bb47d(0x368)],_0x4c889b=Object[_0x1bb47d(0x276)],_0x4cc152=(_0x38f0fc,_0x1293bc,_0x5c311c,_0x311958)=>{const _0x2469df=_0x1bb47d;for(var _0x4f698e=_0x311958>0x1?void 0x0:_0x311958?_0x4c889b(_0x1293bc,_0x5c311c):_0x1293bc,_0x1174f5=_0x38f0fc[_0x2469df(0x458)]-0x1,_0x31b1a6;_0x1174f5>=0x0;_0x1174f5--)(_0x31b1a6=_0x38f0fc[_0x1174f5])&&(_0x4f698e=(_0x311958?_0x31b1a6(_0x1293bc,_0x5c311c,_0x4f698e):_0x31b1a6(_0x4f698e))||_0x4f698e);return _0x311958&&_0x4f698e&&_0x375a05(_0x1293bc,_0x5c311c,_0x4f698e),_0x4f698e;},_0x5f54ff=(_0x97127,_0x133eb2)=>(_0x3de22b,_0x3b27b3)=>_0x133eb2(_0x3de22b,_0x3b27b3,_0x97127);let _0x41e729=class extends _0x2a6157[_0x1bb47d(0x23c)]{constructor(_0x3b8743,_0x23788d,_0x5de254,_0x1c791d,_0x3ee428){const _0xe6bf88=_0x1bb47d;super(_0x3b8743,_0x23788d,_0x5de254),this[_0xe6bf88(0x301)]=_0x1c791d,this[_0xe6bf88(0x434)]=_0x3ee428;}[_0x1bb47d(0x2e1)](_0x4a78bf,_0x245d02){const _0x501a71=_0x1bb47d,_0x4043d0=this['_getUndoStack'](_0x4a78bf);if(_0x4043d0)try{const _0x4ce4d5=this[_0x501a71(0x592)](_0x4043d0,_0x245d02);this[_0x501a71(0x2f7)](_0x4a78bf,_0x4ce4d5);}catch(_0x5e6bde){this[_0x501a71(0x434)][_0x501a71(0x5c9)](_0x501a71(0x3f4),_0x5e6bde),this[_0x501a71(0x4bc)](_0x4a78bf);}const _0x143035=this[_0x501a71(0x1d7)](_0x4a78bf);if(_0x143035)try{const _0x5ca9de=this[_0x501a71(0x592)](_0x143035,_0x245d02);this[_0x501a71(0x28f)](_0x4a78bf,_0x5ca9de);}catch(_0x654561){this['_logService']['error'](_0x654561),this['_clearRedo'](_0x4a78bf);}}[_0x1bb47d(0x4bc)](_0x40c291){const _0x4f868d=_0x1bb47d,_0xb567e4=this[_0x4f868d(0x2f5)](_0x40c291);_0xb567e4&&(_0xb567e4[_0x4f868d(0x458)]=0x0,this[_0x4f868d(0x48b)]());}[_0x1bb47d(0x4a0)](_0x82e717){const _0x757694=_0x1bb47d,_0x5f0090=this[_0x757694(0x1d7)](_0x82e717);_0x5f0090&&(_0x5f0090['length']=0x0,this[_0x757694(0x48b)]());}[_0x1bb47d(0x2f7)](_0x2ca7e5,_0x462e57){const _0x51b469=_0x1bb47d;this[_0x51b469(0x279)]['set'](_0x2ca7e5,_0x462e57),this[_0x51b469(0x48b)]();}[_0x1bb47d(0x28f)](_0x28b096,_0x442ae3){const _0x676671=_0x1bb47d;this[_0x676671(0x215)][_0x676671(0x674)](_0x28b096,_0x442ae3),this[_0x676671(0x48b)]();}[_0x1bb47d(0x592)](_0x50e92c,_0x204a2e){const _0x4d33fc=_0x1bb47d,_0x4ec973=[];let _0x4ba3c7=_0x204a2e,_0x127cf7=_0x204a2e;for(let _0x34b17b=_0x50e92c[_0x4d33fc(0x458)]-0x1;_0x34b17b>=0x0;_0x34b17b--){const {unitID:_0x690a22,undoMutations:_0x39990f,redoMutations:_0x32085f}=_0x50e92c[_0x34b17b],_0x579fc2=this[_0x4d33fc(0x301)]['transformMutationsWithChangeset'](_0x4ba3c7,_0x39990f),_0x43c591=this['_transformService']['transformMutationsWithChangeset'](_0x127cf7,_0x32085f);if(_0x63ab19[_0x4d33fc(0x537)](_0x579fc2)||_0x63ab19[_0x4d33fc(0x537)](_0x43c591)){this[_0x4d33fc(0x434)][_0x4d33fc(0x5c9)]('[CollaborationUndoRedoService]',_0x4d33fc(0x691),_0x579fc2,_0x43c591);break;}_0x4ba3c7=_0x579fc2[_0x4d33fc(0x4d7)],_0x127cf7=_0x43c591[_0x4d33fc(0x4d7)],_0x4ec973[_0x4d33fc(0x67d)]({'unitID':_0x690a22,'undoMutations':_0x579fc2['m2Prime'],'redoMutations':_0x43c591['m2Prime']});}return _0x4ec973[_0x4d33fc(0x1d0)]();}};_0x41e729=_0x4cc152([_0x5f54ff(0x0,_0x2a6157[_0x1bb47d(0x59c)]),_0x5f54ff(0x1,_0x2a6157[_0x1bb47d(0x3fa)]),_0x5f54ff(0x2,_0x2a6157[_0x1bb47d(0x2e2)]),_0x5f54ff(0x3,_0x63ab19[_0x1bb47d(0x32b)]),_0x5f54ff(0x4,_0x2a6157[_0x1bb47d(0x5b9)])],_0x41e729);class _0x33ed4b extends _0x2a6157[_0x1bb47d(0x3ff)]{constructor(){const _0x3961ba=_0x1bb47d;super(),_0x538cec(this,_0x3961ba(0x60f)),this[_0x3961ba(0x60f)]=_0x59070a[_0x3961ba(0x3ab)](window,_0x3961ba(0x5fc))[_0x3961ba(0x4b3)](_0x59070a[_0x3961ba(0x422)](this[_0x3961ba(0x3a3)]),_0x59070a[_0x3961ba(0x626)](0x1),_0x59070a[_0x3961ba(0x2d2)](void 0x0));}[_0x1bb47d(0x246)](_0x56c151,_0x5873fb,_0x369002=!0x1){const _0x501e74=_0x1bb47d,_0x139f03=new URL(window[_0x501e74(0x2c6)][_0x501e74(0x530)]);_0x139f03['searchParams'][_0x501e74(0x674)](_0x56c151,_0x5873fb),_0x369002?window['history'][_0x501e74(0x30e)]('','',_0x139f03[_0x501e74(0x630)]()):window[_0x501e74(0x588)][_0x501e74(0x565)]('','',_0x139f03[_0x501e74(0x630)]());}[_0x1bb47d(0x571)](_0x2eb9b6,_0x45d8b8=!0x1){const _0x5a5d57=_0x1bb47d,_0x268e51=new URL(window['location']['href']);_0x268e51['searchParams'][_0x5a5d57(0x5c7)](_0x2eb9b6),_0x45d8b8?window[_0x5a5d57(0x588)][_0x5a5d57(0x30e)]('','',_0x268e51['toString']()):window['history'][_0x5a5d57(0x565)]('','',_0x268e51[_0x5a5d57(0x630)]());}[_0x1bb47d(0x292)](_0x54bec9){const _0x24dac2=_0x1bb47d;var _0x8812b3;return(_0x8812b3=new URL(window[_0x24dac2(0x2c6)][_0x24dac2(0x530)])['searchParams'][_0x24dac2(0x55e)](_0x54bec9))!=null?_0x8812b3:void 0x0;}}var _0x3dc1f6=Object[_0x1bb47d(0x368)],_0x3c819c=Object['getOwnPropertyDescriptor'],_0x3733c0=(_0x39f8ca,_0x175e10,_0x15b6f8)=>_0x175e10 in _0x39f8ca?_0x3dc1f6(_0x39f8ca,_0x175e10,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15b6f8}):_0x39f8ca[_0x175e10]=_0x15b6f8,_0x5bd88d=(_0x1e5f79,_0x424311,_0x28eea7,_0x2e7dc5)=>{const _0x1a909c=_0x1bb47d;for(var _0x339ccc=_0x2e7dc5>0x1?void 0x0:_0x2e7dc5?_0x3c819c(_0x424311,_0x28eea7):_0x424311,_0x1979b9=_0x1e5f79[_0x1a909c(0x458)]-0x1,_0x3c4447;_0x1979b9>=0x0;_0x1979b9--)(_0x3c4447=_0x1e5f79[_0x1979b9])&&(_0x339ccc=(_0x2e7dc5?_0x3c4447(_0x424311,_0x28eea7,_0x339ccc):_0x3c4447(_0x339ccc))||_0x339ccc);return _0x2e7dc5&&_0x339ccc&&_0x3dc1f6(_0x424311,_0x28eea7,_0x339ccc),_0x339ccc;},_0x239ac4=(_0x475269,_0x1827cf)=>(_0x556f04,_0x5c7c6c)=>_0x1827cf(_0x556f04,_0x5c7c6c,_0x475269),_0x1056f3=(_0x61f490,_0x186955,_0x287d9f)=>_0x3733c0(_0x61f490,_0x186955+'',_0x287d9f);const _0x4a9a8a=_0x1bb47d(0x62f);_0x439f5['UniverCollaborationClientPlugin']=class extends _0x2a6157['Plugin']{constructor(_0x149e78=_0x556aef,_0x29f020,_0x538174,_0x5db3ef,_0x11de8b){const _0x5418de=_0x1bb47d;super(),this[_0x5418de(0x460)]=_0x149e78,this['_logService']=_0x29f020,this['_renderManagerService']=_0x538174,this[_0x5418de(0x4b6)]=_0x5db3ef,this[_0x5418de(0x5a4)]=_0x11de8b;const {..._0x5869a6}=this[_0x5418de(0x460)];this[_0x5418de(0x5a4)]['setConfig'](_0x2dabdd,_0x5869a6);}['onStarting'](){const _0x17c04c=_0x1bb47d;this['_registerDependencies'](),this[_0x17c04c(0x594)]();}[_0x1bb47d(0x1e0)](){const _0x30d929=_0x1bb47d;_0x2a6157['touchDependencies'](this[_0x30d929(0x4b6)],[[_0x481a76]]);}[_0x1bb47d(0x597)](){const _0x2a27fb=_0x1bb47d;this[_0x2a27fb(0x4d0)]();}[_0x1bb47d(0x1f3)](){const _0x21aa44=_0x1bb47d;var _0x3064e3,_0x2e8d6e,_0x47f959,_0x182a0f;this[_0x21aa44(0x4b6)][_0x21aa44(0x676)](_0x2a6157[_0x21aa44(0x4bf)])&&this['_logService'][_0x21aa44(0x5c9)]('[UniverCollaborationClientPlugin]',_0x21aa44(0x3ba));const _0x7f61fe=[[_0x2a6157[_0x21aa44(0x4bf)],{'useClass':_0x41e729}],[_0x439f5[_0x21aa44(0x49e)]],[_0x555674],[_0x179949,{'useClass':_0x33ed4b}],[_0x439f5['MemberService']],[_0x439f5['LocalCacheService']],[_0x145c4f[_0x21aa44(0x633)]],[_0x5128be],[_0x25b89c],[_0x328692],[_0x360c7d],[_0x46f788],[_0x32d92e],[_0x501547],[_0x1b88f9],[_0x441be0],[_0x4bc590,{'useClass':(_0x2e8d6e=(_0x3064e3=this[_0x21aa44(0x460)])==null?void 0x0:_0x3064e3[_0x21aa44(0x69c)])!=null?_0x2e8d6e:_0x439f5['CollaborationSocketService']}],[_0x63ab19['ISnapshotServerService'],{'useClass':_0x439f5[_0x21aa44(0x61f)]}],[_0x2a6157[_0x21aa44(0x3e3)],{'useClass':_0x439f5[_0x21aa44(0x49a)]}],[_0x559dab[_0x21aa44(0x5a5)],{'useClass':_0x439f5[_0x21aa44(0x32e)]}],[_0x439f5[_0x21aa44(0x314)]],[_0x439f5[_0x21aa44(0x21d)]],[_0x439f5[_0x21aa44(0x43e)]],[_0x481a76],[_0x38e1cd]];(_0x47f959=this[_0x21aa44(0x460)])!=null&&_0x47f959[_0x21aa44(0x2bf)]&&_0x7f61fe[_0x21aa44(0x67d)]([_0x4eeee0,{'useClass':_0x1af1cf}]),_0x2a6157[_0x21aa44(0x2ea)](this[_0x21aa44(0x4b6)],_0x2a6157[_0x21aa44(0x401)](_0x7f61fe,(_0x182a0f=this[_0x21aa44(0x460)])==null?void 0x0:_0x182a0f[_0x21aa44(0x20c)]));}[_0x1bb47d(0x4d0)](){const _0xa8327e=_0x1bb47d;this[_0xa8327e(0x20d)](this[_0xa8327e(0x5f4)][_0xa8327e(0x52b)](_0x2a6157['UniverInstanceType'][_0xa8327e(0x328)],[_0x4815f9])),this[_0xa8327e(0x20d)](this[_0xa8327e(0x5f4)][_0xa8327e(0x52b)](_0x2a6157[_0xa8327e(0x1ff)]['UNIVER_SHEET'],[_0x305653]));}['_initDependencies'](){const _0x52c06e=_0x1bb47d;var _0x4274ae,_0x170a10;this[_0x52c06e(0x4b6)][_0x52c06e(0x55e)](_0x145c4f[_0x52c06e(0x255)])[_0x52c06e(0x634)]({'priority':0x14,'interceptor':_0x145c4f[_0x52c06e(0x3b7)]({'maxParallel':0x6})}),(_0x4274ae=this['_config'])!=null&&_0x4274ae['enableOfflineEditing']||this[_0x52c06e(0x4b6)][_0x52c06e(0x55e)](_0x439f5[_0x52c06e(0x3f2)])[_0x52c06e(0x4db)](),(_0x170a10=this['_config'])!=null&&_0x170a10[_0x52c06e(0x3cb)]&&_0x2a6157[_0x52c06e(0x1cc)](this['_injector'],[[_0x32d92e]]),_0x2a6157[_0x52c06e(0x1cc)](this[_0x52c06e(0x4b6)],[[_0x501547],[_0x38e1cd],[_0x439f5[_0x52c06e(0x21d)]],[_0x439f5['CollaborationController']],[_0x439f5[_0x52c06e(0x43e)]],[_0x441be0]]);}},_0x1056f3(_0x439f5[_0x1bb47d(0x37e)],_0x1bb47d(0x618),_0x4a9a8a),_0x439f5[_0x1bb47d(0x37e)]=_0x5bd88d([_0x2a6157[_0x1bb47d(0x297)](_0x63ab19[_0x1bb47d(0x5a6)],_0x145c4f[_0x1bb47d(0x45e)]),_0x239ac4(0x1,_0x2a6157[_0x1bb47d(0x5b9)]),_0x239ac4(0x2,_0xf19b5a['IRenderManagerService']),_0x239ac4(0x3,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x5a7)])),_0x239ac4(0x4,_0x2a6157[_0x1bb47d(0x65a)])],_0x439f5['UniverCollaborationClientPlugin']),_0x439f5[_0x1bb47d(0x4b7)]=_0x267bd9,_0x439f5[_0x1bb47d(0x5e5)]=_0x514403,_0x439f5['COLLAB_WEB_SOCKET_URL_KEY']=_0x1be3bc,_0x439f5[_0x1bb47d(0x687)]=_0x1e7227,_0x439f5['CollaborationStatusDisplay']=_0x409442,_0x439f5[_0x1bb47d(0x388)]=_0x1b88f9,_0x439f5[_0x1bb47d(0x3be)]=_0x3c4100,_0x439f5['HEARTBEAT_TIMEOUT_KEY']=_0x2a8762,_0x439f5[_0x1bb47d(0x2c5)]=_0x4bc590,_0x439f5['IURLService']=_0x179949,_0x439f5[_0x1bb47d(0x677)]=_0x3b829d,_0x439f5['LOGIN_URL_KEY']=_0x298781,_0x439f5['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x287e3e,_0x439f5[_0x1bb47d(0x2a7)]=_0x4d1065,_0x439f5[_0x1bb47d(0x2a8)]=_0x90b128,_0x439f5['SNAPSHOT_URL_KEY']=_0x2ecd96,_0x439f5[_0x1bb47d(0x371)]=_0x1710c1,_0x439f5[_0x1bb47d(0x316)]=_0x571ce1,_0x439f5[_0x1bb47d(0x336)]=_0x33ed4b,_0x439f5[_0x1bb47d(0x61c)]=_0xccd654,_0x439f5[_0x1bb47d(0x468)]=_0x2481da,Object[_0x1bb47d(0x368)](_0x439f5,Symbol['toStringTag'],{'value':_0x1bb47d(0x3df)});}));
1
+ function _0x5275(_0x50a680,_0x426de0){const _0x2a28c9=_0x2a28();return _0x5275=function(_0x527586,_0x49d632){_0x527586=_0x527586-0x16d;let _0x55acbd=_0x2a28c9[_0x527586];return _0x55acbd;},_0x5275(_0x50a680,_0x426de0);}(function(_0x175c0a,_0x38cf0f){const _0x5f337c=_0x5275,_0x3368c3=_0x175c0a();while(!![]){try{const _0x459650=parseInt(_0x5f337c(0x2e8))/0x1*(-parseInt(_0x5f337c(0x4c9))/0x2)+parseInt(_0x5f337c(0x586))/0x3*(-parseInt(_0x5f337c(0x228))/0x4)+parseInt(_0x5f337c(0x4d4))/0x5*(parseInt(_0x5f337c(0x283))/0x6)+parseInt(_0x5f337c(0x1a7))/0x7*(parseInt(_0x5f337c(0x339))/0x8)+parseInt(_0x5f337c(0x537))/0x9*(parseInt(_0x5f337c(0x32d))/0xa)+-parseInt(_0x5f337c(0x4aa))/0xb*(parseInt(_0x5f337c(0x2a3))/0xc)+parseInt(_0x5f337c(0x5b3))/0xd*(parseInt(_0x5f337c(0x5e9))/0xe);if(_0x459650===_0x38cf0f)break;else _0x3368c3['push'](_0x3368c3['shift']());}catch(_0x11f248){_0x3368c3['push'](_0x3368c3['shift']());}}}(_0x2a28,0xab96a),function(_0x44b8cd,_0xd37cc4){const _0x69c7f5=_0x5275;typeof exports==_0x69c7f5(0x427)&&typeof module<'u'?_0xd37cc4(exports,require(_0x69c7f5(0x608)),require('rxjs'),require(_0x69c7f5(0x54f)),require(_0x69c7f5(0x2ea)),require(_0x69c7f5(0x275)),require(_0x69c7f5(0x4db)),require(_0x69c7f5(0x4d1)),require(_0x69c7f5(0x35c)),require(_0x69c7f5(0x264)),require(_0x69c7f5(0x248)),require(_0x69c7f5(0x1d0)),require('@univerjs/docs'),require(_0x69c7f5(0x1f0)),require(_0x69c7f5(0x35a)),require(_0x69c7f5(0x5a5)),require(_0x69c7f5(0x623)),require('@univerjs/rpc')):typeof define==_0x69c7f5(0x2e3)&&define['amd']?define(['exports',_0x69c7f5(0x608),'rxjs',_0x69c7f5(0x54f),_0x69c7f5(0x2ea),_0x69c7f5(0x275),_0x69c7f5(0x4db),_0x69c7f5(0x4d1),_0x69c7f5(0x35c),_0x69c7f5(0x264),_0x69c7f5(0x248),_0x69c7f5(0x1d0),'@univerjs/docs','@univerjs/drawing','@univerjs/engine-formula',_0x69c7f5(0x5a5),_0x69c7f5(0x623),_0x69c7f5(0x58a)],_0xd37cc4):(_0x44b8cd=typeof globalThis<'u'?globalThis:_0x44b8cd||self,_0xd37cc4(_0x44b8cd[_0x69c7f5(0x43d)]={},_0x44b8cd[_0x69c7f5(0x1ac)],_0x44b8cd[_0x69c7f5(0x366)],_0x44b8cd[_0x69c7f5(0x366)][_0x69c7f5(0x443)],_0x44b8cd[_0x69c7f5(0x28e)],_0x44b8cd['UniverUi'],_0x44b8cd[_0x69c7f5(0x3fd)],_0x44b8cd[_0x69c7f5(0x20a)],_0x44b8cd['UniverTelemetry'],_0x44b8cd[_0x69c7f5(0x26c)],_0x44b8cd[_0x69c7f5(0x581)],_0x44b8cd['UniverEngineRender'],_0x44b8cd[_0x69c7f5(0x20f)],_0x44b8cd[_0x69c7f5(0x17d)],_0x44b8cd[_0x69c7f5(0x1fe)],_0x44b8cd['UniverSheetsUi'],_0x44b8cd[_0x69c7f5(0x303)],_0x44b8cd[_0x69c7f5(0x32c)]));}(this,function(_0x539c7e,_0x4587e1,_0x3eec93,_0x18f07e,_0x40b71f,_0x3163bd,_0x108d2c,_0x215e4a,_0x5efb10,_0x28eee7,_0x27d820,_0x25d31a,_0x4844e7,_0x4fc574,_0x5c9de5,_0x23bfa7,_0x1e411a,_0x15b024){'use strict';const _0x2fa915=_0x5275;var _0x21a895=Object[_0x2fa915(0x44e)],_0x240df5=(_0x576a41,_0x53b34c,_0x32cd14)=>_0x53b34c in _0x576a41?_0x21a895(_0x576a41,_0x53b34c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32cd14}):_0x576a41[_0x53b34c]=_0x32cd14,_0x339ceb=(_0x244049,_0x6665a5,_0x5d685a)=>_0x240df5(_0x244049,typeof _0x6665a5!=_0x2fa915(0x1d4)?_0x6665a5+'':_0x6665a5,_0x5d685a);const _0x1b173d=_0x2fa915(0x2c4),_0x425cf9=_0x2fa915(0x61a),_0xda4d44=_0x2fa915(0x20d),_0x434cfe=_0x2fa915(0x63d),_0x58836a=_0x2fa915(0x17b),_0x2e309e=_0x2fa915(0x2cf),_0x4a8a98=_0x2fa915(0x4cd),_0xa4064f='HEARTBEAT_TIMEOUT',_0xceef47='RETRY_CONNECTING_MAX_COUNT',_0x4c60f6=_0x2fa915(0x24c),_0xecaf7c=_0x2fa915(0x1c6),_0x5e7146=_0x2fa915(0x28f),_0x456ae0=_0x2fa915(0x332),_0x55ef78=_0x2fa915(0x2bf);var _0x58d884=(_0x4e257b=>(_0x4e257b[_0x4e257b[_0x2fa915(0x48a)]=0x0]=_0x2fa915(0x48a),_0x4e257b[_0x4e257b['OK']=0x1]='OK',_0x4e257b[_0x4e257b[_0x2fa915(0x496)]=0x2]=_0x2fa915(0x496),_0x4e257b[_0x4e257b[_0x2fa915(0x242)]=0x3]=_0x2fa915(0x242),_0x4e257b[_0x4e257b['NOT_FOUND']=0x4]=_0x2fa915(0x4b2),_0x4e257b[_0x4e257b[_0x2fa915(0x3a6)]=0x5]='UNAUTHENTICATED',_0x4e257b[_0x4e257b['ALREADY_EXISTS']=0x6]=_0x2fa915(0x499),_0x4e257b[_0x4e257b['INVALID_ARGUMENT']=0x7]=_0x2fa915(0x3d0),_0x4e257b[_0x4e257b[_0x2fa915(0x2ec)]=0x8]=_0x2fa915(0x2ec),_0x4e257b[_0x4e257b['COMPLETION_FINISHED']=0x9]=_0x2fa915(0x323),_0x4e257b[_0x4e257b[_0x2fa915(0x340)]=0x1389]=_0x2fa915(0x340),_0x4e257b[_0x4e257b[_0x2fa915(0x5d4)]=0x1771]=_0x2fa915(0x5d4),_0x4e257b[_0x4e257b[_0x2fa915(0x1ec)]=0x1772]=_0x2fa915(0x1ec),_0x4e257b[_0x4e257b[_0x2fa915(0x4a5)]=0x1773]=_0x2fa915(0x4a5),_0x4e257b[_0x4e257b[_0x2fa915(0x5f4)]=0x1b59]=_0x2fa915(0x5f4),_0x4e257b[_0x4e257b[_0x2fa915(0x454)]=0x1b5a]=_0x2fa915(0x454),_0x4e257b[_0x4e257b['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x2fa915(0x378),_0x4e257b[_0x4e257b[_0x2fa915(0x58d)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4e257b[_0x4e257b[_0x2fa915(0x5ac)]=0x1b5d]=_0x2fa915(0x5ac),_0x4e257b[_0x4e257b['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4e257b[_0x4e257b[_0x2fa915(0x451)]=0x2329]=_0x2fa915(0x451),_0x4e257b[_0x4e257b[_0x2fa915(0x39f)]=0x232a]=_0x2fa915(0x39f),_0x4e257b[_0x4e257b['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2fa915(0x216),_0x4e257b[_0x4e257b[_0x2fa915(0x481)]=0x232c]=_0x2fa915(0x481),_0x4e257b[_0x4e257b['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2fa915(0x38b),_0x4e257b[_0x4e257b[_0x2fa915(0x425)]=0x2711]=_0x2fa915(0x425),_0x4e257b[_0x4e257b[_0x2fa915(0x324)]=0x2712]=_0x2fa915(0x324),_0x4e257b[_0x4e257b[_0x2fa915(0x1b3)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4e257b[_0x4e257b[_0x2fa915(0x42f)]=0x2714]=_0x2fa915(0x42f),_0x4e257b[_0x4e257b['UNRECOGNIZED']=-0x1]=_0x2fa915(0x2dd),_0x4e257b))(_0x58d884||{}),_0xad4019=(_0x17c330=>(_0x17c330[_0x17c330['UNIVER_UNKNOWN']=0x0]=_0x2fa915(0x3fc),_0x17c330[_0x17c330[_0x2fa915(0x27b)]=0x1]=_0x2fa915(0x27b),_0x17c330[_0x17c330[_0x2fa915(0x3ee)]=0x2]=_0x2fa915(0x3ee),_0x17c330[_0x17c330[_0x2fa915(0x5a3)]=0x3]=_0x2fa915(0x5a3),_0x17c330[_0x17c330[_0x2fa915(0x4a6)]=0x4]=_0x2fa915(0x4a6),_0x17c330[_0x17c330[_0x2fa915(0x2dd)]=-0x1]='UNRECOGNIZED',_0x17c330))(_0xad4019||{}),_0x56802b=(_0x227c7a=>(_0x227c7a[_0x227c7a[_0x2fa915(0x57e)]=0x0]=_0x2fa915(0x57e),_0x227c7a[_0x227c7a[_0x2fa915(0x416)]=0x1]='HELLO',_0x227c7a[_0x227c7a[_0x2fa915(0x5a6)]=0x2]=_0x2fa915(0x5a6),_0x227c7a[_0x227c7a[_0x2fa915(0x38c)]=0x3]=_0x2fa915(0x38c),_0x227c7a[_0x227c7a[_0x2fa915(0x218)]=0x4]=_0x2fa915(0x218),_0x227c7a[_0x227c7a[_0x2fa915(0x359)]=0x5]=_0x2fa915(0x359),_0x227c7a[_0x227c7a[_0x2fa915(0x471)]=0x6]=_0x2fa915(0x471),_0x227c7a[_0x227c7a['UNRECOGNIZED']=-0x1]=_0x2fa915(0x2dd),_0x227c7a))(_0x56802b||{}),_0x247109=(_0x5e92dd=>(_0x5e92dd[_0x5e92dd[_0x2fa915(0x483)]=0x0]=_0x2fa915(0x483),_0x5e92dd[_0x5e92dd['OK']=0x1]='OK',_0x5e92dd[_0x5e92dd[_0x2fa915(0x5ad)]=0x2]=_0x2fa915(0x5ad),_0x5e92dd[_0x5e92dd['UNRECOGNIZED']=-0x1]=_0x2fa915(0x2dd),_0x5e92dd))(_0x247109||{}),_0x2ec092=(_0x525af4=>(_0x525af4[_0x525af4[_0x2fa915(0x542)]=0x0]='Undefined',_0x525af4[_0x525af4[_0x2fa915(0x377)]=0x1]=_0x2fa915(0x377),_0x525af4[_0x525af4[_0x2fa915(0x1f4)]=0x2]=_0x2fa915(0x1f4),_0x525af4[_0x525af4[_0x2fa915(0x1eb)]=0x3]='UnitEmbedded',_0x525af4[_0x525af4[_0x2fa915(0x23c)]=0x4]='UnitSnapshot',_0x525af4[_0x525af4[_0x2fa915(0x2dd)]=-0x1]=_0x2fa915(0x2dd),_0x525af4))(_0x2ec092||{});const _0x152bb8=_0x2fa915(0x192),_0x486456={};function _0x99cd90(_0xd97a1b){const _0x5538dd=_0x2fa915;var _0x4532b3,_0x2d883e,_0x547ce8,_0x2f6866,_0x29ca80;const _0x3d1250=_0xd97a1b[_0x5538dd(0x273)],_0x338001=JSON[_0x5538dd(0x3bf)](_0x3d1250);switch(_0x338001[_0x5538dd(0x281)]){case _0x56802b[_0x5538dd(0x359)]:case _0x56802b[_0x5538dd(0x416)]:{const _0x4268d7=_0x338001[_0x5538dd(0x2eb)];return{..._0x338001,'data':_0x4268d7,'cmd':_0x338001[_0x5538dd(0x281)]};}case _0x56802b[_0x5538dd(0x5a6)]:{const _0x111195=_0x338001[_0x5538dd(0x1c1)];return{..._0x338001,'data':_0x111195,'cmd':_0x338001[_0x5538dd(0x281)]};}case _0x56802b['RECV']:{const _0x3d30cc=_0x338001['collaMsg'];switch(_0x3d30cc['eventID']){case _0x215e4a[_0x5538dd(0x27c)][_0x5538dd(0x48f)]:return{..._0x338001,'data':{..._0x3d30cc,'data':(_0x4532b3=_0x3d30cc[_0x5538dd(0x5c0)])==null?void 0x0:_0x4532b3['cs']},'cmd':_0x338001['cmd']};case _0x215e4a[_0x5538dd(0x27c)][_0x5538dd(0x19e)]:return{..._0x338001,'data':{..._0x3d30cc,'data':(_0x2d883e=_0x3d30cc[_0x5538dd(0x32a)])==null?void 0x0:_0x2d883e['cs']},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a['CollaborationEvent'][_0x5538dd(0x4e7)]:return{..._0x338001,'data':{..._0x3d30cc,'data':(_0x547ce8=_0x3d30cc[_0x5538dd(0x5fc)])==null?void 0x0:_0x547ce8['cs']},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a[_0x5538dd(0x27c)][_0x5538dd(0x605)]:return{..._0x338001,'data':{..._0x3d30cc,'data':(_0x2f6866=_0x3d30cc[_0x5538dd(0x43c)])==null?void 0x0:_0x2f6866['cs']},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a[_0x5538dd(0x27c)][_0x5538dd(0x195)]:return{..._0x338001,'data':{..._0x3d30cc,'data':(_0x29ca80=_0x3d30cc['csShouldRetryEvent'])==null?void 0x0:_0x29ca80['cs']},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a[_0x5538dd(0x27c)][_0x5538dd(0x354)]:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc[_0x5538dd(0x5d5)]},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a['CollaborationEvent']['USERS_ENTER']:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc['joinEvent']},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a[_0x5538dd(0x27c)][_0x5538dd(0x614)]:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc[_0x5538dd(0x31f)]},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a[_0x5538dd(0x27c)]['LIVESHARE_NEW_HOST']:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc[_0x5538dd(0x310)]},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a['CollaborationEvent'][_0x5538dd(0x469)]:case _0x215e4a[_0x5538dd(0x27c)]['LIVESHARE_OPERATION']:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc[_0x5538dd(0x3bc)]},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a['CollaborationEvent'][_0x5538dd(0x53a)]:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc[_0x5538dd(0x310)]},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a[_0x5538dd(0x27c)]['MSG_FOR_ERROR']:return{..._0x338001,'data':_0x3d30cc,'cmd':_0x338001['cmd']};case _0x215e4a[_0x5538dd(0x27c)][_0x5538dd(0x55b)]:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc[_0x5538dd(0x3d4)]},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a[_0x5538dd(0x27c)]['UPDATE_PERMISSION_OBJ']:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc['updatePermissionObjEvent']},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a[_0x5538dd(0x27c)][_0x5538dd(0x616)]:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc[_0x5538dd(0x46f)]},'cmd':_0x338001[_0x5538dd(0x281)]};default:return _0x338001;}}default:return _0x338001;}}function _0x40533c(_0xf537cb){const _0x28483c=_0x2fa915;switch(_0xf537cb[_0x28483c(0x281)]){case _0x56802b[_0x28483c(0x359)]:case _0x56802b[_0x28483c(0x416)]:return JSON[_0x28483c(0x621)]({'cmd':_0xf537cb['cmd'],'routeKey':_0xf537cb[_0x28483c(0x457)]});case _0x56802b[_0x28483c(0x218)]:{let _0x736dde;switch(_0xf537cb[_0x28483c(0x273)][_0x28483c(0x526)]){case _0x215e4a[_0x28483c(0x27c)][_0x28483c(0x354)]:{_0x736dde={'eventID':_0x215e4a[_0x28483c(0x27c)]['UPDATE_CURSOR'],'updateCursorEvent':_0xf537cb[_0x28483c(0x273)]['data']};break;}case _0x215e4a[_0x28483c(0x27c)][_0x28483c(0x614)]:{_0x736dde={'eventID':_0x215e4a['CollaborationEvent'][_0x28483c(0x614)],'leaveEvent':_0xf537cb[_0x28483c(0x273)][_0x28483c(0x273)]};break;}case _0x215e4a[_0x28483c(0x27c)]['USERS_ENTER']:{_0x736dde={'eventID':_0x215e4a['CollaborationEvent'][_0x28483c(0x352)],'joinEvent':_0xf537cb[_0x28483c(0x273)][_0x28483c(0x273)]};break;}case _0x215e4a[_0x28483c(0x27c)][_0x28483c(0x3e5)]:{_0x736dde={'eventID':_0x215e4a[_0x28483c(0x27c)][_0x28483c(0x3e5)],'liveShareNewHost':_0xf537cb[_0x28483c(0x273)]['data']};break;}case _0x215e4a[_0x28483c(0x27c)][_0x28483c(0x5b9)]:{_0x736dde={'eventID':_0x215e4a['CollaborationEvent'][_0x28483c(0x5b9)],'liveShareOperation':_0xf537cb[_0x28483c(0x273)][_0x28483c(0x273)]};break;}case _0x215e4a[_0x28483c(0x27c)][_0x28483c(0x53a)]:{_0x736dde={'eventID':_0x215e4a[_0x28483c(0x27c)][_0x28483c(0x53a)],'liveShareTerminate':_0xf537cb[_0x28483c(0x273)]['data']};break;}case _0x215e4a['CollaborationEvent'][_0x28483c(0x4e9)]:{_0x736dde={'eventID':_0x215e4a['CollaborationEvent'][_0x28483c(0x4e9)],'liveShareRequestHost':_0xf537cb[_0x28483c(0x273)][_0x28483c(0x273)]};break;}case _0x215e4a['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x736dde={'eventID':_0x215e4a[_0x28483c(0x27c)][_0x28483c(0x469)]};break;}default:_0x736dde={'eventID':_0xf537cb[_0x28483c(0x273)][_0x28483c(0x526)]};}return JSON[_0x28483c(0x621)]({'cmd':_0xf537cb[_0x28483c(0x281)],'routeKey':_0xf537cb['routeKey'],'collaMsg':_0x736dde});}case _0x56802b[_0x28483c(0x5a6)]:return JSON['stringify']({'cmd':_0xf537cb['cmd'],'routeKey':_0xf537cb['routeKey'],'joinReq':_0xf537cb[_0x28483c(0x273)]});case _0x56802b['LEAVE']:return JSON['stringify']({'cmd':_0xf537cb['cmd'],'routeKey':_0xf537cb[_0x28483c(0x457)],'leaveReq':_0xf537cb[_0x28483c(0x273)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x24f25a=Object[_0x2fa915(0x44e)],_0x45ab47=Object[_0x2fa915(0x569)],_0x1c3a1d=(_0x262e67,_0x4e1d85,_0xac4b9,_0x23fc85)=>{for(var _0x1f933d=_0x23fc85>0x1?void 0x0:_0x23fc85?_0x45ab47(_0x4e1d85,_0xac4b9):_0x4e1d85,_0x50a17f=_0x262e67['length']-0x1,_0x52ed42;_0x50a17f>=0x0;_0x50a17f--)(_0x52ed42=_0x262e67[_0x50a17f])&&(_0x1f933d=(_0x23fc85?_0x52ed42(_0x4e1d85,_0xac4b9,_0x1f933d):_0x52ed42(_0x1f933d))||_0x1f933d);return _0x23fc85&&_0x1f933d&&_0x24f25a(_0x4e1d85,_0xac4b9,_0x1f933d),_0x1f933d;},_0x2d36f9=(_0x333109,_0x427b3a)=>(_0x223b5,_0xc8f112)=>_0x427b3a(_0x223b5,_0xc8f112,_0x333109);const _0x5a365e=_0x4587e1[_0x2fa915(0x22c)]('univer-pro.collaboration-client-socket-service');function _0x3671c0(_0x1b50bf,_0x3053d4,_0x521c9b){const _0x2c7cbc=_0x2fa915;return _0x1b50bf+'/'+_0x3053d4+_0x2c7cbc(0x2f8)+_0x521c9b+'/new_changes';}_0x539c7e[_0x2fa915(0x629)]=class extends _0x4587e1[_0x2fa915(0x552)]{constructor(_0x4d5547,_0x4090d7,_0x18f7ae,_0x4f1576,_0x5e1b1c){const _0x4a2ae0=_0x2fa915;super(),this[_0x4a2ae0(0x331)]=_0x4d5547,this[_0x4a2ae0(0x5da)]=_0x4090d7,this['_configService']=_0x18f7ae,this[_0x4a2ae0(0x43a)]=_0x4f1576,this[_0x4a2ae0(0x3d1)]=_0x5e1b1c;}[_0x2fa915(0x452)](_0x367e16){const _0x27e409=_0x2fa915,_0x483380=this[_0x27e409(0x5da)]['createSocket'](_0x367e16);if(!_0x483380)throw new Error(_0x27e409(0x198));const _0x738fe9=new _0x4587e1[(_0x27e409(0x36f))](),_0x4b2ec5=new _0x3eec93[(_0x27e409(0x5c5))]();_0x738fe9[_0x27e409(0x1db)](_0x483380['close$']['subscribe'](_0x401d80=>_0x4b2ec5[_0x27e409(0x1c9)](_0x401d80))),_0x738fe9[_0x27e409(0x1db)](_0x4587e1[_0x27e409(0x2a6)](()=>_0x4b2ec5[_0x27e409(0x2e2)]()));const _0x1dc4df=new _0x3eec93[(_0x27e409(0x5c5))]();_0x738fe9[_0x27e409(0x1db)](_0x483380[_0x27e409(0x56f)][_0x27e409(0x447)](_0x16e7df=>_0x1dc4df[_0x27e409(0x1c9)](_0x16e7df))),_0x738fe9[_0x27e409(0x1db)](_0x4587e1[_0x27e409(0x2a6)](()=>_0x1dc4df['complete']()));const _0x5ed8dc=new _0x3eec93[(_0x27e409(0x5c5))]();_0x738fe9[_0x27e409(0x1db)](_0x483380[_0x27e409(0x1c0)][_0x27e409(0x447)](_0x11a9b5=>{const _0x57adc5=_0x99cd90(_0x11a9b5);_0x5ed8dc['next'](_0x57adc5);})),_0x738fe9[_0x27e409(0x1db)](_0x4587e1[_0x27e409(0x2a6)](()=>_0x5ed8dc[_0x27e409(0x2e2)]()));let _0x6f5c87;const _0x5ab00b=()=>{const _0x5ddc8a=_0x27e409;_0x1dc4df[_0x5ddc8a(0x1c9)](new Event('connection\x20error')),_0x4b2ec5[_0x5ddc8a(0x1c9)](new CloseEvent(_0x5ddc8a(0x260))),_0x6f5c87['close']();};return _0x6f5c87={'memberID':'','close$':_0x4b2ec5['asObservable'](),'error$':_0x1dc4df[_0x27e409(0x630)](),'open$':_0x483380['open$'],'message$':_0x5ed8dc[_0x27e409(0x630)](),'send':_0x30c3e8=>{const _0x43f547=_0x27e409;if(_0x30c3e8['cmd']===_0x56802b[_0x43f547(0x218)]){if(_0x30c3e8['data'][_0x43f547(0x526)]===_0x215e4a[_0x43f547(0x27c)][_0x43f547(0x1a1)]){this[_0x43f547(0x3d9)](_0x6f5c87,_0x30c3e8[_0x43f547(0x273)])[_0x43f547(0x5cf)](_0x530497=>{const _0x589f73=_0x43f547;this[_0x589f73(0x43a)]['error'](_0x530497),_0x5ab00b();});return;}if(_0x30c3e8[_0x43f547(0x273)][_0x43f547(0x526)]===_0x215e4a[_0x43f547(0x27c)][_0x43f547(0x468)]){const _0x181ef9=_0x30c3e8[_0x43f547(0x273)];this[_0x43f547(0x2b9)](_0x181ef9)['then'](_0x44dc81=>{const _0x2ff868=_0x43f547;_0x5ed8dc['next']({'cmd':_0x56802b['RECV'],'code':_0x247109['OK'],'routeKey':_0x181ef9[_0x2ff868(0x273)][_0x2ff868(0x2d1)],'routeType':'','data':{'eventID':_0x215e4a[_0x2ff868(0x27c)][_0x2ff868(0x478)],'data':{'changesets':_0x44dc81}}});})[_0x43f547(0x5cf)](_0x36ac19=>{const _0x40a980=_0x43f547;this[_0x40a980(0x43a)][_0x40a980(0x3a9)](_0x36ac19),_0x5ab00b();});return;}}_0x483380['send'](_0x40533c(_0x30c3e8));},'close':()=>{const _0x3f2d75=_0x27e409;_0x483380[_0x3f2d75(0x33c)](),_0x738fe9['dispose']();}},_0x6f5c87;}async[_0x2fa915(0x3d9)](_0x43a99a,_0x17702c){const _0x253659=_0x2fa915;var _0x5e3384,_0x1d91dd;const {unitType:_0x42dee0,unitID:_0x4bd580,changeset:_0x555ccf}=_0x17702c[_0x253659(0x273)],_0x584fcc={'unitID':_0x4bd580,'memberID':_0x43a99a[_0x253659(0x59f)],'type':_0x42dee0,'changeset':_0x215e4a[_0x253659(0x57a)](_0x555ccf)},_0x5ec258=this[_0x253659(0x4e4)][_0x253659(0x185)](_0xecaf7c),_0xd3f6fa=this[_0x253659(0x4e4)][_0x253659(0x185)](_0x152bb8),_0x1e5fe8=_0x3671c0((_0x1d91dd=(_0x5e3384=_0xd3f6fa==null?void 0x0:_0xd3f6fa[_0x253659(0x4b8)])!=null?_0x5e3384:_0x5ec258)!=null?_0x1d91dd:_0x5e7146,_0x42dee0,_0x4bd580);try{await this[_0x253659(0x331)][_0x253659(0x321)](_0x1e5fe8,{'body':_0x584fcc});}catch(_0x359b03){throw this[_0x253659(0x43a)][_0x253659(0x3a9)](_0x253659(0x1ea),'submit\x20changeset\x20error!'),_0x359b03;}}async['_fetchMissChangesets'](_0x5a84e6){const _0xa99e2d=_0x2fa915,{unitID:_0x3bbe5e,from:_0x415e64,to:_0x5ed20a,unitType:_0x471aa7}=_0x5a84e6['data'];return(await this['_snapshotServerService'][_0xa99e2d(0x4ef)]({'metadata':void 0x0},{'unitID':_0x3bbe5e,'type':_0x471aa7,'from':_0x415e64,'to':_0x5ed20a}))[_0xa99e2d(0x3d7)];}},_0x539c7e[_0x2fa915(0x629)]=_0x1c3a1d([_0x2d36f9(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x108d2c[_0x2fa915(0x49f)])),_0x2d36f9(0x1,_0x4587e1[_0x2fa915(0x42b)](_0x108d2c[_0x2fa915(0x436)])),_0x2d36f9(0x2,_0x4587e1['IConfigService']),_0x2d36f9(0x3,_0x4587e1[_0x2fa915(0x62b)]),_0x2d36f9(0x4,_0x215e4a['ISnapshotServerService'])],_0x539c7e[_0x2fa915(0x629)]);const _0x5a4a34=_0x2fa915(0x2ab);function _0x21d7a0(_0x28e0c8){const _0x274097=_0x2fa915;return JSON[_0x274097(0x621)](_0x28e0c8)[_0x274097(0x4d9)];}class _0x2707ce{constructor(){const _0x83603c=_0x2fa915;_0x339ceb(this,'_commentUpdate$',new _0x3eec93[(_0x83603c(0x5c5))]()),_0x339ceb(this,'commentUpdate$',this[_0x83603c(0x26f)][_0x83603c(0x630)]());}[_0x2fa915(0x448)](_0x431986){const _0x328ab2=_0x2fa915;this[_0x328ab2(0x26f)][_0x328ab2(0x1c9)](_0x431986);}}var _0x2cbb12=Object[_0x2fa915(0x44e)],_0x36930b=Object[_0x2fa915(0x569)],_0x1f1db8=(_0x1ee003,_0x21c276,_0x1ee03a,_0x9f66eb)=>{const _0x5aa6b6=_0x2fa915;for(var _0x1edafb=_0x9f66eb>0x1?void 0x0:_0x9f66eb?_0x36930b(_0x21c276,_0x1ee03a):_0x21c276,_0x540715=_0x1ee003[_0x5aa6b6(0x4d9)]-0x1,_0x1361c0;_0x540715>=0x0;_0x540715--)(_0x1361c0=_0x1ee003[_0x540715])&&(_0x1edafb=(_0x9f66eb?_0x1361c0(_0x21c276,_0x1ee03a,_0x1edafb):_0x1361c0(_0x1edafb))||_0x1edafb);return _0x9f66eb&&_0x1edafb&&_0x2cbb12(_0x21c276,_0x1ee03a,_0x1edafb),_0x1edafb;},_0x5db39b=(_0x9da61b,_0x44d342)=>(_0x30249e,_0x377ac3)=>_0x44d342(_0x30249e,_0x377ac3,_0x9da61b);_0x539c7e[_0x2fa915(0x1d1)]=class extends _0x4587e1[_0x2fa915(0x552)]{constructor(_0x18377c,_0xccca06){const _0x4eb843=_0x2fa915;super(),_0x339ceb(this,'_roomMembers',new Map()),(this[_0x4eb843(0x3c1)]=_0x18377c,this[_0x4eb843(0x41d)]=_0xccca06,this['disposeWithMe'](_0x4587e1[_0x4eb843(0x2a6)](_0x3eec93[_0x4eb843(0x538)](this['_univerInstanceService'][_0x4eb843(0x267)](_0x4587e1[_0x4eb843(0x637)][_0x4eb843(0x3ee)])[_0x4eb843(0x276)](_0x18f07e[_0x4eb843(0x252)](_0x1ce9a3=>_0x1ce9a3[_0x4eb843(0x1d9)]())),this['_univerInstanceService'][_0x4eb843(0x267)](_0x4587e1[_0x4eb843(0x637)][_0x4eb843(0x27b)])[_0x4eb843(0x276)](_0x18f07e[_0x4eb843(0x252)](_0x5a60a6=>_0x5a60a6[_0x4eb843(0x1d9)]())),this[_0x4eb843(0x3c1)]['getTypeOfUnitDisposed$'](_0x4587e1[_0x4eb843(0x637)][_0x4eb843(0x5a3)])['pipe'](_0x18f07e[_0x4eb843(0x252)](_0x32b294=>_0x32b294[_0x4eb843(0x1d9)]())))[_0x4eb843(0x447)](_0x31e5ba=>this[_0x4eb843(0x45e)](_0x31e5ba)))));}[_0x2fa915(0x249)](_0x193945){const _0x283607=_0x2fa915;this[_0x283607(0x41d)][_0x283607(0x249)](_0x193945);}['getCurrentUser'](){const _0x456e23=_0x2fa915;return this[_0x456e23(0x41d)]['getCurrentUser']();}[_0x2fa915(0x57b)](_0x3c1251,_0x313de9){const _0x1d8c4f=_0x2fa915;let _0x2b917d=this[_0x1d8c4f(0x426)][_0x1d8c4f(0x4a0)](_0x3c1251);_0x2b917d||(_0x2b917d=new _0x27d680(),this[_0x1d8c4f(0x426)][_0x1d8c4f(0x498)](_0x3c1251,_0x2b917d)),_0x2b917d[_0x1d8c4f(0x57b)](_0x313de9);}[_0x2fa915(0x258)](_0x54df90,_0x32af1d){const _0x37b929=_0x2fa915,_0xc13c0a=this[_0x37b929(0x426)][_0x37b929(0x4a0)](_0x54df90);_0xc13c0a&&_0xc13c0a[_0x37b929(0x258)](_0x32af1d);}['getRoom'](_0x14b4e8){const _0x290d9a=_0x2fa915;return this[_0x290d9a(0x426)][_0x290d9a(0x4a0)](_0x14b4e8);}[_0x2fa915(0x438)](_0x3e5cc6,_0x23e76c){const _0x6cddc1=_0x2fa915,_0x31d286=this['_roomMembers']['get'](_0x3e5cc6);if(_0x31d286)return _0x31d286[_0x6cddc1(0x438)](_0x23e76c);}['_removeRoom'](_0x2ca70c){const _0x52a8d=_0x2fa915,_0x3bb366=this['_roomMembers'][_0x52a8d(0x4a0)](_0x2ca70c);_0x3bb366&&(_0x3bb366[_0x52a8d(0x3ea)](),this[_0x52a8d(0x426)]['delete'](_0x2ca70c));}[_0x2fa915(0x3ea)](){const _0x229123=_0x2fa915;this[_0x229123(0x426)]['forEach'](_0x4969e0=>_0x4969e0[_0x229123(0x3ea)]()),this[_0x229123(0x426)][_0x229123(0x385)]();}},_0x539c7e[_0x2fa915(0x1d1)]=_0x1f1db8([_0x5db39b(0x0,_0x4587e1[_0x2fa915(0x53b)]),_0x5db39b(0x1,_0x4587e1['Inject'](_0x4587e1['UserManagerService']))],_0x539c7e[_0x2fa915(0x1d1)]);class _0x27d680 extends _0x4587e1['Disposable']{constructor(){const _0x3e266d=_0x2fa915;super(...arguments),_0x339ceb(this,_0x3e266d(0x45b),new Map());}[_0x2fa915(0x3ea)](){const _0x42d128=_0x2fa915;this[_0x42d128(0x45b)]['clear']();}[_0x2fa915(0x57b)](_0x50d120){const _0xda6176=_0x2fa915;this[_0xda6176(0x45b)][_0xda6176(0x498)](_0x50d120[_0xda6176(0x59f)],_0x50d120);}[_0x2fa915(0x258)](_0x46e09e){const _0x1495fd=_0x2fa915;this[_0x1495fd(0x45b)][_0x1495fd(0x4e2)](_0x46e09e);}[_0x2fa915(0x438)](_0x56ae5e){const _0x3a9dc2=_0x2fa915;return this[_0x3a9dc2(0x45b)][_0x3a9dc2(0x4a0)](_0x56ae5e);}['getAllMembers'](){const _0x368d14=_0x2fa915;return Array[_0x368d14(0x3e0)](this['_members'][_0x368d14(0x291)]());}}var _0x4ad358=Object[_0x2fa915(0x44e)],_0x218a35=Object[_0x2fa915(0x569)],_0x3865de=(_0xb44740,_0x5205c7,_0xa24894,_0x471f08)=>{const _0x26422c=_0x2fa915;for(var _0x3594a2=_0x471f08>0x1?void 0x0:_0x471f08?_0x218a35(_0x5205c7,_0xa24894):_0x5205c7,_0xc81536=_0xb44740[_0x26422c(0x4d9)]-0x1,_0x3e4524;_0xc81536>=0x0;_0xc81536--)(_0x3e4524=_0xb44740[_0xc81536])&&(_0x3594a2=(_0x471f08?_0x3e4524(_0x5205c7,_0xa24894,_0x3594a2):_0x3e4524(_0x3594a2))||_0x3594a2);return _0x471f08&&_0x3594a2&&_0x4ad358(_0x5205c7,_0xa24894,_0x3594a2),_0x3594a2;},_0x1be4d5=(_0x1aa5dd,_0x2c32b7)=>(_0x540f5b,_0x3e3283)=>_0x2c32b7(_0x540f5b,_0x3e3283,_0x1aa5dd),_0x474ede=(_0x2d6e82=>(_0x2d6e82[_0x2d6e82[_0x2fa915(0x3d5)]=0x0]='IDLE',_0x2d6e82[_0x2d6e82['JOINING']=0x1]=_0x2fa915(0x1da),_0x2d6e82[_0x2d6e82[_0x2fa915(0x3c4)]=0x2]=_0x2fa915(0x3c4),_0x2d6e82[_0x2d6e82[_0x2fa915(0x36e)]=0x3]=_0x2fa915(0x36e),_0x2d6e82))(_0x474ede||{});_0x539c7e['CollaborationSession']=class extends _0x4587e1['RxDisposable']{constructor(_0x2e8a32,_0x3c67d7,_0x5835da,_0x528688,_0x1a4f92,_0x518958,_0x27705e,_0x70d335,_0x10c9cc,_0x1f23e4){const _0x403fac=_0x2fa915;super(),_0x339ceb(this,_0x403fac(0x304),new _0x3eec93['BehaviorSubject'](0x0)),_0x339ceb(this,_0x403fac(0x376),this[_0x403fac(0x304)]['asObservable']()),_0x339ceb(this,_0x403fac(0x20c),new _0x3eec93[(_0x403fac(0x5c5))]()),_0x339ceb(this,_0x403fac(0x4ca),this[_0x403fac(0x20c)][_0x403fac(0x630)]()),_0x339ceb(this,'_socket'),_0x339ceb(this,_0x403fac(0x285)),_0x339ceb(this,_0x403fac(0x463)),_0x339ceb(this,'_shouldReportTelemetry',!0x1),_0x339ceb(this,_0x403fac(0x488),null),(this[_0x403fac(0x42e)]=_0x2e8a32,this[_0x403fac(0x43a)]=_0x5835da,this['_beforeCloseService']=_0x528688,this[_0x403fac(0x1c4)]=_0x1a4f92,this[_0x403fac(0x4e4)]=_0x518958,this[_0x403fac(0x497)]=_0x27705e,this[_0x403fac(0x226)]=_0x70d335,this[_0x403fac(0x1a4)]=_0x10c9cc,this[_0x403fac(0x38d)]=_0x1f23e4,this[_0x403fac(0x3b6)]=!!this[_0x403fac(0x38d)],_0x3c67d7[_0x403fac(0x276)](_0x3eec93[_0x403fac(0x2b3)](this[_0x403fac(0x1ad)]))['subscribe'](_0x23aebc=>{const _0x42e131=_0x403fac;var _0x507006;typeof _0x23aebc>'u'||(this[_0x42e131(0x533)]=_0x23aebc,_0x23aebc?(this['_joinRoom'](_0x23aebc),this[_0x42e131(0x285)]=_0x23aebc[_0x42e131(0x1c0)][_0x42e131(0x447)](_0x1bf445=>{const _0x273750=_0x42e131;_0x1bf445[_0x273750(0x457)]===this[_0x273750(0x42e)]&&this[_0x273750(0x3f7)](_0x1bf445);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x42e131(0x304)][_0x42e131(0x1c9)](0x2),(_0x507006=this[_0x42e131(0x285)])==null||_0x507006['unsubscribe'](),this['_socketMessageSubscription']=null));}),this[_0x403fac(0x211)](this[_0x403fac(0x28d)][_0x403fac(0x519)](()=>{const _0x552d62=_0x403fac;var _0xe10d5b;(_0xe10d5b=this[_0x552d62(0x533)])==null||_0xe10d5b[_0x552d62(0x5aa)]({'cmd':_0x56802b[_0x552d62(0x38c)],'data':{'roomID':this[_0x552d62(0x42e)]}});})));}get[_0x2fa915(0x1b2)](){const _0xfc3f92=_0x2fa915;return this[_0xfc3f92(0x304)][_0xfc3f92(0x262)]();}[_0x2fa915(0x4c8)](){const _0x557a24=_0x2fa915;var _0x1ae03f,_0x31218e;return(_0x31218e=(_0x1ae03f=this['_socket'])==null?void 0x0:_0x1ae03f[_0x557a24(0x59f)])!=null?_0x31218e:null;}[_0x2fa915(0x3ea)](){const _0x57c5e2=_0x2fa915;super[_0x57c5e2(0x3ea)](),this['dispose$'][_0x57c5e2(0x1c9)](),this[_0x57c5e2(0x1ad)]['complete']();}[_0x2fa915(0x33c)](){const _0x3ec766=_0x2fa915;var _0x1ea514,_0x32d139;this['_throwTelemetryCollaborationNewChangeset'](),(_0x1ea514=this[_0x3ec766(0x533)])==null||_0x1ea514['send']({'cmd':_0x56802b[_0x3ec766(0x38c)],'data':{'roomID':this['_unitID']}}),(_0x32d139=this['_socket'])==null||_0x32d139[_0x3ec766(0x33c)](),this['_event$'][_0x3ec766(0x2e2)](),this[_0x3ec766(0x304)][_0x3ec766(0x2e2)](),this[_0x3ec766(0x3ea)]();}[_0x2fa915(0x3f7)](_0x290e68){const _0x5a3ef5=_0x2fa915;_0x290e68[_0x5a3ef5(0x281)]===_0x56802b['JOIN']?this[_0x5a3ef5(0x2de)](_0x290e68):_0x290e68[_0x5a3ef5(0x281)]===_0x56802b['RECV']&&this[_0x5a3ef5(0x49e)](_0x290e68);}[_0x2fa915(0x3e4)](_0x2533fe){const _0x3c3dce=_0x2fa915;this['_sessionStatus$'][_0x3c3dce(0x1c9)](0x1),_0x2533fe['send']({'cmd':_0x56802b['JOIN'],'routeKey':this[_0x3c3dce(0x42e)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3c3dce(0x42e)]}]}});}['_onJoinRoomEvent'](_0xfeabc0){const _0x2a2f22=_0x2fa915;var _0x23ae36;if(_0xfeabc0[_0x2a2f22(0x55e)]===_0x247109['FAIL']){this['_messageService'][_0x2a2f22(0x1ca)]({'type':_0x40b71f[_0x2a2f22(0x219)][_0x2a2f22(0x415)],'content':this[_0x2a2f22(0x497)]['t'](_0x2a2f22(0x4e0))}),this[_0x2a2f22(0x304)][_0x2a2f22(0x1c9)](0x2);return;}this['_sessionStatus$'][_0x2a2f22(0x1c9)](0x3);const _0x21a275=(_0x23ae36=_0xfeabc0[_0x2a2f22(0x273)]['roomInfos'][this[_0x2a2f22(0x42e)]])==null?void 0x0:_0x23ae36[_0x2a2f22(0x580)];_0x21a275&&_0x21a275[_0x2a2f22(0x34b)](_0x47f556=>this[_0x2a2f22(0x226)][_0x2a2f22(0x57b)](this[_0x2a2f22(0x42e)],_0x47f556));}['_onRecvEvent'](_0x4feae3){const _0x19e98d=_0x2fa915;try{const _0x238960=_0x4feae3[_0x19e98d(0x273)];switch(_0x238960[_0x19e98d(0x526)]){case _0x215e4a[_0x19e98d(0x27c)][_0x19e98d(0x352)]:this['_onUserJoin'](_0x238960),this[_0x19e98d(0x20c)]['next'](_0x238960);break;case _0x215e4a[_0x19e98d(0x27c)][_0x19e98d(0x614)]:this[_0x19e98d(0x357)](_0x238960),this[_0x19e98d(0x20c)][_0x19e98d(0x1c9)](_0x238960);break;case _0x215e4a['CollaborationEvent'][_0x19e98d(0x19e)]:case _0x215e4a[_0x19e98d(0x27c)][_0x19e98d(0x195)]:this[_0x19e98d(0x544)](),this[_0x19e98d(0x1f5)](),this[_0x19e98d(0x20c)][_0x19e98d(0x1c9)](_0x238960);break;case _0x215e4a[_0x19e98d(0x27c)][_0x19e98d(0x1a9)]:this['_logService'][_0x19e98d(0x3a9)](_0x19e98d(0x33b)+JSON[_0x19e98d(0x621)](_0x238960)),this[_0x19e98d(0x20c)]['next'](_0x238960);break;case _0x215e4a[_0x19e98d(0x27c)][_0x19e98d(0x55b)]:this[_0x19e98d(0x1a4)][_0x19e98d(0x448)](_0x238960[_0x19e98d(0x273)]),this['_event$'][_0x19e98d(0x1c9)](_0x238960);break;default:this[_0x19e98d(0x20c)][_0x19e98d(0x1c9)](_0x238960);}}catch(_0x8435e9){this[_0x19e98d(0x43a)]['error'](_0x8435e9,_0x4feae3);}}[_0x2fa915(0x274)](_0x53dc53){const _0x23270b=_0x2fa915;this[_0x23270b(0x226)][_0x23270b(0x57b)](this[_0x23270b(0x42e)],_0x53dc53[_0x23270b(0x273)]);}[_0x2fa915(0x357)](_0x54064d){const _0x2db3e7=_0x2fa915;this[_0x2db3e7(0x226)]['removeMember'](this[_0x2db3e7(0x42e)],_0x54064d['data']['memberID']);}async[_0x2fa915(0x5aa)](_0x8f789e,_0x3a7892){const _0x3e0376=_0x2fa915;if(this[_0x3e0376(0x1b2)]!==0x3||!this[_0x3e0376(0x533)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x8f789e['eventID']===_0x215e4a[_0x3e0376(0x27c)][_0x3e0376(0x1a1)]&&(this[_0x3e0376(0x17f)](),this[_0x3e0376(0x35f)](_0x8f789e)),this[_0x3e0376(0x533)][_0x3e0376(0x5aa)]({'cmd':_0x56802b[_0x3e0376(0x218)],'routeKey':_0x3a7892,'routeType':'','data':_0x8f789e});}catch(_0x54d130){this[_0x3e0376(0x43a)]['error'](_0x54d130);}}[_0x2fa915(0x17f)](){const _0x52bd00=_0x2fa915;var _0x172555;this[_0x52bd00(0x463)]=window[_0x52bd00(0x5fa)](()=>{const _0x16ba52=_0x52bd00;this[_0x16ba52(0x463)]=null,this[_0x16ba52(0x1c4)][_0x16ba52(0x1ca)]({'type':_0x40b71f[_0x16ba52(0x219)][_0x16ba52(0x490)],'content':this[_0x16ba52(0x497)]['t']('session.collaboration-timeout')});},(_0x172555=this['_configService'][_0x52bd00(0x185)](_0xa4064f))!=null?_0x172555:0x4e20);}['_clearCollaborationTimeoutTimer'](){const _0x310f9b=_0x2fa915;this[_0x310f9b(0x463)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x310f9b(0x463)]=null);}[_0x2fa915(0x35f)](_0x56937f){const _0x2d09ca=_0x2fa915;if(!this[_0x2d09ca(0x3b6)])return;const {data:_0x4f56a9}=_0x56937f,{unitID:_0x362ec7,changeset:_0x5c04fc}=_0x4f56a9,{mutations:_0x2c826f,type:_0x22e361}=_0x5c04fc;this[_0x2d09ca(0x488)]={'unitId':_0x362ec7,'type':_0x22e361,'startTime':performance[_0x2d09ca(0x24a)](),'stopTime':0x0,'duration':0x0,'size':_0x21d7a0(_0x2c826f)};}[_0x2fa915(0x544)](){const _0x40a955=_0x2fa915;if(this[_0x40a955(0x3b6)]){if(!this[_0x40a955(0x488)]){this['_logService'][_0x40a955(0x3a9)](_0x40a955(0x1ea),_0x40a955(0x1d7));return;}this['_telemetryInfo'][_0x40a955(0x627)]=performance[_0x40a955(0x24a)](),this['_telemetryInfo'][_0x40a955(0x494)]=this[_0x40a955(0x488)]['stopTime']-this[_0x40a955(0x488)][_0x40a955(0x512)],this[_0x40a955(0x38d)][_0x40a955(0x61e)](_0x5a4a34,this[_0x40a955(0x488)]),this[_0x40a955(0x488)]=null;}}[_0x2fa915(0x170)](){const _0xf76a59=_0x2fa915;this[_0xf76a59(0x488)]=null;}},_0x539c7e['CollaborationSession']=_0x3865de([_0x1be4d5(0x2,_0x4587e1['ILogService']),_0x1be4d5(0x3,_0x3163bd['IBeforeCloseService']),_0x1be4d5(0x4,_0x3163bd['IMessageService']),_0x1be4d5(0x5,_0x4587e1[_0x2fa915(0x628)]),_0x1be4d5(0x6,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x1e2)])),_0x1be4d5(0x7,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e['MemberService'])),_0x1be4d5(0x8,_0x4587e1[_0x2fa915(0x42b)](_0x2707ce)),_0x1be4d5(0x9,_0x4587e1['Optional'](_0x5efb10['ITelemetryService']))],_0x539c7e[_0x2fa915(0x21c)]);var _0x3e83aa=Object[_0x2fa915(0x44e)],_0x5bd6e5=Object[_0x2fa915(0x569)],_0x1f432a=(_0x26232f,_0x391d20,_0x510e48,_0x2df9cb)=>{const _0x540678=_0x2fa915;for(var _0xcd187a=_0x2df9cb>0x1?void 0x0:_0x2df9cb?_0x5bd6e5(_0x391d20,_0x510e48):_0x391d20,_0x43937f=_0x26232f[_0x540678(0x4d9)]-0x1,_0x4091bd;_0x43937f>=0x0;_0x43937f--)(_0x4091bd=_0x26232f[_0x43937f])&&(_0xcd187a=(_0x2df9cb?_0x4091bd(_0x391d20,_0x510e48,_0xcd187a):_0x4091bd(_0xcd187a))||_0xcd187a);return _0x2df9cb&&_0xcd187a&&_0x3e83aa(_0x391d20,_0x510e48,_0xcd187a),_0xcd187a;},_0x39b388=(_0x76808,_0x18f0da)=>(_0x290deb,_0x1f5642)=>_0x18f0da(_0x290deb,_0x1f5642,_0x76808);_0x539c7e[_0x2fa915(0x240)]=class extends _0x4587e1['Disposable']{constructor(_0x27bf5b,_0x4d57f4,_0x100be7,_0x2333af,_0x10e94d,_0x37b935){const _0x34964e=_0x2fa915;super(),_0x339ceb(this,_0x34964e(0x541),new _0x3eec93[(_0x34964e(0x29b))](void 0x0)),_0x339ceb(this,'socket$',this[_0x34964e(0x541)][_0x34964e(0x630)]()),_0x339ceb(this,_0x34964e(0x1ce),null),_0x339ceb(this,_0x34964e(0x3ec),new Map()),_0x339ceb(this,'_status$',new _0x3eec93[(_0x34964e(0x29b))](_0x474ede[_0x34964e(0x3d5)])),_0x339ceb(this,_0x34964e(0x361),this[_0x34964e(0x1aa)]['asObservable']()),_0x339ceb(this,_0x34964e(0x392),!0x1),_0x339ceb(this,_0x34964e(0x271)),_0x339ceb(this,_0x34964e(0x349),0x0),_0x339ceb(this,_0x34964e(0x375)),_0x339ceb(this,_0x34964e(0x458)),(this['_injector']=_0x27bf5b,this[_0x34964e(0x497)]=_0x4d57f4,this['_messageService']=_0x100be7,this[_0x34964e(0x43a)]=_0x2333af,this['_configService']=_0x10e94d,this[_0x34964e(0x43f)]=_0x37b935,this[_0x34964e(0x502)]());}get['_socket'](){const _0x3ded98=_0x2fa915;return this[_0x3ded98(0x541)]['getValue']();}[_0x2fa915(0x502)](){const _0x1e224d=_0x2fa915;this[_0x1e224d(0x34c)](),this[_0x1e224d(0x17a)]();}[_0x2fa915(0x3ea)](){const _0x36fb09=_0x2fa915;super['dispose'](),this[_0x36fb09(0x3ec)][_0x36fb09(0x34b)](_0x19382c=>_0x19382c[_0x36fb09(0x3ea)]()),this[_0x36fb09(0x3ec)][_0x36fb09(0x385)](),this[_0x36fb09(0x1aa)][_0x36fb09(0x2e2)]();}async['requireSession'](_0x2f22a7){const _0x499da2=_0x2fa915;if(this['_sessions'][_0x499da2(0x364)](_0x2f22a7))return this[_0x499da2(0x3ec)][_0x499da2(0x4a0)](_0x2f22a7);this[_0x499da2(0x3b7)]();const _0x80be98=this[_0x499da2(0x60e)][_0x499da2(0x489)](_0x539c7e[_0x499da2(0x21c)],_0x2f22a7,this[_0x499da2(0x541)][_0x499da2(0x630)]());return this[_0x499da2(0x3ec)][_0x499da2(0x498)](_0x2f22a7,_0x80be98),_0x80be98;}['closeSession'](_0x31dd6e){const _0x4cf565=_0x2fa915;var _0x2a2090;const _0x21c430=this[_0x4cf565(0x3ec)][_0x4cf565(0x4a0)](_0x31dd6e);_0x21c430&&(this['_sessions'][_0x4cf565(0x4e2)](_0x31dd6e),_0x21c430[_0x4cf565(0x33c)]()),this['_sessions'][_0x4cf565(0x18b)]||(_0x2a2090=this[_0x4cf565(0x533)])==null||_0x2a2090[_0x4cf565(0x33c)]();}[_0x2fa915(0x424)](){const _0xb4938c=_0x2fa915;this[_0xb4938c(0x349)]=0x0,this[_0xb4938c(0x271)]!=null&&(clearTimeout(this[_0xb4938c(0x271)]),this[_0xb4938c(0x271)]=null),this[_0xb4938c(0x455)]();}['_createSocket'](){const _0xbce5f0=_0x2fa915;var _0x529ea3,_0x5eb4db;const _0x196699=this[_0xbce5f0(0x4e4)]['getConfig'](_0x58836a),_0x607946=this['_configService'][_0xbce5f0(0x185)](_0x152bb8),_0x232b7c=(_0x5eb4db=(_0x529ea3=_0x607946==null?void 0x0:_0x607946[_0xbce5f0(0x257)])!=null?_0x529ea3:_0x196699)!=null?_0x5eb4db:_0x2e309e,_0x2d297c=this[_0xbce5f0(0x43f)][_0xbce5f0(0x452)](_0x232b7c);return this[_0xbce5f0(0x1ce)]=_0x2d297c,_0x2d297c;}[_0x2fa915(0x3b7)](){const _0x1aaa5d=_0x2fa915;var _0x59a4cf,_0xf1f99f;try{const _0x291b41=(_0xf1f99f=(_0x59a4cf=this[_0x1aaa5d(0x533)])!=null?_0x59a4cf:this['_candidateSocket'])!=null?_0xf1f99f:this[_0x1aaa5d(0x39a)]();if(_0x291b41){const _0x2735e8=_0x291b41[_0x1aaa5d(0x5aa)];_0x291b41['send']=_0x54b4fa=>(this[_0x1aaa5d(0x222)](),_0x2735e8[_0x1aaa5d(0x54c)](_0x291b41,[_0x54b4fa])),_0x291b41[_0x1aaa5d(0x1c0)][_0x1aaa5d(0x447)](_0x19cc82=>this[_0x1aaa5d(0x60d)](_0x291b41,_0x19cc82)),_0x291b41[_0x1aaa5d(0x56f)]['pipe'](_0x18f07e[_0x1aaa5d(0x44f)](0x1))['subscribe'](_0x2c8419=>this[_0x1aaa5d(0x43a)][_0x1aaa5d(0x3a9)](_0x1aaa5d(0x440),_0x2c8419)),_0x291b41[_0x1aaa5d(0x52d)][_0x1aaa5d(0x276)](_0x18f07e[_0x1aaa5d(0x44f)](0x1))[_0x1aaa5d(0x447)](()=>{const _0x28dcaf=_0x1aaa5d;this[_0x28dcaf(0x58b)](_0x291b41);}),_0x291b41[_0x1aaa5d(0x48d)][_0x1aaa5d(0x276)](_0x18f07e[_0x1aaa5d(0x44f)](0x1))['subscribe'](_0x1fceea=>{const _0x56a4ec=_0x1aaa5d;this[_0x56a4ec(0x43a)][_0x56a4ec(0x472)](_0x56a4ec(0x486),_0x56a4ec(0x5ce),_0x1fceea),this[_0x56a4ec(0x500)]();});}}catch(_0x158aa1){this[_0x1aaa5d(0x43a)][_0x1aaa5d(0x3a9)](_0x158aa1),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x2a6b52){const _0x7bfa16=_0x2fa915;this[_0x7bfa16(0x43a)][_0x7bfa16(0x472)](_0x7bfa16(0x486),'socket\x20open.'),_0x2a6b52['send']({'cmd':_0x56802b[_0x7bfa16(0x416)]}),this['_rescheduleHeartbeat']();}[_0x2fa915(0x34c)](){const _0x3ff5c2=_0x2fa915;window[_0x3ff5c2(0x4fa)](_0x3ff5c2(0x2e5),()=>this[_0x3ff5c2(0x1f9)]());}['_onOffline'](){const _0x39dca5=_0x2fa915;this[_0x39dca5(0x392)]=!0x1,this[_0x39dca5(0x1ce)]=null,this[_0x39dca5(0x1aa)][_0x39dca5(0x1c9)](_0x474ede[_0x39dca5(0x3c4)]),this[_0x39dca5(0x541)][_0x39dca5(0x1c9)](null),this[_0x39dca5(0x59d)](),this[_0x39dca5(0x565)]();}[_0x2fa915(0x500)](){const _0x40a43c=_0x2fa915;var _0x2dd8a6;this['_onOffline'](),this[_0x40a43c(0x349)]<((_0x2dd8a6=this[_0x40a43c(0x4e4)][_0x40a43c(0x185)](_0xceef47))!=null?_0x2dd8a6:0x3)?(this[_0x40a43c(0x1c4)][_0x40a43c(0x1ca)]({'key':_0x40a43c(0x294),'type':_0x40b71f[_0x40a43c(0x219)]['Warning'],'content':this[_0x40a43c(0x497)]['t']('session.will-retry')}),this[_0x40a43c(0x455)]()):this[_0x40a43c(0x1c4)][_0x40a43c(0x1ca)]({'key':'collaboration-session-retry','type':_0x40b71f[_0x40a43c(0x219)][_0x40a43c(0x490)],'content':this[_0x40a43c(0x497)]['t'](_0x40a43c(0x1d2))});}['_listenToOnlineEvent'](){const _0x2a1ff1=_0x2fa915,_0x3817c7=()=>{const _0x398249=_0x5275;this[_0x398249(0x533)]||this[_0x398249(0x424)]();},_0x166f86=()=>{const _0x3eea05=_0x5275;this[_0x3eea05(0x533)]||document[_0x3eea05(0x532)]===_0x3eea05(0x587)||this['reconnect']();};window['addEventListener'](_0x2a1ff1(0x17c),_0x3817c7),document[_0x2a1ff1(0x4fa)](_0x2a1ff1(0x27d),_0x166f86);}[_0x2fa915(0x455)](){const _0x2e8d56=_0x2fa915;var _0x2d412c;const _0x4a3d55=this[_0x2e8d56(0x349)],_0x172c86=this[_0x2e8d56(0x4e4)]['getConfig'](_0x152bb8),_0x46417d=_0x4a3d55===0x0?0x0:((_0x2d412c=_0x172c86==null?void 0x0:_0x172c86[_0x2e8d56(0x3a5)])!=null?_0x2d412c:0x4e20)*0x2**_0x4a3d55;this[_0x2e8d56(0x271)]=window['setTimeout'](()=>{const _0x439e3b=_0x2e8d56;clearTimeout(this[_0x439e3b(0x271)]),this[_0x439e3b(0x271)]=null,this[_0x439e3b(0x3b7)]();},_0x46417d),this['_retryCount']+=0x1;}[_0x2fa915(0x60d)](_0x2509c5,_0x3de46e){const _0x5502a3=_0x2fa915,{cmd:_0x28722d}=_0x3de46e;_0x28722d===_0x56802b[_0x5502a3(0x416)]&&!this[_0x5502a3(0x392)]&&(_0x2509c5[_0x5502a3(0x59f)]=_0x3de46e[_0x5502a3(0x273)][_0x5502a3(0x59f)],this[_0x5502a3(0x541)][_0x5502a3(0x1c9)](_0x2509c5),this[_0x5502a3(0x1aa)]['next'](_0x474ede['ONLINE']),this[_0x5502a3(0x392)]=!0x0,this['_candidateSocket']=null),_0x28722d===_0x56802b[_0x5502a3(0x359)]&&this[_0x5502a3(0x59d)](),this[_0x5502a3(0x222)]();}[_0x2fa915(0x222)](){const _0x625fe3=_0x2fa915;var _0x43e343;this['_clearHeartbeatTimer'](),this[_0x625fe3(0x375)]=window[_0x625fe3(0x5fa)](()=>this[_0x625fe3(0x387)](),(_0x43e343=this['_configService']['getConfig'](_0x4a8a98))!=null?_0x43e343:0x7530);}[_0x2fa915(0x387)](){const _0x535f7f=_0x2fa915;this['_socket'][_0x535f7f(0x5aa)]({'cmd':_0x56802b['HEARTBEAT']}),this[_0x535f7f(0x172)]();}[_0x2fa915(0x172)](){const _0x44d95e=_0x2fa915;var _0x3fa9a2;this[_0x44d95e(0x458)]=window[_0x44d95e(0x5fa)](()=>this[_0x44d95e(0x500)](),(_0x3fa9a2=this[_0x44d95e(0x4e4)][_0x44d95e(0x185)](_0xa4064f))!=null?_0x3fa9a2:0x4e20);}[_0x2fa915(0x565)](){const _0x55363e=_0x2fa915;this[_0x55363e(0x375)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x55363e(0x375)]=null);}[_0x2fa915(0x59d)](){const _0x3f5337=_0x2fa915;this[_0x3f5337(0x458)]!=null&&(clearTimeout(this[_0x3f5337(0x458)]),this[_0x3f5337(0x458)]=null);}},_0x539c7e[_0x2fa915(0x240)]=_0x1f432a([_0x39b388(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x39b388(0x1,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1['LocaleService'])),_0x39b388(0x2,_0x3163bd[_0x2fa915(0x259)]),_0x39b388(0x3,_0x4587e1[_0x2fa915(0x62b)]),_0x39b388(0x4,_0x4587e1[_0x2fa915(0x628)]),_0x39b388(0x5,_0x5a365e)],_0x539c7e['CollaborationSessionService']);const _0x1dab81=[];for(let _0x2c5d61=0x0;_0x2c5d61<0x100;++_0x2c5d61)_0x1dab81['push']((_0x2c5d61+0x100)[_0x2fa915(0x38a)](0x10)[_0x2fa915(0x57d)](0x1));function _0x3d18d1(_0x113a5b,_0x5c10a8=0x0){return(_0x1dab81[_0x113a5b[_0x5c10a8+0x0]]+_0x1dab81[_0x113a5b[_0x5c10a8+0x1]]+_0x1dab81[_0x113a5b[_0x5c10a8+0x2]]+_0x1dab81[_0x113a5b[_0x5c10a8+0x3]]+'-'+_0x1dab81[_0x113a5b[_0x5c10a8+0x4]]+_0x1dab81[_0x113a5b[_0x5c10a8+0x5]]+'-'+_0x1dab81[_0x113a5b[_0x5c10a8+0x6]]+_0x1dab81[_0x113a5b[_0x5c10a8+0x7]]+'-'+_0x1dab81[_0x113a5b[_0x5c10a8+0x8]]+_0x1dab81[_0x113a5b[_0x5c10a8+0x9]]+'-'+_0x1dab81[_0x113a5b[_0x5c10a8+0xa]]+_0x1dab81[_0x113a5b[_0x5c10a8+0xb]]+_0x1dab81[_0x113a5b[_0x5c10a8+0xc]]+_0x1dab81[_0x113a5b[_0x5c10a8+0xd]]+_0x1dab81[_0x113a5b[_0x5c10a8+0xe]]+_0x1dab81[_0x113a5b[_0x5c10a8+0xf]])['toLowerCase']();}let _0x4d7a17;const _0x2d13c7=new Uint8Array(0x10);function _0xa70342(){const _0x4e5bf7=_0x2fa915;if(!_0x4d7a17){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x4e5bf7(0x3f0));_0x4d7a17=crypto['getRandomValues'][_0x4e5bf7(0x2c7)](crypto);}return _0x4d7a17(_0x2d13c7);}const _0x121df7={'randomUUID':typeof crypto<'u'&&crypto[_0x2fa915(0x37e)]&&crypto['randomUUID'][_0x2fa915(0x2c7)](crypto)};function _0x5c1a92(_0x193548,_0x34781e,_0x409dea){const _0xff3566=_0x2fa915;if(_0x121df7[_0xff3566(0x37e)]&&!_0x34781e&&!_0x193548)return _0x121df7[_0xff3566(0x37e)]();_0x193548=_0x193548||{};const _0x5dd5d2=_0x193548[_0xff3566(0x29a)]||(_0x193548[_0xff3566(0x522)]||_0xa70342)();return _0x5dd5d2[0x6]=_0x5dd5d2[0x6]&0xf|0x40,_0x5dd5d2[0x8]=_0x5dd5d2[0x8]&0x3f|0x80,_0x3d18d1(_0x5dd5d2);}var _0x37b9cd=Object[_0x2fa915(0x44e)],_0x20db5b=Object['getOwnPropertyDescriptor'],_0x479be4=(_0x5b3015,_0x4ccb49,_0x33dc4d,_0x31d1c0)=>{for(var _0x3886aa=_0x31d1c0>0x1?void 0x0:_0x31d1c0?_0x20db5b(_0x4ccb49,_0x33dc4d):_0x4ccb49,_0xecc3dc=_0x5b3015['length']-0x1,_0x569570;_0xecc3dc>=0x0;_0xecc3dc--)(_0x569570=_0x5b3015[_0xecc3dc])&&(_0x3886aa=(_0x31d1c0?_0x569570(_0x4ccb49,_0x33dc4d,_0x3886aa):_0x569570(_0x3886aa))||_0x3886aa);return _0x31d1c0&&_0x3886aa&&_0x37b9cd(_0x4ccb49,_0x33dc4d,_0x3886aa),_0x3886aa;},_0x363057=(_0x3ca02a,_0x2e96dc)=>(_0x644779,_0x1029d7)=>_0x2e96dc(_0x644779,_0x1029d7,_0x3ca02a);let _0xf435ee=class{constructor(_0x402a2c,_0x2ac7f2,_0x79e045){const _0x105a01=_0x2fa915;this[_0x105a01(0x60e)]=_0x402a2c,this['_transformService']=_0x2ac7f2,this['_renderManagerService']=_0x79e045;}['transformIMECache'](_0x51803f){const _0x48d049=_0x2fa915;this[_0x48d049(0x632)](_0x51803f),this[_0x48d049(0x442)](_0x51803f);}['transformRemoteChangeset'](_0xa7029a){const _0x205cdb=_0x2fa915,{unitID:_0x3febb8}=_0xa7029a,_0xe644b7=this[_0x205cdb(0x476)][_0x205cdb(0x5b6)](_0x3febb8)['with'](_0x28eee7[_0x205cdb(0x5b4)]),{redoCache:_0x1a62e1}=_0xe644b7[_0x205cdb(0x335)]();if(_0x1a62e1[_0x205cdb(0x4d9)]===0x0)return _0xa7029a;let _0x484bb6=_0x4587e1['Tools'][_0x205cdb(0x3f4)](_0xa7029a[_0x205cdb(0x4d3)][0x0]);for(let _0x1a7d42=0x0;_0x1a7d42<_0x1a62e1[_0x205cdb(0x4d9)];_0x1a7d42++){const _0x5a39da={'id':_0x205cdb(0x50a),'params':{..._0x1a62e1[_0x1a7d42]}},_0x2b9c8c=this['_transformService']['transformMutation'](_0x484bb6,_0x5a39da,!0x1);if(_0x215e4a[_0x205cdb(0x3de)](_0x2b9c8c))throw _0x2b9c8c[_0x205cdb(0x3a9)];_0x484bb6=_0x2b9c8c['m1Prime'];}return{..._0x4587e1['Tools']['deepClone'](_0xa7029a),'mutations':[_0x484bb6]};}[_0x2fa915(0x632)](_0x678c58){const _0x4340f2=_0x2fa915,{unitID:_0x459d18}=_0x678c58,_0x4f56fa=this[_0x4340f2(0x476)]['getRenderById'](_0x459d18)['with'](_0x28eee7['DocIMEInputManagerService']),{undoCache:_0x50b895,redoCache:_0x427ec9}=_0x4f56fa['getUndoRedoMutationParamsCache']();if(_0x50b895[_0x4340f2(0x4d9)]===0x0||_0x427ec9[_0x4340f2(0x4d9)]===0x0)return;const _0x111a3e=[],_0x548bf7=[];let _0xb3d46d=_0x4587e1[_0x4340f2(0x5f7)][_0x4340f2(0x3f4)](_0x678c58[_0x4340f2(0x4d3)][0x0]),_0xfb21f3=_0x4587e1['Tools']['deepClone'](_0x678c58['mutations'][0x0]);for(let _0x10100f=_0x50b895[_0x4340f2(0x4d9)]-0x1;_0x10100f>=0x0;_0x10100f--){const _0x48600f={'id':_0x4340f2(0x50a),'params':{..._0x50b895[_0x10100f]}},_0x42eae9={'id':'doc.mutation.rich-text-editing','params':{..._0x427ec9[_0x10100f]}},_0x3fd645=this[_0x4340f2(0x493)][_0x4340f2(0x2cb)](_0xb3d46d,_0x48600f,!0x1),_0x434113=this[_0x4340f2(0x493)][_0x4340f2(0x2cb)](_0xfb21f3,_0x42eae9,!0x1);if(_0x215e4a[_0x4340f2(0x3de)](_0x3fd645))throw _0x3fd645[_0x4340f2(0x3a9)];if(_0x215e4a[_0x4340f2(0x3de)](_0x434113))throw _0x434113[_0x4340f2(0x3a9)];_0x111a3e[_0x4340f2(0x2a1)](_0x3fd645['m2Prime']['params']),_0x548bf7[_0x4340f2(0x2a1)](_0x434113[_0x4340f2(0x239)][_0x4340f2(0x548)]),_0xb3d46d=_0x3fd645[_0x4340f2(0x50c)],_0xfb21f3=_0x434113['m1Prime'];}_0x4f56fa[_0x4340f2(0x33f)]({'undoCache':_0x111a3e,'redoCache':_0x548bf7});}[_0x2fa915(0x442)](_0x5db01e){const _0x18d818=_0x2fa915,{unitID:_0x23f9ad}=_0x5db01e,_0x12cbd9=this[_0x18d818(0x476)]['getRenderById'](_0x23f9ad)[_0x18d818(0x492)](_0x28eee7[_0x18d818(0x5b4)]),_0x305905=_0x12cbd9[_0x18d818(0x40b)]();if(_0x305905==null)return;const _0x2eefa6=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5db01e[_0x18d818(0x2d1)],'actions':null,'textRanges':[_0x305905]}}],_0x63d192=this[_0x18d818(0x493)][_0x18d818(0x439)](_0x5db01e,_0x2eefa6);if(!_0x215e4a[_0x18d818(0x539)](_0x63d192))throw _0x63d192[_0x18d818(0x3a9)];const _0x201405=_0x63d192[_0x18d818(0x239)][0x0]['params'][_0x18d818(0x1a8)];Array[_0x18d818(0x330)](_0x201405)&&_0x201405[_0x18d818(0x4d9)]&&_0x12cbd9[_0x18d818(0x27a)](_0x201405[0x0]);}};_0xf435ee=_0x479be4([_0x363057(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x363057(0x1,_0x215e4a[_0x2fa915(0x34d)]),_0x363057(0x2,_0x25d31a[_0x2fa915(0x372)])],_0xf435ee);var _0x3d5c13=Object['defineProperty'],_0x1a29ee=Object['getOwnPropertyDescriptor'],_0x2b5316=(_0x356f24,_0x309a8b,_0x7ac1fc,_0x493c66)=>{const _0x35c985=_0x2fa915;for(var _0x3ef47d=_0x493c66>0x1?void 0x0:_0x493c66?_0x1a29ee(_0x309a8b,_0x7ac1fc):_0x309a8b,_0x52d9b2=_0x356f24[_0x35c985(0x4d9)]-0x1,_0x41bc04;_0x52d9b2>=0x0;_0x52d9b2--)(_0x41bc04=_0x356f24[_0x52d9b2])&&(_0x3ef47d=(_0x493c66?_0x41bc04(_0x309a8b,_0x7ac1fc,_0x3ef47d):_0x41bc04(_0x3ef47d))||_0x3ef47d);return _0x493c66&&_0x3ef47d&&_0x3d5c13(_0x309a8b,_0x7ac1fc,_0x3ef47d),_0x3ef47d;},_0x431831=(_0x378816,_0x5202bb)=>(_0xe257ff,_0x35dde3)=>_0x5202bb(_0xe257ff,_0x35dde3,_0x378816);_0x539c7e['LocalCacheService']=class extends _0x4587e1[_0x2fa915(0x552)]{constructor(_0x3ad1fc,_0x5c9489,_0x341f26,_0x250427,_0xa40bdb){const _0x1b29f6=_0x2fa915;super(),_0x339ceb(this,'_cachedData',new Map()),_0x339ceb(this,_0x1b29f6(0x638),new Map()),_0x339ceb(this,_0x1b29f6(0x174),!0x1),(this[_0x1b29f6(0x4e4)]=_0x3ad1fc,this[_0x1b29f6(0x44b)]=_0x5c9489,this[_0x1b29f6(0x28d)]=_0x341f26,this[_0x1b29f6(0x497)]=_0x250427,this['_revisionService']=_0xa40bdb,this[_0x1b29f6(0x289)]());}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x2fa915(0x3bb)](){const _0x23d758=_0x2fa915;this[_0x23d758(0x174)]=!0x1;}[_0x2fa915(0x3ea)](){const _0x2549c=_0x2fa915;this[_0x2549c(0x2a9)]()[_0x2549c(0x20e)](()=>super['dispose']());}async['loadOfflineData'](_0x55a30e){const _0x8da5b6=_0x2fa915;return this[_0x8da5b6(0x174)]?null:this[_0x8da5b6(0x44b)]['getItem'](_0x446c6b(_0x55a30e));}async['saveOfflineData'](_0x57940c,_0x4b1786){const _0x1036a2=_0x2fa915;return!!this[_0x1036a2(0x44b)][_0x1036a2(0x5ea)](_0x57940c,_0x4b1786);}['updateOfflineData'](_0x483a7b,_0x2f5ceb,_0x3f7a81,_0x2f8ff9){const _0x5d7421=_0x2fa915,_0x41b14f=this[_0x5d7421(0x24d)][_0x5d7421(0x592)](_0x483a7b);this[_0x5d7421(0x1ff)][_0x5d7421(0x498)](_0x483a7b,{'unitID':_0x483a7b,'type':_0x2f5ceb,'awaitingChangeset':_0x3f7a81,'mutations':_0x2f8ff9,'rev':_0x41b14f}),this['_saveTaskMap'][_0x5d7421(0x364)](_0x483a7b)||this[_0x5d7421(0x54d)](_0x483a7b);}['_scheduleSaving'](_0x5057c9){const _0x9a17b9=_0x2fa915,_0x1873ab=this[_0x9a17b9(0x3c9)]();_0x1873ab===0x0?this[_0x9a17b9(0x1f2)](_0x5057c9):this[_0x9a17b9(0x638)][_0x9a17b9(0x498)](_0x5057c9,setTimeout(()=>this[_0x9a17b9(0x1f2)](_0x5057c9),_0x1873ab));}[_0x2fa915(0x3c9)](){const _0xa52d2c=_0x2fa915;var _0x364a9;return(_0x364a9=this[_0xa52d2c(0x4e4)][_0xa52d2c(0x185)](_0x4c60f6))!=null?_0x364a9:0x3e8;}[_0x2fa915(0x1f2)](_0x292dd4){const _0x32a2c5=_0x2fa915,_0x3dce40=this[_0x32a2c5(0x638)][_0x32a2c5(0x4a0)](_0x292dd4);return _0x3dce40!==void 0x0&&window[_0x32a2c5(0x622)](_0x3dce40),this[_0x32a2c5(0x44b)][_0x32a2c5(0x5ea)](_0x446c6b(_0x292dd4),this['_cachedData']['get'](_0x292dd4))['then'](()=>this[_0x32a2c5(0x638)][_0x32a2c5(0x4e2)](_0x292dd4));}async[_0x2fa915(0x2a9)](){const _0x49885e=_0x2fa915,_0x5a1bd8=[];this[_0x49885e(0x638)][_0x49885e(0x34b)]((_0x31c742,_0x13e017)=>{const _0x2b6e38=_0x49885e;window[_0x2b6e38(0x622)](_0x31c742),_0x5a1bd8[_0x2b6e38(0x367)](this[_0x2b6e38(0x1f2)](_0x13e017)[_0x2b6e38(0x20e)](()=>{const _0x29fd76=_0x2b6e38;this[_0x29fd76(0x638)][_0x29fd76(0x4e2)](_0x13e017);}));}),await Promise['all'](_0x5a1bd8);}[_0x2fa915(0x289)](){const _0x10eb49=_0x2fa915;this[_0x10eb49(0x211)](this['_beforeCloseService'][_0x10eb49(0x19d)](()=>{const _0x523156=_0x10eb49;if(this[_0x523156(0x638)][_0x523156(0x18b)])return this[_0x523156(0x497)]['t'](_0x523156(0x2fe));}));}},_0x539c7e['LocalCacheService']=_0x2b5316([_0x431831(0x0,_0x4587e1['IConfigService']),_0x431831(0x1,_0x4587e1[_0x2fa915(0x2ff)]),_0x431831(0x2,_0x3163bd[_0x2fa915(0x2d0)]),_0x431831(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1['LocaleService'])),_0x431831(0x4,_0x4587e1['Inject'](_0x215e4a[_0x2fa915(0x518)]))],_0x539c7e[_0x2fa915(0x408)]);function _0x446c6b(_0x4dae1e){const _0x3236d5=_0x2fa915;return _0x3236d5(0x254)+_0x4dae1e;}var _0x4f7137=Object[_0x2fa915(0x44e)],_0x32e7e4=Object[_0x2fa915(0x569)],_0x23a35e=(_0xb8913e,_0x4a5a40,_0x328be5,_0x5c06c9)=>{const _0xfe0d4d=_0x2fa915;for(var _0xd4efcb=_0x5c06c9>0x1?void 0x0:_0x5c06c9?_0x32e7e4(_0x4a5a40,_0x328be5):_0x4a5a40,_0x303d4c=_0xb8913e[_0xfe0d4d(0x4d9)]-0x1,_0x1e28ad;_0x303d4c>=0x0;_0x303d4c--)(_0x1e28ad=_0xb8913e[_0x303d4c])&&(_0xd4efcb=(_0x5c06c9?_0x1e28ad(_0x4a5a40,_0x328be5,_0xd4efcb):_0x1e28ad(_0xd4efcb))||_0xd4efcb);return _0x5c06c9&&_0xd4efcb&&_0x4f7137(_0x4a5a40,_0x328be5,_0xd4efcb),_0xd4efcb;},_0x292f32=(_0x171511,_0x149433)=>(_0x3551ee,_0x3116a0)=>_0x149433(_0x3551ee,_0x3116a0,_0x171511);function _0x4e14fd(_0x1f4703){const _0x4db9d5=_0x2fa915,{unitID:_0x323203,mutations:_0x3f9c27}=_0x1f4703;return{'unitId':_0x323203,'subUnitId':_0x3f9c27[0x0][_0x4db9d5(0x548)]['subUnitId']};}let _0x2a0fa4=class{constructor(_0x51d67f,_0x4e7b65,_0x4a92c8){const _0x40d49e=_0x2fa915;this['_injector']=_0x51d67f,this['_transformService']=_0x4e7b65,this[_0x40d49e(0x43b)]=_0x4a92c8;}['transformSelections'](_0x48a258){const _0x1b9a0c=_0x2fa915;var _0x8b872c,_0x1bf20e,_0x573a8d,_0xcf19f9;const _0xaefc0f=this['_injector'][_0x1b9a0c(0x4a0)](_0x27d820[_0x1b9a0c(0x201)]),{unitId:_0x4de7b2,subUnitId:_0x93bd0d}=_0x4e14fd(_0x48a258),_0x681a37=_0xaefc0f[_0x1b9a0c(0x223)](_0x4de7b2)[_0x1b9a0c(0x272)](),_0xd2d980=(_0x1bf20e=(_0x8b872c=this[_0x1b9a0c(0x43b)]['getUnit'](_0x4de7b2))==null?void 0x0:_0x8b872c[_0x1b9a0c(0x5ee)]())==null?void 0x0:_0x1bf20e[_0x1b9a0c(0x2f7)]();if(_0x681a37[_0x1b9a0c(0x4d9)]===0x0||!_0x4de7b2||!_0x93bd0d)return;const _0x259bfc=[{'id':_0x27d820[_0x1b9a0c(0x171)]['id'],'params':{'unitId':_0x4de7b2,'subUnitId':_0xd2d980,'selections':_0x4587e1[_0x1b9a0c(0x5f7)][_0x1b9a0c(0x3f4)](_0x681a37)}}],_0x20db32=this['_transformService'][_0x1b9a0c(0x439)](_0x48a258,_0x259bfc);if(!_0x215e4a[_0x1b9a0c(0x539)](_0x20db32))throw _0x20db32['error'];const _0x35e634=(_0xcf19f9=(_0x573a8d=_0x20db32[_0x1b9a0c(0x239)][0x0])==null?void 0x0:_0x573a8d[_0x1b9a0c(0x548)])==null?void 0x0:_0xcf19f9[_0x1b9a0c(0x2bd)];if(Array[_0x1b9a0c(0x330)](_0x35e634)&&_0x35e634[_0x1b9a0c(0x4d9)]){if(_0x35e634[_0x1b9a0c(0x4d9)]===_0x259bfc[0x0]['params'][_0x1b9a0c(0x2bd)][_0x1b9a0c(0x4d9)]&&_0x35e634['every']((_0x289819,_0x1a64f4)=>_0x4587e1[_0x1b9a0c(0x563)][_0x1b9a0c(0x346)](_0x289819[_0x1b9a0c(0x307)],_0x259bfc[0x0]['params'][_0x1b9a0c(0x2bd)][_0x1a64f4]['range'])))return;this[_0x1b9a0c(0x60e)][_0x1b9a0c(0x4a0)](_0x4587e1[_0x1b9a0c(0x60b)])[_0x1b9a0c(0x3c6)](_0x27d820[_0x1b9a0c(0x171)]['id'],{'unitId':_0x4de7b2,'subUnitId':_0xd2d980,'selections':_0x35e634});}}};_0x2a0fa4=_0x23a35e([_0x292f32(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x292f32(0x1,_0x215e4a['ITransformService']),_0x292f32(0x2,_0x4587e1[_0x2fa915(0x53b)])],_0x2a0fa4);const _0x426f76=_0x4587e1[_0x2fa915(0x22c)]('univer-pro.collaboration-client.single-active-unit-service');var _0x3ce0bf=(_0x58d627=>(_0x58d627[_0x58d627['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x2fa915(0x51b),_0x58d627[_0x58d627[_0x2fa915(0x3e1)]=0x1]=_0x2fa915(0x3e1),_0x58d627))(_0x3ce0bf||{});const _0x4a802e=0x7530,_0x2b0805=_0x2fa915(0x191);class _0x707295 extends _0x4587e1[_0x2fa915(0x552)]{constructor(){const _0x5ae2a9=_0x2fa915;super(),_0x339ceb(this,_0x5ae2a9(0x2d9),_0x4587e1[_0x5ae2a9(0x5f7)][_0x5ae2a9(0x334)]()),_0x339ceb(this,_0x5ae2a9(0x50d),new Set()),_0x339ceb(this,_0x5ae2a9(0x603),new Map()),_0x339ceb(this,'_heartbeatTimer',null),_0x339ceb(this,_0x5ae2a9(0x320),new Map()),_0x339ceb(this,_0x5ae2a9(0x46d),new Map()),this[_0x5ae2a9(0x16f)]();}['dispose'](){const _0x5623ff=_0x2fa915;super['dispose'](),this['_clearOtherTimers']['forEach']((_0x12ed2b,_0x4de2f9)=>this['_removeClearOtherTimer'](_0x4de2f9)),this[_0x5623ff(0x4f2)]&&window['clearInterval'](this[_0x5623ff(0x4f2)]);}[_0x2fa915(0x4ea)](_0x48c88b){const _0x3cb988=_0x2fa915;return this[_0x3cb988(0x322)](_0x48c88b)['pipe'](_0x3eec93[_0x3cb988(0x30d)]());}[_0x2fa915(0x316)](_0x1a59eb){const _0x49bba=_0x2fa915;this[_0x49bba(0x50d)][_0x49bba(0x18b)]===0x0&&this[_0x49bba(0x561)](),this[_0x49bba(0x50d)][_0x49bba(0x1db)](_0x1a59eb),this[_0x49bba(0x235)]({'type':0x0,'memberID':this[_0x49bba(0x2d9)],'unitIDs':[_0x1a59eb],'isForwarded':!0x1});}[_0x2fa915(0x47e)](_0xf8e175){const _0x10e693=_0x2fa915;this['_selfUnitIDs'][_0x10e693(0x4e2)](_0xf8e175),this[_0x10e693(0x50d)][_0x10e693(0x18b)]===0x0&&this['_heartbeatTimer']&&window[_0x10e693(0x4ae)](this['_heartbeatTimer']);}['_init'](){const _0x3b4b8f=_0x2fa915;this['disposeWithMe'](_0x4587e1[_0x3b4b8f(0x2a6)](_0x3eec93[_0x3b4b8f(0x639)](window,_0x3b4b8f(0x530))[_0x3b4b8f(0x447)](_0x3dcf9a=>{const _0x5f0003=_0x3b4b8f;if(_0x3dcf9a[_0x5f0003(0x391)]!==_0x2b0805||!_0x3dcf9a[_0x5f0003(0x2cc)])return;const _0x4d88cd=JSON[_0x5f0003(0x3bf)](_0x3dcf9a['newValue']);this[_0x5f0003(0x529)](_0x4d88cd);}))),window[_0x3b4b8f(0x4fa)]('unload',()=>this[_0x3b4b8f(0x235)]({'type':0x1,'memberID':this[_0x3b4b8f(0x2d9)],'unitIDs':Array[_0x3b4b8f(0x3e0)](this[_0x3b4b8f(0x50d)])}));}[_0x2fa915(0x529)](_0x528bf6){const _0x16e663=_0x2fa915;switch(_0x528bf6[_0x16e663(0x178)]){case 0x0:this[_0x16e663(0x520)](_0x528bf6);break;case 0x1:this[_0x16e663(0x546)](_0x528bf6);break;case 0x2:this['_handleHeartbeatEvent'](_0x528bf6);break;}}['_handleJoinEvent'](_0x5cb46a){const _0x17b744=_0x2fa915,{unitIDs:_0x2c2393,memberID:_0x371c9f,isForwarded:_0x401576}=_0x5cb46a;_0x2c2393[_0x17b744(0x34b)](_0x5dd5a8=>{const _0x30f319=_0x17b744;if(!_0x401576&&this[_0x30f319(0x603)][_0x30f319(0x364)](_0x5dd5a8)&&this[_0x30f319(0x322)](_0x5dd5a8)['next'](0x1),!this[_0x30f319(0x603)][_0x30f319(0x364)](_0x5dd5a8)||!this[_0x30f319(0x603)][_0x30f319(0x4a0)](_0x5dd5a8)[_0x30f319(0x364)](_0x371c9f)){const _0x355809=this['_unitOnClients'][_0x30f319(0x4a0)](_0x5dd5a8)||new Set();_0x355809[_0x30f319(0x1db)](_0x371c9f),this[_0x30f319(0x603)]['set'](_0x5dd5a8,_0x355809),this['_scheduleClearOtherTimer'](_0x371c9f);}}),_0x401576||this[_0x17b744(0x235)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x17b744(0x50d)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x107076){const _0x3168cc=_0x2fa915;this[_0x3168cc(0x20b)](_0x107076);const _0x58cb4c=window[_0x3168cc(0x5fa)](()=>{const _0x5f185f=_0x3168cc;this[_0x5f185f(0x603)][_0x5f185f(0x34b)](_0x3e5e34=>{const _0x249865=_0x5f185f;_0x3e5e34[_0x249865(0x4e2)](_0x107076);});},_0x4a802e*0x2);this['_clearOtherTimers'][_0x3168cc(0x498)](_0x107076,_0x58cb4c);}[_0x2fa915(0x20b)](_0x53a627){const _0x29f4c8=_0x2fa915;if(this[_0x29f4c8(0x320)][_0x29f4c8(0x364)](_0x53a627)){const _0x444b9e=this['_clearOtherTimers'][_0x29f4c8(0x4a0)](_0x53a627);_0x444b9e&&window[_0x29f4c8(0x622)](_0x444b9e),this[_0x29f4c8(0x320)][_0x29f4c8(0x498)](_0x53a627,null);}}['_handleLeaveEvent'](_0x43f253){const _0x7e0c83=_0x2fa915,{memberID:_0x5dcb43,unitIDs:_0x2f7d96}=_0x43f253;_0x2f7d96['forEach'](_0x245308=>{const _0x1c8d17=_0x5275;var _0x32489e;const _0x343902=this[_0x1c8d17(0x603)][_0x1c8d17(0x4a0)](_0x245308);_0x343902&&(_0x343902[_0x1c8d17(0x4e2)](_0x5dcb43),(_0x32489e=this['_ensureSubject'](_0x245308))==null||_0x32489e[_0x1c8d17(0x1c9)](_0x343902[_0x1c8d17(0x18b)]===0x0?0x0:0x1));}),this[_0x7e0c83(0x20b)](_0x5dcb43);}[_0x2fa915(0x631)](_0x1a40c2){const _0x44f4a7=_0x2fa915;this[_0x44f4a7(0x3b4)](_0x1a40c2[_0x44f4a7(0x59f)]);}['_send'](_0x6426b7){const _0x3c4c1a=_0x2fa915;localStorage[_0x3c4c1a(0x5ea)](_0x2b0805,JSON['stringify'](_0x6426b7));}[_0x2fa915(0x561)](){const _0x952ba4=_0x2fa915;this['_heartbeatTimer']=window[_0x952ba4(0x1ed)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x4a802e);}[_0x2fa915(0x322)](_0x2b4a77){const _0x257509=_0x2fa915;return this[_0x257509(0x46d)][_0x257509(0x364)](_0x2b4a77)||this['_unitStatus'][_0x257509(0x498)](_0x2b4a77,new _0x3eec93[(_0x257509(0x29b))](0x0)),this[_0x257509(0x46d)][_0x257509(0x4a0)](_0x2b4a77);}}var _0x57b38a=Object['defineProperty'],_0x8935b8=Object[_0x2fa915(0x569)],_0x3172eb=(_0x375cab,_0x54d26c,_0x4868ef,_0x3dc6e0)=>{const _0x2dcbe4=_0x2fa915;for(var _0x7cb39a=_0x3dc6e0>0x1?void 0x0:_0x3dc6e0?_0x8935b8(_0x54d26c,_0x4868ef):_0x54d26c,_0x30ed57=_0x375cab[_0x2dcbe4(0x4d9)]-0x1,_0x2585e8;_0x30ed57>=0x0;_0x30ed57--)(_0x2585e8=_0x375cab[_0x30ed57])&&(_0x7cb39a=(_0x3dc6e0?_0x2585e8(_0x54d26c,_0x4868ef,_0x7cb39a):_0x2585e8(_0x7cb39a))||_0x7cb39a);return _0x3dc6e0&&_0x7cb39a&&_0x57b38a(_0x54d26c,_0x4868ef,_0x7cb39a),_0x7cb39a;},_0x798b02=(_0x33ae65,_0x47558f)=>(_0x1f1cce,_0x477d0d)=>_0x47558f(_0x1f1cce,_0x477d0d,_0x33ae65);let _0x952708=class{constructor(_0x1c2e4d,_0x2e0bac,_0x497d28){const _0x271845=_0x2fa915;this[_0x271845(0x60e)]=_0x1c2e4d,this[_0x271845(0x493)]=_0x2e0bac,this['_docStateChangeManagerService']=_0x497d28;}[_0x2fa915(0x52a)](_0x2ac5fe){this['_transformHistoryAndStateStack'](_0x2ac5fe);}[_0x2fa915(0x543)](_0x20747d){const _0x55003b=_0x2fa915,{unitID:_0x1a18dc}=_0x20747d,{collaboration:_0x309a0a}=this[_0x55003b(0x16d)][_0x55003b(0x19c)](_0x1a18dc);if(_0x309a0a[_0x55003b(0x4d9)]===0x0)return _0x20747d;let _0x58339f=_0x4587e1['Tools'][_0x55003b(0x3f4)](_0x20747d[_0x55003b(0x4d3)][0x0]);for(let _0x175418=0x0;_0x175418<_0x309a0a['length'];_0x175418++){const _0x1314e0={'id':_0x55003b(0x50a),'params':{'unitId':_0x309a0a[_0x175418][_0x55003b(0x4f8)],..._0x309a0a[_0x175418]['redoState']}},_0x3e9087=this[_0x55003b(0x493)][_0x55003b(0x2cb)](_0x58339f,_0x1314e0,!0x1);if(_0x215e4a[_0x55003b(0x3de)](_0x3e9087))throw _0x3e9087[_0x55003b(0x3a9)];_0x58339f=_0x3e9087['m1Prime'];}return{..._0x4587e1[_0x55003b(0x5f7)]['deepClone'](_0x20747d),'mutations':[_0x58339f]};}['_transformHistoryAndStateStack'](_0x3a7166){const _0xd1237e=_0x2fa915,{unitID:_0x12e665}=_0x3a7166,{history:_0x1bd033,collaboration:_0x3bf0b2}=this[_0xd1237e(0x16d)][_0xd1237e(0x19c)](_0x12e665);if(_0x1bd033[_0xd1237e(0x4d9)]===0x0&&_0x3bf0b2[_0xd1237e(0x4d9)]===0x0)return;const _0x551cd2=[],_0x32bfff=[];let _0x1648c4=_0x4587e1[_0xd1237e(0x5f7)]['deepClone'](_0x3a7166[_0xd1237e(0x4d3)][0x0]),_0x27cd55=_0x4587e1['Tools'][_0xd1237e(0x3f4)](_0x3a7166['mutations'][0x0]);for(let _0x378f08=_0x1bd033[_0xd1237e(0x4d9)]-0x1;_0x378f08>=0x0;_0x378f08--){const _0x3c3eb0={'id':_0xd1237e(0x50a),'params':{'unitId':_0x1bd033[_0x378f08][_0xd1237e(0x4f8)],..._0x1bd033[_0x378f08][_0xd1237e(0x41e)]}},_0x5b2b2d={'id':_0xd1237e(0x50a),'params':{'unitId':_0x1bd033[_0x378f08][_0xd1237e(0x4f8)],..._0x1bd033[_0x378f08][_0xd1237e(0x410)]}},_0x33369e=this[_0xd1237e(0x493)][_0xd1237e(0x2cb)](_0x1648c4,_0x3c3eb0,!0x1),_0x1efc5d=this['_transformService'][_0xd1237e(0x2cb)](_0x27cd55,_0x5b2b2d,!0x1);if(_0x215e4a[_0xd1237e(0x3de)](_0x33369e))throw _0x33369e[_0xd1237e(0x3a9)];if(_0x215e4a[_0xd1237e(0x3de)](_0x1efc5d))throw _0x1efc5d['error'];_0x551cd2[_0xd1237e(0x2a1)]({..._0x1bd033[_0x378f08],'undoState':_0x33369e[_0xd1237e(0x239)]['params'],'redoState':_0x1efc5d[_0xd1237e(0x239)][_0xd1237e(0x548)]}),_0x1648c4=_0x33369e[_0xd1237e(0x50c)],_0x27cd55=_0x1efc5d['m1Prime'];}_0x1648c4=_0x4587e1[_0xd1237e(0x5f7)][_0xd1237e(0x3f4)](_0x3a7166[_0xd1237e(0x4d3)][0x0]),_0x27cd55=_0x4587e1[_0xd1237e(0x5f7)]['deepClone'](_0x3a7166['mutations'][0x0]);for(let _0x3fe4d6=_0x3bf0b2[_0xd1237e(0x4d9)]-0x1;_0x3fe4d6>=0x0;_0x3fe4d6--){const _0x8cc4f5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3bf0b2[_0x3fe4d6]['unitId'],..._0x3bf0b2[_0x3fe4d6]['undoState']}},_0x3a2a65={'id':_0xd1237e(0x50a),'params':{'unitId':_0x3bf0b2[_0x3fe4d6][_0xd1237e(0x4f8)],..._0x3bf0b2[_0x3fe4d6][_0xd1237e(0x410)]}},_0x276ba6=this[_0xd1237e(0x493)]['transformMutation'](_0x1648c4,_0x8cc4f5,!0x1),_0x4b6655=this[_0xd1237e(0x493)][_0xd1237e(0x2cb)](_0x27cd55,_0x3a2a65,!0x1);if(_0x215e4a['isTransformMutationFailure'](_0x276ba6))throw _0x276ba6[_0xd1237e(0x3a9)];if(_0x215e4a[_0xd1237e(0x3de)](_0x4b6655))throw _0x4b6655[_0xd1237e(0x3a9)];_0x32bfff['unshift']({..._0x3bf0b2[_0x3fe4d6],'undoState':_0x276ba6[_0xd1237e(0x239)][_0xd1237e(0x548)],'redoState':_0x4b6655[_0xd1237e(0x239)][_0xd1237e(0x548)]}),_0x1648c4=_0x276ba6['m1Prime'],_0x27cd55=_0x4b6655[_0xd1237e(0x50c)];}this[_0xd1237e(0x16d)][_0xd1237e(0x5dc)](_0x12e665,{'history':_0x551cd2,'collaboration':_0x32bfff});}};_0x952708=_0x3172eb([_0x798b02(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x798b02(0x1,_0x215e4a['ITransformService']),_0x798b02(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x28eee7[_0x2fa915(0x1c7)]))],_0x952708);function _0xfb0b4(_0x146e7d){const _0x3cb512=_0x2fa915;let _0x1db032='';for(const _0x329383 of _0x146e7d){const {startOffset:_0x472699,endOffset:_0x4d1f51,isActive:_0x48e76d,rangeType:_0x31e7fe,segmentId:_0xa31df5,segmentPage:_0x2ae851}=_0x329383;_0x1db032[_0x3cb512(0x4d9)]&&(_0x1db032+=','),_0x1db032+=_0x472699+':'+_0x4d1f51+':'+(_0x48e76d?'1':'0')+':'+_0x31e7fe+':'+_0xa31df5+':'+_0x2ae851;}return _0x1db032;}function _0x4169a4(_0x12095f){const _0x4ca167=_0x2fa915,_0x2fd588=_0x12095f[_0x4ca167(0x491)](','),_0x43ac68=[];for(const _0x4ff85e of _0x2fd588){const [_0xfbae6d,_0x5df9f3,_0x3c1918,_0x3e5aac,_0x2bd35b,_0x187a62]=_0x4ff85e[_0x4ca167(0x491)](':');_0x43ac68[_0x4ca167(0x367)]({'startOffset':Number(_0xfbae6d),'endOffset':Number(_0x5df9f3),'collapsed':_0xfbae6d===_0x5df9f3,'isActive':_0x3c1918==='1','rangeType':_0x3e5aac===_0x4587e1[_0x4ca167(0x383)]['TEXT']?_0x4587e1[_0x4ca167(0x383)][_0x4ca167(0x3df)]:_0x4587e1[_0x4ca167(0x383)][_0x4ca167(0x4a1)],'segmentId':typeof _0x2bd35b==_0x4ca167(0x241)?String(_0x2bd35b):'','segmentPage':Number(_0x187a62!=null?_0x187a62:-0x1)});}return _0x43ac68[_0x4ca167(0x16e)](_0x308b7f=>_0x308b7f[_0x4ca167(0x1c2)])||(_0x43ac68[0x0][_0x4ca167(0x1c2)]=!0x0),_0x43ac68;}class _0x54132e extends _0x4587e1[_0x2fa915(0x5b2)]{constructor(){const _0x43a5de=_0x2fa915;super(...arguments),_0x339ceb(this,'_collabCursorState$',new _0x3eec93[(_0x43a5de(0x29b))](null)),_0x339ceb(this,'collabCursorState$',this[_0x43a5de(0x32f)][_0x43a5de(0x630)]());}[_0x2fa915(0x475)](_0x5980e2){const {unitID:_0xd2d23c,memberID:_0x207342,textRanges:_0x21b9ad}=_0x5980e2,_0x13a91c=_0xfb0b4(_0x21b9ad);if(_0x13a91c==='')return;const _0x51b848={'unitID':_0xd2d23c,'memberID':_0x207342,'selection':_0x13a91c};this['_collabCursorState$']['next'](_0x51b848);}}var _0xe8ec2e=Object[_0x2fa915(0x44e)],_0x30a35b=Object['getOwnPropertyDescriptor'],_0x28246d=(_0x2428a7,_0x1a8ee0,_0x17ccd4,_0x2bcec2)=>{const _0x86c1f5=_0x2fa915;for(var _0x47d08f=_0x2bcec2>0x1?void 0x0:_0x2bcec2?_0x30a35b(_0x1a8ee0,_0x17ccd4):_0x1a8ee0,_0x3ef7f2=_0x2428a7[_0x86c1f5(0x4d9)]-0x1,_0x15f69f;_0x3ef7f2>=0x0;_0x3ef7f2--)(_0x15f69f=_0x2428a7[_0x3ef7f2])&&(_0x47d08f=(_0x2bcec2?_0x15f69f(_0x1a8ee0,_0x17ccd4,_0x47d08f):_0x15f69f(_0x47d08f))||_0x47d08f);return _0x2bcec2&&_0x47d08f&&_0xe8ec2e(_0x1a8ee0,_0x17ccd4,_0x47d08f),_0x47d08f;},_0x3fddb8=(_0x3e0fea,_0x2a3059)=>(_0x4f0f4b,_0x495161)=>_0x2a3059(_0x4f0f4b,_0x495161,_0x3e0fea);let _0x2e0132=class{constructor(_0x2621dc,_0x2af065){const _0x1d859c=_0x2fa915;this[_0x1d859c(0x60e)]=_0x2621dc,this[_0x1d859c(0x493)]=_0x2af065;}['transformSelections'](_0x1ca779){const _0x27338b=_0x2fa915;var _0x2d299a;const _0x2b6790=this['_injector'][_0x27338b(0x4a0)](_0x4844e7[_0x27338b(0x2f2)]),_0x11a2d4=(_0x2d299a=_0x2b6790['getDocRanges']())!=null?_0x2d299a:[];if(_0x11a2d4[_0x27338b(0x4d9)]===0x0)return;const _0x3996a7=_0x1ca779[_0x27338b(0x2d1)],_0x57c70a=[{'id':_0x27338b(0x50a),'params':{'unitId':_0x3996a7,'actions':null,'textRanges':_0x11a2d4}}],_0x366acb=this[_0x27338b(0x493)][_0x27338b(0x439)](_0x1ca779,_0x57c70a);if(!_0x215e4a[_0x27338b(0x539)](_0x366acb))throw _0x366acb[_0x27338b(0x3a9)];const _0x5172d2=_0x366acb[_0x27338b(0x239)][0x0]['params'][_0x27338b(0x1a8)];Array[_0x27338b(0x330)](_0x5172d2)&&_0x5172d2[_0x27338b(0x4d9)]&&_0x2b6790[_0x27338b(0x2a4)](_0x5172d2,{'unitId':_0x3996a7,'subUnitId':_0x3996a7},!0x1);}};_0x2e0132=_0x28246d([_0x3fddb8(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x3fddb8(0x1,_0x215e4a[_0x2fa915(0x34d)])],_0x2e0132);const _0x49a596=new Set([_0x27d820[_0x2fa915(0x58f)]['id']]);function _0x146bdf(_0x3cabf1,_0x3cb84c,_0x4a22f2,_0x52f2cb,_0x19e05b){const _0x366ebb=_0x2fa915;var _0x548f8e,_0x12dd98,_0x2c2ec7,_0x511cd6;const _0x1e1996=[];for(const _0x12032c of _0x3cabf1)if(_0x49a596[_0x366ebb(0x364)](_0x12032c['id'])){if(_0x1e1996[_0x366ebb(0x4d9)]>0x0)break;_0x1e1996[_0x366ebb(0x367)](_0x12032c);break;}else _0x1e1996[_0x366ebb(0x367)](_0x12032c);const _0x1da2a6=(_0x12dd98=(_0x548f8e=_0x19e05b[_0x366ebb(0x23d)]())==null?void 0x0:_0x548f8e['userID'])!=null?_0x12dd98:_0x366ebb(0x3c3),_0x106c92=(_0x511cd6=(_0x2c2ec7=_0x19e05b[_0x366ebb(0x23d)]())==null?void 0x0:_0x2c2ec7[_0x366ebb(0x59f)])!=null?_0x511cd6:_0x366ebb(0x3c3);return{'changeset':{'unitID':_0x3cb84c,'type':_0x215e4a[_0x366ebb(0x1e3)](_0x4a22f2['getUnitType'](_0x3cb84c)),'baseRev':_0x52f2cb['getCurrentRevOfUnit'](_0x3cb84c),'revision':0x0,'userID':_0x1da2a6,'memberID':_0x106c92,'mutations':_0x1e1996},'pendingMutations':_0x3cabf1[_0x366ebb(0x57d)](_0x1e1996[_0x366ebb(0x4d9)])};}function _0x18e44b(_0x52e639,_0x549ed6,_0xcd841,_0x578b9f,_0x36270c){const _0x1daa81=_0x2fa915;var _0xb911e6,_0x30cc00,_0x1f225d,_0x566ee8;const _0x1a936d=[_0x52e639[_0x1daa81(0x4f7)]((_0x5eee96,_0x127cea)=>{const _0x39afb7=_0x1daa81;var _0x4f4d2f;const {id:_0x4eb425}=_0x5eee96,{id:_0x51c8bf,type:_0x5cff48}=_0x127cea,_0xa40033=(_0x4f4d2f=_0x5eee96[_0x39afb7(0x548)])!=null?_0x4f4d2f:{'actions':null},_0x40a7e7=_0x127cea[_0x39afb7(0x548)];if(_0x4eb425&&_0x4eb425!==_0x51c8bf)throw new Error(_0x39afb7(0x4a7)+_0x4eb425+_0x39afb7(0x290)+_0x51c8bf+'.');return{..._0x5eee96,'id':_0x51c8bf,'type':_0x5cff48,'params':{'unitId':_0x40a7e7[_0x39afb7(0x4f8)],'textRanges':_0x40a7e7['textRanges'],'actions':_0x4587e1[_0x39afb7(0x26b)][_0x39afb7(0x60a)](_0xa40033[_0x39afb7(0x515)],_0x40a7e7[_0x39afb7(0x515)])}};},{})],_0x2d3a72=(_0x30cc00=(_0xb911e6=_0x36270c[_0x1daa81(0x23d)]())==null?void 0x0:_0xb911e6[_0x1daa81(0x215)])!=null?_0x30cc00:_0x1daa81(0x3c3),_0x111d87=(_0x566ee8=(_0x1f225d=_0x36270c[_0x1daa81(0x23d)]())==null?void 0x0:_0x1f225d['memberID'])!=null?_0x566ee8:'unknown';return{'changeset':{'unitID':_0x549ed6,'type':_0x215e4a[_0x1daa81(0x1e3)](_0xcd841['getUnitType'](_0x549ed6)),'baseRev':_0x578b9f[_0x1daa81(0x592)](_0x549ed6),'revision':0x0,'userID':_0x2d3a72,'memberID':_0x111d87,'mutations':_0x1a936d},'pendingMutations':[]};}function _0x1128e0(_0x2b61e5,_0x36e197){const _0x16f821=_0x2fa915,_0x4d767e=new _0x3eec93['ReplaySubject'](0x1);return setTimeout(()=>_0x4d767e[_0x16f821(0x1c9)](_0x36e197),_0x2b61e5),_0x4d767e[_0x16f821(0x630)]()[_0x16f821(0x276)](_0x3eec93['take'](0x1));}const _0x1cf697={'id':_0x27d820[_0x2fa915(0x4bd)]['id'],'type':_0x4587e1['CommandType'][_0x2fa915(0x5c9)],'params':{}};var _0x4d9329=Object[_0x2fa915(0x44e)],_0x3d9eeb=Object[_0x2fa915(0x569)],_0x5ce8d8=(_0x38eaf8,_0x4c5cc6,_0x148796,_0x117a31)=>{const _0x409e22=_0x2fa915;for(var _0x5c3143=_0x117a31>0x1?void 0x0:_0x117a31?_0x3d9eeb(_0x4c5cc6,_0x148796):_0x4c5cc6,_0xe0b605=_0x38eaf8[_0x409e22(0x4d9)]-0x1,_0x2170f1;_0xe0b605>=0x0;_0xe0b605--)(_0x2170f1=_0x38eaf8[_0xe0b605])&&(_0x5c3143=(_0x117a31?_0x2170f1(_0x4c5cc6,_0x148796,_0x5c3143):_0x2170f1(_0x5c3143))||_0x5c3143);return _0x117a31&&_0x5c3143&&_0x4d9329(_0x4c5cc6,_0x148796,_0x5c3143),_0x5c3143;},_0x5153ff=(_0x58a6d7,_0x10037f)=>(_0x3c3b76,_0x727776)=>_0x10037f(_0x3c3b76,_0x727776,_0x58a6d7),_0x3b904c=(_0x513f2d=>(_0x513f2d[_0x2fa915(0x5d0)]='not_collab',_0x513f2d[_0x2fa915(0x431)]='synced',_0x513f2d[_0x2fa915(0x177)]=_0x2fa915(0x4fb),_0x513f2d[_0x2fa915(0x3bd)]=_0x2fa915(0x5f3),_0x513f2d[_0x2fa915(0x50b)]=_0x2fa915(0x318),_0x513f2d[_0x2fa915(0x3b5)]='fetch_missing',_0x513f2d[_0x2fa915(0x360)]='conflict',_0x513f2d[_0x2fa915(0x3c4)]=_0x2fa915(0x2e5),_0x513f2d))(_0x3b904c||{});const _0x32517a=0xea60;class _0x3b18d0{constructor(_0x2f2334,_0xe5f945,_0x1d3804,_0x57b47a,_0x1ce9ea,_0x1e71c7,_0x3674fd,_0x287d4d,_0x1d8167){const _0x5540fc=_0x2fa915;_0x339ceb(this,'_awaitingChangeset',null),_0x339ceb(this,_0x5540fc(0x2f4),[]),(this[_0x5540fc(0x2d1)]=_0x2f2334,this[_0x5540fc(0x178)]=_0xe5f945,this[_0x5540fc(0x5d2)]=_0x1ce9ea,this[_0x5540fc(0x1a3)]=_0x1e71c7,this[_0x5540fc(0x217)]=_0x3674fd,this[_0x5540fc(0x24d)]=_0x287d4d,this[_0x5540fc(0x473)]=_0x1d8167,this[_0x5540fc(0x54e)]=_0x1d3804,this['_pendingMutations']=_0x57b47a);}[_0x2fa915(0x3c7)](_0x1d2bd5){const _0x4b557a=_0x2fa915,_0x825920=this[_0x4b557a(0x24d)][_0x4b557a(0x592)](this[_0x4b557a(0x2d1)]);return _0x1d2bd5[_0x4b557a(0x521)]>_0x825920+0x1?(this[_0x4b557a(0x5d2)]['onMissingChangesets']({'from':_0x825920,'to':_0x1d2bd5[_0x4b557a(0x521)]-0x1}),!0x0):!0x1;}[_0x2fa915(0x460)](_0x31a32b){const _0x15aa55=_0x2fa915;this[_0x15aa55(0x217)]['transformUndoRedo'](this[_0x15aa55(0x2d1)],_0x31a32b);}['_transformSelections'](_0x7a7d96){const _0x3cac2=_0x2fa915;var _0x4876d6,_0x1e6b52;(_0x1e6b52=(_0x4876d6=this[_0x3cac2(0x5d2)])[_0x3cac2(0x247)])==null||_0x1e6b52[_0x3cac2(0x246)](_0x4876d6,_0x7a7d96);}[_0x2fa915(0x60f)](_0x2f3ef7){const _0x25d34c=_0x2fa915;var _0x3571fe,_0x3ad734;return(_0x3ad734=(_0x3571fe=this['_handler'])[_0x25d34c(0x3ce)])==null?void 0x0:_0x3ad734['call'](_0x3571fe,_0x2f3ef7);}[_0x2fa915(0x5a0)](_0x1d9874){const _0x5cb025=_0x2fa915;var _0x31e825,_0x4197c6;return(_0x4197c6=(_0x31e825=this[_0x5cb025(0x5d2)])[_0x5cb025(0x314)])==null?void 0x0:_0x4197c6[_0x5cb025(0x246)](_0x31e825,_0x1d9874);}['_transformRemoteChangesetByIMECache'](_0x28597c){const _0x54af87=_0x2fa915;var _0xc2b7cb,_0x2bcaa7,_0x3bd3d6;return(_0x3bd3d6=(_0x2bcaa7=(_0xc2b7cb=this[_0x54af87(0x5d2)])[_0x54af87(0x39b)])==null?void 0x0:_0x2bcaa7[_0x54af87(0x246)](_0xc2b7cb,_0x28597c))!=null?_0x3bd3d6:_0x28597c;}[_0x2fa915(0x4b7)](_0x2e4239){const _0x5ba78b=_0x2fa915;var _0x1dd4ea,_0x499615,_0x495c3d;return(_0x495c3d=(_0x499615=(_0x1dd4ea=this['_handler'])[_0x5ba78b(0x3aa)])==null?void 0x0:_0x499615[_0x5ba78b(0x246)](_0x1dd4ea,_0x2e4239))!=null?_0x495c3d:_0x2e4239;}[_0x2fa915(0x61b)](_0x5af1b6){const _0x472032=_0x2fa915;var _0x3e1ce0,_0x2ae01e;if(this[_0x472032(0x178)]===_0xad4019[_0x472032(0x27b)]){const {unitID:_0x2a649e,mutations:_0x689a8e,memberID:_0x174aaa}=_0x5af1b6,_0x43ce02=_0x689a8e[0x0][_0x472032(0x548)][_0x472032(0x1a8)];Array[_0x472032(0x330)](_0x43ce02)&&_0x43ce02[_0x472032(0x4d9)]>0x0&&((_0x2ae01e=(_0x3e1ce0=this['_handler'])[_0x472032(0x3ae)])==null||_0x2ae01e[_0x472032(0x246)](_0x3e1ce0,{'unitID':_0x2a649e,'memberID':_0x174aaa,'textRanges':_0x43ce02}));}}['_updateLocalCache'](){const _0x5f4781=_0x2fa915;this['_localCacheService'][_0x5f4781(0x25b)](this[_0x5f4781(0x2d1)],this[_0x5f4781(0x178)],this[_0x5f4781(0x54e)],this['_pendingMutations']);}['_getCurrentRevision'](){const _0x53dc21=_0x2fa915;return this[_0x53dc21(0x24d)][_0x53dc21(0x592)](this[_0x53dc21(0x2d1)]);}[_0x2fa915(0x612)](){const _0x4f61d2=_0x2fa915;this[_0x4f61d2(0x24d)][_0x4f61d2(0x24b)](this[_0x4f61d2(0x2d1)]);}[_0x2fa915(0x1ae)](_0x342527){const _0x278836=_0x2fa915;var _0x26424e;let _0x29c73e=this[_0x278836(0x1a5)](_0x342527);_0x29c73e=this[_0x278836(0x4b7)](_0x29c73e);const _0x474e03=_0x4587e1[_0x278836(0x18e)](_0x29c73e['mutations'],this[_0x278836(0x1a3)],{'fromCollab':!0x0});if(!_0x474e03[_0x278836(0x4bb)])throw _0x474e03['error']instanceof Error?_0x474e03[_0x278836(0x3a9)]:new Error((_0x26424e=_0x474e03['error'])!=null?_0x26424e:_0x278836(0x504));this[_0x278836(0x60f)](_0x29c73e),this['_transformStateCache'](_0x29c73e),this['_transformUndoredo'](_0x342527),this['_transformSelections'](_0x29c73e),this[_0x278836(0x61b)](_0x29c73e),this[_0x278836(0x612)]();}}let _0x5eefa=class extends _0x3b18d0{constructor(_0x32661d,_0x5dc25e,_0x43887e,_0xab4200,_0x300bc5,_0x5b2cdd,_0x863dc1,_0x196161,_0x16608a,_0x4c9262){const _0x317074=_0x2fa915;super(_0x32661d,_0x5dc25e,null,[],_0x43887e,_0x196161,_0x863dc1,_0xab4200,_0x300bc5),_0x339ceb(this,_0x317074(0x37c),_0x317074(0x3a0)),(this[_0x317074(0x60e)]=_0x5b2cdd,this[_0x317074(0x43a)]=_0x16608a,this[_0x317074(0x493)]=_0x4c9262);}[_0x2fa915(0x62c)](_0x364372){const _0xf9314c=_0x2fa915,_0x85273f=this[_0xf9314c(0x60e)][_0xf9314c(0x489)](_0x1fcb0c,this[_0xf9314c(0x2d1)],this[_0xf9314c(0x178)],[_0x364372],this['_handler']);return _0x85273f[_0xf9314c(0x1d3)](),_0x85273f[_0xf9314c(0x300)](),_0x85273f;}[_0x2fa915(0x41c)](_0x32965d){const _0x306627=_0x2fa915;if(this['_checkMissing'](_0x32965d))return this[_0x306627(0x60e)][_0x306627(0x489)](_0x39decc,this[_0x306627(0x2d1)],this[_0x306627(0x178)],null,[],null,[_0x32965d],this[_0x306627(0x5d2)]);try{const _0x1d4055=this[_0x306627(0x493)][_0x306627(0x439)](_0x32965d,[_0x1cf697]);if(_0x215e4a[_0x306627(0x539)](_0x1d4055)){const {c1Prime:_0x3c9b6e}=_0x1d4055;return this[_0x306627(0x1ae)](_0x3c9b6e),this;}throw _0x1d4055[_0x306627(0x3a9)];}catch(_0x5e1023){return this[_0x306627(0x43a)][_0x306627(0x3a9)](_0x5e1023),this[_0x306627(0x193)](!0x1);}}[_0x2fa915(0x193)](_0x2781ae){const _0x547d94=_0x2fa915;return this[_0x547d94(0x60e)]['createInstance'](_0x1c7d65,this[_0x547d94(0x2d1)],this[_0x547d94(0x178)],null,[],this[_0x547d94(0x5d2)],_0x2781ae);}[_0x2fa915(0x450)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x3fb984=_0x2fa915;throw new Error(_0x3fb984(0x4c5));}['onRemoteRetry'](){return this;}[_0x2fa915(0x3ba)](){const _0x351f60=_0x2fa915;return this[_0x351f60(0x60e)]['createInstance'](_0x1ccc4c,this['unitID'],this['type'],null,[],this['_handler']);}[_0x2fa915(0x508)](){return this;}[_0x2fa915(0x2d4)](){const _0x444fb5=_0x2fa915;throw new Error(_0x444fb5(0x39c));}[_0x2fa915(0x487)](){const _0x2de6bb=_0x2fa915,_0x3096f9=this[_0x2de6bb(0x24d)][_0x2de6bb(0x592)](this[_0x2de6bb(0x2d1)]);return this[_0x2de6bb(0x5d2)][_0x2de6bb(0x4ce)]({'from':_0x3096f9,'to':0x0}),this[_0x2de6bb(0x60e)][_0x2de6bb(0x489)](_0x39decc,this[_0x2de6bb(0x2d1)],this[_0x2de6bb(0x178)],null,[],null,[],this[_0x2de6bb(0x5d2)]);}};_0x5eefa=_0x5ce8d8([_0x5153ff(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a[_0x2fa915(0x518)])),_0x5153ff(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x408)])),_0x5153ff(0x5,_0x4587e1['Inject'](_0x4587e1[_0x2fa915(0x403)])),_0x5153ff(0x6,_0x4587e1[_0x2fa915(0x428)]),_0x5153ff(0x7,_0x4587e1[_0x2fa915(0x60b)]),_0x5153ff(0x8,_0x4587e1['ILogService']),_0x5153ff(0x9,_0x215e4a[_0x2fa915(0x34d)])],_0x5eefa);let _0x1fcb0c=class extends _0x3b18d0{constructor(_0x50d9b1,_0x5ae67c,_0x4a79df,_0x4e33bd,_0x16f8a5,_0x8da3fe,_0x35b41b,_0x5397f1,_0x2c8a69,_0x13e103,_0x5729e4,_0x2f6251,_0x496605,_0x505965){const _0x37fd30=_0x2fa915;super(_0x50d9b1,_0x5ae67c,null,_0x4a79df,_0x4e33bd,_0x13e103,_0x505965,_0x8da3fe,_0x35b41b),_0x339ceb(this,_0x37fd30(0x37c),'pending'),_0x339ceb(this,_0x37fd30(0x531),null),_0x339ceb(this,_0x37fd30(0x30f),null),(this['_injector']=_0x16f8a5,this['_memberService']=_0x5397f1,this['_logService']=_0x2c8a69,this[_0x37fd30(0x4e4)]=_0x5729e4,this['_transformService']=_0x2f6251,this['_univerInstanceService']=_0x496605);}[_0x2fa915(0x62c)](_0x3b2ed8){const _0x459f13=_0x2fa915;return this['_pendingMutations'][_0x459f13(0x367)](_0x3b2ed8),this[_0x459f13(0x300)](),this;}[_0x2fa915(0x41c)](_0x5f03d0){const _0x2848f1=_0x2fa915;if(this[_0x2848f1(0x3c7)](_0x5f03d0))return this[_0x2848f1(0x243)](),this[_0x2848f1(0x60e)]['createInstance'](_0x39decc,this[_0x2848f1(0x2d1)],this[_0x2848f1(0x178)],null,this[_0x2848f1(0x2f4)],null,[_0x5f03d0],this[_0x2848f1(0x5d2)]);try{const _0x1b776e=this['_transformService'][_0x2848f1(0x439)](_0x5f03d0,this[_0x2848f1(0x2f4)]);if(_0x215e4a[_0x2848f1(0x539)](_0x1b776e)){const {c1Prime:_0x4ba702,m2Prime:_0x5ace21}=_0x1b776e;this[_0x2848f1(0x1ae)](_0x4ba702);const _0x478fcc=this['_injector'][_0x2848f1(0x489)](_0x1fcb0c,this[_0x2848f1(0x2d1)],this[_0x2848f1(0x178)],_0x5ace21,this[_0x2848f1(0x5d2)]);return this[_0x2848f1(0x243)](),_0x478fcc[_0x2848f1(0x1d3)](this[_0x2848f1(0x531)]?Math[_0x2848f1(0x433)](0x0,new Date()['getTime']()-this[_0x2848f1(0x531)]):this[_0x2848f1(0x29d)]()),_0x478fcc;}throw _0x1b776e[_0x2848f1(0x3a9)];}catch(_0x350e87){return this[_0x2848f1(0x43a)][_0x2848f1(0x3a9)](_0x350e87),this['_onConflict'](!0x1);}}['onRemoteAck'](){const _0x2ebe4f=_0x2fa915;throw new Error(_0x2ebe4f(0x399));}[_0x2fa915(0x524)](){const _0x24b83c=_0x2fa915;throw new Error(_0x24b83c(0x4d6));}['onRemoteRetry'](){return this;}[_0x2fa915(0x3ba)](){const _0x261c90=_0x2fa915;return this[_0x261c90(0x243)](),this[_0x261c90(0x60e)][_0x261c90(0x489)](_0x1ccc4c,this[_0x261c90(0x2d1)],this[_0x261c90(0x178)],null,this[_0x261c90(0x2f4)],this['_handler']);}[_0x2fa915(0x508)](){return this;}[_0x2fa915(0x1d3)](_0x20c00e){const _0x26dba5=_0x2fa915,_0x551142=_0x20c00e!=null?_0x20c00e:this[_0x26dba5(0x29d)]();this[_0x26dba5(0x531)]=new Date()[_0x26dba5(0x421)](),this[_0x26dba5(0x30f)]=window['setTimeout'](()=>{const _0x41f60a=_0x26dba5;this[_0x41f60a(0x243)]();let _0x461f19=null;switch(this[_0x41f60a(0x178)]){case _0xad4019[_0x41f60a(0x3ee)]:{_0x461f19=_0x146bdf(this[_0x41f60a(0x2f4)],this[_0x41f60a(0x2d1)],this[_0x41f60a(0x3c1)],this['_revisionService'],this[_0x41f60a(0x226)]);break;}case _0xad4019[_0x41f60a(0x27b)]:{this[_0x41f60a(0x2f4)][_0x41f60a(0x4e3)](_0x3fe896=>_0x3fe896['id']===_0x4844e7[_0x41f60a(0x5c4)]['id'])?_0x461f19=_0x18e44b(this[_0x41f60a(0x2f4)],this[_0x41f60a(0x2d1)],this[_0x41f60a(0x3c1)],this[_0x41f60a(0x24d)],this[_0x41f60a(0x226)]):_0x461f19=_0x146bdf(this[_0x41f60a(0x2f4)],this[_0x41f60a(0x2d1)],this[_0x41f60a(0x3c1)],this[_0x41f60a(0x24d)],this[_0x41f60a(0x226)]);break;}default:throw new Error(_0x41f60a(0x45a)+this['type']+_0x41f60a(0x251));}const {changeset:_0x5731cc,pendingMutations:_0x3663d4}=_0x461f19;this[_0x41f60a(0x5d2)][_0x41f60a(0x2b7)](_0x5731cc);const _0x1cf2e2=_0x3663d4[_0x41f60a(0x4d9)]?this[_0x41f60a(0x60e)][_0x41f60a(0x489)](_0x471081,this['unitID'],this[_0x41f60a(0x178)],_0x5731cc,_0x3663d4,this['_handler'],void 0x0):this[_0x41f60a(0x60e)][_0x41f60a(0x489)](_0x38c50b,this['unitID'],this['type'],_0x5731cc,this[_0x41f60a(0x5d2)]);_0x1cf2e2[_0x41f60a(0x300)](),this[_0x41f60a(0x5d2)]['onStateChange'](this,_0x1cf2e2);},_0x551142);}['_getSendChangesetTimeout'](){const _0x42aada=_0x2fa915;var _0x4bdf40;const _0x68fe69=this[_0x42aada(0x4e4)][_0x42aada(0x185)](_0x152bb8);return(_0x4bdf40=_0x68fe69==null?void 0x0:_0x68fe69[_0x42aada(0x560)])!=null?_0x4bdf40:0x7d0;}[_0x2fa915(0x2d4)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2fa915(0x243)](){this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}['_onConflict'](_0x50b3f3){const _0x110cf0=_0x2fa915;return this['_clearScheduledTask'](),this[_0x110cf0(0x60e)][_0x110cf0(0x489)](_0x1c7d65,this[_0x110cf0(0x2d1)],this[_0x110cf0(0x178)],null,this[_0x110cf0(0x2f4)],this[_0x110cf0(0x5d2)],_0x50b3f3);}};_0x1fcb0c=_0x5ce8d8([_0x5153ff(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1['Injector'])),_0x5153ff(0x5,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a['RevisionService'])),_0x5153ff(0x6,_0x4587e1['Inject'](_0x539c7e[_0x2fa915(0x408)])),_0x5153ff(0x7,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x1d1)])),_0x5153ff(0x8,_0x4587e1[_0x2fa915(0x62b)]),_0x5153ff(0x9,_0x4587e1[_0x2fa915(0x60b)]),_0x5153ff(0xa,_0x4587e1[_0x2fa915(0x628)]),_0x5153ff(0xb,_0x215e4a[_0x2fa915(0x34d)]),_0x5153ff(0xc,_0x4587e1[_0x2fa915(0x53b)]),_0x5153ff(0xd,_0x4587e1[_0x2fa915(0x428)])],_0x1fcb0c);let _0x38c50b=class extends _0x3b18d0{constructor(_0x4b150c,_0x2af04e,_0x34d900,_0x14c08d,_0x1fb49c,_0x15792e,_0x3d74ca,_0x597853,_0xc1a05a,_0x235bdc,_0x5d7723){const _0x524f4e=_0x2fa915;super(_0x4b150c,_0x2af04e,_0x34d900,[],_0x14c08d,_0x597853,_0x5d7723,_0x15792e,_0x3d74ca),_0x339ceb(this,_0x524f4e(0x37c),'awaiting'),_0x339ceb(this,_0x524f4e(0x5e1),0x0),_0x339ceb(this,_0x524f4e(0x5be)),_0x339ceb(this,_0x524f4e(0x417)),(this[_0x524f4e(0x60e)]=_0x1fb49c,this[_0x524f4e(0x43a)]=_0xc1a05a,this['_transformService']=_0x235bdc);}[_0x2fa915(0x62c)](_0x217be6){const _0x2c6a18=_0x2fa915;this[_0x2c6a18(0x243)]();const _0x1c985c=this['_injector'][_0x2c6a18(0x489)](_0x471081,this[_0x2c6a18(0x2d1)],this['type'],this[_0x2c6a18(0x54e)],[_0x217be6],this[_0x2c6a18(0x5d2)],this[_0x2c6a18(0x5be)]);return _0x1c985c[_0x2c6a18(0x300)](),_0x1c985c;}[_0x2fa915(0x41c)](_0x2d371c){const _0x3f4b37=_0x2fa915;if(this[_0x3f4b37(0x3c7)](_0x2d371c))return this[_0x3f4b37(0x243)](),this[_0x3f4b37(0x60e)][_0x3f4b37(0x489)](_0x39decc,this[_0x3f4b37(0x2d1)],this['type'],this[_0x3f4b37(0x54e)],[],null,[_0x2d371c],this[_0x3f4b37(0x5d2)]);try{const _0xe17062=this['_transformService']['transformChangesets']([_0x2d371c],[this[_0x3f4b37(0x54e)]],!0x1);if(_0x215e4a['isTransformChangesetsSuccess'](_0xe17062)){const {c1Prime:_0x30b43b,c2Prime:_0x1c15eb}=_0xe17062;this[_0x3f4b37(0x1ae)](_0x30b43b[0x0]),_0x1c15eb[0x0]['baseRev']=this[_0x3f4b37(0x47d)](),this[_0x3f4b37(0x243)]();const _0x31ec33=this[_0x3f4b37(0x60e)][_0x3f4b37(0x489)](_0x38c50b,this[_0x3f4b37(0x2d1)],this['type'],_0x1c15eb[0x0],this[_0x3f4b37(0x5d2)]);return _0x31ec33[_0x3f4b37(0x300)](),_0x31ec33;}return this[_0x3f4b37(0x193)](!0x1);}catch(_0x8b20ef){return this[_0x3f4b37(0x43a)][_0x3f4b37(0x3a9)](_0x8b20ef),this[_0x3f4b37(0x193)](!0x1);}}[_0x2fa915(0x450)](_0x215b54){const _0x265d00=_0x2fa915;this['_clearScheduledTask']();const _0x11c376=this[_0x265d00(0x24d)][_0x265d00(0x592)](this[_0x265d00(0x2d1)]);if(_0x215b54[_0x265d00(0x521)]<_0x11c376-0x1)return this;if(this[_0x265d00(0x3c7)](_0x215b54))return this[_0x265d00(0x60e)][_0x265d00(0x489)](_0x39decc,this[_0x265d00(0x2d1)],this[_0x265d00(0x178)],null,[],this['_awaitingChangeset'],[],this[_0x265d00(0x5d2)]);this[_0x265d00(0x612)]();const _0x9a376b=this['_injector'][_0x265d00(0x489)](_0x5eefa,this[_0x265d00(0x2d1)],this['type'],this['_handler']);return _0x9a376b[_0x265d00(0x300)](),_0x9a376b;}[_0x2fa915(0x524)](_0x35e8df){const _0x26f82d=_0x2fa915;return this[_0x26f82d(0x193)](!!(_0x35e8df!=null&&_0x35e8df[_0x26f82d(0x5df)]));}[_0x2fa915(0x611)](_0x419ca9){const _0x198634=_0x2fa915;return this[_0x198634(0x5e1)]>_0x32517a?this[_0x198634(0x3ba)]():(this[_0x198634(0x5be)]=_0x1128e0(this[_0x198634(0x5e1)],{'timeout':this[_0x198634(0x5e1)],'reqId':_0x419ca9[_0x198634(0x31e)]}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0xda7194,timeout:_0x5d87f7})=>{this['_resendWithTimeout'](_0xda7194,_0x5d87f7);}),this);}[_0x2fa915(0x3ba)](){const _0x1f54f8=_0x2fa915;return this[_0x1f54f8(0x243)](),this[_0x1f54f8(0x60e)][_0x1f54f8(0x489)](_0x1ccc4c,this[_0x1f54f8(0x2d1)],this[_0x1f54f8(0x178)],this[_0x1f54f8(0x54e)],[],this[_0x1f54f8(0x5d2)]);}[_0x2fa915(0x508)](){return this;}[_0x2fa915(0x2d4)](){const _0x30a321=_0x2fa915;this[_0x30a321(0x5d2)][_0x30a321(0x2b7)](this[_0x30a321(0x54e)]);}[_0x2fa915(0x193)](_0x1f3497){const _0xfeef21=_0x2fa915;return this[_0xfeef21(0x243)](),this[_0xfeef21(0x60e)][_0xfeef21(0x489)](_0x1c7d65,this['unitID'],this['type'],this['_awaitingChangeset'],[],this[_0xfeef21(0x5d2)],_0x1f3497);}[_0x2fa915(0x2c6)](_0xd48730,_0x377d1c){const _0x22724d=_0x2fa915;var _0xa6a0c1;_0xd48730===((_0xa6a0c1=this[_0x22724d(0x54e)])==null?void 0x0:_0xa6a0c1[_0x22724d(0x31e)])&&(this[_0x22724d(0x2d4)](),this[_0x22724d(0x5e1)]=_0x377d1c===0x0?0x3e8:_0x377d1c*0x2);}[_0x2fa915(0x243)](){const _0x11c1dc=_0x2fa915;var _0xa3f339;(_0xa3f339=this[_0x11c1dc(0x417)])==null||_0xa3f339[_0x11c1dc(0x2ce)](),this['_resendTimeout']=0x0;}};_0x38c50b=_0x5ce8d8([_0x5153ff(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x5153ff(0x5,_0x4587e1['Inject'](_0x215e4a['RevisionService'])),_0x5153ff(0x6,_0x4587e1['Inject'](_0x539c7e[_0x2fa915(0x408)])),_0x5153ff(0x7,_0x4587e1[_0x2fa915(0x60b)]),_0x5153ff(0x8,_0x4587e1['ILogService']),_0x5153ff(0x9,_0x215e4a[_0x2fa915(0x34d)]),_0x5153ff(0xa,_0x4587e1[_0x2fa915(0x428)])],_0x38c50b);let _0x471081=class extends _0x3b18d0{constructor(_0x3843e7,_0x5c01db,_0x5b8bcc,_0x37db43,_0x1ab61c,_0x4393b9,_0x501e86,_0x552f41,_0x4d4570,_0x5718e5,_0xd279ec,_0x261004,_0x3c4b88){const _0x2eb713=_0x2fa915;super(_0x3843e7,_0x5c01db,_0x5b8bcc,_0x37db43,_0x1ab61c,_0x5718e5,_0x3c4b88,_0x552f41,_0x4d4570),_0x339ceb(this,_0x2eb713(0x37c),_0x2eb713(0x318)),_0x339ceb(this,_0x2eb713(0x5e1),0x0),_0x339ceb(this,'_resendTimer'),_0x339ceb(this,'_sender'),(this[_0x2eb713(0x60e)]=_0x501e86,this[_0x2eb713(0x43a)]=_0xd279ec,this['_transformService']=_0x261004,_0x4393b9&&(this['_resendTimer']=_0x4393b9,this[_0x2eb713(0x417)]=this[_0x2eb713(0x5be)]['subscribe'](({reqId:_0x200b28,timeout:_0x698c87})=>{const _0x219958=_0x2eb713;this[_0x219958(0x2c6)](_0x200b28,_0x698c87);})));}['appendMutation'](_0xc97637){const _0x92a59d=_0x2fa915;return this[_0x92a59d(0x2f4)][_0x92a59d(0x367)](_0xc97637),this;}[_0x2fa915(0x41c)](_0x5063ed){const _0xc948b=_0x2fa915;if(this[_0xc948b(0x3c7)](_0x5063ed))return this[_0xc948b(0x243)](),this[_0xc948b(0x60e)]['createInstance'](_0x39decc,this[_0xc948b(0x2d1)],this[_0xc948b(0x178)],this[_0xc948b(0x54e)],this[_0xc948b(0x2f4)],null,[_0x5063ed],this[_0xc948b(0x5d2)]);try{const _0x38b489=this['_transformService']['transformChangesets']([_0x5063ed],[this['_awaitingChangeset']],!0x1);if(_0x215e4a[_0xc948b(0x288)](_0x38b489)){const {c1Prime:_0x1ea712,c2Prime:_0xc199ee}=_0x38b489,_0x48296d=this['_transformService'][_0xc948b(0x439)](_0x1ea712[0x0],this[_0xc948b(0x2f4)]);if(_0x215e4a[_0xc948b(0x539)](_0x48296d)){const {c1Prime:_0x2293df,m2Prime:_0x73386f}=_0x48296d;return this[_0xc948b(0x1ae)](_0x2293df),_0xc199ee[0x0]['baseRev']=this[_0xc948b(0x47d)](),this['_clearScheduledTask'](),this[_0xc948b(0x60e)][_0xc948b(0x489)](_0x471081,this[_0xc948b(0x2d1)],this[_0xc948b(0x178)],_0xc199ee[0x0],_0x73386f,this[_0xc948b(0x5d2)],void 0x0);}throw _0x48296d['error'];}throw _0x38b489[_0xc948b(0x3a9)];}catch(_0x3b671d){return this['_logService'][_0xc948b(0x3a9)](_0x3b671d),this[_0xc948b(0x193)](!0x1);}}['onRemoteAck'](_0xf14810){const _0x529f9d=_0x2fa915;if(this[_0x529f9d(0x243)](),this[_0x529f9d(0x3c7)](_0xf14810))return this['_injector'][_0x529f9d(0x489)](_0x39decc,this['unitID'],this[_0x529f9d(0x178)],null,this[_0x529f9d(0x2f4)],this['_awaitingChangeset'],[],this[_0x529f9d(0x5d2)]);this[_0x529f9d(0x612)]();const _0x26088e=this[_0x529f9d(0x60e)][_0x529f9d(0x489)](_0x1fcb0c,this[_0x529f9d(0x2d1)],this[_0x529f9d(0x178)],this[_0x529f9d(0x2f4)],this[_0x529f9d(0x5d2)]);return _0x26088e[_0x529f9d(0x1d3)](),_0x26088e[_0x529f9d(0x300)](),_0x26088e;}[_0x2fa915(0x524)](_0x4b1cca){const _0x55ff57=_0x2fa915;return this['_onConflict'](!!(_0x4b1cca!=null&&_0x4b1cca[_0x55ff57(0x5df)]));}['onRemoteRetry'](_0x17d527){const _0x467572=_0x2fa915;return this[_0x467572(0x5e1)]>_0x32517a?this[_0x467572(0x3ba)]():(this[_0x467572(0x5be)]=_0x1128e0(this[_0x467572(0x5e1)],{'timeout':this[_0x467572(0x5e1)],'reqId':_0x17d527['reqId']}),this['_sender']=this[_0x467572(0x5be)]['subscribe'](({reqId:_0x40d93c,timeout:_0x1b5013})=>{const _0x106126=_0x467572;this[_0x106126(0x2c6)](_0x40d93c,_0x1b5013);}),this);}[_0x2fa915(0x3ba)](){const _0x4ba20f=_0x2fa915;return this[_0x4ba20f(0x243)](),this[_0x4ba20f(0x60e)][_0x4ba20f(0x489)](_0x1ccc4c,this[_0x4ba20f(0x2d1)],this['type'],this[_0x4ba20f(0x54e)],this[_0x4ba20f(0x2f4)],this[_0x4ba20f(0x5d2)]);}[_0x2fa915(0x508)](){return this;}['resend'](){const _0x544437=_0x2fa915;this[_0x544437(0x5d2)]['onSendChangeset'](this[_0x544437(0x54e)]);}[_0x2fa915(0x193)](_0x37abfc){const _0x35b34d=_0x2fa915;return this[_0x35b34d(0x243)](),this[_0x35b34d(0x60e)][_0x35b34d(0x489)](_0x1c7d65,this[_0x35b34d(0x2d1)],this[_0x35b34d(0x178)],null,this[_0x35b34d(0x2f4)],this[_0x35b34d(0x5d2)],_0x37abfc);}[_0x2fa915(0x2c6)](_0x13a45a,_0x18ed8d){const _0x4b1676=_0x2fa915;var _0x216c5e;_0x13a45a===((_0x216c5e=this[_0x4b1676(0x54e)])==null?void 0x0:_0x216c5e[_0x4b1676(0x31e)])&&(this[_0x4b1676(0x2d4)](),this['_resendTimeout']=_0x18ed8d===0x0?0x3e8:_0x18ed8d*0x2);}[_0x2fa915(0x243)](){const _0x225564=_0x2fa915;var _0x513c46;(_0x513c46=this[_0x225564(0x417)])==null||_0x513c46[_0x225564(0x2ce)](),this[_0x225564(0x5e1)]=0x0;}};_0x471081=_0x5ce8d8([_0x5153ff(0x6,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x5153ff(0x7,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a['RevisionService'])),_0x5153ff(0x8,_0x4587e1['Inject'](_0x539c7e[_0x2fa915(0x408)])),_0x5153ff(0x9,_0x4587e1[_0x2fa915(0x60b)]),_0x5153ff(0xa,_0x4587e1[_0x2fa915(0x62b)]),_0x5153ff(0xb,_0x215e4a['ITransformService']),_0x5153ff(0xc,_0x4587e1[_0x2fa915(0x428)])],_0x471081);let _0x1c7d65=class extends _0x3b18d0{constructor(_0x14aaa8,_0x54e9b4,_0x53572a,_0x263237,_0x32f346,_0x11b708=!0x1,_0x1a84b6,_0xe22da2,_0x22d6ee,_0x2dcbd3,_0x32620e,_0x57ec33,_0xba7cdb){const _0x54cece=_0x2fa915;super(_0x14aaa8,_0x54e9b4,_0x53572a,_0x263237,_0x32f346,_0xe22da2,_0x22d6ee,_0x32620e,_0x2dcbd3),_0x339ceb(this,_0x54cece(0x37c),_0x54cece(0x1de)),(this[_0x54cece(0x1fc)]=_0x11b708,this[_0x54cece(0x27f)]=_0x1a84b6,this[_0x54cece(0x497)]=_0x57ec33,this[_0x54cece(0x398)]=_0xba7cdb,this[_0x54cece(0x27e)](),this[_0x54cece(0x313)](),this[_0x54cece(0x2c9)]());}[_0x2fa915(0x62c)](){return this;}[_0x2fa915(0x41c)](){return this;}['onRemoteAck'](){return this;}[_0x2fa915(0x524)](){return this;}[_0x2fa915(0x611)](){return this;}[_0x2fa915(0x3ba)](){return this;}[_0x2fa915(0x508)](){return this;}[_0x2fa915(0x2d4)](){const _0x2b6a08=_0x2fa915;throw new Error(_0x2b6a08(0x4f6));}[_0x2fa915(0x313)](){const _0x2f2ef6=_0x2fa915;this[_0x2f2ef6(0x473)]['updateOfflineData'](this[_0x2f2ef6(0x2d1)],this[_0x2f2ef6(0x178)],null,[]);}[_0x2fa915(0x27e)](){const _0x4b27a8=_0x2fa915;this[_0x4b27a8(0x1fc)]?this[_0x4b27a8(0x398)][_0x4b27a8(0x1ca)]({'title':this[_0x4b27a8(0x497)]['t']('permission.title'),'content':this[_0x4b27a8(0x497)]['t']('permission.content'),'type':_0x4b27a8(0x3a9),'duration':0x0}):this['_notificationService'][_0x4b27a8(0x1ca)]({'title':this[_0x4b27a8(0x497)]['t']('conflict.title'),'content':this[_0x4b27a8(0x497)]['t'](_0x4b27a8(0x636)),'type':'error','duration':0x0});}[_0x2fa915(0x2c9)](){const _0x4f44c6=_0x2fa915;this['_permissionService'][_0x4f44c6(0x22b)](new _0x27d820[(_0x4f44c6(0x3da))](this[_0x4f44c6(0x2d1)])['id'],!0x1);}};_0x1c7d65=_0x5ce8d8([_0x5153ff(0x6,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x220)])),_0x5153ff(0x7,_0x4587e1['ICommandService']),_0x5153ff(0x8,_0x4587e1[_0x2fa915(0x428)]),_0x5153ff(0x9,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x408)])),_0x5153ff(0xa,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a[_0x2fa915(0x518)])),_0x5153ff(0xb,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x1e2)])),_0x5153ff(0xc,_0x3163bd[_0x2fa915(0x49b)])],_0x1c7d65);let _0x1ccc4c=class extends _0x3b18d0{constructor(_0x438878,_0x1ede1c,_0x56d918,_0x246090,_0x17771d,_0x33e1a9,_0xfca56b,_0x469aa3,_0xb43266,_0x1afd40){const _0x1d4487=_0x2fa915;super(_0x438878,_0x1ede1c,_0x56d918,_0x246090,_0x17771d,_0xb43266,_0x1afd40,_0xfca56b,_0x469aa3),_0x339ceb(this,'status',_0x1d4487(0x2e5)),this[_0x1d4487(0x60e)]=_0x33e1a9;}[_0x2fa915(0x62c)](_0x50888d){const _0x1c5253=_0x2fa915;return this[_0x1c5253(0x2f4)][_0x1c5253(0x367)](_0x50888d),this[_0x1c5253(0x300)](),this;}[_0x2fa915(0x41c)](_0x208f04){const _0x35d52d=_0x2fa915;throw new Error(_0x35d52d(0x597));}[_0x2fa915(0x450)](){const _0x1d0db2=_0x2fa915;throw new Error(_0x1d0db2(0x337));}[_0x2fa915(0x524)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x2fa915(0x3ba)](){return this;}[_0x2fa915(0x508)](){const _0x18efd4=_0x2fa915,{_injector:_0x51e5ca,_pendingMutations:_0x598a05,_awaitingChangeset:_0x4f24b2,unitID:_0x48b330,_handler:_0x2726c4,type:_0x288b4d}=this,_0xc7353d=_0x35d86a(_0x51e5ca,_0x48b330,_0x288b4d,_0x4f24b2,_0x598a05,_0x2726c4);return _0xc7353d instanceof _0x1fcb0c?_0xc7353d[_0x18efd4(0x1d3)]():(_0xc7353d instanceof _0x471081||_0xc7353d instanceof _0x38c50b)&&_0xc7353d['resend'](),_0xc7353d;}[_0x2fa915(0x2d4)](){const _0xffa350=_0x2fa915;throw new Error(_0xffa350(0x554));}};_0x1ccc4c=_0x5ce8d8([_0x5153ff(0x5,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x5153ff(0x6,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a[_0x2fa915(0x518)])),_0x5153ff(0x7,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x408)])),_0x5153ff(0x8,_0x4587e1[_0x2fa915(0x60b)]),_0x5153ff(0x9,_0x4587e1[_0x2fa915(0x428)])],_0x1ccc4c);let _0x39decc=class extends _0x3b18d0{constructor(_0x145ef4,_0x4bb8cd,_0x2a3bff,_0x51309b,_0x8a6771,_0x385d0d,_0xee4dc8,_0x31527b,_0x290e85,_0x554423,_0x4e016b,_0x65d0c6,_0x468295,_0x50e8cf){const _0xc28ec8=_0x2fa915;super(_0x145ef4,_0x4bb8cd,_0x2a3bff,_0x51309b,_0xee4dc8,_0x65d0c6,_0x468295,_0x290e85,_0x554423),_0x339ceb(this,_0xc28ec8(0x37c),_0xc28ec8(0x2fb)),(this[_0xc28ec8(0x2bb)]=_0x8a6771,this[_0xc28ec8(0x371)]=_0x385d0d,this[_0xc28ec8(0x60e)]=_0x31527b,this[_0xc28ec8(0x43a)]=_0x4e016b,this[_0xc28ec8(0x493)]=_0x50e8cf);}[_0x2fa915(0x1e7)](_0x4ff6f3){const _0x5d431a=_0x2fa915;try{const _0x22feb7=[..._0x4ff6f3,...this[_0x5d431a(0x371)]],_0x2d4bb5=[this[_0x5d431a(0x54e)]||this[_0x5d431a(0x2bb)]][_0x5d431a(0x333)](_0x4e3596=>!!_0x4e3596);let _0x48300d,_0x12755f;if(_0x2d4bb5[_0x5d431a(0x4d9)]){const _0x38ea6a=this[_0x5d431a(0x493)][_0x5d431a(0x4b3)](_0x22feb7,_0x2d4bb5,!0x1);if(!_0x215e4a['isTransformChangesetsSuccess'](_0x38ea6a))throw _0x38ea6a['error'];_0x48300d=_0x38ea6a['c1Prime'],_0x12755f=_0x38ea6a[_0x5d431a(0x434)];}else _0x48300d=_0x22feb7,_0x12755f=[];let _0x2f8885=this[_0x5d431a(0x2f4)];_0x48300d[_0x5d431a(0x34b)](_0x31dbbe=>{const _0xeb3f12=_0x5d431a;let _0x2affaa;if(_0x2f8885[_0xeb3f12(0x4d9)]){const _0x2e6cfe=this['_transformService'][_0xeb3f12(0x439)](_0x31dbbe,_0x2f8885);if(!_0x215e4a[_0xeb3f12(0x539)](_0x2e6cfe))throw _0x2e6cfe['error'];_0x2affaa=_0x2e6cfe['c1Prime'],_0x2f8885=_0x2e6cfe[_0xeb3f12(0x239)];}else _0x2affaa=_0x31dbbe;this['_executeRemoteChangeset'](_0x2affaa);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x5d431a(0x54e)]&&_0x12755f[_0x5d431a(0x4d9)]&&(_0x12755f[0x0]['baseRev']=this[_0x5d431a(0x47d)]());let _0x401994;if(this[_0x5d431a(0x54e)]&&_0x2f8885[_0x5d431a(0x4d9)]!==0x0)_0x401994=this[_0x5d431a(0x60e)]['createInstance'](_0x471081,this[_0x5d431a(0x2d1)],this[_0x5d431a(0x178)],_0x12755f[0x0],_0x2f8885,this[_0x5d431a(0x5d2)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2f8885[_0x5d431a(0x4d9)]===0x0)_0x12755f[0x0]['baseRev']=this[_0x5d431a(0x47d)](),_0x401994=this[_0x5d431a(0x60e)][_0x5d431a(0x489)](_0x38c50b,this['unitID'],this[_0x5d431a(0x178)],_0x12755f[0x0],this['_handler']);else{if(_0x2f8885[_0x5d431a(0x4d9)]!==0x0){const _0x4ba6da=this['_injector'][_0x5d431a(0x489)](_0x1fcb0c,this['unitID'],this[_0x5d431a(0x178)],_0x2f8885,this[_0x5d431a(0x5d2)]);_0x4ba6da[_0x5d431a(0x1d3)](),_0x401994=_0x4ba6da;}else _0x401994=this[_0x5d431a(0x60e)]['createInstance'](_0x5eefa,this[_0x5d431a(0x2d1)],this['type'],this[_0x5d431a(0x5d2)]);}}return _0x401994[_0x5d431a(0x300)](),_0x401994;}catch(_0xa5a3e2){return this['_logService'][_0x5d431a(0x3a9)]('[FetchMissState]',_0x5d431a(0x2e1),_0xa5a3e2),this[_0x5d431a(0x60e)]['createInstance'](_0x1c7d65,this[_0x5d431a(0x2d1)],this[_0x5d431a(0x178)],this['_awaitingChangeset'],this[_0x5d431a(0x2f4)],this[_0x5d431a(0x5d2)],!0x1);}}['resend'](){const _0x55751b=_0x2fa915;throw new Error(_0x55751b(0x47f));}[_0x2fa915(0x62c)](_0x573be5){const _0x11cd68=_0x2fa915;return this[_0x11cd68(0x2f4)][_0x11cd68(0x367)](_0x573be5),this;}['onRemoteChangeset'](_0x1efe2e){const _0x355968=_0x2fa915;return this['_queuedRemoteChangesets'][_0x355968(0x367)](_0x1efe2e),this;}['onRemoteAck'](_0x350d20){const _0x4fd898=_0x2fa915;if(this[_0x4fd898(0x54e)])return this[_0x4fd898(0x2bb)]=this[_0x4fd898(0x54e)],this[_0x4fd898(0x54e)]=null,this;throw new Error(_0x4fd898(0x525));}[_0x2fa915(0x524)](_0x3bc6b3){const _0x3464d9=_0x2fa915;return this[_0x3464d9(0x193)](!!(_0x3bc6b3!=null&&_0x3bc6b3[_0x3464d9(0x5df)]));}['onRemoteRetry'](){return this;}[_0x2fa915(0x3ba)](){const _0x220d64=_0x2fa915;return this[_0x220d64(0x60e)][_0x220d64(0x489)](_0x1ccc4c,this['unitID'],this[_0x220d64(0x178)],this[_0x220d64(0x54e)],this['_pendingMutations'],this['_handler']);}[_0x2fa915(0x508)](){return this;}[_0x2fa915(0x193)](_0x5ea434){const _0x472ae8=_0x2fa915;return this['_injector'][_0x472ae8(0x489)](_0x1c7d65,this['unitID'],this[_0x472ae8(0x178)],this['_awaitingChangeset'],this[_0x472ae8(0x2f4)],this[_0x472ae8(0x5d2)],_0x5ea434);}};_0x39decc=_0x5ce8d8([_0x5153ff(0x7,_0x4587e1['Inject'](_0x4587e1[_0x2fa915(0x403)])),_0x5153ff(0x8,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a[_0x2fa915(0x518)])),_0x5153ff(0x9,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x408)])),_0x5153ff(0xa,_0x4587e1[_0x2fa915(0x62b)]),_0x5153ff(0xb,_0x4587e1['ICommandService']),_0x5153ff(0xc,_0x4587e1['IUndoRedoService']),_0x5153ff(0xd,_0x215e4a[_0x2fa915(0x34d)])],_0x39decc);function _0x35d86a(_0x1b7124,_0x29aa53,_0x534640,_0x578ebf,_0x374411,_0x3910a3){const _0x24ce9b=_0x2fa915;return _0x578ebf&&_0x374411[_0x24ce9b(0x4d9)]?_0x1b7124[_0x24ce9b(0x489)](_0x471081,_0x29aa53,_0x534640,_0x578ebf,_0x374411,_0x3910a3,void 0x0):_0x578ebf?_0x1b7124[_0x24ce9b(0x489)](_0x38c50b,_0x29aa53,_0x534640,_0x578ebf,_0x3910a3):_0x374411[_0x24ce9b(0x4d9)]?_0x1b7124[_0x24ce9b(0x489)](_0x1fcb0c,_0x29aa53,_0x534640,_0x374411,_0x3910a3):_0x1b7124['createInstance'](_0x5eefa,_0x29aa53,_0x534640,_0x3910a3);}var _0x55e14d=Object[_0x2fa915(0x44e)],_0x4ef38e=Object['getOwnPropertyDescriptor'],_0x1fb106=(_0x40e39a,_0x2a8f1f,_0xa4bae9,_0x1455c9)=>{for(var _0x2cbb5b=_0x1455c9>0x1?void 0x0:_0x1455c9?_0x4ef38e(_0x2a8f1f,_0xa4bae9):_0x2a8f1f,_0x3cdd71=_0x40e39a['length']-0x1,_0x44a534;_0x3cdd71>=0x0;_0x3cdd71--)(_0x44a534=_0x40e39a[_0x3cdd71])&&(_0x2cbb5b=(_0x1455c9?_0x44a534(_0x2a8f1f,_0xa4bae9,_0x2cbb5b):_0x44a534(_0x2cbb5b))||_0x2cbb5b);return _0x1455c9&&_0x2cbb5b&&_0x55e14d(_0x2a8f1f,_0xa4bae9,_0x2cbb5b),_0x2cbb5b;},_0x419db5=(_0x172685,_0x14f98f)=>(_0x35d8ed,_0x5e3ccb)=>_0x14f98f(_0x35d8ed,_0x5e3ccb,_0x172685);_0x539c7e[_0x2fa915(0x270)]=class extends _0x4587e1[_0x2fa915(0x5b2)]{constructor(_0x51cd3c,_0x17abbb,_0x1f50fe,_0x20c7f6,_0x3b7d1f,_0x1dd94d,_0x2f6716,_0x337c6d,_0xa1676b,_0x4890e5,_0x32915f,_0x11e3e2,_0xf24b3){const _0x31b02b=_0x2fa915;super(),_0x339ceb(this,_0x31b02b(0x598),new _0x3eec93[(_0x31b02b(0x29b))](null)),_0x339ceb(this,_0x31b02b(0x348),this[_0x31b02b(0x598)][_0x31b02b(0x630)]()),_0x339ceb(this,'_state'),_0x339ceb(this,'_collaborationPaused',!0x1),_0x339ceb(this,_0x31b02b(0x3be),''),_0x339ceb(this,_0x31b02b(0x5d9),0x0),_0x339ceb(this,_0x31b02b(0x361),this[_0x31b02b(0x348)]['pipe'](_0x3eec93['map'](_0x28fce6=>_0x28fce6?_0x28fce6[_0x31b02b(0x37c)]:_0x3b904c[_0x31b02b(0x3c4)]),_0x3eec93['shareReplay'](0x1))),_0x339ceb(this,_0x31b02b(0x5d8),!0x1),_0x339ceb(this,'_remoteChangesetQueue',[]),(this[_0x31b02b(0x2d1)]=_0x51cd3c,this[_0x31b02b(0x593)]=_0x17abbb,this['_type']=_0x1f50fe,this[_0x31b02b(0x60e)]=_0x20c7f6,this[_0x31b02b(0x473)]=_0x3b7d1f,this[_0x31b02b(0x576)]=_0x1dd94d,this[_0x31b02b(0x497)]=_0x2f6716,this[_0x31b02b(0x24d)]=_0x337c6d,this['_logService']=_0xa1676b,this[_0x31b02b(0x1a3)]=_0x4890e5,this['_messageService']=_0x32915f,this[_0x31b02b(0x27f)]=_0x11e3e2,this['_singleActiveUnitService']=_0xf24b3);}get[_0x2fa915(0x4ec)](){const _0x4d3e21=_0x2fa915;return this[_0x4d3e21(0x618)];}async[_0x2fa915(0x558)](){const _0x5c74a5=_0x2fa915;if(this[_0x5c74a5(0x4ec)])throw new Error(_0x5c74a5(0x2f0));await this[_0x5c74a5(0x16f)]();}[_0x2fa915(0x197)](){const _0x4fff7a=_0x2fa915;return this[_0x4fff7a(0x55a)]=!0x0,_0x4587e1[_0x4fff7a(0x2a6)](()=>{const _0x1b9f0f=_0x4fff7a;this[_0x1b9f0f(0x55a)]=!0x1,this[_0x1b9f0f(0x5f1)]();});}[_0x2fa915(0x2a2)](_0x157945){const _0x521125=_0x2fa915;this[_0x521125(0x618)]=_0x157945,this['_state$'][_0x521125(0x1c9)](_0x157945);}async['_init'](){const _0x1abc30=_0x2fa915;var _0x5dd3c0;this[_0x1abc30(0x2a2)](await this[_0x1abc30(0x203)]()),this[_0x1abc30(0x1e4)]&&((_0x5dd3c0=this[_0x1abc30(0x1e4)])==null||_0x5dd3c0['editingUnit'](this[_0x1abc30(0x2d1)]),this[_0x1abc30(0x211)](this['_singleActiveUnitService'][_0x1abc30(0x4ea)](this[_0x1abc30(0x2d1)])['subscribe'](_0x1fe1c2=>{const _0x2d8b47=_0x1abc30;this['_logService'][_0x2d8b47(0x472)]('[CollaborationEntity]',_0x2d8b47(0x29e),_0x1fe1c2),_0x1fe1c2===_0x3ce0bf[_0x2d8b47(0x3e1)]?(this[_0x2d8b47(0x1c4)]['show']({'content':this[_0x2d8b47(0x497)]['t']('collaboration.single-unit.warning'),'type':_0x40b71f[_0x2d8b47(0x219)][_0x2d8b47(0x415)]}),this[_0x2d8b47(0x27f)][_0x2d8b47(0x22b)](new _0x27d820['WorkbookEditablePermission'](this[_0x2d8b47(0x2d1)])['id'],!0x1),this[_0x2d8b47(0x27f)][_0x2d8b47(0x3d8)](!0x1)):(this[_0x2d8b47(0x27f)][_0x2d8b47(0x22b)](new _0x27d820['WorkbookEditablePermission'](this[_0x2d8b47(0x2d1)])['id'],!0x0),this[_0x2d8b47(0x27f)][_0x2d8b47(0x3d8)](!0x0));})));let _0x55353f=!0x1;return this[_0x1abc30(0x211)](this[_0x1abc30(0x593)]['sessionStatus$'][_0x1abc30(0x447)](_0x198890=>{const _0x37551f=_0x1abc30;_0x198890===_0x474ede[_0x37551f(0x36e)]?this['_toggleOnline'](_0x55353f):_0x198890===_0x474ede[_0x37551f(0x3c4)]&&(_0x55353f=!0x0,this[_0x37551f(0x183)]());})),this[_0x1abc30(0x211)](this[_0x1abc30(0x593)]['event$']['subscribe'](_0xa610cf=>{const _0x544b2d=_0x1abc30;try{switch(_0xa610cf[_0x544b2d(0x526)]){case _0x215e4a[_0x544b2d(0x27c)][_0x544b2d(0x4e7)]:{this['_onRemoteChangeset'](_0x215e4a['parseProtocolChangeset'](_0xa610cf[_0x544b2d(0x273)]));break;}case _0x215e4a[_0x544b2d(0x27c)]['CHANGESET_ACK']:{this['_onRemoteACK'](_0xa610cf[_0x544b2d(0x273)]);break;}case _0x215e4a[_0x544b2d(0x27c)]['CHANGESET_REJ']:{this[_0x544b2d(0x3b9)]();break;}case _0x215e4a['CollaborationEvent'][_0x544b2d(0x195)]:{this[_0x544b2d(0x432)](_0xa610cf[_0x544b2d(0x273)]);break;}case _0x215e4a[_0x544b2d(0x27c)]['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0xa610cf[_0x544b2d(0x273)][_0x544b2d(0x3d7)][_0x544b2d(0x252)](_0xf961a8=>_0x215e4a['parseProtocolChangeset'](_0xf961a8)));break;}case _0x215e4a[_0x544b2d(0x27c)][_0x544b2d(0x48f)]:this[_0x544b2d(0x3b9)]({'isPermissionRej':!0x0});}}catch(_0x46bf34){throw console[_0x544b2d(0x3a9)](_0x544b2d(0x382),_0x46bf34),_0x46bf34;}})),this[_0x1abc30(0x618)];}[_0x2fa915(0x5a9)](){const _0x1f3d4f=_0x2fa915;this[_0x1f3d4f(0x5d8)]=!0x1;}['_lockTransition'](){const _0x18f94=_0x2fa915;if(this['_transitionLocked'])throw new Error(_0x18f94(0x33d));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x51aab5){const _0x4a822a=_0x2fa915;this[_0x4a822a(0x317)](),this[_0x4a822a(0x2a2)](this[_0x4a822a(0x618)][_0x4a822a(0x62c)](_0x51aab5)),this[_0x4a822a(0x5a9)]();}[_0x2fa915(0x562)](_0x2dc4d1){const _0x2d2e9f=_0x2fa915;if(!(_0x2dc4d1['revision']<=this[_0x2d2e9f(0x24d)][_0x2d2e9f(0x592)](this[_0x2d2e9f(0x2d1)]))){if(this[_0x2d2e9f(0x55a)]){this[_0x2d2e9f(0x4f3)]['push'](_0x2dc4d1);return;}this[_0x2d2e9f(0x423)](_0x2dc4d1);}}['_exhaustRemoteChangesetQueue'](){const _0x2a95c7=_0x2fa915;this['_remoteChangesetQueue'][_0x2a95c7(0x34b)](_0x4fe88f=>this[_0x2a95c7(0x423)](_0x4fe88f)),this['_remoteChangesetQueue']=[];}[_0x2fa915(0x423)](_0x3827c2){const _0x36fd15=_0x2fa915,_0x23054e=this['_compressMutationService'][_0x36fd15(0x36c)][_0x36fd15(0x606)](this[_0x36fd15(0x576)][_0x36fd15(0x36c)][_0x36fd15(0x51d)]()[_0x36fd15(0x32e)])(_0x3827c2[_0x36fd15(0x4d3)],null)||_0x3827c2[_0x36fd15(0x4d3)],_0x134442={..._0x3827c2,'mutations':_0x23054e};this['_lockTransition'](),this[_0x36fd15(0x2a2)](this[_0x36fd15(0x618)][_0x36fd15(0x41c)](_0x134442)),this['_unlockTransition']();}[_0x2fa915(0x5f9)](_0x5da6b4){const _0x255062=_0x2fa915;this[_0x255062(0x317)](),this[_0x255062(0x2a2)](this[_0x255062(0x618)][_0x255062(0x450)](_0x5da6b4)),this['_unlockTransition']();}[_0x2fa915(0x3b9)](_0x234d30){const _0x7c5fe1=_0x2fa915;this[_0x7c5fe1(0x317)](),this[_0x7c5fe1(0x2a2)](this[_0x7c5fe1(0x618)][_0x7c5fe1(0x524)](_0x234d30)),this[_0x7c5fe1(0x5a9)]();}[_0x2fa915(0x432)](_0x440c40){const _0x18ee1e=_0x2fa915;this[_0x18ee1e(0x317)](),this[_0x18ee1e(0x2a2)](this[_0x18ee1e(0x618)]['onRemoteRetry'](_0x440c40)),this[_0x18ee1e(0x5a9)]();}[_0x2fa915(0x602)](_0x35ef5d){const _0x2b3610=_0x2fa915;if(!(this[_0x2b3610(0x618)]instanceof _0x39decc))throw new TypeError(_0x2b3610(0x21e));const _0x3119eb=_0x35ef5d['map'](_0x1870a2=>{const _0x4520a8=_0x2b3610,_0x115ab1=this[_0x4520a8(0x576)][_0x4520a8(0x36c)][_0x4520a8(0x606)](this[_0x4520a8(0x576)][_0x4520a8(0x36c)][_0x4520a8(0x51d)]()['COMPRESS_MUTATION_APPLY'])(_0x1870a2['mutations'],null)||_0x1870a2['mutations'];return{..._0x1870a2,'mutations':_0x115ab1};});this['_lockTransition'](),this['_updateState'](this[_0x2b3610(0x618)][_0x2b3610(0x1e7)](_0x3119eb)),this[_0x2b3610(0x5a9)]();}['_toggleOffline'](){const _0x3b1caf=_0x2fa915;this['_lockTransition'](),this[_0x3b1caf(0x2a2)](this[_0x3b1caf(0x618)]['toggleOffline']()),this['_unlockTransition']();}[_0x2fa915(0x549)](_0x1fc893=!0x1){const _0x2e4f14=_0x2fa915;this[_0x2e4f14(0x317)](),this['_updateState'](this[_0x2e4f14(0x618)][_0x2e4f14(0x508)]()),this[_0x2e4f14(0x5a9)]();const _0x247da5=this[_0x2e4f14(0x618)];_0x1fc893&&_0x247da5 instanceof _0x5eefa&&(this['_lockTransition'](),this['_updateState'](_0x247da5[_0x2e4f14(0x487)]()),this['_unlockTransition']());}async[_0x2fa915(0x203)](){return new Promise(_0x4ff91b=>{const _0x11783e=_0x5275;this['session']['sessionStatus$'][_0x11783e(0x276)](_0x3eec93[_0x11783e(0x44f)](0x1))[_0x11783e(0x447)](async _0x5ec588=>{const _0x51aa72=_0x11783e;_0x4ff91b(await this[_0x51aa72(0x28b)](_0x5ec588===_0x474ede['ONLINE']));});});}[_0x2fa915(0x50f)](){const _0x11b3e9=_0x2fa915,_0x3d2b0e=this[_0x11b3e9(0x2d1)];return{'onStateChange':(_0x22c58e,_0x9d2944)=>{const _0x2886d7=_0x11b3e9;if(_0x22c58e!==this[_0x2886d7(0x618)])throw new Error(_0x2886d7(0x2ae)+_0x22c58e['status']+_0x2886d7(0x365)+_0x9d2944[_0x2886d7(0x37c)]+_0x2886d7(0x509)+this['_state']['status']);this[_0x2886d7(0x2a2)](_0x9d2944);},'onSendChangeset':_0x385832=>{const _0x5d05f2=_0x11b3e9;_0x385832['sid']||(_0x385832[_0x5d05f2(0x2af)]=this[_0x5d05f2(0x3be)],_0x385832[_0x5d05f2(0x31e)]=++this[_0x5d05f2(0x5d9)]);const _0x2ff368={'eventID':_0x215e4a[_0x5d05f2(0x27c)][_0x5d05f2(0x1a1)],'data':{'unitID':_0x385832[_0x5d05f2(0x2d1)],'unitType':this[_0x5d05f2(0x57f)],'changeset':_0x385832,'memberID':this[_0x5d05f2(0x593)]['getMemberID']()}};this[_0x5d05f2(0x593)][_0x5d05f2(0x5aa)](_0x2ff368,this[_0x5d05f2(0x2d1)]);},'onMissingChangesets':({from:_0x3cd0d3,to:_0x1b4e53})=>{const _0x43e8c7=_0x11b3e9;this['_logService'][_0x43e8c7(0x472)]('[CollaborationEntity]',_0x43e8c7(0x3fb)+_0x3cd0d3+_0x43e8c7(0x1f6)+_0x1b4e53);const _0x4c61d6={'eventID':_0x215e4a[_0x43e8c7(0x27c)][_0x43e8c7(0x468)],'data':{'unitID':_0x3d2b0e,'unitType':this['_type'],'from':_0x3cd0d3,'to':_0x1b4e53}};this[_0x43e8c7(0x593)][_0x43e8c7(0x5aa)](_0x4c61d6,this[_0x43e8c7(0x2d1)]);}};}async[_0x2fa915(0x28b)](_0x493ade){const _0x2affd3=_0x2fa915;var _0x3c817e,_0x65ec46;const _0x550062=await this[_0x2affd3(0x473)]['loadOfflineData'](this['unitID']),_0x23325f=(_0x3c817e=_0x550062==null?void 0x0:_0x550062[_0x2affd3(0x4d3)])!=null?_0x3c817e:[],_0x28e1ca=(_0x65ec46=_0x550062==null?void 0x0:_0x550062[_0x2affd3(0x32b)])!=null?_0x65ec46:null,_0x7e3219=!!(_0x28e1ca!=null&&_0x28e1ca[_0x2affd3(0x2af)])&&!!(_0x28e1ca!=null&&_0x28e1ca['reqId']);this[_0x2affd3(0x3be)]=_0x7e3219?_0x28e1ca['sid']:_0x5c1a92(),this[_0x2affd3(0x5d9)]=_0x7e3219?_0x28e1ca['reqId']:0x0;const _0x5f1928=this['unitID'];try{this[_0x2affd3(0x571)](_0x28e1ca,_0x23325f);}catch(_0x3a35d2){this[_0x2affd3(0x43a)]['error'](_0x3a35d2);}const _0x227079=this['_createHandler']();if(_0x493ade){const _0x359e0f=_0x35d86a(this[_0x2affd3(0x60e)],_0x5f1928,this[_0x2affd3(0x57f)],_0x28e1ca,_0x23325f,_0x227079);return _0x359e0f instanceof _0x1fcb0c?_0x359e0f['_schedule']():(_0x359e0f instanceof _0x471081||_0x359e0f instanceof _0x38c50b)&&_0x359e0f['resend'](),_0x359e0f;}return this[_0x2affd3(0x60e)][_0x2affd3(0x489)](_0x1ccc4c,_0x5f1928,this[_0x2affd3(0x57f)],_0x28e1ca,_0x23325f,_0x227079);}[_0x2fa915(0x571)](_0xd8f2fb,_0x58644c){const _0x22df37=_0x2fa915;var _0x3d5b62,_0x4fa3c1;const _0x3a59e3=this[_0x22df37(0x576)]['interceptor'][_0x22df37(0x606)](this[_0x22df37(0x576)][_0x22df37(0x36c)][_0x22df37(0x51d)]()[_0x22df37(0x32e)]);(_0x3d5b62=_0x3a59e3((_0xd8f2fb==null?void 0x0:_0xd8f2fb['mutations'])||[],null))==null||_0x3d5b62['forEach'](_0x30a71a=>this[_0x22df37(0x1a3)]['executeCommand'](_0x30a71a['id'],_0x30a71a[_0x22df37(0x548)])),(_0x4fa3c1=_0x3a59e3(_0x58644c||[],null))==null||_0x4fa3c1[_0x22df37(0x34b)](_0x434145=>this[_0x22df37(0x1a3)][_0x22df37(0x3c6)](_0x434145['id'],_0x434145[_0x22df37(0x548)]));}},_0x539c7e[_0x2fa915(0x270)]=_0x1fb106([_0x419db5(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x419db5(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x408)])),_0x419db5(0x5,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a[_0x2fa915(0x2d5)])),_0x419db5(0x6,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x1e2)])),_0x419db5(0x7,_0x4587e1['Inject'](_0x215e4a[_0x2fa915(0x518)])),_0x419db5(0x8,_0x4587e1['ILogService']),_0x419db5(0x9,_0x4587e1['ICommandService']),_0x419db5(0xa,_0x3163bd[_0x2fa915(0x259)]),_0x419db5(0xb,_0x4587e1[_0x2fa915(0x220)]),_0x419db5(0xc,_0x4587e1['Optional'](_0x426f76))],_0x539c7e[_0x2fa915(0x270)]),_0x539c7e[_0x2fa915(0x381)]=class extends _0x539c7e[_0x2fa915(0x270)]{constructor(_0x257a5d,_0x53e77d,_0x411073,_0x2f9c71,_0x1d7c6b,_0x2bdc60,_0x55ec36,_0x2e9477,_0x5231ca,_0x17b84c,_0xa665b0,_0x419e3a,_0x34ac59,_0x5d1717,_0x48cf8d,_0x3d7fa8,_0x38d977,_0x465550){const _0x14bf0b=_0x2fa915;super(_0x257a5d,_0x411073,_0x53e77d,_0x2f9c71,_0x1d7c6b,_0x2bdc60,_0x55ec36,_0x2e9477,_0x5d1717,_0x48cf8d,_0x3d7fa8,_0x38d977,_0x465550),this[_0x14bf0b(0x2d1)]=_0x257a5d,this[_0x14bf0b(0x178)]=_0x53e77d,this['_docStateChangeManagerService']=_0x5231ca,this[_0x14bf0b(0x284)]=_0x17b84c,this[_0x14bf0b(0x362)]=_0xa665b0,this[_0x14bf0b(0x4df)]=_0x419e3a,this[_0x14bf0b(0x5e4)]=_0x34ac59;}[_0x2fa915(0x50f)](){const _0x33391a=_0x2fa915,_0x480f09=super[_0x33391a(0x50f)]();return _0x480f09[_0x33391a(0x3ce)]=_0x4f15a1=>this[_0x33391a(0x284)][_0x33391a(0x5cd)](_0x4f15a1),_0x480f09['onTransformState']=_0x4ac715=>this[_0x33391a(0x362)][_0x33391a(0x52a)](_0x4ac715),_0x480f09[_0x33391a(0x247)]=_0x31271d=>this['_docTransformSelectionsService'][_0x33391a(0x282)](_0x31271d),_0x480f09[_0x33391a(0x3ae)]=_0x456f31=>this[_0x33391a(0x5e4)][_0x33391a(0x475)](_0x456f31),_0x480f09[_0x33391a(0x39b)]=_0x367545=>this[_0x33391a(0x284)][_0x33391a(0x543)](_0x367545),_0x480f09[_0x33391a(0x3aa)]=_0x319238=>this['_docTransformStateCacheService'][_0x33391a(0x543)](_0x319238),_0x480f09;}async['_init'](){const _0x4f6925=_0x2fa915,_0x461cf8=await super[_0x4f6925(0x16f)]();return this[_0x4f6925(0x16d)]['docStateChange$'][_0x4f6925(0x276)](_0x3eec93[_0x4f6925(0x2b3)](this[_0x4f6925(0x1ad)]))[_0x4f6925(0x447)](_0x1e6746=>{const _0x4869e9=_0x4f6925;if(_0x1e6746==null)return;const {unitId:_0xdd242b,redoState:_0x8362fe,commandId:_0x279766}=_0x1e6746;if(_0xdd242b!==this['unitID'])return;const _0xe07940={'id':_0x279766,'type':_0x4587e1['CommandType'][_0x4869e9(0x5c9)],'params':{'unitId':_0xdd242b,'actions':_0x8362fe[_0x4869e9(0x515)],'textRanges':null}};this[_0x4869e9(0x30a)](_0xe07940);}),_0x461cf8;}},_0x539c7e[_0x2fa915(0x381)]=_0x1fb106([_0x419db5(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x419db5(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x408)])),_0x419db5(0x5,_0x4587e1['Inject'](_0x215e4a[_0x2fa915(0x2d5)])),_0x419db5(0x6,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x1e2)])),_0x419db5(0x7,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a[_0x2fa915(0x518)])),_0x419db5(0x8,_0x4587e1[_0x2fa915(0x42b)](_0x28eee7[_0x2fa915(0x1c7)])),_0x419db5(0x9,_0x4587e1[_0x2fa915(0x42b)](_0xf435ee)),_0x419db5(0xa,_0x4587e1[_0x2fa915(0x42b)](_0x952708)),_0x419db5(0xb,_0x4587e1[_0x2fa915(0x42b)](_0x2e0132)),_0x419db5(0xc,_0x4587e1[_0x2fa915(0x42b)](_0x54132e)),_0x419db5(0xd,_0x4587e1[_0x2fa915(0x62b)]),_0x419db5(0xe,_0x4587e1[_0x2fa915(0x60b)]),_0x419db5(0xf,_0x3163bd[_0x2fa915(0x259)]),_0x419db5(0x10,_0x4587e1[_0x2fa915(0x220)]),_0x419db5(0x11,_0x4587e1[_0x2fa915(0x412)](_0x426f76))],_0x539c7e[_0x2fa915(0x381)]),_0x539c7e['SheetCollaborationEntity']=class extends _0x539c7e[_0x2fa915(0x270)]{constructor(_0x1a0d9b,_0x3c27c4,_0x1e6706,_0x360db0,_0x2d2682,_0x609ac0,_0x5202d3,_0x3bca6e,_0x38e18b,_0x19b401,_0x1586ca,_0x290d3c,_0x25d25f,_0x1f8c5f){const _0x437358=_0x2fa915;super(_0x1a0d9b,_0x1e6706,_0x3c27c4,_0x360db0,_0x2d2682,_0x609ac0,_0x5202d3,_0x3bca6e,_0x19b401,_0x1586ca,_0x290d3c,_0x25d25f,_0x1f8c5f),this[_0x437358(0x2d1)]=_0x1a0d9b,this[_0x437358(0x178)]=_0x3c27c4,this[_0x437358(0x470)]=_0x38e18b;}[_0x2fa915(0x50f)](){const _0x34c665=_0x2fa915,_0x22e247=super[_0x34c665(0x50f)]();return _0x22e247[_0x34c665(0x247)]=_0x4d4697=>this[_0x34c665(0x470)][_0x34c665(0x282)](_0x4d4697),_0x22e247;}async['_init'](){const _0x3bad4b=_0x2fa915,_0x40698d=await super[_0x3bad4b(0x16f)]();return this[_0x3bad4b(0x211)](this[_0x3bad4b(0x1a3)][_0x3bad4b(0x1b5)]((_0x271f8b,_0x4e99a6)=>{const _0x482f98=_0x3bad4b;if(_0x271f8b[_0x482f98(0x178)]!==_0x4587e1[_0x482f98(0x2b1)][_0x482f98(0x5c9)]||_0x4e99a6!=null&&_0x4e99a6['fromCollab']||_0x4e99a6!=null&&_0x4e99a6['onlyLocal'])return;const _0x341115=_0x271f8b[_0x482f98(0x548)];if((_0x341115==null?void 0x0:_0x341115[_0x482f98(0x4f8)])!==this[_0x482f98(0x2d1)])return;const _0x181224=_0x271f8b,_0x31ef09=this[_0x482f98(0x576)][_0x482f98(0x36c)][_0x482f98(0x606)](this[_0x482f98(0x576)][_0x482f98(0x36c)]['getInterceptPoints']()[_0x482f98(0x41b)])([_0x181224],null)||[_0x181224];this[_0x482f98(0x30a)](_0x31ef09[0x0]);})),_0x40698d;}},_0x539c7e[_0x2fa915(0x2ba)]=_0x1fb106([_0x419db5(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x419db5(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x408)])),_0x419db5(0x5,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a[_0x2fa915(0x2d5)])),_0x419db5(0x6,_0x4587e1['Inject'](_0x4587e1[_0x2fa915(0x1e2)])),_0x419db5(0x7,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a[_0x2fa915(0x518)])),_0x419db5(0x8,_0x4587e1[_0x2fa915(0x42b)](_0x2a0fa4)),_0x419db5(0x9,_0x4587e1[_0x2fa915(0x62b)]),_0x419db5(0xa,_0x4587e1['ICommandService']),_0x419db5(0xb,_0x3163bd[_0x2fa915(0x259)]),_0x419db5(0xc,_0x4587e1[_0x2fa915(0x220)]),_0x419db5(0xd,_0x4587e1[_0x2fa915(0x412)](_0x426f76))],_0x539c7e[_0x2fa915(0x2ba)]);var _0x445614=Object[_0x2fa915(0x44e)],_0x444049=Object['getOwnPropertyDescriptor'],_0x12e233=(_0x1722c3,_0x273efd,_0xf2fc86,_0x5cf9dd)=>{const _0xa2348=_0x2fa915;for(var _0x3f0b22=_0x5cf9dd>0x1?void 0x0:_0x5cf9dd?_0x444049(_0x273efd,_0xf2fc86):_0x273efd,_0x4a3798=_0x1722c3[_0xa2348(0x4d9)]-0x1,_0x37318e;_0x4a3798>=0x0;_0x4a3798--)(_0x37318e=_0x1722c3[_0x4a3798])&&(_0x3f0b22=(_0x5cf9dd?_0x37318e(_0x273efd,_0xf2fc86,_0x3f0b22):_0x37318e(_0x3f0b22))||_0x3f0b22);return _0x5cf9dd&&_0x3f0b22&&_0x445614(_0x273efd,_0xf2fc86,_0x3f0b22),_0x3f0b22;},_0x474c4f=(_0xedd5f7,_0x3a7556)=>(_0x223c6b,_0x24122e)=>_0x3a7556(_0x223c6b,_0x24122e,_0xedd5f7);_0x539c7e[_0x2fa915(0x38e)]=class extends _0x4587e1[_0x2fa915(0x5b2)]{constructor(_0xf8f32b,_0x33b0db,_0x2fc08d){const _0x21551a=_0x2fa915;super(),_0x339ceb(this,'_entities',new Map()),_0x339ceb(this,_0x21551a(0x308),new _0x3eec93['Subject']()),(this[_0x21551a(0x60e)]=_0xf8f32b,this[_0x21551a(0x23a)]=_0x33b0db,this['_univerInstanceService']=_0x2fc08d,this[_0x21551a(0x16f)]());}['dispose'](){const _0x5d7655=_0x2fa915;super['dispose'](),this[_0x5d7655(0x21f)]['forEach'](_0x20c942=>_0x20c942[_0x5d7655(0x3ea)]()),this[_0x5d7655(0x21f)]['clear']();}[_0x2fa915(0x379)](_0xfd2f40){const _0x2b286e=_0x2fa915;var _0x363315;return(_0x363315=this[_0x2b286e(0x21f)][_0x2b286e(0x4a0)](_0xfd2f40))!=null?_0x363315:null;}[_0x2fa915(0x3e6)](_0x3c110c){const _0xf68c3e=_0x2fa915,_0x282e9f=this[_0xf68c3e(0x379)](_0x3c110c);return _0x282e9f?_0x3eec93['of'](_0x282e9f):this['_entityInit$']['pipe'](_0x18f07e[_0xf68c3e(0x333)](_0x40fc7b=>_0x40fc7b[_0xf68c3e(0x2d1)]===_0x3c110c));}[_0x2fa915(0x16f)](){const _0x42dea5=_0x2fa915;this[_0x42dea5(0x3c1)][_0x42dea5(0x39e)](_0x4587e1['UniverInstanceType'][_0x42dea5(0x3ee)])['pipe'](_0x3eec93['takeUntil'](this[_0x42dea5(0x1ad)]),_0x18f07e[_0x42dea5(0x4d0)](0x10))[_0x42dea5(0x447)](async _0x51442b=>{const _0x3b8be8=_0x42dea5,_0x1d25c4=_0x51442b[_0x3b8be8(0x1d9)](),_0x2b3ec6=await this[_0x3b8be8(0x4cf)](_0x1d25c4,_0xad4019[_0x3b8be8(0x3ee)]);this[_0x3b8be8(0x21f)][_0x3b8be8(0x498)](_0x1d25c4,_0x2b3ec6);}),this[_0x42dea5(0x3c1)]['getTypeOfUnitAdded$'](_0x4587e1[_0x42dea5(0x637)]['UNIVER_DOC'])[_0x42dea5(0x276)](_0x3eec93['takeUntil'](this[_0x42dea5(0x1ad)]),_0x18f07e['delay'](0x10))[_0x42dea5(0x276)](_0x18f07e[_0x42dea5(0x333)](_0x1ace69=>!_0x1ace69[_0x42dea5(0x1d9)]()['startsWith']('__')))[_0x42dea5(0x447)](async _0x2f488b=>{const _0x3a1181=_0x42dea5,_0x3ccb4c=_0x2f488b['getUnitId'](),_0x1cc6eb=await this[_0x3a1181(0x4cf)](_0x3ccb4c,_0xad4019[_0x3a1181(0x27b)]);this[_0x3a1181(0x21f)][_0x3a1181(0x498)](_0x3ccb4c,_0x1cc6eb);}),_0x3eec93[_0x42dea5(0x538)](this[_0x42dea5(0x3c1)][_0x42dea5(0x267)](_0x4587e1['UniverInstanceType']['UNIVER_SHEET']),this[_0x42dea5(0x3c1)][_0x42dea5(0x267)](_0x4587e1[_0x42dea5(0x637)]['UNIVER_DOC']))[_0x42dea5(0x276)](_0x3eec93[_0x42dea5(0x2b3)](this[_0x42dea5(0x1ad)]))[_0x42dea5(0x447)](_0x3a8d6c=>{const _0xd03768=_0x42dea5,_0x22de57=_0x3a8d6c[_0xd03768(0x1d9)](),_0x2d53e5=this['_entities'][_0xd03768(0x4a0)](_0x22de57);_0x2d53e5&&(_0x2d53e5[_0xd03768(0x3ea)](),this[_0xd03768(0x21f)][_0xd03768(0x4e2)](_0x22de57));});}async[_0x2fa915(0x4cf)](_0xcf79d8,_0x4a5bcf){const _0x2a8f4f=_0x2fa915,_0x123cc2=await this[_0x2a8f4f(0x23a)][_0x2a8f4f(0x3ef)](_0xcf79d8),_0x5ba1bb=this[_0x2a8f4f(0x60e)][_0x2a8f4f(0x489)](this['_getCtorByUniverType'](_0x4a5bcf),_0xcf79d8,_0x4a5bcf,_0x123cc2);return await _0x5ba1bb['init'](),this[_0x2a8f4f(0x308)]['next'](_0x5ba1bb),_0x5ba1bb;}['_getCtorByUniverType'](_0x50274d){const _0x36bfd6=_0x2fa915;switch(_0x50274d){case _0xad4019[_0x36bfd6(0x27b)]:return _0x539c7e['DocCollaborationEntity'];case _0xad4019[_0x36bfd6(0x3ee)]:return _0x539c7e[_0x36bfd6(0x2ba)];default:throw new Error(_0x36bfd6(0x31c)+_0x50274d);}}},_0x539c7e[_0x2fa915(0x38e)]=_0x12e233([_0x474c4f(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1['Injector'])),_0x474c4f(0x1,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x240)])),_0x474c4f(0x2,_0x4587e1[_0x2fa915(0x53b)])],_0x539c7e[_0x2fa915(0x38e)]);const _0x48a2d0=[_0x2fa915(0x224),_0x2fa915(0x400),_0x2fa915(0x18f),_0x2fa915(0x4a4),_0x2fa915(0x4e1),'gold400'];class _0x1938ad extends _0x4587e1[_0x2fa915(0x552)]{constructor(){const _0x8147b9=_0x2fa915;super(...arguments),_0x339ceb(this,_0x8147b9(0x37d),new Map()),_0x339ceb(this,_0x8147b9(0x269),0x0);}[_0x2fa915(0x3ac)](_0xc9eb0f){const _0x4c95d1=_0x2fa915;if(this['_assignedColors'][_0x4c95d1(0x364)](_0xc9eb0f))return this['_assignedColors'][_0x4c95d1(0x4a0)](_0xc9eb0f);const _0x16af2d=_0x48a2d0[this[_0x4c95d1(0x269)]];return this[_0x4c95d1(0x269)]=(this[_0x4c95d1(0x269)]+0x1)%_0x48a2d0['length'],this['_assignedColors'][_0x4c95d1(0x498)](_0xc9eb0f,_0x16af2d),_0x16af2d;}}var _0x5efd2e=Object[_0x2fa915(0x44e)],_0x22fc1c=Object['getOwnPropertyDescriptor'],_0x1ff821=(_0xd20d63,_0x4ba2b8,_0x17663b,_0x512c63)=>{const _0x311e25=_0x2fa915;for(var _0x154c50=_0x512c63>0x1?void 0x0:_0x512c63?_0x22fc1c(_0x4ba2b8,_0x17663b):_0x4ba2b8,_0x249ac6=_0xd20d63[_0x311e25(0x4d9)]-0x1,_0x437473;_0x249ac6>=0x0;_0x249ac6--)(_0x437473=_0xd20d63[_0x249ac6])&&(_0x154c50=(_0x512c63?_0x437473(_0x4ba2b8,_0x17663b,_0x154c50):_0x437473(_0x154c50))||_0x154c50);return _0x512c63&&_0x154c50&&_0x5efd2e(_0x4ba2b8,_0x17663b,_0x154c50),_0x154c50;},_0x40bee8=(_0x585283,_0xbfcc36)=>(_0x33dbc6,_0x15018d)=>_0xbfcc36(_0x33dbc6,_0x15018d,_0x585283);const _0x1f44d4=0x12c,_0x2ea8e0=0x64;let _0x534f53=class extends _0x4587e1[_0x2fa915(0x5b2)]{constructor(_0x4313c2,_0x86c976,_0x8f27e0,_0x564150,_0x2e06b6,_0x3cb10c,_0x416fe6,_0x4fe48c,_0x45235c){const _0x488469=_0x2fa915;super(),_0x339ceb(this,_0x488469(0x2a7),!0x1),_0x339ceb(this,'_init',!0x1),_0x339ceb(this,_0x488469(0x406),new _0x3eec93['BehaviorSubject'](new Map())),_0x339ceb(this,'cursorInfo$',this[_0x488469(0x406)][_0x488469(0x630)]()),_0x339ceb(this,_0x488469(0x5de),new _0x3eec93['BehaviorSubject']([])),_0x339ceb(this,_0x488469(0x237),this[_0x488469(0x5de)]['pipe'](_0x3eec93['debounceTime'](_0x1f44d4))),_0x339ceb(this,'_updateLocalCursor',_0x4587e1[_0x488469(0x625)](_0x5cdeff=>{const _0x5f1ed5=_0x488469,_0x12e138={'eventID':_0x215e4a[_0x5f1ed5(0x27c)][_0x5f1ed5(0x354)],'data':{'unitID':this['unitID'],'memberID':this[_0x5f1ed5(0x286)][_0x5f1ed5(0x4c8)](),'selection':_0xfb0b4(_0x5cdeff)}};this[_0x5f1ed5(0x286)]['send'](_0x12e138,this['unitID']);},_0x2ea8e0)),(this[_0x488469(0x2d1)]=_0x4313c2,this[_0x488469(0x286)]=_0x86c976,this[_0x488469(0x60e)]=_0x8f27e0,this['_colorAssignService']=_0x564150,this[_0x488469(0x226)]=_0x2e06b6,this['_syncEditingCollabCursorService']=_0x3cb10c,this[_0x488469(0x493)]=_0x416fe6,this[_0x488469(0x3c1)]=_0x4fe48c,this['_commandService']=_0x45235c);}get['cursorInfo'](){const _0x1c5a17=_0x2fa915;return this[_0x1c5a17(0x406)][_0x1c5a17(0x262)]();}get[_0x2fa915(0x28c)](){const _0x4a6a14=_0x2fa915;return this[_0x4a6a14(0x5de)][_0x4a6a14(0x262)]();}[_0x2fa915(0x3ea)](){const _0x57bb4b=_0x2fa915;super[_0x57bb4b(0x3ea)](),this[_0x57bb4b(0x406)][_0x57bb4b(0x1c9)](new Map()),this[_0x57bb4b(0x406)][_0x57bb4b(0x2e2)](),this[_0x57bb4b(0x5de)][_0x57bb4b(0x1c9)]([]),this[_0x57bb4b(0x5de)]['complete']();}[_0x2fa915(0x558)](){const _0x2f888c=_0x2fa915;this[_0x2f888c(0x16f)]||(this[_0x2f888c(0x16f)]=!0x0,this[_0x2f888c(0x286)]['sessionStatus$'][_0x2f888c(0x276)](_0x3eec93['takeUntil'](this[_0x2f888c(0x1ad)]))['subscribe'](_0x23994a=>{const _0x546a8e=_0x2f888c;_0x23994a===_0x474ede[_0x546a8e(0x36e)]?this[_0x546a8e(0x549)]():this[_0x546a8e(0x183)]();}),this[_0x2f888c(0x286)][_0x2f888c(0x4ca)]['pipe'](_0x3eec93[_0x2f888c(0x2b3)](this[_0x2f888c(0x1ad)]))[_0x2f888c(0x447)](_0x242c16=>{const _0x14ef30=_0x2f888c,_0x561468=_0x242c16[_0x14ef30(0x526)];_0x561468===_0x215e4a['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x14ef30(0x624)](_0x242c16),_0x561468===_0x215e4a[_0x14ef30(0x27c)][_0x14ef30(0x614)]&&this['_onCursorDelete'](_0x242c16);}),this[_0x2f888c(0x211)](this[_0x2f888c(0x1a3)]['onCommandExecuted'](_0x13ca99=>{const _0x157aeb=_0x2f888c,_0x979f3a=_0x13ca99['params'];_0x979f3a!=null&&this[_0x157aeb(0x2a7)]&&_0x13ca99['id']===_0x4844e7[_0x157aeb(0x21d)]['id']&&_0x979f3a[_0x157aeb(0x4f8)]===this[_0x157aeb(0x2d1)]&&_0x979f3a['isEditing']===!0x1&&_0x979f3a['ranges'][_0x157aeb(0x4d9)]>0x0&&this[_0x157aeb(0x3f5)](_0x979f3a[_0x157aeb(0x5dd)]);})),this[_0x2f888c(0x40c)]['collabCursorState$'][_0x2f888c(0x276)](_0x3eec93[_0x2f888c(0x2b3)](this['dispose$']))[_0x2f888c(0x447)](_0x11dc63=>{const _0x15f180=_0x2f888c;if((_0x11dc63==null?void 0x0:_0x11dc63[_0x15f180(0x2d1)])!==this[_0x15f180(0x2d1)])return;const _0x3286e6={'eventID':_0x215e4a[_0x15f180(0x27c)][_0x15f180(0x354)],'data':_0x11dc63};this[_0x15f180(0x624)](_0x3286e6);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x250194=>{const _0x1a6761=_0x2f888c;if(_0x250194['params']==null)return;const _0x2a9894=_0x250194[_0x1a6761(0x548)];if(_0x250194['id']!==_0x4844e7['RichTextEditingMutation']['id']||_0x2a9894[_0x1a6761(0x4f8)]!==this[_0x1a6761(0x2d1)])return;const _0x4a800c={'id':'doc.mutation.rich-text-editing','params':_0x2a9894},_0x4fe1c7=this[_0x1a6761(0x3c2)];for(const [_0x3f6889,_0x167a27]of _0x4fe1c7){const _0x42c960={'id':_0x1a6761(0x50a),'params':{'unitId':this[_0x1a6761(0x2d1)],'actions':null,'textRanges':_0x167a27[_0x1a6761(0x5dd)]}},_0x488af8=this[_0x1a6761(0x493)][_0x1a6761(0x2cb)](_0x4a800c,_0x42c960,!0x1);if(_0x215e4a[_0x1a6761(0x3de)](_0x488af8))throw _0x488af8[_0x1a6761(0x3a9)];_0x4fe1c7[_0x1a6761(0x498)](_0x3f6889,{..._0x167a27,'ranges':_0x488af8['m2Prime'][_0x1a6761(0x548)][_0x1a6761(0x1a8)]});}queueMicrotask(()=>{const _0x4c0176=_0x1a6761;this[_0x4c0176(0x406)][_0x4c0176(0x1c9)](_0x4fe1c7);});})));}[_0x2fa915(0x624)](_0x25fa04){const _0x8e5298=_0x2fa915;var _0x198d4b,_0x54a690;const {memberID:_0x3bc192,selection:_0x66ffd4}=_0x25fa04[_0x8e5298(0x273)],_0x3b7567=_0x4169a4(_0x66ffd4),_0xceafd6=(_0x54a690=(_0x198d4b=this[_0x8e5298(0x226)][_0x8e5298(0x438)](this[_0x8e5298(0x2d1)],_0x3bc192))==null?void 0x0:_0x198d4b[_0x8e5298(0x59e)])!=null?_0x54a690:_0x8e5298(0x35d),_0x45a09c={'color':this[_0x8e5298(0x474)][_0x8e5298(0x3ac)](_0x3bc192),'name':_0xceafd6,'ranges':_0x3b7567},_0x4815cc=this[_0x8e5298(0x3c2)];_0x4815cc['set'](_0x3bc192,_0x45a09c),this[_0x8e5298(0x406)][_0x8e5298(0x1c9)](_0x4815cc);}['_onCursorDelete'](_0x766da7){const _0x55a560=_0x2fa915,{memberID:_0x1246ce}=_0x766da7[_0x55a560(0x273)],_0x21a537=this[_0x55a560(0x3c2)];_0x21a537[_0x55a560(0x4e2)](_0x1246ce),this[_0x55a560(0x406)][_0x55a560(0x1c9)](_0x21a537);}[_0x2fa915(0x549)](){const _0x103691=_0x2fa915;var _0x51c284;if(this['_online']=!0x0,((_0x51c284=this[_0x103691(0x3c1)]['getFocusedUnit']())==null?void 0x0:_0x51c284['getUnitId']())!==this['unitID'])return;const _0x55d607=this['_injector'][_0x103691(0x4a0)](_0x4844e7[_0x103691(0x2f2)])[_0x103691(0x52f)]();Array[_0x103691(0x330)](_0x55d607)&&_0x55d607[_0x103691(0x4d9)]>0x0&&this[_0x103691(0x3f5)](_0x55d607);}[_0x2fa915(0x183)](){const _0x3da7e3=_0x2fa915;this[_0x3da7e3(0x2a7)]=!0x1;}};_0x534f53=_0x1ff821([_0x40bee8(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x40bee8(0x3,_0x4587e1['Inject'](_0x1938ad)),_0x40bee8(0x4,_0x4587e1['Inject'](_0x539c7e['MemberService'])),_0x40bee8(0x5,_0x4587e1[_0x2fa915(0x42b)](_0x54132e)),_0x40bee8(0x6,_0x215e4a[_0x2fa915(0x34d)]),_0x40bee8(0x7,_0x4587e1[_0x2fa915(0x53b)]),_0x40bee8(0x8,_0x4587e1[_0x2fa915(0x60b)])],_0x534f53);var _0x2d96c8=Object[_0x2fa915(0x44e)],_0x26284d=Object['getOwnPropertyDescriptor'],_0x57ec7f=(_0x574dbb,_0x150d3d,_0x47a101,_0x2b4283)=>{const _0x5cbc09=_0x2fa915;for(var _0x1bf225=_0x2b4283>0x1?void 0x0:_0x2b4283?_0x26284d(_0x150d3d,_0x47a101):_0x150d3d,_0x1e3047=_0x574dbb[_0x5cbc09(0x4d9)]-0x1,_0x2a25e7;_0x1e3047>=0x0;_0x1e3047--)(_0x2a25e7=_0x574dbb[_0x1e3047])&&(_0x1bf225=(_0x2b4283?_0x2a25e7(_0x150d3d,_0x47a101,_0x1bf225):_0x2a25e7(_0x1bf225))||_0x1bf225);return _0x2b4283&&_0x1bf225&&_0x2d96c8(_0x150d3d,_0x47a101,_0x1bf225),_0x1bf225;},_0x3111b8=(_0x420337,_0xb89561)=>(_0x23624c,_0x3d441d)=>_0xb89561(_0x23624c,_0x3d441d,_0x420337);const _0x539670=0x12c,_0x10d62e=0x64,_0x12b657=()=>{let _0x27954c=[],_0x15baba=!0x1;return _0x1c23f3=>{_0x27954c['push'](_0x1c23f3),_0x15baba||(_0x15baba=!0x0,setTimeout(()=>{const _0x3e94c3=_0x5275;_0x27954c[_0x3e94c3(0x34b)](_0x2d0fd3=>_0x2d0fd3()),_0x27954c=[],_0x15baba=!0x1;}));};};let _0x369727=class extends _0x4587e1['RxDisposable']{constructor(_0x4c2941,_0x4c3b15,_0x35e79f,_0x5dd89d,_0x2de684,_0x19c720,_0x40661e,_0x363eec){const _0x4043a2=_0x2fa915;super(),_0x339ceb(this,_0x4043a2(0x2a7),!0x1),_0x339ceb(this,_0x4043a2(0x16f),!0x1),_0x339ceb(this,_0x4043a2(0x406),new _0x3eec93[(_0x4043a2(0x29b))](new Map())),_0x339ceb(this,'cursorInfo$',this[_0x4043a2(0x406)][_0x4043a2(0x630)]()),_0x339ceb(this,'_roomMembers$',new _0x3eec93['BehaviorSubject']([])),_0x339ceb(this,'roomMembers$',this[_0x4043a2(0x5de)]['pipe'](_0x3eec93[_0x4043a2(0x579)](_0x539670))),_0x339ceb(this,_0x4043a2(0x3f5),_0x4587e1[_0x4043a2(0x625)]((_0x5447c2,_0x2118f1)=>{const _0x30dab6=_0x4043a2,_0xc7c260={'eventID':_0x215e4a[_0x30dab6(0x27c)][_0x30dab6(0x354)],'data':{'unitID':this[_0x30dab6(0x2d1)],'memberID':this['_session']['getMemberID'](),'selection':_0x5c9de5[_0x30dab6(0x386)](_0x5447c2,_0x2118f1[_0x30dab6(0x307)])}};this[_0x30dab6(0x286)][_0x30dab6(0x5aa)](_0xc7c260,this['unitID']);},_0x10d62e)),(this[_0x4043a2(0x2d1)]=_0x4c2941,this[_0x4043a2(0x286)]=_0x4c3b15,this[_0x4043a2(0x60e)]=_0x35e79f,this[_0x4043a2(0x474)]=_0x5dd89d,this[_0x4043a2(0x226)]=_0x2de684,this[_0x4043a2(0x3c1)]=_0x19c720,this[_0x4043a2(0x1a3)]=_0x40661e,this[_0x4043a2(0x4e8)]=_0x363eec);}get[_0x2fa915(0x3c2)](){const _0x1bbdc4=_0x2fa915;return this[_0x1bbdc4(0x406)][_0x1bbdc4(0x262)]();}get[_0x2fa915(0x28c)](){const _0x537695=_0x2fa915;return this[_0x537695(0x5de)]['getValue']();}[_0x2fa915(0x3ea)](){const _0xdf02b7=_0x2fa915;super[_0xdf02b7(0x3ea)](),this[_0xdf02b7(0x406)][_0xdf02b7(0x1c9)](new Map()),this[_0xdf02b7(0x406)][_0xdf02b7(0x2e2)](),this[_0xdf02b7(0x5de)][_0xdf02b7(0x1c9)]([]),this[_0xdf02b7(0x5de)][_0xdf02b7(0x2e2)]();}[_0x2fa915(0x558)](){const _0x398d08=_0x2fa915;this[_0x398d08(0x16f)]||(this[_0x398d08(0x16f)]=!0x0,this[_0x398d08(0x286)]['sessionStatus$']['pipe'](_0x3eec93[_0x398d08(0x2b3)](this[_0x398d08(0x1ad)]))['subscribe'](_0x4f6263=>{const _0x3a5eb6=_0x398d08;_0x4f6263===_0x474ede[_0x3a5eb6(0x36e)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x398d08(0x286)][_0x398d08(0x4ca)]['pipe'](_0x3eec93['takeUntil'](this[_0x398d08(0x1ad)]))[_0x398d08(0x447)](_0x3f58bc=>{const _0x43a788=_0x398d08,_0x34f8a5=_0x3f58bc[_0x43a788(0x526)];_0x34f8a5===_0x215e4a['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x43a788(0x624)](_0x3f58bc),_0x34f8a5===_0x215e4a['CollaborationEvent'][_0x43a788(0x614)]&&this[_0x43a788(0x44c)](_0x3f58bc);}),this['_onRefRangeChange'](),this[_0x398d08(0x211)](this[_0x398d08(0x1a3)][_0x398d08(0x1b5)](_0xf7b0b6=>{const _0xa079a6=_0x398d08;if(this[_0xa079a6(0x2a7)]&&_0xf7b0b6['id']===_0x27d820[_0xa079a6(0x171)]['id']&&_0xf7b0b6['params'][_0xa079a6(0x4f8)]===this[_0xa079a6(0x2d1)]){const _0x38b8ec=_0xf7b0b6['params'];this[_0xa079a6(0x3f5)](_0x38b8ec[_0xa079a6(0x3f1)],_0x38b8ec[_0xa079a6(0x2bd)][0x0]);}})));}[_0x2fa915(0x624)](_0x3dab1c){const _0x403373=_0x2fa915;var _0x1f1209,_0x2ff2fd;const {memberID:_0xcf4613,selection:_0x3fb387}=_0x3dab1c[_0x403373(0x273)],{sheetName:_0x3c0c49,range:_0x51ee5b}=_0x5c9de5[_0x403373(0x1e8)](_0x3fb387),_0x2f493f={'name':(_0x2ff2fd=(_0x1f1209=this[_0x403373(0x226)]['getMember'](this[_0x403373(0x2d1)],_0xcf4613))==null?void 0x0:_0x1f1209[_0x403373(0x59e)])!=null?_0x2ff2fd:_0x403373(0x35d),'range':this[_0x403373(0x4c3)](_0x3c0c49,_0x51ee5b),'sheetID':_0x3c0c49,'color':this[_0x403373(0x474)][_0x403373(0x3ac)](_0xcf4613),'selection':_0x3fb387},_0x409dee=this[_0x403373(0x3c2)];_0x409dee['set'](_0xcf4613,_0x2f493f),this[_0x403373(0x406)][_0x403373(0x1c9)](_0x409dee);}[_0x2fa915(0x44c)](_0xc1034d){const _0x2328af=_0x2fa915,{memberID:_0x412f7f}=_0xc1034d[_0x2328af(0x273)],_0x32d10d=this[_0x2328af(0x3c2)];_0x32d10d[_0x2328af(0x4e2)](_0x412f7f),this[_0x2328af(0x406)][_0x2328af(0x1c9)](_0x32d10d);}[_0x2fa915(0x4c3)](_0x416cd4,_0x1e1f45){const _0x4987dd=_0x2fa915;var _0x5d04c2,_0x594db2;const _0x3b9ea3=(_0x594db2=(_0x5d04c2=this[_0x4987dd(0x3c1)][_0x4987dd(0x4b1)](this[_0x4987dd(0x2d1)]))==null?void 0x0:_0x5d04c2['getSheetBySheetId'](_0x416cd4))==null?void 0x0:_0x594db2[_0x4987dd(0x1cc)]();return(_0x3b9ea3==null?void 0x0:_0x3b9ea3['find'](_0x3f0c56=>_0x4587e1[_0x4987dd(0x563)][_0x4987dd(0x41a)](_0x3f0c56,_0x1e1f45)))||_0x1e1f45;}[_0x2fa915(0x2be)](){const _0x2d1d3a=_0x2fa915,_0x394a1d=new _0x4587e1[(_0x2d1d3a(0x36f))](),_0x40f3c2=_0x12b657(),_0x7cffdd=()=>{const _0x2125e8=_0x2d1d3a;_0x394a1d[_0x2125e8(0x3ea)]();const _0xa6382d=(_0x4ac610,_0x13b94d,_0x27a64d,_0x20b392)=>{const _0x46a76d=_0x2125e8;let _0x51adce=[];switch(_0x4ac610['id']){case _0x27d820['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x51adce=_0x27d820[_0x46a76d(0x2a8)](_0x4ac610,_0x20b392);break;}case _0x27d820[_0x46a76d(0x1f3)]['DeleteRangeMoveUpCommandId']:{_0x51adce=_0x27d820[_0x46a76d(0x4c2)](_0x4ac610,_0x20b392);break;}case _0x27d820['EffectRefRangId']['InsertColCommandId']:{_0x51adce=_0x27d820[_0x46a76d(0x4d7)](_0x4ac610,_0x20b392);break;}case _0x27d820[_0x46a76d(0x1f3)][_0x46a76d(0x19a)]:{_0x51adce=_0x27d820['handleInsertRangeMoveDown'](_0x4ac610,_0x20b392);break;}case _0x27d820[_0x46a76d(0x1f3)]['InsertRangeMoveRightCommandId']:{_0x51adce=_0x27d820[_0x46a76d(0x4c0)](_0x4ac610,_0x20b392);break;}case _0x27d820['EffectRefRangId'][_0x46a76d(0x5d3)]:{_0x51adce=_0x27d820[_0x46a76d(0x305)](_0x4ac610,_0x20b392);break;}case _0x27d820['EffectRefRangId'][_0x46a76d(0x49d)]:{_0x51adce=_0x27d820['handleMoveRange'](_0x4ac610,_0x20b392);break;}case _0x27d820['EffectRefRangId'][_0x46a76d(0x5e0)]:{_0x51adce=_0x27d820[_0x46a76d(0x540)](_0x4ac610,_0x20b392);break;}case _0x27d820['EffectRefRangId'][_0x46a76d(0x5ec)]:{_0x51adce=_0x27d820[_0x46a76d(0x57c)](_0x4ac610,_0x20b392);break;}}const _0x3440d2=_0x27d820[_0x46a76d(0x4f1)](_0x51adce,_0x20b392),_0x385603=this[_0x46a76d(0x3c2)][_0x46a76d(0x4a0)](_0x13b94d);if(_0x385603&&_0x3440d2){const _0x54e5d4={..._0x385603,'range':_0x3440d2};this[_0x46a76d(0x3c2)][_0x46a76d(0x498)](_0x13b94d,_0x54e5d4),_0x40f3c2(()=>{const _0x4828de=_0x46a76d,_0x198457=this[_0x4828de(0x4e8)][_0x4828de(0x575)](_0x3440d2,_0x3e8671=>(_0x198457[_0x4828de(0x3ea)](),_0xa6382d(_0x3e8671,_0x13b94d,_0x27a64d,_0x3440d2)));_0x394a1d[_0x4828de(0x1db)](_0x198457);});}return{'redos':[],'undos':[]};};this[_0x2125e8(0x3c2)]['forEach']((_0x4789a4,_0x4330c9)=>{const _0x9dfd59=_0x2125e8,{range:_0x22aea1,sheetID:_0x3227d5}=_0x4789a4,_0x41aa82=this[_0x9dfd59(0x4e8)][_0x9dfd59(0x575)](_0x22aea1,_0x407c7e=>(_0x41aa82[_0x9dfd59(0x3ea)](),_0xa6382d(_0x407c7e,_0x4330c9,_0x3227d5,_0x22aea1)));_0x394a1d[_0x9dfd59(0x1db)](_0x41aa82);});};this[_0x2d1d3a(0x211)](_0x4587e1[_0x2d1d3a(0x2a6)](this[_0x2d1d3a(0x406)]['subscribe'](()=>{_0x7cffdd();})));}[_0x2fa915(0x549)](){const _0x15010a=_0x2fa915;var _0x534cbb,_0x2b4d33;if(this[_0x15010a(0x2a7)]=!0x0,((_0x534cbb=this['_univerInstanceService'][_0x15010a(0x2fd)]())==null?void 0x0:_0x534cbb[_0x15010a(0x1d9)]())!==this['unitID'])return;const _0xc4b795=(_0x2b4d33=this[_0x15010a(0x60e)]['get'](_0x27d820[_0x15010a(0x201)])[_0x15010a(0x272)]())==null?void 0x0:_0x2b4d33[0x0],_0x2fcaff=this['_univerInstanceService']['getCurrentUnitForType'](_0x4587e1[_0x15010a(0x637)]['UNIVER_SHEET'])[_0x15010a(0x5ee)]();_0xc4b795&&_0x2fcaff&&this[_0x15010a(0x3f5)](_0x2fcaff[_0x15010a(0x2f7)](),_0xc4b795);}[_0x2fa915(0x183)](){this['_online']=!0x1;}};_0x369727=_0x57ec7f([_0x3111b8(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x3111b8(0x3,_0x4587e1['Inject'](_0x1938ad)),_0x3111b8(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x1d1)])),_0x3111b8(0x5,_0x4587e1['IUniverInstanceService']),_0x3111b8(0x6,_0x4587e1['ICommandService']),_0x3111b8(0x7,_0x4587e1[_0x2fa915(0x42b)](_0x27d820[_0x2fa915(0x186)]))],_0x369727);var _0x30ca30=Object[_0x2fa915(0x44e)],_0x27a5f3=Object['getOwnPropertyDescriptor'],_0x1c4b37=(_0x3e14ab,_0x5669b3,_0x2b88be,_0xb45329)=>{const _0x431e68=_0x2fa915;for(var _0x15f226=_0xb45329>0x1?void 0x0:_0xb45329?_0x27a5f3(_0x5669b3,_0x2b88be):_0x5669b3,_0x16dd8d=_0x3e14ab[_0x431e68(0x4d9)]-0x1,_0x1a4e27;_0x16dd8d>=0x0;_0x16dd8d--)(_0x1a4e27=_0x3e14ab[_0x16dd8d])&&(_0x15f226=(_0xb45329?_0x1a4e27(_0x5669b3,_0x2b88be,_0x15f226):_0x1a4e27(_0x15f226))||_0x15f226);return _0xb45329&&_0x15f226&&_0x30ca30(_0x5669b3,_0x2b88be,_0x15f226),_0x15f226;},_0x5a520e=(_0x57d86f,_0x5d1618)=>(_0x1fc65a,_0x3112e3)=>_0x5d1618(_0x1fc65a,_0x3112e3,_0x57d86f);let _0x49f33=class extends _0x4587e1[_0x2fa915(0x5b2)]{constructor(_0x2073e9,_0x146af0,_0x23554d){const _0x5067c3=_0x2fa915;super(),_0x339ceb(this,_0x5067c3(0x21f),new Map()),_0x339ceb(this,'_entityInit$',new _0x3eec93[(_0x5067c3(0x5c5))]()),(this['_univerInstanceService']=_0x2073e9,this[_0x5067c3(0x60e)]=_0x146af0,this[_0x5067c3(0x23a)]=_0x23554d,this[_0x5067c3(0x16f)]());}[_0x2fa915(0x3ea)](){const _0x172693=_0x2fa915;super['dispose'](),this['_entityInit$']['complete'](),this[_0x172693(0x21f)][_0x172693(0x34b)](_0x3de66a=>_0x3de66a[_0x172693(0x3ea)]());}[_0x2fa915(0x55f)](_0x5e741b){const _0x43ac5d=_0x2fa915;return this['_entities'][_0x43ac5d(0x364)](_0x5e741b)?this['_entities']['get'](_0x5e741b)[_0x43ac5d(0x63b)]:this[_0x43ac5d(0x308)]['pipe'](_0x3eec93[_0x43ac5d(0x333)](_0x36dd45=>_0x36dd45[_0x43ac5d(0x2d1)]===_0x5e741b),_0x3eec93[_0x43ac5d(0x42a)](_0x21cfa3=>_0x21cfa3[_0x43ac5d(0x63b)]));}[_0x2fa915(0x16f)](){const _0x5e1318=_0x2fa915;this[_0x5e1318(0x3c1)][_0x5e1318(0x39e)](_0x4587e1[_0x5e1318(0x637)][_0x5e1318(0x3ee)])[_0x5e1318(0x276)](_0x3eec93[_0x5e1318(0x2b3)](this['dispose$']))['subscribe'](async _0x5544f1=>{const _0x2d114c=_0x5e1318,_0x5eee5b=_0x5544f1['getUnitId'](),_0x2fb3ae=await this[_0x2d114c(0x547)](_0x5eee5b);this['_entityInit$']['next'](_0x2fb3ae),this[_0x2d114c(0x21f)][_0x2d114c(0x498)](_0x5eee5b,_0x2fb3ae);}),this[_0x5e1318(0x3c1)][_0x5e1318(0x39e)](_0x4587e1[_0x5e1318(0x637)][_0x5e1318(0x27b)])[_0x5e1318(0x276)](_0x3eec93[_0x5e1318(0x2b3)](this[_0x5e1318(0x1ad)]))[_0x5e1318(0x276)](_0x3eec93['filter'](_0x2d5667=>!_0x2d5667[_0x5e1318(0x1d9)]()[_0x5e1318(0x3cd)]('__')))[_0x5e1318(0x447)](async _0xa138ba=>{const _0x8aa87c=_0x5e1318,_0x599462=_0xa138ba[_0x8aa87c(0x1d9)](),_0x186269=await this['_startDocCollabCursor'](_0x599462);this[_0x8aa87c(0x308)]['next'](_0x186269),this[_0x8aa87c(0x21f)][_0x8aa87c(0x498)](_0x599462,_0x186269);}),_0x3eec93['merge'](this[_0x5e1318(0x3c1)][_0x5e1318(0x267)](_0x4587e1['UniverInstanceType']['UNIVER_DOC']),this[_0x5e1318(0x3c1)]['getTypeOfUnitDisposed$'](_0x4587e1[_0x5e1318(0x637)][_0x5e1318(0x3ee)]))[_0x5e1318(0x276)](_0x3eec93[_0x5e1318(0x2b3)](this[_0x5e1318(0x1ad)]))['subscribe'](_0x627d1c=>{const _0x3bd385=_0x5e1318,_0xe1700a=_0x627d1c['getUnitId'](),_0x35f72c=this['_entities'][_0x3bd385(0x4a0)](_0xe1700a);_0x35f72c&&(_0x35f72c[_0x3bd385(0x3ea)](),this[_0x3bd385(0x21f)]['delete'](_0xe1700a));});}async[_0x2fa915(0x547)](_0x532d9a){const _0xa0405a=_0x2fa915,_0x479195=await this['_collabSessionService']['requireSession'](_0x532d9a),_0x24fc11=this['_injector'][_0xa0405a(0x489)](_0x369727,_0x532d9a,_0x479195);return _0x24fc11['init'](),_0x24fc11;}async[_0x2fa915(0x327)](_0xb532fd){const _0x542164=_0x2fa915,_0x243622=await this['_collabSessionService'][_0x542164(0x3ef)](_0xb532fd),_0x28fc10=this['_injector'][_0x542164(0x489)](_0x534f53,_0xb532fd,_0x243622);return _0x28fc10['init'](),_0x28fc10;}};_0x49f33=_0x1c4b37([_0x5a520e(0x0,_0x4587e1['IUniverInstanceService']),_0x5a520e(0x1,_0x4587e1['Inject'](_0x4587e1[_0x2fa915(0x403)])),_0x5a520e(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x240)]))],_0x49f33);const _0x474958=0x14,_0x49ca54=0xc8,_0x345858=0x4,_0x241ce8=0x5;function _0x43c737(_0x365e92,_0x19b4a1){const _0x5b03ce=_0x2fa915;let {radius:_0x565354,width:_0x6483c9,height:_0x1188d7}=_0x19b4a1;_0x565354=_0x565354!=null?_0x565354:0x0,_0x6483c9=_0x6483c9!=null?_0x6483c9:0x1e,_0x1188d7=_0x1188d7!=null?_0x1188d7:0x1e;let _0x20c076=0x0,_0x43a374=0x0,_0x1ae651=0x0;_0x20c076=_0x43a374=_0x1ae651=Math[_0x5b03ce(0x5bc)](_0x565354,_0x6483c9/0x2,_0x1188d7/0x2),_0x365e92[_0x5b03ce(0x2f6)](),_0x365e92[_0x5b03ce(0x229)](_0x20c076,0x0),_0x365e92[_0x5b03ce(0x210)](_0x6483c9-_0x43a374,0x0),_0x365e92['arc'](_0x6483c9-_0x43a374,_0x43a374,_0x43a374,Math['PI']*0x3/0x2,0x0,!0x1),_0x365e92['lineTo'](_0x6483c9,_0x1188d7-_0x1ae651),_0x365e92[_0x5b03ce(0x411)](_0x6483c9-_0x1ae651,_0x1188d7-_0x1ae651,_0x1ae651,0x0,Math['PI']/0x2,!0x1),_0x365e92[_0x5b03ce(0x210)](0x0,_0x1188d7),_0x365e92[_0x5b03ce(0x210)](0x0,_0x20c076),_0x365e92[_0x5b03ce(0x411)](_0x20c076,_0x20c076,_0x20c076,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x365e92['closePath'](),_0x19b4a1['fill']&&(_0x365e92[_0x5b03ce(0x528)](),_0x365e92[_0x5b03ce(0x2fc)]=_0x19b4a1[_0x5b03ce(0x3dc)],_0x19b4a1[_0x5b03ce(0x5ef)]==='evenodd'?_0x365e92[_0x5b03ce(0x3dc)](_0x5b03ce(0x422)):_0x365e92['fill'](),_0x365e92[_0x5b03ce(0x59b)]());}class _0x3f182a extends _0x25d31a[_0x2fa915(0x59a)]{constructor(_0x3a4fe3,_0x5d7a90){const _0x2d42dd=_0x2fa915;super(_0x3a4fe3,_0x5d7a90),_0x339ceb(this,_0x2d42dd(0x5f2)),_0x339ceb(this,_0x2d42dd(0x1b8)),(this[_0x2d42dd(0x5f2)]=_0x5d7a90==null?void 0x0:_0x5d7a90['color'],this['text']=_0x5d7a90==null?void 0x0:_0x5d7a90[_0x2d42dd(0x1b8)]);}static['drawWith'](_0x275358,_0x4f2f15){const _0x97908e=_0x2fa915,{text:_0x1580b3,color:_0x4c7f3e}=_0x4f2f15;_0x275358[_0x97908e(0x528)](),_0x275358['font']=_0x97908e(0x514);const _0x2ffe56=_0x275358['measureText'](_0x1580b3)['width'],_0x668eb2=Math[_0x97908e(0x5bc)](_0x2ffe56+0x2*_0x345858,_0x49ca54);_0x43c737(_0x275358,{'height':_0x474958,'radius':0x4,'width':_0x668eb2,'fill':_0x4c7f3e,'evented':!0x1}),_0x275358[_0x97908e(0x2fc)]=_0x97908e(0x444);const _0x52d4c0=_0x345858,_0x4c7643=_0x474958-_0x241ce8,_0x1e3f04=_0x49ca54-0x2*_0x345858;if(_0x2ffe56>_0x1e3f04){let _0x87cbb2='',_0x4995c1=0x0;for(const _0x457e19 of _0x1580b3){const _0x258ec6=_0x275358[_0x97908e(0x22f)](_0x457e19)['width'];if(_0x4995c1+_0x258ec6<=_0x1e3f04-_0x275358['measureText'](_0x97908e(0x535))[_0x97908e(0x207)])_0x87cbb2+=_0x457e19,_0x4995c1+=_0x258ec6;else{_0x87cbb2+='...';break;}}_0x275358[_0x97908e(0x4b9)](_0x87cbb2,_0x52d4c0,_0x4c7643);}else _0x275358['fillText'](_0x1580b3,_0x52d4c0,_0x4c7643);_0x275358[_0x97908e(0x59b)]();}[_0x2fa915(0x1b7)](_0x5c07f0){const _0xb4a133=_0x2fa915;_0x3f182a[_0xb4a133(0x3fa)](_0x5c07f0,this);}}const _0x445438='collab-text-anchor-',_0x409c7e=_0x2fa915(0x54b),_0x588149=_0x2fa915(0x395),_0x4436db=0x6,_0x507225=1.5,_0x368b9b=0x4,_0x26c071=1.5,_0x4ed7eb=_0x2fa915(0x534);class _0x2705b0{constructor(_0x491831,_0x23a541,_0x46acbf,_0x53a9ec){const _0xb72011=_0x2fa915;_0x339ceb(this,_0xb72011(0x47c),[]),_0x339ceb(this,_0xb72011(0x3b1),null),_0x339ceb(this,'_textBubble',null),_0x339ceb(this,_0xb72011(0x3cb),null),_0x339ceb(this,'_hideTimer',null),_0x339ceb(this,_0xb72011(0x309),null),(this['_cursor']=_0x491831,this[_0xb72011(0x619)]=_0x23a541,this[_0xb72011(0x413)]=_0x46acbf,this[_0xb72011(0x315)]=_0x53a9ec,this[_0xb72011(0x299)]());}set[_0x2fa915(0x52b)](_0x2e4aee){const _0x5877a6=_0x2fa915;_0x2e4aee?(this[_0x5877a6(0x3cb)]&&this['_anchorDot'][_0x5877a6(0x527)](),this[_0x5877a6(0x5fb)]&&this['_textBubble'][_0x5877a6(0x1ca)]()):(this['_anchorDot']&&this['_anchorDot']['show'](),this[_0x5877a6(0x5fb)]&&this['_textBubble'][_0x5877a6(0x527)]());}[_0x2fa915(0x3ea)](){const _0x1ff7cc=_0x2fa915;for(const _0x5d5959 of this['_shapes'])_0x5d5959[_0x1ff7cc(0x3ea)]();this['_textBubble']&&this['_textBubble'][_0x1ff7cc(0x3ea)](),this[_0x1ff7cc(0x3cb)]&&this['_anchorDot'][_0x1ff7cc(0x3ea)](),this[_0x1ff7cc(0x3b1)]&&this['_anchor'][_0x1ff7cc(0x3ea)](),this['_eventUnsubscribe']&&this[_0x1ff7cc(0x309)]();}[_0x2fa915(0x299)](){const _0x346c43=_0x2fa915;var _0x41910e;const {_docSkeleton:_0x4808d3,_document:_0x112f7c}=this,{color:_0x457496,name:_0x354d66,ranges:_0x2cc29a}=this['_cursor'],_0x4bf54c=_0x112f7c[_0x346c43(0x2d2)](),{docsLeft:_0x4d340c,docsTop:_0x46731e}=_0x4bf54c,_0x28fd3b=new _0x28eee7[(_0x346c43(0x5e2))](_0x4bf54c,_0x4808d3);for(const {startOffset:_0x30dc5a,endOffset:_0x34c349,rangeType:_0x41c889,segmentId:_0x9a2c2b,segmentPage:_0x1310dd,collapsed:_0x2fd691,isActive:_0x1c6184}of _0x2cc29a){const _0xb8ebf3=_0x4808d3[_0x346c43(0x44d)](_0x30dc5a,!0x0,_0x9a2c2b,_0x1310dd);let _0x2f7550=_0x4808d3[_0x346c43(0x44d)](_0x34c349,!0x0,_0x9a2c2b,_0x1310dd);if(_0x2f7550==null&&(_0x2f7550=_0x4808d3[_0x346c43(0x44d)](_0x34c349-0x1,!0x1,_0x9a2c2b,_0x1310dd)),_0x1c6184){const {contentBoxPointGroup:_0x474462}=_0x28fd3b[_0x346c43(0x204)](_0x2f7550,_0x2f7550);if(_0x474462[_0x346c43(0x4d9)]===0x0)continue;this[_0x346c43(0x3b8)](_0x457496,_0x474462,_0x4d340c,_0x46731e,_0x354d66),this[_0x346c43(0x309)]=this['_handleHover']();}if(!_0x2fd691&&_0xb8ebf3&&_0x2f7550){if(_0x41c889===_0x4587e1[_0x346c43(0x383)][_0x346c43(0x4a1)]){const _0x5adb07=new _0x28eee7[(_0x346c43(0x574))](_0x4bf54c,_0x4808d3),{pointGroup:_0x3d5b2}=(_0x41910e=_0x5adb07['getRangePointData'](_0xb8ebf3,_0x2f7550))!=null?_0x41910e:{};if(_0x3d5b2==null||_0x3d5b2['length']===0x0)continue;this[_0x346c43(0x266)](_0x457496,_0x3d5b2,_0x4d340c,_0x46731e);}else{const {borderBoxPointGroup:_0x1dc958}=_0x28fd3b[_0x346c43(0x204)](_0xb8ebf3,_0x2f7550);if(_0x1dc958[_0x346c43(0x4d9)]===0x0)continue;this[_0x346c43(0x3ad)](_0x457496,_0x1dc958,_0x4d340c,_0x46731e);}}}}[_0x2fa915(0x3b8)](_0x21c175,_0x5173ec,_0x4c7dce,_0x3d1c97,_0x52547f){const _0x4f6d84=_0x2fa915,_0x2f9043=this[_0x4f6d84(0x1b4)](_0x5173ec),{left:_0x9f4e9b,top:_0x4ca0db,height:_0x13390d}=_0x2f9043,_0x296fc9=this['_getScale'](),_0x5979d9=_0x26c071/_0x296fc9,_0xa60324=new _0x25d31a['Rect'](_0x445438+_0x4587e1[_0x4f6d84(0x5f7)][_0x4f6d84(0x334)](_0x4436db),{'left':_0x9f4e9b+_0x4c7dce-_0x5979d9,'top':_0x4ca0db+_0x3d1c97,'height':_0x13390d,'width':_0x507225,'fill':_0x21c175||_0x25d31a[_0x4f6d84(0x58c)](_0x4587e1[_0x4f6d84(0x24e)][_0x4f6d84(0x51a)],0x0),'strokeWidth':_0x5979d9,'stroke':_0x4ed7eb,'evented':!0x0});this[_0x4f6d84(0x3b1)]=_0xa60324,this['_scene']['addObject'](_0xa60324,_0x28eee7[_0x4f6d84(0x1ba)]);const _0x1382fb=new _0x25d31a['Rect'](_0x445438+_0x4587e1[_0x4f6d84(0x5f7)][_0x4f6d84(0x334)](_0x4436db),{'left':_0x9f4e9b+_0x4c7dce-_0x5979d9,'top':_0x4ca0db+_0x3d1c97-_0x368b9b/0x2,'height':_0x368b9b,'width':_0x368b9b,'fill':_0x21c175||_0x25d31a[_0x4f6d84(0x58c)](_0x4587e1[_0x4f6d84(0x24e)][_0x4f6d84(0x51a)],0x0),'strokeWidth':0x0,'stroke':_0x21c175||_0x25d31a['getColor'](_0x4587e1[_0x4f6d84(0x24e)][_0x4f6d84(0x51a)],0x0),'evented':!0x1});this['_anchorDot']=_0x1382fb,this[_0x4f6d84(0x619)][_0x4f6d84(0x2e4)](_0x1382fb,_0x28eee7['TEXT_RANGE_LAYER_INDEX']);const _0x3ca187=new _0x3f182a(_0x445438+_0x4587e1['Tools'][_0x4f6d84(0x334)](_0x4436db),{'left':_0x9f4e9b+_0x4c7dce-_0x5979d9,'top':_0x4ca0db+_0x3d1c97-_0x474958,'text':_0x52547f,'color':_0x21c175});this[_0x4f6d84(0x5fb)]=_0x3ca187,this['_scene'][_0x4f6d84(0x2e4)](_0x3ca187,_0x28eee7[_0x4f6d84(0x1ba)]),this[_0x4f6d84(0x52b)]=!0x1;}['_handleHover'](){const _0x17d268=_0x2fa915,_0x426b54=this[_0x17d268(0x3b1)][_0x17d268(0x34a)][_0x17d268(0x374)](()=>{const _0x2944a9=_0x17d268;this[_0x2944a9(0x52b)]=!0x0;}),_0x4ee122=this[_0x17d268(0x3b1)][_0x17d268(0x420)][_0x17d268(0x374)](()=>{const _0x11405e=_0x17d268;this['_hideTimer']&&clearTimeout(this[_0x11405e(0x5ae)]),this[_0x11405e(0x5ae)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x23b6ff=_0x17d268;_0x426b54[_0x23b6ff(0x2ce)](),_0x4ee122['unsubscribe']();};}[_0x2fa915(0x3ad)](_0x45516a,_0x4961d7,_0xb9f584,_0x173dd1){const _0x20030e=_0x2fa915,_0x419704=new _0x4587e1[(_0x20030e(0x1bb))](_0x45516a)[_0x20030e(0x5e6)](0.2)['toRgbString'](),_0x4e8c61=new _0x25d31a['RegularPolygon'](_0x409c7e+_0x4587e1['Tools'][_0x20030e(0x334)](_0x4436db),{'pointsGroup':_0x4961d7,'fill':_0x419704||_0x25d31a['getColor'](_0x4587e1[_0x20030e(0x24e)][_0x20030e(0x51a)],0.2),'left':_0xb9f584,'top':_0x173dd1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x20030e(0x47c)][_0x20030e(0x367)](_0x4e8c61),this[_0x20030e(0x619)][_0x20030e(0x2e4)](_0x4e8c61,_0x28eee7[_0x20030e(0x1ba)]);}[_0x2fa915(0x266)](_0x582d61,_0x2500b2,_0x49e0cd,_0x6a0d18){const _0x41b8c7=_0x2fa915,_0x1eafc5=new _0x4587e1[(_0x41b8c7(0x1bb))](_0x582d61)[_0x41b8c7(0x5e6)](0.2)[_0x41b8c7(0x601)](),_0x274bd2=new _0x25d31a[(_0x41b8c7(0x51e))](_0x588149+_0x4587e1['Tools'][_0x41b8c7(0x334)](_0x4436db),{'pointsGroup':_0x2500b2,'fill':_0x1eafc5||_0x25d31a[_0x41b8c7(0x58c)](_0x4587e1[_0x41b8c7(0x24e)][_0x41b8c7(0x51a)],0.2),'left':_0x49e0cd,'top':_0x6a0d18,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x41b8c7(0x367)](_0x274bd2),this[_0x41b8c7(0x619)][_0x41b8c7(0x2e4)](_0x274bd2,_0x28eee7[_0x41b8c7(0x1ba)]);}[_0x2fa915(0x1b4)](_0x108a5f){const _0x3b22bc=_0x108a5f[0x0],_0x39c89c=_0x3b22bc[0x0],_0x518d5f=_0x3b22bc[0x2],{x:_0x2abfce,y:_0x4205a8}=_0x39c89c,{x:_0x5e3945,y:_0x1eaeee}=_0x518d5f;return{'left':_0x2abfce,'top':_0x4205a8,'width':_0x5e3945-_0x2abfce,'height':_0x1eaeee-_0x4205a8};}['_getScale'](){const _0x303c47=_0x2fa915,{scaleX:_0x5da447,scaleY:_0x24b828}=this['_scene']['getAncestorScale']();return Math[_0x303c47(0x433)](_0x5da447,_0x24b828);}}var _0x107807=Object[_0x2fa915(0x44e)],_0x422bf8=Object[_0x2fa915(0x569)],_0x3b4f48=(_0xdaa5e4,_0x3174f6,_0x83a4a9,_0x36675e)=>{const _0x489ebc=_0x2fa915;for(var _0x5acf2b=_0x36675e>0x1?void 0x0:_0x36675e?_0x422bf8(_0x3174f6,_0x83a4a9):_0x3174f6,_0x33a8b4=_0xdaa5e4[_0x489ebc(0x4d9)]-0x1,_0x3b9ccb;_0x33a8b4>=0x0;_0x33a8b4--)(_0x3b9ccb=_0xdaa5e4[_0x33a8b4])&&(_0x5acf2b=(_0x36675e?_0x3b9ccb(_0x3174f6,_0x83a4a9,_0x5acf2b):_0x3b9ccb(_0x5acf2b))||_0x5acf2b);return _0x36675e&&_0x5acf2b&&_0x107807(_0x3174f6,_0x83a4a9,_0x5acf2b),_0x5acf2b;},_0x34b871=(_0x554af2,_0xa111a2)=>(_0x21203a,_0x3289d1)=>_0xa111a2(_0x21203a,_0x3289d1,_0x554af2);let _0x33787c=class extends _0x4587e1['RxDisposable']{constructor(_0x392d19,_0x2672c3,_0x1cd875,_0x386034,_0x35937a){const _0x524e30=_0x2fa915;super(),_0x339ceb(this,_0x524e30(0x380),[]),_0x339ceb(this,_0x524e30(0x2db),[]),(this['_context']=_0x392d19,this[_0x524e30(0x355)]=_0x2672c3,this[_0x524e30(0x4af)]=_0x1cd875,this['_commandService']=_0x386034,this[_0x524e30(0x22d)]=_0x35937a,this[_0x524e30(0x16f)]());}[_0x2fa915(0x16f)](){const _0x4ec579=_0x2fa915,_0x4aa8f0=this[_0x4ec579(0x52e)][_0x4ec579(0x4f8)],_0x37742c=this[_0x4ec579(0x355)];this['disposeWithMe'](_0x3eec93[_0x4ec579(0x4eb)]([this['_collabCursorController']['getCollabCursors$'](_0x4aa8f0),this['_themeService'][_0x4ec579(0x4fe)]])[_0x4ec579(0x276)](_0x18f07e[_0x4ec579(0x252)](([_0x25262d,_0x5b7c48])=>({'skeleton':_0x37742c['getSkeleton'](),'cursors':[..._0x25262d[_0x4ec579(0x291)]()][_0x4ec579(0x510)](_0x339970=>({..._0x339970,'color':_0x5b7c48[_0x339970[_0x4ec579(0x5f2)]]}))})))[_0x4ec579(0x447)](_0x2b1209=>{const _0x23605d=_0x4ec579;if(this[_0x23605d(0x609)](),_0x2b1209){const {skeleton:_0x2d6990,cursors:_0x56e72c}=_0x2b1209;this[_0x23605d(0x295)](_0x2d6990,_0x56e72c);}})),this[_0x4ec579(0x368)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0xfff1ee,_0x283975){const _0x1cc87d=_0x2fa915,{scene:_0x32c5ba,mainComponent:_0x18956f}=this['_context'],_0x5bf942=_0x283975[_0x1cc87d(0x252)](_0x5399e5=>new _0x2705b0(_0x5399e5,_0x32c5ba,_0xfff1ee,_0x18956f));this[_0x1cc87d(0x380)]=_0x5bf942,this[_0x1cc87d(0x2db)]=_0x283975;}['_refreshCollabCursors'](){const _0x287559=_0x2fa915;this[_0x287559(0x609)]();const {scene:_0x55a643,mainComponent:_0x793d83}=this[_0x287559(0x52e)],_0x5e2f80=this[_0x287559(0x355)][_0x287559(0x38f)](),_0x293c78=this[_0x287559(0x2db)][_0x287559(0x252)](_0x58f994=>new _0x2705b0(_0x58f994,_0x55a643,_0x5e2f80,_0x793d83));this['_cursorShapes']=_0x293c78;}['_removeCollabCursors'](){const _0x118cd2=_0x2fa915;this[_0x118cd2(0x380)][_0x118cd2(0x34b)](_0x198dcd=>_0x198dcd[_0x118cd2(0x3ea)]()),this[_0x118cd2(0x380)]=[];}[_0x2fa915(0x25f)](){const _0x49d20f=_0x2fa915,_0x5838cc=[_0x28eee7[_0x49d20f(0x461)]['id']];this['disposeWithMe'](this[_0x49d20f(0x1a3)][_0x49d20f(0x1b5)](_0x8e6c15=>{const _0x54fc2f=_0x49d20f;_0x5838cc[_0x54fc2f(0x5c3)](_0x8e6c15['id'])&&_0x8e6c15['params'][_0x54fc2f(0x4f8)]===this['_context'][_0x54fc2f(0x4f8)]&&this['_refreshCollabCursors']();}));}[_0x2fa915(0x368)](){const _0x25aa63=_0x2fa915;this[_0x25aa63(0x211)](_0x4587e1[_0x25aa63(0x342)](this[_0x25aa63(0x52e)][_0x25aa63(0x5b8)][_0x25aa63(0x484)])['pipe'](_0x18f07e['filter'](_0x14b4b8=>_0x14b4b8[_0x25aa63(0x178)]===_0x25d31a['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x25aa63(0x293)]),_0x18f07e['throttleTime'](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x33787c=_0x3b4f48([_0x34b871(0x1,_0x4587e1[_0x2fa915(0x42b)](_0x4844e7[_0x2fa915(0x56d)])),_0x34b871(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x49f33)),_0x34b871(0x3,_0x4587e1['ICommandService']),_0x34b871(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x4e5)]))],_0x33787c);const _0x2d885c=0x1,_0x1c1233=1.5;class _0x257c8d extends _0x25d31a[_0x2fa915(0x59a)]{constructor(_0x102dc1,_0x33efd6){const _0x5c2a63=_0x2fa915;super(_0x102dc1,_0x33efd6),_0x339ceb(this,_0x5c2a63(0x296)),_0x339ceb(this,_0x5c2a63(0x23e),!0x1),_0x339ceb(this,'_range'),_0x339ceb(this,_0x5c2a63(0x4d8),''),_0x339ceb(this,'_labelPosition',_0x5c2a63(0x5b1)),_0x339ceb(this,_0x5c2a63(0x402)),(_0x33efd6&&this['setShapeProps'](_0x33efd6),this[_0x5c2a63(0x34a)][_0x5c2a63(0x374)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x5c2a63(0x420)][_0x5c2a63(0x374)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x2fa915(0x5f6)](_0x418ba5){const _0x170c1e=_0x2fa915;var _0x52bd0c,_0xd9c107,_0x555e22,_0x5dffd9,_0x3a6e90,_0x919afc;this[_0x170c1e(0x296)]=(_0x52bd0c=_0x418ba5['color'])!=null?_0x52bd0c:this[_0x170c1e(0x296)],this['_hovered']=(_0xd9c107=_0x418ba5['hovered'])!=null?_0xd9c107:this[_0x170c1e(0x23e)],this['_range']=(_0x555e22=_0x418ba5[_0x170c1e(0x307)])!=null?_0x555e22:this[_0x170c1e(0x24f)],this[_0x170c1e(0x4d8)]=(_0x5dffd9=_0x418ba5['name'])!=null?_0x5dffd9:this[_0x170c1e(0x4d8)],this[_0x170c1e(0x620)]=(_0x3a6e90=_0x418ba5['labelPosition'])!=null?_0x3a6e90:this['_labelPosition'],this[_0x170c1e(0x402)]=(_0x919afc=_0x418ba5['backgroundColor'])!=null?_0x919afc:this['_backgroundColor'],this[_0x170c1e(0x4b0)]({'width':_0x418ba5[_0x170c1e(0x207)],'height':_0x418ba5[_0x170c1e(0x599)]});}[_0x2fa915(0x453)](_0x48cdc2){const _0xa57ece=_0x2fa915,{row:_0x19c28a,column:_0x23a9ff}=_0x48cdc2;if(_0x19c28a>=this[_0xa57ece(0x24f)][_0xa57ece(0x2b4)]&&_0x19c28a<=this[_0xa57ece(0x24f)][_0xa57ece(0x572)]&&_0x23a9ff>=this['_range'][_0xa57ece(0x325)]&&_0x23a9ff<=this[_0xa57ece(0x24f)]['endColumn']){this[_0xa57ece(0x5f6)]({'hovered':!0x0});return;}this[_0xa57ece(0x5f6)]({'hovered':!0x1});}['triggerDblclick'](_0x47bd0e){return!0x1;}[_0x2fa915(0x1b7)](_0x171a7c){const _0x379e5b=_0x2fa915;_0x25d31a[_0x379e5b(0x298)][_0x379e5b(0x3fa)](_0x171a7c,{'width':this[_0x379e5b(0x207)],'height':this[_0x379e5b(0x599)],'strokeWidth':_0x1c1233,'stroke':this[_0x379e5b(0x296)],'evented':!0x1,'fill':this[_0x379e5b(0x402)]}),this[_0x379e5b(0x23e)]&&(_0x171a7c['save'](),_0x171a7c[_0x379e5b(0x60c)](0x1,0x0,0x0,0x1,this[_0x379e5b(0x207)],this[_0x379e5b(0x620)]===_0x379e5b(0x54a)?0x0:-_0x474958),_0x3f182a[_0x379e5b(0x3fa)](_0x171a7c,{'text':this[_0x379e5b(0x4d8)],'color':this[_0x379e5b(0x296)]}),_0x171a7c[_0x379e5b(0x59b)]());}}var _0x62d9df=Object['defineProperty'],_0xfeed03=Object[_0x2fa915(0x569)],_0x3d481f=(_0x34d1ba,_0xe4dbd,_0x3b2b36,_0x5c51ed)=>{const _0x406eaa=_0x2fa915;for(var _0x52c2b3=_0x5c51ed>0x1?void 0x0:_0x5c51ed?_0xfeed03(_0xe4dbd,_0x3b2b36):_0xe4dbd,_0xa871b9=_0x34d1ba[_0x406eaa(0x4d9)]-0x1,_0xc8b7d8;_0xa871b9>=0x0;_0xa871b9--)(_0xc8b7d8=_0x34d1ba[_0xa871b9])&&(_0x52c2b3=(_0x5c51ed?_0xc8b7d8(_0xe4dbd,_0x3b2b36,_0x52c2b3):_0xc8b7d8(_0x52c2b3))||_0x52c2b3);return _0x5c51ed&&_0x52c2b3&&_0x62d9df(_0xe4dbd,_0x3b2b36,_0x52c2b3),_0x52c2b3;},_0x4490e6=(_0x5e1362,_0x5ed2f5)=>(_0x492a04,_0x5b4168)=>_0x5ed2f5(_0x492a04,_0x5b4168,_0x5e1362);const _0x45ddc0=0x1389;let _0x40b948=class extends _0x4587e1[_0x2fa915(0x5b2)]{constructor(_0x3432cd,_0x8528b5,_0x542529,_0x309edd){const _0x70e80c=_0x2fa915;super(),_0x339ceb(this,_0x70e80c(0x2db),new Set()),_0x339ceb(this,_0x70e80c(0x2dc),null),(this[_0x70e80c(0x52e)]=_0x3432cd,this[_0x70e80c(0x3d2)]=_0x8528b5,this[_0x70e80c(0x4af)]=_0x542529,this[_0x70e80c(0x22d)]=_0x309edd,this[_0x70e80c(0x16f)]());}[_0x2fa915(0x16f)](){const _0x452486=_0x2fa915;this['_sheetSkeletonManagerService'][_0x452486(0x4a9)][_0x452486(0x276)](_0x18f07e[_0x452486(0x2b3)](this[_0x452486(0x1ad)]),_0x18f07e[_0x452486(0x42a)](_0xf82e1b=>{const _0xae86af=_0x452486;if(_0xf82e1b){const _0x216f1a=_0xf82e1b[_0xae86af(0x1e9)];return _0x3eec93[_0xae86af(0x4eb)](this[_0xae86af(0x4af)][_0xae86af(0x55f)](this[_0xae86af(0x52e)][_0xae86af(0x4f8)]),this[_0xae86af(0x22d)][_0xae86af(0x4fe)])[_0xae86af(0x276)](_0x18f07e[_0xae86af(0x252)](([_0x91092a,_0x4e0b04])=>{const _0x5540db=_0xae86af,_0x272851=new Map();return _0x91092a[_0x5540db(0x34b)]((_0x10cb1b,_0x5b0926)=>{const _0x5c6f8b=_0x5540db;if(_0x10cb1b['sheetID']===_0x216f1a){const _0x3cab1d={..._0x10cb1b};_0x3cab1d[_0x5c6f8b(0x5f2)]=_0x4e0b04[_0x10cb1b[_0x5c6f8b(0x5f2)]],_0x272851[_0x5c6f8b(0x498)](_0x5b0926,_0x3cab1d);}}),{'skeleton':_0xf82e1b,'cursors':_0x272851};}));}return _0x3eec93['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x5e0f50,cursors:_0x4aac77})=>{const _0x3c6fce=_0x452486;this[_0x3c6fce(0x609)](),_0x5e0f50&&this[_0x3c6fce(0x295)](_0x5e0f50,_0x4aac77);}),this[_0x452486(0x3d2)][_0x452486(0x4a9)][_0x452486(0x447)](_0x3e7610=>{const _0xa37c42=_0x452486;if(_0x3e7610==null)return;const {skeleton:_0x2cbf18}=_0x3e7610,{scene:_0x22e38f}=this[_0xa37c42(0x52e)];_0x22e38f['onPointerMove$'][_0xa37c42(0x374)](_0x4587e1[_0xa37c42(0x625)](_0x286187=>{const _0x4725aa=_0xa37c42;var _0x31febc,_0x5dffe3;const {offsetX:_0x4fe350,offsetY:_0x38cd10}=_0x286187,{x:_0x29fb7a,y:_0x9f1802}=_0x22e38f['getRelativeToViewportCoord'](_0x25d31a['Vector2'][_0x4725aa(0x5ff)]([_0x4fe350,_0x38cd10])),{scaleX:_0xefbaf1,scaleY:_0x565530}=_0x22e38f[_0x4725aa(0x591)](),_0x4c76ad=_0x22e38f[_0x4725aa(0x564)](_0x23bfa7[_0x4725aa(0x31b)][_0x4725aa(0x3db)]),_0x5886ed=_0x22e38f[_0x4725aa(0x40e)](_0x25d31a[_0x4725aa(0x511)][_0x4725aa(0x5ff)]([_0x29fb7a,_0x9f1802]),_0x4c76ad),_0x23914f=_0x2cbf18[_0x4725aa(0x225)](_0x4fe350,_0x38cd10,_0xefbaf1,_0x565530,_0x5886ed);((_0x31febc=this[_0x4725aa(0x2dc)])==null?void 0x0:_0x31febc[_0x4725aa(0x5f8)])===_0x23914f['column']&&((_0x5dffe3=this[_0x4725aa(0x2dc)])==null?void 0x0:_0x5dffe3['row'])===_0x23914f['row']||this[_0x4725aa(0x2db)][_0x4725aa(0x34b)](_0x1cf983=>{const _0x255018=_0x4725aa;_0x1cf983[_0x255018(0x453)](_0x23914f);});},0x64));});}[_0x2fa915(0x295)](_0x42a833,_0x505729){const _0x369af2=_0x2fa915;var _0x245490;const _0x2397a8=(_0x245490=this[_0x369af2(0x3d2)]['getCurrent']())==null?void 0x0:_0x245490[_0x369af2(0x187)];if(!_0x2397a8)return;const _0x3b2b65=this['_getSheetObject']();if(!_0x3b2b65)return;this[_0x369af2(0x2db)][_0x369af2(0x34b)](_0x344bf2=>{const _0x51fe4d=_0x369af2;_0x344bf2[_0x51fe4d(0x5a7)]();});const {scene:_0x318a4e}=_0x3b2b65,_0x26da04=_0x4bb0f0(Array[_0x369af2(0x3e0)](_0x505729[_0x369af2(0x291)]()))['map'](_0x249da2=>{const _0x2ed6e1=_0x369af2,{color:_0x15fbf6,range:_0x1c99b8,name:_0x53b45d,selection:_0x2a7929,sheetID:_0x273cca}=_0x249da2,{startColumn:_0x598a4a,startRow:_0x1d587d,endColumn:_0x1bbfbb,endRow:_0x48cb28}=_0x1c99b8,_0x44a823=_0x23bfa7[_0x2ed6e1(0x196)](_0x1d587d,_0x598a4a,_0x318a4e,_0x2397a8),_0x39fc4c=_0x23bfa7[_0x2ed6e1(0x196)](_0x48cb28,_0x1bbfbb,_0x318a4e,_0x2397a8),{columnHeaderHeightAndMarginTop:_0x2e0bd7}=_0x2397a8,{startX:_0x269e4c,startY:_0x41d841}=_0x44a823,{endX:_0x256b31,endY:_0x1380ab}=_0x39fc4c,_0x1b3fa2=_0x256b31-_0x269e4c,_0x22e410=_0x1380ab-_0x41d841,_0xe950a1={'labelPosition':_0x41d841-_0x2e0bd7>=_0x474958?'top':'bottom','sheetID':_0x273cca,'range':_0x1c99b8,'color':_0x15fbf6,'name':_0x53b45d,'selection':_0x2a7929,'left':_0x269e4c,'top':_0x41d841,'width':_0x1b3fa2,'height':_0x22e410,'evented':!0x1,'zIndex':_0x45ddc0};return new _0x257c8d(_0x53b45d,_0xe950a1);});_0x318a4e[_0x369af2(0x190)](_0x26da04,_0x2d885c),this[_0x369af2(0x2db)]=new Set(_0x26da04);}['_removeCollabCursors'](){const _0x1daf86=_0x2fa915;var _0x51fbc5;(_0x51fbc5=this[_0x1daf86(0x2db)])==null||_0x51fbc5['forEach'](_0x405868=>_0x405868[_0x1daf86(0x3ea)]());}[_0x2fa915(0x35b)](){const _0x53b504=_0x2fa915;return _0x23bfa7[_0x53b504(0x35e)](this[_0x53b504(0x52e)][_0x53b504(0x4d5)],this[_0x53b504(0x52e)]);}};_0x40b948=_0x3d481f([_0x4490e6(0x1,_0x4587e1[_0x2fa915(0x42b)](_0x23bfa7[_0x2fa915(0x26d)])),_0x4490e6(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x49f33)),_0x4490e6(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x4e5)]))],_0x40b948);function _0x4bb0f0(_0x322819){const _0x210249=_0x2fa915,_0x5a5701=new Map();return _0x322819[_0x210249(0x34b)](_0x27a4bf=>{const _0xc023ec=_0x210249;if(_0x5a5701[_0xc023ec(0x364)](_0x27a4bf[_0xc023ec(0x634)])){const _0x78512a=_0x5a5701[_0xc023ec(0x4a0)](_0x27a4bf[_0xc023ec(0x634)]);_0x78512a[_0xc023ec(0x59e)]+=',\x20'+_0x27a4bf[_0xc023ec(0x59e)];}else _0x5a5701['set'](_0x27a4bf[_0xc023ec(0x634)],_0x27a4bf);}),Array[_0x210249(0x3e0)](_0x5a5701['values']());}var _0x46cbc6=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x1de184(_0x29b088){const _0xfeb262=_0x2fa915;return _0x29b088&&_0x29b088[_0xfeb262(0x4ee)]&&Object[_0xfeb262(0x62d)][_0xfeb262(0x507)][_0xfeb262(0x246)](_0x29b088,_0xfeb262(0x33a))?_0x29b088['default']:_0x29b088;}var _0x12944c={'exports':{}},_0x5297da={},_0x421400=_0x1e411a,_0x52912c=Symbol[_0x2fa915(0x4ad)]('react.element'),_0x39af82=Symbol[_0x2fa915(0x4ad)](_0x2fa915(0x3ed)),_0x5d448f=Object[_0x2fa915(0x62d)][_0x2fa915(0x507)],_0x5cefc9=_0x421400[_0x2fa915(0x2ca)][_0x2fa915(0x18a)],_0x60d199={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x1b54dc(_0x24a85c,_0x222d9d,_0x135494){const _0x5ae702=_0x2fa915;var _0x461418,_0x588dbe={},_0x55608d=null,_0x3d2c15=null;_0x135494!==void 0x0&&(_0x55608d=''+_0x135494),_0x222d9d[_0x5ae702(0x391)]!==void 0x0&&(_0x55608d=''+_0x222d9d[_0x5ae702(0x391)]),_0x222d9d[_0x5ae702(0x578)]!==void 0x0&&(_0x3d2c15=_0x222d9d['ref']);for(_0x461418 in _0x222d9d)_0x5d448f[_0x5ae702(0x246)](_0x222d9d,_0x461418)&&!_0x60d199[_0x5ae702(0x507)](_0x461418)&&(_0x588dbe[_0x461418]=_0x222d9d[_0x461418]);if(_0x24a85c&&_0x24a85c[_0x5ae702(0x63c)]){for(_0x461418 in(_0x222d9d=_0x24a85c[_0x5ae702(0x63c)],_0x222d9d))_0x588dbe[_0x461418]===void 0x0&&(_0x588dbe[_0x461418]=_0x222d9d[_0x461418]);}return{'$$typeof':_0x52912c,'type':_0x24a85c,'key':_0x55608d,'ref':_0x3d2c15,'props':_0x588dbe,'_owner':_0x5cefc9[_0x5ae702(0x4b6)]};}_0x5297da['Fragment']=_0x39af82,_0x5297da[_0x2fa915(0x179)]=_0x1b54dc,_0x5297da[_0x2fa915(0x5c6)]=_0x1b54dc,_0x12944c[_0x2fa915(0x3a4)]=_0x5297da;var _0x30998c=_0x12944c['exports'],_0x4985f3=function(){const _0xf0f597=_0x2fa915;return _0x4985f3=Object[_0xf0f597(0x596)]||function(_0x4bb4a7){const _0x4f9ccb=_0xf0f597;for(var _0x4dea38,_0x438995=0x1,_0xb1196d=arguments[_0x4f9ccb(0x4d9)];_0x438995<_0xb1196d;_0x438995++){_0x4dea38=arguments[_0x438995];for(var _0x14302f in _0x4dea38)Object[_0x4f9ccb(0x62d)][_0x4f9ccb(0x507)][_0x4f9ccb(0x246)](_0x4dea38,_0x14302f)&&(_0x4bb4a7[_0x14302f]=_0x4dea38[_0x14302f]);}return _0x4bb4a7;},_0x4985f3[_0xf0f597(0x54c)](this,arguments);},_0x29a0cc=function(_0x232aee,_0x4e9690){const _0xef222d=_0x2fa915;var _0x3e3aea={};for(var _0xb4e968 in _0x232aee)Object[_0xef222d(0x62d)][_0xef222d(0x507)][_0xef222d(0x246)](_0x232aee,_0xb4e968)&&_0x4e9690[_0xef222d(0x1dc)](_0xb4e968)<0x0&&(_0x3e3aea[_0xb4e968]=_0x232aee[_0xb4e968]);if(_0x232aee!=null&&typeof Object['getOwnPropertySymbols']==_0xef222d(0x2e3)){for(var _0x30a1e7=0x0,_0xb4e968=Object[_0xef222d(0x1bc)](_0x232aee);_0x30a1e7<_0xb4e968[_0xef222d(0x4d9)];_0x30a1e7++)_0x4e9690[_0xef222d(0x1dc)](_0xb4e968[_0x30a1e7])<0x0&&Object['prototype'][_0xef222d(0x5e3)][_0xef222d(0x246)](_0x232aee,_0xb4e968[_0x30a1e7])&&(_0x3e3aea[_0xb4e968[_0x30a1e7]]=_0x232aee[_0xb4e968[_0x30a1e7]]);}return _0x3e3aea;},_0x22b915=_0x1e411a['forwardRef'](function(_0x2c45c3,_0x1ec5fb){const _0x55204c=_0x2fa915;var _0x160ccd=_0x2c45c3[_0x55204c(0x600)],_0x5712e9=_0x2c45c3['id'],_0x200990=_0x2c45c3[_0x55204c(0x4a8)],_0x4cbd1a=_0x2c45c3[_0x55204c(0x44a)],_0x2ef039=_0x29a0cc(_0x2c45c3,[_0x55204c(0x600),'id','className',_0x55204c(0x44a)]),_0x27fb19=_0x55204c(0x56b)[_0x55204c(0x227)](_0x5712e9,'\x20')[_0x55204c(0x227)](_0x200990||'')[_0x55204c(0x3eb)](),_0x47ce58=_0x1e411a[_0x55204c(0x347)]('_'[_0x55204c(0x227)](_0x3eb1cf()));return _0x2b0a5c(_0x160ccd,''[_0x55204c(0x227)](_0x5712e9),{'defIds':_0x160ccd[_0x55204c(0x5c7)],'idSuffix':_0x47ce58['current']},_0x4985f3({'ref':_0x1ec5fb,'className':_0x27fb19},_0x2ef039),_0x4cbd1a);});function _0x2b0a5c(_0x1de1e9,_0x3722c7,_0x45940b,_0x51a5f7,_0x23924a){const _0xfd32f8=_0x2fa915;return _0x1e411a['createElement'](_0x1de1e9[_0xfd32f8(0x329)],_0x4985f3(_0x4985f3({'key':_0x3722c7},_0x288f2d(_0x1de1e9,_0x45940b,_0x23924a)),_0x51a5f7),(_0x37987a(_0x1de1e9,_0x45940b)[_0xfd32f8(0x3d6)]||[])['map'](function(_0x48dbf9,_0x5be11c){const _0x6d12b2=_0xfd32f8;return _0x2b0a5c(_0x48dbf9,''['concat'](_0x3722c7,'-')[_0x6d12b2(0x227)](_0x1de1e9[_0x6d12b2(0x329)],'-')[_0x6d12b2(0x227)](_0x5be11c),_0x45940b,void 0x0,_0x23924a);}));}function _0x288f2d(_0x187568,_0x5d502f,_0x33362c){const _0x192340=_0x2fa915;var _0x3e379f=_0x4985f3({},_0x187568[_0x192340(0x2ac)]);_0x33362c!=null&&_0x33362c[_0x192340(0x62f)]&&_0x3e379f['fill']==='colorChannel1'&&(_0x3e379f[_0x192340(0x3dc)]=_0x33362c[_0x192340(0x62f)]);var _0x1c49d5=_0x5d502f[_0x192340(0x5c7)];return!_0x1c49d5||_0x1c49d5['length']===0x0||(_0x187568[_0x192340(0x329)]===_0x192340(0x47a)&&_0x3e379f[_0x192340(0x429)]&&(_0x3e379f[_0x192340(0x429)]=_0x3e379f['xlink:href']+_0x5d502f['idSuffix']),Object[_0x192340(0x175)](_0x3e379f)[_0x192340(0x34b)](function(_0x4483c9){const _0x5695ed=_0x192340;var _0x576174=_0x4483c9[0x0],_0x362c74=_0x4483c9[0x1];typeof _0x362c74==_0x5695ed(0x241)&&(_0x3e379f[_0x576174]=_0x362c74['replace'](/url\(#(.*)\)/,_0x5695ed(0x3b0)['concat'](_0x5d502f[_0x5695ed(0x449)],')')));})),_0x3e379f;}function _0x37987a(_0x397fc4,_0x52d956){const _0x576bc0=_0x2fa915;var _0x140f0f,_0x4866c9=_0x52d956['defIds'];return!_0x4866c9||_0x4866c9[_0x576bc0(0x4d9)]===0x0?_0x397fc4:_0x397fc4[_0x576bc0(0x329)]===_0x576bc0(0x5b5)&&(!((_0x140f0f=_0x397fc4[_0x576bc0(0x3d6)])===null||_0x140f0f===void 0x0)&&_0x140f0f[_0x576bc0(0x4d9)])?_0x4985f3(_0x4985f3({},_0x397fc4),{'children':_0x397fc4[_0x576bc0(0x3d6)][_0x576bc0(0x252)](function(_0x27b2a9){const _0x32f754=_0x576bc0;return typeof _0x27b2a9[_0x32f754(0x2ac)]['id']==_0x32f754(0x241)&&_0x4866c9&&_0x4866c9[_0x32f754(0x1dc)](_0x27b2a9['attrs']['id'])>-0x1?_0x4985f3(_0x4985f3({},_0x27b2a9),{'attrs':_0x4985f3(_0x4985f3({},_0x27b2a9['attrs']),{'id':_0x27b2a9[_0x32f754(0x2ac)]['id']+_0x52d956[_0x32f754(0x449)]})}):_0x27b2a9;})}):_0x397fc4;}function _0x3eb1cf(){const _0x2444c3=_0x2fa915;return Math['random']()[_0x2444c3(0x38a)](0x24)[_0x2444c3(0x1d8)](0x2,0x8);}_0x22b915[_0x2fa915(0x265)]=_0x2fa915(0x200);var _0x3fdcc1={'tag':_0x2fa915(0x336),'attrs':{'fill':_0x2fa915(0x312),'viewBox':_0x2fa915(0x194),'width':_0x2fa915(0x181),'height':_0x2fa915(0x181)},'children':[{'tag':'g','attrs':{'clipPath':_0x2fa915(0x4ed)},'children':[{'tag':_0x2fa915(0x501),'attrs':{'stroke':_0x2fa915(0x418),'d':_0x2fa915(0x205),'strokeLinecap':_0x2fa915(0x319),'strokeLinejoin':_0x2fa915(0x319),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2fa915(0x466),'attrs':{'id':_0x2fa915(0x221)},'children':[{'tag':'path','attrs':{'fill':_0x2fa915(0x287),'d':_0x2fa915(0x577)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x2369dc=_0x1e411a['forwardRef'](function(_0x47bbc8,_0xde7000){const _0x19864b=_0x2fa915;return _0x1e411a[_0x19864b(0x3a2)](_0x22b915,Object[_0x19864b(0x596)]({},_0x47bbc8,{'id':_0x19864b(0x3fe),'ref':_0xde7000,'icon':_0x3fdcc1}));});_0x2369dc['displayName']=_0x2fa915(0x25e);var _0x4e7126={'tag':'svg','attrs':{'fill':_0x2fa915(0x312),'viewBox':_0x2fa915(0x556),'width':_0x2fa915(0x181),'height':_0x2fa915(0x181)},'children':[{'tag':'g','attrs':{'clipPath':_0x2fa915(0x467)},'children':[{'tag':'path','attrs':{'stroke':_0x2fa915(0x418),'d':_0x2fa915(0x25d),'strokeLinecap':'round','strokeLinejoin':_0x2fa915(0x319),'strokeWidth':1.2}}]},{'tag':_0x2fa915(0x5b5),'attrs':{},'children':[{'tag':_0x2fa915(0x466),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x2fa915(0x501),'attrs':{'fill':_0x2fa915(0x287),'d':_0x2fa915(0x577),'transform':'translate(.97)'}}]}]}],'defIds':[_0x2fa915(0x61f)]},_0x4ef947=_0x1e411a[_0x2fa915(0x256)](function(_0x96961,_0x2499c6){const _0x4c03a7=_0x2fa915;return _0x1e411a[_0x4c03a7(0x3a2)](_0x22b915,Object[_0x4c03a7(0x596)]({},_0x96961,{'id':_0x4c03a7(0x53f),'ref':_0x2499c6,'icon':_0x4e7126}));});_0x4ef947['displayName']='OnLineSingle';function _0x306fba(_0x561517){const _0x7d682c=_0x2fa915;var _0x29a1b7,_0x11df01,_0x54e779='';if(typeof _0x561517=='string'||typeof _0x561517==_0x7d682c(0x280))_0x54e779+=_0x561517;else{if(typeof _0x561517=='object'){if(Array[_0x7d682c(0x330)](_0x561517)){var _0x2114cb=_0x561517[_0x7d682c(0x4d9)];for(_0x29a1b7=0x0;_0x29a1b7<_0x2114cb;_0x29a1b7++)_0x561517[_0x29a1b7]&&(_0x11df01=_0x306fba(_0x561517[_0x29a1b7]))&&(_0x54e779&&(_0x54e779+='\x20'),_0x54e779+=_0x11df01);}else{for(_0x11df01 in _0x561517)_0x561517[_0x11df01]&&(_0x54e779&&(_0x54e779+='\x20'),_0x54e779+=_0x11df01);}}}return _0x54e779;}function _0x52690d(){const _0x326cd1=_0x2fa915;for(var _0x4ee86d,_0x2872ff,_0x5925be=0x0,_0xf191b5='',_0x912d04=arguments[_0x326cd1(0x4d9)];_0x5925be<_0x912d04;_0x5925be++)(_0x4ee86d=arguments[_0x5925be])&&(_0x2872ff=_0x306fba(_0x4ee86d))&&(_0xf191b5&&(_0xf191b5+='\x20'),_0xf191b5+=_0x2872ff);return _0xf191b5;}const _0x4a9af7={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x2fa915(0x3e2),'onlineStatus':_0x2fa915(0x1e5),'online':_0x2fa915(0x43e),'offline':_0x2fa915(0x63a)};function _0x41f090(_0x4b6191){const _0x480044=_0x2fa915;switch(_0x4b6191){case _0x3b904c[_0x480044(0x3c4)]:return'collabStatus.offline';case _0x3b904c['CONFLICT']:return _0x480044(0x1fb);case _0x3b904c[_0x480044(0x3b5)]:return _0x480044(0x37f);case _0x3b904c[_0x480044(0x5d0)]:return _0x480044(0x389);case _0x3b904c['AWAITING']:case _0x3b904c['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x3b904c[_0x480044(0x431)]:case _0x3b904c[_0x480044(0x177)]:return'collabStatus.synced';}}function _0x2e49a0(_0x3a71f3){const _0x20dfff=_0x2fa915,{status$:_0x29214e}=_0x3a71f3,_0x4fd9b6=_0x3163bd[_0x20dfff(0x231)](_0x29214e,_0x3b904c['NOT_COLLAB']),_0x179984=_0x4587e1[_0x20dfff(0x430)](_0x4587e1[_0x20dfff(0x1e2)]),_0x5f0c8d=_0x4587e1[_0x20dfff(0x430)](_0x539c7e[_0x20dfff(0x240)]),_0x89f14d=_0x4fd9b6!==_0x3b904c[_0x20dfff(0x3c4)],_0x142d34=_0x179984['t'](_0x41f090(_0x4fd9b6)),_0xb7ef5=_0x52690d(_0x4a9af7[_0x20dfff(0x1dd)],{[_0x4a9af7[_0x20dfff(0x17c)]]:_0x89f14d,[_0x4a9af7['offline']]:!_0x89f14d}),_0x173a6d=_0x89f14d?_0x30998c[_0x20dfff(0x179)](_0x4ef947,{}):_0x30998c[_0x20dfff(0x179)](_0x2369dc,{}),_0x52f224=_0x1e411a[_0x20dfff(0x188)](()=>{const _0x478591=_0x20dfff;_0x89f14d||_0x5f0c8d[_0x478591(0x424)]();},[_0x89f14d,_0x5f0c8d]);function _0x1f8c5d(){const _0x31b114=_0x20dfff;return _0x30998c['jsxs']('div',{'className':_0xb7ef5,'onClick':_0x52f224,'children':[_0x30998c[_0x31b114(0x179)]('div',{'className':_0x4a9af7['onlineStatusIcon'],'children':_0x173a6d}),_0x30998c['jsx'](_0x31b114(0x356),{'className':_0x4a9af7[_0x31b114(0x2b8)],'children':_0x142d34})]});}return _0x89f14d?_0x1f8c5d():_0x30998c[_0x20dfff(0x179)](_0x40b71f[_0x20dfff(0x5b0)],{'title':_0x179984['t']('collab-client.tooltip.reconnect'),'children':_0x1f8c5d()});}var _0x23de9e=Object[_0x2fa915(0x44e)],_0x124619=Object[_0x2fa915(0x569)],_0x35294c=(_0x40f0df,_0x33e5f1,_0x194c8a,_0x45770a)=>{const _0x3c293c=_0x2fa915;for(var _0x121b1f=_0x45770a>0x1?void 0x0:_0x45770a?_0x124619(_0x33e5f1,_0x194c8a):_0x33e5f1,_0x310ff8=_0x40f0df[_0x3c293c(0x4d9)]-0x1,_0x4bd6df;_0x310ff8>=0x0;_0x310ff8--)(_0x4bd6df=_0x40f0df[_0x310ff8])&&(_0x121b1f=(_0x45770a?_0x4bd6df(_0x33e5f1,_0x194c8a,_0x121b1f):_0x4bd6df(_0x121b1f))||_0x121b1f);return _0x45770a&&_0x121b1f&&_0x23de9e(_0x33e5f1,_0x194c8a,_0x121b1f),_0x121b1f;},_0x155a97=(_0x4c86dc,_0x498a4d)=>(_0x35caa5,_0x9483a3)=>_0x498a4d(_0x35caa5,_0x9483a3,_0x4c86dc);_0x539c7e['DesktopCollaborationStatusDisplayController']=class extends _0x4587e1[_0x2fa915(0x552)]{constructor(_0x3e2109,_0x4322cb,_0xead232,_0x1b20e2){const _0x528b79=_0x2fa915;super(),_0x339ceb(this,_0x528b79(0x1aa),new _0x3eec93[(_0x528b79(0x29b))](_0x3b904c[_0x528b79(0x5d0)])),(this['_univerInstanceService']=_0x3e2109,this[_0x528b79(0x61c)]=_0x4322cb,this[_0x528b79(0x60e)]=_0xead232,this['_collaborationController']=_0x1b20e2,this['_initStatusComponent'](),this[_0x528b79(0x53c)]());}[_0x2fa915(0x53c)](){const _0x451f85=_0x2fa915;this[_0x451f85(0x211)](this[_0x451f85(0x3c1)][_0x451f85(0x18c)][_0x451f85(0x276)](_0x3eec93[_0x451f85(0x42a)](()=>{const _0x46c4d8=_0x451f85,_0x2eec34=this[_0x46c4d8(0x3c1)]['getFocusedUnit']();return _0x2eec34?this[_0x46c4d8(0x573)][_0x46c4d8(0x3e6)](_0x2eec34[_0x46c4d8(0x1d9)]()):_0x3eec93['of'](null);}),_0x3eec93[_0x451f85(0x42a)](_0xb1738f=>_0xb1738f?_0xb1738f[_0x451f85(0x361)]:_0x3eec93['of'](_0x3b904c['NOT_COLLAB'])))[_0x451f85(0x447)](_0x1ac98c=>{const _0x31d231=_0x451f85;this['_status$'][_0x31d231(0x1c9)](_0x1ac98c);}));}[_0x2fa915(0x595)](){const _0x2b1c52=_0x2fa915;this[_0x2b1c52(0x211)](this['_uiPartsService']['registerComponent'](_0x3163bd['BuiltInUIPart'][_0x2b1c52(0x4ab)],()=>_0x4587e1[_0x2b1c52(0x390)](_0x380786({'status$':this['_status$'][_0x2b1c52(0x630)]()}),this[_0x2b1c52(0x60e)])));}},_0x539c7e[_0x2fa915(0x59c)]=_0x35294c([_0x155a97(0x0,_0x4587e1[_0x2fa915(0x53b)]),_0x155a97(0x1,_0x3163bd[_0x2fa915(0x2e0)]),_0x155a97(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x155a97(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x38e)]))],_0x539c7e[_0x2fa915(0x59c)]);function _0x380786(_0x1e40c){const {status$:_0x4c619e}=_0x1e40c;return function(){const _0x1a9ac4=_0x5275;return _0x30998c[_0x1a9ac4(0x179)](_0x2e49a0,{'status$':_0x4c619e});};}const _0x4791ca=_0x4587e1[_0x2fa915(0x22c)](_0x2fa915(0x3e9));var _0xb4718d=Object['defineProperty'],_0x3685e3=Object[_0x2fa915(0x569)],_0x2d0b38=(_0x224069,_0x32780a,_0x56e6ed,_0x88c3f5)=>{for(var _0xef053=_0x88c3f5>0x1?void 0x0:_0x88c3f5?_0x3685e3(_0x32780a,_0x56e6ed):_0x32780a,_0x56003d=_0x224069['length']-0x1,_0x2a7fd6;_0x56003d>=0x0;_0x56003d--)(_0x2a7fd6=_0x224069[_0x56003d])&&(_0xef053=(_0x88c3f5?_0x2a7fd6(_0x32780a,_0x56e6ed,_0xef053):_0x2a7fd6(_0xef053))||_0xef053);return _0x88c3f5&&_0xef053&&_0xb4718d(_0x32780a,_0x56e6ed,_0xef053),_0xef053;},_0x1c989f=(_0x1cea9f,_0x56a772)=>(_0xaf81f0,_0x4a46be)=>_0x56a772(_0xaf81f0,_0x4a46be,_0x1cea9f);_0x539c7e[_0x2fa915(0x19b)]=class extends _0x4587e1['RxDisposable']{constructor(_0x283855,_0x12eadc,_0x351d58,_0x4cbd95,_0x13b49d,_0x1a07b8){const _0xa66081=_0x2fa915;super(),this[_0xa66081(0x480)]=_0x283855,this['_logService']=_0x12eadc,this['_commandService']=_0x351d58,this['_localCacheService']=_0x4cbd95,this['_snapshotService']=_0x13b49d,_0x1a07b8?_0x1a07b8==null||_0x1a07b8['whenReady']()[_0xa66081(0x20e)](()=>this[_0xa66081(0x16f)]()):(this[_0xa66081(0x43a)][_0xa66081(0x472)](_0xa66081(0x4f0),_0xa66081(0x5ca)),this[_0xa66081(0x16f)]());}async[_0x2fa915(0x16f)](){const _0x412f32=_0x2fa915,_0x790562=this[_0x412f32(0x480)][_0x412f32(0x559)](_0x412f32(0x4d5)),_0x29583a=this['_urlService']['getParam'](_0x412f32(0x178));if(!_0x790562||!_0x29583a){this[_0x412f32(0x43a)][_0x412f32(0x472)](_0x412f32(0x4f0),_0x412f32(0x4a2));return;}switch(Number(_0x29583a)){case _0xad4019[_0x412f32(0x3ee)]:{const _0x4a8b73=await this['_loadSheet'](_0x790562);this[_0x412f32(0x3c8)](_0x4a8b73);break;}case _0xad4019[_0x412f32(0x27b)]:{await this[_0x412f32(0x3cc)](_0x790562);break;}default:{this[_0x412f32(0x43a)]['error'](_0x412f32(0x4f0),_0x412f32(0x209));break;}}}async[_0x2fa915(0x3c8)](_0x5063b9){const _0x2a918a=_0x2fa915;await this[_0x2a918a(0x459)](_0x5063b9),_0x5063b9[_0x2a918a(0x3ff)][_0x2a918a(0x276)](_0x3eec93[_0x2a918a(0x2b3)](this['dispose$']))['subscribe'](_0x3501aa=>{const _0x43e8d1=_0x2a918a;_0x3501aa&&this[_0x43e8d1(0x5f5)](_0x3501aa);}),this[_0x2a918a(0x480)][_0x2a918a(0x568)]['pipe'](_0x3eec93['takeUntil'](this[_0x2a918a(0x1ad)]))[_0x2a918a(0x447)](()=>this[_0x2a918a(0x459)](_0x5063b9));}[_0x2fa915(0x5f5)](_0x329e08,_0x499bda=!0x1){const _0x3706db=_0x2fa915,_0x517c0f=this[_0x3706db(0x480)]['getParam'](_0x3706db(0x590));_0x329e08[_0x3706db(0x2f7)]()!==_0x517c0f&&this[_0x3706db(0x480)][_0x3706db(0x4c4)]('subunit',_0x329e08[_0x3706db(0x2f7)](),_0x499bda);}async[_0x2fa915(0x459)](_0x5161e4){const _0x5989a1=_0x2fa915;var _0x42616c;const _0x2c55e5=this[_0x5989a1(0x480)][_0x5989a1(0x559)](_0x5989a1(0x590));if(!_0x2c55e5||!_0x5161e4['getSheetBySheetId'](_0x2c55e5)){const _0x6b61d2=_0x5161e4[_0x5989a1(0x2c0)]()[0x0],_0x6488b6=_0x5161e4[_0x5989a1(0x5c1)](_0x6b61d2);if(!_0x6488b6)return;this[_0x5989a1(0x5f5)](_0x6488b6,!0x0),await this[_0x5989a1(0x1a3)][_0x5989a1(0x3c6)](_0x27d820[_0x5989a1(0x244)]['id'],{'unitId':_0x5161e4[_0x5989a1(0x1d9)](),'subUnitId':_0x6b61d2});return;}((_0x42616c=_0x5161e4['getActiveSheet']())==null?void 0x0:_0x42616c['getSheetId']())!==_0x2c55e5&&await this[_0x5989a1(0x1a3)]['executeCommand'](_0x27d820[_0x5989a1(0x244)]['id'],{'unitId':_0x5161e4[_0x5989a1(0x1d9)](),'subUnitId':_0x2c55e5});}async[_0x2fa915(0x345)](_0x46b1c5){const _0xc856a9=_0x2fa915;let _0x4d3c57=0x0;const _0x4e4c87=await this[_0xc856a9(0x473)][_0xc856a9(0x5eb)](_0x46b1c5);return _0x4e4c87&&(_0x4e4c87[_0xc856a9(0x32b)]||_0x4e4c87[_0xc856a9(0x4d3)][_0xc856a9(0x4d9)]!==0x0)&&(_0x4d3c57=_0x4e4c87[_0xc856a9(0x189)]),_0x4d3c57===0x0&&this[_0xc856a9(0x43a)]['debug'](_0xc856a9(0x4f0),_0xc856a9(0x34e)),this[_0xc856a9(0x370)]['loadSheet'](_0x46b1c5,_0x4d3c57);}async[_0x2fa915(0x3cc)](_0x2f46d2){const _0x24d215=_0x2fa915;let _0x2166d1=0x0;const _0x23a93b=await this[_0x24d215(0x473)][_0x24d215(0x5eb)](_0x2f46d2);return _0x23a93b&&(_0x23a93b[_0x24d215(0x32b)]||_0x23a93b[_0x24d215(0x4d3)][_0x24d215(0x4d9)]!==0x0)&&(_0x2166d1=_0x23a93b[_0x24d215(0x189)]),_0x2166d1===0x0&&this['_logService'][_0x24d215(0x472)](_0x24d215(0x4f0),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x24d215(0x2d3)](_0x2f46d2,_0x2166d1);}},_0x539c7e[_0x2fa915(0x19b)]=_0x2d0b38([_0x1c989f(0x0,_0x4791ca),_0x1c989f(0x1,_0x4587e1['ILogService']),_0x1c989f(0x2,_0x4587e1[_0x2fa915(0x60b)]),_0x1c989f(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x408)])),_0x1c989f(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a['SnapshotService'])),_0x1c989f(0x5,_0x4587e1[_0x2fa915(0x412)](_0x15b024[_0x2fa915(0x4bc)]))],_0x539c7e[_0x2fa915(0x19b)]);var _0x35a800=Object['defineProperty'],_0x27375b=Object[_0x2fa915(0x569)],_0x437941=(_0x403fa1,_0x2b48e1,_0x418588,_0x5cfa43)=>{const _0x351654=_0x2fa915;for(var _0x1ebde3=_0x5cfa43>0x1?void 0x0:_0x5cfa43?_0x27375b(_0x2b48e1,_0x418588):_0x2b48e1,_0x2bf46a=_0x403fa1[_0x351654(0x4d9)]-0x1,_0x8728dd;_0x2bf46a>=0x0;_0x2bf46a--)(_0x8728dd=_0x403fa1[_0x2bf46a])&&(_0x1ebde3=(_0x5cfa43?_0x8728dd(_0x2b48e1,_0x418588,_0x1ebde3):_0x8728dd(_0x1ebde3))||_0x1ebde3);return _0x5cfa43&&_0x1ebde3&&_0x35a800(_0x2b48e1,_0x418588,_0x1ebde3),_0x1ebde3;},_0x5d147b=(_0x23b49c,_0x37d954)=>(_0x413980,_0x16f050)=>_0x37d954(_0x413980,_0x16f050,_0x23b49c);const _0x5f4aed='DEFAULT_FILE_NAME',_0x17a5a6=_0x2fa915(0x3f3);let _0x4a666c=class extends _0x4587e1['Disposable']{constructor(_0x373df3,_0x583a1d){const _0x510a79=_0x2fa915;super(),this[_0x510a79(0x3c1)]=_0x373df3,this['_configService']=_0x583a1d,this['_init']();}[_0x2fa915(0x16f)](){const _0x5d92f4=_0x2fa915;this[_0x5d92f4(0x211)](this[_0x5d92f4(0x3c1)][_0x5d92f4(0x18c)][_0x5d92f4(0x447)](()=>{const _0x19c973=_0x5d92f4;var _0x4a8cb1;const _0x52c307=this[_0x19c973(0x3c1)][_0x19c973(0x2fd)]();let _0x1b794b=(_0x4a8cb1=this[_0x19c973(0x4e4)][_0x19c973(0x185)](_0x5f4aed))!=null?_0x4a8cb1:_0x17a5a6;_0x52c307 instanceof _0x4587e1[_0x19c973(0x1b9)]&&(_0x1b794b=_0x52c307['name']),document[_0x19c973(0x2c5)]=_0x1b794b;}));}};_0x4a666c=_0x437941([_0x5d147b(0x0,_0x4587e1[_0x2fa915(0x53b)]),_0x5d147b(0x1,_0x4587e1['IConfigService'])],_0x4a666c);var _0x228f97=Object[_0x2fa915(0x44e)],_0x5dcf6e=Object[_0x2fa915(0x569)],_0x35552d=(_0x42563c,_0x35bf59,_0x461d5b,_0x5bda14)=>{const _0x40ef50=_0x2fa915;for(var _0x360022=_0x5bda14>0x1?void 0x0:_0x5bda14?_0x5dcf6e(_0x35bf59,_0x461d5b):_0x35bf59,_0x207823=_0x42563c[_0x40ef50(0x4d9)]-0x1,_0x569011;_0x207823>=0x0;_0x207823--)(_0x569011=_0x42563c[_0x207823])&&(_0x360022=(_0x5bda14?_0x569011(_0x35bf59,_0x461d5b,_0x360022):_0x569011(_0x360022))||_0x360022);return _0x5bda14&&_0x360022&&_0x228f97(_0x35bf59,_0x461d5b,_0x360022),_0x360022;},_0xc151b7=(_0x4284c4,_0x447e91)=>(_0x121334,_0x16d91b)=>_0x447e91(_0x121334,_0x16d91b,_0x4284c4);let _0x4c6e52=class{constructor(_0x190dc6,_0x3bb541,_0x1f1c83){const _0x5cf1d0=_0x2fa915;this[_0x5cf1d0(0x4e4)]=_0x190dc6,this['_httpService']=_0x3bb541,this[_0x5cf1d0(0x441)]=_0x1f1c83,this[_0x5cf1d0(0x558)]();}[_0x2fa915(0x558)](){const _0x3e97ba=_0x2fa915;this[_0x3e97ba(0x62e)][_0x3e97ba(0x5ab)]({'priority':0x1,'interceptor':(_0x419930,_0x12d6c8)=>_0x12d6c8(_0x419930)['pipe'](_0x3eec93['concatMap'](async _0x498f97=>{const _0x40b1a1=_0x3e97ba,_0x5ece7f=_0x498f97;if(_0x5ece7f[_0x40b1a1(0x37c)]===0x191&&window[_0x40b1a1(0x2c8)](this[_0x40b1a1(0x441)]['t'](_0x40b1a1(0x5af)))){const _0x149c63=window[_0x40b1a1(0x344)](window[_0x40b1a1(0x26a)][_0x40b1a1(0x1cf)]);window['location'][_0x40b1a1(0x1cf)]=this['_getLoginPath']()+'?url='+_0x149c63;}return _0x5ece7f;}))});}['_getLoginPath'](){const _0x1c6b9e=_0x2fa915;var _0x42cdfa,_0x442e9a;const _0x3eb205=this[_0x1c6b9e(0x4e4)][_0x1c6b9e(0x185)](_0x456ae0),_0x36551c=this[_0x1c6b9e(0x4e4)][_0x1c6b9e(0x185)](_0x152bb8);return(_0x442e9a=(_0x42cdfa=_0x36551c==null?void 0x0:_0x36551c[_0x1c6b9e(0x4cb)])!=null?_0x42cdfa:_0x3eb205)!=null?_0x442e9a:_0x55ef78;}};_0x4c6e52=_0x35552d([_0xc151b7(0x0,_0x4587e1[_0x2fa915(0x628)]),_0xc151b7(0x1,_0x4587e1['Inject'](_0x108d2c[_0x2fa915(0x49f)])),_0xc151b7(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x1e2)]))],_0x4c6e52);var _0x472a66=Object['defineProperty'],_0x30c76a=Object[_0x2fa915(0x569)],_0x24a831=(_0x21b1de,_0x1e7b7b,_0x255eda,_0x171710)=>{const _0x269688=_0x2fa915;for(var _0x34053d=_0x171710>0x1?void 0x0:_0x171710?_0x30c76a(_0x1e7b7b,_0x255eda):_0x1e7b7b,_0x589d39=_0x21b1de[_0x269688(0x4d9)]-0x1,_0x3853aa;_0x589d39>=0x0;_0x589d39--)(_0x3853aa=_0x21b1de[_0x589d39])&&(_0x34053d=(_0x171710?_0x3853aa(_0x1e7b7b,_0x255eda,_0x34053d):_0x3853aa(_0x34053d))||_0x34053d);return _0x171710&&_0x34053d&&_0x472a66(_0x1e7b7b,_0x255eda,_0x34053d),_0x34053d;},_0x30a053=(_0x47b683,_0x3d913c)=>(_0x1e4bf4,_0x568a0a)=>_0x3d913c(_0x1e4bf4,_0x568a0a,_0x47b683);const _0x4594be=_0x2fa915(0x3f9),_0x525064=_0x2fa915(0x3b2);_0x539c7e[_0x2fa915(0x1c5)]=class extends _0x4587e1[_0x2fa915(0x552)]{constructor(_0x2cca34,_0x3b8b0c){const _0xb47823=_0x2fa915;super(),this[_0xb47823(0x3e7)]=_0x2cca34,this[_0xb47823(0x4e4)]=_0x3b8b0c,this[_0xb47823(0x1ab)]();}[_0x2fa915(0x1ab)](){const _0x3dbdc5=_0x2fa915,_0x34a39a=this;this[_0x3dbdc5(0x211)](this[_0x3dbdc5(0x3e7)][_0x3dbdc5(0x5ab)]({'priority':0x3e7,'interceptor':_0x108d2c[_0x3dbdc5(0x30b)]({'isMatch'(_0x5419c9){const _0x4667dd=_0x3dbdc5;var _0x357f71;if(_0x5419c9['method']===_0x4667dd(0x1ee)&&((_0x357f71=_0x5419c9[_0x4667dd(0x1f7)])!=null&&_0x357f71[_0x4667dd(0x2e6)])){const {objectID:_0x433a9f,objectType:_0x1baa5c}=_0x5419c9[_0x4667dd(0x1f7)]['body']||{};if(!_0x433a9f||_0x1baa5c===void 0x0)return!0x1;const _0x56b795=_0x34a39a['_getAPIPrefixPath']()+'/'+_0x1baa5c+_0x4667dd(0x1d6)+_0x433a9f+_0x4667dd(0x250);if(_0x5419c9[_0x4667dd(0x1a6)]===_0x56b795)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x39ead7){const _0x4ccc90=_0x3dbdc5;var _0x4f40c4;return(_0x4f40c4=_0x39ead7[_0x4ccc90(0x1f7)])==null?void 0x0:_0x4f40c4['body'];},'mergeParamsToRequest'(_0x4abfea,_0x3e44c7){const _0x5a89eb=_0x3dbdc5,_0x33c95c=_0x34a39a[_0x5a89eb(0x1c8)]()+'/-/object/-/batch_allowed',_0xa9fba7=_0x4abfea[_0x5a89eb(0x4f7)]((_0x1a0281,_0xee875f)=>{const _0x591d88=_0x5a89eb,{unitID:_0x9170cc,objectID:_0x47be26,objectType:_0xa24006,actions:_0x59a947}=_0xee875f;return _0x1a0281[_0x9170cc]||(_0x1a0281[_0x9170cc]={}),_0x1a0281[_0x9170cc][_0x47be26]||(_0x1a0281[_0x9170cc][_0x47be26]={'objectID':_0x47be26,'objectType':_0xa24006,'actions':[]}),_0x1a0281[_0x9170cc][_0x47be26][_0x591d88(0x515)]['push'](..._0x59a947),_0x1a0281;},{}),_0x29f57b=[];for(const _0x326980 in _0xa9fba7)for(const _0x2aeb18 in _0xa9fba7[_0x326980]){const {actions:_0x114d55,objectType:_0x14246c}=_0xa9fba7[_0x326980][_0x2aeb18],_0x5ca455=[...new Set(_0x114d55)];_0x29f57b[_0x5a89eb(0x367)]({'unitID':_0x326980,'objectID':_0x2aeb18,'objectType':_0x14246c,'actions':_0x5ca455});}return new _0x108d2c[(_0x5a89eb(0x4bf))](_0x5a89eb(0x1ee),_0x33c95c,{'headers':_0x3e44c7[_0x5a89eb(0x5e7)],'withCredentials':_0x3e44c7['withCredentials'],'responseType':_0x3e44c7[_0x5a89eb(0x238)],'body':{'requests':_0x29f57b}});}},{'distributeResult'(_0x8aa20b,_0x3f9a18){const _0x4ad3ec=_0x3dbdc5,{objectActions:_0x35d324}=_0x8aa20b;return _0x3f9a18[_0x4ad3ec(0x252)](_0x2e4002=>{const _0x12d4cf=_0x4ad3ec,{unitID:_0x534ca3,objectID:_0x257ae3,actions:_0x4d5fc3}=_0x2e4002,_0x4ade68=_0x35d324['find'](_0x360434=>_0x360434[_0x12d4cf(0x2d1)]===_0x534ca3&&_0x360434[_0x12d4cf(0x3f2)]===_0x257ae3),_0x528278=_0x4d5fc3['map'](_0x581f0a=>_0x4ade68==null?void 0x0:_0x4ade68[_0x12d4cf(0x515)][_0x12d4cf(0x545)](_0x1bf37d=>_0x1bf37d[_0x12d4cf(0x51c)]===_0x581f0a))[_0x12d4cf(0x333)](_0x1216d6=>!!_0x1216d6);return{'config':_0x2e4002,'result':{'actions':_0x528278,'error':_0x8aa20b[_0x12d4cf(0x3a9)]}};});}})}));}['_getAPIPrefixPath'](){const _0x15c3e7=_0x2fa915;var _0x276544,_0x3f60a4;const _0x43101d=this[_0x15c3e7(0x4e4)]['getConfig'](_0x4594be),_0x90dd7=this[_0x15c3e7(0x4e4)][_0x15c3e7(0x185)](_0x152bb8);return(_0x3f60a4=(_0x276544=_0x90dd7==null?void 0x0:_0x90dd7[_0x15c3e7(0x213)])!=null?_0x276544:_0x43101d)!=null?_0x3f60a4:_0x525064;}async[_0x2fa915(0x5e5)](_0x50805c){const _0x3324f8=_0x2fa915,_0x2b6f3c=this[_0x3324f8(0x1c8)]()+'/'+_0x50805c[_0x3324f8(0x584)]+_0x3324f8(0x3a1);return(await this[_0x3324f8(0x3e7)][_0x3324f8(0x321)](_0x2b6f3c,{'body':_0x50805c}))['body']['objectID']||'';}async[_0x2fa915(0x268)](_0x219612){const _0xfc61f7=_0x2fa915,_0x59aa8d=this[_0xfc61f7(0x1c8)]()+_0xfc61f7(0x46e);return(await this[_0xfc61f7(0x3e7)][_0xfc61f7(0x321)](_0x59aa8d,{'body':_0x219612}))[_0xfc61f7(0x2e6)][_0xfc61f7(0x39d)];}async[_0x2fa915(0x3ab)](_0x125bb4){const _0x401fd7=_0x2fa915,_0xd11e5a=this[_0x401fd7(0x1c8)]()+'/'+_0x125bb4['objectType']+_0x401fd7(0x1d6)+_0x125bb4['objectID'];await this[_0x401fd7(0x3e7)]['put'](_0xd11e5a,{'body':_0x125bb4});}async['allowed'](_0xa26971){const _0x307cf5=_0x2fa915,_0x567969=this['_getAPIPrefixPath']()+'/'+_0xa26971[_0x307cf5(0x584)]+_0x307cf5(0x1d6)+_0xa26971[_0x307cf5(0x3f2)]+_0x307cf5(0x250);return(await this[_0x307cf5(0x3e7)][_0x307cf5(0x321)](_0x567969,{'body':_0xa26971}))[_0x307cf5(0x2e6)][_0x307cf5(0x515)];}async['batchAllowed'](_0xfef7d4){const _0x3734a7=_0x2fa915,_0x297314=this[_0x3734a7(0x1c8)]()+_0x3734a7(0x49c);return(await this['_HTTPService'][_0x3734a7(0x321)](_0x297314,{'body':{'requests':_0xfef7d4}}))['body'][_0x3734a7(0x405)];}async[_0x2fa915(0x61d)](_0x2fb60b){const _0x31deb5=_0x2fa915,_0x310837=this[_0x31deb5(0x1c8)]()+'/'+_0x2fb60b[_0x31deb5(0x584)]+'/role',_0x3fcf6c=await this[_0x31deb5(0x3e7)]['post'](_0x310837,{'body':_0x2fb60b});return{'roles':_0x3fcf6c[_0x31deb5(0x2e6)]['roles'],'actions':_0x3fcf6c[_0x31deb5(0x2e6)][_0x31deb5(0x515)]};}async[_0x2fa915(0x41f)](_0x407fcc){const _0x2cdf95=_0x2fa915,_0x5aeaf6=this[_0x2cdf95(0x1c8)]()+_0x2cdf95(0x338);await this['_HTTPService'][_0x2cdf95(0x4e2)](_0x5aeaf6,{'params':{'collaboratorID':_0x407fcc[_0x2cdf95(0x445)],'objectID':_0x407fcc['objectID'],'unitID':_0x407fcc[_0x2cdf95(0x2d1)]}});}async[_0x2fa915(0x633)](_0x592f5c){const _0x305cc7=_0x2fa915,_0x495bf0=this[_0x305cc7(0x1c8)]()+_0x305cc7(0x338);await this['_HTTPService'][_0x305cc7(0x1fd)](_0x495bf0,{'body':_0x592f5c});}async[_0x2fa915(0x236)](_0x5495c2){const _0x8637b7=_0x2fa915,_0x15280c=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x8637b7(0x3e7)][_0x8637b7(0x321)](_0x15280c,{'body':_0x5495c2});}async[_0x2fa915(0x1b6)](_0x157109){const _0x156e92=_0x2fa915,_0x304452=this[_0x156e92(0x1c8)]()+_0x156e92(0x338);return(await this[_0x156e92(0x3e7)][_0x156e92(0x4a0)](_0x304452,{'params':{'objectID':_0x157109[_0x156e92(0x3f2)],'unitID':_0x157109[_0x156e92(0x2d1)]}}))[_0x156e92(0x2e6)][_0x156e92(0x34f)];}async['putCollaborators'](_0x5d8d0e){const _0x113d75=_0x2fa915,_0x46cb9b=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x113d75(0x3e7)]['put'](_0x46cb9b,{'body':_0x5d8d0e});}},_0x539c7e[_0x2fa915(0x1c5)]=_0x24a831([_0x30a053(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x108d2c['HTTPService'])),_0x30a053(0x1,_0x4587e1['Inject'](_0x4587e1[_0x2fa915(0x628)]))],_0x539c7e['AuthzIoHttpService']);var _0x1b376e={'exports':{}};function _0x545d15(_0x3d6534){const _0x57b4f3=_0x2fa915;throw new Error(_0x57b4f3(0x214)+_0x3d6534+_0x57b4f3(0x5ba));}var _0x144296={'exports':{}},_0x375615;function _0x5ce923(){const _0xffb2ed=_0x2fa915;return _0x375615||(_0x375615=0x1,function(_0x373a6c,_0x2ec9fb){(function(_0x4a7837,_0x58422a){_0x373a6c['exports']=_0x58422a();}(_0x46cbc6,function(){var _0x1776af=_0x1776af||function(_0x1df658,_0x1c843a){const _0x594f2d=_0x5275;var _0x5b8486;if(typeof window<'u'&&window[_0x594f2d(0x5b7)]&&(_0x5b8486=window[_0x594f2d(0x5b7)]),typeof self<'u'&&self[_0x594f2d(0x5b7)]&&(_0x5b8486=self[_0x594f2d(0x5b7)]),typeof globalThis<'u'&&globalThis[_0x594f2d(0x5b7)]&&(_0x5b8486=globalThis['crypto']),!_0x5b8486&&typeof window<'u'&&window['msCrypto']&&(_0x5b8486=window['msCrypto']),!_0x5b8486&&typeof _0x46cbc6<'u'&&_0x46cbc6['crypto']&&(_0x5b8486=_0x46cbc6[_0x594f2d(0x5b7)]),!_0x5b8486&&typeof _0x545d15==_0x594f2d(0x2e3))try{_0x5b8486=require('crypto');}catch{}var _0x5cfb8f=function(){const _0x7b61b2=_0x594f2d;if(_0x5b8486){if(typeof _0x5b8486[_0x7b61b2(0x585)]==_0x7b61b2(0x2e3))try{return _0x5b8486[_0x7b61b2(0x585)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5b8486[_0x7b61b2(0x58e)]==_0x7b61b2(0x2e3))try{return _0x5b8486['randomBytes'](0x4)[_0x7b61b2(0x40a)]();}catch{}}throw new Error(_0x7b61b2(0x279));},_0x44ba17=Object[_0x594f2d(0x5e5)]||(function(){function _0x534325(){}return function(_0xbbb072){const _0x1a8987=_0x5275;var _0x54cd77;return _0x534325[_0x1a8987(0x62d)]=_0xbbb072,_0x54cd77=new _0x534325(),_0x534325[_0x1a8987(0x62d)]=null,_0x54cd77;};}()),_0x58e63b={},_0x76329=_0x58e63b[_0x594f2d(0x33e)]={},_0x34b640=_0x76329[_0x594f2d(0x50e)]=(function(){return{'extend':function(_0x38e896){const _0x539288=_0x5275;var _0x2aabe1=_0x44ba17(this);return _0x38e896&&_0x2aabe1[_0x539288(0x566)](_0x38e896),(!_0x2aabe1[_0x539288(0x507)]('init')||this[_0x539288(0x558)]===_0x2aabe1['init'])&&(_0x2aabe1[_0x539288(0x558)]=function(){const _0x222e35=_0x539288;_0x2aabe1[_0x222e35(0x5bd)][_0x222e35(0x558)][_0x222e35(0x54c)](this,arguments);}),_0x2aabe1[_0x539288(0x558)][_0x539288(0x62d)]=_0x2aabe1,_0x2aabe1['$super']=this,_0x2aabe1;},'create':function(){const _0x32306c=_0x5275;var _0x4f6a8c=this[_0x32306c(0x44a)]();return _0x4f6a8c[_0x32306c(0x558)][_0x32306c(0x54c)](_0x4f6a8c,arguments),_0x4f6a8c;},'init':function(){},'mixIn':function(_0xbbbb8c){const _0x5adff4=_0x5275;for(var _0x2d42f9 in _0xbbbb8c)_0xbbbb8c['hasOwnProperty'](_0x2d42f9)&&(this[_0x2d42f9]=_0xbbbb8c[_0x2d42f9]);_0xbbbb8c['hasOwnProperty']('toString')&&(this[_0x5adff4(0x38a)]=_0xbbbb8c[_0x5adff4(0x38a)]);},'clone':function(){const _0x1e0022=_0x5275;return this[_0x1e0022(0x558)][_0x1e0022(0x62d)][_0x1e0022(0x44a)](this);}};}()),_0x528a13=_0x76329['WordArray']=_0x34b640['extend']({'init':function(_0x20c7b7,_0x5b1ebf){const _0x168927=_0x594f2d;_0x20c7b7=this[_0x168927(0x1e6)]=_0x20c7b7||[],_0x5b1ebf!=_0x1c843a?this[_0x168927(0x396)]=_0x5b1ebf:this[_0x168927(0x396)]=_0x20c7b7['length']*0x4;},'toString':function(_0x496658){const _0x5f3311=_0x594f2d;return(_0x496658||_0x2cf854)[_0x5f3311(0x621)](this);},'concat':function(_0x3f5f44){const _0x46887b=_0x594f2d;var _0x313ca9=this[_0x46887b(0x1e6)],_0x6993c6=_0x3f5f44[_0x46887b(0x1e6)],_0x12843e=this[_0x46887b(0x396)],_0x481d85=_0x3f5f44[_0x46887b(0x396)];if(this[_0x46887b(0x2f9)](),_0x12843e%0x4)for(var _0x3ccc62=0x0;_0x3ccc62<_0x481d85;_0x3ccc62++){var _0x3a71fa=_0x6993c6[_0x3ccc62>>>0x2]>>>0x18-_0x3ccc62%0x4*0x8&0xff;_0x313ca9[_0x12843e+_0x3ccc62>>>0x2]|=_0x3a71fa<<0x18-(_0x12843e+_0x3ccc62)%0x4*0x8;}else{for(var _0x52ea32=0x0;_0x52ea32<_0x481d85;_0x52ea32+=0x4)_0x313ca9[_0x12843e+_0x52ea32>>>0x2]=_0x6993c6[_0x52ea32>>>0x2];}return this[_0x46887b(0x396)]+=_0x481d85,this;},'clamp':function(){const _0x5c09dd=_0x594f2d;var _0x2c2d4b=this[_0x5c09dd(0x1e6)],_0x2eaa9d=this[_0x5c09dd(0x396)];_0x2c2d4b[_0x2eaa9d>>>0x2]&=0xffffffff<<0x20-_0x2eaa9d%0x4*0x8,_0x2c2d4b[_0x5c09dd(0x4d9)]=_0x1df658[_0x5c09dd(0x49a)](_0x2eaa9d/0x4);},'clone':function(){const _0x45b218=_0x594f2d;var _0x515449=_0x34b640[_0x45b218(0x230)][_0x45b218(0x246)](this);return _0x515449['words']=this['words']['slice'](0x0),_0x515449;},'random':function(_0x50ac20){for(var _0x580d56=[],_0x1c376d=0x0;_0x1c376d<_0x50ac20;_0x1c376d+=0x4)_0x580d56['push'](_0x5cfb8f());return new _0x528a13['init'](_0x580d56,_0x50ac20);}}),_0x4e6e3b=_0x58e63b[_0x594f2d(0x297)]={},_0x2cf854=_0x4e6e3b[_0x594f2d(0x2a5)]={'stringify':function(_0x14be9b){const _0x352804=_0x594f2d;for(var _0x873eb0=_0x14be9b[_0x352804(0x1e6)],_0x336a76=_0x14be9b[_0x352804(0x396)],_0x2ab0d9=[],_0x12146b=0x0;_0x12146b<_0x336a76;_0x12146b++){var _0x4e6871=_0x873eb0[_0x12146b>>>0x2]>>>0x18-_0x12146b%0x4*0x8&0xff;_0x2ab0d9[_0x352804(0x367)]((_0x4e6871>>>0x4)['toString'](0x10)),_0x2ab0d9[_0x352804(0x367)]((_0x4e6871&0xf)['toString'](0x10));}return _0x2ab0d9[_0x352804(0x4ba)]('');},'parse':function(_0x5b5f75){const _0x2eabe3=_0x594f2d;for(var _0x334305=_0x5b5f75[_0x2eabe3(0x4d9)],_0x19f67a=[],_0x1e40f9=0x0;_0x1e40f9<_0x334305;_0x1e40f9+=0x2)_0x19f67a[_0x1e40f9>>>0x3]|=parseInt(_0x5b5f75['substr'](_0x1e40f9,0x2),0x10)<<0x18-_0x1e40f9%0x8*0x4;return new _0x528a13[(_0x2eabe3(0x558))](_0x19f67a,_0x334305/0x2);}},_0x54a9cc=_0x4e6e3b['Latin1']={'stringify':function(_0x20571c){const _0x1597b3=_0x594f2d;for(var _0x430c67=_0x20571c[_0x1597b3(0x1e6)],_0x26e4e4=_0x20571c['sigBytes'],_0x4a9615=[],_0x3b7b24=0x0;_0x3b7b24<_0x26e4e4;_0x3b7b24++){var _0x5cc51c=_0x430c67[_0x3b7b24>>>0x2]>>>0x18-_0x3b7b24%0x4*0x8&0xff;_0x4a9615['push'](String[_0x1597b3(0x1b0)](_0x5cc51c));}return _0x4a9615[_0x1597b3(0x4ba)]('');},'parse':function(_0x1b9864){const _0x52a2a8=_0x594f2d;for(var _0x429483=_0x1b9864[_0x52a2a8(0x4d9)],_0xe3bed5=[],_0x4a99a6=0x0;_0x4a99a6<_0x429483;_0x4a99a6++)_0xe3bed5[_0x4a99a6>>>0x2]|=(_0x1b9864['charCodeAt'](_0x4a99a6)&0xff)<<0x18-_0x4a99a6%0x4*0x8;return new _0x528a13[(_0x52a2a8(0x558))](_0xe3bed5,_0x429483);}},_0x257c49=_0x4e6e3b[_0x594f2d(0x36a)]={'stringify':function(_0x462add){const _0x262ae3=_0x594f2d;try{return decodeURIComponent(escape(_0x54a9cc['stringify'](_0x462add)));}catch{throw new Error(_0x262ae3(0x4b4));}},'parse':function(_0x144f8d){const _0x143c9e=_0x594f2d;return _0x54a9cc[_0x143c9e(0x3bf)](unescape(encodeURIComponent(_0x144f8d)));}},_0x43a5f7=_0x76329[_0x594f2d(0x234)]=_0x34b640[_0x594f2d(0x44a)]({'reset':function(){const _0xebb15f=_0x594f2d;this[_0xebb15f(0x4fc)]=new _0x528a13[(_0xebb15f(0x558))](),this['_nDataBytes']=0x0;},'_append':function(_0x3a47eb){const _0x559591=_0x594f2d;typeof _0x3a47eb==_0x559591(0x241)&&(_0x3a47eb=_0x257c49[_0x559591(0x3bf)](_0x3a47eb)),this[_0x559591(0x4fc)][_0x559591(0x227)](_0x3a47eb),this[_0x559591(0x613)]+=_0x3a47eb[_0x559591(0x396)];},'_process':function(_0x30d1f1){const _0x18352f=_0x594f2d;var _0x4ea041,_0x48436d=this['_data'],_0x49a2fe=_0x48436d[_0x18352f(0x1e6)],_0x5b109a=_0x48436d[_0x18352f(0x396)],_0x3b5bf7=this[_0x18352f(0x414)],_0x1de42a=_0x3b5bf7*0x4,_0x8ffd8=_0x5b109a/_0x1de42a;_0x30d1f1?_0x8ffd8=_0x1df658[_0x18352f(0x49a)](_0x8ffd8):_0x8ffd8=_0x1df658[_0x18352f(0x433)]((_0x8ffd8|0x0)-this[_0x18352f(0x1df)],0x0);var _0x423b42=_0x8ffd8*_0x3b5bf7,_0x45d605=_0x1df658[_0x18352f(0x5bc)](_0x423b42*0x4,_0x5b109a);if(_0x423b42){for(var _0x230ca8=0x0;_0x230ca8<_0x423b42;_0x230ca8+=_0x3b5bf7)this[_0x18352f(0x464)](_0x49a2fe,_0x230ca8);_0x4ea041=_0x49a2fe['splice'](0x0,_0x423b42),_0x48436d['sigBytes']-=_0x45d605;}return new _0x528a13['init'](_0x4ea041,_0x45d605);},'clone':function(){const _0x4cfb21=_0x594f2d;var _0x198181=_0x34b640[_0x4cfb21(0x230)]['call'](this);return _0x198181[_0x4cfb21(0x4fc)]=this[_0x4cfb21(0x4fc)]['clone'](),_0x198181;},'_minBufferSize':0x0});_0x76329[_0x594f2d(0x1f8)]=_0x43a5f7[_0x594f2d(0x44a)]({'cfg':_0x34b640[_0x594f2d(0x44a)](),'init':function(_0x250663){const _0x513321=_0x594f2d;this[_0x513321(0x353)]=this[_0x513321(0x353)][_0x513321(0x44a)](_0x250663),this[_0x513321(0x233)]();},'reset':function(){const _0xedc5c9=_0x594f2d;_0x43a5f7[_0xedc5c9(0x233)][_0xedc5c9(0x246)](this),this[_0xedc5c9(0x607)]();},'update':function(_0x4112ab){const _0x3f2817=_0x594f2d;return this[_0x3f2817(0x1e0)](_0x4112ab),this['_process'](),this;},'finalize':function(_0x3fd799){const _0x57f2b7=_0x594f2d;_0x3fd799&&this[_0x57f2b7(0x1e0)](_0x3fd799);var _0x1f3ab8=this[_0x57f2b7(0x278)]();return _0x1f3ab8;},'blockSize':0x10,'_createHelper':function(_0x17ac50){return function(_0x5025ff,_0x3fe315){const _0x275ee9=_0x5275;return new _0x17ac50['init'](_0x3fe315)[_0x275ee9(0x277)](_0x5025ff);};},'_createHmacHelper':function(_0x4a6210){return function(_0x5806fc,_0x1d9244){const _0x7655c5=_0x5275;return new _0xb547f8[(_0x7655c5(0x302))][(_0x7655c5(0x558))](_0x4a6210,_0x1d9244)[_0x7655c5(0x277)](_0x5806fc);};}});var _0xb547f8=_0x58e63b[_0x594f2d(0x4dd)]={};return _0x58e63b;}(Math);return _0x1776af;}));}(_0x144296)),_0x144296[_0xffb2ed(0x3a4)];}var _0x1c9bc4={'exports':{}},_0x50dd25;function _0x235b13(){const _0x1f54e2=_0x2fa915;return _0x50dd25||(_0x50dd25=0x1,function(_0x1ce4d1,_0x50c7f9){(function(_0x38a44a,_0x28d853){const _0x22d475=_0x5275;_0x1ce4d1[_0x22d475(0x3a4)]=_0x28d853(_0x5ce923());}(_0x46cbc6,function(_0x469a53){const _0x5791fc=_0x5275;return(function(){const _0x519e0d=_0x5275;var _0x370017=_0x469a53,_0x394c18=_0x370017['lib'],_0x27c388=_0x394c18['WordArray'],_0x18ae1a=_0x370017[_0x519e0d(0x297)];_0x18ae1a['Base64']={'stringify':function(_0x438b14){const _0x256a99=_0x519e0d;var _0x264f1f=_0x438b14['words'],_0x2b8cfe=_0x438b14[_0x256a99(0x396)],_0xf0982=this['_map'];_0x438b14[_0x256a99(0x2f9)]();for(var _0x42be10=[],_0x1424cd=0x0;_0x1424cd<_0x2b8cfe;_0x1424cd+=0x3)for(var _0x194e1d=_0x264f1f[_0x1424cd>>>0x2]>>>0x18-_0x1424cd%0x4*0x8&0xff,_0x4043d0=_0x264f1f[_0x1424cd+0x1>>>0x2]>>>0x18-(_0x1424cd+0x1)%0x4*0x8&0xff,_0x13063f=_0x264f1f[_0x1424cd+0x2>>>0x2]>>>0x18-(_0x1424cd+0x2)%0x4*0x8&0xff,_0xa0c6cd=_0x194e1d<<0x10|_0x4043d0<<0x8|_0x13063f,_0xce360c=0x0;_0xce360c<0x4&&_0x1424cd+_0xce360c*0.75<_0x2b8cfe;_0xce360c++)_0x42be10['push'](_0xf0982[_0x256a99(0x45c)](_0xa0c6cd>>>0x6*(0x3-_0xce360c)&0x3f));var _0x77ffb=_0xf0982[_0x256a99(0x45c)](0x40);if(_0x77ffb){for(;_0x42be10[_0x256a99(0x4d9)]%0x4;)_0x42be10[_0x256a99(0x367)](_0x77ffb);}return _0x42be10[_0x256a99(0x4ba)]('');},'parse':function(_0xbc87b0){const _0x23a312=_0x519e0d;var _0x3c1213=_0xbc87b0['length'],_0x42db40=this[_0x23a312(0x245)],_0xe05172=this[_0x23a312(0x4c1)];if(!_0xe05172){_0xe05172=this[_0x23a312(0x4c1)]=[];for(var _0x52e8e6=0x0;_0x52e8e6<_0x42db40[_0x23a312(0x4d9)];_0x52e8e6++)_0xe05172[_0x42db40[_0x23a312(0x37a)](_0x52e8e6)]=_0x52e8e6;}var _0x22de93=_0x42db40['charAt'](0x40);if(_0x22de93){var _0x5101e1=_0xbc87b0[_0x23a312(0x1dc)](_0x22de93);_0x5101e1!==-0x1&&(_0x3c1213=_0x5101e1);}return _0x3c4f8f(_0xbc87b0,_0x3c1213,_0xe05172);},'_map':_0x519e0d(0x5e8)};function _0x3c4f8f(_0x190911,_0x1c3d4c,_0x37ad93){const _0x2569e8=_0x519e0d;for(var _0x4586b4=[],_0x5aa11f=0x0,_0x2b047c=0x0;_0x2b047c<_0x1c3d4c;_0x2b047c++)if(_0x2b047c%0x4){var _0x5da855=_0x37ad93[_0x190911[_0x2569e8(0x37a)](_0x2b047c-0x1)]<<_0x2b047c%0x4*0x2,_0x4905c9=_0x37ad93[_0x190911[_0x2569e8(0x37a)](_0x2b047c)]>>>0x6-_0x2b047c%0x4*0x2,_0x2c1f12=_0x5da855|_0x4905c9;_0x4586b4[_0x5aa11f>>>0x2]|=_0x2c1f12<<0x18-_0x5aa11f%0x4*0x8,_0x5aa11f++;}return _0x27c388[_0x2569e8(0x5e5)](_0x4586b4,_0x5aa11f);}}()),_0x469a53['enc'][_0x5791fc(0x1cb)];}));}(_0x1c9bc4)),_0x1c9bc4[_0x1f54e2(0x3a4)];}var _0xcd9ab0={'exports':{}},_0x4b5c59;function _0x12bb34(){const _0x3e0e25=_0x2fa915;return _0x4b5c59||(_0x4b5c59=0x1,function(_0x50213f,_0x59b4d1){(function(_0x3e8342,_0x49361d){const _0x45e09f=_0x5275;_0x50213f[_0x45e09f(0x3a4)]=_0x49361d(_0x5ce923());}(_0x46cbc6,function(_0x5da221){const _0x13a716=_0x5275;return function(_0x2e351e){const _0x125fa3=_0x5275;var _0x2a579c=_0x5da221,_0x694c7b=_0x2a579c[_0x125fa3(0x33e)],_0x582889=_0x694c7b[_0x125fa3(0x232)],_0x369171=_0x694c7b[_0x125fa3(0x1f8)],_0xb7d8c7=_0x2a579c['algo'],_0x1f40ab=[];(function(){const _0x232be2=_0x125fa3;for(var _0x2b83da=0x0;_0x2b83da<0x40;_0x2b83da++)_0x1f40ab[_0x2b83da]=_0x2e351e[_0x232be2(0x29f)](_0x2e351e[_0x232be2(0x5cc)](_0x2b83da+0x1))*0x100000000|0x0;}());var _0x35cca5=_0xb7d8c7['MD5']=_0x369171[_0x125fa3(0x44a)]({'_doReset':function(){this['_hash']=new _0x582889['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4eaed2,_0xae8cab){const _0x12087d=_0x125fa3;for(var _0x489cf0=0x0;_0x489cf0<0x10;_0x489cf0++){var _0x1d2119=_0xae8cab+_0x489cf0,_0x4aa599=_0x4eaed2[_0x1d2119];_0x4eaed2[_0x1d2119]=(_0x4aa599<<0x8|_0x4aa599>>>0x18)&0xff00ff|(_0x4aa599<<0x18|_0x4aa599>>>0x8)&0xff00ff00;}var _0x54fe01=this[_0x12087d(0x253)][_0x12087d(0x1e6)],_0x4a05a5=_0x4eaed2[_0xae8cab+0x0],_0x5b217c=_0x4eaed2[_0xae8cab+0x1],_0x323be7=_0x4eaed2[_0xae8cab+0x2],_0x3af8be=_0x4eaed2[_0xae8cab+0x3],_0x180863=_0x4eaed2[_0xae8cab+0x4],_0x16212b=_0x4eaed2[_0xae8cab+0x5],_0x46de68=_0x4eaed2[_0xae8cab+0x6],_0x8fe88b=_0x4eaed2[_0xae8cab+0x7],_0x51e417=_0x4eaed2[_0xae8cab+0x8],_0x4dfd6a=_0x4eaed2[_0xae8cab+0x9],_0xf1e70a=_0x4eaed2[_0xae8cab+0xa],_0x49c7cf=_0x4eaed2[_0xae8cab+0xb],_0x195b6a=_0x4eaed2[_0xae8cab+0xc],_0xef0cc=_0x4eaed2[_0xae8cab+0xd],_0x535766=_0x4eaed2[_0xae8cab+0xe],_0x31f527=_0x4eaed2[_0xae8cab+0xf],_0x1191c6=_0x54fe01[0x0],_0x48e650=_0x54fe01[0x1],_0x59f9e4=_0x54fe01[0x2],_0x438d55=_0x54fe01[0x3];_0x1191c6=_0x2bc214(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x4a05a5,0x7,_0x1f40ab[0x0]),_0x438d55=_0x2bc214(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x5b217c,0xc,_0x1f40ab[0x1]),_0x59f9e4=_0x2bc214(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x323be7,0x11,_0x1f40ab[0x2]),_0x48e650=_0x2bc214(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x3af8be,0x16,_0x1f40ab[0x3]),_0x1191c6=_0x2bc214(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x180863,0x7,_0x1f40ab[0x4]),_0x438d55=_0x2bc214(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x16212b,0xc,_0x1f40ab[0x5]),_0x59f9e4=_0x2bc214(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x46de68,0x11,_0x1f40ab[0x6]),_0x48e650=_0x2bc214(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x8fe88b,0x16,_0x1f40ab[0x7]),_0x1191c6=_0x2bc214(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x51e417,0x7,_0x1f40ab[0x8]),_0x438d55=_0x2bc214(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x4dfd6a,0xc,_0x1f40ab[0x9]),_0x59f9e4=_0x2bc214(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0xf1e70a,0x11,_0x1f40ab[0xa]),_0x48e650=_0x2bc214(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x49c7cf,0x16,_0x1f40ab[0xb]),_0x1191c6=_0x2bc214(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x195b6a,0x7,_0x1f40ab[0xc]),_0x438d55=_0x2bc214(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0xef0cc,0xc,_0x1f40ab[0xd]),_0x59f9e4=_0x2bc214(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x535766,0x11,_0x1f40ab[0xe]),_0x48e650=_0x2bc214(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x31f527,0x16,_0x1f40ab[0xf]),_0x1191c6=_0x1a7a11(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x5b217c,0x5,_0x1f40ab[0x10]),_0x438d55=_0x1a7a11(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x46de68,0x9,_0x1f40ab[0x11]),_0x59f9e4=_0x1a7a11(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x49c7cf,0xe,_0x1f40ab[0x12]),_0x48e650=_0x1a7a11(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x4a05a5,0x14,_0x1f40ab[0x13]),_0x1191c6=_0x1a7a11(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x16212b,0x5,_0x1f40ab[0x14]),_0x438d55=_0x1a7a11(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0xf1e70a,0x9,_0x1f40ab[0x15]),_0x59f9e4=_0x1a7a11(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x31f527,0xe,_0x1f40ab[0x16]),_0x48e650=_0x1a7a11(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x180863,0x14,_0x1f40ab[0x17]),_0x1191c6=_0x1a7a11(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x4dfd6a,0x5,_0x1f40ab[0x18]),_0x438d55=_0x1a7a11(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x535766,0x9,_0x1f40ab[0x19]),_0x59f9e4=_0x1a7a11(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x3af8be,0xe,_0x1f40ab[0x1a]),_0x48e650=_0x1a7a11(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x51e417,0x14,_0x1f40ab[0x1b]),_0x1191c6=_0x1a7a11(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0xef0cc,0x5,_0x1f40ab[0x1c]),_0x438d55=_0x1a7a11(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x323be7,0x9,_0x1f40ab[0x1d]),_0x59f9e4=_0x1a7a11(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x8fe88b,0xe,_0x1f40ab[0x1e]),_0x48e650=_0x1a7a11(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x195b6a,0x14,_0x1f40ab[0x1f]),_0x1191c6=_0x230ac0(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x16212b,0x4,_0x1f40ab[0x20]),_0x438d55=_0x230ac0(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x51e417,0xb,_0x1f40ab[0x21]),_0x59f9e4=_0x230ac0(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x49c7cf,0x10,_0x1f40ab[0x22]),_0x48e650=_0x230ac0(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x535766,0x17,_0x1f40ab[0x23]),_0x1191c6=_0x230ac0(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x5b217c,0x4,_0x1f40ab[0x24]),_0x438d55=_0x230ac0(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x180863,0xb,_0x1f40ab[0x25]),_0x59f9e4=_0x230ac0(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x8fe88b,0x10,_0x1f40ab[0x26]),_0x48e650=_0x230ac0(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0xf1e70a,0x17,_0x1f40ab[0x27]),_0x1191c6=_0x230ac0(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0xef0cc,0x4,_0x1f40ab[0x28]),_0x438d55=_0x230ac0(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x4a05a5,0xb,_0x1f40ab[0x29]),_0x59f9e4=_0x230ac0(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x3af8be,0x10,_0x1f40ab[0x2a]),_0x48e650=_0x230ac0(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x46de68,0x17,_0x1f40ab[0x2b]),_0x1191c6=_0x230ac0(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x4dfd6a,0x4,_0x1f40ab[0x2c]),_0x438d55=_0x230ac0(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x195b6a,0xb,_0x1f40ab[0x2d]),_0x59f9e4=_0x230ac0(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x31f527,0x10,_0x1f40ab[0x2e]),_0x48e650=_0x230ac0(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x323be7,0x17,_0x1f40ab[0x2f]),_0x1191c6=_0x3f86af(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x4a05a5,0x6,_0x1f40ab[0x30]),_0x438d55=_0x3f86af(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x8fe88b,0xa,_0x1f40ab[0x31]),_0x59f9e4=_0x3f86af(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x535766,0xf,_0x1f40ab[0x32]),_0x48e650=_0x3f86af(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x16212b,0x15,_0x1f40ab[0x33]),_0x1191c6=_0x3f86af(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x195b6a,0x6,_0x1f40ab[0x34]),_0x438d55=_0x3f86af(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x3af8be,0xa,_0x1f40ab[0x35]),_0x59f9e4=_0x3f86af(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0xf1e70a,0xf,_0x1f40ab[0x36]),_0x48e650=_0x3f86af(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x5b217c,0x15,_0x1f40ab[0x37]),_0x1191c6=_0x3f86af(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x51e417,0x6,_0x1f40ab[0x38]),_0x438d55=_0x3f86af(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x31f527,0xa,_0x1f40ab[0x39]),_0x59f9e4=_0x3f86af(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x46de68,0xf,_0x1f40ab[0x3a]),_0x48e650=_0x3f86af(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0xef0cc,0x15,_0x1f40ab[0x3b]),_0x1191c6=_0x3f86af(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x180863,0x6,_0x1f40ab[0x3c]),_0x438d55=_0x3f86af(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x49c7cf,0xa,_0x1f40ab[0x3d]),_0x59f9e4=_0x3f86af(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x323be7,0xf,_0x1f40ab[0x3e]),_0x48e650=_0x3f86af(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x4dfd6a,0x15,_0x1f40ab[0x3f]),_0x54fe01[0x0]=_0x54fe01[0x0]+_0x1191c6|0x0,_0x54fe01[0x1]=_0x54fe01[0x1]+_0x48e650|0x0,_0x54fe01[0x2]=_0x54fe01[0x2]+_0x59f9e4|0x0,_0x54fe01[0x3]=_0x54fe01[0x3]+_0x438d55|0x0;},'_doFinalize':function(){const _0x15a530=_0x125fa3;var _0x34b28e=this[_0x15a530(0x4fc)],_0x5633ac=_0x34b28e[_0x15a530(0x1e6)],_0x33bae8=this['_nDataBytes']*0x8,_0x4ac85=_0x34b28e[_0x15a530(0x396)]*0x8;_0x5633ac[_0x4ac85>>>0x5]|=0x80<<0x18-_0x4ac85%0x20;var _0x39f133=_0x2e351e[_0x15a530(0x482)](_0x33bae8/0x100000000),_0x1bf850=_0x33bae8;_0x5633ac[(_0x4ac85+0x40>>>0x9<<0x4)+0xf]=(_0x39f133<<0x8|_0x39f133>>>0x18)&0xff00ff|(_0x39f133<<0x18|_0x39f133>>>0x8)&0xff00ff00,_0x5633ac[(_0x4ac85+0x40>>>0x9<<0x4)+0xe]=(_0x1bf850<<0x8|_0x1bf850>>>0x18)&0xff00ff|(_0x1bf850<<0x18|_0x1bf850>>>0x8)&0xff00ff00,_0x34b28e[_0x15a530(0x396)]=(_0x5633ac[_0x15a530(0x4d9)]+0x1)*0x4,this['_process']();for(var _0x249a56=this['_hash'],_0x3b7bdf=_0x249a56[_0x15a530(0x1e6)],_0x5bf882=0x0;_0x5bf882<0x4;_0x5bf882++){var _0x3b9a55=_0x3b7bdf[_0x5bf882];_0x3b7bdf[_0x5bf882]=(_0x3b9a55<<0x8|_0x3b9a55>>>0x18)&0xff00ff|(_0x3b9a55<<0x18|_0x3b9a55>>>0x8)&0xff00ff00;}return _0x249a56;},'clone':function(){const _0x45dbc5=_0x125fa3;var _0x1a48a3=_0x369171[_0x45dbc5(0x230)][_0x45dbc5(0x246)](this);return _0x1a48a3[_0x45dbc5(0x253)]=this['_hash']['clone'](),_0x1a48a3;}});function _0x2bc214(_0x5e163d,_0x34e695,_0x546796,_0x402bd9,_0x55ddb2,_0x28e73a,_0xc7f368){var _0x2d21c7=_0x5e163d+(_0x34e695&_0x546796|~_0x34e695&_0x402bd9)+_0x55ddb2+_0xc7f368;return(_0x2d21c7<<_0x28e73a|_0x2d21c7>>>0x20-_0x28e73a)+_0x34e695;}function _0x1a7a11(_0x43dd35,_0x47e0d6,_0x55c43c,_0x3ef68c,_0x4ccdb6,_0x27d55c,_0x14ef8c){var _0x533b86=_0x43dd35+(_0x47e0d6&_0x3ef68c|_0x55c43c&~_0x3ef68c)+_0x4ccdb6+_0x14ef8c;return(_0x533b86<<_0x27d55c|_0x533b86>>>0x20-_0x27d55c)+_0x47e0d6;}function _0x230ac0(_0x5eaabb,_0x17eb0d,_0x399f6f,_0x2a89fe,_0x2d8999,_0x125617,_0x44170a){var _0x2f1387=_0x5eaabb+(_0x17eb0d^_0x399f6f^_0x2a89fe)+_0x2d8999+_0x44170a;return(_0x2f1387<<_0x125617|_0x2f1387>>>0x20-_0x125617)+_0x17eb0d;}function _0x3f86af(_0x387a48,_0x321589,_0x286ef2,_0xefb38d,_0x17ad62,_0x116694,_0x242e3d){var _0x4f12b4=_0x387a48+(_0x286ef2^(_0x321589|~_0xefb38d))+_0x17ad62+_0x242e3d;return(_0x4f12b4<<_0x116694|_0x4f12b4>>>0x20-_0x116694)+_0x321589;}_0x2a579c['MD5']=_0x369171['_createHelper'](_0x35cca5),_0x2a579c['HmacMD5']=_0x369171[_0x125fa3(0x3c5)](_0x35cca5);}(Math),_0x5da221[_0x13a716(0x2c2)];}));}(_0xcd9ab0)),_0xcd9ab0[_0x3e0e25(0x3a4)];}var _0x475f5d={'exports':{}},_0x4855a3={'exports':{}},_0x27b85d;function _0x36bbf4(){const _0x4075b8=_0x2fa915;return _0x27b85d||(_0x27b85d=0x1,function(_0xdbbe5c,_0x2e4402){(function(_0xde69c4,_0x3380c6){const _0x5a095f=_0x5275;_0xdbbe5c[_0x5a095f(0x3a4)]=_0x3380c6(_0x5ce923());}(_0x46cbc6,function(_0x500f3d){const _0x370b8e=_0x5275;return(function(){const _0x5e7325=_0x5275;var _0x207c23=_0x500f3d,_0x3ed765=_0x207c23['lib'],_0x443a13=_0x3ed765['WordArray'],_0x50d9c0=_0x3ed765[_0x5e7325(0x1f8)],_0x337aa2=_0x207c23[_0x5e7325(0x4dd)],_0x13ae6f=[],_0x492df9=_0x337aa2['SHA1']=_0x50d9c0[_0x5e7325(0x44a)]({'_doReset':function(){const _0x23516f=_0x5e7325;this[_0x23516f(0x253)]=new _0x443a13[(_0x23516f(0x558))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5bbd81,_0x272955){const _0x1e28f6=_0x5e7325;for(var _0x2f57b2=this['_hash'][_0x1e28f6(0x1e6)],_0x2af73e=_0x2f57b2[0x0],_0x2b06e2=_0x2f57b2[0x1],_0x3d381a=_0x2f57b2[0x2],_0x3189b1=_0x2f57b2[0x3],_0x32138f=_0x2f57b2[0x4],_0x4b8cbe=0x0;_0x4b8cbe<0x50;_0x4b8cbe++){if(_0x4b8cbe<0x10)_0x13ae6f[_0x4b8cbe]=_0x5bbd81[_0x272955+_0x4b8cbe]|0x0;else{var _0x654dd5=_0x13ae6f[_0x4b8cbe-0x3]^_0x13ae6f[_0x4b8cbe-0x8]^_0x13ae6f[_0x4b8cbe-0xe]^_0x13ae6f[_0x4b8cbe-0x10];_0x13ae6f[_0x4b8cbe]=_0x654dd5<<0x1|_0x654dd5>>>0x1f;}var _0x8f7e67=(_0x2af73e<<0x5|_0x2af73e>>>0x1b)+_0x32138f+_0x13ae6f[_0x4b8cbe];_0x4b8cbe<0x14?_0x8f7e67+=(_0x2b06e2&_0x3d381a|~_0x2b06e2&_0x3189b1)+0x5a827999:_0x4b8cbe<0x28?_0x8f7e67+=(_0x2b06e2^_0x3d381a^_0x3189b1)+0x6ed9eba1:_0x4b8cbe<0x3c?_0x8f7e67+=(_0x2b06e2&_0x3d381a|_0x2b06e2&_0x3189b1|_0x3d381a&_0x3189b1)-0x70e44324:_0x8f7e67+=(_0x2b06e2^_0x3d381a^_0x3189b1)-0x359d3e2a,_0x32138f=_0x3189b1,_0x3189b1=_0x3d381a,_0x3d381a=_0x2b06e2<<0x1e|_0x2b06e2>>>0x2,_0x2b06e2=_0x2af73e,_0x2af73e=_0x8f7e67;}_0x2f57b2[0x0]=_0x2f57b2[0x0]+_0x2af73e|0x0,_0x2f57b2[0x1]=_0x2f57b2[0x1]+_0x2b06e2|0x0,_0x2f57b2[0x2]=_0x2f57b2[0x2]+_0x3d381a|0x0,_0x2f57b2[0x3]=_0x2f57b2[0x3]+_0x3189b1|0x0,_0x2f57b2[0x4]=_0x2f57b2[0x4]+_0x32138f|0x0;},'_doFinalize':function(){const _0x1f080e=_0x5e7325;var _0x56cba3=this[_0x1f080e(0x4fc)],_0x29ebc3=_0x56cba3['words'],_0x52117f=this[_0x1f080e(0x613)]*0x8,_0x3730eb=_0x56cba3[_0x1f080e(0x396)]*0x8;return _0x29ebc3[_0x3730eb>>>0x5]|=0x80<<0x18-_0x3730eb%0x20,_0x29ebc3[(_0x3730eb+0x40>>>0x9<<0x4)+0xe]=Math[_0x1f080e(0x482)](_0x52117f/0x100000000),_0x29ebc3[(_0x3730eb+0x40>>>0x9<<0x4)+0xf]=_0x52117f,_0x56cba3[_0x1f080e(0x396)]=_0x29ebc3[_0x1f080e(0x4d9)]*0x4,this[_0x1f080e(0x3f6)](),this[_0x1f080e(0x253)];},'clone':function(){const _0x1b92c3=_0x5e7325;var _0x3dcfc2=_0x50d9c0[_0x1b92c3(0x230)][_0x1b92c3(0x246)](this);return _0x3dcfc2[_0x1b92c3(0x253)]=this[_0x1b92c3(0x253)][_0x1b92c3(0x230)](),_0x3dcfc2;}});_0x207c23[_0x5e7325(0x5f0)]=_0x50d9c0[_0x5e7325(0x5fe)](_0x492df9),_0x207c23['HmacSHA1']=_0x50d9c0[_0x5e7325(0x3c5)](_0x492df9);}()),_0x500f3d[_0x370b8e(0x5f0)];}));}(_0x4855a3)),_0x4855a3[_0x4075b8(0x3a4)];}var _0x481a78={'exports':{}},_0x227b55;function _0x3612e4(){const _0x452591=_0x2fa915;return _0x227b55||(_0x227b55=0x1,function(_0x228023,_0x487a67){(function(_0x33450c,_0x2c48f5){_0x228023['exports']=_0x2c48f5(_0x5ce923());}(_0x46cbc6,function(_0x119a2b){(function(){const _0x27fb53=_0x5275;var _0x18dd02=_0x119a2b,_0x5f07ad=_0x18dd02['lib'],_0x272581=_0x5f07ad[_0x27fb53(0x50e)],_0x398a09=_0x18dd02[_0x27fb53(0x297)],_0x436f00=_0x398a09[_0x27fb53(0x36a)],_0x425ef8=_0x18dd02[_0x27fb53(0x4dd)];_0x425ef8[_0x27fb53(0x302)]=_0x272581[_0x27fb53(0x44a)]({'init':function(_0x2bdf89,_0x274f4d){const _0x3bd78b=_0x27fb53;_0x2bdf89=this[_0x3bd78b(0x37b)]=new _0x2bdf89[(_0x3bd78b(0x558))](),typeof _0x274f4d==_0x3bd78b(0x241)&&(_0x274f4d=_0x436f00[_0x3bd78b(0x3bf)](_0x274f4d));var _0x426e01=_0x2bdf89[_0x3bd78b(0x414)],_0x3d3d70=_0x426e01*0x4;_0x274f4d[_0x3bd78b(0x396)]>_0x3d3d70&&(_0x274f4d=_0x2bdf89[_0x3bd78b(0x277)](_0x274f4d)),_0x274f4d[_0x3bd78b(0x2f9)]();for(var _0x578d92=this[_0x3bd78b(0x45d)]=_0x274f4d[_0x3bd78b(0x230)](),_0x4cb655=this['_iKey']=_0x274f4d['clone'](),_0x26e634=_0x578d92[_0x3bd78b(0x1e6)],_0x566c08=_0x4cb655['words'],_0x53b83b=0x0;_0x53b83b<_0x426e01;_0x53b83b++)_0x26e634[_0x53b83b]^=0x5c5c5c5c,_0x566c08[_0x53b83b]^=0x36363636;_0x578d92[_0x3bd78b(0x396)]=_0x4cb655['sigBytes']=_0x3d3d70,this[_0x3bd78b(0x233)]();},'reset':function(){const _0x36bce7=_0x27fb53;var _0x5b8d2e=this['_hasher'];_0x5b8d2e[_0x36bce7(0x233)](),_0x5b8d2e[_0x36bce7(0x3ab)](this[_0x36bce7(0x28a)]);},'update':function(_0x2bab0b){const _0x4468cb=_0x27fb53;return this[_0x4468cb(0x37b)][_0x4468cb(0x3ab)](_0x2bab0b),this;},'finalize':function(_0x42f222){const _0x26befd=_0x27fb53;var _0x4b6310=this[_0x26befd(0x37b)],_0x34a282=_0x4b6310[_0x26befd(0x277)](_0x42f222);_0x4b6310[_0x26befd(0x233)]();var _0x593913=_0x4b6310[_0x26befd(0x277)](this[_0x26befd(0x45d)][_0x26befd(0x230)]()[_0x26befd(0x227)](_0x34a282));return _0x593913;}});}());}));}(_0x481a78)),_0x481a78[_0x452591(0x3a4)];}var _0x792574;function _0x39a2d6(){const _0x30ea3a=_0x2fa915;return _0x792574||(_0x792574=0x1,function(_0x370c42,_0x55d645){(function(_0x3466d7,_0x28b3e5,_0x5bcf69){const _0x32febc=_0x5275;_0x370c42[_0x32febc(0x3a4)]=_0x28b3e5(_0x5ce923(),_0x36bbf4(),_0x3612e4());}(_0x46cbc6,function(_0x477d2c){const _0x4a78a7=_0x5275;return(function(){const _0x264ebc=_0x5275;var _0x1a986e=_0x477d2c,_0x4fb7d8=_0x1a986e[_0x264ebc(0x33e)],_0x559b49=_0x4fb7d8[_0x264ebc(0x50e)],_0x34f9fa=_0x4fb7d8[_0x264ebc(0x232)],_0x555d4d=_0x1a986e[_0x264ebc(0x4dd)],_0x5280b5=_0x555d4d['MD5'],_0x2b30f8=_0x555d4d['EvpKDF']=_0x559b49[_0x264ebc(0x44a)]({'cfg':_0x559b49['extend']({'keySize':0x80/0x20,'hasher':_0x5280b5,'iterations':0x1}),'init':function(_0x15c32b){const _0x5a9c2c=_0x264ebc;this[_0x5a9c2c(0x353)]=this['cfg']['extend'](_0x15c32b);},'compute':function(_0x564b8f,_0x2726d3){const _0x1587d8=_0x264ebc;for(var _0x54d04c,_0x7cdf6c=this[_0x1587d8(0x353)],_0x516977=_0x7cdf6c[_0x1587d8(0x4ff)][_0x1587d8(0x5e5)](),_0x487e58=_0x34f9fa['create'](),_0x5a07e1=_0x487e58[_0x1587d8(0x1e6)],_0x3c9e98=_0x7cdf6c[_0x1587d8(0x394)],_0x4a7dd7=_0x7cdf6c[_0x1587d8(0x582)];_0x5a07e1[_0x1587d8(0x4d9)]<_0x3c9e98;){_0x54d04c&&_0x516977['update'](_0x54d04c),_0x54d04c=_0x516977['update'](_0x564b8f)['finalize'](_0x2726d3),_0x516977['reset']();for(var _0x579846=0x1;_0x579846<_0x4a7dd7;_0x579846++)_0x54d04c=_0x516977['finalize'](_0x54d04c),_0x516977[_0x1587d8(0x233)]();_0x487e58[_0x1587d8(0x227)](_0x54d04c);}return _0x487e58[_0x1587d8(0x396)]=_0x3c9e98*0x4,_0x487e58;}});_0x1a986e['EvpKDF']=function(_0x4e4d2e,_0x2352d0,_0xb3f30a){const _0x375b24=_0x264ebc;return _0x2b30f8[_0x375b24(0x5e5)](_0xb3f30a)[_0x375b24(0x2d8)](_0x4e4d2e,_0x2352d0);};}()),_0x477d2c[_0x4a78a7(0x409)];}));}(_0x475f5d)),_0x475f5d[_0x30ea3a(0x3a4)];}var _0x38182b={'exports':{}},_0x265ab6;function _0x4781fa(){return _0x265ab6||(_0x265ab6=0x1,function(_0x29cf12,_0x1a4c2a){(function(_0x80f77f,_0x5a2fab,_0x17a444){const _0x33a20b=_0x5275;_0x29cf12[_0x33a20b(0x3a4)]=_0x5a2fab(_0x5ce923(),_0x39a2d6());}(_0x46cbc6,function(_0xe88261){const _0x2197c6=_0x5275;_0xe88261[_0x2197c6(0x33e)]['Cipher']||function(_0x2fc046){const _0xe9db09=_0x2197c6;var _0x389b37=_0xe88261,_0x160b6e=_0x389b37[_0xe9db09(0x33e)],_0xe6e624=_0x160b6e[_0xe9db09(0x50e)],_0x2fda32=_0x160b6e[_0xe9db09(0x232)],_0x13e673=_0x160b6e[_0xe9db09(0x234)],_0x1478dc=_0x389b37[_0xe9db09(0x297)];_0x1478dc['Utf8'];var _0x106218=_0x1478dc[_0xe9db09(0x1cb)],_0x5b419c=_0x389b37[_0xe9db09(0x4dd)],_0xaaebf6=_0x5b419c[_0xe9db09(0x409)],_0x4f4819=_0x160b6e[_0xe9db09(0x536)]=_0x13e673[_0xe9db09(0x44a)]({'cfg':_0xe6e624[_0xe9db09(0x44a)](),'createEncryptor':function(_0x424d8c,_0xdb0c99){const _0x476105=_0xe9db09;return this[_0x476105(0x5e5)](this[_0x476105(0x36d)],_0x424d8c,_0xdb0c99);},'createDecryptor':function(_0x1376ed,_0x34570d){const _0x564c86=_0xe9db09;return this[_0x564c86(0x5e5)](this[_0x564c86(0x513)],_0x1376ed,_0x34570d);},'init':function(_0x1c90eb,_0x5f2a23,_0x4bf762){const _0x271309=_0xe9db09;this['cfg']=this[_0x271309(0x353)]['extend'](_0x4bf762),this[_0x271309(0x5bf)]=_0x1c90eb,this['_key']=_0x5f2a23,this[_0x271309(0x233)]();},'reset':function(){_0x13e673['reset']['call'](this),this['_doReset']();},'process':function(_0x23d4b2){const _0x44d0c4=_0xe9db09;return this['_append'](_0x23d4b2),this[_0x44d0c4(0x3f6)]();},'finalize':function(_0x165195){const _0x2f13f4=_0xe9db09;_0x165195&&this[_0x2f13f4(0x1e0)](_0x165195);var _0x3ae25a=this[_0x2f13f4(0x278)]();return _0x3ae25a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2e0878(_0x183162){const _0x3bde50=_0x5275;return typeof _0x183162==_0x3bde50(0x241)?_0x2b8b01:_0x56c5f2;}return function(_0x10561b){return{'encrypt':function(_0x22399f,_0x3fc47d,_0x26226a){const _0x468614=_0x5275;return _0x2e0878(_0x3fc47d)[_0x468614(0x635)](_0x10561b,_0x22399f,_0x3fc47d,_0x26226a);},'decrypt':function(_0x2695e5,_0x13fbed,_0x47707e){const _0x419393=_0x5275;return _0x2e0878(_0x13fbed)[_0x419393(0x5a1)](_0x10561b,_0x2695e5,_0x13fbed,_0x47707e);}};};}())});_0x160b6e[_0xe9db09(0x2a0)]=_0x4f4819['extend']({'_doFinalize':function(){var _0x3ff466=this['_process'](!0x0);return _0x3ff466;},'blockSize':0x1});var _0x5d763c=_0x389b37[_0xe9db09(0x1bf)]={},_0x4ac964=_0x160b6e[_0xe9db09(0x182)]=_0xe6e624[_0xe9db09(0x44a)]({'createEncryptor':function(_0xc91e15,_0x3c462a){const _0x49c706=_0xe9db09;return this[_0x49c706(0x1c3)]['create'](_0xc91e15,_0x3c462a);},'createDecryptor':function(_0x4784be,_0x97218){const _0xa29862=_0xe9db09;return this['Decryptor'][_0xa29862(0x5e5)](_0x4784be,_0x97218);},'init':function(_0x486fa7,_0x362cbb){const _0x47909f=_0xe9db09;this[_0x47909f(0x47b)]=_0x486fa7,this['_iv']=_0x362cbb;}}),_0x763217=_0x5d763c[_0xe9db09(0x477)]=(function(){const _0x4f95ac=_0xe9db09;var _0x23b2e2=_0x4ac964['extend']();_0x23b2e2[_0x4f95ac(0x1c3)]=_0x23b2e2[_0x4f95ac(0x44a)]({'processBlock':function(_0x1d477f,_0x2a9e41){const _0x8f178=_0x4f95ac;var _0x869dc6=this[_0x8f178(0x47b)],_0x1ce20a=_0x869dc6['blockSize'];_0xbe3b04[_0x8f178(0x246)](this,_0x1d477f,_0x2a9e41,_0x1ce20a),_0x869dc6[_0x8f178(0x495)](_0x1d477f,_0x2a9e41),this['_prevBlock']=_0x1d477f[_0x8f178(0x57d)](_0x2a9e41,_0x2a9e41+_0x1ce20a);}}),_0x23b2e2[_0x4f95ac(0x5fd)]=_0x23b2e2[_0x4f95ac(0x44a)]({'processBlock':function(_0x52ac7c,_0x1f5fd0){const _0x3b4a19=_0x4f95ac;var _0x576ffa=this[_0x3b4a19(0x47b)],_0x1cb037=_0x576ffa[_0x3b4a19(0x414)],_0x3eab62=_0x52ac7c['slice'](_0x1f5fd0,_0x1f5fd0+_0x1cb037);_0x576ffa[_0x3b4a19(0x557)](_0x52ac7c,_0x1f5fd0),_0xbe3b04[_0x3b4a19(0x246)](this,_0x52ac7c,_0x1f5fd0,_0x1cb037),this[_0x3b4a19(0x4d2)]=_0x3eab62;}});function _0xbe3b04(_0x23a080,_0x207f92,_0x1270db){const _0x3b5e43=_0x4f95ac;var _0x3b8e9d,_0x841666=this[_0x3b5e43(0x1ef)];_0x841666?(_0x3b8e9d=_0x841666,this['_iv']=_0x2fc046):_0x3b8e9d=this[_0x3b5e43(0x4d2)];for(var _0x1f3300=0x0;_0x1f3300<_0x1270db;_0x1f3300++)_0x23a080[_0x207f92+_0x1f3300]^=_0x3b8e9d[_0x1f3300];}return _0x23b2e2;}()),_0x42d0fc=_0x389b37[_0xe9db09(0x212)]={},_0x5e93d3=_0x42d0fc['Pkcs7']={'pad':function(_0x45e271,_0x666a17){const _0x928cb4=_0xe9db09;for(var _0x457fd5=_0x666a17*0x4,_0x3e7633=_0x457fd5-_0x45e271[_0x928cb4(0x396)]%_0x457fd5,_0x4704bb=_0x3e7633<<0x18|_0x3e7633<<0x10|_0x3e7633<<0x8|_0x3e7633,_0x1cff91=[],_0x4c32b0=0x0;_0x4c32b0<_0x3e7633;_0x4c32b0+=0x4)_0x1cff91[_0x928cb4(0x367)](_0x4704bb);var _0x273d35=_0x2fda32[_0x928cb4(0x5e5)](_0x1cff91,_0x3e7633);_0x45e271['concat'](_0x273d35);},'unpad':function(_0x1f97a5){const _0xce16e3=_0xe9db09;var _0x3ef483=_0x1f97a5['words'][_0x1f97a5['sigBytes']-0x1>>>0x2]&0xff;_0x1f97a5[_0xce16e3(0x396)]-=_0x3ef483;}};_0x160b6e[_0xe9db09(0x4a3)]=_0x4f4819['extend']({'cfg':_0x4f4819[_0xe9db09(0x353)][_0xe9db09(0x44a)]({'mode':_0x763217,'padding':_0x5e93d3}),'reset':function(){const _0x264fe3=_0xe9db09;var _0x2a9828;_0x4f4819[_0x264fe3(0x233)][_0x264fe3(0x246)](this);var _0x33e6da=this[_0x264fe3(0x353)],_0x51d4e3=_0x33e6da['iv'],_0x5d0060=_0x33e6da[_0x264fe3(0x1bf)];this[_0x264fe3(0x5bf)]==this[_0x264fe3(0x36d)]?_0x2a9828=_0x5d0060[_0x264fe3(0x3c0)]:(_0x2a9828=_0x5d0060['createDecryptor'],this[_0x264fe3(0x1df)]=0x1),this['_mode']&&this['_mode'][_0x264fe3(0x3ca)]==_0x2a9828?this[_0x264fe3(0x56a)][_0x264fe3(0x558)](this,_0x51d4e3&&_0x51d4e3[_0x264fe3(0x1e6)]):(this[_0x264fe3(0x56a)]=_0x2a9828[_0x264fe3(0x246)](_0x5d0060,this,_0x51d4e3&&_0x51d4e3[_0x264fe3(0x1e6)]),this[_0x264fe3(0x56a)]['__creator']=_0x2a9828);},'_doProcessBlock':function(_0x1034d8,_0x5783ab){const _0x229906=_0xe9db09;this[_0x229906(0x56a)][_0x229906(0x2c3)](_0x1034d8,_0x5783ab);},'_doFinalize':function(){const _0x2a5867=_0xe9db09;var _0x335dfa,_0x59b12f=this['cfg'][_0x2a5867(0x40f)];return this[_0x2a5867(0x5bf)]==this[_0x2a5867(0x36d)]?(_0x59b12f['pad'](this[_0x2a5867(0x4fc)],this['blockSize']),_0x335dfa=this[_0x2a5867(0x3f6)](!0x0)):(_0x335dfa=this[_0x2a5867(0x3f6)](!0x0),_0x59b12f[_0x2a5867(0x4dc)](_0x335dfa)),_0x335dfa;},'blockSize':0x80/0x20});var _0x37d67b=_0x160b6e[_0xe9db09(0x1d5)]=_0xe6e624[_0xe9db09(0x44a)]({'init':function(_0x3bcbc2){const _0x4acb8f=_0xe9db09;this[_0x4acb8f(0x566)](_0x3bcbc2);},'toString':function(_0x47809c){const _0x393255=_0xe9db09;return(_0x47809c||this[_0x393255(0x446)])[_0x393255(0x621)](this);}}),_0x34b758=_0x389b37['format']={},_0x3b9dfe=_0x34b758[_0xe9db09(0x1af)]={'stringify':function(_0x2512fe){const _0x188a8d=_0xe9db09;var _0xac1128,_0xdb593e=_0x2512fe['ciphertext'],_0x2172f0=_0x2512fe[_0x188a8d(0x3a3)];return _0x2172f0?_0xac1128=_0x2fda32[_0x188a8d(0x5e5)]([0x53616c74,0x65645f5f])[_0x188a8d(0x227)](_0x2172f0)[_0x188a8d(0x227)](_0xdb593e):_0xac1128=_0xdb593e,_0xac1128[_0x188a8d(0x38a)](_0x106218);},'parse':function(_0x36000d){const _0x50dbf4=_0xe9db09;var _0x29f241,_0x4c19df=_0x106218[_0x50dbf4(0x3bf)](_0x36000d),_0x143f7e=_0x4c19df[_0x50dbf4(0x1e6)];return _0x143f7e[0x0]==0x53616c74&&_0x143f7e[0x1]==0x65645f5f&&(_0x29f241=_0x2fda32['create'](_0x143f7e[_0x50dbf4(0x57d)](0x2,0x4)),_0x143f7e[_0x50dbf4(0x21a)](0x0,0x4),_0x4c19df['sigBytes']-=0x10),_0x37d67b[_0x50dbf4(0x5e5)]({'ciphertext':_0x4c19df,'salt':_0x29f241});}},_0x56c5f2=_0x160b6e['SerializableCipher']=_0xe6e624[_0xe9db09(0x44a)]({'cfg':_0xe6e624['extend']({'format':_0x3b9dfe}),'encrypt':function(_0x55f210,_0x50ee2b,_0x1138d1,_0x14a36a){const _0x5933b2=_0xe9db09;_0x14a36a=this[_0x5933b2(0x353)]['extend'](_0x14a36a);var _0x5bd855=_0x55f210['createEncryptor'](_0x1138d1,_0x14a36a),_0x5d9f90=_0x5bd855[_0x5933b2(0x277)](_0x50ee2b),_0x541647=_0x5bd855[_0x5933b2(0x353)];return _0x37d67b[_0x5933b2(0x5e5)]({'ciphertext':_0x5d9f90,'key':_0x1138d1,'iv':_0x541647['iv'],'algorithm':_0x55f210,'mode':_0x541647[_0x5933b2(0x1bf)],'padding':_0x541647[_0x5933b2(0x40f)],'blockSize':_0x55f210[_0x5933b2(0x414)],'formatter':_0x14a36a[_0x5933b2(0x350)]});},'decrypt':function(_0x4370f1,_0x1d14a5,_0x97dab5,_0x416eb8){const _0x5b7cce=_0xe9db09;_0x416eb8=this[_0x5b7cce(0x353)]['extend'](_0x416eb8),_0x1d14a5=this[_0x5b7cce(0x2ad)](_0x1d14a5,_0x416eb8[_0x5b7cce(0x350)]);var _0x2f06b3=_0x4370f1[_0x5b7cce(0x3d3)](_0x97dab5,_0x416eb8)[_0x5b7cce(0x277)](_0x1d14a5[_0x5b7cce(0x589)]);return _0x2f06b3;},'_parse':function(_0x426cf4,_0x4ede1b){const _0x4d0932=_0xe9db09;return typeof _0x426cf4==_0x4d0932(0x241)?_0x4ede1b['parse'](_0x426cf4,this):_0x426cf4;}}),_0x5787d3=_0x389b37[_0xe9db09(0x4de)]={},_0xc077a1=_0x5787d3[_0xe9db09(0x1af)]={'execute':function(_0x3e3579,_0x379422,_0x676f5,_0x2be62a,_0x579f01){const _0x21e083=_0xe9db09;if(_0x2be62a||(_0x2be62a=_0x2fda32[_0x21e083(0x29a)](0x40/0x8)),_0x579f01)var _0x17d922=_0xaaebf6[_0x21e083(0x5e5)]({'keySize':_0x379422+_0x676f5,'hasher':_0x579f01})[_0x21e083(0x2d8)](_0x3e3579,_0x2be62a);else var _0x17d922=_0xaaebf6[_0x21e083(0x5e5)]({'keySize':_0x379422+_0x676f5})[_0x21e083(0x2d8)](_0x3e3579,_0x2be62a);var _0x2864ca=_0x2fda32[_0x21e083(0x5e5)](_0x17d922['words'][_0x21e083(0x57d)](_0x379422),_0x676f5*0x4);return _0x17d922[_0x21e083(0x396)]=_0x379422*0x4,_0x37d67b[_0x21e083(0x5e5)]({'key':_0x17d922,'iv':_0x2864ca,'salt':_0x2be62a});}},_0x2b8b01=_0x160b6e[_0xe9db09(0x306)]=_0x56c5f2[_0xe9db09(0x44a)]({'cfg':_0x56c5f2[_0xe9db09(0x353)]['extend']({'kdf':_0xc077a1}),'encrypt':function(_0x54b132,_0x697a93,_0x4415d8,_0x1e2185){const _0x4d1cad=_0xe9db09;_0x1e2185=this['cfg'][_0x4d1cad(0x44a)](_0x1e2185);var _0x1c9356=_0x1e2185[_0x4d1cad(0x4de)][_0x4d1cad(0x5d1)](_0x4415d8,_0x54b132['keySize'],_0x54b132[_0x4d1cad(0x4f9)],_0x1e2185['salt'],_0x1e2185[_0x4d1cad(0x4ff)]);_0x1e2185['iv']=_0x1c9356['iv'];var _0x3be22d=_0x56c5f2[_0x4d1cad(0x635)][_0x4d1cad(0x246)](this,_0x54b132,_0x697a93,_0x1c9356['key'],_0x1e2185);return _0x3be22d[_0x4d1cad(0x566)](_0x1c9356),_0x3be22d;},'decrypt':function(_0x141adc,_0x5a48f9,_0x4fe29d,_0x602136){const _0x17d11d=_0xe9db09;_0x602136=this['cfg'][_0x17d11d(0x44a)](_0x602136),_0x5a48f9=this[_0x17d11d(0x2ad)](_0x5a48f9,_0x602136[_0x17d11d(0x350)]);var _0x40b223=_0x602136['kdf']['execute'](_0x4fe29d,_0x141adc[_0x17d11d(0x394)],_0x141adc[_0x17d11d(0x4f9)],_0x5a48f9[_0x17d11d(0x3a3)],_0x602136[_0x17d11d(0x4ff)]);_0x602136['iv']=_0x40b223['iv'];var _0x20a76b=_0x56c5f2[_0x17d11d(0x5a1)][_0x17d11d(0x246)](this,_0x141adc,_0x5a48f9,_0x40b223['key'],_0x602136);return _0x20a76b;}});}();}));}(_0x38182b)),_0x38182b['exports'];}(function(_0x2caf85,_0x488cd9){(function(_0x5961cd,_0x104276,_0x46be28){const _0x1d81c6=_0x5275;_0x2caf85[_0x1d81c6(0x3a4)]=_0x104276(_0x5ce923(),_0x235b13(),_0x12bb34(),_0x39a2d6(),_0x4781fa());}(_0x46cbc6,function(_0x52988a){const _0x4dddde=_0x5275;return(function(){const _0x17d265=_0x5275;var _0x57c35c=_0x52988a,_0x5bdd7c=_0x57c35c['lib'],_0x16934a=_0x5bdd7c['BlockCipher'],_0x112d8c=_0x57c35c['algo'],_0xeb711a=[],_0x40d11f=[],_0x5dd973=[],_0x465c9e=[],_0x218ee5=[],_0x42a7be=[],_0x427f37=[],_0x325dc0=[],_0xe46ad6=[],_0x96caff=[];(function(){for(var _0x518968=[],_0x489a27=0x0;_0x489a27<0x100;_0x489a27++)_0x489a27<0x80?_0x518968[_0x489a27]=_0x489a27<<0x1:_0x518968[_0x489a27]=_0x489a27<<0x1^0x11b;for(var _0x39a4dc=0x0,_0x22984e=0x0,_0x489a27=0x0;_0x489a27<0x100;_0x489a27++){var _0x343ccc=_0x22984e^_0x22984e<<0x1^_0x22984e<<0x2^_0x22984e<<0x3^_0x22984e<<0x4;_0x343ccc=_0x343ccc>>>0x8^_0x343ccc&0xff^0x63,_0xeb711a[_0x39a4dc]=_0x343ccc,_0x40d11f[_0x343ccc]=_0x39a4dc;var _0x1f29a0=_0x518968[_0x39a4dc],_0x45bd48=_0x518968[_0x1f29a0],_0x1ee0ac=_0x518968[_0x45bd48],_0x7275eb=_0x518968[_0x343ccc]*0x101^_0x343ccc*0x1010100;_0x5dd973[_0x39a4dc]=_0x7275eb<<0x18|_0x7275eb>>>0x8,_0x465c9e[_0x39a4dc]=_0x7275eb<<0x10|_0x7275eb>>>0x10,_0x218ee5[_0x39a4dc]=_0x7275eb<<0x8|_0x7275eb>>>0x18,_0x42a7be[_0x39a4dc]=_0x7275eb;var _0x7275eb=_0x1ee0ac*0x1010101^_0x45bd48*0x10001^_0x1f29a0*0x101^_0x39a4dc*0x1010100;_0x427f37[_0x343ccc]=_0x7275eb<<0x18|_0x7275eb>>>0x8,_0x325dc0[_0x343ccc]=_0x7275eb<<0x10|_0x7275eb>>>0x10,_0xe46ad6[_0x343ccc]=_0x7275eb<<0x8|_0x7275eb>>>0x18,_0x96caff[_0x343ccc]=_0x7275eb,_0x39a4dc?(_0x39a4dc=_0x1f29a0^_0x518968[_0x518968[_0x518968[_0x1ee0ac^_0x1f29a0]]],_0x22984e^=_0x518968[_0x518968[_0x22984e]]):_0x39a4dc=_0x22984e=0x1;}}());var _0x4da3bb=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4e2b22=_0x112d8c['AES']=_0x16934a[_0x17d265(0x44a)]({'_doReset':function(){const _0x435255=_0x17d265;var _0x543ef9;if(!(this[_0x435255(0x19f)]&&this[_0x435255(0x55c)]===this[_0x435255(0x506)])){for(var _0x46d92e=this[_0x435255(0x55c)]=this['_key'],_0x405f1f=_0x46d92e[_0x435255(0x1e6)],_0x52e696=_0x46d92e[_0x435255(0x396)]/0x4,_0xc7d14e=this[_0x435255(0x19f)]=_0x52e696+0x6,_0x486c40=(_0xc7d14e+0x1)*0x4,_0xbe9544=this[_0x435255(0x2da)]=[],_0x27c52a=0x0;_0x27c52a<_0x486c40;_0x27c52a++)_0x27c52a<_0x52e696?_0xbe9544[_0x27c52a]=_0x405f1f[_0x27c52a]:(_0x543ef9=_0xbe9544[_0x27c52a-0x1],_0x27c52a%_0x52e696?_0x52e696>0x6&&_0x27c52a%_0x52e696==0x4&&(_0x543ef9=_0xeb711a[_0x543ef9>>>0x18]<<0x18|_0xeb711a[_0x543ef9>>>0x10&0xff]<<0x10|_0xeb711a[_0x543ef9>>>0x8&0xff]<<0x8|_0xeb711a[_0x543ef9&0xff]):(_0x543ef9=_0x543ef9<<0x8|_0x543ef9>>>0x18,_0x543ef9=_0xeb711a[_0x543ef9>>>0x18]<<0x18|_0xeb711a[_0x543ef9>>>0x10&0xff]<<0x10|_0xeb711a[_0x543ef9>>>0x8&0xff]<<0x8|_0xeb711a[_0x543ef9&0xff],_0x543ef9^=_0x4da3bb[_0x27c52a/_0x52e696|0x0]<<0x18),_0xbe9544[_0x27c52a]=_0xbe9544[_0x27c52a-_0x52e696]^_0x543ef9);for(var _0x2a0650=this['_invKeySchedule']=[],_0x13001f=0x0;_0x13001f<_0x486c40;_0x13001f++){var _0x27c52a=_0x486c40-_0x13001f;if(_0x13001f%0x4)var _0x543ef9=_0xbe9544[_0x27c52a];else var _0x543ef9=_0xbe9544[_0x27c52a-0x4];_0x13001f<0x4||_0x27c52a<=0x4?_0x2a0650[_0x13001f]=_0x543ef9:_0x2a0650[_0x13001f]=_0x427f37[_0xeb711a[_0x543ef9>>>0x18]]^_0x325dc0[_0xeb711a[_0x543ef9>>>0x10&0xff]]^_0xe46ad6[_0xeb711a[_0x543ef9>>>0x8&0xff]]^_0x96caff[_0xeb711a[_0x543ef9&0xff]];}}},'encryptBlock':function(_0x2c9da9,_0x3ae94a){const _0x384dd3=_0x17d265;this[_0x384dd3(0x184)](_0x2c9da9,_0x3ae94a,this[_0x384dd3(0x2da)],_0x5dd973,_0x465c9e,_0x218ee5,_0x42a7be,_0xeb711a);},'decryptBlock':function(_0x4076a0,_0x138aea){const _0x42fb95=_0x17d265;var _0x2ad0b9=_0x4076a0[_0x138aea+0x1];_0x4076a0[_0x138aea+0x1]=_0x4076a0[_0x138aea+0x3],_0x4076a0[_0x138aea+0x3]=_0x2ad0b9,this[_0x42fb95(0x184)](_0x4076a0,_0x138aea,this[_0x42fb95(0x176)],_0x427f37,_0x325dc0,_0xe46ad6,_0x96caff,_0x40d11f);var _0x2ad0b9=_0x4076a0[_0x138aea+0x1];_0x4076a0[_0x138aea+0x1]=_0x4076a0[_0x138aea+0x3],_0x4076a0[_0x138aea+0x3]=_0x2ad0b9;},'_doCryptBlock':function(_0x49f6f9,_0x264dd4,_0x3d2e19,_0x55e33e,_0x3ed41d,_0x4373eb,_0x34f790,_0x3e156d){const _0x28de7f=_0x17d265;for(var _0x45519a=this[_0x28de7f(0x19f)],_0x39258f=_0x49f6f9[_0x264dd4]^_0x3d2e19[0x0],_0x47c62a=_0x49f6f9[_0x264dd4+0x1]^_0x3d2e19[0x1],_0x5d70a1=_0x49f6f9[_0x264dd4+0x2]^_0x3d2e19[0x2],_0x53c2d1=_0x49f6f9[_0x264dd4+0x3]^_0x3d2e19[0x3],_0x14c435=0x4,_0x5bbf89=0x1;_0x5bbf89<_0x45519a;_0x5bbf89++){var _0x2e7e79=_0x55e33e[_0x39258f>>>0x18]^_0x3ed41d[_0x47c62a>>>0x10&0xff]^_0x4373eb[_0x5d70a1>>>0x8&0xff]^_0x34f790[_0x53c2d1&0xff]^_0x3d2e19[_0x14c435++],_0x3aa851=_0x55e33e[_0x47c62a>>>0x18]^_0x3ed41d[_0x5d70a1>>>0x10&0xff]^_0x4373eb[_0x53c2d1>>>0x8&0xff]^_0x34f790[_0x39258f&0xff]^_0x3d2e19[_0x14c435++],_0x4c69f2=_0x55e33e[_0x5d70a1>>>0x18]^_0x3ed41d[_0x53c2d1>>>0x10&0xff]^_0x4373eb[_0x39258f>>>0x8&0xff]^_0x34f790[_0x47c62a&0xff]^_0x3d2e19[_0x14c435++],_0x8aade2=_0x55e33e[_0x53c2d1>>>0x18]^_0x3ed41d[_0x39258f>>>0x10&0xff]^_0x4373eb[_0x47c62a>>>0x8&0xff]^_0x34f790[_0x5d70a1&0xff]^_0x3d2e19[_0x14c435++];_0x39258f=_0x2e7e79,_0x47c62a=_0x3aa851,_0x5d70a1=_0x4c69f2,_0x53c2d1=_0x8aade2;}var _0x2e7e79=(_0x3e156d[_0x39258f>>>0x18]<<0x18|_0x3e156d[_0x47c62a>>>0x10&0xff]<<0x10|_0x3e156d[_0x5d70a1>>>0x8&0xff]<<0x8|_0x3e156d[_0x53c2d1&0xff])^_0x3d2e19[_0x14c435++],_0x3aa851=(_0x3e156d[_0x47c62a>>>0x18]<<0x18|_0x3e156d[_0x5d70a1>>>0x10&0xff]<<0x10|_0x3e156d[_0x53c2d1>>>0x8&0xff]<<0x8|_0x3e156d[_0x39258f&0xff])^_0x3d2e19[_0x14c435++],_0x4c69f2=(_0x3e156d[_0x5d70a1>>>0x18]<<0x18|_0x3e156d[_0x53c2d1>>>0x10&0xff]<<0x10|_0x3e156d[_0x39258f>>>0x8&0xff]<<0x8|_0x3e156d[_0x47c62a&0xff])^_0x3d2e19[_0x14c435++],_0x8aade2=(_0x3e156d[_0x53c2d1>>>0x18]<<0x18|_0x3e156d[_0x39258f>>>0x10&0xff]<<0x10|_0x3e156d[_0x47c62a>>>0x8&0xff]<<0x8|_0x3e156d[_0x5d70a1&0xff])^_0x3d2e19[_0x14c435++];_0x49f6f9[_0x264dd4]=_0x2e7e79,_0x49f6f9[_0x264dd4+0x1]=_0x3aa851,_0x49f6f9[_0x264dd4+0x2]=_0x4c69f2,_0x49f6f9[_0x264dd4+0x3]=_0x8aade2;},'keySize':0x100/0x20});_0x57c35c[_0x17d265(0x551)]=_0x16934a['_createHelper'](_0x4e2b22);}()),_0x52988a[_0x4dddde(0x551)];}));}(_0x1b376e));var _0x4142d9=_0x1b376e[_0x2fa915(0x3a4)];const _0x29fbe7=_0x1de184(_0x4142d9);var _0x522b49=_0x235b13();const _0x22975f=_0x1de184(_0x522b49);var _0x243f1d={'exports':{}};(function(_0x4198b6,_0x572df4){(function(_0x5cca92,_0x216364){const _0x5a4753=_0x5275;_0x4198b6[_0x5a4753(0x3a4)]=_0x216364(_0x5ce923());}(_0x46cbc6,function(_0x50b6de){const _0x74286e=_0x5275;return _0x50b6de[_0x74286e(0x297)][_0x74286e(0x36a)];}));}(_0x243f1d));var _0x1babdf=_0x243f1d['exports'];const _0x300a70=_0x1de184(_0x1babdf);var _0x38c494={'exports':{}};(function(_0x39529e,_0x40c1f8){(function(_0x2833cc,_0x2ed984){const _0xbda200=_0x5275;_0x39529e[_0xbda200(0x3a4)]=_0x2ed984(_0x5ce923());}(_0x46cbc6,function(_0x1c4d7a){const _0x2d6004=_0x5275;return(function(){const _0x3c0127=_0x5275;if(typeof ArrayBuffer=='function'){var _0x209f4a=_0x1c4d7a,_0x300513=_0x209f4a[_0x3c0127(0x33e)],_0xc8fa71=_0x300513[_0x3c0127(0x232)],_0x4ed322=_0xc8fa71[_0x3c0127(0x558)],_0x331692=_0xc8fa71['init']=function(_0x305c60){const _0x27173b=_0x3c0127;if(_0x305c60 instanceof ArrayBuffer&&(_0x305c60=new Uint8Array(_0x305c60)),(_0x305c60 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x305c60 instanceof Uint8ClampedArray||_0x305c60 instanceof Int16Array||_0x305c60 instanceof Uint16Array||_0x305c60 instanceof Int32Array||_0x305c60 instanceof Uint32Array||_0x305c60 instanceof Float32Array||_0x305c60 instanceof Float64Array)&&(_0x305c60=new Uint8Array(_0x305c60['buffer'],_0x305c60[_0x27173b(0x46a)],_0x305c60[_0x27173b(0x2ee)])),_0x305c60 instanceof Uint8Array){for(var _0x1c6c71=_0x305c60[_0x27173b(0x2ee)],_0x1ca525=[],_0x4429ec=0x0;_0x4429ec<_0x1c6c71;_0x4429ec++)_0x1ca525[_0x4429ec>>>0x2]|=_0x305c60[_0x4429ec]<<0x18-_0x4429ec%0x4*0x8;_0x4ed322['call'](this,_0x1ca525,_0x1c6c71);}else _0x4ed322['apply'](this,arguments);};_0x331692['prototype']=_0xc8fa71;}}()),_0x1c4d7a[_0x2d6004(0x33e)]['WordArray'];}));}(_0x38c494));var _0x1021a1=_0x38c494[_0x2fa915(0x3a4)];const _0x225d16=_0x1de184(_0x1021a1);var _0x15aaac={'exports':{}};(function(_0x23a258,_0x42886c){(function(_0x74160c,_0x379e9b,_0x505d74){const _0x22d5f6=_0x5275;_0x23a258[_0x22d5f6(0x3a4)]=_0x379e9b(_0x5ce923(),_0x4781fa());}(_0x46cbc6,function(_0x2eeab9){const _0x2b5c7f=_0x5275;return _0x2eeab9['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x2eeab9[_0x2b5c7f(0x212)][_0x2b5c7f(0x52c)];}));}(_0x15aaac));var _0x4c22d0=_0x15aaac[_0x2fa915(0x3a4)];const _0x4bfa9d=_0x1de184(_0x4c22d0);function _0x102ce0(_0x4357b1,_0xde0691){const _0x464816=_0x2fa915,_0x55f1e8=_0xde0691-_0x4357b1[_0x464816(0x4d9)]%_0xde0691,_0x112bcc=String[_0x464816(0x1b0)](_0x55f1e8)[_0x464816(0x31d)](_0x55f1e8);return _0x4357b1+_0x112bcc;}function _0x4d11ef(_0x38b515,_0x303cba){const _0x5908d3=_0x2fa915,_0x5f13e4=_0x225d16[_0x5908d3(0x29a)](0x10),_0x5661a4=_0x102ce0(_0x38b515,0x10),_0xe03350=_0x29fbe7[_0x5908d3(0x635)](_0x300a70[_0x5908d3(0x3bf)](_0x5661a4),_0x22975f[_0x5908d3(0x3bf)](_0x303cba),{'iv':_0x5f13e4,'padding':_0x4bfa9d});return _0x5f13e4[_0x5908d3(0x227)](_0xe03350[_0x5908d3(0x589)])['toString'](_0x22975f);}function _0x307c74(){const _0x5773f7=_0x2fa915,_0x4e31e4=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x5773f7(0x617)];if(_0x4e31e4){const _0x5d5843={'time':Math[_0x5773f7(0x482)](Date[_0x5773f7(0x24a)]()/0x3e8),'domain':location[_0x5773f7(0x2aa)]};return _0x4d11ef(JSON[_0x5773f7(0x621)](_0x5d5843),_0x4e31e4);}}var _0x296731=Object[_0x2fa915(0x44e)],_0x372998=Object[_0x2fa915(0x569)],_0x4922ed=(_0x9a0b68,_0x368c1a,_0xea9357,_0x36d022)=>{const _0x1d33fb=_0x2fa915;for(var _0x26403c=_0x36d022>0x1?void 0x0:_0x36d022?_0x372998(_0x368c1a,_0xea9357):_0x368c1a,_0x275920=_0x9a0b68[_0x1d33fb(0x4d9)]-0x1,_0x3e0f21;_0x275920>=0x0;_0x275920--)(_0x3e0f21=_0x9a0b68[_0x275920])&&(_0x26403c=(_0x36d022?_0x3e0f21(_0x368c1a,_0xea9357,_0x26403c):_0x3e0f21(_0x26403c))||_0x26403c);return _0x36d022&&_0x26403c&&_0x296731(_0x368c1a,_0xea9357,_0x26403c),_0x26403c;},_0x205a57=(_0x281b24,_0x3c6c16)=>(_0x5e1eee,_0x37de2f)=>_0x3c6c16(_0x5e1eee,_0x37de2f,_0x281b24);let _0x10d588=class{constructor(_0x43fe92){const _0x5b88d4=_0x2fa915;this[_0x5b88d4(0x62e)]=_0x43fe92,this[_0x5b88d4(0x202)]();}['_initRequestHeader'](){const _0x182067=_0x2fa915;this[_0x182067(0x62e)][_0x182067(0x5ab)]({'interceptor':(_0x155ea4,_0x10590c)=>{const _0x5463aa=_0x182067,_0x31b1e2=_0x155ea4[_0x5463aa(0x5e7)],_0x24a9dc=_0x307c74();return _0x24a9dc&&_0x31b1e2['set']('x-univer-host',_0x24a9dc),_0x10590c(_0x155ea4);}});}};_0x10d588=_0x4922ed([_0x205a57(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x108d2c['HTTPService']))],_0x10d588);var _0x5788f6=Object[_0x2fa915(0x44e)],_0x3abb61=Object[_0x2fa915(0x569)],_0x5b8e0a=(_0x35a865,_0x2f5148,_0x5a9d2e,_0x141439)=>{const _0x333374=_0x2fa915;for(var _0xe1f40e=_0x141439>0x1?void 0x0:_0x141439?_0x3abb61(_0x2f5148,_0x5a9d2e):_0x2f5148,_0x6adb0a=_0x35a865[_0x333374(0x4d9)]-0x1,_0x5006e8;_0x6adb0a>=0x0;_0x6adb0a--)(_0x5006e8=_0x35a865[_0x6adb0a])&&(_0xe1f40e=(_0x141439?_0x5006e8(_0x2f5148,_0x5a9d2e,_0xe1f40e):_0x5006e8(_0xe1f40e))||_0xe1f40e);return _0x141439&&_0xe1f40e&&_0x5788f6(_0x2f5148,_0x5a9d2e,_0xe1f40e),_0xe1f40e;},_0x28870c=(_0xebf081,_0x571bc4)=>(_0x34b36e,_0x580c19)=>_0x571bc4(_0x34b36e,_0x580c19,_0xebf081);const _0x567576=['image/png','image/jpeg','image/jpg',_0x2fa915(0x4ac),_0x2fa915(0x435)],_0x5dc1af=0x5*0x400*0x400,_0x3ef7d1=_0x2fa915(0x479),_0x340bfb=_0x2fa915(0x2b6),_0x2ed414=_0x2fa915(0x62a),_0x153c07=_0x2fa915(0x485);_0x539c7e['ImageIoService']=class{constructor(_0x151ab6,_0x30025f,_0x19288f){const _0x5a0ad5=_0x2fa915;_0x339ceb(this,_0x5a0ad5(0x55d),0x0),_0x339ceb(this,_0x5a0ad5(0x2b0),new _0x3eec93['Subject']()),_0x339ceb(this,_0x5a0ad5(0x388),this[_0x5a0ad5(0x2b0)]),_0x339ceb(this,_0x5a0ad5(0x570),new Map()),(this[_0x5a0ad5(0x62e)]=_0x151ab6,this[_0x5a0ad5(0x4e4)]=_0x30025f,this[_0x5a0ad5(0x3c1)]=_0x19288f);}[_0x2fa915(0x517)](_0xc1d466){const _0x4cb9c8=_0x2fa915;this[_0x4cb9c8(0x55d)]=_0xc1d466,this[_0x4cb9c8(0x2b0)][_0x4cb9c8(0x1c9)](_0xc1d466);}['getImageSourceCache'](_0x2d2f71,_0x4edfb7){const _0x5e8492=_0x2fa915;if(_0x4edfb7===_0x4fc574['ImageSourceType'][_0x5e8492(0x173)]){const _0x3bbc7f=new Image();return _0x3bbc7f[_0x5e8492(0x2df)]=_0x2d2f71,_0x3bbc7f;}return this[_0x5e8492(0x570)][_0x5e8492(0x4a0)](_0x2d2f71);}['addImageSourceCache'](_0x14a94d,_0x305c9a,_0x5a4f61){const _0x3dd3f3=_0x2fa915;_0x305c9a===_0x4fc574[_0x3dd3f3(0x180)][_0x3dd3f3(0x173)]||_0x5a4f61==null||this[_0x3dd3f3(0x570)][_0x3dd3f3(0x498)](_0x14a94d,_0x5a4f61);}async[_0x2fa915(0x567)](_0x5a8301){const _0x335d41=_0x2fa915;try{const _0x2bd59a=this[_0x335d41(0x56c)](this[_0x335d41(0x503)](),''+_0x5a8301),_0x4166f9=(await this['_httpService'][_0x335d41(0x4a0)](_0x2bd59a))[_0x335d41(0x2e6)];if(_0x4166f9[_0x335d41(0x3a9)]&&_0x4166f9['error']['code']===_0x58d884['OK']){const _0x272bc8=new URL(_0x4166f9[_0x335d41(0x1a6)],this[_0x335d41(0x5a2)]())['toString']();return Promise['resolve'](_0x272bc8);}return Promise['reject'](_0x4166f9[_0x335d41(0x3a9)]);}catch(_0x540070){return Promise[_0x335d41(0x351)](_0x540070);}}async['saveImage'](_0x3c247e){const _0x1cb818=_0x2fa915;let _0xe664cd='';if(!_0x567576[_0x1cb818(0x5c3)](_0x3c247e['type']))return this['_decreaseWaiting'](),Promise[_0x1cb818(0x351)](new Error(_0x4fc574[_0x1cb818(0x326)]['ERROR_IMAGE_TYPE']));if(_0x3c247e['size']>_0x5dc1af)return this['_decreaseWaiting'](),Promise[_0x1cb818(0x351)](new Error(_0x4fc574[_0x1cb818(0x326)][_0x1cb818(0x21b)]));try{const _0x34d9ce=new FormData();_0x34d9ce[_0x1cb818(0x594)](_0x1cb818(0x3af),_0x3c247e);const _0x3267a5=this[_0x1cb818(0x3c1)]['getFocusedUnit'](),_0x2154cd=_0x3267a5==null?void 0x0:_0x3267a5[_0x1cb818(0x1d9)]();if(!_0x2154cd)throw new Error(_0x1cb818(0x4be));const _0xb692c1=this[_0x1cb818(0x3b3)]()+_0x1cb818(0x45f)+_0x3c247e[_0x1cb818(0x18b)][_0x1cb818(0x38a)]()+_0x1cb818(0x261)+_0x2ec092[_0x1cb818(0x1eb)]+_0x1cb818(0x40d)+encodeURIComponent(_0x2154cd),_0x5bc606=await(await fetch(_0xb692c1,{'method':'POST','body':_0x34d9ce}))['json']();if(typeof _0x5bc606[_0x1cb818(0x626)]!=_0x1cb818(0x241))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x4fc574[_0x1cb818(0x326)]['ERROR_IMAGE']));_0xe664cd=_0x5bc606[_0x1cb818(0x626)];}catch{return this[_0x1cb818(0x3dd)](),Promise['reject'](new Error(_0x4fc574[_0x1cb818(0x326)]['ERROR_IMAGE']));}return new Promise((_0x4b1396,_0x465f09)=>{const _0x4de934=_0x1cb818,_0x516214=new FileReader();_0x516214[_0x4de934(0x4da)](_0x3c247e),_0x516214[_0x4de934(0x5bb)]=_0x19b0b4=>{const _0x5cf87e=_0x4de934;var _0x3b4577;const _0x581640=(_0x3b4577=_0x19b0b4[_0x5cf87e(0x22a)])==null?void 0x0:_0x3b4577['result'];if(_0x581640==null){this[_0x5cf87e(0x3dd)](),_0x465f09(new Error(_0x4fc574[_0x5cf87e(0x326)][_0x5cf87e(0x46c)]));return;}const _0x5cc93f=_0x4587e1[_0x5cf87e(0x5f7)][_0x5cf87e(0x334)](0x6);_0x4b1396({'imageId':_0x5cc93f,'imageSourceType':_0x4fc574['ImageSourceType'][_0x5cf87e(0x2cd)],'source':_0xe664cd,'base64Cache':_0x581640,'status':_0x4fc574[_0x5cf87e(0x326)]['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x2fa915(0x3b3)](){const _0x1b3eb3=_0x2fa915;var _0x4fe6f6,_0x414958;const _0x1ebb0c=this[_0x1b3eb3(0x4e4)][_0x1b3eb3(0x185)](_0x3ef7d1),_0xa95247=this[_0x1b3eb3(0x4e4)][_0x1b3eb3(0x185)](_0x152bb8);return(_0x414958=(_0x4fe6f6=_0xa95247==null?void 0x0:_0xa95247[_0x1b3eb3(0x555)])!=null?_0x4fe6f6:_0x1ebb0c)!=null?_0x414958:_0x340bfb;}[_0x2fa915(0x503)](){const _0x42af0d=_0x2fa915;var _0xc36b3d,_0x58e650;const _0x11682e=this[_0x42af0d(0x4e4)][_0x42af0d(0x185)](_0x2ed414),_0x3b59fd=this[_0x42af0d(0x4e4)][_0x42af0d(0x185)](_0x152bb8);return(_0x58e650=(_0xc36b3d=_0x3b59fd==null?void 0x0:_0x3b59fd['signUrlServerUrl'])!=null?_0xc36b3d:_0x11682e)!=null?_0x58e650:_0x153c07;}[_0x2fa915(0x5a2)](){const _0x5f07c7=_0x2fa915;var _0x1b1549;const _0x3d53a6=this[_0x5f07c7(0x4e4)][_0x5f07c7(0x185)](_0x152bb8);return(_0x1b1549=_0x3d53a6==null?void 0x0:_0x3d53a6['downloadEndpointUrl'])!=null?_0x1b1549:location[_0x5f07c7(0x505)];}[_0x2fa915(0x56c)](_0x181001,_0x53101c){const _0x2133f4=_0x2fa915;return _0x181001[_0x2133f4(0x1a2)]('{fileID}',_0x53101c);}[_0x2fa915(0x3dd)](){const _0x23daaa=_0x2fa915;this['_waitCount']-=0x1,this['_change$']['next'](this[_0x23daaa(0x55d)]);}},_0x539c7e[_0x2fa915(0x53e)]=_0x5b8e0a([_0x28870c(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x108d2c['HTTPService'])),_0x28870c(0x1,_0x4587e1[_0x2fa915(0x628)]),_0x28870c(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x53b)]))],_0x539c7e[_0x2fa915(0x53e)]);var _0x567f8d=Object[_0x2fa915(0x44e)],_0x8d5c61=Object[_0x2fa915(0x569)],_0xea8fb6=(_0x5d7a44,_0x28000a,_0x3e29bc,_0x2fd83c)=>{const _0x5bbb39=_0x2fa915;for(var _0x1ecce4=_0x2fd83c>0x1?void 0x0:_0x2fd83c?_0x8d5c61(_0x28000a,_0x3e29bc):_0x28000a,_0x5269d0=_0x5d7a44[_0x5bbb39(0x4d9)]-0x1,_0x22e7ca;_0x5269d0>=0x0;_0x5269d0--)(_0x22e7ca=_0x5d7a44[_0x5269d0])&&(_0x1ecce4=(_0x2fd83c?_0x22e7ca(_0x28000a,_0x3e29bc,_0x1ecce4):_0x22e7ca(_0x1ecce4))||_0x1ecce4);return _0x2fd83c&&_0x1ecce4&&_0x567f8d(_0x28000a,_0x3e29bc,_0x1ecce4),_0x1ecce4;},_0x2ae8b5=(_0x54e134,_0x3084ef)=>(_0x3fdebf,_0x2d585b)=>_0x3084ef(_0x3fdebf,_0x2d585b,_0x54e134);let _0x571cf0=class extends _0x4587e1[_0x2fa915(0x5b2)]{constructor(_0x286427,_0x43aeca,_0x4b5508,_0x27492c,_0x2943f3){const _0x1c3fbe=_0x2fa915;super(),this['_injector']=_0x286427,this[_0x1c3fbe(0x3c1)]=_0x43aeca,this[_0x1c3fbe(0x27f)]=_0x4b5508,this[_0x1c3fbe(0x31a)]=_0x27492c,this[_0x1c3fbe(0x497)]=_0x2943f3,this[_0x1c3fbe(0x2f5)](),this['_initCloseConn']();}[_0x2fa915(0x4f5)](){const _0x252312=_0x2fa915,_0x5c126c=async _0xd08fc=>{const _0xeda032=_0x5275;(await this[_0xeda032(0x31a)][_0xeda032(0x3ef)](_0xd08fc))[_0xeda032(0x4ca)][_0xeda032(0x276)](_0x18f07e['filter'](_0x4685a4=>_0x4685a4[_0xeda032(0x526)]===_0x215e4a[_0xeda032(0x27c)][_0xeda032(0x616)]),_0x18f07e['takeUntil'](this[_0xeda032(0x1ad)]))[_0xeda032(0x447)](_0x4e9eb9=>{const _0x32a947=_0xeda032,_0x360054=_0x4e9eb9,{reason:_0x103fbb}=_0x360054[_0x32a947(0x273)];this['_injector']['get'](_0x3163bd[_0x32a947(0x259)])[_0x32a947(0x1ca)]({'type':_0x40b71f['MessageType'][_0x32a947(0x490)],'content':this[_0x32a947(0x497)]['t'](_0x32a947(0x341))+'('+_0x103fbb+')'}),this[_0x32a947(0x27f)]['updatePermissionPoint'](new _0x27d820[(_0x32a947(0x3da))](_0xd08fc)['id'],!0x1),this[_0x32a947(0x31a)][_0x32a947(0x465)](_0xd08fc);});};_0x3eec93[_0x252312(0x538)](this[_0x252312(0x3c1)][_0x252312(0x39e)](_0x4587e1[_0x252312(0x637)][_0x252312(0x3ee)]),this[_0x252312(0x3c1)][_0x252312(0x39e)](_0x4587e1[_0x252312(0x637)][_0x252312(0x27b)]))[_0x252312(0x276)](_0x18f07e[_0x252312(0x252)](_0x24e8a6=>_0x24e8a6[_0x252312(0x1d9)]()),_0x18f07e[_0x252312(0x333)](_0x45fb42=>!_0x4587e1[_0x252312(0x4e6)](_0x45fb42)),_0x18f07e['takeUntil'](this['dispose$']))[_0x252312(0x447)](_0x532894=>{_0x5c126c(_0x532894);});}['_initUnitPermissionChange'](){const _0x27645b=_0x2fa915,_0x4f6bca=async _0x41da18=>{const _0x59d092=_0x5275;(await this[_0x59d092(0x31a)][_0x59d092(0x3ef)](_0x41da18))[_0x59d092(0x4ca)]['pipe'](_0x18f07e[_0x59d092(0x333)](_0x71a5af=>_0x71a5af[_0x59d092(0x526)]===_0x215e4a[_0x59d092(0x27c)][_0x59d092(0x401)]),_0x18f07e[_0x59d092(0x2b3)](this[_0x59d092(0x1ad)]))[_0x59d092(0x447)](_0xe5a0f=>{const _0x477f2f=_0x59d092,_0x31947a=_0xe5a0f,{objectId:_0x35b59b}=_0x31947a[_0x477f2f(0x273)],_0x1a9fe0=this[_0x477f2f(0x60e)][_0x477f2f(0x4a0)](_0x23bfa7[_0x477f2f(0x604)]);_0x35b59b===_0x41da18?_0x1a9fe0[_0x477f2f(0x3a7)](_0x41da18):_0x1a9fe0['refreshPermission'](_0x41da18,_0x35b59b);});};_0x3eec93[_0x27645b(0x538)](this[_0x27645b(0x3c1)][_0x27645b(0x39e)](_0x4587e1[_0x27645b(0x637)][_0x27645b(0x3ee)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4587e1[_0x27645b(0x637)][_0x27645b(0x27b)]))[_0x27645b(0x276)](_0x18f07e['map'](_0x18f7e7=>_0x18f7e7[_0x27645b(0x1d9)]()),_0x18f07e[_0x27645b(0x333)](_0x2174aa=>!_0x4587e1['isInternalEditorID'](_0x2174aa)),_0x18f07e[_0x27645b(0x2b3)](this[_0x27645b(0x1ad)]))[_0x27645b(0x447)](_0x439828=>{_0x4f6bca(_0x439828);});}};_0x571cf0=_0xea8fb6([_0x2ae8b5(0x0,_0x4587e1['Inject'](_0x4587e1[_0x2fa915(0x403)])),_0x2ae8b5(0x1,_0x4587e1[_0x2fa915(0x53b)]),_0x2ae8b5(0x2,_0x4587e1[_0x2fa915(0x220)]),_0x2ae8b5(0x3,_0x4587e1['Inject'](_0x539c7e['CollaborationSessionService'])),_0x2ae8b5(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x1e2)]))],_0x571cf0);var _0x3dda2d=Object[_0x2fa915(0x44e)],_0x5b3c46=Object[_0x2fa915(0x569)],_0x5df394=(_0x4149d9,_0x6d566,_0x26887e,_0x131342)=>{const _0x4c79d5=_0x2fa915;for(var _0x110026=_0x131342>0x1?void 0x0:_0x131342?_0x5b3c46(_0x6d566,_0x26887e):_0x6d566,_0x114ba3=_0x4149d9[_0x4c79d5(0x4d9)]-0x1,_0x43338e;_0x114ba3>=0x0;_0x114ba3--)(_0x43338e=_0x4149d9[_0x114ba3])&&(_0x110026=(_0x131342?_0x43338e(_0x6d566,_0x26887e,_0x110026):_0x43338e(_0x110026))||_0x110026);return _0x131342&&_0x110026&&_0x3dda2d(_0x6d566,_0x26887e,_0x110026),_0x110026;},_0x24d55a=(_0x844141,_0x4c181a)=>(_0x426efc,_0x507c52)=>_0x4c181a(_0x426efc,_0x507c52,_0x844141);_0x539c7e[_0x2fa915(0x311)]=class{constructor(_0x4dd186,_0xb59c54){const _0x1db16f=_0x2fa915;this[_0x1db16f(0x4e4)]=_0x4dd186,this[_0x1db16f(0x62e)]=_0xb59c54;}async[_0x2fa915(0x1e1)](_0x2a58ff,_0x34cd49){const _0x34efe9=_0x2fa915;var _0x11736b;const {unitID:_0x541814,type:_0x175110,revision:_0x5316a1=0x0}=_0x34cd49,_0x46d3eb=this[_0x34efe9(0x2bc)]()+'/'+_0x175110+_0x34efe9(0x2f8)+_0x541814+_0x34efe9(0x36b)+_0x5316a1,_0x46ecc3=(await this[_0x34efe9(0x62e)][_0x34efe9(0x4a0)](_0x46d3eb))[_0x34efe9(0x2e6)],_0x23ccc2=(_0x11736b=_0x46ecc3[_0x34efe9(0x393)])==null?void 0x0:_0x11736b[_0x34efe9(0x343)];if(_0x23ccc2){const _0x322351=_0x23ccc2==null?void 0x0:_0x23ccc2[_0x34efe9(0x199)],_0x22fada=_0x215e4a[_0x34efe9(0x373)][_0x34efe9(0x610)](_0x215e4a[_0x34efe9(0x5db)](_0x322351));_0x23ccc2[_0x34efe9(0x199)]=_0x22fada,Object[_0x34efe9(0x175)](_0x23ccc2[_0x34efe9(0x2ef)])[_0x34efe9(0x34b)](([,_0x83ae30])=>{const _0x3eeb6e=_0x34efe9,_0x3fc76c=_0x83ae30[_0x3eeb6e(0x199)],_0x3312f1=_0x215e4a[_0x3eeb6e(0x373)]['encode'](_0x215e4a[_0x3eeb6e(0x5db)](_0x3fc76c));_0x83ae30[_0x3eeb6e(0x199)]=_0x3312f1;});}return _0x46ecc3;}async['getSheetBlock'](_0x238f15,_0xcd93a5){const _0x5252f2=_0x2fa915,{unitID:_0x52fe68,type:_0x5be0de,blockID:_0xdce8ca}=_0xcd93a5,_0x6761f7=this[_0x5252f2(0x26e)]()+'/'+_0x5be0de+'/unit/'+_0x52fe68+_0x5252f2(0x4c6)+_0xdce8ca;return(await this['_httpService'][_0x5252f2(0x4a0)](_0x6761f7))[_0x5252f2(0x2e6)];}async[_0x2fa915(0x437)](_0x33fdc3,_0x5e0c37){const _0x42c969=_0x2fa915,{unitID:_0x547972,type:_0x77e5f3,blockID:_0x32f21a}=_0x5e0c37,_0x45523d=this['_getAPIPrefix']()+_0x42c969(0x4c6)+_0x77e5f3+_0x42c969(0x2f8)+_0x547972+'/block/'+_0x32f21a;return(await this[_0x42c969(0x62e)][_0x42c969(0x4a0)](_0x45523d))['body'];}async[_0x2fa915(0x4ef)](_0x2c8900,_0x4bdcb5){const _0xffa5b6=_0x2fa915,{unitID:_0x4cd7b6,type:_0x11bf59,from:_0x4fddd4,to:_0x1e46d2}=_0x4bdcb5,_0x3ddfda=this[_0xffa5b6(0x26e)]()+'/'+_0x11bf59+_0xffa5b6(0x2f8)+_0x4cd7b6+_0xffa5b6(0x255)+_0x4fddd4+'&to='+_0x1e46d2;return(await this[_0xffa5b6(0x62e)]['get'](_0x3ddfda))['body'];}[_0x2fa915(0x2bc)](){const _0x208786=_0x2fa915;var _0x42caf1;return(_0x42caf1=this[_0x208786(0x4e4)]['getConfig'](_0xda4d44))!=null?_0x42caf1:this['_getAPIPrefix']();}['_getAPIPrefix'](){const _0x14984c=_0x2fa915;var _0x173a7a,_0x2da3fd;const _0x12e057=this[_0x14984c(0x4e4)][_0x14984c(0x185)](_0x1b173d),_0x394f47=this['_configService'][_0x14984c(0x185)](_0x152bb8);return(_0x2da3fd=(_0x173a7a=_0x394f47==null?void 0x0:_0x394f47[_0x14984c(0x516)])!=null?_0x173a7a:_0x12e057)!=null?_0x2da3fd:_0x425cf9;}async[_0x2fa915(0x523)](_0x3050ae,_0x49f8e0){const _0x56c26a=_0x2fa915,_0x420c9f=_0x56c26a(0x5cb)+_0x49f8e0['type']+'/unit/'+_0x49f8e0[_0x56c26a(0x2d1)]+_0x56c26a(0x46b);return(await this[_0x56c26a(0x62e)]['get'](_0x420c9f,{'params':{'resourceId':JSON['stringify'](_0x49f8e0[_0x56c26a(0x2e7)])}}))[_0x56c26a(0x2e6)];}['saveSnapshot'](){const _0x269546=_0x2fa915;throw new Error(_0x269546(0x5a8));}['saveSheetBlock'](){const _0x50b94f=_0x2fa915;throw new Error(_0x50b94f(0x5a8));}[_0x2fa915(0x3cf)](){const _0x170e65=_0x2fa915;throw new Error(_0x170e65(0x5a8));}[_0x2fa915(0x2f3)](){const _0x36152e=_0x2fa915;throw new Error(_0x36152e(0x5a8));}[_0x2fa915(0x42c)](){const _0x163f01=_0x2fa915;throw new Error(_0x163f01(0x5a8));}},_0x539c7e[_0x2fa915(0x311)]=_0x5df394([_0x24d55a(0x0,_0x4587e1[_0x2fa915(0x628)]),_0x24d55a(0x1,_0x4587e1[_0x2fa915(0x42b)](_0x108d2c[_0x2fa915(0x49f)]))],_0x539c7e[_0x2fa915(0x311)]);var _0x6555e=Object[_0x2fa915(0x44e)],_0x4867e4=Object[_0x2fa915(0x569)],_0x1b3672=(_0x6d8ac9,_0x104f26,_0x4ffe3f,_0x22037b)=>{const _0x3c5007=_0x2fa915;for(var _0x527180=_0x22037b>0x1?void 0x0:_0x22037b?_0x4867e4(_0x104f26,_0x4ffe3f):_0x104f26,_0x47d6d1=_0x6d8ac9[_0x3c5007(0x4d9)]-0x1,_0x194602;_0x47d6d1>=0x0;_0x47d6d1--)(_0x194602=_0x6d8ac9[_0x47d6d1])&&(_0x527180=(_0x22037b?_0x194602(_0x104f26,_0x4ffe3f,_0x527180):_0x194602(_0x527180))||_0x527180);return _0x22037b&&_0x527180&&_0x6555e(_0x104f26,_0x4ffe3f,_0x527180),_0x527180;},_0x16feb4=(_0x4f306a,_0x597e0e)=>(_0x1d3170,_0x269ab1)=>_0x597e0e(_0x1d3170,_0x269ab1,_0x4f306a);let _0x5295d9=class extends _0x4587e1[_0x2fa915(0x3e8)]{constructor(_0x1f06b6,_0x5edd0c,_0x596192,_0xbd8aaa,_0x3ade55){const _0x1ac2b=_0x2fa915;super(_0x1f06b6,_0x5edd0c,_0x596192),this[_0x1ac2b(0x493)]=_0xbd8aaa,this[_0x1ac2b(0x43a)]=_0x3ade55;}[_0x2fa915(0x397)](_0x4b09ad,_0x1c512d){const _0xa42b07=_0x2fa915,_0xfb5a67=this[_0xa42b07(0x48c)](_0x4b09ad);if(_0xfb5a67)try{const _0x24fc8b=this[_0xa42b07(0x30e)](_0xfb5a67,_0x1c512d);this[_0xa42b07(0x328)](_0x4b09ad,_0x24fc8b);}catch(_0x292c6d){this[_0xa42b07(0x43a)][_0xa42b07(0x3a9)](_0xa42b07(0x25c),_0x292c6d),this[_0xa42b07(0x407)](_0x4b09ad);}const _0x429a93=this[_0xa42b07(0x2f1)](_0x4b09ad);if(_0x429a93)try{const _0x501b2a=this['_transformStack'](_0x429a93,_0x1c512d);this[_0xa42b07(0x404)](_0x4b09ad,_0x501b2a);}catch(_0x44457f){this[_0xa42b07(0x43a)]['error'](_0x44457f),this[_0xa42b07(0x4c7)](_0x4b09ad);}}[_0x2fa915(0x407)](_0x415f42){const _0x44abc9=_0x2fa915,_0x1f2adb=this[_0x44abc9(0x48c)](_0x415f42);_0x1f2adb&&(_0x1f2adb['length']=0x0,this[_0x44abc9(0x550)]());}[_0x2fa915(0x4c7)](_0x53aff2){const _0xc82f11=_0x2fa915,_0x1f11b6=this[_0xc82f11(0x2f1)](_0x53aff2);_0x1f11b6&&(_0x1f11b6[_0xc82f11(0x4d9)]=0x0,this[_0xc82f11(0x550)]());}['_substituteUndoStack'](_0x209d75,_0x31894c){const _0x983b5c=_0x2fa915;this[_0x983b5c(0x4f4)][_0x983b5c(0x498)](_0x209d75,_0x31894c),this[_0x983b5c(0x550)]();}[_0x2fa915(0x404)](_0x463498,_0x4028c8){const _0x4e0ef6=_0x2fa915;this[_0x4e0ef6(0x1be)]['set'](_0x463498,_0x4028c8),this[_0x4e0ef6(0x550)]();}[_0x2fa915(0x30e)](_0x5e18d3,_0xcaa65b){const _0x22d73a=_0x2fa915,_0x96a209=[];let _0xf76f6d=_0xcaa65b,_0x58a46e=_0xcaa65b;for(let _0x536a39=_0x5e18d3[_0x22d73a(0x4d9)]-0x1;_0x536a39>=0x0;_0x536a39--){const {unitID:_0x1aa3af,undoMutations:_0x4d19f0,redoMutations:_0x20994e}=_0x5e18d3[_0x536a39],_0x294176=this[_0x22d73a(0x493)][_0x22d73a(0x439)](_0xf76f6d,_0x4d19f0),_0x5c0419=this[_0x22d73a(0x493)][_0x22d73a(0x439)](_0x58a46e,_0x20994e);if(_0x215e4a[_0x22d73a(0x301)](_0x294176)||_0x215e4a[_0x22d73a(0x301)](_0x5c0419)){this[_0x22d73a(0x43a)][_0x22d73a(0x3a9)](_0x22d73a(0x25c),'transformStack\x20failed!',_0x294176,_0x5c0419);break;}_0xf76f6d=_0x294176[_0x22d73a(0x17e)],_0x58a46e=_0x5c0419[_0x22d73a(0x17e)],_0x96a209[_0x22d73a(0x367)]({'unitID':_0x1aa3af,'undoMutations':_0x294176['m2Prime'],'redoMutations':_0x5c0419['m2Prime']});}return _0x96a209[_0x22d73a(0x358)]();}};_0x5295d9=_0x1b3672([_0x16feb4(0x0,_0x4587e1[_0x2fa915(0x53b)]),_0x16feb4(0x1,_0x4587e1[_0x2fa915(0x60b)]),_0x16feb4(0x2,_0x4587e1[_0x2fa915(0x5c2)]),_0x16feb4(0x3,_0x215e4a[_0x2fa915(0x34d)]),_0x16feb4(0x4,_0x4587e1[_0x2fa915(0x62b)])],_0x5295d9);class _0x333183 extends _0x4587e1[_0x2fa915(0x5b2)]{constructor(){const _0x5bae60=_0x2fa915;super(),_0x339ceb(this,'urlChange$'),this[_0x5bae60(0x568)]=_0x3eec93['fromEvent'](window,_0x5bae60(0x18d))[_0x5bae60(0x276)](_0x3eec93[_0x5bae60(0x2b3)](this['dispose$']),_0x3eec93[_0x5bae60(0x23f)](0x1),_0x3eec93['mapTo'](void 0x0));}[_0x2fa915(0x4c4)](_0x33ce8f,_0x25bdd8,_0x4e6dc9=!0x1){const _0x4fc4ce=_0x2fa915,_0x23b7d2=new URL(window['location'][_0x4fc4ce(0x1cf)]);_0x23b7d2['searchParams']['set'](_0x33ce8f,_0x25bdd8),_0x4e6dc9?window[_0x4fc4ce(0x2d6)][_0x4fc4ce(0x48b)]('','',_0x23b7d2[_0x4fc4ce(0x38a)]()):window[_0x4fc4ce(0x2d6)][_0x4fc4ce(0x588)]('','',_0x23b7d2[_0x4fc4ce(0x38a)]());}[_0x2fa915(0x456)](_0x487d14,_0x22be18=!0x1){const _0x512730=_0x2fa915,_0x3403d4=new URL(window['location'][_0x512730(0x1cf)]);_0x3403d4[_0x512730(0x51f)][_0x512730(0x4e2)](_0x487d14),_0x22be18?window[_0x512730(0x2d6)][_0x512730(0x48b)]('','',_0x3403d4[_0x512730(0x38a)]()):window[_0x512730(0x2d6)][_0x512730(0x588)]('','',_0x3403d4[_0x512730(0x38a)]());}['getParam'](_0x260efc){const _0x443b4f=_0x2fa915;var _0x495fcc;return(_0x495fcc=new URL(window['location'][_0x443b4f(0x1cf)])['searchParams'][_0x443b4f(0x4a0)](_0x260efc))!=null?_0x495fcc:void 0x0;}}var _0x31f8ad=Object[_0x2fa915(0x44e)],_0xa0ba4c=Object[_0x2fa915(0x569)],_0x421898=(_0x2f338f,_0x5976a2,_0x840841)=>_0x5976a2 in _0x2f338f?_0x31f8ad(_0x2f338f,_0x5976a2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x840841}):_0x2f338f[_0x5976a2]=_0x840841,_0x1071e9=(_0x882ef,_0x1f4eb3,_0x460978,_0x4d572f)=>{const _0x138a5c=_0x2fa915;for(var _0x533437=_0x4d572f>0x1?void 0x0:_0x4d572f?_0xa0ba4c(_0x1f4eb3,_0x460978):_0x1f4eb3,_0xa31ea4=_0x882ef[_0x138a5c(0x4d9)]-0x1,_0x5c4cd7;_0xa31ea4>=0x0;_0xa31ea4--)(_0x5c4cd7=_0x882ef[_0xa31ea4])&&(_0x533437=(_0x4d572f?_0x5c4cd7(_0x1f4eb3,_0x460978,_0x533437):_0x5c4cd7(_0x533437))||_0x533437);return _0x4d572f&&_0x533437&&_0x31f8ad(_0x1f4eb3,_0x460978,_0x533437),_0x533437;},_0x3d6f5e=(_0x4c5238,_0xcf1816)=>(_0x494da6,_0x5c4fb1)=>_0xcf1816(_0x494da6,_0x5c4fb1,_0x4c5238),_0x3ca693=(_0x193c45,_0x1697b9,_0x14bfbb)=>_0x421898(_0x193c45,_0x1697b9+'',_0x14bfbb);const _0x86a8fd=_0x2fa915(0x363);_0x539c7e['UniverCollaborationClientPlugin']=class extends _0x4587e1[_0x2fa915(0x5ed)]{constructor(_0xe429dd=_0x486456,_0x4a5d4f,_0x3602a8,_0x31e33d,_0x4c5870){const _0x48d40f=_0x2fa915;super(),this[_0x48d40f(0x2b5)]=_0xe429dd,this[_0x48d40f(0x43a)]=_0x4a5d4f,this[_0x48d40f(0x476)]=_0x3602a8,this[_0x48d40f(0x60e)]=_0x31e33d,this[_0x48d40f(0x4e4)]=_0x4c5870;const {..._0x336396}=this[_0x48d40f(0x2b5)];this['_configService'][_0x48d40f(0x23b)](_0x152bb8,_0x336396);}[_0x2fa915(0x4b5)](){const _0x3e6894=_0x2fa915;this[_0x3e6894(0x419)](),this[_0x3e6894(0x2fa)]();}['onReady'](){const _0x1219c2=_0x2fa915;_0x4587e1['touchDependencies'](this[_0x1219c2(0x60e)],[[_0x4a666c]]);}['onRendered'](){const _0x319d19=_0x2fa915;this[_0x319d19(0x1b1)]();}[_0x2fa915(0x419)](){const _0x30a591=_0x2fa915;var _0xbda497,_0x4856ad,_0x1e2bac,_0x368129;this['_injector'][_0x30a591(0x364)](_0x4587e1[_0x30a591(0x428)])&&this[_0x30a591(0x43a)][_0x30a591(0x3a9)](_0x30a591(0x2c1),_0x30a591(0x5c8));const _0x126c8e=[[_0x4587e1[_0x30a591(0x428)],{'useClass':_0x5295d9}],[_0x539c7e[_0x30a591(0x240)]],[_0x1938ad],[_0x4791ca,{'useClass':_0x333183}],[_0x539c7e[_0x30a591(0x1d1)]],[_0x539c7e['LocalCacheService']],[_0x108d2c['WebSocketService']],[_0x2a0fa4],[_0x2e0132],[_0xf435ee],[_0x952708],[_0x54132e],[_0x4c6e52],[_0x10d588],[_0x2707ce],[_0x571cf0],[_0x5a365e,{'useClass':(_0x4856ad=(_0xbda497=this['_config'])==null?void 0x0:_0xbda497[_0x30a591(0x30c)])!=null?_0x4856ad:_0x539c7e[_0x30a591(0x629)]}],[_0x215e4a[_0x30a591(0x53d)],{'useClass':_0x539c7e['SnapshotServerOverHTTPService']}],[_0x4587e1[_0x30a591(0x1a0)],{'useClass':_0x539c7e[_0x30a591(0x1c5)]}],[_0x4fc574[_0x30a591(0x615)],{'useClass':_0x539c7e[_0x30a591(0x53e)]}],[_0x539c7e[_0x30a591(0x38e)]],[_0x539c7e['DataLoaderController']],[_0x539c7e[_0x30a591(0x59c)]],[_0x4a666c],[_0x49f33]];(_0x1e2bac=this[_0x30a591(0x2b5)])!=null&&_0x1e2bac[_0x30a591(0x5d6)]&&_0x126c8e[_0x30a591(0x367)]([_0x426f76,{'useClass':_0x707295}]),_0x4587e1['registerDependencies'](this[_0x30a591(0x60e)],_0x4587e1[_0x30a591(0x48e)](_0x126c8e,(_0x368129=this[_0x30a591(0x2b5)])==null?void 0x0:_0x368129[_0x30a591(0x3e3)]));}[_0x2fa915(0x1b1)](){const _0x63fde=_0x2fa915;this[_0x63fde(0x211)](this['_renderManagerService'][_0x63fde(0x25a)](_0x4587e1[_0x63fde(0x637)][_0x63fde(0x27b)],[_0x33787c])),this[_0x63fde(0x211)](this[_0x63fde(0x476)][_0x63fde(0x25a)](_0x4587e1[_0x63fde(0x637)][_0x63fde(0x3ee)],[_0x40b948]));}[_0x2fa915(0x2fa)](){const _0x555092=_0x2fa915;var _0x37a2a3,_0x124041;this[_0x555092(0x60e)][_0x555092(0x4a0)](_0x108d2c[_0x555092(0x49f)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x108d2c[_0x555092(0x5a4)]({'maxParallel':0x6})}),(_0x37a2a3=this['_config'])!=null&&_0x37a2a3[_0x555092(0x4cc)]||this[_0x555092(0x60e)][_0x555092(0x4a0)](_0x539c7e[_0x555092(0x408)])[_0x555092(0x42d)](),(_0x124041=this[_0x555092(0x2b5)])!=null&&_0x124041[_0x555092(0x5d7)]&&_0x4587e1[_0x555092(0x2ed)](this[_0x555092(0x60e)],[[_0x4c6e52]]),_0x4587e1[_0x555092(0x2ed)](this[_0x555092(0x60e)],[[_0x10d588],[_0x49f33],[_0x539c7e[_0x555092(0x19b)]],[_0x539c7e[_0x555092(0x38e)]],[_0x539c7e['DesktopCollaborationStatusDisplayController']],[_0x571cf0]]);}},_0x3ca693(_0x539c7e[_0x2fa915(0x3f8)],_0x2fa915(0x369),_0x86a8fd),_0x539c7e[_0x2fa915(0x3f8)]=_0x1071e9([_0x4587e1[_0x2fa915(0x553)](_0x215e4a[_0x2fa915(0x22e)],_0x108d2c[_0x2fa915(0x3a8)]),_0x3d6f5e(0x1,_0x4587e1[_0x2fa915(0x62b)]),_0x3d6f5e(0x2,_0x25d31a['IRenderManagerService']),_0x3d6f5e(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1['Injector'])),_0x3d6f5e(0x4,_0x4587e1[_0x2fa915(0x628)])],_0x539c7e[_0x2fa915(0x3f8)]),_0x539c7e[_0x2fa915(0x3f9)]=_0x4594be,_0x539c7e[_0x2fa915(0x462)]=_0xecaf7c,_0x539c7e[_0x2fa915(0x2b2)]=_0x58836a,_0x539c7e[_0x2fa915(0x29c)]=_0x3b904c,_0x539c7e[_0x2fa915(0x206)]=_0x2e49a0,_0x539c7e[_0x2fa915(0x384)]=_0x2707ce,_0x539c7e['HEARTBEAT_INTERVAL_KEY']=_0x4a8a98,_0x539c7e['HEARTBEAT_TIMEOUT_KEY']=_0xa4064f,_0x539c7e[_0x2fa915(0x292)]=_0x5a365e,_0x539c7e[_0x2fa915(0x208)]=_0x4791ca,_0x539c7e[_0x2fa915(0x1bd)]=_0x4c60f6,_0x539c7e[_0x2fa915(0x332)]=_0x456ae0,_0x539c7e[_0x2fa915(0x263)]=_0xceef47,_0x539c7e[_0x2fa915(0x1fa)]=_0x434cfe,_0x539c7e['SNAPSHOT_SERVER_URL_KEY']=_0x1b173d,_0x539c7e[_0x2fa915(0x20d)]=_0xda4d44,_0x539c7e[_0x2fa915(0x4fd)]=_0x474ede,_0x539c7e[_0x2fa915(0x1f1)]=_0x257c8d,_0x539c7e[_0x2fa915(0x2e9)]=_0x333183,_0x539c7e[_0x2fa915(0x2d7)]=_0x99cd90,_0x539c7e[_0x2fa915(0x56e)]=_0x40533c,Object['defineProperty'](_0x539c7e,Symbol[_0x2fa915(0x583)],{'value':_0x2fa915(0x1cd)});}));function _0x2a28(){const _0x219b78=['univerjs-icon\x20univerjs-icon-','_replaceFileID','DocSkeletonManagerService','serializeCombRequest','error$','_imageSourceCache','_replayCachedMutations','endRow','_collaborationController','NodePositionConvertToRectRange','registerRefRange','_compressMutationService','M0\x200H16V16H0z','ref','debounceTime','parseChangesetToProtocol','updateMember','handleIRemoveRow','slice','UNKNOWN_CMD','_type','members','UniverSheets','iterations','toStringTag','objectType','getRandomValues','21cHzRel','hidden','pushState','ciphertext','@univerjs/rpc','_onConnectionOpen','getColor','APPLY_PERMISSION_DENIED','randomBytes','InsertSheetMutation','subunit','getAncestorScale','getCurrentRevOfUnit','session','append','_initStatusComponent','assign','[OfflineState]:\x20received\x20changeset.','_state$','height','Shape','restore','DesktopCollaborationStatusDisplayController','_clearTimeoutTimer','name','memberID','_transformStateCache','decrypt','_getDownloadEndpointURL','UNIVER_SLIDE','ThresholdInterceptorFactory','@univerjs/sheets-ui','JOIN','makeDirty','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_unlockTransition','send','registerHTTPInterceptor','APPLY_DUPLICATED','FAIL','_hideTimer','auth.needGotoLoginAlert','Tooltip','top','RxDisposable','13PUghyO','DocIMEInputManagerService','defs','getRenderById','crypto','engine','LIVESHARE_OPERATION','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','onload','min','$super','_resendTimer','_xformMode','permissionRejEvent','getSheetBySheetId','IContextService','includes','RichTextEditingMutation','Subject','jsxs','defIds','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','MUTATION','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','/universer-api/snapshot/','sin','transformIMECache','socket\x20close','catch','NOT_COLLAB','execute','_handler','InsertRowCommandId','SNAPSHOT_INVALID_SNAPSHOT','updateCursorEvent','enableSingleActiveInstanceLock','enableAuthServer','_transitionLocked','_changesetReqId','_ws','b64DecodeUnicode','setStateCache','ranges','_roomMembers$','isPermissionRej','RemoveColCommandId','_resendTimeout','NodePositionConvertToCursor','propertyIsEnumerable','_docSyncEditingCollabCursorService','create','setAlpha','headers','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','20945680ocfxWP','setItem','loadOfflineData','RemoveRowCommandId','Plugin','getActiveSheet','fillRule','SHA1','_exhaustRemoteChangesetQueue','color','awaiting','APPLY_REJECT','_updateURLWithCurrentState','setShapeProps','Tools','column','_onRemoteACK','setTimeout','_textBubble','newCsEvent','Decryptor','_createHelper','FromArray','icon','toRgbString','_onFetchMissResult','_unitOnClients','SheetPermissionInitController','CHANGESET_REJ','fetchThroughInterceptors','_doReset','@univerjs/core','_removeCollabCursors','compose','ICommandService','transform','_onMessage','_injector','_transformIMECache','encode','onRemoteRetry','_incrementRevisionNumber','_nDataBytes','USERS_LEAVE','IImageIoService','SHOULD_CLOSE_CONN','__Key__','_state','_scene','/universer-api/snapshot','_syncEditingCollabCursor','_uiPartsService','listRoles','capture','on-line-single_clip0_910_349','_labelPosition','stringify','clearTimeout','react','_onCursorUpdate','debounce','FileId','stopTime','IConfigService','CollaborationSocketService','EXCHANGE_SIGN_URL_SERVER_URL_KEY','ILogService','appendMutation','prototype','_httpService','colorChannel1','asObservable','_handleHeartbeatEvent','_transformUndoRedoStack','updateCollaborator','selection','encrypt','conflict.content','UniverInstanceType','_saveTaskMap','fromEvent','univer-offline','cursorInfo$','defaultProps','SEND_CHANGESET_TIMEOUT','_docStateChangeManagerService','some','_init','_throwTelemetryCollaborationNewChangeset','SetSelectionsOperation','_waitForHeartbeatResponse','BASE64','_disabled','entries','_invKeySchedule','PENDING','type','jsx','_listenToOnlineEvent','COLLAB_WEB_SOCKET_URL','online','UniverDrawing','c1Prime','_scheduleCollaborationTimeoutTimer','ImageSourceType','1em','BlockCipherMode','_toggleOffline','_doCryptBlock','getConfig','RefRangeService','skeleton','useCallback','rev','ReactCurrentOwner','size','focused$','popstate','sequenceExecute','verdancy600','addObjects','ACTIVE_UNIT_EVENT_CHANNEL','collaboration-client.config','_onConflict','0\x200\x2016\x2016','CHANGESET_SHOULD_RETRY','getCoordByCell','pauseCollaboration','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','originalMeta','InsertRangeMoveDownCommandId','DataLoaderController','getStateCache','registerBeforeClose','CHANGESET_ACK','_nRounds','IAuthzIoService','SUBMIT_CHANGESET','replace','_commandService','_commentService','_transformRemoteChangesetByIMECache','url','886641dARYXk','textRanges','MSG_FOR_ERROR','_status$','_initMergeInterceptor','UniverCore','dispose$','_executeRemoteChangeset','OpenSSL','fromCharCode','_registerRenderDependencies','sessionStatus','YUUMI_RATE_OVER_LIMIT','_getAnchorBounding','onCommandExecuted','listCollaborators','_draw','text','Workbook','TEXT_RANGE_LAYER_INDEX','ColorKit','getOwnPropertySymbols','LOCAL_CACHE_INTERVAL_KEY','_redoStacks','mode','message$','joinRsp','isActive','Encryptor','_messageService','AuthzIoHttpService','COLLAB_SUBMIT_CHANGESET_URL','DocStateChangeManagerService','_getAPIPrefixPath','next','show','Base64','getMergeData','Module','_candidateSocket','href','@univerjs/engine-render','MemberService','session.connection-failed','_schedule','symbol','CipherParams','/object/','telemetry\x20info\x20is\x20not\x20initialized','substring','getUnitId','JOINING','add','indexOf','onlineStatus','conflict','_minBufferSize','_append','getUnitOnRev','LocaleService','mapDocumentTypeToUniverType','_singleActiveUnitService','univer-online-status','words','onMissedChangesetFetched','deserializeRangeWithSheet','sheetId','[CollaborationSession]','UnitEmbedded','SNAPSHOT_HAS_BEEN_REMOVED','setInterval','POST','_iv','@univerjs/drawing','SheetCollabCursorShape','_saveCache','EffectRefRangId','HttpExport','_clearCollaborationTimeoutTimer','\x20to\x20','requestParams','Hasher','_onOffline','SEND_CHANGESET_TIMEOUT_KEY','collabStatus.conflict','_isPermissionRej','patch','UniverEngineFormula','_cachedData','UniverIcon','SheetsSelectionsService','_initRequestHeader','_createInitialState','getRangePointData','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','CollaborationStatusDisplay','width','IURLService','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UniverCollaboration','_removeClearOtherTimer','_event$','SNAPSHOT_URL_KEY','then','UniverDocs','lineTo','disposeWithMe','pad','authzUrl','Could\x20not\x20dynamically\x20require\x20\x22','userID','LICENSE_IMPORT_SIZE_EXCEEDED','_undoRedoService','INGEST','MessageType','splice','ERROR_EXCEED_SIZE','CollaborationSession','SetTextSelectionsOperation','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_entities','IPermissionService','off-line-single_clip0_910_343','_rescheduleHeartbeat','getWorkbookSelections','purple300','getCellPositionByOffset','_memberService','concat','681224ZFAQtj','moveTo','target','updatePermissionPoint','createIdentifier','_themeService','UniverCollaborationPlugin','measureText','clone','useObservable','WordArray','reset','BufferedBlockAlgorithm','_send','createCollaborator','roomMembers$','responseType','m2Prime','_collabSessionService','setConfig','UnitSnapshot','getCurrentUser','_hovered','shareReplay','CollaborationSessionService','string','PERMISSION_DENIED','_clearScheduledTask','SetWorksheetActivateCommand','_map','call','onTransformSelections','@univerjs/sheets','setCurrentUser','now','incrementRevOfUnit','LOCAL_CACHE_INTERVAL','_revisionService','COLORS','_range','/allowed','\x20in\x20_schedule.','map','_hash','unit-cache-','/fetchmissing?from=','forwardRef','collabWebSocketUrl','removeMember','IMessageService','registerRenderModule','updateOfflineData','[CollaborationUndoRedoService]','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','OffLineSingle','_initCommandExecutedListener','connection\x20error','&source=','getValue','RETRY_CONNECTING_MAX_COUNT_KEY','@univerjs/docs-ui','displayName','_drawRectRange','getTypeOfUnitDisposed$','list','_colorIndex','location','JSONX','UniverDocsUi','SheetSkeletonManagerService','_getAPIPrefix','_commentUpdate$','CollaborationEntity','_retryConnectingTimer','getCurrentSelections','data','_onUserJoin','@univerjs/ui','pipe','finalize','_doFinalize','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','setActiveRange','UNIVER_DOC','CollaborationEvent','visibilitychange','_showConflictNotification','_permissionService','number','cmd','transformSelections','12XxyvMC','_docTransformIMECacheService','_socketMessageSubscription','_session','#fff','isTransformChangesetsSuccess','_setupBeforeClosingHandler','_iKey','_createInitialStateImpl','roomMembers','_beforeCloseService','UniverDesign','/universer-api/comb','\x20-\x20','values','ICollaborationSocketService','resize','collaboration-session-retry','_updateCollabCursors','_color','enc','Rect','_render','random','BehaviorSubject','CollaborationStatus','_getSendChangesetTimeout','editing\x20status\x20changed\x20to','abs','StreamCipher','unshift','_updateState','684mIdGxl','replaceDocRanges','Hex','toDisposable','_online','handleDeleteRangeMoveLeft','exhaustSavingTask','hostname','collaboration_new_changeset','attrs','_parse','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','sid','_change$','CommandType','COLLAB_WEB_SOCKET_URL_KEY','takeUntil','startRow','_config','/universer-api/stream/file/upload','onSendChangeset','onlineStatusTitle','_fetchMissChangesets','SheetCollaborationEntity','_acknowledgedAwaitingChangeset','_getSnapshotAPIPrefix','selections','_onRefRangeChange','/universer-api/oidc/authpage','getUnhiddenWorksheets','[UniverCollaborationClientPlugin]','MD5','processBlock','SNAPSHOT_SERVER_URL_KEY','title','_resendWithTimeout','bind','confirm','_disableEditing','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','transformMutation','newValue','UUID','unsubscribe','ws://127.0.0.1:8000/universer-api/comb/connect','IBeforeCloseService','unitID','getOffsetConfig','loadDoc','resend','CompressMutationService','history','deserializeToCombResponse','compute','_id','_keySchedule','_cursors','_lastPointer','UNRECOGNIZED','_onJoinRoomEvent','src','IUIPartsService','failed\x20to\x20apply\x20missed\x20changesets!','complete','function','addObject','offline','body','resourceIDs','4718uPVRXM','WebURLService','@univerjs/design','infoRsp','TOO_MANY_REQUESTS','touchDependencies','byteLength','sheets','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_getRedoStack','DocSelectionManagerService','copyFileMeta','_pendingMutations','_initUnitPermissionChange','beginPath','getSheetId','/unit/','clamp','_initDependencies','fetch_missing','fillStyle','getFocusedUnit','collaboration-client.offline-data-not-saved','ILocalStorageService','_updateLocalCache','isTransformMutationsWithChangesetFailure','HMAC','React','_sessionStatus$','handleInsertRow','PasswordBasedCipher','range','_entityInit$','_eventUnsubscribe','_onLocalMutation','MergeInterceptorFactory','socketService','distinctUntilChanged','_transformStack','_sendingTimer','liveShareNewHost','SnapshotServerOverHTTPService','none','_clearLocalCache','onTransformState','_document','editingUnit','_lockTransition','awaiting_with_pending','round','_collaborationSessionService','VIEWPORT_KEY','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','repeat','reqId','leaveEvent','_clearOtherTimers','post','_ensureSubject','COMPLETION_FINISHED','YUUMI_URL_COL_OUT_OF_RANGE','startColumn','ImageUploadStatusType','_startDocCollabCursor','_substituteUndoStack','tag','csAckEvent','awaitingChangeset','UniverRpc','9270XTnhDg','COMPRESS_MUTATION_APPLY','_collabCursorState$','isArray','_http','LOGIN_URL_KEY','filter','generateRandomId','getUndoRedoMutationParamsCache','svg','[OfflineState]:\x20received\x20acknowledgement.','/collaborator','80aqcBzi','default','save\x20fail\x20reason\x20is\x20','close','[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.','lib','setUndoRedoMutationParamsCache','CHANGESET_REVISION_CONFILICT','collaboration.closeRoom','fromEventSubject','workbook','encodeURIComponent','_loadSheet','equals','useRef','state$','_retryCount','onPointerEnter$','forEach','_listenToOfflineEvent','ITransformService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','collaborators','format','reject','USERS_ENTER','cfg','UPDATE_CURSOR','_docSkeletonManagerService','div','_onUserLeave','reverse','HEARTBEAT','@univerjs/engine-formula','_getSheetObject','@univerjs/telemetry','Unknown\x20user','getSheetObject','_startTelemetryCollaborationNewChangeset','CONFLICT','status$','_docTransformStateCacheService','UNIVER_COLLABORATION_CLIENT_PLUGIN','has','\x0aAfter:\x20','rxjs','push','_initResize','pluginName','Utf8','/rev/','interceptor','_ENC_XFORM_MODE','ONLINE','DisposableCollection','_snapshotService','_queuedRemoteChangesets','IRenderManagerService','textEncoder','subscribeEvent','_sendHeartbeatTimer','sessionStatus$','HttpImport','APPLY_REVISION_CONFILICT','getCollabEntity','charCodeAt','_hasher','status','_assignedColors','randomUUID','collabStatus.fetchMiss','_cursorShapes','DocCollaborationEntity','Error\x20on\x20receiving\x20event','DOC_RANGE_TYPE','CommentService','clear','serializeRangeWithSheet','_sendHeartbeat','change$','collabStatus.notCollab','toString','LICENSE_DISTRO_REJECTED','LEAVE','_telemetryService','CollaborationController','getSkeleton','connectInjector','key','_socketReady','snapshot','keySize','collab-rect-range-','sigBytes','transformUndoRedo','_notificationService','[PendingState]:\x20received\x20acknowledgement.','_createSocket','onTransformRemoteChangesetByIMECache','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','objects','getTypeOfUnitAdded$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','synced','/object','createElement','salt','exports','retryConnectingInterval','UNAUTHENTICATED','initWorkbookPermissionChange','UniverNetworkPlugin','error','onTransformRemoteChangesetByStateCache','update','assignAColorForMemberID','_drawTextRange','onSyncEditingCollabCursor','file','url(#$1','_anchor','/universer-api/authz','_getUploadFileURL','_scheduleClearOtherTimer','FETCH_MISS','_shouldReportTelemetry','_tryEnsureSocket','_drawAnchor','_onRemoteRejected','toggleOffline','enableLocalCache','liveShareOperation','AWAITING','_changesetSessionId','parse','createEncryptor','_univerInstanceService','cursorInfo','unknown','OFFLINE','_createHmacHelper','executeCommand','_checkMissing','_setupSubUnitSync','_getSaveTimeout','__creator','_anchorDot','_loadDoc','startsWith','onTransformIME','saveChangeset','INVALID_ARGUMENT','_snapshotServerService','_sheetSkeletonManagerService','createDecryptor','commentUpdateEvent','IDLE','children','changesets','setShowComponents','_submitChangeset','WorkbookEditablePermission','VIEW_MAIN','fill','_decreaseWaiting','isTransformMutationFailure','TEXT','from','OTHER_CLIENTS_EDITING','univer-online-status-title','override','_joinRoom','LIVESHARE_NEW_HOST','getCollabEntity$','_HTTPService','LocalUndoRedoService','uni.network.url-service','dispose','trim','_sessions','react.fragment','UNIVER_SHEET','requireSession','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','subUnitId','objectID','Univer','deepClone','_updateLocalCursor','_process','_onCombEvent','UniverCollaborationClientPlugin','AUTHZ_URL_KEY','drawWith','fetching\x20missing\x20changesets\x20from\x20','UNIVER_UNKNOWN','UniverNetwork','off-line-single','activeSheet$','jiqing500','UPDATE_PERMISSION_OBJ','_backgroundColor','Injector','_substituteRedoStack','objectActions','_cursorInfo$','_clearUndo','LocalCacheService','EvpKDF','readInt32LE','getActiveRange','_syncEditingCollabCursorService','&assign=','getVpScrollXYInfoByPosToVp','padding','redoState','arc','Optional','_docSkeleton','blockSize','Warning','HELLO','_sender','currentColor','_registerDependencies','contains','COMPRESS_MUTATION_SEND','onRemoteChangeset','_userManagerService','undoState','deleteCollaborator','onPointerLeave$','getTime','evenodd','_applyRemoteChangeset','reconnect','YUUMI_UNABLE_LOAD_URL','_roomMembers','object','IUndoRedoService','xlink:href','switchMap','Inject','getLatestCsReqIdBySid','disableLocalCache','_unitID','YUUMI_SUBSCRIPTION_NOT_FOUND','useDependency','SYNCED','_onRemoteRetry','max','c2Prime','image/bmp','WebSocketService','getDeserializedSheetBlock','getMember','transformMutationsWithChangeset','_logService','_instanceService','csRejEvent','UniverCollaborationClient','univer-online','_socketService','[CollaborationSessionService]:\x20socket\x20error','localeService','_transformPreviousActiveRange','operators','#FFF','collaboratorID','formatter','subscribe','onCommentUpdate','idSuffix','extend','_localStorageService','_onCursorDelete','findNodePositionByCharIndex','defineProperty','take','onRemoteAck','LICENSE_MAX_UNITS_EXCEEDED','createSocket','onMouseMove','APPLY_NON_SEQUENTIAL_REVISION','_tryReconnect','removeParam','routeKey','_timeoutTimer','_updateSubUnitFromURLParams','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_members','charAt','_oKey','_removeRoom','?size=','_transformUndoredo','SetDocZoomRatioOperation','COLLAB_SUBMIT_CHANGESET_URL_KEY','_collaborationTimeoutTimer','_doProcessBlock','closeSession','clipPath','url(#on-line-single_clip0_910_349)','FETCH_MISSING','LIVESHARE_FETCH_OPERATIONS','byteOffset','/resources','ERROR_IMAGE','_unitStatus','/-/object/list','shouldCloseConn','_sheetTransformSelectionsService','RECV','debug','_localCacheService','_colorAssignService','syncEditingCollabCursor','_renderManagerService','CBC','PSEUDO_FETCH_MISSING_RESULT','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','use','_cipher','_shapes','_getCurrentRevision','disposeUnit','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_urlService','LICENSE_EXPORT_SIZE_EXCEEDED','floor','UNKNOWN_CODE','onTransformChange$','/universer-api/file/{fileID}/sign-url','[CollaborationSessionService]','fetchMiss','_telemetryInfo','createInstance','UNDEFINED','replaceState','_getUndoStack','close$','mergeOverrideWithDependencies','PERMISSION_REJ','Error','split','with','_transformService','duration','encryptBlock','INTERNAL_ERROR','_localeService','set','ALREADY_EXISTS','ceil','INotificationService','/-/object/-/batch_allowed','MoveRangeCommandId','_onRecvEvent','HTTPService','get','RECT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','BlockCipher','red300','ENSURE_SNAPSHOT_EXECUTION','UNIVER_PROJECT','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','className','currentSkeleton$','122441QDXLGv','HEADER_MENU','image/gif','for','clearInterval','_collabCursorController','transformByState','getUniverSheetInstance','NOT_FOUND','transformChangesets','Malformed\x20UTF-8\x20data','onStarting','current','_transformRemoteChangesetByStateCache','collabSubmitChangesetUrl','fillText','join','result','IRemoteInstanceService','EmptyMutation','unitId\x20is\x20not\x20found','HTTPRequest','handleInsertRangeMoveRight','_reverseMap','handleDeleteRangeMoveUp','_getMergeRange','setParam','[SyncedState]:\x20received\x20rejection.','/block/','_clearRedo','getMemberID','478MmICDk','event$','loginUrlKey','enableOfflineEditing','HEARTBEAT_INTERVAL','onMissingChangesets','_startCollaboration','delay','@univerjs-pro/collaboration','_prevBlock','mutations','1779170IEBcvZ','unit','[PendingState]:\x20received\x20rejection.','handleInsertCol','_name','length','readAsDataURL','@univerjs/network','unpad','algo','kdf','_docTransformSelectionsService','session.room-full','blue400','delete','every','_configService','ThemeService','isInternalEditorID','NEW_CHANGESETS','_refRangeService','LIVESHARE_REQUEST_HOST','getUnitStatus$','combineLatest','state','url(#off-line-single_clip0_910_343)','__esModule','fetchMissingChangesets','[DataLoaderController]','runRefRangeMutations','_heartbeatTimer','_remoteChangesetQueue','_undoStacks','_initCloseConn','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','reduce','unitId','ivSize','addEventListener','pending','_data','SessionStatus','currentTheme$','hasher','_onConnectionFailed','path','_initEventListeners','_getSignURL','[CollaborationState]:\x20apply\x20error!','origin','_key','hasOwnProperty','toggleOnline','\x0aCurrent:\x20','doc.mutation.rich-text-editing','AWAITING_WITH_PENDING','m1Prime','_selfUnitIDs','Base','_createHandler','flatMap','Vector2','startTime','_DEC_XFORM_MODE','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','actions','snapshotServerUrl','setWaitCount','RevisionService','registerOnClose','black','NO_OTHER_CLIENTS_EDITING','action','getInterceptPoints','RegularPolygon','searchParams','_handleJoinEvent','revision','rng','getResourcesRequest','onRemoteRej','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','eventID','hide','save','_handleEvent','transformStateCache','_hover','NoPadding','open$','_context','getDocRanges','storage','_scheduleTimestamp','visibilityState','_socket','rgba(255,\x20255,\x20255,\x200.01)','...','Cipher','1773ARrVee','merge','isTransformMutationsWithChangesetSuccess','LIVESHARE_TERMINATE','IUniverInstanceService','_initStatusListener','ISnapshotServerService','ImageIoService','on-line-single','handleIRemoveCol','_socket$','Undefined','transformRemoteChangeset','_stopTelemetryCollaborationNewChangeset','find','_handleLeaveEvent','_startSheetCollabCursor','params','_toggleOnline','bottom','collab-text-range-','apply','_scheduleSaving','_awaitingChangeset','rxjs/operators','_updateStatus','AES','Disposable','DependentOn','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','uploadFileServerUrl','0\x200\x2017\x2016','decryptBlock','init','getParam','_collaborationPaused','COMMENT_UPDATE','_keyPriorReset','_waitCount','code','getCollabCursors$','sendChangesetTimeout','_scheduleHeartbeat','_onRemoteChangeset','Rectangle','getViewport','_clearHeartbeatTimer','mixIn','getImage','urlChange$','getOwnPropertyDescriptor','_mode'];_0x2a28=function(){return _0x219b78;};return _0x2a28();}