@univerjs-pro/collaboration-client 0.4.2-nightly.202411011606 → 0.4.2-nightly.202411021605
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/es/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function _0x12e6(){const _0x5aa125=['conflict.title','getCurrentUser','algo','_onMessage','onStarting','DEFAULT_FILE_NAME','_toggleOffline','onRemoteAck','YUUMI_URL_COL_OUT_OF_RANGE','_revisionService','getUnitOnRev','format','SEND_CHANGESET_TIMEOUT','_showConflictNotification','_initCloseConn','UnitSnapshot','fetching\x20missing\x20changesets\x20from\x20','onlineStatus','/role','subUnitId','kdf','HEARTBEAT_INTERVAL_KEY','debug','_beforeCloseService','shareReplay','editing\x20status\x20changed\x20to','_retryCount','BuiltInUIPart','_redoStacks','onMissingChangesets','beginPath','624659JXNxCR','/allowed','awaiting_with_pending','next','unitID','show','SnapshotServerOverHTTPService','error$','_doCryptBlock','&assign=','startColumn','SYNCED','_resendWithTimeout','close','_candidateSocket','toggleOffline','_tryReconnect','RECT','EffectRefRangId','SNAPSHOT_HAS_BEEN_REMOVED','CollaborationSocketService','/rev/','interceptor','UniverCollaborationClient','getResourcesRequest','encryptBlock','_initStatusComponent','none','lineTo','0\x200\x2016\x2016','defaultProps','memberID','_doReset','fillRule','appendMutation','1957965jBsCOE','changesets','compute','text','Undefined','activeSheet$','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','updateOfflineData','_decreaseWaiting','measureText','_httpService','\x20in\x20_schedule.','subscribe','_lastPointer','updatePermissionObjEvent','get','_transformSelections','LIVESHARE_NEW_HOST','FileId','31819BxdpkH','_getCurrentRevision','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','CommentService','src','getSheetObject','Rect','_sendHeartbeat','action','ERROR_IMAGE','_initEventListeners','UNAUTHENTICATED','newCsEvent','_getDownloadEndpointURL','{fileID}','onSyncEditingCollabCursor','setCurrentUser','_heartbeatTimer','throttleTime','_initMergeInterceptor','RefRangeService','ImageUploadStatusType','cursorInfo','LOCAL_CACHE_INTERVAL_KEY','_onCombEvent','mapDocumentTypeToUniverType','initWorkbookPermissionChange','registerRenderModule','UniverRpc','unitId\x20is\x20not\x20found','send','children','_collabCursorState$','_map','div','duration','_nRounds','_initRequestHeader','_onRemoteRetry','_cursor','APPLY_NON_SEQUENTIAL_REVISION','handleInsertCol','_drawTextRange','CONFLICT','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','Plugin','exhaustSavingTask','_session','Pkcs7','SNAPSHOT_SERVER_URL_KEY','setTimeout','SheetPermissionInitController','stopTime','SetTextSelectionsOperation','_updateState','debounce','collab-rect-range-','_name','_onLocalMutation','1em','_onRemoteACK','with','currentSkeleton$','useRef','rng','put','_urlService','onPointerMove$','post','_substituteRedoStack','name','clone','[PendingState]:\x20received\x20rejection.','_sender','Cipher','__Key__','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','[SyncedState]:\x20received\x20rejection.','_createHelper','saveSheetBlock','_mode','_transformRemoteChangesetByStateCache','off-line-single','indexOf','_minBufferSize','_iv','_render','_onUserLeave','roomInfos','IAuthzIoService','IConfigService','arc','permission.title','@univerjs/sheets-ui','_memberService','rgba(255,\x20255,\x20255,\x200.01)','reset','UNRECOGNIZED','isTransformChangesetsSuccess','Univer','_doFinalize','getLatestCsReqIdBySid','_hash','LIVESHARE_TERMINATE','_createInitialStateImpl','_commentService','SerializableCipher','BehaviorSubject','CONNECTOR_DATA_TOO_LARGE','Base64','commentUpdateEvent','trim','workbook','onMouseMove','SNAPSHOT_INVALID_SNAPSHOT','_saveCache','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','newValue','collabStatus.syncing','parse','disableLocalCache','_sessions','shouldCloseConn','/object/','Encryptor','unit-cache-','_process','_notificationService','DesktopCollaborationStatusDisplayController','b64DecodeUnicode','_singleActiveUnitService','leaveEvent','exports','_backgroundColor','objectType','reconnect','@univerjs/docs','\x0aCurrent:\x20','_onConflict','transformSelections','/fetchmissing?from=','popstate','_transitionLocked','originalMeta','_resendTimer','_HTTPService','/unit/','registerDependencies','_logService','_range','change$','socket\x20open.','icon','getTime','socket\x20close','_change$','currentTheme$','delete','url(#on-line-single_clip0_910_349)','session','collaMsg','idSuffix','setItem','m2Prime','/universer-api/authz','listRoles','_unitID','getValue','_retryConnectingTimer','SHOULD_CLOSE_CONN','isEditing','setShowComponents','Utf8','_saveTaskMap','LEAVE','HTTPRequest','setAlpha','_handleHover','_color','open$','decrypt','BlockCipher','objects','equals','BufferedBlockAlgorithm','_throwTelemetryCollaborationNewChangeset','_textBubble','Shape','[CollaborationSession]','setInterval','_startSheetCollabCursor','IRemoteInstanceService','addEventListener','_docTransformStateCacheService','colorChannel1','isTransformMutationsWithChangesetSuccess','patch','AES','UNIVER_PROJECT','_getMergeRange','onTransformSelections','saveSnapshot','merge','on-line-single_clip0_910_349','string','fromEvent','collabStatus.fetchMiss','defIds','min','@univerjs/core','snapshot','collaboration-session-retry','status','getVpScrollXYInfoByPosToVp','_eventUnsubscribe','x-univer-host','UPDATE_PERMISSION_OBJ','hovered','Warning','YUUMI_RATE_OVER_LIMIT','LICENSE_MAX_UNITS_EXCEEDED','ThemeService','transformMutationsWithChangeset','_context','getTypeOfUnitDisposed$','visibilitychange','CollaborationStatusDisplay','width','InsertSheetMutation','_assignedColors','retryConnectingInterval','every','_waitCount','sequenceExecute','entries','_getUndoStack','size','cfg','create','COLLAB_SUBMIT_CHANGESET_URL','resend','SheetsSelectionsService','setWaitCount','EvpKDF','_updateLocalCache','UniverIcon','COMPRESS_MUTATION_APPLY','_ws','deepClone','unknown','UNIVER_UNKNOWN','font','urlChange$','assignAColorForMemberID','baseRev','fillText','defineProperty','_onCursorUpdate','_onRemoteChangeset','BASE64','enableOfflineEditing','_substituteUndoStack','touchDependencies','_scheduleHeartbeat','concatMap','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','PERMISSION_REJ','length','Latin1','SetSelectionsOperation','gold400','DocCollaborationEntity','_localeService','CHANGESET_SHOULD_RETRY','$super','max','IImageIoService','Optional','_cachedData','HttpImport','createCollaborator','image/bmp','#fff','includes','fillStyle','SUCCUSS','WebSocketService','@univerjs/sheets','pipe','_shouldReportTelemetry','serializeCombRequest','@univerjs-pro/collaboration','collaboration.single-unit.warning','status$','_append','/universer-api/file/{fileID}/sign-url','isActive','selections','pad','_online','socketService','getRenderById','_prevBlock','url','connection\x20error','_handleJoinEvent','ISnapshotServerService','14SBWcJE','handleMoveRange','_collabSessionService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_collaborationTimeoutTimer','stringify','startRow','triggerDblclick','onRendered','rev','image/jpg','ACTIVE_UNIT_EVENT_CHANNEL','registerRefRange','sheets','_docStateChangeManagerService','UnitEmbedded','getSkeleton','_syncEditingCollabCursorService','@univerjs/ui','distinctUntilChanged','Injector','_reverseMap','_transformHistoryAndStateStack','clearTimeout','CHANGESET_REVISION_CONFILICT','_updateLocalCursor','liveShareNewHost','top','ERROR_EXCEED_SIZE','OTHER_CLIENTS_EDITING','values','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','[CollaborationEntity]','params','visibilityState','save','_submitChangeset','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','[OfflineState]:\x20received\x20acknowledgement.','svg','_loadDoc','setStateCache','IRenderManagerService','forEach','dispose$','unitId','_setupBeforeClosingHandler','RETRY_CONNECTING_MAX_COUNT_KEY','setActiveRange','HEARTBEAT_TIMEOUT','PERMISSION_DENIED','ILogService','APPLY_DUPLICATED','black','_clearTimeoutTimer','StreamCipher','getParam','_state$','updatePermissionPoint','roomMembers','_getScale','InsertRangeMoveRightCommandId','CommandType','_iKey','_getSignURL','_hideTimer','focused$','UNIVER_SHEET','MSG_FOR_ERROR','_transformRemoteChangesetByIMECache','requestParams','useDependency','_updateCollabCursors','collaboration-client.offline-data-not-saved','_listenToOfflineEvent','floor','getDeserializedSheetBlock','react','find','_rescheduleHeartbeat','hidden','href','DocIMEInputManagerService','startTime','collab-text-anchor-','INGEST','tag','getCurrentSelections','handleInsertRangeMoveDown','UNKNOWN_CODE','JOIN','execute','[OfflineState]:\x20received\x20changeset.','_removeClearOtherTimer','revision','transformUndoRedo','confirm','deserializeRangeWithSheet','YUUMI_UNABLE_LOAD_URL','_collaborationController','_state','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','_init','InsertRowCommandId','/collaborator','onPointerEnter$','_snapshotService','INTERNAL_ERROR','_registerDependencies','OnLineSingle','_getSheetObject','_roomMembers','list','onSendChangeset','JOINING','_stopTelemetryCollaborationNewChangeset','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_imageSourceCache','createSocket','collabStatus.synced','onCommandExecuted','commentUpdate$','json','_scheduleClearOtherTimer','_commandService','padding','registerHTTPInterceptor','_handleLeaveEvent','_onRecvEvent','useCallback','HTTPService','words','_config','_socketReady','_transformService','getCollabCursors$','take','HEARTBEAT','isArray','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','getUnit','_socketMessageSubscription','COLORS','1348460iUkkPt','IBeforeCloseService','NodePositionConvertToRectRange','_createSocket','rxjs','_checkMissing','_data','HttpExport','prototype','removeMember','LICENSE_DISTRO_REJECTED','DocStateChangeManagerService','_instanceService','/-/object/-/batch_allowed','generateRandomId','OFFLINE','engine','_updateSubUnitFromURLParams','sessionStatus','apply','conflict.content','delay','univer-online','@univerjs/rpc','docStateChange$','_handleHeartbeatEvent','@univerjs/telemetry','_scene','NOT_COLLAB','unshift','Tooltip','RETRY_CONNECTING_MAX_COUNT','deserializeToCombResponse','IUniverInstanceService','_univerInstanceService','function','asObservable','getUnitStatus$','Decryptor','createDecryptor','_toggleOnline','...','getUnitId','Hex','_initCommandExecutedListener','collabStatus.offline','_onCursorDelete','Unknown\x20user','collab-text-range-','roles','session.will-retry','_waitForHeartbeatResponse','Vector2','awaitingChangeset','history','assign','evenodd','_hover','storage','_loadSheet','@univerjs/design','_messageService','_onFetchMissResult','_cursorInfo$','byteLength','_ENC_XFORM_MODE','target','5827788NtqOki','UNIVER_SLIDE','session.connection-failed','conflict','_lockTransition','collabCursorState$','UUID','eventID','updateCursorEvent','enableSingleActiveInstanceLock','ICollaborationSocketService','charCodeAt','getColor','ReplaySubject','_colorIndex','_updateURLWithCurrentState','_collabCursorController','pauseCollaboration','extend','getOwnPropertyDescriptor','HELLO','handleInsertRow','ILocalStorageService','drawWith','blue400','sessionStatus$','@univerjs/docs-ui','TOO_MANY_REQUESTS','transformStack\x20failed!','Tools','append','UniverDocs','getActiveSheet','offline','univer-pro.collaboration-client-socket-service','join','SessionStatus','defs','0\x200\x2017\x2016','_themeService','univer-offline','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','getInterceptPoints','buffer','setUndoRedoMutationParamsCache','compose','add','OffLineSingle','Fragment','/universer-api/comb','Inject','CHANGESET_ACK','@univerjs/engine-formula','isInternalEditorID','MD5','[CollaborationState]:\x20apply\x20error!','handleDeleteRangeMoveUp','_entityInit$','takeUntil','_parse','RECV','Base','clear','collaboration-client.config','Malformed\x20UTF-8\x20data','authzUrl','bottom','ranges','byteOffset','filter','auth.needGotoLoginAlert','unsubscribe','signUrlServerUrl','_scheduleTimestamp','EmptyMutation','ALREADY_EXISTS','getStateCache','_initUnitPermissionChange','mutations','_shapes','reject','getOwnPropertySymbols','LIVESHARE_REQUEST_HOST','univer-pro.collaboration-client.single-active-unit-service','UPDATE_CURSOR','_tryEnsureSocket','repeat','getRelativeToViewportCoord','_applyRemoteChangeset','copyFileMeta','DocSkeletonManagerService','hasOwnProperty','registerBeforeClose','collaboration.closeRoom','translate(.97)','call','slice','onTransformRemoteChangesetByStateCache','SnapshotService','hide','onload','event$','getCollabEntity$','_type','_transformStack','_executeRemoteChangeset','round','LocaleService','resourceIDs','getSheetId','sin','CollaborationSession','propertyIsEnumerable','/resources','DataLoaderController','_ensureSubject','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','clipPath','fetchThroughInterceptors','reduce','current','_scheduleCollaborationTimeoutTimer','responseType','undoState','createElement','infoRsp','LOGIN_URL_KEY','finalize','_startTelemetryCollaborationNewChangeset','registerOnClose','UniverDocsUi','MemberService','has','Hasher','_anchor','_removeCollabCursors','restore','_transformUndoredo','keySize','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','saveChangeset','encrypt','AUTHZ_URL_KEY','/universer-api/snapshot','submit\x20changeset\x20error!','key','_getUploadFileURL','_clearScheduledTask','textRanges','transformRemoteChangeset','AWAITING','getAllMembers','_fetchMissChangesets','findNodePositionByCharIndex','toString','BlockCipherMode','getUndoRedoMutationParamsCache','onRemoteRetry','_colorAssignService','VIEW_MAIN','failed\x20to\x20apply\x20missed\x20changesets!','_localCacheService','deleteCollaborator','_transformPreviousActiveRange','onPointerLeave$','msCrypto','disposeUnit','requireSession','onCommentUpdate','InsertColCommandId','handleIRemoveCol','push','WorkbookEditablePermission','column','_transformStateCache','default','ICommandService','CBC','setShapeProps','ImageIoService','rxjs/operators','CollaborationStatus','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_replayCachedMutations','_localStorageService','IPermissionService','_compressMutationService','PENDING','lib','image/gif','_sessionStatus$','_members','collabSubmitChangesetUrl','CollaborationController','_selfUnitIDs','ciphertext','UniverCollaboration','_telemetryInfo','getCoordByCell','_startCollaboration','_refRangeService','NO_OTHER_CLIENTS_EDITING','_drawRectRange','/object','fill','hasher','_initResize','UniverInstanceType','FETCH_MISS','_draw','OpenSSL','unpad','closeSession','getOffsetConfig','[PendingState]:\x20received\x20acknowledgement.','isTransformMutationsWithChangesetFailure','_drawAnchor','RemoveRowCommandId','message$','whenReady','_schedule','RevisionService','disposeWithMe','ceil','collaboration_new_changeset','toggleOnline','_createInitialState','reqId','getMergeData','_onOffline','APPLY_REJECT','row','debounceTime','map','dispose','_docSyncEditingCollabCursorService','FAIL','_http','updateCollaborator','jsxs','transformMutation','UniverSheets','transformStateCache','getUnhiddenWorksheets','getSheetBlock','result','override','UNDEFINED','csAckEvent','/new_changes','getConfig','subscribeEvent','_listenToOnlineEvent','_xformMode','online','LICENSE_EXPORT_SIZE_EXCEEDED','unit','closePath','CollaborationSessionService','[UniverCollaborationClientPlugin]','Error','ref','ImageSourceType','bind','_remoteChangesetQueue','sendChangesetTimeout','univer-online-status-title','processBlock','reverse','_onConnectionOpen','_getCtorByUniverType','createIdentifier','_clearHeartbeatTimer','_createHmacHelper','ITransformService','startsWith','on-line-single','[CollaborationSessionService]','/universer-api/stream/file/upload','_onConnectionFailed','_docTransformIMECacheService','Rectangle','_handler','blockSize','USERS_ENTER','ReactCurrentOwner','PSEUDO_FETCH_MISSING_RESULT','then','fromCollab','COLLAB_WEB_SOCKET_URL_KEY','split','_isPermissionRej','Module','onlineStatusIcon','moveTo','1690208tJgQdE','now','IMessageService','_getSaveTimeout','searchParams','mixIn','HEARTBEAT_INTERVAL','_joinRoom','redoState','jsx','setParam','cursorInfo$','_startDocCollabCursor','UniverCollaborationClientPlugin','c1Prime','_id','enc','onStateChange','connectInjector','skeleton','_undoRedoService','_event$','permission.content','handleInsertRangeMoveRight','_transformIMECache','_queuedRemoteChangesets','_exhaustRemoteChangesetQueue','getCurrentUnitForType','flatMap','_unitStatus','_docTransformSelectionsService','_configService','attrs','Disposable','RegularPolygon','react.fragment','ThresholdInterceptorFactory','path','concat','getCurrent','getCurrentRevOfUnit','handleIRemoveRow','_clearOtherTimers','_DEC_XFORM_MODE','data','WordArray','\x20-\x20','_docSkeletonManagerService','_commentUpdate$','xlink:href','session.room-full','Subject','_acknowledgedAwaitingChangeset','roomMembers$','MessageType','CollaborationEvent','editingUnit','setConfig','NoPadding','\x20to\x20','toStringTag','_anchorDot','DOC_RANGE_TYPE','_resendTimeout','UniverEngineFormula','objectActions','APPLY_PERMISSION_DENIED','collab-client.tooltip.reconnect','m1Prime','TEXT_RANGE_LAYER_INDEX','getItem','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_socketService','IUndoRedoService','fetch_missing','executeCommand','_getAPIPrefixPath','doc.mutation.rich-text-editing','transformByState','_document','_send','LIVESHARE_FETCH_OPERATIONS','_onRemoteRejected','_labelPosition','INotificationService','_hovered','socket$','_removeRoom','UserManagerService','getRandomValues','COLLAB_SUBMIT_CHANGESET_URL_KEY','_refreshCollabCursors','random','AuthzIoHttpService','SetWorksheetActivateCommand','complete','30kcsbtD','/block/','hostname','/-/object/list','_scheduleSaving','_sendHeartbeatTimer','_onRefRangeChange','IDLE','loadOfflineData','_userManagerService','type','permissionRejEvent','saveOfflineData','enableAuthServer','ColorKit','splice','_hasher','onMissedChangesetFetched','LICENSE_IMPORT_SIZE_EXCEEDED','routeKey','substring','readInt32LE','[SyncedState]:\x20received\x20acknowledgement.','fromCharCode','toDisposable','isTransformMutationFailure','UNKNOWN_CMD','_awaitingChangeset','createInstance','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_cursors','COMPLETION_FINISHED','_createHandler','NOT_FOUND','onRemoteRej','from','ivSize','set','transformIMECache','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getMemberID','ONLINE','_getAPIPrefix','red300','_entities','replaceState','error','_snapshotServerService','_setupSubUnitSync','code','_key','loginUrlKey','_getAnchorBounding','liveShareOperation','encode','currentColor','iterations','all','synced','_status$','forwardRef','getCollabEntity','catch','isPermissionRej','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_cipher','_clearLocalCache','image/png','location','replaceTextRanges','ENSURE_SNAPSHOT_EXECUTION','univerjs-icon\x20univerjs-icon-','DeleteRangeMoveLeftCommandId','_socket$','awaiting','height','LIVESHARE_OPERATION','url(#$1','&source=','_timeoutTimer','DisposableCollection','_permissionService','&to=','_renderManagerService','_initStatusListener','replace','@univerjs/drawing','object','update','_cursorShapes','_changesetReqId','file','_disabled','RxDisposable','subunit','getUnitType','makeDirty','_initDependencies','_keyPriorReset','_invKeySchedule','joinRsp','body','_injector','fetchMissingChangesets','getMember','randomBytes','SheetCollabCursorShape','amd','mode','_getSendChangesetTimeout','_incrementRevisionNumber','_transformUndoRedoStack','updateMember','off-line-single_clip0_910_343','userID','addImageSourceCache','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_getSnapshotAPIPrefix','SetDocZoomRatioOperation','react.element','unload','localeService','[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.','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','onlineStatusTitle','@univerjs/network','INVALID_ARGUMENT','method','[CollaborationSessionService]:\x20socket\x20error','enableLocalCache','_sendingTimer','_unlockTransition','_sheetSkeletonManagerService','univer-online-status-icon','_collaborationPaused','combineLatest','toRgbString','crypto','state$','YUUMI_SUBSCRIPTION_NOT_FOUND','putCollaborators','salt','displayName','[DataLoaderController]','addObjects','range','FromArray','uploadFileServerUrl','CompressMutationService','SUBMIT_CHANGESET','_pendingMutations','VIEWPORT_KEY','abs','registerComponent','clamp','@univerjs/engine-render','csShouldRetryEvent','APPLY_REVISION_CONFILICT','LocalCacheService','randomUUID','_registerRenderDependencies','getSheetBySheetId','M0\x200H16V16H0z','_updateStatus','_socket','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','parseProtocolChangeset','880962gCeiEK','sigBytes','UniverDesign','ws://127.0.0.1:8000/universer-api/comb/connect','SHA1','operators','LocalUndoRedoService','onRemoteChangeset','className','save\x20fail\x20reason\x20is\x20','_clearRedo','selection','telemetry\x20info\x20is\x20not\x20initialized','NEW_CHANGESETS','TEXT','charAt','collabWebSocketUrl','objectID','_getLoginPath','_syncEditingCollabCursor','handleDeleteRangeMoveLeft','switchMap','_roomMembers$','RemoveColCommandId','RichTextEditingMutation','syncEditingCollabCursor','capture','MUTATION','getRangePointData','transform','getActiveRange','FETCH_MISSING','getDocRanges','init','clearInterval','_unitOnClients','substr','endColumn','LOCAL_CACHE_INTERVAL','CollaborationEntity','onTransformRemoteChangesetByIMECache','pending','color','_onUserJoin','close$','HmacSHA1','origin','COMMENT_UPDATE','onTransformIME','_telemetryService','_collaborationSessionService','IUIPartsService','pushState','univer-online-status','headers','getRoom','_keySchedule','_clearCollaborationTimeoutTimer','sid','transformChangesets','HMAC','[CollaborationUndoRedoService]','useObservable','_nDataBytes','addObject','_clearUndo','_undoStacks','actions','SheetCollaborationEntity','_changesetSessionId','getTypeOfUnitAdded$','serializeRangeWithSheet','USERS_LEAVE','cmd','UNIVER_DOC'];_0x12e6=function(){return _0x5aa125;};return _0x12e6();}function _0x10db(_0xb99645,_0x341cea){const _0x12e694=_0x12e6();return _0x10db=function(_0x10db1f,_0x43cd04){_0x10db1f=_0x10db1f-0x1e9;let _0x474c23=_0x12e694[_0x10db1f];return _0x474c23;},_0x10db(_0xb99645,_0x341cea);}(function(_0x205527,_0x2fe16a){const _0x427cfd=_0x10db,_0x41ef00=_0x205527();while(!![]){try{const _0x537c24=parseInt(_0x427cfd(0x520))/0x1*(-parseInt(_0x427cfd(0x653))/0x2)+parseInt(_0x427cfd(0x480))/0x3+-parseInt(_0x427cfd(0x20e))/0x4+-parseInt(_0x427cfd(0x50d))/0x5+parseInt(_0x427cfd(0x3d8))/0x6*(parseInt(_0x427cfd(0x4ea))/0x7)+-parseInt(_0x427cfd(0x378))/0x8+parseInt(_0x427cfd(0x251))/0x9;if(_0x537c24===_0x2fe16a)break;else _0x41ef00['push'](_0x41ef00['shift']());}catch(_0x40ab2c){_0x41ef00['push'](_0x41ef00['shift']());}}}(_0x12e6,0x36d8e),function(_0x6b6bd3,_0x2d7ba2){const _0x585254=_0x10db;typeof exports==_0x585254(0x430)&&typeof module<'u'?_0x2d7ba2(exports,require(_0x585254(0x5f1)),require(_0x585254(0x212)),require(_0x585254(0x305)),require(_0x585254(0x24a)),require(_0x585254(0x665)),require(_0x585254(0x456)),require(_0x585254(0x643)),require(_0x585254(0x228)),require(_0x585254(0x26b)),require(_0x585254(0x63f)),require(_0x585254(0x474)),require(_0x585254(0x5a8)),require('@univerjs/drawing'),require(_0x585254(0x285)),require(_0x585254(0x57d)),require(_0x585254(0x6a0)),require(_0x585254(0x225))):typeof define==_0x585254(0x231)&&define[_0x585254(0x444)]?define([_0x585254(0x5a4),_0x585254(0x5f1),_0x585254(0x212),_0x585254(0x305),_0x585254(0x24a),_0x585254(0x665),'@univerjs/network',_0x585254(0x643),'@univerjs/telemetry','@univerjs/docs-ui',_0x585254(0x63f),_0x585254(0x474),_0x585254(0x5a8),_0x585254(0x42f),'@univerjs/engine-formula',_0x585254(0x57d),'react',_0x585254(0x225)],_0x2d7ba2):(_0x6b6bd3=typeof globalThis<'u'?globalThis:_0x6b6bd3||self,_0x2d7ba2(_0x6b6bd3[_0x585254(0x501)]={},_0x6b6bd3['UniverCore'],_0x6b6bd3[_0x585254(0x212)],_0x6b6bd3[_0x585254(0x212)][_0x585254(0x485)],_0x6b6bd3[_0x585254(0x482)],_0x6b6bd3['UniverUi'],_0x6b6bd3['UniverNetwork'],_0x6b6bd3[_0x585254(0x315)],_0x6b6bd3['UniverTelemetry'],_0x6b6bd3[_0x585254(0x2d3)],_0x6b6bd3[_0x585254(0x342)],_0x6b6bd3['UniverEngineRender'],_0x6b6bd3[_0x585254(0x270)],_0x6b6bd3['UniverDrawing'],_0x6b6bd3[_0x585254(0x3b8)],_0x6b6bd3['UniverSheetsUi'],_0x6b6bd3['React'],_0x6b6bd3[_0x585254(0x53c)]));}(this,function(_0x2ebd39,_0x170db9,_0x145930,_0x34e4e3,_0x3e1273,_0x332830,_0x2e400a,_0x294b4b,_0x51449e,_0x5a2d39,_0x292e35,_0x224b0f,_0x2bd9e1,_0x19d7a3,_0x342e73,_0x342006,_0x16c5c0,_0x3227e1){'use strict';const _0x139045=_0x10db;var _0x2fd9f9=Object[_0x139045(0x620)],_0x4a098f=(_0x535ce6,_0x18d3fb,_0x3b6c21)=>_0x18d3fb in _0x535ce6?_0x2fd9f9(_0x535ce6,_0x18d3fb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b6c21}):_0x535ce6[_0x18d3fb]=_0x3b6c21,_0xee5085=(_0x9def87,_0x5223b1,_0x171093)=>_0x4a098f(_0x9def87,typeof _0x5223b1!='symbol'?_0x5223b1+'':_0x5223b1,_0x171093);const _0x382152='SNAPSHOT_SERVER_URL_KEY',_0x4275b2=_0x139045(0x2e0),_0x23a416='SNAPSHOT_URL_KEY',_0x3c6183=_0x139045(0x4d7),_0x3e23b2='COLLAB_WEB_SOCKET_URL',_0x5760e3=_0x139045(0x483),_0x27ced4=_0x139045(0x37e),_0x5aed78=_0x139045(0x684),_0x394600=_0x139045(0x22d),_0x9789df=_0x139045(0x4a6),_0x33b525=_0x139045(0x60f),_0x1b5509=_0x139045(0x282),_0x3cb970=_0x139045(0x2cf),_0x421a0a='/universer-api/oidc/authpage';var _0x3d36da=(_0xaf1dbb=>(_0xaf1dbb[_0xaf1dbb[_0x139045(0x348)]=0x0]=_0x139045(0x348),_0xaf1dbb[_0xaf1dbb['OK']=0x1]='OK',_0xaf1dbb[_0xaf1dbb[_0x139045(0x1ea)]=0x2]='INTERNAL_ERROR',_0xaf1dbb[_0xaf1dbb[_0x139045(0x685)]=0x3]=_0x139045(0x685),_0xaf1dbb[_0xaf1dbb[_0x139045(0x3f9)]=0x4]=_0x139045(0x3f9),_0xaf1dbb[_0xaf1dbb[_0x139045(0x52b)]=0x5]=_0x139045(0x52b),_0xaf1dbb[_0xaf1dbb['ALREADY_EXISTS']=0x6]=_0x139045(0x29c),_0xaf1dbb[_0xaf1dbb[_0x139045(0x457)]=0x7]=_0x139045(0x457),_0xaf1dbb[_0xaf1dbb[_0x139045(0x26c)]=0x8]=_0x139045(0x26c),_0xaf1dbb[_0xaf1dbb[_0x139045(0x3f7)]=0x9]=_0x139045(0x3f7),_0xaf1dbb[_0xaf1dbb[_0x139045(0x66b)]=0x1389]=_0x139045(0x66b),_0xaf1dbb[_0xaf1dbb[_0x139045(0x592)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xaf1dbb[_0xaf1dbb[_0x139045(0x4fd)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0xaf1dbb[_0xaf1dbb[_0x139045(0x41f)]=0x1773]=_0x139045(0x41f),_0xaf1dbb[_0xaf1dbb['APPLY_REJECT']=0x1b59]=_0x139045(0x337),_0xaf1dbb[_0xaf1dbb['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x139045(0x548),_0xaf1dbb[_0xaf1dbb['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x139045(0x476),_0xaf1dbb[_0xaf1dbb['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x139045(0x3ba),_0xaf1dbb[_0xaf1dbb[_0x139045(0x687)]=0x1b5d]='APPLY_DUPLICATED',_0xaf1dbb[_0xaf1dbb[_0x139045(0x58c)]=0x1f41]=_0x139045(0x58c),_0xaf1dbb[_0xaf1dbb['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x139045(0x5fc),_0xaf1dbb[_0xaf1dbb[_0x139045(0x3f5)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xaf1dbb[_0xaf1dbb['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x139045(0x3ea),_0xaf1dbb[_0xaf1dbb[_0x139045(0x350)]=0x232c]=_0x139045(0x350),_0xaf1dbb[_0xaf1dbb['LICENSE_DISTRO_REJECTED']=0x232d]=_0x139045(0x218),_0xaf1dbb[_0xaf1dbb['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x139045(0x6b5),_0xaf1dbb[_0xaf1dbb[_0x139045(0x4d3)]=0x2712]=_0x139045(0x4d3),_0xaf1dbb[_0xaf1dbb[_0x139045(0x5fb)]=0x2713]=_0x139045(0x5fb),_0xaf1dbb[_0xaf1dbb[_0x139045(0x464)]=0x2714]=_0x139045(0x464),_0xaf1dbb[_0xaf1dbb['UNRECOGNIZED']=-0x1]=_0x139045(0x581),_0xaf1dbb))(_0x3d36da||{}),_0x5950ae=(_0x3240ac=>(_0x3240ac[_0x3240ac[_0x139045(0x61a)]=0x0]=_0x139045(0x61a),_0x3240ac[_0x3240ac[_0x139045(0x4ca)]=0x1]=_0x139045(0x4ca),_0x3240ac[_0x3240ac[_0x139045(0x696)]=0x2]=_0x139045(0x696),_0x3240ac[_0x3240ac[_0x139045(0x252)]=0x3]=_0x139045(0x252),_0x3240ac[_0x3240ac[_0x139045(0x5e6)]=0x4]=_0x139045(0x5e6),_0x3240ac[_0x3240ac[_0x139045(0x581)]=-0x1]=_0x139045(0x581),_0x3240ac))(_0x5950ae||{}),_0x474c88=(_0x41c11a=>(_0x41c11a[_0x41c11a[_0x139045(0x3f2)]=0x0]='UNKNOWN_CMD',_0x41c11a[_0x41c11a[_0x139045(0x265)]=0x1]=_0x139045(0x265),_0x41c11a[_0x41c11a['JOIN']=0x2]=_0x139045(0x6ad),_0x41c11a[_0x41c11a[_0x139045(0x5ce)]=0x3]=_0x139045(0x5ce),_0x41c11a[_0x41c11a[_0x139045(0x6a8)]=0x4]=_0x139045(0x6a8),_0x41c11a[_0x41c11a[_0x139045(0x208)]=0x5]=_0x139045(0x208),_0x41c11a[_0x41c11a[_0x139045(0x28d)]=0x6]='RECV',_0x41c11a[_0x41c11a[_0x139045(0x581)]=-0x1]=_0x139045(0x581),_0x41c11a))(_0x474c88||{}),_0x47dbb2=(_0x2bbe3=>(_0x2bbe3[_0x2bbe3[_0x139045(0x6ac)]=0x0]='UNKNOWN_CODE',_0x2bbe3[_0x2bbe3['OK']=0x1]='OK',_0x2bbe3[_0x2bbe3['FAIL']=0x2]='FAIL',_0x2bbe3[_0x2bbe3[_0x139045(0x581)]=-0x1]=_0x139045(0x581),_0x2bbe3))(_0x47dbb2||{}),_0x517db4=(_0x2451f9=>(_0x2451f9[_0x2451f9['Undefined']=0x0]=_0x139045(0x511),_0x2451f9[_0x2451f9[_0x139045(0x637)]=0x1]=_0x139045(0x637),_0x2451f9[_0x2451f9[_0x139045(0x215)]=0x2]=_0x139045(0x215),_0x2451f9[_0x2451f9[_0x139045(0x662)]=0x3]=_0x139045(0x662),_0x2451f9[_0x2451f9[_0x139045(0x4da)]=0x4]=_0x139045(0x4da),_0x2451f9[_0x2451f9[_0x139045(0x581)]=-0x1]=_0x139045(0x581),_0x2451f9))(_0x517db4||{});const _0x2cc87b=_0x139045(0x290),_0x3ae446={};function _0xb75512(_0x1db871){const _0x3f57c8=_0x139045;var _0x11fce8,_0x11ee45,_0x407732,_0x4604ac,_0x4a6109;const _0x24c9ae=_0x1db871[_0x3f57c8(0x3a4)],_0x5245a9=JSON[_0x3f57c8(0x597)](_0x24c9ae);switch(_0x5245a9[_0x3f57c8(0x4c9)]){case _0x474c88[_0x3f57c8(0x208)]:case _0x474c88[_0x3f57c8(0x265)]:{const _0x367775=_0x5245a9[_0x3f57c8(0x2ce)];return{..._0x5245a9,'data':_0x367775,'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};}case _0x474c88['JOIN']:{const _0x422d1c=_0x5245a9[_0x3f57c8(0x43d)];return{..._0x5245a9,'data':_0x422d1c,'cmd':_0x5245a9['cmd']};}case _0x474c88['RECV']:{const _0x4575d9=_0x5245a9[_0x3f57c8(0x5c0)];switch(_0x4575d9[_0x3f57c8(0x258)]){case _0x294b4b[_0x3f57c8(0x3af)][_0x3f57c8(0x62a)]:return{..._0x5245a9,'data':{..._0x4575d9,'data':(_0x11fce8=_0x4575d9[_0x3f57c8(0x3e3)])==null?void 0x0:_0x11fce8['cs']},'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};case _0x294b4b[_0x3f57c8(0x3af)][_0x3f57c8(0x284)]:return{..._0x5245a9,'data':{..._0x4575d9,'data':(_0x11ee45=_0x4575d9[_0x3f57c8(0x349)])==null?void 0x0:_0x11ee45['cs']},'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};case _0x294b4b[_0x3f57c8(0x3af)]['NEW_CHANGESETS']:return{..._0x5245a9,'data':{..._0x4575d9,'data':(_0x407732=_0x4575d9[_0x3f57c8(0x52c)])==null?void 0x0:_0x407732['cs']},'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};case _0x294b4b[_0x3f57c8(0x3af)]['CHANGESET_REJ']:return{..._0x5245a9,'data':{..._0x4575d9,'data':(_0x4604ac=_0x4575d9['csRejEvent'])==null?void 0x0:_0x4604ac['cs']},'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};case _0x294b4b[_0x3f57c8(0x3af)][_0x3f57c8(0x631)]:return{..._0x5245a9,'data':{..._0x4575d9,'data':(_0x4a6109=_0x4575d9[_0x3f57c8(0x475)])==null?void 0x0:_0x4a6109['cs']},'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};case _0x294b4b[_0x3f57c8(0x3af)][_0x3f57c8(0x2a5)]:return{..._0x5245a9,'data':{..._0x4575d9,'data':_0x4575d9[_0x3f57c8(0x259)]},'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};case _0x294b4b['CollaborationEvent'][_0x3f57c8(0x36d)]:return{..._0x5245a9,'data':{..._0x4575d9,'data':_0x4575d9['joinEvent']},'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};case _0x294b4b['CollaborationEvent'][_0x3f57c8(0x4c8)]:return{..._0x5245a9,'data':{..._0x4575d9,'data':_0x4575d9[_0x3f57c8(0x5a3)]},'cmd':_0x5245a9['cmd']};case _0x294b4b[_0x3f57c8(0x3af)]['LIVESHARE_NEW_HOST']:return{..._0x5245a9,'data':{..._0x4575d9,'data':_0x4575d9[_0x3f57c8(0x66d)]},'cmd':_0x5245a9['cmd']};case _0x294b4b[_0x3f57c8(0x3af)][_0x3f57c8(0x3c9)]:case _0x294b4b[_0x3f57c8(0x3af)][_0x3f57c8(0x425)]:return{..._0x5245a9,'data':{..._0x4575d9,'data':_0x4575d9[_0x3f57c8(0x40d)]},'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};case _0x294b4b['CollaborationEvent'][_0x3f57c8(0x587)]:return{..._0x5245a9,'data':{..._0x4575d9,'data':_0x4575d9[_0x3f57c8(0x66d)]},'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};case _0x294b4b[_0x3f57c8(0x3af)][_0x3f57c8(0x697)]:return{..._0x5245a9,'data':_0x4575d9,'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};case _0x294b4b['CollaborationEvent'][_0x3f57c8(0x4af)]:return{..._0x5245a9,'data':{..._0x4575d9,'data':_0x4575d9[_0x3f57c8(0x58e)]},'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};case _0x294b4b['CollaborationEvent'][_0x3f57c8(0x5f8)]:return{..._0x5245a9,'data':{..._0x4575d9,'data':_0x4575d9[_0x3f57c8(0x51b)]},'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};case _0x294b4b[_0x3f57c8(0x3af)][_0x3f57c8(0x5c9)]:return{..._0x5245a9,'data':{..._0x4575d9,'data':_0x4575d9[_0x3f57c8(0x59a)]},'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};default:return _0x5245a9;}}default:return _0x5245a9;}}function _0xb9a1c0(_0x9d38ac){const _0x218ed8=_0x139045;switch(_0x9d38ac['cmd']){case _0x474c88[_0x218ed8(0x208)]:case _0x474c88[_0x218ed8(0x265)]:return JSON[_0x218ed8(0x658)]({'cmd':_0x9d38ac[_0x218ed8(0x4c9)],'routeKey':_0x9d38ac[_0x218ed8(0x3eb)]});case _0x474c88[_0x218ed8(0x6a8)]:{let _0x49b922;switch(_0x9d38ac[_0x218ed8(0x3a4)]['eventID']){case _0x294b4b[_0x218ed8(0x3af)][_0x218ed8(0x2a5)]:{_0x49b922={'eventID':_0x294b4b['CollaborationEvent'][_0x218ed8(0x2a5)],'updateCursorEvent':_0x9d38ac[_0x218ed8(0x3a4)][_0x218ed8(0x3a4)]};break;}case _0x294b4b[_0x218ed8(0x3af)][_0x218ed8(0x4c8)]:{_0x49b922={'eventID':_0x294b4b[_0x218ed8(0x3af)][_0x218ed8(0x4c8)],'leaveEvent':_0x9d38ac['data'][_0x218ed8(0x3a4)]};break;}case _0x294b4b['CollaborationEvent']['USERS_ENTER']:{_0x49b922={'eventID':_0x294b4b[_0x218ed8(0x3af)][_0x218ed8(0x36d)],'joinEvent':_0x9d38ac['data'][_0x218ed8(0x3a4)]};break;}case _0x294b4b[_0x218ed8(0x3af)][_0x218ed8(0x51e)]:{_0x49b922={'eventID':_0x294b4b[_0x218ed8(0x3af)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x9d38ac[_0x218ed8(0x3a4)][_0x218ed8(0x3a4)]};break;}case _0x294b4b[_0x218ed8(0x3af)][_0x218ed8(0x425)]:{_0x49b922={'eventID':_0x294b4b['CollaborationEvent'][_0x218ed8(0x425)],'liveShareOperation':_0x9d38ac[_0x218ed8(0x3a4)][_0x218ed8(0x3a4)]};break;}case _0x294b4b['CollaborationEvent'][_0x218ed8(0x587)]:{_0x49b922={'eventID':_0x294b4b[_0x218ed8(0x3af)][_0x218ed8(0x587)],'liveShareTerminate':_0x9d38ac[_0x218ed8(0x3a4)][_0x218ed8(0x3a4)]};break;}case _0x294b4b[_0x218ed8(0x3af)][_0x218ed8(0x2a3)]:{_0x49b922={'eventID':_0x294b4b[_0x218ed8(0x3af)][_0x218ed8(0x2a3)],'liveShareRequestHost':_0x9d38ac[_0x218ed8(0x3a4)]['data']};break;}case _0x294b4b[_0x218ed8(0x3af)][_0x218ed8(0x3c9)]:{_0x49b922={'eventID':_0x294b4b[_0x218ed8(0x3af)][_0x218ed8(0x3c9)]};break;}default:_0x49b922={'eventID':_0x9d38ac['data'][_0x218ed8(0x258)]};}return JSON['stringify']({'cmd':_0x9d38ac[_0x218ed8(0x4c9)],'routeKey':_0x9d38ac['routeKey'],'collaMsg':_0x49b922});}case _0x474c88['JOIN']:return JSON[_0x218ed8(0x658)]({'cmd':_0x9d38ac[_0x218ed8(0x4c9)],'routeKey':_0x9d38ac[_0x218ed8(0x3eb)],'joinReq':_0x9d38ac['data']});case _0x474c88['LEAVE']:return JSON[_0x218ed8(0x658)]({'cmd':_0x9d38ac['cmd'],'routeKey':_0x9d38ac[_0x218ed8(0x3eb)],'leaveReq':_0x9d38ac[_0x218ed8(0x3a4)]});default:throw new Error(_0x218ed8(0x56c));}}var _0x2ae602=Object['defineProperty'],_0x19284b=Object[_0x139045(0x264)],_0x32a08f=(_0xbdf3fa,_0x225a3b,_0x52c6fd,_0x5f0253)=>{const _0x1a31d8=_0x139045;for(var _0x5773be=_0x5f0253>0x1?void 0x0:_0x5f0253?_0x19284b(_0x225a3b,_0x52c6fd):_0x225a3b,_0x476488=_0xbdf3fa[_0x1a31d8(0x62b)]-0x1,_0x5041f8;_0x476488>=0x0;_0x476488--)(_0x5041f8=_0xbdf3fa[_0x476488])&&(_0x5773be=(_0x5f0253?_0x5041f8(_0x225a3b,_0x52c6fd,_0x5773be):_0x5041f8(_0x5773be))||_0x5773be);return _0x5f0253&&_0x5773be&&_0x2ae602(_0x225a3b,_0x52c6fd,_0x5773be),_0x5773be;},_0x4706f1=(_0x21daf6,_0xde42dc)=>(_0x3a1459,_0x387ff8)=>_0xde42dc(_0x3a1459,_0x387ff8,_0x21daf6);const _0x54bec8=_0x170db9['createIdentifier'](_0x139045(0x273));function _0x3def99(_0xc802f3,_0x328272,_0x3bc16e){const _0x59b30d=_0x139045;return _0xc802f3+'/'+_0x328272+_0x59b30d(0x5b2)+_0x3bc16e+_0x59b30d(0x34a);}_0x2ebd39[_0x139045(0x4fe)]=class extends _0x170db9[_0x139045(0x399)]{constructor(_0x3ec43d,_0x187626,_0x2c5c79,_0x4ca1e0,_0x2c41c6){const _0x56756c=_0x139045;super(),this[_0x56756c(0x33e)]=_0x3ec43d,this['_ws']=_0x187626,this[_0x56756c(0x397)]=_0x2c5c79,this[_0x56756c(0x5b4)]=_0x4ca1e0,this[_0x56756c(0x407)]=_0x2c41c6;}['createSocket'](_0x339bf3){const _0x84f84d=_0x139045,_0x13625c=this[_0x84f84d(0x617)][_0x84f84d(0x1f5)](_0x339bf3);if(!_0x13625c)throw new Error(_0x84f84d(0x418));const _0x120a9e=new _0x170db9[(_0x84f84d(0x429))](),_0x549a9d=new _0x145930['Subject']();_0x120a9e['add'](_0x13625c[_0x84f84d(0x4ac)][_0x84f84d(0x519)](_0x5dbd1d=>_0x549a9d[_0x84f84d(0x4ed)](_0x5dbd1d))),_0x120a9e[_0x84f84d(0x27f)](_0x170db9[_0x84f84d(0x3f0)](()=>_0x549a9d[_0x84f84d(0x3d7)]()));const _0x3d73eb=new _0x145930['Subject']();_0x120a9e[_0x84f84d(0x27f)](_0x13625c[_0x84f84d(0x4f1)][_0x84f84d(0x519)](_0xc3310d=>_0x3d73eb[_0x84f84d(0x4ed)](_0xc3310d))),_0x120a9e['add'](_0x170db9[_0x84f84d(0x3f0)](()=>_0x3d73eb[_0x84f84d(0x3d7)]()));const _0x356f32=new _0x145930['Subject']();_0x120a9e['add'](_0x13625c['message$'][_0x84f84d(0x519)](_0x162568=>{const _0x27f0e3=_0x84f84d,_0x362ba5=_0xb75512(_0x162568);_0x356f32[_0x27f0e3(0x4ed)](_0x362ba5);})),_0x120a9e[_0x84f84d(0x27f)](_0x170db9['toDisposable'](()=>_0x356f32['complete']()));let _0x38e29c;const _0x1f859c=()=>{const _0x302fc2=_0x84f84d;_0x3d73eb[_0x302fc2(0x4ed)](new Event(_0x302fc2(0x650))),_0x549a9d[_0x302fc2(0x4ed)](new CloseEvent(_0x302fc2(0x650))),_0x38e29c['close']();};return _0x38e29c={'memberID':'','close$':_0x549a9d[_0x84f84d(0x232)](),'error$':_0x3d73eb[_0x84f84d(0x232)](),'open$':_0x13625c[_0x84f84d(0x5d3)],'message$':_0x356f32[_0x84f84d(0x232)](),'send':_0x4ee732=>{const _0x5acd2b=_0x84f84d;if(_0x4ee732[_0x5acd2b(0x4c9)]===_0x474c88[_0x5acd2b(0x6a8)]){if(_0x4ee732['data']['eventID']===_0x294b4b[_0x5acd2b(0x3af)][_0x5acd2b(0x46e)]){this[_0x5acd2b(0x677)](_0x38e29c,_0x4ee732[_0x5acd2b(0x3a4)])['catch'](_0x3985bf=>{const _0x5a54fe=_0x5acd2b;this[_0x5a54fe(0x5b4)]['error'](_0x3985bf),_0x1f859c();});return;}if(_0x4ee732[_0x5acd2b(0x3a4)][_0x5acd2b(0x258)]===_0x294b4b[_0x5acd2b(0x3af)][_0x5acd2b(0x49f)]){const _0x84cec4=_0x4ee732[_0x5acd2b(0x3a4)];this['_fetchMissChangesets'](_0x84cec4)['then'](_0x46a274=>{const _0x112ca8=_0x5acd2b;_0x356f32[_0x112ca8(0x4ed)]({'cmd':_0x474c88[_0x112ca8(0x28d)],'code':_0x47dbb2['OK'],'routeKey':_0x84cec4[_0x112ca8(0x3a4)][_0x112ca8(0x4ee)],'routeType':'','data':{'eventID':_0x294b4b['CollaborationEvent'][_0x112ca8(0x36f)],'data':{'changesets':_0x46a274}}});})[_0x5acd2b(0x416)](_0x388bf1=>{const _0x1d63dd=_0x5acd2b;this[_0x1d63dd(0x5b4)][_0x1d63dd(0x406)](_0x388bf1),_0x1f859c();});return;}}_0x13625c[_0x5acd2b(0x53e)](_0xb9a1c0(_0x4ee732));},'close':()=>{_0x13625c['close'](),_0x120a9e['dispose']();}},_0x38e29c;}async['_submitChangeset'](_0x5f1fa0,_0xdece90){const _0x1353e8=_0x139045;var _0x2fa3fe,_0x1d00f0;const {unitType:_0x136eb7,unitID:_0x51198f,changeset:_0x255040}=_0xdece90[_0x1353e8(0x3a4)],_0x191231={'unitID':_0x51198f,'memberID':_0x5f1fa0[_0x1353e8(0x509)],'type':_0x136eb7,'changeset':_0x294b4b['parseChangesetToProtocol'](_0x255040)},_0x59001a=this[_0x1353e8(0x397)][_0x1353e8(0x34b)](_0x33b525),_0x2948f5=this[_0x1353e8(0x397)][_0x1353e8(0x34b)](_0x2cc87b),_0x1bbcbd=_0x3def99((_0x1d00f0=(_0x2fa3fe=_0x2948f5==null?void 0x0:_0x2948f5[_0x1353e8(0x311)])!=null?_0x2fa3fe:_0x59001a)!=null?_0x1d00f0:_0x1b5509,_0x136eb7,_0x51198f);try{await this[_0x1353e8(0x33e)][_0x1353e8(0x564)](_0x1bbcbd,{'body':_0x191231});}catch(_0x519139){throw this['_logService'][_0x1353e8(0x406)](_0x1353e8(0x5dc),_0x1353e8(0x2e1)),_0x519139;}}async[_0x139045(0x2e9)](_0x1359ea){const _0x8d260d=_0x139045,{unitID:_0x4c8bf1,from:_0x13a0a7,to:_0x245124,unitType:_0x33c7f3}=_0x1359ea['data'];return(await this[_0x8d260d(0x407)][_0x8d260d(0x440)]({'metadata':void 0x0},{'unitID':_0x4c8bf1,'type':_0x33c7f3,'from':_0x13a0a7,'to':_0x245124}))[_0x8d260d(0x50e)];}},_0x2ebd39[_0x139045(0x4fe)]=_0x32a08f([_0x4706f1(0x0,_0x170db9[_0x139045(0x283)](_0x2e400a[_0x139045(0x201)])),_0x4706f1(0x1,_0x170db9[_0x139045(0x283)](_0x2e400a[_0x139045(0x63e)])),_0x4706f1(0x2,_0x170db9[_0x139045(0x57a)]),_0x4706f1(0x3,_0x170db9['ILogService']),_0x4706f1(0x4,_0x294b4b[_0x139045(0x652)])],_0x2ebd39[_0x139045(0x4fe)]);const _0x54d408=_0x139045(0x331);function _0x24a95e(_0x3f02dd){const _0x478c6d=_0x139045;return JSON[_0x478c6d(0x658)](_0x3f02dd)[_0x478c6d(0x62b)];}class _0x29434f{constructor(){const _0x3de977=_0x139045;_0xee5085(this,_0x3de977(0x3a8),new _0x145930[(_0x3de977(0x3ab))]()),_0xee5085(this,_0x3de977(0x1f8),this[_0x3de977(0x3a8)][_0x3de977(0x232)]());}[_0x139045(0x2f9)](_0x3375){const _0x56bd58=_0x139045;this[_0x56bd58(0x3a8)][_0x56bd58(0x4ed)](_0x3375);}}var _0x2f5f85=Object[_0x139045(0x620)],_0x4685ca=Object[_0x139045(0x264)],_0x79efcb=(_0xa32d71,_0x4422c0,_0x3f9f0e,_0x33b653)=>{const _0x2179a2=_0x139045;for(var _0x1e23fb=_0x33b653>0x1?void 0x0:_0x33b653?_0x4685ca(_0x4422c0,_0x3f9f0e):_0x4422c0,_0x67bb36=_0xa32d71[_0x2179a2(0x62b)]-0x1,_0x4ae07b;_0x67bb36>=0x0;_0x67bb36--)(_0x4ae07b=_0xa32d71[_0x67bb36])&&(_0x1e23fb=(_0x33b653?_0x4ae07b(_0x4422c0,_0x3f9f0e,_0x1e23fb):_0x4ae07b(_0x1e23fb))||_0x1e23fb);return _0x33b653&&_0x1e23fb&&_0x2f5f85(_0x4422c0,_0x3f9f0e,_0x1e23fb),_0x1e23fb;},_0x21c0ac=(_0x3d7823,_0x2f880d)=>(_0x260c0e,_0x7731e9)=>_0x2f880d(_0x260c0e,_0x7731e9,_0x3d7823);_0x2ebd39['MemberService']=class extends _0x170db9[_0x139045(0x399)]{constructor(_0x598afa,_0x1701af){const _0x45701b=_0x139045;super(),_0xee5085(this,'_roomMembers',new Map()),(this[_0x45701b(0x230)]=_0x598afa,this['_userManagerService']=_0x1701af,this[_0x45701b(0x32f)](_0x170db9[_0x45701b(0x3f0)](_0x145930[_0x45701b(0x5ea)](this['_univerInstanceService'][_0x45701b(0x600)](_0x170db9[_0x45701b(0x320)][_0x45701b(0x696)])[_0x45701b(0x640)](_0x34e4e3[_0x45701b(0x33a)](_0x157e70=>_0x157e70[_0x45701b(0x238)]())),this['_univerInstanceService'][_0x45701b(0x600)](_0x170db9['UniverInstanceType'][_0x45701b(0x4ca)])[_0x45701b(0x640)](_0x34e4e3[_0x45701b(0x33a)](_0x41d4de=>_0x41d4de[_0x45701b(0x238)]())),this['_univerInstanceService'][_0x45701b(0x600)](_0x170db9[_0x45701b(0x320)]['UNIVER_SLIDE'])[_0x45701b(0x640)](_0x34e4e3[_0x45701b(0x33a)](_0x2c1d03=>_0x2c1d03[_0x45701b(0x238)]())))[_0x45701b(0x519)](_0x2d4ba6=>this['_removeRoom'](_0x2d4ba6)))));}[_0x139045(0x530)](_0x42c951){const _0x16e967=_0x139045;this[_0x16e967(0x3e1)][_0x16e967(0x530)](_0x42c951);}[_0x139045(0x4cc)](){const _0x5bc423=_0x139045;return this[_0x5bc423(0x3e1)]['getCurrentUser']();}[_0x139045(0x449)](_0x432385,_0x1c4d07){const _0x4b4de3=_0x139045;let _0x4f6395=this[_0x4b4de3(0x1ee)][_0x4b4de3(0x51c)](_0x432385);_0x4f6395||(_0x4f6395=new _0x553cfa(),this[_0x4b4de3(0x1ee)][_0x4b4de3(0x3fd)](_0x432385,_0x4f6395)),_0x4f6395[_0x4b4de3(0x449)](_0x1c4d07);}[_0x139045(0x217)](_0x43b3b0,_0x4df718){const _0x410a51=_0x139045,_0x2e5e5a=this[_0x410a51(0x1ee)][_0x410a51(0x51c)](_0x43b3b0);_0x2e5e5a&&_0x2e5e5a[_0x410a51(0x217)](_0x4df718);}[_0x139045(0x4b7)](_0x3de2f4){const _0x3d4e1c=_0x139045;return this[_0x3d4e1c(0x1ee)][_0x3d4e1c(0x51c)](_0x3de2f4);}[_0x139045(0x441)](_0x355dbd,_0x586b7e){const _0xd9949e=_0x139045,_0x5a17dd=this['_roomMembers'][_0xd9949e(0x51c)](_0x355dbd);if(_0x5a17dd)return _0x5a17dd[_0xd9949e(0x441)](_0x586b7e);}[_0x139045(0x3cf)](_0x3b1f53){const _0x5309eb=_0x139045,_0x2dca4c=this[_0x5309eb(0x1ee)]['get'](_0x3b1f53);_0x2dca4c&&(_0x2dca4c[_0x5309eb(0x33b)](),this[_0x5309eb(0x1ee)][_0x5309eb(0x5bd)](_0x3b1f53));}[_0x139045(0x33b)](){const _0x3d11bd=_0x139045;this[_0x3d11bd(0x1ee)]['forEach'](_0x446b39=>_0x446b39[_0x3d11bd(0x33b)]()),this[_0x3d11bd(0x1ee)]['clear']();}},_0x2ebd39['MemberService']=_0x79efcb([_0x21c0ac(0x0,_0x170db9[_0x139045(0x22f)]),_0x21c0ac(0x1,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x3d0)]))],_0x2ebd39[_0x139045(0x2d4)]);class _0x553cfa extends _0x170db9[_0x139045(0x399)]{constructor(){const _0x5ef16d=_0x139045;super(...arguments),_0xee5085(this,_0x5ef16d(0x310),new Map());}[_0x139045(0x33b)](){const _0x13f1cf=_0x139045;this[_0x13f1cf(0x310)][_0x13f1cf(0x28f)]();}[_0x139045(0x449)](_0x28ee17){const _0x28781d=_0x139045;this[_0x28781d(0x310)][_0x28781d(0x3fd)](_0x28ee17['memberID'],_0x28ee17);}['removeMember'](_0x1bb7f9){const _0x3e8eff=_0x139045;this[_0x3e8eff(0x310)][_0x3e8eff(0x5bd)](_0x1bb7f9);}[_0x139045(0x441)](_0x60f4c2){const _0x1afe96=_0x139045;return this[_0x1afe96(0x310)]['get'](_0x60f4c2);}[_0x139045(0x2e8)](){const _0x1e4ec1=_0x139045;return Array[_0x1e4ec1(0x3fb)](this['_members']['values']());}}var _0x254acf=Object['defineProperty'],_0x3162a4=Object[_0x139045(0x264)],_0x332e95=(_0x1fb49f,_0x3a3292,_0x437119,_0x50b134)=>{for(var _0x322f34=_0x50b134>0x1?void 0x0:_0x50b134?_0x3162a4(_0x3a3292,_0x437119):_0x3a3292,_0x22cb16=_0x1fb49f['length']-0x1,_0x59b975;_0x22cb16>=0x0;_0x22cb16--)(_0x59b975=_0x1fb49f[_0x22cb16])&&(_0x322f34=(_0x50b134?_0x59b975(_0x3a3292,_0x437119,_0x322f34):_0x59b975(_0x322f34))||_0x322f34);return _0x50b134&&_0x322f34&&_0x254acf(_0x3a3292,_0x437119,_0x322f34),_0x322f34;},_0x483d23=(_0x38b189,_0x5d0de4)=>(_0xe478df,_0x55d1cc)=>_0x5d0de4(_0xe478df,_0x55d1cc,_0x38b189),_0x3e6c83=(_0x5c73bd=>(_0x5c73bd[_0x5c73bd[_0x139045(0x3df)]=0x0]=_0x139045(0x3df),_0x5c73bd[_0x5c73bd[_0x139045(0x1f1)]=0x1]=_0x139045(0x1f1),_0x5c73bd[_0x5c73bd[_0x139045(0x21d)]=0x2]=_0x139045(0x21d),_0x5c73bd[_0x5c73bd['ONLINE']=0x3]=_0x139045(0x401),_0x5c73bd))(_0x3e6c83||{});_0x2ebd39['CollaborationSession']=class extends _0x170db9[_0x139045(0x436)]{constructor(_0x38d56c,_0x257b41,_0xe6a74,_0x173348,_0x1217b7,_0x547817,_0x29b991,_0xba3570,_0x47be3b,_0x186d46){const _0x3bc961=_0x139045;super(),_0xee5085(this,_0x3bc961(0x30f),new _0x145930[(_0x3bc961(0x58b))](0x0)),_0xee5085(this,'sessionStatus$',this[_0x3bc961(0x30f)][_0x3bc961(0x232)]()),_0xee5085(this,_0x3bc961(0x38d),new _0x145930[(_0x3bc961(0x3ab))]()),_0xee5085(this,_0x3bc961(0x2b6),this['_event$'][_0x3bc961(0x232)]()),_0xee5085(this,_0x3bc961(0x47d)),_0xee5085(this,_0x3bc961(0x20c)),_0xee5085(this,'_collaborationTimeoutTimer'),_0xee5085(this,_0x3bc961(0x641),!0x1),_0xee5085(this,'_telemetryInfo',null),(this[_0x3bc961(0x5c6)]=_0x38d56c,this[_0x3bc961(0x5b4)]=_0xe6a74,this[_0x3bc961(0x4e2)]=_0x173348,this[_0x3bc961(0x24b)]=_0x1217b7,this[_0x3bc961(0x397)]=_0x547817,this['_localeService']=_0x29b991,this[_0x3bc961(0x57e)]=_0xba3570,this[_0x3bc961(0x589)]=_0x47be3b,this[_0x3bc961(0x4b1)]=_0x186d46,this[_0x3bc961(0x641)]=!!this['_telemetryService'],_0x257b41['pipe'](_0x145930[_0x3bc961(0x28b)](this[_0x3bc961(0x67f)]))[_0x3bc961(0x519)](_0x5886bc=>{const _0x16fd08=_0x3bc961;var _0x1cc997;typeof _0x5886bc>'u'||(this[_0x16fd08(0x47d)]=_0x5886bc,_0x5886bc?(this[_0x16fd08(0x37f)](_0x5886bc),this[_0x16fd08(0x20c)]=_0x5886bc[_0x16fd08(0x32b)][_0x16fd08(0x519)](_0x213b4f=>{const _0x34f47c=_0x16fd08;_0x213b4f['routeKey']===this['_unitID']&&this[_0x34f47c(0x538)](_0x213b4f);})):(this[_0x16fd08(0x5d9)](),this['_sessionStatus$']['next'](0x2),(_0x1cc997=this['_socketMessageSubscription'])==null||_0x1cc997[_0x16fd08(0x298)](),this[_0x16fd08(0x20c)]=null));}),this[_0x3bc961(0x32f)](this[_0x3bc961(0x4e2)][_0x3bc961(0x2d2)](()=>{const _0x43131a=_0x3bc961;var _0x6812da;(_0x6812da=this[_0x43131a(0x47d)])==null||_0x6812da[_0x43131a(0x53e)]({'cmd':_0x474c88['LEAVE'],'data':{'roomID':this[_0x43131a(0x5c6)]}});})));}get[_0x139045(0x220)](){const _0x3eaaca=_0x139045;return this[_0x3eaaca(0x30f)]['getValue']();}[_0x139045(0x400)](){const _0x525807=_0x139045;var _0x57bc72,_0x31d9ec;return(_0x31d9ec=(_0x57bc72=this[_0x525807(0x47d)])==null?void 0x0:_0x57bc72[_0x525807(0x509)])!=null?_0x31d9ec:null;}[_0x139045(0x33b)](){const _0x31ab84=_0x139045;super[_0x31ab84(0x33b)](),this[_0x31ab84(0x67f)][_0x31ab84(0x4ed)](),this['dispose$'][_0x31ab84(0x3d7)]();}[_0x139045(0x4f7)](){const _0x3c713e=_0x139045;var _0x40d465,_0x4722ca;this[_0x3c713e(0x5d9)](),(_0x40d465=this['_socket'])==null||_0x40d465[_0x3c713e(0x53e)]({'cmd':_0x474c88[_0x3c713e(0x5ce)],'data':{'roomID':this[_0x3c713e(0x5c6)]}}),(_0x4722ca=this[_0x3c713e(0x47d)])==null||_0x4722ca[_0x3c713e(0x4f7)](),this['_event$']['complete'](),this['_sessionStatus$'][_0x3c713e(0x3d7)](),this[_0x3c713e(0x33b)]();}[_0x139045(0x538)](_0x2d90da){const _0x32dd9a=_0x139045;_0x2d90da[_0x32dd9a(0x4c9)]===_0x474c88[_0x32dd9a(0x6ad)]?this['_onJoinRoomEvent'](_0x2d90da):_0x2d90da['cmd']===_0x474c88[_0x32dd9a(0x28d)]&&this['_onRecvEvent'](_0x2d90da);}[_0x139045(0x37f)](_0x5bff9a){const _0x47546a=_0x139045;this[_0x47546a(0x30f)][_0x47546a(0x4ed)](0x1),_0x5bff9a[_0x47546a(0x53e)]({'cmd':_0x474c88[_0x47546a(0x6ad)],'routeKey':this[_0x47546a(0x5c6)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x2cb00c){const _0x977360=_0x139045;var _0xb31f41;if(_0x2cb00c[_0x977360(0x409)]===_0x47dbb2[_0x977360(0x33d)]){this[_0x977360(0x24b)][_0x977360(0x4ef)]({'type':_0x3e1273[_0x977360(0x3ae)][_0x977360(0x5fa)],'content':this[_0x977360(0x630)]['t'](_0x977360(0x3aa))}),this[_0x977360(0x30f)]['next'](0x2);return;}this[_0x977360(0x30f)][_0x977360(0x4ed)](0x3);const _0x19a991=(_0xb31f41=_0x2cb00c[_0x977360(0x3a4)][_0x977360(0x578)][this[_0x977360(0x5c6)]])==null?void 0x0:_0xb31f41['members'];_0x19a991&&_0x19a991['forEach'](_0x2c7c92=>this['_memberService'][_0x977360(0x449)](this['_unitID'],_0x2c7c92));}[_0x139045(0x1ff)](_0x16fbc4){const _0x41453d=_0x139045;try{const _0xec252=_0x16fbc4[_0x41453d(0x3a4)];switch(_0xec252[_0x41453d(0x258)]){case _0x294b4b[_0x41453d(0x3af)][_0x41453d(0x36d)]:this[_0x41453d(0x4ab)](_0xec252),this['_event$'][_0x41453d(0x4ed)](_0xec252);break;case _0x294b4b[_0x41453d(0x3af)][_0x41453d(0x4c8)]:this['_onUserLeave'](_0xec252),this['_event$'][_0x41453d(0x4ed)](_0xec252);break;case _0x294b4b['CollaborationEvent'][_0x41453d(0x284)]:case _0x294b4b[_0x41453d(0x3af)][_0x41453d(0x631)]:this[_0x41453d(0x1f2)](),this[_0x41453d(0x4b9)](),this[_0x41453d(0x38d)]['next'](_0xec252);break;case _0x294b4b[_0x41453d(0x3af)][_0x41453d(0x697)]:this[_0x41453d(0x5b4)][_0x41453d(0x406)](_0x41453d(0x489)+JSON['stringify'](_0xec252)),this[_0x41453d(0x38d)]['next'](_0xec252);break;case _0x294b4b[_0x41453d(0x3af)]['COMMENT_UPDATE']:this[_0x41453d(0x589)][_0x41453d(0x2f9)](_0xec252['data']),this['_event$'][_0x41453d(0x4ed)](_0xec252);break;default:this[_0x41453d(0x38d)][_0x41453d(0x4ed)](_0xec252);}}catch(_0x1c7f42){this['_logService']['error'](_0x1c7f42,_0x16fbc4);}}[_0x139045(0x4ab)](_0x127fcf){const _0x197e83=_0x139045;this[_0x197e83(0x57e)]['updateMember'](this[_0x197e83(0x5c6)],_0x127fcf[_0x197e83(0x3a4)]);}[_0x139045(0x577)](_0x554b0c){const _0x139c05=_0x139045;this[_0x139c05(0x57e)][_0x139c05(0x217)](this[_0x139c05(0x5c6)],_0x554b0c[_0x139c05(0x3a4)][_0x139c05(0x509)]);}async[_0x139045(0x53e)](_0x10dc85,_0x1635d8){const _0x571cfa=_0x139045;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x10dc85[_0x571cfa(0x258)]===_0x294b4b[_0x571cfa(0x3af)][_0x571cfa(0x46e)]&&(this[_0x571cfa(0x2ca)](),this[_0x571cfa(0x2d1)](_0x10dc85)),this['_socket']['send']({'cmd':_0x474c88[_0x571cfa(0x6a8)],'routeKey':_0x1635d8,'routeType':'','data':_0x10dc85});}catch(_0x54825c){this[_0x571cfa(0x5b4)][_0x571cfa(0x406)](_0x54825c);}}['_scheduleCollaborationTimeoutTimer'](){const _0x2235f8=_0x139045;var _0x13caa2;this[_0x2235f8(0x657)]=window['setTimeout'](()=>{const _0x25f6ec=_0x2235f8;this[_0x25f6ec(0x657)]=null,this[_0x25f6ec(0x24b)]['show']({'type':_0x3e1273[_0x25f6ec(0x3ae)][_0x25f6ec(0x355)],'content':this[_0x25f6ec(0x630)]['t']('session.collaboration-timeout')});},(_0x13caa2=this[_0x2235f8(0x397)][_0x2235f8(0x34b)](_0x5aed78))!=null?_0x13caa2:0x4e20);}[_0x139045(0x4b9)](){const _0x4435bd=_0x139045;this[_0x4435bd(0x657)]&&(clearTimeout(this[_0x4435bd(0x657)]),this[_0x4435bd(0x657)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x609687){const _0x299ca8=_0x139045;if(!this[_0x299ca8(0x641)])return;const {data:_0x7d763f}=_0x609687,{unitID:_0x173d08,changeset:_0x461f68}=_0x7d763f,{mutations:_0x54e79b,type:_0x2e2dc5}=_0x461f68;this[_0x299ca8(0x316)]={'unitId':_0x173d08,'type':_0x2e2dc5,'startTime':performance[_0x299ca8(0x379)](),'stopTime':0x0,'duration':0x0,'size':_0x24a95e(_0x54e79b)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x4a2f71=_0x139045;if(this[_0x4a2f71(0x641)]){if(!this[_0x4a2f71(0x316)]){this[_0x4a2f71(0x5b4)][_0x4a2f71(0x406)](_0x4a2f71(0x5dc),_0x4a2f71(0x48c));return;}this[_0x4a2f71(0x316)][_0x4a2f71(0x554)]=performance[_0x4a2f71(0x379)](),this[_0x4a2f71(0x316)][_0x4a2f71(0x543)]=this[_0x4a2f71(0x316)][_0x4a2f71(0x554)]-this[_0x4a2f71(0x316)][_0x4a2f71(0x6a6)],this[_0x4a2f71(0x4b1)][_0x4a2f71(0x49a)](_0x54d408,this[_0x4a2f71(0x316)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x474b93=_0x139045;this[_0x474b93(0x316)]=null;}},_0x2ebd39[_0x139045(0x2c0)]=_0x332e95([_0x483d23(0x2,_0x170db9[_0x139045(0x686)]),_0x483d23(0x3,_0x332830[_0x139045(0x20f)]),_0x483d23(0x4,_0x332830[_0x139045(0x37a)]),_0x483d23(0x5,_0x170db9[_0x139045(0x57a)]),_0x483d23(0x6,_0x170db9['Inject'](_0x170db9[_0x139045(0x2bc)])),_0x483d23(0x7,_0x170db9[_0x139045(0x283)](_0x2ebd39['MemberService'])),_0x483d23(0x8,_0x170db9[_0x139045(0x283)](_0x29434f)),_0x483d23(0x9,_0x170db9[_0x139045(0x635)](_0x51449e['ITelemetryService']))],_0x2ebd39[_0x139045(0x2c0)]);var _0x52f1cf=Object[_0x139045(0x620)],_0x370a41=Object[_0x139045(0x264)],_0x5942a0=(_0x662c1a,_0x957947,_0x4170f5,_0x6abf78)=>{const _0xda7199=_0x139045;for(var _0x1d470b=_0x6abf78>0x1?void 0x0:_0x6abf78?_0x370a41(_0x957947,_0x4170f5):_0x957947,_0x54aa53=_0x662c1a[_0xda7199(0x62b)]-0x1,_0x5d64ed;_0x54aa53>=0x0;_0x54aa53--)(_0x5d64ed=_0x662c1a[_0x54aa53])&&(_0x1d470b=(_0x6abf78?_0x5d64ed(_0x957947,_0x4170f5,_0x1d470b):_0x5d64ed(_0x1d470b))||_0x1d470b);return _0x6abf78&&_0x1d470b&&_0x52f1cf(_0x957947,_0x4170f5,_0x1d470b),_0x1d470b;},_0x2fa21d=(_0x2ecd94,_0x142e15)=>(_0x4ae672,_0xcae6c1)=>_0x142e15(_0x4ae672,_0xcae6c1,_0x2ecd94);_0x2ebd39[_0x139045(0x353)]=class extends _0x170db9[_0x139045(0x399)]{constructor(_0xc3eec6,_0x4bc3f8,_0x1137d5,_0x50d9e3,_0x49a693,_0x4a7228){const _0x41abba=_0x139045;super(),_0xee5085(this,_0x41abba(0x422),new _0x145930[(_0x41abba(0x58b))](void 0x0)),_0xee5085(this,_0x41abba(0x3ce),this[_0x41abba(0x422)][_0x41abba(0x232)]()),_0xee5085(this,_0x41abba(0x4f8),null),_0xee5085(this,_0x41abba(0x599),new Map()),_0xee5085(this,_0x41abba(0x413),new _0x145930[(_0x41abba(0x58b))](_0x3e6c83[_0x41abba(0x3df)])),_0xee5085(this,_0x41abba(0x645),this[_0x41abba(0x413)][_0x41abba(0x232)]()),_0xee5085(this,_0x41abba(0x204),!0x1),_0xee5085(this,_0x41abba(0x5c8)),_0xee5085(this,_0x41abba(0x4e5),0x0),_0xee5085(this,_0x41abba(0x3dd)),_0xee5085(this,'_timeoutTimer'),(this['_injector']=_0xc3eec6,this[_0x41abba(0x630)]=_0x4bc3f8,this[_0x41abba(0x24b)]=_0x1137d5,this[_0x41abba(0x5b4)]=_0x50d9e3,this[_0x41abba(0x397)]=_0x49a693,this[_0x41abba(0x3c0)]=_0x4a7228,this[_0x41abba(0x52a)]());}get[_0x139045(0x47d)](){return this['_socket$']['getValue']();}[_0x139045(0x52a)](){const _0x240240=_0x139045;this[_0x240240(0x69d)](),this[_0x240240(0x34d)]();}[_0x139045(0x33b)](){const _0x538234=_0x139045;super[_0x538234(0x33b)](),this[_0x538234(0x599)]['forEach'](_0x19d63f=>_0x19d63f['dispose']()),this['_sessions']['clear'](),this[_0x538234(0x413)][_0x538234(0x3d7)]();}async['requireSession'](_0x1b7985){const _0xa5c155=_0x139045;if(this[_0xa5c155(0x599)][_0xa5c155(0x2d5)](_0x1b7985))return this[_0xa5c155(0x599)]['get'](_0x1b7985);this[_0xa5c155(0x2a6)]();const _0x47b14d=this[_0xa5c155(0x43f)][_0xa5c155(0x3f4)](_0x2ebd39[_0xa5c155(0x2c0)],_0x1b7985,this[_0xa5c155(0x422)][_0xa5c155(0x232)]());return this[_0xa5c155(0x599)][_0xa5c155(0x3fd)](_0x1b7985,_0x47b14d),_0x47b14d;}[_0x139045(0x325)](_0x26b1fd){const _0x1e66a1=_0x139045;var _0x314482;const _0x461591=this[_0x1e66a1(0x599)]['get'](_0x26b1fd);_0x461591&&(this[_0x1e66a1(0x599)]['delete'](_0x26b1fd),_0x461591[_0x1e66a1(0x4f7)]()),this[_0x1e66a1(0x599)][_0x1e66a1(0x60c)]||(_0x314482=this[_0x1e66a1(0x47d)])==null||_0x314482['close']();}[_0x139045(0x5a7)](){const _0x1e1f46=_0x139045;this[_0x1e1f46(0x4e5)]=0x0,this[_0x1e1f46(0x5c8)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x1e1f46(0x5c8)]=null),this[_0x1e1f46(0x4fa)]();}['_createSocket'](){const _0x2f093b=_0x139045;var _0x20cc22,_0x31abc6;const _0x39d927=this[_0x2f093b(0x397)][_0x2f093b(0x34b)](_0x3e23b2),_0x5d5be1=this[_0x2f093b(0x397)][_0x2f093b(0x34b)](_0x2cc87b),_0x2382a2=(_0x31abc6=(_0x20cc22=_0x5d5be1==null?void 0x0:_0x5d5be1[_0x2f093b(0x490)])!=null?_0x20cc22:_0x39d927)!=null?_0x31abc6:_0x5760e3,_0x706977=this[_0x2f093b(0x3c0)][_0x2f093b(0x1f5)](_0x2382a2);return this[_0x2f093b(0x4f8)]=_0x706977,_0x706977;}[_0x139045(0x2a6)](){const _0x5d5b1e=_0x139045;var _0x4a39cc,_0x48be10;try{const _0x97b969=(_0x48be10=(_0x4a39cc=this[_0x5d5b1e(0x47d)])!=null?_0x4a39cc:this[_0x5d5b1e(0x4f8)])!=null?_0x48be10:this[_0x5d5b1e(0x211)]();if(_0x97b969){const _0x365c41=_0x97b969['send'];_0x97b969[_0x5d5b1e(0x53e)]=_0x489209=>(this[_0x5d5b1e(0x6a2)](),_0x365c41[_0x5d5b1e(0x221)](_0x97b969,[_0x489209])),_0x97b969[_0x5d5b1e(0x32b)][_0x5d5b1e(0x519)](_0x3e551a=>this['_onMessage'](_0x97b969,_0x3e551a)),_0x97b969[_0x5d5b1e(0x4f1)][_0x5d5b1e(0x640)](_0x34e4e3[_0x5d5b1e(0x207)](0x1))[_0x5d5b1e(0x519)](_0x52abd8=>this[_0x5d5b1e(0x5b4)][_0x5d5b1e(0x406)](_0x5d5b1e(0x459),_0x52abd8)),_0x97b969[_0x5d5b1e(0x5d3)][_0x5d5b1e(0x640)](_0x34e4e3[_0x5d5b1e(0x207)](0x1))[_0x5d5b1e(0x519)](()=>{this['_onConnectionOpen'](_0x97b969);}),_0x97b969[_0x5d5b1e(0x4ac)][_0x5d5b1e(0x640)](_0x34e4e3[_0x5d5b1e(0x207)](0x1))[_0x5d5b1e(0x519)](_0xf17f1c=>{const _0x327a1a=_0x5d5b1e;this[_0x327a1a(0x5b4)][_0x327a1a(0x4e1)](_0x327a1a(0x366),_0x327a1a(0x5ba),_0xf17f1c),this[_0x327a1a(0x368)]();});}}catch(_0x4e86b8){this[_0x5d5b1e(0x5b4)][_0x5d5b1e(0x406)](_0x4e86b8),this[_0x5d5b1e(0x368)]();}}[_0x139045(0x35e)](_0x48c89b){const _0x42e835=_0x139045;this[_0x42e835(0x5b4)][_0x42e835(0x4e1)]('[CollaborationSessionService]',_0x42e835(0x5b7)),_0x48c89b[_0x42e835(0x53e)]({'cmd':_0x474c88[_0x42e835(0x265)]}),this[_0x42e835(0x6a2)]();}['_listenToOfflineEvent'](){const _0x585c55=_0x139045;window[_0x585c55(0x5e0)](_0x585c55(0x272),()=>this['_onOffline']());}['_onOffline'](){const _0x2af16d=_0x139045;this[_0x2af16d(0x204)]=!0x1,this['_candidateSocket']=null,this[_0x2af16d(0x413)][_0x2af16d(0x4ed)](_0x3e6c83[_0x2af16d(0x21d)]),this[_0x2af16d(0x422)]['next'](null),this['_clearTimeoutTimer'](),this[_0x2af16d(0x361)]();}[_0x139045(0x368)](){const _0x3f1913=_0x139045;var _0x487b9c;this[_0x3f1913(0x336)](),this[_0x3f1913(0x4e5)]<((_0x487b9c=this[_0x3f1913(0x397)][_0x3f1913(0x34b)](_0x394600))!=null?_0x487b9c:0x3)?(this[_0x3f1913(0x24b)][_0x3f1913(0x4ef)]({'key':_0x3f1913(0x5f3),'type':_0x3e1273[_0x3f1913(0x3ae)][_0x3f1913(0x5fa)],'content':this[_0x3f1913(0x630)]['t'](_0x3f1913(0x240))}),this[_0x3f1913(0x4fa)]()):this[_0x3f1913(0x24b)][_0x3f1913(0x4ef)]({'key':_0x3f1913(0x5f3),'type':_0x3e1273[_0x3f1913(0x3ae)][_0x3f1913(0x355)],'content':this[_0x3f1913(0x630)]['t'](_0x3f1913(0x253))});}[_0x139045(0x34d)](){const _0x573efb=_0x139045,_0x2af52d=()=>{const _0x542d51=_0x10db;this['_socket']||this[_0x542d51(0x5a7)]();},_0x3aa961=()=>{const _0x30871b=_0x10db;this['_socket']||document[_0x30871b(0x675)]===_0x30871b(0x6a3)||this['reconnect']();};window[_0x573efb(0x5e0)](_0x573efb(0x34f),_0x2af52d),document[_0x573efb(0x5e0)](_0x573efb(0x601),_0x3aa961);}[_0x139045(0x4fa)](){const _0x17e5cf=_0x139045;var _0x42bb37;const _0x365875=this[_0x17e5cf(0x4e5)],_0x3da2fd=this[_0x17e5cf(0x397)][_0x17e5cf(0x34b)](_0x2cc87b),_0x370834=_0x365875===0x0?0x0:((_0x42bb37=_0x3da2fd==null?void 0x0:_0x3da2fd[_0x17e5cf(0x606)])!=null?_0x42bb37:0x4e20)*0x2**_0x365875;this[_0x17e5cf(0x5c8)]=window['setTimeout'](()=>{const _0xf69d11=_0x17e5cf;clearTimeout(this[_0xf69d11(0x5c8)]),this[_0xf69d11(0x5c8)]=null,this[_0xf69d11(0x2a6)]();},_0x370834),this[_0x17e5cf(0x4e5)]+=0x1;}[_0x139045(0x4ce)](_0x397471,_0x5d912a){const _0x5550bf=_0x139045,{cmd:_0x33ea28}=_0x5d912a;_0x33ea28===_0x474c88[_0x5550bf(0x265)]&&!this[_0x5550bf(0x204)]&&(_0x397471['memberID']=_0x5d912a['data'][_0x5550bf(0x509)],this[_0x5550bf(0x422)][_0x5550bf(0x4ed)](_0x397471),this[_0x5550bf(0x413)][_0x5550bf(0x4ed)](_0x3e6c83[_0x5550bf(0x401)]),this[_0x5550bf(0x204)]=!0x0,this['_candidateSocket']=null),_0x33ea28===_0x474c88[_0x5550bf(0x208)]&&this[_0x5550bf(0x689)](),this[_0x5550bf(0x6a2)]();}[_0x139045(0x6a2)](){const _0x8592e5=_0x139045;var _0x8ea31e;this[_0x8592e5(0x361)](),this[_0x8592e5(0x3dd)]=window[_0x8592e5(0x552)](()=>this[_0x8592e5(0x527)](),(_0x8ea31e=this[_0x8592e5(0x397)][_0x8592e5(0x34b)](_0x27ced4))!=null?_0x8ea31e:0x7530);}[_0x139045(0x527)](){const _0x3cad48=_0x139045;this['_socket'][_0x3cad48(0x53e)]({'cmd':_0x474c88[_0x3cad48(0x208)]}),this[_0x3cad48(0x241)]();}['_waitForHeartbeatResponse'](){const _0x5a1a02=_0x139045;var _0x1e2778;this[_0x5a1a02(0x428)]=window[_0x5a1a02(0x552)](()=>this[_0x5a1a02(0x368)](),(_0x1e2778=this['_configService']['getConfig'](_0x5aed78))!=null?_0x1e2778:0x4e20);}['_clearHeartbeatTimer'](){const _0x16132f=_0x139045;this[_0x16132f(0x3dd)]!=null&&(clearTimeout(this[_0x16132f(0x3dd)]),this[_0x16132f(0x3dd)]=null);}[_0x139045(0x689)](){const _0x325b0e=_0x139045;this[_0x325b0e(0x428)]!=null&&(clearTimeout(this[_0x325b0e(0x428)]),this['_timeoutTimer']=null);}},_0x2ebd39[_0x139045(0x353)]=_0x5942a0([_0x2fa21d(0x0,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x667)])),_0x2fa21d(0x1,_0x170db9['Inject'](_0x170db9[_0x139045(0x2bc)])),_0x2fa21d(0x2,_0x332830[_0x139045(0x37a)]),_0x2fa21d(0x3,_0x170db9[_0x139045(0x686)]),_0x2fa21d(0x4,_0x170db9[_0x139045(0x57a)]),_0x2fa21d(0x5,_0x54bec8)],_0x2ebd39[_0x139045(0x353)]);for(var _0xfce3af=[],_0x3e02fa=0x0;_0x3e02fa<0x100;++_0x3e02fa)_0xfce3af['push']((_0x3e02fa+0x100)['toString'](0x10)['slice'](0x1));function _0x535961(_0x15814a,_0x5dd0d5=0x0){return(_0xfce3af[_0x15814a[_0x5dd0d5+0x0]]+_0xfce3af[_0x15814a[_0x5dd0d5+0x1]]+_0xfce3af[_0x15814a[_0x5dd0d5+0x2]]+_0xfce3af[_0x15814a[_0x5dd0d5+0x3]]+'-'+_0xfce3af[_0x15814a[_0x5dd0d5+0x4]]+_0xfce3af[_0x15814a[_0x5dd0d5+0x5]]+'-'+_0xfce3af[_0x15814a[_0x5dd0d5+0x6]]+_0xfce3af[_0x15814a[_0x5dd0d5+0x7]]+'-'+_0xfce3af[_0x15814a[_0x5dd0d5+0x8]]+_0xfce3af[_0x15814a[_0x5dd0d5+0x9]]+'-'+_0xfce3af[_0x15814a[_0x5dd0d5+0xa]]+_0xfce3af[_0x15814a[_0x5dd0d5+0xb]]+_0xfce3af[_0x15814a[_0x5dd0d5+0xc]]+_0xfce3af[_0x15814a[_0x5dd0d5+0xd]]+_0xfce3af[_0x15814a[_0x5dd0d5+0xe]]+_0xfce3af[_0x15814a[_0x5dd0d5+0xf]])['toLowerCase']();}var _0x2acae2,_0x122cf1=new Uint8Array(0x10);function _0x3f27cb(){const _0x4ecab9=_0x139045;if(!_0x2acae2&&(_0x2acae2=typeof crypto<'u'&&crypto[_0x4ecab9(0x3d1)]&&crypto[_0x4ecab9(0x3d1)][_0x4ecab9(0x358)](crypto),!_0x2acae2))throw new Error(_0x4ecab9(0x27a));return _0x2acae2(_0x122cf1);}var _0x469bb7=typeof crypto<'u'&&crypto[_0x139045(0x478)]&&crypto[_0x139045(0x478)][_0x139045(0x358)](crypto);const _0x3abfc3={'randomUUID':_0x469bb7};function _0x3e229c(_0x187df0,_0x14b27c,_0x14e74c){const _0x54e761=_0x139045;if(_0x3abfc3[_0x54e761(0x478)]&&!_0x14b27c&&!_0x187df0)return _0x3abfc3[_0x54e761(0x478)]();_0x187df0=_0x187df0||{};var _0x398f84=_0x187df0[_0x54e761(0x3d4)]||(_0x187df0[_0x54e761(0x560)]||_0x3f27cb)();return _0x398f84[0x6]=_0x398f84[0x6]&0xf|0x40,_0x398f84[0x8]=_0x398f84[0x8]&0x3f|0x80,_0x535961(_0x398f84);}var _0x3b49fd=Object[_0x139045(0x620)],_0x3f5593=Object[_0x139045(0x264)],_0x2bb216=(_0x5f3aaa,_0x4eae53,_0x5975e9,_0x18cf5a)=>{const _0x26682a=_0x139045;for(var _0x4fd1f1=_0x18cf5a>0x1?void 0x0:_0x18cf5a?_0x3f5593(_0x4eae53,_0x5975e9):_0x4eae53,_0x2fb5d7=_0x5f3aaa[_0x26682a(0x62b)]-0x1,_0xcb3b63;_0x2fb5d7>=0x0;_0x2fb5d7--)(_0xcb3b63=_0x5f3aaa[_0x2fb5d7])&&(_0x4fd1f1=(_0x18cf5a?_0xcb3b63(_0x4eae53,_0x5975e9,_0x4fd1f1):_0xcb3b63(_0x4fd1f1))||_0x4fd1f1);return _0x18cf5a&&_0x4fd1f1&&_0x3b49fd(_0x4eae53,_0x5975e9,_0x4fd1f1),_0x4fd1f1;},_0x5778d3=(_0x405dfc,_0x53d01e)=>(_0x54321d,_0x46fe6b)=>_0x53d01e(_0x54321d,_0x46fe6b,_0x405dfc);let _0x52392c=class{constructor(_0x96eb17,_0x5e3f8e,_0x4d2780){const _0x5e36fb=_0x139045;this[_0x5e36fb(0x43f)]=_0x96eb17,this[_0x5e36fb(0x205)]=_0x5e3f8e,this[_0x5e36fb(0x42c)]=_0x4d2780;}['transformIMECache'](_0x232fc6){const _0x4db950=_0x139045;this[_0x4db950(0x448)](_0x232fc6),this[_0x4db950(0x2f4)](_0x232fc6);}[_0x139045(0x2e6)](_0x3f0c61){const _0x258906=_0x139045,{unitID:_0x10f539}=_0x3f0c61,_0x324806=this[_0x258906(0x42c)][_0x258906(0x64d)](_0x10f539)['with'](_0x5a2d39[_0x258906(0x6a5)]),{redoCache:_0x173a92}=_0x324806[_0x258906(0x2ed)]();if(_0x173a92[_0x258906(0x62b)]===0x0)return _0x3f0c61;let _0x30b0e3=_0x170db9[_0x258906(0x26e)][_0x258906(0x618)](_0x3f0c61[_0x258906(0x29f)][0x0]);for(let _0x464c26=0x0;_0x464c26<_0x173a92[_0x258906(0x62b)];_0x464c26++){const _0x5b9aa1={'id':'doc.mutation.rich-text-editing','params':{..._0x173a92[_0x464c26]}},_0x38a8c9=this[_0x258906(0x205)][_0x258906(0x341)](_0x30b0e3,_0x5b9aa1,!0x1);if(_0x294b4b[_0x258906(0x3f1)](_0x38a8c9))throw _0x38a8c9[_0x258906(0x406)];_0x30b0e3=_0x38a8c9['m1Prime'];}return{..._0x170db9[_0x258906(0x26e)][_0x258906(0x618)](_0x3f0c61),'mutations':[_0x30b0e3]};}['_transformUndoRedoStack'](_0x5b88e1){const _0x2d716e=_0x139045,{unitID:_0x2d9a70}=_0x5b88e1,_0x2a948d=this[_0x2d716e(0x42c)][_0x2d716e(0x64d)](_0x2d9a70)[_0x2d716e(0x55d)](_0x5a2d39[_0x2d716e(0x6a5)]),{undoCache:_0x371b1a,redoCache:_0x32d1a5}=_0x2a948d[_0x2d716e(0x2ed)]();if(_0x371b1a[_0x2d716e(0x62b)]===0x0||_0x32d1a5['length']===0x0)return;const _0x8578f6=[],_0x37fc15=[];let _0x32743a=_0x170db9[_0x2d716e(0x26e)][_0x2d716e(0x618)](_0x5b88e1['mutations'][0x0]),_0x1043ed=_0x170db9['Tools'][_0x2d716e(0x618)](_0x5b88e1[_0x2d716e(0x29f)][0x0]);for(let _0x4af3e6=_0x371b1a[_0x2d716e(0x62b)]-0x1;_0x4af3e6>=0x0;_0x4af3e6--){const _0x4fa1ad={'id':'doc.mutation.rich-text-editing','params':{..._0x371b1a[_0x4af3e6]}},_0x32e0c8={'id':'doc.mutation.rich-text-editing','params':{..._0x32d1a5[_0x4af3e6]}},_0x8a96d7=this[_0x2d716e(0x205)][_0x2d716e(0x341)](_0x32743a,_0x4fa1ad,!0x1),_0x37b743=this[_0x2d716e(0x205)][_0x2d716e(0x341)](_0x1043ed,_0x32e0c8,!0x1);if(_0x294b4b[_0x2d716e(0x3f1)](_0x8a96d7))throw _0x8a96d7[_0x2d716e(0x406)];if(_0x294b4b['isTransformMutationFailure'](_0x37b743))throw _0x37b743[_0x2d716e(0x406)];_0x8578f6[_0x2d716e(0x22b)](_0x8a96d7['m2Prime'][_0x2d716e(0x674)]),_0x37fc15[_0x2d716e(0x22b)](_0x37b743[_0x2d716e(0x5c3)][_0x2d716e(0x674)]),_0x32743a=_0x8a96d7[_0x2d716e(0x3bc)],_0x1043ed=_0x37b743[_0x2d716e(0x3bc)];}_0x2a948d[_0x2d716e(0x27d)]({'undoCache':_0x8578f6,'redoCache':_0x37fc15});}['_transformPreviousActiveRange'](_0x54efdd){const _0x377291=_0x139045,{unitID:_0x12633e}=_0x54efdd,_0x165d02=this[_0x377291(0x42c)][_0x377291(0x64d)](_0x12633e)[_0x377291(0x55d)](_0x5a2d39[_0x377291(0x6a5)]),_0x59f12c=_0x165d02[_0x377291(0x49e)]();if(_0x59f12c==null)return;const _0x12cc62=[{'id':_0x377291(0x3c5),'params':{'unitId':_0x54efdd[_0x377291(0x4ee)],'actions':null,'textRanges':[_0x59f12c]}}],_0x488c89=this['_transformService'][_0x377291(0x5fe)](_0x54efdd,_0x12cc62);if(!_0x294b4b['isTransformMutationsWithChangesetSuccess'](_0x488c89))throw _0x488c89[_0x377291(0x406)];const _0x3d2c51=_0x488c89['m2Prime'][0x0]['params']['textRanges'];Array[_0x377291(0x209)](_0x3d2c51)&&_0x3d2c51[_0x377291(0x62b)]&&_0x165d02[_0x377291(0x683)](_0x3d2c51[0x0]);}};_0x52392c=_0x2bb216([_0x5778d3(0x0,_0x170db9['Inject'](_0x170db9[_0x139045(0x667)])),_0x5778d3(0x1,_0x294b4b['ITransformService']),_0x5778d3(0x2,_0x224b0f[_0x139045(0x67d)])],_0x52392c);var _0x3551e5=Object['defineProperty'],_0x377f95=Object['getOwnPropertyDescriptor'],_0x4accbf=(_0xa263d,_0xb7a24d,_0x4d1d3e,_0x2636fe)=>{const _0x28c00e=_0x139045;for(var _0x51b4d9=_0x2636fe>0x1?void 0x0:_0x2636fe?_0x377f95(_0xb7a24d,_0x4d1d3e):_0xb7a24d,_0x29c398=_0xa263d[_0x28c00e(0x62b)]-0x1,_0x32a5ec;_0x29c398>=0x0;_0x29c398--)(_0x32a5ec=_0xa263d[_0x29c398])&&(_0x51b4d9=(_0x2636fe?_0x32a5ec(_0xb7a24d,_0x4d1d3e,_0x51b4d9):_0x32a5ec(_0x51b4d9))||_0x51b4d9);return _0x2636fe&&_0x51b4d9&&_0x3551e5(_0xb7a24d,_0x4d1d3e,_0x51b4d9),_0x51b4d9;},_0x231631=(_0x4452c8,_0x16338d)=>(_0x8b3db5,_0x175708)=>_0x16338d(_0x8b3db5,_0x175708,_0x4452c8);_0x2ebd39['LocalCacheService']=class extends _0x170db9[_0x139045(0x399)]{constructor(_0x1b0e47,_0x4b07ed,_0x2a83c4,_0x5860f9,_0x20fbff){const _0xe5c9ef=_0x139045;super(),_0xee5085(this,'_cachedData',new Map()),_0xee5085(this,_0xe5c9ef(0x5cd),new Map()),_0xee5085(this,_0xe5c9ef(0x435),!0x1),(this[_0xe5c9ef(0x397)]=_0x1b0e47,this[_0xe5c9ef(0x309)]=_0x4b07ed,this[_0xe5c9ef(0x4e2)]=_0x2a83c4,this[_0xe5c9ef(0x630)]=_0x5860f9,this[_0xe5c9ef(0x4d4)]=_0x20fbff,this[_0xe5c9ef(0x681)]());}[_0x139045(0x598)](){const _0x5b3750=_0x139045;this[_0x5b3750(0x435)]=!0x0;}[_0x139045(0x45a)](){const _0x2462f0=_0x139045;this[_0x2462f0(0x435)]=!0x1;}[_0x139045(0x33b)](){const _0x158b9f=_0x139045;this[_0x158b9f(0x54e)]()[_0x158b9f(0x370)](()=>super['dispose']());}async['loadOfflineData'](_0xed304e){const _0x4c755e=_0x139045;return this['_disabled']?null:this['_localStorageService'][_0x4c755e(0x3be)](_0x373614(_0xed304e));}async[_0x139045(0x3e4)](_0x292781,_0x49645b){const _0x106aff=_0x139045;return!!this[_0x106aff(0x309)][_0x106aff(0x5c2)](_0x292781,_0x49645b);}[_0x139045(0x514)](_0xf4f547,_0x297365,_0x19d691,_0x52b140){const _0x2a6613=_0x139045,_0x37f448=this[_0x2a6613(0x4d4)][_0x2a6613(0x3a0)](_0xf4f547);this['_cachedData'][_0x2a6613(0x3fd)](_0xf4f547,{'unitID':_0xf4f547,'type':_0x297365,'awaitingChangeset':_0x19d691,'mutations':_0x52b140,'rev':_0x37f448}),this[_0x2a6613(0x5cd)][_0x2a6613(0x2d5)](_0xf4f547)||this[_0x2a6613(0x3dc)](_0xf4f547);}[_0x139045(0x3dc)](_0x54e3c6){const _0x14dfed=_0x139045,_0x43ba9b=this[_0x14dfed(0x37b)]();_0x43ba9b===0x0?this['_saveCache'](_0x54e3c6):this[_0x14dfed(0x5cd)][_0x14dfed(0x3fd)](_0x54e3c6,setTimeout(()=>this[_0x14dfed(0x593)](_0x54e3c6),_0x43ba9b));}[_0x139045(0x37b)](){const _0x445a86=_0x139045;var _0x52b12c;return(_0x52b12c=this[_0x445a86(0x397)][_0x445a86(0x34b)](_0x9789df))!=null?_0x52b12c:0x3e8;}[_0x139045(0x593)](_0x2abaed){const _0x2e9dcc=_0x139045,_0x56a256=this[_0x2e9dcc(0x5cd)]['get'](_0x2abaed);return _0x56a256!==void 0x0&&window[_0x2e9dcc(0x66a)](_0x56a256),this[_0x2e9dcc(0x309)][_0x2e9dcc(0x5c2)](_0x373614(_0x2abaed),this[_0x2e9dcc(0x636)][_0x2e9dcc(0x51c)](_0x2abaed))[_0x2e9dcc(0x370)](()=>this['_saveTaskMap'][_0x2e9dcc(0x5bd)](_0x2abaed));}async['exhaustSavingTask'](){const _0x3fb564=_0x139045,_0x2dc875=[];this['_saveTaskMap'][_0x3fb564(0x67e)]((_0x994247,_0x2edc9f)=>{const _0x4dfb80=_0x3fb564;window[_0x4dfb80(0x66a)](_0x994247),_0x2dc875[_0x4dfb80(0x2fc)](this[_0x4dfb80(0x593)](_0x2edc9f)[_0x4dfb80(0x370)](()=>{const _0x2eaf90=_0x4dfb80;this[_0x2eaf90(0x5cd)]['delete'](_0x2edc9f);}));}),await Promise[_0x3fb564(0x411)](_0x2dc875);}[_0x139045(0x681)](){const _0x92413f=_0x139045;this[_0x92413f(0x32f)](this[_0x92413f(0x4e2)][_0x92413f(0x2ad)](()=>{const _0x32f9ba=_0x92413f;if(this[_0x32f9ba(0x5cd)][_0x32f9ba(0x60c)])return this[_0x32f9ba(0x630)]['t'](_0x32f9ba(0x69c));}));}},_0x2ebd39[_0x139045(0x477)]=_0x4accbf([_0x231631(0x0,_0x170db9['IConfigService']),_0x231631(0x1,_0x170db9[_0x139045(0x267)]),_0x231631(0x2,_0x332830[_0x139045(0x20f)]),_0x231631(0x3,_0x170db9[_0x139045(0x283)](_0x170db9['LocaleService'])),_0x231631(0x4,_0x170db9['Inject'](_0x294b4b[_0x139045(0x32e)]))],_0x2ebd39['LocalCacheService']);function _0x373614(_0x5ce760){const _0x4917a9=_0x139045;return _0x4917a9(0x59d)+_0x5ce760;}var _0x2e139c=Object['defineProperty'],_0x3bacfd=Object[_0x139045(0x264)],_0x44a6c5=(_0x288621,_0x2fb7a1,_0x254721,_0x304f93)=>{const _0x4e4de2=_0x139045;for(var _0x5ab1ef=_0x304f93>0x1?void 0x0:_0x304f93?_0x3bacfd(_0x2fb7a1,_0x254721):_0x2fb7a1,_0x1cb0b0=_0x288621[_0x4e4de2(0x62b)]-0x1,_0x28d6aa;_0x1cb0b0>=0x0;_0x1cb0b0--)(_0x28d6aa=_0x288621[_0x1cb0b0])&&(_0x5ab1ef=(_0x304f93?_0x28d6aa(_0x2fb7a1,_0x254721,_0x5ab1ef):_0x28d6aa(_0x5ab1ef))||_0x5ab1ef);return _0x304f93&&_0x5ab1ef&&_0x2e139c(_0x2fb7a1,_0x254721,_0x5ab1ef),_0x5ab1ef;},_0x536945=(_0x142d1e,_0x1f4915)=>(_0xf3f1a9,_0x21920a)=>_0x1f4915(_0xf3f1a9,_0x21920a,_0x142d1e);function _0x5b64d3(_0x3efd1a){const _0x454336=_0x139045,{unitID:_0x150070,mutations:_0x3ac038}=_0x3efd1a;return{'unitId':_0x150070,'subUnitId':_0x3ac038[0x0][_0x454336(0x674)][_0x454336(0x4de)]};}let _0x910a13=class{constructor(_0x38b5f7,_0xe87f41,_0x1c8cac){const _0x36503d=_0x139045;this[_0x36503d(0x43f)]=_0x38b5f7,this[_0x36503d(0x205)]=_0xe87f41,this[_0x36503d(0x21a)]=_0x1c8cac;}[_0x139045(0x5ab)](_0x3cd114){const _0x3e67a9=_0x139045;var _0x21b2b8,_0xa4feed,_0x2f4e13,_0x48b691;const _0x49cc2e=this['_injector'][_0x3e67a9(0x51c)](_0x292e35[_0x3e67a9(0x611)]),{unitId:_0x4236fe,subUnitId:_0x1c2047}=_0x5b64d3(_0x3cd114),_0x446751=_0x49cc2e['getWorkbookSelections'](_0x4236fe)[_0x3e67a9(0x6aa)](),_0x4f56d3=(_0xa4feed=(_0x21b2b8=this[_0x3e67a9(0x21a)][_0x3e67a9(0x20b)](_0x4236fe))==null?void 0x0:_0x21b2b8['getActiveSheet']())==null?void 0x0:_0xa4feed['getSheetId']();if(_0x446751[_0x3e67a9(0x62b)]===0x0||!_0x4236fe||!_0x1c2047)return;const _0x30ca70=[{'id':_0x292e35[_0x3e67a9(0x62d)]['id'],'params':{'unitId':_0x4236fe,'subUnitId':_0x4f56d3,'selections':_0x170db9[_0x3e67a9(0x26e)][_0x3e67a9(0x618)](_0x446751)}}],_0x203da1=this[_0x3e67a9(0x205)][_0x3e67a9(0x5fe)](_0x3cd114,_0x30ca70);if(!_0x294b4b[_0x3e67a9(0x5e3)](_0x203da1))throw _0x203da1[_0x3e67a9(0x406)];const _0x2da580=(_0x48b691=(_0x2f4e13=_0x203da1[_0x3e67a9(0x5c3)][0x0])==null?void 0x0:_0x2f4e13[_0x3e67a9(0x674)])==null?void 0x0:_0x48b691[_0x3e67a9(0x649)];if(Array[_0x3e67a9(0x209)](_0x2da580)&&_0x2da580[_0x3e67a9(0x62b)]){if(_0x2da580[_0x3e67a9(0x62b)]===_0x30ca70[0x0][_0x3e67a9(0x674)][_0x3e67a9(0x649)]['length']&&_0x2da580['every']((_0x34f63f,_0x9e0ed7)=>_0x170db9[_0x3e67a9(0x36a)][_0x3e67a9(0x5d7)](_0x34f63f[_0x3e67a9(0x46a)],_0x30ca70[0x0]['params'][_0x3e67a9(0x649)][_0x9e0ed7]['range'])))return;this[_0x3e67a9(0x43f)][_0x3e67a9(0x51c)](_0x170db9['ICommandService'])[_0x3e67a9(0x3c3)](_0x292e35[_0x3e67a9(0x62d)]['id'],{'unitId':_0x4236fe,'subUnitId':_0x4f56d3,'selections':_0x2da580});}}};_0x910a13=_0x44a6c5([_0x536945(0x0,_0x170db9['Inject'](_0x170db9['Injector'])),_0x536945(0x1,_0x294b4b[_0x139045(0x363)]),_0x536945(0x2,_0x170db9[_0x139045(0x22f)])],_0x910a13);const _0x2410a4=_0x170db9[_0x139045(0x360)](_0x139045(0x2a4));var _0x3cc845=(_0x52976b=>(_0x52976b[_0x52976b['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x139045(0x31a),_0x52976b[_0x52976b[_0x139045(0x670)]=0x1]=_0x139045(0x670),_0x52976b))(_0x3cc845||{});const _0xbca1e7=0x7530,_0x4f2d34=_0x139045(0x65e);class _0x7ab452 extends _0x170db9[_0x139045(0x399)]{constructor(){const _0x55e848=_0x139045;super(),_0xee5085(this,_0x55e848(0x387),_0x170db9[_0x55e848(0x26e)][_0x55e848(0x21c)]()),_0xee5085(this,_0x55e848(0x313),new Set()),_0xee5085(this,_0x55e848(0x4a3),new Map()),_0xee5085(this,_0x55e848(0x531),null),_0xee5085(this,_0x55e848(0x3a2),new Map()),_0xee5085(this,_0x55e848(0x395),new Map()),this['_init']();}[_0x139045(0x33b)](){const _0x1d5c30=_0x139045;super[_0x1d5c30(0x33b)](),this['_clearOtherTimers'][_0x1d5c30(0x67e)]((_0x1d921a,_0x5adcd8)=>this['_removeClearOtherTimer'](_0x5adcd8)),this[_0x1d5c30(0x531)]&&window[_0x1d5c30(0x4a2)](this[_0x1d5c30(0x531)]);}[_0x139045(0x233)](_0x1da4b8){const _0x38532f=_0x139045;return this[_0x38532f(0x2c4)](_0x1da4b8)[_0x38532f(0x640)](_0x145930[_0x38532f(0x666)]());}[_0x139045(0x3b0)](_0x585db6){const _0x140b6f=_0x139045;this['_selfUnitIDs'][_0x140b6f(0x60c)]===0x0&&this['_scheduleHeartbeat'](),this[_0x140b6f(0x313)][_0x140b6f(0x27f)](_0x585db6),this[_0x140b6f(0x3c8)]({'type':0x0,'memberID':this[_0x140b6f(0x387)],'unitIDs':[_0x585db6],'isForwarded':!0x1});}[_0x139045(0x2f7)](_0x37c301){const _0x133524=_0x139045;this[_0x133524(0x313)][_0x133524(0x5bd)](_0x37c301),this[_0x133524(0x313)][_0x133524(0x60c)]===0x0&&this[_0x133524(0x531)]&&window[_0x133524(0x4a2)](this[_0x133524(0x531)]);}[_0x139045(0x6b9)](){const _0x4d5198=_0x139045;this['disposeWithMe'](_0x170db9[_0x4d5198(0x3f0)](_0x145930[_0x4d5198(0x5ed)](window,_0x4d5198(0x248))[_0x4d5198(0x519)](_0x471d1b=>{const _0x2c19ec=_0x4d5198;if(_0x471d1b[_0x2c19ec(0x2e2)]!==_0x4f2d34||!_0x471d1b['newValue'])return;const _0x3f013c=JSON['parse'](_0x471d1b[_0x2c19ec(0x595)]);this['_handleEvent'](_0x3f013c);}))),window['addEventListener'](_0x4d5198(0x451),()=>this[_0x4d5198(0x3c8)]({'type':0x1,'memberID':this[_0x4d5198(0x387)],'unitIDs':Array['from'](this[_0x4d5198(0x313)])}));}['_handleEvent'](_0x362152){const _0x3a585a=_0x139045;switch(_0x362152[_0x3a585a(0x3e2)]){case 0x0:this[_0x3a585a(0x651)](_0x362152);break;case 0x1:this['_handleLeaveEvent'](_0x362152);break;case 0x2:this[_0x3a585a(0x227)](_0x362152);break;}}['_handleJoinEvent'](_0x5be0fa){const _0x379b3f=_0x139045,{unitIDs:_0x12c74f,memberID:_0xfdbb22,isForwarded:_0x1dd7df}=_0x5be0fa;_0x12c74f[_0x379b3f(0x67e)](_0x5a3f23=>{const _0x32ae8d=_0x379b3f;if(!_0x1dd7df&&this[_0x32ae8d(0x4a3)][_0x32ae8d(0x2d5)](_0x5a3f23)&&this['_ensureSubject'](_0x5a3f23)[_0x32ae8d(0x4ed)](0x1),!this[_0x32ae8d(0x4a3)][_0x32ae8d(0x2d5)](_0x5a3f23)||!this[_0x32ae8d(0x4a3)][_0x32ae8d(0x51c)](_0x5a3f23)[_0x32ae8d(0x2d5)](_0xfdbb22)){const _0x39e977=this[_0x32ae8d(0x4a3)][_0x32ae8d(0x51c)](_0x5a3f23)||new Set();_0x39e977['add'](_0xfdbb22),this[_0x32ae8d(0x4a3)][_0x32ae8d(0x3fd)](_0x5a3f23,_0x39e977),this[_0x32ae8d(0x1fa)](_0xfdbb22);}}),_0x1dd7df||this[_0x379b3f(0x3c8)]({'type':0x0,'memberID':this[_0x379b3f(0x387)],'unitIDs':[...this[_0x379b3f(0x313)]],'isForwarded':!0x0});}[_0x139045(0x1fa)](_0x240ee0){const _0x2b5742=_0x139045;this[_0x2b5742(0x6b0)](_0x240ee0);const _0x9d0db2=window[_0x2b5742(0x552)](()=>{const _0x1c60be=_0x2b5742;this['_unitOnClients'][_0x1c60be(0x67e)](_0x5424a3=>{_0x5424a3['delete'](_0x240ee0);});},_0xbca1e7*0x2);this['_clearOtherTimers'][_0x2b5742(0x3fd)](_0x240ee0,_0x9d0db2);}[_0x139045(0x6b0)](_0x46fa85){const _0x453f83=_0x139045;if(this[_0x453f83(0x3a2)]['has'](_0x46fa85)){const _0x43cfb8=this[_0x453f83(0x3a2)]['get'](_0x46fa85);_0x43cfb8&&window[_0x453f83(0x66a)](_0x43cfb8),this[_0x453f83(0x3a2)]['set'](_0x46fa85,null);}}[_0x139045(0x1fe)](_0x5552ef){const {memberID:_0x2dc15a,unitIDs:_0x599e51}=_0x5552ef;_0x599e51['forEach'](_0x280cc8=>{const _0x3cccda=_0x10db;var _0x3b7eff;const _0x1aa603=this[_0x3cccda(0x4a3)][_0x3cccda(0x51c)](_0x280cc8);_0x1aa603&&(_0x1aa603[_0x3cccda(0x5bd)](_0x2dc15a),(_0x3b7eff=this[_0x3cccda(0x2c4)](_0x280cc8))==null||_0x3b7eff['next'](_0x1aa603[_0x3cccda(0x60c)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x2dc15a);}[_0x139045(0x227)](_0x2e7695){const _0x5e1a74=_0x139045;this[_0x5e1a74(0x1fa)](_0x2e7695[_0x5e1a74(0x509)]);}[_0x139045(0x3c8)](_0x255fe5){const _0x2fd07a=_0x139045;localStorage['setItem'](_0x4f2d34,JSON[_0x2fd07a(0x658)](_0x255fe5));}[_0x139045(0x627)](){const _0x39b50b=_0x139045;this[_0x39b50b(0x531)]=window[_0x39b50b(0x5dd)](()=>{const _0x31f12a=_0x39b50b;this[_0x31f12a(0x3c8)]({'type':0x2,'memberID':this[_0x31f12a(0x387)]});},_0xbca1e7);}[_0x139045(0x2c4)](_0x2af151){const _0x3781af=_0x139045;return this[_0x3781af(0x395)]['has'](_0x2af151)||this[_0x3781af(0x395)][_0x3781af(0x3fd)](_0x2af151,new _0x145930[(_0x3781af(0x58b))](0x0)),this['_unitStatus'][_0x3781af(0x51c)](_0x2af151);}}var _0x1d2972=Object[_0x139045(0x620)],_0x33e440=Object['getOwnPropertyDescriptor'],_0x2bd9f3=(_0xa40ab2,_0x640341,_0x3d5bb3,_0x25e5ac)=>{const _0x48f64e=_0x139045;for(var _0x4209ff=_0x25e5ac>0x1?void 0x0:_0x25e5ac?_0x33e440(_0x640341,_0x3d5bb3):_0x640341,_0x1bbd98=_0xa40ab2[_0x48f64e(0x62b)]-0x1,_0x4daf9c;_0x1bbd98>=0x0;_0x1bbd98--)(_0x4daf9c=_0xa40ab2[_0x1bbd98])&&(_0x4209ff=(_0x25e5ac?_0x4daf9c(_0x640341,_0x3d5bb3,_0x4209ff):_0x4daf9c(_0x4209ff))||_0x4209ff);return _0x25e5ac&&_0x4209ff&&_0x1d2972(_0x640341,_0x3d5bb3,_0x4209ff),_0x4209ff;},_0x5ea28b=(_0x45f3e1,_0x31b4bf)=>(_0x4b837d,_0x1c1c6a)=>_0x31b4bf(_0x4b837d,_0x1c1c6a,_0x45f3e1);let _0x374887=class{constructor(_0x48d795,_0x280320,_0x4b42fe){const _0x40dae7=_0x139045;this[_0x40dae7(0x43f)]=_0x48d795,this[_0x40dae7(0x205)]=_0x280320,this[_0x40dae7(0x661)]=_0x4b42fe;}['transformStateCache'](_0x82cba0){const _0x304272=_0x139045;this[_0x304272(0x669)](_0x82cba0);}[_0x139045(0x2e6)](_0x3ac5bb){const _0x26b2bf=_0x139045,{unitID:_0x5ace8c}=_0x3ac5bb,{collaboration:_0xe4e7ea}=this[_0x26b2bf(0x661)]['getStateCache'](_0x5ace8c);if(_0xe4e7ea[_0x26b2bf(0x62b)]===0x0)return _0x3ac5bb;let _0x5b01ab=_0x170db9[_0x26b2bf(0x26e)]['deepClone'](_0x3ac5bb[_0x26b2bf(0x29f)][0x0]);for(let _0x4e89c6=0x0;_0x4e89c6<_0xe4e7ea[_0x26b2bf(0x62b)];_0x4e89c6++){const _0x4a6002={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe4e7ea[_0x4e89c6][_0x26b2bf(0x680)],..._0xe4e7ea[_0x4e89c6]['redoState']}},_0x556a5a=this[_0x26b2bf(0x205)][_0x26b2bf(0x341)](_0x5b01ab,_0x4a6002,!0x1);if(_0x294b4b[_0x26b2bf(0x3f1)](_0x556a5a))throw _0x556a5a[_0x26b2bf(0x406)];_0x5b01ab=_0x556a5a[_0x26b2bf(0x3bc)];}return{..._0x170db9['Tools'][_0x26b2bf(0x618)](_0x3ac5bb),'mutations':[_0x5b01ab]};}[_0x139045(0x669)](_0x11391a){const _0x161451=_0x139045,{unitID:_0x2a887b}=_0x11391a,{history:_0x3f0cab,collaboration:_0xd2cedd}=this[_0x161451(0x661)][_0x161451(0x29d)](_0x2a887b);if(_0x3f0cab[_0x161451(0x62b)]===0x0&&_0xd2cedd[_0x161451(0x62b)]===0x0)return;const _0x1476ed=[],_0x159133=[];let _0x2571bb=_0x170db9[_0x161451(0x26e)][_0x161451(0x618)](_0x11391a['mutations'][0x0]),_0x540c1d=_0x170db9[_0x161451(0x26e)][_0x161451(0x618)](_0x11391a[_0x161451(0x29f)][0x0]);for(let _0x2210e3=_0x3f0cab[_0x161451(0x62b)]-0x1;_0x2210e3>=0x0;_0x2210e3--){const _0x167eeb={'id':_0x161451(0x3c5),'params':{'unitId':_0x3f0cab[_0x2210e3][_0x161451(0x680)],..._0x3f0cab[_0x2210e3][_0x161451(0x2cc)]}},_0x48b4fd={'id':_0x161451(0x3c5),'params':{'unitId':_0x3f0cab[_0x2210e3]['unitId'],..._0x3f0cab[_0x2210e3]['redoState']}},_0x28c3c4=this['_transformService'][_0x161451(0x341)](_0x2571bb,_0x167eeb,!0x1),_0x5ccba6=this[_0x161451(0x205)]['transformMutation'](_0x540c1d,_0x48b4fd,!0x1);if(_0x294b4b[_0x161451(0x3f1)](_0x28c3c4))throw _0x28c3c4['error'];if(_0x294b4b[_0x161451(0x3f1)](_0x5ccba6))throw _0x5ccba6['error'];_0x1476ed[_0x161451(0x22b)]({..._0x3f0cab[_0x2210e3],'undoState':_0x28c3c4[_0x161451(0x5c3)][_0x161451(0x674)],'redoState':_0x5ccba6[_0x161451(0x5c3)]['params']}),_0x2571bb=_0x28c3c4[_0x161451(0x3bc)],_0x540c1d=_0x5ccba6[_0x161451(0x3bc)];}_0x2571bb=_0x170db9[_0x161451(0x26e)][_0x161451(0x618)](_0x11391a[_0x161451(0x29f)][0x0]),_0x540c1d=_0x170db9['Tools'][_0x161451(0x618)](_0x11391a['mutations'][0x0]);for(let _0x334668=_0xd2cedd[_0x161451(0x62b)]-0x1;_0x334668>=0x0;_0x334668--){const _0x2d787b={'id':_0x161451(0x3c5),'params':{'unitId':_0xd2cedd[_0x334668][_0x161451(0x680)],..._0xd2cedd[_0x334668]['undoState']}},_0x1aac68={'id':_0x161451(0x3c5),'params':{'unitId':_0xd2cedd[_0x334668][_0x161451(0x680)],..._0xd2cedd[_0x334668][_0x161451(0x380)]}},_0x56c0e8=this[_0x161451(0x205)][_0x161451(0x341)](_0x2571bb,_0x2d787b,!0x1),_0x5b3166=this[_0x161451(0x205)][_0x161451(0x341)](_0x540c1d,_0x1aac68,!0x1);if(_0x294b4b[_0x161451(0x3f1)](_0x56c0e8))throw _0x56c0e8[_0x161451(0x406)];if(_0x294b4b['isTransformMutationFailure'](_0x5b3166))throw _0x5b3166['error'];_0x159133[_0x161451(0x22b)]({..._0xd2cedd[_0x334668],'undoState':_0x56c0e8[_0x161451(0x5c3)][_0x161451(0x674)],'redoState':_0x5b3166['m2Prime'][_0x161451(0x674)]}),_0x2571bb=_0x56c0e8[_0x161451(0x3bc)],_0x540c1d=_0x5b3166[_0x161451(0x3bc)];}this[_0x161451(0x661)][_0x161451(0x67c)](_0x2a887b,{'history':_0x1476ed,'collaboration':_0x159133});}};_0x374887=_0x2bd9f3([_0x5ea28b(0x0,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x667)])),_0x5ea28b(0x1,_0x294b4b[_0x139045(0x363)]),_0x5ea28b(0x2,_0x170db9[_0x139045(0x283)](_0x5a2d39[_0x139045(0x219)]))],_0x374887);function _0x33331f(_0x312bfa){const _0x24cf2a=_0x139045;let _0x1bcd0b='';for(const _0x3528e4 of _0x312bfa){const {startOffset:_0x5baf01,endOffset:_0x185296,isActive:_0x2f267c,rangeType:_0x12508,segmentId:_0x46c712,segmentPage:_0x17b7cd}=_0x3528e4;_0x1bcd0b[_0x24cf2a(0x62b)]&&(_0x1bcd0b+=','),_0x1bcd0b+=_0x5baf01+':'+_0x185296+':'+(_0x2f267c?'1':'0')+':'+_0x12508+':'+_0x46c712+':'+_0x17b7cd;}return _0x1bcd0b;}function _0x56179c(_0x23a5d5){const _0x4a4815=_0x139045,_0x510843=_0x23a5d5[_0x4a4815(0x373)](','),_0x11c563=[];for(const _0x122cc4 of _0x510843){const [_0x3d7116,_0x5a4a30,_0xfc4d57,_0x59cadf,_0x417477,_0x368a8b]=_0x122cc4[_0x4a4815(0x373)](':');_0x11c563[_0x4a4815(0x2fc)]({'startOffset':Number(_0x3d7116),'endOffset':Number(_0x5a4a30),'collapsed':_0x3d7116===_0x5a4a30,'isActive':_0xfc4d57==='1','rangeType':_0x59cadf===_0x170db9['DOC_RANGE_TYPE'][_0x4a4815(0x48e)]?_0x170db9['DOC_RANGE_TYPE'][_0x4a4815(0x48e)]:_0x170db9[_0x4a4815(0x3b6)][_0x4a4815(0x4fb)],'segmentId':typeof _0x417477==_0x4a4815(0x5ec)?String(_0x417477):'','segmentPage':Number(_0x368a8b!=null?_0x368a8b:-0x1)});}return _0x11c563['some'](_0x4fd123=>_0x4fd123['isActive'])||(_0x11c563[0x0][_0x4a4815(0x648)]=!0x0),_0x11c563;}class _0x4a72d6 extends _0x170db9[_0x139045(0x436)]{constructor(){const _0x11a1e4=_0x139045;super(...arguments),_0xee5085(this,_0x11a1e4(0x540),new _0x145930[(_0x11a1e4(0x58b))](null)),_0xee5085(this,_0x11a1e4(0x256),this[_0x11a1e4(0x540)][_0x11a1e4(0x232)]());}[_0x139045(0x499)](_0x344e32){const _0x97aea3=_0x139045,{unitID:_0x46aa05,memberID:_0x3d54e1,textRanges:_0x4db952}=_0x344e32,_0x5abe45=_0x33331f(_0x4db952);if(_0x5abe45==='')return;const _0x14eb25={'unitID':_0x46aa05,'memberID':_0x3d54e1,'selection':_0x5abe45};this['_collabCursorState$'][_0x97aea3(0x4ed)](_0x14eb25);}}var _0x15ca8d=Object[_0x139045(0x620)],_0x2b28c9=Object[_0x139045(0x264)],_0x1236f0=(_0x1acbfd,_0x2eef66,_0x555d79,_0x13be22)=>{for(var _0x22f5b7=_0x13be22>0x1?void 0x0:_0x13be22?_0x2b28c9(_0x2eef66,_0x555d79):_0x2eef66,_0x193801=_0x1acbfd['length']-0x1,_0x3267c7;_0x193801>=0x0;_0x193801--)(_0x3267c7=_0x1acbfd[_0x193801])&&(_0x22f5b7=(_0x13be22?_0x3267c7(_0x2eef66,_0x555d79,_0x22f5b7):_0x3267c7(_0x22f5b7))||_0x22f5b7);return _0x13be22&&_0x22f5b7&&_0x15ca8d(_0x2eef66,_0x555d79,_0x22f5b7),_0x22f5b7;},_0x4e7596=(_0x46a6d4,_0x1f68da)=>(_0x1c2198,_0x4f3c63)=>_0x1f68da(_0x1c2198,_0x4f3c63,_0x46a6d4);let _0x5009b3=class{constructor(_0x88b6f8,_0x16ae7e){const _0x1d2258=_0x139045;this['_injector']=_0x88b6f8,this[_0x1d2258(0x205)]=_0x16ae7e;}[_0x139045(0x5ab)](_0x26d831){const _0x5c3310=_0x139045;var _0x29b8c7;const _0x4db124=this[_0x5c3310(0x43f)]['get'](_0x2bd9e1['DocSelectionManagerService']),_0x5eb126=(_0x29b8c7=_0x4db124[_0x5c3310(0x4a0)]())!=null?_0x29b8c7:[];if(_0x5eb126['length']===0x0)return;const _0x42de0c=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x26d831[_0x5c3310(0x4ee)],'actions':null,'textRanges':_0x5eb126}}],_0x3f4bfb=this[_0x5c3310(0x205)][_0x5c3310(0x5fe)](_0x26d831,_0x42de0c);if(!_0x294b4b[_0x5c3310(0x5e3)](_0x3f4bfb))throw _0x3f4bfb['error'];const _0x2e1391=_0x3f4bfb['m2Prime'][0x0]['params'][_0x5c3310(0x2e5)];Array[_0x5c3310(0x209)](_0x2e1391)&&_0x2e1391[_0x5c3310(0x62b)]&&_0x4db124[_0x5c3310(0x41e)](_0x2e1391,!0x1);}};_0x5009b3=_0x1236f0([_0x4e7596(0x0,_0x170db9[_0x139045(0x283)](_0x170db9['Injector'])),_0x4e7596(0x1,_0x294b4b[_0x139045(0x363)])],_0x5009b3);const _0x778fa=new Set([_0x292e35[_0x139045(0x604)]['id']]);function _0x431d2e(_0x25383c,_0x4a95ab,_0x33faad,_0x44bd61,_0x3bf2db){const _0x1ba80a=_0x139045;var _0x58f8d1,_0x733838,_0x272a0d,_0x444797;const _0x2c518a=[];for(const _0x22004c of _0x25383c)if(_0x778fa[_0x1ba80a(0x2d5)](_0x22004c['id'])){if(_0x2c518a['length']>0x0)break;_0x2c518a[_0x1ba80a(0x2fc)](_0x22004c);break;}else _0x2c518a[_0x1ba80a(0x2fc)](_0x22004c);const _0x3083c3=(_0x733838=(_0x58f8d1=_0x3bf2db[_0x1ba80a(0x4cc)]())==null?void 0x0:_0x58f8d1['userID'])!=null?_0x733838:'unknown',_0x2b85a8=(_0x444797=(_0x272a0d=_0x3bf2db['getCurrentUser']())==null?void 0x0:_0x272a0d['memberID'])!=null?_0x444797:_0x1ba80a(0x619);return{'changeset':{'unitID':_0x4a95ab,'type':_0x294b4b[_0x1ba80a(0x539)](_0x33faad[_0x1ba80a(0x438)](_0x4a95ab)),'baseRev':_0x44bd61[_0x1ba80a(0x3a0)](_0x4a95ab),'revision':0x0,'userID':_0x3083c3,'memberID':_0x2b85a8,'mutations':_0x2c518a},'pendingMutations':_0x25383c[_0x1ba80a(0x2b1)](_0x2c518a['length'])};}function _0x5a7b8b(_0x56f42c,_0x43b58a,_0x192bb3,_0x4ddc16,_0xc85f8b){const _0x3939ef=_0x139045;var _0x12c3d1,_0x1cefeb,_0x593188,_0x573027;const _0x3f2719=[_0x56f42c[_0x3939ef(0x2c8)]((_0x3d9d4f,_0x101240)=>{const _0x52600f=_0x3939ef;var _0x3320a0;const {id:_0x4c3de0}=_0x3d9d4f,{id:_0x43cec3,type:_0x1c9923}=_0x101240,_0x5e3f91=(_0x3320a0=_0x3d9d4f[_0x52600f(0x674)])!=null?_0x3320a0:{'actions':null},_0x382001=_0x101240[_0x52600f(0x674)];if(_0x4c3de0&&_0x4c3de0!==_0x43cec3)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4c3de0+_0x52600f(0x3a6)+_0x43cec3+'.');return{..._0x3d9d4f,'id':_0x43cec3,'type':_0x1c9923,'params':{'unitId':_0x382001['unitId'],'textRanges':_0x382001[_0x52600f(0x2e5)],'actions':_0x170db9['JSONX'][_0x52600f(0x27e)](_0x5e3f91[_0x52600f(0x4c3)],_0x382001[_0x52600f(0x4c3)])}};},{})],_0x3efbc0=(_0x1cefeb=(_0x12c3d1=_0xc85f8b[_0x3939ef(0x4cc)]())==null?void 0x0:_0x12c3d1[_0x3939ef(0x44b)])!=null?_0x1cefeb:_0x3939ef(0x619),_0xbfa996=(_0x573027=(_0x593188=_0xc85f8b[_0x3939ef(0x4cc)]())==null?void 0x0:_0x593188[_0x3939ef(0x509)])!=null?_0x573027:'unknown';return{'changeset':{'unitID':_0x43b58a,'type':_0x294b4b[_0x3939ef(0x539)](_0x192bb3['getUnitType'](_0x43b58a)),'baseRev':_0x4ddc16[_0x3939ef(0x3a0)](_0x43b58a),'revision':0x0,'userID':_0x3efbc0,'memberID':_0xbfa996,'mutations':_0x3f2719},'pendingMutations':[]};}function _0x336fbb(_0x5d4907,_0x11d486){const _0x121146=_0x139045,_0x5b5809=new _0x145930[(_0x121146(0x25e))](0x1);return setTimeout(()=>_0x5b5809[_0x121146(0x4ed)](_0x11d486),_0x5d4907),_0x5b5809[_0x121146(0x232)]()[_0x121146(0x640)](_0x145930[_0x121146(0x207)](0x1));}const _0x2af861={'id':_0x292e35[_0x139045(0x29b)]['id'],'type':_0x170db9['CommandType'][_0x139045(0x49b)],'params':{}};var _0x29558c=Object[_0x139045(0x620)],_0x3c9229=Object[_0x139045(0x264)],_0x4e2ae5=(_0x15ae88,_0x30e675,_0x14cb14,_0x319402)=>{for(var _0x15b343=_0x319402>0x1?void 0x0:_0x319402?_0x3c9229(_0x30e675,_0x14cb14):_0x30e675,_0x43253a=_0x15ae88['length']-0x1,_0x5b1d4f;_0x43253a>=0x0;_0x43253a--)(_0x5b1d4f=_0x15ae88[_0x43253a])&&(_0x15b343=(_0x319402?_0x5b1d4f(_0x30e675,_0x14cb14,_0x15b343):_0x5b1d4f(_0x15b343))||_0x15b343);return _0x319402&&_0x15b343&&_0x29558c(_0x30e675,_0x14cb14,_0x15b343),_0x15b343;},_0x5a1a66=(_0x2a78fd,_0x46e520)=>(_0x3ab656,_0x21a05c)=>_0x46e520(_0x3ab656,_0x21a05c,_0x2a78fd),_0xd10e72=(_0x59ed1e=>(_0x59ed1e[_0x139045(0x22a)]='not_collab',_0x59ed1e[_0x139045(0x4f5)]=_0x139045(0x412),_0x59ed1e[_0x139045(0x30c)]=_0x139045(0x4a9),_0x59ed1e[_0x139045(0x2e7)]=_0x139045(0x423),_0x59ed1e['AWAITING_WITH_PENDING']=_0x139045(0x4ec),_0x59ed1e[_0x139045(0x321)]=_0x139045(0x3c2),_0x59ed1e[_0x139045(0x54b)]=_0x139045(0x254),_0x59ed1e[_0x139045(0x21d)]=_0x139045(0x272),_0x59ed1e))(_0xd10e72||{});const _0x5283c4=0xea60;class _0x1a6bf6{constructor(_0x144ac0,_0x3dd5df,_0x494a41,_0x4ea2cd,_0x31717c,_0x201c33,_0x4bf50d,_0x4b2149,_0x26e54b){const _0x48431f=_0x139045;_0xee5085(this,_0x48431f(0x3f3),null),_0xee5085(this,'_pendingMutations',[]),(this[_0x48431f(0x4ee)]=_0x144ac0,this[_0x48431f(0x3e2)]=_0x3dd5df,this[_0x48431f(0x36b)]=_0x31717c,this['_commandService']=_0x201c33,this[_0x48431f(0x38c)]=_0x4bf50d,this[_0x48431f(0x4d4)]=_0x4b2149,this['_localCacheService']=_0x26e54b,this[_0x48431f(0x3f3)]=_0x494a41,this['_pendingMutations']=_0x4ea2cd);}[_0x139045(0x213)](_0x448d4f){const _0x4f5c0f=_0x139045,_0x2485c5=this[_0x4f5c0f(0x4d4)]['getCurrentRevOfUnit'](this[_0x4f5c0f(0x4ee)]);return _0x448d4f[_0x4f5c0f(0x6b1)]>_0x2485c5+0x1?(this[_0x4f5c0f(0x36b)][_0x4f5c0f(0x4e8)]({'from':_0x2485c5,'to':_0x448d4f[_0x4f5c0f(0x6b1)]-0x1}),!0x0):!0x1;}[_0x139045(0x2da)](_0x298a64){const _0x1fbddd=_0x139045;this['_undoRedoService'][_0x1fbddd(0x6b2)](this['unitID'],_0x298a64);}[_0x139045(0x51d)](_0x5e61b2){const _0x30bfe3=_0x139045;var _0x3a49ec,_0x5a8367;(_0x5a8367=(_0x3a49ec=this[_0x30bfe3(0x36b)])[_0x30bfe3(0x5e8)])==null||_0x5a8367[_0x30bfe3(0x2b0)](_0x3a49ec,_0x5e61b2);}[_0x139045(0x390)](_0x14179a){const _0x3ae00e=_0x139045;var _0x776d63,_0x29074d;return(_0x29074d=(_0x776d63=this[_0x3ae00e(0x36b)])['onTransformIME'])==null?void 0x0:_0x29074d[_0x3ae00e(0x2b0)](_0x776d63,_0x14179a);}[_0x139045(0x2ff)](_0x37e16a){const _0x8c5214=_0x139045;var _0x1a098c,_0x18e5fa;return(_0x18e5fa=(_0x1a098c=this[_0x8c5214(0x36b)])['onTransformState'])==null?void 0x0:_0x18e5fa[_0x8c5214(0x2b0)](_0x1a098c,_0x37e16a);}[_0x139045(0x698)](_0xc329c9){const _0x3ae600=_0x139045;var _0x4df681,_0x2aceba,_0x499d3d;return(_0x499d3d=(_0x2aceba=(_0x4df681=this[_0x3ae600(0x36b)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2aceba[_0x3ae600(0x2b0)](_0x4df681,_0xc329c9))!=null?_0x499d3d:_0xc329c9;}['_transformRemoteChangesetByStateCache'](_0x13cbe8){const _0x16fa5e=_0x139045;var _0x24ef18,_0x2912dc,_0x55fa54;return(_0x55fa54=(_0x2912dc=(_0x24ef18=this[_0x16fa5e(0x36b)])[_0x16fa5e(0x2b2)])==null?void 0x0:_0x2912dc['call'](_0x24ef18,_0x13cbe8))!=null?_0x55fa54:_0x13cbe8;}[_0x139045(0x493)](_0x3ddccd){const _0x3e3e11=_0x139045;var _0x56ea26,_0x184d0a;if(this[_0x3e3e11(0x3e2)]===_0x5950ae[_0x3e3e11(0x4ca)]){const {unitID:_0xa35df2,mutations:_0x223ece,memberID:_0xf53c2c}=_0x3ddccd,_0x2da11e=_0x223ece[0x0]['params'][_0x3e3e11(0x2e5)];Array[_0x3e3e11(0x209)](_0x2da11e)&&_0x2da11e[_0x3e3e11(0x62b)]>0x0&&((_0x184d0a=(_0x56ea26=this[_0x3e3e11(0x36b)])[_0x3e3e11(0x52f)])==null||_0x184d0a['call'](_0x56ea26,{'unitID':_0xa35df2,'memberID':_0xf53c2c,'textRanges':_0x2da11e}));}}['_updateLocalCache'](){const _0x4f9dea=_0x139045;this['_localCacheService']['updateOfflineData'](this[_0x4f9dea(0x4ee)],this[_0x4f9dea(0x3e2)],this['_awaitingChangeset'],this[_0x4f9dea(0x46f)]);}['_getCurrentRevision'](){const _0x419c12=_0x139045;return this[_0x419c12(0x4d4)][_0x419c12(0x3a0)](this[_0x419c12(0x4ee)]);}['_incrementRevisionNumber'](){const _0x4dbb92=_0x139045;this[_0x4dbb92(0x4d4)]['incrementRevOfUnit'](this[_0x4dbb92(0x4ee)]);}[_0x139045(0x2ba)](_0x51b8e0){const _0x100380=_0x139045;var _0x5f25ed;let _0xb9384e=this[_0x100380(0x698)](_0x51b8e0);_0xb9384e=this[_0x100380(0x571)](_0xb9384e);const _0x5aac45=_0x170db9[_0x100380(0x609)](_0xb9384e[_0x100380(0x29f)],this[_0x100380(0x1fb)],{'fromCollab':!0x0});if(!_0x5aac45[_0x100380(0x346)])throw _0x5aac45[_0x100380(0x406)]instanceof Error?_0x5aac45[_0x100380(0x406)]:new Error((_0x5f25ed=_0x5aac45[_0x100380(0x406)])!=null?_0x5f25ed:_0x100380(0x288));this[_0x100380(0x390)](_0xb9384e),this['_transformStateCache'](_0xb9384e),this[_0x100380(0x2da)](_0x51b8e0),this['_transformSelections'](_0xb9384e),this[_0x100380(0x493)](_0xb9384e),this[_0x100380(0x447)]();}}let _0x2e5403=class extends _0x1a6bf6{constructor(_0x46bdb3,_0x1aefc2,_0x58c037,_0x9f46ba,_0x56e9fa,_0x24acff,_0x493180,_0x2eb386,_0x5918f6,_0x39f5e2){const _0x3cda1b=_0x139045;super(_0x46bdb3,_0x1aefc2,null,[],_0x58c037,_0x2eb386,_0x493180,_0x9f46ba,_0x56e9fa),_0xee5085(this,'status',_0x3cda1b(0x412)),(this[_0x3cda1b(0x43f)]=_0x24acff,this[_0x3cda1b(0x5b4)]=_0x5918f6,this[_0x3cda1b(0x205)]=_0x39f5e2);}[_0x139045(0x50c)](_0x15bbdc){const _0x543688=_0x139045,_0x48579e=this['_injector'][_0x543688(0x3f4)](_0x10407b,this[_0x543688(0x4ee)],this[_0x543688(0x3e2)],[_0x15bbdc],this[_0x543688(0x36b)]);return _0x48579e[_0x543688(0x32d)](),_0x48579e[_0x543688(0x614)](),_0x48579e;}[_0x139045(0x487)](_0x414569){const _0xf80575=_0x139045;if(this[_0xf80575(0x213)](_0x414569))return this[_0xf80575(0x43f)][_0xf80575(0x3f4)](_0x4a721f,this[_0xf80575(0x4ee)],this[_0xf80575(0x3e2)],null,[],null,[_0x414569],this[_0xf80575(0x36b)]);try{const _0x5bb69a=this[_0xf80575(0x205)][_0xf80575(0x5fe)](_0x414569,[_0x2af861]);if(_0x294b4b[_0xf80575(0x5e3)](_0x5bb69a)){const {c1Prime:_0x10066f}=_0x5bb69a;return this[_0xf80575(0x2ba)](_0x10066f),this;}throw _0x5bb69a['error'];}catch(_0x1cda33){return this[_0xf80575(0x5b4)][_0xf80575(0x406)](_0x1cda33),this[_0xf80575(0x5aa)](!0x1);}}[_0x139045(0x5aa)](_0x8e1d9f){const _0x213256=_0x139045;return this['_injector'][_0x213256(0x3f4)](_0x1b145a,this[_0x213256(0x4ee)],this[_0x213256(0x3e2)],null,[],this[_0x213256(0x36b)],_0x8e1d9f);}[_0x139045(0x4d2)](){const _0x32a6c9=_0x139045;throw new Error(_0x32a6c9(0x3ee));}[_0x139045(0x3fa)](){const _0x2e847b=_0x139045;throw new Error(_0x2e847b(0x56d));}[_0x139045(0x2ee)](){return this;}['toggleOffline'](){const _0x3467d3=_0x139045;return this['_injector'][_0x3467d3(0x3f4)](_0x2c1947,this[_0x3467d3(0x4ee)],this[_0x3467d3(0x3e2)],null,[],this[_0x3467d3(0x36b)]);}[_0x139045(0x332)](){return this;}[_0x139045(0x610)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){const _0x1f1a2b=_0x139045,_0x2063e9=this['_revisionService'][_0x1f1a2b(0x3a0)](this['unitID']);return this[_0x1f1a2b(0x36b)][_0x1f1a2b(0x4e8)]({'from':_0x2063e9,'to':0x0}),this[_0x1f1a2b(0x43f)][_0x1f1a2b(0x3f4)](_0x4a721f,this['unitID'],this[_0x1f1a2b(0x3e2)],null,[],null,[],this[_0x1f1a2b(0x36b)]);}};_0x2e5403=_0x4e2ae5([_0x5a1a66(0x3,_0x170db9[_0x139045(0x283)](_0x294b4b[_0x139045(0x32e)])),_0x5a1a66(0x4,_0x170db9['Inject'](_0x2ebd39[_0x139045(0x477)])),_0x5a1a66(0x5,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x667)])),_0x5a1a66(0x6,_0x170db9[_0x139045(0x3c1)]),_0x5a1a66(0x7,_0x170db9[_0x139045(0x301)]),_0x5a1a66(0x8,_0x170db9[_0x139045(0x686)]),_0x5a1a66(0x9,_0x294b4b[_0x139045(0x363)])],_0x2e5403);let _0x10407b=class extends _0x1a6bf6{constructor(_0x4c159d,_0x5dc274,_0x162520,_0x30bc37,_0x46af4c,_0x39544c,_0x3dd207,_0x1b56a9,_0x24f684,_0x5a1899,_0x19fbe4,_0x285fe2,_0x1432d5,_0x2d5670){const _0x11cfb4=_0x139045;super(_0x4c159d,_0x5dc274,null,_0x162520,_0x30bc37,_0x5a1899,_0x2d5670,_0x39544c,_0x3dd207),_0xee5085(this,'status',_0x11cfb4(0x4a9)),_0xee5085(this,_0x11cfb4(0x29a),null),_0xee5085(this,_0x11cfb4(0x45b),null),(this[_0x11cfb4(0x43f)]=_0x46af4c,this[_0x11cfb4(0x57e)]=_0x1b56a9,this['_logService']=_0x24f684,this[_0x11cfb4(0x397)]=_0x19fbe4,this['_transformService']=_0x285fe2,this[_0x11cfb4(0x230)]=_0x1432d5);}[_0x139045(0x50c)](_0x42f109){const _0x35d115=_0x139045;return this[_0x35d115(0x46f)][_0x35d115(0x2fc)](_0x42f109),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x49d8a2){const _0x472f54=_0x139045;if(this[_0x472f54(0x213)](_0x49d8a2))return this[_0x472f54(0x2e4)](),this[_0x472f54(0x43f)][_0x472f54(0x3f4)](_0x4a721f,this[_0x472f54(0x4ee)],this[_0x472f54(0x3e2)],null,this[_0x472f54(0x46f)],null,[_0x49d8a2],this[_0x472f54(0x36b)]);try{const _0x4e877c=this['_transformService']['transformMutationsWithChangeset'](_0x49d8a2,this['_pendingMutations']);if(_0x294b4b['isTransformMutationsWithChangesetSuccess'](_0x4e877c)){const {c1Prime:_0x1420c3,m2Prime:_0x5877c0}=_0x4e877c;this[_0x472f54(0x2ba)](_0x1420c3);const _0x202a78=this[_0x472f54(0x43f)][_0x472f54(0x3f4)](_0x10407b,this[_0x472f54(0x4ee)],this['type'],_0x5877c0,this['_handler']);return this[_0x472f54(0x2e4)](),_0x202a78[_0x472f54(0x32d)](this[_0x472f54(0x29a)]?Math[_0x472f54(0x633)](0x0,new Date()[_0x472f54(0x5b9)]()-this[_0x472f54(0x29a)]):this['_getSendChangesetTimeout']()),_0x202a78;}throw _0x4e877c[_0x472f54(0x406)];}catch(_0x50c6bd){return this[_0x472f54(0x5b4)][_0x472f54(0x406)](_0x50c6bd),this['_onConflict'](!0x1);}}[_0x139045(0x4d2)](){const _0x3105c1=_0x139045;throw new Error(_0x3105c1(0x327));}[_0x139045(0x3fa)](){const _0x29e2c8=_0x139045;throw new Error(_0x29e2c8(0x568));}[_0x139045(0x2ee)](){return this;}['toggleOffline'](){const _0xb84bff=_0x139045;return this[_0xb84bff(0x2e4)](),this[_0xb84bff(0x43f)]['createInstance'](_0x2c1947,this[_0xb84bff(0x4ee)],this['type'],null,this[_0xb84bff(0x46f)],this[_0xb84bff(0x36b)]);}[_0x139045(0x332)](){return this;}[_0x139045(0x32d)](_0x3a4279){const _0x3b8a60=_0x139045,_0x49e10c=_0x3a4279!=null?_0x3a4279:this['_getSendChangesetTimeout']();this['_scheduleTimestamp']=new Date()['getTime'](),this['_sendingTimer']=window[_0x3b8a60(0x552)](()=>{const _0x5cfef1=_0x3b8a60;this[_0x5cfef1(0x2e4)]();let _0x44cd4a=null;switch(this[_0x5cfef1(0x3e2)]){case _0x5950ae[_0x5cfef1(0x696)]:{_0x44cd4a=_0x431d2e(this['_pendingMutations'],this[_0x5cfef1(0x4ee)],this[_0x5cfef1(0x230)],this[_0x5cfef1(0x4d4)],this[_0x5cfef1(0x57e)]);break;}case _0x5950ae[_0x5cfef1(0x4ca)]:{this['_pendingMutations'][_0x5cfef1(0x607)](_0x5c7851=>_0x5c7851['id']===_0x2bd9e1[_0x5cfef1(0x498)]['id'])?_0x44cd4a=_0x5a7b8b(this[_0x5cfef1(0x46f)],this[_0x5cfef1(0x4ee)],this[_0x5cfef1(0x230)],this[_0x5cfef1(0x4d4)],this['_memberService']):_0x44cd4a=_0x431d2e(this['_pendingMutations'],this[_0x5cfef1(0x4ee)],this[_0x5cfef1(0x230)],this[_0x5cfef1(0x4d4)],this[_0x5cfef1(0x57e)]);break;}default:throw new Error(_0x5cfef1(0x3bf)+this[_0x5cfef1(0x3e2)]+_0x5cfef1(0x518));}const {changeset:_0x20ba26,pendingMutations:_0x3c9ff5}=_0x44cd4a;this[_0x5cfef1(0x36b)][_0x5cfef1(0x1f0)](_0x20ba26);const _0x41588d=_0x3c9ff5[_0x5cfef1(0x62b)]?this[_0x5cfef1(0x43f)][_0x5cfef1(0x3f4)](_0x1a7cc4,this[_0x5cfef1(0x4ee)],this[_0x5cfef1(0x3e2)],_0x20ba26,_0x3c9ff5,this['_handler'],void 0x0):this[_0x5cfef1(0x43f)]['createInstance'](_0x2da86e,this[_0x5cfef1(0x4ee)],this[_0x5cfef1(0x3e2)],_0x20ba26,this[_0x5cfef1(0x36b)]);_0x41588d['_updateLocalCache'](),this['_handler'][_0x5cfef1(0x389)](this,_0x41588d);},_0x49e10c);}[_0x139045(0x446)](){const _0x5d2b9b=_0x139045;var _0x5c6663;const _0xdacf06=this[_0x5d2b9b(0x397)][_0x5d2b9b(0x34b)](_0x2cc87b);return(_0x5c6663=_0xdacf06==null?void 0x0:_0xdacf06[_0x5d2b9b(0x35a)])!=null?_0x5c6663:0x7d0;}[_0x139045(0x610)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){const _0x3fb596=_0x139045;this[_0x3fb596(0x45b)]!=null&&(clearTimeout(this[_0x3fb596(0x45b)]),this[_0x3fb596(0x45b)]=null);}[_0x139045(0x5aa)](_0x4b66f2){const _0x12c4a2=_0x139045;return this[_0x12c4a2(0x2e4)](),this['_injector'][_0x12c4a2(0x3f4)](_0x1b145a,this[_0x12c4a2(0x4ee)],this['type'],null,this['_pendingMutations'],this[_0x12c4a2(0x36b)],_0x4b66f2);}};_0x10407b=_0x4e2ae5([_0x5a1a66(0x4,_0x170db9[_0x139045(0x283)](_0x170db9['Injector'])),_0x5a1a66(0x5,_0x170db9[_0x139045(0x283)](_0x294b4b[_0x139045(0x32e)])),_0x5a1a66(0x6,_0x170db9[_0x139045(0x283)](_0x2ebd39[_0x139045(0x477)])),_0x5a1a66(0x7,_0x170db9['Inject'](_0x2ebd39[_0x139045(0x2d4)])),_0x5a1a66(0x8,_0x170db9[_0x139045(0x686)]),_0x5a1a66(0x9,_0x170db9[_0x139045(0x301)]),_0x5a1a66(0xa,_0x170db9[_0x139045(0x57a)]),_0x5a1a66(0xb,_0x294b4b[_0x139045(0x363)]),_0x5a1a66(0xc,_0x170db9[_0x139045(0x22f)]),_0x5a1a66(0xd,_0x170db9['IUndoRedoService'])],_0x10407b);let _0x2da86e=class extends _0x1a6bf6{constructor(_0x148eb4,_0x16cfc1,_0x4d82b4,_0x1866f9,_0x203f4b,_0x362d4e,_0x225a2d,_0x1d3aab,_0x1573da,_0x357132,_0x5853a4){const _0x479761=_0x139045;super(_0x148eb4,_0x16cfc1,_0x4d82b4,[],_0x1866f9,_0x1d3aab,_0x5853a4,_0x362d4e,_0x225a2d),_0xee5085(this,_0x479761(0x5f4),_0x479761(0x423)),_0xee5085(this,_0x479761(0x3b7),0x0),_0xee5085(this,_0x479761(0x5b0)),_0xee5085(this,_0x479761(0x569)),(this[_0x479761(0x43f)]=_0x203f4b,this[_0x479761(0x5b4)]=_0x1573da,this['_transformService']=_0x357132);}[_0x139045(0x50c)](_0x6cd866){const _0x3899a6=_0x139045;this[_0x3899a6(0x2e4)]();const _0x13006e=this[_0x3899a6(0x43f)][_0x3899a6(0x3f4)](_0x1a7cc4,this['unitID'],this[_0x3899a6(0x3e2)],this[_0x3899a6(0x3f3)],[_0x6cd866],this[_0x3899a6(0x36b)],this[_0x3899a6(0x5b0)]);return _0x13006e[_0x3899a6(0x614)](),_0x13006e;}[_0x139045(0x487)](_0x278ed1){const _0x40d446=_0x139045;if(this['_checkMissing'](_0x278ed1))return this[_0x40d446(0x2e4)](),this[_0x40d446(0x43f)][_0x40d446(0x3f4)](_0x4a721f,this['unitID'],this[_0x40d446(0x3e2)],this[_0x40d446(0x3f3)],[],null,[_0x278ed1],this[_0x40d446(0x36b)]);try{const _0x22554f=this[_0x40d446(0x205)][_0x40d446(0x4bb)]([_0x278ed1],[this['_awaitingChangeset']],!0x1);if(_0x294b4b[_0x40d446(0x582)](_0x22554f)){const {c1Prime:_0x4176c1,c2Prime:_0x3a0a15}=_0x22554f;this[_0x40d446(0x2ba)](_0x4176c1[0x0]),_0x3a0a15[0x0]['baseRev']=this[_0x40d446(0x521)](),this[_0x40d446(0x2e4)]();const _0x1a0741=this[_0x40d446(0x43f)]['createInstance'](_0x2da86e,this[_0x40d446(0x4ee)],this[_0x40d446(0x3e2)],_0x3a0a15[0x0],this[_0x40d446(0x36b)]);return _0x1a0741[_0x40d446(0x614)](),_0x1a0741;}return this[_0x40d446(0x5aa)](!0x1);}catch(_0x51907a){return this[_0x40d446(0x5b4)][_0x40d446(0x406)](_0x51907a),this[_0x40d446(0x5aa)](!0x1);}}[_0x139045(0x4d2)](_0x252644){const _0x523992=_0x139045;this['_clearScheduledTask']();const _0x146757=this[_0x523992(0x4d4)][_0x523992(0x3a0)](this[_0x523992(0x4ee)]);if(_0x252644[_0x523992(0x6b1)]<_0x146757-0x1)return this;if(this[_0x523992(0x213)](_0x252644))return this[_0x523992(0x43f)]['createInstance'](_0x4a721f,this[_0x523992(0x4ee)],this[_0x523992(0x3e2)],null,[],this[_0x523992(0x3f3)],[],this[_0x523992(0x36b)]);this[_0x523992(0x447)]();const _0x5ef991=this[_0x523992(0x43f)]['createInstance'](_0x2e5403,this['unitID'],this[_0x523992(0x3e2)],this[_0x523992(0x36b)]);return _0x5ef991[_0x523992(0x614)](),_0x5ef991;}['onRemoteRej'](_0x191249){const _0x4b9bcc=_0x139045;return this[_0x4b9bcc(0x5aa)](!!(_0x191249!=null&&_0x191249[_0x4b9bcc(0x417)]));}[_0x139045(0x2ee)](_0x438982){const _0x32ad61=_0x139045;return this[_0x32ad61(0x3b7)]>_0x5283c4?this[_0x32ad61(0x4f9)]():(this[_0x32ad61(0x5b0)]=_0x336fbb(this[_0x32ad61(0x3b7)],{'timeout':this['_resendTimeout'],'reqId':_0x438982[_0x32ad61(0x334)]}),this[_0x32ad61(0x569)]=this[_0x32ad61(0x5b0)][_0x32ad61(0x519)](({reqId:_0x132881,timeout:_0x3be90e})=>{const _0x642cc9=_0x32ad61;this[_0x642cc9(0x4f6)](_0x132881,_0x3be90e);}),this);}[_0x139045(0x4f9)](){const _0x385120=_0x139045;return this[_0x385120(0x2e4)](),this[_0x385120(0x43f)][_0x385120(0x3f4)](_0x2c1947,this[_0x385120(0x4ee)],this['type'],this[_0x385120(0x3f3)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x139045(0x610)](){const _0x6971fd=_0x139045;this['_handler']['onSendChangeset'](this[_0x6971fd(0x3f3)]);}[_0x139045(0x5aa)](_0xa1617b){const _0xa0de69=_0x139045;return this[_0xa0de69(0x2e4)](),this[_0xa0de69(0x43f)][_0xa0de69(0x3f4)](_0x1b145a,this['unitID'],this[_0xa0de69(0x3e2)],this['_awaitingChangeset'],[],this['_handler'],_0xa1617b);}[_0x139045(0x4f6)](_0x202a90,_0x4dd759){const _0x1de216=_0x139045;var _0x35bfd5;_0x202a90===((_0x35bfd5=this['_awaitingChangeset'])==null?void 0x0:_0x35bfd5[_0x1de216(0x334)])&&(this[_0x1de216(0x610)](),this['_resendTimeout']=_0x4dd759===0x0?0x3e8:_0x4dd759*0x2);}['_clearScheduledTask'](){const _0xa67429=_0x139045;var _0x14aab5;(_0x14aab5=this[_0xa67429(0x569)])==null||_0x14aab5['unsubscribe'](),this[_0xa67429(0x3b7)]=0x0;}};_0x2da86e=_0x4e2ae5([_0x5a1a66(0x4,_0x170db9['Inject'](_0x170db9[_0x139045(0x667)])),_0x5a1a66(0x5,_0x170db9[_0x139045(0x283)](_0x294b4b[_0x139045(0x32e)])),_0x5a1a66(0x6,_0x170db9['Inject'](_0x2ebd39[_0x139045(0x477)])),_0x5a1a66(0x7,_0x170db9[_0x139045(0x301)]),_0x5a1a66(0x8,_0x170db9[_0x139045(0x686)]),_0x5a1a66(0x9,_0x294b4b[_0x139045(0x363)]),_0x5a1a66(0xa,_0x170db9[_0x139045(0x3c1)])],_0x2da86e);let _0x1a7cc4=class extends _0x1a6bf6{constructor(_0x2cecae,_0x2dc190,_0x597092,_0x37d578,_0x28d7ed,_0x100bac,_0x1bd766,_0x2f5dec,_0x40e6a5,_0x454a45,_0x23a592,_0x2addf6,_0x4380e5){const _0x541a6b=_0x139045;super(_0x2cecae,_0x2dc190,_0x597092,_0x37d578,_0x28d7ed,_0x454a45,_0x4380e5,_0x2f5dec,_0x40e6a5),_0xee5085(this,_0x541a6b(0x5f4),_0x541a6b(0x4ec)),_0xee5085(this,'_resendTimeout',0x0),_0xee5085(this,_0x541a6b(0x5b0)),_0xee5085(this,_0x541a6b(0x569)),(this[_0x541a6b(0x43f)]=_0x1bd766,this['_logService']=_0x23a592,this[_0x541a6b(0x205)]=_0x2addf6,_0x100bac&&(this[_0x541a6b(0x5b0)]=_0x100bac,this[_0x541a6b(0x569)]=this[_0x541a6b(0x5b0)][_0x541a6b(0x519)](({reqId:_0x33b7f9,timeout:_0x11a8b9})=>{this['_resendWithTimeout'](_0x33b7f9,_0x11a8b9);})));}['appendMutation'](_0xd60529){const _0x1a4b39=_0x139045;return this['_pendingMutations'][_0x1a4b39(0x2fc)](_0xd60529),this;}[_0x139045(0x487)](_0x47cb68){const _0x1554d3=_0x139045;if(this[_0x1554d3(0x213)](_0x47cb68))return this[_0x1554d3(0x2e4)](),this[_0x1554d3(0x43f)][_0x1554d3(0x3f4)](_0x4a721f,this[_0x1554d3(0x4ee)],this['type'],this[_0x1554d3(0x3f3)],this[_0x1554d3(0x46f)],null,[_0x47cb68],this[_0x1554d3(0x36b)]);try{const _0x5a8f9e=this[_0x1554d3(0x205)][_0x1554d3(0x4bb)]([_0x47cb68],[this[_0x1554d3(0x3f3)]],!0x1);if(_0x294b4b[_0x1554d3(0x582)](_0x5a8f9e)){const {c1Prime:_0x1c5150,c2Prime:_0x594b2e}=_0x5a8f9e,_0x283ea4=this[_0x1554d3(0x205)][_0x1554d3(0x5fe)](_0x1c5150[0x0],this['_pendingMutations']);if(_0x294b4b['isTransformMutationsWithChangesetSuccess'](_0x283ea4)){const {c1Prime:_0x4fc96b,m2Prime:_0x5540da}=_0x283ea4;return this['_executeRemoteChangeset'](_0x4fc96b),_0x594b2e[0x0][_0x1554d3(0x61e)]=this[_0x1554d3(0x521)](),this['_clearScheduledTask'](),this['_injector'][_0x1554d3(0x3f4)](_0x1a7cc4,this[_0x1554d3(0x4ee)],this[_0x1554d3(0x3e2)],_0x594b2e[0x0],_0x5540da,this[_0x1554d3(0x36b)],void 0x0);}throw _0x283ea4[_0x1554d3(0x406)];}throw _0x5a8f9e[_0x1554d3(0x406)];}catch(_0x4f7e38){return this['_logService'][_0x1554d3(0x406)](_0x4f7e38),this[_0x1554d3(0x5aa)](!0x1);}}[_0x139045(0x4d2)](_0x5f1536){const _0x436637=_0x139045;if(this[_0x436637(0x2e4)](),this['_checkMissing'](_0x5f1536))return this['_injector'][_0x436637(0x3f4)](_0x4a721f,this[_0x436637(0x4ee)],this[_0x436637(0x3e2)],null,this['_pendingMutations'],this[_0x436637(0x3f3)],[],this[_0x436637(0x36b)]);this[_0x436637(0x447)]();const _0x4e0d14=this['_injector'][_0x436637(0x3f4)](_0x10407b,this[_0x436637(0x4ee)],this[_0x436637(0x3e2)],this[_0x436637(0x46f)],this[_0x436637(0x36b)]);return _0x4e0d14[_0x436637(0x32d)](),_0x4e0d14['_updateLocalCache'](),_0x4e0d14;}[_0x139045(0x3fa)](_0x1ac1c7){const _0x5b7fbd=_0x139045;return this[_0x5b7fbd(0x5aa)](!!(_0x1ac1c7!=null&&_0x1ac1c7[_0x5b7fbd(0x417)]));}[_0x139045(0x2ee)](_0x180391){const _0x3c82da=_0x139045;return this[_0x3c82da(0x3b7)]>_0x5283c4?this[_0x3c82da(0x4f9)]():(this[_0x3c82da(0x5b0)]=_0x336fbb(this['_resendTimeout'],{'timeout':this[_0x3c82da(0x3b7)],'reqId':_0x180391[_0x3c82da(0x334)]}),this['_sender']=this[_0x3c82da(0x5b0)][_0x3c82da(0x519)](({reqId:_0x542b6d,timeout:_0x550133})=>{this['_resendWithTimeout'](_0x542b6d,_0x550133);}),this);}[_0x139045(0x4f9)](){const _0xfa064c=_0x139045;return this[_0xfa064c(0x2e4)](),this[_0xfa064c(0x43f)][_0xfa064c(0x3f4)](_0x2c1947,this[_0xfa064c(0x4ee)],this[_0xfa064c(0x3e2)],this[_0xfa064c(0x3f3)],this[_0xfa064c(0x46f)],this[_0xfa064c(0x36b)]);}['toggleOnline'](){return this;}['resend'](){const _0x47f104=_0x139045;this[_0x47f104(0x36b)][_0x47f104(0x1f0)](this[_0x47f104(0x3f3)]);}[_0x139045(0x5aa)](_0x491d31){const _0x1c3706=_0x139045;return this['_clearScheduledTask'](),this[_0x1c3706(0x43f)][_0x1c3706(0x3f4)](_0x1b145a,this[_0x1c3706(0x4ee)],this[_0x1c3706(0x3e2)],null,this[_0x1c3706(0x46f)],this[_0x1c3706(0x36b)],_0x491d31);}['_resendWithTimeout'](_0x247ff8,_0x223fdb){const _0x1ac352=_0x139045;var _0x59864f;_0x247ff8===((_0x59864f=this[_0x1ac352(0x3f3)])==null?void 0x0:_0x59864f[_0x1ac352(0x334)])&&(this[_0x1ac352(0x610)](),this[_0x1ac352(0x3b7)]=_0x223fdb===0x0?0x3e8:_0x223fdb*0x2);}['_clearScheduledTask'](){const _0x423181=_0x139045;var _0x14164f;(_0x14164f=this[_0x423181(0x569)])==null||_0x14164f['unsubscribe'](),this['_resendTimeout']=0x0;}};_0x1a7cc4=_0x4e2ae5([_0x5a1a66(0x6,_0x170db9[_0x139045(0x283)](_0x170db9['Injector'])),_0x5a1a66(0x7,_0x170db9[_0x139045(0x283)](_0x294b4b[_0x139045(0x32e)])),_0x5a1a66(0x8,_0x170db9[_0x139045(0x283)](_0x2ebd39[_0x139045(0x477)])),_0x5a1a66(0x9,_0x170db9['ICommandService']),_0x5a1a66(0xa,_0x170db9[_0x139045(0x686)]),_0x5a1a66(0xb,_0x294b4b[_0x139045(0x363)]),_0x5a1a66(0xc,_0x170db9[_0x139045(0x3c1)])],_0x1a7cc4);let _0x1b145a=class extends _0x1a6bf6{constructor(_0x30d759,_0x382a79,_0x47fd49,_0x4edc9d,_0x432c98,_0x928e7f=!0x1,_0x2db98a,_0x19acea,_0x52a455,_0x41ecfe,_0x8eb56c,_0x2bf442,_0x529679){const _0x10ec16=_0x139045;super(_0x30d759,_0x382a79,_0x47fd49,_0x4edc9d,_0x432c98,_0x19acea,_0x52a455,_0x8eb56c,_0x41ecfe),_0xee5085(this,_0x10ec16(0x5f4),'conflict'),(this['_isPermissionRej']=_0x928e7f,this['_permissionService']=_0x2db98a,this[_0x10ec16(0x630)]=_0x2bf442,this[_0x10ec16(0x59f)]=_0x529679,this[_0x10ec16(0x4d8)](),this[_0x10ec16(0x41b)](),this['_disableEditing']());}[_0x139045(0x50c)](){return this;}['onRemoteChangeset'](){return this;}[_0x139045(0x4d2)](){return this;}[_0x139045(0x3fa)](){return this;}[_0x139045(0x2ee)](){return this;}[_0x139045(0x4f9)](){return this;}[_0x139045(0x332)](){return this;}[_0x139045(0x610)](){const _0x4f4260=_0x139045;throw new Error(_0x4f4260(0x20a));}[_0x139045(0x41b)](){const _0x518786=_0x139045;this[_0x518786(0x2f2)][_0x518786(0x514)](this['unitID'],this[_0x518786(0x3e2)],null,[]);}['_showConflictNotification'](){const _0x18c5f3=_0x139045;this[_0x18c5f3(0x374)]?this[_0x18c5f3(0x59f)][_0x18c5f3(0x4ef)]({'title':this['_localeService']['t'](_0x18c5f3(0x57c)),'content':this['_localeService']['t'](_0x18c5f3(0x38e)),'type':'error','duration':0x0}):this[_0x18c5f3(0x59f)][_0x18c5f3(0x4ef)]({'title':this[_0x18c5f3(0x630)]['t'](_0x18c5f3(0x4cb)),'content':this[_0x18c5f3(0x630)]['t'](_0x18c5f3(0x222)),'type':_0x18c5f3(0x406),'duration':0x0});}['_disableEditing'](){const _0x14d876=_0x139045;this[_0x14d876(0x42a)][_0x14d876(0x68d)](new _0x292e35[(_0x14d876(0x2fd))](this[_0x14d876(0x4ee)])['id'],!0x1);}};_0x1b145a=_0x4e2ae5([_0x5a1a66(0x6,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x30a)])),_0x5a1a66(0x7,_0x170db9[_0x139045(0x301)]),_0x5a1a66(0x8,_0x170db9[_0x139045(0x3c1)]),_0x5a1a66(0x9,_0x170db9['Inject'](_0x2ebd39[_0x139045(0x477)])),_0x5a1a66(0xa,_0x170db9['Inject'](_0x294b4b[_0x139045(0x32e)])),_0x5a1a66(0xb,_0x170db9['Inject'](_0x170db9[_0x139045(0x2bc)])),_0x5a1a66(0xc,_0x332830[_0x139045(0x3cc)])],_0x1b145a);let _0x2c1947=class extends _0x1a6bf6{constructor(_0x20ba75,_0x30ee7b,_0xb674ae,_0x1b73cd,_0x5a33e6,_0x573171,_0x5bc65f,_0x38b302,_0x59dbc8,_0x52b33b){const _0x4c64b1=_0x139045;super(_0x20ba75,_0x30ee7b,_0xb674ae,_0x1b73cd,_0x5a33e6,_0x59dbc8,_0x52b33b,_0x5bc65f,_0x38b302),_0xee5085(this,_0x4c64b1(0x5f4),_0x4c64b1(0x272)),this['_injector']=_0x573171;}[_0x139045(0x50c)](_0x16c757){const _0x9dd633=_0x139045;return this['_pendingMutations']['push'](_0x16c757),this[_0x9dd633(0x614)](),this;}[_0x139045(0x487)](_0x20b0af){const _0x44fa29=_0x139045;throw new Error(_0x44fa29(0x6af));}[_0x139045(0x4d2)](){const _0x48ada8=_0x139045;throw new Error(_0x48ada8(0x679));}[_0x139045(0x3fa)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x139045(0x2ee)](){return this;}[_0x139045(0x4f9)](){return this;}[_0x139045(0x332)](){const _0x167aa7=_0x139045,{_injector:_0x1dddfb,_pendingMutations:_0x5cd4a7,_awaitingChangeset:_0x2d9bde,unitID:_0x4bad3e,_handler:_0x35c4e5,type:_0x12449e}=this,_0x33703d=_0x11c69c(_0x1dddfb,_0x4bad3e,_0x12449e,_0x2d9bde,_0x5cd4a7,_0x35c4e5);return _0x33703d instanceof _0x10407b?_0x33703d[_0x167aa7(0x32d)]():(_0x33703d instanceof _0x1a7cc4||_0x33703d instanceof _0x2da86e)&&_0x33703d[_0x167aa7(0x610)](),_0x33703d;}[_0x139045(0x610)](){const _0x11a825=_0x139045;throw new Error(_0x11a825(0x47e));}};_0x2c1947=_0x4e2ae5([_0x5a1a66(0x5,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x667)])),_0x5a1a66(0x6,_0x170db9[_0x139045(0x283)](_0x294b4b[_0x139045(0x32e)])),_0x5a1a66(0x7,_0x170db9[_0x139045(0x283)](_0x2ebd39[_0x139045(0x477)])),_0x5a1a66(0x8,_0x170db9['ICommandService']),_0x5a1a66(0x9,_0x170db9['IUndoRedoService'])],_0x2c1947);let _0x4a721f=class extends _0x1a6bf6{constructor(_0x39ae7b,_0x3c1545,_0x63b0cc,_0x49d208,_0x3a1b78,_0x48ff36,_0x5a3937,_0x38186c,_0x3c3862,_0x5f3e8c,_0x234486,_0x385eeb,_0x2d1e44,_0x16a0a2){const _0xf5046=_0x139045;super(_0x39ae7b,_0x3c1545,_0x63b0cc,_0x49d208,_0x5a3937,_0x385eeb,_0x2d1e44,_0x3c3862,_0x5f3e8c),_0xee5085(this,_0xf5046(0x5f4),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x3a1b78,this[_0xf5046(0x391)]=_0x48ff36,this[_0xf5046(0x43f)]=_0x38186c,this[_0xf5046(0x5b4)]=_0x234486,this[_0xf5046(0x205)]=_0x16a0a2);}[_0x139045(0x3e9)](_0x1bd9d5){const _0x31549a=_0x139045;try{const _0x197086=[..._0x1bd9d5,...this[_0x31549a(0x391)]],_0x520cab=[this[_0x31549a(0x3f3)]||this[_0x31549a(0x3ac)]][_0x31549a(0x296)](_0x241c5c=>!!_0x241c5c);let _0x34f9fd,_0x594c4c;if(_0x520cab[_0x31549a(0x62b)]){const _0x240dbe=this[_0x31549a(0x205)][_0x31549a(0x4bb)](_0x197086,_0x520cab,!0x1);if(!_0x294b4b['isTransformChangesetsSuccess'](_0x240dbe))throw _0x240dbe[_0x31549a(0x406)];_0x34f9fd=_0x240dbe['c1Prime'],_0x594c4c=_0x240dbe['c2Prime'];}else _0x34f9fd=_0x197086,_0x594c4c=[];let _0x4bbd96=this['_pendingMutations'];_0x34f9fd[_0x31549a(0x67e)](_0x77cd15=>{const _0x1b9ba8=_0x31549a;let _0x2853f6;if(_0x4bbd96[_0x1b9ba8(0x62b)]){const _0x3bee66=this['_transformService']['transformMutationsWithChangeset'](_0x77cd15,_0x4bbd96);if(!_0x294b4b[_0x1b9ba8(0x5e3)](_0x3bee66))throw _0x3bee66[_0x1b9ba8(0x406)];_0x2853f6=_0x3bee66['c1Prime'],_0x4bbd96=_0x3bee66[_0x1b9ba8(0x5c3)];}else _0x2853f6=_0x77cd15;this[_0x1b9ba8(0x2ba)](_0x2853f6);}),this[_0x31549a(0x3ac)]&&this[_0x31549a(0x447)](),this['_awaitingChangeset']&&_0x594c4c[_0x31549a(0x62b)]&&(_0x594c4c[0x0][_0x31549a(0x61e)]=this[_0x31549a(0x521)]());let _0xef212f;if(this[_0x31549a(0x3f3)]&&_0x4bbd96[_0x31549a(0x62b)]!==0x0)_0xef212f=this[_0x31549a(0x43f)]['createInstance'](_0x1a7cc4,this['unitID'],this[_0x31549a(0x3e2)],_0x594c4c[0x0],_0x4bbd96,this['_handler'],void 0x0);else{if(this[_0x31549a(0x3f3)]&&_0x4bbd96[_0x31549a(0x62b)]===0x0)_0x594c4c[0x0][_0x31549a(0x61e)]=this['_getCurrentRevision'](),_0xef212f=this[_0x31549a(0x43f)][_0x31549a(0x3f4)](_0x2da86e,this[_0x31549a(0x4ee)],this[_0x31549a(0x3e2)],_0x594c4c[0x0],this[_0x31549a(0x36b)]);else{if(_0x4bbd96[_0x31549a(0x62b)]!==0x0){const _0x422220=this[_0x31549a(0x43f)][_0x31549a(0x3f4)](_0x10407b,this[_0x31549a(0x4ee)],this['type'],_0x4bbd96,this[_0x31549a(0x36b)]);_0x422220[_0x31549a(0x32d)](),_0xef212f=_0x422220;}else _0xef212f=this['_injector'][_0x31549a(0x3f4)](_0x2e5403,this[_0x31549a(0x4ee)],this[_0x31549a(0x3e2)],this[_0x31549a(0x36b)]);}}return _0xef212f[_0x31549a(0x614)](),_0xef212f;}catch(_0xd94f6c){return this[_0x31549a(0x5b4)][_0x31549a(0x406)]('[FetchMissState]',_0x31549a(0x2f1),_0xd94f6c),this[_0x31549a(0x43f)][_0x31549a(0x3f4)](_0x1b145a,this[_0x31549a(0x4ee)],this[_0x31549a(0x3e2)],this[_0x31549a(0x3f3)],this[_0x31549a(0x46f)],this[_0x31549a(0x36b)],!0x1);}}['resend'](){const _0x4595e6=_0x139045;throw new Error(_0x4595e6(0x2dc));}[_0x139045(0x50c)](_0x57b250){const _0xbd9c63=_0x139045;return this[_0xbd9c63(0x46f)]['push'](_0x57b250),this;}[_0x139045(0x487)](_0x306f41){const _0x12db50=_0x139045;return this[_0x12db50(0x391)][_0x12db50(0x2fc)](_0x306f41),this;}[_0x139045(0x4d2)](_0x356581){const _0x1f0a79=_0x139045;if(this[_0x1f0a79(0x3f3)])return this[_0x1f0a79(0x3ac)]=this[_0x1f0a79(0x3f3)],this['_awaitingChangeset']=null,this;throw new Error(_0x1f0a79(0x629));}[_0x139045(0x3fa)](_0x472698){const _0x26d8e2=_0x139045;return this[_0x26d8e2(0x5aa)](!!(_0x472698!=null&&_0x472698[_0x26d8e2(0x417)]));}[_0x139045(0x2ee)](){return this;}[_0x139045(0x4f9)](){const _0x20f161=_0x139045;return this[_0x20f161(0x43f)][_0x20f161(0x3f4)](_0x2c1947,this[_0x20f161(0x4ee)],this[_0x20f161(0x3e2)],this[_0x20f161(0x3f3)],this[_0x20f161(0x46f)],this[_0x20f161(0x36b)]);}[_0x139045(0x332)](){return this;}[_0x139045(0x5aa)](_0x52e97b){const _0xffc803=_0x139045;return this[_0xffc803(0x43f)][_0xffc803(0x3f4)](_0x1b145a,this[_0xffc803(0x4ee)],this[_0xffc803(0x3e2)],this[_0xffc803(0x3f3)],this['_pendingMutations'],this[_0xffc803(0x36b)],_0x52e97b);}};_0x4a721f=_0x4e2ae5([_0x5a1a66(0x7,_0x170db9[_0x139045(0x283)](_0x170db9['Injector'])),_0x5a1a66(0x8,_0x170db9[_0x139045(0x283)](_0x294b4b[_0x139045(0x32e)])),_0x5a1a66(0x9,_0x170db9[_0x139045(0x283)](_0x2ebd39['LocalCacheService'])),_0x5a1a66(0xa,_0x170db9[_0x139045(0x686)]),_0x5a1a66(0xb,_0x170db9[_0x139045(0x301)]),_0x5a1a66(0xc,_0x170db9[_0x139045(0x3c1)]),_0x5a1a66(0xd,_0x294b4b['ITransformService'])],_0x4a721f);function _0x11c69c(_0x37dc87,_0xd614e5,_0xf533e9,_0x41bc17,_0x1e62d4,_0x568ccc){const _0x24b184=_0x139045;return _0x41bc17&&_0x1e62d4['length']?_0x37dc87[_0x24b184(0x3f4)](_0x1a7cc4,_0xd614e5,_0xf533e9,_0x41bc17,_0x1e62d4,_0x568ccc,void 0x0):_0x41bc17?_0x37dc87['createInstance'](_0x2da86e,_0xd614e5,_0xf533e9,_0x41bc17,_0x568ccc):_0x1e62d4[_0x24b184(0x62b)]?_0x37dc87['createInstance'](_0x10407b,_0xd614e5,_0xf533e9,_0x1e62d4,_0x568ccc):_0x37dc87['createInstance'](_0x2e5403,_0xd614e5,_0xf533e9,_0x568ccc);}var _0x16f419=Object['defineProperty'],_0x3a8440=Object[_0x139045(0x264)],_0xbb6082=(_0x266f5b,_0xaff379,_0x222713,_0x3399f5)=>{for(var _0x17130a=_0x3399f5>0x1?void 0x0:_0x3399f5?_0x3a8440(_0xaff379,_0x222713):_0xaff379,_0x553abc=_0x266f5b['length']-0x1,_0x47219b;_0x553abc>=0x0;_0x553abc--)(_0x47219b=_0x266f5b[_0x553abc])&&(_0x17130a=(_0x3399f5?_0x47219b(_0xaff379,_0x222713,_0x17130a):_0x47219b(_0x17130a))||_0x17130a);return _0x3399f5&&_0x17130a&&_0x16f419(_0xaff379,_0x222713,_0x17130a),_0x17130a;},_0x40b905=(_0x4ccce0,_0x68560c)=>(_0x5754e6,_0x5c7711)=>_0x68560c(_0x5754e6,_0x5c7711,_0x4ccce0);_0x2ebd39['CollaborationEntity']=class extends _0x170db9[_0x139045(0x436)]{constructor(_0x201663,_0x1f1906,_0x1ff496,_0x4acad6,_0x19dc3c,_0x431d08,_0x22592d,_0x59d75c,_0x4d30aa,_0x4c54f7,_0xcb9a32,_0x3db61c,_0x99b9dd){const _0x88ff92=_0x139045;super(),_0xee5085(this,_0x88ff92(0x68c),new _0x145930[(_0x88ff92(0x58b))](null)),_0xee5085(this,_0x88ff92(0x463),this['_state$'][_0x88ff92(0x232)]()),_0xee5085(this,'_state'),_0xee5085(this,_0x88ff92(0x45f),!0x1),_0xee5085(this,_0x88ff92(0x4c5),''),_0xee5085(this,_0x88ff92(0x433),0x0),_0xee5085(this,_0x88ff92(0x645),this[_0x88ff92(0x463)][_0x88ff92(0x640)](_0x145930[_0x88ff92(0x33a)](_0xc9758f=>_0xc9758f?_0xc9758f['status']:_0xd10e72[_0x88ff92(0x21d)]),_0x145930[_0x88ff92(0x4e3)](0x1))),_0xee5085(this,_0x88ff92(0x5ae),!0x1),_0xee5085(this,'_remoteChangesetQueue',[]),(this[_0x88ff92(0x4ee)]=_0x201663,this[_0x88ff92(0x5bf)]=_0x1f1906,this[_0x88ff92(0x2b8)]=_0x1ff496,this[_0x88ff92(0x43f)]=_0x4acad6,this['_localCacheService']=_0x19dc3c,this['_compressMutationService']=_0x431d08,this[_0x88ff92(0x630)]=_0x22592d,this['_revisionService']=_0x59d75c,this['_logService']=_0x4d30aa,this[_0x88ff92(0x1fb)]=_0x4c54f7,this[_0x88ff92(0x24b)]=_0xcb9a32,this[_0x88ff92(0x42a)]=_0x3db61c,this[_0x88ff92(0x5a2)]=_0x99b9dd);}get['state'](){return this['_state'];}async[_0x139045(0x4a1)](){const _0x46c3e5=_0x139045;if(this['state'])throw new Error(_0x46c3e5(0x594));await this[_0x46c3e5(0x6b9)]();}[_0x139045(0x262)](){const _0x4f0333=_0x139045;return this['_collaborationPaused']=!0x0,_0x170db9[_0x4f0333(0x3f0)](()=>{const _0x501531=_0x4f0333;this[_0x501531(0x45f)]=!0x1,this[_0x501531(0x392)]();});}[_0x139045(0x556)](_0x5b7a02){const _0x33c13b=_0x139045;this[_0x33c13b(0x6b7)]=_0x5b7a02,this[_0x33c13b(0x68c)]['next'](_0x5b7a02);}async[_0x139045(0x6b9)](){const _0x52a44c=_0x139045;var _0x559882;this['_updateState'](await this[_0x52a44c(0x333)]()),this[_0x52a44c(0x5a2)]&&((_0x559882=this[_0x52a44c(0x5a2)])==null||_0x559882[_0x52a44c(0x3b0)](this[_0x52a44c(0x4ee)]),this[_0x52a44c(0x32f)](this[_0x52a44c(0x5a2)][_0x52a44c(0x233)](this[_0x52a44c(0x4ee)])[_0x52a44c(0x519)](_0x13a72a=>{const _0x282b4b=_0x52a44c;this[_0x282b4b(0x5b4)][_0x282b4b(0x4e1)](_0x282b4b(0x673),_0x282b4b(0x4e4),_0x13a72a),_0x13a72a===_0x3cc845[_0x282b4b(0x670)]?(this['_messageService'][_0x282b4b(0x4ef)]({'content':this[_0x282b4b(0x630)]['t'](_0x282b4b(0x644)),'type':_0x3e1273[_0x282b4b(0x3ae)][_0x282b4b(0x5fa)]}),this[_0x282b4b(0x42a)][_0x282b4b(0x68d)](new _0x292e35[(_0x282b4b(0x2fd))](this[_0x282b4b(0x4ee)])['id'],!0x1),this[_0x282b4b(0x42a)][_0x282b4b(0x5cb)](!0x1)):(this[_0x282b4b(0x42a)][_0x282b4b(0x68d)](new _0x292e35[(_0x282b4b(0x2fd))](this['unitID'])['id'],!0x0),this[_0x282b4b(0x42a)][_0x282b4b(0x5cb)](!0x0));})));let _0x177cab=!0x1;return this[_0x52a44c(0x32f)](this[_0x52a44c(0x5bf)][_0x52a44c(0x26a)][_0x52a44c(0x519)](_0x712918=>{const _0xadbffc=_0x52a44c;_0x712918===_0x3e6c83[_0xadbffc(0x401)]?this['_toggleOnline'](_0x177cab):_0x712918===_0x3e6c83[_0xadbffc(0x21d)]&&(_0x177cab=!0x0,this[_0xadbffc(0x4d1)]());})),this[_0x52a44c(0x32f)](this[_0x52a44c(0x5bf)][_0x52a44c(0x2b6)][_0x52a44c(0x519)](_0x29fe0a=>{const _0x549626=_0x52a44c;try{switch(_0x29fe0a[_0x549626(0x258)]){case _0x294b4b[_0x549626(0x3af)][_0x549626(0x48d)]:{this[_0x549626(0x622)](_0x294b4b[_0x549626(0x47f)](_0x29fe0a[_0x549626(0x3a4)]));break;}case _0x294b4b[_0x549626(0x3af)][_0x549626(0x284)]:{this[_0x549626(0x55c)](_0x29fe0a[_0x549626(0x3a4)]);break;}case _0x294b4b[_0x549626(0x3af)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x294b4b[_0x549626(0x3af)][_0x549626(0x631)]:{this[_0x549626(0x546)](_0x29fe0a['data']);break;}case _0x294b4b['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x549626(0x24c)](_0x29fe0a['data'][_0x549626(0x50e)][_0x549626(0x33a)](_0xadb344=>_0x294b4b[_0x549626(0x47f)](_0xadb344)));break;}case _0x294b4b[_0x549626(0x3af)][_0x549626(0x62a)]:this[_0x549626(0x3ca)]({'isPermissionRej':!0x0});}}catch(_0x34f4bb){throw console[_0x549626(0x406)]('Error\x20on\x20receiving\x20event',_0x34f4bb),_0x34f4bb;}})),this[_0x52a44c(0x6b7)];}['_unlockTransition'](){const _0x51818e=_0x139045;this[_0x51818e(0x5ae)]=!0x1;}[_0x139045(0x255)](){const _0xd287b6=_0x139045;if(this[_0xd287b6(0x5ae)])throw new Error(_0xd287b6(0x453));this[_0xd287b6(0x5ae)]=!0x0;}[_0x139045(0x55a)](_0x1c3c94){const _0x28386f=_0x139045;this[_0x28386f(0x255)](),this[_0x28386f(0x556)](this['_state']['appendMutation'](_0x1c3c94)),this['_unlockTransition']();}[_0x139045(0x622)](_0x3cd521){const _0x193aa4=_0x139045;if(!(_0x3cd521[_0x193aa4(0x6b1)]<=this[_0x193aa4(0x4d4)]['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x193aa4(0x45f)]){this['_remoteChangesetQueue'][_0x193aa4(0x2fc)](_0x3cd521);return;}this[_0x193aa4(0x2a9)](_0x3cd521);}}[_0x139045(0x392)](){const _0x2d411c=_0x139045;this[_0x2d411c(0x359)]['forEach'](_0x2c35d4=>this[_0x2d411c(0x2a9)](_0x2c35d4)),this[_0x2d411c(0x359)]=[];}[_0x139045(0x2a9)](_0x3fb698){const _0x2c9d86=_0x139045,_0x4175c8=this[_0x2c9d86(0x30b)][_0x2c9d86(0x500)]['fetchThroughInterceptors'](this[_0x2c9d86(0x30b)][_0x2c9d86(0x500)]['getInterceptPoints']()[_0x2c9d86(0x616)])(_0x3fb698[_0x2c9d86(0x29f)],null)||_0x3fb698[_0x2c9d86(0x29f)],_0x3859d6={..._0x3fb698,'mutations':_0x4175c8};this[_0x2c9d86(0x255)](),this[_0x2c9d86(0x556)](this['_state']['onRemoteChangeset'](_0x3859d6)),this['_unlockTransition']();}[_0x139045(0x55c)](_0x4b06b4){const _0x33c92c=_0x139045;this['_lockTransition'](),this['_updateState'](this[_0x33c92c(0x6b7)]['onRemoteAck'](_0x4b06b4)),this['_unlockTransition']();}['_onRemoteRejected'](_0x3676cc){const _0x13e0fe=_0x139045;this['_lockTransition'](),this[_0x13e0fe(0x556)](this[_0x13e0fe(0x6b7)][_0x13e0fe(0x3fa)](_0x3676cc)),this[_0x13e0fe(0x45c)]();}[_0x139045(0x546)](_0x25b399){const _0x29e8a5=_0x139045;this[_0x29e8a5(0x255)](),this['_updateState'](this['_state'][_0x29e8a5(0x2ee)](_0x25b399)),this[_0x29e8a5(0x45c)]();}[_0x139045(0x24c)](_0x5d5cbd){const _0x2b3d77=_0x139045;if(!(this[_0x2b3d77(0x6b7)]instanceof _0x4a721f))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x24c0c6=_0x5d5cbd[_0x2b3d77(0x33a)](_0x365792=>{const _0xeea4f8=_0x2b3d77,_0x2d1f68=this['_compressMutationService'][_0xeea4f8(0x500)][_0xeea4f8(0x2c7)](this[_0xeea4f8(0x30b)][_0xeea4f8(0x500)][_0xeea4f8(0x27b)]()[_0xeea4f8(0x616)])(_0x365792[_0xeea4f8(0x29f)],null)||_0x365792[_0xeea4f8(0x29f)];return{..._0x365792,'mutations':_0x2d1f68};});this[_0x2b3d77(0x255)](),this['_updateState'](this['_state'][_0x2b3d77(0x3e9)](_0x24c0c6)),this['_unlockTransition']();}[_0x139045(0x4d1)](){const _0x5c3cf7=_0x139045;this[_0x5c3cf7(0x255)](),this['_updateState'](this['_state']['toggleOffline']()),this[_0x5c3cf7(0x45c)]();}[_0x139045(0x236)](_0x3758cb=!0x1){const _0x3b2f31=_0x139045;this['_lockTransition'](),this[_0x3b2f31(0x556)](this[_0x3b2f31(0x6b7)]['toggleOnline']()),this[_0x3b2f31(0x45c)]();const _0x5a97fc=this['_state'];_0x3758cb&&_0x5a97fc instanceof _0x2e5403&&(this[_0x3b2f31(0x255)](),this[_0x3b2f31(0x556)](_0x5a97fc['fetchMiss']()),this[_0x3b2f31(0x45c)]());}async['_createInitialState'](){return new Promise(_0x296aa8=>{const _0x29b9f1=_0x10db;this['session'][_0x29b9f1(0x26a)][_0x29b9f1(0x640)](_0x145930[_0x29b9f1(0x207)](0x1))[_0x29b9f1(0x519)](async _0x142c5e=>{const _0x13a2e0=_0x29b9f1;_0x296aa8(await this[_0x13a2e0(0x588)](_0x142c5e===_0x3e6c83[_0x13a2e0(0x401)]));});});}['_createHandler'](){const _0x556b4d=_0x139045,_0x11c0f0=this[_0x556b4d(0x4ee)];return{'onStateChange':(_0x294dc4,_0x21ee12)=>{const _0x19be29=_0x556b4d;if(_0x294dc4!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x294dc4[_0x19be29(0x5f4)]+'\x0aAfter:\x20'+_0x21ee12[_0x19be29(0x5f4)]+_0x19be29(0x5a9)+this[_0x19be29(0x6b7)][_0x19be29(0x5f4)]);this['_updateState'](_0x21ee12);},'onSendChangeset':_0x47f906=>{const _0x7f0311=_0x556b4d;_0x47f906[_0x7f0311(0x4ba)]||(_0x47f906['sid']=this[_0x7f0311(0x4c5)],_0x47f906['reqId']=++this[_0x7f0311(0x433)]);const _0x1dfa95={'eventID':_0x294b4b[_0x7f0311(0x3af)][_0x7f0311(0x46e)],'data':{'unitID':_0x47f906[_0x7f0311(0x4ee)],'unitType':this[_0x7f0311(0x2b8)],'changeset':_0x47f906,'memberID':this[_0x7f0311(0x5bf)]['getMemberID']()}};this[_0x7f0311(0x5bf)][_0x7f0311(0x53e)](_0x1dfa95,this[_0x7f0311(0x4ee)]);},'onMissingChangesets':({from:_0x1f4471,to:_0x2b37f4})=>{const _0x59d091=_0x556b4d;this['_logService']['debug']('[CollaborationEntity]',_0x59d091(0x4db)+_0x1f4471+_0x59d091(0x3b3)+_0x2b37f4);const _0x504758={'eventID':_0x294b4b[_0x59d091(0x3af)]['FETCH_MISSING'],'data':{'unitID':_0x11c0f0,'unitType':this[_0x59d091(0x2b8)],'from':_0x1f4471,'to':_0x2b37f4}};this[_0x59d091(0x5bf)][_0x59d091(0x53e)](_0x504758,this[_0x59d091(0x4ee)]);}};}async[_0x139045(0x588)](_0x4aec26){const _0x205951=_0x139045;var _0x328de2,_0x464f1d;const _0x3fac10=await this[_0x205951(0x2f2)][_0x205951(0x3e0)](this[_0x205951(0x4ee)]),_0x1d33e1=(_0x328de2=_0x3fac10==null?void 0x0:_0x3fac10[_0x205951(0x29f)])!=null?_0x328de2:[],_0x3fd251=(_0x464f1d=_0x3fac10==null?void 0x0:_0x3fac10['awaitingChangeset'])!=null?_0x464f1d:null,_0x44a78f=!!(_0x3fd251!=null&&_0x3fd251[_0x205951(0x4ba)])&&!!(_0x3fd251!=null&&_0x3fd251[_0x205951(0x334)]);this['_changesetSessionId']=_0x44a78f?_0x3fd251[_0x205951(0x4ba)]:_0x3e229c(),this[_0x205951(0x433)]=_0x44a78f?_0x3fd251[_0x205951(0x334)]:0x0;const _0x2a2ffa=this[_0x205951(0x4ee)];try{this[_0x205951(0x308)](_0x3fd251,_0x1d33e1);}catch(_0x4b69e0){this[_0x205951(0x5b4)][_0x205951(0x406)](_0x4b69e0);}const _0x356a87=this['_createHandler']();if(_0x4aec26){const _0x1e40a8=_0x11c69c(this[_0x205951(0x43f)],_0x2a2ffa,this[_0x205951(0x2b8)],_0x3fd251,_0x1d33e1,_0x356a87);return _0x1e40a8 instanceof _0x10407b?_0x1e40a8['_schedule']():(_0x1e40a8 instanceof _0x1a7cc4||_0x1e40a8 instanceof _0x2da86e)&&_0x1e40a8[_0x205951(0x610)](),_0x1e40a8;}return this[_0x205951(0x43f)]['createInstance'](_0x2c1947,_0x2a2ffa,this['_type'],_0x3fd251,_0x1d33e1,_0x356a87);}[_0x139045(0x308)](_0xd3895f,_0x3383d3){const _0x42a5e1=_0x139045;var _0x565f3c,_0x27fa95;const _0x4f3c52=this[_0x42a5e1(0x30b)][_0x42a5e1(0x500)]['fetchThroughInterceptors'](this[_0x42a5e1(0x30b)][_0x42a5e1(0x500)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x565f3c=_0x4f3c52((_0xd3895f==null?void 0x0:_0xd3895f[_0x42a5e1(0x29f)])||[],null))==null||_0x565f3c[_0x42a5e1(0x67e)](_0x48c929=>this[_0x42a5e1(0x1fb)][_0x42a5e1(0x3c3)](_0x48c929['id'],_0x48c929[_0x42a5e1(0x674)])),(_0x27fa95=_0x4f3c52(_0x3383d3||[],null))==null||_0x27fa95[_0x42a5e1(0x67e)](_0xa6099e=>this[_0x42a5e1(0x1fb)][_0x42a5e1(0x3c3)](_0xa6099e['id'],_0xa6099e[_0x42a5e1(0x674)]));}},_0x2ebd39['CollaborationEntity']=_0xbb6082([_0x40b905(0x3,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x667)])),_0x40b905(0x4,_0x170db9[_0x139045(0x283)](_0x2ebd39[_0x139045(0x477)])),_0x40b905(0x5,_0x170db9[_0x139045(0x283)](_0x294b4b[_0x139045(0x46d)])),_0x40b905(0x6,_0x170db9[_0x139045(0x283)](_0x170db9['LocaleService'])),_0x40b905(0x7,_0x170db9['Inject'](_0x294b4b['RevisionService'])),_0x40b905(0x8,_0x170db9[_0x139045(0x686)]),_0x40b905(0x9,_0x170db9[_0x139045(0x301)]),_0x40b905(0xa,_0x332830[_0x139045(0x37a)]),_0x40b905(0xb,_0x170db9[_0x139045(0x30a)]),_0x40b905(0xc,_0x170db9[_0x139045(0x635)](_0x2410a4))],_0x2ebd39['CollaborationEntity']),_0x2ebd39['DocCollaborationEntity']=class extends _0x2ebd39[_0x139045(0x4a7)]{constructor(_0x181277,_0x34bc03,_0x12cb3e,_0x59206b,_0x81ee23,_0x49870d,_0x3aeddb,_0x112d99,_0x2ac291,_0x37dd3b,_0x2e58db,_0x2cd054,_0x19e6b9,_0x2e45fd,_0x1f18ab,_0x29c80c,_0x12c0bb,_0xe780d5){const _0x85a719=_0x139045;super(_0x181277,_0x12cb3e,_0x34bc03,_0x59206b,_0x81ee23,_0x49870d,_0x3aeddb,_0x112d99,_0x2e45fd,_0x1f18ab,_0x29c80c,_0x12c0bb,_0xe780d5),this['unitID']=_0x181277,this[_0x85a719(0x3e2)]=_0x34bc03,this['_docStateChangeManagerService']=_0x2ac291,this['_docTransformIMECacheService']=_0x37dd3b,this[_0x85a719(0x5e1)]=_0x2e58db,this[_0x85a719(0x396)]=_0x2cd054,this[_0x85a719(0x33c)]=_0x19e6b9;}['_createHandler'](){const _0x24ab8c=_0x139045,_0x33b67f=super[_0x24ab8c(0x3f8)]();return _0x33b67f[_0x24ab8c(0x4b0)]=_0x15801e=>this['_docTransformIMECacheService'][_0x24ab8c(0x3fe)](_0x15801e),_0x33b67f['onTransformState']=_0xde34c0=>this[_0x24ab8c(0x5e1)][_0x24ab8c(0x343)](_0xde34c0),_0x33b67f['onTransformSelections']=_0x387594=>this[_0x24ab8c(0x396)]['transformSelections'](_0x387594),_0x33b67f[_0x24ab8c(0x52f)]=_0x467233=>this[_0x24ab8c(0x33c)][_0x24ab8c(0x499)](_0x467233),_0x33b67f[_0x24ab8c(0x4a8)]=_0x5e157d=>this[_0x24ab8c(0x369)][_0x24ab8c(0x2e6)](_0x5e157d),_0x33b67f['onTransformRemoteChangesetByStateCache']=_0x23550a=>this['_docTransformStateCacheService'][_0x24ab8c(0x2e6)](_0x23550a),_0x33b67f;}async[_0x139045(0x6b9)](){const _0x5a020e=_0x139045,_0x4b0f72=await super[_0x5a020e(0x6b9)]();return this['_docStateChangeManagerService'][_0x5a020e(0x226)][_0x5a020e(0x640)](_0x145930[_0x5a020e(0x28b)](this[_0x5a020e(0x67f)]))[_0x5a020e(0x519)](_0x984075=>{const _0x4a12b8=_0x5a020e;if(_0x984075==null)return;const {unitId:_0x2f7ac9,redoState:_0x26e839,commandId:_0xad639f}=_0x984075;if(_0x2f7ac9!==this[_0x4a12b8(0x4ee)])return;const _0x1ec88d={'id':_0xad639f,'type':_0x170db9[_0x4a12b8(0x691)][_0x4a12b8(0x49b)],'params':{'unitId':_0x2f7ac9,'actions':_0x26e839[_0x4a12b8(0x4c3)],'textRanges':null}};this['_onLocalMutation'](_0x1ec88d);}),_0x4b0f72;}},_0x2ebd39[_0x139045(0x62f)]=_0xbb6082([_0x40b905(0x3,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x667)])),_0x40b905(0x4,_0x170db9[_0x139045(0x283)](_0x2ebd39[_0x139045(0x477)])),_0x40b905(0x5,_0x170db9['Inject'](_0x294b4b[_0x139045(0x46d)])),_0x40b905(0x6,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x2bc)])),_0x40b905(0x7,_0x170db9['Inject'](_0x294b4b[_0x139045(0x32e)])),_0x40b905(0x8,_0x170db9[_0x139045(0x283)](_0x5a2d39[_0x139045(0x219)])),_0x40b905(0x9,_0x170db9['Inject'](_0x52392c)),_0x40b905(0xa,_0x170db9[_0x139045(0x283)](_0x374887)),_0x40b905(0xb,_0x170db9['Inject'](_0x5009b3)),_0x40b905(0xc,_0x170db9['Inject'](_0x4a72d6)),_0x40b905(0xd,_0x170db9[_0x139045(0x686)]),_0x40b905(0xe,_0x170db9['ICommandService']),_0x40b905(0xf,_0x332830[_0x139045(0x37a)]),_0x40b905(0x10,_0x170db9[_0x139045(0x30a)]),_0x40b905(0x11,_0x170db9['Optional'](_0x2410a4))],_0x2ebd39[_0x139045(0x62f)]),_0x2ebd39['SheetCollaborationEntity']=class extends _0x2ebd39[_0x139045(0x4a7)]{constructor(_0x8a5363,_0x11c894,_0x33004e,_0x5d0f21,_0x3ad5dc,_0x4c8c51,_0xc4f39a,_0x59a259,_0x1c20a7,_0xf3ace1,_0x4d05b0,_0xa77ee,_0x5a400f,_0x1941e3){const _0x33ee18=_0x139045;super(_0x8a5363,_0x33004e,_0x11c894,_0x5d0f21,_0x3ad5dc,_0x4c8c51,_0xc4f39a,_0x59a259,_0xf3ace1,_0x4d05b0,_0xa77ee,_0x5a400f,_0x1941e3),this['unitID']=_0x8a5363,this[_0x33ee18(0x3e2)]=_0x11c894,this['_sheetTransformSelectionsService']=_0x1c20a7;}['_createHandler'](){const _0x222533=_0x139045,_0x2d6a2a=super[_0x222533(0x3f8)]();return _0x2d6a2a['onTransformSelections']=_0xf2a285=>this['_sheetTransformSelectionsService'][_0x222533(0x5ab)](_0xf2a285),_0x2d6a2a;}async[_0x139045(0x6b9)](){const _0xbbdea5=_0x139045,_0x105f67=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0xbbdea5(0x1f7)]((_0x3ddc89,_0x4bb789)=>{const _0x573721=_0xbbdea5;if(_0x3ddc89[_0x573721(0x3e2)]!==_0x170db9[_0x573721(0x691)]['MUTATION']||_0x4bb789!=null&&_0x4bb789[_0x573721(0x371)]||_0x4bb789!=null&&_0x4bb789['onlyLocal'])return;const _0x17c907=_0x3ddc89[_0x573721(0x674)];if((_0x17c907==null?void 0x0:_0x17c907[_0x573721(0x680)])!==this['unitID'])return;const _0x1b87f2=_0x3ddc89,_0x1e515b=this['_compressMutationService'][_0x573721(0x500)][_0x573721(0x2c7)](this[_0x573721(0x30b)][_0x573721(0x500)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x1b87f2],null)||[_0x1b87f2];this[_0x573721(0x55a)](_0x1e515b[0x0]);})),_0x105f67;}},_0x2ebd39['SheetCollaborationEntity']=_0xbb6082([_0x40b905(0x3,_0x170db9['Inject'](_0x170db9[_0x139045(0x667)])),_0x40b905(0x4,_0x170db9[_0x139045(0x283)](_0x2ebd39['LocalCacheService'])),_0x40b905(0x5,_0x170db9['Inject'](_0x294b4b[_0x139045(0x46d)])),_0x40b905(0x6,_0x170db9['Inject'](_0x170db9[_0x139045(0x2bc)])),_0x40b905(0x7,_0x170db9[_0x139045(0x283)](_0x294b4b[_0x139045(0x32e)])),_0x40b905(0x8,_0x170db9['Inject'](_0x910a13)),_0x40b905(0x9,_0x170db9[_0x139045(0x686)]),_0x40b905(0xa,_0x170db9[_0x139045(0x301)]),_0x40b905(0xb,_0x332830[_0x139045(0x37a)]),_0x40b905(0xc,_0x170db9['IPermissionService']),_0x40b905(0xd,_0x170db9[_0x139045(0x635)](_0x2410a4))],_0x2ebd39['SheetCollaborationEntity']);var _0x291ea9=Object[_0x139045(0x620)],_0x3a97c9=Object['getOwnPropertyDescriptor'],_0x3a78ce=(_0x8470cc,_0x10e86d,_0x315b61,_0x4fe840)=>{const _0x6ae626=_0x139045;for(var _0x13eb14=_0x4fe840>0x1?void 0x0:_0x4fe840?_0x3a97c9(_0x10e86d,_0x315b61):_0x10e86d,_0xa78282=_0x8470cc[_0x6ae626(0x62b)]-0x1,_0x3c9fb8;_0xa78282>=0x0;_0xa78282--)(_0x3c9fb8=_0x8470cc[_0xa78282])&&(_0x13eb14=(_0x4fe840?_0x3c9fb8(_0x10e86d,_0x315b61,_0x13eb14):_0x3c9fb8(_0x13eb14))||_0x13eb14);return _0x4fe840&&_0x13eb14&&_0x291ea9(_0x10e86d,_0x315b61,_0x13eb14),_0x13eb14;},_0x523b02=(_0x16f41d,_0x4be544)=>(_0xd57959,_0x8b5733)=>_0x4be544(_0xd57959,_0x8b5733,_0x16f41d);_0x2ebd39[_0x139045(0x312)]=class extends _0x170db9[_0x139045(0x436)]{constructor(_0x302466,_0xa6c647,_0x1efbc4){const _0x1633aa=_0x139045;super(),_0xee5085(this,_0x1633aa(0x404),new Map()),_0xee5085(this,_0x1633aa(0x28a),new _0x145930[(_0x1633aa(0x3ab))]()),(this[_0x1633aa(0x43f)]=_0x302466,this['_collabSessionService']=_0xa6c647,this['_univerInstanceService']=_0x1efbc4,this[_0x1633aa(0x6b9)]());}[_0x139045(0x33b)](){const _0x408a4a=_0x139045;super[_0x408a4a(0x33b)](),this[_0x408a4a(0x404)][_0x408a4a(0x67e)](_0x15c53f=>_0x15c53f['dispose']()),this['_entities'][_0x408a4a(0x28f)]();}[_0x139045(0x415)](_0x285af3){const _0x54a58f=_0x139045;var _0x38206a;return(_0x38206a=this[_0x54a58f(0x404)][_0x54a58f(0x51c)](_0x285af3))!=null?_0x38206a:null;}[_0x139045(0x2b7)](_0x3cc66b){const _0x579103=_0x139045,_0x2c30f6=this[_0x579103(0x415)](_0x3cc66b);return _0x2c30f6?_0x145930['of'](_0x2c30f6):this[_0x579103(0x28a)][_0x579103(0x640)](_0x34e4e3['filter'](_0x46832a=>_0x46832a[_0x579103(0x4ee)]===_0x3cc66b));}[_0x139045(0x6b9)](){const _0xd0eb4a=_0x139045;this['_univerInstanceService'][_0xd0eb4a(0x4c6)](_0x170db9[_0xd0eb4a(0x320)]['UNIVER_SHEET'])[_0xd0eb4a(0x640)](_0x145930['takeUntil'](this[_0xd0eb4a(0x67f)]),_0x34e4e3[_0xd0eb4a(0x223)](0x10))[_0xd0eb4a(0x519)](async _0x3a09bd=>{const _0x1c2f4a=_0xd0eb4a,_0x3f677f=_0x3a09bd['getUnitId'](),_0x1dac56=await this[_0x1c2f4a(0x318)](_0x3f677f,_0x5950ae[_0x1c2f4a(0x696)]);this[_0x1c2f4a(0x404)][_0x1c2f4a(0x3fd)](_0x3f677f,_0x1dac56);}),this[_0xd0eb4a(0x230)]['getTypeOfUnitAdded$'](_0x170db9[_0xd0eb4a(0x320)][_0xd0eb4a(0x4ca)])['pipe'](_0x145930[_0xd0eb4a(0x28b)](this[_0xd0eb4a(0x67f)]),_0x34e4e3[_0xd0eb4a(0x223)](0x10))[_0xd0eb4a(0x640)](_0x34e4e3[_0xd0eb4a(0x296)](_0x21f42c=>!_0x21f42c[_0xd0eb4a(0x238)]()[_0xd0eb4a(0x364)]('__')))['subscribe'](async _0x2164f3=>{const _0x5eeeed=_0xd0eb4a,_0x475905=_0x2164f3[_0x5eeeed(0x238)](),_0x28c092=await this[_0x5eeeed(0x318)](_0x475905,_0x5950ae[_0x5eeeed(0x4ca)]);this[_0x5eeeed(0x404)][_0x5eeeed(0x3fd)](_0x475905,_0x28c092);}),_0x145930[_0xd0eb4a(0x5ea)](this[_0xd0eb4a(0x230)][_0xd0eb4a(0x600)](_0x170db9[_0xd0eb4a(0x320)][_0xd0eb4a(0x696)]),this[_0xd0eb4a(0x230)][_0xd0eb4a(0x600)](_0x170db9[_0xd0eb4a(0x320)][_0xd0eb4a(0x4ca)]))[_0xd0eb4a(0x640)](_0x145930[_0xd0eb4a(0x28b)](this[_0xd0eb4a(0x67f)]))[_0xd0eb4a(0x519)](_0x1496e9=>{const _0x12c542=_0xd0eb4a,_0x1dc5ca=_0x1496e9[_0x12c542(0x238)](),_0x436813=this[_0x12c542(0x404)][_0x12c542(0x51c)](_0x1dc5ca);_0x436813&&(_0x436813[_0x12c542(0x33b)](),this[_0x12c542(0x404)][_0x12c542(0x5bd)](_0x1dc5ca));});}async['_startCollaboration'](_0x30a5d4,_0x48c58d){const _0x33e99a=_0x139045,_0x26fa87=await this['_collabSessionService'][_0x33e99a(0x2f8)](_0x30a5d4),_0x368a0b=this[_0x33e99a(0x43f)][_0x33e99a(0x3f4)](this['_getCtorByUniverType'](_0x48c58d),_0x30a5d4,_0x48c58d,_0x26fa87);return await _0x368a0b[_0x33e99a(0x4a1)](),this[_0x33e99a(0x28a)][_0x33e99a(0x4ed)](_0x368a0b),_0x368a0b;}[_0x139045(0x35f)](_0x49bb95){const _0xd70007=_0x139045;switch(_0x49bb95){case _0x5950ae[_0xd70007(0x4ca)]:return _0x2ebd39['DocCollaborationEntity'];case _0x5950ae[_0xd70007(0x696)]:return _0x2ebd39[_0xd70007(0x4c4)];default:throw new Error(_0xd70007(0x54c)+_0x49bb95);}}},_0x2ebd39[_0x139045(0x312)]=_0x3a78ce([_0x523b02(0x0,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x667)])),_0x523b02(0x1,_0x170db9[_0x139045(0x283)](_0x2ebd39['CollaborationSessionService'])),_0x523b02(0x2,_0x170db9[_0x139045(0x22f)])],_0x2ebd39[_0x139045(0x312)]);const _0x20c6e4=['purple300','jiqing500','verdancy600',_0x139045(0x403),_0x139045(0x269),_0x139045(0x62e)];class _0x14d354 extends _0x170db9[_0x139045(0x399)]{constructor(){super(...arguments),_0xee5085(this,'_assignedColors',new Map()),_0xee5085(this,'_colorIndex',0x0);}[_0x139045(0x61d)](_0x5d54d3){const _0x438d01=_0x139045;if(this['_assignedColors']['has'](_0x5d54d3))return this['_assignedColors'][_0x438d01(0x51c)](_0x5d54d3);const _0x588dc5=_0x20c6e4[this[_0x438d01(0x25f)]];return this[_0x438d01(0x25f)]=(this[_0x438d01(0x25f)]+0x1)%_0x20c6e4['length'],this[_0x438d01(0x605)][_0x438d01(0x3fd)](_0x5d54d3,_0x588dc5),_0x588dc5;}}var _0x4e27a0=Object[_0x139045(0x620)],_0x3a7022=Object[_0x139045(0x264)],_0x3d4b0d=(_0x2e1b7f,_0x1d8cc2,_0x597a92,_0x559632)=>{const _0x5e2773=_0x139045;for(var _0xd41fe0=_0x559632>0x1?void 0x0:_0x559632?_0x3a7022(_0x1d8cc2,_0x597a92):_0x1d8cc2,_0x242012=_0x2e1b7f[_0x5e2773(0x62b)]-0x1,_0x693c16;_0x242012>=0x0;_0x242012--)(_0x693c16=_0x2e1b7f[_0x242012])&&(_0xd41fe0=(_0x559632?_0x693c16(_0x1d8cc2,_0x597a92,_0xd41fe0):_0x693c16(_0xd41fe0))||_0xd41fe0);return _0x559632&&_0xd41fe0&&_0x4e27a0(_0x1d8cc2,_0x597a92,_0xd41fe0),_0xd41fe0;},_0x4f55d9=(_0x5e3cb9,_0xac2ade)=>(_0x22eb43,_0x2147b8)=>_0xac2ade(_0x22eb43,_0x2147b8,_0x5e3cb9);const _0x59e0cf=0x12c,_0x425eac=0x64;let _0x51c046=class extends _0x170db9[_0x139045(0x436)]{constructor(_0x5570f3,_0x15ec49,_0x4c7df6,_0x4fdd11,_0x51eea4,_0x28a49e,_0x416dff,_0x5aa59c,_0xa86ee4){const _0x451fdf=_0x139045;super(),_0xee5085(this,_0x451fdf(0x64b),!0x1),_0xee5085(this,_0x451fdf(0x6b9),!0x1),_0xee5085(this,_0x451fdf(0x24d),new _0x145930[(_0x451fdf(0x58b))](new Map())),_0xee5085(this,_0x451fdf(0x383),this[_0x451fdf(0x24d)][_0x451fdf(0x232)]()),_0xee5085(this,_0x451fdf(0x496),new _0x145930[(_0x451fdf(0x58b))]([])),_0xee5085(this,_0x451fdf(0x3ad),this[_0x451fdf(0x496)][_0x451fdf(0x640)](_0x145930['debounceTime'](_0x59e0cf))),_0xee5085(this,'_updateLocalCursor',_0x170db9[_0x451fdf(0x557)](_0x3cf153=>{const _0x2587d9=_0x451fdf,_0x47f2fa={'eventID':_0x294b4b[_0x2587d9(0x3af)][_0x2587d9(0x2a5)],'data':{'unitID':this[_0x2587d9(0x4ee)],'memberID':this[_0x2587d9(0x54f)]['getMemberID'](),'selection':_0x33331f(_0x3cf153)}};this[_0x2587d9(0x54f)][_0x2587d9(0x53e)](_0x47f2fa,this['unitID']);},_0x425eac)),(this[_0x451fdf(0x4ee)]=_0x5570f3,this[_0x451fdf(0x54f)]=_0x15ec49,this['_injector']=_0x4c7df6,this[_0x451fdf(0x2ef)]=_0x4fdd11,this[_0x451fdf(0x57e)]=_0x51eea4,this['_syncEditingCollabCursorService']=_0x28a49e,this[_0x451fdf(0x205)]=_0x416dff,this['_univerInstanceService']=_0x5aa59c,this['_commandService']=_0xa86ee4);}get[_0x139045(0x536)](){const _0x45741e=_0x139045;return this[_0x45741e(0x24d)][_0x45741e(0x5c7)]();}get[_0x139045(0x68e)](){const _0x2b6541=_0x139045;return this[_0x2b6541(0x496)]['getValue']();}['dispose'](){const _0x41fea0=_0x139045;super[_0x41fea0(0x33b)](),this[_0x41fea0(0x24d)][_0x41fea0(0x4ed)](new Map()),this[_0x41fea0(0x24d)][_0x41fea0(0x3d7)](),this[_0x41fea0(0x496)][_0x41fea0(0x4ed)]([]),this[_0x41fea0(0x496)][_0x41fea0(0x3d7)]();}['init'](){const _0x36593c=_0x139045;this['_init']||(this['_init']=!0x0,this[_0x36593c(0x54f)]['sessionStatus$'][_0x36593c(0x640)](_0x145930[_0x36593c(0x28b)](this[_0x36593c(0x67f)]))['subscribe'](_0xc4f56c=>{const _0x39459b=_0x36593c;_0xc4f56c===_0x3e6c83[_0x39459b(0x401)]?this[_0x39459b(0x236)]():this[_0x39459b(0x4d1)]();}),this[_0x36593c(0x54f)][_0x36593c(0x2b6)][_0x36593c(0x640)](_0x145930[_0x36593c(0x28b)](this[_0x36593c(0x67f)]))[_0x36593c(0x519)](_0x51044a=>{const _0xaded99=_0x36593c,_0x4a6ec6=_0x51044a['eventID'];_0x4a6ec6===_0x294b4b[_0xaded99(0x3af)][_0xaded99(0x2a5)]&&this[_0xaded99(0x621)](_0x51044a),_0x4a6ec6===_0x294b4b['CollaborationEvent'][_0xaded99(0x4c8)]&&this[_0xaded99(0x23c)](_0x51044a);}),this[_0x36593c(0x32f)](this[_0x36593c(0x1fb)][_0x36593c(0x1f7)](_0x3cc1c3=>{const _0x488bb7=_0x36593c,_0x3452de=_0x3cc1c3[_0x488bb7(0x674)];_0x3452de!=null&&this[_0x488bb7(0x64b)]&&_0x3cc1c3['id']===_0x2bd9e1[_0x488bb7(0x555)]['id']&&_0x3452de[_0x488bb7(0x680)]===this[_0x488bb7(0x4ee)]&&_0x3452de[_0x488bb7(0x5ca)]===!0x1&&_0x3452de[_0x488bb7(0x294)][_0x488bb7(0x62b)]>0x0&&this[_0x488bb7(0x66c)](_0x3452de[_0x488bb7(0x294)]);})),this[_0x36593c(0x664)][_0x36593c(0x256)][_0x36593c(0x640)](_0x145930[_0x36593c(0x28b)](this[_0x36593c(0x67f)]))[_0x36593c(0x519)](_0x54c65c=>{const _0x871ceb=_0x36593c;if((_0x54c65c==null?void 0x0:_0x54c65c[_0x871ceb(0x4ee)])!==this[_0x871ceb(0x4ee)])return;const _0x187ece={'eventID':_0x294b4b[_0x871ceb(0x3af)][_0x871ceb(0x2a5)],'data':_0x54c65c};this[_0x871ceb(0x621)](_0x187ece);}),this[_0x36593c(0x32f)](this[_0x36593c(0x1fb)]['onCommandExecuted'](_0x4850a2=>{const _0x5daa0b=_0x36593c;if(_0x4850a2[_0x5daa0b(0x674)]==null)return;const _0x9c3a67=_0x4850a2[_0x5daa0b(0x674)];if(_0x4850a2['id']!==_0x2bd9e1[_0x5daa0b(0x498)]['id']||_0x9c3a67[_0x5daa0b(0x680)]!==this[_0x5daa0b(0x4ee)])return;const _0x1cbab0={'id':_0x5daa0b(0x3c5),'params':_0x9c3a67},_0x24a005=this[_0x5daa0b(0x536)];for(const [_0x57b5e6,_0x118c76]of _0x24a005){const _0x467a8d={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x5daa0b(0x4ee)],'actions':null,'textRanges':_0x118c76[_0x5daa0b(0x294)]}},_0x57053d=this[_0x5daa0b(0x205)][_0x5daa0b(0x341)](_0x1cbab0,_0x467a8d,!0x1);if(_0x294b4b[_0x5daa0b(0x3f1)](_0x57053d))throw _0x57053d[_0x5daa0b(0x406)];_0x24a005[_0x5daa0b(0x3fd)](_0x57b5e6,{..._0x118c76,'ranges':_0x57053d[_0x5daa0b(0x5c3)][_0x5daa0b(0x674)]['textRanges']});}queueMicrotask(()=>{const _0x31e07e=_0x5daa0b;this[_0x31e07e(0x24d)][_0x31e07e(0x4ed)](_0x24a005);});})));}['_onCursorUpdate'](_0x3fc571){const _0x39c62a=_0x139045;var _0x2bde19,_0x386e70;const {memberID:_0x4652c3,selection:_0x3e860b}=_0x3fc571['data'],_0x10eb73=_0x56179c(_0x3e860b),_0x1178cf=(_0x386e70=(_0x2bde19=this[_0x39c62a(0x57e)][_0x39c62a(0x441)](this[_0x39c62a(0x4ee)],_0x4652c3))==null?void 0x0:_0x2bde19[_0x39c62a(0x566)])!=null?_0x386e70:_0x39c62a(0x23d),_0xa1a75e={'color':this[_0x39c62a(0x2ef)][_0x39c62a(0x61d)](_0x4652c3),'name':_0x1178cf,'ranges':_0x10eb73},_0x216520=this[_0x39c62a(0x536)];_0x216520[_0x39c62a(0x3fd)](_0x4652c3,_0xa1a75e),this['_cursorInfo$'][_0x39c62a(0x4ed)](_0x216520);}[_0x139045(0x23c)](_0x1e2ca9){const _0x12eb87=_0x139045,{memberID:_0x1f4b5d}=_0x1e2ca9[_0x12eb87(0x3a4)],_0x43bcfa=this[_0x12eb87(0x536)];_0x43bcfa['delete'](_0x1f4b5d),this['_cursorInfo$'][_0x12eb87(0x4ed)](_0x43bcfa);}[_0x139045(0x236)](){const _0x1258c8=_0x139045;var _0x432c22;if(this[_0x1258c8(0x64b)]=!0x0,((_0x432c22=this[_0x1258c8(0x230)]['getFocusedUnit']())==null?void 0x0:_0x432c22[_0x1258c8(0x238)]())!==this[_0x1258c8(0x4ee)])return;const _0x1e5b94=this[_0x1258c8(0x43f)][_0x1258c8(0x51c)](_0x2bd9e1['DocSelectionManagerService'])[_0x1258c8(0x4a0)]();Array[_0x1258c8(0x209)](_0x1e5b94)&&_0x1e5b94[_0x1258c8(0x62b)]>0x0&&this[_0x1258c8(0x66c)](_0x1e5b94);}[_0x139045(0x4d1)](){const _0x35c689=_0x139045;this[_0x35c689(0x64b)]=!0x1;}};_0x51c046=_0x3d4b0d([_0x4f55d9(0x2,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x667)])),_0x4f55d9(0x3,_0x170db9['Inject'](_0x14d354)),_0x4f55d9(0x4,_0x170db9[_0x139045(0x283)](_0x2ebd39[_0x139045(0x2d4)])),_0x4f55d9(0x5,_0x170db9[_0x139045(0x283)](_0x4a72d6)),_0x4f55d9(0x6,_0x294b4b[_0x139045(0x363)]),_0x4f55d9(0x7,_0x170db9[_0x139045(0x22f)]),_0x4f55d9(0x8,_0x170db9[_0x139045(0x301)])],_0x51c046);var _0x57060d=Object[_0x139045(0x620)],_0x4585c0=Object[_0x139045(0x264)],_0x51b410=(_0x2d8ec0,_0xf8f8f1,_0x2182ac,_0x34cf5b)=>{const _0x42289c=_0x139045;for(var _0x5da493=_0x34cf5b>0x1?void 0x0:_0x34cf5b?_0x4585c0(_0xf8f8f1,_0x2182ac):_0xf8f8f1,_0x356038=_0x2d8ec0[_0x42289c(0x62b)]-0x1,_0x1ef649;_0x356038>=0x0;_0x356038--)(_0x1ef649=_0x2d8ec0[_0x356038])&&(_0x5da493=(_0x34cf5b?_0x1ef649(_0xf8f8f1,_0x2182ac,_0x5da493):_0x1ef649(_0x5da493))||_0x5da493);return _0x34cf5b&&_0x5da493&&_0x57060d(_0xf8f8f1,_0x2182ac,_0x5da493),_0x5da493;},_0x419456=(_0x229fc1,_0x403bda)=>(_0x3969de,_0x10451f)=>_0x403bda(_0x3969de,_0x10451f,_0x229fc1);const _0x306076=0x12c,_0x25997d=0x64,_0x5acb6e=()=>{let _0x51564e=[],_0x19719f=!0x1;return _0x4603d0=>{_0x51564e['push'](_0x4603d0),_0x19719f||(_0x19719f=!0x0,setTimeout(()=>{_0x51564e['forEach'](_0x202456=>_0x202456()),_0x51564e=[],_0x19719f=!0x1;}));};};let _0x381533=class extends _0x170db9[_0x139045(0x436)]{constructor(_0xf65b7,_0x43b1d6,_0x330fa1,_0x1896af,_0x1ce12b,_0x47f8e1,_0x47d5bb,_0x64b33f){const _0x267939=_0x139045;super(),_0xee5085(this,_0x267939(0x64b),!0x1),_0xee5085(this,_0x267939(0x6b9),!0x1),_0xee5085(this,'_cursorInfo$',new _0x145930[(_0x267939(0x58b))](new Map())),_0xee5085(this,_0x267939(0x383),this[_0x267939(0x24d)][_0x267939(0x232)]()),_0xee5085(this,_0x267939(0x496),new _0x145930['BehaviorSubject']([])),_0xee5085(this,_0x267939(0x3ad),this[_0x267939(0x496)][_0x267939(0x640)](_0x145930[_0x267939(0x339)](_0x306076))),_0xee5085(this,_0x267939(0x66c),_0x170db9[_0x267939(0x557)]((_0xe59b75,_0x309e44)=>{const _0x322af1=_0x267939,_0x1b4b60={'eventID':_0x294b4b[_0x322af1(0x3af)][_0x322af1(0x2a5)],'data':{'unitID':this['unitID'],'memberID':this[_0x322af1(0x54f)][_0x322af1(0x400)](),'selection':_0x342e73[_0x322af1(0x4c7)](_0xe59b75,_0x309e44['range'])}};this['_session']['send'](_0x1b4b60,this[_0x322af1(0x4ee)]);},_0x25997d)),(this['unitID']=_0xf65b7,this['_session']=_0x43b1d6,this[_0x267939(0x43f)]=_0x330fa1,this['_colorAssignService']=_0x1896af,this[_0x267939(0x57e)]=_0x1ce12b,this['_univerInstanceService']=_0x47f8e1,this['_commandService']=_0x47d5bb,this['_refRangeService']=_0x64b33f);}get['cursorInfo'](){const _0x1892d8=_0x139045;return this[_0x1892d8(0x24d)]['getValue']();}get[_0x139045(0x68e)](){const _0x1dd447=_0x139045;return this['_roomMembers$'][_0x1dd447(0x5c7)]();}[_0x139045(0x33b)](){const _0x5411c9=_0x139045;super[_0x5411c9(0x33b)](),this['_cursorInfo$'][_0x5411c9(0x4ed)](new Map()),this[_0x5411c9(0x24d)][_0x5411c9(0x3d7)](),this[_0x5411c9(0x496)][_0x5411c9(0x4ed)]([]),this['_roomMembers$']['complete']();}[_0x139045(0x4a1)](){const _0x606f0e=_0x139045;this[_0x606f0e(0x6b9)]||(this[_0x606f0e(0x6b9)]=!0x0,this[_0x606f0e(0x54f)][_0x606f0e(0x26a)]['pipe'](_0x145930['takeUntil'](this[_0x606f0e(0x67f)]))[_0x606f0e(0x519)](_0x4c9c3b=>{const _0x3f8a5d=_0x606f0e;_0x4c9c3b===_0x3e6c83[_0x3f8a5d(0x401)]?this['_toggleOnline']():this[_0x3f8a5d(0x4d1)]();}),this[_0x606f0e(0x54f)][_0x606f0e(0x2b6)][_0x606f0e(0x640)](_0x145930[_0x606f0e(0x28b)](this[_0x606f0e(0x67f)]))[_0x606f0e(0x519)](_0x1ef18c=>{const _0x4bd447=_0x606f0e,_0x538a29=_0x1ef18c[_0x4bd447(0x258)];_0x538a29===_0x294b4b['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1ef18c),_0x538a29===_0x294b4b['CollaborationEvent'][_0x4bd447(0x4c8)]&&this[_0x4bd447(0x23c)](_0x1ef18c);}),this[_0x606f0e(0x3de)](),this[_0x606f0e(0x32f)](this[_0x606f0e(0x1fb)]['onCommandExecuted'](_0x344fd1=>{const _0x36d25c=_0x606f0e;if(this['_online']&&_0x344fd1['id']===_0x292e35[_0x36d25c(0x62d)]['id']&&_0x344fd1[_0x36d25c(0x674)]['unitId']===this[_0x36d25c(0x4ee)]){const _0x37a4e0=_0x344fd1[_0x36d25c(0x674)];this[_0x36d25c(0x66c)](_0x37a4e0[_0x36d25c(0x4de)],_0x37a4e0[_0x36d25c(0x649)][0x0]);}})));}[_0x139045(0x621)](_0x24e1fd){const _0x354b74=_0x139045;var _0x3e381d,_0x20f5b1;const {memberID:_0x589ce0,selection:_0x719717}=_0x24e1fd[_0x354b74(0x3a4)],{sheetName:_0x55fc14,range:_0x3d3bdf}=_0x342e73[_0x354b74(0x6b4)](_0x719717),_0x396f18={'name':(_0x20f5b1=(_0x3e381d=this[_0x354b74(0x57e)][_0x354b74(0x441)](this[_0x354b74(0x4ee)],_0x589ce0))==null?void 0x0:_0x3e381d[_0x354b74(0x566)])!=null?_0x20f5b1:_0x354b74(0x23d),'range':this[_0x354b74(0x5e7)](_0x55fc14,_0x3d3bdf),'sheetID':_0x55fc14,'color':this[_0x354b74(0x2ef)][_0x354b74(0x61d)](_0x589ce0),'selection':_0x719717},_0x5260ad=this[_0x354b74(0x536)];_0x5260ad[_0x354b74(0x3fd)](_0x589ce0,_0x396f18),this[_0x354b74(0x24d)][_0x354b74(0x4ed)](_0x5260ad);}[_0x139045(0x23c)](_0x5bbe2a){const _0x1be139=_0x139045,{memberID:_0x130540}=_0x5bbe2a[_0x1be139(0x3a4)],_0x71a7e=this['cursorInfo'];_0x71a7e[_0x1be139(0x5bd)](_0x130540),this[_0x1be139(0x24d)][_0x1be139(0x4ed)](_0x71a7e);}[_0x139045(0x5e7)](_0x28fc3c,_0x512ca8){const _0x6614cc=_0x139045;var _0x397b27,_0x17d080;const _0xbe8629=(_0x17d080=(_0x397b27=this[_0x6614cc(0x230)]['getUniverSheetInstance'](this[_0x6614cc(0x4ee)]))==null?void 0x0:_0x397b27['getSheetBySheetId'](_0x28fc3c))==null?void 0x0:_0x17d080[_0x6614cc(0x335)]();return(_0xbe8629==null?void 0x0:_0xbe8629[_0x6614cc(0x6a1)](_0x1af119=>_0x170db9[_0x6614cc(0x36a)]['contains'](_0x1af119,_0x512ca8)))||_0x512ca8;}[_0x139045(0x3de)](){const _0x1fd43f=_0x139045,_0x2682ae=new _0x170db9[(_0x1fd43f(0x429))](),_0x36360a=_0x5acb6e(),_0x2f45d0=()=>{const _0xcd1eb6=_0x1fd43f;_0x2682ae[_0xcd1eb6(0x33b)]();const _0x18c6b5=(_0x359b62,_0x27452b,_0x1217e8,_0x3d8b0e)=>{const _0x2b240c=_0xcd1eb6;let _0x254ac2=[];switch(_0x359b62['id']){case _0x292e35['EffectRefRangId'][_0x2b240c(0x421)]:{_0x254ac2=_0x292e35[_0x2b240c(0x494)](_0x359b62,_0x3d8b0e);break;}case _0x292e35[_0x2b240c(0x4fc)]['DeleteRangeMoveUpCommandId']:{_0x254ac2=_0x292e35[_0x2b240c(0x289)](_0x359b62,_0x3d8b0e);break;}case _0x292e35[_0x2b240c(0x4fc)][_0x2b240c(0x2fa)]:{_0x254ac2=_0x292e35[_0x2b240c(0x549)](_0x359b62,_0x3d8b0e);break;}case _0x292e35[_0x2b240c(0x4fc)]['InsertRangeMoveDownCommandId']:{_0x254ac2=_0x292e35[_0x2b240c(0x6ab)](_0x359b62,_0x3d8b0e);break;}case _0x292e35[_0x2b240c(0x4fc)][_0x2b240c(0x690)]:{_0x254ac2=_0x292e35[_0x2b240c(0x38f)](_0x359b62,_0x3d8b0e);break;}case _0x292e35[_0x2b240c(0x4fc)][_0x2b240c(0x6ba)]:{_0x254ac2=_0x292e35[_0x2b240c(0x266)](_0x359b62,_0x3d8b0e);break;}case _0x292e35[_0x2b240c(0x4fc)]['MoveRangeCommandId']:{_0x254ac2=_0x292e35[_0x2b240c(0x654)](_0x359b62,_0x3d8b0e);break;}case _0x292e35['EffectRefRangId'][_0x2b240c(0x497)]:{_0x254ac2=_0x292e35[_0x2b240c(0x2fb)](_0x359b62,_0x3d8b0e);break;}case _0x292e35[_0x2b240c(0x4fc)][_0x2b240c(0x32a)]:{_0x254ac2=_0x292e35[_0x2b240c(0x3a1)](_0x359b62,_0x3d8b0e);break;}}const _0x150614=_0x292e35['runRefRangeMutations'](_0x254ac2,_0x3d8b0e),_0x22a5f9=this[_0x2b240c(0x536)][_0x2b240c(0x51c)](_0x27452b);if(_0x22a5f9&&_0x150614){const _0x407c1b={..._0x22a5f9,'range':_0x150614};this[_0x2b240c(0x536)][_0x2b240c(0x3fd)](_0x27452b,_0x407c1b),_0x36360a(()=>{const _0x4c270e=_0x2b240c,_0x2e4ce0=this[_0x4c270e(0x319)][_0x4c270e(0x65f)](_0x150614,_0x489b78=>(_0x2e4ce0[_0x4c270e(0x33b)](),_0x18c6b5(_0x489b78,_0x27452b,_0x1217e8,_0x150614)));_0x2682ae[_0x4c270e(0x27f)](_0x2e4ce0);});}return{'redos':[],'undos':[]};};this[_0xcd1eb6(0x536)][_0xcd1eb6(0x67e)]((_0x174ccd,_0x45db63)=>{const _0x2cf291=_0xcd1eb6,{range:_0x321886,sheetID:_0x5c20d5}=_0x174ccd,_0x34b1fe=this['_refRangeService']['registerRefRange'](_0x321886,_0x379225=>(_0x34b1fe['dispose'](),_0x18c6b5(_0x379225,_0x45db63,_0x5c20d5,_0x321886)));_0x2682ae[_0x2cf291(0x27f)](_0x34b1fe);});};this['disposeWithMe'](_0x170db9['toDisposable'](this[_0x1fd43f(0x24d)][_0x1fd43f(0x519)](()=>{_0x2f45d0();})));}[_0x139045(0x236)](){const _0x35487a=_0x139045;var _0x335d0a,_0x11d11c;if(this[_0x35487a(0x64b)]=!0x0,((_0x335d0a=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x335d0a[_0x35487a(0x238)]())!==this['unitID'])return;const _0x3cd024=(_0x11d11c=this[_0x35487a(0x43f)][_0x35487a(0x51c)](_0x292e35['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x11d11c[0x0],_0x51e181=this[_0x35487a(0x230)][_0x35487a(0x393)](_0x170db9[_0x35487a(0x320)][_0x35487a(0x696)])[_0x35487a(0x271)]();_0x3cd024&&_0x51e181&&this['_updateLocalCursor'](_0x51e181[_0x35487a(0x2be)](),_0x3cd024);}['_toggleOffline'](){const _0x395508=_0x139045;this[_0x395508(0x64b)]=!0x1;}};_0x381533=_0x51b410([_0x419456(0x2,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x667)])),_0x419456(0x3,_0x170db9[_0x139045(0x283)](_0x14d354)),_0x419456(0x4,_0x170db9[_0x139045(0x283)](_0x2ebd39['MemberService'])),_0x419456(0x5,_0x170db9[_0x139045(0x22f)]),_0x419456(0x6,_0x170db9['ICommandService']),_0x419456(0x7,_0x170db9[_0x139045(0x283)](_0x292e35[_0x139045(0x534)]))],_0x381533);var _0x5d0d6d=Object[_0x139045(0x620)],_0x5d61b7=Object['getOwnPropertyDescriptor'],_0x1a850c=(_0x78dd04,_0x21b81a,_0x3b671f,_0x2a9c55)=>{const _0x3b781c=_0x139045;for(var _0x1ddb39=_0x2a9c55>0x1?void 0x0:_0x2a9c55?_0x5d61b7(_0x21b81a,_0x3b671f):_0x21b81a,_0xebab0e=_0x78dd04[_0x3b781c(0x62b)]-0x1,_0x2bab5f;_0xebab0e>=0x0;_0xebab0e--)(_0x2bab5f=_0x78dd04[_0xebab0e])&&(_0x1ddb39=(_0x2a9c55?_0x2bab5f(_0x21b81a,_0x3b671f,_0x1ddb39):_0x2bab5f(_0x1ddb39))||_0x1ddb39);return _0x2a9c55&&_0x1ddb39&&_0x5d0d6d(_0x21b81a,_0x3b671f,_0x1ddb39),_0x1ddb39;},_0x14ec18=(_0x28140a,_0x2ce42c)=>(_0x363772,_0x17c78e)=>_0x2ce42c(_0x363772,_0x17c78e,_0x28140a);let _0x2ef012=class extends _0x170db9[_0x139045(0x436)]{constructor(_0x3a2041,_0x23dff1,_0x55bfc5){const _0x8e7a30=_0x139045;super(),_0xee5085(this,_0x8e7a30(0x404),new Map()),_0xee5085(this,_0x8e7a30(0x28a),new _0x145930[(_0x8e7a30(0x3ab))]()),(this[_0x8e7a30(0x230)]=_0x3a2041,this[_0x8e7a30(0x43f)]=_0x23dff1,this[_0x8e7a30(0x655)]=_0x55bfc5,this[_0x8e7a30(0x6b9)]());}[_0x139045(0x33b)](){const _0x36dee6=_0x139045;super[_0x36dee6(0x33b)](),this[_0x36dee6(0x28a)]['complete'](),this['_entities'][_0x36dee6(0x67e)](_0x180372=>_0x180372[_0x36dee6(0x33b)]());}[_0x139045(0x206)](_0x332bdb){const _0x640b36=_0x139045;return this[_0x640b36(0x404)][_0x640b36(0x2d5)](_0x332bdb)?this['_entities']['get'](_0x332bdb)[_0x640b36(0x383)]:this[_0x640b36(0x28a)]['pipe'](_0x145930[_0x640b36(0x296)](_0x47c304=>_0x47c304[_0x640b36(0x4ee)]===_0x332bdb),_0x145930[_0x640b36(0x495)](_0x49e510=>_0x49e510[_0x640b36(0x383)]));}[_0x139045(0x6b9)](){const _0x4adad5=_0x139045;this['_univerInstanceService'][_0x4adad5(0x4c6)](_0x170db9[_0x4adad5(0x320)][_0x4adad5(0x696)])[_0x4adad5(0x640)](_0x145930[_0x4adad5(0x28b)](this[_0x4adad5(0x67f)]))['subscribe'](async _0x5f3104=>{const _0x19bbd2=_0x4adad5,_0x16914a=_0x5f3104[_0x19bbd2(0x238)](),_0x40c509=await this[_0x19bbd2(0x5de)](_0x16914a);this[_0x19bbd2(0x28a)][_0x19bbd2(0x4ed)](_0x40c509),this[_0x19bbd2(0x404)][_0x19bbd2(0x3fd)](_0x16914a,_0x40c509);}),this[_0x4adad5(0x230)][_0x4adad5(0x4c6)](_0x170db9[_0x4adad5(0x320)]['UNIVER_DOC'])['pipe'](_0x145930[_0x4adad5(0x28b)](this[_0x4adad5(0x67f)]))[_0x4adad5(0x640)](_0x145930['filter'](_0x2da0d7=>!_0x2da0d7[_0x4adad5(0x238)]()['startsWith']('__')))['subscribe'](async _0x3d6e7d=>{const _0x329f80=_0x4adad5,_0x68cef1=_0x3d6e7d[_0x329f80(0x238)](),_0x5c2dfb=await this['_startDocCollabCursor'](_0x68cef1);this[_0x329f80(0x28a)][_0x329f80(0x4ed)](_0x5c2dfb),this[_0x329f80(0x404)][_0x329f80(0x3fd)](_0x68cef1,_0x5c2dfb);}),_0x145930['merge'](this[_0x4adad5(0x230)]['getTypeOfUnitDisposed$'](_0x170db9[_0x4adad5(0x320)][_0x4adad5(0x4ca)]),this[_0x4adad5(0x230)]['getTypeOfUnitDisposed$'](_0x170db9[_0x4adad5(0x320)][_0x4adad5(0x696)]))[_0x4adad5(0x640)](_0x145930['takeUntil'](this[_0x4adad5(0x67f)]))['subscribe'](_0x3230c8=>{const _0x54d7bb=_0x4adad5,_0x5706e4=_0x3230c8[_0x54d7bb(0x238)](),_0x453f61=this[_0x54d7bb(0x404)][_0x54d7bb(0x51c)](_0x5706e4);_0x453f61&&(_0x453f61[_0x54d7bb(0x33b)](),this[_0x54d7bb(0x404)]['delete'](_0x5706e4));});}async[_0x139045(0x5de)](_0x20f98d){const _0x19be86=_0x139045,_0x492ffa=await this[_0x19be86(0x655)][_0x19be86(0x2f8)](_0x20f98d),_0x525b89=this[_0x19be86(0x43f)][_0x19be86(0x3f4)](_0x381533,_0x20f98d,_0x492ffa);return _0x525b89[_0x19be86(0x4a1)](),_0x525b89;}async[_0x139045(0x384)](_0x4a65b7){const _0x1e2a3e=_0x139045,_0x2485eb=await this['_collabSessionService'][_0x1e2a3e(0x2f8)](_0x4a65b7),_0x3e3097=this[_0x1e2a3e(0x43f)][_0x1e2a3e(0x3f4)](_0x51c046,_0x4a65b7,_0x2485eb);return _0x3e3097[_0x1e2a3e(0x4a1)](),_0x3e3097;}};_0x2ef012=_0x1a850c([_0x14ec18(0x0,_0x170db9[_0x139045(0x22f)]),_0x14ec18(0x1,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x667)])),_0x14ec18(0x2,_0x170db9['Inject'](_0x2ebd39['CollaborationSessionService']))],_0x2ef012);const _0x404904=0x14,_0xf72e14=0xc8,_0x379053=0x4,_0x23ff5b=0x5;function _0x5d7c37(_0x504722,_0x2c721a){const _0x3d3caa=_0x139045;let {radius:_0x840f15,width:_0x2cc4ad,height:_0x219e6c}=_0x2c721a;_0x840f15=_0x840f15!=null?_0x840f15:0x0,_0x2cc4ad=_0x2cc4ad!=null?_0x2cc4ad:0x1e,_0x219e6c=_0x219e6c!=null?_0x219e6c:0x1e;let _0x3da842=0x0,_0x4ee91e=0x0,_0x1d93b5=0x0;_0x3da842=_0x4ee91e=_0x1d93b5=Math[_0x3d3caa(0x5f0)](_0x840f15,_0x2cc4ad/0x2,_0x219e6c/0x2),_0x504722[_0x3d3caa(0x4e9)](),_0x504722[_0x3d3caa(0x377)](_0x3da842,0x0),_0x504722[_0x3d3caa(0x506)](_0x2cc4ad-_0x4ee91e,0x0),_0x504722[_0x3d3caa(0x57b)](_0x2cc4ad-_0x4ee91e,_0x4ee91e,_0x4ee91e,Math['PI']*0x3/0x2,0x0,!0x1),_0x504722[_0x3d3caa(0x506)](_0x2cc4ad,_0x219e6c-_0x1d93b5),_0x504722[_0x3d3caa(0x57b)](_0x2cc4ad-_0x1d93b5,_0x219e6c-_0x1d93b5,_0x1d93b5,0x0,Math['PI']/0x2,!0x1),_0x504722[_0x3d3caa(0x506)](0x0,_0x219e6c),_0x504722[_0x3d3caa(0x506)](0x0,_0x3da842),_0x504722[_0x3d3caa(0x57b)](_0x3da842,_0x3da842,_0x3da842,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x504722[_0x3d3caa(0x352)](),_0x2c721a[_0x3d3caa(0x31d)]&&(_0x504722[_0x3d3caa(0x676)](),_0x504722[_0x3d3caa(0x63c)]=_0x2c721a[_0x3d3caa(0x31d)],_0x2c721a[_0x3d3caa(0x50b)]===_0x3d3caa(0x246)?_0x504722[_0x3d3caa(0x31d)]('evenodd'):_0x504722[_0x3d3caa(0x31d)](),_0x504722[_0x3d3caa(0x2d9)]());}class _0x52e631 extends _0x224b0f[_0x139045(0x5db)]{constructor(_0x3dbeef,_0x1ed384){const _0x27f4cf=_0x139045;super(_0x3dbeef,_0x1ed384),_0xee5085(this,_0x27f4cf(0x4aa)),_0xee5085(this,_0x27f4cf(0x510)),(this[_0x27f4cf(0x4aa)]=_0x1ed384==null?void 0x0:_0x1ed384[_0x27f4cf(0x4aa)],this['text']=_0x1ed384==null?void 0x0:_0x1ed384[_0x27f4cf(0x510)]);}static[_0x139045(0x268)](_0x37a7d0,_0x542d83){const _0x11a973=_0x139045,{text:_0x4dab9a,color:_0x53c955}=_0x542d83;_0x37a7d0[_0x11a973(0x676)](),_0x37a7d0[_0x11a973(0x61b)]=_0x11a973(0x678);const _0x517639=_0x37a7d0['measureText'](_0x4dab9a)['width'],_0x5c1887=Math['min'](_0x517639+0x2*_0x379053,_0xf72e14);_0x5d7c37(_0x37a7d0,{'height':_0x404904,'radius':0x4,'width':_0x5c1887,'fill':_0x53c955,'evented':!0x1}),_0x37a7d0['fillStyle']='#FFF';const _0x5c5211=_0x379053,_0x13fc2a=_0x404904-_0x23ff5b,_0x582da7=_0xf72e14-0x2*_0x379053;if(_0x517639>_0x582da7){let _0x21ad0f='',_0x18d6c8=0x0;for(const _0x25a84a of _0x4dab9a){const _0x18cd07=_0x37a7d0[_0x11a973(0x516)](_0x25a84a)[_0x11a973(0x603)];if(_0x18d6c8+_0x18cd07<=_0x582da7-_0x37a7d0['measureText']('...')[_0x11a973(0x603)])_0x21ad0f+=_0x25a84a,_0x18d6c8+=_0x18cd07;else{_0x21ad0f+=_0x11a973(0x237);break;}}_0x37a7d0[_0x11a973(0x61f)](_0x21ad0f,_0x5c5211,_0x13fc2a);}else _0x37a7d0[_0x11a973(0x61f)](_0x4dab9a,_0x5c5211,_0x13fc2a);_0x37a7d0[_0x11a973(0x2d9)]();}[_0x139045(0x322)](_0x36ade1){const _0x126186=_0x139045;_0x52e631[_0x126186(0x268)](_0x36ade1,this);}}const _0x56c1ea=_0x139045(0x6a7),_0x5aea0b=_0x139045(0x23e),_0x4d6f16=_0x139045(0x558),_0x428ddc=0x6,_0x303333=1.5,_0x114c95=0x4,_0x13a263=1.5,_0x9e43ec=_0x139045(0x57f);class _0x997d34{constructor(_0xa91013,_0x66548,_0x58cae8,_0x2e370b){const _0x53bec2=_0x139045;_0xee5085(this,'_shapes',[]),_0xee5085(this,_0x53bec2(0x2d7),null),_0xee5085(this,_0x53bec2(0x5da),null),_0xee5085(this,'_anchorDot',null),_0xee5085(this,'_hideTimer',null),_0xee5085(this,_0x53bec2(0x5f6),null),(this[_0x53bec2(0x547)]=_0xa91013,this[_0x53bec2(0x229)]=_0x66548,this['_docSkeleton']=_0x58cae8,this[_0x53bec2(0x3c7)]=_0x2e370b,this[_0x53bec2(0x576)]());}set[_0x139045(0x247)](_0x2b7a07){const _0x488f0f=_0x139045;_0x2b7a07?(this[_0x488f0f(0x3b5)]&&this['_anchorDot']['hide'](),this[_0x488f0f(0x5da)]&&this[_0x488f0f(0x5da)][_0x488f0f(0x4ef)]()):(this[_0x488f0f(0x3b5)]&&this['_anchorDot']['show'](),this[_0x488f0f(0x5da)]&&this[_0x488f0f(0x5da)][_0x488f0f(0x2b4)]());}[_0x139045(0x33b)](){const _0x154e02=_0x139045;for(const _0x434c9f of this[_0x154e02(0x2a0)])_0x434c9f[_0x154e02(0x33b)]();this[_0x154e02(0x5da)]&&this[_0x154e02(0x5da)][_0x154e02(0x33b)](),this['_anchorDot']&&this[_0x154e02(0x3b5)][_0x154e02(0x33b)](),this[_0x154e02(0x2d7)]&&this[_0x154e02(0x2d7)]['dispose'](),this[_0x154e02(0x5f6)]&&this[_0x154e02(0x5f6)]();}[_0x139045(0x576)](){const _0x21c773=_0x139045;var _0x522489;const {_docSkeleton:_0x68738f,_document:_0x20d2a8}=this,{color:_0x3a0a00,name:_0x34e2fa,ranges:_0x3fe25f}=this[_0x21c773(0x547)],_0x29c995=_0x20d2a8[_0x21c773(0x326)](),{docsLeft:_0x1bf3bd,docsTop:_0x14da11}=_0x29c995,_0x320a8c=new _0x5a2d39['NodePositionConvertToCursor'](_0x29c995,_0x68738f);for(const {startOffset:_0x58c7b1,endOffset:_0xfcd582,rangeType:_0x12f205,segmentId:_0x5c11cb,segmentPage:_0x2c41e9,collapsed:_0x52ff91,isActive:_0x3ded89}of _0x3fe25f){const _0x9f9643=_0x68738f[_0x21c773(0x2ea)](_0x58c7b1,!0x0,_0x5c11cb,_0x2c41e9);let _0x3bc700=_0x68738f['findNodePositionByCharIndex'](_0xfcd582,!0x0,_0x5c11cb,_0x2c41e9);if(_0x3bc700==null&&(_0x3bc700=_0x68738f[_0x21c773(0x2ea)](_0xfcd582-0x1,!0x1,_0x5c11cb,_0x2c41e9)),_0x3ded89){const {contentBoxPointGroup:_0x333229}=_0x320a8c[_0x21c773(0x49c)](_0x3bc700,_0x3bc700);if(_0x333229[_0x21c773(0x62b)]===0x0)continue;this[_0x21c773(0x329)](_0x3a0a00,_0x333229,_0x1bf3bd,_0x14da11,_0x34e2fa),this['_eventUnsubscribe']=this['_handleHover']();}if(!_0x52ff91&&_0x9f9643&&_0x3bc700){if(_0x12f205===_0x170db9[_0x21c773(0x3b6)][_0x21c773(0x4fb)]){const _0x197dd=new _0x5a2d39[(_0x21c773(0x210))](_0x29c995,_0x68738f),{pointGroup:_0x5cdc60}=(_0x522489=_0x197dd[_0x21c773(0x49c)](_0x9f9643,_0x3bc700))!=null?_0x522489:{};if(_0x5cdc60==null||_0x5cdc60[_0x21c773(0x62b)]===0x0)continue;this[_0x21c773(0x31b)](_0x3a0a00,_0x5cdc60,_0x1bf3bd,_0x14da11);}else{const {borderBoxPointGroup:_0x32e320}=_0x320a8c['getRangePointData'](_0x9f9643,_0x3bc700);if(_0x32e320[_0x21c773(0x62b)]===0x0)continue;this['_drawTextRange'](_0x3a0a00,_0x32e320,_0x1bf3bd,_0x14da11);}}}}['_drawAnchor'](_0x5f0260,_0x4e6044,_0x171f78,_0x5c86b9,_0x135bb2){const _0x7ca241=_0x139045,_0x31eba0=this[_0x7ca241(0x40c)](_0x4e6044),{left:_0x1a22a7,top:_0x180476,height:_0x31d445}=_0x31eba0,_0x3db996=this['_getScale'](),_0x2f746e=_0x13a263/_0x3db996,_0x2de905=new _0x224b0f['Rect'](_0x56c1ea+_0x170db9[_0x7ca241(0x26e)][_0x7ca241(0x21c)](_0x428ddc),{'left':_0x1a22a7+_0x171f78-_0x2f746e,'top':_0x180476+_0x5c86b9,'height':_0x31d445,'width':_0x303333,'fill':_0x5f0260||_0x224b0f[_0x7ca241(0x25d)](_0x170db9['COLORS'][_0x7ca241(0x688)],0x0),'strokeWidth':_0x2f746e,'stroke':_0x9e43ec,'evented':!0x0});this[_0x7ca241(0x2d7)]=_0x2de905,this['_scene']['addObject'](_0x2de905,_0x5a2d39[_0x7ca241(0x3bd)]);const _0x44f570=new _0x224b0f[(_0x7ca241(0x526))](_0x56c1ea+_0x170db9[_0x7ca241(0x26e)]['generateRandomId'](_0x428ddc),{'left':_0x1a22a7+_0x171f78-_0x2f746e,'top':_0x180476+_0x5c86b9-_0x114c95/0x2,'height':_0x114c95,'width':_0x114c95,'fill':_0x5f0260||_0x224b0f[_0x7ca241(0x25d)](_0x170db9[_0x7ca241(0x20d)][_0x7ca241(0x688)],0x0),'strokeWidth':0x0,'stroke':_0x5f0260||_0x224b0f['getColor'](_0x170db9['COLORS'][_0x7ca241(0x688)],0x0),'evented':!0x1});this['_anchorDot']=_0x44f570,this['_scene'][_0x7ca241(0x4c0)](_0x44f570,_0x5a2d39[_0x7ca241(0x3bd)]);const _0x28ca75=new _0x52e631(_0x56c1ea+_0x170db9[_0x7ca241(0x26e)][_0x7ca241(0x21c)](_0x428ddc),{'left':_0x1a22a7+_0x171f78-_0x2f746e,'top':_0x180476+_0x5c86b9-_0x404904,'text':_0x135bb2,'color':_0x5f0260});this[_0x7ca241(0x5da)]=_0x28ca75,this[_0x7ca241(0x229)][_0x7ca241(0x4c0)](_0x28ca75,_0x5a2d39[_0x7ca241(0x3bd)]),this['_hover']=!0x1;}[_0x139045(0x5d1)](){const _0x21acb5=_0x139045,_0xc59899=this[_0x21acb5(0x2d7)][_0x21acb5(0x6bc)][_0x21acb5(0x34c)](()=>{const _0x554204=_0x21acb5;this[_0x554204(0x247)]=!0x0;}),_0x3ca0bc=this[_0x21acb5(0x2d7)][_0x21acb5(0x2f5)][_0x21acb5(0x34c)](()=>{const _0x977df4=_0x21acb5;this[_0x977df4(0x694)]&&clearTimeout(this[_0x977df4(0x694)]),this[_0x977df4(0x694)]=setTimeout(()=>{const _0x571119=_0x977df4;this[_0x571119(0x247)]=!0x1;},0x7d0);});return()=>{const _0x382d69=_0x21acb5;_0xc59899[_0x382d69(0x298)](),_0x3ca0bc[_0x382d69(0x298)]();};}[_0x139045(0x54a)](_0x5b02f9,_0x4435e1,_0x4827c0,_0xdb5627){const _0x598201=_0x139045,_0x5dcff0=new _0x170db9['ColorKit'](_0x5b02f9)[_0x598201(0x5d0)](0.2)[_0x598201(0x461)](),_0x502ba3=new _0x224b0f['RegularPolygon'](_0x5aea0b+_0x170db9[_0x598201(0x26e)]['generateRandomId'](_0x428ddc),{'pointsGroup':_0x4435e1,'fill':_0x5dcff0||_0x224b0f['getColor'](_0x170db9[_0x598201(0x20d)][_0x598201(0x688)],0.2),'left':_0x4827c0,'top':_0xdb5627,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x598201(0x2a0)][_0x598201(0x2fc)](_0x502ba3),this[_0x598201(0x229)][_0x598201(0x4c0)](_0x502ba3,_0x5a2d39[_0x598201(0x3bd)]);}[_0x139045(0x31b)](_0x424125,_0x33d2c4,_0x33fd6e,_0x556336){const _0x1adbd2=_0x139045,_0x2fd3bd=new _0x170db9[(_0x1adbd2(0x3e6))](_0x424125)[_0x1adbd2(0x5d0)](0.2)[_0x1adbd2(0x461)](),_0x13e112=new _0x224b0f[(_0x1adbd2(0x39a))](_0x4d6f16+_0x170db9[_0x1adbd2(0x26e)][_0x1adbd2(0x21c)](_0x428ddc),{'pointsGroup':_0x33d2c4,'fill':_0x2fd3bd||_0x224b0f[_0x1adbd2(0x25d)](_0x170db9[_0x1adbd2(0x20d)][_0x1adbd2(0x688)],0.2),'left':_0x33fd6e,'top':_0x556336,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1adbd2(0x2a0)]['push'](_0x13e112),this['_scene'][_0x1adbd2(0x4c0)](_0x13e112,_0x5a2d39['TEXT_RANGE_LAYER_INDEX']);}[_0x139045(0x40c)](_0x395b0a){const _0x4de6c7=_0x395b0a[0x0],_0x5b7a47=_0x4de6c7[0x0],_0x17da04=_0x4de6c7[0x2],{x:_0x193d30,y:_0x279b3f}=_0x5b7a47,{x:_0x517213,y:_0xfb423a}=_0x17da04;return{'left':_0x193d30,'top':_0x279b3f,'width':_0x517213-_0x193d30,'height':_0xfb423a-_0x279b3f};}[_0x139045(0x68f)](){const _0x2cfdab=_0x139045,{scaleX:_0x373d10,scaleY:_0x3beb6f}=this[_0x2cfdab(0x229)]['getAncestorScale']();return Math['max'](_0x373d10,_0x3beb6f);}}var _0x548a4e=Object[_0x139045(0x620)],_0x223328=Object[_0x139045(0x264)],_0x254074=(_0x5dbb03,_0x23c6dc,_0x19053a,_0x1c1499)=>{const _0x1ece34=_0x139045;for(var _0x14a5cd=_0x1c1499>0x1?void 0x0:_0x1c1499?_0x223328(_0x23c6dc,_0x19053a):_0x23c6dc,_0x48d6b1=_0x5dbb03[_0x1ece34(0x62b)]-0x1,_0xa5312b;_0x48d6b1>=0x0;_0x48d6b1--)(_0xa5312b=_0x5dbb03[_0x48d6b1])&&(_0x14a5cd=(_0x1c1499?_0xa5312b(_0x23c6dc,_0x19053a,_0x14a5cd):_0xa5312b(_0x14a5cd))||_0x14a5cd);return _0x1c1499&&_0x14a5cd&&_0x548a4e(_0x23c6dc,_0x19053a,_0x14a5cd),_0x14a5cd;},_0x53017c=(_0x515238,_0x1d500d)=>(_0x36dcdf,_0x3b16a2)=>_0x1d500d(_0x36dcdf,_0x3b16a2,_0x515238);let _0x53d888=class extends _0x170db9[_0x139045(0x436)]{constructor(_0x37c035,_0x362ffb,_0x37ff64,_0x1d7953,_0xc2d28f){const _0x14165b=_0x139045;super(),_0xee5085(this,_0x14165b(0x432),[]),_0xee5085(this,_0x14165b(0x3f6),[]),(this['_context']=_0x37c035,this['_docSkeletonManagerService']=_0x362ffb,this['_collabCursorController']=_0x37ff64,this[_0x14165b(0x1fb)]=_0x1d7953,this['_themeService']=_0xc2d28f,this[_0x14165b(0x6b9)]());}[_0x139045(0x6b9)](){const _0x46225e=_0x139045,_0x48f42c=this[_0x46225e(0x5ff)][_0x46225e(0x680)],_0x42eef1=this[_0x46225e(0x3a7)];this[_0x46225e(0x32f)](_0x145930[_0x46225e(0x460)]([this['_collabCursorController'][_0x46225e(0x206)](_0x48f42c),this[_0x46225e(0x278)]['currentTheme$']])[_0x46225e(0x640)](_0x34e4e3[_0x46225e(0x33a)](([_0x15e958,_0x3c0074])=>({'skeleton':_0x42eef1[_0x46225e(0x663)](),'cursors':[..._0x15e958['values']()][_0x46225e(0x394)](_0x383dc6=>({..._0x383dc6,'color':_0x3c0074[_0x383dc6[_0x46225e(0x4aa)]]}))})))[_0x46225e(0x519)](_0x430b9f=>{const _0x4e9083=_0x46225e;if(this[_0x4e9083(0x2d8)](),_0x430b9f){const {skeleton:_0x496d75,cursors:_0x2df12f}=_0x430b9f;this[_0x4e9083(0x69b)](_0x496d75,_0x2df12f);}})),this[_0x46225e(0x31f)](),this[_0x46225e(0x23a)]();}[_0x139045(0x69b)](_0x1b0700,_0xded71){const _0x4d8ad6=_0x139045,{scene:_0x171d77,mainComponent:_0x3c3fbb}=this[_0x4d8ad6(0x5ff)],_0x5526bd=_0xded71[_0x4d8ad6(0x33a)](_0x5790fb=>new _0x997d34(_0x5790fb,_0x171d77,_0x1b0700,_0x3c3fbb));this[_0x4d8ad6(0x432)]=_0x5526bd,this[_0x4d8ad6(0x3f6)]=_0xded71;}[_0x139045(0x3d3)](){const _0x445296=_0x139045;this[_0x445296(0x2d8)]();const {scene:_0x4f1b84,mainComponent:_0x412277}=this['_context'],_0x226282=this[_0x445296(0x3a7)][_0x445296(0x663)](),_0x3be7ce=this[_0x445296(0x3f6)][_0x445296(0x33a)](_0x347189=>new _0x997d34(_0x347189,_0x4f1b84,_0x226282,_0x412277));this['_cursorShapes']=_0x3be7ce;}[_0x139045(0x2d8)](){const _0x466ef7=_0x139045;this[_0x466ef7(0x432)]['forEach'](_0x277174=>_0x277174[_0x466ef7(0x33b)]()),this['_cursorShapes']=[];}[_0x139045(0x23a)](){const _0x1d85d1=_0x139045,_0x268735=[_0x5a2d39[_0x1d85d1(0x44f)]['id']];this[_0x1d85d1(0x32f)](this[_0x1d85d1(0x1fb)][_0x1d85d1(0x1f7)](_0x4b9efd=>{const _0x1f426b=_0x1d85d1;_0x268735[_0x1f426b(0x63b)](_0x4b9efd['id'])&&_0x4b9efd[_0x1f426b(0x674)][_0x1f426b(0x680)]===this[_0x1f426b(0x5ff)][_0x1f426b(0x680)]&&this[_0x1f426b(0x3d3)]();}));}['_initResize'](){const _0x3f89b9=_0x139045;this[_0x3f89b9(0x32f)](_0x170db9['fromEventSubject'](this['_context'][_0x3f89b9(0x21e)]['onTransformChange$'])[_0x3f89b9(0x640)](_0x34e4e3[_0x3f89b9(0x296)](_0x174914=>_0x174914[_0x3f89b9(0x3e2)]===_0x224b0f[_0x3f89b9(0x44d)]['resize']),_0x34e4e3[_0x3f89b9(0x532)](0x10))[_0x3f89b9(0x519)](()=>{this['_refreshCollabCursors']();}));}};_0x53d888=_0x254074([_0x53017c(0x1,_0x170db9['Inject'](_0x2bd9e1[_0x139045(0x2ab)])),_0x53017c(0x2,_0x170db9['Inject'](_0x2ef012)),_0x53017c(0x3,_0x170db9[_0x139045(0x301)]),_0x53017c(0x4,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x5fd)]))],_0x53d888);const _0x31a0e7=0x1,_0x11605d=1.5;class _0x1aa00 extends _0x224b0f[_0x139045(0x5db)]{constructor(_0x14895c,_0x443290){const _0x39cdc0=_0x139045;super(_0x14895c,_0x443290),_0xee5085(this,_0x39cdc0(0x5d2)),_0xee5085(this,_0x39cdc0(0x3cd),!0x1),_0xee5085(this,_0x39cdc0(0x5b5)),_0xee5085(this,'_name',''),_0xee5085(this,_0x39cdc0(0x3cb),_0x39cdc0(0x66e)),_0xee5085(this,'_backgroundColor'),(_0x443290&&this['setShapeProps'](_0x443290),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x39cdc0(0x303)]({'hovered':!0x0})),this[_0x39cdc0(0x2f5)][_0x39cdc0(0x34c)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x139045(0x303)](_0x4c83b7){const _0x55c8bc=_0x139045;var _0x5cde48,_0x52020f,_0xc42148,_0x667fc9,_0x1e70b9,_0x3869fa;this[_0x55c8bc(0x5d2)]=(_0x5cde48=_0x4c83b7['color'])!=null?_0x5cde48:this[_0x55c8bc(0x5d2)],this[_0x55c8bc(0x3cd)]=(_0x52020f=_0x4c83b7[_0x55c8bc(0x5f9)])!=null?_0x52020f:this[_0x55c8bc(0x3cd)],this[_0x55c8bc(0x5b5)]=(_0xc42148=_0x4c83b7[_0x55c8bc(0x46a)])!=null?_0xc42148:this[_0x55c8bc(0x5b5)],this[_0x55c8bc(0x559)]=(_0x667fc9=_0x4c83b7[_0x55c8bc(0x566)])!=null?_0x667fc9:this[_0x55c8bc(0x559)],this[_0x55c8bc(0x3cb)]=(_0x1e70b9=_0x4c83b7['labelPosition'])!=null?_0x1e70b9:this[_0x55c8bc(0x3cb)],this[_0x55c8bc(0x5a5)]=(_0x3869fa=_0x4c83b7['backgroundColor'])!=null?_0x3869fa:this['_backgroundColor'],this[_0x55c8bc(0x3c6)]({'width':_0x4c83b7['width'],'height':_0x4c83b7[_0x55c8bc(0x424)]});}[_0x139045(0x591)](_0x3dc6fb){const _0x3acd46=_0x139045,{row:_0x1e72dc,column:_0x3f520f}=_0x3dc6fb;if(_0x1e72dc>=this['_range'][_0x3acd46(0x659)]&&_0x1e72dc<=this['_range']['endRow']&&_0x3f520f>=this[_0x3acd46(0x5b5)][_0x3acd46(0x4f4)]&&_0x3f520f<=this[_0x3acd46(0x5b5)][_0x3acd46(0x4a5)]){this[_0x3acd46(0x303)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x139045(0x65a)](_0x2e8039){return!0x1;}[_0x139045(0x322)](_0x47982e){const _0x39dde8=_0x139045;_0x224b0f[_0x39dde8(0x526)][_0x39dde8(0x268)](_0x47982e,{'width':this[_0x39dde8(0x603)],'height':this[_0x39dde8(0x424)],'strokeWidth':_0x11605d,'stroke':this[_0x39dde8(0x5d2)],'evented':!0x1,'fill':this[_0x39dde8(0x5a5)]}),this[_0x39dde8(0x3cd)]&&(_0x47982e[_0x39dde8(0x676)](),_0x47982e[_0x39dde8(0x49d)](0x1,0x0,0x0,0x1,this[_0x39dde8(0x603)],this[_0x39dde8(0x3cb)]===_0x39dde8(0x293)?0x0:-_0x404904),_0x52e631[_0x39dde8(0x268)](_0x47982e,{'text':this[_0x39dde8(0x559)],'color':this[_0x39dde8(0x5d2)]}),_0x47982e[_0x39dde8(0x2d9)]());}}var _0x4dcad0=Object[_0x139045(0x620)],_0x3600f1=Object[_0x139045(0x264)],_0x4c0194=(_0x433a9a,_0x18b8dd,_0x195e03,_0x4e17ff)=>{const _0x4e0434=_0x139045;for(var _0x3e3ef9=_0x4e17ff>0x1?void 0x0:_0x4e17ff?_0x3600f1(_0x18b8dd,_0x195e03):_0x18b8dd,_0x24034a=_0x433a9a[_0x4e0434(0x62b)]-0x1,_0x5bb9b4;_0x24034a>=0x0;_0x24034a--)(_0x5bb9b4=_0x433a9a[_0x24034a])&&(_0x3e3ef9=(_0x4e17ff?_0x5bb9b4(_0x18b8dd,_0x195e03,_0x3e3ef9):_0x5bb9b4(_0x3e3ef9))||_0x3e3ef9);return _0x4e17ff&&_0x3e3ef9&&_0x4dcad0(_0x18b8dd,_0x195e03,_0x3e3ef9),_0x3e3ef9;},_0x3829e7=(_0x226b30,_0x5d4d7d)=>(_0x2684dd,_0x413c77)=>_0x5d4d7d(_0x2684dd,_0x413c77,_0x226b30);const _0x321824=0x1389;let _0x52b222=class extends _0x170db9['RxDisposable']{constructor(_0x5153b8,_0x26c9ae,_0x12c8a9,_0x2f5e4c){const _0x378c9a=_0x139045;super(),_0xee5085(this,'_cursors',new Set()),_0xee5085(this,_0x378c9a(0x51a),null),(this[_0x378c9a(0x5ff)]=_0x5153b8,this[_0x378c9a(0x45d)]=_0x26c9ae,this[_0x378c9a(0x261)]=_0x12c8a9,this[_0x378c9a(0x278)]=_0x2f5e4c,this[_0x378c9a(0x6b9)]());}['_init'](){const _0x84c851=_0x139045;this[_0x84c851(0x45d)][_0x84c851(0x55e)][_0x84c851(0x640)](_0x34e4e3[_0x84c851(0x28b)](this[_0x84c851(0x67f)]),_0x34e4e3[_0x84c851(0x495)](_0x4ac3f3=>{const _0x218b10=_0x84c851;if(_0x4ac3f3){const _0x33be99=_0x4ac3f3['sheetId'];return _0x145930[_0x218b10(0x460)](this[_0x218b10(0x261)][_0x218b10(0x206)](this[_0x218b10(0x5ff)][_0x218b10(0x680)]),this[_0x218b10(0x278)][_0x218b10(0x5bc)])[_0x218b10(0x640)](_0x34e4e3[_0x218b10(0x33a)](([_0x36a912,_0x2cbc55])=>{const _0x31d9f5=_0x218b10,_0x28a2f5=new Map();return _0x36a912[_0x31d9f5(0x67e)]((_0x44bae0,_0x3f73b7)=>{const _0x25df3d=_0x31d9f5;if(_0x44bae0['sheetID']===_0x33be99){const _0x5d6b06={..._0x44bae0};_0x5d6b06[_0x25df3d(0x4aa)]=_0x2cbc55[_0x44bae0[_0x25df3d(0x4aa)]],_0x28a2f5[_0x25df3d(0x3fd)](_0x3f73b7,_0x5d6b06);}}),{'skeleton':_0x4ac3f3,'cursors':_0x28a2f5};}));}return _0x145930['of']({'skeleton':null,'cursors':new Map()});}))[_0x84c851(0x519)](({skeleton:_0x549045,cursors:_0x1779bd})=>{this['_removeCollabCursors'](),_0x549045&&this['_updateCollabCursors'](_0x549045,_0x1779bd);}),this['_sheetSkeletonManagerService'][_0x84c851(0x55e)][_0x84c851(0x519)](_0x5a9180=>{const _0x3014bf=_0x84c851;if(_0x5a9180==null)return;const {skeleton:_0x1f870d}=_0x5a9180,{scene:_0x43b932}=this[_0x3014bf(0x5ff)];_0x43b932[_0x3014bf(0x563)][_0x3014bf(0x34c)](_0x170db9[_0x3014bf(0x557)](_0x40c5e5=>{const _0x405678=_0x3014bf;var _0xf06999,_0x37618b;const {offsetX:_0x4dd369,offsetY:_0x3fad13}=_0x40c5e5,{x:_0x3d27d9,y:_0x5b653c}=_0x43b932[_0x405678(0x2a8)](_0x224b0f[_0x405678(0x242)][_0x405678(0x46b)]([_0x4dd369,_0x3fad13])),{scaleX:_0x5df469,scaleY:_0x592147}=_0x43b932['getAncestorScale'](),_0x949465=_0x43b932['getViewport'](_0x342006[_0x405678(0x470)][_0x405678(0x2f0)]),_0x2980ce=_0x43b932[_0x405678(0x5f5)](_0x224b0f['Vector2'][_0x405678(0x46b)]([_0x3d27d9,_0x5b653c]),_0x949465),_0x53b68c=_0x1f870d['getCellPositionByOffset'](_0x4dd369,_0x3fad13,_0x5df469,_0x592147,_0x2980ce);((_0xf06999=this[_0x405678(0x51a)])==null?void 0x0:_0xf06999['column'])===_0x53b68c[_0x405678(0x2fe)]&&((_0x37618b=this[_0x405678(0x51a)])==null?void 0x0:_0x37618b[_0x405678(0x338)])===_0x53b68c[_0x405678(0x338)]||this['_cursors'][_0x405678(0x67e)](_0x266e10=>{const _0x305a63=_0x405678;_0x266e10[_0x305a63(0x591)](_0x53b68c);});},0x64));});}['_updateCollabCursors'](_0x39d67d,_0x4b0e8a){const _0xea8247=_0x139045;var _0x4a79d9;const _0x3b3006=(_0x4a79d9=this[_0xea8247(0x45d)][_0xea8247(0x39f)]())==null?void 0x0:_0x4a79d9[_0xea8247(0x38b)];if(!_0x3b3006)return;const _0x452834=this['_getSheetObject']();if(!_0x452834)return;this[_0xea8247(0x3f6)]['forEach'](_0x2f8eb6=>{const _0x2af7fd=_0xea8247;_0x2f8eb6[_0x2af7fd(0x439)]();});const {scene:_0x5925c5}=_0x452834,_0x25404a=_0x1c99d2(Array[_0xea8247(0x3fb)](_0x4b0e8a[_0xea8247(0x671)]()))[_0xea8247(0x33a)](_0x88a57c=>{const _0x55f654=_0xea8247,{color:_0x5caf15,range:_0x490b5a,name:_0x54fde0,selection:_0x56cf94,sheetID:_0x38b77c}=_0x88a57c,{startColumn:_0x93a3f7,startRow:_0x9e10ef,endColumn:_0x13ebca,endRow:_0x20b1fa}=_0x490b5a,_0x564821=_0x342006['getCoordByCell'](_0x9e10ef,_0x93a3f7,_0x5925c5,_0x3b3006),_0x3c0719=_0x342006[_0x55f654(0x317)](_0x20b1fa,_0x13ebca,_0x5925c5,_0x3b3006),{columnHeaderHeightAndMarginTop:_0x1a97b8}=_0x3b3006,{startX:_0x10dd28,startY:_0x28eac4}=_0x564821,{endX:_0x14b95e,endY:_0x229db5}=_0x3c0719,_0x236d54=_0x14b95e-_0x10dd28,_0x2f2b45=_0x229db5-_0x28eac4,_0x14a274={'labelPosition':_0x28eac4-_0x1a97b8>=_0x404904?'top':_0x55f654(0x293),'sheetID':_0x38b77c,'range':_0x490b5a,'color':_0x5caf15,'name':_0x54fde0,'selection':_0x56cf94,'left':_0x10dd28,'top':_0x28eac4,'width':_0x236d54,'height':_0x2f2b45,'evented':!0x1,'zIndex':_0x321824};return new _0x1aa00(_0x54fde0,_0x14a274);});_0x5925c5[_0xea8247(0x469)](_0x25404a,_0x31a0e7),this[_0xea8247(0x3f6)]=new Set(_0x25404a);}['_removeCollabCursors'](){const _0x55fe80=_0x139045;var _0x1108a5;(_0x1108a5=this[_0x55fe80(0x3f6)])==null||_0x1108a5[_0x55fe80(0x67e)](_0x1b56e8=>_0x1b56e8['dispose']());}[_0x139045(0x1ed)](){const _0x3eec0d=_0x139045;return _0x342006[_0x3eec0d(0x525)](this[_0x3eec0d(0x5ff)][_0x3eec0d(0x351)],this[_0x3eec0d(0x5ff)]);}};_0x52b222=_0x4c0194([_0x3829e7(0x1,_0x170db9[_0x139045(0x283)](_0x342006['SheetSkeletonManagerService'])),_0x3829e7(0x2,_0x170db9[_0x139045(0x283)](_0x2ef012)),_0x3829e7(0x3,_0x170db9[_0x139045(0x283)](_0x170db9['ThemeService']))],_0x52b222);function _0x1c99d2(_0x1b0134){const _0x53b9d2=_0x139045,_0x3f3c0d=new Map();return _0x1b0134[_0x53b9d2(0x67e)](_0x51fb63=>{const _0x3766c7=_0x53b9d2;if(_0x3f3c0d[_0x3766c7(0x2d5)](_0x51fb63[_0x3766c7(0x48b)])){const _0x5acfe1=_0x3f3c0d[_0x3766c7(0x51c)](_0x51fb63['selection']);_0x5acfe1['name']+=',\x20'+_0x51fb63['name'];}else _0x3f3c0d['set'](_0x51fb63['selection'],_0x51fb63);}),Array[_0x53b9d2(0x3fb)](_0x3f3c0d['values']());}var _0x4dbd98=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x1022fc(_0x4f818c){const _0x58325c=_0x139045;return _0x4f818c&&_0x4f818c['__esModule']&&Object['prototype'][_0x58325c(0x2ac)][_0x58325c(0x2b0)](_0x4f818c,_0x58325c(0x300))?_0x4f818c['default']:_0x4f818c;}var _0x3cae85={'exports':{}},_0x5c47d6={},_0x80414c=_0x16c5c0,_0x1bcfcf=Symbol['for'](_0x139045(0x450)),_0x4c16d5=Symbol['for'](_0x139045(0x39b)),_0x1fac83=Object['prototype']['hasOwnProperty'],_0xfec32a=_0x80414c[_0x139045(0x6b8)][_0x139045(0x36e)],_0x3876ae={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x4d7bf7(_0x68b6e7,_0x5cd61b,_0x322686){const _0x117e7a=_0x139045;var _0x5911b3,_0x4e6c82={},_0x27198f=null,_0x322aa9=null;_0x322686!==void 0x0&&(_0x27198f=''+_0x322686),_0x5cd61b[_0x117e7a(0x2e2)]!==void 0x0&&(_0x27198f=''+_0x5cd61b[_0x117e7a(0x2e2)]),_0x5cd61b[_0x117e7a(0x356)]!==void 0x0&&(_0x322aa9=_0x5cd61b[_0x117e7a(0x356)]);for(_0x5911b3 in _0x5cd61b)_0x1fac83[_0x117e7a(0x2b0)](_0x5cd61b,_0x5911b3)&&!_0x3876ae[_0x117e7a(0x2ac)](_0x5911b3)&&(_0x4e6c82[_0x5911b3]=_0x5cd61b[_0x5911b3]);if(_0x68b6e7&&_0x68b6e7[_0x117e7a(0x508)]){for(_0x5911b3 in(_0x5cd61b=_0x68b6e7[_0x117e7a(0x508)],_0x5cd61b))_0x4e6c82[_0x5911b3]===void 0x0&&(_0x4e6c82[_0x5911b3]=_0x5cd61b[_0x5911b3]);}return{'$$typeof':_0x1bcfcf,'type':_0x68b6e7,'key':_0x27198f,'ref':_0x322aa9,'props':_0x4e6c82,'_owner':_0xfec32a['current']};}_0x5c47d6[_0x139045(0x281)]=_0x4c16d5,_0x5c47d6['jsx']=_0x4d7bf7,_0x5c47d6['jsxs']=_0x4d7bf7,_0x3cae85[_0x139045(0x5a4)]=_0x5c47d6;var _0x3b2d7d=_0x3cae85[_0x139045(0x5a4)],_0x5ae55f=function(){const _0xeba6ae=_0x139045;return _0x5ae55f=Object[_0xeba6ae(0x245)]||function(_0x35a39f){const _0x389b82=_0xeba6ae;for(var _0x5c9c4a,_0x16d380=0x1,_0x59ac7a=arguments['length'];_0x16d380<_0x59ac7a;_0x16d380++){_0x5c9c4a=arguments[_0x16d380];for(var _0x5c668c in _0x5c9c4a)Object[_0x389b82(0x216)]['hasOwnProperty'][_0x389b82(0x2b0)](_0x5c9c4a,_0x5c668c)&&(_0x35a39f[_0x5c668c]=_0x5c9c4a[_0x5c668c]);}return _0x35a39f;},_0x5ae55f[_0xeba6ae(0x221)](this,arguments);},_0x1ff679=function(_0x10fe45,_0x473022){const _0x58839a=_0x139045;var _0x293c17={};for(var _0x44438f in _0x10fe45)Object[_0x58839a(0x216)][_0x58839a(0x2ac)][_0x58839a(0x2b0)](_0x10fe45,_0x44438f)&&_0x473022['indexOf'](_0x44438f)<0x0&&(_0x293c17[_0x44438f]=_0x10fe45[_0x44438f]);if(_0x10fe45!=null&&typeof Object[_0x58839a(0x2a2)]==_0x58839a(0x231)){for(var _0x433049=0x0,_0x44438f=Object[_0x58839a(0x2a2)](_0x10fe45);_0x433049<_0x44438f['length'];_0x433049++)_0x473022[_0x58839a(0x573)](_0x44438f[_0x433049])<0x0&&Object['prototype'][_0x58839a(0x2c1)][_0x58839a(0x2b0)](_0x10fe45,_0x44438f[_0x433049])&&(_0x293c17[_0x44438f[_0x433049]]=_0x10fe45[_0x44438f[_0x433049]]);}return _0x293c17;},_0x263256=_0x16c5c0[_0x139045(0x414)](function(_0x48cdee,_0x560082){const _0x2a168b=_0x139045;var _0x2cb570=_0x48cdee[_0x2a168b(0x5b8)],_0x48ea32=_0x48cdee['id'],_0xdab6f9=_0x48cdee['className'],_0x327b94=_0x48cdee[_0x2a168b(0x263)],_0x5050e9=_0x1ff679(_0x48cdee,['icon','id',_0x2a168b(0x488),_0x2a168b(0x263)]),_0x212d1d=_0x2a168b(0x420)[_0x2a168b(0x39e)](_0x48ea32,'\x20')['concat'](_0xdab6f9||'')[_0x2a168b(0x58f)](),_0x2696a1=_0x16c5c0[_0x2a168b(0x55f)]('_'[_0x2a168b(0x39e)](_0x220c87()));return _0x191812(_0x2cb570,''[_0x2a168b(0x39e)](_0x48ea32),{'defIds':_0x2cb570[_0x2a168b(0x5ef)],'idSuffix':_0x2696a1[_0x2a168b(0x2c9)]},_0x5ae55f({'ref':_0x560082,'className':_0x212d1d},_0x5050e9),_0x327b94);});function _0x191812(_0x1d84d6,_0x376c5f,_0x477788,_0x5f5361,_0x46fbf){const _0x1c8670=_0x139045;return _0x16c5c0[_0x1c8670(0x2cd)](_0x1d84d6[_0x1c8670(0x6a9)],_0x5ae55f(_0x5ae55f({'key':_0x376c5f},_0x52857b(_0x1d84d6,_0x477788,_0x46fbf)),_0x5f5361),(_0x5159c0(_0x1d84d6,_0x477788)[_0x1c8670(0x53f)]||[])['map'](function(_0x2cc2b0,_0x2a1697){const _0x40a49c=_0x1c8670;return _0x191812(_0x2cc2b0,''[_0x40a49c(0x39e)](_0x376c5f,'-')[_0x40a49c(0x39e)](_0x1d84d6[_0x40a49c(0x6a9)],'-')[_0x40a49c(0x39e)](_0x2a1697),_0x477788,void 0x0,_0x46fbf);}));}function _0x52857b(_0x578ee9,_0x156306,_0x433916){const _0x329582=_0x139045;var _0x3dde6d=_0x5ae55f({},_0x578ee9[_0x329582(0x398)]);_0x433916!=null&&_0x433916[_0x329582(0x5e2)]&&_0x3dde6d[_0x329582(0x31d)]===_0x329582(0x5e2)&&(_0x3dde6d[_0x329582(0x31d)]=_0x433916['colorChannel1']);var _0x58f52f=_0x156306['defIds'];return!_0x58f52f||_0x58f52f['length']===0x0||(_0x578ee9[_0x329582(0x6a9)]==='use'&&_0x3dde6d['xlink:href']&&(_0x3dde6d['xlink:href']=_0x3dde6d[_0x329582(0x3a9)]+_0x156306[_0x329582(0x5c1)]),Object[_0x329582(0x60a)](_0x3dde6d)[_0x329582(0x67e)](function(_0x44c94b){const _0x41fc4f=_0x329582;var _0x148612=_0x44c94b[0x0],_0xd314b9=_0x44c94b[0x1];typeof _0xd314b9==_0x41fc4f(0x5ec)&&(_0x3dde6d[_0x148612]=_0xd314b9[_0x41fc4f(0x42e)](/url\(#(.*)\)/,_0x41fc4f(0x426)[_0x41fc4f(0x39e)](_0x156306[_0x41fc4f(0x5c1)],')')));})),_0x3dde6d;}function _0x5159c0(_0xa3276d,_0x1e12a0){const _0x541d8a=_0x139045;var _0x429b01,_0x4c5546=_0x1e12a0['defIds'];return!_0x4c5546||_0x4c5546[_0x541d8a(0x62b)]===0x0?_0xa3276d:_0xa3276d[_0x541d8a(0x6a9)]===_0x541d8a(0x276)&&(!((_0x429b01=_0xa3276d[_0x541d8a(0x53f)])===null||_0x429b01===void 0x0)&&_0x429b01[_0x541d8a(0x62b)])?_0x5ae55f(_0x5ae55f({},_0xa3276d),{'children':_0xa3276d[_0x541d8a(0x53f)]['map'](function(_0x5d7d8e){const _0x4b7b72=_0x541d8a;return typeof _0x5d7d8e['attrs']['id']==_0x4b7b72(0x5ec)&&_0x4c5546&&_0x4c5546[_0x4b7b72(0x573)](_0x5d7d8e[_0x4b7b72(0x398)]['id'])>-0x1?_0x5ae55f(_0x5ae55f({},_0x5d7d8e),{'attrs':_0x5ae55f(_0x5ae55f({},_0x5d7d8e['attrs']),{'id':_0x5d7d8e['attrs']['id']+_0x1e12a0['idSuffix']})}):_0x5d7d8e;})}):_0xa3276d;}function _0x220c87(){const _0x225a04=_0x139045;return Math[_0x225a04(0x3d4)]()[_0x225a04(0x2eb)](0x24)[_0x225a04(0x3ec)](0x2,0x8);}_0x263256[_0x139045(0x467)]=_0x139045(0x615);var _0x5bd4cb={'tag':_0x139045(0x67a),'attrs':{'fill':'none','viewBox':_0x139045(0x507),'width':_0x139045(0x55b),'height':_0x139045(0x55b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x139045(0x39d),'attrs':{'stroke':_0x139045(0x40f),'d':_0x139045(0x522),'strokeLinecap':_0x139045(0x2bb),'strokeLinejoin':_0x139045(0x2bb),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x139045(0x2c6),'attrs':{'id':_0x139045(0x44a)},'children':[{'tag':_0x139045(0x39d),'attrs':{'fill':_0x139045(0x63a),'d':_0x139045(0x47b)}}]}]}],'defIds':[_0x139045(0x44a)]},_0x50a405=_0x16c5c0[_0x139045(0x414)](function(_0x3c2ac0,_0x3e78bd){const _0x469f18=_0x139045;return _0x16c5c0[_0x469f18(0x2cd)](_0x263256,Object[_0x469f18(0x245)]({},_0x3c2ac0,{'id':_0x469f18(0x572),'ref':_0x3e78bd,'icon':_0x5bd4cb}));});_0x50a405[_0x139045(0x467)]=_0x139045(0x280);var _0x529fc0={'tag':_0x139045(0x67a),'attrs':{'fill':_0x139045(0x505),'viewBox':_0x139045(0x277),'width':_0x139045(0x55b),'height':_0x139045(0x55b)},'children':[{'tag':'g','attrs':{'clipPath':_0x139045(0x5be)},'children':[{'tag':_0x139045(0x39d),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x139045(0x2bb),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x139045(0x276),'attrs':{},'children':[{'tag':_0x139045(0x2c6),'attrs':{'id':_0x139045(0x5eb)},'children':[{'tag':_0x139045(0x39d),'attrs':{'fill':_0x139045(0x63a),'d':_0x139045(0x47b),'transform':_0x139045(0x2af)}}]}]}],'defIds':[_0x139045(0x5eb)]},_0x441a03=_0x16c5c0[_0x139045(0x414)](function(_0x5e6eb8,_0x510982){const _0x1c7d38=_0x139045;return _0x16c5c0[_0x1c7d38(0x2cd)](_0x263256,Object[_0x1c7d38(0x245)]({},_0x5e6eb8,{'id':_0x1c7d38(0x365),'ref':_0x510982,'icon':_0x529fc0}));});_0x441a03[_0x139045(0x467)]=_0x139045(0x1ec);function _0x4e2cc2(_0x41e1df){const _0x4f5eb6=_0x139045;var _0x18da62,_0x408101,_0x4a147c='';if(typeof _0x41e1df==_0x4f5eb6(0x5ec)||typeof _0x41e1df=='number')_0x4a147c+=_0x41e1df;else{if(typeof _0x41e1df==_0x4f5eb6(0x430)){if(Array['isArray'](_0x41e1df)){var _0x4c43cf=_0x41e1df['length'];for(_0x18da62=0x0;_0x18da62<_0x4c43cf;_0x18da62++)_0x41e1df[_0x18da62]&&(_0x408101=_0x4e2cc2(_0x41e1df[_0x18da62]))&&(_0x4a147c&&(_0x4a147c+='\x20'),_0x4a147c+=_0x408101);}else{for(_0x408101 in _0x41e1df)_0x41e1df[_0x408101]&&(_0x4a147c&&(_0x4a147c+='\x20'),_0x4a147c+=_0x408101);}}}return _0x4a147c;}function _0x1d00f2(){const _0x71adbb=_0x139045;for(var _0x20c644,_0x3dd8aa,_0x5b40eb=0x0,_0x166e73='',_0x557ac8=arguments[_0x71adbb(0x62b)];_0x5b40eb<_0x557ac8;_0x5b40eb++)(_0x20c644=arguments[_0x5b40eb])&&(_0x3dd8aa=_0x4e2cc2(_0x20c644))&&(_0x166e73&&(_0x166e73+='\x20'),_0x166e73+=_0x3dd8aa);return _0x166e73;}const _0x450aa9={'onlineStatusIcon':_0x139045(0x45e),'onlineStatusTitle':_0x139045(0x35b),'onlineStatus':_0x139045(0x4b5),'online':_0x139045(0x224),'offline':_0x139045(0x279)};function _0x29191e(_0x42436e){const _0x3f22b3=_0x139045;switch(_0x42436e){case _0xd10e72['OFFLINE']:return _0x3f22b3(0x23b);case _0xd10e72[_0x3f22b3(0x54b)]:return'collabStatus.conflict';case _0xd10e72[_0x3f22b3(0x321)]:return _0x3f22b3(0x5ee);case _0xd10e72['NOT_COLLAB']:return'collabStatus.notCollab';case _0xd10e72[_0x3f22b3(0x2e7)]:case _0xd10e72['AWAITING_WITH_PENDING']:return _0x3f22b3(0x596);case _0xd10e72['SYNCED']:case _0xd10e72['PENDING']:return _0x3f22b3(0x1f6);}}function _0x3294e8(_0x31149e){const _0x4dc868=_0x139045,{status$:_0xc9b94c}=_0x31149e,_0x37dbad=_0x332830[_0x4dc868(0x4be)](_0xc9b94c,_0xd10e72[_0x4dc868(0x22a)]),_0x438bfe=_0x170db9[_0x4dc868(0x69a)](_0x170db9[_0x4dc868(0x2bc)]),_0xd4fd3d=_0x170db9['useDependency'](_0x2ebd39[_0x4dc868(0x353)]),_0x4f7d45=_0x37dbad!==_0xd10e72[_0x4dc868(0x21d)],_0x231f56=_0x438bfe['t'](_0x29191e(_0x37dbad)),_0x3c7730=_0x1d00f2(_0x450aa9[_0x4dc868(0x4dc)],{[_0x450aa9[_0x4dc868(0x34f)]]:_0x4f7d45,[_0x450aa9[_0x4dc868(0x272)]]:!_0x4f7d45}),_0x485b6a=_0x4f7d45?_0x3b2d7d[_0x4dc868(0x381)](_0x441a03,{}):_0x3b2d7d['jsx'](_0x50a405,{}),_0x7cd182=_0x16c5c0[_0x4dc868(0x200)](()=>{const _0x481a35=_0x4dc868;_0x4f7d45||_0xd4fd3d[_0x481a35(0x5a7)]();},[_0x4f7d45,_0xd4fd3d]);function _0x5acd90(){const _0x33e42b=_0x4dc868;return _0x3b2d7d[_0x33e42b(0x340)](_0x33e42b(0x542),{'className':_0x3c7730,'onClick':_0x7cd182,'children':[_0x3b2d7d[_0x33e42b(0x381)](_0x33e42b(0x542),{'className':_0x450aa9[_0x33e42b(0x376)],'children':_0x485b6a}),_0x3b2d7d[_0x33e42b(0x381)](_0x33e42b(0x542),{'className':_0x450aa9[_0x33e42b(0x455)],'children':_0x231f56})]});}return _0x4f7d45?_0x5acd90():_0x3b2d7d[_0x4dc868(0x381)](_0x3e1273[_0x4dc868(0x22c)],{'title':_0x438bfe['t'](_0x4dc868(0x3bb)),'children':_0x5acd90()});}var _0x279627=Object[_0x139045(0x620)],_0x3ce642=Object[_0x139045(0x264)],_0x3bcda4=(_0x48c37c,_0x5ab45e,_0x19a3e8,_0x495f17)=>{const _0x2c46ea=_0x139045;for(var _0xef4936=_0x495f17>0x1?void 0x0:_0x495f17?_0x3ce642(_0x5ab45e,_0x19a3e8):_0x5ab45e,_0x1297ef=_0x48c37c[_0x2c46ea(0x62b)]-0x1,_0x4f3b45;_0x1297ef>=0x0;_0x1297ef--)(_0x4f3b45=_0x48c37c[_0x1297ef])&&(_0xef4936=(_0x495f17?_0x4f3b45(_0x5ab45e,_0x19a3e8,_0xef4936):_0x4f3b45(_0xef4936))||_0xef4936);return _0x495f17&&_0xef4936&&_0x279627(_0x5ab45e,_0x19a3e8,_0xef4936),_0xef4936;},_0x20ce52=(_0xdef45,_0x3288d6)=>(_0x5219f8,_0x2ee06f)=>_0x3288d6(_0x5219f8,_0x2ee06f,_0xdef45);_0x2ebd39[_0x139045(0x5a0)]=class extends _0x170db9[_0x139045(0x399)]{constructor(_0x22b8c7,_0x372874,_0x30d655,_0x5d9110){const _0x726fad=_0x139045;super(),_0xee5085(this,_0x726fad(0x413),new _0x145930[(_0x726fad(0x58b))](_0xd10e72[_0x726fad(0x22a)])),(this[_0x726fad(0x230)]=_0x22b8c7,this['_uiPartsService']=_0x372874,this[_0x726fad(0x43f)]=_0x30d655,this[_0x726fad(0x6b6)]=_0x5d9110,this[_0x726fad(0x504)](),this[_0x726fad(0x42d)]());}['_initStatusListener'](){const _0x4a5291=_0x139045;this[_0x4a5291(0x32f)](this[_0x4a5291(0x230)][_0x4a5291(0x695)]['pipe'](_0x145930[_0x4a5291(0x495)](()=>{const _0x5b37b3=_0x4a5291,_0x5ea438=this[_0x5b37b3(0x230)]['getFocusedUnit']();return _0x5ea438?this[_0x5b37b3(0x6b6)]['getCollabEntity$'](_0x5ea438[_0x5b37b3(0x238)]()):_0x145930['of'](null);}),_0x145930[_0x4a5291(0x495)](_0x38a652=>_0x38a652?_0x38a652['status$']:_0x145930['of'](_0xd10e72[_0x4a5291(0x22a)])))['subscribe'](_0x235f1d=>{const _0x19eee3=_0x4a5291;this['_status$'][_0x19eee3(0x4ed)](_0x235f1d);}));}[_0x139045(0x504)](){const _0x1f3a96=_0x139045;this[_0x1f3a96(0x32f)](this['_uiPartsService'][_0x1f3a96(0x472)](_0x332830[_0x1f3a96(0x4e6)]['HEADER_MENU'],()=>_0x170db9[_0x1f3a96(0x38a)](_0x5847d2({'status$':this[_0x1f3a96(0x413)]['asObservable']()}),this[_0x1f3a96(0x43f)])));}},_0x2ebd39['DesktopCollaborationStatusDisplayController']=_0x3bcda4([_0x20ce52(0x0,_0x170db9[_0x139045(0x22f)]),_0x20ce52(0x1,_0x332830[_0x139045(0x4b3)]),_0x20ce52(0x2,_0x170db9['Inject'](_0x170db9[_0x139045(0x667)])),_0x20ce52(0x3,_0x170db9['Inject'](_0x2ebd39['CollaborationController']))],_0x2ebd39[_0x139045(0x5a0)]);function _0x5847d2(_0x3e781a){const {status$:_0x25b2f3}=_0x3e781a;return function(){const _0x475485=_0x10db;return _0x3b2d7d[_0x475485(0x381)](_0x3294e8,{'status$':_0x25b2f3});};}const _0x395cfd=_0x170db9[_0x139045(0x360)]('uni.network.url-service');var _0x232f6e=Object[_0x139045(0x620)],_0x4bae6d=Object[_0x139045(0x264)],_0x40c34b=(_0x2b4b20,_0x13fa4b,_0x3b4952,_0x15df2c)=>{const _0x55167d=_0x139045;for(var _0x33c010=_0x15df2c>0x1?void 0x0:_0x15df2c?_0x4bae6d(_0x13fa4b,_0x3b4952):_0x13fa4b,_0x178ff0=_0x2b4b20[_0x55167d(0x62b)]-0x1,_0x3c1005;_0x178ff0>=0x0;_0x178ff0--)(_0x3c1005=_0x2b4b20[_0x178ff0])&&(_0x33c010=(_0x15df2c?_0x3c1005(_0x13fa4b,_0x3b4952,_0x33c010):_0x3c1005(_0x33c010))||_0x33c010);return _0x15df2c&&_0x33c010&&_0x232f6e(_0x13fa4b,_0x3b4952,_0x33c010),_0x33c010;},_0x336286=(_0x526719,_0x12e0f7)=>(_0x720bd4,_0x2013de)=>_0x12e0f7(_0x720bd4,_0x2013de,_0x526719);_0x2ebd39[_0x139045(0x2c3)]=class extends _0x170db9[_0x139045(0x436)]{constructor(_0x338339,_0x3622f9,_0x58ef85,_0x13217d,_0x5bd1e3,_0x3ec20c){const _0x1eab5c=_0x139045;super(),this['_urlService']=_0x338339,this[_0x1eab5c(0x5b4)]=_0x3622f9,this['_commandService']=_0x58ef85,this['_localCacheService']=_0x13217d,this[_0x1eab5c(0x1e9)]=_0x5bd1e3,_0x3ec20c?_0x3ec20c==null||_0x3ec20c[_0x1eab5c(0x32c)]()['then'](()=>this[_0x1eab5c(0x6b9)]()):(this['_logService'][_0x1eab5c(0x4e1)]('[DataLoaderController]',_0x1eab5c(0x3ff)),this[_0x1eab5c(0x6b9)]());}async[_0x139045(0x6b9)](){const _0x5a15a6=_0x139045,_0x8e2478=this[_0x5a15a6(0x562)][_0x5a15a6(0x68b)]('unit'),_0x1a8374=this[_0x5a15a6(0x562)][_0x5a15a6(0x68b)](_0x5a15a6(0x3e2));if(!_0x8e2478||!_0x1a8374){this['_logService']['debug']('[DataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x1a8374)){case _0x5950ae[_0x5a15a6(0x696)]:{const _0x3de9b6=await this[_0x5a15a6(0x249)](_0x8e2478);this[_0x5a15a6(0x408)](_0x3de9b6);break;}case _0x5950ae['UNIVER_DOC']:{await this[_0x5a15a6(0x67b)](_0x8e2478);break;}default:{this[_0x5a15a6(0x5b4)][_0x5a15a6(0x406)](_0x5a15a6(0x468),_0x5a15a6(0x1f3));break;}}}async[_0x139045(0x408)](_0x2c9185){const _0x2562ea=_0x139045;await this[_0x2562ea(0x21f)](_0x2c9185),_0x2c9185[_0x2562ea(0x512)][_0x2562ea(0x640)](_0x145930[_0x2562ea(0x28b)](this[_0x2562ea(0x67f)]))[_0x2562ea(0x519)](_0xbfbcc1=>{const _0x5a7033=_0x2562ea;_0xbfbcc1&&this[_0x5a7033(0x260)](_0xbfbcc1);}),this[_0x2562ea(0x562)][_0x2562ea(0x61c)][_0x2562ea(0x640)](_0x145930[_0x2562ea(0x28b)](this['dispose$']))[_0x2562ea(0x519)](()=>this[_0x2562ea(0x21f)](_0x2c9185));}[_0x139045(0x260)](_0x317a90,_0x16d556=!0x1){const _0x995f4e=_0x139045,_0x434731=this[_0x995f4e(0x562)][_0x995f4e(0x68b)]('subunit');_0x317a90['getSheetId']()!==_0x434731&&this['_urlService']['setParam'](_0x995f4e(0x437),_0x317a90[_0x995f4e(0x2be)](),_0x16d556);}async[_0x139045(0x21f)](_0x399041){const _0x21a482=_0x139045;var _0x3b0741;const _0x30c8ea=this['_urlService']['getParam'](_0x21a482(0x437));if(!_0x30c8ea||!_0x399041[_0x21a482(0x47a)](_0x30c8ea)){const _0x53558e=_0x399041[_0x21a482(0x344)]()[0x0],_0x1a1552=_0x399041['getSheetBySheetId'](_0x53558e);if(!_0x1a1552)return;this[_0x21a482(0x260)](_0x1a1552,!0x0),await this[_0x21a482(0x1fb)]['executeCommand'](_0x292e35['SetWorksheetActivateCommand']['id'],{'unitId':_0x399041['getUnitId'](),'subUnitId':_0x53558e});return;}((_0x3b0741=_0x399041['getActiveSheet']())==null?void 0x0:_0x3b0741[_0x21a482(0x2be)]())!==_0x30c8ea&&await this[_0x21a482(0x1fb)][_0x21a482(0x3c3)](_0x292e35[_0x21a482(0x3d6)]['id'],{'unitId':_0x399041[_0x21a482(0x238)](),'subUnitId':_0x30c8ea});}async[_0x139045(0x249)](_0x458d5e){const _0x5c5574=_0x139045;let _0x1bc7c8=0x0;const _0x58fed3=await this[_0x5c5574(0x2f2)]['loadOfflineData'](_0x458d5e);return _0x58fed3&&(_0x58fed3['awaitingChangeset']||_0x58fed3[_0x5c5574(0x29f)][_0x5c5574(0x62b)]!==0x0)&&(_0x1bc7c8=_0x58fed3[_0x5c5574(0x65c)]),_0x1bc7c8===0x0&&this[_0x5c5574(0x5b4)][_0x5c5574(0x4e1)]('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService']['loadSheet'](_0x458d5e,_0x1bc7c8);}async[_0x139045(0x67b)](_0x56ea99){const _0x3ddd30=_0x139045;let _0x1fdeaf=0x0;const _0x5b60e6=await this[_0x3ddd30(0x2f2)][_0x3ddd30(0x3e0)](_0x56ea99);return _0x5b60e6&&(_0x5b60e6[_0x3ddd30(0x243)]||_0x5b60e6[_0x3ddd30(0x29f)][_0x3ddd30(0x62b)]!==0x0)&&(_0x1fdeaf=_0x5b60e6['rev']),_0x1fdeaf===0x0&&this[_0x3ddd30(0x5b4)][_0x3ddd30(0x4e1)](_0x3ddd30(0x468),_0x3ddd30(0x513)),this[_0x3ddd30(0x1e9)]['loadDoc'](_0x56ea99,_0x1fdeaf);}},_0x2ebd39['DataLoaderController']=_0x40c34b([_0x336286(0x0,_0x395cfd),_0x336286(0x1,_0x170db9[_0x139045(0x686)]),_0x336286(0x2,_0x170db9['ICommandService']),_0x336286(0x3,_0x170db9['Inject'](_0x2ebd39[_0x139045(0x477)])),_0x336286(0x4,_0x170db9[_0x139045(0x283)](_0x294b4b[_0x139045(0x2b3)])),_0x336286(0x5,_0x170db9[_0x139045(0x635)](_0x3227e1[_0x139045(0x5df)]))],_0x2ebd39[_0x139045(0x2c3)]);var _0x5b885e=Object['defineProperty'],_0x40c6d3=Object['getOwnPropertyDescriptor'],_0x176149=(_0x5d519d,_0x204ed0,_0x1bc4a0,_0x49b452)=>{const _0x154c30=_0x139045;for(var _0x27f359=_0x49b452>0x1?void 0x0:_0x49b452?_0x40c6d3(_0x204ed0,_0x1bc4a0):_0x204ed0,_0x419b78=_0x5d519d[_0x154c30(0x62b)]-0x1,_0x5ee773;_0x419b78>=0x0;_0x419b78--)(_0x5ee773=_0x5d519d[_0x419b78])&&(_0x27f359=(_0x49b452?_0x5ee773(_0x204ed0,_0x1bc4a0,_0x27f359):_0x5ee773(_0x27f359))||_0x27f359);return _0x49b452&&_0x27f359&&_0x5b885e(_0x204ed0,_0x1bc4a0,_0x27f359),_0x27f359;},_0x3f56f8=(_0x29d2d7,_0x55d0fc)=>(_0x10e401,_0xf5e74)=>_0x55d0fc(_0x10e401,_0xf5e74,_0x29d2d7);const _0x5b5166=_0x139045(0x4d0),_0x35a4c0=_0x139045(0x583);let _0x444c85=class extends _0x170db9[_0x139045(0x399)]{constructor(_0x20ee52,_0xbf6171){const _0x3dd505=_0x139045;super(),this[_0x3dd505(0x230)]=_0x20ee52,this[_0x3dd505(0x397)]=_0xbf6171,this[_0x3dd505(0x6b9)]();}[_0x139045(0x6b9)](){const _0x344642=_0x139045;this[_0x344642(0x32f)](this[_0x344642(0x230)]['focused$'][_0x344642(0x519)](()=>{const _0x5a908c=_0x344642;var _0x3c2ac6;const _0x1576d0=this[_0x5a908c(0x230)]['getFocusedUnit']();let _0x5b4929=(_0x3c2ac6=this[_0x5a908c(0x397)][_0x5a908c(0x34b)](_0x5b5166))!=null?_0x3c2ac6:_0x35a4c0;_0x1576d0 instanceof _0x170db9['Workbook']&&(_0x5b4929=_0x1576d0[_0x5a908c(0x566)]),document['title']=_0x5b4929;}));}};_0x444c85=_0x176149([_0x3f56f8(0x0,_0x170db9['IUniverInstanceService']),_0x3f56f8(0x1,_0x170db9[_0x139045(0x57a)])],_0x444c85);var _0x5f27c2=Object['defineProperty'],_0xee7c02=Object['getOwnPropertyDescriptor'],_0x458e42=(_0x305b45,_0x163459,_0x1e2ea3,_0x3f5710)=>{for(var _0x410713=_0x3f5710>0x1?void 0x0:_0x3f5710?_0xee7c02(_0x163459,_0x1e2ea3):_0x163459,_0x3aef98=_0x305b45['length']-0x1,_0x4ab1c1;_0x3aef98>=0x0;_0x3aef98--)(_0x4ab1c1=_0x305b45[_0x3aef98])&&(_0x410713=(_0x3f5710?_0x4ab1c1(_0x163459,_0x1e2ea3,_0x410713):_0x4ab1c1(_0x410713))||_0x410713);return _0x3f5710&&_0x410713&&_0x5f27c2(_0x163459,_0x1e2ea3,_0x410713),_0x410713;},_0x302ad6=(_0x50b3a3,_0x226e65)=>(_0xa7e6f4,_0x1e29b8)=>_0x226e65(_0xa7e6f4,_0x1e29b8,_0x50b3a3);let _0x16eff6=class{constructor(_0x505ff4,_0x1e7e4b,_0x466896){const _0x12db0e=_0x139045;this[_0x12db0e(0x397)]=_0x505ff4,this[_0x12db0e(0x517)]=_0x1e7e4b,this[_0x12db0e(0x452)]=_0x466896,this[_0x12db0e(0x4a1)]();}['init'](){const _0x3ead66=_0x139045;this['_httpService'][_0x3ead66(0x1fd)]({'priority':0x1,'interceptor':(_0x5027a6,_0x4a97df)=>_0x4a97df(_0x5027a6)[_0x3ead66(0x640)](_0x145930[_0x3ead66(0x628)](async _0x393f05=>{const _0x17c3bb=_0x3ead66,_0x42465e=_0x393f05;if(_0x42465e[_0x17c3bb(0x5f4)]===0x191&&window[_0x17c3bb(0x6b3)](this[_0x17c3bb(0x452)]['t'](_0x17c3bb(0x297)))){const _0x22750d=window['encodeURIComponent'](window[_0x17c3bb(0x41d)]['href']);window['location'][_0x17c3bb(0x6a4)]=this['_getLoginPath']()+'?url='+_0x22750d;}return _0x42465e;}))});}[_0x139045(0x492)](){const _0x5ef21b=_0x139045;var _0x3eaa9a,_0x50c201;const _0x3eb22a=this[_0x5ef21b(0x397)][_0x5ef21b(0x34b)](_0x3cb970),_0x5323f2=this[_0x5ef21b(0x397)][_0x5ef21b(0x34b)](_0x2cc87b);return(_0x50c201=(_0x3eaa9a=_0x5323f2==null?void 0x0:_0x5323f2[_0x5ef21b(0x40b)])!=null?_0x3eaa9a:_0x3eb22a)!=null?_0x50c201:_0x421a0a;}};_0x16eff6=_0x458e42([_0x302ad6(0x0,_0x170db9[_0x139045(0x57a)]),_0x302ad6(0x1,_0x170db9['Inject'](_0x2e400a[_0x139045(0x201)])),_0x302ad6(0x2,_0x170db9['Inject'](_0x170db9[_0x139045(0x2bc)]))],_0x16eff6);var _0x2e6123=Object[_0x139045(0x620)],_0x2962b7=Object['getOwnPropertyDescriptor'],_0xb04506=(_0x198ede,_0x5ef0e6,_0x5996ea,_0x25d9ae)=>{const _0x522c47=_0x139045;for(var _0x3e0319=_0x25d9ae>0x1?void 0x0:_0x25d9ae?_0x2962b7(_0x5ef0e6,_0x5996ea):_0x5ef0e6,_0x488d55=_0x198ede[_0x522c47(0x62b)]-0x1,_0x37cbb4;_0x488d55>=0x0;_0x488d55--)(_0x37cbb4=_0x198ede[_0x488d55])&&(_0x3e0319=(_0x25d9ae?_0x37cbb4(_0x5ef0e6,_0x5996ea,_0x3e0319):_0x37cbb4(_0x3e0319))||_0x3e0319);return _0x25d9ae&&_0x3e0319&&_0x2e6123(_0x5ef0e6,_0x5996ea,_0x3e0319),_0x3e0319;},_0x276f51=(_0x2ea835,_0x3619a6)=>(_0xdf8312,_0x3ce287)=>_0x3619a6(_0xdf8312,_0x3ce287,_0x2ea835);const _0xe9baf9='AUTHZ_URL_KEY',_0x215dc3=_0x139045(0x5c4);_0x2ebd39[_0x139045(0x3d5)]=class extends _0x170db9[_0x139045(0x399)]{constructor(_0x1c996a,_0x5cf74e){const _0x50aaa2=_0x139045;super(),this['_HTTPService']=_0x1c996a,this[_0x50aaa2(0x397)]=_0x5cf74e,this[_0x50aaa2(0x533)]();}['_initMergeInterceptor'](){const _0x25d510=_0x139045,_0x2f8cea=this;this[_0x25d510(0x32f)](this[_0x25d510(0x5b1)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x2e400a['MergeInterceptorFactory']({'isMatch'(_0x353629){const _0x5972bf=_0x25d510;var _0x54ae4b;if(_0x353629[_0x5972bf(0x458)]==='POST'&&((_0x54ae4b=_0x353629[_0x5972bf(0x699)])!=null&&_0x54ae4b[_0x5972bf(0x43e)])){const {objectID:_0x5984b7,objectType:_0xa5e6c6}=_0x353629[_0x5972bf(0x699)][_0x5972bf(0x43e)]||{};if(!_0x5984b7||_0xa5e6c6===void 0x0)return!0x1;const _0x8f3bb8=_0x2f8cea[_0x5972bf(0x3c4)]()+'/'+_0xa5e6c6+'/object/'+_0x5984b7+_0x5972bf(0x4eb);if(_0x353629[_0x5972bf(0x64f)]===_0x8f3bb8)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2b00b6){const _0x40a8eb=_0x25d510;var _0x233e20;return(_0x233e20=_0x2b00b6[_0x40a8eb(0x699)])==null?void 0x0:_0x233e20[_0x40a8eb(0x43e)];},'mergeParamsToRequest'(_0x3aadf8,_0x568aec){const _0x566543=_0x25d510,_0x55dabd=_0x2f8cea['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x3a41fb=_0x3aadf8[_0x566543(0x2c8)]((_0x541bc5,_0x4ad73c)=>{const _0xc634b8=_0x566543,{unitID:_0x248387,objectID:_0x16a004,objectType:_0x51453b,actions:_0x56ec8d}=_0x4ad73c;return _0x541bc5[_0x248387]||(_0x541bc5[_0x248387]={}),_0x541bc5[_0x248387][_0x16a004]||(_0x541bc5[_0x248387][_0x16a004]={'objectID':_0x16a004,'objectType':_0x51453b,'actions':[]}),_0x541bc5[_0x248387][_0x16a004][_0xc634b8(0x4c3)]['push'](..._0x56ec8d),_0x541bc5;},{}),_0x26db27=[];for(const _0x29ec37 in _0x3a41fb)for(const _0x1acbea in _0x3a41fb[_0x29ec37]){const {actions:_0x2cf14d,objectType:_0x108e0d}=_0x3a41fb[_0x29ec37][_0x1acbea],_0x323f5e=[...new Set(_0x2cf14d)];_0x26db27['push']({'unitID':_0x29ec37,'objectID':_0x1acbea,'objectType':_0x108e0d,'actions':_0x323f5e});}return new _0x2e400a[(_0x566543(0x5cf))]('POST',_0x55dabd,{'headers':_0x568aec[_0x566543(0x4b6)],'withCredentials':_0x568aec['withCredentials'],'responseType':_0x568aec[_0x566543(0x2cb)],'body':{'requests':_0x26db27}});}},{'distributeResult'(_0x1bf2b7,_0x4b1a30){const _0x56d145=_0x25d510,{objectActions:_0x229715}=_0x1bf2b7;return _0x4b1a30[_0x56d145(0x33a)](_0x2dce28=>{const _0x5788f4=_0x56d145,{unitID:_0x3d58ed,objectID:_0x150d79,actions:_0x1bb768}=_0x2dce28,_0x1cb728=_0x229715['find'](_0x1d89e6=>_0x1d89e6[_0x5788f4(0x4ee)]===_0x3d58ed&&_0x1d89e6['objectID']===_0x150d79),_0x5ac04d=_0x1bb768[_0x5788f4(0x33a)](_0x436f2d=>_0x1cb728==null?void 0x0:_0x1cb728[_0x5788f4(0x4c3)][_0x5788f4(0x6a1)](_0x234a96=>_0x234a96[_0x5788f4(0x528)]===_0x436f2d))[_0x5788f4(0x296)](_0x5a0c75=>!!_0x5a0c75);return{'config':_0x2dce28,'result':{'actions':_0x5ac04d,'error':_0x1bf2b7['error']}};});}})}));}['_getAPIPrefixPath'](){const _0x237e49=_0x139045;var _0x35d280,_0x854d15;const _0x23608d=this[_0x237e49(0x397)][_0x237e49(0x34b)](_0xe9baf9),_0x59e85e=this[_0x237e49(0x397)][_0x237e49(0x34b)](_0x2cc87b);return(_0x854d15=(_0x35d280=_0x59e85e==null?void 0x0:_0x59e85e[_0x237e49(0x292)])!=null?_0x35d280:_0x23608d)!=null?_0x854d15:_0x215dc3;}async['create'](_0x7ccd72){const _0x39017d=_0x139045,_0x4ae375=this[_0x39017d(0x3c4)]()+'/'+_0x7ccd72[_0x39017d(0x5a6)]+_0x39017d(0x31c);return(await this[_0x39017d(0x5b1)][_0x39017d(0x564)](_0x4ae375,{'body':_0x7ccd72}))[_0x39017d(0x43e)][_0x39017d(0x491)]||'';}async[_0x139045(0x1ef)](_0x154878){const _0x514252=_0x139045,_0x3af453=this[_0x514252(0x3c4)]()+_0x514252(0x3db);return(await this[_0x514252(0x5b1)]['post'](_0x3af453,{'body':_0x154878}))[_0x514252(0x43e)][_0x514252(0x5d6)];}async[_0x139045(0x431)](_0x17a81d){const _0xfe2030=_0x139045,_0x21647e=this[_0xfe2030(0x3c4)]()+'/'+_0x17a81d[_0xfe2030(0x5a6)]+_0xfe2030(0x59b)+_0x17a81d['objectID'];await this['_HTTPService'][_0xfe2030(0x561)](_0x21647e,{'body':_0x17a81d});}async['allowed'](_0x507134){const _0x52724d=_0x139045,_0x2122bc=this[_0x52724d(0x3c4)]()+'/'+_0x507134[_0x52724d(0x5a6)]+_0x52724d(0x59b)+_0x507134['objectID']+'/allowed';return(await this[_0x52724d(0x5b1)][_0x52724d(0x564)](_0x2122bc,{'body':_0x507134}))['body']['actions'];}async['batchAllowed'](_0x4e6430){const _0x4d3f7a=_0x139045,_0x50c874=this[_0x4d3f7a(0x3c4)]()+_0x4d3f7a(0x21b);return(await this[_0x4d3f7a(0x5b1)][_0x4d3f7a(0x564)](_0x50c874,{'body':{'requests':_0x4e6430}}))[_0x4d3f7a(0x43e)][_0x4d3f7a(0x3b9)];}async[_0x139045(0x5c5)](_0x4f100b){const _0x5980ee=_0x139045,_0x2a917d=this[_0x5980ee(0x3c4)]()+'/'+_0x4f100b[_0x5980ee(0x5a6)]+_0x5980ee(0x4dd),_0x1d30d8=await this['_HTTPService']['post'](_0x2a917d,{'body':_0x4f100b});return{'roles':_0x1d30d8[_0x5980ee(0x43e)][_0x5980ee(0x23f)],'actions':_0x1d30d8['body'][_0x5980ee(0x4c3)]};}async[_0x139045(0x2f3)](_0x3fce4b){const _0x3e5a01=_0x139045,_0x1d0460=this[_0x3e5a01(0x3c4)]()+_0x3e5a01(0x6bb);await this[_0x3e5a01(0x5b1)]['delete'](_0x1d0460,{'params':{'collaboratorID':_0x3fce4b['collaboratorID'],'objectID':_0x3fce4b[_0x3e5a01(0x491)],'unitID':_0x3fce4b[_0x3e5a01(0x4ee)]}});}async[_0x139045(0x33f)](_0x133f48){const _0x11cebe=_0x139045,_0xaf46fc=this[_0x11cebe(0x3c4)]()+_0x11cebe(0x6bb);await this[_0x11cebe(0x5b1)][_0x11cebe(0x5e4)](_0xaf46fc,{'body':_0x133f48});}async[_0x139045(0x638)](_0x149bcd){const _0x4a61da=_0x139045,_0x4beec6=this[_0x4a61da(0x3c4)]()+'/collaborator';await this['_HTTPService']['post'](_0x4beec6,{'body':_0x149bcd});}async['listCollaborators'](_0x38972){const _0x5a19df=_0x139045,_0x5a62b7=this[_0x5a19df(0x3c4)]()+_0x5a19df(0x6bb);return(await this[_0x5a19df(0x5b1)][_0x5a19df(0x51c)](_0x5a62b7,{'params':{'objectID':_0x38972['objectID'],'unitID':_0x38972[_0x5a19df(0x4ee)]}}))[_0x5a19df(0x43e)]['collaborators'];}async[_0x139045(0x465)](_0x406ec0){const _0x5e99eb=_0x139045,_0x3ae7c7=this[_0x5e99eb(0x3c4)]()+_0x5e99eb(0x6bb);await this[_0x5e99eb(0x5b1)][_0x5e99eb(0x561)](_0x3ae7c7,{'body':_0x406ec0});}},_0x2ebd39[_0x139045(0x3d5)]=_0xb04506([_0x276f51(0x0,_0x170db9[_0x139045(0x283)](_0x2e400a[_0x139045(0x201)])),_0x276f51(0x1,_0x170db9['Inject'](_0x170db9[_0x139045(0x57a)]))],_0x2ebd39[_0x139045(0x3d5)]);var _0x5668c1={'exports':{}};function _0x234a19(_0x59cf4d){const _0x10de30=_0x139045;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x59cf4d+_0x10de30(0x307));}var _0x37621c={'exports':{}},_0x5df769;function _0x4d115a(){const _0x5b95ce=_0x139045;return _0x5df769||(_0x5df769=0x1,function(_0x2a6407,_0x1eba48){(function(_0x23759c,_0x391ae5){const _0x57fe09=_0x10db;_0x2a6407[_0x57fe09(0x5a4)]=_0x391ae5();}(_0x4dbd98,function(){var _0x55425f=_0x55425f||function(_0x243700,_0x36232a){const _0x25b424=_0x10db;var _0xb13894;if(typeof window<'u'&&window['crypto']&&(_0xb13894=window['crypto']),typeof self<'u'&&self[_0x25b424(0x462)]&&(_0xb13894=self['crypto']),typeof globalThis<'u'&&globalThis[_0x25b424(0x462)]&&(_0xb13894=globalThis[_0x25b424(0x462)]),!_0xb13894&&typeof window<'u'&&window[_0x25b424(0x2f6)]&&(_0xb13894=window[_0x25b424(0x2f6)]),!_0xb13894&&typeof _0x4dbd98<'u'&&_0x4dbd98[_0x25b424(0x462)]&&(_0xb13894=_0x4dbd98[_0x25b424(0x462)]),!_0xb13894&&typeof _0x234a19==_0x25b424(0x231))try{_0xb13894=require(_0x25b424(0x462));}catch{}var _0x58afc7=function(){const _0x5762a1=_0x25b424;if(_0xb13894){if(typeof _0xb13894[_0x5762a1(0x3d1)]==_0x5762a1(0x231))try{return _0xb13894[_0x5762a1(0x3d1)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xb13894['randomBytes']==_0x5762a1(0x231))try{return _0xb13894[_0x5762a1(0x442)](0x4)[_0x5762a1(0x3ed)]();}catch{}}throw new Error(_0x5762a1(0x672));},_0x159c3b=Object[_0x25b424(0x60e)]||(function(){function _0x1eacb6(){}return function(_0x53343c){const _0x4a659c=_0x10db;var _0x5bd70c;return _0x1eacb6[_0x4a659c(0x216)]=_0x53343c,_0x5bd70c=new _0x1eacb6(),_0x1eacb6[_0x4a659c(0x216)]=null,_0x5bd70c;};}()),_0x4ac477={},_0x47b23f=_0x4ac477[_0x25b424(0x30d)]={},_0x502727=_0x47b23f[_0x25b424(0x28e)]=(function(){return{'extend':function(_0x350c75){const _0x2eecad=_0x10db;var _0x51f0ea=_0x159c3b(this);return _0x350c75&&_0x51f0ea[_0x2eecad(0x37d)](_0x350c75),(!_0x51f0ea[_0x2eecad(0x2ac)](_0x2eecad(0x4a1))||this[_0x2eecad(0x4a1)]===_0x51f0ea[_0x2eecad(0x4a1)])&&(_0x51f0ea['init']=function(){const _0x5ad9b5=_0x2eecad;_0x51f0ea[_0x5ad9b5(0x632)][_0x5ad9b5(0x4a1)][_0x5ad9b5(0x221)](this,arguments);}),_0x51f0ea[_0x2eecad(0x4a1)][_0x2eecad(0x216)]=_0x51f0ea,_0x51f0ea[_0x2eecad(0x632)]=this,_0x51f0ea;},'create':function(){const _0x429efc=_0x10db;var _0xff717e=this[_0x429efc(0x263)]();return _0xff717e[_0x429efc(0x4a1)]['apply'](_0xff717e,arguments),_0xff717e;},'init':function(){},'mixIn':function(_0xc25525){const _0x39726b=_0x10db;for(var _0x27abfc in _0xc25525)_0xc25525[_0x39726b(0x2ac)](_0x27abfc)&&(this[_0x27abfc]=_0xc25525[_0x27abfc]);_0xc25525[_0x39726b(0x2ac)](_0x39726b(0x2eb))&&(this['toString']=_0xc25525[_0x39726b(0x2eb)]);},'clone':function(){const _0x25cdf6=_0x10db;return this[_0x25cdf6(0x4a1)][_0x25cdf6(0x216)][_0x25cdf6(0x263)](this);}};}()),_0x41fc09=_0x47b23f[_0x25b424(0x3a5)]=_0x502727[_0x25b424(0x263)]({'init':function(_0x5dc758,_0x22f7cb){const _0x225c5f=_0x25b424;_0x5dc758=this[_0x225c5f(0x202)]=_0x5dc758||[],_0x22f7cb!=_0x36232a?this[_0x225c5f(0x481)]=_0x22f7cb:this['sigBytes']=_0x5dc758[_0x225c5f(0x62b)]*0x4;},'toString':function(_0x821f15){return(_0x821f15||_0x22ade2)['stringify'](this);},'concat':function(_0x24e683){const _0x202715=_0x25b424;var _0x119ed3=this[_0x202715(0x202)],_0x1eed5a=_0x24e683[_0x202715(0x202)],_0x5e0bc6=this[_0x202715(0x481)],_0xde4ed5=_0x24e683[_0x202715(0x481)];if(this[_0x202715(0x473)](),_0x5e0bc6%0x4)for(var _0x468014=0x0;_0x468014<_0xde4ed5;_0x468014++){var _0x26e427=_0x1eed5a[_0x468014>>>0x2]>>>0x18-_0x468014%0x4*0x8&0xff;_0x119ed3[_0x5e0bc6+_0x468014>>>0x2]|=_0x26e427<<0x18-(_0x5e0bc6+_0x468014)%0x4*0x8;}else{for(var _0x235e94=0x0;_0x235e94<_0xde4ed5;_0x235e94+=0x4)_0x119ed3[_0x5e0bc6+_0x235e94>>>0x2]=_0x1eed5a[_0x235e94>>>0x2];}return this[_0x202715(0x481)]+=_0xde4ed5,this;},'clamp':function(){const _0x362b2c=_0x25b424;var _0x135f52=this[_0x362b2c(0x202)],_0x4f10a0=this[_0x362b2c(0x481)];_0x135f52[_0x4f10a0>>>0x2]&=0xffffffff<<0x20-_0x4f10a0%0x4*0x8,_0x135f52[_0x362b2c(0x62b)]=_0x243700[_0x362b2c(0x330)](_0x4f10a0/0x4);},'clone':function(){const _0x4e91ea=_0x25b424;var _0x1b6ad6=_0x502727['clone'][_0x4e91ea(0x2b0)](this);return _0x1b6ad6[_0x4e91ea(0x202)]=this['words'][_0x4e91ea(0x2b1)](0x0),_0x1b6ad6;},'random':function(_0x5305cb){const _0x1f1304=_0x25b424;for(var _0x7648a0=[],_0x1aefa9=0x0;_0x1aefa9<_0x5305cb;_0x1aefa9+=0x4)_0x7648a0['push'](_0x58afc7());return new _0x41fc09[(_0x1f1304(0x4a1))](_0x7648a0,_0x5305cb);}}),_0x148d7c=_0x4ac477[_0x25b424(0x388)]={},_0x22ade2=_0x148d7c[_0x25b424(0x239)]={'stringify':function(_0x6bf4ba){const _0x16f5b1=_0x25b424;for(var _0x13219c=_0x6bf4ba['words'],_0x2bd3dc=_0x6bf4ba[_0x16f5b1(0x481)],_0x5e25e9=[],_0x3a076a=0x0;_0x3a076a<_0x2bd3dc;_0x3a076a++){var _0x4acb9a=_0x13219c[_0x3a076a>>>0x2]>>>0x18-_0x3a076a%0x4*0x8&0xff;_0x5e25e9['push']((_0x4acb9a>>>0x4)[_0x16f5b1(0x2eb)](0x10)),_0x5e25e9['push']((_0x4acb9a&0xf)[_0x16f5b1(0x2eb)](0x10));}return _0x5e25e9[_0x16f5b1(0x274)]('');},'parse':function(_0x1d34ac){const _0x1e6b34=_0x25b424;for(var _0x12b430=_0x1d34ac[_0x1e6b34(0x62b)],_0xa73310=[],_0xf8b33d=0x0;_0xf8b33d<_0x12b430;_0xf8b33d+=0x2)_0xa73310[_0xf8b33d>>>0x3]|=parseInt(_0x1d34ac[_0x1e6b34(0x4a4)](_0xf8b33d,0x2),0x10)<<0x18-_0xf8b33d%0x8*0x4;return new _0x41fc09[(_0x1e6b34(0x4a1))](_0xa73310,_0x12b430/0x2);}},_0x2330bf=_0x148d7c[_0x25b424(0x62c)]={'stringify':function(_0xc5a729){const _0x295045=_0x25b424;for(var _0x3591c6=_0xc5a729[_0x295045(0x202)],_0xfe72ee=_0xc5a729['sigBytes'],_0x39a4aa=[],_0x595900=0x0;_0x595900<_0xfe72ee;_0x595900++){var _0x4bd867=_0x3591c6[_0x595900>>>0x2]>>>0x18-_0x595900%0x4*0x8&0xff;_0x39a4aa[_0x295045(0x2fc)](String[_0x295045(0x3ef)](_0x4bd867));}return _0x39a4aa['join']('');},'parse':function(_0x54bc46){const _0x3e0b21=_0x25b424;for(var _0xbafe9d=_0x54bc46[_0x3e0b21(0x62b)],_0x3c578b=[],_0x3006b2=0x0;_0x3006b2<_0xbafe9d;_0x3006b2++)_0x3c578b[_0x3006b2>>>0x2]|=(_0x54bc46[_0x3e0b21(0x25c)](_0x3006b2)&0xff)<<0x18-_0x3006b2%0x4*0x8;return new _0x41fc09[(_0x3e0b21(0x4a1))](_0x3c578b,_0xbafe9d);}},_0x4b5735=_0x148d7c[_0x25b424(0x5cc)]={'stringify':function(_0xb9c695){const _0x3edfce=_0x25b424;try{return decodeURIComponent(escape(_0x2330bf[_0x3edfce(0x658)](_0xb9c695)));}catch{throw new Error(_0x3edfce(0x291));}},'parse':function(_0x30b499){const _0x310e26=_0x25b424;return _0x2330bf[_0x310e26(0x597)](unescape(encodeURIComponent(_0x30b499)));}},_0x4d7f98=_0x47b23f[_0x25b424(0x5d8)]=_0x502727[_0x25b424(0x263)]({'reset':function(){const _0x34b81b=_0x25b424;this[_0x34b81b(0x214)]=new _0x41fc09['init'](),this[_0x34b81b(0x4bf)]=0x0;},'_append':function(_0x2be1e6){const _0x141665=_0x25b424;typeof _0x2be1e6=='string'&&(_0x2be1e6=_0x4b5735[_0x141665(0x597)](_0x2be1e6)),this[_0x141665(0x214)]['concat'](_0x2be1e6),this[_0x141665(0x4bf)]+=_0x2be1e6['sigBytes'];},'_process':function(_0x165f5a){const _0x45c981=_0x25b424;var _0x3e1235,_0x564901=this[_0x45c981(0x214)],_0x1eeb18=_0x564901[_0x45c981(0x202)],_0x37fddd=_0x564901[_0x45c981(0x481)],_0x5c7540=this[_0x45c981(0x36c)],_0x1839f2=_0x5c7540*0x4,_0x173dab=_0x37fddd/_0x1839f2;_0x165f5a?_0x173dab=_0x243700[_0x45c981(0x330)](_0x173dab):_0x173dab=_0x243700['max']((_0x173dab|0x0)-this[_0x45c981(0x574)],0x0);var _0x3d828d=_0x173dab*_0x5c7540,_0x11bd49=_0x243700[_0x45c981(0x5f0)](_0x3d828d*0x4,_0x37fddd);if(_0x3d828d){for(var _0x3c5a45=0x0;_0x3c5a45<_0x3d828d;_0x3c5a45+=_0x5c7540)this['_doProcessBlock'](_0x1eeb18,_0x3c5a45);_0x3e1235=_0x1eeb18[_0x45c981(0x3e7)](0x0,_0x3d828d),_0x564901[_0x45c981(0x481)]-=_0x11bd49;}return new _0x41fc09[(_0x45c981(0x4a1))](_0x3e1235,_0x11bd49);},'clone':function(){const _0x35ec36=_0x25b424;var _0x552f00=_0x502727[_0x35ec36(0x567)][_0x35ec36(0x2b0)](this);return _0x552f00[_0x35ec36(0x214)]=this[_0x35ec36(0x214)]['clone'](),_0x552f00;},'_minBufferSize':0x0});_0x47b23f['Hasher']=_0x4d7f98[_0x25b424(0x263)]({'cfg':_0x502727[_0x25b424(0x263)](),'init':function(_0x101252){const _0x4f8a86=_0x25b424;this[_0x4f8a86(0x60d)]=this[_0x4f8a86(0x60d)]['extend'](_0x101252),this[_0x4f8a86(0x580)]();},'reset':function(){const _0x880fc8=_0x25b424;_0x4d7f98['reset']['call'](this),this[_0x880fc8(0x50a)]();},'update':function(_0x177403){const _0x1e0b9f=_0x25b424;return this[_0x1e0b9f(0x646)](_0x177403),this[_0x1e0b9f(0x59e)](),this;},'finalize':function(_0x1bc948){const _0x26e95b=_0x25b424;_0x1bc948&&this[_0x26e95b(0x646)](_0x1bc948);var _0x51f894=this['_doFinalize']();return _0x51f894;},'blockSize':0x10,'_createHelper':function(_0x25154d){return function(_0x58e7d3,_0x6b434a){const _0x4146cb=_0x10db;return new _0x25154d[(_0x4146cb(0x4a1))](_0x6b434a)['finalize'](_0x58e7d3);};},'_createHmacHelper':function(_0x5ae89f){return function(_0x2c4fcc,_0xad4ccb){const _0x43053e=_0x10db;return new _0x9d7cf9[(_0x43053e(0x4bc))][(_0x43053e(0x4a1))](_0x5ae89f,_0xad4ccb)['finalize'](_0x2c4fcc);};}});var _0x9d7cf9=_0x4ac477[_0x25b424(0x4cd)]={};return _0x4ac477;}(Math);return _0x55425f;}));}(_0x37621c)),_0x37621c[_0x5b95ce(0x5a4)];}var _0x488471={'exports':{}},_0x5080b7;function _0x531993(){const _0xb13cfe=_0x139045;return _0x5080b7||(_0x5080b7=0x1,function(_0x333ef5,_0x2306ae){(function(_0x3360d0,_0x9c921e){_0x333ef5['exports']=_0x9c921e(_0x4d115a());}(_0x4dbd98,function(_0x50fbcc){const _0x5e86b8=_0x10db;return(function(){const _0x13e5dc=_0x10db;var _0x5a9038=_0x50fbcc,_0x2d63f1=_0x5a9038[_0x13e5dc(0x30d)],_0x3876a3=_0x2d63f1[_0x13e5dc(0x3a5)],_0xc79d1d=_0x5a9038[_0x13e5dc(0x388)];_0xc79d1d[_0x13e5dc(0x58d)]={'stringify':function(_0x4b1950){const _0x406ff5=_0x13e5dc;var _0x53d48f=_0x4b1950[_0x406ff5(0x202)],_0x26a674=_0x4b1950[_0x406ff5(0x481)],_0x35271e=this[_0x406ff5(0x541)];_0x4b1950[_0x406ff5(0x473)]();for(var _0x5c33dc=[],_0x286bc2=0x0;_0x286bc2<_0x26a674;_0x286bc2+=0x3)for(var _0x4320cc=_0x53d48f[_0x286bc2>>>0x2]>>>0x18-_0x286bc2%0x4*0x8&0xff,_0x2621a1=_0x53d48f[_0x286bc2+0x1>>>0x2]>>>0x18-(_0x286bc2+0x1)%0x4*0x8&0xff,_0x461725=_0x53d48f[_0x286bc2+0x2>>>0x2]>>>0x18-(_0x286bc2+0x2)%0x4*0x8&0xff,_0x4be2b1=_0x4320cc<<0x10|_0x2621a1<<0x8|_0x461725,_0x2d5e56=0x0;_0x2d5e56<0x4&&_0x286bc2+_0x2d5e56*0.75<_0x26a674;_0x2d5e56++)_0x5c33dc[_0x406ff5(0x2fc)](_0x35271e[_0x406ff5(0x48f)](_0x4be2b1>>>0x6*(0x3-_0x2d5e56)&0x3f));var _0x3d6ac5=_0x35271e[_0x406ff5(0x48f)](0x40);if(_0x3d6ac5){for(;_0x5c33dc[_0x406ff5(0x62b)]%0x4;)_0x5c33dc[_0x406ff5(0x2fc)](_0x3d6ac5);}return _0x5c33dc['join']('');},'parse':function(_0x386244){const _0x3ec48f=_0x13e5dc;var _0x3721b6=_0x386244[_0x3ec48f(0x62b)],_0x1f7ff9=this['_map'],_0x53a9f6=this[_0x3ec48f(0x668)];if(!_0x53a9f6){_0x53a9f6=this[_0x3ec48f(0x668)]=[];for(var _0x5e318a=0x0;_0x5e318a<_0x1f7ff9[_0x3ec48f(0x62b)];_0x5e318a++)_0x53a9f6[_0x1f7ff9['charCodeAt'](_0x5e318a)]=_0x5e318a;}var _0x5ae739=_0x1f7ff9[_0x3ec48f(0x48f)](0x40);if(_0x5ae739){var _0xd46b6f=_0x386244[_0x3ec48f(0x573)](_0x5ae739);_0xd46b6f!==-0x1&&(_0x3721b6=_0xd46b6f);}return _0x4c6cca(_0x386244,_0x3721b6,_0x53a9f6);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x4c6cca(_0x3268a0,_0x579c01,_0x3e3cb8){const _0xfd40b2=_0x13e5dc;for(var _0x46c425=[],_0x30df26=0x0,_0x4b41b5=0x0;_0x4b41b5<_0x579c01;_0x4b41b5++)if(_0x4b41b5%0x4){var _0x2b3eda=_0x3e3cb8[_0x3268a0[_0xfd40b2(0x25c)](_0x4b41b5-0x1)]<<_0x4b41b5%0x4*0x2,_0x57658f=_0x3e3cb8[_0x3268a0['charCodeAt'](_0x4b41b5)]>>>0x6-_0x4b41b5%0x4*0x2,_0xbc810e=_0x2b3eda|_0x57658f;_0x46c425[_0x30df26>>>0x2]|=_0xbc810e<<0x18-_0x30df26%0x4*0x8,_0x30df26++;}return _0x3876a3[_0xfd40b2(0x60e)](_0x46c425,_0x30df26);}}()),_0x50fbcc[_0x5e86b8(0x388)][_0x5e86b8(0x58d)];}));}(_0x488471)),_0x488471[_0xb13cfe(0x5a4)];}var _0x1ca78a={'exports':{}},_0x10b8d0;function _0x5043eb(){const _0x3a1114=_0x139045;return _0x10b8d0||(_0x10b8d0=0x1,function(_0x1df850,_0x22fdc6){(function(_0x1d7c84,_0x313040){_0x1df850['exports']=_0x313040(_0x4d115a());}(_0x4dbd98,function(_0x19416a){return function(_0x5ab720){const _0x4ea16f=_0x10db;var _0x48c6ea=_0x19416a,_0x5cc04b=_0x48c6ea['lib'],_0xd09c11=_0x5cc04b[_0x4ea16f(0x3a5)],_0x5ab4b5=_0x5cc04b[_0x4ea16f(0x2d6)],_0x5710fd=_0x48c6ea[_0x4ea16f(0x4cd)],_0x4589ee=[];(function(){const _0x460318=_0x4ea16f;for(var _0x486466=0x0;_0x486466<0x40;_0x486466++)_0x4589ee[_0x486466]=_0x5ab720[_0x460318(0x471)](_0x5ab720[_0x460318(0x2bf)](_0x486466+0x1))*0x100000000|0x0;}());var _0x275578=_0x5710fd[_0x4ea16f(0x287)]=_0x5ab4b5[_0x4ea16f(0x263)]({'_doReset':function(){const _0x30964a=_0x4ea16f;this[_0x30964a(0x586)]=new _0xd09c11[(_0x30964a(0x4a1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x22c97d,_0x135b29){const _0x2818e7=_0x4ea16f;for(var _0x26079a=0x0;_0x26079a<0x10;_0x26079a++){var _0x131c83=_0x135b29+_0x26079a,_0x895601=_0x22c97d[_0x131c83];_0x22c97d[_0x131c83]=(_0x895601<<0x8|_0x895601>>>0x18)&0xff00ff|(_0x895601<<0x18|_0x895601>>>0x8)&0xff00ff00;}var _0x3de174=this[_0x2818e7(0x586)][_0x2818e7(0x202)],_0x176ea5=_0x22c97d[_0x135b29+0x0],_0x44b923=_0x22c97d[_0x135b29+0x1],_0x522cff=_0x22c97d[_0x135b29+0x2],_0x41d444=_0x22c97d[_0x135b29+0x3],_0x278612=_0x22c97d[_0x135b29+0x4],_0x459d50=_0x22c97d[_0x135b29+0x5],_0x1bc192=_0x22c97d[_0x135b29+0x6],_0x3898c6=_0x22c97d[_0x135b29+0x7],_0x3cedfb=_0x22c97d[_0x135b29+0x8],_0x5c0c63=_0x22c97d[_0x135b29+0x9],_0x21c89f=_0x22c97d[_0x135b29+0xa],_0x216dee=_0x22c97d[_0x135b29+0xb],_0x3af94c=_0x22c97d[_0x135b29+0xc],_0x1b2af9=_0x22c97d[_0x135b29+0xd],_0x13f8ff=_0x22c97d[_0x135b29+0xe],_0x48b0ac=_0x22c97d[_0x135b29+0xf],_0xa9104f=_0x3de174[0x0],_0x2bad7f=_0x3de174[0x1],_0xdf281c=_0x3de174[0x2],_0x51f5b7=_0x3de174[0x3];_0xa9104f=_0xc5ac1d(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x176ea5,0x7,_0x4589ee[0x0]),_0x51f5b7=_0xc5ac1d(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x44b923,0xc,_0x4589ee[0x1]),_0xdf281c=_0xc5ac1d(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x522cff,0x11,_0x4589ee[0x2]),_0x2bad7f=_0xc5ac1d(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x41d444,0x16,_0x4589ee[0x3]),_0xa9104f=_0xc5ac1d(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x278612,0x7,_0x4589ee[0x4]),_0x51f5b7=_0xc5ac1d(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x459d50,0xc,_0x4589ee[0x5]),_0xdf281c=_0xc5ac1d(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x1bc192,0x11,_0x4589ee[0x6]),_0x2bad7f=_0xc5ac1d(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x3898c6,0x16,_0x4589ee[0x7]),_0xa9104f=_0xc5ac1d(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x3cedfb,0x7,_0x4589ee[0x8]),_0x51f5b7=_0xc5ac1d(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x5c0c63,0xc,_0x4589ee[0x9]),_0xdf281c=_0xc5ac1d(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x21c89f,0x11,_0x4589ee[0xa]),_0x2bad7f=_0xc5ac1d(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x216dee,0x16,_0x4589ee[0xb]),_0xa9104f=_0xc5ac1d(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x3af94c,0x7,_0x4589ee[0xc]),_0x51f5b7=_0xc5ac1d(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x1b2af9,0xc,_0x4589ee[0xd]),_0xdf281c=_0xc5ac1d(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x13f8ff,0x11,_0x4589ee[0xe]),_0x2bad7f=_0xc5ac1d(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x48b0ac,0x16,_0x4589ee[0xf]),_0xa9104f=_0x5abd92(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x44b923,0x5,_0x4589ee[0x10]),_0x51f5b7=_0x5abd92(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x1bc192,0x9,_0x4589ee[0x11]),_0xdf281c=_0x5abd92(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x216dee,0xe,_0x4589ee[0x12]),_0x2bad7f=_0x5abd92(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x176ea5,0x14,_0x4589ee[0x13]),_0xa9104f=_0x5abd92(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x459d50,0x5,_0x4589ee[0x14]),_0x51f5b7=_0x5abd92(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x21c89f,0x9,_0x4589ee[0x15]),_0xdf281c=_0x5abd92(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x48b0ac,0xe,_0x4589ee[0x16]),_0x2bad7f=_0x5abd92(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x278612,0x14,_0x4589ee[0x17]),_0xa9104f=_0x5abd92(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x5c0c63,0x5,_0x4589ee[0x18]),_0x51f5b7=_0x5abd92(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x13f8ff,0x9,_0x4589ee[0x19]),_0xdf281c=_0x5abd92(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x41d444,0xe,_0x4589ee[0x1a]),_0x2bad7f=_0x5abd92(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x3cedfb,0x14,_0x4589ee[0x1b]),_0xa9104f=_0x5abd92(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x1b2af9,0x5,_0x4589ee[0x1c]),_0x51f5b7=_0x5abd92(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x522cff,0x9,_0x4589ee[0x1d]),_0xdf281c=_0x5abd92(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x3898c6,0xe,_0x4589ee[0x1e]),_0x2bad7f=_0x5abd92(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x3af94c,0x14,_0x4589ee[0x1f]),_0xa9104f=_0x57b9f2(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x459d50,0x4,_0x4589ee[0x20]),_0x51f5b7=_0x57b9f2(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x3cedfb,0xb,_0x4589ee[0x21]),_0xdf281c=_0x57b9f2(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x216dee,0x10,_0x4589ee[0x22]),_0x2bad7f=_0x57b9f2(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x13f8ff,0x17,_0x4589ee[0x23]),_0xa9104f=_0x57b9f2(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x44b923,0x4,_0x4589ee[0x24]),_0x51f5b7=_0x57b9f2(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x278612,0xb,_0x4589ee[0x25]),_0xdf281c=_0x57b9f2(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x3898c6,0x10,_0x4589ee[0x26]),_0x2bad7f=_0x57b9f2(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x21c89f,0x17,_0x4589ee[0x27]),_0xa9104f=_0x57b9f2(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x1b2af9,0x4,_0x4589ee[0x28]),_0x51f5b7=_0x57b9f2(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x176ea5,0xb,_0x4589ee[0x29]),_0xdf281c=_0x57b9f2(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x41d444,0x10,_0x4589ee[0x2a]),_0x2bad7f=_0x57b9f2(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x1bc192,0x17,_0x4589ee[0x2b]),_0xa9104f=_0x57b9f2(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x5c0c63,0x4,_0x4589ee[0x2c]),_0x51f5b7=_0x57b9f2(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x3af94c,0xb,_0x4589ee[0x2d]),_0xdf281c=_0x57b9f2(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x48b0ac,0x10,_0x4589ee[0x2e]),_0x2bad7f=_0x57b9f2(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x522cff,0x17,_0x4589ee[0x2f]),_0xa9104f=_0x251ff4(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x176ea5,0x6,_0x4589ee[0x30]),_0x51f5b7=_0x251ff4(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x3898c6,0xa,_0x4589ee[0x31]),_0xdf281c=_0x251ff4(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x13f8ff,0xf,_0x4589ee[0x32]),_0x2bad7f=_0x251ff4(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x459d50,0x15,_0x4589ee[0x33]),_0xa9104f=_0x251ff4(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x3af94c,0x6,_0x4589ee[0x34]),_0x51f5b7=_0x251ff4(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x41d444,0xa,_0x4589ee[0x35]),_0xdf281c=_0x251ff4(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x21c89f,0xf,_0x4589ee[0x36]),_0x2bad7f=_0x251ff4(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x44b923,0x15,_0x4589ee[0x37]),_0xa9104f=_0x251ff4(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x3cedfb,0x6,_0x4589ee[0x38]),_0x51f5b7=_0x251ff4(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x48b0ac,0xa,_0x4589ee[0x39]),_0xdf281c=_0x251ff4(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x1bc192,0xf,_0x4589ee[0x3a]),_0x2bad7f=_0x251ff4(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x1b2af9,0x15,_0x4589ee[0x3b]),_0xa9104f=_0x251ff4(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x278612,0x6,_0x4589ee[0x3c]),_0x51f5b7=_0x251ff4(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x216dee,0xa,_0x4589ee[0x3d]),_0xdf281c=_0x251ff4(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x522cff,0xf,_0x4589ee[0x3e]),_0x2bad7f=_0x251ff4(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x5c0c63,0x15,_0x4589ee[0x3f]),_0x3de174[0x0]=_0x3de174[0x0]+_0xa9104f|0x0,_0x3de174[0x1]=_0x3de174[0x1]+_0x2bad7f|0x0,_0x3de174[0x2]=_0x3de174[0x2]+_0xdf281c|0x0,_0x3de174[0x3]=_0x3de174[0x3]+_0x51f5b7|0x0;},'_doFinalize':function(){const _0x2079e7=_0x4ea16f;var _0x4735e=this[_0x2079e7(0x214)],_0x88b8d=_0x4735e['words'],_0x59928c=this['_nDataBytes']*0x8,_0x4b0bae=_0x4735e[_0x2079e7(0x481)]*0x8;_0x88b8d[_0x4b0bae>>>0x5]|=0x80<<0x18-_0x4b0bae%0x20;var _0x1b970a=_0x5ab720[_0x2079e7(0x69e)](_0x59928c/0x100000000),_0x42a0c5=_0x59928c;_0x88b8d[(_0x4b0bae+0x40>>>0x9<<0x4)+0xf]=(_0x1b970a<<0x8|_0x1b970a>>>0x18)&0xff00ff|(_0x1b970a<<0x18|_0x1b970a>>>0x8)&0xff00ff00,_0x88b8d[(_0x4b0bae+0x40>>>0x9<<0x4)+0xe]=(_0x42a0c5<<0x8|_0x42a0c5>>>0x18)&0xff00ff|(_0x42a0c5<<0x18|_0x42a0c5>>>0x8)&0xff00ff00,_0x4735e[_0x2079e7(0x481)]=(_0x88b8d[_0x2079e7(0x62b)]+0x1)*0x4,this[_0x2079e7(0x59e)]();for(var _0x2ff2d7=this[_0x2079e7(0x586)],_0xa3cea1=_0x2ff2d7[_0x2079e7(0x202)],_0x51b3d0=0x0;_0x51b3d0<0x4;_0x51b3d0++){var _0x513589=_0xa3cea1[_0x51b3d0];_0xa3cea1[_0x51b3d0]=(_0x513589<<0x8|_0x513589>>>0x18)&0xff00ff|(_0x513589<<0x18|_0x513589>>>0x8)&0xff00ff00;}return _0x2ff2d7;},'clone':function(){const _0x5d997f=_0x4ea16f;var _0x422bf4=_0x5ab4b5[_0x5d997f(0x567)]['call'](this);return _0x422bf4[_0x5d997f(0x586)]=this[_0x5d997f(0x586)][_0x5d997f(0x567)](),_0x422bf4;}});function _0xc5ac1d(_0x4659f5,_0x4d08b4,_0x239f86,_0x5ba3d,_0x53b677,_0x42af38,_0x12c791){var _0x4a793a=_0x4659f5+(_0x4d08b4&_0x239f86|~_0x4d08b4&_0x5ba3d)+_0x53b677+_0x12c791;return(_0x4a793a<<_0x42af38|_0x4a793a>>>0x20-_0x42af38)+_0x4d08b4;}function _0x5abd92(_0x17544f,_0x4ab05f,_0x470d6c,_0x53da0f,_0x424c5,_0x45516b,_0x1cdf35){var _0x417e52=_0x17544f+(_0x4ab05f&_0x53da0f|_0x470d6c&~_0x53da0f)+_0x424c5+_0x1cdf35;return(_0x417e52<<_0x45516b|_0x417e52>>>0x20-_0x45516b)+_0x4ab05f;}function _0x57b9f2(_0x5e5667,_0x7af6a3,_0x13ac40,_0x338d00,_0x5daa10,_0x41fe79,_0x48ff7e){var _0x1e34a0=_0x5e5667+(_0x7af6a3^_0x13ac40^_0x338d00)+_0x5daa10+_0x48ff7e;return(_0x1e34a0<<_0x41fe79|_0x1e34a0>>>0x20-_0x41fe79)+_0x7af6a3;}function _0x251ff4(_0x4a3722,_0x5bf281,_0x969f,_0x3e81f4,_0x4e088b,_0x3e1cd8,_0x501d4c){var _0x10075c=_0x4a3722+(_0x969f^(_0x5bf281|~_0x3e81f4))+_0x4e088b+_0x501d4c;return(_0x10075c<<_0x3e1cd8|_0x10075c>>>0x20-_0x3e1cd8)+_0x5bf281;}_0x48c6ea['MD5']=_0x5ab4b5[_0x4ea16f(0x56e)](_0x275578),_0x48c6ea['HmacMD5']=_0x5ab4b5[_0x4ea16f(0x362)](_0x275578);}(Math),_0x19416a['MD5'];}));}(_0x1ca78a)),_0x1ca78a[_0x3a1114(0x5a4)];}var _0x25827a={'exports':{}},_0x389f58={'exports':{}},_0xca17cb;function _0x2ea95d(){const _0x3c7516=_0x139045;return _0xca17cb||(_0xca17cb=0x1,function(_0x432a7b,_0x531757){(function(_0x2d527b,_0x3b8144){const _0x400285=_0x10db;_0x432a7b[_0x400285(0x5a4)]=_0x3b8144(_0x4d115a());}(_0x4dbd98,function(_0x30d13e){const _0x2626ff=_0x10db;return(function(){const _0x4003d2=_0x10db;var _0x8a5e73=_0x30d13e,_0x157ad3=_0x8a5e73[_0x4003d2(0x30d)],_0x150b6b=_0x157ad3[_0x4003d2(0x3a5)],_0x1febb2=_0x157ad3['Hasher'],_0x25bd68=_0x8a5e73['algo'],_0x34b272=[],_0x50c4ca=_0x25bd68['SHA1']=_0x1febb2[_0x4003d2(0x263)]({'_doReset':function(){const _0x48b3a3=_0x4003d2;this[_0x48b3a3(0x586)]=new _0x150b6b['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x54a1a0,_0x1b3981){const _0x449c57=_0x4003d2;for(var _0x5eef36=this[_0x449c57(0x586)]['words'],_0x616188=_0x5eef36[0x0],_0x306fba=_0x5eef36[0x1],_0x58c8f3=_0x5eef36[0x2],_0x2e36bf=_0x5eef36[0x3],_0x55db9b=_0x5eef36[0x4],_0x142271=0x0;_0x142271<0x50;_0x142271++){if(_0x142271<0x10)_0x34b272[_0x142271]=_0x54a1a0[_0x1b3981+_0x142271]|0x0;else{var _0x28141a=_0x34b272[_0x142271-0x3]^_0x34b272[_0x142271-0x8]^_0x34b272[_0x142271-0xe]^_0x34b272[_0x142271-0x10];_0x34b272[_0x142271]=_0x28141a<<0x1|_0x28141a>>>0x1f;}var _0x3997a7=(_0x616188<<0x5|_0x616188>>>0x1b)+_0x55db9b+_0x34b272[_0x142271];_0x142271<0x14?_0x3997a7+=(_0x306fba&_0x58c8f3|~_0x306fba&_0x2e36bf)+0x5a827999:_0x142271<0x28?_0x3997a7+=(_0x306fba^_0x58c8f3^_0x2e36bf)+0x6ed9eba1:_0x142271<0x3c?_0x3997a7+=(_0x306fba&_0x58c8f3|_0x306fba&_0x2e36bf|_0x58c8f3&_0x2e36bf)-0x70e44324:_0x3997a7+=(_0x306fba^_0x58c8f3^_0x2e36bf)-0x359d3e2a,_0x55db9b=_0x2e36bf,_0x2e36bf=_0x58c8f3,_0x58c8f3=_0x306fba<<0x1e|_0x306fba>>>0x2,_0x306fba=_0x616188,_0x616188=_0x3997a7;}_0x5eef36[0x0]=_0x5eef36[0x0]+_0x616188|0x0,_0x5eef36[0x1]=_0x5eef36[0x1]+_0x306fba|0x0,_0x5eef36[0x2]=_0x5eef36[0x2]+_0x58c8f3|0x0,_0x5eef36[0x3]=_0x5eef36[0x3]+_0x2e36bf|0x0,_0x5eef36[0x4]=_0x5eef36[0x4]+_0x55db9b|0x0;},'_doFinalize':function(){const _0x3c6e0b=_0x4003d2;var _0x4709e6=this[_0x3c6e0b(0x214)],_0x4ee56e=_0x4709e6['words'],_0xbea325=this[_0x3c6e0b(0x4bf)]*0x8,_0x51c391=_0x4709e6['sigBytes']*0x8;return _0x4ee56e[_0x51c391>>>0x5]|=0x80<<0x18-_0x51c391%0x20,_0x4ee56e[(_0x51c391+0x40>>>0x9<<0x4)+0xe]=Math[_0x3c6e0b(0x69e)](_0xbea325/0x100000000),_0x4ee56e[(_0x51c391+0x40>>>0x9<<0x4)+0xf]=_0xbea325,_0x4709e6[_0x3c6e0b(0x481)]=_0x4ee56e[_0x3c6e0b(0x62b)]*0x4,this['_process'](),this[_0x3c6e0b(0x586)];},'clone':function(){const _0x162f3a=_0x4003d2;var _0x5237f2=_0x1febb2[_0x162f3a(0x567)]['call'](this);return _0x5237f2['_hash']=this['_hash']['clone'](),_0x5237f2;}});_0x8a5e73['SHA1']=_0x1febb2['_createHelper'](_0x50c4ca),_0x8a5e73[_0x4003d2(0x4ad)]=_0x1febb2[_0x4003d2(0x362)](_0x50c4ca);}()),_0x30d13e[_0x2626ff(0x484)];}));}(_0x389f58)),_0x389f58[_0x3c7516(0x5a4)];}var _0x1d9af1={'exports':{}},_0x67b19a;function _0x7b201a(){const _0x236b41=_0x139045;return _0x67b19a||(_0x67b19a=0x1,function(_0x3de8ac,_0x3c84b9){(function(_0x24cc24,_0x48a7ad){const _0x39bf13=_0x10db;_0x3de8ac[_0x39bf13(0x5a4)]=_0x48a7ad(_0x4d115a());}(_0x4dbd98,function(_0x4c84ea){(function(){const _0x5e5cc6=_0x10db;var _0x2ffaa0=_0x4c84ea,_0x231198=_0x2ffaa0[_0x5e5cc6(0x30d)],_0x37e417=_0x231198[_0x5e5cc6(0x28e)],_0x471216=_0x2ffaa0[_0x5e5cc6(0x388)],_0x98528c=_0x471216['Utf8'],_0x19f837=_0x2ffaa0[_0x5e5cc6(0x4cd)];_0x19f837[_0x5e5cc6(0x4bc)]=_0x37e417[_0x5e5cc6(0x263)]({'init':function(_0x363249,_0x2349bc){const _0x174003=_0x5e5cc6;_0x363249=this[_0x174003(0x3e8)]=new _0x363249[(_0x174003(0x4a1))](),typeof _0x2349bc==_0x174003(0x5ec)&&(_0x2349bc=_0x98528c[_0x174003(0x597)](_0x2349bc));var _0xffd4c5=_0x363249[_0x174003(0x36c)],_0x1f0dbb=_0xffd4c5*0x4;_0x2349bc[_0x174003(0x481)]>_0x1f0dbb&&(_0x2349bc=_0x363249[_0x174003(0x2d0)](_0x2349bc)),_0x2349bc[_0x174003(0x473)]();for(var _0x58852a=this['_oKey']=_0x2349bc[_0x174003(0x567)](),_0x23c19a=this['_iKey']=_0x2349bc[_0x174003(0x567)](),_0x2a3e0b=_0x58852a['words'],_0x396628=_0x23c19a[_0x174003(0x202)],_0x254ab2=0x0;_0x254ab2<_0xffd4c5;_0x254ab2++)_0x2a3e0b[_0x254ab2]^=0x5c5c5c5c,_0x396628[_0x254ab2]^=0x36363636;_0x58852a['sigBytes']=_0x23c19a[_0x174003(0x481)]=_0x1f0dbb,this['reset']();},'reset':function(){const _0xf3310d=_0x5e5cc6;var _0xf995d2=this['_hasher'];_0xf995d2[_0xf3310d(0x580)](),_0xf995d2[_0xf3310d(0x431)](this[_0xf3310d(0x692)]);},'update':function(_0x221aa6){const _0x155a7d=_0x5e5cc6;return this[_0x155a7d(0x3e8)][_0x155a7d(0x431)](_0x221aa6),this;},'finalize':function(_0x5bac45){const _0x519dca=_0x5e5cc6;var _0x47856d=this[_0x519dca(0x3e8)],_0x2d3697=_0x47856d[_0x519dca(0x2d0)](_0x5bac45);_0x47856d[_0x519dca(0x580)]();var _0x1e27d8=_0x47856d[_0x519dca(0x2d0)](this['_oKey'][_0x519dca(0x567)]()[_0x519dca(0x39e)](_0x2d3697));return _0x1e27d8;}});}());}));}(_0x1d9af1)),_0x1d9af1[_0x236b41(0x5a4)];}var _0x3f62d4;function _0x2677e3(){const _0x34f6aa=_0x139045;return _0x3f62d4||(_0x3f62d4=0x1,function(_0xaebbef,_0x29423a){(function(_0x516ced,_0x16f67a,_0x2080cb){const _0x5be9e9=_0x10db;_0xaebbef[_0x5be9e9(0x5a4)]=_0x16f67a(_0x4d115a(),_0x2ea95d(),_0x7b201a());}(_0x4dbd98,function(_0x48f6ae){const _0x79f18a=_0x10db;return(function(){const _0x47d311=_0x10db;var _0x29a1cf=_0x48f6ae,_0x494c2c=_0x29a1cf[_0x47d311(0x30d)],_0x2b3aee=_0x494c2c['Base'],_0x4e4332=_0x494c2c[_0x47d311(0x3a5)],_0x7eab28=_0x29a1cf[_0x47d311(0x4cd)],_0x484280=_0x7eab28[_0x47d311(0x287)],_0x31ed24=_0x7eab28['EvpKDF']=_0x2b3aee['extend']({'cfg':_0x2b3aee[_0x47d311(0x263)]({'keySize':0x80/0x20,'hasher':_0x484280,'iterations':0x1}),'init':function(_0x57506a){const _0x5713a6=_0x47d311;this[_0x5713a6(0x60d)]=this[_0x5713a6(0x60d)]['extend'](_0x57506a);},'compute':function(_0x2d99e9,_0x20479c){const _0x4057d6=_0x47d311;for(var _0x55d201,_0x7ce6b8=this[_0x4057d6(0x60d)],_0x2a7af9=_0x7ce6b8[_0x4057d6(0x31e)][_0x4057d6(0x60e)](),_0x3dc599=_0x4e4332['create'](),_0x16375d=_0x3dc599['words'],_0x3f4ff9=_0x7ce6b8[_0x4057d6(0x2db)],_0x1513b7=_0x7ce6b8[_0x4057d6(0x410)];_0x16375d['length']<_0x3f4ff9;){_0x55d201&&_0x2a7af9['update'](_0x55d201),_0x55d201=_0x2a7af9[_0x4057d6(0x431)](_0x2d99e9)[_0x4057d6(0x2d0)](_0x20479c),_0x2a7af9[_0x4057d6(0x580)]();for(var _0x17a817=0x1;_0x17a817<_0x1513b7;_0x17a817++)_0x55d201=_0x2a7af9[_0x4057d6(0x2d0)](_0x55d201),_0x2a7af9[_0x4057d6(0x580)]();_0x3dc599[_0x4057d6(0x39e)](_0x55d201);}return _0x3dc599[_0x4057d6(0x481)]=_0x3f4ff9*0x4,_0x3dc599;}});_0x29a1cf['EvpKDF']=function(_0x1649bf,_0x56a030,_0x1cceea){const _0x3a76d1=_0x47d311;return _0x31ed24[_0x3a76d1(0x60e)](_0x1cceea)[_0x3a76d1(0x50f)](_0x1649bf,_0x56a030);};}()),_0x48f6ae[_0x79f18a(0x613)];}));}(_0x25827a)),_0x25827a[_0x34f6aa(0x5a4)];}var _0x3bbf20={'exports':{}},_0x3edb42;function _0x1f47b6(){const _0x503e3d=_0x139045;return _0x3edb42||(_0x3edb42=0x1,function(_0x280544,_0x202e75){(function(_0x5376c4,_0x1c6435,_0x33e881){const _0x4e970c=_0x10db;_0x280544[_0x4e970c(0x5a4)]=_0x1c6435(_0x4d115a(),_0x2677e3());}(_0x4dbd98,function(_0x3a01ba){const _0x5a22d2=_0x10db;_0x3a01ba[_0x5a22d2(0x30d)][_0x5a22d2(0x56a)]||function(_0x5ac79c){const _0x36f9b4=_0x5a22d2;var _0x4b25c8=_0x3a01ba,_0x1ce080=_0x4b25c8[_0x36f9b4(0x30d)],_0x3fb96c=_0x1ce080['Base'],_0x203a89=_0x1ce080[_0x36f9b4(0x3a5)],_0x380912=_0x1ce080[_0x36f9b4(0x5d8)],_0x7c16f3=_0x4b25c8[_0x36f9b4(0x388)];_0x7c16f3[_0x36f9b4(0x5cc)];var _0x3e81a5=_0x7c16f3[_0x36f9b4(0x58d)],_0x2e2c32=_0x4b25c8[_0x36f9b4(0x4cd)],_0x283ad5=_0x2e2c32[_0x36f9b4(0x613)],_0x40fe88=_0x1ce080[_0x36f9b4(0x56a)]=_0x380912['extend']({'cfg':_0x3fb96c[_0x36f9b4(0x263)](),'createEncryptor':function(_0x2fe879,_0x295434){const _0x35c451=_0x36f9b4;return this[_0x35c451(0x60e)](this[_0x35c451(0x24f)],_0x2fe879,_0x295434);},'createDecryptor':function(_0x39451d,_0x4091e6){const _0x3ca0e9=_0x36f9b4;return this['create'](this[_0x3ca0e9(0x3a3)],_0x39451d,_0x4091e6);},'init':function(_0x4ff68c,_0x5b492d,_0x4cb158){const _0x42bc65=_0x36f9b4;this[_0x42bc65(0x60d)]=this['cfg'][_0x42bc65(0x263)](_0x4cb158),this[_0x42bc65(0x34e)]=_0x4ff68c,this[_0x42bc65(0x40a)]=_0x5b492d,this['reset']();},'reset':function(){const _0x2a1893=_0x36f9b4;_0x380912[_0x2a1893(0x580)][_0x2a1893(0x2b0)](this),this['_doReset']();},'process':function(_0xf513dd){const _0x135e5c=_0x36f9b4;return this[_0x135e5c(0x646)](_0xf513dd),this[_0x135e5c(0x59e)]();},'finalize':function(_0x3a79c8){const _0x20e150=_0x36f9b4;_0x3a79c8&&this[_0x20e150(0x646)](_0x3a79c8);var _0x5d3cb3=this[_0x20e150(0x584)]();return _0x5d3cb3;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3555fe(_0x22ae34){const _0x1f26d9=_0x10db;return typeof _0x22ae34==_0x1f26d9(0x5ec)?_0x4fe34d:_0x3098a9;}return function(_0x1d2930){return{'encrypt':function(_0x5d6220,_0x5eb9dd,_0x5dfebf){const _0x93ddaa=_0x10db;return _0x3555fe(_0x5eb9dd)[_0x93ddaa(0x2de)](_0x1d2930,_0x5d6220,_0x5eb9dd,_0x5dfebf);},'decrypt':function(_0x5b2c6b,_0x3a5ca8,_0x3f3e48){const _0x444a5f=_0x10db;return _0x3555fe(_0x3a5ca8)[_0x444a5f(0x5d4)](_0x1d2930,_0x5b2c6b,_0x3a5ca8,_0x3f3e48);}};};}())});_0x1ce080[_0x36f9b4(0x68a)]=_0x40fe88[_0x36f9b4(0x263)]({'_doFinalize':function(){const _0x250925=_0x36f9b4;var _0x4b7cad=this[_0x250925(0x59e)](!0x0);return _0x4b7cad;},'blockSize':0x1});var _0x5af75f=_0x4b25c8['mode']={},_0x144364=_0x1ce080[_0x36f9b4(0x2ec)]=_0x3fb96c[_0x36f9b4(0x263)]({'createEncryptor':function(_0x2eb262,_0x9ad906){const _0x579c39=_0x36f9b4;return this[_0x579c39(0x59c)]['create'](_0x2eb262,_0x9ad906);},'createDecryptor':function(_0x323781,_0x284e6e){const _0x3d420e=_0x36f9b4;return this['Decryptor'][_0x3d420e(0x60e)](_0x323781,_0x284e6e);},'init':function(_0x45f3ed,_0x36d85b){const _0x2d4d53=_0x36f9b4;this[_0x2d4d53(0x41a)]=_0x45f3ed,this[_0x2d4d53(0x575)]=_0x36d85b;}}),_0x1fa33e=_0x5af75f[_0x36f9b4(0x302)]=(function(){const _0x495a21=_0x36f9b4;var _0x489527=_0x144364[_0x495a21(0x263)]();_0x489527['Encryptor']=_0x489527[_0x495a21(0x263)]({'processBlock':function(_0x58a1b4,_0x51dcd4){const _0xda6080=_0x495a21;var _0x342b46=this[_0xda6080(0x41a)],_0x2cdfca=_0x342b46[_0xda6080(0x36c)];_0x10076d['call'](this,_0x58a1b4,_0x51dcd4,_0x2cdfca),_0x342b46[_0xda6080(0x503)](_0x58a1b4,_0x51dcd4),this['_prevBlock']=_0x58a1b4[_0xda6080(0x2b1)](_0x51dcd4,_0x51dcd4+_0x2cdfca);}}),_0x489527[_0x495a21(0x234)]=_0x489527[_0x495a21(0x263)]({'processBlock':function(_0x38181d,_0x2dcafb){const _0x175c0c=_0x495a21;var _0x3e8c9b=this[_0x175c0c(0x41a)],_0x5c0901=_0x3e8c9b[_0x175c0c(0x36c)],_0x47b198=_0x38181d[_0x175c0c(0x2b1)](_0x2dcafb,_0x2dcafb+_0x5c0901);_0x3e8c9b['decryptBlock'](_0x38181d,_0x2dcafb),_0x10076d['call'](this,_0x38181d,_0x2dcafb,_0x5c0901),this[_0x175c0c(0x64e)]=_0x47b198;}});function _0x10076d(_0x201b17,_0x5cb609,_0x1f7b76){const _0x3a0a03=_0x495a21;var _0x5a1fa7,_0x189222=this[_0x3a0a03(0x575)];_0x189222?(_0x5a1fa7=_0x189222,this[_0x3a0a03(0x575)]=_0x5ac79c):_0x5a1fa7=this[_0x3a0a03(0x64e)];for(var _0x35091e=0x0;_0x35091e<_0x1f7b76;_0x35091e++)_0x201b17[_0x5cb609+_0x35091e]^=_0x5a1fa7[_0x35091e];}return _0x489527;}()),_0x1f12bd=_0x4b25c8[_0x36f9b4(0x64a)]={},_0x7dc4b5=_0x1f12bd[_0x36f9b4(0x550)]={'pad':function(_0x434636,_0x4dd302){const _0x3da4e4=_0x36f9b4;for(var _0x1df1d8=_0x4dd302*0x4,_0x399240=_0x1df1d8-_0x434636['sigBytes']%_0x1df1d8,_0x28ed04=_0x399240<<0x18|_0x399240<<0x10|_0x399240<<0x8|_0x399240,_0x45ec2c=[],_0x4bbc2a=0x0;_0x4bbc2a<_0x399240;_0x4bbc2a+=0x4)_0x45ec2c['push'](_0x28ed04);var _0x49724f=_0x203a89['create'](_0x45ec2c,_0x399240);_0x434636[_0x3da4e4(0x39e)](_0x49724f);},'unpad':function(_0x5bc567){const _0x4797b5=_0x36f9b4;var _0x2f3654=_0x5bc567[_0x4797b5(0x202)][_0x5bc567['sigBytes']-0x1>>>0x2]&0xff;_0x5bc567[_0x4797b5(0x481)]-=_0x2f3654;}};_0x1ce080[_0x36f9b4(0x5d5)]=_0x40fe88['extend']({'cfg':_0x40fe88[_0x36f9b4(0x60d)][_0x36f9b4(0x263)]({'mode':_0x1fa33e,'padding':_0x7dc4b5}),'reset':function(){const _0x2c0598=_0x36f9b4;var _0x35b12e;_0x40fe88[_0x2c0598(0x580)][_0x2c0598(0x2b0)](this);var _0x3cb279=this['cfg'],_0x2618ed=_0x3cb279['iv'],_0x20f153=_0x3cb279[_0x2c0598(0x445)];this[_0x2c0598(0x34e)]==this[_0x2c0598(0x24f)]?_0x35b12e=_0x20f153['createEncryptor']:(_0x35b12e=_0x20f153[_0x2c0598(0x235)],this[_0x2c0598(0x574)]=0x1),this[_0x2c0598(0x570)]&&this['_mode']['__creator']==_0x35b12e?this[_0x2c0598(0x570)][_0x2c0598(0x4a1)](this,_0x2618ed&&_0x2618ed['words']):(this[_0x2c0598(0x570)]=_0x35b12e[_0x2c0598(0x2b0)](_0x20f153,this,_0x2618ed&&_0x2618ed[_0x2c0598(0x202)]),this[_0x2c0598(0x570)]['__creator']=_0x35b12e);},'_doProcessBlock':function(_0x323c3b,_0x3feaeb){const _0x11a67d=_0x36f9b4;this[_0x11a67d(0x570)][_0x11a67d(0x35c)](_0x323c3b,_0x3feaeb);},'_doFinalize':function(){const _0x180181=_0x36f9b4;var _0x20046b,_0x1244df=this[_0x180181(0x60d)][_0x180181(0x1fc)];return this[_0x180181(0x34e)]==this[_0x180181(0x24f)]?(_0x1244df[_0x180181(0x64a)](this[_0x180181(0x214)],this[_0x180181(0x36c)]),_0x20046b=this[_0x180181(0x59e)](!0x0)):(_0x20046b=this[_0x180181(0x59e)](!0x0),_0x1244df[_0x180181(0x324)](_0x20046b)),_0x20046b;},'blockSize':0x80/0x20});var _0x39decf=_0x1ce080['CipherParams']=_0x3fb96c['extend']({'init':function(_0x196557){const _0x39dc17=_0x36f9b4;this[_0x39dc17(0x37d)](_0x196557);},'toString':function(_0x4dfc32){const _0x108228=_0x36f9b4;return(_0x4dfc32||this['formatter'])[_0x108228(0x658)](this);}}),_0x782035=_0x4b25c8[_0x36f9b4(0x4d6)]={},_0x2f4833=_0x782035[_0x36f9b4(0x323)]={'stringify':function(_0x5f022f){const _0x168f01=_0x36f9b4;var _0x649ef0,_0x1f1de0=_0x5f022f[_0x168f01(0x314)],_0x1f516c=_0x5f022f[_0x168f01(0x466)];return _0x1f516c?_0x649ef0=_0x203a89[_0x168f01(0x60e)]([0x53616c74,0x65645f5f])[_0x168f01(0x39e)](_0x1f516c)[_0x168f01(0x39e)](_0x1f1de0):_0x649ef0=_0x1f1de0,_0x649ef0['toString'](_0x3e81a5);},'parse':function(_0x46603c){const _0x438f31=_0x36f9b4;var _0x53907b,_0x2df9e7=_0x3e81a5[_0x438f31(0x597)](_0x46603c),_0x303fe2=_0x2df9e7[_0x438f31(0x202)];return _0x303fe2[0x0]==0x53616c74&&_0x303fe2[0x1]==0x65645f5f&&(_0x53907b=_0x203a89[_0x438f31(0x60e)](_0x303fe2['slice'](0x2,0x4)),_0x303fe2['splice'](0x0,0x4),_0x2df9e7[_0x438f31(0x481)]-=0x10),_0x39decf[_0x438f31(0x60e)]({'ciphertext':_0x2df9e7,'salt':_0x53907b});}},_0x3098a9=_0x1ce080[_0x36f9b4(0x58a)]=_0x3fb96c['extend']({'cfg':_0x3fb96c[_0x36f9b4(0x263)]({'format':_0x2f4833}),'encrypt':function(_0x50f6fc,_0x485d4a,_0x42a164,_0x514fd1){const _0x305fa5=_0x36f9b4;_0x514fd1=this['cfg']['extend'](_0x514fd1);var _0x3fca2b=_0x50f6fc['createEncryptor'](_0x42a164,_0x514fd1),_0x58ba61=_0x3fca2b[_0x305fa5(0x2d0)](_0x485d4a),_0x55a39f=_0x3fca2b[_0x305fa5(0x60d)];return _0x39decf[_0x305fa5(0x60e)]({'ciphertext':_0x58ba61,'key':_0x42a164,'iv':_0x55a39f['iv'],'algorithm':_0x50f6fc,'mode':_0x55a39f[_0x305fa5(0x445)],'padding':_0x55a39f[_0x305fa5(0x1fc)],'blockSize':_0x50f6fc[_0x305fa5(0x36c)],'formatter':_0x514fd1[_0x305fa5(0x4d6)]});},'decrypt':function(_0x5246f4,_0x46f0cf,_0x2a97f1,_0x332f8b){const _0xcd68a1=_0x36f9b4;_0x332f8b=this[_0xcd68a1(0x60d)][_0xcd68a1(0x263)](_0x332f8b),_0x46f0cf=this[_0xcd68a1(0x28c)](_0x46f0cf,_0x332f8b[_0xcd68a1(0x4d6)]);var _0x2ad33f=_0x5246f4['createDecryptor'](_0x2a97f1,_0x332f8b)[_0xcd68a1(0x2d0)](_0x46f0cf[_0xcd68a1(0x314)]);return _0x2ad33f;},'_parse':function(_0x2ff9d4,_0x499a8f){const _0x50c5cc=_0x36f9b4;return typeof _0x2ff9d4=='string'?_0x499a8f[_0x50c5cc(0x597)](_0x2ff9d4,this):_0x2ff9d4;}}),_0x23d489=_0x4b25c8[_0x36f9b4(0x4df)]={},_0x421938=_0x23d489['OpenSSL']={'execute':function(_0x5bdaf0,_0xf91df8,_0x1137dc,_0xa82782,_0x3eb4da){const _0x40f932=_0x36f9b4;if(_0xa82782||(_0xa82782=_0x203a89[_0x40f932(0x3d4)](0x40/0x8)),_0x3eb4da)var _0x467331=_0x283ad5['create']({'keySize':_0xf91df8+_0x1137dc,'hasher':_0x3eb4da})[_0x40f932(0x50f)](_0x5bdaf0,_0xa82782);else var _0x467331=_0x283ad5[_0x40f932(0x60e)]({'keySize':_0xf91df8+_0x1137dc})[_0x40f932(0x50f)](_0x5bdaf0,_0xa82782);var _0x197721=_0x203a89[_0x40f932(0x60e)](_0x467331['words']['slice'](_0xf91df8),_0x1137dc*0x4);return _0x467331[_0x40f932(0x481)]=_0xf91df8*0x4,_0x39decf['create']({'key':_0x467331,'iv':_0x197721,'salt':_0xa82782});}},_0x4fe34d=_0x1ce080['PasswordBasedCipher']=_0x3098a9[_0x36f9b4(0x263)]({'cfg':_0x3098a9['cfg'][_0x36f9b4(0x263)]({'kdf':_0x421938}),'encrypt':function(_0x1dc9eb,_0x28a848,_0xefc4d3,_0x2c1d31){const _0x5ad3d3=_0x36f9b4;_0x2c1d31=this[_0x5ad3d3(0x60d)][_0x5ad3d3(0x263)](_0x2c1d31);var _0x1a4d6f=_0x2c1d31[_0x5ad3d3(0x4df)][_0x5ad3d3(0x6ae)](_0xefc4d3,_0x1dc9eb[_0x5ad3d3(0x2db)],_0x1dc9eb[_0x5ad3d3(0x3fc)],_0x2c1d31[_0x5ad3d3(0x466)],_0x2c1d31[_0x5ad3d3(0x31e)]);_0x2c1d31['iv']=_0x1a4d6f['iv'];var _0x4c7a6b=_0x3098a9[_0x5ad3d3(0x2de)][_0x5ad3d3(0x2b0)](this,_0x1dc9eb,_0x28a848,_0x1a4d6f[_0x5ad3d3(0x2e2)],_0x2c1d31);return _0x4c7a6b['mixIn'](_0x1a4d6f),_0x4c7a6b;},'decrypt':function(_0x4fb1a6,_0x3ea454,_0x9765e4,_0x46d0cb){const _0x1bd16f=_0x36f9b4;_0x46d0cb=this[_0x1bd16f(0x60d)][_0x1bd16f(0x263)](_0x46d0cb),_0x3ea454=this[_0x1bd16f(0x28c)](_0x3ea454,_0x46d0cb[_0x1bd16f(0x4d6)]);var _0xf29c8=_0x46d0cb[_0x1bd16f(0x4df)][_0x1bd16f(0x6ae)](_0x9765e4,_0x4fb1a6[_0x1bd16f(0x2db)],_0x4fb1a6[_0x1bd16f(0x3fc)],_0x3ea454[_0x1bd16f(0x466)],_0x46d0cb[_0x1bd16f(0x31e)]);_0x46d0cb['iv']=_0xf29c8['iv'];var _0x52a789=_0x3098a9[_0x1bd16f(0x5d4)][_0x1bd16f(0x2b0)](this,_0x4fb1a6,_0x3ea454,_0xf29c8[_0x1bd16f(0x2e2)],_0x46d0cb);return _0x52a789;}});}();}));}(_0x3bbf20)),_0x3bbf20[_0x503e3d(0x5a4)];}(function(_0x2c753d,_0x4dab0f){(function(_0xd248c7,_0x140d24,_0x519e5c){const _0x26aad5=_0x10db;_0x2c753d[_0x26aad5(0x5a4)]=_0x140d24(_0x4d115a(),_0x531993(),_0x5043eb(),_0x2677e3(),_0x1f47b6());}(_0x4dbd98,function(_0x282f83){return(function(){const _0x5b6685=_0x10db;var _0x1eb286=_0x282f83,_0x5916c4=_0x1eb286[_0x5b6685(0x30d)],_0x1b354d=_0x5916c4[_0x5b6685(0x5d5)],_0x4dca71=_0x1eb286[_0x5b6685(0x4cd)],_0x2d9d33=[],_0x4f5e92=[],_0x3342b7=[],_0x5dcca2=[],_0x4d77cd=[],_0x348636=[],_0x53446e=[],_0x58bd12=[],_0xb15637=[],_0x534267=[];(function(){for(var _0x209cc1=[],_0x5596d1=0x0;_0x5596d1<0x100;_0x5596d1++)_0x5596d1<0x80?_0x209cc1[_0x5596d1]=_0x5596d1<<0x1:_0x209cc1[_0x5596d1]=_0x5596d1<<0x1^0x11b;for(var _0x25ea49=0x0,_0x330af8=0x0,_0x5596d1=0x0;_0x5596d1<0x100;_0x5596d1++){var _0x14367e=_0x330af8^_0x330af8<<0x1^_0x330af8<<0x2^_0x330af8<<0x3^_0x330af8<<0x4;_0x14367e=_0x14367e>>>0x8^_0x14367e&0xff^0x63,_0x2d9d33[_0x25ea49]=_0x14367e,_0x4f5e92[_0x14367e]=_0x25ea49;var _0x4c8192=_0x209cc1[_0x25ea49],_0x25bec0=_0x209cc1[_0x4c8192],_0xc773d=_0x209cc1[_0x25bec0],_0x5c68a8=_0x209cc1[_0x14367e]*0x101^_0x14367e*0x1010100;_0x3342b7[_0x25ea49]=_0x5c68a8<<0x18|_0x5c68a8>>>0x8,_0x5dcca2[_0x25ea49]=_0x5c68a8<<0x10|_0x5c68a8>>>0x10,_0x4d77cd[_0x25ea49]=_0x5c68a8<<0x8|_0x5c68a8>>>0x18,_0x348636[_0x25ea49]=_0x5c68a8;var _0x5c68a8=_0xc773d*0x1010101^_0x25bec0*0x10001^_0x4c8192*0x101^_0x25ea49*0x1010100;_0x53446e[_0x14367e]=_0x5c68a8<<0x18|_0x5c68a8>>>0x8,_0x58bd12[_0x14367e]=_0x5c68a8<<0x10|_0x5c68a8>>>0x10,_0xb15637[_0x14367e]=_0x5c68a8<<0x8|_0x5c68a8>>>0x18,_0x534267[_0x14367e]=_0x5c68a8,_0x25ea49?(_0x25ea49=_0x4c8192^_0x209cc1[_0x209cc1[_0x209cc1[_0xc773d^_0x4c8192]]],_0x330af8^=_0x209cc1[_0x209cc1[_0x330af8]]):_0x25ea49=_0x330af8=0x1;}}());var _0x5b5241=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x30c683=_0x4dca71[_0x5b6685(0x5e5)]=_0x1b354d[_0x5b6685(0x263)]({'_doReset':function(){const _0x5d5e96=_0x5b6685;var _0x20fee7;if(!(this['_nRounds']&&this[_0x5d5e96(0x43b)]===this['_key'])){for(var _0x2b1f14=this[_0x5d5e96(0x43b)]=this['_key'],_0x4923c1=_0x2b1f14[_0x5d5e96(0x202)],_0x2d9b61=_0x2b1f14[_0x5d5e96(0x481)]/0x4,_0x3bb5de=this[_0x5d5e96(0x544)]=_0x2d9b61+0x6,_0x4a2d57=(_0x3bb5de+0x1)*0x4,_0x533c1e=this[_0x5d5e96(0x4b8)]=[],_0x2e268f=0x0;_0x2e268f<_0x4a2d57;_0x2e268f++)_0x2e268f<_0x2d9b61?_0x533c1e[_0x2e268f]=_0x4923c1[_0x2e268f]:(_0x20fee7=_0x533c1e[_0x2e268f-0x1],_0x2e268f%_0x2d9b61?_0x2d9b61>0x6&&_0x2e268f%_0x2d9b61==0x4&&(_0x20fee7=_0x2d9d33[_0x20fee7>>>0x18]<<0x18|_0x2d9d33[_0x20fee7>>>0x10&0xff]<<0x10|_0x2d9d33[_0x20fee7>>>0x8&0xff]<<0x8|_0x2d9d33[_0x20fee7&0xff]):(_0x20fee7=_0x20fee7<<0x8|_0x20fee7>>>0x18,_0x20fee7=_0x2d9d33[_0x20fee7>>>0x18]<<0x18|_0x2d9d33[_0x20fee7>>>0x10&0xff]<<0x10|_0x2d9d33[_0x20fee7>>>0x8&0xff]<<0x8|_0x2d9d33[_0x20fee7&0xff],_0x20fee7^=_0x5b5241[_0x2e268f/_0x2d9b61|0x0]<<0x18),_0x533c1e[_0x2e268f]=_0x533c1e[_0x2e268f-_0x2d9b61]^_0x20fee7);for(var _0x3b80fe=this['_invKeySchedule']=[],_0x1f8b75=0x0;_0x1f8b75<_0x4a2d57;_0x1f8b75++){var _0x2e268f=_0x4a2d57-_0x1f8b75;if(_0x1f8b75%0x4)var _0x20fee7=_0x533c1e[_0x2e268f];else var _0x20fee7=_0x533c1e[_0x2e268f-0x4];_0x1f8b75<0x4||_0x2e268f<=0x4?_0x3b80fe[_0x1f8b75]=_0x20fee7:_0x3b80fe[_0x1f8b75]=_0x53446e[_0x2d9d33[_0x20fee7>>>0x18]]^_0x58bd12[_0x2d9d33[_0x20fee7>>>0x10&0xff]]^_0xb15637[_0x2d9d33[_0x20fee7>>>0x8&0xff]]^_0x534267[_0x2d9d33[_0x20fee7&0xff]];}}},'encryptBlock':function(_0x4625c0,_0x3a8651){const _0x46ffb8=_0x5b6685;this[_0x46ffb8(0x4f2)](_0x4625c0,_0x3a8651,this[_0x46ffb8(0x4b8)],_0x3342b7,_0x5dcca2,_0x4d77cd,_0x348636,_0x2d9d33);},'decryptBlock':function(_0x186176,_0x4af5e6){const _0x23f232=_0x5b6685;var _0x513b07=_0x186176[_0x4af5e6+0x1];_0x186176[_0x4af5e6+0x1]=_0x186176[_0x4af5e6+0x3],_0x186176[_0x4af5e6+0x3]=_0x513b07,this[_0x23f232(0x4f2)](_0x186176,_0x4af5e6,this[_0x23f232(0x43c)],_0x53446e,_0x58bd12,_0xb15637,_0x534267,_0x4f5e92);var _0x513b07=_0x186176[_0x4af5e6+0x1];_0x186176[_0x4af5e6+0x1]=_0x186176[_0x4af5e6+0x3],_0x186176[_0x4af5e6+0x3]=_0x513b07;},'_doCryptBlock':function(_0x594706,_0x37b437,_0x39e6dd,_0x171d9f,_0x3cf364,_0xaeacac,_0x54f839,_0x93e749){const _0x2eeb9c=_0x5b6685;for(var _0x44e3ed=this[_0x2eeb9c(0x544)],_0x387c47=_0x594706[_0x37b437]^_0x39e6dd[0x0],_0x19d93f=_0x594706[_0x37b437+0x1]^_0x39e6dd[0x1],_0x3d69be=_0x594706[_0x37b437+0x2]^_0x39e6dd[0x2],_0x5faed=_0x594706[_0x37b437+0x3]^_0x39e6dd[0x3],_0x303623=0x4,_0x3bdc9d=0x1;_0x3bdc9d<_0x44e3ed;_0x3bdc9d++){var _0x47f411=_0x171d9f[_0x387c47>>>0x18]^_0x3cf364[_0x19d93f>>>0x10&0xff]^_0xaeacac[_0x3d69be>>>0x8&0xff]^_0x54f839[_0x5faed&0xff]^_0x39e6dd[_0x303623++],_0x1752ef=_0x171d9f[_0x19d93f>>>0x18]^_0x3cf364[_0x3d69be>>>0x10&0xff]^_0xaeacac[_0x5faed>>>0x8&0xff]^_0x54f839[_0x387c47&0xff]^_0x39e6dd[_0x303623++],_0x45b0ce=_0x171d9f[_0x3d69be>>>0x18]^_0x3cf364[_0x5faed>>>0x10&0xff]^_0xaeacac[_0x387c47>>>0x8&0xff]^_0x54f839[_0x19d93f&0xff]^_0x39e6dd[_0x303623++],_0x1177fb=_0x171d9f[_0x5faed>>>0x18]^_0x3cf364[_0x387c47>>>0x10&0xff]^_0xaeacac[_0x19d93f>>>0x8&0xff]^_0x54f839[_0x3d69be&0xff]^_0x39e6dd[_0x303623++];_0x387c47=_0x47f411,_0x19d93f=_0x1752ef,_0x3d69be=_0x45b0ce,_0x5faed=_0x1177fb;}var _0x47f411=(_0x93e749[_0x387c47>>>0x18]<<0x18|_0x93e749[_0x19d93f>>>0x10&0xff]<<0x10|_0x93e749[_0x3d69be>>>0x8&0xff]<<0x8|_0x93e749[_0x5faed&0xff])^_0x39e6dd[_0x303623++],_0x1752ef=(_0x93e749[_0x19d93f>>>0x18]<<0x18|_0x93e749[_0x3d69be>>>0x10&0xff]<<0x10|_0x93e749[_0x5faed>>>0x8&0xff]<<0x8|_0x93e749[_0x387c47&0xff])^_0x39e6dd[_0x303623++],_0x45b0ce=(_0x93e749[_0x3d69be>>>0x18]<<0x18|_0x93e749[_0x5faed>>>0x10&0xff]<<0x10|_0x93e749[_0x387c47>>>0x8&0xff]<<0x8|_0x93e749[_0x19d93f&0xff])^_0x39e6dd[_0x303623++],_0x1177fb=(_0x93e749[_0x5faed>>>0x18]<<0x18|_0x93e749[_0x387c47>>>0x10&0xff]<<0x10|_0x93e749[_0x19d93f>>>0x8&0xff]<<0x8|_0x93e749[_0x3d69be&0xff])^_0x39e6dd[_0x303623++];_0x594706[_0x37b437]=_0x47f411,_0x594706[_0x37b437+0x1]=_0x1752ef,_0x594706[_0x37b437+0x2]=_0x45b0ce,_0x594706[_0x37b437+0x3]=_0x1177fb;},'keySize':0x100/0x20});_0x1eb286[_0x5b6685(0x5e5)]=_0x1b354d[_0x5b6685(0x56e)](_0x30c683);}()),_0x282f83['AES'];}));}(_0x5668c1));var _0x4ac9e7=_0x5668c1['exports'];const _0x2d36d2=_0x1022fc(_0x4ac9e7);var _0x6bf7a8=_0x531993();const _0x4583ed=_0x1022fc(_0x6bf7a8);var _0x49d2eb={'exports':{}};(function(_0x3200b7,_0x156045){(function(_0xafc4e4,_0x1535c5){const _0x3cc669=_0x10db;_0x3200b7[_0x3cc669(0x5a4)]=_0x1535c5(_0x4d115a());}(_0x4dbd98,function(_0x811592){const _0x4b0781=_0x10db;return _0x811592['enc'][_0x4b0781(0x5cc)];}));}(_0x49d2eb));var _0x5376ad=_0x49d2eb[_0x139045(0x5a4)];const _0x3b2f6b=_0x1022fc(_0x5376ad);var _0x423326={'exports':{}};(function(_0x5402e2,_0x374fbe){(function(_0x4be80,_0xc56a0a){const _0x540c0b=_0x10db;_0x5402e2[_0x540c0b(0x5a4)]=_0xc56a0a(_0x4d115a());}(_0x4dbd98,function(_0xaa176b){const _0x59ec98=_0x10db;return(function(){const _0x5dad80=_0x10db;if(typeof ArrayBuffer==_0x5dad80(0x231)){var _0x1feca5=_0xaa176b,_0x3703b5=_0x1feca5[_0x5dad80(0x30d)],_0x14fd6d=_0x3703b5['WordArray'],_0x2faa74=_0x14fd6d[_0x5dad80(0x4a1)],_0x505c27=_0x14fd6d['init']=function(_0x301f74){const _0x2c8ac2=_0x5dad80;if(_0x301f74 instanceof ArrayBuffer&&(_0x301f74=new Uint8Array(_0x301f74)),(_0x301f74 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x301f74 instanceof Uint8ClampedArray||_0x301f74 instanceof Int16Array||_0x301f74 instanceof Uint16Array||_0x301f74 instanceof Int32Array||_0x301f74 instanceof Uint32Array||_0x301f74 instanceof Float32Array||_0x301f74 instanceof Float64Array)&&(_0x301f74=new Uint8Array(_0x301f74[_0x2c8ac2(0x27c)],_0x301f74[_0x2c8ac2(0x295)],_0x301f74[_0x2c8ac2(0x24e)])),_0x301f74 instanceof Uint8Array){for(var _0x33321a=_0x301f74[_0x2c8ac2(0x24e)],_0x45c3ba=[],_0x4ca4be=0x0;_0x4ca4be<_0x33321a;_0x4ca4be++)_0x45c3ba[_0x4ca4be>>>0x2]|=_0x301f74[_0x4ca4be]<<0x18-_0x4ca4be%0x4*0x8;_0x2faa74[_0x2c8ac2(0x2b0)](this,_0x45c3ba,_0x33321a);}else _0x2faa74[_0x2c8ac2(0x221)](this,arguments);};_0x505c27[_0x5dad80(0x216)]=_0x14fd6d;}}()),_0xaa176b[_0x59ec98(0x30d)][_0x59ec98(0x3a5)];}));}(_0x423326));var _0x512ccc=_0x423326['exports'];const _0x557d38=_0x1022fc(_0x512ccc);var _0x323602={'exports':{}};(function(_0x97a58,_0x39a260){(function(_0x77d9cf,_0x491662,_0x5030e5){const _0x155e0c=_0x10db;_0x97a58[_0x155e0c(0x5a4)]=_0x491662(_0x4d115a(),_0x1f47b6());}(_0x4dbd98,function(_0x1d5678){const _0x5d2a7d=_0x10db;return _0x1d5678[_0x5d2a7d(0x64a)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x1d5678[_0x5d2a7d(0x64a)][_0x5d2a7d(0x3b2)];}));}(_0x323602));var _0x248ec5=_0x323602['exports'];const _0x121585=_0x1022fc(_0x248ec5);function _0x5417fe(_0x4dc591,_0x562966){const _0x51f115=_0x139045,_0x423a9e=_0x562966-_0x4dc591['length']%_0x562966,_0x164bf5=String['fromCharCode'](_0x423a9e)[_0x51f115(0x2a7)](_0x423a9e);return _0x4dc591+_0x164bf5;}function _0x407874(_0x5e626a,_0x3ebf09){const _0x17cb5e=_0x139045,_0x1d3660=_0x557d38[_0x17cb5e(0x3d4)](0x10),_0x1c75a8=_0x5417fe(_0x5e626a,0x10),_0x1db3af=_0x2d36d2[_0x17cb5e(0x2de)](_0x3b2f6b['parse'](_0x1c75a8),_0x4583ed['parse'](_0x3ebf09),{'iv':_0x1d3660,'padding':_0x121585});return _0x1d3660[_0x17cb5e(0x39e)](_0x1db3af[_0x17cb5e(0x314)])[_0x17cb5e(0x2eb)](_0x4583ed);}function _0x36834a(){const _0x45496a=_0x139045,_0x7bccdb=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x45496a(0x56b)];if(_0x7bccdb){const _0x23f2d8={'time':Math[_0x45496a(0x69e)](Date[_0x45496a(0x379)]()/0x3e8),'domain':location[_0x45496a(0x3da)]};return _0x407874(JSON[_0x45496a(0x658)](_0x23f2d8),_0x7bccdb);}}var _0x3a1b46=Object[_0x139045(0x620)],_0x25d193=Object[_0x139045(0x264)],_0x2223ba=(_0x4947d7,_0x43f349,_0x2df7dd,_0x139f52)=>{const _0x4ecda0=_0x139045;for(var _0x3e4892=_0x139f52>0x1?void 0x0:_0x139f52?_0x25d193(_0x43f349,_0x2df7dd):_0x43f349,_0x494e82=_0x4947d7[_0x4ecda0(0x62b)]-0x1,_0x21bf0d;_0x494e82>=0x0;_0x494e82--)(_0x21bf0d=_0x4947d7[_0x494e82])&&(_0x3e4892=(_0x139f52?_0x21bf0d(_0x43f349,_0x2df7dd,_0x3e4892):_0x21bf0d(_0x3e4892))||_0x3e4892);return _0x139f52&&_0x3e4892&&_0x3a1b46(_0x43f349,_0x2df7dd,_0x3e4892),_0x3e4892;},_0x198d82=(_0xcce721,_0x477774)=>(_0x360dc4,_0x45cadd)=>_0x477774(_0x360dc4,_0x45cadd,_0xcce721);let _0x18935c=class{constructor(_0xe84e68){const _0x4027d9=_0x139045;this[_0x4027d9(0x517)]=_0xe84e68,this[_0x4027d9(0x545)]();}[_0x139045(0x545)](){const _0x443b9e=_0x139045;this[_0x443b9e(0x517)]['registerHTTPInterceptor']({'interceptor':(_0x28097b,_0x354457)=>{const _0x2f3409=_0x443b9e,_0x1d0c74=_0x28097b[_0x2f3409(0x4b6)],_0xc29121=_0x36834a();return _0xc29121&&_0x1d0c74[_0x2f3409(0x3fd)](_0x2f3409(0x5f7),_0xc29121),_0x354457(_0x28097b);}});}};_0x18935c=_0x2223ba([_0x198d82(0x0,_0x170db9[_0x139045(0x283)](_0x2e400a[_0x139045(0x201)]))],_0x18935c);var _0x164bd3=Object[_0x139045(0x620)],_0x49e8d8=Object[_0x139045(0x264)],_0x1b5567=(_0x3ab5a1,_0x30cee9,_0x303405,_0x51a65e)=>{const _0x54d1d6=_0x139045;for(var _0x33f0e8=_0x51a65e>0x1?void 0x0:_0x51a65e?_0x49e8d8(_0x30cee9,_0x303405):_0x30cee9,_0x5aad0f=_0x3ab5a1[_0x54d1d6(0x62b)]-0x1,_0x1748be;_0x5aad0f>=0x0;_0x5aad0f--)(_0x1748be=_0x3ab5a1[_0x5aad0f])&&(_0x33f0e8=(_0x51a65e?_0x1748be(_0x30cee9,_0x303405,_0x33f0e8):_0x1748be(_0x33f0e8))||_0x33f0e8);return _0x51a65e&&_0x33f0e8&&_0x164bd3(_0x30cee9,_0x303405,_0x33f0e8),_0x33f0e8;},_0x25094f=(_0x3d4ab2,_0x1c5d73)=>(_0x2006ad,_0x1dcdaa)=>_0x1c5d73(_0x2006ad,_0x1dcdaa,_0x3d4ab2);const _0x39a1bf=[_0x139045(0x41c),'image/jpeg',_0x139045(0x65d),_0x139045(0x30e),_0x139045(0x639)],_0x1629d2=0x5*0x400*0x400,_0x34a910=_0x139045(0x656),_0x232091=_0x139045(0x367),_0x3b848d=_0x139045(0x419),_0x4d230b=_0x139045(0x647);_0x2ebd39[_0x139045(0x304)]=class{constructor(_0x4ae54d,_0x34605e,_0x1597b9){const _0x454b8b=_0x139045;_0xee5085(this,_0x454b8b(0x608),0x0),_0xee5085(this,_0x454b8b(0x5bb),new _0x145930['Subject']()),_0xee5085(this,_0x454b8b(0x5b6),this[_0x454b8b(0x5bb)]),_0xee5085(this,_0x454b8b(0x1f4),new Map()),(this['_httpService']=_0x4ae54d,this[_0x454b8b(0x397)]=_0x34605e,this[_0x454b8b(0x230)]=_0x1597b9);}[_0x139045(0x612)](_0x5ee21a){this['_waitCount']=_0x5ee21a,this['_change$']['next'](_0x5ee21a);}['getImageSourceCache'](_0x2c0861,_0x543058){const _0x4578cc=_0x139045;if(_0x543058===_0x19d7a3[_0x4578cc(0x357)][_0x4578cc(0x623)]){const _0x43c275=new Image();return _0x43c275[_0x4578cc(0x524)]=_0x2c0861,_0x43c275;}return this[_0x4578cc(0x1f4)]['get'](_0x2c0861);}[_0x139045(0x44c)](_0x523467,_0x2d0f04,_0x599597){const _0x344562=_0x139045;_0x2d0f04===_0x19d7a3[_0x344562(0x357)][_0x344562(0x623)]||_0x599597==null||this[_0x344562(0x1f4)][_0x344562(0x3fd)](_0x523467,_0x599597);}async['getImage'](_0x336720){const _0x68b829=_0x139045;try{const _0x197e13=this['_replaceFileID'](this[_0x68b829(0x693)](),''+_0x336720),_0x260af8=(await this['_httpService']['get'](_0x197e13))['body'];if(_0x260af8['error']&&_0x260af8[_0x68b829(0x406)]['code']===_0x3d36da['OK']){const _0x37824c=new URL(_0x260af8[_0x68b829(0x64f)],this[_0x68b829(0x52d)]())[_0x68b829(0x2eb)]();return Promise['resolve'](_0x37824c);}return Promise[_0x68b829(0x2a1)](_0x260af8[_0x68b829(0x406)]);}catch(_0x4dfed2){return Promise['reject'](_0x4dfed2);}}async['saveImage'](_0x502c25){const _0x111435=_0x139045;let _0xde9c5b='';if(!_0x39a1bf[_0x111435(0x63b)](_0x502c25[_0x111435(0x3e2)]))return this[_0x111435(0x515)](),Promise['reject'](new Error(_0x19d7a3[_0x111435(0x535)]['ERROR_IMAGE_TYPE']));if(_0x502c25[_0x111435(0x60c)]>_0x1629d2)return this[_0x111435(0x515)](),Promise['reject'](new Error(_0x19d7a3['ImageUploadStatusType'][_0x111435(0x66f)]));try{const _0x4a36bb=new FormData();_0x4a36bb[_0x111435(0x26f)](_0x111435(0x434),_0x502c25);const _0x1092c4=this['_univerInstanceService']['getFocusedUnit'](),_0xe6b9a2=_0x1092c4==null?void 0x0:_0x1092c4[_0x111435(0x238)]();if(!_0xe6b9a2)throw new Error(_0x111435(0x53d));const _0x1af5fa=this[_0x111435(0x2e3)]()+'?size='+_0x502c25[_0x111435(0x60c)]['toString']()+_0x111435(0x427)+_0x517db4[_0x111435(0x662)]+_0x111435(0x4f3)+encodeURIComponent(_0xe6b9a2),_0x47f34e=await(await fetch(_0x1af5fa,{'method':'POST','body':_0x4a36bb}))[_0x111435(0x1f9)]();if(typeof _0x47f34e['FileId']!='string')return this['_decreaseWaiting'](),Promise[_0x111435(0x2a1)](new Error(_0x19d7a3[_0x111435(0x535)][_0x111435(0x529)]));_0xde9c5b=_0x47f34e[_0x111435(0x51f)];}catch{return this['_decreaseWaiting'](),Promise[_0x111435(0x2a1)](new Error(_0x19d7a3[_0x111435(0x535)][_0x111435(0x529)]));}return new Promise((_0x7eea3f,_0x5128ec)=>{const _0x3319db=_0x111435,_0x54be65=new FileReader();_0x54be65['readAsDataURL'](_0x502c25),_0x54be65[_0x3319db(0x2b5)]=_0xab714a=>{const _0x28b223=_0x3319db;var _0x1f08ae;const _0x10d585=(_0x1f08ae=_0xab714a[_0x28b223(0x250)])==null?void 0x0:_0x1f08ae[_0x28b223(0x346)];if(_0x10d585==null){this[_0x28b223(0x515)](),_0x5128ec(new Error(_0x19d7a3[_0x28b223(0x535)][_0x28b223(0x529)]));return;}const _0x1f724b=_0x170db9[_0x28b223(0x26e)]['generateRandomId'](0x6);_0x7eea3f({'imageId':_0x1f724b,'imageSourceType':_0x19d7a3[_0x28b223(0x357)][_0x28b223(0x257)],'source':_0xde9c5b,'base64Cache':_0x10d585,'status':_0x19d7a3[_0x28b223(0x535)][_0x28b223(0x63d)]}),this['_decreaseWaiting']();};});}[_0x139045(0x2e3)](){const _0x4f2074=_0x139045;var _0x51a18f,_0x3848a5;const _0x477daa=this[_0x4f2074(0x397)][_0x4f2074(0x34b)](_0x34a910),_0x3748aa=this[_0x4f2074(0x397)][_0x4f2074(0x34b)](_0x2cc87b);return(_0x3848a5=(_0x51a18f=_0x3748aa==null?void 0x0:_0x3748aa[_0x4f2074(0x46c)])!=null?_0x51a18f:_0x477daa)!=null?_0x3848a5:_0x232091;}[_0x139045(0x693)](){const _0x1af41a=_0x139045;var _0x2e9e23,_0x366dff;const _0x2676f5=this[_0x1af41a(0x397)][_0x1af41a(0x34b)](_0x3b848d),_0x204c18=this['_configService'][_0x1af41a(0x34b)](_0x2cc87b);return(_0x366dff=(_0x2e9e23=_0x204c18==null?void 0x0:_0x204c18[_0x1af41a(0x299)])!=null?_0x2e9e23:_0x2676f5)!=null?_0x366dff:_0x4d230b;}[_0x139045(0x52d)](){const _0x593ab9=_0x139045;var _0x558076;const _0x5b1362=this[_0x593ab9(0x397)][_0x593ab9(0x34b)](_0x2cc87b);return(_0x558076=_0x5b1362==null?void 0x0:_0x5b1362['downloadEndpointUrl'])!=null?_0x558076:location[_0x593ab9(0x4ae)];}['_replaceFileID'](_0x339f50,_0x528079){const _0x262827=_0x139045;return _0x339f50[_0x262827(0x42e)](_0x262827(0x52e),_0x528079);}[_0x139045(0x515)](){const _0x25721e=_0x139045;this[_0x25721e(0x608)]-=0x1,this[_0x25721e(0x5bb)][_0x25721e(0x4ed)](this['_waitCount']);}},_0x2ebd39[_0x139045(0x304)]=_0x1b5567([_0x25094f(0x0,_0x170db9[_0x139045(0x283)](_0x2e400a['HTTPService'])),_0x25094f(0x1,_0x170db9['IConfigService']),_0x25094f(0x2,_0x170db9[_0x139045(0x283)](_0x170db9['IUniverInstanceService']))],_0x2ebd39[_0x139045(0x304)]);var _0x132f3e=Object[_0x139045(0x620)],_0x4349c2=Object[_0x139045(0x264)],_0x4a2f17=(_0x21b765,_0x4fab7f,_0x759a84,_0x1e8f23)=>{const _0x3df514=_0x139045;for(var _0x29c141=_0x1e8f23>0x1?void 0x0:_0x1e8f23?_0x4349c2(_0x4fab7f,_0x759a84):_0x4fab7f,_0x11f975=_0x21b765[_0x3df514(0x62b)]-0x1,_0x1f6ca1;_0x11f975>=0x0;_0x11f975--)(_0x1f6ca1=_0x21b765[_0x11f975])&&(_0x29c141=(_0x1e8f23?_0x1f6ca1(_0x4fab7f,_0x759a84,_0x29c141):_0x1f6ca1(_0x29c141))||_0x29c141);return _0x1e8f23&&_0x29c141&&_0x132f3e(_0x4fab7f,_0x759a84,_0x29c141),_0x29c141;},_0x2c8d18=(_0xbefcdf,_0xe0ce0f)=>(_0x4d1469,_0x2ab4fa)=>_0xe0ce0f(_0x4d1469,_0x2ab4fa,_0xbefcdf);let _0x171ac9=class extends _0x170db9[_0x139045(0x436)]{constructor(_0x3223bb,_0x3a662f,_0x40b350,_0x344355,_0x1f61df){const _0x49c18e=_0x139045;super(),this[_0x49c18e(0x43f)]=_0x3223bb,this[_0x49c18e(0x230)]=_0x3a662f,this[_0x49c18e(0x42a)]=_0x40b350,this[_0x49c18e(0x4b2)]=_0x344355,this['_localeService']=_0x1f61df,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x139045(0x4d9)](){const _0x105c47=_0x139045,_0x209141=async _0x30aca0=>{const _0x16d866=_0x10db;(await this[_0x16d866(0x4b2)][_0x16d866(0x2f8)](_0x30aca0))[_0x16d866(0x2b6)][_0x16d866(0x640)](_0x34e4e3[_0x16d866(0x296)](_0x3d00f5=>_0x3d00f5['eventID']===_0x294b4b[_0x16d866(0x3af)][_0x16d866(0x5c9)]),_0x34e4e3[_0x16d866(0x28b)](this[_0x16d866(0x67f)]))[_0x16d866(0x519)](_0x1efbf2=>{const _0x15a607=_0x16d866,_0x4fc944=_0x1efbf2,{reason:_0x273dee}=_0x4fc944['data'];this['_injector'][_0x15a607(0x51c)](_0x332830['IMessageService'])[_0x15a607(0x4ef)]({'type':_0x3e1273['MessageType'][_0x15a607(0x355)],'content':this[_0x15a607(0x630)]['t'](_0x15a607(0x2ae))+'('+_0x273dee+')'}),this[_0x15a607(0x42a)]['updatePermissionPoint'](new _0x292e35['WorkbookEditablePermission'](_0x30aca0)['id'],!0x1),this[_0x15a607(0x4b2)][_0x15a607(0x325)](_0x30aca0);});};_0x145930[_0x105c47(0x5ea)](this[_0x105c47(0x230)][_0x105c47(0x4c6)](_0x170db9[_0x105c47(0x320)][_0x105c47(0x696)]),this[_0x105c47(0x230)][_0x105c47(0x4c6)](_0x170db9[_0x105c47(0x320)][_0x105c47(0x4ca)]))[_0x105c47(0x640)](_0x34e4e3[_0x105c47(0x33a)](_0x15b6b6=>_0x15b6b6['getUnitId']()),_0x34e4e3['filter'](_0x5f4b47=>!_0x170db9[_0x105c47(0x286)](_0x5f4b47)),_0x34e4e3['takeUntil'](this[_0x105c47(0x67f)]))[_0x105c47(0x519)](_0x4301d3=>{_0x209141(_0x4301d3);});}[_0x139045(0x29e)](){const _0x3ecd28=_0x139045,_0x550a92=async _0x1469a2=>{const _0x4d363c=_0x10db;(await this[_0x4d363c(0x4b2)]['requireSession'](_0x1469a2))[_0x4d363c(0x2b6)]['pipe'](_0x34e4e3[_0x4d363c(0x296)](_0x1e6aaa=>_0x1e6aaa[_0x4d363c(0x258)]===_0x294b4b['CollaborationEvent'][_0x4d363c(0x5f8)]),_0x34e4e3[_0x4d363c(0x28b)](this['dispose$']))['subscribe'](_0x203bc6=>{const _0x35f125=_0x4d363c,_0x260755=_0x203bc6,{objectId:_0x131e8d}=_0x260755[_0x35f125(0x3a4)],_0x4bb4be=this[_0x35f125(0x43f)]['get'](_0x342006[_0x35f125(0x553)]);_0x131e8d===_0x1469a2?_0x4bb4be[_0x35f125(0x53a)](_0x1469a2):_0x4bb4be['refreshPermission'](_0x1469a2,_0x131e8d);});};_0x145930[_0x3ecd28(0x5ea)](this[_0x3ecd28(0x230)][_0x3ecd28(0x4c6)](_0x170db9[_0x3ecd28(0x320)][_0x3ecd28(0x696)]),this[_0x3ecd28(0x230)]['getTypeOfUnitAdded$'](_0x170db9[_0x3ecd28(0x320)][_0x3ecd28(0x4ca)]))[_0x3ecd28(0x640)](_0x34e4e3[_0x3ecd28(0x33a)](_0x198a17=>_0x198a17['getUnitId']()),_0x34e4e3[_0x3ecd28(0x296)](_0x1a35f2=>!_0x170db9['isInternalEditorID'](_0x1a35f2)),_0x34e4e3[_0x3ecd28(0x28b)](this['dispose$']))['subscribe'](_0x46b3e2=>{_0x550a92(_0x46b3e2);});}};_0x171ac9=_0x4a2f17([_0x2c8d18(0x0,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x667)])),_0x2c8d18(0x1,_0x170db9[_0x139045(0x22f)]),_0x2c8d18(0x2,_0x170db9['IPermissionService']),_0x2c8d18(0x3,_0x170db9[_0x139045(0x283)](_0x2ebd39[_0x139045(0x353)])),_0x2c8d18(0x4,_0x170db9['Inject'](_0x170db9[_0x139045(0x2bc)]))],_0x171ac9);var _0x4279c7=Object[_0x139045(0x620)],_0x565dda=Object[_0x139045(0x264)],_0x64e997=(_0x5fcd2e,_0x5c1fc9,_0x375e4d,_0x2e0433)=>{const _0x2f90b6=_0x139045;for(var _0x1e3fce=_0x2e0433>0x1?void 0x0:_0x2e0433?_0x565dda(_0x5c1fc9,_0x375e4d):_0x5c1fc9,_0x5accbf=_0x5fcd2e[_0x2f90b6(0x62b)]-0x1,_0x3f66f6;_0x5accbf>=0x0;_0x5accbf--)(_0x3f66f6=_0x5fcd2e[_0x5accbf])&&(_0x1e3fce=(_0x2e0433?_0x3f66f6(_0x5c1fc9,_0x375e4d,_0x1e3fce):_0x3f66f6(_0x1e3fce))||_0x1e3fce);return _0x2e0433&&_0x1e3fce&&_0x4279c7(_0x5c1fc9,_0x375e4d,_0x1e3fce),_0x1e3fce;},_0x317d6b=(_0x3343ba,_0x326710)=>(_0x4805cb,_0xfdb658)=>_0x326710(_0x4805cb,_0xfdb658,_0x3343ba);_0x2ebd39[_0x139045(0x4f0)]=class{constructor(_0x3936d5,_0x185a1a){const _0x18363f=_0x139045;this[_0x18363f(0x397)]=_0x3936d5,this['_httpService']=_0x185a1a;}async[_0x139045(0x4d5)](_0x358b25,_0xb41486){const _0x2bcfcd=_0x139045;var _0x2feff2;const {unitID:_0xbd59db,type:_0x31ab01,revision:_0x131c54=0x0}=_0xb41486,_0x8e2bb1=this[_0x2bcfcd(0x44e)]()+'/'+_0x31ab01+_0x2bcfcd(0x5b2)+_0xbd59db+_0x2bcfcd(0x4ff)+_0x131c54,_0x297b93=(await this[_0x2bcfcd(0x517)][_0x2bcfcd(0x51c)](_0x8e2bb1))[_0x2bcfcd(0x43e)],_0x417a2c=(_0x2feff2=_0x297b93[_0x2bcfcd(0x5f2)])==null?void 0x0:_0x2feff2[_0x2bcfcd(0x590)];if(_0x417a2c){const _0x59f269=_0x417a2c==null?void 0x0:_0x417a2c[_0x2bcfcd(0x5af)],_0x32de5f=_0x294b4b['textEncoder']['encode'](_0x294b4b[_0x2bcfcd(0x5a1)](_0x59f269));_0x417a2c[_0x2bcfcd(0x5af)]=_0x32de5f,Object['entries'](_0x417a2c[_0x2bcfcd(0x660)])['forEach'](([,_0x164ef0])=>{const _0x1f8d28=_0x2bcfcd,_0x909949=_0x164ef0['originalMeta'],_0x17c0e9=_0x294b4b['textEncoder'][_0x1f8d28(0x40e)](_0x294b4b[_0x1f8d28(0x5a1)](_0x909949));_0x164ef0[_0x1f8d28(0x5af)]=_0x17c0e9;});}return _0x297b93;}async[_0x139045(0x345)](_0x80559c,_0x2905b7){const _0x49f685=_0x139045,{unitID:_0x13f7a8,type:_0x5fd722,blockID:_0x4e50f6}=_0x2905b7,_0xe966e3=this['_getAPIPrefix']()+'/'+_0x5fd722+_0x49f685(0x5b2)+_0x13f7a8+_0x49f685(0x3d9)+_0x4e50f6;return(await this['_httpService'][_0x49f685(0x51c)](_0xe966e3))[_0x49f685(0x43e)];}async[_0x139045(0x69f)](_0x4117fe,_0x2280c6){const _0x775079=_0x139045,{unitID:_0x5c2553,type:_0x76ba3d,blockID:_0x536079}=_0x2280c6,_0x4007e6=this[_0x775079(0x402)]()+_0x775079(0x3d9)+_0x76ba3d+'/unit/'+_0x5c2553+_0x775079(0x3d9)+_0x536079;return(await this[_0x775079(0x517)][_0x775079(0x51c)](_0x4007e6))[_0x775079(0x43e)];}async[_0x139045(0x440)](_0x4fb517,_0x295901){const _0x21d5c0=_0x139045,{unitID:_0x905dc4,type:_0xb0595e,from:_0x459a58,to:_0x3374ab}=_0x295901,_0x4cfa93=this[_0x21d5c0(0x402)]()+'/'+_0xb0595e+_0x21d5c0(0x5b2)+_0x905dc4+_0x21d5c0(0x5ac)+_0x459a58+_0x21d5c0(0x42b)+_0x3374ab;return(await this[_0x21d5c0(0x517)]['get'](_0x4cfa93))[_0x21d5c0(0x43e)];}[_0x139045(0x44e)](){const _0x2f6fe6=_0x139045;var _0x2d5820;return(_0x2d5820=this[_0x2f6fe6(0x397)][_0x2f6fe6(0x34b)](_0x23a416))!=null?_0x2d5820:this[_0x2f6fe6(0x402)]();}[_0x139045(0x402)](){const _0x41807f=_0x139045;var _0x25305c,_0x49d393;const _0x327f81=this[_0x41807f(0x397)][_0x41807f(0x34b)](_0x382152),_0xa1354=this[_0x41807f(0x397)][_0x41807f(0x34b)](_0x2cc87b);return(_0x49d393=(_0x25305c=_0xa1354==null?void 0x0:_0xa1354['snapshotServerUrl'])!=null?_0x25305c:_0x327f81)!=null?_0x49d393:_0x4275b2;}async[_0x139045(0x502)](_0x40586b,_0x1752aa){const _0x2fd3fa=_0x139045,_0x5b30db='/universer-api/snapshot/'+_0x1752aa['type']+_0x2fd3fa(0x5b2)+_0x1752aa[_0x2fd3fa(0x4ee)]+_0x2fd3fa(0x2c2);return(await this['_httpService'][_0x2fd3fa(0x51c)](_0x5b30db,{'params':{'resourceId':JSON[_0x2fd3fa(0x658)](_0x1752aa[_0x2fd3fa(0x2bd)])}}))['body'];}[_0x139045(0x5e9)](){const _0x247c90=_0x139045;throw new Error(_0x247c90(0x2c5));}[_0x139045(0x56f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x139045(0x2dd)](){const _0xd6b577=_0x139045;throw new Error(_0xd6b577(0x2c5));}[_0x139045(0x2aa)](){const _0x117418=_0x139045;throw new Error(_0x117418(0x2c5));}[_0x139045(0x585)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x2ebd39[_0x139045(0x4f0)]=_0x64e997([_0x317d6b(0x0,_0x170db9[_0x139045(0x57a)]),_0x317d6b(0x1,_0x170db9[_0x139045(0x283)](_0x2e400a[_0x139045(0x201)]))],_0x2ebd39[_0x139045(0x4f0)]);var _0x419d75=Object[_0x139045(0x620)],_0x505eca=Object[_0x139045(0x264)],_0x3966f0=(_0x432c48,_0x1434d8,_0x70d9bf,_0x660e1e)=>{const _0x392ede=_0x139045;for(var _0x4a330d=_0x660e1e>0x1?void 0x0:_0x660e1e?_0x505eca(_0x1434d8,_0x70d9bf):_0x1434d8,_0x47a906=_0x432c48[_0x392ede(0x62b)]-0x1,_0x431458;_0x47a906>=0x0;_0x47a906--)(_0x431458=_0x432c48[_0x47a906])&&(_0x4a330d=(_0x660e1e?_0x431458(_0x1434d8,_0x70d9bf,_0x4a330d):_0x431458(_0x4a330d))||_0x4a330d);return _0x660e1e&&_0x4a330d&&_0x419d75(_0x1434d8,_0x70d9bf,_0x4a330d),_0x4a330d;},_0x26bc83=(_0x4ae13e,_0x40645d)=>(_0x4493f4,_0x52361b)=>_0x40645d(_0x4493f4,_0x52361b,_0x4ae13e);let _0x1a66c0=class extends _0x170db9[_0x139045(0x486)]{constructor(_0x249595,_0x2d42c8,_0xf319,_0xb3084d,_0x281084){const _0x2a0df7=_0x139045;super(_0x249595,_0x2d42c8,_0xf319),this[_0x2a0df7(0x205)]=_0xb3084d,this[_0x2a0df7(0x5b4)]=_0x281084;}['transformUndoRedo'](_0x33dcf8,_0x5ad088){const _0x31596f=_0x139045,_0x210920=this[_0x31596f(0x60b)](_0x33dcf8);if(_0x210920)try{const _0x9b556a=this['_transformStack'](_0x210920,_0x5ad088);this['_substituteUndoStack'](_0x33dcf8,_0x9b556a);}catch(_0x1b761c){this[_0x31596f(0x5b4)][_0x31596f(0x406)](_0x31596f(0x4bd),_0x1b761c),this[_0x31596f(0x4c1)](_0x33dcf8);}const _0x35806c=this['_getRedoStack'](_0x33dcf8);if(_0x35806c)try{const _0x4f373d=this[_0x31596f(0x2b9)](_0x35806c,_0x5ad088);this[_0x31596f(0x565)](_0x33dcf8,_0x4f373d);}catch(_0x3bda15){this[_0x31596f(0x5b4)][_0x31596f(0x406)](_0x3bda15),this['_clearRedo'](_0x33dcf8);}}[_0x139045(0x4c1)](_0x4604d3){const _0x1130fe=_0x139045,_0x5a1eed=this[_0x1130fe(0x60b)](_0x4604d3);_0x5a1eed&&(_0x5a1eed[_0x1130fe(0x62b)]=0x0,this[_0x1130fe(0x47c)]());}[_0x139045(0x48a)](_0x520bac){const _0x337ab4=_0x139045,_0x3f9d67=this['_getRedoStack'](_0x520bac);_0x3f9d67&&(_0x3f9d67['length']=0x0,this[_0x337ab4(0x47c)]());}[_0x139045(0x625)](_0x28070c,_0x1f33d5){const _0x1ba6f3=_0x139045;this[_0x1ba6f3(0x4c2)][_0x1ba6f3(0x3fd)](_0x28070c,_0x1f33d5),this[_0x1ba6f3(0x47c)]();}[_0x139045(0x565)](_0x41a237,_0x847263){const _0x478a5e=_0x139045;this[_0x478a5e(0x4e7)][_0x478a5e(0x3fd)](_0x41a237,_0x847263),this['_updateStatus']();}[_0x139045(0x2b9)](_0x1daf0c,_0x439d72){const _0x2eafdb=_0x139045,_0x180959=[];let _0x58027f=_0x439d72,_0x2597dd=_0x439d72;for(let _0x1acaef=_0x1daf0c[_0x2eafdb(0x62b)]-0x1;_0x1acaef>=0x0;_0x1acaef--){const {unitID:_0x47e0ec,undoMutations:_0x2f5baa,redoMutations:_0x11792f}=_0x1daf0c[_0x1acaef],_0x557fb1=this['_transformService']['transformMutationsWithChangeset'](_0x58027f,_0x2f5baa),_0x50d916=this[_0x2eafdb(0x205)][_0x2eafdb(0x5fe)](_0x2597dd,_0x11792f);if(_0x294b4b[_0x2eafdb(0x328)](_0x557fb1)||_0x294b4b['isTransformMutationsWithChangesetFailure'](_0x50d916)){this[_0x2eafdb(0x5b4)][_0x2eafdb(0x406)](_0x2eafdb(0x4bd),_0x2eafdb(0x26d),_0x557fb1,_0x50d916);break;}_0x58027f=_0x557fb1[_0x2eafdb(0x386)],_0x2597dd=_0x50d916['c1Prime'],_0x180959['push']({'unitID':_0x47e0ec,'undoMutations':_0x557fb1['m2Prime'],'redoMutations':_0x50d916[_0x2eafdb(0x5c3)]});}return _0x180959[_0x2eafdb(0x35d)]();}};_0x1a66c0=_0x3966f0([_0x26bc83(0x0,_0x170db9[_0x139045(0x22f)]),_0x26bc83(0x1,_0x170db9['ICommandService']),_0x26bc83(0x2,_0x170db9['IContextService']),_0x26bc83(0x3,_0x294b4b[_0x139045(0x363)]),_0x26bc83(0x4,_0x170db9[_0x139045(0x686)])],_0x1a66c0);class _0x307fc6 extends _0x170db9[_0x139045(0x436)]{constructor(){const _0x2a3a5a=_0x139045;super(),_0xee5085(this,_0x2a3a5a(0x61c)),this[_0x2a3a5a(0x61c)]=_0x145930['fromEvent'](window,_0x2a3a5a(0x5ad))[_0x2a3a5a(0x640)](_0x145930['takeUntil'](this[_0x2a3a5a(0x67f)]),_0x145930['shareReplay'](0x1),_0x145930['mapTo'](void 0x0));}[_0x139045(0x382)](_0x3e4935,_0x46fcda,_0x1641b1=!0x1){const _0x549be2=_0x139045,_0xcca97d=new URL(window[_0x549be2(0x41d)][_0x549be2(0x6a4)]);_0xcca97d['searchParams'][_0x549be2(0x3fd)](_0x3e4935,_0x46fcda),_0x1641b1?window['history'][_0x549be2(0x405)]('','',_0xcca97d[_0x549be2(0x2eb)]()):window[_0x549be2(0x244)]['pushState']('','',_0xcca97d[_0x549be2(0x2eb)]());}['removeParam'](_0x22018f,_0x4ae684=!0x1){const _0x3a39b4=_0x139045,_0x2be6f5=new URL(window[_0x3a39b4(0x41d)][_0x3a39b4(0x6a4)]);_0x2be6f5[_0x3a39b4(0x37c)][_0x3a39b4(0x5bd)](_0x22018f),_0x4ae684?window[_0x3a39b4(0x244)]['replaceState']('','',_0x2be6f5[_0x3a39b4(0x2eb)]()):window['history'][_0x3a39b4(0x4b4)]('','',_0x2be6f5[_0x3a39b4(0x2eb)]());}[_0x139045(0x68b)](_0x3b6893){const _0x5856c5=_0x139045;var _0xa6537f;return(_0xa6537f=new URL(window[_0x5856c5(0x41d)][_0x5856c5(0x6a4)])[_0x5856c5(0x37c)][_0x5856c5(0x51c)](_0x3b6893))!=null?_0xa6537f:void 0x0;}}var _0x123b3c=Object['defineProperty'],_0x4bf7b4=Object[_0x139045(0x264)],_0x3df6ed=(_0x12664f,_0x5bc3f4,_0x2a03a3)=>_0x5bc3f4 in _0x12664f?_0x123b3c(_0x12664f,_0x5bc3f4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a03a3}):_0x12664f[_0x5bc3f4]=_0x2a03a3,_0x5db858=(_0xd9d4a1,_0x29f788,_0x433b2f,_0x19c98d)=>{const _0x2d2bd7=_0x139045;for(var _0xdeef2e=_0x19c98d>0x1?void 0x0:_0x19c98d?_0x4bf7b4(_0x29f788,_0x433b2f):_0x29f788,_0xd8af82=_0xd9d4a1[_0x2d2bd7(0x62b)]-0x1,_0x193299;_0xd8af82>=0x0;_0xd8af82--)(_0x193299=_0xd9d4a1[_0xd8af82])&&(_0xdeef2e=(_0x19c98d?_0x193299(_0x29f788,_0x433b2f,_0xdeef2e):_0x193299(_0xdeef2e))||_0xdeef2e);return _0x19c98d&&_0xdeef2e&&_0x123b3c(_0x29f788,_0x433b2f,_0xdeef2e),_0xdeef2e;},_0x2c47dc=(_0x53c7d3,_0x237c39)=>(_0x217fc7,_0x52b6ee)=>_0x237c39(_0x217fc7,_0x52b6ee,_0x53c7d3),_0x5eef3f=(_0x24a6c3,_0x108be8,_0x57c749)=>_0x3df6ed(_0x24a6c3,_0x108be8+'',_0x57c749);const _0x50a47c='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x2ebd39[_0x139045(0x385)]=class extends _0x170db9[_0x139045(0x54d)]{constructor(_0x54e728=_0x3ae446,_0x56b601,_0x103243,_0x2a029c,_0x1d8f77){const _0x4c2a3d=_0x139045;super(),this[_0x4c2a3d(0x203)]=_0x54e728,this[_0x4c2a3d(0x5b4)]=_0x56b601,this[_0x4c2a3d(0x42c)]=_0x103243,this['_injector']=_0x2a029c,this[_0x4c2a3d(0x397)]=_0x1d8f77;const {..._0x8801d1}=this[_0x4c2a3d(0x203)];this[_0x4c2a3d(0x397)][_0x4c2a3d(0x3b1)](_0x2cc87b,_0x8801d1);}[_0x139045(0x4cf)](){const _0x2798cf=_0x139045;this[_0x2798cf(0x1eb)](),this['_initDependencies']();}['onReady'](){const _0x443b89=_0x139045;_0x170db9[_0x443b89(0x626)](this[_0x443b89(0x43f)],[[_0x444c85]]);}[_0x139045(0x65b)](){const _0x556113=_0x139045;this[_0x556113(0x479)]();}[_0x139045(0x1eb)](){const _0x16164b=_0x139045;var _0x488714,_0xb2a765,_0x50b4ba,_0x3b0999;this['_injector']['has'](_0x170db9[_0x16164b(0x3c1)])&&this[_0x16164b(0x5b4)]['error'](_0x16164b(0x354),_0x16164b(0x454));const _0x59231e=[[_0x170db9[_0x16164b(0x3c1)],{'useClass':_0x1a66c0}],[_0x2ebd39[_0x16164b(0x353)]],[_0x14d354],[_0x395cfd,{'useClass':_0x307fc6}],[_0x2ebd39[_0x16164b(0x2d4)]],[_0x2ebd39['LocalCacheService']],[_0x2e400a[_0x16164b(0x63e)]],[_0x910a13],[_0x5009b3],[_0x52392c],[_0x374887],[_0x4a72d6],[_0x16eff6],[_0x18935c],[_0x29434f],[_0x171ac9],[_0x54bec8,{'useClass':(_0xb2a765=(_0x488714=this[_0x16164b(0x203)])==null?void 0x0:_0x488714[_0x16164b(0x64c)])!=null?_0xb2a765:_0x2ebd39[_0x16164b(0x4fe)]}],[_0x294b4b[_0x16164b(0x652)],{'useClass':_0x2ebd39[_0x16164b(0x4f0)]}],[_0x170db9[_0x16164b(0x579)],{'useClass':_0x2ebd39[_0x16164b(0x3d5)]}],[_0x19d7a3[_0x16164b(0x634)],{'useClass':_0x2ebd39['ImageIoService']}],[_0x2ebd39[_0x16164b(0x312)]],[_0x2ebd39[_0x16164b(0x2c3)]],[_0x2ebd39['DesktopCollaborationStatusDisplayController']],[_0x444c85],[_0x2ef012]];(_0x50b4ba=this['_config'])!=null&&_0x50b4ba[_0x16164b(0x25a)]&&_0x59231e['push']([_0x2410a4,{'useClass':_0x7ab452}]),_0x170db9[_0x16164b(0x5b3)](this[_0x16164b(0x43f)],_0x170db9['mergeOverrideWithDependencies'](_0x59231e,(_0x3b0999=this[_0x16164b(0x203)])==null?void 0x0:_0x3b0999[_0x16164b(0x347)]));}[_0x139045(0x479)](){const _0x4a6a4a=_0x139045;this[_0x4a6a4a(0x32f)](this['_renderManagerService'][_0x4a6a4a(0x53b)](_0x170db9['UniverInstanceType'][_0x4a6a4a(0x4ca)],[_0x53d888])),this['disposeWithMe'](this['_renderManagerService'][_0x4a6a4a(0x53b)](_0x170db9[_0x4a6a4a(0x320)]['UNIVER_SHEET'],[_0x52b222]));}[_0x139045(0x43a)](){const _0x53090b=_0x139045;var _0x387746,_0x44ddfd;this[_0x53090b(0x43f)]['get'](_0x2e400a[_0x53090b(0x201)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x2e400a[_0x53090b(0x39c)]({'maxParallel':0x6})}),(_0x387746=this[_0x53090b(0x203)])!=null&&_0x387746[_0x53090b(0x624)]||this[_0x53090b(0x43f)][_0x53090b(0x51c)](_0x2ebd39[_0x53090b(0x477)])[_0x53090b(0x598)](),(_0x44ddfd=this['_config'])!=null&&_0x44ddfd[_0x53090b(0x3e5)]&&_0x170db9['touchDependencies'](this[_0x53090b(0x43f)],[[_0x16eff6]]),_0x170db9[_0x53090b(0x626)](this['_injector'],[[_0x18935c],[_0x2ef012],[_0x2ebd39['DataLoaderController']],[_0x2ebd39[_0x53090b(0x312)]],[_0x2ebd39[_0x53090b(0x5a0)]],[_0x171ac9]]);}},_0x5eef3f(_0x2ebd39[_0x139045(0x385)],'pluginName',_0x50a47c),_0x2ebd39[_0x139045(0x385)]=_0x5db858([_0x170db9['DependentOn'](_0x294b4b['UniverCollaborationPlugin'],_0x2e400a['UniverNetworkPlugin']),_0x2c47dc(0x1,_0x170db9[_0x139045(0x686)]),_0x2c47dc(0x2,_0x224b0f['IRenderManagerService']),_0x2c47dc(0x3,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x667)])),_0x2c47dc(0x4,_0x170db9[_0x139045(0x57a)])],_0x2ebd39[_0x139045(0x385)]),_0x2ebd39[_0x139045(0x2df)]=_0xe9baf9,_0x2ebd39[_0x139045(0x3d2)]=_0x33b525,_0x2ebd39[_0x139045(0x372)]=_0x3e23b2,_0x2ebd39[_0x139045(0x306)]=_0xd10e72,_0x2ebd39[_0x139045(0x602)]=_0x3294e8,_0x2ebd39[_0x139045(0x523)]=_0x29434f,_0x2ebd39[_0x139045(0x4e0)]=_0x27ced4,_0x2ebd39['HEARTBEAT_TIMEOUT_KEY']=_0x5aed78,_0x2ebd39[_0x139045(0x25b)]=_0x54bec8,_0x2ebd39['IURLService']=_0x395cfd,_0x2ebd39[_0x139045(0x537)]=_0x9789df,_0x2ebd39[_0x139045(0x2cf)]=_0x3cb970,_0x2ebd39[_0x139045(0x682)]=_0x394600,_0x2ebd39['SEND_CHANGESET_TIMEOUT_KEY']=_0x3c6183,_0x2ebd39[_0x139045(0x551)]=_0x382152,_0x2ebd39['SNAPSHOT_URL_KEY']=_0x23a416,_0x2ebd39[_0x139045(0x275)]=_0x3e6c83,_0x2ebd39[_0x139045(0x443)]=_0x1aa00,_0x2ebd39['WebURLService']=_0x307fc6,_0x2ebd39[_0x139045(0x22e)]=_0xb75512,_0x2ebd39[_0x139045(0x642)]=_0xb9a1c0,Object['defineProperty'](_0x2ebd39,Symbol[_0x139045(0x3b4)],{'value':_0x139045(0x375)});}));
|
1
|
+
function _0x520f(){const _0x1b0e62=['close','_collaborationPaused','UniverEngineRender','CBC','reconnect','show','size','_commentService','flatMap','SYNCED','m1Prime','JOINING','onRemoteAck','resend','_createInitialStateImpl','key','_createHelper','transformRemoteChangeset','Subject','exports','_drawAnchor','backgroundColor','resourceIDs','createIdentifier','toRgbString','_tryEnsureSocket','getSheetObject','displayName','idSuffix','_notificationService','_getSheetObject','_refRangeService','members','_doReset','parse','makeDirty','_executeRemoteChangeset','registerOnClose','27eRAgpq','clear','transformStack\x20failed!','HEARTBEAT_INTERVAL','_logService','_type','?url=','_toggleOffline','COMPRESS_MUTATION_APPLY','getItem','onRemoteRej','_DEC_XFORM_MODE','params','override','verdancy600','add','onRemoteRetry','_userManagerService','IConfigService','defaultProps','connection\x20error','_telemetryInfo','UniverDrawing','subUnitId','mapDocumentTypeToUniverType','_handleHover','colorChannel1','_onCombEvent','[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.','ImageIoService','whenReady','FETCH_MISSING','getRangePointData','isTransformChangesetsSuccess','parseProtocolChangeset','rxjs','898XUkYlJ','_instanceService','UniverNetwork','_http','_socketService','_eventUnsubscribe','_transformStack','setAlpha','distinctUntilChanged','ThemeService','div','liveShareNewHost','USERS_ENTER','HmacSHA1','@univerjs/docs','every','_ensureSubject','awaiting','_online','body','_collabSessionService','/block/','_schedule','unitId','path','textRanges','/universer-api/snapshot','eventID','listCollaborators','delete','string','getCoordByCell','debounce','_onRemoteChangeset','_updateState','loginUrlKey','pad','IUndoRedoService','_redoStacks','UniverCollaboration','_handleLeaveEvent','updateOfflineData','selection','csShouldRetryEvent','none','cursorInfo','InsertRangeMoveRightCommandId','onMissedChangesetFetched','getRelativeToViewportCoord','_collaborationTimeoutTimer','leaveEvent','OTHER_CLIENTS_EDITING','arc','LocaleService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','...','session.room-full','activeSheet$','floor','@univerjs/telemetry','revision','moveTo','urlChange$','_initRequestHeader','_localCacheService','measureText','_resendWithTimeout','fetch_missing','_sendHeartbeatTimer','crypto','[PendingState]:\x20received\x20rejection.','_messageService','image/png','_saveCache','isInternalEditorID','CommentService','_data','online','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','_queuedRemoteChangesets','_getCurrentRevision','collabStatus.offline','appendMutation','ImageUploadStatusType','getTypeOfUnitDisposed$','HttpExport','Inject','getOwnPropertyDescriptor','save','ERROR_EXCEED_SIZE','focused$','defineProperty','_xformMode','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_anchor','currentColor','_tryReconnect','loadDoc','_ENC_XFORM_MODE','CipherParams','allowed','unitId\x20is\x20not\x20found','_getSendChangesetTimeout','_removeRoom','setConfig','_getRedoStack','Utf8','@univerjs/sheets-ui','endColumn','_reverseMap','_entityInit$','on-line-single_clip0_910_349','AuthzIoHttpService','collabWebSocketUrl','onStarting','set','_updateLocalCursor','error$','HmacMD5','EvpKDF','slice','randomBytes','asObservable','clearInterval','RichTextEditingMutation','_hovered','_resendTimeout','@univerjs/ui','_startTelemetryCollaborationNewChangeset','disposeWithMe','LOGIN_URL_KEY','_onOffline','switchMap','9SgdblN','InsertRangeMoveDownCommandId','HMAC','_acknowledgedAwaitingChangeset','_lastPointer','closePath','SUCCUSS','debug','APPLY_PERMISSION_DENIED','isTransformMutationsWithChangesetFailure','updateMember','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onTransformRemoteChangesetByStateCache','algo','_clearTimeoutTimer','[OfflineState]:\x20received\x20changeset.','_retryCount','href','from','onCommandExecuted','debounceTime','IAuthzIoService','StreamCipher','_shouldReportTelemetry','m2Prime','MUTATION','collab-client.tooltip.reconnect','socket$','objectID','_sessionStatus$','Encryptor','socketService','UnitEmbedded','_key','IBeforeCloseService','CollaborationController','sigBytes','roles','[CollaborationSessionService]','getVpScrollXYInfoByPosToVp','getSkeleton','@univerjs/network','_transformPreviousActiveRange','unshift','awaitingChangeset','onlineStatusIcon','setUndoRedoMutationParamsCache','EffectRefRangId','_invKeySchedule','_transformRemoteChangesetByIMECache','RefRangeService','0\x200\x2017\x2016','UniverDesign','hidden','LICENSE_EXPORT_SIZE_EXCEEDED','getRandomValues','handleInsertRow','@univerjs/design','_scheduleSaving','getTypeOfUnitAdded$','ICollaborationSocketService','toStringTag','closeSession','bind','collabStatus.syncing','use','pipe','_syncEditingCollabCursor','visibilitychange','toDisposable','mode','_scheduleCollaborationTimeoutTimer','_docTransformStateCacheService','_replaceFileID','socket\x20open.','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','collaboration-session-retry','_uiPartsService','restore','HTTPService','toggleOffline','_submitChangeset','putCollaborators','_initStatusComponent','_drawRectRange','DocIMEInputManagerService','dispose','attrs','transformUndoRedo','PERMISSION_REJ','collabSubmitChangesetUrl','getValue','OFFLINE','RemoveColCommandId','setItem','CollaborationSocketService','selections','stringify','_retryConnectingTimer','@univerjs/docs-ui','reject','fromCharCode','dispose$','collaborators','_selfUnitIDs','AWAITING_WITH_PENDING','setShapeProps','EXCHANGE_SIGN_URL_SERVER_URL_KEY','ivSize','roomMembers','send','svg','DocCollaborationEntity','_cursorShapes','getUnitType','length','_onConnectionFailed','_initMergeInterceptor','execute','CollaborationSession','DocSkeletonManagerService','onMissingChangesets','updateCursorEvent','IDLE','_docSkeletonManagerService','_startCollaboration','values','@univerjs/rpc','apply','registerRenderModule','_updateCollabCursors','COLLAB_SUBMIT_CHANGESET_URL_KEY','CollaborationEvent','saveImage','collaboration.closeRoom','initWorkbookPermissionChange','[DataLoaderController]','DesktopCollaborationStatusDisplayController','HTTPRequest','_collabCursorController','find','LICENSE_IMPORT_SIZE_EXCEEDED','offline','downloadEndpointUrl','LocalCacheService','_awaitingChangeset','[CollaborationSession]','getOffsetConfig','_changesetSessionId','_handleEvent','_setupBeforeClosingHandler','_cachedData','onTransformState','_remoteChangesetQueue','_permissionService','rev','with','_minBufferSize','handleInsertCol','Fragment','max','_map','addObjects','charCodeAt','_substituteRedoStack','startRow','ERROR_IMAGE_TYPE','_onRecvEvent','_docStateChangeManagerService','unknown','subscribeEvent','ILogService','_transformUndoRedoStack','confirm','has','session','_transitionLocked','addObject','next','getDeserializedSheetBlock','UniverCollaborationClient','cursorInfo$','VIEWPORT_KEY','encode','newValue','evenodd','CHANGESET_ACK','splice','toString','TRANSFORM_CHANGE_OBSERVABLE_TYPE','requireSession','setParam','_colorAssignService','collabStatus.notCollab','sessionStatus$','ceil','registerRefRange','status','RECT','duration','getRoom','FETCH_MISS','fillText','hasOwnProperty','transformChangesets','call','Error','_scheduleClearOtherTimer','createSocket','IPermissionService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[SyncedState]:\x20received\x20rejection.','getColor','entries','currentTheme$','_scene','[OfflineState]:\x20received\x20rejection.','IImageIoService','_localeService','_startSheetCollabCursor','_initEventListeners','\x0aAfter:\x20','onlineStatusTitle','UniverDocsUi','getParam','NOT_COLLAB','image/jpg','unitID','/universer-api/snapshot/','unpad','COLLAB_WEB_SOCKET_URL','_doFinalize','NOT_FOUND','_themeService','CHANGESET_REVISION_CONFILICT','_unitOnClients','/object','deleteCollaborator','fill','_send','_timeoutTimer','event$','univer-online','rgba(255,\x20255,\x20255,\x200.01)','registerBeforeClose','buffer','_prevBlock','forwardRef','PSEUDO_FETCH_MISSING_RESULT','_init','setInterval','setShowComponents','Base','_checkMissing','onTransformChange$','_setupSubUnitSync','init','UUID','_disableEditing','infoRsp','retryConnectingInterval','react','resolve','/unit/','repeat','BASE64','_toggleOnline','react.element','catch','_removeClearOtherTimer','clamp','UniverCollaborationClientPlugin','_registerRenderDependencies','routeKey','requestParams','Optional','onlineStatus','interceptor','CHANGESET_SHOULD_RETRY','_injector','range','_initCommandExecutedListener','_joinRoom','objectActions','UNRECOGNIZED','/role','COMPLETION_FINISHED','_drawTextRange','withCredentials','ICommandService','HELLO','ref','2286940OuIWmy','reset','color','uploadFileServerUrl','LIVESHARE_REQUEST_HOST','tag','_doCryptBlock','sheetId','collab-rect-range-','_revisionService','userID','_beforeCloseService','hide','shouldCloseConn','sid','SetTextSelectionsOperation','LocalUndoRedoService','changesets','function','transformMutation','undoState','createInstance','error','storage','_getUploadFileURL','[CollaborationUndoRedoService]','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','replaceTextRanges','/collaborator','_localStorageService','_hasher','update','BehaviorSubject','xlink:href','react.fragment','localeService','toggleOnline','HEARTBEAT','_univerInstanceService','_handleHeartbeatEvent','IRenderManagerService','M0\x200H16V16H0z','takeUntil','reverse','snapshotServerUrl','?size=','_waitForHeartbeatResponse','actions','RxDisposable','_oKey','collaboration_new_changeset','InsertColCommandId','_sendHeartbeat','clipPath','YUUMI_URL_COL_OUT_OF_RANGE','_snapshotServerService','SessionStatus','_scheduleHeartbeat','editingUnit','CommandType','getRenderById','state','_pendingMutations','_state$','_exhaustRemoteChangesetQueue','_commentUpdate$','OffLineSingle','image/jpeg','collabCursorState$','defIds','includes','transformStateCache','translate(.97)','_draw','_listenToOnlineEvent','ACTIVE_UNIT_EVENT_CHANNEL','onPointerMove$','mixIn','HEARTBEAT_INTERVAL_KEY','fromEvent','_renderManagerService','syncEditingCollabCursor','_onJoinRoomEvent','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','UniverEngineFormula','snapshot','__esModule','_transformIMECache','isTransformMutationsWithChangesetSuccess','VIEW_MAIN','Rectangle','SetSelectionsOperation','8234385gCBHJp','_cursorInfo$','disableLocalCache','_transformRemoteChangesetByStateCache','_session','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','onPointerEnter$','c1Prime','rxjs/operators','_onCursorUpdate','session.will-retry','collabStatus.fetchMiss','isActive','onPointerLeave$','message$','off-line-single_clip0_910_343','@univerjs/drawing','getMember','$super','serializeCombRequest','NodePositionConvertToCursor','Latin1','random','_clearOtherTimers','removeMember','_transformUndoredo','0\x200\x2016\x2016','/universer-api/file/{fileID}/sign-url','MergeInterceptorFactory','_iv','ENSURE_SNAPSHOT_EXECUTION','_refreshCollabCursors','_event$','pushState','transformIMECache','NoPadding','MemberService','Decryptor','_socket$','conflict','getSheetBySheetId','pauseCollaboration','PERMISSION_DENIED','jsx','onTransformRemoteChangesetByIMECache','_unitStatus','onRendered','_compressMutationService','processBlock','Vector2','_clearRedo','concat','_createHmacHelper','_socket','WebURLService','_scheduleTimestamp','session.connection-failed','lineTo','_onConflict','SHA1','_getScale','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','not_collab','padding','synced','transformSelections','DependentOn','awaiting_with_pending','4zYLfvK','_roomMembers','onTransformIME','map','sessionStatus','csAckEvent','_syncEditingCollabCursorService','pending','CONNECTOR_DATA_TOO_LARGE','Warning','saveOfflineData','memberID','_applyRemoteChangeset','conflict.title','liveShareOperation','onCommentUpdate','getDocRanges','SheetCollabCursorShape','reqId','mergeOverrideWithDependencies','kdf','SerializableCipher','combineLatest','fromEventSubject','transform','_updateSubUnitFromURLParams','_clearHeartbeatTimer','findNodePositionByCharIndex','deserializeRangeWithSheet','TOO_MANY_REQUESTS','UNAUTHENTICATED','_undoStacks','Hex','IMessageService','Shape','SNAPSHOT_HAS_BEEN_REMOVED','filter','purple300','_change$','_initUnitPermissionChange','getViewport','_getAnchorBounding','_context','_onRemoteRejected','_candidateSocket','#fff','for','fetchMiss','BufferedBlockAlgorithm','_keySchedule','AUTHZ_URL_KEY','unload','name','AES','_socketMessageSubscription','createCollaborator','UserManagerService','objectType','_assignedColors','__creator','_name','_id','_nDataBytes','getStateCache','getUniverSheetInstance','join','off-line-single','getInterceptPoints','originalMeta','_saveTaskMap','_docTransformSelectionsService','_sender','SnapshotServerOverHTTPService','column','@univerjs/engine-render','randomUUID','amd','_getSignURL','enc','UniverRpc','sin','JOIN','create','_rescheduleHeartbeat','text','_cursors','_getLoginPath','setActiveRange','decryptBlock','createDecryptor','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','onSendChangeset','/universer-api/stream/file/upload','_clearCollaborationTimeoutTimer','hasher','origin','APPLY_DUPLICATED','_substituteUndoStack','concatMap','_clearUndo','open$','getUndoRedoMutationParamsCache','bottom','UniverDocs','getTime','Module','_clearScheduledTask','UniverTelemetry','_onRemoteRetry','DataLoaderController','1em','socket\x20close','loadSheet','_entities','[OfflineState]:\x20received\x20acknowledgement.','NEW_CHANGESETS','COLLAB_WEB_SOCKET_URL_KEY','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','SheetSkeletonManagerService','now','_cipher','Unknown\x20user','x-univer-host','LICENSE_DISTRO_REJECTED','_state','prototype','/universer-api/authz','InsertSheetMutation','format','_incrementRevisionNumber','handleIRemoveCol','_getAPIPrefix','_sendingTimer','Disposable','_unlockTransition','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','useObservable','gold400','lib','Cipher','subunit','ALREADY_EXISTS','_stopTelemetryCollaborationNewChangeset','PasswordBasedCipher','icon','sequenceExecute','_transformService','Plugin','LOCAL_CACHE_INTERVAL_KEY','/rev/','_render','/resources','getCurrent','msCrypto','_onConnectionOpen','_hideTimer','WorkbookEditablePermission','_updateStatus','cmd','url','INTERNAL_ERROR','json','deepClone','width','_clearLocalCache','createEncryptor','_onFetchMissResult','MoveRangeCommandId','refreshPermission','SNAPSHOT_INVALID_SNAPSHOT','UNIVER_PROJECT','_listenToOfflineEvent','RETRY_CONNECTING_MAX_COUNT','getCurrentRevOfUnit','top','generateRandomId','_process','charAt','drawWith','_heartbeatTimer','_handler','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_collaborationSessionService','FromArray','fromCollab','_cursor','Hasher','_sheetSkeletonManagerService','UNDEFINED','/-/object/list','Tools','_range','SEND_CHANGESET_TIMEOUT','isArray','_collaborationController','_singleActiveUnitService','univerjs-icon\x20univerjs-icon-','some','INotificationService','collabStatus.synced','replaceState','fetchMissingChangesets','AWAITING','_labelPosition','DOC_RANGE_TYPE','image/bmp','CollaborationEntity','UniverUi','[SyncedState]:\x20received\x20acknowledgement.','words','_configService','popstate','assign','salt','_telemetryService','replace','url(#on-line-single_clip0_910_349)','getUnitStatus$','loadOfflineData','setTimeout','_docSyncEditingCollabCursorService','image/gif','symbol','_memberService','_ws','_onCursorDelete','_getCtorByUniverType','rng','_status$','UPDATE_PERMISSION_OBJ','state$','close$','UNIVER_SLIDE','MD5','doc.mutation.rich-text-editing','_sheetTransformSelectionsService','CollaborationSessionService','exhaustSavingTask','OpenSSL','_initCloseConn','skeleton','/new_changes','_getSaveTimeout','shareReplay','conflict.content','parseChangesetToProtocol','ImageSourceType','SUBMIT_CHANGESET','_showConflictNotification','patch','_shapes','YUUMI_RATE_OVER_LIMIT','_throwTelemetryCollaborationNewChangeset','compose','[CollaborationSessionService]:\x20socket\x20error','getImage','getResourcesRequest','transformMutationsWithChangeset','FileId','199056ShjLAr','APPLY_REJECT','1404268HosaUn','_getMergeRange','RevisionService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','45031EpUaDs','deserializeToCombResponse','_members','_startDocCollabCursor','&source=','getCellPositionByOffset','LIVESHARE_FETCH_OPERATIONS','13564632btvZZC','[UniverCollaborationClientPlugin]','CompressMutationService','code','_hash','univer-pro.collaboration-client.single-active-unit-service','_createSocket','black','url(#$1','UNKNOWN_CMD','UnitSnapshot','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','SheetsSelectionsService','_waitCount','status$','_httpService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_undoRedoService','ILocalStorageService','IRemoteInstanceService','getConfig','[CollaborationEntity]','LOCAL_CACHE_INTERVAL','_onUserJoin','delay','HEADER_MENU','DisposableCollection','_urlService','_parse','SNAPSHOT_URL_KEY','LICENSE_MAX_UNITS_EXCEEDED','_keyPriorReset','getUnit','LEAVE','/-/object/-/batch_allowed','_initStatusListener','_config','CollaborationStatus','fetching\x20missing\x20changesets\x20from\x20','serializeRangeWithSheet','BuiltInUIPart','_getDownloadEndpointURL','batchAllowed','textEncoder','enableLocalCache','MSG_FOR_ERROR','substr','height','className','jiqing500','encodeURIComponent','current','ranges','DocSelectionManagerService','JSONX','Injector','round','abs','_onLocalMutation','_sessions','isPermissionRej','USERS_LEAVE','Workbook','SHOULD_CLOSE_CONN','ONLINE','defs','change$','YUUMI_UNABLE_LOAD_URL','indexOf','visibilityState','COLORS','isEditing','_handleJoinEvent','mutations','_initDependencies','children','redoState','_roomMembers$','updatePermissionPoint','univer-online-status-icon','_mode','collaboration.single-unit.warning','546LPIpMX','Base64','fetchThroughInterceptors','UniverSheetsUi','substring','\x0aCurrent:\x20','\x20to\x20','default','sheetID','_changesetReqId','LIVESHARE_TERMINATE','getCurrentSelections','assignAColorForMemberID','_anchorDot','handleDeleteRangeMoveLeft','getActiveSheet','onTransformSelections','DeleteRangeMoveLeftCommandId','_resendTimer','APPLY_NON_SEQUENTIAL_REVISION','HttpImport','byteLength','WordArray','_fetchMissChangesets','number','COMMENT_UPDATE','compute','Undefined','_docTransformIMECacheService','HEARTBEAT_TIMEOUT','history','push','_isPermissionRej','_collabCursorState$','target','getOwnPropertySymbols','onRemoteChangeset','currentSkeleton$','registerHTTPInterceptor','univer-pro.collaboration-client-socket-service','location','_unitID','extend','roomMembers$','addEventListener','MessageType','font','disposeUnit','UNIVER_DOC','forEach','getImageSourceCache','UPDATE_CURSOR','FAIL','_snapshotService','getCollabEntity','UNIVER_UNKNOWN','InsertRowCommandId','getWorkbookSelections','_updateURLWithCurrentState','POST','blue400','min','sendChangesetTimeout','collaboration-client.offline-data-not-saved','file','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_loadSheet','unsubscribe','type','decrypt','DocStateChangeManagerService','_getAPIPrefixPath','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','append','Tooltip','[FetchMissState]','_lockTransition','take','data','SetWorksheetActivateCommand','jsxs','_hover','BlockCipherMode','hostname','{fileID}','RegularPolygon','touchDependencies','/object/','IUniverInstanceService','commentUpdateEvent','updatePermissionObjEvent','propertyIsEnumerable','clone','&to=','_socketReady','INGEST','createElement','Rect','keySize','INVALID_ARGUMENT','collab-text-range-','onMouseMove','getUnhiddenWorksheets','executeCommand','on-line-single','useRef','result','CHANGESET_REJ','RemoveRowCommandId','updateCollaborator','blockSize','/allowed','@univerjs-pro/collaboration','_nRounds','clearTimeout','src','ReactCurrentOwner','WebSocketService','getFocusedUnit','__Key__','_commandService','_doProcessBlock','ITelemetryService','merge','ERROR_IMAGE','split','then','_append','get','_color','getUnitId','LIVESHARE_NEW_HOST','_disabled','encrypt','univer-online-status-title','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_backgroundColor','baseRev','ISnapshotServerService','_initResize','isTransformMutationFailure','_removeCollabCursors','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','complete','@univerjs/core','_onRefRangeChange','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','TEXT','cfg','post','LIVESHARE_OPERATION','permissionRejEvent','UniverInstanceType','getSheetId','_updateLocalCache','NO_OTHER_CLIENTS_EDITING','finalize','_colorIndex','unit-cache-','permission.title','TEXT_RANGE_LAYER_INDEX','ciphertext','getCollabEntity$','searchParams','_onRemoteACK','UNKNOWN_CODE','_textBubble','workbook','ITransformService','_getSnapshotAPIPrefix','subscribe','getLatestCsReqIdBySid','headers','reduce','fillStyle','csRejEvent','_decreaseWaiting','SheetCollaborationEntity','title','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','@univerjs/engine-formula','setCurrentUser','UNIVER_SHEET','_registerDependencies','RECV','HEARTBEAT_TIMEOUT_KEY','CONFLICT','ws://127.0.0.1:8000/universer-api/comb/connect','getCollabCursors$','getMemberID','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_HTTPService','getCurrentUser','_createHandler'];_0x520f=function(){return _0x1b0e62;};return _0x520f();}function _0x3a4a(_0x30751c,_0xd15c7){const _0x520fe0=_0x520f();return _0x3a4a=function(_0x3a4a56,_0x1b29be){_0x3a4a56=_0x3a4a56-0x88;let _0x5a065f=_0x520fe0[_0x3a4a56];return _0x5a065f;},_0x3a4a(_0x30751c,_0xd15c7);}(function(_0x7247c1,_0x11c1a4){const _0x2d4e92=_0x3a4a,_0xbda671=_0x7247c1();while(!![]){try{const _0x50c630=parseInt(_0x2d4e92(0x1c6))/0x1*(parseInt(_0x2d4e92(0x434))/0x2)+-parseInt(_0x2d4e92(0x4b9))/0x3*(-parseInt(_0x2d4e92(0x2cb))/0x4)+parseInt(_0x2d4e92(0x182))/0x5+parseInt(_0x2d4e92(0x328))/0x6*(parseInt(_0x2d4e92(0x2cf))/0x7)+-parseInt(_0x2d4e92(0x2d6))/0x8+-parseInt(_0x2d4e92(0x410))/0x9*(parseInt(_0x2d4e92(0x126))/0xa)+-parseInt(_0x2d4e92(0x2c9))/0xb;if(_0x50c630===_0x11c1a4)break;else _0xbda671['push'](_0xbda671['shift']());}catch(_0x282cac){_0xbda671['push'](_0xbda671['shift']());}}}(_0x520f,0xd8ae0),function(_0x3d1979,_0x1745a5){const _0x5ac102=_0x3a4a;typeof exports=='object'&&typeof module<'u'?_0x1745a5(exports,require(_0x5ac102(0x3b8)),require(_0x5ac102(0x433)),require(_0x5ac102(0x18a)),require(_0x5ac102(0x4f2)),require('@univerjs/ui'),require(_0x5ac102(0x4e2)),require(_0x5ac102(0x398)),require(_0x5ac102(0x46f)),require(_0x5ac102(0x51c)),require('@univerjs/sheets'),require(_0x5ac102(0x210)),require(_0x5ac102(0x442)),require(_0x5ac102(0x192)),require(_0x5ac102(0x3dc)),require('@univerjs/sheets-ui'),require(_0x5ac102(0x107)),require(_0x5ac102(0x538))):typeof define=='function'&&define[_0x5ac102(0x212)]?define([_0x5ac102(0x3fd),_0x5ac102(0x3b8),'rxjs',_0x5ac102(0x18a),_0x5ac102(0x4f2),_0x5ac102(0x4b3),_0x5ac102(0x4e2),_0x5ac102(0x398),_0x5ac102(0x46f),_0x5ac102(0x51c),'@univerjs/sheets',_0x5ac102(0x210),_0x5ac102(0x442),'@univerjs/drawing','@univerjs/engine-formula',_0x5ac102(0x49f),'react',_0x5ac102(0x538)],_0x1745a5):(_0x3d1979=typeof globalThis<'u'?globalThis:_0x3d1979||self,_0x1745a5(_0x3d1979[_0x5ac102(0xb6)]={},_0x3d1979['UniverCore'],_0x3d1979[_0x5ac102(0x433)],_0x3d1979[_0x5ac102(0x433)]['operators'],_0x3d1979[_0x5ac102(0x4ed)],_0x3d1979[_0x5ac102(0x295)],_0x3d1979[_0x5ac102(0x436)],_0x3d1979[_0x5ac102(0x45b)],_0x3d1979[_0x5ac102(0x231)],_0x3d1979[_0x5ac102(0xe1)],_0x3d1979['UniverSheets'],_0x3d1979[_0x5ac102(0x3ec)],_0x3d1979[_0x5ac102(0x22d)],_0x3d1979[_0x5ac102(0x426)],_0x3d1979[_0x5ac102(0x17a)],_0x3d1979[_0x5ac102(0x32b)],_0x3d1979['React'],_0x3d1979[_0x5ac102(0x215)]));}(this,function(_0x4c1435,_0x28c502,_0x158390,_0x9d1bc,_0x4fac56,_0x28a60c,_0x5d2d09,_0x50e560,_0x446f37,_0x3d318b,_0x256063,_0x5474e6,_0x576070,_0x4d719d,_0x23e6b0,_0x5d4d05,_0x25eca3,_0x5d6b13){'use strict';const _0x5d8d99=_0x3a4a;var _0x5e98b6=Object['defineProperty'],_0xa53416=(_0x30a51d,_0xbff3f8,_0x18a5c9)=>_0xbff3f8 in _0x30a51d?_0x5e98b6(_0x30a51d,_0xbff3f8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x18a5c9}):_0x30a51d[_0xbff3f8]=_0x18a5c9,_0x569acc=(_0x116dc0,_0x15c817,_0x44d7ad)=>_0xa53416(_0x116dc0,typeof _0x15c817!=_0x5d8d99(0x2a4)?_0x15c817+'':_0x15c817,_0x44d7ad);const _0x53ab54='SNAPSHOT_SERVER_URL_KEY',_0x8097e4=_0x5d8d99(0x44e),_0x28e608=_0x5d8d99(0x2f3),_0x34d1ad=_0x5d8d99(0x286),_0x29870a=_0x5d8d99(0xe8),_0x30496f=_0x5d8d99(0x3e3),_0x3fc47f=_0x5d8d99(0x413),_0x48f29d=_0x5d8d99(0x345),_0x46e8a1=_0x5d8d99(0x272),_0x346b18=_0x5d8d99(0x2ec),_0x3fe672='COLLAB_SUBMIT_CHANGESET_URL',_0xe71bb1='/universer-api/comb',_0x3181be=_0x5d8d99(0x4b6),_0x1112ec='/universer-api/oidc/authpage';var _0x3a0128=(_0x35a094=>(_0x35a094[_0x35a094[_0x5d8d99(0x282)]=0x0]=_0x5d8d99(0x282),_0x35a094[_0x35a094['OK']=0x1]='OK',_0x35a094[_0x35a094[_0x5d8d99(0x266)]=0x2]=_0x5d8d99(0x266),_0x35a094[_0x35a094['PERMISSION_DENIED']=0x3]=_0x5d8d99(0x1ac),_0x35a094[_0x35a094[_0x5d8d99(0xea)]=0x4]=_0x5d8d99(0xea),_0x35a094[_0x35a094[_0x5d8d99(0x1e4)]=0x5]=_0x5d8d99(0x1e4),_0x35a094[_0x35a094['ALREADY_EXISTS']=0x6]=_0x5d8d99(0x253),_0x35a094[_0x35a094[_0x5d8d99(0x38b)]=0x7]=_0x5d8d99(0x38b),_0x35a094[_0x35a094[_0x5d8d99(0x1e3)]=0x8]='TOO_MANY_REQUESTS',_0x35a094[_0x35a094['COMPLETION_FINISHED']=0x9]=_0x5d8d99(0x120),_0x35a094[_0x35a094[_0x5d8d99(0xec)]=0x1389]=_0x5d8d99(0xec),_0x35a094[_0x35a094[_0x5d8d99(0x26f)]=0x1771]=_0x5d8d99(0x26f),_0x35a094[_0x35a094[_0x5d8d99(0x1e9)]=0x1772]=_0x5d8d99(0x1e9),_0x35a094[_0x35a094[_0x5d8d99(0x1a0)]=0x1773]=_0x5d8d99(0x1a0),_0x35a094[_0x35a094['APPLY_REJECT']=0x1b59]=_0x5d8d99(0x2ca),_0x35a094[_0x35a094['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5d8d99(0x33b),_0x35a094[_0x35a094['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x35a094[_0x35a094[_0x5d8d99(0x4c1)]=0x1b5c]=_0x5d8d99(0x4c1),_0x35a094[_0x35a094[_0x5d8d99(0x226)]=0x1b5d]=_0x5d8d99(0x226),_0x35a094[_0x35a094[_0x5d8d99(0x1ce)]=0x1f41]=_0x5d8d99(0x1ce),_0x35a094[_0x35a094[_0x5d8d99(0x2f4)]=0x2329]=_0x5d8d99(0x2f4),_0x35a094[_0x35a094['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x5d8d99(0x4c4),_0x35a094[_0x35a094[_0x5d8d99(0x8f)]=0x232b]=_0x5d8d99(0x8f),_0x35a094[_0x35a094[_0x5d8d99(0x4ef)]=0x232c]=_0x5d8d99(0x4ef),_0x35a094[_0x35a094[_0x5d8d99(0x241)]=0x232d]=_0x5d8d99(0x241),_0x35a094[_0x35a094[_0x5d8d99(0x319)]=0x2711]=_0x5d8d99(0x319),_0x35a094[_0x35a094[_0x5d8d99(0x15c)]=0x2712]=_0x5d8d99(0x15c),_0x35a094[_0x35a094[_0x5d8d99(0x2c1)]=0x2713]=_0x5d8d99(0x2c1),_0x35a094[_0x35a094['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x35a094[_0x35a094['UNRECOGNIZED']=-0x1]=_0x5d8d99(0x11e),_0x35a094))(_0x3a0128||{}),_0x5b91b5=(_0x2c7f34=>(_0x2c7f34[_0x2c7f34[_0x5d8d99(0x35f)]=0x0]=_0x5d8d99(0x35f),_0x2c7f34[_0x2c7f34[_0x5d8d99(0x358)]=0x1]=_0x5d8d99(0x358),_0x2c7f34[_0x2c7f34[_0x5d8d99(0x3de)]=0x2]=_0x5d8d99(0x3de),_0x2c7f34[_0x2c7f34['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x2c7f34[_0x2c7f34[_0x5d8d99(0x270)]=0x4]=_0x5d8d99(0x270),_0x2c7f34[_0x2c7f34[_0x5d8d99(0x11e)]=-0x1]='UNRECOGNIZED',_0x2c7f34))(_0x5b91b5||{}),_0x54e56b=(_0x2df8c7=>(_0x2df8c7[_0x2df8c7[_0x5d8d99(0x2df)]=0x0]=_0x5d8d99(0x2df),_0x2df8c7[_0x2df8c7[_0x5d8d99(0x124)]=0x1]=_0x5d8d99(0x124),_0x2df8c7[_0x2df8c7[_0x5d8d99(0x217)]=0x2]=_0x5d8d99(0x217),_0x2df8c7[_0x2df8c7[_0x5d8d99(0x2f7)]=0x3]=_0x5d8d99(0x2f7),_0x2df8c7[_0x2df8c7[_0x5d8d99(0x387)]=0x4]=_0x5d8d99(0x387),_0x2df8c7[_0x2df8c7[_0x5d8d99(0x14b)]=0x5]='HEARTBEAT',_0x2df8c7[_0x2df8c7[_0x5d8d99(0x3e0)]=0x6]='RECV',_0x2df8c7[_0x2df8c7['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2df8c7))(_0x54e56b||{}),_0x5c85a8=(_0x1891d7=>(_0x1891d7[_0x1891d7[_0x5d8d99(0x3cd)]=0x0]='UNKNOWN_CODE',_0x1891d7[_0x1891d7['OK']=0x1]='OK',_0x1891d7[_0x1891d7['FAIL']=0x2]=_0x5d8d99(0x35c),_0x1891d7[_0x1891d7[_0x5d8d99(0x11e)]=-0x1]=_0x5d8d99(0x11e),_0x1891d7))(_0x5c85a8||{}),_0x3a2340=(_0x335055=>(_0x335055[_0x335055[_0x5d8d99(0x343)]=0x0]=_0x5d8d99(0x343),_0x335055[_0x335055['HttpImport']=0x1]=_0x5d8d99(0x33c),_0x335055[_0x335055[_0x5d8d99(0x489)]=0x2]='HttpExport',_0x335055[_0x335055[_0x5d8d99(0x4d9)]=0x3]=_0x5d8d99(0x4d9),_0x335055[_0x335055[_0x5d8d99(0x2e0)]=0x4]='UnitSnapshot',_0x335055[_0x335055[_0x5d8d99(0x11e)]=-0x1]=_0x5d8d99(0x11e),_0x335055))(_0x3a2340||{});const _0x5b0249='collaboration-client.config',_0x2f81d6={};function _0x3e065f(_0x582a92){const _0x3ef44a=_0x5d8d99;var _0x5b5cce,_0x357cef,_0x3d9458,_0x171533,_0x4d345c;const _0x143487=_0x582a92['data'],_0x47d2e8=JSON[_0x3ef44a(0x40c)](_0x143487);switch(_0x47d2e8[_0x3ef44a(0x264)]){case _0x54e56b[_0x3ef44a(0x14b)]:case _0x54e56b[_0x3ef44a(0x124)]:{const _0x56b5da=_0x47d2e8[_0x3ef44a(0x105)];return{..._0x47d2e8,'data':_0x56b5da,'cmd':_0x47d2e8[_0x3ef44a(0x264)]};}case _0x54e56b['JOIN']:{const _0x55a9a0=_0x47d2e8['joinRsp'];return{..._0x47d2e8,'data':_0x55a9a0,'cmd':_0x47d2e8['cmd']};}case _0x54e56b[_0x3ef44a(0x3e0)]:{const _0x6c818a=_0x47d2e8['collaMsg'];switch(_0x6c818a[_0x3ef44a(0x44f)]){case _0x50e560['CollaborationEvent'][_0x3ef44a(0x512)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':(_0x5b5cce=_0x6c818a[_0x3ef44a(0x3bf)])==null?void 0x0:_0x5b5cce['cs']},'cmd':_0x47d2e8[_0x3ef44a(0x264)]};case _0x50e560[_0x3ef44a(0x53d)][_0x3ef44a(0xbc)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':(_0x357cef=_0x6c818a[_0x3ef44a(0x1cb)])==null?void 0x0:_0x357cef['cs']},'cmd':_0x47d2e8[_0x3ef44a(0x264)]};case _0x50e560[_0x3ef44a(0x53d)][_0x3ef44a(0x239)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':(_0x3d9458=_0x6c818a['newCsEvent'])==null?void 0x0:_0x3d9458['cs']},'cmd':_0x47d2e8[_0x3ef44a(0x264)]};case _0x50e560['CollaborationEvent'][_0x3ef44a(0x393)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':(_0x171533=_0x6c818a[_0x3ef44a(0x3d7)])==null?void 0x0:_0x171533['cs']},'cmd':_0x47d2e8[_0x3ef44a(0x264)]};case _0x50e560['CollaborationEvent'][_0x3ef44a(0x118)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':(_0x4d345c=_0x6c818a[_0x3ef44a(0x45f)])==null?void 0x0:_0x4d345c['cs']},'cmd':_0x47d2e8[_0x3ef44a(0x264)]};case _0x50e560[_0x3ef44a(0x53d)]['UPDATE_CURSOR']:return{..._0x47d2e8,'data':{..._0x6c818a,'data':_0x6c818a[_0x3ef44a(0x533)]},'cmd':_0x47d2e8[_0x3ef44a(0x264)]};case _0x50e560[_0x3ef44a(0x53d)][_0x3ef44a(0x440)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':_0x6c818a['joinEvent']},'cmd':_0x47d2e8[_0x3ef44a(0x264)]};case _0x50e560[_0x3ef44a(0x53d)][_0x3ef44a(0x313)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':_0x6c818a[_0x3ef44a(0x466)]},'cmd':_0x47d2e8[_0x3ef44a(0x264)]};case _0x50e560['CollaborationEvent'][_0x3ef44a(0x3ab)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':_0x6c818a[_0x3ef44a(0x43f)]},'cmd':_0x47d2e8[_0x3ef44a(0x264)]};case _0x50e560[_0x3ef44a(0x53d)]['LIVESHARE_FETCH_OPERATIONS']:case _0x50e560[_0x3ef44a(0x53d)][_0x3ef44a(0x3be)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':_0x6c818a[_0x3ef44a(0x1d4)]},'cmd':_0x47d2e8['cmd']};case _0x50e560[_0x3ef44a(0x53d)][_0x3ef44a(0x332)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':_0x6c818a[_0x3ef44a(0x43f)]},'cmd':_0x47d2e8['cmd']};case _0x50e560['CollaborationEvent'][_0x3ef44a(0x303)]:return{..._0x47d2e8,'data':_0x6c818a,'cmd':_0x47d2e8[_0x3ef44a(0x264)]};case _0x50e560[_0x3ef44a(0x53d)][_0x3ef44a(0x341)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':_0x6c818a[_0x3ef44a(0x381)]},'cmd':_0x47d2e8['cmd']};case _0x50e560[_0x3ef44a(0x53d)][_0x3ef44a(0x2ab)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':_0x6c818a[_0x3ef44a(0x382)]},'cmd':_0x47d2e8[_0x3ef44a(0x264)]};case _0x50e560[_0x3ef44a(0x53d)][_0x3ef44a(0x315)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':_0x6c818a[_0x3ef44a(0x133)]},'cmd':_0x47d2e8[_0x3ef44a(0x264)]};default:return _0x47d2e8;}}default:return _0x47d2e8;}}function _0x20acea(_0x502bb6){const _0x4d2ad5=_0x5d8d99;switch(_0x502bb6[_0x4d2ad5(0x264)]){case _0x54e56b[_0x4d2ad5(0x14b)]:case _0x54e56b['HELLO']:return JSON[_0x4d2ad5(0x51a)]({'cmd':_0x502bb6['cmd'],'routeKey':_0x502bb6[_0x4d2ad5(0x113)]});case _0x54e56b[_0x4d2ad5(0x387)]:{let _0x390f47;switch(_0x502bb6[_0x4d2ad5(0x376)][_0x4d2ad5(0x44f)]){case _0x50e560[_0x4d2ad5(0x53d)][_0x4d2ad5(0x35b)]:{_0x390f47={'eventID':_0x50e560[_0x4d2ad5(0x53d)][_0x4d2ad5(0x35b)],'updateCursorEvent':_0x502bb6['data'][_0x4d2ad5(0x376)]};break;}case _0x50e560[_0x4d2ad5(0x53d)][_0x4d2ad5(0x313)]:{_0x390f47={'eventID':_0x50e560[_0x4d2ad5(0x53d)][_0x4d2ad5(0x313)],'leaveEvent':_0x502bb6[_0x4d2ad5(0x376)][_0x4d2ad5(0x376)]};break;}case _0x50e560[_0x4d2ad5(0x53d)]['USERS_ENTER']:{_0x390f47={'eventID':_0x50e560[_0x4d2ad5(0x53d)][_0x4d2ad5(0x440)],'joinEvent':_0x502bb6[_0x4d2ad5(0x376)][_0x4d2ad5(0x376)]};break;}case _0x50e560[_0x4d2ad5(0x53d)][_0x4d2ad5(0x3ab)]:{_0x390f47={'eventID':_0x50e560[_0x4d2ad5(0x53d)][_0x4d2ad5(0x3ab)],'liveShareNewHost':_0x502bb6[_0x4d2ad5(0x376)][_0x4d2ad5(0x376)]};break;}case _0x50e560['CollaborationEvent'][_0x4d2ad5(0x3be)]:{_0x390f47={'eventID':_0x50e560[_0x4d2ad5(0x53d)][_0x4d2ad5(0x3be)],'liveShareOperation':_0x502bb6['data']['data']};break;}case _0x50e560['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x390f47={'eventID':_0x50e560[_0x4d2ad5(0x53d)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x502bb6['data'][_0x4d2ad5(0x376)]};break;}case _0x50e560[_0x4d2ad5(0x53d)][_0x4d2ad5(0x12a)]:{_0x390f47={'eventID':_0x50e560['CollaborationEvent'][_0x4d2ad5(0x12a)],'liveShareRequestHost':_0x502bb6[_0x4d2ad5(0x376)][_0x4d2ad5(0x376)]};break;}case _0x50e560[_0x4d2ad5(0x53d)][_0x4d2ad5(0x2d5)]:{_0x390f47={'eventID':_0x50e560[_0x4d2ad5(0x53d)][_0x4d2ad5(0x2d5)]};break;}default:_0x390f47={'eventID':_0x502bb6[_0x4d2ad5(0x376)][_0x4d2ad5(0x44f)]};}return JSON[_0x4d2ad5(0x51a)]({'cmd':_0x502bb6[_0x4d2ad5(0x264)],'routeKey':_0x502bb6['routeKey'],'collaMsg':_0x390f47});}case _0x54e56b['JOIN']:return JSON[_0x4d2ad5(0x51a)]({'cmd':_0x502bb6[_0x4d2ad5(0x264)],'routeKey':_0x502bb6['routeKey'],'joinReq':_0x502bb6[_0x4d2ad5(0x376)]});case _0x54e56b[_0x4d2ad5(0x2f7)]:return JSON[_0x4d2ad5(0x51a)]({'cmd':_0x502bb6[_0x4d2ad5(0x264)],'routeKey':_0x502bb6[_0x4d2ad5(0x113)],'leaveReq':_0x502bb6[_0x4d2ad5(0x376)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x4d73e4=Object[_0x5d8d99(0x48f)],_0x150211=Object['getOwnPropertyDescriptor'],_0x280cbc=(_0x3607cd,_0x301329,_0x2a1acb,_0x5f44f7)=>{const _0x3f6a08=_0x5d8d99;for(var _0x4616e1=_0x5f44f7>0x1?void 0x0:_0x5f44f7?_0x150211(_0x301329,_0x2a1acb):_0x301329,_0x5cf4b9=_0x3607cd[_0x3f6a08(0x52c)]-0x1,_0xdf75ed;_0x5cf4b9>=0x0;_0x5cf4b9--)(_0xdf75ed=_0x3607cd[_0x5cf4b9])&&(_0x4616e1=(_0x5f44f7?_0xdf75ed(_0x301329,_0x2a1acb,_0x4616e1):_0xdf75ed(_0x4616e1))||_0x4616e1);return _0x5f44f7&&_0x4616e1&&_0x4d73e4(_0x301329,_0x2a1acb,_0x4616e1),_0x4616e1;},_0x591c9e=(_0x3e69c5,_0x3c3f86)=>(_0x2d0960,_0x596f1c)=>_0x3c3f86(_0x2d0960,_0x596f1c,_0x3e69c5);const _0x5266e3=_0x28c502[_0x5d8d99(0x401)](_0x5d8d99(0x34f));function _0x811587(_0x38d941,_0x3c2cd1,_0x3dd7d4){const _0x161405=_0x5d8d99;return _0x38d941+'/'+_0x3c2cd1+_0x161405(0x109)+_0x3dd7d4+_0x161405(0x2b7);}_0x4c1435[_0x5d8d99(0x518)]=class extends _0x28c502[_0x5d8d99(0x24b)]{constructor(_0x2860e4,_0x35ada5,_0x368fd2,_0x219b2b,_0x42ebd9){const _0x133590=_0x5d8d99;super(),this[_0x133590(0x437)]=_0x2860e4,this[_0x133590(0x2a6)]=_0x35ada5,this[_0x133590(0x298)]=_0x368fd2,this['_logService']=_0x219b2b,this[_0x133590(0x15d)]=_0x42ebd9;}['createSocket'](_0x4b4ab4){const _0x536e09=_0x5d8d99,_0x36087a=this[_0x536e09(0x2a6)][_0x536e09(0xd2)](_0x4b4ab4);if(!_0x36087a)throw new Error(_0x536e09(0x491));const _0x7263d2=new _0x28c502['DisposableCollection'](),_0x4193e7=new _0x158390[(_0x536e09(0x3fc))]();_0x7263d2[_0x536e09(0x41f)](_0x36087a['close$'][_0x536e09(0x3d2)](_0x1023ae=>_0x4193e7[_0x536e09(0xb4)](_0x1023ae))),_0x7263d2[_0x536e09(0x41f)](_0x28c502[_0x536e09(0x4fe)](()=>_0x4193e7[_0x536e09(0x3b7)]()));const _0x456c01=new _0x158390['Subject']();_0x7263d2[_0x536e09(0x41f)](_0x36087a[_0x536e09(0x4a9)][_0x536e09(0x3d2)](_0x330f00=>_0x456c01[_0x536e09(0xb4)](_0x330f00))),_0x7263d2[_0x536e09(0x41f)](_0x28c502[_0x536e09(0x4fe)](()=>_0x456c01[_0x536e09(0x3b7)]()));const _0x49d2a6=new _0x158390[(_0x536e09(0x3fc))]();_0x7263d2[_0x536e09(0x41f)](_0x36087a[_0x536e09(0x190)][_0x536e09(0x3d2)](_0x3b8b40=>{const _0x4aed7d=_0x536e09,_0x154410=_0x3e065f(_0x3b8b40);_0x49d2a6[_0x4aed7d(0xb4)](_0x154410);})),_0x7263d2[_0x536e09(0x41f)](_0x28c502[_0x536e09(0x4fe)](()=>_0x49d2a6[_0x536e09(0x3b7)]()));let _0x41f43f;const _0x39a8e1=()=>{const _0x51a46f=_0x536e09;_0x456c01['next'](new Event('connection\x20error')),_0x4193e7[_0x51a46f(0xb4)](new CloseEvent(_0x51a46f(0x424))),_0x41f43f[_0x51a46f(0x3ea)]();};return _0x41f43f={'memberID':'','close$':_0x4193e7[_0x536e09(0x4ae)](),'error$':_0x456c01[_0x536e09(0x4ae)](),'open$':_0x36087a['open$'],'message$':_0x49d2a6[_0x536e09(0x4ae)](),'send':_0x48aa74=>{const _0x25ec69=_0x536e09;if(_0x48aa74['cmd']===_0x54e56b['INGEST']){if(_0x48aa74[_0x25ec69(0x376)][_0x25ec69(0x44f)]===_0x50e560['CollaborationEvent'][_0x25ec69(0x2bd)]){this['_submitChangeset'](_0x41f43f,_0x48aa74[_0x25ec69(0x376)])[_0x25ec69(0x10e)](_0x599993=>{const _0x3381a3=_0x25ec69;this['_logService'][_0x3381a3(0x13c)](_0x599993),_0x39a8e1();});return;}if(_0x48aa74['data'][_0x25ec69(0x44f)]===_0x50e560['CollaborationEvent'][_0x25ec69(0x42f)]){const _0x5c8367=_0x48aa74[_0x25ec69(0x376)];this[_0x25ec69(0x33f)](_0x5c8367)['then'](_0x5f0a83=>{const _0x4d254f=_0x25ec69;_0x49d2a6['next']({'cmd':_0x54e56b[_0x4d254f(0x3e0)],'code':_0x5c85a8['OK'],'routeKey':_0x5c8367['data'][_0x4d254f(0xe5)],'routeType':'','data':{'eventID':_0x50e560[_0x4d254f(0x53d)][_0x4d254f(0xfa)],'data':{'changesets':_0x5f0a83}}});})[_0x25ec69(0x10e)](_0x52b45c=>{const _0x834bac=_0x25ec69;this[_0x834bac(0x414)][_0x834bac(0x13c)](_0x52b45c),_0x39a8e1();});return;}}_0x36087a[_0x25ec69(0x527)](_0x20acea(_0x48aa74));},'close':()=>{const _0x319bd7=_0x536e09;_0x36087a[_0x319bd7(0x3ea)](),_0x7263d2[_0x319bd7(0x50f)]();}},_0x41f43f;}async[_0x5d8d99(0x50a)](_0x2bc05a,_0x5463d3){const _0x284321=_0x5d8d99;var _0x519878,_0x426523;const {unitType:_0x38cac6,unitID:_0x312f61,changeset:_0x672adc}=_0x5463d3['data'],_0xb58451={'unitID':_0x312f61,'memberID':_0x2bc05a['memberID'],'type':_0x38cac6,'changeset':_0x50e560[_0x284321(0x2bb)](_0x672adc)},_0x18e4c5=this[_0x284321(0x298)][_0x284321(0x2ea)](_0x3fe672),_0x3133d5=this['_configService']['getConfig'](_0x5b0249),_0x58364f=_0x811587((_0x426523=(_0x519878=_0x3133d5==null?void 0x0:_0x3133d5[_0x284321(0x513)])!=null?_0x519878:_0x18e4c5)!=null?_0x426523:_0xe71bb1,_0x38cac6,_0x312f61);try{await this[_0x284321(0x437)]['post'](_0x58364f,{'body':_0xb58451});}catch(_0x4d50f9){throw this[_0x284321(0x414)]['error'](_0x284321(0x94),'submit\x20changeset\x20error!'),_0x4d50f9;}}async[_0x5d8d99(0x33f)](_0x4f5568){const _0x24bc19=_0x5d8d99,{unitID:_0x1f831b,from:_0x3e065d,to:_0x3dc9a0,unitType:_0x571dfb}=_0x4f5568[_0x24bc19(0x376)];return(await this[_0x24bc19(0x15d)][_0x24bc19(0x28f)]({'metadata':void 0x0},{'unitID':_0x1f831b,'type':_0x571dfb,'from':_0x3e065d,'to':_0x3dc9a0}))['changesets'];}},_0x4c1435[_0x5d8d99(0x518)]=_0x280cbc([_0x591c9e(0x0,_0x28c502[_0x5d8d99(0x48a)](_0x5d2d09[_0x5d8d99(0x508)])),_0x591c9e(0x1,_0x28c502[_0x5d8d99(0x48a)](_0x5d2d09[_0x5d8d99(0x39d)])),_0x591c9e(0x2,_0x28c502[_0x5d8d99(0x422)]),_0x591c9e(0x3,_0x28c502[_0x5d8d99(0xad)]),_0x591c9e(0x4,_0x50e560['ISnapshotServerService'])],_0x4c1435['CollaborationSocketService']);const _0x480136=_0x5d8d99(0x158);function _0xebcc08(_0x4d2b8a){const _0x53258c=_0x5d8d99;return JSON[_0x53258c(0x51a)](_0x4d2b8a)[_0x53258c(0x52c)];}class _0x35d563{constructor(){const _0x345ecf=_0x5d8d99;_0x569acc(this,_0x345ecf(0x167),new _0x158390[(_0x345ecf(0x3fc))]()),_0x569acc(this,'commentUpdate$',this[_0x345ecf(0x167)]['asObservable']());}['onCommentUpdate'](_0x5aa4bc){const _0xa1d1d7=_0x5d8d99;this[_0xa1d1d7(0x167)][_0xa1d1d7(0xb4)](_0x5aa4bc);}}var _0x47dcf8=Object[_0x5d8d99(0x48f)],_0x4bfc69=Object['getOwnPropertyDescriptor'],_0x446a13=(_0x3c0bc1,_0x2e517e,_0x187bca,_0x3d1b5b)=>{for(var _0x4f2b07=_0x3d1b5b>0x1?void 0x0:_0x3d1b5b?_0x4bfc69(_0x2e517e,_0x187bca):_0x2e517e,_0xf528dd=_0x3c0bc1['length']-0x1,_0x401cab;_0xf528dd>=0x0;_0xf528dd--)(_0x401cab=_0x3c0bc1[_0xf528dd])&&(_0x4f2b07=(_0x3d1b5b?_0x401cab(_0x2e517e,_0x187bca,_0x4f2b07):_0x401cab(_0x4f2b07))||_0x4f2b07);return _0x3d1b5b&&_0x4f2b07&&_0x47dcf8(_0x2e517e,_0x187bca,_0x4f2b07),_0x4f2b07;},_0x1920c1=(_0x34e647,_0x192afd)=>(_0xf1aeba,_0x187a8e)=>_0x192afd(_0xf1aeba,_0x187a8e,_0x34e647);_0x4c1435['MemberService']=class extends _0x28c502[_0x5d8d99(0x24b)]{constructor(_0x3fff98,_0x4418af){const _0x41e941=_0x5d8d99;super(),_0x569acc(this,_0x41e941(0x1c7),new Map()),(this[_0x41e941(0x14c)]=_0x3fff98,this[_0x41e941(0x421)]=_0x4418af,this[_0x41e941(0x4b5)](_0x28c502[_0x41e941(0x4fe)](_0x158390['merge'](this[_0x41e941(0x14c)][_0x41e941(0x488)](_0x28c502[_0x41e941(0x3c0)][_0x41e941(0x3de)])['pipe'](_0x9d1bc[_0x41e941(0x1c9)](_0x46179d=>_0x46179d[_0x41e941(0x3aa)]())),this['_univerInstanceService'][_0x41e941(0x488)](_0x28c502[_0x41e941(0x3c0)][_0x41e941(0x358)])[_0x41e941(0x4fb)](_0x9d1bc['map'](_0x53f743=>_0x53f743['getUnitId']())),this[_0x41e941(0x14c)]['getTypeOfUnitDisposed$'](_0x28c502['UniverInstanceType'][_0x41e941(0x2ae)])[_0x41e941(0x4fb)](_0x9d1bc[_0x41e941(0x1c9)](_0x460687=>_0x460687[_0x41e941(0x3aa)]())))['subscribe'](_0x4ec921=>this[_0x41e941(0x49b)](_0x4ec921)))));}['setCurrentUser'](_0x533ea7){const _0x42755d=_0x5d8d99;this['_userManagerService'][_0x42755d(0x3dd)](_0x533ea7);}[_0x5d8d99(0x3e8)](){const _0x3683c5=_0x5d8d99;return this[_0x3683c5(0x421)][_0x3683c5(0x3e8)]();}[_0x5d8d99(0x4c3)](_0x4b7da1,_0x4f3a73){const _0x28608a=_0x5d8d99;let _0x3f1cad=this[_0x28608a(0x1c7)][_0x28608a(0x3a8)](_0x4b7da1);_0x3f1cad||(_0x3f1cad=new _0x1e83c4(),this['_roomMembers'][_0x28608a(0x4a7)](_0x4b7da1,_0x3f1cad)),_0x3f1cad[_0x28608a(0x4c3)](_0x4f3a73);}[_0x5d8d99(0x19a)](_0x9a859c,_0x1c204d){const _0x1fe193=_0x5d8d99,_0x47d62d=this[_0x1fe193(0x1c7)][_0x1fe193(0x3a8)](_0x9a859c);_0x47d62d&&_0x47d62d['removeMember'](_0x1c204d);}[_0x5d8d99(0xca)](_0x2f1712){const _0x3e2dea=_0x5d8d99;return this[_0x3e2dea(0x1c7)][_0x3e2dea(0x3a8)](_0x2f1712);}[_0x5d8d99(0x193)](_0x1ae023,_0x4bf0f1){const _0x3c8cc2=_0x5d8d99,_0x5c8d19=this[_0x3c8cc2(0x1c7)][_0x3c8cc2(0x3a8)](_0x1ae023);if(_0x5c8d19)return _0x5c8d19[_0x3c8cc2(0x193)](_0x4bf0f1);}[_0x5d8d99(0x49b)](_0x5aae4f){const _0x5f2dd1=_0x5d8d99,_0x41e359=this['_roomMembers']['get'](_0x5aae4f);_0x41e359&&(_0x41e359[_0x5f2dd1(0x50f)](),this['_roomMembers'][_0x5f2dd1(0x451)](_0x5aae4f));}[_0x5d8d99(0x50f)](){const _0x4836b6=_0x5d8d99;this[_0x4836b6(0x1c7)][_0x4836b6(0x359)](_0xbae52a=>_0xbae52a[_0x4836b6(0x50f)]()),this[_0x4836b6(0x1c7)]['clear']();}},_0x4c1435['MemberService']=_0x446a13([_0x1920c1(0x0,_0x28c502[_0x5d8d99(0x380)]),_0x1920c1(0x1,_0x28c502['Inject'](_0x28c502[_0x5d8d99(0x1fe)]))],_0x4c1435['MemberService']);class _0x1e83c4 extends _0x28c502[_0x5d8d99(0x24b)]{constructor(){const _0x4436be=_0x5d8d99;super(...arguments),_0x569acc(this,_0x4436be(0x2d1),new Map());}['dispose'](){const _0x142e2e=_0x5d8d99;this[_0x142e2e(0x2d1)][_0x142e2e(0x411)]();}[_0x5d8d99(0x4c3)](_0x436d8b){const _0x5da328=_0x5d8d99;this[_0x5da328(0x2d1)]['set'](_0x436d8b[_0x5da328(0x1d1)],_0x436d8b);}['removeMember'](_0x56d4ea){const _0x4d5613=_0x5d8d99;this['_members'][_0x4d5613(0x451)](_0x56d4ea);}[_0x5d8d99(0x193)](_0x251230){const _0x4f5c91=_0x5d8d99;return this['_members'][_0x4f5c91(0x3a8)](_0x251230);}['getAllMembers'](){const _0x2bf574=_0x5d8d99;return Array[_0x2bf574(0x4cb)](this[_0x2bf574(0x2d1)][_0x2bf574(0x537)]());}}var _0x1657e3=Object['defineProperty'],_0x5746e9=Object[_0x5d8d99(0x48b)],_0x19720e=(_0x16d209,_0x8213d9,_0xddb585,_0x2e4e1c)=>{const _0xee3b5a=_0x5d8d99;for(var _0x30ea5b=_0x2e4e1c>0x1?void 0x0:_0x2e4e1c?_0x5746e9(_0x8213d9,_0xddb585):_0x8213d9,_0x3e6d92=_0x16d209[_0xee3b5a(0x52c)]-0x1,_0x5676a3;_0x3e6d92>=0x0;_0x3e6d92--)(_0x5676a3=_0x16d209[_0x3e6d92])&&(_0x30ea5b=(_0x2e4e1c?_0x5676a3(_0x8213d9,_0xddb585,_0x30ea5b):_0x5676a3(_0x30ea5b))||_0x30ea5b);return _0x2e4e1c&&_0x30ea5b&&_0x1657e3(_0x8213d9,_0xddb585,_0x30ea5b),_0x30ea5b;},_0x41f293=(_0x37f96b,_0x1ca6f8)=>(_0x53895d,_0x3c31d1)=>_0x1ca6f8(_0x53895d,_0x3c31d1,_0x37f96b),_0x36f038=(_0x327900=>(_0x327900[_0x327900['IDLE']=0x0]=_0x5d8d99(0x534),_0x327900[_0x327900[_0x5d8d99(0x3f5)]=0x1]=_0x5d8d99(0x3f5),_0x327900[_0x327900[_0x5d8d99(0x515)]=0x2]=_0x5d8d99(0x515),_0x327900[_0x327900['ONLINE']=0x3]=_0x5d8d99(0x316),_0x327900))(_0x36f038||{});_0x4c1435['CollaborationSession']=class extends _0x28c502[_0x5d8d99(0x156)]{constructor(_0xfc432,_0xe0f3b0,_0x5636c6,_0x14d3c5,_0x1afec0,_0x4a96a5,_0x543fb9,_0x631e,_0x5d580b,_0x394160){const _0x2e7a53=_0x5d8d99;super(),_0x569acc(this,'_sessionStatus$',new _0x158390[(_0x2e7a53(0x146))](0x0)),_0x569acc(this,_0x2e7a53(0xc4),this[_0x2e7a53(0x4d6)][_0x2e7a53(0x4ae)]()),_0x569acc(this,_0x2e7a53(0x1a2),new _0x158390[(_0x2e7a53(0x3fc))]()),_0x569acc(this,'event$',this[_0x2e7a53(0x1a2)][_0x2e7a53(0x4ae)]()),_0x569acc(this,_0x2e7a53(0x1b7)),_0x569acc(this,_0x2e7a53(0x1fc)),_0x569acc(this,_0x2e7a53(0x465)),_0x569acc(this,_0x2e7a53(0x4d0),!0x1),_0x569acc(this,'_telemetryInfo',null),(this[_0x2e7a53(0x351)]=_0xfc432,this['_logService']=_0x5636c6,this['_beforeCloseService']=_0x14d3c5,this[_0x2e7a53(0x47b)]=_0x1afec0,this['_configService']=_0x4a96a5,this[_0x2e7a53(0xdc)]=_0x543fb9,this[_0x2e7a53(0x2a5)]=_0x631e,this[_0x2e7a53(0x3f1)]=_0x5d580b,this[_0x2e7a53(0x29c)]=_0x394160,this['_shouldReportTelemetry']=!!this[_0x2e7a53(0x29c)],_0xe0f3b0[_0x2e7a53(0x4fb)](_0x158390[_0x2e7a53(0x150)](this[_0x2e7a53(0x51f)]))[_0x2e7a53(0x3d2)](_0x2dcfe9=>{const _0x1c32ee=_0x2e7a53;var _0xe591e5;typeof _0x2dcfe9>'u'||(this['_socket']=_0x2dcfe9,_0x2dcfe9?(this[_0x1c32ee(0x11c)](_0x2dcfe9),this[_0x1c32ee(0x1fc)]=_0x2dcfe9[_0x1c32ee(0x190)][_0x1c32ee(0x3d2)](_0x337cab=>{const _0x22c532=_0x1c32ee;_0x337cab[_0x22c532(0x113)]===this[_0x22c532(0x351)]&&this[_0x22c532(0x42b)](_0x337cab);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x1c32ee(0x4d6)][_0x1c32ee(0xb4)](0x2),(_0xe591e5=this[_0x1c32ee(0x1fc)])==null||_0xe591e5['unsubscribe'](),this[_0x1c32ee(0x1fc)]=null));}),this[_0x2e7a53(0x4b5)](this['_beforeCloseService'][_0x2e7a53(0x40f)](()=>{const _0x2e8dbb=_0x2e7a53;var _0xfac6c3;(_0xfac6c3=this[_0x2e8dbb(0x1b7)])==null||_0xfac6c3[_0x2e8dbb(0x527)]({'cmd':_0x54e56b['LEAVE'],'data':{'roomID':this[_0x2e8dbb(0x351)]}});})));}get[_0x5d8d99(0x1ca)](){const _0x200753=_0x5d8d99;return this[_0x200753(0x4d6)]['getValue']();}[_0x5d8d99(0x3e5)](){const _0x2cb806=_0x5d8d99;var _0x351df5,_0x12859c;return(_0x12859c=(_0x351df5=this[_0x2cb806(0x1b7)])==null?void 0x0:_0x351df5[_0x2cb806(0x1d1)])!=null?_0x12859c:null;}[_0x5d8d99(0x50f)](){const _0x27dca9=_0x5d8d99;super[_0x27dca9(0x50f)](),this['dispose$'][_0x27dca9(0xb4)](),this[_0x27dca9(0x51f)]['complete']();}[_0x5d8d99(0x3ea)](){const _0xe6a332=_0x5d8d99;var _0x117043,_0x301d3b;this[_0xe6a332(0x2c2)](),(_0x117043=this[_0xe6a332(0x1b7)])==null||_0x117043['send']({'cmd':_0x54e56b['LEAVE'],'data':{'roomID':this[_0xe6a332(0x351)]}}),(_0x301d3b=this[_0xe6a332(0x1b7)])==null||_0x301d3b[_0xe6a332(0x3ea)](),this[_0xe6a332(0x1a2)]['complete'](),this[_0xe6a332(0x4d6)][_0xe6a332(0x3b7)](),this['dispose']();}['_onCombEvent'](_0x325bf9){const _0xdd7b7c=_0x5d8d99;_0x325bf9[_0xdd7b7c(0x264)]===_0x54e56b[_0xdd7b7c(0x217)]?this[_0xdd7b7c(0x178)](_0x325bf9):_0x325bf9[_0xdd7b7c(0x264)]===_0x54e56b['RECV']&&this[_0xdd7b7c(0xa9)](_0x325bf9);}[_0x5d8d99(0x11c)](_0x36cef3){const _0xf219fc=_0x5d8d99;this['_sessionStatus$'][_0xf219fc(0xb4)](0x1),_0x36cef3[_0xf219fc(0x527)]({'cmd':_0x54e56b[_0xf219fc(0x217)],'routeKey':this[_0xf219fc(0x351)],'routeType':'','data':{'rooms':[{'roomID':this[_0xf219fc(0x351)]}]}});}[_0x5d8d99(0x178)](_0x38e860){const _0x476160=_0x5d8d99;var _0x333e7e;if(_0x38e860[_0x476160(0x2d9)]===_0x5c85a8[_0x476160(0x35c)]){this['_messageService'][_0x476160(0x3ef)]({'type':_0x4fac56[_0x476160(0x355)][_0x476160(0x1cf)],'content':this[_0x476160(0xdc)]['t'](_0x476160(0x46c))}),this['_sessionStatus$'][_0x476160(0xb4)](0x2);return;}this[_0x476160(0x4d6)]['next'](0x3);const _0x3259db=(_0x333e7e=_0x38e860[_0x476160(0x376)]['roomInfos'][this[_0x476160(0x351)]])==null?void 0x0:_0x333e7e[_0x476160(0x40a)];_0x3259db&&_0x3259db[_0x476160(0x359)](_0x462588=>this[_0x476160(0x2a5)]['updateMember'](this[_0x476160(0x351)],_0x462588));}['_onRecvEvent'](_0x5e41f0){const _0x5a437f=_0x5d8d99;try{const _0x284a13=_0x5e41f0['data'];switch(_0x284a13[_0x5a437f(0x44f)]){case _0x50e560[_0x5a437f(0x53d)]['USERS_ENTER']:this[_0x5a437f(0x2ed)](_0x284a13),this[_0x5a437f(0x1a2)][_0x5a437f(0xb4)](_0x284a13);break;case _0x50e560[_0x5a437f(0x53d)][_0x5a437f(0x313)]:this['_onUserLeave'](_0x284a13),this[_0x5a437f(0x1a2)][_0x5a437f(0xb4)](_0x284a13);break;case _0x50e560[_0x5a437f(0x53d)][_0x5a437f(0xbc)]:case _0x50e560[_0x5a437f(0x53d)][_0x5a437f(0x118)]:this[_0x5a437f(0x254)](),this[_0x5a437f(0x223)](),this['_event$'][_0x5a437f(0xb4)](_0x284a13);break;case _0x50e560['CollaborationEvent'][_0x5a437f(0x303)]:this[_0x5a437f(0x414)][_0x5a437f(0x13c)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x5a437f(0x51a)](_0x284a13)),this[_0x5a437f(0x1a2)]['next'](_0x284a13);break;case _0x50e560[_0x5a437f(0x53d)][_0x5a437f(0x341)]:this[_0x5a437f(0x3f1)][_0x5a437f(0x1d5)](_0x284a13['data']),this[_0x5a437f(0x1a2)][_0x5a437f(0xb4)](_0x284a13);break;default:this[_0x5a437f(0x1a2)][_0x5a437f(0xb4)](_0x284a13);}}catch(_0x3dc174){this[_0x5a437f(0x414)][_0x5a437f(0x13c)](_0x3dc174,_0x5e41f0);}}[_0x5d8d99(0x2ed)](_0x14bedb){const _0x420b8a=_0x5d8d99;this[_0x420b8a(0x2a5)][_0x420b8a(0x4c3)](this[_0x420b8a(0x351)],_0x14bedb[_0x420b8a(0x376)]);}['_onUserLeave'](_0x396ac6){const _0x1aa60b=_0x5d8d99;this[_0x1aa60b(0x2a5)]['removeMember'](this[_0x1aa60b(0x351)],_0x396ac6[_0x1aa60b(0x376)][_0x1aa60b(0x1d1)]);}async[_0x5d8d99(0x527)](_0x4e3d19,_0x361e30){const _0x28d55f=_0x5d8d99;if(this[_0x28d55f(0x1ca)]!==0x3||!this[_0x28d55f(0x1b7)])throw new Error(_0x28d55f(0x23b));try{_0x4e3d19[_0x28d55f(0x44f)]===_0x50e560['CollaborationEvent'][_0x28d55f(0x2bd)]&&(this[_0x28d55f(0x500)](),this[_0x28d55f(0x4b4)](_0x4e3d19)),this['_socket'][_0x28d55f(0x527)]({'cmd':_0x54e56b[_0x28d55f(0x387)],'routeKey':_0x361e30,'routeType':'','data':_0x4e3d19});}catch(_0x178e18){this[_0x28d55f(0x414)][_0x28d55f(0x13c)](_0x178e18);}}[_0x5d8d99(0x500)](){const _0x579a48=_0x5d8d99;var _0x370865;this[_0x579a48(0x465)]=window['setTimeout'](()=>{const _0x34f4b0=_0x579a48;this[_0x34f4b0(0x465)]=null,this[_0x34f4b0(0x47b)][_0x34f4b0(0x3ef)]({'type':_0x4fac56[_0x34f4b0(0x355)][_0x34f4b0(0xd0)],'content':this['_localeService']['t']('session.collaboration-timeout')});},(_0x370865=this[_0x579a48(0x298)][_0x579a48(0x2ea)](_0x48f29d))!=null?_0x370865:0x4e20);}[_0x5d8d99(0x223)](){this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x5d8d99(0x4b4)](_0x23c405){const _0x478cca=_0x5d8d99;if(!this[_0x478cca(0x4d0)])return;const {data:_0x6f3127}=_0x23c405,{unitID:_0x3d1dae,changeset:_0x4be10f}=_0x6f3127,{mutations:_0x22314c,type:_0x2df3a3}=_0x4be10f;this[_0x478cca(0x425)]={'unitId':_0x3d1dae,'type':_0x2df3a3,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0xebcc08(_0x22314c)};}[_0x5d8d99(0x254)](){const _0x746fdf=_0x5d8d99;if(this[_0x746fdf(0x4d0)]){if(!this[_0x746fdf(0x425)]){this[_0x746fdf(0x414)]['error'](_0x746fdf(0x94),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo']['stopTime']=performance[_0x746fdf(0x23d)](),this['_telemetryInfo'][_0x746fdf(0xc9)]=this[_0x746fdf(0x425)]['stopTime']-this[_0x746fdf(0x425)]['startTime'],this[_0x746fdf(0x29c)]['capture'](_0x480136,this[_0x746fdf(0x425)]),this[_0x746fdf(0x425)]=null;}}[_0x5d8d99(0x2c2)](){const _0xa27933=_0x5d8d99;this[_0xa27933(0x425)]=null;}},_0x4c1435[_0x5d8d99(0x530)]=_0x19720e([_0x41f293(0x2,_0x28c502[_0x5d8d99(0xad)]),_0x41f293(0x3,_0x28a60c[_0x5d8d99(0x4db)]),_0x41f293(0x4,_0x28a60c[_0x5d8d99(0x1e7)]),_0x41f293(0x5,_0x28c502[_0x5d8d99(0x422)]),_0x41f293(0x6,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x469)])),_0x41f293(0x7,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435[_0x5d8d99(0x1a6)])),_0x41f293(0x8,_0x28c502[_0x5d8d99(0x48a)](_0x35d563)),_0x41f293(0x9,_0x28c502['Optional'](_0x446f37[_0x5d8d99(0x3a2)]))],_0x4c1435[_0x5d8d99(0x530)]);var _0x4af8cc=Object[_0x5d8d99(0x48f)],_0xb968b8=Object[_0x5d8d99(0x48b)],_0x2af02f=(_0x323fe4,_0x374e79,_0x521b9a,_0x43b99f)=>{for(var _0x3437e5=_0x43b99f>0x1?void 0x0:_0x43b99f?_0xb968b8(_0x374e79,_0x521b9a):_0x374e79,_0x57bfd3=_0x323fe4['length']-0x1,_0x55a37e;_0x57bfd3>=0x0;_0x57bfd3--)(_0x55a37e=_0x323fe4[_0x57bfd3])&&(_0x3437e5=(_0x43b99f?_0x55a37e(_0x374e79,_0x521b9a,_0x3437e5):_0x55a37e(_0x3437e5))||_0x3437e5);return _0x43b99f&&_0x3437e5&&_0x4af8cc(_0x374e79,_0x521b9a,_0x3437e5),_0x3437e5;},_0x538f0d=(_0x5afa93,_0x11900d)=>(_0xa4f2fc,_0x43831e)=>_0x11900d(_0xa4f2fc,_0x43831e,_0x5afa93);_0x4c1435[_0x5d8d99(0x2b2)]=class extends _0x28c502[_0x5d8d99(0x24b)]{constructor(_0x3eda67,_0x57e7fa,_0x370cb0,_0x28aaf,_0xd5fe60,_0x5f09d1){const _0x5b6ad4=_0x5d8d99;super(),_0x569acc(this,'_socket$',new _0x158390['BehaviorSubject'](void 0x0)),_0x569acc(this,_0x5b6ad4(0x4d4),this['_socket$'][_0x5b6ad4(0x4ae)]()),_0x569acc(this,_0x5b6ad4(0x1f2),null),_0x569acc(this,_0x5b6ad4(0x311),new Map()),_0x569acc(this,_0x5b6ad4(0x2aa),new _0x158390[(_0x5b6ad4(0x146))](_0x36f038['IDLE'])),_0x569acc(this,_0x5b6ad4(0x2e4),this[_0x5b6ad4(0x2aa)]['asObservable']()),_0x569acc(this,'_socketReady',!0x1),_0x569acc(this,_0x5b6ad4(0x51b)),_0x569acc(this,_0x5b6ad4(0x4c9),0x0),_0x569acc(this,_0x5b6ad4(0x478)),_0x569acc(this,_0x5b6ad4(0xf2)),(this[_0x5b6ad4(0x119)]=_0x3eda67,this['_localeService']=_0x57e7fa,this['_messageService']=_0x370cb0,this[_0x5b6ad4(0x414)]=_0x28aaf,this[_0x5b6ad4(0x298)]=_0xd5fe60,this[_0x5b6ad4(0x438)]=_0x5f09d1,this[_0x5b6ad4(0xde)]());}get[_0x5d8d99(0x1b7)](){const _0x23e997=_0x5d8d99;return this['_socket$'][_0x23e997(0x514)]();}[_0x5d8d99(0xde)](){const _0xddcc0a=_0x5d8d99;this[_0xddcc0a(0x271)](),this[_0xddcc0a(0x170)]();}[_0x5d8d99(0x50f)](){const _0x42ffd3=_0x5d8d99;super[_0x42ffd3(0x50f)](),this[_0x42ffd3(0x311)]['forEach'](_0x16386f=>_0x16386f[_0x42ffd3(0x50f)]()),this[_0x42ffd3(0x311)][_0x42ffd3(0x411)](),this[_0x42ffd3(0x2aa)][_0x42ffd3(0x3b7)]();}async[_0x5d8d99(0xc0)](_0x4c3cff){const _0x4ec7b0=_0x5d8d99;if(this['_sessions']['has'](_0x4c3cff))return this[_0x4ec7b0(0x311)][_0x4ec7b0(0x3a8)](_0x4c3cff);this[_0x4ec7b0(0x403)]();const _0xf3b3c9=this[_0x4ec7b0(0x119)][_0x4ec7b0(0x13b)](_0x4c1435['CollaborationSession'],_0x4c3cff,this[_0x4ec7b0(0x1a8)][_0x4ec7b0(0x4ae)]());return this[_0x4ec7b0(0x311)][_0x4ec7b0(0x4a7)](_0x4c3cff,_0xf3b3c9),_0xf3b3c9;}[_0x5d8d99(0x4f7)](_0x50255e){const _0x33a3cb=_0x5d8d99;var _0x2348a3;const _0x527827=this['_sessions'][_0x33a3cb(0x3a8)](_0x50255e);_0x527827&&(this[_0x33a3cb(0x311)][_0x33a3cb(0x451)](_0x50255e),_0x527827[_0x33a3cb(0x3ea)]()),this['_sessions']['size']||(_0x2348a3=this[_0x33a3cb(0x1b7)])==null||_0x2348a3[_0x33a3cb(0x3ea)]();}[_0x5d8d99(0x3ee)](){const _0x1b0aee=_0x5d8d99;this[_0x1b0aee(0x4c9)]=0x0,this[_0x1b0aee(0x51b)]!=null&&(clearTimeout(this[_0x1b0aee(0x51b)]),this[_0x1b0aee(0x51b)]=null),this[_0x1b0aee(0x494)]();}['_createSocket'](){const _0x489d70=_0x5d8d99;var _0xe09d91,_0x417e5b;const _0x160cb8=this[_0x489d70(0x298)][_0x489d70(0x2ea)](_0x29870a),_0x4746aa=this['_configService'][_0x489d70(0x2ea)](_0x5b0249),_0x3954ac=(_0x417e5b=(_0xe09d91=_0x4746aa==null?void 0x0:_0x4746aa[_0x489d70(0x4a5)])!=null?_0xe09d91:_0x160cb8)!=null?_0x417e5b:_0x30496f,_0xcbdf26=this['_socketService']['createSocket'](_0x3954ac);return this[_0x489d70(0x1f2)]=_0xcbdf26,_0xcbdf26;}[_0x5d8d99(0x403)](){const _0x1a444f=_0x5d8d99;var _0x3c2743,_0x2d5298;try{const _0x3fcbc6=(_0x2d5298=(_0x3c2743=this[_0x1a444f(0x1b7)])!=null?_0x3c2743:this[_0x1a444f(0x1f2)])!=null?_0x2d5298:this[_0x1a444f(0x2dc)]();if(_0x3fcbc6){const _0xa8f79c=_0x3fcbc6[_0x1a444f(0x527)];_0x3fcbc6['send']=_0x203865=>(this[_0x1a444f(0x219)](),_0xa8f79c['apply'](_0x3fcbc6,[_0x203865])),_0x3fcbc6[_0x1a444f(0x190)][_0x1a444f(0x3d2)](_0x572a71=>this['_onMessage'](_0x3fcbc6,_0x572a71)),_0x3fcbc6[_0x1a444f(0x4a9)][_0x1a444f(0x4fb)](_0x9d1bc[_0x1a444f(0x375)](0x1))[_0x1a444f(0x3d2)](_0x5456bd=>this[_0x1a444f(0x414)][_0x1a444f(0x13c)](_0x1a444f(0x2c4),_0x5456bd)),_0x3fcbc6[_0x1a444f(0x22a)]['pipe'](_0x9d1bc[_0x1a444f(0x375)](0x1))['subscribe'](()=>{const _0x361da8=_0x1a444f;this[_0x361da8(0x260)](_0x3fcbc6);}),_0x3fcbc6[_0x1a444f(0x2ad)][_0x1a444f(0x4fb)](_0x9d1bc['take'](0x1))[_0x1a444f(0x3d2)](_0x3ea2f6=>{const _0x73621a=_0x1a444f;this['_logService']['debug'](_0x73621a(0x4df),_0x73621a(0x235),_0x3ea2f6),this['_onConnectionFailed']();});}}catch(_0x50e467){this[_0x1a444f(0x414)]['error'](_0x50e467),this[_0x1a444f(0x52d)]();}}['_onConnectionOpen'](_0x47695d){const _0xcd3344=_0x5d8d99;this[_0xcd3344(0x414)][_0xcd3344(0x4c0)](_0xcd3344(0x4df),_0xcd3344(0x503)),_0x47695d[_0xcd3344(0x527)]({'cmd':_0x54e56b[_0xcd3344(0x124)]}),this['_rescheduleHeartbeat']();}[_0x5d8d99(0x271)](){const _0x380ef0=_0x5d8d99;window[_0x380ef0(0x354)]('offline',()=>this['_onOffline']());}[_0x5d8d99(0x4b7)](){const _0x4642f4=_0x5d8d99;this[_0x4642f4(0x386)]=!0x1,this[_0x4642f4(0x1f2)]=null,this[_0x4642f4(0x2aa)][_0x4642f4(0xb4)](_0x36f038[_0x4642f4(0x515)]),this[_0x4642f4(0x1a8)]['next'](null),this[_0x4642f4(0x4c7)](),this[_0x4642f4(0x1e0)]();}[_0x5d8d99(0x52d)](){const _0x52c6ec=_0x5d8d99;var _0x1064d5;this['_onOffline'](),this[_0x52c6ec(0x4c9)]<((_0x1064d5=this[_0x52c6ec(0x298)]['getConfig'](_0x46e8a1))!=null?_0x1064d5:0x3)?(this['_messageService'][_0x52c6ec(0x3ef)]({'key':_0x52c6ec(0x505),'type':_0x4fac56[_0x52c6ec(0x355)][_0x52c6ec(0x1cf)],'content':this['_localeService']['t'](_0x52c6ec(0x18c))}),this[_0x52c6ec(0x494)]()):this['_messageService'][_0x52c6ec(0x3ef)]({'key':_0x52c6ec(0x505),'type':_0x4fac56[_0x52c6ec(0x355)][_0x52c6ec(0xd0)],'content':this[_0x52c6ec(0xdc)]['t'](_0x52c6ec(0x1ba))});}[_0x5d8d99(0x170)](){const _0x534e2b=_0x5d8d99,_0x11d02c=()=>{const _0x3ac181=_0x3a4a;this[_0x3ac181(0x1b7)]||this[_0x3ac181(0x3ee)]();},_0x1e1c80=()=>{const _0x305357=_0x3a4a;this[_0x305357(0x1b7)]||document[_0x305357(0x31b)]===_0x305357(0x4ee)||this[_0x305357(0x3ee)]();};window[_0x534e2b(0x354)]('online',_0x11d02c),document[_0x534e2b(0x354)](_0x534e2b(0x4fd),_0x1e1c80);}[_0x5d8d99(0x494)](){const _0x5bb6ed=_0x5d8d99;var _0x45e0be;const _0x29ba74=this[_0x5bb6ed(0x4c9)],_0x3cbe92=this['_configService'][_0x5bb6ed(0x2ea)](_0x5b0249),_0x152202=_0x29ba74===0x0?0x0:((_0x45e0be=_0x3cbe92==null?void 0x0:_0x3cbe92[_0x5bb6ed(0x106)])!=null?_0x45e0be:0x4e20)*0x2**_0x29ba74;this[_0x5bb6ed(0x51b)]=window['setTimeout'](()=>{const _0x1e980c=_0x5bb6ed;clearTimeout(this[_0x1e980c(0x51b)]),this[_0x1e980c(0x51b)]=null,this[_0x1e980c(0x403)]();},_0x152202),this[_0x5bb6ed(0x4c9)]+=0x1;}['_onMessage'](_0x1a8024,_0x1843de){const _0x443d4c=_0x5d8d99,{cmd:_0x393817}=_0x1843de;_0x393817===_0x54e56b['HELLO']&&!this['_socketReady']&&(_0x1a8024[_0x443d4c(0x1d1)]=_0x1843de['data'][_0x443d4c(0x1d1)],this[_0x443d4c(0x1a8)][_0x443d4c(0xb4)](_0x1a8024),this[_0x443d4c(0x2aa)][_0x443d4c(0xb4)](_0x36f038[_0x443d4c(0x316)]),this[_0x443d4c(0x386)]=!0x0,this[_0x443d4c(0x1f2)]=null),_0x393817===_0x54e56b[_0x443d4c(0x14b)]&&this['_clearTimeoutTimer'](),this[_0x443d4c(0x219)]();}[_0x5d8d99(0x219)](){const _0x51571a=_0x5d8d99;var _0x215357;this[_0x51571a(0x1e0)](),this[_0x51571a(0x478)]=window[_0x51571a(0x2a1)](()=>this[_0x51571a(0x15a)](),(_0x215357=this[_0x51571a(0x298)][_0x51571a(0x2ea)](_0x3fc47f))!=null?_0x215357:0x7530);}[_0x5d8d99(0x15a)](){const _0x5e6d29=_0x5d8d99;this['_socket'][_0x5e6d29(0x527)]({'cmd':_0x54e56b[_0x5e6d29(0x14b)]}),this[_0x5e6d29(0x154)]();}[_0x5d8d99(0x154)](){const _0x3f0a6e=_0x5d8d99;var _0x54b4c6;this[_0x3f0a6e(0xf2)]=window[_0x3f0a6e(0x2a1)](()=>this[_0x3f0a6e(0x52d)](),(_0x54b4c6=this[_0x3f0a6e(0x298)][_0x3f0a6e(0x2ea)](_0x48f29d))!=null?_0x54b4c6:0x4e20);}[_0x5d8d99(0x1e0)](){const _0x34c319=_0x5d8d99;this[_0x34c319(0x478)]!=null&&(clearTimeout(this[_0x34c319(0x478)]),this[_0x34c319(0x478)]=null);}['_clearTimeoutTimer'](){const _0x4751b4=_0x5d8d99;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x4751b4(0xf2)]),this['_timeoutTimer']=null);}},_0x4c1435['CollaborationSessionService']=_0x2af02f([_0x538f0d(0x0,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x538f0d(0x1,_0x28c502['Inject'](_0x28c502[_0x5d8d99(0x469)])),_0x538f0d(0x2,_0x28a60c['IMessageService']),_0x538f0d(0x3,_0x28c502[_0x5d8d99(0xad)]),_0x538f0d(0x4,_0x28c502[_0x5d8d99(0x422)]),_0x538f0d(0x5,_0x5266e3)],_0x4c1435[_0x5d8d99(0x2b2)]);for(var _0x1beb52=[],_0x482be3=0x0;_0x482be3<0x100;++_0x482be3)_0x1beb52[_0x5d8d99(0x347)]((_0x482be3+0x100)[_0x5d8d99(0xbe)](0x10)[_0x5d8d99(0x4ac)](0x1));function _0x407007(_0x2c2477,_0x193541=0x0){return(_0x1beb52[_0x2c2477[_0x193541+0x0]]+_0x1beb52[_0x2c2477[_0x193541+0x1]]+_0x1beb52[_0x2c2477[_0x193541+0x2]]+_0x1beb52[_0x2c2477[_0x193541+0x3]]+'-'+_0x1beb52[_0x2c2477[_0x193541+0x4]]+_0x1beb52[_0x2c2477[_0x193541+0x5]]+'-'+_0x1beb52[_0x2c2477[_0x193541+0x6]]+_0x1beb52[_0x2c2477[_0x193541+0x7]]+'-'+_0x1beb52[_0x2c2477[_0x193541+0x8]]+_0x1beb52[_0x2c2477[_0x193541+0x9]]+'-'+_0x1beb52[_0x2c2477[_0x193541+0xa]]+_0x1beb52[_0x2c2477[_0x193541+0xb]]+_0x1beb52[_0x2c2477[_0x193541+0xc]]+_0x1beb52[_0x2c2477[_0x193541+0xd]]+_0x1beb52[_0x2c2477[_0x193541+0xe]]+_0x1beb52[_0x2c2477[_0x193541+0xf]])['toLowerCase']();}var _0xc9f2ab,_0x37a85c=new Uint8Array(0x10);function _0x499963(){const _0x4e721a=_0x5d8d99;if(!_0xc9f2ab&&(_0xc9f2ab=typeof crypto<'u'&&crypto[_0x4e721a(0x4f0)]&&crypto[_0x4e721a(0x4f0)][_0x4e721a(0x4f8)](crypto),!_0xc9f2ab))throw new Error(_0x4e721a(0x3ba));return _0xc9f2ab(_0x37a85c);}var _0x5f4fc5=typeof crypto<'u'&&crypto[_0x5d8d99(0x211)]&&crypto['randomUUID'][_0x5d8d99(0x4f8)](crypto);const _0x18d4b3={'randomUUID':_0x5f4fc5};function _0x1a0b07(_0x44bd91,_0x5c7ad7,_0x24fd5c){const _0x5193c6=_0x5d8d99;if(_0x18d4b3['randomUUID']&&!_0x5c7ad7&&!_0x44bd91)return _0x18d4b3[_0x5193c6(0x211)]();_0x44bd91=_0x44bd91||{};var _0x5b2b86=_0x44bd91[_0x5193c6(0x198)]||(_0x44bd91[_0x5193c6(0x2a9)]||_0x499963)();return _0x5b2b86[0x6]=_0x5b2b86[0x6]&0xf|0x40,_0x5b2b86[0x8]=_0x5b2b86[0x8]&0x3f|0x80,_0x407007(_0x5b2b86);}var _0x28c5c2=Object[_0x5d8d99(0x48f)],_0x116528=Object[_0x5d8d99(0x48b)],_0x1c6106=(_0x50defe,_0x4ddca4,_0x219e3b,_0x3ceaef)=>{const _0x34cac6=_0x5d8d99;for(var _0x5e898e=_0x3ceaef>0x1?void 0x0:_0x3ceaef?_0x116528(_0x4ddca4,_0x219e3b):_0x4ddca4,_0x1d50ce=_0x50defe[_0x34cac6(0x52c)]-0x1,_0x5c5ed6;_0x1d50ce>=0x0;_0x1d50ce--)(_0x5c5ed6=_0x50defe[_0x1d50ce])&&(_0x5e898e=(_0x3ceaef?_0x5c5ed6(_0x4ddca4,_0x219e3b,_0x5e898e):_0x5c5ed6(_0x5e898e))||_0x5e898e);return _0x3ceaef&&_0x5e898e&&_0x28c5c2(_0x4ddca4,_0x219e3b,_0x5e898e),_0x5e898e;},_0x1d4422=(_0x5bc7e8,_0x48f434)=>(_0x4a6e94,_0x1c643d)=>_0x48f434(_0x4a6e94,_0x1c643d,_0x5bc7e8);let _0x4971b6=class{constructor(_0x1cc4fc,_0x1e24cd,_0x4dd6a2){const _0x5ba27c=_0x5d8d99;this[_0x5ba27c(0x119)]=_0x1cc4fc,this[_0x5ba27c(0x258)]=_0x1e24cd,this[_0x5ba27c(0x176)]=_0x4dd6a2;}[_0x5d8d99(0x1a4)](_0x2e603b){const _0xdea623=_0x5d8d99;this[_0xdea623(0xae)](_0x2e603b),this['_transformPreviousActiveRange'](_0x2e603b);}['transformRemoteChangeset'](_0x5cb499){const _0x142e64=_0x5d8d99,{unitID:_0x3bfae6}=_0x5cb499,_0x1c0b22=this[_0x142e64(0x176)][_0x142e64(0x162)](_0x3bfae6)[_0x142e64(0x9e)](_0x3d318b[_0x142e64(0x50e)]),{redoCache:_0x332a5b}=_0x1c0b22[_0x142e64(0x22b)]();if(_0x332a5b[_0x142e64(0x52c)]===0x0)return _0x5cb499;let _0x2c7d98=_0x28c502[_0x142e64(0x284)][_0x142e64(0x268)](_0x5cb499[_0x142e64(0x31f)][0x0]);for(let _0x2ae933=0x0;_0x2ae933<_0x332a5b[_0x142e64(0x52c)];_0x2ae933++){const _0x50aa58={'id':_0x142e64(0x2b0),'params':{..._0x332a5b[_0x2ae933]}},_0x565570=this[_0x142e64(0x258)][_0x142e64(0x139)](_0x2c7d98,_0x50aa58,!0x1);if(_0x50e560[_0x142e64(0x3b4)](_0x565570))throw _0x565570[_0x142e64(0x13c)];_0x2c7d98=_0x565570[_0x142e64(0x3f4)];}return{..._0x28c502['Tools']['deepClone'](_0x5cb499),'mutations':[_0x2c7d98]};}[_0x5d8d99(0xae)](_0x23fe3a){const _0x4a22da=_0x5d8d99,{unitID:_0x4ec1a7}=_0x23fe3a,_0x59abef=this[_0x4a22da(0x176)][_0x4a22da(0x162)](_0x4ec1a7)[_0x4a22da(0x9e)](_0x3d318b[_0x4a22da(0x50e)]),{undoCache:_0x3cc942,redoCache:_0x11d6eb}=_0x59abef[_0x4a22da(0x22b)]();if(_0x3cc942[_0x4a22da(0x52c)]===0x0||_0x11d6eb[_0x4a22da(0x52c)]===0x0)return;const _0x31c039=[],_0x1f2e60=[];let _0x113f9f=_0x28c502['Tools'][_0x4a22da(0x268)](_0x23fe3a[_0x4a22da(0x31f)][0x0]),_0x206cbd=_0x28c502[_0x4a22da(0x284)][_0x4a22da(0x268)](_0x23fe3a['mutations'][0x0]);for(let _0x42606c=_0x3cc942[_0x4a22da(0x52c)]-0x1;_0x42606c>=0x0;_0x42606c--){const _0x33d3b1={'id':_0x4a22da(0x2b0),'params':{..._0x3cc942[_0x42606c]}},_0x647813={'id':'doc.mutation.rich-text-editing','params':{..._0x11d6eb[_0x42606c]}},_0x3b8023=this[_0x4a22da(0x258)]['transformMutation'](_0x113f9f,_0x33d3b1,!0x1),_0x268b3d=this[_0x4a22da(0x258)][_0x4a22da(0x139)](_0x206cbd,_0x647813,!0x1);if(_0x50e560[_0x4a22da(0x3b4)](_0x3b8023))throw _0x3b8023[_0x4a22da(0x13c)];if(_0x50e560[_0x4a22da(0x3b4)](_0x268b3d))throw _0x268b3d['error'];_0x31c039[_0x4a22da(0x4e4)](_0x3b8023['m2Prime']['params']),_0x1f2e60[_0x4a22da(0x4e4)](_0x268b3d[_0x4a22da(0x4d1)][_0x4a22da(0x41c)]),_0x113f9f=_0x3b8023[_0x4a22da(0x3f4)],_0x206cbd=_0x268b3d[_0x4a22da(0x3f4)];}_0x59abef[_0x4a22da(0x4e7)]({'undoCache':_0x31c039,'redoCache':_0x1f2e60});}[_0x5d8d99(0x4e3)](_0x5d4704){const _0x5d4cba=_0x5d8d99,{unitID:_0x3f1a28}=_0x5d4704,_0x5c62d1=this['_renderManagerService'][_0x5d4cba(0x162)](_0x3f1a28)[_0x5d4cba(0x9e)](_0x3d318b[_0x5d4cba(0x50e)]),_0x5a4adb=_0x5c62d1['getActiveRange']();if(_0x5a4adb==null)return;const _0x57fd5c=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5d4704[_0x5d4cba(0xe5)],'actions':null,'textRanges':[_0x5a4adb]}}],_0x23602b=this[_0x5d4cba(0x258)][_0x5d4cba(0x2c7)](_0x5d4704,_0x57fd5c);if(!_0x50e560[_0x5d4cba(0x17e)](_0x23602b))throw _0x23602b[_0x5d4cba(0x13c)];const _0x5211d7=_0x23602b[_0x5d4cba(0x4d1)][0x0][_0x5d4cba(0x41c)][_0x5d4cba(0x44d)];Array[_0x5d4cba(0x287)](_0x5211d7)&&_0x5211d7['length']&&_0x5c62d1[_0x5d4cba(0x21d)](_0x5211d7[0x0]);}};_0x4971b6=_0x1c6106([_0x1d4422(0x0,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x1d4422(0x1,_0x50e560[_0x5d8d99(0x3d0)]),_0x1d4422(0x2,_0x5474e6['IRenderManagerService'])],_0x4971b6);var _0x4d759c=Object[_0x5d8d99(0x48f)],_0x2f94d6=Object[_0x5d8d99(0x48b)],_0x24740d=(_0x32c32f,_0x4ce409,_0x11e962,_0x2cc9af)=>{const _0x123d3a=_0x5d8d99;for(var _0x45c236=_0x2cc9af>0x1?void 0x0:_0x2cc9af?_0x2f94d6(_0x4ce409,_0x11e962):_0x4ce409,_0x3658ce=_0x32c32f[_0x123d3a(0x52c)]-0x1,_0x2186fd;_0x3658ce>=0x0;_0x3658ce--)(_0x2186fd=_0x32c32f[_0x3658ce])&&(_0x45c236=(_0x2cc9af?_0x2186fd(_0x4ce409,_0x11e962,_0x45c236):_0x2186fd(_0x45c236))||_0x45c236);return _0x2cc9af&&_0x45c236&&_0x4d759c(_0x4ce409,_0x11e962,_0x45c236),_0x45c236;},_0x52bc87=(_0xccb8c6,_0x57de74)=>(_0x4eff7f,_0x55da3a)=>_0x57de74(_0x4eff7f,_0x55da3a,_0xccb8c6);_0x4c1435[_0x5d8d99(0x92)]=class extends _0x28c502[_0x5d8d99(0x24b)]{constructor(_0x2b67ca,_0x10aef9,_0x54e001,_0x55d52b,_0x47dc91){const _0x59f5fa=_0x5d8d99;super(),_0x569acc(this,_0x59f5fa(0x99),new Map()),_0x569acc(this,_0x59f5fa(0x20b),new Map()),_0x569acc(this,_0x59f5fa(0x3ac),!0x1),(this[_0x59f5fa(0x298)]=_0x2b67ca,this[_0x59f5fa(0x143)]=_0x10aef9,this[_0x59f5fa(0x131)]=_0x54e001,this[_0x59f5fa(0xdc)]=_0x55d52b,this['_revisionService']=_0x47dc91,this[_0x59f5fa(0x98)]());}[_0x5d8d99(0x184)](){const _0x2b0969=_0x5d8d99;this[_0x2b0969(0x3ac)]=!0x0;}[_0x5d8d99(0x302)](){this['_disabled']=!0x1;}[_0x5d8d99(0x50f)](){const _0x360cdb=_0x5d8d99;this['exhaustSavingTask']()['then'](()=>super[_0x360cdb(0x50f)]());}async[_0x5d8d99(0x2a0)](_0x3af08f){const _0x3451ec=_0x5d8d99;return this[_0x3451ec(0x3ac)]?null:this['_localStorageService'][_0x3451ec(0x419)](_0x4e383f(_0x3af08f));}async[_0x5d8d99(0x1d0)](_0x48a4b4,_0x53ca29){const _0x50686d=_0x5d8d99;return!!this[_0x50686d(0x143)][_0x50686d(0x517)](_0x48a4b4,_0x53ca29);}[_0x5d8d99(0x45d)](_0x528345,_0x250eb8,_0xf89f8a,_0x491377){const _0xa81def=_0x5d8d99,_0x3434ed=this[_0xa81def(0x12f)][_0xa81def(0x273)](_0x528345);this[_0xa81def(0x99)][_0xa81def(0x4a7)](_0x528345,{'unitID':_0x528345,'type':_0x250eb8,'awaitingChangeset':_0xf89f8a,'mutations':_0x491377,'rev':_0x3434ed}),this[_0xa81def(0x20b)][_0xa81def(0xb0)](_0x528345)||this[_0xa81def(0x4f3)](_0x528345);}[_0x5d8d99(0x4f3)](_0x4b7475){const _0x5af00a=_0x5d8d99,_0x3ff24a=this[_0x5af00a(0x2b8)]();_0x3ff24a===0x0?this[_0x5af00a(0x47d)](_0x4b7475):this['_saveTaskMap'][_0x5af00a(0x4a7)](_0x4b7475,setTimeout(()=>this[_0x5af00a(0x47d)](_0x4b7475),_0x3ff24a));}['_getSaveTimeout'](){const _0x2a75a1=_0x5d8d99;var _0x180043;return(_0x180043=this['_configService'][_0x2a75a1(0x2ea)](_0x346b18))!=null?_0x180043:0x3e8;}[_0x5d8d99(0x47d)](_0x34a082){const _0x41f0b4=_0x5d8d99,_0x54ff29=this[_0x41f0b4(0x20b)][_0x41f0b4(0x3a8)](_0x34a082);return _0x54ff29!==void 0x0&&window[_0x41f0b4(0x39a)](_0x54ff29),this[_0x41f0b4(0x143)][_0x41f0b4(0x517)](_0x4e383f(_0x34a082),this['_cachedData'][_0x41f0b4(0x3a8)](_0x34a082))['then'](()=>this[_0x41f0b4(0x20b)][_0x41f0b4(0x451)](_0x34a082));}async[_0x5d8d99(0x2b3)](){const _0x36df88=_0x5d8d99,_0x2734fc=[];this[_0x36df88(0x20b)]['forEach']((_0x5e9c83,_0x1ec60f)=>{const _0x3612fa=_0x36df88;window[_0x3612fa(0x39a)](_0x5e9c83),_0x2734fc['push'](this[_0x3612fa(0x47d)](_0x1ec60f)[_0x3612fa(0x3a6)](()=>{const _0xf6f95=_0x3612fa;this[_0xf6f95(0x20b)]['delete'](_0x1ec60f);}));}),await Promise['all'](_0x2734fc);}[_0x5d8d99(0x98)](){const _0x2ede40=_0x5d8d99;this[_0x2ede40(0x4b5)](this['_beforeCloseService'][_0x2ede40(0xf6)](()=>{const _0x360698=_0x2ede40;if(this[_0x360698(0x20b)][_0x360698(0x3f0)])return this[_0x360698(0xdc)]['t'](_0x360698(0x367));}));}},_0x4c1435['LocalCacheService']=_0x24740d([_0x52bc87(0x0,_0x28c502[_0x5d8d99(0x422)]),_0x52bc87(0x1,_0x28c502[_0x5d8d99(0x2e8)]),_0x52bc87(0x2,_0x28a60c[_0x5d8d99(0x4db)]),_0x52bc87(0x3,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x469)])),_0x52bc87(0x4,_0x28c502[_0x5d8d99(0x48a)](_0x50e560[_0x5d8d99(0x2cd)]))],_0x4c1435[_0x5d8d99(0x92)]);function _0x4e383f(_0x4ec6bf){const _0x1022f9=_0x5d8d99;return _0x1022f9(0x3c6)+_0x4ec6bf;}var _0x15770a=Object['defineProperty'],_0x5a208f=Object[_0x5d8d99(0x48b)],_0x355b56=(_0x36875d,_0xadffe9,_0x5258b9,_0x294b44)=>{for(var _0x536f48=_0x294b44>0x1?void 0x0:_0x294b44?_0x5a208f(_0xadffe9,_0x5258b9):_0xadffe9,_0x54ae7b=_0x36875d['length']-0x1,_0x3ea8f4;_0x54ae7b>=0x0;_0x54ae7b--)(_0x3ea8f4=_0x36875d[_0x54ae7b])&&(_0x536f48=(_0x294b44?_0x3ea8f4(_0xadffe9,_0x5258b9,_0x536f48):_0x3ea8f4(_0x536f48))||_0x536f48);return _0x294b44&&_0x536f48&&_0x15770a(_0xadffe9,_0x5258b9,_0x536f48),_0x536f48;},_0x34faef=(_0x556cfd,_0x3319a0)=>(_0x45f746,_0x2cfb20)=>_0x3319a0(_0x45f746,_0x2cfb20,_0x556cfd);function _0x3c03f7(_0x72391c){const _0x3a46e9=_0x5d8d99,{unitID:_0x2a48de,mutations:_0x5401e3}=_0x72391c;return{'unitId':_0x2a48de,'subUnitId':_0x5401e3[0x0][_0x3a46e9(0x41c)][_0x3a46e9(0x427)]};}let _0x474488=class{constructor(_0x5bf435,_0x1e4440,_0x2c0160){const _0x4fbed9=_0x5d8d99;this[_0x4fbed9(0x119)]=_0x5bf435,this[_0x4fbed9(0x258)]=_0x1e4440,this['_instanceService']=_0x2c0160;}['transformSelections'](_0x45a05c){const _0x44c581=_0x5d8d99;var _0x1eaebd,_0x384e06,_0x5827fd,_0x16c4ad;const _0x1f4848=this[_0x44c581(0x119)][_0x44c581(0x3a8)](_0x256063[_0x44c581(0x2e2)]),{unitId:_0x3338b8,subUnitId:_0xb6a7ca}=_0x3c03f7(_0x45a05c),_0x17ba29=_0x1f4848[_0x44c581(0x361)](_0x3338b8)[_0x44c581(0x333)](),_0x418237=(_0x384e06=(_0x1eaebd=this[_0x44c581(0x435)][_0x44c581(0x2f6)](_0x3338b8))==null?void 0x0:_0x1eaebd[_0x44c581(0x337)]())==null?void 0x0:_0x384e06[_0x44c581(0x3c1)]();if(_0x17ba29[_0x44c581(0x52c)]===0x0||!_0x3338b8||!_0xb6a7ca)return;const _0x1cb194=[{'id':_0x256063[_0x44c581(0x181)]['id'],'params':{'unitId':_0x3338b8,'subUnitId':_0x418237,'selections':_0x28c502[_0x44c581(0x284)][_0x44c581(0x268)](_0x17ba29)}}],_0x2d7221=this['_transformService'][_0x44c581(0x2c7)](_0x45a05c,_0x1cb194);if(!_0x50e560[_0x44c581(0x17e)](_0x2d7221))throw _0x2d7221[_0x44c581(0x13c)];const _0x323cfb=(_0x16c4ad=(_0x5827fd=_0x2d7221['m2Prime'][0x0])==null?void 0x0:_0x5827fd['params'])==null?void 0x0:_0x16c4ad[_0x44c581(0x519)];if(Array[_0x44c581(0x287)](_0x323cfb)&&_0x323cfb[_0x44c581(0x52c)]){if(_0x323cfb[_0x44c581(0x52c)]===_0x1cb194[0x0]['params'][_0x44c581(0x519)][_0x44c581(0x52c)]&&_0x323cfb[_0x44c581(0x443)]((_0x113a06,_0x121cea)=>_0x28c502[_0x44c581(0x180)]['equals'](_0x113a06[_0x44c581(0x11a)],_0x1cb194[0x0][_0x44c581(0x41c)][_0x44c581(0x519)][_0x121cea][_0x44c581(0x11a)])))return;this['_injector']['get'](_0x28c502[_0x44c581(0x123)])['executeCommand'](_0x256063[_0x44c581(0x181)]['id'],{'unitId':_0x3338b8,'subUnitId':_0x418237,'selections':_0x323cfb});}}};_0x474488=_0x355b56([_0x34faef(0x0,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x34faef(0x1,_0x50e560['ITransformService']),_0x34faef(0x2,_0x28c502['IUniverInstanceService'])],_0x474488);const _0x299919=_0x28c502[_0x5d8d99(0x401)](_0x5d8d99(0x2db));var _0x557e05=(_0x20cb84=>(_0x20cb84[_0x20cb84[_0x5d8d99(0x3c3)]=0x0]=_0x5d8d99(0x3c3),_0x20cb84[_0x20cb84[_0x5d8d99(0x467)]=0x1]=_0x5d8d99(0x467),_0x20cb84))(_0x557e05||{});const _0x471a7a=0x7530,_0xab16dd=_0x5d8d99(0x171);class _0x1796ae extends _0x28c502[_0x5d8d99(0x24b)]{constructor(){const _0x316d24=_0x5d8d99;super(),_0x569acc(this,_0x316d24(0x203),_0x28c502[_0x316d24(0x284)][_0x316d24(0x275)]()),_0x569acc(this,_0x316d24(0x521),new Set()),_0x569acc(this,_0x316d24(0xed),new Map()),_0x569acc(this,_0x316d24(0x279),null),_0x569acc(this,_0x316d24(0x199),new Map()),_0x569acc(this,_0x316d24(0x1af),new Map()),this[_0x316d24(0xfb)]();}[_0x5d8d99(0x50f)](){const _0xc55e3b=_0x5d8d99;super[_0xc55e3b(0x50f)](),this['_clearOtherTimers'][_0xc55e3b(0x359)]((_0x4dd7f1,_0x431173)=>this[_0xc55e3b(0x10f)](_0x431173)),this[_0xc55e3b(0x279)]&&window[_0xc55e3b(0x4af)](this['_heartbeatTimer']);}[_0x5d8d99(0x29f)](_0x46167d){const _0x53e0ad=_0x5d8d99;return this[_0x53e0ad(0x444)](_0x46167d)[_0x53e0ad(0x4fb)](_0x158390[_0x53e0ad(0x43c)]());}[_0x5d8d99(0x160)](_0x588428){const _0x3bdab0=_0x5d8d99;this[_0x3bdab0(0x521)][_0x3bdab0(0x3f0)]===0x0&&this[_0x3bdab0(0x15f)](),this[_0x3bdab0(0x521)][_0x3bdab0(0x41f)](_0x588428),this[_0x3bdab0(0xf1)]({'type':0x0,'memberID':this[_0x3bdab0(0x203)],'unitIDs':[_0x588428],'isForwarded':!0x1});}[_0x5d8d99(0x357)](_0x375902){const _0x40a237=_0x5d8d99;this[_0x40a237(0x521)][_0x40a237(0x451)](_0x375902),this[_0x40a237(0x521)][_0x40a237(0x3f0)]===0x0&&this['_heartbeatTimer']&&window[_0x40a237(0x4af)](this['_heartbeatTimer']);}[_0x5d8d99(0xfb)](){const _0xed8526=_0x5d8d99;this[_0xed8526(0x4b5)](_0x28c502[_0xed8526(0x4fe)](_0x158390[_0xed8526(0x175)](window,_0xed8526(0x13d))[_0xed8526(0x3d2)](_0x4cbd46=>{const _0x593b8b=_0xed8526;if(_0x4cbd46[_0x593b8b(0x3f9)]!==_0xab16dd||!_0x4cbd46[_0x593b8b(0xba)])return;const _0x4e0d2e=JSON[_0x593b8b(0x40c)](_0x4cbd46[_0x593b8b(0xba)]);this[_0x593b8b(0x97)](_0x4e0d2e);}))),window[_0xed8526(0x354)](_0xed8526(0x1f9),()=>this[_0xed8526(0xf1)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0xed8526(0x521)])}));}[_0x5d8d99(0x97)](_0x17aabf){const _0x103661=_0x5d8d99;switch(_0x17aabf[_0x103661(0x36c)]){case 0x0:this[_0x103661(0x31e)](_0x17aabf);break;case 0x1:this[_0x103661(0x45c)](_0x17aabf);break;case 0x2:this[_0x103661(0x14d)](_0x17aabf);break;}}[_0x5d8d99(0x31e)](_0x4e7f55){const _0x466bba=_0x5d8d99,{unitIDs:_0x286769,memberID:_0xbc05f7,isForwarded:_0x5de5f0}=_0x4e7f55;_0x286769['forEach'](_0xc329d=>{const _0x4b7f58=_0x3a4a;if(!_0x5de5f0&&this['_unitOnClients'][_0x4b7f58(0xb0)](_0xc329d)&&this['_ensureSubject'](_0xc329d)[_0x4b7f58(0xb4)](0x1),!this['_unitOnClients'][_0x4b7f58(0xb0)](_0xc329d)||!this[_0x4b7f58(0xed)][_0x4b7f58(0x3a8)](_0xc329d)['has'](_0xbc05f7)){const _0x272abd=this[_0x4b7f58(0xed)][_0x4b7f58(0x3a8)](_0xc329d)||new Set();_0x272abd[_0x4b7f58(0x41f)](_0xbc05f7),this[_0x4b7f58(0xed)][_0x4b7f58(0x4a7)](_0xc329d,_0x272abd),this['_scheduleClearOtherTimer'](_0xbc05f7);}}),_0x5de5f0||this[_0x466bba(0xf1)]({'type':0x0,'memberID':this[_0x466bba(0x203)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5d8d99(0xd1)](_0x278470){const _0x148357=_0x5d8d99;this[_0x148357(0x10f)](_0x278470);const _0x25773e=window[_0x148357(0x2a1)](()=>{const _0x47e84e=_0x148357;this[_0x47e84e(0xed)][_0x47e84e(0x359)](_0x425955=>{const _0x16ad0d=_0x47e84e;_0x425955[_0x16ad0d(0x451)](_0x278470);});},_0x471a7a*0x2);this[_0x148357(0x199)][_0x148357(0x4a7)](_0x278470,_0x25773e);}[_0x5d8d99(0x10f)](_0x4f05ed){const _0x2470a4=_0x5d8d99;if(this[_0x2470a4(0x199)][_0x2470a4(0xb0)](_0x4f05ed)){const _0x46684e=this['_clearOtherTimers'][_0x2470a4(0x3a8)](_0x4f05ed);_0x46684e&&window['clearTimeout'](_0x46684e),this[_0x2470a4(0x199)][_0x2470a4(0x4a7)](_0x4f05ed,null);}}[_0x5d8d99(0x45c)](_0x56e30a){const _0x2248fd=_0x5d8d99,{memberID:_0x596623,unitIDs:_0x23bdae}=_0x56e30a;_0x23bdae[_0x2248fd(0x359)](_0x21d75d=>{const _0x21ae19=_0x2248fd;var _0x246db0;const _0x59582a=this[_0x21ae19(0xed)][_0x21ae19(0x3a8)](_0x21d75d);_0x59582a&&(_0x59582a['delete'](_0x596623),(_0x246db0=this[_0x21ae19(0x444)](_0x21d75d))==null||_0x246db0[_0x21ae19(0xb4)](_0x59582a[_0x21ae19(0x3f0)]===0x0?0x0:0x1));}),this[_0x2248fd(0x10f)](_0x596623);}[_0x5d8d99(0x14d)](_0x31431e){const _0x568680=_0x5d8d99;this[_0x568680(0xd1)](_0x31431e[_0x568680(0x1d1)]);}[_0x5d8d99(0xf1)](_0x2768fb){const _0x423e4a=_0x5d8d99;localStorage[_0x423e4a(0x517)](_0xab16dd,JSON['stringify'](_0x2768fb));}[_0x5d8d99(0x15f)](){const _0x3d156b=_0x5d8d99;this[_0x3d156b(0x279)]=window[_0x3d156b(0xfc)](()=>{const _0x5ccb90=_0x3d156b;this[_0x5ccb90(0xf1)]({'type':0x2,'memberID':this[_0x5ccb90(0x203)]});},_0x471a7a);}[_0x5d8d99(0x444)](_0x11f645){const _0x3ff639=_0x5d8d99;return this[_0x3ff639(0x1af)][_0x3ff639(0xb0)](_0x11f645)||this['_unitStatus'][_0x3ff639(0x4a7)](_0x11f645,new _0x158390[(_0x3ff639(0x146))](0x0)),this[_0x3ff639(0x1af)]['get'](_0x11f645);}}var _0x4cdcf8=Object[_0x5d8d99(0x48f)],_0x4da39a=Object['getOwnPropertyDescriptor'],_0x84fe0a=(_0x9c3471,_0x5717d6,_0x1f5259,_0x3f88e7)=>{const _0x52920d=_0x5d8d99;for(var _0x1ffdc7=_0x3f88e7>0x1?void 0x0:_0x3f88e7?_0x4da39a(_0x5717d6,_0x1f5259):_0x5717d6,_0x246ec6=_0x9c3471[_0x52920d(0x52c)]-0x1,_0x242796;_0x246ec6>=0x0;_0x246ec6--)(_0x242796=_0x9c3471[_0x246ec6])&&(_0x1ffdc7=(_0x3f88e7?_0x242796(_0x5717d6,_0x1f5259,_0x1ffdc7):_0x242796(_0x1ffdc7))||_0x1ffdc7);return _0x3f88e7&&_0x1ffdc7&&_0x4cdcf8(_0x5717d6,_0x1f5259,_0x1ffdc7),_0x1ffdc7;},_0xcf95ba=(_0x131d34,_0x2f57fe)=>(_0x5b547c,_0x34112e)=>_0x2f57fe(_0x5b547c,_0x34112e,_0x131d34);let _0x1664c1=class{constructor(_0x4e36cc,_0xc568a5,_0x434d42){const _0x41efb6=_0x5d8d99;this[_0x41efb6(0x119)]=_0x4e36cc,this['_transformService']=_0xc568a5,this[_0x41efb6(0xaa)]=_0x434d42;}[_0x5d8d99(0x16d)](_0x104a4e){this['_transformHistoryAndStateStack'](_0x104a4e);}[_0x5d8d99(0x3fb)](_0x19503d){const _0x4a7566=_0x5d8d99,{unitID:_0x539129}=_0x19503d,{collaboration:_0x51ffaf}=this[_0x4a7566(0xaa)]['getStateCache'](_0x539129);if(_0x51ffaf[_0x4a7566(0x52c)]===0x0)return _0x19503d;let _0x2797b3=_0x28c502[_0x4a7566(0x284)][_0x4a7566(0x268)](_0x19503d['mutations'][0x0]);for(let _0x44eba7=0x0;_0x44eba7<_0x51ffaf[_0x4a7566(0x52c)];_0x44eba7++){const _0x510379={'id':_0x4a7566(0x2b0),'params':{'unitId':_0x51ffaf[_0x44eba7][_0x4a7566(0x44b)],..._0x51ffaf[_0x44eba7][_0x4a7566(0x322)]}},_0xa231ee=this[_0x4a7566(0x258)][_0x4a7566(0x139)](_0x2797b3,_0x510379,!0x1);if(_0x50e560[_0x4a7566(0x3b4)](_0xa231ee))throw _0xa231ee[_0x4a7566(0x13c)];_0x2797b3=_0xa231ee[_0x4a7566(0x3f4)];}return{..._0x28c502[_0x4a7566(0x284)][_0x4a7566(0x268)](_0x19503d),'mutations':[_0x2797b3]};}['_transformHistoryAndStateStack'](_0x18512b){const _0x573ac5=_0x5d8d99,{unitID:_0xa8ce2e}=_0x18512b,{history:_0x4e0eac,collaboration:_0x21842f}=this[_0x573ac5(0xaa)][_0x573ac5(0x205)](_0xa8ce2e);if(_0x4e0eac[_0x573ac5(0x52c)]===0x0&&_0x21842f['length']===0x0)return;const _0x42bef8=[],_0x583685=[];let _0x224b84=_0x28c502[_0x573ac5(0x284)][_0x573ac5(0x268)](_0x18512b[_0x573ac5(0x31f)][0x0]),_0x172e3e=_0x28c502[_0x573ac5(0x284)]['deepClone'](_0x18512b[_0x573ac5(0x31f)][0x0]);for(let _0xe74b29=_0x4e0eac[_0x573ac5(0x52c)]-0x1;_0xe74b29>=0x0;_0xe74b29--){const _0x530e56={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4e0eac[_0xe74b29][_0x573ac5(0x44b)],..._0x4e0eac[_0xe74b29][_0x573ac5(0x13a)]}},_0xe733f0={'id':_0x573ac5(0x2b0),'params':{'unitId':_0x4e0eac[_0xe74b29]['unitId'],..._0x4e0eac[_0xe74b29]['redoState']}},_0x42db6d=this['_transformService'][_0x573ac5(0x139)](_0x224b84,_0x530e56,!0x1),_0xacb5df=this[_0x573ac5(0x258)][_0x573ac5(0x139)](_0x172e3e,_0xe733f0,!0x1);if(_0x50e560[_0x573ac5(0x3b4)](_0x42db6d))throw _0x42db6d[_0x573ac5(0x13c)];if(_0x50e560[_0x573ac5(0x3b4)](_0xacb5df))throw _0xacb5df[_0x573ac5(0x13c)];_0x42bef8[_0x573ac5(0x4e4)]({..._0x4e0eac[_0xe74b29],'undoState':_0x42db6d[_0x573ac5(0x4d1)][_0x573ac5(0x41c)],'redoState':_0xacb5df['m2Prime'][_0x573ac5(0x41c)]}),_0x224b84=_0x42db6d[_0x573ac5(0x3f4)],_0x172e3e=_0xacb5df[_0x573ac5(0x3f4)];}_0x224b84=_0x28c502[_0x573ac5(0x284)]['deepClone'](_0x18512b[_0x573ac5(0x31f)][0x0]),_0x172e3e=_0x28c502[_0x573ac5(0x284)]['deepClone'](_0x18512b[_0x573ac5(0x31f)][0x0]);for(let _0x47e9d1=_0x21842f[_0x573ac5(0x52c)]-0x1;_0x47e9d1>=0x0;_0x47e9d1--){const _0x225d6e={'id':_0x573ac5(0x2b0),'params':{'unitId':_0x21842f[_0x47e9d1][_0x573ac5(0x44b)],..._0x21842f[_0x47e9d1][_0x573ac5(0x13a)]}},_0x5da109={'id':_0x573ac5(0x2b0),'params':{'unitId':_0x21842f[_0x47e9d1][_0x573ac5(0x44b)],..._0x21842f[_0x47e9d1][_0x573ac5(0x322)]}},_0x4b9006=this['_transformService'][_0x573ac5(0x139)](_0x224b84,_0x225d6e,!0x1),_0x56856d=this[_0x573ac5(0x258)][_0x573ac5(0x139)](_0x172e3e,_0x5da109,!0x1);if(_0x50e560[_0x573ac5(0x3b4)](_0x4b9006))throw _0x4b9006[_0x573ac5(0x13c)];if(_0x50e560[_0x573ac5(0x3b4)](_0x56856d))throw _0x56856d[_0x573ac5(0x13c)];_0x583685['unshift']({..._0x21842f[_0x47e9d1],'undoState':_0x4b9006[_0x573ac5(0x4d1)]['params'],'redoState':_0x56856d[_0x573ac5(0x4d1)][_0x573ac5(0x41c)]}),_0x224b84=_0x4b9006[_0x573ac5(0x3f4)],_0x172e3e=_0x56856d[_0x573ac5(0x3f4)];}this[_0x573ac5(0xaa)]['setStateCache'](_0xa8ce2e,{'history':_0x42bef8,'collaboration':_0x583685});}};_0x1664c1=_0x84fe0a([_0xcf95ba(0x0,_0x28c502['Inject'](_0x28c502['Injector'])),_0xcf95ba(0x1,_0x50e560[_0x5d8d99(0x3d0)]),_0xcf95ba(0x2,_0x28c502['Inject'](_0x3d318b[_0x5d8d99(0x36e)]))],_0x1664c1);function _0x328fbb(_0x44a87e){const _0x1f1bc6=_0x5d8d99;let _0x5e3e8c='';for(const _0x3e9054 of _0x44a87e){const {startOffset:_0xb12214,endOffset:_0x4249ae,isActive:_0x4e3b53,rangeType:_0x3acff8,segmentId:_0x452a61,segmentPage:_0x22b255}=_0x3e9054;_0x5e3e8c[_0x1f1bc6(0x52c)]&&(_0x5e3e8c+=','),_0x5e3e8c+=_0xb12214+':'+_0x4249ae+':'+(_0x4e3b53?'1':'0')+':'+_0x3acff8+':'+_0x452a61+':'+_0x22b255;}return _0x5e3e8c;}function _0x4eed54(_0x3ba67d){const _0x55886a=_0x5d8d99,_0x437c9c=_0x3ba67d['split'](','),_0x3b162a=[];for(const _0x4e0b62 of _0x437c9c){const [_0x48d7a9,_0xa13b0b,_0x394a9d,_0x4ea10a,_0x44e4d7,_0x4e6fbe]=_0x4e0b62[_0x55886a(0x3a5)](':');_0x3b162a[_0x55886a(0x347)]({'startOffset':Number(_0x48d7a9),'endOffset':Number(_0xa13b0b),'collapsed':_0x48d7a9===_0xa13b0b,'isActive':_0x394a9d==='1','rangeType':_0x4ea10a===_0x28c502['DOC_RANGE_TYPE'][_0x55886a(0x3bb)]?_0x28c502[_0x55886a(0x292)][_0x55886a(0x3bb)]:_0x28c502[_0x55886a(0x292)][_0x55886a(0xc8)],'segmentId':typeof _0x44e4d7==_0x55886a(0x452)?String(_0x44e4d7):'','segmentPage':Number(_0x4e6fbe!=null?_0x4e6fbe:-0x1)});}return _0x3b162a[_0x55886a(0x28b)](_0x3915b4=>_0x3915b4[_0x55886a(0x18e)])||(_0x3b162a[0x0][_0x55886a(0x18e)]=!0x0),_0x3b162a;}class _0x18a3f7 extends _0x28c502[_0x5d8d99(0x156)]{constructor(){const _0x25dacf=_0x5d8d99;super(...arguments),_0x569acc(this,_0x25dacf(0x349),new _0x158390[(_0x25dacf(0x146))](null)),_0x569acc(this,'collabCursorState$',this['_collabCursorState$'][_0x25dacf(0x4ae)]());}[_0x5d8d99(0x177)](_0x33ef44){const _0xfe0ebc=_0x5d8d99,{unitID:_0x579f14,memberID:_0x2a0e2c,textRanges:_0xd0acf2}=_0x33ef44,_0x1e42f5=_0x328fbb(_0xd0acf2);if(_0x1e42f5==='')return;const _0x74ebe6={'unitID':_0x579f14,'memberID':_0x2a0e2c,'selection':_0x1e42f5};this['_collabCursorState$'][_0xfe0ebc(0xb4)](_0x74ebe6);}}var _0xeac7e8=Object[_0x5d8d99(0x48f)],_0x501069=Object['getOwnPropertyDescriptor'],_0x4b3e17=(_0x2823e5,_0x264c73,_0x5bdf1f,_0xce104f)=>{const _0x23cc13=_0x5d8d99;for(var _0x16875c=_0xce104f>0x1?void 0x0:_0xce104f?_0x501069(_0x264c73,_0x5bdf1f):_0x264c73,_0x2b040e=_0x2823e5[_0x23cc13(0x52c)]-0x1,_0x9711a1;_0x2b040e>=0x0;_0x2b040e--)(_0x9711a1=_0x2823e5[_0x2b040e])&&(_0x16875c=(_0xce104f?_0x9711a1(_0x264c73,_0x5bdf1f,_0x16875c):_0x9711a1(_0x16875c))||_0x16875c);return _0xce104f&&_0x16875c&&_0xeac7e8(_0x264c73,_0x5bdf1f,_0x16875c),_0x16875c;},_0x51798d=(_0x575590,_0x3af264)=>(_0xf58016,_0x46dad8)=>_0x3af264(_0xf58016,_0x46dad8,_0x575590);let _0x2b7e0e=class{constructor(_0x4d9998,_0x4d5369){this['_injector']=_0x4d9998,this['_transformService']=_0x4d5369;}[_0x5d8d99(0x1c3)](_0x1c0465){const _0x45d1a9=_0x5d8d99;var _0x243055;const _0x38fb49=this[_0x45d1a9(0x119)][_0x45d1a9(0x3a8)](_0x576070[_0x45d1a9(0x30b)]),_0x6fc16b=(_0x243055=_0x38fb49[_0x45d1a9(0x1d6)]())!=null?_0x243055:[];if(_0x6fc16b[_0x45d1a9(0x52c)]===0x0)return;const _0xcdf4d4=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1c0465['unitID'],'actions':null,'textRanges':_0x6fc16b}}],_0x5e38fc=this[_0x45d1a9(0x258)][_0x45d1a9(0x2c7)](_0x1c0465,_0xcdf4d4);if(!_0x50e560['isTransformMutationsWithChangesetSuccess'](_0x5e38fc))throw _0x5e38fc[_0x45d1a9(0x13c)];const _0x2692e0=_0x5e38fc[_0x45d1a9(0x4d1)][0x0][_0x45d1a9(0x41c)][_0x45d1a9(0x44d)];Array[_0x45d1a9(0x287)](_0x2692e0)&&_0x2692e0['length']&&_0x38fb49[_0x45d1a9(0x141)](_0x2692e0,!0x1);}};_0x2b7e0e=_0x4b3e17([_0x51798d(0x0,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x51798d(0x1,_0x50e560[_0x5d8d99(0x3d0)])],_0x2b7e0e);const _0x10b522=new Set([_0x256063[_0x5d8d99(0x245)]['id']]);function _0x2cee8a(_0x282110,_0x2f67c5,_0x35c229,_0x4b6343,_0x4a7cc9){const _0x3cc5fd=_0x5d8d99;var _0xbf0a39,_0x5c9947,_0xfd738e,_0x2dcff0;const _0x2e634f=[];for(const _0x178440 of _0x282110)if(_0x10b522[_0x3cc5fd(0xb0)](_0x178440['id'])){if(_0x2e634f[_0x3cc5fd(0x52c)]>0x0)break;_0x2e634f[_0x3cc5fd(0x347)](_0x178440);break;}else _0x2e634f[_0x3cc5fd(0x347)](_0x178440);const _0x423f4a=(_0x5c9947=(_0xbf0a39=_0x4a7cc9[_0x3cc5fd(0x3e8)]())==null?void 0x0:_0xbf0a39['userID'])!=null?_0x5c9947:'unknown',_0x5c21f9=(_0x2dcff0=(_0xfd738e=_0x4a7cc9[_0x3cc5fd(0x3e8)]())==null?void 0x0:_0xfd738e[_0x3cc5fd(0x1d1)])!=null?_0x2dcff0:_0x3cc5fd(0xab);return{'changeset':{'unitID':_0x2f67c5,'type':_0x50e560[_0x3cc5fd(0x428)](_0x35c229['getUnitType'](_0x2f67c5)),'baseRev':_0x4b6343[_0x3cc5fd(0x273)](_0x2f67c5),'revision':0x0,'userID':_0x423f4a,'memberID':_0x5c21f9,'mutations':_0x2e634f},'pendingMutations':_0x282110[_0x3cc5fd(0x4ac)](_0x2e634f[_0x3cc5fd(0x52c)])};}function _0xa4161d(_0x4ebca6,_0x24700b,_0x25f1cb,_0x54cf36,_0x2cb2ed){const _0x1a61d7=_0x5d8d99;var _0x1106f6,_0x3e4fb4,_0x4c1552,_0xc027cd;const _0x6edcd1=[_0x4ebca6[_0x1a61d7(0x3d5)]((_0x59fb9c,_0x3a3257)=>{const _0x584b6e=_0x1a61d7;var _0xcd0d96;const {id:_0x2ea92e}=_0x59fb9c,{id:_0x59d2e8,type:_0x53cc5d}=_0x3a3257,_0x5c9c53=(_0xcd0d96=_0x59fb9c['params'])!=null?_0xcd0d96:{'actions':null},_0x266aad=_0x3a3257['params'];if(_0x2ea92e&&_0x2ea92e!==_0x59d2e8)throw new Error(_0x584b6e(0x27b)+_0x2ea92e+'\x20-\x20'+_0x59d2e8+'.');return{..._0x59fb9c,'id':_0x59d2e8,'type':_0x53cc5d,'params':{'unitId':_0x266aad[_0x584b6e(0x44b)],'textRanges':_0x266aad[_0x584b6e(0x44d)],'actions':_0x28c502[_0x584b6e(0x30c)][_0x584b6e(0x2c3)](_0x5c9c53['actions'],_0x266aad[_0x584b6e(0x155)])}};},{})],_0x4e8df5=(_0x3e4fb4=(_0x1106f6=_0x2cb2ed[_0x1a61d7(0x3e8)]())==null?void 0x0:_0x1106f6[_0x1a61d7(0x130)])!=null?_0x3e4fb4:_0x1a61d7(0xab),_0x11544f=(_0xc027cd=(_0x4c1552=_0x2cb2ed[_0x1a61d7(0x3e8)]())==null?void 0x0:_0x4c1552[_0x1a61d7(0x1d1)])!=null?_0xc027cd:_0x1a61d7(0xab);return{'changeset':{'unitID':_0x24700b,'type':_0x50e560[_0x1a61d7(0x428)](_0x25f1cb[_0x1a61d7(0x52b)](_0x24700b)),'baseRev':_0x54cf36[_0x1a61d7(0x273)](_0x24700b),'revision':0x0,'userID':_0x4e8df5,'memberID':_0x11544f,'mutations':_0x6edcd1},'pendingMutations':[]};}function _0x537581(_0x5e2bfa,_0x4804d9){const _0x304b4e=_0x5d8d99,_0x4bd9b2=new _0x158390['ReplaySubject'](0x1);return setTimeout(()=>_0x4bd9b2['next'](_0x4804d9),_0x5e2bfa),_0x4bd9b2[_0x304b4e(0x4ae)]()[_0x304b4e(0x4fb)](_0x158390[_0x304b4e(0x375)](0x1));}const _0x3813a6={'id':_0x256063['EmptyMutation']['id'],'type':_0x28c502[_0x5d8d99(0x161)]['MUTATION'],'params':{}};var _0x50e375=Object[_0x5d8d99(0x48f)],_0x11058e=Object[_0x5d8d99(0x48b)],_0x5a9e65=(_0x11cf28,_0x491d0e,_0x163828,_0x45082a)=>{const _0x3d6df6=_0x5d8d99;for(var _0x2f1208=_0x45082a>0x1?void 0x0:_0x45082a?_0x11058e(_0x491d0e,_0x163828):_0x491d0e,_0x175ae2=_0x11cf28[_0x3d6df6(0x52c)]-0x1,_0x2ebd75;_0x175ae2>=0x0;_0x175ae2--)(_0x2ebd75=_0x11cf28[_0x175ae2])&&(_0x2f1208=(_0x45082a?_0x2ebd75(_0x491d0e,_0x163828,_0x2f1208):_0x2ebd75(_0x2f1208))||_0x2f1208);return _0x45082a&&_0x2f1208&&_0x50e375(_0x491d0e,_0x163828,_0x2f1208),_0x2f1208;},_0x1d10bb=(_0x3a09eb,_0x3772e1)=>(_0x32ea60,_0x55094f)=>_0x3772e1(_0x32ea60,_0x55094f,_0x3a09eb),_0xda01df=(_0x2a4b56=>(_0x2a4b56[_0x5d8d99(0xe3)]=_0x5d8d99(0x1c0),_0x2a4b56[_0x5d8d99(0x3f3)]=_0x5d8d99(0x1c2),_0x2a4b56['PENDING']='pending',_0x2a4b56[_0x5d8d99(0x290)]='awaiting',_0x2a4b56[_0x5d8d99(0x522)]=_0x5d8d99(0x1c5),_0x2a4b56[_0x5d8d99(0xcb)]=_0x5d8d99(0x477),_0x2a4b56[_0x5d8d99(0x3e2)]=_0x5d8d99(0x1a9),_0x2a4b56[_0x5d8d99(0x515)]=_0x5d8d99(0x90),_0x2a4b56))(_0xda01df||{});const _0x4aef09=0xea60;class _0x4c906e{constructor(_0x4c4446,_0x5eef44,_0x533aec,_0x36a075,_0x201159,_0x1366a1,_0x46f253,_0x5b51ef,_0x369ade){const _0x10d6ca=_0x5d8d99;_0x569acc(this,'_awaitingChangeset',null),_0x569acc(this,_0x10d6ca(0x164),[]),(this[_0x10d6ca(0xe5)]=_0x4c4446,this['type']=_0x5eef44,this[_0x10d6ca(0x27a)]=_0x201159,this[_0x10d6ca(0x3a0)]=_0x1366a1,this[_0x10d6ca(0x2e7)]=_0x46f253,this[_0x10d6ca(0x12f)]=_0x5b51ef,this['_localCacheService']=_0x369ade,this[_0x10d6ca(0x93)]=_0x533aec,this[_0x10d6ca(0x164)]=_0x36a075);}[_0x5d8d99(0xff)](_0x42ff42){const _0x547928=_0x5d8d99,_0x3ab429=this['_revisionService'][_0x547928(0x273)](this[_0x547928(0xe5)]);return _0x42ff42[_0x547928(0x470)]>_0x3ab429+0x1?(this[_0x547928(0x27a)][_0x547928(0x532)]({'from':_0x3ab429,'to':_0x42ff42['revision']-0x1}),!0x0):!0x1;}[_0x5d8d99(0x19b)](_0x12343e){const _0x3ee1df=_0x5d8d99;this['_undoRedoService'][_0x3ee1df(0x511)](this['unitID'],_0x12343e);}['_transformSelections'](_0x1ab310){const _0x14db6f=_0x5d8d99;var _0x54cb6d,_0x4e8bfe;(_0x4e8bfe=(_0x54cb6d=this[_0x14db6f(0x27a)])[_0x14db6f(0x338)])==null||_0x4e8bfe[_0x14db6f(0xcf)](_0x54cb6d,_0x1ab310);}[_0x5d8d99(0x17d)](_0x43ccc1){const _0x58e565=_0x5d8d99;var _0x42222d,_0x3c5f6a;return(_0x3c5f6a=(_0x42222d=this[_0x58e565(0x27a)])[_0x58e565(0x1c8)])==null?void 0x0:_0x3c5f6a[_0x58e565(0xcf)](_0x42222d,_0x43ccc1);}['_transformStateCache'](_0x2fba75){const _0x48384b=_0x5d8d99;var _0xd59be9,_0x27c56f;return(_0x27c56f=(_0xd59be9=this[_0x48384b(0x27a)])[_0x48384b(0x9a)])==null?void 0x0:_0x27c56f[_0x48384b(0xcf)](_0xd59be9,_0x2fba75);}[_0x5d8d99(0x4ea)](_0x3e6d1d){const _0x5c0d2e=_0x5d8d99;var _0x20b86c,_0x66c87d,_0x970559;return(_0x970559=(_0x66c87d=(_0x20b86c=this[_0x5c0d2e(0x27a)])[_0x5c0d2e(0x1ae)])==null?void 0x0:_0x66c87d[_0x5c0d2e(0xcf)](_0x20b86c,_0x3e6d1d))!=null?_0x970559:_0x3e6d1d;}[_0x5d8d99(0x185)](_0x337ba6){const _0x131767=_0x5d8d99;var _0x4d45f7,_0x30ac69,_0x242774;return(_0x242774=(_0x30ac69=(_0x4d45f7=this['_handler'])[_0x131767(0x4c5)])==null?void 0x0:_0x30ac69['call'](_0x4d45f7,_0x337ba6))!=null?_0x242774:_0x337ba6;}[_0x5d8d99(0x4fc)](_0xd5400c){const _0x4c1a07=_0x5d8d99;var _0x3b96a8,_0x16ad32;if(this[_0x4c1a07(0x36c)]===_0x5b91b5['UNIVER_DOC']){const {unitID:_0x91e3f3,mutations:_0x40b50c,memberID:_0x121e22}=_0xd5400c,_0x17e662=_0x40b50c[0x0]['params'][_0x4c1a07(0x44d)];Array[_0x4c1a07(0x287)](_0x17e662)&&_0x17e662[_0x4c1a07(0x52c)]>0x0&&((_0x16ad32=(_0x3b96a8=this[_0x4c1a07(0x27a)])['onSyncEditingCollabCursor'])==null||_0x16ad32[_0x4c1a07(0xcf)](_0x3b96a8,{'unitID':_0x91e3f3,'memberID':_0x121e22,'textRanges':_0x17e662}));}}[_0x5d8d99(0x3c2)](){const _0x44422a=_0x5d8d99;this[_0x44422a(0x474)][_0x44422a(0x45d)](this[_0x44422a(0xe5)],this['type'],this[_0x44422a(0x93)],this[_0x44422a(0x164)]);}[_0x5d8d99(0x484)](){const _0x1cc0f8=_0x5d8d99;return this[_0x1cc0f8(0x12f)][_0x1cc0f8(0x273)](this[_0x1cc0f8(0xe5)]);}[_0x5d8d99(0x247)](){const _0x3e15a6=_0x5d8d99;this['_revisionService']['incrementRevOfUnit'](this[_0x3e15a6(0xe5)]);}[_0x5d8d99(0x40e)](_0x368fc1){const _0x4e6379=_0x5d8d99;var _0x25c183;let _0x2877ce=this[_0x4e6379(0x4ea)](_0x368fc1);_0x2877ce=this[_0x4e6379(0x185)](_0x2877ce);const _0x591b16=_0x28c502[_0x4e6379(0x257)](_0x2877ce[_0x4e6379(0x31f)],this[_0x4e6379(0x3a0)],{'fromCollab':!0x0});if(!_0x591b16[_0x4e6379(0x392)])throw _0x591b16[_0x4e6379(0x13c)]instanceof Error?_0x591b16[_0x4e6379(0x13c)]:new Error((_0x25c183=_0x591b16[_0x4e6379(0x13c)])!=null?_0x25c183:'[CollaborationState]:\x20apply\x20error!');this[_0x4e6379(0x17d)](_0x2877ce),this['_transformStateCache'](_0x2877ce),this[_0x4e6379(0x19b)](_0x368fc1),this['_transformSelections'](_0x2877ce),this[_0x4e6379(0x4fc)](_0x2877ce),this[_0x4e6379(0x247)]();}}let _0x42f1ab=class extends _0x4c906e{constructor(_0x315170,_0x192a58,_0x5de4ea,_0x3c45c3,_0x554106,_0x1832a7,_0x5309f8,_0xd7af43,_0x19ca6a,_0x282be0){const _0x47e444=_0x5d8d99;super(_0x315170,_0x192a58,null,[],_0x5de4ea,_0xd7af43,_0x5309f8,_0x3c45c3,_0x554106),_0x569acc(this,_0x47e444(0xc7),_0x47e444(0x1c2)),(this[_0x47e444(0x119)]=_0x1832a7,this['_logService']=_0x19ca6a,this[_0x47e444(0x258)]=_0x282be0);}['appendMutation'](_0x4eb72){const _0x4a4fc4=_0x5d8d99,_0x5baa23=this[_0x4a4fc4(0x119)][_0x4a4fc4(0x13b)](_0x294e6a,this[_0x4a4fc4(0xe5)],this[_0x4a4fc4(0x36c)],[_0x4eb72],this[_0x4a4fc4(0x27a)]);return _0x5baa23[_0x4a4fc4(0x44a)](),_0x5baa23[_0x4a4fc4(0x3c2)](),_0x5baa23;}['onRemoteChangeset'](_0xb42bd6){const _0x14eca0=_0x5d8d99;if(this[_0x14eca0(0xff)](_0xb42bd6))return this[_0x14eca0(0x119)]['createInstance'](_0x309bd1,this[_0x14eca0(0xe5)],this[_0x14eca0(0x36c)],null,[],null,[_0xb42bd6],this[_0x14eca0(0x27a)]);try{const _0x634965=this[_0x14eca0(0x258)][_0x14eca0(0x2c7)](_0xb42bd6,[_0x3813a6]);if(_0x50e560[_0x14eca0(0x17e)](_0x634965)){const {c1Prime:_0x672f88}=_0x634965;return this[_0x14eca0(0x40e)](_0x672f88),this;}throw _0x634965[_0x14eca0(0x13c)];}catch(_0x5cf5ec){return this[_0x14eca0(0x414)][_0x14eca0(0x13c)](_0x5cf5ec),this['_onConflict'](!0x1);}}[_0x5d8d99(0x1bc)](_0x43b3af){const _0x41b432=_0x5d8d99;return this[_0x41b432(0x119)][_0x41b432(0x13b)](_0x4cb118,this['unitID'],this['type'],null,[],this[_0x41b432(0x27a)],_0x43b3af);}[_0x5d8d99(0x3f6)](){const _0x1c36a0=_0x5d8d99;throw new Error(_0x1c36a0(0x296));}['onRemoteRej'](){const _0xfb7fac=_0x5d8d99;throw new Error(_0xfb7fac(0xd5));}[_0x5d8d99(0x420)](){return this;}[_0x5d8d99(0x509)](){const _0x36d1d2=_0x5d8d99;return this[_0x36d1d2(0x119)]['createInstance'](_0x10b16d,this[_0x36d1d2(0xe5)],this[_0x36d1d2(0x36c)],null,[],this[_0x36d1d2(0x27a)]);}[_0x5d8d99(0x14a)](){return this;}['resend'](){const _0x4fd83e=_0x5d8d99;throw new Error(_0x4fd83e(0xd4));}['fetchMiss'](){const _0xf96378=_0x5d8d99,_0xd62062=this[_0xf96378(0x12f)][_0xf96378(0x273)](this['unitID']);return this[_0xf96378(0x27a)]['onMissingChangesets']({'from':_0xd62062,'to':0x0}),this[_0xf96378(0x119)]['createInstance'](_0x309bd1,this[_0xf96378(0xe5)],this[_0xf96378(0x36c)],null,[],null,[],this[_0xf96378(0x27a)]);}};_0x42f1ab=_0x5a9e65([_0x1d10bb(0x3,_0x28c502[_0x5d8d99(0x48a)](_0x50e560[_0x5d8d99(0x2cd)])),_0x1d10bb(0x4,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435[_0x5d8d99(0x92)])),_0x1d10bb(0x5,_0x28c502[_0x5d8d99(0x48a)](_0x28c502['Injector'])),_0x1d10bb(0x6,_0x28c502['IUndoRedoService']),_0x1d10bb(0x7,_0x28c502[_0x5d8d99(0x123)]),_0x1d10bb(0x8,_0x28c502[_0x5d8d99(0xad)]),_0x1d10bb(0x9,_0x50e560[_0x5d8d99(0x3d0)])],_0x42f1ab);let _0x294e6a=class extends _0x4c906e{constructor(_0x5e786a,_0x8561d6,_0x20295,_0x1a454e,_0x119d72,_0x42fa17,_0x14d55b,_0x1c7f6d,_0x10950f,_0x1b3508,_0x5aaeae,_0x3fa72c,_0x38ff58,_0x21f4ab){const _0x2aa36b=_0x5d8d99;super(_0x5e786a,_0x8561d6,null,_0x20295,_0x1a454e,_0x1b3508,_0x21f4ab,_0x42fa17,_0x14d55b),_0x569acc(this,_0x2aa36b(0xc7),_0x2aa36b(0x1cd)),_0x569acc(this,_0x2aa36b(0x1b9),null),_0x569acc(this,'_sendingTimer',null),(this[_0x2aa36b(0x119)]=_0x119d72,this[_0x2aa36b(0x2a5)]=_0x1c7f6d,this[_0x2aa36b(0x414)]=_0x10950f,this[_0x2aa36b(0x298)]=_0x5aaeae,this[_0x2aa36b(0x258)]=_0x3fa72c,this['_univerInstanceService']=_0x38ff58);}[_0x5d8d99(0x486)](_0x14371c){const _0x293a6d=_0x5d8d99;return this[_0x293a6d(0x164)][_0x293a6d(0x347)](_0x14371c),this[_0x293a6d(0x3c2)](),this;}[_0x5d8d99(0x34c)](_0x3b7138){const _0x5ca34a=_0x5d8d99;if(this[_0x5ca34a(0xff)](_0x3b7138))return this[_0x5ca34a(0x230)](),this['_injector'][_0x5ca34a(0x13b)](_0x309bd1,this[_0x5ca34a(0xe5)],this[_0x5ca34a(0x36c)],null,this[_0x5ca34a(0x164)],null,[_0x3b7138],this[_0x5ca34a(0x27a)]);try{const _0x2f9e45=this[_0x5ca34a(0x258)][_0x5ca34a(0x2c7)](_0x3b7138,this[_0x5ca34a(0x164)]);if(_0x50e560[_0x5ca34a(0x17e)](_0x2f9e45)){const {c1Prime:_0x5c8524,m2Prime:_0x4330fe}=_0x2f9e45;this[_0x5ca34a(0x40e)](_0x5c8524);const _0xf62fcc=this[_0x5ca34a(0x119)][_0x5ca34a(0x13b)](_0x294e6a,this['unitID'],this[_0x5ca34a(0x36c)],_0x4330fe,this[_0x5ca34a(0x27a)]);return this[_0x5ca34a(0x230)](),_0xf62fcc[_0x5ca34a(0x44a)](this[_0x5ca34a(0x1b9)]?Math[_0x5ca34a(0xa2)](0x0,new Date()[_0x5ca34a(0x22e)]()-this[_0x5ca34a(0x1b9)]):this['_getSendChangesetTimeout']()),_0xf62fcc;}throw _0x2f9e45['error'];}catch(_0x16deeb){return this[_0x5ca34a(0x414)][_0x5ca34a(0x13c)](_0x16deeb),this[_0x5ca34a(0x1bc)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x5d8d99(0x41a)](){const _0x577567=_0x5d8d99;throw new Error(_0x577567(0x47a));}[_0x5d8d99(0x420)](){return this;}[_0x5d8d99(0x509)](){const _0x2a33f5=_0x5d8d99;return this[_0x2a33f5(0x230)](),this['_injector'][_0x2a33f5(0x13b)](_0x10b16d,this['unitID'],this[_0x2a33f5(0x36c)],null,this[_0x2a33f5(0x164)],this[_0x2a33f5(0x27a)]);}['toggleOnline'](){return this;}[_0x5d8d99(0x44a)](_0x4621cb){const _0x5077b4=_0x5d8d99,_0x3e1146=_0x4621cb!=null?_0x4621cb:this[_0x5077b4(0x49a)]();this[_0x5077b4(0x1b9)]=new Date()['getTime'](),this['_sendingTimer']=window[_0x5077b4(0x2a1)](()=>{const _0x34af27=_0x5077b4;this[_0x34af27(0x230)]();let _0x5a5328=null;switch(this[_0x34af27(0x36c)]){case _0x5b91b5[_0x34af27(0x3de)]:{_0x5a5328=_0x2cee8a(this[_0x34af27(0x164)],this[_0x34af27(0xe5)],this[_0x34af27(0x14c)],this[_0x34af27(0x12f)],this[_0x34af27(0x2a5)]);break;}case _0x5b91b5['UNIVER_DOC']:{this[_0x34af27(0x164)][_0x34af27(0x443)](_0x51eed4=>_0x51eed4['id']===_0x576070[_0x34af27(0x4b0)]['id'])?_0x5a5328=_0xa4161d(this[_0x34af27(0x164)],this['unitID'],this[_0x34af27(0x14c)],this[_0x34af27(0x12f)],this[_0x34af27(0x2a5)]):_0x5a5328=_0x2cee8a(this['_pendingMutations'],this['unitID'],this[_0x34af27(0x14c)],this[_0x34af27(0x12f)],this[_0x34af27(0x2a5)]);break;}default:throw new Error(_0x34af27(0x3af)+this[_0x34af27(0x36c)]+'\x20in\x20_schedule.');}const {changeset:_0x5a25e5,pendingMutations:_0x2b6389}=_0x5a5328;this[_0x34af27(0x27a)][_0x34af27(0x221)](_0x5a25e5);const _0x18d3c2=_0x2b6389[_0x34af27(0x52c)]?this[_0x34af27(0x119)]['createInstance'](_0x118b30,this[_0x34af27(0xe5)],this['type'],_0x5a25e5,_0x2b6389,this['_handler'],void 0x0):this[_0x34af27(0x119)][_0x34af27(0x13b)](_0x2edb06,this[_0x34af27(0xe5)],this['type'],_0x5a25e5,this['_handler']);_0x18d3c2['_updateLocalCache'](),this[_0x34af27(0x27a)]['onStateChange'](this,_0x18d3c2);},_0x3e1146);}[_0x5d8d99(0x49a)](){const _0x13df2d=_0x5d8d99;var _0x26aefb;const _0x203549=this[_0x13df2d(0x298)][_0x13df2d(0x2ea)](_0x5b0249);return(_0x26aefb=_0x203549==null?void 0x0:_0x203549[_0x13df2d(0x366)])!=null?_0x26aefb:0x7d0;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5d8d99(0x230)](){const _0x2005b5=_0x5d8d99;this['_sendingTimer']!=null&&(clearTimeout(this[_0x2005b5(0x24a)]),this['_sendingTimer']=null);}[_0x5d8d99(0x1bc)](_0x516e1c){const _0x4f3b68=_0x5d8d99;return this['_clearScheduledTask'](),this[_0x4f3b68(0x119)]['createInstance'](_0x4cb118,this[_0x4f3b68(0xe5)],this['type'],null,this[_0x4f3b68(0x164)],this[_0x4f3b68(0x27a)],_0x516e1c);}};_0x294e6a=_0x5a9e65([_0x1d10bb(0x4,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x1d10bb(0x5,_0x28c502['Inject'](_0x50e560[_0x5d8d99(0x2cd)])),_0x1d10bb(0x6,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435[_0x5d8d99(0x92)])),_0x1d10bb(0x7,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435['MemberService'])),_0x1d10bb(0x8,_0x28c502[_0x5d8d99(0xad)]),_0x1d10bb(0x9,_0x28c502['ICommandService']),_0x1d10bb(0xa,_0x28c502[_0x5d8d99(0x422)]),_0x1d10bb(0xb,_0x50e560[_0x5d8d99(0x3d0)]),_0x1d10bb(0xc,_0x28c502[_0x5d8d99(0x380)]),_0x1d10bb(0xd,_0x28c502[_0x5d8d99(0x459)])],_0x294e6a);let _0x2edb06=class extends _0x4c906e{constructor(_0x285803,_0x16a9e1,_0x579c8a,_0x47d646,_0x1ce4ec,_0x2c8c36,_0x200b25,_0x573d1c,_0xdc5fc0,_0x1a7e04,_0xc15930){const _0x13c16b=_0x5d8d99;super(_0x285803,_0x16a9e1,_0x579c8a,[],_0x47d646,_0x573d1c,_0xc15930,_0x2c8c36,_0x200b25),_0x569acc(this,_0x13c16b(0xc7),_0x13c16b(0x445)),_0x569acc(this,_0x13c16b(0x4b2),0x0),_0x569acc(this,_0x13c16b(0x33a)),_0x569acc(this,_0x13c16b(0x20d)),(this[_0x13c16b(0x119)]=_0x1ce4ec,this['_logService']=_0xdc5fc0,this[_0x13c16b(0x258)]=_0x1a7e04);}[_0x5d8d99(0x486)](_0xc3f6bc){const _0x535983=_0x5d8d99;this['_clearScheduledTask']();const _0x4b6c64=this['_injector'][_0x535983(0x13b)](_0x118b30,this[_0x535983(0xe5)],this[_0x535983(0x36c)],this[_0x535983(0x93)],[_0xc3f6bc],this[_0x535983(0x27a)],this['_resendTimer']);return _0x4b6c64[_0x535983(0x3c2)](),_0x4b6c64;}[_0x5d8d99(0x34c)](_0x2cf5c){const _0x3f7d70=_0x5d8d99;if(this[_0x3f7d70(0xff)](_0x2cf5c))return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x309bd1,this[_0x3f7d70(0xe5)],this[_0x3f7d70(0x36c)],this[_0x3f7d70(0x93)],[],null,[_0x2cf5c],this['_handler']);try{const _0x4229df=this[_0x3f7d70(0x258)]['transformChangesets']([_0x2cf5c],[this[_0x3f7d70(0x93)]],!0x1);if(_0x50e560[_0x3f7d70(0x431)](_0x4229df)){const {c1Prime:_0xc07e5f,c2Prime:_0x37049a}=_0x4229df;this[_0x3f7d70(0x40e)](_0xc07e5f[0x0]),_0x37049a[0x0][_0x3f7d70(0x3b1)]=this[_0x3f7d70(0x484)](),this[_0x3f7d70(0x230)]();const _0x2841df=this['_injector']['createInstance'](_0x2edb06,this[_0x3f7d70(0xe5)],this[_0x3f7d70(0x36c)],_0x37049a[0x0],this[_0x3f7d70(0x27a)]);return _0x2841df[_0x3f7d70(0x3c2)](),_0x2841df;}return this[_0x3f7d70(0x1bc)](!0x1);}catch(_0x2cdc10){return this[_0x3f7d70(0x414)][_0x3f7d70(0x13c)](_0x2cdc10),this[_0x3f7d70(0x1bc)](!0x1);}}[_0x5d8d99(0x3f6)](_0x3830c5){const _0xa6c79d=_0x5d8d99;this[_0xa6c79d(0x230)]();const _0x397d62=this[_0xa6c79d(0x12f)][_0xa6c79d(0x273)](this[_0xa6c79d(0xe5)]);if(_0x3830c5[_0xa6c79d(0x470)]<_0x397d62-0x1)return this;if(this['_checkMissing'](_0x3830c5))return this['_injector']['createInstance'](_0x309bd1,this[_0xa6c79d(0xe5)],this['type'],null,[],this[_0xa6c79d(0x93)],[],this[_0xa6c79d(0x27a)]);this['_incrementRevisionNumber']();const _0x45e330=this[_0xa6c79d(0x119)]['createInstance'](_0x42f1ab,this[_0xa6c79d(0xe5)],this[_0xa6c79d(0x36c)],this[_0xa6c79d(0x27a)]);return _0x45e330[_0xa6c79d(0x3c2)](),_0x45e330;}[_0x5d8d99(0x41a)](_0x1aeb2d){const _0x1a46d2=_0x5d8d99;return this[_0x1a46d2(0x1bc)](!!(_0x1aeb2d!=null&&_0x1aeb2d[_0x1a46d2(0x312)]));}[_0x5d8d99(0x420)](_0x3cd8da){const _0x25e806=_0x5d8d99;return this[_0x25e806(0x4b2)]>_0x4aef09?this[_0x25e806(0x509)]():(this[_0x25e806(0x33a)]=_0x537581(this[_0x25e806(0x4b2)],{'timeout':this[_0x25e806(0x4b2)],'reqId':_0x3cd8da['reqId']}),this[_0x25e806(0x20d)]=this['_resendTimer'][_0x25e806(0x3d2)](({reqId:_0x3814e7,timeout:_0x5bf82f})=>{const _0x20031d=_0x25e806;this[_0x20031d(0x476)](_0x3814e7,_0x5bf82f);}),this);}['toggleOffline'](){const _0x41726e=_0x5d8d99;return this[_0x41726e(0x230)](),this[_0x41726e(0x119)][_0x41726e(0x13b)](_0x10b16d,this[_0x41726e(0xe5)],this[_0x41726e(0x36c)],this[_0x41726e(0x93)],[],this[_0x41726e(0x27a)]);}[_0x5d8d99(0x14a)](){return this;}[_0x5d8d99(0x3f7)](){const _0x52c8e6=_0x5d8d99;this[_0x52c8e6(0x27a)]['onSendChangeset'](this[_0x52c8e6(0x93)]);}['_onConflict'](_0x57fc5a){const _0x41926e=_0x5d8d99;return this[_0x41926e(0x230)](),this[_0x41926e(0x119)][_0x41926e(0x13b)](_0x4cb118,this[_0x41926e(0xe5)],this[_0x41926e(0x36c)],this[_0x41926e(0x93)],[],this[_0x41926e(0x27a)],_0x57fc5a);}['_resendWithTimeout'](_0x510863,_0x4ed4cc){const _0x3150e4=_0x5d8d99;var _0x5d0ed4;_0x510863===((_0x5d0ed4=this[_0x3150e4(0x93)])==null?void 0x0:_0x5d0ed4[_0x3150e4(0x1d8)])&&(this[_0x3150e4(0x3f7)](),this['_resendTimeout']=_0x4ed4cc===0x0?0x3e8:_0x4ed4cc*0x2);}['_clearScheduledTask'](){const _0x4665cd=_0x5d8d99;var _0x17ec67;(_0x17ec67=this[_0x4665cd(0x20d)])==null||_0x17ec67[_0x4665cd(0x36b)](),this['_resendTimeout']=0x0;}};_0x2edb06=_0x5a9e65([_0x1d10bb(0x4,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x1d10bb(0x5,_0x28c502[_0x5d8d99(0x48a)](_0x50e560[_0x5d8d99(0x2cd)])),_0x1d10bb(0x6,_0x28c502['Inject'](_0x4c1435[_0x5d8d99(0x92)])),_0x1d10bb(0x7,_0x28c502[_0x5d8d99(0x123)]),_0x1d10bb(0x8,_0x28c502[_0x5d8d99(0xad)]),_0x1d10bb(0x9,_0x50e560[_0x5d8d99(0x3d0)]),_0x1d10bb(0xa,_0x28c502[_0x5d8d99(0x459)])],_0x2edb06);let _0x118b30=class extends _0x4c906e{constructor(_0x574175,_0x18bb66,_0x1090fd,_0x1b30f8,_0x3f2d1d,_0x5e1fea,_0x515d4c,_0x24fe0d,_0x521b2f,_0x430bb7,_0x380ea6,_0x45e437,_0x16d051){const _0x22dbb1=_0x5d8d99;super(_0x574175,_0x18bb66,_0x1090fd,_0x1b30f8,_0x3f2d1d,_0x430bb7,_0x16d051,_0x24fe0d,_0x521b2f),_0x569acc(this,_0x22dbb1(0xc7),_0x22dbb1(0x1c5)),_0x569acc(this,_0x22dbb1(0x4b2),0x0),_0x569acc(this,'_resendTimer'),_0x569acc(this,_0x22dbb1(0x20d)),(this[_0x22dbb1(0x119)]=_0x515d4c,this[_0x22dbb1(0x414)]=_0x380ea6,this[_0x22dbb1(0x258)]=_0x45e437,_0x5e1fea&&(this[_0x22dbb1(0x33a)]=_0x5e1fea,this[_0x22dbb1(0x20d)]=this[_0x22dbb1(0x33a)]['subscribe'](({reqId:_0x56c112,timeout:_0x4a300b})=>{const _0x446a74=_0x22dbb1;this[_0x446a74(0x476)](_0x56c112,_0x4a300b);})));}[_0x5d8d99(0x486)](_0x5598fe){const _0x46911b=_0x5d8d99;return this[_0x46911b(0x164)]['push'](_0x5598fe),this;}[_0x5d8d99(0x34c)](_0x4c8997){const _0x366db3=_0x5d8d99;if(this[_0x366db3(0xff)](_0x4c8997))return this[_0x366db3(0x230)](),this['_injector']['createInstance'](_0x309bd1,this[_0x366db3(0xe5)],this[_0x366db3(0x36c)],this[_0x366db3(0x93)],this[_0x366db3(0x164)],null,[_0x4c8997],this['_handler']);try{const _0x28b519=this[_0x366db3(0x258)]['transformChangesets']([_0x4c8997],[this['_awaitingChangeset']],!0x1);if(_0x50e560[_0x366db3(0x431)](_0x28b519)){const {c1Prime:_0x39472e,c2Prime:_0x21ac35}=_0x28b519,_0x29e146=this['_transformService'][_0x366db3(0x2c7)](_0x39472e[0x0],this[_0x366db3(0x164)]);if(_0x50e560[_0x366db3(0x17e)](_0x29e146)){const {c1Prime:_0x338d59,m2Prime:_0x2d4b6a}=_0x29e146;return this[_0x366db3(0x40e)](_0x338d59),_0x21ac35[0x0][_0x366db3(0x3b1)]=this[_0x366db3(0x484)](),this[_0x366db3(0x230)](),this[_0x366db3(0x119)]['createInstance'](_0x118b30,this[_0x366db3(0xe5)],this[_0x366db3(0x36c)],_0x21ac35[0x0],_0x2d4b6a,this[_0x366db3(0x27a)],void 0x0);}throw _0x29e146[_0x366db3(0x13c)];}throw _0x28b519[_0x366db3(0x13c)];}catch(_0x3ec103){return this[_0x366db3(0x414)][_0x366db3(0x13c)](_0x3ec103),this[_0x366db3(0x1bc)](!0x1);}}[_0x5d8d99(0x3f6)](_0xdb41b2){const _0x1cb597=_0x5d8d99;if(this[_0x1cb597(0x230)](),this['_checkMissing'](_0xdb41b2))return this['_injector'][_0x1cb597(0x13b)](_0x309bd1,this['unitID'],this[_0x1cb597(0x36c)],null,this[_0x1cb597(0x164)],this[_0x1cb597(0x93)],[],this[_0x1cb597(0x27a)]);this['_incrementRevisionNumber']();const _0x515308=this[_0x1cb597(0x119)][_0x1cb597(0x13b)](_0x294e6a,this['unitID'],this[_0x1cb597(0x36c)],this[_0x1cb597(0x164)],this['_handler']);return _0x515308[_0x1cb597(0x44a)](),_0x515308[_0x1cb597(0x3c2)](),_0x515308;}[_0x5d8d99(0x41a)](_0x1547cf){const _0x3da706=_0x5d8d99;return this[_0x3da706(0x1bc)](!!(_0x1547cf!=null&&_0x1547cf[_0x3da706(0x312)]));}[_0x5d8d99(0x420)](_0x29cf4f){const _0xf97d95=_0x5d8d99;return this[_0xf97d95(0x4b2)]>_0x4aef09?this['toggleOffline']():(this[_0xf97d95(0x33a)]=_0x537581(this[_0xf97d95(0x4b2)],{'timeout':this['_resendTimeout'],'reqId':_0x29cf4f['reqId']}),this[_0xf97d95(0x20d)]=this[_0xf97d95(0x33a)][_0xf97d95(0x3d2)](({reqId:_0x99c29c,timeout:_0x27fc93})=>{const _0x4aefd6=_0xf97d95;this[_0x4aefd6(0x476)](_0x99c29c,_0x27fc93);}),this);}[_0x5d8d99(0x509)](){const _0x34d071=_0x5d8d99;return this[_0x34d071(0x230)](),this[_0x34d071(0x119)]['createInstance'](_0x10b16d,this[_0x34d071(0xe5)],this[_0x34d071(0x36c)],this[_0x34d071(0x93)],this[_0x34d071(0x164)],this[_0x34d071(0x27a)]);}[_0x5d8d99(0x14a)](){return this;}['resend'](){const _0x407db2=_0x5d8d99;this['_handler'][_0x407db2(0x221)](this[_0x407db2(0x93)]);}[_0x5d8d99(0x1bc)](_0xaa1e5d){const _0x1b77d5=_0x5d8d99;return this[_0x1b77d5(0x230)](),this[_0x1b77d5(0x119)][_0x1b77d5(0x13b)](_0x4cb118,this[_0x1b77d5(0xe5)],this[_0x1b77d5(0x36c)],null,this[_0x1b77d5(0x164)],this['_handler'],_0xaa1e5d);}[_0x5d8d99(0x476)](_0x2d7c28,_0x24a2f6){const _0xf56014=_0x5d8d99;var _0x452e42;_0x2d7c28===((_0x452e42=this[_0xf56014(0x93)])==null?void 0x0:_0x452e42[_0xf56014(0x1d8)])&&(this[_0xf56014(0x3f7)](),this[_0xf56014(0x4b2)]=_0x24a2f6===0x0?0x3e8:_0x24a2f6*0x2);}['_clearScheduledTask'](){const _0x4113a6=_0x5d8d99;var _0xb6824a;(_0xb6824a=this['_sender'])==null||_0xb6824a[_0x4113a6(0x36b)](),this[_0x4113a6(0x4b2)]=0x0;}};_0x118b30=_0x5a9e65([_0x1d10bb(0x6,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x1d10bb(0x7,_0x28c502[_0x5d8d99(0x48a)](_0x50e560['RevisionService'])),_0x1d10bb(0x8,_0x28c502['Inject'](_0x4c1435[_0x5d8d99(0x92)])),_0x1d10bb(0x9,_0x28c502['ICommandService']),_0x1d10bb(0xa,_0x28c502['ILogService']),_0x1d10bb(0xb,_0x50e560['ITransformService']),_0x1d10bb(0xc,_0x28c502[_0x5d8d99(0x459)])],_0x118b30);let _0x4cb118=class extends _0x4c906e{constructor(_0x4b2141,_0x49e439,_0x196ab6,_0x59e006,_0xe9454a,_0x220de0=!0x1,_0x1db253,_0x2104ea,_0x21be1c,_0x11636e,_0x474062,_0x253d4f,_0x1d1bf4){const _0x35e9cf=_0x5d8d99;super(_0x4b2141,_0x49e439,_0x196ab6,_0x59e006,_0xe9454a,_0x2104ea,_0x21be1c,_0x474062,_0x11636e),_0x569acc(this,_0x35e9cf(0xc7),_0x35e9cf(0x1a9)),(this[_0x35e9cf(0x348)]=_0x220de0,this[_0x35e9cf(0x9c)]=_0x1db253,this[_0x35e9cf(0xdc)]=_0x253d4f,this['_notificationService']=_0x1d1bf4,this[_0x35e9cf(0x2be)](),this[_0x35e9cf(0x26a)](),this[_0x35e9cf(0x104)]());}[_0x5d8d99(0x486)](){return this;}['onRemoteChangeset'](){return this;}[_0x5d8d99(0x3f6)](){return this;}[_0x5d8d99(0x41a)](){return this;}[_0x5d8d99(0x420)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x5d8d99(0x3f7)](){const _0x435cb7=_0x5d8d99;throw new Error(_0x435cb7(0x140));}['_clearLocalCache'](){const _0x305d54=_0x5d8d99;this[_0x305d54(0x474)][_0x305d54(0x45d)](this[_0x305d54(0xe5)],this[_0x305d54(0x36c)],null,[]);}[_0x5d8d99(0x2be)](){const _0x197ca3=_0x5d8d99;this[_0x197ca3(0x348)]?this[_0x197ca3(0x407)][_0x197ca3(0x3ef)]({'title':this['_localeService']['t'](_0x197ca3(0x3c7)),'content':this['_localeService']['t']('permission.content'),'type':_0x197ca3(0x13c),'duration':0x0}):this[_0x197ca3(0x407)][_0x197ca3(0x3ef)]({'title':this[_0x197ca3(0xdc)]['t'](_0x197ca3(0x1d3)),'content':this[_0x197ca3(0xdc)]['t'](_0x197ca3(0x2ba)),'type':_0x197ca3(0x13c),'duration':0x0});}[_0x5d8d99(0x104)](){const _0xb6db30=_0x5d8d99;this['_permissionService']['updatePermissionPoint'](new _0x256063[(_0xb6db30(0x262))](this[_0xb6db30(0xe5)])['id'],!0x1);}};_0x4cb118=_0x5a9e65([_0x1d10bb(0x6,_0x28c502['Inject'](_0x28c502[_0x5d8d99(0xd3)])),_0x1d10bb(0x7,_0x28c502['ICommandService']),_0x1d10bb(0x8,_0x28c502['IUndoRedoService']),_0x1d10bb(0x9,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435['LocalCacheService'])),_0x1d10bb(0xa,_0x28c502['Inject'](_0x50e560[_0x5d8d99(0x2cd)])),_0x1d10bb(0xb,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x469)])),_0x1d10bb(0xc,_0x28a60c[_0x5d8d99(0x28c)])],_0x4cb118);let _0x10b16d=class extends _0x4c906e{constructor(_0x2d5c6f,_0x1baa20,_0x16a2f2,_0x3a44d7,_0x223a0d,_0x3f0cb1,_0x4a318e,_0x40a270,_0x1431cc,_0x5e9fa3){const _0x457495=_0x5d8d99;super(_0x2d5c6f,_0x1baa20,_0x16a2f2,_0x3a44d7,_0x223a0d,_0x1431cc,_0x5e9fa3,_0x4a318e,_0x40a270),_0x569acc(this,_0x457495(0xc7),_0x457495(0x90)),this[_0x457495(0x119)]=_0x3f0cb1;}[_0x5d8d99(0x486)](_0x3a7bea){const _0x291f08=_0x5d8d99;return this[_0x291f08(0x164)]['push'](_0x3a7bea),this[_0x291f08(0x3c2)](),this;}[_0x5d8d99(0x34c)](_0x30b8fe){const _0x31fadc=_0x5d8d99;throw new Error(_0x31fadc(0x4c8));}['onRemoteAck'](){const _0x3192e7=_0x5d8d99;throw new Error(_0x3192e7(0x238));}[_0x5d8d99(0x41a)](){const _0x2ce523=_0x5d8d99;throw new Error(_0x2ce523(0xda));}[_0x5d8d99(0x420)](){return this;}[_0x5d8d99(0x509)](){return this;}[_0x5d8d99(0x14a)](){const _0x393ebf=_0x5d8d99,{_injector:_0x18988c,_pendingMutations:_0x5b7e9c,_awaitingChangeset:_0x5f011f,unitID:_0x4e4fe7,_handler:_0x493267,type:_0x3dbe50}=this,_0x6cba25=_0x2a63c6(_0x18988c,_0x4e4fe7,_0x3dbe50,_0x5f011f,_0x5b7e9c,_0x493267);return _0x6cba25 instanceof _0x294e6a?_0x6cba25[_0x393ebf(0x44a)]():(_0x6cba25 instanceof _0x118b30||_0x6cba25 instanceof _0x2edb06)&&_0x6cba25['resend'](),_0x6cba25;}['resend'](){const _0x339ec0=_0x5d8d99;throw new Error(_0x339ec0(0x2e1));}};_0x10b16d=_0x5a9e65([_0x1d10bb(0x5,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x1d10bb(0x6,_0x28c502[_0x5d8d99(0x48a)](_0x50e560['RevisionService'])),_0x1d10bb(0x7,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435[_0x5d8d99(0x92)])),_0x1d10bb(0x8,_0x28c502[_0x5d8d99(0x123)]),_0x1d10bb(0x9,_0x28c502[_0x5d8d99(0x459)])],_0x10b16d);let _0x309bd1=class extends _0x4c906e{constructor(_0x845b6a,_0x1bd884,_0x479653,_0x1fe1f8,_0x31eea0,_0x17202e,_0x127f8c,_0x2b5e07,_0x4de3d1,_0x1dfdd0,_0x19d793,_0x1a108a,_0x2a525d,_0xfadb0e){const _0x3028ae=_0x5d8d99;super(_0x845b6a,_0x1bd884,_0x479653,_0x1fe1f8,_0x127f8c,_0x1a108a,_0x2a525d,_0x4de3d1,_0x1dfdd0),_0x569acc(this,_0x3028ae(0xc7),'fetch_missing'),(this[_0x3028ae(0x4bc)]=_0x31eea0,this['_queuedRemoteChangesets']=_0x17202e,this['_injector']=_0x2b5e07,this['_logService']=_0x19d793,this[_0x3028ae(0x258)]=_0xfadb0e);}[_0x5d8d99(0x463)](_0x1492c8){const _0xbbce8=_0x5d8d99;try{const _0x58ceda=[..._0x1492c8,...this[_0xbbce8(0x483)]],_0x606436=[this[_0xbbce8(0x93)]||this[_0xbbce8(0x4bc)]][_0xbbce8(0x1ea)](_0x60bef0=>!!_0x60bef0);let _0xc268c4,_0x20782d;if(_0x606436[_0xbbce8(0x52c)]){const _0x392451=this[_0xbbce8(0x258)][_0xbbce8(0xce)](_0x58ceda,_0x606436,!0x1);if(!_0x50e560[_0xbbce8(0x431)](_0x392451))throw _0x392451['error'];_0xc268c4=_0x392451['c1Prime'],_0x20782d=_0x392451['c2Prime'];}else _0xc268c4=_0x58ceda,_0x20782d=[];let _0x563499=this[_0xbbce8(0x164)];_0xc268c4[_0xbbce8(0x359)](_0x3ee1a7=>{const _0x53750c=_0xbbce8;let _0x4ce987;if(_0x563499[_0x53750c(0x52c)]){const _0x26f4cf=this['_transformService'][_0x53750c(0x2c7)](_0x3ee1a7,_0x563499);if(!_0x50e560[_0x53750c(0x17e)](_0x26f4cf))throw _0x26f4cf[_0x53750c(0x13c)];_0x4ce987=_0x26f4cf[_0x53750c(0x189)],_0x563499=_0x26f4cf[_0x53750c(0x4d1)];}else _0x4ce987=_0x3ee1a7;this[_0x53750c(0x40e)](_0x4ce987);}),this[_0xbbce8(0x4bc)]&&this[_0xbbce8(0x247)](),this[_0xbbce8(0x93)]&&_0x20782d['length']&&(_0x20782d[0x0]['baseRev']=this[_0xbbce8(0x484)]());let _0x421830;if(this[_0xbbce8(0x93)]&&_0x563499['length']!==0x0)_0x421830=this[_0xbbce8(0x119)][_0xbbce8(0x13b)](_0x118b30,this[_0xbbce8(0xe5)],this[_0xbbce8(0x36c)],_0x20782d[0x0],_0x563499,this['_handler'],void 0x0);else{if(this[_0xbbce8(0x93)]&&_0x563499[_0xbbce8(0x52c)]===0x0)_0x20782d[0x0]['baseRev']=this['_getCurrentRevision'](),_0x421830=this[_0xbbce8(0x119)][_0xbbce8(0x13b)](_0x2edb06,this[_0xbbce8(0xe5)],this[_0xbbce8(0x36c)],_0x20782d[0x0],this['_handler']);else{if(_0x563499[_0xbbce8(0x52c)]!==0x0){const _0x568404=this[_0xbbce8(0x119)][_0xbbce8(0x13b)](_0x294e6a,this['unitID'],this[_0xbbce8(0x36c)],_0x563499,this[_0xbbce8(0x27a)]);_0x568404['_schedule'](),_0x421830=_0x568404;}else _0x421830=this['_injector'][_0xbbce8(0x13b)](_0x42f1ab,this[_0xbbce8(0xe5)],this[_0xbbce8(0x36c)],this[_0xbbce8(0x27a)]);}}return _0x421830[_0xbbce8(0x3c2)](),_0x421830;}catch(_0x51a78b){return this[_0xbbce8(0x414)][_0xbbce8(0x13c)](_0xbbce8(0x373),'failed\x20to\x20apply\x20missed\x20changesets!',_0x51a78b),this['_injector'][_0xbbce8(0x13b)](_0x4cb118,this[_0xbbce8(0xe5)],this[_0xbbce8(0x36c)],this['_awaitingChangeset'],this[_0xbbce8(0x164)],this[_0xbbce8(0x27a)],!0x1);}}[_0x5d8d99(0x3f7)](){const _0x5bf5a4=_0x5d8d99;throw new Error(_0x5bf5a4(0x220));}[_0x5d8d99(0x486)](_0x343e75){const _0x2caa25=_0x5d8d99;return this[_0x2caa25(0x164)][_0x2caa25(0x347)](_0x343e75),this;}[_0x5d8d99(0x34c)](_0x57a478){const _0x4743cf=_0x5d8d99;return this['_queuedRemoteChangesets'][_0x4743cf(0x347)](_0x57a478),this;}['onRemoteAck'](_0x49e394){const _0xe61efa=_0x5d8d99;if(this[_0xe61efa(0x93)])return this[_0xe61efa(0x4bc)]=this[_0xe61efa(0x93)],this[_0xe61efa(0x93)]=null,this;throw new Error(_0xe61efa(0x370));}['onRemoteRej'](_0x4adae2){const _0x3548ed=_0x5d8d99;return this[_0x3548ed(0x1bc)](!!(_0x4adae2!=null&&_0x4adae2[_0x3548ed(0x312)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x51b6e0=_0x5d8d99;return this['_injector']['createInstance'](_0x10b16d,this[_0x51b6e0(0xe5)],this[_0x51b6e0(0x36c)],this['_awaitingChangeset'],this[_0x51b6e0(0x164)],this[_0x51b6e0(0x27a)]);}['toggleOnline'](){return this;}[_0x5d8d99(0x1bc)](_0x518292){const _0x3aa3d6=_0x5d8d99;return this[_0x3aa3d6(0x119)][_0x3aa3d6(0x13b)](_0x4cb118,this[_0x3aa3d6(0xe5)],this[_0x3aa3d6(0x36c)],this[_0x3aa3d6(0x93)],this[_0x3aa3d6(0x164)],this[_0x3aa3d6(0x27a)],_0x518292);}};_0x309bd1=_0x5a9e65([_0x1d10bb(0x7,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x1d10bb(0x8,_0x28c502['Inject'](_0x50e560['RevisionService'])),_0x1d10bb(0x9,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435[_0x5d8d99(0x92)])),_0x1d10bb(0xa,_0x28c502[_0x5d8d99(0xad)]),_0x1d10bb(0xb,_0x28c502[_0x5d8d99(0x123)]),_0x1d10bb(0xc,_0x28c502[_0x5d8d99(0x459)]),_0x1d10bb(0xd,_0x50e560[_0x5d8d99(0x3d0)])],_0x309bd1);function _0x2a63c6(_0x5ec1f4,_0x149512,_0x22b62c,_0x25877c,_0x3796e1,_0x516c5d){const _0x7435c1=_0x5d8d99;return _0x25877c&&_0x3796e1['length']?_0x5ec1f4[_0x7435c1(0x13b)](_0x118b30,_0x149512,_0x22b62c,_0x25877c,_0x3796e1,_0x516c5d,void 0x0):_0x25877c?_0x5ec1f4[_0x7435c1(0x13b)](_0x2edb06,_0x149512,_0x22b62c,_0x25877c,_0x516c5d):_0x3796e1[_0x7435c1(0x52c)]?_0x5ec1f4['createInstance'](_0x294e6a,_0x149512,_0x22b62c,_0x3796e1,_0x516c5d):_0x5ec1f4['createInstance'](_0x42f1ab,_0x149512,_0x22b62c,_0x516c5d);}var _0x3862e6=Object['defineProperty'],_0x23b0e9=Object[_0x5d8d99(0x48b)],_0xd05381=(_0x3fcf06,_0x5e6970,_0x187bc9,_0x22cc65)=>{const _0x31bc36=_0x5d8d99;for(var _0x4895ab=_0x22cc65>0x1?void 0x0:_0x22cc65?_0x23b0e9(_0x5e6970,_0x187bc9):_0x5e6970,_0x57a455=_0x3fcf06[_0x31bc36(0x52c)]-0x1,_0x39e1e5;_0x57a455>=0x0;_0x57a455--)(_0x39e1e5=_0x3fcf06[_0x57a455])&&(_0x4895ab=(_0x22cc65?_0x39e1e5(_0x5e6970,_0x187bc9,_0x4895ab):_0x39e1e5(_0x4895ab))||_0x4895ab);return _0x22cc65&&_0x4895ab&&_0x3862e6(_0x5e6970,_0x187bc9,_0x4895ab),_0x4895ab;},_0x420122=(_0x1dee69,_0x2446cd)=>(_0x7fd80e,_0x554fc4)=>_0x2446cd(_0x7fd80e,_0x554fc4,_0x1dee69);_0x4c1435['CollaborationEntity']=class extends _0x28c502['RxDisposable']{constructor(_0x4f188f,_0x400ede,_0x318593,_0x2327f8,_0x4bafe6,_0x35aef3,_0x11670e,_0x4edf97,_0x587d74,_0xf57975,_0x46d1b3,_0x932ed9,_0x407d81){const _0x33b2d7=_0x5d8d99;super(),_0x569acc(this,'_state$',new _0x158390[(_0x33b2d7(0x146))](null)),_0x569acc(this,_0x33b2d7(0x2ac),this[_0x33b2d7(0x165)]['asObservable']()),_0x569acc(this,_0x33b2d7(0x242)),_0x569acc(this,'_collaborationPaused',!0x1),_0x569acc(this,_0x33b2d7(0x96),''),_0x569acc(this,_0x33b2d7(0x331),0x0),_0x569acc(this,_0x33b2d7(0x2e4),this[_0x33b2d7(0x2ac)][_0x33b2d7(0x4fb)](_0x158390[_0x33b2d7(0x1c9)](_0x571368=>_0x571368?_0x571368['status']:_0xda01df[_0x33b2d7(0x515)]),_0x158390['shareReplay'](0x1))),_0x569acc(this,_0x33b2d7(0xb2),!0x1),_0x569acc(this,_0x33b2d7(0x9b),[]),(this[_0x33b2d7(0xe5)]=_0x4f188f,this[_0x33b2d7(0xb1)]=_0x400ede,this['_type']=_0x318593,this[_0x33b2d7(0x119)]=_0x2327f8,this[_0x33b2d7(0x474)]=_0x4bafe6,this[_0x33b2d7(0x1b1)]=_0x35aef3,this[_0x33b2d7(0xdc)]=_0x11670e,this[_0x33b2d7(0x12f)]=_0x4edf97,this[_0x33b2d7(0x414)]=_0x587d74,this[_0x33b2d7(0x3a0)]=_0xf57975,this[_0x33b2d7(0x47b)]=_0x46d1b3,this[_0x33b2d7(0x9c)]=_0x932ed9,this['_singleActiveUnitService']=_0x407d81);}get['state'](){const _0x1d3db2=_0x5d8d99;return this[_0x1d3db2(0x242)];}async[_0x5d8d99(0x102)](){const _0x4a6fac=_0x5d8d99;if(this[_0x4a6fac(0x163)])throw new Error(_0x4a6fac(0x1bf));await this[_0x4a6fac(0xfb)]();}[_0x5d8d99(0x1ab)](){const _0x24272d=_0x5d8d99;return this[_0x24272d(0x3eb)]=!0x0,_0x28c502[_0x24272d(0x4fe)](()=>{const _0x321044=_0x24272d;this['_collaborationPaused']=!0x1,this[_0x321044(0x166)]();});}[_0x5d8d99(0x456)](_0x3d474e){const _0x56ad3e=_0x5d8d99;this[_0x56ad3e(0x242)]=_0x3d474e,this[_0x56ad3e(0x165)]['next'](_0x3d474e);}async[_0x5d8d99(0xfb)](){const _0x6f5f2d=_0x5d8d99;var _0x28fe87;this[_0x6f5f2d(0x456)](await this['_createInitialState']()),this[_0x6f5f2d(0x289)]&&((_0x28fe87=this[_0x6f5f2d(0x289)])==null||_0x28fe87[_0x6f5f2d(0x160)](this[_0x6f5f2d(0xe5)]),this['disposeWithMe'](this[_0x6f5f2d(0x289)][_0x6f5f2d(0x29f)](this[_0x6f5f2d(0xe5)])['subscribe'](_0x296303=>{const _0x293516=_0x6f5f2d;this[_0x293516(0x414)]['debug']('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x296303),_0x296303===_0x557e05[_0x293516(0x467)]?(this[_0x293516(0x47b)]['show']({'content':this[_0x293516(0xdc)]['t'](_0x293516(0x327)),'type':_0x4fac56[_0x293516(0x355)]['Warning']}),this['_permissionService'][_0x293516(0x324)](new _0x256063[(_0x293516(0x262))](this['unitID'])['id'],!0x1),this[_0x293516(0x9c)]['setShowComponents'](!0x1)):(this[_0x293516(0x9c)][_0x293516(0x324)](new _0x256063[(_0x293516(0x262))](this[_0x293516(0xe5)])['id'],!0x0),this['_permissionService'][_0x293516(0xfd)](!0x0));})));let _0x1bb35d=!0x1;return this[_0x6f5f2d(0x4b5)](this[_0x6f5f2d(0xb1)][_0x6f5f2d(0xc4)][_0x6f5f2d(0x3d2)](_0xc312ea=>{const _0x49f73f=_0x6f5f2d;_0xc312ea===_0x36f038[_0x49f73f(0x316)]?this[_0x49f73f(0x10c)](_0x1bb35d):_0xc312ea===_0x36f038['OFFLINE']&&(_0x1bb35d=!0x0,this[_0x49f73f(0x417)]());})),this[_0x6f5f2d(0x4b5)](this['session'][_0x6f5f2d(0xf3)][_0x6f5f2d(0x3d2)](_0xc1578a=>{const _0x2108af=_0x6f5f2d;try{switch(_0xc1578a['eventID']){case _0x50e560[_0x2108af(0x53d)][_0x2108af(0x239)]:{this[_0x2108af(0x455)](_0x50e560[_0x2108af(0x432)](_0xc1578a[_0x2108af(0x376)]));break;}case _0x50e560[_0x2108af(0x53d)][_0x2108af(0xbc)]:{this[_0x2108af(0x3cc)](_0xc1578a[_0x2108af(0x376)]);break;}case _0x50e560[_0x2108af(0x53d)][_0x2108af(0x393)]:{this[_0x2108af(0x1f1)]();break;}case _0x50e560['CollaborationEvent'][_0x2108af(0x118)]:{this['_onRemoteRetry'](_0xc1578a[_0x2108af(0x376)]);break;}case _0x50e560[_0x2108af(0x53d)][_0x2108af(0xfa)]:{this['_onFetchMissResult'](_0xc1578a[_0x2108af(0x376)][_0x2108af(0x137)][_0x2108af(0x1c9)](_0x4d9b45=>_0x50e560['parseProtocolChangeset'](_0x4d9b45)));break;}case _0x50e560[_0x2108af(0x53d)][_0x2108af(0x512)]:this[_0x2108af(0x1f1)]({'isPermissionRej':!0x0});}}catch(_0x3d4461){throw console[_0x2108af(0x13c)]('Error\x20on\x20receiving\x20event',_0x3d4461),_0x3d4461;}})),this['_state'];}[_0x5d8d99(0x24c)](){const _0x37c91e=_0x5d8d99;this[_0x37c91e(0xb2)]=!0x1;}[_0x5d8d99(0x374)](){const _0x170aaa=_0x5d8d99;if(this['_transitionLocked'])throw new Error(_0x170aaa(0x42c));this['_transitionLocked']=!0x0;}[_0x5d8d99(0x310)](_0x4cebf8){const _0x3311c1=_0x5d8d99;this[_0x3311c1(0x374)](),this['_updateState'](this[_0x3311c1(0x242)][_0x3311c1(0x486)](_0x4cebf8)),this['_unlockTransition']();}[_0x5d8d99(0x455)](_0x42d555){const _0x13013a=_0x5d8d99;if(!(_0x42d555[_0x13013a(0x470)]<=this[_0x13013a(0x12f)][_0x13013a(0x273)](this['unitID']))){if(this[_0x13013a(0x3eb)]){this[_0x13013a(0x9b)]['push'](_0x42d555);return;}this[_0x13013a(0x1d2)](_0x42d555);}}[_0x5d8d99(0x166)](){const _0x1ff3fa=_0x5d8d99;this[_0x1ff3fa(0x9b)]['forEach'](_0x2c5849=>this[_0x1ff3fa(0x1d2)](_0x2c5849)),this[_0x1ff3fa(0x9b)]=[];}[_0x5d8d99(0x1d2)](_0x3be1ee){const _0xf2da6e=_0x5d8d99,_0x363f68=this[_0xf2da6e(0x1b1)][_0xf2da6e(0x117)][_0xf2da6e(0x32a)](this[_0xf2da6e(0x1b1)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x3be1ee[_0xf2da6e(0x31f)],null)||_0x3be1ee[_0xf2da6e(0x31f)],_0x179e14={..._0x3be1ee,'mutations':_0x363f68};this['_lockTransition'](),this['_updateState'](this['_state'][_0xf2da6e(0x34c)](_0x179e14)),this[_0xf2da6e(0x24c)]();}[_0x5d8d99(0x3cc)](_0x57cbb8){const _0x3d69b5=_0x5d8d99;this[_0x3d69b5(0x374)](),this['_updateState'](this['_state'][_0x3d69b5(0x3f6)](_0x57cbb8)),this[_0x3d69b5(0x24c)]();}['_onRemoteRejected'](_0x2c25ab){const _0x4d51b3=_0x5d8d99;this[_0x4d51b3(0x374)](),this[_0x4d51b3(0x456)](this[_0x4d51b3(0x242)][_0x4d51b3(0x41a)](_0x2c25ab)),this[_0x4d51b3(0x24c)]();}[_0x5d8d99(0x232)](_0x24e65e){const _0x15df12=_0x5d8d99;this[_0x15df12(0x374)](),this[_0x15df12(0x456)](this['_state'][_0x15df12(0x420)](_0x24e65e)),this[_0x15df12(0x24c)]();}[_0x5d8d99(0x26c)](_0xdba08e){const _0x334a07=_0x5d8d99;if(!(this['_state']instanceof _0x309bd1))throw new TypeError(_0x334a07(0x24d));const _0x5498a2=_0xdba08e[_0x334a07(0x1c9)](_0x2baac9=>{const _0xb01e1a=_0x334a07,_0x312e76=this[_0xb01e1a(0x1b1)]['interceptor']['fetchThroughInterceptors'](this[_0xb01e1a(0x1b1)][_0xb01e1a(0x117)][_0xb01e1a(0x209)]()['COMPRESS_MUTATION_APPLY'])(_0x2baac9[_0xb01e1a(0x31f)],null)||_0x2baac9['mutations'];return{..._0x2baac9,'mutations':_0x312e76};});this[_0x334a07(0x374)](),this[_0x334a07(0x456)](this['_state']['onMissedChangesetFetched'](_0x5498a2)),this[_0x334a07(0x24c)]();}[_0x5d8d99(0x417)](){const _0x5b9fc2=_0x5d8d99;this[_0x5b9fc2(0x374)](),this[_0x5b9fc2(0x456)](this[_0x5b9fc2(0x242)][_0x5b9fc2(0x509)]()),this[_0x5b9fc2(0x24c)]();}['_toggleOnline'](_0x50a1bc=!0x1){const _0x2f9fd2=_0x5d8d99;this[_0x2f9fd2(0x374)](),this[_0x2f9fd2(0x456)](this['_state'][_0x2f9fd2(0x14a)]()),this[_0x2f9fd2(0x24c)]();const _0x11c36a=this[_0x2f9fd2(0x242)];_0x50a1bc&&_0x11c36a instanceof _0x42f1ab&&(this['_lockTransition'](),this[_0x2f9fd2(0x456)](_0x11c36a[_0x2f9fd2(0x1f5)]()),this[_0x2f9fd2(0x24c)]());}async['_createInitialState'](){return new Promise(_0x1873f6=>{const _0x31a42c=_0x3a4a;this[_0x31a42c(0xb1)]['sessionStatus$']['pipe'](_0x158390[_0x31a42c(0x375)](0x1))['subscribe'](async _0x3b99cd=>{const _0x2bab8b=_0x31a42c;_0x1873f6(await this[_0x2bab8b(0x3f8)](_0x3b99cd===_0x36f038[_0x2bab8b(0x316)]));});});}[_0x5d8d99(0x3e9)](){const _0x62c465=_0x5d8d99,_0x74d77d=this[_0x62c465(0xe5)];return{'onStateChange':(_0x1b9947,_0x2537eb)=>{const _0xb75106=_0x62c465;if(_0x1b9947!==this[_0xb75106(0x242)])throw new Error(_0xb75106(0x504)+_0x1b9947[_0xb75106(0xc7)]+_0xb75106(0xdf)+_0x2537eb['status']+_0xb75106(0x32d)+this[_0xb75106(0x242)][_0xb75106(0xc7)]);this[_0xb75106(0x456)](_0x2537eb);},'onSendChangeset':_0x389259=>{const _0x333eef=_0x62c465;_0x389259[_0x333eef(0x134)]||(_0x389259[_0x333eef(0x134)]=this[_0x333eef(0x96)],_0x389259['reqId']=++this['_changesetReqId']);const _0x4c86c0={'eventID':_0x50e560[_0x333eef(0x53d)][_0x333eef(0x2bd)],'data':{'unitID':_0x389259['unitID'],'unitType':this['_type'],'changeset':_0x389259,'memberID':this[_0x333eef(0xb1)][_0x333eef(0x3e5)]()}};this[_0x333eef(0xb1)][_0x333eef(0x527)](_0x4c86c0,this[_0x333eef(0xe5)]);},'onMissingChangesets':({from:_0xf3ea69,to:_0x3602cd})=>{const _0xba6a1e=_0x62c465;this[_0xba6a1e(0x414)][_0xba6a1e(0x4c0)](_0xba6a1e(0x2eb),_0xba6a1e(0x2fc)+_0xf3ea69+_0xba6a1e(0x32e)+_0x3602cd);const _0x31ed87={'eventID':_0x50e560['CollaborationEvent'][_0xba6a1e(0x42f)],'data':{'unitID':_0x74d77d,'unitType':this[_0xba6a1e(0x415)],'from':_0xf3ea69,'to':_0x3602cd}};this['session'][_0xba6a1e(0x527)](_0x31ed87,this[_0xba6a1e(0xe5)]);}};}async['_createInitialStateImpl'](_0xd6c6c3){const _0x40fa36=_0x5d8d99;var _0x5646d3,_0x1cef21;const _0x5e4841=await this['_localCacheService']['loadOfflineData'](this[_0x40fa36(0xe5)]),_0x495c49=(_0x5646d3=_0x5e4841==null?void 0x0:_0x5e4841[_0x40fa36(0x31f)])!=null?_0x5646d3:[],_0x5588ae=(_0x1cef21=_0x5e4841==null?void 0x0:_0x5e4841[_0x40fa36(0x4e5)])!=null?_0x1cef21:null,_0x2e9d90=!!(_0x5588ae!=null&&_0x5588ae[_0x40fa36(0x134)])&&!!(_0x5588ae!=null&&_0x5588ae['reqId']);this['_changesetSessionId']=_0x2e9d90?_0x5588ae[_0x40fa36(0x134)]:_0x1a0b07(),this[_0x40fa36(0x331)]=_0x2e9d90?_0x5588ae[_0x40fa36(0x1d8)]:0x0;const _0x2c8462=this[_0x40fa36(0xe5)];try{this['_replayCachedMutations'](_0x5588ae,_0x495c49);}catch(_0x391b4d){this[_0x40fa36(0x414)][_0x40fa36(0x13c)](_0x391b4d);}const _0x164bc2=this[_0x40fa36(0x3e9)]();if(_0xd6c6c3){const _0xfe5047=_0x2a63c6(this[_0x40fa36(0x119)],_0x2c8462,this[_0x40fa36(0x415)],_0x5588ae,_0x495c49,_0x164bc2);return _0xfe5047 instanceof _0x294e6a?_0xfe5047[_0x40fa36(0x44a)]():(_0xfe5047 instanceof _0x118b30||_0xfe5047 instanceof _0x2edb06)&&_0xfe5047[_0x40fa36(0x3f7)](),_0xfe5047;}return this[_0x40fa36(0x119)][_0x40fa36(0x13b)](_0x10b16d,_0x2c8462,this['_type'],_0x5588ae,_0x495c49,_0x164bc2);}['_replayCachedMutations'](_0x434a08,_0x4ef3a6){const _0x4bfb52=_0x5d8d99;var _0x18c591,_0x1feaf6;const _0x30b836=this[_0x4bfb52(0x1b1)][_0x4bfb52(0x117)]['fetchThroughInterceptors'](this[_0x4bfb52(0x1b1)][_0x4bfb52(0x117)][_0x4bfb52(0x209)]()[_0x4bfb52(0x418)]);(_0x18c591=_0x30b836((_0x434a08==null?void 0x0:_0x434a08['mutations'])||[],null))==null||_0x18c591[_0x4bfb52(0x359)](_0x59ee1a=>this[_0x4bfb52(0x3a0)][_0x4bfb52(0x38f)](_0x59ee1a['id'],_0x59ee1a[_0x4bfb52(0x41c)])),(_0x1feaf6=_0x30b836(_0x4ef3a6||[],null))==null||_0x1feaf6[_0x4bfb52(0x359)](_0x52a014=>this[_0x4bfb52(0x3a0)]['executeCommand'](_0x52a014['id'],_0x52a014[_0x4bfb52(0x41c)]));}},_0x4c1435[_0x5d8d99(0x294)]=_0xd05381([_0x420122(0x3,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x420122(0x4,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435[_0x5d8d99(0x92)])),_0x420122(0x5,_0x28c502[_0x5d8d99(0x48a)](_0x50e560[_0x5d8d99(0x2d8)])),_0x420122(0x6,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x469)])),_0x420122(0x7,_0x28c502['Inject'](_0x50e560[_0x5d8d99(0x2cd)])),_0x420122(0x8,_0x28c502[_0x5d8d99(0xad)]),_0x420122(0x9,_0x28c502['ICommandService']),_0x420122(0xa,_0x28a60c[_0x5d8d99(0x1e7)]),_0x420122(0xb,_0x28c502['IPermissionService']),_0x420122(0xc,_0x28c502['Optional'](_0x299919))],_0x4c1435[_0x5d8d99(0x294)]),_0x4c1435[_0x5d8d99(0x529)]=class extends _0x4c1435[_0x5d8d99(0x294)]{constructor(_0x3d2aec,_0x42dda5,_0x1f2356,_0x4d82a6,_0x5565eb,_0x5a82d1,_0x27e0fd,_0x20a4e0,_0x4ba713,_0x334e1b,_0x3fa21e,_0x3b3892,_0xce83b4,_0x58eb73,_0x13be61,_0x36272e,_0x1c2464,_0x3dc5d5){const _0x18b9c7=_0x5d8d99;super(_0x3d2aec,_0x1f2356,_0x42dda5,_0x4d82a6,_0x5565eb,_0x5a82d1,_0x27e0fd,_0x20a4e0,_0x58eb73,_0x13be61,_0x36272e,_0x1c2464,_0x3dc5d5),this[_0x18b9c7(0xe5)]=_0x3d2aec,this[_0x18b9c7(0x36c)]=_0x42dda5,this['_docStateChangeManagerService']=_0x4ba713,this['_docTransformIMECacheService']=_0x334e1b,this['_docTransformStateCacheService']=_0x3fa21e,this[_0x18b9c7(0x20c)]=_0x3b3892,this[_0x18b9c7(0x2a2)]=_0xce83b4;}['_createHandler'](){const _0x41a374=_0x5d8d99,_0x48f9cb=super[_0x41a374(0x3e9)]();return _0x48f9cb[_0x41a374(0x1c8)]=_0x824cef=>this[_0x41a374(0x344)][_0x41a374(0x1a4)](_0x824cef),_0x48f9cb[_0x41a374(0x9a)]=_0x5af268=>this[_0x41a374(0x501)][_0x41a374(0x16d)](_0x5af268),_0x48f9cb[_0x41a374(0x338)]=_0x2e8aeb=>this['_docTransformSelectionsService'][_0x41a374(0x1c3)](_0x2e8aeb),_0x48f9cb['onSyncEditingCollabCursor']=_0x2010ba=>this[_0x41a374(0x2a2)]['syncEditingCollabCursor'](_0x2010ba),_0x48f9cb[_0x41a374(0x1ae)]=_0x11353b=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x11353b),_0x48f9cb[_0x41a374(0x4c5)]=_0x2c6ffc=>this[_0x41a374(0x501)]['transformRemoteChangeset'](_0x2c6ffc),_0x48f9cb;}async[_0x5d8d99(0xfb)](){const _0x57269d=_0x5d8d99,_0x24ffd1=await super[_0x57269d(0xfb)]();return this['_docStateChangeManagerService']['docStateChange$']['pipe'](_0x158390[_0x57269d(0x150)](this['dispose$']))[_0x57269d(0x3d2)](_0x595b62=>{const _0x4d9c51=_0x57269d;if(_0x595b62==null)return;const {unitId:_0x4e5bcc,redoState:_0x1000da,commandId:_0x184af9}=_0x595b62;if(_0x4e5bcc!==this[_0x4d9c51(0xe5)])return;const _0x54d9e5={'id':_0x184af9,'type':_0x28c502[_0x4d9c51(0x161)][_0x4d9c51(0x4d2)],'params':{'unitId':_0x4e5bcc,'actions':_0x1000da[_0x4d9c51(0x155)],'textRanges':null}};this['_onLocalMutation'](_0x54d9e5);}),_0x24ffd1;}},_0x4c1435[_0x5d8d99(0x529)]=_0xd05381([_0x420122(0x3,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x420122(0x4,_0x28c502['Inject'](_0x4c1435[_0x5d8d99(0x92)])),_0x420122(0x5,_0x28c502[_0x5d8d99(0x48a)](_0x50e560[_0x5d8d99(0x2d8)])),_0x420122(0x6,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x469)])),_0x420122(0x7,_0x28c502[_0x5d8d99(0x48a)](_0x50e560[_0x5d8d99(0x2cd)])),_0x420122(0x8,_0x28c502['Inject'](_0x3d318b[_0x5d8d99(0x36e)])),_0x420122(0x9,_0x28c502[_0x5d8d99(0x48a)](_0x4971b6)),_0x420122(0xa,_0x28c502[_0x5d8d99(0x48a)](_0x1664c1)),_0x420122(0xb,_0x28c502[_0x5d8d99(0x48a)](_0x2b7e0e)),_0x420122(0xc,_0x28c502[_0x5d8d99(0x48a)](_0x18a3f7)),_0x420122(0xd,_0x28c502['ILogService']),_0x420122(0xe,_0x28c502[_0x5d8d99(0x123)]),_0x420122(0xf,_0x28a60c[_0x5d8d99(0x1e7)]),_0x420122(0x10,_0x28c502[_0x5d8d99(0xd3)]),_0x420122(0x11,_0x28c502['Optional'](_0x299919))],_0x4c1435['DocCollaborationEntity']),_0x4c1435[_0x5d8d99(0x3d9)]=class extends _0x4c1435['CollaborationEntity']{constructor(_0xce648f,_0x149a05,_0x257202,_0x5d3a8b,_0x546133,_0x5031d7,_0x2b1271,_0x46cb05,_0x2c02fe,_0x4f9b46,_0x36c10f,_0x56177e,_0x37cbce,_0x577813){super(_0xce648f,_0x257202,_0x149a05,_0x5d3a8b,_0x546133,_0x5031d7,_0x2b1271,_0x46cb05,_0x4f9b46,_0x36c10f,_0x56177e,_0x37cbce,_0x577813),this['unitID']=_0xce648f,this['type']=_0x149a05,this['_sheetTransformSelectionsService']=_0x2c02fe;}[_0x5d8d99(0x3e9)](){const _0x3372ec=_0x5d8d99,_0x21473f=super[_0x3372ec(0x3e9)]();return _0x21473f['onTransformSelections']=_0x38fd3c=>this[_0x3372ec(0x2b1)][_0x3372ec(0x1c3)](_0x38fd3c),_0x21473f;}async[_0x5d8d99(0xfb)](){const _0x367935=_0x5d8d99,_0x2a6262=await super[_0x367935(0xfb)]();return this[_0x367935(0x4b5)](this[_0x367935(0x3a0)]['onCommandExecuted']((_0x2281e2,_0x976ccc)=>{const _0x24b715=_0x367935;if(_0x2281e2['type']!==_0x28c502[_0x24b715(0x161)][_0x24b715(0x4d2)]||_0x976ccc!=null&&_0x976ccc[_0x24b715(0x27e)]||_0x976ccc!=null&&_0x976ccc['onlyLocal'])return;const _0x2405dc=_0x2281e2['params'];if((_0x2405dc==null?void 0x0:_0x2405dc[_0x24b715(0x44b)])!==this[_0x24b715(0xe5)])return;const _0x74bff8=_0x2281e2,_0x324f86=this[_0x24b715(0x1b1)][_0x24b715(0x117)][_0x24b715(0x32a)](this[_0x24b715(0x1b1)][_0x24b715(0x117)][_0x24b715(0x209)]()['COMPRESS_MUTATION_SEND'])([_0x74bff8],null)||[_0x74bff8];this[_0x24b715(0x310)](_0x324f86[0x0]);})),_0x2a6262;}},_0x4c1435[_0x5d8d99(0x3d9)]=_0xd05381([_0x420122(0x3,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x420122(0x4,_0x28c502['Inject'](_0x4c1435[_0x5d8d99(0x92)])),_0x420122(0x5,_0x28c502[_0x5d8d99(0x48a)](_0x50e560[_0x5d8d99(0x2d8)])),_0x420122(0x6,_0x28c502['Inject'](_0x28c502[_0x5d8d99(0x469)])),_0x420122(0x7,_0x28c502[_0x5d8d99(0x48a)](_0x50e560['RevisionService'])),_0x420122(0x8,_0x28c502[_0x5d8d99(0x48a)](_0x474488)),_0x420122(0x9,_0x28c502['ILogService']),_0x420122(0xa,_0x28c502[_0x5d8d99(0x123)]),_0x420122(0xb,_0x28a60c[_0x5d8d99(0x1e7)]),_0x420122(0xc,_0x28c502[_0x5d8d99(0xd3)]),_0x420122(0xd,_0x28c502[_0x5d8d99(0x115)](_0x299919))],_0x4c1435[_0x5d8d99(0x3d9)]);var _0x3e3b70=Object[_0x5d8d99(0x48f)],_0x265e01=Object[_0x5d8d99(0x48b)],_0x3a34d8=(_0x1b38e4,_0x36debe,_0x2203b5,_0x62be2b)=>{const _0x7a6402=_0x5d8d99;for(var _0x2bf3ff=_0x62be2b>0x1?void 0x0:_0x62be2b?_0x265e01(_0x36debe,_0x2203b5):_0x36debe,_0x665bb2=_0x1b38e4[_0x7a6402(0x52c)]-0x1,_0x2eee73;_0x665bb2>=0x0;_0x665bb2--)(_0x2eee73=_0x1b38e4[_0x665bb2])&&(_0x2bf3ff=(_0x62be2b?_0x2eee73(_0x36debe,_0x2203b5,_0x2bf3ff):_0x2eee73(_0x2bf3ff))||_0x2bf3ff);return _0x62be2b&&_0x2bf3ff&&_0x3e3b70(_0x36debe,_0x2203b5,_0x2bf3ff),_0x2bf3ff;},_0x34ce97=(_0x27cb4,_0x5d5301)=>(_0x46cf9b,_0x3e7707)=>_0x5d5301(_0x46cf9b,_0x3e7707,_0x27cb4);_0x4c1435[_0x5d8d99(0x4dc)]=class extends _0x28c502[_0x5d8d99(0x156)]{constructor(_0x39f4ae,_0x4ea685,_0x5cfeb7){const _0x1d169d=_0x5d8d99;super(),_0x569acc(this,_0x1d169d(0x237),new Map()),_0x569acc(this,_0x1d169d(0x4a2),new _0x158390[(_0x1d169d(0x3fc))]()),(this[_0x1d169d(0x119)]=_0x39f4ae,this['_collabSessionService']=_0x4ea685,this[_0x1d169d(0x14c)]=_0x5cfeb7,this['_init']());}[_0x5d8d99(0x50f)](){const _0x4bedae=_0x5d8d99;super['dispose'](),this[_0x4bedae(0x237)][_0x4bedae(0x359)](_0x20a38c=>_0x20a38c['dispose']()),this[_0x4bedae(0x237)][_0x4bedae(0x411)]();}[_0x5d8d99(0x35e)](_0x30c289){const _0x303635=_0x5d8d99;var _0x374c74;return(_0x374c74=this[_0x303635(0x237)][_0x303635(0x3a8)](_0x30c289))!=null?_0x374c74:null;}[_0x5d8d99(0x3ca)](_0x179107){const _0x281220=_0x5d8d99,_0x464f43=this[_0x281220(0x35e)](_0x179107);return _0x464f43?_0x158390['of'](_0x464f43):this['_entityInit$']['pipe'](_0x9d1bc[_0x281220(0x1ea)](_0x3b69fe=>_0x3b69fe[_0x281220(0xe5)]===_0x179107));}[_0x5d8d99(0xfb)](){const _0x489d5d=_0x5d8d99;this[_0x489d5d(0x14c)][_0x489d5d(0x4f4)](_0x28c502[_0x489d5d(0x3c0)][_0x489d5d(0x3de)])[_0x489d5d(0x4fb)](_0x158390[_0x489d5d(0x150)](this[_0x489d5d(0x51f)]),_0x9d1bc[_0x489d5d(0x2ee)](0x10))['subscribe'](async _0x526c05=>{const _0x2ebc7d=_0x489d5d,_0x11479a=_0x526c05[_0x2ebc7d(0x3aa)](),_0x292891=await this[_0x2ebc7d(0x536)](_0x11479a,_0x5b91b5[_0x2ebc7d(0x3de)]);this[_0x2ebc7d(0x237)][_0x2ebc7d(0x4a7)](_0x11479a,_0x292891);}),this['_univerInstanceService'][_0x489d5d(0x4f4)](_0x28c502[_0x489d5d(0x3c0)][_0x489d5d(0x358)])[_0x489d5d(0x4fb)](_0x158390['takeUntil'](this[_0x489d5d(0x51f)]),_0x9d1bc[_0x489d5d(0x2ee)](0x10))['pipe'](_0x9d1bc[_0x489d5d(0x1ea)](_0x3a5ec6=>!_0x3a5ec6['getUnitId']()['startsWith']('__')))[_0x489d5d(0x3d2)](async _0x59faaf=>{const _0x2e9970=_0x489d5d,_0x7e03bf=_0x59faaf[_0x2e9970(0x3aa)](),_0x59a439=await this['_startCollaboration'](_0x7e03bf,_0x5b91b5['UNIVER_DOC']);this[_0x2e9970(0x237)][_0x2e9970(0x4a7)](_0x7e03bf,_0x59a439);}),_0x158390[_0x489d5d(0x3a3)](this[_0x489d5d(0x14c)][_0x489d5d(0x488)](_0x28c502['UniverInstanceType'][_0x489d5d(0x3de)]),this[_0x489d5d(0x14c)][_0x489d5d(0x488)](_0x28c502[_0x489d5d(0x3c0)][_0x489d5d(0x358)]))[_0x489d5d(0x4fb)](_0x158390[_0x489d5d(0x150)](this[_0x489d5d(0x51f)]))['subscribe'](_0x354ca4=>{const _0x3be1b0=_0x489d5d,_0x260919=_0x354ca4[_0x3be1b0(0x3aa)](),_0x1f186c=this[_0x3be1b0(0x237)][_0x3be1b0(0x3a8)](_0x260919);_0x1f186c&&(_0x1f186c[_0x3be1b0(0x50f)](),this[_0x3be1b0(0x237)][_0x3be1b0(0x451)](_0x260919));});}async[_0x5d8d99(0x536)](_0x521388,_0x71772b){const _0x1afa92=_0x5d8d99,_0x312388=await this[_0x1afa92(0x448)][_0x1afa92(0xc0)](_0x521388),_0x431772=this[_0x1afa92(0x119)][_0x1afa92(0x13b)](this[_0x1afa92(0x2a8)](_0x71772b),_0x521388,_0x71772b,_0x312388);return await _0x431772[_0x1afa92(0x102)](),this[_0x1afa92(0x4a2)][_0x1afa92(0xb4)](_0x431772),_0x431772;}[_0x5d8d99(0x2a8)](_0x1599dc){const _0x5d3c68=_0x5d8d99;switch(_0x1599dc){case _0x5b91b5[_0x5d3c68(0x358)]:return _0x4c1435[_0x5d3c68(0x529)];case _0x5b91b5['UNIVER_SHEET']:return _0x4c1435[_0x5d3c68(0x3d9)];default:throw new Error(_0x5d3c68(0x2e6)+_0x1599dc);}}},_0x4c1435[_0x5d8d99(0x4dc)]=_0x3a34d8([_0x34ce97(0x0,_0x28c502[_0x5d8d99(0x48a)](_0x28c502['Injector'])),_0x34ce97(0x1,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435[_0x5d8d99(0x2b2)])),_0x34ce97(0x2,_0x28c502[_0x5d8d99(0x380)])],_0x4c1435[_0x5d8d99(0x4dc)]);const _0x43e55f=[_0x5d8d99(0x1eb),_0x5d8d99(0x307),_0x5d8d99(0x41e),'red300',_0x5d8d99(0x364),_0x5d8d99(0x24f)];class _0x5254e5 extends _0x28c502[_0x5d8d99(0x24b)]{constructor(){const _0x5cdb73=_0x5d8d99;super(...arguments),_0x569acc(this,_0x5cdb73(0x200),new Map()),_0x569acc(this,'_colorIndex',0x0);}[_0x5d8d99(0x334)](_0x1c0856){const _0x3050ed=_0x5d8d99;if(this[_0x3050ed(0x200)]['has'](_0x1c0856))return this[_0x3050ed(0x200)]['get'](_0x1c0856);const _0x27a948=_0x43e55f[this[_0x3050ed(0x3c5)]];return this['_colorIndex']=(this[_0x3050ed(0x3c5)]+0x1)%_0x43e55f['length'],this[_0x3050ed(0x200)][_0x3050ed(0x4a7)](_0x1c0856,_0x27a948),_0x27a948;}}var _0x5d4af6=Object[_0x5d8d99(0x48f)],_0x2dd205=Object[_0x5d8d99(0x48b)],_0x3bd1ac=(_0x236f7a,_0x360bfa,_0x545117,_0x1e916c)=>{const _0x1f162d=_0x5d8d99;for(var _0x42fb82=_0x1e916c>0x1?void 0x0:_0x1e916c?_0x2dd205(_0x360bfa,_0x545117):_0x360bfa,_0x38cbc6=_0x236f7a[_0x1f162d(0x52c)]-0x1,_0x4bc80f;_0x38cbc6>=0x0;_0x38cbc6--)(_0x4bc80f=_0x236f7a[_0x38cbc6])&&(_0x42fb82=(_0x1e916c?_0x4bc80f(_0x360bfa,_0x545117,_0x42fb82):_0x4bc80f(_0x42fb82))||_0x42fb82);return _0x1e916c&&_0x42fb82&&_0x5d4af6(_0x360bfa,_0x545117,_0x42fb82),_0x42fb82;},_0x29326c=(_0x24c6e0,_0x530665)=>(_0x240ab1,_0x21e076)=>_0x530665(_0x240ab1,_0x21e076,_0x24c6e0);const _0x38a223=0x12c,_0x4b14d2=0x64;let _0xa35aaf=class extends _0x28c502[_0x5d8d99(0x156)]{constructor(_0x28c933,_0x5e41fb,_0x524b65,_0xeb31f3,_0x476aae,_0x10de3f,_0x540a78,_0x2556b8,_0x533df2){const _0x1dae0=_0x5d8d99;super(),_0x569acc(this,_0x1dae0(0x446),!0x1),_0x569acc(this,_0x1dae0(0xfb),!0x1),_0x569acc(this,_0x1dae0(0x183),new _0x158390[(_0x1dae0(0x146))](new Map())),_0x569acc(this,_0x1dae0(0xb7),this['_cursorInfo$'][_0x1dae0(0x4ae)]()),_0x569acc(this,_0x1dae0(0x323),new _0x158390[(_0x1dae0(0x146))]([])),_0x569acc(this,_0x1dae0(0x353),this[_0x1dae0(0x323)][_0x1dae0(0x4fb)](_0x158390[_0x1dae0(0x4cd)](_0x38a223))),_0x569acc(this,_0x1dae0(0x4a8),_0x28c502[_0x1dae0(0x454)](_0x48658c=>{const _0x5b4c19=_0x1dae0,_0x467b2c={'eventID':_0x50e560['CollaborationEvent'][_0x5b4c19(0x35b)],'data':{'unitID':this[_0x5b4c19(0xe5)],'memberID':this['_session'][_0x5b4c19(0x3e5)](),'selection':_0x328fbb(_0x48658c)}};this[_0x5b4c19(0x186)][_0x5b4c19(0x527)](_0x467b2c,this[_0x5b4c19(0xe5)]);},_0x4b14d2)),(this[_0x1dae0(0xe5)]=_0x28c933,this[_0x1dae0(0x186)]=_0x5e41fb,this[_0x1dae0(0x119)]=_0x524b65,this[_0x1dae0(0xc2)]=_0xeb31f3,this[_0x1dae0(0x2a5)]=_0x476aae,this[_0x1dae0(0x1cc)]=_0x10de3f,this[_0x1dae0(0x258)]=_0x540a78,this[_0x1dae0(0x14c)]=_0x2556b8,this['_commandService']=_0x533df2);}get['cursorInfo'](){const _0xc99a84=_0x5d8d99;return this[_0xc99a84(0x183)][_0xc99a84(0x514)]();}get[_0x5d8d99(0x526)](){return this['_roomMembers$']['getValue']();}[_0x5d8d99(0x50f)](){const _0xc4f42c=_0x5d8d99;super[_0xc4f42c(0x50f)](),this['_cursorInfo$']['next'](new Map()),this[_0xc4f42c(0x183)][_0xc4f42c(0x3b7)](),this[_0xc4f42c(0x323)][_0xc4f42c(0xb4)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x2a5600=_0x5d8d99;this[_0x2a5600(0xfb)]||(this['_init']=!0x0,this[_0x2a5600(0x186)][_0x2a5600(0xc4)][_0x2a5600(0x4fb)](_0x158390[_0x2a5600(0x150)](this[_0x2a5600(0x51f)]))['subscribe'](_0x405a71=>{const _0x1e211b=_0x2a5600;_0x405a71===_0x36f038['ONLINE']?this[_0x1e211b(0x10c)]():this['_toggleOffline']();}),this['_session'][_0x2a5600(0xf3)][_0x2a5600(0x4fb)](_0x158390[_0x2a5600(0x150)](this[_0x2a5600(0x51f)]))[_0x2a5600(0x3d2)](_0x51e9ef=>{const _0x1092be=_0x2a5600,_0x25506d=_0x51e9ef[_0x1092be(0x44f)];_0x25506d===_0x50e560[_0x1092be(0x53d)]['UPDATE_CURSOR']&&this[_0x1092be(0x18b)](_0x51e9ef),_0x25506d===_0x50e560[_0x1092be(0x53d)][_0x1092be(0x313)]&&this['_onCursorDelete'](_0x51e9ef);}),this[_0x2a5600(0x4b5)](this['_commandService'][_0x2a5600(0x4cc)](_0x52aace=>{const _0x492a38=_0x2a5600,_0x340997=_0x52aace[_0x492a38(0x41c)];_0x340997!=null&&this[_0x492a38(0x446)]&&_0x52aace['id']===_0x576070[_0x492a38(0x135)]['id']&&_0x340997[_0x492a38(0x44b)]===this[_0x492a38(0xe5)]&&_0x340997[_0x492a38(0x31d)]===!0x1&&_0x340997['ranges'][_0x492a38(0x52c)]>0x0&&this[_0x492a38(0x4a8)](_0x340997[_0x492a38(0x30a)]);})),this[_0x2a5600(0x1cc)][_0x2a5600(0x16a)][_0x2a5600(0x4fb)](_0x158390[_0x2a5600(0x150)](this[_0x2a5600(0x51f)]))[_0x2a5600(0x3d2)](_0x4c315d=>{const _0x107794=_0x2a5600;if((_0x4c315d==null?void 0x0:_0x4c315d['unitID'])!==this[_0x107794(0xe5)])return;const _0x310ea9={'eventID':_0x50e560['CollaborationEvent'][_0x107794(0x35b)],'data':_0x4c315d};this[_0x107794(0x18b)](_0x310ea9);}),this[_0x2a5600(0x4b5)](this[_0x2a5600(0x3a0)]['onCommandExecuted'](_0x405e6e=>{const _0x284d8b=_0x2a5600;if(_0x405e6e[_0x284d8b(0x41c)]==null)return;const _0x4efddb=_0x405e6e['params'];if(_0x405e6e['id']!==_0x576070[_0x284d8b(0x4b0)]['id']||_0x4efddb[_0x284d8b(0x44b)]!==this['unitID'])return;const _0x542d74={'id':_0x284d8b(0x2b0),'params':_0x4efddb},_0x57db59=this[_0x284d8b(0x461)];for(const [_0x3707f9,_0x3c9122]of _0x57db59){const _0xc299b={'id':_0x284d8b(0x2b0),'params':{'unitId':this[_0x284d8b(0xe5)],'actions':null,'textRanges':_0x3c9122[_0x284d8b(0x30a)]}},_0x1c5573=this['_transformService'][_0x284d8b(0x139)](_0x542d74,_0xc299b,!0x1);if(_0x50e560['isTransformMutationFailure'](_0x1c5573))throw _0x1c5573[_0x284d8b(0x13c)];_0x57db59[_0x284d8b(0x4a7)](_0x3707f9,{..._0x3c9122,'ranges':_0x1c5573[_0x284d8b(0x4d1)]['params'][_0x284d8b(0x44d)]});}queueMicrotask(()=>{const _0x4bf3a0=_0x284d8b;this['_cursorInfo$'][_0x4bf3a0(0xb4)](_0x57db59);});})));}[_0x5d8d99(0x18b)](_0x57f57d){const _0x4e030f=_0x5d8d99;var _0x59fdb3,_0xc36241;const {memberID:_0x527dfa,selection:_0x293842}=_0x57f57d['data'],_0x18526f=_0x4eed54(_0x293842),_0x29535f=(_0xc36241=(_0x59fdb3=this[_0x4e030f(0x2a5)][_0x4e030f(0x193)](this[_0x4e030f(0xe5)],_0x527dfa))==null?void 0x0:_0x59fdb3[_0x4e030f(0x1fa)])!=null?_0xc36241:'Unknown\x20user',_0x43a3c8={'color':this[_0x4e030f(0xc2)][_0x4e030f(0x334)](_0x527dfa),'name':_0x29535f,'ranges':_0x18526f},_0x18ce5d=this[_0x4e030f(0x461)];_0x18ce5d[_0x4e030f(0x4a7)](_0x527dfa,_0x43a3c8),this['_cursorInfo$'][_0x4e030f(0xb4)](_0x18ce5d);}[_0x5d8d99(0x2a7)](_0x410792){const _0x4d910b=_0x5d8d99,{memberID:_0x1ecc02}=_0x410792[_0x4d910b(0x376)],_0x17e8e5=this[_0x4d910b(0x461)];_0x17e8e5['delete'](_0x1ecc02),this[_0x4d910b(0x183)]['next'](_0x17e8e5);}[_0x5d8d99(0x10c)](){const _0x27ccd0=_0x5d8d99;var _0x6024e4;if(this[_0x27ccd0(0x446)]=!0x0,((_0x6024e4=this[_0x27ccd0(0x14c)][_0x27ccd0(0x39e)]())==null?void 0x0:_0x6024e4[_0x27ccd0(0x3aa)]())!==this[_0x27ccd0(0xe5)])return;const _0x2a7a84=this[_0x27ccd0(0x119)][_0x27ccd0(0x3a8)](_0x576070[_0x27ccd0(0x30b)])['getDocRanges']();Array[_0x27ccd0(0x287)](_0x2a7a84)&&_0x2a7a84[_0x27ccd0(0x52c)]>0x0&&this[_0x27ccd0(0x4a8)](_0x2a7a84);}[_0x5d8d99(0x417)](){const _0x26637a=_0x5d8d99;this[_0x26637a(0x446)]=!0x1;}};_0xa35aaf=_0x3bd1ac([_0x29326c(0x2,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x29326c(0x3,_0x28c502[_0x5d8d99(0x48a)](_0x5254e5)),_0x29326c(0x4,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435[_0x5d8d99(0x1a6)])),_0x29326c(0x5,_0x28c502[_0x5d8d99(0x48a)](_0x18a3f7)),_0x29326c(0x6,_0x50e560['ITransformService']),_0x29326c(0x7,_0x28c502[_0x5d8d99(0x380)]),_0x29326c(0x8,_0x28c502[_0x5d8d99(0x123)])],_0xa35aaf);var _0x1530ce=Object[_0x5d8d99(0x48f)],_0x3dfd6b=Object[_0x5d8d99(0x48b)],_0x3adf22=(_0x419cfa,_0x25fbe7,_0x3ead49,_0x20e2b6)=>{const _0x34e443=_0x5d8d99;for(var _0x39be48=_0x20e2b6>0x1?void 0x0:_0x20e2b6?_0x3dfd6b(_0x25fbe7,_0x3ead49):_0x25fbe7,_0x37ae2d=_0x419cfa[_0x34e443(0x52c)]-0x1,_0x2aa98e;_0x37ae2d>=0x0;_0x37ae2d--)(_0x2aa98e=_0x419cfa[_0x37ae2d])&&(_0x39be48=(_0x20e2b6?_0x2aa98e(_0x25fbe7,_0x3ead49,_0x39be48):_0x2aa98e(_0x39be48))||_0x39be48);return _0x20e2b6&&_0x39be48&&_0x1530ce(_0x25fbe7,_0x3ead49,_0x39be48),_0x39be48;},_0x407df9=(_0x32ec03,_0x329404)=>(_0x5c7f9a,_0x4d4aad)=>_0x329404(_0x5c7f9a,_0x4d4aad,_0x32ec03);const _0x3f430e=0x12c,_0x545882=0x64,_0x1ecc80=()=>{let _0x38f7b8=[],_0x6defc5=!0x1;return _0x1d527f=>{const _0x324209=_0x3a4a;_0x38f7b8[_0x324209(0x347)](_0x1d527f),_0x6defc5||(_0x6defc5=!0x0,setTimeout(()=>{const _0x4aa308=_0x324209;_0x38f7b8[_0x4aa308(0x359)](_0xf43669=>_0xf43669()),_0x38f7b8=[],_0x6defc5=!0x1;}));};};let _0x58607f=class extends _0x28c502[_0x5d8d99(0x156)]{constructor(_0x6681d7,_0x2848c1,_0xa290f9,_0xb26df5,_0x142cf5,_0x3512dc,_0x4e4062,_0x427679){const _0x408902=_0x5d8d99;super(),_0x569acc(this,_0x408902(0x446),!0x1),_0x569acc(this,_0x408902(0xfb),!0x1),_0x569acc(this,_0x408902(0x183),new _0x158390[(_0x408902(0x146))](new Map())),_0x569acc(this,_0x408902(0xb7),this[_0x408902(0x183)][_0x408902(0x4ae)]()),_0x569acc(this,'_roomMembers$',new _0x158390[(_0x408902(0x146))]([])),_0x569acc(this,_0x408902(0x353),this['_roomMembers$'][_0x408902(0x4fb)](_0x158390[_0x408902(0x4cd)](_0x3f430e))),_0x569acc(this,_0x408902(0x4a8),_0x28c502[_0x408902(0x454)]((_0x528110,_0x1f80ed)=>{const _0x4d1533=_0x408902,_0xb6403={'eventID':_0x50e560[_0x4d1533(0x53d)][_0x4d1533(0x35b)],'data':{'unitID':this['unitID'],'memberID':this[_0x4d1533(0x186)][_0x4d1533(0x3e5)](),'selection':_0x23e6b0[_0x4d1533(0x2fd)](_0x528110,_0x1f80ed[_0x4d1533(0x11a)])}};this[_0x4d1533(0x186)]['send'](_0xb6403,this[_0x4d1533(0xe5)]);},_0x545882)),(this[_0x408902(0xe5)]=_0x6681d7,this[_0x408902(0x186)]=_0x2848c1,this['_injector']=_0xa290f9,this[_0x408902(0xc2)]=_0xb26df5,this[_0x408902(0x2a5)]=_0x142cf5,this[_0x408902(0x14c)]=_0x3512dc,this['_commandService']=_0x4e4062,this['_refRangeService']=_0x427679);}get[_0x5d8d99(0x461)](){return this['_cursorInfo$']['getValue']();}get[_0x5d8d99(0x526)](){const _0x26f0b3=_0x5d8d99;return this[_0x26f0b3(0x323)][_0x26f0b3(0x514)]();}[_0x5d8d99(0x50f)](){const _0xb09313=_0x5d8d99;super['dispose'](),this['_cursorInfo$'][_0xb09313(0xb4)](new Map()),this[_0xb09313(0x183)][_0xb09313(0x3b7)](),this[_0xb09313(0x323)][_0xb09313(0xb4)]([]),this[_0xb09313(0x323)][_0xb09313(0x3b7)]();}[_0x5d8d99(0x102)](){const _0x40e858=_0x5d8d99;this['_init']||(this['_init']=!0x0,this[_0x40e858(0x186)][_0x40e858(0xc4)]['pipe'](_0x158390['takeUntil'](this['dispose$']))[_0x40e858(0x3d2)](_0xb59bcc=>{const _0x362673=_0x40e858;_0xb59bcc===_0x36f038[_0x362673(0x316)]?this['_toggleOnline']():this[_0x362673(0x417)]();}),this[_0x40e858(0x186)][_0x40e858(0xf3)][_0x40e858(0x4fb)](_0x158390['takeUntil'](this[_0x40e858(0x51f)]))['subscribe'](_0xf2d5f1=>{const _0x13e637=_0x40e858,_0x1ebb23=_0xf2d5f1[_0x13e637(0x44f)];_0x1ebb23===_0x50e560[_0x13e637(0x53d)][_0x13e637(0x35b)]&&this['_onCursorUpdate'](_0xf2d5f1),_0x1ebb23===_0x50e560[_0x13e637(0x53d)][_0x13e637(0x313)]&&this['_onCursorDelete'](_0xf2d5f1);}),this[_0x40e858(0x3b9)](),this[_0x40e858(0x4b5)](this[_0x40e858(0x3a0)]['onCommandExecuted'](_0x1328d8=>{const _0x36de4b=_0x40e858;if(this[_0x36de4b(0x446)]&&_0x1328d8['id']===_0x256063['SetSelectionsOperation']['id']&&_0x1328d8['params'][_0x36de4b(0x44b)]===this[_0x36de4b(0xe5)]){const _0x2f208f=_0x1328d8[_0x36de4b(0x41c)];this[_0x36de4b(0x4a8)](_0x2f208f[_0x36de4b(0x427)],_0x2f208f['selections'][0x0]);}})));}[_0x5d8d99(0x18b)](_0x4c4e64){const _0x1e430b=_0x5d8d99;var _0x159652,_0x5d2032;const {memberID:_0x2dffa6,selection:_0x2f021f}=_0x4c4e64[_0x1e430b(0x376)],{sheetName:_0x2bf181,range:_0xaa1b29}=_0x23e6b0[_0x1e430b(0x1e2)](_0x2f021f),_0x46d1da={'name':(_0x5d2032=(_0x159652=this[_0x1e430b(0x2a5)]['getMember'](this['unitID'],_0x2dffa6))==null?void 0x0:_0x159652[_0x1e430b(0x1fa)])!=null?_0x5d2032:_0x1e430b(0x23f),'range':this[_0x1e430b(0x2cc)](_0x2bf181,_0xaa1b29),'sheetID':_0x2bf181,'color':this[_0x1e430b(0xc2)]['assignAColorForMemberID'](_0x2dffa6),'selection':_0x2f021f},_0xae91ed=this[_0x1e430b(0x461)];_0xae91ed[_0x1e430b(0x4a7)](_0x2dffa6,_0x46d1da),this[_0x1e430b(0x183)][_0x1e430b(0xb4)](_0xae91ed);}[_0x5d8d99(0x2a7)](_0x2a7ac8){const _0x108b02=_0x5d8d99,{memberID:_0x4a7649}=_0x2a7ac8[_0x108b02(0x376)],_0x2155ef=this['cursorInfo'];_0x2155ef[_0x108b02(0x451)](_0x4a7649),this['_cursorInfo$'][_0x108b02(0xb4)](_0x2155ef);}[_0x5d8d99(0x2cc)](_0x5b9827,_0x24c164){const _0x415448=_0x5d8d99;var _0x16d5ef,_0x25b428;const _0x3eb59e=(_0x25b428=(_0x16d5ef=this[_0x415448(0x14c)][_0x415448(0x206)](this['unitID']))==null?void 0x0:_0x16d5ef['getSheetBySheetId'](_0x5b9827))==null?void 0x0:_0x25b428['getMergeData']();return(_0x3eb59e==null?void 0x0:_0x3eb59e[_0x415448(0x8e)](_0x22da91=>_0x28c502[_0x415448(0x180)]['contains'](_0x22da91,_0x24c164)))||_0x24c164;}[_0x5d8d99(0x3b9)](){const _0x11bf99=_0x5d8d99,_0xc9c78a=new _0x28c502[(_0x11bf99(0x2f0))](),_0x3dd81b=_0x1ecc80(),_0x1fb701=()=>{const _0xe284c2=_0x11bf99;_0xc9c78a[_0xe284c2(0x50f)]();const _0x2beb89=(_0x334faa,_0x1227d9,_0x7ebcac,_0x4d1c1f)=>{const _0x1566ef=_0xe284c2;let _0x215344=[];switch(_0x334faa['id']){case _0x256063['EffectRefRangId'][_0x1566ef(0x339)]:{_0x215344=_0x256063[_0x1566ef(0x336)](_0x334faa,_0x4d1c1f);break;}case _0x256063['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x215344=_0x256063['handleDeleteRangeMoveUp'](_0x334faa,_0x4d1c1f);break;}case _0x256063[_0x1566ef(0x4e8)][_0x1566ef(0x159)]:{_0x215344=_0x256063[_0x1566ef(0xa0)](_0x334faa,_0x4d1c1f);break;}case _0x256063[_0x1566ef(0x4e8)][_0x1566ef(0x4ba)]:{_0x215344=_0x256063['handleInsertRangeMoveDown'](_0x334faa,_0x4d1c1f);break;}case _0x256063[_0x1566ef(0x4e8)][_0x1566ef(0x462)]:{_0x215344=_0x256063['handleInsertRangeMoveRight'](_0x334faa,_0x4d1c1f);break;}case _0x256063[_0x1566ef(0x4e8)][_0x1566ef(0x360)]:{_0x215344=_0x256063[_0x1566ef(0x4f1)](_0x334faa,_0x4d1c1f);break;}case _0x256063[_0x1566ef(0x4e8)][_0x1566ef(0x26d)]:{_0x215344=_0x256063['handleMoveRange'](_0x334faa,_0x4d1c1f);break;}case _0x256063[_0x1566ef(0x4e8)][_0x1566ef(0x516)]:{_0x215344=_0x256063[_0x1566ef(0x248)](_0x334faa,_0x4d1c1f);break;}case _0x256063[_0x1566ef(0x4e8)][_0x1566ef(0x394)]:{_0x215344=_0x256063['handleIRemoveRow'](_0x334faa,_0x4d1c1f);break;}}const _0x4af317=_0x256063['runRefRangeMutations'](_0x215344,_0x4d1c1f),_0x364011=this[_0x1566ef(0x461)]['get'](_0x1227d9);if(_0x364011&&_0x4af317){const _0x2104e7={..._0x364011,'range':_0x4af317};this[_0x1566ef(0x461)][_0x1566ef(0x4a7)](_0x1227d9,_0x2104e7),_0x3dd81b(()=>{const _0x169edb=_0x1566ef,_0x15f561=this[_0x169edb(0x409)][_0x169edb(0xc6)](_0x4af317,_0x35d5f4=>(_0x15f561[_0x169edb(0x50f)](),_0x2beb89(_0x35d5f4,_0x1227d9,_0x7ebcac,_0x4af317)));_0xc9c78a[_0x169edb(0x41f)](_0x15f561);});}return{'redos':[],'undos':[]};};this[_0xe284c2(0x461)][_0xe284c2(0x359)]((_0x38ef8e,_0x3f8788)=>{const _0x401805=_0xe284c2,{range:_0x193baf,sheetID:_0xb6f8d5}=_0x38ef8e,_0x313625=this['_refRangeService'][_0x401805(0xc6)](_0x193baf,_0x4e2541=>(_0x313625[_0x401805(0x50f)](),_0x2beb89(_0x4e2541,_0x3f8788,_0xb6f8d5,_0x193baf)));_0xc9c78a['add'](_0x313625);});};this['disposeWithMe'](_0x28c502[_0x11bf99(0x4fe)](this[_0x11bf99(0x183)]['subscribe'](()=>{_0x1fb701();})));}[_0x5d8d99(0x10c)](){const _0x3b0024=_0x5d8d99;var _0x255cde,_0x19387d;if(this['_online']=!0x0,((_0x255cde=this[_0x3b0024(0x14c)]['getFocusedUnit']())==null?void 0x0:_0x255cde['getUnitId']())!==this[_0x3b0024(0xe5)])return;const _0x348a49=(_0x19387d=this['_injector'][_0x3b0024(0x3a8)](_0x256063[_0x3b0024(0x2e2)])['getCurrentSelections']())==null?void 0x0:_0x19387d[0x0],_0x2caab8=this[_0x3b0024(0x14c)]['getCurrentUnitForType'](_0x28c502[_0x3b0024(0x3c0)][_0x3b0024(0x3de)])[_0x3b0024(0x337)]();_0x348a49&&_0x2caab8&&this[_0x3b0024(0x4a8)](_0x2caab8['getSheetId'](),_0x348a49);}[_0x5d8d99(0x417)](){this['_online']=!0x1;}};_0x58607f=_0x3adf22([_0x407df9(0x2,_0x28c502['Inject'](_0x28c502[_0x5d8d99(0x30d)])),_0x407df9(0x3,_0x28c502[_0x5d8d99(0x48a)](_0x5254e5)),_0x407df9(0x4,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435[_0x5d8d99(0x1a6)])),_0x407df9(0x5,_0x28c502[_0x5d8d99(0x380)]),_0x407df9(0x6,_0x28c502[_0x5d8d99(0x123)]),_0x407df9(0x7,_0x28c502[_0x5d8d99(0x48a)](_0x256063[_0x5d8d99(0x4eb)]))],_0x58607f);var _0x51040b=Object['defineProperty'],_0x1e24a8=Object[_0x5d8d99(0x48b)],_0x3c4a08=(_0x5409b4,_0x2c84f2,_0x1ec4e2,_0x5d3979)=>{const _0x557a0d=_0x5d8d99;for(var _0x55c87d=_0x5d3979>0x1?void 0x0:_0x5d3979?_0x1e24a8(_0x2c84f2,_0x1ec4e2):_0x2c84f2,_0x25c38b=_0x5409b4[_0x557a0d(0x52c)]-0x1,_0x2e4225;_0x25c38b>=0x0;_0x25c38b--)(_0x2e4225=_0x5409b4[_0x25c38b])&&(_0x55c87d=(_0x5d3979?_0x2e4225(_0x2c84f2,_0x1ec4e2,_0x55c87d):_0x2e4225(_0x55c87d))||_0x55c87d);return _0x5d3979&&_0x55c87d&&_0x51040b(_0x2c84f2,_0x1ec4e2,_0x55c87d),_0x55c87d;},_0x24143c=(_0xfa9c6,_0xcb57ff)=>(_0x44f399,_0x19763a)=>_0xcb57ff(_0x44f399,_0x19763a,_0xfa9c6);let _0x4dbe53=class extends _0x28c502[_0x5d8d99(0x156)]{constructor(_0x80af1b,_0x3b4d31,_0x423bb2){const _0x2b6d2e=_0x5d8d99;super(),_0x569acc(this,_0x2b6d2e(0x237),new Map()),_0x569acc(this,_0x2b6d2e(0x4a2),new _0x158390[(_0x2b6d2e(0x3fc))]()),(this['_univerInstanceService']=_0x80af1b,this[_0x2b6d2e(0x119)]=_0x3b4d31,this[_0x2b6d2e(0x448)]=_0x423bb2,this['_init']());}['dispose'](){const _0x408511=_0x5d8d99;super[_0x408511(0x50f)](),this[_0x408511(0x4a2)][_0x408511(0x3b7)](),this[_0x408511(0x237)]['forEach'](_0x2cce99=>_0x2cce99[_0x408511(0x50f)]());}[_0x5d8d99(0x3e4)](_0x414872){const _0x362068=_0x5d8d99;return this['_entities'][_0x362068(0xb0)](_0x414872)?this[_0x362068(0x237)]['get'](_0x414872)[_0x362068(0xb7)]:this[_0x362068(0x4a2)][_0x362068(0x4fb)](_0x158390[_0x362068(0x1ea)](_0x2afb9e=>_0x2afb9e[_0x362068(0xe5)]===_0x414872),_0x158390[_0x362068(0x4b8)](_0x512b99=>_0x512b99[_0x362068(0xb7)]));}[_0x5d8d99(0xfb)](){const _0x2d5110=_0x5d8d99;this[_0x2d5110(0x14c)][_0x2d5110(0x4f4)](_0x28c502[_0x2d5110(0x3c0)][_0x2d5110(0x3de)])['pipe'](_0x158390[_0x2d5110(0x150)](this[_0x2d5110(0x51f)]))['subscribe'](async _0x4fe89c=>{const _0x2e37c4=_0x2d5110,_0x3b7ce8=_0x4fe89c['getUnitId'](),_0x244bf5=await this['_startSheetCollabCursor'](_0x3b7ce8);this[_0x2e37c4(0x4a2)][_0x2e37c4(0xb4)](_0x244bf5),this[_0x2e37c4(0x237)]['set'](_0x3b7ce8,_0x244bf5);}),this['_univerInstanceService'][_0x2d5110(0x4f4)](_0x28c502[_0x2d5110(0x3c0)][_0x2d5110(0x358)])[_0x2d5110(0x4fb)](_0x158390[_0x2d5110(0x150)](this[_0x2d5110(0x51f)]))['pipe'](_0x158390[_0x2d5110(0x1ea)](_0x2293a4=>!_0x2293a4['getUnitId']()['startsWith']('__')))['subscribe'](async _0x5cbe4a=>{const _0x4e1a3f=_0x2d5110,_0x3fe703=_0x5cbe4a[_0x4e1a3f(0x3aa)](),_0xf44cf6=await this[_0x4e1a3f(0x2d2)](_0x3fe703);this[_0x4e1a3f(0x4a2)][_0x4e1a3f(0xb4)](_0xf44cf6),this['_entities'][_0x4e1a3f(0x4a7)](_0x3fe703,_0xf44cf6);}),_0x158390[_0x2d5110(0x3a3)](this[_0x2d5110(0x14c)]['getTypeOfUnitDisposed$'](_0x28c502[_0x2d5110(0x3c0)][_0x2d5110(0x358)]),this[_0x2d5110(0x14c)][_0x2d5110(0x488)](_0x28c502[_0x2d5110(0x3c0)]['UNIVER_SHEET']))['pipe'](_0x158390[_0x2d5110(0x150)](this[_0x2d5110(0x51f)]))[_0x2d5110(0x3d2)](_0x18bdfb=>{const _0x3a76c7=_0x2d5110,_0x1d38d1=_0x18bdfb[_0x3a76c7(0x3aa)](),_0x2108c7=this[_0x3a76c7(0x237)][_0x3a76c7(0x3a8)](_0x1d38d1);_0x2108c7&&(_0x2108c7[_0x3a76c7(0x50f)](),this[_0x3a76c7(0x237)][_0x3a76c7(0x451)](_0x1d38d1));});}async[_0x5d8d99(0xdd)](_0x557db8){const _0x18fc27=_0x5d8d99,_0xd20bae=await this[_0x18fc27(0x448)]['requireSession'](_0x557db8),_0x31052b=this[_0x18fc27(0x119)]['createInstance'](_0x58607f,_0x557db8,_0xd20bae);return _0x31052b[_0x18fc27(0x102)](),_0x31052b;}async[_0x5d8d99(0x2d2)](_0x4e18ab){const _0xc53f06=_0x5d8d99,_0x237a8c=await this['_collabSessionService'][_0xc53f06(0xc0)](_0x4e18ab),_0x262262=this['_injector']['createInstance'](_0xa35aaf,_0x4e18ab,_0x237a8c);return _0x262262[_0xc53f06(0x102)](),_0x262262;}};_0x4dbe53=_0x3c4a08([_0x24143c(0x0,_0x28c502['IUniverInstanceService']),_0x24143c(0x1,_0x28c502['Inject'](_0x28c502[_0x5d8d99(0x30d)])),_0x24143c(0x2,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435['CollaborationSessionService']))],_0x4dbe53);const _0x2476df=0x14,_0x59f7ff=0xc8,_0x3be7cf=0x4,_0x38e1d8=0x5;function _0xe6fdd0(_0x11f515,_0x4de708){const _0x1ef26d=_0x5d8d99;let {radius:_0x294f41,width:_0x3b7ac3,height:_0x173833}=_0x4de708;_0x294f41=_0x294f41!=null?_0x294f41:0x0,_0x3b7ac3=_0x3b7ac3!=null?_0x3b7ac3:0x1e,_0x173833=_0x173833!=null?_0x173833:0x1e;let _0x5dee2d=0x0,_0x32ecd9=0x0,_0x5b352a=0x0;_0x5dee2d=_0x32ecd9=_0x5b352a=Math[_0x1ef26d(0x365)](_0x294f41,_0x3b7ac3/0x2,_0x173833/0x2),_0x11f515['beginPath'](),_0x11f515[_0x1ef26d(0x471)](_0x5dee2d,0x0),_0x11f515[_0x1ef26d(0x1bb)](_0x3b7ac3-_0x32ecd9,0x0),_0x11f515[_0x1ef26d(0x468)](_0x3b7ac3-_0x32ecd9,_0x32ecd9,_0x32ecd9,Math['PI']*0x3/0x2,0x0,!0x1),_0x11f515[_0x1ef26d(0x1bb)](_0x3b7ac3,_0x173833-_0x5b352a),_0x11f515[_0x1ef26d(0x468)](_0x3b7ac3-_0x5b352a,_0x173833-_0x5b352a,_0x5b352a,0x0,Math['PI']/0x2,!0x1),_0x11f515[_0x1ef26d(0x1bb)](0x0,_0x173833),_0x11f515['lineTo'](0x0,_0x5dee2d),_0x11f515['arc'](_0x5dee2d,_0x5dee2d,_0x5dee2d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x11f515[_0x1ef26d(0x4be)](),_0x4de708[_0x1ef26d(0xf0)]&&(_0x11f515[_0x1ef26d(0x48c)](),_0x11f515['fillStyle']=_0x4de708[_0x1ef26d(0xf0)],_0x4de708['fillRule']==='evenodd'?_0x11f515[_0x1ef26d(0xf0)](_0x1ef26d(0xbb)):_0x11f515['fill'](),_0x11f515[_0x1ef26d(0x507)]());}class _0x10b498 extends _0x5474e6[_0x5d8d99(0x1e8)]{constructor(_0x59154e,_0x45ef9a){const _0x270027=_0x5d8d99;super(_0x59154e,_0x45ef9a),_0x569acc(this,_0x270027(0x128)),_0x569acc(this,_0x270027(0x21a)),(this[_0x270027(0x128)]=_0x45ef9a==null?void 0x0:_0x45ef9a['color'],this['text']=_0x45ef9a==null?void 0x0:_0x45ef9a[_0x270027(0x21a)]);}static['drawWith'](_0x2dc3ed,_0x4d1e48){const _0x1b5d9b=_0x5d8d99,{text:_0x63b04b,color:_0x1bb96c}=_0x4d1e48;_0x2dc3ed['save'](),_0x2dc3ed[_0x1b5d9b(0x356)]=_0x1b5d9b(0x3e6);const _0x6631cb=_0x2dc3ed[_0x1b5d9b(0x475)](_0x63b04b)[_0x1b5d9b(0x269)],_0x275165=Math[_0x1b5d9b(0x365)](_0x6631cb+0x2*_0x3be7cf,_0x59f7ff);_0xe6fdd0(_0x2dc3ed,{'height':_0x2476df,'radius':0x4,'width':_0x275165,'fill':_0x1bb96c,'evented':!0x1}),_0x2dc3ed[_0x1b5d9b(0x3d6)]='#FFF';const _0x2a4cc9=_0x3be7cf,_0x3b437a=_0x2476df-_0x38e1d8,_0x156a0e=_0x59f7ff-0x2*_0x3be7cf;if(_0x6631cb>_0x156a0e){let _0x7d475='',_0x4a1de8=0x0;for(const _0x1ed562 of _0x63b04b){const _0x5c814f=_0x2dc3ed[_0x1b5d9b(0x475)](_0x1ed562)['width'];if(_0x4a1de8+_0x5c814f<=_0x156a0e-_0x2dc3ed['measureText'](_0x1b5d9b(0x46b))[_0x1b5d9b(0x269)])_0x7d475+=_0x1ed562,_0x4a1de8+=_0x5c814f;else{_0x7d475+=_0x1b5d9b(0x46b);break;}}_0x2dc3ed[_0x1b5d9b(0xcc)](_0x7d475,_0x2a4cc9,_0x3b437a);}else _0x2dc3ed[_0x1b5d9b(0xcc)](_0x63b04b,_0x2a4cc9,_0x3b437a);_0x2dc3ed[_0x1b5d9b(0x507)]();}['_draw'](_0x35c55e){const _0x1ef654=_0x5d8d99;_0x10b498[_0x1ef654(0x278)](_0x35c55e,this);}}const _0x545c21='collab-text-anchor-',_0x3bc89d=_0x5d8d99(0x38c),_0x136e9d=_0x5d8d99(0x12e),_0x2e6b5d=0x6,_0x409271=1.5,_0x2c17d5=0x4,_0x3e20aa=1.5,_0x252a38=_0x5d8d99(0xf5);class _0x1eb4d7{constructor(_0x1a1541,_0xb6d367,_0x7544f8,_0x412c83){const _0x406259=_0x5d8d99;_0x569acc(this,_0x406259(0x2c0),[]),_0x569acc(this,_0x406259(0x492),null),_0x569acc(this,_0x406259(0x3ce),null),_0x569acc(this,'_anchorDot',null),_0x569acc(this,_0x406259(0x261),null),_0x569acc(this,_0x406259(0x439),null),(this['_cursor']=_0x1a1541,this['_scene']=_0xb6d367,this['_docSkeleton']=_0x7544f8,this['_document']=_0x412c83,this['_render']());}set[_0x5d8d99(0x379)](_0x41b529){const _0x387e59=_0x5d8d99;_0x41b529?(this['_anchorDot']&&this[_0x387e59(0x335)]['hide'](),this['_textBubble']&&this[_0x387e59(0x3ce)][_0x387e59(0x3ef)]()):(this[_0x387e59(0x335)]&&this[_0x387e59(0x335)][_0x387e59(0x3ef)](),this[_0x387e59(0x3ce)]&&this[_0x387e59(0x3ce)][_0x387e59(0x132)]());}[_0x5d8d99(0x50f)](){const _0x3a7466=_0x5d8d99;for(const _0x35595a of this[_0x3a7466(0x2c0)])_0x35595a['dispose']();this[_0x3a7466(0x3ce)]&&this[_0x3a7466(0x3ce)][_0x3a7466(0x50f)](),this['_anchorDot']&&this['_anchorDot'][_0x3a7466(0x50f)](),this[_0x3a7466(0x492)]&&this[_0x3a7466(0x492)]['dispose'](),this[_0x3a7466(0x439)]&&this[_0x3a7466(0x439)]();}[_0x5d8d99(0x25c)](){const _0x2258ca=_0x5d8d99;var _0x16afba;const {_docSkeleton:_0x561764,_document:_0x44bb55}=this,{color:_0x375824,name:_0x3392a8,ranges:_0x4322bf}=this[_0x2258ca(0x27f)],_0x2b17a6=_0x44bb55[_0x2258ca(0x95)](),{docsLeft:_0x52d8b7,docsTop:_0x5558e2}=_0x2b17a6,_0x12c35d=new _0x3d318b[(_0x2258ca(0x196))](_0x2b17a6,_0x561764);for(const {startOffset:_0x1c940a,endOffset:_0x4fe4ed,rangeType:_0x3a9aaa,segmentId:_0x57a8ac,segmentPage:_0x2a93c1,collapsed:_0x2a97ad,isActive:_0x5bb01c}of _0x4322bf){const _0x20d870=_0x561764[_0x2258ca(0x1e1)](_0x1c940a,!0x0,_0x57a8ac,_0x2a93c1);let _0x21f9cf=_0x561764[_0x2258ca(0x1e1)](_0x4fe4ed,!0x0,_0x57a8ac,_0x2a93c1);if(_0x21f9cf==null&&(_0x21f9cf=_0x561764[_0x2258ca(0x1e1)](_0x4fe4ed-0x1,!0x1,_0x57a8ac,_0x2a93c1)),_0x5bb01c){const {contentBoxPointGroup:_0x471928}=_0x12c35d[_0x2258ca(0x430)](_0x21f9cf,_0x21f9cf);if(_0x471928['length']===0x0)continue;this[_0x2258ca(0x3fe)](_0x375824,_0x471928,_0x52d8b7,_0x5558e2,_0x3392a8),this['_eventUnsubscribe']=this[_0x2258ca(0x429)]();}if(!_0x2a97ad&&_0x20d870&&_0x21f9cf){if(_0x3a9aaa===_0x28c502['DOC_RANGE_TYPE'][_0x2258ca(0xc8)]){const _0x3d8ec4=new _0x3d318b['NodePositionConvertToRectRange'](_0x2b17a6,_0x561764),{pointGroup:_0x1bb3ce}=(_0x16afba=_0x3d8ec4['getRangePointData'](_0x20d870,_0x21f9cf))!=null?_0x16afba:{};if(_0x1bb3ce==null||_0x1bb3ce[_0x2258ca(0x52c)]===0x0)continue;this['_drawRectRange'](_0x375824,_0x1bb3ce,_0x52d8b7,_0x5558e2);}else{const {borderBoxPointGroup:_0x3e2b70}=_0x12c35d['getRangePointData'](_0x20d870,_0x21f9cf);if(_0x3e2b70[_0x2258ca(0x52c)]===0x0)continue;this[_0x2258ca(0x121)](_0x375824,_0x3e2b70,_0x52d8b7,_0x5558e2);}}}}[_0x5d8d99(0x3fe)](_0x402d0a,_0x32f161,_0x441a73,_0x2ca3f9,_0x4a9ddd){const _0x4f9b3b=_0x5d8d99,_0x535d86=this[_0x4f9b3b(0x1ef)](_0x32f161),{left:_0x5c9437,top:_0x24d9fd,height:_0x147235}=_0x535d86,_0x1188fb=this[_0x4f9b3b(0x1be)](),_0x1d406d=_0x3e20aa/_0x1188fb,_0x4603de=new _0x5474e6[(_0x4f9b3b(0x389))](_0x545c21+_0x28c502[_0x4f9b3b(0x284)][_0x4f9b3b(0x275)](_0x2e6b5d),{'left':_0x5c9437+_0x441a73-_0x1d406d,'top':_0x24d9fd+_0x2ca3f9,'height':_0x147235,'width':_0x409271,'fill':_0x402d0a||_0x5474e6[_0x4f9b3b(0xd6)](_0x28c502['COLORS']['black'],0x0),'strokeWidth':_0x1d406d,'stroke':_0x252a38,'evented':!0x0});this[_0x4f9b3b(0x492)]=_0x4603de,this[_0x4f9b3b(0xd9)][_0x4f9b3b(0xb3)](_0x4603de,_0x3d318b[_0x4f9b3b(0x3c8)]);const _0x32bac5=new _0x5474e6[(_0x4f9b3b(0x389))](_0x545c21+_0x28c502[_0x4f9b3b(0x284)][_0x4f9b3b(0x275)](_0x2e6b5d),{'left':_0x5c9437+_0x441a73-_0x1d406d,'top':_0x24d9fd+_0x2ca3f9-_0x2c17d5/0x2,'height':_0x2c17d5,'width':_0x2c17d5,'fill':_0x402d0a||_0x5474e6[_0x4f9b3b(0xd6)](_0x28c502[_0x4f9b3b(0x31c)][_0x4f9b3b(0x2dd)],0x0),'strokeWidth':0x0,'stroke':_0x402d0a||_0x5474e6[_0x4f9b3b(0xd6)](_0x28c502[_0x4f9b3b(0x31c)][_0x4f9b3b(0x2dd)],0x0),'evented':!0x1});this[_0x4f9b3b(0x335)]=_0x32bac5,this[_0x4f9b3b(0xd9)][_0x4f9b3b(0xb3)](_0x32bac5,_0x3d318b[_0x4f9b3b(0x3c8)]);const _0x2639a4=new _0x10b498(_0x545c21+_0x28c502[_0x4f9b3b(0x284)]['generateRandomId'](_0x2e6b5d),{'left':_0x5c9437+_0x441a73-_0x1d406d,'top':_0x24d9fd+_0x2ca3f9-_0x2476df,'text':_0x4a9ddd,'color':_0x402d0a});this['_textBubble']=_0x2639a4,this[_0x4f9b3b(0xd9)]['addObject'](_0x2639a4,_0x3d318b['TEXT_RANGE_LAYER_INDEX']),this[_0x4f9b3b(0x379)]=!0x1;}[_0x5d8d99(0x429)](){const _0x34df24=_0x5d8d99,_0x1358e9=this[_0x34df24(0x492)][_0x34df24(0x188)]['subscribeEvent'](()=>{const _0x420f02=_0x34df24;this[_0x420f02(0x379)]=!0x0;}),_0xbfc795=this[_0x34df24(0x492)]['onPointerLeave$']['subscribeEvent'](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{_0x1358e9['unsubscribe'](),_0xbfc795['unsubscribe']();};}[_0x5d8d99(0x121)](_0xc67b54,_0x1dbe95,_0x2738e3,_0x3b32a7){const _0x38f6fe=_0x5d8d99,_0x2a4086=new _0x28c502['ColorKit'](_0xc67b54)['setAlpha'](0.2)[_0x38f6fe(0x402)](),_0x246d93=new _0x5474e6[(_0x38f6fe(0x37d))](_0x3bc89d+_0x28c502['Tools'][_0x38f6fe(0x275)](_0x2e6b5d),{'pointsGroup':_0x1dbe95,'fill':_0x2a4086||_0x5474e6[_0x38f6fe(0xd6)](_0x28c502['COLORS'][_0x38f6fe(0x2dd)],0.2),'left':_0x2738e3,'top':_0x3b32a7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x38f6fe(0x2c0)][_0x38f6fe(0x347)](_0x246d93),this[_0x38f6fe(0xd9)]['addObject'](_0x246d93,_0x3d318b[_0x38f6fe(0x3c8)]);}[_0x5d8d99(0x50d)](_0x13d015,_0xe3ccb5,_0x5ac221,_0x6681e2){const _0x3a2ccf=_0x5d8d99,_0x37fc38=new _0x28c502['ColorKit'](_0x13d015)[_0x3a2ccf(0x43b)](0.2)[_0x3a2ccf(0x402)](),_0x2997e4=new _0x5474e6[(_0x3a2ccf(0x37d))](_0x136e9d+_0x28c502[_0x3a2ccf(0x284)][_0x3a2ccf(0x275)](_0x2e6b5d),{'pointsGroup':_0xe3ccb5,'fill':_0x37fc38||_0x5474e6[_0x3a2ccf(0xd6)](_0x28c502[_0x3a2ccf(0x31c)][_0x3a2ccf(0x2dd)],0.2),'left':_0x5ac221,'top':_0x6681e2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3a2ccf(0x2c0)]['push'](_0x2997e4),this[_0x3a2ccf(0xd9)][_0x3a2ccf(0xb3)](_0x2997e4,_0x3d318b['TEXT_RANGE_LAYER_INDEX']);}[_0x5d8d99(0x1ef)](_0x2e5fcf){const _0x127ba5=_0x2e5fcf[0x0],_0x47ae38=_0x127ba5[0x0],_0x37e2f9=_0x127ba5[0x2],{x:_0x24072f,y:_0x43ff60}=_0x47ae38,{x:_0x1c70b5,y:_0x1f5c78}=_0x37e2f9;return{'left':_0x24072f,'top':_0x43ff60,'width':_0x1c70b5-_0x24072f,'height':_0x1f5c78-_0x43ff60};}[_0x5d8d99(0x1be)](){const _0x25476f=_0x5d8d99,{scaleX:_0xbd1616,scaleY:_0x310d98}=this[_0x25476f(0xd9)]['getAncestorScale']();return Math[_0x25476f(0xa2)](_0xbd1616,_0x310d98);}}var _0x1dd227=Object[_0x5d8d99(0x48f)],_0x542775=Object[_0x5d8d99(0x48b)],_0x3bc133=(_0x187d5f,_0x357a73,_0x378c01,_0x5c508d)=>{const _0x1d9b37=_0x5d8d99;for(var _0xb2959e=_0x5c508d>0x1?void 0x0:_0x5c508d?_0x542775(_0x357a73,_0x378c01):_0x357a73,_0x37d718=_0x187d5f[_0x1d9b37(0x52c)]-0x1,_0x24c4e2;_0x37d718>=0x0;_0x37d718--)(_0x24c4e2=_0x187d5f[_0x37d718])&&(_0xb2959e=(_0x5c508d?_0x24c4e2(_0x357a73,_0x378c01,_0xb2959e):_0x24c4e2(_0xb2959e))||_0xb2959e);return _0x5c508d&&_0xb2959e&&_0x1dd227(_0x357a73,_0x378c01,_0xb2959e),_0xb2959e;},_0x279561=(_0x5af69a,_0x4dff90)=>(_0x3305e6,_0x1e2625)=>_0x4dff90(_0x3305e6,_0x1e2625,_0x5af69a);let _0x5cdf2e=class extends _0x28c502[_0x5d8d99(0x156)]{constructor(_0x335f24,_0x154a48,_0x27f6c2,_0x1af087,_0x32f8a0){const _0x4b6764=_0x5d8d99;super(),_0x569acc(this,_0x4b6764(0x52a),[]),_0x569acc(this,_0x4b6764(0x21b),[]),(this[_0x4b6764(0x1f0)]=_0x335f24,this[_0x4b6764(0x535)]=_0x154a48,this[_0x4b6764(0x8d)]=_0x27f6c2,this[_0x4b6764(0x3a0)]=_0x1af087,this[_0x4b6764(0xeb)]=_0x32f8a0,this[_0x4b6764(0xfb)]());}[_0x5d8d99(0xfb)](){const _0x2990d9=_0x5d8d99,_0x579891=this['_context'][_0x2990d9(0x44b)],_0x3f16b6=this['_docSkeletonManagerService'];this[_0x2990d9(0x4b5)](_0x158390['combineLatest']([this[_0x2990d9(0x8d)]['getCollabCursors$'](_0x579891),this[_0x2990d9(0xeb)][_0x2990d9(0xd8)]])['pipe'](_0x9d1bc[_0x2990d9(0x1c9)](([_0x48517b,_0x5835e3])=>({'skeleton':_0x3f16b6[_0x2990d9(0x4e1)](),'cursors':[..._0x48517b[_0x2990d9(0x537)]()][_0x2990d9(0x3f2)](_0x376fca=>({..._0x376fca,'color':_0x5835e3[_0x376fca['color']]}))})))[_0x2990d9(0x3d2)](_0xd36d84=>{const _0x56370c=_0x2990d9;if(this[_0x56370c(0x3b5)](),_0xd36d84){const {skeleton:_0x29c1a4,cursors:_0x59817b}=_0xd36d84;this['_updateCollabCursors'](_0x29c1a4,_0x59817b);}})),this[_0x2990d9(0x3b3)](),this[_0x2990d9(0x11b)]();}[_0x5d8d99(0x53b)](_0x29a05b,_0x4658f2){const _0x41f809=_0x5d8d99,{scene:_0xf23fe,mainComponent:_0xc89983}=this['_context'],_0x1c5286=_0x4658f2[_0x41f809(0x1c9)](_0x31efef=>new _0x1eb4d7(_0x31efef,_0xf23fe,_0x29a05b,_0xc89983));this[_0x41f809(0x52a)]=_0x1c5286,this[_0x41f809(0x21b)]=_0x4658f2;}[_0x5d8d99(0x1a1)](){const _0x5275ba=_0x5d8d99;this[_0x5275ba(0x3b5)]();const {scene:_0x23ab92,mainComponent:_0x47ab31}=this['_context'],_0x58f364=this[_0x5275ba(0x535)]['getSkeleton'](),_0x5adf07=this[_0x5275ba(0x21b)][_0x5275ba(0x1c9)](_0x3f41fb=>new _0x1eb4d7(_0x3f41fb,_0x23ab92,_0x58f364,_0x47ab31));this[_0x5275ba(0x52a)]=_0x5adf07;}[_0x5d8d99(0x3b5)](){const _0x581a34=_0x5d8d99;this[_0x581a34(0x52a)]['forEach'](_0x4cf4ba=>_0x4cf4ba[_0x581a34(0x50f)]()),this[_0x581a34(0x52a)]=[];}[_0x5d8d99(0x11b)](){const _0x47790b=_0x5d8d99,_0x1f1192=[_0x3d318b['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x47790b(0x3a0)][_0x47790b(0x4cc)](_0x5c0984=>{const _0x442ef6=_0x47790b;_0x1f1192['includes'](_0x5c0984['id'])&&_0x5c0984[_0x442ef6(0x41c)][_0x442ef6(0x44b)]===this['_context'][_0x442ef6(0x44b)]&&this[_0x442ef6(0x1a1)]();}));}[_0x5d8d99(0x3b3)](){const _0x44c1ac=_0x5d8d99;this[_0x44c1ac(0x4b5)](_0x28c502[_0x44c1ac(0x1dd)](this['_context']['engine'][_0x44c1ac(0x100)])[_0x44c1ac(0x4fb)](_0x9d1bc[_0x44c1ac(0x1ea)](_0x1132c8=>_0x1132c8[_0x44c1ac(0x36c)]===_0x5474e6[_0x44c1ac(0xbf)]['resize']),_0x9d1bc['throttleTime'](0x10))[_0x44c1ac(0x3d2)](()=>{this['_refreshCollabCursors']();}));}};_0x5cdf2e=_0x3bc133([_0x279561(0x1,_0x28c502[_0x5d8d99(0x48a)](_0x576070[_0x5d8d99(0x531)])),_0x279561(0x2,_0x28c502[_0x5d8d99(0x48a)](_0x4dbe53)),_0x279561(0x3,_0x28c502[_0x5d8d99(0x123)]),_0x279561(0x4,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x43d)]))],_0x5cdf2e);const _0x1cdddb=0x1,_0x599714=1.5;class _0x1ef405 extends _0x5474e6['Shape']{constructor(_0x2e9e6a,_0x5c47ed){const _0x9a9205=_0x5d8d99;super(_0x2e9e6a,_0x5c47ed),_0x569acc(this,_0x9a9205(0x3a9)),_0x569acc(this,'_hovered',!0x1),_0x569acc(this,_0x9a9205(0x285)),_0x569acc(this,_0x9a9205(0x202),''),_0x569acc(this,_0x9a9205(0x291),_0x9a9205(0x274)),_0x569acc(this,'_backgroundColor'),(_0x5c47ed&&this[_0x9a9205(0x523)](_0x5c47ed),this[_0x9a9205(0x188)][_0x9a9205(0xac)](()=>this[_0x9a9205(0x523)]({'hovered':!0x0})),this[_0x9a9205(0x18f)][_0x9a9205(0xac)](()=>this[_0x9a9205(0x523)]({'hovered':!0x1})));}['setShapeProps'](_0x24a091){const _0x49f12d=_0x5d8d99;var _0x5116cb,_0x1d4973,_0x4b637d,_0x1c3033,_0x1ac49e,_0x388900;this['_color']=(_0x5116cb=_0x24a091['color'])!=null?_0x5116cb:this[_0x49f12d(0x3a9)],this[_0x49f12d(0x4b1)]=(_0x1d4973=_0x24a091['hovered'])!=null?_0x1d4973:this[_0x49f12d(0x4b1)],this[_0x49f12d(0x285)]=(_0x4b637d=_0x24a091[_0x49f12d(0x11a)])!=null?_0x4b637d:this[_0x49f12d(0x285)],this['_name']=(_0x1c3033=_0x24a091['name'])!=null?_0x1c3033:this[_0x49f12d(0x202)],this[_0x49f12d(0x291)]=(_0x1ac49e=_0x24a091['labelPosition'])!=null?_0x1ac49e:this[_0x49f12d(0x291)],this['_backgroundColor']=(_0x388900=_0x24a091[_0x49f12d(0x3ff)])!=null?_0x388900:this['_backgroundColor'],this['transformByState']({'width':_0x24a091[_0x49f12d(0x269)],'height':_0x24a091['height']});}[_0x5d8d99(0x38d)](_0x4cd001){const _0x46d05b=_0x5d8d99,{row:_0x4182af,column:_0x36ba1b}=_0x4cd001;if(_0x4182af>=this[_0x46d05b(0x285)][_0x46d05b(0xa7)]&&_0x4182af<=this[_0x46d05b(0x285)]['endRow']&&_0x36ba1b>=this[_0x46d05b(0x285)]['startColumn']&&_0x36ba1b<=this[_0x46d05b(0x285)][_0x46d05b(0x4a0)]){this[_0x46d05b(0x523)]({'hovered':!0x0});return;}this[_0x46d05b(0x523)]({'hovered':!0x1});}['triggerDblclick'](_0x27a1f3){return!0x1;}[_0x5d8d99(0x16f)](_0x32d6da){const _0x16521b=_0x5d8d99;_0x5474e6['Rect'][_0x16521b(0x278)](_0x32d6da,{'width':this[_0x16521b(0x269)],'height':this[_0x16521b(0x305)],'strokeWidth':_0x599714,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x16521b(0x3b0)]}),this[_0x16521b(0x4b1)]&&(_0x32d6da[_0x16521b(0x48c)](),_0x32d6da[_0x16521b(0x1de)](0x1,0x0,0x0,0x1,this[_0x16521b(0x269)],this[_0x16521b(0x291)]===_0x16521b(0x22c)?0x0:-_0x2476df),_0x10b498[_0x16521b(0x278)](_0x32d6da,{'text':this[_0x16521b(0x202)],'color':this[_0x16521b(0x3a9)]}),_0x32d6da['restore']());}}var _0x266305=Object[_0x5d8d99(0x48f)],_0x2912cf=Object['getOwnPropertyDescriptor'],_0x2ee006=(_0x2afc23,_0x5ae3fb,_0x1cd87d,_0x4cb539)=>{const _0x2f12ae=_0x5d8d99;for(var _0x1d924c=_0x4cb539>0x1?void 0x0:_0x4cb539?_0x2912cf(_0x5ae3fb,_0x1cd87d):_0x5ae3fb,_0x46c0fc=_0x2afc23[_0x2f12ae(0x52c)]-0x1,_0x59b5d4;_0x46c0fc>=0x0;_0x46c0fc--)(_0x59b5d4=_0x2afc23[_0x46c0fc])&&(_0x1d924c=(_0x4cb539?_0x59b5d4(_0x5ae3fb,_0x1cd87d,_0x1d924c):_0x59b5d4(_0x1d924c))||_0x1d924c);return _0x4cb539&&_0x1d924c&&_0x266305(_0x5ae3fb,_0x1cd87d,_0x1d924c),_0x1d924c;},_0x133cd6=(_0x2439bb,_0x4ab7d9)=>(_0x27b7b2,_0x36e1e1)=>_0x4ab7d9(_0x27b7b2,_0x36e1e1,_0x2439bb);const _0x2aead2=0x1389;let _0x5d55f6=class extends _0x28c502['RxDisposable']{constructor(_0x266408,_0x504d08,_0x49346a,_0x3a6440){const _0x1e6da6=_0x5d8d99;super(),_0x569acc(this,'_cursors',new Set()),_0x569acc(this,_0x1e6da6(0x4bd),null),(this[_0x1e6da6(0x1f0)]=_0x266408,this[_0x1e6da6(0x281)]=_0x504d08,this[_0x1e6da6(0x8d)]=_0x49346a,this[_0x1e6da6(0xeb)]=_0x3a6440,this['_init']());}['_init'](){const _0xe44f=_0x5d8d99;this['_sheetSkeletonManagerService'][_0xe44f(0x34d)][_0xe44f(0x4fb)](_0x9d1bc[_0xe44f(0x150)](this[_0xe44f(0x51f)]),_0x9d1bc['switchMap'](_0x44dd6b=>{const _0xef5bc8=_0xe44f;if(_0x44dd6b){const _0x366893=_0x44dd6b[_0xef5bc8(0x12d)];return _0x158390[_0xef5bc8(0x1dc)](this[_0xef5bc8(0x8d)][_0xef5bc8(0x3e4)](this[_0xef5bc8(0x1f0)][_0xef5bc8(0x44b)]),this[_0xef5bc8(0xeb)][_0xef5bc8(0xd8)])[_0xef5bc8(0x4fb)](_0x9d1bc[_0xef5bc8(0x1c9)](([_0x47b5c8,_0x3c5a73])=>{const _0x4c18a0=_0xef5bc8,_0x38cdc3=new Map();return _0x47b5c8[_0x4c18a0(0x359)]((_0x2afca6,_0x221613)=>{const _0x1dec41=_0x4c18a0;if(_0x2afca6[_0x1dec41(0x330)]===_0x366893){const _0x10bd92={..._0x2afca6};_0x10bd92['color']=_0x3c5a73[_0x2afca6[_0x1dec41(0x128)]],_0x38cdc3[_0x1dec41(0x4a7)](_0x221613,_0x10bd92);}}),{'skeleton':_0x44dd6b,'cursors':_0x38cdc3};}));}return _0x158390['of']({'skeleton':null,'cursors':new Map()});}))[_0xe44f(0x3d2)](({skeleton:_0x10aae9,cursors:_0x1fdcdb})=>{const _0x108f8e=_0xe44f;this[_0x108f8e(0x3b5)](),_0x10aae9&&this[_0x108f8e(0x53b)](_0x10aae9,_0x1fdcdb);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0xe44f(0x3d2)](_0x3d500a=>{const _0x1bece1=_0xe44f;if(_0x3d500a==null)return;const {skeleton:_0x579935}=_0x3d500a,{scene:_0x5aa01d}=this[_0x1bece1(0x1f0)];_0x5aa01d[_0x1bece1(0x172)][_0x1bece1(0xac)](_0x28c502[_0x1bece1(0x454)](_0x1e0615=>{const _0x17ae8f=_0x1bece1;var _0x42a00a,_0x317bc9;const {offsetX:_0x476cbc,offsetY:_0x2a1712}=_0x1e0615,{x:_0x42702f,y:_0x2496e3}=_0x5aa01d[_0x17ae8f(0x464)](_0x5474e6[_0x17ae8f(0x1b3)]['FromArray']([_0x476cbc,_0x2a1712])),{scaleX:_0x507ff2,scaleY:_0x2e5d90}=_0x5aa01d['getAncestorScale'](),_0x260867=_0x5aa01d[_0x17ae8f(0x1ee)](_0x5d4d05[_0x17ae8f(0xb8)][_0x17ae8f(0x17f)]),_0x39f83e=_0x5aa01d[_0x17ae8f(0x4e0)](_0x5474e6[_0x17ae8f(0x1b3)][_0x17ae8f(0x27d)]([_0x42702f,_0x2496e3]),_0x260867),_0x416a36=_0x579935[_0x17ae8f(0x2d4)](_0x476cbc,_0x2a1712,_0x507ff2,_0x2e5d90,_0x39f83e);((_0x42a00a=this['_lastPointer'])==null?void 0x0:_0x42a00a[_0x17ae8f(0x20f)])===_0x416a36['column']&&((_0x317bc9=this[_0x17ae8f(0x4bd)])==null?void 0x0:_0x317bc9['row'])===_0x416a36['row']||this[_0x17ae8f(0x21b)][_0x17ae8f(0x359)](_0x2df38d=>{const _0xaccd48=_0x17ae8f;_0x2df38d[_0xaccd48(0x38d)](_0x416a36);});},0x64));});}[_0x5d8d99(0x53b)](_0x884b5f,_0x3df6db){const _0x3ee297=_0x5d8d99;var _0x59ef29;const _0x1bad68=(_0x59ef29=this[_0x3ee297(0x281)][_0x3ee297(0x25e)]())==null?void 0x0:_0x59ef29[_0x3ee297(0x2b6)];if(!_0x1bad68)return;const _0x423c60=this[_0x3ee297(0x408)]();if(!_0x423c60)return;this[_0x3ee297(0x21b)][_0x3ee297(0x359)](_0x1103cb=>{const _0x3846c4=_0x3ee297;_0x1103cb[_0x3846c4(0x40d)]();});const {scene:_0x1e2e2f}=_0x423c60,_0x51d128=_0x2c5ffb(Array[_0x3ee297(0x4cb)](_0x3df6db[_0x3ee297(0x537)]()))[_0x3ee297(0x1c9)](_0xb9d4c6=>{const _0x5f33ff=_0x3ee297,{color:_0x53f699,range:_0x3138c0,name:_0xfbe034,selection:_0x492024,sheetID:_0x2a615b}=_0xb9d4c6,{startColumn:_0x15a3b0,startRow:_0x36041d,endColumn:_0x434d53,endRow:_0x3fdf59}=_0x3138c0,_0x380b89=_0x5d4d05['getCoordByCell'](_0x36041d,_0x15a3b0,_0x1e2e2f,_0x1bad68),_0x534794=_0x5d4d05[_0x5f33ff(0x453)](_0x3fdf59,_0x434d53,_0x1e2e2f,_0x1bad68),{columnHeaderHeightAndMarginTop:_0xf715f4}=_0x1bad68,{startX:_0x6870fd,startY:_0x27922a}=_0x380b89,{endX:_0x116717,endY:_0x9734ee}=_0x534794,_0x3f0815=_0x116717-_0x6870fd,_0x1fae02=_0x9734ee-_0x27922a,_0x40fa7c={'labelPosition':_0x27922a-_0xf715f4>=_0x2476df?_0x5f33ff(0x274):'bottom','sheetID':_0x2a615b,'range':_0x3138c0,'color':_0x53f699,'name':_0xfbe034,'selection':_0x492024,'left':_0x6870fd,'top':_0x27922a,'width':_0x3f0815,'height':_0x1fae02,'evented':!0x1,'zIndex':_0x2aead2};return new _0x1ef405(_0xfbe034,_0x40fa7c);});_0x1e2e2f[_0x3ee297(0xa4)](_0x51d128,_0x1cdddb),this['_cursors']=new Set(_0x51d128);}[_0x5d8d99(0x3b5)](){const _0x17b176=_0x5d8d99;var _0x4dce90;(_0x4dce90=this[_0x17b176(0x21b)])==null||_0x4dce90['forEach'](_0x2d8ae1=>_0x2d8ae1[_0x17b176(0x50f)]());}[_0x5d8d99(0x408)](){const _0x28900a=_0x5d8d99;return _0x5d4d05[_0x28900a(0x404)](this[_0x28900a(0x1f0)]['unit'],this[_0x28900a(0x1f0)]);}};_0x5d55f6=_0x2ee006([_0x133cd6(0x1,_0x28c502[_0x5d8d99(0x48a)](_0x5d4d05[_0x5d8d99(0x23c)])),_0x133cd6(0x2,_0x28c502[_0x5d8d99(0x48a)](_0x4dbe53)),_0x133cd6(0x3,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x43d)]))],_0x5d55f6);function _0x2c5ffb(_0x5b1405){const _0x269487=_0x5d8d99,_0x1c6bbd=new Map();return _0x5b1405[_0x269487(0x359)](_0x2ef51e=>{const _0x29e31b=_0x269487;if(_0x1c6bbd[_0x29e31b(0xb0)](_0x2ef51e[_0x29e31b(0x45e)])){const _0x312ada=_0x1c6bbd[_0x29e31b(0x3a8)](_0x2ef51e[_0x29e31b(0x45e)]);_0x312ada[_0x29e31b(0x1fa)]+=',\x20'+_0x2ef51e['name'];}else _0x1c6bbd[_0x29e31b(0x4a7)](_0x2ef51e[_0x29e31b(0x45e)],_0x2ef51e);}),Array[_0x269487(0x4cb)](_0x1c6bbd[_0x269487(0x537)]());}var _0x5d33cd=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x4f174d(_0x3bfc0b){const _0x220505=_0x5d8d99;return _0x3bfc0b&&_0x3bfc0b[_0x220505(0x17c)]&&Object[_0x220505(0x243)][_0x220505(0xcd)][_0x220505(0xcf)](_0x3bfc0b,_0x220505(0x32f))?_0x3bfc0b[_0x220505(0x32f)]:_0x3bfc0b;}var _0x53d813={'exports':{}},_0x20a592={},_0x2a21ac=_0x25eca3,_0x28a53e=Symbol['for'](_0x5d8d99(0x10d)),_0x230974=Symbol[_0x5d8d99(0x1f4)](_0x5d8d99(0x148)),_0x39f7ae=Object[_0x5d8d99(0x243)][_0x5d8d99(0xcd)],_0x203996=_0x2a21ac[_0x5d8d99(0x482)][_0x5d8d99(0x39c)],_0x3409dd={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x55aaeb(_0x422cb0,_0x47bf43,_0x1db5df){const _0x26c3fd=_0x5d8d99;var _0x30cd5c,_0x2af5cd={},_0x2b064c=null,_0x19c5f8=null;_0x1db5df!==void 0x0&&(_0x2b064c=''+_0x1db5df),_0x47bf43[_0x26c3fd(0x3f9)]!==void 0x0&&(_0x2b064c=''+_0x47bf43[_0x26c3fd(0x3f9)]),_0x47bf43[_0x26c3fd(0x125)]!==void 0x0&&(_0x19c5f8=_0x47bf43[_0x26c3fd(0x125)]);for(_0x30cd5c in _0x47bf43)_0x39f7ae[_0x26c3fd(0xcf)](_0x47bf43,_0x30cd5c)&&!_0x3409dd[_0x26c3fd(0xcd)](_0x30cd5c)&&(_0x2af5cd[_0x30cd5c]=_0x47bf43[_0x30cd5c]);if(_0x422cb0&&_0x422cb0[_0x26c3fd(0x423)]){for(_0x30cd5c in(_0x47bf43=_0x422cb0[_0x26c3fd(0x423)],_0x47bf43))_0x2af5cd[_0x30cd5c]===void 0x0&&(_0x2af5cd[_0x30cd5c]=_0x47bf43[_0x30cd5c]);}return{'$$typeof':_0x28a53e,'type':_0x422cb0,'key':_0x2b064c,'ref':_0x19c5f8,'props':_0x2af5cd,'_owner':_0x203996[_0x26c3fd(0x309)]};}_0x20a592[_0x5d8d99(0xa1)]=_0x230974,_0x20a592[_0x5d8d99(0x1ad)]=_0x55aaeb,_0x20a592[_0x5d8d99(0x378)]=_0x55aaeb,_0x53d813[_0x5d8d99(0x3fd)]=_0x20a592;var _0x2f6fbb=_0x53d813[_0x5d8d99(0x3fd)],_0x3cc7d7=function(){const _0x434241=_0x5d8d99;return _0x3cc7d7=Object[_0x434241(0x29a)]||function(_0x56d187){const _0xdb418c=_0x434241;for(var _0x50c6bc,_0x141453=0x1,_0x325434=arguments[_0xdb418c(0x52c)];_0x141453<_0x325434;_0x141453++){_0x50c6bc=arguments[_0x141453];for(var _0x25047d in _0x50c6bc)Object[_0xdb418c(0x243)][_0xdb418c(0xcd)][_0xdb418c(0xcf)](_0x50c6bc,_0x25047d)&&(_0x56d187[_0x25047d]=_0x50c6bc[_0x25047d]);}return _0x56d187;},_0x3cc7d7['apply'](this,arguments);},_0x187cc4=function(_0x53e8ca,_0x87d1dd){const _0x40f2c6=_0x5d8d99;var _0x1af314={};for(var _0x2a5c4e in _0x53e8ca)Object[_0x40f2c6(0x243)][_0x40f2c6(0xcd)][_0x40f2c6(0xcf)](_0x53e8ca,_0x2a5c4e)&&_0x87d1dd['indexOf'](_0x2a5c4e)<0x0&&(_0x1af314[_0x2a5c4e]=_0x53e8ca[_0x2a5c4e]);if(_0x53e8ca!=null&&typeof Object[_0x40f2c6(0x34b)]==_0x40f2c6(0x138)){for(var _0x41fc79=0x0,_0x2a5c4e=Object[_0x40f2c6(0x34b)](_0x53e8ca);_0x41fc79<_0x2a5c4e[_0x40f2c6(0x52c)];_0x41fc79++)_0x87d1dd[_0x40f2c6(0x31a)](_0x2a5c4e[_0x41fc79])<0x0&&Object[_0x40f2c6(0x243)][_0x40f2c6(0x383)][_0x40f2c6(0xcf)](_0x53e8ca,_0x2a5c4e[_0x41fc79])&&(_0x1af314[_0x2a5c4e[_0x41fc79]]=_0x53e8ca[_0x2a5c4e[_0x41fc79]]);}return _0x1af314;},_0x388444=_0x25eca3[_0x5d8d99(0xf9)](function(_0x357f43,_0x149bda){const _0x5ef452=_0x5d8d99;var _0xa44a6e=_0x357f43[_0x5ef452(0x256)],_0x38156e=_0x357f43['id'],_0x57c8a5=_0x357f43[_0x5ef452(0x306)],_0x210eb4=_0x357f43[_0x5ef452(0x352)],_0x592f79=_0x187cc4(_0x357f43,[_0x5ef452(0x256),'id',_0x5ef452(0x306),_0x5ef452(0x352)]),_0x161659=_0x5ef452(0x28a)[_0x5ef452(0x1b5)](_0x38156e,'\x20')[_0x5ef452(0x1b5)](_0x57c8a5||'')['trim'](),_0x734748=_0x25eca3[_0x5ef452(0x391)]('_'[_0x5ef452(0x1b5)](_0x471f12()));return _0x419a88(_0xa44a6e,''['concat'](_0x38156e),{'defIds':_0xa44a6e[_0x5ef452(0x16b)],'idSuffix':_0x734748[_0x5ef452(0x309)]},_0x3cc7d7({'ref':_0x149bda,'className':_0x161659},_0x592f79),_0x210eb4);});function _0x419a88(_0x31d459,_0x289669,_0x3b4ab8,_0x28e711,_0x2252cf){const _0x1ee821=_0x5d8d99;return _0x25eca3[_0x1ee821(0x388)](_0x31d459[_0x1ee821(0x12b)],_0x3cc7d7(_0x3cc7d7({'key':_0x289669},_0x1550f6(_0x31d459,_0x3b4ab8,_0x2252cf)),_0x28e711),(_0x44d4bc(_0x31d459,_0x3b4ab8)[_0x1ee821(0x321)]||[])[_0x1ee821(0x1c9)](function(_0x318142,_0x157c77){const _0x4ea2b2=_0x1ee821;return _0x419a88(_0x318142,''['concat'](_0x289669,'-')['concat'](_0x31d459[_0x4ea2b2(0x12b)],'-')[_0x4ea2b2(0x1b5)](_0x157c77),_0x3b4ab8,void 0x0,_0x2252cf);}));}function _0x1550f6(_0x25bed7,_0x12a0aa,_0x159f50){const _0x51dc11=_0x5d8d99;var _0x3c68d4=_0x3cc7d7({},_0x25bed7[_0x51dc11(0x510)]);_0x159f50!=null&&_0x159f50[_0x51dc11(0x42a)]&&_0x3c68d4['fill']===_0x51dc11(0x42a)&&(_0x3c68d4[_0x51dc11(0xf0)]=_0x159f50[_0x51dc11(0x42a)]);var _0x29ca3b=_0x12a0aa[_0x51dc11(0x16b)];return!_0x29ca3b||_0x29ca3b[_0x51dc11(0x52c)]===0x0||(_0x25bed7[_0x51dc11(0x12b)]===_0x51dc11(0x4fa)&&_0x3c68d4[_0x51dc11(0x147)]&&(_0x3c68d4['xlink:href']=_0x3c68d4['xlink:href']+_0x12a0aa['idSuffix']),Object[_0x51dc11(0xd7)](_0x3c68d4)[_0x51dc11(0x359)](function(_0xbc0506){const _0x2b091a=_0x51dc11;var _0x5ef945=_0xbc0506[0x0],_0x43c039=_0xbc0506[0x1];typeof _0x43c039==_0x2b091a(0x452)&&(_0x3c68d4[_0x5ef945]=_0x43c039[_0x2b091a(0x29d)](/url\(#(.*)\)/,_0x2b091a(0x2de)[_0x2b091a(0x1b5)](_0x12a0aa['idSuffix'],')')));})),_0x3c68d4;}function _0x44d4bc(_0x2c67b6,_0x45f121){const _0x46631e=_0x5d8d99;var _0x3734b1,_0x27ba4b=_0x45f121['defIds'];return!_0x27ba4b||_0x27ba4b[_0x46631e(0x52c)]===0x0?_0x2c67b6:_0x2c67b6[_0x46631e(0x12b)]==='defs'&&(!((_0x3734b1=_0x2c67b6['children'])===null||_0x3734b1===void 0x0)&&_0x3734b1[_0x46631e(0x52c)])?_0x3cc7d7(_0x3cc7d7({},_0x2c67b6),{'children':_0x2c67b6[_0x46631e(0x321)][_0x46631e(0x1c9)](function(_0xfb1c57){const _0x195bb5=_0x46631e;return typeof _0xfb1c57['attrs']['id']==_0x195bb5(0x452)&&_0x27ba4b&&_0x27ba4b[_0x195bb5(0x31a)](_0xfb1c57[_0x195bb5(0x510)]['id'])>-0x1?_0x3cc7d7(_0x3cc7d7({},_0xfb1c57),{'attrs':_0x3cc7d7(_0x3cc7d7({},_0xfb1c57['attrs']),{'id':_0xfb1c57[_0x195bb5(0x510)]['id']+_0x45f121[_0x195bb5(0x406)]})}):_0xfb1c57;})}):_0x2c67b6;}function _0x471f12(){const _0x520f9d=_0x5d8d99;return Math[_0x520f9d(0x198)]()[_0x520f9d(0xbe)](0x24)[_0x520f9d(0x32c)](0x2,0x8);}_0x388444[_0x5d8d99(0x405)]='UniverIcon';var _0x5ca583={'tag':'svg','attrs':{'fill':_0x5d8d99(0x460),'viewBox':_0x5d8d99(0x19c),'width':_0x5d8d99(0x234),'height':_0x5d8d99(0x234)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x5d8d99(0x44c),'attrs':{'stroke':_0x5d8d99(0x493),'d':_0x5d8d99(0x187),'strokeLinecap':_0x5d8d99(0x30e),'strokeLinejoin':_0x5d8d99(0x30e),'strokeWidth':1.2}}]},{'tag':_0x5d8d99(0x317),'attrs':{},'children':[{'tag':_0x5d8d99(0x15b),'attrs':{'id':_0x5d8d99(0x191)},'children':[{'tag':_0x5d8d99(0x44c),'attrs':{'fill':_0x5d8d99(0x1f3),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5d8d99(0x191)]},_0x5cb0e0=_0x25eca3[_0x5d8d99(0xf9)](function(_0x46a88c,_0x1668ad){const _0x17e2e1=_0x5d8d99;return _0x25eca3[_0x17e2e1(0x388)](_0x388444,Object[_0x17e2e1(0x29a)]({},_0x46a88c,{'id':_0x17e2e1(0x208),'ref':_0x1668ad,'icon':_0x5ca583}));});_0x5cb0e0['displayName']=_0x5d8d99(0x168);var _0x2755ec={'tag':_0x5d8d99(0x528),'attrs':{'fill':'none','viewBox':_0x5d8d99(0x4ec),'width':_0x5d8d99(0x234),'height':_0x5d8d99(0x234)},'children':[{'tag':'g','attrs':{'clipPath':_0x5d8d99(0x29e)},'children':[{'tag':'path','attrs':{'stroke':_0x5d8d99(0x493),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x5d8d99(0x30e),'strokeWidth':1.2}}]},{'tag':_0x5d8d99(0x317),'attrs':{},'children':[{'tag':_0x5d8d99(0x15b),'attrs':{'id':_0x5d8d99(0x4a3)},'children':[{'tag':_0x5d8d99(0x44c),'attrs':{'fill':'#fff','d':_0x5d8d99(0x14f),'transform':_0x5d8d99(0x16e)}}]}]}],'defIds':[_0x5d8d99(0x4a3)]},_0x5b3f1a=_0x25eca3[_0x5d8d99(0xf9)](function(_0x37a869,_0x81f4cd){const _0x34a3ec=_0x5d8d99;return _0x25eca3[_0x34a3ec(0x388)](_0x388444,Object[_0x34a3ec(0x29a)]({},_0x37a869,{'id':_0x34a3ec(0x390),'ref':_0x81f4cd,'icon':_0x2755ec}));});_0x5b3f1a[_0x5d8d99(0x405)]='OnLineSingle';function _0x5b8df6(_0xd7cf9f){const _0x543036=_0x5d8d99;var _0x4a9dc4,_0x2d2c9f,_0x790dc1='';if(typeof _0xd7cf9f==_0x543036(0x452)||typeof _0xd7cf9f==_0x543036(0x340))_0x790dc1+=_0xd7cf9f;else{if(typeof _0xd7cf9f=='object'){if(Array[_0x543036(0x287)](_0xd7cf9f)){var _0x170eae=_0xd7cf9f[_0x543036(0x52c)];for(_0x4a9dc4=0x0;_0x4a9dc4<_0x170eae;_0x4a9dc4++)_0xd7cf9f[_0x4a9dc4]&&(_0x2d2c9f=_0x5b8df6(_0xd7cf9f[_0x4a9dc4]))&&(_0x790dc1&&(_0x790dc1+='\x20'),_0x790dc1+=_0x2d2c9f);}else{for(_0x2d2c9f in _0xd7cf9f)_0xd7cf9f[_0x2d2c9f]&&(_0x790dc1&&(_0x790dc1+='\x20'),_0x790dc1+=_0x2d2c9f);}}}return _0x790dc1;}function _0x4cca33(){const _0x12e207=_0x5d8d99;for(var _0x1eda51,_0x340cfc,_0x433b7a=0x0,_0x1b8c5a='',_0x34a109=arguments[_0x12e207(0x52c)];_0x433b7a<_0x34a109;_0x433b7a++)(_0x1eda51=arguments[_0x433b7a])&&(_0x340cfc=_0x5b8df6(_0x1eda51))&&(_0x1b8c5a&&(_0x1b8c5a+='\x20'),_0x1b8c5a+=_0x340cfc);return _0x1b8c5a;}const _0x4386b8={'onlineStatusIcon':_0x5d8d99(0x325),'onlineStatusTitle':_0x5d8d99(0x3ae),'onlineStatus':'univer-online-status','online':_0x5d8d99(0xf4),'offline':'univer-offline'};function _0x1ad1ea(_0x5376dd){const _0x2103dd=_0x5d8d99;switch(_0x5376dd){case _0xda01df[_0x2103dd(0x515)]:return _0x2103dd(0x485);case _0xda01df['CONFLICT']:return'collabStatus.conflict';case _0xda01df['FETCH_MISS']:return _0x2103dd(0x18d);case _0xda01df[_0x2103dd(0xe3)]:return _0x2103dd(0xc3);case _0xda01df['AWAITING']:case _0xda01df[_0x2103dd(0x522)]:return _0x2103dd(0x4f9);case _0xda01df[_0x2103dd(0x3f3)]:case _0xda01df['PENDING']:return _0x2103dd(0x28d);}}function _0x1a6fe6(_0x580367){const _0x52f4ce=_0x5d8d99,{status$:_0x311bb7}=_0x580367,_0x6cbc05=_0x28a60c[_0x52f4ce(0x24e)](_0x311bb7,_0xda01df[_0x52f4ce(0xe3)]),_0xfb8e91=_0x28c502['useDependency'](_0x28c502[_0x52f4ce(0x469)]),_0x2d7776=_0x28c502['useDependency'](_0x4c1435[_0x52f4ce(0x2b2)]),_0x1268ad=_0x6cbc05!==_0xda01df[_0x52f4ce(0x515)],_0x33bb5a=_0xfb8e91['t'](_0x1ad1ea(_0x6cbc05)),_0x5f1e0a=_0x4cca33(_0x4386b8[_0x52f4ce(0x116)],{[_0x4386b8[_0x52f4ce(0x481)]]:_0x1268ad,[_0x4386b8[_0x52f4ce(0x90)]]:!_0x1268ad}),_0x5bfbb3=_0x1268ad?_0x2f6fbb[_0x52f4ce(0x1ad)](_0x5b3f1a,{}):_0x2f6fbb['jsx'](_0x5cb0e0,{}),_0x57ba94=_0x25eca3['useCallback'](()=>{const _0x505866=_0x52f4ce;_0x1268ad||_0x2d7776[_0x505866(0x3ee)]();},[_0x1268ad,_0x2d7776]);function _0x3e64d2(){const _0x39e462=_0x52f4ce;return _0x2f6fbb[_0x39e462(0x378)](_0x39e462(0x43e),{'className':_0x5f1e0a,'onClick':_0x57ba94,'children':[_0x2f6fbb[_0x39e462(0x1ad)]('div',{'className':_0x4386b8[_0x39e462(0x4e6)],'children':_0x5bfbb3}),_0x2f6fbb[_0x39e462(0x1ad)](_0x39e462(0x43e),{'className':_0x4386b8[_0x39e462(0xe0)],'children':_0x33bb5a})]});}return _0x1268ad?_0x3e64d2():_0x2f6fbb['jsx'](_0x4fac56[_0x52f4ce(0x372)],{'title':_0xfb8e91['t'](_0x52f4ce(0x4d3)),'children':_0x3e64d2()});}var _0x5e30f8=Object[_0x5d8d99(0x48f)],_0x5eadc2=Object['getOwnPropertyDescriptor'],_0x44c4f8=(_0x1d51d4,_0x4f0e62,_0x4cfd92,_0x329e4e)=>{const _0x144fa5=_0x5d8d99;for(var _0xb4b76f=_0x329e4e>0x1?void 0x0:_0x329e4e?_0x5eadc2(_0x4f0e62,_0x4cfd92):_0x4f0e62,_0x259322=_0x1d51d4[_0x144fa5(0x52c)]-0x1,_0x5d1774;_0x259322>=0x0;_0x259322--)(_0x5d1774=_0x1d51d4[_0x259322])&&(_0xb4b76f=(_0x329e4e?_0x5d1774(_0x4f0e62,_0x4cfd92,_0xb4b76f):_0x5d1774(_0xb4b76f))||_0xb4b76f);return _0x329e4e&&_0xb4b76f&&_0x5e30f8(_0x4f0e62,_0x4cfd92,_0xb4b76f),_0xb4b76f;},_0x2b997a=(_0x5f6f31,_0x59984f)=>(_0x3fbd5f,_0x4e3460)=>_0x59984f(_0x3fbd5f,_0x4e3460,_0x5f6f31);_0x4c1435[_0x5d8d99(0x8b)]=class extends _0x28c502[_0x5d8d99(0x24b)]{constructor(_0x3c1914,_0x3710db,_0xcfd23a,_0x3f80e9){const _0x11dec0=_0x5d8d99;super(),_0x569acc(this,'_status$',new _0x158390[(_0x11dec0(0x146))](_0xda01df['NOT_COLLAB'])),(this['_univerInstanceService']=_0x3c1914,this[_0x11dec0(0x506)]=_0x3710db,this[_0x11dec0(0x119)]=_0xcfd23a,this[_0x11dec0(0x288)]=_0x3f80e9,this[_0x11dec0(0x50c)](),this[_0x11dec0(0x2f9)]());}[_0x5d8d99(0x2f9)](){const _0x119f18=_0x5d8d99;this[_0x119f18(0x4b5)](this[_0x119f18(0x14c)]['focused$'][_0x119f18(0x4fb)](_0x158390['switchMap'](()=>{const _0x5b76a7=_0x119f18,_0x18763f=this[_0x5b76a7(0x14c)][_0x5b76a7(0x39e)]();return _0x18763f?this[_0x5b76a7(0x288)][_0x5b76a7(0x3ca)](_0x18763f[_0x5b76a7(0x3aa)]()):_0x158390['of'](null);}),_0x158390[_0x119f18(0x4b8)](_0x3c4d3a=>_0x3c4d3a?_0x3c4d3a[_0x119f18(0x2e4)]:_0x158390['of'](_0xda01df['NOT_COLLAB'])))[_0x119f18(0x3d2)](_0x185525=>{const _0x319678=_0x119f18;this['_status$'][_0x319678(0xb4)](_0x185525);}));}[_0x5d8d99(0x50c)](){const _0x4bf679=_0x5d8d99;this['disposeWithMe'](this[_0x4bf679(0x506)]['registerComponent'](_0x28a60c[_0x4bf679(0x2fe)][_0x4bf679(0x2ef)],()=>_0x28c502['connectInjector'](_0x4d25e0({'status$':this['_status$'][_0x4bf679(0x4ae)]()}),this[_0x4bf679(0x119)])));}},_0x4c1435[_0x5d8d99(0x8b)]=_0x44c4f8([_0x2b997a(0x0,_0x28c502[_0x5d8d99(0x380)]),_0x2b997a(0x1,_0x28a60c['IUIPartsService']),_0x2b997a(0x2,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x2b997a(0x3,_0x28c502['Inject'](_0x4c1435[_0x5d8d99(0x4dc)]))],_0x4c1435[_0x5d8d99(0x8b)]);function _0x4d25e0(_0x15c79a){const {status$:_0x9c3026}=_0x15c79a;return function(){const _0x4b9508=_0x3a4a;return _0x2f6fbb[_0x4b9508(0x1ad)](_0x1a6fe6,{'status$':_0x9c3026});};}const _0x59b0fb=_0x28c502[_0x5d8d99(0x401)]('uni.network.url-service');var _0x347d9b=Object[_0x5d8d99(0x48f)],_0x170718=Object['getOwnPropertyDescriptor'],_0x5813fd=(_0x20e5eb,_0x58b860,_0x1903cd,_0xa45cfb)=>{const _0x39f672=_0x5d8d99;for(var _0x56fa61=_0xa45cfb>0x1?void 0x0:_0xa45cfb?_0x170718(_0x58b860,_0x1903cd):_0x58b860,_0x2a89f3=_0x20e5eb[_0x39f672(0x52c)]-0x1,_0x3ee07c;_0x2a89f3>=0x0;_0x2a89f3--)(_0x3ee07c=_0x20e5eb[_0x2a89f3])&&(_0x56fa61=(_0xa45cfb?_0x3ee07c(_0x58b860,_0x1903cd,_0x56fa61):_0x3ee07c(_0x56fa61))||_0x56fa61);return _0xa45cfb&&_0x56fa61&&_0x347d9b(_0x58b860,_0x1903cd,_0x56fa61),_0x56fa61;},_0x26ac20=(_0x40b4ea,_0x4862ca)=>(_0x5e052a,_0x9de3c8)=>_0x4862ca(_0x5e052a,_0x9de3c8,_0x40b4ea);_0x4c1435[_0x5d8d99(0x233)]=class extends _0x28c502['RxDisposable']{constructor(_0x16dfc5,_0x380638,_0x460830,_0x21f9c4,_0xa3a9ed,_0x371817){const _0x55a7c4=_0x5d8d99;super(),this['_urlService']=_0x16dfc5,this[_0x55a7c4(0x414)]=_0x380638,this['_commandService']=_0x460830,this[_0x55a7c4(0x474)]=_0x21f9c4,this[_0x55a7c4(0x35d)]=_0xa3a9ed,_0x371817?_0x371817==null||_0x371817[_0x55a7c4(0x42e)]()[_0x55a7c4(0x3a6)](()=>this['_init']()):(this['_logService'][_0x55a7c4(0x4c0)]('[DataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x55a7c4(0xfb)]());}async[_0x5d8d99(0xfb)](){const _0x4cb8d4=_0x5d8d99,_0x5405f0=this[_0x4cb8d4(0x2f1)][_0x4cb8d4(0xe2)]('unit'),_0xa7a01b=this[_0x4cb8d4(0x2f1)][_0x4cb8d4(0xe2)](_0x4cb8d4(0x36c));if(!_0x5405f0||!_0xa7a01b){this[_0x4cb8d4(0x414)][_0x4cb8d4(0x4c0)]('[DataLoaderController]',_0x4cb8d4(0x3b6));return;}switch(Number(_0xa7a01b)){case _0x5b91b5[_0x4cb8d4(0x3de)]:{const _0x30c023=await this[_0x4cb8d4(0x36a)](_0x5405f0);this[_0x4cb8d4(0x101)](_0x30c023);break;}case _0x5b91b5[_0x4cb8d4(0x358)]:{await this['_loadDoc'](_0x5405f0);break;}default:{this[_0x4cb8d4(0x414)][_0x4cb8d4(0x13c)](_0x4cb8d4(0x8a),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x5d8d99(0x101)](_0x24f8d6){const _0x1bb76e=_0x5d8d99;await this[_0x1bb76e(0x1df)](_0x24f8d6),_0x24f8d6[_0x1bb76e(0x46d)]['pipe'](_0x158390[_0x1bb76e(0x150)](this[_0x1bb76e(0x51f)]))['subscribe'](_0x28bfae=>{const _0x3ae1ac=_0x1bb76e;_0x28bfae&&this[_0x3ae1ac(0x362)](_0x28bfae);}),this[_0x1bb76e(0x2f1)][_0x1bb76e(0x472)]['pipe'](_0x158390[_0x1bb76e(0x150)](this[_0x1bb76e(0x51f)]))[_0x1bb76e(0x3d2)](()=>this[_0x1bb76e(0x1df)](_0x24f8d6));}[_0x5d8d99(0x362)](_0xba988,_0x9134eb=!0x1){const _0xfeace1=_0x5d8d99,_0x56274c=this['_urlService']['getParam'](_0xfeace1(0x252));_0xba988[_0xfeace1(0x3c1)]()!==_0x56274c&&this['_urlService']['setParam']('subunit',_0xba988[_0xfeace1(0x3c1)](),_0x9134eb);}async[_0x5d8d99(0x1df)](_0x1c832b){const _0x4e8bee=_0x5d8d99;var _0xc86d20;const _0x4bce29=this[_0x4e8bee(0x2f1)]['getParam'](_0x4e8bee(0x252));if(!_0x4bce29||!_0x1c832b[_0x4e8bee(0x1aa)](_0x4bce29)){const _0x2881ee=_0x1c832b[_0x4e8bee(0x38e)]()[0x0],_0x30eafc=_0x1c832b['getSheetBySheetId'](_0x2881ee);if(!_0x30eafc)return;this[_0x4e8bee(0x362)](_0x30eafc,!0x0),await this[_0x4e8bee(0x3a0)][_0x4e8bee(0x38f)](_0x256063[_0x4e8bee(0x377)]['id'],{'unitId':_0x1c832b['getUnitId'](),'subUnitId':_0x2881ee});return;}((_0xc86d20=_0x1c832b['getActiveSheet']())==null?void 0x0:_0xc86d20[_0x4e8bee(0x3c1)]())!==_0x4bce29&&await this[_0x4e8bee(0x3a0)][_0x4e8bee(0x38f)](_0x256063[_0x4e8bee(0x377)]['id'],{'unitId':_0x1c832b[_0x4e8bee(0x3aa)](),'subUnitId':_0x4bce29});}async['_loadSheet'](_0x57fc6b){const _0x1e510c=_0x5d8d99;let _0x40bd3c=0x0;const _0x120df2=await this['_localCacheService'][_0x1e510c(0x2a0)](_0x57fc6b);return _0x120df2&&(_0x120df2['awaitingChangeset']||_0x120df2[_0x1e510c(0x31f)]['length']!==0x0)&&(_0x40bd3c=_0x120df2[_0x1e510c(0x9d)]),_0x40bd3c===0x0&&this['_logService'][_0x1e510c(0x4c0)]('[DataLoaderController]',_0x1e510c(0x46a)),this['_snapshotService'][_0x1e510c(0x236)](_0x57fc6b,_0x40bd3c);}async['_loadDoc'](_0x1307c1){const _0x255835=_0x5d8d99;let _0x5335f6=0x0;const _0x3f712d=await this[_0x255835(0x474)]['loadOfflineData'](_0x1307c1);return _0x3f712d&&(_0x3f712d[_0x255835(0x4e5)]||_0x3f712d[_0x255835(0x31f)][_0x255835(0x52c)]!==0x0)&&(_0x5335f6=_0x3f712d[_0x255835(0x9d)]),_0x5335f6===0x0&&this[_0x255835(0x414)]['debug']('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x255835(0x35d)][_0x255835(0x495)](_0x1307c1,_0x5335f6);}},_0x4c1435[_0x5d8d99(0x233)]=_0x5813fd([_0x26ac20(0x0,_0x59b0fb),_0x26ac20(0x1,_0x28c502[_0x5d8d99(0xad)]),_0x26ac20(0x2,_0x28c502[_0x5d8d99(0x123)]),_0x26ac20(0x3,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435[_0x5d8d99(0x92)])),_0x26ac20(0x4,_0x28c502[_0x5d8d99(0x48a)](_0x50e560['SnapshotService'])),_0x26ac20(0x5,_0x28c502[_0x5d8d99(0x115)](_0x5d6b13[_0x5d8d99(0x2e9)]))],_0x4c1435[_0x5d8d99(0x233)]);var _0xcb5539=Object['defineProperty'],_0x54770b=Object[_0x5d8d99(0x48b)],_0x2345e1=(_0x44a52b,_0x26f846,_0x1af3d6,_0x2588d8)=>{const _0x21e155=_0x5d8d99;for(var _0xd8ad93=_0x2588d8>0x1?void 0x0:_0x2588d8?_0x54770b(_0x26f846,_0x1af3d6):_0x26f846,_0xa669a7=_0x44a52b[_0x21e155(0x52c)]-0x1,_0x3969a2;_0xa669a7>=0x0;_0xa669a7--)(_0x3969a2=_0x44a52b[_0xa669a7])&&(_0xd8ad93=(_0x2588d8?_0x3969a2(_0x26f846,_0x1af3d6,_0xd8ad93):_0x3969a2(_0xd8ad93))||_0xd8ad93);return _0x2588d8&&_0xd8ad93&&_0xcb5539(_0x26f846,_0x1af3d6,_0xd8ad93),_0xd8ad93;},_0x4fd468=(_0x4528ca,_0xa757a)=>(_0x869867,_0x8cea1)=>_0xa757a(_0x869867,_0x8cea1,_0x4528ca);const _0x1a6123='DEFAULT_FILE_NAME',_0xe5c190='Univer';let _0x3b5673=class extends _0x28c502['Disposable']{constructor(_0x2e333a,_0x3ea010){const _0x4972d2=_0x5d8d99;super(),this[_0x4972d2(0x14c)]=_0x2e333a,this['_configService']=_0x3ea010,this[_0x4972d2(0xfb)]();}[_0x5d8d99(0xfb)](){const _0x295ff7=_0x5d8d99;this['disposeWithMe'](this['_univerInstanceService'][_0x295ff7(0x48e)][_0x295ff7(0x3d2)](()=>{const _0x6d9f4a=_0x295ff7;var _0x5c8563;const _0x571250=this[_0x6d9f4a(0x14c)][_0x6d9f4a(0x39e)]();let _0x363d47=(_0x5c8563=this[_0x6d9f4a(0x298)][_0x6d9f4a(0x2ea)](_0x1a6123))!=null?_0x5c8563:_0xe5c190;_0x571250 instanceof _0x28c502[_0x6d9f4a(0x314)]&&(_0x363d47=_0x571250[_0x6d9f4a(0x1fa)]),document[_0x6d9f4a(0x3da)]=_0x363d47;}));}};_0x3b5673=_0x2345e1([_0x4fd468(0x0,_0x28c502['IUniverInstanceService']),_0x4fd468(0x1,_0x28c502[_0x5d8d99(0x422)])],_0x3b5673);var _0x581fbb=Object[_0x5d8d99(0x48f)],_0x4b8875=Object['getOwnPropertyDescriptor'],_0xf9952b=(_0x5451cf,_0x1d4175,_0x390d9f,_0x1446b0)=>{const _0x190132=_0x5d8d99;for(var _0x5dc81a=_0x1446b0>0x1?void 0x0:_0x1446b0?_0x4b8875(_0x1d4175,_0x390d9f):_0x1d4175,_0x1444f5=_0x5451cf[_0x190132(0x52c)]-0x1,_0x3d8f0b;_0x1444f5>=0x0;_0x1444f5--)(_0x3d8f0b=_0x5451cf[_0x1444f5])&&(_0x5dc81a=(_0x1446b0?_0x3d8f0b(_0x1d4175,_0x390d9f,_0x5dc81a):_0x3d8f0b(_0x5dc81a))||_0x5dc81a);return _0x1446b0&&_0x5dc81a&&_0x581fbb(_0x1d4175,_0x390d9f,_0x5dc81a),_0x5dc81a;},_0x57288a=(_0x5ddf43,_0x5c92fc)=>(_0x5e50f7,_0x19e865)=>_0x5c92fc(_0x5e50f7,_0x19e865,_0x5ddf43);let _0x142e6b=class{constructor(_0x5b76d2,_0x590f26,_0x1a0285){const _0x4e69d6=_0x5d8d99;this['_configService']=_0x5b76d2,this['_httpService']=_0x590f26,this['localeService']=_0x1a0285,this[_0x4e69d6(0x102)]();}[_0x5d8d99(0x102)](){const _0x5683fb=_0x5d8d99;this[_0x5683fb(0x2e5)][_0x5683fb(0x34e)]({'priority':0x1,'interceptor':(_0x4da0a1,_0x310fab)=>_0x310fab(_0x4da0a1)[_0x5683fb(0x4fb)](_0x158390[_0x5683fb(0x228)](async _0x39deab=>{const _0x1f7dc8=_0x5683fb,_0x174564=_0x39deab;if(_0x174564[_0x1f7dc8(0xc7)]===0x191&&window[_0x1f7dc8(0xaf)](this[_0x1f7dc8(0x149)]['t']('auth.needGotoLoginAlert'))){const _0x5b30b6=window[_0x1f7dc8(0x308)](window[_0x1f7dc8(0x350)][_0x1f7dc8(0x4ca)]);window['location'][_0x1f7dc8(0x4ca)]=this[_0x1f7dc8(0x21c)]()+_0x1f7dc8(0x416)+_0x5b30b6;}return _0x174564;}))});}[_0x5d8d99(0x21c)](){const _0x2d7c5f=_0x5d8d99;var _0x3ed1df,_0x11990a;const _0x118def=this[_0x2d7c5f(0x298)][_0x2d7c5f(0x2ea)](_0x3181be),_0x392c75=this[_0x2d7c5f(0x298)][_0x2d7c5f(0x2ea)](_0x5b0249);return(_0x11990a=(_0x3ed1df=_0x392c75==null?void 0x0:_0x392c75[_0x2d7c5f(0x457)])!=null?_0x3ed1df:_0x118def)!=null?_0x11990a:_0x1112ec;}};_0x142e6b=_0xf9952b([_0x57288a(0x0,_0x28c502['IConfigService']),_0x57288a(0x1,_0x28c502[_0x5d8d99(0x48a)](_0x5d2d09[_0x5d8d99(0x508)])),_0x57288a(0x2,_0x28c502['Inject'](_0x28c502[_0x5d8d99(0x469)]))],_0x142e6b);var _0x110fc7=Object[_0x5d8d99(0x48f)],_0x177627=Object[_0x5d8d99(0x48b)],_0x33968d=(_0x57ad20,_0x54c2e1,_0x13657c,_0xe1e925)=>{for(var _0x1669f5=_0xe1e925>0x1?void 0x0:_0xe1e925?_0x177627(_0x54c2e1,_0x13657c):_0x54c2e1,_0x38f326=_0x57ad20['length']-0x1,_0x30c507;_0x38f326>=0x0;_0x38f326--)(_0x30c507=_0x57ad20[_0x38f326])&&(_0x1669f5=(_0xe1e925?_0x30c507(_0x54c2e1,_0x13657c,_0x1669f5):_0x30c507(_0x1669f5))||_0x1669f5);return _0xe1e925&&_0x1669f5&&_0x110fc7(_0x54c2e1,_0x13657c,_0x1669f5),_0x1669f5;},_0x36119c=(_0x4e31dd,_0x3cc785)=>(_0x252e97,_0x57c8e6)=>_0x3cc785(_0x252e97,_0x57c8e6,_0x4e31dd);const _0x18204f='AUTHZ_URL_KEY',_0x42bebd=_0x5d8d99(0x244);_0x4c1435[_0x5d8d99(0x4a4)]=class extends _0x28c502[_0x5d8d99(0x24b)]{constructor(_0x9f8c0d,_0x5c05da){const _0x3c1f49=_0x5d8d99;super(),this[_0x3c1f49(0x3e7)]=_0x9f8c0d,this['_configService']=_0x5c05da,this[_0x3c1f49(0x52e)]();}['_initMergeInterceptor'](){const _0x12e162=_0x5d8d99,_0x45a77b=this;this[_0x12e162(0x4b5)](this['_HTTPService'][_0x12e162(0x34e)]({'priority':0x3e7,'interceptor':_0x5d2d09[_0x12e162(0x19e)]({'isMatch'(_0x24491d){const _0x1b42b2=_0x12e162;var _0x352082;if(_0x24491d['method']===_0x1b42b2(0x363)&&((_0x352082=_0x24491d[_0x1b42b2(0x114)])!=null&&_0x352082[_0x1b42b2(0x447)])){const {objectID:_0x149d20,objectType:_0x2f2c4d}=_0x24491d['requestParams']['body']||{};if(!_0x149d20||_0x2f2c4d===void 0x0)return!0x1;const _0x121335=_0x45a77b[_0x1b42b2(0x36f)]()+'/'+_0x2f2c4d+_0x1b42b2(0x37f)+_0x149d20+_0x1b42b2(0x397);if(_0x24491d[_0x1b42b2(0x265)]===_0x121335)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4c8c9a){const _0x3a8cf1=_0x12e162;var _0x4f40d3;return(_0x4f40d3=_0x4c8c9a[_0x3a8cf1(0x114)])==null?void 0x0:_0x4f40d3[_0x3a8cf1(0x447)];},'mergeParamsToRequest'(_0x208091,_0x591043){const _0xa4d3e6=_0x12e162,_0x5150ae=_0x45a77b[_0xa4d3e6(0x36f)]()+'/-/object/-/batch_allowed',_0x2660c0=_0x208091['reduce']((_0x50fd5a,_0x472d08)=>{const _0x466567=_0xa4d3e6,{unitID:_0x47b872,objectID:_0x177503,objectType:_0x2cbf69,actions:_0x24582e}=_0x472d08;return _0x50fd5a[_0x47b872]||(_0x50fd5a[_0x47b872]={}),_0x50fd5a[_0x47b872][_0x177503]||(_0x50fd5a[_0x47b872][_0x177503]={'objectID':_0x177503,'objectType':_0x2cbf69,'actions':[]}),_0x50fd5a[_0x47b872][_0x177503][_0x466567(0x155)][_0x466567(0x347)](..._0x24582e),_0x50fd5a;},{}),_0x2ba567=[];for(const _0x3400dd in _0x2660c0)for(const _0x453cc1 in _0x2660c0[_0x3400dd]){const {actions:_0x10ef6a,objectType:_0x16ab71}=_0x2660c0[_0x3400dd][_0x453cc1],_0x1c27bc=[...new Set(_0x10ef6a)];_0x2ba567[_0xa4d3e6(0x347)]({'unitID':_0x3400dd,'objectID':_0x453cc1,'objectType':_0x16ab71,'actions':_0x1c27bc});}return new _0x5d2d09[(_0xa4d3e6(0x8c))](_0xa4d3e6(0x363),_0x5150ae,{'headers':_0x591043[_0xa4d3e6(0x3d4)],'withCredentials':_0x591043[_0xa4d3e6(0x122)],'responseType':_0x591043['responseType'],'body':{'requests':_0x2ba567}});}},{'distributeResult'(_0x53420b,_0x2ca15f){const _0x48d581=_0x12e162,{objectActions:_0x393edc}=_0x53420b;return _0x2ca15f[_0x48d581(0x1c9)](_0x2f4b0e=>{const _0x2cff7f=_0x48d581,{unitID:_0xf14b11,objectID:_0x528d59,actions:_0x3a3c2e}=_0x2f4b0e,_0x1ab04f=_0x393edc['find'](_0x484af8=>_0x484af8['unitID']===_0xf14b11&&_0x484af8[_0x2cff7f(0x4d5)]===_0x528d59),_0xb31d3e=_0x3a3c2e['map'](_0xc18965=>_0x1ab04f==null?void 0x0:_0x1ab04f[_0x2cff7f(0x155)]['find'](_0x29bd8c=>_0x29bd8c['action']===_0xc18965))[_0x2cff7f(0x1ea)](_0x45e81b=>!!_0x45e81b);return{'config':_0x2f4b0e,'result':{'actions':_0xb31d3e,'error':_0x53420b[_0x2cff7f(0x13c)]}};});}})}));}[_0x5d8d99(0x36f)](){const _0x20ee18=_0x5d8d99;var _0x5bc6bd,_0x40ac2d;const _0x8b2af=this[_0x20ee18(0x298)][_0x20ee18(0x2ea)](_0x18204f),_0x1185ef=this[_0x20ee18(0x298)]['getConfig'](_0x5b0249);return(_0x40ac2d=(_0x5bc6bd=_0x1185ef==null?void 0x0:_0x1185ef['authzUrl'])!=null?_0x5bc6bd:_0x8b2af)!=null?_0x40ac2d:_0x42bebd;}async[_0x5d8d99(0x218)](_0x2a2164){const _0x2a0965=_0x5d8d99,_0x12be7=this[_0x2a0965(0x36f)]()+'/'+_0x2a2164[_0x2a0965(0x1ff)]+_0x2a0965(0xee);return(await this[_0x2a0965(0x3e7)]['post'](_0x12be7,{'body':_0x2a2164}))[_0x2a0965(0x447)][_0x2a0965(0x4d5)]||'';}async['list'](_0x2d06ba){const _0x58e9a4=_0x5d8d99,_0x52d82e=this[_0x58e9a4(0x36f)]()+_0x58e9a4(0x283);return(await this['_HTTPService'][_0x58e9a4(0x3bd)](_0x52d82e,{'body':_0x2d06ba}))[_0x58e9a4(0x447)]['objects'];}async[_0x5d8d99(0x145)](_0x52c6c0){const _0x53d0f6=_0x5d8d99,_0x3373bc=this[_0x53d0f6(0x36f)]()+'/'+_0x52c6c0['objectType']+'/object/'+_0x52c6c0[_0x53d0f6(0x4d5)];await this['_HTTPService']['put'](_0x3373bc,{'body':_0x52c6c0});}async[_0x5d8d99(0x498)](_0x3246d8){const _0x3f6e6f=_0x5d8d99,_0x557dd8=this[_0x3f6e6f(0x36f)]()+'/'+_0x3246d8[_0x3f6e6f(0x1ff)]+'/object/'+_0x3246d8['objectID']+'/allowed';return(await this[_0x3f6e6f(0x3e7)][_0x3f6e6f(0x3bd)](_0x557dd8,{'body':_0x3246d8}))['body']['actions'];}async[_0x5d8d99(0x300)](_0x913347){const _0x2a409e=_0x5d8d99,_0x359899=this[_0x2a409e(0x36f)]()+_0x2a409e(0x2f8);return(await this[_0x2a409e(0x3e7)][_0x2a409e(0x3bd)](_0x359899,{'body':{'requests':_0x913347}}))[_0x2a409e(0x447)][_0x2a409e(0x11d)];}async['listRoles'](_0x1aa971){const _0x27c5b3=_0x5d8d99,_0x2958d2=this['_getAPIPrefixPath']()+'/'+_0x1aa971[_0x27c5b3(0x1ff)]+_0x27c5b3(0x11f),_0x3128e5=await this[_0x27c5b3(0x3e7)][_0x27c5b3(0x3bd)](_0x2958d2,{'body':_0x1aa971});return{'roles':_0x3128e5[_0x27c5b3(0x447)][_0x27c5b3(0x4de)],'actions':_0x3128e5[_0x27c5b3(0x447)][_0x27c5b3(0x155)]};}async[_0x5d8d99(0xef)](_0x140258){const _0x43f99e=_0x5d8d99,_0xf917e0=this[_0x43f99e(0x36f)]()+_0x43f99e(0x142);await this['_HTTPService'][_0x43f99e(0x451)](_0xf917e0,{'params':{'collaboratorID':_0x140258['collaboratorID'],'objectID':_0x140258[_0x43f99e(0x4d5)],'unitID':_0x140258[_0x43f99e(0xe5)]}});}async[_0x5d8d99(0x395)](_0x56868a){const _0x301233=_0x5d8d99,_0xfb7ea0=this['_getAPIPrefixPath']()+_0x301233(0x142);await this[_0x301233(0x3e7)][_0x301233(0x2bf)](_0xfb7ea0,{'body':_0x56868a});}async[_0x5d8d99(0x1fd)](_0x3af6ec){const _0x3a25d8=_0x5d8d99,_0x276a0d=this['_getAPIPrefixPath']()+_0x3a25d8(0x142);await this[_0x3a25d8(0x3e7)][_0x3a25d8(0x3bd)](_0x276a0d,{'body':_0x3af6ec});}async[_0x5d8d99(0x450)](_0x14c1be){const _0x526cdd=_0x5d8d99,_0x51aa98=this[_0x526cdd(0x36f)]()+'/collaborator';return(await this[_0x526cdd(0x3e7)][_0x526cdd(0x3a8)](_0x51aa98,{'params':{'objectID':_0x14c1be[_0x526cdd(0x4d5)],'unitID':_0x14c1be[_0x526cdd(0xe5)]}}))[_0x526cdd(0x447)][_0x526cdd(0x520)];}async[_0x5d8d99(0x50b)](_0xf8edbd){const _0x342b08=_0x5d8d99,_0x3b356d=this[_0x342b08(0x36f)]()+_0x342b08(0x142);await this[_0x342b08(0x3e7)]['put'](_0x3b356d,{'body':_0xf8edbd});}},_0x4c1435[_0x5d8d99(0x4a4)]=_0x33968d([_0x36119c(0x0,_0x28c502[_0x5d8d99(0x48a)](_0x5d2d09[_0x5d8d99(0x508)])),_0x36119c(0x1,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x422)]))],_0x4c1435[_0x5d8d99(0x4a4)]);var _0x2dce9d={'exports':{}};function _0x1403f9(_0x5e6474){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x5e6474+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x14c89d={'exports':{}},_0x35ccb5;function _0x3bb9d1(){return _0x35ccb5||(_0x35ccb5=0x1,function(_0x1d045a,_0x491c4f){(function(_0x495ff5,_0x363466){_0x1d045a['exports']=_0x363466();}(_0x5d33cd,function(){var _0xb6c4f5=_0xb6c4f5||function(_0x1404e8,_0x2cc554){const _0x28765a=_0x3a4a;var _0x2f8505;if(typeof window<'u'&&window['crypto']&&(_0x2f8505=window[_0x28765a(0x479)]),typeof self<'u'&&self['crypto']&&(_0x2f8505=self[_0x28765a(0x479)]),typeof globalThis<'u'&&globalThis[_0x28765a(0x479)]&&(_0x2f8505=globalThis[_0x28765a(0x479)]),!_0x2f8505&&typeof window<'u'&&window[_0x28765a(0x25f)]&&(_0x2f8505=window[_0x28765a(0x25f)]),!_0x2f8505&&typeof _0x5d33cd<'u'&&_0x5d33cd[_0x28765a(0x479)]&&(_0x2f8505=_0x5d33cd[_0x28765a(0x479)]),!_0x2f8505&&typeof _0x1403f9==_0x28765a(0x138))try{_0x2f8505=require(_0x28765a(0x479));}catch{}var _0x36c8fa=function(){const _0x57b9b6=_0x28765a;if(_0x2f8505){if(typeof _0x2f8505['getRandomValues']=='function')try{return _0x2f8505[_0x57b9b6(0x4f0)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2f8505[_0x57b9b6(0x4ad)]==_0x57b9b6(0x138))try{return _0x2f8505[_0x57b9b6(0x4ad)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x4b5004=Object[_0x28765a(0x218)]||(function(){function _0x416e0e(){}return function(_0x1968e5){const _0xb34880=_0x3a4a;var _0x3d29ea;return _0x416e0e[_0xb34880(0x243)]=_0x1968e5,_0x3d29ea=new _0x416e0e(),_0x416e0e[_0xb34880(0x243)]=null,_0x3d29ea;};}()),_0x42ea1f={},_0x179b8d=_0x42ea1f[_0x28765a(0x250)]={},_0x41ff23=_0x179b8d[_0x28765a(0xfe)]=(function(){return{'extend':function(_0x4c2943){const _0x366722=_0x3a4a;var _0x4e3149=_0x4b5004(this);return _0x4c2943&&_0x4e3149[_0x366722(0x173)](_0x4c2943),(!_0x4e3149[_0x366722(0xcd)](_0x366722(0x102))||this[_0x366722(0x102)]===_0x4e3149[_0x366722(0x102)])&&(_0x4e3149['init']=function(){const _0x4b5ecd=_0x366722;_0x4e3149[_0x4b5ecd(0x194)][_0x4b5ecd(0x102)][_0x4b5ecd(0x539)](this,arguments);}),_0x4e3149[_0x366722(0x102)]['prototype']=_0x4e3149,_0x4e3149[_0x366722(0x194)]=this,_0x4e3149;},'create':function(){const _0x9f6e3b=_0x3a4a;var _0x54f959=this['extend']();return _0x54f959[_0x9f6e3b(0x102)][_0x9f6e3b(0x539)](_0x54f959,arguments),_0x54f959;},'init':function(){},'mixIn':function(_0x5d8598){const _0x42b5e2=_0x3a4a;for(var _0x1a192d in _0x5d8598)_0x5d8598[_0x42b5e2(0xcd)](_0x1a192d)&&(this[_0x1a192d]=_0x5d8598[_0x1a192d]);_0x5d8598[_0x42b5e2(0xcd)]('toString')&&(this[_0x42b5e2(0xbe)]=_0x5d8598[_0x42b5e2(0xbe)]);},'clone':function(){const _0xa6e616=_0x3a4a;return this[_0xa6e616(0x102)][_0xa6e616(0x243)]['extend'](this);}};}()),_0x37d574=_0x179b8d[_0x28765a(0x33e)]=_0x41ff23[_0x28765a(0x352)]({'init':function(_0x1c04a7,_0x43ac58){const _0x1e0cf5=_0x28765a;_0x1c04a7=this['words']=_0x1c04a7||[],_0x43ac58!=_0x2cc554?this[_0x1e0cf5(0x4dd)]=_0x43ac58:this['sigBytes']=_0x1c04a7[_0x1e0cf5(0x52c)]*0x4;},'toString':function(_0x4649b7){const _0x52480b=_0x28765a;return(_0x4649b7||_0x1e084f)[_0x52480b(0x51a)](this);},'concat':function(_0x208277){const _0x3c22e5=_0x28765a;var _0x172fe3=this[_0x3c22e5(0x297)],_0x25d7db=_0x208277['words'],_0x5a9d03=this['sigBytes'],_0x26ff99=_0x208277[_0x3c22e5(0x4dd)];if(this['clamp'](),_0x5a9d03%0x4)for(var _0x2cf52c=0x0;_0x2cf52c<_0x26ff99;_0x2cf52c++){var _0x6306a4=_0x25d7db[_0x2cf52c>>>0x2]>>>0x18-_0x2cf52c%0x4*0x8&0xff;_0x172fe3[_0x5a9d03+_0x2cf52c>>>0x2]|=_0x6306a4<<0x18-(_0x5a9d03+_0x2cf52c)%0x4*0x8;}else{for(var _0x1e55f0=0x0;_0x1e55f0<_0x26ff99;_0x1e55f0+=0x4)_0x172fe3[_0x5a9d03+_0x1e55f0>>>0x2]=_0x25d7db[_0x1e55f0>>>0x2];}return this[_0x3c22e5(0x4dd)]+=_0x26ff99,this;},'clamp':function(){const _0x261830=_0x28765a;var _0x1a5ffa=this[_0x261830(0x297)],_0xa6c96a=this[_0x261830(0x4dd)];_0x1a5ffa[_0xa6c96a>>>0x2]&=0xffffffff<<0x20-_0xa6c96a%0x4*0x8,_0x1a5ffa['length']=_0x1404e8['ceil'](_0xa6c96a/0x4);},'clone':function(){const _0x405807=_0x28765a;var _0x44e09c=_0x41ff23['clone'][_0x405807(0xcf)](this);return _0x44e09c[_0x405807(0x297)]=this[_0x405807(0x297)][_0x405807(0x4ac)](0x0),_0x44e09c;},'random':function(_0x2eb29c){const _0x11040c=_0x28765a;for(var _0x84bcd=[],_0x59068e=0x0;_0x59068e<_0x2eb29c;_0x59068e+=0x4)_0x84bcd['push'](_0x36c8fa());return new _0x37d574[(_0x11040c(0x102))](_0x84bcd,_0x2eb29c);}}),_0x410896=_0x42ea1f['enc']={},_0x1e084f=_0x410896[_0x28765a(0x1e6)]={'stringify':function(_0x31ecf6){const _0x3fcc36=_0x28765a;for(var _0x5c341a=_0x31ecf6[_0x3fcc36(0x297)],_0x45f6a8=_0x31ecf6[_0x3fcc36(0x4dd)],_0x2cb65b=[],_0x187aec=0x0;_0x187aec<_0x45f6a8;_0x187aec++){var _0x304d51=_0x5c341a[_0x187aec>>>0x2]>>>0x18-_0x187aec%0x4*0x8&0xff;_0x2cb65b['push']((_0x304d51>>>0x4)['toString'](0x10)),_0x2cb65b['push']((_0x304d51&0xf)[_0x3fcc36(0xbe)](0x10));}return _0x2cb65b[_0x3fcc36(0x207)]('');},'parse':function(_0x2bf521){const _0x8adf72=_0x28765a;for(var _0x3feb9b=_0x2bf521[_0x8adf72(0x52c)],_0x1856a6=[],_0x2fb7a2=0x0;_0x2fb7a2<_0x3feb9b;_0x2fb7a2+=0x2)_0x1856a6[_0x2fb7a2>>>0x3]|=parseInt(_0x2bf521[_0x8adf72(0x304)](_0x2fb7a2,0x2),0x10)<<0x18-_0x2fb7a2%0x8*0x4;return new _0x37d574['init'](_0x1856a6,_0x3feb9b/0x2);}},_0x40513a=_0x410896[_0x28765a(0x197)]={'stringify':function(_0xeaccb5){const _0x2676f2=_0x28765a;for(var _0x363052=_0xeaccb5[_0x2676f2(0x297)],_0x3e3652=_0xeaccb5['sigBytes'],_0x43359a=[],_0x525cc0=0x0;_0x525cc0<_0x3e3652;_0x525cc0++){var _0x890adc=_0x363052[_0x525cc0>>>0x2]>>>0x18-_0x525cc0%0x4*0x8&0xff;_0x43359a[_0x2676f2(0x347)](String[_0x2676f2(0x51e)](_0x890adc));}return _0x43359a['join']('');},'parse':function(_0x448518){const _0x12d2e7=_0x28765a;for(var _0x1f26f7=_0x448518[_0x12d2e7(0x52c)],_0x302d27=[],_0xe243ac=0x0;_0xe243ac<_0x1f26f7;_0xe243ac++)_0x302d27[_0xe243ac>>>0x2]|=(_0x448518[_0x12d2e7(0xa5)](_0xe243ac)&0xff)<<0x18-_0xe243ac%0x4*0x8;return new _0x37d574[(_0x12d2e7(0x102))](_0x302d27,_0x1f26f7);}},_0x327da7=_0x410896['Utf8']={'stringify':function(_0x502402){const _0x3979ee=_0x28765a;try{return decodeURIComponent(escape(_0x40513a[_0x3979ee(0x51a)](_0x502402)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x3bd557){const _0x2769b8=_0x28765a;return _0x40513a[_0x2769b8(0x40c)](unescape(encodeURIComponent(_0x3bd557)));}},_0x141998=_0x179b8d[_0x28765a(0x1f6)]=_0x41ff23[_0x28765a(0x352)]({'reset':function(){const _0x5dc38b=_0x28765a;this[_0x5dc38b(0x480)]=new _0x37d574[(_0x5dc38b(0x102))](),this[_0x5dc38b(0x204)]=0x0;},'_append':function(_0x50aa71){const _0x30cc5d=_0x28765a;typeof _0x50aa71==_0x30cc5d(0x452)&&(_0x50aa71=_0x327da7['parse'](_0x50aa71)),this[_0x30cc5d(0x480)][_0x30cc5d(0x1b5)](_0x50aa71),this[_0x30cc5d(0x204)]+=_0x50aa71[_0x30cc5d(0x4dd)];},'_process':function(_0x1c1d15){const _0x1a5432=_0x28765a;var _0x34eaf1,_0x12d958=this[_0x1a5432(0x480)],_0x277c90=_0x12d958[_0x1a5432(0x297)],_0x1db574=_0x12d958[_0x1a5432(0x4dd)],_0x24fcdb=this[_0x1a5432(0x396)],_0x11857d=_0x24fcdb*0x4,_0x209259=_0x1db574/_0x11857d;_0x1c1d15?_0x209259=_0x1404e8[_0x1a5432(0xc5)](_0x209259):_0x209259=_0x1404e8[_0x1a5432(0xa2)]((_0x209259|0x0)-this['_minBufferSize'],0x0);var _0x559435=_0x209259*_0x24fcdb,_0x4b61a6=_0x1404e8['min'](_0x559435*0x4,_0x1db574);if(_0x559435){for(var _0x2b61d0=0x0;_0x2b61d0<_0x559435;_0x2b61d0+=_0x24fcdb)this[_0x1a5432(0x3a1)](_0x277c90,_0x2b61d0);_0x34eaf1=_0x277c90['splice'](0x0,_0x559435),_0x12d958['sigBytes']-=_0x4b61a6;}return new _0x37d574[(_0x1a5432(0x102))](_0x34eaf1,_0x4b61a6);},'clone':function(){const _0x1514c9=_0x28765a;var _0x2854af=_0x41ff23[_0x1514c9(0x384)][_0x1514c9(0xcf)](this);return _0x2854af['_data']=this[_0x1514c9(0x480)]['clone'](),_0x2854af;},'_minBufferSize':0x0});_0x179b8d[_0x28765a(0x280)]=_0x141998['extend']({'cfg':_0x41ff23['extend'](),'init':function(_0x54c4fd){const _0x33ab0a=_0x28765a;this[_0x33ab0a(0x3bc)]=this[_0x33ab0a(0x3bc)][_0x33ab0a(0x352)](_0x54c4fd),this[_0x33ab0a(0x127)]();},'reset':function(){const _0x33b22d=_0x28765a;_0x141998[_0x33b22d(0x127)][_0x33b22d(0xcf)](this),this[_0x33b22d(0x40b)]();},'update':function(_0x7a48dc){const _0x44d5b9=_0x28765a;return this[_0x44d5b9(0x3a7)](_0x7a48dc),this['_process'](),this;},'finalize':function(_0x5ca8fa){const _0x36ce68=_0x28765a;_0x5ca8fa&&this[_0x36ce68(0x3a7)](_0x5ca8fa);var _0x33b37b=this[_0x36ce68(0xe9)]();return _0x33b37b;},'blockSize':0x10,'_createHelper':function(_0x4ec54d){return function(_0x5a3936,_0x11de17){const _0x16278e=_0x3a4a;return new _0x4ec54d['init'](_0x11de17)[_0x16278e(0x3c4)](_0x5a3936);};},'_createHmacHelper':function(_0x28f384){return function(_0x350a84,_0x11c0a0){return new _0xdf94f2['HMAC']['init'](_0x28f384,_0x11c0a0)['finalize'](_0x350a84);};}});var _0xdf94f2=_0x42ea1f[_0x28765a(0x4c6)]={};return _0x42ea1f;}(Math);return _0xb6c4f5;}));}(_0x14c89d)),_0x14c89d['exports'];}var _0x46dd13={'exports':{}},_0x521581;function _0x14173a(){return _0x521581||(_0x521581=0x1,function(_0x5e5df9,_0x3d38ea){(function(_0x3f2f84,_0x4dd196){const _0x3a423e=_0x3a4a;_0x5e5df9[_0x3a423e(0x3fd)]=_0x4dd196(_0x3bb9d1());}(_0x5d33cd,function(_0x164735){const _0x47b165=_0x3a4a;return(function(){const _0x769637=_0x3a4a;var _0xb79e06=_0x164735,_0x2a3e20=_0xb79e06[_0x769637(0x250)],_0x16dc64=_0x2a3e20[_0x769637(0x33e)],_0x41e66d=_0xb79e06[_0x769637(0x214)];_0x41e66d[_0x769637(0x329)]={'stringify':function(_0x472f4d){const _0x2eef03=_0x769637;var _0x493db7=_0x472f4d[_0x2eef03(0x297)],_0x4aabd4=_0x472f4d[_0x2eef03(0x4dd)],_0xbab1e8=this[_0x2eef03(0xa3)];_0x472f4d[_0x2eef03(0x110)]();for(var _0x50fcbe=[],_0x1888cf=0x0;_0x1888cf<_0x4aabd4;_0x1888cf+=0x3)for(var _0x4c5fe8=_0x493db7[_0x1888cf>>>0x2]>>>0x18-_0x1888cf%0x4*0x8&0xff,_0x5a7fea=_0x493db7[_0x1888cf+0x1>>>0x2]>>>0x18-(_0x1888cf+0x1)%0x4*0x8&0xff,_0x3ae089=_0x493db7[_0x1888cf+0x2>>>0x2]>>>0x18-(_0x1888cf+0x2)%0x4*0x8&0xff,_0xdd1484=_0x4c5fe8<<0x10|_0x5a7fea<<0x8|_0x3ae089,_0x251036=0x0;_0x251036<0x4&&_0x1888cf+_0x251036*0.75<_0x4aabd4;_0x251036++)_0x50fcbe[_0x2eef03(0x347)](_0xbab1e8['charAt'](_0xdd1484>>>0x6*(0x3-_0x251036)&0x3f));var _0x5be79b=_0xbab1e8[_0x2eef03(0x277)](0x40);if(_0x5be79b){for(;_0x50fcbe[_0x2eef03(0x52c)]%0x4;)_0x50fcbe[_0x2eef03(0x347)](_0x5be79b);}return _0x50fcbe[_0x2eef03(0x207)]('');},'parse':function(_0x5c0051){const _0x533711=_0x769637;var _0x12b4c2=_0x5c0051['length'],_0x44592a=this['_map'],_0x23ba29=this[_0x533711(0x4a1)];if(!_0x23ba29){_0x23ba29=this[_0x533711(0x4a1)]=[];for(var _0x4a40ce=0x0;_0x4a40ce<_0x44592a['length'];_0x4a40ce++)_0x23ba29[_0x44592a['charCodeAt'](_0x4a40ce)]=_0x4a40ce;}var _0x1e92dc=_0x44592a[_0x533711(0x277)](0x40);if(_0x1e92dc){var _0x5d918e=_0x5c0051['indexOf'](_0x1e92dc);_0x5d918e!==-0x1&&(_0x12b4c2=_0x5d918e);}return _0x2abea6(_0x5c0051,_0x12b4c2,_0x23ba29);},'_map':_0x769637(0x179)};function _0x2abea6(_0x43304c,_0x2cc96f,_0x4942c2){const _0x2869a6=_0x769637;for(var _0x1c3d59=[],_0xa2cd04=0x0,_0x2fa4f1=0x0;_0x2fa4f1<_0x2cc96f;_0x2fa4f1++)if(_0x2fa4f1%0x4){var _0x4f87b1=_0x4942c2[_0x43304c['charCodeAt'](_0x2fa4f1-0x1)]<<_0x2fa4f1%0x4*0x2,_0x5dc37a=_0x4942c2[_0x43304c[_0x2869a6(0xa5)](_0x2fa4f1)]>>>0x6-_0x2fa4f1%0x4*0x2,_0x388754=_0x4f87b1|_0x5dc37a;_0x1c3d59[_0xa2cd04>>>0x2]|=_0x388754<<0x18-_0xa2cd04%0x4*0x8,_0xa2cd04++;}return _0x16dc64[_0x2869a6(0x218)](_0x1c3d59,_0xa2cd04);}}()),_0x164735[_0x47b165(0x214)][_0x47b165(0x329)];}));}(_0x46dd13)),_0x46dd13['exports'];}var _0x10cc54={'exports':{}},_0x3ec267;function _0x2084b7(){const _0x32ffa1=_0x5d8d99;return _0x3ec267||(_0x3ec267=0x1,function(_0xa8d7b0,_0x46534b){(function(_0x4c0938,_0xf13b1f){_0xa8d7b0['exports']=_0xf13b1f(_0x3bb9d1());}(_0x5d33cd,function(_0x5220b5){const _0x2175a6=_0x3a4a;return function(_0x502d75){const _0xa157f2=_0x3a4a;var _0x17bb97=_0x5220b5,_0xf1e041=_0x17bb97[_0xa157f2(0x250)],_0x230f28=_0xf1e041[_0xa157f2(0x33e)],_0x800c85=_0xf1e041[_0xa157f2(0x280)],_0x2cab5d=_0x17bb97['algo'],_0x239410=[];(function(){const _0x708814=_0xa157f2;for(var _0x916612=0x0;_0x916612<0x40;_0x916612++)_0x239410[_0x916612]=_0x502d75[_0x708814(0x30f)](_0x502d75[_0x708814(0x216)](_0x916612+0x1))*0x100000000|0x0;}());var _0x181def=_0x2cab5d[_0xa157f2(0x2af)]=_0x800c85[_0xa157f2(0x352)]({'_doReset':function(){const _0x1eda4f=_0xa157f2;this[_0x1eda4f(0x2da)]=new _0x230f28['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x19263e,_0x226a73){const _0xd1aff2=_0xa157f2;for(var _0x18efc4=0x0;_0x18efc4<0x10;_0x18efc4++){var _0x26c878=_0x226a73+_0x18efc4,_0x7e73bb=_0x19263e[_0x26c878];_0x19263e[_0x26c878]=(_0x7e73bb<<0x8|_0x7e73bb>>>0x18)&0xff00ff|(_0x7e73bb<<0x18|_0x7e73bb>>>0x8)&0xff00ff00;}var _0x1cafe7=this[_0xd1aff2(0x2da)][_0xd1aff2(0x297)],_0x455ae7=_0x19263e[_0x226a73+0x0],_0x526ba4=_0x19263e[_0x226a73+0x1],_0x1cc981=_0x19263e[_0x226a73+0x2],_0x59d3ca=_0x19263e[_0x226a73+0x3],_0x30bb75=_0x19263e[_0x226a73+0x4],_0x53656f=_0x19263e[_0x226a73+0x5],_0x4a9ccf=_0x19263e[_0x226a73+0x6],_0x297166=_0x19263e[_0x226a73+0x7],_0x2d8545=_0x19263e[_0x226a73+0x8],_0x495ffb=_0x19263e[_0x226a73+0x9],_0x5e1421=_0x19263e[_0x226a73+0xa],_0x50e1ea=_0x19263e[_0x226a73+0xb],_0x32e811=_0x19263e[_0x226a73+0xc],_0x153182=_0x19263e[_0x226a73+0xd],_0x32659a=_0x19263e[_0x226a73+0xe],_0x554875=_0x19263e[_0x226a73+0xf],_0x3dd718=_0x1cafe7[0x0],_0x274d63=_0x1cafe7[0x1],_0x1a0b4c=_0x1cafe7[0x2],_0xd4795b=_0x1cafe7[0x3];_0x3dd718=_0x12f50d(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x455ae7,0x7,_0x239410[0x0]),_0xd4795b=_0x12f50d(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x526ba4,0xc,_0x239410[0x1]),_0x1a0b4c=_0x12f50d(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x1cc981,0x11,_0x239410[0x2]),_0x274d63=_0x12f50d(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x59d3ca,0x16,_0x239410[0x3]),_0x3dd718=_0x12f50d(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x30bb75,0x7,_0x239410[0x4]),_0xd4795b=_0x12f50d(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x53656f,0xc,_0x239410[0x5]),_0x1a0b4c=_0x12f50d(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x4a9ccf,0x11,_0x239410[0x6]),_0x274d63=_0x12f50d(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x297166,0x16,_0x239410[0x7]),_0x3dd718=_0x12f50d(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x2d8545,0x7,_0x239410[0x8]),_0xd4795b=_0x12f50d(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x495ffb,0xc,_0x239410[0x9]),_0x1a0b4c=_0x12f50d(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x5e1421,0x11,_0x239410[0xa]),_0x274d63=_0x12f50d(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x50e1ea,0x16,_0x239410[0xb]),_0x3dd718=_0x12f50d(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x32e811,0x7,_0x239410[0xc]),_0xd4795b=_0x12f50d(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x153182,0xc,_0x239410[0xd]),_0x1a0b4c=_0x12f50d(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x32659a,0x11,_0x239410[0xe]),_0x274d63=_0x12f50d(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x554875,0x16,_0x239410[0xf]),_0x3dd718=_0x24ad03(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x526ba4,0x5,_0x239410[0x10]),_0xd4795b=_0x24ad03(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x4a9ccf,0x9,_0x239410[0x11]),_0x1a0b4c=_0x24ad03(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x50e1ea,0xe,_0x239410[0x12]),_0x274d63=_0x24ad03(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x455ae7,0x14,_0x239410[0x13]),_0x3dd718=_0x24ad03(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x53656f,0x5,_0x239410[0x14]),_0xd4795b=_0x24ad03(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x5e1421,0x9,_0x239410[0x15]),_0x1a0b4c=_0x24ad03(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x554875,0xe,_0x239410[0x16]),_0x274d63=_0x24ad03(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x30bb75,0x14,_0x239410[0x17]),_0x3dd718=_0x24ad03(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x495ffb,0x5,_0x239410[0x18]),_0xd4795b=_0x24ad03(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x32659a,0x9,_0x239410[0x19]),_0x1a0b4c=_0x24ad03(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x59d3ca,0xe,_0x239410[0x1a]),_0x274d63=_0x24ad03(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x2d8545,0x14,_0x239410[0x1b]),_0x3dd718=_0x24ad03(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x153182,0x5,_0x239410[0x1c]),_0xd4795b=_0x24ad03(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x1cc981,0x9,_0x239410[0x1d]),_0x1a0b4c=_0x24ad03(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x297166,0xe,_0x239410[0x1e]),_0x274d63=_0x24ad03(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x32e811,0x14,_0x239410[0x1f]),_0x3dd718=_0x3d747e(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x53656f,0x4,_0x239410[0x20]),_0xd4795b=_0x3d747e(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x2d8545,0xb,_0x239410[0x21]),_0x1a0b4c=_0x3d747e(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x50e1ea,0x10,_0x239410[0x22]),_0x274d63=_0x3d747e(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x32659a,0x17,_0x239410[0x23]),_0x3dd718=_0x3d747e(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x526ba4,0x4,_0x239410[0x24]),_0xd4795b=_0x3d747e(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x30bb75,0xb,_0x239410[0x25]),_0x1a0b4c=_0x3d747e(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x297166,0x10,_0x239410[0x26]),_0x274d63=_0x3d747e(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x5e1421,0x17,_0x239410[0x27]),_0x3dd718=_0x3d747e(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x153182,0x4,_0x239410[0x28]),_0xd4795b=_0x3d747e(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x455ae7,0xb,_0x239410[0x29]),_0x1a0b4c=_0x3d747e(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x59d3ca,0x10,_0x239410[0x2a]),_0x274d63=_0x3d747e(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x4a9ccf,0x17,_0x239410[0x2b]),_0x3dd718=_0x3d747e(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x495ffb,0x4,_0x239410[0x2c]),_0xd4795b=_0x3d747e(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x32e811,0xb,_0x239410[0x2d]),_0x1a0b4c=_0x3d747e(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x554875,0x10,_0x239410[0x2e]),_0x274d63=_0x3d747e(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x1cc981,0x17,_0x239410[0x2f]),_0x3dd718=_0x2471a9(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x455ae7,0x6,_0x239410[0x30]),_0xd4795b=_0x2471a9(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x297166,0xa,_0x239410[0x31]),_0x1a0b4c=_0x2471a9(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x32659a,0xf,_0x239410[0x32]),_0x274d63=_0x2471a9(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x53656f,0x15,_0x239410[0x33]),_0x3dd718=_0x2471a9(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x32e811,0x6,_0x239410[0x34]),_0xd4795b=_0x2471a9(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x59d3ca,0xa,_0x239410[0x35]),_0x1a0b4c=_0x2471a9(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x5e1421,0xf,_0x239410[0x36]),_0x274d63=_0x2471a9(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x526ba4,0x15,_0x239410[0x37]),_0x3dd718=_0x2471a9(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x2d8545,0x6,_0x239410[0x38]),_0xd4795b=_0x2471a9(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x554875,0xa,_0x239410[0x39]),_0x1a0b4c=_0x2471a9(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x4a9ccf,0xf,_0x239410[0x3a]),_0x274d63=_0x2471a9(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x153182,0x15,_0x239410[0x3b]),_0x3dd718=_0x2471a9(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x30bb75,0x6,_0x239410[0x3c]),_0xd4795b=_0x2471a9(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x50e1ea,0xa,_0x239410[0x3d]),_0x1a0b4c=_0x2471a9(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x1cc981,0xf,_0x239410[0x3e]),_0x274d63=_0x2471a9(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x495ffb,0x15,_0x239410[0x3f]),_0x1cafe7[0x0]=_0x1cafe7[0x0]+_0x3dd718|0x0,_0x1cafe7[0x1]=_0x1cafe7[0x1]+_0x274d63|0x0,_0x1cafe7[0x2]=_0x1cafe7[0x2]+_0x1a0b4c|0x0,_0x1cafe7[0x3]=_0x1cafe7[0x3]+_0xd4795b|0x0;},'_doFinalize':function(){const _0xe14b7f=_0xa157f2;var _0x48ba02=this[_0xe14b7f(0x480)],_0x3510d4=_0x48ba02[_0xe14b7f(0x297)],_0x113336=this[_0xe14b7f(0x204)]*0x8,_0x4142d2=_0x48ba02[_0xe14b7f(0x4dd)]*0x8;_0x3510d4[_0x4142d2>>>0x5]|=0x80<<0x18-_0x4142d2%0x20;var _0x20ed02=_0x502d75[_0xe14b7f(0x46e)](_0x113336/0x100000000),_0x2d84d2=_0x113336;_0x3510d4[(_0x4142d2+0x40>>>0x9<<0x4)+0xf]=(_0x20ed02<<0x8|_0x20ed02>>>0x18)&0xff00ff|(_0x20ed02<<0x18|_0x20ed02>>>0x8)&0xff00ff00,_0x3510d4[(_0x4142d2+0x40>>>0x9<<0x4)+0xe]=(_0x2d84d2<<0x8|_0x2d84d2>>>0x18)&0xff00ff|(_0x2d84d2<<0x18|_0x2d84d2>>>0x8)&0xff00ff00,_0x48ba02[_0xe14b7f(0x4dd)]=(_0x3510d4[_0xe14b7f(0x52c)]+0x1)*0x4,this[_0xe14b7f(0x276)]();for(var _0x4fdccb=this['_hash'],_0x5199dd=_0x4fdccb[_0xe14b7f(0x297)],_0x32540c=0x0;_0x32540c<0x4;_0x32540c++){var _0x419f17=_0x5199dd[_0x32540c];_0x5199dd[_0x32540c]=(_0x419f17<<0x8|_0x419f17>>>0x18)&0xff00ff|(_0x419f17<<0x18|_0x419f17>>>0x8)&0xff00ff00;}return _0x4fdccb;},'clone':function(){const _0x4306a6=_0xa157f2;var _0x39072c=_0x800c85['clone'][_0x4306a6(0xcf)](this);return _0x39072c[_0x4306a6(0x2da)]=this['_hash'][_0x4306a6(0x384)](),_0x39072c;}});function _0x12f50d(_0x7b742d,_0x244cf6,_0x5149a7,_0x2355f3,_0x37dc41,_0xd8ac8a,_0x1e23d4){var _0x2e9e3b=_0x7b742d+(_0x244cf6&_0x5149a7|~_0x244cf6&_0x2355f3)+_0x37dc41+_0x1e23d4;return(_0x2e9e3b<<_0xd8ac8a|_0x2e9e3b>>>0x20-_0xd8ac8a)+_0x244cf6;}function _0x24ad03(_0x43c8c2,_0x3f963d,_0x5ae66e,_0x3dab60,_0x53a3b0,_0x3f7420,_0x5c03d0){var _0x2d8f43=_0x43c8c2+(_0x3f963d&_0x3dab60|_0x5ae66e&~_0x3dab60)+_0x53a3b0+_0x5c03d0;return(_0x2d8f43<<_0x3f7420|_0x2d8f43>>>0x20-_0x3f7420)+_0x3f963d;}function _0x3d747e(_0x436d78,_0x5bf6ca,_0x1ebd11,_0x1637fc,_0x35218c,_0x4144ac,_0x302e69){var _0x2b057d=_0x436d78+(_0x5bf6ca^_0x1ebd11^_0x1637fc)+_0x35218c+_0x302e69;return(_0x2b057d<<_0x4144ac|_0x2b057d>>>0x20-_0x4144ac)+_0x5bf6ca;}function _0x2471a9(_0x1ea1e5,_0x2c0c1c,_0x3ae2ff,_0xf98f83,_0x40f9d3,_0x6c377a,_0x28db56){var _0x4f2fcc=_0x1ea1e5+(_0x3ae2ff^(_0x2c0c1c|~_0xf98f83))+_0x40f9d3+_0x28db56;return(_0x4f2fcc<<_0x6c377a|_0x4f2fcc>>>0x20-_0x6c377a)+_0x2c0c1c;}_0x17bb97[_0xa157f2(0x2af)]=_0x800c85[_0xa157f2(0x3fa)](_0x181def),_0x17bb97[_0xa157f2(0x4aa)]=_0x800c85[_0xa157f2(0x1b6)](_0x181def);}(Math),_0x5220b5[_0x2175a6(0x2af)];}));}(_0x10cc54)),_0x10cc54[_0x32ffa1(0x3fd)];}var _0x26f286={'exports':{}},_0x41a06e={'exports':{}},_0x4d9120;function _0x3aac5(){const _0x1c3bc1=_0x5d8d99;return _0x4d9120||(_0x4d9120=0x1,function(_0x2c536b,_0x9dffcf){(function(_0x35ccc2,_0x101bc4){const _0x132d5d=_0x3a4a;_0x2c536b[_0x132d5d(0x3fd)]=_0x101bc4(_0x3bb9d1());}(_0x5d33cd,function(_0x444fd5){const _0x60d5d8=_0x3a4a;return(function(){const _0xcba120=_0x3a4a;var _0x3ff497=_0x444fd5,_0x238541=_0x3ff497[_0xcba120(0x250)],_0x3d5d16=_0x238541[_0xcba120(0x33e)],_0x4c0fff=_0x238541['Hasher'],_0x55f8c2=_0x3ff497[_0xcba120(0x4c6)],_0x1adae2=[],_0x4f0740=_0x55f8c2[_0xcba120(0x1bd)]=_0x4c0fff[_0xcba120(0x352)]({'_doReset':function(){const _0x2220ea=_0xcba120;this[_0x2220ea(0x2da)]=new _0x3d5d16[(_0x2220ea(0x102))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1db39d,_0x313410){const _0x5c4172=_0xcba120;for(var _0x38ea41=this['_hash'][_0x5c4172(0x297)],_0x2276de=_0x38ea41[0x0],_0x2acf3f=_0x38ea41[0x1],_0x131ce3=_0x38ea41[0x2],_0x5e5eda=_0x38ea41[0x3],_0x1afd65=_0x38ea41[0x4],_0x49bfbe=0x0;_0x49bfbe<0x50;_0x49bfbe++){if(_0x49bfbe<0x10)_0x1adae2[_0x49bfbe]=_0x1db39d[_0x313410+_0x49bfbe]|0x0;else{var _0x1ef314=_0x1adae2[_0x49bfbe-0x3]^_0x1adae2[_0x49bfbe-0x8]^_0x1adae2[_0x49bfbe-0xe]^_0x1adae2[_0x49bfbe-0x10];_0x1adae2[_0x49bfbe]=_0x1ef314<<0x1|_0x1ef314>>>0x1f;}var _0x57b9d6=(_0x2276de<<0x5|_0x2276de>>>0x1b)+_0x1afd65+_0x1adae2[_0x49bfbe];_0x49bfbe<0x14?_0x57b9d6+=(_0x2acf3f&_0x131ce3|~_0x2acf3f&_0x5e5eda)+0x5a827999:_0x49bfbe<0x28?_0x57b9d6+=(_0x2acf3f^_0x131ce3^_0x5e5eda)+0x6ed9eba1:_0x49bfbe<0x3c?_0x57b9d6+=(_0x2acf3f&_0x131ce3|_0x2acf3f&_0x5e5eda|_0x131ce3&_0x5e5eda)-0x70e44324:_0x57b9d6+=(_0x2acf3f^_0x131ce3^_0x5e5eda)-0x359d3e2a,_0x1afd65=_0x5e5eda,_0x5e5eda=_0x131ce3,_0x131ce3=_0x2acf3f<<0x1e|_0x2acf3f>>>0x2,_0x2acf3f=_0x2276de,_0x2276de=_0x57b9d6;}_0x38ea41[0x0]=_0x38ea41[0x0]+_0x2276de|0x0,_0x38ea41[0x1]=_0x38ea41[0x1]+_0x2acf3f|0x0,_0x38ea41[0x2]=_0x38ea41[0x2]+_0x131ce3|0x0,_0x38ea41[0x3]=_0x38ea41[0x3]+_0x5e5eda|0x0,_0x38ea41[0x4]=_0x38ea41[0x4]+_0x1afd65|0x0;},'_doFinalize':function(){const _0xc30a6d=_0xcba120;var _0x823307=this[_0xc30a6d(0x480)],_0x3d0511=_0x823307[_0xc30a6d(0x297)],_0x4510a2=this['_nDataBytes']*0x8,_0x138e32=_0x823307[_0xc30a6d(0x4dd)]*0x8;return _0x3d0511[_0x138e32>>>0x5]|=0x80<<0x18-_0x138e32%0x20,_0x3d0511[(_0x138e32+0x40>>>0x9<<0x4)+0xe]=Math[_0xc30a6d(0x46e)](_0x4510a2/0x100000000),_0x3d0511[(_0x138e32+0x40>>>0x9<<0x4)+0xf]=_0x4510a2,_0x823307[_0xc30a6d(0x4dd)]=_0x3d0511[_0xc30a6d(0x52c)]*0x4,this[_0xc30a6d(0x276)](),this[_0xc30a6d(0x2da)];},'clone':function(){const _0x2083e8=_0xcba120;var _0x3fb9d8=_0x4c0fff['clone']['call'](this);return _0x3fb9d8['_hash']=this[_0x2083e8(0x2da)][_0x2083e8(0x384)](),_0x3fb9d8;}});_0x3ff497[_0xcba120(0x1bd)]=_0x4c0fff[_0xcba120(0x3fa)](_0x4f0740),_0x3ff497[_0xcba120(0x441)]=_0x4c0fff[_0xcba120(0x1b6)](_0x4f0740);}()),_0x444fd5[_0x60d5d8(0x1bd)];}));}(_0x41a06e)),_0x41a06e[_0x1c3bc1(0x3fd)];}var _0x4a2fe1={'exports':{}},_0x136b48;function _0xf2887a(){const _0x5e3f86=_0x5d8d99;return _0x136b48||(_0x136b48=0x1,function(_0x121236,_0x1cdea5){(function(_0x25b182,_0x5c8a96){const _0x13b392=_0x3a4a;_0x121236[_0x13b392(0x3fd)]=_0x5c8a96(_0x3bb9d1());}(_0x5d33cd,function(_0x2ad15e){(function(){const _0x388cec=_0x3a4a;var _0x1a54f8=_0x2ad15e,_0x71c656=_0x1a54f8[_0x388cec(0x250)],_0x5c2379=_0x71c656[_0x388cec(0xfe)],_0xf4dda4=_0x1a54f8[_0x388cec(0x214)],_0x413f83=_0xf4dda4[_0x388cec(0x49e)],_0x1bbc6b=_0x1a54f8[_0x388cec(0x4c6)];_0x1bbc6b[_0x388cec(0x4bb)]=_0x5c2379[_0x388cec(0x352)]({'init':function(_0x77b576,_0x266838){const _0x41fa20=_0x388cec;_0x77b576=this[_0x41fa20(0x144)]=new _0x77b576[(_0x41fa20(0x102))](),typeof _0x266838==_0x41fa20(0x452)&&(_0x266838=_0x413f83['parse'](_0x266838));var _0x360cf9=_0x77b576[_0x41fa20(0x396)],_0x4255e3=_0x360cf9*0x4;_0x266838['sigBytes']>_0x4255e3&&(_0x266838=_0x77b576[_0x41fa20(0x3c4)](_0x266838)),_0x266838[_0x41fa20(0x110)]();for(var _0x56bdc9=this[_0x41fa20(0x157)]=_0x266838['clone'](),_0x5df02d=this['_iKey']=_0x266838['clone'](),_0x4777f6=_0x56bdc9['words'],_0x29e66b=_0x5df02d[_0x41fa20(0x297)],_0x38019f=0x0;_0x38019f<_0x360cf9;_0x38019f++)_0x4777f6[_0x38019f]^=0x5c5c5c5c,_0x29e66b[_0x38019f]^=0x36363636;_0x56bdc9[_0x41fa20(0x4dd)]=_0x5df02d['sigBytes']=_0x4255e3,this['reset']();},'reset':function(){const _0x1c03a9=_0x388cec;var _0x521749=this[_0x1c03a9(0x144)];_0x521749[_0x1c03a9(0x127)](),_0x521749[_0x1c03a9(0x145)](this['_iKey']);},'update':function(_0x5ed1ba){const _0x1502ca=_0x388cec;return this[_0x1502ca(0x144)][_0x1502ca(0x145)](_0x5ed1ba),this;},'finalize':function(_0x1ed05e){const _0x18e88f=_0x388cec;var _0x4ccac0=this['_hasher'],_0x4bb9e8=_0x4ccac0[_0x18e88f(0x3c4)](_0x1ed05e);_0x4ccac0[_0x18e88f(0x127)]();var _0x28ba8f=_0x4ccac0[_0x18e88f(0x3c4)](this['_oKey'][_0x18e88f(0x384)]()[_0x18e88f(0x1b5)](_0x4bb9e8));return _0x28ba8f;}});}());}));}(_0x4a2fe1)),_0x4a2fe1[_0x5e3f86(0x3fd)];}var _0x21f226;function _0xd05c58(){const _0x1f6404=_0x5d8d99;return _0x21f226||(_0x21f226=0x1,function(_0x13a309,_0x3ac0a8){(function(_0x38cf62,_0x5e5fa6,_0x2f686b){const _0x1ea646=_0x3a4a;_0x13a309[_0x1ea646(0x3fd)]=_0x5e5fa6(_0x3bb9d1(),_0x3aac5(),_0xf2887a());}(_0x5d33cd,function(_0x10cbf5){return(function(){const _0xcac9f8=_0x3a4a;var _0xf64644=_0x10cbf5,_0x536518=_0xf64644[_0xcac9f8(0x250)],_0x485851=_0x536518[_0xcac9f8(0xfe)],_0x502e34=_0x536518[_0xcac9f8(0x33e)],_0x52985c=_0xf64644[_0xcac9f8(0x4c6)],_0x31fda7=_0x52985c[_0xcac9f8(0x2af)],_0x5dedca=_0x52985c[_0xcac9f8(0x4ab)]=_0x485851[_0xcac9f8(0x352)]({'cfg':_0x485851[_0xcac9f8(0x352)]({'keySize':0x80/0x20,'hasher':_0x31fda7,'iterations':0x1}),'init':function(_0x3a93df){const _0x256438=_0xcac9f8;this[_0x256438(0x3bc)]=this['cfg'][_0x256438(0x352)](_0x3a93df);},'compute':function(_0x51c59b,_0x587fb9){const _0x1b96a5=_0xcac9f8;for(var _0x229c3f,_0x41c843=this['cfg'],_0x2a3665=_0x41c843[_0x1b96a5(0x224)][_0x1b96a5(0x218)](),_0x96a912=_0x502e34['create'](),_0x521923=_0x96a912[_0x1b96a5(0x297)],_0x548a12=_0x41c843[_0x1b96a5(0x38a)],_0x3c5b29=_0x41c843['iterations'];_0x521923[_0x1b96a5(0x52c)]<_0x548a12;){_0x229c3f&&_0x2a3665[_0x1b96a5(0x145)](_0x229c3f),_0x229c3f=_0x2a3665[_0x1b96a5(0x145)](_0x51c59b)['finalize'](_0x587fb9),_0x2a3665['reset']();for(var _0x427db7=0x1;_0x427db7<_0x3c5b29;_0x427db7++)_0x229c3f=_0x2a3665['finalize'](_0x229c3f),_0x2a3665[_0x1b96a5(0x127)]();_0x96a912[_0x1b96a5(0x1b5)](_0x229c3f);}return _0x96a912[_0x1b96a5(0x4dd)]=_0x548a12*0x4,_0x96a912;}});_0xf64644[_0xcac9f8(0x4ab)]=function(_0x106857,_0x1a9241,_0x4709c3){const _0x36472e=_0xcac9f8;return _0x5dedca[_0x36472e(0x218)](_0x4709c3)[_0x36472e(0x342)](_0x106857,_0x1a9241);};}()),_0x10cbf5['EvpKDF'];}));}(_0x26f286)),_0x26f286[_0x1f6404(0x3fd)];}var _0x3f4bf9={'exports':{}},_0x2a30cd;function _0x19885c(){const _0x27a372=_0x5d8d99;return _0x2a30cd||(_0x2a30cd=0x1,function(_0x4746cb,_0x3980e3){(function(_0x569cc8,_0x41996b,_0xd32511){const _0x4fc2e3=_0x3a4a;_0x4746cb[_0x4fc2e3(0x3fd)]=_0x41996b(_0x3bb9d1(),_0xd05c58());}(_0x5d33cd,function(_0x1c79c4){const _0x4f84c0=_0x3a4a;_0x1c79c4[_0x4f84c0(0x250)]['Cipher']||function(_0x19ab3c){const _0x3ca1e5=_0x4f84c0;var _0x595463=_0x1c79c4,_0x53f16b=_0x595463['lib'],_0x5cfa7=_0x53f16b[_0x3ca1e5(0xfe)],_0x324a59=_0x53f16b[_0x3ca1e5(0x33e)],_0x21b7be=_0x53f16b[_0x3ca1e5(0x1f6)],_0x33ef47=_0x595463[_0x3ca1e5(0x214)];_0x33ef47[_0x3ca1e5(0x49e)];var _0x1ba0e6=_0x33ef47[_0x3ca1e5(0x329)],_0x4e6ee3=_0x595463[_0x3ca1e5(0x4c6)],_0x1a6397=_0x4e6ee3['EvpKDF'],_0x3bc1cb=_0x53f16b[_0x3ca1e5(0x251)]=_0x21b7be['extend']({'cfg':_0x5cfa7['extend'](),'createEncryptor':function(_0x4b2e1f,_0x18f55f){const _0x7c8f18=_0x3ca1e5;return this[_0x7c8f18(0x218)](this[_0x7c8f18(0x496)],_0x4b2e1f,_0x18f55f);},'createDecryptor':function(_0x438842,_0x589e50){const _0x1264ac=_0x3ca1e5;return this[_0x1264ac(0x218)](this[_0x1264ac(0x41b)],_0x438842,_0x589e50);},'init':function(_0x2867fa,_0x47089d,_0x18bde0){const _0x1ca08b=_0x3ca1e5;this[_0x1ca08b(0x3bc)]=this[_0x1ca08b(0x3bc)][_0x1ca08b(0x352)](_0x18bde0),this[_0x1ca08b(0x490)]=_0x2867fa,this[_0x1ca08b(0x4da)]=_0x47089d,this[_0x1ca08b(0x127)]();},'reset':function(){const _0x364dcb=_0x3ca1e5;_0x21b7be[_0x364dcb(0x127)][_0x364dcb(0xcf)](this),this['_doReset']();},'process':function(_0x59932d){const _0x20dcbd=_0x3ca1e5;return this[_0x20dcbd(0x3a7)](_0x59932d),this[_0x20dcbd(0x276)]();},'finalize':function(_0x5d0e91){const _0x497dd9=_0x3ca1e5;_0x5d0e91&&this[_0x497dd9(0x3a7)](_0x5d0e91);var _0x20bfb5=this['_doFinalize']();return _0x20bfb5;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x583314(_0x3ccc65){const _0x4f15b4=_0x3a4a;return typeof _0x3ccc65==_0x4f15b4(0x452)?_0xc44367:_0x28d4c3;}return function(_0x51486c){return{'encrypt':function(_0xd505b6,_0x39e72a,_0x21e0d9){const _0x1176e8=_0x3a4a;return _0x583314(_0x39e72a)[_0x1176e8(0x3ad)](_0x51486c,_0xd505b6,_0x39e72a,_0x21e0d9);},'decrypt':function(_0x2482ed,_0x5ea3db,_0x262f7e){return _0x583314(_0x5ea3db)['decrypt'](_0x51486c,_0x2482ed,_0x5ea3db,_0x262f7e);}};};}())});_0x53f16b[_0x3ca1e5(0x4cf)]=_0x3bc1cb['extend']({'_doFinalize':function(){var _0x47b362=this['_process'](!0x0);return _0x47b362;},'blockSize':0x1});var _0x28495f=_0x595463[_0x3ca1e5(0x4ff)]={},_0x3798d0=_0x53f16b[_0x3ca1e5(0x37a)]=_0x5cfa7[_0x3ca1e5(0x352)]({'createEncryptor':function(_0x562a54,_0xb534b3){const _0xf0fd19=_0x3ca1e5;return this[_0xf0fd19(0x4d7)][_0xf0fd19(0x218)](_0x562a54,_0xb534b3);},'createDecryptor':function(_0x4e975b,_0x59db3a){const _0x187ef2=_0x3ca1e5;return this[_0x187ef2(0x1a7)][_0x187ef2(0x218)](_0x4e975b,_0x59db3a);},'init':function(_0x27e395,_0x4d3d1e){const _0x15d9df=_0x3ca1e5;this[_0x15d9df(0x23e)]=_0x27e395,this[_0x15d9df(0x19f)]=_0x4d3d1e;}}),_0x1ba173=_0x28495f[_0x3ca1e5(0x3ed)]=(function(){const _0x55ef7d=_0x3ca1e5;var _0x2c3090=_0x3798d0[_0x55ef7d(0x352)]();_0x2c3090['Encryptor']=_0x2c3090[_0x55ef7d(0x352)]({'processBlock':function(_0x4c1d76,_0x49532f){const _0x9f1f43=_0x55ef7d;var _0x5efa76=this[_0x9f1f43(0x23e)],_0xcda9dd=_0x5efa76['blockSize'];_0x1897d6['call'](this,_0x4c1d76,_0x49532f,_0xcda9dd),_0x5efa76['encryptBlock'](_0x4c1d76,_0x49532f),this['_prevBlock']=_0x4c1d76[_0x9f1f43(0x4ac)](_0x49532f,_0x49532f+_0xcda9dd);}}),_0x2c3090[_0x55ef7d(0x1a7)]=_0x2c3090[_0x55ef7d(0x352)]({'processBlock':function(_0x7a8a69,_0x457b49){const _0x3c3273=_0x55ef7d;var _0x3a179c=this[_0x3c3273(0x23e)],_0x58fd1e=_0x3a179c[_0x3c3273(0x396)],_0x39e779=_0x7a8a69[_0x3c3273(0x4ac)](_0x457b49,_0x457b49+_0x58fd1e);_0x3a179c[_0x3c3273(0x21e)](_0x7a8a69,_0x457b49),_0x1897d6[_0x3c3273(0xcf)](this,_0x7a8a69,_0x457b49,_0x58fd1e),this[_0x3c3273(0xf8)]=_0x39e779;}});function _0x1897d6(_0x3c1fcb,_0x584a3f,_0x2e6fbf){var _0x25bbc7,_0x1746d0=this['_iv'];_0x1746d0?(_0x25bbc7=_0x1746d0,this['_iv']=_0x19ab3c):_0x25bbc7=this['_prevBlock'];for(var _0x30766b=0x0;_0x30766b<_0x2e6fbf;_0x30766b++)_0x3c1fcb[_0x584a3f+_0x30766b]^=_0x25bbc7[_0x30766b];}return _0x2c3090;}()),_0x578e82=_0x595463['pad']={},_0x37f8e2=_0x578e82['Pkcs7']={'pad':function(_0x1e6214,_0x2318c1){const _0x26bd3a=_0x3ca1e5;for(var _0x1d18a8=_0x2318c1*0x4,_0x41f8fa=_0x1d18a8-_0x1e6214[_0x26bd3a(0x4dd)]%_0x1d18a8,_0x1d8ea3=_0x41f8fa<<0x18|_0x41f8fa<<0x10|_0x41f8fa<<0x8|_0x41f8fa,_0x49bdd3=[],_0x498693=0x0;_0x498693<_0x41f8fa;_0x498693+=0x4)_0x49bdd3[_0x26bd3a(0x347)](_0x1d8ea3);var _0x2777f0=_0x324a59['create'](_0x49bdd3,_0x41f8fa);_0x1e6214[_0x26bd3a(0x1b5)](_0x2777f0);},'unpad':function(_0xe0aa16){const _0x18b19e=_0x3ca1e5;var _0x105dcf=_0xe0aa16[_0x18b19e(0x297)][_0xe0aa16[_0x18b19e(0x4dd)]-0x1>>>0x2]&0xff;_0xe0aa16[_0x18b19e(0x4dd)]-=_0x105dcf;}};_0x53f16b['BlockCipher']=_0x3bc1cb[_0x3ca1e5(0x352)]({'cfg':_0x3bc1cb[_0x3ca1e5(0x3bc)]['extend']({'mode':_0x1ba173,'padding':_0x37f8e2}),'reset':function(){const _0x1ae98c=_0x3ca1e5;var _0x1041f2;_0x3bc1cb[_0x1ae98c(0x127)][_0x1ae98c(0xcf)](this);var _0x5359ad=this['cfg'],_0xf2f328=_0x5359ad['iv'],_0xc11b49=_0x5359ad[_0x1ae98c(0x4ff)];this[_0x1ae98c(0x490)]==this[_0x1ae98c(0x496)]?_0x1041f2=_0xc11b49[_0x1ae98c(0x26b)]:(_0x1041f2=_0xc11b49[_0x1ae98c(0x21f)],this[_0x1ae98c(0x9f)]=0x1),this['_mode']&&this[_0x1ae98c(0x326)][_0x1ae98c(0x201)]==_0x1041f2?this['_mode'][_0x1ae98c(0x102)](this,_0xf2f328&&_0xf2f328[_0x1ae98c(0x297)]):(this[_0x1ae98c(0x326)]=_0x1041f2['call'](_0xc11b49,this,_0xf2f328&&_0xf2f328[_0x1ae98c(0x297)]),this[_0x1ae98c(0x326)][_0x1ae98c(0x201)]=_0x1041f2);},'_doProcessBlock':function(_0x244483,_0x5ba428){const _0xbd32cd=_0x3ca1e5;this['_mode'][_0xbd32cd(0x1b2)](_0x244483,_0x5ba428);},'_doFinalize':function(){const _0x36b32f=_0x3ca1e5;var _0x31be71,_0x5101dc=this[_0x36b32f(0x3bc)][_0x36b32f(0x1c1)];return this[_0x36b32f(0x490)]==this[_0x36b32f(0x496)]?(_0x5101dc[_0x36b32f(0x458)](this[_0x36b32f(0x480)],this[_0x36b32f(0x396)]),_0x31be71=this[_0x36b32f(0x276)](!0x0)):(_0x31be71=this[_0x36b32f(0x276)](!0x0),_0x5101dc[_0x36b32f(0xe7)](_0x31be71)),_0x31be71;},'blockSize':0x80/0x20});var _0x5a1f0a=_0x53f16b[_0x3ca1e5(0x497)]=_0x5cfa7[_0x3ca1e5(0x352)]({'init':function(_0x5a2e0e){this['mixIn'](_0x5a2e0e);},'toString':function(_0x547aef){const _0x169185=_0x3ca1e5;return(_0x547aef||this['formatter'])[_0x169185(0x51a)](this);}}),_0x2c6bd3=_0x595463[_0x3ca1e5(0x246)]={},_0x549c7a=_0x2c6bd3[_0x3ca1e5(0x2b4)]={'stringify':function(_0x792e38){const _0x129f16=_0x3ca1e5;var _0x327744,_0x3c1cfc=_0x792e38[_0x129f16(0x3c9)],_0x2c2b2c=_0x792e38[_0x129f16(0x29b)];return _0x2c2b2c?_0x327744=_0x324a59['create']([0x53616c74,0x65645f5f])['concat'](_0x2c2b2c)[_0x129f16(0x1b5)](_0x3c1cfc):_0x327744=_0x3c1cfc,_0x327744[_0x129f16(0xbe)](_0x1ba0e6);},'parse':function(_0x3a131c){const _0x38e0cd=_0x3ca1e5;var _0x297a34,_0x51a818=_0x1ba0e6['parse'](_0x3a131c),_0x3e3e0c=_0x51a818[_0x38e0cd(0x297)];return _0x3e3e0c[0x0]==0x53616c74&&_0x3e3e0c[0x1]==0x65645f5f&&(_0x297a34=_0x324a59[_0x38e0cd(0x218)](_0x3e3e0c[_0x38e0cd(0x4ac)](0x2,0x4)),_0x3e3e0c[_0x38e0cd(0xbd)](0x0,0x4),_0x51a818[_0x38e0cd(0x4dd)]-=0x10),_0x5a1f0a[_0x38e0cd(0x218)]({'ciphertext':_0x51a818,'salt':_0x297a34});}},_0x28d4c3=_0x53f16b[_0x3ca1e5(0x1db)]=_0x5cfa7[_0x3ca1e5(0x352)]({'cfg':_0x5cfa7[_0x3ca1e5(0x352)]({'format':_0x549c7a}),'encrypt':function(_0x367c8c,_0x511dbc,_0x30fb1c,_0x1a3a63){const _0x59452e=_0x3ca1e5;_0x1a3a63=this[_0x59452e(0x3bc)][_0x59452e(0x352)](_0x1a3a63);var _0x5a136c=_0x367c8c[_0x59452e(0x26b)](_0x30fb1c,_0x1a3a63),_0x550842=_0x5a136c[_0x59452e(0x3c4)](_0x511dbc),_0x254176=_0x5a136c['cfg'];return _0x5a1f0a[_0x59452e(0x218)]({'ciphertext':_0x550842,'key':_0x30fb1c,'iv':_0x254176['iv'],'algorithm':_0x367c8c,'mode':_0x254176[_0x59452e(0x4ff)],'padding':_0x254176[_0x59452e(0x1c1)],'blockSize':_0x367c8c[_0x59452e(0x396)],'formatter':_0x1a3a63[_0x59452e(0x246)]});},'decrypt':function(_0x311196,_0x2fdb7b,_0x4a8c89,_0x270391){const _0x8a828b=_0x3ca1e5;_0x270391=this[_0x8a828b(0x3bc)][_0x8a828b(0x352)](_0x270391),_0x2fdb7b=this[_0x8a828b(0x2f2)](_0x2fdb7b,_0x270391[_0x8a828b(0x246)]);var _0x53adf8=_0x311196[_0x8a828b(0x21f)](_0x4a8c89,_0x270391)['finalize'](_0x2fdb7b['ciphertext']);return _0x53adf8;},'_parse':function(_0x5d48b0,_0x44c7b0){const _0x5ddfb4=_0x3ca1e5;return typeof _0x5d48b0==_0x5ddfb4(0x452)?_0x44c7b0['parse'](_0x5d48b0,this):_0x5d48b0;}}),_0x1bebc3=_0x595463[_0x3ca1e5(0x1da)]={},_0x3fa75d=_0x1bebc3['OpenSSL']={'execute':function(_0x47268e,_0x17f5b9,_0xafbb5e,_0x375946,_0x36ae04){const _0x19c83c=_0x3ca1e5;if(_0x375946||(_0x375946=_0x324a59[_0x19c83c(0x198)](0x40/0x8)),_0x36ae04)var _0x2d6129=_0x1a6397[_0x19c83c(0x218)]({'keySize':_0x17f5b9+_0xafbb5e,'hasher':_0x36ae04})[_0x19c83c(0x342)](_0x47268e,_0x375946);else var _0x2d6129=_0x1a6397[_0x19c83c(0x218)]({'keySize':_0x17f5b9+_0xafbb5e})[_0x19c83c(0x342)](_0x47268e,_0x375946);var _0x5d9da6=_0x324a59[_0x19c83c(0x218)](_0x2d6129[_0x19c83c(0x297)][_0x19c83c(0x4ac)](_0x17f5b9),_0xafbb5e*0x4);return _0x2d6129[_0x19c83c(0x4dd)]=_0x17f5b9*0x4,_0x5a1f0a[_0x19c83c(0x218)]({'key':_0x2d6129,'iv':_0x5d9da6,'salt':_0x375946});}},_0xc44367=_0x53f16b[_0x3ca1e5(0x255)]=_0x28d4c3[_0x3ca1e5(0x352)]({'cfg':_0x28d4c3[_0x3ca1e5(0x3bc)][_0x3ca1e5(0x352)]({'kdf':_0x3fa75d}),'encrypt':function(_0x45469a,_0x2e2e8f,_0x11e01e,_0x337ae7){const _0xbef7b2=_0x3ca1e5;_0x337ae7=this[_0xbef7b2(0x3bc)][_0xbef7b2(0x352)](_0x337ae7);var _0x195bf8=_0x337ae7[_0xbef7b2(0x1da)]['execute'](_0x11e01e,_0x45469a[_0xbef7b2(0x38a)],_0x45469a[_0xbef7b2(0x525)],_0x337ae7[_0xbef7b2(0x29b)],_0x337ae7[_0xbef7b2(0x224)]);_0x337ae7['iv']=_0x195bf8['iv'];var _0x47e687=_0x28d4c3[_0xbef7b2(0x3ad)]['call'](this,_0x45469a,_0x2e2e8f,_0x195bf8[_0xbef7b2(0x3f9)],_0x337ae7);return _0x47e687[_0xbef7b2(0x173)](_0x195bf8),_0x47e687;},'decrypt':function(_0x26290d,_0x3ebe2d,_0x38b445,_0x2588f0){const _0x23a61b=_0x3ca1e5;_0x2588f0=this['cfg'][_0x23a61b(0x352)](_0x2588f0),_0x3ebe2d=this[_0x23a61b(0x2f2)](_0x3ebe2d,_0x2588f0[_0x23a61b(0x246)]);var _0x3d4c94=_0x2588f0[_0x23a61b(0x1da)][_0x23a61b(0x52f)](_0x38b445,_0x26290d[_0x23a61b(0x38a)],_0x26290d[_0x23a61b(0x525)],_0x3ebe2d[_0x23a61b(0x29b)],_0x2588f0[_0x23a61b(0x224)]);_0x2588f0['iv']=_0x3d4c94['iv'];var _0x5b8179=_0x28d4c3[_0x23a61b(0x36d)]['call'](this,_0x26290d,_0x3ebe2d,_0x3d4c94[_0x23a61b(0x3f9)],_0x2588f0);return _0x5b8179;}});}();}));}(_0x3f4bf9)),_0x3f4bf9[_0x27a372(0x3fd)];}(function(_0x4171e8,_0x42ee12){(function(_0x219962,_0x879edd,_0x46070d){const _0x4bad42=_0x3a4a;_0x4171e8[_0x4bad42(0x3fd)]=_0x879edd(_0x3bb9d1(),_0x14173a(),_0x2084b7(),_0xd05c58(),_0x19885c());}(_0x5d33cd,function(_0x21dead){return(function(){const _0x417fa5=_0x3a4a;var _0x367c08=_0x21dead,_0x4289c8=_0x367c08[_0x417fa5(0x250)],_0xc07998=_0x4289c8['BlockCipher'],_0xd4f559=_0x367c08[_0x417fa5(0x4c6)],_0x2d7f53=[],_0xd4ccf3=[],_0x19bc7c=[],_0x536794=[],_0x30ff97=[],_0x2e0163=[],_0x416e96=[],_0x3ebbf8=[],_0x1c3507=[],_0x65efa9=[];(function(){for(var _0x2921fe=[],_0x3e0c4b=0x0;_0x3e0c4b<0x100;_0x3e0c4b++)_0x3e0c4b<0x80?_0x2921fe[_0x3e0c4b]=_0x3e0c4b<<0x1:_0x2921fe[_0x3e0c4b]=_0x3e0c4b<<0x1^0x11b;for(var _0x1571a7=0x0,_0x317d10=0x0,_0x3e0c4b=0x0;_0x3e0c4b<0x100;_0x3e0c4b++){var _0x2dbbf7=_0x317d10^_0x317d10<<0x1^_0x317d10<<0x2^_0x317d10<<0x3^_0x317d10<<0x4;_0x2dbbf7=_0x2dbbf7>>>0x8^_0x2dbbf7&0xff^0x63,_0x2d7f53[_0x1571a7]=_0x2dbbf7,_0xd4ccf3[_0x2dbbf7]=_0x1571a7;var _0x1e588d=_0x2921fe[_0x1571a7],_0xd61d7e=_0x2921fe[_0x1e588d],_0x4ca458=_0x2921fe[_0xd61d7e],_0xb25ac8=_0x2921fe[_0x2dbbf7]*0x101^_0x2dbbf7*0x1010100;_0x19bc7c[_0x1571a7]=_0xb25ac8<<0x18|_0xb25ac8>>>0x8,_0x536794[_0x1571a7]=_0xb25ac8<<0x10|_0xb25ac8>>>0x10,_0x30ff97[_0x1571a7]=_0xb25ac8<<0x8|_0xb25ac8>>>0x18,_0x2e0163[_0x1571a7]=_0xb25ac8;var _0xb25ac8=_0x4ca458*0x1010101^_0xd61d7e*0x10001^_0x1e588d*0x101^_0x1571a7*0x1010100;_0x416e96[_0x2dbbf7]=_0xb25ac8<<0x18|_0xb25ac8>>>0x8,_0x3ebbf8[_0x2dbbf7]=_0xb25ac8<<0x10|_0xb25ac8>>>0x10,_0x1c3507[_0x2dbbf7]=_0xb25ac8<<0x8|_0xb25ac8>>>0x18,_0x65efa9[_0x2dbbf7]=_0xb25ac8,_0x1571a7?(_0x1571a7=_0x1e588d^_0x2921fe[_0x2921fe[_0x2921fe[_0x4ca458^_0x1e588d]]],_0x317d10^=_0x2921fe[_0x2921fe[_0x317d10]]):_0x1571a7=_0x317d10=0x1;}}());var _0x1a5a7d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x566286=_0xd4f559['AES']=_0xc07998[_0x417fa5(0x352)]({'_doReset':function(){const _0x247482=_0x417fa5;var _0x794880;if(!(this[_0x247482(0x399)]&&this['_keyPriorReset']===this['_key'])){for(var _0x100afd=this[_0x247482(0x2f5)]=this[_0x247482(0x4da)],_0x47d5ca=_0x100afd[_0x247482(0x297)],_0x3fa9e7=_0x100afd[_0x247482(0x4dd)]/0x4,_0x56e84f=this[_0x247482(0x399)]=_0x3fa9e7+0x6,_0x43b4ad=(_0x56e84f+0x1)*0x4,_0x47db38=this['_keySchedule']=[],_0x2c8c6b=0x0;_0x2c8c6b<_0x43b4ad;_0x2c8c6b++)_0x2c8c6b<_0x3fa9e7?_0x47db38[_0x2c8c6b]=_0x47d5ca[_0x2c8c6b]:(_0x794880=_0x47db38[_0x2c8c6b-0x1],_0x2c8c6b%_0x3fa9e7?_0x3fa9e7>0x6&&_0x2c8c6b%_0x3fa9e7==0x4&&(_0x794880=_0x2d7f53[_0x794880>>>0x18]<<0x18|_0x2d7f53[_0x794880>>>0x10&0xff]<<0x10|_0x2d7f53[_0x794880>>>0x8&0xff]<<0x8|_0x2d7f53[_0x794880&0xff]):(_0x794880=_0x794880<<0x8|_0x794880>>>0x18,_0x794880=_0x2d7f53[_0x794880>>>0x18]<<0x18|_0x2d7f53[_0x794880>>>0x10&0xff]<<0x10|_0x2d7f53[_0x794880>>>0x8&0xff]<<0x8|_0x2d7f53[_0x794880&0xff],_0x794880^=_0x1a5a7d[_0x2c8c6b/_0x3fa9e7|0x0]<<0x18),_0x47db38[_0x2c8c6b]=_0x47db38[_0x2c8c6b-_0x3fa9e7]^_0x794880);for(var _0x357338=this[_0x247482(0x4e9)]=[],_0x3b6733=0x0;_0x3b6733<_0x43b4ad;_0x3b6733++){var _0x2c8c6b=_0x43b4ad-_0x3b6733;if(_0x3b6733%0x4)var _0x794880=_0x47db38[_0x2c8c6b];else var _0x794880=_0x47db38[_0x2c8c6b-0x4];_0x3b6733<0x4||_0x2c8c6b<=0x4?_0x357338[_0x3b6733]=_0x794880:_0x357338[_0x3b6733]=_0x416e96[_0x2d7f53[_0x794880>>>0x18]]^_0x3ebbf8[_0x2d7f53[_0x794880>>>0x10&0xff]]^_0x1c3507[_0x2d7f53[_0x794880>>>0x8&0xff]]^_0x65efa9[_0x2d7f53[_0x794880&0xff]];}}},'encryptBlock':function(_0x56a014,_0x3a1203){const _0x2967a7=_0x417fa5;this[_0x2967a7(0x12c)](_0x56a014,_0x3a1203,this[_0x2967a7(0x1f7)],_0x19bc7c,_0x536794,_0x30ff97,_0x2e0163,_0x2d7f53);},'decryptBlock':function(_0xd6f642,_0x5e4cdc){const _0x2d91e9=_0x417fa5;var _0x58fac9=_0xd6f642[_0x5e4cdc+0x1];_0xd6f642[_0x5e4cdc+0x1]=_0xd6f642[_0x5e4cdc+0x3],_0xd6f642[_0x5e4cdc+0x3]=_0x58fac9,this[_0x2d91e9(0x12c)](_0xd6f642,_0x5e4cdc,this['_invKeySchedule'],_0x416e96,_0x3ebbf8,_0x1c3507,_0x65efa9,_0xd4ccf3);var _0x58fac9=_0xd6f642[_0x5e4cdc+0x1];_0xd6f642[_0x5e4cdc+0x1]=_0xd6f642[_0x5e4cdc+0x3],_0xd6f642[_0x5e4cdc+0x3]=_0x58fac9;},'_doCryptBlock':function(_0x460c8c,_0x2775c6,_0x1f47e5,_0x2558dc,_0x4aad7f,_0x523b86,_0x3f4768,_0x3302f6){for(var _0x535c3d=this['_nRounds'],_0x39873f=_0x460c8c[_0x2775c6]^_0x1f47e5[0x0],_0x45dd10=_0x460c8c[_0x2775c6+0x1]^_0x1f47e5[0x1],_0x260922=_0x460c8c[_0x2775c6+0x2]^_0x1f47e5[0x2],_0x553055=_0x460c8c[_0x2775c6+0x3]^_0x1f47e5[0x3],_0x4b116d=0x4,_0x563fdf=0x1;_0x563fdf<_0x535c3d;_0x563fdf++){var _0x51aec5=_0x2558dc[_0x39873f>>>0x18]^_0x4aad7f[_0x45dd10>>>0x10&0xff]^_0x523b86[_0x260922>>>0x8&0xff]^_0x3f4768[_0x553055&0xff]^_0x1f47e5[_0x4b116d++],_0x4fa3d6=_0x2558dc[_0x45dd10>>>0x18]^_0x4aad7f[_0x260922>>>0x10&0xff]^_0x523b86[_0x553055>>>0x8&0xff]^_0x3f4768[_0x39873f&0xff]^_0x1f47e5[_0x4b116d++],_0x2ea36a=_0x2558dc[_0x260922>>>0x18]^_0x4aad7f[_0x553055>>>0x10&0xff]^_0x523b86[_0x39873f>>>0x8&0xff]^_0x3f4768[_0x45dd10&0xff]^_0x1f47e5[_0x4b116d++],_0x34db38=_0x2558dc[_0x553055>>>0x18]^_0x4aad7f[_0x39873f>>>0x10&0xff]^_0x523b86[_0x45dd10>>>0x8&0xff]^_0x3f4768[_0x260922&0xff]^_0x1f47e5[_0x4b116d++];_0x39873f=_0x51aec5,_0x45dd10=_0x4fa3d6,_0x260922=_0x2ea36a,_0x553055=_0x34db38;}var _0x51aec5=(_0x3302f6[_0x39873f>>>0x18]<<0x18|_0x3302f6[_0x45dd10>>>0x10&0xff]<<0x10|_0x3302f6[_0x260922>>>0x8&0xff]<<0x8|_0x3302f6[_0x553055&0xff])^_0x1f47e5[_0x4b116d++],_0x4fa3d6=(_0x3302f6[_0x45dd10>>>0x18]<<0x18|_0x3302f6[_0x260922>>>0x10&0xff]<<0x10|_0x3302f6[_0x553055>>>0x8&0xff]<<0x8|_0x3302f6[_0x39873f&0xff])^_0x1f47e5[_0x4b116d++],_0x2ea36a=(_0x3302f6[_0x260922>>>0x18]<<0x18|_0x3302f6[_0x553055>>>0x10&0xff]<<0x10|_0x3302f6[_0x39873f>>>0x8&0xff]<<0x8|_0x3302f6[_0x45dd10&0xff])^_0x1f47e5[_0x4b116d++],_0x34db38=(_0x3302f6[_0x553055>>>0x18]<<0x18|_0x3302f6[_0x39873f>>>0x10&0xff]<<0x10|_0x3302f6[_0x45dd10>>>0x8&0xff]<<0x8|_0x3302f6[_0x260922&0xff])^_0x1f47e5[_0x4b116d++];_0x460c8c[_0x2775c6]=_0x51aec5,_0x460c8c[_0x2775c6+0x1]=_0x4fa3d6,_0x460c8c[_0x2775c6+0x2]=_0x2ea36a,_0x460c8c[_0x2775c6+0x3]=_0x34db38;},'keySize':0x100/0x20});_0x367c08[_0x417fa5(0x1fb)]=_0xc07998[_0x417fa5(0x3fa)](_0x566286);}()),_0x21dead['AES'];}));}(_0x2dce9d));var _0x4fc946=_0x2dce9d[_0x5d8d99(0x3fd)];const _0x5995e7=_0x4f174d(_0x4fc946);var _0x3c746d=_0x14173a();const _0x347bd9=_0x4f174d(_0x3c746d);var _0x1600f5={'exports':{}};(function(_0x221eec,_0x4b9303){(function(_0x1aa108,_0x128ef8){_0x221eec['exports']=_0x128ef8(_0x3bb9d1());}(_0x5d33cd,function(_0x424cd7){const _0x5af748=_0x3a4a;return _0x424cd7[_0x5af748(0x214)][_0x5af748(0x49e)];}));}(_0x1600f5));var _0x3ee23d=_0x1600f5['exports'];const _0x5ae30e=_0x4f174d(_0x3ee23d);var _0x55cde4={'exports':{}};(function(_0x5e04cb,_0x18ba68){(function(_0xda966e,_0xa8ddd){const _0x1f9335=_0x3a4a;_0x5e04cb[_0x1f9335(0x3fd)]=_0xa8ddd(_0x3bb9d1());}(_0x5d33cd,function(_0x31dfc1){const _0x37fd5c=_0x3a4a;return(function(){const _0x406ac9=_0x3a4a;if(typeof ArrayBuffer=='function'){var _0x382534=_0x31dfc1,_0x10bb57=_0x382534[_0x406ac9(0x250)],_0x29d73f=_0x10bb57[_0x406ac9(0x33e)],_0x43306c=_0x29d73f[_0x406ac9(0x102)],_0x147a44=_0x29d73f[_0x406ac9(0x102)]=function(_0x33c859){const _0x39e0b3=_0x406ac9;if(_0x33c859 instanceof ArrayBuffer&&(_0x33c859=new Uint8Array(_0x33c859)),(_0x33c859 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x33c859 instanceof Uint8ClampedArray||_0x33c859 instanceof Int16Array||_0x33c859 instanceof Uint16Array||_0x33c859 instanceof Int32Array||_0x33c859 instanceof Uint32Array||_0x33c859 instanceof Float32Array||_0x33c859 instanceof Float64Array)&&(_0x33c859=new Uint8Array(_0x33c859[_0x39e0b3(0xf7)],_0x33c859['byteOffset'],_0x33c859[_0x39e0b3(0x33d)])),_0x33c859 instanceof Uint8Array){for(var _0x526174=_0x33c859['byteLength'],_0x244ec7=[],_0x4dcd51=0x0;_0x4dcd51<_0x526174;_0x4dcd51++)_0x244ec7[_0x4dcd51>>>0x2]|=_0x33c859[_0x4dcd51]<<0x18-_0x4dcd51%0x4*0x8;_0x43306c[_0x39e0b3(0xcf)](this,_0x244ec7,_0x526174);}else _0x43306c[_0x39e0b3(0x539)](this,arguments);};_0x147a44['prototype']=_0x29d73f;}}()),_0x31dfc1['lib'][_0x37fd5c(0x33e)];}));}(_0x55cde4));var _0xe8c0a4=_0x55cde4[_0x5d8d99(0x3fd)];const _0x405018=_0x4f174d(_0xe8c0a4);var _0x31605a={'exports':{}};(function(_0x32cb44,_0x323395){(function(_0x3a0a02,_0x5c8699,_0x387ffa){const _0x35f029=_0x3a4a;_0x32cb44[_0x35f029(0x3fd)]=_0x5c8699(_0x3bb9d1(),_0x19885c());}(_0x5d33cd,function(_0xb59529){const _0x326430=_0x3a4a;return _0xb59529[_0x326430(0x458)][_0x326430(0x1a5)]={'pad':function(){},'unpad':function(){}},_0xb59529[_0x326430(0x458)][_0x326430(0x1a5)];}));}(_0x31605a));var _0x35ada7=_0x31605a[_0x5d8d99(0x3fd)];const _0xc6b361=_0x4f174d(_0x35ada7);function _0x1fabdb(_0x14abeb,_0x2f8acc){const _0x494c61=_0x5d8d99,_0x398f3b=_0x2f8acc-_0x14abeb[_0x494c61(0x52c)]%_0x2f8acc,_0x4d45ad=String[_0x494c61(0x51e)](_0x398f3b)[_0x494c61(0x10a)](_0x398f3b);return _0x14abeb+_0x4d45ad;}function _0x3769d5(_0x43f5f,_0x48b0bd){const _0x214d1a=_0x5d8d99,_0x33f246=_0x405018[_0x214d1a(0x198)](0x10),_0x38ae0b=_0x1fabdb(_0x43f5f,0x10),_0x21f2ba=_0x5995e7[_0x214d1a(0x3ad)](_0x5ae30e[_0x214d1a(0x40c)](_0x38ae0b),_0x347bd9[_0x214d1a(0x40c)](_0x48b0bd),{'iv':_0x33f246,'padding':_0xc6b361});return _0x33f246['concat'](_0x21f2ba[_0x214d1a(0x3c9)])[_0x214d1a(0xbe)](_0x347bd9);}function _0x49b33a(){const _0x2c413f=_0x5d8d99,_0x41a83e=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x2c413f(0x39f)];if(_0x41a83e){const _0x3095b3={'time':Math['floor'](Date[_0x2c413f(0x23d)]()/0x3e8),'domain':location[_0x2c413f(0x37b)]};return _0x3769d5(JSON['stringify'](_0x3095b3),_0x41a83e);}}var _0x33495b=Object[_0x5d8d99(0x48f)],_0x14ea23=Object[_0x5d8d99(0x48b)],_0x473994=(_0xe1bf2f,_0x7715d3,_0x214d7a,_0x5812f7)=>{const _0x4cb332=_0x5d8d99;for(var _0x3ea374=_0x5812f7>0x1?void 0x0:_0x5812f7?_0x14ea23(_0x7715d3,_0x214d7a):_0x7715d3,_0x4e7b28=_0xe1bf2f[_0x4cb332(0x52c)]-0x1,_0x2b6d68;_0x4e7b28>=0x0;_0x4e7b28--)(_0x2b6d68=_0xe1bf2f[_0x4e7b28])&&(_0x3ea374=(_0x5812f7?_0x2b6d68(_0x7715d3,_0x214d7a,_0x3ea374):_0x2b6d68(_0x3ea374))||_0x3ea374);return _0x5812f7&&_0x3ea374&&_0x33495b(_0x7715d3,_0x214d7a,_0x3ea374),_0x3ea374;},_0x3417b8=(_0x3ad8f7,_0x317218)=>(_0x58749e,_0xe2327f)=>_0x317218(_0x58749e,_0xe2327f,_0x3ad8f7);let _0x96e9cf=class{constructor(_0x39cde5){const _0x377ebd=_0x5d8d99;this['_httpService']=_0x39cde5,this[_0x377ebd(0x473)]();}['_initRequestHeader'](){const _0x2de13b=_0x5d8d99;this[_0x2de13b(0x2e5)][_0x2de13b(0x34e)]({'interceptor':(_0x3dce79,_0x3c3899)=>{const _0x51196b=_0x2de13b,_0x48e5ab=_0x3dce79[_0x51196b(0x3d4)],_0x56bcdb=_0x49b33a();return _0x56bcdb&&_0x48e5ab[_0x51196b(0x4a7)](_0x51196b(0x240),_0x56bcdb),_0x3c3899(_0x3dce79);}});}};_0x96e9cf=_0x473994([_0x3417b8(0x0,_0x28c502[_0x5d8d99(0x48a)](_0x5d2d09['HTTPService']))],_0x96e9cf);var _0x508b1d=Object[_0x5d8d99(0x48f)],_0x1b22ca=Object[_0x5d8d99(0x48b)],_0x1d4e60=(_0x173eb3,_0x248c10,_0x518ca5,_0xb3b8d4)=>{for(var _0x5bfea1=_0xb3b8d4>0x1?void 0x0:_0xb3b8d4?_0x1b22ca(_0x248c10,_0x518ca5):_0x248c10,_0x3a4047=_0x173eb3['length']-0x1,_0x2c1d55;_0x3a4047>=0x0;_0x3a4047--)(_0x2c1d55=_0x173eb3[_0x3a4047])&&(_0x5bfea1=(_0xb3b8d4?_0x2c1d55(_0x248c10,_0x518ca5,_0x5bfea1):_0x2c1d55(_0x5bfea1))||_0x5bfea1);return _0xb3b8d4&&_0x5bfea1&&_0x508b1d(_0x248c10,_0x518ca5,_0x5bfea1),_0x5bfea1;},_0x505352=(_0x2a0399,_0x274c83)=>(_0x2cf4b9,_0x2e71f0)=>_0x274c83(_0x2cf4b9,_0x2e71f0,_0x2a0399);const _0x1b48df=[_0x5d8d99(0x47c),_0x5d8d99(0x169),_0x5d8d99(0xe4),_0x5d8d99(0x2a3),_0x5d8d99(0x293)],_0x44a6f7=0x5*0x400*0x400,_0x4bb899=_0x5d8d99(0x369),_0x4c7411=_0x5d8d99(0x222),_0x94a7de=_0x5d8d99(0x524),_0x10e3ff=_0x5d8d99(0x19d);_0x4c1435[_0x5d8d99(0x42d)]=class{constructor(_0x5411bf,_0x2bd4e6,_0x21f369){const _0x2149b1=_0x5d8d99;_0x569acc(this,_0x2149b1(0x2e3),0x0),_0x569acc(this,_0x2149b1(0x1ec),new _0x158390[(_0x2149b1(0x3fc))]()),_0x569acc(this,_0x2149b1(0x318),this[_0x2149b1(0x1ec)]),_0x569acc(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x5411bf,this[_0x2149b1(0x298)]=_0x2bd4e6,this[_0x2149b1(0x14c)]=_0x21f369);}['setWaitCount'](_0x2519f1){const _0x356470=_0x5d8d99;this[_0x356470(0x2e3)]=_0x2519f1,this[_0x356470(0x1ec)][_0x356470(0xb4)](_0x2519f1);}[_0x5d8d99(0x35a)](_0x566d30,_0x2e630c){const _0x10fdf0=_0x5d8d99;if(_0x2e630c===_0x4d719d[_0x10fdf0(0x2bc)]['BASE64']){const _0x43dc5d=new Image();return _0x43dc5d[_0x10fdf0(0x39b)]=_0x566d30,_0x43dc5d;}return this['_imageSourceCache']['get'](_0x566d30);}['addImageSourceCache'](_0xb1efd1,_0x404676,_0x1ec27b){const _0x44a212=_0x5d8d99;_0x404676===_0x4d719d['ImageSourceType'][_0x44a212(0x10b)]||_0x1ec27b==null||this['_imageSourceCache'][_0x44a212(0x4a7)](_0xb1efd1,_0x1ec27b);}async[_0x5d8d99(0x2c5)](_0x2fb05c){const _0x1d77ff=_0x5d8d99;try{const _0x37f194=this[_0x1d77ff(0x502)](this['_getSignURL'](),''+_0x2fb05c),_0x136f4a=(await this[_0x1d77ff(0x2e5)][_0x1d77ff(0x3a8)](_0x37f194))[_0x1d77ff(0x447)];if(_0x136f4a['error']&&_0x136f4a[_0x1d77ff(0x13c)][_0x1d77ff(0x2d9)]===_0x3a0128['OK']){const _0x29bbef=new URL(_0x136f4a['url'],this[_0x1d77ff(0x2ff)]())['toString']();return Promise[_0x1d77ff(0x108)](_0x29bbef);}return Promise[_0x1d77ff(0x51d)](_0x136f4a[_0x1d77ff(0x13c)]);}catch(_0x4ad57b){return Promise['reject'](_0x4ad57b);}}async[_0x5d8d99(0x53e)](_0x206a61){const _0xceb79d=_0x5d8d99;let _0x565c19='';if(!_0x1b48df[_0xceb79d(0x16c)](_0x206a61[_0xceb79d(0x36c)]))return this['_decreaseWaiting'](),Promise[_0xceb79d(0x51d)](new Error(_0x4d719d[_0xceb79d(0x487)][_0xceb79d(0xa8)]));if(_0x206a61[_0xceb79d(0x3f0)]>_0x44a6f7)return this[_0xceb79d(0x3d8)](),Promise[_0xceb79d(0x51d)](new Error(_0x4d719d['ImageUploadStatusType'][_0xceb79d(0x48d)]));try{const _0x35b6c4=new FormData();_0x35b6c4[_0xceb79d(0x371)](_0xceb79d(0x368),_0x206a61);const _0x103006=this[_0xceb79d(0x14c)]['getFocusedUnit'](),_0x5db436=_0x103006==null?void 0x0:_0x103006[_0xceb79d(0x3aa)]();if(!_0x5db436)throw new Error(_0xceb79d(0x499));const _0x3f746f=this[_0xceb79d(0x13e)]()+_0xceb79d(0x153)+_0x206a61[_0xceb79d(0x3f0)][_0xceb79d(0xbe)]()+_0xceb79d(0x2d3)+_0x3a2340[_0xceb79d(0x4d9)]+'&assign='+encodeURIComponent(_0x5db436),_0x228794=await(await fetch(_0x3f746f,{'method':_0xceb79d(0x363),'body':_0x35b6c4}))[_0xceb79d(0x267)]();if(typeof _0x228794[_0xceb79d(0x2c8)]!=_0xceb79d(0x452))return this[_0xceb79d(0x3d8)](),Promise[_0xceb79d(0x51d)](new Error(_0x4d719d[_0xceb79d(0x487)]['ERROR_IMAGE']));_0x565c19=_0x228794[_0xceb79d(0x2c8)];}catch{return this[_0xceb79d(0x3d8)](),Promise['reject'](new Error(_0x4d719d[_0xceb79d(0x487)][_0xceb79d(0x3a4)]));}return new Promise((_0x553ed8,_0x1ffb1e)=>{const _0x1e5943=new FileReader();_0x1e5943['readAsDataURL'](_0x206a61),_0x1e5943['onload']=_0x51d5d8=>{const _0x3ed9f2=_0x3a4a;var _0x3d49b9;const _0x263267=(_0x3d49b9=_0x51d5d8[_0x3ed9f2(0x34a)])==null?void 0x0:_0x3d49b9[_0x3ed9f2(0x392)];if(_0x263267==null){this[_0x3ed9f2(0x3d8)](),_0x1ffb1e(new Error(_0x4d719d[_0x3ed9f2(0x487)]['ERROR_IMAGE']));return;}const _0x2a07e9=_0x28c502['Tools'][_0x3ed9f2(0x275)](0x6);_0x553ed8({'imageId':_0x2a07e9,'imageSourceType':_0x4d719d[_0x3ed9f2(0x2bc)][_0x3ed9f2(0x103)],'source':_0x565c19,'base64Cache':_0x263267,'status':_0x4d719d[_0x3ed9f2(0x487)][_0x3ed9f2(0x4bf)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){const _0x46d24b=_0x5d8d99;var _0x377078,_0x16e3e1;const _0x28165f=this[_0x46d24b(0x298)][_0x46d24b(0x2ea)](_0x4bb899),_0x1fd9c9=this[_0x46d24b(0x298)]['getConfig'](_0x5b0249);return(_0x16e3e1=(_0x377078=_0x1fd9c9==null?void 0x0:_0x1fd9c9[_0x46d24b(0x129)])!=null?_0x377078:_0x28165f)!=null?_0x16e3e1:_0x4c7411;}[_0x5d8d99(0x213)](){const _0x428e5a=_0x5d8d99;var _0x3cc1d4,_0x2d21ac;const _0x4b2e37=this[_0x428e5a(0x298)][_0x428e5a(0x2ea)](_0x94a7de),_0x511911=this[_0x428e5a(0x298)][_0x428e5a(0x2ea)](_0x5b0249);return(_0x2d21ac=(_0x3cc1d4=_0x511911==null?void 0x0:_0x511911['signUrlServerUrl'])!=null?_0x3cc1d4:_0x4b2e37)!=null?_0x2d21ac:_0x10e3ff;}[_0x5d8d99(0x2ff)](){const _0x43e8be=_0x5d8d99;var _0xc7286d;const _0x391522=this[_0x43e8be(0x298)]['getConfig'](_0x5b0249);return(_0xc7286d=_0x391522==null?void 0x0:_0x391522[_0x43e8be(0x91)])!=null?_0xc7286d:location[_0x43e8be(0x225)];}[_0x5d8d99(0x502)](_0xe1bf32,_0x1dc826){const _0x30f432=_0x5d8d99;return _0xe1bf32[_0x30f432(0x29d)](_0x30f432(0x37c),_0x1dc826);}[_0x5d8d99(0x3d8)](){const _0x481aa0=_0x5d8d99;this[_0x481aa0(0x2e3)]-=0x1,this[_0x481aa0(0x1ec)][_0x481aa0(0xb4)](this['_waitCount']);}},_0x4c1435[_0x5d8d99(0x42d)]=_0x1d4e60([_0x505352(0x0,_0x28c502[_0x5d8d99(0x48a)](_0x5d2d09[_0x5d8d99(0x508)])),_0x505352(0x1,_0x28c502[_0x5d8d99(0x422)]),_0x505352(0x2,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x380)]))],_0x4c1435[_0x5d8d99(0x42d)]);var _0x2696cd=Object[_0x5d8d99(0x48f)],_0x51a3a9=Object[_0x5d8d99(0x48b)],_0xff8a61=(_0x97aa31,_0x29b172,_0x3682c0,_0x523bc6)=>{const _0x3db7d7=_0x5d8d99;for(var _0x4f1679=_0x523bc6>0x1?void 0x0:_0x523bc6?_0x51a3a9(_0x29b172,_0x3682c0):_0x29b172,_0x38c552=_0x97aa31[_0x3db7d7(0x52c)]-0x1,_0x18901b;_0x38c552>=0x0;_0x38c552--)(_0x18901b=_0x97aa31[_0x38c552])&&(_0x4f1679=(_0x523bc6?_0x18901b(_0x29b172,_0x3682c0,_0x4f1679):_0x18901b(_0x4f1679))||_0x4f1679);return _0x523bc6&&_0x4f1679&&_0x2696cd(_0x29b172,_0x3682c0,_0x4f1679),_0x4f1679;},_0x2baa3a=(_0x5521b3,_0x174e95)=>(_0x1f249f,_0x4ca1a2)=>_0x174e95(_0x1f249f,_0x4ca1a2,_0x5521b3);let _0x4dde98=class extends _0x28c502['RxDisposable']{constructor(_0x2c9208,_0x5e5a7d,_0x5c2141,_0x4206fb,_0x40b556){const _0x1ca30f=_0x5d8d99;super(),this[_0x1ca30f(0x119)]=_0x2c9208,this[_0x1ca30f(0x14c)]=_0x5e5a7d,this[_0x1ca30f(0x9c)]=_0x5c2141,this['_collaborationSessionService']=_0x4206fb,this[_0x1ca30f(0xdc)]=_0x40b556,this[_0x1ca30f(0x1ed)](),this[_0x1ca30f(0x2b5)]();}[_0x5d8d99(0x2b5)](){const _0x4ed851=_0x5d8d99,_0x1250e7=async _0x33a6f6=>{const _0x1416e7=_0x3a4a;(await this[_0x1416e7(0x27c)]['requireSession'](_0x33a6f6))[_0x1416e7(0xf3)][_0x1416e7(0x4fb)](_0x9d1bc[_0x1416e7(0x1ea)](_0x1ca738=>_0x1ca738[_0x1416e7(0x44f)]===_0x50e560[_0x1416e7(0x53d)][_0x1416e7(0x315)]),_0x9d1bc[_0x1416e7(0x150)](this['dispose$']))[_0x1416e7(0x3d2)](_0x13bee6=>{const _0x519884=_0x1416e7,_0xef57bf=_0x13bee6,{reason:_0x1131bd}=_0xef57bf[_0x519884(0x376)];this['_injector']['get'](_0x28a60c[_0x519884(0x1e7)])['show']({'type':_0x4fac56['MessageType']['Error'],'content':this[_0x519884(0xdc)]['t'](_0x519884(0x88))+'('+_0x1131bd+')'}),this[_0x519884(0x9c)][_0x519884(0x324)](new _0x256063['WorkbookEditablePermission'](_0x33a6f6)['id'],!0x1),this[_0x519884(0x27c)]['closeSession'](_0x33a6f6);});};_0x158390[_0x4ed851(0x3a3)](this[_0x4ed851(0x14c)][_0x4ed851(0x4f4)](_0x28c502[_0x4ed851(0x3c0)]['UNIVER_SHEET']),this[_0x4ed851(0x14c)][_0x4ed851(0x4f4)](_0x28c502[_0x4ed851(0x3c0)][_0x4ed851(0x358)]))['pipe'](_0x9d1bc[_0x4ed851(0x1c9)](_0x539138=>_0x539138[_0x4ed851(0x3aa)]()),_0x9d1bc[_0x4ed851(0x1ea)](_0x275590=>!_0x28c502[_0x4ed851(0x47e)](_0x275590)),_0x9d1bc['takeUntil'](this[_0x4ed851(0x51f)]))['subscribe'](_0x22f940=>{_0x1250e7(_0x22f940);});}[_0x5d8d99(0x1ed)](){const _0xbfaab4=_0x5d8d99,_0x2a5a14=async _0x4e578b=>{const _0x3d977c=_0x3a4a;(await this[_0x3d977c(0x27c)][_0x3d977c(0xc0)](_0x4e578b))[_0x3d977c(0xf3)][_0x3d977c(0x4fb)](_0x9d1bc[_0x3d977c(0x1ea)](_0xdae070=>_0xdae070[_0x3d977c(0x44f)]===_0x50e560[_0x3d977c(0x53d)][_0x3d977c(0x2ab)]),_0x9d1bc[_0x3d977c(0x150)](this[_0x3d977c(0x51f)]))['subscribe'](_0x5ecfbb=>{const _0x462aba=_0x3d977c,_0x1898b2=_0x5ecfbb,{objectId:_0x572c48}=_0x1898b2[_0x462aba(0x376)],_0x259e06=this['_injector']['get'](_0x5d4d05['SheetPermissionInitController']);_0x572c48===_0x4e578b?_0x259e06[_0x462aba(0x89)](_0x4e578b):_0x259e06[_0x462aba(0x26e)](_0x4e578b,_0x572c48);});};_0x158390['merge'](this[_0xbfaab4(0x14c)][_0xbfaab4(0x4f4)](_0x28c502[_0xbfaab4(0x3c0)]['UNIVER_SHEET']),this[_0xbfaab4(0x14c)][_0xbfaab4(0x4f4)](_0x28c502[_0xbfaab4(0x3c0)][_0xbfaab4(0x358)]))[_0xbfaab4(0x4fb)](_0x9d1bc[_0xbfaab4(0x1c9)](_0xd97331=>_0xd97331[_0xbfaab4(0x3aa)]()),_0x9d1bc[_0xbfaab4(0x1ea)](_0x1c52d4=>!_0x28c502['isInternalEditorID'](_0x1c52d4)),_0x9d1bc['takeUntil'](this[_0xbfaab4(0x51f)]))[_0xbfaab4(0x3d2)](_0x21ad1a=>{_0x2a5a14(_0x21ad1a);});}};_0x4dde98=_0xff8a61([_0x2baa3a(0x0,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x2baa3a(0x1,_0x28c502[_0x5d8d99(0x380)]),_0x2baa3a(0x2,_0x28c502[_0x5d8d99(0xd3)]),_0x2baa3a(0x3,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435[_0x5d8d99(0x2b2)])),_0x2baa3a(0x4,_0x28c502['Inject'](_0x28c502[_0x5d8d99(0x469)]))],_0x4dde98);var _0x19db7b=Object[_0x5d8d99(0x48f)],_0x47f79f=Object[_0x5d8d99(0x48b)],_0x23ce10=(_0xf32fce,_0x4f827b,_0x1cc938,_0x2eee01)=>{for(var _0x3e5ff9=_0x2eee01>0x1?void 0x0:_0x2eee01?_0x47f79f(_0x4f827b,_0x1cc938):_0x4f827b,_0x2008b0=_0xf32fce['length']-0x1,_0x2e6822;_0x2008b0>=0x0;_0x2008b0--)(_0x2e6822=_0xf32fce[_0x2008b0])&&(_0x3e5ff9=(_0x2eee01?_0x2e6822(_0x4f827b,_0x1cc938,_0x3e5ff9):_0x2e6822(_0x3e5ff9))||_0x3e5ff9);return _0x2eee01&&_0x3e5ff9&&_0x19db7b(_0x4f827b,_0x1cc938,_0x3e5ff9),_0x3e5ff9;},_0x1634de=(_0x8f6dba,_0x15afaa)=>(_0x2270a0,_0x671531)=>_0x15afaa(_0x2270a0,_0x671531,_0x8f6dba);_0x4c1435['SnapshotServerOverHTTPService']=class{constructor(_0x4277d8,_0x1e3e12){const _0x4f872a=_0x5d8d99;this[_0x4f872a(0x298)]=_0x4277d8,this[_0x4f872a(0x2e5)]=_0x1e3e12;}async['getUnitOnRev'](_0x51a6f8,_0x2eccfe){const _0x138d28=_0x5d8d99;var _0x2a724e;const {unitID:_0x1ab318,type:_0x11bbf7,revision:_0x5bcbe2=0x0}=_0x2eccfe,_0x100692=this[_0x138d28(0x3d1)]()+'/'+_0x11bbf7+_0x138d28(0x109)+_0x1ab318+_0x138d28(0x25b)+_0x5bcbe2,_0x4f953a=(await this[_0x138d28(0x2e5)][_0x138d28(0x3a8)](_0x100692))[_0x138d28(0x447)],_0x47864a=(_0x2a724e=_0x4f953a[_0x138d28(0x17b)])==null?void 0x0:_0x2a724e[_0x138d28(0x3cf)];if(_0x47864a){const _0x24af1b=_0x47864a==null?void 0x0:_0x47864a[_0x138d28(0x20a)],_0x275705=_0x50e560[_0x138d28(0x301)][_0x138d28(0xb9)](_0x50e560['b64DecodeUnicode'](_0x24af1b));_0x47864a['originalMeta']=_0x275705,Object[_0x138d28(0xd7)](_0x47864a['sheets'])['forEach'](([,_0xb05fb])=>{const _0x5ccb9d=_0x138d28,_0x4be64f=_0xb05fb[_0x5ccb9d(0x20a)],_0xb82cf0=_0x50e560[_0x5ccb9d(0x301)][_0x5ccb9d(0xb9)](_0x50e560['b64DecodeUnicode'](_0x4be64f));_0xb05fb['originalMeta']=_0xb82cf0;});}return _0x4f953a;}async['getSheetBlock'](_0xbdc38c,_0x1fd0f0){const _0xdb49df=_0x5d8d99,{unitID:_0x514056,type:_0x1a1825,blockID:_0x4351fd}=_0x1fd0f0,_0x47fdeb=this[_0xdb49df(0x249)]()+'/'+_0x1a1825+'/unit/'+_0x514056+_0xdb49df(0x449)+_0x4351fd;return(await this[_0xdb49df(0x2e5)][_0xdb49df(0x3a8)](_0x47fdeb))[_0xdb49df(0x447)];}async[_0x5d8d99(0xb5)](_0x1cef06,_0x1d2fb9){const _0x2e59ad=_0x5d8d99,{unitID:_0x569ad0,type:_0x110cb2,blockID:_0x4f5dc8}=_0x1d2fb9,_0x9f40d7=this[_0x2e59ad(0x249)]()+_0x2e59ad(0x449)+_0x110cb2+_0x2e59ad(0x109)+_0x569ad0+'/block/'+_0x4f5dc8;return(await this['_httpService'][_0x2e59ad(0x3a8)](_0x9f40d7))[_0x2e59ad(0x447)];}async[_0x5d8d99(0x28f)](_0x29d7f0,_0x3cc803){const _0x3bccf9=_0x5d8d99,{unitID:_0x12fb57,type:_0x5e58c3,from:_0x4ae76e,to:_0xe0401b}=_0x3cc803,_0xc68d65=this['_getAPIPrefix']()+'/'+_0x5e58c3+_0x3bccf9(0x109)+_0x12fb57+'/fetchmissing?from='+_0x4ae76e+_0x3bccf9(0x385)+_0xe0401b;return(await this[_0x3bccf9(0x2e5)][_0x3bccf9(0x3a8)](_0xc68d65))['body'];}['_getSnapshotAPIPrefix'](){const _0x224838=_0x5d8d99;var _0x363eea;return(_0x363eea=this['_configService']['getConfig'](_0x28e608))!=null?_0x363eea:this[_0x224838(0x249)]();}['_getAPIPrefix'](){const _0x30ddb3=_0x5d8d99;var _0x28cf13,_0x1df4e8;const _0x56182c=this[_0x30ddb3(0x298)][_0x30ddb3(0x2ea)](_0x53ab54),_0x501bd7=this[_0x30ddb3(0x298)][_0x30ddb3(0x2ea)](_0x5b0249);return(_0x1df4e8=(_0x28cf13=_0x501bd7==null?void 0x0:_0x501bd7[_0x30ddb3(0x152)])!=null?_0x28cf13:_0x56182c)!=null?_0x1df4e8:_0x8097e4;}async[_0x5d8d99(0x2c6)](_0x30a0f9,_0x2a49fc){const _0x5e31df=_0x5d8d99,_0x2b813a=_0x5e31df(0xe6)+_0x2a49fc['type']+_0x5e31df(0x109)+_0x2a49fc[_0x5e31df(0xe5)]+_0x5e31df(0x25d);return(await this[_0x5e31df(0x2e5)][_0x5e31df(0x3a8)](_0x2b813a,{'params':{'resourceId':JSON[_0x5e31df(0x51a)](_0x2a49fc[_0x5e31df(0x400)])}}))[_0x5e31df(0x447)];}['saveSnapshot'](){const _0x349d8f=_0x5d8d99;throw new Error(_0x349d8f(0x2ce));}['saveSheetBlock'](){const _0x33ecb9=_0x5d8d99;throw new Error(_0x33ecb9(0x2ce));}['saveChangeset'](){const _0x2658bf=_0x5d8d99;throw new Error(_0x2658bf(0x2ce));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5d8d99(0x3d3)](){const _0x12aa37=_0x5d8d99;throw new Error(_0x12aa37(0x2ce));}},_0x4c1435[_0x5d8d99(0x20e)]=_0x23ce10([_0x1634de(0x0,_0x28c502['IConfigService']),_0x1634de(0x1,_0x28c502[_0x5d8d99(0x48a)](_0x5d2d09[_0x5d8d99(0x508)]))],_0x4c1435['SnapshotServerOverHTTPService']);var _0x40c82c=Object[_0x5d8d99(0x48f)],_0x533ebe=Object[_0x5d8d99(0x48b)],_0x2e9845=(_0x1f3db1,_0x1a15b2,_0x3195b4,_0xe113c9)=>{const _0x453a48=_0x5d8d99;for(var _0x4aa1de=_0xe113c9>0x1?void 0x0:_0xe113c9?_0x533ebe(_0x1a15b2,_0x3195b4):_0x1a15b2,_0x345872=_0x1f3db1[_0x453a48(0x52c)]-0x1,_0x22250e;_0x345872>=0x0;_0x345872--)(_0x22250e=_0x1f3db1[_0x345872])&&(_0x4aa1de=(_0xe113c9?_0x22250e(_0x1a15b2,_0x3195b4,_0x4aa1de):_0x22250e(_0x4aa1de))||_0x4aa1de);return _0xe113c9&&_0x4aa1de&&_0x40c82c(_0x1a15b2,_0x3195b4,_0x4aa1de),_0x4aa1de;},_0x6d50f8=(_0x29697f,_0x14d9d6)=>(_0x36ead5,_0x433055)=>_0x14d9d6(_0x36ead5,_0x433055,_0x29697f);let _0x34309f=class extends _0x28c502[_0x5d8d99(0x136)]{constructor(_0x11a465,_0x586123,_0x3202fc,_0x4d6743,_0xafb9f5){super(_0x11a465,_0x586123,_0x3202fc),this['_transformService']=_0x4d6743,this['_logService']=_0xafb9f5;}[_0x5d8d99(0x511)](_0x3516f0,_0x1f95ee){const _0x25ef47=_0x5d8d99,_0x3935a6=this['_getUndoStack'](_0x3516f0);if(_0x3935a6)try{const _0x200d9f=this[_0x25ef47(0x43a)](_0x3935a6,_0x1f95ee);this[_0x25ef47(0x227)](_0x3516f0,_0x200d9f);}catch(_0x4557da){this[_0x25ef47(0x414)]['error'](_0x25ef47(0x13f),_0x4557da),this[_0x25ef47(0x229)](_0x3516f0);}const _0x413b6e=this[_0x25ef47(0x49d)](_0x3516f0);if(_0x413b6e)try{const _0x4d3ec5=this[_0x25ef47(0x43a)](_0x413b6e,_0x1f95ee);this[_0x25ef47(0xa6)](_0x3516f0,_0x4d3ec5);}catch(_0x11fe23){this[_0x25ef47(0x414)][_0x25ef47(0x13c)](_0x11fe23),this[_0x25ef47(0x1b4)](_0x3516f0);}}['_clearUndo'](_0x4b3e1f){const _0xc8353d=this['_getUndoStack'](_0x4b3e1f);_0xc8353d&&(_0xc8353d['length']=0x0,this['_updateStatus']());}[_0x5d8d99(0x1b4)](_0x43b2b3){const _0x489447=_0x5d8d99,_0x3a473d=this[_0x489447(0x49d)](_0x43b2b3);_0x3a473d&&(_0x3a473d['length']=0x0,this['_updateStatus']());}[_0x5d8d99(0x227)](_0x464988,_0xfc3c7){const _0x1eb0ca=_0x5d8d99;this[_0x1eb0ca(0x1e5)]['set'](_0x464988,_0xfc3c7),this['_updateStatus']();}[_0x5d8d99(0xa6)](_0x460f7a,_0x3701a4){const _0x1b744d=_0x5d8d99;this[_0x1b744d(0x45a)][_0x1b744d(0x4a7)](_0x460f7a,_0x3701a4),this[_0x1b744d(0x263)]();}['_transformStack'](_0x21ccc1,_0x14ff1f){const _0x14d23a=_0x5d8d99,_0x1a8831=[];let _0x5abb0c=_0x14ff1f,_0x3d2593=_0x14ff1f;for(let _0x54a4bb=_0x21ccc1[_0x14d23a(0x52c)]-0x1;_0x54a4bb>=0x0;_0x54a4bb--){const {unitID:_0x4fba00,undoMutations:_0x6e6ffd,redoMutations:_0x4e54b7}=_0x21ccc1[_0x54a4bb],_0x28f2a3=this['_transformService'][_0x14d23a(0x2c7)](_0x5abb0c,_0x6e6ffd),_0x52a012=this[_0x14d23a(0x258)][_0x14d23a(0x2c7)](_0x3d2593,_0x4e54b7);if(_0x50e560[_0x14d23a(0x4c2)](_0x28f2a3)||_0x50e560[_0x14d23a(0x4c2)](_0x52a012)){this[_0x14d23a(0x414)][_0x14d23a(0x13c)](_0x14d23a(0x13f),_0x14d23a(0x412),_0x28f2a3,_0x52a012);break;}_0x5abb0c=_0x28f2a3[_0x14d23a(0x189)],_0x3d2593=_0x52a012['c1Prime'],_0x1a8831[_0x14d23a(0x347)]({'unitID':_0x4fba00,'undoMutations':_0x28f2a3[_0x14d23a(0x4d1)],'redoMutations':_0x52a012[_0x14d23a(0x4d1)]});}return _0x1a8831[_0x14d23a(0x151)]();}};_0x34309f=_0x2e9845([_0x6d50f8(0x0,_0x28c502[_0x5d8d99(0x380)]),_0x6d50f8(0x1,_0x28c502[_0x5d8d99(0x123)]),_0x6d50f8(0x2,_0x28c502['IContextService']),_0x6d50f8(0x3,_0x50e560[_0x5d8d99(0x3d0)]),_0x6d50f8(0x4,_0x28c502[_0x5d8d99(0xad)])],_0x34309f);class _0x394cb0 extends _0x28c502[_0x5d8d99(0x156)]{constructor(){const _0x4b3f7d=_0x5d8d99;super(),_0x569acc(this,_0x4b3f7d(0x472)),this[_0x4b3f7d(0x472)]=_0x158390[_0x4b3f7d(0x175)](window,_0x4b3f7d(0x299))[_0x4b3f7d(0x4fb)](_0x158390[_0x4b3f7d(0x150)](this[_0x4b3f7d(0x51f)]),_0x158390[_0x4b3f7d(0x2b9)](0x1),_0x158390['mapTo'](void 0x0));}[_0x5d8d99(0xc1)](_0x429c7f,_0x3b6a55,_0x329af8=!0x1){const _0x4dc477=_0x5d8d99,_0x5af2e1=new URL(window[_0x4dc477(0x350)][_0x4dc477(0x4ca)]);_0x5af2e1['searchParams'][_0x4dc477(0x4a7)](_0x429c7f,_0x3b6a55),_0x329af8?window[_0x4dc477(0x346)]['replaceState']('','',_0x5af2e1[_0x4dc477(0xbe)]()):window[_0x4dc477(0x346)][_0x4dc477(0x1a3)]('','',_0x5af2e1[_0x4dc477(0xbe)]());}['removeParam'](_0x35a21c,_0x5dad2f=!0x1){const _0x587621=_0x5d8d99,_0x537464=new URL(window[_0x587621(0x350)][_0x587621(0x4ca)]);_0x537464['searchParams']['delete'](_0x35a21c),_0x5dad2f?window[_0x587621(0x346)][_0x587621(0x28e)]('','',_0x537464['toString']()):window['history'][_0x587621(0x1a3)]('','',_0x537464['toString']());}[_0x5d8d99(0xe2)](_0x56d1e4){const _0x5a153=_0x5d8d99;var _0x1993fc;return(_0x1993fc=new URL(window['location'][_0x5a153(0x4ca)])[_0x5a153(0x3cb)][_0x5a153(0x3a8)](_0x56d1e4))!=null?_0x1993fc:void 0x0;}}var _0x61ab1=Object[_0x5d8d99(0x48f)],_0x5b3e41=Object[_0x5d8d99(0x48b)],_0x1c002b=(_0x1bdbad,_0x3ee2f1,_0x3bda35)=>_0x3ee2f1 in _0x1bdbad?_0x61ab1(_0x1bdbad,_0x3ee2f1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3bda35}):_0x1bdbad[_0x3ee2f1]=_0x3bda35,_0x25f1cd=(_0x3216cd,_0x6fee4b,_0x465aa2,_0x1a0d22)=>{const _0xf51c06=_0x5d8d99;for(var _0x165a03=_0x1a0d22>0x1?void 0x0:_0x1a0d22?_0x5b3e41(_0x6fee4b,_0x465aa2):_0x6fee4b,_0x1077a=_0x3216cd[_0xf51c06(0x52c)]-0x1,_0x20e53f;_0x1077a>=0x0;_0x1077a--)(_0x20e53f=_0x3216cd[_0x1077a])&&(_0x165a03=(_0x1a0d22?_0x20e53f(_0x6fee4b,_0x465aa2,_0x165a03):_0x20e53f(_0x165a03))||_0x165a03);return _0x1a0d22&&_0x165a03&&_0x61ab1(_0x6fee4b,_0x465aa2,_0x165a03),_0x165a03;},_0x5b1b46=(_0x24ec01,_0x1f6dd8)=>(_0x496b78,_0x4a55c8)=>_0x1f6dd8(_0x496b78,_0x4a55c8,_0x24ec01),_0xdf03c9=(_0x28b258,_0x176c48,_0xaa727f)=>_0x1c002b(_0x28b258,_0x176c48+'',_0xaa727f);const _0x1744a3='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x4c1435[_0x5d8d99(0x111)]=class extends _0x28c502[_0x5d8d99(0x259)]{constructor(_0x5624e0=_0x2f81d6,_0x3b33bd,_0x2e87ce,_0x1b08ab,_0x2512aa){const _0x2a84ff=_0x5d8d99;super(),this[_0x2a84ff(0x2fa)]=_0x5624e0,this[_0x2a84ff(0x414)]=_0x3b33bd,this['_renderManagerService']=_0x2e87ce,this['_injector']=_0x1b08ab,this[_0x2a84ff(0x298)]=_0x2512aa;const {..._0x2f8ffb}=this[_0x2a84ff(0x2fa)];this['_configService'][_0x2a84ff(0x49c)](_0x5b0249,_0x2f8ffb);}[_0x5d8d99(0x4a6)](){const _0x903d89=_0x5d8d99;this[_0x903d89(0x3df)](),this['_initDependencies']();}['onReady'](){const _0x2790db=_0x5d8d99;_0x28c502[_0x2790db(0x37e)](this['_injector'],[[_0x3b5673]]);}[_0x5d8d99(0x1b0)](){const _0x2c27a0=_0x5d8d99;this[_0x2c27a0(0x112)]();}[_0x5d8d99(0x3df)](){const _0x23b48e=_0x5d8d99;var _0x5f2e36,_0x1b170a,_0x459271,_0x114d8d;this[_0x23b48e(0x119)][_0x23b48e(0xb0)](_0x28c502['IUndoRedoService'])&&this[_0x23b48e(0x414)][_0x23b48e(0x13c)](_0x23b48e(0x2d7),_0x23b48e(0x3db));const _0x2748d2=[[_0x28c502[_0x23b48e(0x459)],{'useClass':_0x34309f}],[_0x4c1435[_0x23b48e(0x2b2)]],[_0x5254e5],[_0x59b0fb,{'useClass':_0x394cb0}],[_0x4c1435[_0x23b48e(0x1a6)]],[_0x4c1435['LocalCacheService']],[_0x5d2d09[_0x23b48e(0x39d)]],[_0x474488],[_0x2b7e0e],[_0x4971b6],[_0x1664c1],[_0x18a3f7],[_0x142e6b],[_0x96e9cf],[_0x35d563],[_0x4dde98],[_0x5266e3,{'useClass':(_0x1b170a=(_0x5f2e36=this[_0x23b48e(0x2fa)])==null?void 0x0:_0x5f2e36[_0x23b48e(0x4d8)])!=null?_0x1b170a:_0x4c1435['CollaborationSocketService']}],[_0x50e560[_0x23b48e(0x3b2)],{'useClass':_0x4c1435[_0x23b48e(0x20e)]}],[_0x28c502[_0x23b48e(0x4ce)],{'useClass':_0x4c1435[_0x23b48e(0x4a4)]}],[_0x4d719d[_0x23b48e(0xdb)],{'useClass':_0x4c1435[_0x23b48e(0x42d)]}],[_0x4c1435['CollaborationController']],[_0x4c1435['DataLoaderController']],[_0x4c1435[_0x23b48e(0x8b)]],[_0x3b5673],[_0x4dbe53]];(_0x459271=this['_config'])!=null&&_0x459271['enableSingleActiveInstanceLock']&&_0x2748d2[_0x23b48e(0x347)]([_0x299919,{'useClass':_0x1796ae}]),_0x28c502['registerDependencies'](this['_injector'],_0x28c502[_0x23b48e(0x1d9)](_0x2748d2,(_0x114d8d=this[_0x23b48e(0x2fa)])==null?void 0x0:_0x114d8d[_0x23b48e(0x41d)]));}[_0x5d8d99(0x112)](){const _0x1d805b=_0x5d8d99;this[_0x1d805b(0x4b5)](this[_0x1d805b(0x176)][_0x1d805b(0x53a)](_0x28c502[_0x1d805b(0x3c0)][_0x1d805b(0x358)],[_0x5cdf2e])),this['disposeWithMe'](this[_0x1d805b(0x176)][_0x1d805b(0x53a)](_0x28c502[_0x1d805b(0x3c0)][_0x1d805b(0x3de)],[_0x5d55f6]));}[_0x5d8d99(0x320)](){const _0x2bf4c7=_0x5d8d99;var _0x5494c3,_0x51b0f2;this['_injector'][_0x2bf4c7(0x3a8)](_0x5d2d09[_0x2bf4c7(0x508)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x5d2d09['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x5494c3=this[_0x2bf4c7(0x2fa)])!=null&&_0x5494c3['enableOfflineEditing']||this[_0x2bf4c7(0x119)][_0x2bf4c7(0x3a8)](_0x4c1435[_0x2bf4c7(0x92)])['disableLocalCache'](),(_0x51b0f2=this[_0x2bf4c7(0x2fa)])!=null&&_0x51b0f2['enableAuthServer']&&_0x28c502[_0x2bf4c7(0x37e)](this[_0x2bf4c7(0x119)],[[_0x142e6b]]),_0x28c502[_0x2bf4c7(0x37e)](this[_0x2bf4c7(0x119)],[[_0x96e9cf],[_0x4dbe53],[_0x4c1435[_0x2bf4c7(0x233)]],[_0x4c1435[_0x2bf4c7(0x4dc)]],[_0x4c1435[_0x2bf4c7(0x8b)]],[_0x4dde98]]);}},_0xdf03c9(_0x4c1435['UniverCollaborationClientPlugin'],'pluginName',_0x1744a3),_0x4c1435[_0x5d8d99(0x111)]=_0x25f1cd([_0x28c502[_0x5d8d99(0x1c4)](_0x50e560['UniverCollaborationPlugin'],_0x5d2d09['UniverNetworkPlugin']),_0x5b1b46(0x1,_0x28c502[_0x5d8d99(0xad)]),_0x5b1b46(0x2,_0x5474e6[_0x5d8d99(0x14e)]),_0x5b1b46(0x3,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x5b1b46(0x4,_0x28c502[_0x5d8d99(0x422)])],_0x4c1435[_0x5d8d99(0x111)]),_0x4c1435[_0x5d8d99(0x1f8)]=_0x18204f,_0x4c1435[_0x5d8d99(0x53c)]=_0x3fe672,_0x4c1435[_0x5d8d99(0x23a)]=_0x29870a,_0x4c1435[_0x5d8d99(0x2fb)]=_0xda01df,_0x4c1435['CollaborationStatusDisplay']=_0x1a6fe6,_0x4c1435[_0x5d8d99(0x47f)]=_0x35d563,_0x4c1435[_0x5d8d99(0x174)]=_0x3fc47f,_0x4c1435[_0x5d8d99(0x3e1)]=_0x48f29d,_0x4c1435[_0x5d8d99(0x4f5)]=_0x5266e3,_0x4c1435['IURLService']=_0x59b0fb,_0x4c1435[_0x5d8d99(0x25a)]=_0x346b18,_0x4c1435['LOGIN_URL_KEY']=_0x3181be,_0x4c1435['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x46e8a1,_0x4c1435['SEND_CHANGESET_TIMEOUT_KEY']=_0x34d1ad,_0x4c1435['SNAPSHOT_SERVER_URL_KEY']=_0x53ab54,_0x4c1435[_0x5d8d99(0x2f3)]=_0x28e608,_0x4c1435[_0x5d8d99(0x15e)]=_0x36f038,_0x4c1435[_0x5d8d99(0x1d7)]=_0x1ef405,_0x4c1435[_0x5d8d99(0x1b8)]=_0x394cb0,_0x4c1435[_0x5d8d99(0x2d0)]=_0x3e065f,_0x4c1435[_0x5d8d99(0x195)]=_0x20acea,Object['defineProperty'](_0x4c1435,Symbol[_0x5d8d99(0x4f6)],{'value':_0x5d8d99(0x22f)});}));
|