@univerjs-pro/collaboration-client 0.6.4-nightly.202503101606 → 0.6.4-nightly.202503111607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x3ebd1b=_0x44ec;(function(_0x4c30d5,_0x120d31){var _0x45c173=_0x44ec,_0x553c8e=_0x4c30d5();while(!![]){try{var _0x7dca2=parseInt(_0x45c173(0x2a7))/0x1*(parseInt(_0x45c173(0x2a9))/0x2)+parseInt(_0x45c173(0x1bf))/0x3+parseInt(_0x45c173(0x29a))/0x4+parseInt(_0x45c173(0x39e))/0x5+-parseInt(_0x45c173(0x412))/0x6*(-parseInt(_0x45c173(0x273))/0x7)+parseInt(_0x45c173(0x429))/0x8*(parseInt(_0x45c173(0x41d))/0x9)+parseInt(_0x45c173(0x240))/0xa*(-parseInt(_0x45c173(0x3f2))/0xb);if(_0x7dca2===_0x120d31)break;else _0x553c8e['push'](_0x553c8e['shift']());}catch(_0x989ce0){_0x553c8e['push'](_0x553c8e['shift']());}}}(_0x1c7c,0x7145e));var Ai=Object[_0x3ebd1b(0x30a)],Pi=(_0x5ccbd4,_0x10524d,_0x476a1f)=>_0x10524d in _0x5ccbd4?Ai(_0x5ccbd4,_0x10524d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x476a1f}):_0x5ccbd4[_0x10524d]=_0x476a1f,N=(_0x46bec7,_0x31c3fe,_0x2a1742)=>Pi(_0x46bec7,typeof _0x31c3fe!=_0x3ebd1b(0x2ec)?_0x31c3fe+'':_0x31c3fe,_0x2a1742);import{createIdentifier as _0x1ecba2,Inject as _0x4f3deb,Injector as _0x4fddf8,IConfigService as _0x2a770c,ILogService as _0x53833e,Disposable as _0x18c765,DisposableCollection as _0x396e56,toDisposable as _0x2652a7,IUniverInstanceService as _0x42c510,UserManagerService as _0x5e4c97,UniverInstanceType as _0x6e43e8,LocaleService as _0xb18863,Optional as _0x3b02db,RxDisposable as _0x32d278,Tools as _0x1bd747,Rectangle as _0x3e8061,ICommandService as _0x13fb4e,JSONX as _0x4a9ec1,CommandType as _0x20dd31,IUndoRedoService as _0xb993df,IPermissionService as _0x115665,sequenceExecute as _0x46929e,Workbook as _0xfe2436,MentionType as _0x913100,isInternalEditorID as _0x17a7c0,LocalUndoRedoService as _0xae8f7a,IContextService as _0x4b0db0,DependentOn as _0x41e97c,Plugin as _0x25a773,merge as _0x426b30,mergeOverrideWithDependencies as _0x420d77,IAuthzIoService as _0x37c18c,IMentionIOService as _0x2b54be,registerDependencies as _0x484089,Quantity as _0x4d644a,touchDependencies as _0x30701b}from'@univerjs/core';function _0x1c7c(){var _0x49616a=['pending','_createInitialStateImpl','_iKey','string','6qwyHOu','LICENSE_DISTRO_REJECTED','avatar','ALREADY_EXISTS','_loadDoc','disposeWithMe','saveSheetBlock','_univerInstanceService','getUnitId','_joinRoom','_onMessage','9FpBkSI','APPLY_REVISION_CONFILICT','Hex','capture','Error\x20on\x20receiving\x20event','COLLAB_SUBMIT_CHANGESET_URL','INVALID_ARGUMENT','/rev/','_changesetReqId','encodeURIComponent','push','image/png','5070136ORQZVl','[CollaborationSessionService]','NOT_FOUND','_map','_rescheduleHeartbeat','routeKey','isPermissionRej','Base64','compose','_key','_substituteUndoStack','/universer-api/snapshot','interceptor','_process','objectType','_sheetTransformSelectionsService','LICENSE_EXPORT_SIZE_EXCEEDED','_updateStatus','localeService','concat','FAIL','entries','FETCH_MISS','revision','USERS_LEAVE','submit\x20changeset\x20error!','DEFAULT_FILE_NAME','YUUMI_RATE_OVER_LIMIT','getConfig','INGEST','hasOwnProperty','_transformStack','PENDING','finalize','setShowComponents','LIVESHARE_OPERATION','\x20in\x20_schedule.','_startTelemetryCollaborationNewChangeset','transformMutationsWithChangeset','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_event$','map','json','saveChangeset','_onConflict','_awaitingChangeset','_reverseMap','HmacMD5','/object/','_keySchedule','UPDATE_PERMISSION_OBJ','_onUserLeave','iterations','state','format','size','reqId','csShouldRetryEvent','__creator','_change$','PY_RUNTIME_SCRIPT_ERROR','UNIVER_DOC','_compressMutationService','replace','_onLocalMutation','\x20-\x20','[CollaborationEntity]','authzUrl','fetching\x20missing\x20changesets\x20from\x20','/block/','LEAVE','_substituteRedoStack','JOIN_ROOM_FULL','putCollaborators','getLatestCsReqIdBySid','startsWith','failed\x20to\x20apply\x20missed\x20changesets!','asObservable','_shouldReportTelemetry','_collaborationSessionService','enableOfflineEditing','_hash','_pendingMutations','_scheduleCompleteTimestamp','CHANGESET_REVISION_CONFILICT','SUBMIT_CHANGESET','_singleActiveUnitService','_onJoinRoomEvent','getTime','enc','onCommandExecuted','_changesetSessionId','readInt32LE','buffer','delete','processBlock','roomInfos','_transformSelections','APPLY_DUPLICATED','stringify','HttpImport','HELLO','params','ENSURE_SNAPSHOT_EXECUTION','/universer-api/comb','APPLY_NON_SEQUENTIAL_REVISION','append','CONFLICT','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_prevBlock','_getAPIPrefix','_retryConnectingTimer','[DataLoaderService]','$super','getSheetId','JOIN_ROOM_FAILED','_localCacheService','code','_ENC_XFORM_MODE','csAckEvent','_transitionLocked','UNDEFINED','_nDataBytes','parse','onRemoteAck','salt','_minBufferSize','_applyRemoteChangeset','_logService','exports','closeSession','toString','setConfig','title','UPDATE_CURSOR','reset','LIVESHARE_FETCH_OPERATIONS','UNAUTHENTICATED','fetchMiss','JOIN','error','HMAC','generateRandomId','m2Prime','hostname','byteLength','msCrypto','{fileID}','_retryCount','_onRecvEvent','SHOULD_CLOSE_CONN','1746006MwMzwG','hasher','/universer-api/file/{fileID}/sign-url','floor','BlockCipher','/new_changes','_sender','onSyncEditingCollabCursor','_doFinalize','find','_socketReady','JOIN_ROOM_NOT_EXISTS','&to=','ceil','blockSize','bind','init','loadDoc','_remoteChangesetQueue','_configService','GLOBAL_ROOMS_CNT_EXCEEDS','_entityInit$','getTypeOfUnitAdded$','fetchMissingChangesets','override','getUnitStatus$','words','[PendingState]:\x20received\x20acknowledgement.','/universer-api/oidc/authpage','slice','onlyLocal','image/bmp','_transformIMECache','_invKeySchedule','[CollaborationSession]','responseType','decryptBlock','splice','sigBytes','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','MD5','_getSendChangesetTimeout','leaveEvent','actions','batchAllowed','removeMember','/role','_members','encryptBlock','ws://127.0.0.1:8000/universer-api/comb/connect','filter','file','HEARTBEAT_INTERVAL','socket\x20close','AES','pluginName','_iv','_exhaustRemoteChangesetQueue','transformStack\x20failed!','/object','apply','createInstance','_onCombEvent','_initUnitPermissionChange','uploadFileServerUrl','SNAPSHOT_SERVER_URL_KEY','src','MUTATION','fetchThroughInterceptors','collabSubmitChangesetUrl','liveShareOperation','/allowed','_collaborationPaused','addImageSourceCache','_getUploadFileURL','?size=','clamp','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getTypeOfUnitDisposed$','_onOffline','byteOffset','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Cipher','getMember','_acknowledgedAwaitingChangeset','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','reconnect','session','_showConflictNotification','RECV','listRoles','awaiting_with_pending','updateMember','_sendHeartbeatTimer','YUUMI_SUBSCRIPTION_NOT_FOUND','LIVESHARE_NEW_HOST','values','CBC','body','getValue','INTERNAL_ERROR','onMissingChangesets','_incrementRevisionNumber','crypto','_hasher','_clearHeartbeatTimer','UnitSnapshot','next','/universer-api/stream/file/upload','LOGIN_URL_KEY','_handlerCallback','_state$','_append','ERROR_IMAGE','_unitInfo$','_cipher','keySize','_unitID','transformUndoRedo','[CollaborationUndoRedoService]','algo','_status$','_getCtorByUniverType','collaboratorID','equals','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','getUnitType','key','_throwTelemetryCollaborationNewChangeset','4200EjAViX','[OfflineState]:\x20received\x20acknowledgement.','_onUserJoin','_getDownloadEndpointURL','_handler','[PendingState]:\x20received\x20rejection.','_updateState','random','listCollaborators','changesets','_onFetchMissResult','getCurrentUser','_localeService','_transformService','cfg','getResourcesRequest','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_collaborationTimeoutTimer','UNISCRIPT_RUN','[CollaborationSessionService]:\x20socket\x20error','close$','action','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','editing\x20status\x20changed\x20to','onTransformRemoteChangesetByIMECache','_transformRemoteChangesetByIMECache','registerHTTPInterceptor','conflict','PSEUDO_FETCH_MISSING_RESULT','_telemetryInfo','prototype','BlockCipherMode','baseRev','default','transformChangesets','disableLocalCache','_removeRoom','cmd','_userManagerService','updatePermissionPoint','_members$','BufferedBlockAlgorithm','onCommentUpdate','decrypt','_createInitialState','requestParams','PERMISSION_DENIED','requireSession','_clearRetryConnectingTimer','Utf8','create','1800561wmbuZe','RETRY_CONNECTING_MAX_COUNT','joinEvent','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','put','POST','_socket','[PendingState]:\x20unhandled\x20univer\x20type:\x20','[OfflineState]:\x20received\x20rejection.','dispose','members','onRemoteChangeset','UUID','onRemoteRej','function','pad','_resendTimeout','PERMISSION_REJ','get','getImageSourceCache','Could\x20not\x20dynamically\x20require\x20\x22','collaboration_new_changeset','name','_doCryptBlock','FETCH_MISSING','_imageSourceCache','refreshPermission','_xformMode','_waitCount','telemetry\x20info\x20is\x20not\x20initialized','FileId','loginUrlKey','execute','localCacheService','/-/object/-/batch_allowed','Decryptor','_onRemoteRejected','CHANGESET_ACK','awaitingChangeset','1421812rgnciG','method','NOT_COLLAB','_sessions','ERROR_EXCEED_SIZE','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','emitEvent','_getCurrentRevision','session.join-failed','onRemoteRetry','from','getOwnPropertyDescriptor','retryConnectingInterval','11PeNzAj','focused$','41758tscoCA','signUrlServerUrl','SYNCED','every','HttpExport','_telemetryService','_sendHeartbeat','open$','image/jpg','href','_clearRedo','SNAPSHOT_INVALID_SNAPSHOT','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_getUndoStack','SOCKET_FAILED','synced','fromCollab','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_commandService','getMemberID','_initRequestHeader','_transformStateCache','onTransformIME','/universer-api/authz','BASE64','subUnitId','randomBytes','reverse','getInterceptPoints','objects','_type','_socket$','SerializableCipher','x-univer-host','objectActions','c1Prime','Undefined','univer-pro.collaboration-client.single-active-unit-service','getImage','_sessionStatus$','COMPLETION_FINISHED','_executeRemoteChangeset','getUnit','shouldCloseConn','getWorkbookSelections','sin','mutations','StreamCipher','_syncEditingCollabCursor','eventID','_createHmacHelper','_memberService','univer-pro.collaboration-client.network-condition.service','pipe','_initCloseConn','resend','dispose$','error$','mixIn','HEARTBEAT_TIMEOUT','encode','ERROR_IMAGE_TYPE','_checkMissing','Encryptor','selections','symbol','Univer','createDecryptor','getSheetBlock','loadOfflineData','HEARTBEAT','_collaborationUIEventService','onTransformRemoteChangesetByStateCache','_HTTPService','awaiting','state$','/resources','resolve','_loadSheet','OTHER_CLIENTS_EDITING','SUBMIT_CHANGESET_TIMEOUT','getFocusedUnit','_data','_socketMessageSubscription','getCollabEntity','auth.needGotoLoginAlert','close','APPLY_REJECT','add','_httpService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','__esModule','not_collab','sendChangesetTimeout','_timeoutTimer','defineProperty','\x20to\x20','HmacSHA1','collaboration-client.local-cache-service','Hasher','SOCKET_FAILED_RETRY','image/jpeg','downloadEndpointUrl','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','location','_roomCreated$','now','memberID','repeat','getDeserializedSheetBlock','_roomMembers','url','_createSocket','CHANGESET_SHOULD_RETRY','unitID','UNIVER_UNKNOWN','[SyncedState]:\x20received\x20rejection.','snapshotServerUrl','duration','[CollaborationState]:\x20apply\x20error!','_fetchMissChangesets','abs','_queuedRemoteChangesets','forEach','_clearUndo','kdf','executeCommand','_init','_onConnectionFailed','JOINING','findIndex','/collaborator','updateCollaborator','rev','_commentService','/unit/','extend','formatter','list','_networkConditionService','OTHER_CLIENT_EDITING','COMMENT_UPDATE','UNIVER_PROJECT','IDLE','copyFileMeta','complete','call','setWaitCount','loadUnit','Malformed\x20UTF-8\x20data','incrementRevOfUnit','onload','_getAPIPrefixPath','transformSelections','_createHelper','_injector','_clearScheduledTask','patch','APPLY_PERMISSION_DENIED','COMPRESS_MUTATION_APPLY','_instanceService','_state','ONLINE','onLocalMutation','OPTIONAL','_tryEnsureSocket','send','fromCharCode','fetch_missing','result','_submitChangeset','loadSheet','originalMeta','offline','_clearLocalCache','compute','LICENSE_MAX_UNITS_EXCEEDED','_eventService','collaborators','clone','[OfflineState]:\x20received\x20changeset.','_socketService','Base','_doCreateSocket','length','/universer-api/snapshot/','sessionStatus$','_collabSessionService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','getCollabEntity$','ciphertext','_onRemoteChangeset','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','event$','snapshot','withCredentials','_emitMembers','change$','_schedule','onSendChangeset','_permissionService','onMissedChangesetFetched','_getRedoStack','_replaceFileID','reject','mode','_oKey','/fetchmissing?from=','csRejEvent','_nRounds','session.room-not-exists','CONNECTOR_DATA_TOO_LARGE','JOIN_ROOM_PERMISSION_DENIED','update','catch','TOO_MANY_REQUESTS','sheets','CipherParams','sessionStatus','has','SNAPSHOT_URL_KEY','unitId','_lockTransition','toggleOnline','newCsEvent','post','NoPadding','_getLoginPath','_config','unknown','UNRECOGNIZED','_clearTimeoutTimer','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','confirm','waitForRoom$','connection\x20error','enableSingleActiveInstanceLock','/universer-api/uniscript','createSocket','COMPRESS_MUTATION_SEND','_commentUpdate$','saveSnapshot','People','1733360SMTGgW','_scheduleCollaborationTimeoutTimer','unpad','_waitForHeartbeatResponse','_updateLocalCache','type','_resendWithTimeout','status','_getSignURL','getRandomValues','toLowerCase','_createHandler','UNIVER_SLIDE','subject','socket\x20open.','OFFLINE','session.room-permission-denied','sid','\x0aCurrent:\x20','encrypt','_stopTelemetryCollaborationNewChangeset','workbook','message$','_startCollaboration','charAt','session.room-full','NO_OTHER_CLIENTS_EDITING','_registerDependencies','save\x20fail\x20reason\x20is\x20','userID','charCodeAt','_toggleOffline','_unlockTransition','range','subscribe','SNAPSHOT_HAS_BEEN_REMOVED','set','joinRsp','headers','join','max','CHANGESET_REJ','clear','socket$','_sendingTimer','_onRemoteRetry','EvpKDF','onTransformSelections','_clearCollaborationTimeoutTimer','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','appendMutation','target','createCollaborator','LICENSE_IMPORT_SIZE_EXCEEDED','SHA1','WordArray','_doReset','_resendTimer','rng','indexOf','MSG_FOR_ERROR','getCurrentRevOfUnit','getSnapshotAPIPath','liveShareNewHost','status$','NEW_CHANGESETS','\x0aAfter:\x20','_onRemoteACK','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_revisionService','_transformUndoredo','_undoRedoService','_entities','saveImage','_tryReconnect','_initDependencies','includes','padding','_toggleOnline','stopTime','objectID','LIVESHARE_TERMINATE','unsubscribe','createEncryptor','50831dKWNfl','toggleOffline','online$','UNIVER_SHEET','_snapshotService','UNIVER_COLLABORATION_CLIENT_PLUGIN','CLOSE_ROOM','_replayCachedMutations','debug','setCurrentUser','_mode','[UniverCollaborationClientPlugin]','data','LOCAL_CACHE_INTERVAL','USERS_ENTER','lib','_candidateSocket','_parse','_decreaseWaiting','_disableEditing','OpenSSL','commentUpdateEvent','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','textRanges','randomUUID','YUUMI_URL_COL_OUT_OF_RANGE','socketService','PERSON'];_0x1c7c=function(){return _0x49616a;};return _0x1c7c();}import{Subject as _0x384b9e,merge as _0x4f1458,of as _0x490a2c,BehaviorSubject as _0x15d586,takeUntil as _0x10896f,ReplaySubject as _0x257aa6,take as _0x3396e8,map as _0x401f39,shareReplay as _0x20dfda,firstValueFrom as _0x557225,concatMap as _0x5c75e0}from'rxjs';import{map as _0x182a28,take as _0x36ff41,filter as _0x1a4f87,delay as _0xdf788d,takeUntil as _0x212faf}from'rxjs/operators';import{CollaborationEvent as _0x29cbe9,ISnapshotServerService as _0x481b0,parseChangesetToProtocol as _0x230f2c,ITransformService as _0x3a4a71,isTransformMutationsWithChangesetSuccess as _0xa34b7,mapDocumentTypeToUniverType as _0x49cbd7,RevisionService as _0xa5d976,isTransformChangesetsSuccess as _0x16fc72,CompressMutationService as _0x429dc5,parseProtocolChangeset as _0x163abd,SnapshotService as _0x4970ba,textEncoder as _0x8bb74d,b64DecodeUnicode as _0x5d895b,isTransformMutationsWithChangesetFailure as _0x4d4cc2,UniverCollaborationPlugin as _0xa1ef3e}from'@univerjs-pro/collaboration';import{HTTPService as _0x33658e,ISocketService as _0x2df46f,MergeInterceptorFactory as _0x550b93,HTTPRequest as _0x228c9d,UniverNetworkPlugin as _0x54097e,ThresholdInterceptorFactory as _0x53f182}from'@univerjs/network';import{ITelemetryService as _0x5da75c}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3aa6ca}from'@univerjs/docs';import{SheetsSelectionsService as _0x450157,SetSelectionsOperation as _0x422733,InsertSheetMutation as _0x5c3d3c,EmptyMutation as _0x402638,WorkbookEditablePermission as _0x5252f0,SheetPermissionInitController as _0x3d37cb}from'@univerjs/sheets';import{ImageSourceType as _0x4981d1,ImageUploadStatusType as _0x1035d3,IImageIoService as _0x32bded}from'@univerjs/drawing';import{getGlobalObject as _0x2166de}from'@univerjs-pro/license';const pr=_0x3ebd1b(0x200),mr=_0x3ebd1b(0x434),gr=_0x3ebd1b(0x387),xs='SEND_CHANGESET_TIMEOUT',Sr=0x7d0,Er='COLLAB_WEB_SOCKET_URL',Ir=_0x3ebd1b(0x1f0),Ls='/universer-api/user/session-ticket',Tr=_0x3ebd1b(0x1f3),Cr=0x7530,mi=_0x3ebd1b(0x2e6),gi=0x4e20,Rr=0x4e20,br=_0x3ebd1b(0x274),yr=0x3,Ms=_0x3ebd1b(0x3ff),ks=0x3e8,Or=_0x3ebd1b(0x422),Nr=_0x3ebd1b(0x492),Dr=_0x3ebd1b(0x22c),wr=_0x3ebd1b(0x1db),$s=_0x3ebd1b(0x496),Hs=_0x3ebd1b(0x398);var Si=(_0x5a501e=>(_0x5a501e[_0x5a501e['UNDEFINED']=0x0]=_0x3ebd1b(0x4a3),_0x5a501e[_0x5a501e['OK']=0x1]='OK',_0x5a501e[_0x5a501e[_0x3ebd1b(0x223)]=0x2]='INTERNAL_ERROR',_0x5a501e[_0x5a501e[_0x3ebd1b(0x26e)]=0x3]='PERMISSION_DENIED',_0x5a501e[_0x5a501e[_0x3ebd1b(0x42b)]=0x4]=_0x3ebd1b(0x42b),_0x5a501e[_0x5a501e['UNAUTHENTICATED']=0x5]=_0x3ebd1b(0x1b1),_0x5a501e[_0x5a501e[_0x3ebd1b(0x415)]=0x6]=_0x3ebd1b(0x415),_0x5a501e[_0x5a501e['INVALID_ARGUMENT']=0x7]=_0x3ebd1b(0x423),_0x5a501e[_0x5a501e[_0x3ebd1b(0x382)]=0x8]='TOO_MANY_REQUESTS',_0x5a501e[_0x5a501e[_0x3ebd1b(0x2d3)]=0x9]=_0x3ebd1b(0x2d3),_0x5a501e[_0x5a501e[_0x3ebd1b(0x47e)]=0x1389]=_0x3ebd1b(0x47e),_0x5a501e[_0x5a501e[_0x3ebd1b(0x2b4)]=0x1771]=_0x3ebd1b(0x2b4),_0x5a501e[_0x5a501e[_0x3ebd1b(0x3c1)]=0x1772]=_0x3ebd1b(0x3c1),_0x5a501e[_0x5a501e[_0x3ebd1b(0x491)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5a501e[_0x5a501e[_0x3ebd1b(0x302)]=0x1b59]='APPLY_REJECT',_0x5a501e[_0x5a501e[_0x3ebd1b(0x493)]=0x1b5a]=_0x3ebd1b(0x493),_0x5a501e[_0x5a501e[_0x3ebd1b(0x41e)]=0x1b5b]=_0x3ebd1b(0x41e),_0x5a501e[_0x5a501e[_0x3ebd1b(0x349)]=0x1b5c]=_0x3ebd1b(0x349),_0x5a501e[_0x5a501e[_0x3ebd1b(0x48c)]=0x1b5d]=_0x3ebd1b(0x48c),_0x5a501e[_0x5a501e[_0x3ebd1b(0x37e)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5a501e[_0x5a501e[_0x3ebd1b(0x35b)]=0x2329]=_0x3ebd1b(0x35b),_0x5a501e[_0x5a501e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x3ebd1b(0x450),_0x5a501e[_0x5a501e[_0x3ebd1b(0x3d3)]=0x232b]=_0x3ebd1b(0x3d3),_0x5a501e[_0x5a501e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3ebd1b(0x439),_0x5a501e[_0x5a501e[_0x3ebd1b(0x413)]=0x232d]=_0x3ebd1b(0x413),_0x5a501e[_0x5a501e['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5a501e[_0x5a501e[_0x3ebd1b(0x40b)]=0x2712]=_0x3ebd1b(0x40b),_0x5a501e[_0x5a501e[_0x3ebd1b(0x444)]=0x2713]=_0x3ebd1b(0x444),_0x5a501e[_0x5a501e['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3ebd1b(0x21d),_0x5a501e[_0x5a501e[_0x3ebd1b(0x466)]=0x2af9]=_0x3ebd1b(0x466),_0x5a501e[_0x5a501e[_0x3ebd1b(0x391)]=-0x1]=_0x3ebd1b(0x391),_0x5a501e))(Si||{}),Q=(_0x4c5c3c=>(_0x4c5c3c[_0x4c5c3c[_0x3ebd1b(0x31e)]=0x0]='UNIVER_UNKNOWN',_0x4c5c3c[_0x4c5c3c[_0x3ebd1b(0x467)]=0x1]=_0x3ebd1b(0x467),_0x4c5c3c[_0x4c5c3c[_0x3ebd1b(0x3f5)]=0x2]=_0x3ebd1b(0x3f5),_0x4c5c3c[_0x4c5c3c['UNIVER_SLIDE']=0x3]=_0x3ebd1b(0x3aa),_0x4c5c3c[_0x4c5c3c[_0x3ebd1b(0x339)]=0x4]=_0x3ebd1b(0x339),_0x4c5c3c[_0x4c5c3c[_0x3ebd1b(0x391)]=-0x1]=_0x3ebd1b(0x391),_0x4c5c3c))(Q||{}),F=(_0x59a494=>(_0x59a494[_0x59a494['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x59a494[_0x59a494[_0x3ebd1b(0x48f)]=0x1]=_0x3ebd1b(0x48f),_0x59a494[_0x59a494[_0x3ebd1b(0x1b3)]=0x2]=_0x3ebd1b(0x1b3),_0x59a494[_0x59a494['LEAVE']=0x3]='LEAVE',_0x59a494[_0x59a494[_0x3ebd1b(0x446)]=0x4]=_0x3ebd1b(0x446),_0x59a494[_0x59a494[_0x3ebd1b(0x2f1)]=0x5]=_0x3ebd1b(0x2f1),_0x59a494[_0x59a494['RECV']=0x6]=_0x3ebd1b(0x218),_0x59a494[_0x59a494['UNRECOGNIZED']=-0x1]=_0x3ebd1b(0x391),_0x59a494))(F||{}),ge=(_0x140852=>(_0x140852[_0x140852['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x140852[_0x140852['OK']=0x1]='OK',_0x140852[_0x140852['FAIL']=0x2]='FAIL',_0x140852[_0x140852['JOIN_ROOM_FULL']=0x3e9]=_0x3ebd1b(0x472),_0x140852[_0x140852[_0x3ebd1b(0x1ca)]=0x3ea]=_0x3ebd1b(0x1ca),_0x140852[_0x140852[_0x3ebd1b(0x37f)]=0x3eb]=_0x3ebd1b(0x37f),_0x140852[_0x140852[_0x3ebd1b(0x1d3)]=0x3ec]=_0x3ebd1b(0x1d3),_0x140852[_0x140852['UNRECOGNIZED']=-0x1]=_0x3ebd1b(0x391),_0x140852))(ge||{}),Ei=(_0x405747=>(_0x405747[_0x405747[_0x3ebd1b(0x2cf)]=0x0]='Undefined',_0x405747[_0x405747[_0x3ebd1b(0x48e)]=0x1]=_0x3ebd1b(0x48e),_0x405747[_0x405747[_0x3ebd1b(0x2ad)]=0x2]=_0x3ebd1b(0x2ad),_0x405747[_0x405747['UnitEmbedded']=0x3]='UnitEmbedded',_0x405747[_0x405747[_0x3ebd1b(0x229)]=0x4]=_0x3ebd1b(0x229),_0x405747[_0x405747[_0x3ebd1b(0x391)]=-0x1]=_0x3ebd1b(0x391),_0x405747))(Ei||{});const q='collaboration-client.config',Ur={};var se=(_0x33a07f=>(_0x33a07f[_0x3ebd1b(0x337)]=_0x3ebd1b(0x337),_0x33a07f['PERMISSION_DENIED']=_0x3ebd1b(0x26e),_0x33a07f[_0x3ebd1b(0x495)]=_0x3ebd1b(0x495),_0x33a07f['CLOSE_ROOM']=_0x3ebd1b(0x3f8),_0x33a07f[_0x3ebd1b(0x49d)]=_0x3ebd1b(0x49d),_0x33a07f[_0x3ebd1b(0x30f)]=_0x3ebd1b(0x30f),_0x33a07f[_0x3ebd1b(0x2b8)]=_0x3ebd1b(0x2b8),_0x33a07f[_0x3ebd1b(0x2fb)]='SUBMIT_CHANGESET_TIMEOUT',_0x33a07f))(se||{});class pe{constructor(){var _0x3bf313=_0x3ebd1b;N(this,_0x3bf313(0x452),new _0x384b9e()),N(this,_0x3bf313(0x36c),this[_0x3bf313(0x452)][_0x3bf313(0x477)]());}['emitEvent'](_0x131579){var _0x1c0c39=_0x3ebd1b;this[_0x1c0c39(0x452)][_0x1c0c39(0x22a)](_0x131579);}}const Ar=_0x1ecba2(_0x3ebd1b(0x2df));function Pr(_0x55d7d1){var _0x100df5=_0x3ebd1b,_0xb2a9b6,_0x392895,_0x2e42b0,_0x1866ad,_0x19cb6c;const _0x4ea383=_0x55d7d1['data'],_0x492180=JSON['parse'](_0x4ea383);switch(_0x492180[_0x100df5(0x265)]){case F[_0x100df5(0x2f1)]:case F[_0x100df5(0x48f)]:{const _0x548310=_0x492180['infoRsp'];return{..._0x492180,'data':_0x548310,'cmd':_0x492180['cmd']};}case F[_0x100df5(0x1b3)]:{const _0x2c8c8b=_0x492180[_0x100df5(0x3c3)];return{..._0x492180,'data':_0x2c8c8b,'cmd':_0x492180[_0x100df5(0x265)]};}case F['RECV']:{const _0x5433a2=_0x492180['collaMsg'];switch(_0x5433a2[_0x100df5(0x2dc)]){case _0x29cbe9[_0x100df5(0x284)]:return{..._0x492180,'data':{..._0x5433a2,'data':(_0xb2a9b6=_0x5433a2['permissionRejEvent'])==null?void 0x0:_0xb2a9b6['cs']},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9[_0x100df5(0x298)]:return{..._0x492180,'data':{..._0x5433a2,'data':(_0x392895=_0x5433a2[_0x100df5(0x4a1)])==null?void 0x0:_0x392895['cs']},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9[_0x100df5(0x3df)]:return{..._0x492180,'data':{..._0x5433a2,'data':(_0x2e42b0=_0x5433a2[_0x100df5(0x38b)])==null?void 0x0:_0x2e42b0['cs']},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9['CHANGESET_REJ']:return{..._0x492180,'data':{..._0x5433a2,'data':(_0x1866ad=_0x5433a2[_0x100df5(0x37b)])==null?void 0x0:_0x1866ad['cs']},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9[_0x100df5(0x31c)]:return{..._0x492180,'data':{..._0x5433a2,'data':(_0x19cb6c=_0x5433a2[_0x100df5(0x463)])==null?void 0x0:_0x19cb6c['cs']},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9[_0x100df5(0x1ae)]:return{..._0x492180,'data':{..._0x5433a2,'data':_0x5433a2['updateCursorEvent']},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9[_0x100df5(0x400)]:return{..._0x492180,'data':{..._0x5433a2,'data':_0x5433a2[_0x100df5(0x275)]},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9['USERS_LEAVE']:return{..._0x492180,'data':{..._0x5433a2,'data':_0x5433a2[_0x100df5(0x1e9)]},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9[_0x100df5(0x21e)]:return{..._0x492180,'data':{..._0x5433a2,'data':_0x5433a2[_0x100df5(0x3dd)]},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9[_0x100df5(0x1b0)]:case _0x29cbe9['LIVESHARE_OPERATION']:return{..._0x492180,'data':{..._0x5433a2,'data':_0x5433a2[_0x100df5(0x205)]},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9[_0x100df5(0x3ef)]:return{..._0x492180,'data':{..._0x5433a2,'data':_0x5433a2['liveShareNewHost']},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9[_0x100df5(0x3da)]:return{..._0x492180,'data':_0x5433a2,'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9[_0x100df5(0x338)]:return{..._0x492180,'data':{..._0x5433a2,'data':_0x5433a2[_0x100df5(0x407)]},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9['UPDATE_PERMISSION_OBJ']:return{..._0x492180,'data':{..._0x5433a2,'data':_0x5433a2['updatePermissionObjEvent']},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9['SHOULD_CLOSE_CONN']:return{..._0x492180,'data':{..._0x5433a2,'data':_0x5433a2[_0x100df5(0x2d6)]},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9[_0x100df5(0x252)]:return{..._0x492180,'data':{..._0x5433a2,'data':_0x5433a2['uniscriptRunEvent']},'cmd':_0x492180[_0x100df5(0x265)]};default:return _0x492180;}}default:return _0x492180;}}function xr(_0x526879){var _0x127e91=_0x3ebd1b;switch(_0x526879['cmd']){case F[_0x127e91(0x2f1)]:case F[_0x127e91(0x48f)]:return JSON[_0x127e91(0x48d)]({'cmd':_0x526879[_0x127e91(0x265)],'routeKey':_0x526879['routeKey']});case F[_0x127e91(0x446)]:{let _0x45a4fa;switch(_0x526879[_0x127e91(0x3fe)][_0x127e91(0x2dc)]){case _0x29cbe9[_0x127e91(0x1ae)]:{_0x45a4fa={'eventID':_0x29cbe9[_0x127e91(0x1ae)],'updateCursorEvent':_0x526879[_0x127e91(0x3fe)]['data']};break;}case _0x29cbe9[_0x127e91(0x441)]:{_0x45a4fa={'eventID':_0x29cbe9[_0x127e91(0x441)],'leaveEvent':_0x526879[_0x127e91(0x3fe)][_0x127e91(0x3fe)]};break;}case _0x29cbe9[_0x127e91(0x400)]:{_0x45a4fa={'eventID':_0x29cbe9['USERS_ENTER'],'joinEvent':_0x526879[_0x127e91(0x3fe)][_0x127e91(0x3fe)]};break;}case _0x29cbe9['LIVESHARE_NEW_HOST']:{_0x45a4fa={'eventID':_0x29cbe9[_0x127e91(0x21e)],'liveShareNewHost':_0x526879['data'][_0x127e91(0x3fe)]};break;}case _0x29cbe9['LIVESHARE_OPERATION']:{_0x45a4fa={'eventID':_0x29cbe9[_0x127e91(0x44c)],'liveShareOperation':_0x526879[_0x127e91(0x3fe)][_0x127e91(0x3fe)]};break;}case _0x29cbe9[_0x127e91(0x3ef)]:{_0x45a4fa={'eventID':_0x29cbe9['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x526879[_0x127e91(0x3fe)][_0x127e91(0x3fe)]};break;}case _0x29cbe9['LIVESHARE_REQUEST_HOST']:{_0x45a4fa={'eventID':_0x29cbe9['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x526879['data']['data']};break;}case _0x29cbe9['LIVESHARE_FETCH_OPERATIONS']:{_0x45a4fa={'eventID':_0x29cbe9[_0x127e91(0x1b0)]};break;}default:_0x45a4fa={'eventID':_0x526879[_0x127e91(0x3fe)][_0x127e91(0x2dc)]};}return JSON[_0x127e91(0x48d)]({'cmd':_0x526879[_0x127e91(0x265)],'routeKey':_0x526879[_0x127e91(0x42e)],'collaMsg':_0x45a4fa});}case F[_0x127e91(0x1b3)]:return JSON[_0x127e91(0x48d)]({'cmd':_0x526879[_0x127e91(0x265)],'routeKey':_0x526879['routeKey'],'joinReq':_0x526879['data']});case F[_0x127e91(0x470)]:return JSON[_0x127e91(0x48d)]({'cmd':_0x526879[_0x127e91(0x265)],'routeKey':_0x526879[_0x127e91(0x42e)],'leaveReq':_0x526879[_0x127e91(0x3fe)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Lr=Object[_0x3ebd1b(0x2a5)],Mr=(_0x47cdeb,_0xae8991,_0x245acc,_0x171983)=>{var _0x1a2271=_0x3ebd1b;for(var _0x584937=_0x171983>0x1?void 0x0:_0x171983?Lr(_0xae8991,_0x245acc):_0xae8991,_0x2faafc=_0x47cdeb[_0x1a2271(0x363)]-0x1,_0x1a1fbe;_0x2faafc>=0x0;_0x2faafc--)(_0x1a1fbe=_0x47cdeb[_0x2faafc])&&(_0x584937=_0x1a1fbe(_0x584937)||_0x584937);return _0x584937;},Ue=(_0x593dae,_0x1f3f06)=>(_0x3372e9,_0x35fad3)=>_0x1f3f06(_0x3372e9,_0x35fad3,_0x593dae);const Ii=_0x1ecba2('univer-pro.collaboration-client-socket-service');function kr(_0x585ed9,_0x1be4d5,_0x27d76c){var _0xdf2e22=_0x3ebd1b;return _0x585ed9+'/'+_0x1be4d5+_0xdf2e22(0x332)+_0x27d76c+_0xdf2e22(0x1c4);}let Vt=class extends _0x18c765{constructor(_0x2d75ce,_0x5561d3,_0x5b8aed,_0x439891,_0x52304d){var _0x584d8e=_0x3ebd1b;super(),this[_0x584d8e(0x346)]=_0x2d75ce,this[_0x584d8e(0x304)]=_0x5561d3,this[_0x584d8e(0x1d2)]=_0x5b8aed,this[_0x584d8e(0x1a8)]=_0x439891,this['_snapshotServerService']=_0x52304d;}[_0x3ebd1b(0x362)](_0x36c9da){var _0x429d29=_0x3ebd1b;const _0x169eb5=this[_0x429d29(0x346)][_0x429d29(0x285)](_0x2df46f);if(!_0x169eb5)throw new Error(_0x429d29(0x214));const _0x35507f=_0x169eb5[_0x429d29(0x399)](_0x36c9da);if(!_0x35507f)throw new Error(_0x429d29(0x250));const _0x2f88c2=new _0x396e56(),_0x4069cf=new _0x384b9e();_0x2f88c2[_0x429d29(0x303)](_0x35507f[_0x429d29(0x254)][_0x429d29(0x3c0)](_0x277de8=>_0x4069cf['next'](_0x277de8))),_0x2f88c2[_0x429d29(0x303)](_0x2652a7(()=>_0x4069cf[_0x429d29(0x33c)]()));const _0x1aced8=new _0x384b9e();_0x2f88c2[_0x429d29(0x303)](_0x35507f[_0x429d29(0x2e4)][_0x429d29(0x3c0)](_0x137fc8=>_0x1aced8[_0x429d29(0x22a)](_0x137fc8))),_0x2f88c2[_0x429d29(0x303)](_0x2652a7(()=>_0x1aced8['complete']()));const _0x53d2d5=new _0x384b9e();_0x2f88c2['add'](_0x35507f[_0x429d29(0x3b4)][_0x429d29(0x3c0)](_0x205a89=>{var _0x18b474=_0x429d29;const _0x542499=Pr(_0x205a89);_0x53d2d5[_0x18b474(0x22a)](_0x542499);})),_0x2f88c2[_0x429d29(0x303)](_0x2652a7(()=>_0x53d2d5['complete']()));let _0x372845;const _0xbbdb0=()=>{var _0x27e17d=_0x429d29;_0x1aced8[_0x27e17d(0x22a)](new Event(_0x27e17d(0x396))),_0x4069cf[_0x27e17d(0x22a)](new Event(_0x27e17d(0x396))),_0x372845[_0x27e17d(0x301)]();};return _0x372845={'memberID':'','close$':_0x4069cf[_0x429d29(0x477)](),'error$':_0x1aced8[_0x429d29(0x477)](),'open$':_0x35507f[_0x429d29(0x2b0)],'message$':_0x53d2d5[_0x429d29(0x477)](),'send':_0x5a7311=>{var _0x22eaaf=_0x429d29;if(_0x5a7311[_0x22eaaf(0x265)]===F['INGEST']){if(_0x5a7311[_0x22eaaf(0x3fe)][_0x22eaaf(0x2dc)]===_0x29cbe9[_0x22eaaf(0x47f)]){this[_0x22eaaf(0x355)](_0x372845,_0x5a7311[_0x22eaaf(0x3fe)])[_0x22eaaf(0x381)](_0xafe24d=>{var _0x122181=_0x22eaaf;this[_0x122181(0x1a8)][_0x122181(0x1b4)](_0xafe24d),_0xbbdb0();});return;}if(_0x5a7311[_0x22eaaf(0x3fe)][_0x22eaaf(0x2dc)]===_0x29cbe9[_0x22eaaf(0x28b)]){const _0x1a4b7b=_0x5a7311[_0x22eaaf(0x3fe)];this[_0x22eaaf(0x323)](_0x1a4b7b)['then'](_0x4694c3=>{var _0xc00853=_0x22eaaf;_0x53d2d5['next']({'cmd':F[_0xc00853(0x218)],'code':ge['OK'],'routeKey':_0x1a4b7b['data'][_0xc00853(0x31d)],'routeType':'','data':{'eventID':_0x29cbe9[_0xc00853(0x25c)],'data':{'changesets':_0x4694c3}}});})[_0x22eaaf(0x381)](_0x3e7727=>{var _0x292e0f=_0x22eaaf;this['_logService'][_0x292e0f(0x1b4)](_0x3e7727),_0xbbdb0();});return;}}_0x35507f['send'](xr(_0x5a7311));},'close':()=>{var _0x303e4b=_0x429d29;_0x35507f[_0x303e4b(0x301)](),_0x2f88c2['dispose']();}},_0x372845;}async[_0x3ebd1b(0x355)](_0x2ea828,_0x3f6860){var _0x2a5420=_0x3ebd1b,_0x442fa9,_0x385d79;const {unitType:_0x215d0e,unitID:_0x1739e2,changeset:_0x628aa}=_0x3f6860[_0x2a5420(0x3fe)],_0x1a4cb9={'unitID':_0x1739e2,'memberID':_0x2ea828[_0x2a5420(0x316)],'type':_0x215d0e,'changeset':_0x230f2c(_0x628aa)},_0x17899b=this['_configService']['getConfig'](Or),_0x20414d=this[_0x2a5420(0x1d2)]['getConfig'](q),_0x28584b=kr((_0x385d79=(_0x442fa9=_0x20414d==null?void 0x0:_0x20414d[_0x2a5420(0x204)])!=null?_0x442fa9:_0x17899b)!=null?_0x385d79:Nr,_0x215d0e,_0x1739e2);try{await this[_0x2a5420(0x304)]['post'](_0x28584b,{'body':_0x1a4cb9});}catch(_0x3439a1){throw this['_logService'][_0x2a5420(0x1b4)]('[CollaborationSession]',_0x2a5420(0x442)),_0x3439a1;}}async['_fetchMissChangesets'](_0x3fe7e6){var _0x3ec925=_0x3ebd1b;const {unitID:_0x5df079,from:_0x16582d,to:_0x53bee,unitType:_0x442f2b}=_0x3fe7e6[_0x3ec925(0x3fe)];return(await this['_snapshotServerService'][_0x3ec925(0x1d6)]({'metadata':void 0x0},{'unitID':_0x5df079,'type':_0x442f2b,'from':_0x16582d,'to':_0x53bee}))[_0x3ec925(0x249)];}};Vt=Mr([Ue(0x0,_0x4f3deb(_0x4fddf8)),Ue(0x1,_0x4f3deb(_0x33658e)),Ue(0x2,_0x2a770c),Ue(0x3,_0x53833e),Ue(0x4,_0x481b0)],Vt);const $r=_0x3ebd1b(0x288);function Hr(_0x939a1){var _0x46e1fe=_0x3ebd1b;return JSON[_0x46e1fe(0x48d)](_0x939a1)[_0x46e1fe(0x363)];}class Ti{constructor(){var _0x13f925=_0x3ebd1b;N(this,'_commentUpdate$',new _0x384b9e()),N(this,'commentUpdate$',this[_0x13f925(0x39b)][_0x13f925(0x477)]());}['onCommentUpdate'](_0x369c89){var _0x55a921=_0x3ebd1b;this[_0x55a921(0x39b)][_0x55a921(0x22a)](_0x369c89);}}var Br=Object['getOwnPropertyDescriptor'],jr=(_0x48e826,_0x1609c6,_0x3a46a8,_0x253ada)=>{for(var _0x14a70d=_0x253ada>0x1?void 0x0:_0x253ada?Br(_0x1609c6,_0x3a46a8):_0x1609c6,_0x77cb90=_0x48e826['length']-0x1,_0x13a5d6;_0x77cb90>=0x0;_0x77cb90--)(_0x13a5d6=_0x48e826[_0x77cb90])&&(_0x14a70d=_0x13a5d6(_0x14a70d)||_0x14a70d);return _0x14a70d;},Wt=(_0x4f8167,_0x5e3851)=>(_0x34e34d,_0x8be9d5)=>_0x5e3851(_0x34e34d,_0x8be9d5,_0x4f8167);let xe=class extends _0x18c765{constructor(_0x224916,_0x20349e){var _0x5c974e=_0x3ebd1b;super(),N(this,_0x5c974e(0x319),new Map()),N(this,_0x5c974e(0x314),new _0x384b9e()),(this[_0x5c974e(0x419)]=_0x224916,this[_0x5c974e(0x266)]=_0x20349e,this[_0x5c974e(0x417)](_0x4f1458(this[_0x5c974e(0x419)]['getTypeOfUnitDisposed$'](_0x6e43e8[_0x5c974e(0x3f5)])[_0x5c974e(0x2e0)](_0x182a28(_0x3518cb=>_0x3518cb[_0x5c974e(0x41a)]())),this[_0x5c974e(0x419)][_0x5c974e(0x20d)](_0x6e43e8['UNIVER_DOC'])[_0x5c974e(0x2e0)](_0x182a28(_0x4b1079=>_0x4b1079['getUnitId']())),this[_0x5c974e(0x419)][_0x5c974e(0x20d)](_0x6e43e8[_0x5c974e(0x3aa)])[_0x5c974e(0x2e0)](_0x182a28(_0x48edcd=>_0x48edcd[_0x5c974e(0x41a)]())))['subscribe'](_0x4c664e=>this[_0x5c974e(0x264)](_0x4c664e))));}[_0x3ebd1b(0x395)](_0x18ccc1){var _0x1da282=_0x3ebd1b;return this[_0x1da282(0x319)][_0x1da282(0x386)](_0x18ccc1)?_0x490a2c(this[_0x1da282(0x319)][_0x1da282(0x285)](_0x18ccc1)):this[_0x1da282(0x314)][_0x1da282(0x2e0)](_0x182a28(_0x5a0525=>{var _0x48d293=_0x1da282;if(_0x5a0525===_0x18ccc1)return this[_0x48d293(0x319)][_0x48d293(0x285)](_0x5a0525);}));}[_0x3ebd1b(0x3fb)](_0x8ca3e2){var _0x35aa41=_0x3ebd1b;this[_0x35aa41(0x266)]['setCurrentUser'](_0x8ca3e2);}[_0x3ebd1b(0x24b)](){var _0x141f63=_0x3ebd1b;return this[_0x141f63(0x266)][_0x141f63(0x24b)]();}[_0x3ebd1b(0x21b)](_0x51249a,_0x2e871d){var _0x1c9f3d=_0x3ebd1b;let _0x32dd89=this[_0x1c9f3d(0x319)][_0x1c9f3d(0x285)](_0x51249a);_0x32dd89||(_0x32dd89=new Fr(),this[_0x1c9f3d(0x319)][_0x1c9f3d(0x3c2)](_0x51249a,_0x32dd89),this[_0x1c9f3d(0x314)][_0x1c9f3d(0x22a)](_0x51249a)),_0x32dd89['updateMember'](_0x2e871d);}[_0x3ebd1b(0x1ec)](_0x1d5594,_0x3801c5){var _0x5c34bb=_0x3ebd1b;const _0x227b5a=this['_roomMembers']['get'](_0x1d5594);_0x227b5a&&_0x227b5a[_0x5c34bb(0x1ec)](_0x3801c5);}['getRoom'](_0x39f341){return this['_roomMembers']['get'](_0x39f341);}[_0x3ebd1b(0x212)](_0x2be8c8,_0x3c9eb3){var _0x3565ec=_0x3ebd1b;const _0x1bcd74=this[_0x3565ec(0x319)][_0x3565ec(0x285)](_0x2be8c8);if(_0x1bcd74)return _0x1bcd74[_0x3565ec(0x212)](_0x3c9eb3);}['_removeRoom'](_0x5632a8){var _0x3eb06f=_0x3ebd1b;const _0x1296b1=this['_roomMembers'][_0x3eb06f(0x285)](_0x5632a8);_0x1296b1&&(_0x1296b1[_0x3eb06f(0x27c)](),this[_0x3eb06f(0x319)][_0x3eb06f(0x488)](_0x5632a8));}['dispose'](){var _0x3300c1=_0x3ebd1b;this[_0x3300c1(0x319)][_0x3300c1(0x326)](_0x504679=>_0x504679[_0x3300c1(0x27c)]()),this[_0x3300c1(0x319)][_0x3300c1(0x3c8)](),this[_0x3300c1(0x314)][_0x3300c1(0x33c)]();}};xe=jr([Wt(0x0,_0x42c510),Wt(0x1,_0x4f3deb(_0x5e4c97))],xe);class Fr extends _0x18c765{constructor(){var _0x3bd2c8=_0x3ebd1b;super(...arguments),N(this,'_members',new Map()),N(this,_0x3bd2c8(0x268),new _0x15d586(this[_0x3bd2c8(0x1ee)])),N(this,'members$',this[_0x3bd2c8(0x268)][_0x3bd2c8(0x477)]());}[_0x3ebd1b(0x27c)](){var _0x236f3e=_0x3ebd1b;this[_0x236f3e(0x1ee)][_0x236f3e(0x3c8)]();}[_0x3ebd1b(0x21b)](_0x108c4c){var _0x3d49c1=_0x3ebd1b;this[_0x3d49c1(0x1ee)][_0x3d49c1(0x3c2)](_0x108c4c[_0x3d49c1(0x316)],_0x108c4c),this[_0x3d49c1(0x36f)]();}[_0x3ebd1b(0x1ec)](_0x2a5636){this['_members']['delete'](_0x2a5636);}[_0x3ebd1b(0x212)](_0x5b8a01){var _0x370c4c=_0x3ebd1b;return this['_members'][_0x370c4c(0x285)](_0x5b8a01);}['getAllMembers'](){var _0x4a6f07=_0x3ebd1b;return Array[_0x4a6f07(0x2a4)](this['_members'][_0x4a6f07(0x21f)]());}[_0x3ebd1b(0x36f)](){var _0x21849b=_0x3ebd1b;this['_members$']['next'](this[_0x21849b(0x1ee)]);}}var Gr=Object[_0x3ebd1b(0x2a5)],Vr=(_0x3a0493,_0x41b0e9,_0x18e656,_0x40207e)=>{var _0x35dd0d=_0x3ebd1b;for(var _0x5af159=_0x40207e>0x1?void 0x0:_0x40207e?Gr(_0x41b0e9,_0x18e656):_0x41b0e9,_0x22b0fe=_0x3a0493[_0x35dd0d(0x363)]-0x1,_0x3f46ab;_0x22b0fe>=0x0;_0x22b0fe--)(_0x3f46ab=_0x3a0493[_0x22b0fe])&&(_0x5af159=_0x3f46ab(_0x5af159)||_0x5af159);return _0x5af159;},me=(_0x1f9079,_0x1b82b6)=>(_0x5580fd,_0x2e14a1)=>_0x1b82b6(_0x5580fd,_0x2e14a1,_0x1f9079),Ee=(_0x35f15e=>(_0x35f15e[_0x35f15e[_0x3ebd1b(0x33a)]=0x0]=_0x3ebd1b(0x33a),_0x35f15e[_0x35f15e[_0x3ebd1b(0x32c)]=0x1]=_0x3ebd1b(0x32c),_0x35f15e[_0x35f15e[_0x3ebd1b(0x3ad)]=0x2]=_0x3ebd1b(0x3ad),_0x35f15e[_0x35f15e['ONLINE']=0x3]=_0x3ebd1b(0x34d),_0x35f15e))(Ee||{});const Kt={[ge[_0x3ebd1b(0x43d)]]:_0x3ebd1b(0x2a2),[ge[_0x3ebd1b(0x472)]]:_0x3ebd1b(0x3b7),[ge[_0x3ebd1b(0x1ca)]]:_0x3ebd1b(0x37d),[ge[_0x3ebd1b(0x37f)]]:_0x3ebd1b(0x3ae),[ge['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};let Et=class extends _0x32d278{constructor(_0xbd718,_0x2a0471,_0x46b384,_0x316df8,_0x580dae,_0x4f9cf1,_0x2d4032,_0x239e34,_0x7a2bbd){var _0x1adcd5=_0x3ebd1b;super(),N(this,_0x1adcd5(0x2d2),new _0x15d586(0x0)),N(this,_0x1adcd5(0x365),this[_0x1adcd5(0x2d2)][_0x1adcd5(0x477)]()),N(this,_0x1adcd5(0x452),new _0x384b9e()),N(this,_0x1adcd5(0x36c),this[_0x1adcd5(0x452)]['asObservable']()),N(this,'_socket'),N(this,_0x1adcd5(0x2fe)),N(this,_0x1adcd5(0x251)),N(this,_0x1adcd5(0x478),!0x1),N(this,_0x1adcd5(0x25d),null),(this[_0x1adcd5(0x234)]=_0xbd718,this[_0x1adcd5(0x1a8)]=_0x46b384,this[_0x1adcd5(0x1d2)]=_0x316df8,this[_0x1adcd5(0x24c)]=_0x580dae,this[_0x1adcd5(0x2de)]=_0x4f9cf1,this[_0x1adcd5(0x331)]=_0x2d4032,this[_0x1adcd5(0x2f2)]=_0x239e34,this[_0x1adcd5(0x2ae)]=_0x7a2bbd,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x2a0471[_0x1adcd5(0x2e0)](_0x10896f(this[_0x1adcd5(0x2e3)]))[_0x1adcd5(0x3c0)](_0x124187=>{var _0x1c7a2a=_0x1adcd5,_0x412d93;typeof _0x124187>'u'||(this[_0x1c7a2a(0x279)]=_0x124187,_0x124187?(this[_0x1c7a2a(0x41b)](_0x124187),this[_0x1c7a2a(0x2fe)]=_0x124187['message$'][_0x1c7a2a(0x3c0)](_0x4e7f43=>{var _0x3be894=_0x1c7a2a;_0x4e7f43[_0x3be894(0x42e)]===this[_0x3be894(0x234)]&&this[_0x3be894(0x1fd)](_0x4e7f43);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x1c7a2a(0x2d2)][_0x1c7a2a(0x22a)](0x2),(_0x412d93=this['_socketMessageSubscription'])==null||_0x412d93[_0x1c7a2a(0x3f0)](),this['_socketMessageSubscription']=null));}));}get[_0x3ebd1b(0x385)](){var _0x1975f7=_0x3ebd1b;return this[_0x1975f7(0x2d2)][_0x1975f7(0x222)]();}[_0x3ebd1b(0x2be)](){var _0x14b59f=_0x3ebd1b,_0x299c9e,_0x5472dc;return(_0x5472dc=(_0x299c9e=this['_socket'])==null?void 0x0:_0x299c9e[_0x14b59f(0x316)])!=null?_0x5472dc:null;}[_0x3ebd1b(0x27c)](){var _0x2a190a=_0x3ebd1b;super['dispose'](),this[_0x2a190a(0x2e3)][_0x2a190a(0x22a)](),this[_0x2a190a(0x2e3)][_0x2a190a(0x33c)]();}[_0x3ebd1b(0x301)](){var _0x5ab7a0=_0x3ebd1b,_0x916352,_0xd23490;this[_0x5ab7a0(0x23f)](),(_0x916352=this[_0x5ab7a0(0x279)])==null||_0x916352[_0x5ab7a0(0x351)]({'cmd':F[_0x5ab7a0(0x470)],'data':{'roomID':this[_0x5ab7a0(0x234)]}}),(_0xd23490=this[_0x5ab7a0(0x279)])==null||_0xd23490[_0x5ab7a0(0x301)](),this[_0x5ab7a0(0x452)]['complete'](),this['_sessionStatus$'][_0x5ab7a0(0x33c)](),this[_0x5ab7a0(0x27c)]();}[_0x3ebd1b(0x1fd)](_0x2868a0){var _0x280368=_0x3ebd1b;_0x2868a0[_0x280368(0x265)]===F[_0x280368(0x1b3)]?this[_0x280368(0x481)](_0x2868a0):_0x2868a0['cmd']===F[_0x280368(0x218)]&&this[_0x280368(0x1bd)](_0x2868a0);}[_0x3ebd1b(0x41b)](_0x264e36){var _0x1d08ac=_0x3ebd1b;this[_0x1d08ac(0x2d2)][_0x1d08ac(0x22a)](0x1),_0x264e36[_0x1d08ac(0x351)]({'cmd':F[_0x1d08ac(0x1b3)],'routeKey':this[_0x1d08ac(0x234)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1d08ac(0x234)]}]}});}['_onJoinRoomEvent'](_0x25662d){var _0x44b2de=_0x3ebd1b,_0xa494c;if(_0x25662d['code']in Kt){this[_0x44b2de(0x2f2)]['emitEvent']({'id':se[_0x44b2de(0x49d)],'data':Kt[_0x25662d[_0x44b2de(0x49f)]]}),this[_0x44b2de(0x2d2)]['next'](0x2);return;}this[_0x44b2de(0x2d2)][_0x44b2de(0x22a)](0x3);const _0x3dce0f=(_0xa494c=_0x25662d[_0x44b2de(0x3fe)][_0x44b2de(0x48a)][this[_0x44b2de(0x234)]])==null?void 0x0:_0xa494c[_0x44b2de(0x27d)];_0x3dce0f&&_0x3dce0f[_0x44b2de(0x326)](_0x2d09fb=>this[_0x44b2de(0x2de)][_0x44b2de(0x21b)](this['_unitID'],_0x2d09fb));}[_0x3ebd1b(0x1bd)](_0x1a8efa){var _0xd13945=_0x3ebd1b;try{const _0xb4cf18=_0x1a8efa[_0xd13945(0x3fe)];switch(_0xb4cf18[_0xd13945(0x2dc)]){case _0x29cbe9[_0xd13945(0x400)]:this[_0xd13945(0x242)](_0xb4cf18),this[_0xd13945(0x452)]['next'](_0xb4cf18);break;case _0x29cbe9['USERS_LEAVE']:this[_0xd13945(0x45d)](_0xb4cf18),this[_0xd13945(0x452)][_0xd13945(0x22a)](_0xb4cf18);break;case _0x29cbe9[_0xd13945(0x298)]:case _0x29cbe9[_0xd13945(0x31c)]:this[_0xd13945(0x3b2)](),this[_0xd13945(0x3ce)](),this['_event$']['next'](_0xb4cf18);break;case _0x29cbe9[_0xd13945(0x3da)]:this[_0xd13945(0x1a8)][_0xd13945(0x1b4)](_0xd13945(0x3ba)+JSON[_0xd13945(0x48d)](_0xb4cf18)),this[_0xd13945(0x452)]['next'](_0xb4cf18);break;case _0x29cbe9[_0xd13945(0x338)]:this[_0xd13945(0x331)][_0xd13945(0x26a)](_0xb4cf18[_0xd13945(0x3fe)]),this[_0xd13945(0x452)]['next'](_0xb4cf18);break;default:this[_0xd13945(0x452)][_0xd13945(0x22a)](_0xb4cf18);}}catch(_0x20f818){this['_logService'][_0xd13945(0x1b4)](_0x20f818,_0x1a8efa);}}[_0x3ebd1b(0x242)](_0x527cb9){var _0x25b36b=_0x3ebd1b;this['_memberService']['updateMember'](this[_0x25b36b(0x234)],_0x527cb9[_0x25b36b(0x3fe)]);}[_0x3ebd1b(0x45d)](_0x267257){var _0x39bd1c=_0x3ebd1b;this['_memberService'][_0x39bd1c(0x1ec)](this[_0x39bd1c(0x234)],_0x267257[_0x39bd1c(0x3fe)][_0x39bd1c(0x316)]);}async[_0x3ebd1b(0x351)](_0x2be98f,_0x2b433a){var _0x34df09=_0x3ebd1b;if(this['sessionStatus']!==0x3||!this[_0x34df09(0x279)])throw new Error(_0x34df09(0x408));try{_0x2be98f[_0x34df09(0x2dc)]===_0x29cbe9[_0x34df09(0x47f)]&&(this[_0x34df09(0x39f)](),this[_0x34df09(0x44e)](_0x2be98f)),this[_0x34df09(0x279)][_0x34df09(0x351)]({'cmd':F['INGEST'],'routeKey':_0x2b433a,'routeType':'','data':_0x2be98f});}catch(_0x596bd7){this[_0x34df09(0x1a8)]['error'](_0x596bd7);}}['_scheduleCollaborationTimeoutTimer'](){var _0x16e76d=_0x3ebd1b,_0x4ba801;this[_0x16e76d(0x251)]=setTimeout(()=>{var _0x1726fd=_0x16e76d;this[_0x1726fd(0x251)]=null,this[_0x1726fd(0x2f2)][_0x1726fd(0x2a0)]({'id':se[_0x1726fd(0x2fb)]});},(_0x4ba801=this[_0x16e76d(0x1d2)][_0x16e76d(0x445)](mi))!=null?_0x4ba801:gi);}[_0x3ebd1b(0x3ce)](){var _0x4d5595=_0x3ebd1b;this[_0x4d5595(0x251)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x4d5595(0x251)]=null);}[_0x3ebd1b(0x44e)](_0x47d595){var _0x591067=_0x3ebd1b;if(!this[_0x591067(0x478)])return;const {data:_0x552e87}=_0x47d595,{unitID:_0x538a2d,changeset:_0x401f84}=_0x552e87,{mutations:_0x772af8,type:_0x2034b0}=_0x401f84;this[_0x591067(0x25d)]={'unitId':_0x538a2d,'type':_0x2034b0,'startTime':performance[_0x591067(0x315)](),'stopTime':0x0,'duration':0x0,'size':Hr(_0x772af8)};}[_0x3ebd1b(0x3b2)](){var _0x1ae1e4=_0x3ebd1b;if(this[_0x1ae1e4(0x478)]){if(!this['_telemetryInfo']){this[_0x1ae1e4(0x1a8)][_0x1ae1e4(0x1b4)](_0x1ae1e4(0x1e1),_0x1ae1e4(0x290));return;}this[_0x1ae1e4(0x25d)]['stopTime']=performance['now'](),this['_telemetryInfo'][_0x1ae1e4(0x321)]=this[_0x1ae1e4(0x25d)][_0x1ae1e4(0x3ed)]-this[_0x1ae1e4(0x25d)]['startTime'],this[_0x1ae1e4(0x2ae)][_0x1ae1e4(0x420)]($r,this['_telemetryInfo']),this[_0x1ae1e4(0x25d)]=null;}}[_0x3ebd1b(0x23f)](){var _0x3d0cf1=_0x3ebd1b;this[_0x3d0cf1(0x25d)]=null;}};function _0x44ec(_0xeda207,_0x55cd01){var _0x1c7c44=_0x1c7c();return _0x44ec=function(_0x44ecfc,_0x56497e){_0x44ecfc=_0x44ecfc-0x1a3;var _0x338375=_0x1c7c44[_0x44ecfc];return _0x338375;},_0x44ec(_0xeda207,_0x55cd01);}Et=Vr([me(0x2,_0x53833e),me(0x3,_0x2a770c),me(0x4,_0x4f3deb(_0xb18863)),me(0x5,_0x4f3deb(xe)),me(0x6,_0x4f3deb(Ti)),me(0x7,_0x4f3deb(pe)),me(0x8,_0x3b02db(_0x5da75c))],Et);var Wr=Object[_0x3ebd1b(0x2a5)],Kr=(_0x538057,_0x591c25,_0x287d02,_0x4d8ae5)=>{var _0x414315=_0x3ebd1b;for(var _0xc83000=_0x4d8ae5>0x1?void 0x0:_0x4d8ae5?Wr(_0x591c25,_0x287d02):_0x591c25,_0x47a435=_0x538057[_0x414315(0x363)]-0x1,_0x56a3f3;_0x47a435>=0x0;_0x47a435--)(_0x56a3f3=_0x538057[_0x47a435])&&(_0xc83000=_0x56a3f3(_0xc83000)||_0xc83000);return _0xc83000;},be=(_0x4a7710,_0x206998)=>(_0x1083a8,_0x454cc8)=>_0x206998(_0x1083a8,_0x454cc8,_0x4a7710);let Le=class extends _0x18c765{constructor(_0xa4f7cd,_0x5bd1f8,_0x50d874,_0xfd538,_0x2eb622,_0x3a0fc1){var _0x105cdc=_0x3ebd1b;super(),N(this,_0x105cdc(0x2ca),new _0x15d586(void 0x0)),N(this,_0x105cdc(0x3c9),this['_socket$'][_0x105cdc(0x477)]()),N(this,_0x105cdc(0x402),null),N(this,'_sessions',new Map()),N(this,'_status$',new _0x15d586(Ee['IDLE'])),N(this,_0x105cdc(0x3de),this[_0x105cdc(0x238)][_0x105cdc(0x477)]()),N(this,_0x105cdc(0x1c9),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x105cdc(0x1bc),0x0),N(this,_0x105cdc(0x21c)),N(this,'_timeoutTimer'),(this['_injector']=_0xa4f7cd,this[_0x105cdc(0x1a8)]=_0x5bd1f8,this[_0x105cdc(0x1d2)]=_0x50d874,this[_0x105cdc(0x360)]=_0xfd538,this[_0x105cdc(0x2f2)]=_0x2eb622,this[_0x105cdc(0x336)]=_0x3a0fc1,this['_listenToNetworkCondition']());}get['_socket'](){var _0x1fb41e=_0x3ebd1b;return this[_0x1fb41e(0x2ca)]['getValue']();}['_listenToNetworkCondition'](){var _0xe9413=_0x3ebd1b;this[_0xe9413(0x336)]&&this['disposeWithMe'](this[_0xe9413(0x336)][_0xe9413(0x3f4)][_0xe9413(0x3c0)](_0x5f37cb=>{var _0x5427a5=_0xe9413;_0x5f37cb&&!this[_0x5427a5(0x279)]&&this[_0x5427a5(0x215)](),_0x5f37cb||this['_onOffline']();}));}[_0x3ebd1b(0x27c)](){var _0x3abae0=_0x3ebd1b;super[_0x3abae0(0x27c)](),this[_0x3abae0(0x270)](),this[_0x3abae0(0x392)](),this['_clearHeartbeatTimer'](),this[_0x3abae0(0x29d)]['forEach'](_0x2d5857=>_0x2d5857[_0x3abae0(0x27c)]()),this['_sessions']['clear'](),this['_status$'][_0x3abae0(0x33c)]();}async[_0x3ebd1b(0x26f)](_0x268b94){var _0x171318=_0x3ebd1b;if(this[_0x171318(0x29d)][_0x171318(0x386)](_0x268b94))return this['_sessions'][_0x171318(0x285)](_0x268b94);this[_0x171318(0x350)]();const _0x172763=this['_injector'][_0x171318(0x1fc)](Et,_0x268b94,this[_0x171318(0x2ca)][_0x171318(0x477)]());return this[_0x171318(0x29d)][_0x171318(0x3c2)](_0x268b94,_0x172763),_0x172763;}[_0x3ebd1b(0x1aa)](_0x680dcb){var _0x3edba2=_0x3ebd1b,_0x104a20;const _0xe8f61e=this['_sessions']['get'](_0x680dcb);_0xe8f61e&&(this[_0x3edba2(0x29d)][_0x3edba2(0x488)](_0x680dcb),_0xe8f61e[_0x3edba2(0x301)]()),this[_0x3edba2(0x29d)][_0x3edba2(0x461)]||(_0x104a20=this[_0x3edba2(0x279)])==null||_0x104a20[_0x3edba2(0x301)]();}[_0x3ebd1b(0x215)](){var _0x504b26=_0x3ebd1b;this[_0x504b26(0x1bc)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x504b26(0x3e8)]();}['_clearRetryConnectingTimer'](){var _0x33eefb=_0x3ebd1b;this[_0x33eefb(0x499)]!=null&&(clearTimeout(this[_0x33eefb(0x499)]),this[_0x33eefb(0x499)]=null);}async['_createSocket'](){var _0x85ef42=_0x3ebd1b,_0x391ae3,_0x117000;const _0x2f03aa=this[_0x85ef42(0x1d2)]['getConfig'](Er),_0x5328f5=this['_configService'][_0x85ef42(0x445)](q),_0x25a835=(_0x117000=(_0x391ae3=_0x5328f5==null?void 0x0:_0x5328f5['collabWebSocketUrl'])!=null?_0x391ae3:_0x2f03aa)!=null?_0x117000:Ir,_0x4b91b6=await this[_0x85ef42(0x360)]['createSocket'](_0x25a835);return this[_0x85ef42(0x402)]=_0x4b91b6,_0x4b91b6;}async['_tryEnsureSocket'](){var _0x5adc1a=_0x3ebd1b,_0x1435db,_0x50fc95;try{const _0x4ddc45=(_0x50fc95=(_0x1435db=this[_0x5adc1a(0x279)])!=null?_0x1435db:this[_0x5adc1a(0x402)])!=null?_0x50fc95:await this[_0x5adc1a(0x31b)]();if(_0x4ddc45){const _0x3face8=_0x4ddc45[_0x5adc1a(0x351)];_0x4ddc45[_0x5adc1a(0x351)]=_0x38fd23=>(this[_0x5adc1a(0x42d)](),_0x3face8['apply'](_0x4ddc45,[_0x38fd23])),_0x4ddc45[_0x5adc1a(0x3b4)][_0x5adc1a(0x3c0)](_0xae1bb5=>this[_0x5adc1a(0x41c)](_0x4ddc45,_0xae1bb5)),_0x4ddc45[_0x5adc1a(0x2e4)][_0x5adc1a(0x2e0)](_0x36ff41(0x1))[_0x5adc1a(0x3c0)](_0x20c05a=>this[_0x5adc1a(0x1a8)]['error'](_0x5adc1a(0x253),_0x20c05a)),_0x4ddc45['open$'][_0x5adc1a(0x2e0)](_0x36ff41(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x4ddc45);}),_0x4ddc45[_0x5adc1a(0x254)]['pipe'](_0x36ff41(0x1))[_0x5adc1a(0x3c0)](_0x5b5e70=>{var _0x1feb85=_0x5adc1a;this[_0x1feb85(0x1a8)][_0x1feb85(0x3fa)](_0x1feb85(0x42a),_0x1feb85(0x1f4),_0x5b5e70),this['_onConnectionFailed']();});}}catch(_0x196cd9){this[_0x5adc1a(0x1a8)][_0x5adc1a(0x1b4)](_0x196cd9),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x3f7f40){var _0x2af318=_0x3ebd1b;this[_0x2af318(0x1a8)]['debug']('[CollaborationSessionService]',_0x2af318(0x3ac)),_0x3f7f40['send']({'cmd':F[_0x2af318(0x48f)]}),this[_0x2af318(0x42d)]();}[_0x3ebd1b(0x20e)](){var _0x15f9de=_0x3ebd1b;this[_0x15f9de(0x1c9)]=!0x1,this[_0x15f9de(0x402)]=null,this[_0x15f9de(0x238)][_0x15f9de(0x22a)](Ee['OFFLINE']),this[_0x15f9de(0x2ca)]['next'](null),this['_clearTimeoutTimer'](),this[_0x15f9de(0x228)]();}[_0x3ebd1b(0x32b)](){var _0x57968a=_0x3ebd1b,_0x38482d;this[_0x57968a(0x20e)](),this[_0x57968a(0x1bc)]<((_0x38482d=this['_configService']['getConfig'](br))!=null?_0x38482d:yr)?(this[_0x57968a(0x2f2)][_0x57968a(0x2a0)]({'id':se[_0x57968a(0x30f)]}),this['_tryReconnect']()):this[_0x57968a(0x2f2)][_0x57968a(0x2a0)]({'id':se[_0x57968a(0x2b8)]});}[_0x3ebd1b(0x3e8)](){var _0x510b06=_0x3ebd1b,_0x52cfc4;const _0x46eac3=this[_0x510b06(0x1bc)],_0x29fac2=this[_0x510b06(0x1d2)][_0x510b06(0x445)](q),_0x215005=_0x46eac3===0x0?0x0:((_0x52cfc4=_0x29fac2==null?void 0x0:_0x29fac2[_0x510b06(0x2a6)])!=null?_0x52cfc4:Rr)*0x2**_0x46eac3;this[_0x510b06(0x499)]=setTimeout(()=>{var _0x54c2f1=_0x510b06;clearTimeout(this[_0x54c2f1(0x499)]),this[_0x54c2f1(0x499)]=null,this[_0x54c2f1(0x350)]();},_0x215005),this[_0x510b06(0x1bc)]+=0x1;}[_0x3ebd1b(0x41c)](_0xcdf8c,_0x1b7795){var _0x2e34a3=_0x3ebd1b;const {cmd:_0x39c09d}=_0x1b7795;_0x39c09d===F[_0x2e34a3(0x48f)]&&!this['_socketReady']&&(_0xcdf8c['memberID']=_0x1b7795['data'][_0x2e34a3(0x316)],this[_0x2e34a3(0x2ca)][_0x2e34a3(0x22a)](_0xcdf8c),this[_0x2e34a3(0x238)][_0x2e34a3(0x22a)](Ee[_0x2e34a3(0x34d)]),this[_0x2e34a3(0x1c9)]=!0x0,this['_candidateSocket']=null),_0x39c09d===F[_0x2e34a3(0x2f1)]&&this[_0x2e34a3(0x392)](),this[_0x2e34a3(0x42d)]();}[_0x3ebd1b(0x42d)](){var _0x5f23ec=_0x3ebd1b,_0x3c4272;this['_clearHeartbeatTimer'](),this[_0x5f23ec(0x21c)]=setTimeout(()=>this[_0x5f23ec(0x2af)](),(_0x3c4272=this['_configService'][_0x5f23ec(0x445)](Tr))!=null?_0x3c4272:Cr);}['_sendHeartbeat'](){var _0x179e4a=_0x3ebd1b;this['_socket'][_0x179e4a(0x351)]({'cmd':F[_0x179e4a(0x2f1)]}),this[_0x179e4a(0x3a1)]();}[_0x3ebd1b(0x3a1)](){var _0x2c10c8=_0x3ebd1b,_0x1cd6a5;this[_0x2c10c8(0x309)]=setTimeout(()=>this[_0x2c10c8(0x32b)](),(_0x1cd6a5=this[_0x2c10c8(0x1d2)][_0x2c10c8(0x445)](mi))!=null?_0x1cd6a5:gi);}[_0x3ebd1b(0x228)](){var _0x875dc=_0x3ebd1b;this[_0x875dc(0x21c)]!=null&&(clearTimeout(this[_0x875dc(0x21c)]),this[_0x875dc(0x21c)]=null);}[_0x3ebd1b(0x392)](){var _0x15c9d4=_0x3ebd1b;this[_0x15c9d4(0x309)]!=null&&(clearTimeout(this[_0x15c9d4(0x309)]),this['_timeoutTimer']=null);}};Le=Kr([be(0x0,_0x4f3deb(_0x4fddf8)),be(0x1,_0x53833e),be(0x2,_0x2a770c),be(0x3,Ii),be(0x4,_0x4f3deb(pe)),be(0x5,_0x3b02db(Ar))],Le);const G=[];for(let i=0x0;i<0x100;++i)G[_0x3ebd1b(0x427)]((i+0x100)[_0x3ebd1b(0x1ab)](0x10)[_0x3ebd1b(0x1dc)](0x1));function Yr(_0x5c7aab,_0x1f486f=0x0){var _0x185b13=_0x3ebd1b;return(G[_0x5c7aab[_0x1f486f+0x0]]+G[_0x5c7aab[_0x1f486f+0x1]]+G[_0x5c7aab[_0x1f486f+0x2]]+G[_0x5c7aab[_0x1f486f+0x3]]+'-'+G[_0x5c7aab[_0x1f486f+0x4]]+G[_0x5c7aab[_0x1f486f+0x5]]+'-'+G[_0x5c7aab[_0x1f486f+0x6]]+G[_0x5c7aab[_0x1f486f+0x7]]+'-'+G[_0x5c7aab[_0x1f486f+0x8]]+G[_0x5c7aab[_0x1f486f+0x9]]+'-'+G[_0x5c7aab[_0x1f486f+0xa]]+G[_0x5c7aab[_0x1f486f+0xb]]+G[_0x5c7aab[_0x1f486f+0xc]]+G[_0x5c7aab[_0x1f486f+0xd]]+G[_0x5c7aab[_0x1f486f+0xe]]+G[_0x5c7aab[_0x1f486f+0xf]])[_0x185b13(0x3a8)]();}let ut;const qr=new Uint8Array(0x10);function zr(){var _0x4ecd9a=_0x3ebd1b;if(!ut){if(typeof crypto>'u'||!crypto[_0x4ecd9a(0x3a7)])throw new Error(_0x4ecd9a(0x3cf));ut=crypto[_0x4ecd9a(0x3a7)][_0x4ecd9a(0x1ce)](crypto);}return ut(qr);}const Jr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x3ebd1b(0x40a)]['bind'](crypto),Yt={'randomUUID':Jr};function Xr(_0xa42b24,_0x1bc9e4,_0x5e9b){var _0x1348bd=_0x3ebd1b,_0x172860,_0x3e7b45,_0x3a3b5e;if(Yt[_0x1348bd(0x40a)]&&!_0xa42b24)return Yt[_0x1348bd(0x40a)]();_0xa42b24=_0xa42b24||{};const _0x916498=(_0x3a3b5e=(_0x3e7b45=_0xa42b24[_0x1348bd(0x247)])!=null?_0x3e7b45:(_0x172860=_0xa42b24[_0x1348bd(0x3d8)])==null?void 0x0:_0x172860[_0x1348bd(0x33d)](_0xa42b24))!=null?_0x3a3b5e:zr();if(_0x916498[_0x1348bd(0x363)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x916498[0x6]=_0x916498[0x6]&0xf|0x40,_0x916498[0x8]=_0x916498[0x8]&0x3f|0x80,Yr(_0x916498);}const J=_0x1ecba2(_0x3ebd1b(0x30d));function Bs(_0x4a113b){return'unit-cache-'+_0x4a113b;}var Zr=Object['getOwnPropertyDescriptor'],Qr=(_0x5e6fe2,_0x241259,_0x48f9f0,_0x1fcd55)=>{var _0x3ff153=_0x3ebd1b;for(var _0x356b6e=_0x1fcd55>0x1?void 0x0:_0x1fcd55?Zr(_0x241259,_0x48f9f0):_0x241259,_0x155cb2=_0x5e6fe2[_0x3ff153(0x363)]-0x1,_0xf28acf;_0x155cb2>=0x0;_0x155cb2--)(_0xf28acf=_0x5e6fe2[_0x155cb2])&&(_0x356b6e=_0xf28acf(_0x356b6e)||_0x356b6e);return _0x356b6e;},dt=(_0x3e294d,_0x5a6fd2)=>(_0xc02f93,_0x5ae99d)=>_0x5a6fd2(_0xc02f93,_0x5ae99d,_0x3e294d);function en(_0x1980e9){var _0x3b327e=_0x3ebd1b;const {unitID:_0x3bd0ea,mutations:_0x2a0e10}=_0x1980e9;return{'unitId':_0x3bd0ea,'subUnitId':_0x2a0e10[0x0][_0x3b327e(0x490)][_0x3b327e(0x2c4)]};}let it=class{constructor(_0x2d5e8a,_0x33012a,_0x2571a1){var _0x2a8abb=_0x3ebd1b;this[_0x2a8abb(0x346)]=_0x2d5e8a,this['_transformService']=_0x33012a,this[_0x2a8abb(0x34b)]=_0x2571a1;}[_0x3ebd1b(0x344)](_0x428d8f){var _0x1ac8b4=_0x3ebd1b,_0x487ea5,_0x2227dc,_0x28e4b6,_0x3bfb5d;const _0x5da134=this[_0x1ac8b4(0x346)][_0x1ac8b4(0x285)](_0x450157),{unitId:_0x5cab51,subUnitId:_0x439ff6}=en(_0x428d8f),_0x429dbc=_0x5da134==null?void 0x0:_0x5da134[_0x1ac8b4(0x2d7)](_0x5cab51)['getCurrentSelections'](),_0x49297c=(_0x2227dc=(_0x487ea5=this['_instanceService'][_0x1ac8b4(0x2d5)](_0x5cab51))==null?void 0x0:_0x487ea5['getActiveSheet']())==null?void 0x0:_0x2227dc[_0x1ac8b4(0x49c)]();if(_0x429dbc[_0x1ac8b4(0x363)]===0x0||!_0x5cab51||!_0x439ff6)return;const _0x493ae1=[{'id':_0x422733['id'],'params':{'unitId':_0x5cab51,'subUnitId':_0x49297c,'selections':_0x1bd747['deepClone'](_0x429dbc)}}],_0x1a7982=this['_transformService'][_0x1ac8b4(0x44f)](_0x428d8f,_0x493ae1);if(!_0xa34b7(_0x1a7982))throw _0x1a7982[_0x1ac8b4(0x1b4)];const _0x586ac1=(_0x3bfb5d=(_0x28e4b6=_0x1a7982[_0x1ac8b4(0x1b7)][0x0])==null?void 0x0:_0x28e4b6['params'])==null?void 0x0:_0x3bfb5d[_0x1ac8b4(0x2eb)];if(Array['isArray'](_0x586ac1)&&_0x586ac1[_0x1ac8b4(0x363)]){if(_0x586ac1[_0x1ac8b4(0x363)]===_0x493ae1[0x0][_0x1ac8b4(0x490)][_0x1ac8b4(0x2eb)][_0x1ac8b4(0x363)]&&_0x586ac1[_0x1ac8b4(0x2ac)]((_0x441f2b,_0x5bf236)=>_0x3e8061[_0x1ac8b4(0x23b)](_0x441f2b['range'],_0x493ae1[0x0]['params'][_0x1ac8b4(0x2eb)][_0x5bf236][_0x1ac8b4(0x3bf)])))return;this['_injector'][_0x1ac8b4(0x285)](_0x13fb4e)[_0x1ac8b4(0x329)](_0x422733['id'],{'unitId':_0x5cab51,'subUnitId':_0x49297c,'selections':_0x586ac1});}}};it=Qr([dt(0x0,_0x4f3deb(_0x4fddf8)),dt(0x1,_0x3a4a71),dt(0x2,_0x42c510)],it);const ht=_0x1ecba2(_0x3ebd1b(0x2d0));var Ci=(_0x5543e9=>(_0x5543e9[_0x5543e9[_0x3ebd1b(0x3b8)]=0x0]=_0x3ebd1b(0x3b8),_0x5543e9[_0x5543e9[_0x3ebd1b(0x2fa)]=0x1]=_0x3ebd1b(0x2fa),_0x5543e9))(Ci||{});const tn=new Set([_0x5c3d3c['id']]);function qt(_0x29e300,_0x4a439d,_0x429b03,_0x22a398,_0x2c6b4b){var _0x1cbdf5=_0x3ebd1b,_0x5ed849,_0x52dc31,_0x332a87,_0x109ec7;const _0x203395=[];for(const _0x3cf54e of _0x29e300)if(tn['has'](_0x3cf54e['id'])){if(_0x203395[_0x1cbdf5(0x363)]>0x0)break;_0x203395[_0x1cbdf5(0x427)](_0x3cf54e);break;}else _0x203395[_0x1cbdf5(0x427)](_0x3cf54e);const _0x9ab227=(_0x52dc31=(_0x5ed849=_0x2c6b4b[_0x1cbdf5(0x24b)]())==null?void 0x0:_0x5ed849[_0x1cbdf5(0x3bb)])!=null?_0x52dc31:_0x1cbdf5(0x390),_0x562a55=(_0x109ec7=(_0x332a87=_0x2c6b4b[_0x1cbdf5(0x24b)]())==null?void 0x0:_0x332a87[_0x1cbdf5(0x316)])!=null?_0x109ec7:_0x1cbdf5(0x390);return{'changeset':{'unitID':_0x4a439d,'type':_0x49cbd7(_0x429b03['getUnitType'](_0x4a439d)),'baseRev':_0x22a398[_0x1cbdf5(0x3db)](_0x4a439d),'revision':0x0,'userID':_0x9ab227,'memberID':_0x562a55,'mutations':_0x203395},'pendingMutations':_0x29e300[_0x1cbdf5(0x1dc)](_0x203395[_0x1cbdf5(0x363)])};}function rn(_0x1fe974,_0x554b62,_0x5876df,_0x361bf2,_0x48958c){var _0x1645ba=_0x3ebd1b,_0x5bfdc9,_0x3b7713,_0x4bcb3c,_0x4e2eaf;const _0x5d7257=[_0x1fe974['reduce']((_0x9b04f9,_0x45b8a2)=>{var _0x3a43a1=_0x44ec,_0x476fa3;const {id:_0x190c59}=_0x9b04f9,{id:_0x24195d,type:_0x23e203}=_0x45b8a2,_0x5b2b91=(_0x476fa3=_0x9b04f9['params'])!=null?_0x476fa3:{'actions':null},_0x3636fe=_0x45b8a2[_0x3a43a1(0x490)];if(_0x190c59&&_0x190c59!==_0x24195d)throw new Error(_0x3a43a1(0x305)+_0x190c59+_0x3a43a1(0x46b)+_0x24195d+'.');return{..._0x9b04f9,'id':_0x24195d,'type':_0x23e203,'params':{'unitId':_0x3636fe[_0x3a43a1(0x388)],'textRanges':_0x3636fe[_0x3a43a1(0x409)],'actions':_0x4a9ec1[_0x3a43a1(0x431)](_0x5b2b91[_0x3a43a1(0x1ea)],_0x3636fe[_0x3a43a1(0x1ea)])}};},{})],_0x14404a=(_0x3b7713=(_0x5bfdc9=_0x48958c['getCurrentUser']())==null?void 0x0:_0x5bfdc9[_0x1645ba(0x3bb)])!=null?_0x3b7713:_0x1645ba(0x390),_0x216e97=(_0x4e2eaf=(_0x4bcb3c=_0x48958c[_0x1645ba(0x24b)]())==null?void 0x0:_0x4bcb3c['memberID'])!=null?_0x4e2eaf:_0x1645ba(0x390);return{'changeset':{'unitID':_0x554b62,'type':_0x49cbd7(_0x5876df[_0x1645ba(0x23d)](_0x554b62)),'baseRev':_0x361bf2[_0x1645ba(0x3db)](_0x554b62),'revision':0x0,'userID':_0x14404a,'memberID':_0x216e97,'mutations':_0x5d7257},'pendingMutations':[]};}function Ri(_0x231877,_0x3017fc){var _0x181c39=_0x3ebd1b;const _0x41f4f1=new _0x257aa6(0x1);return setTimeout(()=>_0x41f4f1[_0x181c39(0x22a)](_0x3017fc),_0x231877),_0x41f4f1[_0x181c39(0x477)]()['pipe'](_0x3396e8(0x1));}const nn={'id':_0x402638['id'],'type':_0x20dd31[_0x3ebd1b(0x202)],'params':{}};var sn=Object['getOwnPropertyDescriptor'],Te=(_0x4f1c33,_0x3f73e6,_0x3a68a4,_0x24e86f)=>{var _0xe5efc7=_0x3ebd1b;for(var _0x3615ce=_0x24e86f>0x1?void 0x0:_0x24e86f?sn(_0x3f73e6,_0x3a68a4):_0x3f73e6,_0x1e4980=_0x4f1c33[_0xe5efc7(0x363)]-0x1,_0x215a96;_0x1e4980>=0x0;_0x1e4980--)(_0x215a96=_0x4f1c33[_0x1e4980])&&(_0x3615ce=_0x215a96(_0x3615ce)||_0x3615ce);return _0x3615ce;},P=(_0x40a190,_0x333219)=>(_0x46c2a2,_0x55a9fd)=>_0x333219(_0x46c2a2,_0x55a9fd,_0x40a190),bi=(_0x57d084=>(_0x57d084[_0x3ebd1b(0x29c)]=_0x3ebd1b(0x307),_0x57d084[_0x3ebd1b(0x2ab)]=_0x3ebd1b(0x2b9),_0x57d084[_0x3ebd1b(0x449)]='pending',_0x57d084['AWAITING']=_0x3ebd1b(0x2f5),_0x57d084['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x57d084[_0x3ebd1b(0x43f)]=_0x3ebd1b(0x353),_0x57d084[_0x3ebd1b(0x495)]=_0x3ebd1b(0x25b),_0x57d084[_0x3ebd1b(0x3ad)]=_0x3ebd1b(0x358),_0x57d084))(bi||{});const yi=0xea60;class Ce{constructor(_0x27312c,_0x3a8b69,_0x5a3ea5,_0x3b53f8,_0x53cf12,_0x4ff00d,_0x3dcb5c,_0x5ecb2a,_0x21ef9a){var _0x25010d=_0x3ebd1b;N(this,'_awaitingChangeset',null),N(this,_0x25010d(0x47c),[]),(this[_0x25010d(0x31d)]=_0x27312c,this['type']=_0x3a8b69,this[_0x25010d(0x244)]=_0x53cf12,this[_0x25010d(0x2bd)]=_0x4ff00d,this['_undoRedoService']=_0x3dcb5c,this[_0x25010d(0x3e3)]=_0x5ecb2a,this[_0x25010d(0x49e)]=_0x21ef9a,this[_0x25010d(0x457)]=_0x5a3ea5,this[_0x25010d(0x47c)]=_0x3b53f8);}['_checkMissing'](_0x17f3aa){var _0xdb3515=_0x3ebd1b;const _0x554de0=this['_revisionService'][_0xdb3515(0x3db)](this[_0xdb3515(0x31d)]);return _0x17f3aa['revision']>_0x554de0+0x1?(this[_0xdb3515(0x244)][_0xdb3515(0x224)]({'from':_0x554de0,'to':_0x17f3aa[_0xdb3515(0x440)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x19ca78){var _0x2a261b=_0x3ebd1b;this[_0x2a261b(0x3e5)]['transformUndoRedo'](this[_0x2a261b(0x31d)],_0x19ca78);}[_0x3ebd1b(0x48b)](_0x2dd8ee){var _0xb6cfe5=_0x3ebd1b,_0x9efc31,_0x158b5d;(_0x158b5d=(_0x9efc31=this['_handler'])[_0xb6cfe5(0x3cd)])==null||_0x158b5d[_0xb6cfe5(0x33d)](_0x9efc31,_0x2dd8ee);}[_0x3ebd1b(0x1df)](_0x31261d){var _0x4e99b7=_0x3ebd1b,_0x111e80,_0x5e43e3;return(_0x5e43e3=(_0x111e80=this[_0x4e99b7(0x244)])['onTransformIME'])==null?void 0x0:_0x5e43e3[_0x4e99b7(0x33d)](_0x111e80,_0x31261d);}[_0x3ebd1b(0x2c0)](_0x443ff0){var _0x3ff9b2=_0x3ebd1b,_0xf93935,_0x8dbe07;return(_0x8dbe07=(_0xf93935=this[_0x3ff9b2(0x244)])['onTransformState'])==null?void 0x0:_0x8dbe07['call'](_0xf93935,_0x443ff0);}[_0x3ebd1b(0x259)](_0x43aa57){var _0x221a19=_0x3ebd1b,_0x3b2a93,_0x5bc315,_0x37c909;return(_0x37c909=(_0x5bc315=(_0x3b2a93=this[_0x221a19(0x244)])[_0x221a19(0x258)])==null?void 0x0:_0x5bc315[_0x221a19(0x33d)](_0x3b2a93,_0x43aa57))!=null?_0x37c909:_0x43aa57;}['_transformRemoteChangesetByStateCache'](_0x461b1b){var _0x4b21f2=_0x3ebd1b,_0x56bbb1,_0x5b2274,_0x19abc2;return(_0x19abc2=(_0x5b2274=(_0x56bbb1=this[_0x4b21f2(0x244)])[_0x4b21f2(0x2f3)])==null?void 0x0:_0x5b2274['call'](_0x56bbb1,_0x461b1b))!=null?_0x19abc2:_0x461b1b;}[_0x3ebd1b(0x2db)](_0x4e6042){var _0x5467c8=_0x3ebd1b,_0x497082,_0x3f7aed;if(this[_0x5467c8(0x3a3)]===Q['UNIVER_DOC']){const {unitID:_0x16af13,mutations:_0x443ce,memberID:_0x5ca9f5}=_0x4e6042,_0x212171=_0x443ce[0x0][_0x5467c8(0x490)][_0x5467c8(0x409)];Array['isArray'](_0x212171)&&_0x212171[_0x5467c8(0x363)]>0x0&&((_0x3f7aed=(_0x497082=this[_0x5467c8(0x244)])[_0x5467c8(0x1c6)])==null||_0x3f7aed['call'](_0x497082,{'unitID':_0x16af13,'memberID':_0x5ca9f5,'textRanges':_0x212171}));}}[_0x3ebd1b(0x3a2)](){var _0x4e0559=_0x3ebd1b,_0x4c5348;(_0x4c5348=this['_localCacheService'])==null||_0x4c5348['updateOfflineData'](this[_0x4e0559(0x31d)],this[_0x4e0559(0x3a3)],this[_0x4e0559(0x457)],this['_pendingMutations']);}[_0x3ebd1b(0x2a1)](){var _0x16b013=_0x3ebd1b;return this[_0x16b013(0x3e3)][_0x16b013(0x3db)](this[_0x16b013(0x31d)]);}['_incrementRevisionNumber'](){var _0x545d5c=_0x3ebd1b;this[_0x545d5c(0x3e3)][_0x545d5c(0x341)](this['unitID']);}[_0x3ebd1b(0x2d4)](_0x4b8048){var _0x1685fe=_0x3ebd1b,_0x3d48aa;let _0x2f7aa6=this['_transformRemoteChangesetByIMECache'](_0x4b8048);_0x2f7aa6=this['_transformRemoteChangesetByStateCache'](_0x2f7aa6);const _0x213421=_0x46929e(_0x2f7aa6[_0x1685fe(0x2d9)],this['_commandService'],{'fromCollab':!0x0});if(!_0x213421['result'])throw _0x213421[_0x1685fe(0x1b4)]instanceof Error?_0x213421[_0x1685fe(0x1b4)]:new Error((_0x3d48aa=_0x213421[_0x1685fe(0x1b4)])!=null?_0x3d48aa:_0x1685fe(0x322));this[_0x1685fe(0x1df)](_0x2f7aa6),this[_0x1685fe(0x2c0)](_0x2f7aa6),this[_0x1685fe(0x3e4)](_0x4b8048),this[_0x1685fe(0x48b)](_0x2f7aa6),this[_0x1685fe(0x2db)](_0x2f7aa6),this[_0x1685fe(0x225)]();}}let Ne=class extends Ce{constructor(_0x12080b,_0x5e3356,_0x5cf985,_0x4a0f90,_0x435c96,_0x3d5637,_0xf406e8,_0x47f651,_0x51bf73,_0x39f3c2){var _0x5c3c0d=_0x3ebd1b;super(_0x12080b,_0x5e3356,null,[],_0x5cf985,_0xf406e8,_0x3d5637,_0x4a0f90,_0x39f3c2),N(this,_0x5c3c0d(0x3a5),_0x5c3c0d(0x2b9)),(this[_0x5c3c0d(0x346)]=_0x435c96,this[_0x5c3c0d(0x1a8)]=_0x47f651,this['_transformService']=_0x51bf73,this[_0x5c3c0d(0x294)]=_0x39f3c2);}[_0x3ebd1b(0x3d0)](_0x334398){var _0x351583=_0x3ebd1b;const _0x734a92=this[_0x351583(0x346)][_0x351583(0x1fc)](oe,this['unitID'],this[_0x351583(0x3a3)],[_0x334398],this[_0x351583(0x244)]);return _0x734a92[_0x351583(0x371)](),_0x734a92[_0x351583(0x3a2)](),_0x734a92;}[_0x3ebd1b(0x27e)](_0x56017c){var _0x5a39a4=_0x3ebd1b;if(this[_0x5a39a4(0x2e9)](_0x56017c))return this[_0x5a39a4(0x346)][_0x5a39a4(0x1fc)](ee,this[_0x5a39a4(0x31d)],this[_0x5a39a4(0x3a3)],null,[],null,[_0x56017c],this[_0x5a39a4(0x244)]);try{const _0x3ab250=this[_0x5a39a4(0x24d)][_0x5a39a4(0x44f)](_0x56017c,[nn]);if(_0xa34b7(_0x3ab250)){const {c1Prime:_0x373e18}=_0x3ab250;return this['_executeRemoteChangeset'](_0x373e18),this;}throw _0x3ab250[_0x5a39a4(0x1b4)];}catch(_0x34cf2d){return this['_logService'][_0x5a39a4(0x1b4)](_0x34cf2d),this[_0x5a39a4(0x456)](!0x1);}}[_0x3ebd1b(0x456)](_0x499730){var _0x357f25=_0x3ebd1b;return this[_0x357f25(0x346)][_0x357f25(0x1fc)](ue,this[_0x357f25(0x31d)],this['type'],null,[],this['_handler'],_0x499730);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x3ebd1b(0x280)](){var _0x4a3b14=_0x3ebd1b;throw new Error(_0x4a3b14(0x31f));}[_0x3ebd1b(0x2a3)](){return this;}[_0x3ebd1b(0x3f3)](){var _0x2cce44=_0x3ebd1b;return this[_0x2cce44(0x346)][_0x2cce44(0x1fc)](de,this['unitID'],this['type'],null,[],this[_0x2cce44(0x244)]);}[_0x3ebd1b(0x38a)](){return this;}[_0x3ebd1b(0x2e2)](){var _0x41db2c=_0x3ebd1b;throw new Error(_0x41db2c(0x1e6));}[_0x3ebd1b(0x1b2)](){var _0x381326=_0x3ebd1b;const _0x5f2b52=this[_0x381326(0x3e3)][_0x381326(0x3db)](this[_0x381326(0x31d)]);return this[_0x381326(0x244)][_0x381326(0x224)]({'from':_0x5f2b52,'to':0x0}),this['_injector'][_0x381326(0x1fc)](ee,this[_0x381326(0x31d)],this[_0x381326(0x3a3)],null,[],null,[],this[_0x381326(0x244)]);}};Ne=Te([P(0x3,_0x4f3deb(_0xa5d976)),P(0x4,_0x4f3deb(_0x4fddf8)),P(0x5,_0xb993df),P(0x6,_0x13fb4e),P(0x7,_0x53833e),P(0x8,_0x3a4a71),P(0x9,_0x3b02db(J))],Ne);let oe=class extends Ce{constructor(_0x390f08,_0x695f0d,_0x4fbbea,_0x1fb92a,_0x479ce9,_0x365d84,_0x13d847,_0x209c5e,_0x3c1a35,_0x5495b0,_0x295aa3,_0x3ff3cc,_0xd3567c,_0x39b9b7){var _0x4f36b0=_0x3ebd1b;super(_0x390f08,_0x695f0d,null,_0x4fbbea,_0x1fb92a,_0x3c1a35,_0xd3567c,_0x365d84,_0x39b9b7),N(this,_0x4f36b0(0x3a5),_0x4f36b0(0x40e)),N(this,_0x4f36b0(0x47d),null),N(this,'_sendingTimer',null),(this[_0x4f36b0(0x346)]=_0x479ce9,this[_0x4f36b0(0x2de)]=_0x13d847,this[_0x4f36b0(0x1a8)]=_0x209c5e,this[_0x4f36b0(0x1d2)]=_0x5495b0,this['_transformService']=_0x295aa3,this[_0x4f36b0(0x419)]=_0x3ff3cc);}[_0x3ebd1b(0x3d0)](_0x225019){var _0x176c5a=_0x3ebd1b;return this['_pendingMutations'][_0x176c5a(0x427)](_0x225019),this['_updateLocalCache'](),this;}[_0x3ebd1b(0x27e)](_0x2ef291){var _0x3aec0c=_0x3ebd1b;if(this[_0x3aec0c(0x2e9)](_0x2ef291))return this['_clearScheduledTask'](),this['_injector'][_0x3aec0c(0x1fc)](ee,this[_0x3aec0c(0x31d)],this[_0x3aec0c(0x3a3)],null,this['_pendingMutations'],null,[_0x2ef291],this['_handler']);try{const _0xcae2f5=this[_0x3aec0c(0x24d)][_0x3aec0c(0x44f)](_0x2ef291,this[_0x3aec0c(0x47c)]);if(_0xa34b7(_0xcae2f5)){const {c1Prime:_0x392806,m2Prime:_0x2d956e}=_0xcae2f5;this[_0x3aec0c(0x2d4)](_0x392806);const _0x507370=this[_0x3aec0c(0x346)][_0x3aec0c(0x1fc)](oe,this[_0x3aec0c(0x31d)],this[_0x3aec0c(0x3a3)],_0x2d956e,this[_0x3aec0c(0x244)]);this['_clearScheduledTask']();const _0x57a820=new Date()['getTime'](),_0x3f7fd1=this[_0x3aec0c(0x47d)]?Math[_0x3aec0c(0x3c6)](this[_0x3aec0c(0x47d)]-_0x57a820,0x0):this[_0x3aec0c(0x1e8)]();return _0x507370[_0x3aec0c(0x371)](_0x3f7fd1),_0x507370;}throw _0xcae2f5[_0x3aec0c(0x1b4)];}catch(_0x470660){return this['_logService'][_0x3aec0c(0x1b4)](_0x470660),this['_onConflict'](!0x1);}}[_0x3ebd1b(0x1a4)](){var _0x2f0d58=_0x3ebd1b;throw new Error(_0x2f0d58(0x1da));}[_0x3ebd1b(0x280)](){var _0x474bc8=_0x3ebd1b;throw new Error(_0x474bc8(0x245));}[_0x3ebd1b(0x2a3)](){return this;}[_0x3ebd1b(0x3f3)](){var _0x2ad038=_0x3ebd1b;return this[_0x2ad038(0x347)](),this[_0x2ad038(0x346)][_0x2ad038(0x1fc)](de,this[_0x2ad038(0x31d)],this[_0x2ad038(0x3a3)],null,this[_0x2ad038(0x47c)],this['_handler']);}[_0x3ebd1b(0x38a)](){return this;}[_0x3ebd1b(0x371)](_0x4c5612){var _0x318feb=_0x3ebd1b;const _0x25d96a=_0x4c5612!=null?_0x4c5612:this['_getSendChangesetTimeout']();this[_0x318feb(0x47d)]=new Date()[_0x318feb(0x482)]()+_0x25d96a,this['_sendingTimer']=setTimeout(()=>{var _0xe46cad=_0x318feb;this[_0xe46cad(0x347)]();let _0x3a389f=null;switch(this[_0xe46cad(0x3a3)]){case Q[_0xe46cad(0x3f5)]:{_0x3a389f=qt(this[_0xe46cad(0x47c)],this[_0xe46cad(0x31d)],this['_univerInstanceService'],this['_revisionService'],this[_0xe46cad(0x2de)]);break;}case Q['UNIVER_DOC']:{this[_0xe46cad(0x47c)][_0xe46cad(0x2ac)](_0x5edcbd=>_0x5edcbd['id']===_0x3aa6ca['id'])?_0x3a389f=rn(this[_0xe46cad(0x47c)],this['unitID'],this[_0xe46cad(0x419)],this[_0xe46cad(0x3e3)],this[_0xe46cad(0x2de)]):_0x3a389f=qt(this[_0xe46cad(0x47c)],this[_0xe46cad(0x31d)],this[_0xe46cad(0x419)],this[_0xe46cad(0x3e3)],this[_0xe46cad(0x2de)]);break;}default:throw new Error(_0xe46cad(0x27a)+this[_0xe46cad(0x3a3)]+_0xe46cad(0x44d));}const {changeset:_0x3fab3c,pendingMutations:_0x11094d}=_0x3a389f;this[_0xe46cad(0x244)][_0xe46cad(0x372)](_0x3fab3c);const _0x1fd4e4=_0x11094d[_0xe46cad(0x363)]?this[_0xe46cad(0x346)][_0xe46cad(0x1fc)](ae,this[_0xe46cad(0x31d)],this['type'],_0x3fab3c,_0x11094d,this[_0xe46cad(0x244)],void 0x0):this[_0xe46cad(0x346)][_0xe46cad(0x1fc)](le,this[_0xe46cad(0x31d)],this['type'],_0x3fab3c,this[_0xe46cad(0x244)]);_0x1fd4e4[_0xe46cad(0x3a2)](),this[_0xe46cad(0x244)]['onStateChange'](this,_0x1fd4e4);},_0x25d96a);}[_0x3ebd1b(0x1e8)](){var _0x5015a2=_0x3ebd1b,_0x512ced;const _0x3ab098=this['_configService'][_0x5015a2(0x445)](q);return(_0x512ced=_0x3ab098==null?void 0x0:_0x3ab098[_0x5015a2(0x308)])!=null?_0x512ced:Sr;}[_0x3ebd1b(0x2e2)](){var _0x585c9a=_0x3ebd1b;throw new Error(_0x585c9a(0x210));}['_clearScheduledTask'](){var _0x132cb2=_0x3ebd1b;this[_0x132cb2(0x3ca)]!=null&&(clearTimeout(this[_0x132cb2(0x3ca)]),this[_0x132cb2(0x3ca)]=null);}[_0x3ebd1b(0x456)](_0x371111){var _0x40aa64=_0x3ebd1b;return this['_clearScheduledTask'](),this[_0x40aa64(0x346)][_0x40aa64(0x1fc)](ue,this[_0x40aa64(0x31d)],this[_0x40aa64(0x3a3)],null,this[_0x40aa64(0x47c)],this[_0x40aa64(0x244)],_0x371111);}};oe=Te([P(0x4,_0x4f3deb(_0x4fddf8)),P(0x5,_0x4f3deb(_0xa5d976)),P(0x6,_0x4f3deb(xe)),P(0x7,_0x53833e),P(0x8,_0x13fb4e),P(0x9,_0x2a770c),P(0xa,_0x3a4a71),P(0xb,_0x42c510),P(0xc,_0xb993df),P(0xd,_0x3b02db(J))],oe);let le=class extends Ce{constructor(_0xb761f0,_0x7b6081,_0x3dd704,_0x3695c5,_0x582705,_0x2c31a8,_0x12a620,_0xed4709,_0x1fac70,_0x3e68c1,_0x117fa4){var _0x2cce4b=_0x3ebd1b;super(_0xb761f0,_0x7b6081,_0x3dd704,[],_0x3695c5,_0x12a620,_0x3e68c1,_0x2c31a8,_0x117fa4),N(this,_0x2cce4b(0x3a5),'awaiting'),N(this,_0x2cce4b(0x283),0x0),N(this,_0x2cce4b(0x3d7)),N(this,_0x2cce4b(0x1c5)),(this['_injector']=_0x582705,this[_0x2cce4b(0x1a8)]=_0xed4709,this[_0x2cce4b(0x24d)]=_0x1fac70);}[_0x3ebd1b(0x3d0)](_0x1f0be1){var _0x46a72c=_0x3ebd1b;this[_0x46a72c(0x347)]();const _0x1ef6ea=this[_0x46a72c(0x346)][_0x46a72c(0x1fc)](ae,this[_0x46a72c(0x31d)],this[_0x46a72c(0x3a3)],this[_0x46a72c(0x457)],[_0x1f0be1],this[_0x46a72c(0x244)],this[_0x46a72c(0x3d7)]);return _0x1ef6ea['_updateLocalCache'](),_0x1ef6ea;}[_0x3ebd1b(0x27e)](_0x48f55c){var _0x921158=_0x3ebd1b;if(this[_0x921158(0x2e9)](_0x48f55c))return this[_0x921158(0x347)](),this[_0x921158(0x346)]['createInstance'](ee,this['unitID'],this[_0x921158(0x3a3)],this['_awaitingChangeset'],[],null,[_0x48f55c],this[_0x921158(0x244)]);try{const _0x204c8e=this[_0x921158(0x24d)][_0x921158(0x262)]([_0x48f55c],[this['_awaitingChangeset']],!0x1);if(_0x16fc72(_0x204c8e)){const {c1Prime:_0x8eab4a,c2Prime:_0x2bb174}=_0x204c8e;this[_0x921158(0x2d4)](_0x8eab4a[0x0]),_0x2bb174[0x0][_0x921158(0x260)]=this[_0x921158(0x2a1)](),this[_0x921158(0x347)]();const _0x272836=this[_0x921158(0x346)][_0x921158(0x1fc)](le,this[_0x921158(0x31d)],this[_0x921158(0x3a3)],_0x2bb174[0x0],this[_0x921158(0x244)]);return _0x272836[_0x921158(0x3a2)](),_0x272836;}return this[_0x921158(0x456)](!0x1);}catch(_0x246e0b){return this[_0x921158(0x1a8)][_0x921158(0x1b4)](_0x246e0b),this[_0x921158(0x456)](!0x1);}}[_0x3ebd1b(0x1a4)](_0x29fa69){var _0x5e5e2a=_0x3ebd1b;this['_clearScheduledTask']();const _0x4bc8bd=this[_0x5e5e2a(0x3e3)][_0x5e5e2a(0x3db)](this[_0x5e5e2a(0x31d)]);if(_0x29fa69['revision']<_0x4bc8bd-0x1)return this;if(this['_checkMissing'](_0x29fa69))return this[_0x5e5e2a(0x346)][_0x5e5e2a(0x1fc)](ee,this[_0x5e5e2a(0x31d)],this[_0x5e5e2a(0x3a3)],null,[],this[_0x5e5e2a(0x457)],[],this[_0x5e5e2a(0x244)]);this[_0x5e5e2a(0x225)]();const _0x44eef1=this[_0x5e5e2a(0x346)][_0x5e5e2a(0x1fc)](Ne,this[_0x5e5e2a(0x31d)],this[_0x5e5e2a(0x3a3)],this[_0x5e5e2a(0x244)]);return _0x44eef1[_0x5e5e2a(0x3a2)](),_0x44eef1;}[_0x3ebd1b(0x280)](_0x155fc8){var _0x41ab1f=_0x3ebd1b;return this['_onConflict'](!!(_0x155fc8!=null&&_0x155fc8[_0x41ab1f(0x42f)]));}[_0x3ebd1b(0x2a3)](_0xb7f499){var _0x2f50d5=_0x3ebd1b;return this[_0x2f50d5(0x283)]>yi?this[_0x2f50d5(0x3f3)]():(this['_resendTimer']=Ri(this[_0x2f50d5(0x283)],{'timeout':this['_resendTimeout'],'reqId':_0xb7f499[_0x2f50d5(0x462)]}),this[_0x2f50d5(0x1c5)]=this[_0x2f50d5(0x3d7)][_0x2f50d5(0x3c0)](({reqId:_0x57fc5f,timeout:_0x8f2bfc})=>{this['_resendWithTimeout'](_0x57fc5f,_0x8f2bfc);}),this);}[_0x3ebd1b(0x3f3)](){var _0x42c0e=_0x3ebd1b;return this['_clearScheduledTask'](),this['_injector']['createInstance'](de,this[_0x42c0e(0x31d)],this[_0x42c0e(0x3a3)],this[_0x42c0e(0x457)],[],this[_0x42c0e(0x244)]);}[_0x3ebd1b(0x38a)](){return this;}[_0x3ebd1b(0x2e2)](){var _0x25c333=_0x3ebd1b;this[_0x25c333(0x244)][_0x25c333(0x372)](this[_0x25c333(0x457)]);}[_0x3ebd1b(0x456)](_0x47d6fb){var _0x55bac5=_0x3ebd1b;return this['_clearScheduledTask'](),this['_injector'][_0x55bac5(0x1fc)](ue,this[_0x55bac5(0x31d)],this['type'],this[_0x55bac5(0x457)],[],this[_0x55bac5(0x244)],_0x47d6fb);}[_0x3ebd1b(0x3a4)](_0x2cd983,_0x288219){var _0x5a9127=_0x3ebd1b,_0x282580;_0x2cd983===((_0x282580=this['_awaitingChangeset'])==null?void 0x0:_0x282580[_0x5a9127(0x462)])&&(this[_0x5a9127(0x2e2)](),this['_resendTimeout']=_0x288219===0x0?0x3e8:_0x288219*0x2);}[_0x3ebd1b(0x347)](){var _0x42dfac;(_0x42dfac=this['_sender'])==null||_0x42dfac['unsubscribe'](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0x4f3deb(_0x4fddf8)),P(0x5,_0x4f3deb(_0xa5d976)),P(0x6,_0x13fb4e),P(0x7,_0x53833e),P(0x8,_0x3a4a71),P(0x9,_0xb993df),P(0xa,_0x3b02db(J))],le);let ae=class extends Ce{constructor(_0x5b8d8c,_0x1af0e3,_0x1813c2,_0x50714a,_0x478da0,_0x2fba46,_0x2d30db,_0x460311,_0x4c21ce,_0x25dc39,_0x18863e,_0x33e19b,_0x272187){var _0x13bfaa=_0x3ebd1b;super(_0x5b8d8c,_0x1af0e3,_0x1813c2,_0x50714a,_0x478da0,_0x4c21ce,_0x33e19b,_0x460311,_0x272187),N(this,_0x13bfaa(0x3a5),_0x13bfaa(0x21a)),N(this,_0x13bfaa(0x283),0x0),N(this,_0x13bfaa(0x3d7)),N(this,_0x13bfaa(0x1c5)),(this[_0x13bfaa(0x346)]=_0x2d30db,this[_0x13bfaa(0x1a8)]=_0x25dc39,this[_0x13bfaa(0x24d)]=_0x18863e,this[_0x13bfaa(0x294)]=_0x272187,_0x2fba46&&(this[_0x13bfaa(0x3d7)]=_0x2fba46,this[_0x13bfaa(0x1c5)]=this[_0x13bfaa(0x3d7)]['subscribe'](({reqId:_0xe0b46,timeout:_0x43281b})=>{this['_resendWithTimeout'](_0xe0b46,_0x43281b);})));}[_0x3ebd1b(0x3d0)](_0x304b25){var _0x1787a5=_0x3ebd1b;return this[_0x1787a5(0x47c)][_0x1787a5(0x427)](_0x304b25),this;}[_0x3ebd1b(0x27e)](_0x2e0879){var _0x5de69e=_0x3ebd1b;if(this[_0x5de69e(0x2e9)](_0x2e0879))return this[_0x5de69e(0x347)](),this[_0x5de69e(0x346)][_0x5de69e(0x1fc)](ee,this[_0x5de69e(0x31d)],this[_0x5de69e(0x3a3)],this[_0x5de69e(0x457)],this[_0x5de69e(0x47c)],null,[_0x2e0879],this['_handler']);try{const _0x3ddd89=this['_transformService'][_0x5de69e(0x262)]([_0x2e0879],[this[_0x5de69e(0x457)]],!0x1);if(_0x16fc72(_0x3ddd89)){const {c1Prime:_0x267dcb,c2Prime:_0x530497}=_0x3ddd89,_0xf86bc2=this['_transformService'][_0x5de69e(0x44f)](_0x267dcb[0x0],this[_0x5de69e(0x47c)]);if(_0xa34b7(_0xf86bc2)){const {c1Prime:_0x4e4c88,m2Prime:_0x4435b5}=_0xf86bc2;return this[_0x5de69e(0x2d4)](_0x4e4c88),_0x530497[0x0][_0x5de69e(0x260)]=this['_getCurrentRevision'](),this[_0x5de69e(0x347)](),this['_injector'][_0x5de69e(0x1fc)](ae,this[_0x5de69e(0x31d)],this[_0x5de69e(0x3a3)],_0x530497[0x0],_0x4435b5,this[_0x5de69e(0x244)],void 0x0);}throw _0xf86bc2[_0x5de69e(0x1b4)];}throw _0x3ddd89['error'];}catch(_0x3f1f2b){return this[_0x5de69e(0x1a8)][_0x5de69e(0x1b4)](_0x3f1f2b),this[_0x5de69e(0x456)](!0x1);}}[_0x3ebd1b(0x1a4)](_0xc3de3e){var _0xd711ba=_0x3ebd1b;if(this['_clearScheduledTask'](),this[_0xd711ba(0x2e9)](_0xc3de3e))return this[_0xd711ba(0x346)]['createInstance'](ee,this[_0xd711ba(0x31d)],this[_0xd711ba(0x3a3)],null,this[_0xd711ba(0x47c)],this[_0xd711ba(0x457)],[],this[_0xd711ba(0x244)]);this[_0xd711ba(0x225)]();const _0x25e9de=this[_0xd711ba(0x346)][_0xd711ba(0x1fc)](oe,this[_0xd711ba(0x31d)],this[_0xd711ba(0x3a3)],this['_pendingMutations'],this[_0xd711ba(0x244)]);return _0x25e9de['_schedule'](),_0x25e9de[_0xd711ba(0x3a2)](),_0x25e9de;}[_0x3ebd1b(0x280)](_0x6a6799){var _0x1e40e8=_0x3ebd1b;return this['_onConflict'](!!(_0x6a6799!=null&&_0x6a6799[_0x1e40e8(0x42f)]));}[_0x3ebd1b(0x2a3)](_0x22a6ad){var _0xfc884f=_0x3ebd1b;return this[_0xfc884f(0x283)]>yi?this['toggleOffline']():(this[_0xfc884f(0x3d7)]=Ri(this[_0xfc884f(0x283)],{'timeout':this[_0xfc884f(0x283)],'reqId':_0x22a6ad['reqId']}),this[_0xfc884f(0x1c5)]=this[_0xfc884f(0x3d7)][_0xfc884f(0x3c0)](({reqId:_0x18d8bd,timeout:_0xdd5461})=>{var _0x2e7056=_0xfc884f;this[_0x2e7056(0x3a4)](_0x18d8bd,_0xdd5461);}),this);}[_0x3ebd1b(0x3f3)](){var _0x4fc49e=_0x3ebd1b;return this[_0x4fc49e(0x347)](),this[_0x4fc49e(0x346)][_0x4fc49e(0x1fc)](de,this['unitID'],this[_0x4fc49e(0x3a3)],this[_0x4fc49e(0x457)],this[_0x4fc49e(0x47c)],this[_0x4fc49e(0x244)]);}['toggleOnline'](){return this;}[_0x3ebd1b(0x2e2)](){var _0xbc5b82=_0x3ebd1b;this['_handler'][_0xbc5b82(0x372)](this['_awaitingChangeset']);}[_0x3ebd1b(0x456)](_0x2511d0){var _0x523149=_0x3ebd1b;return this['_clearScheduledTask'](),this['_injector'][_0x523149(0x1fc)](ue,this['unitID'],this['type'],null,this[_0x523149(0x47c)],this[_0x523149(0x244)],_0x2511d0);}[_0x3ebd1b(0x3a4)](_0xa165d2,_0x448616){var _0x2f89b5=_0x3ebd1b,_0x5a1912;_0xa165d2===((_0x5a1912=this[_0x2f89b5(0x457)])==null?void 0x0:_0x5a1912[_0x2f89b5(0x462)])&&(this[_0x2f89b5(0x2e2)](),this['_resendTimeout']=_0x448616===0x0?0x3e8:_0x448616*0x2);}[_0x3ebd1b(0x347)](){var _0x5e3a09=_0x3ebd1b,_0x1c9ba7;(_0x1c9ba7=this[_0x5e3a09(0x1c5)])==null||_0x1c9ba7['unsubscribe'](),this[_0x5e3a09(0x283)]=0x0;}};ae=Te([P(0x6,_0x4f3deb(_0x4fddf8)),P(0x7,_0x4f3deb(_0xa5d976)),P(0x8,_0x13fb4e),P(0x9,_0x53833e),P(0xa,_0x3a4a71),P(0xb,_0xb993df),P(0xc,_0x3b02db(J))],ae);let ue=class extends Ce{constructor(_0x5a282f,_0x7a98fa,_0x5b0b13,_0x3ca2e3,_0x4f8512,_0x4dd8e4=!0x1,_0x8e76ee,_0x27e58c,_0x3d5dcd,_0x2590e4,_0x5e4b82,_0x1d8111,_0x53c97f){var _0x169523=_0x3ebd1b;super(_0x5a282f,_0x7a98fa,_0x5b0b13,_0x3ca2e3,_0x4f8512,_0x27e58c,_0x3d5dcd,_0x2590e4,_0x53c97f),N(this,_0x169523(0x3a5),_0x169523(0x25b)),(this['_isPermissionRej']=_0x4dd8e4,this['_permissionService']=_0x8e76ee,this['_localeService']=_0x5e4b82,this[_0x169523(0x2f2)]=_0x1d8111,this[_0x169523(0x294)]=_0x53c97f,this['_showConflictNotification'](),this[_0x169523(0x359)](),this[_0x169523(0x405)]());}[_0x3ebd1b(0x3d0)](){return this;}[_0x3ebd1b(0x27e)](){return this;}['onRemoteAck'](){return this;}[_0x3ebd1b(0x280)](){return this;}['onRemoteRetry'](){return this;}[_0x3ebd1b(0x3f3)](){return this;}[_0x3ebd1b(0x38a)](){return this;}[_0x3ebd1b(0x2e2)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x58f008=_0x3ebd1b,_0x526a65;(_0x526a65=this[_0x58f008(0x49e)])==null||_0x526a65['updateOfflineData'](this[_0x58f008(0x31d)],this[_0x58f008(0x3a3)],null,[]);}[_0x3ebd1b(0x217)](){var _0x11bfce=_0x3ebd1b;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x11bfce(0x2a0)]({'id':se[_0x11bfce(0x26e)]}):this[_0x11bfce(0x2f2)][_0x11bfce(0x2a0)]({'id':se[_0x11bfce(0x495)]});}[_0x3ebd1b(0x405)](){var _0x14f508=_0x3ebd1b;this['_permissionService'][_0x14f508(0x267)](new _0x5252f0(this[_0x14f508(0x31d)])['id'],!0x1);}};ue=Te([P(0x6,_0x4f3deb(_0x115665)),P(0x7,_0x13fb4e),P(0x8,_0xb993df),P(0x9,_0x4f3deb(_0xa5d976)),P(0xa,_0x4f3deb(_0xb18863)),P(0xb,_0x4f3deb(pe)),P(0xc,_0x3b02db(J))],ue);let de=class extends Ce{constructor(_0x639de8,_0x5aedf5,_0x362569,_0x2845ba,_0x24e034,_0x331ace,_0x4e356a,_0x212934,_0xfbf274,_0x2e882f){var _0x20c6b0=_0x3ebd1b;super(_0x639de8,_0x5aedf5,_0x362569,_0x2845ba,_0x24e034,_0x212934,_0xfbf274,_0x4e356a,_0x2e882f),N(this,_0x20c6b0(0x3a5),_0x20c6b0(0x358)),this[_0x20c6b0(0x346)]=_0x331ace;}[_0x3ebd1b(0x3d0)](_0x5a08ed){var _0x2a7daa=_0x3ebd1b;return this[_0x2a7daa(0x47c)][_0x2a7daa(0x427)](_0x5a08ed),this['_updateLocalCache'](),this;}[_0x3ebd1b(0x27e)](_0x27e066){var _0x3e2c9f=_0x3ebd1b;throw new Error(_0x3e2c9f(0x35f));}[_0x3ebd1b(0x1a4)](){var _0x43be3a=_0x3ebd1b;throw new Error(_0x43be3a(0x241));}['onRemoteRej'](){var _0x1702e1=_0x3ebd1b;throw new Error(_0x1702e1(0x27b));}[_0x3ebd1b(0x2a3)](){return this;}[_0x3ebd1b(0x3f3)](){return this;}['toggleOnline'](){var _0x5664d1=_0x3ebd1b;const {_injector:_0x5327a7,_pendingMutations:_0x57686a,_awaitingChangeset:_0x497046,unitID:_0x8c7c77,_handler:_0x454524,type:_0x25ec5b}=this,_0xfd995e=Oi(_0x5327a7,_0x8c7c77,_0x25ec5b,_0x497046,_0x57686a,_0x454524);return _0xfd995e instanceof oe?_0xfd995e['_schedule']():(_0xfd995e instanceof ae||_0xfd995e instanceof le)&&_0xfd995e[_0x5664d1(0x2e2)](),_0xfd995e;}[_0x3ebd1b(0x2e2)](){var _0x1ad0b7=_0x3ebd1b;throw new Error(_0x1ad0b7(0x3e2));}};de=Te([P(0x5,_0x4f3deb(_0x4fddf8)),P(0x6,_0x4f3deb(_0xa5d976)),P(0x7,_0x13fb4e),P(0x8,_0xb993df),P(0x9,_0x3b02db(J))],de);let ee=class extends Ce{constructor(_0x44ab11,_0x54f553,_0x2eed80,_0x205411,_0x1b60b1,_0x5da6f7,_0x385462,_0x5c8b78,_0x24344d,_0x16ccce,_0x389115,_0x3c7213,_0x16d1f5,_0x53f1c4){var _0x1d6bd0=_0x3ebd1b;super(_0x44ab11,_0x54f553,_0x2eed80,_0x205411,_0x385462,_0x389115,_0x3c7213,_0x24344d,_0x53f1c4),N(this,_0x1d6bd0(0x3a5),'fetch_missing'),(this[_0x1d6bd0(0x213)]=_0x1b60b1,this['_queuedRemoteChangesets']=_0x5da6f7,this[_0x1d6bd0(0x346)]=_0x5c8b78,this[_0x1d6bd0(0x1a8)]=_0x16ccce,this[_0x1d6bd0(0x24d)]=_0x16d1f5,this['localCacheService']=_0x53f1c4);}[_0x3ebd1b(0x374)](_0xb3f221){var _0x32ccc2=_0x3ebd1b;try{const _0x1ba0e4=[..._0xb3f221,...this[_0x32ccc2(0x325)]],_0x2161e9=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x32ccc2(0x1f1)](_0x219ddd=>!!_0x219ddd);let _0x32d405,_0x34a680;if(_0x2161e9[_0x32ccc2(0x363)]){const _0x1f58e2=this[_0x32ccc2(0x24d)][_0x32ccc2(0x262)](_0x1ba0e4,_0x2161e9,!0x1);if(!_0x16fc72(_0x1f58e2))throw _0x1f58e2[_0x32ccc2(0x1b4)];_0x32d405=_0x1f58e2['c1Prime'],_0x34a680=_0x1f58e2['c2Prime'];}else _0x32d405=_0x1ba0e4,_0x34a680=[];let _0x46ea63=this[_0x32ccc2(0x47c)];_0x32d405[_0x32ccc2(0x326)](_0x27dda4=>{var _0x3baf38=_0x32ccc2;let _0x4fe919;if(_0x46ea63['length']){const _0x3a15ce=this[_0x3baf38(0x24d)][_0x3baf38(0x44f)](_0x27dda4,_0x46ea63);if(!_0xa34b7(_0x3a15ce))throw _0x3a15ce[_0x3baf38(0x1b4)];_0x4fe919=_0x3a15ce[_0x3baf38(0x2ce)],_0x46ea63=_0x3a15ce[_0x3baf38(0x1b7)];}else _0x4fe919=_0x27dda4;this[_0x3baf38(0x2d4)](_0x4fe919);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x34a680[_0x32ccc2(0x363)]&&(_0x34a680[0x0]['baseRev']=this[_0x32ccc2(0x2a1)]());let _0x5b5fc1;if(this[_0x32ccc2(0x457)]&&_0x46ea63[_0x32ccc2(0x363)]!==0x0)_0x5b5fc1=this[_0x32ccc2(0x346)][_0x32ccc2(0x1fc)](ae,this[_0x32ccc2(0x31d)],this[_0x32ccc2(0x3a3)],_0x34a680[0x0],_0x46ea63,this['_handler'],void 0x0);else{if(this[_0x32ccc2(0x457)]&&_0x46ea63[_0x32ccc2(0x363)]===0x0)_0x34a680[0x0][_0x32ccc2(0x260)]=this['_getCurrentRevision'](),_0x5b5fc1=this[_0x32ccc2(0x346)][_0x32ccc2(0x1fc)](le,this['unitID'],this[_0x32ccc2(0x3a3)],_0x34a680[0x0],this[_0x32ccc2(0x244)]);else{if(_0x46ea63[_0x32ccc2(0x363)]!==0x0){const _0x3a09ad=this[_0x32ccc2(0x346)][_0x32ccc2(0x1fc)](oe,this[_0x32ccc2(0x31d)],this['type'],_0x46ea63,this['_handler']);_0x3a09ad[_0x32ccc2(0x371)](),_0x5b5fc1=_0x3a09ad;}else _0x5b5fc1=this[_0x32ccc2(0x346)][_0x32ccc2(0x1fc)](Ne,this[_0x32ccc2(0x31d)],this[_0x32ccc2(0x3a3)],this['_handler']);}}return _0x5b5fc1[_0x32ccc2(0x3a2)](),_0x5b5fc1;}catch(_0x5a1fca){return this['_logService'][_0x32ccc2(0x1b4)]('[FetchMissState]',_0x32ccc2(0x476),_0x5a1fca),this[_0x32ccc2(0x346)][_0x32ccc2(0x1fc)](ue,this[_0x32ccc2(0x31d)],this[_0x32ccc2(0x3a3)],this[_0x32ccc2(0x457)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x3ebd1b(0x2e2)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3ebd1b(0x3d0)](_0x1463a5){var _0x193fb8=_0x3ebd1b;return this['_pendingMutations'][_0x193fb8(0x427)](_0x1463a5),this;}[_0x3ebd1b(0x27e)](_0x1aba0f){var _0x317c49=_0x3ebd1b;return this[_0x317c49(0x325)][_0x317c49(0x427)](_0x1aba0f),this;}[_0x3ebd1b(0x1a4)](_0x46bdfc){var _0x38074c=_0x3ebd1b;if(this[_0x38074c(0x457)])return this[_0x38074c(0x213)]=this['_awaitingChangeset'],this[_0x38074c(0x457)]=null,this;throw new Error(_0x38074c(0x23c));}['onRemoteRej'](_0x5dc718){var _0x32a409=_0x3ebd1b;return this['_onConflict'](!!(_0x5dc718!=null&&_0x5dc718[_0x32a409(0x42f)]));}[_0x3ebd1b(0x2a3)](){return this;}[_0x3ebd1b(0x3f3)](){var _0xc6f79f=_0x3ebd1b;return this[_0xc6f79f(0x346)][_0xc6f79f(0x1fc)](de,this[_0xc6f79f(0x31d)],this['type'],this['_awaitingChangeset'],this[_0xc6f79f(0x47c)],this[_0xc6f79f(0x244)]);}[_0x3ebd1b(0x38a)](){return this;}[_0x3ebd1b(0x456)](_0x1604bf){var _0x20ef9e=_0x3ebd1b;return this[_0x20ef9e(0x346)][_0x20ef9e(0x1fc)](ue,this[_0x20ef9e(0x31d)],this[_0x20ef9e(0x3a3)],this[_0x20ef9e(0x457)],this[_0x20ef9e(0x47c)],this[_0x20ef9e(0x244)],_0x1604bf);}};ee=Te([P(0x7,_0x4f3deb(_0x4fddf8)),P(0x8,_0x4f3deb(_0xa5d976)),P(0x9,_0x53833e),P(0xa,_0x13fb4e),P(0xb,_0xb993df),P(0xc,_0x3a4a71),P(0xd,_0x3b02db(J))],ee);function Oi(_0x9b0eae,_0x26b0a8,_0x1c334f,_0x1c01ca,_0x574133,_0x51a0b7){var _0x162e35=_0x3ebd1b;return _0x1c01ca&&_0x574133['length']?_0x9b0eae[_0x162e35(0x1fc)](ae,_0x26b0a8,_0x1c334f,_0x1c01ca,_0x574133,_0x51a0b7,void 0x0):_0x1c01ca?_0x9b0eae[_0x162e35(0x1fc)](le,_0x26b0a8,_0x1c334f,_0x1c01ca,_0x51a0b7):_0x574133[_0x162e35(0x363)]?_0x9b0eae[_0x162e35(0x1fc)](oe,_0x26b0a8,_0x1c334f,_0x574133,_0x51a0b7):_0x9b0eae[_0x162e35(0x1fc)](Ne,_0x26b0a8,_0x1c334f,_0x51a0b7);}var on=Object[_0x3ebd1b(0x2a5)],xt=(_0x9d1438,_0x278e94,_0x244c63,_0x21ff04)=>{for(var _0x3d7e58=_0x21ff04>0x1?void 0x0:_0x21ff04?on(_0x278e94,_0x244c63):_0x278e94,_0x4eeff9=_0x9d1438['length']-0x1,_0x520163;_0x4eeff9>=0x0;_0x4eeff9--)(_0x520163=_0x9d1438[_0x4eeff9])&&(_0x3d7e58=_0x520163(_0x3d7e58)||_0x3d7e58);return _0x3d7e58;},H=(_0x461376,_0x59f302)=>(_0x45e020,_0x24f6b7)=>_0x59f302(_0x45e020,_0x24f6b7,_0x461376);let rt=class extends _0x32d278{constructor(_0x3d99b5,_0x10d7a9,_0x7561a7,_0x445070,_0x2f547e,_0x16c800,_0x3cb80c,_0x55dd47,_0x1df5d9,_0x45de1d,_0x4c0ccd,_0xbfb0c9,_0x5714bc){var _0x4a2840=_0x3ebd1b;super(),N(this,'_state$',new _0x15d586(null)),N(this,_0x4a2840(0x2f6),this['_state$'][_0x4a2840(0x477)]()),N(this,'_state'),N(this,'_collaborationPaused',!0x1),N(this,'_changesetSessionId',''),N(this,_0x4a2840(0x425),0x0),N(this,_0x4a2840(0x3de),this[_0x4a2840(0x2f6)]['pipe'](_0x401f39(_0x9a2684=>_0x9a2684?_0x9a2684['status']:bi[_0x4a2840(0x3ad)]),_0x20dfda(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x4a2840(0x1d1),[]),(this[_0x4a2840(0x31d)]=_0x3d99b5,this[_0x4a2840(0x216)]=_0x10d7a9,this[_0x4a2840(0x2c9)]=_0x7561a7,this[_0x4a2840(0x346)]=_0x445070,this[_0x4a2840(0x468)]=_0x2f547e,this[_0x4a2840(0x24c)]=_0x16c800,this[_0x4a2840(0x3e3)]=_0x3cb80c,this[_0x4a2840(0x35c)]=_0x55dd47,this[_0x4a2840(0x1a8)]=_0x1df5d9,this['_commandService']=_0x45de1d,this['_permissionService']=_0x4c0ccd,this['_singleActiveUnitService']=_0xbfb0c9,this[_0x4a2840(0x49e)]=_0x5714bc);}get[_0x3ebd1b(0x45f)](){var _0xc7952=_0x3ebd1b;return this[_0xc7952(0x34c)];}async[_0x3ebd1b(0x1cf)](){var _0x367eb3=_0x3ebd1b;if(this[_0x367eb3(0x45f)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}['pauseCollaboration'](){var _0x207acd=_0x3ebd1b;return this[_0x207acd(0x207)]=!0x0,_0x2652a7(()=>{var _0x4c7e80=_0x207acd;this[_0x4c7e80(0x207)]=!0x1,this[_0x4c7e80(0x1f8)]();});}[_0x3ebd1b(0x34e)](_0xce5ca5){var _0x660edb=_0x3ebd1b;this[_0x660edb(0x46a)](_0xce5ca5);}[_0x3ebd1b(0x246)](_0x42d9aa){var _0x34db1b=_0x3ebd1b;this[_0x34db1b(0x34c)]=_0x42d9aa,this[_0x34db1b(0x22e)][_0x34db1b(0x22a)](_0x42d9aa);}async[_0x3ebd1b(0x32a)](){var _0x3e23da=_0x3ebd1b,_0x3fe892;this[_0x3e23da(0x246)](await this[_0x3e23da(0x26c)]()),this[_0x3e23da(0x480)]&&((_0x3fe892=this[_0x3e23da(0x480)])==null||_0x3fe892['editingUnit'](this[_0x3e23da(0x31d)]),this[_0x3e23da(0x417)](this[_0x3e23da(0x480)][_0x3e23da(0x1d8)](this[_0x3e23da(0x31d)])[_0x3e23da(0x3c0)](_0x6bcb10=>{var _0x19d5dc=_0x3e23da;this['_logService'][_0x19d5dc(0x3fa)](_0x19d5dc(0x46c),_0x19d5dc(0x257),_0x6bcb10),_0x6bcb10===Ci[_0x19d5dc(0x2fa)]?(this['_eventService'][_0x19d5dc(0x2a0)]({'id':se[_0x19d5dc(0x337)]}),this[_0x19d5dc(0x373)][_0x19d5dc(0x267)](new _0x5252f0(this['unitID'])['id'],!0x1),this['_permissionService'][_0x19d5dc(0x44b)](!0x1)):(this[_0x19d5dc(0x373)][_0x19d5dc(0x267)](new _0x5252f0(this['unitID'])['id'],!0x0),this[_0x19d5dc(0x373)][_0x19d5dc(0x44b)](!0x0));})));let _0x17207d=!0x1;return this[_0x3e23da(0x417)](this[_0x3e23da(0x216)][_0x3e23da(0x365)][_0x3e23da(0x3c0)](_0x3f9a3f=>{var _0x33d8c1=_0x3e23da;_0x3f9a3f===Ee[_0x33d8c1(0x34d)]?this[_0x33d8c1(0x3ec)](_0x17207d):_0x3f9a3f===Ee[_0x33d8c1(0x3ad)]&&(_0x17207d=!0x0,this[_0x33d8c1(0x3bd)]());})),this[_0x3e23da(0x417)](this['session'][_0x3e23da(0x36c)][_0x3e23da(0x3c0)](_0x1f0f65=>{var _0x4d1caf=_0x3e23da;try{switch(_0x1f0f65[_0x4d1caf(0x2dc)]){case _0x29cbe9[_0x4d1caf(0x3df)]:{this['_onRemoteChangeset'](_0x163abd(_0x1f0f65['data']));break;}case _0x29cbe9['CHANGESET_ACK']:{this[_0x4d1caf(0x3e1)](_0x1f0f65[_0x4d1caf(0x3fe)]);break;}case _0x29cbe9[_0x4d1caf(0x3c7)]:{this['_onRemoteRejected']();break;}case _0x29cbe9[_0x4d1caf(0x31c)]:{this[_0x4d1caf(0x3cb)](_0x1f0f65[_0x4d1caf(0x3fe)]);break;}case _0x29cbe9[_0x4d1caf(0x25c)]:{this[_0x4d1caf(0x24a)](_0x1f0f65[_0x4d1caf(0x3fe)][_0x4d1caf(0x249)][_0x4d1caf(0x453)](_0x13dcac=>_0x163abd(_0x13dcac)));break;}case _0x29cbe9[_0x4d1caf(0x284)]:{this[_0x4d1caf(0x297)]({'isPermissionRej':!0x0});break;}case _0x29cbe9[_0x4d1caf(0x252)]:break;}}catch(_0x31ba3c){throw console['error'](_0x4d1caf(0x421),_0x31ba3c),_0x31ba3c;}})),this[_0x3e23da(0x34c)];}[_0x3ebd1b(0x3be)](){var _0xedbe9c=_0x3ebd1b;this[_0xedbe9c(0x4a2)]=!0x1;}[_0x3ebd1b(0x389)](){var _0x1aeffe=_0x3ebd1b;if(this[_0x1aeffe(0x4a2)])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[_0x1aeffe(0x4a2)]=!0x0;}[_0x3ebd1b(0x46a)](_0x36a9df){var _0x158ae1=_0x3ebd1b;this[_0x158ae1(0x389)](),this[_0x158ae1(0x246)](this[_0x158ae1(0x34c)][_0x158ae1(0x3d0)](_0x36a9df)),this[_0x158ae1(0x3be)]();}[_0x3ebd1b(0x36a)](_0x44fa60){var _0x23b3b5=_0x3ebd1b;if(!(_0x44fa60[_0x23b3b5(0x440)]<=this[_0x23b3b5(0x3e3)][_0x23b3b5(0x3db)](this[_0x23b3b5(0x31d)]))){if(this[_0x23b3b5(0x207)]){this[_0x23b3b5(0x1d1)]['push'](_0x44fa60);return;}this[_0x23b3b5(0x1a7)](_0x44fa60);}}[_0x3ebd1b(0x1f8)](){var _0x5b9c77=_0x3ebd1b;this[_0x5b9c77(0x1d1)][_0x5b9c77(0x326)](_0x2882cf=>this[_0x5b9c77(0x1a7)](_0x2882cf)),this[_0x5b9c77(0x1d1)]=[];}[_0x3ebd1b(0x1a7)](_0x5e9e56){var _0x4aab5f=_0x3ebd1b;const _0x55bbee=this[_0x4aab5f(0x468)][_0x4aab5f(0x435)]['fetchThroughInterceptors'](this[_0x4aab5f(0x468)][_0x4aab5f(0x435)][_0x4aab5f(0x2c7)]()['COMPRESS_MUTATION_APPLY'])(_0x5e9e56[_0x4aab5f(0x2d9)],null)||_0x5e9e56[_0x4aab5f(0x2d9)],_0x198c87={..._0x5e9e56,'mutations':_0x55bbee};this[_0x4aab5f(0x389)](),this[_0x4aab5f(0x246)](this[_0x4aab5f(0x34c)][_0x4aab5f(0x27e)](_0x198c87)),this[_0x4aab5f(0x3be)]();}[_0x3ebd1b(0x3e1)](_0x437187){var _0x5a2e1c=_0x3ebd1b;this['_lockTransition'](),this[_0x5a2e1c(0x246)](this[_0x5a2e1c(0x34c)]['onRemoteAck'](_0x437187)),this[_0x5a2e1c(0x3be)]();}[_0x3ebd1b(0x297)](_0x29c7f5){var _0x34f6a8=_0x3ebd1b;this[_0x34f6a8(0x389)](),this[_0x34f6a8(0x246)](this[_0x34f6a8(0x34c)]['onRemoteRej'](_0x29c7f5)),this[_0x34f6a8(0x3be)]();}[_0x3ebd1b(0x3cb)](_0x516f90){var _0x313071=_0x3ebd1b;this[_0x313071(0x389)](),this[_0x313071(0x246)](this[_0x313071(0x34c)]['onRemoteRetry'](_0x516f90)),this['_unlockTransition']();}[_0x3ebd1b(0x24a)](_0x1ddc5f){var _0x36fcc0=_0x3ebd1b;if(!(this[_0x36fcc0(0x34c)]instanceof ee))throw new TypeError(_0x36fcc0(0x451));const _0x4ea15a=_0x1ddc5f[_0x36fcc0(0x453)](_0x2fa0fa=>{var _0x5b821=_0x36fcc0;const _0x5e71e3=this[_0x5b821(0x468)][_0x5b821(0x435)][_0x5b821(0x203)](this[_0x5b821(0x468)][_0x5b821(0x435)]['getInterceptPoints']()[_0x5b821(0x34a)])(_0x2fa0fa[_0x5b821(0x2d9)],null)||_0x2fa0fa[_0x5b821(0x2d9)];return{..._0x2fa0fa,'mutations':_0x5e71e3};});this[_0x36fcc0(0x389)](),this[_0x36fcc0(0x246)](this[_0x36fcc0(0x34c)][_0x36fcc0(0x374)](_0x4ea15a)),this[_0x36fcc0(0x3be)]();}[_0x3ebd1b(0x3bd)](){var _0x151717=_0x3ebd1b;this[_0x151717(0x389)](),this['_updateState'](this[_0x151717(0x34c)][_0x151717(0x3f3)]()),this[_0x151717(0x3be)]();}['_toggleOnline'](_0x28fc91=!0x1){var _0x14d6b8=_0x3ebd1b;this[_0x14d6b8(0x389)](),this[_0x14d6b8(0x246)](this[_0x14d6b8(0x34c)][_0x14d6b8(0x38a)]()),this[_0x14d6b8(0x3be)]();const _0x1f4154=this['_state'];_0x28fc91&&_0x1f4154 instanceof Ne&&(this[_0x14d6b8(0x389)](),this[_0x14d6b8(0x246)](_0x1f4154[_0x14d6b8(0x1b2)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x19d489=>{var _0x534784=_0x44ec;this[_0x534784(0x216)][_0x534784(0x365)][_0x534784(0x2e0)](_0x3396e8(0x1))['subscribe'](async _0x5219cc=>{var _0x4e9e29=_0x534784;_0x19d489(await this['_createInitialStateImpl'](_0x5219cc===Ee[_0x4e9e29(0x34d)]));});});}[_0x3ebd1b(0x3a9)](){var _0x1b7ee2=_0x3ebd1b;const _0x4d6f8f=this[_0x1b7ee2(0x31d)];return{'onStateChange':(_0x803f85,_0x1883b1)=>{var _0x298c4b=_0x1b7ee2;if(_0x803f85!==this['_state'])throw new Error(_0x298c4b(0x393)+_0x803f85[_0x298c4b(0x3a5)]+_0x298c4b(0x3e0)+_0x1883b1['status']+_0x298c4b(0x3b0)+this['_state'][_0x298c4b(0x3a5)]);this['_updateState'](_0x1883b1);},'onSendChangeset':_0x433c54=>{var _0x5088af=_0x1b7ee2;_0x433c54[_0x5088af(0x3af)]||(_0x433c54[_0x5088af(0x3af)]=this[_0x5088af(0x485)],_0x433c54[_0x5088af(0x462)]=++this['_changesetReqId']);const _0x2422da={'eventID':_0x29cbe9['SUBMIT_CHANGESET'],'data':{'unitID':_0x433c54[_0x5088af(0x31d)],'unitType':this[_0x5088af(0x2c9)],'changeset':_0x433c54,'memberID':this[_0x5088af(0x216)]['getMemberID']()}};this[_0x5088af(0x216)][_0x5088af(0x351)](_0x2422da,this[_0x5088af(0x31d)]);},'onMissingChangesets':({from:_0x361150,to:_0x2f96d7})=>{var _0x1756c4=_0x1b7ee2;this[_0x1756c4(0x1a8)][_0x1756c4(0x3fa)](_0x1756c4(0x46c),_0x1756c4(0x46e)+_0x361150+_0x1756c4(0x30b)+_0x2f96d7);const _0x3f7d0f={'eventID':_0x29cbe9[_0x1756c4(0x28b)],'data':{'unitID':_0x4d6f8f,'unitType':this[_0x1756c4(0x2c9)],'from':_0x361150,'to':_0x2f96d7}};this['session'][_0x1756c4(0x351)](_0x3f7d0f,this[_0x1756c4(0x31d)]);}};}async[_0x3ebd1b(0x40f)](_0x34136c){var _0x421db8=_0x3ebd1b,_0x48ee3b,_0x4ed56c,_0x5965aa;const _0x401468=await((_0x48ee3b=this[_0x421db8(0x49e)])==null?void 0x0:_0x48ee3b[_0x421db8(0x2f0)](this[_0x421db8(0x31d)])),_0x204c86=(_0x4ed56c=_0x401468==null?void 0x0:_0x401468[_0x421db8(0x2d9)])!=null?_0x4ed56c:[],_0x55cb92=(_0x5965aa=_0x401468==null?void 0x0:_0x401468[_0x421db8(0x299)])!=null?_0x5965aa:null,_0x3a9f48=!!(_0x55cb92!=null&&_0x55cb92[_0x421db8(0x3af)])&&!!(_0x55cb92!=null&&_0x55cb92['reqId']);this['_changesetSessionId']=_0x3a9f48?_0x55cb92[_0x421db8(0x3af)]:Xr(),this[_0x421db8(0x425)]=_0x3a9f48?_0x55cb92[_0x421db8(0x462)]:0x0;const _0x986f68=this['unitID'];try{this[_0x421db8(0x3f9)](_0x55cb92,_0x204c86);}catch(_0x2e4651){this[_0x421db8(0x1a8)][_0x421db8(0x1b4)](_0x2e4651);}const _0x41a032=this[_0x421db8(0x3a9)]();if(_0x34136c){const _0x4ccdbc=Oi(this[_0x421db8(0x346)],_0x986f68,this[_0x421db8(0x2c9)],_0x55cb92,_0x204c86,_0x41a032);return _0x4ccdbc instanceof oe?_0x4ccdbc[_0x421db8(0x371)]():(_0x4ccdbc instanceof ae||_0x4ccdbc instanceof le)&&_0x4ccdbc[_0x421db8(0x2e2)](),_0x4ccdbc;}return this[_0x421db8(0x346)][_0x421db8(0x1fc)](de,_0x986f68,this['_type'],_0x55cb92,_0x204c86,_0x41a032);}[_0x3ebd1b(0x3f9)](_0x5d3d44,_0x212492){var _0xf31cc6=_0x3ebd1b,_0x25b738,_0x1ea08c;const _0x7e1f77=this[_0xf31cc6(0x468)]['interceptor'][_0xf31cc6(0x203)](this['_compressMutationService']['interceptor'][_0xf31cc6(0x2c7)]()['COMPRESS_MUTATION_APPLY']);(_0x25b738=_0x7e1f77((_0x5d3d44==null?void 0x0:_0x5d3d44[_0xf31cc6(0x2d9)])||[],null))==null||_0x25b738[_0xf31cc6(0x326)](_0x3da504=>this[_0xf31cc6(0x2bd)][_0xf31cc6(0x329)](_0x3da504['id'],_0x3da504['params'])),(_0x1ea08c=_0x7e1f77(_0x212492||[],null))==null||_0x1ea08c[_0xf31cc6(0x326)](_0x2836b3=>this['_commandService']['executeCommand'](_0x2836b3['id'],_0x2836b3[_0xf31cc6(0x490)]));}};rt=xt([H(0x3,_0x4f3deb(_0x4fddf8)),H(0x4,_0x4f3deb(_0x429dc5)),H(0x5,_0x4f3deb(_0xb18863)),H(0x6,_0x4f3deb(_0xa5d976)),H(0x7,_0x4f3deb(pe)),H(0x8,_0x53833e),H(0x9,_0x13fb4e),H(0xa,_0x115665),H(0xb,_0x3b02db(ht)),H(0xc,_0x3b02db(J))],rt);let It=class extends rt{constructor(_0x3d195d,_0x2950b8,_0x197949,_0x36f266,_0x4f4e6e,_0x36ae9d,_0x4576a9,_0x15091c,_0xc9d7fa,_0x410099,_0x2414c1,_0x4b49bb,_0x4be19d){var _0x1fdf17=_0x3ebd1b;super(_0x3d195d,_0x197949,_0x2950b8,_0x36f266,_0x4f4e6e,_0x36ae9d,_0x4576a9,_0x15091c,_0xc9d7fa,_0x410099,_0x2414c1,_0x4b49bb,_0x4be19d),N(this,_0x1fdf17(0x22d),null),(this[_0x1fdf17(0x31d)]=_0x3d195d,this[_0x1fdf17(0x3a3)]=_0x2950b8);}['addHandlerCallback'](_0x54b3f3){var _0x420cac=_0x3ebd1b;this[_0x420cac(0x22d)]=_0x54b3f3;}[_0x3ebd1b(0x27c)](){var _0x259cb5=_0x3ebd1b;this[_0x259cb5(0x22d)]=null,super['dispose']();}[_0x3ebd1b(0x3a9)](){var _0xf86bcd=_0x3ebd1b;const _0x45daf5=super['_createHandler']();return _0x45daf5[_0xf86bcd(0x2c1)]=_0x18da2f=>{var _0x2550d1=_0xf86bcd,_0x1cce51,_0x1f52ea;return(_0x1f52ea=(_0x1cce51=this['_handlerCallback'])==null?void 0x0:_0x1cce51[_0x2550d1(0x2c1)])==null?void 0x0:_0x1f52ea['call'](_0x1cce51,_0x18da2f);},_0x45daf5['onTransformState']=_0x10e658=>{var _0x14260b=_0xf86bcd,_0x416a1e,_0x23ede5;return(_0x23ede5=(_0x416a1e=this['_handlerCallback'])==null?void 0x0:_0x416a1e['onTransformState'])==null?void 0x0:_0x23ede5[_0x14260b(0x33d)](_0x416a1e,_0x10e658);},_0x45daf5[_0xf86bcd(0x3cd)]=_0xd91b0f=>{var _0x4cb5f6=_0xf86bcd,_0x4673b1,_0xf3d74a;return(_0xf3d74a=(_0x4673b1=this['_handlerCallback'])==null?void 0x0:_0x4673b1[_0x4cb5f6(0x3cd)])==null?void 0x0:_0xf3d74a[_0x4cb5f6(0x33d)](_0x4673b1,_0xd91b0f);},_0x45daf5[_0xf86bcd(0x1c6)]=_0x1a20d9=>{var _0x2ec271=_0xf86bcd,_0x4a8dc9,_0x24ceba;return(_0x24ceba=(_0x4a8dc9=this['_handlerCallback'])==null?void 0x0:_0x4a8dc9['onSyncEditingCollabCursor'])==null?void 0x0:_0x24ceba[_0x2ec271(0x33d)](_0x4a8dc9,_0x1a20d9);},_0x45daf5[_0xf86bcd(0x258)]=_0x56f61d=>{var _0x33a6e5=_0xf86bcd,_0x5ba37c,_0x40fd0a,_0x4628ed;if(!((_0x5ba37c=this[_0x33a6e5(0x22d)])!=null&&_0x5ba37c[_0x33a6e5(0x258)]))throw new Error(_0x33a6e5(0x256));return(_0x4628ed=(_0x40fd0a=this['_handlerCallback'])==null?void 0x0:_0x40fd0a[_0x33a6e5(0x258)])==null?void 0x0:_0x4628ed[_0x33a6e5(0x33d)](_0x40fd0a,_0x56f61d);},_0x45daf5[_0xf86bcd(0x2f3)]=_0x4c8d70=>{var _0x27e421=_0xf86bcd,_0x1cdea0,_0xa58085,_0x546062;if(!((_0x1cdea0=this[_0x27e421(0x22d)])!=null&&_0x1cdea0[_0x27e421(0x2f3)]))throw new Error(_0x27e421(0x276));return(_0x546062=(_0xa58085=this[_0x27e421(0x22d)])==null?void 0x0:_0xa58085[_0x27e421(0x2f3)])==null?void 0x0:_0x546062['call'](_0xa58085,_0x4c8d70);},_0x45daf5;}async[_0x3ebd1b(0x32a)](){var _0x511359=_0x3ebd1b;const _0x721492=await super[_0x511359(0x32a)]();return this[_0x511359(0x417)](this[_0x511359(0x2bd)][_0x511359(0x484)]((_0x44a70d,_0x1ab64a)=>{var _0x173686=_0x511359;if(_0x44a70d[_0x173686(0x3a3)]!==_0x20dd31[_0x173686(0x202)]||_0x1ab64a!=null&&_0x1ab64a[_0x173686(0x2ba)]||_0x1ab64a!=null&&_0x1ab64a[_0x173686(0x1dd)]||_0x44a70d['id']===_0x3aa6ca['id'])return;const _0x1f9a6f=_0x44a70d[_0x173686(0x490)];if((_0x1f9a6f==null?void 0x0:_0x1f9a6f['unitId'])!==this[_0x173686(0x31d)])return;const _0x258631=_0x44a70d,_0x174831=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x173686(0x435)][_0x173686(0x2c7)]()[_0x173686(0x39a)])([_0x258631],null)||[_0x258631];this['_onLocalMutation'](_0x174831[0x0]);})),_0x721492;}};It=xt([H(0x3,_0x4f3deb(_0x4fddf8)),H(0x4,_0x4f3deb(_0x429dc5)),H(0x5,_0x4f3deb(_0xb18863)),H(0x6,_0x4f3deb(_0xa5d976)),H(0x7,_0x4f3deb(pe)),H(0x8,_0x53833e),H(0x9,_0x13fb4e),H(0xa,_0x115665),H(0xb,_0x3b02db(ht)),H(0xc,_0x3b02db(J))],It);let Tt=class extends rt{constructor(_0x12357c,_0x1c0760,_0x4c0c4a,_0x106071,_0x9178c1,_0x373a21,_0xa98a8a,_0x402654,_0x46c452,_0x545d7b,_0x318279,_0xfc9c46,_0x538174,_0x549da3){var _0x44c0ae=_0x3ebd1b;super(_0x12357c,_0x4c0c4a,_0x1c0760,_0x106071,_0x9178c1,_0x373a21,_0xa98a8a,_0x46c452,_0x545d7b,_0x318279,_0xfc9c46,_0x538174,_0x549da3),this['unitID']=_0x12357c,this[_0x44c0ae(0x3a3)]=_0x1c0760,this[_0x44c0ae(0x438)]=_0x402654;}[_0x3ebd1b(0x3a9)](){var _0x50a35f=_0x3ebd1b;const _0x3dd9ff=super[_0x50a35f(0x3a9)]();return _0x3dd9ff[_0x50a35f(0x3cd)]=_0x5927a9=>this[_0x50a35f(0x438)][_0x50a35f(0x344)](_0x5927a9),_0x3dd9ff;}async[_0x3ebd1b(0x32a)](){var _0xc45a38=_0x3ebd1b;const _0x55f8c2=await super[_0xc45a38(0x32a)]();return this[_0xc45a38(0x417)](this[_0xc45a38(0x2bd)][_0xc45a38(0x484)]((_0x2f78a5,_0x562d5e)=>{var _0x2b0c8e=_0xc45a38;if(_0x2f78a5[_0x2b0c8e(0x3a3)]!==_0x20dd31[_0x2b0c8e(0x202)]||_0x562d5e!=null&&_0x562d5e['fromCollab']||_0x562d5e!=null&&_0x562d5e[_0x2b0c8e(0x1dd)])return;const _0x3c4b76=_0x2f78a5[_0x2b0c8e(0x490)];if((_0x3c4b76==null?void 0x0:_0x3c4b76[_0x2b0c8e(0x388)])!==this[_0x2b0c8e(0x31d)])return;const _0x51ce46=_0x2f78a5,_0x34bbfa=this[_0x2b0c8e(0x468)][_0x2b0c8e(0x435)][_0x2b0c8e(0x203)](this[_0x2b0c8e(0x468)][_0x2b0c8e(0x435)]['getInterceptPoints']()[_0x2b0c8e(0x39a)])([_0x51ce46],null)||[_0x51ce46];this['_onLocalMutation'](_0x34bbfa[0x0]);})),_0x55f8c2;}};Tt=xt([H(0x3,_0x4f3deb(_0x4fddf8)),H(0x4,_0x4f3deb(_0x429dc5)),H(0x5,_0x4f3deb(_0xb18863)),H(0x6,_0x4f3deb(_0xa5d976)),H(0x7,_0x4f3deb(it)),H(0x8,_0x4f3deb(pe)),H(0x9,_0x53833e),H(0xa,_0x13fb4e),H(0xb,_0x115665),H(0xc,_0x3b02db(ht)),H(0xd,_0x3b02db(J))],Tt);var an=Object['getOwnPropertyDescriptor'],cn=(_0x2950ff,_0x16002a,_0x226c18,_0x1465ec)=>{var _0x55d567=_0x3ebd1b;for(var _0x39b7fd=_0x1465ec>0x1?void 0x0:_0x1465ec?an(_0x16002a,_0x226c18):_0x16002a,_0xb2e698=_0x2950ff[_0x55d567(0x363)]-0x1,_0x6b7259;_0xb2e698>=0x0;_0xb2e698--)(_0x6b7259=_0x2950ff[_0xb2e698])&&(_0x39b7fd=_0x6b7259(_0x39b7fd)||_0x39b7fd);return _0x39b7fd;},ft=(_0x5eff47,_0x23a264)=>(_0x1a87cd,_0x32da42)=>_0x23a264(_0x1a87cd,_0x32da42,_0x5eff47);let nt=class extends _0x32d278{constructor(_0x314499,_0x43dd10,_0xa20869){var _0x468260=_0x3ebd1b;super(),N(this,_0x468260(0x3e6),new Map()),N(this,'_entityInit$',new _0x384b9e()),N(this,'entityInit$',this[_0x468260(0x1d4)][_0x468260(0x477)]()),(this[_0x468260(0x346)]=_0x314499,this[_0x468260(0x366)]=_0x43dd10,this[_0x468260(0x419)]=_0xa20869,this['_init']());}['dispose'](){var _0x316182=_0x3ebd1b;super['dispose'](),this[_0x316182(0x3e6)][_0x316182(0x326)](_0x112009=>_0x112009[_0x316182(0x27c)]()),this['_entities']['clear']();}[_0x3ebd1b(0x2ff)](_0xae12f0){var _0xe09c41=_0x3ebd1b,_0x56d289;return(_0x56d289=this[_0xe09c41(0x3e6)]['get'](_0xae12f0))!=null?_0x56d289:null;}[_0x3ebd1b(0x368)](_0x13e536){var _0x3490f3=_0x3ebd1b;const _0x916f07=this['getCollabEntity'](_0x13e536);return _0x916f07?_0x490a2c(_0x916f07):this[_0x3490f3(0x1d4)]['pipe'](_0x1a4f87(_0x2d43f5=>_0x2d43f5[_0x3490f3(0x31d)]===_0x13e536));}['readyForCollab'](_0x416b4c){var _0x23f96b=_0x3ebd1b;return _0x557225(this[_0x23f96b(0x368)](_0x416b4c)['pipe'](_0x182a28(()=>{})));}['_init'](){var _0x581596=_0x3ebd1b;this[_0x581596(0x419)]['getTypeOfUnitAdded$'](_0x6e43e8[_0x581596(0x3f5)])[_0x581596(0x2e0)](_0x10896f(this[_0x581596(0x2e3)]),_0xdf788d(0x10))[_0x581596(0x3c0)](async _0x3c4fa3=>{var _0x87e4b3=_0x581596;const _0x2bd0f9=_0x3c4fa3[_0x87e4b3(0x41a)](),_0x1a2320=await this[_0x87e4b3(0x3b5)](_0x2bd0f9,Q[_0x87e4b3(0x3f5)]);this[_0x87e4b3(0x3e6)][_0x87e4b3(0x3c2)](_0x2bd0f9,_0x1a2320);}),this['_univerInstanceService'][_0x581596(0x1d5)](_0x6e43e8[_0x581596(0x467)])['pipe'](_0x10896f(this['dispose$']),_0xdf788d(0x10))[_0x581596(0x2e0)](_0x1a4f87(_0x13c93a=>!_0x13c93a[_0x581596(0x41a)]()[_0x581596(0x475)]('__')))[_0x581596(0x3c0)](async _0x200d93=>{var _0x2f0126=_0x581596;const _0xad9873=_0x200d93['getUnitId'](),_0x3eb717=await this[_0x2f0126(0x3b5)](_0xad9873,Q['UNIVER_DOC']);this['_entities'][_0x2f0126(0x3c2)](_0xad9873,_0x3eb717);}),_0x4f1458(this[_0x581596(0x419)][_0x581596(0x20d)](_0x6e43e8[_0x581596(0x3f5)]),this[_0x581596(0x419)][_0x581596(0x20d)](_0x6e43e8[_0x581596(0x467)]))[_0x581596(0x2e0)](_0x10896f(this[_0x581596(0x2e3)]))[_0x581596(0x3c0)](_0x4a435d=>{var _0x40d28d=_0x581596;const _0x8f8cad=_0x4a435d[_0x40d28d(0x41a)](),_0x2371f9=this[_0x40d28d(0x3e6)][_0x40d28d(0x285)](_0x8f8cad);_0x2371f9&&(_0x2371f9[_0x40d28d(0x27c)](),this[_0x40d28d(0x3e6)][_0x40d28d(0x488)](_0x8f8cad));});}async[_0x3ebd1b(0x3b5)](_0x2d6a44,_0x1d65fb){var _0x3ac283=_0x3ebd1b;const _0x11218f=await this[_0x3ac283(0x366)][_0x3ac283(0x26f)](_0x2d6a44),_0x23409d=this[_0x3ac283(0x346)][_0x3ac283(0x1fc)](this[_0x3ac283(0x239)](_0x1d65fb),_0x2d6a44,_0x1d65fb,_0x11218f);return await _0x23409d[_0x3ac283(0x1cf)](),this[_0x3ac283(0x1d4)]['next'](_0x23409d),_0x23409d;}[_0x3ebd1b(0x239)](_0x5899d6){var _0x2afa61=_0x3ebd1b;switch(_0x5899d6){case Q[_0x2afa61(0x467)]:return It;case Q[_0x2afa61(0x3f5)]:return Tt;default:throw new Error(_0x2afa61(0x36b)+_0x5899d6);}}};nt=cn([ft(0x0,_0x4f3deb(_0x4fddf8)),ft(0x1,_0x4f3deb(Le)),ft(0x2,_0x42c510)],nt);var hn=Object[_0x3ebd1b(0x2a5)],_n=(_0x8a916c,_0x3c0379,_0xb562d2,_0x2c3e7e)=>{var _0xbf373f=_0x3ebd1b;for(var _0x4d89a1=_0x2c3e7e>0x1?void 0x0:_0x2c3e7e?hn(_0x3c0379,_0xb562d2):_0x3c0379,_0x16ccd4=_0x8a916c[_0xbf373f(0x363)]-0x1,_0xf48576;_0x16ccd4>=0x0;_0x16ccd4--)(_0xf48576=_0x8a916c[_0x16ccd4])&&(_0x4d89a1=_0xf48576(_0x4d89a1)||_0x4d89a1);return _0x4d89a1;},zt=(_0x22072b,_0x3adc35)=>(_0x32c496,_0x550b99)=>_0x3adc35(_0x32c496,_0x550b99,_0x22072b);const ln=_0x3ebd1b(0x443),un=_0x3ebd1b(0x2ed);let Ct=class extends _0x18c765{constructor(_0x62ab66,_0x134baa){var _0x44d2ea=_0x3ebd1b;super(),this[_0x44d2ea(0x419)]=_0x62ab66,this[_0x44d2ea(0x1d2)]=_0x134baa,this[_0x44d2ea(0x32a)]();}['_init'](){var _0x280f5c=_0x3ebd1b;this['disposeWithMe'](this[_0x280f5c(0x419)][_0x280f5c(0x2a8)][_0x280f5c(0x3c0)](()=>{var _0x1b349a=_0x280f5c,_0x372241;const _0x1b2af0=this['_univerInstanceService']['getFocusedUnit']();let _0x3bd0f6=(_0x372241=this[_0x1b349a(0x1d2)][_0x1b349a(0x445)](ln))!=null?_0x372241:un;_0x1b2af0 instanceof _0xfe2436&&(_0x3bd0f6=_0x1b2af0[_0x1b349a(0x289)]),document[_0x1b349a(0x1ad)]=_0x3bd0f6;}));}};Ct=_n([zt(0x0,_0x42c510),zt(0x1,_0x2a770c)],Ct);var dn=Object[_0x3ebd1b(0x2a5)],fn=(_0x3e98bf,_0x8e252e,_0x536c46,_0xdfcaa5)=>{var _0x316d65=_0x3ebd1b;for(var _0x518c03=_0xdfcaa5>0x1?void 0x0:_0xdfcaa5?dn(_0x8e252e,_0x536c46):_0x8e252e,_0x5e0d8c=_0x3e98bf[_0x316d65(0x363)]-0x1,_0x19b648;_0x5e0d8c>=0x0;_0x5e0d8c--)(_0x19b648=_0x3e98bf[_0x5e0d8c])&&(_0x518c03=_0x19b648(_0x518c03)||_0x518c03);return _0x518c03;},vt=(_0x3e82c7,_0x3ff320)=>(_0x3b633d,_0x5883f1)=>_0x3ff320(_0x3b633d,_0x5883f1,_0x3e82c7);let st=class{constructor(_0x1ea29a,_0x3ef3ad,_0x5d7877){var _0x574ced=_0x3ebd1b;this[_0x574ced(0x1d2)]=_0x1ea29a,this[_0x574ced(0x304)]=_0x3ef3ad,this[_0x574ced(0x43b)]=_0x5d7877,this['init']();}[_0x3ebd1b(0x1cf)](){var _0x333298=_0x3ebd1b;this[_0x333298(0x304)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x23a682,_0x59aff7)=>_0x59aff7(_0x23a682)[_0x333298(0x2e0)](_0x5c75e0(async _0x400d9f=>{var _0x2fbd7f=_0x333298;const _0xfea96b=_0x400d9f;if(_0xfea96b['status']===0x191){if(typeof window>'u')throw new Error(_0x2fbd7f(0x2b6));if(window[_0x2fbd7f(0x394)](this[_0x2fbd7f(0x43b)]['t'](_0x2fbd7f(0x300)))){const _0x577fc1=window[_0x2fbd7f(0x426)](window[_0x2fbd7f(0x313)][_0x2fbd7f(0x2b2)]);window[_0x2fbd7f(0x313)]['href']=this[_0x2fbd7f(0x38e)]()+'?url='+_0x577fc1;}}return _0xfea96b;}))});}[_0x3ebd1b(0x38e)](){var _0x57a35c=_0x3ebd1b,_0x13e12c,_0x12d982;const _0x4f470d=this['_configService']['getConfig'](Dr),_0x518fd7=this['_configService'][_0x57a35c(0x445)](q);return(_0x12d982=(_0x13e12c=_0x518fd7==null?void 0x0:_0x518fd7[_0x57a35c(0x292)])!=null?_0x13e12c:_0x4f470d)!=null?_0x12d982:wr;}};st=fn([vt(0x0,_0x2a770c),vt(0x1,_0x4f3deb(_0x33658e)),vt(0x2,_0x4f3deb(_0xb18863))],st);var vn=Object['getOwnPropertyDescriptor'],pn=(_0x3c39f1,_0x55e8b1,_0x4adbc9,_0x5b63ae)=>{var _0x33476b=_0x3ebd1b;for(var _0x3c67ff=_0x5b63ae>0x1?void 0x0:_0x5b63ae?vn(_0x55e8b1,_0x4adbc9):_0x55e8b1,_0x18f99b=_0x3c39f1[_0x33476b(0x363)]-0x1,_0xb234e7;_0x18f99b>=0x0;_0x18f99b--)(_0xb234e7=_0x3c39f1[_0x18f99b])&&(_0x3c67ff=_0xb234e7(_0x3c67ff)||_0x3c67ff);return _0x3c67ff;},Jt=(_0x291e0d,_0xe0b4d7)=>(_0x18c86d,_0x43fd55)=>_0xe0b4d7(_0x18c86d,_0x43fd55,_0x291e0d);const Ni='AUTHZ_URL_KEY',mn='/universer-api/authz';let Rt=class extends _0x18c765{constructor(_0x212445,_0x4f5be9){var _0x343fed=_0x3ebd1b;super(),this['_HTTPService']=_0x212445,this[_0x343fed(0x1d2)]=_0x4f5be9,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x5b9821=_0x3ebd1b;const _0x2852e7=this;this[_0x5b9821(0x417)](this[_0x5b9821(0x2f4)][_0x5b9821(0x25a)]({'priority':0x3e7,'interceptor':_0x550b93({'isMatch'(_0x48e438){var _0x186bd4=_0x5b9821,_0x113a5a;if(_0x48e438[_0x186bd4(0x29b)]===_0x186bd4(0x278)&&((_0x113a5a=_0x48e438[_0x186bd4(0x26d)])!=null&&_0x113a5a[_0x186bd4(0x221)])){const {objectID:_0x400b16,objectType:_0x9808fd}=_0x48e438[_0x186bd4(0x26d)][_0x186bd4(0x221)]||{};if(!_0x400b16||_0x9808fd===void 0x0)return!0x1;const _0x2f18e1=_0x2852e7[_0x186bd4(0x343)]()+'/'+_0x9808fd+_0x186bd4(0x45a)+_0x400b16+_0x186bd4(0x206);if(_0x48e438[_0x186bd4(0x31a)]===_0x2f18e1)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2f4836){var _0x4594cf=_0x5b9821,_0x369b95;return(_0x369b95=_0x2f4836[_0x4594cf(0x26d)])==null?void 0x0:_0x369b95[_0x4594cf(0x221)];},'mergeParamsToRequest'(_0x358ed9,_0x5ea0a6){var _0xccd0a=_0x5b9821;const _0x18a041=_0x2852e7['_getAPIPrefixPath']()+_0xccd0a(0x295),_0x43b58d=_0x358ed9['reduce']((_0x55d412,_0x587dc3)=>{var _0x299d56=_0xccd0a;const {unitID:_0x318235,objectID:_0x13f384,objectType:_0x1f5d86,actions:_0x47e53a}=_0x587dc3;return _0x55d412[_0x318235]||(_0x55d412[_0x318235]={}),_0x55d412[_0x318235][_0x13f384]||(_0x55d412[_0x318235][_0x13f384]={'objectID':_0x13f384,'objectType':_0x1f5d86,'actions':[]}),_0x55d412[_0x318235][_0x13f384][_0x299d56(0x1ea)][_0x299d56(0x427)](..._0x47e53a),_0x55d412;},{}),_0x505361=[];for(const _0x2f1ee9 in _0x43b58d)for(const _0x47d69b in _0x43b58d[_0x2f1ee9]){const {actions:_0x1f7a78,objectType:_0x211456}=_0x43b58d[_0x2f1ee9][_0x47d69b],_0x534d49=[...new Set(_0x1f7a78)];_0x505361[_0xccd0a(0x427)]({'unitID':_0x2f1ee9,'objectID':_0x47d69b,'objectType':_0x211456,'actions':_0x534d49});}return new _0x228c9d(_0xccd0a(0x278),_0x18a041,{'headers':_0x5ea0a6[_0xccd0a(0x3c4)],'withCredentials':_0x5ea0a6[_0xccd0a(0x36e)],'responseType':_0x5ea0a6[_0xccd0a(0x1e2)],'body':{'requests':_0x505361}});}},{'distributeResult'(_0x5805b7,_0x4676c6){var _0x1d389a=_0x5b9821;const {objectActions:_0x183ce7}=_0x5805b7;return _0x4676c6[_0x1d389a(0x453)](_0x5c99e6=>{var _0x19a2fc=_0x1d389a;const {unitID:_0x1bb079,objectID:_0x498293,actions:_0x289106}=_0x5c99e6,_0x395171=_0x183ce7[_0x19a2fc(0x1c8)](_0x4929b1=>_0x4929b1[_0x19a2fc(0x31d)]===_0x1bb079&&_0x4929b1[_0x19a2fc(0x3ee)]===_0x498293),_0x419548=_0x289106[_0x19a2fc(0x453)](_0x38381b=>_0x395171==null?void 0x0:_0x395171[_0x19a2fc(0x1ea)]['find'](_0x268ee0=>_0x268ee0[_0x19a2fc(0x255)]===_0x38381b))[_0x19a2fc(0x1f1)](_0x5d0bbf=>!!_0x5d0bbf);return{'config':_0x5c99e6,'result':{'actions':_0x419548,'error':_0x5805b7['error']}};});}})}));}[_0x3ebd1b(0x343)](){var _0x2b0950=_0x3ebd1b,_0xff361e,_0x3b01ed;const _0x818bef=this[_0x2b0950(0x1d2)][_0x2b0950(0x445)](Ni),_0x3ce4ed=this[_0x2b0950(0x1d2)][_0x2b0950(0x445)](q);return(_0x3b01ed=(_0xff361e=_0x3ce4ed==null?void 0x0:_0x3ce4ed['authzUrl'])!=null?_0xff361e:_0x818bef)!=null?_0x3b01ed:mn;}async[_0x3ebd1b(0x272)](_0x6104d8){var _0x519651=_0x3ebd1b;const _0x107b3e=this[_0x519651(0x343)]()+'/'+_0x6104d8[_0x519651(0x437)]+_0x519651(0x1fa);return(await this['_HTTPService'][_0x519651(0x38c)](_0x107b3e,{'body':_0x6104d8}))[_0x519651(0x221)]['objectID']||'';}async[_0x3ebd1b(0x335)](_0x4a7aa7){var _0xa09cc8=_0x3ebd1b;const _0x277f80=this[_0xa09cc8(0x343)]()+'/-/object/list';return(await this[_0xa09cc8(0x2f4)][_0xa09cc8(0x38c)](_0x277f80,{'body':_0x4a7aa7}))['body'][_0xa09cc8(0x2c8)];}async[_0x3ebd1b(0x380)](_0x4376b5){var _0x5109b5=_0x3ebd1b;const _0x458a3e=this['_getAPIPrefixPath']()+'/'+_0x4376b5['objectType']+_0x5109b5(0x45a)+_0x4376b5[_0x5109b5(0x3ee)];await this[_0x5109b5(0x2f4)][_0x5109b5(0x277)](_0x458a3e,{'body':_0x4376b5});}async['allowed'](_0x186a86){var _0x8f2cab=_0x3ebd1b;const _0x24dd15=this[_0x8f2cab(0x343)]()+'/'+_0x186a86[_0x8f2cab(0x437)]+_0x8f2cab(0x45a)+_0x186a86[_0x8f2cab(0x3ee)]+'/allowed';return(await this['_HTTPService'][_0x8f2cab(0x38c)](_0x24dd15,{'body':_0x186a86}))[_0x8f2cab(0x221)]['actions'];}async[_0x3ebd1b(0x1eb)](_0x5b855d){var _0x579091=_0x3ebd1b;const _0x6768c0=this[_0x579091(0x343)]()+_0x579091(0x295);return(await this[_0x579091(0x2f4)][_0x579091(0x38c)](_0x6768c0,{'body':{'requests':_0x5b855d}}))[_0x579091(0x221)][_0x579091(0x2cd)];}async[_0x3ebd1b(0x219)](_0x64d3ee){var _0x9e387b=_0x3ebd1b;const _0x4f6c64=this['_getAPIPrefixPath']()+'/'+_0x64d3ee[_0x9e387b(0x437)]+_0x9e387b(0x1ed),_0x5b0517=await this[_0x9e387b(0x2f4)][_0x9e387b(0x38c)](_0x4f6c64,{'body':_0x64d3ee});return{'roles':_0x5b0517[_0x9e387b(0x221)]['roles'],'actions':_0x5b0517[_0x9e387b(0x221)][_0x9e387b(0x1ea)]};}async['deleteCollaborator'](_0x3b0aa0){var _0x23bea1=_0x3ebd1b;const _0x3d219a=this[_0x23bea1(0x343)]()+_0x23bea1(0x32e);await this['_HTTPService']['delete'](_0x3d219a,{'params':{'collaboratorID':_0x3b0aa0[_0x23bea1(0x23a)],'objectID':_0x3b0aa0['objectID'],'unitID':_0x3b0aa0[_0x23bea1(0x31d)]}});}async[_0x3ebd1b(0x32f)](_0x134185){var _0x230c7b=_0x3ebd1b;const _0x599824=this[_0x230c7b(0x343)]()+_0x230c7b(0x32e);await this[_0x230c7b(0x2f4)][_0x230c7b(0x348)](_0x599824,{'body':_0x134185});}async[_0x3ebd1b(0x3d2)](_0x3b09a7){var _0x5d923c=_0x3ebd1b;const _0x35aad9=this[_0x5d923c(0x343)]()+_0x5d923c(0x32e);await this[_0x5d923c(0x2f4)][_0x5d923c(0x38c)](_0x35aad9,{'body':_0x3b09a7});}async[_0x3ebd1b(0x248)](_0x1f64fe){var _0x5048eb=_0x3ebd1b;const _0x39f234=this[_0x5048eb(0x343)]()+_0x5048eb(0x32e);return(await this[_0x5048eb(0x2f4)][_0x5048eb(0x285)](_0x39f234,{'params':{'objectID':_0x1f64fe[_0x5048eb(0x3ee)],'unitID':_0x1f64fe['unitID']}}))['body']['collaborators'];}async[_0x3ebd1b(0x473)](_0x3659e6){var _0x1ba9a2=_0x3ebd1b;const _0x450865=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x1ba9a2(0x2f4)][_0x1ba9a2(0x277)](_0x450865,{'body':_0x3659e6});}};Rt=pn([Jt(0x0,_0x4f3deb(_0x33658e)),Jt(0x1,_0x4f3deb(_0x2a770c))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x3dd723){var _0x563149=_0x3ebd1b;return _0x3dd723&&_0x3dd723[_0x563149(0x306)]&&Object[_0x563149(0x25e)][_0x563149(0x447)][_0x563149(0x33d)](_0x3dd723,_0x563149(0x261))?_0x3dd723[_0x563149(0x261)]:_0x3dd723;}var Ge={'exports':{}};function gn(_0x1d5969){var _0x12a859=_0x3ebd1b;throw new Error(_0x12a859(0x287)+_0x1d5969+_0x12a859(0x312));}var Ve={'exports':{}},Sn=Ve['exports'],Xt;function ie(){return Xt||(Xt=0x1,function(_0x1bb38d,_0x424f4a){(function(_0x3d858c,_0x7660d0){_0x1bb38d['exports']=_0x7660d0();}(Sn,function(){var _0x5b4fba=_0x5b4fba||function(_0xf74cdf,_0x52d757){var _0x2c585d=_0x44ec,_0x1043a7;if(typeof window<'u'&&window[_0x2c585d(0x226)]&&(_0x1043a7=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x1043a7=self[_0x2c585d(0x226)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1043a7=globalThis[_0x2c585d(0x226)]),!_0x1043a7&&typeof window<'u'&&window[_0x2c585d(0x1ba)]&&(_0x1043a7=window['msCrypto']),!_0x1043a7&&typeof pt<'u'&&pt[_0x2c585d(0x226)]&&(_0x1043a7=pt[_0x2c585d(0x226)]),!_0x1043a7&&typeof gn==_0x2c585d(0x281))try{_0x1043a7=require('crypto');}catch{}var _0x16f106=function(){var _0x13ed69=_0x2c585d;if(_0x1043a7){if(typeof _0x1043a7[_0x13ed69(0x3a7)]=='function')try{return _0x1043a7[_0x13ed69(0x3a7)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1043a7[_0x13ed69(0x2c5)]==_0x13ed69(0x281))try{return _0x1043a7[_0x13ed69(0x2c5)](0x4)[_0x13ed69(0x486)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x21822f=Object[_0x2c585d(0x272)]||(function(){function _0xde6fec(){}return function(_0xec8f6c){var _0x495538=_0x44ec,_0x53fff2;return _0xde6fec[_0x495538(0x25e)]=_0xec8f6c,_0x53fff2=new _0xde6fec(),_0xde6fec[_0x495538(0x25e)]=null,_0x53fff2;};}()),_0x46b574={},_0x160633=_0x46b574['lib']={},_0x4b056b=_0x160633[_0x2c585d(0x361)]=(function(){return{'extend':function(_0x10aef0){var _0x43c197=_0x44ec,_0x54a82d=_0x21822f(this);return _0x10aef0&&_0x54a82d[_0x43c197(0x2e5)](_0x10aef0),(!_0x54a82d['hasOwnProperty'](_0x43c197(0x1cf))||this[_0x43c197(0x1cf)]===_0x54a82d[_0x43c197(0x1cf)])&&(_0x54a82d[_0x43c197(0x1cf)]=function(){var _0x2084a2=_0x43c197;_0x54a82d[_0x2084a2(0x49b)]['init'][_0x2084a2(0x1fb)](this,arguments);}),_0x54a82d[_0x43c197(0x1cf)]['prototype']=_0x54a82d,_0x54a82d['$super']=this,_0x54a82d;},'create':function(){var _0x5b9c35=_0x44ec,_0x208cfb=this[_0x5b9c35(0x333)]();return _0x208cfb[_0x5b9c35(0x1cf)]['apply'](_0x208cfb,arguments),_0x208cfb;},'init':function(){},'mixIn':function(_0x48e4a6){var _0x2d0c81=_0x44ec;for(var _0x534cbd in _0x48e4a6)_0x48e4a6[_0x2d0c81(0x447)](_0x534cbd)&&(this[_0x534cbd]=_0x48e4a6[_0x534cbd]);_0x48e4a6[_0x2d0c81(0x447)](_0x2d0c81(0x1ab))&&(this[_0x2d0c81(0x1ab)]=_0x48e4a6[_0x2d0c81(0x1ab)]);},'clone':function(){var _0x5444c3=_0x44ec;return this[_0x5444c3(0x1cf)][_0x5444c3(0x25e)][_0x5444c3(0x333)](this);}};}()),_0x1b2ade=_0x160633[_0x2c585d(0x3d5)]=_0x4b056b['extend']({'init':function(_0x87f446,_0x5d9690){var _0x5d1b48=_0x2c585d;_0x87f446=this[_0x5d1b48(0x1d9)]=_0x87f446||[],_0x5d9690!=_0x52d757?this[_0x5d1b48(0x1e5)]=_0x5d9690:this[_0x5d1b48(0x1e5)]=_0x87f446[_0x5d1b48(0x363)]*0x4;},'toString':function(_0xdb54a2){return(_0xdb54a2||_0x3329cc)['stringify'](this);},'concat':function(_0x51e6f2){var _0x543c9a=_0x2c585d,_0x1397c3=this[_0x543c9a(0x1d9)],_0x1e6a8c=_0x51e6f2[_0x543c9a(0x1d9)],_0x4c7242=this[_0x543c9a(0x1e5)],_0x2cdf75=_0x51e6f2['sigBytes'];if(this[_0x543c9a(0x20b)](),_0x4c7242%0x4)for(var _0x4c7e6d=0x0;_0x4c7e6d<_0x2cdf75;_0x4c7e6d++){var _0x930ea7=_0x1e6a8c[_0x4c7e6d>>>0x2]>>>0x18-_0x4c7e6d%0x4*0x8&0xff;_0x1397c3[_0x4c7242+_0x4c7e6d>>>0x2]|=_0x930ea7<<0x18-(_0x4c7242+_0x4c7e6d)%0x4*0x8;}else{for(var _0x44844b=0x0;_0x44844b<_0x2cdf75;_0x44844b+=0x4)_0x1397c3[_0x4c7242+_0x44844b>>>0x2]=_0x1e6a8c[_0x44844b>>>0x2];}return this['sigBytes']+=_0x2cdf75,this;},'clamp':function(){var _0x277134=_0x2c585d,_0x316d79=this[_0x277134(0x1d9)],_0x29a77d=this[_0x277134(0x1e5)];_0x316d79[_0x29a77d>>>0x2]&=0xffffffff<<0x20-_0x29a77d%0x4*0x8,_0x316d79[_0x277134(0x363)]=_0xf74cdf[_0x277134(0x1cc)](_0x29a77d/0x4);},'clone':function(){var _0xf906cd=_0x2c585d,_0x3136c1=_0x4b056b[_0xf906cd(0x35e)][_0xf906cd(0x33d)](this);return _0x3136c1[_0xf906cd(0x1d9)]=this[_0xf906cd(0x1d9)]['slice'](0x0),_0x3136c1;},'random':function(_0x9ad970){var _0x2ee12b=_0x2c585d;for(var _0xfab28c=[],_0x4b6d90=0x0;_0x4b6d90<_0x9ad970;_0x4b6d90+=0x4)_0xfab28c[_0x2ee12b(0x427)](_0x16f106());return new _0x1b2ade['init'](_0xfab28c,_0x9ad970);}}),_0x3b61e5=_0x46b574[_0x2c585d(0x483)]={},_0x3329cc=_0x3b61e5[_0x2c585d(0x41f)]={'stringify':function(_0x1ac650){var _0x38e27d=_0x2c585d;for(var _0x4f48db=_0x1ac650['words'],_0x2ca43c=_0x1ac650[_0x38e27d(0x1e5)],_0x590be7=[],_0xf57f97=0x0;_0xf57f97<_0x2ca43c;_0xf57f97++){var _0xa5b1=_0x4f48db[_0xf57f97>>>0x2]>>>0x18-_0xf57f97%0x4*0x8&0xff;_0x590be7[_0x38e27d(0x427)]((_0xa5b1>>>0x4)[_0x38e27d(0x1ab)](0x10)),_0x590be7['push']((_0xa5b1&0xf)['toString'](0x10));}return _0x590be7[_0x38e27d(0x3c5)]('');},'parse':function(_0x427add){var _0x571e04=_0x2c585d;for(var _0x2f06f7=_0x427add[_0x571e04(0x363)],_0x3f9e81=[],_0x5a0226=0x0;_0x5a0226<_0x2f06f7;_0x5a0226+=0x2)_0x3f9e81[_0x5a0226>>>0x3]|=parseInt(_0x427add['substr'](_0x5a0226,0x2),0x10)<<0x18-_0x5a0226%0x8*0x4;return new _0x1b2ade[(_0x571e04(0x1cf))](_0x3f9e81,_0x2f06f7/0x2);}},_0x2076c5=_0x3b61e5['Latin1']={'stringify':function(_0x153b8e){var _0x3de5ab=_0x2c585d;for(var _0x1a5bda=_0x153b8e[_0x3de5ab(0x1d9)],_0x299b45=_0x153b8e[_0x3de5ab(0x1e5)],_0x82017c=[],_0x412faa=0x0;_0x412faa<_0x299b45;_0x412faa++){var _0x2ed124=_0x1a5bda[_0x412faa>>>0x2]>>>0x18-_0x412faa%0x4*0x8&0xff;_0x82017c['push'](String[_0x3de5ab(0x352)](_0x2ed124));}return _0x82017c[_0x3de5ab(0x3c5)]('');},'parse':function(_0x35ff66){var _0x3b7e86=_0x2c585d;for(var _0x1f51f9=_0x35ff66[_0x3b7e86(0x363)],_0x3db066=[],_0x3c5a83=0x0;_0x3c5a83<_0x1f51f9;_0x3c5a83++)_0x3db066[_0x3c5a83>>>0x2]|=(_0x35ff66[_0x3b7e86(0x3bc)](_0x3c5a83)&0xff)<<0x18-_0x3c5a83%0x4*0x8;return new _0x1b2ade[(_0x3b7e86(0x1cf))](_0x3db066,_0x1f51f9);}},_0x520955=_0x3b61e5[_0x2c585d(0x271)]={'stringify':function(_0x240ee9){var _0x403457=_0x2c585d;try{return decodeURIComponent(escape(_0x2076c5[_0x403457(0x48d)](_0x240ee9)));}catch{throw new Error(_0x403457(0x340));}},'parse':function(_0x243e77){return _0x2076c5['parse'](unescape(encodeURIComponent(_0x243e77)));}},_0x5e0e4f=_0x160633[_0x2c585d(0x269)]=_0x4b056b[_0x2c585d(0x333)]({'reset':function(){var _0x3bb704=_0x2c585d;this[_0x3bb704(0x2fd)]=new _0x1b2ade[(_0x3bb704(0x1cf))](),this['_nDataBytes']=0x0;},'_append':function(_0xf3224a){var _0x893a8e=_0x2c585d;typeof _0xf3224a==_0x893a8e(0x411)&&(_0xf3224a=_0x520955[_0x893a8e(0x1a3)](_0xf3224a)),this[_0x893a8e(0x2fd)][_0x893a8e(0x43c)](_0xf3224a),this[_0x893a8e(0x4a4)]+=_0xf3224a[_0x893a8e(0x1e5)];},'_process':function(_0x544834){var _0x4687a1=_0x2c585d,_0x1387fa,_0x17ff2d=this[_0x4687a1(0x2fd)],_0x176ae7=_0x17ff2d['words'],_0x1012d7=_0x17ff2d[_0x4687a1(0x1e5)],_0x32dfa0=this[_0x4687a1(0x1cd)],_0x2eab14=_0x32dfa0*0x4,_0xf1d468=_0x1012d7/_0x2eab14;_0x544834?_0xf1d468=_0xf74cdf[_0x4687a1(0x1cc)](_0xf1d468):_0xf1d468=_0xf74cdf['max']((_0xf1d468|0x0)-this[_0x4687a1(0x1a6)],0x0);var _0x2e9d47=_0xf1d468*_0x32dfa0,_0x75630f=_0xf74cdf['min'](_0x2e9d47*0x4,_0x1012d7);if(_0x2e9d47){for(var _0x125abd=0x0;_0x125abd<_0x2e9d47;_0x125abd+=_0x32dfa0)this['_doProcessBlock'](_0x176ae7,_0x125abd);_0x1387fa=_0x176ae7[_0x4687a1(0x1e4)](0x0,_0x2e9d47),_0x17ff2d[_0x4687a1(0x1e5)]-=_0x75630f;}return new _0x1b2ade[(_0x4687a1(0x1cf))](_0x1387fa,_0x75630f);},'clone':function(){var _0x2319a3=_0x2c585d,_0x32c276=_0x4b056b[_0x2319a3(0x35e)][_0x2319a3(0x33d)](this);return _0x32c276['_data']=this['_data'][_0x2319a3(0x35e)](),_0x32c276;},'_minBufferSize':0x0});_0x160633['Hasher']=_0x5e0e4f[_0x2c585d(0x333)]({'cfg':_0x4b056b[_0x2c585d(0x333)](),'init':function(_0x23c6cc){var _0x291393=_0x2c585d;this[_0x291393(0x24e)]=this[_0x291393(0x24e)][_0x291393(0x333)](_0x23c6cc),this['reset']();},'reset':function(){var _0x4d4356=_0x2c585d;_0x5e0e4f[_0x4d4356(0x1af)][_0x4d4356(0x33d)](this),this[_0x4d4356(0x3d6)]();},'update':function(_0x56bc45){var _0x4be899=_0x2c585d;return this['_append'](_0x56bc45),this[_0x4be899(0x436)](),this;},'finalize':function(_0xb6fc48){var _0x510ed0=_0x2c585d;_0xb6fc48&&this[_0x510ed0(0x22f)](_0xb6fc48);var _0x3948d3=this[_0x510ed0(0x1c7)]();return _0x3948d3;},'blockSize':0x10,'_createHelper':function(_0x305624){return function(_0x404bb6,_0x378ddd){var _0x2f2117=_0x44ec;return new _0x305624[(_0x2f2117(0x1cf))](_0x378ddd)[_0x2f2117(0x44a)](_0x404bb6);};},'_createHmacHelper':function(_0x217ae6){return function(_0x540716,_0x41fbc1){var _0x433d19=_0x44ec;return new _0x227e2b[(_0x433d19(0x1b5))][(_0x433d19(0x1cf))](_0x217ae6,_0x41fbc1)[_0x433d19(0x44a)](_0x540716);};}});var _0x227e2b=_0x46b574[_0x2c585d(0x237)]={};return _0x46b574;}(Math);return _0x5b4fba;}));}(Ve)),Ve['exports'];}var We={'exports':{}},En=We[_0x3ebd1b(0x1a9)],Zt;function Di(){return Zt||(Zt=0x1,function(_0x47646d,_0x81edd2){(function(_0x1d2d79,_0x4fccf0){var _0x1647b1=_0x44ec;_0x47646d[_0x1647b1(0x1a9)]=_0x4fccf0(ie());}(En,function(_0x5a8198){var _0x455cd0=_0x44ec;return(function(){var _0x16c696=_0x44ec,_0x282742=_0x5a8198,_0x4a8bd8=_0x282742[_0x16c696(0x401)],_0x128273=_0x4a8bd8['WordArray'],_0x16ac07=_0x282742[_0x16c696(0x483)];_0x16ac07[_0x16c696(0x430)]={'stringify':function(_0x122217){var _0x517018=_0x16c696,_0x4e9f2f=_0x122217[_0x517018(0x1d9)],_0xfe6ca3=_0x122217[_0x517018(0x1e5)],_0x291635=this[_0x517018(0x42c)];_0x122217['clamp']();for(var _0xe77cc5=[],_0x24435a=0x0;_0x24435a<_0xfe6ca3;_0x24435a+=0x3)for(var _0x48a83f=_0x4e9f2f[_0x24435a>>>0x2]>>>0x18-_0x24435a%0x4*0x8&0xff,_0x463a19=_0x4e9f2f[_0x24435a+0x1>>>0x2]>>>0x18-(_0x24435a+0x1)%0x4*0x8&0xff,_0xc132a9=_0x4e9f2f[_0x24435a+0x2>>>0x2]>>>0x18-(_0x24435a+0x2)%0x4*0x8&0xff,_0x499a1d=_0x48a83f<<0x10|_0x463a19<<0x8|_0xc132a9,_0x120ec2=0x0;_0x120ec2<0x4&&_0x24435a+_0x120ec2*0.75<_0xfe6ca3;_0x120ec2++)_0xe77cc5[_0x517018(0x427)](_0x291635[_0x517018(0x3b6)](_0x499a1d>>>0x6*(0x3-_0x120ec2)&0x3f));var _0x5c7c2=_0x291635[_0x517018(0x3b6)](0x40);if(_0x5c7c2){for(;_0xe77cc5[_0x517018(0x363)]%0x4;)_0xe77cc5[_0x517018(0x427)](_0x5c7c2);}return _0xe77cc5[_0x517018(0x3c5)]('');},'parse':function(_0x37cd4c){var _0x5342b7=_0x16c696,_0x53fbf4=_0x37cd4c[_0x5342b7(0x363)],_0x3c322d=this[_0x5342b7(0x42c)],_0x2f2461=this[_0x5342b7(0x458)];if(!_0x2f2461){_0x2f2461=this['_reverseMap']=[];for(var _0x41307f=0x0;_0x41307f<_0x3c322d[_0x5342b7(0x363)];_0x41307f++)_0x2f2461[_0x3c322d[_0x5342b7(0x3bc)](_0x41307f)]=_0x41307f;}var _0x1b5dbc=_0x3c322d[_0x5342b7(0x3b6)](0x40);if(_0x1b5dbc){var _0x38e00d=_0x37cd4c[_0x5342b7(0x3d9)](_0x1b5dbc);_0x38e00d!==-0x1&&(_0x53fbf4=_0x38e00d);}return _0xadf12e(_0x37cd4c,_0x53fbf4,_0x2f2461);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0xadf12e(_0x30aa47,_0x562557,_0x1767ea){var _0xcca574=_0x16c696;for(var _0x34540f=[],_0x40e72f=0x0,_0x46d683=0x0;_0x46d683<_0x562557;_0x46d683++)if(_0x46d683%0x4){var _0x44d721=_0x1767ea[_0x30aa47[_0xcca574(0x3bc)](_0x46d683-0x1)]<<_0x46d683%0x4*0x2,_0x2c4729=_0x1767ea[_0x30aa47[_0xcca574(0x3bc)](_0x46d683)]>>>0x6-_0x46d683%0x4*0x2,_0x30350e=_0x44d721|_0x2c4729;_0x34540f[_0x40e72f>>>0x2]|=_0x30350e<<0x18-_0x40e72f%0x4*0x8,_0x40e72f++;}return _0x128273[_0xcca574(0x272)](_0x34540f,_0x40e72f);}}()),_0x5a8198[_0x455cd0(0x483)][_0x455cd0(0x430)];}));}(We)),We['exports'];}var Ke={'exports':{}},In=Ke[_0x3ebd1b(0x1a9)],Qt;function Tn(){return Qt||(Qt=0x1,function(_0x4426a0,_0x1a5a6f){(function(_0x4edb90,_0x3ac385){_0x4426a0['exports']=_0x3ac385(ie());}(In,function(_0x268340){return function(_0x535416){var _0x48a26d=_0x44ec,_0x4ad42f=_0x268340,_0x4f4179=_0x4ad42f[_0x48a26d(0x401)],_0x3b9a48=_0x4f4179[_0x48a26d(0x3d5)],_0x369ba1=_0x4f4179['Hasher'],_0x46873e=_0x4ad42f[_0x48a26d(0x237)],_0x1ede09=[];(function(){var _0xc3b479=_0x48a26d;for(var _0x791223=0x0;_0x791223<0x40;_0x791223++)_0x1ede09[_0x791223]=_0x535416[_0xc3b479(0x324)](_0x535416[_0xc3b479(0x2d8)](_0x791223+0x1))*0x100000000|0x0;}());var _0x3ab570=_0x46873e[_0x48a26d(0x1e7)]=_0x369ba1[_0x48a26d(0x333)]({'_doReset':function(){var _0x33ff1f=_0x48a26d;this[_0x33ff1f(0x47b)]=new _0x3b9a48['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x58e420,_0x26d584){var _0x47939b=_0x48a26d;for(var _0x5dd615=0x0;_0x5dd615<0x10;_0x5dd615++){var _0x23684b=_0x26d584+_0x5dd615,_0x48c55a=_0x58e420[_0x23684b];_0x58e420[_0x23684b]=(_0x48c55a<<0x8|_0x48c55a>>>0x18)&0xff00ff|(_0x48c55a<<0x18|_0x48c55a>>>0x8)&0xff00ff00;}var _0x38f92f=this[_0x47939b(0x47b)][_0x47939b(0x1d9)],_0x3f085b=_0x58e420[_0x26d584+0x0],_0x3a11fb=_0x58e420[_0x26d584+0x1],_0x520cb8=_0x58e420[_0x26d584+0x2],_0x10ad81=_0x58e420[_0x26d584+0x3],_0x12f78f=_0x58e420[_0x26d584+0x4],_0x20e4f9=_0x58e420[_0x26d584+0x5],_0x14e2b5=_0x58e420[_0x26d584+0x6],_0x26111d=_0x58e420[_0x26d584+0x7],_0x12d07d=_0x58e420[_0x26d584+0x8],_0x2ed82d=_0x58e420[_0x26d584+0x9],_0x482da2=_0x58e420[_0x26d584+0xa],_0x368599=_0x58e420[_0x26d584+0xb],_0xc6e9f9=_0x58e420[_0x26d584+0xc],_0xec84e4=_0x58e420[_0x26d584+0xd],_0x22025b=_0x58e420[_0x26d584+0xe],_0x25cbf3=_0x58e420[_0x26d584+0xf],_0x7d5f76=_0x38f92f[0x0],_0x138508=_0x38f92f[0x1],_0x377152=_0x38f92f[0x2],_0x4c570e=_0x38f92f[0x3];_0x7d5f76=_0xaf5b49(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0x3f085b,0x7,_0x1ede09[0x0]),_0x4c570e=_0xaf5b49(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x3a11fb,0xc,_0x1ede09[0x1]),_0x377152=_0xaf5b49(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x520cb8,0x11,_0x1ede09[0x2]),_0x138508=_0xaf5b49(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x10ad81,0x16,_0x1ede09[0x3]),_0x7d5f76=_0xaf5b49(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0x12f78f,0x7,_0x1ede09[0x4]),_0x4c570e=_0xaf5b49(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x20e4f9,0xc,_0x1ede09[0x5]),_0x377152=_0xaf5b49(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x14e2b5,0x11,_0x1ede09[0x6]),_0x138508=_0xaf5b49(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x26111d,0x16,_0x1ede09[0x7]),_0x7d5f76=_0xaf5b49(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0x12d07d,0x7,_0x1ede09[0x8]),_0x4c570e=_0xaf5b49(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x2ed82d,0xc,_0x1ede09[0x9]),_0x377152=_0xaf5b49(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x482da2,0x11,_0x1ede09[0xa]),_0x138508=_0xaf5b49(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x368599,0x16,_0x1ede09[0xb]),_0x7d5f76=_0xaf5b49(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0xc6e9f9,0x7,_0x1ede09[0xc]),_0x4c570e=_0xaf5b49(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0xec84e4,0xc,_0x1ede09[0xd]),_0x377152=_0xaf5b49(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x22025b,0x11,_0x1ede09[0xe]),_0x138508=_0xaf5b49(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x25cbf3,0x16,_0x1ede09[0xf]),_0x7d5f76=_0x16662b(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0x3a11fb,0x5,_0x1ede09[0x10]),_0x4c570e=_0x16662b(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x14e2b5,0x9,_0x1ede09[0x11]),_0x377152=_0x16662b(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x368599,0xe,_0x1ede09[0x12]),_0x138508=_0x16662b(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x3f085b,0x14,_0x1ede09[0x13]),_0x7d5f76=_0x16662b(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0x20e4f9,0x5,_0x1ede09[0x14]),_0x4c570e=_0x16662b(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x482da2,0x9,_0x1ede09[0x15]),_0x377152=_0x16662b(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x25cbf3,0xe,_0x1ede09[0x16]),_0x138508=_0x16662b(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x12f78f,0x14,_0x1ede09[0x17]),_0x7d5f76=_0x16662b(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0x2ed82d,0x5,_0x1ede09[0x18]),_0x4c570e=_0x16662b(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x22025b,0x9,_0x1ede09[0x19]),_0x377152=_0x16662b(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x10ad81,0xe,_0x1ede09[0x1a]),_0x138508=_0x16662b(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x12d07d,0x14,_0x1ede09[0x1b]),_0x7d5f76=_0x16662b(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0xec84e4,0x5,_0x1ede09[0x1c]),_0x4c570e=_0x16662b(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x520cb8,0x9,_0x1ede09[0x1d]),_0x377152=_0x16662b(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x26111d,0xe,_0x1ede09[0x1e]),_0x138508=_0x16662b(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0xc6e9f9,0x14,_0x1ede09[0x1f]),_0x7d5f76=_0xdeaf7b(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0x20e4f9,0x4,_0x1ede09[0x20]),_0x4c570e=_0xdeaf7b(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x12d07d,0xb,_0x1ede09[0x21]),_0x377152=_0xdeaf7b(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x368599,0x10,_0x1ede09[0x22]),_0x138508=_0xdeaf7b(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x22025b,0x17,_0x1ede09[0x23]),_0x7d5f76=_0xdeaf7b(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0x3a11fb,0x4,_0x1ede09[0x24]),_0x4c570e=_0xdeaf7b(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x12f78f,0xb,_0x1ede09[0x25]),_0x377152=_0xdeaf7b(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x26111d,0x10,_0x1ede09[0x26]),_0x138508=_0xdeaf7b(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x482da2,0x17,_0x1ede09[0x27]),_0x7d5f76=_0xdeaf7b(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0xec84e4,0x4,_0x1ede09[0x28]),_0x4c570e=_0xdeaf7b(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x3f085b,0xb,_0x1ede09[0x29]),_0x377152=_0xdeaf7b(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x10ad81,0x10,_0x1ede09[0x2a]),_0x138508=_0xdeaf7b(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x14e2b5,0x17,_0x1ede09[0x2b]),_0x7d5f76=_0xdeaf7b(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0x2ed82d,0x4,_0x1ede09[0x2c]),_0x4c570e=_0xdeaf7b(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0xc6e9f9,0xb,_0x1ede09[0x2d]),_0x377152=_0xdeaf7b(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x25cbf3,0x10,_0x1ede09[0x2e]),_0x138508=_0xdeaf7b(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x520cb8,0x17,_0x1ede09[0x2f]),_0x7d5f76=_0x40c36d(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0x3f085b,0x6,_0x1ede09[0x30]),_0x4c570e=_0x40c36d(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x26111d,0xa,_0x1ede09[0x31]),_0x377152=_0x40c36d(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x22025b,0xf,_0x1ede09[0x32]),_0x138508=_0x40c36d(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x20e4f9,0x15,_0x1ede09[0x33]),_0x7d5f76=_0x40c36d(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0xc6e9f9,0x6,_0x1ede09[0x34]),_0x4c570e=_0x40c36d(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x10ad81,0xa,_0x1ede09[0x35]),_0x377152=_0x40c36d(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x482da2,0xf,_0x1ede09[0x36]),_0x138508=_0x40c36d(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x3a11fb,0x15,_0x1ede09[0x37]),_0x7d5f76=_0x40c36d(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0x12d07d,0x6,_0x1ede09[0x38]),_0x4c570e=_0x40c36d(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x25cbf3,0xa,_0x1ede09[0x39]),_0x377152=_0x40c36d(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x14e2b5,0xf,_0x1ede09[0x3a]),_0x138508=_0x40c36d(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0xec84e4,0x15,_0x1ede09[0x3b]),_0x7d5f76=_0x40c36d(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0x12f78f,0x6,_0x1ede09[0x3c]),_0x4c570e=_0x40c36d(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x368599,0xa,_0x1ede09[0x3d]),_0x377152=_0x40c36d(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x520cb8,0xf,_0x1ede09[0x3e]),_0x138508=_0x40c36d(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x2ed82d,0x15,_0x1ede09[0x3f]),_0x38f92f[0x0]=_0x38f92f[0x0]+_0x7d5f76|0x0,_0x38f92f[0x1]=_0x38f92f[0x1]+_0x138508|0x0,_0x38f92f[0x2]=_0x38f92f[0x2]+_0x377152|0x0,_0x38f92f[0x3]=_0x38f92f[0x3]+_0x4c570e|0x0;},'_doFinalize':function(){var _0x3ca29a=_0x48a26d,_0x2fae6d=this['_data'],_0x11511d=_0x2fae6d['words'],_0xe58eaf=this[_0x3ca29a(0x4a4)]*0x8,_0x26e84d=_0x2fae6d[_0x3ca29a(0x1e5)]*0x8;_0x11511d[_0x26e84d>>>0x5]|=0x80<<0x18-_0x26e84d%0x20;var _0x16823d=_0x535416[_0x3ca29a(0x1c2)](_0xe58eaf/0x100000000),_0x1f57c6=_0xe58eaf;_0x11511d[(_0x26e84d+0x40>>>0x9<<0x4)+0xf]=(_0x16823d<<0x8|_0x16823d>>>0x18)&0xff00ff|(_0x16823d<<0x18|_0x16823d>>>0x8)&0xff00ff00,_0x11511d[(_0x26e84d+0x40>>>0x9<<0x4)+0xe]=(_0x1f57c6<<0x8|_0x1f57c6>>>0x18)&0xff00ff|(_0x1f57c6<<0x18|_0x1f57c6>>>0x8)&0xff00ff00,_0x2fae6d[_0x3ca29a(0x1e5)]=(_0x11511d[_0x3ca29a(0x363)]+0x1)*0x4,this[_0x3ca29a(0x436)]();for(var _0x260a06=this[_0x3ca29a(0x47b)],_0x3a75e6=_0x260a06[_0x3ca29a(0x1d9)],_0x9b78a0=0x0;_0x9b78a0<0x4;_0x9b78a0++){var _0x3a3cbd=_0x3a75e6[_0x9b78a0];_0x3a75e6[_0x9b78a0]=(_0x3a3cbd<<0x8|_0x3a3cbd>>>0x18)&0xff00ff|(_0x3a3cbd<<0x18|_0x3a3cbd>>>0x8)&0xff00ff00;}return _0x260a06;},'clone':function(){var _0x4a2d62=_0x48a26d,_0x3015d2=_0x369ba1[_0x4a2d62(0x35e)][_0x4a2d62(0x33d)](this);return _0x3015d2['_hash']=this[_0x4a2d62(0x47b)][_0x4a2d62(0x35e)](),_0x3015d2;}});function _0xaf5b49(_0x4ca8b2,_0x219a39,_0x4a1c7f,_0xc841bd,_0x3e8a31,_0x19ddef,_0x15707a){var _0x343456=_0x4ca8b2+(_0x219a39&_0x4a1c7f|~_0x219a39&_0xc841bd)+_0x3e8a31+_0x15707a;return(_0x343456<<_0x19ddef|_0x343456>>>0x20-_0x19ddef)+_0x219a39;}function _0x16662b(_0x266a40,_0x26bd21,_0x51e937,_0x4c73c3,_0xd12989,_0x2677ac,_0x349db3){var _0x2a9a8f=_0x266a40+(_0x26bd21&_0x4c73c3|_0x51e937&~_0x4c73c3)+_0xd12989+_0x349db3;return(_0x2a9a8f<<_0x2677ac|_0x2a9a8f>>>0x20-_0x2677ac)+_0x26bd21;}function _0xdeaf7b(_0x9dbd8d,_0x3672e3,_0x18d53d,_0x175dc8,_0x4ad3d1,_0x465af1,_0x51b25d){var _0x107e03=_0x9dbd8d+(_0x3672e3^_0x18d53d^_0x175dc8)+_0x4ad3d1+_0x51b25d;return(_0x107e03<<_0x465af1|_0x107e03>>>0x20-_0x465af1)+_0x3672e3;}function _0x40c36d(_0x52ff3a,_0x35a664,_0x107c76,_0x123246,_0x18898a,_0x53d500,_0x452a7c){var _0x2fbd9e=_0x52ff3a+(_0x107c76^(_0x35a664|~_0x123246))+_0x18898a+_0x452a7c;return(_0x2fbd9e<<_0x53d500|_0x2fbd9e>>>0x20-_0x53d500)+_0x35a664;}_0x4ad42f[_0x48a26d(0x1e7)]=_0x369ba1[_0x48a26d(0x345)](_0x3ab570),_0x4ad42f[_0x48a26d(0x459)]=_0x369ba1[_0x48a26d(0x2dd)](_0x3ab570);}(Math),_0x268340['MD5'];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},Cn=qe[_0x3ebd1b(0x1a9)],ei;function Rn(){var _0x2e053b=_0x3ebd1b;return ei||(ei=0x1,function(_0x2de047,_0x301010){(function(_0x25f9c9,_0x5f3afb){var _0x48e75f=_0x44ec;_0x2de047[_0x48e75f(0x1a9)]=_0x5f3afb(ie());}(Cn,function(_0x4997a5){var _0x40976f=_0x44ec;return(function(){var _0x375923=_0x44ec,_0x62d4c9=_0x4997a5,_0xaf0b2=_0x62d4c9[_0x375923(0x401)],_0x484498=_0xaf0b2[_0x375923(0x3d5)],_0x323e14=_0xaf0b2[_0x375923(0x30e)],_0x5171f7=_0x62d4c9[_0x375923(0x237)],_0x4abb3a=[],_0x22b509=_0x5171f7[_0x375923(0x3d4)]=_0x323e14['extend']({'_doReset':function(){var _0x10aa69=_0x375923;this[_0x10aa69(0x47b)]=new _0x484498[(_0x10aa69(0x1cf))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x11f5ab,_0x2a1d90){var _0x2448e1=_0x375923;for(var _0x11b73c=this[_0x2448e1(0x47b)][_0x2448e1(0x1d9)],_0x2ac144=_0x11b73c[0x0],_0x480620=_0x11b73c[0x1],_0xcd920e=_0x11b73c[0x2],_0x2b1ba5=_0x11b73c[0x3],_0x4bd934=_0x11b73c[0x4],_0x5e05b2=0x0;_0x5e05b2<0x50;_0x5e05b2++){if(_0x5e05b2<0x10)_0x4abb3a[_0x5e05b2]=_0x11f5ab[_0x2a1d90+_0x5e05b2]|0x0;else{var _0x1d6149=_0x4abb3a[_0x5e05b2-0x3]^_0x4abb3a[_0x5e05b2-0x8]^_0x4abb3a[_0x5e05b2-0xe]^_0x4abb3a[_0x5e05b2-0x10];_0x4abb3a[_0x5e05b2]=_0x1d6149<<0x1|_0x1d6149>>>0x1f;}var _0x374d02=(_0x2ac144<<0x5|_0x2ac144>>>0x1b)+_0x4bd934+_0x4abb3a[_0x5e05b2];_0x5e05b2<0x14?_0x374d02+=(_0x480620&_0xcd920e|~_0x480620&_0x2b1ba5)+0x5a827999:_0x5e05b2<0x28?_0x374d02+=(_0x480620^_0xcd920e^_0x2b1ba5)+0x6ed9eba1:_0x5e05b2<0x3c?_0x374d02+=(_0x480620&_0xcd920e|_0x480620&_0x2b1ba5|_0xcd920e&_0x2b1ba5)-0x70e44324:_0x374d02+=(_0x480620^_0xcd920e^_0x2b1ba5)-0x359d3e2a,_0x4bd934=_0x2b1ba5,_0x2b1ba5=_0xcd920e,_0xcd920e=_0x480620<<0x1e|_0x480620>>>0x2,_0x480620=_0x2ac144,_0x2ac144=_0x374d02;}_0x11b73c[0x0]=_0x11b73c[0x0]+_0x2ac144|0x0,_0x11b73c[0x1]=_0x11b73c[0x1]+_0x480620|0x0,_0x11b73c[0x2]=_0x11b73c[0x2]+_0xcd920e|0x0,_0x11b73c[0x3]=_0x11b73c[0x3]+_0x2b1ba5|0x0,_0x11b73c[0x4]=_0x11b73c[0x4]+_0x4bd934|0x0;},'_doFinalize':function(){var _0x44e1dd=_0x375923,_0x24a25a=this[_0x44e1dd(0x2fd)],_0x465a7d=_0x24a25a[_0x44e1dd(0x1d9)],_0x129e8d=this['_nDataBytes']*0x8,_0x4324ea=_0x24a25a[_0x44e1dd(0x1e5)]*0x8;return _0x465a7d[_0x4324ea>>>0x5]|=0x80<<0x18-_0x4324ea%0x20,_0x465a7d[(_0x4324ea+0x40>>>0x9<<0x4)+0xe]=Math[_0x44e1dd(0x1c2)](_0x129e8d/0x100000000),_0x465a7d[(_0x4324ea+0x40>>>0x9<<0x4)+0xf]=_0x129e8d,_0x24a25a[_0x44e1dd(0x1e5)]=_0x465a7d[_0x44e1dd(0x363)]*0x4,this['_process'](),this[_0x44e1dd(0x47b)];},'clone':function(){var _0x3b0bb6=_0x375923,_0x4d33dd=_0x323e14['clone'][_0x3b0bb6(0x33d)](this);return _0x4d33dd[_0x3b0bb6(0x47b)]=this[_0x3b0bb6(0x47b)]['clone'](),_0x4d33dd;}});_0x62d4c9[_0x375923(0x3d4)]=_0x323e14[_0x375923(0x345)](_0x22b509),_0x62d4c9[_0x375923(0x30c)]=_0x323e14[_0x375923(0x2dd)](_0x22b509);}()),_0x4997a5[_0x40976f(0x3d4)];}));}(qe)),qe[_0x2e053b(0x1a9)];}var ze={'exports':{}},bn=ze[_0x3ebd1b(0x1a9)],ti;function yn(){var _0x2a765f=_0x3ebd1b;return ti||(ti=0x1,function(_0x864acd,_0x2bce53){(function(_0xc2debc,_0x4b2d1c){var _0x59da3c=_0x44ec;_0x864acd[_0x59da3c(0x1a9)]=_0x4b2d1c(ie());}(bn,function(_0x2c2a97){(function(){var _0x38cf28=_0x44ec,_0x3438b9=_0x2c2a97,_0x595d47=_0x3438b9[_0x38cf28(0x401)],_0x2d4cef=_0x595d47[_0x38cf28(0x361)],_0x584ff5=_0x3438b9['enc'],_0x36c726=_0x584ff5[_0x38cf28(0x271)],_0x3b9c17=_0x3438b9[_0x38cf28(0x237)];_0x3b9c17[_0x38cf28(0x1b5)]=_0x2d4cef[_0x38cf28(0x333)]({'init':function(_0x44749d,_0x94419e){var _0x1a8fcd=_0x38cf28;_0x44749d=this['_hasher']=new _0x44749d[(_0x1a8fcd(0x1cf))](),typeof _0x94419e=='string'&&(_0x94419e=_0x36c726[_0x1a8fcd(0x1a3)](_0x94419e));var _0x3e95cc=_0x44749d[_0x1a8fcd(0x1cd)],_0x494f04=_0x3e95cc*0x4;_0x94419e[_0x1a8fcd(0x1e5)]>_0x494f04&&(_0x94419e=_0x44749d['finalize'](_0x94419e)),_0x94419e[_0x1a8fcd(0x20b)]();for(var _0x38ff24=this[_0x1a8fcd(0x379)]=_0x94419e['clone'](),_0x22ab1e=this[_0x1a8fcd(0x410)]=_0x94419e[_0x1a8fcd(0x35e)](),_0x540536=_0x38ff24[_0x1a8fcd(0x1d9)],_0x4bc162=_0x22ab1e['words'],_0x52bcf1=0x0;_0x52bcf1<_0x3e95cc;_0x52bcf1++)_0x540536[_0x52bcf1]^=0x5c5c5c5c,_0x4bc162[_0x52bcf1]^=0x36363636;_0x38ff24['sigBytes']=_0x22ab1e[_0x1a8fcd(0x1e5)]=_0x494f04,this[_0x1a8fcd(0x1af)]();},'reset':function(){var _0x23ce5c=_0x38cf28,_0x3204c2=this['_hasher'];_0x3204c2[_0x23ce5c(0x1af)](),_0x3204c2['update'](this[_0x23ce5c(0x410)]);},'update':function(_0x3d0295){var _0x4138f4=_0x38cf28;return this[_0x4138f4(0x227)][_0x4138f4(0x380)](_0x3d0295),this;},'finalize':function(_0x5c6d67){var _0x6fff0a=_0x38cf28,_0x33a17d=this[_0x6fff0a(0x227)],_0x45c146=_0x33a17d['finalize'](_0x5c6d67);_0x33a17d[_0x6fff0a(0x1af)]();var _0x22d343=_0x33a17d[_0x6fff0a(0x44a)](this[_0x6fff0a(0x379)][_0x6fff0a(0x35e)]()[_0x6fff0a(0x43c)](_0x45c146));return _0x22d343;}});}());}));}(ze)),ze[_0x2a765f(0x1a9)];}var On=Ye[_0x3ebd1b(0x1a9)],ii;function wi(){var _0x2c5cee=_0x3ebd1b;return ii||(ii=0x1,function(_0x2de093,_0x29bad7){(function(_0x57cb9f,_0x3beeb6,_0x520a69){var _0x1ab79f=_0x44ec;_0x2de093[_0x1ab79f(0x1a9)]=_0x3beeb6(ie(),Rn(),yn());}(On,function(_0x5647d5){var _0x553c2a=_0x44ec;return(function(){var _0x378231=_0x44ec,_0xc6f97d=_0x5647d5,_0x4804c0=_0xc6f97d[_0x378231(0x401)],_0x4f71f4=_0x4804c0['Base'],_0x25d9a5=_0x4804c0[_0x378231(0x3d5)],_0xacbe9b=_0xc6f97d['algo'],_0x521bc3=_0xacbe9b['MD5'],_0x18e018=_0xacbe9b[_0x378231(0x3cc)]=_0x4f71f4[_0x378231(0x333)]({'cfg':_0x4f71f4[_0x378231(0x333)]({'keySize':0x80/0x20,'hasher':_0x521bc3,'iterations':0x1}),'init':function(_0x56bc5f){var _0x2ef926=_0x378231;this[_0x2ef926(0x24e)]=this['cfg'][_0x2ef926(0x333)](_0x56bc5f);},'compute':function(_0x41e137,_0x815119){var _0x13b7e1=_0x378231;for(var _0x624d3f,_0x4694ef=this[_0x13b7e1(0x24e)],_0x17fcd9=_0x4694ef[_0x13b7e1(0x1c0)][_0x13b7e1(0x272)](),_0x471691=_0x25d9a5[_0x13b7e1(0x272)](),_0x2aec04=_0x471691[_0x13b7e1(0x1d9)],_0x2b96df=_0x4694ef[_0x13b7e1(0x233)],_0x4a856d=_0x4694ef[_0x13b7e1(0x45e)];_0x2aec04['length']<_0x2b96df;){_0x624d3f&&_0x17fcd9[_0x13b7e1(0x380)](_0x624d3f),_0x624d3f=_0x17fcd9[_0x13b7e1(0x380)](_0x41e137)[_0x13b7e1(0x44a)](_0x815119),_0x17fcd9[_0x13b7e1(0x1af)]();for(var _0x1560f7=0x1;_0x1560f7<_0x4a856d;_0x1560f7++)_0x624d3f=_0x17fcd9[_0x13b7e1(0x44a)](_0x624d3f),_0x17fcd9[_0x13b7e1(0x1af)]();_0x471691[_0x13b7e1(0x43c)](_0x624d3f);}return _0x471691[_0x13b7e1(0x1e5)]=_0x2b96df*0x4,_0x471691;}});_0xc6f97d[_0x378231(0x3cc)]=function(_0x5368ff,_0x2e1648,_0x1edbf1){var _0x154d22=_0x378231;return _0x18e018['create'](_0x1edbf1)[_0x154d22(0x35a)](_0x5368ff,_0x2e1648);};}()),_0x5647d5[_0x553c2a(0x3cc)];}));}(Ye)),Ye[_0x2c5cee(0x1a9)];}var Je={'exports':{}},Nn=Je[_0x3ebd1b(0x1a9)],ri;function Ui(){var _0x45f0fe=_0x3ebd1b;return ri||(ri=0x1,function(_0x3a1742,_0x5d7d66){(function(_0x182c38,_0x4743a2,_0x5ce6cb){var _0x149be2=_0x44ec;_0x3a1742[_0x149be2(0x1a9)]=_0x4743a2(ie(),wi());}(Nn,function(_0x2ddc77){var _0x21f4df=_0x44ec;_0x2ddc77[_0x21f4df(0x401)][_0x21f4df(0x211)]||function(_0x2a87d7){var _0x118ebb=_0x21f4df,_0x17afdd=_0x2ddc77,_0x3b5117=_0x17afdd[_0x118ebb(0x401)],_0x50bdc3=_0x3b5117[_0x118ebb(0x361)],_0xc236ad=_0x3b5117[_0x118ebb(0x3d5)],_0x42073c=_0x3b5117['BufferedBlockAlgorithm'],_0x593496=_0x17afdd[_0x118ebb(0x483)];_0x593496[_0x118ebb(0x271)];var _0x3fdb90=_0x593496[_0x118ebb(0x430)],_0x584d50=_0x17afdd['algo'],_0x5111e7=_0x584d50[_0x118ebb(0x3cc)],_0x4f339d=_0x3b5117[_0x118ebb(0x211)]=_0x42073c[_0x118ebb(0x333)]({'cfg':_0x50bdc3[_0x118ebb(0x333)](),'createEncryptor':function(_0x273ac9,_0x461603){var _0x568deb=_0x118ebb;return this[_0x568deb(0x272)](this[_0x568deb(0x4a0)],_0x273ac9,_0x461603);},'createDecryptor':function(_0x59d0d0,_0x33ce6a){var _0x180442=_0x118ebb;return this[_0x180442(0x272)](this['_DEC_XFORM_MODE'],_0x59d0d0,_0x33ce6a);},'init':function(_0x3a17e3,_0x562dcb,_0x3508f3){var _0x2e20cb=_0x118ebb;this[_0x2e20cb(0x24e)]=this[_0x2e20cb(0x24e)]['extend'](_0x3508f3),this[_0x2e20cb(0x28e)]=_0x3a17e3,this[_0x2e20cb(0x432)]=_0x562dcb,this[_0x2e20cb(0x1af)]();},'reset':function(){var _0x2ac710=_0x118ebb;_0x42073c['reset']['call'](this),this[_0x2ac710(0x3d6)]();},'process':function(_0x464dd3){var _0x4b90f6=_0x118ebb;return this[_0x4b90f6(0x22f)](_0x464dd3),this[_0x4b90f6(0x436)]();},'finalize':function(_0x10b6b7){var _0x36af9b=_0x118ebb;_0x10b6b7&&this['_append'](_0x10b6b7);var _0xae5113=this[_0x36af9b(0x1c7)]();return _0xae5113;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1f6460(_0x142cea){var _0x525fac=_0x44ec;return typeof _0x142cea==_0x525fac(0x411)?_0x57970d:_0x1bb748;}return function(_0x2b35ac){return{'encrypt':function(_0x3b7a87,_0x356922,_0x4bfbeb){return _0x1f6460(_0x356922)['encrypt'](_0x2b35ac,_0x3b7a87,_0x356922,_0x4bfbeb);},'decrypt':function(_0x36f2dc,_0x29e9a0,_0x17ef09){var _0xe49f1=_0x44ec;return _0x1f6460(_0x29e9a0)[_0xe49f1(0x26b)](_0x2b35ac,_0x36f2dc,_0x29e9a0,_0x17ef09);}};};}())});_0x3b5117[_0x118ebb(0x2da)]=_0x4f339d[_0x118ebb(0x333)]({'_doFinalize':function(){var _0x5343eb=this['_process'](!0x0);return _0x5343eb;},'blockSize':0x1});var _0x4adc99=_0x17afdd[_0x118ebb(0x378)]={},_0x31ef3d=_0x3b5117[_0x118ebb(0x25f)]=_0x50bdc3['extend']({'createEncryptor':function(_0x504705,_0x16f34b){var _0x3d1bd7=_0x118ebb;return this[_0x3d1bd7(0x2ea)]['create'](_0x504705,_0x16f34b);},'createDecryptor':function(_0x4c825,_0x2fdaa7){var _0x106d15=_0x118ebb;return this[_0x106d15(0x296)][_0x106d15(0x272)](_0x4c825,_0x2fdaa7);},'init':function(_0x13ac7a,_0x425d1b){var _0x168549=_0x118ebb;this[_0x168549(0x232)]=_0x13ac7a,this['_iv']=_0x425d1b;}}),_0x39f10d=_0x4adc99[_0x118ebb(0x220)]=(function(){var _0x38e042=_0x118ebb,_0x44a276=_0x31ef3d[_0x38e042(0x333)]();_0x44a276[_0x38e042(0x2ea)]=_0x44a276[_0x38e042(0x333)]({'processBlock':function(_0x356007,_0x8efc4c){var _0xe2d76f=_0x38e042,_0x11ee79=this[_0xe2d76f(0x232)],_0x5e2536=_0x11ee79['blockSize'];_0x31e4e9[_0xe2d76f(0x33d)](this,_0x356007,_0x8efc4c,_0x5e2536),_0x11ee79[_0xe2d76f(0x1ef)](_0x356007,_0x8efc4c),this[_0xe2d76f(0x497)]=_0x356007[_0xe2d76f(0x1dc)](_0x8efc4c,_0x8efc4c+_0x5e2536);}}),_0x44a276['Decryptor']=_0x44a276[_0x38e042(0x333)]({'processBlock':function(_0x2d1120,_0x5afd91){var _0x549909=_0x38e042,_0x401d15=this[_0x549909(0x232)],_0x364de8=_0x401d15['blockSize'],_0x20cede=_0x2d1120[_0x549909(0x1dc)](_0x5afd91,_0x5afd91+_0x364de8);_0x401d15[_0x549909(0x1e3)](_0x2d1120,_0x5afd91),_0x31e4e9[_0x549909(0x33d)](this,_0x2d1120,_0x5afd91,_0x364de8),this[_0x549909(0x497)]=_0x20cede;}});function _0x31e4e9(_0x379055,_0x5de57e,_0x550ad6){var _0x16e604=_0x38e042,_0x5ed036,_0x71f066=this[_0x16e604(0x1f7)];_0x71f066?(_0x5ed036=_0x71f066,this[_0x16e604(0x1f7)]=_0x2a87d7):_0x5ed036=this[_0x16e604(0x497)];for(var _0x1713b8=0x0;_0x1713b8<_0x550ad6;_0x1713b8++)_0x379055[_0x5de57e+_0x1713b8]^=_0x5ed036[_0x1713b8];}return _0x44a276;}()),_0x35ed8e=_0x17afdd['pad']={},_0x10f2f8=_0x35ed8e['Pkcs7']={'pad':function(_0x3db9e3,_0x4eafac){var _0x5371b5=_0x118ebb;for(var _0x47fcde=_0x4eafac*0x4,_0x2e7477=_0x47fcde-_0x3db9e3['sigBytes']%_0x47fcde,_0x1f2568=_0x2e7477<<0x18|_0x2e7477<<0x10|_0x2e7477<<0x8|_0x2e7477,_0x54d5ff=[],_0x4ce89c=0x0;_0x4ce89c<_0x2e7477;_0x4ce89c+=0x4)_0x54d5ff[_0x5371b5(0x427)](_0x1f2568);var _0x1260bb=_0xc236ad['create'](_0x54d5ff,_0x2e7477);_0x3db9e3[_0x5371b5(0x43c)](_0x1260bb);},'unpad':function(_0x40bf5d){var _0x389f5a=_0x118ebb,_0x40330d=_0x40bf5d[_0x389f5a(0x1d9)][_0x40bf5d[_0x389f5a(0x1e5)]-0x1>>>0x2]&0xff;_0x40bf5d[_0x389f5a(0x1e5)]-=_0x40330d;}};_0x3b5117[_0x118ebb(0x1c3)]=_0x4f339d[_0x118ebb(0x333)]({'cfg':_0x4f339d[_0x118ebb(0x24e)][_0x118ebb(0x333)]({'mode':_0x39f10d,'padding':_0x10f2f8}),'reset':function(){var _0x1c6d38=_0x118ebb,_0xe36c50;_0x4f339d['reset'][_0x1c6d38(0x33d)](this);var _0x4055a1=this[_0x1c6d38(0x24e)],_0x622e11=_0x4055a1['iv'],_0x4ec6a5=_0x4055a1['mode'];this[_0x1c6d38(0x28e)]==this[_0x1c6d38(0x4a0)]?_0xe36c50=_0x4ec6a5[_0x1c6d38(0x3f1)]:(_0xe36c50=_0x4ec6a5[_0x1c6d38(0x2ee)],this['_minBufferSize']=0x1),this['_mode']&&this['_mode'][_0x1c6d38(0x464)]==_0xe36c50?this['_mode'][_0x1c6d38(0x1cf)](this,_0x622e11&&_0x622e11[_0x1c6d38(0x1d9)]):(this[_0x1c6d38(0x3fc)]=_0xe36c50['call'](_0x4ec6a5,this,_0x622e11&&_0x622e11[_0x1c6d38(0x1d9)]),this[_0x1c6d38(0x3fc)][_0x1c6d38(0x464)]=_0xe36c50);},'_doProcessBlock':function(_0x2483aa,_0x9511f5){var _0x25af71=_0x118ebb;this[_0x25af71(0x3fc)][_0x25af71(0x489)](_0x2483aa,_0x9511f5);},'_doFinalize':function(){var _0x32dac8=_0x118ebb,_0x5b1af8,_0x8c3c14=this[_0x32dac8(0x24e)][_0x32dac8(0x3eb)];return this[_0x32dac8(0x28e)]==this['_ENC_XFORM_MODE']?(_0x8c3c14[_0x32dac8(0x282)](this['_data'],this[_0x32dac8(0x1cd)]),_0x5b1af8=this['_process'](!0x0)):(_0x5b1af8=this[_0x32dac8(0x436)](!0x0),_0x8c3c14[_0x32dac8(0x3a0)](_0x5b1af8)),_0x5b1af8;},'blockSize':0x80/0x20});var _0x1ca2f3=_0x3b5117[_0x118ebb(0x384)]=_0x50bdc3[_0x118ebb(0x333)]({'init':function(_0x462b1d){var _0x2e43a8=_0x118ebb;this[_0x2e43a8(0x2e5)](_0x462b1d);},'toString':function(_0x3f7bd3){var _0x53ae41=_0x118ebb;return(_0x3f7bd3||this[_0x53ae41(0x334)])[_0x53ae41(0x48d)](this);}}),_0x1fb5e0=_0x17afdd[_0x118ebb(0x460)]={},_0x62c66d=_0x1fb5e0[_0x118ebb(0x406)]={'stringify':function(_0x4d061f){var _0x349031=_0x118ebb,_0x1110d5,_0x28ec92=_0x4d061f['ciphertext'],_0x2a8410=_0x4d061f[_0x349031(0x1a5)];return _0x2a8410?_0x1110d5=_0xc236ad[_0x349031(0x272)]([0x53616c74,0x65645f5f])[_0x349031(0x43c)](_0x2a8410)['concat'](_0x28ec92):_0x1110d5=_0x28ec92,_0x1110d5[_0x349031(0x1ab)](_0x3fdb90);},'parse':function(_0x1125ab){var _0x540393=_0x118ebb,_0x460b39,_0xa4ebd1=_0x3fdb90[_0x540393(0x1a3)](_0x1125ab),_0x56ea96=_0xa4ebd1['words'];return _0x56ea96[0x0]==0x53616c74&&_0x56ea96[0x1]==0x65645f5f&&(_0x460b39=_0xc236ad[_0x540393(0x272)](_0x56ea96[_0x540393(0x1dc)](0x2,0x4)),_0x56ea96[_0x540393(0x1e4)](0x0,0x4),_0xa4ebd1[_0x540393(0x1e5)]-=0x10),_0x1ca2f3[_0x540393(0x272)]({'ciphertext':_0xa4ebd1,'salt':_0x460b39});}},_0x1bb748=_0x3b5117[_0x118ebb(0x2cb)]=_0x50bdc3[_0x118ebb(0x333)]({'cfg':_0x50bdc3[_0x118ebb(0x333)]({'format':_0x62c66d}),'encrypt':function(_0x6372cc,_0x340e96,_0xecba5d,_0x5546d8){var _0x5525da=_0x118ebb;_0x5546d8=this[_0x5525da(0x24e)][_0x5525da(0x333)](_0x5546d8);var _0x18cd68=_0x6372cc['createEncryptor'](_0xecba5d,_0x5546d8),_0x199ce7=_0x18cd68[_0x5525da(0x44a)](_0x340e96),_0x43b585=_0x18cd68[_0x5525da(0x24e)];return _0x1ca2f3[_0x5525da(0x272)]({'ciphertext':_0x199ce7,'key':_0xecba5d,'iv':_0x43b585['iv'],'algorithm':_0x6372cc,'mode':_0x43b585[_0x5525da(0x378)],'padding':_0x43b585[_0x5525da(0x3eb)],'blockSize':_0x6372cc[_0x5525da(0x1cd)],'formatter':_0x5546d8[_0x5525da(0x460)]});},'decrypt':function(_0x264645,_0x529029,_0x3c29bb,_0x5a7fca){var _0xb1f3d7=_0x118ebb;_0x5a7fca=this['cfg'][_0xb1f3d7(0x333)](_0x5a7fca),_0x529029=this[_0xb1f3d7(0x403)](_0x529029,_0x5a7fca[_0xb1f3d7(0x460)]);var _0x5be4a8=_0x264645[_0xb1f3d7(0x2ee)](_0x3c29bb,_0x5a7fca)[_0xb1f3d7(0x44a)](_0x529029[_0xb1f3d7(0x369)]);return _0x5be4a8;},'_parse':function(_0x31cc1e,_0x127bf2){var _0x4316f1=_0x118ebb;return typeof _0x31cc1e=='string'?_0x127bf2[_0x4316f1(0x1a3)](_0x31cc1e,this):_0x31cc1e;}}),_0xb68462=_0x17afdd[_0x118ebb(0x328)]={},_0x278722=_0xb68462[_0x118ebb(0x406)]={'execute':function(_0x47232e,_0x5b69f4,_0x527a4,_0x5d9797,_0x3bd1d4){var _0x179fe2=_0x118ebb;if(_0x5d9797||(_0x5d9797=_0xc236ad[_0x179fe2(0x247)](0x40/0x8)),_0x3bd1d4)var _0x333e5f=_0x5111e7['create']({'keySize':_0x5b69f4+_0x527a4,'hasher':_0x3bd1d4})[_0x179fe2(0x35a)](_0x47232e,_0x5d9797);else var _0x333e5f=_0x5111e7[_0x179fe2(0x272)]({'keySize':_0x5b69f4+_0x527a4})['compute'](_0x47232e,_0x5d9797);var _0x21f187=_0xc236ad[_0x179fe2(0x272)](_0x333e5f[_0x179fe2(0x1d9)][_0x179fe2(0x1dc)](_0x5b69f4),_0x527a4*0x4);return _0x333e5f[_0x179fe2(0x1e5)]=_0x5b69f4*0x4,_0x1ca2f3[_0x179fe2(0x272)]({'key':_0x333e5f,'iv':_0x21f187,'salt':_0x5d9797});}},_0x57970d=_0x3b5117['PasswordBasedCipher']=_0x1bb748[_0x118ebb(0x333)]({'cfg':_0x1bb748['cfg'][_0x118ebb(0x333)]({'kdf':_0x278722}),'encrypt':function(_0x5abc6d,_0x2821c7,_0x22557f,_0xfc610e){var _0x15e238=_0x118ebb;_0xfc610e=this[_0x15e238(0x24e)][_0x15e238(0x333)](_0xfc610e);var _0x353e9a=_0xfc610e['kdf'][_0x15e238(0x293)](_0x22557f,_0x5abc6d[_0x15e238(0x233)],_0x5abc6d['ivSize'],_0xfc610e['salt'],_0xfc610e[_0x15e238(0x1c0)]);_0xfc610e['iv']=_0x353e9a['iv'];var _0x45ad4c=_0x1bb748[_0x15e238(0x3b1)]['call'](this,_0x5abc6d,_0x2821c7,_0x353e9a[_0x15e238(0x23e)],_0xfc610e);return _0x45ad4c[_0x15e238(0x2e5)](_0x353e9a),_0x45ad4c;},'decrypt':function(_0x1c645a,_0x1bffc8,_0x46a307,_0x5eab26){var _0x1a6cb3=_0x118ebb;_0x5eab26=this['cfg'][_0x1a6cb3(0x333)](_0x5eab26),_0x1bffc8=this[_0x1a6cb3(0x403)](_0x1bffc8,_0x5eab26['format']);var _0x42c5be=_0x5eab26[_0x1a6cb3(0x328)][_0x1a6cb3(0x293)](_0x46a307,_0x1c645a[_0x1a6cb3(0x233)],_0x1c645a['ivSize'],_0x1bffc8[_0x1a6cb3(0x1a5)],_0x5eab26['hasher']);_0x5eab26['iv']=_0x42c5be['iv'];var _0x187015=_0x1bb748[_0x1a6cb3(0x26b)]['call'](this,_0x1c645a,_0x1bffc8,_0x42c5be[_0x1a6cb3(0x23e)],_0x5eab26);return _0x187015;}});}();}));}(Je)),Je[_0x45f0fe(0x1a9)];}var Dn=Ge[_0x3ebd1b(0x1a9)],ni;function wn(){var _0x5dd10d=_0x3ebd1b;return ni||(ni=0x1,function(_0x254943,_0x2229b4){(function(_0x1efef1,_0x5833aa,_0x12575f){var _0x481c6f=_0x44ec;_0x254943[_0x481c6f(0x1a9)]=_0x5833aa(ie(),Di(),Tn(),wi(),Ui());}(Dn,function(_0x43eb32){var _0x48d603=_0x44ec;return(function(){var _0x5a8c21=_0x44ec,_0x3e6ceb=_0x43eb32,_0x28b1c2=_0x3e6ceb[_0x5a8c21(0x401)],_0xe7667=_0x28b1c2['BlockCipher'],_0x28f6ab=_0x3e6ceb['algo'],_0x4028ef=[],_0x274846=[],_0x35fdfa=[],_0x195ce2=[],_0x4f51e8=[],_0x60b55f=[],_0x25eb1a=[],_0x26c4b3=[],_0x542a1e=[],_0x30f3b2=[];(function(){for(var _0x356aae=[],_0x3e7f94=0x0;_0x3e7f94<0x100;_0x3e7f94++)_0x3e7f94<0x80?_0x356aae[_0x3e7f94]=_0x3e7f94<<0x1:_0x356aae[_0x3e7f94]=_0x3e7f94<<0x1^0x11b;for(var _0x1f8d23=0x0,_0x150619=0x0,_0x3e7f94=0x0;_0x3e7f94<0x100;_0x3e7f94++){var _0x1c186d=_0x150619^_0x150619<<0x1^_0x150619<<0x2^_0x150619<<0x3^_0x150619<<0x4;_0x1c186d=_0x1c186d>>>0x8^_0x1c186d&0xff^0x63,_0x4028ef[_0x1f8d23]=_0x1c186d,_0x274846[_0x1c186d]=_0x1f8d23;var _0x128c77=_0x356aae[_0x1f8d23],_0x4f5a33=_0x356aae[_0x128c77],_0x1322b7=_0x356aae[_0x4f5a33],_0x329ad6=_0x356aae[_0x1c186d]*0x101^_0x1c186d*0x1010100;_0x35fdfa[_0x1f8d23]=_0x329ad6<<0x18|_0x329ad6>>>0x8,_0x195ce2[_0x1f8d23]=_0x329ad6<<0x10|_0x329ad6>>>0x10,_0x4f51e8[_0x1f8d23]=_0x329ad6<<0x8|_0x329ad6>>>0x18,_0x60b55f[_0x1f8d23]=_0x329ad6;var _0x329ad6=_0x1322b7*0x1010101^_0x4f5a33*0x10001^_0x128c77*0x101^_0x1f8d23*0x1010100;_0x25eb1a[_0x1c186d]=_0x329ad6<<0x18|_0x329ad6>>>0x8,_0x26c4b3[_0x1c186d]=_0x329ad6<<0x10|_0x329ad6>>>0x10,_0x542a1e[_0x1c186d]=_0x329ad6<<0x8|_0x329ad6>>>0x18,_0x30f3b2[_0x1c186d]=_0x329ad6,_0x1f8d23?(_0x1f8d23=_0x128c77^_0x356aae[_0x356aae[_0x356aae[_0x1322b7^_0x128c77]]],_0x150619^=_0x356aae[_0x356aae[_0x150619]]):_0x1f8d23=_0x150619=0x1;}}());var _0x19d5be=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1d283f=_0x28f6ab[_0x5a8c21(0x1f5)]=_0xe7667[_0x5a8c21(0x333)]({'_doReset':function(){var _0x29a45b=_0x5a8c21,_0x1e603c;if(!(this[_0x29a45b(0x37c)]&&this['_keyPriorReset']===this[_0x29a45b(0x432)])){for(var _0x1bd69a=this['_keyPriorReset']=this['_key'],_0x380d91=_0x1bd69a[_0x29a45b(0x1d9)],_0x355876=_0x1bd69a[_0x29a45b(0x1e5)]/0x4,_0x367371=this[_0x29a45b(0x37c)]=_0x355876+0x6,_0x3ba821=(_0x367371+0x1)*0x4,_0x3abe3c=this[_0x29a45b(0x45b)]=[],_0x1eb402=0x0;_0x1eb402<_0x3ba821;_0x1eb402++)_0x1eb402<_0x355876?_0x3abe3c[_0x1eb402]=_0x380d91[_0x1eb402]:(_0x1e603c=_0x3abe3c[_0x1eb402-0x1],_0x1eb402%_0x355876?_0x355876>0x6&&_0x1eb402%_0x355876==0x4&&(_0x1e603c=_0x4028ef[_0x1e603c>>>0x18]<<0x18|_0x4028ef[_0x1e603c>>>0x10&0xff]<<0x10|_0x4028ef[_0x1e603c>>>0x8&0xff]<<0x8|_0x4028ef[_0x1e603c&0xff]):(_0x1e603c=_0x1e603c<<0x8|_0x1e603c>>>0x18,_0x1e603c=_0x4028ef[_0x1e603c>>>0x18]<<0x18|_0x4028ef[_0x1e603c>>>0x10&0xff]<<0x10|_0x4028ef[_0x1e603c>>>0x8&0xff]<<0x8|_0x4028ef[_0x1e603c&0xff],_0x1e603c^=_0x19d5be[_0x1eb402/_0x355876|0x0]<<0x18),_0x3abe3c[_0x1eb402]=_0x3abe3c[_0x1eb402-_0x355876]^_0x1e603c);for(var _0x2e6b3b=this['_invKeySchedule']=[],_0x3de93f=0x0;_0x3de93f<_0x3ba821;_0x3de93f++){var _0x1eb402=_0x3ba821-_0x3de93f;if(_0x3de93f%0x4)var _0x1e603c=_0x3abe3c[_0x1eb402];else var _0x1e603c=_0x3abe3c[_0x1eb402-0x4];_0x3de93f<0x4||_0x1eb402<=0x4?_0x2e6b3b[_0x3de93f]=_0x1e603c:_0x2e6b3b[_0x3de93f]=_0x25eb1a[_0x4028ef[_0x1e603c>>>0x18]]^_0x26c4b3[_0x4028ef[_0x1e603c>>>0x10&0xff]]^_0x542a1e[_0x4028ef[_0x1e603c>>>0x8&0xff]]^_0x30f3b2[_0x4028ef[_0x1e603c&0xff]];}}},'encryptBlock':function(_0xe1bcc4,_0x4cc1cf){var _0x30dfdc=_0x5a8c21;this[_0x30dfdc(0x28a)](_0xe1bcc4,_0x4cc1cf,this['_keySchedule'],_0x35fdfa,_0x195ce2,_0x4f51e8,_0x60b55f,_0x4028ef);},'decryptBlock':function(_0x172e1b,_0x61f0d7){var _0x39425b=_0x5a8c21,_0x37c59a=_0x172e1b[_0x61f0d7+0x1];_0x172e1b[_0x61f0d7+0x1]=_0x172e1b[_0x61f0d7+0x3],_0x172e1b[_0x61f0d7+0x3]=_0x37c59a,this['_doCryptBlock'](_0x172e1b,_0x61f0d7,this[_0x39425b(0x1e0)],_0x25eb1a,_0x26c4b3,_0x542a1e,_0x30f3b2,_0x274846);var _0x37c59a=_0x172e1b[_0x61f0d7+0x1];_0x172e1b[_0x61f0d7+0x1]=_0x172e1b[_0x61f0d7+0x3],_0x172e1b[_0x61f0d7+0x3]=_0x37c59a;},'_doCryptBlock':function(_0x455ad5,_0xc21050,_0x54c1a5,_0x22163f,_0x31a34b,_0x56bf94,_0xa9631c,_0x3aac48){var _0x421a73=_0x5a8c21;for(var _0x35fe41=this[_0x421a73(0x37c)],_0x1621f8=_0x455ad5[_0xc21050]^_0x54c1a5[0x0],_0x211048=_0x455ad5[_0xc21050+0x1]^_0x54c1a5[0x1],_0x210005=_0x455ad5[_0xc21050+0x2]^_0x54c1a5[0x2],_0x3c453d=_0x455ad5[_0xc21050+0x3]^_0x54c1a5[0x3],_0x54f720=0x4,_0x396377=0x1;_0x396377<_0x35fe41;_0x396377++){var _0x3af6a4=_0x22163f[_0x1621f8>>>0x18]^_0x31a34b[_0x211048>>>0x10&0xff]^_0x56bf94[_0x210005>>>0x8&0xff]^_0xa9631c[_0x3c453d&0xff]^_0x54c1a5[_0x54f720++],_0x36fbf1=_0x22163f[_0x211048>>>0x18]^_0x31a34b[_0x210005>>>0x10&0xff]^_0x56bf94[_0x3c453d>>>0x8&0xff]^_0xa9631c[_0x1621f8&0xff]^_0x54c1a5[_0x54f720++],_0x4841ac=_0x22163f[_0x210005>>>0x18]^_0x31a34b[_0x3c453d>>>0x10&0xff]^_0x56bf94[_0x1621f8>>>0x8&0xff]^_0xa9631c[_0x211048&0xff]^_0x54c1a5[_0x54f720++],_0x2cfaf7=_0x22163f[_0x3c453d>>>0x18]^_0x31a34b[_0x1621f8>>>0x10&0xff]^_0x56bf94[_0x211048>>>0x8&0xff]^_0xa9631c[_0x210005&0xff]^_0x54c1a5[_0x54f720++];_0x1621f8=_0x3af6a4,_0x211048=_0x36fbf1,_0x210005=_0x4841ac,_0x3c453d=_0x2cfaf7;}var _0x3af6a4=(_0x3aac48[_0x1621f8>>>0x18]<<0x18|_0x3aac48[_0x211048>>>0x10&0xff]<<0x10|_0x3aac48[_0x210005>>>0x8&0xff]<<0x8|_0x3aac48[_0x3c453d&0xff])^_0x54c1a5[_0x54f720++],_0x36fbf1=(_0x3aac48[_0x211048>>>0x18]<<0x18|_0x3aac48[_0x210005>>>0x10&0xff]<<0x10|_0x3aac48[_0x3c453d>>>0x8&0xff]<<0x8|_0x3aac48[_0x1621f8&0xff])^_0x54c1a5[_0x54f720++],_0x4841ac=(_0x3aac48[_0x210005>>>0x18]<<0x18|_0x3aac48[_0x3c453d>>>0x10&0xff]<<0x10|_0x3aac48[_0x1621f8>>>0x8&0xff]<<0x8|_0x3aac48[_0x211048&0xff])^_0x54c1a5[_0x54f720++],_0x2cfaf7=(_0x3aac48[_0x3c453d>>>0x18]<<0x18|_0x3aac48[_0x1621f8>>>0x10&0xff]<<0x10|_0x3aac48[_0x211048>>>0x8&0xff]<<0x8|_0x3aac48[_0x210005&0xff])^_0x54c1a5[_0x54f720++];_0x455ad5[_0xc21050]=_0x3af6a4,_0x455ad5[_0xc21050+0x1]=_0x36fbf1,_0x455ad5[_0xc21050+0x2]=_0x4841ac,_0x455ad5[_0xc21050+0x3]=_0x2cfaf7;},'keySize':0x100/0x20});_0x3e6ceb[_0x5a8c21(0x1f5)]=_0xe7667[_0x5a8c21(0x345)](_0x1d283f);}()),_0x43eb32[_0x48d603(0x1f5)];}));}(Ge)),Ge[_0x5dd10d(0x1a9)];}var Un=wn();const An=He(Un);var Pn=Di();const si=He(Pn);var Xe={'exports':{}},xn=Xe['exports'],oi;function Ln(){return oi||(oi=0x1,function(_0x34a017,_0x44bce6){(function(_0x2a16ba,_0x1fcb98){var _0x15a5f6=_0x44ec;_0x34a017[_0x15a5f6(0x1a9)]=_0x1fcb98(ie());}(xn,function(_0x42e9a5){var _0x47bd07=_0x44ec;return _0x42e9a5[_0x47bd07(0x483)][_0x47bd07(0x271)];}));}(Xe)),Xe['exports'];}var Mn=Ln();const kn=He(Mn);var Ze={'exports':{}},$n=Ze[_0x3ebd1b(0x1a9)],ai;function Hn(){var _0x3e69a2=_0x3ebd1b;return ai||(ai=0x1,function(_0x54594e,_0x51e9dc){(function(_0x5d2b33,_0x4c6758){var _0x24e7c2=_0x44ec;_0x54594e[_0x24e7c2(0x1a9)]=_0x4c6758(ie());}($n,function(_0x27e91d){var _0x474a02=_0x44ec;return(function(){var _0x4d15e4=_0x44ec;if(typeof ArrayBuffer==_0x4d15e4(0x281)){var _0x5ce789=_0x27e91d,_0x1758f1=_0x5ce789['lib'],_0x1abfaf=_0x1758f1[_0x4d15e4(0x3d5)],_0x17b729=_0x1abfaf['init'],_0x5b7388=_0x1abfaf[_0x4d15e4(0x1cf)]=function(_0x100214){var _0x4c1da7=_0x4d15e4;if(_0x100214 instanceof ArrayBuffer&&(_0x100214=new Uint8Array(_0x100214)),(_0x100214 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x100214 instanceof Uint8ClampedArray||_0x100214 instanceof Int16Array||_0x100214 instanceof Uint16Array||_0x100214 instanceof Int32Array||_0x100214 instanceof Uint32Array||_0x100214 instanceof Float32Array||_0x100214 instanceof Float64Array)&&(_0x100214=new Uint8Array(_0x100214[_0x4c1da7(0x487)],_0x100214[_0x4c1da7(0x20f)],_0x100214[_0x4c1da7(0x1b9)])),_0x100214 instanceof Uint8Array){for(var _0x20d855=_0x100214[_0x4c1da7(0x1b9)],_0x1667da=[],_0x4f4fe7=0x0;_0x4f4fe7<_0x20d855;_0x4f4fe7++)_0x1667da[_0x4f4fe7>>>0x2]|=_0x100214[_0x4f4fe7]<<0x18-_0x4f4fe7%0x4*0x8;_0x17b729['call'](this,_0x1667da,_0x20d855);}else _0x17b729['apply'](this,arguments);};_0x5b7388[_0x4d15e4(0x25e)]=_0x1abfaf;}}()),_0x27e91d['lib'][_0x474a02(0x3d5)];}));}(Ze)),Ze[_0x3e69a2(0x1a9)];}var Bn=Hn();const jn=He(Bn);var Qe={'exports':{}},Fn=Qe[_0x3ebd1b(0x1a9)],ci;function Gn(){var _0x5eabae=_0x3ebd1b;return ci||(ci=0x1,function(_0x2a3d8d,_0x2bf2cd){(function(_0xdf861f,_0x19b30d,_0x130818){var _0x3c4957=_0x44ec;_0x2a3d8d[_0x3c4957(0x1a9)]=_0x19b30d(ie(),Ui());}(Fn,function(_0x2d9704){var _0x4d43f2=_0x44ec;return _0x2d9704[_0x4d43f2(0x282)][_0x4d43f2(0x38d)]={'pad':function(){},'unpad':function(){}},_0x2d9704[_0x4d43f2(0x282)]['NoPadding'];}));}(Qe)),Qe[_0x5eabae(0x1a9)];}var Vn=Gn();const Wn=He(Vn);function Kn(_0x896536,_0x56a59a){var _0x1563d1=_0x3ebd1b;const _0x39cbb7=_0x56a59a-_0x896536[_0x1563d1(0x363)]%_0x56a59a,_0x30ac8b=String[_0x1563d1(0x352)](_0x39cbb7)[_0x1563d1(0x317)](_0x39cbb7);return _0x896536+_0x30ac8b;}function Yn(_0x5ebcbe,_0x106c85){var _0x17ea70=_0x3ebd1b;const _0x3ef7d6=jn[_0x17ea70(0x247)](0x10),_0x34faf5=Kn(_0x5ebcbe,0x10),_0x1fc233=An[_0x17ea70(0x3b1)](kn[_0x17ea70(0x1a3)](_0x34faf5),si[_0x17ea70(0x1a3)](_0x106c85),{'iv':_0x3ef7d6,'padding':Wn});return _0x3ef7d6['concat'](_0x1fc233['ciphertext'])['toString'](si);}function qn(){var _0x447777=_0x3ebd1b;const _0x23b852=_0x2166de()['__Key__'];if(_0x23b852){const _0x530f39={'time':Math[_0x447777(0x1c2)](Date[_0x447777(0x315)]()/0x3e8),'domain':location[_0x447777(0x1b8)]};return Yn(JSON['stringify'](_0x530f39),_0x23b852);}}var zn=Object[_0x3ebd1b(0x2a5)],Jn=(_0x140df1,_0x59cc18,_0x46f292,_0x804a9e)=>{var _0x589a8b=_0x3ebd1b;for(var _0x42088e=_0x804a9e>0x1?void 0x0:_0x804a9e?zn(_0x59cc18,_0x46f292):_0x59cc18,_0xa948a=_0x140df1[_0x589a8b(0x363)]-0x1,_0x3496f7;_0xa948a>=0x0;_0xa948a--)(_0x3496f7=_0x140df1[_0xa948a])&&(_0x42088e=_0x3496f7(_0x42088e)||_0x42088e);return _0x42088e;},Xn=(_0x148249,_0x7ce9e6)=>(_0x27269c,_0x18814c)=>_0x7ce9e6(_0x27269c,_0x18814c,_0x148249);let ot=class{constructor(_0x4a50ae){var _0x50e020=_0x3ebd1b;this[_0x50e020(0x304)]=_0x4a50ae,this[_0x50e020(0x2bf)]();}['_initRequestHeader'](){var _0x14f0ad=_0x3ebd1b;this[_0x14f0ad(0x304)][_0x14f0ad(0x25a)]({'interceptor':(_0x337c0d,_0x384b70)=>{var _0x3363f1=_0x14f0ad;const _0x568079=_0x337c0d[_0x3363f1(0x3c4)],_0x546a1c=qn();return _0x546a1c&&_0x568079['set'](_0x3363f1(0x2cc),_0x546a1c),_0x384b70(_0x337c0d);}});}};ot=Jn([Xn(0x0,_0x4f3deb(_0x33658e))],ot);var Zn=Object[_0x3ebd1b(0x2a5)],Qn=(_0x20164e,_0xe5349,_0x557b4f,_0x4af519)=>{var _0xa4471a=_0x3ebd1b;for(var _0x4d3469=_0x4af519>0x1?void 0x0:_0x4af519?Zn(_0xe5349,_0x557b4f):_0xe5349,_0x46f573=_0x20164e[_0xa4471a(0x363)]-0x1,_0x44a704;_0x46f573>=0x0;_0x46f573--)(_0x44a704=_0x20164e[_0x46f573])&&(_0x4d3469=_0x44a704(_0x4d3469)||_0x4d3469);return _0x4d3469;},mt=(_0x2fcc3d,_0x3c53b4)=>(_0x3eefc3,_0x2661d3)=>_0x3c53b4(_0x3eefc3,_0x2661d3,_0x2fcc3d);let bt=class extends _0x32d278{constructor(_0x397b73,_0x46d12c,_0x1c893e){var _0x5298d0=_0x3ebd1b;super(),N(this,_0x5298d0(0x231),new _0x15d586(null)),N(this,'unitInfo$',this[_0x5298d0(0x231)][_0x5298d0(0x477)]()),(this[_0x5298d0(0x1a8)]=_0x397b73,this[_0x5298d0(0x3f6)]=_0x46d12c,this[_0x5298d0(0x49e)]=_0x1c893e);}async[_0x3ebd1b(0x33f)](_0x5ea319,_0x2c7a64,_0x21e60e){var _0x206b34=_0x3ebd1b;this[_0x206b34(0x231)]['next']({'unitId':_0x5ea319,'type':_0x2c7a64,'subUnitId':_0x21e60e});let _0xa62eda=null;switch(_0x2c7a64){case Q['UNIVER_SHEET']:{_0xa62eda=await this[_0x206b34(0x2f9)](_0x5ea319);break;}case Q[_0x206b34(0x467)]:{_0xa62eda=await this[_0x206b34(0x416)](_0x5ea319);break;}default:{this[_0x206b34(0x1a8)]['error'](_0x206b34(0x49a),_0x206b34(0x2bb));break;}}return _0xa62eda;}async[_0x3ebd1b(0x2f9)](_0x1d265e){var _0x26e737=_0x3ebd1b,_0x849439;let _0x204065=0x0;const _0x4f9197=await((_0x849439=this[_0x26e737(0x49e)])==null?void 0x0:_0x849439[_0x26e737(0x2f0)](_0x1d265e));return _0x4f9197&&(_0x4f9197[_0x26e737(0x299)]||_0x4f9197[_0x26e737(0x2d9)][_0x26e737(0x363)]!==0x0)&&(_0x204065=_0x4f9197[_0x26e737(0x330)]),_0x204065===0x0&&this['_logService']['debug'](_0x26e737(0x49a),_0x26e737(0x29f)),this[_0x26e737(0x3f6)][_0x26e737(0x356)](_0x1d265e,_0x204065);}async[_0x3ebd1b(0x416)](_0x433a18){var _0x37aa74=_0x3ebd1b,_0x3040ba;let _0x4e097b=0x0;const _0x102459=await((_0x3040ba=this[_0x37aa74(0x49e)])==null?void 0x0:_0x3040ba[_0x37aa74(0x2f0)](_0x433a18));return _0x102459&&(_0x102459[_0x37aa74(0x299)]||_0x102459[_0x37aa74(0x2d9)][_0x37aa74(0x363)]!==0x0)&&(_0x4e097b=_0x102459[_0x37aa74(0x330)]),_0x4e097b===0x0&&this[_0x37aa74(0x1a8)]['debug'](_0x37aa74(0x49a),_0x37aa74(0x29f)),this[_0x37aa74(0x3f6)][_0x37aa74(0x1d0)](_0x433a18,_0x4e097b);}};bt=Qn([mt(0x0,_0x53833e),mt(0x1,_0x4f3deb(_0x4970ba)),mt(0x2,_0x3b02db(J))],bt);var es=Object[_0x3ebd1b(0x2a5)],ts=(_0x161d90,_0x27e2db,_0x4a1fd9,_0x500648)=>{var _0x47d543=_0x3ebd1b;for(var _0x25090a=_0x500648>0x1?void 0x0:_0x500648?es(_0x27e2db,_0x4a1fd9):_0x27e2db,_0x48dfa9=_0x161d90[_0x47d543(0x363)]-0x1,_0x1c4afe;_0x48dfa9>=0x0;_0x48dfa9--)(_0x1c4afe=_0x161d90[_0x48dfa9])&&(_0x25090a=_0x1c4afe(_0x25090a)||_0x25090a);return _0x25090a;},gt=(_0x4c023e,_0x441896)=>(_0x76ecd,_0x5e42f7)=>_0x441896(_0x76ecd,_0x5e42f7,_0x4c023e);const is=[_0x3ebd1b(0x428),_0x3ebd1b(0x310),_0x3ebd1b(0x2b1),'image/gif',_0x3ebd1b(0x1de)],rs=0x5*0x400*0x400,ns=_0x3ebd1b(0x367),ss=_0x3ebd1b(0x22b),os='EXCHANGE_SIGN_URL_SERVER_URL_KEY',as=_0x3ebd1b(0x1c1);let yt=class{constructor(_0x1d708d,_0x1a2bdd,_0x407eba){var _0x3a8f24=_0x3ebd1b;N(this,'_waitCount',0x0),N(this,_0x3a8f24(0x465),new _0x384b9e()),N(this,_0x3a8f24(0x370),this[_0x3a8f24(0x465)]),N(this,_0x3a8f24(0x28c),new Map()),(this[_0x3a8f24(0x304)]=_0x1d708d,this[_0x3a8f24(0x1d2)]=_0x1a2bdd,this['_univerInstanceService']=_0x407eba);}[_0x3ebd1b(0x33e)](_0x4d246a){var _0x4459b4=_0x3ebd1b;this['_waitCount']=_0x4d246a,this[_0x4459b4(0x465)]['next'](_0x4d246a);}[_0x3ebd1b(0x286)](_0x117d48,_0x544118){var _0x5ce27a=_0x3ebd1b;if(_0x544118===_0x4981d1[_0x5ce27a(0x2c3)]){const _0xacb811=new Image();return _0xacb811[_0x5ce27a(0x201)]=_0x117d48,_0xacb811;}return this[_0x5ce27a(0x28c)]['get'](_0x117d48);}[_0x3ebd1b(0x208)](_0x24d6da,_0x4e2123,_0x4b3a1b){var _0x13c144=_0x3ebd1b;_0x4e2123===_0x4981d1[_0x13c144(0x2c3)]||_0x4b3a1b==null||this[_0x13c144(0x28c)]['set'](_0x24d6da,_0x4b3a1b);}async[_0x3ebd1b(0x2d1)](_0x140e75){var _0x53973d=_0x3ebd1b;try{const _0x4246e3=this[_0x53973d(0x376)](this[_0x53973d(0x3a6)](),''+_0x140e75),_0x2d0fb9=(await this[_0x53973d(0x304)][_0x53973d(0x285)](_0x4246e3))[_0x53973d(0x221)];if(_0x2d0fb9[_0x53973d(0x1b4)]&&_0x2d0fb9[_0x53973d(0x1b4)][_0x53973d(0x49f)]===Si['OK']){const _0x1a828d=new URL(_0x2d0fb9[_0x53973d(0x31a)],this[_0x53973d(0x243)]())['toString']();return Promise[_0x53973d(0x2f8)](_0x1a828d);}return Promise['reject'](_0x2d0fb9[_0x53973d(0x1b4)]);}catch(_0x1df9a6){return Promise[_0x53973d(0x377)](_0x1df9a6);}}async[_0x3ebd1b(0x3e7)](_0xa5252c){var _0x388123=_0x3ebd1b;let _0x1f3ac9='';if(!is[_0x388123(0x3ea)](_0xa5252c[_0x388123(0x3a3)]))return this[_0x388123(0x404)](),Promise[_0x388123(0x377)](new Error(_0x1035d3[_0x388123(0x2e8)]));if(_0xa5252c[_0x388123(0x461)]>rs)return this[_0x388123(0x404)](),Promise[_0x388123(0x377)](new Error(_0x1035d3[_0x388123(0x29e)]));try{const _0x331a88=new FormData();_0x331a88[_0x388123(0x494)](_0x388123(0x1f2),_0xa5252c);const _0x1a84ff=this[_0x388123(0x419)][_0x388123(0x2fc)](),_0x3c25a0=_0x1a84ff==null?void 0x0:_0x1a84ff[_0x388123(0x41a)]();if(!_0x3c25a0)throw new Error('unitId\x20is\x20not\x20found');const _0x57f5e0=this[_0x388123(0x209)]()+_0x388123(0x20a)+_0xa5252c[_0x388123(0x461)][_0x388123(0x1ab)]()+'&source='+Ei['UnitEmbedded']+'&assign='+encodeURIComponent(_0x3c25a0),_0x3ea6b8=await(await fetch(_0x57f5e0,{'method':_0x388123(0x278),'body':_0x331a88}))[_0x388123(0x454)]();if(typeof _0x3ea6b8[_0x388123(0x291)]!=_0x388123(0x411))return this['_decreaseWaiting'](),Promise[_0x388123(0x377)](new Error(_0x1035d3['ERROR_IMAGE']));_0x1f3ac9=_0x3ea6b8[_0x388123(0x291)];}catch{return this[_0x388123(0x404)](),Promise[_0x388123(0x377)](new Error(_0x1035d3[_0x388123(0x230)]));}return new Promise((_0xc37fc3,_0x9eeb78)=>{var _0x2a1d36=_0x388123;const _0x403eef=new FileReader();_0x403eef['readAsDataURL'](_0xa5252c),_0x403eef[_0x2a1d36(0x342)]=_0x1ae402=>{var _0x1785df=_0x2a1d36,_0x3c3027;const _0x40ea9d=(_0x3c3027=_0x1ae402[_0x1785df(0x3d1)])==null?void 0x0:_0x3c3027[_0x1785df(0x354)];if(_0x40ea9d==null){this[_0x1785df(0x404)](),_0x9eeb78(new Error(_0x1035d3[_0x1785df(0x230)]));return;}const _0x40517b=_0x1bd747[_0x1785df(0x1b6)](0x6);_0xc37fc3({'imageId':_0x40517b,'imageSourceType':_0x4981d1[_0x1785df(0x27f)],'source':_0x1f3ac9,'base64Cache':_0x40ea9d,'status':_0x1035d3['SUCCUSS']}),this[_0x1785df(0x404)]();};});}[_0x3ebd1b(0x209)](){var _0x4ef1dc=_0x3ebd1b,_0x1bff73,_0x19214e;const _0x5d81b9=this[_0x4ef1dc(0x1d2)][_0x4ef1dc(0x445)](ns),_0x13e8e8=this['_configService'][_0x4ef1dc(0x445)](q);return(_0x19214e=(_0x1bff73=_0x13e8e8==null?void 0x0:_0x13e8e8[_0x4ef1dc(0x1ff)])!=null?_0x1bff73:_0x5d81b9)!=null?_0x19214e:ss;}[_0x3ebd1b(0x3a6)](){var _0x4a7107=_0x3ebd1b,_0x2db16b,_0x342471;const _0x50750a=this[_0x4a7107(0x1d2)][_0x4a7107(0x445)](os),_0x56a97f=this[_0x4a7107(0x1d2)]['getConfig'](q);return(_0x342471=(_0x2db16b=_0x56a97f==null?void 0x0:_0x56a97f[_0x4a7107(0x2aa)])!=null?_0x2db16b:_0x50750a)!=null?_0x342471:as;}['_getDownloadEndpointURL'](){var _0x1b7365=_0x3ebd1b,_0x5b28b8;const _0x53f421=this[_0x1b7365(0x1d2)][_0x1b7365(0x445)](q);return(_0x5b28b8=_0x53f421==null?void 0x0:_0x53f421[_0x1b7365(0x311)])!=null?_0x5b28b8:location['origin'];}[_0x3ebd1b(0x376)](_0x2bc739,_0x37a607){var _0x2b3dfe=_0x3ebd1b;return _0x2bc739[_0x2b3dfe(0x469)](_0x2b3dfe(0x1bb),_0x37a607);}[_0x3ebd1b(0x404)](){var _0x4835ad=_0x3ebd1b;this['_waitCount']-=0x1,this[_0x4835ad(0x465)]['next'](this[_0x4835ad(0x28f)]);}};yt=ts([gt(0x0,_0x4f3deb(_0x33658e)),gt(0x1,_0x2a770c),gt(0x2,_0x4f3deb(_0x42c510))],yt);var cs=Object[_0x3ebd1b(0x2a5)],hs=(_0x504783,_0x56b52a,_0x42f0b5,_0x75ff10)=>{var _0x348118=_0x3ebd1b;for(var _0x492a37=_0x75ff10>0x1?void 0x0:_0x75ff10?cs(_0x56b52a,_0x42f0b5):_0x56b52a,_0x12cd04=_0x504783[_0x348118(0x363)]-0x1,_0x239c87;_0x12cd04>=0x0;_0x12cd04--)(_0x239c87=_0x504783[_0x12cd04])&&(_0x492a37=_0x239c87(_0x492a37)||_0x492a37);return _0x492a37;},hi=(_0x5b58ad,_0x5b14db)=>(_0x4d4ed5,_0x22e568)=>_0x5b14db(_0x4d4ed5,_0x22e568,_0x5b58ad);const _s=_0x3ebd1b(0x2c2);let Ot=class{constructor(_0x48964a,_0x587954){var _0x4bcbfb=_0x3ebd1b;this[_0x4bcbfb(0x1d2)]=_0x48964a,this[_0x4bcbfb(0x2f4)]=_0x587954;}['_getAPIPrefixPath'](){var _0x21f5dc=_0x3ebd1b,_0x375c10,_0xb11322;const _0x5d6742=this[_0x21f5dc(0x1d2)][_0x21f5dc(0x445)](Ni),_0x1c2a84=this[_0x21f5dc(0x1d2)][_0x21f5dc(0x445)](q);return(_0xb11322=(_0x375c10=_0x1c2a84==null?void 0x0:_0x1c2a84[_0x21f5dc(0x46d)])!=null?_0x375c10:_0x5d6742)!=null?_0xb11322:_s;}async[_0x3ebd1b(0x335)](_0x478c5f){var _0x3d94d4=_0x3ebd1b;const _0x968ed2=this[_0x3d94d4(0x343)]()+_0x3d94d4(0x32e);return{'list':[{'title':_0x3d94d4(0x39d),'mentions':(await this[_0x3d94d4(0x2f4)][_0x3d94d4(0x285)](_0x968ed2,{'params':{'objectID':_0x478c5f[_0x3d94d4(0x388)],'unitID':_0x478c5f[_0x3d94d4(0x388)]}}))['body'][_0x3d94d4(0x35d)][_0x3d94d4(0x453)](_0x48f774=>({'objectId':_0x48f774['id'],'name':_0x48f774[_0x3d94d4(0x3ab)][_0x3d94d4(0x289)],'metadata':{'icon':_0x48f774[_0x3d94d4(0x3ab)][_0x3d94d4(0x414)]},'label':_0x48f774[_0x3d94d4(0x3ab)]['name'],'objectType':_0x913100['PERSON']})),'metadata':{},'type':_0x913100[_0x3d94d4(0x40d)]}]};}};Ot=hs([hi(0x0,_0x4f3deb(_0x2a770c)),hi(0x1,_0x4f3deb(_0x33658e))],Ot);var ls=Object['getOwnPropertyDescriptor'],us=(_0xa3c8f5,_0x85a209,_0x243405,_0x4a10cc)=>{var _0x55ead6=_0x3ebd1b;for(var _0x5454cf=_0x4a10cc>0x1?void 0x0:_0x4a10cc?ls(_0x85a209,_0x243405):_0x85a209,_0x2c8923=_0xa3c8f5[_0x55ead6(0x363)]-0x1,_0x37cc13;_0x2c8923>=0x0;_0x2c8923--)(_0x37cc13=_0xa3c8f5[_0x2c8923])&&(_0x5454cf=_0x37cc13(_0x5454cf)||_0x5454cf);return _0x5454cf;},Ae=(_0x58f7f2,_0xa13d2e)=>(_0x47e663,_0x2c000d)=>_0xa13d2e(_0x47e663,_0x2c000d,_0x58f7f2);let at=class extends _0x32d278{constructor(_0x591bce,_0x139beb,_0x515e05,_0x4e3dc4,_0x39cfaf){var _0x3a6e41=_0x3ebd1b;super(),this[_0x3a6e41(0x346)]=_0x591bce,this[_0x3a6e41(0x419)]=_0x139beb,this[_0x3a6e41(0x373)]=_0x515e05,this[_0x3a6e41(0x479)]=_0x4e3dc4,this[_0x3a6e41(0x2f2)]=_0x39cfaf,this[_0x3a6e41(0x1fe)](),this['_initCloseConn']();}[_0x3ebd1b(0x2e1)](){var _0x3481af=_0x3ebd1b;const _0x53686f=async _0x161e0a=>{var _0x1f394d=_0x44ec;(await this[_0x1f394d(0x479)][_0x1f394d(0x26f)](_0x161e0a))[_0x1f394d(0x36c)][_0x1f394d(0x2e0)](_0x1a4f87(_0x4dda29=>_0x4dda29[_0x1f394d(0x2dc)]===_0x29cbe9[_0x1f394d(0x1be)]),_0x212faf(this[_0x1f394d(0x2e3)]))[_0x1f394d(0x3c0)](_0x3c4c77=>{var _0x3e5412=_0x1f394d;const _0x2ac61c=_0x3c4c77,{reason:_0x2a1083}=_0x2ac61c[_0x3e5412(0x3fe)];this['_collaborationUIEventService']['emitEvent']({'id':se[_0x3e5412(0x3f8)],'data':_0x2a1083}),this[_0x3e5412(0x373)]['updatePermissionPoint'](new _0x5252f0(_0x161e0a)['id'],!0x1),this[_0x3e5412(0x479)][_0x3e5412(0x1aa)](_0x161e0a);});};_0x4f1458(this[_0x3481af(0x419)][_0x3481af(0x1d5)](_0x6e43e8[_0x3481af(0x3f5)]),this['_univerInstanceService'][_0x3481af(0x1d5)](_0x6e43e8[_0x3481af(0x467)]))[_0x3481af(0x2e0)](_0x182a28(_0x2158cc=>_0x2158cc[_0x3481af(0x41a)]()),_0x1a4f87(_0x318da5=>!_0x17a7c0(_0x318da5)),_0x212faf(this[_0x3481af(0x2e3)]))[_0x3481af(0x3c0)](_0x2d4c0d=>{_0x53686f(_0x2d4c0d);});}[_0x3ebd1b(0x1fe)](){var _0x25b65c=_0x3ebd1b;const _0x130252=async _0x5bebcc=>{var _0x43df8e=_0x44ec;const _0x49290f=await this[_0x43df8e(0x479)][_0x43df8e(0x26f)](_0x5bebcc),_0x2bb43a=this[_0x43df8e(0x346)]['get'](_0x3d37cb);_0x49290f[_0x43df8e(0x36c)][_0x43df8e(0x2e0)](_0x1a4f87(_0x5ad6c5=>_0x5ad6c5['eventID']===_0x29cbe9[_0x43df8e(0x45c)]),_0x212faf(this[_0x43df8e(0x2e3)]))[_0x43df8e(0x3c0)](_0xd7c0e3=>{var _0x47f9ca=_0x43df8e;const _0x3f05a8=_0xd7c0e3,{objectId:_0x4f83a8}=_0x3f05a8[_0x47f9ca(0x3fe)];_0x4f83a8===_0x5bebcc?_0x2bb43a['initWorkbookPermissionChange'](_0x5bebcc):_0x2bb43a[_0x47f9ca(0x28d)](_0x5bebcc,_0x4f83a8);});};_0x4f1458(this[_0x25b65c(0x419)][_0x25b65c(0x1d5)](_0x6e43e8[_0x25b65c(0x3f5)]))['pipe'](_0x182a28(_0x1d776f=>_0x1d776f['getUnitId']()),_0x1a4f87(_0x3bf62f=>!_0x17a7c0(_0x3bf62f)),_0x212faf(this['dispose$']))[_0x25b65c(0x3c0)](_0x1a9181=>{_0x130252(_0x1a9181);});}};at=us([Ae(0x0,_0x4f3deb(_0x4fddf8)),Ae(0x1,_0x42c510),Ae(0x2,_0x115665),Ae(0x3,_0x4f3deb(Le)),Ae(0x4,_0x4f3deb(pe))],at);var ds=Object[_0x3ebd1b(0x2a5)],fs=(_0x5de551,_0x15af19,_0x1e25f2,_0x36d826)=>{var _0x97daef=_0x3ebd1b;for(var _0x54530b=_0x36d826>0x1?void 0x0:_0x36d826?ds(_0x15af19,_0x1e25f2):_0x15af19,_0x32bea0=_0x5de551[_0x97daef(0x363)]-0x1,_0x23b00b;_0x32bea0>=0x0;_0x32bea0--)(_0x23b00b=_0x5de551[_0x32bea0])&&(_0x54530b=_0x23b00b(_0x54530b)||_0x54530b);return _0x54530b;},_i=(_0x53a713,_0x1126b1)=>(_0x37f5bb,_0x17e65d)=>_0x1126b1(_0x37f5bb,_0x17e65d,_0x53a713);let Nt=class{constructor(_0x3065f6,_0x2a9cb5){var _0x536e7b=_0x3ebd1b;this[_0x536e7b(0x1d2)]=_0x3065f6,this[_0x536e7b(0x304)]=_0x2a9cb5;}async['getUnitOnRev'](_0x1c96da,_0x932743){var _0x511d22=_0x3ebd1b,_0x1eb2ba;const {unitID:_0x26d17c,type:_0x2d4ab5,revision:_0x31204b=0x0}=_0x932743,_0x34657d=this['getSnapshotAPIPath']()+'/'+_0x2d4ab5+'/unit/'+_0x26d17c+_0x511d22(0x424)+_0x31204b,_0x1845ee=(await this[_0x511d22(0x304)][_0x511d22(0x285)](_0x34657d))[_0x511d22(0x221)],_0x2e24a7=(_0x1eb2ba=_0x1845ee[_0x511d22(0x36d)])==null?void 0x0:_0x1eb2ba[_0x511d22(0x3b3)];if(_0x2e24a7){const _0x51a6ed=_0x2e24a7==null?void 0x0:_0x2e24a7[_0x511d22(0x357)],_0x34d6d0=_0x8bb74d[_0x511d22(0x2e7)](_0x5d895b(_0x51a6ed));_0x2e24a7[_0x511d22(0x357)]=_0x34d6d0,Object[_0x511d22(0x43e)](_0x2e24a7[_0x511d22(0x383)])[_0x511d22(0x326)](([,_0x55b9df])=>{var _0x159147=_0x511d22;const _0x2762d1=_0x55b9df[_0x159147(0x357)],_0x59c7e8=_0x8bb74d[_0x159147(0x2e7)](_0x5d895b(_0x2762d1));_0x55b9df['originalMeta']=_0x59c7e8;});}return _0x1845ee;}async[_0x3ebd1b(0x2ef)](_0x1d31a8,_0xd50407){var _0x3d736a=_0x3ebd1b;const {unitID:_0x5ddc6d,type:_0x525b7b,blockID:_0x1b24cd}=_0xd50407,_0x8cc3f6=this[_0x3d736a(0x498)]()+'/'+_0x525b7b+'/unit/'+_0x5ddc6d+_0x3d736a(0x46f)+_0x1b24cd;return(await this[_0x3d736a(0x304)][_0x3d736a(0x285)](_0x8cc3f6))['body'];}async[_0x3ebd1b(0x318)](_0x50904e,_0x5a1e61){var _0x1bd14f=_0x3ebd1b;const {unitID:_0x33de4d,type:_0x273c11,blockID:_0x519f65}=_0x5a1e61,_0x2982db=this['_getAPIPrefix']()+_0x1bd14f(0x46f)+_0x273c11+'/unit/'+_0x33de4d+_0x1bd14f(0x46f)+_0x519f65;return(await this[_0x1bd14f(0x304)][_0x1bd14f(0x285)](_0x2982db))[_0x1bd14f(0x221)];}async[_0x3ebd1b(0x1d6)](_0x5911ee,_0x21c774){var _0x20eb6c=_0x3ebd1b;const {unitID:_0x2372d3,type:_0x3d292f,from:_0x461c7c,to:_0x401114}=_0x21c774,_0x5ccb40=this['_getAPIPrefix']()+'/'+_0x3d292f+'/unit/'+_0x2372d3+_0x20eb6c(0x37a)+_0x461c7c+_0x20eb6c(0x1cb)+_0x401114;return(await this[_0x20eb6c(0x304)][_0x20eb6c(0x285)](_0x5ccb40))[_0x20eb6c(0x221)];}[_0x3ebd1b(0x3dc)](){var _0x1f8de1=_0x3ebd1b,_0x2e33d8;return(_0x2e33d8=this['_configService'][_0x1f8de1(0x445)](gr))!=null?_0x2e33d8:this[_0x1f8de1(0x498)]();}[_0x3ebd1b(0x498)](){var _0x15f4b2=_0x3ebd1b,_0x4376d4,_0x1ecb19;const _0x18b5ea=this[_0x15f4b2(0x1d2)]['getConfig'](pr),_0x2e4b93=this['_configService']['getConfig'](q);return(_0x1ecb19=(_0x4376d4=_0x2e4b93==null?void 0x0:_0x2e4b93[_0x15f4b2(0x320)])!=null?_0x4376d4:_0x18b5ea)!=null?_0x1ecb19:mr;}async[_0x3ebd1b(0x24f)](_0x5dbdea,_0x529162){var _0x4009c9=_0x3ebd1b;const _0x5655f2=_0x4009c9(0x364)+_0x529162['type']+'/unit/'+_0x529162[_0x4009c9(0x31d)]+_0x4009c9(0x2f7);return(await this['_httpService'][_0x4009c9(0x285)](_0x5655f2,{'params':{'resourceId':JSON['stringify'](_0x529162['resourceIDs'])}}))[_0x4009c9(0x221)];}[_0x3ebd1b(0x39c)](){var _0xb7a0b3=_0x3ebd1b;throw new Error(_0xb7a0b3(0x20c));}[_0x3ebd1b(0x418)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3ebd1b(0x455)](){var _0x422fe5=_0x3ebd1b;throw new Error(_0x422fe5(0x20c));}[_0x3ebd1b(0x33b)](){var _0x415463=_0x3ebd1b;throw new Error(_0x415463(0x20c));}[_0x3ebd1b(0x474)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Nt=fs([_i(0x0,_0x2a770c),_i(0x1,_0x4f3deb(_0x33658e))],Nt);var vs=Object[_0x3ebd1b(0x2a5)],ps=(_0x4db856,_0x2189f0,_0x37bfd4,_0x4605d6)=>{var _0x468548=_0x3ebd1b;for(var _0x12935b=_0x4605d6>0x1?void 0x0:_0x4605d6?vs(_0x2189f0,_0x37bfd4):_0x2189f0,_0x20a7e9=_0x4db856[_0x468548(0x363)]-0x1,_0x13fbb5;_0x20a7e9>=0x0;_0x20a7e9--)(_0x13fbb5=_0x4db856[_0x20a7e9])&&(_0x12935b=_0x13fbb5(_0x12935b)||_0x12935b);return _0x12935b;},Pe=(_0x5e652c,_0x4c3eec)=>(_0x1f78a4,_0x296188)=>_0x4c3eec(_0x1f78a4,_0x296188,_0x5e652c);let Dt=class extends _0xae8f7a{constructor(_0x3d8f9c,_0xd98aa9,_0x3e395c,_0x51e9e7,_0x272e95){var _0x184a9a=_0x3ebd1b;super(_0x3d8f9c,_0xd98aa9,_0x3e395c),this[_0x184a9a(0x24d)]=_0x51e9e7,this[_0x184a9a(0x1a8)]=_0x272e95;}[_0x3ebd1b(0x235)](_0x17929a,_0x39ec29){var _0x4f4975=_0x3ebd1b;const _0x40123f=this[_0x4f4975(0x2b7)](_0x17929a);if(_0x40123f)try{const _0x5cd271=this[_0x4f4975(0x448)](_0x40123f,_0x39ec29);this['_substituteUndoStack'](_0x17929a,_0x5cd271);}catch(_0x28364d){this[_0x4f4975(0x1a8)]['error'](_0x4f4975(0x236),_0x28364d),this[_0x4f4975(0x327)](_0x17929a);}const _0x343daa=this[_0x4f4975(0x375)](_0x17929a);if(_0x343daa)try{const _0x5274f0=this[_0x4f4975(0x448)](_0x343daa,_0x39ec29);this['_substituteRedoStack'](_0x17929a,_0x5274f0);}catch(_0x3101e1){this['_logService'][_0x4f4975(0x1b4)](_0x3101e1),this['_clearRedo'](_0x17929a);}}['_clearUndo'](_0x2bafa6){var _0x204cfc=_0x3ebd1b;const _0x577837=this[_0x204cfc(0x2b7)](_0x2bafa6);_0x577837&&(_0x577837['length']=0x0,this[_0x204cfc(0x43a)]());}[_0x3ebd1b(0x2b3)](_0x2e1ca0){var _0x2e50b4=_0x3ebd1b;const _0x1aee77=this[_0x2e50b4(0x375)](_0x2e1ca0);_0x1aee77&&(_0x1aee77[_0x2e50b4(0x363)]=0x0,this[_0x2e50b4(0x43a)]());}[_0x3ebd1b(0x433)](_0x585005,_0x484152){var _0x426a1e=_0x3ebd1b;this['_undoStacks'][_0x426a1e(0x3c2)](_0x585005,_0x484152),this['_updateStatus']();}[_0x3ebd1b(0x471)](_0x893d53,_0x4c1f2b){var _0x5b312b=_0x3ebd1b;this['_redoStacks'][_0x5b312b(0x3c2)](_0x893d53,_0x4c1f2b),this[_0x5b312b(0x43a)]();}[_0x3ebd1b(0x448)](_0x29c737,_0x2530f7){var _0x56b0f1=_0x3ebd1b;const _0x1c7a58=[];let _0x278303=_0x2530f7,_0x43361c=_0x2530f7;for(let _0x42a643=_0x29c737[_0x56b0f1(0x363)]-0x1;_0x42a643>=0x0;_0x42a643--){const {unitID:_0x312e84,undoMutations:_0x3c847e,redoMutations:_0x2cb366}=_0x29c737[_0x42a643],_0x2b04da=this[_0x56b0f1(0x24d)][_0x56b0f1(0x44f)](_0x278303,_0x3c847e),_0x266d6c=this[_0x56b0f1(0x24d)][_0x56b0f1(0x44f)](_0x43361c,_0x2cb366);if(_0x4d4cc2(_0x2b04da)||_0x4d4cc2(_0x266d6c)){this[_0x56b0f1(0x1a8)][_0x56b0f1(0x1b4)](_0x56b0f1(0x236),_0x56b0f1(0x1f9),_0x2b04da,_0x266d6c);break;}_0x278303=_0x2b04da[_0x56b0f1(0x2ce)],_0x43361c=_0x266d6c[_0x56b0f1(0x2ce)],_0x1c7a58[_0x56b0f1(0x427)]({'unitID':_0x312e84,'undoMutations':_0x2b04da['m2Prime'],'redoMutations':_0x266d6c[_0x56b0f1(0x1b7)]});}return _0x1c7a58[_0x56b0f1(0x2c6)]();}};Dt=ps([Pe(0x0,_0x42c510),Pe(0x1,_0x13fb4e),Pe(0x2,_0x4b0db0),Pe(0x3,_0x3a4a71),Pe(0x4,_0x53833e)],Dt);var ms=Object[_0x3ebd1b(0x30a)],gs=Object['getOwnPropertyDescriptor'],Ss=(_0x1e6211,_0x5b3b32,_0x152cda)=>_0x5b3b32 in _0x1e6211?ms(_0x1e6211,_0x5b3b32,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x152cda}):_0x1e6211[_0x5b3b32]=_0x152cda,Es=(_0x4fc494,_0x443776,_0x524a40,_0x22028f)=>{for(var _0x2d85ab=_0x22028f>0x1?void 0x0:_0x22028f?gs(_0x443776,_0x524a40):_0x443776,_0x1ee35b=_0x4fc494['length']-0x1,_0x24eccf;_0x1ee35b>=0x0;_0x1ee35b--)(_0x24eccf=_0x4fc494[_0x1ee35b])&&(_0x2d85ab=_0x24eccf(_0x2d85ab)||_0x2d85ab);return _0x2d85ab;},St=(_0x208f18,_0x379980)=>(_0x534a5d,_0x139993)=>_0x379980(_0x534a5d,_0x139993,_0x208f18),Is=(_0x5785c8,_0x2d8ad4,_0x438a9c)=>Ss(_0x5785c8,_0x2d8ad4+'',_0x438a9c);const Ts=_0x3ebd1b(0x3f7);let wt=class extends _0x25a773{constructor(_0x17151f,_0x4bf14d,_0x41dbae,_0x2e35ba){var _0x1f1a17=_0x3ebd1b;super(),N(this,_0x1f1a17(0x38f)),(this['_logService']=_0x4bf14d,this[_0x1f1a17(0x346)]=_0x41dbae,this['_configService']=_0x2e35ba);const {..._0x438961}=_0x426b30({},Ur,_0x17151f);if(!_0x438961[_0x1f1a17(0x40c)])throw new Error(_0x1f1a17(0x2bc));this[_0x1f1a17(0x38f)]=_0x438961,this['_configService'][_0x1f1a17(0x1ac)](q,_0x438961);}['onStarting'](){var _0x40641b=_0x3ebd1b;this[_0x40641b(0x3b9)](),this[_0x40641b(0x3e9)]();}[_0x3ebd1b(0x3b9)](){var _0x3de32e=_0x3ebd1b,_0x13ca3a,_0x30179c;this['_injector'][_0x3de32e(0x386)](_0xb993df)&&this[_0x3de32e(0x1a8)]['error'](_0x3de32e(0x3fd),_0x3de32e(0x2b5));const _0xba0434=_0x420d77([[_0xb993df,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[bt],[Ii,{'useClass':this[_0x3de32e(0x38f)]['socketService']}],[_0x481b0,{'useClass':Nt}],[_0x37c18c,{'useClass':Rt}],[_0x32bded,{'useClass':yt}],[_0x2b54be,{'useClass':Ot}],[nt],[Ct]],(_0x13ca3a=this[_0x3de32e(0x38f)])==null?void 0x0:_0x13ca3a[_0x3de32e(0x1d7)]);if(!((_0x30179c=this[_0x3de32e(0x38f)])!=null&&_0x30179c[_0x3de32e(0x397)])){const _0x410984=_0xba0434[_0x3de32e(0x32d)](([_0x9b02e6])=>_0x9b02e6===ht);_0x410984!==-0x1&&_0xba0434[_0x3de32e(0x1e4)](_0x410984,0x1);}_0x484089(this[_0x3de32e(0x346)],_0xba0434);}[_0x3ebd1b(0x3e9)](){var _0x1f78b9=_0x3ebd1b,_0x27c722,_0x23941a,_0x72180f;this[_0x1f78b9(0x346)][_0x1f78b9(0x285)](_0x33658e)[_0x1f78b9(0x25a)]({'priority':0x14,'interceptor':_0x53f182({'maxParallel':0x6})}),(_0x27c722=this[_0x1f78b9(0x38f)])!=null&&_0x27c722[_0x1f78b9(0x47a)]||(_0x23941a=this[_0x1f78b9(0x346)][_0x1f78b9(0x285)](J,_0x4d644a[_0x1f78b9(0x34f)]))==null||_0x23941a[_0x1f78b9(0x263)](),(_0x72180f=this[_0x1f78b9(0x38f)])!=null&&_0x72180f['enableAuthServer']&&_0x30701b(this[_0x1f78b9(0x346)],[[st]]),_0x30701b(this[_0x1f78b9(0x346)],[[ot],[nt],[at]]);}};Is(wt,_0x3ebd1b(0x1f6),Ts),wt=Es([_0x41e97c(_0xa1ef3e,_0x54097e),St(0x1,_0x53833e),St(0x2,_0x4f3deb(_0x4fddf8)),St(0x3,_0x2a770c)],wt);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Or as COLLAB_SUBMIT_CHANGESET_URL_KEY,Er as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,rt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Ir as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Tr as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Ar as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Dr as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,oe as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,br as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,pr as SNAPSHOT_SERVER_URL_KEY,gr as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,wt as UniverCollaborationClientPlugin,Pr as deserializeToCombResponse,Bs as getLocalCacheKey,xr as serializeCombRequest};
1
+ var _0x597ab2=_0x5a0e;(function(_0x204147,_0x3a6238){var _0x3b7818=_0x5a0e,_0x3a6e22=_0x204147();while(!![]){try{var _0xb37d7d=parseInt(_0x3b7818(0x20f))/0x1*(-parseInt(_0x3b7818(0x389))/0x2)+-parseInt(_0x3b7818(0x315))/0x3+parseInt(_0x3b7818(0x2c3))/0x4+parseInt(_0x3b7818(0x3ec))/0x5+-parseInt(_0x3b7818(0x2f7))/0x6*(parseInt(_0x3b7818(0x1d9))/0x7)+-parseInt(_0x3b7818(0x441))/0x8+parseInt(_0x3b7818(0x40d))/0x9;if(_0xb37d7d===_0x3a6238)break;else _0x3a6e22['push'](_0x3a6e22['shift']());}catch(_0x5d1682){_0x3a6e22['push'](_0x3a6e22['shift']());}}}(_0x3e33,0x2e1f8));var Ai=Object['defineProperty'],Pi=(_0x2b1c4c,_0xb9babe,_0x3bc38a)=>_0xb9babe in _0x2b1c4c?Ai(_0x2b1c4c,_0xb9babe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3bc38a}):_0x2b1c4c[_0xb9babe]=_0x3bc38a,N=(_0x31375d,_0x52d702,_0x2d0b27)=>Pi(_0x31375d,typeof _0x52d702!=_0x597ab2(0x1ba)?_0x52d702+'':_0x52d702,_0x2d0b27);import{createIdentifier as _0x3280f3,Inject as _0x5dc8b8,Injector as _0x253837,IConfigService as _0x52e356,ILogService as _0x2dcdf5,Disposable as _0x15930a,DisposableCollection as _0x592d39,toDisposable as _0x201b35,IUniverInstanceService as _0x541816,UserManagerService as _0x4d9e8f,UniverInstanceType as _0x31007f,LocaleService as _0x36508b,Optional as _0x5d860b,RxDisposable as _0x10e9f1,Tools as _0x1a2cf5,Rectangle as _0x239477,ICommandService as _0x336840,JSONX as _0xfa7585,CommandType as _0x1a1d72,IUndoRedoService as _0x28f227,IPermissionService as _0x2fef49,sequenceExecute as _0xac124e,Workbook as _0x3fa022,MentionType as _0x13619e,isInternalEditorID as _0x178305,LocalUndoRedoService as _0x37c0df,IContextService as _0xe57d12,DependentOn as _0x3539d3,Plugin as _0x26bf95,merge as _0x310f4e,mergeOverrideWithDependencies as _0x4618d9,IAuthzIoService as _0x3f1761,IMentionIOService as _0x304920,registerDependencies as _0xae4208,Quantity as _0x348dca,touchDependencies as _0xd224af}from'@univerjs/core';import{Subject as _0x4f59b9,merge as _0x10ee83,of as _0x46fdc6,BehaviorSubject as _0x103965,takeUntil as _0xc0520a,ReplaySubject as _0x3937fb,take as _0xec6115,map as _0x3d9c38,shareReplay as _0x523045,firstValueFrom as _0x1904c7,concatMap as _0x5d72ef}from'rxjs';import{map as _0x3e044c,take as _0x33f735,filter as _0x321733,delay as _0x5b5907,takeUntil as _0x50dffe}from'rxjs/operators';import{CollaborationEvent as _0x136edc,ISnapshotServerService as _0x31340a,parseChangesetToProtocol as _0x591f8f,ITransformService as _0x556cc7,isTransformMutationsWithChangesetSuccess as _0x5ed9d4,mapDocumentTypeToUniverType as _0x3dec86,RevisionService as _0x19d21b,isTransformChangesetsSuccess as _0x34649c,CompressMutationService as _0x648ae9,parseProtocolChangeset as _0x1dbd96,SnapshotService as _0x45512c,textEncoder as _0xbb0b23,b64DecodeUnicode as _0x1a94a2,isTransformMutationsWithChangesetFailure as _0x33e36c,UniverCollaborationPlugin as _0x48870e}from'@univerjs-pro/collaboration';import{HTTPService as _0x546518,ISocketService as _0x347daf,MergeInterceptorFactory as _0x340be7,HTTPRequest as _0x219ff8,UniverNetworkPlugin as _0x415ab9,ThresholdInterceptorFactory as _0x20c5e3}from'@univerjs/network';import{ITelemetryService as _0x3695d9}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x1df105}from'@univerjs/docs';import{SheetsSelectionsService as _0x544d2c,SetSelectionsOperation as _0x406c21,InsertSheetMutation as _0x2c7924,EmptyMutation as _0x24845c,WorkbookEditablePermission as _0x2025bf,SheetPermissionInitController as _0xc05fc6}from'@univerjs/sheets';import{ImageSourceType as _0x411cb2,ImageUploadStatusType as _0x1bda46,IImageIoService as _0xaa189e}from'@univerjs/drawing';import{getGlobalObject as _0x5f29b0}from'@univerjs-pro/license';const pr=_0x597ab2(0x3fa),mr=_0x597ab2(0x28f),gr='SNAPSHOT_URL_KEY',xs=_0x597ab2(0x43d),Sr=0x7d0,Er=_0x597ab2(0x44f),Ir=_0x597ab2(0x3f9),Ls=_0x597ab2(0x22f),Tr=_0x597ab2(0x2d9),Cr=0x7530,mi=_0x597ab2(0x27f),gi=0x4e20,Rr=0x4e20,br='RETRY_CONNECTING_MAX_COUNT',yr=0x3,Ms=_0x597ab2(0x2ba),ks=0x3e8,Or='COLLAB_SUBMIT_CHANGESET_URL',Nr=_0x597ab2(0x34e),Dr=_0x597ab2(0x2a5),wr=_0x597ab2(0x2f2),$s=_0x597ab2(0x226),Hs=_0x597ab2(0x273);var Si=(_0x572aa4=>(_0x572aa4[_0x572aa4['UNDEFINED']=0x0]=_0x597ab2(0x28a),_0x572aa4[_0x572aa4['OK']=0x1]='OK',_0x572aa4[_0x572aa4[_0x597ab2(0x357)]=0x2]=_0x597ab2(0x357),_0x572aa4[_0x572aa4[_0x597ab2(0x463)]=0x3]='PERMISSION_DENIED',_0x572aa4[_0x572aa4[_0x597ab2(0x457)]=0x4]=_0x597ab2(0x457),_0x572aa4[_0x572aa4[_0x597ab2(0x458)]=0x5]='UNAUTHENTICATED',_0x572aa4[_0x572aa4['ALREADY_EXISTS']=0x6]=_0x597ab2(0x27c),_0x572aa4[_0x572aa4[_0x597ab2(0x449)]=0x7]=_0x597ab2(0x449),_0x572aa4[_0x572aa4[_0x597ab2(0x1de)]=0x8]=_0x597ab2(0x1de),_0x572aa4[_0x572aa4[_0x597ab2(0x2c6)]=0x9]='COMPLETION_FINISHED',_0x572aa4[_0x572aa4[_0x597ab2(0x33a)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x572aa4[_0x572aa4[_0x597ab2(0x219)]=0x1771]=_0x597ab2(0x219),_0x572aa4[_0x572aa4[_0x597ab2(0x38d)]=0x1772]=_0x597ab2(0x38d),_0x572aa4[_0x572aa4[_0x597ab2(0x448)]=0x1773]=_0x597ab2(0x448),_0x572aa4[_0x572aa4[_0x597ab2(0x1f7)]=0x1b59]='APPLY_REJECT',_0x572aa4[_0x572aa4[_0x597ab2(0x318)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x572aa4[_0x572aa4[_0x597ab2(0x3d8)]=0x1b5b]=_0x597ab2(0x3d8),_0x572aa4[_0x572aa4[_0x597ab2(0x44b)]=0x1b5c]=_0x597ab2(0x44b),_0x572aa4[_0x572aa4[_0x597ab2(0x370)]=0x1b5d]=_0x597ab2(0x370),_0x572aa4[_0x572aa4['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x597ab2(0x1e0),_0x572aa4[_0x572aa4[_0x597ab2(0x3f5)]=0x2329]=_0x597ab2(0x3f5),_0x572aa4[_0x572aa4[_0x597ab2(0x424)]=0x232a]=_0x597ab2(0x424),_0x572aa4[_0x572aa4['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x597ab2(0x42f),_0x572aa4[_0x572aa4[_0x597ab2(0x2be)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x572aa4[_0x572aa4[_0x597ab2(0x478)]=0x232d]=_0x597ab2(0x478),_0x572aa4[_0x572aa4[_0x597ab2(0x34f)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x572aa4[_0x572aa4[_0x597ab2(0x33c)]=0x2712]=_0x597ab2(0x33c),_0x572aa4[_0x572aa4[_0x597ab2(0x462)]=0x2713]=_0x597ab2(0x462),_0x572aa4[_0x572aa4[_0x597ab2(0x349)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x572aa4[_0x572aa4[_0x597ab2(0x281)]=0x2af9]=_0x597ab2(0x281),_0x572aa4[_0x572aa4[_0x597ab2(0x211)]=-0x1]=_0x597ab2(0x211),_0x572aa4))(Si||{}),Q=(_0x39a51f=>(_0x39a51f[_0x39a51f[_0x597ab2(0x22a)]=0x0]='UNIVER_UNKNOWN',_0x39a51f[_0x39a51f[_0x597ab2(0x2db)]=0x1]=_0x597ab2(0x2db),_0x39a51f[_0x39a51f[_0x597ab2(0x1ed)]=0x2]=_0x597ab2(0x1ed),_0x39a51f[_0x39a51f['UNIVER_SLIDE']=0x3]=_0x597ab2(0x27a),_0x39a51f[_0x39a51f[_0x597ab2(0x409)]=0x4]='UNIVER_PROJECT',_0x39a51f[_0x39a51f['UNRECOGNIZED']=-0x1]=_0x597ab2(0x211),_0x39a51f))(Q||{}),F=(_0x36f250=>(_0x36f250[_0x36f250[_0x597ab2(0x230)]=0x0]=_0x597ab2(0x230),_0x36f250[_0x36f250[_0x597ab2(0x2b2)]=0x1]='HELLO',_0x36f250[_0x36f250[_0x597ab2(0x2b9)]=0x2]=_0x597ab2(0x2b9),_0x36f250[_0x36f250[_0x597ab2(0x435)]=0x3]=_0x597ab2(0x435),_0x36f250[_0x36f250[_0x597ab2(0x476)]=0x4]=_0x597ab2(0x476),_0x36f250[_0x36f250[_0x597ab2(0x3cf)]=0x5]=_0x597ab2(0x3cf),_0x36f250[_0x36f250[_0x597ab2(0x358)]=0x6]=_0x597ab2(0x358),_0x36f250[_0x36f250[_0x597ab2(0x211)]=-0x1]=_0x597ab2(0x211),_0x36f250))(F||{}),ge=(_0x6be8f0=>(_0x6be8f0[_0x6be8f0[_0x597ab2(0x436)]=0x0]=_0x597ab2(0x436),_0x6be8f0[_0x6be8f0['OK']=0x1]='OK',_0x6be8f0[_0x6be8f0[_0x597ab2(0x31d)]=0x2]=_0x597ab2(0x31d),_0x6be8f0[_0x6be8f0[_0x597ab2(0x2c8)]=0x3e9]=_0x597ab2(0x2c8),_0x6be8f0[_0x6be8f0[_0x597ab2(0x312)]=0x3ea]=_0x597ab2(0x312),_0x6be8f0[_0x6be8f0['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x597ab2(0x243),_0x6be8f0[_0x6be8f0[_0x597ab2(0x3df)]=0x3ec]=_0x597ab2(0x3df),_0x6be8f0[_0x6be8f0[_0x597ab2(0x211)]=-0x1]=_0x597ab2(0x211),_0x6be8f0))(ge||{}),Ei=(_0x5b822d=>(_0x5b822d[_0x5b822d[_0x597ab2(0x33d)]=0x0]=_0x597ab2(0x33d),_0x5b822d[_0x5b822d[_0x597ab2(0x267)]=0x1]=_0x597ab2(0x267),_0x5b822d[_0x5b822d['HttpExport']=0x2]=_0x597ab2(0x2a1),_0x5b822d[_0x5b822d['UnitEmbedded']=0x3]='UnitEmbedded',_0x5b822d[_0x5b822d[_0x597ab2(0x290)]=0x4]=_0x597ab2(0x290),_0x5b822d[_0x5b822d[_0x597ab2(0x211)]=-0x1]='UNRECOGNIZED',_0x5b822d))(Ei||{});const q=_0x597ab2(0x426),Ur={};var se=(_0x4b3115=>(_0x4b3115[_0x597ab2(0x2a7)]='OTHER_CLIENT_EDITING',_0x4b3115['PERMISSION_DENIED']=_0x597ab2(0x463),_0x4b3115['CONFLICT']='CONFLICT',_0x4b3115[_0x597ab2(0x255)]=_0x597ab2(0x255),_0x4b3115[_0x597ab2(0x19f)]='JOIN_ROOM_FAILED',_0x4b3115[_0x597ab2(0x24f)]='SOCKET_FAILED_RETRY',_0x4b3115[_0x597ab2(0x26c)]=_0x597ab2(0x26c),_0x4b3115[_0x597ab2(0x260)]='SUBMIT_CHANGESET_TIMEOUT',_0x4b3115))(se||{});class pe{constructor(){var _0x1a0c59=_0x597ab2;N(this,'_event$',new _0x4f59b9()),N(this,_0x1a0c59(0x2ac),this[_0x1a0c59(0x1fd)]['asObservable']());}[_0x597ab2(0x3aa)](_0x588f5b){var _0x69f9fc=_0x597ab2;this['_event$'][_0x69f9fc(0x301)](_0x588f5b);}}const Ar=_0x3280f3(_0x597ab2(0x40c));function Pr(_0xd9fda7){var _0x491879=_0x597ab2,_0x1c6550,_0x102015,_0x4f0054,_0x574740,_0x3bc2e1;const _0x25f380=_0xd9fda7[_0x491879(0x1a6)],_0x1e3d38=JSON[_0x491879(0x40e)](_0x25f380);switch(_0x1e3d38[_0x491879(0x25e)]){case F[_0x491879(0x3cf)]:case F[_0x491879(0x2b2)]:{const _0x47b34a=_0x1e3d38[_0x491879(0x3b6)];return{..._0x1e3d38,'data':_0x47b34a,'cmd':_0x1e3d38['cmd']};}case F[_0x491879(0x2b9)]:{const _0x3e6522=_0x1e3d38[_0x491879(0x35c)];return{..._0x1e3d38,'data':_0x3e6522,'cmd':_0x1e3d38[_0x491879(0x25e)]};}case F[_0x491879(0x358)]:{const _0x1cf91f=_0x1e3d38[_0x491879(0x33f)];switch(_0x1cf91f[_0x491879(0x210)]){case _0x136edc[_0x491879(0x3dd)]:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':(_0x1c6550=_0x1cf91f[_0x491879(0x3e0)])==null?void 0x0:_0x1c6550['cs']},'cmd':_0x1e3d38[_0x491879(0x25e)]};case _0x136edc['CHANGESET_ACK']:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':(_0x102015=_0x1cf91f[_0x491879(0x415)])==null?void 0x0:_0x102015['cs']},'cmd':_0x1e3d38[_0x491879(0x25e)]};case _0x136edc['NEW_CHANGESETS']:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':(_0x4f0054=_0x1cf91f['newCsEvent'])==null?void 0x0:_0x4f0054['cs']},'cmd':_0x1e3d38[_0x491879(0x25e)]};case _0x136edc[_0x491879(0x1f4)]:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':(_0x574740=_0x1cf91f['csRejEvent'])==null?void 0x0:_0x574740['cs']},'cmd':_0x1e3d38[_0x491879(0x25e)]};case _0x136edc['CHANGESET_SHOULD_RETRY']:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':(_0x3bc2e1=_0x1cf91f[_0x491879(0x47e)])==null?void 0x0:_0x3bc2e1['cs']},'cmd':_0x1e3d38[_0x491879(0x25e)]};case _0x136edc[_0x491879(0x465)]:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':_0x1cf91f[_0x491879(0x307)]},'cmd':_0x1e3d38['cmd']};case _0x136edc[_0x491879(0x310)]:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':_0x1cf91f[_0x491879(0x3de)]},'cmd':_0x1e3d38['cmd']};case _0x136edc[_0x491879(0x225)]:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':_0x1cf91f[_0x491879(0x249)]},'cmd':_0x1e3d38[_0x491879(0x25e)]};case _0x136edc[_0x491879(0x398)]:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':_0x1cf91f[_0x491879(0x464)]},'cmd':_0x1e3d38['cmd']};case _0x136edc[_0x491879(0x330)]:case _0x136edc[_0x491879(0x37b)]:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':_0x1cf91f[_0x491879(0x377)]},'cmd':_0x1e3d38[_0x491879(0x25e)]};case _0x136edc[_0x491879(0x455)]:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':_0x1cf91f[_0x491879(0x464)]},'cmd':_0x1e3d38[_0x491879(0x25e)]};case _0x136edc[_0x491879(0x1d8)]:return{..._0x1e3d38,'data':_0x1cf91f,'cmd':_0x1e3d38[_0x491879(0x25e)]};case _0x136edc[_0x491879(0x2eb)]:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':_0x1cf91f[_0x491879(0x3b3)]},'cmd':_0x1e3d38[_0x491879(0x25e)]};case _0x136edc[_0x491879(0x202)]:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':_0x1cf91f[_0x491879(0x422)]},'cmd':_0x1e3d38[_0x491879(0x25e)]};case _0x136edc[_0x491879(0x271)]:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':_0x1cf91f['shouldCloseConn']},'cmd':_0x1e3d38[_0x491879(0x25e)]};case _0x136edc[_0x491879(0x3e7)]:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':_0x1cf91f[_0x491879(0x47d)]},'cmd':_0x1e3d38[_0x491879(0x25e)]};default:return _0x1e3d38;}}default:return _0x1e3d38;}}function xr(_0x52a24e){var _0x334b04=_0x597ab2;switch(_0x52a24e[_0x334b04(0x25e)]){case F[_0x334b04(0x3cf)]:case F['HELLO']:return JSON['stringify']({'cmd':_0x52a24e[_0x334b04(0x25e)],'routeKey':_0x52a24e['routeKey']});case F[_0x334b04(0x476)]:{let _0xaef086;switch(_0x52a24e[_0x334b04(0x1a6)]['eventID']){case _0x136edc[_0x334b04(0x465)]:{_0xaef086={'eventID':_0x136edc[_0x334b04(0x465)],'updateCursorEvent':_0x52a24e[_0x334b04(0x1a6)][_0x334b04(0x1a6)]};break;}case _0x136edc[_0x334b04(0x225)]:{_0xaef086={'eventID':_0x136edc[_0x334b04(0x225)],'leaveEvent':_0x52a24e[_0x334b04(0x1a6)][_0x334b04(0x1a6)]};break;}case _0x136edc[_0x334b04(0x310)]:{_0xaef086={'eventID':_0x136edc[_0x334b04(0x310)],'joinEvent':_0x52a24e['data'][_0x334b04(0x1a6)]};break;}case _0x136edc[_0x334b04(0x398)]:{_0xaef086={'eventID':_0x136edc['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x52a24e[_0x334b04(0x1a6)][_0x334b04(0x1a6)]};break;}case _0x136edc[_0x334b04(0x37b)]:{_0xaef086={'eventID':_0x136edc[_0x334b04(0x37b)],'liveShareOperation':_0x52a24e[_0x334b04(0x1a6)][_0x334b04(0x1a6)]};break;}case _0x136edc[_0x334b04(0x455)]:{_0xaef086={'eventID':_0x136edc[_0x334b04(0x455)],'liveShareTerminate':_0x52a24e[_0x334b04(0x1a6)][_0x334b04(0x1a6)]};break;}case _0x136edc[_0x334b04(0x2c7)]:{_0xaef086={'eventID':_0x136edc[_0x334b04(0x2c7)],'liveShareRequestHost':_0x52a24e[_0x334b04(0x1a6)][_0x334b04(0x1a6)]};break;}case _0x136edc[_0x334b04(0x330)]:{_0xaef086={'eventID':_0x136edc[_0x334b04(0x330)]};break;}default:_0xaef086={'eventID':_0x52a24e[_0x334b04(0x1a6)]['eventID']};}return JSON['stringify']({'cmd':_0x52a24e['cmd'],'routeKey':_0x52a24e['routeKey'],'collaMsg':_0xaef086});}case F['JOIN']:return JSON[_0x334b04(0x1c7)]({'cmd':_0x52a24e[_0x334b04(0x25e)],'routeKey':_0x52a24e[_0x334b04(0x2d7)],'joinReq':_0x52a24e['data']});case F[_0x334b04(0x435)]:return JSON[_0x334b04(0x1c7)]({'cmd':_0x52a24e[_0x334b04(0x25e)],'routeKey':_0x52a24e['routeKey'],'leaveReq':_0x52a24e[_0x334b04(0x1a6)]});default:throw new Error(_0x334b04(0x450));}}var Lr=Object[_0x597ab2(0x3e5)],Mr=(_0x453a1f,_0x3ced53,_0x1a2618,_0x3739ca)=>{for(var _0x427153=_0x3739ca>0x1?void 0x0:_0x3739ca?Lr(_0x3ced53,_0x1a2618):_0x3ced53,_0x4a8759=_0x453a1f['length']-0x1,_0x3e3ccb;_0x4a8759>=0x0;_0x4a8759--)(_0x3e3ccb=_0x453a1f[_0x4a8759])&&(_0x427153=_0x3e3ccb(_0x427153)||_0x427153);return _0x427153;},Ue=(_0x44ca6f,_0x43f7a0)=>(_0x2dd860,_0x3bba30)=>_0x43f7a0(_0x2dd860,_0x3bba30,_0x44ca6f);const Ii=_0x3280f3(_0x597ab2(0x1e4));function kr(_0x897134,_0x578f4e,_0x13063e){var _0x4bd355=_0x597ab2;return _0x897134+'/'+_0x578f4e+'/unit/'+_0x13063e+_0x4bd355(0x47c);}let Vt=class extends _0x15930a{constructor(_0x550e5f,_0x13fbb5,_0x56f7ce,_0x4f2559,_0x2a25ef){var _0x2d229c=_0x597ab2;super(),this[_0x2d229c(0x44a)]=_0x550e5f,this[_0x2d229c(0x259)]=_0x13fbb5,this[_0x2d229c(0x252)]=_0x56f7ce,this[_0x2d229c(0x1fe)]=_0x4f2559,this[_0x2d229c(0x331)]=_0x2a25ef;}[_0x597ab2(0x30d)](_0x251eae){var _0x555c16=_0x597ab2;const _0x322586=this[_0x555c16(0x44a)][_0x555c16(0x277)](_0x347daf);if(!_0x322586)throw new Error(_0x555c16(0x206));const _0x5be3c1=_0x322586[_0x555c16(0x36d)](_0x251eae);if(!_0x5be3c1)throw new Error(_0x555c16(0x2ee));const _0x492958=new _0x592d39(),_0x4850f1=new _0x4f59b9();_0x492958[_0x555c16(0x488)](_0x5be3c1[_0x555c16(0x308)][_0x555c16(0x470)](_0x5081d5=>_0x4850f1['next'](_0x5081d5))),_0x492958[_0x555c16(0x488)](_0x201b35(()=>_0x4850f1[_0x555c16(0x323)]()));const _0x354af2=new _0x4f59b9();_0x492958[_0x555c16(0x488)](_0x5be3c1[_0x555c16(0x1d0)]['subscribe'](_0x9c6e10=>_0x354af2[_0x555c16(0x301)](_0x9c6e10))),_0x492958[_0x555c16(0x488)](_0x201b35(()=>_0x354af2[_0x555c16(0x323)]()));const _0xa9a61d=new _0x4f59b9();_0x492958[_0x555c16(0x488)](_0x5be3c1['message$'][_0x555c16(0x470)](_0x4a0306=>{var _0x240dc5=_0x555c16;const _0x4fdff2=Pr(_0x4a0306);_0xa9a61d[_0x240dc5(0x301)](_0x4fdff2);})),_0x492958[_0x555c16(0x488)](_0x201b35(()=>_0xa9a61d[_0x555c16(0x323)]()));let _0x15a9f2;const _0xf7674d=()=>{var _0x3f9e6d=_0x555c16;_0x354af2['next'](new Event(_0x3f9e6d(0x283))),_0x4850f1['next'](new Event(_0x3f9e6d(0x283))),_0x15a9f2[_0x3f9e6d(0x3cc)]();};return _0x15a9f2={'memberID':'','close$':_0x4850f1[_0x555c16(0x2e7)](),'error$':_0x354af2[_0x555c16(0x2e7)](),'open$':_0x5be3c1['open$'],'message$':_0xa9a61d[_0x555c16(0x2e7)](),'send':_0x46e007=>{var _0x218d94=_0x555c16;if(_0x46e007[_0x218d94(0x25e)]===F[_0x218d94(0x476)]){if(_0x46e007[_0x218d94(0x1a6)][_0x218d94(0x210)]===_0x136edc[_0x218d94(0x354)]){this['_submitChangeset'](_0x15a9f2,_0x46e007[_0x218d94(0x1a6)])[_0x218d94(0x2fb)](_0x574a47=>{var _0x24edd8=_0x218d94;this['_logService'][_0x24edd8(0x2ab)](_0x574a47),_0xf7674d();});return;}if(_0x46e007[_0x218d94(0x1a6)][_0x218d94(0x210)]===_0x136edc['FETCH_MISSING']){const _0x21ba42=_0x46e007['data'];this[_0x218d94(0x2ff)](_0x21ba42)[_0x218d94(0x296)](_0x1bdb27=>{var _0x3356f4=_0x218d94;_0xa9a61d['next']({'cmd':F[_0x3356f4(0x358)],'code':ge['OK'],'routeKey':_0x21ba42[_0x3356f4(0x1a6)][_0x3356f4(0x1f6)],'routeType':'','data':{'eventID':_0x136edc[_0x3356f4(0x1a0)],'data':{'changesets':_0x1bdb27}}});})[_0x218d94(0x2fb)](_0x42d268=>{var _0x59712d=_0x218d94;this[_0x59712d(0x1fe)][_0x59712d(0x2ab)](_0x42d268),_0xf7674d();});return;}}_0x5be3c1[_0x218d94(0x3f6)](xr(_0x46e007));},'close':()=>{var _0x4bd3c0=_0x555c16;_0x5be3c1[_0x4bd3c0(0x3cc)](),_0x492958[_0x4bd3c0(0x3a4)]();}},_0x15a9f2;}async[_0x597ab2(0x265)](_0x522405,_0x1cfca7){var _0x5c021f=_0x597ab2,_0x1f5820,_0x583d96;const {unitType:_0x548c64,unitID:_0x3504cd,changeset:_0x7ee03e}=_0x1cfca7['data'],_0x2e4e8d={'unitID':_0x3504cd,'memberID':_0x522405['memberID'],'type':_0x548c64,'changeset':_0x591f8f(_0x7ee03e)},_0x3fb926=this[_0x5c021f(0x252)]['getConfig'](Or),_0x1fbfff=this[_0x5c021f(0x252)][_0x5c021f(0x2d1)](q),_0x1b167f=kr((_0x583d96=(_0x1f5820=_0x1fbfff==null?void 0x0:_0x1fbfff[_0x5c021f(0x39f)])!=null?_0x1f5820:_0x3fb926)!=null?_0x583d96:Nr,_0x548c64,_0x3504cd);try{await this[_0x5c021f(0x259)][_0x5c021f(0x1c6)](_0x1b167f,{'body':_0x2e4e8d});}catch(_0x32b5b5){throw this[_0x5c021f(0x1fe)]['error'](_0x5c021f(0x321),_0x5c021f(0x41a)),_0x32b5b5;}}async[_0x597ab2(0x2ff)](_0x41b16e){var _0x57e1d4=_0x597ab2;const {unitID:_0x3d5e4f,from:_0x144444,to:_0x350cfb,unitType:_0x403841}=_0x41b16e[_0x57e1d4(0x1a6)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x3d5e4f,'type':_0x403841,'from':_0x144444,'to':_0x350cfb}))[_0x57e1d4(0x204)];}};Vt=Mr([Ue(0x0,_0x5dc8b8(_0x253837)),Ue(0x1,_0x5dc8b8(_0x546518)),Ue(0x2,_0x52e356),Ue(0x3,_0x2dcdf5),Ue(0x4,_0x31340a)],Vt);const $r=_0x597ab2(0x350);function Hr(_0x544379){var _0x3a7d7f=_0x597ab2;return JSON[_0x3a7d7f(0x1c7)](_0x544379)['length'];}class Ti{constructor(){var _0x5bc121=_0x597ab2;N(this,_0x5bc121(0x392),new _0x4f59b9()),N(this,_0x5bc121(0x319),this[_0x5bc121(0x392)][_0x5bc121(0x2e7)]());}[_0x597ab2(0x201)](_0x1d38aa){var _0x2944d9=_0x597ab2;this[_0x2944d9(0x392)]['next'](_0x1d38aa);}}var Br=Object[_0x597ab2(0x3e5)],jr=(_0x2d592f,_0x2a2b52,_0x124340,_0x582596)=>{var _0x1fa124=_0x597ab2;for(var _0x11db27=_0x582596>0x1?void 0x0:_0x582596?Br(_0x2a2b52,_0x124340):_0x2a2b52,_0x193dcc=_0x2d592f[_0x1fa124(0x419)]-0x1,_0x4d04ca;_0x193dcc>=0x0;_0x193dcc--)(_0x4d04ca=_0x2d592f[_0x193dcc])&&(_0x11db27=_0x4d04ca(_0x11db27)||_0x11db27);return _0x11db27;},Wt=(_0x19019f,_0x5e859a)=>(_0x1c9394,_0x532bc3)=>_0x5e859a(_0x1c9394,_0x532bc3,_0x19019f);let xe=class extends _0x15930a{constructor(_0x485f3f,_0x5ea4dc){var _0x5cd083=_0x597ab2;super(),N(this,_0x5cd083(0x380),new Map()),N(this,_0x5cd083(0x355),new _0x4f59b9()),(this[_0x5cd083(0x3d9)]=_0x485f3f,this['_userManagerService']=_0x5ea4dc,this[_0x5cd083(0x420)](_0x10ee83(this[_0x5cd083(0x3d9)][_0x5cd083(0x269)](_0x31007f['UNIVER_SHEET'])[_0x5cd083(0x218)](_0x3e044c(_0x1c1819=>_0x1c1819[_0x5cd083(0x48a)]())),this[_0x5cd083(0x3d9)]['getTypeOfUnitDisposed$'](_0x31007f[_0x5cd083(0x2db)])['pipe'](_0x3e044c(_0x1bffec=>_0x1bffec[_0x5cd083(0x48a)]())),this[_0x5cd083(0x3d9)][_0x5cd083(0x269)](_0x31007f[_0x5cd083(0x27a)])[_0x5cd083(0x218)](_0x3e044c(_0x5a2cbb=>_0x5a2cbb[_0x5cd083(0x48a)]())))['subscribe'](_0x28b60a=>this[_0x5cd083(0x28e)](_0x28b60a))));}['waitForRoom$'](_0x12c1f9){var _0x1588f6=_0x597ab2;return this[_0x1588f6(0x380)][_0x1588f6(0x379)](_0x12c1f9)?_0x46fdc6(this[_0x1588f6(0x380)][_0x1588f6(0x277)](_0x12c1f9)):this['_roomCreated$'][_0x1588f6(0x218)](_0x3e044c(_0x150980=>{var _0x53a4b4=_0x1588f6;if(_0x150980===_0x12c1f9)return this['_roomMembers'][_0x53a4b4(0x277)](_0x150980);}));}[_0x597ab2(0x329)](_0x3d9ef4){var _0x176096=_0x597ab2;this[_0x176096(0x217)][_0x176096(0x329)](_0x3d9ef4);}[_0x597ab2(0x445)](){var _0x184386=_0x597ab2;return this['_userManagerService'][_0x184386(0x445)]();}['updateMember'](_0x2b767e,_0x4beeb6){var _0x440fd7=_0x597ab2;let _0x2cdbe1=this['_roomMembers'][_0x440fd7(0x277)](_0x2b767e);_0x2cdbe1||(_0x2cdbe1=new Fr(),this['_roomMembers']['set'](_0x2b767e,_0x2cdbe1),this['_roomCreated$'][_0x440fd7(0x301)](_0x2b767e)),_0x2cdbe1[_0x440fd7(0x35a)](_0x4beeb6);}['removeMember'](_0x5a5d56,_0xeeedf4){var _0x20bcce=_0x597ab2;const _0x3c84ff=this['_roomMembers'][_0x20bcce(0x277)](_0x5a5d56);_0x3c84ff&&_0x3c84ff['removeMember'](_0xeeedf4);}[_0x597ab2(0x1e5)](_0x561529){return this['_roomMembers']['get'](_0x561529);}[_0x597ab2(0x30e)](_0x25e567,_0x1e7bfd){var _0xc94b54=_0x597ab2;const _0xbfe4e9=this['_roomMembers'][_0xc94b54(0x277)](_0x25e567);if(_0xbfe4e9)return _0xbfe4e9[_0xc94b54(0x30e)](_0x1e7bfd);}['_removeRoom'](_0x407c1c){var _0x1d3d01=_0x597ab2;const _0x430870=this[_0x1d3d01(0x380)][_0x1d3d01(0x277)](_0x407c1c);_0x430870&&(_0x430870[_0x1d3d01(0x3a4)](),this[_0x1d3d01(0x380)][_0x1d3d01(0x399)](_0x407c1c));}[_0x597ab2(0x3a4)](){var _0x21559c=_0x597ab2;this[_0x21559c(0x380)][_0x21559c(0x1ff)](_0x3e115f=>_0x3e115f[_0x21559c(0x3a4)]()),this[_0x21559c(0x380)]['clear'](),this[_0x21559c(0x355)][_0x21559c(0x323)]();}};xe=jr([Wt(0x0,_0x541816),Wt(0x1,_0x5dc8b8(_0x4d9e8f))],xe);class Fr extends _0x15930a{constructor(){var _0xb75b6b=_0x597ab2;super(...arguments),N(this,_0xb75b6b(0x26d),new Map()),N(this,_0xb75b6b(0x3ad),new _0x103965(this[_0xb75b6b(0x26d)])),N(this,_0xb75b6b(0x28b),this['_members$'][_0xb75b6b(0x2e7)]());}[_0x597ab2(0x3a4)](){var _0x513df8=_0x597ab2;this[_0x513df8(0x26d)][_0x513df8(0x481)]();}[_0x597ab2(0x35a)](_0x385541){var _0x50783f=_0x597ab2;this['_members'][_0x50783f(0x1e6)](_0x385541[_0x50783f(0x374)],_0x385541),this[_0x50783f(0x444)]();}[_0x597ab2(0x37e)](_0x4bdfc5){this['_members']['delete'](_0x4bdfc5);}['getMember'](_0x54b4ae){var _0x41d1c8=_0x597ab2;return this['_members'][_0x41d1c8(0x277)](_0x54b4ae);}['getAllMembers'](){var _0xd6527a=_0x597ab2;return Array[_0xd6527a(0x24d)](this[_0xd6527a(0x26d)]['values']());}['_emitMembers'](){var _0x727eba=_0x597ab2;this[_0x727eba(0x3ad)][_0x727eba(0x301)](this[_0x727eba(0x26d)]);}}var Gr=Object[_0x597ab2(0x3e5)],Vr=(_0x585c29,_0x47523,_0x4989a5,_0x3b4188)=>{var _0x588026=_0x597ab2;for(var _0xc8d0e0=_0x3b4188>0x1?void 0x0:_0x3b4188?Gr(_0x47523,_0x4989a5):_0x47523,_0x3f2f18=_0x585c29[_0x588026(0x419)]-0x1,_0x372355;_0x3f2f18>=0x0;_0x3f2f18--)(_0x372355=_0x585c29[_0x3f2f18])&&(_0xc8d0e0=_0x372355(_0xc8d0e0)||_0xc8d0e0);return _0xc8d0e0;},me=(_0x1009d0,_0x596829)=>(_0x238b9b,_0xe102cc)=>_0x596829(_0x238b9b,_0xe102cc,_0x1009d0),Ee=(_0x4f9316=>(_0x4f9316[_0x4f9316[_0x597ab2(0x326)]=0x0]=_0x597ab2(0x326),_0x4f9316[_0x4f9316[_0x597ab2(0x36c)]=0x1]=_0x597ab2(0x36c),_0x4f9316[_0x4f9316[_0x597ab2(0x46b)]=0x2]='OFFLINE',_0x4f9316[_0x4f9316['ONLINE']=0x3]=_0x597ab2(0x44d),_0x4f9316))(Ee||{});const Kt={[ge[_0x597ab2(0x31d)]]:'session.join-failed',[ge['JOIN_ROOM_FULL']]:'session.room-full',[ge[_0x597ab2(0x312)]]:_0x597ab2(0x3b1),[ge['JOIN_ROOM_PERMISSION_DENIED']]:_0x597ab2(0x2e0),[ge[_0x597ab2(0x3df)]]:'session.room-cnt-exceeds'};let Et=class extends _0x10e9f1{constructor(_0x55a1b6,_0x379849,_0x187fe4,_0x384337,_0x20f0e3,_0x3a29cb,_0x47cde4,_0x287169,_0x3027c9){var _0x3b1630=_0x597ab2;super(),N(this,_0x3b1630(0x3a5),new _0x103965(0x0)),N(this,_0x3b1630(0x364),this[_0x3b1630(0x3a5)][_0x3b1630(0x2e7)]()),N(this,'_event$',new _0x4f59b9()),N(this,_0x3b1630(0x2ac),this[_0x3b1630(0x1fd)][_0x3b1630(0x2e7)]()),N(this,'_socket'),N(this,_0x3b1630(0x29e)),N(this,'_collaborationTimeoutTimer'),N(this,_0x3b1630(0x391),!0x1),N(this,_0x3b1630(0x3ea),null),(this[_0x3b1630(0x2a8)]=_0x55a1b6,this[_0x3b1630(0x1fe)]=_0x187fe4,this[_0x3b1630(0x252)]=_0x384337,this[_0x3b1630(0x258)]=_0x20f0e3,this[_0x3b1630(0x41e)]=_0x3a29cb,this['_commentService']=_0x47cde4,this['_collaborationUIEventService']=_0x287169,this[_0x3b1630(0x41b)]=_0x3027c9,this[_0x3b1630(0x391)]=!!this[_0x3b1630(0x41b)],_0x379849[_0x3b1630(0x218)](_0xc0520a(this[_0x3b1630(0x1bb)]))[_0x3b1630(0x470)](_0x53c12f=>{var _0x13788f=_0x3b1630,_0xfb33d9;typeof _0x53c12f>'u'||(this['_socket']=_0x53c12f,_0x53c12f?(this[_0x13788f(0x1f3)](_0x53c12f),this[_0x13788f(0x29e)]=_0x53c12f[_0x13788f(0x3b2)][_0x13788f(0x470)](_0x32a4cc=>{var _0x142f1e=_0x13788f;_0x32a4cc['routeKey']===this[_0x142f1e(0x2a8)]&&this['_onCombEvent'](_0x32a4cc);})):(this[_0x13788f(0x1dc)](),this['_sessionStatus$'][_0x13788f(0x301)](0x2),(_0xfb33d9=this['_socketMessageSubscription'])==null||_0xfb33d9[_0x13788f(0x48e)](),this[_0x13788f(0x29e)]=null));}));}get[_0x597ab2(0x438)](){var _0x546839=_0x597ab2;return this['_sessionStatus$'][_0x546839(0x19a)]();}[_0x597ab2(0x28d)](){var _0x2eae88=_0x597ab2,_0x12d3a4,_0x42202c;return(_0x42202c=(_0x12d3a4=this[_0x2eae88(0x1a5)])==null?void 0x0:_0x12d3a4[_0x2eae88(0x374)])!=null?_0x42202c:null;}[_0x597ab2(0x3a4)](){var _0x3ef07c=_0x597ab2;super[_0x3ef07c(0x3a4)](),this[_0x3ef07c(0x1bb)][_0x3ef07c(0x301)](),this[_0x3ef07c(0x1bb)]['complete']();}[_0x597ab2(0x3cc)](){var _0x22a91c=_0x597ab2,_0x5a8df6,_0x523448;this[_0x22a91c(0x1dc)](),(_0x5a8df6=this[_0x22a91c(0x1a5)])==null||_0x5a8df6[_0x22a91c(0x3f6)]({'cmd':F[_0x22a91c(0x435)],'data':{'roomID':this[_0x22a91c(0x2a8)]}}),(_0x523448=this[_0x22a91c(0x1a5)])==null||_0x523448[_0x22a91c(0x3cc)](),this[_0x22a91c(0x1fd)][_0x22a91c(0x323)](),this['_sessionStatus$']['complete'](),this[_0x22a91c(0x3a4)]();}[_0x597ab2(0x32e)](_0x2e5f0f){var _0x34fa71=_0x597ab2;_0x2e5f0f['cmd']===F['JOIN']?this[_0x34fa71(0x245)](_0x2e5f0f):_0x2e5f0f[_0x34fa71(0x25e)]===F[_0x34fa71(0x358)]&&this[_0x34fa71(0x473)](_0x2e5f0f);}[_0x597ab2(0x1f3)](_0x1c629a){var _0x22f0f6=_0x597ab2;this[_0x22f0f6(0x3a5)][_0x22f0f6(0x301)](0x1),_0x1c629a[_0x22f0f6(0x3f6)]({'cmd':F['JOIN'],'routeKey':this[_0x22f0f6(0x2a8)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x597ab2(0x245)](_0x26ff40){var _0x436e44=_0x597ab2,_0x4d008f;if(_0x26ff40['code']in Kt){this[_0x436e44(0x352)][_0x436e44(0x3aa)]({'id':se['JOIN_ROOM_FAILED'],'data':Kt[_0x26ff40[_0x436e44(0x1b8)]]}),this['_sessionStatus$'][_0x436e44(0x301)](0x2);return;}this['_sessionStatus$'][_0x436e44(0x301)](0x3);const _0x5048f3=(_0x4d008f=_0x26ff40['data'][_0x436e44(0x427)][this['_unitID']])==null?void 0x0:_0x4d008f[_0x436e44(0x39b)];_0x5048f3&&_0x5048f3[_0x436e44(0x1ff)](_0x22b5b1=>this['_memberService']['updateMember'](this[_0x436e44(0x2a8)],_0x22b5b1));}['_onRecvEvent'](_0x52505d){var _0x403f15=_0x597ab2;try{const _0xec4986=_0x52505d[_0x403f15(0x1a6)];switch(_0xec4986['eventID']){case _0x136edc[_0x403f15(0x310)]:this['_onUserJoin'](_0xec4986),this['_event$'][_0x403f15(0x301)](_0xec4986);break;case _0x136edc[_0x403f15(0x225)]:this['_onUserLeave'](_0xec4986),this['_event$'][_0x403f15(0x301)](_0xec4986);break;case _0x136edc[_0x403f15(0x43c)]:case _0x136edc[_0x403f15(0x356)]:this[_0x403f15(0x313)](),this[_0x403f15(0x285)](),this['_event$'][_0x403f15(0x301)](_0xec4986);break;case _0x136edc[_0x403f15(0x1d8)]:this[_0x403f15(0x1fe)][_0x403f15(0x2ab)](_0x403f15(0x2df)+JSON[_0x403f15(0x1c7)](_0xec4986)),this[_0x403f15(0x1fd)]['next'](_0xec4986);break;case _0x136edc[_0x403f15(0x2eb)]:this[_0x403f15(0x489)][_0x403f15(0x201)](_0xec4986[_0x403f15(0x1a6)]),this[_0x403f15(0x1fd)][_0x403f15(0x301)](_0xec4986);break;default:this[_0x403f15(0x1fd)][_0x403f15(0x301)](_0xec4986);}}catch(_0x47fd13){this[_0x403f15(0x1fe)][_0x403f15(0x2ab)](_0x47fd13,_0x52505d);}}['_onUserJoin'](_0x3b7d26){var _0x19a144=_0x597ab2;this[_0x19a144(0x41e)][_0x19a144(0x35a)](this[_0x19a144(0x2a8)],_0x3b7d26['data']);}[_0x597ab2(0x3be)](_0x5ea37a){var _0x5b1d91=_0x597ab2;this['_memberService']['removeMember'](this[_0x5b1d91(0x2a8)],_0x5ea37a[_0x5b1d91(0x1a6)][_0x5b1d91(0x374)]);}async[_0x597ab2(0x3f6)](_0x29a3c6,_0x11e022){var _0x2a951d=_0x597ab2;if(this['sessionStatus']!==0x3||!this[_0x2a951d(0x1a5)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x29a3c6[_0x2a951d(0x210)]===_0x136edc[_0x2a951d(0x354)]&&(this[_0x2a951d(0x3bf)](),this[_0x2a951d(0x306)](_0x29a3c6)),this['_socket'][_0x2a951d(0x3f6)]({'cmd':F['INGEST'],'routeKey':_0x11e022,'routeType':'','data':_0x29a3c6});}catch(_0x35508f){this['_logService'][_0x2a951d(0x2ab)](_0x35508f);}}[_0x597ab2(0x3bf)](){var _0x22ba79=_0x597ab2,_0x94f95e;this[_0x22ba79(0x3ae)]=setTimeout(()=>{var _0x4a0de2=_0x22ba79;this[_0x4a0de2(0x3ae)]=null,this['_collaborationUIEventService'][_0x4a0de2(0x3aa)]({'id':se[_0x4a0de2(0x260)]});},(_0x94f95e=this[_0x22ba79(0x252)][_0x22ba79(0x2d1)](mi))!=null?_0x94f95e:gi);}['_clearCollaborationTimeoutTimer'](){var _0x3fa12f=_0x597ab2;this[_0x3fa12f(0x3ae)]&&(clearTimeout(this[_0x3fa12f(0x3ae)]),this[_0x3fa12f(0x3ae)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x28bd29){var _0x66e7c1=_0x597ab2;if(!this[_0x66e7c1(0x391)])return;const {data:_0x412986}=_0x28bd29,{unitID:_0x4b6149,changeset:_0x4525e4}=_0x412986,{mutations:_0x5473f3,type:_0xd899c6}=_0x4525e4;this[_0x66e7c1(0x3ea)]={'unitId':_0x4b6149,'type':_0xd899c6,'startTime':performance[_0x66e7c1(0x42b)](),'stopTime':0x0,'duration':0x0,'size':Hr(_0x5473f3)};}[_0x597ab2(0x313)](){var _0x43b511=_0x597ab2;if(this[_0x43b511(0x391)]){if(!this[_0x43b511(0x3ea)]){this['_logService'][_0x43b511(0x2ab)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x43b511(0x233)]=performance[_0x43b511(0x42b)](),this['_telemetryInfo'][_0x43b511(0x304)]=this[_0x43b511(0x3ea)]['stopTime']-this['_telemetryInfo'][_0x43b511(0x32d)],this['_telemetryService'][_0x43b511(0x235)]($r,this[_0x43b511(0x3ea)]),this[_0x43b511(0x3ea)]=null;}}[_0x597ab2(0x1dc)](){var _0x1ff475=_0x597ab2;this[_0x1ff475(0x3ea)]=null;}};Et=Vr([me(0x2,_0x2dcdf5),me(0x3,_0x52e356),me(0x4,_0x5dc8b8(_0x36508b)),me(0x5,_0x5dc8b8(xe)),me(0x6,_0x5dc8b8(Ti)),me(0x7,_0x5dc8b8(pe)),me(0x8,_0x5d860b(_0x3695d9))],Et);var Wr=Object['getOwnPropertyDescriptor'],Kr=(_0x1fba66,_0x22bc0f,_0xfdd714,_0x4d166b)=>{var _0x1f7c8d=_0x597ab2;for(var _0x199369=_0x4d166b>0x1?void 0x0:_0x4d166b?Wr(_0x22bc0f,_0xfdd714):_0x22bc0f,_0x34f8f=_0x1fba66[_0x1f7c8d(0x419)]-0x1,_0x452b57;_0x34f8f>=0x0;_0x34f8f--)(_0x452b57=_0x1fba66[_0x34f8f])&&(_0x199369=_0x452b57(_0x199369)||_0x199369);return _0x199369;},be=(_0x4bfc03,_0x47ded6)=>(_0x187fbd,_0x3c6eab)=>_0x47ded6(_0x187fbd,_0x3c6eab,_0x4bfc03);let Le=class extends _0x15930a{constructor(_0x4c6566,_0x53e34e,_0x51f25f,_0x5e292f,_0x2384b3,_0x502c02){var _0x3738ab=_0x597ab2;super(),N(this,_0x3738ab(0x3e6),new _0x103965(void 0x0)),N(this,'socket$',this[_0x3738ab(0x3e6)]['asObservable']()),N(this,_0x3738ab(0x439),null),N(this,_0x3738ab(0x32f),new Map()),N(this,_0x3738ab(0x339),new _0x103965(Ee[_0x3738ab(0x326)])),N(this,_0x3738ab(0x3c7),this[_0x3738ab(0x339)][_0x3738ab(0x2e7)]()),N(this,_0x3738ab(0x1d4),!0x1),N(this,_0x3738ab(0x1c1)),N(this,'_retryCount',0x0),N(this,_0x3738ab(0x1e3)),N(this,_0x3738ab(0x47f)),(this[_0x3738ab(0x44a)]=_0x4c6566,this[_0x3738ab(0x1fe)]=_0x53e34e,this[_0x3738ab(0x252)]=_0x51f25f,this[_0x3738ab(0x3a2)]=_0x5e292f,this[_0x3738ab(0x352)]=_0x2384b3,this[_0x3738ab(0x36e)]=_0x502c02,this[_0x3738ab(0x3c4)]());}get['_socket'](){var _0x7c7523=_0x597ab2;return this[_0x7c7523(0x3e6)][_0x7c7523(0x19a)]();}[_0x597ab2(0x3c4)](){var _0x2ba86b=_0x597ab2;this[_0x2ba86b(0x36e)]&&this[_0x2ba86b(0x420)](this['_networkConditionService']['online$'][_0x2ba86b(0x470)](_0x301569=>{var _0x3160cf=_0x2ba86b;_0x301569&&!this[_0x3160cf(0x1a5)]&&this[_0x3160cf(0x322)](),_0x301569||this['_onOffline']();}));}[_0x597ab2(0x3a4)](){var _0x42c2b5=_0x597ab2;super[_0x42c2b5(0x3a4)](),this['_clearRetryConnectingTimer'](),this[_0x42c2b5(0x2e5)](),this['_clearHeartbeatTimer'](),this[_0x42c2b5(0x32f)][_0x42c2b5(0x1ff)](_0x5ecb65=>_0x5ecb65['dispose']()),this[_0x42c2b5(0x32f)][_0x42c2b5(0x481)](),this[_0x42c2b5(0x339)][_0x42c2b5(0x323)]();}async['requireSession'](_0xfa4231){var _0x4077a9=_0x597ab2;if(this[_0x4077a9(0x32f)][_0x4077a9(0x379)](_0xfa4231))return this[_0x4077a9(0x32f)][_0x4077a9(0x277)](_0xfa4231);this['_tryEnsureSocket']();const _0x356b5e=this[_0x4077a9(0x44a)]['createInstance'](Et,_0xfa4231,this[_0x4077a9(0x3e6)]['asObservable']());return this[_0x4077a9(0x32f)]['set'](_0xfa4231,_0x356b5e),_0x356b5e;}[_0x597ab2(0x327)](_0x29fdf7){var _0xcf1201=_0x597ab2,_0x5b3333;const _0x1581f1=this[_0xcf1201(0x32f)][_0xcf1201(0x277)](_0x29fdf7);_0x1581f1&&(this[_0xcf1201(0x32f)][_0xcf1201(0x399)](_0x29fdf7),_0x1581f1[_0xcf1201(0x3cc)]()),this[_0xcf1201(0x32f)][_0xcf1201(0x3bd)]||(_0x5b3333=this['_socket'])==null||_0x5b3333['close']();}['reconnect'](){var _0x2bbf23=_0x597ab2;this[_0x2bbf23(0x48f)]=0x0,this[_0x2bbf23(0x24b)](),this[_0x2bbf23(0x250)]();}[_0x597ab2(0x24b)](){var _0x211e99=_0x597ab2;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x211e99(0x1c1)]),this['_retryConnectingTimer']=null);}async[_0x597ab2(0x2a6)](){var _0xb2c9ab=_0x597ab2,_0x635093,_0x4a82e6;const _0x316f59=this['_configService'][_0xb2c9ab(0x2d1)](Er),_0x1aa588=this['_configService'][_0xb2c9ab(0x2d1)](q),_0x2692f5=(_0x4a82e6=(_0x635093=_0x1aa588==null?void 0x0:_0x1aa588[_0xb2c9ab(0x3a0)])!=null?_0x635093:_0x316f59)!=null?_0x4a82e6:Ir,_0x54be16=await this[_0xb2c9ab(0x3a2)][_0xb2c9ab(0x36d)](_0x2692f5);return this[_0xb2c9ab(0x439)]=_0x54be16,_0x54be16;}async[_0x597ab2(0x302)](){var _0x268ebe=_0x597ab2,_0x2a4d6b,_0x34cefc;try{const _0x5bcc54=(_0x34cefc=(_0x2a4d6b=this[_0x268ebe(0x1a5)])!=null?_0x2a4d6b:this['_candidateSocket'])!=null?_0x34cefc:await this['_createSocket']();if(_0x5bcc54){const _0x3cf555=_0x5bcc54[_0x268ebe(0x3f6)];_0x5bcc54['send']=_0x32a821=>(this[_0x268ebe(0x36a)](),_0x3cf555[_0x268ebe(0x2f9)](_0x5bcc54,[_0x32a821])),_0x5bcc54[_0x268ebe(0x3b2)]['subscribe'](_0xa72288=>this[_0x268ebe(0x2ce)](_0x5bcc54,_0xa72288)),_0x5bcc54[_0x268ebe(0x1d0)][_0x268ebe(0x218)](_0x33f735(0x1))[_0x268ebe(0x470)](_0x389356=>this[_0x268ebe(0x1fe)][_0x268ebe(0x2ab)](_0x268ebe(0x1f9),_0x389356)),_0x5bcc54[_0x268ebe(0x1b4)][_0x268ebe(0x218)](_0x33f735(0x1))['subscribe'](()=>{var _0x56c9b3=_0x268ebe;this[_0x56c9b3(0x425)](_0x5bcc54);}),_0x5bcc54[_0x268ebe(0x308)][_0x268ebe(0x218)](_0x33f735(0x1))['subscribe'](_0x4cc44e=>{var _0x27206a=_0x268ebe;this['_logService'][_0x27206a(0x1e7)](_0x27206a(0x1a3),'socket\x20close',_0x4cc44e),this[_0x27206a(0x3b7)]();});}}catch(_0xa84070){this[_0x268ebe(0x1fe)][_0x268ebe(0x2ab)](_0xa84070),this[_0x268ebe(0x3b7)]();}}[_0x597ab2(0x425)](_0x3bf237){var _0x4d6897=_0x597ab2;this['_logService'][_0x4d6897(0x1e7)]('[CollaborationSessionService]',_0x4d6897(0x19b)),_0x3bf237[_0x4d6897(0x3f6)]({'cmd':F[_0x4d6897(0x2b2)]}),this[_0x4d6897(0x36a)]();}[_0x597ab2(0x337)](){var _0x3f0e38=_0x597ab2;this[_0x3f0e38(0x1d4)]=!0x1,this[_0x3f0e38(0x439)]=null,this['_status$'][_0x3f0e38(0x301)](Ee[_0x3f0e38(0x46b)]),this[_0x3f0e38(0x3e6)][_0x3f0e38(0x301)](null),this['_clearTimeoutTimer'](),this[_0x3f0e38(0x2c2)]();}[_0x597ab2(0x3b7)](){var _0x500dd0=_0x597ab2,_0x34a11a;this['_onOffline'](),this['_retryCount']<((_0x34a11a=this[_0x500dd0(0x252)][_0x500dd0(0x2d1)](br))!=null?_0x34a11a:yr)?(this[_0x500dd0(0x352)][_0x500dd0(0x3aa)]({'id':se[_0x500dd0(0x24f)]}),this[_0x500dd0(0x250)]()):this[_0x500dd0(0x352)]['emitEvent']({'id':se['SOCKET_FAILED']});}['_tryReconnect'](){var _0x5ece31=_0x597ab2,_0x3a1546;const _0x56f1ec=this[_0x5ece31(0x48f)],_0x65733d=this[_0x5ece31(0x252)]['getConfig'](q),_0x36829b=_0x56f1ec===0x0?0x0:((_0x3a1546=_0x65733d==null?void 0x0:_0x65733d['retryConnectingInterval'])!=null?_0x3a1546:Rr)*0x2**_0x56f1ec;this[_0x5ece31(0x1c1)]=setTimeout(()=>{var _0x473af1=_0x5ece31;clearTimeout(this[_0x473af1(0x1c1)]),this['_retryConnectingTimer']=null,this[_0x473af1(0x302)]();},_0x36829b),this[_0x5ece31(0x48f)]+=0x1;}[_0x597ab2(0x2ce)](_0x38ad22,_0x43c57f){var _0x962450=_0x597ab2;const {cmd:_0x35ab6c}=_0x43c57f;_0x35ab6c===F[_0x962450(0x2b2)]&&!this[_0x962450(0x1d4)]&&(_0x38ad22['memberID']=_0x43c57f['data'][_0x962450(0x374)],this['_socket$'][_0x962450(0x301)](_0x38ad22),this[_0x962450(0x339)][_0x962450(0x301)](Ee[_0x962450(0x44d)]),this['_socketReady']=!0x0,this[_0x962450(0x439)]=null),_0x35ab6c===F[_0x962450(0x3cf)]&&this[_0x962450(0x2e5)](),this[_0x962450(0x36a)]();}[_0x597ab2(0x36a)](){var _0x570cb0=_0x597ab2,_0x109f4;this[_0x570cb0(0x2c2)](),this[_0x570cb0(0x1e3)]=setTimeout(()=>this[_0x570cb0(0x2ca)](),(_0x109f4=this[_0x570cb0(0x252)][_0x570cb0(0x2d1)](Tr))!=null?_0x109f4:Cr);}[_0x597ab2(0x2ca)](){var _0x35bc66=_0x597ab2;this[_0x35bc66(0x1a5)][_0x35bc66(0x3f6)]({'cmd':F['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x597ab2(0x2e9)](){var _0x4651c0=_0x597ab2,_0x50497c;this[_0x4651c0(0x47f)]=setTimeout(()=>this[_0x4651c0(0x3b7)](),(_0x50497c=this[_0x4651c0(0x252)]['getConfig'](mi))!=null?_0x50497c:gi);}[_0x597ab2(0x2c2)](){var _0x4ec0c3=_0x597ab2;this[_0x4ec0c3(0x1e3)]!=null&&(clearTimeout(this[_0x4ec0c3(0x1e3)]),this['_sendHeartbeatTimer']=null);}[_0x597ab2(0x2e5)](){var _0x3a3a78=_0x597ab2;this[_0x3a3a78(0x47f)]!=null&&(clearTimeout(this[_0x3a3a78(0x47f)]),this[_0x3a3a78(0x47f)]=null);}};Le=Kr([be(0x0,_0x5dc8b8(_0x253837)),be(0x1,_0x2dcdf5),be(0x2,_0x52e356),be(0x3,Ii),be(0x4,_0x5dc8b8(pe)),be(0x5,_0x5d860b(Ar))],Le);const G=[];for(let i=0x0;i<0x100;++i)G[_0x597ab2(0x1e9)]((i+0x100)['toString'](0x10)[_0x597ab2(0x41f)](0x1));function Yr(_0x57058b,_0x30bbc9=0x0){return(G[_0x57058b[_0x30bbc9+0x0]]+G[_0x57058b[_0x30bbc9+0x1]]+G[_0x57058b[_0x30bbc9+0x2]]+G[_0x57058b[_0x30bbc9+0x3]]+'-'+G[_0x57058b[_0x30bbc9+0x4]]+G[_0x57058b[_0x30bbc9+0x5]]+'-'+G[_0x57058b[_0x30bbc9+0x6]]+G[_0x57058b[_0x30bbc9+0x7]]+'-'+G[_0x57058b[_0x30bbc9+0x8]]+G[_0x57058b[_0x30bbc9+0x9]]+'-'+G[_0x57058b[_0x30bbc9+0xa]]+G[_0x57058b[_0x30bbc9+0xb]]+G[_0x57058b[_0x30bbc9+0xc]]+G[_0x57058b[_0x30bbc9+0xd]]+G[_0x57058b[_0x30bbc9+0xe]]+G[_0x57058b[_0x30bbc9+0xf]])['toLowerCase']();}let ut;const qr=new Uint8Array(0x10);function zr(){var _0x2f99b4=_0x597ab2;if(!ut){if(typeof crypto>'u'||!crypto[_0x2f99b4(0x3bb)])throw new Error(_0x2f99b4(0x369));ut=crypto['getRandomValues'][_0x2f99b4(0x23a)](crypto);}return ut(qr);}const Jr=typeof crypto<'u'&&crypto[_0x597ab2(0x1ec)]&&crypto['randomUUID'][_0x597ab2(0x23a)](crypto),Yt={'randomUUID':Jr};function Xr(_0x49ee73,_0x4ee1e5,_0x39ecd7){var _0x34700a=_0x597ab2,_0x5423f5,_0x328960,_0x3a4c11;if(Yt[_0x34700a(0x1ec)]&&!_0x49ee73)return Yt[_0x34700a(0x1ec)]();_0x49ee73=_0x49ee73||{};const _0x3828a9=(_0x3a4c11=(_0x328960=_0x49ee73['random'])!=null?_0x328960:(_0x5423f5=_0x49ee73['rng'])==null?void 0x0:_0x5423f5[_0x34700a(0x47a)](_0x49ee73))!=null?_0x3a4c11:zr();if(_0x3828a9['length']<0x10)throw new Error(_0x34700a(0x469));return _0x3828a9[0x6]=_0x3828a9[0x6]&0xf|0x40,_0x3828a9[0x8]=_0x3828a9[0x8]&0x3f|0x80,Yr(_0x3828a9);}const J=_0x3280f3(_0x597ab2(0x2b6));function Bs(_0x8e5055){return'unit-cache-'+_0x8e5055;}var Zr=Object['getOwnPropertyDescriptor'],Qr=(_0x524754,_0x1fc768,_0x9abb6f,_0x22fdcb)=>{for(var _0x3ecd4e=_0x22fdcb>0x1?void 0x0:_0x22fdcb?Zr(_0x1fc768,_0x9abb6f):_0x1fc768,_0x406ad4=_0x524754['length']-0x1,_0x29ef0b;_0x406ad4>=0x0;_0x406ad4--)(_0x29ef0b=_0x524754[_0x406ad4])&&(_0x3ecd4e=_0x29ef0b(_0x3ecd4e)||_0x3ecd4e);return _0x3ecd4e;},dt=(_0x4e130d,_0x539aba)=>(_0x3065dd,_0xa85e19)=>_0x539aba(_0x3065dd,_0xa85e19,_0x4e130d);function en(_0x2196af){var _0x36c709=_0x597ab2;const {unitID:_0x3e042d,mutations:_0x1f4949}=_0x2196af;return{'unitId':_0x3e042d,'subUnitId':_0x1f4949[0x0][_0x36c709(0x388)][_0x36c709(0x3fb)]};}let it=class{constructor(_0x18e6a7,_0xe67a35,_0x2b28eb){var _0x4a6d50=_0x597ab2;this[_0x4a6d50(0x44a)]=_0x18e6a7,this[_0x4a6d50(0x460)]=_0xe67a35,this[_0x4a6d50(0x3e3)]=_0x2b28eb;}[_0x597ab2(0x402)](_0xe5c582){var _0x281e3f=_0x597ab2,_0x2130c3,_0x54deed,_0x5a5e60,_0x4d8395;const _0x2931ae=this['_injector'][_0x281e3f(0x277)](_0x544d2c),{unitId:_0x3420b3,subUnitId:_0x4465b1}=en(_0xe5c582),_0x31f179=_0x2931ae==null?void 0x0:_0x2931ae[_0x281e3f(0x1c8)](_0x3420b3)[_0x281e3f(0x253)](),_0x140f8b=(_0x54deed=(_0x2130c3=this[_0x281e3f(0x3e3)][_0x281e3f(0x3d3)](_0x3420b3))==null?void 0x0:_0x2130c3[_0x281e3f(0x239)]())==null?void 0x0:_0x54deed[_0x281e3f(0x396)]();if(_0x31f179[_0x281e3f(0x419)]===0x0||!_0x3420b3||!_0x4465b1)return;const _0x5d3908=[{'id':_0x406c21['id'],'params':{'unitId':_0x3420b3,'subUnitId':_0x140f8b,'selections':_0x1a2cf5[_0x281e3f(0x2fa)](_0x31f179)}}],_0x499944=this[_0x281e3f(0x460)][_0x281e3f(0x3b0)](_0xe5c582,_0x5d3908);if(!_0x5ed9d4(_0x499944))throw _0x499944['error'];const _0x322609=(_0x4d8395=(_0x5a5e60=_0x499944['m2Prime'][0x0])==null?void 0x0:_0x5a5e60['params'])==null?void 0x0:_0x4d8395[_0x281e3f(0x346)];if(Array[_0x281e3f(0x45f)](_0x322609)&&_0x322609[_0x281e3f(0x419)]){if(_0x322609['length']===_0x5d3908[0x0][_0x281e3f(0x388)][_0x281e3f(0x346)][_0x281e3f(0x419)]&&_0x322609[_0x281e3f(0x275)]((_0x219013,_0x167166)=>_0x239477[_0x281e3f(0x292)](_0x219013['range'],_0x5d3908[0x0][_0x281e3f(0x388)][_0x281e3f(0x346)][_0x167166]['range'])))return;this[_0x281e3f(0x44a)]['get'](_0x336840)[_0x281e3f(0x21b)](_0x406c21['id'],{'unitId':_0x3420b3,'subUnitId':_0x140f8b,'selections':_0x322609});}}};it=Qr([dt(0x0,_0x5dc8b8(_0x253837)),dt(0x1,_0x556cc7),dt(0x2,_0x541816)],it);const ht=_0x3280f3(_0x597ab2(0x1a2));var Ci=(_0x5e41f2=>(_0x5e41f2[_0x5e41f2['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x597ab2(0x2b3),_0x5e41f2[_0x5e41f2['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x5e41f2))(Ci||{});const tn=new Set([_0x2c7924['id']]);function qt(_0x110fe2,_0x136b0d,_0xbf3258,_0x58248b,_0x14f7b7){var _0x579319=_0x597ab2,_0x2a5486,_0x51e8b3,_0x3d5672,_0x224907;const _0x4c98a0=[];for(const _0x5c0957 of _0x110fe2)if(tn[_0x579319(0x379)](_0x5c0957['id'])){if(_0x4c98a0[_0x579319(0x419)]>0x0)break;_0x4c98a0[_0x579319(0x1e9)](_0x5c0957);break;}else _0x4c98a0['push'](_0x5c0957);const _0x29af87=(_0x51e8b3=(_0x2a5486=_0x14f7b7[_0x579319(0x445)]())==null?void 0x0:_0x2a5486[_0x579319(0x2f0)])!=null?_0x51e8b3:_0x579319(0x3f0),_0x1e59b3=(_0x224907=(_0x3d5672=_0x14f7b7['getCurrentUser']())==null?void 0x0:_0x3d5672[_0x579319(0x374)])!=null?_0x224907:_0x579319(0x3f0);return{'changeset':{'unitID':_0x136b0d,'type':_0x3dec86(_0xbf3258[_0x579319(0x363)](_0x136b0d)),'baseRev':_0x58248b[_0x579319(0x20c)](_0x136b0d),'revision':0x0,'userID':_0x29af87,'memberID':_0x1e59b3,'mutations':_0x4c98a0},'pendingMutations':_0x110fe2[_0x579319(0x41f)](_0x4c98a0[_0x579319(0x419)])};}function rn(_0x58def5,_0x5124d1,_0x5ccfa8,_0x39be0c,_0x448dcf){var _0x285e8e=_0x597ab2,_0x450c0e,_0x4f0713,_0x45e88c,_0x1543ba;const _0xd7a5a0=[_0x58def5[_0x285e8e(0x1d6)]((_0x1cfebe,_0x2a0426)=>{var _0x516b4e=_0x285e8e,_0x31fb66;const {id:_0x4979a6}=_0x1cfebe,{id:_0x378378,type:_0x1aedb7}=_0x2a0426,_0x13056e=(_0x31fb66=_0x1cfebe[_0x516b4e(0x388)])!=null?_0x31fb66:{'actions':null},_0x521f96=_0x2a0426['params'];if(_0x4979a6&&_0x4979a6!==_0x378378)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4979a6+_0x516b4e(0x2ed)+_0x378378+'.');return{..._0x1cfebe,'id':_0x378378,'type':_0x1aedb7,'params':{'unitId':_0x521f96[_0x516b4e(0x3cd)],'textRanges':_0x521f96['textRanges'],'actions':_0xfa7585[_0x516b4e(0x2f1)](_0x13056e[_0x516b4e(0x27e)],_0x521f96[_0x516b4e(0x27e)])}};},{})],_0x386f8c=(_0x4f0713=(_0x450c0e=_0x448dcf[_0x285e8e(0x445)]())==null?void 0x0:_0x450c0e[_0x285e8e(0x2f0)])!=null?_0x4f0713:_0x285e8e(0x3f0),_0x597c05=(_0x1543ba=(_0x45e88c=_0x448dcf[_0x285e8e(0x445)]())==null?void 0x0:_0x45e88c[_0x285e8e(0x374)])!=null?_0x1543ba:_0x285e8e(0x3f0);return{'changeset':{'unitID':_0x5124d1,'type':_0x3dec86(_0x5ccfa8[_0x285e8e(0x363)](_0x5124d1)),'baseRev':_0x39be0c[_0x285e8e(0x20c)](_0x5124d1),'revision':0x0,'userID':_0x386f8c,'memberID':_0x597c05,'mutations':_0xd7a5a0},'pendingMutations':[]};}function Ri(_0x23d17c,_0x41bd74){var _0x11f68a=_0x597ab2;const _0x15b962=new _0x3937fb(0x1);return setTimeout(()=>_0x15b962[_0x11f68a(0x301)](_0x41bd74),_0x23d17c),_0x15b962[_0x11f68a(0x2e7)]()[_0x11f68a(0x218)](_0xec6115(0x1));}const nn={'id':_0x24845c['id'],'type':_0x1a1d72['MUTATION'],'params':{}};var sn=Object[_0x597ab2(0x3e5)],Te=(_0x25bcfc,_0x39f99f,_0x3e5793,_0x28c611)=>{var _0x458218=_0x597ab2;for(var _0x405f60=_0x28c611>0x1?void 0x0:_0x28c611?sn(_0x39f99f,_0x3e5793):_0x39f99f,_0x4aa2d3=_0x25bcfc[_0x458218(0x419)]-0x1,_0x1a6f6d;_0x4aa2d3>=0x0;_0x4aa2d3--)(_0x1a6f6d=_0x25bcfc[_0x4aa2d3])&&(_0x405f60=_0x1a6f6d(_0x405f60)||_0x405f60);return _0x405f60;},P=(_0x766650,_0x12979b)=>(_0x2c7dd7,_0x25d275)=>_0x12979b(_0x2c7dd7,_0x25d275,_0x766650),bi=(_0x5eee2a=>(_0x5eee2a['NOT_COLLAB']=_0x597ab2(0x2a0),_0x5eee2a[_0x597ab2(0x2a4)]='synced',_0x5eee2a[_0x597ab2(0x483)]=_0x597ab2(0x3d6),_0x5eee2a[_0x597ab2(0x378)]=_0x597ab2(0x1be),_0x5eee2a[_0x597ab2(0x3e1)]=_0x597ab2(0x3d1),_0x5eee2a['FETCH_MISS']=_0x597ab2(0x410),_0x5eee2a[_0x597ab2(0x237)]=_0x597ab2(0x3c8),_0x5eee2a['OFFLINE']=_0x597ab2(0x2b0),_0x5eee2a))(bi||{});const yi=0xea60;class Ce{constructor(_0xd0c83d,_0x3bd518,_0x5c870c,_0x4c035b,_0x3c8174,_0x23db3a,_0x483612,_0xfad70d,_0x10aa6b){var _0x3aa1ff=_0x597ab2;N(this,_0x3aa1ff(0x268),null),N(this,_0x3aa1ff(0x2cb),[]),(this[_0x3aa1ff(0x1f6)]=_0xd0c83d,this[_0x3aa1ff(0x2d8)]=_0x3bd518,this['_handler']=_0x3c8174,this[_0x3aa1ff(0x433)]=_0x23db3a,this[_0x3aa1ff(0x3fc)]=_0x483612,this[_0x3aa1ff(0x278)]=_0xfad70d,this[_0x3aa1ff(0x3e9)]=_0x10aa6b,this[_0x3aa1ff(0x268)]=_0x5c870c,this[_0x3aa1ff(0x2cb)]=_0x4c035b);}[_0x597ab2(0x236)](_0x11a712){var _0x50c69a=_0x597ab2;const _0x1085f8=this[_0x50c69a(0x278)][_0x50c69a(0x20c)](this[_0x50c69a(0x1f6)]);return _0x11a712[_0x50c69a(0x1cb)]>_0x1085f8+0x1?(this[_0x50c69a(0x1d2)][_0x50c69a(0x37a)]({'from':_0x1085f8,'to':_0x11a712['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x995d44){var _0x305030=_0x597ab2;this[_0x305030(0x3fc)][_0x305030(0x41d)](this[_0x305030(0x1f6)],_0x995d44);}[_0x597ab2(0x3c0)](_0xc7f7e3){var _0x492e85=_0x597ab2,_0x52d5d4,_0x400d5a;(_0x400d5a=(_0x52d5d4=this[_0x492e85(0x1d2)])['onTransformSelections'])==null||_0x400d5a[_0x492e85(0x47a)](_0x52d5d4,_0xc7f7e3);}['_transformIMECache'](_0x1be786){var _0x7ca140=_0x597ab2,_0x30842e,_0x20789a;return(_0x20789a=(_0x30842e=this[_0x7ca140(0x1d2)])[_0x7ca140(0x254)])==null?void 0x0:_0x20789a[_0x7ca140(0x47a)](_0x30842e,_0x1be786);}['_transformStateCache'](_0xadb8a7){var _0x4ba70f=_0x597ab2,_0x8d2ae3,_0x31d35a;return(_0x31d35a=(_0x8d2ae3=this[_0x4ba70f(0x1d2)])['onTransformState'])==null?void 0x0:_0x31d35a[_0x4ba70f(0x47a)](_0x8d2ae3,_0xadb8a7);}[_0x597ab2(0x482)](_0x4b3f4f){var _0x39a44c=_0x597ab2,_0x8f2901,_0x2274e7,_0x1deb0a;return(_0x1deb0a=(_0x2274e7=(_0x8f2901=this[_0x39a44c(0x1d2)])[_0x39a44c(0x430)])==null?void 0x0:_0x2274e7['call'](_0x8f2901,_0x4b3f4f))!=null?_0x1deb0a:_0x4b3f4f;}[_0x597ab2(0x3f1)](_0x399c93){var _0x18509a=_0x597ab2,_0xbf417f,_0x36d218,_0x427a74;return(_0x427a74=(_0x36d218=(_0xbf417f=this[_0x18509a(0x1d2)])[_0x18509a(0x19c)])==null?void 0x0:_0x36d218[_0x18509a(0x47a)](_0xbf417f,_0x399c93))!=null?_0x427a74:_0x399c93;}[_0x597ab2(0x36b)](_0x964648){var _0x23b188=_0x597ab2,_0x49f720,_0x2c8881;if(this[_0x23b188(0x2d8)]===Q['UNIVER_DOC']){const {unitID:_0x470f30,mutations:_0x58112c,memberID:_0x5511eb}=_0x964648,_0x50c037=_0x58112c[0x0][_0x23b188(0x388)][_0x23b188(0x1b0)];Array['isArray'](_0x50c037)&&_0x50c037[_0x23b188(0x419)]>0x0&&((_0x2c8881=(_0x49f720=this[_0x23b188(0x1d2)])['onSyncEditingCollabCursor'])==null||_0x2c8881[_0x23b188(0x47a)](_0x49f720,{'unitID':_0x470f30,'memberID':_0x5511eb,'textRanges':_0x50c037}));}}['_updateLocalCache'](){var _0x479167=_0x597ab2,_0x154aa4;(_0x154aa4=this[_0x479167(0x3e9)])==null||_0x154aa4['updateOfflineData'](this[_0x479167(0x1f6)],this['type'],this[_0x479167(0x268)],this[_0x479167(0x2cb)]);}[_0x597ab2(0x485)](){var _0x5abe65=_0x597ab2;return this['_revisionService'][_0x5abe65(0x20c)](this['unitID']);}['_incrementRevisionNumber'](){var _0x508bea=_0x597ab2;this[_0x508bea(0x278)][_0x508bea(0x333)](this[_0x508bea(0x1f6)]);}[_0x597ab2(0x39a)](_0x20d8d2){var _0x125d9d=_0x597ab2,_0x468a55;let _0x36e2b1=this['_transformRemoteChangesetByIMECache'](_0x20d8d2);_0x36e2b1=this[_0x125d9d(0x3f1)](_0x36e2b1);const _0x4e8a61=_0xac124e(_0x36e2b1['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x4e8a61[_0x125d9d(0x29f)])throw _0x4e8a61['error']instanceof Error?_0x4e8a61[_0x125d9d(0x2ab)]:new Error((_0x468a55=_0x4e8a61[_0x125d9d(0x2ab)])!=null?_0x468a55:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x36e2b1),this['_transformStateCache'](_0x36e2b1),this[_0x125d9d(0x3e8)](_0x20d8d2),this['_transformSelections'](_0x36e2b1),this['_syncEditingCollabCursor'](_0x36e2b1),this[_0x125d9d(0x3af)]();}}let Ne=class extends Ce{constructor(_0x7d0c19,_0x4f5643,_0x3c5d04,_0x2336ad,_0x4d68c4,_0x32046e,_0x3bab68,_0x1b72e7,_0x6ae890,_0x3dfd5f){var _0x5d7c0b=_0x597ab2;super(_0x7d0c19,_0x4f5643,null,[],_0x3c5d04,_0x3bab68,_0x32046e,_0x2336ad,_0x3dfd5f),N(this,_0x5d7c0b(0x46a),_0x5d7c0b(0x270)),(this[_0x5d7c0b(0x44a)]=_0x4d68c4,this['_logService']=_0x1b72e7,this[_0x5d7c0b(0x460)]=_0x6ae890,this[_0x5d7c0b(0x340)]=_0x3dfd5f);}[_0x597ab2(0x22b)](_0x48fa9c){var _0x514c38=_0x597ab2;const _0x42c2aa=this[_0x514c38(0x44a)][_0x514c38(0x29c)](oe,this[_0x514c38(0x1f6)],this['type'],[_0x48fa9c],this['_handler']);return _0x42c2aa[_0x514c38(0x30b)](),_0x42c2aa[_0x514c38(0x2ef)](),_0x42c2aa;}[_0x597ab2(0x224)](_0x2e8ee8){var _0x15b95e=_0x597ab2;if(this[_0x15b95e(0x236)](_0x2e8ee8))return this[_0x15b95e(0x44a)][_0x15b95e(0x29c)](ee,this[_0x15b95e(0x1f6)],this[_0x15b95e(0x2d8)],null,[],null,[_0x2e8ee8],this[_0x15b95e(0x1d2)]);try{const _0x9f45ef=this['_transformService'][_0x15b95e(0x3b0)](_0x2e8ee8,[nn]);if(_0x5ed9d4(_0x9f45ef)){const {c1Prime:_0x2845cc}=_0x9f45ef;return this['_executeRemoteChangeset'](_0x2845cc),this;}throw _0x9f45ef['error'];}catch(_0x20ac5e){return this[_0x15b95e(0x1fe)][_0x15b95e(0x2ab)](_0x20ac5e),this[_0x15b95e(0x451)](!0x1);}}['_onConflict'](_0x41f1d1){var _0x4b5320=_0x597ab2;return this[_0x4b5320(0x44a)][_0x4b5320(0x29c)](ue,this[_0x4b5320(0x1f6)],this[_0x4b5320(0x2d8)],null,[],this['_handler'],_0x41f1d1);}[_0x597ab2(0x272)](){var _0x1209af=_0x597ab2;throw new Error(_0x1209af(0x207));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x597ab2(0x1c5)](){return this;}[_0x597ab2(0x2dd)](){var _0x5d3fd7=_0x597ab2;return this[_0x5d3fd7(0x44a)][_0x5d3fd7(0x29c)](de,this[_0x5d3fd7(0x1f6)],this[_0x5d3fd7(0x2d8)],null,[],this[_0x5d3fd7(0x1d2)]);}[_0x597ab2(0x38c)](){return this;}[_0x597ab2(0x384)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x597ab2(0x1da)](){var _0x190697=_0x597ab2;const _0x317249=this[_0x190697(0x278)][_0x190697(0x20c)](this['unitID']);return this[_0x190697(0x1d2)]['onMissingChangesets']({'from':_0x317249,'to':0x0}),this[_0x190697(0x44a)][_0x190697(0x29c)](ee,this[_0x190697(0x1f6)],this['type'],null,[],null,[],this[_0x190697(0x1d2)]);}};Ne=Te([P(0x3,_0x5dc8b8(_0x19d21b)),P(0x4,_0x5dc8b8(_0x253837)),P(0x5,_0x28f227),P(0x6,_0x336840),P(0x7,_0x2dcdf5),P(0x8,_0x556cc7),P(0x9,_0x5d860b(J))],Ne);let oe=class extends Ce{constructor(_0x860379,_0xe2eba1,_0x5e22eb,_0x172f18,_0x28a0a7,_0x1f49a6,_0x42670c,_0x23b210,_0x485c5b,_0xc1a92d,_0x3d7d29,_0x1500e6,_0x5e95f9,_0x1e2e31){var _0x4eb09b=_0x597ab2;super(_0x860379,_0xe2eba1,null,_0x5e22eb,_0x172f18,_0x485c5b,_0x5e95f9,_0x1f49a6,_0x1e2e31),N(this,_0x4eb09b(0x46a),_0x4eb09b(0x3d6)),N(this,_0x4eb09b(0x46e),null),N(this,_0x4eb09b(0x400),null),(this[_0x4eb09b(0x44a)]=_0x28a0a7,this[_0x4eb09b(0x41e)]=_0x42670c,this[_0x4eb09b(0x1fe)]=_0x23b210,this[_0x4eb09b(0x252)]=_0xc1a92d,this[_0x4eb09b(0x460)]=_0x3d7d29,this[_0x4eb09b(0x3d9)]=_0x1500e6);}[_0x597ab2(0x22b)](_0x1266e7){var _0x385976=_0x597ab2;return this[_0x385976(0x2cb)][_0x385976(0x1e9)](_0x1266e7),this['_updateLocalCache'](),this;}[_0x597ab2(0x224)](_0x1a0248){var _0x1bae0e=_0x597ab2;if(this[_0x1bae0e(0x236)](_0x1a0248))return this[_0x1bae0e(0x344)](),this[_0x1bae0e(0x44a)][_0x1bae0e(0x29c)](ee,this['unitID'],this['type'],null,this[_0x1bae0e(0x2cb)],null,[_0x1a0248],this[_0x1bae0e(0x1d2)]);try{const _0x2dc8fb=this[_0x1bae0e(0x460)][_0x1bae0e(0x3b0)](_0x1a0248,this[_0x1bae0e(0x2cb)]);if(_0x5ed9d4(_0x2dc8fb)){const {c1Prime:_0x129128,m2Prime:_0x25b1c1}=_0x2dc8fb;this[_0x1bae0e(0x39a)](_0x129128);const _0x4b26ab=this[_0x1bae0e(0x44a)][_0x1bae0e(0x29c)](oe,this[_0x1bae0e(0x1f6)],this['type'],_0x25b1c1,this[_0x1bae0e(0x1d2)]);this[_0x1bae0e(0x344)]();const _0x4721e8=new Date()['getTime'](),_0x1553ec=this[_0x1bae0e(0x46e)]?Math[_0x1bae0e(0x23d)](this['_scheduleCompleteTimestamp']-_0x4721e8,0x0):this[_0x1bae0e(0x454)]();return _0x4b26ab[_0x1bae0e(0x30b)](_0x1553ec),_0x4b26ab;}throw _0x2dc8fb['error'];}catch(_0x5061b2){return this[_0x1bae0e(0x1fe)][_0x1bae0e(0x2ab)](_0x5061b2),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x260faf=_0x597ab2;throw new Error(_0x260faf(0x2a2));}[_0x597ab2(0x35b)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x597ab2(0x1c5)](){return this;}[_0x597ab2(0x2dd)](){var _0x215f04=_0x597ab2;return this[_0x215f04(0x344)](),this[_0x215f04(0x44a)][_0x215f04(0x29c)](de,this[_0x215f04(0x1f6)],this[_0x215f04(0x2d8)],null,this[_0x215f04(0x2cb)],this['_handler']);}[_0x597ab2(0x38c)](){return this;}[_0x597ab2(0x30b)](_0x656511){var _0x1a1c5c=_0x597ab2;const _0x6ef82c=_0x656511!=null?_0x656511:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x6ef82c,this[_0x1a1c5c(0x400)]=setTimeout(()=>{var _0x3d5627=_0x1a1c5c;this[_0x3d5627(0x344)]();let _0x4bb529=null;switch(this[_0x3d5627(0x2d8)]){case Q[_0x3d5627(0x1ed)]:{_0x4bb529=qt(this[_0x3d5627(0x2cb)],this[_0x3d5627(0x1f6)],this['_univerInstanceService'],this[_0x3d5627(0x278)],this[_0x3d5627(0x41e)]);break;}case Q[_0x3d5627(0x2db)]:{this['_pendingMutations'][_0x3d5627(0x275)](_0x42fd43=>_0x42fd43['id']===_0x1df105['id'])?_0x4bb529=rn(this['_pendingMutations'],this[_0x3d5627(0x1f6)],this[_0x3d5627(0x3d9)],this[_0x3d5627(0x278)],this[_0x3d5627(0x41e)]):_0x4bb529=qt(this[_0x3d5627(0x2cb)],this['unitID'],this[_0x3d5627(0x3d9)],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x3d5627(0x1ac)+this[_0x3d5627(0x2d8)]+_0x3d5627(0x2fd));}const {changeset:_0x22c3de,pendingMutations:_0x10c09b}=_0x4bb529;this['_handler']['onSendChangeset'](_0x22c3de);const _0x59a517=_0x10c09b['length']?this[_0x3d5627(0x44a)][_0x3d5627(0x29c)](ae,this[_0x3d5627(0x1f6)],this[_0x3d5627(0x2d8)],_0x22c3de,_0x10c09b,this[_0x3d5627(0x1d2)],void 0x0):this[_0x3d5627(0x44a)][_0x3d5627(0x29c)](le,this[_0x3d5627(0x1f6)],this['type'],_0x22c3de,this[_0x3d5627(0x1d2)]);_0x59a517[_0x3d5627(0x2ef)](),this[_0x3d5627(0x1d2)][_0x3d5627(0x1bd)](this,_0x59a517);},_0x6ef82c);}['_getSendChangesetTimeout'](){var _0x41306a=_0x597ab2,_0x4b65cb;const _0x2769e3=this[_0x41306a(0x252)][_0x41306a(0x2d1)](q);return(_0x4b65cb=_0x2769e3==null?void 0x0:_0x2769e3[_0x41306a(0x21c)])!=null?_0x4b65cb:Sr;}['resend'](){var _0x58884c=_0x597ab2;throw new Error(_0x58884c(0x2ec));}[_0x597ab2(0x344)](){var _0x5392cd=_0x597ab2;this[_0x5392cd(0x400)]!=null&&(clearTimeout(this[_0x5392cd(0x400)]),this[_0x5392cd(0x400)]=null);}['_onConflict'](_0x296f45){var _0x4dc750=_0x597ab2;return this[_0x4dc750(0x344)](),this[_0x4dc750(0x44a)][_0x4dc750(0x29c)](ue,this[_0x4dc750(0x1f6)],this[_0x4dc750(0x2d8)],null,this[_0x4dc750(0x2cb)],this[_0x4dc750(0x1d2)],_0x296f45);}};oe=Te([P(0x4,_0x5dc8b8(_0x253837)),P(0x5,_0x5dc8b8(_0x19d21b)),P(0x6,_0x5dc8b8(xe)),P(0x7,_0x2dcdf5),P(0x8,_0x336840),P(0x9,_0x52e356),P(0xa,_0x556cc7),P(0xb,_0x541816),P(0xc,_0x28f227),P(0xd,_0x5d860b(J))],oe);let le=class extends Ce{constructor(_0x1ebf8e,_0x1def7b,_0x1232c3,_0x454487,_0x103593,_0x3df528,_0x38dffb,_0x2ee0ba,_0x5b1c1e,_0x38d370,_0x3bc5c7){var _0x4ce1d9=_0x597ab2;super(_0x1ebf8e,_0x1def7b,_0x1232c3,[],_0x454487,_0x38dffb,_0x38d370,_0x3df528,_0x3bc5c7),N(this,_0x4ce1d9(0x46a),_0x4ce1d9(0x1be)),N(this,'_resendTimeout',0x0),N(this,_0x4ce1d9(0x405)),N(this,_0x4ce1d9(0x417)),(this['_injector']=_0x103593,this[_0x4ce1d9(0x1fe)]=_0x2ee0ba,this['_transformService']=_0x5b1c1e);}[_0x597ab2(0x22b)](_0x22a739){var _0x79498c=_0x597ab2;this['_clearScheduledTask']();const _0x2876b1=this[_0x79498c(0x44a)][_0x79498c(0x29c)](ae,this[_0x79498c(0x1f6)],this['type'],this[_0x79498c(0x268)],[_0x22a739],this['_handler'],this[_0x79498c(0x405)]);return _0x2876b1['_updateLocalCache'](),_0x2876b1;}[_0x597ab2(0x224)](_0x5c1957){var _0x2c568c=_0x597ab2;if(this[_0x2c568c(0x236)](_0x5c1957))return this['_clearScheduledTask'](),this[_0x2c568c(0x44a)]['createInstance'](ee,this[_0x2c568c(0x1f6)],this[_0x2c568c(0x2d8)],this[_0x2c568c(0x268)],[],null,[_0x5c1957],this['_handler']);try{const _0x1581f7=this['_transformService'][_0x2c568c(0x28c)]([_0x5c1957],[this[_0x2c568c(0x268)]],!0x1);if(_0x34649c(_0x1581f7)){const {c1Prime:_0x304f5d,c2Prime:_0xd63543}=_0x1581f7;this['_executeRemoteChangeset'](_0x304f5d[0x0]),_0xd63543[0x0][_0x2c568c(0x246)]=this['_getCurrentRevision'](),this[_0x2c568c(0x344)]();const _0x3dcae6=this[_0x2c568c(0x44a)]['createInstance'](le,this[_0x2c568c(0x1f6)],this[_0x2c568c(0x2d8)],_0xd63543[0x0],this[_0x2c568c(0x1d2)]);return _0x3dcae6[_0x2c568c(0x2ef)](),_0x3dcae6;}return this[_0x2c568c(0x451)](!0x1);}catch(_0x1b1898){return this[_0x2c568c(0x1fe)][_0x2c568c(0x2ab)](_0x1b1898),this[_0x2c568c(0x451)](!0x1);}}[_0x597ab2(0x272)](_0x28ea14){var _0x4a1562=_0x597ab2;this[_0x4a1562(0x344)]();const _0x4859b0=this[_0x4a1562(0x278)][_0x4a1562(0x20c)](this['unitID']);if(_0x28ea14[_0x4a1562(0x1cb)]<_0x4859b0-0x1)return this;if(this[_0x4a1562(0x236)](_0x28ea14))return this[_0x4a1562(0x44a)][_0x4a1562(0x29c)](ee,this['unitID'],this[_0x4a1562(0x2d8)],null,[],this[_0x4a1562(0x268)],[],this['_handler']);this[_0x4a1562(0x3af)]();const _0x3a03d8=this['_injector']['createInstance'](Ne,this[_0x4a1562(0x1f6)],this[_0x4a1562(0x2d8)],this[_0x4a1562(0x1d2)]);return _0x3a03d8[_0x4a1562(0x2ef)](),_0x3a03d8;}[_0x597ab2(0x35b)](_0x45f648){var _0x1a1874=_0x597ab2;return this[_0x1a1874(0x451)](!!(_0x45f648!=null&&_0x45f648[_0x1a1874(0x2f8)]));}[_0x597ab2(0x1c5)](_0x182e12){var _0x43fd54=_0x597ab2;return this[_0x43fd54(0x1aa)]>yi?this[_0x43fd54(0x2dd)]():(this[_0x43fd54(0x405)]=Ri(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x182e12[_0x43fd54(0x3ba)]}),this[_0x43fd54(0x417)]=this[_0x43fd54(0x405)][_0x43fd54(0x470)](({reqId:_0x3593ef,timeout:_0xeb5f0f})=>{this['_resendWithTimeout'](_0x3593ef,_0xeb5f0f);}),this);}['toggleOffline'](){var _0x2c58da=_0x597ab2;return this[_0x2c58da(0x344)](),this[_0x2c58da(0x44a)]['createInstance'](de,this[_0x2c58da(0x1f6)],this[_0x2c58da(0x2d8)],this[_0x2c58da(0x268)],[],this[_0x2c58da(0x1d2)]);}[_0x597ab2(0x38c)](){return this;}[_0x597ab2(0x384)](){var _0x42c3a1=_0x597ab2;this['_handler']['onSendChangeset'](this[_0x42c3a1(0x268)]);}[_0x597ab2(0x451)](_0x273e98){var _0x5b2d89=_0x597ab2;return this[_0x5b2d89(0x344)](),this[_0x5b2d89(0x44a)][_0x5b2d89(0x29c)](ue,this[_0x5b2d89(0x1f6)],this['type'],this[_0x5b2d89(0x268)],[],this[_0x5b2d89(0x1d2)],_0x273e98);}[_0x597ab2(0x20e)](_0x1d8b81,_0x13a0a2){var _0x1f4db6=_0x597ab2,_0x2ff858;_0x1d8b81===((_0x2ff858=this[_0x1f4db6(0x268)])==null?void 0x0:_0x2ff858[_0x1f4db6(0x3ba)])&&(this['resend'](),this[_0x1f4db6(0x1aa)]=_0x13a0a2===0x0?0x3e8:_0x13a0a2*0x2);}[_0x597ab2(0x344)](){var _0x5ebf27=_0x597ab2,_0x5b49f7;(_0x5b49f7=this['_sender'])==null||_0x5b49f7[_0x5ebf27(0x48e)](),this[_0x5ebf27(0x1aa)]=0x0;}};le=Te([P(0x4,_0x5dc8b8(_0x253837)),P(0x5,_0x5dc8b8(_0x19d21b)),P(0x6,_0x336840),P(0x7,_0x2dcdf5),P(0x8,_0x556cc7),P(0x9,_0x28f227),P(0xa,_0x5d860b(J))],le);let ae=class extends Ce{constructor(_0x562ec5,_0x493b24,_0x4e79a,_0x19002e,_0x137a4f,_0x3f4c60,_0x397dd4,_0xee57a0,_0xc56bc6,_0xe0be75,_0x4944e8,_0x553536,_0x2ad8ab){var _0x3cedf5=_0x597ab2;super(_0x562ec5,_0x493b24,_0x4e79a,_0x19002e,_0x137a4f,_0xc56bc6,_0x553536,_0xee57a0,_0x2ad8ab),N(this,'status',_0x3cedf5(0x3d1)),N(this,_0x3cedf5(0x1aa),0x0),N(this,_0x3cedf5(0x405)),N(this,_0x3cedf5(0x417)),(this[_0x3cedf5(0x44a)]=_0x397dd4,this['_logService']=_0xe0be75,this[_0x3cedf5(0x460)]=_0x4944e8,this['localCacheService']=_0x2ad8ab,_0x3f4c60&&(this[_0x3cedf5(0x405)]=_0x3f4c60,this['_sender']=this[_0x3cedf5(0x405)][_0x3cedf5(0x470)](({reqId:_0x12dd42,timeout:_0x3535c2})=>{this['_resendWithTimeout'](_0x12dd42,_0x3535c2);})));}['appendMutation'](_0x2f7068){var _0x310321=_0x597ab2;return this[_0x310321(0x2cb)][_0x310321(0x1e9)](_0x2f7068),this;}[_0x597ab2(0x224)](_0x58f3d6){var _0x48ae6c=_0x597ab2;if(this[_0x48ae6c(0x236)](_0x58f3d6))return this[_0x48ae6c(0x344)](),this['_injector'][_0x48ae6c(0x29c)](ee,this[_0x48ae6c(0x1f6)],this[_0x48ae6c(0x2d8)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x58f3d6],this[_0x48ae6c(0x1d2)]);try{const _0x2b82eb=this[_0x48ae6c(0x460)][_0x48ae6c(0x28c)]([_0x58f3d6],[this['_awaitingChangeset']],!0x1);if(_0x34649c(_0x2b82eb)){const {c1Prime:_0x23fef6,c2Prime:_0xa1e3a5}=_0x2b82eb,_0x3c328c=this['_transformService'][_0x48ae6c(0x3b0)](_0x23fef6[0x0],this[_0x48ae6c(0x2cb)]);if(_0x5ed9d4(_0x3c328c)){const {c1Prime:_0x4f6d09,m2Prime:_0x3e0134}=_0x3c328c;return this[_0x48ae6c(0x39a)](_0x4f6d09),_0xa1e3a5[0x0][_0x48ae6c(0x246)]=this['_getCurrentRevision'](),this[_0x48ae6c(0x344)](),this[_0x48ae6c(0x44a)][_0x48ae6c(0x29c)](ae,this[_0x48ae6c(0x1f6)],this[_0x48ae6c(0x2d8)],_0xa1e3a5[0x0],_0x3e0134,this[_0x48ae6c(0x1d2)],void 0x0);}throw _0x3c328c[_0x48ae6c(0x2ab)];}throw _0x2b82eb[_0x48ae6c(0x2ab)];}catch(_0x3bde51){return this['_logService']['error'](_0x3bde51),this['_onConflict'](!0x1);}}[_0x597ab2(0x272)](_0x394bc0){var _0x4b3233=_0x597ab2;if(this[_0x4b3233(0x344)](),this[_0x4b3233(0x236)](_0x394bc0))return this[_0x4b3233(0x44a)]['createInstance'](ee,this[_0x4b3233(0x1f6)],this[_0x4b3233(0x2d8)],null,this[_0x4b3233(0x2cb)],this[_0x4b3233(0x268)],[],this[_0x4b3233(0x1d2)]);this['_incrementRevisionNumber']();const _0x3dc4ef=this['_injector']['createInstance'](oe,this[_0x4b3233(0x1f6)],this[_0x4b3233(0x2d8)],this[_0x4b3233(0x2cb)],this[_0x4b3233(0x1d2)]);return _0x3dc4ef[_0x4b3233(0x30b)](),_0x3dc4ef[_0x4b3233(0x2ef)](),_0x3dc4ef;}[_0x597ab2(0x35b)](_0x269c30){var _0xeff45e=_0x597ab2;return this[_0xeff45e(0x451)](!!(_0x269c30!=null&&_0x269c30[_0xeff45e(0x2f8)]));}[_0x597ab2(0x1c5)](_0x4643dd){var _0x4c4774=_0x597ab2;return this['_resendTimeout']>yi?this[_0x4c4774(0x2dd)]():(this[_0x4c4774(0x405)]=Ri(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x4643dd['reqId']}),this[_0x4c4774(0x417)]=this[_0x4c4774(0x405)][_0x4c4774(0x470)](({reqId:_0x5426b7,timeout:_0x26d624})=>{var _0x169102=_0x4c4774;this[_0x169102(0x20e)](_0x5426b7,_0x26d624);}),this);}[_0x597ab2(0x2dd)](){var _0x203156=_0x597ab2;return this[_0x203156(0x344)](),this['_injector']['createInstance'](de,this[_0x203156(0x1f6)],this[_0x203156(0x2d8)],this[_0x203156(0x268)],this['_pendingMutations'],this[_0x203156(0x1d2)]);}[_0x597ab2(0x38c)](){return this;}[_0x597ab2(0x384)](){var _0x2391f2=_0x597ab2;this['_handler'][_0x2391f2(0x25f)](this['_awaitingChangeset']);}[_0x597ab2(0x451)](_0x34ec5b){var _0x4fff30=_0x597ab2;return this[_0x4fff30(0x344)](),this['_injector'][_0x4fff30(0x29c)](ue,this[_0x4fff30(0x1f6)],this[_0x4fff30(0x2d8)],null,this['_pendingMutations'],this['_handler'],_0x34ec5b);}[_0x597ab2(0x20e)](_0x34ebb6,_0x1691c6){var _0x2845c6=_0x597ab2,_0x13b6bb;_0x34ebb6===((_0x13b6bb=this[_0x2845c6(0x268)])==null?void 0x0:_0x13b6bb[_0x2845c6(0x3ba)])&&(this['resend'](),this['_resendTimeout']=_0x1691c6===0x0?0x3e8:_0x1691c6*0x2);}[_0x597ab2(0x344)](){var _0x3bce87=_0x597ab2,_0x58db1e;(_0x58db1e=this[_0x3bce87(0x417)])==null||_0x58db1e[_0x3bce87(0x48e)](),this[_0x3bce87(0x1aa)]=0x0;}};ae=Te([P(0x6,_0x5dc8b8(_0x253837)),P(0x7,_0x5dc8b8(_0x19d21b)),P(0x8,_0x336840),P(0x9,_0x2dcdf5),P(0xa,_0x556cc7),P(0xb,_0x28f227),P(0xc,_0x5d860b(J))],ae);let ue=class extends Ce{constructor(_0x5dbe69,_0x372f42,_0x5ced68,_0x2c71dd,_0x13d34f,_0x344bc9=!0x1,_0x3c8048,_0x2ff2fd,_0x298048,_0xa03326,_0x497ee8,_0x4dc0a7,_0x2d53fb){var _0x3ad6b8=_0x597ab2;super(_0x5dbe69,_0x372f42,_0x5ced68,_0x2c71dd,_0x13d34f,_0x2ff2fd,_0x298048,_0xa03326,_0x2d53fb),N(this,_0x3ad6b8(0x46a),'conflict'),(this[_0x3ad6b8(0x34a)]=_0x344bc9,this[_0x3ad6b8(0x366)]=_0x3c8048,this[_0x3ad6b8(0x258)]=_0x497ee8,this[_0x3ad6b8(0x352)]=_0x4dc0a7,this[_0x3ad6b8(0x340)]=_0x2d53fb,this['_showConflictNotification'](),this[_0x3ad6b8(0x1ae)](),this[_0x3ad6b8(0x20a)]());}[_0x597ab2(0x22b)](){return this;}[_0x597ab2(0x224)](){return this;}['onRemoteAck'](){return this;}[_0x597ab2(0x35b)](){return this;}[_0x597ab2(0x1c5)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x597ab2(0x384)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x597ab2(0x1ae)](){var _0x3a6e6f=_0x597ab2,_0x215a8e;(_0x215a8e=this[_0x3a6e6f(0x3e9)])==null||_0x215a8e['updateOfflineData'](this[_0x3a6e6f(0x1f6)],this[_0x3a6e6f(0x2d8)],null,[]);}[_0x597ab2(0x37f)](){var _0x107355=_0x597ab2;this[_0x107355(0x34a)]?this['_collaborationUIEventService'][_0x107355(0x3aa)]({'id':se['PERMISSION_DENIED']}):this[_0x107355(0x352)][_0x107355(0x3aa)]({'id':se[_0x107355(0x237)]});}[_0x597ab2(0x20a)](){var _0x29d4e7=_0x597ab2;this[_0x29d4e7(0x366)][_0x29d4e7(0x418)](new _0x2025bf(this['unitID'])['id'],!0x1);}};ue=Te([P(0x6,_0x5dc8b8(_0x2fef49)),P(0x7,_0x336840),P(0x8,_0x28f227),P(0x9,_0x5dc8b8(_0x19d21b)),P(0xa,_0x5dc8b8(_0x36508b)),P(0xb,_0x5dc8b8(pe)),P(0xc,_0x5d860b(J))],ue);let de=class extends Ce{constructor(_0x581f37,_0x537f00,_0x5006ff,_0x127e3f,_0x2e110b,_0x1ad976,_0x284ce5,_0x2c20b4,_0x1122a7,_0x74e174){var _0x20800b=_0x597ab2;super(_0x581f37,_0x537f00,_0x5006ff,_0x127e3f,_0x2e110b,_0x2c20b4,_0x1122a7,_0x284ce5,_0x74e174),N(this,_0x20800b(0x46a),_0x20800b(0x2b0)),this[_0x20800b(0x44a)]=_0x1ad976;}[_0x597ab2(0x22b)](_0x3be6f7){var _0x48ad0e=_0x597ab2;return this[_0x48ad0e(0x2cb)][_0x48ad0e(0x1e9)](_0x3be6f7),this[_0x48ad0e(0x2ef)](),this;}[_0x597ab2(0x224)](_0x285369){var _0x4b596a=_0x597ab2;throw new Error(_0x4b596a(0x247));}['onRemoteAck'](){var _0x19989c=_0x597ab2;throw new Error(_0x19989c(0x3dc));}[_0x597ab2(0x35b)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x597ab2(0x1c5)](){return this;}['toggleOffline'](){return this;}[_0x597ab2(0x38c)](){const {_injector:_0x4bdb84,_pendingMutations:_0x4cf7a2,_awaitingChangeset:_0x31066f,unitID:_0xbdbbe2,_handler:_0x4288be,type:_0x51dc21}=this,_0xd1b3bb=Oi(_0x4bdb84,_0xbdbbe2,_0x51dc21,_0x31066f,_0x4cf7a2,_0x4288be);return _0xd1b3bb instanceof oe?_0xd1b3bb['_schedule']():(_0xd1b3bb instanceof ae||_0xd1b3bb instanceof le)&&_0xd1b3bb['resend'](),_0xd1b3bb;}['resend'](){var _0x46fabb=_0x597ab2;throw new Error(_0x46fabb(0x34b));}};de=Te([P(0x5,_0x5dc8b8(_0x253837)),P(0x6,_0x5dc8b8(_0x19d21b)),P(0x7,_0x336840),P(0x8,_0x28f227),P(0x9,_0x5d860b(J))],de);let ee=class extends Ce{constructor(_0x38bf78,_0x1b9097,_0x4d6300,_0xb65a7e,_0xf2777,_0x21a226,_0x46a1ab,_0x43af31,_0x1f36c7,_0x3af36f,_0x222250,_0x5d2150,_0x316ba1,_0x4816cd){var _0xc37f20=_0x597ab2;super(_0x38bf78,_0x1b9097,_0x4d6300,_0xb65a7e,_0x46a1ab,_0x222250,_0x5d2150,_0x1f36c7,_0x4816cd),N(this,_0xc37f20(0x46a),_0xc37f20(0x410)),(this[_0xc37f20(0x311)]=_0xf2777,this[_0xc37f20(0x404)]=_0x21a226,this['_injector']=_0x43af31,this[_0xc37f20(0x1fe)]=_0x3af36f,this[_0xc37f20(0x460)]=_0x316ba1,this['localCacheService']=_0x4816cd);}[_0x597ab2(0x21a)](_0x24aedf){var _0x277f47=_0x597ab2;try{const _0x3fcb8b=[..._0x24aedf,...this[_0x277f47(0x404)]],_0x3b6825=[this[_0x277f47(0x268)]||this['_acknowledgedAwaitingChangeset']][_0x277f47(0x251)](_0x4683b3=>!!_0x4683b3);let _0x119d17,_0x1bc8fb;if(_0x3b6825[_0x277f47(0x419)]){const _0x189d09=this[_0x277f47(0x460)][_0x277f47(0x28c)](_0x3fcb8b,_0x3b6825,!0x1);if(!_0x34649c(_0x189d09))throw _0x189d09[_0x277f47(0x2ab)];_0x119d17=_0x189d09['c1Prime'],_0x1bc8fb=_0x189d09[_0x277f47(0x39d)];}else _0x119d17=_0x3fcb8b,_0x1bc8fb=[];let _0x5be36a=this[_0x277f47(0x2cb)];_0x119d17[_0x277f47(0x1ff)](_0x1e72e6=>{var _0x23b1fe=_0x277f47;let _0x59c188;if(_0x5be36a[_0x23b1fe(0x419)]){const _0x39ec42=this[_0x23b1fe(0x460)][_0x23b1fe(0x3b0)](_0x1e72e6,_0x5be36a);if(!_0x5ed9d4(_0x39ec42))throw _0x39ec42[_0x23b1fe(0x2ab)];_0x59c188=_0x39ec42['c1Prime'],_0x5be36a=_0x39ec42[_0x23b1fe(0x2b1)];}else _0x59c188=_0x1e72e6;this['_executeRemoteChangeset'](_0x59c188);}),this[_0x277f47(0x311)]&&this[_0x277f47(0x3af)](),this[_0x277f47(0x268)]&&_0x1bc8fb[_0x277f47(0x419)]&&(_0x1bc8fb[0x0][_0x277f47(0x246)]=this['_getCurrentRevision']());let _0x4dffa1;if(this[_0x277f47(0x268)]&&_0x5be36a[_0x277f47(0x419)]!==0x0)_0x4dffa1=this[_0x277f47(0x44a)][_0x277f47(0x29c)](ae,this[_0x277f47(0x1f6)],this[_0x277f47(0x2d8)],_0x1bc8fb[0x0],_0x5be36a,this[_0x277f47(0x1d2)],void 0x0);else{if(this[_0x277f47(0x268)]&&_0x5be36a[_0x277f47(0x419)]===0x0)_0x1bc8fb[0x0]['baseRev']=this[_0x277f47(0x485)](),_0x4dffa1=this[_0x277f47(0x44a)]['createInstance'](le,this[_0x277f47(0x1f6)],this['type'],_0x1bc8fb[0x0],this[_0x277f47(0x1d2)]);else{if(_0x5be36a[_0x277f47(0x419)]!==0x0){const _0x1979e6=this[_0x277f47(0x44a)][_0x277f47(0x29c)](oe,this['unitID'],this[_0x277f47(0x2d8)],_0x5be36a,this[_0x277f47(0x1d2)]);_0x1979e6[_0x277f47(0x30b)](),_0x4dffa1=_0x1979e6;}else _0x4dffa1=this[_0x277f47(0x44a)][_0x277f47(0x29c)](Ne,this[_0x277f47(0x1f6)],this[_0x277f47(0x2d8)],this[_0x277f47(0x1d2)]);}}return _0x4dffa1['_updateLocalCache'](),_0x4dffa1;}catch(_0x4227f1){return this['_logService'][_0x277f47(0x2ab)](_0x277f47(0x408),_0x277f47(0x2af),_0x4227f1),this[_0x277f47(0x44a)][_0x277f47(0x29c)](ue,this[_0x277f47(0x1f6)],this[_0x277f47(0x2d8)],this[_0x277f47(0x268)],this[_0x277f47(0x2cb)],this[_0x277f47(0x1d2)],!0x1);}}[_0x597ab2(0x384)](){var _0x18b353=_0x597ab2;throw new Error(_0x18b353(0x3ff));}[_0x597ab2(0x22b)](_0x5269a9){var _0x31ee24=_0x597ab2;return this[_0x31ee24(0x2cb)]['push'](_0x5269a9),this;}[_0x597ab2(0x224)](_0x8013c6){var _0x259df0=_0x597ab2;return this[_0x259df0(0x404)][_0x259df0(0x1e9)](_0x8013c6),this;}[_0x597ab2(0x272)](_0x130918){var _0x4b17d1=_0x597ab2;if(this['_awaitingChangeset'])return this[_0x4b17d1(0x311)]=this[_0x4b17d1(0x268)],this[_0x4b17d1(0x268)]=null,this;throw new Error(_0x4b17d1(0x40b));}['onRemoteRej'](_0x22b3d1){var _0x226a2e=_0x597ab2;return this[_0x226a2e(0x451)](!!(_0x22b3d1!=null&&_0x22b3d1[_0x226a2e(0x2f8)]));}[_0x597ab2(0x1c5)](){return this;}['toggleOffline'](){var _0x5b44b1=_0x597ab2;return this[_0x5b44b1(0x44a)][_0x5b44b1(0x29c)](de,this[_0x5b44b1(0x1f6)],this['type'],this[_0x5b44b1(0x268)],this[_0x5b44b1(0x2cb)],this[_0x5b44b1(0x1d2)]);}['toggleOnline'](){return this;}['_onConflict'](_0x2931d6){var _0x3cea1c=_0x597ab2;return this[_0x3cea1c(0x44a)][_0x3cea1c(0x29c)](ue,this[_0x3cea1c(0x1f6)],this[_0x3cea1c(0x2d8)],this['_awaitingChangeset'],this[_0x3cea1c(0x2cb)],this[_0x3cea1c(0x1d2)],_0x2931d6);}};function _0x5a0e(_0x3c37f9,_0x45e988){var _0x3e337e=_0x3e33();return _0x5a0e=function(_0x5a0e62,_0x5e3712){_0x5a0e62=_0x5a0e62-0x19a;var _0x290771=_0x3e337e[_0x5a0e62];return _0x290771;},_0x5a0e(_0x3c37f9,_0x45e988);}ee=Te([P(0x7,_0x5dc8b8(_0x253837)),P(0x8,_0x5dc8b8(_0x19d21b)),P(0x9,_0x2dcdf5),P(0xa,_0x336840),P(0xb,_0x28f227),P(0xc,_0x556cc7),P(0xd,_0x5d860b(J))],ee);function Oi(_0x456c02,_0x5edc34,_0x161f98,_0x4b585f,_0x32bd17,_0x4aa0a4){var _0xea8ddf=_0x597ab2;return _0x4b585f&&_0x32bd17[_0xea8ddf(0x419)]?_0x456c02[_0xea8ddf(0x29c)](ae,_0x5edc34,_0x161f98,_0x4b585f,_0x32bd17,_0x4aa0a4,void 0x0):_0x4b585f?_0x456c02['createInstance'](le,_0x5edc34,_0x161f98,_0x4b585f,_0x4aa0a4):_0x32bd17[_0xea8ddf(0x419)]?_0x456c02['createInstance'](oe,_0x5edc34,_0x161f98,_0x32bd17,_0x4aa0a4):_0x456c02['createInstance'](Ne,_0x5edc34,_0x161f98,_0x4aa0a4);}var on=Object[_0x597ab2(0x3e5)],xt=(_0x4d3633,_0x515e64,_0x5f06a2,_0x2f7214)=>{for(var _0x3b7a9e=_0x2f7214>0x1?void 0x0:_0x2f7214?on(_0x515e64,_0x5f06a2):_0x515e64,_0x406468=_0x4d3633['length']-0x1,_0x54d9ea;_0x406468>=0x0;_0x406468--)(_0x54d9ea=_0x4d3633[_0x406468])&&(_0x3b7a9e=_0x54d9ea(_0x3b7a9e)||_0x3b7a9e);return _0x3b7a9e;},H=(_0x13b55a,_0xac8b60)=>(_0x1b491c,_0x2ec928)=>_0xac8b60(_0x1b491c,_0x2ec928,_0x13b55a);let rt=class extends _0x10e9f1{constructor(_0x87b1aa,_0x53edb7,_0x44b3b4,_0x36c148,_0x41588c,_0x8f1e30,_0x305670,_0x1fa933,_0x36986b,_0x3e3f63,_0x4caca6,_0x4c5d8e,_0x4c5174){var _0x261024=_0x597ab2;super(),N(this,_0x261024(0x2e8),new _0x103965(null)),N(this,'state$',this[_0x261024(0x2e8)][_0x261024(0x2e7)]()),N(this,'_state'),N(this,_0x261024(0x213),!0x1),N(this,'_changesetSessionId',''),N(this,_0x261024(0x43e),0x0),N(this,_0x261024(0x3c7),this[_0x261024(0x44c)][_0x261024(0x218)](_0x3d9c38(_0x368ab5=>_0x368ab5?_0x368ab5[_0x261024(0x46a)]:bi[_0x261024(0x46b)]),_0x523045(0x1))),N(this,_0x261024(0x1c2),!0x1),N(this,_0x261024(0x2cd),[]),(this[_0x261024(0x1f6)]=_0x87b1aa,this['session']=_0x53edb7,this[_0x261024(0x1f1)]=_0x44b3b4,this[_0x261024(0x44a)]=_0x36c148,this['_compressMutationService']=_0x41588c,this[_0x261024(0x258)]=_0x8f1e30,this[_0x261024(0x278)]=_0x305670,this['_eventService']=_0x1fa933,this[_0x261024(0x1fe)]=_0x36986b,this['_commandService']=_0x3e3f63,this[_0x261024(0x366)]=_0x4caca6,this[_0x261024(0x421)]=_0x4c5d8e,this['_localCacheService']=_0x4c5174);}get['state'](){var _0xce14ed=_0x597ab2;return this[_0xce14ed(0x3da)];}async[_0x597ab2(0x3d2)](){var _0x89bba9=_0x597ab2;if(this[_0x89bba9(0x1b9)])throw new Error(_0x89bba9(0x360));await this['_init']();}[_0x597ab2(0x431)](){return this['_collaborationPaused']=!0x0,_0x201b35(()=>{var _0x3fd3e3=_0x5a0e;this['_collaborationPaused']=!0x1,this[_0x3fd3e3(0x24a)]();});}[_0x597ab2(0x387)](_0x3e858c){var _0x204961=_0x597ab2;this[_0x204961(0x23e)](_0x3e858c);}[_0x597ab2(0x423)](_0x1c5155){var _0x1289bf=_0x597ab2;this['_state']=_0x1c5155,this[_0x1289bf(0x2e8)][_0x1289bf(0x301)](_0x1c5155);}async[_0x597ab2(0x21d)](){var _0x3240b9=_0x597ab2,_0x1effe1;this[_0x3240b9(0x423)](await this[_0x3240b9(0x26e)]()),this['_singleActiveUnitService']&&((_0x1effe1=this[_0x3240b9(0x421)])==null||_0x1effe1['editingUnit'](this['unitID']),this['disposeWithMe'](this[_0x3240b9(0x421)][_0x3240b9(0x303)](this[_0x3240b9(0x1f6)])[_0x3240b9(0x470)](_0x145860=>{var _0x4cdebe=_0x3240b9;this[_0x4cdebe(0x1fe)]['debug'](_0x4cdebe(0x35f),_0x4cdebe(0x383),_0x145860),_0x145860===Ci['OTHER_CLIENTS_EDITING']?(this[_0x4cdebe(0x372)]['emitEvent']({'id':se[_0x4cdebe(0x2a7)]}),this[_0x4cdebe(0x366)][_0x4cdebe(0x418)](new _0x2025bf(this[_0x4cdebe(0x1f6)])['id'],!0x1),this[_0x4cdebe(0x366)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x4cdebe(0x418)](new _0x2025bf(this[_0x4cdebe(0x1f6)])['id'],!0x0),this[_0x4cdebe(0x366)][_0x4cdebe(0x293)](!0x0));})));let _0x5388cb=!0x1;return this['disposeWithMe'](this['session'][_0x3240b9(0x364)]['subscribe'](_0x27564a=>{var _0x2df7da=_0x3240b9;_0x27564a===Ee[_0x2df7da(0x44d)]?this[_0x2df7da(0x1b5)](_0x5388cb):_0x27564a===Ee['OFFLINE']&&(_0x5388cb=!0x0,this['_toggleOffline']());})),this[_0x3240b9(0x420)](this[_0x3240b9(0x2c5)]['event$'][_0x3240b9(0x470)](_0x3a7182=>{var _0x40fad6=_0x3240b9;try{switch(_0x3a7182[_0x40fad6(0x210)]){case _0x136edc[_0x40fad6(0x471)]:{this['_onRemoteChangeset'](_0x1dbd96(_0x3a7182[_0x40fad6(0x1a6)]));break;}case _0x136edc[_0x40fad6(0x43c)]:{this[_0x40fad6(0x25a)](_0x3a7182['data']);break;}case _0x136edc[_0x40fad6(0x1f4)]:{this[_0x40fad6(0x2aa)]();break;}case _0x136edc[_0x40fad6(0x356)]:{this[_0x40fad6(0x368)](_0x3a7182[_0x40fad6(0x1a6)]);break;}case _0x136edc['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x3a7182[_0x40fad6(0x1a6)]['changesets'][_0x40fad6(0x376)](_0x4edb3f=>_0x1dbd96(_0x4edb3f)));break;}case _0x136edc[_0x40fad6(0x3dd)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x136edc['UNISCRIPT_RUN']:break;}}catch(_0x52529f){throw console['error'](_0x40fad6(0x359),_0x52529f),_0x52529f;}})),this[_0x3240b9(0x3da)];}['_unlockTransition'](){var _0xf68ad=_0x597ab2;this[_0xf68ad(0x1c2)]=!0x1;}[_0x597ab2(0x373)](){var _0x330e1c=_0x597ab2;if(this[_0x330e1c(0x1c2)])throw new Error(_0x330e1c(0x3ed));this[_0x330e1c(0x1c2)]=!0x0;}[_0x597ab2(0x23e)](_0x529caf){var _0x5ad5f3=_0x597ab2;this[_0x5ad5f3(0x373)](),this[_0x5ad5f3(0x423)](this[_0x5ad5f3(0x3da)][_0x5ad5f3(0x22b)](_0x529caf)),this['_unlockTransition']();}[_0x597ab2(0x325)](_0x1401eb){var _0xf8a1f9=_0x597ab2;if(!(_0x1401eb[_0xf8a1f9(0x1cb)]<=this[_0xf8a1f9(0x278)][_0xf8a1f9(0x20c)](this[_0xf8a1f9(0x1f6)]))){if(this['_collaborationPaused']){this[_0xf8a1f9(0x2cd)]['push'](_0x1401eb);return;}this[_0xf8a1f9(0x1cf)](_0x1401eb);}}[_0x597ab2(0x24a)](){var _0x258c4e=_0x597ab2;this[_0x258c4e(0x2cd)][_0x258c4e(0x1ff)](_0xeceda7=>this[_0x258c4e(0x1cf)](_0xeceda7)),this['_remoteChangesetQueue']=[];}[_0x597ab2(0x1cf)](_0x394da5){var _0x4fd31c=_0x597ab2;const _0x2c8d62=this['_compressMutationService'][_0x4fd31c(0x38b)][_0x4fd31c(0x1b6)](this[_0x4fd31c(0x3c5)][_0x4fd31c(0x38b)]['getInterceptPoints']()[_0x4fd31c(0x2d0)])(_0x394da5[_0x4fd31c(0x3d4)],null)||_0x394da5[_0x4fd31c(0x3d4)],_0x5110d8={..._0x394da5,'mutations':_0x2c8d62};this[_0x4fd31c(0x373)](),this[_0x4fd31c(0x423)](this[_0x4fd31c(0x3da)]['onRemoteChangeset'](_0x5110d8)),this['_unlockTransition']();}[_0x597ab2(0x25a)](_0x5798c0){var _0x5883d2=_0x597ab2;this[_0x5883d2(0x373)](),this[_0x5883d2(0x423)](this[_0x5883d2(0x3da)]['onRemoteAck'](_0x5798c0)),this['_unlockTransition']();}['_onRemoteRejected'](_0x4ceb1a){var _0x43f197=_0x597ab2;this['_lockTransition'](),this[_0x43f197(0x423)](this[_0x43f197(0x3da)][_0x43f197(0x35b)](_0x4ceb1a)),this['_unlockTransition']();}[_0x597ab2(0x368)](_0x510a5b){var _0x191723=_0x597ab2;this[_0x191723(0x373)](),this[_0x191723(0x423)](this[_0x191723(0x3da)]['onRemoteRetry'](_0x510a5b)),this[_0x191723(0x343)]();}['_onFetchMissResult'](_0x289c0a){var _0x409288=_0x597ab2;if(!(this[_0x409288(0x3da)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3e6873=_0x289c0a[_0x409288(0x376)](_0x412e54=>{var _0x131241=_0x409288;const _0x2d1577=this[_0x131241(0x3c5)][_0x131241(0x38b)]['fetchThroughInterceptors'](this[_0x131241(0x3c5)]['interceptor'][_0x131241(0x32c)]()[_0x131241(0x2d0)])(_0x412e54[_0x131241(0x3d4)],null)||_0x412e54[_0x131241(0x3d4)];return{..._0x412e54,'mutations':_0x2d1577};});this['_lockTransition'](),this[_0x409288(0x423)](this[_0x409288(0x3da)][_0x409288(0x21a)](_0x3e6873)),this[_0x409288(0x343)]();}[_0x597ab2(0x442)](){var _0x51fb4e=_0x597ab2;this['_lockTransition'](),this[_0x51fb4e(0x423)](this[_0x51fb4e(0x3da)][_0x51fb4e(0x2dd)]()),this[_0x51fb4e(0x343)]();}[_0x597ab2(0x1b5)](_0x5d5203=!0x1){var _0x1416cd=_0x597ab2;this[_0x1416cd(0x373)](),this[_0x1416cd(0x423)](this[_0x1416cd(0x3da)][_0x1416cd(0x38c)]()),this[_0x1416cd(0x343)]();const _0x5da26f=this[_0x1416cd(0x3da)];_0x5d5203&&_0x5da26f instanceof Ne&&(this[_0x1416cd(0x373)](),this[_0x1416cd(0x423)](_0x5da26f[_0x1416cd(0x1da)]()),this['_unlockTransition']());}async[_0x597ab2(0x26e)](){return new Promise(_0x4f53d2=>{var _0x4bf943=_0x5a0e;this['session'][_0x4bf943(0x364)][_0x4bf943(0x218)](_0xec6115(0x1))[_0x4bf943(0x470)](async _0x3506d0=>{var _0x2b9857=_0x4bf943;_0x4f53d2(await this[_0x2b9857(0x3d0)](_0x3506d0===Ee[_0x2b9857(0x44d)]));});});}[_0x597ab2(0x47b)](){var _0x22b35c=_0x597ab2;const _0x25b3b9=this[_0x22b35c(0x1f6)];return{'onStateChange':(_0x2d9369,_0xcfbae6)=>{var _0x58264a=_0x22b35c;if(_0x2d9369!==this[_0x58264a(0x3da)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x2d9369[_0x58264a(0x46a)]+_0x58264a(0x3b4)+_0xcfbae6[_0x58264a(0x46a)]+_0x58264a(0x316)+this[_0x58264a(0x3da)]['status']);this[_0x58264a(0x423)](_0xcfbae6);},'onSendChangeset':_0x44628c=>{var _0xd29f1=_0x22b35c;_0x44628c[_0xd29f1(0x232)]||(_0x44628c[_0xd29f1(0x232)]=this[_0xd29f1(0x288)],_0x44628c[_0xd29f1(0x3ba)]=++this[_0xd29f1(0x43e)]);const _0x2a3986={'eventID':_0x136edc['SUBMIT_CHANGESET'],'data':{'unitID':_0x44628c[_0xd29f1(0x1f6)],'unitType':this[_0xd29f1(0x1f1)],'changeset':_0x44628c,'memberID':this[_0xd29f1(0x2c5)]['getMemberID']()}};this[_0xd29f1(0x2c5)][_0xd29f1(0x3f6)](_0x2a3986,this[_0xd29f1(0x1f6)]);},'onMissingChangesets':({from:_0x476600,to:_0x411a70})=>{var _0x1bd78c=_0x22b35c;this[_0x1bd78c(0x1fe)]['debug'](_0x1bd78c(0x35f),_0x1bd78c(0x2fc)+_0x476600+_0x1bd78c(0x2b8)+_0x411a70);const _0x5930ba={'eventID':_0x136edc[_0x1bd78c(0x475)],'data':{'unitID':_0x25b3b9,'unitType':this[_0x1bd78c(0x1f1)],'from':_0x476600,'to':_0x411a70}};this[_0x1bd78c(0x2c5)][_0x1bd78c(0x3f6)](_0x5930ba,this['unitID']);}};}async[_0x597ab2(0x3d0)](_0x534b52){var _0x5d72ad=_0x597ab2,_0xfb1af9,_0x52c17e,_0x26074e;const _0x40c147=await((_0xfb1af9=this['_localCacheService'])==null?void 0x0:_0xfb1af9['loadOfflineData'](this[_0x5d72ad(0x1f6)])),_0x31f573=(_0x52c17e=_0x40c147==null?void 0x0:_0x40c147[_0x5d72ad(0x3d4)])!=null?_0x52c17e:[],_0x21d516=(_0x26074e=_0x40c147==null?void 0x0:_0x40c147['awaitingChangeset'])!=null?_0x26074e:null,_0x25f42e=!!(_0x21d516!=null&&_0x21d516[_0x5d72ad(0x232)])&&!!(_0x21d516!=null&&_0x21d516['reqId']);this[_0x5d72ad(0x288)]=_0x25f42e?_0x21d516[_0x5d72ad(0x232)]:Xr(),this[_0x5d72ad(0x43e)]=_0x25f42e?_0x21d516[_0x5d72ad(0x3ba)]:0x0;const _0x5dbe89=this['unitID'];try{this[_0x5d72ad(0x1af)](_0x21d516,_0x31f573);}catch(_0x5648d2){this[_0x5d72ad(0x1fe)][_0x5d72ad(0x2ab)](_0x5648d2);}const _0x2bcdf1=this[_0x5d72ad(0x47b)]();if(_0x534b52){const _0x4d75dd=Oi(this[_0x5d72ad(0x44a)],_0x5dbe89,this[_0x5d72ad(0x1f1)],_0x21d516,_0x31f573,_0x2bcdf1);return _0x4d75dd instanceof oe?_0x4d75dd['_schedule']():(_0x4d75dd instanceof ae||_0x4d75dd instanceof le)&&_0x4d75dd[_0x5d72ad(0x384)](),_0x4d75dd;}return this[_0x5d72ad(0x44a)][_0x5d72ad(0x29c)](de,_0x5dbe89,this['_type'],_0x21d516,_0x31f573,_0x2bcdf1);}['_replayCachedMutations'](_0x7bb63b,_0x2ba3b2){var _0x92cf9b=_0x597ab2,_0x3de5b5,_0x4d6204;const _0x598fa0=this[_0x92cf9b(0x3c5)][_0x92cf9b(0x38b)]['fetchThroughInterceptors'](this[_0x92cf9b(0x3c5)][_0x92cf9b(0x38b)][_0x92cf9b(0x32c)]()['COMPRESS_MUTATION_APPLY']);(_0x3de5b5=_0x598fa0((_0x7bb63b==null?void 0x0:_0x7bb63b[_0x92cf9b(0x3d4)])||[],null))==null||_0x3de5b5[_0x92cf9b(0x1ff)](_0x3ae631=>this[_0x92cf9b(0x433)][_0x92cf9b(0x21b)](_0x3ae631['id'],_0x3ae631[_0x92cf9b(0x388)])),(_0x4d6204=_0x598fa0(_0x2ba3b2||[],null))==null||_0x4d6204[_0x92cf9b(0x1ff)](_0x50e3e0=>this[_0x92cf9b(0x433)][_0x92cf9b(0x21b)](_0x50e3e0['id'],_0x50e3e0[_0x92cf9b(0x388)]));}};rt=xt([H(0x3,_0x5dc8b8(_0x253837)),H(0x4,_0x5dc8b8(_0x648ae9)),H(0x5,_0x5dc8b8(_0x36508b)),H(0x6,_0x5dc8b8(_0x19d21b)),H(0x7,_0x5dc8b8(pe)),H(0x8,_0x2dcdf5),H(0x9,_0x336840),H(0xa,_0x2fef49),H(0xb,_0x5d860b(ht)),H(0xc,_0x5d860b(J))],rt);let It=class extends rt{constructor(_0x5bdec5,_0x367a03,_0x110613,_0x1fd4a2,_0x405ff6,_0x19f88a,_0x5c07ae,_0x1d7f72,_0x185321,_0x517707,_0x4663bb,_0x5d470c,_0x19f0c9){var _0x28fcf9=_0x597ab2;super(_0x5bdec5,_0x110613,_0x367a03,_0x1fd4a2,_0x405ff6,_0x19f88a,_0x5c07ae,_0x1d7f72,_0x185321,_0x517707,_0x4663bb,_0x5d470c,_0x19f0c9),N(this,_0x28fcf9(0x1ef),null),(this[_0x28fcf9(0x1f6)]=_0x5bdec5,this[_0x28fcf9(0x2d8)]=_0x367a03);}[_0x597ab2(0x3b5)](_0x560f24){this['_handlerCallback']=_0x560f24;}[_0x597ab2(0x3a4)](){var _0x12835a=_0x597ab2;this[_0x12835a(0x1ef)]=null,super[_0x12835a(0x3a4)]();}['_createHandler'](){var _0x1748f9=_0x597ab2;const _0x1409f9=super[_0x1748f9(0x47b)]();return _0x1409f9[_0x1748f9(0x254)]=_0x30b15c=>{var _0x586ee6=_0x1748f9,_0x3c882d,_0x10c07f;return(_0x10c07f=(_0x3c882d=this[_0x586ee6(0x1ef)])==null?void 0x0:_0x3c882d['onTransformIME'])==null?void 0x0:_0x10c07f[_0x586ee6(0x47a)](_0x3c882d,_0x30b15c);},_0x1409f9['onTransformState']=_0x1ee2fd=>{var _0x35a7c1=_0x1748f9,_0x44e82c,_0x257c02;return(_0x257c02=(_0x44e82c=this[_0x35a7c1(0x1ef)])==null?void 0x0:_0x44e82c[_0x35a7c1(0x416)])==null?void 0x0:_0x257c02['call'](_0x44e82c,_0x1ee2fd);},_0x1409f9[_0x1748f9(0x3c6)]=_0x1ba08d=>{var _0xf4a693=_0x1748f9,_0x275d65,_0x301f4e;return(_0x301f4e=(_0x275d65=this[_0xf4a693(0x1ef)])==null?void 0x0:_0x275d65['onTransformSelections'])==null?void 0x0:_0x301f4e['call'](_0x275d65,_0x1ba08d);},_0x1409f9[_0x1748f9(0x432)]=_0x6c9ce7=>{var _0x36a12f=_0x1748f9,_0x4ff0f4,_0x9d3afb;return(_0x9d3afb=(_0x4ff0f4=this[_0x36a12f(0x1ef)])==null?void 0x0:_0x4ff0f4[_0x36a12f(0x432)])==null?void 0x0:_0x9d3afb[_0x36a12f(0x47a)](_0x4ff0f4,_0x6c9ce7);},_0x1409f9['onTransformRemoteChangesetByIMECache']=_0x263814=>{var _0x55a6af=_0x1748f9,_0x14e911,_0x1e03fc,_0x45c766;if(!((_0x14e911=this[_0x55a6af(0x1ef)])!=null&&_0x14e911[_0x55a6af(0x430)]))throw new Error(_0x55a6af(0x2bc));return(_0x45c766=(_0x1e03fc=this[_0x55a6af(0x1ef)])==null?void 0x0:_0x1e03fc[_0x55a6af(0x430)])==null?void 0x0:_0x45c766[_0x55a6af(0x47a)](_0x1e03fc,_0x263814);},_0x1409f9['onTransformRemoteChangesetByStateCache']=_0x148bbd=>{var _0x1b1d89=_0x1748f9,_0x2049bf,_0x35f8ff,_0x4e654d;if(!((_0x2049bf=this[_0x1b1d89(0x1ef)])!=null&&_0x2049bf['onTransformRemoteChangesetByStateCache']))throw new Error(_0x1b1d89(0x414));return(_0x4e654d=(_0x35f8ff=this[_0x1b1d89(0x1ef)])==null?void 0x0:_0x35f8ff[_0x1b1d89(0x19c)])==null?void 0x0:_0x4e654d[_0x1b1d89(0x47a)](_0x35f8ff,_0x148bbd);},_0x1409f9;}async['_init'](){var _0x1375a6=_0x597ab2;const _0x510621=await super[_0x1375a6(0x21d)]();return this[_0x1375a6(0x420)](this[_0x1375a6(0x433)][_0x1375a6(0x274)]((_0x1bc55b,_0x5a0b67)=>{var _0x1bd8cd=_0x1375a6;if(_0x1bc55b[_0x1bd8cd(0x2d8)]!==_0x1a1d72[_0x1bd8cd(0x3ef)]||_0x5a0b67!=null&&_0x5a0b67[_0x1bd8cd(0x2e1)]||_0x5a0b67!=null&&_0x5a0b67[_0x1bd8cd(0x1a7)]||_0x1bc55b['id']===_0x1df105['id'])return;const _0x49fffd=_0x1bc55b[_0x1bd8cd(0x388)];if((_0x49fffd==null?void 0x0:_0x49fffd[_0x1bd8cd(0x3cd)])!==this[_0x1bd8cd(0x1f6)])return;const _0x45fa0c=_0x1bc55b,_0x52ee3a=this['_compressMutationService'][_0x1bd8cd(0x38b)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x1bd8cd(0x32c)]()[_0x1bd8cd(0x208)])([_0x45fa0c],null)||[_0x45fa0c];this[_0x1bd8cd(0x23e)](_0x52ee3a[0x0]);})),_0x510621;}};It=xt([H(0x3,_0x5dc8b8(_0x253837)),H(0x4,_0x5dc8b8(_0x648ae9)),H(0x5,_0x5dc8b8(_0x36508b)),H(0x6,_0x5dc8b8(_0x19d21b)),H(0x7,_0x5dc8b8(pe)),H(0x8,_0x2dcdf5),H(0x9,_0x336840),H(0xa,_0x2fef49),H(0xb,_0x5d860b(ht)),H(0xc,_0x5d860b(J))],It);let Tt=class extends rt{constructor(_0x401549,_0x5f4a6a,_0x33bc8d,_0x33620e,_0x13c8d2,_0x571911,_0x12e48f,_0x240199,_0x152b8f,_0x3efcc4,_0x127edf,_0x874698,_0x230907,_0x1f8070){var _0x384f5e=_0x597ab2;super(_0x401549,_0x33bc8d,_0x5f4a6a,_0x33620e,_0x13c8d2,_0x571911,_0x12e48f,_0x152b8f,_0x3efcc4,_0x127edf,_0x874698,_0x230907,_0x1f8070),this['unitID']=_0x401549,this[_0x384f5e(0x2d8)]=_0x5f4a6a,this['_sheetTransformSelectionsService']=_0x240199;}[_0x597ab2(0x47b)](){var _0x476638=_0x597ab2;const _0x4dada2=super[_0x476638(0x47b)]();return _0x4dada2[_0x476638(0x3c6)]=_0x5cd579=>this[_0x476638(0x2dc)][_0x476638(0x402)](_0x5cd579),_0x4dada2;}async[_0x597ab2(0x21d)](){var _0x9ad0b6=_0x597ab2;const _0x530085=await super[_0x9ad0b6(0x21d)]();return this[_0x9ad0b6(0x420)](this[_0x9ad0b6(0x433)][_0x9ad0b6(0x274)]((_0x594f25,_0x1b4f41)=>{var _0x5878a7=_0x9ad0b6;if(_0x594f25[_0x5878a7(0x2d8)]!==_0x1a1d72[_0x5878a7(0x3ef)]||_0x1b4f41!=null&&_0x1b4f41['fromCollab']||_0x1b4f41!=null&&_0x1b4f41[_0x5878a7(0x1a7)])return;const _0x235262=_0x594f25[_0x5878a7(0x388)];if((_0x235262==null?void 0x0:_0x235262[_0x5878a7(0x3cd)])!==this['unitID'])return;const _0x4e9b1d=_0x594f25,_0x1a1101=this[_0x5878a7(0x3c5)][_0x5878a7(0x38b)]['fetchThroughInterceptors'](this[_0x5878a7(0x3c5)]['interceptor'][_0x5878a7(0x32c)]()[_0x5878a7(0x208)])([_0x4e9b1d],null)||[_0x4e9b1d];this[_0x5878a7(0x23e)](_0x1a1101[0x0]);})),_0x530085;}};Tt=xt([H(0x3,_0x5dc8b8(_0x253837)),H(0x4,_0x5dc8b8(_0x648ae9)),H(0x5,_0x5dc8b8(_0x36508b)),H(0x6,_0x5dc8b8(_0x19d21b)),H(0x7,_0x5dc8b8(it)),H(0x8,_0x5dc8b8(pe)),H(0x9,_0x2dcdf5),H(0xa,_0x336840),H(0xb,_0x2fef49),H(0xc,_0x5d860b(ht)),H(0xd,_0x5d860b(J))],Tt);var an=Object['getOwnPropertyDescriptor'],cn=(_0x2b49c,_0x22cefd,_0x360910,_0x115e1d)=>{var _0x58725a=_0x597ab2;for(var _0xbb0784=_0x115e1d>0x1?void 0x0:_0x115e1d?an(_0x22cefd,_0x360910):_0x22cefd,_0x1ab374=_0x2b49c[_0x58725a(0x419)]-0x1,_0x4331d1;_0x1ab374>=0x0;_0x1ab374--)(_0x4331d1=_0x2b49c[_0x1ab374])&&(_0xbb0784=_0x4331d1(_0xbb0784)||_0xbb0784);return _0xbb0784;},ft=(_0x4a4192,_0x5c5f1e)=>(_0x2f895a,_0x3a7322)=>_0x5c5f1e(_0x2f895a,_0x3a7322,_0x4a4192);let nt=class extends _0x10e9f1{constructor(_0x566f0e,_0x577b96,_0x476f75){var _0x3854c3=_0x597ab2;super(),N(this,_0x3854c3(0x42c),new Map()),N(this,_0x3854c3(0x35d),new _0x4f59b9()),N(this,_0x3854c3(0x3eb),this[_0x3854c3(0x35d)]['asObservable']()),(this[_0x3854c3(0x44a)]=_0x566f0e,this[_0x3854c3(0x1e8)]=_0x577b96,this[_0x3854c3(0x3d9)]=_0x476f75,this[_0x3854c3(0x21d)]());}[_0x597ab2(0x3a4)](){var _0x57a363=_0x597ab2;super[_0x57a363(0x3a4)](),this[_0x57a363(0x42c)]['forEach'](_0x222825=>_0x222825[_0x57a363(0x3a4)]()),this['_entities']['clear']();}['getCollabEntity'](_0x51db0e){var _0x30918f=_0x597ab2,_0x20968c;return(_0x20968c=this[_0x30918f(0x42c)][_0x30918f(0x277)](_0x51db0e))!=null?_0x20968c:null;}['getCollabEntity$'](_0x539730){var _0x3297fc=_0x597ab2;const _0x3f5be7=this[_0x3297fc(0x447)](_0x539730);return _0x3f5be7?_0x46fdc6(_0x3f5be7):this[_0x3297fc(0x35d)][_0x3297fc(0x218)](_0x321733(_0x32e3b3=>_0x32e3b3['unitID']===_0x539730));}['readyForCollab'](_0x4543e9){var _0x243783=_0x597ab2;return _0x1904c7(this[_0x243783(0x351)](_0x4543e9)[_0x243783(0x218)](_0x3e044c(()=>{})));}[_0x597ab2(0x21d)](){var _0x41c099=_0x597ab2;this[_0x41c099(0x3d9)][_0x41c099(0x22d)](_0x31007f['UNIVER_SHEET'])[_0x41c099(0x218)](_0xc0520a(this[_0x41c099(0x1bb)]),_0x5b5907(0x10))[_0x41c099(0x470)](async _0x3cc73a=>{var _0x28eb09=_0x41c099;const _0x121a90=_0x3cc73a[_0x28eb09(0x48a)](),_0x2c8c27=await this[_0x28eb09(0x3b9)](_0x121a90,Q[_0x28eb09(0x1ed)]);this[_0x28eb09(0x42c)][_0x28eb09(0x1e6)](_0x121a90,_0x2c8c27);}),this[_0x41c099(0x3d9)][_0x41c099(0x22d)](_0x31007f['UNIVER_DOC'])[_0x41c099(0x218)](_0xc0520a(this[_0x41c099(0x1bb)]),_0x5b5907(0x10))['pipe'](_0x321733(_0x532729=>!_0x532729[_0x41c099(0x48a)]()['startsWith']('__')))[_0x41c099(0x470)](async _0x2cb086=>{var _0x45ca3d=_0x41c099;const _0x4a4b4d=_0x2cb086[_0x45ca3d(0x48a)](),_0x77fd8b=await this[_0x45ca3d(0x3b9)](_0x4a4b4d,Q[_0x45ca3d(0x2db)]);this[_0x45ca3d(0x42c)][_0x45ca3d(0x1e6)](_0x4a4b4d,_0x77fd8b);}),_0x10ee83(this[_0x41c099(0x3d9)][_0x41c099(0x269)](_0x31007f[_0x41c099(0x1ed)]),this[_0x41c099(0x3d9)][_0x41c099(0x269)](_0x31007f[_0x41c099(0x2db)]))[_0x41c099(0x218)](_0xc0520a(this[_0x41c099(0x1bb)]))[_0x41c099(0x470)](_0x9da755=>{var _0x5ee723=_0x41c099;const _0x31fca6=_0x9da755[_0x5ee723(0x48a)](),_0x5920b5=this['_entities'][_0x5ee723(0x277)](_0x31fca6);_0x5920b5&&(_0x5920b5[_0x5ee723(0x3a4)](),this[_0x5ee723(0x42c)][_0x5ee723(0x399)](_0x31fca6));});}async['_startCollaboration'](_0x3c6e31,_0x3d23af){var _0x29c5e4=_0x597ab2;const _0xde20ab=await this[_0x29c5e4(0x1e8)][_0x29c5e4(0x2c0)](_0x3c6e31),_0x1a7fb6=this[_0x29c5e4(0x44a)]['createInstance'](this[_0x29c5e4(0x231)](_0x3d23af),_0x3c6e31,_0x3d23af,_0xde20ab);return await _0x1a7fb6[_0x29c5e4(0x3d2)](),this[_0x29c5e4(0x35d)][_0x29c5e4(0x301)](_0x1a7fb6),_0x1a7fb6;}[_0x597ab2(0x231)](_0xc2c59d){var _0x908817=_0x597ab2;switch(_0xc2c59d){case Q[_0x908817(0x2db)]:return It;case Q[_0x908817(0x1ed)]:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0xc2c59d);}}};nt=cn([ft(0x0,_0x5dc8b8(_0x253837)),ft(0x1,_0x5dc8b8(Le)),ft(0x2,_0x541816)],nt);var hn=Object[_0x597ab2(0x3e5)],_n=(_0x1f503d,_0x48eb7d,_0x105848,_0x272c63)=>{for(var _0xb9576f=_0x272c63>0x1?void 0x0:_0x272c63?hn(_0x48eb7d,_0x105848):_0x48eb7d,_0xb963b6=_0x1f503d['length']-0x1,_0x52a2f1;_0xb963b6>=0x0;_0xb963b6--)(_0x52a2f1=_0x1f503d[_0xb963b6])&&(_0xb9576f=_0x52a2f1(_0xb9576f)||_0xb9576f);return _0xb9576f;},zt=(_0x290e58,_0x5657ce)=>(_0x2dd25a,_0x462b9d)=>_0x5657ce(_0x2dd25a,_0x462b9d,_0x290e58);const ln='DEFAULT_FILE_NAME',un=_0x597ab2(0x214);let Ct=class extends _0x15930a{constructor(_0x45abb5,_0x525c20){var _0x165125=_0x597ab2;super(),this[_0x165125(0x3d9)]=_0x45abb5,this[_0x165125(0x252)]=_0x525c20,this[_0x165125(0x21d)]();}[_0x597ab2(0x21d)](){var _0x368f90=_0x597ab2;this[_0x368f90(0x420)](this[_0x368f90(0x3d9)][_0x368f90(0x456)][_0x368f90(0x470)](()=>{var _0x2d3073=_0x368f90,_0x3834dc;const _0x1997bc=this[_0x2d3073(0x3d9)][_0x2d3073(0x44e)]();let _0x4c2cc1=(_0x3834dc=this['_configService'][_0x2d3073(0x2d1)](ln))!=null?_0x3834dc:un;_0x1997bc instanceof _0x3fa022&&(_0x4c2cc1=_0x1997bc[_0x2d3073(0x477)]),document['title']=_0x4c2cc1;}));}};Ct=_n([zt(0x0,_0x541816),zt(0x1,_0x52e356)],Ct);var dn=Object[_0x597ab2(0x3e5)],fn=(_0x2aef52,_0x34110c,_0x2c0cb5,_0x5c688d)=>{for(var _0x56724e=_0x5c688d>0x1?void 0x0:_0x5c688d?dn(_0x34110c,_0x2c0cb5):_0x34110c,_0x2a9bc8=_0x2aef52['length']-0x1,_0x488695;_0x2a9bc8>=0x0;_0x2a9bc8--)(_0x488695=_0x2aef52[_0x2a9bc8])&&(_0x56724e=_0x488695(_0x56724e)||_0x56724e);return _0x56724e;},vt=(_0x1664f4,_0x2d1414)=>(_0x1310e9,_0x343588)=>_0x2d1414(_0x1310e9,_0x343588,_0x1664f4);let st=class{constructor(_0x582869,_0xa74cd8,_0x5db013){var _0x37f6e9=_0x597ab2;this[_0x37f6e9(0x252)]=_0x582869,this[_0x37f6e9(0x259)]=_0xa74cd8,this['localeService']=_0x5db013,this[_0x37f6e9(0x3d2)]();}['init'](){var _0x585d44=_0x597ab2;this['_httpService'][_0x585d44(0x1dd)]({'priority':0x1,'interceptor':(_0x2730cf,_0x544abf)=>_0x544abf(_0x2730cf)[_0x585d44(0x218)](_0x5d72ef(async _0x32e954=>{var _0x302af2=_0x585d44;const _0x5e18e5=_0x32e954;if(_0x5e18e5[_0x302af2(0x46a)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x302af2(0x29b)](this['localeService']['t'](_0x302af2(0x41c)))){const _0x56011d=window[_0x302af2(0x1ce)](window[_0x302af2(0x479)][_0x302af2(0x2a3)]);window[_0x302af2(0x479)][_0x302af2(0x2a3)]=this[_0x302af2(0x1b7)]()+_0x302af2(0x3a6)+_0x56011d;}}return _0x5e18e5;}))});}[_0x597ab2(0x1b7)](){var _0x3df02e=_0x597ab2,_0x5ed68e,_0x469016;const _0x354d66=this[_0x3df02e(0x252)]['getConfig'](Dr),_0x4f6c67=this['_configService'][_0x3df02e(0x2d1)](q);return(_0x469016=(_0x5ed68e=_0x4f6c67==null?void 0x0:_0x4f6c67[_0x3df02e(0x1fb)])!=null?_0x5ed68e:_0x354d66)!=null?_0x469016:wr;}};st=fn([vt(0x0,_0x52e356),vt(0x1,_0x5dc8b8(_0x546518)),vt(0x2,_0x5dc8b8(_0x36508b))],st);var vn=Object['getOwnPropertyDescriptor'],pn=(_0xd420bb,_0x1abb70,_0x1a021b,_0x3abe46)=>{var _0x3d116e=_0x597ab2;for(var _0x744d5d=_0x3abe46>0x1?void 0x0:_0x3abe46?vn(_0x1abb70,_0x1a021b):_0x1abb70,_0x3c25f2=_0xd420bb[_0x3d116e(0x419)]-0x1,_0x3d499d;_0x3c25f2>=0x0;_0x3c25f2--)(_0x3d499d=_0xd420bb[_0x3c25f2])&&(_0x744d5d=_0x3d499d(_0x744d5d)||_0x744d5d);return _0x744d5d;},Jt=(_0x5618d7,_0x149ae7)=>(_0x50fba3,_0x11f514)=>_0x149ae7(_0x50fba3,_0x11f514,_0x5618d7);const Ni=_0x597ab2(0x38e),mn=_0x597ab2(0x21f);let Rt=class extends _0x15930a{constructor(_0x139936,_0x3022dc){var _0x212576=_0x597ab2;super(),this['_HTTPService']=_0x139936,this[_0x212576(0x252)]=_0x3022dc,this['_initMergeInterceptor']();}[_0x597ab2(0x256)](){var _0x538cb7=_0x597ab2;const _0x13fc17=this;this[_0x538cb7(0x420)](this[_0x538cb7(0x227)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x340be7({'isMatch'(_0x26b567){var _0x46033f=_0x538cb7,_0x4a269d;if(_0x26b567[_0x46033f(0x3d7)]===_0x46033f(0x30c)&&((_0x4a269d=_0x26b567['requestParams'])!=null&&_0x4a269d[_0x46033f(0x2f4)])){const {objectID:_0x4c6014,objectType:_0x924628}=_0x26b567[_0x46033f(0x2d6)][_0x46033f(0x2f4)]||{};if(!_0x4c6014||_0x924628===void 0x0)return!0x1;const _0x33a6e2=_0x13fc17[_0x46033f(0x428)]()+'/'+_0x924628+_0x46033f(0x440)+_0x4c6014+'/allowed';if(_0x26b567[_0x46033f(0x27d)]===_0x33a6e2)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2de2d7){var _0x596d43=_0x538cb7,_0x2f67b7;return(_0x2f67b7=_0x2de2d7[_0x596d43(0x2d6)])==null?void 0x0:_0x2f67b7[_0x596d43(0x2f4)];},'mergeParamsToRequest'(_0x41bcb3,_0x2b600a){var _0xa4182d=_0x538cb7;const _0xef032c=_0x13fc17['_getAPIPrefixPath']()+_0xa4182d(0x453),_0x16a088=_0x41bcb3[_0xa4182d(0x1d6)]((_0x31334c,_0xb26e0c)=>{var _0x11ab83=_0xa4182d;const {unitID:_0x58480b,objectID:_0x219f82,objectType:_0x4e5ca8,actions:_0x519f2b}=_0xb26e0c;return _0x31334c[_0x58480b]||(_0x31334c[_0x58480b]={}),_0x31334c[_0x58480b][_0x219f82]||(_0x31334c[_0x58480b][_0x219f82]={'objectID':_0x219f82,'objectType':_0x4e5ca8,'actions':[]}),_0x31334c[_0x58480b][_0x219f82][_0x11ab83(0x27e)][_0x11ab83(0x1e9)](..._0x519f2b),_0x31334c;},{}),_0x5e7f24=[];for(const _0x101c8b in _0x16a088)for(const _0x3a5d4a in _0x16a088[_0x101c8b]){const {actions:_0x274c3b,objectType:_0x213632}=_0x16a088[_0x101c8b][_0x3a5d4a],_0x208a02=[...new Set(_0x274c3b)];_0x5e7f24[_0xa4182d(0x1e9)]({'unitID':_0x101c8b,'objectID':_0x3a5d4a,'objectType':_0x213632,'actions':_0x208a02});}return new _0x219ff8(_0xa4182d(0x30c),_0xef032c,{'headers':_0x2b600a[_0xa4182d(0x31e)],'withCredentials':_0x2b600a[_0xa4182d(0x2f5)],'responseType':_0x2b600a[_0xa4182d(0x39e)],'body':{'requests':_0x5e7f24}});}},{'distributeResult'(_0x46a1b7,_0x545cb2){const {objectActions:_0x54478d}=_0x46a1b7;return _0x545cb2['map'](_0x33e0e8=>{var _0x3dd0b6=_0x5a0e;const {unitID:_0x563281,objectID:_0x58774f,actions:_0x83f21d}=_0x33e0e8,_0x1fe925=_0x54478d['find'](_0x565f86=>_0x565f86[_0x3dd0b6(0x1f6)]===_0x563281&&_0x565f86['objectID']===_0x58774f),_0x4c926c=_0x83f21d[_0x3dd0b6(0x376)](_0x3a114e=>_0x1fe925==null?void 0x0:_0x1fe925[_0x3dd0b6(0x27e)]['find'](_0x19b371=>_0x19b371[_0x3dd0b6(0x42d)]===_0x3a114e))[_0x3dd0b6(0x251)](_0x122593=>!!_0x122593);return{'config':_0x33e0e8,'result':{'actions':_0x4c926c,'error':_0x46a1b7['error']}};});}})}));}[_0x597ab2(0x428)](){var _0x500283=_0x597ab2,_0x2ee1d6,_0x5624c4;const _0x583c0f=this[_0x500283(0x252)][_0x500283(0x2d1)](Ni),_0x5cbac4=this[_0x500283(0x252)]['getConfig'](q);return(_0x5624c4=(_0x2ee1d6=_0x5cbac4==null?void 0x0:_0x5cbac4['authzUrl'])!=null?_0x2ee1d6:_0x583c0f)!=null?_0x5624c4:mn;}async[_0x597ab2(0x348)](_0x5485ab){var _0x1f0472=_0x597ab2;const _0x27ea47=this[_0x1f0472(0x428)]()+'/'+_0x5485ab['objectType']+'/object';return(await this[_0x1f0472(0x227)]['post'](_0x27ea47,{'body':_0x5485ab}))[_0x1f0472(0x2f4)][_0x1f0472(0x3c9)]||'';}async[_0x597ab2(0x297)](_0x97589f){var _0x37228d=_0x597ab2;const _0x204482=this[_0x37228d(0x428)]()+_0x37228d(0x26f);return(await this[_0x37228d(0x227)][_0x37228d(0x1c6)](_0x204482,{'body':_0x97589f}))[_0x37228d(0x2f4)][_0x37228d(0x1a8)];}async[_0x597ab2(0x228)](_0x373a19){var _0x12a9cb=_0x597ab2;const _0x29f015=this['_getAPIPrefixPath']()+'/'+_0x373a19['objectType']+'/object/'+_0x373a19[_0x12a9cb(0x3c9)];await this[_0x12a9cb(0x227)][_0x12a9cb(0x45b)](_0x29f015,{'body':_0x373a19});}async['allowed'](_0x288918){var _0x1e819b=_0x597ab2;const _0x3ab4bd=this[_0x1e819b(0x428)]()+'/'+_0x288918[_0x1e819b(0x19d)]+_0x1e819b(0x440)+_0x288918['objectID']+_0x1e819b(0x2a9);return(await this[_0x1e819b(0x227)][_0x1e819b(0x1c6)](_0x3ab4bd,{'body':_0x288918}))['body'][_0x1e819b(0x27e)];}async[_0x597ab2(0x1a9)](_0x18168a){var _0xc1743c=_0x597ab2;const _0x5243b1=this[_0xc1743c(0x428)]()+_0xc1743c(0x453);return(await this[_0xc1743c(0x227)][_0xc1743c(0x1c6)](_0x5243b1,{'body':{'requests':_0x18168a}}))['body'][_0xc1743c(0x472)];}async[_0x597ab2(0x2cf)](_0x41b854){var _0x3552ea=_0x597ab2;const _0x1a1595=this[_0x3552ea(0x428)]()+'/'+_0x41b854[_0x3552ea(0x19d)]+_0x3552ea(0x1ab),_0x2921a8=await this[_0x3552ea(0x227)][_0x3552ea(0x1c6)](_0x1a1595,{'body':_0x41b854});return{'roles':_0x2921a8[_0x3552ea(0x2f4)][_0x3552ea(0x2e2)],'actions':_0x2921a8[_0x3552ea(0x2f4)][_0x3552ea(0x27e)]};}async[_0x597ab2(0x24c)](_0x3760c7){var _0x58cd8d=_0x597ab2;const _0x2b957f=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x58cd8d(0x227)]['delete'](_0x2b957f,{'params':{'collaboratorID':_0x3760c7[_0x58cd8d(0x3fd)],'objectID':_0x3760c7['objectID'],'unitID':_0x3760c7[_0x58cd8d(0x1f6)]}});}async[_0x597ab2(0x3ca)](_0x156f58){var _0x356d59=_0x597ab2;const _0x2a50ac=this[_0x356d59(0x428)]()+_0x356d59(0x48d);await this[_0x356d59(0x227)]['patch'](_0x2a50ac,{'body':_0x156f58});}async[_0x597ab2(0x42a)](_0x4e8f5a){var _0x2aa913=_0x597ab2;const _0x27a473=this[_0x2aa913(0x428)]()+_0x2aa913(0x48d);await this[_0x2aa913(0x227)][_0x2aa913(0x1c6)](_0x27a473,{'body':_0x4e8f5a});}async[_0x597ab2(0x2d2)](_0x129cb4){var _0x16bb39=_0x597ab2;const _0x1b746c=this[_0x16bb39(0x428)]()+_0x16bb39(0x48d);return(await this['_HTTPService'][_0x16bb39(0x277)](_0x1b746c,{'params':{'objectID':_0x129cb4['objectID'],'unitID':_0x129cb4[_0x16bb39(0x1f6)]}}))['body'][_0x16bb39(0x467)];}async[_0x597ab2(0x1eb)](_0x94d1ae){var _0x3f6a32=_0x597ab2;const _0x28b0a7=this[_0x3f6a32(0x428)]()+_0x3f6a32(0x48d);await this['_HTTPService'][_0x3f6a32(0x45b)](_0x28b0a7,{'body':_0x94d1ae});}};Rt=pn([Jt(0x0,_0x5dc8b8(_0x546518)),Jt(0x1,_0x5dc8b8(_0x52e356))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x409c4c){var _0x56a30b=_0x597ab2;return _0x409c4c&&_0x409c4c[_0x56a30b(0x3db)]&&Object[_0x56a30b(0x2cc)][_0x56a30b(0x480)][_0x56a30b(0x47a)](_0x409c4c,'default')?_0x409c4c[_0x56a30b(0x3d5)]:_0x409c4c;}var Ge={'exports':{}};function gn(_0xc41448){var _0x46eb34=_0x597ab2;throw new Error(_0x46eb34(0x45a)+_0xc41448+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ve={'exports':{}},Sn=Ve[_0x597ab2(0x23c)],Xt;function ie(){var _0x11ab65=_0x597ab2;return Xt||(Xt=0x1,function(_0x3ce38f,_0x599901){(function(_0x565478,_0x115a35){var _0x1731fb=_0x5a0e;_0x3ce38f[_0x1731fb(0x23c)]=_0x115a35();}(Sn,function(){var _0x152dec=_0x152dec||function(_0x53db7a,_0x5abf18){var _0x4ea1da=_0x5a0e,_0xa060ed;if(typeof window<'u'&&window[_0x4ea1da(0x1db)]&&(_0xa060ed=window['crypto']),typeof self<'u'&&self[_0x4ea1da(0x1db)]&&(_0xa060ed=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0xa060ed=globalThis[_0x4ea1da(0x1db)]),!_0xa060ed&&typeof window<'u'&&window['msCrypto']&&(_0xa060ed=window[_0x4ea1da(0x347)]),!_0xa060ed&&typeof pt<'u'&&pt[_0x4ea1da(0x1db)]&&(_0xa060ed=pt[_0x4ea1da(0x1db)]),!_0xa060ed&&typeof gn==_0x4ea1da(0x1bf))try{_0xa060ed=require(_0x4ea1da(0x1db));}catch{}var _0xe0f81d=function(){var _0x58f531=_0x4ea1da;if(_0xa060ed){if(typeof _0xa060ed[_0x58f531(0x3bb)]==_0x58f531(0x1bf))try{return _0xa060ed[_0x58f531(0x3bb)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xa060ed[_0x58f531(0x3ab)]==_0x58f531(0x1bf))try{return _0xa060ed[_0x58f531(0x3ab)](0x4)[_0x58f531(0x205)]();}catch{}}throw new Error(_0x58f531(0x371));},_0x40c1cf=Object['create']||(function(){function _0x13ae7(){}return function(_0x2e5bf5){var _0x33b312=_0x5a0e,_0x24e19b;return _0x13ae7['prototype']=_0x2e5bf5,_0x24e19b=new _0x13ae7(),_0x13ae7[_0x33b312(0x2cc)]=null,_0x24e19b;};}()),_0x31a53a={},_0x5ddc51=_0x31a53a[_0x4ea1da(0x461)]={},_0x31f682=_0x5ddc51[_0x4ea1da(0x394)]=(function(){return{'extend':function(_0x265ce3){var _0x727453=_0x5a0e,_0x350184=_0x40c1cf(this);return _0x265ce3&&_0x350184[_0x727453(0x3b8)](_0x265ce3),(!_0x350184[_0x727453(0x480)](_0x727453(0x3d2))||this[_0x727453(0x3d2)]===_0x350184[_0x727453(0x3d2)])&&(_0x350184['init']=function(){var _0x34ad0a=_0x727453;_0x350184['$super'][_0x34ad0a(0x3d2)][_0x34ad0a(0x2f9)](this,arguments);}),_0x350184[_0x727453(0x3d2)][_0x727453(0x2cc)]=_0x350184,_0x350184[_0x727453(0x336)]=this,_0x350184;},'create':function(){var _0x2f3d25=_0x5a0e,_0x30dae4=this[_0x2f3d25(0x19e)]();return _0x30dae4[_0x2f3d25(0x3d2)][_0x2f3d25(0x2f9)](_0x30dae4,arguments),_0x30dae4;},'init':function(){},'mixIn':function(_0x38af7a){var _0x1c551f=_0x5a0e;for(var _0x5b49a6 in _0x38af7a)_0x38af7a[_0x1c551f(0x480)](_0x5b49a6)&&(this[_0x5b49a6]=_0x38af7a[_0x5b49a6]);_0x38af7a[_0x1c551f(0x480)](_0x1c551f(0x298))&&(this['toString']=_0x38af7a[_0x1c551f(0x298)]);},'clone':function(){var _0x32b6c6=_0x5a0e;return this[_0x32b6c6(0x3d2)]['prototype'][_0x32b6c6(0x19e)](this);}};}()),_0x43a70b=_0x5ddc51['WordArray']=_0x31f682[_0x4ea1da(0x19e)]({'init':function(_0x534482,_0x171b4b){var _0x4451ff=_0x4ea1da;_0x534482=this['words']=_0x534482||[],_0x171b4b!=_0x5abf18?this['sigBytes']=_0x171b4b:this[_0x4451ff(0x3c2)]=_0x534482[_0x4451ff(0x419)]*0x4;},'toString':function(_0xd7465c){var _0x28ef7d=_0x4ea1da;return(_0xd7465c||_0x957677)[_0x28ef7d(0x1c7)](this);},'concat':function(_0x2041d9){var _0x43f74c=_0x4ea1da,_0x4592df=this[_0x43f74c(0x43a)],_0x296cfe=_0x2041d9[_0x43f74c(0x43a)],_0x22f7ac=this[_0x43f74c(0x3c2)],_0x356b43=_0x2041d9[_0x43f74c(0x3c2)];if(this[_0x43f74c(0x365)](),_0x22f7ac%0x4)for(var _0x4e6d1e=0x0;_0x4e6d1e<_0x356b43;_0x4e6d1e++){var _0x440930=_0x296cfe[_0x4e6d1e>>>0x2]>>>0x18-_0x4e6d1e%0x4*0x8&0xff;_0x4592df[_0x22f7ac+_0x4e6d1e>>>0x2]|=_0x440930<<0x18-(_0x22f7ac+_0x4e6d1e)%0x4*0x8;}else{for(var _0x2990eb=0x0;_0x2990eb<_0x356b43;_0x2990eb+=0x4)_0x4592df[_0x22f7ac+_0x2990eb>>>0x2]=_0x296cfe[_0x2990eb>>>0x2];}return this['sigBytes']+=_0x356b43,this;},'clamp':function(){var _0x4942bc=_0x4ea1da,_0x254c91=this[_0x4942bc(0x43a)],_0x12f5cb=this[_0x4942bc(0x3c2)];_0x254c91[_0x12f5cb>>>0x2]&=0xffffffff<<0x20-_0x12f5cb%0x4*0x8,_0x254c91[_0x4942bc(0x419)]=_0x53db7a[_0x4942bc(0x2d5)](_0x12f5cb/0x4);},'clone':function(){var _0x4d4645=_0x4ea1da,_0x573f55=_0x31f682[_0x4d4645(0x248)]['call'](this);return _0x573f55['words']=this[_0x4d4645(0x43a)]['slice'](0x0),_0x573f55;},'random':function(_0x4ea6ba){var _0xc47966=_0x4ea1da;for(var _0x230731=[],_0x25973a=0x0;_0x25973a<_0x4ea6ba;_0x25973a+=0x4)_0x230731[_0xc47966(0x1e9)](_0xe0f81d());return new _0x43a70b[(_0xc47966(0x3d2))](_0x230731,_0x4ea6ba);}}),_0x210316=_0x31a53a[_0x4ea1da(0x328)]={},_0x957677=_0x210316[_0x4ea1da(0x309)]={'stringify':function(_0x20a417){var _0x513337=_0x4ea1da;for(var _0x1761c3=_0x20a417[_0x513337(0x43a)],_0x19fb42=_0x20a417[_0x513337(0x3c2)],_0x5a76f0=[],_0x14a1c6=0x0;_0x14a1c6<_0x19fb42;_0x14a1c6++){var _0x11a7d9=_0x1761c3[_0x14a1c6>>>0x2]>>>0x18-_0x14a1c6%0x4*0x8&0xff;_0x5a76f0[_0x513337(0x1e9)]((_0x11a7d9>>>0x4)[_0x513337(0x298)](0x10)),_0x5a76f0[_0x513337(0x1e9)]((_0x11a7d9&0xf)[_0x513337(0x298)](0x10));}return _0x5a76f0['join']('');},'parse':function(_0x14f3ec){var _0x565b96=_0x4ea1da;for(var _0x7fbbfe=_0x14f3ec[_0x565b96(0x419)],_0x1bb306=[],_0x1f4b2c=0x0;_0x1f4b2c<_0x7fbbfe;_0x1f4b2c+=0x2)_0x1bb306[_0x1f4b2c>>>0x3]|=parseInt(_0x14f3ec[_0x565b96(0x468)](_0x1f4b2c,0x2),0x10)<<0x18-_0x1f4b2c%0x8*0x4;return new _0x43a70b[(_0x565b96(0x3d2))](_0x1bb306,_0x7fbbfe/0x2);}},_0x55b41a=_0x210316[_0x4ea1da(0x209)]={'stringify':function(_0x44569f){var _0x1d90d5=_0x4ea1da;for(var _0x28f031=_0x44569f[_0x1d90d5(0x43a)],_0x3fdce8=_0x44569f[_0x1d90d5(0x3c2)],_0x509685=[],_0x38659c=0x0;_0x38659c<_0x3fdce8;_0x38659c++){var _0x91d896=_0x28f031[_0x38659c>>>0x2]>>>0x18-_0x38659c%0x4*0x8&0xff;_0x509685['push'](String['fromCharCode'](_0x91d896));}return _0x509685['join']('');},'parse':function(_0xbc571d){var _0x2782bf=_0x4ea1da;for(var _0x2eda2b=_0xbc571d[_0x2782bf(0x419)],_0x675915=[],_0x16e5c4=0x0;_0x16e5c4<_0x2eda2b;_0x16e5c4++)_0x675915[_0x16e5c4>>>0x2]|=(_0xbc571d[_0x2782bf(0x1c9)](_0x16e5c4)&0xff)<<0x18-_0x16e5c4%0x4*0x8;return new _0x43a70b[(_0x2782bf(0x3d2))](_0x675915,_0x2eda2b);}},_0x4b5b32=_0x210316['Utf8']={'stringify':function(_0x45b101){var _0x3c3e6c=_0x4ea1da;try{return decodeURIComponent(escape(_0x55b41a['stringify'](_0x45b101)));}catch{throw new Error(_0x3c3e6c(0x324));}},'parse':function(_0x1966f1){var _0x16442e=_0x4ea1da;return _0x55b41a[_0x16442e(0x40e)](unescape(encodeURIComponent(_0x1966f1)));}},_0x1b6609=_0x5ddc51['BufferedBlockAlgorithm']=_0x31f682['extend']({'reset':function(){var _0x25e75a=_0x4ea1da;this['_data']=new _0x43a70b['init'](),this[_0x25e75a(0x279)]=0x0;},'_append':function(_0x347ab5){var _0x37d49f=_0x4ea1da;typeof _0x347ab5==_0x37d49f(0x1ca)&&(_0x347ab5=_0x4b5b32['parse'](_0x347ab5)),this['_data'][_0x37d49f(0x34d)](_0x347ab5),this['_nDataBytes']+=_0x347ab5[_0x37d49f(0x3c2)];},'_process':function(_0x1a4009){var _0xe606b=_0x4ea1da,_0x342062,_0x30e1b5=this[_0xe606b(0x1ea)],_0x12ad2a=_0x30e1b5[_0xe606b(0x43a)],_0x4651d5=_0x30e1b5['sigBytes'],_0x72c62b=this[_0xe606b(0x2c9)],_0x3abc7a=_0x72c62b*0x4,_0xd5a4dc=_0x4651d5/_0x3abc7a;_0x1a4009?_0xd5a4dc=_0x53db7a[_0xe606b(0x2d5)](_0xd5a4dc):_0xd5a4dc=_0x53db7a[_0xe606b(0x23d)]((_0xd5a4dc|0x0)-this['_minBufferSize'],0x0);var _0x586018=_0xd5a4dc*_0x72c62b,_0x20b8a5=_0x53db7a['min'](_0x586018*0x4,_0x4651d5);if(_0x586018){for(var _0xfcf880=0x0;_0xfcf880<_0x586018;_0xfcf880+=_0x72c62b)this[_0xe606b(0x31a)](_0x12ad2a,_0xfcf880);_0x342062=_0x12ad2a['splice'](0x0,_0x586018),_0x30e1b5[_0xe606b(0x3c2)]-=_0x20b8a5;}return new _0x43a70b[(_0xe606b(0x3d2))](_0x342062,_0x20b8a5);},'clone':function(){var _0x36e1f3=_0x4ea1da,_0x3d95bf=_0x31f682[_0x36e1f3(0x248)][_0x36e1f3(0x47a)](this);return _0x3d95bf['_data']=this[_0x36e1f3(0x1ea)][_0x36e1f3(0x248)](),_0x3d95bf;},'_minBufferSize':0x0});_0x5ddc51['Hasher']=_0x1b6609[_0x4ea1da(0x19e)]({'cfg':_0x31f682[_0x4ea1da(0x19e)](),'init':function(_0x309eb7){var _0x483677=_0x4ea1da;this[_0x483677(0x30f)]=this[_0x483677(0x30f)]['extend'](_0x309eb7),this[_0x483677(0x212)]();},'reset':function(){var _0x148ace=_0x4ea1da;_0x1b6609[_0x148ace(0x212)][_0x148ace(0x47a)](this),this[_0x148ace(0x48b)]();},'update':function(_0x273dc3){var _0xfabbce=_0x4ea1da;return this[_0xfabbce(0x244)](_0x273dc3),this[_0xfabbce(0x48c)](),this;},'finalize':function(_0x584925){var _0x5adff1=_0x4ea1da;_0x584925&&this[_0x5adff1(0x244)](_0x584925);var _0x196178=this['_doFinalize']();return _0x196178;},'blockSize':0x10,'_createHelper':function(_0x5a9719){return function(_0x21f5b1,_0x16c809){var _0x14ec4f=_0x5a0e;return new _0x5a9719[(_0x14ec4f(0x3d2))](_0x16c809)['finalize'](_0x21f5b1);};},'_createHmacHelper':function(_0x599ae2){return function(_0x53ec96,_0x4eaee5){var _0x55dde1=_0x5a0e;return new _0x6ab279[(_0x55dde1(0x262))][(_0x55dde1(0x3d2))](_0x599ae2,_0x4eaee5)['finalize'](_0x53ec96);};}});var _0x6ab279=_0x31a53a['algo']={};return _0x31a53a;}(Math);return _0x152dec;}));}(Ve)),Ve[_0x11ab65(0x23c)];}var We={'exports':{}},En=We['exports'],Zt;function Di(){var _0x383413=_0x597ab2;return Zt||(Zt=0x1,function(_0x1608bd,_0x45804a){(function(_0xd83e5c,_0x5f572a){var _0x40edb5=_0x5a0e;_0x1608bd[_0x40edb5(0x23c)]=_0x5f572a(ie());}(En,function(_0x2bc389){return(function(){var _0x39b6e9=_0x5a0e,_0x2c8ebc=_0x2bc389,_0x587290=_0x2c8ebc['lib'],_0x2af2b3=_0x587290[_0x39b6e9(0x459)],_0x23395c=_0x2c8ebc['enc'];_0x23395c['Base64']={'stringify':function(_0x5bdea9){var _0x436b7c=_0x39b6e9,_0x4fdd5e=_0x5bdea9[_0x436b7c(0x43a)],_0x35dec5=_0x5bdea9['sigBytes'],_0x86bdae=this['_map'];_0x5bdea9[_0x436b7c(0x365)]();for(var _0x394157=[],_0x55fd40=0x0;_0x55fd40<_0x35dec5;_0x55fd40+=0x3)for(var _0x1ec9e9=_0x4fdd5e[_0x55fd40>>>0x2]>>>0x18-_0x55fd40%0x4*0x8&0xff,_0x5d7614=_0x4fdd5e[_0x55fd40+0x1>>>0x2]>>>0x18-(_0x55fd40+0x1)%0x4*0x8&0xff,_0x25e44e=_0x4fdd5e[_0x55fd40+0x2>>>0x2]>>>0x18-(_0x55fd40+0x2)%0x4*0x8&0xff,_0x324dab=_0x1ec9e9<<0x10|_0x5d7614<<0x8|_0x25e44e,_0x3b1eda=0x0;_0x3b1eda<0x4&&_0x55fd40+_0x3b1eda*0.75<_0x35dec5;_0x3b1eda++)_0x394157[_0x436b7c(0x1e9)](_0x86bdae[_0x436b7c(0x2bb)](_0x324dab>>>0x6*(0x3-_0x3b1eda)&0x3f));var _0x2957bd=_0x86bdae[_0x436b7c(0x2bb)](0x40);if(_0x2957bd){for(;_0x394157[_0x436b7c(0x419)]%0x4;)_0x394157['push'](_0x2957bd);}return _0x394157['join']('');},'parse':function(_0x1b5436){var _0x4830cf=_0x39b6e9,_0x4cb2c3=_0x1b5436['length'],_0x5e24d7=this[_0x4830cf(0x1ad)],_0x1971e7=this['_reverseMap'];if(!_0x1971e7){_0x1971e7=this['_reverseMap']=[];for(var _0x2c6633=0x0;_0x2c6633<_0x5e24d7[_0x4830cf(0x419)];_0x2c6633++)_0x1971e7[_0x5e24d7[_0x4830cf(0x1c9)](_0x2c6633)]=_0x2c6633;}var _0x2467b8=_0x5e24d7['charAt'](0x40);if(_0x2467b8){var _0x534c1f=_0x1b5436[_0x4830cf(0x20b)](_0x2467b8);_0x534c1f!==-0x1&&(_0x4cb2c3=_0x534c1f);}return _0x4e53d0(_0x1b5436,_0x4cb2c3,_0x1971e7);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x4e53d0(_0x392473,_0x20f803,_0x11271c){var _0x5a8660=_0x39b6e9;for(var _0xf48ec9=[],_0x51ee1f=0x0,_0x442198=0x0;_0x442198<_0x20f803;_0x442198++)if(_0x442198%0x4){var _0x484a63=_0x11271c[_0x392473[_0x5a8660(0x1c9)](_0x442198-0x1)]<<_0x442198%0x4*0x2,_0x2e8e8d=_0x11271c[_0x392473['charCodeAt'](_0x442198)]>>>0x6-_0x442198%0x4*0x2,_0x14949a=_0x484a63|_0x2e8e8d;_0xf48ec9[_0x51ee1f>>>0x2]|=_0x14949a<<0x18-_0x51ee1f%0x4*0x8,_0x51ee1f++;}return _0x2af2b3[_0x5a8660(0x348)](_0xf48ec9,_0x51ee1f);}}()),_0x2bc389['enc']['Base64'];}));}(We)),We[_0x383413(0x23c)];}var Ke={'exports':{}},In=Ke[_0x597ab2(0x23c)],Qt;function Tn(){var _0x452fd9=_0x597ab2;return Qt||(Qt=0x1,function(_0x547135,_0x9a42e7){(function(_0x112420,_0x5cdceb){var _0x1f0332=_0x5a0e;_0x547135[_0x1f0332(0x23c)]=_0x5cdceb(ie());}(In,function(_0x182625){var _0xf00d97=_0x5a0e;return function(_0x143d89){var _0x1ba308=_0x5a0e,_0x3fae79=_0x182625,_0x2b46ba=_0x3fae79[_0x1ba308(0x461)],_0x33359b=_0x2b46ba[_0x1ba308(0x459)],_0x154b3f=_0x2b46ba[_0x1ba308(0x381)],_0xc678d1=_0x3fae79['algo'],_0x17e058=[];(function(){var _0x5c16e9=_0x1ba308;for(var _0x582fae=0x0;_0x582fae<0x40;_0x582fae++)_0x17e058[_0x582fae]=_0x143d89[_0x5c16e9(0x3e4)](_0x143d89['sin'](_0x582fae+0x1))*0x100000000|0x0;}());var _0x3763e9=_0xc678d1[_0x1ba308(0x1ee)]=_0x154b3f[_0x1ba308(0x19e)]({'_doReset':function(){var _0x1b185e=_0x1ba308;this['_hash']=new _0x33359b[(_0x1b185e(0x3d2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x508e31,_0x68e7cb){var _0x522970=_0x1ba308;for(var _0x501ef1=0x0;_0x501ef1<0x10;_0x501ef1++){var _0x1e8471=_0x68e7cb+_0x501ef1,_0x57dc07=_0x508e31[_0x1e8471];_0x508e31[_0x1e8471]=(_0x57dc07<<0x8|_0x57dc07>>>0x18)&0xff00ff|(_0x57dc07<<0x18|_0x57dc07>>>0x8)&0xff00ff00;}var _0x1c633e=this[_0x522970(0x401)][_0x522970(0x43a)],_0x2922c8=_0x508e31[_0x68e7cb+0x0],_0xbd48ee=_0x508e31[_0x68e7cb+0x1],_0x16facd=_0x508e31[_0x68e7cb+0x2],_0x269a74=_0x508e31[_0x68e7cb+0x3],_0x4d65f6=_0x508e31[_0x68e7cb+0x4],_0x113f30=_0x508e31[_0x68e7cb+0x5],_0x1de206=_0x508e31[_0x68e7cb+0x6],_0x46e1b3=_0x508e31[_0x68e7cb+0x7],_0x575d3f=_0x508e31[_0x68e7cb+0x8],_0x3fd5f4=_0x508e31[_0x68e7cb+0x9],_0x567376=_0x508e31[_0x68e7cb+0xa],_0x12bbd1=_0x508e31[_0x68e7cb+0xb],_0x1fe532=_0x508e31[_0x68e7cb+0xc],_0x565f12=_0x508e31[_0x68e7cb+0xd],_0x45df3c=_0x508e31[_0x68e7cb+0xe],_0xed6866=_0x508e31[_0x68e7cb+0xf],_0x422191=_0x1c633e[0x0],_0xdba277=_0x1c633e[0x1],_0x370c5a=_0x1c633e[0x2],_0x5e0424=_0x1c633e[0x3];_0x422191=_0x95e00c(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x2922c8,0x7,_0x17e058[0x0]),_0x5e0424=_0x95e00c(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0xbd48ee,0xc,_0x17e058[0x1]),_0x370c5a=_0x95e00c(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x16facd,0x11,_0x17e058[0x2]),_0xdba277=_0x95e00c(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x269a74,0x16,_0x17e058[0x3]),_0x422191=_0x95e00c(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x4d65f6,0x7,_0x17e058[0x4]),_0x5e0424=_0x95e00c(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x113f30,0xc,_0x17e058[0x5]),_0x370c5a=_0x95e00c(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x1de206,0x11,_0x17e058[0x6]),_0xdba277=_0x95e00c(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x46e1b3,0x16,_0x17e058[0x7]),_0x422191=_0x95e00c(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x575d3f,0x7,_0x17e058[0x8]),_0x5e0424=_0x95e00c(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x3fd5f4,0xc,_0x17e058[0x9]),_0x370c5a=_0x95e00c(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x567376,0x11,_0x17e058[0xa]),_0xdba277=_0x95e00c(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x12bbd1,0x16,_0x17e058[0xb]),_0x422191=_0x95e00c(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x1fe532,0x7,_0x17e058[0xc]),_0x5e0424=_0x95e00c(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x565f12,0xc,_0x17e058[0xd]),_0x370c5a=_0x95e00c(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x45df3c,0x11,_0x17e058[0xe]),_0xdba277=_0x95e00c(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0xed6866,0x16,_0x17e058[0xf]),_0x422191=_0x48fbdb(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0xbd48ee,0x5,_0x17e058[0x10]),_0x5e0424=_0x48fbdb(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x1de206,0x9,_0x17e058[0x11]),_0x370c5a=_0x48fbdb(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x12bbd1,0xe,_0x17e058[0x12]),_0xdba277=_0x48fbdb(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x2922c8,0x14,_0x17e058[0x13]),_0x422191=_0x48fbdb(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x113f30,0x5,_0x17e058[0x14]),_0x5e0424=_0x48fbdb(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x567376,0x9,_0x17e058[0x15]),_0x370c5a=_0x48fbdb(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0xed6866,0xe,_0x17e058[0x16]),_0xdba277=_0x48fbdb(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x4d65f6,0x14,_0x17e058[0x17]),_0x422191=_0x48fbdb(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x3fd5f4,0x5,_0x17e058[0x18]),_0x5e0424=_0x48fbdb(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x45df3c,0x9,_0x17e058[0x19]),_0x370c5a=_0x48fbdb(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x269a74,0xe,_0x17e058[0x1a]),_0xdba277=_0x48fbdb(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x575d3f,0x14,_0x17e058[0x1b]),_0x422191=_0x48fbdb(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x565f12,0x5,_0x17e058[0x1c]),_0x5e0424=_0x48fbdb(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x16facd,0x9,_0x17e058[0x1d]),_0x370c5a=_0x48fbdb(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x46e1b3,0xe,_0x17e058[0x1e]),_0xdba277=_0x48fbdb(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x1fe532,0x14,_0x17e058[0x1f]),_0x422191=_0x821186(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x113f30,0x4,_0x17e058[0x20]),_0x5e0424=_0x821186(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x575d3f,0xb,_0x17e058[0x21]),_0x370c5a=_0x821186(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x12bbd1,0x10,_0x17e058[0x22]),_0xdba277=_0x821186(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x45df3c,0x17,_0x17e058[0x23]),_0x422191=_0x821186(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0xbd48ee,0x4,_0x17e058[0x24]),_0x5e0424=_0x821186(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x4d65f6,0xb,_0x17e058[0x25]),_0x370c5a=_0x821186(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x46e1b3,0x10,_0x17e058[0x26]),_0xdba277=_0x821186(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x567376,0x17,_0x17e058[0x27]),_0x422191=_0x821186(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x565f12,0x4,_0x17e058[0x28]),_0x5e0424=_0x821186(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x2922c8,0xb,_0x17e058[0x29]),_0x370c5a=_0x821186(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x269a74,0x10,_0x17e058[0x2a]),_0xdba277=_0x821186(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x1de206,0x17,_0x17e058[0x2b]),_0x422191=_0x821186(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x3fd5f4,0x4,_0x17e058[0x2c]),_0x5e0424=_0x821186(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x1fe532,0xb,_0x17e058[0x2d]),_0x370c5a=_0x821186(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0xed6866,0x10,_0x17e058[0x2e]),_0xdba277=_0x821186(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x16facd,0x17,_0x17e058[0x2f]),_0x422191=_0x31d912(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x2922c8,0x6,_0x17e058[0x30]),_0x5e0424=_0x31d912(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x46e1b3,0xa,_0x17e058[0x31]),_0x370c5a=_0x31d912(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x45df3c,0xf,_0x17e058[0x32]),_0xdba277=_0x31d912(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x113f30,0x15,_0x17e058[0x33]),_0x422191=_0x31d912(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x1fe532,0x6,_0x17e058[0x34]),_0x5e0424=_0x31d912(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x269a74,0xa,_0x17e058[0x35]),_0x370c5a=_0x31d912(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x567376,0xf,_0x17e058[0x36]),_0xdba277=_0x31d912(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0xbd48ee,0x15,_0x17e058[0x37]),_0x422191=_0x31d912(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x575d3f,0x6,_0x17e058[0x38]),_0x5e0424=_0x31d912(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0xed6866,0xa,_0x17e058[0x39]),_0x370c5a=_0x31d912(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x1de206,0xf,_0x17e058[0x3a]),_0xdba277=_0x31d912(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x565f12,0x15,_0x17e058[0x3b]),_0x422191=_0x31d912(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x4d65f6,0x6,_0x17e058[0x3c]),_0x5e0424=_0x31d912(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x12bbd1,0xa,_0x17e058[0x3d]),_0x370c5a=_0x31d912(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x16facd,0xf,_0x17e058[0x3e]),_0xdba277=_0x31d912(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x3fd5f4,0x15,_0x17e058[0x3f]),_0x1c633e[0x0]=_0x1c633e[0x0]+_0x422191|0x0,_0x1c633e[0x1]=_0x1c633e[0x1]+_0xdba277|0x0,_0x1c633e[0x2]=_0x1c633e[0x2]+_0x370c5a|0x0,_0x1c633e[0x3]=_0x1c633e[0x3]+_0x5e0424|0x0;},'_doFinalize':function(){var _0x344db7=_0x1ba308,_0x72e79c=this['_data'],_0x2b9428=_0x72e79c[_0x344db7(0x43a)],_0x242b4e=this['_nDataBytes']*0x8,_0xe3bc82=_0x72e79c['sigBytes']*0x8;_0x2b9428[_0xe3bc82>>>0x5]|=0x80<<0x18-_0xe3bc82%0x20;var _0xc0545f=_0x143d89[_0x344db7(0x215)](_0x242b4e/0x100000000),_0x200187=_0x242b4e;_0x2b9428[(_0xe3bc82+0x40>>>0x9<<0x4)+0xf]=(_0xc0545f<<0x8|_0xc0545f>>>0x18)&0xff00ff|(_0xc0545f<<0x18|_0xc0545f>>>0x8)&0xff00ff00,_0x2b9428[(_0xe3bc82+0x40>>>0x9<<0x4)+0xe]=(_0x200187<<0x8|_0x200187>>>0x18)&0xff00ff|(_0x200187<<0x18|_0x200187>>>0x8)&0xff00ff00,_0x72e79c['sigBytes']=(_0x2b9428[_0x344db7(0x419)]+0x1)*0x4,this['_process']();for(var _0x40c22a=this[_0x344db7(0x401)],_0x51619a=_0x40c22a[_0x344db7(0x43a)],_0x46befc=0x0;_0x46befc<0x4;_0x46befc++){var _0x5e7bbb=_0x51619a[_0x46befc];_0x51619a[_0x46befc]=(_0x5e7bbb<<0x8|_0x5e7bbb>>>0x18)&0xff00ff|(_0x5e7bbb<<0x18|_0x5e7bbb>>>0x8)&0xff00ff00;}return _0x40c22a;},'clone':function(){var _0x7df50e=_0x1ba308,_0x567fa2=_0x154b3f[_0x7df50e(0x248)][_0x7df50e(0x47a)](this);return _0x567fa2[_0x7df50e(0x401)]=this['_hash'][_0x7df50e(0x248)](),_0x567fa2;}});function _0x95e00c(_0xb76cb4,_0x13b6ce,_0x3e3ad9,_0x373b93,_0x372254,_0x34dad5,_0x4f39c6){var _0x5e8895=_0xb76cb4+(_0x13b6ce&_0x3e3ad9|~_0x13b6ce&_0x373b93)+_0x372254+_0x4f39c6;return(_0x5e8895<<_0x34dad5|_0x5e8895>>>0x20-_0x34dad5)+_0x13b6ce;}function _0x48fbdb(_0x62d69a,_0xc59b16,_0x404b56,_0x26c316,_0x6370f7,_0x4b7374,_0x17950d){var _0x2f8f9d=_0x62d69a+(_0xc59b16&_0x26c316|_0x404b56&~_0x26c316)+_0x6370f7+_0x17950d;return(_0x2f8f9d<<_0x4b7374|_0x2f8f9d>>>0x20-_0x4b7374)+_0xc59b16;}function _0x821186(_0x1141d3,_0x21c2b5,_0x5aa5af,_0x770fb7,_0x58b776,_0x5d6d18,_0x1de616){var _0x3492ed=_0x1141d3+(_0x21c2b5^_0x5aa5af^_0x770fb7)+_0x58b776+_0x1de616;return(_0x3492ed<<_0x5d6d18|_0x3492ed>>>0x20-_0x5d6d18)+_0x21c2b5;}function _0x31d912(_0x40da46,_0x329efd,_0x5ba380,_0x5b96aa,_0x1bbfbf,_0x42edc1,_0x45e037){var _0x6428fa=_0x40da46+(_0x5ba380^(_0x329efd|~_0x5b96aa))+_0x1bbfbf+_0x45e037;return(_0x6428fa<<_0x42edc1|_0x6428fa>>>0x20-_0x42edc1)+_0x329efd;}_0x3fae79['MD5']=_0x154b3f['_createHelper'](_0x3763e9),_0x3fae79[_0x1ba308(0x1f8)]=_0x154b3f[_0x1ba308(0x240)](_0x3763e9);}(Math),_0x182625[_0xf00d97(0x1ee)];}));}(Ke)),Ke[_0x452fd9(0x23c)];}var Ye={'exports':{}},qe={'exports':{}},Cn=qe[_0x597ab2(0x23c)],ei;function Rn(){var _0x2aa912=_0x597ab2;return ei||(ei=0x1,function(_0x5941b3,_0x5a9f05){(function(_0x151d09,_0x515921){var _0x4333f9=_0x5a0e;_0x5941b3[_0x4333f9(0x23c)]=_0x515921(ie());}(Cn,function(_0x159cf3){var _0x221d27=_0x5a0e;return(function(){var _0x2a4737=_0x5a0e,_0x4a390b=_0x159cf3,_0x18c8e7=_0x4a390b[_0x2a4737(0x461)],_0x27c088=_0x18c8e7[_0x2a4737(0x459)],_0x36e60e=_0x18c8e7[_0x2a4737(0x381)],_0x1e1ee1=_0x4a390b[_0x2a4737(0x3ac)],_0x190475=[],_0x412df1=_0x1e1ee1['SHA1']=_0x36e60e[_0x2a4737(0x19e)]({'_doReset':function(){var _0x488912=_0x2a4737;this[_0x488912(0x401)]=new _0x27c088[(_0x488912(0x3d2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x32322e,_0x793c47){var _0xcd7dd8=_0x2a4737;for(var _0x54447c=this['_hash'][_0xcd7dd8(0x43a)],_0x3aa666=_0x54447c[0x0],_0x51dbd=_0x54447c[0x1],_0x56445d=_0x54447c[0x2],_0x56e87f=_0x54447c[0x3],_0x50de4d=_0x54447c[0x4],_0x2214ff=0x0;_0x2214ff<0x50;_0x2214ff++){if(_0x2214ff<0x10)_0x190475[_0x2214ff]=_0x32322e[_0x793c47+_0x2214ff]|0x0;else{var _0x412864=_0x190475[_0x2214ff-0x3]^_0x190475[_0x2214ff-0x8]^_0x190475[_0x2214ff-0xe]^_0x190475[_0x2214ff-0x10];_0x190475[_0x2214ff]=_0x412864<<0x1|_0x412864>>>0x1f;}var _0x137514=(_0x3aa666<<0x5|_0x3aa666>>>0x1b)+_0x50de4d+_0x190475[_0x2214ff];_0x2214ff<0x14?_0x137514+=(_0x51dbd&_0x56445d|~_0x51dbd&_0x56e87f)+0x5a827999:_0x2214ff<0x28?_0x137514+=(_0x51dbd^_0x56445d^_0x56e87f)+0x6ed9eba1:_0x2214ff<0x3c?_0x137514+=(_0x51dbd&_0x56445d|_0x51dbd&_0x56e87f|_0x56445d&_0x56e87f)-0x70e44324:_0x137514+=(_0x51dbd^_0x56445d^_0x56e87f)-0x359d3e2a,_0x50de4d=_0x56e87f,_0x56e87f=_0x56445d,_0x56445d=_0x51dbd<<0x1e|_0x51dbd>>>0x2,_0x51dbd=_0x3aa666,_0x3aa666=_0x137514;}_0x54447c[0x0]=_0x54447c[0x0]+_0x3aa666|0x0,_0x54447c[0x1]=_0x54447c[0x1]+_0x51dbd|0x0,_0x54447c[0x2]=_0x54447c[0x2]+_0x56445d|0x0,_0x54447c[0x3]=_0x54447c[0x3]+_0x56e87f|0x0,_0x54447c[0x4]=_0x54447c[0x4]+_0x50de4d|0x0;},'_doFinalize':function(){var _0x1f3409=_0x2a4737,_0x31e3c6=this[_0x1f3409(0x1ea)],_0xc5ed24=_0x31e3c6[_0x1f3409(0x43a)],_0x120dfb=this['_nDataBytes']*0x8,_0x586889=_0x31e3c6[_0x1f3409(0x3c2)]*0x8;return _0xc5ed24[_0x586889>>>0x5]|=0x80<<0x18-_0x586889%0x20,_0xc5ed24[(_0x586889+0x40>>>0x9<<0x4)+0xe]=Math[_0x1f3409(0x215)](_0x120dfb/0x100000000),_0xc5ed24[(_0x586889+0x40>>>0x9<<0x4)+0xf]=_0x120dfb,_0x31e3c6[_0x1f3409(0x3c2)]=_0xc5ed24[_0x1f3409(0x419)]*0x4,this[_0x1f3409(0x48c)](),this['_hash'];},'clone':function(){var _0x11d39f=_0x36e60e['clone']['call'](this);return _0x11d39f['_hash']=this['_hash']['clone'](),_0x11d39f;}});_0x4a390b[_0x2a4737(0x24e)]=_0x36e60e['_createHelper'](_0x412df1),_0x4a390b[_0x2a4737(0x1fa)]=_0x36e60e['_createHmacHelper'](_0x412df1);}()),_0x159cf3[_0x221d27(0x24e)];}));}(qe)),qe[_0x2aa912(0x23c)];}function _0x3e33(){var _0x216e73=['loadDoc','APPLY_NON_SEQUENTIAL_REVISION','commentUpdate$','_doProcessBlock','_getAPIPrefix','repeat','FAIL','headers','EvpKDF','format','[CollaborationSession]','reconnect','complete','Malformed\x20UTF-8\x20data','_onRemoteChangeset','IDLE','closeSession','enc','setCurrentUser','refreshPermission','splice','getInterceptPoints','startTime','_onCombEvent','_sessions','LIVESHARE_FETCH_OPERATIONS','_snapshotServerService','_doFinalize','incrementRevOfUnit','FileId','readAsDataURL','$super','_onOffline','execute','_status$','CHANGESET_REVISION_CONFILICT','_decreaseWaiting','YUUMI_URL_COL_OUT_OF_RANGE','Undefined','SerializableCipher','collaMsg','localCacheService','_undoStacks','addImageSourceCache','_unlockTransition','_clearScheduledTask','_loadSheet','selections','msCrypto','create','YUUMI_SUBSCRIPTION_NOT_FOUND','_isPermissionRej','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_prevBlock','concat','/universer-api/comb','YUUMI_UNABLE_LOAD_URL','collaboration_new_changeset','getCollabEntity$','_collaborationUIEventService','getUnitOnRev','SUBMIT_CHANGESET','_roomCreated$','CHANGESET_SHOULD_RETRY','INTERNAL_ERROR','RECV','Error\x20on\x20receiving\x20event','updateMember','onRemoteRej','joinRsp','_entityInit$','change$','[CollaborationEntity]','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','getSheetBlock','ciphertext','getUnitType','sessionStatus$','clamp','_permissionService','_initUnitPermissionChange','_onRemoteRetry','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_rescheduleHeartbeat','_syncEditingCollabCursor','JOINING','createSocket','_networkConditionService','transformStack\x20failed!','APPLY_DUPLICATED','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_eventService','_lockTransition','memberID','setConfig','map','liveShareOperation','AWAITING','has','onMissingChangesets','LIVESHARE_OPERATION','Cipher','rev','removeMember','_showConflictNotification','_roomMembers','Hasher','processBlock','editing\x20status\x20changed\x20to','resend','Decryptor','/block/','onLocalMutation','params','45402QBfAiO','_updateStatus','interceptor','toggleOnline','SNAPSHOT_HAS_BEEN_REMOVED','AUTHZ_URL_KEY','_getUploadFileURL','_registerDependencies','_shouldReportTelemetry','_commentUpdate$','resourceIDs','Base','Utf8','getSheetId','formatter','LIVESHARE_NEW_HOST','delete','_executeRemoteChangeset','members','_waitCount','c2Prime','responseType','collabSubmitChangesetUrl','collabWebSocketUrl','image/bmp','_socketService','workbook','dispose','_sessionStatus$','?url=','c1Prime','_getDownloadEndpointURL','_substituteUndoStack','emitEvent','randomBytes','algo','_members$','_collaborationTimeoutTimer','_incrementRevisionNumber','transformMutationsWithChangeset','session.room-not-exists','message$','commentUpdateEvent','\x0aAfter:\x20','addHandlerCallback','infoRsp','_onConnectionFailed','mixIn','_startCollaboration','reqId','getRandomValues','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','size','_onUserLeave','_scheduleCollaborationTimeoutTimer','_transformSelections','/universer-api/snapshot/','sigBytes','_minBufferSize','_listenToNetworkCondition','_compressMutationService','onTransformSelections','status$','conflict','objectID','updateCollaborator','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','close','unitId','iterations','HEARTBEAT','_createInitialStateImpl','awaiting_with_pending','init','getUnit','mutations','default','pending','method','APPLY_REVISION_CONFILICT','_univerInstanceService','_state','__esModule','[OfflineState]:\x20received\x20acknowledgement.','PERMISSION_REJ','joinEvent','GLOBAL_ROOMS_CNT_EXCEEDS','permissionRejEvent','AWAITING_WITH_PENDING','[CollaborationUndoRedoService]','_instanceService','abs','getOwnPropertyDescriptor','_socket$','UNISCRIPT_RUN','_transformUndoredo','_localCacheService','_telemetryInfo','entityInit$','446295PEpBAj','[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.','_nRounds','MUTATION','unknown','_transformRemoteChangesetByStateCache','loadUnit','replace','byteOffset','LICENSE_MAX_UNITS_EXCEEDED','send','key','kdf','ws://127.0.0.1:8000/universer-api/comb/connect','SNAPSHOT_SERVER_URL_KEY','subUnitId','_undoRedoService','collaboratorID','PasswordBasedCipher','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_sendingTimer','_hash','transformSelections','subject','_queuedRemoteChangesets','_resendTimer','padding','/universer-api/file/{fileID}/sign-url','[FetchMissState]','UNIVER_PROJECT','_initRequestHeader','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','univer-pro.collaboration-client.network-condition.service','3256650cMCVAr','parse','decrypt','fetch_missing','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','ERROR_IMAGE','avatar','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','csAckEvent','onTransformState','_sender','updatePermissionPoint','length','submit\x20changeset\x20error!','_telemetryService','auth.needGotoLoginAlert','transformUndoRedo','_memberService','slice','disposeWithMe','_singleActiveUnitService','updatePermissionObjEvent','_updateState','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_onConnectionOpen','collaboration-client.config','roomInfos','_getAPIPrefixPath','/resources','createCollaborator','now','_entities','action','_getRedoStack','LICENSE_IMPORT_SIZE_EXCEEDED','onTransformRemoteChangesetByIMECache','pauseCollaboration','onSyncEditingCollabCursor','_commandService','byteLength','LEAVE','UNKNOWN_CODE','createEncryptor','sessionStatus','_candidateSocket','words','_doCryptBlock','CHANGESET_ACK','SEND_CHANGESET_TIMEOUT','_changesetReqId','?size=','/object/','231056mdNLHE','_toggleOffline','PERSON','_emitMembers','getCurrentUser','saveChangeset','getCollabEntity','ENSURE_SNAPSHOT_EXECUTION','INVALID_ARGUMENT','_injector','APPLY_PERMISSION_DENIED','state$','ONLINE','getFocusedUnit','COLLAB_WEB_SOCKET_URL','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_onConflict','OpenSSL','/-/object/-/batch_allowed','_getSendChangesetTimeout','LIVESHARE_TERMINATE','focused$','NOT_FOUND','UNAUTHENTICATED','WordArray','Could\x20not\x20dynamically\x20require\x20\x22','put','unitId\x20is\x20not\x20found','salt','_invKeySchedule','isArray','_transformService','lib','YUUMI_RATE_OVER_LIMIT','PERMISSION_DENIED','liveShareNewHost','UPDATE_CURSOR','_config','collaborators','substr','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','status','OFFLINE','_oKey','signUrlServerUrl','_scheduleCompleteTimestamp','encrypt','subscribe','NEW_CHANGESETS','objectActions','_onRecvEvent','_clearUndo','FETCH_MISSING','INGEST','name','LICENSE_DISTRO_REJECTED','location','call','_createHandler','/new_changes','uniscriptRunEvent','csShouldRetryEvent','_timeoutTimer','hasOwnProperty','clear','_transformRemoteChangesetByIMECache','PENDING','image/png','_getCurrentRevision','AES','entries','add','_commentService','getUnitId','_doReset','_process','/collaborator','unsubscribe','_retryCount','getValue','socket\x20open.','onTransformRemoteChangesetByStateCache','objectType','extend','JOIN_ROOM_FAILED','PSEUDO_FETCH_MISSING_RESULT','_collaborationSessionService','univer-pro.collaboration-client.single-active-unit-service','[CollaborationSessionService]','enableOfflineEditing','_socket','data','onlyLocal','objects','batchAllowed','_resendTimeout','/role','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_map','_clearLocalCache','_replayCachedMutations','textRanges','[DataLoaderService]','_getSignURL','downloadEndpointUrl','open$','_toggleOnline','fetchThroughInterceptors','_getLoginPath','code','state','symbol','dispose$','BASE64','onStateChange','awaiting','function','&to=','_retryConnectingTimer','_transitionLocked','_iv','defineProperty','onRemoteRetry','post','stringify','getWorkbookSelections','charCodeAt','string','revision','fromCharCode','ERROR_EXCEED_SIZE','encodeURIComponent','_applyRemoteChangeset','error$','_change$','_handler','target','_socketReady','CBC','reduce','file','MSG_FOR_ERROR','267589zQHbMw','fetchMiss','crypto','_throwTelemetryCollaborationNewChangeset','registerHTTPInterceptor','TOO_MANY_REQUESTS','sheets','CONNECTOR_DATA_TOO_LARGE','_xformMode','_replaceFileID','_sendHeartbeatTimer','univer-pro.collaboration-client-socket-service','getRoom','set','debug','_collabSessionService','push','_data','putCollaborators','randomUUID','UNIVER_SHEET','MD5','_handlerCallback','decryptBlock','_type','onload','_joinRoom','CHANGESET_REJ','_keySchedule','unitID','APPLY_REJECT','HmacMD5','[CollaborationSessionService]:\x20socket\x20error','HmacSHA1','loginUrlKey','createDecryptor','_event$','_logService','forEach','_unitInfo$','onCommentUpdate','UPDATE_PERMISSION_OBJ','loadOfflineData','changesets','readInt32LE','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','[SyncedState]:\x20received\x20acknowledgement.','COMPRESS_MUTATION_SEND','Latin1','_disableEditing','indexOf','getCurrentRevOfUnit','_hasher','_resendWithTimeout','5TVYMHQ','eventID','UNRECOGNIZED','reset','_collaborationPaused','Univer','floor','disableLocalCache','_userManagerService','pipe','SNAPSHOT_INVALID_SNAPSHOT','onMissedChangesetFetched','executeCommand','sendChangesetTimeout','_init','includes','/universer-api/authz','_imageSourceCache','_getUndoStack','OPTIONAL','ivSize','onRemoteChangeset','USERS_LEAVE','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_HTTPService','update','_redoStacks','UNIVER_UNKNOWN','appendMutation','UNIVER_COLLABORATION_CLIENT_PLUGIN','getTypeOfUnitAdded$','resolve','/universer-api/user/session-ticket','UNKNOWN_CMD','_getCtorByUniverType','sid','stopTime','_ENC_XFORM_MODE','capture','_checkMissing','CONFLICT','_mode','getActiveSheet','bind','saveSnapshot','exports','max','_onLocalMutation','encryptBlock','_createHmacHelper','random','_keyPriorReset','JOIN_ROOM_PERMISSION_DENIED','_append','_onJoinRoomEvent','baseRev','[OfflineState]:\x20received\x20changeset.','clone','leaveEvent','_exhaustRemoteChangesetQueue','_clearRetryConnectingTimer','deleteCollaborator','from','SHA1','SOCKET_FAILED_RETRY','_tryReconnect','filter','_configService','getCurrentSelections','onTransformIME','CLOSE_ROOM','_initMergeInterceptor','unpad','_localeService','_httpService','_onRemoteACK','pad','compute','enableSingleActiveInstanceLock','cmd','onSendChangeset','SUBMIT_CHANGESET_TIMEOUT','EXCHANGE_SIGN_URL_SERVER_URL_KEY','HMAC','origin','hasher','_submitChangeset','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','HttpImport','_awaitingChangeset','getTypeOfUnitDisposed$','Pkcs7','onStarting','SOCKET_FAILED','_members','_createInitialState','/-/object/list','synced','SHOULD_CLOSE_CONN','onRemoteAck','/universer-api/uniscript','onCommandExecuted','every','SUCCUSS','get','_revisionService','_nDataBytes','UNIVER_SLIDE','UnitEmbedded','ALREADY_EXISTS','url','actions','HEARTBEAT_TIMEOUT','originalMeta','PY_RUNTIME_SCRIPT_ERROR','_iKey','connection\x20error','/unit/','_clearCollaborationTimeoutTimer','encode','mode','_changesetSessionId','People','UNDEFINED','members$','transformChangesets','getMemberID','_removeRoom','/universer-api/snapshot','UnitSnapshot','hostname','equals','setShowComponents','_snapshotService','_loadDoc','then','list','toString','/rev/','_parse','confirm','createInstance','loadSheet','_socketMessageSubscription','result','not_collab','HttpExport','[PendingState]:\x20received\x20acknowledgement.','href','SYNCED','LOGIN_URL_KEY','_createSocket','OTHER_CLIENT_EDITING','_unitID','/allowed','_onRemoteRejected','error','event$','socketService','initWorkbookPermissionChange','failed\x20to\x20apply\x20missed\x20changesets!','offline','m2Prime','HELLO','NO_OTHER_CLIENTS_EDITING','findIndex','setWaitCount','collaboration-client.local-cache-service','_substituteRedoStack','\x20to\x20','JOIN','LOCAL_CACHE_INTERVAL','charAt','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','reject','LICENSE_EXPORT_SIZE_EXCEEDED','_clearRedo','requireSession','authzUrl','_clearHeartbeatTimer','1143012jfTFoE','_transformStack','session','COMPLETION_FINISHED','LIVESHARE_REQUEST_HOST','JOIN_ROOM_FULL','blockSize','_sendHeartbeat','_pendingMutations','prototype','_remoteChangesetQueue','_onMessage','listRoles','COMPRESS_MUTATION_APPLY','getConfig','listCollaborators','getSnapshotAPIPath','finalize','ceil','requestParams','routeKey','type','HEARTBEAT_INTERVAL','_key','UNIVER_DOC','_sheetTransformSelectionsService','toggleOffline','UUID','save\x20fail\x20reason\x20is\x20','session.room-permission-denied','fromCollab','roles','getResourcesRequest','keySize','_clearTimeoutTimer','_cipher','asObservable','_state$','_waitForHeartbeatResponse','image/jpeg','COMMENT_UPDATE','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','\x20-\x20','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_updateLocalCache','userID','compose','/universer-api/oidc/authpage','getImageSourceCache','body','withCredentials','_initCloseConn','6aBVMun','isPermissionRej','apply','deepClone','catch','fetching\x20missing\x20changesets\x20from\x20','\x20in\x20_schedule.','getLatestCsReqIdBySid','_fetchMissChangesets','&source=','next','_tryEnsureSocket','getUnitStatus$','duration','getImage','_startTelemetryCollaborationNewChangeset','updateCursorEvent','close$','Hex','/fetchmissing?from=','_schedule','POST','_doCreateSocket','getMember','cfg','USERS_ENTER','_acknowledgedAwaitingChangeset','JOIN_ROOM_NOT_EXISTS','_stopTelemetryCollaborationNewChangeset','generateRandomId','1101984qYCIFq','\x0aCurrent:\x20'];_0x3e33=function(){return _0x216e73;};return _0x3e33();}var ze={'exports':{}},bn=ze[_0x597ab2(0x23c)],ti;function yn(){var _0x227c2d=_0x597ab2;return ti||(ti=0x1,function(_0x4df130,_0x556fb5){(function(_0x4647af,_0x586faa){var _0x4fc824=_0x5a0e;_0x4df130[_0x4fc824(0x23c)]=_0x586faa(ie());}(bn,function(_0x180727){(function(){var _0x5cef9c=_0x5a0e,_0x39be05=_0x180727,_0x2c07b4=_0x39be05[_0x5cef9c(0x461)],_0x296658=_0x2c07b4[_0x5cef9c(0x394)],_0x7a281b=_0x39be05[_0x5cef9c(0x328)],_0x1089c8=_0x7a281b['Utf8'],_0x9fb597=_0x39be05['algo'];_0x9fb597[_0x5cef9c(0x262)]=_0x296658[_0x5cef9c(0x19e)]({'init':function(_0x566083,_0x3b56fb){var _0x1cfc42=_0x5cef9c;_0x566083=this[_0x1cfc42(0x20d)]=new _0x566083[(_0x1cfc42(0x3d2))](),typeof _0x3b56fb==_0x1cfc42(0x1ca)&&(_0x3b56fb=_0x1089c8[_0x1cfc42(0x40e)](_0x3b56fb));var _0x50daf8=_0x566083[_0x1cfc42(0x2c9)],_0x495a01=_0x50daf8*0x4;_0x3b56fb[_0x1cfc42(0x3c2)]>_0x495a01&&(_0x3b56fb=_0x566083[_0x1cfc42(0x2d4)](_0x3b56fb)),_0x3b56fb[_0x1cfc42(0x365)]();for(var _0x24d3a4=this[_0x1cfc42(0x46c)]=_0x3b56fb[_0x1cfc42(0x248)](),_0x265e0e=this[_0x1cfc42(0x282)]=_0x3b56fb[_0x1cfc42(0x248)](),_0x445030=_0x24d3a4[_0x1cfc42(0x43a)],_0x4633a1=_0x265e0e[_0x1cfc42(0x43a)],_0x1a4511=0x0;_0x1a4511<_0x50daf8;_0x1a4511++)_0x445030[_0x1a4511]^=0x5c5c5c5c,_0x4633a1[_0x1a4511]^=0x36363636;_0x24d3a4[_0x1cfc42(0x3c2)]=_0x265e0e['sigBytes']=_0x495a01,this[_0x1cfc42(0x212)]();},'reset':function(){var _0x246916=_0x5cef9c,_0x243443=this[_0x246916(0x20d)];_0x243443['reset'](),_0x243443[_0x246916(0x228)](this[_0x246916(0x282)]);},'update':function(_0x184e0e){var _0x4483e7=_0x5cef9c;return this['_hasher'][_0x4483e7(0x228)](_0x184e0e),this;},'finalize':function(_0x56a3b3){var _0x318726=_0x5cef9c,_0x4b5eac=this[_0x318726(0x20d)],_0x1b1d35=_0x4b5eac[_0x318726(0x2d4)](_0x56a3b3);_0x4b5eac['reset']();var _0x55f81b=_0x4b5eac[_0x318726(0x2d4)](this[_0x318726(0x46c)]['clone']()['concat'](_0x1b1d35));return _0x55f81b;}});}());}));}(ze)),ze[_0x227c2d(0x23c)];}var On=Ye[_0x597ab2(0x23c)],ii;function wi(){var _0x28f8c6=_0x597ab2;return ii||(ii=0x1,function(_0x2ba4cb,_0x18e836){(function(_0x36dbdf,_0x3b79b2,_0x430078){var _0x147620=_0x5a0e;_0x2ba4cb[_0x147620(0x23c)]=_0x3b79b2(ie(),Rn(),yn());}(On,function(_0x137dc3){var _0x639b72=_0x5a0e;return(function(){var _0x2d8443=_0x5a0e,_0x5aeb07=_0x137dc3,_0x5c51d1=_0x5aeb07[_0x2d8443(0x461)],_0x519def=_0x5c51d1[_0x2d8443(0x394)],_0x31ea93=_0x5c51d1['WordArray'],_0x1237b3=_0x5aeb07['algo'],_0x23f339=_0x1237b3[_0x2d8443(0x1ee)],_0x5c0a6a=_0x1237b3[_0x2d8443(0x31f)]=_0x519def['extend']({'cfg':_0x519def[_0x2d8443(0x19e)]({'keySize':0x80/0x20,'hasher':_0x23f339,'iterations':0x1}),'init':function(_0x8d1c00){var _0x25c6bb=_0x2d8443;this['cfg']=this[_0x25c6bb(0x30f)][_0x25c6bb(0x19e)](_0x8d1c00);},'compute':function(_0x980ed8,_0x512e39){var _0x4f71c8=_0x2d8443;for(var _0x490dee,_0x33e200=this[_0x4f71c8(0x30f)],_0x26adf0=_0x33e200['hasher']['create'](),_0x3ab84f=_0x31ea93[_0x4f71c8(0x348)](),_0x33f11a=_0x3ab84f[_0x4f71c8(0x43a)],_0x5d253b=_0x33e200[_0x4f71c8(0x2e4)],_0x39d988=_0x33e200[_0x4f71c8(0x3ce)];_0x33f11a[_0x4f71c8(0x419)]<_0x5d253b;){_0x490dee&&_0x26adf0[_0x4f71c8(0x228)](_0x490dee),_0x490dee=_0x26adf0[_0x4f71c8(0x228)](_0x980ed8)[_0x4f71c8(0x2d4)](_0x512e39),_0x26adf0[_0x4f71c8(0x212)]();for(var _0x3293ea=0x1;_0x3293ea<_0x39d988;_0x3293ea++)_0x490dee=_0x26adf0[_0x4f71c8(0x2d4)](_0x490dee),_0x26adf0[_0x4f71c8(0x212)]();_0x3ab84f[_0x4f71c8(0x34d)](_0x490dee);}return _0x3ab84f[_0x4f71c8(0x3c2)]=_0x5d253b*0x4,_0x3ab84f;}});_0x5aeb07[_0x2d8443(0x31f)]=function(_0x246b2a,_0x1df361,_0x4968c1){var _0x14efd6=_0x2d8443;return _0x5c0a6a[_0x14efd6(0x348)](_0x4968c1)[_0x14efd6(0x25c)](_0x246b2a,_0x1df361);};}()),_0x137dc3[_0x639b72(0x31f)];}));}(Ye)),Ye[_0x28f8c6(0x23c)];}var Je={'exports':{}},Nn=Je[_0x597ab2(0x23c)],ri;function Ui(){var _0x43e642=_0x597ab2;return ri||(ri=0x1,function(_0x4cfb55,_0x108ad9){(function(_0x2652ad,_0x41e543,_0xfec61d){var _0x2db428=_0x5a0e;_0x4cfb55[_0x2db428(0x23c)]=_0x41e543(ie(),wi());}(Nn,function(_0x196680){var _0x50ae29=_0x5a0e;_0x196680[_0x50ae29(0x461)][_0x50ae29(0x37c)]||function(_0x89f0dc){var _0x23f248=_0x50ae29,_0x5566d3=_0x196680,_0x45c90a=_0x5566d3[_0x23f248(0x461)],_0x375f63=_0x45c90a[_0x23f248(0x394)],_0x18f600=_0x45c90a['WordArray'],_0x6b3deb=_0x45c90a['BufferedBlockAlgorithm'],_0x28be17=_0x5566d3['enc'];_0x28be17[_0x23f248(0x395)];var _0x4d5e9a=_0x28be17['Base64'],_0x385d20=_0x5566d3[_0x23f248(0x3ac)],_0x54a175=_0x385d20[_0x23f248(0x31f)],_0x4595d3=_0x45c90a[_0x23f248(0x37c)]=_0x6b3deb['extend']({'cfg':_0x375f63[_0x23f248(0x19e)](),'createEncryptor':function(_0x154de7,_0xf6487e){var _0x53ce0c=_0x23f248;return this[_0x53ce0c(0x348)](this[_0x53ce0c(0x234)],_0x154de7,_0xf6487e);},'createDecryptor':function(_0x3b3347,_0x1ad9c7){var _0x519316=_0x23f248;return this[_0x519316(0x348)](this['_DEC_XFORM_MODE'],_0x3b3347,_0x1ad9c7);},'init':function(_0x5c47d1,_0x416355,_0x3f270a){var _0x2a6c67=_0x23f248;this[_0x2a6c67(0x30f)]=this[_0x2a6c67(0x30f)]['extend'](_0x3f270a),this[_0x2a6c67(0x1e1)]=_0x5c47d1,this['_key']=_0x416355,this[_0x2a6c67(0x212)]();},'reset':function(){var _0x31a67f=_0x23f248;_0x6b3deb[_0x31a67f(0x212)][_0x31a67f(0x47a)](this),this[_0x31a67f(0x48b)]();},'process':function(_0x3576c0){var _0x424ddd=_0x23f248;return this[_0x424ddd(0x244)](_0x3576c0),this[_0x424ddd(0x48c)]();},'finalize':function(_0x1881bb){var _0x3efe43=_0x23f248;_0x1881bb&&this[_0x3efe43(0x244)](_0x1881bb);var _0x4c095b=this[_0x3efe43(0x332)]();return _0x4c095b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x359a07(_0x3b6e9b){var _0x76ad6b=_0x5a0e;return typeof _0x3b6e9b==_0x76ad6b(0x1ca)?_0x55f2c9:_0x4a1466;}return function(_0x3e9369){return{'encrypt':function(_0x528dfe,_0xc3fc8c,_0x2901bc){var _0x5651ff=_0x5a0e;return _0x359a07(_0xc3fc8c)[_0x5651ff(0x46f)](_0x3e9369,_0x528dfe,_0xc3fc8c,_0x2901bc);},'decrypt':function(_0x4a856f,_0x1a2323,_0x3ef439){var _0x401e8e=_0x5a0e;return _0x359a07(_0x1a2323)[_0x401e8e(0x40f)](_0x3e9369,_0x4a856f,_0x1a2323,_0x3ef439);}};};}())});_0x45c90a['StreamCipher']=_0x4595d3[_0x23f248(0x19e)]({'_doFinalize':function(){var _0x1b312a=_0x23f248,_0x341a31=this[_0x1b312a(0x48c)](!0x0);return _0x341a31;},'blockSize':0x1});var _0x88bd09=_0x5566d3[_0x23f248(0x287)]={},_0x2a0a90=_0x45c90a['BlockCipherMode']=_0x375f63['extend']({'createEncryptor':function(_0x5f0c99,_0x23e23c){var _0x59e9ee=_0x23f248;return this['Encryptor'][_0x59e9ee(0x348)](_0x5f0c99,_0x23e23c);},'createDecryptor':function(_0xf98d9b,_0x7fe9ce){var _0x17d303=_0x23f248;return this[_0x17d303(0x385)][_0x17d303(0x348)](_0xf98d9b,_0x7fe9ce);},'init':function(_0x372278,_0x2d00bf){var _0x3d30c2=_0x23f248;this[_0x3d30c2(0x2e6)]=_0x372278,this['_iv']=_0x2d00bf;}}),_0x52c7fa=_0x88bd09[_0x23f248(0x1d5)]=(function(){var _0x289d3e=_0x23f248,_0x464c86=_0x2a0a90['extend']();_0x464c86['Encryptor']=_0x464c86[_0x289d3e(0x19e)]({'processBlock':function(_0x493061,_0x55a6ec){var _0x4da1fa=_0x289d3e,_0x2c1851=this[_0x4da1fa(0x2e6)],_0x448401=_0x2c1851[_0x4da1fa(0x2c9)];_0x432abf['call'](this,_0x493061,_0x55a6ec,_0x448401),_0x2c1851[_0x4da1fa(0x23f)](_0x493061,_0x55a6ec),this['_prevBlock']=_0x493061['slice'](_0x55a6ec,_0x55a6ec+_0x448401);}}),_0x464c86['Decryptor']=_0x464c86[_0x289d3e(0x19e)]({'processBlock':function(_0x11c4fa,_0x1b12c2){var _0x260dc6=_0x289d3e,_0x165dc5=this[_0x260dc6(0x2e6)],_0x191e97=_0x165dc5[_0x260dc6(0x2c9)],_0x4d969b=_0x11c4fa[_0x260dc6(0x41f)](_0x1b12c2,_0x1b12c2+_0x191e97);_0x165dc5[_0x260dc6(0x1f0)](_0x11c4fa,_0x1b12c2),_0x432abf[_0x260dc6(0x47a)](this,_0x11c4fa,_0x1b12c2,_0x191e97),this[_0x260dc6(0x34c)]=_0x4d969b;}});function _0x432abf(_0x4243e8,_0x11f195,_0xc703cc){var _0x40bdbd=_0x289d3e,_0x3c62b5,_0x4d5ecb=this[_0x40bdbd(0x1c3)];_0x4d5ecb?(_0x3c62b5=_0x4d5ecb,this[_0x40bdbd(0x1c3)]=_0x89f0dc):_0x3c62b5=this['_prevBlock'];for(var _0x3353d2=0x0;_0x3353d2<_0xc703cc;_0x3353d2++)_0x4243e8[_0x11f195+_0x3353d2]^=_0x3c62b5[_0x3353d2];}return _0x464c86;}()),_0x275cc5=_0x5566d3[_0x23f248(0x25b)]={},_0x3dd3fa=_0x275cc5[_0x23f248(0x26a)]={'pad':function(_0x3d64d5,_0x264d39){var _0xdba359=_0x23f248;for(var _0x9672a4=_0x264d39*0x4,_0x249576=_0x9672a4-_0x3d64d5[_0xdba359(0x3c2)]%_0x9672a4,_0x5e0671=_0x249576<<0x18|_0x249576<<0x10|_0x249576<<0x8|_0x249576,_0x38e686=[],_0xcea61a=0x0;_0xcea61a<_0x249576;_0xcea61a+=0x4)_0x38e686[_0xdba359(0x1e9)](_0x5e0671);var _0x238fb5=_0x18f600[_0xdba359(0x348)](_0x38e686,_0x249576);_0x3d64d5['concat'](_0x238fb5);},'unpad':function(_0x4ef66f){var _0x15f99c=_0x23f248,_0x27c425=_0x4ef66f[_0x15f99c(0x43a)][_0x4ef66f[_0x15f99c(0x3c2)]-0x1>>>0x2]&0xff;_0x4ef66f[_0x15f99c(0x3c2)]-=_0x27c425;}};_0x45c90a['BlockCipher']=_0x4595d3[_0x23f248(0x19e)]({'cfg':_0x4595d3[_0x23f248(0x30f)][_0x23f248(0x19e)]({'mode':_0x52c7fa,'padding':_0x3dd3fa}),'reset':function(){var _0x3e6217=_0x23f248,_0x2784db;_0x4595d3[_0x3e6217(0x212)][_0x3e6217(0x47a)](this);var _0x4f9416=this[_0x3e6217(0x30f)],_0x9d9d5=_0x4f9416['iv'],_0x52bede=_0x4f9416[_0x3e6217(0x287)];this[_0x3e6217(0x1e1)]==this[_0x3e6217(0x234)]?_0x2784db=_0x52bede[_0x3e6217(0x437)]:(_0x2784db=_0x52bede['createDecryptor'],this[_0x3e6217(0x3c3)]=0x1),this['_mode']&&this[_0x3e6217(0x238)]['__creator']==_0x2784db?this[_0x3e6217(0x238)]['init'](this,_0x9d9d5&&_0x9d9d5[_0x3e6217(0x43a)]):(this[_0x3e6217(0x238)]=_0x2784db[_0x3e6217(0x47a)](_0x52bede,this,_0x9d9d5&&_0x9d9d5[_0x3e6217(0x43a)]),this['_mode']['__creator']=_0x2784db);},'_doProcessBlock':function(_0x142c30,_0x5aefdb){var _0x18fa97=_0x23f248;this[_0x18fa97(0x238)][_0x18fa97(0x382)](_0x142c30,_0x5aefdb);},'_doFinalize':function(){var _0x178d12=_0x23f248,_0x25b135,_0x254343=this[_0x178d12(0x30f)][_0x178d12(0x406)];return this['_xformMode']==this[_0x178d12(0x234)]?(_0x254343['pad'](this[_0x178d12(0x1ea)],this[_0x178d12(0x2c9)]),_0x25b135=this[_0x178d12(0x48c)](!0x0)):(_0x25b135=this[_0x178d12(0x48c)](!0x0),_0x254343[_0x178d12(0x257)](_0x25b135)),_0x25b135;},'blockSize':0x80/0x20});var _0x5d0fd2=_0x45c90a['CipherParams']=_0x375f63[_0x23f248(0x19e)]({'init':function(_0x3bd4d){this['mixIn'](_0x3bd4d);},'toString':function(_0x2f21cb){var _0x43fdb0=_0x23f248;return(_0x2f21cb||this[_0x43fdb0(0x397)])[_0x43fdb0(0x1c7)](this);}}),_0x430d33=_0x5566d3[_0x23f248(0x320)]={},_0x418032=_0x430d33[_0x23f248(0x452)]={'stringify':function(_0xfcf700){var _0x467f61=_0x23f248,_0x501943,_0x57e96b=_0xfcf700[_0x467f61(0x362)],_0x551013=_0xfcf700[_0x467f61(0x45d)];return _0x551013?_0x501943=_0x18f600[_0x467f61(0x348)]([0x53616c74,0x65645f5f])[_0x467f61(0x34d)](_0x551013)[_0x467f61(0x34d)](_0x57e96b):_0x501943=_0x57e96b,_0x501943[_0x467f61(0x298)](_0x4d5e9a);},'parse':function(_0x31d2b7){var _0x1852e9=_0x23f248,_0x492617,_0x5bd167=_0x4d5e9a['parse'](_0x31d2b7),_0x3ea5af=_0x5bd167[_0x1852e9(0x43a)];return _0x3ea5af[0x0]==0x53616c74&&_0x3ea5af[0x1]==0x65645f5f&&(_0x492617=_0x18f600[_0x1852e9(0x348)](_0x3ea5af[_0x1852e9(0x41f)](0x2,0x4)),_0x3ea5af[_0x1852e9(0x32b)](0x0,0x4),_0x5bd167[_0x1852e9(0x3c2)]-=0x10),_0x5d0fd2[_0x1852e9(0x348)]({'ciphertext':_0x5bd167,'salt':_0x492617});}},_0x4a1466=_0x45c90a[_0x23f248(0x33e)]=_0x375f63[_0x23f248(0x19e)]({'cfg':_0x375f63[_0x23f248(0x19e)]({'format':_0x418032}),'encrypt':function(_0x1b1f6b,_0x3e09ef,_0x492109,_0x360cd0){var _0x58443f=_0x23f248;_0x360cd0=this[_0x58443f(0x30f)][_0x58443f(0x19e)](_0x360cd0);var _0x408a71=_0x1b1f6b[_0x58443f(0x437)](_0x492109,_0x360cd0),_0x2f5c47=_0x408a71['finalize'](_0x3e09ef),_0x35928f=_0x408a71[_0x58443f(0x30f)];return _0x5d0fd2['create']({'ciphertext':_0x2f5c47,'key':_0x492109,'iv':_0x35928f['iv'],'algorithm':_0x1b1f6b,'mode':_0x35928f[_0x58443f(0x287)],'padding':_0x35928f[_0x58443f(0x406)],'blockSize':_0x1b1f6b[_0x58443f(0x2c9)],'formatter':_0x360cd0[_0x58443f(0x320)]});},'decrypt':function(_0x3786a9,_0x33a77d,_0x441569,_0x15f3e1){var _0x271737=_0x23f248;_0x15f3e1=this[_0x271737(0x30f)][_0x271737(0x19e)](_0x15f3e1),_0x33a77d=this[_0x271737(0x29a)](_0x33a77d,_0x15f3e1[_0x271737(0x320)]);var _0x37d95d=_0x3786a9[_0x271737(0x1fc)](_0x441569,_0x15f3e1)[_0x271737(0x2d4)](_0x33a77d[_0x271737(0x362)]);return _0x37d95d;},'_parse':function(_0x3598f9,_0xb922f5){var _0x39a3ce=_0x23f248;return typeof _0x3598f9==_0x39a3ce(0x1ca)?_0xb922f5[_0x39a3ce(0x40e)](_0x3598f9,this):_0x3598f9;}}),_0x55e04b=_0x5566d3[_0x23f248(0x3f8)]={},_0x16f3d5=_0x55e04b[_0x23f248(0x452)]={'execute':function(_0x162278,_0x2f23f3,_0x5a61e8,_0x485440,_0x1e93f1){var _0x5bc311=_0x23f248;if(_0x485440||(_0x485440=_0x18f600[_0x5bc311(0x241)](0x40/0x8)),_0x1e93f1)var _0x4ee8ee=_0x54a175[_0x5bc311(0x348)]({'keySize':_0x2f23f3+_0x5a61e8,'hasher':_0x1e93f1})[_0x5bc311(0x25c)](_0x162278,_0x485440);else var _0x4ee8ee=_0x54a175[_0x5bc311(0x348)]({'keySize':_0x2f23f3+_0x5a61e8})[_0x5bc311(0x25c)](_0x162278,_0x485440);var _0x3ee7b2=_0x18f600[_0x5bc311(0x348)](_0x4ee8ee[_0x5bc311(0x43a)]['slice'](_0x2f23f3),_0x5a61e8*0x4);return _0x4ee8ee['sigBytes']=_0x2f23f3*0x4,_0x5d0fd2[_0x5bc311(0x348)]({'key':_0x4ee8ee,'iv':_0x3ee7b2,'salt':_0x485440});}},_0x55f2c9=_0x45c90a[_0x23f248(0x3fe)]=_0x4a1466['extend']({'cfg':_0x4a1466[_0x23f248(0x30f)][_0x23f248(0x19e)]({'kdf':_0x16f3d5}),'encrypt':function(_0x4ce7f5,_0x401a1e,_0x215165,_0x44ffc8){var _0x588bde=_0x23f248;_0x44ffc8=this[_0x588bde(0x30f)][_0x588bde(0x19e)](_0x44ffc8);var _0x442d3c=_0x44ffc8[_0x588bde(0x3f8)][_0x588bde(0x338)](_0x215165,_0x4ce7f5[_0x588bde(0x2e4)],_0x4ce7f5[_0x588bde(0x223)],_0x44ffc8['salt'],_0x44ffc8['hasher']);_0x44ffc8['iv']=_0x442d3c['iv'];var _0x4e57bd=_0x4a1466[_0x588bde(0x46f)][_0x588bde(0x47a)](this,_0x4ce7f5,_0x401a1e,_0x442d3c[_0x588bde(0x3f7)],_0x44ffc8);return _0x4e57bd['mixIn'](_0x442d3c),_0x4e57bd;},'decrypt':function(_0x362b57,_0x365ff8,_0x509deb,_0x5b1768){var _0xa2bdae=_0x23f248;_0x5b1768=this[_0xa2bdae(0x30f)][_0xa2bdae(0x19e)](_0x5b1768),_0x365ff8=this[_0xa2bdae(0x29a)](_0x365ff8,_0x5b1768[_0xa2bdae(0x320)]);var _0x199ef3=_0x5b1768[_0xa2bdae(0x3f8)][_0xa2bdae(0x338)](_0x509deb,_0x362b57['keySize'],_0x362b57[_0xa2bdae(0x223)],_0x365ff8[_0xa2bdae(0x45d)],_0x5b1768[_0xa2bdae(0x264)]);_0x5b1768['iv']=_0x199ef3['iv'];var _0x24f46a=_0x4a1466[_0xa2bdae(0x40f)][_0xa2bdae(0x47a)](this,_0x362b57,_0x365ff8,_0x199ef3['key'],_0x5b1768);return _0x24f46a;}});}();}));}(Je)),Je[_0x43e642(0x23c)];}var Dn=Ge['exports'],ni;function wn(){var _0x370afc=_0x597ab2;return ni||(ni=0x1,function(_0x37e22b,_0xbc569){(function(_0x3ede88,_0x4ab0e1,_0x17d13e){var _0x260851=_0x5a0e;_0x37e22b[_0x260851(0x23c)]=_0x4ab0e1(ie(),Di(),Tn(),wi(),Ui());}(Dn,function(_0x6dce19){return(function(){var _0x3ede3c=_0x5a0e,_0x4f1e22=_0x6dce19,_0x5ac4a0=_0x4f1e22[_0x3ede3c(0x461)],_0x1af2e5=_0x5ac4a0['BlockCipher'],_0x1c09d6=_0x4f1e22[_0x3ede3c(0x3ac)],_0x39e72c=[],_0x1d3685=[],_0x375a16=[],_0x315dd6=[],_0x466f1b=[],_0x5a3e11=[],_0x3ecf08=[],_0x28ff7b=[],_0x227415=[],_0xa535dc=[];(function(){for(var _0x33e346=[],_0x2bb2ff=0x0;_0x2bb2ff<0x100;_0x2bb2ff++)_0x2bb2ff<0x80?_0x33e346[_0x2bb2ff]=_0x2bb2ff<<0x1:_0x33e346[_0x2bb2ff]=_0x2bb2ff<<0x1^0x11b;for(var _0x408ab5=0x0,_0x422283=0x0,_0x2bb2ff=0x0;_0x2bb2ff<0x100;_0x2bb2ff++){var _0x596ed5=_0x422283^_0x422283<<0x1^_0x422283<<0x2^_0x422283<<0x3^_0x422283<<0x4;_0x596ed5=_0x596ed5>>>0x8^_0x596ed5&0xff^0x63,_0x39e72c[_0x408ab5]=_0x596ed5,_0x1d3685[_0x596ed5]=_0x408ab5;var _0x49fae5=_0x33e346[_0x408ab5],_0x149093=_0x33e346[_0x49fae5],_0x1c827d=_0x33e346[_0x149093],_0x74cf5c=_0x33e346[_0x596ed5]*0x101^_0x596ed5*0x1010100;_0x375a16[_0x408ab5]=_0x74cf5c<<0x18|_0x74cf5c>>>0x8,_0x315dd6[_0x408ab5]=_0x74cf5c<<0x10|_0x74cf5c>>>0x10,_0x466f1b[_0x408ab5]=_0x74cf5c<<0x8|_0x74cf5c>>>0x18,_0x5a3e11[_0x408ab5]=_0x74cf5c;var _0x74cf5c=_0x1c827d*0x1010101^_0x149093*0x10001^_0x49fae5*0x101^_0x408ab5*0x1010100;_0x3ecf08[_0x596ed5]=_0x74cf5c<<0x18|_0x74cf5c>>>0x8,_0x28ff7b[_0x596ed5]=_0x74cf5c<<0x10|_0x74cf5c>>>0x10,_0x227415[_0x596ed5]=_0x74cf5c<<0x8|_0x74cf5c>>>0x18,_0xa535dc[_0x596ed5]=_0x74cf5c,_0x408ab5?(_0x408ab5=_0x49fae5^_0x33e346[_0x33e346[_0x33e346[_0x1c827d^_0x49fae5]]],_0x422283^=_0x33e346[_0x33e346[_0x422283]]):_0x408ab5=_0x422283=0x1;}}());var _0x39d828=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x482ef3=_0x1c09d6[_0x3ede3c(0x486)]=_0x1af2e5[_0x3ede3c(0x19e)]({'_doReset':function(){var _0x5132ea=_0x3ede3c,_0x75ffa7;if(!(this[_0x5132ea(0x3ee)]&&this[_0x5132ea(0x242)]===this[_0x5132ea(0x2da)])){for(var _0x38c4e7=this[_0x5132ea(0x242)]=this['_key'],_0x5a2fd2=_0x38c4e7[_0x5132ea(0x43a)],_0x8b0754=_0x38c4e7['sigBytes']/0x4,_0x3724a2=this[_0x5132ea(0x3ee)]=_0x8b0754+0x6,_0x5318ee=(_0x3724a2+0x1)*0x4,_0x4fae90=this[_0x5132ea(0x1f5)]=[],_0x205b31=0x0;_0x205b31<_0x5318ee;_0x205b31++)_0x205b31<_0x8b0754?_0x4fae90[_0x205b31]=_0x5a2fd2[_0x205b31]:(_0x75ffa7=_0x4fae90[_0x205b31-0x1],_0x205b31%_0x8b0754?_0x8b0754>0x6&&_0x205b31%_0x8b0754==0x4&&(_0x75ffa7=_0x39e72c[_0x75ffa7>>>0x18]<<0x18|_0x39e72c[_0x75ffa7>>>0x10&0xff]<<0x10|_0x39e72c[_0x75ffa7>>>0x8&0xff]<<0x8|_0x39e72c[_0x75ffa7&0xff]):(_0x75ffa7=_0x75ffa7<<0x8|_0x75ffa7>>>0x18,_0x75ffa7=_0x39e72c[_0x75ffa7>>>0x18]<<0x18|_0x39e72c[_0x75ffa7>>>0x10&0xff]<<0x10|_0x39e72c[_0x75ffa7>>>0x8&0xff]<<0x8|_0x39e72c[_0x75ffa7&0xff],_0x75ffa7^=_0x39d828[_0x205b31/_0x8b0754|0x0]<<0x18),_0x4fae90[_0x205b31]=_0x4fae90[_0x205b31-_0x8b0754]^_0x75ffa7);for(var _0x3cb399=this[_0x5132ea(0x45e)]=[],_0x3a2af2=0x0;_0x3a2af2<_0x5318ee;_0x3a2af2++){var _0x205b31=_0x5318ee-_0x3a2af2;if(_0x3a2af2%0x4)var _0x75ffa7=_0x4fae90[_0x205b31];else var _0x75ffa7=_0x4fae90[_0x205b31-0x4];_0x3a2af2<0x4||_0x205b31<=0x4?_0x3cb399[_0x3a2af2]=_0x75ffa7:_0x3cb399[_0x3a2af2]=_0x3ecf08[_0x39e72c[_0x75ffa7>>>0x18]]^_0x28ff7b[_0x39e72c[_0x75ffa7>>>0x10&0xff]]^_0x227415[_0x39e72c[_0x75ffa7>>>0x8&0xff]]^_0xa535dc[_0x39e72c[_0x75ffa7&0xff]];}}},'encryptBlock':function(_0x20289b,_0x5d72c8){var _0x4a18b1=_0x3ede3c;this['_doCryptBlock'](_0x20289b,_0x5d72c8,this[_0x4a18b1(0x1f5)],_0x375a16,_0x315dd6,_0x466f1b,_0x5a3e11,_0x39e72c);},'decryptBlock':function(_0x11151c,_0x3c80c7){var _0x456e41=_0x3ede3c,_0x514af3=_0x11151c[_0x3c80c7+0x1];_0x11151c[_0x3c80c7+0x1]=_0x11151c[_0x3c80c7+0x3],_0x11151c[_0x3c80c7+0x3]=_0x514af3,this[_0x456e41(0x43b)](_0x11151c,_0x3c80c7,this[_0x456e41(0x45e)],_0x3ecf08,_0x28ff7b,_0x227415,_0xa535dc,_0x1d3685);var _0x514af3=_0x11151c[_0x3c80c7+0x1];_0x11151c[_0x3c80c7+0x1]=_0x11151c[_0x3c80c7+0x3],_0x11151c[_0x3c80c7+0x3]=_0x514af3;},'_doCryptBlock':function(_0x2be34f,_0x369acc,_0x47a8bc,_0x39dadc,_0x2f55b3,_0x2077c8,_0x1dcacd,_0x2480d8){var _0x214733=_0x3ede3c;for(var _0x136156=this[_0x214733(0x3ee)],_0x125c80=_0x2be34f[_0x369acc]^_0x47a8bc[0x0],_0x230b32=_0x2be34f[_0x369acc+0x1]^_0x47a8bc[0x1],_0x3b052b=_0x2be34f[_0x369acc+0x2]^_0x47a8bc[0x2],_0x5b35cc=_0x2be34f[_0x369acc+0x3]^_0x47a8bc[0x3],_0x74f18=0x4,_0x15805a=0x1;_0x15805a<_0x136156;_0x15805a++){var _0x26505f=_0x39dadc[_0x125c80>>>0x18]^_0x2f55b3[_0x230b32>>>0x10&0xff]^_0x2077c8[_0x3b052b>>>0x8&0xff]^_0x1dcacd[_0x5b35cc&0xff]^_0x47a8bc[_0x74f18++],_0x7486ad=_0x39dadc[_0x230b32>>>0x18]^_0x2f55b3[_0x3b052b>>>0x10&0xff]^_0x2077c8[_0x5b35cc>>>0x8&0xff]^_0x1dcacd[_0x125c80&0xff]^_0x47a8bc[_0x74f18++],_0x3f6d4b=_0x39dadc[_0x3b052b>>>0x18]^_0x2f55b3[_0x5b35cc>>>0x10&0xff]^_0x2077c8[_0x125c80>>>0x8&0xff]^_0x1dcacd[_0x230b32&0xff]^_0x47a8bc[_0x74f18++],_0x3b6798=_0x39dadc[_0x5b35cc>>>0x18]^_0x2f55b3[_0x125c80>>>0x10&0xff]^_0x2077c8[_0x230b32>>>0x8&0xff]^_0x1dcacd[_0x3b052b&0xff]^_0x47a8bc[_0x74f18++];_0x125c80=_0x26505f,_0x230b32=_0x7486ad,_0x3b052b=_0x3f6d4b,_0x5b35cc=_0x3b6798;}var _0x26505f=(_0x2480d8[_0x125c80>>>0x18]<<0x18|_0x2480d8[_0x230b32>>>0x10&0xff]<<0x10|_0x2480d8[_0x3b052b>>>0x8&0xff]<<0x8|_0x2480d8[_0x5b35cc&0xff])^_0x47a8bc[_0x74f18++],_0x7486ad=(_0x2480d8[_0x230b32>>>0x18]<<0x18|_0x2480d8[_0x3b052b>>>0x10&0xff]<<0x10|_0x2480d8[_0x5b35cc>>>0x8&0xff]<<0x8|_0x2480d8[_0x125c80&0xff])^_0x47a8bc[_0x74f18++],_0x3f6d4b=(_0x2480d8[_0x3b052b>>>0x18]<<0x18|_0x2480d8[_0x5b35cc>>>0x10&0xff]<<0x10|_0x2480d8[_0x125c80>>>0x8&0xff]<<0x8|_0x2480d8[_0x230b32&0xff])^_0x47a8bc[_0x74f18++],_0x3b6798=(_0x2480d8[_0x5b35cc>>>0x18]<<0x18|_0x2480d8[_0x125c80>>>0x10&0xff]<<0x10|_0x2480d8[_0x230b32>>>0x8&0xff]<<0x8|_0x2480d8[_0x3b052b&0xff])^_0x47a8bc[_0x74f18++];_0x2be34f[_0x369acc]=_0x26505f,_0x2be34f[_0x369acc+0x1]=_0x7486ad,_0x2be34f[_0x369acc+0x2]=_0x3f6d4b,_0x2be34f[_0x369acc+0x3]=_0x3b6798;},'keySize':0x100/0x20});_0x4f1e22[_0x3ede3c(0x486)]=_0x1af2e5['_createHelper'](_0x482ef3);}()),_0x6dce19['AES'];}));}(Ge)),Ge[_0x370afc(0x23c)];}var Un=wn();const An=He(Un);var Pn=Di();const si=He(Pn);var Xe={'exports':{}},xn=Xe[_0x597ab2(0x23c)],oi;function Ln(){return oi||(oi=0x1,function(_0x49a460,_0x2b4cdf){(function(_0x2aea3c,_0x10ada7){var _0x608536=_0x5a0e;_0x49a460[_0x608536(0x23c)]=_0x10ada7(ie());}(xn,function(_0x7076b1){var _0x2ae822=_0x5a0e;return _0x7076b1[_0x2ae822(0x328)]['Utf8'];}));}(Xe)),Xe['exports'];}var Mn=Ln();const kn=He(Mn);var Ze={'exports':{}},$n=Ze[_0x597ab2(0x23c)],ai;function Hn(){var _0x398c9e=_0x597ab2;return ai||(ai=0x1,function(_0x4f4f46,_0x159907){(function(_0x29a414,_0xf57e5b){var _0x34d9e4=_0x5a0e;_0x4f4f46[_0x34d9e4(0x23c)]=_0xf57e5b(ie());}($n,function(_0x7ca50f){var _0x3171f6=_0x5a0e;return(function(){var _0x3c1d12=_0x5a0e;if(typeof ArrayBuffer=='function'){var _0x124f8f=_0x7ca50f,_0x3b438d=_0x124f8f[_0x3c1d12(0x461)],_0x327f4c=_0x3b438d[_0x3c1d12(0x459)],_0x85fd13=_0x327f4c[_0x3c1d12(0x3d2)],_0x23526e=_0x327f4c[_0x3c1d12(0x3d2)]=function(_0x285d38){var _0x4f09b8=_0x3c1d12;if(_0x285d38 instanceof ArrayBuffer&&(_0x285d38=new Uint8Array(_0x285d38)),(_0x285d38 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x285d38 instanceof Uint8ClampedArray||_0x285d38 instanceof Int16Array||_0x285d38 instanceof Uint16Array||_0x285d38 instanceof Int32Array||_0x285d38 instanceof Uint32Array||_0x285d38 instanceof Float32Array||_0x285d38 instanceof Float64Array)&&(_0x285d38=new Uint8Array(_0x285d38['buffer'],_0x285d38[_0x4f09b8(0x3f4)],_0x285d38[_0x4f09b8(0x434)])),_0x285d38 instanceof Uint8Array){for(var _0x188c56=_0x285d38[_0x4f09b8(0x434)],_0x3de4ec=[],_0x3ad129=0x0;_0x3ad129<_0x188c56;_0x3ad129++)_0x3de4ec[_0x3ad129>>>0x2]|=_0x285d38[_0x3ad129]<<0x18-_0x3ad129%0x4*0x8;_0x85fd13[_0x4f09b8(0x47a)](this,_0x3de4ec,_0x188c56);}else _0x85fd13[_0x4f09b8(0x2f9)](this,arguments);};_0x23526e['prototype']=_0x327f4c;}}()),_0x7ca50f[_0x3171f6(0x461)][_0x3171f6(0x459)];}));}(Ze)),Ze[_0x398c9e(0x23c)];}var Bn=Hn();const jn=He(Bn);var Qe={'exports':{}},Fn=Qe['exports'],ci;function Gn(){var _0x23a19e=_0x597ab2;return ci||(ci=0x1,function(_0x823922,_0x5f2345){(function(_0x285d72,_0x52724b,_0x3ed200){_0x823922['exports']=_0x52724b(ie(),Ui());}(Fn,function(_0x1c6a39){var _0x2aba13=_0x5a0e;return _0x1c6a39[_0x2aba13(0x25b)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x1c6a39['pad']['NoPadding'];}));}(Qe)),Qe[_0x23a19e(0x23c)];}var Vn=Gn();const Wn=He(Vn);function Kn(_0x3adfe0,_0x2eedda){var _0x19def4=_0x597ab2;const _0x3cd87b=_0x2eedda-_0x3adfe0[_0x19def4(0x419)]%_0x2eedda,_0x10b7bb=String[_0x19def4(0x1cc)](_0x3cd87b)[_0x19def4(0x31c)](_0x3cd87b);return _0x3adfe0+_0x10b7bb;}function Yn(_0x324b1f,_0xbdda17){var _0x269abf=_0x597ab2;const _0x376c7f=jn[_0x269abf(0x241)](0x10),_0x13d5d6=Kn(_0x324b1f,0x10),_0x56fa90=An['encrypt'](kn[_0x269abf(0x40e)](_0x13d5d6),si[_0x269abf(0x40e)](_0xbdda17),{'iv':_0x376c7f,'padding':Wn});return _0x376c7f[_0x269abf(0x34d)](_0x56fa90[_0x269abf(0x362)])[_0x269abf(0x298)](si);}function qn(){var _0x3fbd16=_0x597ab2;const _0x2e2af1=_0x5f29b0()['__Key__'];if(_0x2e2af1){const _0x581af9={'time':Math[_0x3fbd16(0x215)](Date[_0x3fbd16(0x42b)]()/0x3e8),'domain':location[_0x3fbd16(0x291)]};return Yn(JSON[_0x3fbd16(0x1c7)](_0x581af9),_0x2e2af1);}}var zn=Object[_0x597ab2(0x3e5)],Jn=(_0x426e00,_0x302886,_0xbb62fe,_0x5ece1e)=>{for(var _0x244144=_0x5ece1e>0x1?void 0x0:_0x5ece1e?zn(_0x302886,_0xbb62fe):_0x302886,_0x3c1bea=_0x426e00['length']-0x1,_0x5a167d;_0x3c1bea>=0x0;_0x3c1bea--)(_0x5a167d=_0x426e00[_0x3c1bea])&&(_0x244144=_0x5a167d(_0x244144)||_0x244144);return _0x244144;},Xn=(_0x3fb886,_0x405e71)=>(_0x45493d,_0x2c3232)=>_0x405e71(_0x45493d,_0x2c3232,_0x3fb886);let ot=class{constructor(_0x2e360b){var _0x42701f=_0x597ab2;this['_httpService']=_0x2e360b,this[_0x42701f(0x40a)]();}[_0x597ab2(0x40a)](){var _0x30b95e=_0x597ab2;this[_0x30b95e(0x259)][_0x30b95e(0x1dd)]({'interceptor':(_0xef0cc6,_0x56bdd4)=>{var _0x4ef9cc=_0x30b95e;const _0x3e7d23=_0xef0cc6[_0x4ef9cc(0x31e)],_0x2e0af2=qn();return _0x2e0af2&&_0x3e7d23[_0x4ef9cc(0x1e6)]('x-univer-host',_0x2e0af2),_0x56bdd4(_0xef0cc6);}});}};ot=Jn([Xn(0x0,_0x5dc8b8(_0x546518))],ot);var Zn=Object[_0x597ab2(0x3e5)],Qn=(_0x4c7581,_0x1e4dc9,_0x13b231,_0x54fac6)=>{var _0x4db28d=_0x597ab2;for(var _0x558f46=_0x54fac6>0x1?void 0x0:_0x54fac6?Zn(_0x1e4dc9,_0x13b231):_0x1e4dc9,_0x1df95c=_0x4c7581[_0x4db28d(0x419)]-0x1,_0x2a3f9d;_0x1df95c>=0x0;_0x1df95c--)(_0x2a3f9d=_0x4c7581[_0x1df95c])&&(_0x558f46=_0x2a3f9d(_0x558f46)||_0x558f46);return _0x558f46;},mt=(_0x57249b,_0x3b9411)=>(_0x1c4833,_0x5db0a3)=>_0x3b9411(_0x1c4833,_0x5db0a3,_0x57249b);let bt=class extends _0x10e9f1{constructor(_0xaef865,_0x2858da,_0xa0b133){var _0x32204d=_0x597ab2;super(),N(this,_0x32204d(0x200),new _0x103965(null)),N(this,'unitInfo$',this[_0x32204d(0x200)][_0x32204d(0x2e7)]()),(this['_logService']=_0xaef865,this[_0x32204d(0x294)]=_0x2858da,this[_0x32204d(0x3e9)]=_0xa0b133);}async[_0x597ab2(0x3f2)](_0x22be4f,_0x155e99,_0x40ec2f){var _0x21cfb7=_0x597ab2;this[_0x21cfb7(0x200)][_0x21cfb7(0x301)]({'unitId':_0x22be4f,'type':_0x155e99,'subUnitId':_0x40ec2f});let _0x3702df=null;switch(_0x155e99){case Q[_0x21cfb7(0x1ed)]:{_0x3702df=await this['_loadSheet'](_0x22be4f);break;}case Q[_0x21cfb7(0x2db)]:{_0x3702df=await this[_0x21cfb7(0x295)](_0x22be4f);break;}default:{this[_0x21cfb7(0x1fe)][_0x21cfb7(0x2ab)](_0x21cfb7(0x1b1),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x3702df;}async[_0x597ab2(0x345)](_0x3e5d57){var _0x2f2723=_0x597ab2,_0x21ca43;let _0x13b34c=0x0;const _0x2620e1=await((_0x21ca43=this[_0x2f2723(0x3e9)])==null?void 0x0:_0x21ca43[_0x2f2723(0x203)](_0x3e5d57));return _0x2620e1&&(_0x2620e1['awaitingChangeset']||_0x2620e1[_0x2f2723(0x3d4)][_0x2f2723(0x419)]!==0x0)&&(_0x13b34c=_0x2620e1[_0x2f2723(0x37d)]),_0x13b34c===0x0&&this[_0x2f2723(0x1fe)][_0x2f2723(0x1e7)](_0x2f2723(0x1b1),_0x2f2723(0x411)),this[_0x2f2723(0x294)][_0x2f2723(0x29d)](_0x3e5d57,_0x13b34c);}async[_0x597ab2(0x295)](_0x2c340d){var _0x42f480=_0x597ab2,_0x4d943d;let _0x1ead47=0x0;const _0x465104=await((_0x4d943d=this[_0x42f480(0x3e9)])==null?void 0x0:_0x4d943d[_0x42f480(0x203)](_0x2c340d));return _0x465104&&(_0x465104['awaitingChangeset']||_0x465104[_0x42f480(0x3d4)]['length']!==0x0)&&(_0x1ead47=_0x465104['rev']),_0x1ead47===0x0&&this[_0x42f480(0x1fe)][_0x42f480(0x1e7)]('[DataLoaderService]',_0x42f480(0x411)),this['_snapshotService'][_0x42f480(0x317)](_0x2c340d,_0x1ead47);}};bt=Qn([mt(0x0,_0x2dcdf5),mt(0x1,_0x5dc8b8(_0x45512c)),mt(0x2,_0x5d860b(J))],bt);var es=Object['getOwnPropertyDescriptor'],ts=(_0x352169,_0x3e7050,_0x48b862,_0x164025)=>{for(var _0x12867d=_0x164025>0x1?void 0x0:_0x164025?es(_0x3e7050,_0x48b862):_0x3e7050,_0x7627fa=_0x352169['length']-0x1,_0x290373;_0x7627fa>=0x0;_0x7627fa--)(_0x290373=_0x352169[_0x7627fa])&&(_0x12867d=_0x290373(_0x12867d)||_0x12867d);return _0x12867d;},gt=(_0x26fec3,_0x5c6c97)=>(_0x174d70,_0x1cbd06)=>_0x5c6c97(_0x174d70,_0x1cbd06,_0x26fec3);const is=[_0x597ab2(0x484),_0x597ab2(0x2ea),'image/jpg','image/gif',_0x597ab2(0x3a1)],rs=0x5*0x400*0x400,ns='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',ss='/universer-api/stream/file/upload',os=_0x597ab2(0x261),as=_0x597ab2(0x407);let yt=class{constructor(_0x4c7cfb,_0x18e178,_0x487cfd){var _0x46268f=_0x597ab2;N(this,'_waitCount',0x0),N(this,_0x46268f(0x1d1),new _0x4f59b9()),N(this,_0x46268f(0x35e),this[_0x46268f(0x1d1)]),N(this,'_imageSourceCache',new Map()),(this[_0x46268f(0x259)]=_0x4c7cfb,this[_0x46268f(0x252)]=_0x18e178,this[_0x46268f(0x3d9)]=_0x487cfd);}[_0x597ab2(0x2b5)](_0x116ef9){var _0x12130d=_0x597ab2;this[_0x12130d(0x39c)]=_0x116ef9,this[_0x12130d(0x1d1)][_0x12130d(0x301)](_0x116ef9);}[_0x597ab2(0x2f3)](_0x2cd852,_0x120630){var _0x588fe7=_0x597ab2;if(_0x120630===_0x411cb2[_0x588fe7(0x1bc)]){const _0x304bd4=new Image();return _0x304bd4['src']=_0x2cd852,_0x304bd4;}return this[_0x588fe7(0x220)][_0x588fe7(0x277)](_0x2cd852);}[_0x597ab2(0x342)](_0x442097,_0x4435da,_0x451222){var _0x4e7b51=_0x597ab2;_0x4435da===_0x411cb2['BASE64']||_0x451222==null||this[_0x4e7b51(0x220)][_0x4e7b51(0x1e6)](_0x442097,_0x451222);}async[_0x597ab2(0x305)](_0x557dd9){var _0x19a50b=_0x597ab2;try{const _0x26f2ef=this[_0x19a50b(0x1e2)](this[_0x19a50b(0x1b2)](),''+_0x557dd9),_0x21ef36=(await this[_0x19a50b(0x259)]['get'](_0x26f2ef))[_0x19a50b(0x2f4)];if(_0x21ef36[_0x19a50b(0x2ab)]&&_0x21ef36[_0x19a50b(0x2ab)][_0x19a50b(0x1b8)]===Si['OK']){const _0xdc0be4=new URL(_0x21ef36[_0x19a50b(0x27d)],this[_0x19a50b(0x3a8)]())[_0x19a50b(0x298)]();return Promise[_0x19a50b(0x22e)](_0xdc0be4);}return Promise['reject'](_0x21ef36[_0x19a50b(0x2ab)]);}catch(_0x62b362){return Promise[_0x19a50b(0x2bd)](_0x62b362);}}async['saveImage'](_0x39911f){var _0xebada5=_0x597ab2;let _0x570003='';if(!is[_0xebada5(0x21e)](_0x39911f[_0xebada5(0x2d8)]))return this[_0xebada5(0x33b)](),Promise[_0xebada5(0x2bd)](new Error(_0x1bda46['ERROR_IMAGE_TYPE']));if(_0x39911f[_0xebada5(0x3bd)]>rs)return this[_0xebada5(0x33b)](),Promise[_0xebada5(0x2bd)](new Error(_0x1bda46[_0xebada5(0x1cd)]));try{const _0x2bc954=new FormData();_0x2bc954['append'](_0xebada5(0x1d7),_0x39911f);const _0x13f0f2=this[_0xebada5(0x3d9)][_0xebada5(0x44e)](),_0x6439d0=_0x13f0f2==null?void 0x0:_0x13f0f2[_0xebada5(0x48a)]();if(!_0x6439d0)throw new Error(_0xebada5(0x45c));const _0x9b756c=this[_0xebada5(0x38f)]()+_0xebada5(0x43f)+_0x39911f['size']['toString']()+_0xebada5(0x300)+Ei[_0xebada5(0x27b)]+'&assign='+encodeURIComponent(_0x6439d0),_0x88b445=await(await fetch(_0x9b756c,{'method':_0xebada5(0x30c),'body':_0x2bc954}))['json']();if(typeof _0x88b445[_0xebada5(0x334)]!=_0xebada5(0x1ca))return this[_0xebada5(0x33b)](),Promise[_0xebada5(0x2bd)](new Error(_0x1bda46[_0xebada5(0x412)]));_0x570003=_0x88b445[_0xebada5(0x334)];}catch{return this[_0xebada5(0x33b)](),Promise[_0xebada5(0x2bd)](new Error(_0x1bda46[_0xebada5(0x412)]));}return new Promise((_0x2974b6,_0x3e0389)=>{var _0x579322=_0xebada5;const _0x335808=new FileReader();_0x335808[_0x579322(0x335)](_0x39911f),_0x335808[_0x579322(0x1f2)]=_0x25ea1f=>{var _0x337205=_0x579322,_0xba6249;const _0x9d1b61=(_0xba6249=_0x25ea1f[_0x337205(0x1d3)])==null?void 0x0:_0xba6249[_0x337205(0x29f)];if(_0x9d1b61==null){this[_0x337205(0x33b)](),_0x3e0389(new Error(_0x1bda46[_0x337205(0x412)]));return;}const _0x28714e=_0x1a2cf5[_0x337205(0x314)](0x6);_0x2974b6({'imageId':_0x28714e,'imageSourceType':_0x411cb2[_0x337205(0x2de)],'source':_0x570003,'base64Cache':_0x9d1b61,'status':_0x1bda46[_0x337205(0x276)]}),this['_decreaseWaiting']();};});}[_0x597ab2(0x38f)](){var _0x2145f4=_0x597ab2,_0x48616d,_0x172457;const _0x5b282a=this[_0x2145f4(0x252)][_0x2145f4(0x2d1)](ns),_0xcbd83e=this[_0x2145f4(0x252)]['getConfig'](q);return(_0x172457=(_0x48616d=_0xcbd83e==null?void 0x0:_0xcbd83e['uploadFileServerUrl'])!=null?_0x48616d:_0x5b282a)!=null?_0x172457:ss;}['_getSignURL'](){var _0x1d0089=_0x597ab2,_0x4c2de4,_0x57cf47;const _0x4f890c=this[_0x1d0089(0x252)][_0x1d0089(0x2d1)](os),_0xaa60fa=this['_configService'][_0x1d0089(0x2d1)](q);return(_0x57cf47=(_0x4c2de4=_0xaa60fa==null?void 0x0:_0xaa60fa[_0x1d0089(0x46d)])!=null?_0x4c2de4:_0x4f890c)!=null?_0x57cf47:as;}[_0x597ab2(0x3a8)](){var _0x58573a=_0x597ab2,_0x109667;const _0x2a4dd7=this[_0x58573a(0x252)][_0x58573a(0x2d1)](q);return(_0x109667=_0x2a4dd7==null?void 0x0:_0x2a4dd7[_0x58573a(0x1b3)])!=null?_0x109667:location[_0x58573a(0x263)];}[_0x597ab2(0x1e2)](_0x5b4da4,_0xbab89a){var _0xc395e8=_0x597ab2;return _0x5b4da4[_0xc395e8(0x3f3)]('{fileID}',_0xbab89a);}[_0x597ab2(0x33b)](){var _0x30fe94=_0x597ab2;this[_0x30fe94(0x39c)]-=0x1,this['_change$']['next'](this[_0x30fe94(0x39c)]);}};yt=ts([gt(0x0,_0x5dc8b8(_0x546518)),gt(0x1,_0x52e356),gt(0x2,_0x5dc8b8(_0x541816))],yt);var cs=Object[_0x597ab2(0x3e5)],hs=(_0x1e0080,_0x40db7c,_0x366f93,_0x1982f9)=>{var _0x133ad2=_0x597ab2;for(var _0x2ce87a=_0x1982f9>0x1?void 0x0:_0x1982f9?cs(_0x40db7c,_0x366f93):_0x40db7c,_0x36a1da=_0x1e0080[_0x133ad2(0x419)]-0x1,_0x13077d;_0x36a1da>=0x0;_0x36a1da--)(_0x13077d=_0x1e0080[_0x36a1da])&&(_0x2ce87a=_0x13077d(_0x2ce87a)||_0x2ce87a);return _0x2ce87a;},hi=(_0x5221d3,_0x10058a)=>(_0x4e52f7,_0x17d22d)=>_0x10058a(_0x4e52f7,_0x17d22d,_0x5221d3);const _s=_0x597ab2(0x21f);let Ot=class{constructor(_0x47798d,_0xbf221e){var _0x29622c=_0x597ab2;this[_0x29622c(0x252)]=_0x47798d,this[_0x29622c(0x227)]=_0xbf221e;}['_getAPIPrefixPath'](){var _0x4b6365=_0x597ab2,_0x524d60,_0x45be0b;const _0x59bd2f=this[_0x4b6365(0x252)][_0x4b6365(0x2d1)](Ni),_0x4f8a9b=this[_0x4b6365(0x252)]['getConfig'](q);return(_0x45be0b=(_0x524d60=_0x4f8a9b==null?void 0x0:_0x4f8a9b[_0x4b6365(0x2c1)])!=null?_0x524d60:_0x59bd2f)!=null?_0x45be0b:_s;}async[_0x597ab2(0x297)](_0x439c7f){var _0x8b53bf=_0x597ab2;const _0x3acd87=this[_0x8b53bf(0x428)]()+'/collaborator';return{'list':[{'title':_0x8b53bf(0x289),'mentions':(await this[_0x8b53bf(0x227)][_0x8b53bf(0x277)](_0x3acd87,{'params':{'objectID':_0x439c7f['unitId'],'unitID':_0x439c7f[_0x8b53bf(0x3cd)]}}))[_0x8b53bf(0x2f4)][_0x8b53bf(0x467)][_0x8b53bf(0x376)](_0x4e1901=>({'objectId':_0x4e1901['id'],'name':_0x4e1901[_0x8b53bf(0x403)][_0x8b53bf(0x477)],'metadata':{'icon':_0x4e1901[_0x8b53bf(0x403)][_0x8b53bf(0x413)]},'label':_0x4e1901[_0x8b53bf(0x403)][_0x8b53bf(0x477)],'objectType':_0x13619e[_0x8b53bf(0x443)]})),'metadata':{},'type':_0x13619e[_0x8b53bf(0x443)]}]};}};Ot=hs([hi(0x0,_0x5dc8b8(_0x52e356)),hi(0x1,_0x5dc8b8(_0x546518))],Ot);var ls=Object[_0x597ab2(0x3e5)],us=(_0x4055f7,_0x36928e,_0x2397ef,_0x478acb)=>{var _0x3c9efc=_0x597ab2;for(var _0x16daab=_0x478acb>0x1?void 0x0:_0x478acb?ls(_0x36928e,_0x2397ef):_0x36928e,_0x58823b=_0x4055f7[_0x3c9efc(0x419)]-0x1,_0x125580;_0x58823b>=0x0;_0x58823b--)(_0x125580=_0x4055f7[_0x58823b])&&(_0x16daab=_0x125580(_0x16daab)||_0x16daab);return _0x16daab;},Ae=(_0x5b6cc8,_0x31b16b)=>(_0x144a98,_0x44f413)=>_0x31b16b(_0x144a98,_0x44f413,_0x5b6cc8);let at=class extends _0x10e9f1{constructor(_0x3cbe0b,_0x182e53,_0x483c5b,_0x334bc9,_0x24357d){var _0x43d3b1=_0x597ab2;super(),this[_0x43d3b1(0x44a)]=_0x3cbe0b,this[_0x43d3b1(0x3d9)]=_0x182e53,this[_0x43d3b1(0x366)]=_0x483c5b,this[_0x43d3b1(0x1a1)]=_0x334bc9,this[_0x43d3b1(0x352)]=_0x24357d,this[_0x43d3b1(0x367)](),this['_initCloseConn']();}[_0x597ab2(0x2f6)](){var _0xb4c5ff=_0x597ab2;const _0x248b2c=async _0x5f06c3=>{var _0xea473d=_0x5a0e;(await this['_collaborationSessionService'][_0xea473d(0x2c0)](_0x5f06c3))['event$']['pipe'](_0x321733(_0x300b68=>_0x300b68[_0xea473d(0x210)]===_0x136edc[_0xea473d(0x271)]),_0x50dffe(this[_0xea473d(0x1bb)]))[_0xea473d(0x470)](_0xb1b911=>{var _0x198a70=_0xea473d;const _0x19c453=_0xb1b911,{reason:_0xa6b095}=_0x19c453[_0x198a70(0x1a6)];this['_collaborationUIEventService'][_0x198a70(0x3aa)]({'id':se['CLOSE_ROOM'],'data':_0xa6b095}),this[_0x198a70(0x366)]['updatePermissionPoint'](new _0x2025bf(_0x5f06c3)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x5f06c3);});};_0x10ee83(this[_0xb4c5ff(0x3d9)]['getTypeOfUnitAdded$'](_0x31007f['UNIVER_SHEET']),this[_0xb4c5ff(0x3d9)]['getTypeOfUnitAdded$'](_0x31007f[_0xb4c5ff(0x2db)]))[_0xb4c5ff(0x218)](_0x3e044c(_0xf90e5d=>_0xf90e5d['getUnitId']()),_0x321733(_0x28060b=>!_0x178305(_0x28060b)),_0x50dffe(this['dispose$']))[_0xb4c5ff(0x470)](_0x30dda2=>{_0x248b2c(_0x30dda2);});}[_0x597ab2(0x367)](){var _0x5344b3=_0x597ab2;const _0x571ce8=async _0x1e2628=>{var _0x4d0044=_0x5a0e;const _0x2bd4fd=await this[_0x4d0044(0x1a1)][_0x4d0044(0x2c0)](_0x1e2628),_0x1e38a6=this[_0x4d0044(0x44a)]['get'](_0xc05fc6);_0x2bd4fd[_0x4d0044(0x2ac)][_0x4d0044(0x218)](_0x321733(_0x1a190d=>_0x1a190d[_0x4d0044(0x210)]===_0x136edc[_0x4d0044(0x202)]),_0x50dffe(this[_0x4d0044(0x1bb)]))[_0x4d0044(0x470)](_0x1efad8=>{var _0xacd1f5=_0x4d0044;const _0x2c8351=_0x1efad8,{objectId:_0x576938}=_0x2c8351[_0xacd1f5(0x1a6)];_0x576938===_0x1e2628?_0x1e38a6[_0xacd1f5(0x2ae)](_0x1e2628):_0x1e38a6[_0xacd1f5(0x32a)](_0x1e2628,_0x576938);});};_0x10ee83(this[_0x5344b3(0x3d9)][_0x5344b3(0x22d)](_0x31007f['UNIVER_SHEET']))[_0x5344b3(0x218)](_0x3e044c(_0x1e0f59=>_0x1e0f59['getUnitId']()),_0x321733(_0xf77111=>!_0x178305(_0xf77111)),_0x50dffe(this[_0x5344b3(0x1bb)]))[_0x5344b3(0x470)](_0x1b8526=>{_0x571ce8(_0x1b8526);});}};at=us([Ae(0x0,_0x5dc8b8(_0x253837)),Ae(0x1,_0x541816),Ae(0x2,_0x2fef49),Ae(0x3,_0x5dc8b8(Le)),Ae(0x4,_0x5dc8b8(pe))],at);var ds=Object['getOwnPropertyDescriptor'],fs=(_0x3d5254,_0xf9d6a3,_0x8cf102,_0x5a3a0b)=>{for(var _0x332ead=_0x5a3a0b>0x1?void 0x0:_0x5a3a0b?ds(_0xf9d6a3,_0x8cf102):_0xf9d6a3,_0x10e6e3=_0x3d5254['length']-0x1,_0x4e60b7;_0x10e6e3>=0x0;_0x10e6e3--)(_0x4e60b7=_0x3d5254[_0x10e6e3])&&(_0x332ead=_0x4e60b7(_0x332ead)||_0x332ead);return _0x332ead;},_i=(_0x32771f,_0x4b223c)=>(_0x489425,_0x9c4d1c)=>_0x4b223c(_0x489425,_0x9c4d1c,_0x32771f);let Nt=class{constructor(_0x5cabfc,_0x37fe18){var _0x40a8b2=_0x597ab2;this[_0x40a8b2(0x252)]=_0x5cabfc,this[_0x40a8b2(0x259)]=_0x37fe18;}async[_0x597ab2(0x353)](_0x5313fe,_0x311ad5){var _0x1049cf=_0x597ab2,_0x2eb9be;const {unitID:_0x1222ba,type:_0x4b1646,revision:_0x488c61=0x0}=_0x311ad5,_0x494df8=this[_0x1049cf(0x2d3)]()+'/'+_0x4b1646+_0x1049cf(0x284)+_0x1222ba+_0x1049cf(0x299)+_0x488c61,_0x54bb25=(await this[_0x1049cf(0x259)][_0x1049cf(0x277)](_0x494df8))[_0x1049cf(0x2f4)],_0x545e0e=(_0x2eb9be=_0x54bb25['snapshot'])==null?void 0x0:_0x2eb9be[_0x1049cf(0x3a3)];if(_0x545e0e){const _0x28bc0e=_0x545e0e==null?void 0x0:_0x545e0e[_0x1049cf(0x280)],_0x312fd5=_0xbb0b23[_0x1049cf(0x286)](_0x1a94a2(_0x28bc0e));_0x545e0e['originalMeta']=_0x312fd5,Object[_0x1049cf(0x487)](_0x545e0e[_0x1049cf(0x1df)])[_0x1049cf(0x1ff)](([,_0x5f303e])=>{var _0x4018d8=_0x1049cf;const _0x48155b=_0x5f303e[_0x4018d8(0x280)],_0xd97da0=_0xbb0b23[_0x4018d8(0x286)](_0x1a94a2(_0x48155b));_0x5f303e['originalMeta']=_0xd97da0;});}return _0x54bb25;}async[_0x597ab2(0x361)](_0x2ac3c2,_0x26c7da){var _0x5122f5=_0x597ab2;const {unitID:_0x586417,type:_0x55f369,blockID:_0x493e36}=_0x26c7da,_0x1174ca=this['_getAPIPrefix']()+'/'+_0x55f369+'/unit/'+_0x586417+_0x5122f5(0x386)+_0x493e36;return(await this[_0x5122f5(0x259)]['get'](_0x1174ca))[_0x5122f5(0x2f4)];}async['getDeserializedSheetBlock'](_0x43e943,_0x26bc97){var _0x3b9b15=_0x597ab2;const {unitID:_0x35cbd6,type:_0x117b4d,blockID:_0x217d49}=_0x26bc97,_0x3270d8=this['_getAPIPrefix']()+'/block/'+_0x117b4d+'/unit/'+_0x35cbd6+'/block/'+_0x217d49;return(await this['_httpService'][_0x3b9b15(0x277)](_0x3270d8))[_0x3b9b15(0x2f4)];}async['fetchMissingChangesets'](_0x84c217,_0x4a5ddc){var _0x5ea616=_0x597ab2;const {unitID:_0x56beb4,type:_0xa2038f,from:_0x530a43,to:_0x4bc9a6}=_0x4a5ddc,_0x256b91=this[_0x5ea616(0x31b)]()+'/'+_0xa2038f+_0x5ea616(0x284)+_0x56beb4+_0x5ea616(0x30a)+_0x530a43+_0x5ea616(0x1c0)+_0x4bc9a6;return(await this[_0x5ea616(0x259)][_0x5ea616(0x277)](_0x256b91))[_0x5ea616(0x2f4)];}[_0x597ab2(0x2d3)](){var _0x443ef3=_0x597ab2,_0x5e228e;return(_0x5e228e=this[_0x443ef3(0x252)][_0x443ef3(0x2d1)](gr))!=null?_0x5e228e:this['_getAPIPrefix']();}[_0x597ab2(0x31b)](){var _0x58dbb7=_0x597ab2,_0x2c75b7,_0x9c11fb;const _0x150517=this[_0x58dbb7(0x252)][_0x58dbb7(0x2d1)](pr),_0x2484b3=this[_0x58dbb7(0x252)][_0x58dbb7(0x2d1)](q);return(_0x9c11fb=(_0x2c75b7=_0x2484b3==null?void 0x0:_0x2484b3['snapshotServerUrl'])!=null?_0x2c75b7:_0x150517)!=null?_0x9c11fb:mr;}async[_0x597ab2(0x2e3)](_0x2b1b2a,_0x242054){var _0x2ed9e0=_0x597ab2;const _0x5ce1d4=_0x2ed9e0(0x3c1)+_0x242054[_0x2ed9e0(0x2d8)]+_0x2ed9e0(0x284)+_0x242054[_0x2ed9e0(0x1f6)]+_0x2ed9e0(0x429);return(await this['_httpService']['get'](_0x5ce1d4,{'params':{'resourceId':JSON['stringify'](_0x242054[_0x2ed9e0(0x393)])}}))[_0x2ed9e0(0x2f4)];}[_0x597ab2(0x23b)](){var _0x129074=_0x597ab2;throw new Error(_0x129074(0x3cb));}['saveSheetBlock'](){var _0x2e1527=_0x597ab2;throw new Error(_0x2e1527(0x3cb));}[_0x597ab2(0x446)](){var _0x54b179=_0x597ab2;throw new Error(_0x54b179(0x3cb));}['copyFileMeta'](){var _0x4e7447=_0x597ab2;throw new Error(_0x4e7447(0x3cb));}[_0x597ab2(0x2fe)](){var _0x288672=_0x597ab2;throw new Error(_0x288672(0x3cb));}};Nt=fs([_i(0x0,_0x52e356),_i(0x1,_0x5dc8b8(_0x546518))],Nt);var vs=Object[_0x597ab2(0x3e5)],ps=(_0x47e702,_0x29a9ca,_0x7633b2,_0x4b4975)=>{var _0x4cd10d=_0x597ab2;for(var _0x3d6096=_0x4b4975>0x1?void 0x0:_0x4b4975?vs(_0x29a9ca,_0x7633b2):_0x29a9ca,_0xa08e00=_0x47e702[_0x4cd10d(0x419)]-0x1,_0x5b5b3c;_0xa08e00>=0x0;_0xa08e00--)(_0x5b5b3c=_0x47e702[_0xa08e00])&&(_0x3d6096=_0x5b5b3c(_0x3d6096)||_0x3d6096);return _0x3d6096;},Pe=(_0xc0fa59,_0x2ff0d0)=>(_0x2ed1f4,_0x9f9497)=>_0x2ff0d0(_0x2ed1f4,_0x9f9497,_0xc0fa59);let Dt=class extends _0x37c0df{constructor(_0x39780c,_0x5e7976,_0x6f3121,_0x117a6a,_0x4f34eb){var _0x5ad796=_0x597ab2;super(_0x39780c,_0x5e7976,_0x6f3121),this[_0x5ad796(0x460)]=_0x117a6a,this[_0x5ad796(0x1fe)]=_0x4f34eb;}[_0x597ab2(0x41d)](_0x518cf8,_0x124d48){var _0x52fd05=_0x597ab2;const _0x226960=this[_0x52fd05(0x221)](_0x518cf8);if(_0x226960)try{const _0x5da920=this[_0x52fd05(0x2c4)](_0x226960,_0x124d48);this[_0x52fd05(0x3a9)](_0x518cf8,_0x5da920);}catch(_0x9642f5){this['_logService'][_0x52fd05(0x2ab)](_0x52fd05(0x3e2),_0x9642f5),this['_clearUndo'](_0x518cf8);}const _0x370ddc=this['_getRedoStack'](_0x518cf8);if(_0x370ddc)try{const _0x4025ce=this['_transformStack'](_0x370ddc,_0x124d48);this[_0x52fd05(0x2b7)](_0x518cf8,_0x4025ce);}catch(_0x15b15a){this['_logService'][_0x52fd05(0x2ab)](_0x15b15a),this[_0x52fd05(0x2bf)](_0x518cf8);}}[_0x597ab2(0x474)](_0x21ca56){var _0x573b91=_0x597ab2;const _0x4b388e=this[_0x573b91(0x221)](_0x21ca56);_0x4b388e&&(_0x4b388e['length']=0x0,this[_0x573b91(0x38a)]());}[_0x597ab2(0x2bf)](_0x3e135d){var _0x107322=_0x597ab2;const _0x549728=this[_0x107322(0x42e)](_0x3e135d);_0x549728&&(_0x549728[_0x107322(0x419)]=0x0,this['_updateStatus']());}[_0x597ab2(0x3a9)](_0x1d4a37,_0x18b817){var _0x21edcc=_0x597ab2;this[_0x21edcc(0x341)]['set'](_0x1d4a37,_0x18b817),this[_0x21edcc(0x38a)]();}[_0x597ab2(0x2b7)](_0x56181f,_0x974ec7){var _0x25067b=_0x597ab2;this[_0x25067b(0x229)][_0x25067b(0x1e6)](_0x56181f,_0x974ec7),this[_0x25067b(0x38a)]();}[_0x597ab2(0x2c4)](_0x432d1a,_0x5f1f18){var _0x454752=_0x597ab2;const _0x32965d=[];let _0x39bc5e=_0x5f1f18,_0x346788=_0x5f1f18;for(let _0x3770db=_0x432d1a[_0x454752(0x419)]-0x1;_0x3770db>=0x0;_0x3770db--){const {unitID:_0xd6936f,undoMutations:_0xf74fe8,redoMutations:_0x8933f5}=_0x432d1a[_0x3770db],_0x41b70f=this[_0x454752(0x460)]['transformMutationsWithChangeset'](_0x39bc5e,_0xf74fe8),_0x4035a=this[_0x454752(0x460)][_0x454752(0x3b0)](_0x346788,_0x8933f5);if(_0x33e36c(_0x41b70f)||_0x33e36c(_0x4035a)){this[_0x454752(0x1fe)][_0x454752(0x2ab)](_0x454752(0x3e2),_0x454752(0x36f),_0x41b70f,_0x4035a);break;}_0x39bc5e=_0x41b70f[_0x454752(0x3a7)],_0x346788=_0x4035a[_0x454752(0x3a7)],_0x32965d[_0x454752(0x1e9)]({'unitID':_0xd6936f,'undoMutations':_0x41b70f[_0x454752(0x2b1)],'redoMutations':_0x4035a['m2Prime']});}return _0x32965d['reverse']();}};Dt=ps([Pe(0x0,_0x541816),Pe(0x1,_0x336840),Pe(0x2,_0xe57d12),Pe(0x3,_0x556cc7),Pe(0x4,_0x2dcdf5)],Dt);var ms=Object[_0x597ab2(0x1c4)],gs=Object[_0x597ab2(0x3e5)],Ss=(_0x3dea2d,_0x3cb3c0,_0x4d2c9a)=>_0x3cb3c0 in _0x3dea2d?ms(_0x3dea2d,_0x3cb3c0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d2c9a}):_0x3dea2d[_0x3cb3c0]=_0x4d2c9a,Es=(_0x4bec17,_0x1851ce,_0x54867e,_0x257408)=>{var _0x36c680=_0x597ab2;for(var _0x28394b=_0x257408>0x1?void 0x0:_0x257408?gs(_0x1851ce,_0x54867e):_0x1851ce,_0x14a09f=_0x4bec17[_0x36c680(0x419)]-0x1,_0x1aa9a9;_0x14a09f>=0x0;_0x14a09f--)(_0x1aa9a9=_0x4bec17[_0x14a09f])&&(_0x28394b=_0x1aa9a9(_0x28394b)||_0x28394b);return _0x28394b;},St=(_0x27f24a,_0x255b72)=>(_0x35f4df,_0x944ae2)=>_0x255b72(_0x35f4df,_0x944ae2,_0x27f24a),Is=(_0x2076ac,_0x469e00,_0x5b80b0)=>Ss(_0x2076ac,_0x469e00+'',_0x5b80b0);const Ts=_0x597ab2(0x22c);let wt=class extends _0x26bf95{constructor(_0x50312a,_0xb3dbce,_0x41659f,_0x590a23){var _0x202ef7=_0x597ab2;super(),N(this,_0x202ef7(0x466)),(this[_0x202ef7(0x1fe)]=_0xb3dbce,this[_0x202ef7(0x44a)]=_0x41659f,this[_0x202ef7(0x252)]=_0x590a23);const {..._0x24c870}=_0x310f4e({},Ur,_0x50312a);if(!_0x24c870[_0x202ef7(0x2ad)])throw new Error(_0x202ef7(0x3bc));this[_0x202ef7(0x466)]=_0x24c870,this[_0x202ef7(0x252)][_0x202ef7(0x375)](q,_0x24c870);}[_0x597ab2(0x26b)](){var _0x2f7541=_0x597ab2;this[_0x2f7541(0x390)](),this['_initDependencies']();}[_0x597ab2(0x390)](){var _0x3327d4=_0x597ab2,_0x153fcb,_0x2c8364;this['_injector']['has'](_0x28f227)&&this['_logService'][_0x3327d4(0x2ab)]('[UniverCollaborationClientPlugin]',_0x3327d4(0x266));const _0xc3f451=_0x4618d9([[_0x28f227,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[bt],[Ii,{'useClass':this[_0x3327d4(0x466)][_0x3327d4(0x2ad)]}],[_0x31340a,{'useClass':Nt}],[_0x3f1761,{'useClass':Rt}],[_0xaa189e,{'useClass':yt}],[_0x304920,{'useClass':Ot}],[nt],[Ct]],(_0x153fcb=this[_0x3327d4(0x466)])==null?void 0x0:_0x153fcb['override']);if(!((_0x2c8364=this[_0x3327d4(0x466)])!=null&&_0x2c8364[_0x3327d4(0x25d)])){const _0x1166ff=_0xc3f451[_0x3327d4(0x2b4)](([_0x2af8a1])=>_0x2af8a1===ht);_0x1166ff!==-0x1&&_0xc3f451[_0x3327d4(0x32b)](_0x1166ff,0x1);}_0xae4208(this[_0x3327d4(0x44a)],_0xc3f451);}['_initDependencies'](){var _0x59cea8=_0x597ab2,_0x215581,_0x1e3279,_0x5b5f89;this['_injector'][_0x59cea8(0x277)](_0x546518)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x20c5e3({'maxParallel':0x6})}),(_0x215581=this[_0x59cea8(0x466)])!=null&&_0x215581[_0x59cea8(0x1a4)]||(_0x1e3279=this[_0x59cea8(0x44a)][_0x59cea8(0x277)](J,_0x348dca[_0x59cea8(0x222)]))==null||_0x1e3279[_0x59cea8(0x216)](),(_0x5b5f89=this[_0x59cea8(0x466)])!=null&&_0x5b5f89['enableAuthServer']&&_0xd224af(this['_injector'],[[st]]),_0xd224af(this[_0x59cea8(0x44a)],[[ot],[nt],[at]]);}};Is(wt,'pluginName',Ts),wt=Es([_0x3539d3(_0x48870e,_0x415ab9),St(0x1,_0x2dcdf5),St(0x2,_0x5dc8b8(_0x253837)),St(0x3,_0x52e356)],wt);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Or as COLLAB_SUBMIT_CHANGESET_URL_KEY,Er as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,rt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Ir as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Tr as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Ar as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Dr as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,oe as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,br as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,pr as SNAPSHOT_SERVER_URL_KEY,gr as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,wt as UniverCollaborationClientPlugin,Pr as deserializeToCombResponse,Bs as getLocalCacheKey,xr as serializeCombRequest};