@univerjs-pro/collaboration-client 0.9.1-nightly.202507071607 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x2a48(_0x192d28,_0x563e81){var _0x19f6b3=_0x19f6();return _0x2a48=function(_0x2a487c,_0x334755){_0x2a487c=_0x2a487c-0x1ac;var _0x5ca682=_0x19f6b3[_0x2a487c];return _0x5ca682;},_0x2a48(_0x192d28,_0x563e81);}function _0x19f6(){var _0x2701f8=['TOO_MANY_REQUESTS','_replayCachedMutations','capture','/-/object/-/batch_allowed','createInstance','HmacMD5','INTERNAL_ERROR','INGEST','requestParams','onTransformIME','_sendingTimer','OTHER_CLIENTS_EDITING','UNIVER_PROJECT','readInt32LE','clamp','joinRsp','[OfflineState]:\x20received\x20rejection.','USERS_ENTER','_snapshotService','POST','_onJoinRoomEvent','editingUnit','session.room-not-exists','_hasher','map','_sessionStatus$','responseType','_undoRedoService','_executeRemoteChangeset','_reverseMap','LOCAL_CACHE_INTERVAL','getCurrentSelections','createDecryptor','selections','StreamCipher','_transformUndoredo','\x0aAfter:\x20','unitId','JOIN','collabWebSocketUrl','OpenSSL','CollaborativeUndoRedoService','OPTIONAL','encrypt','_getAPIPrefixPath','BufferedBlockAlgorithm','_createHandler','name','getUnit','collaboratorID','_sendHeartbeat','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','rxjs','deepClone','218714oRdcGZ','resend','_getLoginPath','UserManagerService','_resendTimer','ConflictState','/new_changes','_telemetryService','_configService','_process','submit\x20changeset\x20error!','getUnitId','pad','fromCollab','awaiting','_members','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','editing\x20status\x20changed\x20to','updateOfflineData','unit-cache-','INVALID_ARGUMENT','HEARTBEAT_INTERVAL','_applyRemoteChangeset','_sessions','PY_RUNTIME_SCRIPT_ERROR','_ENC_XFORM_MODE','&assign=','splice','MD5','getLocalCacheKey','UniverDocs','onTransformSelections','Decryptor','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','rxjs/operators','_clearHeartbeatTimer','mergeOverrideWithDependencies','session.room-full','[OfflineState]:\x20received\x20changeset.','parseProtocolChangeset','_doReset','3051188WrXDRl','WorkbookEditablePermission','saveChangeset','method','/universer-api/stream/file/upload','fetchThroughInterceptors','parse','onMissingChangesets','getLatestCsReqIdBySid','fetching\x20missing\x20changesets\x20from\x20','keySize','MUTATION','onCommandExecuted','length','getUnitStatus$','LOGIN_URL_KEY','_stopTelemetryCollaborationNewChangeset','debug','action','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','OFFLINE','encode','complete','abs','UniverSheets','reqId','ILogService','_prevBlock','LICENSE_DISTRO_REJECTED','Utf8','saveImage','sid','localeService','close','_onRemoteChangeset','UNIVER_DOC','EmptyMutation','take','[PendingState]:\x20received\x20rejection.','SEND_CHANGESET_TIMEOUT','INVITE_CODE_ALREADY_BOUND','AWAITING_WITH_PENDING','_initCloseConn','_onOffline','_schedule','UUID','synced','/resources','_resendWithTimeout','compute','Pkcs7','_clearLocalCache','_waitCount','460winbQV','NOT_COLLAB','CONNECTOR_DATA_TOO_LARGE','toStringTag','_onRemoteRejected','CHANGESET_REVISION_CONFILICT','_instanceService','_sheetTransformSelectionsService','_commentService','__Key__','object','buffer','COLLAB_WEB_SOCKET_URL_KEY','onCommentUpdate','error$','DEFAULT_WS_SESSION_TICKET_URL','UnitEmbedded','_unitInfo$','_createHmacHelper','[CollaborationUndoRedoService]','update','commentUpdateEvent','appendMutation','_commentUpdate$','isTransformMutationsWithChangesetFailure','/fetchmissing?from=','_substituteUndoStack','code','exports','_socketReady','SHA1','type','getUnitType','SNAPSHOT_INVALID_SNAPSHOT','getCollabEntity$','_permissionService','refreshPermission','getValue','mixIn','_transformService','UniverProCollaborationClient','SheetsSelectionsService','HttpImport','10690458TturaC','@univerjs/docs','entityInit$','getSheetBlock','setWaitCount','_updateState','confirm','_doCreateSocket','IContextService','post','UniverTelemetry','LIVESHARE_OPERATION','body','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','extend','textRanges','CONFLICT','RichTextEditingMutation','ISnapshotServerService','_onFetchMissResult','RevisionService','sheets','createIdentifier','unitInfo$','onLocalMutation','push','set','readyForCollab','@univerjs/telemetry','OfflineState','_waitForHeartbeatResponse','CollaborationEntity','Encryptor','enc','UNRECOGNIZED','_clearRetryConnectingTimer','authzUrl','onSendChangeset','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_throwTelemetryCollaborationNewChangeset','_injector','JSONX','location','MentionIoHttpService','/universer-api/snapshot/','status','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','has','touchDependencies','words','_HTTPService','RxDisposable','RETRY_CONNECTING_MAX_COUNT_KEY','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[PendingState]:\x20unhandled\x20univer\x20type:\x20','ImageUploadStatusType','compose','[FetchMissState]','LIVESHARE_REQUEST_HOST','_createSocket','IDLE','transformUndoRedo','UnitSnapshot','EXCHANGE_SIGN_URL_SERVER_URL_KEY','enableSingleActiveInstanceLock','PSEUDO_FETCH_MISSING_RESULT','getCollabEntity','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_listenToNetworkCondition','forEach','session','DocCollaborationEntity','CollaborationUIEventId','_tryEnsureSocket','_networkConditionService','SYNCED','/unit/','getCurrentRevOfUnit','actions','INVITE_CODE_HAS_BEEN_UES','IImageIoService','_clearCollaborationTimeoutTimer','dispose','failed\x20to\x20apply\x20missed\x20changesets!','_incrementRevisionNumber','unitId\x20is\x20not\x20found','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','collaboration-client.local-cache-service','_pendingMutations','Cipher','isArray','parseChangesetToProtocol','getTypeOfUnitAdded$','getFocusedUnit','YUUMI_ALL_TABLES_IS_INVALID','getSnapshotAPIPath','getResourcesRequest','BASE64','init','ERROR_IMAGE','pending','createEncryptor','_exhaustRemoteChangesetQueue','/universer-api/oidc/authpage','_handler','image/png','loadUnitOfRevision','_updateStatus','SHOULD_CLOSE_CONN','collaborators','isInternalEditorID','socket\x20open.','UNIVER_SLIDE','_showConflictNotification','[PendingState]:\x20received\x20acknowledgement.','EMAIL_VERIFY_CODE_MISMATCH','\x20-\x20','unitID','reduce','/object/','_createHelper','326CbyGiz','closeSession','5XPTqpz','put','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','AwaitingWithPendingState','$super','getGlobalObject','UniverProCollaboration','ICollaborationSocketService','_acknowledgedAwaitingChangeset','getAllMembers','finalize','[CollaborationEntity]','_sender','unknown','_onConnectionFailed','UniverCollaborationClientPlugin','setCurrentUser','_getSendChangesetTimeout','HELLO','\x20in\x20_schedule.','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','subUnitId','catch','MemberService','HTTPService','infoRsp','_keyPriorReset','toggleOnline','IConfigService','default','_initRequestHeader','sessionStatus$','PendingState','SOCKET_FAILED_RETRY','_socket','UNKNOWN_CODE','not_collab','_disableEditing','uuidv4','telemetry\x20info\x20is\x20not\x20initialized','APPLY_REVISION_CONFILICT','AwaitingState','MentionType','awaitingChangeset','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','ENSURE_SNAPSHOT_EXECUTION','_remoteChangesetQueue','interceptor','call','UNIVER_COLLABORATION_CLIENT_PLUGIN','execute','UNAUTHENTICATED','_getUploadFileURL','_decreaseWaiting','_collaborationUIEventService','symbol','fetchMiss','function','&to=','LICENSE_EXPORT_SIZE_EXCEEDED','UniverProLicense','_change$','_unitID','_clearRedo','ISingleActiveUnitService','_collaborationTimeoutTimer','registerDependencies','APPLY_REJECT','asObservable','HmacSHA1','collabSubmitChangesetUrl','PasswordBasedCipher','_initMergeInterceptor','YUUMI_TABLE_NOT_FOUND_IN_UNIT','RECV','_startCollaboration','UNKNOWN_CMD','INetworkConditionService','_key','LocalUndoRedoService','stopTime','_status$','ONLINE','_cipher','_isPermissionRej','COMPRESS_MUTATION_SEND','create','_iv','ivSize','COMPLETION_FINISHED','__creator','DisposableCollection','pipe','_candidateSocket','GLOBAL_ROOMS_CNT_EXCEEDS','transformMutationsWithChangeset','MSG_FOR_ERROR','@univerjs/sheets','NOT_FOUND','putCollaborators','onSyncEditingCollabCursor','_syncEditingCollabCursor','_revisionService','getMemberID','_data','onRemoteAck','/-/object/list','__esModule','COMPRESS_MUTATION_APPLY','[CollaborationSession]','APPLY_DUPLICATED','CollaborationSessionService','_roomMembers','_oKey','msCrypto','_startTelemetryCollaborationNewChangeset','onRemoteChangeset','Tools','unpad','_onLocalMutation','ITransformService','IUniverInstanceService','_entities','Could\x20not\x20dynamically\x20require\x20\x22','UniverNetworkPlugin','members$','online$','@univerjs/network','originalMeta','COLLAB_SUBMIT_CHANGESET_URL','_queuedRemoteChangesets','SessionStatus','_submitChangeset','9708QRwNXr','_minBufferSize','sigBytes','getImage','stringify','isPermissionRej','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','joinEvent','ws://127.0.0.1:8000/universer-api/comb/connect','APPLY_NON_SEQUENTIAL_REVISION','add','c2Prime','BehaviorSubject','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','clear','_members$','USERS_LEAVE','eventID','changesets','LICENSE_IMPORT_SIZE_EXCEEDED','csShouldRetryEvent','FetchingMissState','/rev/','SheetCollaborationEntity','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Latin1','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','ERROR_EXCEED_SIZE','getImageSourceCache','YUUMI_RATE_OVER_LIMIT','rev','routeKey','MergeInterceptorFactory','?url=','permissionRejEvent','sendChangesetTimeout','_lockTransition','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_timeoutTimer','/universer-api/uniscript','CollaborationController','UnitStatus','leaveEvent','subscribe','session.room-cnt-exceeds','_init','getConfig','defineProperty','entries','_roomCreated$','registerHTTPInterceptor','_onRemoteACK','processBlock','/universer-api/comb','HEARTBEAT_TIMEOUT_KEY','DataLoaderService','UniverInstanceType','UPDATE_CURSOR','ImageSourceType','event$','format','_socketMessageSubscription','_tryReconnect','subject','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','toString','ThresholdInterceptorFactory','CHANGESET_SHOULD_RETRY','JOIN_ROOM_FAILED','executeCommand','SNAPSHOT_HAS_BEEN_REMOVED','UNDEFINED','getTime','HEARTBEAT','Univer','session.room-permission-denied','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','PERSON','ISocketService','_onUserLeave','min','_changesetReqId','hasher','workbook','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','next','patch','addImageSourceCache','string','ALREADY_EXISTS','kdf','merge','LOGIN_FAILED','_getCurrentRevision','connection\x20error','AuthzIoHttpService','uploadFileServerUrl','get','change$','ERROR_IMAGE_TYPE','getRandomValues','HTTPRequest','socket\x20close','unsubscribe','listRoles','headers','_append','_transformRemoteChangesetByStateCache','floor','updatePermissionPoint','serializeCombRequest','pluginName','collaMsg','PENDING','getActiveSheet','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','fromCharCode','delay','_localeService','sin','/universer-api/authz','equals','b64DecodeUnicode','[DataLoaderService]','_telemetryInfo','session.join-failed','toggleOffline','_iKey','mutations','transformStack\x20failed!','YUUMI_URL_COL_OUT_OF_RANGE','COMMENT_UPDATE','snapshot','_event$','_compressMutationService','url','LIVESHARE_FETCH_OPERATIONS','JOIN_ROOM_PERMISSION_DENIED','_state$','CollaborationSession','UniverDrawing','LEAVE','IMentionIOService','_onRecvEvent','OTHER_CLIENT_EDITING','roles','UniverCore','PERMISSION_REJ','FAIL','JOIN_ROOM_FULL','salt','incrementRevOfUnit','join','socketService','_doProcessBlock','_onConflict','findIndex','revision','/allowed','_createInitialState','_map','CipherParams','ciphertext','_localCacheService','AWAITING','_commandService','cfg','YUUMI_ASYNCIO_CANCELLED','open$','src','getCurrentUser','[OfflineState]:\x20received\x20acknowledgement.','transformSelections','LIVESHARE_TERMINATE','getDeserializedSheetBlock','onload','onTransformState','386811rrFxYq','_getAPIPrefix','collaboration_new_changeset','_changesetSessionId','byteLength','LocaleService','_singleActiveUnitService','readAsDataURL','filter','EMAIL_HAS_BEEN_BOUND','_snapshotServerService','_clearTimeoutTimer','HttpExport','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_memberService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','{fileID}','_getUndoStack','AES','updateCursorEvent','@univerjs/drawing','LICENSE_MAX_UNITS_EXCEEDED','_collaborationSessionService','_imageSourceCache','/universer-api/user/session-ticket','csRejEvent','auth.needGotoLoginAlert','_replaceFileID','dispose$','reject','list','LIVESHARE_NEW_HOST','loadOfflineData','_invKeySchedule','_initDependencies','offline','updatePermissionObjEvent','[CollaborationSessionService]:\x20socket\x20error','/collaborator','mode','conflict','image/jpeg','_parse','UNISCRIPT_RUN','baseRev','commentUpdate$','ICommandService','slice','textEncoder','HMAC','onRemoteRetry','listCollaborators','_removeRoom','onStateChange','CollaborationImageIoService','origin','DEFAULT_COLLAB_WEB_SOCKET_URL','crypto','_createInitialStateImpl','deleteCollaborator','randomBytes','USER_NOT_INVITED_CODE','SheetTransformSelectionsService','random','IPermissionService','SEND_CHANGESET_TIMEOUT_KEY','PERMISSION_DENIED','MOBILE_VERIFY_CODE_MISMATCH','?size=','_initUnitPermissionChange','isTransformChangesetsSuccess','Module','emitEvent','Rectangle','hasOwnProperty','waitForRoom$','_doFinalize','_nDataBytes','9837088FVSQig','CollaborationEvent','univer-pro.collaboration-client-socket-service','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','WECHAT_HAS_BEEN_BOUND','_xformMode','awaiting_with_pending','AUTHZ_URL_KEY','concat','_rescheduleHeartbeat','Inject','initWorkbookPermissionChange','_logService','padding','_emitMembers','CollaborationStatus','send','m2Prime','href','close$','UNIVER_SHEET','image/jpg','UNIVER_UNKNOWN','Hasher','SnapshotServerOverHTTPService','result','SNAPSHOT_URL_KEY','Disposable','operators','ceil','ReplaySubject','size','mapDocumentTypeToUniverType','NEW_CHANGESETS','EvpKDF','SetSelectionsOperation','&source=','YUUMI_UNABLE_LOAD_URL','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','isTransformMutationsWithChangesetSuccess','sessionStatus','_mode','error','socket$','Hex','encryptBlock','shareReplay','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','JOINING','c1Prime','clone','avatar','JOIN_ROOM_NOT_EXISTS','CHANGESET_ACK','_type','Base64','state$','_unlockTransition','_univerInstanceService','UPDATE_PERMISSION_OBJ','save\x20fail\x20reason\x20is\x20','disableLocalCache','Injector','getTypeOfUnitDisposed$','message$','_updateLocalCache','_state','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_config','APPLY_PERMISSION_DENIED','reset','createCollaborator','apply','InsertSheetMutation','DependentOn','_transformRemoteChangesetByIMECache','_collabSessionService','COLLAB_SUBMIT_CHANGESET_URL_KEY','_keySchedule','removeMember','objectID','@univerjs/core','Quantity','_onConnectionOpen','_toggleOnline','onRemoteRej','_scheduleCompleteTimestamp','focused$','_onRemoteRetry','Base','SOCKET_FAILED','_handlerCallback','lib','setShowComponents','_scheduleCollaborationTimeoutTimer','_retryCount','LOCAL_CACHE_INTERVAL_KEY','[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.','firstValueFrom','[CollaborationSessionService]','getWorkbookSelections','SUBMIT_CHANGESET_TIMEOUT','status$','_collaborationPaused','prototype','resourceIDs','loadDoc','delete','@univerjs-pro/license','IUndoRedoService','CommandType','_getCtorByUniverType','image/gif','params','CollaborationSocketService','transformChangesets','_getRedoStack','_retryConnectingTimer','_entityInit$','onTransformRemoteChangesetByStateCache','Subject','WordArray','_transitionLocked','DEFAULT_FILE_NAME','INVALID_INVITE_CODE','_undoStacks','_checkMissing','People','startTime','_resendTimeout','max','YUUMI_NO_CUBOID_FOR_QUESTION','_httpService','_sendHeartbeatTimer','[SyncedState]:\x20received\x20acknowledgement.','createSocket','SNAPSHOT_SERVER_URL_KEY','objectType','3521672QQOmNE','hostname','getOwnPropertyDescriptor','_eventService','updateMember','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','charAt','newCsEvent','_onCombEvent','enableCollaboration','COLLAB_WEB_SOCKET_URL','_awaitingChangeset','MOBILE_HAS_BEEN_BOUND','collaboration-client.config','_nRounds','updateCollaborator','_substituteRedoStack','HEARTBEAT_INTERVAL_KEY','INVITE_CODE_REQUIRED','_getDownloadEndpointURL','CLOSE_ROOM','@univerjs-pro/collaboration','_transformStateCache','onTransformRemoteChangesetByIMECache','\x20to\x20','getInterceptPoints','enableAuthServer','NoPadding','getMember','[UniverCollaborationClientPlugin]','_clearUndo','now','data','memberID','key','file','cmd','/block/','allowed','_socket$','disposeWithMe','FileId','IAuthzIoService','YUUMI_AI_RUN_FAILED','fetch_missing','_registerDependencies','_fetchMissChangesets','_userManagerService','requireSession','YUUMI_CONNECTOR_URL_NOT_FOUND','CompressMutationService','toDisposable','encodeURIComponent','algo','_hash','localCacheService','loadSheet','getSheetId','takeUntil','SyncedState','_onUserJoin','_shouldReportTelemetry','Optional','UserProfileImg','reconnect','_transformStack','loadUnit','blockSize','HEARTBEAT_TIMEOUT','roomInfos','amd','liveShareNewHost','find','SheetPermissionInitController','generateRandomId','BlockCipher','_clearScheduledTask','charCodeAt','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','resolve','RETRY_CONNECTING_MAX_COUNT','_joinRoom','from','SUBMIT_CHANGESET','state'];_0x19f6=function(){return _0x2701f8;};return _0x19f6();}(function(_0xd0faf7,_0x271948){var _0x4876ff=_0x2a48,_0x519b1c=_0xd0faf7();while(!![]){try{var _0x480b7b=-parseInt(_0x4876ff(0x499))/0x1+parseInt(_0x4876ff(0x1fd))/0x2*(parseInt(_0x4876ff(0x284))/0x3)+-parseInt(_0x4876ff(0x40e))/0x4+parseInt(_0x4876ff(0x1ff))/0x5*(parseInt(_0x4876ff(0x522))/0x6)+parseInt(_0x4876ff(0x4c2))/0x7+parseInt(_0x4876ff(0x384))/0x8+parseInt(_0x4876ff(0x336))/0x9*(-parseInt(_0x4876ff(0x4f7))/0xa);if(_0x480b7b===_0x271948)break;else _0x519b1c['push'](_0x519b1c['shift']());}catch(_0x4d0518){_0x519b1c['push'](_0x519b1c['shift']());}}}(_0x19f6,0xdb605),function(_0x21e220,_0x4b476d){var _0x4ee36f=_0x2a48;typeof exports==_0x4ee36f(0x501)&&typeof module<'u'?_0x4b476d(exports,require('@univerjs/core'),require('rxjs'),require('rxjs/operators'),require('@univerjs-pro/collaboration'),require('@univerjs/network'),require('@univerjs/telemetry'),require('@univerjs/docs'),require('@univerjs/sheets'),require('@univerjs/drawing'),require('@univerjs-pro/license')):typeof define==_0x4ee36f(0x238)&&define[_0x4ee36f(0x454)]?define([_0x4ee36f(0x513),_0x4ee36f(0x3d5),_0x4ee36f(0x497),_0x4ee36f(0x4bb),_0x4ee36f(0x423),_0x4ee36f(0x27e),_0x4ee36f(0x53e),_0x4ee36f(0x523),_0x4ee36f(0x260),_0x4ee36f(0x34a),_0x4ee36f(0x3f0)],_0x4b476d):(_0x21e220=typeof globalThis<'u'?globalThis:_0x21e220||self,_0x4b476d(_0x21e220[_0x4ee36f(0x51f)]={},_0x21e220[_0x4ee36f(0x317)],_0x21e220['rxjs'],_0x21e220[_0x4ee36f(0x497)][_0x4ee36f(0x3a0)],_0x21e220[_0x4ee36f(0x205)],_0x21e220['UniverNetwork'],_0x21e220[_0x4ee36f(0x52c)],_0x21e220[_0x4ee36f(0x4b7)],_0x21e220[_0x4ee36f(0x4da)],_0x21e220[_0x4ee36f(0x311)],_0x21e220[_0x4ee36f(0x23b)]));}(this,function(_0xc149d1,_0x1fb61c,_0x3322ed,_0xc3de18,_0x5e1632,_0x389e44,_0x5aac63,_0xc2eb0e,_0x1470b1,_0x400ee6,_0x4d3c88){'use strict';var _0x9c17ab=_0x2a48;var _0x55ce71=Object['defineProperty'],_0x43d014=(_0x112693,_0x9d9e71,_0x1dca55)=>_0x9d9e71 in _0x112693?_0x55ce71(_0x112693,_0x9d9e71,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1dca55}):_0x112693[_0x9d9e71]=_0x1dca55,_0x47983f=(_0x172b10,_0x75cac0,_0x488331)=>_0x43d014(_0x172b10,typeof _0x75cac0!=_0x9c17ab(0x236)?_0x75cac0+'':_0x75cac0,_0x488331);const _0x34c60c=_0x9c17ab(0x40c),_0x5f0e7f='/universer-api/snapshot',_0x3ddf87=_0x9c17ab(0x39e),_0x445f1b=_0x9c17ab(0x4e9),_0x505c92=_0x9c17ab(0x418),_0x45f512=_0x9c17ab(0x28c),_0x8bb7d9=_0x9c17ab(0x34e),_0x57a2e9=_0x9c17ab(0x4ae),_0x5daf23=_0x9c17ab(0x452),_0x150f97=_0x9c17ab(0x45e),_0x2124da=_0x9c17ab(0x481),_0x4db0ae=_0x9c17ab(0x280),_0x4e0fa3=_0x9c17ab(0x2b9),_0x292ca9='LOGIN_URL_KEY',_0xaee35d=_0x9c17ab(0x1eb),_0x24c9f6=_0x9c17ab(0x3c7),_0x5c102c=_0x9c17ab(0x2ab);var _0x47055b=(_0x59dc6b=>(_0x59dc6b[_0x59dc6b['UNDEFINED']=0x0]=_0x9c17ab(0x2cc),_0x59dc6b[_0x59dc6b['OK']=0x1]='OK',_0x59dc6b[_0x59dc6b[_0x9c17ab(0x469)]=0x2]='INTERNAL_ERROR',_0x59dc6b[_0x59dc6b[_0x9c17ab(0x378)]=0x3]='PERMISSION_DENIED',_0x59dc6b[_0x59dc6b['NOT_FOUND']=0x4]=_0x9c17ab(0x261),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x232)]=0x5]=_0x9c17ab(0x232),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x2de)]=0x6]=_0x9c17ab(0x2de),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x4ad)]=0x7]=_0x9c17ab(0x4ad),_0x59dc6b[_0x59dc6b['TOO_MANY_REQUESTS']=0x8]=_0x9c17ab(0x463),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x258)]=0x9]='COMPLETION_FINISHED',_0x59dc6b[_0x59dc6b[_0x9c17ab(0x2e1)]=0xa]='LOGIN_FAILED',_0x59dc6b[_0x59dc6b[_0x9c17ab(0x379)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x59dc6b[_0x59dc6b[_0x9c17ab(0x548)]=0xc]=_0x9c17ab(0x548),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x1f7)]=0xd]=_0x9c17ab(0x1f7),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x2d1)]=0xe]=_0x9c17ab(0x2d1),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x4fc)]=0x1389]=_0x9c17ab(0x4fc),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x518)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x59dc6b[_0x59dc6b['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x9c17ab(0x2cb),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x22c)]=0x1773]=_0x9c17ab(0x22c),_0x59dc6b[_0x59dc6b['APPLY_REJECT']=0x1b59]=_0x9c17ab(0x242),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x28d)]=0x1b5a]=_0x9c17ab(0x28d),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x227)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x59dc6b[_0x59dc6b[_0x9c17ab(0x3c9)]=0x1b5c]=_0x9c17ab(0x3c9),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x26d)]=0x1b5d]='APPLY_DUPLICATED',_0x59dc6b[_0x59dc6b[_0x9c17ab(0x4f9)]=0x1f41]=_0x9c17ab(0x4f9),_0x59dc6b[_0x59dc6b['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x9c17ab(0x34b),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x2c5)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x59dc6b[_0x59dc6b[_0x9c17ab(0x297)]=0x232b]=_0x9c17ab(0x297),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x23a)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x59dc6b[_0x59dc6b[_0x9c17ab(0x4de)]=0x232d]=_0x9c17ab(0x4de),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x3a9)]=0x2711]=_0x9c17ab(0x3a9),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x307)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x59dc6b[_0x59dc6b['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x9c17ab(0x2a1),_0x59dc6b[_0x59dc6b['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x59dc6b[_0x59dc6b['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x9c17ab(0x407),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x32c)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x59dc6b[_0x59dc6b['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x9c17ab(0x248),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x1e2)]=0x271d]=_0x9c17ab(0x1e2),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x29c)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x59dc6b[_0x59dc6b[_0x9c17ab(0x439)]=0x271f]=_0x9c17ab(0x439),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x43f)]=0x2720]=_0x9c17ab(0x43f),_0x59dc6b[_0x59dc6b['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x9c17ab(0x4b1),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x1d3)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x59dc6b[_0x59dc6b['INVALID_INVITE_CODE']=0x2ee2]=_0x9c17ab(0x400),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x420)]=0x2ee3]=_0x9c17ab(0x420),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x373)]=0x2ee4]=_0x9c17ab(0x373),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x4ea)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x59dc6b[_0x59dc6b['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x9c17ab(0x388),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x41a)]=0x32ca]=_0x9c17ab(0x41a),_0x59dc6b[_0x59dc6b[_0x9c17ab(0x33f)]=0x32cb]=_0x9c17ab(0x33f),_0x59dc6b[_0x59dc6b['UNRECOGNIZED']=-0x1]=_0x9c17ab(0x544),_0x59dc6b))(_0x47055b||{}),_0x4e5206=(_0x15c235=>(_0x15c235[_0x15c235[_0x9c17ab(0x39a)]=0x0]=_0x9c17ab(0x39a),_0x15c235[_0x15c235['UNIVER_DOC']=0x1]=_0x9c17ab(0x4e5),_0x15c235[_0x15c235[_0x9c17ab(0x398)]=0x2]='UNIVER_SHEET',_0x15c235[_0x15c235[_0x9c17ab(0x1f4)]=0x3]=_0x9c17ab(0x1f4),_0x15c235[_0x15c235[_0x9c17ab(0x46f)]=0x4]=_0x9c17ab(0x46f),_0x15c235[_0x15c235[_0x9c17ab(0x544)]=-0x1]=_0x9c17ab(0x544),_0x15c235))(_0x4e5206||{}),_0x39c57b=(_0x8fd4a6=>(_0x8fd4a6[_0x8fd4a6[_0x9c17ab(0x24b)]=0x0]=_0x9c17ab(0x24b),_0x8fd4a6[_0x8fd4a6[_0x9c17ab(0x211)]=0x1]=_0x9c17ab(0x211),_0x8fd4a6[_0x8fd4a6['JOIN']=0x2]=_0x9c17ab(0x489),_0x8fd4a6[_0x8fd4a6[_0x9c17ab(0x312)]=0x3]=_0x9c17ab(0x312),_0x8fd4a6[_0x8fd4a6[_0x9c17ab(0x46a)]=0x4]=_0x9c17ab(0x46a),_0x8fd4a6[_0x8fd4a6[_0x9c17ab(0x2ce)]=0x5]='HEARTBEAT',_0x8fd4a6[_0x8fd4a6[_0x9c17ab(0x249)]=0x6]=_0x9c17ab(0x249),_0x8fd4a6[_0x8fd4a6[_0x9c17ab(0x544)]=-0x1]='UNRECOGNIZED',_0x8fd4a6))(_0x39c57b||{}),_0x406636=(_0x2189e1=>(_0x2189e1[_0x2189e1[_0x9c17ab(0x222)]=0x0]=_0x9c17ab(0x222),_0x2189e1[_0x2189e1['OK']=0x1]='OK',_0x2189e1[_0x2189e1[_0x9c17ab(0x319)]=0x2]=_0x9c17ab(0x319),_0x2189e1[_0x2189e1[_0x9c17ab(0x31a)]=0x3e9]=_0x9c17ab(0x31a),_0x2189e1[_0x2189e1[_0x9c17ab(0x3b8)]=0x3ea]=_0x9c17ab(0x3b8),_0x2189e1[_0x2189e1[_0x9c17ab(0x30e)]=0x3eb]=_0x9c17ab(0x30e),_0x2189e1[_0x2189e1[_0x9c17ab(0x25d)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x2189e1[_0x2189e1[_0x9c17ab(0x544)]=-0x1]=_0x9c17ab(0x544),_0x2189e1))(_0x406636||{}),_0x2dea59=(_0x16f5a7=>(_0x16f5a7[_0x16f5a7['Undefined']=0x0]='Undefined',_0x16f5a7[_0x16f5a7[_0x9c17ab(0x521)]=0x1]=_0x9c17ab(0x521),_0x16f5a7[_0x16f5a7[_0x9c17ab(0x342)]=0x2]='HttpExport',_0x16f5a7[_0x16f5a7[_0x9c17ab(0x507)]=0x3]=_0x9c17ab(0x507),_0x16f5a7[_0x16f5a7[_0x9c17ab(0x1c2)]=0x4]=_0x9c17ab(0x1c2),_0x16f5a7[_0x16f5a7[_0x9c17ab(0x44d)]=0x5]=_0x9c17ab(0x44d),_0x16f5a7[_0x16f5a7[_0x9c17ab(0x544)]=-0x1]=_0x9c17ab(0x544),_0x16f5a7))(_0x2dea59||{});const _0x29e73d=_0x9c17ab(0x41b),_0xa0dd09={};var _0x51b5e5=(_0x3ace09=>(_0x3ace09[_0x9c17ab(0x315)]='OTHER_CLIENT_EDITING',_0x3ace09[_0x9c17ab(0x378)]='PERMISSION_DENIED',_0x3ace09[_0x9c17ab(0x532)]=_0x9c17ab(0x532),_0x3ace09[_0x9c17ab(0x422)]=_0x9c17ab(0x422),_0x3ace09[_0x9c17ab(0x2c9)]=_0x9c17ab(0x2c9),_0x3ace09[_0x9c17ab(0x220)]=_0x9c17ab(0x220),_0x3ace09[_0x9c17ab(0x3de)]=_0x9c17ab(0x3de),_0x3ace09['SUBMIT_CHANGESET_TIMEOUT']=_0x9c17ab(0x3e9),_0x3ace09))(_0x51b5e5||{});class _0xdc4705{constructor(){var _0x19f74a=_0x9c17ab;_0x47983f(this,'_event$',new _0x3322ed[(_0x19f74a(0x3fc))]()),_0x47983f(this,_0x19f74a(0x2bf),this['_event$'][_0x19f74a(0x243)]());}[_0x9c17ab(0x37e)](_0x145ec7){var _0xb4a63b=_0x9c17ab;this[_0xb4a63b(0x30a)]['next'](_0x145ec7);}}const _0x111992=_0x1fb61c['createIdentifier']('univer-pro.collaboration-client.network-condition.service');function _0x5ee955(_0x8eedf8){var _0x516734=_0x9c17ab,_0x432c79,_0x57ab96,_0x417e75,_0x145246,_0x1a51e8;const _0x5b8d8a=_0x8eedf8[_0x516734(0x42e)],_0x31ae03=JSON[_0x516734(0x4c8)](_0x5b8d8a);switch(_0x31ae03['cmd']){case _0x39c57b[_0x516734(0x2ce)]:case _0x39c57b['HELLO']:{const _0x53e6ea=_0x31ae03[_0x516734(0x218)];return{..._0x31ae03,'data':_0x53e6ea,'cmd':_0x31ae03[_0x516734(0x432)]};}case _0x39c57b[_0x516734(0x489)]:{const _0x33e70a=_0x31ae03[_0x516734(0x472)];return{..._0x31ae03,'data':_0x33e70a,'cmd':_0x31ae03[_0x516734(0x432)]};}case _0x39c57b[_0x516734(0x249)]:{const _0x212eea=_0x31ae03[_0x516734(0x2f5)];switch(_0x212eea[_0x516734(0x295)]){case _0x5e1632['CollaborationEvent']['PERMISSION_REJ']:return{..._0x31ae03,'data':{..._0x212eea,'data':(_0x432c79=_0x212eea[_0x516734(0x2a6)])==null?void 0x0:_0x432c79['cs']},'cmd':_0x31ae03[_0x516734(0x432)]};case _0x5e1632[_0x516734(0x385)][_0x516734(0x3b9)]:return{..._0x31ae03,'data':{..._0x212eea,'data':(_0x57ab96=_0x212eea['csAckEvent'])==null?void 0x0:_0x57ab96['cs']},'cmd':_0x31ae03[_0x516734(0x432)]};case _0x5e1632[_0x516734(0x385)]['NEW_CHANGESETS']:return{..._0x31ae03,'data':{..._0x212eea,'data':(_0x417e75=_0x212eea[_0x516734(0x415)])==null?void 0x0:_0x417e75['cs']},'cmd':_0x31ae03[_0x516734(0x432)]};case _0x5e1632[_0x516734(0x385)]['CHANGESET_REJ']:return{..._0x31ae03,'data':{..._0x212eea,'data':(_0x145246=_0x212eea[_0x516734(0x34f)])==null?void 0x0:_0x145246['cs']},'cmd':_0x31ae03['cmd']};case _0x5e1632[_0x516734(0x385)][_0x516734(0x2c8)]:return{..._0x31ae03,'data':{..._0x212eea,'data':(_0x1a51e8=_0x212eea[_0x516734(0x298)])==null?void 0x0:_0x1a51e8['cs']},'cmd':_0x31ae03[_0x516734(0x432)]};case _0x5e1632[_0x516734(0x385)][_0x516734(0x2bd)]:return{..._0x31ae03,'data':{..._0x212eea,'data':_0x212eea[_0x516734(0x349)]},'cmd':_0x31ae03[_0x516734(0x432)]};case _0x5e1632[_0x516734(0x385)]['USERS_ENTER']:return{..._0x31ae03,'data':{..._0x212eea,'data':_0x212eea[_0x516734(0x28b)]},'cmd':_0x31ae03[_0x516734(0x432)]};case _0x5e1632[_0x516734(0x385)][_0x516734(0x294)]:return{..._0x31ae03,'data':{..._0x212eea,'data':_0x212eea[_0x516734(0x2ae)]},'cmd':_0x31ae03[_0x516734(0x432)]};case _0x5e1632[_0x516734(0x385)][_0x516734(0x355)]:return{..._0x31ae03,'data':{..._0x212eea,'data':_0x212eea['liveShareNewHost']},'cmd':_0x31ae03['cmd']};case _0x5e1632['CollaborationEvent'][_0x516734(0x30d)]:case _0x5e1632['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x31ae03,'data':{..._0x212eea,'data':_0x212eea['liveShareOperation']},'cmd':_0x31ae03['cmd']};case _0x5e1632['CollaborationEvent'][_0x516734(0x332)]:return{..._0x31ae03,'data':{..._0x212eea,'data':_0x212eea[_0x516734(0x455)]},'cmd':_0x31ae03['cmd']};case _0x5e1632[_0x516734(0x385)][_0x516734(0x25f)]:return{..._0x31ae03,'data':_0x212eea,'cmd':_0x31ae03['cmd']};case _0x5e1632['CollaborationEvent'][_0x516734(0x308)]:return{..._0x31ae03,'data':{..._0x212eea,'data':_0x212eea[_0x516734(0x50c)]},'cmd':_0x31ae03['cmd']};case _0x5e1632[_0x516734(0x385)][_0x516734(0x3bf)]:return{..._0x31ae03,'data':{..._0x212eea,'data':_0x212eea[_0x516734(0x35a)]},'cmd':_0x31ae03[_0x516734(0x432)]};case _0x5e1632[_0x516734(0x385)][_0x516734(0x1f0)]:return{..._0x31ae03,'data':{..._0x212eea,'data':_0x212eea['shouldCloseConn']},'cmd':_0x31ae03[_0x516734(0x432)]};case _0x5e1632['CollaborationEvent'][_0x516734(0x361)]:return{..._0x31ae03,'data':{..._0x212eea,'data':_0x212eea['uniscriptRunEvent']},'cmd':_0x31ae03[_0x516734(0x432)]};default:return _0x31ae03;}}default:return _0x31ae03;}}function _0x2a3e3e(_0x4150c7){var _0x42d1c7=_0x9c17ab;switch(_0x4150c7[_0x42d1c7(0x432)]){case _0x39c57b[_0x42d1c7(0x2ce)]:case _0x39c57b[_0x42d1c7(0x211)]:return JSON['stringify']({'cmd':_0x4150c7[_0x42d1c7(0x432)],'routeKey':_0x4150c7[_0x42d1c7(0x2a3)]});case _0x39c57b[_0x42d1c7(0x46a)]:{let _0x1d0623;switch(_0x4150c7['data'][_0x42d1c7(0x295)]){case _0x5e1632[_0x42d1c7(0x385)][_0x42d1c7(0x2bd)]:{_0x1d0623={'eventID':_0x5e1632[_0x42d1c7(0x385)]['UPDATE_CURSOR'],'updateCursorEvent':_0x4150c7[_0x42d1c7(0x42e)][_0x42d1c7(0x42e)]};break;}case _0x5e1632[_0x42d1c7(0x385)]['USERS_LEAVE']:{_0x1d0623={'eventID':_0x5e1632[_0x42d1c7(0x385)]['USERS_LEAVE'],'leaveEvent':_0x4150c7['data'][_0x42d1c7(0x42e)]};break;}case _0x5e1632[_0x42d1c7(0x385)]['USERS_ENTER']:{_0x1d0623={'eventID':_0x5e1632[_0x42d1c7(0x385)][_0x42d1c7(0x474)],'joinEvent':_0x4150c7[_0x42d1c7(0x42e)]['data']};break;}case _0x5e1632[_0x42d1c7(0x385)][_0x42d1c7(0x355)]:{_0x1d0623={'eventID':_0x5e1632[_0x42d1c7(0x385)][_0x42d1c7(0x355)],'liveShareNewHost':_0x4150c7[_0x42d1c7(0x42e)][_0x42d1c7(0x42e)]};break;}case _0x5e1632[_0x42d1c7(0x385)][_0x42d1c7(0x52d)]:{_0x1d0623={'eventID':_0x5e1632['CollaborationEvent'][_0x42d1c7(0x52d)],'liveShareOperation':_0x4150c7[_0x42d1c7(0x42e)][_0x42d1c7(0x42e)]};break;}case _0x5e1632[_0x42d1c7(0x385)][_0x42d1c7(0x332)]:{_0x1d0623={'eventID':_0x5e1632['CollaborationEvent'][_0x42d1c7(0x332)],'liveShareTerminate':_0x4150c7[_0x42d1c7(0x42e)][_0x42d1c7(0x42e)]};break;}case _0x5e1632[_0x42d1c7(0x385)][_0x42d1c7(0x1be)]:{_0x1d0623={'eventID':_0x5e1632['CollaborationEvent'][_0x42d1c7(0x1be)],'liveShareRequestHost':_0x4150c7[_0x42d1c7(0x42e)][_0x42d1c7(0x42e)]};break;}case _0x5e1632['CollaborationEvent'][_0x42d1c7(0x30d)]:{_0x1d0623={'eventID':_0x5e1632['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x1d0623={'eventID':_0x4150c7[_0x42d1c7(0x42e)]['eventID']};}return JSON['stringify']({'cmd':_0x4150c7[_0x42d1c7(0x432)],'routeKey':_0x4150c7[_0x42d1c7(0x2a3)],'collaMsg':_0x1d0623});}case _0x39c57b['JOIN']:return JSON[_0x42d1c7(0x288)]({'cmd':_0x4150c7['cmd'],'routeKey':_0x4150c7['routeKey'],'joinReq':_0x4150c7['data']});case _0x39c57b[_0x42d1c7(0x312)]:return JSON['stringify']({'cmd':_0x4150c7[_0x42d1c7(0x432)],'routeKey':_0x4150c7['routeKey'],'leaveReq':_0x4150c7[_0x42d1c7(0x42e)]});default:throw new Error(_0x42d1c7(0x22b));}}var _0x5b7ee1=Object[_0x9c17ab(0x410)],_0xd76f10=(_0x5a9ac1,_0x1929e1,_0x2345f6,_0x2962aa)=>{var _0x304f94=_0x9c17ab;for(var _0x5219d5=_0x2962aa>0x1?void 0x0:_0x2962aa?_0x5b7ee1(_0x1929e1,_0x2345f6):_0x1929e1,_0x534487=_0x5a9ac1[_0x304f94(0x4cf)]-0x1,_0x57ec84;_0x534487>=0x0;_0x534487--)(_0x57ec84=_0x5a9ac1[_0x534487])&&(_0x5219d5=_0x57ec84(_0x5219d5)||_0x5219d5);return _0x5219d5;},_0x245036=(_0x3348cf,_0xc0e479)=>(_0x3ede48,_0x6ee3dc)=>_0xc0e479(_0x3ede48,_0x6ee3dc,_0x3348cf);const _0x2d8e46=_0x1fb61c['createIdentifier'](_0x9c17ab(0x386));function _0x5aeb59(_0x511115,_0x465b3b,_0xcfa974){var _0x2ae2f5=_0x9c17ab;return _0x511115+'/'+_0x465b3b+'/unit/'+_0xcfa974+_0x2ae2f5(0x49f);}_0xc149d1[_0x9c17ab(0x3f6)]=class extends _0x1fb61c[_0x9c17ab(0x39f)]{constructor(_0xe4396b,_0x5ddb65,_0x20c504,_0x4fbd75,_0x10dcfc){var _0x2f1631=_0x9c17ab;super(),this[_0x2f1631(0x1ac)]=_0xe4396b,this[_0x2f1631(0x408)]=_0x5ddb65,this['_configService']=_0x20c504,this[_0x2f1631(0x390)]=_0x4fbd75,this['_snapshotServerService']=_0x10dcfc;}[_0x9c17ab(0x529)](_0x1e2ab0){var _0x59de4b=_0x9c17ab;const _0x25e9f1=this[_0x59de4b(0x1ac)][_0x59de4b(0x2e6)](_0x389e44[_0x59de4b(0x2d3)]);if(!_0x25e9f1)throw new Error(_0x59de4b(0x3b3));const _0x427cc5=_0x25e9f1[_0x59de4b(0x40b)](_0x1e2ab0);if(!_0x427cc5)throw new Error(_0x59de4b(0x4ba));const _0x1ce186=new _0x1fb61c[(_0x59de4b(0x25a))](),_0xfd280f=new _0x3322ed[(_0x59de4b(0x3fc))]();_0x1ce186['add'](_0x427cc5[_0x59de4b(0x397)][_0x59de4b(0x2af)](_0x3a5bf6=>_0xfd280f[_0x59de4b(0x2da)](_0x3a5bf6))),_0x1ce186[_0x59de4b(0x28e)](_0x1fb61c[_0x59de4b(0x441)](()=>_0xfd280f[_0x59de4b(0x4d8)]()));const _0x5097ec=new _0x3322ed['Subject']();_0x1ce186[_0x59de4b(0x28e)](_0x427cc5[_0x59de4b(0x505)][_0x59de4b(0x2af)](_0x4d1e0d=>_0x5097ec[_0x59de4b(0x2da)](_0x4d1e0d))),_0x1ce186[_0x59de4b(0x28e)](_0x1fb61c[_0x59de4b(0x441)](()=>_0x5097ec[_0x59de4b(0x4d8)]()));const _0x260d85=new _0x3322ed['Subject']();_0x1ce186[_0x59de4b(0x28e)](_0x427cc5['message$'][_0x59de4b(0x2af)](_0x4a8fb6=>{var _0x52a891=_0x59de4b;const _0x260fe8=_0x5ee955(_0x4a8fb6);_0x260d85[_0x52a891(0x2da)](_0x260fe8);})),_0x1ce186['add'](_0x1fb61c[_0x59de4b(0x441)](()=>_0x260d85[_0x59de4b(0x4d8)]()));let _0x386b9b;const _0x1a47ed=()=>{var _0x230328=_0x59de4b;_0x5097ec['next'](new Event(_0x230328(0x2e3))),_0xfd280f[_0x230328(0x2da)](new Event(_0x230328(0x2e3))),_0x386b9b[_0x230328(0x4e3)]();};return _0x386b9b={'memberID':'','close$':_0xfd280f[_0x59de4b(0x243)](),'error$':_0x5097ec['asObservable'](),'open$':_0x427cc5[_0x59de4b(0x32d)],'message$':_0x260d85[_0x59de4b(0x243)](),'send':_0xf5a302=>{var _0x2249c1=_0x59de4b;if(_0xf5a302[_0x2249c1(0x432)]===_0x39c57b[_0x2249c1(0x46a)]){if(_0xf5a302['data']['eventID']===_0x5e1632[_0x2249c1(0x385)]['SUBMIT_CHANGESET']){this[_0x2249c1(0x283)](_0x386b9b,_0xf5a302[_0x2249c1(0x42e)])[_0x2249c1(0x215)](_0x23b0f1=>{var _0x571d04=_0x2249c1;this[_0x571d04(0x390)][_0x571d04(0x3ae)](_0x23b0f1),_0x1a47ed();});return;}if(_0xf5a302['data']['eventID']===_0x5e1632[_0x2249c1(0x385)]['FETCH_MISSING']){const _0x38b3df=_0xf5a302[_0x2249c1(0x42e)];this[_0x2249c1(0x43c)](_0x38b3df)['then'](_0x4ec974=>{var _0x432202=_0x2249c1;_0x260d85[_0x432202(0x2da)]({'cmd':_0x39c57b['RECV'],'code':_0x406636['OK'],'routeKey':_0x38b3df['data'][_0x432202(0x1f9)],'routeType':'','data':{'eventID':_0x5e1632['CollaborationEvent'][_0x432202(0x1c5)],'data':{'changesets':_0x4ec974}}});})[_0x2249c1(0x215)](_0x486e9d=>{var _0xc37846=_0x2249c1;this[_0xc37846(0x390)][_0xc37846(0x3ae)](_0x486e9d),_0x1a47ed();});return;}}_0x427cc5[_0x2249c1(0x394)](_0x2a3e3e(_0xf5a302));},'close':()=>{var _0x4da8a2=_0x59de4b;_0x427cc5[_0x4da8a2(0x4e3)](),_0x1ce186[_0x4da8a2(0x1d6)]();}},_0x386b9b;}async[_0x9c17ab(0x283)](_0x576a18,_0x79a68a){var _0x5879c2=_0x9c17ab,_0x74f280,_0x113e73;const {unitType:_0x21d96d,unitID:_0x5dca96,changeset:_0x3637d4}=_0x79a68a['data'],_0x3dff39={'unitID':_0x5dca96,'memberID':_0x576a18['memberID'],'type':_0x21d96d,'changeset':_0x5e1632[_0x5879c2(0x1df)](_0x3637d4)},_0x1ddaaa=this['_configService'][_0x5879c2(0x2b2)](_0x4db0ae),_0x3bc0d8=this[_0x5879c2(0x4a1)][_0x5879c2(0x2b2)](_0x29e73d),_0x4758c3=_0x5aeb59((_0x113e73=(_0x74f280=_0x3bc0d8==null?void 0x0:_0x3bc0d8[_0x5879c2(0x245)])!=null?_0x74f280:_0x1ddaaa)!=null?_0x113e73:_0x4e0fa3,_0x21d96d,_0x5dca96);try{await this[_0x5879c2(0x408)][_0x5879c2(0x52b)](_0x4758c3,{'body':_0x3dff39});}catch(_0x1b8135){throw this['_logService'][_0x5879c2(0x3ae)](_0x5879c2(0x26c),_0x5879c2(0x4a3)),_0x1b8135;}}async[_0x9c17ab(0x43c)](_0x5484d7){var _0x78b247=_0x9c17ab;const {unitID:_0x5401e6,from:_0x130927,to:_0x7a7256,unitType:_0x459e9f}=_0x5484d7['data'];return(await this[_0x78b247(0x340)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x5401e6,'type':_0x459e9f,'from':_0x130927,'to':_0x7a7256}))[_0x78b247(0x296)];}},_0xc149d1['CollaborationSocketService']=_0xd76f10([_0x245036(0x0,_0x1fb61c[_0x9c17ab(0x38e)](_0x1fb61c['Injector'])),_0x245036(0x1,_0x1fb61c['Inject'](_0x389e44[_0x9c17ab(0x217)])),_0x245036(0x2,_0x1fb61c[_0x9c17ab(0x21b)]),_0x245036(0x3,_0x1fb61c[_0x9c17ab(0x4dc)]),_0x245036(0x4,_0x5e1632['ISnapshotServerService'])],_0xc149d1[_0x9c17ab(0x3f6)]);const _0x1b227e=_0x9c17ab(0x338);function _0x5dafd7(_0x5a3326){var _0x2d246a=_0x9c17ab;return JSON[_0x2d246a(0x288)](_0x5a3326)[_0x2d246a(0x4cf)];}class _0x1ccebf{constructor(){var _0x28cfa6=_0x9c17ab;_0x47983f(this,_0x28cfa6(0x50e),new _0x3322ed[(_0x28cfa6(0x3fc))]()),_0x47983f(this,_0x28cfa6(0x363),this[_0x28cfa6(0x50e)][_0x28cfa6(0x243)]());}['onCommentUpdate'](_0x3cb14a){var _0x584273=_0x9c17ab;this[_0x584273(0x50e)]['next'](_0x3cb14a);}}var _0x2537f9=Object['getOwnPropertyDescriptor'],_0x4fee36=(_0x30e339,_0x3762ba,_0x1a0996,_0x5f34b4)=>{var _0x5ec3f6=_0x9c17ab;for(var _0x594026=_0x5f34b4>0x1?void 0x0:_0x5f34b4?_0x2537f9(_0x3762ba,_0x1a0996):_0x3762ba,_0x150720=_0x30e339[_0x5ec3f6(0x4cf)]-0x1,_0x507692;_0x150720>=0x0;_0x150720--)(_0x507692=_0x30e339[_0x150720])&&(_0x594026=_0x507692(_0x594026)||_0x594026);return _0x594026;},_0x185edf=(_0x297c81,_0x304cac)=>(_0x5e3e10,_0x226b3d)=>_0x304cac(_0x5e3e10,_0x226b3d,_0x297c81);_0xc149d1[_0x9c17ab(0x216)]=class extends _0x1fb61c[_0x9c17ab(0x39f)]{constructor(_0x1be806,_0xbaacb1){var _0x9193f7=_0x9c17ab;super(),_0x47983f(this,_0x9193f7(0x26f),new Map()),_0x47983f(this,'_roomCreated$',new _0x3322ed['Subject']()),(this[_0x9193f7(0x3be)]=_0x1be806,this[_0x9193f7(0x43d)]=_0xbaacb1,this['disposeWithMe'](_0x3322ed['merge'](this[_0x9193f7(0x3be)][_0x9193f7(0x3c3)](_0x1fb61c[_0x9193f7(0x2bc)][_0x9193f7(0x398)])[_0x9193f7(0x25b)](_0xc3de18[_0x9193f7(0x47b)](_0x184ad1=>_0x184ad1['getUnitId']())),this[_0x9193f7(0x3be)][_0x9193f7(0x3c3)](_0x1fb61c[_0x9193f7(0x2bc)][_0x9193f7(0x4e5)])[_0x9193f7(0x25b)](_0xc3de18['map'](_0x333f20=>_0x333f20[_0x9193f7(0x4a4)]())),this[_0x9193f7(0x3be)][_0x9193f7(0x3c3)](_0x1fb61c[_0x9193f7(0x2bc)][_0x9193f7(0x1f4)])[_0x9193f7(0x25b)](_0xc3de18[_0x9193f7(0x47b)](_0x586929=>_0x586929[_0x9193f7(0x4a4)]())))[_0x9193f7(0x2af)](_0x4466cd=>this['_removeRoom'](_0x4466cd))));}[_0x9c17ab(0x381)](_0x56bcb5){var _0x4c3939=_0x9c17ab;return this['_roomMembers'][_0x4c3939(0x1b3)](_0x56bcb5)?_0x3322ed['of'](this['_roomMembers'][_0x4c3939(0x2e6)](_0x56bcb5)):this[_0x4c3939(0x2b5)]['pipe'](_0xc3de18[_0x4c3939(0x47b)](_0x1d7202=>{var _0x152f81=_0x4c3939;if(_0x1d7202===_0x56bcb5)return this['_roomMembers'][_0x152f81(0x2e6)](_0x1d7202);}));}[_0x9c17ab(0x20f)](_0x3674eb){var _0x10a547=_0x9c17ab;this[_0x10a547(0x43d)][_0x10a547(0x20f)](_0x3674eb);}[_0x9c17ab(0x32f)](){var _0x5367d6=_0x9c17ab;return this[_0x5367d6(0x43d)][_0x5367d6(0x32f)]();}[_0x9c17ab(0x412)](_0x5923b9,_0x4b0857){var _0x48afe4=_0x9c17ab;let _0x5d929a=this[_0x48afe4(0x26f)][_0x48afe4(0x2e6)](_0x5923b9);_0x5d929a||(_0x5d929a=new _0x5465f3(),this[_0x48afe4(0x26f)][_0x48afe4(0x53c)](_0x5923b9,_0x5d929a),this[_0x48afe4(0x2b5)][_0x48afe4(0x2da)](_0x5923b9)),_0x5d929a[_0x48afe4(0x412)](_0x4b0857);}[_0x9c17ab(0x3d3)](_0x5d3323,_0x33d0ba){var _0x6a9f68=_0x9c17ab;const _0x12401d=this[_0x6a9f68(0x26f)]['get'](_0x5d3323);_0x12401d&&_0x12401d[_0x6a9f68(0x3d3)](_0x33d0ba);}['getRoom'](_0x18e1d2){var _0x58c58f=_0x9c17ab;return this['_roomMembers'][_0x58c58f(0x2e6)](_0x18e1d2);}[_0x9c17ab(0x42a)](_0x568ff9,_0x325aba){var _0x252c49=_0x9c17ab;const _0x1b822a=this[_0x252c49(0x26f)][_0x252c49(0x2e6)](_0x568ff9);if(_0x1b822a)return _0x1b822a[_0x252c49(0x42a)](_0x325aba);}[_0x9c17ab(0x36a)](_0x476f5f){var _0x2fccba=_0x9c17ab;const _0x5cb052=this['_roomMembers'][_0x2fccba(0x2e6)](_0x476f5f);_0x5cb052&&(_0x5cb052[_0x2fccba(0x1d6)](),this[_0x2fccba(0x26f)][_0x2fccba(0x3ef)](_0x476f5f));}[_0x9c17ab(0x1d6)](){var _0x341545=_0x9c17ab;this[_0x341545(0x26f)][_0x341545(0x1c9)](_0x28f72a=>_0x28f72a[_0x341545(0x1d6)]()),this[_0x341545(0x26f)]['clear'](),this[_0x341545(0x2b5)]['complete']();}},_0xc149d1[_0x9c17ab(0x216)]=_0x4fee36([_0x185edf(0x0,_0x1fb61c[_0x9c17ab(0x278)]),_0x185edf(0x1,_0x1fb61c[_0x9c17ab(0x38e)](_0x1fb61c[_0x9c17ab(0x49c)]))],_0xc149d1[_0x9c17ab(0x216)]);class _0x5465f3 extends _0x1fb61c['Disposable']{constructor(){var _0x254461=_0x9c17ab;super(...arguments),_0x47983f(this,_0x254461(0x4a8),new Map()),_0x47983f(this,_0x254461(0x293),new _0x3322ed[(_0x254461(0x290))](this[_0x254461(0x4a8)])),_0x47983f(this,_0x254461(0x27c),this[_0x254461(0x293)]['asObservable']());}[_0x9c17ab(0x1d6)](){this['_members']['clear']();}[_0x9c17ab(0x412)](_0x9adda4){var _0x57309d=_0x9c17ab;this['_members'][_0x57309d(0x53c)](_0x9adda4['memberID'],_0x9adda4),this[_0x57309d(0x392)]();}[_0x9c17ab(0x3d3)](_0x276c7a){var _0x3477b3=_0x9c17ab;this[_0x3477b3(0x4a8)]['delete'](_0x276c7a);}[_0x9c17ab(0x42a)](_0x330fc6){var _0x21c74a=_0x9c17ab;return this['_members'][_0x21c74a(0x2e6)](_0x330fc6);}[_0x9c17ab(0x208)](){var _0x9d04=_0x9c17ab;return Array[_0x9d04(0x460)](this['_members']['values']());}[_0x9c17ab(0x392)](){var _0x34f903=_0x9c17ab;this['_members$'][_0x34f903(0x2da)](this[_0x34f903(0x4a8)]);}}var _0x4945ab=Object[_0x9c17ab(0x410)],_0x4a2bfa=(_0x275841,_0x285dea,_0x724e74,_0x1d4972)=>{var _0x38e783=_0x9c17ab;for(var _0x2f266b=_0x1d4972>0x1?void 0x0:_0x1d4972?_0x4945ab(_0x285dea,_0x724e74):_0x285dea,_0x532c4f=_0x275841[_0x38e783(0x4cf)]-0x1,_0x2f17f3;_0x532c4f>=0x0;_0x532c4f--)(_0x2f17f3=_0x275841[_0x532c4f])&&(_0x2f266b=_0x2f17f3(_0x2f266b)||_0x2f266b);return _0x2f266b;},_0x4ee119=(_0x12d9c3,_0x19eeac)=>(_0x54b002,_0x496b1e)=>_0x19eeac(_0x54b002,_0x496b1e,_0x12d9c3),_0x1b1e13=(_0x1c1990=>(_0x1c1990[_0x1c1990['IDLE']=0x0]=_0x9c17ab(0x1c0),_0x1c1990[_0x1c1990[_0x9c17ab(0x3b4)]=0x1]=_0x9c17ab(0x3b4),_0x1c1990[_0x1c1990['OFFLINE']=0x2]='OFFLINE',_0x1c1990[_0x1c1990['ONLINE']=0x3]=_0x9c17ab(0x251),_0x1c1990))(_0x1b1e13||{});const _0x11a3a9={[_0x406636[_0x9c17ab(0x319)]]:_0x9c17ab(0x302),[_0x406636['JOIN_ROOM_FULL']]:_0x9c17ab(0x4be),[_0x406636['JOIN_ROOM_NOT_EXISTS']]:_0x9c17ab(0x479),[_0x406636[_0x9c17ab(0x30e)]]:_0x9c17ab(0x2d0),[_0x406636[_0x9c17ab(0x25d)]]:_0x9c17ab(0x2b0)};_0xc149d1[_0x9c17ab(0x310)]=class extends _0x1fb61c[_0x9c17ab(0x1b7)]{constructor(_0x3d9b7d,_0x43e77f,_0x476743,_0x364416,_0x2fb95b,_0x5849fa,_0x101554,_0x3249b3,_0x289311){var _0x564cfa=_0x9c17ab;super(),_0x47983f(this,_0x564cfa(0x47c),new _0x3322ed[(_0x564cfa(0x290))](0x0)),_0x47983f(this,_0x564cfa(0x21e),this[_0x564cfa(0x47c)][_0x564cfa(0x243)]()),_0x47983f(this,'_event$',new _0x3322ed['Subject']()),_0x47983f(this,_0x564cfa(0x2bf),this[_0x564cfa(0x30a)]['asObservable']()),_0x47983f(this,_0x564cfa(0x221)),_0x47983f(this,_0x564cfa(0x2c1)),_0x47983f(this,_0x564cfa(0x240)),_0x47983f(this,_0x564cfa(0x44b),!0x1),_0x47983f(this,'_telemetryInfo',null),(this[_0x564cfa(0x23d)]=_0x3d9b7d,this[_0x564cfa(0x390)]=_0x476743,this[_0x564cfa(0x4a1)]=_0x364416,this[_0x564cfa(0x2fb)]=_0x2fb95b,this[_0x564cfa(0x344)]=_0x5849fa,this[_0x564cfa(0x4ff)]=_0x101554,this[_0x564cfa(0x235)]=_0x3249b3,this[_0x564cfa(0x4a0)]=_0x289311,this[_0x564cfa(0x44b)]=!!this[_0x564cfa(0x4a0)],_0x43e77f['pipe'](_0x3322ed[_0x564cfa(0x448)](this[_0x564cfa(0x352)]))['subscribe'](_0x939a65=>{var _0xce3646=_0x564cfa,_0x209f89;typeof _0x939a65>'u'||(this[_0xce3646(0x221)]=_0x939a65,_0x939a65?(this['_joinRoom'](_0x939a65),this[_0xce3646(0x2c1)]=_0x939a65[_0xce3646(0x3c4)]['subscribe'](_0x14f7f6=>{var _0x4a8d29=_0xce3646;_0x14f7f6['routeKey']===this[_0x4a8d29(0x23d)]&&this[_0x4a8d29(0x416)](_0x14f7f6);})):(this[_0xce3646(0x549)](),this['_sessionStatus$'][_0xce3646(0x2da)](0x2),(_0x209f89=this[_0xce3646(0x2c1)])==null||_0x209f89[_0xce3646(0x2ec)](),this['_socketMessageSubscription']=null));}));}get[_0x9c17ab(0x3ac)](){var _0x1327e9=_0x9c17ab;return this[_0x1327e9(0x47c)]['getValue']();}[_0x9c17ab(0x266)](){var _0x5d9f84=_0x9c17ab,_0x3bc2fb,_0x3bfa00;return(_0x3bfa00=(_0x3bc2fb=this[_0x5d9f84(0x221)])==null?void 0x0:_0x3bc2fb[_0x5d9f84(0x42f)])!=null?_0x3bfa00:null;}[_0x9c17ab(0x1d6)](){var _0x50d492=_0x9c17ab;super[_0x50d492(0x1d6)](),this['dispose$']['next'](),this[_0x50d492(0x352)][_0x50d492(0x4d8)]();}[_0x9c17ab(0x4e3)](){var _0x471132=_0x9c17ab,_0x156dff,_0x3dfd13;this[_0x471132(0x549)](),(_0x156dff=this[_0x471132(0x221)])==null||_0x156dff[_0x471132(0x394)]({'cmd':_0x39c57b['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x3dfd13=this[_0x471132(0x221)])==null||_0x3dfd13[_0x471132(0x4e3)](),this[_0x471132(0x30a)][_0x471132(0x4d8)](),this[_0x471132(0x47c)][_0x471132(0x4d8)](),this[_0x471132(0x1d6)]();}[_0x9c17ab(0x416)](_0x3ac8b5){var _0x3e92c5=_0x9c17ab;_0x3ac8b5[_0x3e92c5(0x432)]===_0x39c57b[_0x3e92c5(0x489)]?this[_0x3e92c5(0x477)](_0x3ac8b5):_0x3ac8b5['cmd']===_0x39c57b['RECV']&&this[_0x3e92c5(0x314)](_0x3ac8b5);}[_0x9c17ab(0x45f)](_0x1c3f75){var _0x109154=_0x9c17ab;this['_sessionStatus$'][_0x109154(0x2da)](0x1),_0x1c3f75[_0x109154(0x394)]({'cmd':_0x39c57b[_0x109154(0x489)],'routeKey':this[_0x109154(0x23d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x109154(0x23d)]}]}});}[_0x9c17ab(0x477)](_0x48da0a){var _0x23151f=_0x9c17ab,_0x5290ba;if(_0x48da0a[_0x23151f(0x512)]in _0x11a3a9){this['_collaborationUIEventService'][_0x23151f(0x37e)]({'id':_0x51b5e5[_0x23151f(0x2c9)],'data':_0x11a3a9[_0x48da0a[_0x23151f(0x512)]]}),this[_0x23151f(0x47c)][_0x23151f(0x2da)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0xc8ad20=(_0x5290ba=_0x48da0a[_0x23151f(0x42e)][_0x23151f(0x453)][this[_0x23151f(0x23d)]])==null?void 0x0:_0x5290ba['members'];_0xc8ad20&&_0xc8ad20[_0x23151f(0x1c9)](_0x4051b3=>this[_0x23151f(0x344)]['updateMember'](this[_0x23151f(0x23d)],_0x4051b3));}[_0x9c17ab(0x314)](_0x1873c4){var _0x1296f3=_0x9c17ab;try{const _0x8f7145=_0x1873c4[_0x1296f3(0x42e)];switch(_0x8f7145[_0x1296f3(0x295)]){case _0x5e1632[_0x1296f3(0x385)][_0x1296f3(0x474)]:this[_0x1296f3(0x44a)](_0x8f7145),this[_0x1296f3(0x30a)]['next'](_0x8f7145);break;case _0x5e1632[_0x1296f3(0x385)][_0x1296f3(0x294)]:this[_0x1296f3(0x2d4)](_0x8f7145),this[_0x1296f3(0x30a)][_0x1296f3(0x2da)](_0x8f7145);break;case _0x5e1632['CollaborationEvent'][_0x1296f3(0x3b9)]:case _0x5e1632[_0x1296f3(0x385)][_0x1296f3(0x2c8)]:this[_0x1296f3(0x4d2)](),this[_0x1296f3(0x1d5)](),this[_0x1296f3(0x30a)]['next'](_0x8f7145);break;case _0x5e1632[_0x1296f3(0x385)]['MSG_FOR_ERROR']:this[_0x1296f3(0x390)][_0x1296f3(0x3ae)](_0x1296f3(0x3c0)+JSON[_0x1296f3(0x288)](_0x8f7145)),this[_0x1296f3(0x30a)][_0x1296f3(0x2da)](_0x8f7145);break;case _0x5e1632['CollaborationEvent']['COMMENT_UPDATE']:this[_0x1296f3(0x4ff)][_0x1296f3(0x504)](_0x8f7145[_0x1296f3(0x42e)]),this[_0x1296f3(0x30a)][_0x1296f3(0x2da)](_0x8f7145);break;default:this[_0x1296f3(0x30a)][_0x1296f3(0x2da)](_0x8f7145);}}catch(_0x44735a){this[_0x1296f3(0x390)][_0x1296f3(0x3ae)](_0x44735a,_0x1873c4);}}[_0x9c17ab(0x44a)](_0x49c57d){var _0x39ad77=_0x9c17ab;this[_0x39ad77(0x344)][_0x39ad77(0x412)](this[_0x39ad77(0x23d)],_0x49c57d[_0x39ad77(0x42e)]);}[_0x9c17ab(0x2d4)](_0x35a2c4){var _0x120c50=_0x9c17ab;this['_memberService'][_0x120c50(0x3d3)](this[_0x120c50(0x23d)],_0x35a2c4[_0x120c50(0x42e)][_0x120c50(0x42f)]);}async[_0x9c17ab(0x394)](_0x5cca47,_0x5e8335){var _0x3fd42b=_0x9c17ab;if(this[_0x3fd42b(0x3ac)]!==0x3||!this[_0x3fd42b(0x221)])throw new Error(_0x3fd42b(0x387));try{_0x5cca47[_0x3fd42b(0x295)]===_0x5e1632['CollaborationEvent'][_0x3fd42b(0x461)]&&(this[_0x3fd42b(0x3e2)](),this[_0x3fd42b(0x272)](_0x5cca47)),this[_0x3fd42b(0x221)][_0x3fd42b(0x394)]({'cmd':_0x39c57b[_0x3fd42b(0x46a)],'routeKey':_0x5e8335,'routeType':'','data':_0x5cca47});}catch(_0x7126e5){this['_logService'][_0x3fd42b(0x3ae)](_0x7126e5);}}[_0x9c17ab(0x3e2)](){var _0x32ff8e=_0x9c17ab,_0x1c3730;this[_0x32ff8e(0x240)]=setTimeout(()=>{var _0x3e657e=_0x32ff8e;this[_0x3e657e(0x240)]=null,this[_0x3e657e(0x235)][_0x3e657e(0x37e)]({'id':_0x51b5e5['SUBMIT_CHANGESET_TIMEOUT']});},(_0x1c3730=this[_0x32ff8e(0x4a1)][_0x32ff8e(0x2b2)](_0x5daf23))!=null?_0x1c3730:0x4e20);}['_clearCollaborationTimeoutTimer'](){var _0x4325a7=_0x9c17ab;this[_0x4325a7(0x240)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x4325a7(0x240)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x2aeb82){var _0x156764=_0x9c17ab;if(!this['_shouldReportTelemetry'])return;const {data:_0x4d800b}=_0x2aeb82,{unitID:_0x57a359,changeset:_0xbcc63b}=_0x4d800b,{mutations:_0x5578a6,type:_0x5a1d59}=_0xbcc63b;this[_0x156764(0x301)]={'unitId':_0x57a359,'type':_0x5a1d59,'startTime':performance[_0x156764(0x42d)](),'stopTime':0x0,'duration':0x0,'size':_0x5dafd7(_0x5578a6)};}[_0x9c17ab(0x4d2)](){var _0x10fae6=_0x9c17ab;if(this[_0x10fae6(0x44b)]){if(!this[_0x10fae6(0x301)]){this[_0x10fae6(0x390)][_0x10fae6(0x3ae)](_0x10fae6(0x26c),_0x10fae6(0x226));return;}this[_0x10fae6(0x301)][_0x10fae6(0x24f)]=performance['now'](),this[_0x10fae6(0x301)]['duration']=this[_0x10fae6(0x301)][_0x10fae6(0x24f)]-this[_0x10fae6(0x301)][_0x10fae6(0x404)],this[_0x10fae6(0x4a0)][_0x10fae6(0x465)](_0x1b227e,this[_0x10fae6(0x301)]),this[_0x10fae6(0x301)]=null;}}[_0x9c17ab(0x549)](){this['_telemetryInfo']=null;}},_0xc149d1[_0x9c17ab(0x310)]=_0x4a2bfa([_0x4ee119(0x2,_0x1fb61c['ILogService']),_0x4ee119(0x3,_0x1fb61c['IConfigService']),_0x4ee119(0x4,_0x1fb61c['Inject'](_0x1fb61c['LocaleService'])),_0x4ee119(0x5,_0x1fb61c[_0x9c17ab(0x38e)](_0xc149d1[_0x9c17ab(0x216)])),_0x4ee119(0x6,_0x1fb61c[_0x9c17ab(0x38e)](_0x1ccebf)),_0x4ee119(0x7,_0x1fb61c[_0x9c17ab(0x38e)](_0xdc4705)),_0x4ee119(0x8,_0x1fb61c[_0x9c17ab(0x44c)](_0x5aac63['ITelemetryService']))],_0xc149d1[_0x9c17ab(0x310)]);var _0x5c5cd8=Object[_0x9c17ab(0x410)],_0x3e319b=(_0x3ff244,_0x485c43,_0x42ec54,_0x375079)=>{var _0x4cc146=_0x9c17ab;for(var _0x10d9a2=_0x375079>0x1?void 0x0:_0x375079?_0x5c5cd8(_0x485c43,_0x42ec54):_0x485c43,_0x5c9be4=_0x3ff244[_0x4cc146(0x4cf)]-0x1,_0x31cfcd;_0x5c9be4>=0x0;_0x5c9be4--)(_0x31cfcd=_0x3ff244[_0x5c9be4])&&(_0x10d9a2=_0x31cfcd(_0x10d9a2)||_0x10d9a2);return _0x10d9a2;},_0x3b4aea=(_0x47f2ec,_0x1f78b5)=>(_0x15a901,_0x1cdbba)=>_0x1f78b5(_0x15a901,_0x1cdbba,_0x47f2ec);_0xc149d1[_0x9c17ab(0x26e)]=class extends _0x1fb61c[_0x9c17ab(0x39f)]{constructor(_0x1fdd8e,_0x13d81e,_0x123d96,_0x564300,_0x2d79f9,_0x6b0e01){var _0x299d44=_0x9c17ab;super(),_0x47983f(this,'_socket$',new _0x3322ed[(_0x299d44(0x290))](void 0x0)),_0x47983f(this,_0x299d44(0x3af),this['_socket$'][_0x299d44(0x243)]()),_0x47983f(this,_0x299d44(0x25c),null),_0x47983f(this,_0x299d44(0x4b0),new Map()),_0x47983f(this,_0x299d44(0x250),new _0x3322ed[(_0x299d44(0x290))](_0x1b1e13[_0x299d44(0x1c0)])),_0x47983f(this,_0x299d44(0x3ea),this[_0x299d44(0x250)][_0x299d44(0x243)]()),_0x47983f(this,_0x299d44(0x514),!0x1),_0x47983f(this,_0x299d44(0x3f9)),_0x47983f(this,_0x299d44(0x3e3),0x0),_0x47983f(this,_0x299d44(0x409)),_0x47983f(this,'_timeoutTimer'),(this[_0x299d44(0x1ac)]=_0x1fdd8e,this[_0x299d44(0x390)]=_0x13d81e,this[_0x299d44(0x4a1)]=_0x123d96,this['_socketService']=_0x564300,this[_0x299d44(0x235)]=_0x2d79f9,this[_0x299d44(0x1ce)]=_0x6b0e01,this[_0x299d44(0x1c8)]());}get[_0x9c17ab(0x221)](){var _0x55accc=_0x9c17ab;return this['_socket$'][_0x55accc(0x51c)]();}[_0x9c17ab(0x1c8)](){var _0x5de1c7=_0x9c17ab;this[_0x5de1c7(0x1ce)]&&this[_0x5de1c7(0x436)](this['_networkConditionService'][_0x5de1c7(0x27d)][_0x5de1c7(0x2af)](_0x367b3c=>{var _0x24a034=_0x5de1c7;_0x367b3c&&!this[_0x24a034(0x221)]&&this[_0x24a034(0x44e)](),_0x367b3c||this[_0x24a034(0x4ed)]();}));}[_0x9c17ab(0x1d6)](){var _0x38b25f=_0x9c17ab;super['dispose'](),this[_0x38b25f(0x545)](),this['_clearTimeoutTimer'](),this[_0x38b25f(0x4bc)](),this[_0x38b25f(0x4b0)][_0x38b25f(0x1c9)](_0x5235bc=>_0x5235bc[_0x38b25f(0x1d6)]()),this['_sessions']['clear'](),this[_0x38b25f(0x250)][_0x38b25f(0x4d8)]();}async[_0x9c17ab(0x43e)](_0x3bda11){var _0x1315dc=_0x9c17ab;if(this[_0x1315dc(0x4b0)][_0x1315dc(0x1b3)](_0x3bda11))return this[_0x1315dc(0x4b0)][_0x1315dc(0x2e6)](_0x3bda11);this[_0x1315dc(0x1cd)]();const _0xfb889d=this[_0x1315dc(0x1ac)][_0x1315dc(0x467)](_0xc149d1['CollaborationSession'],_0x3bda11,this[_0x1315dc(0x435)][_0x1315dc(0x243)]());return this['_sessions'][_0x1315dc(0x53c)](_0x3bda11,_0xfb889d),_0xfb889d;}[_0x9c17ab(0x1fe)](_0x27f795){var _0x3c1f86=_0x9c17ab,_0x576d2e;const _0x58335a=this['_sessions'][_0x3c1f86(0x2e6)](_0x27f795);_0x58335a&&(this[_0x3c1f86(0x4b0)]['delete'](_0x27f795),_0x58335a[_0x3c1f86(0x4e3)]()),this[_0x3c1f86(0x4b0)][_0x3c1f86(0x3a3)]||(_0x576d2e=this[_0x3c1f86(0x221)])==null||_0x576d2e['close']();}['reconnect'](){var _0x4b9a4c=_0x9c17ab;this[_0x4b9a4c(0x3e3)]=0x0,this[_0x4b9a4c(0x545)](),this[_0x4b9a4c(0x2c2)]();}[_0x9c17ab(0x545)](){var _0x58060d=_0x9c17ab;this[_0x58060d(0x3f9)]!=null&&(clearTimeout(this[_0x58060d(0x3f9)]),this[_0x58060d(0x3f9)]=null);}async[_0x9c17ab(0x1bf)](){var _0x105897=_0x9c17ab,_0x408d8e,_0x1f9bf0;const _0x54e7d9=this[_0x105897(0x4a1)][_0x105897(0x2b2)](_0x505c92),_0x1cd0fc=this['_configService'][_0x105897(0x2b2)](_0x29e73d),_0x2fb9fc=(_0x1f9bf0=(_0x408d8e=_0x1cd0fc==null?void 0x0:_0x1cd0fc[_0x105897(0x48a)])!=null?_0x408d8e:_0x54e7d9)!=null?_0x1f9bf0:_0x45f512,_0x2e2390=await this['_socketService'][_0x105897(0x40b)](_0x2fb9fc);return this['_candidateSocket']=_0x2e2390,_0x2e2390;}async[_0x9c17ab(0x1cd)](){var _0x318588=_0x9c17ab,_0x5bb655,_0x130554;try{const _0x658b38=(_0x130554=(_0x5bb655=this[_0x318588(0x221)])!=null?_0x5bb655:this[_0x318588(0x25c)])!=null?_0x130554:await this[_0x318588(0x1bf)]();if(_0x658b38){const _0x454e07=_0x658b38[_0x318588(0x394)];_0x658b38['send']=_0x831852=>(this['_rescheduleHeartbeat'](),_0x454e07[_0x318588(0x3cc)](_0x658b38,[_0x831852])),_0x658b38[_0x318588(0x3c4)]['subscribe'](_0xe0d047=>this['_onMessage'](_0x658b38,_0xe0d047)),_0x658b38[_0x318588(0x505)][_0x318588(0x25b)](_0xc3de18[_0x318588(0x4e7)](0x1))[_0x318588(0x2af)](_0x4e158c=>this['_logService'][_0x318588(0x3ae)](_0x318588(0x35b),_0x4e158c)),_0x658b38[_0x318588(0x32d)][_0x318588(0x25b)](_0xc3de18[_0x318588(0x4e7)](0x1))[_0x318588(0x2af)](()=>{var _0x1dfc45=_0x318588;this[_0x1dfc45(0x3d7)](_0x658b38);}),_0x658b38[_0x318588(0x397)]['pipe'](_0xc3de18[_0x318588(0x4e7)](0x1))[_0x318588(0x2af)](_0x5ede53=>{var _0xd35db1=_0x318588;this[_0xd35db1(0x390)][_0xd35db1(0x4d3)](_0xd35db1(0x3e7),_0xd35db1(0x2eb),_0x5ede53),this['_onConnectionFailed']();});}}catch(_0x1edd3d){this[_0x318588(0x390)][_0x318588(0x3ae)](_0x1edd3d),this[_0x318588(0x20d)]();}}[_0x9c17ab(0x3d7)](_0x429db3){var _0x573931=_0x9c17ab;this['_logService']['debug'](_0x573931(0x3e7),_0x573931(0x1f3)),_0x429db3[_0x573931(0x394)]({'cmd':_0x39c57b[_0x573931(0x211)]}),this['_rescheduleHeartbeat']();}[_0x9c17ab(0x4ed)](){var _0x225782=_0x9c17ab;this[_0x225782(0x514)]=!0x1,this[_0x225782(0x25c)]=null,this[_0x225782(0x250)]['next'](_0x1b1e13[_0x225782(0x4d6)]),this[_0x225782(0x435)][_0x225782(0x2da)](null),this[_0x225782(0x341)](),this[_0x225782(0x4bc)]();}['_onConnectionFailed'](){var _0x2ce937=_0x9c17ab,_0xd10eea;this[_0x2ce937(0x4ed)](),this[_0x2ce937(0x3e3)]<((_0xd10eea=this[_0x2ce937(0x4a1)][_0x2ce937(0x2b2)](_0x150f97))!=null?_0xd10eea:0x3)?(this['_collaborationUIEventService']['emitEvent']({'id':_0x51b5e5[_0x2ce937(0x220)]}),this[_0x2ce937(0x2c2)]()):this[_0x2ce937(0x235)][_0x2ce937(0x37e)]({'id':_0x51b5e5[_0x2ce937(0x3de)]});}[_0x9c17ab(0x2c2)](){var _0x2f8fdc=_0x9c17ab,_0x488b13;const _0xa0e5de=this[_0x2f8fdc(0x3e3)],_0x3b6194=this[_0x2f8fdc(0x4a1)]['getConfig'](_0x29e73d),_0x160cb9=_0xa0e5de===0x0?0x0:((_0x488b13=_0x3b6194==null?void 0x0:_0x3b6194['retryConnectingInterval'])!=null?_0x488b13:0x4e20)*0x2**_0xa0e5de;this[_0x2f8fdc(0x3f9)]=setTimeout(()=>{var _0x43eec1=_0x2f8fdc;clearTimeout(this[_0x43eec1(0x3f9)]),this[_0x43eec1(0x3f9)]=null,this[_0x43eec1(0x1cd)]();},_0x160cb9),this[_0x2f8fdc(0x3e3)]+=0x1;}['_onMessage'](_0x2376b4,_0x34ac9e){var _0x16847f=_0x9c17ab;const {cmd:_0x102223}=_0x34ac9e;_0x102223===_0x39c57b[_0x16847f(0x211)]&&!this[_0x16847f(0x514)]&&(_0x2376b4['memberID']=_0x34ac9e[_0x16847f(0x42e)][_0x16847f(0x42f)],this[_0x16847f(0x435)]['next'](_0x2376b4),this[_0x16847f(0x250)]['next'](_0x1b1e13['ONLINE']),this[_0x16847f(0x514)]=!0x0,this[_0x16847f(0x25c)]=null),_0x102223===_0x39c57b[_0x16847f(0x2ce)]&&this['_clearTimeoutTimer'](),this[_0x16847f(0x38d)]();}[_0x9c17ab(0x38d)](){var _0x3e5d00=_0x9c17ab,_0x2dcbcc;this[_0x3e5d00(0x4bc)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x3e5d00(0x495)](),(_0x2dcbcc=this[_0x3e5d00(0x4a1)][_0x3e5d00(0x2b2)](_0x57a2e9))!=null?_0x2dcbcc:0x7530);}[_0x9c17ab(0x495)](){var _0x130252=_0x9c17ab;this[_0x130252(0x221)][_0x130252(0x394)]({'cmd':_0x39c57b['HEARTBEAT']}),this[_0x130252(0x540)]();}['_waitForHeartbeatResponse'](){var _0x24b83a=_0x9c17ab,_0x3bac24;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x3bac24=this['_configService'][_0x24b83a(0x2b2)](_0x5daf23))!=null?_0x3bac24:0x4e20);}['_clearHeartbeatTimer'](){var _0x5d70bb=_0x9c17ab;this[_0x5d70bb(0x409)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x9c17ab(0x341)](){var _0x39c196=_0x9c17ab;this[_0x39c196(0x2aa)]!=null&&(clearTimeout(this[_0x39c196(0x2aa)]),this[_0x39c196(0x2aa)]=null);}},_0xc149d1[_0x9c17ab(0x26e)]=_0x3e319b([_0x3b4aea(0x0,_0x1fb61c[_0x9c17ab(0x38e)](_0x1fb61c[_0x9c17ab(0x3c2)])),_0x3b4aea(0x1,_0x1fb61c['ILogService']),_0x3b4aea(0x2,_0x1fb61c['IConfigService']),_0x3b4aea(0x3,_0x2d8e46),_0x3b4aea(0x4,_0x1fb61c[_0x9c17ab(0x38e)](_0xdc4705)),_0x3b4aea(0x5,_0x1fb61c[_0x9c17ab(0x44c)](_0x111992))],_0xc149d1[_0x9c17ab(0x26e)]);const _0x426182=_0x1fb61c[_0x9c17ab(0x538)](_0x9c17ab(0x1db));function _0x74f8ea(_0x216f8){var _0x276643=_0x9c17ab;return _0x276643(0x4ac)+_0x216f8;}var _0x1cdebd=Object[_0x9c17ab(0x410)],_0x319cbf=(_0xa16f03,_0x430456,_0x4ab135,_0x33b88b)=>{for(var _0x3df98b=_0x33b88b>0x1?void 0x0:_0x33b88b?_0x1cdebd(_0x430456,_0x4ab135):_0x430456,_0x350173=_0xa16f03['length']-0x1,_0x3b709d;_0x350173>=0x0;_0x350173--)(_0x3b709d=_0xa16f03[_0x350173])&&(_0x3df98b=_0x3b709d(_0x3df98b)||_0x3df98b);return _0x3df98b;},_0x16085f=(_0x570815,_0x24d5da)=>(_0x4a6994,_0x152b41)=>_0x24d5da(_0x4a6994,_0x152b41,_0x570815);function _0x3bcc0e(_0x981cbd){var _0x6be89=_0x9c17ab;const {unitID:_0x25680,mutations:_0x24a2bb}=_0x981cbd;return{'unitId':_0x25680,'subUnitId':_0x24a2bb[0x0]['params'][_0x6be89(0x214)]};}_0xc149d1[_0x9c17ab(0x374)]=class{constructor(_0x33d555,_0xd46d38,_0x54c828){var _0xdd8d1c=_0x9c17ab;this[_0xdd8d1c(0x1ac)]=_0x33d555,this[_0xdd8d1c(0x51e)]=_0xd46d38,this['_instanceService']=_0x54c828;}['transformSelections'](_0x57d191){var _0x4d37a2=_0x9c17ab,_0x510a03,_0x370003,_0x26bbcc,_0x52e7e6;const _0x1ec249=this[_0x4d37a2(0x1ac)][_0x4d37a2(0x2e6)](_0x1470b1[_0x4d37a2(0x520)]),{unitId:_0xb8a6df,subUnitId:_0x8bc150}=_0x3bcc0e(_0x57d191),_0x33040f=_0x1ec249==null?void 0x0:_0x1ec249[_0x4d37a2(0x3e8)](_0xb8a6df)[_0x4d37a2(0x482)](),_0x3fa620=(_0x370003=(_0x510a03=this[_0x4d37a2(0x4fd)][_0x4d37a2(0x493)](_0xb8a6df))==null?void 0x0:_0x510a03[_0x4d37a2(0x2f7)]())==null?void 0x0:_0x370003[_0x4d37a2(0x447)]();if(_0x33040f['length']===0x0||!_0xb8a6df||!_0x8bc150)return;const _0x210e78=[{'id':_0x1470b1[_0x4d37a2(0x3a7)]['id'],'params':{'unitId':_0xb8a6df,'subUnitId':_0x3fa620,'selections':_0x1fb61c[_0x4d37a2(0x274)][_0x4d37a2(0x498)](_0x33040f)}}],_0xe5c41f=this[_0x4d37a2(0x51e)][_0x4d37a2(0x25e)](_0x57d191,_0x210e78);if(!_0x5e1632[_0x4d37a2(0x3ab)](_0xe5c41f))throw _0xe5c41f[_0x4d37a2(0x3ae)];const _0x1ab043=(_0x52e7e6=(_0x26bbcc=_0xe5c41f['m2Prime'][0x0])==null?void 0x0:_0x26bbcc['params'])==null?void 0x0:_0x52e7e6['selections'];if(Array[_0x4d37a2(0x1de)](_0x1ab043)&&_0x1ab043[_0x4d37a2(0x4cf)]){if(_0x1ab043['length']===_0x210e78[0x0][_0x4d37a2(0x3f5)][_0x4d37a2(0x484)][_0x4d37a2(0x4cf)]&&_0x1ab043['every']((_0x23d518,_0x3b0465)=>_0x1fb61c[_0x4d37a2(0x37f)][_0x4d37a2(0x2fe)](_0x23d518['range'],_0x210e78[0x0][_0x4d37a2(0x3f5)][_0x4d37a2(0x484)][_0x3b0465]['range'])))return;this[_0x4d37a2(0x1ac)][_0x4d37a2(0x2e6)](_0x1fb61c[_0x4d37a2(0x364)])[_0x4d37a2(0x2ca)](_0x1470b1[_0x4d37a2(0x3a7)]['id'],{'unitId':_0xb8a6df,'subUnitId':_0x3fa620,'selections':_0x1ab043});}}},_0xc149d1[_0x9c17ab(0x374)]=_0x319cbf([_0x16085f(0x0,_0x1fb61c['Inject'](_0x1fb61c[_0x9c17ab(0x3c2)])),_0x16085f(0x1,_0x5e1632[_0x9c17ab(0x277)]),_0x16085f(0x2,_0x1fb61c['IUniverInstanceService'])],_0xc149d1['SheetTransformSelectionsService']);const _0x2acc04=_0x1fb61c[_0x9c17ab(0x538)]('univer-pro.collaboration-client.single-active-unit-service');var _0x9a4958=(_0x56ebcf=>(_0x56ebcf[_0x56ebcf['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x56ebcf[_0x56ebcf[_0x9c17ab(0x46e)]=0x1]=_0x9c17ab(0x46e),_0x56ebcf))(_0x9a4958||{});const _0x269e91=new Set([_0x1470b1[_0x9c17ab(0x3cd)]['id']]);function _0x314d77(_0x3192fb,_0x1fe130,_0x1c4c29,_0x494128,_0x4f7367){var _0x344daa=_0x9c17ab,_0x2051e4,_0x3703f5,_0x1130c0,_0x55d72d;const _0x23e1f9=[];for(const _0x2d23d2 of _0x3192fb)if(_0x269e91[_0x344daa(0x1b3)](_0x2d23d2['id'])){if(_0x23e1f9['length']>0x0)break;_0x23e1f9[_0x344daa(0x53b)](_0x2d23d2);break;}else _0x23e1f9[_0x344daa(0x53b)](_0x2d23d2);const _0x77f3a5=(_0x3703f5=(_0x2051e4=_0x4f7367[_0x344daa(0x32f)]())==null?void 0x0:_0x2051e4['userID'])!=null?_0x3703f5:_0x344daa(0x20c),_0x4d34b4=(_0x55d72d=(_0x1130c0=_0x4f7367[_0x344daa(0x32f)]())==null?void 0x0:_0x1130c0[_0x344daa(0x42f)])!=null?_0x55d72d:_0x344daa(0x20c);return{'changeset':{'unitID':_0x1fe130,'type':_0x5e1632[_0x344daa(0x3a4)](_0x1c4c29['getUnitType'](_0x1fe130)),'baseRev':_0x494128[_0x344daa(0x1d1)](_0x1fe130),'revision':0x0,'userID':_0x77f3a5,'memberID':_0x4d34b4,'mutations':_0x23e1f9},'pendingMutations':_0x3192fb[_0x344daa(0x365)](_0x23e1f9[_0x344daa(0x4cf)])};}function _0x2c3e46(_0x37e971,_0x1ef79b,_0x248fe2,_0x5b4c1c,_0x1a7d4e){var _0x2c532a=_0x9c17ab,_0x231bf7,_0x37fc6a,_0x5b2632,_0x436ce2;const _0x3e7918=[_0x37e971[_0x2c532a(0x1fa)]((_0x4a6097,_0x1353f9)=>{var _0x5bfded=_0x2c532a,_0x50a64c;const {id:_0x2a4fd9}=_0x4a6097,{id:_0x1141cd,type:_0x4964ba}=_0x1353f9,_0x389a18=(_0x50a64c=_0x4a6097['params'])!=null?_0x50a64c:{'actions':null},_0x17d689=_0x1353f9[_0x5bfded(0x3f5)];if(_0x2a4fd9&&_0x2a4fd9!==_0x1141cd)throw new Error(_0x5bfded(0x201)+_0x2a4fd9+_0x5bfded(0x1f8)+_0x1141cd+'.');return{..._0x4a6097,'id':_0x1141cd,'type':_0x4964ba,'params':{'unitId':_0x17d689['unitId'],'textRanges':_0x17d689[_0x5bfded(0x531)],'actions':_0x1fb61c[_0x5bfded(0x1ad)][_0x5bfded(0x1bc)](_0x389a18[_0x5bfded(0x1d2)],_0x17d689[_0x5bfded(0x1d2)])}};},{})],_0x4bf2d7=(_0x37fc6a=(_0x231bf7=_0x1a7d4e[_0x2c532a(0x32f)]())==null?void 0x0:_0x231bf7['userID'])!=null?_0x37fc6a:_0x2c532a(0x20c),_0x3928b5=(_0x436ce2=(_0x5b2632=_0x1a7d4e['getCurrentUser']())==null?void 0x0:_0x5b2632[_0x2c532a(0x42f)])!=null?_0x436ce2:'unknown';return{'changeset':{'unitID':_0x1ef79b,'type':_0x5e1632[_0x2c532a(0x3a4)](_0x248fe2[_0x2c532a(0x517)](_0x1ef79b)),'baseRev':_0x5b4c1c[_0x2c532a(0x1d1)](_0x1ef79b),'revision':0x0,'userID':_0x4bf2d7,'memberID':_0x3928b5,'mutations':_0x3e7918},'pendingMutations':[]};}function _0x55ac49(_0x286c00,_0x16b0bc){var _0x119005=_0x9c17ab;const _0x53f849=new _0x3322ed[(_0x119005(0x3a2))](0x1);return setTimeout(()=>_0x53f849['next'](_0x16b0bc),_0x286c00),_0x53f849[_0x119005(0x243)]()[_0x119005(0x25b)](_0x3322ed[_0x119005(0x4e7)](0x1));}const _0x57bbd0={'id':_0x1470b1[_0x9c17ab(0x4e6)]['id'],'type':_0x1fb61c[_0x9c17ab(0x3f2)][_0x9c17ab(0x4cd)],'params':{}};var _0x58b728=Object['getOwnPropertyDescriptor'],_0x4f5989=(_0x44ae37,_0x4b58f3,_0x3db313,_0x4fc23e)=>{var _0x233eee=_0x9c17ab;for(var _0x1bb25b=_0x4fc23e>0x1?void 0x0:_0x4fc23e?_0x58b728(_0x4b58f3,_0x3db313):_0x4b58f3,_0x4f3361=_0x44ae37[_0x233eee(0x4cf)]-0x1,_0x1f99ef;_0x4f3361>=0x0;_0x4f3361--)(_0x1f99ef=_0x44ae37[_0x4f3361])&&(_0x1bb25b=_0x1f99ef(_0x1bb25b)||_0x1bb25b);return _0x1bb25b;},_0x393fca=(_0x255a83,_0x51d5f6)=>(_0x540738,_0x10fbc7)=>_0x51d5f6(_0x540738,_0x10fbc7,_0x255a83),_0x18a736=(_0x444377=>(_0x444377[_0x9c17ab(0x4f8)]=_0x9c17ab(0x223),_0x444377[_0x9c17ab(0x1cf)]='synced',_0x444377[_0x9c17ab(0x2f6)]=_0x9c17ab(0x1e8),_0x444377[_0x9c17ab(0x329)]=_0x9c17ab(0x4a7),_0x444377[_0x9c17ab(0x4eb)]=_0x9c17ab(0x38a),_0x444377['FETCH_MISS']=_0x9c17ab(0x43a),_0x444377[_0x9c17ab(0x532)]=_0x9c17ab(0x35e),_0x444377[_0x9c17ab(0x4d6)]=_0x9c17ab(0x359),_0x444377))(_0x18a736||{});const _0xf5c40f=0xea60;class _0x2022e7{constructor(_0x4ecb66,_0x1a2a8f,_0x3f2494,_0xd624c9,_0x1a5cd8,_0x4d7e8e,_0x4a0fdd,_0x1cc068,_0x838e){var _0x234fdf=_0x9c17ab;_0x47983f(this,_0x234fdf(0x419),null),_0x47983f(this,_0x234fdf(0x1dc),[]),(this[_0x234fdf(0x1f9)]=_0x4ecb66,this[_0x234fdf(0x516)]=_0x1a2a8f,this['_handler']=_0x1a5cd8,this['_commandService']=_0x4d7e8e,this[_0x234fdf(0x47e)]=_0x4a0fdd,this[_0x234fdf(0x265)]=_0x1cc068,this[_0x234fdf(0x328)]=_0x838e,this[_0x234fdf(0x419)]=_0x3f2494,this[_0x234fdf(0x1dc)]=_0xd624c9);}[_0x9c17ab(0x402)](_0x438338){var _0x1eaa77=_0x9c17ab;const _0x20bb92=this['_revisionService']['getCurrentRevOfUnit'](this[_0x1eaa77(0x1f9)]);return _0x438338[_0x1eaa77(0x322)]>_0x20bb92+0x1?(this[_0x1eaa77(0x1ec)][_0x1eaa77(0x4c9)]({'from':_0x20bb92,'to':_0x438338['revision']-0x1}),!0x0):!0x1;}[_0x9c17ab(0x486)](_0x2c3adb){var _0x531b00=_0x9c17ab;this[_0x531b00(0x47e)]['transformUndoRedo'](this[_0x531b00(0x1f9)],_0x2c3adb);}['_transformSelections'](_0x3b255a){var _0x160dbf=_0x9c17ab,_0x30bac2,_0x232aaf;(_0x232aaf=(_0x30bac2=this[_0x160dbf(0x1ec)])['onTransformSelections'])==null||_0x232aaf[_0x160dbf(0x22f)](_0x30bac2,_0x3b255a);}['_transformIMECache'](_0x42ea4a){var _0x1d3054=_0x9c17ab,_0x15c7a0,_0x16ff57;return(_0x16ff57=(_0x15c7a0=this['_handler'])[_0x1d3054(0x46c)])==null?void 0x0:_0x16ff57[_0x1d3054(0x22f)](_0x15c7a0,_0x42ea4a);}[_0x9c17ab(0x424)](_0x36cf06){var _0x6ea73=_0x9c17ab,_0x51e2b1,_0x488ff4;return(_0x488ff4=(_0x51e2b1=this[_0x6ea73(0x1ec)])[_0x6ea73(0x335)])==null?void 0x0:_0x488ff4['call'](_0x51e2b1,_0x36cf06);}[_0x9c17ab(0x3cf)](_0x445193){var _0x4699bb=_0x9c17ab,_0x139204,_0x2e6f27,_0x19b932;return(_0x19b932=(_0x2e6f27=(_0x139204=this[_0x4699bb(0x1ec)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2e6f27[_0x4699bb(0x22f)](_0x139204,_0x445193))!=null?_0x19b932:_0x445193;}[_0x9c17ab(0x2f0)](_0x568eb0){var _0x30b1a9=_0x9c17ab,_0x26f083,_0xc8f47d,_0x4724d8;return(_0x4724d8=(_0xc8f47d=(_0x26f083=this[_0x30b1a9(0x1ec)])[_0x30b1a9(0x3fb)])==null?void 0x0:_0xc8f47d[_0x30b1a9(0x22f)](_0x26f083,_0x568eb0))!=null?_0x4724d8:_0x568eb0;}[_0x9c17ab(0x264)](_0x3293e9){var _0x2df927=_0x9c17ab,_0x5d54d3,_0x3dc060;if(this[_0x2df927(0x516)]===_0x4e5206[_0x2df927(0x4e5)]){const {unitID:_0x1b6030,mutations:_0x300dcf,memberID:_0x32a489}=_0x3293e9,_0x5dd8b2=_0x300dcf[0x0][_0x2df927(0x3f5)][_0x2df927(0x531)];Array[_0x2df927(0x1de)](_0x5dd8b2)&&_0x5dd8b2[_0x2df927(0x4cf)]>0x0&&((_0x3dc060=(_0x5d54d3=this[_0x2df927(0x1ec)])[_0x2df927(0x263)])==null||_0x3dc060['call'](_0x5d54d3,{'unitID':_0x1b6030,'memberID':_0x32a489,'textRanges':_0x5dd8b2}));}}[_0x9c17ab(0x3c5)](){var _0x2c3994=_0x9c17ab,_0x2d08ec;(_0x2d08ec=this[_0x2c3994(0x328)])==null||_0x2d08ec[_0x2c3994(0x4ab)](this['unitID'],this[_0x2c3994(0x516)],this[_0x2c3994(0x419)],this[_0x2c3994(0x1dc)]);}[_0x9c17ab(0x2e2)](){var _0x29764e=_0x9c17ab;return this[_0x29764e(0x265)][_0x29764e(0x1d1)](this[_0x29764e(0x1f9)]);}[_0x9c17ab(0x1d8)](){var _0x5c7ab8=_0x9c17ab;this[_0x5c7ab8(0x265)][_0x5c7ab8(0x31c)](this[_0x5c7ab8(0x1f9)]);}[_0x9c17ab(0x47f)](_0x921822){var _0x38a25e=_0x9c17ab,_0x142ade;let _0x234220=this[_0x38a25e(0x3cf)](_0x921822);_0x234220=this[_0x38a25e(0x2f0)](_0x234220);const _0x30d15a=_0x1fb61c['sequenceExecute'](_0x234220['mutations'],this[_0x38a25e(0x32a)],{'fromCollab':!0x0});if(!_0x30d15a[_0x38a25e(0x39d)])throw _0x30d15a[_0x38a25e(0x3ae)]instanceof Error?_0x30d15a[_0x38a25e(0x3ae)]:new Error((_0x142ade=_0x30d15a[_0x38a25e(0x3ae)])!=null?_0x142ade:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x234220),this[_0x38a25e(0x424)](_0x234220),this['_transformUndoredo'](_0x921822),this['_transformSelections'](_0x234220),this[_0x38a25e(0x264)](_0x234220),this[_0x38a25e(0x1d8)]();}}_0xc149d1[_0x9c17ab(0x449)]=class extends _0x2022e7{constructor(_0x52c920,_0x22e175,_0x4ed249,_0x27775e,_0x5b3857,_0x58a063,_0x23a182,_0x2ca99f,_0x494f14,_0x480639){var _0x56c153=_0x9c17ab;super(_0x52c920,_0x22e175,null,[],_0x4ed249,_0x23a182,_0x58a063,_0x27775e,_0x480639),_0x47983f(this,_0x56c153(0x1b1),_0x56c153(0x4f0)),(this[_0x56c153(0x1ac)]=_0x5b3857,this[_0x56c153(0x390)]=_0x2ca99f,this[_0x56c153(0x51e)]=_0x494f14,this['localCacheService']=_0x480639);}['appendMutation'](_0x4b3609){var _0x1b779=_0x9c17ab;const _0x2774ea=this[_0x1b779(0x1ac)][_0x1b779(0x467)](_0xc149d1[_0x1b779(0x21f)],this[_0x1b779(0x1f9)],this['type'],[_0x4b3609],this[_0x1b779(0x1ec)]);return _0x2774ea[_0x1b779(0x4ee)](),_0x2774ea[_0x1b779(0x3c5)](),_0x2774ea;}[_0x9c17ab(0x273)](_0x2f1a83){var _0x4e3f82=_0x9c17ab;if(this[_0x4e3f82(0x402)](_0x2f1a83))return this[_0x4e3f82(0x1ac)][_0x4e3f82(0x467)](_0xc149d1[_0x4e3f82(0x299)],this[_0x4e3f82(0x1f9)],this[_0x4e3f82(0x516)],null,[],null,[_0x2f1a83],this[_0x4e3f82(0x1ec)]);try{const _0x37fda1=this[_0x4e3f82(0x51e)][_0x4e3f82(0x25e)](_0x2f1a83,[_0x57bbd0]);if(_0x5e1632[_0x4e3f82(0x3ab)](_0x37fda1)){const {c1Prime:_0x30c0ee}=_0x37fda1;return this[_0x4e3f82(0x47f)](_0x30c0ee),this;}throw _0x37fda1[_0x4e3f82(0x3ae)];}catch(_0x302eb6){return this[_0x4e3f82(0x390)][_0x4e3f82(0x3ae)](_0x302eb6),this[_0x4e3f82(0x320)](!0x1);}}['_onConflict'](_0x1d894a){var _0x4d1dac=_0x9c17ab;return this[_0x4d1dac(0x1ac)][_0x4d1dac(0x467)](_0xc149d1[_0x4d1dac(0x49e)],this[_0x4d1dac(0x1f9)],this[_0x4d1dac(0x516)],null,[],this[_0x4d1dac(0x1ec)],_0x1d894a);}[_0x9c17ab(0x268)](){var _0x528abc=_0x9c17ab;throw new Error(_0x528abc(0x40a));}[_0x9c17ab(0x3d9)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x9c17ab(0x368)](){return this;}['toggleOffline'](){var _0x20a120=_0x9c17ab;return this[_0x20a120(0x1ac)][_0x20a120(0x467)](_0xc149d1[_0x20a120(0x53f)],this['unitID'],this[_0x20a120(0x516)],null,[],this['_handler']);}[_0x9c17ab(0x21a)](){return this;}[_0x9c17ab(0x49a)](){var _0x3007fc=_0x9c17ab;throw new Error(_0x3007fc(0x1b9));}['fetchMiss'](){var _0x18f80c=_0x9c17ab;const _0x44e222=this[_0x18f80c(0x265)][_0x18f80c(0x1d1)](this[_0x18f80c(0x1f9)]);return this[_0x18f80c(0x1ec)][_0x18f80c(0x4c9)]({'from':_0x44e222,'to':0x0}),this[_0x18f80c(0x1ac)][_0x18f80c(0x467)](_0xc149d1[_0x18f80c(0x299)],this['unitID'],this[_0x18f80c(0x516)],null,[],null,[],this[_0x18f80c(0x1ec)]);}},_0xc149d1[_0x9c17ab(0x449)]=_0x4f5989([_0x393fca(0x3,_0x1fb61c[_0x9c17ab(0x38e)](_0x5e1632[_0x9c17ab(0x536)])),_0x393fca(0x4,_0x1fb61c[_0x9c17ab(0x38e)](_0x1fb61c[_0x9c17ab(0x3c2)])),_0x393fca(0x5,_0x1fb61c['IUndoRedoService']),_0x393fca(0x6,_0x1fb61c[_0x9c17ab(0x364)]),_0x393fca(0x7,_0x1fb61c[_0x9c17ab(0x4dc)]),_0x393fca(0x8,_0x5e1632[_0x9c17ab(0x277)]),_0x393fca(0x9,_0x1fb61c[_0x9c17ab(0x44c)](_0x426182))],_0xc149d1[_0x9c17ab(0x449)]),_0xc149d1['PendingState']=class extends _0x2022e7{constructor(_0xa164d3,_0xf64e8d,_0x2d9aa6,_0x302072,_0x15e5f,_0x4575ee,_0x578c3c,_0x11a655,_0x101dd6,_0x2ffb48,_0x14f996,_0x1d9eae,_0x3b6f87,_0x2ab123){var _0x47f1ba=_0x9c17ab;super(_0xa164d3,_0xf64e8d,null,_0x2d9aa6,_0x302072,_0x101dd6,_0x3b6f87,_0x4575ee,_0x2ab123),_0x47983f(this,_0x47f1ba(0x1b1),'pending'),_0x47983f(this,_0x47f1ba(0x3da),null),_0x47983f(this,_0x47f1ba(0x46d),null),(this[_0x47f1ba(0x1ac)]=_0x15e5f,this['_memberService']=_0x578c3c,this['_logService']=_0x11a655,this[_0x47f1ba(0x4a1)]=_0x2ffb48,this['_transformService']=_0x14f996,this['_univerInstanceService']=_0x1d9eae);}[_0x9c17ab(0x50d)](_0x17ed60){var _0x140801=_0x9c17ab;return this[_0x140801(0x1dc)][_0x140801(0x53b)](_0x17ed60),this[_0x140801(0x3c5)](),this;}[_0x9c17ab(0x273)](_0x8dd138){var _0x185957=_0x9c17ab;if(this[_0x185957(0x402)](_0x8dd138))return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0xc149d1['FetchingMissState'],this[_0x185957(0x1f9)],this['type'],null,this['_pendingMutations'],null,[_0x8dd138],this['_handler']);try{const _0x2100d5=this[_0x185957(0x51e)][_0x185957(0x25e)](_0x8dd138,this[_0x185957(0x1dc)]);if(_0x5e1632[_0x185957(0x3ab)](_0x2100d5)){const {c1Prime:_0x17a413,m2Prime:_0x184d04}=_0x2100d5;this[_0x185957(0x47f)](_0x17a413);const _0xf230cf=this[_0x185957(0x1ac)][_0x185957(0x467)](_0xc149d1[_0x185957(0x21f)],this[_0x185957(0x1f9)],this[_0x185957(0x516)],_0x184d04,this['_handler']);this['_clearScheduledTask']();const _0xeb1da5=new Date()[_0x185957(0x2cd)](),_0x1f38c7=this[_0x185957(0x3da)]?Math[_0x185957(0x406)](this[_0x185957(0x3da)]-_0xeb1da5,0x0):this[_0x185957(0x210)]();return _0xf230cf[_0x185957(0x4ee)](_0x1f38c7),_0xf230cf;}throw _0x2100d5[_0x185957(0x3ae)];}catch(_0x4a6c7c){return this[_0x185957(0x390)][_0x185957(0x3ae)](_0x4a6c7c),this[_0x185957(0x320)](!0x1);}}[_0x9c17ab(0x268)](){var _0x57cec1=_0x9c17ab;throw new Error(_0x57cec1(0x1f6));}[_0x9c17ab(0x3d9)](){var _0x2e1049=_0x9c17ab;throw new Error(_0x2e1049(0x4e8));}['onRemoteRetry'](){return this;}[_0x9c17ab(0x303)](){var _0x3addd4=_0x9c17ab;return this[_0x3addd4(0x45a)](),this[_0x3addd4(0x1ac)][_0x3addd4(0x467)](_0xc149d1[_0x3addd4(0x53f)],this['unitID'],this['type'],null,this[_0x3addd4(0x1dc)],this['_handler']);}[_0x9c17ab(0x21a)](){return this;}[_0x9c17ab(0x4ee)](_0xe08370){var _0x573aae=_0x9c17ab;const _0x2e2f9b=_0xe08370!=null?_0xe08370:this[_0x573aae(0x210)]();this['_scheduleCompleteTimestamp']=new Date()[_0x573aae(0x2cd)]()+_0x2e2f9b,this['_sendingTimer']=setTimeout(()=>{var _0x5b9164=_0x573aae;this[_0x5b9164(0x45a)]();let _0x5d806e=null;switch(this[_0x5b9164(0x516)]){case _0x4e5206[_0x5b9164(0x398)]:{_0x5d806e=_0x314d77(this[_0x5b9164(0x1dc)],this[_0x5b9164(0x1f9)],this[_0x5b9164(0x3be)],this['_revisionService'],this[_0x5b9164(0x344)]);break;}case _0x4e5206[_0x5b9164(0x4e5)]:{this[_0x5b9164(0x1dc)]['every'](_0x544440=>_0x544440['id']===_0xc2eb0e['RichTextEditingMutation']['id'])?_0x5d806e=_0x2c3e46(this[_0x5b9164(0x1dc)],this[_0x5b9164(0x1f9)],this[_0x5b9164(0x3be)],this[_0x5b9164(0x265)],this[_0x5b9164(0x344)]):_0x5d806e=_0x314d77(this[_0x5b9164(0x1dc)],this[_0x5b9164(0x1f9)],this[_0x5b9164(0x3be)],this[_0x5b9164(0x265)],this['_memberService']);break;}default:throw new Error(_0x5b9164(0x1ba)+this[_0x5b9164(0x516)]+_0x5b9164(0x212));}const {changeset:_0x224d9a,pendingMutations:_0x535945}=_0x5d806e;this['_handler'][_0x5b9164(0x547)](_0x224d9a);const _0x57cbb1=_0x535945[_0x5b9164(0x4cf)]?this[_0x5b9164(0x1ac)][_0x5b9164(0x467)](_0xc149d1[_0x5b9164(0x202)],this['unitID'],this[_0x5b9164(0x516)],_0x224d9a,_0x535945,this['_handler'],void 0x0):this[_0x5b9164(0x1ac)][_0x5b9164(0x467)](_0xc149d1[_0x5b9164(0x228)],this[_0x5b9164(0x1f9)],this['type'],_0x224d9a,this[_0x5b9164(0x1ec)]);_0x57cbb1[_0x5b9164(0x3c5)](),this['_handler'][_0x5b9164(0x36b)](this,_0x57cbb1);},_0x2e2f9b);}[_0x9c17ab(0x210)](){var _0x2d9daf=_0x9c17ab,_0x3c8c1d;const _0x4b8e97=this[_0x2d9daf(0x4a1)][_0x2d9daf(0x2b2)](_0x29e73d);return(_0x3c8c1d=_0x4b8e97==null?void 0x0:_0x4b8e97[_0x2d9daf(0x2a7)])!=null?_0x3c8c1d:0x7d0;}['resend'](){var _0x1d63ae=_0x9c17ab;throw new Error(_0x1d63ae(0x1c7));}[_0x9c17ab(0x45a)](){var _0x308241=_0x9c17ab;this[_0x308241(0x46d)]!=null&&(clearTimeout(this[_0x308241(0x46d)]),this[_0x308241(0x46d)]=null);}[_0x9c17ab(0x320)](_0x562aeb){var _0x550393=_0x9c17ab;return this[_0x550393(0x45a)](),this['_injector']['createInstance'](_0xc149d1[_0x550393(0x49e)],this[_0x550393(0x1f9)],this[_0x550393(0x516)],null,this[_0x550393(0x1dc)],this['_handler'],_0x562aeb);}},_0xc149d1[_0x9c17ab(0x21f)]=_0x4f5989([_0x393fca(0x4,_0x1fb61c[_0x9c17ab(0x38e)](_0x1fb61c['Injector'])),_0x393fca(0x5,_0x1fb61c[_0x9c17ab(0x38e)](_0x5e1632[_0x9c17ab(0x536)])),_0x393fca(0x6,_0x1fb61c['Inject'](_0xc149d1[_0x9c17ab(0x216)])),_0x393fca(0x7,_0x1fb61c[_0x9c17ab(0x4dc)]),_0x393fca(0x8,_0x1fb61c[_0x9c17ab(0x364)]),_0x393fca(0x9,_0x1fb61c[_0x9c17ab(0x21b)]),_0x393fca(0xa,_0x5e1632[_0x9c17ab(0x277)]),_0x393fca(0xb,_0x1fb61c[_0x9c17ab(0x278)]),_0x393fca(0xc,_0x1fb61c[_0x9c17ab(0x3f1)]),_0x393fca(0xd,_0x1fb61c[_0x9c17ab(0x44c)](_0x426182))],_0xc149d1[_0x9c17ab(0x21f)]),_0xc149d1[_0x9c17ab(0x228)]=class extends _0x2022e7{constructor(_0x5c8f50,_0x111717,_0x5e1927,_0x44c20f,_0x23b616,_0x38e8a7,_0x429e0b,_0x56812f,_0xc5385c,_0x22d40d,_0x50fede){var _0x38960e=_0x9c17ab;super(_0x5c8f50,_0x111717,_0x5e1927,[],_0x44c20f,_0x429e0b,_0x22d40d,_0x38e8a7,_0x50fede),_0x47983f(this,'status',_0x38960e(0x4a7)),_0x47983f(this,_0x38960e(0x405),0x0),_0x47983f(this,_0x38960e(0x49d)),_0x47983f(this,_0x38960e(0x20b)),(this['_injector']=_0x23b616,this[_0x38960e(0x390)]=_0x56812f,this[_0x38960e(0x51e)]=_0xc5385c);}['appendMutation'](_0x3fbd7e){var _0x1d50f0=_0x9c17ab;this[_0x1d50f0(0x45a)]();const _0x24f9e8=this[_0x1d50f0(0x1ac)][_0x1d50f0(0x467)](_0xc149d1[_0x1d50f0(0x202)],this[_0x1d50f0(0x1f9)],this[_0x1d50f0(0x516)],this[_0x1d50f0(0x419)],[_0x3fbd7e],this['_handler'],this['_resendTimer']);return _0x24f9e8['_updateLocalCache'](),_0x24f9e8;}['onRemoteChangeset'](_0x147161){var _0x1b6321=_0x9c17ab;if(this[_0x1b6321(0x402)](_0x147161))return this[_0x1b6321(0x45a)](),this['_injector'][_0x1b6321(0x467)](_0xc149d1[_0x1b6321(0x299)],this['unitID'],this['type'],this[_0x1b6321(0x419)],[],null,[_0x147161],this['_handler']);try{const _0x2af4f6=this[_0x1b6321(0x51e)][_0x1b6321(0x3f7)]([_0x147161],[this[_0x1b6321(0x419)]],!0x1);if(_0x5e1632[_0x1b6321(0x37c)](_0x2af4f6)){const {c1Prime:_0xfe7077,c2Prime:_0x27cdd2}=_0x2af4f6;this[_0x1b6321(0x47f)](_0xfe7077[0x0]),_0x27cdd2[0x0][_0x1b6321(0x362)]=this[_0x1b6321(0x2e2)](),this[_0x1b6321(0x45a)]();const _0x371031=this[_0x1b6321(0x1ac)][_0x1b6321(0x467)](_0xc149d1[_0x1b6321(0x228)],this[_0x1b6321(0x1f9)],this[_0x1b6321(0x516)],_0x27cdd2[0x0],this['_handler']);return _0x371031[_0x1b6321(0x3c5)](),_0x371031;}return this[_0x1b6321(0x320)](!0x1);}catch(_0x4feb22){return this[_0x1b6321(0x390)][_0x1b6321(0x3ae)](_0x4feb22),this[_0x1b6321(0x320)](!0x1);}}[_0x9c17ab(0x268)](_0x247397){var _0x17ee92=_0x9c17ab;this[_0x17ee92(0x45a)]();const _0x19aa42=this[_0x17ee92(0x265)]['getCurrentRevOfUnit'](this[_0x17ee92(0x1f9)]);if(_0x247397[_0x17ee92(0x322)]<_0x19aa42-0x1)return this;if(this['_checkMissing'](_0x247397))return this[_0x17ee92(0x1ac)][_0x17ee92(0x467)](_0xc149d1[_0x17ee92(0x299)],this['unitID'],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x17ee92(0x1ec)]);this['_incrementRevisionNumber']();const _0x2d7709=this['_injector'][_0x17ee92(0x467)](_0xc149d1[_0x17ee92(0x449)],this['unitID'],this[_0x17ee92(0x516)],this[_0x17ee92(0x1ec)]);return _0x2d7709['_updateLocalCache'](),_0x2d7709;}[_0x9c17ab(0x3d9)](_0x139774){var _0x84dddb=_0x9c17ab;return this['_onConflict'](!!(_0x139774!=null&&_0x139774[_0x84dddb(0x289)]));}['onRemoteRetry'](_0x35d822){var _0x230da8=_0x9c17ab;return this[_0x230da8(0x405)]>_0xf5c40f?this['toggleOffline']():(this[_0x230da8(0x49d)]=_0x55ac49(this['_resendTimeout'],{'timeout':this[_0x230da8(0x405)],'reqId':_0x35d822['reqId']}),this[_0x230da8(0x20b)]=this['_resendTimer'][_0x230da8(0x2af)](({reqId:_0x1a550d,timeout:_0x26e113})=>{var _0x5d6963=_0x230da8;this[_0x5d6963(0x4f2)](_0x1a550d,_0x26e113);}),this);}['toggleOffline'](){var _0x4fd46b=_0x9c17ab;return this[_0x4fd46b(0x45a)](),this[_0x4fd46b(0x1ac)]['createInstance'](_0xc149d1[_0x4fd46b(0x53f)],this[_0x4fd46b(0x1f9)],this[_0x4fd46b(0x516)],this['_awaitingChangeset'],[],this[_0x4fd46b(0x1ec)]);}[_0x9c17ab(0x21a)](){return this;}[_0x9c17ab(0x49a)](){var _0x591228=_0x9c17ab;this['_handler'][_0x591228(0x547)](this['_awaitingChangeset']);}[_0x9c17ab(0x320)](_0x3de482){var _0x5b6816=_0x9c17ab;return this[_0x5b6816(0x45a)](),this[_0x5b6816(0x1ac)]['createInstance'](_0xc149d1[_0x5b6816(0x49e)],this['unitID'],this[_0x5b6816(0x516)],this[_0x5b6816(0x419)],[],this['_handler'],_0x3de482);}['_resendWithTimeout'](_0x4aa1f9,_0x16cb7f){var _0x2d1dfe=_0x9c17ab,_0x168306;_0x4aa1f9===((_0x168306=this['_awaitingChangeset'])==null?void 0x0:_0x168306[_0x2d1dfe(0x4db)])&&(this['resend'](),this[_0x2d1dfe(0x405)]=_0x16cb7f===0x0?0x3e8:_0x16cb7f*0x2);}[_0x9c17ab(0x45a)](){var _0x12fe94=_0x9c17ab,_0x1817da;(_0x1817da=this[_0x12fe94(0x20b)])==null||_0x1817da[_0x12fe94(0x2ec)](),this[_0x12fe94(0x405)]=0x0;}},_0xc149d1[_0x9c17ab(0x228)]=_0x4f5989([_0x393fca(0x4,_0x1fb61c['Inject'](_0x1fb61c[_0x9c17ab(0x3c2)])),_0x393fca(0x5,_0x1fb61c[_0x9c17ab(0x38e)](_0x5e1632[_0x9c17ab(0x536)])),_0x393fca(0x6,_0x1fb61c[_0x9c17ab(0x364)]),_0x393fca(0x7,_0x1fb61c[_0x9c17ab(0x4dc)]),_0x393fca(0x8,_0x5e1632[_0x9c17ab(0x277)]),_0x393fca(0x9,_0x1fb61c[_0x9c17ab(0x3f1)]),_0x393fca(0xa,_0x1fb61c[_0x9c17ab(0x44c)](_0x426182))],_0xc149d1['AwaitingState']),_0xc149d1['AwaitingWithPendingState']=class extends _0x2022e7{constructor(_0x5bb66e,_0x26a94f,_0x14a96e,_0x184343,_0x6024f9,_0x50ae71,_0x3e0647,_0x17d052,_0x3e1264,_0x261543,_0x1d8dfa,_0x383807,_0x251d12){var _0x45264a=_0x9c17ab;super(_0x5bb66e,_0x26a94f,_0x14a96e,_0x184343,_0x6024f9,_0x3e1264,_0x383807,_0x17d052,_0x251d12),_0x47983f(this,_0x45264a(0x1b1),_0x45264a(0x38a)),_0x47983f(this,'_resendTimeout',0x0),_0x47983f(this,_0x45264a(0x49d)),_0x47983f(this,_0x45264a(0x20b)),(this[_0x45264a(0x1ac)]=_0x3e0647,this['_logService']=_0x261543,this['_transformService']=_0x1d8dfa,this[_0x45264a(0x445)]=_0x251d12,_0x50ae71&&(this[_0x45264a(0x49d)]=_0x50ae71,this[_0x45264a(0x20b)]=this[_0x45264a(0x49d)][_0x45264a(0x2af)](({reqId:_0xc0bf82,timeout:_0x497a68})=>{this['_resendWithTimeout'](_0xc0bf82,_0x497a68);})));}[_0x9c17ab(0x50d)](_0x3fb107){var _0x50eff7=_0x9c17ab;return this[_0x50eff7(0x1dc)][_0x50eff7(0x53b)](_0x3fb107),this;}[_0x9c17ab(0x273)](_0x5bc8a2){var _0x912611=_0x9c17ab;if(this[_0x912611(0x402)](_0x5bc8a2))return this[_0x912611(0x45a)](),this[_0x912611(0x1ac)]['createInstance'](_0xc149d1['FetchingMissState'],this[_0x912611(0x1f9)],this['type'],this[_0x912611(0x419)],this[_0x912611(0x1dc)],null,[_0x5bc8a2],this['_handler']);try{const _0x3dbf3e=this[_0x912611(0x51e)][_0x912611(0x3f7)]([_0x5bc8a2],[this[_0x912611(0x419)]],!0x1);if(_0x5e1632[_0x912611(0x37c)](_0x3dbf3e)){const {c1Prime:_0xcde0a4,c2Prime:_0x651b99}=_0x3dbf3e,_0x56495b=this['_transformService']['transformMutationsWithChangeset'](_0xcde0a4[0x0],this[_0x912611(0x1dc)]);if(_0x5e1632[_0x912611(0x3ab)](_0x56495b)){const {c1Prime:_0x3e28de,m2Prime:_0xc95e92}=_0x56495b;return this[_0x912611(0x47f)](_0x3e28de),_0x651b99[0x0][_0x912611(0x362)]=this[_0x912611(0x2e2)](),this['_clearScheduledTask'](),this['_injector'][_0x912611(0x467)](_0xc149d1[_0x912611(0x202)],this[_0x912611(0x1f9)],this[_0x912611(0x516)],_0x651b99[0x0],_0xc95e92,this['_handler'],void 0x0);}throw _0x56495b[_0x912611(0x3ae)];}throw _0x3dbf3e[_0x912611(0x3ae)];}catch(_0x2028f8){return this[_0x912611(0x390)][_0x912611(0x3ae)](_0x2028f8),this[_0x912611(0x320)](!0x1);}}[_0x9c17ab(0x268)](_0x570024){var _0x41a2dc=_0x9c17ab;if(this[_0x41a2dc(0x45a)](),this[_0x41a2dc(0x402)](_0x570024))return this[_0x41a2dc(0x1ac)][_0x41a2dc(0x467)](_0xc149d1[_0x41a2dc(0x299)],this['unitID'],this[_0x41a2dc(0x516)],null,this[_0x41a2dc(0x1dc)],this['_awaitingChangeset'],[],this[_0x41a2dc(0x1ec)]);this[_0x41a2dc(0x1d8)]();const _0x2d01d2=this['_injector']['createInstance'](_0xc149d1[_0x41a2dc(0x21f)],this['unitID'],this[_0x41a2dc(0x516)],this[_0x41a2dc(0x1dc)],this[_0x41a2dc(0x1ec)]);return _0x2d01d2['_schedule'](),_0x2d01d2[_0x41a2dc(0x3c5)](),_0x2d01d2;}[_0x9c17ab(0x3d9)](_0x189eb8){var _0x39594e=_0x9c17ab;return this[_0x39594e(0x320)](!!(_0x189eb8!=null&&_0x189eb8[_0x39594e(0x289)]));}[_0x9c17ab(0x368)](_0x1e0271){var _0x3c1717=_0x9c17ab;return this[_0x3c1717(0x405)]>_0xf5c40f?this[_0x3c1717(0x303)]():(this[_0x3c1717(0x49d)]=_0x55ac49(this[_0x3c1717(0x405)],{'timeout':this['_resendTimeout'],'reqId':_0x1e0271['reqId']}),this[_0x3c1717(0x20b)]=this[_0x3c1717(0x49d)][_0x3c1717(0x2af)](({reqId:_0x49e59a,timeout:_0x1e2f41})=>{var _0x190e41=_0x3c1717;this[_0x190e41(0x4f2)](_0x49e59a,_0x1e2f41);}),this);}[_0x9c17ab(0x303)](){var _0x12b90c=_0x9c17ab;return this[_0x12b90c(0x45a)](),this[_0x12b90c(0x1ac)][_0x12b90c(0x467)](_0xc149d1[_0x12b90c(0x53f)],this[_0x12b90c(0x1f9)],this[_0x12b90c(0x516)],this[_0x12b90c(0x419)],this[_0x12b90c(0x1dc)],this[_0x12b90c(0x1ec)]);}['toggleOnline'](){return this;}['resend'](){var _0x32e623=_0x9c17ab;this[_0x32e623(0x1ec)][_0x32e623(0x547)](this[_0x32e623(0x419)]);}[_0x9c17ab(0x320)](_0xbabde2){var _0x15ee21=_0x9c17ab;return this[_0x15ee21(0x45a)](),this['_injector'][_0x15ee21(0x467)](_0xc149d1['ConflictState'],this[_0x15ee21(0x1f9)],this['type'],null,this['_pendingMutations'],this[_0x15ee21(0x1ec)],_0xbabde2);}[_0x9c17ab(0x4f2)](_0x4476c9,_0x2429bb){var _0x100949=_0x9c17ab,_0x371073;_0x4476c9===((_0x371073=this['_awaitingChangeset'])==null?void 0x0:_0x371073[_0x100949(0x4db)])&&(this[_0x100949(0x49a)](),this[_0x100949(0x405)]=_0x2429bb===0x0?0x3e8:_0x2429bb*0x2);}[_0x9c17ab(0x45a)](){var _0x386798=_0x9c17ab,_0x1b3a4e;(_0x1b3a4e=this[_0x386798(0x20b)])==null||_0x1b3a4e['unsubscribe'](),this[_0x386798(0x405)]=0x0;}},_0xc149d1[_0x9c17ab(0x202)]=_0x4f5989([_0x393fca(0x6,_0x1fb61c['Inject'](_0x1fb61c[_0x9c17ab(0x3c2)])),_0x393fca(0x7,_0x1fb61c[_0x9c17ab(0x38e)](_0x5e1632[_0x9c17ab(0x536)])),_0x393fca(0x8,_0x1fb61c[_0x9c17ab(0x364)]),_0x393fca(0x9,_0x1fb61c[_0x9c17ab(0x4dc)]),_0x393fca(0xa,_0x5e1632[_0x9c17ab(0x277)]),_0x393fca(0xb,_0x1fb61c[_0x9c17ab(0x3f1)]),_0x393fca(0xc,_0x1fb61c[_0x9c17ab(0x44c)](_0x426182))],_0xc149d1[_0x9c17ab(0x202)]),_0xc149d1[_0x9c17ab(0x49e)]=class extends _0x2022e7{constructor(_0x51f79d,_0x16a981,_0x594f22,_0x396616,_0x133389,_0x26ce99=!0x1,_0x29a578,_0x58621f,_0x5c6f12,_0x19cfe2,_0x45594c,_0x5547ad,_0x31ae7b){var _0x59c694=_0x9c17ab;super(_0x51f79d,_0x16a981,_0x594f22,_0x396616,_0x133389,_0x58621f,_0x5c6f12,_0x19cfe2,_0x31ae7b),_0x47983f(this,_0x59c694(0x1b1),'conflict'),(this[_0x59c694(0x253)]=_0x26ce99,this[_0x59c694(0x51a)]=_0x29a578,this[_0x59c694(0x2fb)]=_0x45594c,this[_0x59c694(0x235)]=_0x5547ad,this[_0x59c694(0x445)]=_0x31ae7b,this[_0x59c694(0x1f5)](),this[_0x59c694(0x4f5)](),this[_0x59c694(0x224)]());}[_0x9c17ab(0x50d)](){return this;}['onRemoteChangeset'](){return this;}[_0x9c17ab(0x268)](){return this;}[_0x9c17ab(0x3d9)](){return this;}[_0x9c17ab(0x368)](){return this;}[_0x9c17ab(0x303)](){return this;}[_0x9c17ab(0x21a)](){return this;}[_0x9c17ab(0x49a)](){var _0x41ebcf=_0x9c17ab;throw new Error(_0x41ebcf(0x29e));}[_0x9c17ab(0x4f5)](){var _0x469124=_0x9c17ab,_0x1f6674;(_0x1f6674=this[_0x469124(0x328)])==null||_0x1f6674[_0x469124(0x4ab)](this[_0x469124(0x1f9)],this['type'],null,[]);}[_0x9c17ab(0x1f5)](){var _0x14b668=_0x9c17ab;this['_isPermissionRej']?this[_0x14b668(0x235)][_0x14b668(0x37e)]({'id':_0x51b5e5['PERMISSION_DENIED']}):this[_0x14b668(0x235)][_0x14b668(0x37e)]({'id':_0x51b5e5['CONFLICT']});}[_0x9c17ab(0x224)](){var _0xbe2af3=_0x9c17ab;this['_permissionService'][_0xbe2af3(0x2f2)](new _0x1470b1[(_0xbe2af3(0x4c3))](this[_0xbe2af3(0x1f9)])['id'],!0x1);}},_0xc149d1[_0x9c17ab(0x49e)]=_0x4f5989([_0x393fca(0x6,_0x1fb61c[_0x9c17ab(0x38e)](_0x1fb61c[_0x9c17ab(0x376)])),_0x393fca(0x7,_0x1fb61c[_0x9c17ab(0x364)]),_0x393fca(0x8,_0x1fb61c['IUndoRedoService']),_0x393fca(0x9,_0x1fb61c[_0x9c17ab(0x38e)](_0x5e1632[_0x9c17ab(0x536)])),_0x393fca(0xa,_0x1fb61c[_0x9c17ab(0x38e)](_0x1fb61c['LocaleService'])),_0x393fca(0xb,_0x1fb61c['Inject'](_0xdc4705)),_0x393fca(0xc,_0x1fb61c[_0x9c17ab(0x44c)](_0x426182))],_0xc149d1[_0x9c17ab(0x49e)]),_0xc149d1['OfflineState']=class extends _0x2022e7{constructor(_0x4bc589,_0x36df2d,_0x17a33d,_0x254294,_0x445fad,_0x3fd354,_0x49e650,_0x262fe2,_0x456104,_0xc5ac8){var _0x403e71=_0x9c17ab;super(_0x4bc589,_0x36df2d,_0x17a33d,_0x254294,_0x445fad,_0x262fe2,_0x456104,_0x49e650,_0xc5ac8),_0x47983f(this,_0x403e71(0x1b1),'offline'),this[_0x403e71(0x1ac)]=_0x3fd354;}[_0x9c17ab(0x50d)](_0x5cc7ad){var _0x1fcb35=_0x9c17ab;return this[_0x1fcb35(0x1dc)][_0x1fcb35(0x53b)](_0x5cc7ad),this[_0x1fcb35(0x3c5)](),this;}[_0x9c17ab(0x273)](_0x9830c1){var _0x370fe5=_0x9c17ab;throw new Error(_0x370fe5(0x4bf));}[_0x9c17ab(0x268)](){var _0x34c931=_0x9c17ab;throw new Error(_0x34c931(0x330));}[_0x9c17ab(0x3d9)](){var _0x4c3f29=_0x9c17ab;throw new Error(_0x4c3f29(0x473));}[_0x9c17ab(0x368)](){return this;}[_0x9c17ab(0x303)](){return this;}[_0x9c17ab(0x21a)](){var _0x41ed6d=_0x9c17ab;const {_injector:_0x138cb0,_pendingMutations:_0x2767c3,_awaitingChangeset:_0x454432,unitID:_0x18edd2,_handler:_0x22f406,type:_0x5c4572}=this,_0xec331c=_0x411c0d(_0x138cb0,_0x18edd2,_0x5c4572,_0x454432,_0x2767c3,_0x22f406);return _0xec331c instanceof _0xc149d1[_0x41ed6d(0x21f)]?_0xec331c[_0x41ed6d(0x4ee)]():(_0xec331c instanceof _0xc149d1[_0x41ed6d(0x202)]||_0xec331c instanceof _0xc149d1[_0x41ed6d(0x228)])&&_0xec331c[_0x41ed6d(0x49a)](),_0xec331c;}[_0x9c17ab(0x49a)](){var _0x2fc0c2=_0x9c17ab;throw new Error(_0x2fc0c2(0x2a9));}},_0xc149d1[_0x9c17ab(0x53f)]=_0x4f5989([_0x393fca(0x5,_0x1fb61c['Inject'](_0x1fb61c[_0x9c17ab(0x3c2)])),_0x393fca(0x6,_0x1fb61c['Inject'](_0x5e1632[_0x9c17ab(0x536)])),_0x393fca(0x7,_0x1fb61c[_0x9c17ab(0x364)]),_0x393fca(0x8,_0x1fb61c[_0x9c17ab(0x3f1)]),_0x393fca(0x9,_0x1fb61c[_0x9c17ab(0x44c)](_0x426182))],_0xc149d1[_0x9c17ab(0x53f)]),_0xc149d1[_0x9c17ab(0x299)]=class extends _0x2022e7{constructor(_0x18c3f1,_0x3978a7,_0x12ff1d,_0x2bad45,_0x34e545,_0x37031f,_0x503389,_0x534c55,_0x125522,_0x462bea,_0x147ea6,_0x260cd0,_0x71b688,_0x3cb67a){var _0x5f1449=_0x9c17ab;super(_0x18c3f1,_0x3978a7,_0x12ff1d,_0x2bad45,_0x503389,_0x147ea6,_0x260cd0,_0x125522,_0x3cb67a),_0x47983f(this,_0x5f1449(0x1b1),'fetch_missing'),(this[_0x5f1449(0x207)]=_0x34e545,this['_queuedRemoteChangesets']=_0x37031f,this[_0x5f1449(0x1ac)]=_0x534c55,this[_0x5f1449(0x390)]=_0x462bea,this['_transformService']=_0x71b688,this[_0x5f1449(0x445)]=_0x3cb67a);}['onMissedChangesetFetched'](_0x104eef){var _0x3b5222=_0x9c17ab;try{const _0x51d9c5=[..._0x104eef,...this['_queuedRemoteChangesets']],_0x4732eb=[this[_0x3b5222(0x419)]||this[_0x3b5222(0x207)]][_0x3b5222(0x33e)](_0x3b4add=>!!_0x3b4add);let _0x5def4b,_0x4adc76;if(_0x4732eb[_0x3b5222(0x4cf)]){const _0x30513b=this[_0x3b5222(0x51e)][_0x3b5222(0x3f7)](_0x51d9c5,_0x4732eb,!0x1);if(!_0x5e1632[_0x3b5222(0x37c)](_0x30513b))throw _0x30513b[_0x3b5222(0x3ae)];_0x5def4b=_0x30513b[_0x3b5222(0x3b5)],_0x4adc76=_0x30513b[_0x3b5222(0x28f)];}else _0x5def4b=_0x51d9c5,_0x4adc76=[];let _0x15ab73=this['_pendingMutations'];_0x5def4b[_0x3b5222(0x1c9)](_0x4a3375=>{var _0x782102=_0x3b5222;let _0x54d235;if(_0x15ab73[_0x782102(0x4cf)]){const _0x4953c0=this[_0x782102(0x51e)][_0x782102(0x25e)](_0x4a3375,_0x15ab73);if(!_0x5e1632[_0x782102(0x3ab)](_0x4953c0))throw _0x4953c0[_0x782102(0x3ae)];_0x54d235=_0x4953c0['c1Prime'],_0x15ab73=_0x4953c0[_0x782102(0x395)];}else _0x54d235=_0x4a3375;this[_0x782102(0x47f)](_0x54d235);}),this[_0x3b5222(0x207)]&&this[_0x3b5222(0x1d8)](),this[_0x3b5222(0x419)]&&_0x4adc76[_0x3b5222(0x4cf)]&&(_0x4adc76[0x0][_0x3b5222(0x362)]=this['_getCurrentRevision']());let _0x216c9e;if(this[_0x3b5222(0x419)]&&_0x15ab73[_0x3b5222(0x4cf)]!==0x0)_0x216c9e=this['_injector'][_0x3b5222(0x467)](_0xc149d1[_0x3b5222(0x202)],this[_0x3b5222(0x1f9)],this[_0x3b5222(0x516)],_0x4adc76[0x0],_0x15ab73,this['_handler'],void 0x0);else{if(this[_0x3b5222(0x419)]&&_0x15ab73['length']===0x0)_0x4adc76[0x0][_0x3b5222(0x362)]=this[_0x3b5222(0x2e2)](),_0x216c9e=this[_0x3b5222(0x1ac)]['createInstance'](_0xc149d1[_0x3b5222(0x228)],this[_0x3b5222(0x1f9)],this['type'],_0x4adc76[0x0],this[_0x3b5222(0x1ec)]);else{if(_0x15ab73[_0x3b5222(0x4cf)]!==0x0){const _0x19e616=this['_injector'][_0x3b5222(0x467)](_0xc149d1['PendingState'],this[_0x3b5222(0x1f9)],this[_0x3b5222(0x516)],_0x15ab73,this[_0x3b5222(0x1ec)]);_0x19e616[_0x3b5222(0x4ee)](),_0x216c9e=_0x19e616;}else _0x216c9e=this[_0x3b5222(0x1ac)][_0x3b5222(0x467)](_0xc149d1[_0x3b5222(0x449)],this['unitID'],this[_0x3b5222(0x516)],this[_0x3b5222(0x1ec)]);}}return _0x216c9e[_0x3b5222(0x3c5)](),_0x216c9e;}catch(_0x5c3465){return this['_logService'][_0x3b5222(0x3ae)](_0x3b5222(0x1bd),_0x3b5222(0x1d7),_0x5c3465),this[_0x3b5222(0x1ac)]['createInstance'](_0xc149d1[_0x3b5222(0x49e)],this[_0x3b5222(0x1f9)],this[_0x3b5222(0x516)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x3b5222(0x1ec)],!0x1);}}[_0x9c17ab(0x49a)](){var _0x2d0831=_0x9c17ab;throw new Error(_0x2d0831(0x1da));}[_0x9c17ab(0x50d)](_0x44fef7){var _0x133ff4=_0x9c17ab;return this['_pendingMutations'][_0x133ff4(0x53b)](_0x44fef7),this;}[_0x9c17ab(0x273)](_0x5d7c81){var _0x549d65=_0x9c17ab;return this[_0x549d65(0x281)][_0x549d65(0x53b)](_0x5d7c81),this;}[_0x9c17ab(0x268)](_0x50964a){var _0x4f9897=_0x9c17ab;if(this[_0x4f9897(0x419)])return this[_0x4f9897(0x207)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x4f9897(0x2d9));}[_0x9c17ab(0x3d9)](_0x44e352){var _0x57ab78=_0x9c17ab;return this[_0x57ab78(0x320)](!!(_0x44e352!=null&&_0x44e352[_0x57ab78(0x289)]));}['onRemoteRetry'](){return this;}[_0x9c17ab(0x303)](){var _0xa27d4a=_0x9c17ab;return this['_injector'][_0xa27d4a(0x467)](_0xc149d1[_0xa27d4a(0x53f)],this[_0xa27d4a(0x1f9)],this[_0xa27d4a(0x516)],this['_awaitingChangeset'],this[_0xa27d4a(0x1dc)],this['_handler']);}[_0x9c17ab(0x21a)](){return this;}['_onConflict'](_0x4ff811){var _0x29c96d=_0x9c17ab;return this['_injector'][_0x29c96d(0x467)](_0xc149d1[_0x29c96d(0x49e)],this[_0x29c96d(0x1f9)],this['type'],this[_0x29c96d(0x419)],this[_0x29c96d(0x1dc)],this[_0x29c96d(0x1ec)],_0x4ff811);}},_0xc149d1[_0x9c17ab(0x299)]=_0x4f5989([_0x393fca(0x7,_0x1fb61c[_0x9c17ab(0x38e)](_0x1fb61c[_0x9c17ab(0x3c2)])),_0x393fca(0x8,_0x1fb61c['Inject'](_0x5e1632['RevisionService'])),_0x393fca(0x9,_0x1fb61c[_0x9c17ab(0x4dc)]),_0x393fca(0xa,_0x1fb61c[_0x9c17ab(0x364)]),_0x393fca(0xb,_0x1fb61c[_0x9c17ab(0x3f1)]),_0x393fca(0xc,_0x5e1632['ITransformService']),_0x393fca(0xd,_0x1fb61c[_0x9c17ab(0x44c)](_0x426182))],_0xc149d1[_0x9c17ab(0x299)]);function _0x411c0d(_0xe3f511,_0x43c1ec,_0x1d74f8,_0x4f0a05,_0x1ddfef,_0xe8431b){var _0x19f28=_0x9c17ab;return _0x4f0a05&&_0x1ddfef[_0x19f28(0x4cf)]?_0xe3f511[_0x19f28(0x467)](_0xc149d1[_0x19f28(0x202)],_0x43c1ec,_0x1d74f8,_0x4f0a05,_0x1ddfef,_0xe8431b,void 0x0):_0x4f0a05?_0xe3f511['createInstance'](_0xc149d1['AwaitingState'],_0x43c1ec,_0x1d74f8,_0x4f0a05,_0xe8431b):_0x1ddfef['length']?_0xe3f511[_0x19f28(0x467)](_0xc149d1[_0x19f28(0x21f)],_0x43c1ec,_0x1d74f8,_0x1ddfef,_0xe8431b):_0xe3f511[_0x19f28(0x467)](_0xc149d1[_0x19f28(0x449)],_0x43c1ec,_0x1d74f8,_0xe8431b);}var _0x202ee9=Object['getOwnPropertyDescriptor'],_0x43b8e7=(_0x186019,_0x1588e4,_0x13da4e,_0x179868)=>{var _0x465f20=_0x9c17ab;for(var _0x310b36=_0x179868>0x1?void 0x0:_0x179868?_0x202ee9(_0x1588e4,_0x13da4e):_0x1588e4,_0x800300=_0x186019[_0x465f20(0x4cf)]-0x1,_0x2307fc;_0x800300>=0x0;_0x800300--)(_0x2307fc=_0x186019[_0x800300])&&(_0x310b36=_0x2307fc(_0x310b36)||_0x310b36);return _0x310b36;},_0x4c8c29=(_0x11ac58,_0x2b1524)=>(_0x120d62,_0x485569)=>_0x2b1524(_0x120d62,_0x485569,_0x11ac58);_0xc149d1['CollaborationEntity']=class extends _0x1fb61c['RxDisposable']{constructor(_0x15a4f6,_0x1fdea6,_0x58c68f,_0x59eac9,_0x551935,_0x265ab9,_0x1decf7,_0x1cc2a3,_0x3f928c,_0x365178,_0x3c2e6c,_0x4bbad6,_0x15fe22){var _0x4dd106=_0x9c17ab;super(),_0x47983f(this,_0x4dd106(0x30f),new _0x3322ed['BehaviorSubject'](null)),_0x47983f(this,'state$',this[_0x4dd106(0x30f)][_0x4dd106(0x243)]()),_0x47983f(this,_0x4dd106(0x3c6)),_0x47983f(this,_0x4dd106(0x3eb),!0x1),_0x47983f(this,_0x4dd106(0x339),''),_0x47983f(this,_0x4dd106(0x2d6),0x0),_0x47983f(this,_0x4dd106(0x3ea),this[_0x4dd106(0x3bc)][_0x4dd106(0x25b)](_0x3322ed[_0x4dd106(0x47b)](_0x540583=>_0x540583?_0x540583['status']:_0x18a736[_0x4dd106(0x4d6)]),_0x3322ed[_0x4dd106(0x3b2)](0x1))),_0x47983f(this,_0x4dd106(0x3fe),!0x1),_0x47983f(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x15a4f6,this['session']=_0x1fdea6,this[_0x4dd106(0x3ba)]=_0x58c68f,this[_0x4dd106(0x1ac)]=_0x59eac9,this[_0x4dd106(0x30b)]=_0x551935,this[_0x4dd106(0x2fb)]=_0x265ab9,this['_revisionService']=_0x1decf7,this[_0x4dd106(0x411)]=_0x1cc2a3,this[_0x4dd106(0x390)]=_0x3f928c,this['_commandService']=_0x365178,this[_0x4dd106(0x51a)]=_0x3c2e6c,this[_0x4dd106(0x33c)]=_0x4bbad6,this['_localCacheService']=_0x15fe22);}get['state'](){return this['_state'];}async['init'](){var _0x93ff62=_0x9c17ab;if(this[_0x93ff62(0x462)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x93ff62(0x2b1)]();}['pauseCollaboration'](){var _0x57edb0=_0x9c17ab;return this['_collaborationPaused']=!0x0,_0x1fb61c[_0x57edb0(0x441)](()=>{var _0x407a1f=_0x57edb0;this['_collaborationPaused']=!0x1,this[_0x407a1f(0x1ea)]();});}[_0x9c17ab(0x53a)](_0xc5574d){var _0x9716cc=_0x9c17ab;this[_0x9716cc(0x276)](_0xc5574d);}[_0x9c17ab(0x527)](_0x2060f1){var _0xf69933=_0x9c17ab;this[_0xf69933(0x3c6)]=_0x2060f1,this[_0xf69933(0x30f)]['next'](_0x2060f1);}async[_0x9c17ab(0x2b1)](){var _0x1381f3=_0x9c17ab,_0x181a86;this[_0x1381f3(0x527)](await this['_createInitialState']()),this[_0x1381f3(0x33c)]&&((_0x181a86=this[_0x1381f3(0x33c)])==null||_0x181a86[_0x1381f3(0x478)](this[_0x1381f3(0x1f9)]),this[_0x1381f3(0x436)](this['_singleActiveUnitService'][_0x1381f3(0x4d0)](this[_0x1381f3(0x1f9)])[_0x1381f3(0x2af)](_0x421b95=>{var _0xb45dce=_0x1381f3;this['_logService'][_0xb45dce(0x4d3)](_0xb45dce(0x20a),_0xb45dce(0x4aa),_0x421b95),_0x421b95===_0x9a4958[_0xb45dce(0x46e)]?(this[_0xb45dce(0x411)][_0xb45dce(0x37e)]({'id':_0x51b5e5[_0xb45dce(0x315)]}),this[_0xb45dce(0x51a)][_0xb45dce(0x2f2)](new _0x1470b1[(_0xb45dce(0x4c3))](this[_0xb45dce(0x1f9)])['id'],!0x1),this[_0xb45dce(0x51a)]['setShowComponents'](!0x1)):(this['_permissionService'][_0xb45dce(0x2f2)](new _0x1470b1['WorkbookEditablePermission'](this['unitID'])['id'],!0x0),this[_0xb45dce(0x51a)][_0xb45dce(0x3e1)](!0x0));})));let _0x3a0961=!0x1;return this[_0x1381f3(0x436)](this[_0x1381f3(0x1ca)][_0x1381f3(0x21e)]['subscribe'](_0x1274a7=>{var _0x14e3a7=_0x1381f3;_0x1274a7===_0x1b1e13[_0x14e3a7(0x251)]?this[_0x14e3a7(0x3d8)](_0x3a0961):_0x1274a7===_0x1b1e13[_0x14e3a7(0x4d6)]&&(_0x3a0961=!0x0,this['_toggleOffline']());})),this[_0x1381f3(0x436)](this['session']['event$'][_0x1381f3(0x2af)](_0x3c3a58=>{var _0x536732=_0x1381f3;try{switch(_0x3c3a58['eventID']){case _0x5e1632[_0x536732(0x385)][_0x536732(0x3a5)]:{this['_onRemoteChangeset'](_0x5e1632['parseProtocolChangeset'](_0x3c3a58[_0x536732(0x42e)]));break;}case _0x5e1632[_0x536732(0x385)][_0x536732(0x3b9)]:{this[_0x536732(0x2b7)](_0x3c3a58[_0x536732(0x42e)]);break;}case _0x5e1632[_0x536732(0x385)]['CHANGESET_REJ']:{this[_0x536732(0x4fb)]();break;}case _0x5e1632[_0x536732(0x385)][_0x536732(0x2c8)]:{this['_onRemoteRetry'](_0x3c3a58['data']);break;}case _0x5e1632['CollaborationEvent'][_0x536732(0x1c5)]:{this[_0x536732(0x535)](_0x3c3a58[_0x536732(0x42e)]['changesets'][_0x536732(0x47b)](_0x20d93c=>_0x5e1632[_0x536732(0x4c0)](_0x20d93c)));break;}case _0x5e1632['CollaborationEvent'][_0x536732(0x318)]:{this[_0x536732(0x4fb)]({'isPermissionRej':!0x0});break;}case _0x5e1632[_0x536732(0x385)][_0x536732(0x361)]:break;}}catch(_0x5df10c){throw console[_0x536732(0x3ae)]('Error\x20on\x20receiving\x20event',_0x5df10c),_0x5df10c;}})),this[_0x1381f3(0x3c6)];}[_0x9c17ab(0x3bd)](){var _0x59a673=_0x9c17ab;this[_0x59a673(0x3fe)]=!0x1;}[_0x9c17ab(0x2a8)](){var _0x2199c6=_0x9c17ab;if(this['_transitionLocked'])throw new Error(_0x2199c6(0x3e5));this[_0x2199c6(0x3fe)]=!0x0;}[_0x9c17ab(0x276)](_0x1aa4f7){var _0x1f4b1f=_0x9c17ab;this[_0x1f4b1f(0x2a8)](),this[_0x1f4b1f(0x527)](this[_0x1f4b1f(0x3c6)]['appendMutation'](_0x1aa4f7)),this[_0x1f4b1f(0x3bd)]();}[_0x9c17ab(0x4e4)](_0xdfc5e6){var _0x2fb185=_0x9c17ab;if(!(_0xdfc5e6[_0x2fb185(0x322)]<=this['_revisionService'][_0x2fb185(0x1d1)](this[_0x2fb185(0x1f9)]))){if(this['_collaborationPaused']){this[_0x2fb185(0x22d)]['push'](_0xdfc5e6);return;}this['_applyRemoteChangeset'](_0xdfc5e6);}}[_0x9c17ab(0x1ea)](){var _0x57be8e=_0x9c17ab;this[_0x57be8e(0x22d)][_0x57be8e(0x1c9)](_0xe6ec68=>this[_0x57be8e(0x4af)](_0xe6ec68)),this[_0x57be8e(0x22d)]=[];}[_0x9c17ab(0x4af)](_0x59f3c4){var _0x233854=_0x9c17ab;const _0x1ec3b6=this['_compressMutationService'][_0x233854(0x22e)][_0x233854(0x4c7)](this[_0x233854(0x30b)][_0x233854(0x22e)][_0x233854(0x427)]()[_0x233854(0x26b)])(_0x59f3c4[_0x233854(0x305)],null)||_0x59f3c4[_0x233854(0x305)],_0x572cf8={..._0x59f3c4,'mutations':_0x1ec3b6};this[_0x233854(0x2a8)](),this[_0x233854(0x527)](this['_state'][_0x233854(0x273)](_0x572cf8)),this['_unlockTransition']();}[_0x9c17ab(0x2b7)](_0x12229f){var _0x3bf193=_0x9c17ab;this[_0x3bf193(0x2a8)](),this['_updateState'](this['_state']['onRemoteAck'](_0x12229f)),this['_unlockTransition']();}[_0x9c17ab(0x4fb)](_0x1d4b3b){var _0x4ef1c7=_0x9c17ab;this[_0x4ef1c7(0x2a8)](),this['_updateState'](this[_0x4ef1c7(0x3c6)][_0x4ef1c7(0x3d9)](_0x1d4b3b)),this[_0x4ef1c7(0x3bd)]();}[_0x9c17ab(0x3dc)](_0x7ed88c){var _0x2196ec=_0x9c17ab;this['_lockTransition'](),this[_0x2196ec(0x527)](this[_0x2196ec(0x3c6)][_0x2196ec(0x368)](_0x7ed88c)),this[_0x2196ec(0x3bd)]();}[_0x9c17ab(0x535)](_0x36a5cd){var _0x5206e2=_0x9c17ab;if(!(this[_0x5206e2(0x3c6)]instanceof _0xc149d1[_0x5206e2(0x299)]))throw new TypeError(_0x5206e2(0x45c));const _0x5ea6cd=_0x36a5cd['map'](_0x358ec7=>{var _0x4b250d=_0x5206e2;const _0x556b40=this[_0x4b250d(0x30b)][_0x4b250d(0x22e)][_0x4b250d(0x4c7)](this['_compressMutationService'][_0x4b250d(0x22e)][_0x4b250d(0x427)]()[_0x4b250d(0x26b)])(_0x358ec7[_0x4b250d(0x305)],null)||_0x358ec7[_0x4b250d(0x305)];return{..._0x358ec7,'mutations':_0x556b40};});this['_lockTransition'](),this[_0x5206e2(0x527)](this[_0x5206e2(0x3c6)]['onMissedChangesetFetched'](_0x5ea6cd)),this[_0x5206e2(0x3bd)]();}['_toggleOffline'](){var _0x271947=_0x9c17ab;this[_0x271947(0x2a8)](),this[_0x271947(0x527)](this[_0x271947(0x3c6)][_0x271947(0x303)]()),this['_unlockTransition']();}['_toggleOnline'](_0x4d0d6b=!0x1){var _0x8b40e7=_0x9c17ab;this[_0x8b40e7(0x2a8)](),this[_0x8b40e7(0x527)](this[_0x8b40e7(0x3c6)][_0x8b40e7(0x21a)]()),this[_0x8b40e7(0x3bd)]();const _0x41bd0f=this[_0x8b40e7(0x3c6)];_0x4d0d6b&&_0x41bd0f instanceof _0xc149d1[_0x8b40e7(0x449)]&&(this[_0x8b40e7(0x2a8)](),this[_0x8b40e7(0x527)](_0x41bd0f[_0x8b40e7(0x237)]()),this['_unlockTransition']());}async[_0x9c17ab(0x324)](){return new Promise(_0x3f6dd8=>{var _0x2d25ea=_0x2a48;this[_0x2d25ea(0x1ca)][_0x2d25ea(0x21e)][_0x2d25ea(0x25b)](_0x3322ed[_0x2d25ea(0x4e7)](0x1))[_0x2d25ea(0x2af)](async _0x396462=>{var _0x24be8b=_0x2d25ea;_0x3f6dd8(await this[_0x24be8b(0x370)](_0x396462===_0x1b1e13[_0x24be8b(0x251)]));});});}[_0x9c17ab(0x491)](){const _0x5c840c=this['unitID'];return{'onStateChange':(_0x5e0ac6,_0x383b67)=>{var _0x14dfd2=_0x2a48;if(_0x5e0ac6!==this['_state'])throw new Error(_0x14dfd2(0x496)+_0x5e0ac6[_0x14dfd2(0x1b1)]+_0x14dfd2(0x487)+_0x383b67[_0x14dfd2(0x1b1)]+'\x0aCurrent:\x20'+this[_0x14dfd2(0x3c6)][_0x14dfd2(0x1b1)]);this[_0x14dfd2(0x527)](_0x383b67);},'onSendChangeset':_0x55cfec=>{var _0xd66c3c=_0x2a48;_0x55cfec[_0xd66c3c(0x4e1)]||(_0x55cfec[_0xd66c3c(0x4e1)]=this[_0xd66c3c(0x339)],_0x55cfec[_0xd66c3c(0x4db)]=++this[_0xd66c3c(0x2d6)]);const _0x381af8={'eventID':_0x5e1632[_0xd66c3c(0x385)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x55cfec[_0xd66c3c(0x1f9)],'unitType':this[_0xd66c3c(0x3ba)],'changeset':_0x55cfec,'memberID':this[_0xd66c3c(0x1ca)][_0xd66c3c(0x266)]()}};this[_0xd66c3c(0x1ca)]['send'](_0x381af8,this[_0xd66c3c(0x1f9)]);},'onMissingChangesets':({from:_0x27c600,to:_0x325192})=>{var _0x3cb6f8=_0x2a48;this[_0x3cb6f8(0x390)][_0x3cb6f8(0x4d3)]('[CollaborationEntity]',_0x3cb6f8(0x4cb)+_0x27c600+_0x3cb6f8(0x426)+_0x325192);const _0x34f917={'eventID':_0x5e1632[_0x3cb6f8(0x385)]['FETCH_MISSING'],'data':{'unitID':_0x5c840c,'unitType':this['_type'],'from':_0x27c600,'to':_0x325192}};this[_0x3cb6f8(0x1ca)][_0x3cb6f8(0x394)](_0x34f917,this[_0x3cb6f8(0x1f9)]);}};}async[_0x9c17ab(0x370)](_0x4baf2b){var _0x2309d4=_0x9c17ab,_0x3a27c0,_0x216c2a,_0x5c9a35;const _0x37e41b=await((_0x3a27c0=this[_0x2309d4(0x328)])==null?void 0x0:_0x3a27c0[_0x2309d4(0x356)](this[_0x2309d4(0x1f9)])),_0x3c623b=(_0x216c2a=_0x37e41b==null?void 0x0:_0x37e41b[_0x2309d4(0x305)])!=null?_0x216c2a:[],_0xebd74d=(_0x5c9a35=_0x37e41b==null?void 0x0:_0x37e41b[_0x2309d4(0x22a)])!=null?_0x5c9a35:null,_0x376af1=!!(_0xebd74d!=null&&_0xebd74d['sid'])&&!!(_0xebd74d!=null&&_0xebd74d[_0x2309d4(0x4db)]);this[_0x2309d4(0x339)]=_0x376af1?_0xebd74d[_0x2309d4(0x4e1)]:_0x5e1632[_0x2309d4(0x225)](),this[_0x2309d4(0x2d6)]=_0x376af1?_0xebd74d[_0x2309d4(0x4db)]:0x0;const _0x32bd24=this[_0x2309d4(0x1f9)];try{this[_0x2309d4(0x464)](_0xebd74d,_0x3c623b);}catch(_0x11a034){this[_0x2309d4(0x390)][_0x2309d4(0x3ae)](_0x11a034);}const _0x1fe562=this['_createHandler']();if(_0x4baf2b){const _0x336ca8=_0x411c0d(this['_injector'],_0x32bd24,this['_type'],_0xebd74d,_0x3c623b,_0x1fe562);return _0x336ca8 instanceof _0xc149d1[_0x2309d4(0x21f)]?_0x336ca8['_schedule']():(_0x336ca8 instanceof _0xc149d1[_0x2309d4(0x202)]||_0x336ca8 instanceof _0xc149d1['AwaitingState'])&&_0x336ca8[_0x2309d4(0x49a)](),_0x336ca8;}return this[_0x2309d4(0x1ac)][_0x2309d4(0x467)](_0xc149d1[_0x2309d4(0x53f)],_0x32bd24,this[_0x2309d4(0x3ba)],_0xebd74d,_0x3c623b,_0x1fe562);}[_0x9c17ab(0x464)](_0x37db90,_0x4ecbea){var _0x3dce07=_0x9c17ab,_0x47372f,_0x33adbf;const _0x1fbf05=this['_compressMutationService']['interceptor'][_0x3dce07(0x4c7)](this[_0x3dce07(0x30b)][_0x3dce07(0x22e)][_0x3dce07(0x427)]()[_0x3dce07(0x26b)]);(_0x47372f=_0x1fbf05((_0x37db90==null?void 0x0:_0x37db90[_0x3dce07(0x305)])||[],null))==null||_0x47372f['forEach'](_0xc6da7d=>this[_0x3dce07(0x32a)]['executeCommand'](_0xc6da7d['id'],_0xc6da7d['params'])),(_0x33adbf=_0x1fbf05(_0x4ecbea||[],null))==null||_0x33adbf[_0x3dce07(0x1c9)](_0x34d7f4=>this[_0x3dce07(0x32a)][_0x3dce07(0x2ca)](_0x34d7f4['id'],_0x34d7f4['params']));}},_0xc149d1[_0x9c17ab(0x541)]=_0x43b8e7([_0x4c8c29(0x3,_0x1fb61c[_0x9c17ab(0x38e)](_0x1fb61c['Injector'])),_0x4c8c29(0x4,_0x1fb61c[_0x9c17ab(0x38e)](_0x5e1632['CompressMutationService'])),_0x4c8c29(0x5,_0x1fb61c[_0x9c17ab(0x38e)](_0x1fb61c[_0x9c17ab(0x33b)])),_0x4c8c29(0x6,_0x1fb61c[_0x9c17ab(0x38e)](_0x5e1632[_0x9c17ab(0x536)])),_0x4c8c29(0x7,_0x1fb61c[_0x9c17ab(0x38e)](_0xdc4705)),_0x4c8c29(0x8,_0x1fb61c[_0x9c17ab(0x4dc)]),_0x4c8c29(0x9,_0x1fb61c['ICommandService']),_0x4c8c29(0xa,_0x1fb61c[_0x9c17ab(0x376)]),_0x4c8c29(0xb,_0x1fb61c['Optional'](_0x2acc04)),_0x4c8c29(0xc,_0x1fb61c['Optional'](_0x426182))],_0xc149d1[_0x9c17ab(0x541)]),_0xc149d1[_0x9c17ab(0x1cb)]=class extends _0xc149d1[_0x9c17ab(0x541)]{constructor(_0x3b947b,_0x18f1ae,_0x581659,_0x1832ee,_0x15fada,_0x157cde,_0x49541c,_0x2e8153,_0x11787f,_0x5ec2a0,_0x52581d,_0x297326,_0x15ac59){var _0x1244a7=_0x9c17ab;super(_0x3b947b,_0x581659,_0x18f1ae,_0x1832ee,_0x15fada,_0x157cde,_0x49541c,_0x2e8153,_0x11787f,_0x5ec2a0,_0x52581d,_0x297326,_0x15ac59),_0x47983f(this,_0x1244a7(0x3df),null),(this['unitID']=_0x3b947b,this[_0x1244a7(0x516)]=_0x18f1ae);}['addHandlerCallback'](_0x2d33ce){var _0x4ca958=_0x9c17ab;this[_0x4ca958(0x3df)]=_0x2d33ce;}['dispose'](){var _0xc8fd25=_0x9c17ab;this['_handlerCallback']=null,super[_0xc8fd25(0x1d6)]();}[_0x9c17ab(0x491)](){var _0x3e66f2=_0x9c17ab;const _0x4219de=super[_0x3e66f2(0x491)]();return _0x4219de[_0x3e66f2(0x46c)]=_0x1c7b8d=>{var _0x2a4219=_0x3e66f2,_0x4139e9,_0xc9e3a4;return(_0xc9e3a4=(_0x4139e9=this[_0x2a4219(0x3df)])==null?void 0x0:_0x4139e9['onTransformIME'])==null?void 0x0:_0xc9e3a4[_0x2a4219(0x22f)](_0x4139e9,_0x1c7b8d);},_0x4219de[_0x3e66f2(0x335)]=_0x1b4d60=>{var _0x2e2663=_0x3e66f2,_0x1eccd4,_0x1735c2;return(_0x1735c2=(_0x1eccd4=this[_0x2e2663(0x3df)])==null?void 0x0:_0x1eccd4[_0x2e2663(0x335)])==null?void 0x0:_0x1735c2[_0x2e2663(0x22f)](_0x1eccd4,_0x1b4d60);},_0x4219de[_0x3e66f2(0x4b8)]=_0x55059a=>{var _0x1ab78a=_0x3e66f2,_0x3b82fd,_0x1f992a;return(_0x1f992a=(_0x3b82fd=this[_0x1ab78a(0x3df)])==null?void 0x0:_0x3b82fd[_0x1ab78a(0x4b8)])==null?void 0x0:_0x1f992a[_0x1ab78a(0x22f)](_0x3b82fd,_0x55059a);},_0x4219de['onSyncEditingCollabCursor']=_0xe6af3d=>{var _0x11d4dd=_0x3e66f2,_0x3437e6,_0x5b61c3;return(_0x5b61c3=(_0x3437e6=this['_handlerCallback'])==null?void 0x0:_0x3437e6[_0x11d4dd(0x263)])==null?void 0x0:_0x5b61c3[_0x11d4dd(0x22f)](_0x3437e6,_0xe6af3d);},_0x4219de[_0x3e66f2(0x425)]=_0x518a38=>{var _0x51d1c1=_0x3e66f2,_0x1f6d12,_0x438f91,_0x5bba74;if(!((_0x1f6d12=this[_0x51d1c1(0x3df)])!=null&&_0x1f6d12['onTransformRemoteChangesetByIMECache']))throw new Error(_0x51d1c1(0x1b2));return(_0x5bba74=(_0x438f91=this[_0x51d1c1(0x3df)])==null?void 0x0:_0x438f91[_0x51d1c1(0x425)])==null?void 0x0:_0x5bba74[_0x51d1c1(0x22f)](_0x438f91,_0x518a38);},_0x4219de[_0x3e66f2(0x3fb)]=_0x24b7b2=>{var _0x1f89b5=_0x3e66f2,_0x2c4f6d,_0x21c7a1,_0xc1b8be;if(!((_0x2c4f6d=this[_0x1f89b5(0x3df)])!=null&&_0x2c4f6d['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xc1b8be=(_0x21c7a1=this[_0x1f89b5(0x3df)])==null?void 0x0:_0x21c7a1[_0x1f89b5(0x3fb)])==null?void 0x0:_0xc1b8be[_0x1f89b5(0x22f)](_0x21c7a1,_0x24b7b2);},_0x4219de;}async['_init'](){var _0x5ccb9b=_0x9c17ab;const _0x5e3331=await super[_0x5ccb9b(0x2b1)]();return this[_0x5ccb9b(0x436)](this[_0x5ccb9b(0x32a)]['onCommandExecuted']((_0x269c2e,_0xef250)=>{var _0x34c681=_0x5ccb9b;if(_0x269c2e[_0x34c681(0x516)]!==_0x1fb61c[_0x34c681(0x3f2)][_0x34c681(0x4cd)]||_0xef250!=null&&_0xef250[_0x34c681(0x4a6)]||_0xef250!=null&&_0xef250['onlyLocal']||_0x269c2e['id']===_0xc2eb0e[_0x34c681(0x533)]['id'])return;const _0x2cbaa9=_0x269c2e[_0x34c681(0x3f5)];if((_0x2cbaa9==null?void 0x0:_0x2cbaa9[_0x34c681(0x488)])!==this[_0x34c681(0x1f9)])return;const _0x4c048e=_0x269c2e,_0x1d72ed=this[_0x34c681(0x30b)][_0x34c681(0x22e)][_0x34c681(0x4c7)](this['_compressMutationService']['interceptor'][_0x34c681(0x427)]()[_0x34c681(0x254)])([_0x4c048e],null)||[_0x4c048e];this['_onLocalMutation'](_0x1d72ed[0x0]);})),_0x5e3331;}},_0xc149d1[_0x9c17ab(0x1cb)]=_0x43b8e7([_0x4c8c29(0x3,_0x1fb61c[_0x9c17ab(0x38e)](_0x1fb61c[_0x9c17ab(0x3c2)])),_0x4c8c29(0x4,_0x1fb61c[_0x9c17ab(0x38e)](_0x5e1632[_0x9c17ab(0x440)])),_0x4c8c29(0x5,_0x1fb61c[_0x9c17ab(0x38e)](_0x1fb61c[_0x9c17ab(0x33b)])),_0x4c8c29(0x6,_0x1fb61c['Inject'](_0x5e1632[_0x9c17ab(0x536)])),_0x4c8c29(0x7,_0x1fb61c[_0x9c17ab(0x38e)](_0xdc4705)),_0x4c8c29(0x8,_0x1fb61c[_0x9c17ab(0x4dc)]),_0x4c8c29(0x9,_0x1fb61c[_0x9c17ab(0x364)]),_0x4c8c29(0xa,_0x1fb61c[_0x9c17ab(0x376)]),_0x4c8c29(0xb,_0x1fb61c[_0x9c17ab(0x44c)](_0x2acc04)),_0x4c8c29(0xc,_0x1fb61c[_0x9c17ab(0x44c)](_0x426182))],_0xc149d1[_0x9c17ab(0x1cb)]),_0xc149d1['SheetCollaborationEntity']=class extends _0xc149d1[_0x9c17ab(0x541)]{constructor(_0x346687,_0x1fbfc2,_0x319706,_0x533c0e,_0x273cbf,_0x30fdeb,_0x15b20a,_0x34fcc4,_0x106d77,_0x405ff8,_0x4dd708,_0x5dfbe4,_0x542644,_0x36062b){var _0x1703e8=_0x9c17ab;super(_0x346687,_0x319706,_0x1fbfc2,_0x533c0e,_0x273cbf,_0x30fdeb,_0x15b20a,_0x106d77,_0x405ff8,_0x4dd708,_0x5dfbe4,_0x542644,_0x36062b),this[_0x1703e8(0x1f9)]=_0x346687,this[_0x1703e8(0x516)]=_0x1fbfc2,this['_sheetTransformSelectionsService']=_0x34fcc4;}['_createHandler'](){var _0x35d08d=_0x9c17ab;const _0x4d8edb=super[_0x35d08d(0x491)]();return _0x4d8edb['onTransformSelections']=_0x5e9d76=>this[_0x35d08d(0x4fe)][_0x35d08d(0x331)](_0x5e9d76),_0x4d8edb;}async[_0x9c17ab(0x2b1)](){var _0x242005=_0x9c17ab;const _0x19f8e3=await super[_0x242005(0x2b1)]();return this[_0x242005(0x436)](this[_0x242005(0x32a)][_0x242005(0x4ce)]((_0x1d2a86,_0x500d76)=>{var _0x385475=_0x242005;if(_0x1d2a86[_0x385475(0x516)]!==_0x1fb61c[_0x385475(0x3f2)][_0x385475(0x4cd)]||_0x500d76!=null&&_0x500d76[_0x385475(0x4a6)]||_0x500d76!=null&&_0x500d76['onlyLocal'])return;const _0x5975d6=_0x1d2a86[_0x385475(0x3f5)];if((_0x5975d6==null?void 0x0:_0x5975d6['unitId'])!==this['unitID'])return;const _0x29fb95=_0x1d2a86,_0x15b533=this[_0x385475(0x30b)][_0x385475(0x22e)][_0x385475(0x4c7)](this[_0x385475(0x30b)]['interceptor'][_0x385475(0x427)]()[_0x385475(0x254)])([_0x29fb95],null)||[_0x29fb95];this[_0x385475(0x276)](_0x15b533[0x0]);})),_0x19f8e3;}},_0xc149d1[_0x9c17ab(0x29b)]=_0x43b8e7([_0x4c8c29(0x3,_0x1fb61c[_0x9c17ab(0x38e)](_0x1fb61c[_0x9c17ab(0x3c2)])),_0x4c8c29(0x4,_0x1fb61c[_0x9c17ab(0x38e)](_0x5e1632[_0x9c17ab(0x440)])),_0x4c8c29(0x5,_0x1fb61c[_0x9c17ab(0x38e)](_0x1fb61c[_0x9c17ab(0x33b)])),_0x4c8c29(0x6,_0x1fb61c[_0x9c17ab(0x38e)](_0x5e1632[_0x9c17ab(0x536)])),_0x4c8c29(0x7,_0x1fb61c[_0x9c17ab(0x38e)](_0xc149d1['SheetTransformSelectionsService'])),_0x4c8c29(0x8,_0x1fb61c[_0x9c17ab(0x38e)](_0xdc4705)),_0x4c8c29(0x9,_0x1fb61c[_0x9c17ab(0x4dc)]),_0x4c8c29(0xa,_0x1fb61c[_0x9c17ab(0x364)]),_0x4c8c29(0xb,_0x1fb61c['IPermissionService']),_0x4c8c29(0xc,_0x1fb61c['Optional'](_0x2acc04)),_0x4c8c29(0xd,_0x1fb61c['Optional'](_0x426182))],_0xc149d1[_0x9c17ab(0x29b)]);var _0x18dc63=Object[_0x9c17ab(0x410)],_0x12ccf4=(_0x27ef6d,_0x2d87c3,_0x20394c,_0x3a3547)=>{var _0x4b109d=_0x9c17ab;for(var _0x5c238e=_0x3a3547>0x1?void 0x0:_0x3a3547?_0x18dc63(_0x2d87c3,_0x20394c):_0x2d87c3,_0xe54bda=_0x27ef6d[_0x4b109d(0x4cf)]-0x1,_0x3edb67;_0xe54bda>=0x0;_0xe54bda--)(_0x3edb67=_0x27ef6d[_0xe54bda])&&(_0x5c238e=_0x3edb67(_0x5c238e)||_0x5c238e);return _0x5c238e;},_0x163828=(_0x1c410d,_0x8291c1)=>(_0xf0fcf4,_0x5a831a)=>_0x8291c1(_0xf0fcf4,_0x5a831a,_0x1c410d);_0xc149d1[_0x9c17ab(0x2ac)]=class extends _0x1fb61c[_0x9c17ab(0x1b7)]{constructor(_0x3964e5,_0x3c8a05,_0x56f28d,_0x26027a){var _0x16e287=_0x9c17ab,_0x1e92c7;super(),_0x47983f(this,_0x16e287(0x279),new Map()),_0x47983f(this,_0x16e287(0x3fa),new _0x3322ed['Subject']()),_0x47983f(this,_0x16e287(0x524),this['_entityInit$'][_0x16e287(0x243)]()),(this[_0x16e287(0x1ac)]=_0x3964e5,this[_0x16e287(0x3d0)]=_0x3c8a05,this[_0x16e287(0x4a1)]=_0x56f28d,this['_univerInstanceService']=_0x26027a,((_0x1e92c7=this[_0x16e287(0x4a1)][_0x16e287(0x2b2)](_0x29e73d))==null?void 0x0:_0x1e92c7[_0x16e287(0x417)])!==!0x1&&this['_init']());}['dispose'](){var _0x2eded3=_0x9c17ab;super['dispose'](),this['_entities'][_0x2eded3(0x1c9)](_0x4aeadb=>_0x4aeadb[_0x2eded3(0x1d6)]()),this[_0x2eded3(0x279)][_0x2eded3(0x292)]();}[_0x9c17ab(0x1c6)](_0x5ee779){var _0x553e1f=_0x9c17ab,_0x1b99eb;return(_0x1b99eb=this['_entities'][_0x553e1f(0x2e6)](_0x5ee779))!=null?_0x1b99eb:null;}[_0x9c17ab(0x519)](_0x102daf){var _0x4060d9=_0x9c17ab;const _0x2df5b0=this[_0x4060d9(0x1c6)](_0x102daf);return _0x2df5b0?_0x3322ed['of'](_0x2df5b0):this[_0x4060d9(0x3fa)][_0x4060d9(0x25b)](_0xc3de18[_0x4060d9(0x33e)](_0x14cffd=>_0x14cffd[_0x4060d9(0x1f9)]===_0x102daf));}[_0x9c17ab(0x53d)](_0xffe160){var _0x13cc98=_0x9c17ab;return _0x3322ed[_0x13cc98(0x3e6)](this['getCollabEntity$'](_0xffe160)[_0x13cc98(0x25b)](_0xc3de18[_0x13cc98(0x47b)](()=>{})));}['_init'](){var _0x2aa117=_0x9c17ab;this['_univerInstanceService'][_0x2aa117(0x1e0)](_0x1fb61c[_0x2aa117(0x2bc)]['UNIVER_SHEET'])[_0x2aa117(0x25b)](_0x3322ed[_0x2aa117(0x448)](this[_0x2aa117(0x352)]),_0xc3de18[_0x2aa117(0x2fa)](0x10))[_0x2aa117(0x2af)](async _0x4fa7aa=>{var _0x4b6a5c=_0x2aa117;const _0x1aa7d9=_0x4fa7aa[_0x4b6a5c(0x4a4)](),_0x1d2477=await this[_0x4b6a5c(0x24a)](_0x1aa7d9,_0x4e5206[_0x4b6a5c(0x398)]);this['_entities'][_0x4b6a5c(0x53c)](_0x1aa7d9,_0x1d2477);}),this['_univerInstanceService'][_0x2aa117(0x1e0)](_0x1fb61c[_0x2aa117(0x2bc)][_0x2aa117(0x4e5)])[_0x2aa117(0x25b)](_0x3322ed[_0x2aa117(0x448)](this['dispose$']),_0xc3de18['delay'](0x10))['pipe'](_0xc3de18[_0x2aa117(0x33e)](_0x26e142=>!_0x26e142['getUnitId']()['startsWith']('__')))[_0x2aa117(0x2af)](async _0x4f9fa8=>{var _0x1df19b=_0x2aa117;const _0x4d6237=_0x4f9fa8[_0x1df19b(0x4a4)](),_0x1763e1=await this['_startCollaboration'](_0x4d6237,_0x4e5206['UNIVER_DOC']);this['_entities'][_0x1df19b(0x53c)](_0x4d6237,_0x1763e1);}),_0x3322ed[_0x2aa117(0x2e0)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1fb61c[_0x2aa117(0x2bc)][_0x2aa117(0x398)]),this['_univerInstanceService'][_0x2aa117(0x3c3)](_0x1fb61c[_0x2aa117(0x2bc)][_0x2aa117(0x4e5)]))[_0x2aa117(0x25b)](_0x3322ed[_0x2aa117(0x448)](this[_0x2aa117(0x352)]))[_0x2aa117(0x2af)](_0x4e2dc6=>{var _0x2a1e73=_0x2aa117;const _0x16248f=_0x4e2dc6[_0x2a1e73(0x4a4)](),_0x6e38e7=this['_entities'][_0x2a1e73(0x2e6)](_0x16248f);_0x6e38e7&&(_0x6e38e7['dispose'](),this[_0x2a1e73(0x279)][_0x2a1e73(0x3ef)](_0x16248f));});}async[_0x9c17ab(0x24a)](_0x594fa1,_0x6f5cc7){var _0x1b93a0=_0x9c17ab;const _0x5345cb=await this[_0x1b93a0(0x3d0)][_0x1b93a0(0x43e)](_0x594fa1),_0x2c9fe0=this[_0x1b93a0(0x1ac)]['createInstance'](this[_0x1b93a0(0x3f3)](_0x6f5cc7),_0x594fa1,_0x6f5cc7,_0x5345cb);return await _0x2c9fe0['init'](),this[_0x1b93a0(0x3fa)][_0x1b93a0(0x2da)](_0x2c9fe0),_0x2c9fe0;}[_0x9c17ab(0x3f3)](_0x4a949d){var _0xa030a9=_0x9c17ab;switch(_0x4a949d){case _0x4e5206[_0xa030a9(0x4e5)]:return _0xc149d1[_0xa030a9(0x1cb)];case _0x4e5206['UNIVER_SHEET']:return _0xc149d1[_0xa030a9(0x29b)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x4a949d);}}},_0xc149d1['CollaborationController']=_0x12ccf4([_0x163828(0x0,_0x1fb61c[_0x9c17ab(0x38e)](_0x1fb61c[_0x9c17ab(0x3c2)])),_0x163828(0x1,_0x1fb61c[_0x9c17ab(0x38e)](_0xc149d1[_0x9c17ab(0x26e)])),_0x163828(0x2,_0x1fb61c[_0x9c17ab(0x21b)]),_0x163828(0x3,_0x1fb61c[_0x9c17ab(0x278)])],_0xc149d1[_0x9c17ab(0x2ac)]);var _0x249ce8=Object[_0x9c17ab(0x410)],_0xcc81da=(_0x2497c6,_0x520346,_0x431751,_0xe46288)=>{var _0x56ba0e=_0x9c17ab;for(var _0x29cc13=_0xe46288>0x1?void 0x0:_0xe46288?_0x249ce8(_0x520346,_0x431751):_0x520346,_0xba327a=_0x2497c6[_0x56ba0e(0x4cf)]-0x1,_0x53d0f1;_0xba327a>=0x0;_0xba327a--)(_0x53d0f1=_0x2497c6[_0xba327a])&&(_0x29cc13=_0x53d0f1(_0x29cc13)||_0x29cc13);return _0x29cc13;},_0x565fed=(_0x17530b,_0x33e389)=>(_0x4c3f90,_0x1781ad)=>_0x33e389(_0x4c3f90,_0x1781ad,_0x17530b);const _0x48db23=_0x9c17ab(0x3ff),_0x508f8d=_0x9c17ab(0x2cf);let _0x554b7d=class extends _0x1fb61c[_0x9c17ab(0x39f)]{constructor(_0x44ad51,_0x44c8c5){var _0x5c0ab9=_0x9c17ab;super(),this[_0x5c0ab9(0x3be)]=_0x44ad51,this[_0x5c0ab9(0x4a1)]=_0x44c8c5,this[_0x5c0ab9(0x2b1)]();}[_0x9c17ab(0x2b1)](){var _0x48878f=_0x9c17ab;this['disposeWithMe'](this['_univerInstanceService'][_0x48878f(0x3db)]['subscribe'](()=>{var _0x4566df=_0x48878f,_0x564f0e;const _0x27efe5=this[_0x4566df(0x3be)]['getFocusedUnit']();let _0x3e269d=(_0x564f0e=this[_0x4566df(0x4a1)][_0x4566df(0x2b2)](_0x48db23))!=null?_0x564f0e:_0x508f8d;_0x27efe5 instanceof _0x1fb61c['Workbook']&&(_0x3e269d=_0x27efe5[_0x4566df(0x492)]),document['title']=_0x3e269d;}));}};_0x554b7d=_0xcc81da([_0x565fed(0x0,_0x1fb61c[_0x9c17ab(0x278)]),_0x565fed(0x1,_0x1fb61c[_0x9c17ab(0x21b)])],_0x554b7d);var _0x322ca6=Object[_0x9c17ab(0x410)],_0x308061=(_0x5795ae,_0x4abb60,_0x397893,_0x2b9727)=>{for(var _0x29b052=_0x2b9727>0x1?void 0x0:_0x2b9727?_0x322ca6(_0x4abb60,_0x397893):_0x4abb60,_0x74133c=_0x5795ae['length']-0x1,_0x2c8c1c;_0x74133c>=0x0;_0x74133c--)(_0x2c8c1c=_0x5795ae[_0x74133c])&&(_0x29b052=_0x2c8c1c(_0x29b052)||_0x29b052);return _0x29b052;},_0x39b5e4=(_0x1f8706,_0x335579)=>(_0x254378,_0x3baace)=>_0x335579(_0x254378,_0x3baace,_0x1f8706);let _0x4367a6=class{constructor(_0x48ec86,_0x155559,_0x2a96ff){var _0x32bb45=_0x9c17ab;this[_0x32bb45(0x4a1)]=_0x48ec86,this[_0x32bb45(0x408)]=_0x155559,this[_0x32bb45(0x4e2)]=_0x2a96ff,this[_0x32bb45(0x1e6)]();}['init'](){var _0x52422f=_0x9c17ab;this['_httpService'][_0x52422f(0x2b6)]({'priority':0x1,'interceptor':(_0x332d4d,_0x14f90f)=>_0x14f90f(_0x332d4d)[_0x52422f(0x25b)](_0x3322ed['concatMap'](async _0x3e499b=>{var _0x4e256e=_0x52422f;const _0x309125=_0x3e499b;if(_0x309125[_0x4e256e(0x1b1)]===0x191){if(typeof window>'u')throw new Error(_0x4e256e(0x345));if(window[_0x4e256e(0x528)](this[_0x4e256e(0x4e2)]['t'](_0x4e256e(0x350)))){const _0x566ea2=window[_0x4e256e(0x442)](window[_0x4e256e(0x1ae)][_0x4e256e(0x396)]);window[_0x4e256e(0x1ae)]['href']=this[_0x4e256e(0x49b)]()+_0x4e256e(0x2a5)+_0x566ea2;}}return _0x309125;}))});}[_0x9c17ab(0x49b)](){var _0x1f2c77=_0x9c17ab,_0x56eeb5,_0x2876a9;const _0x14823e=this[_0x1f2c77(0x4a1)][_0x1f2c77(0x2b2)](_0x292ca9),_0xa84468=this[_0x1f2c77(0x4a1)][_0x1f2c77(0x2b2)](_0x29e73d);return(_0x2876a9=(_0x56eeb5=_0xa84468==null?void 0x0:_0xa84468['loginUrlKey'])!=null?_0x56eeb5:_0x14823e)!=null?_0x2876a9:_0xaee35d;}};_0x4367a6=_0x308061([_0x39b5e4(0x0,_0x1fb61c[_0x9c17ab(0x21b)]),_0x39b5e4(0x1,_0x1fb61c[_0x9c17ab(0x38e)](_0x389e44['HTTPService'])),_0x39b5e4(0x2,_0x1fb61c[_0x9c17ab(0x38e)](_0x1fb61c[_0x9c17ab(0x33b)]))],_0x4367a6);var _0x39dc18=Object['getOwnPropertyDescriptor'],_0x4db9d8=(_0x1a3d41,_0x40868c,_0x4e5df5,_0x3c2406)=>{var _0x43c043=_0x9c17ab;for(var _0x549ab2=_0x3c2406>0x1?void 0x0:_0x3c2406?_0x39dc18(_0x40868c,_0x4e5df5):_0x40868c,_0x561772=_0x1a3d41[_0x43c043(0x4cf)]-0x1,_0x4e8e94;_0x561772>=0x0;_0x561772--)(_0x4e8e94=_0x1a3d41[_0x561772])&&(_0x549ab2=_0x4e8e94(_0x549ab2)||_0x549ab2);return _0x549ab2;},_0x8b801d=(_0x552fde,_0x1e0352)=>(_0x50b81d,_0x4cd0fe)=>_0x1e0352(_0x50b81d,_0x4cd0fe,_0x552fde);const _0x2a6fc6=_0x9c17ab(0x38b),_0x314482='/universer-api/authz';_0xc149d1[_0x9c17ab(0x2e4)]=class extends _0x1fb61c['Disposable']{constructor(_0x15b734,_0x21545a){var _0xe584eb=_0x9c17ab;super(),this[_0xe584eb(0x1b6)]=_0x15b734,this[_0xe584eb(0x4a1)]=_0x21545a,this[_0xe584eb(0x247)]();}[_0x9c17ab(0x247)](){var _0xfe28d9=_0x9c17ab;const _0x5db1f4=this;this[_0xfe28d9(0x436)](this[_0xfe28d9(0x1b6)][_0xfe28d9(0x2b6)]({'priority':0x3e7,'interceptor':_0x389e44[_0xfe28d9(0x2a4)]({'isMatch'(_0x32c7a3){var _0x2f9ec5=_0xfe28d9,_0xc58ffa;if(_0x32c7a3[_0x2f9ec5(0x4c5)]===_0x2f9ec5(0x476)&&((_0xc58ffa=_0x32c7a3[_0x2f9ec5(0x46b)])!=null&&_0xc58ffa['body'])){const {objectID:_0x1ac77b,objectType:_0x4beefc}=_0x32c7a3[_0x2f9ec5(0x46b)]['body']||{};if(!_0x1ac77b||_0x4beefc===void 0x0)return!0x1;const _0x2ac9b5=_0x5db1f4[_0x2f9ec5(0x48f)]()+'/'+_0x4beefc+_0x2f9ec5(0x1fb)+_0x1ac77b+_0x2f9ec5(0x323);if(_0x32c7a3[_0x2f9ec5(0x30c)]===_0x2ac9b5)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x53d3f9){var _0x4539d7=_0xfe28d9,_0x447612;return(_0x447612=_0x53d3f9[_0x4539d7(0x46b)])==null?void 0x0:_0x447612['body'];},'mergeParamsToRequest'(_0x2ea8d0,_0x6dddea){var _0x1dbd53=_0xfe28d9;const _0x1f6e5a=_0x5db1f4[_0x1dbd53(0x48f)]()+_0x1dbd53(0x466),_0x7d167c=_0x2ea8d0[_0x1dbd53(0x1fa)]((_0x3b0a37,_0x131f19)=>{var _0x56a4dc=_0x1dbd53;const {unitID:_0x1b005d,objectID:_0x18bfec,objectType:_0x142697,actions:_0x26b6f0}=_0x131f19;return _0x3b0a37[_0x1b005d]||(_0x3b0a37[_0x1b005d]={}),_0x3b0a37[_0x1b005d][_0x18bfec]||(_0x3b0a37[_0x1b005d][_0x18bfec]={'objectID':_0x18bfec,'objectType':_0x142697,'actions':[]}),_0x3b0a37[_0x1b005d][_0x18bfec][_0x56a4dc(0x1d2)][_0x56a4dc(0x53b)](..._0x26b6f0),_0x3b0a37;},{}),_0xb551f8=[];for(const _0x4fe54d in _0x7d167c)for(const _0x510c8f in _0x7d167c[_0x4fe54d]){const {actions:_0x134126,objectType:_0x52bdbc}=_0x7d167c[_0x4fe54d][_0x510c8f],_0x117387=[...new Set(_0x134126)];_0xb551f8[_0x1dbd53(0x53b)]({'unitID':_0x4fe54d,'objectID':_0x510c8f,'objectType':_0x52bdbc,'actions':_0x117387});}return new _0x389e44[(_0x1dbd53(0x2ea))]('POST',_0x1f6e5a,{'headers':_0x6dddea[_0x1dbd53(0x2ee)],'withCredentials':_0x6dddea['withCredentials'],'responseType':_0x6dddea[_0x1dbd53(0x47d)],'body':{'requests':_0xb551f8}});}},{'distributeResult'(_0x236440,_0x4a7b95){var _0x28ea8f=_0xfe28d9;const {objectActions:_0x31395c}=_0x236440;return _0x4a7b95[_0x28ea8f(0x47b)](_0x54e8e4=>{var _0xf2092c=_0x28ea8f;const {unitID:_0x1d091f,objectID:_0xcb0c28,actions:_0x1ea2e5}=_0x54e8e4,_0x814009=_0x31395c[_0xf2092c(0x456)](_0x11694f=>_0x11694f[_0xf2092c(0x1f9)]===_0x1d091f&&_0x11694f[_0xf2092c(0x3d4)]===_0xcb0c28),_0x4a2d10=_0x1ea2e5[_0xf2092c(0x47b)](_0x363b3b=>_0x814009==null?void 0x0:_0x814009['actions'][_0xf2092c(0x456)](_0x1ff8cd=>_0x1ff8cd[_0xf2092c(0x4d4)]===_0x363b3b))['filter'](_0x430ee0=>!!_0x430ee0);return{'config':_0x54e8e4,'result':{'actions':_0x4a2d10,'error':_0x236440[_0xf2092c(0x3ae)]}};});}})}));}[_0x9c17ab(0x48f)](){var _0x498dbc=_0x9c17ab,_0x61a0be,_0x372d3e;const _0x2a8c59=this[_0x498dbc(0x4a1)][_0x498dbc(0x2b2)](_0x2a6fc6),_0x2d4fd7=this[_0x498dbc(0x4a1)][_0x498dbc(0x2b2)](_0x29e73d);return(_0x372d3e=(_0x61a0be=_0x2d4fd7==null?void 0x0:_0x2d4fd7[_0x498dbc(0x546)])!=null?_0x61a0be:_0x2a8c59)!=null?_0x372d3e:_0x314482;}async['create'](_0x395ec4){var _0x4b408b=_0x9c17ab;const _0x10c6b5=this[_0x4b408b(0x48f)]()+'/'+_0x395ec4['objectType']+'/object';return(await this['_HTTPService']['post'](_0x10c6b5,{'body':_0x395ec4}))[_0x4b408b(0x52e)][_0x4b408b(0x3d4)]||'';}async[_0x9c17ab(0x354)](_0x511fbe){var _0xa42cd6=_0x9c17ab;const _0x4b9830=this[_0xa42cd6(0x48f)]()+_0xa42cd6(0x269);return(await this[_0xa42cd6(0x1b6)][_0xa42cd6(0x52b)](_0x4b9830,{'body':_0x511fbe}))[_0xa42cd6(0x52e)]['objects'];}async[_0x9c17ab(0x50b)](_0x515d0a){var _0x5484ed=_0x9c17ab,_0x2d54c2,_0x4d5e2e;const _0x2f5ccf=this[_0x5484ed(0x48f)]()+'/'+_0x515d0a[_0x5484ed(0x40d)]+_0x5484ed(0x1fb)+_0x515d0a[_0x5484ed(0x3d4)],_0x1d4fe0=await this[_0x5484ed(0x1b6)][_0x5484ed(0x200)](_0x2f5ccf,{'body':_0x515d0a});if(((_0x4d5e2e=(_0x2d54c2=_0x1d4fe0==null?void 0x0:_0x1d4fe0['body'])==null?void 0x0:_0x2d54c2['error'])==null?void 0x0:_0x4d5e2e['code'])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x9c17ab(0x434)](_0x2dd433){var _0x99ab2=_0x9c17ab;const _0x35fc57=this[_0x99ab2(0x48f)]()+'/'+_0x2dd433[_0x99ab2(0x40d)]+'/object/'+_0x2dd433[_0x99ab2(0x3d4)]+_0x99ab2(0x323);return(await this[_0x99ab2(0x1b6)][_0x99ab2(0x52b)](_0x35fc57,{'body':_0x2dd433}))[_0x99ab2(0x52e)]['actions'];}async['batchAllowed'](_0x2cda50){var _0x352fef=_0x9c17ab;const _0xb6f7d1=this['_getAPIPrefixPath']()+_0x352fef(0x466);return(await this['_HTTPService']['post'](_0xb6f7d1,{'body':{'requests':_0x2cda50}}))[_0x352fef(0x52e)]['objectActions'];}async[_0x9c17ab(0x2ed)](_0x108b17){var _0x491bc4=_0x9c17ab;const _0xb0291c=this[_0x491bc4(0x48f)]()+'/'+_0x108b17[_0x491bc4(0x40d)]+'/role',_0x1f9b16=await this[_0x491bc4(0x1b6)][_0x491bc4(0x52b)](_0xb0291c,{'body':_0x108b17});return{'roles':_0x1f9b16[_0x491bc4(0x52e)][_0x491bc4(0x316)],'actions':_0x1f9b16[_0x491bc4(0x52e)][_0x491bc4(0x1d2)]};}async[_0x9c17ab(0x371)](_0x160965){var _0x599850=_0x9c17ab;const _0x355cf7=this[_0x599850(0x48f)]()+_0x599850(0x35c);await this['_HTTPService'][_0x599850(0x3ef)](_0x355cf7,{'params':{'collaboratorID':_0x160965[_0x599850(0x494)],'objectID':_0x160965[_0x599850(0x3d4)],'unitID':_0x160965[_0x599850(0x1f9)]}});}async[_0x9c17ab(0x41d)](_0x3c1a51){var _0x50b981=_0x9c17ab;const _0x485628=this[_0x50b981(0x48f)]()+_0x50b981(0x35c);await this[_0x50b981(0x1b6)][_0x50b981(0x2db)](_0x485628,{'body':_0x3c1a51});}async[_0x9c17ab(0x3cb)](_0x3e4b8f){var _0x3e26e1=_0x9c17ab;const _0xda9274=this[_0x3e26e1(0x48f)]()+_0x3e26e1(0x35c);await this[_0x3e26e1(0x1b6)][_0x3e26e1(0x52b)](_0xda9274,{'body':_0x3e4b8f});}async[_0x9c17ab(0x369)](_0x2dac39){var _0x304057=_0x9c17ab;const _0x97c3c5=this[_0x304057(0x48f)]()+'/collaborator';return(await this['_HTTPService'][_0x304057(0x2e6)](_0x97c3c5,{'params':{'objectID':_0x2dac39[_0x304057(0x3d4)],'unitID':_0x2dac39[_0x304057(0x1f9)]}}))['body']['collaborators'];}async[_0x9c17ab(0x262)](_0x5b8214){var _0x2cecfb=_0x9c17ab;const _0x26f45a=this[_0x2cecfb(0x48f)]()+_0x2cecfb(0x35c);await this[_0x2cecfb(0x1b6)][_0x2cecfb(0x200)](_0x26f45a,{'body':_0x5b8214});}},_0xc149d1[_0x9c17ab(0x2e4)]=_0x4db9d8([_0x8b801d(0x0,_0x1fb61c['Inject'](_0x389e44[_0x9c17ab(0x217)])),_0x8b801d(0x1,_0x1fb61c[_0x9c17ab(0x38e)](_0x1fb61c['IConfigService']))],_0xc149d1[_0x9c17ab(0x2e4)]);var _0x5a7962=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x25cafd(_0x38167d){var _0x1b1663=_0x9c17ab;return _0x38167d&&_0x38167d[_0x1b1663(0x26a)]&&Object['prototype']['hasOwnProperty']['call'](_0x38167d,_0x1b1663(0x21c))?_0x38167d[_0x1b1663(0x21c)]:_0x38167d;}var _0x1dc772={'exports':{}};function _0x8c6a03(_0x1c7e60){var _0x31a6ea=_0x9c17ab;throw new Error(_0x31a6ea(0x27a)+_0x1c7e60+_0x31a6ea(0x4a9));}var _0xb1cf57={'exports':{}},_0x24c1b2=_0xb1cf57[_0x9c17ab(0x513)],_0x18b7c0;function _0xce6121(){return _0x18b7c0||(_0x18b7c0=0x1,function(_0x3cd3d2,_0x20b0ba){(function(_0x467710,_0x1e2a80){var _0x545a1b=_0x2a48;_0x3cd3d2[_0x545a1b(0x513)]=_0x1e2a80();}(_0x24c1b2,function(){var _0xbab1ec=_0xbab1ec||function(_0x1eabc8,_0x1b5dcc){var _0x586fc7=_0x2a48,_0x3ea151;if(typeof window<'u'&&window['crypto']&&(_0x3ea151=window['crypto']),typeof self<'u'&&self[_0x586fc7(0x36f)]&&(_0x3ea151=self[_0x586fc7(0x36f)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3ea151=globalThis[_0x586fc7(0x36f)]),!_0x3ea151&&typeof window<'u'&&window[_0x586fc7(0x271)]&&(_0x3ea151=window[_0x586fc7(0x271)]),!_0x3ea151&&typeof _0x5a7962<'u'&&_0x5a7962['crypto']&&(_0x3ea151=_0x5a7962[_0x586fc7(0x36f)]),!_0x3ea151&&typeof _0x8c6a03==_0x586fc7(0x238))try{_0x3ea151=require('crypto');}catch{}var _0x2b427d=function(){var _0x4793d1=_0x586fc7;if(_0x3ea151){if(typeof _0x3ea151[_0x4793d1(0x2e9)]=='function')try{return _0x3ea151[_0x4793d1(0x2e9)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3ea151[_0x4793d1(0x372)]=='function')try{return _0x3ea151[_0x4793d1(0x372)](0x4)[_0x4793d1(0x470)]();}catch{}}throw new Error(_0x4793d1(0x28a));},_0x12134d=Object[_0x586fc7(0x255)]||(function(){function _0x22d9aa(){}return function(_0xc78349){var _0x11ddef=_0x2a48,_0x4a909e;return _0x22d9aa[_0x11ddef(0x3ec)]=_0xc78349,_0x4a909e=new _0x22d9aa(),_0x22d9aa[_0x11ddef(0x3ec)]=null,_0x4a909e;};}()),_0x33493a={},_0x1c3097=_0x33493a[_0x586fc7(0x3e0)]={},_0x2c7289=_0x1c3097[_0x586fc7(0x3dd)]=(function(){return{'extend':function(_0x3bc96b){var _0x5ab73f=_0x2a48,_0x27910d=_0x12134d(this);return _0x3bc96b&&_0x27910d['mixIn'](_0x3bc96b),(!_0x27910d[_0x5ab73f(0x380)](_0x5ab73f(0x1e6))||this[_0x5ab73f(0x1e6)]===_0x27910d[_0x5ab73f(0x1e6)])&&(_0x27910d[_0x5ab73f(0x1e6)]=function(){var _0x2fdbd8=_0x5ab73f;_0x27910d[_0x2fdbd8(0x203)]['init'][_0x2fdbd8(0x3cc)](this,arguments);}),_0x27910d[_0x5ab73f(0x1e6)][_0x5ab73f(0x3ec)]=_0x27910d,_0x27910d[_0x5ab73f(0x203)]=this,_0x27910d;},'create':function(){var _0x3b5c1d=_0x2a48,_0x2d0a69=this[_0x3b5c1d(0x530)]();return _0x2d0a69[_0x3b5c1d(0x1e6)][_0x3b5c1d(0x3cc)](_0x2d0a69,arguments),_0x2d0a69;},'init':function(){},'mixIn':function(_0x3a25df){var _0x410fd7=_0x2a48;for(var _0x4f1350 in _0x3a25df)_0x3a25df[_0x410fd7(0x380)](_0x4f1350)&&(this[_0x4f1350]=_0x3a25df[_0x4f1350]);_0x3a25df[_0x410fd7(0x380)](_0x410fd7(0x2c6))&&(this[_0x410fd7(0x2c6)]=_0x3a25df[_0x410fd7(0x2c6)]);},'clone':function(){var _0x5e6c6c=_0x2a48;return this[_0x5e6c6c(0x1e6)][_0x5e6c6c(0x3ec)][_0x5e6c6c(0x530)](this);}};}()),_0x24564b=_0x1c3097[_0x586fc7(0x3fd)]=_0x2c7289[_0x586fc7(0x530)]({'init':function(_0x2760e2,_0x41f2cd){var _0x22043c=_0x586fc7;_0x2760e2=this[_0x22043c(0x1b5)]=_0x2760e2||[],_0x41f2cd!=_0x1b5dcc?this[_0x22043c(0x286)]=_0x41f2cd:this[_0x22043c(0x286)]=_0x2760e2[_0x22043c(0x4cf)]*0x4;},'toString':function(_0xd5d59b){return(_0xd5d59b||_0x88832a)['stringify'](this);},'concat':function(_0x11f8e9){var _0x2bd113=_0x586fc7,_0x22e069=this['words'],_0x3c68f3=_0x11f8e9[_0x2bd113(0x1b5)],_0x2c91b0=this['sigBytes'],_0x3a030c=_0x11f8e9[_0x2bd113(0x286)];if(this[_0x2bd113(0x471)](),_0x2c91b0%0x4)for(var _0x1e6c8e=0x0;_0x1e6c8e<_0x3a030c;_0x1e6c8e++){var _0x2e035e=_0x3c68f3[_0x1e6c8e>>>0x2]>>>0x18-_0x1e6c8e%0x4*0x8&0xff;_0x22e069[_0x2c91b0+_0x1e6c8e>>>0x2]|=_0x2e035e<<0x18-(_0x2c91b0+_0x1e6c8e)%0x4*0x8;}else{for(var _0x336b55=0x0;_0x336b55<_0x3a030c;_0x336b55+=0x4)_0x22e069[_0x2c91b0+_0x336b55>>>0x2]=_0x3c68f3[_0x336b55>>>0x2];}return this['sigBytes']+=_0x3a030c,this;},'clamp':function(){var _0x1434d9=_0x586fc7,_0x4cb509=this['words'],_0x1b2aa6=this[_0x1434d9(0x286)];_0x4cb509[_0x1b2aa6>>>0x2]&=0xffffffff<<0x20-_0x1b2aa6%0x4*0x8,_0x4cb509[_0x1434d9(0x4cf)]=_0x1eabc8[_0x1434d9(0x3a1)](_0x1b2aa6/0x4);},'clone':function(){var _0x6e60c0=_0x586fc7,_0x325c5e=_0x2c7289['clone'][_0x6e60c0(0x22f)](this);return _0x325c5e['words']=this['words'][_0x6e60c0(0x365)](0x0),_0x325c5e;},'random':function(_0x157d07){var _0x5e584b=_0x586fc7;for(var _0x151af8=[],_0x7d0116=0x0;_0x7d0116<_0x157d07;_0x7d0116+=0x4)_0x151af8[_0x5e584b(0x53b)](_0x2b427d());return new _0x24564b[(_0x5e584b(0x1e6))](_0x151af8,_0x157d07);}}),_0x18bef3=_0x33493a['enc']={},_0x88832a=_0x18bef3[_0x586fc7(0x3b0)]={'stringify':function(_0x5df827){var _0x3459dd=_0x586fc7;for(var _0x2b056c=_0x5df827[_0x3459dd(0x1b5)],_0x1ffa46=_0x5df827['sigBytes'],_0xbc9528=[],_0x48f576=0x0;_0x48f576<_0x1ffa46;_0x48f576++){var _0xcf650a=_0x2b056c[_0x48f576>>>0x2]>>>0x18-_0x48f576%0x4*0x8&0xff;_0xbc9528[_0x3459dd(0x53b)]((_0xcf650a>>>0x4)['toString'](0x10)),_0xbc9528['push']((_0xcf650a&0xf)[_0x3459dd(0x2c6)](0x10));}return _0xbc9528[_0x3459dd(0x31d)]('');},'parse':function(_0x4a3e9f){var _0x52d716=_0x586fc7;for(var _0x59d90a=_0x4a3e9f[_0x52d716(0x4cf)],_0x3b938b=[],_0x3c81f1=0x0;_0x3c81f1<_0x59d90a;_0x3c81f1+=0x2)_0x3b938b[_0x3c81f1>>>0x3]|=parseInt(_0x4a3e9f['substr'](_0x3c81f1,0x2),0x10)<<0x18-_0x3c81f1%0x8*0x4;return new _0x24564b[(_0x52d716(0x1e6))](_0x3b938b,_0x59d90a/0x2);}},_0x3daf04=_0x18bef3[_0x586fc7(0x29d)]={'stringify':function(_0x5e1c51){var _0x1e0b7d=_0x586fc7;for(var _0x5de054=_0x5e1c51[_0x1e0b7d(0x1b5)],_0x55ad0c=_0x5e1c51[_0x1e0b7d(0x286)],_0xd4c140=[],_0xb54095=0x0;_0xb54095<_0x55ad0c;_0xb54095++){var _0x4bd8c0=_0x5de054[_0xb54095>>>0x2]>>>0x18-_0xb54095%0x4*0x8&0xff;_0xd4c140[_0x1e0b7d(0x53b)](String[_0x1e0b7d(0x2f9)](_0x4bd8c0));}return _0xd4c140['join']('');},'parse':function(_0x25e672){var _0x3c8ccf=_0x586fc7;for(var _0x26abdb=_0x25e672[_0x3c8ccf(0x4cf)],_0x4f8976=[],_0x3b9707=0x0;_0x3b9707<_0x26abdb;_0x3b9707++)_0x4f8976[_0x3b9707>>>0x2]|=(_0x25e672['charCodeAt'](_0x3b9707)&0xff)<<0x18-_0x3b9707%0x4*0x8;return new _0x24564b[(_0x3c8ccf(0x1e6))](_0x4f8976,_0x26abdb);}},_0x2961f4=_0x18bef3[_0x586fc7(0x4df)]={'stringify':function(_0x3aaf46){var _0x4c4f75=_0x586fc7;try{return decodeURIComponent(escape(_0x3daf04[_0x4c4f75(0x288)](_0x3aaf46)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x5beabe){var _0x2b2dba=_0x586fc7;return _0x3daf04[_0x2b2dba(0x4c8)](unescape(encodeURIComponent(_0x5beabe)));}},_0x36dcde=_0x1c3097['BufferedBlockAlgorithm']=_0x2c7289[_0x586fc7(0x530)]({'reset':function(){var _0x193550=_0x586fc7;this[_0x193550(0x267)]=new _0x24564b['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x16060f){var _0x5122f4=_0x586fc7;typeof _0x16060f==_0x5122f4(0x2dd)&&(_0x16060f=_0x2961f4[_0x5122f4(0x4c8)](_0x16060f)),this[_0x5122f4(0x267)][_0x5122f4(0x38c)](_0x16060f),this[_0x5122f4(0x383)]+=_0x16060f[_0x5122f4(0x286)];},'_process':function(_0x28193b){var _0x14ad13=_0x586fc7,_0x5f3b52,_0x547ff2=this[_0x14ad13(0x267)],_0x3e9beb=_0x547ff2[_0x14ad13(0x1b5)],_0x2472f9=_0x547ff2[_0x14ad13(0x286)],_0x441254=this[_0x14ad13(0x451)],_0x7a5d25=_0x441254*0x4,_0x1bc303=_0x2472f9/_0x7a5d25;_0x28193b?_0x1bc303=_0x1eabc8[_0x14ad13(0x3a1)](_0x1bc303):_0x1bc303=_0x1eabc8[_0x14ad13(0x406)]((_0x1bc303|0x0)-this['_minBufferSize'],0x0);var _0xa0d0c7=_0x1bc303*_0x441254,_0x14eddd=_0x1eabc8[_0x14ad13(0x2d5)](_0xa0d0c7*0x4,_0x2472f9);if(_0xa0d0c7){for(var _0x1cf1c6=0x0;_0x1cf1c6<_0xa0d0c7;_0x1cf1c6+=_0x441254)this[_0x14ad13(0x31f)](_0x3e9beb,_0x1cf1c6);_0x5f3b52=_0x3e9beb[_0x14ad13(0x4b4)](0x0,_0xa0d0c7),_0x547ff2['sigBytes']-=_0x14eddd;}return new _0x24564b[(_0x14ad13(0x1e6))](_0x5f3b52,_0x14eddd);},'clone':function(){var _0x1e2f54=_0x586fc7,_0x2b26cb=_0x2c7289[_0x1e2f54(0x3b6)][_0x1e2f54(0x22f)](this);return _0x2b26cb['_data']=this[_0x1e2f54(0x267)][_0x1e2f54(0x3b6)](),_0x2b26cb;},'_minBufferSize':0x0});_0x1c3097[_0x586fc7(0x39b)]=_0x36dcde[_0x586fc7(0x530)]({'cfg':_0x2c7289[_0x586fc7(0x530)](),'init':function(_0x2b80b9){var _0x3f91d6=_0x586fc7;this[_0x3f91d6(0x32b)]=this[_0x3f91d6(0x32b)][_0x3f91d6(0x530)](_0x2b80b9),this[_0x3f91d6(0x3ca)]();},'reset':function(){var _0x4e2ccb=_0x586fc7;_0x36dcde[_0x4e2ccb(0x3ca)]['call'](this),this[_0x4e2ccb(0x4c1)]();},'update':function(_0x476767){var _0x198439=_0x586fc7;return this[_0x198439(0x2ef)](_0x476767),this[_0x198439(0x4a2)](),this;},'finalize':function(_0x4cb26b){var _0xf592d4=_0x586fc7;_0x4cb26b&&this[_0xf592d4(0x2ef)](_0x4cb26b);var _0x4943d6=this[_0xf592d4(0x382)]();return _0x4943d6;},'blockSize':0x10,'_createHelper':function(_0x3fde05){return function(_0x3c8ffd,_0x31d1cb){var _0x1dc053=_0x2a48;return new _0x3fde05[(_0x1dc053(0x1e6))](_0x31d1cb)[_0x1dc053(0x209)](_0x3c8ffd);};},'_createHmacHelper':function(_0x5e6c76){return function(_0x391236,_0x2e0fc3){var _0x19dfb4=_0x2a48;return new _0x42571a[(_0x19dfb4(0x367))][(_0x19dfb4(0x1e6))](_0x5e6c76,_0x2e0fc3)[_0x19dfb4(0x209)](_0x391236);};}});var _0x42571a=_0x33493a[_0x586fc7(0x443)]={};return _0x33493a;}(Math);return _0xbab1ec;}));}(_0xb1cf57)),_0xb1cf57['exports'];}var _0xd9416d={'exports':{}},_0x4a0942=_0xd9416d[_0x9c17ab(0x513)],_0x167671;function _0x3bbec9(){var _0x29b393=_0x9c17ab;return _0x167671||(_0x167671=0x1,function(_0x14e2a4,_0x1c5ef2){(function(_0x276748,_0x5e641b){var _0x1bdd56=_0x2a48;_0x14e2a4[_0x1bdd56(0x513)]=_0x5e641b(_0xce6121());}(_0x4a0942,function(_0x2bb81d){var _0x17b000=_0x2a48;return(function(){var _0x419c90=_0x2a48,_0x1afff9=_0x2bb81d,_0x1d6171=_0x1afff9[_0x419c90(0x3e0)],_0x178a65=_0x1d6171[_0x419c90(0x3fd)],_0x46b037=_0x1afff9[_0x419c90(0x543)];_0x46b037[_0x419c90(0x3bb)]={'stringify':function(_0x4afd8f){var _0x14f6c0=_0x419c90,_0x2ab417=_0x4afd8f[_0x14f6c0(0x1b5)],_0x374adf=_0x4afd8f['sigBytes'],_0x78559b=this[_0x14f6c0(0x325)];_0x4afd8f[_0x14f6c0(0x471)]();for(var _0xf4656d=[],_0x1b4b38=0x0;_0x1b4b38<_0x374adf;_0x1b4b38+=0x3)for(var _0x1d6057=_0x2ab417[_0x1b4b38>>>0x2]>>>0x18-_0x1b4b38%0x4*0x8&0xff,_0x3114ea=_0x2ab417[_0x1b4b38+0x1>>>0x2]>>>0x18-(_0x1b4b38+0x1)%0x4*0x8&0xff,_0x42b73f=_0x2ab417[_0x1b4b38+0x2>>>0x2]>>>0x18-(_0x1b4b38+0x2)%0x4*0x8&0xff,_0x15939a=_0x1d6057<<0x10|_0x3114ea<<0x8|_0x42b73f,_0x4266ad=0x0;_0x4266ad<0x4&&_0x1b4b38+_0x4266ad*0.75<_0x374adf;_0x4266ad++)_0xf4656d[_0x14f6c0(0x53b)](_0x78559b[_0x14f6c0(0x414)](_0x15939a>>>0x6*(0x3-_0x4266ad)&0x3f));var _0x87db14=_0x78559b[_0x14f6c0(0x414)](0x40);if(_0x87db14){for(;_0xf4656d[_0x14f6c0(0x4cf)]%0x4;)_0xf4656d['push'](_0x87db14);}return _0xf4656d[_0x14f6c0(0x31d)]('');},'parse':function(_0x337c74){var _0x4e50ae=_0x419c90,_0x567bb4=_0x337c74[_0x4e50ae(0x4cf)],_0x31299e=this[_0x4e50ae(0x325)],_0x185326=this[_0x4e50ae(0x480)];if(!_0x185326){_0x185326=this[_0x4e50ae(0x480)]=[];for(var _0x686333=0x0;_0x686333<_0x31299e[_0x4e50ae(0x4cf)];_0x686333++)_0x185326[_0x31299e[_0x4e50ae(0x45b)](_0x686333)]=_0x686333;}var _0x5722d1=_0x31299e[_0x4e50ae(0x414)](0x40);if(_0x5722d1){var _0x28bbca=_0x337c74['indexOf'](_0x5722d1);_0x28bbca!==-0x1&&(_0x567bb4=_0x28bbca);}return _0x7edd21(_0x337c74,_0x567bb4,_0x185326);},'_map':_0x419c90(0x343)};function _0x7edd21(_0x2f9f2d,_0x322db8,_0xc2c90f){var _0x443ada=_0x419c90;for(var _0x2e05bb=[],_0x71ef79=0x0,_0x11a845=0x0;_0x11a845<_0x322db8;_0x11a845++)if(_0x11a845%0x4){var _0x3d2fb8=_0xc2c90f[_0x2f9f2d['charCodeAt'](_0x11a845-0x1)]<<_0x11a845%0x4*0x2,_0x32da93=_0xc2c90f[_0x2f9f2d[_0x443ada(0x45b)](_0x11a845)]>>>0x6-_0x11a845%0x4*0x2,_0x247007=_0x3d2fb8|_0x32da93;_0x2e05bb[_0x71ef79>>>0x2]|=_0x247007<<0x18-_0x71ef79%0x4*0x8,_0x71ef79++;}return _0x178a65['create'](_0x2e05bb,_0x71ef79);}}()),_0x2bb81d[_0x17b000(0x543)][_0x17b000(0x3bb)];}));}(_0xd9416d)),_0xd9416d[_0x29b393(0x513)];}var _0x4d565f={'exports':{}},_0x29d67f=_0x4d565f['exports'],_0x58f96f;function _0x939ff5(){var _0x27577b=_0x9c17ab;return _0x58f96f||(_0x58f96f=0x1,function(_0x1ab2de,_0x48ec78){(function(_0x357ee1,_0x3862f4){var _0x57f671=_0x2a48;_0x1ab2de[_0x57f671(0x513)]=_0x3862f4(_0xce6121());}(_0x29d67f,function(_0x21d4e1){return function(_0x43914f){var _0x5490c4=_0x2a48,_0x1913d3=_0x21d4e1,_0x4c2dd8=_0x1913d3[_0x5490c4(0x3e0)],_0x117ba4=_0x4c2dd8[_0x5490c4(0x3fd)],_0x44ee59=_0x4c2dd8[_0x5490c4(0x39b)],_0x1d9f6c=_0x1913d3[_0x5490c4(0x443)],_0x48558f=[];(function(){var _0x5d246a=_0x5490c4;for(var _0x3475b0=0x0;_0x3475b0<0x40;_0x3475b0++)_0x48558f[_0x3475b0]=_0x43914f[_0x5d246a(0x4d9)](_0x43914f[_0x5d246a(0x2fc)](_0x3475b0+0x1))*0x100000000|0x0;}());var _0x316aa7=_0x1d9f6c[_0x5490c4(0x4b5)]=_0x44ee59['extend']({'_doReset':function(){var _0x19f3aa=_0x5490c4;this['_hash']=new _0x117ba4[(_0x19f3aa(0x1e6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x634bf2,_0x22241c){var _0x1ee3c7=_0x5490c4;for(var _0x3add3a=0x0;_0x3add3a<0x10;_0x3add3a++){var _0x5ebc70=_0x22241c+_0x3add3a,_0x3a6bda=_0x634bf2[_0x5ebc70];_0x634bf2[_0x5ebc70]=(_0x3a6bda<<0x8|_0x3a6bda>>>0x18)&0xff00ff|(_0x3a6bda<<0x18|_0x3a6bda>>>0x8)&0xff00ff00;}var _0x1853c=this[_0x1ee3c7(0x444)][_0x1ee3c7(0x1b5)],_0xf23a90=_0x634bf2[_0x22241c+0x0],_0x3d9d42=_0x634bf2[_0x22241c+0x1],_0x31d3b7=_0x634bf2[_0x22241c+0x2],_0x93d99a=_0x634bf2[_0x22241c+0x3],_0x44ed11=_0x634bf2[_0x22241c+0x4],_0x1af70a=_0x634bf2[_0x22241c+0x5],_0x42054e=_0x634bf2[_0x22241c+0x6],_0x4c3f62=_0x634bf2[_0x22241c+0x7],_0x465522=_0x634bf2[_0x22241c+0x8],_0x3a6718=_0x634bf2[_0x22241c+0x9],_0x2aab14=_0x634bf2[_0x22241c+0xa],_0x26a5be=_0x634bf2[_0x22241c+0xb],_0x3fee70=_0x634bf2[_0x22241c+0xc],_0x443cf6=_0x634bf2[_0x22241c+0xd],_0x354ed7=_0x634bf2[_0x22241c+0xe],_0xcbb72b=_0x634bf2[_0x22241c+0xf],_0x2c5638=_0x1853c[0x0],_0x4ab1f0=_0x1853c[0x1],_0x54de1f=_0x1853c[0x2],_0x1cb248=_0x1853c[0x3];_0x2c5638=_0x5a08c4(_0x2c5638,_0x4ab1f0,_0x54de1f,_0x1cb248,_0xf23a90,0x7,_0x48558f[0x0]),_0x1cb248=_0x5a08c4(_0x1cb248,_0x2c5638,_0x4ab1f0,_0x54de1f,_0x3d9d42,0xc,_0x48558f[0x1]),_0x54de1f=_0x5a08c4(_0x54de1f,_0x1cb248,_0x2c5638,_0x4ab1f0,_0x31d3b7,0x11,_0x48558f[0x2]),_0x4ab1f0=_0x5a08c4(_0x4ab1f0,_0x54de1f,_0x1cb248,_0x2c5638,_0x93d99a,0x16,_0x48558f[0x3]),_0x2c5638=_0x5a08c4(_0x2c5638,_0x4ab1f0,_0x54de1f,_0x1cb248,_0x44ed11,0x7,_0x48558f[0x4]),_0x1cb248=_0x5a08c4(_0x1cb248,_0x2c5638,_0x4ab1f0,_0x54de1f,_0x1af70a,0xc,_0x48558f[0x5]),_0x54de1f=_0x5a08c4(_0x54de1f,_0x1cb248,_0x2c5638,_0x4ab1f0,_0x42054e,0x11,_0x48558f[0x6]),_0x4ab1f0=_0x5a08c4(_0x4ab1f0,_0x54de1f,_0x1cb248,_0x2c5638,_0x4c3f62,0x16,_0x48558f[0x7]),_0x2c5638=_0x5a08c4(_0x2c5638,_0x4ab1f0,_0x54de1f,_0x1cb248,_0x465522,0x7,_0x48558f[0x8]),_0x1cb248=_0x5a08c4(_0x1cb248,_0x2c5638,_0x4ab1f0,_0x54de1f,_0x3a6718,0xc,_0x48558f[0x9]),_0x54de1f=_0x5a08c4(_0x54de1f,_0x1cb248,_0x2c5638,_0x4ab1f0,_0x2aab14,0x11,_0x48558f[0xa]),_0x4ab1f0=_0x5a08c4(_0x4ab1f0,_0x54de1f,_0x1cb248,_0x2c5638,_0x26a5be,0x16,_0x48558f[0xb]),_0x2c5638=_0x5a08c4(_0x2c5638,_0x4ab1f0,_0x54de1f,_0x1cb248,_0x3fee70,0x7,_0x48558f[0xc]),_0x1cb248=_0x5a08c4(_0x1cb248,_0x2c5638,_0x4ab1f0,_0x54de1f,_0x443cf6,0xc,_0x48558f[0xd]),_0x54de1f=_0x5a08c4(_0x54de1f,_0x1cb248,_0x2c5638,_0x4ab1f0,_0x354ed7,0x11,_0x48558f[0xe]),_0x4ab1f0=_0x5a08c4(_0x4ab1f0,_0x54de1f,_0x1cb248,_0x2c5638,_0xcbb72b,0x16,_0x48558f[0xf]),_0x2c5638=_0x28fff9(_0x2c5638,_0x4ab1f0,_0x54de1f,_0x1cb248,_0x3d9d42,0x5,_0x48558f[0x10]),_0x1cb248=_0x28fff9(_0x1cb248,_0x2c5638,_0x4ab1f0,_0x54de1f,_0x42054e,0x9,_0x48558f[0x11]),_0x54de1f=_0x28fff9(_0x54de1f,_0x1cb248,_0x2c5638,_0x4ab1f0,_0x26a5be,0xe,_0x48558f[0x12]),_0x4ab1f0=_0x28fff9(_0x4ab1f0,_0x54de1f,_0x1cb248,_0x2c5638,_0xf23a90,0x14,_0x48558f[0x13]),_0x2c5638=_0x28fff9(_0x2c5638,_0x4ab1f0,_0x54de1f,_0x1cb248,_0x1af70a,0x5,_0x48558f[0x14]),_0x1cb248=_0x28fff9(_0x1cb248,_0x2c5638,_0x4ab1f0,_0x54de1f,_0x2aab14,0x9,_0x48558f[0x15]),_0x54de1f=_0x28fff9(_0x54de1f,_0x1cb248,_0x2c5638,_0x4ab1f0,_0xcbb72b,0xe,_0x48558f[0x16]),_0x4ab1f0=_0x28fff9(_0x4ab1f0,_0x54de1f,_0x1cb248,_0x2c5638,_0x44ed11,0x14,_0x48558f[0x17]),_0x2c5638=_0x28fff9(_0x2c5638,_0x4ab1f0,_0x54de1f,_0x1cb248,_0x3a6718,0x5,_0x48558f[0x18]),_0x1cb248=_0x28fff9(_0x1cb248,_0x2c5638,_0x4ab1f0,_0x54de1f,_0x354ed7,0x9,_0x48558f[0x19]),_0x54de1f=_0x28fff9(_0x54de1f,_0x1cb248,_0x2c5638,_0x4ab1f0,_0x93d99a,0xe,_0x48558f[0x1a]),_0x4ab1f0=_0x28fff9(_0x4ab1f0,_0x54de1f,_0x1cb248,_0x2c5638,_0x465522,0x14,_0x48558f[0x1b]),_0x2c5638=_0x28fff9(_0x2c5638,_0x4ab1f0,_0x54de1f,_0x1cb248,_0x443cf6,0x5,_0x48558f[0x1c]),_0x1cb248=_0x28fff9(_0x1cb248,_0x2c5638,_0x4ab1f0,_0x54de1f,_0x31d3b7,0x9,_0x48558f[0x1d]),_0x54de1f=_0x28fff9(_0x54de1f,_0x1cb248,_0x2c5638,_0x4ab1f0,_0x4c3f62,0xe,_0x48558f[0x1e]),_0x4ab1f0=_0x28fff9(_0x4ab1f0,_0x54de1f,_0x1cb248,_0x2c5638,_0x3fee70,0x14,_0x48558f[0x1f]),_0x2c5638=_0x5b7240(_0x2c5638,_0x4ab1f0,_0x54de1f,_0x1cb248,_0x1af70a,0x4,_0x48558f[0x20]),_0x1cb248=_0x5b7240(_0x1cb248,_0x2c5638,_0x4ab1f0,_0x54de1f,_0x465522,0xb,_0x48558f[0x21]),_0x54de1f=_0x5b7240(_0x54de1f,_0x1cb248,_0x2c5638,_0x4ab1f0,_0x26a5be,0x10,_0x48558f[0x22]),_0x4ab1f0=_0x5b7240(_0x4ab1f0,_0x54de1f,_0x1cb248,_0x2c5638,_0x354ed7,0x17,_0x48558f[0x23]),_0x2c5638=_0x5b7240(_0x2c5638,_0x4ab1f0,_0x54de1f,_0x1cb248,_0x3d9d42,0x4,_0x48558f[0x24]),_0x1cb248=_0x5b7240(_0x1cb248,_0x2c5638,_0x4ab1f0,_0x54de1f,_0x44ed11,0xb,_0x48558f[0x25]),_0x54de1f=_0x5b7240(_0x54de1f,_0x1cb248,_0x2c5638,_0x4ab1f0,_0x4c3f62,0x10,_0x48558f[0x26]),_0x4ab1f0=_0x5b7240(_0x4ab1f0,_0x54de1f,_0x1cb248,_0x2c5638,_0x2aab14,0x17,_0x48558f[0x27]),_0x2c5638=_0x5b7240(_0x2c5638,_0x4ab1f0,_0x54de1f,_0x1cb248,_0x443cf6,0x4,_0x48558f[0x28]),_0x1cb248=_0x5b7240(_0x1cb248,_0x2c5638,_0x4ab1f0,_0x54de1f,_0xf23a90,0xb,_0x48558f[0x29]),_0x54de1f=_0x5b7240(_0x54de1f,_0x1cb248,_0x2c5638,_0x4ab1f0,_0x93d99a,0x10,_0x48558f[0x2a]),_0x4ab1f0=_0x5b7240(_0x4ab1f0,_0x54de1f,_0x1cb248,_0x2c5638,_0x42054e,0x17,_0x48558f[0x2b]),_0x2c5638=_0x5b7240(_0x2c5638,_0x4ab1f0,_0x54de1f,_0x1cb248,_0x3a6718,0x4,_0x48558f[0x2c]),_0x1cb248=_0x5b7240(_0x1cb248,_0x2c5638,_0x4ab1f0,_0x54de1f,_0x3fee70,0xb,_0x48558f[0x2d]),_0x54de1f=_0x5b7240(_0x54de1f,_0x1cb248,_0x2c5638,_0x4ab1f0,_0xcbb72b,0x10,_0x48558f[0x2e]),_0x4ab1f0=_0x5b7240(_0x4ab1f0,_0x54de1f,_0x1cb248,_0x2c5638,_0x31d3b7,0x17,_0x48558f[0x2f]),_0x2c5638=_0x250b5d(_0x2c5638,_0x4ab1f0,_0x54de1f,_0x1cb248,_0xf23a90,0x6,_0x48558f[0x30]),_0x1cb248=_0x250b5d(_0x1cb248,_0x2c5638,_0x4ab1f0,_0x54de1f,_0x4c3f62,0xa,_0x48558f[0x31]),_0x54de1f=_0x250b5d(_0x54de1f,_0x1cb248,_0x2c5638,_0x4ab1f0,_0x354ed7,0xf,_0x48558f[0x32]),_0x4ab1f0=_0x250b5d(_0x4ab1f0,_0x54de1f,_0x1cb248,_0x2c5638,_0x1af70a,0x15,_0x48558f[0x33]),_0x2c5638=_0x250b5d(_0x2c5638,_0x4ab1f0,_0x54de1f,_0x1cb248,_0x3fee70,0x6,_0x48558f[0x34]),_0x1cb248=_0x250b5d(_0x1cb248,_0x2c5638,_0x4ab1f0,_0x54de1f,_0x93d99a,0xa,_0x48558f[0x35]),_0x54de1f=_0x250b5d(_0x54de1f,_0x1cb248,_0x2c5638,_0x4ab1f0,_0x2aab14,0xf,_0x48558f[0x36]),_0x4ab1f0=_0x250b5d(_0x4ab1f0,_0x54de1f,_0x1cb248,_0x2c5638,_0x3d9d42,0x15,_0x48558f[0x37]),_0x2c5638=_0x250b5d(_0x2c5638,_0x4ab1f0,_0x54de1f,_0x1cb248,_0x465522,0x6,_0x48558f[0x38]),_0x1cb248=_0x250b5d(_0x1cb248,_0x2c5638,_0x4ab1f0,_0x54de1f,_0xcbb72b,0xa,_0x48558f[0x39]),_0x54de1f=_0x250b5d(_0x54de1f,_0x1cb248,_0x2c5638,_0x4ab1f0,_0x42054e,0xf,_0x48558f[0x3a]),_0x4ab1f0=_0x250b5d(_0x4ab1f0,_0x54de1f,_0x1cb248,_0x2c5638,_0x443cf6,0x15,_0x48558f[0x3b]),_0x2c5638=_0x250b5d(_0x2c5638,_0x4ab1f0,_0x54de1f,_0x1cb248,_0x44ed11,0x6,_0x48558f[0x3c]),_0x1cb248=_0x250b5d(_0x1cb248,_0x2c5638,_0x4ab1f0,_0x54de1f,_0x26a5be,0xa,_0x48558f[0x3d]),_0x54de1f=_0x250b5d(_0x54de1f,_0x1cb248,_0x2c5638,_0x4ab1f0,_0x31d3b7,0xf,_0x48558f[0x3e]),_0x4ab1f0=_0x250b5d(_0x4ab1f0,_0x54de1f,_0x1cb248,_0x2c5638,_0x3a6718,0x15,_0x48558f[0x3f]),_0x1853c[0x0]=_0x1853c[0x0]+_0x2c5638|0x0,_0x1853c[0x1]=_0x1853c[0x1]+_0x4ab1f0|0x0,_0x1853c[0x2]=_0x1853c[0x2]+_0x54de1f|0x0,_0x1853c[0x3]=_0x1853c[0x3]+_0x1cb248|0x0;},'_doFinalize':function(){var _0x37ebf4=_0x5490c4,_0x35858b=this['_data'],_0x3a2641=_0x35858b[_0x37ebf4(0x1b5)],_0x5a8a31=this['_nDataBytes']*0x8,_0x1b25af=_0x35858b[_0x37ebf4(0x286)]*0x8;_0x3a2641[_0x1b25af>>>0x5]|=0x80<<0x18-_0x1b25af%0x20;var _0x5686ca=_0x43914f[_0x37ebf4(0x2f1)](_0x5a8a31/0x100000000),_0x2cc8cd=_0x5a8a31;_0x3a2641[(_0x1b25af+0x40>>>0x9<<0x4)+0xf]=(_0x5686ca<<0x8|_0x5686ca>>>0x18)&0xff00ff|(_0x5686ca<<0x18|_0x5686ca>>>0x8)&0xff00ff00,_0x3a2641[(_0x1b25af+0x40>>>0x9<<0x4)+0xe]=(_0x2cc8cd<<0x8|_0x2cc8cd>>>0x18)&0xff00ff|(_0x2cc8cd<<0x18|_0x2cc8cd>>>0x8)&0xff00ff00,_0x35858b[_0x37ebf4(0x286)]=(_0x3a2641['length']+0x1)*0x4,this[_0x37ebf4(0x4a2)]();for(var _0x8b3c93=this[_0x37ebf4(0x444)],_0x4ce907=_0x8b3c93[_0x37ebf4(0x1b5)],_0x211c73=0x0;_0x211c73<0x4;_0x211c73++){var _0x553f44=_0x4ce907[_0x211c73];_0x4ce907[_0x211c73]=(_0x553f44<<0x8|_0x553f44>>>0x18)&0xff00ff|(_0x553f44<<0x18|_0x553f44>>>0x8)&0xff00ff00;}return _0x8b3c93;},'clone':function(){var _0x59781c=_0x5490c4,_0x2a1bf9=_0x44ee59[_0x59781c(0x3b6)]['call'](this);return _0x2a1bf9[_0x59781c(0x444)]=this['_hash'][_0x59781c(0x3b6)](),_0x2a1bf9;}});function _0x5a08c4(_0x2dc440,_0x4c34f9,_0xd20b4b,_0x109003,_0x1a7dd0,_0x2a2fa2,_0xf99e10){var _0x54f05b=_0x2dc440+(_0x4c34f9&_0xd20b4b|~_0x4c34f9&_0x109003)+_0x1a7dd0+_0xf99e10;return(_0x54f05b<<_0x2a2fa2|_0x54f05b>>>0x20-_0x2a2fa2)+_0x4c34f9;}function _0x28fff9(_0x1a4608,_0x316448,_0x4ece79,_0x7ef334,_0x251f3f,_0x12b9bb,_0x2ceaf8){var _0x364d8d=_0x1a4608+(_0x316448&_0x7ef334|_0x4ece79&~_0x7ef334)+_0x251f3f+_0x2ceaf8;return(_0x364d8d<<_0x12b9bb|_0x364d8d>>>0x20-_0x12b9bb)+_0x316448;}function _0x5b7240(_0x12296d,_0x56f6d7,_0xfa5769,_0x3faeb3,_0x4ec2e4,_0x3bf9d5,_0x5473d5){var _0x5b2661=_0x12296d+(_0x56f6d7^_0xfa5769^_0x3faeb3)+_0x4ec2e4+_0x5473d5;return(_0x5b2661<<_0x3bf9d5|_0x5b2661>>>0x20-_0x3bf9d5)+_0x56f6d7;}function _0x250b5d(_0x59b4cc,_0x5cba8e,_0x47843c,_0x4debd4,_0xaf509f,_0x1546af,_0x1e5bf7){var _0x508315=_0x59b4cc+(_0x47843c^(_0x5cba8e|~_0x4debd4))+_0xaf509f+_0x1e5bf7;return(_0x508315<<_0x1546af|_0x508315>>>0x20-_0x1546af)+_0x5cba8e;}_0x1913d3['MD5']=_0x44ee59[_0x5490c4(0x1fc)](_0x316aa7),_0x1913d3[_0x5490c4(0x468)]=_0x44ee59[_0x5490c4(0x509)](_0x316aa7);}(Math),_0x21d4e1['MD5'];}));}(_0x4d565f)),_0x4d565f[_0x27577b(0x513)];}var _0x4d4c35={'exports':{}},_0xebce64={'exports':{}},_0x4e01cb=_0xebce64[_0x9c17ab(0x513)],_0x4c2086;function _0x3bfbfd(){return _0x4c2086||(_0x4c2086=0x1,function(_0x3ac325,_0xa276){(function(_0x4bcdf5,_0x3823fd){var _0x424d45=_0x2a48;_0x3ac325[_0x424d45(0x513)]=_0x3823fd(_0xce6121());}(_0x4e01cb,function(_0x2d8d6b){var _0x556b92=_0x2a48;return(function(){var _0x32be82=_0x2a48,_0x18c708=_0x2d8d6b,_0x6128f6=_0x18c708[_0x32be82(0x3e0)],_0x4da0bb=_0x6128f6[_0x32be82(0x3fd)],_0x439ec0=_0x6128f6['Hasher'],_0x48080d=_0x18c708[_0x32be82(0x443)],_0x3e25e1=[],_0x5d15e3=_0x48080d['SHA1']=_0x439ec0[_0x32be82(0x530)]({'_doReset':function(){this['_hash']=new _0x4da0bb['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4c96d1,_0xc77d45){var _0x4fabe5=_0x32be82;for(var _0x315037=this[_0x4fabe5(0x444)][_0x4fabe5(0x1b5)],_0x2e1198=_0x315037[0x0],_0x3df62e=_0x315037[0x1],_0x4c59ec=_0x315037[0x2],_0x5131d5=_0x315037[0x3],_0x3672d0=_0x315037[0x4],_0x2392f3=0x0;_0x2392f3<0x50;_0x2392f3++){if(_0x2392f3<0x10)_0x3e25e1[_0x2392f3]=_0x4c96d1[_0xc77d45+_0x2392f3]|0x0;else{var _0x5b834f=_0x3e25e1[_0x2392f3-0x3]^_0x3e25e1[_0x2392f3-0x8]^_0x3e25e1[_0x2392f3-0xe]^_0x3e25e1[_0x2392f3-0x10];_0x3e25e1[_0x2392f3]=_0x5b834f<<0x1|_0x5b834f>>>0x1f;}var _0x59f8dc=(_0x2e1198<<0x5|_0x2e1198>>>0x1b)+_0x3672d0+_0x3e25e1[_0x2392f3];_0x2392f3<0x14?_0x59f8dc+=(_0x3df62e&_0x4c59ec|~_0x3df62e&_0x5131d5)+0x5a827999:_0x2392f3<0x28?_0x59f8dc+=(_0x3df62e^_0x4c59ec^_0x5131d5)+0x6ed9eba1:_0x2392f3<0x3c?_0x59f8dc+=(_0x3df62e&_0x4c59ec|_0x3df62e&_0x5131d5|_0x4c59ec&_0x5131d5)-0x70e44324:_0x59f8dc+=(_0x3df62e^_0x4c59ec^_0x5131d5)-0x359d3e2a,_0x3672d0=_0x5131d5,_0x5131d5=_0x4c59ec,_0x4c59ec=_0x3df62e<<0x1e|_0x3df62e>>>0x2,_0x3df62e=_0x2e1198,_0x2e1198=_0x59f8dc;}_0x315037[0x0]=_0x315037[0x0]+_0x2e1198|0x0,_0x315037[0x1]=_0x315037[0x1]+_0x3df62e|0x0,_0x315037[0x2]=_0x315037[0x2]+_0x4c59ec|0x0,_0x315037[0x3]=_0x315037[0x3]+_0x5131d5|0x0,_0x315037[0x4]=_0x315037[0x4]+_0x3672d0|0x0;},'_doFinalize':function(){var _0xd1d82b=_0x32be82,_0x4ec185=this['_data'],_0x2a0b71=_0x4ec185[_0xd1d82b(0x1b5)],_0x352f71=this[_0xd1d82b(0x383)]*0x8,_0x3874ef=_0x4ec185[_0xd1d82b(0x286)]*0x8;return _0x2a0b71[_0x3874ef>>>0x5]|=0x80<<0x18-_0x3874ef%0x20,_0x2a0b71[(_0x3874ef+0x40>>>0x9<<0x4)+0xe]=Math[_0xd1d82b(0x2f1)](_0x352f71/0x100000000),_0x2a0b71[(_0x3874ef+0x40>>>0x9<<0x4)+0xf]=_0x352f71,_0x4ec185[_0xd1d82b(0x286)]=_0x2a0b71['length']*0x4,this[_0xd1d82b(0x4a2)](),this['_hash'];},'clone':function(){var _0x1c711d=_0x32be82,_0x4dd9e1=_0x439ec0[_0x1c711d(0x3b6)][_0x1c711d(0x22f)](this);return _0x4dd9e1[_0x1c711d(0x444)]=this[_0x1c711d(0x444)]['clone'](),_0x4dd9e1;}});_0x18c708[_0x32be82(0x515)]=_0x439ec0[_0x32be82(0x1fc)](_0x5d15e3),_0x18c708[_0x32be82(0x244)]=_0x439ec0[_0x32be82(0x509)](_0x5d15e3);}()),_0x2d8d6b[_0x556b92(0x515)];}));}(_0xebce64)),_0xebce64['exports'];}var _0x1aaf62={'exports':{}},_0x16bbaa=_0x1aaf62[_0x9c17ab(0x513)],_0x4ff519;function _0x1b9a97(){var _0x475737=_0x9c17ab;return _0x4ff519||(_0x4ff519=0x1,function(_0x230cdd,_0x2739f4){(function(_0x587073,_0x2ac9d8){var _0x153d69=_0x2a48;_0x230cdd[_0x153d69(0x513)]=_0x2ac9d8(_0xce6121());}(_0x16bbaa,function(_0x246a70){(function(){var _0x17ead6=_0x2a48,_0x9e91f5=_0x246a70,_0x99c5ba=_0x9e91f5['lib'],_0x9f65a5=_0x99c5ba[_0x17ead6(0x3dd)],_0x42980e=_0x9e91f5[_0x17ead6(0x543)],_0x3a1447=_0x42980e[_0x17ead6(0x4df)],_0x25a7d7=_0x9e91f5[_0x17ead6(0x443)];_0x25a7d7[_0x17ead6(0x367)]=_0x9f65a5[_0x17ead6(0x530)]({'init':function(_0x1444eb,_0x457178){var _0x5dad6e=_0x17ead6;_0x1444eb=this['_hasher']=new _0x1444eb[(_0x5dad6e(0x1e6))](),typeof _0x457178==_0x5dad6e(0x2dd)&&(_0x457178=_0x3a1447['parse'](_0x457178));var _0x49a6f2=_0x1444eb[_0x5dad6e(0x451)],_0x27d0f9=_0x49a6f2*0x4;_0x457178['sigBytes']>_0x27d0f9&&(_0x457178=_0x1444eb[_0x5dad6e(0x209)](_0x457178)),_0x457178[_0x5dad6e(0x471)]();for(var _0xadfbba=this['_oKey']=_0x457178['clone'](),_0x50adaf=this[_0x5dad6e(0x304)]=_0x457178[_0x5dad6e(0x3b6)](),_0xbbd8c7=_0xadfbba[_0x5dad6e(0x1b5)],_0x445cd0=_0x50adaf[_0x5dad6e(0x1b5)],_0x2eebb2=0x0;_0x2eebb2<_0x49a6f2;_0x2eebb2++)_0xbbd8c7[_0x2eebb2]^=0x5c5c5c5c,_0x445cd0[_0x2eebb2]^=0x36363636;_0xadfbba[_0x5dad6e(0x286)]=_0x50adaf['sigBytes']=_0x27d0f9,this[_0x5dad6e(0x3ca)]();},'reset':function(){var _0x1bb8d0=_0x17ead6,_0x2831ea=this[_0x1bb8d0(0x47a)];_0x2831ea[_0x1bb8d0(0x3ca)](),_0x2831ea[_0x1bb8d0(0x50b)](this[_0x1bb8d0(0x304)]);},'update':function(_0x6343e3){var _0x50b36c=_0x17ead6;return this[_0x50b36c(0x47a)][_0x50b36c(0x50b)](_0x6343e3),this;},'finalize':function(_0x1f7cf2){var _0x1b7a5d=_0x17ead6,_0x46c1ad=this['_hasher'],_0x47e5ef=_0x46c1ad[_0x1b7a5d(0x209)](_0x1f7cf2);_0x46c1ad['reset']();var _0x17f289=_0x46c1ad[_0x1b7a5d(0x209)](this[_0x1b7a5d(0x270)][_0x1b7a5d(0x3b6)]()[_0x1b7a5d(0x38c)](_0x47e5ef));return _0x17f289;}});}());}));}(_0x1aaf62)),_0x1aaf62[_0x475737(0x513)];}var _0x5818af=_0x4d4c35[_0x9c17ab(0x513)],_0x596468;function _0x2b0d54(){var _0x5cf92c=_0x9c17ab;return _0x596468||(_0x596468=0x1,function(_0x2f0b7c,_0x50f759){(function(_0xa4d9bc,_0x4b8900,_0x4863bb){var _0x5aa101=_0x2a48;_0x2f0b7c[_0x5aa101(0x513)]=_0x4b8900(_0xce6121(),_0x3bfbfd(),_0x1b9a97());}(_0x5818af,function(_0x29e6fe){var _0x25c29d=_0x2a48;return(function(){var _0x23bc6f=_0x2a48,_0x340f24=_0x29e6fe,_0x10039c=_0x340f24['lib'],_0x55d1b8=_0x10039c[_0x23bc6f(0x3dd)],_0x2e4438=_0x10039c['WordArray'],_0x137748=_0x340f24[_0x23bc6f(0x443)],_0x4d4105=_0x137748['MD5'],_0x317195=_0x137748[_0x23bc6f(0x3a6)]=_0x55d1b8[_0x23bc6f(0x530)]({'cfg':_0x55d1b8[_0x23bc6f(0x530)]({'keySize':0x80/0x20,'hasher':_0x4d4105,'iterations':0x1}),'init':function(_0x530a8d){var _0x3c71da=_0x23bc6f;this['cfg']=this[_0x3c71da(0x32b)]['extend'](_0x530a8d);},'compute':function(_0x4c5cef,_0x1cf50f){var _0x585b2b=_0x23bc6f;for(var _0x1be742,_0x21f11d=this[_0x585b2b(0x32b)],_0x5abbcb=_0x21f11d['hasher'][_0x585b2b(0x255)](),_0x34562c=_0x2e4438[_0x585b2b(0x255)](),_0x17d744=_0x34562c[_0x585b2b(0x1b5)],_0x2ab7ab=_0x21f11d[_0x585b2b(0x4cc)],_0x1023d9=_0x21f11d['iterations'];_0x17d744[_0x585b2b(0x4cf)]<_0x2ab7ab;){_0x1be742&&_0x5abbcb['update'](_0x1be742),_0x1be742=_0x5abbcb[_0x585b2b(0x50b)](_0x4c5cef)[_0x585b2b(0x209)](_0x1cf50f),_0x5abbcb[_0x585b2b(0x3ca)]();for(var _0x55c41f=0x1;_0x55c41f<_0x1023d9;_0x55c41f++)_0x1be742=_0x5abbcb[_0x585b2b(0x209)](_0x1be742),_0x5abbcb['reset']();_0x34562c[_0x585b2b(0x38c)](_0x1be742);}return _0x34562c[_0x585b2b(0x286)]=_0x2ab7ab*0x4,_0x34562c;}});_0x340f24['EvpKDF']=function(_0x571d49,_0x1377e2,_0x26e554){var _0x5f5473=_0x23bc6f;return _0x317195[_0x5f5473(0x255)](_0x26e554)['compute'](_0x571d49,_0x1377e2);};}()),_0x29e6fe[_0x25c29d(0x3a6)];}));}(_0x4d4c35)),_0x4d4c35[_0x5cf92c(0x513)];}var _0x548a2e={'exports':{}},_0x5abe55=_0x548a2e[_0x9c17ab(0x513)],_0x11cdab;function _0x4ccfb0(){var _0x4483f3=_0x9c17ab;return _0x11cdab||(_0x11cdab=0x1,function(_0x231440,_0x32e9a5){(function(_0x9ca737,_0x4af9a0,_0xe12e6c){var _0x7b1fb=_0x2a48;_0x231440[_0x7b1fb(0x513)]=_0x4af9a0(_0xce6121(),_0x2b0d54());}(_0x5abe55,function(_0x12a539){var _0x51cedb=_0x2a48;_0x12a539['lib'][_0x51cedb(0x1dd)]||function(_0x5b6e93){var _0x44b743=_0x51cedb,_0x3b29ec=_0x12a539,_0x5a97e8=_0x3b29ec['lib'],_0x27c3a5=_0x5a97e8[_0x44b743(0x3dd)],_0x51b79a=_0x5a97e8[_0x44b743(0x3fd)],_0x115233=_0x5a97e8[_0x44b743(0x490)],_0x1f6be4=_0x3b29ec[_0x44b743(0x543)];_0x1f6be4[_0x44b743(0x4df)];var _0x47c102=_0x1f6be4['Base64'],_0x1a09ae=_0x3b29ec[_0x44b743(0x443)],_0x213186=_0x1a09ae[_0x44b743(0x3a6)],_0x39ef80=_0x5a97e8[_0x44b743(0x1dd)]=_0x115233[_0x44b743(0x530)]({'cfg':_0x27c3a5[_0x44b743(0x530)](),'createEncryptor':function(_0x57cd54,_0x308eea){var _0x2754eb=_0x44b743;return this[_0x2754eb(0x255)](this[_0x2754eb(0x4b2)],_0x57cd54,_0x308eea);},'createDecryptor':function(_0x36e001,_0x3ffe8a){return this['create'](this['_DEC_XFORM_MODE'],_0x36e001,_0x3ffe8a);},'init':function(_0x475bc2,_0x234d9f,_0x446781){var _0x239955=_0x44b743;this[_0x239955(0x32b)]=this[_0x239955(0x32b)]['extend'](_0x446781),this[_0x239955(0x389)]=_0x475bc2,this['_key']=_0x234d9f,this[_0x239955(0x3ca)]();},'reset':function(){var _0x1a870e=_0x44b743;_0x115233[_0x1a870e(0x3ca)][_0x1a870e(0x22f)](this),this[_0x1a870e(0x4c1)]();},'process':function(_0x38f19c){var _0x1ae8ee=_0x44b743;return this[_0x1ae8ee(0x2ef)](_0x38f19c),this['_process']();},'finalize':function(_0x1ab2c0){var _0x34edc2=_0x44b743;_0x1ab2c0&&this[_0x34edc2(0x2ef)](_0x1ab2c0);var _0x142158=this[_0x34edc2(0x382)]();return _0x142158;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x18e69d(_0x3c2eac){var _0x4f8beb=_0x2a48;return typeof _0x3c2eac==_0x4f8beb(0x2dd)?_0x4d2a4c:_0x1fe048;}return function(_0x7955f2){return{'encrypt':function(_0x59d8f9,_0x5b16b9,_0x3269ad){var _0xd44aaf=_0x2a48;return _0x18e69d(_0x5b16b9)[_0xd44aaf(0x48e)](_0x7955f2,_0x59d8f9,_0x5b16b9,_0x3269ad);},'decrypt':function(_0x90eb4b,_0x18322f,_0x28bae5){return _0x18e69d(_0x18322f)['decrypt'](_0x7955f2,_0x90eb4b,_0x18322f,_0x28bae5);}};};}())});_0x5a97e8[_0x44b743(0x485)]=_0x39ef80['extend']({'_doFinalize':function(){var _0x3c2d35=_0x44b743,_0x478a40=this[_0x3c2d35(0x4a2)](!0x0);return _0x478a40;},'blockSize':0x1});var _0x5a35a0=_0x3b29ec['mode']={},_0x2c4204=_0x5a97e8['BlockCipherMode']=_0x27c3a5[_0x44b743(0x530)]({'createEncryptor':function(_0x36d0b0,_0x91fe22){var _0x590aa7=_0x44b743;return this[_0x590aa7(0x542)][_0x590aa7(0x255)](_0x36d0b0,_0x91fe22);},'createDecryptor':function(_0x342ce4,_0x2949d1){var _0x35ac6d=_0x44b743;return this[_0x35ac6d(0x4b9)][_0x35ac6d(0x255)](_0x342ce4,_0x2949d1);},'init':function(_0x3e453c,_0x2d9b6a){var _0x167408=_0x44b743;this[_0x167408(0x252)]=_0x3e453c,this[_0x167408(0x256)]=_0x2d9b6a;}}),_0x478b74=_0x5a35a0['CBC']=(function(){var _0x133984=_0x44b743,_0x1a8843=_0x2c4204['extend']();_0x1a8843[_0x133984(0x542)]=_0x1a8843[_0x133984(0x530)]({'processBlock':function(_0x520556,_0x56fa0a){var _0x5a2d22=_0x133984,_0x367b22=this[_0x5a2d22(0x252)],_0x10effe=_0x367b22[_0x5a2d22(0x451)];_0x57e9f8[_0x5a2d22(0x22f)](this,_0x520556,_0x56fa0a,_0x10effe),_0x367b22[_0x5a2d22(0x3b1)](_0x520556,_0x56fa0a),this['_prevBlock']=_0x520556[_0x5a2d22(0x365)](_0x56fa0a,_0x56fa0a+_0x10effe);}}),_0x1a8843[_0x133984(0x4b9)]=_0x1a8843[_0x133984(0x530)]({'processBlock':function(_0x1f726a,_0x1f1965){var _0x3f69f6=_0x133984,_0x440199=this[_0x3f69f6(0x252)],_0x3625c2=_0x440199[_0x3f69f6(0x451)],_0x4b2463=_0x1f726a[_0x3f69f6(0x365)](_0x1f1965,_0x1f1965+_0x3625c2);_0x440199['decryptBlock'](_0x1f726a,_0x1f1965),_0x57e9f8[_0x3f69f6(0x22f)](this,_0x1f726a,_0x1f1965,_0x3625c2),this[_0x3f69f6(0x4dd)]=_0x4b2463;}});function _0x57e9f8(_0x59e644,_0x8ad39d,_0x201b83){var _0x297201=_0x133984,_0x496121,_0x271d3f=this['_iv'];_0x271d3f?(_0x496121=_0x271d3f,this[_0x297201(0x256)]=_0x5b6e93):_0x496121=this['_prevBlock'];for(var _0x4211a8=0x0;_0x4211a8<_0x201b83;_0x4211a8++)_0x59e644[_0x8ad39d+_0x4211a8]^=_0x496121[_0x4211a8];}return _0x1a8843;}()),_0x11346d=_0x3b29ec[_0x44b743(0x4a5)]={},_0x25645d=_0x11346d[_0x44b743(0x4f4)]={'pad':function(_0x34f521,_0x2aff06){var _0x57838b=_0x44b743;for(var _0x4ed43e=_0x2aff06*0x4,_0x50ed94=_0x4ed43e-_0x34f521[_0x57838b(0x286)]%_0x4ed43e,_0x3f1481=_0x50ed94<<0x18|_0x50ed94<<0x10|_0x50ed94<<0x8|_0x50ed94,_0x1e751f=[],_0x221f8e=0x0;_0x221f8e<_0x50ed94;_0x221f8e+=0x4)_0x1e751f[_0x57838b(0x53b)](_0x3f1481);var _0x13758a=_0x51b79a[_0x57838b(0x255)](_0x1e751f,_0x50ed94);_0x34f521[_0x57838b(0x38c)](_0x13758a);},'unpad':function(_0x11189c){var _0x287fe2=_0x44b743,_0x2061d3=_0x11189c['words'][_0x11189c[_0x287fe2(0x286)]-0x1>>>0x2]&0xff;_0x11189c[_0x287fe2(0x286)]-=_0x2061d3;}};_0x5a97e8[_0x44b743(0x459)]=_0x39ef80[_0x44b743(0x530)]({'cfg':_0x39ef80[_0x44b743(0x32b)][_0x44b743(0x530)]({'mode':_0x478b74,'padding':_0x25645d}),'reset':function(){var _0x3c0d38=_0x44b743,_0x134d13;_0x39ef80[_0x3c0d38(0x3ca)][_0x3c0d38(0x22f)](this);var _0x144139=this['cfg'],_0x46f77c=_0x144139['iv'],_0x529e3d=_0x144139[_0x3c0d38(0x35d)];this[_0x3c0d38(0x389)]==this[_0x3c0d38(0x4b2)]?_0x134d13=_0x529e3d[_0x3c0d38(0x1e9)]:(_0x134d13=_0x529e3d[_0x3c0d38(0x483)],this[_0x3c0d38(0x285)]=0x1),this[_0x3c0d38(0x3ad)]&&this[_0x3c0d38(0x3ad)]['__creator']==_0x134d13?this[_0x3c0d38(0x3ad)]['init'](this,_0x46f77c&&_0x46f77c[_0x3c0d38(0x1b5)]):(this[_0x3c0d38(0x3ad)]=_0x134d13[_0x3c0d38(0x22f)](_0x529e3d,this,_0x46f77c&&_0x46f77c[_0x3c0d38(0x1b5)]),this[_0x3c0d38(0x3ad)][_0x3c0d38(0x259)]=_0x134d13);},'_doProcessBlock':function(_0x51ab88,_0x2d867b){var _0x4dc286=_0x44b743;this['_mode'][_0x4dc286(0x2b8)](_0x51ab88,_0x2d867b);},'_doFinalize':function(){var _0x474e49=_0x44b743,_0xeba907,_0x6fb037=this[_0x474e49(0x32b)][_0x474e49(0x391)];return this['_xformMode']==this[_0x474e49(0x4b2)]?(_0x6fb037['pad'](this[_0x474e49(0x267)],this[_0x474e49(0x451)]),_0xeba907=this['_process'](!0x0)):(_0xeba907=this[_0x474e49(0x4a2)](!0x0),_0x6fb037[_0x474e49(0x275)](_0xeba907)),_0xeba907;},'blockSize':0x80/0x20});var _0x9a391b=_0x5a97e8[_0x44b743(0x326)]=_0x27c3a5['extend']({'init':function(_0x19cbf1){var _0x46bf85=_0x44b743;this[_0x46bf85(0x51d)](_0x19cbf1);},'toString':function(_0x53c4f8){var _0x51e4cf=_0x44b743;return(_0x53c4f8||this['formatter'])[_0x51e4cf(0x288)](this);}}),_0x3f21e4=_0x3b29ec[_0x44b743(0x2c0)]={},_0x282641=_0x3f21e4['OpenSSL']={'stringify':function(_0x18c9c2){var _0x453db7=_0x44b743,_0x3bb585,_0x3e70c2=_0x18c9c2[_0x453db7(0x327)],_0xf21f71=_0x18c9c2['salt'];return _0xf21f71?_0x3bb585=_0x51b79a[_0x453db7(0x255)]([0x53616c74,0x65645f5f])[_0x453db7(0x38c)](_0xf21f71)['concat'](_0x3e70c2):_0x3bb585=_0x3e70c2,_0x3bb585[_0x453db7(0x2c6)](_0x47c102);},'parse':function(_0xdeeadc){var _0xf5eed2=_0x44b743,_0x3f5c10,_0x322f18=_0x47c102[_0xf5eed2(0x4c8)](_0xdeeadc),_0x51638d=_0x322f18[_0xf5eed2(0x1b5)];return _0x51638d[0x0]==0x53616c74&&_0x51638d[0x1]==0x65645f5f&&(_0x3f5c10=_0x51b79a[_0xf5eed2(0x255)](_0x51638d[_0xf5eed2(0x365)](0x2,0x4)),_0x51638d['splice'](0x0,0x4),_0x322f18[_0xf5eed2(0x286)]-=0x10),_0x9a391b[_0xf5eed2(0x255)]({'ciphertext':_0x322f18,'salt':_0x3f5c10});}},_0x1fe048=_0x5a97e8['SerializableCipher']=_0x27c3a5[_0x44b743(0x530)]({'cfg':_0x27c3a5['extend']({'format':_0x282641}),'encrypt':function(_0x1e0428,_0x46c78d,_0x37c69d,_0x55dfe3){var _0x43962f=_0x44b743;_0x55dfe3=this[_0x43962f(0x32b)]['extend'](_0x55dfe3);var _0x222611=_0x1e0428[_0x43962f(0x1e9)](_0x37c69d,_0x55dfe3),_0x1c689b=_0x222611[_0x43962f(0x209)](_0x46c78d),_0x1cf03a=_0x222611['cfg'];return _0x9a391b[_0x43962f(0x255)]({'ciphertext':_0x1c689b,'key':_0x37c69d,'iv':_0x1cf03a['iv'],'algorithm':_0x1e0428,'mode':_0x1cf03a[_0x43962f(0x35d)],'padding':_0x1cf03a[_0x43962f(0x391)],'blockSize':_0x1e0428[_0x43962f(0x451)],'formatter':_0x55dfe3[_0x43962f(0x2c0)]});},'decrypt':function(_0x528a95,_0x323fd3,_0xe45548,_0x33f585){var _0x3d6b05=_0x44b743;_0x33f585=this[_0x3d6b05(0x32b)][_0x3d6b05(0x530)](_0x33f585),_0x323fd3=this['_parse'](_0x323fd3,_0x33f585[_0x3d6b05(0x2c0)]);var _0x163b36=_0x528a95[_0x3d6b05(0x483)](_0xe45548,_0x33f585)[_0x3d6b05(0x209)](_0x323fd3[_0x3d6b05(0x327)]);return _0x163b36;},'_parse':function(_0x3ec01e,_0x589d55){return typeof _0x3ec01e=='string'?_0x589d55['parse'](_0x3ec01e,this):_0x3ec01e;}}),_0x4104a1=_0x3b29ec[_0x44b743(0x2df)]={},_0x858834=_0x4104a1[_0x44b743(0x48b)]={'execute':function(_0x1e74bd,_0x54a5aa,_0x46f8db,_0x8fea95,_0x57dec2){var _0x5cf08f=_0x44b743;if(_0x8fea95||(_0x8fea95=_0x51b79a['random'](0x40/0x8)),_0x57dec2)var _0xd50ac3=_0x213186[_0x5cf08f(0x255)]({'keySize':_0x54a5aa+_0x46f8db,'hasher':_0x57dec2})[_0x5cf08f(0x4f3)](_0x1e74bd,_0x8fea95);else var _0xd50ac3=_0x213186['create']({'keySize':_0x54a5aa+_0x46f8db})[_0x5cf08f(0x4f3)](_0x1e74bd,_0x8fea95);var _0xdc61ce=_0x51b79a[_0x5cf08f(0x255)](_0xd50ac3[_0x5cf08f(0x1b5)][_0x5cf08f(0x365)](_0x54a5aa),_0x46f8db*0x4);return _0xd50ac3[_0x5cf08f(0x286)]=_0x54a5aa*0x4,_0x9a391b[_0x5cf08f(0x255)]({'key':_0xd50ac3,'iv':_0xdc61ce,'salt':_0x8fea95});}},_0x4d2a4c=_0x5a97e8[_0x44b743(0x246)]=_0x1fe048[_0x44b743(0x530)]({'cfg':_0x1fe048[_0x44b743(0x32b)]['extend']({'kdf':_0x858834}),'encrypt':function(_0x504143,_0x39f5d8,_0x460a89,_0x1cecc9){var _0x3ddb0a=_0x44b743;_0x1cecc9=this[_0x3ddb0a(0x32b)][_0x3ddb0a(0x530)](_0x1cecc9);var _0x11c74a=_0x1cecc9[_0x3ddb0a(0x2df)]['execute'](_0x460a89,_0x504143[_0x3ddb0a(0x4cc)],_0x504143[_0x3ddb0a(0x257)],_0x1cecc9['salt'],_0x1cecc9[_0x3ddb0a(0x2d7)]);_0x1cecc9['iv']=_0x11c74a['iv'];var _0x4e80dd=_0x1fe048[_0x3ddb0a(0x48e)][_0x3ddb0a(0x22f)](this,_0x504143,_0x39f5d8,_0x11c74a[_0x3ddb0a(0x430)],_0x1cecc9);return _0x4e80dd['mixIn'](_0x11c74a),_0x4e80dd;},'decrypt':function(_0x415f99,_0x56406a,_0x2d6f4d,_0x1c8958){var _0x55cd19=_0x44b743;_0x1c8958=this[_0x55cd19(0x32b)][_0x55cd19(0x530)](_0x1c8958),_0x56406a=this[_0x55cd19(0x360)](_0x56406a,_0x1c8958[_0x55cd19(0x2c0)]);var _0x1800e4=_0x1c8958['kdf'][_0x55cd19(0x231)](_0x2d6f4d,_0x415f99['keySize'],_0x415f99[_0x55cd19(0x257)],_0x56406a[_0x55cd19(0x31b)],_0x1c8958[_0x55cd19(0x2d7)]);_0x1c8958['iv']=_0x1800e4['iv'];var _0x209526=_0x1fe048['decrypt'][_0x55cd19(0x22f)](this,_0x415f99,_0x56406a,_0x1800e4[_0x55cd19(0x430)],_0x1c8958);return _0x209526;}});}();}));}(_0x548a2e)),_0x548a2e[_0x4483f3(0x513)];}var _0x26bd2d=_0x1dc772['exports'],_0x972348;function _0x46a07e(){var _0x4d1a17=_0x9c17ab;return _0x972348||(_0x972348=0x1,function(_0xff6b3,_0xb84635){(function(_0xac3483,_0xd9299b,_0x3ef8ea){var _0x281e15=_0x2a48;_0xff6b3[_0x281e15(0x513)]=_0xd9299b(_0xce6121(),_0x3bbec9(),_0x939ff5(),_0x2b0d54(),_0x4ccfb0());}(_0x26bd2d,function(_0x5e927f){var _0x223b48=_0x2a48;return(function(){var _0x423b81=_0x2a48,_0x588656=_0x5e927f,_0x2b5871=_0x588656[_0x423b81(0x3e0)],_0x29e4a9=_0x2b5871['BlockCipher'],_0x57e736=_0x588656[_0x423b81(0x443)],_0xf3628c=[],_0x43ed20=[],_0x3767c2=[],_0x479e28=[],_0x4bb5a8=[],_0x2bb587=[],_0x5d8b34=[],_0x3d102f=[],_0x33055=[],_0x3f6a73=[];(function(){for(var _0x422592=[],_0x4f9246=0x0;_0x4f9246<0x100;_0x4f9246++)_0x4f9246<0x80?_0x422592[_0x4f9246]=_0x4f9246<<0x1:_0x422592[_0x4f9246]=_0x4f9246<<0x1^0x11b;for(var _0x88a0c6=0x0,_0x8911b0=0x0,_0x4f9246=0x0;_0x4f9246<0x100;_0x4f9246++){var _0x260ffd=_0x8911b0^_0x8911b0<<0x1^_0x8911b0<<0x2^_0x8911b0<<0x3^_0x8911b0<<0x4;_0x260ffd=_0x260ffd>>>0x8^_0x260ffd&0xff^0x63,_0xf3628c[_0x88a0c6]=_0x260ffd,_0x43ed20[_0x260ffd]=_0x88a0c6;var _0xb94da2=_0x422592[_0x88a0c6],_0x17f252=_0x422592[_0xb94da2],_0x47a255=_0x422592[_0x17f252],_0x53cec0=_0x422592[_0x260ffd]*0x101^_0x260ffd*0x1010100;_0x3767c2[_0x88a0c6]=_0x53cec0<<0x18|_0x53cec0>>>0x8,_0x479e28[_0x88a0c6]=_0x53cec0<<0x10|_0x53cec0>>>0x10,_0x4bb5a8[_0x88a0c6]=_0x53cec0<<0x8|_0x53cec0>>>0x18,_0x2bb587[_0x88a0c6]=_0x53cec0;var _0x53cec0=_0x47a255*0x1010101^_0x17f252*0x10001^_0xb94da2*0x101^_0x88a0c6*0x1010100;_0x5d8b34[_0x260ffd]=_0x53cec0<<0x18|_0x53cec0>>>0x8,_0x3d102f[_0x260ffd]=_0x53cec0<<0x10|_0x53cec0>>>0x10,_0x33055[_0x260ffd]=_0x53cec0<<0x8|_0x53cec0>>>0x18,_0x3f6a73[_0x260ffd]=_0x53cec0,_0x88a0c6?(_0x88a0c6=_0xb94da2^_0x422592[_0x422592[_0x422592[_0x47a255^_0xb94da2]]],_0x8911b0^=_0x422592[_0x422592[_0x8911b0]]):_0x88a0c6=_0x8911b0=0x1;}}());var _0x45292f=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x406502=_0x57e736['AES']=_0x29e4a9[_0x423b81(0x530)]({'_doReset':function(){var _0x878e72=_0x423b81,_0x1362e2;if(!(this[_0x878e72(0x41c)]&&this[_0x878e72(0x219)]===this[_0x878e72(0x24d)])){for(var _0x23e7bc=this[_0x878e72(0x219)]=this[_0x878e72(0x24d)],_0x33fd57=_0x23e7bc[_0x878e72(0x1b5)],_0xc13509=_0x23e7bc[_0x878e72(0x286)]/0x4,_0x203f89=this[_0x878e72(0x41c)]=_0xc13509+0x6,_0x5f0ab3=(_0x203f89+0x1)*0x4,_0x4963ad=this[_0x878e72(0x3d2)]=[],_0x5a6fd5=0x0;_0x5a6fd5<_0x5f0ab3;_0x5a6fd5++)_0x5a6fd5<_0xc13509?_0x4963ad[_0x5a6fd5]=_0x33fd57[_0x5a6fd5]:(_0x1362e2=_0x4963ad[_0x5a6fd5-0x1],_0x5a6fd5%_0xc13509?_0xc13509>0x6&&_0x5a6fd5%_0xc13509==0x4&&(_0x1362e2=_0xf3628c[_0x1362e2>>>0x18]<<0x18|_0xf3628c[_0x1362e2>>>0x10&0xff]<<0x10|_0xf3628c[_0x1362e2>>>0x8&0xff]<<0x8|_0xf3628c[_0x1362e2&0xff]):(_0x1362e2=_0x1362e2<<0x8|_0x1362e2>>>0x18,_0x1362e2=_0xf3628c[_0x1362e2>>>0x18]<<0x18|_0xf3628c[_0x1362e2>>>0x10&0xff]<<0x10|_0xf3628c[_0x1362e2>>>0x8&0xff]<<0x8|_0xf3628c[_0x1362e2&0xff],_0x1362e2^=_0x45292f[_0x5a6fd5/_0xc13509|0x0]<<0x18),_0x4963ad[_0x5a6fd5]=_0x4963ad[_0x5a6fd5-_0xc13509]^_0x1362e2);for(var _0x215295=this[_0x878e72(0x357)]=[],_0x566310=0x0;_0x566310<_0x5f0ab3;_0x566310++){var _0x5a6fd5=_0x5f0ab3-_0x566310;if(_0x566310%0x4)var _0x1362e2=_0x4963ad[_0x5a6fd5];else var _0x1362e2=_0x4963ad[_0x5a6fd5-0x4];_0x566310<0x4||_0x5a6fd5<=0x4?_0x215295[_0x566310]=_0x1362e2:_0x215295[_0x566310]=_0x5d8b34[_0xf3628c[_0x1362e2>>>0x18]]^_0x3d102f[_0xf3628c[_0x1362e2>>>0x10&0xff]]^_0x33055[_0xf3628c[_0x1362e2>>>0x8&0xff]]^_0x3f6a73[_0xf3628c[_0x1362e2&0xff]];}}},'encryptBlock':function(_0x18bb8e,_0x1e4691){var _0x5bef8f=_0x423b81;this['_doCryptBlock'](_0x18bb8e,_0x1e4691,this[_0x5bef8f(0x3d2)],_0x3767c2,_0x479e28,_0x4bb5a8,_0x2bb587,_0xf3628c);},'decryptBlock':function(_0x24a0e5,_0x13cb79){var _0x3129fa=_0x423b81,_0x45164a=_0x24a0e5[_0x13cb79+0x1];_0x24a0e5[_0x13cb79+0x1]=_0x24a0e5[_0x13cb79+0x3],_0x24a0e5[_0x13cb79+0x3]=_0x45164a,this['_doCryptBlock'](_0x24a0e5,_0x13cb79,this[_0x3129fa(0x357)],_0x5d8b34,_0x3d102f,_0x33055,_0x3f6a73,_0x43ed20);var _0x45164a=_0x24a0e5[_0x13cb79+0x1];_0x24a0e5[_0x13cb79+0x1]=_0x24a0e5[_0x13cb79+0x3],_0x24a0e5[_0x13cb79+0x3]=_0x45164a;},'_doCryptBlock':function(_0x1277a9,_0x1e227d,_0x1f03c8,_0x314730,_0xc7972,_0x39e59d,_0xb5148b,_0x5ebdd7){var _0x4d216b=_0x423b81;for(var _0x8f898f=this[_0x4d216b(0x41c)],_0x47731f=_0x1277a9[_0x1e227d]^_0x1f03c8[0x0],_0x43da98=_0x1277a9[_0x1e227d+0x1]^_0x1f03c8[0x1],_0x5a5c3f=_0x1277a9[_0x1e227d+0x2]^_0x1f03c8[0x2],_0x1a7b48=_0x1277a9[_0x1e227d+0x3]^_0x1f03c8[0x3],_0x206eaa=0x4,_0x3ea82d=0x1;_0x3ea82d<_0x8f898f;_0x3ea82d++){var _0x46f9a9=_0x314730[_0x47731f>>>0x18]^_0xc7972[_0x43da98>>>0x10&0xff]^_0x39e59d[_0x5a5c3f>>>0x8&0xff]^_0xb5148b[_0x1a7b48&0xff]^_0x1f03c8[_0x206eaa++],_0x90bb9b=_0x314730[_0x43da98>>>0x18]^_0xc7972[_0x5a5c3f>>>0x10&0xff]^_0x39e59d[_0x1a7b48>>>0x8&0xff]^_0xb5148b[_0x47731f&0xff]^_0x1f03c8[_0x206eaa++],_0x2ecc2f=_0x314730[_0x5a5c3f>>>0x18]^_0xc7972[_0x1a7b48>>>0x10&0xff]^_0x39e59d[_0x47731f>>>0x8&0xff]^_0xb5148b[_0x43da98&0xff]^_0x1f03c8[_0x206eaa++],_0x1a4a5c=_0x314730[_0x1a7b48>>>0x18]^_0xc7972[_0x47731f>>>0x10&0xff]^_0x39e59d[_0x43da98>>>0x8&0xff]^_0xb5148b[_0x5a5c3f&0xff]^_0x1f03c8[_0x206eaa++];_0x47731f=_0x46f9a9,_0x43da98=_0x90bb9b,_0x5a5c3f=_0x2ecc2f,_0x1a7b48=_0x1a4a5c;}var _0x46f9a9=(_0x5ebdd7[_0x47731f>>>0x18]<<0x18|_0x5ebdd7[_0x43da98>>>0x10&0xff]<<0x10|_0x5ebdd7[_0x5a5c3f>>>0x8&0xff]<<0x8|_0x5ebdd7[_0x1a7b48&0xff])^_0x1f03c8[_0x206eaa++],_0x90bb9b=(_0x5ebdd7[_0x43da98>>>0x18]<<0x18|_0x5ebdd7[_0x5a5c3f>>>0x10&0xff]<<0x10|_0x5ebdd7[_0x1a7b48>>>0x8&0xff]<<0x8|_0x5ebdd7[_0x47731f&0xff])^_0x1f03c8[_0x206eaa++],_0x2ecc2f=(_0x5ebdd7[_0x5a5c3f>>>0x18]<<0x18|_0x5ebdd7[_0x1a7b48>>>0x10&0xff]<<0x10|_0x5ebdd7[_0x47731f>>>0x8&0xff]<<0x8|_0x5ebdd7[_0x43da98&0xff])^_0x1f03c8[_0x206eaa++],_0x1a4a5c=(_0x5ebdd7[_0x1a7b48>>>0x18]<<0x18|_0x5ebdd7[_0x47731f>>>0x10&0xff]<<0x10|_0x5ebdd7[_0x43da98>>>0x8&0xff]<<0x8|_0x5ebdd7[_0x5a5c3f&0xff])^_0x1f03c8[_0x206eaa++];_0x1277a9[_0x1e227d]=_0x46f9a9,_0x1277a9[_0x1e227d+0x1]=_0x90bb9b,_0x1277a9[_0x1e227d+0x2]=_0x2ecc2f,_0x1277a9[_0x1e227d+0x3]=_0x1a4a5c;},'keySize':0x100/0x20});_0x588656['AES']=_0x29e4a9[_0x423b81(0x1fc)](_0x406502);}()),_0x5e927f[_0x223b48(0x348)];}));}(_0x1dc772)),_0x1dc772[_0x4d1a17(0x513)];}var _0x46818b=_0x46a07e();const _0x448997=_0x25cafd(_0x46818b);var _0x40d24a=_0x3bbec9();const _0x3f3b4d=_0x25cafd(_0x40d24a);var _0x374fab={'exports':{}},_0x499c1f=_0x374fab['exports'],_0x318bee;function _0x27b410(){var _0x2033c4=_0x9c17ab;return _0x318bee||(_0x318bee=0x1,function(_0x3bffc4,_0x1d8c72){(function(_0x35cb11,_0x20b403){var _0x2ae568=_0x2a48;_0x3bffc4[_0x2ae568(0x513)]=_0x20b403(_0xce6121());}(_0x499c1f,function(_0x41cded){var _0x27e6f0=_0x2a48;return _0x41cded[_0x27e6f0(0x543)][_0x27e6f0(0x4df)];}));}(_0x374fab)),_0x374fab[_0x2033c4(0x513)];}var _0x36ed99=_0x27b410();const _0x4354ca=_0x25cafd(_0x36ed99);var _0x305d18={'exports':{}},_0x16be6a=_0x305d18[_0x9c17ab(0x513)],_0x1babb9;function _0x471de1(){var _0x2ff664=_0x9c17ab;return _0x1babb9||(_0x1babb9=0x1,function(_0x14493e,_0x20d7dd){(function(_0x217376,_0x5c661d){var _0x493671=_0x2a48;_0x14493e[_0x493671(0x513)]=_0x5c661d(_0xce6121());}(_0x16be6a,function(_0x409508){var _0x190f57=_0x2a48;return(function(){var _0x23e3e2=_0x2a48;if(typeof ArrayBuffer==_0x23e3e2(0x238)){var _0xa52336=_0x409508,_0x36c469=_0xa52336[_0x23e3e2(0x3e0)],_0xbe6348=_0x36c469[_0x23e3e2(0x3fd)],_0x3955a6=_0xbe6348['init'],_0x3956e4=_0xbe6348[_0x23e3e2(0x1e6)]=function(_0x4c1a59){var _0x351f92=_0x23e3e2;if(_0x4c1a59 instanceof ArrayBuffer&&(_0x4c1a59=new Uint8Array(_0x4c1a59)),(_0x4c1a59 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4c1a59 instanceof Uint8ClampedArray||_0x4c1a59 instanceof Int16Array||_0x4c1a59 instanceof Uint16Array||_0x4c1a59 instanceof Int32Array||_0x4c1a59 instanceof Uint32Array||_0x4c1a59 instanceof Float32Array||_0x4c1a59 instanceof Float64Array)&&(_0x4c1a59=new Uint8Array(_0x4c1a59[_0x351f92(0x502)],_0x4c1a59['byteOffset'],_0x4c1a59[_0x351f92(0x33a)])),_0x4c1a59 instanceof Uint8Array){for(var _0x109eb8=_0x4c1a59['byteLength'],_0x26b0a1=[],_0x38e710=0x0;_0x38e710<_0x109eb8;_0x38e710++)_0x26b0a1[_0x38e710>>>0x2]|=_0x4c1a59[_0x38e710]<<0x18-_0x38e710%0x4*0x8;_0x3955a6[_0x351f92(0x22f)](this,_0x26b0a1,_0x109eb8);}else _0x3955a6[_0x351f92(0x3cc)](this,arguments);};_0x3956e4[_0x23e3e2(0x3ec)]=_0xbe6348;}}()),_0x409508['lib'][_0x190f57(0x3fd)];}));}(_0x305d18)),_0x305d18[_0x2ff664(0x513)];}var _0x5c487e=_0x471de1();const _0x444a56=_0x25cafd(_0x5c487e);var _0x2ff8b1={'exports':{}},_0x20095d=_0x2ff8b1[_0x9c17ab(0x513)],_0x553cc5;function _0x5a565b(){var _0x4a12b5=_0x9c17ab;return _0x553cc5||(_0x553cc5=0x1,function(_0x224148,_0x27a5fe){(function(_0x5b0003,_0x55affb,_0xef1c73){var _0x15cd62=_0x2a48;_0x224148[_0x15cd62(0x513)]=_0x55affb(_0xce6121(),_0x4ccfb0());}(_0x20095d,function(_0x404cd3){var _0x200c06=_0x2a48;return _0x404cd3[_0x200c06(0x4a5)][_0x200c06(0x429)]={'pad':function(){},'unpad':function(){}},_0x404cd3['pad'][_0x200c06(0x429)];}));}(_0x2ff8b1)),_0x2ff8b1[_0x4a12b5(0x513)];}var _0x547943=_0x5a565b();const _0x5857a0=_0x25cafd(_0x547943);function _0x44e7cc(_0x3a61c6,_0x1f19df){var _0x43a2ab=_0x9c17ab;const _0x1075fd=_0x1f19df-_0x3a61c6['length']%_0x1f19df,_0x347d32=String[_0x43a2ab(0x2f9)](_0x1075fd)['repeat'](_0x1075fd);return _0x3a61c6+_0x347d32;}function _0x5d6a22(_0x55db0c,_0x35fa33){var _0x2b3d51=_0x9c17ab;const _0x4a3879=_0x444a56[_0x2b3d51(0x375)](0x10),_0x5cd968=_0x44e7cc(_0x55db0c,0x10),_0x2d394f=_0x448997['encrypt'](_0x4354ca[_0x2b3d51(0x4c8)](_0x5cd968),_0x3f3b4d['parse'](_0x35fa33),{'iv':_0x4a3879,'padding':_0x5857a0});return _0x4a3879['concat'](_0x2d394f[_0x2b3d51(0x327)])[_0x2b3d51(0x2c6)](_0x3f3b4d);}function _0x4015c4(){var _0x170a22=_0x9c17ab;const _0x5eaaa0=_0x4d3c88[_0x170a22(0x204)]()[_0x170a22(0x500)];if(_0x5eaaa0){const _0x23d3e6={'time':Math[_0x170a22(0x2f1)](Date[_0x170a22(0x42d)]()/0x3e8),'domain':location[_0x170a22(0x40f)]};return _0x5d6a22(JSON[_0x170a22(0x288)](_0x23d3e6),_0x5eaaa0);}}var _0x184d7a=Object['getOwnPropertyDescriptor'],_0x1ed3fa=(_0x7df369,_0x3df601,_0x5e5131,_0x51297a)=>{for(var _0x3c9baa=_0x51297a>0x1?void 0x0:_0x51297a?_0x184d7a(_0x3df601,_0x5e5131):_0x3df601,_0x3ab67f=_0x7df369['length']-0x1,_0x3b2315;_0x3ab67f>=0x0;_0x3ab67f--)(_0x3b2315=_0x7df369[_0x3ab67f])&&(_0x3c9baa=_0x3b2315(_0x3c9baa)||_0x3c9baa);return _0x3c9baa;},_0x4cb191=(_0xd92b56,_0x7fe07)=>(_0x3840b5,_0x326cd8)=>_0x7fe07(_0x3840b5,_0x326cd8,_0xd92b56);let _0x5a5c54=class{constructor(_0x13730f){var _0x3ffa82=_0x9c17ab;this[_0x3ffa82(0x408)]=_0x13730f,this[_0x3ffa82(0x21d)]();}[_0x9c17ab(0x21d)](){var _0x3dc1cb=_0x9c17ab;this[_0x3dc1cb(0x408)][_0x3dc1cb(0x2b6)]({'interceptor':(_0x447569,_0x1ce5e5)=>{var _0x2bf08f=_0x3dc1cb;const _0x54e43c=_0x447569[_0x2bf08f(0x2ee)],_0x8f1235=_0x4015c4();return _0x8f1235&&_0x54e43c[_0x2bf08f(0x53c)]('x-univer-host',_0x8f1235),_0x1ce5e5(_0x447569);}});}};_0x5a5c54=_0x1ed3fa([_0x4cb191(0x0,_0x1fb61c[_0x9c17ab(0x38e)](_0x389e44[_0x9c17ab(0x217)]))],_0x5a5c54);var _0x34b11e=Object[_0x9c17ab(0x410)],_0x3747e6=(_0x37dd20,_0x307240,_0x39e060,_0x2baaab)=>{for(var _0x39894b=_0x2baaab>0x1?void 0x0:_0x2baaab?_0x34b11e(_0x307240,_0x39e060):_0x307240,_0x3fa1b7=_0x37dd20['length']-0x1,_0x11b76d;_0x3fa1b7>=0x0;_0x3fa1b7--)(_0x11b76d=_0x37dd20[_0x3fa1b7])&&(_0x39894b=_0x11b76d(_0x39894b)||_0x39894b);return _0x39894b;},_0x8bb694=(_0x2f8e95,_0x42b602)=>(_0x10cfcb,_0x1cd458)=>_0x42b602(_0x10cfcb,_0x1cd458,_0x2f8e95);_0xc149d1[_0x9c17ab(0x2bb)]=class extends _0x1fb61c[_0x9c17ab(0x1b7)]{constructor(_0x57acf2,_0x516a8f,_0x3e106b){var _0x1f3ad4=_0x9c17ab;super(),_0x47983f(this,'_unitInfo$',new _0x3322ed[(_0x1f3ad4(0x290))](null)),_0x47983f(this,_0x1f3ad4(0x539),this[_0x1f3ad4(0x508)][_0x1f3ad4(0x243)]()),(this['_logService']=_0x57acf2,this[_0x1f3ad4(0x475)]=_0x516a8f,this['_localCacheService']=_0x3e106b);}async[_0x9c17ab(0x1ee)](_0x50d962,_0x48fce4,_0x19e8ea){var _0x1d6921=_0x9c17ab;this[_0x1d6921(0x508)]['next']({'unitId':_0x50d962,'type':_0x48fce4});let _0x3d37dc=null;switch(_0x48fce4){case _0x4e5206[_0x1d6921(0x398)]:{_0x3d37dc=await this['_snapshotService'][_0x1d6921(0x446)](_0x50d962,_0x19e8ea);break;}case _0x4e5206[_0x1d6921(0x4e5)]:{_0x3d37dc=await this[_0x1d6921(0x475)][_0x1d6921(0x3ee)](_0x50d962,_0x19e8ea);break;}default:{this[_0x1d6921(0x390)][_0x1d6921(0x3ae)](_0x1d6921(0x300),_0x1d6921(0x413));break;}}return _0x3d37dc;}async[_0x9c17ab(0x450)](_0x565212,_0x4c428d,_0x120bbf){var _0x45a50d=_0x9c17ab,_0x41ead9;this['_unitInfo$'][_0x45a50d(0x2da)]({'unitId':_0x565212,'type':_0x4c428d,'subUnitId':_0x120bbf});let _0x464197=0x0;const _0x27c199=await((_0x41ead9=this['_localCacheService'])==null?void 0x0:_0x41ead9[_0x45a50d(0x356)](_0x565212));return _0x27c199&&(_0x27c199[_0x45a50d(0x22a)]||_0x27c199['mutations'][_0x45a50d(0x4cf)]!==0x0)&&(_0x464197=_0x27c199[_0x45a50d(0x2a2)]),_0x464197===0x0&&this[_0x45a50d(0x390)]['debug'](_0x45a50d(0x300),_0x45a50d(0x291)),this['loadUnitOfRevision'](_0x565212,_0x4c428d,_0x464197);}},_0xc149d1[_0x9c17ab(0x2bb)]=_0x3747e6([_0x8bb694(0x0,_0x1fb61c[_0x9c17ab(0x4dc)]),_0x8bb694(0x1,_0x1fb61c[_0x9c17ab(0x38e)](_0x5e1632['SnapshotService'])),_0x8bb694(0x2,_0x1fb61c['Optional'](_0x426182))],_0xc149d1[_0x9c17ab(0x2bb)]);var _0x4a0c97=Object[_0x9c17ab(0x410)],_0x556cfc=(_0x3cccb7,_0x371b53,_0x99504a,_0x4c12bb)=>{for(var _0x4eae1d=_0x4c12bb>0x1?void 0x0:_0x4c12bb?_0x4a0c97(_0x371b53,_0x99504a):_0x371b53,_0x59c4dc=_0x3cccb7['length']-0x1,_0x582029;_0x59c4dc>=0x0;_0x59c4dc--)(_0x582029=_0x3cccb7[_0x59c4dc])&&(_0x4eae1d=_0x582029(_0x4eae1d)||_0x4eae1d);return _0x4eae1d;},_0x92bc7e=(_0x588826,_0x1c4296)=>(_0xc60efd,_0xcc4842)=>_0x1c4296(_0xc60efd,_0xcc4842,_0x588826);const _0x4b0d1e=[_0x9c17ab(0x1ed),_0x9c17ab(0x35f),_0x9c17ab(0x399),_0x9c17ab(0x3f4),'image/bmp'],_0x274371=0x5*0x400*0x400,_0x340963=_0x9c17ab(0x3aa),_0x4f370f=_0x9c17ab(0x4c6),_0x27cbe3=_0x9c17ab(0x1c3),_0x28eae7='/universer-api/file/{fileID}/sign-url';_0xc149d1[_0x9c17ab(0x36c)]=class{constructor(_0x2b3168,_0xe34cc0,_0xd9f33d){var _0x219ce8=_0x9c17ab;_0x47983f(this,_0x219ce8(0x4f6),0x0),_0x47983f(this,_0x219ce8(0x23c),new _0x3322ed[(_0x219ce8(0x3fc))]()),_0x47983f(this,_0x219ce8(0x2e7),this['_change$']),_0x47983f(this,_0x219ce8(0x34d),new Map()),(this[_0x219ce8(0x408)]=_0x2b3168,this[_0x219ce8(0x4a1)]=_0xe34cc0,this[_0x219ce8(0x3be)]=_0xd9f33d);}[_0x9c17ab(0x526)](_0x1540b4){var _0x1c29eb=_0x9c17ab;this[_0x1c29eb(0x4f6)]=_0x1540b4,this['_change$']['next'](_0x1540b4);}[_0x9c17ab(0x2a0)](_0x2ca633,_0x2b5cbb){var _0x43ecac=_0x9c17ab;if(_0x2b5cbb===_0x400ee6['ImageSourceType'][_0x43ecac(0x1e5)]){const _0x47f16f=new Image();return _0x47f16f[_0x43ecac(0x32e)]=_0x2ca633,_0x47f16f;}return this['_imageSourceCache']['get'](_0x2ca633);}[_0x9c17ab(0x2dc)](_0x3ca095,_0x1f6125,_0x45ce7b){var _0x4f9c77=_0x9c17ab;_0x1f6125===_0x400ee6[_0x4f9c77(0x2be)][_0x4f9c77(0x1e5)]||_0x45ce7b==null||this['_imageSourceCache']['set'](_0x3ca095,_0x45ce7b);}async[_0x9c17ab(0x287)](_0x5091a1){var _0x2691fc=_0x9c17ab;try{const _0x2d9b4d=this[_0x2691fc(0x351)](this['_getSignURL'](),''+_0x5091a1),_0x49efe4=(await this[_0x2691fc(0x408)][_0x2691fc(0x2e6)](_0x2d9b4d))[_0x2691fc(0x52e)];if(_0x49efe4[_0x2691fc(0x3ae)]&&_0x49efe4[_0x2691fc(0x3ae)][_0x2691fc(0x512)]===_0x47055b['OK']){const _0x503358=new URL(_0x49efe4[_0x2691fc(0x30c)],this[_0x2691fc(0x421)]())[_0x2691fc(0x2c6)]();return Promise[_0x2691fc(0x45d)](_0x503358);}return Promise[_0x2691fc(0x353)](_0x49efe4[_0x2691fc(0x3ae)]);}catch(_0xb1eb76){return Promise['reject'](_0xb1eb76);}}async[_0x9c17ab(0x4e0)](_0x20df75){var _0x31f646=_0x9c17ab;let _0x4514ee='';if(!_0x4b0d1e['includes'](_0x20df75['type']))return this[_0x31f646(0x234)](),Promise['reject'](new Error(_0x400ee6['ImageUploadStatusType'][_0x31f646(0x2e8)]));if(_0x20df75[_0x31f646(0x3a3)]>_0x274371)return this[_0x31f646(0x234)](),Promise[_0x31f646(0x353)](new Error(_0x400ee6[_0x31f646(0x1bb)][_0x31f646(0x29f)]));try{const _0x3ebb4e=new FormData();_0x3ebb4e['append'](_0x31f646(0x431),_0x20df75);const _0x4c5c2e=this['_univerInstanceService'][_0x31f646(0x1e1)](),_0x58b0ef=_0x4c5c2e==null?void 0x0:_0x4c5c2e[_0x31f646(0x4a4)]();if(!_0x58b0ef)throw new Error(_0x31f646(0x1d9));const _0x28b55e=this[_0x31f646(0x233)]()+_0x31f646(0x37a)+_0x20df75[_0x31f646(0x3a3)][_0x31f646(0x2c6)]()+_0x31f646(0x3a8)+_0x2dea59[_0x31f646(0x507)]+_0x31f646(0x4b3)+encodeURIComponent(_0x58b0ef),_0xbcc7c4={'body':_0x3ebb4e},_0x442e56=(await this[_0x31f646(0x408)][_0x31f646(0x52b)](_0x28b55e,_0xbcc7c4))[_0x31f646(0x52e)];if(typeof _0x442e56[_0x31f646(0x437)]!='string')return this['_decreaseWaiting'](),Promise[_0x31f646(0x353)](new Error(_0x400ee6[_0x31f646(0x1bb)]['ERROR_IMAGE']));_0x4514ee=_0x442e56[_0x31f646(0x437)];}catch{return this[_0x31f646(0x234)](),Promise['reject'](new Error(_0x400ee6[_0x31f646(0x1bb)][_0x31f646(0x1e7)]));}return new Promise((_0x83127a,_0x5c4280)=>{var _0x21b5c6=_0x31f646;const _0x474335=new FileReader();_0x474335[_0x21b5c6(0x33d)](_0x20df75),_0x474335[_0x21b5c6(0x334)]=_0x4b4d22=>{var _0x1d2bc6=_0x21b5c6,_0x3ab6f7;const _0x34acb4=(_0x3ab6f7=_0x4b4d22['target'])==null?void 0x0:_0x3ab6f7[_0x1d2bc6(0x39d)];if(_0x34acb4==null){this[_0x1d2bc6(0x234)](),_0x5c4280(new Error(_0x400ee6[_0x1d2bc6(0x1bb)][_0x1d2bc6(0x1e7)]));return;}const _0x4fb734=_0x1fb61c['Tools'][_0x1d2bc6(0x458)](0x6);_0x83127a({'imageId':_0x4fb734,'imageSourceType':_0x400ee6[_0x1d2bc6(0x2be)][_0x1d2bc6(0x4ef)],'source':_0x4514ee,'base64Cache':_0x34acb4,'status':_0x400ee6[_0x1d2bc6(0x1bb)]['SUCCUSS']}),this[_0x1d2bc6(0x234)]();};});}[_0x9c17ab(0x233)](){var _0x348501=_0x9c17ab,_0x8a736,_0xfd8cf6;const _0xbbc148=this[_0x348501(0x4a1)][_0x348501(0x2b2)](_0x340963),_0x330549=this[_0x348501(0x4a1)][_0x348501(0x2b2)](_0x29e73d);return(_0xfd8cf6=(_0x8a736=_0x330549==null?void 0x0:_0x330549[_0x348501(0x2e5)])!=null?_0x8a736:_0xbbc148)!=null?_0xfd8cf6:_0x4f370f;}['_getSignURL'](){var _0x4c7ebb=_0x9c17ab,_0x3372ea,_0x2b99c3;const _0xa4b19f=this[_0x4c7ebb(0x4a1)][_0x4c7ebb(0x2b2)](_0x27cbe3),_0x1f667f=this[_0x4c7ebb(0x4a1)]['getConfig'](_0x29e73d);return(_0x2b99c3=(_0x3372ea=_0x1f667f==null?void 0x0:_0x1f667f['signUrlServerUrl'])!=null?_0x3372ea:_0xa4b19f)!=null?_0x2b99c3:_0x28eae7;}[_0x9c17ab(0x421)](){var _0xfe659b=_0x9c17ab,_0x4b8a6c;const _0x350970=this[_0xfe659b(0x4a1)][_0xfe659b(0x2b2)](_0x29e73d);return(_0x4b8a6c=_0x350970==null?void 0x0:_0x350970['downloadEndpointUrl'])!=null?_0x4b8a6c:location[_0xfe659b(0x36d)];}[_0x9c17ab(0x351)](_0x419d3f,_0x1ac899){var _0x315039=_0x9c17ab;return _0x419d3f['replace'](_0x315039(0x346),_0x1ac899);}['_decreaseWaiting'](){var _0x3e70cc=_0x9c17ab;this[_0x3e70cc(0x4f6)]-=0x1,this[_0x3e70cc(0x23c)][_0x3e70cc(0x2da)](this[_0x3e70cc(0x4f6)]);}},_0xc149d1['CollaborationImageIoService']=_0x556cfc([_0x92bc7e(0x0,_0x1fb61c[_0x9c17ab(0x38e)](_0x389e44[_0x9c17ab(0x217)])),_0x92bc7e(0x1,_0x1fb61c['IConfigService']),_0x92bc7e(0x2,_0x1fb61c[_0x9c17ab(0x38e)](_0x1fb61c[_0x9c17ab(0x278)]))],_0xc149d1[_0x9c17ab(0x36c)]);var _0x59a490=Object[_0x9c17ab(0x410)],_0x471d34=(_0x48efc8,_0x386226,_0x4ae39b,_0x120fd1)=>{for(var _0x20c00b=_0x120fd1>0x1?void 0x0:_0x120fd1?_0x59a490(_0x386226,_0x4ae39b):_0x386226,_0x221076=_0x48efc8['length']-0x1,_0xdc3833;_0x221076>=0x0;_0x221076--)(_0xdc3833=_0x48efc8[_0x221076])&&(_0x20c00b=_0xdc3833(_0x20c00b)||_0x20c00b);return _0x20c00b;},_0x2a0e60=(_0x39c111,_0x7cfedc)=>(_0x33814d,_0x50b530)=>_0x7cfedc(_0x33814d,_0x50b530,_0x39c111);const _0x59fb88=_0x9c17ab(0x2fd);_0xc149d1['MentionIoHttpService']=class{constructor(_0x560826,_0xfe76ce){var _0x4d71bf=_0x9c17ab;this[_0x4d71bf(0x4a1)]=_0x560826,this[_0x4d71bf(0x1b6)]=_0xfe76ce;}[_0x9c17ab(0x48f)](){var _0xc10663=_0x9c17ab,_0x18e5b9,_0x435a16;const _0x1367b1=this[_0xc10663(0x4a1)][_0xc10663(0x2b2)](_0x2a6fc6),_0x5c11c0=this[_0xc10663(0x4a1)][_0xc10663(0x2b2)](_0x29e73d);return(_0x435a16=(_0x18e5b9=_0x5c11c0==null?void 0x0:_0x5c11c0[_0xc10663(0x546)])!=null?_0x18e5b9:_0x1367b1)!=null?_0x435a16:_0x59fb88;}async[_0x9c17ab(0x354)](_0x54aa15){var _0x5c0d2f=_0x9c17ab;const _0x4c5907=this['_getAPIPrefixPath']()+_0x5c0d2f(0x35c);return{'list':[{'title':_0x5c0d2f(0x403),'mentions':(await this[_0x5c0d2f(0x1b6)][_0x5c0d2f(0x2e6)](_0x4c5907,{'params':{'objectID':_0x54aa15[_0x5c0d2f(0x488)],'unitID':_0x54aa15['unitId']}}))[_0x5c0d2f(0x52e)][_0x5c0d2f(0x1f1)][_0x5c0d2f(0x47b)](_0x5072e7=>({'objectId':_0x5072e7['id'],'name':_0x5072e7[_0x5c0d2f(0x2c3)][_0x5c0d2f(0x492)],'metadata':{'icon':_0x5072e7[_0x5c0d2f(0x2c3)][_0x5c0d2f(0x3b7)]},'label':_0x5072e7[_0x5c0d2f(0x2c3)][_0x5c0d2f(0x492)],'objectType':_0x1fb61c[_0x5c0d2f(0x229)][_0x5c0d2f(0x2d2)]})),'metadata':{},'type':_0x1fb61c[_0x5c0d2f(0x229)][_0x5c0d2f(0x2d2)]}]};}},_0xc149d1[_0x9c17ab(0x1af)]=_0x471d34([_0x2a0e60(0x0,_0x1fb61c['Inject'](_0x1fb61c['IConfigService'])),_0x2a0e60(0x1,_0x1fb61c[_0x9c17ab(0x38e)](_0x389e44[_0x9c17ab(0x217)]))],_0xc149d1['MentionIoHttpService']);var _0x23f6e3=Object['getOwnPropertyDescriptor'],_0x51aaa2=(_0xfcf306,_0x19d049,_0x171af4,_0x20fdc9)=>{for(var _0x5bf090=_0x20fdc9>0x1?void 0x0:_0x20fdc9?_0x23f6e3(_0x19d049,_0x171af4):_0x19d049,_0x7c71af=_0xfcf306['length']-0x1,_0x139636;_0x7c71af>=0x0;_0x7c71af--)(_0x139636=_0xfcf306[_0x7c71af])&&(_0x5bf090=_0x139636(_0x5bf090)||_0x5bf090);return _0x5bf090;},_0x39e2e0=(_0x3fa466,_0x2c44aa)=>(_0x2716d7,_0xd41e53)=>_0x2c44aa(_0x2716d7,_0xd41e53,_0x3fa466);let _0x584493=class extends _0x1fb61c['RxDisposable']{constructor(_0x16acdd,_0x5a6103,_0x4279d7,_0x152274,_0x3467a1){var _0x49ec8c=_0x9c17ab;super(),this[_0x49ec8c(0x1ac)]=_0x16acdd,this[_0x49ec8c(0x3be)]=_0x5a6103,this[_0x49ec8c(0x51a)]=_0x4279d7,this['_collaborationSessionService']=_0x152274,this[_0x49ec8c(0x235)]=_0x3467a1,this[_0x49ec8c(0x37b)](),this[_0x49ec8c(0x4ec)]();}[_0x9c17ab(0x4ec)](){var _0x4f416f=_0x9c17ab;const _0x29da00=async _0xe5e9cf=>{var _0x2caf7b=_0x2a48;(await this[_0x2caf7b(0x34c)][_0x2caf7b(0x43e)](_0xe5e9cf))[_0x2caf7b(0x2bf)][_0x2caf7b(0x25b)](_0xc3de18['filter'](_0x34e824=>_0x34e824[_0x2caf7b(0x295)]===_0x5e1632['CollaborationEvent'][_0x2caf7b(0x1f0)]),_0xc3de18[_0x2caf7b(0x448)](this[_0x2caf7b(0x352)]))['subscribe'](_0x39ff55=>{var _0x3b846d=_0x2caf7b;const _0x3f06ce=_0x39ff55,{reason:_0x3b0817}=_0x3f06ce['data'];this[_0x3b846d(0x235)][_0x3b846d(0x37e)]({'id':_0x51b5e5[_0x3b846d(0x422)],'data':_0x3b0817}),this['_permissionService'][_0x3b846d(0x2f2)](new _0x1470b1[(_0x3b846d(0x4c3))](_0xe5e9cf)['id'],!0x1),this[_0x3b846d(0x34c)][_0x3b846d(0x1fe)](_0xe5e9cf);});};_0x3322ed[_0x4f416f(0x2e0)](this[_0x4f416f(0x3be)][_0x4f416f(0x1e0)](_0x1fb61c[_0x4f416f(0x2bc)][_0x4f416f(0x398)]),this[_0x4f416f(0x3be)][_0x4f416f(0x1e0)](_0x1fb61c[_0x4f416f(0x2bc)]['UNIVER_DOC']))[_0x4f416f(0x25b)](_0xc3de18['map'](_0x2cd37a=>_0x2cd37a[_0x4f416f(0x4a4)]()),_0xc3de18[_0x4f416f(0x33e)](_0x39750d=>!_0x1fb61c[_0x4f416f(0x1f2)](_0x39750d)),_0xc3de18[_0x4f416f(0x448)](this['dispose$']))[_0x4f416f(0x2af)](_0x39895c=>{_0x29da00(_0x39895c);});}[_0x9c17ab(0x37b)](){var _0x44c93e=_0x9c17ab;const _0x5e48da=async _0x348775=>{var _0x3c8661=_0x2a48;const _0x24f5c0=await this['_collaborationSessionService'][_0x3c8661(0x43e)](_0x348775),_0xec7f5b=this[_0x3c8661(0x1ac)]['get'](_0x1470b1[_0x3c8661(0x457)]);_0x24f5c0[_0x3c8661(0x2bf)]['pipe'](_0xc3de18[_0x3c8661(0x33e)](_0x4678f=>_0x4678f[_0x3c8661(0x295)]===_0x5e1632[_0x3c8661(0x385)][_0x3c8661(0x3bf)]),_0xc3de18[_0x3c8661(0x448)](this['dispose$']))['subscribe'](_0x471f47=>{var _0x2b1e33=_0x3c8661;const _0x2cf450=_0x471f47,{objectId:_0x59ab1e}=_0x2cf450['data'];_0x59ab1e===_0x348775?_0xec7f5b[_0x2b1e33(0x38f)](_0x348775):_0xec7f5b[_0x2b1e33(0x51b)](_0x348775,_0x59ab1e);});};_0x3322ed[_0x44c93e(0x2e0)](this['_univerInstanceService'][_0x44c93e(0x1e0)](_0x1fb61c[_0x44c93e(0x2bc)][_0x44c93e(0x398)]))[_0x44c93e(0x25b)](_0xc3de18[_0x44c93e(0x47b)](_0x4103e3=>_0x4103e3[_0x44c93e(0x4a4)]()),_0xc3de18[_0x44c93e(0x33e)](_0x2c197f=>!_0x1fb61c[_0x44c93e(0x1f2)](_0x2c197f)),_0xc3de18['takeUntil'](this[_0x44c93e(0x352)]))[_0x44c93e(0x2af)](_0x3887c2=>{_0x5e48da(_0x3887c2);});}};_0x584493=_0x51aaa2([_0x39e2e0(0x0,_0x1fb61c[_0x9c17ab(0x38e)](_0x1fb61c[_0x9c17ab(0x3c2)])),_0x39e2e0(0x1,_0x1fb61c['IUniverInstanceService']),_0x39e2e0(0x2,_0x1fb61c[_0x9c17ab(0x376)]),_0x39e2e0(0x3,_0x1fb61c[_0x9c17ab(0x38e)](_0xc149d1[_0x9c17ab(0x26e)])),_0x39e2e0(0x4,_0x1fb61c[_0x9c17ab(0x38e)](_0xdc4705))],_0x584493);var _0x301988=Object[_0x9c17ab(0x410)],_0x26f3c6=(_0xf94f69,_0x314015,_0x48b370,_0x189da1)=>{for(var _0x1f99d2=_0x189da1>0x1?void 0x0:_0x189da1?_0x301988(_0x314015,_0x48b370):_0x314015,_0x2ac501=_0xf94f69['length']-0x1,_0x380cf9;_0x2ac501>=0x0;_0x2ac501--)(_0x380cf9=_0xf94f69[_0x2ac501])&&(_0x1f99d2=_0x380cf9(_0x1f99d2)||_0x1f99d2);return _0x1f99d2;},_0x22bbd2=(_0x1d8e11,_0x4d0297)=>(_0x68b5aa,_0x188702)=>_0x4d0297(_0x68b5aa,_0x188702,_0x1d8e11);_0xc149d1[_0x9c17ab(0x39c)]=class{constructor(_0x3de2ad,_0x4860de){var _0x3d2843=_0x9c17ab;this[_0x3d2843(0x4a1)]=_0x3de2ad,this[_0x3d2843(0x408)]=_0x4860de;}async['getUnitOnRev'](_0x5349be,_0x42c1b4){var _0x49fd89=_0x9c17ab,_0x51347e;const {unitID:_0x3c3c16,type:_0x840d9d,revision:_0x26a9b8=0x0}=_0x42c1b4,_0x4ffad2=this[_0x49fd89(0x1e3)]()+'/'+_0x840d9d+'/unit/'+_0x3c3c16+_0x49fd89(0x29a)+_0x26a9b8,_0x482b52=(await this[_0x49fd89(0x408)][_0x49fd89(0x2e6)](_0x4ffad2))[_0x49fd89(0x52e)],_0x23638c=(_0x51347e=_0x482b52[_0x49fd89(0x309)])==null?void 0x0:_0x51347e[_0x49fd89(0x2d8)];if(_0x23638c){const _0x2f5aac=_0x23638c==null?void 0x0:_0x23638c[_0x49fd89(0x27f)],_0x56c6ac=_0x5e1632[_0x49fd89(0x366)][_0x49fd89(0x4d7)](_0x5e1632[_0x49fd89(0x2ff)](_0x2f5aac));_0x23638c['originalMeta']=_0x56c6ac,Object[_0x49fd89(0x2b4)](_0x23638c[_0x49fd89(0x537)])[_0x49fd89(0x1c9)](([,_0x1baa19])=>{var _0x396900=_0x49fd89;const _0x4acb67=_0x1baa19[_0x396900(0x27f)],_0x13d362=_0x5e1632[_0x396900(0x366)][_0x396900(0x4d7)](_0x5e1632[_0x396900(0x2ff)](_0x4acb67));_0x1baa19[_0x396900(0x27f)]=_0x13d362;});}return _0x482b52;}async[_0x9c17ab(0x525)](_0x14311c,_0x546907){var _0xbf9ffc=_0x9c17ab;const {unitID:_0x5b3ab4,type:_0x27c7a8,blockID:_0x2262f5}=_0x546907,_0x31d126=this[_0xbf9ffc(0x337)]()+'/'+_0x27c7a8+_0xbf9ffc(0x1d0)+_0x5b3ab4+_0xbf9ffc(0x433)+_0x2262f5;return(await this[_0xbf9ffc(0x408)][_0xbf9ffc(0x2e6)](_0x31d126))['body'];}async[_0x9c17ab(0x333)](_0x427c64,_0xa43f3b){var _0x4eb14d=_0x9c17ab;const {unitID:_0x1ea1a0,type:_0x1424d1,blockID:_0x1658ba}=_0xa43f3b,_0x823bf8=this[_0x4eb14d(0x337)]()+'/block/'+_0x1424d1+_0x4eb14d(0x1d0)+_0x1ea1a0+_0x4eb14d(0x433)+_0x1658ba;return(await this['_httpService'][_0x4eb14d(0x2e6)](_0x823bf8))['body'];}async['fetchMissingChangesets'](_0x38ece0,_0x24be0b){var _0x1d4b91=_0x9c17ab;const {unitID:_0x247326,type:_0x124e1a,from:_0x1361d2,to:_0x25dc66}=_0x24be0b,_0x16bad5=this[_0x1d4b91(0x337)]()+'/'+_0x124e1a+'/unit/'+_0x247326+_0x1d4b91(0x510)+_0x1361d2+_0x1d4b91(0x239)+_0x25dc66;return(await this['_httpService']['get'](_0x16bad5))[_0x1d4b91(0x52e)];}['getSnapshotAPIPath'](){var _0x1afc02=_0x9c17ab,_0x579dd6;return(_0x579dd6=this[_0x1afc02(0x4a1)][_0x1afc02(0x2b2)](_0x3ddf87))!=null?_0x579dd6:this[_0x1afc02(0x337)]();}['_getAPIPrefix'](){var _0x54a1e6=_0x9c17ab,_0x6823e9,_0xdabf93;const _0x14409e=this[_0x54a1e6(0x4a1)][_0x54a1e6(0x2b2)](_0x34c60c),_0x49f56d=this[_0x54a1e6(0x4a1)]['getConfig'](_0x29e73d);return(_0xdabf93=(_0x6823e9=_0x49f56d==null?void 0x0:_0x49f56d['snapshotServerUrl'])!=null?_0x6823e9:_0x14409e)!=null?_0xdabf93:_0x5f0e7f;}async[_0x9c17ab(0x1e4)](_0x1f37ee,_0x54ca96){var _0x13237e=_0x9c17ab;const _0x1e7970=_0x13237e(0x1b0)+_0x54ca96[_0x13237e(0x516)]+_0x13237e(0x1d0)+_0x54ca96[_0x13237e(0x1f9)]+_0x13237e(0x4f1);return(await this[_0x13237e(0x408)][_0x13237e(0x2e6)](_0x1e7970,{'params':{'resourceId':JSON[_0x13237e(0x288)](_0x54ca96[_0x13237e(0x3ed)])}}))[_0x13237e(0x52e)];}['saveSnapshot'](){var _0x4db886=_0x9c17ab;throw new Error(_0x4db886(0x2c4));}['updateSnapshot'](){var _0x4f95f5=_0x9c17ab;throw new Error(_0x4f95f5(0x2c4));}['saveSheetBlock'](){var _0x124274=_0x9c17ab;throw new Error(_0x124274(0x2c4));}[_0x9c17ab(0x4c4)](){var _0x1e3757=_0x9c17ab;throw new Error(_0x1e3757(0x2c4));}['copyFileMeta'](){var _0x57d241=_0x9c17ab;throw new Error(_0x57d241(0x2c4));}[_0x9c17ab(0x4ca)](){var _0x4f590a=_0x9c17ab;throw new Error(_0x4f590a(0x2c4));}},_0xc149d1[_0x9c17ab(0x39c)]=_0x26f3c6([_0x22bbd2(0x0,_0x1fb61c[_0x9c17ab(0x21b)]),_0x22bbd2(0x1,_0x1fb61c[_0x9c17ab(0x38e)](_0x389e44[_0x9c17ab(0x217)]))],_0xc149d1['SnapshotServerOverHTTPService']);var _0x3dd39a=Object[_0x9c17ab(0x410)],_0x59b20f=(_0x321f8f,_0x5311c7,_0x481209,_0x4db7ef)=>{for(var _0x253f2d=_0x4db7ef>0x1?void 0x0:_0x4db7ef?_0x3dd39a(_0x5311c7,_0x481209):_0x5311c7,_0x40fa7e=_0x321f8f['length']-0x1,_0x297083;_0x40fa7e>=0x0;_0x40fa7e--)(_0x297083=_0x321f8f[_0x40fa7e])&&(_0x253f2d=_0x297083(_0x253f2d)||_0x253f2d);return _0x253f2d;},_0x20983c=(_0x3307b7,_0xad3217)=>(_0x36532c,_0x35f7c6)=>_0xad3217(_0x36532c,_0x35f7c6,_0x3307b7);_0xc149d1[_0x9c17ab(0x48c)]=class extends _0x1fb61c[_0x9c17ab(0x24e)]{constructor(_0x524064,_0x191a8e,_0x5800f4,_0x554263,_0x931f4e){var _0x3ce822=_0x9c17ab;super(_0x524064,_0x191a8e,_0x5800f4),this['_transformService']=_0x554263,this[_0x3ce822(0x390)]=_0x931f4e;}[_0x9c17ab(0x1c1)](_0x295da2,_0x3a7550){var _0x4697ec=_0x9c17ab;const _0x4c4361=this[_0x4697ec(0x347)](_0x295da2);if(_0x4c4361)try{const _0x3fcfcb=this[_0x4697ec(0x44f)](_0x4c4361,_0x3a7550);this[_0x4697ec(0x511)](_0x295da2,_0x3fcfcb);}catch(_0xd5b9d8){this[_0x4697ec(0x390)]['error'](_0x4697ec(0x50a),_0xd5b9d8),this[_0x4697ec(0x42c)](_0x295da2);}const _0x3449d6=this[_0x4697ec(0x3f8)](_0x295da2);if(_0x3449d6)try{const _0x2c650a=this[_0x4697ec(0x44f)](_0x3449d6,_0x3a7550);this['_substituteRedoStack'](_0x295da2,_0x2c650a);}catch(_0x4e88d5){this[_0x4697ec(0x390)]['error'](_0x4e88d5),this['_clearRedo'](_0x295da2);}}['_clearUndo'](_0xda126d){var _0x466f0d=_0x9c17ab;const _0x3703c7=this[_0x466f0d(0x347)](_0xda126d);_0x3703c7&&(_0x3703c7['length']=0x0,this[_0x466f0d(0x1ef)]());}[_0x9c17ab(0x23e)](_0x5e48bc){var _0x1b5ee8=_0x9c17ab;const _0x1f907e=this['_getRedoStack'](_0x5e48bc);_0x1f907e&&(_0x1f907e[_0x1b5ee8(0x4cf)]=0x0,this[_0x1b5ee8(0x1ef)]());}[_0x9c17ab(0x511)](_0x517420,_0xb2b2f6){var _0x571d78=_0x9c17ab;this[_0x571d78(0x401)][_0x571d78(0x53c)](_0x517420,_0xb2b2f6),this[_0x571d78(0x1ef)]();}[_0x9c17ab(0x41e)](_0x36260f,_0x778de0){var _0x185c37=_0x9c17ab;this['_redoStacks'][_0x185c37(0x53c)](_0x36260f,_0x778de0),this['_updateStatus']();}[_0x9c17ab(0x44f)](_0x59036b,_0xb90c7c){var _0x5ed0fa=_0x9c17ab;const _0x4db8c7=[];let _0x1f0d3b=_0xb90c7c,_0x1a3221=_0xb90c7c;for(let _0x4213b2=_0x59036b[_0x5ed0fa(0x4cf)]-0x1;_0x4213b2>=0x0;_0x4213b2--){const {unitID:_0x292d6a,undoMutations:_0xe3abd8,redoMutations:_0x1508b3}=_0x59036b[_0x4213b2],_0xe9177=this[_0x5ed0fa(0x51e)]['transformMutationsWithChangeset'](_0x1f0d3b,_0xe3abd8),_0x454138=this[_0x5ed0fa(0x51e)][_0x5ed0fa(0x25e)](_0x1a3221,_0x1508b3);if(_0x5e1632[_0x5ed0fa(0x50f)](_0xe9177)||_0x5e1632[_0x5ed0fa(0x50f)](_0x454138)){this[_0x5ed0fa(0x390)][_0x5ed0fa(0x3ae)]('[CollaborationUndoRedoService]',_0x5ed0fa(0x306),_0xe9177,_0x454138);break;}_0x1f0d3b=_0xe9177[_0x5ed0fa(0x3b5)],_0x1a3221=_0x454138[_0x5ed0fa(0x3b5)],_0x4db8c7[_0x5ed0fa(0x53b)]({'unitID':_0x292d6a,'undoMutations':_0xe9177[_0x5ed0fa(0x395)],'redoMutations':_0x454138[_0x5ed0fa(0x395)]});}return _0x4db8c7['reverse']();}},_0xc149d1[_0x9c17ab(0x48c)]=_0x59b20f([_0x20983c(0x0,_0x1fb61c['IUniverInstanceService']),_0x20983c(0x1,_0x1fb61c['ICommandService']),_0x20983c(0x2,_0x1fb61c[_0x9c17ab(0x52a)]),_0x20983c(0x3,_0x5e1632[_0x9c17ab(0x277)]),_0x20983c(0x4,_0x1fb61c['ILogService'])],_0xc149d1[_0x9c17ab(0x48c)]);var _0x596ce6=Object[_0x9c17ab(0x2b3)],_0x38ad8c=Object['getOwnPropertyDescriptor'],_0x25bedf=(_0x320784,_0x12b9df,_0x3ca96b)=>_0x12b9df in _0x320784?_0x596ce6(_0x320784,_0x12b9df,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ca96b}):_0x320784[_0x12b9df]=_0x3ca96b,_0xdd2135=(_0x2a958b,_0x11219a,_0x500931,_0x589fb)=>{var _0x37d4a4=_0x9c17ab;for(var _0x3b5685=_0x589fb>0x1?void 0x0:_0x589fb?_0x38ad8c(_0x11219a,_0x500931):_0x11219a,_0x32c3f1=_0x2a958b[_0x37d4a4(0x4cf)]-0x1,_0x430390;_0x32c3f1>=0x0;_0x32c3f1--)(_0x430390=_0x2a958b[_0x32c3f1])&&(_0x3b5685=_0x430390(_0x3b5685)||_0x3b5685);return _0x3b5685;},_0xa5352e=(_0x4cd08b,_0x4a2f6f)=>(_0x4741e4,_0x177235)=>_0x4a2f6f(_0x4741e4,_0x177235,_0x4cd08b),_0x584611=(_0x5b5585,_0x333f9e,_0x54c04c)=>_0x25bedf(_0x5b5585,_0x333f9e+'',_0x54c04c);const _0x28e5ac=_0x9c17ab(0x230);_0xc149d1[_0x9c17ab(0x20e)]=class extends _0x1fb61c['Plugin']{constructor(_0x129ef9,_0x12c8d7,_0x422e40,_0x3a9f99){var _0x2c5927=_0x9c17ab;super(),_0x47983f(this,'_config'),(this[_0x2c5927(0x390)]=_0x12c8d7,this[_0x2c5927(0x1ac)]=_0x422e40,this[_0x2c5927(0x4a1)]=_0x3a9f99);const {..._0x318257}=_0x1fb61c['merge']({},_0xa0dd09,_0x129ef9);if(!_0x318257[_0x2c5927(0x31e)])throw new Error(_0x2c5927(0x213));this[_0x2c5927(0x3c8)]=_0x318257,this['_configService']['setConfig'](_0x29e73d,_0x318257);}['onStarting'](){var _0x1241ad=_0x9c17ab;this[_0x1241ad(0x43b)](),this[_0x1241ad(0x358)]();}[_0x9c17ab(0x43b)](){var _0x255a29=_0x9c17ab,_0x586e09,_0x2ae3cc;this[_0x255a29(0x1ac)]['has'](_0x1fb61c[_0x255a29(0x3f1)])&&this[_0x255a29(0x390)][_0x255a29(0x3ae)](_0x255a29(0x42b),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x4b3a7e=_0x1fb61c[_0x255a29(0x4bd)]([[_0x1fb61c[_0x255a29(0x3f1)],{'useClass':_0xc149d1[_0x255a29(0x48c)]}],[_0xc149d1['CollaborationSessionService']],[_0xc149d1[_0x255a29(0x216)]],[_0xc149d1[_0x255a29(0x374)]],[_0x4367a6],[_0x5a5c54],[_0x1ccebf],[_0x584493],[_0xdc4705],[_0xc149d1['DataLoaderService']],[_0x2d8e46,{'useClass':this['_config'][_0x255a29(0x31e)]}],[_0x5e1632[_0x255a29(0x534)],{'useClass':_0xc149d1[_0x255a29(0x39c)]}],[_0x1fb61c[_0x255a29(0x438)],{'useClass':_0xc149d1[_0x255a29(0x2e4)]}],[_0x400ee6[_0x255a29(0x1d4)],{'useClass':_0xc149d1[_0x255a29(0x36c)]}],[_0x1fb61c[_0x255a29(0x313)],{'useClass':_0xc149d1['MentionIoHttpService']}],[_0xc149d1[_0x255a29(0x2ac)]],[_0x554b7d]],(_0x586e09=this[_0x255a29(0x3c8)])==null?void 0x0:_0x586e09['override']);if(!((_0x2ae3cc=this[_0x255a29(0x3c8)])!=null&&_0x2ae3cc[_0x255a29(0x1c4)])){const _0x25d0aa=_0x4b3a7e[_0x255a29(0x321)](([_0x49dc3c])=>_0x49dc3c===_0x2acc04);_0x25d0aa!==-0x1&&_0x4b3a7e['splice'](_0x25d0aa,0x1);}_0x1fb61c[_0x255a29(0x241)](this[_0x255a29(0x1ac)],_0x4b3a7e);}['_initDependencies'](){var _0x1c2f11=_0x9c17ab,_0xa6087d,_0x324f06,_0x409450;this[_0x1c2f11(0x1ac)]['get'](_0x389e44[_0x1c2f11(0x217)])[_0x1c2f11(0x2b6)]({'priority':0x14,'interceptor':_0x389e44[_0x1c2f11(0x2c7)]({'maxParallel':0x6})}),(_0xa6087d=this[_0x1c2f11(0x3c8)])!=null&&_0xa6087d['enableOfflineEditing']||(_0x324f06=this[_0x1c2f11(0x1ac)]['get'](_0x426182,_0x1fb61c[_0x1c2f11(0x3d6)][_0x1c2f11(0x48d)]))==null||_0x324f06[_0x1c2f11(0x3c1)](),(_0x409450=this[_0x1c2f11(0x3c8)])!=null&&_0x409450[_0x1c2f11(0x428)]&&_0x1fb61c[_0x1c2f11(0x1b4)](this[_0x1c2f11(0x1ac)],[[_0x4367a6]]),_0x1fb61c[_0x1c2f11(0x1b4)](this[_0x1c2f11(0x1ac)],[[_0x5a5c54],[_0xc149d1[_0x1c2f11(0x2ac)]],[_0x584493]]);}},_0x584611(_0xc149d1[_0x9c17ab(0x20e)],_0x9c17ab(0x2f4),_0x28e5ac),_0xc149d1[_0x9c17ab(0x20e)]=_0xdd2135([_0x1fb61c[_0x9c17ab(0x3ce)](_0x5e1632['UniverCollaborationPlugin'],_0x389e44[_0x9c17ab(0x27b)]),_0xa5352e(0x1,_0x1fb61c[_0x9c17ab(0x4dc)]),_0xa5352e(0x2,_0x1fb61c[_0x9c17ab(0x38e)](_0x1fb61c[_0x9c17ab(0x3c2)])),_0xa5352e(0x3,_0x1fb61c[_0x9c17ab(0x21b)])],_0xc149d1[_0x9c17ab(0x20e)]),_0xc149d1[_0x9c17ab(0x38b)]=_0x2a6fc6,_0xc149d1[_0x9c17ab(0x52f)]=_0x29e73d,_0xc149d1[_0x9c17ab(0x3d1)]=_0x4db0ae,_0xc149d1[_0x9c17ab(0x503)]=_0x505c92,_0xc149d1[_0x9c17ab(0x393)]=_0x18a736,_0xc149d1[_0x9c17ab(0x1cc)]=_0x51b5e5,_0xc149d1['CollaborationUIEventService']=_0xdc4705,_0xc149d1['CommentService']=_0x1ccebf,_0xc149d1[_0x9c17ab(0x36e)]=_0x45f512,_0xc149d1[_0x9c17ab(0x2f8)]=_0x5c102c,_0xc149d1[_0x9c17ab(0x506)]=_0x8bb7d9,_0xc149d1[_0x9c17ab(0x41f)]=_0x57a2e9,_0xc149d1[_0x9c17ab(0x2ba)]=_0x5daf23,_0xc149d1[_0x9c17ab(0x206)]=_0x2d8e46,_0xc149d1['ILocalCacheService']=_0x426182,_0xc149d1[_0x9c17ab(0x24c)]=_0x111992,_0xc149d1[_0x9c17ab(0x23f)]=_0x2acc04,_0xc149d1['LOCAL_CACHE_INTERVAL']=0x3e8,_0xc149d1[_0x9c17ab(0x3e4)]=_0x2124da,_0xc149d1[_0x9c17ab(0x4d1)]=_0x292ca9,_0xc149d1[_0x9c17ab(0x4d5)]=_0x24c9f6,_0xc149d1[_0x9c17ab(0x1b8)]=_0x150f97,_0xc149d1[_0x9c17ab(0x377)]=_0x445f1b,_0xc149d1['SNAPSHOT_SERVER_URL_KEY']=_0x34c60c,_0xc149d1[_0x9c17ab(0x39e)]=_0x3ddf87,_0xc149d1[_0x9c17ab(0x282)]=_0x1b1e13,_0xc149d1[_0x9c17ab(0x2ad)]=_0x9a4958,_0xc149d1['deserializeToCombResponse']=_0x5ee955,_0xc149d1[_0x9c17ab(0x4b6)]=_0x74f8ea,_0xc149d1[_0x9c17ab(0x2f3)]=_0x2a3e3e,Object[_0x9c17ab(0x2b3)](_0xc149d1,Symbol[_0x9c17ab(0x4fa)],{'value':_0x9c17ab(0x37d)});}));
1
+ function _0x5ea3(){var _0x517fc0=['shouldCloseConn','session.join-failed','_status$','PY_RUNTIME_SCRIPT_ERROR','/universer-api/file/{fileID}/sign-url','Inject','origin','SnapshotService','add','Tools','SNAPSHOT_URL_KEY','sigBytes','_resendTimeout','_change$','_transformStack','byteLength','Encryptor','decryptBlock','localCacheService','AES','604331kFKbSs','updateCursorEvent','_onUserLeave','keySize','/block/','message$','c1Prime','length','_reverseMap','rev','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_initUnitPermissionChange','$super','_onOffline','InsertSheetMutation','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_joinRoom','/-/object/-/batch_allowed','parseProtocolChangeset','UNIVER_COLLABORATION_CLIENT_PLUGIN','collabWebSocketUrl','replace','fromCollab','change$','enc','hasher','list','name','action','COMPRESS_MUTATION_APPLY','NO_OTHER_CLIENTS_EDITING','_showConflictNotification','originalMeta','duration','CollaborationUIEventId','LocalUndoRedoService','_sheetTransformSelectionsService','INVITE_CODE_HAS_BEEN_UES','actions','_onConflict','_replayCachedMutations','key','pluginName','JOIN_ROOM_FULL','JOINING','_fetchMissChangesets','SOCKET_FAILED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_initRequestHeader','onRemoteRetry','readAsDataURL','b64DecodeUnicode','6HNPCpZ','COLLAB_SUBMIT_CHANGESET_URL','iterations','asObservable','DocCollaborationEntity','INetworkConditionService','enableCollaboration','event$','_invKeySchedule','WordArray','getRandomValues','_substituteUndoStack','SNAPSHOT_SERVER_URL_KEY','FETCH_MISSING','session.room-not-exists','UPDATE_PERMISSION_OBJ','deepClone','awaiting','socket\x20open.','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_resendTimer','LOCAL_CACHE_INTERVAL','toggleOffline','_decreaseWaiting','@univerjs/docs','image/png','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_onRemoteChangeset','_createHandler','onCommandExecuted','session.room-full','@univerjs/core','awaitingChangeset','/universer-api/snapshot/','_entityInit$','csRejEvent','withCredentials','addImageSourceCache','_waitCount','CollaborationEntity','ciphertext','Undefined','[PendingState]:\x20received\x20acknowledgement.','image/jpg','merge','ERROR_EXCEED_SIZE','_transformSelections','unsubscribe','call','getFocusedUnit','concat','JOIN_ROOM_FAILED','_startCollaboration','12544ZbNjNj','UNRECOGNIZED','executeCommand','unpad','substr','params','onCommentUpdate','lib','UNKNOWN_CMD','_iKey','ISocketService','getCurrentUser','_keyPriorReset','socket$','[DataLoaderService]','resourceIDs','salt','UniverProLicense','Optional','Utf8','_lockTransition','_instanceService','_sender','_configService','ConflictState','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','next','updatePermissionPoint','isArray','_unitInfo$','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','ITransformService','WECHAT_HAS_BEEN_BOUND','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','UniverDocs','ceil','onTransformState','unitId','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','[CollaborationSessionService]:\x20socket\x20error','RECV','_pendingMutations','stopTime','equals','_onRecvEvent','post','firstValueFrom','OPTIONAL','fetchMiss','baseRev','_substituteRedoStack','update','Base64','APPLY_NON_SEQUENTIAL_REVISION','MD5','GLOBAL_ROOMS_CNT_EXCEEDS','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','/role','fetching\x20missing\x20changesets\x20from\x20','joinEvent','_socketMessageSubscription','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','USER_NOT_INVITED_CODE','USERS_LEAVE','onTransformRemoteChangesetByIMECache','CONNECTOR_DATA_TOO_LARGE','_clearScheduledTask','DataLoaderService','isTransformMutationsWithChangesetFailure','_process','exports','mapDocumentTypeToUniverType','disposeWithMe','status','/collaborator','RETRY_CONNECTING_MAX_COUNT','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','/new_changes','getTime','@univerjs-pro/license','UniverDrawing','_clearCollaborationTimeoutTimer','status$','_type','SHA1','result','image/jpeg','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','FileId','formatter','location','reset','pipe','_commentService','CollaborationEvent','&source=','c2Prime','filter','indexOf','collaboration-client.local-cache-service','_incrementRevisionNumber','amd','IContextService','AwaitingWithPendingState','_collaborationSessionService','session','synced','WorkbookEditablePermission','editing\x20status\x20changed\x20to','&to=','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','EmptyMutation','connection\x20error','mixIn','enableAuthServer','828834xRWoSx','_xformMode','mutations','takeUntil','MentionType','LIVESHARE_NEW_HOST','join','_unitID','CLOSE_ROOM','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_getCtorByUniverType','reqId','not_collab','_data','csShouldRetryEvent','snapshotServerUrl','13296ZLjhfH','error$','_members$','_collaborationUIEventService','image/gif','_prevBlock','_commandService','memberID','HMAC','CHANGESET_REJ','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','BehaviorSubject','POST','routeKey','rxjs/operators','find','_onRemoteRetry','UserProfileImg','LICENSE_DISTRO_REJECTED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','loadUnitOfRevision','defineProperty','apply','_revisionService','MOBILE_VERIFY_CODE_MISMATCH','objectType','BASE64','ERROR_IMAGE','_collabSessionService','_queuedRemoteChangesets','PendingState','PasswordBasedCipher','blockSize','localeService','SOCKET_FAILED_RETRY','collaborators','dispose$','UnitStatus','getSheetBlock','DisposableCollection','isTransformMutationsWithChangesetSuccess','waitForRoom$','_awaitingChangeset','onRemoteRej','compose','Quantity','infoRsp','Hasher','_telemetryInfo','failed\x20to\x20apply\x20missed\x20changesets!','parseChangesetToProtocol','CollaborationSocketService','UNAUTHENTICATED','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','collaboration-client.config','delay','_oKey','BlockCipher','_transformRemoteChangesetByIMECache','_onLocalMutation','CollaborationSession','appendMutation','compute','getInterceptPoints','updateMember','_clearTimeoutTimer','PSEUDO_FETCH_MISSING_RESULT','_doCryptBlock','_disableEditing','_collaborationTimeoutTimer','setShowComponents','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','UNISCRIPT_RUN','RxDisposable','CHANGESET_SHOULD_RETRY','OFFLINE','FAIL','_exhaustRemoteChangesetQueue','Base','_localCacheService','6349kMthPR','splice','/unit/','kdf','@univerjs/drawing','/universer-api/authz','leaveEvent','getResourcesRequest','_sessionStatus$','stringify','_getUploadFileURL','SYNCED','COMMENT_UPDATE','[CollaborationUndoRedoService]','EMAIL_HAS_BEEN_BOUND','encryptBlock','_transformStateCache','PENDING','USERS_ENTER','init','getGlobalObject','_localeService','_sendingTimer','rxjs','Failed\x20to\x20update\x20permission\x20point','NOT_COLLAB','?url=','isInternalEditorID','YUUMI_RATE_OVER_LIMIT','[OfflineState]:\x20received\x20acknowledgement.','getSnapshotAPIPath','ReplaySubject','HttpExport','min','_updateStatus','1323424GcpePY','emitEvent','subject','fetchMissingChangesets','HTTPService','charCodeAt','isPermissionRej','_config','updateOfflineData','_listenToNetworkCondition','_unlockTransition','CollaborationController','floor','algo','ICommandService','getSheetId','_state','ENSURE_SNAPSHOT_EXECUTION','YUUMI_ALL_TABLES_IS_INVALID','CollaborationSessionService','LEAVE','\x20to\x20','_getSignURL','updateSnapshot','ISingleActiveUnitService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','setWaitCount','_retryConnectingTimer','ILogService','abs','_initDependencies','getCollabEntity$','MemberService','_changesetSessionId','UNDEFINED','_onRemoteRejected','TOO_MANY_REQUESTS','getLocalCacheKey','patch','state','save\x20fail\x20reason\x20is\x20','method','string','univer-pro.collaboration-client-socket-service','values','RichTextEditingMutation','EXCHANGE_SIGN_URL_SERVER_URL_KEY','editingUnit','_updateLocalCache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_roomMembers','every','decrypt','SUBMIT_CHANGESET','debug','sin','removeMember','_minBufferSize','hostname','_retryCount','SheetsSelectionsService','complete','UNIVER_UNKNOWN','_initMergeInterceptor','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','awaiting_with_pending','/resources','textRanges','ImageSourceType','_logService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','from','COLLAB_WEB_SOCKET_URL_KEY','Decryptor','_doCreateSocket','deserializeToCombResponse','190hPgobF','_syncEditingCollabCursor','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_createHmacHelper','CHANGESET_ACK','unit-cache-','_stopTelemetryCollaborationNewChangeset','[CollaborationState]:\x20apply\x20error!','_memberService','getValue','sid','authzUrl','file','ALREADY_EXISTS','_collaborationPaused','_state$','_commentUpdate$','[CollaborationEntity]','SerializableCipher','getUnitId','MOBILE_HAS_BEEN_BOUND','Plugin','/object','transformMutationsWithChangeset','saveSnapshot','onload','PERMISSION_DENIED','97299eHOMHc','setCurrentUser','univer-pro.collaboration-client.single-active-unit-service','DependentOn','COLLAB_WEB_SOCKET_URL','resolve','getMemberID','format','has','prototype','_singleActiveUnitService','_snapshotService','reconnect','randomBytes','SEND_CHANGESET_TIMEOUT_KEY','LOCAL_CACHE_INTERVAL_KEY','requireSession','_removeRoom','collaMsg','_scheduleCollaborationTimeoutTimer','batchAllowed','COMPRESS_MUTATION_SEND','YUUMI_ASYNCIO_CANCELLED','_timeoutTimer','onTransformSelections','includes','INVALID_INVITE_CODE','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','extend','clear','_snapshotServerService','_onUserJoin','_getAPIPrefix','_resendWithTimeout','UniverNetworkPlugin','saveChangeset','IPermissionService','SessionStatus','YUUMI_AI_RUN_FAILED','\x20-\x20','EvpKDF','data','focused$','OfflineState','requestParams','crypto','set','ISnapshotServerService','RETRY_CONNECTING_MAX_COUNT_KEY','error','UNIVER_DOC','UniverCollaborationPlugin','telemetry\x20info\x20is\x20not\x20initialized','_userManagerService','commentUpdate$','CollaborationStatus','_waitForHeartbeatResponse','onRemoteAck','getTypeOfUnitAdded$','finalize','NOT_FOUND','_clearUndo','uploadFileServerUrl','transformChangesets','m2Prime','onRemoteChangeset','NEW_CHANGESETS','CONFLICT','People','/-/object/list','avatar','_DEC_XFORM_MODE','toggleOnline','10BJnWpS','allowed','getImageSourceCache','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','transformStack\x20failed!','_createSocket','UnitSnapshot','_handler','UNIVER_SHEET','_key','_getSendChangesetTimeout','objectActions','UNKNOWN_CODE','_nDataBytes','refreshPermission','DEFAULT_WS_SESSION_TICKET_URL','readyForCollab','_getUndoStack','onStateChange','objectID','Injector','downloadEndpointUrl','_sendHeartbeat','_socket','BufferedBlockAlgorithm','copyFileMeta','getImage','[CollaborationSessionService]','entries','getMember','SUCCUSS','Error\x20on\x20receiving\x20event','putCollaborators','[PendingState]:\x20received\x20rejection.','title','fetchThroughInterceptors','UNIVER_SLIDE','charAt','HEARTBEAT_TIMEOUT','JOIN','_scheduleCompleteTimestamp','HmacSHA1','_updateState','random','range','Latin1','map','push','_socketReady','\x20in\x20_schedule.','UserManagerService','getTypeOfUnitDisposed$','unitInfo$','NoPadding','default','INTERNAL_ERROR','_onRemoteACK','disableLocalCache','_members','UniverInstanceType','getLatestCsReqIdBySid','_ENC_XFORM_MODE','_createHelper','onTransformIME','_map','collabSubmitChangesetUrl','CompressMutationService','SyncedState','OTHER_CLIENT_EDITING','changesets','socketService','HELLO','get','type','_createInitialState','reduce','_checkMissing','[OfflineState]:\x20received\x20changeset.','readInt32LE','JOIN_ROOM_NOT_EXISTS','ILocalCacheService','_toggleOffline','ws://127.0.0.1:8000/universer-api/comb/connect','_handlerCallback','hasOwnProperty','_changesetReqId','slice','LICENSE_IMPORT_SIZE_EXCEEDED','?size=','LICENSE_EXPORT_SIZE_EXCEEDED','registerDependencies','IDLE','liveShareOperation','HEARTBEAT_INTERVAL_KEY','[CollaborationSession]','ImageUploadStatusType','ICollaborationSocketService','@univerjs/network','cfg','_socketService','@univerjs/sheets','closeSession','pauseCollaboration','encodeURIComponent','state$','_clearHeartbeatTimer','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_throwTelemetryCollaborationNewChangeset','createIdentifier','_getRedoStack','getActiveSheet','_redoStacks','SEND_CHANGESET_TIMEOUT','close','INVALID_ARGUMENT','&assign=','take','createEncryptor','[UniverCollaborationClientPlugin]','CollaborativeUndoRedoService','commentUpdateEvent','_initCloseConn','clone','LIVESHARE_REQUEST_HOST','StreamCipher','x-univer-host','href','toDisposable','_nRounds','open$','onlyLocal','objects','repeat','registerHTTPInterceptor','PERMISSION_REJ','execute','subUnitId','[SyncedState]:\x20received\x20rejection.','/universer-api/stream/file/upload','encode','_HTTPService','workbook','collaboration_new_changeset','JSONX','YUUMI_UNABLE_LOAD_URL','SNAPSHOT_HAS_BEEN_REMOVED','updatePermissionObjEvent','function','_networkConditionService','_shouldReportTelemetry','resend','Disposable','then','unknown','Subject','now','YUUMI_CONNECTOR_URL_NOT_FOUND','UniverNetwork','responseType','pad','selections','dispose','catch','/rev/','_getCurrentRevision','RevisionService','UniverProCollaborationClient','cmd','OTHER_CLIENTS_EDITING','_tryReconnect','snapshot','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','SetSelectionsOperation','loadOfflineData','createInstance','LIVESHARE_TERMINATE','_onCombEvent','LIVESHARE_OPERATION','mode','LocaleService','padding','getUnitType','delete','_transitionLocked','_append','HttpImport','send','EMAIL_VERIFY_CODE_MISMATCH','_univerInstanceService','3443aSahiA','_undoRedoService','_rescheduleHeartbeat','fetch_missing','image/bmp','CHANGESET_REVISION_CONFILICT','loadUnit','IUniverInstanceService','HTTPRequest','YUUMI_NO_CUBOID_FOR_QUESTION','toString','IConfigService','YUUMI_SUBSCRIPTION_NOT_FOUND','UnitEmbedded','forEach','SNAPSHOT_INVALID_SNAPSHOT','LICENSE_MAX_UNITS_EXCEEDED','IUndoRedoService','deleteCollaborator','touchDependencies','_onConnectionFailed','LOGIN_URL_KEY','UniverProCollaboration','entityInit$','createDecryptor','userID','url','listRoles','_submitChangeset','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','COMPLETION_FINISHED','_createInitialStateImpl','sessionStatus$','getOwnPropertyDescriptor','src','UNIVER_PROJECT','_applyRemoteChangeset','_roomCreated$','socket\x20close','_getLoginPath','_toggleOnline','_eventService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_onMessage','CBC','_doFinalize','offline','_sessions','_imageSourceCache','_schedule','INGEST','FetchingMissState','byteOffset','_iv','_cipher','_sendHeartbeatTimer','roles','_clearRetryConnectingTimer','concatMap','listCollaborators','AwaitingState','revision','_socket$','onSendChangeset','processBlock','symbol','_compressMutationService','onTransformRemoteChangesetByStateCache','OpenSSL','SheetPermissionInitController','@univerjs-pro/collaboration','_init','members','/universer-api/user/session-ticket','_keySchedule','getDeserializedSheetBlock','_executeRemoteChangeset','words','_acknowledgedAwaitingChangeset','startTime','__creator','object','/universer-api/oidc/authpage','/object/','_remoteChangesetQueue','LIVESHARE_FETCH_OPERATIONS','UPDATE_CURSOR','session.room-permission-denied','_hash','CollaborationImageIoService','max','SheetCollaborationEntity','_injector','_transformUndoredo','headers','_onJoinRoomEvent','SHOULD_CLOSE_CONN','size','ivSize','code','HEARTBEAT_TIMEOUT_KEY','ONLINE','AuthzIoHttpService','getUnitOnRev','HEARTBEAT','_getAPIPrefixPath','_httpService','encrypt','[FetchMissState]','isTransformChangesetsSuccess','_hasher','/fetchmissing?from=','getCollabEntity','put','LOGIN_FAILED','MentionIoHttpService','PERSON','getConfig','onSyncEditingCollabCursor','sendChangesetTimeout','_isPermissionRej','_registerDependencies','subscribe','body','ITelemetryService','_event$','__esModule','JOIN_ROOM_PERMISSION_DENIED','reject','create','onMissedChangesetFetched','parse','_transformService','Could\x20not\x20dynamically\x20require\x20\x22','interceptor','sessionStatus','getRoom','_telemetryService','saveSheetBlock','_mode','_candidateSocket','textEncoder','AUTHZ_URL_KEY','eventID','transformUndoRedo','_doReset','Malformed\x20UTF-8\x20data','clamp','CommandType','unitID','createSocket','override','SheetTransformSelectionsService','getCurrentRevOfUnit','MUTATION','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_clearRedo','UniverSheets','pending','SnapshotServerOverHTTPService','signUrlServerUrl','133944rMZsKg','_permissionService','_replaceFileID','ERROR_IMAGE_TYPE','UniverCollaborationClientPlugin','_entities','_undoStacks'];_0x5ea3=function(){return _0x517fc0;};return _0x5ea3();}function _0x24e1(_0x2ea244,_0xa88bd8){var _0x5ea36d=_0x5ea3();return _0x24e1=function(_0x24e186,_0x582674){_0x24e186=_0x24e186-0xe7;var _0x551aea=_0x5ea36d[_0x24e186];return _0x551aea;},_0x24e1(_0x2ea244,_0xa88bd8);}(function(_0x116384,_0x47032c){var _0x4f672c=_0x24e1,_0xe1ca29=_0x116384();while(!![]){try{var _0x149556=-parseInt(_0x4f672c(0x3da))/0x1+parseInt(_0x4f672c(0x40f))/0x2*(-parseInt(_0x4f672c(0x12e))/0x3)+parseInt(_0x4f672c(0x1b1))/0x4+parseInt(_0x4f672c(0x261))/0x5*(-parseInt(_0x4f672c(0x13e))/0x6)+-parseInt(_0x4f672c(0x18e))/0x7*(parseInt(_0x4f672c(0x444))/0x8)+-parseInt(_0x4f672c(0x218))/0x9*(parseInt(_0x4f672c(0x1fd))/0xa)+parseInt(_0x4f672c(0x31e))/0xb*(parseInt(_0x4f672c(0x3bf))/0xc);if(_0x149556===_0x47032c)break;else _0xe1ca29['push'](_0xe1ca29['shift']());}catch(_0xc5f23f){_0xe1ca29['push'](_0xe1ca29['shift']());}}}(_0x5ea3,0xb9654),function(_0x5d8cc1,_0x5a4a18){var _0x838518=_0x24e1;typeof exports==_0x838518(0x36f)&&typeof module<'u'?_0x5a4a18(exports,require('@univerjs/core'),require('rxjs'),require('rxjs/operators'),require('@univerjs-pro/collaboration'),require('@univerjs/network'),require('@univerjs/telemetry'),require('@univerjs/docs'),require('@univerjs/sheets'),require('@univerjs/drawing'),require('@univerjs-pro/license')):typeof define==_0x838518(0x2f4)&&define[_0x838518(0x120)]?define([_0x838518(0x101),_0x838518(0x42e),'rxjs',_0x838518(0x14c),_0x838518(0x364),_0x838518(0x2c2),'@univerjs/telemetry',_0x838518(0x427),_0x838518(0x2c5),_0x838518(0x192),_0x838518(0x10a)],_0x5a4a18):(_0x5d8cc1=typeof globalThis<'u'?globalThis:_0x5d8cc1||self,_0x5a4a18(_0x5d8cc1[_0x838518(0x307)]={},_0x5d8cc1['UniverCore'],_0x5d8cc1['rxjs'],_0x5d8cc1[_0x838518(0x1a5)]['operators'],_0x5d8cc1[_0x838518(0x334)],_0x5d8cc1[_0x838518(0x2fe)],_0x5d8cc1['UniverTelemetry'],_0x5d8cc1[_0x838518(0x466)],_0x5d8cc1[_0x838518(0x3bb)],_0x5d8cc1[_0x838518(0x10b)],_0x5d8cc1[_0x838518(0x455)]));}(this,function(_0x2ce6c3,_0x39f1c2,_0x1a0226,_0x110ccc,_0x216395,_0x7e7238,_0x379a4d,_0x13890f,_0x5b7e46,_0x32b27b,_0x39b186){'use strict';var _0xaff689=_0x24e1;var _0x3a4cc=Object[_0xaff689(0x153)],_0x5d8b11=(_0x48ccc1,_0x323599,_0x2c8719)=>_0x323599 in _0x48ccc1?_0x3a4cc(_0x48ccc1,_0x323599,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c8719}):_0x48ccc1[_0x323599]=_0x2c8719,_0x6434e8=(_0x474c8c,_0x156627,_0x479c26)=>_0x5d8b11(_0x474c8c,typeof _0x156627!=_0xaff689(0x35f)?_0x156627+'':_0x156627,_0x479c26);const _0x48b2f8=_0xaff689(0x41b),_0x335666='/universer-api/snapshot',_0xeb165c='SNAPSHOT_URL_KEY',_0x302f0a=_0xaff689(0x2d1),_0x3a79db=_0xaff689(0x21c),_0x596d2b=_0xaff689(0x2b3),_0xdae98b=_0xaff689(0x367),_0x49a861='HEARTBEAT_INTERVAL',_0x559513=_0xaff689(0x287),_0xfe842=_0xaff689(0x106),_0x1459ea=_0xaff689(0x424),_0x1ef06d=_0xaff689(0x410),_0x1606ef='/universer-api/comb',_0x6058f=_0xaff689(0x333),_0x43cd9e=_0xaff689(0x370),_0x4e015e=_0xaff689(0x1e2),_0x4f148d='/universer-api/uniscript';var _0x42ac5f=(_0x8977c4=>(_0x8977c4[_0x8977c4['UNDEFINED']=0x0]=_0xaff689(0x1d3),_0x8977c4[_0x8977c4['OK']=0x1]='OK',_0x8977c4[_0x8977c4[_0xaff689(0x298)]=0x2]=_0xaff689(0x298),_0x8977c4[_0x8977c4['PERMISSION_DENIED']=0x3]=_0xaff689(0x217),_0x8977c4[_0x8977c4['NOT_FOUND']=0x4]=_0xaff689(0x254),_0x8977c4[_0x8977c4['UNAUTHENTICATED']=0x5]=_0xaff689(0x172),_0x8977c4[_0x8977c4[_0xaff689(0x20a)]=0x6]=_0xaff689(0x20a),_0x8977c4[_0x8977c4['INVALID_ARGUMENT']=0x7]=_0xaff689(0x2d3),_0x8977c4[_0x8977c4['TOO_MANY_REQUESTS']=0x8]=_0xaff689(0x1d5),_0x8977c4[_0x8977c4[_0xaff689(0x33c)]=0x9]=_0xaff689(0x33c),_0x8977c4[_0x8977c4[_0xaff689(0x390)]=0xa]='LOGIN_FAILED',_0x8977c4[_0x8977c4['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0xaff689(0x156),_0x8977c4[_0x8977c4[_0xaff689(0x2cb)]=0xc]=_0xaff689(0x2cb),_0x8977c4[_0x8977c4[_0xaff689(0x31c)]=0xd]=_0xaff689(0x31c),_0x8977c4[_0x8977c4[_0xaff689(0x264)]=0xe]=_0xaff689(0x264),_0x8977c4[_0x8977c4[_0xaff689(0x323)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x8977c4[_0x8977c4[_0xaff689(0x32d)]=0x1771]=_0xaff689(0x32d),_0x8977c4[_0x8977c4[_0xaff689(0x2f2)]=0x1772]=_0xaff689(0x2f2),_0x8977c4[_0x8977c4[_0xaff689(0x1c2)]=0x1773]=_0xaff689(0x1c2),_0x8977c4[_0x8977c4['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x8977c4[_0x8977c4[_0xaff689(0xef)]=0x1b5a]=_0xaff689(0xef),_0x8977c4[_0x8977c4['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x8977c4[_0x8977c4['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x8977c4[_0x8977c4['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x8977c4[_0x8977c4[_0xaff689(0xfc)]=0x1f41]=_0xaff689(0xfc),_0x8977c4[_0x8977c4[_0xaff689(0x32e)]=0x2329]=_0xaff689(0x32e),_0x8977c4[_0x8977c4[_0xaff689(0xf7)]=0x232a]=_0xaff689(0xf7),_0x8977c4[_0x8977c4[_0xaff689(0x2b8)]=0x232b]=_0xaff689(0x2b8),_0x8977c4[_0x8977c4[_0xaff689(0x2ba)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x8977c4[_0x8977c4['LICENSE_DISTRO_REJECTED']=0x232d]=_0xaff689(0x150),_0x8977c4[_0x8977c4[_0xaff689(0x2f1)]=0x2711]=_0xaff689(0x2f1),_0x8977c4[_0x8977c4['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x8977c4[_0x8977c4[_0xaff689(0x1aa)]=0x2713]=_0xaff689(0x1aa),_0x8977c4[_0x8977c4[_0xaff689(0x32a)]=0x2714]=_0xaff689(0x32a),_0x8977c4[_0x8977c4['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0xaff689(0x327),_0x8977c4[_0x8977c4['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0xaff689(0x22e),_0x8977c4[_0x8977c4[_0xaff689(0x40a)]=0x271c]=_0xaff689(0x40a),_0x8977c4[_0x8977c4[_0xaff689(0x1c3)]=0x271d]=_0xaff689(0x1c3),_0x8977c4[_0x8977c4[_0xaff689(0x46a)]=0x271e]=_0xaff689(0x46a),_0x8977c4[_0x8977c4[_0xaff689(0x23e)]=0x271f]=_0xaff689(0x23e),_0x8977c4[_0x8977c4[_0xaff689(0x2fd)]=0x2720]=_0xaff689(0x2fd),_0x8977c4[_0x8977c4[_0xaff689(0x3c9)]=0x2af9]=_0xaff689(0x3c9),_0x8977c4[_0x8977c4['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0xaff689(0x400),_0x8977c4[_0x8977c4[_0xaff689(0x232)]=0x2ee2]=_0xaff689(0x232),_0x8977c4[_0x8977c4['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x8977c4[_0x8977c4[_0xaff689(0xf9)]=0x2ee4]=_0xaff689(0xf9),_0x8977c4[_0x8977c4['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x8977c4[_0x8977c4[_0xaff689(0x464)]=0x32c9]=_0xaff689(0x464),_0x8977c4[_0x8977c4[_0xaff689(0x211)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x8977c4[_0x8977c4[_0xaff689(0x19c)]=0x32cb]=_0xaff689(0x19c),_0x8977c4[_0x8977c4[_0xaff689(0x445)]=-0x1]='UNRECOGNIZED',_0x8977c4))(_0x42ac5f||{}),_0x22fdb1=(_0x194a48=>(_0x194a48[_0x194a48[_0xaff689(0x1ef)]=0x0]='UNIVER_UNKNOWN',_0x194a48[_0x194a48[_0xaff689(0x24a)]=0x1]='UNIVER_DOC',_0x194a48[_0x194a48[_0xaff689(0x269)]=0x2]=_0xaff689(0x269),_0x194a48[_0x194a48[_0xaff689(0x285)]=0x3]=_0xaff689(0x285),_0x194a48[_0x194a48[_0xaff689(0x341)]=0x4]='UNIVER_PROJECT',_0x194a48[_0x194a48['UNRECOGNIZED']=-0x1]=_0xaff689(0x445),_0x194a48))(_0x22fdb1||{}),_0x2adacb=(_0x214fc9=>(_0x214fc9[_0x214fc9['UNKNOWN_CMD']=0x0]=_0xaff689(0x44c),_0x214fc9[_0x214fc9['HELLO']=0x1]=_0xaff689(0x2a8),_0x214fc9[_0x214fc9[_0xaff689(0x288)]=0x2]=_0xaff689(0x288),_0x214fc9[_0x214fc9[_0xaff689(0x1c5)]=0x3]=_0xaff689(0x1c5),_0x214fc9[_0x214fc9['INGEST']=0x4]=_0xaff689(0x350),_0x214fc9[_0x214fc9['HEARTBEAT']=0x5]=_0xaff689(0x386),_0x214fc9[_0x214fc9[_0xaff689(0x46c)]=0x6]=_0xaff689(0x46c),_0x214fc9[_0x214fc9[_0xaff689(0x445)]=-0x1]=_0xaff689(0x445),_0x214fc9))(_0x2adacb||{}),_0x145285=(_0x3ae7c2=>(_0x3ae7c2[_0x3ae7c2[_0xaff689(0x26d)]=0x0]='UNKNOWN_CODE',_0x3ae7c2[_0x3ae7c2['OK']=0x1]='OK',_0x3ae7c2[_0x3ae7c2[_0xaff689(0x18a)]=0x2]=_0xaff689(0x18a),_0x3ae7c2[_0x3ae7c2[_0xaff689(0x406)]=0x3e9]=_0xaff689(0x406),_0x3ae7c2[_0x3ae7c2[_0xaff689(0x2b0)]=0x3ea]=_0xaff689(0x2b0),_0x3ae7c2[_0x3ae7c2['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0xaff689(0x39d),_0x3ae7c2[_0x3ae7c2[_0xaff689(0xf1)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x3ae7c2[_0x3ae7c2[_0xaff689(0x445)]=-0x1]='UNRECOGNIZED',_0x3ae7c2))(_0x145285||{}),_0x3af544=(_0x4610a6=>(_0x4610a6[_0x4610a6[_0xaff689(0x438)]=0x0]=_0xaff689(0x438),_0x4610a6[_0x4610a6[_0xaff689(0x31a)]=0x1]=_0xaff689(0x31a),_0x4610a6[_0x4610a6[_0xaff689(0x1ae)]=0x2]=_0xaff689(0x1ae),_0x4610a6[_0x4610a6[_0xaff689(0x32b)]=0x3]=_0xaff689(0x32b),_0x4610a6[_0x4610a6[_0xaff689(0x267)]=0x4]=_0xaff689(0x267),_0x4610a6[_0x4610a6[_0xaff689(0x14f)]=0x5]=_0xaff689(0x14f),_0x4610a6[_0x4610a6['UNRECOGNIZED']=-0x1]=_0xaff689(0x445),_0x4610a6))(_0x3af544||{});const _0x5a21e6=_0xaff689(0x174),_0x4f190={};var _0x147f94=(_0xc8ace9=>(_0xc8ace9[_0xaff689(0x2a5)]=_0xaff689(0x2a5),_0xc8ace9['PERMISSION_DENIED']=_0xaff689(0x217),_0xc8ace9['CONFLICT']='CONFLICT',_0xc8ace9[_0xaff689(0x136)]=_0xaff689(0x136),_0xc8ace9[_0xaff689(0x442)]=_0xaff689(0x442),_0xc8ace9[_0xaff689(0x160)]=_0xaff689(0x160),_0xc8ace9[_0xaff689(0x409)]=_0xaff689(0x409),_0xc8ace9['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0xc8ace9))(_0x147f94||{});class _0x4d35e6{constructor(){var _0x294209=_0xaff689;_0x6434e8(this,'_event$',new _0x1a0226[(_0x294209(0x2fb))]()),_0x6434e8(this,'event$',this['_event$']['asObservable']());}['emitEvent'](_0x5587d9){var _0x3dce95=_0xaff689;this[_0x3dce95(0x39b)][_0x3dce95(0x45e)](_0x5587d9);}}const _0x2ebef6=_0x39f1c2[_0xaff689(0x2cd)]('univer-pro.collaboration-client.network-condition.service');function _0x3a85a1(_0x416cae){var _0x4034a3=_0xaff689,_0x29b077,_0x5d2a01,_0x297669,_0x2dd91e,_0x4b9583;const _0x49baf4=_0x416cae[_0x4034a3(0x241)],_0x5a9453=JSON[_0x4034a3(0x3a1)](_0x49baf4);switch(_0x5a9453[_0x4034a3(0x308)]){case _0x2adacb['HEARTBEAT']:case _0x2adacb[_0x4034a3(0x2a8)]:{const _0x34dc45=_0x5a9453[_0x4034a3(0x16c)];return{..._0x5a9453,'data':_0x34dc45,'cmd':_0x5a9453[_0x4034a3(0x308)]};}case _0x2adacb[_0x4034a3(0x288)]:{const _0x5aaf49=_0x5a9453['joinRsp'];return{..._0x5a9453,'data':_0x5aaf49,'cmd':_0x5a9453[_0x4034a3(0x308)]};}case _0x2adacb[_0x4034a3(0x46c)]:{const _0x3490f3=_0x5a9453[_0x4034a3(0x22a)];switch(_0x3490f3['eventID']){case _0x216395[_0x4034a3(0x119)][_0x4034a3(0x2e7)]:return{..._0x5a9453,'data':{..._0x3490f3,'data':(_0x29b077=_0x3490f3['permissionRejEvent'])==null?void 0x0:_0x29b077['cs']},'cmd':_0x5a9453[_0x4034a3(0x308)]};case _0x216395[_0x4034a3(0x119)][_0x4034a3(0x201)]:return{..._0x5a9453,'data':{..._0x3490f3,'data':(_0x5d2a01=_0x3490f3['csAckEvent'])==null?void 0x0:_0x5d2a01['cs']},'cmd':_0x5a9453[_0x4034a3(0x308)]};case _0x216395[_0x4034a3(0x119)]['NEW_CHANGESETS']:return{..._0x5a9453,'data':{..._0x3490f3,'data':(_0x297669=_0x3490f3['newCsEvent'])==null?void 0x0:_0x297669['cs']},'cmd':_0x5a9453[_0x4034a3(0x308)]};case _0x216395[_0x4034a3(0x119)][_0x4034a3(0x147)]:return{..._0x5a9453,'data':{..._0x3490f3,'data':(_0x2dd91e=_0x3490f3[_0x4034a3(0x432)])==null?void 0x0:_0x2dd91e['cs']},'cmd':_0x5a9453[_0x4034a3(0x308)]};case _0x216395[_0x4034a3(0x119)][_0x4034a3(0x188)]:return{..._0x5a9453,'data':{..._0x3490f3,'data':(_0x4b9583=_0x3490f3[_0x4034a3(0x13c)])==null?void 0x0:_0x4b9583['cs']},'cmd':_0x5a9453[_0x4034a3(0x308)]};case _0x216395[_0x4034a3(0x119)][_0x4034a3(0x374)]:return{..._0x5a9453,'data':{..._0x3490f3,'data':_0x3490f3[_0x4034a3(0x3db)]},'cmd':_0x5a9453[_0x4034a3(0x308)]};case _0x216395[_0x4034a3(0x119)]['USERS_ENTER']:return{..._0x5a9453,'data':{..._0x3490f3,'data':_0x3490f3[_0x4034a3(0xf5)]},'cmd':_0x5a9453[_0x4034a3(0x308)]};case _0x216395[_0x4034a3(0x119)][_0x4034a3(0xfa)]:return{..._0x5a9453,'data':{..._0x3490f3,'data':_0x3490f3[_0x4034a3(0x194)]},'cmd':_0x5a9453[_0x4034a3(0x308)]};case _0x216395[_0x4034a3(0x119)][_0x4034a3(0x133)]:return{..._0x5a9453,'data':{..._0x3490f3,'data':_0x3490f3['liveShareNewHost']},'cmd':_0x5a9453[_0x4034a3(0x308)]};case _0x216395[_0x4034a3(0x119)][_0x4034a3(0x373)]:case _0x216395[_0x4034a3(0x119)]['LIVESHARE_OPERATION']:return{..._0x5a9453,'data':{..._0x3490f3,'data':_0x3490f3[_0x4034a3(0x2bd)]},'cmd':_0x5a9453[_0x4034a3(0x308)]};case _0x216395[_0x4034a3(0x119)][_0x4034a3(0x310)]:return{..._0x5a9453,'data':{..._0x3490f3,'data':_0x3490f3['liveShareNewHost']},'cmd':_0x5a9453[_0x4034a3(0x308)]};case _0x216395[_0x4034a3(0x119)]['MSG_FOR_ERROR']:return{..._0x5a9453,'data':_0x3490f3,'cmd':_0x5a9453[_0x4034a3(0x308)]};case _0x216395['CollaborationEvent']['COMMENT_UPDATE']:return{..._0x5a9453,'data':{..._0x3490f3,'data':_0x3490f3[_0x4034a3(0x2d9)]},'cmd':_0x5a9453[_0x4034a3(0x308)]};case _0x216395[_0x4034a3(0x119)][_0x4034a3(0x41e)]:return{..._0x5a9453,'data':{..._0x3490f3,'data':_0x3490f3[_0x4034a3(0x2f3)]},'cmd':_0x5a9453['cmd']};case _0x216395[_0x4034a3(0x119)][_0x4034a3(0x37e)]:return{..._0x5a9453,'data':{..._0x3490f3,'data':_0x3490f3[_0x4034a3(0x3c6)]},'cmd':_0x5a9453[_0x4034a3(0x308)]};case _0x216395[_0x4034a3(0x119)][_0x4034a3(0x186)]:return{..._0x5a9453,'data':{..._0x3490f3,'data':_0x3490f3['uniscriptRunEvent']},'cmd':_0x5a9453['cmd']};default:return _0x5a9453;}}default:return _0x5a9453;}}function _0x17d64e(_0x305e46){var _0x516c9e=_0xaff689;switch(_0x305e46[_0x516c9e(0x308)]){case _0x2adacb['HEARTBEAT']:case _0x2adacb['HELLO']:return JSON[_0x516c9e(0x197)]({'cmd':_0x305e46['cmd'],'routeKey':_0x305e46[_0x516c9e(0x14b)]});case _0x2adacb[_0x516c9e(0x350)]:{let _0x11240c;switch(_0x305e46[_0x516c9e(0x241)][_0x516c9e(0x3ad)]){case _0x216395[_0x516c9e(0x119)][_0x516c9e(0x374)]:{_0x11240c={'eventID':_0x216395['CollaborationEvent'][_0x516c9e(0x374)],'updateCursorEvent':_0x305e46[_0x516c9e(0x241)][_0x516c9e(0x241)]};break;}case _0x216395[_0x516c9e(0x119)]['USERS_LEAVE']:{_0x11240c={'eventID':_0x216395['CollaborationEvent'][_0x516c9e(0xfa)],'leaveEvent':_0x305e46[_0x516c9e(0x241)][_0x516c9e(0x241)]};break;}case _0x216395[_0x516c9e(0x119)][_0x516c9e(0x1a0)]:{_0x11240c={'eventID':_0x216395[_0x516c9e(0x119)]['USERS_ENTER'],'joinEvent':_0x305e46['data']['data']};break;}case _0x216395[_0x516c9e(0x119)]['LIVESHARE_NEW_HOST']:{_0x11240c={'eventID':_0x216395[_0x516c9e(0x119)][_0x516c9e(0x133)],'liveShareNewHost':_0x305e46[_0x516c9e(0x241)][_0x516c9e(0x241)]};break;}case _0x216395[_0x516c9e(0x119)][_0x516c9e(0x312)]:{_0x11240c={'eventID':_0x216395['CollaborationEvent'][_0x516c9e(0x312)],'liveShareOperation':_0x305e46[_0x516c9e(0x241)][_0x516c9e(0x241)]};break;}case _0x216395['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x11240c={'eventID':_0x216395[_0x516c9e(0x119)][_0x516c9e(0x310)],'liveShareTerminate':_0x305e46['data']['data']};break;}case _0x216395[_0x516c9e(0x119)][_0x516c9e(0x2dc)]:{_0x11240c={'eventID':_0x216395[_0x516c9e(0x119)][_0x516c9e(0x2dc)],'liveShareRequestHost':_0x305e46[_0x516c9e(0x241)][_0x516c9e(0x241)]};break;}case _0x216395[_0x516c9e(0x119)]['LIVESHARE_FETCH_OPERATIONS']:{_0x11240c={'eventID':_0x216395[_0x516c9e(0x119)][_0x516c9e(0x373)]};break;}default:_0x11240c={'eventID':_0x305e46[_0x516c9e(0x241)][_0x516c9e(0x3ad)]};}return JSON[_0x516c9e(0x197)]({'cmd':_0x305e46[_0x516c9e(0x308)],'routeKey':_0x305e46[_0x516c9e(0x14b)],'collaMsg':_0x11240c});}case _0x2adacb[_0x516c9e(0x288)]:return JSON['stringify']({'cmd':_0x305e46[_0x516c9e(0x308)],'routeKey':_0x305e46['routeKey'],'joinReq':_0x305e46[_0x516c9e(0x241)]});case _0x2adacb[_0x516c9e(0x1c5)]:return JSON[_0x516c9e(0x197)]({'cmd':_0x305e46['cmd'],'routeKey':_0x305e46[_0x516c9e(0x14b)],'leaveReq':_0x305e46[_0x516c9e(0x241)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x436bd4=Object[_0xaff689(0x33f)],_0x5bf28f=(_0x31ffdc,_0x106801,_0xc6972e,_0x11519b)=>{var _0x34bb47=_0xaff689;for(var _0x3be19d=_0x11519b>0x1?void 0x0:_0x11519b?_0x436bd4(_0x106801,_0xc6972e):_0x106801,_0x593646=_0x31ffdc[_0x34bb47(0x3e1)]-0x1,_0x2d8db9;_0x593646>=0x0;_0x593646--)(_0x2d8db9=_0x31ffdc[_0x593646])&&(_0x3be19d=_0x2d8db9(_0x3be19d)||_0x3be19d);return _0x3be19d;},_0x33f0fc=(_0x4db6f1,_0x398153)=>(_0x5991fa,_0x2a5bc0)=>_0x398153(_0x5991fa,_0x2a5bc0,_0x4db6f1);const _0x2d14f4=_0x39f1c2[_0xaff689(0x2cd)](_0xaff689(0x1dc));function _0x53251f(_0x457d10,_0x122fbd,_0x16586e){var _0x8de9f4=_0xaff689;return _0x457d10+'/'+_0x122fbd+_0x8de9f4(0x190)+_0x16586e+_0x8de9f4(0x108);}_0x2ce6c3[_0xaff689(0x171)]=class extends _0x39f1c2[_0xaff689(0x2f8)]{constructor(_0x56eac6,_0x311695,_0x7eec02,_0x49ca86,_0x5e878c){var _0x40523c=_0xaff689;super(),this['_injector']=_0x56eac6,this[_0x40523c(0x388)]=_0x311695,this[_0x40523c(0x45b)]=_0x7eec02,this[_0x40523c(0x1f6)]=_0x49ca86,this[_0x40523c(0x236)]=_0x5e878c;}[_0xaff689(0x1fb)](_0x592545){var _0x314738=_0xaff689;const _0x8a5ca=this[_0x314738(0x37a)][_0x314738(0x2a9)](_0x7e7238[_0x314738(0x44e)]);if(!_0x8a5ca)throw new Error(_0x314738(0x462));const _0x4b42f7=_0x8a5ca[_0x314738(0x3b4)](_0x592545);if(!_0x4b42f7)throw new Error(_0x314738(0x1ff));const _0x28217b=new _0x39f1c2[(_0x314738(0x165))](),_0x5a696c=new _0x1a0226[(_0x314738(0x2fb))]();_0x28217b[_0x314738(0x3ce)](_0x4b42f7['close$'][_0x314738(0x398)](_0x486cb8=>_0x5a696c['next'](_0x486cb8))),_0x28217b['add'](_0x39f1c2[_0x314738(0x2e0)](()=>_0x5a696c[_0x314738(0x1ee)]()));const _0x1d6670=new _0x1a0226['Subject']();_0x28217b[_0x314738(0x3ce)](_0x4b42f7[_0x314738(0x13f)]['subscribe'](_0x5751f2=>_0x1d6670[_0x314738(0x45e)](_0x5751f2))),_0x28217b[_0x314738(0x3ce)](_0x39f1c2[_0x314738(0x2e0)](()=>_0x1d6670[_0x314738(0x1ee)]()));const _0x39138a=new _0x1a0226[(_0x314738(0x2fb))]();_0x28217b[_0x314738(0x3ce)](_0x4b42f7['message$']['subscribe'](_0x202156=>{var _0x121ae4=_0x314738;const _0x4db557=_0x3a85a1(_0x202156);_0x39138a[_0x121ae4(0x45e)](_0x4db557);})),_0x28217b[_0x314738(0x3ce)](_0x39f1c2['toDisposable'](()=>_0x39138a[_0x314738(0x1ee)]()));let _0x2c44eb;const _0x2049cb=()=>{var _0x354e9e=_0x314738;_0x1d6670[_0x354e9e(0x45e)](new Event(_0x354e9e(0x12b))),_0x5a696c[_0x354e9e(0x45e)](new Event(_0x354e9e(0x12b))),_0x2c44eb[_0x354e9e(0x2d2)]();};return _0x2c44eb={'memberID':'','close$':_0x5a696c['asObservable'](),'error$':_0x1d6670[_0x314738(0x412)](),'open$':_0x4b42f7[_0x314738(0x2e2)],'message$':_0x39138a['asObservable'](),'send':_0x17e29d=>{var _0x82cb9d=_0x314738;if(_0x17e29d['cmd']===_0x2adacb['INGEST']){if(_0x17e29d[_0x82cb9d(0x241)]['eventID']===_0x216395[_0x82cb9d(0x119)][_0x82cb9d(0x1e6)]){this[_0x82cb9d(0x33a)](_0x2c44eb,_0x17e29d['data'])['catch'](_0x2b9732=>{var _0x2e9273=_0x82cb9d;this[_0x2e9273(0x1f6)]['error'](_0x2b9732),_0x2049cb();});return;}if(_0x17e29d[_0x82cb9d(0x241)][_0x82cb9d(0x3ad)]===_0x216395['CollaborationEvent'][_0x82cb9d(0x41c)]){const _0x205ec2=_0x17e29d['data'];this['_fetchMissChangesets'](_0x205ec2)[_0x82cb9d(0x2f9)](_0x4934b7=>{var _0x392568=_0x82cb9d;_0x39138a['next']({'cmd':_0x2adacb[_0x392568(0x46c)],'code':_0x145285['OK'],'routeKey':_0x205ec2['data'][_0x392568(0x3b3)],'routeType':'','data':{'eventID':_0x216395['CollaborationEvent'][_0x392568(0x180)],'data':{'changesets':_0x4934b7}}});})[_0x82cb9d(0x303)](_0x1172ab=>{this['_logService']['error'](_0x1172ab),_0x2049cb();});return;}}_0x4b42f7[_0x82cb9d(0x31b)](_0x17d64e(_0x17e29d));},'close':()=>{var _0x1a6040=_0x314738;_0x4b42f7[_0x1a6040(0x2d2)](),_0x28217b[_0x1a6040(0x302)]();}},_0x2c44eb;}async[_0xaff689(0x33a)](_0x1eb60b,_0x1cf8a1){var _0x54fc01=_0xaff689,_0x44bb9c,_0x47d439;const {unitType:_0x298282,unitID:_0x11c719,changeset:_0x4f69e9}=_0x1cf8a1[_0x54fc01(0x241)],_0x2c058f={'unitID':_0x11c719,'memberID':_0x1eb60b['memberID'],'type':_0x298282,'changeset':_0x216395[_0x54fc01(0x170)](_0x4f69e9)},_0xfa0a56=this['_configService'][_0x54fc01(0x393)](_0x1ef06d),_0x32412b=this[_0x54fc01(0x45b)]['getConfig'](_0x5a21e6),_0x5a8d87=_0x53251f((_0x47d439=(_0x44bb9c=_0x32412b==null?void 0x0:_0x32412b[_0x54fc01(0x2a2)])!=null?_0x44bb9c:_0xfa0a56)!=null?_0x47d439:_0x1606ef,_0x298282,_0x11c719);try{await this[_0x54fc01(0x388)][_0x54fc01(0xe7)](_0x5a8d87,{'body':_0x2c058f});}catch(_0x3ba5ae){throw this[_0x54fc01(0x1f6)]['error'](_0x54fc01(0x2bf),'submit\x20changeset\x20error!'),_0x3ba5ae;}}async[_0xaff689(0x408)](_0x1c3cd1){var _0x55ac61=_0xaff689;const {unitID:_0x20bfa2,from:_0x3bb9bc,to:_0x283e73,unitType:_0x42ce1e}=_0x1c3cd1[_0x55ac61(0x241)];return(await this[_0x55ac61(0x236)][_0x55ac61(0x1b4)]({'metadata':void 0x0},{'unitID':_0x20bfa2,'type':_0x42ce1e,'from':_0x3bb9bc,'to':_0x283e73}))[_0x55ac61(0x2a6)];}},_0x2ce6c3[_0xaff689(0x171)]=_0x5bf28f([_0x33f0fc(0x0,_0x39f1c2[_0xaff689(0x3cb)](_0x39f1c2['Injector'])),_0x33f0fc(0x1,_0x39f1c2[_0xaff689(0x3cb)](_0x7e7238[_0xaff689(0x1b5)])),_0x33f0fc(0x2,_0x39f1c2[_0xaff689(0x329)]),_0x33f0fc(0x3,_0x39f1c2[_0xaff689(0x1cd)]),_0x33f0fc(0x4,_0x216395['ISnapshotServerService'])],_0x2ce6c3[_0xaff689(0x171)]);const _0x2764da=_0xaff689(0x2ef);function _0x5e0767(_0x5d90c0){var _0x4afb77=_0xaff689;return JSON['stringify'](_0x5d90c0)[_0x4afb77(0x3e1)];}class _0xbdf877{constructor(){var _0x2034af=_0xaff689;_0x6434e8(this,'_commentUpdate$',new _0x1a0226[(_0x2034af(0x2fb))]()),_0x6434e8(this,_0x2034af(0x24e),this[_0x2034af(0x20d)][_0x2034af(0x412)]());}['onCommentUpdate'](_0x5a43e2){var _0x204e29=_0xaff689;this['_commentUpdate$'][_0x204e29(0x45e)](_0x5a43e2);}}var _0x4b4c4f=Object[_0xaff689(0x33f)],_0x45ab88=(_0xe3fec1,_0x3cfed2,_0x33e6d4,_0x4c829d)=>{var _0x5d6375=_0xaff689;for(var _0x3f8072=_0x4c829d>0x1?void 0x0:_0x4c829d?_0x4b4c4f(_0x3cfed2,_0x33e6d4):_0x3cfed2,_0x5d4198=_0xe3fec1[_0x5d6375(0x3e1)]-0x1,_0x2a021d;_0x5d4198>=0x0;_0x5d4198--)(_0x2a021d=_0xe3fec1[_0x5d4198])&&(_0x3f8072=_0x2a021d(_0x3f8072)||_0x3f8072);return _0x3f8072;},_0x13151a=(_0x579774,_0x1b7cbe)=>(_0x123c39,_0x46ecc6)=>_0x1b7cbe(_0x123c39,_0x46ecc6,_0x579774);_0x2ce6c3['MemberService']=class extends _0x39f1c2[_0xaff689(0x2f8)]{constructor(_0x582101,_0x1efb25){var _0x4d58cd=_0xaff689;super(),_0x6434e8(this,_0x4d58cd(0x1e3),new Map()),_0x6434e8(this,'_roomCreated$',new _0x1a0226[(_0x4d58cd(0x2fb))]()),(this[_0x4d58cd(0x31d)]=_0x582101,this[_0x4d58cd(0x24d)]=_0x1efb25,this['disposeWithMe'](_0x1a0226[_0x4d58cd(0x43b)](this[_0x4d58cd(0x31d)][_0x4d58cd(0x294)](_0x39f1c2['UniverInstanceType'][_0x4d58cd(0x269)])['pipe'](_0x110ccc[_0x4d58cd(0x28f)](_0x4fbe95=>_0x4fbe95[_0x4d58cd(0x210)]())),this[_0x4d58cd(0x31d)][_0x4d58cd(0x294)](_0x39f1c2[_0x4d58cd(0x29c)][_0x4d58cd(0x24a)])[_0x4d58cd(0x117)](_0x110ccc['map'](_0xd3ad92=>_0xd3ad92['getUnitId']())),this[_0x4d58cd(0x31d)][_0x4d58cd(0x294)](_0x39f1c2[_0x4d58cd(0x29c)][_0x4d58cd(0x285)])[_0x4d58cd(0x117)](_0x110ccc[_0x4d58cd(0x28f)](_0x3c9791=>_0x3c9791[_0x4d58cd(0x210)]())))['subscribe'](_0x225a26=>this[_0x4d58cd(0x229)](_0x225a26))));}[_0xaff689(0x167)](_0x41a730){var _0x27d4fa=_0xaff689;return this['_roomMembers']['has'](_0x41a730)?_0x1a0226['of'](this[_0x27d4fa(0x1e3)][_0x27d4fa(0x2a9)](_0x41a730)):this['_roomCreated$'][_0x27d4fa(0x117)](_0x110ccc[_0x27d4fa(0x28f)](_0x21e811=>{var _0x46b79a=_0x27d4fa;if(_0x21e811===_0x41a730)return this[_0x46b79a(0x1e3)][_0x46b79a(0x2a9)](_0x21e811);}));}['setCurrentUser'](_0x166fb2){var _0xe03677=_0xaff689;this['_userManagerService'][_0xe03677(0x219)](_0x166fb2);}[_0xaff689(0x44f)](){var _0x177f57=_0xaff689;return this[_0x177f57(0x24d)][_0x177f57(0x44f)]();}[_0xaff689(0x17e)](_0x44e439,_0x3f46f5){var _0x46d857=_0xaff689;let _0x4aac46=this[_0x46d857(0x1e3)][_0x46d857(0x2a9)](_0x44e439);_0x4aac46||(_0x4aac46=new _0x564854(),this[_0x46d857(0x1e3)][_0x46d857(0x246)](_0x44e439,_0x4aac46),this['_roomCreated$'][_0x46d857(0x45e)](_0x44e439)),_0x4aac46['updateMember'](_0x3f46f5);}[_0xaff689(0x1e9)](_0x45c222,_0x1ec396){var _0x3d8a4a=_0xaff689;const _0x3d9f96=this[_0x3d8a4a(0x1e3)]['get'](_0x45c222);_0x3d9f96&&_0x3d9f96[_0x3d8a4a(0x1e9)](_0x1ec396);}[_0xaff689(0x3a6)](_0x11a268){var _0x553b39=_0xaff689;return this[_0x553b39(0x1e3)][_0x553b39(0x2a9)](_0x11a268);}[_0xaff689(0x27e)](_0x74e8e9,_0x176a6e){var _0x5e18e6=_0xaff689;const _0x3b7346=this['_roomMembers'][_0x5e18e6(0x2a9)](_0x74e8e9);if(_0x3b7346)return _0x3b7346[_0x5e18e6(0x27e)](_0x176a6e);}[_0xaff689(0x229)](_0x15725f){var _0x44f1e6=_0xaff689;const _0x439f14=this[_0x44f1e6(0x1e3)]['get'](_0x15725f);_0x439f14&&(_0x439f14[_0x44f1e6(0x302)](),this['_roomMembers'][_0x44f1e6(0x317)](_0x15725f));}[_0xaff689(0x302)](){var _0xc88f1d=_0xaff689;this['_roomMembers'][_0xc88f1d(0x32c)](_0x468b9d=>_0x468b9d[_0xc88f1d(0x302)]()),this[_0xc88f1d(0x1e3)][_0xc88f1d(0x235)](),this[_0xc88f1d(0x343)][_0xc88f1d(0x1ee)]();}},_0x2ce6c3['MemberService']=_0x45ab88([_0x13151a(0x0,_0x39f1c2['IUniverInstanceService']),_0x13151a(0x1,_0x39f1c2[_0xaff689(0x3cb)](_0x39f1c2[_0xaff689(0x293)]))],_0x2ce6c3[_0xaff689(0x1d1)]);class _0x564854 extends _0x39f1c2[_0xaff689(0x2f8)]{constructor(){var _0x23a3f0=_0xaff689;super(...arguments),_0x6434e8(this,_0x23a3f0(0x29b),new Map()),_0x6434e8(this,_0x23a3f0(0x140),new _0x1a0226[(_0x23a3f0(0x149))](this['_members'])),_0x6434e8(this,'members$',this[_0x23a3f0(0x140)]['asObservable']());}[_0xaff689(0x302)](){var _0x161e2f=_0xaff689;this[_0x161e2f(0x29b)][_0x161e2f(0x235)]();}[_0xaff689(0x17e)](_0x533583){var _0x348e65=_0xaff689;this[_0x348e65(0x29b)]['set'](_0x533583[_0x348e65(0x145)],_0x533583),this['_emitMembers']();}['removeMember'](_0x220d17){var _0x5e885b=_0xaff689;this[_0x5e885b(0x29b)][_0x5e885b(0x317)](_0x220d17);}[_0xaff689(0x27e)](_0x1e29dd){return this['_members']['get'](_0x1e29dd);}['getAllMembers'](){var _0x45f63b=_0xaff689;return Array[_0x45f63b(0x1f8)](this[_0x45f63b(0x29b)][_0x45f63b(0x1dd)]());}['_emitMembers'](){var _0x1b1d7b=_0xaff689;this[_0x1b1d7b(0x140)][_0x1b1d7b(0x45e)](this[_0x1b1d7b(0x29b)]);}}var _0x37c60b=Object[_0xaff689(0x33f)],_0x588524=(_0x158b57,_0x2791d0,_0x3bf838,_0x513dcc)=>{for(var _0x4d61cf=_0x513dcc>0x1?void 0x0:_0x513dcc?_0x37c60b(_0x2791d0,_0x3bf838):_0x2791d0,_0x5c46c0=_0x158b57['length']-0x1,_0x48ba5f;_0x5c46c0>=0x0;_0x5c46c0--)(_0x48ba5f=_0x158b57[_0x5c46c0])&&(_0x4d61cf=_0x48ba5f(_0x4d61cf)||_0x4d61cf);return _0x4d61cf;},_0x406be8=(_0x5aa235,_0x48ff41)=>(_0x228daf,_0x16d44c)=>_0x48ff41(_0x228daf,_0x16d44c,_0x5aa235),_0x41439c=(_0x2d27d5=>(_0x2d27d5[_0x2d27d5[_0xaff689(0x2bc)]=0x0]=_0xaff689(0x2bc),_0x2d27d5[_0x2d27d5['JOINING']=0x1]=_0xaff689(0x407),_0x2d27d5[_0x2d27d5[_0xaff689(0x189)]=0x2]=_0xaff689(0x189),_0x2d27d5[_0x2d27d5['ONLINE']=0x3]=_0xaff689(0x383),_0x2d27d5))(_0x41439c||{});const _0x3955ea={[_0x145285['FAIL']]:_0xaff689(0x3c7),[_0x145285['JOIN_ROOM_FULL']]:_0xaff689(0x42d),[_0x145285[_0xaff689(0x2b0)]]:_0xaff689(0x41d),[_0x145285[_0xaff689(0x39d)]]:_0xaff689(0x375),[_0x145285[_0xaff689(0xf1)]]:'session.room-cnt-exceeds'};_0x2ce6c3['CollaborationSession']=class extends _0x39f1c2[_0xaff689(0x187)]{constructor(_0x3e09c1,_0x4f8eea,_0x51003f,_0x5667cc,_0x1211a3,_0x23f56f,_0x1ef79d,_0x5ef20a,_0xbafc38){var _0x3128b9=_0xaff689;super(),_0x6434e8(this,_0x3128b9(0x196),new _0x1a0226['BehaviorSubject'](0x0)),_0x6434e8(this,_0x3128b9(0x33e),this['_sessionStatus$']['asObservable']()),_0x6434e8(this,'_event$',new _0x1a0226[(_0x3128b9(0x2fb))]()),_0x6434e8(this,_0x3128b9(0x416),this['_event$'][_0x3128b9(0x412)]()),_0x6434e8(this,_0x3128b9(0x278)),_0x6434e8(this,_0x3128b9(0xf6)),_0x6434e8(this,_0x3128b9(0x183)),_0x6434e8(this,_0x3128b9(0x2f6),!0x1),_0x6434e8(this,_0x3128b9(0x16e),null),(this[_0x3128b9(0x135)]=_0x3e09c1,this[_0x3128b9(0x1f6)]=_0x51003f,this[_0x3128b9(0x45b)]=_0x5667cc,this[_0x3128b9(0x1a3)]=_0x1211a3,this[_0x3128b9(0x205)]=_0x23f56f,this[_0x3128b9(0x118)]=_0x1ef79d,this[_0x3128b9(0x141)]=_0x5ef20a,this[_0x3128b9(0x3a7)]=_0xbafc38,this['_shouldReportTelemetry']=!!this[_0x3128b9(0x3a7)],_0x4f8eea[_0x3128b9(0x117)](_0x1a0226[_0x3128b9(0x131)](this[_0x3128b9(0x162)]))['subscribe'](_0x3d02f1=>{var _0x5be7e7=_0x3128b9,_0x2df426;typeof _0x3d02f1>'u'||(this[_0x5be7e7(0x278)]=_0x3d02f1,_0x3d02f1?(this[_0x5be7e7(0x3eb)](_0x3d02f1),this[_0x5be7e7(0xf6)]=_0x3d02f1[_0x5be7e7(0x3df)]['subscribe'](_0x27ed90=>{var _0x1a6f02=_0x5be7e7;_0x27ed90[_0x1a6f02(0x14b)]===this[_0x1a6f02(0x135)]&&this[_0x1a6f02(0x311)](_0x27ed90);})):(this[_0x5be7e7(0x2cc)](),this[_0x5be7e7(0x196)][_0x5be7e7(0x45e)](0x2),(_0x2df426=this['_socketMessageSubscription'])==null||_0x2df426[_0x5be7e7(0x43e)](),this['_socketMessageSubscription']=null));}));}get[_0xaff689(0x3a5)](){var _0x5f29a1=_0xaff689;return this[_0x5f29a1(0x196)][_0x5f29a1(0x206)]();}[_0xaff689(0x21e)](){var _0x3efb64=_0xaff689,_0x2c5ed5,_0x1986b0;return(_0x1986b0=(_0x2c5ed5=this[_0x3efb64(0x278)])==null?void 0x0:_0x2c5ed5[_0x3efb64(0x145)])!=null?_0x1986b0:null;}['dispose'](){var _0x14f3be=_0xaff689;super[_0x14f3be(0x302)](),this[_0x14f3be(0x162)][_0x14f3be(0x45e)](),this[_0x14f3be(0x162)]['complete']();}[_0xaff689(0x2d2)](){var _0x3d3c0d=_0xaff689,_0x478040,_0x438de7;this[_0x3d3c0d(0x2cc)](),(_0x478040=this[_0x3d3c0d(0x278)])==null||_0x478040[_0x3d3c0d(0x31b)]({'cmd':_0x2adacb['LEAVE'],'data':{'roomID':this[_0x3d3c0d(0x135)]}}),(_0x438de7=this['_socket'])==null||_0x438de7[_0x3d3c0d(0x2d2)](),this[_0x3d3c0d(0x39b)][_0x3d3c0d(0x1ee)](),this[_0x3d3c0d(0x196)][_0x3d3c0d(0x1ee)](),this[_0x3d3c0d(0x302)]();}[_0xaff689(0x311)](_0x289a9d){var _0x37202a=_0xaff689;_0x289a9d[_0x37202a(0x308)]===_0x2adacb[_0x37202a(0x288)]?this[_0x37202a(0x37d)](_0x289a9d):_0x289a9d[_0x37202a(0x308)]===_0x2adacb[_0x37202a(0x46c)]&&this['_onRecvEvent'](_0x289a9d);}[_0xaff689(0x3eb)](_0x2ef817){var _0x49e72e=_0xaff689;this['_sessionStatus$'][_0x49e72e(0x45e)](0x1),_0x2ef817['send']({'cmd':_0x2adacb[_0x49e72e(0x288)],'routeKey':this[_0x49e72e(0x135)],'routeType':'','data':{'rooms':[{'roomID':this[_0x49e72e(0x135)]}]}});}[_0xaff689(0x37d)](_0x4487e1){var _0x228f74=_0xaff689,_0x26b579;if(_0x4487e1[_0x228f74(0x381)]in _0x3955ea){this[_0x228f74(0x141)]['emitEvent']({'id':_0x147f94[_0x228f74(0x442)],'data':_0x3955ea[_0x4487e1[_0x228f74(0x381)]]}),this[_0x228f74(0x196)][_0x228f74(0x45e)](0x2);return;}this[_0x228f74(0x196)][_0x228f74(0x45e)](0x3);const _0x23e451=(_0x26b579=_0x4487e1['data']['roomInfos'][this[_0x228f74(0x135)]])==null?void 0x0:_0x26b579[_0x228f74(0x366)];_0x23e451&&_0x23e451['forEach'](_0x16a225=>this['_memberService'][_0x228f74(0x17e)](this['_unitID'],_0x16a225));}[_0xaff689(0x470)](_0x380205){var _0x305e82=_0xaff689;try{const _0x320e63=_0x380205[_0x305e82(0x241)];switch(_0x320e63[_0x305e82(0x3ad)]){case _0x216395[_0x305e82(0x119)][_0x305e82(0x1a0)]:this[_0x305e82(0x237)](_0x320e63),this[_0x305e82(0x39b)][_0x305e82(0x45e)](_0x320e63);break;case _0x216395[_0x305e82(0x119)]['USERS_LEAVE']:this[_0x305e82(0x3dc)](_0x320e63),this[_0x305e82(0x39b)][_0x305e82(0x45e)](_0x320e63);break;case _0x216395[_0x305e82(0x119)][_0x305e82(0x201)]:case _0x216395[_0x305e82(0x119)][_0x305e82(0x188)]:this[_0x305e82(0x203)](),this[_0x305e82(0x10c)](),this[_0x305e82(0x39b)][_0x305e82(0x45e)](_0x320e63);break;case _0x216395[_0x305e82(0x119)]['MSG_FOR_ERROR']:this[_0x305e82(0x1f6)][_0x305e82(0x249)](_0x305e82(0x1d9)+JSON[_0x305e82(0x197)](_0x320e63)),this['_event$'][_0x305e82(0x45e)](_0x320e63);break;case _0x216395[_0x305e82(0x119)][_0x305e82(0x19a)]:this[_0x305e82(0x118)][_0x305e82(0x44a)](_0x320e63[_0x305e82(0x241)]),this[_0x305e82(0x39b)][_0x305e82(0x45e)](_0x320e63);break;default:this['_event$']['next'](_0x320e63);}}catch(_0x5d3c88){this[_0x305e82(0x1f6)]['error'](_0x5d3c88,_0x380205);}}[_0xaff689(0x237)](_0x1d0eb9){var _0x47624a=_0xaff689;this[_0x47624a(0x205)]['updateMember'](this[_0x47624a(0x135)],_0x1d0eb9['data']);}[_0xaff689(0x3dc)](_0x1c1674){var _0x3ccad6=_0xaff689;this[_0x3ccad6(0x205)][_0x3ccad6(0x1e9)](this[_0x3ccad6(0x135)],_0x1c1674[_0x3ccad6(0x241)][_0x3ccad6(0x145)]);}async[_0xaff689(0x31b)](_0x6adc3b,_0x7f5f9a){var _0x34e836=_0xaff689;if(this[_0x34e836(0x3a5)]!==0x3||!this[_0x34e836(0x278)])throw new Error(_0x34e836(0x465));try{_0x6adc3b[_0x34e836(0x3ad)]===_0x216395[_0x34e836(0x119)][_0x34e836(0x1e6)]&&(this[_0x34e836(0x22b)](),this['_startTelemetryCollaborationNewChangeset'](_0x6adc3b)),this['_socket'][_0x34e836(0x31b)]({'cmd':_0x2adacb[_0x34e836(0x350)],'routeKey':_0x7f5f9a,'routeType':'','data':_0x6adc3b});}catch(_0x201855){this[_0x34e836(0x1f6)]['error'](_0x201855);}}[_0xaff689(0x22b)](){var _0x53b255=_0xaff689,_0x28c5de;this[_0x53b255(0x183)]=setTimeout(()=>{var _0xf38f0f=_0x53b255;this[_0xf38f0f(0x183)]=null,this[_0xf38f0f(0x141)][_0xf38f0f(0x1b2)]({'id':_0x147f94['SUBMIT_CHANGESET_TIMEOUT']});},(_0x28c5de=this[_0x53b255(0x45b)][_0x53b255(0x393)](_0x559513))!=null?_0x28c5de:0x4e20);}[_0xaff689(0x10c)](){var _0x4c7cf5=_0xaff689;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x4c7cf5(0x183)]),this[_0x4c7cf5(0x183)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x219fcf){var _0x17d622=_0xaff689;if(!this['_shouldReportTelemetry'])return;const {data:_0x12b493}=_0x219fcf,{unitID:_0x3fc1bb,changeset:_0x5e89a1}=_0x12b493,{mutations:_0x9e49cb,type:_0x4f1161}=_0x5e89a1;this['_telemetryInfo']={'unitId':_0x3fc1bb,'type':_0x4f1161,'startTime':performance[_0x17d622(0x2fc)](),'stopTime':0x0,'duration':0x0,'size':_0x5e0767(_0x9e49cb)};}[_0xaff689(0x203)](){var _0x1baf8c=_0xaff689;if(this[_0x1baf8c(0x2f6)]){if(!this[_0x1baf8c(0x16e)]){this['_logService'][_0x1baf8c(0x249)]('[CollaborationSession]',_0x1baf8c(0x24c));return;}this[_0x1baf8c(0x16e)][_0x1baf8c(0x46e)]=performance['now'](),this[_0x1baf8c(0x16e)][_0x1baf8c(0x3fc)]=this[_0x1baf8c(0x16e)]['stopTime']-this[_0x1baf8c(0x16e)][_0x1baf8c(0x36d)],this['_telemetryService']['capture'](_0x2764da,this[_0x1baf8c(0x16e)]),this[_0x1baf8c(0x16e)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0xa5c5bc=_0xaff689;this[_0xa5c5bc(0x16e)]=null;}},_0x2ce6c3[_0xaff689(0x17a)]=_0x588524([_0x406be8(0x2,_0x39f1c2[_0xaff689(0x1cd)]),_0x406be8(0x3,_0x39f1c2[_0xaff689(0x329)]),_0x406be8(0x4,_0x39f1c2[_0xaff689(0x3cb)](_0x39f1c2[_0xaff689(0x314)])),_0x406be8(0x5,_0x39f1c2['Inject'](_0x2ce6c3[_0xaff689(0x1d1)])),_0x406be8(0x6,_0x39f1c2[_0xaff689(0x3cb)](_0xbdf877)),_0x406be8(0x7,_0x39f1c2[_0xaff689(0x3cb)](_0x4d35e6)),_0x406be8(0x8,_0x39f1c2[_0xaff689(0x456)](_0x379a4d[_0xaff689(0x39a)]))],_0x2ce6c3['CollaborationSession']);var _0x518f84=Object['getOwnPropertyDescriptor'],_0x5816f3=(_0x5d7ff1,_0x1f4a73,_0x432fa2,_0x183712)=>{for(var _0xc7276d=_0x183712>0x1?void 0x0:_0x183712?_0x518f84(_0x1f4a73,_0x432fa2):_0x1f4a73,_0x3d2b1c=_0x5d7ff1['length']-0x1,_0x2eff46;_0x3d2b1c>=0x0;_0x3d2b1c--)(_0x2eff46=_0x5d7ff1[_0x3d2b1c])&&(_0xc7276d=_0x2eff46(_0xc7276d)||_0xc7276d);return _0xc7276d;},_0x48f166=(_0x8de681,_0xe680dc)=>(_0x5a9cab,_0x1dbd20)=>_0xe680dc(_0x5a9cab,_0x1dbd20,_0x8de681);_0x2ce6c3[_0xaff689(0x1c4)]=class extends _0x39f1c2[_0xaff689(0x2f8)]{constructor(_0x1aae4b,_0x43d38e,_0x30bcfc,_0x554e83,_0xe8c86,_0x1f7377){var _0x531c5d=_0xaff689;super(),_0x6434e8(this,_0x531c5d(0x35c),new _0x1a0226[(_0x531c5d(0x149))](void 0x0)),_0x6434e8(this,_0x531c5d(0x451),this[_0x531c5d(0x35c)][_0x531c5d(0x412)]()),_0x6434e8(this,_0x531c5d(0x3aa),null),_0x6434e8(this,_0x531c5d(0x34d),new Map()),_0x6434e8(this,_0x531c5d(0x3c8),new _0x1a0226[(_0x531c5d(0x149))](_0x41439c[_0x531c5d(0x2bc)])),_0x6434e8(this,'status$',this[_0x531c5d(0x3c8)][_0x531c5d(0x412)]()),_0x6434e8(this,_0x531c5d(0x291),!0x1),_0x6434e8(this,_0x531c5d(0x1cc)),_0x6434e8(this,'_retryCount',0x0),_0x6434e8(this,_0x531c5d(0x355)),_0x6434e8(this,'_timeoutTimer'),(this[_0x531c5d(0x37a)]=_0x1aae4b,this[_0x531c5d(0x1f6)]=_0x43d38e,this[_0x531c5d(0x45b)]=_0x30bcfc,this[_0x531c5d(0x2c4)]=_0x554e83,this[_0x531c5d(0x141)]=_0xe8c86,this['_networkConditionService']=_0x1f7377,this['_listenToNetworkCondition']());}get['_socket'](){var _0x4a7b07=_0xaff689;return this[_0x4a7b07(0x35c)][_0x4a7b07(0x206)]();}[_0xaff689(0x1ba)](){var _0x594dfc=_0xaff689;this[_0x594dfc(0x2f5)]&&this['disposeWithMe'](this[_0x594dfc(0x2f5)]['online$']['subscribe'](_0x308408=>{var _0x1776d7=_0x594dfc;_0x308408&&!this[_0x1776d7(0x278)]&&this[_0x1776d7(0x224)](),_0x308408||this['_onOffline']();}));}[_0xaff689(0x302)](){var _0x3189ae=_0xaff689;super[_0x3189ae(0x302)](),this[_0x3189ae(0x357)](),this[_0x3189ae(0x17f)](),this[_0x3189ae(0x2ca)](),this['_sessions'][_0x3189ae(0x32c)](_0x411010=>_0x411010[_0x3189ae(0x302)]()),this[_0x3189ae(0x34d)][_0x3189ae(0x235)](),this[_0x3189ae(0x3c8)][_0x3189ae(0x1ee)]();}async[_0xaff689(0x228)](_0x5d7bdf){var _0x52d920=_0xaff689;if(this[_0x52d920(0x34d)][_0x52d920(0x220)](_0x5d7bdf))return this[_0x52d920(0x34d)][_0x52d920(0x2a9)](_0x5d7bdf);this['_tryEnsureSocket']();const _0x36fd10=this['_injector'][_0x52d920(0x30f)](_0x2ce6c3[_0x52d920(0x17a)],_0x5d7bdf,this[_0x52d920(0x35c)][_0x52d920(0x412)]());return this[_0x52d920(0x34d)]['set'](_0x5d7bdf,_0x36fd10),_0x36fd10;}[_0xaff689(0x2c6)](_0xc9620){var _0x162444=_0xaff689,_0x2a30fe;const _0x3dff52=this[_0x162444(0x34d)][_0x162444(0x2a9)](_0xc9620);_0x3dff52&&(this['_sessions'][_0x162444(0x317)](_0xc9620),_0x3dff52[_0x162444(0x2d2)]()),this[_0x162444(0x34d)][_0x162444(0x37f)]||(_0x2a30fe=this[_0x162444(0x278)])==null||_0x2a30fe[_0x162444(0x2d2)]();}[_0xaff689(0x224)](){var _0x29e4c1=_0xaff689;this[_0x29e4c1(0x1ec)]=0x0,this[_0x29e4c1(0x357)](),this[_0x29e4c1(0x30a)]();}[_0xaff689(0x357)](){var _0x280ad8=_0xaff689;this[_0x280ad8(0x1cc)]!=null&&(clearTimeout(this[_0x280ad8(0x1cc)]),this[_0x280ad8(0x1cc)]=null);}async['_createSocket'](){var _0x1cdad3=_0xaff689,_0x12907a,_0x5c04c4;const _0x4f0d95=this['_configService'][_0x1cdad3(0x393)](_0x3a79db),_0x12b73b=this['_configService'][_0x1cdad3(0x393)](_0x5a21e6),_0xf32d10=(_0x5c04c4=(_0x12907a=_0x12b73b==null?void 0x0:_0x12b73b[_0x1cdad3(0x3ef)])!=null?_0x12907a:_0x4f0d95)!=null?_0x5c04c4:_0x596d2b,_0x13aa44=await this[_0x1cdad3(0x2c4)][_0x1cdad3(0x3b4)](_0xf32d10);return this[_0x1cdad3(0x3aa)]=_0x13aa44,_0x13aa44;}async['_tryEnsureSocket'](){var _0x553a40=_0xaff689,_0x5ae7d3,_0x4daed5;try{const _0x2b6f08=(_0x4daed5=(_0x5ae7d3=this[_0x553a40(0x278)])!=null?_0x5ae7d3:this[_0x553a40(0x3aa)])!=null?_0x4daed5:await this[_0x553a40(0x266)]();if(_0x2b6f08){const _0x58aaa6=_0x2b6f08[_0x553a40(0x31b)];_0x2b6f08['send']=_0x37c4c0=>(this[_0x553a40(0x320)](),_0x58aaa6[_0x553a40(0x154)](_0x2b6f08,[_0x37c4c0])),_0x2b6f08['message$']['subscribe'](_0x114d8e=>this[_0x553a40(0x349)](_0x2b6f08,_0x114d8e)),_0x2b6f08[_0x553a40(0x13f)][_0x553a40(0x117)](_0x110ccc[_0x553a40(0x2d5)](0x1))['subscribe'](_0x56e8df=>this[_0x553a40(0x1f6)][_0x553a40(0x249)](_0x553a40(0x46b),_0x56e8df)),_0x2b6f08['open$']['pipe'](_0x110ccc[_0x553a40(0x2d5)](0x1))[_0x553a40(0x398)](()=>{this['_onConnectionOpen'](_0x2b6f08);}),_0x2b6f08['close$'][_0x553a40(0x117)](_0x110ccc[_0x553a40(0x2d5)](0x1))[_0x553a40(0x398)](_0x48508b=>{var _0x432a84=_0x553a40;this['_logService'][_0x432a84(0x1e7)](_0x432a84(0x27c),_0x432a84(0x344),_0x48508b),this[_0x432a84(0x332)]();});}}catch(_0x29acc8){this[_0x553a40(0x1f6)][_0x553a40(0x249)](_0x29acc8),this[_0x553a40(0x332)]();}}['_onConnectionOpen'](_0x36e51d){var _0x1aa6f9=_0xaff689;this[_0x1aa6f9(0x1f6)]['debug']('[CollaborationSessionService]',_0x1aa6f9(0x421)),_0x36e51d[_0x1aa6f9(0x31b)]({'cmd':_0x2adacb[_0x1aa6f9(0x2a8)]}),this[_0x1aa6f9(0x320)]();}[_0xaff689(0x3e8)](){var _0x2c994b=_0xaff689;this[_0x2c994b(0x291)]=!0x1,this[_0x2c994b(0x3aa)]=null,this[_0x2c994b(0x3c8)][_0x2c994b(0x45e)](_0x41439c[_0x2c994b(0x189)]),this[_0x2c994b(0x35c)][_0x2c994b(0x45e)](null),this[_0x2c994b(0x17f)](),this[_0x2c994b(0x2ca)]();}[_0xaff689(0x332)](){var _0x46cbce=_0xaff689,_0x3ef3d1;this[_0x46cbce(0x3e8)](),this['_retryCount']<((_0x3ef3d1=this[_0x46cbce(0x45b)][_0x46cbce(0x393)](_0xfe842))!=null?_0x3ef3d1:0x3)?(this[_0x46cbce(0x141)][_0x46cbce(0x1b2)]({'id':_0x147f94[_0x46cbce(0x160)]}),this[_0x46cbce(0x30a)]()):this[_0x46cbce(0x141)][_0x46cbce(0x1b2)]({'id':_0x147f94[_0x46cbce(0x409)]});}[_0xaff689(0x30a)](){var _0x21d8ef=_0xaff689,_0x3c2110;const _0x4079a4=this['_retryCount'],_0x52c7c9=this['_configService'][_0x21d8ef(0x393)](_0x5a21e6),_0x2edce9=_0x4079a4===0x0?0x0:((_0x3c2110=_0x52c7c9==null?void 0x0:_0x52c7c9['retryConnectingInterval'])!=null?_0x3c2110:0x4e20)*0x2**_0x4079a4;this['_retryConnectingTimer']=setTimeout(()=>{var _0x768b9b=_0x21d8ef;clearTimeout(this[_0x768b9b(0x1cc)]),this[_0x768b9b(0x1cc)]=null,this['_tryEnsureSocket']();},_0x2edce9),this['_retryCount']+=0x1;}['_onMessage'](_0x430c6a,_0x5dd527){var _0x5d9e05=_0xaff689;const {cmd:_0x34d9f8}=_0x5dd527;_0x34d9f8===_0x2adacb[_0x5d9e05(0x2a8)]&&!this[_0x5d9e05(0x291)]&&(_0x430c6a[_0x5d9e05(0x145)]=_0x5dd527[_0x5d9e05(0x241)][_0x5d9e05(0x145)],this[_0x5d9e05(0x35c)][_0x5d9e05(0x45e)](_0x430c6a),this[_0x5d9e05(0x3c8)][_0x5d9e05(0x45e)](_0x41439c[_0x5d9e05(0x383)]),this[_0x5d9e05(0x291)]=!0x0,this['_candidateSocket']=null),_0x34d9f8===_0x2adacb['HEARTBEAT']&&this[_0x5d9e05(0x17f)](),this[_0x5d9e05(0x320)]();}[_0xaff689(0x320)](){var _0x4abc4d=_0xaff689,_0x4fcab5;this[_0x4abc4d(0x2ca)](),this[_0x4abc4d(0x355)]=setTimeout(()=>this[_0x4abc4d(0x277)](),(_0x4fcab5=this[_0x4abc4d(0x45b)][_0x4abc4d(0x393)](_0x49a861))!=null?_0x4fcab5:0x7530);}['_sendHeartbeat'](){var _0x1041a2=_0xaff689;this['_socket'][_0x1041a2(0x31b)]({'cmd':_0x2adacb[_0x1041a2(0x386)]}),this[_0x1041a2(0x250)]();}[_0xaff689(0x250)](){var _0x1bc13d=_0xaff689,_0x17bb26;this[_0x1bc13d(0x22f)]=setTimeout(()=>this[_0x1bc13d(0x332)](),(_0x17bb26=this[_0x1bc13d(0x45b)]['getConfig'](_0x559513))!=null?_0x17bb26:0x4e20);}['_clearHeartbeatTimer'](){var _0x213465=_0xaff689;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x213465(0x355)]),this[_0x213465(0x355)]=null);}[_0xaff689(0x17f)](){var _0x28851a=_0xaff689;this[_0x28851a(0x22f)]!=null&&(clearTimeout(this[_0x28851a(0x22f)]),this[_0x28851a(0x22f)]=null);}},_0x2ce6c3['CollaborationSessionService']=_0x5816f3([_0x48f166(0x0,_0x39f1c2[_0xaff689(0x3cb)](_0x39f1c2[_0xaff689(0x275)])),_0x48f166(0x1,_0x39f1c2[_0xaff689(0x1cd)]),_0x48f166(0x2,_0x39f1c2[_0xaff689(0x329)]),_0x48f166(0x3,_0x2d14f4),_0x48f166(0x4,_0x39f1c2[_0xaff689(0x3cb)](_0x4d35e6)),_0x48f166(0x5,_0x39f1c2['Optional'](_0x2ebef6))],_0x2ce6c3[_0xaff689(0x1c4)]);const _0x1f6549=_0x39f1c2[_0xaff689(0x2cd)](_0xaff689(0x11e));function _0x282c94(_0x482aba){var _0x5dafc7=_0xaff689;return _0x5dafc7(0x202)+_0x482aba;}var _0x1cef14=Object[_0xaff689(0x33f)],_0x30a69d=(_0x28ce9a,_0x2e680a,_0x2250c8,_0x19a70d)=>{var _0x1befe3=_0xaff689;for(var _0x2bdca5=_0x19a70d>0x1?void 0x0:_0x19a70d?_0x1cef14(_0x2e680a,_0x2250c8):_0x2e680a,_0x17fed6=_0x28ce9a[_0x1befe3(0x3e1)]-0x1,_0x1266b6;_0x17fed6>=0x0;_0x17fed6--)(_0x1266b6=_0x28ce9a[_0x17fed6])&&(_0x2bdca5=_0x1266b6(_0x2bdca5)||_0x2bdca5);return _0x2bdca5;},_0x2d7e87=(_0x14245a,_0x2f470b)=>(_0x3c14d4,_0x36b673)=>_0x2f470b(_0x3c14d4,_0x36b673,_0x14245a);function _0x4f9b3a(_0x1d15d5){var _0x3b36b3=_0xaff689;const {unitID:_0x282687,mutations:_0x531393}=_0x1d15d5;return{'unitId':_0x282687,'subUnitId':_0x531393[0x0][_0x3b36b3(0x449)][_0x3b36b3(0x2e9)]};}_0x2ce6c3[_0xaff689(0x3b6)]=class{constructor(_0x35710f,_0x218c1d,_0x1b6d0c){var _0x1e0c92=_0xaff689;this[_0x1e0c92(0x37a)]=_0x35710f,this[_0x1e0c92(0x3a2)]=_0x218c1d,this[_0x1e0c92(0x459)]=_0x1b6d0c;}['transformSelections'](_0x5eb1e0){var _0x3f9dea=_0xaff689,_0x599d11,_0x524c1a,_0x78b154,_0x4903c2;const _0x9eb06d=this[_0x3f9dea(0x37a)]['get'](_0x5b7e46[_0x3f9dea(0x1ed)]),{unitId:_0x3e0581,subUnitId:_0x2f66f4}=_0x4f9b3a(_0x5eb1e0),_0x8bd876=_0x9eb06d==null?void 0x0:_0x9eb06d['getWorkbookSelections'](_0x3e0581)['getCurrentSelections'](),_0x25d0d1=(_0x524c1a=(_0x599d11=this['_instanceService']['getUnit'](_0x3e0581))==null?void 0x0:_0x599d11[_0x3f9dea(0x2cf)]())==null?void 0x0:_0x524c1a[_0x3f9dea(0x1c0)]();if(_0x8bd876['length']===0x0||!_0x3e0581||!_0x2f66f4)return;const _0xfc3f0b=[{'id':_0x5b7e46[_0x3f9dea(0x30d)]['id'],'params':{'unitId':_0x3e0581,'subUnitId':_0x25d0d1,'selections':_0x39f1c2[_0x3f9dea(0x3cf)][_0x3f9dea(0x41f)](_0x8bd876)}}],_0x4afa52=this[_0x3f9dea(0x3a2)][_0x3f9dea(0x214)](_0x5eb1e0,_0xfc3f0b);if(!_0x216395[_0x3f9dea(0x166)](_0x4afa52))throw _0x4afa52[_0x3f9dea(0x249)];const _0x9db48c=(_0x4903c2=(_0x78b154=_0x4afa52[_0x3f9dea(0x258)][0x0])==null?void 0x0:_0x78b154[_0x3f9dea(0x449)])==null?void 0x0:_0x4903c2[_0x3f9dea(0x301)];if(Array[_0x3f9dea(0x460)](_0x9db48c)&&_0x9db48c[_0x3f9dea(0x3e1)]){if(_0x9db48c[_0x3f9dea(0x3e1)]===_0xfc3f0b[0x0][_0x3f9dea(0x449)][_0x3f9dea(0x301)][_0x3f9dea(0x3e1)]&&_0x9db48c[_0x3f9dea(0x1e4)]((_0x5c3bca,_0x44831f)=>_0x39f1c2['Rectangle'][_0x3f9dea(0x46f)](_0x5c3bca[_0x3f9dea(0x28d)],_0xfc3f0b[0x0]['params'][_0x3f9dea(0x301)][_0x44831f]['range'])))return;this['_injector'][_0x3f9dea(0x2a9)](_0x39f1c2['ICommandService'])[_0x3f9dea(0x446)](_0x5b7e46[_0x3f9dea(0x30d)]['id'],{'unitId':_0x3e0581,'subUnitId':_0x25d0d1,'selections':_0x9db48c});}}},_0x2ce6c3[_0xaff689(0x3b6)]=_0x30a69d([_0x2d7e87(0x0,_0x39f1c2[_0xaff689(0x3cb)](_0x39f1c2[_0xaff689(0x275)])),_0x2d7e87(0x1,_0x216395['ITransformService']),_0x2d7e87(0x2,_0x39f1c2[_0xaff689(0x325)])],_0x2ce6c3[_0xaff689(0x3b6)]);const _0x2ecfe6=_0x39f1c2[_0xaff689(0x2cd)](_0xaff689(0x21a));var _0x3f6f84=(_0x2edecd=>(_0x2edecd[_0x2edecd[_0xaff689(0x3f9)]=0x0]=_0xaff689(0x3f9),_0x2edecd[_0x2edecd[_0xaff689(0x309)]=0x1]='OTHER_CLIENTS_EDITING',_0x2edecd))(_0x3f6f84||{});const _0x39217d=new Set([_0x5b7e46[_0xaff689(0x3e9)]['id']]);function _0xd6382c(_0x48b6ed,_0x184daa,_0x5189a7,_0x1fe988,_0x5a13cb){var _0x236b85=_0xaff689,_0x46c505,_0x5b7dff,_0x5f6fd4,_0x24c9e0;const _0x1ece59=[];for(const _0xab2d17 of _0x48b6ed)if(_0x39217d['has'](_0xab2d17['id'])){if(_0x1ece59['length']>0x0)break;_0x1ece59[_0x236b85(0x290)](_0xab2d17);break;}else _0x1ece59['push'](_0xab2d17);const _0x24ca39=(_0x5b7dff=(_0x46c505=_0x5a13cb[_0x236b85(0x44f)]())==null?void 0x0:_0x46c505[_0x236b85(0x337)])!=null?_0x5b7dff:_0x236b85(0x2fa),_0x56b740=(_0x24c9e0=(_0x5f6fd4=_0x5a13cb[_0x236b85(0x44f)]())==null?void 0x0:_0x5f6fd4[_0x236b85(0x145)])!=null?_0x24c9e0:_0x236b85(0x2fa);return{'changeset':{'unitID':_0x184daa,'type':_0x216395['mapDocumentTypeToUniverType'](_0x5189a7['getUnitType'](_0x184daa)),'baseRev':_0x1fe988[_0x236b85(0x3b7)](_0x184daa),'revision':0x0,'userID':_0x24ca39,'memberID':_0x56b740,'mutations':_0x1ece59},'pendingMutations':_0x48b6ed[_0x236b85(0x2b7)](_0x1ece59[_0x236b85(0x3e1)])};}function _0x3b0d0(_0x210b85,_0x52a582,_0x180761,_0x4c6008,_0x1e8816){var _0x30710d=_0xaff689,_0x5a8551,_0x442138,_0x20fbf4,_0x192c3a;const _0x3b14ee=[_0x210b85[_0x30710d(0x2ac)]((_0x40e229,_0x486189)=>{var _0x5105ff=_0x30710d,_0x4511d5;const {id:_0x3d6acc}=_0x40e229,{id:_0x39bb8b,type:_0x4d50d6}=_0x486189,_0x2b5deb=(_0x4511d5=_0x40e229[_0x5105ff(0x449)])!=null?_0x4511d5:{'actions':null},_0x1e894f=_0x486189['params'];if(_0x3d6acc&&_0x3d6acc!==_0x39bb8b)throw new Error(_0x5105ff(0x107)+_0x3d6acc+_0x5105ff(0x23f)+_0x39bb8b+'.');return{..._0x40e229,'id':_0x39bb8b,'type':_0x4d50d6,'params':{'unitId':_0x1e894f[_0x5105ff(0x469)],'textRanges':_0x1e894f[_0x5105ff(0x1f4)],'actions':_0x39f1c2[_0x5105ff(0x2f0)][_0x5105ff(0x16a)](_0x2b5deb[_0x5105ff(0x401)],_0x1e894f[_0x5105ff(0x401)])}};},{})],_0x173f20=(_0x442138=(_0x5a8551=_0x1e8816[_0x30710d(0x44f)]())==null?void 0x0:_0x5a8551['userID'])!=null?_0x442138:_0x30710d(0x2fa),_0x408cf6=(_0x192c3a=(_0x20fbf4=_0x1e8816[_0x30710d(0x44f)]())==null?void 0x0:_0x20fbf4[_0x30710d(0x145)])!=null?_0x192c3a:_0x30710d(0x2fa);return{'changeset':{'unitID':_0x52a582,'type':_0x216395[_0x30710d(0x102)](_0x180761[_0x30710d(0x316)](_0x52a582)),'baseRev':_0x4c6008[_0x30710d(0x3b7)](_0x52a582),'revision':0x0,'userID':_0x173f20,'memberID':_0x408cf6,'mutations':_0x3b14ee},'pendingMutations':[]};}function _0x2d1bda(_0x4ef82a,_0x5e4716){var _0x1e6911=_0xaff689;const _0x1cb737=new _0x1a0226[(_0x1e6911(0x1ad))](0x1);return setTimeout(()=>_0x1cb737[_0x1e6911(0x45e)](_0x5e4716),_0x4ef82a),_0x1cb737[_0x1e6911(0x412)]()[_0x1e6911(0x117)](_0x1a0226[_0x1e6911(0x2d5)](0x1));}const _0xeb2495={'id':_0x5b7e46[_0xaff689(0x12a)]['id'],'type':_0x39f1c2[_0xaff689(0x3b2)][_0xaff689(0x3b8)],'params':{}};var _0x9f0b1f=Object['getOwnPropertyDescriptor'],_0x1e295b=(_0x2e6e3b,_0x1b6481,_0x5b804e,_0x41b0c5)=>{for(var _0x2a5e6c=_0x41b0c5>0x1?void 0x0:_0x41b0c5?_0x9f0b1f(_0x1b6481,_0x5b804e):_0x1b6481,_0x1d7ce8=_0x2e6e3b['length']-0x1,_0x1159df;_0x1d7ce8>=0x0;_0x1d7ce8--)(_0x1159df=_0x2e6e3b[_0x1d7ce8])&&(_0x2a5e6c=_0x1159df(_0x2a5e6c)||_0x2a5e6c);return _0x2a5e6c;},_0x4d1211=(_0x1407b2,_0x543de9)=>(_0x112751,_0xff0f4)=>_0x543de9(_0x112751,_0xff0f4,_0x1407b2),_0x23928b=(_0x56da92=>(_0x56da92[_0xaff689(0x1a7)]=_0xaff689(0x13a),_0x56da92[_0xaff689(0x199)]=_0xaff689(0x125),_0x56da92[_0xaff689(0x19f)]=_0xaff689(0x3bc),_0x56da92['AWAITING']=_0xaff689(0x420),_0x56da92['AWAITING_WITH_PENDING']=_0xaff689(0x1f2),_0x56da92['FETCH_MISS']=_0xaff689(0x321),_0x56da92['CONFLICT']='conflict',_0x56da92['OFFLINE']=_0xaff689(0x34c),_0x56da92))(_0x23928b||{});const _0x2adfaa=0xea60;class _0x3eef3c{constructor(_0x377494,_0x2be0ea,_0x2d191a,_0x169a1d,_0x11bf4d,_0x29f1ec,_0x49bca6,_0x2d1972,_0x4d3900){var _0x175b7a=_0xaff689;_0x6434e8(this,'_awaitingChangeset',null),_0x6434e8(this,_0x175b7a(0x46d),[]),(this[_0x175b7a(0x3b3)]=_0x377494,this[_0x175b7a(0x2aa)]=_0x2be0ea,this[_0x175b7a(0x268)]=_0x11bf4d,this[_0x175b7a(0x144)]=_0x29f1ec,this[_0x175b7a(0x31f)]=_0x49bca6,this[_0x175b7a(0x155)]=_0x2d1972,this[_0x175b7a(0x18d)]=_0x4d3900,this['_awaitingChangeset']=_0x2d191a,this[_0x175b7a(0x46d)]=_0x169a1d);}[_0xaff689(0x2ad)](_0x4d4994){var _0x4f7155=_0xaff689;const _0x1f1258=this[_0x4f7155(0x155)][_0x4f7155(0x3b7)](this[_0x4f7155(0x3b3)]);return _0x4d4994[_0x4f7155(0x35b)]>_0x1f1258+0x1?(this[_0x4f7155(0x268)]['onMissingChangesets']({'from':_0x1f1258,'to':_0x4d4994['revision']-0x1}),!0x0):!0x1;}[_0xaff689(0x37b)](_0x18b445){var _0x49e367=_0xaff689;this[_0x49e367(0x31f)][_0x49e367(0x3ae)](this['unitID'],_0x18b445);}[_0xaff689(0x43d)](_0xfcf8de){var _0x5dfd3b=_0xaff689,_0x23dec8,_0x5854e8;(_0x5854e8=(_0x23dec8=this[_0x5dfd3b(0x268)])[_0x5dfd3b(0x230)])==null||_0x5854e8[_0x5dfd3b(0x43f)](_0x23dec8,_0xfcf8de);}['_transformIMECache'](_0x85f53a){var _0x423f0b=_0xaff689,_0x17a213,_0x4053a6;return(_0x4053a6=(_0x17a213=this[_0x423f0b(0x268)])['onTransformIME'])==null?void 0x0:_0x4053a6['call'](_0x17a213,_0x85f53a);}[_0xaff689(0x19e)](_0x319b2e){var _0x255730=_0xaff689,_0x3906ce,_0x4c4d1e;return(_0x4c4d1e=(_0x3906ce=this[_0x255730(0x268)])[_0x255730(0x468)])==null?void 0x0:_0x4c4d1e[_0x255730(0x43f)](_0x3906ce,_0x319b2e);}['_transformRemoteChangesetByIMECache'](_0x2ec15a){var _0x2446cc=_0xaff689,_0x2e04cc,_0x2a61bb,_0x478f14;return(_0x478f14=(_0x2a61bb=(_0x2e04cc=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2a61bb[_0x2446cc(0x43f)](_0x2e04cc,_0x2ec15a))!=null?_0x478f14:_0x2ec15a;}['_transformRemoteChangesetByStateCache'](_0x4747a2){var _0x3d941f=_0xaff689,_0xd50cf6,_0x5ea243,_0x58fad9;return(_0x58fad9=(_0x5ea243=(_0xd50cf6=this[_0x3d941f(0x268)])[_0x3d941f(0x361)])==null?void 0x0:_0x5ea243[_0x3d941f(0x43f)](_0xd50cf6,_0x4747a2))!=null?_0x58fad9:_0x4747a2;}[_0xaff689(0x1fe)](_0x58eb1f){var _0xbb499d=_0xaff689,_0x5b8454,_0x20a2f4;if(this['type']===_0x22fdb1[_0xbb499d(0x24a)]){const {unitID:_0x389a10,mutations:_0xc4b396,memberID:_0x49f0d3}=_0x58eb1f,_0x13a535=_0xc4b396[0x0][_0xbb499d(0x449)][_0xbb499d(0x1f4)];Array[_0xbb499d(0x460)](_0x13a535)&&_0x13a535[_0xbb499d(0x3e1)]>0x0&&((_0x20a2f4=(_0x5b8454=this[_0xbb499d(0x268)])['onSyncEditingCollabCursor'])==null||_0x20a2f4[_0xbb499d(0x43f)](_0x5b8454,{'unitID':_0x389a10,'memberID':_0x49f0d3,'textRanges':_0x13a535}));}}[_0xaff689(0x1e1)](){var _0x24aa32=_0xaff689,_0x2490be;(_0x2490be=this['_localCacheService'])==null||_0x2490be['updateOfflineData'](this['unitID'],this['type'],this[_0x24aa32(0x168)],this[_0x24aa32(0x46d)]);}[_0xaff689(0x305)](){var _0x14ec74=_0xaff689;return this[_0x14ec74(0x155)][_0x14ec74(0x3b7)](this[_0x14ec74(0x3b3)]);}[_0xaff689(0x11f)](){var _0x87a7c3=_0xaff689;this[_0x87a7c3(0x155)]['incrementRevOfUnit'](this['unitID']);}[_0xaff689(0x36a)](_0x290b02){var _0x21c6d9=_0xaff689,_0x3829b0;let _0x67dbae=this[_0x21c6d9(0x178)](_0x290b02);_0x67dbae=this['_transformRemoteChangesetByStateCache'](_0x67dbae);const _0x2f59d7=_0x39f1c2['sequenceExecute'](_0x67dbae['mutations'],this[_0x21c6d9(0x144)],{'fromCollab':!0x0});if(!_0x2f59d7[_0x21c6d9(0x110)])throw _0x2f59d7['error']instanceof Error?_0x2f59d7[_0x21c6d9(0x249)]:new Error((_0x3829b0=_0x2f59d7[_0x21c6d9(0x249)])!=null?_0x3829b0:_0x21c6d9(0x204));this['_transformIMECache'](_0x67dbae),this[_0x21c6d9(0x19e)](_0x67dbae),this['_transformUndoredo'](_0x290b02),this[_0x21c6d9(0x43d)](_0x67dbae),this[_0x21c6d9(0x1fe)](_0x67dbae),this['_incrementRevisionNumber']();}}_0x2ce6c3['SyncedState']=class extends _0x3eef3c{constructor(_0x46fd20,_0x56f632,_0x38cd57,_0xdeebdc,_0x2ea9ef,_0x3608aa,_0x1d3f75,_0x55b9af,_0x276d5f,_0x4ce6e7){var _0x14c301=_0xaff689;super(_0x46fd20,_0x56f632,null,[],_0x38cd57,_0x1d3f75,_0x3608aa,_0xdeebdc,_0x4ce6e7),_0x6434e8(this,_0x14c301(0x104),_0x14c301(0x125)),(this[_0x14c301(0x37a)]=_0x2ea9ef,this[_0x14c301(0x1f6)]=_0x55b9af,this[_0x14c301(0x3a2)]=_0x276d5f,this[_0x14c301(0x3d8)]=_0x4ce6e7);}[_0xaff689(0x17b)](_0x582ccd){var _0x341fea=_0xaff689;const _0x12fc4d=this[_0x341fea(0x37a)]['createInstance'](_0x2ce6c3[_0x341fea(0x15c)],this['unitID'],this['type'],[_0x582ccd],this[_0x341fea(0x268)]);return _0x12fc4d['_schedule'](),_0x12fc4d['_updateLocalCache'](),_0x12fc4d;}[_0xaff689(0x259)](_0x926f6a){var _0x46d332=_0xaff689;if(this['_checkMissing'](_0x926f6a))return this[_0x46d332(0x37a)][_0x46d332(0x30f)](_0x2ce6c3[_0x46d332(0x351)],this[_0x46d332(0x3b3)],this[_0x46d332(0x2aa)],null,[],null,[_0x926f6a],this['_handler']);try{const _0x2c613a=this[_0x46d332(0x3a2)][_0x46d332(0x214)](_0x926f6a,[_0xeb2495]);if(_0x216395[_0x46d332(0x166)](_0x2c613a)){const {c1Prime:_0xfd52b1}=_0x2c613a;return this[_0x46d332(0x36a)](_0xfd52b1),this;}throw _0x2c613a[_0x46d332(0x249)];}catch(_0x2cc3f9){return this['_logService']['error'](_0x2cc3f9),this[_0x46d332(0x402)](!0x1);}}[_0xaff689(0x402)](_0x58054a){var _0x286581=_0xaff689;return this[_0x286581(0x37a)][_0x286581(0x30f)](_0x2ce6c3[_0x286581(0x45c)],this[_0x286581(0x3b3)],this['type'],null,[],this[_0x286581(0x268)],_0x58054a);}[_0xaff689(0x251)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0xaff689(0x169)](){var _0x562d56=_0xaff689;throw new Error(_0x562d56(0x2ea));}[_0xaff689(0x40c)](){return this;}[_0xaff689(0x425)](){var _0x19e2db=_0xaff689;return this['_injector'][_0x19e2db(0x30f)](_0x2ce6c3[_0x19e2db(0x243)],this[_0x19e2db(0x3b3)],this['type'],null,[],this['_handler']);}[_0xaff689(0x260)](){return this;}[_0xaff689(0x2f7)](){var _0x220fb3=_0xaff689;throw new Error(_0x220fb3(0x33b));}[_0xaff689(0xea)](){var _0x4801e0=_0xaff689;const _0x2ade8a=this[_0x4801e0(0x155)]['getCurrentRevOfUnit'](this['unitID']);return this['_handler']['onMissingChangesets']({'from':_0x2ade8a,'to':0x0}),this[_0x4801e0(0x37a)][_0x4801e0(0x30f)](_0x2ce6c3['FetchingMissState'],this[_0x4801e0(0x3b3)],this[_0x4801e0(0x2aa)],null,[],null,[],this[_0x4801e0(0x268)]);}},_0x2ce6c3[_0xaff689(0x2a4)]=_0x1e295b([_0x4d1211(0x3,_0x39f1c2[_0xaff689(0x3cb)](_0x216395['RevisionService'])),_0x4d1211(0x4,_0x39f1c2[_0xaff689(0x3cb)](_0x39f1c2[_0xaff689(0x275)])),_0x4d1211(0x5,_0x39f1c2[_0xaff689(0x32f)]),_0x4d1211(0x6,_0x39f1c2[_0xaff689(0x1bf)]),_0x4d1211(0x7,_0x39f1c2[_0xaff689(0x1cd)]),_0x4d1211(0x8,_0x216395[_0xaff689(0x463)]),_0x4d1211(0x9,_0x39f1c2['Optional'](_0x1f6549))],_0x2ce6c3[_0xaff689(0x2a4)]),_0x2ce6c3[_0xaff689(0x15c)]=class extends _0x3eef3c{constructor(_0x20b8c4,_0x561203,_0x1a18b4,_0x29d4d7,_0x52737b,_0x56a6bc,_0x4dfa87,_0x339f14,_0x3fde43,_0x52b254,_0x24e8cf,_0x906ebc,_0x2cecce,_0x37fd16){var _0x5f0c6c=_0xaff689;super(_0x20b8c4,_0x561203,null,_0x1a18b4,_0x29d4d7,_0x3fde43,_0x2cecce,_0x56a6bc,_0x37fd16),_0x6434e8(this,'status',_0x5f0c6c(0x3bc)),_0x6434e8(this,_0x5f0c6c(0x289),null),_0x6434e8(this,_0x5f0c6c(0x1a4),null),(this[_0x5f0c6c(0x37a)]=_0x52737b,this['_memberService']=_0x4dfa87,this[_0x5f0c6c(0x1f6)]=_0x339f14,this[_0x5f0c6c(0x45b)]=_0x52b254,this[_0x5f0c6c(0x3a2)]=_0x24e8cf,this[_0x5f0c6c(0x31d)]=_0x906ebc);}[_0xaff689(0x17b)](_0x392fd5){var _0xb75567=_0xaff689;return this[_0xb75567(0x46d)][_0xb75567(0x290)](_0x392fd5),this[_0xb75567(0x1e1)](),this;}[_0xaff689(0x259)](_0x127458){var _0x994887=_0xaff689;if(this[_0x994887(0x2ad)](_0x127458))return this[_0x994887(0xfd)](),this[_0x994887(0x37a)][_0x994887(0x30f)](_0x2ce6c3[_0x994887(0x351)],this[_0x994887(0x3b3)],this[_0x994887(0x2aa)],null,this[_0x994887(0x46d)],null,[_0x127458],this[_0x994887(0x268)]);try{const _0x39b137=this['_transformService'][_0x994887(0x214)](_0x127458,this[_0x994887(0x46d)]);if(_0x216395[_0x994887(0x166)](_0x39b137)){const {c1Prime:_0x5229a8,m2Prime:_0x39c2c9}=_0x39b137;this['_executeRemoteChangeset'](_0x5229a8);const _0x5cf5a7=this[_0x994887(0x37a)][_0x994887(0x30f)](_0x2ce6c3['PendingState'],this[_0x994887(0x3b3)],this[_0x994887(0x2aa)],_0x39c2c9,this[_0x994887(0x268)]);this[_0x994887(0xfd)]();const _0x1aa85f=new Date()[_0x994887(0x109)](),_0x5a4c76=this[_0x994887(0x289)]?Math[_0x994887(0x378)](this[_0x994887(0x289)]-_0x1aa85f,0x0):this[_0x994887(0x26b)]();return _0x5cf5a7[_0x994887(0x34f)](_0x5a4c76),_0x5cf5a7;}throw _0x39b137[_0x994887(0x249)];}catch(_0x41a298){return this[_0x994887(0x1f6)][_0x994887(0x249)](_0x41a298),this[_0x994887(0x402)](!0x1);}}[_0xaff689(0x251)](){var _0x154777=_0xaff689;throw new Error(_0x154777(0x439));}[_0xaff689(0x169)](){var _0x32ea55=_0xaff689;throw new Error(_0x32ea55(0x282));}[_0xaff689(0x40c)](){return this;}[_0xaff689(0x425)](){var _0x114838=_0xaff689;return this[_0x114838(0xfd)](),this[_0x114838(0x37a)][_0x114838(0x30f)](_0x2ce6c3[_0x114838(0x243)],this[_0x114838(0x3b3)],this['type'],null,this[_0x114838(0x46d)],this[_0x114838(0x268)]);}['toggleOnline'](){return this;}['_schedule'](_0x4db51e){var _0x3dd771=_0xaff689;const _0x434e72=_0x4db51e!=null?_0x4db51e:this[_0x3dd771(0x26b)]();this[_0x3dd771(0x289)]=new Date()[_0x3dd771(0x109)]()+_0x434e72,this[_0x3dd771(0x1a4)]=setTimeout(()=>{var _0x5ee597=_0x3dd771;this['_clearScheduledTask']();let _0xdfa42a=null;switch(this[_0x5ee597(0x2aa)]){case _0x22fdb1[_0x5ee597(0x269)]:{_0xdfa42a=_0xd6382c(this[_0x5ee597(0x46d)],this[_0x5ee597(0x3b3)],this[_0x5ee597(0x31d)],this[_0x5ee597(0x155)],this[_0x5ee597(0x205)]);break;}case _0x22fdb1[_0x5ee597(0x24a)]:{this[_0x5ee597(0x46d)][_0x5ee597(0x1e4)](_0x3f9055=>_0x3f9055['id']===_0x13890f[_0x5ee597(0x1de)]['id'])?_0xdfa42a=_0x3b0d0(this['_pendingMutations'],this[_0x5ee597(0x3b3)],this[_0x5ee597(0x31d)],this[_0x5ee597(0x155)],this[_0x5ee597(0x205)]):_0xdfa42a=_0xd6382c(this[_0x5ee597(0x46d)],this['unitID'],this[_0x5ee597(0x31d)],this[_0x5ee597(0x155)],this[_0x5ee597(0x205)]);break;}default:throw new Error(_0x5ee597(0x137)+this[_0x5ee597(0x2aa)]+_0x5ee597(0x292));}const {changeset:_0x1235f8,pendingMutations:_0x3bf7c5}=_0xdfa42a;this[_0x5ee597(0x268)][_0x5ee597(0x35d)](_0x1235f8);const _0x78b115=_0x3bf7c5[_0x5ee597(0x3e1)]?this[_0x5ee597(0x37a)][_0x5ee597(0x30f)](_0x2ce6c3[_0x5ee597(0x122)],this[_0x5ee597(0x3b3)],this[_0x5ee597(0x2aa)],_0x1235f8,_0x3bf7c5,this[_0x5ee597(0x268)],void 0x0):this[_0x5ee597(0x37a)][_0x5ee597(0x30f)](_0x2ce6c3['AwaitingState'],this[_0x5ee597(0x3b3)],this[_0x5ee597(0x2aa)],_0x1235f8,this[_0x5ee597(0x268)]);_0x78b115[_0x5ee597(0x1e1)](),this['_handler'][_0x5ee597(0x273)](this,_0x78b115);},_0x434e72);}['_getSendChangesetTimeout'](){var _0x205810=_0xaff689,_0x1693e4;const _0x4f3c5e=this['_configService'][_0x205810(0x393)](_0x5a21e6);return(_0x1693e4=_0x4f3c5e==null?void 0x0:_0x4f3c5e[_0x205810(0x395)])!=null?_0x1693e4:0x7d0;}['resend'](){var _0x2b9206=_0xaff689;throw new Error(_0x2b9206(0x185));}[_0xaff689(0xfd)](){var _0x1e7177=_0xaff689;this[_0x1e7177(0x1a4)]!=null&&(clearTimeout(this[_0x1e7177(0x1a4)]),this[_0x1e7177(0x1a4)]=null);}[_0xaff689(0x402)](_0x5a7c01){var _0x5494e9=_0xaff689;return this[_0x5494e9(0xfd)](),this[_0x5494e9(0x37a)][_0x5494e9(0x30f)](_0x2ce6c3[_0x5494e9(0x45c)],this[_0x5494e9(0x3b3)],this[_0x5494e9(0x2aa)],null,this[_0x5494e9(0x46d)],this[_0x5494e9(0x268)],_0x5a7c01);}},_0x2ce6c3[_0xaff689(0x15c)]=_0x1e295b([_0x4d1211(0x4,_0x39f1c2['Inject'](_0x39f1c2[_0xaff689(0x275)])),_0x4d1211(0x5,_0x39f1c2[_0xaff689(0x3cb)](_0x216395[_0xaff689(0x306)])),_0x4d1211(0x6,_0x39f1c2[_0xaff689(0x3cb)](_0x2ce6c3[_0xaff689(0x1d1)])),_0x4d1211(0x7,_0x39f1c2[_0xaff689(0x1cd)]),_0x4d1211(0x8,_0x39f1c2['ICommandService']),_0x4d1211(0x9,_0x39f1c2[_0xaff689(0x329)]),_0x4d1211(0xa,_0x216395[_0xaff689(0x463)]),_0x4d1211(0xb,_0x39f1c2['IUniverInstanceService']),_0x4d1211(0xc,_0x39f1c2[_0xaff689(0x32f)]),_0x4d1211(0xd,_0x39f1c2[_0xaff689(0x456)](_0x1f6549))],_0x2ce6c3[_0xaff689(0x15c)]),_0x2ce6c3[_0xaff689(0x35a)]=class extends _0x3eef3c{constructor(_0x2aee7d,_0x2eef57,_0x10f85e,_0x1c584d,_0xaa962a,_0x1de423,_0x959108,_0x3e5dea,_0xd5c70f,_0x1f151a,_0x12f43b){var _0x35d43d=_0xaff689;super(_0x2aee7d,_0x2eef57,_0x10f85e,[],_0x1c584d,_0x959108,_0x1f151a,_0x1de423,_0x12f43b),_0x6434e8(this,_0x35d43d(0x104),_0x35d43d(0x420)),_0x6434e8(this,_0x35d43d(0x3d2),0x0),_0x6434e8(this,_0x35d43d(0x423)),_0x6434e8(this,_0x35d43d(0x45a)),(this[_0x35d43d(0x37a)]=_0xaa962a,this[_0x35d43d(0x1f6)]=_0x3e5dea,this[_0x35d43d(0x3a2)]=_0xd5c70f);}[_0xaff689(0x17b)](_0x2b593e){var _0x4bdc1f=_0xaff689;this[_0x4bdc1f(0xfd)]();const _0xb247d5=this[_0x4bdc1f(0x37a)][_0x4bdc1f(0x30f)](_0x2ce6c3[_0x4bdc1f(0x122)],this[_0x4bdc1f(0x3b3)],this[_0x4bdc1f(0x2aa)],this['_awaitingChangeset'],[_0x2b593e],this[_0x4bdc1f(0x268)],this['_resendTimer']);return _0xb247d5[_0x4bdc1f(0x1e1)](),_0xb247d5;}['onRemoteChangeset'](_0x2dbeed){var _0x54114e=_0xaff689;if(this[_0x54114e(0x2ad)](_0x2dbeed))return this['_clearScheduledTask'](),this[_0x54114e(0x37a)][_0x54114e(0x30f)](_0x2ce6c3[_0x54114e(0x351)],this['unitID'],this[_0x54114e(0x2aa)],this['_awaitingChangeset'],[],null,[_0x2dbeed],this[_0x54114e(0x268)]);try{const _0x380ef9=this[_0x54114e(0x3a2)][_0x54114e(0x257)]([_0x2dbeed],[this[_0x54114e(0x168)]],!0x1);if(_0x216395[_0x54114e(0x38b)](_0x380ef9)){const {c1Prime:_0x265665,c2Prime:_0x1c91b4}=_0x380ef9;this[_0x54114e(0x36a)](_0x265665[0x0]),_0x1c91b4[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x54114e(0xfd)]();const _0x484a4c=this[_0x54114e(0x37a)][_0x54114e(0x30f)](_0x2ce6c3[_0x54114e(0x35a)],this[_0x54114e(0x3b3)],this['type'],_0x1c91b4[0x0],this[_0x54114e(0x268)]);return _0x484a4c[_0x54114e(0x1e1)](),_0x484a4c;}return this[_0x54114e(0x402)](!0x1);}catch(_0x58f166){return this[_0x54114e(0x1f6)]['error'](_0x58f166),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x3e1251){var _0x607209=_0xaff689;this[_0x607209(0xfd)]();const _0x2c1e58=this['_revisionService'][_0x607209(0x3b7)](this['unitID']);if(_0x3e1251[_0x607209(0x35b)]<_0x2c1e58-0x1)return this;if(this[_0x607209(0x2ad)](_0x3e1251))return this['_injector'][_0x607209(0x30f)](_0x2ce6c3[_0x607209(0x351)],this['unitID'],this[_0x607209(0x2aa)],null,[],this[_0x607209(0x168)],[],this[_0x607209(0x268)]);this[_0x607209(0x11f)]();const _0x39086f=this[_0x607209(0x37a)]['createInstance'](_0x2ce6c3['SyncedState'],this[_0x607209(0x3b3)],this[_0x607209(0x2aa)],this[_0x607209(0x268)]);return _0x39086f[_0x607209(0x1e1)](),_0x39086f;}[_0xaff689(0x169)](_0xb60cf1){var _0x26843d=_0xaff689;return this[_0x26843d(0x402)](!!(_0xb60cf1!=null&&_0xb60cf1[_0x26843d(0x1b7)]));}[_0xaff689(0x40c)](_0x590f65){var _0x4f1226=_0xaff689;return this['_resendTimeout']>_0x2adfaa?this['toggleOffline']():(this[_0x4f1226(0x423)]=_0x2d1bda(this[_0x4f1226(0x3d2)],{'timeout':this[_0x4f1226(0x3d2)],'reqId':_0x590f65[_0x4f1226(0x139)]}),this[_0x4f1226(0x45a)]=this[_0x4f1226(0x423)][_0x4f1226(0x398)](({reqId:_0x528612,timeout:_0x581b60})=>{var _0x4832dc=_0x4f1226;this[_0x4832dc(0x239)](_0x528612,_0x581b60);}),this);}[_0xaff689(0x425)](){var _0x5ed45a=_0xaff689;return this[_0x5ed45a(0xfd)](),this[_0x5ed45a(0x37a)][_0x5ed45a(0x30f)](_0x2ce6c3['OfflineState'],this['unitID'],this[_0x5ed45a(0x2aa)],this['_awaitingChangeset'],[],this[_0x5ed45a(0x268)]);}['toggleOnline'](){return this;}[_0xaff689(0x2f7)](){var _0x501ced=_0xaff689;this[_0x501ced(0x268)][_0x501ced(0x35d)](this[_0x501ced(0x168)]);}[_0xaff689(0x402)](_0x278b60){var _0x512f16=_0xaff689;return this['_clearScheduledTask'](),this[_0x512f16(0x37a)][_0x512f16(0x30f)](_0x2ce6c3['ConflictState'],this['unitID'],this['type'],this[_0x512f16(0x168)],[],this[_0x512f16(0x268)],_0x278b60);}[_0xaff689(0x239)](_0x43e899,_0x2a3d91){var _0x110896=_0xaff689,_0x21d803;_0x43e899===((_0x21d803=this['_awaitingChangeset'])==null?void 0x0:_0x21d803[_0x110896(0x139)])&&(this[_0x110896(0x2f7)](),this[_0x110896(0x3d2)]=_0x2a3d91===0x0?0x3e8:_0x2a3d91*0x2);}[_0xaff689(0xfd)](){var _0x1b4853=_0xaff689,_0xdff22e;(_0xdff22e=this['_sender'])==null||_0xdff22e[_0x1b4853(0x43e)](),this[_0x1b4853(0x3d2)]=0x0;}},_0x2ce6c3[_0xaff689(0x35a)]=_0x1e295b([_0x4d1211(0x4,_0x39f1c2['Inject'](_0x39f1c2['Injector'])),_0x4d1211(0x5,_0x39f1c2[_0xaff689(0x3cb)](_0x216395['RevisionService'])),_0x4d1211(0x6,_0x39f1c2[_0xaff689(0x1bf)]),_0x4d1211(0x7,_0x39f1c2[_0xaff689(0x1cd)]),_0x4d1211(0x8,_0x216395[_0xaff689(0x463)]),_0x4d1211(0x9,_0x39f1c2[_0xaff689(0x32f)]),_0x4d1211(0xa,_0x39f1c2[_0xaff689(0x456)](_0x1f6549))],_0x2ce6c3['AwaitingState']),_0x2ce6c3[_0xaff689(0x122)]=class extends _0x3eef3c{constructor(_0x4afec8,_0x47a1eb,_0x3aefd6,_0x389091,_0x589af1,_0x3493d7,_0x3ef090,_0x4dd7bd,_0x5efdb9,_0x19a69d,_0x45aba9,_0x5e7be1,_0x434cd){var _0x3ff4a5=_0xaff689;super(_0x4afec8,_0x47a1eb,_0x3aefd6,_0x389091,_0x589af1,_0x5efdb9,_0x5e7be1,_0x4dd7bd,_0x434cd),_0x6434e8(this,'status',_0x3ff4a5(0x1f2)),_0x6434e8(this,_0x3ff4a5(0x3d2),0x0),_0x6434e8(this,_0x3ff4a5(0x423)),_0x6434e8(this,_0x3ff4a5(0x45a)),(this[_0x3ff4a5(0x37a)]=_0x3ef090,this[_0x3ff4a5(0x1f6)]=_0x19a69d,this[_0x3ff4a5(0x3a2)]=_0x45aba9,this[_0x3ff4a5(0x3d8)]=_0x434cd,_0x3493d7&&(this[_0x3ff4a5(0x423)]=_0x3493d7,this[_0x3ff4a5(0x45a)]=this[_0x3ff4a5(0x423)]['subscribe'](({reqId:_0x226537,timeout:_0x4dce1e})=>{var _0x4b1e14=_0x3ff4a5;this[_0x4b1e14(0x239)](_0x226537,_0x4dce1e);})));}['appendMutation'](_0x1aee40){var _0x57d0d7=_0xaff689;return this[_0x57d0d7(0x46d)]['push'](_0x1aee40),this;}[_0xaff689(0x259)](_0x5299a7){var _0xe7fe89=_0xaff689;if(this[_0xe7fe89(0x2ad)](_0x5299a7))return this[_0xe7fe89(0xfd)](),this['_injector'][_0xe7fe89(0x30f)](_0x2ce6c3[_0xe7fe89(0x351)],this[_0xe7fe89(0x3b3)],this[_0xe7fe89(0x2aa)],this[_0xe7fe89(0x168)],this['_pendingMutations'],null,[_0x5299a7],this[_0xe7fe89(0x268)]);try{const _0x552361=this[_0xe7fe89(0x3a2)][_0xe7fe89(0x257)]([_0x5299a7],[this['_awaitingChangeset']],!0x1);if(_0x216395['isTransformChangesetsSuccess'](_0x552361)){const {c1Prime:_0x2e9fdb,c2Prime:_0x183837}=_0x552361,_0x2474d7=this['_transformService'][_0xe7fe89(0x214)](_0x2e9fdb[0x0],this['_pendingMutations']);if(_0x216395[_0xe7fe89(0x166)](_0x2474d7)){const {c1Prime:_0x58a768,m2Prime:_0x53c265}=_0x2474d7;return this[_0xe7fe89(0x36a)](_0x58a768),_0x183837[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this['_injector'][_0xe7fe89(0x30f)](_0x2ce6c3[_0xe7fe89(0x122)],this['unitID'],this[_0xe7fe89(0x2aa)],_0x183837[0x0],_0x53c265,this[_0xe7fe89(0x268)],void 0x0);}throw _0x2474d7[_0xe7fe89(0x249)];}throw _0x552361[_0xe7fe89(0x249)];}catch(_0x527c93){return this[_0xe7fe89(0x1f6)]['error'](_0x527c93),this[_0xe7fe89(0x402)](!0x1);}}[_0xaff689(0x251)](_0x1cc057){var _0x3ecdd3=_0xaff689;if(this[_0x3ecdd3(0xfd)](),this[_0x3ecdd3(0x2ad)](_0x1cc057))return this[_0x3ecdd3(0x37a)][_0x3ecdd3(0x30f)](_0x2ce6c3[_0x3ecdd3(0x351)],this[_0x3ecdd3(0x3b3)],this[_0x3ecdd3(0x2aa)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x3ecdd3(0x268)]);this[_0x3ecdd3(0x11f)]();const _0x30dbfc=this['_injector'][_0x3ecdd3(0x30f)](_0x2ce6c3['PendingState'],this[_0x3ecdd3(0x3b3)],this['type'],this[_0x3ecdd3(0x46d)],this[_0x3ecdd3(0x268)]);return _0x30dbfc[_0x3ecdd3(0x34f)](),_0x30dbfc[_0x3ecdd3(0x1e1)](),_0x30dbfc;}[_0xaff689(0x169)](_0x82cb82){var _0x57ea91=_0xaff689;return this[_0x57ea91(0x402)](!!(_0x82cb82!=null&&_0x82cb82[_0x57ea91(0x1b7)]));}[_0xaff689(0x40c)](_0x769744){var _0x455ccf=_0xaff689;return this[_0x455ccf(0x3d2)]>_0x2adfaa?this[_0x455ccf(0x425)]():(this[_0x455ccf(0x423)]=_0x2d1bda(this[_0x455ccf(0x3d2)],{'timeout':this[_0x455ccf(0x3d2)],'reqId':_0x769744[_0x455ccf(0x139)]}),this['_sender']=this[_0x455ccf(0x423)]['subscribe'](({reqId:_0x249d33,timeout:_0x21ca8a})=>{var _0x7a56c4=_0x455ccf;this[_0x7a56c4(0x239)](_0x249d33,_0x21ca8a);}),this);}[_0xaff689(0x425)](){var _0x3208a4=_0xaff689;return this[_0x3208a4(0xfd)](),this[_0x3208a4(0x37a)]['createInstance'](_0x2ce6c3[_0x3208a4(0x243)],this[_0x3208a4(0x3b3)],this[_0x3208a4(0x2aa)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x3208a4(0x268)]);}[_0xaff689(0x260)](){return this;}[_0xaff689(0x2f7)](){var _0x564b3c=_0xaff689;this[_0x564b3c(0x268)]['onSendChangeset'](this[_0x564b3c(0x168)]);}['_onConflict'](_0x560500){var _0x198c6c=_0xaff689;return this['_clearScheduledTask'](),this[_0x198c6c(0x37a)][_0x198c6c(0x30f)](_0x2ce6c3['ConflictState'],this[_0x198c6c(0x3b3)],this[_0x198c6c(0x2aa)],null,this[_0x198c6c(0x46d)],this[_0x198c6c(0x268)],_0x560500);}['_resendWithTimeout'](_0x1e9018,_0x499fe4){var _0x2c5c27=_0xaff689,_0x293edc;_0x1e9018===((_0x293edc=this[_0x2c5c27(0x168)])==null?void 0x0:_0x293edc['reqId'])&&(this['resend'](),this['_resendTimeout']=_0x499fe4===0x0?0x3e8:_0x499fe4*0x2);}[_0xaff689(0xfd)](){var _0x50673a=_0xaff689,_0x475026;(_0x475026=this['_sender'])==null||_0x475026[_0x50673a(0x43e)](),this[_0x50673a(0x3d2)]=0x0;}},_0x2ce6c3['AwaitingWithPendingState']=_0x1e295b([_0x4d1211(0x6,_0x39f1c2[_0xaff689(0x3cb)](_0x39f1c2[_0xaff689(0x275)])),_0x4d1211(0x7,_0x39f1c2[_0xaff689(0x3cb)](_0x216395[_0xaff689(0x306)])),_0x4d1211(0x8,_0x39f1c2[_0xaff689(0x1bf)]),_0x4d1211(0x9,_0x39f1c2[_0xaff689(0x1cd)]),_0x4d1211(0xa,_0x216395[_0xaff689(0x463)]),_0x4d1211(0xb,_0x39f1c2[_0xaff689(0x32f)]),_0x4d1211(0xc,_0x39f1c2['Optional'](_0x1f6549))],_0x2ce6c3[_0xaff689(0x122)]),_0x2ce6c3['ConflictState']=class extends _0x3eef3c{constructor(_0x455a7c,_0x19a59b,_0x4387cb,_0x38ab59,_0x30253b,_0x386dba=!0x1,_0xe142b3,_0x1d3d11,_0x353ba5,_0x4708af,_0x3ac486,_0x2d5568,_0x46bb24){var _0x27d7ca=_0xaff689;super(_0x455a7c,_0x19a59b,_0x4387cb,_0x38ab59,_0x30253b,_0x1d3d11,_0x353ba5,_0x4708af,_0x46bb24),_0x6434e8(this,_0x27d7ca(0x104),'conflict'),(this['_isPermissionRej']=_0x386dba,this[_0x27d7ca(0x3c0)]=_0xe142b3,this[_0x27d7ca(0x1a3)]=_0x3ac486,this[_0x27d7ca(0x141)]=_0x2d5568,this[_0x27d7ca(0x3d8)]=_0x46bb24,this[_0x27d7ca(0x3fa)](),this['_clearLocalCache'](),this[_0x27d7ca(0x182)]());}[_0xaff689(0x17b)](){return this;}['onRemoteChangeset'](){return this;}[_0xaff689(0x251)](){return this;}[_0xaff689(0x169)](){return this;}[_0xaff689(0x40c)](){return this;}['toggleOffline'](){return this;}[_0xaff689(0x260)](){return this;}[_0xaff689(0x2f7)](){var _0x4a9920=_0xaff689;throw new Error(_0x4a9920(0x3ea));}['_clearLocalCache'](){var _0x1721b1=_0xaff689,_0x197fc8;(_0x197fc8=this[_0x1721b1(0x18d)])==null||_0x197fc8[_0x1721b1(0x1b9)](this[_0x1721b1(0x3b3)],this[_0x1721b1(0x2aa)],null,[]);}[_0xaff689(0x3fa)](){var _0x2e4f8d=_0xaff689;this[_0x2e4f8d(0x396)]?this[_0x2e4f8d(0x141)]['emitEvent']({'id':_0x147f94[_0x2e4f8d(0x217)]}):this[_0x2e4f8d(0x141)][_0x2e4f8d(0x1b2)]({'id':_0x147f94[_0x2e4f8d(0x25b)]});}[_0xaff689(0x182)](){var _0xe1463d=_0xaff689;this[_0xe1463d(0x3c0)][_0xe1463d(0x45f)](new _0x5b7e46[(_0xe1463d(0x126))](this[_0xe1463d(0x3b3)])['id'],!0x1);}},_0x2ce6c3[_0xaff689(0x45c)]=_0x1e295b([_0x4d1211(0x6,_0x39f1c2[_0xaff689(0x3cb)](_0x39f1c2[_0xaff689(0x23c)])),_0x4d1211(0x7,_0x39f1c2['ICommandService']),_0x4d1211(0x8,_0x39f1c2['IUndoRedoService']),_0x4d1211(0x9,_0x39f1c2['Inject'](_0x216395['RevisionService'])),_0x4d1211(0xa,_0x39f1c2[_0xaff689(0x3cb)](_0x39f1c2[_0xaff689(0x314)])),_0x4d1211(0xb,_0x39f1c2[_0xaff689(0x3cb)](_0x4d35e6)),_0x4d1211(0xc,_0x39f1c2[_0xaff689(0x456)](_0x1f6549))],_0x2ce6c3[_0xaff689(0x45c)]),_0x2ce6c3[_0xaff689(0x243)]=class extends _0x3eef3c{constructor(_0x34f8a7,_0x55bdb6,_0x32827b,_0x5e8dcf,_0x329ff4,_0x409841,_0x48373a,_0x256c83,_0x231b4b,_0x1a843d){var _0x2f0bbf=_0xaff689;super(_0x34f8a7,_0x55bdb6,_0x32827b,_0x5e8dcf,_0x329ff4,_0x256c83,_0x231b4b,_0x48373a,_0x1a843d),_0x6434e8(this,_0x2f0bbf(0x104),'offline'),this[_0x2f0bbf(0x37a)]=_0x409841;}[_0xaff689(0x17b)](_0x1fa8c){var _0x7a772c=_0xaff689;return this[_0x7a772c(0x46d)][_0x7a772c(0x290)](_0x1fa8c),this[_0x7a772c(0x1e1)](),this;}[_0xaff689(0x259)](_0x93ae09){var _0x381210=_0xaff689;throw new Error(_0x381210(0x2ae));}['onRemoteAck'](){var _0x18284c=_0xaff689;throw new Error(_0x18284c(0x1ab));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0xaff689(0x40c)](){return this;}[_0xaff689(0x425)](){return this;}[_0xaff689(0x260)](){var _0x545188=_0xaff689;const {_injector:_0x36c69d,_pendingMutations:_0x4bc7a9,_awaitingChangeset:_0x145458,unitID:_0x256e54,_handler:_0x3a352b,type:_0x4fa230}=this,_0x42b9fd=_0x122a29(_0x36c69d,_0x256e54,_0x4fa230,_0x145458,_0x4bc7a9,_0x3a352b);return _0x42b9fd instanceof _0x2ce6c3[_0x545188(0x15c)]?_0x42b9fd['_schedule']():(_0x42b9fd instanceof _0x2ce6c3['AwaitingWithPendingState']||_0x42b9fd instanceof _0x2ce6c3['AwaitingState'])&&_0x42b9fd[_0x545188(0x2f7)](),_0x42b9fd;}[_0xaff689(0x2f7)](){var _0x860eaa=_0xaff689;throw new Error(_0x860eaa(0x422));}},_0x2ce6c3[_0xaff689(0x243)]=_0x1e295b([_0x4d1211(0x5,_0x39f1c2[_0xaff689(0x3cb)](_0x39f1c2['Injector'])),_0x4d1211(0x6,_0x39f1c2[_0xaff689(0x3cb)](_0x216395[_0xaff689(0x306)])),_0x4d1211(0x7,_0x39f1c2[_0xaff689(0x1bf)]),_0x4d1211(0x8,_0x39f1c2[_0xaff689(0x32f)]),_0x4d1211(0x9,_0x39f1c2[_0xaff689(0x456)](_0x1f6549))],_0x2ce6c3[_0xaff689(0x243)]),_0x2ce6c3[_0xaff689(0x351)]=class extends _0x3eef3c{constructor(_0x3cb3ed,_0x4ae5d3,_0x5ad2d6,_0x42bb91,_0x3a9a63,_0x5627a7,_0x3d0cf5,_0x5e8774,_0x2a4c17,_0x43b52b,_0x40c5c1,_0x32bd3e,_0x232bd1,_0x7edce3){var _0x5ea655=_0xaff689;super(_0x3cb3ed,_0x4ae5d3,_0x5ad2d6,_0x42bb91,_0x3d0cf5,_0x40c5c1,_0x32bd3e,_0x2a4c17,_0x7edce3),_0x6434e8(this,_0x5ea655(0x104),_0x5ea655(0x321)),(this[_0x5ea655(0x36c)]=_0x3a9a63,this[_0x5ea655(0x15b)]=_0x5627a7,this['_injector']=_0x5e8774,this['_logService']=_0x43b52b,this['_transformService']=_0x232bd1,this[_0x5ea655(0x3d8)]=_0x7edce3);}['onMissedChangesetFetched'](_0x48fe99){var _0x323a6f=_0xaff689;try{const _0x5c4f49=[..._0x48fe99,...this[_0x323a6f(0x15b)]],_0x2d0818=[this['_awaitingChangeset']||this[_0x323a6f(0x36c)]][_0x323a6f(0x11c)](_0x5b0a69=>!!_0x5b0a69);let _0x575b06,_0x5ba47c;if(_0x2d0818[_0x323a6f(0x3e1)]){const _0x582787=this[_0x323a6f(0x3a2)]['transformChangesets'](_0x5c4f49,_0x2d0818,!0x1);if(!_0x216395['isTransformChangesetsSuccess'](_0x582787))throw _0x582787[_0x323a6f(0x249)];_0x575b06=_0x582787[_0x323a6f(0x3e0)],_0x5ba47c=_0x582787[_0x323a6f(0x11b)];}else _0x575b06=_0x5c4f49,_0x5ba47c=[];let _0x289fc1=this[_0x323a6f(0x46d)];_0x575b06[_0x323a6f(0x32c)](_0x21272c=>{var _0x5e6632=_0x323a6f;let _0x2439b2;if(_0x289fc1['length']){const _0x3f127b=this[_0x5e6632(0x3a2)][_0x5e6632(0x214)](_0x21272c,_0x289fc1);if(!_0x216395[_0x5e6632(0x166)](_0x3f127b))throw _0x3f127b['error'];_0x2439b2=_0x3f127b['c1Prime'],_0x289fc1=_0x3f127b['m2Prime'];}else _0x2439b2=_0x21272c;this[_0x5e6632(0x36a)](_0x2439b2);}),this['_acknowledgedAwaitingChangeset']&&this[_0x323a6f(0x11f)](),this['_awaitingChangeset']&&_0x5ba47c[_0x323a6f(0x3e1)]&&(_0x5ba47c[0x0][_0x323a6f(0xeb)]=this['_getCurrentRevision']());let _0x13ff84;if(this[_0x323a6f(0x168)]&&_0x289fc1['length']!==0x0)_0x13ff84=this[_0x323a6f(0x37a)][_0x323a6f(0x30f)](_0x2ce6c3[_0x323a6f(0x122)],this[_0x323a6f(0x3b3)],this[_0x323a6f(0x2aa)],_0x5ba47c[0x0],_0x289fc1,this[_0x323a6f(0x268)],void 0x0);else{if(this[_0x323a6f(0x168)]&&_0x289fc1[_0x323a6f(0x3e1)]===0x0)_0x5ba47c[0x0][_0x323a6f(0xeb)]=this['_getCurrentRevision'](),_0x13ff84=this['_injector'][_0x323a6f(0x30f)](_0x2ce6c3[_0x323a6f(0x35a)],this[_0x323a6f(0x3b3)],this[_0x323a6f(0x2aa)],_0x5ba47c[0x0],this[_0x323a6f(0x268)]);else{if(_0x289fc1['length']!==0x0){const _0x2f9808=this[_0x323a6f(0x37a)]['createInstance'](_0x2ce6c3[_0x323a6f(0x15c)],this[_0x323a6f(0x3b3)],this[_0x323a6f(0x2aa)],_0x289fc1,this[_0x323a6f(0x268)]);_0x2f9808[_0x323a6f(0x34f)](),_0x13ff84=_0x2f9808;}else _0x13ff84=this[_0x323a6f(0x37a)]['createInstance'](_0x2ce6c3[_0x323a6f(0x2a4)],this['unitID'],this['type'],this[_0x323a6f(0x268)]);}}return _0x13ff84['_updateLocalCache'](),_0x13ff84;}catch(_0x211678){return this[_0x323a6f(0x1f6)][_0x323a6f(0x249)](_0x323a6f(0x38a),_0x323a6f(0x16f),_0x211678),this[_0x323a6f(0x37a)][_0x323a6f(0x30f)](_0x2ce6c3['ConflictState'],this[_0x323a6f(0x3b3)],this[_0x323a6f(0x2aa)],this[_0x323a6f(0x168)],this[_0x323a6f(0x46d)],this[_0x323a6f(0x268)],!0x1);}}[_0xaff689(0x2f7)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x3b9177){return this['_pendingMutations']['push'](_0x3b9177),this;}[_0xaff689(0x259)](_0x4be8f7){var _0x222f0a=_0xaff689;return this[_0x222f0a(0x15b)][_0x222f0a(0x290)](_0x4be8f7),this;}[_0xaff689(0x251)](_0x18875e){var _0x153d64=_0xaff689;if(this['_awaitingChangeset'])return this[_0x153d64(0x36c)]=this[_0x153d64(0x168)],this[_0x153d64(0x168)]=null,this;throw new Error(_0x153d64(0x348));}[_0xaff689(0x169)](_0x2e7107){var _0x11e92f=_0xaff689;return this['_onConflict'](!!(_0x2e7107!=null&&_0x2e7107[_0x11e92f(0x1b7)]));}[_0xaff689(0x40c)](){return this;}[_0xaff689(0x425)](){var _0x246f05=_0xaff689;return this[_0x246f05(0x37a)]['createInstance'](_0x2ce6c3[_0x246f05(0x243)],this[_0x246f05(0x3b3)],this[_0x246f05(0x2aa)],this[_0x246f05(0x168)],this[_0x246f05(0x46d)],this[_0x246f05(0x268)]);}[_0xaff689(0x260)](){return this;}[_0xaff689(0x402)](_0x352c4b){var _0x427602=_0xaff689;return this[_0x427602(0x37a)][_0x427602(0x30f)](_0x2ce6c3[_0x427602(0x45c)],this[_0x427602(0x3b3)],this[_0x427602(0x2aa)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x427602(0x268)],_0x352c4b);}},_0x2ce6c3[_0xaff689(0x351)]=_0x1e295b([_0x4d1211(0x7,_0x39f1c2[_0xaff689(0x3cb)](_0x39f1c2[_0xaff689(0x275)])),_0x4d1211(0x8,_0x39f1c2['Inject'](_0x216395[_0xaff689(0x306)])),_0x4d1211(0x9,_0x39f1c2[_0xaff689(0x1cd)]),_0x4d1211(0xa,_0x39f1c2[_0xaff689(0x1bf)]),_0x4d1211(0xb,_0x39f1c2['IUndoRedoService']),_0x4d1211(0xc,_0x216395[_0xaff689(0x463)]),_0x4d1211(0xd,_0x39f1c2['Optional'](_0x1f6549))],_0x2ce6c3[_0xaff689(0x351)]);function _0x122a29(_0x54a3a0,_0x1b24d7,_0x814b86,_0x27fb82,_0x16c3d2,_0x3f1b1e){var _0x557443=_0xaff689;return _0x27fb82&&_0x16c3d2[_0x557443(0x3e1)]?_0x54a3a0['createInstance'](_0x2ce6c3[_0x557443(0x122)],_0x1b24d7,_0x814b86,_0x27fb82,_0x16c3d2,_0x3f1b1e,void 0x0):_0x27fb82?_0x54a3a0['createInstance'](_0x2ce6c3[_0x557443(0x35a)],_0x1b24d7,_0x814b86,_0x27fb82,_0x3f1b1e):_0x16c3d2['length']?_0x54a3a0[_0x557443(0x30f)](_0x2ce6c3['PendingState'],_0x1b24d7,_0x814b86,_0x16c3d2,_0x3f1b1e):_0x54a3a0[_0x557443(0x30f)](_0x2ce6c3[_0x557443(0x2a4)],_0x1b24d7,_0x814b86,_0x3f1b1e);}var _0x4b2b71=Object['getOwnPropertyDescriptor'],_0x420c9e=(_0x120bef,_0x12ed60,_0x97cb67,_0x45611b)=>{var _0x5bba44=_0xaff689;for(var _0x4e66bc=_0x45611b>0x1?void 0x0:_0x45611b?_0x4b2b71(_0x12ed60,_0x97cb67):_0x12ed60,_0x4f5670=_0x120bef[_0x5bba44(0x3e1)]-0x1,_0x5a1354;_0x4f5670>=0x0;_0x4f5670--)(_0x5a1354=_0x120bef[_0x4f5670])&&(_0x4e66bc=_0x5a1354(_0x4e66bc)||_0x4e66bc);return _0x4e66bc;},_0x148d04=(_0x22413c,_0x16649b)=>(_0x53a84c,_0x40a49f)=>_0x16649b(_0x53a84c,_0x40a49f,_0x22413c);_0x2ce6c3[_0xaff689(0x436)]=class extends _0x39f1c2[_0xaff689(0x187)]{constructor(_0x40819f,_0x2fd14f,_0x40f1c5,_0x3fc50a,_0x15be62,_0x3fd648,_0x24e4b8,_0x21bf46,_0x4d462c,_0x2c25df,_0x2c7bc6,_0x4e7d4a,_0x3772ea){var _0xbef771=_0xaff689;super(),_0x6434e8(this,_0xbef771(0x20c),new _0x1a0226[(_0xbef771(0x149))](null)),_0x6434e8(this,_0xbef771(0x2c9),this[_0xbef771(0x20c)][_0xbef771(0x412)]()),_0x6434e8(this,_0xbef771(0x1c1)),_0x6434e8(this,'_collaborationPaused',!0x1),_0x6434e8(this,_0xbef771(0x1d2),''),_0x6434e8(this,'_changesetReqId',0x0),_0x6434e8(this,_0xbef771(0x10d),this['state$'][_0xbef771(0x117)](_0x1a0226[_0xbef771(0x28f)](_0x1b956f=>_0x1b956f?_0x1b956f[_0xbef771(0x104)]:_0x23928b[_0xbef771(0x189)]),_0x1a0226['shareReplay'](0x1))),_0x6434e8(this,_0xbef771(0x318),!0x1),_0x6434e8(this,_0xbef771(0x372),[]),(this['unitID']=_0x40819f,this[_0xbef771(0x124)]=_0x2fd14f,this[_0xbef771(0x10e)]=_0x40f1c5,this[_0xbef771(0x37a)]=_0x3fc50a,this[_0xbef771(0x360)]=_0x15be62,this['_localeService']=_0x3fd648,this['_revisionService']=_0x24e4b8,this['_eventService']=_0x21bf46,this[_0xbef771(0x1f6)]=_0x4d462c,this[_0xbef771(0x144)]=_0x2c25df,this[_0xbef771(0x3c0)]=_0x2c7bc6,this[_0xbef771(0x222)]=_0x4e7d4a,this[_0xbef771(0x18d)]=_0x3772ea);}get[_0xaff689(0x1d8)](){return this['_state'];}async[_0xaff689(0x1a1)](){var _0x1571cf=_0xaff689;if(this[_0x1571cf(0x1d8)])throw new Error(_0x1571cf(0x3b9));await this[_0x1571cf(0x365)]();}[_0xaff689(0x2c7)](){var _0x185a2d=_0xaff689;return this['_collaborationPaused']=!0x0,_0x39f1c2[_0x185a2d(0x2e0)](()=>{var _0x3aecfd=_0x185a2d;this['_collaborationPaused']=!0x1,this[_0x3aecfd(0x18b)]();});}['onLocalMutation'](_0x218ee2){var _0x361cbc=_0xaff689;this[_0x361cbc(0x179)](_0x218ee2);}['_updateState'](_0x2763e7){var _0x3dd491=_0xaff689;this[_0x3dd491(0x1c1)]=_0x2763e7,this[_0x3dd491(0x20c)][_0x3dd491(0x45e)](_0x2763e7);}async['_init'](){var _0x5d0dd9=_0xaff689,_0x312bfe;this['_updateState'](await this[_0x5d0dd9(0x2ab)]()),this[_0x5d0dd9(0x222)]&&((_0x312bfe=this[_0x5d0dd9(0x222)])==null||_0x312bfe[_0x5d0dd9(0x1e0)](this[_0x5d0dd9(0x3b3)]),this[_0x5d0dd9(0x103)](this[_0x5d0dd9(0x222)]['getUnitStatus$'](this[_0x5d0dd9(0x3b3)])['subscribe'](_0x2d8411=>{var _0x2df314=_0x5d0dd9;this[_0x2df314(0x1f6)]['debug']('[CollaborationEntity]',_0x2df314(0x127),_0x2d8411),_0x2d8411===_0x3f6f84[_0x2df314(0x309)]?(this[_0x2df314(0x347)][_0x2df314(0x1b2)]({'id':_0x147f94[_0x2df314(0x2a5)]}),this[_0x2df314(0x3c0)]['updatePermissionPoint'](new _0x5b7e46[(_0x2df314(0x126))](this[_0x2df314(0x3b3)])['id'],!0x1),this[_0x2df314(0x3c0)][_0x2df314(0x184)](!0x1)):(this[_0x2df314(0x3c0)][_0x2df314(0x45f)](new _0x5b7e46[(_0x2df314(0x126))](this[_0x2df314(0x3b3)])['id'],!0x0),this['_permissionService'][_0x2df314(0x184)](!0x0));})));let _0x2c2d22=!0x1;return this[_0x5d0dd9(0x103)](this['session'][_0x5d0dd9(0x33e)]['subscribe'](_0x499dce=>{var _0x3461c7=_0x5d0dd9;_0x499dce===_0x41439c['ONLINE']?this['_toggleOnline'](_0x2c2d22):_0x499dce===_0x41439c[_0x3461c7(0x189)]&&(_0x2c2d22=!0x0,this['_toggleOffline']());})),this[_0x5d0dd9(0x103)](this[_0x5d0dd9(0x124)][_0x5d0dd9(0x416)][_0x5d0dd9(0x398)](_0x562702=>{var _0x48435d=_0x5d0dd9;try{switch(_0x562702[_0x48435d(0x3ad)]){case _0x216395[_0x48435d(0x119)][_0x48435d(0x25a)]:{this['_onRemoteChangeset'](_0x216395[_0x48435d(0x3ed)](_0x562702[_0x48435d(0x241)]));break;}case _0x216395[_0x48435d(0x119)][_0x48435d(0x201)]:{this['_onRemoteACK'](_0x562702[_0x48435d(0x241)]);break;}case _0x216395[_0x48435d(0x119)][_0x48435d(0x147)]:{this[_0x48435d(0x1d4)]();break;}case _0x216395['CollaborationEvent'][_0x48435d(0x188)]:{this[_0x48435d(0x14e)](_0x562702['data']);break;}case _0x216395[_0x48435d(0x119)][_0x48435d(0x180)]:{this['_onFetchMissResult'](_0x562702[_0x48435d(0x241)][_0x48435d(0x2a6)]['map'](_0x2deb1b=>_0x216395[_0x48435d(0x3ed)](_0x2deb1b)));break;}case _0x216395['CollaborationEvent'][_0x48435d(0x2e7)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x216395[_0x48435d(0x119)][_0x48435d(0x186)]:break;}}catch(_0x1d01a6){throw console[_0x48435d(0x249)](_0x48435d(0x280),_0x1d01a6),_0x1d01a6;}})),this['_state'];}['_unlockTransition'](){var _0xc5a962=_0xaff689;this[_0xc5a962(0x318)]=!0x1;}['_lockTransition'](){var _0x3bc44a=_0xaff689;if(this[_0x3bc44a(0x318)])throw new Error('[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.');this['_transitionLocked']=!0x0;}[_0xaff689(0x179)](_0x37dbaf){var _0x877559=_0xaff689;this[_0x877559(0x458)](),this[_0x877559(0x28b)](this[_0x877559(0x1c1)][_0x877559(0x17b)](_0x37dbaf)),this[_0x877559(0x1bb)]();}[_0xaff689(0x42a)](_0x3cffe1){var _0x32d249=_0xaff689;if(!(_0x3cffe1[_0x32d249(0x35b)]<=this['_revisionService'][_0x32d249(0x3b7)](this[_0x32d249(0x3b3)]))){if(this[_0x32d249(0x20b)]){this[_0x32d249(0x372)][_0x32d249(0x290)](_0x3cffe1);return;}this['_applyRemoteChangeset'](_0x3cffe1);}}[_0xaff689(0x18b)](){var _0x277edf=_0xaff689;this[_0x277edf(0x372)]['forEach'](_0x200849=>this['_applyRemoteChangeset'](_0x200849)),this[_0x277edf(0x372)]=[];}[_0xaff689(0x342)](_0x18518d){var _0x4b545c=_0xaff689;const _0x1e92c9=this[_0x4b545c(0x360)]['interceptor'][_0x4b545c(0x284)](this[_0x4b545c(0x360)][_0x4b545c(0x3a4)][_0x4b545c(0x17d)]()[_0x4b545c(0x3f8)])(_0x18518d[_0x4b545c(0x130)],null)||_0x18518d[_0x4b545c(0x130)],_0x11312e={..._0x18518d,'mutations':_0x1e92c9};this['_lockTransition'](),this[_0x4b545c(0x28b)](this[_0x4b545c(0x1c1)][_0x4b545c(0x259)](_0x11312e)),this[_0x4b545c(0x1bb)]();}[_0xaff689(0x299)](_0x8df630){var _0x46da6e=_0xaff689;this[_0x46da6e(0x458)](),this['_updateState'](this[_0x46da6e(0x1c1)][_0x46da6e(0x251)](_0x8df630)),this[_0x46da6e(0x1bb)]();}[_0xaff689(0x1d4)](_0x31bbd7){var _0x5c154b=_0xaff689;this['_lockTransition'](),this[_0x5c154b(0x28b)](this[_0x5c154b(0x1c1)][_0x5c154b(0x169)](_0x31bbd7)),this['_unlockTransition']();}[_0xaff689(0x14e)](_0x324854){var _0x3f91e0=_0xaff689;this['_lockTransition'](),this[_0x3f91e0(0x28b)](this[_0x3f91e0(0x1c1)][_0x3f91e0(0x40c)](_0x324854)),this['_unlockTransition']();}['_onFetchMissResult'](_0x3063f1){var _0x9de5b9=_0xaff689;if(!(this['_state']instanceof _0x2ce6c3[_0x9de5b9(0x351)]))throw new TypeError(_0x9de5b9(0x3e4));const _0x2ccbd9=_0x3063f1['map'](_0x2016f8=>{var _0xcc1229=_0x9de5b9;const _0x42b7eb=this[_0xcc1229(0x360)][_0xcc1229(0x3a4)]['fetchThroughInterceptors'](this[_0xcc1229(0x360)][_0xcc1229(0x3a4)][_0xcc1229(0x17d)]()[_0xcc1229(0x3f8)])(_0x2016f8['mutations'],null)||_0x2016f8[_0xcc1229(0x130)];return{..._0x2016f8,'mutations':_0x42b7eb};});this[_0x9de5b9(0x458)](),this[_0x9de5b9(0x28b)](this[_0x9de5b9(0x1c1)][_0x9de5b9(0x3a0)](_0x2ccbd9)),this[_0x9de5b9(0x1bb)]();}[_0xaff689(0x2b2)](){var _0x5e4ba3=_0xaff689;this[_0x5e4ba3(0x458)](),this[_0x5e4ba3(0x28b)](this[_0x5e4ba3(0x1c1)]['toggleOffline']()),this[_0x5e4ba3(0x1bb)]();}[_0xaff689(0x346)](_0x8af59b=!0x1){var _0x3adc0b=_0xaff689;this[_0x3adc0b(0x458)](),this[_0x3adc0b(0x28b)](this['_state'][_0x3adc0b(0x260)]()),this['_unlockTransition']();const _0x32d0f6=this['_state'];_0x8af59b&&_0x32d0f6 instanceof _0x2ce6c3['SyncedState']&&(this[_0x3adc0b(0x458)](),this[_0x3adc0b(0x28b)](_0x32d0f6['fetchMiss']()),this[_0x3adc0b(0x1bb)]());}async['_createInitialState'](){return new Promise(_0x23b04a=>{var _0x3d8a21=_0x24e1;this[_0x3d8a21(0x124)]['sessionStatus$'][_0x3d8a21(0x117)](_0x1a0226['take'](0x1))['subscribe'](async _0x2c277c=>{var _0x4ef836=_0x3d8a21;_0x23b04a(await this[_0x4ef836(0x33d)](_0x2c277c===_0x41439c['ONLINE']));});});}['_createHandler'](){const _0x168c73=this['unitID'];return{'onStateChange':(_0x16ea46,_0x31a779)=>{var _0x439774=_0x24e1;if(_0x16ea46!==this['_state'])throw new Error(_0x439774(0xf8)+_0x16ea46['status']+'\x0aAfter:\x20'+_0x31a779[_0x439774(0x104)]+'\x0aCurrent:\x20'+this[_0x439774(0x1c1)][_0x439774(0x104)]);this[_0x439774(0x28b)](_0x31a779);},'onSendChangeset':_0x20949d=>{var _0x2299b8=_0x24e1;_0x20949d[_0x2299b8(0x207)]||(_0x20949d[_0x2299b8(0x207)]=this[_0x2299b8(0x1d2)],_0x20949d['reqId']=++this['_changesetReqId']);const _0x5b475d={'eventID':_0x216395[_0x2299b8(0x119)][_0x2299b8(0x1e6)],'data':{'unitID':_0x20949d[_0x2299b8(0x3b3)],'unitType':this['_type'],'changeset':_0x20949d,'memberID':this[_0x2299b8(0x124)][_0x2299b8(0x21e)]()}};this[_0x2299b8(0x124)]['send'](_0x5b475d,this[_0x2299b8(0x3b3)]);},'onMissingChangesets':({from:_0x415a88,to:_0x3f3917})=>{var _0x4caf8a=_0x24e1;this['_logService'][_0x4caf8a(0x1e7)](_0x4caf8a(0x20e),_0x4caf8a(0xf4)+_0x415a88+_0x4caf8a(0x1c6)+_0x3f3917);const _0x581c8d={'eventID':_0x216395[_0x4caf8a(0x119)][_0x4caf8a(0x41c)],'data':{'unitID':_0x168c73,'unitType':this[_0x4caf8a(0x10e)],'from':_0x415a88,'to':_0x3f3917}};this[_0x4caf8a(0x124)]['send'](_0x581c8d,this[_0x4caf8a(0x3b3)]);}};}async[_0xaff689(0x33d)](_0xb8f508){var _0x23c324=_0xaff689,_0x4bf6fd,_0x4453cb,_0x410508;const _0x4b1306=await((_0x4bf6fd=this[_0x23c324(0x18d)])==null?void 0x0:_0x4bf6fd[_0x23c324(0x30e)](this['unitID'])),_0x30ca1f=(_0x4453cb=_0x4b1306==null?void 0x0:_0x4b1306[_0x23c324(0x130)])!=null?_0x4453cb:[],_0x4a8080=(_0x410508=_0x4b1306==null?void 0x0:_0x4b1306[_0x23c324(0x42f)])!=null?_0x410508:null,_0x5c2406=!!(_0x4a8080!=null&&_0x4a8080[_0x23c324(0x207)])&&!!(_0x4a8080!=null&&_0x4a8080[_0x23c324(0x139)]);this[_0x23c324(0x1d2)]=_0x5c2406?_0x4a8080[_0x23c324(0x207)]:_0x216395['uuidv4'](),this[_0x23c324(0x2b6)]=_0x5c2406?_0x4a8080[_0x23c324(0x139)]:0x0;const _0x5ea231=this[_0x23c324(0x3b3)];try{this[_0x23c324(0x403)](_0x4a8080,_0x30ca1f);}catch(_0x40dcba){this['_logService']['error'](_0x40dcba);}const _0x58e848=this[_0x23c324(0x42b)]();if(_0xb8f508){const _0x329b6c=_0x122a29(this[_0x23c324(0x37a)],_0x5ea231,this[_0x23c324(0x10e)],_0x4a8080,_0x30ca1f,_0x58e848);return _0x329b6c instanceof _0x2ce6c3[_0x23c324(0x15c)]?_0x329b6c[_0x23c324(0x34f)]():(_0x329b6c instanceof _0x2ce6c3[_0x23c324(0x122)]||_0x329b6c instanceof _0x2ce6c3[_0x23c324(0x35a)])&&_0x329b6c[_0x23c324(0x2f7)](),_0x329b6c;}return this[_0x23c324(0x37a)][_0x23c324(0x30f)](_0x2ce6c3[_0x23c324(0x243)],_0x5ea231,this[_0x23c324(0x10e)],_0x4a8080,_0x30ca1f,_0x58e848);}[_0xaff689(0x403)](_0x32c806,_0x42cb90){var _0x5ee259=_0xaff689,_0x36b15c,_0x544d86;const _0x43aacc=this[_0x5ee259(0x360)][_0x5ee259(0x3a4)][_0x5ee259(0x284)](this[_0x5ee259(0x360)][_0x5ee259(0x3a4)][_0x5ee259(0x17d)]()[_0x5ee259(0x3f8)]);(_0x36b15c=_0x43aacc((_0x32c806==null?void 0x0:_0x32c806[_0x5ee259(0x130)])||[],null))==null||_0x36b15c[_0x5ee259(0x32c)](_0x326ff9=>this[_0x5ee259(0x144)][_0x5ee259(0x446)](_0x326ff9['id'],_0x326ff9[_0x5ee259(0x449)])),(_0x544d86=_0x43aacc(_0x42cb90||[],null))==null||_0x544d86[_0x5ee259(0x32c)](_0x428bae=>this[_0x5ee259(0x144)]['executeCommand'](_0x428bae['id'],_0x428bae['params']));}},_0x2ce6c3[_0xaff689(0x436)]=_0x420c9e([_0x148d04(0x3,_0x39f1c2[_0xaff689(0x3cb)](_0x39f1c2[_0xaff689(0x275)])),_0x148d04(0x4,_0x39f1c2[_0xaff689(0x3cb)](_0x216395[_0xaff689(0x2a3)])),_0x148d04(0x5,_0x39f1c2['Inject'](_0x39f1c2[_0xaff689(0x314)])),_0x148d04(0x6,_0x39f1c2[_0xaff689(0x3cb)](_0x216395[_0xaff689(0x306)])),_0x148d04(0x7,_0x39f1c2[_0xaff689(0x3cb)](_0x4d35e6)),_0x148d04(0x8,_0x39f1c2['ILogService']),_0x148d04(0x9,_0x39f1c2[_0xaff689(0x1bf)]),_0x148d04(0xa,_0x39f1c2['IPermissionService']),_0x148d04(0xb,_0x39f1c2[_0xaff689(0x456)](_0x2ecfe6)),_0x148d04(0xc,_0x39f1c2[_0xaff689(0x456)](_0x1f6549))],_0x2ce6c3[_0xaff689(0x436)]),_0x2ce6c3['DocCollaborationEntity']=class extends _0x2ce6c3['CollaborationEntity']{constructor(_0x54218b,_0x452f76,_0x25615f,_0x3d6a4d,_0x471765,_0x1f1630,_0x33cd7a,_0x3e9084,_0x1467be,_0x2f76fb,_0x440d78,_0x2a8ca7,_0x6be306){var _0x69e26f=_0xaff689;super(_0x54218b,_0x25615f,_0x452f76,_0x3d6a4d,_0x471765,_0x1f1630,_0x33cd7a,_0x3e9084,_0x1467be,_0x2f76fb,_0x440d78,_0x2a8ca7,_0x6be306),_0x6434e8(this,_0x69e26f(0x2b4),null),(this[_0x69e26f(0x3b3)]=_0x54218b,this[_0x69e26f(0x2aa)]=_0x452f76);}['addHandlerCallback'](_0x59e035){this['_handlerCallback']=_0x59e035;}[_0xaff689(0x302)](){var _0x573866=_0xaff689;this[_0x573866(0x2b4)]=null,super[_0x573866(0x302)]();}[_0xaff689(0x42b)](){var _0x4a2160=_0xaff689;const _0x21882e=super[_0x4a2160(0x42b)]();return _0x21882e['onTransformIME']=_0xf9e18b=>{var _0x5c3209=_0x4a2160,_0x3a15dd,_0x357078;return(_0x357078=(_0x3a15dd=this[_0x5c3209(0x2b4)])==null?void 0x0:_0x3a15dd[_0x5c3209(0x2a0)])==null?void 0x0:_0x357078[_0x5c3209(0x43f)](_0x3a15dd,_0xf9e18b);},_0x21882e['onTransformState']=_0x52b049=>{var _0x22670a=_0x4a2160,_0x28d42e,_0x436e2a;return(_0x436e2a=(_0x28d42e=this[_0x22670a(0x2b4)])==null?void 0x0:_0x28d42e[_0x22670a(0x468)])==null?void 0x0:_0x436e2a[_0x22670a(0x43f)](_0x28d42e,_0x52b049);},_0x21882e[_0x4a2160(0x230)]=_0x59d4e8=>{var _0x1e2f74=_0x4a2160,_0x12940e,_0x5c3e4c;return(_0x5c3e4c=(_0x12940e=this[_0x1e2f74(0x2b4)])==null?void 0x0:_0x12940e[_0x1e2f74(0x230)])==null?void 0x0:_0x5c3e4c[_0x1e2f74(0x43f)](_0x12940e,_0x59d4e8);},_0x21882e['onSyncEditingCollabCursor']=_0xe9596d=>{var _0x1fd1e9=_0x4a2160,_0x13b8c4,_0x49f9be;return(_0x49f9be=(_0x13b8c4=this[_0x1fd1e9(0x2b4)])==null?void 0x0:_0x13b8c4[_0x1fd1e9(0x394)])==null?void 0x0:_0x49f9be[_0x1fd1e9(0x43f)](_0x13b8c4,_0xe9596d);},_0x21882e[_0x4a2160(0xfb)]=_0x4f82fe=>{var _0x5dd5c1=_0x4a2160,_0x3f2d0f,_0x394631,_0x505f3f;if(!((_0x3f2d0f=this[_0x5dd5c1(0x2b4)])!=null&&_0x3f2d0f[_0x5dd5c1(0xfb)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x505f3f=(_0x394631=this['_handlerCallback'])==null?void 0x0:_0x394631[_0x5dd5c1(0xfb)])==null?void 0x0:_0x505f3f[_0x5dd5c1(0x43f)](_0x394631,_0x4f82fe);},_0x21882e[_0x4a2160(0x361)]=_0x431db6=>{var _0x41f25b=_0x4a2160,_0x3551b5,_0x31a995,_0x31348f;if(!((_0x3551b5=this[_0x41f25b(0x2b4)])!=null&&_0x3551b5[_0x41f25b(0x361)]))throw new Error(_0x41f25b(0x1f1));return(_0x31348f=(_0x31a995=this['_handlerCallback'])==null?void 0x0:_0x31a995[_0x41f25b(0x361)])==null?void 0x0:_0x31348f[_0x41f25b(0x43f)](_0x31a995,_0x431db6);},_0x21882e;}async['_init'](){var _0x2824be=_0xaff689;const _0x39c429=await super['_init']();return this[_0x2824be(0x103)](this[_0x2824be(0x144)][_0x2824be(0x42c)]((_0x379021,_0x5aacb1)=>{var _0x2bd1ed=_0x2824be;if(_0x379021['type']!==_0x39f1c2[_0x2bd1ed(0x3b2)][_0x2bd1ed(0x3b8)]||_0x5aacb1!=null&&_0x5aacb1[_0x2bd1ed(0x3f1)]||_0x5aacb1!=null&&_0x5aacb1[_0x2bd1ed(0x2e3)]||_0x379021['id']===_0x13890f[_0x2bd1ed(0x1de)]['id'])return;const _0x8745a0=_0x379021[_0x2bd1ed(0x449)];if((_0x8745a0==null?void 0x0:_0x8745a0[_0x2bd1ed(0x469)])!==this['unitID'])return;const _0x50b697=_0x379021,_0x57af8c=this[_0x2bd1ed(0x360)][_0x2bd1ed(0x3a4)][_0x2bd1ed(0x284)](this[_0x2bd1ed(0x360)]['interceptor'][_0x2bd1ed(0x17d)]()[_0x2bd1ed(0x22d)])([_0x50b697],null)||[_0x50b697];this['_onLocalMutation'](_0x57af8c[0x0]);})),_0x39c429;}},_0x2ce6c3[_0xaff689(0x413)]=_0x420c9e([_0x148d04(0x3,_0x39f1c2[_0xaff689(0x3cb)](_0x39f1c2['Injector'])),_0x148d04(0x4,_0x39f1c2['Inject'](_0x216395[_0xaff689(0x2a3)])),_0x148d04(0x5,_0x39f1c2[_0xaff689(0x3cb)](_0x39f1c2['LocaleService'])),_0x148d04(0x6,_0x39f1c2[_0xaff689(0x3cb)](_0x216395[_0xaff689(0x306)])),_0x148d04(0x7,_0x39f1c2['Inject'](_0x4d35e6)),_0x148d04(0x8,_0x39f1c2[_0xaff689(0x1cd)]),_0x148d04(0x9,_0x39f1c2[_0xaff689(0x1bf)]),_0x148d04(0xa,_0x39f1c2[_0xaff689(0x23c)]),_0x148d04(0xb,_0x39f1c2[_0xaff689(0x456)](_0x2ecfe6)),_0x148d04(0xc,_0x39f1c2['Optional'](_0x1f6549))],_0x2ce6c3[_0xaff689(0x413)]),_0x2ce6c3[_0xaff689(0x379)]=class extends _0x2ce6c3[_0xaff689(0x436)]{constructor(_0x34f753,_0x17ba95,_0xe0a4e3,_0x345ae8,_0x1ea75c,_0x4581f6,_0x3f5a9f,_0x3f831a,_0x2e5269,_0x59c8c3,_0x367cb3,_0x17f2eb,_0x474324,_0x32b5dc){var _0x499a89=_0xaff689;super(_0x34f753,_0xe0a4e3,_0x17ba95,_0x345ae8,_0x1ea75c,_0x4581f6,_0x3f5a9f,_0x2e5269,_0x59c8c3,_0x367cb3,_0x17f2eb,_0x474324,_0x32b5dc),this[_0x499a89(0x3b3)]=_0x34f753,this[_0x499a89(0x2aa)]=_0x17ba95,this[_0x499a89(0x3ff)]=_0x3f831a;}[_0xaff689(0x42b)](){var _0x5efb85=_0xaff689;const _0x515a85=super[_0x5efb85(0x42b)]();return _0x515a85[_0x5efb85(0x230)]=_0x2c6d49=>this['_sheetTransformSelectionsService']['transformSelections'](_0x2c6d49),_0x515a85;}async['_init'](){var _0x973adf=_0xaff689;const _0x1f0ade=await super[_0x973adf(0x365)]();return this['disposeWithMe'](this[_0x973adf(0x144)][_0x973adf(0x42c)]((_0x4609d0,_0x10403d)=>{var _0x345dca=_0x973adf;if(_0x4609d0[_0x345dca(0x2aa)]!==_0x39f1c2[_0x345dca(0x3b2)]['MUTATION']||_0x10403d!=null&&_0x10403d[_0x345dca(0x3f1)]||_0x10403d!=null&&_0x10403d[_0x345dca(0x2e3)])return;const _0x4d841b=_0x4609d0[_0x345dca(0x449)];if((_0x4d841b==null?void 0x0:_0x4d841b[_0x345dca(0x469)])!==this[_0x345dca(0x3b3)])return;const _0x4eda74=_0x4609d0,_0x323a67=this[_0x345dca(0x360)][_0x345dca(0x3a4)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x345dca(0x22d)])([_0x4eda74],null)||[_0x4eda74];this['_onLocalMutation'](_0x323a67[0x0]);})),_0x1f0ade;}},_0x2ce6c3[_0xaff689(0x379)]=_0x420c9e([_0x148d04(0x3,_0x39f1c2[_0xaff689(0x3cb)](_0x39f1c2[_0xaff689(0x275)])),_0x148d04(0x4,_0x39f1c2[_0xaff689(0x3cb)](_0x216395[_0xaff689(0x2a3)])),_0x148d04(0x5,_0x39f1c2['Inject'](_0x39f1c2['LocaleService'])),_0x148d04(0x6,_0x39f1c2[_0xaff689(0x3cb)](_0x216395[_0xaff689(0x306)])),_0x148d04(0x7,_0x39f1c2[_0xaff689(0x3cb)](_0x2ce6c3['SheetTransformSelectionsService'])),_0x148d04(0x8,_0x39f1c2['Inject'](_0x4d35e6)),_0x148d04(0x9,_0x39f1c2[_0xaff689(0x1cd)]),_0x148d04(0xa,_0x39f1c2['ICommandService']),_0x148d04(0xb,_0x39f1c2['IPermissionService']),_0x148d04(0xc,_0x39f1c2[_0xaff689(0x456)](_0x2ecfe6)),_0x148d04(0xd,_0x39f1c2['Optional'](_0x1f6549))],_0x2ce6c3[_0xaff689(0x379)]);var _0x5c7d90=Object[_0xaff689(0x33f)],_0x25b7db=(_0x4f687d,_0x14d2ea,_0x11a9f4,_0xc78588)=>{for(var _0x40ad8a=_0xc78588>0x1?void 0x0:_0xc78588?_0x5c7d90(_0x14d2ea,_0x11a9f4):_0x14d2ea,_0x361863=_0x4f687d['length']-0x1,_0x3ce665;_0x361863>=0x0;_0x361863--)(_0x3ce665=_0x4f687d[_0x361863])&&(_0x40ad8a=_0x3ce665(_0x40ad8a)||_0x40ad8a);return _0x40ad8a;},_0x58ece7=(_0x55ed08,_0x9210d)=>(_0x4fa3cb,_0x2adf6c)=>_0x9210d(_0x4fa3cb,_0x2adf6c,_0x55ed08);_0x2ce6c3[_0xaff689(0x1bc)]=class extends _0x39f1c2[_0xaff689(0x187)]{constructor(_0x454bc9,_0x4bcfdd,_0x1b373f,_0xf5c834){var _0x3e7763=_0xaff689,_0x505bcc;super(),_0x6434e8(this,_0x3e7763(0x3c4),new Map()),_0x6434e8(this,_0x3e7763(0x431),new _0x1a0226[(_0x3e7763(0x2fb))]()),_0x6434e8(this,_0x3e7763(0x335),this[_0x3e7763(0x431)]['asObservable']()),(this[_0x3e7763(0x37a)]=_0x454bc9,this[_0x3e7763(0x15a)]=_0x4bcfdd,this[_0x3e7763(0x45b)]=_0x1b373f,this['_univerInstanceService']=_0xf5c834,((_0x505bcc=this[_0x3e7763(0x45b)]['getConfig'](_0x5a21e6))==null?void 0x0:_0x505bcc[_0x3e7763(0x415)])!==!0x1&&this[_0x3e7763(0x365)]());}['dispose'](){var _0x94de85=_0xaff689;super[_0x94de85(0x302)](),this[_0x94de85(0x3c4)]['forEach'](_0x528945=>_0x528945[_0x94de85(0x302)]()),this[_0x94de85(0x3c4)][_0x94de85(0x235)]();}[_0xaff689(0x38e)](_0x3918cc){var _0x577a9c=_0xaff689,_0x2959d3;return(_0x2959d3=this[_0x577a9c(0x3c4)][_0x577a9c(0x2a9)](_0x3918cc))!=null?_0x2959d3:null;}[_0xaff689(0x1d0)](_0x4977a0){var _0x4f5251=_0xaff689;const _0x20cc8c=this[_0x4f5251(0x38e)](_0x4977a0);return _0x20cc8c?_0x1a0226['of'](_0x20cc8c):this[_0x4f5251(0x431)][_0x4f5251(0x117)](_0x110ccc[_0x4f5251(0x11c)](_0x3f99fa=>_0x3f99fa[_0x4f5251(0x3b3)]===_0x4977a0));}[_0xaff689(0x271)](_0x465c69){var _0x509cce=_0xaff689;return _0x1a0226[_0x509cce(0xe8)](this['getCollabEntity$'](_0x465c69)[_0x509cce(0x117)](_0x110ccc[_0x509cce(0x28f)](()=>{})));}[_0xaff689(0x365)](){var _0x10dc49=_0xaff689;this[_0x10dc49(0x31d)][_0x10dc49(0x252)](_0x39f1c2[_0x10dc49(0x29c)]['UNIVER_SHEET'])[_0x10dc49(0x117)](_0x1a0226[_0x10dc49(0x131)](this[_0x10dc49(0x162)]),_0x110ccc['delay'](0x10))['subscribe'](async _0x43c657=>{var _0x261d09=_0x10dc49;const _0xb29aad=_0x43c657[_0x261d09(0x210)](),_0x5308bd=await this['_startCollaboration'](_0xb29aad,_0x22fdb1['UNIVER_SHEET']);this['_entities'][_0x261d09(0x246)](_0xb29aad,_0x5308bd);}),this[_0x10dc49(0x31d)]['getTypeOfUnitAdded$'](_0x39f1c2[_0x10dc49(0x29c)][_0x10dc49(0x24a)])[_0x10dc49(0x117)](_0x1a0226[_0x10dc49(0x131)](this[_0x10dc49(0x162)]),_0x110ccc[_0x10dc49(0x175)](0x10))['pipe'](_0x110ccc[_0x10dc49(0x11c)](_0x4dc9e7=>!_0x4dc9e7[_0x10dc49(0x210)]()['startsWith']('__')))[_0x10dc49(0x398)](async _0x269ba9=>{var _0x15fa84=_0x10dc49;const _0x51d6f4=_0x269ba9[_0x15fa84(0x210)](),_0x4a6d5c=await this[_0x15fa84(0x443)](_0x51d6f4,_0x22fdb1[_0x15fa84(0x24a)]);this[_0x15fa84(0x3c4)][_0x15fa84(0x246)](_0x51d6f4,_0x4a6d5c);}),_0x1a0226[_0x10dc49(0x43b)](this[_0x10dc49(0x31d)]['getTypeOfUnitDisposed$'](_0x39f1c2[_0x10dc49(0x29c)]['UNIVER_SHEET']),this[_0x10dc49(0x31d)][_0x10dc49(0x294)](_0x39f1c2[_0x10dc49(0x29c)]['UNIVER_DOC']))['pipe'](_0x1a0226[_0x10dc49(0x131)](this[_0x10dc49(0x162)]))[_0x10dc49(0x398)](_0xab96a2=>{var _0x3497db=_0x10dc49;const _0x3e1016=_0xab96a2[_0x3497db(0x210)](),_0x4c89dc=this[_0x3497db(0x3c4)][_0x3497db(0x2a9)](_0x3e1016);_0x4c89dc&&(_0x4c89dc['dispose'](),this['_entities'][_0x3497db(0x317)](_0x3e1016));});}async[_0xaff689(0x443)](_0x559d03,_0x6671ba){var _0x56a429=_0xaff689;const _0x30b2c2=await this[_0x56a429(0x15a)]['requireSession'](_0x559d03),_0x5dfae2=this[_0x56a429(0x37a)][_0x56a429(0x30f)](this['_getCtorByUniverType'](_0x6671ba),_0x559d03,_0x6671ba,_0x30b2c2);return await _0x5dfae2[_0x56a429(0x1a1)](),this[_0x56a429(0x431)][_0x56a429(0x45e)](_0x5dfae2),_0x5dfae2;}[_0xaff689(0x138)](_0x5867ad){var _0x1d922f=_0xaff689;switch(_0x5867ad){case _0x22fdb1[_0x1d922f(0x24a)]:return _0x2ce6c3[_0x1d922f(0x413)];case _0x22fdb1[_0x1d922f(0x269)]:return _0x2ce6c3['SheetCollaborationEntity'];default:throw new Error(_0x1d922f(0x173)+_0x5867ad);}}},_0x2ce6c3[_0xaff689(0x1bc)]=_0x25b7db([_0x58ece7(0x0,_0x39f1c2[_0xaff689(0x3cb)](_0x39f1c2[_0xaff689(0x275)])),_0x58ece7(0x1,_0x39f1c2[_0xaff689(0x3cb)](_0x2ce6c3[_0xaff689(0x1c4)])),_0x58ece7(0x2,_0x39f1c2['IConfigService']),_0x58ece7(0x3,_0x39f1c2[_0xaff689(0x325)])],_0x2ce6c3[_0xaff689(0x1bc)]);var _0x3291c2=Object[_0xaff689(0x33f)],_0x24612d=(_0x42e106,_0x112c13,_0x5b7902,_0x54a662)=>{var _0x32b7f8=_0xaff689;for(var _0x431d1c=_0x54a662>0x1?void 0x0:_0x54a662?_0x3291c2(_0x112c13,_0x5b7902):_0x112c13,_0x1d691c=_0x42e106[_0x32b7f8(0x3e1)]-0x1,_0x3449e6;_0x1d691c>=0x0;_0x1d691c--)(_0x3449e6=_0x42e106[_0x1d691c])&&(_0x431d1c=_0x3449e6(_0x431d1c)||_0x431d1c);return _0x431d1c;},_0x4cb72d=(_0xed62d7,_0x21c9c9)=>(_0x5142ad,_0x6e4f8d)=>_0x21c9c9(_0x5142ad,_0x6e4f8d,_0xed62d7);const _0x1903c7='DEFAULT_FILE_NAME',_0x512a0c='Univer';let _0x2f3c66=class extends _0x39f1c2[_0xaff689(0x2f8)]{constructor(_0x3f1fda,_0x1e69c1){var _0x176df1=_0xaff689;super(),this[_0x176df1(0x31d)]=_0x3f1fda,this['_configService']=_0x1e69c1,this['_init']();}[_0xaff689(0x365)](){var _0x2b62c7=_0xaff689;this[_0x2b62c7(0x103)](this[_0x2b62c7(0x31d)][_0x2b62c7(0x242)][_0x2b62c7(0x398)](()=>{var _0x134db1=_0x2b62c7,_0x57ec00;const _0x500011=this[_0x134db1(0x31d)][_0x134db1(0x440)]();let _0xea21d7=(_0x57ec00=this[_0x134db1(0x45b)][_0x134db1(0x393)](_0x1903c7))!=null?_0x57ec00:_0x512a0c;_0x500011 instanceof _0x39f1c2['Workbook']&&(_0xea21d7=_0x500011[_0x134db1(0x3f6)]),document[_0x134db1(0x283)]=_0xea21d7;}));}};_0x2f3c66=_0x24612d([_0x4cb72d(0x0,_0x39f1c2[_0xaff689(0x325)]),_0x4cb72d(0x1,_0x39f1c2[_0xaff689(0x329)])],_0x2f3c66);var _0x14316f=Object[_0xaff689(0x33f)],_0x445fb9=(_0xdaa3,_0x25cd9a,_0x21fac0,_0x37bc57)=>{var _0x48c2d7=_0xaff689;for(var _0x46b876=_0x37bc57>0x1?void 0x0:_0x37bc57?_0x14316f(_0x25cd9a,_0x21fac0):_0x25cd9a,_0x316e82=_0xdaa3[_0x48c2d7(0x3e1)]-0x1,_0x4ccf1c;_0x316e82>=0x0;_0x316e82--)(_0x4ccf1c=_0xdaa3[_0x316e82])&&(_0x46b876=_0x4ccf1c(_0x46b876)||_0x46b876);return _0x46b876;},_0x412188=(_0x3810a8,_0xc6fb54)=>(_0x2e8aa2,_0x98e287)=>_0xc6fb54(_0x2e8aa2,_0x98e287,_0x3810a8);let _0x25f571=class{constructor(_0x3e492c,_0x21c783,_0x44e9bf){var _0x5de2f0=_0xaff689;this['_configService']=_0x3e492c,this[_0x5de2f0(0x388)]=_0x21c783,this[_0x5de2f0(0x15f)]=_0x44e9bf,this['init']();}['init'](){var _0x561049=_0xaff689;this[_0x561049(0x388)][_0x561049(0x2e6)]({'priority':0x1,'interceptor':(_0x28d5f3,_0x26819e)=>_0x26819e(_0x28d5f3)['pipe'](_0x1a0226[_0x561049(0x358)](async _0x579897=>{var _0x20faa7=_0x561049;const _0x33a70c=_0x579897;if(_0x33a70c[_0x20faa7(0x104)]===0x191){if(typeof window>'u')throw new Error(_0x20faa7(0x429));if(window['confirm'](this[_0x20faa7(0x15f)]['t']('auth.needGotoLoginAlert'))){const _0x2489ad=window[_0x20faa7(0x2c8)](window[_0x20faa7(0x115)][_0x20faa7(0x2df)]);window[_0x20faa7(0x115)][_0x20faa7(0x2df)]=this['_getLoginPath']()+_0x20faa7(0x1a8)+_0x2489ad;}}return _0x33a70c;}))});}[_0xaff689(0x345)](){var _0x3a307d=_0xaff689,_0x19451e,_0x410852;const _0xf0838a=this[_0x3a307d(0x45b)]['getConfig'](_0x6058f),_0x121546=this[_0x3a307d(0x45b)][_0x3a307d(0x393)](_0x5a21e6);return(_0x410852=(_0x19451e=_0x121546==null?void 0x0:_0x121546['loginUrlKey'])!=null?_0x19451e:_0xf0838a)!=null?_0x410852:_0x43cd9e;}};_0x25f571=_0x445fb9([_0x412188(0x0,_0x39f1c2[_0xaff689(0x329)]),_0x412188(0x1,_0x39f1c2[_0xaff689(0x3cb)](_0x7e7238[_0xaff689(0x1b5)])),_0x412188(0x2,_0x39f1c2[_0xaff689(0x3cb)](_0x39f1c2[_0xaff689(0x314)]))],_0x25f571);var _0x1607ae=Object['getOwnPropertyDescriptor'],_0x17ef7f=(_0x1323e1,_0x1844db,_0x26463b,_0x5e3113)=>{var _0x4b8912=_0xaff689;for(var _0x1f366d=_0x5e3113>0x1?void 0x0:_0x5e3113?_0x1607ae(_0x1844db,_0x26463b):_0x1844db,_0x314cb2=_0x1323e1[_0x4b8912(0x3e1)]-0x1,_0x3a919e;_0x314cb2>=0x0;_0x314cb2--)(_0x3a919e=_0x1323e1[_0x314cb2])&&(_0x1f366d=_0x3a919e(_0x1f366d)||_0x1f366d);return _0x1f366d;},_0x35ce25=(_0x18ee34,_0x4b9336)=>(_0x4aa68b,_0x26eaa3)=>_0x4b9336(_0x4aa68b,_0x26eaa3,_0x18ee34);const _0x50fc06=_0xaff689(0x3ac),_0x982c00='/universer-api/authz';_0x2ce6c3[_0xaff689(0x384)]=class extends _0x39f1c2[_0xaff689(0x2f8)]{constructor(_0x5ea02e,_0x1a72c3){var _0x450f45=_0xaff689;super(),this[_0x450f45(0x2ed)]=_0x5ea02e,this[_0x450f45(0x45b)]=_0x1a72c3,this[_0x450f45(0x1f0)]();}[_0xaff689(0x1f0)](){var _0x19877c=_0xaff689;const _0x5f3f92=this;this[_0x19877c(0x103)](this[_0x19877c(0x2ed)][_0x19877c(0x2e6)]({'priority':0x3e7,'interceptor':_0x7e7238['MergeInterceptorFactory']({'isMatch'(_0x3b16b5){var _0xddc6d7=_0x19877c,_0x2e190e;if(_0x3b16b5[_0xddc6d7(0x1da)]===_0xddc6d7(0x14a)&&((_0x2e190e=_0x3b16b5[_0xddc6d7(0x244)])!=null&&_0x2e190e['body'])){const {objectID:_0x59be3c,objectType:_0x3b31f9}=_0x3b16b5[_0xddc6d7(0x244)][_0xddc6d7(0x399)]||{};if(!_0x59be3c||_0x3b31f9===void 0x0)return!0x1;const _0x4ee3b4=_0x5f3f92[_0xddc6d7(0x387)]()+'/'+_0x3b31f9+_0xddc6d7(0x371)+_0x59be3c+'/allowed';if(_0x3b16b5[_0xddc6d7(0x338)]===_0x4ee3b4)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x475f13){var _0x40a95e=_0x19877c,_0x5d7ba5;return(_0x5d7ba5=_0x475f13[_0x40a95e(0x244)])==null?void 0x0:_0x5d7ba5['body'];},'mergeParamsToRequest'(_0x9c2d79,_0x2c2c68){var _0x4e3f10=_0x19877c;const _0x53e9b0=_0x5f3f92['_getAPIPrefixPath']()+_0x4e3f10(0x3ec),_0xd10523=_0x9c2d79[_0x4e3f10(0x2ac)]((_0x1d7843,_0x5d898b)=>{var _0x30fd24=_0x4e3f10;const {unitID:_0x21a328,objectID:_0x186b00,objectType:_0x3276d9,actions:_0x2d8414}=_0x5d898b;return _0x1d7843[_0x21a328]||(_0x1d7843[_0x21a328]={}),_0x1d7843[_0x21a328][_0x186b00]||(_0x1d7843[_0x21a328][_0x186b00]={'objectID':_0x186b00,'objectType':_0x3276d9,'actions':[]}),_0x1d7843[_0x21a328][_0x186b00][_0x30fd24(0x401)]['push'](..._0x2d8414),_0x1d7843;},{}),_0x2053c2=[];for(const _0x3ce87c in _0xd10523)for(const _0x1c1338 in _0xd10523[_0x3ce87c]){const {actions:_0x4d3b4c,objectType:_0x1223c1}=_0xd10523[_0x3ce87c][_0x1c1338],_0xff5a5f=[...new Set(_0x4d3b4c)];_0x2053c2['push']({'unitID':_0x3ce87c,'objectID':_0x1c1338,'objectType':_0x1223c1,'actions':_0xff5a5f});}return new _0x7e7238[(_0x4e3f10(0x326))](_0x4e3f10(0x14a),_0x53e9b0,{'headers':_0x2c2c68[_0x4e3f10(0x37c)],'withCredentials':_0x2c2c68[_0x4e3f10(0x433)],'responseType':_0x2c2c68[_0x4e3f10(0x2ff)],'body':{'requests':_0x2053c2}});}},{'distributeResult'(_0x5ac697,_0x47ae48){var _0x287923=_0x19877c;const {objectActions:_0x250504}=_0x5ac697;return _0x47ae48[_0x287923(0x28f)](_0x132b77=>{var _0x18f410=_0x287923;const {unitID:_0x114992,objectID:_0x2e4c97,actions:_0x4f449d}=_0x132b77,_0x51aa2c=_0x250504[_0x18f410(0x14d)](_0x31991a=>_0x31991a[_0x18f410(0x3b3)]===_0x114992&&_0x31991a[_0x18f410(0x274)]===_0x2e4c97),_0x3035d7=_0x4f449d[_0x18f410(0x28f)](_0x2638a6=>_0x51aa2c==null?void 0x0:_0x51aa2c['actions'][_0x18f410(0x14d)](_0x5e2f66=>_0x5e2f66[_0x18f410(0x3f7)]===_0x2638a6))['filter'](_0x1d30d8=>!!_0x1d30d8);return{'config':_0x132b77,'result':{'actions':_0x3035d7,'error':_0x5ac697[_0x18f410(0x249)]}};});}})}));}[_0xaff689(0x387)](){var _0x256927=_0xaff689,_0x3aa76c,_0x34b92c;const _0xb2554b=this['_configService'][_0x256927(0x393)](_0x50fc06),_0x5135db=this['_configService'][_0x256927(0x393)](_0x5a21e6);return(_0x34b92c=(_0x3aa76c=_0x5135db==null?void 0x0:_0x5135db[_0x256927(0x208)])!=null?_0x3aa76c:_0xb2554b)!=null?_0x34b92c:_0x982c00;}async[_0xaff689(0x39f)](_0x74d6ba){var _0x5a809a=_0xaff689;const _0x3d21be=this[_0x5a809a(0x387)]()+'/'+_0x74d6ba[_0x5a809a(0x157)]+_0x5a809a(0x213);return(await this[_0x5a809a(0x2ed)][_0x5a809a(0xe7)](_0x3d21be,{'body':_0x74d6ba}))[_0x5a809a(0x399)]['objectID']||'';}async[_0xaff689(0x3f5)](_0x59688c){var _0x1f1571=_0xaff689;const _0x5987bf=this[_0x1f1571(0x387)]()+_0x1f1571(0x25d);return(await this[_0x1f1571(0x2ed)][_0x1f1571(0xe7)](_0x5987bf,{'body':_0x59688c}))[_0x1f1571(0x399)][_0x1f1571(0x2e4)];}async['update'](_0x1ca211){var _0x2adc13=_0xaff689,_0x549db0,_0x194f19;const _0x1a76b5=this['_getAPIPrefixPath']()+'/'+_0x1ca211['objectType']+'/object/'+_0x1ca211[_0x2adc13(0x274)],_0x3f484a=await this[_0x2adc13(0x2ed)][_0x2adc13(0x38f)](_0x1a76b5,{'body':_0x1ca211});if(((_0x194f19=(_0x549db0=_0x3f484a==null?void 0x0:_0x3f484a['body'])==null?void 0x0:_0x549db0[_0x2adc13(0x249)])==null?void 0x0:_0x194f19['code'])!==0x1)throw new Error(_0x2adc13(0x1a6));}async[_0xaff689(0x262)](_0x55fd9e){var _0x5a82d8=_0xaff689;const _0x5cfac3=this[_0x5a82d8(0x387)]()+'/'+_0x55fd9e[_0x5a82d8(0x157)]+_0x5a82d8(0x371)+_0x55fd9e[_0x5a82d8(0x274)]+'/allowed';return(await this['_HTTPService'][_0x5a82d8(0xe7)](_0x5cfac3,{'body':_0x55fd9e}))[_0x5a82d8(0x399)][_0x5a82d8(0x401)];}async[_0xaff689(0x22c)](_0x18ce8e){var _0x5bb4f3=_0xaff689;const _0x408e56=this[_0x5bb4f3(0x387)]()+_0x5bb4f3(0x3ec);return(await this[_0x5bb4f3(0x2ed)][_0x5bb4f3(0xe7)](_0x408e56,{'body':{'requests':_0x18ce8e}}))[_0x5bb4f3(0x399)][_0x5bb4f3(0x26c)];}async[_0xaff689(0x339)](_0x22a141){var _0x4b6a2a=_0xaff689;const _0x25163d=this[_0x4b6a2a(0x387)]()+'/'+_0x22a141[_0x4b6a2a(0x157)]+_0x4b6a2a(0xf3),_0x577b91=await this[_0x4b6a2a(0x2ed)]['post'](_0x25163d,{'body':_0x22a141});return{'roles':_0x577b91[_0x4b6a2a(0x399)][_0x4b6a2a(0x356)],'actions':_0x577b91[_0x4b6a2a(0x399)][_0x4b6a2a(0x401)]};}async[_0xaff689(0x330)](_0x5162b8){var _0x34953d=_0xaff689;const _0x339955=this[_0x34953d(0x387)]()+_0x34953d(0x105);await this[_0x34953d(0x2ed)][_0x34953d(0x317)](_0x339955,{'params':{'collaboratorID':_0x5162b8['collaboratorID'],'objectID':_0x5162b8['objectID'],'unitID':_0x5162b8[_0x34953d(0x3b3)]}});}async['updateCollaborator'](_0x1e8cd6){var _0x185987=_0xaff689;const _0x2a031d=this[_0x185987(0x387)]()+_0x185987(0x105);await this[_0x185987(0x2ed)][_0x185987(0x1d7)](_0x2a031d,{'body':_0x1e8cd6});}async['createCollaborator'](_0x36ed82){var _0x3b697e=_0xaff689;const _0x1b4673=this[_0x3b697e(0x387)]()+_0x3b697e(0x105);await this[_0x3b697e(0x2ed)]['post'](_0x1b4673,{'body':_0x36ed82});}async[_0xaff689(0x359)](_0x3d13ff){var _0x804a3a=_0xaff689;const _0x396b33=this[_0x804a3a(0x387)]()+_0x804a3a(0x105);return(await this[_0x804a3a(0x2ed)][_0x804a3a(0x2a9)](_0x396b33,{'params':{'objectID':_0x3d13ff[_0x804a3a(0x274)],'unitID':_0x3d13ff[_0x804a3a(0x3b3)]}}))['body'][_0x804a3a(0x161)];}async[_0xaff689(0x281)](_0x139755){var _0x5206f4=_0xaff689;const _0x422abc=this[_0x5206f4(0x387)]()+'/collaborator';await this[_0x5206f4(0x2ed)][_0x5206f4(0x38f)](_0x422abc,{'body':_0x139755});}},_0x2ce6c3[_0xaff689(0x384)]=_0x17ef7f([_0x35ce25(0x0,_0x39f1c2[_0xaff689(0x3cb)](_0x7e7238[_0xaff689(0x1b5)])),_0x35ce25(0x1,_0x39f1c2[_0xaff689(0x3cb)](_0x39f1c2['IConfigService']))],_0x2ce6c3['AuthzIoHttpService']);var _0x560995=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x492344(_0x490581){var _0x109979=_0xaff689;return _0x490581&&_0x490581[_0x109979(0x39c)]&&Object[_0x109979(0x221)]['hasOwnProperty'][_0x109979(0x43f)](_0x490581,_0x109979(0x297))?_0x490581[_0x109979(0x297)]:_0x490581;}var _0x4b3eff={'exports':{}};function _0x47688f(_0x7a9260){var _0x5ceede=_0xaff689;throw new Error(_0x5ceede(0x3a3)+_0x7a9260+_0x5ceede(0x1ca));}var _0x370523={'exports':{}},_0x15fd1c=_0x370523['exports'],_0x249d58;function _0x1696c4(){return _0x249d58||(_0x249d58=0x1,function(_0x1c9cad,_0x41ead7){(function(_0x42b9d8,_0x19afb1){var _0x25cb5a=_0x24e1;_0x1c9cad[_0x25cb5a(0x101)]=_0x19afb1();}(_0x15fd1c,function(){var _0x1ff18c=_0x1ff18c||function(_0x36956b,_0x3fa230){var _0x33c9fb=_0x24e1,_0x546b93;if(typeof window<'u'&&window[_0x33c9fb(0x245)]&&(_0x546b93=window[_0x33c9fb(0x245)]),typeof self<'u'&&self[_0x33c9fb(0x245)]&&(_0x546b93=self['crypto']),typeof globalThis<'u'&&globalThis[_0x33c9fb(0x245)]&&(_0x546b93=globalThis[_0x33c9fb(0x245)]),!_0x546b93&&typeof window<'u'&&window['msCrypto']&&(_0x546b93=window['msCrypto']),!_0x546b93&&typeof _0x560995<'u'&&_0x560995['crypto']&&(_0x546b93=_0x560995[_0x33c9fb(0x245)]),!_0x546b93&&typeof _0x47688f==_0x33c9fb(0x2f4))try{_0x546b93=require('crypto');}catch{}var _0xd36e07=function(){var _0x249697=_0x33c9fb;if(_0x546b93){if(typeof _0x546b93[_0x249697(0x419)]==_0x249697(0x2f4))try{return _0x546b93[_0x249697(0x419)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x546b93['randomBytes']==_0x249697(0x2f4))try{return _0x546b93[_0x249697(0x225)](0x4)[_0x249697(0x2af)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3e0f43=Object[_0x33c9fb(0x39f)]||(function(){function _0x195e78(){}return function(_0x17266d){var _0x394761=_0x24e1,_0x496ff6;return _0x195e78['prototype']=_0x17266d,_0x496ff6=new _0x195e78(),_0x195e78[_0x394761(0x221)]=null,_0x496ff6;};}()),_0x266ca0={},_0x3d7145=_0x266ca0[_0x33c9fb(0x44b)]={},_0xaa88fd=_0x3d7145[_0x33c9fb(0x18c)]=(function(){return{'extend':function(_0x2efa8c){var _0x249bab=_0x24e1,_0x28b26a=_0x3e0f43(this);return _0x2efa8c&&_0x28b26a[_0x249bab(0x12c)](_0x2efa8c),(!_0x28b26a[_0x249bab(0x2b5)]('init')||this[_0x249bab(0x1a1)]===_0x28b26a[_0x249bab(0x1a1)])&&(_0x28b26a['init']=function(){var _0x229d9a=_0x249bab;_0x28b26a[_0x229d9a(0x3e7)][_0x229d9a(0x1a1)][_0x229d9a(0x154)](this,arguments);}),_0x28b26a[_0x249bab(0x1a1)][_0x249bab(0x221)]=_0x28b26a,_0x28b26a[_0x249bab(0x3e7)]=this,_0x28b26a;},'create':function(){var _0xe36ac1=_0x24e1,_0x398c7a=this['extend']();return _0x398c7a['init'][_0xe36ac1(0x154)](_0x398c7a,arguments),_0x398c7a;},'init':function(){},'mixIn':function(_0x2691bc){var _0x1ae9c4=_0x24e1;for(var _0x48fca6 in _0x2691bc)_0x2691bc['hasOwnProperty'](_0x48fca6)&&(this[_0x48fca6]=_0x2691bc[_0x48fca6]);_0x2691bc['hasOwnProperty'](_0x1ae9c4(0x328))&&(this[_0x1ae9c4(0x328)]=_0x2691bc[_0x1ae9c4(0x328)]);},'clone':function(){var _0x5ab75e=_0x24e1;return this[_0x5ab75e(0x1a1)][_0x5ab75e(0x221)]['extend'](this);}};}()),_0x4fed2b=_0x3d7145[_0x33c9fb(0x418)]=_0xaa88fd[_0x33c9fb(0x234)]({'init':function(_0x5be04d,_0x9b1b16){var _0x182977=_0x33c9fb;_0x5be04d=this['words']=_0x5be04d||[],_0x9b1b16!=_0x3fa230?this[_0x182977(0x3d1)]=_0x9b1b16:this[_0x182977(0x3d1)]=_0x5be04d[_0x182977(0x3e1)]*0x4;},'toString':function(_0x1ec457){var _0x29a7b2=_0x33c9fb;return(_0x1ec457||_0x114ea8)[_0x29a7b2(0x197)](this);},'concat':function(_0x54f9d1){var _0x3b6a77=_0x33c9fb,_0x898952=this[_0x3b6a77(0x36b)],_0x18fbdc=_0x54f9d1[_0x3b6a77(0x36b)],_0x4c9fc=this[_0x3b6a77(0x3d1)],_0x2719a4=_0x54f9d1[_0x3b6a77(0x3d1)];if(this['clamp'](),_0x4c9fc%0x4)for(var _0x334c20=0x0;_0x334c20<_0x2719a4;_0x334c20++){var _0x226a8f=_0x18fbdc[_0x334c20>>>0x2]>>>0x18-_0x334c20%0x4*0x8&0xff;_0x898952[_0x4c9fc+_0x334c20>>>0x2]|=_0x226a8f<<0x18-(_0x4c9fc+_0x334c20)%0x4*0x8;}else{for(var _0x52bf4e=0x0;_0x52bf4e<_0x2719a4;_0x52bf4e+=0x4)_0x898952[_0x4c9fc+_0x52bf4e>>>0x2]=_0x18fbdc[_0x52bf4e>>>0x2];}return this[_0x3b6a77(0x3d1)]+=_0x2719a4,this;},'clamp':function(){var _0x34663f=_0x33c9fb,_0x9c890e=this['words'],_0x21dc49=this['sigBytes'];_0x9c890e[_0x21dc49>>>0x2]&=0xffffffff<<0x20-_0x21dc49%0x4*0x8,_0x9c890e[_0x34663f(0x3e1)]=_0x36956b[_0x34663f(0x467)](_0x21dc49/0x4);},'clone':function(){var _0xaeccc5=_0x33c9fb,_0x1d2aa5=_0xaa88fd[_0xaeccc5(0x2db)][_0xaeccc5(0x43f)](this);return _0x1d2aa5['words']=this[_0xaeccc5(0x36b)][_0xaeccc5(0x2b7)](0x0),_0x1d2aa5;},'random':function(_0x9ba441){var _0x2649d2=_0x33c9fb;for(var _0x11ab9e=[],_0x19983c=0x0;_0x19983c<_0x9ba441;_0x19983c+=0x4)_0x11ab9e[_0x2649d2(0x290)](_0xd36e07());return new _0x4fed2b[(_0x2649d2(0x1a1))](_0x11ab9e,_0x9ba441);}}),_0x3c2995=_0x266ca0['enc']={},_0x114ea8=_0x3c2995['Hex']={'stringify':function(_0x3952d6){var _0x467c57=_0x33c9fb;for(var _0x52a8d9=_0x3952d6[_0x467c57(0x36b)],_0x5835d7=_0x3952d6[_0x467c57(0x3d1)],_0x19b305=[],_0xf5ff55=0x0;_0xf5ff55<_0x5835d7;_0xf5ff55++){var _0x79e7b6=_0x52a8d9[_0xf5ff55>>>0x2]>>>0x18-_0xf5ff55%0x4*0x8&0xff;_0x19b305[_0x467c57(0x290)]((_0x79e7b6>>>0x4)[_0x467c57(0x328)](0x10)),_0x19b305[_0x467c57(0x290)]((_0x79e7b6&0xf)[_0x467c57(0x328)](0x10));}return _0x19b305['join']('');},'parse':function(_0x2d104c){var _0x43c895=_0x33c9fb;for(var _0x20504e=_0x2d104c['length'],_0x275ad7=[],_0x104896=0x0;_0x104896<_0x20504e;_0x104896+=0x2)_0x275ad7[_0x104896>>>0x3]|=parseInt(_0x2d104c[_0x43c895(0x448)](_0x104896,0x2),0x10)<<0x18-_0x104896%0x8*0x4;return new _0x4fed2b['init'](_0x275ad7,_0x20504e/0x2);}},_0x9d3b1a=_0x3c2995[_0x33c9fb(0x28e)]={'stringify':function(_0x3b8a79){var _0x210d62=_0x33c9fb;for(var _0x226394=_0x3b8a79['words'],_0x536e54=_0x3b8a79[_0x210d62(0x3d1)],_0x322b26=[],_0x211bf5=0x0;_0x211bf5<_0x536e54;_0x211bf5++){var _0x5bd49b=_0x226394[_0x211bf5>>>0x2]>>>0x18-_0x211bf5%0x4*0x8&0xff;_0x322b26[_0x210d62(0x290)](String['fromCharCode'](_0x5bd49b));}return _0x322b26[_0x210d62(0x134)]('');},'parse':function(_0x27dc64){var _0x36437a=_0x33c9fb;for(var _0x2dd676=_0x27dc64[_0x36437a(0x3e1)],_0xe4a068=[],_0x4dbf47=0x0;_0x4dbf47<_0x2dd676;_0x4dbf47++)_0xe4a068[_0x4dbf47>>>0x2]|=(_0x27dc64[_0x36437a(0x1b6)](_0x4dbf47)&0xff)<<0x18-_0x4dbf47%0x4*0x8;return new _0x4fed2b[(_0x36437a(0x1a1))](_0xe4a068,_0x2dd676);}},_0x149458=_0x3c2995[_0x33c9fb(0x457)]={'stringify':function(_0x633d22){var _0x453d94=_0x33c9fb;try{return decodeURIComponent(escape(_0x9d3b1a[_0x453d94(0x197)](_0x633d22)));}catch{throw new Error(_0x453d94(0x3b0));}},'parse':function(_0x48645b){var _0x135c16=_0x33c9fb;return _0x9d3b1a[_0x135c16(0x3a1)](unescape(encodeURIComponent(_0x48645b)));}},_0x1f8699=_0x3d7145[_0x33c9fb(0x279)]=_0xaa88fd[_0x33c9fb(0x234)]({'reset':function(){var _0x2a7112=_0x33c9fb;this[_0x2a7112(0x13b)]=new _0x4fed2b[(_0x2a7112(0x1a1))](),this[_0x2a7112(0x26e)]=0x0;},'_append':function(_0x2d02b9){var _0x46fa68=_0x33c9fb;typeof _0x2d02b9=='string'&&(_0x2d02b9=_0x149458[_0x46fa68(0x3a1)](_0x2d02b9)),this['_data'][_0x46fa68(0x441)](_0x2d02b9),this['_nDataBytes']+=_0x2d02b9[_0x46fa68(0x3d1)];},'_process':function(_0x26af96){var _0x369447=_0x33c9fb,_0x16f450,_0x5c6e99=this[_0x369447(0x13b)],_0x4089dc=_0x5c6e99['words'],_0x45c561=_0x5c6e99[_0x369447(0x3d1)],_0x2cddba=this[_0x369447(0x15e)],_0x3eaf97=_0x2cddba*0x4,_0x9bda56=_0x45c561/_0x3eaf97;_0x26af96?_0x9bda56=_0x36956b[_0x369447(0x467)](_0x9bda56):_0x9bda56=_0x36956b['max']((_0x9bda56|0x0)-this[_0x369447(0x1ea)],0x0);var _0x3256c3=_0x9bda56*_0x2cddba,_0x26c39c=_0x36956b[_0x369447(0x1af)](_0x3256c3*0x4,_0x45c561);if(_0x3256c3){for(var _0x137be8=0x0;_0x137be8<_0x3256c3;_0x137be8+=_0x2cddba)this['_doProcessBlock'](_0x4089dc,_0x137be8);_0x16f450=_0x4089dc[_0x369447(0x18f)](0x0,_0x3256c3),_0x5c6e99[_0x369447(0x3d1)]-=_0x26c39c;}return new _0x4fed2b[(_0x369447(0x1a1))](_0x16f450,_0x26c39c);},'clone':function(){var _0x38a37b=_0x33c9fb,_0xba04b1=_0xaa88fd[_0x38a37b(0x2db)][_0x38a37b(0x43f)](this);return _0xba04b1['_data']=this[_0x38a37b(0x13b)][_0x38a37b(0x2db)](),_0xba04b1;},'_minBufferSize':0x0});_0x3d7145['Hasher']=_0x1f8699['extend']({'cfg':_0xaa88fd['extend'](),'init':function(_0x4364db){var _0xb0e71b=_0x33c9fb;this[_0xb0e71b(0x2c3)]=this[_0xb0e71b(0x2c3)][_0xb0e71b(0x234)](_0x4364db),this[_0xb0e71b(0x116)]();},'reset':function(){var _0x251f15=_0x33c9fb;_0x1f8699[_0x251f15(0x116)][_0x251f15(0x43f)](this),this[_0x251f15(0x3af)]();},'update':function(_0x46b004){var _0x1cbbaa=_0x33c9fb;return this[_0x1cbbaa(0x319)](_0x46b004),this[_0x1cbbaa(0x100)](),this;},'finalize':function(_0x174d7b){var _0x4ae582=_0x33c9fb;_0x174d7b&&this['_append'](_0x174d7b);var _0x25f7e3=this[_0x4ae582(0x34b)]();return _0x25f7e3;},'blockSize':0x10,'_createHelper':function(_0x58b141){return function(_0x27072f,_0x377adb){var _0x13552a=_0x24e1;return new _0x58b141[(_0x13552a(0x1a1))](_0x377adb)[_0x13552a(0x253)](_0x27072f);};},'_createHmacHelper':function(_0x4e3c7b){return function(_0x25ef38,_0x456e8a){var _0xa7c500=_0x24e1;return new _0x471f3a[(_0xa7c500(0x146))]['init'](_0x4e3c7b,_0x456e8a)[_0xa7c500(0x253)](_0x25ef38);};}});var _0x471f3a=_0x266ca0[_0x33c9fb(0x1be)]={};return _0x266ca0;}(Math);return _0x1ff18c;}));}(_0x370523)),_0x370523['exports'];}var _0x288305={'exports':{}},_0xf00a22=_0x288305[_0xaff689(0x101)],_0x3aa034;function _0x19adb3(){var _0x561edd=_0xaff689;return _0x3aa034||(_0x3aa034=0x1,function(_0x4c2425,_0x4965c6){(function(_0x492861,_0x56ec33){var _0x452f77=_0x24e1;_0x4c2425[_0x452f77(0x101)]=_0x56ec33(_0x1696c4());}(_0xf00a22,function(_0x1051ea){return(function(){var _0x45da0d=_0x24e1,_0x333262=_0x1051ea,_0x4ddfdc=_0x333262[_0x45da0d(0x44b)],_0x29dbd1=_0x4ddfdc['WordArray'],_0x32057b=_0x333262[_0x45da0d(0x3f3)];_0x32057b[_0x45da0d(0xee)]={'stringify':function(_0x22288a){var _0x3d3f7c=_0x45da0d,_0x533f09=_0x22288a[_0x3d3f7c(0x36b)],_0x27d0de=_0x22288a[_0x3d3f7c(0x3d1)],_0x326cdf=this[_0x3d3f7c(0x2a1)];_0x22288a[_0x3d3f7c(0x3b1)]();for(var _0x38f6bb=[],_0x4a045b=0x0;_0x4a045b<_0x27d0de;_0x4a045b+=0x3)for(var _0x51945f=_0x533f09[_0x4a045b>>>0x2]>>>0x18-_0x4a045b%0x4*0x8&0xff,_0x24864a=_0x533f09[_0x4a045b+0x1>>>0x2]>>>0x18-(_0x4a045b+0x1)%0x4*0x8&0xff,_0x5bf03c=_0x533f09[_0x4a045b+0x2>>>0x2]>>>0x18-(_0x4a045b+0x2)%0x4*0x8&0xff,_0x545a44=_0x51945f<<0x10|_0x24864a<<0x8|_0x5bf03c,_0x3188ac=0x0;_0x3188ac<0x4&&_0x4a045b+_0x3188ac*0.75<_0x27d0de;_0x3188ac++)_0x38f6bb[_0x3d3f7c(0x290)](_0x326cdf['charAt'](_0x545a44>>>0x6*(0x3-_0x3188ac)&0x3f));var _0x577912=_0x326cdf[_0x3d3f7c(0x286)](0x40);if(_0x577912){for(;_0x38f6bb[_0x3d3f7c(0x3e1)]%0x4;)_0x38f6bb[_0x3d3f7c(0x290)](_0x577912);}return _0x38f6bb[_0x3d3f7c(0x134)]('');},'parse':function(_0x4cb7fa){var _0x53e462=_0x45da0d,_0x31f792=_0x4cb7fa[_0x53e462(0x3e1)],_0x485843=this['_map'],_0x58921b=this[_0x53e462(0x3e2)];if(!_0x58921b){_0x58921b=this[_0x53e462(0x3e2)]=[];for(var _0x38081f=0x0;_0x38081f<_0x485843[_0x53e462(0x3e1)];_0x38081f++)_0x58921b[_0x485843[_0x53e462(0x1b6)](_0x38081f)]=_0x38081f;}var _0x281b2f=_0x485843[_0x53e462(0x286)](0x40);if(_0x281b2f){var _0x335bcc=_0x4cb7fa[_0x53e462(0x11d)](_0x281b2f);_0x335bcc!==-0x1&&(_0x31f792=_0x335bcc);}return _0x19a4f8(_0x4cb7fa,_0x31f792,_0x58921b);},'_map':_0x45da0d(0xf2)};function _0x19a4f8(_0x60f6d1,_0x385013,_0x15cec1){var _0x24f623=_0x45da0d;for(var _0xfb039e=[],_0xe20991=0x0,_0x2f929a=0x0;_0x2f929a<_0x385013;_0x2f929a++)if(_0x2f929a%0x4){var _0x42709b=_0x15cec1[_0x60f6d1[_0x24f623(0x1b6)](_0x2f929a-0x1)]<<_0x2f929a%0x4*0x2,_0x2b5abc=_0x15cec1[_0x60f6d1[_0x24f623(0x1b6)](_0x2f929a)]>>>0x6-_0x2f929a%0x4*0x2,_0x175b54=_0x42709b|_0x2b5abc;_0xfb039e[_0xe20991>>>0x2]|=_0x175b54<<0x18-_0xe20991%0x4*0x8,_0xe20991++;}return _0x29dbd1['create'](_0xfb039e,_0xe20991);}}()),_0x1051ea['enc']['Base64'];}));}(_0x288305)),_0x288305[_0x561edd(0x101)];}var _0x4f7463={'exports':{}},_0x1590a8=_0x4f7463[_0xaff689(0x101)],_0x4304f6;function _0x4d0f67(){return _0x4304f6||(_0x4304f6=0x1,function(_0x2ab79f,_0x2bb84e){(function(_0x562392,_0x49d082){var _0x45038e=_0x24e1;_0x2ab79f[_0x45038e(0x101)]=_0x49d082(_0x1696c4());}(_0x1590a8,function(_0x51091a){var _0x73aa43=_0x24e1;return function(_0x148264){var _0x622dee=_0x24e1,_0x3f657e=_0x51091a,_0x2f7833=_0x3f657e[_0x622dee(0x44b)],_0x51ae47=_0x2f7833[_0x622dee(0x418)],_0x47a1f1=_0x2f7833[_0x622dee(0x16d)],_0x48e8ce=_0x3f657e[_0x622dee(0x1be)],_0x21931e=[];(function(){var _0x4e1d57=_0x622dee;for(var _0x7cb9f8=0x0;_0x7cb9f8<0x40;_0x7cb9f8++)_0x21931e[_0x7cb9f8]=_0x148264[_0x4e1d57(0x1ce)](_0x148264[_0x4e1d57(0x1e8)](_0x7cb9f8+0x1))*0x100000000|0x0;}());var _0x32509f=_0x48e8ce[_0x622dee(0xf0)]=_0x47a1f1[_0x622dee(0x234)]({'_doReset':function(){var _0x3e66a3=_0x622dee;this[_0x3e66a3(0x376)]=new _0x51ae47[(_0x3e66a3(0x1a1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x477c23,_0x4f013e){for(var _0x1324fa=0x0;_0x1324fa<0x10;_0x1324fa++){var _0x427f1b=_0x4f013e+_0x1324fa,_0x45f433=_0x477c23[_0x427f1b];_0x477c23[_0x427f1b]=(_0x45f433<<0x8|_0x45f433>>>0x18)&0xff00ff|(_0x45f433<<0x18|_0x45f433>>>0x8)&0xff00ff00;}var _0x20c977=this['_hash']['words'],_0x249364=_0x477c23[_0x4f013e+0x0],_0x523248=_0x477c23[_0x4f013e+0x1],_0x4fcc5c=_0x477c23[_0x4f013e+0x2],_0x33ebad=_0x477c23[_0x4f013e+0x3],_0x32d62a=_0x477c23[_0x4f013e+0x4],_0x17b219=_0x477c23[_0x4f013e+0x5],_0x2f9828=_0x477c23[_0x4f013e+0x6],_0x45c75d=_0x477c23[_0x4f013e+0x7],_0x1969b0=_0x477c23[_0x4f013e+0x8],_0x1366e7=_0x477c23[_0x4f013e+0x9],_0x2d01b1=_0x477c23[_0x4f013e+0xa],_0x16532f=_0x477c23[_0x4f013e+0xb],_0x8fbdbc=_0x477c23[_0x4f013e+0xc],_0x53cc57=_0x477c23[_0x4f013e+0xd],_0x2aefde=_0x477c23[_0x4f013e+0xe],_0x5d7ffe=_0x477c23[_0x4f013e+0xf],_0x8caed9=_0x20c977[0x0],_0xae6777=_0x20c977[0x1],_0x1f48a3=_0x20c977[0x2],_0x5db821=_0x20c977[0x3];_0x8caed9=_0x5d0904(_0x8caed9,_0xae6777,_0x1f48a3,_0x5db821,_0x249364,0x7,_0x21931e[0x0]),_0x5db821=_0x5d0904(_0x5db821,_0x8caed9,_0xae6777,_0x1f48a3,_0x523248,0xc,_0x21931e[0x1]),_0x1f48a3=_0x5d0904(_0x1f48a3,_0x5db821,_0x8caed9,_0xae6777,_0x4fcc5c,0x11,_0x21931e[0x2]),_0xae6777=_0x5d0904(_0xae6777,_0x1f48a3,_0x5db821,_0x8caed9,_0x33ebad,0x16,_0x21931e[0x3]),_0x8caed9=_0x5d0904(_0x8caed9,_0xae6777,_0x1f48a3,_0x5db821,_0x32d62a,0x7,_0x21931e[0x4]),_0x5db821=_0x5d0904(_0x5db821,_0x8caed9,_0xae6777,_0x1f48a3,_0x17b219,0xc,_0x21931e[0x5]),_0x1f48a3=_0x5d0904(_0x1f48a3,_0x5db821,_0x8caed9,_0xae6777,_0x2f9828,0x11,_0x21931e[0x6]),_0xae6777=_0x5d0904(_0xae6777,_0x1f48a3,_0x5db821,_0x8caed9,_0x45c75d,0x16,_0x21931e[0x7]),_0x8caed9=_0x5d0904(_0x8caed9,_0xae6777,_0x1f48a3,_0x5db821,_0x1969b0,0x7,_0x21931e[0x8]),_0x5db821=_0x5d0904(_0x5db821,_0x8caed9,_0xae6777,_0x1f48a3,_0x1366e7,0xc,_0x21931e[0x9]),_0x1f48a3=_0x5d0904(_0x1f48a3,_0x5db821,_0x8caed9,_0xae6777,_0x2d01b1,0x11,_0x21931e[0xa]),_0xae6777=_0x5d0904(_0xae6777,_0x1f48a3,_0x5db821,_0x8caed9,_0x16532f,0x16,_0x21931e[0xb]),_0x8caed9=_0x5d0904(_0x8caed9,_0xae6777,_0x1f48a3,_0x5db821,_0x8fbdbc,0x7,_0x21931e[0xc]),_0x5db821=_0x5d0904(_0x5db821,_0x8caed9,_0xae6777,_0x1f48a3,_0x53cc57,0xc,_0x21931e[0xd]),_0x1f48a3=_0x5d0904(_0x1f48a3,_0x5db821,_0x8caed9,_0xae6777,_0x2aefde,0x11,_0x21931e[0xe]),_0xae6777=_0x5d0904(_0xae6777,_0x1f48a3,_0x5db821,_0x8caed9,_0x5d7ffe,0x16,_0x21931e[0xf]),_0x8caed9=_0x292125(_0x8caed9,_0xae6777,_0x1f48a3,_0x5db821,_0x523248,0x5,_0x21931e[0x10]),_0x5db821=_0x292125(_0x5db821,_0x8caed9,_0xae6777,_0x1f48a3,_0x2f9828,0x9,_0x21931e[0x11]),_0x1f48a3=_0x292125(_0x1f48a3,_0x5db821,_0x8caed9,_0xae6777,_0x16532f,0xe,_0x21931e[0x12]),_0xae6777=_0x292125(_0xae6777,_0x1f48a3,_0x5db821,_0x8caed9,_0x249364,0x14,_0x21931e[0x13]),_0x8caed9=_0x292125(_0x8caed9,_0xae6777,_0x1f48a3,_0x5db821,_0x17b219,0x5,_0x21931e[0x14]),_0x5db821=_0x292125(_0x5db821,_0x8caed9,_0xae6777,_0x1f48a3,_0x2d01b1,0x9,_0x21931e[0x15]),_0x1f48a3=_0x292125(_0x1f48a3,_0x5db821,_0x8caed9,_0xae6777,_0x5d7ffe,0xe,_0x21931e[0x16]),_0xae6777=_0x292125(_0xae6777,_0x1f48a3,_0x5db821,_0x8caed9,_0x32d62a,0x14,_0x21931e[0x17]),_0x8caed9=_0x292125(_0x8caed9,_0xae6777,_0x1f48a3,_0x5db821,_0x1366e7,0x5,_0x21931e[0x18]),_0x5db821=_0x292125(_0x5db821,_0x8caed9,_0xae6777,_0x1f48a3,_0x2aefde,0x9,_0x21931e[0x19]),_0x1f48a3=_0x292125(_0x1f48a3,_0x5db821,_0x8caed9,_0xae6777,_0x33ebad,0xe,_0x21931e[0x1a]),_0xae6777=_0x292125(_0xae6777,_0x1f48a3,_0x5db821,_0x8caed9,_0x1969b0,0x14,_0x21931e[0x1b]),_0x8caed9=_0x292125(_0x8caed9,_0xae6777,_0x1f48a3,_0x5db821,_0x53cc57,0x5,_0x21931e[0x1c]),_0x5db821=_0x292125(_0x5db821,_0x8caed9,_0xae6777,_0x1f48a3,_0x4fcc5c,0x9,_0x21931e[0x1d]),_0x1f48a3=_0x292125(_0x1f48a3,_0x5db821,_0x8caed9,_0xae6777,_0x45c75d,0xe,_0x21931e[0x1e]),_0xae6777=_0x292125(_0xae6777,_0x1f48a3,_0x5db821,_0x8caed9,_0x8fbdbc,0x14,_0x21931e[0x1f]),_0x8caed9=_0xacf427(_0x8caed9,_0xae6777,_0x1f48a3,_0x5db821,_0x17b219,0x4,_0x21931e[0x20]),_0x5db821=_0xacf427(_0x5db821,_0x8caed9,_0xae6777,_0x1f48a3,_0x1969b0,0xb,_0x21931e[0x21]),_0x1f48a3=_0xacf427(_0x1f48a3,_0x5db821,_0x8caed9,_0xae6777,_0x16532f,0x10,_0x21931e[0x22]),_0xae6777=_0xacf427(_0xae6777,_0x1f48a3,_0x5db821,_0x8caed9,_0x2aefde,0x17,_0x21931e[0x23]),_0x8caed9=_0xacf427(_0x8caed9,_0xae6777,_0x1f48a3,_0x5db821,_0x523248,0x4,_0x21931e[0x24]),_0x5db821=_0xacf427(_0x5db821,_0x8caed9,_0xae6777,_0x1f48a3,_0x32d62a,0xb,_0x21931e[0x25]),_0x1f48a3=_0xacf427(_0x1f48a3,_0x5db821,_0x8caed9,_0xae6777,_0x45c75d,0x10,_0x21931e[0x26]),_0xae6777=_0xacf427(_0xae6777,_0x1f48a3,_0x5db821,_0x8caed9,_0x2d01b1,0x17,_0x21931e[0x27]),_0x8caed9=_0xacf427(_0x8caed9,_0xae6777,_0x1f48a3,_0x5db821,_0x53cc57,0x4,_0x21931e[0x28]),_0x5db821=_0xacf427(_0x5db821,_0x8caed9,_0xae6777,_0x1f48a3,_0x249364,0xb,_0x21931e[0x29]),_0x1f48a3=_0xacf427(_0x1f48a3,_0x5db821,_0x8caed9,_0xae6777,_0x33ebad,0x10,_0x21931e[0x2a]),_0xae6777=_0xacf427(_0xae6777,_0x1f48a3,_0x5db821,_0x8caed9,_0x2f9828,0x17,_0x21931e[0x2b]),_0x8caed9=_0xacf427(_0x8caed9,_0xae6777,_0x1f48a3,_0x5db821,_0x1366e7,0x4,_0x21931e[0x2c]),_0x5db821=_0xacf427(_0x5db821,_0x8caed9,_0xae6777,_0x1f48a3,_0x8fbdbc,0xb,_0x21931e[0x2d]),_0x1f48a3=_0xacf427(_0x1f48a3,_0x5db821,_0x8caed9,_0xae6777,_0x5d7ffe,0x10,_0x21931e[0x2e]),_0xae6777=_0xacf427(_0xae6777,_0x1f48a3,_0x5db821,_0x8caed9,_0x4fcc5c,0x17,_0x21931e[0x2f]),_0x8caed9=_0x57b35d(_0x8caed9,_0xae6777,_0x1f48a3,_0x5db821,_0x249364,0x6,_0x21931e[0x30]),_0x5db821=_0x57b35d(_0x5db821,_0x8caed9,_0xae6777,_0x1f48a3,_0x45c75d,0xa,_0x21931e[0x31]),_0x1f48a3=_0x57b35d(_0x1f48a3,_0x5db821,_0x8caed9,_0xae6777,_0x2aefde,0xf,_0x21931e[0x32]),_0xae6777=_0x57b35d(_0xae6777,_0x1f48a3,_0x5db821,_0x8caed9,_0x17b219,0x15,_0x21931e[0x33]),_0x8caed9=_0x57b35d(_0x8caed9,_0xae6777,_0x1f48a3,_0x5db821,_0x8fbdbc,0x6,_0x21931e[0x34]),_0x5db821=_0x57b35d(_0x5db821,_0x8caed9,_0xae6777,_0x1f48a3,_0x33ebad,0xa,_0x21931e[0x35]),_0x1f48a3=_0x57b35d(_0x1f48a3,_0x5db821,_0x8caed9,_0xae6777,_0x2d01b1,0xf,_0x21931e[0x36]),_0xae6777=_0x57b35d(_0xae6777,_0x1f48a3,_0x5db821,_0x8caed9,_0x523248,0x15,_0x21931e[0x37]),_0x8caed9=_0x57b35d(_0x8caed9,_0xae6777,_0x1f48a3,_0x5db821,_0x1969b0,0x6,_0x21931e[0x38]),_0x5db821=_0x57b35d(_0x5db821,_0x8caed9,_0xae6777,_0x1f48a3,_0x5d7ffe,0xa,_0x21931e[0x39]),_0x1f48a3=_0x57b35d(_0x1f48a3,_0x5db821,_0x8caed9,_0xae6777,_0x2f9828,0xf,_0x21931e[0x3a]),_0xae6777=_0x57b35d(_0xae6777,_0x1f48a3,_0x5db821,_0x8caed9,_0x53cc57,0x15,_0x21931e[0x3b]),_0x8caed9=_0x57b35d(_0x8caed9,_0xae6777,_0x1f48a3,_0x5db821,_0x32d62a,0x6,_0x21931e[0x3c]),_0x5db821=_0x57b35d(_0x5db821,_0x8caed9,_0xae6777,_0x1f48a3,_0x16532f,0xa,_0x21931e[0x3d]),_0x1f48a3=_0x57b35d(_0x1f48a3,_0x5db821,_0x8caed9,_0xae6777,_0x4fcc5c,0xf,_0x21931e[0x3e]),_0xae6777=_0x57b35d(_0xae6777,_0x1f48a3,_0x5db821,_0x8caed9,_0x1366e7,0x15,_0x21931e[0x3f]),_0x20c977[0x0]=_0x20c977[0x0]+_0x8caed9|0x0,_0x20c977[0x1]=_0x20c977[0x1]+_0xae6777|0x0,_0x20c977[0x2]=_0x20c977[0x2]+_0x1f48a3|0x0,_0x20c977[0x3]=_0x20c977[0x3]+_0x5db821|0x0;},'_doFinalize':function(){var _0x5a414d=_0x622dee,_0x542de1=this[_0x5a414d(0x13b)],_0x4f9e2b=_0x542de1['words'],_0x2aced9=this[_0x5a414d(0x26e)]*0x8,_0x1af6f1=_0x542de1[_0x5a414d(0x3d1)]*0x8;_0x4f9e2b[_0x1af6f1>>>0x5]|=0x80<<0x18-_0x1af6f1%0x20;var _0x499752=_0x148264[_0x5a414d(0x1bd)](_0x2aced9/0x100000000),_0x2f712f=_0x2aced9;_0x4f9e2b[(_0x1af6f1+0x40>>>0x9<<0x4)+0xf]=(_0x499752<<0x8|_0x499752>>>0x18)&0xff00ff|(_0x499752<<0x18|_0x499752>>>0x8)&0xff00ff00,_0x4f9e2b[(_0x1af6f1+0x40>>>0x9<<0x4)+0xe]=(_0x2f712f<<0x8|_0x2f712f>>>0x18)&0xff00ff|(_0x2f712f<<0x18|_0x2f712f>>>0x8)&0xff00ff00,_0x542de1[_0x5a414d(0x3d1)]=(_0x4f9e2b[_0x5a414d(0x3e1)]+0x1)*0x4,this[_0x5a414d(0x100)]();for(var _0x8d9754=this['_hash'],_0x5f23d5=_0x8d9754['words'],_0x3e3e13=0x0;_0x3e3e13<0x4;_0x3e3e13++){var _0x4a86c5=_0x5f23d5[_0x3e3e13];_0x5f23d5[_0x3e3e13]=(_0x4a86c5<<0x8|_0x4a86c5>>>0x18)&0xff00ff|(_0x4a86c5<<0x18|_0x4a86c5>>>0x8)&0xff00ff00;}return _0x8d9754;},'clone':function(){var _0x4784e9=_0x622dee,_0xb79874=_0x47a1f1[_0x4784e9(0x2db)][_0x4784e9(0x43f)](this);return _0xb79874[_0x4784e9(0x376)]=this['_hash'][_0x4784e9(0x2db)](),_0xb79874;}});function _0x5d0904(_0x239901,_0x1afad0,_0x172adc,_0x1a83a9,_0x477488,_0x1613ed,_0x1a8dc6){var _0x5decdd=_0x239901+(_0x1afad0&_0x172adc|~_0x1afad0&_0x1a83a9)+_0x477488+_0x1a8dc6;return(_0x5decdd<<_0x1613ed|_0x5decdd>>>0x20-_0x1613ed)+_0x1afad0;}function _0x292125(_0x3e38d5,_0x806e78,_0x2960ec,_0x4bd4c2,_0x3f9714,_0x22e5e8,_0x2e7d1d){var _0x5d7085=_0x3e38d5+(_0x806e78&_0x4bd4c2|_0x2960ec&~_0x4bd4c2)+_0x3f9714+_0x2e7d1d;return(_0x5d7085<<_0x22e5e8|_0x5d7085>>>0x20-_0x22e5e8)+_0x806e78;}function _0xacf427(_0x4db87f,_0x5bd2a2,_0x3dd307,_0x336f71,_0x22ea79,_0x2606bd,_0x1d8695){var _0x80d000=_0x4db87f+(_0x5bd2a2^_0x3dd307^_0x336f71)+_0x22ea79+_0x1d8695;return(_0x80d000<<_0x2606bd|_0x80d000>>>0x20-_0x2606bd)+_0x5bd2a2;}function _0x57b35d(_0x3e581e,_0x525b4c,_0x429351,_0xe7599f,_0x1ab906,_0xa51a18,_0x4ee63f){var _0x453083=_0x3e581e+(_0x429351^(_0x525b4c|~_0xe7599f))+_0x1ab906+_0x4ee63f;return(_0x453083<<_0xa51a18|_0x453083>>>0x20-_0xa51a18)+_0x525b4c;}_0x3f657e[_0x622dee(0xf0)]=_0x47a1f1['_createHelper'](_0x32509f),_0x3f657e['HmacMD5']=_0x47a1f1['_createHmacHelper'](_0x32509f);}(Math),_0x51091a[_0x73aa43(0xf0)];}));}(_0x4f7463)),_0x4f7463['exports'];}var _0xeb00a9={'exports':{}},_0x30c360={'exports':{}},_0x54834e=_0x30c360[_0xaff689(0x101)],_0x46f2b6;function _0x1a71e9(){var _0x5c7434=_0xaff689;return _0x46f2b6||(_0x46f2b6=0x1,function(_0x684a4a,_0x2c7428){(function(_0x5ecfc8,_0x5bb289){var _0x421751=_0x24e1;_0x684a4a[_0x421751(0x101)]=_0x5bb289(_0x1696c4());}(_0x54834e,function(_0x1b50f0){var _0x2d9dc2=_0x24e1;return(function(){var _0x5600f6=_0x24e1,_0x5a5e77=_0x1b50f0,_0x20512a=_0x5a5e77[_0x5600f6(0x44b)],_0x5e4be3=_0x20512a[_0x5600f6(0x418)],_0x202ce1=_0x20512a[_0x5600f6(0x16d)],_0x23392f=_0x5a5e77[_0x5600f6(0x1be)],_0x43df5f=[],_0x4ca4d3=_0x23392f[_0x5600f6(0x10f)]=_0x202ce1[_0x5600f6(0x234)]({'_doReset':function(){var _0x17fbcd=_0x5600f6;this[_0x17fbcd(0x376)]=new _0x5e4be3['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x315ec6,_0x57e93b){var _0x44ea3b=_0x5600f6;for(var _0x38950a=this[_0x44ea3b(0x376)][_0x44ea3b(0x36b)],_0x492fc5=_0x38950a[0x0],_0x19ebab=_0x38950a[0x1],_0x2d258b=_0x38950a[0x2],_0x30aacf=_0x38950a[0x3],_0x559025=_0x38950a[0x4],_0x28b2b5=0x0;_0x28b2b5<0x50;_0x28b2b5++){if(_0x28b2b5<0x10)_0x43df5f[_0x28b2b5]=_0x315ec6[_0x57e93b+_0x28b2b5]|0x0;else{var _0x14b12d=_0x43df5f[_0x28b2b5-0x3]^_0x43df5f[_0x28b2b5-0x8]^_0x43df5f[_0x28b2b5-0xe]^_0x43df5f[_0x28b2b5-0x10];_0x43df5f[_0x28b2b5]=_0x14b12d<<0x1|_0x14b12d>>>0x1f;}var _0x6ed233=(_0x492fc5<<0x5|_0x492fc5>>>0x1b)+_0x559025+_0x43df5f[_0x28b2b5];_0x28b2b5<0x14?_0x6ed233+=(_0x19ebab&_0x2d258b|~_0x19ebab&_0x30aacf)+0x5a827999:_0x28b2b5<0x28?_0x6ed233+=(_0x19ebab^_0x2d258b^_0x30aacf)+0x6ed9eba1:_0x28b2b5<0x3c?_0x6ed233+=(_0x19ebab&_0x2d258b|_0x19ebab&_0x30aacf|_0x2d258b&_0x30aacf)-0x70e44324:_0x6ed233+=(_0x19ebab^_0x2d258b^_0x30aacf)-0x359d3e2a,_0x559025=_0x30aacf,_0x30aacf=_0x2d258b,_0x2d258b=_0x19ebab<<0x1e|_0x19ebab>>>0x2,_0x19ebab=_0x492fc5,_0x492fc5=_0x6ed233;}_0x38950a[0x0]=_0x38950a[0x0]+_0x492fc5|0x0,_0x38950a[0x1]=_0x38950a[0x1]+_0x19ebab|0x0,_0x38950a[0x2]=_0x38950a[0x2]+_0x2d258b|0x0,_0x38950a[0x3]=_0x38950a[0x3]+_0x30aacf|0x0,_0x38950a[0x4]=_0x38950a[0x4]+_0x559025|0x0;},'_doFinalize':function(){var _0x35d87e=_0x5600f6,_0x2f9b25=this[_0x35d87e(0x13b)],_0x59aec0=_0x2f9b25['words'],_0x53f759=this[_0x35d87e(0x26e)]*0x8,_0xc97e96=_0x2f9b25[_0x35d87e(0x3d1)]*0x8;return _0x59aec0[_0xc97e96>>>0x5]|=0x80<<0x18-_0xc97e96%0x20,_0x59aec0[(_0xc97e96+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x53f759/0x100000000),_0x59aec0[(_0xc97e96+0x40>>>0x9<<0x4)+0xf]=_0x53f759,_0x2f9b25[_0x35d87e(0x3d1)]=_0x59aec0['length']*0x4,this[_0x35d87e(0x100)](),this['_hash'];},'clone':function(){var _0x199699=_0x5600f6,_0x8676ba=_0x202ce1[_0x199699(0x2db)][_0x199699(0x43f)](this);return _0x8676ba[_0x199699(0x376)]=this[_0x199699(0x376)][_0x199699(0x2db)](),_0x8676ba;}});_0x5a5e77[_0x5600f6(0x10f)]=_0x202ce1[_0x5600f6(0x29f)](_0x4ca4d3),_0x5a5e77[_0x5600f6(0x28a)]=_0x202ce1[_0x5600f6(0x200)](_0x4ca4d3);}()),_0x1b50f0[_0x2d9dc2(0x10f)];}));}(_0x30c360)),_0x30c360[_0x5c7434(0x101)];}var _0x35163b={'exports':{}},_0x6cd56=_0x35163b['exports'],_0x20104c;function _0x2b3200(){return _0x20104c||(_0x20104c=0x1,function(_0x22959d,_0x5c7ee2){(function(_0x4e032e,_0x1cecc9){var _0x34229a=_0x24e1;_0x22959d[_0x34229a(0x101)]=_0x1cecc9(_0x1696c4());}(_0x6cd56,function(_0x250f9c){(function(){var _0xb49733=_0x24e1,_0x1ed89e=_0x250f9c,_0x576ab2=_0x1ed89e[_0xb49733(0x44b)],_0x3a4ae8=_0x576ab2[_0xb49733(0x18c)],_0x1c3ef1=_0x1ed89e[_0xb49733(0x3f3)],_0xf8435c=_0x1c3ef1[_0xb49733(0x457)],_0x2bad97=_0x1ed89e[_0xb49733(0x1be)];_0x2bad97[_0xb49733(0x146)]=_0x3a4ae8[_0xb49733(0x234)]({'init':function(_0x3e8528,_0x76dafe){var _0x4dda5a=_0xb49733;_0x3e8528=this[_0x4dda5a(0x38c)]=new _0x3e8528[(_0x4dda5a(0x1a1))](),typeof _0x76dafe==_0x4dda5a(0x1db)&&(_0x76dafe=_0xf8435c[_0x4dda5a(0x3a1)](_0x76dafe));var _0x1905a3=_0x3e8528[_0x4dda5a(0x15e)],_0x5b5c07=_0x1905a3*0x4;_0x76dafe['sigBytes']>_0x5b5c07&&(_0x76dafe=_0x3e8528[_0x4dda5a(0x253)](_0x76dafe)),_0x76dafe[_0x4dda5a(0x3b1)]();for(var _0x435c44=this[_0x4dda5a(0x176)]=_0x76dafe[_0x4dda5a(0x2db)](),_0x18ce9f=this[_0x4dda5a(0x44d)]=_0x76dafe[_0x4dda5a(0x2db)](),_0x36967e=_0x435c44[_0x4dda5a(0x36b)],_0x30145f=_0x18ce9f[_0x4dda5a(0x36b)],_0x30856f=0x0;_0x30856f<_0x1905a3;_0x30856f++)_0x36967e[_0x30856f]^=0x5c5c5c5c,_0x30145f[_0x30856f]^=0x36363636;_0x435c44['sigBytes']=_0x18ce9f[_0x4dda5a(0x3d1)]=_0x5b5c07,this['reset']();},'reset':function(){var _0x53074f=_0xb49733,_0x434609=this[_0x53074f(0x38c)];_0x434609[_0x53074f(0x116)](),_0x434609[_0x53074f(0xed)](this[_0x53074f(0x44d)]);},'update':function(_0x23db81){var _0x56a18e=_0xb49733;return this[_0x56a18e(0x38c)]['update'](_0x23db81),this;},'finalize':function(_0x43aee9){var _0x4147a8=_0xb49733,_0xce5eb7=this['_hasher'],_0x53f5c1=_0xce5eb7['finalize'](_0x43aee9);_0xce5eb7[_0x4147a8(0x116)]();var _0x20fc09=_0xce5eb7['finalize'](this[_0x4147a8(0x176)][_0x4147a8(0x2db)]()[_0x4147a8(0x441)](_0x53f5c1));return _0x20fc09;}});}());}));}(_0x35163b)),_0x35163b['exports'];}var _0x21fa60=_0xeb00a9[_0xaff689(0x101)],_0x53c6e2;function _0x343e5f(){var _0x3f96b6=_0xaff689;return _0x53c6e2||(_0x53c6e2=0x1,function(_0x54b7ae,_0xe46647){(function(_0x13f3eb,_0x441934,_0x19a405){var _0x2ee12c=_0x24e1;_0x54b7ae[_0x2ee12c(0x101)]=_0x441934(_0x1696c4(),_0x1a71e9(),_0x2b3200());}(_0x21fa60,function(_0x172860){var _0x695a8f=_0x24e1;return(function(){var _0xb05bc=_0x24e1,_0x5eef39=_0x172860,_0x1833dc=_0x5eef39[_0xb05bc(0x44b)],_0xba4c09=_0x1833dc['Base'],_0x4e0cd6=_0x1833dc[_0xb05bc(0x418)],_0x1c5996=_0x5eef39[_0xb05bc(0x1be)],_0x13fcdf=_0x1c5996[_0xb05bc(0xf0)],_0x19a346=_0x1c5996['EvpKDF']=_0xba4c09[_0xb05bc(0x234)]({'cfg':_0xba4c09[_0xb05bc(0x234)]({'keySize':0x80/0x20,'hasher':_0x13fcdf,'iterations':0x1}),'init':function(_0x77393d){var _0x2fd827=_0xb05bc;this['cfg']=this[_0x2fd827(0x2c3)]['extend'](_0x77393d);},'compute':function(_0x1ba65c,_0x2d159b){var _0xf583a0=_0xb05bc;for(var _0x290468,_0x5bf080=this['cfg'],_0x335a1c=_0x5bf080[_0xf583a0(0x3f4)][_0xf583a0(0x39f)](),_0x38fd68=_0x4e0cd6[_0xf583a0(0x39f)](),_0x12b5e8=_0x38fd68[_0xf583a0(0x36b)],_0x412c66=_0x5bf080[_0xf583a0(0x3dd)],_0x51c534=_0x5bf080[_0xf583a0(0x411)];_0x12b5e8['length']<_0x412c66;){_0x290468&&_0x335a1c[_0xf583a0(0xed)](_0x290468),_0x290468=_0x335a1c['update'](_0x1ba65c)['finalize'](_0x2d159b),_0x335a1c['reset']();for(var _0x1a5b2a=0x1;_0x1a5b2a<_0x51c534;_0x1a5b2a++)_0x290468=_0x335a1c[_0xf583a0(0x253)](_0x290468),_0x335a1c[_0xf583a0(0x116)]();_0x38fd68[_0xf583a0(0x441)](_0x290468);}return _0x38fd68[_0xf583a0(0x3d1)]=_0x412c66*0x4,_0x38fd68;}});_0x5eef39['EvpKDF']=function(_0x2e60de,_0x3a4646,_0x4eb000){var _0x3c01dc=_0xb05bc;return _0x19a346[_0x3c01dc(0x39f)](_0x4eb000)[_0x3c01dc(0x17c)](_0x2e60de,_0x3a4646);};}()),_0x172860[_0x695a8f(0x240)];}));}(_0xeb00a9)),_0xeb00a9[_0x3f96b6(0x101)];}var _0x5b45ad={'exports':{}},_0x355829=_0x5b45ad['exports'],_0x5ac47e;function _0x49ed9a(){var _0x18b655=_0xaff689;return _0x5ac47e||(_0x5ac47e=0x1,function(_0x17f087,_0x1ebf67){(function(_0x5c00a3,_0x25f1c2,_0xf4ea31){var _0x59ba69=_0x24e1;_0x17f087[_0x59ba69(0x101)]=_0x25f1c2(_0x1696c4(),_0x343e5f());}(_0x355829,function(_0x3db9c2){var _0x5c9061=_0x24e1;_0x3db9c2[_0x5c9061(0x44b)]['Cipher']||function(_0x457330){var _0x1e25fe=_0x5c9061,_0x10deaf=_0x3db9c2,_0x3644c5=_0x10deaf[_0x1e25fe(0x44b)],_0x40970f=_0x3644c5[_0x1e25fe(0x18c)],_0xdaf193=_0x3644c5['WordArray'],_0x26b0cd=_0x3644c5[_0x1e25fe(0x279)],_0x526fff=_0x10deaf[_0x1e25fe(0x3f3)];_0x526fff[_0x1e25fe(0x457)];var _0x4da078=_0x526fff[_0x1e25fe(0xee)],_0x30ffd2=_0x10deaf['algo'],_0xb445f=_0x30ffd2['EvpKDF'],_0x5487a3=_0x3644c5['Cipher']=_0x26b0cd[_0x1e25fe(0x234)]({'cfg':_0x40970f[_0x1e25fe(0x234)](),'createEncryptor':function(_0x96982f,_0x4e2895){var _0x2eee22=_0x1e25fe;return this['create'](this[_0x2eee22(0x29e)],_0x96982f,_0x4e2895);},'createDecryptor':function(_0x18735,_0x36b013){var _0x219c28=_0x1e25fe;return this[_0x219c28(0x39f)](this[_0x219c28(0x25f)],_0x18735,_0x36b013);},'init':function(_0x1fd0b2,_0x9545af,_0x3420d7){var _0x2efecb=_0x1e25fe;this['cfg']=this['cfg'][_0x2efecb(0x234)](_0x3420d7),this['_xformMode']=_0x1fd0b2,this[_0x2efecb(0x26a)]=_0x9545af,this[_0x2efecb(0x116)]();},'reset':function(){var _0x532192=_0x1e25fe;_0x26b0cd[_0x532192(0x116)][_0x532192(0x43f)](this),this['_doReset']();},'process':function(_0x3ef377){var _0x1222da=_0x1e25fe;return this[_0x1222da(0x319)](_0x3ef377),this[_0x1222da(0x100)]();},'finalize':function(_0x494665){var _0x58f859=_0x1e25fe;_0x494665&&this[_0x58f859(0x319)](_0x494665);var _0x40ee14=this[_0x58f859(0x34b)]();return _0x40ee14;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x57fac8(_0x9e2ef5){var _0x267120=_0x24e1;return typeof _0x9e2ef5==_0x267120(0x1db)?_0x50cb92:_0x4394b9;}return function(_0x3be12d){return{'encrypt':function(_0x47dfad,_0x2e68e1,_0x4c5998){var _0x592e22=_0x24e1;return _0x57fac8(_0x2e68e1)[_0x592e22(0x389)](_0x3be12d,_0x47dfad,_0x2e68e1,_0x4c5998);},'decrypt':function(_0x1d2175,_0x3d635b,_0xbd55e2){return _0x57fac8(_0x3d635b)['decrypt'](_0x3be12d,_0x1d2175,_0x3d635b,_0xbd55e2);}};};}())});_0x3644c5[_0x1e25fe(0x2dd)]=_0x5487a3[_0x1e25fe(0x234)]({'_doFinalize':function(){var _0x5e7b4e=_0x1e25fe,_0xdfeb21=this[_0x5e7b4e(0x100)](!0x0);return _0xdfeb21;},'blockSize':0x1});var _0x555a6a=_0x10deaf[_0x1e25fe(0x313)]={},_0x422f24=_0x3644c5['BlockCipherMode']=_0x40970f['extend']({'createEncryptor':function(_0x1f742d,_0x268da2){var _0x222604=_0x1e25fe;return this[_0x222604(0x3d6)][_0x222604(0x39f)](_0x1f742d,_0x268da2);},'createDecryptor':function(_0x46f2e7,_0x347bbe){var _0x58987c=_0x1e25fe;return this['Decryptor'][_0x58987c(0x39f)](_0x46f2e7,_0x347bbe);},'init':function(_0x534e88,_0x138384){var _0x32f899=_0x1e25fe;this[_0x32f899(0x354)]=_0x534e88,this[_0x32f899(0x353)]=_0x138384;}}),_0x5b4cd9=_0x555a6a[_0x1e25fe(0x34a)]=(function(){var _0x5067c9=_0x1e25fe,_0xed1910=_0x422f24[_0x5067c9(0x234)]();_0xed1910[_0x5067c9(0x3d6)]=_0xed1910['extend']({'processBlock':function(_0x3ed4da,_0x2ea8f4){var _0x198968=_0x5067c9,_0x5bfb23=this[_0x198968(0x354)],_0x19e984=_0x5bfb23['blockSize'];_0x7d4615[_0x198968(0x43f)](this,_0x3ed4da,_0x2ea8f4,_0x19e984),_0x5bfb23[_0x198968(0x19d)](_0x3ed4da,_0x2ea8f4),this[_0x198968(0x143)]=_0x3ed4da['slice'](_0x2ea8f4,_0x2ea8f4+_0x19e984);}}),_0xed1910[_0x5067c9(0x1fa)]=_0xed1910[_0x5067c9(0x234)]({'processBlock':function(_0x1f2455,_0x436ed4){var _0x515fcc=_0x5067c9,_0x23030f=this[_0x515fcc(0x354)],_0x155076=_0x23030f[_0x515fcc(0x15e)],_0x5c7058=_0x1f2455[_0x515fcc(0x2b7)](_0x436ed4,_0x436ed4+_0x155076);_0x23030f[_0x515fcc(0x3d7)](_0x1f2455,_0x436ed4),_0x7d4615[_0x515fcc(0x43f)](this,_0x1f2455,_0x436ed4,_0x155076),this[_0x515fcc(0x143)]=_0x5c7058;}});function _0x7d4615(_0x224c11,_0x5dca3b,_0xd5f94b){var _0x1fed9f=_0x5067c9,_0x1d5ece,_0x1dc903=this[_0x1fed9f(0x353)];_0x1dc903?(_0x1d5ece=_0x1dc903,this[_0x1fed9f(0x353)]=_0x457330):_0x1d5ece=this[_0x1fed9f(0x143)];for(var _0x26c666=0x0;_0x26c666<_0xd5f94b;_0x26c666++)_0x224c11[_0x5dca3b+_0x26c666]^=_0x1d5ece[_0x26c666];}return _0xed1910;}()),_0x3917df=_0x10deaf[_0x1e25fe(0x300)]={},_0x4320b4=_0x3917df['Pkcs7']={'pad':function(_0x26e52d,_0xaf1013){var _0x6fdc7d=_0x1e25fe;for(var _0x3b24a6=_0xaf1013*0x4,_0x1cfb8c=_0x3b24a6-_0x26e52d['sigBytes']%_0x3b24a6,_0x348955=_0x1cfb8c<<0x18|_0x1cfb8c<<0x10|_0x1cfb8c<<0x8|_0x1cfb8c,_0x217fdb=[],_0x16e22b=0x0;_0x16e22b<_0x1cfb8c;_0x16e22b+=0x4)_0x217fdb[_0x6fdc7d(0x290)](_0x348955);var _0x36b4e5=_0xdaf193[_0x6fdc7d(0x39f)](_0x217fdb,_0x1cfb8c);_0x26e52d[_0x6fdc7d(0x441)](_0x36b4e5);},'unpad':function(_0x2298c9){var _0x4b6843=_0x1e25fe,_0x55fa3c=_0x2298c9['words'][_0x2298c9[_0x4b6843(0x3d1)]-0x1>>>0x2]&0xff;_0x2298c9['sigBytes']-=_0x55fa3c;}};_0x3644c5[_0x1e25fe(0x177)]=_0x5487a3[_0x1e25fe(0x234)]({'cfg':_0x5487a3['cfg'][_0x1e25fe(0x234)]({'mode':_0x5b4cd9,'padding':_0x4320b4}),'reset':function(){var _0xe79e73=_0x1e25fe,_0x10c8f6;_0x5487a3[_0xe79e73(0x116)][_0xe79e73(0x43f)](this);var _0x431c2e=this[_0xe79e73(0x2c3)],_0x20e0ba=_0x431c2e['iv'],_0x5f2e71=_0x431c2e[_0xe79e73(0x313)];this[_0xe79e73(0x12f)]==this['_ENC_XFORM_MODE']?_0x10c8f6=_0x5f2e71[_0xe79e73(0x2d6)]:(_0x10c8f6=_0x5f2e71[_0xe79e73(0x336)],this[_0xe79e73(0x1ea)]=0x1),this[_0xe79e73(0x3a9)]&&this[_0xe79e73(0x3a9)][_0xe79e73(0x36e)]==_0x10c8f6?this[_0xe79e73(0x3a9)]['init'](this,_0x20e0ba&&_0x20e0ba['words']):(this['_mode']=_0x10c8f6['call'](_0x5f2e71,this,_0x20e0ba&&_0x20e0ba[_0xe79e73(0x36b)]),this[_0xe79e73(0x3a9)][_0xe79e73(0x36e)]=_0x10c8f6);},'_doProcessBlock':function(_0x55b561,_0x4041ab){var _0x16c582=_0x1e25fe;this[_0x16c582(0x3a9)][_0x16c582(0x35e)](_0x55b561,_0x4041ab);},'_doFinalize':function(){var _0x4c8b7a=_0x1e25fe,_0x2c9b64,_0x32bc73=this[_0x4c8b7a(0x2c3)][_0x4c8b7a(0x315)];return this[_0x4c8b7a(0x12f)]==this['_ENC_XFORM_MODE']?(_0x32bc73[_0x4c8b7a(0x300)](this['_data'],this[_0x4c8b7a(0x15e)]),_0x2c9b64=this[_0x4c8b7a(0x100)](!0x0)):(_0x2c9b64=this[_0x4c8b7a(0x100)](!0x0),_0x32bc73[_0x4c8b7a(0x447)](_0x2c9b64)),_0x2c9b64;},'blockSize':0x80/0x20});var _0x38e273=_0x3644c5['CipherParams']=_0x40970f['extend']({'init':function(_0x28adcb){this['mixIn'](_0x28adcb);},'toString':function(_0x4aa1e7){var _0x326177=_0x1e25fe;return(_0x4aa1e7||this[_0x326177(0x114)])[_0x326177(0x197)](this);}}),_0x41408e=_0x10deaf[_0x1e25fe(0x21f)]={},_0x557d13=_0x41408e[_0x1e25fe(0x362)]={'stringify':function(_0x450806){var _0x7dc4aa=_0x1e25fe,_0x4560af,_0x14aac8=_0x450806['ciphertext'],_0x16e00c=_0x450806[_0x7dc4aa(0x454)];return _0x16e00c?_0x4560af=_0xdaf193[_0x7dc4aa(0x39f)]([0x53616c74,0x65645f5f])[_0x7dc4aa(0x441)](_0x16e00c)[_0x7dc4aa(0x441)](_0x14aac8):_0x4560af=_0x14aac8,_0x4560af['toString'](_0x4da078);},'parse':function(_0x1b3d90){var _0x5d57a4=_0x1e25fe,_0x551730,_0x5dec81=_0x4da078[_0x5d57a4(0x3a1)](_0x1b3d90),_0x3f5857=_0x5dec81[_0x5d57a4(0x36b)];return _0x3f5857[0x0]==0x53616c74&&_0x3f5857[0x1]==0x65645f5f&&(_0x551730=_0xdaf193['create'](_0x3f5857['slice'](0x2,0x4)),_0x3f5857[_0x5d57a4(0x18f)](0x0,0x4),_0x5dec81[_0x5d57a4(0x3d1)]-=0x10),_0x38e273[_0x5d57a4(0x39f)]({'ciphertext':_0x5dec81,'salt':_0x551730});}},_0x4394b9=_0x3644c5[_0x1e25fe(0x20f)]=_0x40970f[_0x1e25fe(0x234)]({'cfg':_0x40970f['extend']({'format':_0x557d13}),'encrypt':function(_0x527f6b,_0x16265f,_0x22d1ec,_0x2d7f52){var _0x255e92=_0x1e25fe;_0x2d7f52=this[_0x255e92(0x2c3)][_0x255e92(0x234)](_0x2d7f52);var _0x579eb2=_0x527f6b[_0x255e92(0x2d6)](_0x22d1ec,_0x2d7f52),_0x59f01b=_0x579eb2[_0x255e92(0x253)](_0x16265f),_0x5d78ab=_0x579eb2[_0x255e92(0x2c3)];return _0x38e273['create']({'ciphertext':_0x59f01b,'key':_0x22d1ec,'iv':_0x5d78ab['iv'],'algorithm':_0x527f6b,'mode':_0x5d78ab[_0x255e92(0x313)],'padding':_0x5d78ab[_0x255e92(0x315)],'blockSize':_0x527f6b[_0x255e92(0x15e)],'formatter':_0x2d7f52[_0x255e92(0x21f)]});},'decrypt':function(_0xa60661,_0x15ef89,_0x122010,_0x1048eb){var _0xa56385=_0x1e25fe;_0x1048eb=this[_0xa56385(0x2c3)][_0xa56385(0x234)](_0x1048eb),_0x15ef89=this['_parse'](_0x15ef89,_0x1048eb[_0xa56385(0x21f)]);var _0x1323cd=_0xa60661['createDecryptor'](_0x122010,_0x1048eb)[_0xa56385(0x253)](_0x15ef89['ciphertext']);return _0x1323cd;},'_parse':function(_0x220158,_0x3b3b9a){var _0x3137c7=_0x1e25fe;return typeof _0x220158==_0x3137c7(0x1db)?_0x3b3b9a[_0x3137c7(0x3a1)](_0x220158,this):_0x220158;}}),_0x453c7f=_0x10deaf[_0x1e25fe(0x191)]={},_0x2e7dd2=_0x453c7f[_0x1e25fe(0x362)]={'execute':function(_0x25470a,_0x35b837,_0x4a6256,_0x2cd43b,_0x1c4aad){var _0x1266da=_0x1e25fe;if(_0x2cd43b||(_0x2cd43b=_0xdaf193[_0x1266da(0x28c)](0x40/0x8)),_0x1c4aad)var _0x2ecdd1=_0xb445f[_0x1266da(0x39f)]({'keySize':_0x35b837+_0x4a6256,'hasher':_0x1c4aad})[_0x1266da(0x17c)](_0x25470a,_0x2cd43b);else var _0x2ecdd1=_0xb445f[_0x1266da(0x39f)]({'keySize':_0x35b837+_0x4a6256})[_0x1266da(0x17c)](_0x25470a,_0x2cd43b);var _0xd32469=_0xdaf193['create'](_0x2ecdd1[_0x1266da(0x36b)][_0x1266da(0x2b7)](_0x35b837),_0x4a6256*0x4);return _0x2ecdd1[_0x1266da(0x3d1)]=_0x35b837*0x4,_0x38e273[_0x1266da(0x39f)]({'key':_0x2ecdd1,'iv':_0xd32469,'salt':_0x2cd43b});}},_0x50cb92=_0x3644c5[_0x1e25fe(0x15d)]=_0x4394b9[_0x1e25fe(0x234)]({'cfg':_0x4394b9[_0x1e25fe(0x2c3)][_0x1e25fe(0x234)]({'kdf':_0x2e7dd2}),'encrypt':function(_0xcacf30,_0x3e9a33,_0x591ec7,_0x167677){var _0x56f0a6=_0x1e25fe;_0x167677=this['cfg'][_0x56f0a6(0x234)](_0x167677);var _0x10b5b0=_0x167677[_0x56f0a6(0x191)]['execute'](_0x591ec7,_0xcacf30[_0x56f0a6(0x3dd)],_0xcacf30[_0x56f0a6(0x380)],_0x167677[_0x56f0a6(0x454)],_0x167677['hasher']);_0x167677['iv']=_0x10b5b0['iv'];var _0x179166=_0x4394b9[_0x56f0a6(0x389)][_0x56f0a6(0x43f)](this,_0xcacf30,_0x3e9a33,_0x10b5b0[_0x56f0a6(0x404)],_0x167677);return _0x179166[_0x56f0a6(0x12c)](_0x10b5b0),_0x179166;},'decrypt':function(_0x123519,_0x50c0ff,_0x6f785d,_0x56cc9b){var _0x177b07=_0x1e25fe;_0x56cc9b=this[_0x177b07(0x2c3)][_0x177b07(0x234)](_0x56cc9b),_0x50c0ff=this['_parse'](_0x50c0ff,_0x56cc9b[_0x177b07(0x21f)]);var _0x3fcb5e=_0x56cc9b['kdf'][_0x177b07(0x2e8)](_0x6f785d,_0x123519[_0x177b07(0x3dd)],_0x123519[_0x177b07(0x380)],_0x50c0ff[_0x177b07(0x454)],_0x56cc9b['hasher']);_0x56cc9b['iv']=_0x3fcb5e['iv'];var _0x18def1=_0x4394b9[_0x177b07(0x1e5)]['call'](this,_0x123519,_0x50c0ff,_0x3fcb5e[_0x177b07(0x404)],_0x56cc9b);return _0x18def1;}});}();}));}(_0x5b45ad)),_0x5b45ad[_0x18b655(0x101)];}var _0x49c61f=_0x4b3eff[_0xaff689(0x101)],_0x21e44e;function _0x5482c4(){var _0x3cb1d3=_0xaff689;return _0x21e44e||(_0x21e44e=0x1,function(_0x21563b,_0x3c8e53){(function(_0x590a04,_0x487293,_0x4ab5d2){var _0x93d984=_0x24e1;_0x21563b[_0x93d984(0x101)]=_0x487293(_0x1696c4(),_0x19adb3(),_0x4d0f67(),_0x343e5f(),_0x49ed9a());}(_0x49c61f,function(_0x3941d3){var _0x57bb0e=_0x24e1;return(function(){var _0x3026a8=_0x24e1,_0x33b57d=_0x3941d3,_0x438e3a=_0x33b57d[_0x3026a8(0x44b)],_0x44eee8=_0x438e3a[_0x3026a8(0x177)],_0x36c7fb=_0x33b57d[_0x3026a8(0x1be)],_0x459b85=[],_0x1a26de=[],_0x111af6=[],_0x35ab9c=[],_0x127af5=[],_0x14d4e8=[],_0x45aaf8=[],_0x5b4476=[],_0x4084f2=[],_0x4ade87=[];(function(){for(var _0x571a7d=[],_0x4686cf=0x0;_0x4686cf<0x100;_0x4686cf++)_0x4686cf<0x80?_0x571a7d[_0x4686cf]=_0x4686cf<<0x1:_0x571a7d[_0x4686cf]=_0x4686cf<<0x1^0x11b;for(var _0x1c3d85=0x0,_0x588e45=0x0,_0x4686cf=0x0;_0x4686cf<0x100;_0x4686cf++){var _0x28432a=_0x588e45^_0x588e45<<0x1^_0x588e45<<0x2^_0x588e45<<0x3^_0x588e45<<0x4;_0x28432a=_0x28432a>>>0x8^_0x28432a&0xff^0x63,_0x459b85[_0x1c3d85]=_0x28432a,_0x1a26de[_0x28432a]=_0x1c3d85;var _0x1a98f6=_0x571a7d[_0x1c3d85],_0x483a00=_0x571a7d[_0x1a98f6],_0x2593eb=_0x571a7d[_0x483a00],_0x2b3066=_0x571a7d[_0x28432a]*0x101^_0x28432a*0x1010100;_0x111af6[_0x1c3d85]=_0x2b3066<<0x18|_0x2b3066>>>0x8,_0x35ab9c[_0x1c3d85]=_0x2b3066<<0x10|_0x2b3066>>>0x10,_0x127af5[_0x1c3d85]=_0x2b3066<<0x8|_0x2b3066>>>0x18,_0x14d4e8[_0x1c3d85]=_0x2b3066;var _0x2b3066=_0x2593eb*0x1010101^_0x483a00*0x10001^_0x1a98f6*0x101^_0x1c3d85*0x1010100;_0x45aaf8[_0x28432a]=_0x2b3066<<0x18|_0x2b3066>>>0x8,_0x5b4476[_0x28432a]=_0x2b3066<<0x10|_0x2b3066>>>0x10,_0x4084f2[_0x28432a]=_0x2b3066<<0x8|_0x2b3066>>>0x18,_0x4ade87[_0x28432a]=_0x2b3066,_0x1c3d85?(_0x1c3d85=_0x1a98f6^_0x571a7d[_0x571a7d[_0x571a7d[_0x2593eb^_0x1a98f6]]],_0x588e45^=_0x571a7d[_0x571a7d[_0x588e45]]):_0x1c3d85=_0x588e45=0x1;}}());var _0x128389=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1dfa60=_0x36c7fb[_0x3026a8(0x3d9)]=_0x44eee8[_0x3026a8(0x234)]({'_doReset':function(){var _0x2ddc5c=_0x3026a8,_0x47491f;if(!(this[_0x2ddc5c(0x2e1)]&&this['_keyPriorReset']===this[_0x2ddc5c(0x26a)])){for(var _0x1cf527=this[_0x2ddc5c(0x450)]=this[_0x2ddc5c(0x26a)],_0x1e45bf=_0x1cf527[_0x2ddc5c(0x36b)],_0x206831=_0x1cf527['sigBytes']/0x4,_0x4266d0=this[_0x2ddc5c(0x2e1)]=_0x206831+0x6,_0x5e653d=(_0x4266d0+0x1)*0x4,_0x2d1d26=this[_0x2ddc5c(0x368)]=[],_0x2d94bf=0x0;_0x2d94bf<_0x5e653d;_0x2d94bf++)_0x2d94bf<_0x206831?_0x2d1d26[_0x2d94bf]=_0x1e45bf[_0x2d94bf]:(_0x47491f=_0x2d1d26[_0x2d94bf-0x1],_0x2d94bf%_0x206831?_0x206831>0x6&&_0x2d94bf%_0x206831==0x4&&(_0x47491f=_0x459b85[_0x47491f>>>0x18]<<0x18|_0x459b85[_0x47491f>>>0x10&0xff]<<0x10|_0x459b85[_0x47491f>>>0x8&0xff]<<0x8|_0x459b85[_0x47491f&0xff]):(_0x47491f=_0x47491f<<0x8|_0x47491f>>>0x18,_0x47491f=_0x459b85[_0x47491f>>>0x18]<<0x18|_0x459b85[_0x47491f>>>0x10&0xff]<<0x10|_0x459b85[_0x47491f>>>0x8&0xff]<<0x8|_0x459b85[_0x47491f&0xff],_0x47491f^=_0x128389[_0x2d94bf/_0x206831|0x0]<<0x18),_0x2d1d26[_0x2d94bf]=_0x2d1d26[_0x2d94bf-_0x206831]^_0x47491f);for(var _0x20eb1a=this[_0x2ddc5c(0x417)]=[],_0x5d14cd=0x0;_0x5d14cd<_0x5e653d;_0x5d14cd++){var _0x2d94bf=_0x5e653d-_0x5d14cd;if(_0x5d14cd%0x4)var _0x47491f=_0x2d1d26[_0x2d94bf];else var _0x47491f=_0x2d1d26[_0x2d94bf-0x4];_0x5d14cd<0x4||_0x2d94bf<=0x4?_0x20eb1a[_0x5d14cd]=_0x47491f:_0x20eb1a[_0x5d14cd]=_0x45aaf8[_0x459b85[_0x47491f>>>0x18]]^_0x5b4476[_0x459b85[_0x47491f>>>0x10&0xff]]^_0x4084f2[_0x459b85[_0x47491f>>>0x8&0xff]]^_0x4ade87[_0x459b85[_0x47491f&0xff]];}}},'encryptBlock':function(_0x149826,_0x7f1735){var _0x34fd8b=_0x3026a8;this[_0x34fd8b(0x181)](_0x149826,_0x7f1735,this[_0x34fd8b(0x368)],_0x111af6,_0x35ab9c,_0x127af5,_0x14d4e8,_0x459b85);},'decryptBlock':function(_0x41e40d,_0x4a056e){var _0x52d806=_0x3026a8,_0x29c44e=_0x41e40d[_0x4a056e+0x1];_0x41e40d[_0x4a056e+0x1]=_0x41e40d[_0x4a056e+0x3],_0x41e40d[_0x4a056e+0x3]=_0x29c44e,this[_0x52d806(0x181)](_0x41e40d,_0x4a056e,this['_invKeySchedule'],_0x45aaf8,_0x5b4476,_0x4084f2,_0x4ade87,_0x1a26de);var _0x29c44e=_0x41e40d[_0x4a056e+0x1];_0x41e40d[_0x4a056e+0x1]=_0x41e40d[_0x4a056e+0x3],_0x41e40d[_0x4a056e+0x3]=_0x29c44e;},'_doCryptBlock':function(_0x3134ba,_0x1b6e98,_0x850f79,_0x1f3fb2,_0x200c06,_0x19dafa,_0x43152f,_0x1f4f82){var _0x500a51=_0x3026a8;for(var _0x160b6c=this[_0x500a51(0x2e1)],_0xcfb6fe=_0x3134ba[_0x1b6e98]^_0x850f79[0x0],_0x150743=_0x3134ba[_0x1b6e98+0x1]^_0x850f79[0x1],_0x1fd952=_0x3134ba[_0x1b6e98+0x2]^_0x850f79[0x2],_0x3bc8a3=_0x3134ba[_0x1b6e98+0x3]^_0x850f79[0x3],_0x263181=0x4,_0x20bca2=0x1;_0x20bca2<_0x160b6c;_0x20bca2++){var _0x24373a=_0x1f3fb2[_0xcfb6fe>>>0x18]^_0x200c06[_0x150743>>>0x10&0xff]^_0x19dafa[_0x1fd952>>>0x8&0xff]^_0x43152f[_0x3bc8a3&0xff]^_0x850f79[_0x263181++],_0x33917d=_0x1f3fb2[_0x150743>>>0x18]^_0x200c06[_0x1fd952>>>0x10&0xff]^_0x19dafa[_0x3bc8a3>>>0x8&0xff]^_0x43152f[_0xcfb6fe&0xff]^_0x850f79[_0x263181++],_0x282b71=_0x1f3fb2[_0x1fd952>>>0x18]^_0x200c06[_0x3bc8a3>>>0x10&0xff]^_0x19dafa[_0xcfb6fe>>>0x8&0xff]^_0x43152f[_0x150743&0xff]^_0x850f79[_0x263181++],_0x2feac7=_0x1f3fb2[_0x3bc8a3>>>0x18]^_0x200c06[_0xcfb6fe>>>0x10&0xff]^_0x19dafa[_0x150743>>>0x8&0xff]^_0x43152f[_0x1fd952&0xff]^_0x850f79[_0x263181++];_0xcfb6fe=_0x24373a,_0x150743=_0x33917d,_0x1fd952=_0x282b71,_0x3bc8a3=_0x2feac7;}var _0x24373a=(_0x1f4f82[_0xcfb6fe>>>0x18]<<0x18|_0x1f4f82[_0x150743>>>0x10&0xff]<<0x10|_0x1f4f82[_0x1fd952>>>0x8&0xff]<<0x8|_0x1f4f82[_0x3bc8a3&0xff])^_0x850f79[_0x263181++],_0x33917d=(_0x1f4f82[_0x150743>>>0x18]<<0x18|_0x1f4f82[_0x1fd952>>>0x10&0xff]<<0x10|_0x1f4f82[_0x3bc8a3>>>0x8&0xff]<<0x8|_0x1f4f82[_0xcfb6fe&0xff])^_0x850f79[_0x263181++],_0x282b71=(_0x1f4f82[_0x1fd952>>>0x18]<<0x18|_0x1f4f82[_0x3bc8a3>>>0x10&0xff]<<0x10|_0x1f4f82[_0xcfb6fe>>>0x8&0xff]<<0x8|_0x1f4f82[_0x150743&0xff])^_0x850f79[_0x263181++],_0x2feac7=(_0x1f4f82[_0x3bc8a3>>>0x18]<<0x18|_0x1f4f82[_0xcfb6fe>>>0x10&0xff]<<0x10|_0x1f4f82[_0x150743>>>0x8&0xff]<<0x8|_0x1f4f82[_0x1fd952&0xff])^_0x850f79[_0x263181++];_0x3134ba[_0x1b6e98]=_0x24373a,_0x3134ba[_0x1b6e98+0x1]=_0x33917d,_0x3134ba[_0x1b6e98+0x2]=_0x282b71,_0x3134ba[_0x1b6e98+0x3]=_0x2feac7;},'keySize':0x100/0x20});_0x33b57d[_0x3026a8(0x3d9)]=_0x44eee8['_createHelper'](_0x1dfa60);}()),_0x3941d3[_0x57bb0e(0x3d9)];}));}(_0x4b3eff)),_0x4b3eff[_0x3cb1d3(0x101)];}var _0x352b10=_0x5482c4();const _0x3de6c1=_0x492344(_0x352b10);var _0x457a3e=_0x19adb3();const _0x51f527=_0x492344(_0x457a3e);var _0xe8ee14={'exports':{}},_0x130ceb=_0xe8ee14[_0xaff689(0x101)],_0xd028bc;function _0x3666c6(){var _0x7b6a36=_0xaff689;return _0xd028bc||(_0xd028bc=0x1,function(_0x213fbc,_0x2e0eb3){(function(_0x56d1b0,_0x3d2916){_0x213fbc['exports']=_0x3d2916(_0x1696c4());}(_0x130ceb,function(_0x2f497b){var _0x299503=_0x24e1;return _0x2f497b[_0x299503(0x3f3)][_0x299503(0x457)];}));}(_0xe8ee14)),_0xe8ee14[_0x7b6a36(0x101)];}var _0x58b7ce=_0x3666c6();const _0x53d647=_0x492344(_0x58b7ce);var _0x3e8691={'exports':{}},_0x109272=_0x3e8691[_0xaff689(0x101)],_0x745543;function _0x5930ed(){return _0x745543||(_0x745543=0x1,function(_0x3a6d19,_0x47373b){(function(_0xe481f1,_0x5ec9df){var _0x4976ac=_0x24e1;_0x3a6d19[_0x4976ac(0x101)]=_0x5ec9df(_0x1696c4());}(_0x109272,function(_0x2456c3){var _0x2b1705=_0x24e1;return(function(){var _0x312e95=_0x24e1;if(typeof ArrayBuffer==_0x312e95(0x2f4)){var _0x1cb4d4=_0x2456c3,_0xcdb39f=_0x1cb4d4[_0x312e95(0x44b)],_0x57f826=_0xcdb39f['WordArray'],_0x4c3b00=_0x57f826[_0x312e95(0x1a1)],_0x33cab9=_0x57f826['init']=function(_0x1b4daf){var _0x12583e=_0x312e95;if(_0x1b4daf instanceof ArrayBuffer&&(_0x1b4daf=new Uint8Array(_0x1b4daf)),(_0x1b4daf instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1b4daf instanceof Uint8ClampedArray||_0x1b4daf instanceof Int16Array||_0x1b4daf instanceof Uint16Array||_0x1b4daf instanceof Int32Array||_0x1b4daf instanceof Uint32Array||_0x1b4daf instanceof Float32Array||_0x1b4daf instanceof Float64Array)&&(_0x1b4daf=new Uint8Array(_0x1b4daf['buffer'],_0x1b4daf[_0x12583e(0x352)],_0x1b4daf['byteLength'])),_0x1b4daf instanceof Uint8Array){for(var _0x2cc2bc=_0x1b4daf[_0x12583e(0x3d5)],_0x3907b7=[],_0x1b4f91=0x0;_0x1b4f91<_0x2cc2bc;_0x1b4f91++)_0x3907b7[_0x1b4f91>>>0x2]|=_0x1b4daf[_0x1b4f91]<<0x18-_0x1b4f91%0x4*0x8;_0x4c3b00[_0x12583e(0x43f)](this,_0x3907b7,_0x2cc2bc);}else _0x4c3b00['apply'](this,arguments);};_0x33cab9[_0x312e95(0x221)]=_0x57f826;}}()),_0x2456c3[_0x2b1705(0x44b)][_0x2b1705(0x418)];}));}(_0x3e8691)),_0x3e8691['exports'];}var _0x516ba8=_0x5930ed();const _0x298840=_0x492344(_0x516ba8);var _0x2c6e9b={'exports':{}},_0x2817c3=_0x2c6e9b[_0xaff689(0x101)],_0x501258;function _0x245a73(){var _0x4059bc=_0xaff689;return _0x501258||(_0x501258=0x1,function(_0x22e64b,_0x376bb8){(function(_0x43edea,_0x2e1dcd,_0x2d8b52){var _0x5c6c36=_0x24e1;_0x22e64b[_0x5c6c36(0x101)]=_0x2e1dcd(_0x1696c4(),_0x49ed9a());}(_0x2817c3,function(_0x45470e){var _0x597be=_0x24e1;return _0x45470e['pad'][_0x597be(0x296)]={'pad':function(){},'unpad':function(){}},_0x45470e[_0x597be(0x300)]['NoPadding'];}));}(_0x2c6e9b)),_0x2c6e9b[_0x4059bc(0x101)];}var _0x33ed41=_0x245a73();const _0x56789b=_0x492344(_0x33ed41);function _0x513669(_0xeb8ed4,_0x54be6f){var _0xdc6c75=_0xaff689;const _0xcf94ed=_0x54be6f-_0xeb8ed4[_0xdc6c75(0x3e1)]%_0x54be6f,_0x461791=String['fromCharCode'](_0xcf94ed)[_0xdc6c75(0x2e5)](_0xcf94ed);return _0xeb8ed4+_0x461791;}function _0x150c9d(_0x2c9100,_0x136c9c){var _0x4e868b=_0xaff689;const _0x3fc8a7=_0x298840[_0x4e868b(0x28c)](0x10),_0x4517be=_0x513669(_0x2c9100,0x10),_0xd9958a=_0x3de6c1['encrypt'](_0x53d647['parse'](_0x4517be),_0x51f527[_0x4e868b(0x3a1)](_0x136c9c),{'iv':_0x3fc8a7,'padding':_0x56789b});return _0x3fc8a7[_0x4e868b(0x441)](_0xd9958a[_0x4e868b(0x437)])[_0x4e868b(0x328)](_0x51f527);}function _0x468cb5(){var _0x35ad21=_0xaff689;const _0x26561a=_0x39b186[_0x35ad21(0x1a2)]()['__Key__'];if(_0x26561a){const _0x3c40a3={'time':Math[_0x35ad21(0x1bd)](Date['now']()/0x3e8),'domain':location[_0x35ad21(0x1eb)]};return _0x150c9d(JSON['stringify'](_0x3c40a3),_0x26561a);}}var _0x3076bc=Object[_0xaff689(0x33f)],_0x496a2d=(_0x1fd538,_0x4b74bb,_0x6e717a,_0x26b215)=>{var _0x368d6c=_0xaff689;for(var _0xe84873=_0x26b215>0x1?void 0x0:_0x26b215?_0x3076bc(_0x4b74bb,_0x6e717a):_0x4b74bb,_0x1dfad8=_0x1fd538[_0x368d6c(0x3e1)]-0x1,_0x39a5a2;_0x1dfad8>=0x0;_0x1dfad8--)(_0x39a5a2=_0x1fd538[_0x1dfad8])&&(_0xe84873=_0x39a5a2(_0xe84873)||_0xe84873);return _0xe84873;},_0x494f55=(_0x59830a,_0x2a32c7)=>(_0x49c785,_0x11f34d)=>_0x2a32c7(_0x49c785,_0x11f34d,_0x59830a);let _0x43acab=class{constructor(_0x5e8be0){var _0x9e99eb=_0xaff689;this[_0x9e99eb(0x388)]=_0x5e8be0,this[_0x9e99eb(0x40b)]();}[_0xaff689(0x40b)](){var _0x59be11=_0xaff689;this[_0x59be11(0x388)][_0x59be11(0x2e6)]({'interceptor':(_0x30815c,_0x5df642)=>{var _0x3235ff=_0x59be11;const _0x176903=_0x30815c[_0x3235ff(0x37c)],_0x4fd864=_0x468cb5();return _0x4fd864&&_0x176903[_0x3235ff(0x246)](_0x3235ff(0x2de),_0x4fd864),_0x5df642(_0x30815c);}});}};_0x43acab=_0x496a2d([_0x494f55(0x0,_0x39f1c2['Inject'](_0x7e7238[_0xaff689(0x1b5)]))],_0x43acab);var _0x16562a=Object['getOwnPropertyDescriptor'],_0x1af039=(_0x22fcd0,_0x1a869e,_0x197748,_0x5c7ee5)=>{var _0x45a021=_0xaff689;for(var _0xd44d89=_0x5c7ee5>0x1?void 0x0:_0x5c7ee5?_0x16562a(_0x1a869e,_0x197748):_0x1a869e,_0x16aa89=_0x22fcd0[_0x45a021(0x3e1)]-0x1,_0x4b00fd;_0x16aa89>=0x0;_0x16aa89--)(_0x4b00fd=_0x22fcd0[_0x16aa89])&&(_0xd44d89=_0x4b00fd(_0xd44d89)||_0xd44d89);return _0xd44d89;},_0x4e6bef=(_0x4ac750,_0x1f60ca)=>(_0x182893,_0x56e1e5)=>_0x1f60ca(_0x182893,_0x56e1e5,_0x4ac750);_0x2ce6c3[_0xaff689(0xfe)]=class extends _0x39f1c2[_0xaff689(0x187)]{constructor(_0x24a068,_0x4059ad,_0x298ed2){var _0xc8e78=_0xaff689;super(),_0x6434e8(this,'_unitInfo$',new _0x1a0226[(_0xc8e78(0x149))](null)),_0x6434e8(this,_0xc8e78(0x295),this[_0xc8e78(0x461)][_0xc8e78(0x412)]()),(this[_0xc8e78(0x1f6)]=_0x24a068,this[_0xc8e78(0x223)]=_0x4059ad,this['_localCacheService']=_0x298ed2);}async[_0xaff689(0x152)](_0x499abc,_0x403b97,_0x4aedb6){var _0x42e4e3=_0xaff689;this[_0x42e4e3(0x461)][_0x42e4e3(0x45e)]({'unitId':_0x499abc,'type':_0x403b97});let _0x16c8f1=null;switch(_0x403b97){case _0x22fdb1['UNIVER_SHEET']:{_0x16c8f1=await this['_snapshotService']['loadSheet'](_0x499abc,_0x4aedb6);break;}case _0x22fdb1[_0x42e4e3(0x24a)]:{_0x16c8f1=await this[_0x42e4e3(0x223)]['loadDoc'](_0x499abc,_0x4aedb6);break;}default:{this[_0x42e4e3(0x1f6)][_0x42e4e3(0x249)](_0x42e4e3(0x452),_0x42e4e3(0x233));break;}}return _0x16c8f1;}async[_0xaff689(0x324)](_0x415194,_0x19ba35,_0x39e9dd){var _0x4a0711=_0xaff689,_0x2c2aae;this[_0x4a0711(0x461)][_0x4a0711(0x45e)]({'unitId':_0x415194,'type':_0x19ba35,'subUnitId':_0x39e9dd});let _0x374f3f=0x0;const _0x274767=await((_0x2c2aae=this['_localCacheService'])==null?void 0x0:_0x2c2aae[_0x4a0711(0x30e)](_0x415194));return _0x274767&&(_0x274767[_0x4a0711(0x42f)]||_0x274767[_0x4a0711(0x130)][_0x4a0711(0x3e1)]!==0x0)&&(_0x374f3f=_0x274767[_0x4a0711(0x3e3)]),_0x374f3f===0x0&&this[_0x4a0711(0x1f6)][_0x4a0711(0x1e7)](_0x4a0711(0x452),_0x4a0711(0x3e5)),this[_0x4a0711(0x152)](_0x415194,_0x19ba35,_0x374f3f);}},_0x2ce6c3['DataLoaderService']=_0x1af039([_0x4e6bef(0x0,_0x39f1c2['ILogService']),_0x4e6bef(0x1,_0x39f1c2[_0xaff689(0x3cb)](_0x216395[_0xaff689(0x3cd)])),_0x4e6bef(0x2,_0x39f1c2[_0xaff689(0x456)](_0x1f6549))],_0x2ce6c3[_0xaff689(0xfe)]);var _0xf76082=Object[_0xaff689(0x33f)],_0x397588=(_0x3d5378,_0x4e6acb,_0x39d36f,_0x435de1)=>{var _0x1f8eb4=_0xaff689;for(var _0xe82ef5=_0x435de1>0x1?void 0x0:_0x435de1?_0xf76082(_0x4e6acb,_0x39d36f):_0x4e6acb,_0x582076=_0x3d5378[_0x1f8eb4(0x3e1)]-0x1,_0x47410a;_0x582076>=0x0;_0x582076--)(_0x47410a=_0x3d5378[_0x582076])&&(_0xe82ef5=_0x47410a(_0xe82ef5)||_0xe82ef5);return _0xe82ef5;},_0x2c222a=(_0x40734a,_0x5eacbb)=>(_0x43eb2c,_0x3ab74c)=>_0x5eacbb(_0x43eb2c,_0x3ab74c,_0x40734a);const _0x120fc1=[_0xaff689(0x428),_0xaff689(0x111),_0xaff689(0x43a),_0xaff689(0x142),_0xaff689(0x322)],_0x4274c4=0x5*0x400*0x400,_0x44537f=_0xaff689(0x30c),_0x22b3ec=_0xaff689(0x2eb),_0xf7ee2b=_0xaff689(0x1df),_0x2786af=_0xaff689(0x3ca);_0x2ce6c3[_0xaff689(0x377)]=class{constructor(_0x3f06ab,_0x2af42a,_0x1311a8){var _0x4deb54=_0xaff689;_0x6434e8(this,_0x4deb54(0x435),0x0),_0x6434e8(this,_0x4deb54(0x3d3),new _0x1a0226['Subject']()),_0x6434e8(this,_0x4deb54(0x3f2),this[_0x4deb54(0x3d3)]),_0x6434e8(this,_0x4deb54(0x34e),new Map()),(this[_0x4deb54(0x388)]=_0x3f06ab,this[_0x4deb54(0x45b)]=_0x2af42a,this[_0x4deb54(0x31d)]=_0x1311a8);}[_0xaff689(0x1cb)](_0x2c53f3){var _0x3ff829=_0xaff689;this[_0x3ff829(0x435)]=_0x2c53f3,this[_0x3ff829(0x3d3)][_0x3ff829(0x45e)](_0x2c53f3);}[_0xaff689(0x263)](_0x31d38f,_0x2aefdc){var _0x4691db=_0xaff689;if(_0x2aefdc===_0x32b27b['ImageSourceType'][_0x4691db(0x158)]){const _0x2bc3d2=new Image();return _0x2bc3d2[_0x4691db(0x340)]=_0x31d38f,_0x2bc3d2;}return this[_0x4691db(0x34e)][_0x4691db(0x2a9)](_0x31d38f);}[_0xaff689(0x434)](_0x3d78c7,_0xef0702,_0x4414f3){var _0x545673=_0xaff689;_0xef0702===_0x32b27b['ImageSourceType']['BASE64']||_0x4414f3==null||this[_0x545673(0x34e)][_0x545673(0x246)](_0x3d78c7,_0x4414f3);}async[_0xaff689(0x27b)](_0x107713){var _0x5b9c00=_0xaff689;try{const _0x4869d2=this[_0x5b9c00(0x3c1)](this[_0x5b9c00(0x1c7)](),''+_0x107713),_0x300516=(await this[_0x5b9c00(0x388)]['get'](_0x4869d2))[_0x5b9c00(0x399)];if(_0x300516[_0x5b9c00(0x249)]&&_0x300516[_0x5b9c00(0x249)][_0x5b9c00(0x381)]===_0x42ac5f['OK']){const _0x2dda51=new URL(_0x300516[_0x5b9c00(0x338)],this['_getDownloadEndpointURL']())[_0x5b9c00(0x328)]();return Promise[_0x5b9c00(0x21d)](_0x2dda51);}return Promise[_0x5b9c00(0x39e)](_0x300516[_0x5b9c00(0x249)]);}catch(_0x38c524){return Promise[_0x5b9c00(0x39e)](_0x38c524);}}async['saveImage'](_0x253de3){var _0x54fb32=_0xaff689;let _0x2b6364='';if(!_0x120fc1[_0x54fb32(0x231)](_0x253de3[_0x54fb32(0x2aa)]))return this[_0x54fb32(0x426)](),Promise[_0x54fb32(0x39e)](new Error(_0x32b27b[_0x54fb32(0x2c0)][_0x54fb32(0x3c2)]));if(_0x253de3[_0x54fb32(0x37f)]>_0x4274c4)return this[_0x54fb32(0x426)](),Promise[_0x54fb32(0x39e)](new Error(_0x32b27b[_0x54fb32(0x2c0)][_0x54fb32(0x43c)]));try{const _0x305d40=new FormData();_0x305d40['append'](_0x54fb32(0x209),_0x253de3);const _0x57081f=this['_univerInstanceService'][_0x54fb32(0x440)](),_0x20da48=_0x57081f==null?void 0x0:_0x57081f[_0x54fb32(0x210)]();if(!_0x20da48)throw new Error('unitId\x20is\x20not\x20found');const _0x4bee7f=this[_0x54fb32(0x198)]()+_0x54fb32(0x2b9)+_0x253de3[_0x54fb32(0x37f)][_0x54fb32(0x328)]()+_0x54fb32(0x11a)+_0x3af544[_0x54fb32(0x32b)]+_0x54fb32(0x2d4)+encodeURIComponent(_0x20da48),_0x4002c0={'body':_0x305d40},_0x414e7d=(await this[_0x54fb32(0x388)][_0x54fb32(0xe7)](_0x4bee7f,_0x4002c0))[_0x54fb32(0x399)];if(typeof _0x414e7d['FileId']!='string')return this[_0x54fb32(0x426)](),Promise[_0x54fb32(0x39e)](new Error(_0x32b27b['ImageUploadStatusType'][_0x54fb32(0x159)]));_0x2b6364=_0x414e7d[_0x54fb32(0x113)];}catch{return this[_0x54fb32(0x426)](),Promise[_0x54fb32(0x39e)](new Error(_0x32b27b[_0x54fb32(0x2c0)][_0x54fb32(0x159)]));}return new Promise((_0xb9c6e9,_0x37e3b7)=>{var _0x50ca8f=_0x54fb32;const _0x3b1054=new FileReader();_0x3b1054[_0x50ca8f(0x40d)](_0x253de3),_0x3b1054[_0x50ca8f(0x216)]=_0x282cd9=>{var _0x222a75=_0x50ca8f,_0x4a5be8;const _0x455d9b=(_0x4a5be8=_0x282cd9['target'])==null?void 0x0:_0x4a5be8['result'];if(_0x455d9b==null){this['_decreaseWaiting'](),_0x37e3b7(new Error(_0x32b27b[_0x222a75(0x2c0)][_0x222a75(0x159)]));return;}const _0x3b2a4e=_0x39f1c2[_0x222a75(0x3cf)]['generateRandomId'](0x6);_0xb9c6e9({'imageId':_0x3b2a4e,'imageSourceType':_0x32b27b[_0x222a75(0x1f5)]['UUID'],'source':_0x2b6364,'base64Cache':_0x455d9b,'status':_0x32b27b[_0x222a75(0x2c0)][_0x222a75(0x27f)]}),this[_0x222a75(0x426)]();};});}[_0xaff689(0x198)](){var _0x124b2c=_0xaff689,_0x168c8b,_0x26ccf8;const _0x4ea4d5=this[_0x124b2c(0x45b)][_0x124b2c(0x393)](_0x44537f),_0x5d6a83=this[_0x124b2c(0x45b)]['getConfig'](_0x5a21e6);return(_0x26ccf8=(_0x168c8b=_0x5d6a83==null?void 0x0:_0x5d6a83[_0x124b2c(0x256)])!=null?_0x168c8b:_0x4ea4d5)!=null?_0x26ccf8:_0x22b3ec;}[_0xaff689(0x1c7)](){var _0x47c418=_0xaff689,_0x1c9113,_0x4a0f99;const _0x5f56e1=this[_0x47c418(0x45b)]['getConfig'](_0xf7ee2b),_0x83ad3=this['_configService'][_0x47c418(0x393)](_0x5a21e6);return(_0x4a0f99=(_0x1c9113=_0x83ad3==null?void 0x0:_0x83ad3[_0x47c418(0x3be)])!=null?_0x1c9113:_0x5f56e1)!=null?_0x4a0f99:_0x2786af;}['_getDownloadEndpointURL'](){var _0x5b3348=_0xaff689,_0x221755;const _0x54a3a6=this['_configService'][_0x5b3348(0x393)](_0x5a21e6);return(_0x221755=_0x54a3a6==null?void 0x0:_0x54a3a6[_0x5b3348(0x276)])!=null?_0x221755:location[_0x5b3348(0x3cc)];}[_0xaff689(0x3c1)](_0x2811c2,_0x3c9ddf){var _0x475acb=_0xaff689;return _0x2811c2[_0x475acb(0x3f0)]('{fileID}',_0x3c9ddf);}[_0xaff689(0x426)](){var _0x312dd8=_0xaff689;this[_0x312dd8(0x435)]-=0x1,this[_0x312dd8(0x3d3)][_0x312dd8(0x45e)](this['_waitCount']);}},_0x2ce6c3[_0xaff689(0x377)]=_0x397588([_0x2c222a(0x0,_0x39f1c2[_0xaff689(0x3cb)](_0x7e7238[_0xaff689(0x1b5)])),_0x2c222a(0x1,_0x39f1c2['IConfigService']),_0x2c222a(0x2,_0x39f1c2[_0xaff689(0x3cb)](_0x39f1c2[_0xaff689(0x325)]))],_0x2ce6c3['CollaborationImageIoService']);var _0x398121=Object['getOwnPropertyDescriptor'],_0x1f7b02=(_0x360cc2,_0x1c090d,_0x18d204,_0x4354ed)=>{var _0x5bae86=_0xaff689;for(var _0x258ccb=_0x4354ed>0x1?void 0x0:_0x4354ed?_0x398121(_0x1c090d,_0x18d204):_0x1c090d,_0x1b1e16=_0x360cc2[_0x5bae86(0x3e1)]-0x1,_0x1f6200;_0x1b1e16>=0x0;_0x1b1e16--)(_0x1f6200=_0x360cc2[_0x1b1e16])&&(_0x258ccb=_0x1f6200(_0x258ccb)||_0x258ccb);return _0x258ccb;},_0x5019bf=(_0x1cb819,_0x40c5d0)=>(_0x39ef84,_0x10c41b)=>_0x40c5d0(_0x39ef84,_0x10c41b,_0x1cb819);const _0x314a78=_0xaff689(0x193);_0x2ce6c3[_0xaff689(0x391)]=class{constructor(_0x3e133f,_0x408637){var _0x46ca19=_0xaff689;this[_0x46ca19(0x45b)]=_0x3e133f,this[_0x46ca19(0x2ed)]=_0x408637;}[_0xaff689(0x387)](){var _0x415638=_0xaff689,_0x4633c2,_0x40906d;const _0x525721=this[_0x415638(0x45b)][_0x415638(0x393)](_0x50fc06),_0xd0e80a=this[_0x415638(0x45b)][_0x415638(0x393)](_0x5a21e6);return(_0x40906d=(_0x4633c2=_0xd0e80a==null?void 0x0:_0xd0e80a[_0x415638(0x208)])!=null?_0x4633c2:_0x525721)!=null?_0x40906d:_0x314a78;}async[_0xaff689(0x3f5)](_0x30f76f){var _0x1f4e58=_0xaff689;const _0x34638d=this[_0x1f4e58(0x387)]()+_0x1f4e58(0x105);return{'list':[{'title':_0x1f4e58(0x25c),'mentions':(await this[_0x1f4e58(0x2ed)][_0x1f4e58(0x2a9)](_0x34638d,{'params':{'objectID':_0x30f76f['unitId'],'unitID':_0x30f76f[_0x1f4e58(0x469)]}}))['body'][_0x1f4e58(0x161)][_0x1f4e58(0x28f)](_0x543858=>({'objectId':_0x543858['id'],'name':_0x543858[_0x1f4e58(0x1b3)][_0x1f4e58(0x3f6)],'metadata':{'icon':_0x543858['subject'][_0x1f4e58(0x25e)]},'label':_0x543858['subject'][_0x1f4e58(0x3f6)],'objectType':_0x39f1c2[_0x1f4e58(0x132)]['PERSON']})),'metadata':{},'type':_0x39f1c2[_0x1f4e58(0x132)][_0x1f4e58(0x392)]}]};}},_0x2ce6c3[_0xaff689(0x391)]=_0x1f7b02([_0x5019bf(0x0,_0x39f1c2['Inject'](_0x39f1c2[_0xaff689(0x329)])),_0x5019bf(0x1,_0x39f1c2['Inject'](_0x7e7238[_0xaff689(0x1b5)]))],_0x2ce6c3[_0xaff689(0x391)]);var _0xbd3e5=Object[_0xaff689(0x33f)],_0x58f28f=(_0x1af11f,_0x20c1e5,_0x4dca,_0x5bd97b)=>{var _0x1357d2=_0xaff689;for(var _0x3edc82=_0x5bd97b>0x1?void 0x0:_0x5bd97b?_0xbd3e5(_0x20c1e5,_0x4dca):_0x20c1e5,_0xa43918=_0x1af11f[_0x1357d2(0x3e1)]-0x1,_0xd9f101;_0xa43918>=0x0;_0xa43918--)(_0xd9f101=_0x1af11f[_0xa43918])&&(_0x3edc82=_0xd9f101(_0x3edc82)||_0x3edc82);return _0x3edc82;},_0x350e48=(_0x288910,_0x3ba700)=>(_0x34f79b,_0x4be188)=>_0x3ba700(_0x34f79b,_0x4be188,_0x288910);let _0x382a6d=class extends _0x39f1c2['RxDisposable']{constructor(_0x2fdf74,_0x4c9022,_0x5b1d40,_0x213d3f,_0x595d15){var _0x39123e=_0xaff689;super(),this[_0x39123e(0x37a)]=_0x2fdf74,this[_0x39123e(0x31d)]=_0x4c9022,this[_0x39123e(0x3c0)]=_0x5b1d40,this['_collaborationSessionService']=_0x213d3f,this['_collaborationUIEventService']=_0x595d15,this['_initUnitPermissionChange'](),this[_0x39123e(0x2da)]();}['_initCloseConn'](){var _0x136e4c=_0xaff689;const _0x13caed=async _0x52ccf7=>{var _0xdc545b=_0x24e1;(await this[_0xdc545b(0x123)][_0xdc545b(0x228)](_0x52ccf7))['event$'][_0xdc545b(0x117)](_0x110ccc[_0xdc545b(0x11c)](_0x44932d=>_0x44932d['eventID']===_0x216395[_0xdc545b(0x119)][_0xdc545b(0x37e)]),_0x110ccc[_0xdc545b(0x131)](this['dispose$']))[_0xdc545b(0x398)](_0x3a0887=>{var _0x88fec9=_0xdc545b;const _0x4d36be=_0x3a0887,{reason:_0x5d68e1}=_0x4d36be[_0x88fec9(0x241)];this[_0x88fec9(0x141)]['emitEvent']({'id':_0x147f94[_0x88fec9(0x136)],'data':_0x5d68e1}),this[_0x88fec9(0x3c0)]['updatePermissionPoint'](new _0x5b7e46[(_0x88fec9(0x126))](_0x52ccf7)['id'],!0x1),this[_0x88fec9(0x123)][_0x88fec9(0x2c6)](_0x52ccf7);});};_0x1a0226[_0x136e4c(0x43b)](this[_0x136e4c(0x31d)]['getTypeOfUnitAdded$'](_0x39f1c2[_0x136e4c(0x29c)][_0x136e4c(0x269)]),this[_0x136e4c(0x31d)][_0x136e4c(0x252)](_0x39f1c2['UniverInstanceType'][_0x136e4c(0x24a)]))['pipe'](_0x110ccc[_0x136e4c(0x28f)](_0x31490b=>_0x31490b[_0x136e4c(0x210)]()),_0x110ccc[_0x136e4c(0x11c)](_0x5097a0=>!_0x39f1c2[_0x136e4c(0x1a9)](_0x5097a0)),_0x110ccc[_0x136e4c(0x131)](this[_0x136e4c(0x162)]))[_0x136e4c(0x398)](_0x15f2f7=>{_0x13caed(_0x15f2f7);});}[_0xaff689(0x3e6)](){var _0x35ad95=_0xaff689;const _0x39620e=async _0x1aef82=>{var _0x1432b8=_0x24e1;const _0x2fa5af=await this['_collaborationSessionService']['requireSession'](_0x1aef82),_0x32dbff=this['_injector']['get'](_0x5b7e46[_0x1432b8(0x363)]);_0x2fa5af[_0x1432b8(0x416)]['pipe'](_0x110ccc[_0x1432b8(0x11c)](_0x218d3b=>_0x218d3b[_0x1432b8(0x3ad)]===_0x216395[_0x1432b8(0x119)][_0x1432b8(0x41e)]),_0x110ccc[_0x1432b8(0x131)](this[_0x1432b8(0x162)]))[_0x1432b8(0x398)](_0x28832=>{var _0x3fbf56=_0x1432b8;const _0x2b0951=_0x28832,{objectId:_0x16fb57}=_0x2b0951[_0x3fbf56(0x241)];_0x16fb57===_0x1aef82?_0x32dbff['initWorkbookPermissionChange'](_0x1aef82):_0x32dbff[_0x3fbf56(0x26f)](_0x1aef82,_0x16fb57);});};_0x1a0226[_0x35ad95(0x43b)](this['_univerInstanceService'][_0x35ad95(0x252)](_0x39f1c2[_0x35ad95(0x29c)][_0x35ad95(0x269)]))[_0x35ad95(0x117)](_0x110ccc[_0x35ad95(0x28f)](_0x2b885f=>_0x2b885f[_0x35ad95(0x210)]()),_0x110ccc['filter'](_0xb85fa8=>!_0x39f1c2[_0x35ad95(0x1a9)](_0xb85fa8)),_0x110ccc[_0x35ad95(0x131)](this[_0x35ad95(0x162)]))[_0x35ad95(0x398)](_0x5ce632=>{_0x39620e(_0x5ce632);});}};_0x382a6d=_0x58f28f([_0x350e48(0x0,_0x39f1c2[_0xaff689(0x3cb)](_0x39f1c2['Injector'])),_0x350e48(0x1,_0x39f1c2['IUniverInstanceService']),_0x350e48(0x2,_0x39f1c2[_0xaff689(0x23c)]),_0x350e48(0x3,_0x39f1c2[_0xaff689(0x3cb)](_0x2ce6c3[_0xaff689(0x1c4)])),_0x350e48(0x4,_0x39f1c2[_0xaff689(0x3cb)](_0x4d35e6))],_0x382a6d);var _0x5540a4=Object[_0xaff689(0x33f)],_0x45f7aa=(_0x16b103,_0x419563,_0x453ebd,_0x3c004e)=>{var _0x499518=_0xaff689;for(var _0x3f60fb=_0x3c004e>0x1?void 0x0:_0x3c004e?_0x5540a4(_0x419563,_0x453ebd):_0x419563,_0x4e7f5d=_0x16b103[_0x499518(0x3e1)]-0x1,_0x2793fb;_0x4e7f5d>=0x0;_0x4e7f5d--)(_0x2793fb=_0x16b103[_0x4e7f5d])&&(_0x3f60fb=_0x2793fb(_0x3f60fb)||_0x3f60fb);return _0x3f60fb;},_0x362617=(_0x4a3ffd,_0x49a9b3)=>(_0x25fa80,_0x401e3b)=>_0x49a9b3(_0x25fa80,_0x401e3b,_0x4a3ffd);_0x2ce6c3[_0xaff689(0x3bd)]=class{constructor(_0x3cbc25,_0x40932d){var _0x246d9d=_0xaff689;this['_configService']=_0x3cbc25,this[_0x246d9d(0x388)]=_0x40932d;}async[_0xaff689(0x385)](_0x40f3e1,_0x32ccc3){var _0x181efd=_0xaff689,_0x1bfafd;const {unitID:_0xd74878,type:_0x3b18e5,revision:_0x409efb=0x0}=_0x32ccc3,_0x1f831b=this[_0x181efd(0x1ac)]()+'/'+_0x3b18e5+'/unit/'+_0xd74878+_0x181efd(0x304)+_0x409efb,_0x348ce5=(await this[_0x181efd(0x388)]['get'](_0x1f831b))[_0x181efd(0x399)],_0xcd6b1b=(_0x1bfafd=_0x348ce5[_0x181efd(0x30b)])==null?void 0x0:_0x1bfafd[_0x181efd(0x2ee)];if(_0xcd6b1b){const _0x293c8d=_0xcd6b1b==null?void 0x0:_0xcd6b1b[_0x181efd(0x3fb)],_0xef0ec=_0x216395[_0x181efd(0x3ab)][_0x181efd(0x2ec)](_0x216395['b64DecodeUnicode'](_0x293c8d));_0xcd6b1b[_0x181efd(0x3fb)]=_0xef0ec,Object[_0x181efd(0x27d)](_0xcd6b1b['sheets'])[_0x181efd(0x32c)](([,_0x5308b3])=>{var _0x5f40d1=_0x181efd;const _0x452c19=_0x5308b3['originalMeta'],_0x4559f4=_0x216395[_0x5f40d1(0x3ab)]['encode'](_0x216395[_0x5f40d1(0x40e)](_0x452c19));_0x5308b3['originalMeta']=_0x4559f4;});}return _0x348ce5;}async[_0xaff689(0x164)](_0x5406f8,_0x5d2b95){var _0xf28d5b=_0xaff689;const {unitID:_0x288038,type:_0x51cd20,blockID:_0x15cd22}=_0x5d2b95,_0x278a3d=this[_0xf28d5b(0x238)]()+'/'+_0x51cd20+_0xf28d5b(0x190)+_0x288038+'/block/'+_0x15cd22;return(await this[_0xf28d5b(0x388)]['get'](_0x278a3d))['body'];}async[_0xaff689(0x369)](_0x48de15,_0x3545e1){var _0x280d2c=_0xaff689;const {unitID:_0x470152,type:_0x3d254f,blockID:_0x221c61}=_0x3545e1,_0x5737e2=this[_0x280d2c(0x238)]()+_0x280d2c(0x3de)+_0x3d254f+'/unit/'+_0x470152+_0x280d2c(0x3de)+_0x221c61;return(await this['_httpService'][_0x280d2c(0x2a9)](_0x5737e2))[_0x280d2c(0x399)];}async[_0xaff689(0x1b4)](_0x240c58,_0x1a07b4){var _0x38ef2b=_0xaff689;const {unitID:_0x367f4,type:_0x445c6a,from:_0x5e4e35,to:_0x27fa02}=_0x1a07b4,_0x47850a=this[_0x38ef2b(0x238)]()+'/'+_0x445c6a+_0x38ef2b(0x190)+_0x367f4+_0x38ef2b(0x38d)+_0x5e4e35+_0x38ef2b(0x128)+_0x27fa02;return(await this[_0x38ef2b(0x388)][_0x38ef2b(0x2a9)](_0x47850a))['body'];}[_0xaff689(0x1ac)](){var _0x58fefe=_0xaff689,_0x391f2b;return(_0x391f2b=this[_0x58fefe(0x45b)][_0x58fefe(0x393)](_0xeb165c))!=null?_0x391f2b:this[_0x58fefe(0x238)]();}['_getAPIPrefix'](){var _0x1363d9=_0xaff689,_0x571f34,_0x400f9f;const _0x55c79d=this['_configService'][_0x1363d9(0x393)](_0x48b2f8),_0x2893df=this[_0x1363d9(0x45b)][_0x1363d9(0x393)](_0x5a21e6);return(_0x400f9f=(_0x571f34=_0x2893df==null?void 0x0:_0x2893df[_0x1363d9(0x13d)])!=null?_0x571f34:_0x55c79d)!=null?_0x400f9f:_0x335666;}async[_0xaff689(0x195)](_0x23b044,_0x1e8e37){var _0x4599ab=_0xaff689;const _0x28b6c6=_0x4599ab(0x430)+_0x1e8e37['type']+_0x4599ab(0x190)+_0x1e8e37[_0x4599ab(0x3b3)]+_0x4599ab(0x1f3);return(await this[_0x4599ab(0x388)]['get'](_0x28b6c6,{'params':{'resourceId':JSON[_0x4599ab(0x197)](_0x1e8e37[_0x4599ab(0x453)])}}))[_0x4599ab(0x399)];}[_0xaff689(0x215)](){var _0x4a77bd=_0xaff689;throw new Error(_0x4a77bd(0x129));}[_0xaff689(0x1c8)](){var _0xde3571=_0xaff689;throw new Error(_0xde3571(0x129));}[_0xaff689(0x3a8)](){var _0x2e6c11=_0xaff689;throw new Error(_0x2e6c11(0x129));}[_0xaff689(0x23b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xaff689(0x27a)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xaff689(0x29d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x2ce6c3['SnapshotServerOverHTTPService']=_0x45f7aa([_0x362617(0x0,_0x39f1c2[_0xaff689(0x329)]),_0x362617(0x1,_0x39f1c2[_0xaff689(0x3cb)](_0x7e7238[_0xaff689(0x1b5)]))],_0x2ce6c3['SnapshotServerOverHTTPService']);var _0x12214f=Object[_0xaff689(0x33f)],_0x5f130c=(_0x3ba656,_0x3d700f,_0x1c05a0,_0x2f2448)=>{for(var _0x360b78=_0x2f2448>0x1?void 0x0:_0x2f2448?_0x12214f(_0x3d700f,_0x1c05a0):_0x3d700f,_0x17d7f5=_0x3ba656['length']-0x1,_0x3b3d4b;_0x17d7f5>=0x0;_0x17d7f5--)(_0x3b3d4b=_0x3ba656[_0x17d7f5])&&(_0x360b78=_0x3b3d4b(_0x360b78)||_0x360b78);return _0x360b78;},_0x2dde6c=(_0x227ef1,_0x4d45f3)=>(_0x2c3d03,_0x1ad8fa)=>_0x4d45f3(_0x2c3d03,_0x1ad8fa,_0x227ef1);_0x2ce6c3['CollaborativeUndoRedoService']=class extends _0x39f1c2[_0xaff689(0x3fe)]{constructor(_0x14c48f,_0x3a8adc,_0x32374f,_0x13d015,_0x2f6d5f){var _0x4d7817=_0xaff689;super(_0x14c48f,_0x3a8adc,_0x32374f),this[_0x4d7817(0x3a2)]=_0x13d015,this[_0x4d7817(0x1f6)]=_0x2f6d5f;}[_0xaff689(0x3ae)](_0x599a00,_0xd08853){var _0x27de5b=_0xaff689;const _0x1e658a=this[_0x27de5b(0x272)](_0x599a00);if(_0x1e658a)try{const _0x313a06=this['_transformStack'](_0x1e658a,_0xd08853);this[_0x27de5b(0x41a)](_0x599a00,_0x313a06);}catch(_0x8f995b){this[_0x27de5b(0x1f6)][_0x27de5b(0x249)](_0x27de5b(0x19b),_0x8f995b),this['_clearUndo'](_0x599a00);}const _0x4d3e6d=this[_0x27de5b(0x2ce)](_0x599a00);if(_0x4d3e6d)try{const _0x33c66a=this[_0x27de5b(0x3d4)](_0x4d3e6d,_0xd08853);this[_0x27de5b(0xec)](_0x599a00,_0x33c66a);}catch(_0x34f25e){this[_0x27de5b(0x1f6)]['error'](_0x34f25e),this['_clearRedo'](_0x599a00);}}[_0xaff689(0x255)](_0x8d2fe7){var _0x2b8504=_0xaff689;const _0x374525=this[_0x2b8504(0x272)](_0x8d2fe7);_0x374525&&(_0x374525[_0x2b8504(0x3e1)]=0x0,this[_0x2b8504(0x1b0)]());}[_0xaff689(0x3ba)](_0x324e4c){var _0x2ee199=_0xaff689;const _0x13ada4=this['_getRedoStack'](_0x324e4c);_0x13ada4&&(_0x13ada4[_0x2ee199(0x3e1)]=0x0,this[_0x2ee199(0x1b0)]());}[_0xaff689(0x41a)](_0x845f94,_0x1066d2){var _0x4325f0=_0xaff689;this[_0x4325f0(0x3c5)][_0x4325f0(0x246)](_0x845f94,_0x1066d2),this[_0x4325f0(0x1b0)]();}[_0xaff689(0xec)](_0x80aad9,_0x65673e){var _0x1c626f=_0xaff689;this[_0x1c626f(0x2d0)]['set'](_0x80aad9,_0x65673e),this[_0x1c626f(0x1b0)]();}[_0xaff689(0x3d4)](_0x4801a3,_0x2c3ef2){var _0x28db97=_0xaff689;const _0xed65b1=[];let _0x19a6f1=_0x2c3ef2,_0x4c1065=_0x2c3ef2;for(let _0x3b6600=_0x4801a3['length']-0x1;_0x3b6600>=0x0;_0x3b6600--){const {unitID:_0x220fd2,undoMutations:_0xfda9a7,redoMutations:_0x14a4b7}=_0x4801a3[_0x3b6600],_0x5165fe=this[_0x28db97(0x3a2)][_0x28db97(0x214)](_0x19a6f1,_0xfda9a7),_0x200382=this[_0x28db97(0x3a2)][_0x28db97(0x214)](_0x4c1065,_0x14a4b7);if(_0x216395[_0x28db97(0xff)](_0x5165fe)||_0x216395[_0x28db97(0xff)](_0x200382)){this[_0x28db97(0x1f6)][_0x28db97(0x249)](_0x28db97(0x19b),_0x28db97(0x265),_0x5165fe,_0x200382);break;}_0x19a6f1=_0x5165fe[_0x28db97(0x3e0)],_0x4c1065=_0x200382['c1Prime'],_0xed65b1[_0x28db97(0x290)]({'unitID':_0x220fd2,'undoMutations':_0x5165fe[_0x28db97(0x258)],'redoMutations':_0x200382[_0x28db97(0x258)]});}return _0xed65b1['reverse']();}},_0x2ce6c3[_0xaff689(0x2d8)]=_0x5f130c([_0x2dde6c(0x0,_0x39f1c2[_0xaff689(0x325)]),_0x2dde6c(0x1,_0x39f1c2[_0xaff689(0x1bf)]),_0x2dde6c(0x2,_0x39f1c2[_0xaff689(0x121)]),_0x2dde6c(0x3,_0x216395[_0xaff689(0x463)]),_0x2dde6c(0x4,_0x39f1c2[_0xaff689(0x1cd)])],_0x2ce6c3[_0xaff689(0x2d8)]);var _0x491c31=Object[_0xaff689(0x153)],_0x49e79a=Object[_0xaff689(0x33f)],_0x47b78d=(_0x2d6ce6,_0x2aed87,_0xc8a3fa)=>_0x2aed87 in _0x2d6ce6?_0x491c31(_0x2d6ce6,_0x2aed87,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc8a3fa}):_0x2d6ce6[_0x2aed87]=_0xc8a3fa,_0x5d8288=(_0x21beb5,_0x273bf9,_0x40531c,_0x2a7b1d)=>{var _0x3f642c=_0xaff689;for(var _0x4a0a11=_0x2a7b1d>0x1?void 0x0:_0x2a7b1d?_0x49e79a(_0x273bf9,_0x40531c):_0x273bf9,_0x2b1c2d=_0x21beb5[_0x3f642c(0x3e1)]-0x1,_0x1664b1;_0x2b1c2d>=0x0;_0x2b1c2d--)(_0x1664b1=_0x21beb5[_0x2b1c2d])&&(_0x4a0a11=_0x1664b1(_0x4a0a11)||_0x4a0a11);return _0x4a0a11;},_0x18ff5f=(_0x116750,_0x23261a)=>(_0x1d283d,_0x23a2df)=>_0x23261a(_0x1d283d,_0x23a2df,_0x116750),_0x1fba5a=(_0x2f3696,_0x3f0fa2,_0x4b1af0)=>_0x47b78d(_0x2f3696,_0x3f0fa2+'',_0x4b1af0);const _0x21c7c5=_0xaff689(0x3ee);_0x2ce6c3[_0xaff689(0x3c3)]=class extends _0x39f1c2[_0xaff689(0x212)]{constructor(_0x3cea6f,_0x1507c3,_0x49f092,_0x315273){var _0x344ea4=_0xaff689;super(),_0x6434e8(this,_0x344ea4(0x1b8)),(this['_logService']=_0x1507c3,this[_0x344ea4(0x37a)]=_0x49f092,this[_0x344ea4(0x45b)]=_0x315273);const {..._0x18a46e}=_0x39f1c2[_0x344ea4(0x43b)]({},_0x4f190,_0x3cea6f);if(!_0x18a46e[_0x344ea4(0x2a7)])throw new Error(_0x344ea4(0x45d));this[_0x344ea4(0x1b8)]=_0x18a46e,this[_0x344ea4(0x45b)]['setConfig'](_0x5a21e6,_0x18a46e);}['onStarting'](){var _0x364c68=_0xaff689;this[_0x364c68(0x397)](),this['_initDependencies']();}['_registerDependencies'](){var _0x390cc5=_0xaff689,_0x304220,_0x4294f9;this['_injector'][_0x390cc5(0x220)](_0x39f1c2[_0x390cc5(0x32f)])&&this['_logService'][_0x390cc5(0x249)](_0x390cc5(0x2d7),_0x390cc5(0x112));const _0x267857=_0x39f1c2['mergeOverrideWithDependencies']([[_0x39f1c2[_0x390cc5(0x32f)],{'useClass':_0x2ce6c3['CollaborativeUndoRedoService']}],[_0x2ce6c3[_0x390cc5(0x1c4)]],[_0x2ce6c3['MemberService']],[_0x2ce6c3[_0x390cc5(0x3b6)]],[_0x25f571],[_0x43acab],[_0xbdf877],[_0x382a6d],[_0x4d35e6],[_0x2ce6c3[_0x390cc5(0xfe)]],[_0x2d14f4,{'useClass':this[_0x390cc5(0x1b8)][_0x390cc5(0x2a7)]}],[_0x216395[_0x390cc5(0x247)],{'useClass':_0x2ce6c3[_0x390cc5(0x3bd)]}],[_0x39f1c2['IAuthzIoService'],{'useClass':_0x2ce6c3[_0x390cc5(0x384)]}],[_0x32b27b['IImageIoService'],{'useClass':_0x2ce6c3['CollaborationImageIoService']}],[_0x39f1c2['IMentionIOService'],{'useClass':_0x2ce6c3[_0x390cc5(0x391)]}],[_0x2ce6c3[_0x390cc5(0x1bc)]],[_0x2f3c66]],(_0x304220=this['_config'])==null?void 0x0:_0x304220[_0x390cc5(0x3b5)]);if(!((_0x4294f9=this['_config'])!=null&&_0x4294f9['enableSingleActiveInstanceLock'])){const _0x3e4a78=_0x267857['findIndex'](([_0x51ee99])=>_0x51ee99===_0x2ecfe6);_0x3e4a78!==-0x1&&_0x267857[_0x390cc5(0x18f)](_0x3e4a78,0x1);}_0x39f1c2[_0x390cc5(0x2bb)](this[_0x390cc5(0x37a)],_0x267857);}[_0xaff689(0x1cf)](){var _0xcc3e6e=_0xaff689,_0x49d266,_0x312ecd,_0x1067e9;this[_0xcc3e6e(0x37a)][_0xcc3e6e(0x2a9)](_0x7e7238[_0xcc3e6e(0x1b5)])[_0xcc3e6e(0x2e6)]({'priority':0x14,'interceptor':_0x7e7238['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x49d266=this[_0xcc3e6e(0x1b8)])!=null&&_0x49d266['enableOfflineEditing']||(_0x312ecd=this[_0xcc3e6e(0x37a)][_0xcc3e6e(0x2a9)](_0x1f6549,_0x39f1c2[_0xcc3e6e(0x16b)][_0xcc3e6e(0xe9)]))==null||_0x312ecd[_0xcc3e6e(0x29a)](),(_0x1067e9=this[_0xcc3e6e(0x1b8)])!=null&&_0x1067e9[_0xcc3e6e(0x12d)]&&_0x39f1c2[_0xcc3e6e(0x331)](this['_injector'],[[_0x25f571]]),_0x39f1c2[_0xcc3e6e(0x331)](this[_0xcc3e6e(0x37a)],[[_0x43acab],[_0x2ce6c3['CollaborationController']],[_0x382a6d]]);}},_0x1fba5a(_0x2ce6c3['UniverCollaborationClientPlugin'],_0xaff689(0x405),_0x21c7c5),_0x2ce6c3[_0xaff689(0x3c3)]=_0x5d8288([_0x39f1c2[_0xaff689(0x21b)](_0x216395[_0xaff689(0x24b)],_0x7e7238[_0xaff689(0x23a)]),_0x18ff5f(0x1,_0x39f1c2[_0xaff689(0x1cd)]),_0x18ff5f(0x2,_0x39f1c2['Inject'](_0x39f1c2[_0xaff689(0x275)])),_0x18ff5f(0x3,_0x39f1c2[_0xaff689(0x329)])],_0x2ce6c3[_0xaff689(0x3c3)]),_0x2ce6c3['AUTHZ_URL_KEY']=_0x50fc06,_0x2ce6c3[_0xaff689(0x1f7)]=_0x5a21e6,_0x2ce6c3['COLLAB_SUBMIT_CHANGESET_URL_KEY']=_0x1ef06d,_0x2ce6c3[_0xaff689(0x1f9)]=_0x3a79db,_0x2ce6c3[_0xaff689(0x24f)]=_0x23928b,_0x2ce6c3[_0xaff689(0x3fd)]=_0x147f94,_0x2ce6c3['CollaborationUIEventService']=_0x4d35e6,_0x2ce6c3['CommentService']=_0xbdf877,_0x2ce6c3['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x596d2b,_0x2ce6c3[_0xaff689(0x148)]=_0x4f148d,_0x2ce6c3[_0xaff689(0x270)]=_0xdae98b,_0x2ce6c3[_0xaff689(0x2be)]=_0x49a861,_0x2ce6c3[_0xaff689(0x382)]=_0x559513,_0x2ce6c3[_0xaff689(0x2c1)]=_0x2d14f4,_0x2ce6c3[_0xaff689(0x2b1)]=_0x1f6549,_0x2ce6c3[_0xaff689(0x414)]=_0x2ebef6,_0x2ce6c3[_0xaff689(0x1c9)]=_0x2ecfe6,_0x2ce6c3[_0xaff689(0x424)]=0x3e8,_0x2ce6c3[_0xaff689(0x227)]=_0x1459ea,_0x2ce6c3[_0xaff689(0x333)]=_0x6058f,_0x2ce6c3[_0xaff689(0x151)]=_0x4e015e,_0x2ce6c3[_0xaff689(0x248)]=_0xfe842,_0x2ce6c3[_0xaff689(0x226)]=_0x302f0a,_0x2ce6c3[_0xaff689(0x41b)]=_0x48b2f8,_0x2ce6c3[_0xaff689(0x3d0)]=_0xeb165c,_0x2ce6c3[_0xaff689(0x23d)]=_0x41439c,_0x2ce6c3[_0xaff689(0x163)]=_0x3f6f84,_0x2ce6c3[_0xaff689(0x1fc)]=_0x3a85a1,_0x2ce6c3[_0xaff689(0x1d6)]=_0x282c94,_0x2ce6c3['serializeCombRequest']=_0x17d64e,Object['defineProperty'](_0x2ce6c3,Symbol['toStringTag'],{'value':'Module'});}));