@univerjs-pro/collaboration-client 0.5.3-nightly.202501081606 → 0.5.3-nightly.202501091606

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
- function _0x4036(){var _0x2af1d2=['NO_OTHER_CLIENTS_EDITING','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','compose','_keySchedule','action','objectActions','_compressMutationService','AUTHZ_URL_KEY','/block/','SUBMIT_CHANGESET_TIMEOUT','_retryConnectingTimer','UPDATE_CURSOR','toLowerCase','_onOffline','UNISCRIPT_RUN','asObservable','_emitMembers','_socket','/universer-api/oidc/authpage','apply','getUnit','/-/object/list','_getRedoStack','_hasher','_httpService','_startCollaboration','HmacMD5','_socketService','requireSession','_createHelper','unknown','put','msCrypto','_onMessage','YUUMI_UNABLE_LOAD_URL','fromCollab','/collaborator','HEARTBEAT_TIMEOUT','objectType','subUnitId','_socketMessageSubscription','toString','_commandService','cmd','routeKey','[CollaborationEntity]','connection\x20error','_getSessionTicket','format','finalize','_networkConditionService','PERMISSION_REJ','FAIL','FETCH_MISSING','focused$','Undefined','_imageSourceCache','sigBytes','revision','encode','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_userManagerService','c1Prime','COMPRESS_MUTATION_SEND','_append','JOIN_ROOM_NOT_EXISTS','JOIN_ROOM_FAILED','_mode','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','/unit/','_transitionLocked','collaboration_new_changeset','$super','\x20-\x20','LIVESHARE_REQUEST_HOST','_initRequestHeader','enableOfflineEditing','_sessionStatus$','catch','AWAITING_WITH_PENDING','/allowed','_configService','startsWith','subject','withCredentials','FileId','LICENSE_DISTRO_REJECTED','[PendingState]:\x20received\x20rejection.','_onRemoteRejected','url','randomUUID','_decreaseWaiting','_getCtorByUniverType','avatar','_http','conflict','CONNECTOR_DATA_TOO_LARGE','_roomCreated$','pad','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_unitID','getUnitStatus$','clone','_updateState','includes','&assign=','batchAllowed','createDecryptor','_onFetchMissResult','synced','concat','onMissingChangesets','_sessions','stringify','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_iv','_key','deleteCollaborator','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','getCurrentUser','send','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','NEW_CHANGESETS','charAt','HMAC','_getAPIPrefix','_disableEditing','UNIVER_SLIDE','interceptor','YUUMI_URL_COL_OUT_OF_RANGE','getValue','getAllMembers','_clearHeartbeatTimer','unitInfo$','_changesetReqId','sessionStatus','UNIVER_PROJECT','socket$','code','_queuedRemoteChangesets','_substituteUndoStack','setConfig','random','incrementRevOfUnit','dispose','location','_onConnectionOpen','liveShareOperation','target','108GNISMg','JOIN','objectID','onSendChangeset','_changesetSessionId','_entities','appendMutation','sheets','_onConflict','_getSendChangesetTimeout','_clearScheduledTask','event$','_getUndoStack','string','reject','\x0aAfter:\x20','pending','_collaborationUIEventService','_replayCachedMutations','NoPadding','_getDownloadEndpointURL','localCacheService','HEARTBEAT','getSheetBlock','onTransformSelections','enc','/universer-api/file/{fileID}/sign-url','_registerDependencies','image/jpeg','status','min','_univerInstanceService','/object/','_logService','IDLE','leaveEvent','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','\x20to\x20','INTERNAL_ERROR','PENDING','getSnapshotAPIPath','2SQIrYO','LIVESHARE_OPERATION','EvpKDF','_memberService','getUnitId','collabWebSocketUrl','CHANGESET_REJ','UPDATE_PERMISSION_OBJ','PERMISSION_DENIED','deepClone','_doProcessBlock','_listenToNetworkCondition','changesets','fetching\x20missing\x20changesets\x20from\x20','map','_clearUndo','findIndex','[CollaborationSession]','_transformSelections','hasher','unsubscribe','_onUserJoin','create','_getUploadFileURL','SUBMIT_CHANGESET','_fetchMissChangesets','title','splice','UNRECOGNIZED','BlockCipherMode','_onUserLeave','__esModule','pipe','blockSize','LICENSE_IMPORT_SIZE_EXCEEDED','univer-pro.collaboration-client.single-active-unit-service','COLLAB_SUBMIT_CHANGESET_URL','APPLY_REJECT','emitEvent','getTime','initWorkbookPermissionChange','_onConnectionFailed','LIVESHARE_TERMINATE','MUTATION','startTime','COLLAB_WEB_SOCKET_URL','subscribe','function','extend','snapshot','responseType','_rescheduleHeartbeat','repeat','UNIVER_UNKNOWN','unpad','_type','MSG_FOR_ERROR','JOIN_ROOM_PERMISSION_DENIED','registerHTTPInterceptor','_resendTimeout','_onRemoteRetry','_doCryptBlock','ivSize','key','decrypt','univer-pro.collaboration-client-socket-service','csShouldRetryEvent','default','UnitSnapshot','uniscriptRunEvent','exports','telemetry\x20info\x20is\x20not\x20initialized','getMember','UUID','_collaborationTimeoutTimer','getConfig','_status$','listRoles','permissionRejEvent','COMPLETION_FINISHED','_singleActiveUnitService','_toggleOnline','_getAPIPrefixPath','_isPermissionRej','byteOffset','Pkcs7','m2Prime','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_snapshotServerService','[CollaborationSessionService]:\x20socket\x20error','_onRemoteACK','resend','setShowComponents','shouldCloseConn','complete','YUUMI_RATE_OVER_LIMIT','fetch_missing','_toggleOffline','getCollabEntity','OFFLINE','_createInitialStateImpl','_unlockTransition','searchParams','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','onTransformState','UNKNOWN_CODE','_injector','retryConnectingInterval','_createSocketURL','close$','submit\x20changeset\x20error!','length','executeCommand','append','BufferedBlockAlgorithm','unitId\x20is\x20not\x20found','getOwnPropertyDescriptor','fetchMiss','[SyncedState]:\x20received\x20rejection.','open$','padding','hostname','csAckEvent','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','salt','auth.needGotoLoginAlert','getCurrentRevOfUnit','LIVESHARE_FETCH_OPERATIONS','_minBufferSize','[PendingState]:\x20received\x20acknowledgement.','APPLY_REVISION_CONFILICT','_retryCount','_transformRemoteChangesetByStateCache','272288eebZEr','_getSignURL','onlyLocal','_checkMissing','delete','bind','/-/object/-/batch_allowed','isArray','CBC','collaboration-client.config','BlockCipher','RECV','_clearTimeoutTimer','CONFLICT','roles','CHANGESET_ACK','setWaitCount','COMPRESS_MUTATION_APPLY','_nRounds','file','_createSocket','getFocusedUnit','hasOwnProperty','_createHmacHelper','state$','_loadDoc','?url=','joinEvent','resolve','_awaitingChangeset','from','find','\x0aCurrent:\x20','offline','body','processBlock','UnitEmbedded','1577620WVMJxd','pluginName','_sheetTransformSelectionsService','getImageSourceCache','Latin1','toggleOnline','_createHandler','substr','SHOULD_CLOSE_CONN','clamp','userID','dispose$','_acknowledgedAwaitingChangeset','_ENC_XFORM_MODE','_sendingTimer','rng','unitId','createEncryptor','localeService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','\x20in\x20_schedule.','_init','headers','json','uploadFileServerUrl','ERROR_EXCEED_SIZE','transformChangesets','OTHER_CLIENT_EDITING','_joinRoom','disposeWithMe','lib','_loadSheet','JOINING','values','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','objects','MD5','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','APPLY_NON_SEQUENTIAL_REVISION','crypto','error$','slice','unitID','pauseCollaboration','fetchMissingChangesets','[CollaborationSessionService]','SHA1','isPermissionRej','_telemetryInfo','readAsDataURL','LICENSE_MAX_UNITS_EXCEEDED','_localCacheService','_config','_resendWithTimeout','now','/universer-api/authz','Error\x20on\x20receiving\x20event','_waitForHeartbeatResponse','_clearRedo','abs','loadDoc','ciphertext','socketService','textRanges','[OfflineState]:\x20received\x20changeset.','ERROR_IMAGE','_entityInit$','POST','_updateStatus','UNIVER_COLLABORATION_CLIENT_PLUGIN','_state$','Hex','collaboratorID','APPLY_DUPLICATED','6fUgjGH','selections','NOT_COLLAB','enableAuthServer','TOO_MANY_REQUESTS','_reverseMap','9981kkgZSt','clear','sin','_getLoginPath','push','PasswordBasedCipher','decryptBlock','onTransformRemoteChangesetByStateCache','_handlerCallback','SNAPSHOT_INVALID_SNAPSHOT','snapshotServerUrl','Encryptor','algo','collaborators','_socket$','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_telemetryService','_substituteRedoStack','actions','_submitChangeset','_sendHeartbeatTimer','Cipher','message$','createSocket','18588TkEcte','_collaborationSessionService','reduce','unit-cache-','max','_sendHeartbeat','_permissionService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_executeRemoteChangeset','UNKNOWN_CMD','_syncEditingCollabCursor','_collaborationPaused','_updateLocalCache','WordArray','SNAPSHOT_HAS_BEEN_REMOVED','onRemoteAck','_replaceFileID','cfg','getTypeOfUnitAdded$','_hash','join','373443mXorYn','_redoStacks','_handler','iterations','_onRemoteChangeset','closeSession','onTransformRemoteChangesetByIMECache','_lockTransition','_incrementRevisionNumber','OpenSSL','_onLocalMutation','params','session.room-cnt-exceeds','onCommentUpdate','INVALID_ARGUMENT','requestParams','forEach','src','awaiting_with_pending','not_collab','Could\x20not\x20dynamically\x20require\x20\x22','every','getRandomValues','_waitCount','USERS_LEAVE','UNAUTHENTICATED','_schedule','list','joinRsp','allowed','UNIVER_SHEET','eventID','Decryptor','compute','[OfflineState]:\x20received\x20acknowledgement.','_doFinalize','UNIVER_DOC','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','sessionStatus$','add','Base','result','onMissedChangesetFetched','_members','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','mixIn','symbol','session','_clearLocalCache','PSEUDO_FETCH_MISSING_RESULT','online$','_stopTelemetryCollaborationNewChangeset','init','downloadEndpointUrl','_invKeySchedule','/rev/','getCollabEntity$','baseRev','onload','close','sessionTicket','post','onRemoteRej','HELLO','listCollaborators','getSheetId','collaMsg','_revisionService','_commentUpdate$','ONLINE','_tryReconnect','toggleOffline','session.room-full','USERS_ENTER','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_xformMode','SYNCED','fetchThroughInterceptors','_showConflictNotification','AWAITING','_keyPriorReset','_tryEnsureSocket','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','HttpExport','members','_localeService','COMMENT_UPDATE','_candidateSocket','floor','CLOSE_ROOM','_createInitialState','_state','waitForRoom$','_throwTelemetryCollaborationNewChangeset','encrypt','/fetchmissing?from=','execute','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','session.join-failed','size','byteLength','ceil','reqId','data','transformMutationsWithChangeset','socket\x20close','sendChangesetTimeout','getRoom','getUnitType','[CollaborationState]:\x20apply\x20error!','_initDependencies','_instanceService','saveImage','_clearCollaborationTimeoutTimer','_unitInfo$','error','csRejEvent','RETRY_CONNECTING_MAX_COUNT','_transformStateCache','_applyRemoteChangeset','_eventService','_cipher','liveShareNewHost','failed\x20to\x20apply\x20missed\x20changesets!','Base64','replace','_remoteChangesetQueue','copyFileMeta','getResourcesRequest','Malformed\x20UTF-8\x20data','[CollaborationUndoRedoService]','enableSingleActiveInstanceLock','onCommandExecuted','7684281zVjQIx','words','image/gif','_DEC_XFORM_MODE','update','_getCurrentRevision','buffer','_prevBlock','memberID','mode','HmacSHA1','_collabSessionService','override','SOCKET_FAILED','runId','name','prototype','ALREADY_EXISTS','collaboration-client.local-cache-service','_undoRedoService','next','getActiveSheet','generateRandomId','GLOBAL_ROOMS_CNT_EXCEEDS','_onCombEvent','updateMember','_members$','image/jpg','_timeoutTimer','[OfflineState]:\x20received\x20rejection.','onStateChange','set','getLatestCsReqIdBySid','_pendingMutations','updatePermissionPoint','LEAVE','_startTelemetryCollaborationNewChangeset','charCodeAt','has','wsSessionTicketUrl','onRemoteChangeset','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_data','_HTTPService','ticket','authzUrl','&source=','then','JOIN_ROOM_FULL','reset','filter','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','500YzZzmy','_transformIMECache','transformUndoRedo','_transformRemoteChangesetByIMECache','_oKey','getTypeOfUnitDisposed$','_onRecvEvent','INGEST','kdf','_undoStacks','_scheduleCompleteTimestamp','getInterceptPoints','loadOfflineData','x-univer-host','createInstance','editingUnit','_socketReady','/role','originalMeta','/universer-api/comb','[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.','CHANGESET_SHOULD_RETRY','Hasher','ENSURE_SNAPSHOT_EXECUTION','disableLocalCache','href','get','LIVESHARE_NEW_HOST','LOCAL_CACHE_INTERVAL','_transformStack','_scheduleCollaborationTimeoutTimer','patch','_event$','ws://127.0.0.1:8000/universer-api/comb/connect','parse','AES','call','LICENSE_EXPORT_SIZE_EXCEEDED','_process','setCurrentUser','SOCKET_FAILED_RETRY','_onJoinRoomEvent','PERSON','_exhaustRemoteChangesetQueue','_iKey','socket\x20open.','_shouldReportTelemetry','/universer-api/snapshot/','stopTime','[DataLoaderService]','rev','_nDataBytes','StreamCipher','getUnitOnRev','getMemberID','LOGIN_URL_KEY','transformSelections','fromCharCode','mutations','_doReset','240793ttrHnf','SNAPSHOT_URL_KEY','change$','Utf8','application/json','signUrlServerUrl','/universer-api/user/session-ticket','awaitingChangeset','APPLY_PERMISSION_DENIED','[SyncedState]:\x20received\x20acknowledgement.','onStarting','UNDEFINED','_transformService','defineProperty','saveSnapshot','range','/universer-api/stream/file/upload','_change$','commentUpdateEvent','_roomMembers','_initMergeInterceptor','SEND_CHANGESET_TIMEOUT','_resendTimer','sid','removeMember','_sender','state','reconnect','onRemoteRetry','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','NOT_FOUND','__creator','loadSheet','debug','HttpImport','status$','onSyncEditingCollabCursor','type','refreshPermission'];_0x4036=function(){return _0x2af1d2;};return _0x4036();}var _0x5a765f=_0x4e5c;(function(_0x54641f,_0x2055ad){var _0x1771ab=_0x4e5c,_0x4885ae=_0x54641f();while(!![]){try{var _0x5138ef=-parseInt(_0x1771ab(0x2d0))/0x1*(parseInt(_0x1771ab(0x1a9))/0x2)+parseInt(_0x1771ab(0x180))/0x3*(parseInt(_0x1771ab(0x2bb))/0x4)+-parseInt(_0x1771ab(0x253))/0x5+-parseInt(_0x1771ab(0x29d))/0x6*(parseInt(_0x1771ab(0x3c6))/0x7)+parseInt(_0x1771ab(0x22e))/0x8+parseInt(_0x1771ab(0x2a3))/0x9*(parseInt(_0x1771ab(0x38a))/0xa)+parseInt(_0x1771ab(0x356))/0xb;if(_0x5138ef===_0x2055ad)break;else _0x4885ae['push'](_0x4885ae['shift']());}catch(_0x6ac83e){_0x4885ae['push'](_0x4885ae['shift']());}}}(_0x4036,0x38a2f));var Li=Object[_0x5a765f(0x3d3)],Mi=(_0x2e082e,_0x42fe5e,_0x3c53b9)=>_0x42fe5e in _0x2e082e?Li(_0x2e082e,_0x42fe5e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c53b9}):_0x2e082e[_0x42fe5e]=_0x3c53b9,N=(_0x541361,_0xf057d8,_0x156ec7)=>Mi(_0x541361,typeof _0xf057d8!=_0x5a765f(0x2fe)?_0xf057d8+'':_0xf057d8,_0x156ec7);import{createIdentifier as _0x1c9c52,Inject as _0x1935ed,Injector as _0x4155eb,Disposable as _0x870f60,DisposableCollection as _0x4cc8cc,toDisposable as _0x28837e,IConfigService as _0x1ee7e1,ILogService as _0x5be494,UserManagerService as _0x2a1a7c,UniverInstanceType as _0xf10391,IUniverInstanceService as _0x32cdfb,LocaleService as _0x2a5e88,Optional as _0x35bd38,RxDisposable as _0x81dda6,Tools as _0x53bff0,Rectangle as _0x509ad7,ICommandService as _0xd33b12,JSONX as _0x3f3051,CommandType as _0x25d7c6,IPermissionService as _0x4e79ec,IUndoRedoService as _0x2d5855,sequenceExecute as _0x108f95,Workbook as _0x2354f7,MentionType as _0x482002,IAuthzIoService as _0x56c633,isInternalEditorID as _0x4bdb88,LocalUndoRedoService as _0x284621,IContextService as _0x5e1973,DependentOn as _0x1b22a4,Plugin as _0x55011c,merge as _0x1951c3,mergeOverrideWithDependencies as _0x447e82,IMentionIOService as _0x11c7f9,registerDependencies as _0x6c6cf7,Quantity as _0x21cb3c,touchDependencies as _0x555482}from'@univerjs/core';function _0x4e5c(_0xdd6d62,_0x2ce785){var _0x40361f=_0x4036();return _0x4e5c=function(_0x4e5ccd,_0x570d00){_0x4e5ccd=_0x4e5ccd-0x161;var _0x39931d=_0x40361f[_0x4e5ccd];return _0x39931d;},_0x4e5c(_0xdd6d62,_0x2ce785);}import{Subject as _0x55ef18,merge as _0x51624f,of as _0x1b9046,BehaviorSubject as _0xbddaed,takeUntil as _0x276b5d,ReplaySubject as _0x2c899a,take as _0x54fda1,map as _0x2638f9,shareReplay as _0x5d8c1c,firstValueFrom as _0x8e0085,concatMap as _0x4219ac}from'rxjs';import{map as _0x2ecd01,take as _0x510155,filter as _0x3d44c1,delay as _0x143085,takeUntil as _0x51d385}from'rxjs/operators';import{HTTPService as _0xf9517d,ISocketService as _0x21db91,MergeInterceptorFactory as _0x565ee0,HTTPRequest as _0x50f9b4,UniverNetworkPlugin as _0x58765b,ThresholdInterceptorFactory as _0x56fcc3}from'@univerjs/network';import{CollaborationEvent as _0x850024,parseChangesetToProtocol as _0x52799e,ISnapshotServerService as _0x21b50a,isTransformMutationsWithChangesetSuccess as _0x1da72b,ITransformService as _0x494f1a,mapDocumentTypeToUniverType as _0x4ee7bb,RevisionService as _0x4d450c,isTransformChangesetsSuccess as _0x5cb54d,CompressMutationService as _0x46f25c,parseProtocolChangeset as _0x3ab360,SnapshotService as _0x3df7a2,textEncoder as _0x3aa06b,b64DecodeUnicode as _0x5b46c4,isTransformMutationsWithChangesetFailure as _0x3e77c2,UniverCollaborationPlugin as _0x81f1e5}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x1f7e83}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x286a10}from'@univerjs/docs';import{SheetsSelectionsService as _0x417d23,SetSelectionsOperation as _0x19bf4e,InsertSheetMutation as _0x3aed37,EmptyMutation as _0x4ef238,WorkbookEditablePermission as _0x770f7d,SheetPermissionInitController as _0x11c729,UniverSheetsPlugin as _0xc99be3}from'@univerjs/sheets';import{ImageSourceType as _0x4e86f2,ImageUploadStatusType as _0x528e74,IImageIoService as _0x3c4ddd}from'@univerjs/drawing';import{getGlobalObject as _0x17b6c5}from'@univerjs-pro/license';const En='SNAPSHOT_SERVER_URL_KEY',In='/universer-api/snapshot',Tn=_0x5a765f(0x3c7),eo=_0x5a765f(0x3db),Cn=0x7d0,bn=_0x5a765f(0x1d6),Rn=_0x5a765f(0x3ab),On=_0x5a765f(0x3cc),yn='HEARTBEAT_INTERVAL',Nn=0x7530,Si=_0x5a765f(0x412),Ei=0x4e20,Dn=0x4e20,Pn=_0x5a765f(0x346),wn=0x3,to=_0x5a765f(0x3a6),io=0x3e8,Un=_0x5a765f(0x1cd),An=_0x5a765f(0x39d),xn=_0x5a765f(0x3c1),Ln=_0x5a765f(0x3ff),no=_0x5a765f(0x224),ro='/universer-api/uniscript';var Ii=(_0x2a593c=>(_0x2a593c[_0x2a593c[_0x5a765f(0x3d1)]=0x0]=_0x5a765f(0x3d1),_0x2a593c[_0x2a593c['OK']=0x1]='OK',_0x2a593c[_0x2a593c['INTERNAL_ERROR']=0x2]=_0x5a765f(0x1a6),_0x2a593c[_0x2a593c[_0x5a765f(0x1b1)]=0x3]=_0x5a765f(0x1b1),_0x2a593c[_0x2a593c[_0x5a765f(0x3e4)]=0x4]=_0x5a765f(0x3e4),_0x2a593c[_0x2a593c['UNAUTHENTICATED']=0x5]=_0x5a765f(0x2e9),_0x2a593c[_0x2a593c[_0x5a765f(0x367)]=0x6]='ALREADY_EXISTS',_0x2a593c[_0x2a593c[_0x5a765f(0x2de)]=0x7]=_0x5a765f(0x2de),_0x2a593c[_0x2a593c['TOO_MANY_REQUESTS']=0x8]=_0x5a765f(0x2a1),_0x2a593c[_0x2a593c[_0x5a765f(0x1f8)]=0x9]='COMPLETION_FINISHED',_0x2a593c[_0x2a593c['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2a593c[_0x2a593c['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x5a765f(0x2ac),_0x2a593c[_0x2a593c[_0x5a765f(0x2c9)]=0x1772]=_0x5a765f(0x2c9),_0x2a593c[_0x2a593c[_0x5a765f(0x3a1)]=0x1773]=_0x5a765f(0x3a1),_0x2a593c[_0x2a593c[_0x5a765f(0x1ce)]=0x1b59]=_0x5a765f(0x1ce),_0x2a593c[_0x2a593c['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5a765f(0x279),_0x2a593c[_0x2a593c[_0x5a765f(0x22b)]=0x1b5b]=_0x5a765f(0x22b),_0x2a593c[_0x2a593c[_0x5a765f(0x3ce)]=0x1b5c]=_0x5a765f(0x3ce),_0x2a593c[_0x2a593c['APPLY_DUPLICATED']=0x1b5d]=_0x5a765f(0x29c),_0x2a593c[_0x2a593c[_0x5a765f(0x44d)]=0x1f41]=_0x5a765f(0x44d),_0x2a593c[_0x2a593c[_0x5a765f(0x285)]=0x2329]=_0x5a765f(0x285),_0x2a593c[_0x2a593c[_0x5a765f(0x3e3)]=0x232a]=_0x5a765f(0x3e3),_0x2a593c[_0x2a593c[_0x5a765f(0x1cb)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2a593c[_0x2a593c['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5a765f(0x3af),_0x2a593c[_0x2a593c[_0x5a765f(0x443)]=0x232d]=_0x5a765f(0x443),_0x2a593c[_0x2a593c[_0x5a765f(0x40f)]=0x2711]=_0x5a765f(0x40f),_0x2a593c[_0x2a593c['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x5a765f(0x16c),_0x2a593c[_0x2a593c[_0x5a765f(0x208)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2a593c[_0x2a593c['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2a593c[_0x2a593c[_0x5a765f(0x1c5)]=-0x1]=_0x5a765f(0x1c5),_0x2a593c))(Ii||{}),Q=(_0x1122a4=>(_0x1122a4[_0x1122a4[_0x5a765f(0x1de)]=0x0]='UNIVER_UNKNOWN',_0x1122a4[_0x1122a4[_0x5a765f(0x2f4)]=0x1]=_0x5a765f(0x2f4),_0x1122a4[_0x1122a4['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x1122a4[_0x1122a4[_0x5a765f(0x16a)]=0x3]=_0x5a765f(0x16a),_0x1122a4[_0x1122a4[_0x5a765f(0x173)]=0x4]=_0x5a765f(0x173),_0x1122a4[_0x1122a4['UNRECOGNIZED']=-0x1]=_0x5a765f(0x1c5),_0x1122a4))(Q||{}),F=(_0x5473c7=>(_0x5473c7[_0x5473c7[_0x5a765f(0x2c4)]=0x0]='UNKNOWN_CMD',_0x5473c7[_0x5473c7[_0x5a765f(0x30f)]=0x1]=_0x5a765f(0x30f),_0x5473c7[_0x5473c7[_0x5a765f(0x181)]=0x2]='JOIN',_0x5473c7[_0x5473c7[_0x5a765f(0x379)]=0x3]=_0x5a765f(0x379),_0x5473c7[_0x5473c7[_0x5a765f(0x391)]=0x4]=_0x5a765f(0x391),_0x5473c7[_0x5473c7[_0x5a765f(0x196)]=0x5]=_0x5a765f(0x196),_0x5473c7[_0x5473c7[_0x5a765f(0x239)]=0x6]=_0x5a765f(0x239),_0x5473c7[_0x5473c7['UNRECOGNIZED']=-0x1]=_0x5a765f(0x1c5),_0x5473c7))(F||{}),Ee=(_0x11d6fd=>(_0x11d6fd[_0x11d6fd['UNKNOWN_CODE']=0x0]=_0x5a765f(0x212),_0x11d6fd[_0x11d6fd['OK']=0x1]='OK',_0x11d6fd[_0x11d6fd[_0x5a765f(0x421)]=0x2]='FAIL',_0x11d6fd[_0x11d6fd[_0x5a765f(0x386)]=0x3e9]=_0x5a765f(0x386),_0x11d6fd[_0x11d6fd[_0x5a765f(0x42e)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x11d6fd[_0x11d6fd[_0x5a765f(0x1e2)]=0x3eb]=_0x5a765f(0x1e2),_0x11d6fd[_0x11d6fd[_0x5a765f(0x36d)]=0x3ec]=_0x5a765f(0x36d),_0x11d6fd[_0x11d6fd[_0x5a765f(0x1c5)]=-0x1]=_0x5a765f(0x1c5),_0x11d6fd))(Ee||{}),Ti=(_0x224783=>(_0x224783[_0x224783['Undefined']=0x0]=_0x5a765f(0x424),_0x224783[_0x224783[_0x5a765f(0x3e8)]=0x1]='HttpImport',_0x224783[_0x224783[_0x5a765f(0x324)]=0x2]=_0x5a765f(0x324),_0x224783[_0x224783['UnitEmbedded']=0x3]=_0x5a765f(0x252),_0x224783[_0x224783[_0x5a765f(0x1ed)]=0x4]=_0x5a765f(0x1ed),_0x224783[_0x224783[_0x5a765f(0x1c5)]=-0x1]=_0x5a765f(0x1c5),_0x224783))(Ti||{});const q=_0x5a765f(0x237),Wt={};var se=(_0x104fc6=>(_0x104fc6[_0x5a765f(0x26e)]='OTHER_CLIENT_EDITING',_0x104fc6[_0x5a765f(0x1b1)]=_0x5a765f(0x1b1),_0x104fc6['CONFLICT']=_0x5a765f(0x23b),_0x104fc6[_0x5a765f(0x32a)]=_0x5a765f(0x32a),_0x104fc6['JOIN_ROOM_FAILED']=_0x5a765f(0x42f),_0x104fc6[_0x5a765f(0x3b2)]=_0x5a765f(0x3b2),_0x104fc6[_0x5a765f(0x363)]='SOCKET_FAILED',_0x104fc6[_0x5a765f(0x3f6)]=_0x5a765f(0x3f6),_0x104fc6))(se||{});class pe{constructor(){var _0x269580=_0x5a765f;N(this,_0x269580(0x3aa),new _0x55ef18()),N(this,_0x269580(0x18b),this[_0x269580(0x3aa)][_0x269580(0x3fc)]());}['emitEvent'](_0x23f708){var _0x34a704=_0x5a765f;this[_0x34a704(0x3aa)][_0x34a704(0x36a)](_0x23f708);}}const Mn=_0x1c9c52('univer-pro.collaboration-client.network-condition.service');function $n(_0x58a122){var _0x2776af=_0x5a765f,_0x12cb8e,_0x260436,_0x2d1882,_0x3457b5,_0x1f9288;const _0x510ec8=_0x58a122[_0x2776af(0x338)],_0x4f6c62=JSON['parse'](_0x510ec8);switch(_0x4f6c62[_0x2776af(0x418)]){case F[_0x2776af(0x196)]:case F['HELLO']:{const _0x53fde3=_0x4f6c62['infoRsp'];return{..._0x4f6c62,'data':_0x53fde3,'cmd':_0x4f6c62[_0x2776af(0x418)]};}case F[_0x2776af(0x181)]:{const _0x1aff1f=_0x4f6c62[_0x2776af(0x2ec)];return{..._0x4f6c62,'data':_0x1aff1f,'cmd':_0x4f6c62[_0x2776af(0x418)]};}case F[_0x2776af(0x239)]:{const _0x4c78b3=_0x4f6c62[_0x2776af(0x312)];switch(_0x4c78b3['eventID']){case _0x850024['PERMISSION_REJ']:return{..._0x4f6c62,'data':{..._0x4c78b3,'data':(_0x12cb8e=_0x4c78b3[_0x2776af(0x1f7)])==null?void 0x0:_0x12cb8e['cs']},'cmd':_0x4f6c62[_0x2776af(0x418)]};case _0x850024[_0x2776af(0x23d)]:return{..._0x4f6c62,'data':{..._0x4c78b3,'data':(_0x260436=_0x4c78b3[_0x2776af(0x223)])==null?void 0x0:_0x260436['cs']},'cmd':_0x4f6c62[_0x2776af(0x418)]};case _0x850024[_0x2776af(0x165)]:return{..._0x4f6c62,'data':{..._0x4c78b3,'data':(_0x2d1882=_0x4c78b3['newCsEvent'])==null?void 0x0:_0x2d1882['cs']},'cmd':_0x4f6c62[_0x2776af(0x418)]};case _0x850024[_0x2776af(0x1af)]:return{..._0x4f6c62,'data':{..._0x4c78b3,'data':(_0x3457b5=_0x4c78b3[_0x2776af(0x345)])==null?void 0x0:_0x3457b5['cs']},'cmd':_0x4f6c62[_0x2776af(0x418)]};case _0x850024[_0x2776af(0x39f)]:return{..._0x4f6c62,'data':{..._0x4c78b3,'data':(_0x1f9288=_0x4c78b3[_0x2776af(0x1eb)])==null?void 0x0:_0x1f9288['cs']},'cmd':_0x4f6c62[_0x2776af(0x418)]};case _0x850024[_0x2776af(0x3f8)]:return{..._0x4f6c62,'data':{..._0x4c78b3,'data':_0x4c78b3['updateCursorEvent']},'cmd':_0x4f6c62[_0x2776af(0x418)]};case _0x850024['USERS_ENTER']:return{..._0x4f6c62,'data':{..._0x4c78b3,'data':_0x4c78b3[_0x2776af(0x249)]},'cmd':_0x4f6c62['cmd']};case _0x850024['USERS_LEAVE']:return{..._0x4f6c62,'data':{..._0x4c78b3,'data':_0x4c78b3[_0x2776af(0x1a3)]},'cmd':_0x4f6c62[_0x2776af(0x418)]};case _0x850024['LIVESHARE_NEW_HOST']:return{..._0x4f6c62,'data':{..._0x4c78b3,'data':_0x4c78b3[_0x2776af(0x34b)]},'cmd':_0x4f6c62[_0x2776af(0x418)]};case _0x850024[_0x2776af(0x228)]:case _0x850024['LIVESHARE_OPERATION']:return{..._0x4f6c62,'data':{..._0x4c78b3,'data':_0x4c78b3[_0x2776af(0x17e)]},'cmd':_0x4f6c62[_0x2776af(0x418)]};case _0x850024[_0x2776af(0x1d3)]:return{..._0x4f6c62,'data':{..._0x4c78b3,'data':_0x4c78b3[_0x2776af(0x34b)]},'cmd':_0x4f6c62['cmd']};case _0x850024[_0x2776af(0x1e1)]:return{..._0x4f6c62,'data':_0x4c78b3,'cmd':_0x4f6c62[_0x2776af(0x418)]};case _0x850024[_0x2776af(0x327)]:return{..._0x4f6c62,'data':{..._0x4c78b3,'data':_0x4c78b3[_0x2776af(0x3d8)]},'cmd':_0x4f6c62[_0x2776af(0x418)]};case _0x850024['UPDATE_PERMISSION_OBJ']:return{..._0x4f6c62,'data':{..._0x4c78b3,'data':_0x4c78b3['updatePermissionObjEvent']},'cmd':_0x4f6c62[_0x2776af(0x418)]};case _0x850024['SHOULD_CLOSE_CONN']:return{..._0x4f6c62,'data':{..._0x4c78b3,'data':_0x4c78b3[_0x2776af(0x206)]},'cmd':_0x4f6c62[_0x2776af(0x418)]};case _0x850024['UNISCRIPT_RUN']:return{..._0x4f6c62,'data':{..._0x4c78b3,'data':_0x4c78b3[_0x2776af(0x1ee)]},'cmd':_0x4f6c62[_0x2776af(0x418)]};default:return _0x4f6c62;}}default:return _0x4f6c62;}}function Hn(_0xe57398){var _0x47ab3d=_0x5a765f;switch(_0xe57398[_0x47ab3d(0x418)]){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0x47ab3d(0x45e)]({'cmd':_0xe57398[_0x47ab3d(0x418)],'routeKey':_0xe57398[_0x47ab3d(0x419)]});case F['INGEST']:{let _0x2e9127;switch(_0xe57398[_0x47ab3d(0x338)]['eventID']){case _0x850024[_0x47ab3d(0x3f8)]:{_0x2e9127={'eventID':_0x850024[_0x47ab3d(0x3f8)],'updateCursorEvent':_0xe57398[_0x47ab3d(0x338)]['data']};break;}case _0x850024[_0x47ab3d(0x2e8)]:{_0x2e9127={'eventID':_0x850024[_0x47ab3d(0x2e8)],'leaveEvent':_0xe57398[_0x47ab3d(0x338)]['data']};break;}case _0x850024[_0x47ab3d(0x319)]:{_0x2e9127={'eventID':_0x850024[_0x47ab3d(0x319)],'joinEvent':_0xe57398[_0x47ab3d(0x338)][_0x47ab3d(0x338)]};break;}case _0x850024[_0x47ab3d(0x3a5)]:{_0x2e9127={'eventID':_0x850024[_0x47ab3d(0x3a5)],'liveShareNewHost':_0xe57398['data']['data']};break;}case _0x850024[_0x47ab3d(0x1aa)]:{_0x2e9127={'eventID':_0x850024[_0x47ab3d(0x1aa)],'liveShareOperation':_0xe57398['data'][_0x47ab3d(0x338)]};break;}case _0x850024[_0x47ab3d(0x1d3)]:{_0x2e9127={'eventID':_0x850024[_0x47ab3d(0x1d3)],'liveShareTerminate':_0xe57398[_0x47ab3d(0x338)]['data']};break;}case _0x850024[_0x47ab3d(0x437)]:{_0x2e9127={'eventID':_0x850024[_0x47ab3d(0x437)],'liveShareRequestHost':_0xe57398[_0x47ab3d(0x338)]['data']};break;}case _0x850024[_0x47ab3d(0x228)]:{_0x2e9127={'eventID':_0x850024[_0x47ab3d(0x228)]};break;}default:_0x2e9127={'eventID':_0xe57398[_0x47ab3d(0x338)][_0x47ab3d(0x2ef)]};}return JSON[_0x47ab3d(0x45e)]({'cmd':_0xe57398[_0x47ab3d(0x418)],'routeKey':_0xe57398['routeKey'],'collaMsg':_0x2e9127});}case F[_0x47ab3d(0x181)]:return JSON[_0x47ab3d(0x45e)]({'cmd':_0xe57398['cmd'],'routeKey':_0xe57398[_0x47ab3d(0x419)],'joinReq':_0xe57398[_0x47ab3d(0x338)]});case F[_0x47ab3d(0x379)]:return JSON['stringify']({'cmd':_0xe57398[_0x47ab3d(0x418)],'routeKey':_0xe57398['routeKey'],'leaveReq':_0xe57398[_0x47ab3d(0x338)]});default:throw new Error(_0x47ab3d(0x275));}}var kn=Object[_0x5a765f(0x3d3)],jn=Object[_0x5a765f(0x21d)],Bn=(_0x8b9581,_0x4f573b,_0x36f597,_0x4f1577)=>{var _0x3fd7f7=_0x5a765f;for(var _0x14e073=_0x4f1577>0x1?void 0x0:_0x4f1577?jn(_0x4f573b,_0x36f597):_0x4f573b,_0x1325b4=_0x8b9581[_0x3fd7f7(0x218)]-0x1,_0x1c56ff;_0x1325b4>=0x0;_0x1325b4--)(_0x1c56ff=_0x8b9581[_0x1325b4])&&(_0x14e073=(_0x4f1577?_0x1c56ff(_0x4f573b,_0x36f597,_0x14e073):_0x1c56ff(_0x14e073))||_0x14e073);return _0x4f1577&&_0x14e073&&kn(_0x4f573b,_0x36f597,_0x14e073),_0x14e073;},Ue=(_0x15b499,_0x34e2fb)=>(_0x347e04,_0x5d0bc2)=>_0x34e2fb(_0x347e04,_0x5d0bc2,_0x15b499);const Ci=_0x1c9c52(_0x5a765f(0x1ea));function Fn(_0x3054ea,_0xc2f695,_0x3d108f){var _0x3e91a6=_0x5a765f;return _0x3054ea+'/'+_0xc2f695+_0x3e91a6(0x432)+_0x3d108f+'/new_changes';}let Et=class extends _0x870f60{constructor(_0x544087,_0x1a1b88,_0x5de3b4,_0x2b5857,_0x3453ca){var _0x2d5020=_0x5a765f;super(),this['_injector']=_0x544087,this[_0x2d5020(0x44b)]=_0x1a1b88,this['_configService']=_0x5de3b4,this[_0x2d5020(0x1a1)]=_0x2b5857,this[_0x2d5020(0x201)]=_0x3453ca;}[_0x5a765f(0x2ba)](_0x21ec52){var _0x17e82e=_0x5a765f;const _0x5710b6=this[_0x17e82e(0x213)][_0x17e82e(0x3a4)](_0x21db91);if(!_0x5710b6)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0xce16e3=_0x5710b6[_0x17e82e(0x2ba)](_0x21ec52);if(!_0xce16e3)throw new Error(_0x17e82e(0x431));const _0x33634d=new _0x4cc8cc(),_0x1226bb=new _0x55ef18();_0x33634d['add'](_0xce16e3['close$'][_0x17e82e(0x1d7)](_0x45787b=>_0x1226bb[_0x17e82e(0x36a)](_0x45787b))),_0x33634d['add'](_0x28837e(()=>_0x1226bb[_0x17e82e(0x207)]()));const _0x47d43f=new _0x55ef18();_0x33634d[_0x17e82e(0x2f7)](_0xce16e3[_0x17e82e(0x27b)][_0x17e82e(0x1d7)](_0x234542=>_0x47d43f[_0x17e82e(0x36a)](_0x234542))),_0x33634d[_0x17e82e(0x2f7)](_0x28837e(()=>_0x47d43f[_0x17e82e(0x207)]()));const _0xe3b521=new _0x55ef18();_0x33634d['add'](_0xce16e3[_0x17e82e(0x2b9)][_0x17e82e(0x1d7)](_0xbccfda=>{var _0x2ea3c7=_0x17e82e;const _0x43a6f1=$n(_0xbccfda);_0xe3b521[_0x2ea3c7(0x36a)](_0x43a6f1);})),_0x33634d[_0x17e82e(0x2f7)](_0x28837e(()=>_0xe3b521['complete']()));let _0x19984b;const _0x1085b3=()=>{var _0xe2fff9=_0x17e82e;_0x47d43f[_0xe2fff9(0x36a)](new Event(_0xe2fff9(0x41b))),_0x1226bb['next'](new CloseEvent(_0xe2fff9(0x41b))),_0x19984b[_0xe2fff9(0x30b)]();};return _0x19984b={'memberID':'','close$':_0x1226bb['asObservable'](),'error$':_0x47d43f['asObservable'](),'open$':_0xce16e3[_0x17e82e(0x220)],'message$':_0xe3b521[_0x17e82e(0x3fc)](),'send':_0x2a0f15=>{var _0x2a88f6=_0x17e82e;if(_0x2a0f15['cmd']===F[_0x2a88f6(0x391)]){if(_0x2a0f15[_0x2a88f6(0x338)][_0x2a88f6(0x2ef)]===_0x850024[_0x2a88f6(0x1c1)]){this[_0x2a88f6(0x2b6)](_0x19984b,_0x2a0f15[_0x2a88f6(0x338)])[_0x2a88f6(0x43b)](_0x1c447d=>{var _0x4b583c=_0x2a88f6;this[_0x4b583c(0x1a1)][_0x4b583c(0x344)](_0x1c447d),_0x1085b3();});return;}if(_0x2a0f15[_0x2a88f6(0x338)]['eventID']===_0x850024[_0x2a88f6(0x422)]){const _0xc59b=_0x2a0f15['data'];this[_0x2a88f6(0x1c2)](_0xc59b)[_0x2a88f6(0x385)](_0x49ca03=>{var _0x53dd7b=_0x2a88f6;_0xe3b521[_0x53dd7b(0x36a)]({'cmd':F[_0x53dd7b(0x239)],'code':Ee['OK'],'routeKey':_0xc59b['data']['unitID'],'routeType':'','data':{'eventID':_0x850024[_0x53dd7b(0x301)],'data':{'changesets':_0x49ca03}}});})[_0x2a88f6(0x43b)](_0xfb6f9c=>{var _0x5292b5=_0x2a88f6;this[_0x5292b5(0x1a1)]['error'](_0xfb6f9c),_0x1085b3();});return;}}_0xce16e3[_0x2a88f6(0x163)](Hn(_0x2a0f15));},'close':()=>{var _0x352695=_0x17e82e;_0xce16e3[_0x352695(0x30b)](),_0x33634d[_0x352695(0x17b)]();}},_0x19984b;}async[_0x5a765f(0x2b6)](_0x380789,_0x2d9c89){var _0x20e6b4=_0x5a765f,_0x4387a0,_0x3b7c1c;const {unitType:_0x522906,unitID:_0x1331ca,changeset:_0x1ba388}=_0x2d9c89[_0x20e6b4(0x338)],_0x476c21={'unitID':_0x1331ca,'memberID':_0x380789['memberID'],'type':_0x522906,'changeset':_0x52799e(_0x1ba388)},_0x40384e=this[_0x20e6b4(0x43e)][_0x20e6b4(0x1f4)](Un),_0x58e9c2=this[_0x20e6b4(0x43e)][_0x20e6b4(0x1f4)](q),_0x4e298f=Fn((_0x3b7c1c=(_0x4387a0=_0x58e9c2==null?void 0x0:_0x58e9c2['collabSubmitChangesetUrl'])!=null?_0x4387a0:_0x40384e)!=null?_0x3b7c1c:An,_0x522906,_0x1331ca);try{await this['_http'][_0x20e6b4(0x30d)](_0x4e298f,{'body':_0x476c21});}catch(_0x1230cf){throw this['_logService']['error'](_0x20e6b4(0x1ba),_0x20e6b4(0x217)),_0x1230cf;}}async['_fetchMissChangesets'](_0xb7cd4c){var _0x54074a=_0x5a765f;const {unitID:_0x6a2e57,from:_0x3cf297,to:_0x41e7ed,unitType:_0x3aa5ec}=_0xb7cd4c['data'];return(await this[_0x54074a(0x201)][_0x54074a(0x27f)]({'metadata':void 0x0},{'unitID':_0x6a2e57,'type':_0x3aa5ec,'from':_0x3cf297,'to':_0x41e7ed}))[_0x54074a(0x1b5)];}};Et=Bn([Ue(0x0,_0x1935ed(_0x4155eb)),Ue(0x1,_0x1935ed(_0xf9517d)),Ue(0x2,_0x1ee7e1),Ue(0x3,_0x5be494),Ue(0x4,_0x21b50a)],Et);const Vn=_0x5a765f(0x434);function Gn(_0x185334){var _0x24ffdc=_0x5a765f;return JSON[_0x24ffdc(0x45e)](_0x185334)['length'];}class bi{constructor(){var _0x22273e=_0x5a765f;N(this,_0x22273e(0x314),new _0x55ef18()),N(this,'commentUpdate$',this[_0x22273e(0x314)][_0x22273e(0x3fc)]());}['onCommentUpdate'](_0x5859e6){var _0x5d4f6d=_0x5a765f;this[_0x5d4f6d(0x314)][_0x5d4f6d(0x36a)](_0x5859e6);}}var Wn=Object['defineProperty'],Kn=Object[_0x5a765f(0x21d)],Yn=(_0x34de44,_0x447ae3,_0x5bfb93,_0x388e8f)=>{var _0x42555e=_0x5a765f;for(var _0x43a17a=_0x388e8f>0x1?void 0x0:_0x388e8f?Kn(_0x447ae3,_0x5bfb93):_0x447ae3,_0xf418b1=_0x34de44[_0x42555e(0x218)]-0x1,_0x34acf6;_0xf418b1>=0x0;_0xf418b1--)(_0x34acf6=_0x34de44[_0xf418b1])&&(_0x43a17a=(_0x388e8f?_0x34acf6(_0x447ae3,_0x5bfb93,_0x43a17a):_0x34acf6(_0x43a17a))||_0x43a17a);return _0x388e8f&&_0x43a17a&&Wn(_0x447ae3,_0x5bfb93,_0x43a17a),_0x43a17a;},Kt=(_0x5d5d3a,_0x12f1cc)=>(_0x322c4d,_0x44434b)=>_0x12f1cc(_0x322c4d,_0x44434b,_0x5d5d3a);let xe=class extends _0x870f60{constructor(_0x4ff9c0,_0x20af79){var _0xcc0ba8=_0x5a765f;super(),N(this,_0xcc0ba8(0x3d9),new Map()),N(this,_0xcc0ba8(0x44e),new _0x55ef18()),(this[_0xcc0ba8(0x19f)]=_0x4ff9c0,this[_0xcc0ba8(0x42a)]=_0x20af79,this[_0xcc0ba8(0x270)](_0x51624f(this[_0xcc0ba8(0x19f)][_0xcc0ba8(0x38f)](_0xf10391[_0xcc0ba8(0x2ee)])[_0xcc0ba8(0x1c9)](_0x2ecd01(_0x458496=>_0x458496[_0xcc0ba8(0x1ad)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0xf10391['UNIVER_DOC'])[_0xcc0ba8(0x1c9)](_0x2ecd01(_0x139495=>_0x139495[_0xcc0ba8(0x1ad)]())),this[_0xcc0ba8(0x19f)][_0xcc0ba8(0x38f)](_0xf10391['UNIVER_SLIDE'])['pipe'](_0x2ecd01(_0x21d119=>_0x21d119[_0xcc0ba8(0x1ad)]())))['subscribe'](_0x53f0cb=>this['_removeRoom'](_0x53f0cb))));}[_0x5a765f(0x32d)](_0x366443){var _0x4e1e7b=_0x5a765f;return this[_0x4e1e7b(0x3d9)][_0x4e1e7b(0x37c)](_0x366443)?_0x1b9046(this[_0x4e1e7b(0x3d9)][_0x4e1e7b(0x3a4)](_0x366443)):this['_roomCreated$'][_0x4e1e7b(0x1c9)](_0x2ecd01(_0x2d19ed=>{var _0x36f9c3=_0x4e1e7b;if(_0x2d19ed===_0x366443)return this['_roomMembers'][_0x36f9c3(0x3a4)](_0x2d19ed);}));}['setCurrentUser'](_0x2e8c2b){var _0x947a61=_0x5a765f;this[_0x947a61(0x42a)][_0x947a61(0x3b1)](_0x2e8c2b);}[_0x5a765f(0x162)](){var _0x5c506a=_0x5a765f;return this[_0x5c506a(0x42a)][_0x5c506a(0x162)]();}[_0x5a765f(0x36f)](_0x75de60,_0x582b6a){var _0x37b1d5=_0x5a765f;let _0x48805a=this['_roomMembers'][_0x37b1d5(0x3a4)](_0x75de60);_0x48805a||(_0x48805a=new qn(),this[_0x37b1d5(0x3d9)][_0x37b1d5(0x375)](_0x75de60,_0x48805a),this[_0x37b1d5(0x44e)][_0x37b1d5(0x36a)](_0x75de60)),_0x48805a[_0x37b1d5(0x36f)](_0x582b6a);}[_0x5a765f(0x3de)](_0x19c521,_0x453fb3){var _0x1a41c8=_0x5a765f;const _0x183282=this[_0x1a41c8(0x3d9)]['get'](_0x19c521);_0x183282&&_0x183282[_0x1a41c8(0x3de)](_0x453fb3);}[_0x5a765f(0x33c)](_0xb820a4){return this['_roomMembers']['get'](_0xb820a4);}[_0x5a765f(0x1f1)](_0x4cd862,_0x5a97a1){var _0x4bcc91=_0x5a765f;const _0x46af39=this['_roomMembers'][_0x4bcc91(0x3a4)](_0x4cd862);if(_0x46af39)return _0x46af39[_0x4bcc91(0x1f1)](_0x5a97a1);}['_removeRoom'](_0x1f906a){var _0x6a8353=_0x5a765f;const _0x103101=this[_0x6a8353(0x3d9)][_0x6a8353(0x3a4)](_0x1f906a);_0x103101&&(_0x103101[_0x6a8353(0x17b)](),this['_roomMembers'][_0x6a8353(0x232)](_0x1f906a));}['dispose'](){var _0x47b57a=_0x5a765f;this[_0x47b57a(0x3d9)][_0x47b57a(0x2e0)](_0x209577=>_0x209577[_0x47b57a(0x17b)]()),this[_0x47b57a(0x3d9)]['clear'](),this['_roomCreated$'][_0x47b57a(0x207)]();}};xe=Yn([Kt(0x0,_0x32cdfb),Kt(0x1,_0x1935ed(_0x2a1a7c))],xe);class qn extends _0x870f60{constructor(){var _0x1cf7a2=_0x5a765f;super(...arguments),N(this,'_members',new Map()),N(this,'_members$',new _0xbddaed(this['_members'])),N(this,'members$',this[_0x1cf7a2(0x370)][_0x1cf7a2(0x3fc)]());}[_0x5a765f(0x17b)](){var _0x76ad02=_0x5a765f;this[_0x76ad02(0x2fb)][_0x76ad02(0x2a4)]();}[_0x5a765f(0x36f)](_0x3ae759){var _0x3c3099=_0x5a765f;this[_0x3c3099(0x2fb)]['set'](_0x3ae759[_0x3c3099(0x35e)],_0x3ae759),this[_0x3c3099(0x3fd)]();}['removeMember'](_0x123ce1){var _0x2b2903=_0x5a765f;this['_members'][_0x2b2903(0x232)](_0x123ce1);}[_0x5a765f(0x1f1)](_0x5eb94b){var _0x11fbd7=_0x5a765f;return this[_0x11fbd7(0x2fb)][_0x11fbd7(0x3a4)](_0x5eb94b);}[_0x5a765f(0x16e)](){var _0x20a81a=_0x5a765f;return Array[_0x20a81a(0x24c)](this[_0x20a81a(0x2fb)][_0x20a81a(0x274)]());}[_0x5a765f(0x3fd)](){var _0x15f664=_0x5a765f;this[_0x15f664(0x370)][_0x15f664(0x36a)](this[_0x15f664(0x2fb)]);}}var zn=Object[_0x5a765f(0x3d3)],Jn=Object[_0x5a765f(0x21d)],Xn=(_0x50c61b,_0x41fe22,_0x2fdd9b,_0x18555f)=>{var _0x556d06=_0x5a765f;for(var _0x3229a5=_0x18555f>0x1?void 0x0:_0x18555f?Jn(_0x41fe22,_0x2fdd9b):_0x41fe22,_0x3f5527=_0x50c61b[_0x556d06(0x218)]-0x1,_0x3b875f;_0x3f5527>=0x0;_0x3f5527--)(_0x3b875f=_0x50c61b[_0x3f5527])&&(_0x3229a5=(_0x18555f?_0x3b875f(_0x41fe22,_0x2fdd9b,_0x3229a5):_0x3b875f(_0x3229a5))||_0x3229a5);return _0x18555f&&_0x3229a5&&zn(_0x41fe22,_0x2fdd9b,_0x3229a5),_0x3229a5;},me=(_0x18f859,_0x4bac8c)=>(_0x40cd68,_0x375711)=>_0x4bac8c(_0x40cd68,_0x375711,_0x18f859),Te=(_0x575de0=>(_0x575de0[_0x575de0['IDLE']=0x0]=_0x5a765f(0x1a2),_0x575de0[_0x575de0[_0x5a765f(0x273)]=0x1]=_0x5a765f(0x273),_0x575de0[_0x575de0[_0x5a765f(0x20c)]=0x2]=_0x5a765f(0x20c),_0x575de0[_0x575de0['ONLINE']=0x3]=_0x5a765f(0x315),_0x575de0))(Te||{});const Yt={[Ee['FAIL']]:_0x5a765f(0x333),[Ee[_0x5a765f(0x386)]]:_0x5a765f(0x318),[Ee[_0x5a765f(0x42e)]]:'session.room-not-exists',[Ee[_0x5a765f(0x1e2)]]:'session.room-permission-denied',[Ee[_0x5a765f(0x36d)]]:_0x5a765f(0x2dc)};let It=class extends _0x81dda6{constructor(_0x41e5c,_0x5c3c59,_0x2d25af,_0x216289,_0x100d16,_0x49c807,_0x16975e,_0x3481c5,_0x12d7fd){var _0x17eeaa=_0x5a765f;super(),N(this,_0x17eeaa(0x43a),new _0xbddaed(0x0)),N(this,_0x17eeaa(0x2f6),this[_0x17eeaa(0x43a)][_0x17eeaa(0x3fc)]()),N(this,_0x17eeaa(0x3aa),new _0x55ef18()),N(this,_0x17eeaa(0x18b),this['_event$']['asObservable']()),N(this,_0x17eeaa(0x3fe)),N(this,_0x17eeaa(0x415)),N(this,_0x17eeaa(0x1f3)),N(this,'_shouldReportTelemetry',!0x1),N(this,'_telemetryInfo',null),(this['_unitID']=_0x41e5c,this[_0x17eeaa(0x1a1)]=_0x2d25af,this[_0x17eeaa(0x43e)]=_0x216289,this[_0x17eeaa(0x326)]=_0x100d16,this['_memberService']=_0x49c807,this['_commentService']=_0x16975e,this[_0x17eeaa(0x191)]=_0x3481c5,this[_0x17eeaa(0x2b3)]=_0x12d7fd,this['_shouldReportTelemetry']=!!this[_0x17eeaa(0x2b3)],_0x5c3c59[_0x17eeaa(0x1c9)](_0x276b5d(this[_0x17eeaa(0x25e)]))[_0x17eeaa(0x1d7)](_0x388b6f=>{var _0x2b5e74=_0x17eeaa,_0x1fe355;typeof _0x388b6f>'u'||(this['_socket']=_0x388b6f,_0x388b6f?(this[_0x2b5e74(0x26f)](_0x388b6f),this[_0x2b5e74(0x415)]=_0x388b6f['message$']['subscribe'](_0x24dae7=>{var _0x474a1e=_0x2b5e74;_0x24dae7['routeKey']===this[_0x474a1e(0x451)]&&this[_0x474a1e(0x36e)](_0x24dae7);})):(this[_0x2b5e74(0x32e)](),this[_0x2b5e74(0x43a)]['next'](0x2),(_0x1fe355=this['_socketMessageSubscription'])==null||_0x1fe355[_0x2b5e74(0x1bd)](),this[_0x2b5e74(0x415)]=null));}));}get[_0x5a765f(0x172)](){var _0x300200=_0x5a765f;return this[_0x300200(0x43a)][_0x300200(0x16d)]();}['getMemberID'](){var _0x1d248a,_0x440b2f;return(_0x440b2f=(_0x1d248a=this['_socket'])==null?void 0x0:_0x1d248a['memberID'])!=null?_0x440b2f:null;}[_0x5a765f(0x17b)](){var _0x325b41=_0x5a765f;super[_0x325b41(0x17b)](),this[_0x325b41(0x25e)]['next'](),this[_0x325b41(0x25e)][_0x325b41(0x207)]();}[_0x5a765f(0x30b)](){var _0xcc5143=_0x5a765f,_0x346581,_0x1b4bbc;this[_0xcc5143(0x32e)](),(_0x346581=this[_0xcc5143(0x3fe)])==null||_0x346581['send']({'cmd':F[_0xcc5143(0x379)],'data':{'roomID':this[_0xcc5143(0x451)]}}),(_0x1b4bbc=this[_0xcc5143(0x3fe)])==null||_0x1b4bbc['close'](),this['_event$'][_0xcc5143(0x207)](),this[_0xcc5143(0x43a)][_0xcc5143(0x207)](),this[_0xcc5143(0x17b)]();}['_onCombEvent'](_0x3a3c16){var _0x5e398e=_0x5a765f;_0x3a3c16['cmd']===F[_0x5e398e(0x181)]?this['_onJoinRoomEvent'](_0x3a3c16):_0x3a3c16[_0x5e398e(0x418)]===F[_0x5e398e(0x239)]&&this['_onRecvEvent'](_0x3a3c16);}['_joinRoom'](_0x34b4be){var _0x46488f=_0x5a765f;this[_0x46488f(0x43a)][_0x46488f(0x36a)](0x1),_0x34b4be[_0x46488f(0x163)]({'cmd':F[_0x46488f(0x181)],'routeKey':this[_0x46488f(0x451)],'routeType':'','data':{'rooms':[{'roomID':this[_0x46488f(0x451)]}]}});}[_0x5a765f(0x3b3)](_0xb05d54){var _0x501c66=_0x5a765f,_0x3e8bf4;if(_0xb05d54[_0x501c66(0x175)]in Yt){this[_0x501c66(0x191)][_0x501c66(0x1cf)]({'id':se[_0x501c66(0x42f)],'data':Yt[_0xb05d54['code']]}),this[_0x501c66(0x43a)][_0x501c66(0x36a)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x14d9e9=(_0x3e8bf4=_0xb05d54[_0x501c66(0x338)]['roomInfos'][this[_0x501c66(0x451)]])==null?void 0x0:_0x3e8bf4[_0x501c66(0x325)];_0x14d9e9&&_0x14d9e9[_0x501c66(0x2e0)](_0x10e44e=>this[_0x501c66(0x1ac)][_0x501c66(0x36f)](this[_0x501c66(0x451)],_0x10e44e));}[_0x5a765f(0x390)](_0x361308){var _0x3ec8cb=_0x5a765f;try{const _0x51f267=_0x361308[_0x3ec8cb(0x338)];switch(_0x51f267[_0x3ec8cb(0x2ef)]){case _0x850024[_0x3ec8cb(0x319)]:this[_0x3ec8cb(0x1be)](_0x51f267),this[_0x3ec8cb(0x3aa)][_0x3ec8cb(0x36a)](_0x51f267);break;case _0x850024[_0x3ec8cb(0x2e8)]:this[_0x3ec8cb(0x1c7)](_0x51f267),this[_0x3ec8cb(0x3aa)][_0x3ec8cb(0x36a)](_0x51f267);break;case _0x850024[_0x3ec8cb(0x23d)]:case _0x850024[_0x3ec8cb(0x39f)]:this[_0x3ec8cb(0x303)](),this[_0x3ec8cb(0x342)](),this['_event$'][_0x3ec8cb(0x36a)](_0x51f267);break;case _0x850024['MSG_FOR_ERROR']:this[_0x3ec8cb(0x1a1)][_0x3ec8cb(0x344)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x3ec8cb(0x45e)](_0x51f267)),this[_0x3ec8cb(0x3aa)][_0x3ec8cb(0x36a)](_0x51f267);break;case _0x850024['COMMENT_UPDATE']:this['_commentService'][_0x3ec8cb(0x2dd)](_0x51f267[_0x3ec8cb(0x338)]),this[_0x3ec8cb(0x3aa)]['next'](_0x51f267);break;default:this[_0x3ec8cb(0x3aa)]['next'](_0x51f267);}}catch(_0x50ce5b){this[_0x3ec8cb(0x1a1)][_0x3ec8cb(0x344)](_0x50ce5b,_0x361308);}}[_0x5a765f(0x1be)](_0x272f96){var _0x3c9ea0=_0x5a765f;this[_0x3c9ea0(0x1ac)]['updateMember'](this[_0x3c9ea0(0x451)],_0x272f96[_0x3c9ea0(0x338)]);}['_onUserLeave'](_0x48e7bb){var _0x347e0c=_0x5a765f;this[_0x347e0c(0x1ac)]['removeMember'](this['_unitID'],_0x48e7bb[_0x347e0c(0x338)][_0x347e0c(0x35e)]);}async[_0x5a765f(0x163)](_0x45f93a,_0x53a93a){var _0x46c03e=_0x5a765f;if(this[_0x46c03e(0x172)]!==0x3||!this[_0x46c03e(0x3fe)])throw new Error(_0x46c03e(0x450));try{_0x45f93a[_0x46c03e(0x2ef)]===_0x850024['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x46c03e(0x37a)](_0x45f93a)),this[_0x46c03e(0x3fe)][_0x46c03e(0x163)]({'cmd':F[_0x46c03e(0x391)],'routeKey':_0x53a93a,'routeType':'','data':_0x45f93a});}catch(_0x42a634){this['_logService'][_0x46c03e(0x344)](_0x42a634);}}[_0x5a765f(0x3a8)](){var _0x2995f3=_0x5a765f,_0x52146e;this[_0x2995f3(0x1f3)]=setTimeout(()=>{var _0x682e78=_0x2995f3;this[_0x682e78(0x1f3)]=null,this[_0x682e78(0x191)][_0x682e78(0x1cf)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x52146e=this['_configService'][_0x2995f3(0x1f4)](Si))!=null?_0x52146e:Ei);}[_0x5a765f(0x342)](){var _0x4b60aa=_0x5a765f;this[_0x4b60aa(0x1f3)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x4b60aa(0x1f3)]=null);}[_0x5a765f(0x37a)](_0x2b8399){var _0x282969=_0x5a765f;if(!this[_0x282969(0x3b8)])return;const {data:_0x40f3cd}=_0x2b8399,{unitID:_0x1879d9,changeset:_0x48e680}=_0x40f3cd,{mutations:_0x24d234,type:_0x3970c2}=_0x48e680;this['_telemetryInfo']={'unitId':_0x1879d9,'type':_0x3970c2,'startTime':performance[_0x282969(0x289)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x24d234)};}[_0x5a765f(0x303)](){var _0x25f491=_0x5a765f;if(this['_shouldReportTelemetry']){if(!this[_0x25f491(0x283)]){this[_0x25f491(0x1a1)][_0x25f491(0x344)]('[CollaborationSession]',_0x25f491(0x1f0));return;}this[_0x25f491(0x283)][_0x25f491(0x3ba)]=performance[_0x25f491(0x289)](),this[_0x25f491(0x283)]['duration']=this[_0x25f491(0x283)]['stopTime']-this[_0x25f491(0x283)][_0x25f491(0x1d5)],this[_0x25f491(0x2b3)]['capture'](Vn,this[_0x25f491(0x283)]),this[_0x25f491(0x283)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};It=Xn([me(0x2,_0x5be494),me(0x3,_0x1ee7e1),me(0x4,_0x1935ed(_0x2a5e88)),me(0x5,_0x1935ed(xe)),me(0x6,_0x1935ed(bi)),me(0x7,_0x1935ed(pe)),me(0x8,_0x35bd38(_0x1f7e83))],It);var Zn=Object['defineProperty'],Qn=Object[_0x5a765f(0x21d)],er=(_0x3e936b,_0x46f131,_0x45d65a,_0x35c847)=>{var _0x5a132=_0x5a765f;for(var _0x4b682e=_0x35c847>0x1?void 0x0:_0x35c847?Qn(_0x46f131,_0x45d65a):_0x46f131,_0x100823=_0x3e936b[_0x5a132(0x218)]-0x1,_0x21ad18;_0x100823>=0x0;_0x100823--)(_0x21ad18=_0x3e936b[_0x100823])&&(_0x4b682e=(_0x35c847?_0x21ad18(_0x46f131,_0x45d65a,_0x4b682e):_0x21ad18(_0x4b682e))||_0x4b682e);return _0x35c847&&_0x4b682e&&Zn(_0x46f131,_0x45d65a,_0x4b682e),_0x4b682e;},ge=(_0x451453,_0x2289bf)=>(_0x45dd07,_0x116ef6)=>_0x2289bf(_0x45dd07,_0x116ef6,_0x451453);let Le=class extends _0x870f60{constructor(_0x4779a6,_0xd997cd,_0x385783,_0x319d18,_0x14830c,_0x3607b0,_0x349598){var _0x5651e3=_0x5a765f;super(),N(this,'_socket$',new _0xbddaed(void 0x0)),N(this,_0x5651e3(0x174),this[_0x5651e3(0x2b1)][_0x5651e3(0x3fc)]()),N(this,'_candidateSocket',null),N(this,_0x5651e3(0x45d),new Map()),N(this,_0x5651e3(0x1f5),new _0xbddaed(Te['IDLE'])),N(this,_0x5651e3(0x3e9),this[_0x5651e3(0x1f5)][_0x5651e3(0x3fc)]()),N(this,_0x5651e3(0x39a),!0x1),N(this,_0x5651e3(0x3f7)),N(this,'_retryCount',0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x5651e3(0x372)),(this[_0x5651e3(0x213)]=_0x4779a6,this[_0x5651e3(0x1a1)]=_0xd997cd,this['_configService']=_0x385783,this['_socketService']=_0x319d18,this[_0x5651e3(0x405)]=_0x14830c,this['_collaborationUIEventService']=_0x3607b0,this[_0x5651e3(0x41f)]=_0x349598,this[_0x5651e3(0x1b4)]());}get['_socket'](){var _0x59a202=_0x5a765f;return this[_0x59a202(0x2b1)][_0x59a202(0x16d)]();}['_listenToNetworkCondition'](){var _0x52dd48=_0x5a765f;this[_0x52dd48(0x41f)]&&this[_0x52dd48(0x270)](this[_0x52dd48(0x41f)][_0x52dd48(0x302)][_0x52dd48(0x1d7)](_0x2c8d4a=>{var _0x2db77f=_0x52dd48;_0x2c8d4a&&!this[_0x2db77f(0x3fe)]&&this[_0x2db77f(0x3e1)](),_0x2c8d4a||this[_0x2db77f(0x3fa)]();}));}['dispose'](){var _0x2bbadd=_0x5a765f;super['dispose'](),this['_sessions'][_0x2bbadd(0x2e0)](_0x431b1c=>_0x431b1c[_0x2bbadd(0x17b)]()),this['_sessions'][_0x2bbadd(0x2a4)](),this[_0x2bbadd(0x1f5)][_0x2bbadd(0x207)]();}async[_0x5a765f(0x409)](_0x1ccaf2){var _0x2a5080=_0x5a765f;if(this[_0x2a5080(0x45d)][_0x2a5080(0x37c)](_0x1ccaf2))return this[_0x2a5080(0x45d)][_0x2a5080(0x3a4)](_0x1ccaf2);this[_0x2a5080(0x322)]();const _0x5b00ec=this[_0x2a5080(0x213)][_0x2a5080(0x398)](It,_0x1ccaf2,this[_0x2a5080(0x2b1)][_0x2a5080(0x3fc)]());return this[_0x2a5080(0x45d)][_0x2a5080(0x375)](_0x1ccaf2,_0x5b00ec),_0x5b00ec;}[_0x5a765f(0x2d5)](_0x27e959){var _0x230b0b=_0x5a765f,_0x553e2b;const _0x4c1ab5=this[_0x230b0b(0x45d)][_0x230b0b(0x3a4)](_0x27e959);_0x4c1ab5&&(this[_0x230b0b(0x45d)]['delete'](_0x27e959),_0x4c1ab5[_0x230b0b(0x30b)]()),this[_0x230b0b(0x45d)][_0x230b0b(0x334)]||(_0x553e2b=this['_socket'])==null||_0x553e2b[_0x230b0b(0x30b)]();}[_0x5a765f(0x3e1)](){var _0x543419=_0x5a765f;this[_0x543419(0x22c)]=0x0,this[_0x543419(0x3f7)]!=null&&(clearTimeout(this[_0x543419(0x3f7)]),this[_0x543419(0x3f7)]=null),this[_0x543419(0x316)]();}async['_getSessionTicket'](){var _0x57ab7c=_0x5a765f,_0x1d50f0,_0x12daf2,_0x4b1ded;const _0xab352c=this[_0x57ab7c(0x43e)][_0x57ab7c(0x1f4)](q),_0x2b64d5=(_0x1d50f0=_0xab352c==null?void 0x0:_0xab352c[_0x57ab7c(0x37d)])!=null?_0x1d50f0:On;return(_0x4b1ded=(_0x12daf2=(await this['_httpService']['get'](_0x2b64d5,{'headers':{'Content-Type':_0x57ab7c(0x3ca)}}))['body'])==null?void 0x0:_0x12daf2[_0x57ab7c(0x382)])!=null?_0x4b1ded:'';}['_createSocketURL'](_0x4eaa6a){var _0x1cb29c=_0x5a765f,_0x423907,_0xf5530b;const _0x4c4b09=this[_0x1cb29c(0x43e)][_0x1cb29c(0x1f4)](bn),_0x4808f8=this[_0x1cb29c(0x43e)][_0x1cb29c(0x1f4)](q),_0x36db3a=(_0xf5530b=(_0x423907=_0x4808f8==null?void 0x0:_0x4808f8[_0x1cb29c(0x1ae)])!=null?_0x423907:_0x4c4b09)!=null?_0xf5530b:Rn,_0x4e1ee4=typeof window>'u'?new URL(_0x36db3a):new URL(_0x36db3a,window[_0x1cb29c(0x17c)]['origin']);_0x4e1ee4[_0x1cb29c(0x20f)][_0x1cb29c(0x375)](_0x1cb29c(0x30c),_0x4eaa6a);const _0x1f0f25=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x1f0f25['get']('runId')&&_0x4e1ee4[_0x1cb29c(0x20f)][_0x1cb29c(0x375)]('runId',_0x1f0f25[_0x1cb29c(0x3a4)](_0x1cb29c(0x364))),_0x4e1ee4[_0x1cb29c(0x416)]();}async[_0x5a765f(0x242)](){var _0x320418=_0x5a765f;const _0x2ac62c=await this[_0x320418(0x41c)](),_0x192405=this[_0x320418(0x215)](_0x2ac62c),_0x53ee42=this[_0x320418(0x408)][_0x320418(0x2ba)](_0x192405);return this[_0x320418(0x328)]=_0x53ee42,_0x53ee42;}async[_0x5a765f(0x322)](){var _0x8c7fa4=_0x5a765f,_0x131ab3,_0x245f5b;try{const _0x32902d=(_0x245f5b=(_0x131ab3=this[_0x8c7fa4(0x3fe)])!=null?_0x131ab3:this[_0x8c7fa4(0x328)])!=null?_0x245f5b:await this[_0x8c7fa4(0x242)]();if(_0x32902d){const _0x4dd775=_0x32902d[_0x8c7fa4(0x163)];_0x32902d[_0x8c7fa4(0x163)]=_0x1c119b=>(this['_rescheduleHeartbeat'](),_0x4dd775[_0x8c7fa4(0x400)](_0x32902d,[_0x1c119b])),_0x32902d[_0x8c7fa4(0x2b9)]['subscribe'](_0x5870e4=>this[_0x8c7fa4(0x40e)](_0x32902d,_0x5870e4)),_0x32902d[_0x8c7fa4(0x27b)]['pipe'](_0x510155(0x1))[_0x8c7fa4(0x1d7)](_0x2e89ea=>this[_0x8c7fa4(0x1a1)][_0x8c7fa4(0x344)](_0x8c7fa4(0x202),_0x2e89ea)),_0x32902d[_0x8c7fa4(0x220)]['pipe'](_0x510155(0x1))['subscribe'](()=>{var _0x52392e=_0x8c7fa4;this[_0x52392e(0x17d)](_0x32902d);}),_0x32902d[_0x8c7fa4(0x216)][_0x8c7fa4(0x1c9)](_0x510155(0x1))[_0x8c7fa4(0x1d7)](_0x28e921=>{var _0x439a80=_0x8c7fa4;this[_0x439a80(0x1a1)]['debug'](_0x439a80(0x280),_0x439a80(0x33a),_0x28e921),this[_0x439a80(0x1d2)]();});}}catch(_0x145bc8){this[_0x8c7fa4(0x1a1)][_0x8c7fa4(0x344)](_0x145bc8),this[_0x8c7fa4(0x1d2)]();}}[_0x5a765f(0x17d)](_0x1648b4){var _0x3cdf4a=_0x5a765f;this['_logService'][_0x3cdf4a(0x3e7)](_0x3cdf4a(0x280),_0x3cdf4a(0x3b7)),_0x1648b4[_0x3cdf4a(0x163)]({'cmd':F['HELLO']}),this[_0x3cdf4a(0x1dc)]();}[_0x5a765f(0x3fa)](){var _0x3212f4=_0x5a765f;this[_0x3212f4(0x39a)]=!0x1,this[_0x3212f4(0x328)]=null,this[_0x3212f4(0x1f5)]['next'](Te[_0x3212f4(0x20c)]),this[_0x3212f4(0x2b1)][_0x3212f4(0x36a)](null),this[_0x3212f4(0x23a)](),this[_0x3212f4(0x16f)]();}[_0x5a765f(0x1d2)](){var _0x435048=_0x5a765f,_0x14bab4;this[_0x435048(0x3fa)](),this['_retryCount']<((_0x14bab4=this[_0x435048(0x43e)][_0x435048(0x1f4)](Pn))!=null?_0x14bab4:wn)?(this['_collaborationUIEventService'][_0x435048(0x1cf)]({'id':se[_0x435048(0x3b2)]}),this['_tryReconnect']()):this[_0x435048(0x191)][_0x435048(0x1cf)]({'id':se[_0x435048(0x363)]});}[_0x5a765f(0x316)](){var _0x392277=_0x5a765f,_0x2a9e8f;const _0x4f37a8=this[_0x392277(0x22c)],_0x5d9f47=this[_0x392277(0x43e)]['getConfig'](q),_0x1572c4=_0x4f37a8===0x0?0x0:((_0x2a9e8f=_0x5d9f47==null?void 0x0:_0x5d9f47[_0x392277(0x214)])!=null?_0x2a9e8f:Dn)*0x2**_0x4f37a8;this[_0x392277(0x3f7)]=setTimeout(()=>{var _0x2cdbab=_0x392277;clearTimeout(this[_0x2cdbab(0x3f7)]),this[_0x2cdbab(0x3f7)]=null,this[_0x2cdbab(0x322)]();},_0x1572c4),this[_0x392277(0x22c)]+=0x1;}[_0x5a765f(0x40e)](_0x3af4f4,_0x1574f4){var _0x793fdc=_0x5a765f;const {cmd:_0x4adc92}=_0x1574f4;_0x4adc92===F['HELLO']&&!this[_0x793fdc(0x39a)]&&(_0x3af4f4[_0x793fdc(0x35e)]=_0x1574f4[_0x793fdc(0x338)][_0x793fdc(0x35e)],this[_0x793fdc(0x2b1)][_0x793fdc(0x36a)](_0x3af4f4),this[_0x793fdc(0x1f5)][_0x793fdc(0x36a)](Te[_0x793fdc(0x315)]),this[_0x793fdc(0x39a)]=!0x0,this[_0x793fdc(0x328)]=null),_0x4adc92===F[_0x793fdc(0x196)]&&this[_0x793fdc(0x23a)](),this[_0x793fdc(0x1dc)]();}['_rescheduleHeartbeat'](){var _0x2bbfed=_0x5a765f,_0x18b5ca;this[_0x2bbfed(0x16f)](),this[_0x2bbfed(0x2b7)]=setTimeout(()=>this[_0x2bbfed(0x2c0)](),(_0x18b5ca=this[_0x2bbfed(0x43e)][_0x2bbfed(0x1f4)](yn))!=null?_0x18b5ca:Nn);}[_0x5a765f(0x2c0)](){var _0x43cb17=_0x5a765f;this[_0x43cb17(0x3fe)][_0x43cb17(0x163)]({'cmd':F[_0x43cb17(0x196)]}),this[_0x43cb17(0x28c)]();}['_waitForHeartbeatResponse'](){var _0x23ac75=_0x5a765f,_0xf0a954;this[_0x23ac75(0x372)]=setTimeout(()=>this[_0x23ac75(0x1d2)](),(_0xf0a954=this[_0x23ac75(0x43e)][_0x23ac75(0x1f4)](Si))!=null?_0xf0a954:Ei);}[_0x5a765f(0x16f)](){var _0x27e154=_0x5a765f;this[_0x27e154(0x2b7)]!=null&&(clearTimeout(this[_0x27e154(0x2b7)]),this['_sendHeartbeatTimer']=null);}[_0x5a765f(0x23a)](){var _0x3ab69b=_0x5a765f;this[_0x3ab69b(0x372)]!=null&&(clearTimeout(this[_0x3ab69b(0x372)]),this['_timeoutTimer']=null);}};Le=er([ge(0x0,_0x1935ed(_0x4155eb)),ge(0x1,_0x5be494),ge(0x2,_0x1ee7e1),ge(0x3,Ci),ge(0x4,_0x1935ed(_0xf9517d)),ge(0x5,_0x1935ed(pe)),ge(0x6,_0x35bd38(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x5a765f(0x2a7)]((n+0x100)['toString'](0x10)[_0x5a765f(0x27c)](0x1));function tr(_0x141a6c,_0x242561=0x0){var _0x43d0e3=_0x5a765f;return(V[_0x141a6c[_0x242561+0x0]]+V[_0x141a6c[_0x242561+0x1]]+V[_0x141a6c[_0x242561+0x2]]+V[_0x141a6c[_0x242561+0x3]]+'-'+V[_0x141a6c[_0x242561+0x4]]+V[_0x141a6c[_0x242561+0x5]]+'-'+V[_0x141a6c[_0x242561+0x6]]+V[_0x141a6c[_0x242561+0x7]]+'-'+V[_0x141a6c[_0x242561+0x8]]+V[_0x141a6c[_0x242561+0x9]]+'-'+V[_0x141a6c[_0x242561+0xa]]+V[_0x141a6c[_0x242561+0xb]]+V[_0x141a6c[_0x242561+0xc]]+V[_0x141a6c[_0x242561+0xd]]+V[_0x141a6c[_0x242561+0xe]]+V[_0x141a6c[_0x242561+0xf]])[_0x43d0e3(0x3f9)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x3f449d=_0x5a765f;if(!ut){if(typeof crypto>'u'||!crypto[_0x3f449d(0x2e6)])throw new Error(_0x3f449d(0x37f));ut=crypto[_0x3f449d(0x2e6)][_0x3f449d(0x233)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x5a765f(0x233)](crypto),qt={'randomUUID':rr};function sr(_0x5175ba,_0x58e553,_0x10c54c){var _0x93b239=_0x5a765f,_0x4dad42,_0xcdee61,_0x603fc7;if(qt[_0x93b239(0x447)]&&!_0x5175ba)return qt[_0x93b239(0x447)]();_0x5175ba=_0x5175ba||{};const _0x58f2a5=(_0x603fc7=(_0xcdee61=_0x5175ba[_0x93b239(0x179)])!=null?_0xcdee61:(_0x4dad42=_0x5175ba[_0x93b239(0x262)])==null?void 0x0:_0x4dad42['call'](_0x5175ba))!=null?_0x603fc7:nr();if(_0x58f2a5['length']<0x10)throw new Error(_0x93b239(0x429));return _0x58f2a5[0x6]=_0x58f2a5[0x6]&0xf|0x40,_0x58f2a5[0x8]=_0x58f2a5[0x8]&0x3f|0x80,tr(_0x58f2a5);}const J=_0x1c9c52(_0x5a765f(0x368));function so(_0x2ad519){var _0x2c2ceb=_0x5a765f;return _0x2c2ceb(0x2be)+_0x2ad519;}var or=Object[_0x5a765f(0x3d3)],ar=Object[_0x5a765f(0x21d)],cr=(_0x360994,_0x5ac5b8,_0x264a01,_0xa08d8c)=>{var _0x52afb0=_0x5a765f;for(var _0xa5bc68=_0xa08d8c>0x1?void 0x0:_0xa08d8c?ar(_0x5ac5b8,_0x264a01):_0x5ac5b8,_0x48ab59=_0x360994[_0x52afb0(0x218)]-0x1,_0x1c4ee3;_0x48ab59>=0x0;_0x48ab59--)(_0x1c4ee3=_0x360994[_0x48ab59])&&(_0xa5bc68=(_0xa08d8c?_0x1c4ee3(_0x5ac5b8,_0x264a01,_0xa5bc68):_0x1c4ee3(_0xa5bc68))||_0xa5bc68);return _0xa08d8c&&_0xa5bc68&&or(_0x5ac5b8,_0x264a01,_0xa5bc68),_0xa5bc68;},dt=(_0x4c7b44,_0x8f06d1)=>(_0x2ba23c,_0x28bd04)=>_0x8f06d1(_0x2ba23c,_0x28bd04,_0x4c7b44);function hr(_0x4995fe){var _0x184855=_0x5a765f;const {unitID:_0xce99fd,mutations:_0x575815}=_0x4995fe;return{'unitId':_0xce99fd,'subUnitId':_0x575815[0x0][_0x184855(0x2db)][_0x184855(0x414)]};}let it=class{constructor(_0x1c6027,_0x3f3cc0,_0x5579b3){var _0x79e734=_0x5a765f;this[_0x79e734(0x213)]=_0x1c6027,this['_transformService']=_0x3f3cc0,this[_0x79e734(0x340)]=_0x5579b3;}[_0x5a765f(0x3c2)](_0x7c137a){var _0x4077fa=_0x5a765f,_0x112f19,_0x176e3e,_0x23a07d,_0x36425d;const _0x426742=this[_0x4077fa(0x213)][_0x4077fa(0x3a4)](_0x417d23),{unitId:_0x440b2e,subUnitId:_0x369538}=hr(_0x7c137a),_0x1fa290=_0x426742==null?void 0x0:_0x426742['getWorkbookSelections'](_0x440b2e)['getCurrentSelections'](),_0x401dd8=(_0x176e3e=(_0x112f19=this[_0x4077fa(0x340)][_0x4077fa(0x401)](_0x440b2e))==null?void 0x0:_0x112f19[_0x4077fa(0x36b)]())==null?void 0x0:_0x176e3e[_0x4077fa(0x311)]();if(_0x1fa290[_0x4077fa(0x218)]===0x0||!_0x440b2e||!_0x369538)return;const _0x1e7673=[{'id':_0x19bf4e['id'],'params':{'unitId':_0x440b2e,'subUnitId':_0x401dd8,'selections':_0x53bff0[_0x4077fa(0x1b2)](_0x1fa290)}}],_0x2900e1=this['_transformService']['transformMutationsWithChangeset'](_0x7c137a,_0x1e7673);if(!_0x1da72b(_0x2900e1))throw _0x2900e1[_0x4077fa(0x344)];const _0xaeb478=(_0x36425d=(_0x23a07d=_0x2900e1[_0x4077fa(0x1ff)][0x0])==null?void 0x0:_0x23a07d['params'])==null?void 0x0:_0x36425d['selections'];if(Array['isArray'](_0xaeb478)&&_0xaeb478[_0x4077fa(0x218)]){if(_0xaeb478[_0x4077fa(0x218)]===_0x1e7673[0x0][_0x4077fa(0x2db)][_0x4077fa(0x29e)][_0x4077fa(0x218)]&&_0xaeb478[_0x4077fa(0x2e5)]((_0xac472b,_0x24727e)=>_0x509ad7['equals'](_0xac472b[_0x4077fa(0x3d5)],_0x1e7673[0x0][_0x4077fa(0x2db)][_0x4077fa(0x29e)][_0x24727e][_0x4077fa(0x3d5)])))return;this[_0x4077fa(0x213)]['get'](_0xd33b12)['executeCommand'](_0x19bf4e['id'],{'unitId':_0x440b2e,'subUnitId':_0x401dd8,'selections':_0xaeb478});}}};it=cr([dt(0x0,_0x1935ed(_0x4155eb)),dt(0x1,_0x494f1a),dt(0x2,_0x32cdfb)],it);const ht=_0x1c9c52(_0x5a765f(0x1cc));var Ri=(_0x3f4598=>(_0x3f4598[_0x3f4598[_0x5a765f(0x3ed)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3f4598[_0x3f4598['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x3f4598))(Ri||{});const _r=new Set([_0x3aed37['id']]);function zt(_0x1cc499,_0x20fe75,_0xad00b9,_0x4c33b0,_0x296f4c){var _0x3f7bcb=_0x5a765f,_0x456b01,_0x292ba7,_0x52ea24,_0x2d9625;const _0x3357d3=[];for(const _0x477a8e of _0x1cc499)if(_r[_0x3f7bcb(0x37c)](_0x477a8e['id'])){if(_0x3357d3['length']>0x0)break;_0x3357d3[_0x3f7bcb(0x2a7)](_0x477a8e);break;}else _0x3357d3[_0x3f7bcb(0x2a7)](_0x477a8e);const _0x1c7f13=(_0x292ba7=(_0x456b01=_0x296f4c[_0x3f7bcb(0x162)]())==null?void 0x0:_0x456b01[_0x3f7bcb(0x25d)])!=null?_0x292ba7:_0x3f7bcb(0x40b),_0x525bac=(_0x2d9625=(_0x52ea24=_0x296f4c[_0x3f7bcb(0x162)]())==null?void 0x0:_0x52ea24[_0x3f7bcb(0x35e)])!=null?_0x2d9625:_0x3f7bcb(0x40b);return{'changeset':{'unitID':_0x20fe75,'type':_0x4ee7bb(_0xad00b9['getUnitType'](_0x20fe75)),'baseRev':_0x4c33b0[_0x3f7bcb(0x227)](_0x20fe75),'revision':0x0,'userID':_0x1c7f13,'memberID':_0x525bac,'mutations':_0x3357d3},'pendingMutations':_0x1cc499[_0x3f7bcb(0x27c)](_0x3357d3[_0x3f7bcb(0x218)])};}function lr(_0x548f3d,_0x39bc0e,_0x29a4f6,_0x4eb7d1,_0x3dfecc){var _0x3a1794=_0x5a765f,_0x15484d,_0x399aed,_0x4b05ea,_0x4736cd;const _0x1464de=[_0x548f3d[_0x3a1794(0x2bd)]((_0x1cf233,_0x3d0174)=>{var _0x1de8b8=_0x3a1794,_0x5869d5;const {id:_0x417ea1}=_0x1cf233,{id:_0xb8973a,type:_0x192040}=_0x3d0174,_0x59ef2f=(_0x5869d5=_0x1cf233[_0x1de8b8(0x2db)])!=null?_0x5869d5:{'actions':null},_0xb9592a=_0x3d0174[_0x1de8b8(0x2db)];if(_0x417ea1&&_0x417ea1!==_0xb8973a)throw new Error(_0x1de8b8(0x332)+_0x417ea1+_0x1de8b8(0x436)+_0xb8973a+'.');return{..._0x1cf233,'id':_0xb8973a,'type':_0x192040,'params':{'unitId':_0xb9592a[_0x1de8b8(0x263)],'textRanges':_0xb9592a[_0x1de8b8(0x292)],'actions':_0x3f3051[_0x1de8b8(0x3ef)](_0x59ef2f[_0x1de8b8(0x2b5)],_0xb9592a[_0x1de8b8(0x2b5)])}};},{})],_0x1b32da=(_0x399aed=(_0x15484d=_0x3dfecc[_0x3a1794(0x162)]())==null?void 0x0:_0x15484d[_0x3a1794(0x25d)])!=null?_0x399aed:_0x3a1794(0x40b),_0x5e4ce1=(_0x4736cd=(_0x4b05ea=_0x3dfecc['getCurrentUser']())==null?void 0x0:_0x4b05ea[_0x3a1794(0x35e)])!=null?_0x4736cd:_0x3a1794(0x40b);return{'changeset':{'unitID':_0x39bc0e,'type':_0x4ee7bb(_0x29a4f6[_0x3a1794(0x33d)](_0x39bc0e)),'baseRev':_0x4eb7d1[_0x3a1794(0x227)](_0x39bc0e),'revision':0x0,'userID':_0x1b32da,'memberID':_0x5e4ce1,'mutations':_0x1464de},'pendingMutations':[]};}function Oi(_0x94ca97,_0x91e83f){var _0x277eae=_0x5a765f;const _0x5433bf=new _0x2c899a(0x1);return setTimeout(()=>_0x5433bf[_0x277eae(0x36a)](_0x91e83f),_0x94ca97),_0x5433bf['asObservable']()[_0x277eae(0x1c9)](_0x54fda1(0x1));}const ur={'id':_0x4ef238['id'],'type':_0x25d7c6[_0x5a765f(0x1d4)],'params':{}};var dr=Object[_0x5a765f(0x3d3)],fr=Object['getOwnPropertyDescriptor'],be=(_0x5ba2ae,_0x277177,_0x4ff8b5,_0x1a50db)=>{var _0xdb372a=_0x5a765f;for(var _0x1fa81a=_0x1a50db>0x1?void 0x0:_0x1a50db?fr(_0x277177,_0x4ff8b5):_0x277177,_0x335234=_0x5ba2ae[_0xdb372a(0x218)]-0x1,_0xc53d42;_0x335234>=0x0;_0x335234--)(_0xc53d42=_0x5ba2ae[_0x335234])&&(_0x1fa81a=(_0x1a50db?_0xc53d42(_0x277177,_0x4ff8b5,_0x1fa81a):_0xc53d42(_0x1fa81a))||_0x1fa81a);return _0x1a50db&&_0x1fa81a&&dr(_0x277177,_0x4ff8b5,_0x1fa81a),_0x1fa81a;},A=(_0x3d43ff,_0x5652a6)=>(_0x5a9e76,_0xb0126e)=>_0x5652a6(_0x5a9e76,_0xb0126e,_0x3d43ff),yi=(_0x5cb177=>(_0x5cb177[_0x5a765f(0x29f)]=_0x5a765f(0x2e3),_0x5cb177[_0x5a765f(0x31d)]=_0x5a765f(0x45a),_0x5cb177[_0x5a765f(0x1a7)]=_0x5a765f(0x190),_0x5cb177[_0x5a765f(0x320)]='awaiting',_0x5cb177[_0x5a765f(0x43c)]=_0x5a765f(0x2e2),_0x5cb177['FETCH_MISS']='fetch_missing',_0x5cb177[_0x5a765f(0x23b)]='conflict',_0x5cb177[_0x5a765f(0x20c)]=_0x5a765f(0x24f),_0x5cb177))(yi||{});const Ni=0xea60;class Re{constructor(_0x2828a1,_0x1b2891,_0x1634b6,_0xe53d75,_0xebc3b7,_0x47f5c0,_0x457805,_0x139e1e,_0x4eb12c){var _0x27496b=_0x5a765f;N(this,_0x27496b(0x24b),null),N(this,_0x27496b(0x377),[]),(this[_0x27496b(0x27d)]=_0x2828a1,this[_0x27496b(0x3eb)]=_0x1b2891,this[_0x27496b(0x2d2)]=_0xebc3b7,this['_commandService']=_0x47f5c0,this[_0x27496b(0x369)]=_0x457805,this[_0x27496b(0x313)]=_0x139e1e,this[_0x27496b(0x286)]=_0x4eb12c,this[_0x27496b(0x24b)]=_0x1634b6,this['_pendingMutations']=_0xe53d75);}[_0x5a765f(0x231)](_0x287632){var _0x5b0af7=_0x5a765f;const _0x497a89=this['_revisionService'][_0x5b0af7(0x227)](this[_0x5b0af7(0x27d)]);return _0x287632[_0x5b0af7(0x427)]>_0x497a89+0x1?(this[_0x5b0af7(0x2d2)]['onMissingChangesets']({'from':_0x497a89,'to':_0x287632[_0x5b0af7(0x427)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x5f4fa6){var _0x4394e0=_0x5a765f;this['_undoRedoService'][_0x4394e0(0x38c)](this[_0x4394e0(0x27d)],_0x5f4fa6);}[_0x5a765f(0x1bb)](_0x23c8ed){var _0x12b777=_0x5a765f,_0x406cc1,_0x38e818;(_0x38e818=(_0x406cc1=this[_0x12b777(0x2d2)])[_0x12b777(0x198)])==null||_0x38e818[_0x12b777(0x3ae)](_0x406cc1,_0x23c8ed);}[_0x5a765f(0x38b)](_0x4e1a26){var _0xd8918a=_0x5a765f,_0x101508,_0x5010ea;return(_0x5010ea=(_0x101508=this[_0xd8918a(0x2d2)])['onTransformIME'])==null?void 0x0:_0x5010ea[_0xd8918a(0x3ae)](_0x101508,_0x4e1a26);}[_0x5a765f(0x347)](_0x4b8f64){var _0x4c5aa7=_0x5a765f,_0x59700f,_0x2b1a77;return(_0x2b1a77=(_0x59700f=this[_0x4c5aa7(0x2d2)])['onTransformState'])==null?void 0x0:_0x2b1a77['call'](_0x59700f,_0x4b8f64);}[_0x5a765f(0x38d)](_0x20b9e3){var _0x1f7fda=_0x5a765f,_0x1d955f,_0x2e0782,_0x345403;return(_0x345403=(_0x2e0782=(_0x1d955f=this[_0x1f7fda(0x2d2)])[_0x1f7fda(0x2d6)])==null?void 0x0:_0x2e0782['call'](_0x1d955f,_0x20b9e3))!=null?_0x345403:_0x20b9e3;}[_0x5a765f(0x22d)](_0x3b16c8){var _0xf8778f=_0x5a765f,_0x197902,_0x3e2e2c,_0x31309f;return(_0x31309f=(_0x3e2e2c=(_0x197902=this[_0xf8778f(0x2d2)])[_0xf8778f(0x2aa)])==null?void 0x0:_0x3e2e2c[_0xf8778f(0x3ae)](_0x197902,_0x3b16c8))!=null?_0x31309f:_0x3b16c8;}[_0x5a765f(0x2c5)](_0x5e1cb9){var _0x39791c=_0x5a765f,_0x2680dd,_0x41f488;if(this[_0x39791c(0x3eb)]===Q[_0x39791c(0x2f4)]){const {unitID:_0x12b436,mutations:_0x514611,memberID:_0x597ee8}=_0x5e1cb9,_0x437fa2=_0x514611[0x0][_0x39791c(0x2db)][_0x39791c(0x292)];Array[_0x39791c(0x235)](_0x437fa2)&&_0x437fa2[_0x39791c(0x218)]>0x0&&((_0x41f488=(_0x2680dd=this['_handler'])[_0x39791c(0x3ea)])==null||_0x41f488['call'](_0x2680dd,{'unitID':_0x12b436,'memberID':_0x597ee8,'textRanges':_0x437fa2}));}}[_0x5a765f(0x2c7)](){var _0x599d45=_0x5a765f,_0x5769aa;(_0x5769aa=this[_0x599d45(0x286)])==null||_0x5769aa['updateOfflineData'](this['unitID'],this[_0x599d45(0x3eb)],this[_0x599d45(0x24b)],this[_0x599d45(0x377)]);}['_getCurrentRevision'](){var _0x5a2e60=_0x5a765f;return this[_0x5a2e60(0x313)]['getCurrentRevOfUnit'](this[_0x5a2e60(0x27d)]);}['_incrementRevisionNumber'](){var _0x3622b7=_0x5a765f;this[_0x3622b7(0x313)][_0x3622b7(0x17a)](this['unitID']);}[_0x5a765f(0x2c3)](_0x251c1e){var _0x4c19ea=_0x5a765f,_0x1034ac;let _0x2f88e4=this[_0x4c19ea(0x38d)](_0x251c1e);_0x2f88e4=this['_transformRemoteChangesetByStateCache'](_0x2f88e4);const _0x59c68b=_0x108f95(_0x2f88e4['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x59c68b['result'])throw _0x59c68b['error']instanceof Error?_0x59c68b['error']:new Error((_0x1034ac=_0x59c68b['error'])!=null?_0x1034ac:_0x4c19ea(0x33e));this[_0x4c19ea(0x38b)](_0x2f88e4),this['_transformStateCache'](_0x2f88e4),this['_transformUndoredo'](_0x251c1e),this[_0x4c19ea(0x1bb)](_0x2f88e4),this[_0x4c19ea(0x2c5)](_0x2f88e4),this['_incrementRevisionNumber']();}}let De=class extends Re{constructor(_0x3fc37d,_0x1db0f8,_0x4fb533,_0x323408,_0x5e153e,_0x14a734,_0x482d9b,_0x3beb7f,_0x48c56d,_0x279b1e){var _0xcd050a=_0x5a765f;super(_0x3fc37d,_0x1db0f8,null,[],_0x4fb533,_0x482d9b,_0x14a734,_0x323408,_0x279b1e),N(this,'status',_0xcd050a(0x45a)),(this[_0xcd050a(0x213)]=_0x5e153e,this[_0xcd050a(0x1a1)]=_0x3beb7f,this[_0xcd050a(0x3d2)]=_0x48c56d,this[_0xcd050a(0x195)]=_0x279b1e);}['appendMutation'](_0x2893ce){var _0xfda054=_0x5a765f;const _0xc9374b=this[_0xfda054(0x213)]['createInstance'](oe,this[_0xfda054(0x27d)],this[_0xfda054(0x3eb)],[_0x2893ce],this[_0xfda054(0x2d2)]);return _0xc9374b[_0xfda054(0x2ea)](),_0xc9374b['_updateLocalCache'](),_0xc9374b;}['onRemoteChangeset'](_0x376fee){var _0x5c6497=_0x5a765f;if(this[_0x5c6497(0x231)](_0x376fee))return this[_0x5c6497(0x213)][_0x5c6497(0x398)](te,this['unitID'],this[_0x5c6497(0x3eb)],null,[],null,[_0x376fee],this[_0x5c6497(0x2d2)]);try{const _0x1fa12e=this[_0x5c6497(0x3d2)][_0x5c6497(0x339)](_0x376fee,[ur]);if(_0x1da72b(_0x1fa12e)){const {c1Prime:_0x351dc3}=_0x1fa12e;return this[_0x5c6497(0x2c3)](_0x351dc3),this;}throw _0x1fa12e[_0x5c6497(0x344)];}catch(_0x2a4b43){return this['_logService'][_0x5c6497(0x344)](_0x2a4b43),this['_onConflict'](!0x1);}}[_0x5a765f(0x188)](_0x4503ab){var _0x574ee5=_0x5a765f;return this[_0x574ee5(0x213)][_0x574ee5(0x398)](de,this[_0x574ee5(0x27d)],this[_0x574ee5(0x3eb)],null,[],this[_0x574ee5(0x2d2)],_0x4503ab);}[_0x5a765f(0x2ca)](){var _0x6ceb2b=_0x5a765f;throw new Error(_0x6ceb2b(0x3cf));}[_0x5a765f(0x30e)](){var _0x17b49b=_0x5a765f;throw new Error(_0x17b49b(0x21f));}[_0x5a765f(0x3e2)](){return this;}[_0x5a765f(0x317)](){var _0x2be4d2=_0x5a765f;return this[_0x2be4d2(0x213)][_0x2be4d2(0x398)](fe,this[_0x2be4d2(0x27d)],this[_0x2be4d2(0x3eb)],null,[],this[_0x2be4d2(0x2d2)]);}[_0x5a765f(0x258)](){return this;}[_0x5a765f(0x204)](){var _0x182fd9=_0x5a765f;throw new Error(_0x182fd9(0x278));}[_0x5a765f(0x21e)](){var _0x2fc041=_0x5a765f;const _0x21f7e6=this[_0x2fc041(0x313)][_0x2fc041(0x227)](this[_0x2fc041(0x27d)]);return this[_0x2fc041(0x2d2)][_0x2fc041(0x45c)]({'from':_0x21f7e6,'to':0x0}),this[_0x2fc041(0x213)][_0x2fc041(0x398)](te,this[_0x2fc041(0x27d)],this[_0x2fc041(0x3eb)],null,[],null,[],this[_0x2fc041(0x2d2)]);}};De=be([A(0x3,_0x1935ed(_0x4d450c)),A(0x4,_0x1935ed(_0x4155eb)),A(0x5,_0x2d5855),A(0x6,_0xd33b12),A(0x7,_0x5be494),A(0x8,_0x494f1a),A(0x9,_0x35bd38(J))],De);let oe=class extends Re{constructor(_0x1eccef,_0x3346ae,_0x4f5acd,_0x52af24,_0x3abadf,_0x544240,_0x3c97c0,_0x40845c,_0x457103,_0x495f2f,_0x2d08f5,_0x3840d8,_0x27e120,_0x11ac1e){var _0x583e3a=_0x5a765f;super(_0x1eccef,_0x3346ae,null,_0x4f5acd,_0x52af24,_0x457103,_0x27e120,_0x544240,_0x11ac1e),N(this,_0x583e3a(0x19d),_0x583e3a(0x190)),N(this,_0x583e3a(0x394),null),N(this,'_sendingTimer',null),(this[_0x583e3a(0x213)]=_0x3abadf,this['_memberService']=_0x3c97c0,this[_0x583e3a(0x1a1)]=_0x40845c,this[_0x583e3a(0x43e)]=_0x495f2f,this[_0x583e3a(0x3d2)]=_0x2d08f5,this[_0x583e3a(0x19f)]=_0x3840d8);}[_0x5a765f(0x186)](_0x4b2204){var _0x1f59ba=_0x5a765f;return this['_pendingMutations'][_0x1f59ba(0x2a7)](_0x4b2204),this[_0x1f59ba(0x2c7)](),this;}[_0x5a765f(0x37e)](_0x5965ba){var _0x252c68=_0x5a765f;if(this[_0x252c68(0x231)](_0x5965ba))return this['_clearScheduledTask'](),this['_injector'][_0x252c68(0x398)](te,this[_0x252c68(0x27d)],this[_0x252c68(0x3eb)],null,this['_pendingMutations'],null,[_0x5965ba],this[_0x252c68(0x2d2)]);try{const _0x5283bf=this[_0x252c68(0x3d2)][_0x252c68(0x339)](_0x5965ba,this[_0x252c68(0x377)]);if(_0x1da72b(_0x5283bf)){const {c1Prime:_0x3caec9,m2Prime:_0x22e38b}=_0x5283bf;this['_executeRemoteChangeset'](_0x3caec9);const _0x3da27b=this[_0x252c68(0x213)][_0x252c68(0x398)](oe,this[_0x252c68(0x27d)],this[_0x252c68(0x3eb)],_0x22e38b,this[_0x252c68(0x2d2)]);this[_0x252c68(0x18a)]();const _0x1d13b2=new Date()['getTime'](),_0x596e88=this[_0x252c68(0x394)]?Math['max'](this[_0x252c68(0x394)]-_0x1d13b2,0x0):this[_0x252c68(0x189)]();return _0x3da27b['_schedule'](_0x596e88),_0x3da27b;}throw _0x5283bf['error'];}catch(_0x24d9df){return this[_0x252c68(0x1a1)][_0x252c68(0x344)](_0x24d9df),this['_onConflict'](!0x1);}}[_0x5a765f(0x2ca)](){var _0x4219aa=_0x5a765f;throw new Error(_0x4219aa(0x22a));}[_0x5a765f(0x30e)](){var _0x283c6f=_0x5a765f;throw new Error(_0x283c6f(0x444));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x83a56d=_0x5a765f;return this['_clearScheduledTask'](),this[_0x83a56d(0x213)][_0x83a56d(0x398)](fe,this[_0x83a56d(0x27d)],this[_0x83a56d(0x3eb)],null,this[_0x83a56d(0x377)],this['_handler']);}['toggleOnline'](){return this;}['_schedule'](_0x2f6932){var _0x3f49b1=_0x5a765f;const _0x4c2a87=_0x2f6932!=null?_0x2f6932:this[_0x3f49b1(0x189)]();this[_0x3f49b1(0x394)]=new Date()[_0x3f49b1(0x1d0)]()+_0x4c2a87,this['_sendingTimer']=setTimeout(()=>{var _0x52cd86=_0x3f49b1;this[_0x52cd86(0x18a)]();let _0xe22f26=null;switch(this[_0x52cd86(0x3eb)]){case Q[_0x52cd86(0x2ee)]:{_0xe22f26=zt(this[_0x52cd86(0x377)],this['unitID'],this[_0x52cd86(0x19f)],this[_0x52cd86(0x313)],this[_0x52cd86(0x1ac)]);break;}case Q[_0x52cd86(0x2f4)]:{this[_0x52cd86(0x377)]['every'](_0x47cfca=>_0x47cfca['id']===_0x286a10['id'])?_0xe22f26=lr(this[_0x52cd86(0x377)],this[_0x52cd86(0x27d)],this[_0x52cd86(0x19f)],this[_0x52cd86(0x313)],this['_memberService']):_0xe22f26=zt(this['_pendingMutations'],this[_0x52cd86(0x27d)],this['_univerInstanceService'],this[_0x52cd86(0x313)],this[_0x52cd86(0x1ac)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x52cd86(0x3eb)]+_0x52cd86(0x267));}const {changeset:_0x364258,pendingMutations:_0x251b57}=_0xe22f26;this[_0x52cd86(0x2d2)][_0x52cd86(0x183)](_0x364258);const _0x138864=_0x251b57['length']?this[_0x52cd86(0x213)][_0x52cd86(0x398)](ae,this[_0x52cd86(0x27d)],this[_0x52cd86(0x3eb)],_0x364258,_0x251b57,this[_0x52cd86(0x2d2)],void 0x0):this[_0x52cd86(0x213)]['createInstance'](ue,this['unitID'],this['type'],_0x364258,this[_0x52cd86(0x2d2)]);_0x138864[_0x52cd86(0x2c7)](),this['_handler'][_0x52cd86(0x374)](this,_0x138864);},_0x4c2a87);}[_0x5a765f(0x189)](){var _0x4e8830=_0x5a765f,_0x672b9f;const _0x29c743=this[_0x4e8830(0x43e)][_0x4e8830(0x1f4)](q);return(_0x672b9f=_0x29c743==null?void 0x0:_0x29c743[_0x4e8830(0x33b)])!=null?_0x672b9f:Cn;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5a765f(0x18a)](){var _0x38d199=_0x5a765f;this[_0x38d199(0x261)]!=null&&(clearTimeout(this[_0x38d199(0x261)]),this[_0x38d199(0x261)]=null);}[_0x5a765f(0x188)](_0x36c0f4){var _0x56080a=_0x5a765f;return this[_0x56080a(0x18a)](),this['_injector'][_0x56080a(0x398)](de,this[_0x56080a(0x27d)],this[_0x56080a(0x3eb)],null,this[_0x56080a(0x377)],this[_0x56080a(0x2d2)],_0x36c0f4);}};oe=be([A(0x4,_0x1935ed(_0x4155eb)),A(0x5,_0x1935ed(_0x4d450c)),A(0x6,_0x1935ed(xe)),A(0x7,_0x5be494),A(0x8,_0xd33b12),A(0x9,_0x1ee7e1),A(0xa,_0x494f1a),A(0xb,_0x32cdfb),A(0xc,_0x2d5855),A(0xd,_0x35bd38(J))],oe);let ue=class extends Re{constructor(_0x5e8fb8,_0x4aff40,_0x13551b,_0x2a111a,_0x17b774,_0x4b5c8d,_0x1ba3e3,_0x23f916,_0x5134ff,_0x4de0fc,_0x124019){var _0x172843=_0x5a765f;super(_0x5e8fb8,_0x4aff40,_0x13551b,[],_0x2a111a,_0x1ba3e3,_0x4de0fc,_0x4b5c8d,_0x124019),N(this,_0x172843(0x19d),'awaiting'),N(this,_0x172843(0x1e4),0x0),N(this,'_resendTimer'),N(this,'_sender'),(this['_injector']=_0x17b774,this[_0x172843(0x1a1)]=_0x23f916,this[_0x172843(0x3d2)]=_0x5134ff);}[_0x5a765f(0x186)](_0x2c61b3){var _0x2125d6=_0x5a765f;this[_0x2125d6(0x18a)]();const _0x26306d=this[_0x2125d6(0x213)][_0x2125d6(0x398)](ae,this[_0x2125d6(0x27d)],this[_0x2125d6(0x3eb)],this[_0x2125d6(0x24b)],[_0x2c61b3],this[_0x2125d6(0x2d2)],this['_resendTimer']);return _0x26306d['_updateLocalCache'](),_0x26306d;}[_0x5a765f(0x37e)](_0x380a5a){var _0x689e07=_0x5a765f;if(this[_0x689e07(0x231)](_0x380a5a))return this[_0x689e07(0x18a)](),this[_0x689e07(0x213)][_0x689e07(0x398)](te,this[_0x689e07(0x27d)],this['type'],this['_awaitingChangeset'],[],null,[_0x380a5a],this['_handler']);try{const _0x22331c=this[_0x689e07(0x3d2)][_0x689e07(0x26d)]([_0x380a5a],[this[_0x689e07(0x24b)]],!0x1);if(_0x5cb54d(_0x22331c)){const {c1Prime:_0x470dec,c2Prime:_0x5809ac}=_0x22331c;this['_executeRemoteChangeset'](_0x470dec[0x0]),_0x5809ac[0x0][_0x689e07(0x309)]=this[_0x689e07(0x35b)](),this['_clearScheduledTask']();const _0x27192c=this[_0x689e07(0x213)][_0x689e07(0x398)](ue,this['unitID'],this['type'],_0x5809ac[0x0],this['_handler']);return _0x27192c['_updateLocalCache'](),_0x27192c;}return this[_0x689e07(0x188)](!0x1);}catch(_0x154ca9){return this[_0x689e07(0x1a1)]['error'](_0x154ca9),this[_0x689e07(0x188)](!0x1);}}[_0x5a765f(0x2ca)](_0x18f39d){var _0x168abb=_0x5a765f;this[_0x168abb(0x18a)]();const _0x2a2275=this[_0x168abb(0x313)]['getCurrentRevOfUnit'](this['unitID']);if(_0x18f39d[_0x168abb(0x427)]<_0x2a2275-0x1)return this;if(this[_0x168abb(0x231)](_0x18f39d))return this[_0x168abb(0x213)]['createInstance'](te,this[_0x168abb(0x27d)],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x168abb(0x2d2)]);this[_0x168abb(0x2d8)]();const _0xca9e4=this['_injector'][_0x168abb(0x398)](De,this[_0x168abb(0x27d)],this[_0x168abb(0x3eb)],this[_0x168abb(0x2d2)]);return _0xca9e4['_updateLocalCache'](),_0xca9e4;}[_0x5a765f(0x30e)](_0x2b5516){var _0xa6e06b=_0x5a765f;return this[_0xa6e06b(0x188)](!!(_0x2b5516!=null&&_0x2b5516[_0xa6e06b(0x282)]));}[_0x5a765f(0x3e2)](_0x4ca926){var _0x4fd207=_0x5a765f;return this[_0x4fd207(0x1e4)]>Ni?this['toggleOffline']():(this['_resendTimer']=Oi(this[_0x4fd207(0x1e4)],{'timeout':this[_0x4fd207(0x1e4)],'reqId':_0x4ca926[_0x4fd207(0x337)]}),this[_0x4fd207(0x3df)]=this[_0x4fd207(0x3dc)][_0x4fd207(0x1d7)](({reqId:_0x280609,timeout:_0x270562})=>{var _0x10774a=_0x4fd207;this[_0x10774a(0x288)](_0x280609,_0x270562);}),this);}[_0x5a765f(0x317)](){var _0x2f4fcb=_0x5a765f;return this[_0x2f4fcb(0x18a)](),this[_0x2f4fcb(0x213)][_0x2f4fcb(0x398)](fe,this[_0x2f4fcb(0x27d)],this[_0x2f4fcb(0x3eb)],this[_0x2f4fcb(0x24b)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x5a765f(0x204)](){var _0x4a82fe=_0x5a765f;this[_0x4a82fe(0x2d2)][_0x4a82fe(0x183)](this[_0x4a82fe(0x24b)]);}[_0x5a765f(0x188)](_0x1e502f){var _0x411366=_0x5a765f;return this['_clearScheduledTask'](),this[_0x411366(0x213)]['createInstance'](de,this[_0x411366(0x27d)],this['type'],this[_0x411366(0x24b)],[],this[_0x411366(0x2d2)],_0x1e502f);}['_resendWithTimeout'](_0xda9450,_0x5bbcc9){var _0x35a574=_0x5a765f,_0x16ae1d;_0xda9450===((_0x16ae1d=this['_awaitingChangeset'])==null?void 0x0:_0x16ae1d[_0x35a574(0x337)])&&(this[_0x35a574(0x204)](),this[_0x35a574(0x1e4)]=_0x5bbcc9===0x0?0x3e8:_0x5bbcc9*0x2);}[_0x5a765f(0x18a)](){var _0x3be479;(_0x3be479=this['_sender'])==null||_0x3be479['unsubscribe'](),this['_resendTimeout']=0x0;}};ue=be([A(0x4,_0x1935ed(_0x4155eb)),A(0x5,_0x1935ed(_0x4d450c)),A(0x6,_0xd33b12),A(0x7,_0x5be494),A(0x8,_0x494f1a),A(0x9,_0x2d5855),A(0xa,_0x35bd38(J))],ue);let ae=class extends Re{constructor(_0x56d8df,_0x216921,_0x3d3b75,_0x39be0e,_0x59c3de,_0x464e7e,_0x56974c,_0x1d689b,_0x7915f,_0x20f0f4,_0x2e8fac,_0x18d9f7,_0x38b03d){var _0x2d31cc=_0x5a765f;super(_0x56d8df,_0x216921,_0x3d3b75,_0x39be0e,_0x59c3de,_0x7915f,_0x18d9f7,_0x1d689b,_0x38b03d),N(this,'status',_0x2d31cc(0x2e2)),N(this,_0x2d31cc(0x1e4),0x0),N(this,_0x2d31cc(0x3dc)),N(this,_0x2d31cc(0x3df)),(this[_0x2d31cc(0x213)]=_0x56974c,this[_0x2d31cc(0x1a1)]=_0x20f0f4,this['_transformService']=_0x2e8fac,this[_0x2d31cc(0x195)]=_0x38b03d,_0x464e7e&&(this[_0x2d31cc(0x3dc)]=_0x464e7e,this[_0x2d31cc(0x3df)]=this['_resendTimer'][_0x2d31cc(0x1d7)](({reqId:_0x159ae9,timeout:_0x5a8301})=>{var _0x14dd3d=_0x2d31cc;this[_0x14dd3d(0x288)](_0x159ae9,_0x5a8301);})));}[_0x5a765f(0x186)](_0x13fe75){var _0x4da126=_0x5a765f;return this[_0x4da126(0x377)][_0x4da126(0x2a7)](_0x13fe75),this;}[_0x5a765f(0x37e)](_0x83aa5b){var _0x4354f6=_0x5a765f;if(this[_0x4354f6(0x231)](_0x83aa5b))return this[_0x4354f6(0x18a)](),this[_0x4354f6(0x213)][_0x4354f6(0x398)](te,this['unitID'],this[_0x4354f6(0x3eb)],this[_0x4354f6(0x24b)],this[_0x4354f6(0x377)],null,[_0x83aa5b],this[_0x4354f6(0x2d2)]);try{const _0x28d55d=this[_0x4354f6(0x3d2)][_0x4354f6(0x26d)]([_0x83aa5b],[this[_0x4354f6(0x24b)]],!0x1);if(_0x5cb54d(_0x28d55d)){const {c1Prime:_0x4a89e3,c2Prime:_0x3f8d3b}=_0x28d55d,_0x1c2f1a=this['_transformService']['transformMutationsWithChangeset'](_0x4a89e3[0x0],this[_0x4354f6(0x377)]);if(_0x1da72b(_0x1c2f1a)){const {c1Prime:_0x472f1c,m2Prime:_0x5671f0}=_0x1c2f1a;return this[_0x4354f6(0x2c3)](_0x472f1c),_0x3f8d3b[0x0]['baseRev']=this[_0x4354f6(0x35b)](),this[_0x4354f6(0x18a)](),this[_0x4354f6(0x213)][_0x4354f6(0x398)](ae,this[_0x4354f6(0x27d)],this[_0x4354f6(0x3eb)],_0x3f8d3b[0x0],_0x5671f0,this['_handler'],void 0x0);}throw _0x1c2f1a['error'];}throw _0x28d55d[_0x4354f6(0x344)];}catch(_0x59e73c){return this[_0x4354f6(0x1a1)]['error'](_0x59e73c),this[_0x4354f6(0x188)](!0x1);}}[_0x5a765f(0x2ca)](_0x2ef3b6){var _0x73921c=_0x5a765f;if(this['_clearScheduledTask'](),this[_0x73921c(0x231)](_0x2ef3b6))return this[_0x73921c(0x213)][_0x73921c(0x398)](te,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x73921c(0x24b)],[],this[_0x73921c(0x2d2)]);this[_0x73921c(0x2d8)]();const _0x4ab8bc=this[_0x73921c(0x213)]['createInstance'](oe,this[_0x73921c(0x27d)],this[_0x73921c(0x3eb)],this[_0x73921c(0x377)],this['_handler']);return _0x4ab8bc[_0x73921c(0x2ea)](),_0x4ab8bc[_0x73921c(0x2c7)](),_0x4ab8bc;}[_0x5a765f(0x30e)](_0x118e7b){var _0xe1b1f5=_0x5a765f;return this[_0xe1b1f5(0x188)](!!(_0x118e7b!=null&&_0x118e7b[_0xe1b1f5(0x282)]));}[_0x5a765f(0x3e2)](_0x330cd3){var _0x28958e=_0x5a765f;return this[_0x28958e(0x1e4)]>Ni?this['toggleOffline']():(this[_0x28958e(0x3dc)]=Oi(this[_0x28958e(0x1e4)],{'timeout':this['_resendTimeout'],'reqId':_0x330cd3['reqId']}),this[_0x28958e(0x3df)]=this[_0x28958e(0x3dc)]['subscribe'](({reqId:_0x3abd55,timeout:_0x339711})=>{var _0x575344=_0x28958e;this[_0x575344(0x288)](_0x3abd55,_0x339711);}),this);}[_0x5a765f(0x317)](){var _0x2af037=_0x5a765f;return this[_0x2af037(0x18a)](),this[_0x2af037(0x213)]['createInstance'](fe,this[_0x2af037(0x27d)],this[_0x2af037(0x3eb)],this[_0x2af037(0x24b)],this[_0x2af037(0x377)],this[_0x2af037(0x2d2)]);}[_0x5a765f(0x258)](){return this;}[_0x5a765f(0x204)](){var _0x9742ab=_0x5a765f;this[_0x9742ab(0x2d2)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x5a765f(0x188)](_0x22836c){var _0x5a189f=_0x5a765f;return this[_0x5a189f(0x18a)](),this['_injector'][_0x5a189f(0x398)](de,this[_0x5a189f(0x27d)],this[_0x5a189f(0x3eb)],null,this[_0x5a189f(0x377)],this[_0x5a189f(0x2d2)],_0x22836c);}[_0x5a765f(0x288)](_0x5e61d0,_0x250db3){var _0x47f782=_0x5a765f,_0x52cb0d;_0x5e61d0===((_0x52cb0d=this[_0x47f782(0x24b)])==null?void 0x0:_0x52cb0d[_0x47f782(0x337)])&&(this[_0x47f782(0x204)](),this[_0x47f782(0x1e4)]=_0x250db3===0x0?0x3e8:_0x250db3*0x2);}[_0x5a765f(0x18a)](){var _0x5e6d2b=_0x5a765f,_0x40e361;(_0x40e361=this[_0x5e6d2b(0x3df)])==null||_0x40e361[_0x5e6d2b(0x1bd)](),this['_resendTimeout']=0x0;}};ae=be([A(0x6,_0x1935ed(_0x4155eb)),A(0x7,_0x1935ed(_0x4d450c)),A(0x8,_0xd33b12),A(0x9,_0x5be494),A(0xa,_0x494f1a),A(0xb,_0x2d5855),A(0xc,_0x35bd38(J))],ae);let de=class extends Re{constructor(_0x4df0ac,_0x237794,_0x2060f8,_0xcfafcb,_0x426a8f,_0x5916f6=!0x1,_0x10125d,_0x2c5e13,_0x87b17e,_0x2bbaee,_0x2f2140,_0x3def65,_0x21730a){var _0x29d2ff=_0x5a765f;super(_0x4df0ac,_0x237794,_0x2060f8,_0xcfafcb,_0x426a8f,_0x2c5e13,_0x87b17e,_0x2bbaee,_0x21730a),N(this,_0x29d2ff(0x19d),_0x29d2ff(0x44c)),(this[_0x29d2ff(0x1fc)]=_0x5916f6,this[_0x29d2ff(0x2c1)]=_0x10125d,this[_0x29d2ff(0x326)]=_0x2f2140,this[_0x29d2ff(0x191)]=_0x3def65,this[_0x29d2ff(0x195)]=_0x21730a,this[_0x29d2ff(0x31f)](),this[_0x29d2ff(0x300)](),this['_disableEditing']());}[_0x5a765f(0x186)](){return this;}[_0x5a765f(0x37e)](){return this;}[_0x5a765f(0x2ca)](){return this;}[_0x5a765f(0x30e)](){return this;}[_0x5a765f(0x3e2)](){return this;}['toggleOffline'](){return this;}[_0x5a765f(0x258)](){return this;}[_0x5a765f(0x204)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5a765f(0x300)](){var _0xb9c9f3=_0x5a765f,_0x5ac942;(_0x5ac942=this[_0xb9c9f3(0x286)])==null||_0x5ac942['updateOfflineData'](this[_0xb9c9f3(0x27d)],this[_0xb9c9f3(0x3eb)],null,[]);}[_0x5a765f(0x31f)](){var _0x28b9a7=_0x5a765f;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x28b9a7(0x1cf)]({'id':se[_0x28b9a7(0x1b1)]}):this[_0x28b9a7(0x191)]['emitEvent']({'id':se[_0x28b9a7(0x23b)]});}[_0x5a765f(0x169)](){var _0x2710fa=_0x5a765f;this[_0x2710fa(0x2c1)][_0x2710fa(0x378)](new _0x770f7d(this[_0x2710fa(0x27d)])['id'],!0x1);}};de=be([A(0x6,_0x1935ed(_0x4e79ec)),A(0x7,_0xd33b12),A(0x8,_0x2d5855),A(0x9,_0x1935ed(_0x4d450c)),A(0xa,_0x1935ed(_0x2a5e88)),A(0xb,_0x1935ed(pe)),A(0xc,_0x35bd38(J))],de);let fe=class extends Re{constructor(_0x46fee4,_0x467573,_0x1c49c4,_0x2e62fb,_0x127c0a,_0xea56a8,_0x53035b,_0x36e873,_0x56ac1e,_0x43f751){var _0x1d607d=_0x5a765f;super(_0x46fee4,_0x467573,_0x1c49c4,_0x2e62fb,_0x127c0a,_0x36e873,_0x56ac1e,_0x53035b,_0x43f751),N(this,'status',_0x1d607d(0x24f)),this[_0x1d607d(0x213)]=_0xea56a8;}[_0x5a765f(0x186)](_0x47c2a7){var _0x44f519=_0x5a765f;return this[_0x44f519(0x377)][_0x44f519(0x2a7)](_0x47c2a7),this[_0x44f519(0x2c7)](),this;}[_0x5a765f(0x37e)](_0x35178e){var _0x378cfd=_0x5a765f;throw new Error(_0x378cfd(0x293));}['onRemoteAck'](){var _0x76765d=_0x5a765f;throw new Error(_0x76765d(0x2f2));}[_0x5a765f(0x30e)](){var _0x521dd1=_0x5a765f;throw new Error(_0x521dd1(0x373));}[_0x5a765f(0x3e2)](){return this;}['toggleOffline'](){return this;}[_0x5a765f(0x258)](){var _0x32ee6b=_0x5a765f;const {_injector:_0x5a38d2,_pendingMutations:_0x482c6c,_awaitingChangeset:_0x5c67bf,unitID:_0x1d2694,_handler:_0x2ed2e1,type:_0x400c75}=this,_0x458dcb=Di(_0x5a38d2,_0x1d2694,_0x400c75,_0x5c67bf,_0x482c6c,_0x2ed2e1);return _0x458dcb instanceof oe?_0x458dcb['_schedule']():(_0x458dcb instanceof ae||_0x458dcb instanceof ue)&&_0x458dcb[_0x32ee6b(0x204)](),_0x458dcb;}[_0x5a765f(0x204)](){var _0x5594db=_0x5a765f;throw new Error(_0x5594db(0x323));}};fe=be([A(0x5,_0x1935ed(_0x4155eb)),A(0x6,_0x1935ed(_0x4d450c)),A(0x7,_0xd33b12),A(0x8,_0x2d5855),A(0x9,_0x35bd38(J))],fe);let te=class extends Re{constructor(_0x183021,_0x343251,_0x17033e,_0xcd5abe,_0xcdbba1,_0x5038b5,_0x5e653e,_0x397702,_0x2a286e,_0xc626eb,_0x1f8535,_0x19536a,_0x3b8e54,_0x1b05f1){var _0xd928a1=_0x5a765f;super(_0x183021,_0x343251,_0x17033e,_0xcd5abe,_0x5e653e,_0x1f8535,_0x19536a,_0x2a286e,_0x1b05f1),N(this,'status',_0xd928a1(0x209)),(this['_acknowledgedAwaitingChangeset']=_0xcdbba1,this[_0xd928a1(0x176)]=_0x5038b5,this[_0xd928a1(0x213)]=_0x397702,this[_0xd928a1(0x1a1)]=_0xc626eb,this[_0xd928a1(0x3d2)]=_0x3b8e54,this[_0xd928a1(0x195)]=_0x1b05f1);}[_0x5a765f(0x2fa)](_0x35bd86){var _0x1e0ecb=_0x5a765f;try{const _0xe2f408=[..._0x35bd86,...this[_0x1e0ecb(0x176)]],_0x181d40=[this[_0x1e0ecb(0x24b)]||this[_0x1e0ecb(0x25f)]][_0x1e0ecb(0x388)](_0x3f36ca=>!!_0x3f36ca);let _0x3e59f4,_0x187ae3;if(_0x181d40['length']){const _0x354e7e=this['_transformService']['transformChangesets'](_0xe2f408,_0x181d40,!0x1);if(!_0x5cb54d(_0x354e7e))throw _0x354e7e[_0x1e0ecb(0x344)];_0x3e59f4=_0x354e7e[_0x1e0ecb(0x42b)],_0x187ae3=_0x354e7e['c2Prime'];}else _0x3e59f4=_0xe2f408,_0x187ae3=[];let _0x5ddda5=this['_pendingMutations'];_0x3e59f4[_0x1e0ecb(0x2e0)](_0x47bb8b=>{var _0x346d70=_0x1e0ecb;let _0x22ae54;if(_0x5ddda5[_0x346d70(0x218)]){const _0x430275=this[_0x346d70(0x3d2)][_0x346d70(0x339)](_0x47bb8b,_0x5ddda5);if(!_0x1da72b(_0x430275))throw _0x430275[_0x346d70(0x344)];_0x22ae54=_0x430275['c1Prime'],_0x5ddda5=_0x430275['m2Prime'];}else _0x22ae54=_0x47bb8b;this['_executeRemoteChangeset'](_0x22ae54);}),this[_0x1e0ecb(0x25f)]&&this[_0x1e0ecb(0x2d8)](),this['_awaitingChangeset']&&_0x187ae3[_0x1e0ecb(0x218)]&&(_0x187ae3[0x0][_0x1e0ecb(0x309)]=this[_0x1e0ecb(0x35b)]());let _0x333c3a;if(this['_awaitingChangeset']&&_0x5ddda5[_0x1e0ecb(0x218)]!==0x0)_0x333c3a=this[_0x1e0ecb(0x213)][_0x1e0ecb(0x398)](ae,this[_0x1e0ecb(0x27d)],this['type'],_0x187ae3[0x0],_0x5ddda5,this[_0x1e0ecb(0x2d2)],void 0x0);else{if(this[_0x1e0ecb(0x24b)]&&_0x5ddda5['length']===0x0)_0x187ae3[0x0]['baseRev']=this['_getCurrentRevision'](),_0x333c3a=this['_injector'][_0x1e0ecb(0x398)](ue,this['unitID'],this[_0x1e0ecb(0x3eb)],_0x187ae3[0x0],this[_0x1e0ecb(0x2d2)]);else{if(_0x5ddda5[_0x1e0ecb(0x218)]!==0x0){const _0x2861bc=this[_0x1e0ecb(0x213)][_0x1e0ecb(0x398)](oe,this['unitID'],this[_0x1e0ecb(0x3eb)],_0x5ddda5,this[_0x1e0ecb(0x2d2)]);_0x2861bc[_0x1e0ecb(0x2ea)](),_0x333c3a=_0x2861bc;}else _0x333c3a=this[_0x1e0ecb(0x213)][_0x1e0ecb(0x398)](De,this[_0x1e0ecb(0x27d)],this[_0x1e0ecb(0x3eb)],this[_0x1e0ecb(0x2d2)]);}}return _0x333c3a[_0x1e0ecb(0x2c7)](),_0x333c3a;}catch(_0x5e505a){return this[_0x1e0ecb(0x1a1)]['error']('[FetchMissState]',_0x1e0ecb(0x34c),_0x5e505a),this['_injector'][_0x1e0ecb(0x398)](de,this['unitID'],this[_0x1e0ecb(0x3eb)],this[_0x1e0ecb(0x24b)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x5a765f(0x204)](){var _0x5a2a4d=_0x5a765f;throw new Error(_0x5a2a4d(0x164));}[_0x5a765f(0x186)](_0x557723){var _0x3f7c2c=_0x5a765f;return this[_0x3f7c2c(0x377)][_0x3f7c2c(0x2a7)](_0x557723),this;}[_0x5a765f(0x37e)](_0x200e6a){var _0x3953c2=_0x5a765f;return this[_0x3953c2(0x176)][_0x3953c2(0x2a7)](_0x200e6a),this;}['onRemoteAck'](_0x4badf4){var _0x47b396=_0x5a765f;if(this[_0x47b396(0x24b)])return this[_0x47b396(0x25f)]=this['_awaitingChangeset'],this[_0x47b396(0x24b)]=null,this;throw new Error(_0x47b396(0x2c2));}[_0x5a765f(0x30e)](_0x41b606){var _0x3f905a=_0x5a765f;return this[_0x3f905a(0x188)](!!(_0x41b606!=null&&_0x41b606[_0x3f905a(0x282)]));}['onRemoteRetry'](){return this;}[_0x5a765f(0x317)](){var _0x560c1a=_0x5a765f;return this['_injector']['createInstance'](fe,this['unitID'],this['type'],this[_0x560c1a(0x24b)],this['_pendingMutations'],this['_handler']);}[_0x5a765f(0x258)](){return this;}[_0x5a765f(0x188)](_0x4918b1){var _0x2e494e=_0x5a765f;return this['_injector'][_0x2e494e(0x398)](de,this[_0x2e494e(0x27d)],this[_0x2e494e(0x3eb)],this[_0x2e494e(0x24b)],this[_0x2e494e(0x377)],this[_0x2e494e(0x2d2)],_0x4918b1);}};te=be([A(0x7,_0x1935ed(_0x4155eb)),A(0x8,_0x1935ed(_0x4d450c)),A(0x9,_0x5be494),A(0xa,_0xd33b12),A(0xb,_0x2d5855),A(0xc,_0x494f1a),A(0xd,_0x35bd38(J))],te);function Di(_0x10961d,_0xa67ec7,_0x12c479,_0x215bd2,_0x5d176e,_0x5d0127){var _0x506d39=_0x5a765f;return _0x215bd2&&_0x5d176e[_0x506d39(0x218)]?_0x10961d['createInstance'](ae,_0xa67ec7,_0x12c479,_0x215bd2,_0x5d176e,_0x5d0127,void 0x0):_0x215bd2?_0x10961d[_0x506d39(0x398)](ue,_0xa67ec7,_0x12c479,_0x215bd2,_0x5d0127):_0x5d176e[_0x506d39(0x218)]?_0x10961d[_0x506d39(0x398)](oe,_0xa67ec7,_0x12c479,_0x5d176e,_0x5d0127):_0x10961d['createInstance'](De,_0xa67ec7,_0x12c479,_0x5d0127);}var vr=Object[_0x5a765f(0x3d3)],pr=Object[_0x5a765f(0x21d)],Lt=(_0x711248,_0x2ebd10,_0x37997b,_0x44f583)=>{var _0x399acb=_0x5a765f;for(var _0x2cd74f=_0x44f583>0x1?void 0x0:_0x44f583?pr(_0x2ebd10,_0x37997b):_0x2ebd10,_0x4e772a=_0x711248[_0x399acb(0x218)]-0x1,_0xa996b7;_0x4e772a>=0x0;_0x4e772a--)(_0xa996b7=_0x711248[_0x4e772a])&&(_0x2cd74f=(_0x44f583?_0xa996b7(_0x2ebd10,_0x37997b,_0x2cd74f):_0xa996b7(_0x2cd74f))||_0x2cd74f);return _0x44f583&&_0x2cd74f&&vr(_0x2ebd10,_0x37997b,_0x2cd74f),_0x2cd74f;},k=(_0x3883e4,_0xdf0937)=>(_0x12d0f6,_0x387d84)=>_0xdf0937(_0x12d0f6,_0x387d84,_0x3883e4);let nt=class extends _0x81dda6{constructor(_0x27f530,_0xf181b3,_0x5187ad,_0x2e8691,_0x1ab017,_0x1f0f98,_0x1a5228,_0x426b0d,_0x51a540,_0x26bed8,_0x12c324,_0x4dd867,_0xc7f33f){var _0x17533a=_0x5a765f;super(),N(this,_0x17533a(0x299),new _0xbddaed(null)),N(this,_0x17533a(0x246),this['_state$']['asObservable']()),N(this,_0x17533a(0x32c)),N(this,'_collaborationPaused',!0x1),N(this,'_changesetSessionId',''),N(this,_0x17533a(0x171),0x0),N(this,_0x17533a(0x3e9),this[_0x17533a(0x246)]['pipe'](_0x2638f9(_0x3b69e3=>_0x3b69e3?_0x3b69e3[_0x17533a(0x19d)]:yi[_0x17533a(0x20c)]),_0x5d8c1c(0x1))),N(this,'_transitionLocked',!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x17533a(0x27d)]=_0x27f530,this[_0x17533a(0x2ff)]=_0xf181b3,this['_type']=_0x5187ad,this[_0x17533a(0x213)]=_0x2e8691,this[_0x17533a(0x3f3)]=_0x1ab017,this[_0x17533a(0x326)]=_0x1f0f98,this[_0x17533a(0x313)]=_0x1a5228,this[_0x17533a(0x349)]=_0x426b0d,this[_0x17533a(0x1a1)]=_0x51a540,this['_commandService']=_0x26bed8,this['_permissionService']=_0x12c324,this[_0x17533a(0x1f9)]=_0x4dd867,this[_0x17533a(0x286)]=_0xc7f33f);}get[_0x5a765f(0x3e0)](){var _0x16bdde=_0x5a765f;return this[_0x16bdde(0x32c)];}async['init'](){var _0x218b08=_0x5a765f;if(this[_0x218b08(0x3e0)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x218b08(0x268)]();}[_0x5a765f(0x27e)](){return this['_collaborationPaused']=!0x0,_0x28837e(()=>{var _0x10b892=_0x4e5c;this[_0x10b892(0x2c6)]=!0x1,this[_0x10b892(0x3b5)]();});}['onLocalMutation'](_0x417d91){var _0x31331b=_0x5a765f;this[_0x31331b(0x2da)](_0x417d91);}[_0x5a765f(0x454)](_0x2b49fb){var _0x899ba0=_0x5a765f;this[_0x899ba0(0x32c)]=_0x2b49fb,this[_0x899ba0(0x299)][_0x899ba0(0x36a)](_0x2b49fb);}async[_0x5a765f(0x268)](){var _0xdc491f=_0x5a765f,_0x194efb;this[_0xdc491f(0x454)](await this[_0xdc491f(0x32b)]()),this['_singleActiveUnitService']&&((_0x194efb=this[_0xdc491f(0x1f9)])==null||_0x194efb[_0xdc491f(0x399)](this[_0xdc491f(0x27d)]),this[_0xdc491f(0x270)](this['_singleActiveUnitService'][_0xdc491f(0x452)](this[_0xdc491f(0x27d)])[_0xdc491f(0x1d7)](_0xb9cb09=>{var _0x995794=_0xdc491f;this[_0x995794(0x1a1)][_0x995794(0x3e7)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0xb9cb09),_0xb9cb09===Ri['OTHER_CLIENTS_EDITING']?(this[_0x995794(0x349)][_0x995794(0x1cf)]({'id':se[_0x995794(0x26e)]}),this[_0x995794(0x2c1)][_0x995794(0x378)](new _0x770f7d(this[_0x995794(0x27d)])['id'],!0x1),this[_0x995794(0x2c1)][_0x995794(0x205)](!0x1)):(this[_0x995794(0x2c1)][_0x995794(0x378)](new _0x770f7d(this['unitID'])['id'],!0x0),this[_0x995794(0x2c1)]['setShowComponents'](!0x0));})));let _0x31a28e=!0x1;return this[_0xdc491f(0x270)](this[_0xdc491f(0x2ff)][_0xdc491f(0x2f6)][_0xdc491f(0x1d7)](_0x6a386b=>{var _0x31f9a5=_0xdc491f;_0x6a386b===Te[_0x31f9a5(0x315)]?this['_toggleOnline'](_0x31a28e):_0x6a386b===Te[_0x31f9a5(0x20c)]&&(_0x31a28e=!0x0,this[_0x31f9a5(0x20a)]());})),this['disposeWithMe'](this['session']['event$'][_0xdc491f(0x1d7)](_0x1e6f77=>{var _0x407bf0=_0xdc491f;try{switch(_0x1e6f77[_0x407bf0(0x2ef)]){case _0x850024[_0x407bf0(0x165)]:{this[_0x407bf0(0x2d4)](_0x3ab360(_0x1e6f77[_0x407bf0(0x338)]));break;}case _0x850024[_0x407bf0(0x23d)]:{this[_0x407bf0(0x203)](_0x1e6f77[_0x407bf0(0x338)]);break;}case _0x850024['CHANGESET_REJ']:{this[_0x407bf0(0x445)]();break;}case _0x850024[_0x407bf0(0x39f)]:{this[_0x407bf0(0x1e5)](_0x1e6f77[_0x407bf0(0x338)]);break;}case _0x850024[_0x407bf0(0x301)]:{this[_0x407bf0(0x459)](_0x1e6f77['data'][_0x407bf0(0x1b5)][_0x407bf0(0x1b7)](_0x48e3e1=>_0x3ab360(_0x48e3e1)));break;}case _0x850024[_0x407bf0(0x420)]:{this[_0x407bf0(0x445)]({'isPermissionRej':!0x0});break;}case _0x850024[_0x407bf0(0x3fb)]:break;}}catch(_0x29dbc5){throw console['error'](_0x407bf0(0x28b),_0x29dbc5),_0x29dbc5;}})),this[_0xdc491f(0x32c)];}[_0x5a765f(0x20e)](){this['_transitionLocked']=!0x1;}[_0x5a765f(0x2d7)](){var _0x534337=_0x5a765f;if(this[_0x534337(0x433)])throw new Error(_0x534337(0x39e));this['_transitionLocked']=!0x0;}[_0x5a765f(0x2da)](_0x1b0ad8){var _0x510fbe=_0x5a765f;this[_0x510fbe(0x2d7)](),this['_updateState'](this[_0x510fbe(0x32c)][_0x510fbe(0x186)](_0x1b0ad8)),this[_0x510fbe(0x20e)]();}[_0x5a765f(0x2d4)](_0x20eee7){var _0x3bcedf=_0x5a765f;if(!(_0x20eee7[_0x3bcedf(0x427)]<=this[_0x3bcedf(0x313)][_0x3bcedf(0x227)](this['unitID']))){if(this[_0x3bcedf(0x2c6)]){this['_remoteChangesetQueue'][_0x3bcedf(0x2a7)](_0x20eee7);return;}this[_0x3bcedf(0x348)](_0x20eee7);}}['_exhaustRemoteChangesetQueue'](){var _0x25b437=_0x5a765f;this[_0x25b437(0x34f)][_0x25b437(0x2e0)](_0x5dbc8c=>this[_0x25b437(0x348)](_0x5dbc8c)),this[_0x25b437(0x34f)]=[];}[_0x5a765f(0x348)](_0x4ff3e3){var _0x418f62=_0x5a765f;const _0x33043b=this[_0x418f62(0x3f3)][_0x418f62(0x16b)][_0x418f62(0x31e)](this[_0x418f62(0x3f3)][_0x418f62(0x16b)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x4ff3e3[_0x418f62(0x3c4)],null)||_0x4ff3e3[_0x418f62(0x3c4)],_0x21b59d={..._0x4ff3e3,'mutations':_0x33043b};this[_0x418f62(0x2d7)](),this[_0x418f62(0x454)](this['_state'][_0x418f62(0x37e)](_0x21b59d)),this[_0x418f62(0x20e)]();}[_0x5a765f(0x203)](_0x58138e){var _0x3471c3=_0x5a765f;this[_0x3471c3(0x2d7)](),this[_0x3471c3(0x454)](this[_0x3471c3(0x32c)]['onRemoteAck'](_0x58138e)),this['_unlockTransition']();}['_onRemoteRejected'](_0x636b25){var _0x16549e=_0x5a765f;this['_lockTransition'](),this['_updateState'](this[_0x16549e(0x32c)][_0x16549e(0x30e)](_0x636b25)),this['_unlockTransition']();}[_0x5a765f(0x1e5)](_0x39b1d7){var _0xc2e14d=_0x5a765f;this[_0xc2e14d(0x2d7)](),this[_0xc2e14d(0x454)](this['_state']['onRemoteRetry'](_0x39b1d7)),this[_0xc2e14d(0x20e)]();}['_onFetchMissResult'](_0x1c16f3){var _0x454587=_0x5a765f;if(!(this[_0x454587(0x32c)]instanceof te))throw new TypeError(_0x454587(0x31b));const _0x5720ee=_0x1c16f3[_0x454587(0x1b7)](_0x400e64=>{var _0x35e47c=_0x454587;const _0x3b4c51=this[_0x35e47c(0x3f3)][_0x35e47c(0x16b)][_0x35e47c(0x31e)](this[_0x35e47c(0x3f3)]['interceptor'][_0x35e47c(0x395)]()['COMPRESS_MUTATION_APPLY'])(_0x400e64['mutations'],null)||_0x400e64[_0x35e47c(0x3c4)];return{..._0x400e64,'mutations':_0x3b4c51};});this[_0x454587(0x2d7)](),this['_updateState'](this[_0x454587(0x32c)]['onMissedChangesetFetched'](_0x5720ee)),this[_0x454587(0x20e)]();}[_0x5a765f(0x20a)](){var _0xf27860=_0x5a765f;this['_lockTransition'](),this[_0xf27860(0x454)](this[_0xf27860(0x32c)][_0xf27860(0x317)]()),this[_0xf27860(0x20e)]();}[_0x5a765f(0x1fa)](_0x56226e=!0x1){var _0x49eee1=_0x5a765f;this[_0x49eee1(0x2d7)](),this[_0x49eee1(0x454)](this[_0x49eee1(0x32c)][_0x49eee1(0x258)]()),this[_0x49eee1(0x20e)]();const _0x2f280e=this['_state'];_0x56226e&&_0x2f280e instanceof De&&(this[_0x49eee1(0x2d7)](),this['_updateState'](_0x2f280e[_0x49eee1(0x21e)]()),this[_0x49eee1(0x20e)]());}async['_createInitialState'](){return new Promise(_0x1428e1=>{var _0x47b579=_0x4e5c;this[_0x47b579(0x2ff)][_0x47b579(0x2f6)][_0x47b579(0x1c9)](_0x54fda1(0x1))['subscribe'](async _0x2520d3=>{var _0x3c0677=_0x47b579;_0x1428e1(await this[_0x3c0677(0x20d)](_0x2520d3===Te[_0x3c0677(0x315)]));});});}[_0x5a765f(0x259)](){var _0x2da58a=_0x5a765f;const _0x2ccf13=this[_0x2da58a(0x27d)];return{'onStateChange':(_0x39b207,_0x253ab2)=>{var _0x562013=_0x2da58a;if(_0x39b207!==this['_state'])throw new Error(_0x562013(0x2f5)+_0x39b207[_0x562013(0x19d)]+_0x562013(0x18f)+_0x253ab2[_0x562013(0x19d)]+_0x562013(0x24e)+this[_0x562013(0x32c)][_0x562013(0x19d)]);this[_0x562013(0x454)](_0x253ab2);},'onSendChangeset':_0x38f357=>{var _0x23ebe8=_0x2da58a;_0x38f357[_0x23ebe8(0x3dd)]||(_0x38f357[_0x23ebe8(0x3dd)]=this[_0x23ebe8(0x184)],_0x38f357[_0x23ebe8(0x337)]=++this[_0x23ebe8(0x171)]);const _0xd250d8={'eventID':_0x850024[_0x23ebe8(0x1c1)],'data':{'unitID':_0x38f357[_0x23ebe8(0x27d)],'unitType':this[_0x23ebe8(0x1e0)],'changeset':_0x38f357,'memberID':this['session'][_0x23ebe8(0x3c0)]()}};this['session'][_0x23ebe8(0x163)](_0xd250d8,this['unitID']);},'onMissingChangesets':({from:_0x4e3a80,to:_0x3926a5})=>{var _0xd99939=_0x2da58a;this[_0xd99939(0x1a1)][_0xd99939(0x3e7)](_0xd99939(0x41a),_0xd99939(0x1b6)+_0x4e3a80+_0xd99939(0x1a5)+_0x3926a5);const _0x142c28={'eventID':_0x850024[_0xd99939(0x422)],'data':{'unitID':_0x2ccf13,'unitType':this['_type'],'from':_0x4e3a80,'to':_0x3926a5}};this[_0xd99939(0x2ff)]['send'](_0x142c28,this[_0xd99939(0x27d)]);}};}async[_0x5a765f(0x20d)](_0x17e0dd){var _0x909095=_0x5a765f,_0x50db4f,_0x42e32e,_0x306356;const _0x3b9de4=await((_0x50db4f=this[_0x909095(0x286)])==null?void 0x0:_0x50db4f[_0x909095(0x396)](this['unitID'])),_0x6a99cb=(_0x42e32e=_0x3b9de4==null?void 0x0:_0x3b9de4[_0x909095(0x3c4)])!=null?_0x42e32e:[],_0x342a01=(_0x306356=_0x3b9de4==null?void 0x0:_0x3b9de4['awaitingChangeset'])!=null?_0x306356:null,_0x586d78=!!(_0x342a01!=null&&_0x342a01[_0x909095(0x3dd)])&&!!(_0x342a01!=null&&_0x342a01[_0x909095(0x337)]);this[_0x909095(0x184)]=_0x586d78?_0x342a01[_0x909095(0x3dd)]:sr(),this[_0x909095(0x171)]=_0x586d78?_0x342a01[_0x909095(0x337)]:0x0;const _0x4bbdeb=this[_0x909095(0x27d)];try{this[_0x909095(0x192)](_0x342a01,_0x6a99cb);}catch(_0x23b21c){this[_0x909095(0x1a1)][_0x909095(0x344)](_0x23b21c);}const _0x5bbb00=this[_0x909095(0x259)]();if(_0x17e0dd){const _0x39a7f6=Di(this[_0x909095(0x213)],_0x4bbdeb,this[_0x909095(0x1e0)],_0x342a01,_0x6a99cb,_0x5bbb00);return _0x39a7f6 instanceof oe?_0x39a7f6[_0x909095(0x2ea)]():(_0x39a7f6 instanceof ae||_0x39a7f6 instanceof ue)&&_0x39a7f6[_0x909095(0x204)](),_0x39a7f6;}return this[_0x909095(0x213)][_0x909095(0x398)](fe,_0x4bbdeb,this[_0x909095(0x1e0)],_0x342a01,_0x6a99cb,_0x5bbb00);}['_replayCachedMutations'](_0x5c8485,_0x4d1875){var _0x537898=_0x5a765f,_0x1a078f,_0x187e05;const _0x3baab6=this['_compressMutationService'][_0x537898(0x16b)][_0x537898(0x31e)](this[_0x537898(0x3f3)][_0x537898(0x16b)][_0x537898(0x395)]()[_0x537898(0x23f)]);(_0x1a078f=_0x3baab6((_0x5c8485==null?void 0x0:_0x5c8485[_0x537898(0x3c4)])||[],null))==null||_0x1a078f[_0x537898(0x2e0)](_0x2b1b4a=>this[_0x537898(0x417)][_0x537898(0x219)](_0x2b1b4a['id'],_0x2b1b4a[_0x537898(0x2db)])),(_0x187e05=_0x3baab6(_0x4d1875||[],null))==null||_0x187e05['forEach'](_0x5d821c=>this['_commandService'][_0x537898(0x219)](_0x5d821c['id'],_0x5d821c[_0x537898(0x2db)]));}};nt=Lt([k(0x3,_0x1935ed(_0x4155eb)),k(0x4,_0x1935ed(_0x46f25c)),k(0x5,_0x1935ed(_0x2a5e88)),k(0x6,_0x1935ed(_0x4d450c)),k(0x7,_0x1935ed(pe)),k(0x8,_0x5be494),k(0x9,_0xd33b12),k(0xa,_0x4e79ec),k(0xb,_0x35bd38(ht)),k(0xc,_0x35bd38(J))],nt);let Tt=class extends nt{constructor(_0x59e157,_0x1afaac,_0x50297c,_0x276663,_0x341846,_0x49c790,_0x4f7b0e,_0x306d7d,_0x5d64b2,_0x37d369,_0x428875,_0x66063d,_0x5d9f7d){var _0x1a43cb=_0x5a765f;super(_0x59e157,_0x50297c,_0x1afaac,_0x276663,_0x341846,_0x49c790,_0x4f7b0e,_0x306d7d,_0x5d64b2,_0x37d369,_0x428875,_0x66063d,_0x5d9f7d),N(this,'_handlerCallback',null),(this[_0x1a43cb(0x27d)]=_0x59e157,this[_0x1a43cb(0x3eb)]=_0x1afaac);}['addHandlerCallback'](_0x443ea3){this['_handlerCallback']=_0x443ea3;}[_0x5a765f(0x17b)](){var _0x53d905=_0x5a765f;this[_0x53d905(0x2ab)]=null,super['dispose']();}[_0x5a765f(0x259)](){var _0x2e2896=_0x5a765f;const _0x90a632=super[_0x2e2896(0x259)]();return _0x90a632['onTransformIME']=_0x12974e=>{var _0x35bd68=_0x2e2896,_0x1b8adc,_0xedb164;return(_0xedb164=(_0x1b8adc=this[_0x35bd68(0x2ab)])==null?void 0x0:_0x1b8adc['onTransformIME'])==null?void 0x0:_0xedb164[_0x35bd68(0x3ae)](_0x1b8adc,_0x12974e);},_0x90a632['onTransformState']=_0x2d31ac=>{var _0x5b8779=_0x2e2896,_0x6b9b3c,_0xf72532;return(_0xf72532=(_0x6b9b3c=this['_handlerCallback'])==null?void 0x0:_0x6b9b3c[_0x5b8779(0x211)])==null?void 0x0:_0xf72532[_0x5b8779(0x3ae)](_0x6b9b3c,_0x2d31ac);},_0x90a632['onTransformSelections']=_0x228e21=>{var _0x366c58=_0x2e2896,_0xdd65a2,_0x1a0e26;return(_0x1a0e26=(_0xdd65a2=this[_0x366c58(0x2ab)])==null?void 0x0:_0xdd65a2[_0x366c58(0x198)])==null?void 0x0:_0x1a0e26[_0x366c58(0x3ae)](_0xdd65a2,_0x228e21);},_0x90a632['onSyncEditingCollabCursor']=_0x8363bc=>{var _0x15fc05=_0x2e2896,_0x4014de,_0x575627;return(_0x575627=(_0x4014de=this[_0x15fc05(0x2ab)])==null?void 0x0:_0x4014de[_0x15fc05(0x3ea)])==null?void 0x0:_0x575627[_0x15fc05(0x3ae)](_0x4014de,_0x8363bc);},_0x90a632[_0x2e2896(0x2d6)]=_0x33db7b=>{var _0x1672af=_0x2e2896,_0x473955,_0x4692d5,_0x6312ef;if(!((_0x473955=this[_0x1672af(0x2ab)])!=null&&_0x473955[_0x1672af(0x2d6)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x6312ef=(_0x4692d5=this[_0x1672af(0x2ab)])==null?void 0x0:_0x4692d5['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x6312ef[_0x1672af(0x3ae)](_0x4692d5,_0x33db7b);},_0x90a632[_0x2e2896(0x2aa)]=_0x1644e1=>{var _0x7f3d15=_0x2e2896,_0xf006e2,_0x5c22c9,_0x317ee1;if(!((_0xf006e2=this[_0x7f3d15(0x2ab)])!=null&&_0xf006e2['onTransformRemoteChangesetByStateCache']))throw new Error(_0x7f3d15(0x161));return(_0x317ee1=(_0x5c22c9=this[_0x7f3d15(0x2ab)])==null?void 0x0:_0x5c22c9['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x317ee1['call'](_0x5c22c9,_0x1644e1);},_0x90a632;}async[_0x5a765f(0x268)](){var _0x1a020d=_0x5a765f;const _0x2af7d0=await super[_0x1a020d(0x268)]();return this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x4db8f9,_0x4572c2)=>{var _0x2d6e1c=_0x1a020d;if(_0x4db8f9[_0x2d6e1c(0x3eb)]!==_0x25d7c6[_0x2d6e1c(0x1d4)]||_0x4572c2!=null&&_0x4572c2[_0x2d6e1c(0x410)]||_0x4572c2!=null&&_0x4572c2[_0x2d6e1c(0x230)]||_0x4db8f9['id']===_0x286a10['id'])return;const _0x279c13=_0x4db8f9['params'];if((_0x279c13==null?void 0x0:_0x279c13[_0x2d6e1c(0x263)])!==this[_0x2d6e1c(0x27d)])return;const _0x43d48b=_0x4db8f9,_0x5a389e=this[_0x2d6e1c(0x3f3)][_0x2d6e1c(0x16b)][_0x2d6e1c(0x31e)](this['_compressMutationService']['interceptor'][_0x2d6e1c(0x395)]()[_0x2d6e1c(0x42c)])([_0x43d48b],null)||[_0x43d48b];this[_0x2d6e1c(0x2da)](_0x5a389e[0x0]);})),_0x2af7d0;}};Tt=Lt([k(0x3,_0x1935ed(_0x4155eb)),k(0x4,_0x1935ed(_0x46f25c)),k(0x5,_0x1935ed(_0x2a5e88)),k(0x6,_0x1935ed(_0x4d450c)),k(0x7,_0x1935ed(pe)),k(0x8,_0x5be494),k(0x9,_0xd33b12),k(0xa,_0x4e79ec),k(0xb,_0x35bd38(ht)),k(0xc,_0x35bd38(J))],Tt);let Ct=class extends nt{constructor(_0x15c2f4,_0x4c6901,_0x169240,_0x31de94,_0x4b2150,_0x2f4759,_0x100a14,_0x160950,_0xc54d7d,_0x428f77,_0x200292,_0x38f194,_0x5cbe87,_0x2aa36e){var _0x530257=_0x5a765f;super(_0x15c2f4,_0x169240,_0x4c6901,_0x31de94,_0x4b2150,_0x2f4759,_0x100a14,_0xc54d7d,_0x428f77,_0x200292,_0x38f194,_0x5cbe87,_0x2aa36e),this[_0x530257(0x27d)]=_0x15c2f4,this['type']=_0x4c6901,this[_0x530257(0x255)]=_0x160950;}[_0x5a765f(0x259)](){var _0x48068c=_0x5a765f;const _0x6badba=super[_0x48068c(0x259)]();return _0x6badba[_0x48068c(0x198)]=_0x5ae785=>this[_0x48068c(0x255)][_0x48068c(0x3c2)](_0x5ae785),_0x6badba;}async['_init'](){var _0x3f244f=_0x5a765f;const _0x4fc5ee=await super['_init']();return this[_0x3f244f(0x270)](this['_commandService'][_0x3f244f(0x355)]((_0xe67a1,_0x2f04aa)=>{var _0x203bb4=_0x3f244f;if(_0xe67a1['type']!==_0x25d7c6[_0x203bb4(0x1d4)]||_0x2f04aa!=null&&_0x2f04aa[_0x203bb4(0x410)]||_0x2f04aa!=null&&_0x2f04aa[_0x203bb4(0x230)])return;const _0xf4285a=_0xe67a1['params'];if((_0xf4285a==null?void 0x0:_0xf4285a[_0x203bb4(0x263)])!==this[_0x203bb4(0x27d)])return;const _0x1c28a8=_0xe67a1,_0x2eb835=this[_0x203bb4(0x3f3)][_0x203bb4(0x16b)][_0x203bb4(0x31e)](this[_0x203bb4(0x3f3)][_0x203bb4(0x16b)][_0x203bb4(0x395)]()[_0x203bb4(0x42c)])([_0x1c28a8],null)||[_0x1c28a8];this[_0x203bb4(0x2da)](_0x2eb835[0x0]);})),_0x4fc5ee;}};Ct=Lt([k(0x3,_0x1935ed(_0x4155eb)),k(0x4,_0x1935ed(_0x46f25c)),k(0x5,_0x1935ed(_0x2a5e88)),k(0x6,_0x1935ed(_0x4d450c)),k(0x7,_0x1935ed(it)),k(0x8,_0x1935ed(pe)),k(0x9,_0x5be494),k(0xa,_0xd33b12),k(0xb,_0x4e79ec),k(0xc,_0x35bd38(ht)),k(0xd,_0x35bd38(J))],Ct);var mr=Object[_0x5a765f(0x3d3)],gr=Object['getOwnPropertyDescriptor'],Sr=(_0x43c686,_0x2b0192,_0xec6f00,_0x27cecb)=>{var _0x558a1a=_0x5a765f;for(var _0x4a54c1=_0x27cecb>0x1?void 0x0:_0x27cecb?gr(_0x2b0192,_0xec6f00):_0x2b0192,_0x52cbde=_0x43c686[_0x558a1a(0x218)]-0x1,_0x255748;_0x52cbde>=0x0;_0x52cbde--)(_0x255748=_0x43c686[_0x52cbde])&&(_0x4a54c1=(_0x27cecb?_0x255748(_0x2b0192,_0xec6f00,_0x4a54c1):_0x255748(_0x4a54c1))||_0x4a54c1);return _0x27cecb&&_0x4a54c1&&mr(_0x2b0192,_0xec6f00,_0x4a54c1),_0x4a54c1;},ft=(_0x5b6644,_0x21e1f6)=>(_0x3f927f,_0x1bf257)=>_0x21e1f6(_0x3f927f,_0x1bf257,_0x5b6644);let rt=class extends _0x81dda6{constructor(_0x21aa2f,_0x1cfc44,_0x24f72b){var _0x4f6e0f=_0x5a765f;super(),N(this,'_entities',new Map()),N(this,_0x4f6e0f(0x295),new _0x55ef18()),N(this,'entityInit$',this['_entityInit$'][_0x4f6e0f(0x3fc)]()),(this[_0x4f6e0f(0x213)]=_0x21aa2f,this[_0x4f6e0f(0x361)]=_0x1cfc44,this[_0x4f6e0f(0x19f)]=_0x24f72b,this[_0x4f6e0f(0x268)]());}[_0x5a765f(0x17b)](){var _0x357921=_0x5a765f;super['dispose'](),this[_0x357921(0x185)][_0x357921(0x2e0)](_0x1d92b2=>_0x1d92b2[_0x357921(0x17b)]()),this['_entities']['clear']();}[_0x5a765f(0x20b)](_0x45e05a){var _0x1e19d3=_0x5a765f,_0x3f7667;return(_0x3f7667=this['_entities'][_0x1e19d3(0x3a4)](_0x45e05a))!=null?_0x3f7667:null;}[_0x5a765f(0x308)](_0x4c676b){var _0x211505=_0x5a765f;const _0x13803b=this['getCollabEntity'](_0x4c676b);return _0x13803b?_0x1b9046(_0x13803b):this[_0x211505(0x295)][_0x211505(0x1c9)](_0x3d44c1(_0x410e6b=>_0x410e6b['unitID']===_0x4c676b));}['readyForCollab'](_0x4bd4d0){var _0x45b393=_0x5a765f;return _0x8e0085(this['getCollabEntity$'](_0x4bd4d0)[_0x45b393(0x1c9)](_0x2ecd01(()=>{})));}[_0x5a765f(0x268)](){var _0x5600d5=_0x5a765f;this[_0x5600d5(0x19f)]['getTypeOfUnitAdded$'](_0xf10391[_0x5600d5(0x2ee)])['pipe'](_0x276b5d(this[_0x5600d5(0x25e)]),_0x143085(0x10))['subscribe'](async _0x31286e=>{var _0x2a0be3=_0x5600d5;const _0x38004a=_0x31286e[_0x2a0be3(0x1ad)](),_0x2fb76e=await this[_0x2a0be3(0x406)](_0x38004a,Q[_0x2a0be3(0x2ee)]);this[_0x2a0be3(0x185)][_0x2a0be3(0x375)](_0x38004a,_0x2fb76e);}),this[_0x5600d5(0x19f)][_0x5600d5(0x2cd)](_0xf10391[_0x5600d5(0x2f4)])[_0x5600d5(0x1c9)](_0x276b5d(this[_0x5600d5(0x25e)]),_0x143085(0x10))[_0x5600d5(0x1c9)](_0x3d44c1(_0x5aad13=>!_0x5aad13[_0x5600d5(0x1ad)]()[_0x5600d5(0x43f)]('__')))[_0x5600d5(0x1d7)](async _0x3225de=>{var _0x2bddfc=_0x5600d5;const _0xc7ceef=_0x3225de[_0x2bddfc(0x1ad)](),_0x4a2960=await this[_0x2bddfc(0x406)](_0xc7ceef,Q[_0x2bddfc(0x2f4)]);this[_0x2bddfc(0x185)][_0x2bddfc(0x375)](_0xc7ceef,_0x4a2960);}),_0x51624f(this[_0x5600d5(0x19f)][_0x5600d5(0x38f)](_0xf10391['UNIVER_SHEET']),this[_0x5600d5(0x19f)][_0x5600d5(0x38f)](_0xf10391[_0x5600d5(0x2f4)]))[_0x5600d5(0x1c9)](_0x276b5d(this[_0x5600d5(0x25e)]))[_0x5600d5(0x1d7)](_0x5a1dbb=>{var _0x74fae2=_0x5600d5;const _0x48cb22=_0x5a1dbb[_0x74fae2(0x1ad)](),_0x2c0dc2=this[_0x74fae2(0x185)][_0x74fae2(0x3a4)](_0x48cb22);_0x2c0dc2&&(_0x2c0dc2[_0x74fae2(0x17b)](),this[_0x74fae2(0x185)][_0x74fae2(0x232)](_0x48cb22));});}async['_startCollaboration'](_0x2981d2,_0x248228){var _0xf60049=_0x5a765f;const _0x49806f=await this[_0xf60049(0x361)][_0xf60049(0x409)](_0x2981d2),_0x51df5a=this['_injector'][_0xf60049(0x398)](this[_0xf60049(0x449)](_0x248228),_0x2981d2,_0x248228,_0x49806f);return await _0x51df5a[_0xf60049(0x304)](),this[_0xf60049(0x295)][_0xf60049(0x36a)](_0x51df5a),_0x51df5a;}[_0x5a765f(0x449)](_0x3fb2b6){var _0x4fb6e7=_0x5a765f;switch(_0x3fb2b6){case Q[_0x4fb6e7(0x2f4)]:return Tt;case Q['UNIVER_SHEET']:return Ct;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x3fb2b6);}}};rt=Sr([ft(0x0,_0x1935ed(_0x4155eb)),ft(0x1,_0x1935ed(Le)),ft(0x2,_0x32cdfb)],rt);var Er=Object['defineProperty'],Ir=Object[_0x5a765f(0x21d)],Tr=(_0x298d09,_0x307982,_0x268f81,_0x544ff4)=>{var _0x45080b=_0x5a765f;for(var _0x515bf5=_0x544ff4>0x1?void 0x0:_0x544ff4?Ir(_0x307982,_0x268f81):_0x307982,_0x1b77cd=_0x298d09[_0x45080b(0x218)]-0x1,_0x5c43b0;_0x1b77cd>=0x0;_0x1b77cd--)(_0x5c43b0=_0x298d09[_0x1b77cd])&&(_0x515bf5=(_0x544ff4?_0x5c43b0(_0x307982,_0x268f81,_0x515bf5):_0x5c43b0(_0x515bf5))||_0x515bf5);return _0x544ff4&&_0x515bf5&&Er(_0x307982,_0x268f81,_0x515bf5),_0x515bf5;},Jt=(_0x4d8c15,_0x28b59a)=>(_0x3638da,_0x53e66b)=>_0x28b59a(_0x3638da,_0x53e66b,_0x4d8c15);const Cr='DEFAULT_FILE_NAME',br='Univer';let bt=class extends _0x870f60{constructor(_0x2a2bb8,_0x1aa04b){var _0x1eeea3=_0x5a765f;super(),this[_0x1eeea3(0x19f)]=_0x2a2bb8,this[_0x1eeea3(0x43e)]=_0x1aa04b,this[_0x1eeea3(0x268)]();}[_0x5a765f(0x268)](){var _0x5c1c9b=_0x5a765f;this[_0x5c1c9b(0x270)](this[_0x5c1c9b(0x19f)][_0x5c1c9b(0x423)][_0x5c1c9b(0x1d7)](()=>{var _0x55a841=_0x5c1c9b,_0xd1fb26;const _0x479e3c=this['_univerInstanceService'][_0x55a841(0x243)]();let _0x1deafc=(_0xd1fb26=this['_configService'][_0x55a841(0x1f4)](Cr))!=null?_0xd1fb26:br;_0x479e3c instanceof _0x2354f7&&(_0x1deafc=_0x479e3c[_0x55a841(0x365)]),document[_0x55a841(0x1c3)]=_0x1deafc;}));}};bt=Tr([Jt(0x0,_0x32cdfb),Jt(0x1,_0x1ee7e1)],bt);var Rr=Object[_0x5a765f(0x3d3)],Or=Object['getOwnPropertyDescriptor'],yr=(_0x1b8850,_0x10021d,_0x45b179,_0x5d05d0)=>{var _0x97e576=_0x5a765f;for(var _0x2fa5b5=_0x5d05d0>0x1?void 0x0:_0x5d05d0?Or(_0x10021d,_0x45b179):_0x10021d,_0x2fef3c=_0x1b8850[_0x97e576(0x218)]-0x1,_0x13bac9;_0x2fef3c>=0x0;_0x2fef3c--)(_0x13bac9=_0x1b8850[_0x2fef3c])&&(_0x2fa5b5=(_0x5d05d0?_0x13bac9(_0x10021d,_0x45b179,_0x2fa5b5):_0x13bac9(_0x2fa5b5))||_0x2fa5b5);return _0x5d05d0&&_0x2fa5b5&&Rr(_0x10021d,_0x45b179,_0x2fa5b5),_0x2fa5b5;},vt=(_0x58c269,_0x1756d2)=>(_0x1743d5,_0x51838d)=>_0x1756d2(_0x1743d5,_0x51838d,_0x58c269);let st=class{constructor(_0x4d73e2,_0x354b52,_0x59c54e){var _0x3fe62c=_0x5a765f;this[_0x3fe62c(0x43e)]=_0x4d73e2,this[_0x3fe62c(0x405)]=_0x354b52,this[_0x3fe62c(0x265)]=_0x59c54e,this[_0x3fe62c(0x304)]();}[_0x5a765f(0x304)](){var _0x3b85de=_0x5a765f;this[_0x3b85de(0x405)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x4ff780,_0x546999)=>_0x546999(_0x4ff780)[_0x3b85de(0x1c9)](_0x4219ac(async _0x349837=>{var _0x3a5e22=_0x3b85de;const _0x30bde4=_0x349837;if(_0x30bde4[_0x3a5e22(0x19d)]===0x191){if(typeof window>'u')throw new Error(_0x3a5e22(0x31a));if(window['confirm'](this[_0x3a5e22(0x265)]['t'](_0x3a5e22(0x226)))){const _0x2188a5=window['encodeURIComponent'](window[_0x3a5e22(0x17c)][_0x3a5e22(0x3a3)]);window[_0x3a5e22(0x17c)][_0x3a5e22(0x3a3)]=this['_getLoginPath']()+_0x3a5e22(0x248)+_0x2188a5;}}return _0x30bde4;}))});}[_0x5a765f(0x2a6)](){var _0x440dd9=_0x5a765f,_0x222030,_0x351f66;const _0x1a6d0e=this[_0x440dd9(0x43e)]['getConfig'](xn),_0x3719ea=this[_0x440dd9(0x43e)][_0x440dd9(0x1f4)](q);return(_0x351f66=(_0x222030=_0x3719ea==null?void 0x0:_0x3719ea['loginUrlKey'])!=null?_0x222030:_0x1a6d0e)!=null?_0x351f66:Ln;}};st=yr([vt(0x0,_0x1ee7e1),vt(0x1,_0x1935ed(_0xf9517d)),vt(0x2,_0x1935ed(_0x2a5e88))],st);var Nr=Object[_0x5a765f(0x3d3)],Dr=Object[_0x5a765f(0x21d)],Pr=(_0x2108e1,_0x30260a,_0x28af85,_0x4971a8)=>{var _0xdc53ae=_0x5a765f;for(var _0x55e762=_0x4971a8>0x1?void 0x0:_0x4971a8?Dr(_0x30260a,_0x28af85):_0x30260a,_0x23a314=_0x2108e1[_0xdc53ae(0x218)]-0x1,_0xabbc0b;_0x23a314>=0x0;_0x23a314--)(_0xabbc0b=_0x2108e1[_0x23a314])&&(_0x55e762=(_0x4971a8?_0xabbc0b(_0x30260a,_0x28af85,_0x55e762):_0xabbc0b(_0x55e762))||_0x55e762);return _0x4971a8&&_0x55e762&&Nr(_0x30260a,_0x28af85,_0x55e762),_0x55e762;},Xt=(_0x223c61,_0x4e0fc9)=>(_0x547ae6,_0x3819e6)=>_0x4e0fc9(_0x547ae6,_0x3819e6,_0x223c61);const Pi=_0x5a765f(0x3f4),wr=_0x5a765f(0x28a);let Rt=class extends _0x870f60{constructor(_0x5edbe8,_0x962057){var _0x5b244b=_0x5a765f;super(),this['_HTTPService']=_0x5edbe8,this[_0x5b244b(0x43e)]=_0x962057,this[_0x5b244b(0x3da)]();}[_0x5a765f(0x3da)](){var _0x27f60d=_0x5a765f;const _0xacb36a=this;this[_0x27f60d(0x270)](this[_0x27f60d(0x381)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x565ee0({'isMatch'(_0xd102a6){var _0x3e35d4=_0x27f60d,_0x4c3639;if(_0xd102a6['method']==='POST'&&((_0x4c3639=_0xd102a6[_0x3e35d4(0x2df)])!=null&&_0x4c3639['body'])){const {objectID:_0x5399ea,objectType:_0x5a96fe}=_0xd102a6[_0x3e35d4(0x2df)]['body']||{};if(!_0x5399ea||_0x5a96fe===void 0x0)return!0x1;const _0x4792a2=_0xacb36a['_getAPIPrefixPath']()+'/'+_0x5a96fe+_0x3e35d4(0x1a0)+_0x5399ea+_0x3e35d4(0x43d);if(_0xd102a6[_0x3e35d4(0x446)]===_0x4792a2)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4bd55d){var _0x476e7a=_0x27f60d,_0x44c9b4;return(_0x44c9b4=_0x4bd55d['requestParams'])==null?void 0x0:_0x44c9b4[_0x476e7a(0x250)];},'mergeParamsToRequest'(_0x5a27c8,_0x81a3c9){var _0x163c8f=_0x27f60d;const _0x56e8ea=_0xacb36a[_0x163c8f(0x1fb)]()+'/-/object/-/batch_allowed',_0x4e7958=_0x5a27c8[_0x163c8f(0x2bd)]((_0x551a50,_0x57e17c)=>{var _0x765bd2=_0x163c8f;const {unitID:_0x398d89,objectID:_0x357528,objectType:_0x50460e,actions:_0xd6f647}=_0x57e17c;return _0x551a50[_0x398d89]||(_0x551a50[_0x398d89]={}),_0x551a50[_0x398d89][_0x357528]||(_0x551a50[_0x398d89][_0x357528]={'objectID':_0x357528,'objectType':_0x50460e,'actions':[]}),_0x551a50[_0x398d89][_0x357528][_0x765bd2(0x2b5)][_0x765bd2(0x2a7)](..._0xd6f647),_0x551a50;},{}),_0x1a2330=[];for(const _0x26783b in _0x4e7958)for(const _0x33a823 in _0x4e7958[_0x26783b]){const {actions:_0x44abff,objectType:_0x4f2ca9}=_0x4e7958[_0x26783b][_0x33a823],_0x536f41=[...new Set(_0x44abff)];_0x1a2330[_0x163c8f(0x2a7)]({'unitID':_0x26783b,'objectID':_0x33a823,'objectType':_0x4f2ca9,'actions':_0x536f41});}return new _0x50f9b4(_0x163c8f(0x296),_0x56e8ea,{'headers':_0x81a3c9[_0x163c8f(0x269)],'withCredentials':_0x81a3c9[_0x163c8f(0x441)],'responseType':_0x81a3c9[_0x163c8f(0x1db)],'body':{'requests':_0x1a2330}});}},{'distributeResult'(_0x3e1825,_0x409618){const {objectActions:_0x3e6d6c}=_0x3e1825;return _0x409618['map'](_0x4b9977=>{var _0x3ac054=_0x4e5c;const {unitID:_0x16de32,objectID:_0x295ce6,actions:_0x41d63f}=_0x4b9977,_0x48e5fc=_0x3e6d6c[_0x3ac054(0x24d)](_0x5c6dc5=>_0x5c6dc5['unitID']===_0x16de32&&_0x5c6dc5[_0x3ac054(0x182)]===_0x295ce6),_0x6f8a64=_0x41d63f[_0x3ac054(0x1b7)](_0x404074=>_0x48e5fc==null?void 0x0:_0x48e5fc[_0x3ac054(0x2b5)]['find'](_0x17af29=>_0x17af29[_0x3ac054(0x3f1)]===_0x404074))[_0x3ac054(0x388)](_0x3a6a78=>!!_0x3a6a78);return{'config':_0x4b9977,'result':{'actions':_0x6f8a64,'error':_0x3e1825[_0x3ac054(0x344)]}};});}})}));}[_0x5a765f(0x1fb)](){var _0x348ff4=_0x5a765f,_0x55c5e9,_0xf7ed7e;const _0x3b037e=this[_0x348ff4(0x43e)][_0x348ff4(0x1f4)](Pi),_0x2bbf33=this[_0x348ff4(0x43e)][_0x348ff4(0x1f4)](q);return(_0xf7ed7e=(_0x55c5e9=_0x2bbf33==null?void 0x0:_0x2bbf33[_0x348ff4(0x383)])!=null?_0x55c5e9:_0x3b037e)!=null?_0xf7ed7e:wr;}async[_0x5a765f(0x1bf)](_0x3ee5e1){var _0x15ed8a=_0x5a765f;const _0x968c96=this[_0x15ed8a(0x1fb)]()+'/'+_0x3ee5e1[_0x15ed8a(0x413)]+'/object';return(await this[_0x15ed8a(0x381)][_0x15ed8a(0x30d)](_0x968c96,{'body':_0x3ee5e1}))[_0x15ed8a(0x250)]['objectID']||'';}async['list'](_0x1b9883){var _0x29cc5d=_0x5a765f;const _0x4a386a=this[_0x29cc5d(0x1fb)]()+_0x29cc5d(0x402);return(await this[_0x29cc5d(0x381)]['post'](_0x4a386a,{'body':_0x1b9883}))[_0x29cc5d(0x250)][_0x29cc5d(0x276)];}async[_0x5a765f(0x35a)](_0x54885f){var _0x3a4811=_0x5a765f;const _0x2a626d=this['_getAPIPrefixPath']()+'/'+_0x54885f[_0x3a4811(0x413)]+_0x3a4811(0x1a0)+_0x54885f[_0x3a4811(0x182)];await this[_0x3a4811(0x381)]['put'](_0x2a626d,{'body':_0x54885f});}async[_0x5a765f(0x2ed)](_0x4bca3f){var _0x1b48c5=_0x5a765f;const _0x262150=this[_0x1b48c5(0x1fb)]()+'/'+_0x4bca3f[_0x1b48c5(0x413)]+'/object/'+_0x4bca3f[_0x1b48c5(0x182)]+_0x1b48c5(0x43d);return(await this['_HTTPService'][_0x1b48c5(0x30d)](_0x262150,{'body':_0x4bca3f}))['body'][_0x1b48c5(0x2b5)];}async[_0x5a765f(0x457)](_0x4d12b0){var _0x474ca8=_0x5a765f;const _0x5b47c6=this['_getAPIPrefixPath']()+_0x474ca8(0x234);return(await this[_0x474ca8(0x381)][_0x474ca8(0x30d)](_0x5b47c6,{'body':{'requests':_0x4d12b0}}))[_0x474ca8(0x250)][_0x474ca8(0x3f2)];}async[_0x5a765f(0x1f6)](_0x11d710){var _0x56b468=_0x5a765f;const _0x4bec02=this['_getAPIPrefixPath']()+'/'+_0x11d710[_0x56b468(0x413)]+_0x56b468(0x39b),_0x16514a=await this[_0x56b468(0x381)][_0x56b468(0x30d)](_0x4bec02,{'body':_0x11d710});return{'roles':_0x16514a[_0x56b468(0x250)][_0x56b468(0x23c)],'actions':_0x16514a[_0x56b468(0x250)][_0x56b468(0x2b5)]};}async[_0x5a765f(0x462)](_0x22075f){var _0x55cdc0=_0x5a765f;const _0x11942a=this['_getAPIPrefixPath']()+_0x55cdc0(0x411);await this[_0x55cdc0(0x381)][_0x55cdc0(0x232)](_0x11942a,{'params':{'collaboratorID':_0x22075f[_0x55cdc0(0x29b)],'objectID':_0x22075f[_0x55cdc0(0x182)],'unitID':_0x22075f[_0x55cdc0(0x27d)]}});}async['updateCollaborator'](_0x5d2364){var _0x3f7edf=_0x5a765f;const _0x563d7d=this[_0x3f7edf(0x1fb)]()+_0x3f7edf(0x411);await this[_0x3f7edf(0x381)][_0x3f7edf(0x3a9)](_0x563d7d,{'body':_0x5d2364});}async['createCollaborator'](_0x3da328){var _0x3bfd7e=_0x5a765f;const _0xd9e0cd=this[_0x3bfd7e(0x1fb)]()+'/collaborator';await this['_HTTPService'][_0x3bfd7e(0x30d)](_0xd9e0cd,{'body':_0x3da328});}async[_0x5a765f(0x310)](_0x425fd0){var _0x486acd=_0x5a765f;const _0x224dc1=this[_0x486acd(0x1fb)]()+_0x486acd(0x411);return(await this[_0x486acd(0x381)]['get'](_0x224dc1,{'params':{'objectID':_0x425fd0[_0x486acd(0x182)],'unitID':_0x425fd0['unitID']}}))[_0x486acd(0x250)][_0x486acd(0x2b0)];}async['putCollaborators'](_0x5e2264){var _0x5a4cb9=_0x5a765f;const _0x1cd581=this[_0x5a4cb9(0x1fb)]()+_0x5a4cb9(0x411);await this[_0x5a4cb9(0x381)][_0x5a4cb9(0x40c)](_0x1cd581,{'body':_0x5e2264});}};Rt=Pr([Xt(0x0,_0x1935ed(_0xf9517d)),Xt(0x1,_0x1935ed(_0x1ee7e1))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0xfbd8a8){var _0x23282c=_0x5a765f;return _0xfbd8a8&&_0xfbd8a8[_0x23282c(0x1c8)]&&Object['prototype']['hasOwnProperty']['call'](_0xfbd8a8,_0x23282c(0x1ec))?_0xfbd8a8[_0x23282c(0x1ec)]:_0xfbd8a8;}var Ve={'exports':{}};function Ur(_0x63b13e){var _0x4de2cf=_0x5a765f;throw new Error(_0x4de2cf(0x2e4)+_0x63b13e+_0x4de2cf(0x2b2));}var Ge={'exports':{}},Ar=Ge[_0x5a765f(0x1ef)],Zt;function ne(){var _0x348c28=_0x5a765f;return Zt||(Zt=0x1,function(_0x47b73a,_0x2f7152){(function(_0x486bcc,_0x4d27ea){var _0x5ad7b9=_0x4e5c;_0x47b73a[_0x5ad7b9(0x1ef)]=_0x4d27ea();}(Ar,function(){var _0x586e59=_0x586e59||function(_0x37b48f,_0x2e02c6){var _0x1a7c71=_0x4e5c,_0xd683c2;if(typeof window<'u'&&window['crypto']&&(_0xd683c2=window[_0x1a7c71(0x27a)]),typeof self<'u'&&self[_0x1a7c71(0x27a)]&&(_0xd683c2=self[_0x1a7c71(0x27a)]),typeof globalThis<'u'&&globalThis[_0x1a7c71(0x27a)]&&(_0xd683c2=globalThis['crypto']),!_0xd683c2&&typeof window<'u'&&window[_0x1a7c71(0x40d)]&&(_0xd683c2=window[_0x1a7c71(0x40d)]),!_0xd683c2&&typeof pt<'u'&&pt[_0x1a7c71(0x27a)]&&(_0xd683c2=pt[_0x1a7c71(0x27a)]),!_0xd683c2&&typeof Ur==_0x1a7c71(0x1d8))try{_0xd683c2=require(_0x1a7c71(0x27a));}catch{}var _0x14d40b=function(){var _0x3065d9=_0x1a7c71;if(_0xd683c2){if(typeof _0xd683c2[_0x3065d9(0x2e6)]==_0x3065d9(0x1d8))try{return _0xd683c2[_0x3065d9(0x2e6)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xd683c2['randomBytes']=='function')try{return _0xd683c2['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x3065d9(0x389));},_0x205ec6=Object[_0x1a7c71(0x1bf)]||(function(){function _0x377e70(){}return function(_0x3c26ac){var _0x35bfa=_0x4e5c,_0x535777;return _0x377e70[_0x35bfa(0x366)]=_0x3c26ac,_0x535777=new _0x377e70(),_0x377e70[_0x35bfa(0x366)]=null,_0x535777;};}()),_0x430f7d={},_0x3beff3=_0x430f7d[_0x1a7c71(0x271)]={},_0x2d3c40=_0x3beff3[_0x1a7c71(0x2f8)]=(function(){return{'extend':function(_0x5b1e99){var _0x44e081=_0x4e5c,_0x297e91=_0x205ec6(this);return _0x5b1e99&&_0x297e91[_0x44e081(0x2fd)](_0x5b1e99),(!_0x297e91[_0x44e081(0x244)](_0x44e081(0x304))||this['init']===_0x297e91[_0x44e081(0x304)])&&(_0x297e91[_0x44e081(0x304)]=function(){var _0x357747=_0x44e081;_0x297e91[_0x357747(0x435)][_0x357747(0x304)][_0x357747(0x400)](this,arguments);}),_0x297e91[_0x44e081(0x304)][_0x44e081(0x366)]=_0x297e91,_0x297e91[_0x44e081(0x435)]=this,_0x297e91;},'create':function(){var _0x269f1e=_0x4e5c,_0x278269=this[_0x269f1e(0x1d9)]();return _0x278269[_0x269f1e(0x304)][_0x269f1e(0x400)](_0x278269,arguments),_0x278269;},'init':function(){},'mixIn':function(_0x36dce3){var _0x43589b=_0x4e5c;for(var _0x1ca2c2 in _0x36dce3)_0x36dce3[_0x43589b(0x244)](_0x1ca2c2)&&(this[_0x1ca2c2]=_0x36dce3[_0x1ca2c2]);_0x36dce3[_0x43589b(0x244)]('toString')&&(this[_0x43589b(0x416)]=_0x36dce3[_0x43589b(0x416)]);},'clone':function(){var _0xbcb214=_0x4e5c;return this[_0xbcb214(0x304)][_0xbcb214(0x366)]['extend'](this);}};}()),_0x2950f4=_0x3beff3[_0x1a7c71(0x2c8)]=_0x2d3c40[_0x1a7c71(0x1d9)]({'init':function(_0x43a343,_0x50f0cc){var _0x3a53f7=_0x1a7c71;_0x43a343=this['words']=_0x43a343||[],_0x50f0cc!=_0x2e02c6?this[_0x3a53f7(0x426)]=_0x50f0cc:this['sigBytes']=_0x43a343[_0x3a53f7(0x218)]*0x4;},'toString':function(_0x35d161){var _0x25cf90=_0x1a7c71;return(_0x35d161||_0x201440)[_0x25cf90(0x45e)](this);},'concat':function(_0x3cc29b){var _0x58fb6b=_0x1a7c71,_0x54446c=this[_0x58fb6b(0x357)],_0xec09ae=_0x3cc29b['words'],_0xbf7be5=this[_0x58fb6b(0x426)],_0x159a26=_0x3cc29b['sigBytes'];if(this[_0x58fb6b(0x25c)](),_0xbf7be5%0x4)for(var _0x38f99a=0x0;_0x38f99a<_0x159a26;_0x38f99a++){var _0x5dd218=_0xec09ae[_0x38f99a>>>0x2]>>>0x18-_0x38f99a%0x4*0x8&0xff;_0x54446c[_0xbf7be5+_0x38f99a>>>0x2]|=_0x5dd218<<0x18-(_0xbf7be5+_0x38f99a)%0x4*0x8;}else{for(var _0x1e5797=0x0;_0x1e5797<_0x159a26;_0x1e5797+=0x4)_0x54446c[_0xbf7be5+_0x1e5797>>>0x2]=_0xec09ae[_0x1e5797>>>0x2];}return this[_0x58fb6b(0x426)]+=_0x159a26,this;},'clamp':function(){var _0x504a87=_0x1a7c71,_0x2a4bdd=this[_0x504a87(0x357)],_0x35279a=this[_0x504a87(0x426)];_0x2a4bdd[_0x35279a>>>0x2]&=0xffffffff<<0x20-_0x35279a%0x4*0x8,_0x2a4bdd[_0x504a87(0x218)]=_0x37b48f[_0x504a87(0x336)](_0x35279a/0x4);},'clone':function(){var _0x2d2059=_0x1a7c71,_0x447c1a=_0x2d3c40[_0x2d2059(0x453)][_0x2d2059(0x3ae)](this);return _0x447c1a[_0x2d2059(0x357)]=this[_0x2d2059(0x357)][_0x2d2059(0x27c)](0x0),_0x447c1a;},'random':function(_0x7e11c6){var _0x45612f=_0x1a7c71;for(var _0x291c08=[],_0x226829=0x0;_0x226829<_0x7e11c6;_0x226829+=0x4)_0x291c08[_0x45612f(0x2a7)](_0x14d40b());return new _0x2950f4[(_0x45612f(0x304))](_0x291c08,_0x7e11c6);}}),_0x5e97a7=_0x430f7d[_0x1a7c71(0x199)]={},_0x201440=_0x5e97a7[_0x1a7c71(0x29a)]={'stringify':function(_0x4bf186){var _0x29053b=_0x1a7c71;for(var _0xed9491=_0x4bf186[_0x29053b(0x357)],_0x501d57=_0x4bf186['sigBytes'],_0x13e9be=[],_0x51d3ad=0x0;_0x51d3ad<_0x501d57;_0x51d3ad++){var _0x2b446f=_0xed9491[_0x51d3ad>>>0x2]>>>0x18-_0x51d3ad%0x4*0x8&0xff;_0x13e9be['push']((_0x2b446f>>>0x4)[_0x29053b(0x416)](0x10)),_0x13e9be[_0x29053b(0x2a7)]((_0x2b446f&0xf)[_0x29053b(0x416)](0x10));}return _0x13e9be['join']('');},'parse':function(_0x21bcf8){var _0x1a7005=_0x1a7c71;for(var _0x5ed226=_0x21bcf8[_0x1a7005(0x218)],_0x53784a=[],_0x1f95bb=0x0;_0x1f95bb<_0x5ed226;_0x1f95bb+=0x2)_0x53784a[_0x1f95bb>>>0x3]|=parseInt(_0x21bcf8[_0x1a7005(0x25a)](_0x1f95bb,0x2),0x10)<<0x18-_0x1f95bb%0x8*0x4;return new _0x2950f4[(_0x1a7005(0x304))](_0x53784a,_0x5ed226/0x2);}},_0x709cc7=_0x5e97a7[_0x1a7c71(0x257)]={'stringify':function(_0x5c3bd9){var _0x1247c1=_0x1a7c71;for(var _0x5b22e4=_0x5c3bd9['words'],_0x1476e0=_0x5c3bd9[_0x1247c1(0x426)],_0x2b1ee9=[],_0x1738b1=0x0;_0x1738b1<_0x1476e0;_0x1738b1++){var _0x31bf5f=_0x5b22e4[_0x1738b1>>>0x2]>>>0x18-_0x1738b1%0x4*0x8&0xff;_0x2b1ee9[_0x1247c1(0x2a7)](String[_0x1247c1(0x3c3)](_0x31bf5f));}return _0x2b1ee9[_0x1247c1(0x2cf)]('');},'parse':function(_0x5971a5){var _0x418873=_0x1a7c71;for(var _0x4b2e72=_0x5971a5[_0x418873(0x218)],_0x90523c=[],_0x64c984=0x0;_0x64c984<_0x4b2e72;_0x64c984++)_0x90523c[_0x64c984>>>0x2]|=(_0x5971a5[_0x418873(0x37b)](_0x64c984)&0xff)<<0x18-_0x64c984%0x4*0x8;return new _0x2950f4[(_0x418873(0x304))](_0x90523c,_0x4b2e72);}},_0x20ab3a=_0x5e97a7[_0x1a7c71(0x3c9)]={'stringify':function(_0xed0819){var _0x2450c4=_0x1a7c71;try{return decodeURIComponent(escape(_0x709cc7[_0x2450c4(0x45e)](_0xed0819)));}catch{throw new Error(_0x2450c4(0x352));}},'parse':function(_0x5dec89){return _0x709cc7['parse'](unescape(encodeURIComponent(_0x5dec89)));}},_0x895cb1=_0x3beff3[_0x1a7c71(0x21b)]=_0x2d3c40[_0x1a7c71(0x1d9)]({'reset':function(){var _0x2e4c89=_0x1a7c71;this[_0x2e4c89(0x380)]=new _0x2950f4[(_0x2e4c89(0x304))](),this[_0x2e4c89(0x3bd)]=0x0;},'_append':function(_0x26b5a0){var _0x6db0c4=_0x1a7c71;typeof _0x26b5a0==_0x6db0c4(0x18d)&&(_0x26b5a0=_0x20ab3a[_0x6db0c4(0x3ac)](_0x26b5a0)),this[_0x6db0c4(0x380)][_0x6db0c4(0x45b)](_0x26b5a0),this[_0x6db0c4(0x3bd)]+=_0x26b5a0[_0x6db0c4(0x426)];},'_process':function(_0x4da07f){var _0x44f4ea=_0x1a7c71,_0x5daa63,_0x2080bb=this[_0x44f4ea(0x380)],_0x295c29=_0x2080bb[_0x44f4ea(0x357)],_0xb04be8=_0x2080bb[_0x44f4ea(0x426)],_0x16a5a1=this[_0x44f4ea(0x1ca)],_0x1f9f94=_0x16a5a1*0x4,_0x431ba9=_0xb04be8/_0x1f9f94;_0x4da07f?_0x431ba9=_0x37b48f[_0x44f4ea(0x336)](_0x431ba9):_0x431ba9=_0x37b48f[_0x44f4ea(0x2bf)]((_0x431ba9|0x0)-this[_0x44f4ea(0x229)],0x0);var _0x346a31=_0x431ba9*_0x16a5a1,_0x501f3b=_0x37b48f[_0x44f4ea(0x19e)](_0x346a31*0x4,_0xb04be8);if(_0x346a31){for(var _0xbd9a61=0x0;_0xbd9a61<_0x346a31;_0xbd9a61+=_0x16a5a1)this[_0x44f4ea(0x1b3)](_0x295c29,_0xbd9a61);_0x5daa63=_0x295c29[_0x44f4ea(0x1c4)](0x0,_0x346a31),_0x2080bb[_0x44f4ea(0x426)]-=_0x501f3b;}return new _0x2950f4[(_0x44f4ea(0x304))](_0x5daa63,_0x501f3b);},'clone':function(){var _0x4ded6e=_0x1a7c71,_0x57dbd5=_0x2d3c40[_0x4ded6e(0x453)]['call'](this);return _0x57dbd5['_data']=this['_data'][_0x4ded6e(0x453)](),_0x57dbd5;},'_minBufferSize':0x0});_0x3beff3[_0x1a7c71(0x3a0)]=_0x895cb1[_0x1a7c71(0x1d9)]({'cfg':_0x2d3c40[_0x1a7c71(0x1d9)](),'init':function(_0x2bfb1f){var _0x21c5a6=_0x1a7c71;this[_0x21c5a6(0x2cc)]=this[_0x21c5a6(0x2cc)][_0x21c5a6(0x1d9)](_0x2bfb1f),this[_0x21c5a6(0x387)]();},'reset':function(){var _0x2a4d62=_0x1a7c71;_0x895cb1[_0x2a4d62(0x387)][_0x2a4d62(0x3ae)](this),this[_0x2a4d62(0x3c5)]();},'update':function(_0x50976d){var _0x17c2a3=_0x1a7c71;return this[_0x17c2a3(0x42d)](_0x50976d),this[_0x17c2a3(0x3b0)](),this;},'finalize':function(_0x2e4a2b){var _0x197e3c=_0x1a7c71;_0x2e4a2b&&this[_0x197e3c(0x42d)](_0x2e4a2b);var _0x3ea3c6=this['_doFinalize']();return _0x3ea3c6;},'blockSize':0x10,'_createHelper':function(_0xb044e8){return function(_0x12f0c6,_0x1dfbb0){var _0xd55b84=_0x4e5c;return new _0xb044e8['init'](_0x1dfbb0)[_0xd55b84(0x41e)](_0x12f0c6);};},'_createHmacHelper':function(_0x1ea6a1){return function(_0x83bacf,_0x199bc9){var _0x158521=_0x4e5c;return new _0x169dbd[(_0x158521(0x167))][(_0x158521(0x304))](_0x1ea6a1,_0x199bc9)[_0x158521(0x41e)](_0x83bacf);};}});var _0x169dbd=_0x430f7d[_0x1a7c71(0x2af)]={};return _0x430f7d;}(Math);return _0x586e59;}));}(Ge)),Ge[_0x348c28(0x1ef)];}var We={'exports':{}},xr=We[_0x5a765f(0x1ef)],Qt;function wi(){var _0x4b70b3=_0x5a765f;return Qt||(Qt=0x1,function(_0x3127bb,_0x1a5e52){(function(_0x1a44b8,_0x37c66f){var _0x587e8b=_0x4e5c;_0x3127bb[_0x587e8b(0x1ef)]=_0x37c66f(ne());}(xr,function(_0x4f596f){var _0x28c069=_0x4e5c;return(function(){var _0x4748a1=_0x4e5c,_0xee7156=_0x4f596f,_0x2d87af=_0xee7156['lib'],_0x21fd06=_0x2d87af[_0x4748a1(0x2c8)],_0x17123d=_0xee7156['enc'];_0x17123d[_0x4748a1(0x34d)]={'stringify':function(_0x42f5c4){var _0x1dbcd6=_0x4748a1,_0xbbdec1=_0x42f5c4[_0x1dbcd6(0x357)],_0xb9557=_0x42f5c4[_0x1dbcd6(0x426)],_0xdb91a3=this['_map'];_0x42f5c4[_0x1dbcd6(0x25c)]();for(var _0x3d6722=[],_0x116a0a=0x0;_0x116a0a<_0xb9557;_0x116a0a+=0x3)for(var _0x5f0847=_0xbbdec1[_0x116a0a>>>0x2]>>>0x18-_0x116a0a%0x4*0x8&0xff,_0x3bb2cf=_0xbbdec1[_0x116a0a+0x1>>>0x2]>>>0x18-(_0x116a0a+0x1)%0x4*0x8&0xff,_0x1a0d58=_0xbbdec1[_0x116a0a+0x2>>>0x2]>>>0x18-(_0x116a0a+0x2)%0x4*0x8&0xff,_0xc2bf25=_0x5f0847<<0x10|_0x3bb2cf<<0x8|_0x1a0d58,_0x2c79f9=0x0;_0x2c79f9<0x4&&_0x116a0a+_0x2c79f9*0.75<_0xb9557;_0x2c79f9++)_0x3d6722[_0x1dbcd6(0x2a7)](_0xdb91a3[_0x1dbcd6(0x166)](_0xc2bf25>>>0x6*(0x3-_0x2c79f9)&0x3f));var _0x1e5ff8=_0xdb91a3[_0x1dbcd6(0x166)](0x40);if(_0x1e5ff8){for(;_0x3d6722[_0x1dbcd6(0x218)]%0x4;)_0x3d6722['push'](_0x1e5ff8);}return _0x3d6722[_0x1dbcd6(0x2cf)]('');},'parse':function(_0x2f26ee){var _0x283922=_0x4748a1,_0x3e1ccd=_0x2f26ee['length'],_0x17b7a0=this['_map'],_0x4b58c8=this[_0x283922(0x2a2)];if(!_0x4b58c8){_0x4b58c8=this[_0x283922(0x2a2)]=[];for(var _0x32946d=0x0;_0x32946d<_0x17b7a0[_0x283922(0x218)];_0x32946d++)_0x4b58c8[_0x17b7a0[_0x283922(0x37b)](_0x32946d)]=_0x32946d;}var _0x36f4f7=_0x17b7a0[_0x283922(0x166)](0x40);if(_0x36f4f7){var _0x5e48a8=_0x2f26ee['indexOf'](_0x36f4f7);_0x5e48a8!==-0x1&&(_0x3e1ccd=_0x5e48a8);}return _0x1dc186(_0x2f26ee,_0x3e1ccd,_0x4b58c8);},'_map':_0x4748a1(0x2fc)};function _0x1dc186(_0x783658,_0x49ef3a,_0x26d32d){var _0x2c4120=_0x4748a1;for(var _0x3e9de4=[],_0x199d49=0x0,_0x55512a=0x0;_0x55512a<_0x49ef3a;_0x55512a++)if(_0x55512a%0x4){var _0x1a85cc=_0x26d32d[_0x783658[_0x2c4120(0x37b)](_0x55512a-0x1)]<<_0x55512a%0x4*0x2,_0x94933a=_0x26d32d[_0x783658['charCodeAt'](_0x55512a)]>>>0x6-_0x55512a%0x4*0x2,_0x11ce7c=_0x1a85cc|_0x94933a;_0x3e9de4[_0x199d49>>>0x2]|=_0x11ce7c<<0x18-_0x199d49%0x4*0x8,_0x199d49++;}return _0x21fd06['create'](_0x3e9de4,_0x199d49);}}()),_0x4f596f[_0x28c069(0x199)]['Base64'];}));}(We)),We[_0x4b70b3(0x1ef)];}var Ke={'exports':{}},Lr=Ke['exports'],ei;function Mr(){var _0x22a311=_0x5a765f;return ei||(ei=0x1,function(_0x2fda9d,_0x1cb472){(function(_0x2a0281,_0x557ba6){_0x2fda9d['exports']=_0x557ba6(ne());}(Lr,function(_0x112b1c){return function(_0x5d218a){var _0x30d54f=_0x4e5c,_0xa5588d=_0x112b1c,_0x3038c3=_0xa5588d[_0x30d54f(0x271)],_0x5501d4=_0x3038c3[_0x30d54f(0x2c8)],_0x34a07a=_0x3038c3[_0x30d54f(0x3a0)],_0xaf58b7=_0xa5588d['algo'],_0x5c8b4e=[];(function(){var _0x19ba3c=_0x30d54f;for(var _0x2d54bd=0x0;_0x2d54bd<0x40;_0x2d54bd++)_0x5c8b4e[_0x2d54bd]=_0x5d218a[_0x19ba3c(0x28e)](_0x5d218a[_0x19ba3c(0x2a5)](_0x2d54bd+0x1))*0x100000000|0x0;}());var _0x245109=_0xaf58b7[_0x30d54f(0x277)]=_0x34a07a['extend']({'_doReset':function(){var _0x171920=_0x30d54f;this[_0x171920(0x2ce)]=new _0x5501d4[(_0x171920(0x304))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x24a0b1,_0x725fe4){var _0x29f100=_0x30d54f;for(var _0x5064c5=0x0;_0x5064c5<0x10;_0x5064c5++){var _0x2b8b5d=_0x725fe4+_0x5064c5,_0x170aa2=_0x24a0b1[_0x2b8b5d];_0x24a0b1[_0x2b8b5d]=(_0x170aa2<<0x8|_0x170aa2>>>0x18)&0xff00ff|(_0x170aa2<<0x18|_0x170aa2>>>0x8)&0xff00ff00;}var _0x2dea2f=this[_0x29f100(0x2ce)][_0x29f100(0x357)],_0x4d515a=_0x24a0b1[_0x725fe4+0x0],_0x53a1ba=_0x24a0b1[_0x725fe4+0x1],_0x294b7f=_0x24a0b1[_0x725fe4+0x2],_0x14eec8=_0x24a0b1[_0x725fe4+0x3],_0xad13e9=_0x24a0b1[_0x725fe4+0x4],_0x22d357=_0x24a0b1[_0x725fe4+0x5],_0x17661f=_0x24a0b1[_0x725fe4+0x6],_0x3e83f2=_0x24a0b1[_0x725fe4+0x7],_0x38f18c=_0x24a0b1[_0x725fe4+0x8],_0x4911d9=_0x24a0b1[_0x725fe4+0x9],_0x3cedc1=_0x24a0b1[_0x725fe4+0xa],_0x48d121=_0x24a0b1[_0x725fe4+0xb],_0x1ca9f5=_0x24a0b1[_0x725fe4+0xc],_0x446621=_0x24a0b1[_0x725fe4+0xd],_0x454bf6=_0x24a0b1[_0x725fe4+0xe],_0x328247=_0x24a0b1[_0x725fe4+0xf],_0x3257f3=_0x2dea2f[0x0],_0x4bdb93=_0x2dea2f[0x1],_0x6daf73=_0x2dea2f[0x2],_0x26a28d=_0x2dea2f[0x3];_0x3257f3=_0x1150b5(_0x3257f3,_0x4bdb93,_0x6daf73,_0x26a28d,_0x4d515a,0x7,_0x5c8b4e[0x0]),_0x26a28d=_0x1150b5(_0x26a28d,_0x3257f3,_0x4bdb93,_0x6daf73,_0x53a1ba,0xc,_0x5c8b4e[0x1]),_0x6daf73=_0x1150b5(_0x6daf73,_0x26a28d,_0x3257f3,_0x4bdb93,_0x294b7f,0x11,_0x5c8b4e[0x2]),_0x4bdb93=_0x1150b5(_0x4bdb93,_0x6daf73,_0x26a28d,_0x3257f3,_0x14eec8,0x16,_0x5c8b4e[0x3]),_0x3257f3=_0x1150b5(_0x3257f3,_0x4bdb93,_0x6daf73,_0x26a28d,_0xad13e9,0x7,_0x5c8b4e[0x4]),_0x26a28d=_0x1150b5(_0x26a28d,_0x3257f3,_0x4bdb93,_0x6daf73,_0x22d357,0xc,_0x5c8b4e[0x5]),_0x6daf73=_0x1150b5(_0x6daf73,_0x26a28d,_0x3257f3,_0x4bdb93,_0x17661f,0x11,_0x5c8b4e[0x6]),_0x4bdb93=_0x1150b5(_0x4bdb93,_0x6daf73,_0x26a28d,_0x3257f3,_0x3e83f2,0x16,_0x5c8b4e[0x7]),_0x3257f3=_0x1150b5(_0x3257f3,_0x4bdb93,_0x6daf73,_0x26a28d,_0x38f18c,0x7,_0x5c8b4e[0x8]),_0x26a28d=_0x1150b5(_0x26a28d,_0x3257f3,_0x4bdb93,_0x6daf73,_0x4911d9,0xc,_0x5c8b4e[0x9]),_0x6daf73=_0x1150b5(_0x6daf73,_0x26a28d,_0x3257f3,_0x4bdb93,_0x3cedc1,0x11,_0x5c8b4e[0xa]),_0x4bdb93=_0x1150b5(_0x4bdb93,_0x6daf73,_0x26a28d,_0x3257f3,_0x48d121,0x16,_0x5c8b4e[0xb]),_0x3257f3=_0x1150b5(_0x3257f3,_0x4bdb93,_0x6daf73,_0x26a28d,_0x1ca9f5,0x7,_0x5c8b4e[0xc]),_0x26a28d=_0x1150b5(_0x26a28d,_0x3257f3,_0x4bdb93,_0x6daf73,_0x446621,0xc,_0x5c8b4e[0xd]),_0x6daf73=_0x1150b5(_0x6daf73,_0x26a28d,_0x3257f3,_0x4bdb93,_0x454bf6,0x11,_0x5c8b4e[0xe]),_0x4bdb93=_0x1150b5(_0x4bdb93,_0x6daf73,_0x26a28d,_0x3257f3,_0x328247,0x16,_0x5c8b4e[0xf]),_0x3257f3=_0x434394(_0x3257f3,_0x4bdb93,_0x6daf73,_0x26a28d,_0x53a1ba,0x5,_0x5c8b4e[0x10]),_0x26a28d=_0x434394(_0x26a28d,_0x3257f3,_0x4bdb93,_0x6daf73,_0x17661f,0x9,_0x5c8b4e[0x11]),_0x6daf73=_0x434394(_0x6daf73,_0x26a28d,_0x3257f3,_0x4bdb93,_0x48d121,0xe,_0x5c8b4e[0x12]),_0x4bdb93=_0x434394(_0x4bdb93,_0x6daf73,_0x26a28d,_0x3257f3,_0x4d515a,0x14,_0x5c8b4e[0x13]),_0x3257f3=_0x434394(_0x3257f3,_0x4bdb93,_0x6daf73,_0x26a28d,_0x22d357,0x5,_0x5c8b4e[0x14]),_0x26a28d=_0x434394(_0x26a28d,_0x3257f3,_0x4bdb93,_0x6daf73,_0x3cedc1,0x9,_0x5c8b4e[0x15]),_0x6daf73=_0x434394(_0x6daf73,_0x26a28d,_0x3257f3,_0x4bdb93,_0x328247,0xe,_0x5c8b4e[0x16]),_0x4bdb93=_0x434394(_0x4bdb93,_0x6daf73,_0x26a28d,_0x3257f3,_0xad13e9,0x14,_0x5c8b4e[0x17]),_0x3257f3=_0x434394(_0x3257f3,_0x4bdb93,_0x6daf73,_0x26a28d,_0x4911d9,0x5,_0x5c8b4e[0x18]),_0x26a28d=_0x434394(_0x26a28d,_0x3257f3,_0x4bdb93,_0x6daf73,_0x454bf6,0x9,_0x5c8b4e[0x19]),_0x6daf73=_0x434394(_0x6daf73,_0x26a28d,_0x3257f3,_0x4bdb93,_0x14eec8,0xe,_0x5c8b4e[0x1a]),_0x4bdb93=_0x434394(_0x4bdb93,_0x6daf73,_0x26a28d,_0x3257f3,_0x38f18c,0x14,_0x5c8b4e[0x1b]),_0x3257f3=_0x434394(_0x3257f3,_0x4bdb93,_0x6daf73,_0x26a28d,_0x446621,0x5,_0x5c8b4e[0x1c]),_0x26a28d=_0x434394(_0x26a28d,_0x3257f3,_0x4bdb93,_0x6daf73,_0x294b7f,0x9,_0x5c8b4e[0x1d]),_0x6daf73=_0x434394(_0x6daf73,_0x26a28d,_0x3257f3,_0x4bdb93,_0x3e83f2,0xe,_0x5c8b4e[0x1e]),_0x4bdb93=_0x434394(_0x4bdb93,_0x6daf73,_0x26a28d,_0x3257f3,_0x1ca9f5,0x14,_0x5c8b4e[0x1f]),_0x3257f3=_0x64a8b0(_0x3257f3,_0x4bdb93,_0x6daf73,_0x26a28d,_0x22d357,0x4,_0x5c8b4e[0x20]),_0x26a28d=_0x64a8b0(_0x26a28d,_0x3257f3,_0x4bdb93,_0x6daf73,_0x38f18c,0xb,_0x5c8b4e[0x21]),_0x6daf73=_0x64a8b0(_0x6daf73,_0x26a28d,_0x3257f3,_0x4bdb93,_0x48d121,0x10,_0x5c8b4e[0x22]),_0x4bdb93=_0x64a8b0(_0x4bdb93,_0x6daf73,_0x26a28d,_0x3257f3,_0x454bf6,0x17,_0x5c8b4e[0x23]),_0x3257f3=_0x64a8b0(_0x3257f3,_0x4bdb93,_0x6daf73,_0x26a28d,_0x53a1ba,0x4,_0x5c8b4e[0x24]),_0x26a28d=_0x64a8b0(_0x26a28d,_0x3257f3,_0x4bdb93,_0x6daf73,_0xad13e9,0xb,_0x5c8b4e[0x25]),_0x6daf73=_0x64a8b0(_0x6daf73,_0x26a28d,_0x3257f3,_0x4bdb93,_0x3e83f2,0x10,_0x5c8b4e[0x26]),_0x4bdb93=_0x64a8b0(_0x4bdb93,_0x6daf73,_0x26a28d,_0x3257f3,_0x3cedc1,0x17,_0x5c8b4e[0x27]),_0x3257f3=_0x64a8b0(_0x3257f3,_0x4bdb93,_0x6daf73,_0x26a28d,_0x446621,0x4,_0x5c8b4e[0x28]),_0x26a28d=_0x64a8b0(_0x26a28d,_0x3257f3,_0x4bdb93,_0x6daf73,_0x4d515a,0xb,_0x5c8b4e[0x29]),_0x6daf73=_0x64a8b0(_0x6daf73,_0x26a28d,_0x3257f3,_0x4bdb93,_0x14eec8,0x10,_0x5c8b4e[0x2a]),_0x4bdb93=_0x64a8b0(_0x4bdb93,_0x6daf73,_0x26a28d,_0x3257f3,_0x17661f,0x17,_0x5c8b4e[0x2b]),_0x3257f3=_0x64a8b0(_0x3257f3,_0x4bdb93,_0x6daf73,_0x26a28d,_0x4911d9,0x4,_0x5c8b4e[0x2c]),_0x26a28d=_0x64a8b0(_0x26a28d,_0x3257f3,_0x4bdb93,_0x6daf73,_0x1ca9f5,0xb,_0x5c8b4e[0x2d]),_0x6daf73=_0x64a8b0(_0x6daf73,_0x26a28d,_0x3257f3,_0x4bdb93,_0x328247,0x10,_0x5c8b4e[0x2e]),_0x4bdb93=_0x64a8b0(_0x4bdb93,_0x6daf73,_0x26a28d,_0x3257f3,_0x294b7f,0x17,_0x5c8b4e[0x2f]),_0x3257f3=_0x28a263(_0x3257f3,_0x4bdb93,_0x6daf73,_0x26a28d,_0x4d515a,0x6,_0x5c8b4e[0x30]),_0x26a28d=_0x28a263(_0x26a28d,_0x3257f3,_0x4bdb93,_0x6daf73,_0x3e83f2,0xa,_0x5c8b4e[0x31]),_0x6daf73=_0x28a263(_0x6daf73,_0x26a28d,_0x3257f3,_0x4bdb93,_0x454bf6,0xf,_0x5c8b4e[0x32]),_0x4bdb93=_0x28a263(_0x4bdb93,_0x6daf73,_0x26a28d,_0x3257f3,_0x22d357,0x15,_0x5c8b4e[0x33]),_0x3257f3=_0x28a263(_0x3257f3,_0x4bdb93,_0x6daf73,_0x26a28d,_0x1ca9f5,0x6,_0x5c8b4e[0x34]),_0x26a28d=_0x28a263(_0x26a28d,_0x3257f3,_0x4bdb93,_0x6daf73,_0x14eec8,0xa,_0x5c8b4e[0x35]),_0x6daf73=_0x28a263(_0x6daf73,_0x26a28d,_0x3257f3,_0x4bdb93,_0x3cedc1,0xf,_0x5c8b4e[0x36]),_0x4bdb93=_0x28a263(_0x4bdb93,_0x6daf73,_0x26a28d,_0x3257f3,_0x53a1ba,0x15,_0x5c8b4e[0x37]),_0x3257f3=_0x28a263(_0x3257f3,_0x4bdb93,_0x6daf73,_0x26a28d,_0x38f18c,0x6,_0x5c8b4e[0x38]),_0x26a28d=_0x28a263(_0x26a28d,_0x3257f3,_0x4bdb93,_0x6daf73,_0x328247,0xa,_0x5c8b4e[0x39]),_0x6daf73=_0x28a263(_0x6daf73,_0x26a28d,_0x3257f3,_0x4bdb93,_0x17661f,0xf,_0x5c8b4e[0x3a]),_0x4bdb93=_0x28a263(_0x4bdb93,_0x6daf73,_0x26a28d,_0x3257f3,_0x446621,0x15,_0x5c8b4e[0x3b]),_0x3257f3=_0x28a263(_0x3257f3,_0x4bdb93,_0x6daf73,_0x26a28d,_0xad13e9,0x6,_0x5c8b4e[0x3c]),_0x26a28d=_0x28a263(_0x26a28d,_0x3257f3,_0x4bdb93,_0x6daf73,_0x48d121,0xa,_0x5c8b4e[0x3d]),_0x6daf73=_0x28a263(_0x6daf73,_0x26a28d,_0x3257f3,_0x4bdb93,_0x294b7f,0xf,_0x5c8b4e[0x3e]),_0x4bdb93=_0x28a263(_0x4bdb93,_0x6daf73,_0x26a28d,_0x3257f3,_0x4911d9,0x15,_0x5c8b4e[0x3f]),_0x2dea2f[0x0]=_0x2dea2f[0x0]+_0x3257f3|0x0,_0x2dea2f[0x1]=_0x2dea2f[0x1]+_0x4bdb93|0x0,_0x2dea2f[0x2]=_0x2dea2f[0x2]+_0x6daf73|0x0,_0x2dea2f[0x3]=_0x2dea2f[0x3]+_0x26a28d|0x0;},'_doFinalize':function(){var _0x2ff605=_0x30d54f,_0x3d69f3=this['_data'],_0x13a785=_0x3d69f3[_0x2ff605(0x357)],_0x1160a0=this[_0x2ff605(0x3bd)]*0x8,_0x898b40=_0x3d69f3[_0x2ff605(0x426)]*0x8;_0x13a785[_0x898b40>>>0x5]|=0x80<<0x18-_0x898b40%0x20;var _0x280941=_0x5d218a[_0x2ff605(0x329)](_0x1160a0/0x100000000),_0x589598=_0x1160a0;_0x13a785[(_0x898b40+0x40>>>0x9<<0x4)+0xf]=(_0x280941<<0x8|_0x280941>>>0x18)&0xff00ff|(_0x280941<<0x18|_0x280941>>>0x8)&0xff00ff00,_0x13a785[(_0x898b40+0x40>>>0x9<<0x4)+0xe]=(_0x589598<<0x8|_0x589598>>>0x18)&0xff00ff|(_0x589598<<0x18|_0x589598>>>0x8)&0xff00ff00,_0x3d69f3[_0x2ff605(0x426)]=(_0x13a785[_0x2ff605(0x218)]+0x1)*0x4,this[_0x2ff605(0x3b0)]();for(var _0x57e1ba=this[_0x2ff605(0x2ce)],_0x2a8a00=_0x57e1ba[_0x2ff605(0x357)],_0x1dccb0=0x0;_0x1dccb0<0x4;_0x1dccb0++){var _0x64a10a=_0x2a8a00[_0x1dccb0];_0x2a8a00[_0x1dccb0]=(_0x64a10a<<0x8|_0x64a10a>>>0x18)&0xff00ff|(_0x64a10a<<0x18|_0x64a10a>>>0x8)&0xff00ff00;}return _0x57e1ba;},'clone':function(){var _0x145d9e=_0x30d54f,_0x158048=_0x34a07a[_0x145d9e(0x453)][_0x145d9e(0x3ae)](this);return _0x158048[_0x145d9e(0x2ce)]=this[_0x145d9e(0x2ce)]['clone'](),_0x158048;}});function _0x1150b5(_0xdeca5c,_0x5251bf,_0x31cbaf,_0x53bc83,_0x5c2c80,_0x548625,_0x4a5135){var _0x274e44=_0xdeca5c+(_0x5251bf&_0x31cbaf|~_0x5251bf&_0x53bc83)+_0x5c2c80+_0x4a5135;return(_0x274e44<<_0x548625|_0x274e44>>>0x20-_0x548625)+_0x5251bf;}function _0x434394(_0x105e76,_0x4af209,_0x27ebf9,_0x593ef0,_0x2a9c90,_0x261083,_0x15861b){var _0x5b59f7=_0x105e76+(_0x4af209&_0x593ef0|_0x27ebf9&~_0x593ef0)+_0x2a9c90+_0x15861b;return(_0x5b59f7<<_0x261083|_0x5b59f7>>>0x20-_0x261083)+_0x4af209;}function _0x64a8b0(_0x59a5ec,_0x28dd75,_0xdceb98,_0x48ffb6,_0x384111,_0xbb495e,_0x1c2f04){var _0x56466c=_0x59a5ec+(_0x28dd75^_0xdceb98^_0x48ffb6)+_0x384111+_0x1c2f04;return(_0x56466c<<_0xbb495e|_0x56466c>>>0x20-_0xbb495e)+_0x28dd75;}function _0x28a263(_0xf6ad0b,_0x559105,_0x325409,_0x182c79,_0x31e6eb,_0x158188,_0x522b57){var _0x141cfa=_0xf6ad0b+(_0x325409^(_0x559105|~_0x182c79))+_0x31e6eb+_0x522b57;return(_0x141cfa<<_0x158188|_0x141cfa>>>0x20-_0x158188)+_0x559105;}_0xa5588d[_0x30d54f(0x277)]=_0x34a07a[_0x30d54f(0x40a)](_0x245109),_0xa5588d[_0x30d54f(0x407)]=_0x34a07a[_0x30d54f(0x245)](_0x245109);}(Math),_0x112b1c['MD5'];}));}(Ke)),Ke[_0x22a311(0x1ef)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x5a765f(0x1ef)],ti;function Hr(){return ti||(ti=0x1,function(_0x348f51,_0xd05ea3){(function(_0x3b4aef,_0x1265a6){var _0x3bac9c=_0x4e5c;_0x348f51[_0x3bac9c(0x1ef)]=_0x1265a6(ne());}($r,function(_0x4ca896){return(function(){var _0x3c80dc=_0x4e5c,_0x189b69=_0x4ca896,_0x5c6234=_0x189b69['lib'],_0x114760=_0x5c6234[_0x3c80dc(0x2c8)],_0x2644a2=_0x5c6234[_0x3c80dc(0x3a0)],_0x1ddfce=_0x189b69['algo'],_0x597d49=[],_0x31c23e=_0x1ddfce['SHA1']=_0x2644a2['extend']({'_doReset':function(){this['_hash']=new _0x114760['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x290c6d,_0x15e1f6){var _0xcbe9e3=_0x3c80dc;for(var _0x42e6ca=this['_hash'][_0xcbe9e3(0x357)],_0x4f2d15=_0x42e6ca[0x0],_0xb26e61=_0x42e6ca[0x1],_0x4b881f=_0x42e6ca[0x2],_0x143ef6=_0x42e6ca[0x3],_0x36adf3=_0x42e6ca[0x4],_0x16b62c=0x0;_0x16b62c<0x50;_0x16b62c++){if(_0x16b62c<0x10)_0x597d49[_0x16b62c]=_0x290c6d[_0x15e1f6+_0x16b62c]|0x0;else{var _0x1ae411=_0x597d49[_0x16b62c-0x3]^_0x597d49[_0x16b62c-0x8]^_0x597d49[_0x16b62c-0xe]^_0x597d49[_0x16b62c-0x10];_0x597d49[_0x16b62c]=_0x1ae411<<0x1|_0x1ae411>>>0x1f;}var _0x4dbcf6=(_0x4f2d15<<0x5|_0x4f2d15>>>0x1b)+_0x36adf3+_0x597d49[_0x16b62c];_0x16b62c<0x14?_0x4dbcf6+=(_0xb26e61&_0x4b881f|~_0xb26e61&_0x143ef6)+0x5a827999:_0x16b62c<0x28?_0x4dbcf6+=(_0xb26e61^_0x4b881f^_0x143ef6)+0x6ed9eba1:_0x16b62c<0x3c?_0x4dbcf6+=(_0xb26e61&_0x4b881f|_0xb26e61&_0x143ef6|_0x4b881f&_0x143ef6)-0x70e44324:_0x4dbcf6+=(_0xb26e61^_0x4b881f^_0x143ef6)-0x359d3e2a,_0x36adf3=_0x143ef6,_0x143ef6=_0x4b881f,_0x4b881f=_0xb26e61<<0x1e|_0xb26e61>>>0x2,_0xb26e61=_0x4f2d15,_0x4f2d15=_0x4dbcf6;}_0x42e6ca[0x0]=_0x42e6ca[0x0]+_0x4f2d15|0x0,_0x42e6ca[0x1]=_0x42e6ca[0x1]+_0xb26e61|0x0,_0x42e6ca[0x2]=_0x42e6ca[0x2]+_0x4b881f|0x0,_0x42e6ca[0x3]=_0x42e6ca[0x3]+_0x143ef6|0x0,_0x42e6ca[0x4]=_0x42e6ca[0x4]+_0x36adf3|0x0;},'_doFinalize':function(){var _0x27a335=_0x3c80dc,_0x2aa5a3=this[_0x27a335(0x380)],_0x161169=_0x2aa5a3[_0x27a335(0x357)],_0x5473b2=this[_0x27a335(0x3bd)]*0x8,_0x4c17c9=_0x2aa5a3[_0x27a335(0x426)]*0x8;return _0x161169[_0x4c17c9>>>0x5]|=0x80<<0x18-_0x4c17c9%0x20,_0x161169[(_0x4c17c9+0x40>>>0x9<<0x4)+0xe]=Math[_0x27a335(0x329)](_0x5473b2/0x100000000),_0x161169[(_0x4c17c9+0x40>>>0x9<<0x4)+0xf]=_0x5473b2,_0x2aa5a3[_0x27a335(0x426)]=_0x161169['length']*0x4,this[_0x27a335(0x3b0)](),this[_0x27a335(0x2ce)];},'clone':function(){var _0x5b7595=_0x3c80dc,_0x1b7ce3=_0x2644a2['clone']['call'](this);return _0x1b7ce3[_0x5b7595(0x2ce)]=this[_0x5b7595(0x2ce)][_0x5b7595(0x453)](),_0x1b7ce3;}});_0x189b69[_0x3c80dc(0x281)]=_0x2644a2[_0x3c80dc(0x40a)](_0x31c23e),_0x189b69[_0x3c80dc(0x360)]=_0x2644a2[_0x3c80dc(0x245)](_0x31c23e);}()),_0x4ca896['SHA1'];}));}(qe)),qe['exports'];}var ze={'exports':{}},kr=ze[_0x5a765f(0x1ef)],ii;function jr(){var _0x2abb95=_0x5a765f;return ii||(ii=0x1,function(_0x3b27b8,_0xfe989c){(function(_0x74f79e,_0x447833){var _0x40e45e=_0x4e5c;_0x3b27b8[_0x40e45e(0x1ef)]=_0x447833(ne());}(kr,function(_0x4e12a3){(function(){var _0x450b75=_0x4e5c,_0x431ef7=_0x4e12a3,_0x36bc7d=_0x431ef7['lib'],_0xf795f4=_0x36bc7d['Base'],_0x5908c7=_0x431ef7[_0x450b75(0x199)],_0x42135a=_0x5908c7['Utf8'],_0x4f84c5=_0x431ef7['algo'];_0x4f84c5[_0x450b75(0x167)]=_0xf795f4[_0x450b75(0x1d9)]({'init':function(_0x16cf5c,_0x18f4ed){var _0x42f8e1=_0x450b75;_0x16cf5c=this[_0x42f8e1(0x404)]=new _0x16cf5c[(_0x42f8e1(0x304))](),typeof _0x18f4ed==_0x42f8e1(0x18d)&&(_0x18f4ed=_0x42135a[_0x42f8e1(0x3ac)](_0x18f4ed));var _0x179982=_0x16cf5c['blockSize'],_0x5a7357=_0x179982*0x4;_0x18f4ed[_0x42f8e1(0x426)]>_0x5a7357&&(_0x18f4ed=_0x16cf5c['finalize'](_0x18f4ed)),_0x18f4ed[_0x42f8e1(0x25c)]();for(var _0x3f8cbc=this[_0x42f8e1(0x38e)]=_0x18f4ed[_0x42f8e1(0x453)](),_0x885f91=this['_iKey']=_0x18f4ed[_0x42f8e1(0x453)](),_0xf75b91=_0x3f8cbc[_0x42f8e1(0x357)],_0x3da87d=_0x885f91[_0x42f8e1(0x357)],_0x1fff3e=0x0;_0x1fff3e<_0x179982;_0x1fff3e++)_0xf75b91[_0x1fff3e]^=0x5c5c5c5c,_0x3da87d[_0x1fff3e]^=0x36363636;_0x3f8cbc[_0x42f8e1(0x426)]=_0x885f91[_0x42f8e1(0x426)]=_0x5a7357,this[_0x42f8e1(0x387)]();},'reset':function(){var _0x1d2dc3=_0x450b75,_0x2aa0a1=this[_0x1d2dc3(0x404)];_0x2aa0a1[_0x1d2dc3(0x387)](),_0x2aa0a1['update'](this[_0x1d2dc3(0x3b6)]);},'update':function(_0x413f16){var _0x31d095=_0x450b75;return this[_0x31d095(0x404)][_0x31d095(0x35a)](_0x413f16),this;},'finalize':function(_0x2a9e82){var _0x4142dc=_0x450b75,_0x15fe5e=this[_0x4142dc(0x404)],_0x347ff8=_0x15fe5e[_0x4142dc(0x41e)](_0x2a9e82);_0x15fe5e[_0x4142dc(0x387)]();var _0xd77457=_0x15fe5e['finalize'](this[_0x4142dc(0x38e)][_0x4142dc(0x453)]()[_0x4142dc(0x45b)](_0x347ff8));return _0xd77457;}});}());}));}(ze)),ze[_0x2abb95(0x1ef)];}var Br=Ye['exports'],ni;function Ui(){var _0x35421a=_0x5a765f;return ni||(ni=0x1,function(_0x49ce94,_0x3af1f4){(function(_0x42f21f,_0x4ea4a7,_0x13b8cb){_0x49ce94['exports']=_0x4ea4a7(ne(),Hr(),jr());}(Br,function(_0x9f9372){var _0x22e2e1=_0x4e5c;return(function(){var _0xdec485=_0x4e5c,_0x244c89=_0x9f9372,_0x47c7e9=_0x244c89[_0xdec485(0x271)],_0x17b554=_0x47c7e9[_0xdec485(0x2f8)],_0x7bc175=_0x47c7e9[_0xdec485(0x2c8)],_0x3940a4=_0x244c89[_0xdec485(0x2af)],_0x1836d5=_0x3940a4['MD5'],_0x3c4778=_0x3940a4[_0xdec485(0x1ab)]=_0x17b554[_0xdec485(0x1d9)]({'cfg':_0x17b554[_0xdec485(0x1d9)]({'keySize':0x80/0x20,'hasher':_0x1836d5,'iterations':0x1}),'init':function(_0x3767f9){var _0x3bd6a7=_0xdec485;this[_0x3bd6a7(0x2cc)]=this[_0x3bd6a7(0x2cc)][_0x3bd6a7(0x1d9)](_0x3767f9);},'compute':function(_0x509d7b,_0x2f7db2){var _0x59060b=_0xdec485;for(var _0x3e0bf0,_0x322fa0=this[_0x59060b(0x2cc)],_0x2b23aa=_0x322fa0['hasher'][_0x59060b(0x1bf)](),_0x58692b=_0x7bc175['create'](),_0x2af312=_0x58692b[_0x59060b(0x357)],_0x5375e4=_0x322fa0['keySize'],_0x290c5d=_0x322fa0[_0x59060b(0x2d3)];_0x2af312[_0x59060b(0x218)]<_0x5375e4;){_0x3e0bf0&&_0x2b23aa[_0x59060b(0x35a)](_0x3e0bf0),_0x3e0bf0=_0x2b23aa[_0x59060b(0x35a)](_0x509d7b)[_0x59060b(0x41e)](_0x2f7db2),_0x2b23aa[_0x59060b(0x387)]();for(var _0x4a7eb5=0x1;_0x4a7eb5<_0x290c5d;_0x4a7eb5++)_0x3e0bf0=_0x2b23aa[_0x59060b(0x41e)](_0x3e0bf0),_0x2b23aa[_0x59060b(0x387)]();_0x58692b[_0x59060b(0x45b)](_0x3e0bf0);}return _0x58692b[_0x59060b(0x426)]=_0x5375e4*0x4,_0x58692b;}});_0x244c89[_0xdec485(0x1ab)]=function(_0x12b3a6,_0xdcc6dd,_0x58f691){var _0x32c823=_0xdec485;return _0x3c4778[_0x32c823(0x1bf)](_0x58f691)[_0x32c823(0x2f1)](_0x12b3a6,_0xdcc6dd);};}()),_0x9f9372[_0x22e2e1(0x1ab)];}));}(Ye)),Ye[_0x35421a(0x1ef)];}var Je={'exports':{}},Fr=Je['exports'],ri;function Ai(){return ri||(ri=0x1,function(_0x255391,_0x349584){(function(_0x1bf72f,_0x6e6800,_0x194e0a){var _0x32b134=_0x4e5c;_0x255391[_0x32b134(0x1ef)]=_0x6e6800(ne(),Ui());}(Fr,function(_0x5877de){var _0x342cb7=_0x4e5c;_0x5877de[_0x342cb7(0x271)][_0x342cb7(0x2b8)]||function(_0x30b8cc){var _0x1f783d=_0x342cb7,_0x1afc49=_0x5877de,_0x5ab9f1=_0x1afc49[_0x1f783d(0x271)],_0x1dc9fb=_0x5ab9f1[_0x1f783d(0x2f8)],_0x2c269f=_0x5ab9f1[_0x1f783d(0x2c8)],_0x2a96a8=_0x5ab9f1[_0x1f783d(0x21b)],_0x555a40=_0x1afc49[_0x1f783d(0x199)];_0x555a40[_0x1f783d(0x3c9)];var _0x30ca42=_0x555a40[_0x1f783d(0x34d)],_0x530081=_0x1afc49[_0x1f783d(0x2af)],_0x1e6c30=_0x530081[_0x1f783d(0x1ab)],_0x40a24a=_0x5ab9f1[_0x1f783d(0x2b8)]=_0x2a96a8[_0x1f783d(0x1d9)]({'cfg':_0x1dc9fb['extend'](),'createEncryptor':function(_0x2fb054,_0x12eac8){var _0x305c0d=_0x1f783d;return this[_0x305c0d(0x1bf)](this[_0x305c0d(0x260)],_0x2fb054,_0x12eac8);},'createDecryptor':function(_0x50d6d8,_0x5e2eaa){var _0x19a8e9=_0x1f783d;return this[_0x19a8e9(0x1bf)](this[_0x19a8e9(0x359)],_0x50d6d8,_0x5e2eaa);},'init':function(_0x286839,_0x31ecc2,_0x32bb01){var _0x2fa289=_0x1f783d;this['cfg']=this['cfg'][_0x2fa289(0x1d9)](_0x32bb01),this[_0x2fa289(0x31c)]=_0x286839,this[_0x2fa289(0x461)]=_0x31ecc2,this[_0x2fa289(0x387)]();},'reset':function(){var _0x2c6e14=_0x1f783d;_0x2a96a8[_0x2c6e14(0x387)][_0x2c6e14(0x3ae)](this),this['_doReset']();},'process':function(_0x367369){var _0x3785b6=_0x1f783d;return this[_0x3785b6(0x42d)](_0x367369),this[_0x3785b6(0x3b0)]();},'finalize':function(_0x2aecfb){var _0x148647=_0x1f783d;_0x2aecfb&&this[_0x148647(0x42d)](_0x2aecfb);var _0x30cead=this[_0x148647(0x2f3)]();return _0x30cead;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x49ac38(_0x2ac03){var _0x2134ef=_0x4e5c;return typeof _0x2ac03==_0x2134ef(0x18d)?_0xeb51c1:_0x165b03;}return function(_0x81103d){return{'encrypt':function(_0x4d2aba,_0x6621f6,_0x4d2910){var _0x3e290a=_0x4e5c;return _0x49ac38(_0x6621f6)[_0x3e290a(0x32f)](_0x81103d,_0x4d2aba,_0x6621f6,_0x4d2910);},'decrypt':function(_0x514aa4,_0x2802ee,_0x1e745f){return _0x49ac38(_0x2802ee)['decrypt'](_0x81103d,_0x514aa4,_0x2802ee,_0x1e745f);}};};}())});_0x5ab9f1[_0x1f783d(0x3be)]=_0x40a24a[_0x1f783d(0x1d9)]({'_doFinalize':function(){var _0x180dd0=_0x1f783d,_0x1a11a8=this[_0x180dd0(0x3b0)](!0x0);return _0x1a11a8;},'blockSize':0x1});var _0x2fd168=_0x1afc49[_0x1f783d(0x35f)]={},_0x2a55db=_0x5ab9f1[_0x1f783d(0x1c6)]=_0x1dc9fb[_0x1f783d(0x1d9)]({'createEncryptor':function(_0x40d8a8,_0x4d9c31){var _0x36dc04=_0x1f783d;return this[_0x36dc04(0x2ae)]['create'](_0x40d8a8,_0x4d9c31);},'createDecryptor':function(_0x2885d4,_0x3c0a7b){var _0x5aca91=_0x1f783d;return this[_0x5aca91(0x2f0)][_0x5aca91(0x1bf)](_0x2885d4,_0x3c0a7b);},'init':function(_0x3c86d5,_0x423820){var _0x41fbf9=_0x1f783d;this[_0x41fbf9(0x34a)]=_0x3c86d5,this[_0x41fbf9(0x460)]=_0x423820;}}),_0x4d1f64=_0x2fd168[_0x1f783d(0x236)]=(function(){var _0x75de82=_0x1f783d,_0x33ee0b=_0x2a55db[_0x75de82(0x1d9)]();_0x33ee0b['Encryptor']=_0x33ee0b['extend']({'processBlock':function(_0x28d35c,_0x58209a){var _0xc65a0e=_0x75de82,_0x357070=this[_0xc65a0e(0x34a)],_0x41aa28=_0x357070[_0xc65a0e(0x1ca)];_0x32b5a7[_0xc65a0e(0x3ae)](this,_0x28d35c,_0x58209a,_0x41aa28),_0x357070['encryptBlock'](_0x28d35c,_0x58209a),this[_0xc65a0e(0x35d)]=_0x28d35c[_0xc65a0e(0x27c)](_0x58209a,_0x58209a+_0x41aa28);}}),_0x33ee0b[_0x75de82(0x2f0)]=_0x33ee0b['extend']({'processBlock':function(_0x12c1fb,_0x458510){var _0x352cb7=_0x75de82,_0x2e327f=this['_cipher'],_0xe42d92=_0x2e327f[_0x352cb7(0x1ca)],_0x3b40bd=_0x12c1fb[_0x352cb7(0x27c)](_0x458510,_0x458510+_0xe42d92);_0x2e327f[_0x352cb7(0x2a9)](_0x12c1fb,_0x458510),_0x32b5a7[_0x352cb7(0x3ae)](this,_0x12c1fb,_0x458510,_0xe42d92),this[_0x352cb7(0x35d)]=_0x3b40bd;}});function _0x32b5a7(_0x46a7cc,_0x3fbef4,_0x99e3f){var _0x5c915b=_0x75de82,_0x1495be,_0x1a2106=this[_0x5c915b(0x460)];_0x1a2106?(_0x1495be=_0x1a2106,this[_0x5c915b(0x460)]=_0x30b8cc):_0x1495be=this[_0x5c915b(0x35d)];for(var _0x385373=0x0;_0x385373<_0x99e3f;_0x385373++)_0x46a7cc[_0x3fbef4+_0x385373]^=_0x1495be[_0x385373];}return _0x33ee0b;}()),_0x280b92=_0x1afc49['pad']={},_0x3b148f=_0x280b92[_0x1f783d(0x1fe)]={'pad':function(_0x5b0cac,_0x366e0d){var _0x16f647=_0x1f783d;for(var _0xde8b1a=_0x366e0d*0x4,_0x18cd82=_0xde8b1a-_0x5b0cac['sigBytes']%_0xde8b1a,_0x56a016=_0x18cd82<<0x18|_0x18cd82<<0x10|_0x18cd82<<0x8|_0x18cd82,_0x751d0a=[],_0x4336d8=0x0;_0x4336d8<_0x18cd82;_0x4336d8+=0x4)_0x751d0a[_0x16f647(0x2a7)](_0x56a016);var _0x361a74=_0x2c269f[_0x16f647(0x1bf)](_0x751d0a,_0x18cd82);_0x5b0cac[_0x16f647(0x45b)](_0x361a74);},'unpad':function(_0x5f0010){var _0x40c0d4=_0x1f783d,_0x3f54fc=_0x5f0010[_0x40c0d4(0x357)][_0x5f0010[_0x40c0d4(0x426)]-0x1>>>0x2]&0xff;_0x5f0010[_0x40c0d4(0x426)]-=_0x3f54fc;}};_0x5ab9f1[_0x1f783d(0x238)]=_0x40a24a[_0x1f783d(0x1d9)]({'cfg':_0x40a24a[_0x1f783d(0x2cc)][_0x1f783d(0x1d9)]({'mode':_0x4d1f64,'padding':_0x3b148f}),'reset':function(){var _0x3203bf=_0x1f783d,_0x20b31a;_0x40a24a['reset'][_0x3203bf(0x3ae)](this);var _0x47ccd3=this[_0x3203bf(0x2cc)],_0x432e2a=_0x47ccd3['iv'],_0x5676b4=_0x47ccd3[_0x3203bf(0x35f)];this['_xformMode']==this[_0x3203bf(0x260)]?_0x20b31a=_0x5676b4['createEncryptor']:(_0x20b31a=_0x5676b4[_0x3203bf(0x458)],this[_0x3203bf(0x229)]=0x1),this['_mode']&&this[_0x3203bf(0x430)][_0x3203bf(0x3e5)]==_0x20b31a?this['_mode'][_0x3203bf(0x304)](this,_0x432e2a&&_0x432e2a[_0x3203bf(0x357)]):(this['_mode']=_0x20b31a['call'](_0x5676b4,this,_0x432e2a&&_0x432e2a[_0x3203bf(0x357)]),this[_0x3203bf(0x430)][_0x3203bf(0x3e5)]=_0x20b31a);},'_doProcessBlock':function(_0x3d46ae,_0x20108e){var _0x359916=_0x1f783d;this['_mode'][_0x359916(0x251)](_0x3d46ae,_0x20108e);},'_doFinalize':function(){var _0x1bef32=_0x1f783d,_0x326250,_0x1d048d=this[_0x1bef32(0x2cc)][_0x1bef32(0x221)];return this[_0x1bef32(0x31c)]==this['_ENC_XFORM_MODE']?(_0x1d048d['pad'](this['_data'],this['blockSize']),_0x326250=this['_process'](!0x0)):(_0x326250=this[_0x1bef32(0x3b0)](!0x0),_0x1d048d[_0x1bef32(0x1df)](_0x326250)),_0x326250;},'blockSize':0x80/0x20});var _0xdcc515=_0x5ab9f1['CipherParams']=_0x1dc9fb[_0x1f783d(0x1d9)]({'init':function(_0x48ee2d){var _0x3d28b3=_0x1f783d;this[_0x3d28b3(0x2fd)](_0x48ee2d);},'toString':function(_0x1e5746){var _0x5ddca4=_0x1f783d;return(_0x1e5746||this['formatter'])[_0x5ddca4(0x45e)](this);}}),_0x3fc1a5=_0x1afc49[_0x1f783d(0x41d)]={},_0x2b3457=_0x3fc1a5[_0x1f783d(0x2d9)]={'stringify':function(_0x4335a2){var _0x403269=_0x1f783d,_0x1904d8,_0x4ae6a4=_0x4335a2[_0x403269(0x290)],_0x2fc726=_0x4335a2[_0x403269(0x225)];return _0x2fc726?_0x1904d8=_0x2c269f[_0x403269(0x1bf)]([0x53616c74,0x65645f5f])[_0x403269(0x45b)](_0x2fc726)[_0x403269(0x45b)](_0x4ae6a4):_0x1904d8=_0x4ae6a4,_0x1904d8['toString'](_0x30ca42);},'parse':function(_0x37a744){var _0x4011f0=_0x1f783d,_0x5a3b0b,_0x253129=_0x30ca42[_0x4011f0(0x3ac)](_0x37a744),_0x8010c1=_0x253129[_0x4011f0(0x357)];return _0x8010c1[0x0]==0x53616c74&&_0x8010c1[0x1]==0x65645f5f&&(_0x5a3b0b=_0x2c269f['create'](_0x8010c1['slice'](0x2,0x4)),_0x8010c1[_0x4011f0(0x1c4)](0x0,0x4),_0x253129[_0x4011f0(0x426)]-=0x10),_0xdcc515[_0x4011f0(0x1bf)]({'ciphertext':_0x253129,'salt':_0x5a3b0b});}},_0x165b03=_0x5ab9f1['SerializableCipher']=_0x1dc9fb[_0x1f783d(0x1d9)]({'cfg':_0x1dc9fb['extend']({'format':_0x2b3457}),'encrypt':function(_0x569145,_0x2a325a,_0x3c045b,_0x553b51){var _0x46045f=_0x1f783d;_0x553b51=this[_0x46045f(0x2cc)]['extend'](_0x553b51);var _0x34740e=_0x569145[_0x46045f(0x264)](_0x3c045b,_0x553b51),_0x525b7f=_0x34740e[_0x46045f(0x41e)](_0x2a325a),_0x5d3f2b=_0x34740e[_0x46045f(0x2cc)];return _0xdcc515['create']({'ciphertext':_0x525b7f,'key':_0x3c045b,'iv':_0x5d3f2b['iv'],'algorithm':_0x569145,'mode':_0x5d3f2b[_0x46045f(0x35f)],'padding':_0x5d3f2b['padding'],'blockSize':_0x569145[_0x46045f(0x1ca)],'formatter':_0x553b51[_0x46045f(0x41d)]});},'decrypt':function(_0x18aea8,_0x1dc140,_0x83970f,_0x111d6d){var _0x5c10a3=_0x1f783d;_0x111d6d=this[_0x5c10a3(0x2cc)][_0x5c10a3(0x1d9)](_0x111d6d),_0x1dc140=this['_parse'](_0x1dc140,_0x111d6d[_0x5c10a3(0x41d)]);var _0x3e646a=_0x18aea8[_0x5c10a3(0x458)](_0x83970f,_0x111d6d)[_0x5c10a3(0x41e)](_0x1dc140[_0x5c10a3(0x290)]);return _0x3e646a;},'_parse':function(_0x57564a,_0x32f3a3){var _0xdc8e50=_0x1f783d;return typeof _0x57564a=='string'?_0x32f3a3[_0xdc8e50(0x3ac)](_0x57564a,this):_0x57564a;}}),_0x368e6b=_0x1afc49[_0x1f783d(0x392)]={},_0x4bef8a=_0x368e6b[_0x1f783d(0x2d9)]={'execute':function(_0x21b368,_0x44c938,_0x3e72ed,_0x2cea98,_0x476a78){var _0x17bdb6=_0x1f783d;if(_0x2cea98||(_0x2cea98=_0x2c269f[_0x17bdb6(0x179)](0x40/0x8)),_0x476a78)var _0x270338=_0x1e6c30[_0x17bdb6(0x1bf)]({'keySize':_0x44c938+_0x3e72ed,'hasher':_0x476a78})[_0x17bdb6(0x2f1)](_0x21b368,_0x2cea98);else var _0x270338=_0x1e6c30[_0x17bdb6(0x1bf)]({'keySize':_0x44c938+_0x3e72ed})['compute'](_0x21b368,_0x2cea98);var _0x3d44ef=_0x2c269f[_0x17bdb6(0x1bf)](_0x270338['words'][_0x17bdb6(0x27c)](_0x44c938),_0x3e72ed*0x4);return _0x270338[_0x17bdb6(0x426)]=_0x44c938*0x4,_0xdcc515[_0x17bdb6(0x1bf)]({'key':_0x270338,'iv':_0x3d44ef,'salt':_0x2cea98});}},_0xeb51c1=_0x5ab9f1[_0x1f783d(0x2a8)]=_0x165b03[_0x1f783d(0x1d9)]({'cfg':_0x165b03[_0x1f783d(0x2cc)][_0x1f783d(0x1d9)]({'kdf':_0x4bef8a}),'encrypt':function(_0x2df67f,_0x1fb875,_0x5056f7,_0x20b10c){var _0x558bfb=_0x1f783d;_0x20b10c=this[_0x558bfb(0x2cc)]['extend'](_0x20b10c);var _0x3ac509=_0x20b10c[_0x558bfb(0x392)][_0x558bfb(0x331)](_0x5056f7,_0x2df67f['keySize'],_0x2df67f[_0x558bfb(0x1e7)],_0x20b10c[_0x558bfb(0x225)],_0x20b10c[_0x558bfb(0x1bc)]);_0x20b10c['iv']=_0x3ac509['iv'];var _0x362fe3=_0x165b03[_0x558bfb(0x32f)][_0x558bfb(0x3ae)](this,_0x2df67f,_0x1fb875,_0x3ac509[_0x558bfb(0x1e8)],_0x20b10c);return _0x362fe3[_0x558bfb(0x2fd)](_0x3ac509),_0x362fe3;},'decrypt':function(_0x1e2859,_0xe9d628,_0x5b59cc,_0x5d6e61){var _0x51f6c7=_0x1f783d;_0x5d6e61=this[_0x51f6c7(0x2cc)]['extend'](_0x5d6e61),_0xe9d628=this['_parse'](_0xe9d628,_0x5d6e61[_0x51f6c7(0x41d)]);var _0x34ced3=_0x5d6e61[_0x51f6c7(0x392)][_0x51f6c7(0x331)](_0x5b59cc,_0x1e2859['keySize'],_0x1e2859[_0x51f6c7(0x1e7)],_0xe9d628['salt'],_0x5d6e61[_0x51f6c7(0x1bc)]);_0x5d6e61['iv']=_0x34ced3['iv'];var _0x54f14c=_0x165b03[_0x51f6c7(0x1e9)]['call'](this,_0x1e2859,_0xe9d628,_0x34ced3[_0x51f6c7(0x1e8)],_0x5d6e61);return _0x54f14c;}});}();}));}(Je)),Je['exports'];}var Vr=Ve[_0x5a765f(0x1ef)],si;function Gr(){var _0x5a50ad=_0x5a765f;return si||(si=0x1,function(_0x458248,_0x270d2a){(function(_0x405b9d,_0x18f7a4,_0x23f21){var _0x39f739=_0x4e5c;_0x458248[_0x39f739(0x1ef)]=_0x18f7a4(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x402923){var _0x40dd75=_0x4e5c;return(function(){var _0x3cad97=_0x4e5c,_0x5d81e3=_0x402923,_0x37f6dc=_0x5d81e3[_0x3cad97(0x271)],_0x26fc7e=_0x37f6dc[_0x3cad97(0x238)],_0x39b60c=_0x5d81e3[_0x3cad97(0x2af)],_0x16ea1f=[],_0x3028ff=[],_0x5d101b=[],_0x5505c8=[],_0x2a7890=[],_0x32d5a5=[],_0x172343=[],_0x54436d=[],_0x942abe=[],_0x381d44=[];(function(){for(var _0x49fd02=[],_0x3afbc5=0x0;_0x3afbc5<0x100;_0x3afbc5++)_0x3afbc5<0x80?_0x49fd02[_0x3afbc5]=_0x3afbc5<<0x1:_0x49fd02[_0x3afbc5]=_0x3afbc5<<0x1^0x11b;for(var _0x3733a6=0x0,_0xfb2813=0x0,_0x3afbc5=0x0;_0x3afbc5<0x100;_0x3afbc5++){var _0x560acc=_0xfb2813^_0xfb2813<<0x1^_0xfb2813<<0x2^_0xfb2813<<0x3^_0xfb2813<<0x4;_0x560acc=_0x560acc>>>0x8^_0x560acc&0xff^0x63,_0x16ea1f[_0x3733a6]=_0x560acc,_0x3028ff[_0x560acc]=_0x3733a6;var _0xc25485=_0x49fd02[_0x3733a6],_0x1e6be2=_0x49fd02[_0xc25485],_0x5150eb=_0x49fd02[_0x1e6be2],_0x419a41=_0x49fd02[_0x560acc]*0x101^_0x560acc*0x1010100;_0x5d101b[_0x3733a6]=_0x419a41<<0x18|_0x419a41>>>0x8,_0x5505c8[_0x3733a6]=_0x419a41<<0x10|_0x419a41>>>0x10,_0x2a7890[_0x3733a6]=_0x419a41<<0x8|_0x419a41>>>0x18,_0x32d5a5[_0x3733a6]=_0x419a41;var _0x419a41=_0x5150eb*0x1010101^_0x1e6be2*0x10001^_0xc25485*0x101^_0x3733a6*0x1010100;_0x172343[_0x560acc]=_0x419a41<<0x18|_0x419a41>>>0x8,_0x54436d[_0x560acc]=_0x419a41<<0x10|_0x419a41>>>0x10,_0x942abe[_0x560acc]=_0x419a41<<0x8|_0x419a41>>>0x18,_0x381d44[_0x560acc]=_0x419a41,_0x3733a6?(_0x3733a6=_0xc25485^_0x49fd02[_0x49fd02[_0x49fd02[_0x5150eb^_0xc25485]]],_0xfb2813^=_0x49fd02[_0x49fd02[_0xfb2813]]):_0x3733a6=_0xfb2813=0x1;}}());var _0xa4da98=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1d6cfd=_0x39b60c[_0x3cad97(0x3ad)]=_0x26fc7e[_0x3cad97(0x1d9)]({'_doReset':function(){var _0x4edf99=_0x3cad97,_0x3ce6a2;if(!(this[_0x4edf99(0x240)]&&this[_0x4edf99(0x321)]===this[_0x4edf99(0x461)])){for(var _0x707d65=this['_keyPriorReset']=this['_key'],_0x3d3da2=_0x707d65[_0x4edf99(0x357)],_0x4724cc=_0x707d65['sigBytes']/0x4,_0x113426=this[_0x4edf99(0x240)]=_0x4724cc+0x6,_0x2ed9a1=(_0x113426+0x1)*0x4,_0x24f2c8=this[_0x4edf99(0x3f0)]=[],_0x38c3cf=0x0;_0x38c3cf<_0x2ed9a1;_0x38c3cf++)_0x38c3cf<_0x4724cc?_0x24f2c8[_0x38c3cf]=_0x3d3da2[_0x38c3cf]:(_0x3ce6a2=_0x24f2c8[_0x38c3cf-0x1],_0x38c3cf%_0x4724cc?_0x4724cc>0x6&&_0x38c3cf%_0x4724cc==0x4&&(_0x3ce6a2=_0x16ea1f[_0x3ce6a2>>>0x18]<<0x18|_0x16ea1f[_0x3ce6a2>>>0x10&0xff]<<0x10|_0x16ea1f[_0x3ce6a2>>>0x8&0xff]<<0x8|_0x16ea1f[_0x3ce6a2&0xff]):(_0x3ce6a2=_0x3ce6a2<<0x8|_0x3ce6a2>>>0x18,_0x3ce6a2=_0x16ea1f[_0x3ce6a2>>>0x18]<<0x18|_0x16ea1f[_0x3ce6a2>>>0x10&0xff]<<0x10|_0x16ea1f[_0x3ce6a2>>>0x8&0xff]<<0x8|_0x16ea1f[_0x3ce6a2&0xff],_0x3ce6a2^=_0xa4da98[_0x38c3cf/_0x4724cc|0x0]<<0x18),_0x24f2c8[_0x38c3cf]=_0x24f2c8[_0x38c3cf-_0x4724cc]^_0x3ce6a2);for(var _0x12048c=this['_invKeySchedule']=[],_0x5d8255=0x0;_0x5d8255<_0x2ed9a1;_0x5d8255++){var _0x38c3cf=_0x2ed9a1-_0x5d8255;if(_0x5d8255%0x4)var _0x3ce6a2=_0x24f2c8[_0x38c3cf];else var _0x3ce6a2=_0x24f2c8[_0x38c3cf-0x4];_0x5d8255<0x4||_0x38c3cf<=0x4?_0x12048c[_0x5d8255]=_0x3ce6a2:_0x12048c[_0x5d8255]=_0x172343[_0x16ea1f[_0x3ce6a2>>>0x18]]^_0x54436d[_0x16ea1f[_0x3ce6a2>>>0x10&0xff]]^_0x942abe[_0x16ea1f[_0x3ce6a2>>>0x8&0xff]]^_0x381d44[_0x16ea1f[_0x3ce6a2&0xff]];}}},'encryptBlock':function(_0x4e2517,_0x40f54e){var _0x596706=_0x3cad97;this[_0x596706(0x1e6)](_0x4e2517,_0x40f54e,this[_0x596706(0x3f0)],_0x5d101b,_0x5505c8,_0x2a7890,_0x32d5a5,_0x16ea1f);},'decryptBlock':function(_0x52fe39,_0x109844){var _0x21cc93=_0x3cad97,_0x48b411=_0x52fe39[_0x109844+0x1];_0x52fe39[_0x109844+0x1]=_0x52fe39[_0x109844+0x3],_0x52fe39[_0x109844+0x3]=_0x48b411,this[_0x21cc93(0x1e6)](_0x52fe39,_0x109844,this[_0x21cc93(0x306)],_0x172343,_0x54436d,_0x942abe,_0x381d44,_0x3028ff);var _0x48b411=_0x52fe39[_0x109844+0x1];_0x52fe39[_0x109844+0x1]=_0x52fe39[_0x109844+0x3],_0x52fe39[_0x109844+0x3]=_0x48b411;},'_doCryptBlock':function(_0x5945f7,_0xb485cc,_0x4bf777,_0x6a1501,_0x13c433,_0x55bc39,_0x325095,_0x4d3e8a){var _0x1f0bc8=_0x3cad97;for(var _0x134c9f=this[_0x1f0bc8(0x240)],_0x13d255=_0x5945f7[_0xb485cc]^_0x4bf777[0x0],_0x45d9c4=_0x5945f7[_0xb485cc+0x1]^_0x4bf777[0x1],_0xd64d70=_0x5945f7[_0xb485cc+0x2]^_0x4bf777[0x2],_0x29d1a1=_0x5945f7[_0xb485cc+0x3]^_0x4bf777[0x3],_0x481b47=0x4,_0x10a679=0x1;_0x10a679<_0x134c9f;_0x10a679++){var _0x12e46d=_0x6a1501[_0x13d255>>>0x18]^_0x13c433[_0x45d9c4>>>0x10&0xff]^_0x55bc39[_0xd64d70>>>0x8&0xff]^_0x325095[_0x29d1a1&0xff]^_0x4bf777[_0x481b47++],_0x4fb573=_0x6a1501[_0x45d9c4>>>0x18]^_0x13c433[_0xd64d70>>>0x10&0xff]^_0x55bc39[_0x29d1a1>>>0x8&0xff]^_0x325095[_0x13d255&0xff]^_0x4bf777[_0x481b47++],_0x121178=_0x6a1501[_0xd64d70>>>0x18]^_0x13c433[_0x29d1a1>>>0x10&0xff]^_0x55bc39[_0x13d255>>>0x8&0xff]^_0x325095[_0x45d9c4&0xff]^_0x4bf777[_0x481b47++],_0x27a066=_0x6a1501[_0x29d1a1>>>0x18]^_0x13c433[_0x13d255>>>0x10&0xff]^_0x55bc39[_0x45d9c4>>>0x8&0xff]^_0x325095[_0xd64d70&0xff]^_0x4bf777[_0x481b47++];_0x13d255=_0x12e46d,_0x45d9c4=_0x4fb573,_0xd64d70=_0x121178,_0x29d1a1=_0x27a066;}var _0x12e46d=(_0x4d3e8a[_0x13d255>>>0x18]<<0x18|_0x4d3e8a[_0x45d9c4>>>0x10&0xff]<<0x10|_0x4d3e8a[_0xd64d70>>>0x8&0xff]<<0x8|_0x4d3e8a[_0x29d1a1&0xff])^_0x4bf777[_0x481b47++],_0x4fb573=(_0x4d3e8a[_0x45d9c4>>>0x18]<<0x18|_0x4d3e8a[_0xd64d70>>>0x10&0xff]<<0x10|_0x4d3e8a[_0x29d1a1>>>0x8&0xff]<<0x8|_0x4d3e8a[_0x13d255&0xff])^_0x4bf777[_0x481b47++],_0x121178=(_0x4d3e8a[_0xd64d70>>>0x18]<<0x18|_0x4d3e8a[_0x29d1a1>>>0x10&0xff]<<0x10|_0x4d3e8a[_0x13d255>>>0x8&0xff]<<0x8|_0x4d3e8a[_0x45d9c4&0xff])^_0x4bf777[_0x481b47++],_0x27a066=(_0x4d3e8a[_0x29d1a1>>>0x18]<<0x18|_0x4d3e8a[_0x13d255>>>0x10&0xff]<<0x10|_0x4d3e8a[_0x45d9c4>>>0x8&0xff]<<0x8|_0x4d3e8a[_0xd64d70&0xff])^_0x4bf777[_0x481b47++];_0x5945f7[_0xb485cc]=_0x12e46d,_0x5945f7[_0xb485cc+0x1]=_0x4fb573,_0x5945f7[_0xb485cc+0x2]=_0x121178,_0x5945f7[_0xb485cc+0x3]=_0x27a066;},'keySize':0x100/0x20});_0x5d81e3[_0x3cad97(0x3ad)]=_0x26fc7e[_0x3cad97(0x40a)](_0x1d6cfd);}()),_0x402923[_0x40dd75(0x3ad)];}));}(Ve)),Ve[_0x5a50ad(0x1ef)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x5a765f(0x1ef)],ai;function zr(){var _0x56c151=_0x5a765f;return ai||(ai=0x1,function(_0xd0c42b,_0x136a34){(function(_0x393912,_0x3237a3){_0xd0c42b['exports']=_0x3237a3(ne());}(qr,function(_0x2231f9){var _0xbb8840=_0x4e5c;return _0x2231f9[_0xbb8840(0x199)][_0xbb8840(0x3c9)];}));}(Xe)),Xe[_0x56c151(0x1ef)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x5a765f(0x1ef)],ci;function Qr(){var _0x171980=_0x5a765f;return ci||(ci=0x1,function(_0x4c4340,_0x347cdd){(function(_0x13ce7d,_0x565eff){var _0x58a78d=_0x4e5c;_0x4c4340[_0x58a78d(0x1ef)]=_0x565eff(ne());}(Zr,function(_0xf4e2d6){var _0x25c567=_0x4e5c;return(function(){var _0x47d135=_0x4e5c;if(typeof ArrayBuffer==_0x47d135(0x1d8)){var _0x4031de=_0xf4e2d6,_0x33363f=_0x4031de[_0x47d135(0x271)],_0x4c3e71=_0x33363f[_0x47d135(0x2c8)],_0x55b0b5=_0x4c3e71['init'],_0x309d28=_0x4c3e71[_0x47d135(0x304)]=function(_0x50c3c0){var _0x47a8a5=_0x47d135;if(_0x50c3c0 instanceof ArrayBuffer&&(_0x50c3c0=new Uint8Array(_0x50c3c0)),(_0x50c3c0 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x50c3c0 instanceof Uint8ClampedArray||_0x50c3c0 instanceof Int16Array||_0x50c3c0 instanceof Uint16Array||_0x50c3c0 instanceof Int32Array||_0x50c3c0 instanceof Uint32Array||_0x50c3c0 instanceof Float32Array||_0x50c3c0 instanceof Float64Array)&&(_0x50c3c0=new Uint8Array(_0x50c3c0[_0x47a8a5(0x35c)],_0x50c3c0[_0x47a8a5(0x1fd)],_0x50c3c0[_0x47a8a5(0x335)])),_0x50c3c0 instanceof Uint8Array){for(var _0x4225c7=_0x50c3c0[_0x47a8a5(0x335)],_0x4e065d=[],_0x3ae427=0x0;_0x3ae427<_0x4225c7;_0x3ae427++)_0x4e065d[_0x3ae427>>>0x2]|=_0x50c3c0[_0x3ae427]<<0x18-_0x3ae427%0x4*0x8;_0x55b0b5['call'](this,_0x4e065d,_0x4225c7);}else _0x55b0b5['apply'](this,arguments);};_0x309d28[_0x47d135(0x366)]=_0x4c3e71;}}()),_0xf4e2d6[_0x25c567(0x271)]['WordArray'];}));}(Ze)),Ze[_0x171980(0x1ef)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){var _0x10470b=_0x5a765f;return hi||(hi=0x1,function(_0x59dcf1,_0xd92800){(function(_0x511df6,_0x2bc378,_0xde5a83){_0x59dcf1['exports']=_0x2bc378(ne(),Ai());}(is,function(_0x3def94){var _0x5007fa=_0x4e5c;return _0x3def94[_0x5007fa(0x44f)][_0x5007fa(0x193)]={'pad':function(){},'unpad':function(){}},_0x3def94[_0x5007fa(0x44f)][_0x5007fa(0x193)];}));}(Qe)),Qe[_0x10470b(0x1ef)];}var rs=ns();const ss=ke(rs);function os(_0x471abe,_0x556023){var _0x1062a1=_0x5a765f;const _0x27c6e3=_0x556023-_0x471abe[_0x1062a1(0x218)]%_0x556023,_0x2d84e6=String[_0x1062a1(0x3c3)](_0x27c6e3)[_0x1062a1(0x1dd)](_0x27c6e3);return _0x471abe+_0x2d84e6;}function as(_0x13ea8e,_0x4965f0){var _0x5d6434=_0x5a765f;const _0x21beb5=ts[_0x5d6434(0x179)](0x10),_0x56cf84=os(_0x13ea8e,0x10),_0x4c945b=Kr[_0x5d6434(0x32f)](Xr[_0x5d6434(0x3ac)](_0x56cf84),oi[_0x5d6434(0x3ac)](_0x4965f0),{'iv':_0x21beb5,'padding':ss});return _0x21beb5[_0x5d6434(0x45b)](_0x4c945b['ciphertext'])['toString'](oi);}function cs(){var _0x4d0349=_0x5a765f;const _0x390ddf=_0x17b6c5()['__Key__'];if(_0x390ddf){const _0x44a9d0={'time':Math[_0x4d0349(0x329)](Date[_0x4d0349(0x289)]()/0x3e8),'domain':location[_0x4d0349(0x222)]};return as(JSON['stringify'](_0x44a9d0),_0x390ddf);}}var hs=Object[_0x5a765f(0x3d3)],_s=Object[_0x5a765f(0x21d)],ls=(_0x3184c3,_0x385cb4,_0x455b08,_0x5caddb)=>{var _0x3bb887=_0x5a765f;for(var _0xd35d9b=_0x5caddb>0x1?void 0x0:_0x5caddb?_s(_0x385cb4,_0x455b08):_0x385cb4,_0x1bfda8=_0x3184c3[_0x3bb887(0x218)]-0x1,_0xf012c6;_0x1bfda8>=0x0;_0x1bfda8--)(_0xf012c6=_0x3184c3[_0x1bfda8])&&(_0xd35d9b=(_0x5caddb?_0xf012c6(_0x385cb4,_0x455b08,_0xd35d9b):_0xf012c6(_0xd35d9b))||_0xd35d9b);return _0x5caddb&&_0xd35d9b&&hs(_0x385cb4,_0x455b08,_0xd35d9b),_0xd35d9b;},us=(_0x37b01f,_0xcae3af)=>(_0x199110,_0x1973da)=>_0xcae3af(_0x199110,_0x1973da,_0x37b01f);let ot=class{constructor(_0x1e340a){var _0xc42ed=_0x5a765f;this[_0xc42ed(0x405)]=_0x1e340a,this[_0xc42ed(0x438)]();}[_0x5a765f(0x438)](){var _0x54edf3=_0x5a765f;this['_httpService'][_0x54edf3(0x1e3)]({'interceptor':(_0x1cbe31,_0x574a7e)=>{var _0x50343f=_0x54edf3;const _0x27f7ce=_0x1cbe31['headers'],_0x1b1bbb=cs();return _0x1b1bbb&&_0x27f7ce[_0x50343f(0x375)](_0x50343f(0x397),_0x1b1bbb),_0x574a7e(_0x1cbe31);}});}};ot=ls([us(0x0,_0x1935ed(_0xf9517d))],ot);var ds=Object[_0x5a765f(0x3d3)],fs=Object[_0x5a765f(0x21d)],vs=(_0x4c4864,_0x1d68e9,_0x50a9de,_0x1140d8)=>{var _0x4c074c=_0x5a765f;for(var _0x5a96db=_0x1140d8>0x1?void 0x0:_0x1140d8?fs(_0x1d68e9,_0x50a9de):_0x1d68e9,_0x2ab349=_0x4c4864[_0x4c074c(0x218)]-0x1,_0xa6e8cf;_0x2ab349>=0x0;_0x2ab349--)(_0xa6e8cf=_0x4c4864[_0x2ab349])&&(_0x5a96db=(_0x1140d8?_0xa6e8cf(_0x1d68e9,_0x50a9de,_0x5a96db):_0xa6e8cf(_0x5a96db))||_0x5a96db);return _0x1140d8&&_0x5a96db&&ds(_0x1d68e9,_0x50a9de,_0x5a96db),_0x5a96db;},mt=(_0x330f5c,_0x51a345)=>(_0x404e79,_0x34cbce)=>_0x51a345(_0x404e79,_0x34cbce,_0x330f5c);let Ot=class extends _0x81dda6{constructor(_0x29e0d4,_0x4b8c31,_0x3e0f67){var _0x235c68=_0x5a765f;super(),N(this,_0x235c68(0x343),new _0xbddaed(null)),N(this,_0x235c68(0x170),this[_0x235c68(0x343)][_0x235c68(0x3fc)]()),(this[_0x235c68(0x1a1)]=_0x29e0d4,this['_snapshotService']=_0x4b8c31,this['_localCacheService']=_0x3e0f67);}async['loadUnit'](_0x5eab45,_0x35787c,_0x37a92c){var _0x2ffd34=_0x5a765f;this[_0x2ffd34(0x343)][_0x2ffd34(0x36a)]({'unitId':_0x5eab45,'type':_0x35787c,'subUnitId':_0x37a92c});let _0x21c63f=null;switch(_0x35787c){case Q['UNIVER_SHEET']:{_0x21c63f=await this[_0x2ffd34(0x272)](_0x5eab45);break;}case Q[_0x2ffd34(0x2f4)]:{_0x21c63f=await this[_0x2ffd34(0x247)](_0x5eab45);break;}default:{this[_0x2ffd34(0x1a1)][_0x2ffd34(0x344)](_0x2ffd34(0x3bb),_0x2ffd34(0x1a4));break;}}return _0x21c63f;}async[_0x5a765f(0x272)](_0x1cef4c){var _0x548d11=_0x5a765f,_0x41b56c;let _0x13258e=0x0;const _0x24244e=await((_0x41b56c=this[_0x548d11(0x286)])==null?void 0x0:_0x41b56c['loadOfflineData'](_0x1cef4c));return _0x24244e&&(_0x24244e[_0x548d11(0x3cd)]||_0x24244e['mutations']['length']!==0x0)&&(_0x13258e=_0x24244e[_0x548d11(0x3bc)]),_0x13258e===0x0&&this[_0x548d11(0x1a1)][_0x548d11(0x3e7)](_0x548d11(0x3bb),_0x548d11(0x266)),this['_snapshotService'][_0x548d11(0x3e6)](_0x1cef4c,_0x13258e);}async['_loadDoc'](_0x3678aa){var _0x48bd40=_0x5a765f,_0x2047f5;let _0x456500=0x0;const _0x3f4b2d=await((_0x2047f5=this['_localCacheService'])==null?void 0x0:_0x2047f5[_0x48bd40(0x396)](_0x3678aa));return _0x3f4b2d&&(_0x3f4b2d['awaitingChangeset']||_0x3f4b2d[_0x48bd40(0x3c4)][_0x48bd40(0x218)]!==0x0)&&(_0x456500=_0x3f4b2d[_0x48bd40(0x3bc)]),_0x456500===0x0&&this[_0x48bd40(0x1a1)][_0x48bd40(0x3e7)]('[DataLoaderService]',_0x48bd40(0x266)),this['_snapshotService'][_0x48bd40(0x28f)](_0x3678aa,_0x456500);}};Ot=vs([mt(0x0,_0x5be494),mt(0x1,_0x1935ed(_0x3df7a2)),mt(0x2,_0x35bd38(J))],Ot);var ps=Object['defineProperty'],ms=Object[_0x5a765f(0x21d)],gs=(_0x7c0902,_0x342f8c,_0x279da7,_0x4161a7)=>{for(var _0x2e3381=_0x4161a7>0x1?void 0x0:_0x4161a7?ms(_0x342f8c,_0x279da7):_0x342f8c,_0xc639b6=_0x7c0902['length']-0x1,_0xdb131d;_0xc639b6>=0x0;_0xc639b6--)(_0xdb131d=_0x7c0902[_0xc639b6])&&(_0x2e3381=(_0x4161a7?_0xdb131d(_0x342f8c,_0x279da7,_0x2e3381):_0xdb131d(_0x2e3381))||_0x2e3381);return _0x4161a7&&_0x2e3381&&ps(_0x342f8c,_0x279da7,_0x2e3381),_0x2e3381;},gt=(_0x34d30b,_0xa302bd)=>(_0x1a3c7f,_0x5d9882)=>_0xa302bd(_0x1a3c7f,_0x5d9882,_0x34d30b);const Ss=['image/png',_0x5a765f(0x19c),_0x5a765f(0x371),_0x5a765f(0x358),'image/bmp'],Es=0x5*0x400*0x400,Is=_0x5a765f(0x210),Ts=_0x5a765f(0x3d6),Cs=_0x5a765f(0x45f),bs=_0x5a765f(0x19a);let yt=class{constructor(_0x51e342,_0x1e2093,_0x3b889e){var _0x1b1703=_0x5a765f;N(this,'_waitCount',0x0),N(this,'_change$',new _0x55ef18()),N(this,_0x1b1703(0x3c8),this['_change$']),N(this,_0x1b1703(0x425),new Map()),(this[_0x1b1703(0x405)]=_0x51e342,this[_0x1b1703(0x43e)]=_0x1e2093,this[_0x1b1703(0x19f)]=_0x3b889e);}[_0x5a765f(0x23e)](_0x73b3a8){var _0x1bc451=_0x5a765f;this[_0x1bc451(0x2e7)]=_0x73b3a8,this['_change$'][_0x1bc451(0x36a)](_0x73b3a8);}[_0x5a765f(0x256)](_0x55baa7,_0xb01185){var _0x468bd9=_0x5a765f;if(_0xb01185===_0x4e86f2['BASE64']){const _0x461d65=new Image();return _0x461d65[_0x468bd9(0x2e1)]=_0x55baa7,_0x461d65;}return this[_0x468bd9(0x425)][_0x468bd9(0x3a4)](_0x55baa7);}['addImageSourceCache'](_0x36eeca,_0x49c3bc,_0x1389ec){var _0x5f11a6=_0x5a765f;_0x49c3bc===_0x4e86f2['BASE64']||_0x1389ec==null||this[_0x5f11a6(0x425)]['set'](_0x36eeca,_0x1389ec);}async['getImage'](_0x36a9ae){var _0x300247=_0x5a765f;try{const _0x15027a=this[_0x300247(0x2cb)](this[_0x300247(0x22f)](),''+_0x36a9ae),_0x5561ae=(await this[_0x300247(0x405)][_0x300247(0x3a4)](_0x15027a))['body'];if(_0x5561ae[_0x300247(0x344)]&&_0x5561ae[_0x300247(0x344)][_0x300247(0x175)]===Ii['OK']){const _0x4f129d=new URL(_0x5561ae[_0x300247(0x446)],this[_0x300247(0x194)]())['toString']();return Promise[_0x300247(0x24a)](_0x4f129d);}return Promise['reject'](_0x5561ae[_0x300247(0x344)]);}catch(_0x169c56){return Promise[_0x300247(0x18e)](_0x169c56);}}async[_0x5a765f(0x341)](_0x629643){var _0x1319bb=_0x5a765f;let _0x5b8013='';if(!Ss[_0x1319bb(0x455)](_0x629643[_0x1319bb(0x3eb)]))return this['_decreaseWaiting'](),Promise[_0x1319bb(0x18e)](new Error(_0x528e74['ERROR_IMAGE_TYPE']));if(_0x629643[_0x1319bb(0x334)]>Es)return this[_0x1319bb(0x448)](),Promise[_0x1319bb(0x18e)](new Error(_0x528e74[_0x1319bb(0x26c)]));try{const _0x4dfd70=new FormData();_0x4dfd70[_0x1319bb(0x21a)](_0x1319bb(0x241),_0x629643);const _0x96c941=this[_0x1319bb(0x19f)]['getFocusedUnit'](),_0x4644e8=_0x96c941==null?void 0x0:_0x96c941[_0x1319bb(0x1ad)]();if(!_0x4644e8)throw new Error(_0x1319bb(0x21c));const _0x31d27f=this[_0x1319bb(0x1c0)]()+'?size='+_0x629643[_0x1319bb(0x334)][_0x1319bb(0x416)]()+_0x1319bb(0x384)+Ti[_0x1319bb(0x252)]+_0x1319bb(0x456)+encodeURIComponent(_0x4644e8),_0x264677=await(await fetch(_0x31d27f,{'method':_0x1319bb(0x296),'body':_0x4dfd70}))[_0x1319bb(0x26a)]();if(typeof _0x264677['FileId']!=_0x1319bb(0x18d))return this['_decreaseWaiting'](),Promise[_0x1319bb(0x18e)](new Error(_0x528e74['ERROR_IMAGE']));_0x5b8013=_0x264677[_0x1319bb(0x442)];}catch{return this[_0x1319bb(0x448)](),Promise[_0x1319bb(0x18e)](new Error(_0x528e74['ERROR_IMAGE']));}return new Promise((_0x58a424,_0xdf662f)=>{var _0xf7c4a2=_0x1319bb;const _0x237d2a=new FileReader();_0x237d2a[_0xf7c4a2(0x284)](_0x629643),_0x237d2a[_0xf7c4a2(0x30a)]=_0x453c47=>{var _0x715a68=_0xf7c4a2,_0x2c4fdf;const _0x409e72=(_0x2c4fdf=_0x453c47[_0x715a68(0x17f)])==null?void 0x0:_0x2c4fdf[_0x715a68(0x2f9)];if(_0x409e72==null){this['_decreaseWaiting'](),_0xdf662f(new Error(_0x528e74[_0x715a68(0x294)]));return;}const _0x3b1ce2=_0x53bff0[_0x715a68(0x36c)](0x6);_0x58a424({'imageId':_0x3b1ce2,'imageSourceType':_0x4e86f2[_0x715a68(0x1f2)],'source':_0x5b8013,'base64Cache':_0x409e72,'status':_0x528e74['SUCCUSS']}),this[_0x715a68(0x448)]();};});}['_getUploadFileURL'](){var _0x3d3823=_0x5a765f,_0x4570a1,_0x24aab0;const _0x42b053=this['_configService'][_0x3d3823(0x1f4)](Is),_0x59c2d3=this[_0x3d3823(0x43e)]['getConfig'](q);return(_0x24aab0=(_0x4570a1=_0x59c2d3==null?void 0x0:_0x59c2d3[_0x3d3823(0x26b)])!=null?_0x4570a1:_0x42b053)!=null?_0x24aab0:Ts;}[_0x5a765f(0x22f)](){var _0x525afc=_0x5a765f,_0x21f5d2,_0x417663;const _0x46e876=this[_0x525afc(0x43e)][_0x525afc(0x1f4)](Cs),_0x5dd45a=this[_0x525afc(0x43e)][_0x525afc(0x1f4)](q);return(_0x417663=(_0x21f5d2=_0x5dd45a==null?void 0x0:_0x5dd45a[_0x525afc(0x3cb)])!=null?_0x21f5d2:_0x46e876)!=null?_0x417663:bs;}[_0x5a765f(0x194)](){var _0x512fc6=_0x5a765f,_0x1e5778;const _0x5f0308=this[_0x512fc6(0x43e)][_0x512fc6(0x1f4)](q);return(_0x1e5778=_0x5f0308==null?void 0x0:_0x5f0308[_0x512fc6(0x305)])!=null?_0x1e5778:location['origin'];}[_0x5a765f(0x2cb)](_0x43f2f0,_0x26383b){var _0x407bde=_0x5a765f;return _0x43f2f0[_0x407bde(0x34e)]('{fileID}',_0x26383b);}['_decreaseWaiting'](){var _0x226f43=_0x5a765f;this[_0x226f43(0x2e7)]-=0x1,this[_0x226f43(0x3d7)]['next'](this[_0x226f43(0x2e7)]);}};yt=gs([gt(0x0,_0x1935ed(_0xf9517d)),gt(0x1,_0x1ee7e1),gt(0x2,_0x1935ed(_0x32cdfb))],yt);var Rs=Object['defineProperty'],Os=Object[_0x5a765f(0x21d)],ys=(_0x1f0144,_0x5cec14,_0x34fac1,_0x1d1e64)=>{var _0x5c893a=_0x5a765f;for(var _0x947bb2=_0x1d1e64>0x1?void 0x0:_0x1d1e64?Os(_0x5cec14,_0x34fac1):_0x5cec14,_0x36f067=_0x1f0144[_0x5c893a(0x218)]-0x1,_0xf70c8a;_0x36f067>=0x0;_0x36f067--)(_0xf70c8a=_0x1f0144[_0x36f067])&&(_0x947bb2=(_0x1d1e64?_0xf70c8a(_0x5cec14,_0x34fac1,_0x947bb2):_0xf70c8a(_0x947bb2))||_0x947bb2);return _0x1d1e64&&_0x947bb2&&Rs(_0x5cec14,_0x34fac1,_0x947bb2),_0x947bb2;},_i=(_0x55845a,_0x8619ad)=>(_0x56c4a4,_0xc9cb9c)=>_0x8619ad(_0x56c4a4,_0xc9cb9c,_0x55845a);const Ns=_0x5a765f(0x28a);let Nt=class{constructor(_0x2b10cf,_0x4bf00d){var _0x25d23a=_0x5a765f;this['_configService']=_0x2b10cf,this[_0x25d23a(0x381)]=_0x4bf00d;}[_0x5a765f(0x1fb)](){var _0x366693=_0x5a765f,_0x1cb3a3,_0x1a87eb;const _0x16819c=this[_0x366693(0x43e)]['getConfig'](Pi),_0x31e0bb=this[_0x366693(0x43e)][_0x366693(0x1f4)](q);return(_0x1a87eb=(_0x1cb3a3=_0x31e0bb==null?void 0x0:_0x31e0bb['authzUrl'])!=null?_0x1cb3a3:_0x16819c)!=null?_0x1a87eb:Ns;}async[_0x5a765f(0x2eb)](_0x37c6e0){var _0xa116c2=_0x5a765f;const _0x268030=this[_0xa116c2(0x1fb)]()+_0xa116c2(0x411);return{'list':[{'title':'People','mentions':(await this[_0xa116c2(0x381)][_0xa116c2(0x3a4)](_0x268030,{'params':{'objectID':_0x37c6e0[_0xa116c2(0x263)],'unitID':_0x37c6e0['unitId']}}))[_0xa116c2(0x250)][_0xa116c2(0x2b0)][_0xa116c2(0x1b7)](_0x56e77d=>({'objectId':_0x56e77d['id'],'name':_0x56e77d['subject'][_0xa116c2(0x365)],'metadata':{'icon':_0x56e77d[_0xa116c2(0x440)][_0xa116c2(0x44a)]},'label':_0x56e77d[_0xa116c2(0x440)][_0xa116c2(0x365)],'objectType':_0x482002[_0xa116c2(0x3b4)]})),'metadata':{},'type':_0x482002[_0xa116c2(0x3b4)]}]};}};Nt=ys([_i(0x0,_0x1935ed(_0x1ee7e1)),_i(0x1,_0x1935ed(_0xf9517d))],Nt);var Ds=Object[_0x5a765f(0x3d3)],Ps=Object['getOwnPropertyDescriptor'],ws=(_0x440a29,_0x4f0d00,_0x2c9832,_0x532126)=>{for(var _0x282c7c=_0x532126>0x1?void 0x0:_0x532126?Ps(_0x4f0d00,_0x2c9832):_0x4f0d00,_0xfe20e7=_0x440a29['length']-0x1,_0x2df013;_0xfe20e7>=0x0;_0xfe20e7--)(_0x2df013=_0x440a29[_0xfe20e7])&&(_0x282c7c=(_0x532126?_0x2df013(_0x4f0d00,_0x2c9832,_0x282c7c):_0x2df013(_0x282c7c))||_0x282c7c);return _0x532126&&_0x282c7c&&Ds(_0x4f0d00,_0x2c9832,_0x282c7c),_0x282c7c;},Se=(_0x30bd5e,_0x480a66)=>(_0x11ce08,_0x1bcfe7)=>_0x480a66(_0x11ce08,_0x1bcfe7,_0x30bd5e);let at=class extends _0x81dda6{constructor(_0x37de63,_0x3071fe,_0x325482,_0x54f5ab,_0x1e3ff4,_0x26a57a,_0x1c4eca){var _0x1978e8=_0x5a765f;super(),this['_injector']=_0x37de63,this[_0x1978e8(0x19f)]=_0x3071fe,this[_0x1978e8(0x2c1)]=_0x325482,this[_0x1978e8(0x2bc)]=_0x54f5ab,this['_collaborationUIEventService']=_0x1e3ff4,this['_authzIoService']=_0x26a57a,this[_0x1978e8(0x369)]=_0x1c4eca,this['_initUnitPermissionChange'](),this['_initCloseConn']();}['_initCloseConn'](){var _0x3380f2=_0x5a765f;const _0x26712a=async _0x52c2dd=>{var _0xba4800=_0x4e5c;(await this[_0xba4800(0x2bc)][_0xba4800(0x409)](_0x52c2dd))[_0xba4800(0x18b)][_0xba4800(0x1c9)](_0x3d44c1(_0xbe6c99=>_0xbe6c99[_0xba4800(0x2ef)]===_0x850024[_0xba4800(0x25b)]),_0x51d385(this[_0xba4800(0x25e)]))[_0xba4800(0x1d7)](_0x37c5c0=>{var _0x4c67df=_0xba4800;const _0x315b8a=_0x37c5c0,{reason:_0x6c8280}=_0x315b8a[_0x4c67df(0x338)];this['_collaborationUIEventService']['emitEvent']({'id':se[_0x4c67df(0x32a)],'data':_0x6c8280}),this[_0x4c67df(0x2c1)][_0x4c67df(0x378)](new _0x770f7d(_0x52c2dd)['id'],!0x1),this[_0x4c67df(0x2bc)][_0x4c67df(0x2d5)](_0x52c2dd);});};_0x51624f(this[_0x3380f2(0x19f)][_0x3380f2(0x2cd)](_0xf10391[_0x3380f2(0x2ee)]),this['_univerInstanceService'][_0x3380f2(0x2cd)](_0xf10391['UNIVER_DOC']))[_0x3380f2(0x1c9)](_0x2ecd01(_0x1548e5=>_0x1548e5[_0x3380f2(0x1ad)]()),_0x3d44c1(_0x552482=>!_0x4bdb88(_0x552482)),_0x51d385(this[_0x3380f2(0x25e)]))[_0x3380f2(0x1d7)](_0x34613e=>{_0x26712a(_0x34613e);});}['_initUnitPermissionChange'](){var _0x2d9267=_0x5a765f;const _0x588d8c=async _0x45a286=>{var _0x47c358=_0x4e5c;const _0x5566ea=await this[_0x47c358(0x2bc)][_0x47c358(0x409)](_0x45a286),_0x3295b4=this[_0x47c358(0x213)][_0x47c358(0x3a4)](_0x11c729);_0x5566ea[_0x47c358(0x18b)][_0x47c358(0x1c9)](_0x3d44c1(_0x3c7afe=>_0x3c7afe['eventID']===_0x850024[_0x47c358(0x1b0)]),_0x51d385(this['dispose$']))['subscribe'](_0x4eb772=>{var _0x57bb76=_0x47c358;const _0x1f6467=_0x4eb772,{objectId:_0x18cafb}=_0x1f6467[_0x57bb76(0x338)];_0x18cafb===_0x45a286?_0x3295b4[_0x57bb76(0x1d1)](_0x45a286):_0x3295b4[_0x57bb76(0x3ec)](_0x45a286,_0x18cafb);});};_0x51624f(this['_univerInstanceService'][_0x2d9267(0x2cd)](_0xf10391['UNIVER_SHEET']),this[_0x2d9267(0x19f)][_0x2d9267(0x2cd)](_0xf10391[_0x2d9267(0x2f4)]))[_0x2d9267(0x1c9)](_0x2ecd01(_0x1db4bc=>_0x1db4bc[_0x2d9267(0x1ad)]()),_0x3d44c1(_0x62ce7a=>!_0x4bdb88(_0x62ce7a)),_0x51d385(this[_0x2d9267(0x25e)]))[_0x2d9267(0x1d7)](_0x264016=>{_0x588d8c(_0x264016);});}};at=ws([Se(0x0,_0x1935ed(_0x4155eb)),Se(0x1,_0x32cdfb),Se(0x2,_0x4e79ec),Se(0x3,_0x1935ed(Le)),Se(0x4,_0x1935ed(pe)),Se(0x5,_0x56c633),Se(0x6,_0x2d5855)],at);var Us=Object[_0x5a765f(0x3d3)],As=Object[_0x5a765f(0x21d)],xs=(_0x2959db,_0x567d54,_0x2156e6,_0x1987ca)=>{var _0x331f28=_0x5a765f;for(var _0x435d9c=_0x1987ca>0x1?void 0x0:_0x1987ca?As(_0x567d54,_0x2156e6):_0x567d54,_0x156b28=_0x2959db[_0x331f28(0x218)]-0x1,_0x288009;_0x156b28>=0x0;_0x156b28--)(_0x288009=_0x2959db[_0x156b28])&&(_0x435d9c=(_0x1987ca?_0x288009(_0x567d54,_0x2156e6,_0x435d9c):_0x288009(_0x435d9c))||_0x435d9c);return _0x1987ca&&_0x435d9c&&Us(_0x567d54,_0x2156e6,_0x435d9c),_0x435d9c;},li=(_0x4480e8,_0x50f85c)=>(_0xbcbb65,_0x5a6e0c)=>_0x50f85c(_0xbcbb65,_0x5a6e0c,_0x4480e8);let Dt=class{constructor(_0x3913f3,_0x224f81){var _0x2db574=_0x5a765f;this[_0x2db574(0x43e)]=_0x3913f3,this['_httpService']=_0x224f81;}async[_0x5a765f(0x3bf)](_0x16ba11,_0x8cb80d){var _0x4bf6f4=_0x5a765f,_0x186bb3;const {unitID:_0x10fbd7,type:_0x23fc40,revision:_0x95fb93=0x0}=_0x8cb80d,_0x275766=this['getSnapshotAPIPath']()+'/'+_0x23fc40+_0x4bf6f4(0x432)+_0x10fbd7+_0x4bf6f4(0x307)+_0x95fb93,_0x1af4ed=(await this['_httpService'][_0x4bf6f4(0x3a4)](_0x275766))['body'],_0x204604=(_0x186bb3=_0x1af4ed[_0x4bf6f4(0x1da)])==null?void 0x0:_0x186bb3['workbook'];if(_0x204604){const _0x252125=_0x204604==null?void 0x0:_0x204604[_0x4bf6f4(0x39c)],_0x12d9e0=_0x3aa06b['encode'](_0x5b46c4(_0x252125));_0x204604[_0x4bf6f4(0x39c)]=_0x12d9e0,Object['entries'](_0x204604[_0x4bf6f4(0x187)])[_0x4bf6f4(0x2e0)](([,_0x3cdcdb])=>{var _0x393053=_0x4bf6f4;const _0x560907=_0x3cdcdb['originalMeta'],_0x414177=_0x3aa06b[_0x393053(0x428)](_0x5b46c4(_0x560907));_0x3cdcdb[_0x393053(0x39c)]=_0x414177;});}return _0x1af4ed;}async[_0x5a765f(0x197)](_0x147770,_0x5043c2){var _0x1e592e=_0x5a765f;const {unitID:_0x2a7d1a,type:_0xb4dfd0,blockID:_0x458885}=_0x5043c2,_0x4ea705=this[_0x1e592e(0x168)]()+'/'+_0xb4dfd0+_0x1e592e(0x432)+_0x2a7d1a+'/block/'+_0x458885;return(await this['_httpService'][_0x1e592e(0x3a4)](_0x4ea705))[_0x1e592e(0x250)];}async['getDeserializedSheetBlock'](_0x229188,_0x548753){var _0x3a6d14=_0x5a765f;const {unitID:_0x77f38e,type:_0x266e9c,blockID:_0xf42bfb}=_0x548753,_0x296f79=this[_0x3a6d14(0x168)]()+_0x3a6d14(0x3f5)+_0x266e9c+'/unit/'+_0x77f38e+_0x3a6d14(0x3f5)+_0xf42bfb;return(await this[_0x3a6d14(0x405)][_0x3a6d14(0x3a4)](_0x296f79))[_0x3a6d14(0x250)];}async[_0x5a765f(0x27f)](_0x16566c,_0x87d45b){var _0x4f0a93=_0x5a765f;const {unitID:_0x359684,type:_0x1c3f92,from:_0x5b18a1,to:_0xd1e090}=_0x87d45b,_0x3ff6d5=this[_0x4f0a93(0x168)]()+'/'+_0x1c3f92+'/unit/'+_0x359684+_0x4f0a93(0x330)+_0x5b18a1+'&to='+_0xd1e090;return(await this['_httpService'][_0x4f0a93(0x3a4)](_0x3ff6d5))[_0x4f0a93(0x250)];}[_0x5a765f(0x1a8)](){var _0x9e20b2=_0x5a765f,_0x31dab7;return(_0x31dab7=this[_0x9e20b2(0x43e)]['getConfig'](Tn))!=null?_0x31dab7:this[_0x9e20b2(0x168)]();}[_0x5a765f(0x168)](){var _0x13392d=_0x5a765f,_0x37cee7,_0x1128b2;const _0x1f83c6=this[_0x13392d(0x43e)][_0x13392d(0x1f4)](En),_0x290473=this[_0x13392d(0x43e)]['getConfig'](q);return(_0x1128b2=(_0x37cee7=_0x290473==null?void 0x0:_0x290473[_0x13392d(0x2ad)])!=null?_0x37cee7:_0x1f83c6)!=null?_0x1128b2:In;}async[_0x5a765f(0x351)](_0x22aeb4,_0xea7bb){var _0xa92cec=_0x5a765f;const _0x500df0=_0xa92cec(0x3b9)+_0xea7bb[_0xa92cec(0x3eb)]+_0xa92cec(0x432)+_0xea7bb['unitID']+'/resources';return(await this[_0xa92cec(0x405)][_0xa92cec(0x3a4)](_0x500df0,{'params':{'resourceId':JSON[_0xa92cec(0x45e)](_0xea7bb['resourceIDs'])}}))[_0xa92cec(0x250)];}[_0x5a765f(0x3d4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){var _0x455495=_0x5a765f;throw new Error(_0x455495(0x3ee));}[_0x5a765f(0x350)](){var _0x1537e5=_0x5a765f;throw new Error(_0x1537e5(0x3ee));}[_0x5a765f(0x376)](){var _0x987f16=_0x5a765f;throw new Error(_0x987f16(0x3ee));}};Dt=xs([li(0x0,_0x1ee7e1),li(0x1,_0x1935ed(_0xf9517d))],Dt);var Ls=Object[_0x5a765f(0x3d3)],Ms=Object[_0x5a765f(0x21d)],$s=(_0x481cc1,_0x321e5a,_0x42fd74,_0x2a2e5)=>{var _0x5bd1d2=_0x5a765f;for(var _0x35e2cb=_0x2a2e5>0x1?void 0x0:_0x2a2e5?Ms(_0x321e5a,_0x42fd74):_0x321e5a,_0x2c552f=_0x481cc1[_0x5bd1d2(0x218)]-0x1,_0x2d115d;_0x2c552f>=0x0;_0x2c552f--)(_0x2d115d=_0x481cc1[_0x2c552f])&&(_0x35e2cb=(_0x2a2e5?_0x2d115d(_0x321e5a,_0x42fd74,_0x35e2cb):_0x2d115d(_0x35e2cb))||_0x35e2cb);return _0x2a2e5&&_0x35e2cb&&Ls(_0x321e5a,_0x42fd74,_0x35e2cb),_0x35e2cb;},Ae=(_0x1bd6a6,_0x389188)=>(_0x183380,_0x500d4f)=>_0x389188(_0x183380,_0x500d4f,_0x1bd6a6);let Pt=class extends _0x284621{constructor(_0x4ecefe,_0x481cc8,_0x2c4879,_0x3f5a65,_0x2d1f6a){var _0x3a355e=_0x5a765f;super(_0x4ecefe,_0x481cc8,_0x2c4879),this[_0x3a355e(0x3d2)]=_0x3f5a65,this['_logService']=_0x2d1f6a;}[_0x5a765f(0x38c)](_0x1df38b,_0x593894){var _0x282822=_0x5a765f;const _0x3f52e7=this[_0x282822(0x18c)](_0x1df38b);if(_0x3f52e7)try{const _0x506a40=this[_0x282822(0x3a7)](_0x3f52e7,_0x593894);this['_substituteUndoStack'](_0x1df38b,_0x506a40);}catch(_0x1ae82c){this[_0x282822(0x1a1)][_0x282822(0x344)](_0x282822(0x353),_0x1ae82c),this[_0x282822(0x1b8)](_0x1df38b);}const _0x9fd2aa=this[_0x282822(0x403)](_0x1df38b);if(_0x9fd2aa)try{const _0x38c4aa=this['_transformStack'](_0x9fd2aa,_0x593894);this[_0x282822(0x2b4)](_0x1df38b,_0x38c4aa);}catch(_0x164f7e){this[_0x282822(0x1a1)][_0x282822(0x344)](_0x164f7e),this[_0x282822(0x28d)](_0x1df38b);}}['_clearUndo'](_0x35b171){var _0x65f321=_0x5a765f;const _0x3f7b14=this['_getUndoStack'](_0x35b171);_0x3f7b14&&(_0x3f7b14['length']=0x0,this[_0x65f321(0x297)]());}['_clearRedo'](_0x2e9bcd){var _0x14db77=_0x5a765f;const _0x5c245b=this[_0x14db77(0x403)](_0x2e9bcd);_0x5c245b&&(_0x5c245b['length']=0x0,this[_0x14db77(0x297)]());}[_0x5a765f(0x177)](_0x7b0530,_0x4d6354){var _0x234740=_0x5a765f;this[_0x234740(0x393)]['set'](_0x7b0530,_0x4d6354),this[_0x234740(0x297)]();}['_substituteRedoStack'](_0x39da38,_0x33b99b){var _0x1809d0=_0x5a765f;this[_0x1809d0(0x2d1)][_0x1809d0(0x375)](_0x39da38,_0x33b99b),this['_updateStatus']();}['_transformStack'](_0x54933e,_0x4033fc){var _0x3e3854=_0x5a765f;const _0xe5e78c=[];let _0x4625ed=_0x4033fc,_0x3e8057=_0x4033fc;for(let _0x2cd7ab=_0x54933e[_0x3e3854(0x218)]-0x1;_0x2cd7ab>=0x0;_0x2cd7ab--){const {unitID:_0x1b3586,undoMutations:_0x419f16,redoMutations:_0x740f74}=_0x54933e[_0x2cd7ab],_0x350c18=this['_transformService'][_0x3e3854(0x339)](_0x4625ed,_0x419f16),_0x54ad6c=this['_transformService'][_0x3e3854(0x339)](_0x3e8057,_0x740f74);if(_0x3e77c2(_0x350c18)||_0x3e77c2(_0x54ad6c)){this[_0x3e3854(0x1a1)][_0x3e3854(0x344)](_0x3e3854(0x353),'transformStack\x20failed!',_0x350c18,_0x54ad6c);break;}_0x4625ed=_0x350c18[_0x3e3854(0x42b)],_0x3e8057=_0x54ad6c[_0x3e3854(0x42b)],_0xe5e78c['push']({'unitID':_0x1b3586,'undoMutations':_0x350c18[_0x3e3854(0x1ff)],'redoMutations':_0x54ad6c[_0x3e3854(0x1ff)]});}return _0xe5e78c['reverse']();}};Pt=$s([Ae(0x0,_0x32cdfb),Ae(0x1,_0xd33b12),Ae(0x2,_0x5e1973),Ae(0x3,_0x494f1a),Ae(0x4,_0x5be494)],Pt);var xi=Object['defineProperty'],Hs=Object[_0x5a765f(0x21d)],ks=(_0x1401c6,_0x4fa59f,_0x3ad9e0)=>_0x4fa59f in _0x1401c6?xi(_0x1401c6,_0x4fa59f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ad9e0}):_0x1401c6[_0x4fa59f]=_0x3ad9e0,js=(_0x49d2ed,_0xa2fdf1,_0x1fd211,_0x5d6321)=>{var _0x2537e5=_0x5a765f;for(var _0x68e654=_0x5d6321>0x1?void 0x0:_0x5d6321?Hs(_0xa2fdf1,_0x1fd211):_0xa2fdf1,_0x1bed71=_0x49d2ed[_0x2537e5(0x218)]-0x1,_0x3b287b;_0x1bed71>=0x0;_0x1bed71--)(_0x3b287b=_0x49d2ed[_0x1bed71])&&(_0x68e654=(_0x5d6321?_0x3b287b(_0xa2fdf1,_0x1fd211,_0x68e654):_0x3b287b(_0x68e654))||_0x68e654);return _0x5d6321&&_0x68e654&&xi(_0xa2fdf1,_0x1fd211,_0x68e654),_0x68e654;},St=(_0x2c7f87,_0x5f0c57)=>(_0x8451ff,_0x376909)=>_0x5f0c57(_0x8451ff,_0x376909,_0x2c7f87),Bs=(_0x37910f,_0x2aa2bf,_0x4141f6)=>ks(_0x37910f,_0x2aa2bf+'',_0x4141f6);const Fs=_0x5a765f(0x298);let wt=class extends _0x55011c{constructor(_0x5c2e6f=Wt,_0x1d017b,_0x45727e,_0x4a02d2){var _0x489081=_0x5a765f;super(),this[_0x489081(0x287)]=_0x5c2e6f,this['_logService']=_0x1d017b,this[_0x489081(0x213)]=_0x45727e,this[_0x489081(0x43e)]=_0x4a02d2;const {..._0x52723c}=_0x1951c3({},Wt,this[_0x489081(0x287)]);this[_0x489081(0x43e)][_0x489081(0x178)](q,_0x52723c);}[_0x5a765f(0x3d0)](){var _0x501dce=_0x5a765f;this[_0x501dce(0x19b)](),this[_0x501dce(0x33f)]();}[_0x5a765f(0x19b)](){var _0x32f1d8=_0x5a765f,_0xc50b22,_0x3c6512,_0x57dd4a,_0x340917;this[_0x32f1d8(0x213)][_0x32f1d8(0x37c)](_0x2d5855)&&this[_0x32f1d8(0x1a1)][_0x32f1d8(0x344)]('[UniverCollaborationClientPlugin]',_0x32f1d8(0x200));const _0x3b83c8=_0x447e82([[_0x2d5855,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[bi],[at],[pe],[Ot],[Ci,{'useClass':(_0x3c6512=(_0xc50b22=this[_0x32f1d8(0x287)])==null?void 0x0:_0xc50b22[_0x32f1d8(0x291)])!=null?_0x3c6512:Et}],[_0x21b50a,{'useClass':Dt}],[_0x56c633,{'useClass':Rt}],[_0x3c4ddd,{'useClass':yt}],[_0x11c7f9,{'useClass':Nt}],[rt],[bt]],(_0x57dd4a=this[_0x32f1d8(0x287)])==null?void 0x0:_0x57dd4a[_0x32f1d8(0x362)]);if(!((_0x340917=this['_config'])!=null&&_0x340917[_0x32f1d8(0x354)])){const _0x23907a=_0x3b83c8[_0x32f1d8(0x1b9)](([_0x373928])=>_0x373928===ht);_0x23907a!==-0x1&&_0x3b83c8[_0x32f1d8(0x1c4)](_0x23907a,0x1);}_0x6c6cf7(this[_0x32f1d8(0x213)],_0x3b83c8);}[_0x5a765f(0x33f)](){var _0x4af854=_0x5a765f,_0x56d04c,_0x994b3e,_0x461c7d;this[_0x4af854(0x213)][_0x4af854(0x3a4)](_0xf9517d)[_0x4af854(0x1e3)]({'priority':0x14,'interceptor':_0x56fcc3({'maxParallel':0x6})}),(_0x56d04c=this[_0x4af854(0x287)])!=null&&_0x56d04c[_0x4af854(0x439)]||(_0x994b3e=this[_0x4af854(0x213)]['get'](J,_0x21cb3c['OPTIONAL']))==null||_0x994b3e[_0x4af854(0x3a2)](),(_0x461c7d=this[_0x4af854(0x287)])!=null&&_0x461c7d[_0x4af854(0x2a0)]&&_0x555482(this[_0x4af854(0x213)],[[st]]),_0x555482(this[_0x4af854(0x213)],[[ot],[rt],[at]]);}};Bs(wt,_0x5a765f(0x254),Fs),wt=js([_0x1b22a4(_0x81f1e5,_0xc99be3,_0x58765b),St(0x1,_0x5be494),St(0x2,_0x1935ed(_0x4155eb)),St(0x3,_0x1ee7e1)],wt);export{Pi as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,bn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,bi as CommentService,de as ConflictState,Rn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,Ri as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
1
+ var _0x39927c=_0x16b6;(function(_0x244ace,_0x44c08b){var _0x299548=_0x16b6,_0x47d61e=_0x244ace();while(!![]){try{var _0x351b50=-parseInt(_0x299548(0x1e0))/0x1*(parseInt(_0x299548(0x13e))/0x2)+parseInt(_0x299548(0x1d4))/0x3*(parseInt(_0x299548(0x202))/0x4)+parseInt(_0x299548(0x10c))/0x5+-parseInt(_0x299548(0x196))/0x6*(parseInt(_0x299548(0x272))/0x7)+parseInt(_0x299548(0x354))/0x8*(parseInt(_0x299548(0x131))/0x9)+-parseInt(_0x299548(0x1ff))/0xa+parseInt(_0x299548(0x39d))/0xb;if(_0x351b50===_0x44c08b)break;else _0x47d61e['push'](_0x47d61e['shift']());}catch(_0x322657){_0x47d61e['push'](_0x47d61e['shift']());}}}(_0x1002,0x4e564));var Li=Object[_0x39927c(0x2fa)],Mi=(_0x38fa87,_0x2d2148,_0x950620)=>_0x2d2148 in _0x38fa87?Li(_0x38fa87,_0x2d2148,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x950620}):_0x38fa87[_0x2d2148]=_0x950620,N=(_0x2303ac,_0x2e44f3,_0x398cbd)=>Mi(_0x2303ac,typeof _0x2e44f3!=_0x39927c(0x157)?_0x2e44f3+'':_0x2e44f3,_0x398cbd);import{createIdentifier as _0x40e439,Inject as _0xbc9492,Injector as _0x42904b,Disposable as _0x4e3892,DisposableCollection as _0x2db3ec,toDisposable as _0x41e975,IConfigService as _0x227ac9,ILogService as _0xa0a262,UserManagerService as _0x579a7f,UniverInstanceType as _0x42f03d,IUniverInstanceService as _0x252c78,LocaleService as _0x3b67e6,Optional as _0x16b553,RxDisposable as _0x3320ff,Tools as _0xcc70e4,Rectangle as _0x2c4df8,ICommandService as _0x4648fa,JSONX as _0x240eaa,CommandType as _0x36dda7,IPermissionService as _0x17f25c,IUndoRedoService as _0x6c51a4,sequenceExecute as _0x420764,Workbook as _0x2b50c5,MentionType as _0x429eb3,IAuthzIoService as _0x4f0206,isInternalEditorID as _0x3592ca,LocalUndoRedoService as _0x516f54,IContextService as _0x32d769,DependentOn as _0x49fdcf,Plugin as _0x32dbaf,merge as _0xebb80c,mergeOverrideWithDependencies as _0xf5302,IMentionIOService as _0x1b6960,registerDependencies as _0x143ac5,Quantity as _0x1bea6c,touchDependencies as _0x1df72b}from'@univerjs/core';import{Subject as _0x5c86fd,merge as _0x245007,of as _0xe67418,BehaviorSubject as _0x4bc3f4,takeUntil as _0x36cc5d,ReplaySubject as _0x58be6b,take as _0xe6bb2c,map as _0x3cfe06,shareReplay as _0x399ee2,firstValueFrom as _0x35beec,concatMap as _0x395bf6}from'rxjs';import{map as _0x28dd90,take as _0x4470a2,filter as _0x2f4cab,delay as _0x186af8,takeUntil as _0x10bfe9}from'rxjs/operators';import{HTTPService as _0x5ee64e,ISocketService as _0x4d31bc,MergeInterceptorFactory as _0x25ca04,HTTPRequest as _0x101eba,UniverNetworkPlugin as _0x224eec,ThresholdInterceptorFactory as _0x3ce38f}from'@univerjs/network';import{CollaborationEvent as _0x30c357,parseChangesetToProtocol as _0x4daef5,ISnapshotServerService as _0x1982fa,isTransformMutationsWithChangesetSuccess as _0x5000cb,ITransformService as _0x56a4c4,mapDocumentTypeToUniverType as _0x544bc6,RevisionService as _0x5b7e83,isTransformChangesetsSuccess as _0x8a4d76,CompressMutationService as _0x5eed80,parseProtocolChangeset as _0x3980d4,SnapshotService as _0x1dba11,textEncoder as _0x164596,b64DecodeUnicode as _0x8a2507,isTransformMutationsWithChangesetFailure as _0x2cc8b2,UniverCollaborationPlugin as _0xb83b1f}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x5ee65a}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x6be229}from'@univerjs/docs';import{SheetsSelectionsService as _0x2af7f5,SetSelectionsOperation as _0x383903,InsertSheetMutation as _0xc078ed,EmptyMutation as _0x7e713f,WorkbookEditablePermission as _0x3c7e45,SheetPermissionInitController as _0x1820bb,UniverSheetsPlugin as _0x19fdf0}from'@univerjs/sheets';import{ImageSourceType as _0x4b9878,ImageUploadStatusType as _0x1afbe1,IImageIoService as _0x2ca8a4}from'@univerjs/drawing';import{getGlobalObject as _0x14aed3}from'@univerjs-pro/license';const En=_0x39927c(0x173),In=_0x39927c(0x376),Tn=_0x39927c(0x1db),eo=_0x39927c(0xdf),Cn=0x7d0,bn=_0x39927c(0xfe),Rn='ws://127.0.0.1:8000/universer-api/comb/connect',On=_0x39927c(0x13a),yn='HEARTBEAT_INTERVAL',Nn=0x7530,Si=_0x39927c(0x12b),Ei=0x4e20,Dn=0x4e20,Pn='RETRY_CONNECTING_MAX_COUNT',wn=0x3,to=_0x39927c(0x3ab),io=0x3e8,Un='COLLAB_SUBMIT_CHANGESET_URL',An=_0x39927c(0x20b),xn=_0x39927c(0x26c),Ln=_0x39927c(0x2b9),no='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',ro='/universer-api/uniscript';var Ii=(_0x5c26c8=>(_0x5c26c8[_0x5c26c8[_0x39927c(0x340)]=0x0]=_0x39927c(0x340),_0x5c26c8[_0x5c26c8['OK']=0x1]='OK',_0x5c26c8[_0x5c26c8['INTERNAL_ERROR']=0x2]=_0x39927c(0x312),_0x5c26c8[_0x5c26c8['PERMISSION_DENIED']=0x3]=_0x39927c(0x2b2),_0x5c26c8[_0x5c26c8['NOT_FOUND']=0x4]='NOT_FOUND',_0x5c26c8[_0x5c26c8[_0x39927c(0xe0)]=0x5]=_0x39927c(0xe0),_0x5c26c8[_0x5c26c8[_0x39927c(0x14d)]=0x6]=_0x39927c(0x14d),_0x5c26c8[_0x5c26c8[_0x39927c(0x178)]=0x7]='INVALID_ARGUMENT',_0x5c26c8[_0x5c26c8[_0x39927c(0x15a)]=0x8]=_0x39927c(0x15a),_0x5c26c8[_0x5c26c8[_0x39927c(0x351)]=0x9]=_0x39927c(0x351),_0x5c26c8[_0x5c26c8['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5c26c8[_0x5c26c8['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x39927c(0x365),_0x5c26c8[_0x5c26c8[_0x39927c(0x1e2)]=0x1772]=_0x39927c(0x1e2),_0x5c26c8[_0x5c26c8[_0x39927c(0x220)]=0x1773]=_0x39927c(0x220),_0x5c26c8[_0x5c26c8[_0x39927c(0x35c)]=0x1b59]=_0x39927c(0x35c),_0x5c26c8[_0x5c26c8[_0x39927c(0x398)]=0x1b5a]=_0x39927c(0x398),_0x5c26c8[_0x5c26c8[_0x39927c(0xc2)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5c26c8[_0x5c26c8['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x39927c(0x177),_0x5c26c8[_0x5c26c8[_0x39927c(0x2d3)]=0x1b5d]=_0x39927c(0x2d3),_0x5c26c8[_0x5c26c8[_0x39927c(0x333)]=0x1f41]=_0x39927c(0x333),_0x5c26c8[_0x5c26c8[_0x39927c(0x16a)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5c26c8[_0x5c26c8[_0x39927c(0x179)]=0x232a]=_0x39927c(0x179),_0x5c26c8[_0x5c26c8[_0x39927c(0x127)]=0x232b]=_0x39927c(0x127),_0x5c26c8[_0x5c26c8[_0x39927c(0x247)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5c26c8[_0x5c26c8[_0x39927c(0x1f2)]=0x232d]=_0x39927c(0x1f2),_0x5c26c8[_0x5c26c8[_0x39927c(0x113)]=0x2711]=_0x39927c(0x113),_0x5c26c8[_0x5c26c8[_0x39927c(0x267)]=0x2712]=_0x39927c(0x267),_0x5c26c8[_0x5c26c8[_0x39927c(0x22d)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5c26c8[_0x5c26c8[_0x39927c(0x174)]=0x2714]=_0x39927c(0x174),_0x5c26c8[_0x5c26c8['UNRECOGNIZED']=-0x1]=_0x39927c(0x204),_0x5c26c8))(Ii||{}),Q=(_0x571660=>(_0x571660[_0x571660[_0x39927c(0xcb)]=0x0]='UNIVER_UNKNOWN',_0x571660[_0x571660[_0x39927c(0x167)]=0x1]=_0x39927c(0x167),_0x571660[_0x571660['UNIVER_SHEET']=0x2]=_0x39927c(0x2e8),_0x571660[_0x571660[_0x39927c(0x1d6)]=0x3]='UNIVER_SLIDE',_0x571660[_0x571660[_0x39927c(0x1e5)]=0x4]=_0x39927c(0x1e5),_0x571660[_0x571660[_0x39927c(0x204)]=-0x1]=_0x39927c(0x204),_0x571660))(Q||{}),F=(_0x516b6c=>(_0x516b6c[_0x516b6c[_0x39927c(0x33f)]=0x0]=_0x39927c(0x33f),_0x516b6c[_0x516b6c[_0x39927c(0x36a)]=0x1]=_0x39927c(0x36a),_0x516b6c[_0x516b6c[_0x39927c(0x368)]=0x2]=_0x39927c(0x368),_0x516b6c[_0x516b6c[_0x39927c(0x2e9)]=0x3]=_0x39927c(0x2e9),_0x516b6c[_0x516b6c['INGEST']=0x4]='INGEST',_0x516b6c[_0x516b6c[_0x39927c(0x1c2)]=0x5]=_0x39927c(0x1c2),_0x516b6c[_0x516b6c[_0x39927c(0x17b)]=0x6]=_0x39927c(0x17b),_0x516b6c[_0x516b6c[_0x39927c(0x204)]=-0x1]=_0x39927c(0x204),_0x516b6c))(F||{}),Ee=(_0x1fe3c4=>(_0x1fe3c4[_0x1fe3c4[_0x39927c(0x1ea)]=0x0]=_0x39927c(0x1ea),_0x1fe3c4[_0x1fe3c4['OK']=0x1]='OK',_0x1fe3c4[_0x1fe3c4['FAIL']=0x2]=_0x39927c(0x32a),_0x1fe3c4[_0x1fe3c4[_0x39927c(0x1a4)]=0x3e9]=_0x39927c(0x1a4),_0x1fe3c4[_0x1fe3c4['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x39927c(0x2c9),_0x1fe3c4[_0x1fe3c4[_0x39927c(0x277)]=0x3eb]=_0x39927c(0x277),_0x1fe3c4[_0x1fe3c4[_0x39927c(0x165)]=0x3ec]=_0x39927c(0x165),_0x1fe3c4[_0x1fe3c4[_0x39927c(0x204)]=-0x1]=_0x39927c(0x204),_0x1fe3c4))(Ee||{}),Ti=(_0x237135=>(_0x237135[_0x237135[_0x39927c(0x142)]=0x0]='Undefined',_0x237135[_0x237135[_0x39927c(0x150)]=0x1]=_0x39927c(0x150),_0x237135[_0x237135[_0x39927c(0x2c2)]=0x2]=_0x39927c(0x2c2),_0x237135[_0x237135[_0x39927c(0x26f)]=0x3]=_0x39927c(0x26f),_0x237135[_0x237135[_0x39927c(0x17e)]=0x4]=_0x39927c(0x17e),_0x237135[_0x237135['UNRECOGNIZED']=-0x1]=_0x39927c(0x204),_0x237135))(Ti||{});const q=_0x39927c(0x1c5),Wt={};var se=(_0x3bcca5=>(_0x3bcca5[_0x39927c(0x39b)]=_0x39927c(0x39b),_0x3bcca5[_0x39927c(0x2b2)]=_0x39927c(0x2b2),_0x3bcca5[_0x39927c(0x310)]='CONFLICT',_0x3bcca5[_0x39927c(0x2a0)]='CLOSE_ROOM',_0x3bcca5[_0x39927c(0x1e4)]='JOIN_ROOM_FAILED',_0x3bcca5[_0x39927c(0x215)]='SOCKET_FAILED_RETRY',_0x3bcca5[_0x39927c(0x2cb)]='SOCKET_FAILED',_0x3bcca5['SUBMIT_CHANGESET_TIMEOUT']=_0x39927c(0x27d),_0x3bcca5))(se||{});class pe{constructor(){var _0xa13ee0=_0x39927c;N(this,_0xa13ee0(0x11a),new _0x5c86fd()),N(this,_0xa13ee0(0x2f1),this[_0xa13ee0(0x11a)]['asObservable']());}[_0x39927c(0xc5)](_0x59b1ba){var _0x411b93=_0x39927c;this[_0x411b93(0x11a)][_0x411b93(0x19d)](_0x59b1ba);}}const Mn=_0x40e439(_0x39927c(0x321));function $n(_0x5955a3){var _0x29b42b=_0x39927c,_0x502789,_0x578d43,_0x55e9a6,_0x3cf91d,_0x247c06;const _0x4585b2=_0x5955a3[_0x29b42b(0x12c)],_0x5048cd=JSON[_0x29b42b(0x3a2)](_0x4585b2);switch(_0x5048cd['cmd']){case F[_0x29b42b(0x1c2)]:case F['HELLO']:{const _0x139871=_0x5048cd[_0x29b42b(0x2b1)];return{..._0x5048cd,'data':_0x139871,'cmd':_0x5048cd[_0x29b42b(0x18e)]};}case F[_0x29b42b(0x368)]:{const _0x18e891=_0x5048cd[_0x29b42b(0x24a)];return{..._0x5048cd,'data':_0x18e891,'cmd':_0x5048cd[_0x29b42b(0x18e)]};}case F[_0x29b42b(0x17b)]:{const _0x378582=_0x5048cd[_0x29b42b(0x12d)];switch(_0x378582[_0x29b42b(0x1b5)]){case _0x30c357[_0x29b42b(0xca)]:return{..._0x5048cd,'data':{..._0x378582,'data':(_0x502789=_0x378582[_0x29b42b(0x363)])==null?void 0x0:_0x502789['cs']},'cmd':_0x5048cd[_0x29b42b(0x18e)]};case _0x30c357['CHANGESET_ACK']:return{..._0x5048cd,'data':{..._0x378582,'data':(_0x578d43=_0x378582['csAckEvent'])==null?void 0x0:_0x578d43['cs']},'cmd':_0x5048cd[_0x29b42b(0x18e)]};case _0x30c357[_0x29b42b(0x274)]:return{..._0x5048cd,'data':{..._0x378582,'data':(_0x55e9a6=_0x378582[_0x29b42b(0x226)])==null?void 0x0:_0x55e9a6['cs']},'cmd':_0x5048cd[_0x29b42b(0x18e)]};case _0x30c357['CHANGESET_REJ']:return{..._0x5048cd,'data':{..._0x378582,'data':(_0x3cf91d=_0x378582[_0x29b42b(0xf2)])==null?void 0x0:_0x3cf91d['cs']},'cmd':_0x5048cd[_0x29b42b(0x18e)]};case _0x30c357[_0x29b42b(0x2ce)]:return{..._0x5048cd,'data':{..._0x378582,'data':(_0x247c06=_0x378582[_0x29b42b(0x28b)])==null?void 0x0:_0x247c06['cs']},'cmd':_0x5048cd[_0x29b42b(0x18e)]};case _0x30c357['UPDATE_CURSOR']:return{..._0x5048cd,'data':{..._0x378582,'data':_0x378582[_0x29b42b(0xd3)]},'cmd':_0x5048cd[_0x29b42b(0x18e)]};case _0x30c357[_0x29b42b(0x315)]:return{..._0x5048cd,'data':{..._0x378582,'data':_0x378582[_0x29b42b(0x1fa)]},'cmd':_0x5048cd['cmd']};case _0x30c357[_0x29b42b(0x30d)]:return{..._0x5048cd,'data':{..._0x378582,'data':_0x378582[_0x29b42b(0x1fe)]},'cmd':_0x5048cd[_0x29b42b(0x18e)]};case _0x30c357['LIVESHARE_NEW_HOST']:return{..._0x5048cd,'data':{..._0x378582,'data':_0x378582['liveShareNewHost']},'cmd':_0x5048cd[_0x29b42b(0x18e)]};case _0x30c357[_0x29b42b(0x2ca)]:case _0x30c357[_0x29b42b(0x11e)]:return{..._0x5048cd,'data':{..._0x378582,'data':_0x378582['liveShareOperation']},'cmd':_0x5048cd[_0x29b42b(0x18e)]};case _0x30c357[_0x29b42b(0xb7)]:return{..._0x5048cd,'data':{..._0x378582,'data':_0x378582['liveShareNewHost']},'cmd':_0x5048cd[_0x29b42b(0x18e)]};case _0x30c357[_0x29b42b(0xe4)]:return{..._0x5048cd,'data':_0x378582,'cmd':_0x5048cd[_0x29b42b(0x18e)]};case _0x30c357[_0x29b42b(0x14e)]:return{..._0x5048cd,'data':{..._0x378582,'data':_0x378582[_0x29b42b(0x32f)]},'cmd':_0x5048cd[_0x29b42b(0x18e)]};case _0x30c357[_0x29b42b(0x1cf)]:return{..._0x5048cd,'data':{..._0x378582,'data':_0x378582[_0x29b42b(0x2b4)]},'cmd':_0x5048cd[_0x29b42b(0x18e)]};case _0x30c357[_0x29b42b(0xee)]:return{..._0x5048cd,'data':{..._0x378582,'data':_0x378582['shouldCloseConn']},'cmd':_0x5048cd[_0x29b42b(0x18e)]};case _0x30c357[_0x29b42b(0xd5)]:return{..._0x5048cd,'data':{..._0x378582,'data':_0x378582[_0x29b42b(0x151)]},'cmd':_0x5048cd[_0x29b42b(0x18e)]};default:return _0x5048cd;}}default:return _0x5048cd;}}function Hn(_0x28fce1){var _0x165935=_0x39927c;switch(_0x28fce1['cmd']){case F[_0x165935(0x1c2)]:case F[_0x165935(0x36a)]:return JSON[_0x165935(0x1a7)]({'cmd':_0x28fce1[_0x165935(0x18e)],'routeKey':_0x28fce1['routeKey']});case F[_0x165935(0x2d1)]:{let _0x350d7b;switch(_0x28fce1[_0x165935(0x12c)][_0x165935(0x1b5)]){case _0x30c357['UPDATE_CURSOR']:{_0x350d7b={'eventID':_0x30c357[_0x165935(0x273)],'updateCursorEvent':_0x28fce1[_0x165935(0x12c)][_0x165935(0x12c)]};break;}case _0x30c357[_0x165935(0x30d)]:{_0x350d7b={'eventID':_0x30c357['USERS_LEAVE'],'leaveEvent':_0x28fce1['data'][_0x165935(0x12c)]};break;}case _0x30c357[_0x165935(0x315)]:{_0x350d7b={'eventID':_0x30c357['USERS_ENTER'],'joinEvent':_0x28fce1[_0x165935(0x12c)][_0x165935(0x12c)]};break;}case _0x30c357[_0x165935(0x10f)]:{_0x350d7b={'eventID':_0x30c357[_0x165935(0x10f)],'liveShareNewHost':_0x28fce1[_0x165935(0x12c)][_0x165935(0x12c)]};break;}case _0x30c357[_0x165935(0x11e)]:{_0x350d7b={'eventID':_0x30c357[_0x165935(0x11e)],'liveShareOperation':_0x28fce1[_0x165935(0x12c)][_0x165935(0x12c)]};break;}case _0x30c357[_0x165935(0xb7)]:{_0x350d7b={'eventID':_0x30c357[_0x165935(0xb7)],'liveShareTerminate':_0x28fce1[_0x165935(0x12c)][_0x165935(0x12c)]};break;}case _0x30c357[_0x165935(0x352)]:{_0x350d7b={'eventID':_0x30c357['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x28fce1['data']['data']};break;}case _0x30c357[_0x165935(0x2ca)]:{_0x350d7b={'eventID':_0x30c357[_0x165935(0x2ca)]};break;}default:_0x350d7b={'eventID':_0x28fce1[_0x165935(0x12c)][_0x165935(0x1b5)]};}return JSON['stringify']({'cmd':_0x28fce1[_0x165935(0x18e)],'routeKey':_0x28fce1[_0x165935(0x14c)],'collaMsg':_0x350d7b});}case F[_0x165935(0x368)]:return JSON['stringify']({'cmd':_0x28fce1[_0x165935(0x18e)],'routeKey':_0x28fce1[_0x165935(0x14c)],'joinReq':_0x28fce1['data']});case F[_0x165935(0x2e9)]:return JSON['stringify']({'cmd':_0x28fce1[_0x165935(0x18e)],'routeKey':_0x28fce1[_0x165935(0x14c)],'leaveReq':_0x28fce1[_0x165935(0x12c)]});default:throw new Error(_0x165935(0x1d0));}}var kn=Object[_0x39927c(0x2fa)],jn=Object[_0x39927c(0x186)],Bn=(_0x2ba8fd,_0x42792d,_0xb98913,_0x27dc5d)=>{for(var _0x52619a=_0x27dc5d>0x1?void 0x0:_0x27dc5d?jn(_0x42792d,_0xb98913):_0x42792d,_0x97a494=_0x2ba8fd['length']-0x1,_0x9c274c;_0x97a494>=0x0;_0x97a494--)(_0x9c274c=_0x2ba8fd[_0x97a494])&&(_0x52619a=(_0x27dc5d?_0x9c274c(_0x42792d,_0xb98913,_0x52619a):_0x9c274c(_0x52619a))||_0x52619a);return _0x27dc5d&&_0x52619a&&kn(_0x42792d,_0xb98913,_0x52619a),_0x52619a;},Ue=(_0xa389bc,_0x18287b)=>(_0x1f848d,_0x372e4e)=>_0x18287b(_0x1f848d,_0x372e4e,_0xa389bc);const Ci=_0x40e439(_0x39927c(0x14f));function Fn(_0x3bd496,_0x4cbc03,_0x51da13){var _0x24eb3a=_0x39927c;return _0x3bd496+'/'+_0x4cbc03+_0x24eb3a(0x33c)+_0x51da13+'/new_changes';}let Et=class extends _0x4e3892{constructor(_0x4a715f,_0x3b98d4,_0x4d2fa1,_0x46ce65,_0x361ada){var _0x50edac=_0x39927c;super(),this[_0x50edac(0x169)]=_0x4a715f,this['_http']=_0x3b98d4,this[_0x50edac(0xef)]=_0x4d2fa1,this[_0x50edac(0x2c0)]=_0x46ce65,this[_0x50edac(0x105)]=_0x361ada;}[_0x39927c(0x2bb)](_0x5e8de4){var _0x43501c=_0x39927c;const _0x4b96f7=this['_injector'][_0x43501c(0x3a4)](_0x4d31bc);if(!_0x4b96f7)throw new Error(_0x43501c(0x223));const _0x5eb323=_0x4b96f7[_0x43501c(0x2bb)](_0x5e8de4);if(!_0x5eb323)throw new Error(_0x43501c(0xf9));const _0x488a15=new _0x2db3ec(),_0x50961f=new _0x5c86fd();_0x488a15[_0x43501c(0x269)](_0x5eb323[_0x43501c(0x358)][_0x43501c(0x34e)](_0x2f0f79=>_0x50961f[_0x43501c(0x19d)](_0x2f0f79))),_0x488a15[_0x43501c(0x269)](_0x41e975(()=>_0x50961f[_0x43501c(0x1a0)]()));const _0xa75cf=new _0x5c86fd();_0x488a15[_0x43501c(0x269)](_0x5eb323[_0x43501c(0x164)][_0x43501c(0x34e)](_0x1cf511=>_0xa75cf['next'](_0x1cf511))),_0x488a15[_0x43501c(0x269)](_0x41e975(()=>_0xa75cf['complete']()));const _0x440a37=new _0x5c86fd();_0x488a15[_0x43501c(0x269)](_0x5eb323[_0x43501c(0x2dd)][_0x43501c(0x34e)](_0x29f202=>{const _0x1ee2a0=$n(_0x29f202);_0x440a37['next'](_0x1ee2a0);})),_0x488a15['add'](_0x41e975(()=>_0x440a37[_0x43501c(0x1a0)]()));let _0x2ab3b3;const _0xae29a1=()=>{var _0x44202e=_0x43501c;_0xa75cf['next'](new Event(_0x44202e(0xeb))),_0x50961f[_0x44202e(0x19d)](new CloseEvent(_0x44202e(0xeb))),_0x2ab3b3[_0x44202e(0x3a8)]();};return _0x2ab3b3={'memberID':'','close$':_0x50961f[_0x43501c(0x2f5)](),'error$':_0xa75cf['asObservable'](),'open$':_0x5eb323['open$'],'message$':_0x440a37[_0x43501c(0x2f5)](),'send':_0x47cf58=>{var _0x391308=_0x43501c;if(_0x47cf58[_0x391308(0x18e)]===F['INGEST']){if(_0x47cf58[_0x391308(0x12c)][_0x391308(0x1b5)]===_0x30c357['SUBMIT_CHANGESET']){this[_0x391308(0x34c)](_0x2ab3b3,_0x47cf58[_0x391308(0x12c)])[_0x391308(0x161)](_0x277b8f=>{var _0x35f179=_0x391308;this['_logService'][_0x35f179(0x1e7)](_0x277b8f),_0xae29a1();});return;}if(_0x47cf58[_0x391308(0x12c)][_0x391308(0x1b5)]===_0x30c357[_0x391308(0x343)]){const _0x36ec00=_0x47cf58['data'];this['_fetchMissChangesets'](_0x36ec00)['then'](_0x50a2c7=>{var _0x45dbba=_0x391308;_0x440a37[_0x45dbba(0x19d)]({'cmd':F[_0x45dbba(0x17b)],'code':Ee['OK'],'routeKey':_0x36ec00[_0x45dbba(0x12c)][_0x45dbba(0x1bf)],'routeType':'','data':{'eventID':_0x30c357['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x50a2c7}}});})[_0x391308(0x161)](_0x24ede4=>{var _0x238c39=_0x391308;this[_0x238c39(0x2c0)][_0x238c39(0x1e7)](_0x24ede4),_0xae29a1();});return;}}_0x5eb323[_0x391308(0xfd)](Hn(_0x47cf58));},'close':()=>{var _0x4c186f=_0x43501c;_0x5eb323[_0x4c186f(0x3a8)](),_0x488a15[_0x4c186f(0xf4)]();}},_0x2ab3b3;}async[_0x39927c(0x34c)](_0x177d96,_0x5da415){var _0x4dae5e=_0x39927c,_0x1a8eda,_0x59fd07;const {unitType:_0x2f3435,unitID:_0x5df751,changeset:_0x122d3b}=_0x5da415[_0x4dae5e(0x12c)],_0x24643c={'unitID':_0x5df751,'memberID':_0x177d96[_0x4dae5e(0xb3)],'type':_0x2f3435,'changeset':_0x4daef5(_0x122d3b)},_0x3f24c8=this[_0x4dae5e(0xef)][_0x4dae5e(0x1a2)](Un),_0x453f18=this[_0x4dae5e(0xef)][_0x4dae5e(0x1a2)](q),_0x14c80d=Fn((_0x59fd07=(_0x1a8eda=_0x453f18==null?void 0x0:_0x453f18[_0x4dae5e(0xb1)])!=null?_0x1a8eda:_0x3f24c8)!=null?_0x59fd07:An,_0x2f3435,_0x5df751);try{await this[_0x4dae5e(0x15e)][_0x4dae5e(0x390)](_0x14c80d,{'body':_0x24643c});}catch(_0x48b5c5){throw this['_logService']['error'](_0x4dae5e(0x237),_0x4dae5e(0xde)),_0x48b5c5;}}async[_0x39927c(0x175)](_0x5c1a08){var _0x4fec3e=_0x39927c;const {unitID:_0xcb41cc,from:_0x366a63,to:_0x59939a,unitType:_0x2a47b5}=_0x5c1a08[_0x4fec3e(0x12c)];return(await this[_0x4fec3e(0x105)][_0x4fec3e(0x208)]({'metadata':void 0x0},{'unitID':_0xcb41cc,'type':_0x2a47b5,'from':_0x366a63,'to':_0x59939a}))[_0x4fec3e(0x299)];}};Et=Bn([Ue(0x0,_0xbc9492(_0x42904b)),Ue(0x1,_0xbc9492(_0x5ee64e)),Ue(0x2,_0x227ac9),Ue(0x3,_0xa0a262),Ue(0x4,_0x1982fa)],Et);const Vn=_0x39927c(0x355);function Gn(_0x5437bd){var _0x50e97e=_0x39927c;return JSON['stringify'](_0x5437bd)[_0x50e97e(0x1ad)];}class bi{constructor(){var _0x3df6b2=_0x39927c;N(this,_0x3df6b2(0x10e),new _0x5c86fd()),N(this,_0x3df6b2(0x21d),this['_commentUpdate$']['asObservable']());}[_0x39927c(0x2c1)](_0xeabbd5){var _0xfffedf=_0x39927c;this[_0xfffedf(0x10e)]['next'](_0xeabbd5);}}var Wn=Object[_0x39927c(0x2fa)],Kn=Object[_0x39927c(0x186)],Yn=(_0x93ad56,_0x4560a2,_0x3729d8,_0x35dec3)=>{var _0x67cc22=_0x39927c;for(var _0x36feea=_0x35dec3>0x1?void 0x0:_0x35dec3?Kn(_0x4560a2,_0x3729d8):_0x4560a2,_0x11fb5e=_0x93ad56[_0x67cc22(0x1ad)]-0x1,_0x41f22e;_0x11fb5e>=0x0;_0x11fb5e--)(_0x41f22e=_0x93ad56[_0x11fb5e])&&(_0x36feea=(_0x35dec3?_0x41f22e(_0x4560a2,_0x3729d8,_0x36feea):_0x41f22e(_0x36feea))||_0x36feea);return _0x35dec3&&_0x36feea&&Wn(_0x4560a2,_0x3729d8,_0x36feea),_0x36feea;},Kt=(_0x1fa3f3,_0x59ed46)=>(_0x50590a,_0x188d76)=>_0x59ed46(_0x50590a,_0x188d76,_0x1fa3f3);let xe=class extends _0x4e3892{constructor(_0x209125,_0x82103c){var _0x322ac5=_0x39927c;super(),N(this,'_roomMembers',new Map()),N(this,_0x322ac5(0x304),new _0x5c86fd()),(this['_univerInstanceService']=_0x209125,this[_0x322ac5(0x23d)]=_0x82103c,this[_0x322ac5(0x1bb)](_0x245007(this['_univerInstanceService'][_0x322ac5(0x37c)](_0x42f03d['UNIVER_SHEET'])[_0x322ac5(0x153)](_0x28dd90(_0x384a5f=>_0x384a5f['getUnitId']())),this[_0x322ac5(0x234)][_0x322ac5(0x37c)](_0x42f03d['UNIVER_DOC'])[_0x322ac5(0x153)](_0x28dd90(_0xa557c1=>_0xa557c1[_0x322ac5(0x26d)]())),this[_0x322ac5(0x234)][_0x322ac5(0x37c)](_0x42f03d[_0x322ac5(0x1d6)])[_0x322ac5(0x153)](_0x28dd90(_0xbc702a=>_0xbc702a[_0x322ac5(0x26d)]())))[_0x322ac5(0x34e)](_0x52730b=>this[_0x322ac5(0x30c)](_0x52730b))));}[_0x39927c(0x383)](_0x2a35b0){var _0x54d2b0=_0x39927c;return this[_0x54d2b0(0x184)][_0x54d2b0(0x13b)](_0x2a35b0)?_0xe67418(this['_roomMembers']['get'](_0x2a35b0)):this[_0x54d2b0(0x304)]['pipe'](_0x28dd90(_0x161631=>{var _0x426710=_0x54d2b0;if(_0x161631===_0x2a35b0)return this['_roomMembers'][_0x426710(0x3a4)](_0x161631);}));}[_0x39927c(0x191)](_0x1bddf4){var _0x458a38=_0x39927c;this[_0x458a38(0x23d)]['setCurrentUser'](_0x1bddf4);}['getCurrentUser'](){var _0x3df40c=_0x39927c;return this[_0x3df40c(0x23d)][_0x3df40c(0x2d0)]();}[_0x39927c(0xfb)](_0x435559,_0x2ab37a){var _0x265855=_0x39927c;let _0x733702=this['_roomMembers']['get'](_0x435559);_0x733702||(_0x733702=new qn(),this[_0x265855(0x184)][_0x265855(0x366)](_0x435559,_0x733702),this[_0x265855(0x304)]['next'](_0x435559)),_0x733702[_0x265855(0xfb)](_0x2ab37a);}['removeMember'](_0xf511d7,_0x1e5343){var _0x4eb0e2=_0x39927c;const _0x87ec79=this['_roomMembers'][_0x4eb0e2(0x3a4)](_0xf511d7);_0x87ec79&&_0x87ec79[_0x4eb0e2(0x359)](_0x1e5343);}[_0x39927c(0x2ab)](_0x2758af){var _0x5f4bd5=_0x39927c;return this[_0x5f4bd5(0x184)]['get'](_0x2758af);}[_0x39927c(0x228)](_0x29d984,_0x20ead5){var _0x2f26e6=_0x39927c;const _0x38fe04=this['_roomMembers'][_0x2f26e6(0x3a4)](_0x29d984);if(_0x38fe04)return _0x38fe04[_0x2f26e6(0x228)](_0x20ead5);}['_removeRoom'](_0x252f07){var _0xb8f318=_0x39927c;const _0x4e719e=this['_roomMembers'][_0xb8f318(0x3a4)](_0x252f07);_0x4e719e&&(_0x4e719e[_0xb8f318(0xf4)](),this[_0xb8f318(0x184)]['delete'](_0x252f07));}[_0x39927c(0xf4)](){var _0x2cf68b=_0x39927c;this['_roomMembers'][_0x2cf68b(0x3b1)](_0x58ee53=>_0x58ee53[_0x2cf68b(0xf4)]()),this['_roomMembers']['clear'](),this[_0x2cf68b(0x304)][_0x2cf68b(0x1a0)]();}};xe=Yn([Kt(0x0,_0x252c78),Kt(0x1,_0xbc9492(_0x579a7f))],xe);class qn extends _0x4e3892{constructor(){var _0x3f2ca9=_0x39927c;super(...arguments),N(this,_0x3f2ca9(0x270),new Map()),N(this,_0x3f2ca9(0x197),new _0x4bc3f4(this[_0x3f2ca9(0x270)])),N(this,_0x3f2ca9(0x3b0),this['_members$'][_0x3f2ca9(0x2f5)]());}[_0x39927c(0xf4)](){this['_members']['clear']();}[_0x39927c(0xfb)](_0xbd6b6a){var _0x76ecbc=_0x39927c;this[_0x76ecbc(0x270)][_0x76ecbc(0x366)](_0xbd6b6a[_0x76ecbc(0xb3)],_0xbd6b6a),this[_0x76ecbc(0x183)]();}[_0x39927c(0x359)](_0xbab7b0){var _0x3fc90c=_0x39927c;this[_0x3fc90c(0x270)][_0x3fc90c(0x295)](_0xbab7b0);}[_0x39927c(0x228)](_0x722e49){return this['_members']['get'](_0x722e49);}[_0x39927c(0x214)](){var _0x1ab80a=_0x39927c;return Array['from'](this[_0x1ab80a(0x270)]['values']());}[_0x39927c(0x183)](){var _0x547390=_0x39927c;this[_0x547390(0x197)][_0x547390(0x19d)](this[_0x547390(0x270)]);}}var zn=Object['defineProperty'],Jn=Object[_0x39927c(0x186)],Xn=(_0x4d8fa1,_0xfcde74,_0x2e9842,_0x5df8bc)=>{var _0x2cbe89=_0x39927c;for(var _0x32f7cb=_0x5df8bc>0x1?void 0x0:_0x5df8bc?Jn(_0xfcde74,_0x2e9842):_0xfcde74,_0x5f2c83=_0x4d8fa1[_0x2cbe89(0x1ad)]-0x1,_0x1c6273;_0x5f2c83>=0x0;_0x5f2c83--)(_0x1c6273=_0x4d8fa1[_0x5f2c83])&&(_0x32f7cb=(_0x5df8bc?_0x1c6273(_0xfcde74,_0x2e9842,_0x32f7cb):_0x1c6273(_0x32f7cb))||_0x32f7cb);return _0x5df8bc&&_0x32f7cb&&zn(_0xfcde74,_0x2e9842,_0x32f7cb),_0x32f7cb;},me=(_0x3903da,_0x438bf3)=>(_0x34c725,_0x49ad32)=>_0x438bf3(_0x34c725,_0x49ad32,_0x3903da),Te=(_0x138113=>(_0x138113[_0x138113[_0x39927c(0x324)]=0x0]=_0x39927c(0x324),_0x138113[_0x138113['JOINING']=0x1]='JOINING',_0x138113[_0x138113[_0x39927c(0x144)]=0x2]=_0x39927c(0x144),_0x138113[_0x138113[_0x39927c(0x1cc)]=0x3]='ONLINE',_0x138113))(Te||{});const Yt={[Ee[_0x39927c(0x32a)]]:_0x39927c(0x348),[Ee['JOIN_ROOM_FULL']]:_0x39927c(0x3a6),[Ee[_0x39927c(0x2c9)]]:_0x39927c(0x3af),[Ee[_0x39927c(0x277)]]:'session.room-permission-denied',[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};let It=class extends _0x3320ff{constructor(_0x5bec5d,_0x4795e4,_0x2b93f1,_0x20ca7f,_0x201584,_0x2532dd,_0x50265b,_0x79efd3,_0x7006c3){var _0x4dfe01=_0x39927c;super(),N(this,'_sessionStatus$',new _0x4bc3f4(0x0)),N(this,'sessionStatus$',this[_0x4dfe01(0x3a5)][_0x4dfe01(0x2f5)]()),N(this,'_event$',new _0x5c86fd()),N(this,_0x4dfe01(0x2f1),this[_0x4dfe01(0x11a)][_0x4dfe01(0x2f5)]()),N(this,_0x4dfe01(0x17a)),N(this,_0x4dfe01(0x2fb)),N(this,_0x4dfe01(0x1f7)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x4dfe01(0x2e6),null),(this[_0x4dfe01(0xb0)]=_0x5bec5d,this[_0x4dfe01(0x2c0)]=_0x2b93f1,this['_configService']=_0x20ca7f,this[_0x4dfe01(0xe8)]=_0x201584,this[_0x4dfe01(0x258)]=_0x2532dd,this[_0x4dfe01(0x2c5)]=_0x50265b,this['_collaborationUIEventService']=_0x79efd3,this[_0x4dfe01(0xb6)]=_0x7006c3,this[_0x4dfe01(0x2c6)]=!!this[_0x4dfe01(0xb6)],_0x4795e4[_0x4dfe01(0x153)](_0x36cc5d(this[_0x4dfe01(0x364)]))[_0x4dfe01(0x34e)](_0x56a4a8=>{var _0x5789b0=_0x4dfe01,_0x3da14f;typeof _0x56a4a8>'u'||(this['_socket']=_0x56a4a8,_0x56a4a8?(this[_0x5789b0(0x10a)](_0x56a4a8),this[_0x5789b0(0x2fb)]=_0x56a4a8[_0x5789b0(0x2dd)][_0x5789b0(0x34e)](_0x3a8958=>{var _0x4a7161=_0x5789b0;_0x3a8958[_0x4a7161(0x14c)]===this[_0x4a7161(0xb0)]&&this[_0x4a7161(0x346)](_0x3a8958);})):(this[_0x5789b0(0x35b)](),this[_0x5789b0(0x3a5)]['next'](0x2),(_0x3da14f=this['_socketMessageSubscription'])==null||_0x3da14f[_0x5789b0(0x1f5)](),this[_0x5789b0(0x2fb)]=null));}));}get['sessionStatus'](){var _0x4803c6=_0x39927c;return this[_0x4803c6(0x3a5)]['getValue']();}[_0x39927c(0x36e)](){var _0x4f3f3d=_0x39927c,_0x1e4c4c,_0x23ea95;return(_0x23ea95=(_0x1e4c4c=this[_0x4f3f3d(0x17a)])==null?void 0x0:_0x1e4c4c['memberID'])!=null?_0x23ea95:null;}[_0x39927c(0xf4)](){var _0x47cb3e=_0x39927c;super[_0x47cb3e(0xf4)](),this[_0x47cb3e(0x364)][_0x47cb3e(0x19d)](),this[_0x47cb3e(0x364)][_0x47cb3e(0x1a0)]();}[_0x39927c(0x3a8)](){var _0x30da89=_0x39927c,_0x25cf27,_0x1950be;this[_0x30da89(0x35b)](),(_0x25cf27=this[_0x30da89(0x17a)])==null||_0x25cf27['send']({'cmd':F[_0x30da89(0x2e9)],'data':{'roomID':this[_0x30da89(0xb0)]}}),(_0x1950be=this[_0x30da89(0x17a)])==null||_0x1950be[_0x30da89(0x3a8)](),this['_event$'][_0x30da89(0x1a0)](),this[_0x30da89(0x3a5)][_0x30da89(0x1a0)](),this['dispose']();}[_0x39927c(0x346)](_0x438942){var _0x2804d0=_0x39927c;_0x438942[_0x2804d0(0x18e)]===F[_0x2804d0(0x368)]?this[_0x2804d0(0x375)](_0x438942):_0x438942['cmd']===F[_0x2804d0(0x17b)]&&this[_0x2804d0(0x28e)](_0x438942);}[_0x39927c(0x10a)](_0x448f1b){var _0x523e13=_0x39927c;this['_sessionStatus$'][_0x523e13(0x19d)](0x1),_0x448f1b['send']({'cmd':F[_0x523e13(0x368)],'routeKey':this[_0x523e13(0xb0)],'routeType':'','data':{'rooms':[{'roomID':this[_0x523e13(0xb0)]}]}});}[_0x39927c(0x375)](_0x277664){var _0x5df54d=_0x39927c,_0x276254;if(_0x277664[_0x5df54d(0x2a3)]in Yt){this['_collaborationUIEventService'][_0x5df54d(0xc5)]({'id':se[_0x5df54d(0x1e4)],'data':Yt[_0x277664[_0x5df54d(0x2a3)]]}),this['_sessionStatus$'][_0x5df54d(0x19d)](0x2);return;}this[_0x5df54d(0x3a5)]['next'](0x3);const _0x58c399=(_0x276254=_0x277664[_0x5df54d(0x12c)][_0x5df54d(0x253)][this['_unitID']])==null?void 0x0:_0x276254[_0x5df54d(0x12e)];_0x58c399&&_0x58c399[_0x5df54d(0x3b1)](_0x1fd333=>this['_memberService']['updateMember'](this[_0x5df54d(0xb0)],_0x1fd333));}['_onRecvEvent'](_0x4a825c){var _0x5f04c4=_0x39927c;try{const _0x127102=_0x4a825c['data'];switch(_0x127102['eventID']){case _0x30c357['USERS_ENTER']:this[_0x5f04c4(0x2f4)](_0x127102),this['_event$']['next'](_0x127102);break;case _0x30c357[_0x5f04c4(0x30d)]:this['_onUserLeave'](_0x127102),this[_0x5f04c4(0x11a)][_0x5f04c4(0x19d)](_0x127102);break;case _0x30c357[_0x5f04c4(0x18b)]:case _0x30c357[_0x5f04c4(0x2ce)]:this[_0x5f04c4(0x245)](),this[_0x5f04c4(0x1fc)](),this[_0x5f04c4(0x11a)][_0x5f04c4(0x19d)](_0x127102);break;case _0x30c357['MSG_FOR_ERROR']:this['_logService'][_0x5f04c4(0x1e7)](_0x5f04c4(0x35a)+JSON[_0x5f04c4(0x1a7)](_0x127102)),this[_0x5f04c4(0x11a)][_0x5f04c4(0x19d)](_0x127102);break;case _0x30c357[_0x5f04c4(0x14e)]:this[_0x5f04c4(0x2c5)][_0x5f04c4(0x2c1)](_0x127102[_0x5f04c4(0x12c)]),this[_0x5f04c4(0x11a)]['next'](_0x127102);break;default:this[_0x5f04c4(0x11a)][_0x5f04c4(0x19d)](_0x127102);}}catch(_0x2478e5){this[_0x5f04c4(0x2c0)][_0x5f04c4(0x1e7)](_0x2478e5,_0x4a825c);}}[_0x39927c(0x2f4)](_0xcef02e){var _0x9007df=_0x39927c;this['_memberService']['updateMember'](this['_unitID'],_0xcef02e[_0x9007df(0x12c)]);}[_0x39927c(0x22b)](_0x3b9324){var _0x1f95fd=_0x39927c;this[_0x1f95fd(0x258)]['removeMember'](this[_0x1f95fd(0xb0)],_0x3b9324[_0x1f95fd(0x12c)][_0x1f95fd(0xb3)]);}async[_0x39927c(0xfd)](_0x57f29b,_0x584d59){var _0x427c61=_0x39927c;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x427c61(0x1b9));try{_0x57f29b[_0x427c61(0x1b5)]===_0x30c357[_0x427c61(0x30e)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x427c61(0x112)](_0x57f29b)),this['_socket']['send']({'cmd':F[_0x427c61(0x2d1)],'routeKey':_0x584d59,'routeType':'','data':_0x57f29b});}catch(_0x4e84ad){this[_0x427c61(0x2c0)]['error'](_0x4e84ad);}}[_0x39927c(0x339)](){var _0x3a01e5=_0x39927c,_0x546504;this[_0x3a01e5(0x1f7)]=setTimeout(()=>{var _0x26c7b2=_0x3a01e5;this[_0x26c7b2(0x1f7)]=null,this[_0x26c7b2(0x11f)][_0x26c7b2(0xc5)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x546504=this[_0x3a01e5(0xef)][_0x3a01e5(0x1a2)](Si))!=null?_0x546504:Ei);}[_0x39927c(0x1fc)](){var _0x1ab1bf=_0x39927c;this[_0x1ab1bf(0x1f7)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x1ab1bf(0x1f7)]=null);}[_0x39927c(0x112)](_0xd5d377){var _0x139b04=_0x39927c;if(!this[_0x139b04(0x2c6)])return;const {data:_0x2896fc}=_0xd5d377,{unitID:_0x5759a0,changeset:_0x414a02}=_0x2896fc,{mutations:_0x4d1cf2,type:_0x20db06}=_0x414a02;this['_telemetryInfo']={'unitId':_0x5759a0,'type':_0x20db06,'startTime':performance[_0x139b04(0x381)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x4d1cf2)};}[_0x39927c(0x245)](){var _0x475542=_0x39927c;if(this[_0x475542(0x2c6)]){if(!this['_telemetryInfo']){this['_logService']['error']('[CollaborationSession]',_0x475542(0x323));return;}this['_telemetryInfo'][_0x475542(0x2d6)]=performance[_0x475542(0x381)](),this[_0x475542(0x2e6)][_0x475542(0xe1)]=this[_0x475542(0x2e6)][_0x475542(0x2d6)]-this[_0x475542(0x2e6)][_0x475542(0x1ba)],this[_0x475542(0xb6)][_0x475542(0x2bf)](Vn,this[_0x475542(0x2e6)]),this[_0x475542(0x2e6)]=null;}}[_0x39927c(0x35b)](){var _0x18017a=_0x39927c;this[_0x18017a(0x2e6)]=null;}};It=Xn([me(0x2,_0xa0a262),me(0x3,_0x227ac9),me(0x4,_0xbc9492(_0x3b67e6)),me(0x5,_0xbc9492(xe)),me(0x6,_0xbc9492(bi)),me(0x7,_0xbc9492(pe)),me(0x8,_0x16b553(_0x5ee65a))],It);var Zn=Object[_0x39927c(0x2fa)],Qn=Object[_0x39927c(0x186)],er=(_0x2ca19d,_0x1ffde1,_0xca8935,_0x4988fd)=>{var _0xe11256=_0x39927c;for(var _0x279899=_0x4988fd>0x1?void 0x0:_0x4988fd?Qn(_0x1ffde1,_0xca8935):_0x1ffde1,_0x4ca054=_0x2ca19d[_0xe11256(0x1ad)]-0x1,_0x1224d2;_0x4ca054>=0x0;_0x4ca054--)(_0x1224d2=_0x2ca19d[_0x4ca054])&&(_0x279899=(_0x4988fd?_0x1224d2(_0x1ffde1,_0xca8935,_0x279899):_0x1224d2(_0x279899))||_0x279899);return _0x4988fd&&_0x279899&&Zn(_0x1ffde1,_0xca8935,_0x279899),_0x279899;},ge=(_0x13506c,_0x2e3543)=>(_0x18f681,_0x21d372)=>_0x2e3543(_0x18f681,_0x21d372,_0x13506c);let Le=class extends _0x4e3892{constructor(_0x562f22,_0x2b3bf5,_0x5cabed,_0x5e2831,_0x4fd633,_0x3f462f,_0x328c77){var _0x5a7998=_0x39927c;super(),N(this,_0x5a7998(0x2e5),new _0x4bc3f4(void 0x0)),N(this,'socket$',this[_0x5a7998(0x2e5)]['asObservable']()),N(this,_0x5a7998(0x3a9),null),N(this,'_sessions',new Map()),N(this,_0x5a7998(0x29c),new _0x4bc3f4(Te[_0x5a7998(0x324)])),N(this,_0x5a7998(0x3a0),this['_status$']['asObservable']()),N(this,_0x5a7998(0x1c1),!0x1),N(this,'_retryConnectingTimer'),N(this,'_retryCount',0x0),N(this,_0x5a7998(0x34d)),N(this,_0x5a7998(0x16c)),(this[_0x5a7998(0x169)]=_0x562f22,this[_0x5a7998(0x2c0)]=_0x2b3bf5,this[_0x5a7998(0xef)]=_0x5cabed,this[_0x5a7998(0x290)]=_0x5e2831,this[_0x5a7998(0x1a8)]=_0x4fd633,this[_0x5a7998(0x11f)]=_0x3f462f,this[_0x5a7998(0x2ad)]=_0x328c77,this[_0x5a7998(0x259)]());}get[_0x39927c(0x17a)](){var _0x7025c3=_0x39927c;return this['_socket$'][_0x7025c3(0x2fd)]();}[_0x39927c(0x259)](){var _0x224010=_0x39927c;this['_networkConditionService']&&this[_0x224010(0x1bb)](this[_0x224010(0x2ad)][_0x224010(0x28f)][_0x224010(0x34e)](_0x1c8292=>{var _0x28dffe=_0x224010;_0x1c8292&&!this[_0x28dffe(0x17a)]&&this['reconnect'](),_0x1c8292||this[_0x28dffe(0x2ee)]();}));}[_0x39927c(0xf4)](){var _0x474103=_0x39927c;super['dispose'](),this[_0x474103(0x23b)][_0x474103(0x3b1)](_0x2ec9d0=>_0x2ec9d0[_0x474103(0xf4)]()),this['_sessions'][_0x474103(0xc7)](),this['_status$'][_0x474103(0x1a0)]();}async['requireSession'](_0x4cf084){var _0x26ba86=_0x39927c;if(this[_0x26ba86(0x23b)][_0x26ba86(0x13b)](_0x4cf084))return this[_0x26ba86(0x23b)][_0x26ba86(0x3a4)](_0x4cf084);this[_0x26ba86(0x243)]();const _0x395d34=this['_injector'][_0x26ba86(0x27f)](It,_0x4cf084,this[_0x26ba86(0x2e5)]['asObservable']());return this[_0x26ba86(0x23b)][_0x26ba86(0x366)](_0x4cf084,_0x395d34),_0x395d34;}[_0x39927c(0x29f)](_0x2a4b70){var _0x47e565=_0x39927c,_0xdc16be;const _0x5a35cb=this['_sessions']['get'](_0x2a4b70);_0x5a35cb&&(this[_0x47e565(0x23b)]['delete'](_0x2a4b70),_0x5a35cb[_0x47e565(0x3a8)]()),this[_0x47e565(0x23b)][_0x47e565(0x250)]||(_0xdc16be=this['_socket'])==null||_0xdc16be[_0x47e565(0x3a8)]();}['reconnect'](){var _0x2f7eb0=_0x39927c;this['_retryCount']=0x0,this[_0x2f7eb0(0x3a7)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x2f7eb0(0x3a7)]=null),this[_0x2f7eb0(0xe3)]();}async[_0x39927c(0x31f)](){var _0x24248c=_0x39927c,_0x22996d,_0x5adbe1,_0x4f0ea3;const _0x13a81=this[_0x24248c(0xef)][_0x24248c(0x1a2)](q),_0xe6c5c3=(_0x22996d=_0x13a81==null?void 0x0:_0x13a81[_0x24248c(0x110)])!=null?_0x22996d:On;return(_0x4f0ea3=(_0x5adbe1=(await this[_0x24248c(0x1a8)]['get'](_0xe6c5c3,{'headers':{'Content-Type':_0x24248c(0x1d9)}}))['body'])==null?void 0x0:_0x5adbe1[_0x24248c(0x26e)])!=null?_0x4f0ea3:'';}[_0x39927c(0x114)](_0x193e22){var _0x461484=_0x39927c,_0x4089e2,_0xe8e482;const _0x15aaea=this[_0x461484(0xef)]['getConfig'](bn),_0x392be9=this[_0x461484(0xef)][_0x461484(0x1a2)](q),_0x44f6cb=(_0xe8e482=(_0x4089e2=_0x392be9==null?void 0x0:_0x392be9[_0x461484(0x18a)])!=null?_0x4089e2:_0x15aaea)!=null?_0xe8e482:Rn,_0x1def8e=typeof window>'u'?new URL(_0x44f6cb):new URL(_0x44f6cb,window[_0x461484(0x2fc)][_0x461484(0x107)]);_0x1def8e[_0x461484(0x262)]['set'](_0x461484(0x2f3),_0x193e22);const _0x5174d0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x461484(0x2fc)][_0x461484(0x219)]);return _0x5174d0[_0x461484(0x3a4)]('runId')&&_0x1def8e[_0x461484(0x262)]['set'](_0x461484(0x212),_0x5174d0[_0x461484(0x3a4)](_0x461484(0x212))),_0x1def8e[_0x461484(0x12a)]();}async[_0x39927c(0x192)](){var _0x515367=_0x39927c;const _0x57d81b=await this[_0x515367(0x31f)](),_0x394706=this['_createSocketURL'](_0x57d81b),_0x246684=this[_0x515367(0x290)][_0x515367(0x2bb)](_0x394706);return this[_0x515367(0x3a9)]=_0x246684,_0x246684;}async[_0x39927c(0x243)](){var _0x58098e=_0x39927c,_0x36c6f2,_0x5b05d4;try{const _0x4b18f5=(_0x5b05d4=(_0x36c6f2=this[_0x58098e(0x17a)])!=null?_0x36c6f2:this[_0x58098e(0x3a9)])!=null?_0x5b05d4:await this[_0x58098e(0x192)]();if(_0x4b18f5){const _0xa7c84b=_0x4b18f5['send'];_0x4b18f5[_0x58098e(0xfd)]=_0x1cca5b=>(this['_rescheduleHeartbeat'](),_0xa7c84b[_0x58098e(0x17c)](_0x4b18f5,[_0x1cca5b])),_0x4b18f5[_0x58098e(0x2dd)][_0x58098e(0x34e)](_0x44ee14=>this[_0x58098e(0x2dc)](_0x4b18f5,_0x44ee14)),_0x4b18f5[_0x58098e(0x164)][_0x58098e(0x153)](_0x4470a2(0x1))['subscribe'](_0x17732e=>this[_0x58098e(0x2c0)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x17732e)),_0x4b18f5[_0x58098e(0x23e)]['pipe'](_0x4470a2(0x1))[_0x58098e(0x34e)](()=>{this['_onConnectionOpen'](_0x4b18f5);}),_0x4b18f5[_0x58098e(0x358)][_0x58098e(0x153)](_0x4470a2(0x1))['subscribe'](_0x109ae4=>{var _0x45ac14=_0x58098e;this[_0x45ac14(0x2c0)]['debug']('[CollaborationSessionService]',_0x45ac14(0xd0),_0x109ae4),this['_onConnectionFailed']();});}}catch(_0x4ae059){this[_0x58098e(0x2c0)][_0x58098e(0x1e7)](_0x4ae059),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x359d20){var _0x533ea8=_0x39927c;this[_0x533ea8(0x2c0)][_0x533ea8(0x2a4)](_0x533ea8(0x387),'socket\x20open.'),_0x359d20[_0x533ea8(0xfd)]({'cmd':F['HELLO']}),this[_0x533ea8(0x306)]();}[_0x39927c(0x2ee)](){var _0x36c280=_0x39927c;this['_socketReady']=!0x1,this[_0x36c280(0x3a9)]=null,this[_0x36c280(0x29c)][_0x36c280(0x19d)](Te[_0x36c280(0x144)]),this[_0x36c280(0x2e5)][_0x36c280(0x19d)](null),this['_clearTimeoutTimer'](),this[_0x36c280(0x1f3)]();}[_0x39927c(0x317)](){var _0x4495d6=_0x39927c,_0x277bc0;this[_0x4495d6(0x2ee)](),this[_0x4495d6(0x386)]<((_0x277bc0=this[_0x4495d6(0xef)]['getConfig'](Pn))!=null?_0x277bc0:wn)?(this[_0x4495d6(0x11f)][_0x4495d6(0xc5)]({'id':se['SOCKET_FAILED_RETRY']}),this[_0x4495d6(0xe3)]()):this[_0x4495d6(0x11f)][_0x4495d6(0xc5)]({'id':se[_0x4495d6(0x2cb)]});}[_0x39927c(0xe3)](){var _0x761c5e=_0x39927c,_0x2c4788;const _0x5a17cd=this[_0x761c5e(0x386)],_0x1da722=this[_0x761c5e(0xef)]['getConfig'](q),_0x236625=_0x5a17cd===0x0?0x0:((_0x2c4788=_0x1da722==null?void 0x0:_0x1da722[_0x761c5e(0x140)])!=null?_0x2c4788:Dn)*0x2**_0x5a17cd;this[_0x761c5e(0x3a7)]=setTimeout(()=>{var _0x1a1d56=_0x761c5e;clearTimeout(this[_0x1a1d56(0x3a7)]),this[_0x1a1d56(0x3a7)]=null,this['_tryEnsureSocket']();},_0x236625),this[_0x761c5e(0x386)]+=0x1;}[_0x39927c(0x2dc)](_0x1078db,_0x1f48dc){var _0x2b6610=_0x39927c;const {cmd:_0x330fc6}=_0x1f48dc;_0x330fc6===F[_0x2b6610(0x36a)]&&!this[_0x2b6610(0x1c1)]&&(_0x1078db[_0x2b6610(0xb3)]=_0x1f48dc[_0x2b6610(0x12c)]['memberID'],this[_0x2b6610(0x2e5)]['next'](_0x1078db),this['_status$']['next'](Te[_0x2b6610(0x1cc)]),this[_0x2b6610(0x1c1)]=!0x0,this[_0x2b6610(0x3a9)]=null),_0x330fc6===F[_0x2b6610(0x1c2)]&&this[_0x2b6610(0x320)](),this[_0x2b6610(0x306)]();}['_rescheduleHeartbeat'](){var _0x57d216=_0x39927c,_0x20669b;this['_clearHeartbeatTimer'](),this[_0x57d216(0x34d)]=setTimeout(()=>this[_0x57d216(0x241)](),(_0x20669b=this[_0x57d216(0xef)][_0x57d216(0x1a2)](yn))!=null?_0x20669b:Nn);}[_0x39927c(0x241)](){var _0x53a09c=_0x39927c;this[_0x53a09c(0x17a)]['send']({'cmd':F[_0x53a09c(0x1c2)]}),this[_0x53a09c(0x2a6)]();}[_0x39927c(0x2a6)](){var _0x1e0c7b=_0x39927c,_0x23281a;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x23281a=this[_0x1e0c7b(0xef)][_0x1e0c7b(0x1a2)](Si))!=null?_0x23281a:Ei);}[_0x39927c(0x1f3)](){var _0x28a894=_0x39927c;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x28a894(0x34d)]),this[_0x28a894(0x34d)]=null);}[_0x39927c(0x320)](){var _0x2801f4=_0x39927c;this[_0x2801f4(0x16c)]!=null&&(clearTimeout(this[_0x2801f4(0x16c)]),this[_0x2801f4(0x16c)]=null);}};Le=er([ge(0x0,_0xbc9492(_0x42904b)),ge(0x1,_0xa0a262),ge(0x2,_0x227ac9),ge(0x3,Ci),ge(0x4,_0xbc9492(_0x5ee64e)),ge(0x5,_0xbc9492(pe)),ge(0x6,_0x16b553(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x39927c(0x14b)]((n+0x100)[_0x39927c(0x12a)](0x10)[_0x39927c(0x263)](0x1));function _0x16b6(_0xdd9ff7,_0x142b0b){var _0x100271=_0x1002();return _0x16b6=function(_0x16b656,_0xc9565c){_0x16b656=_0x16b656-0xb0;var _0x46d520=_0x100271[_0x16b656];return _0x46d520;},_0x16b6(_0xdd9ff7,_0x142b0b);}function tr(_0x256470,_0x5a4805=0x0){var _0x2cdee8=_0x39927c;return(V[_0x256470[_0x5a4805+0x0]]+V[_0x256470[_0x5a4805+0x1]]+V[_0x256470[_0x5a4805+0x2]]+V[_0x256470[_0x5a4805+0x3]]+'-'+V[_0x256470[_0x5a4805+0x4]]+V[_0x256470[_0x5a4805+0x5]]+'-'+V[_0x256470[_0x5a4805+0x6]]+V[_0x256470[_0x5a4805+0x7]]+'-'+V[_0x256470[_0x5a4805+0x8]]+V[_0x256470[_0x5a4805+0x9]]+'-'+V[_0x256470[_0x5a4805+0xa]]+V[_0x256470[_0x5a4805+0xb]]+V[_0x256470[_0x5a4805+0xc]]+V[_0x256470[_0x5a4805+0xd]]+V[_0x256470[_0x5a4805+0xe]]+V[_0x256470[_0x5a4805+0xf]])[_0x2cdee8(0x18f)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x5a8c51=_0x39927c;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x5a8c51(0x37d));ut=crypto[_0x5a8c51(0x172)][_0x5a8c51(0x255)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x39927c(0x227)]['bind'](crypto),qt={'randomUUID':rr};function sr(_0x25daa6,_0x4afb2a,_0x3ef4a2){var _0x104735=_0x39927c,_0x2d3752,_0x2e1d5c,_0xff2437;if(qt[_0x104735(0x227)]&&!_0x25daa6)return qt[_0x104735(0x227)]();_0x25daa6=_0x25daa6||{};const _0x541e05=(_0xff2437=(_0x2e1d5c=_0x25daa6[_0x104735(0x182)])!=null?_0x2e1d5c:(_0x2d3752=_0x25daa6[_0x104735(0x347)])==null?void 0x0:_0x2d3752['call'](_0x25daa6))!=null?_0xff2437:nr();if(_0x541e05[_0x104735(0x1ad)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x541e05[0x6]=_0x541e05[0x6]&0xf|0x40,_0x541e05[0x8]=_0x541e05[0x8]&0x3f|0x80,tr(_0x541e05);}const J=_0x40e439(_0x39927c(0x136));function so(_0x4f3a92){var _0x9fd17=_0x39927c;return _0x9fd17(0x289)+_0x4f3a92;}var or=Object[_0x39927c(0x2fa)],ar=Object[_0x39927c(0x186)],cr=(_0x2c485c,_0x1cf1d5,_0x2acdf9,_0x181c72)=>{for(var _0x44ae9d=_0x181c72>0x1?void 0x0:_0x181c72?ar(_0x1cf1d5,_0x2acdf9):_0x1cf1d5,_0x31b459=_0x2c485c['length']-0x1,_0xc510a8;_0x31b459>=0x0;_0x31b459--)(_0xc510a8=_0x2c485c[_0x31b459])&&(_0x44ae9d=(_0x181c72?_0xc510a8(_0x1cf1d5,_0x2acdf9,_0x44ae9d):_0xc510a8(_0x44ae9d))||_0x44ae9d);return _0x181c72&&_0x44ae9d&&or(_0x1cf1d5,_0x2acdf9,_0x44ae9d),_0x44ae9d;},dt=(_0x517a98,_0x1ee147)=>(_0x18ef77,_0x36a061)=>_0x1ee147(_0x18ef77,_0x36a061,_0x517a98);function hr(_0x432700){var _0x1f8ab7=_0x39927c;const {unitID:_0x57d069,mutations:_0xfd6222}=_0x432700;return{'unitId':_0x57d069,'subUnitId':_0xfd6222[0x0][_0x1f8ab7(0x1fb)][_0x1f8ab7(0x1ae)]};}let it=class{constructor(_0x41b0de,_0x83de54,_0x1eccdd){var _0x9379b3=_0x39927c;this[_0x9379b3(0x169)]=_0x41b0de,this[_0x9379b3(0x2e1)]=_0x83de54,this['_instanceService']=_0x1eccdd;}['transformSelections'](_0x320a04){var _0x89e2cb=_0x39927c,_0x1478d2,_0x254783,_0x45c3be,_0xcce84e;const _0x22e203=this[_0x89e2cb(0x169)][_0x89e2cb(0x3a4)](_0x2af7f5),{unitId:_0x32f9ae,subUnitId:_0x2d8212}=hr(_0x320a04),_0x5aa826=_0x22e203==null?void 0x0:_0x22e203[_0x89e2cb(0x39e)](_0x32f9ae)[_0x89e2cb(0x282)](),_0x4fb4c5=(_0x254783=(_0x1478d2=this[_0x89e2cb(0x22f)]['getUnit'](_0x32f9ae))==null?void 0x0:_0x1478d2[_0x89e2cb(0x1d5)]())==null?void 0x0:_0x254783[_0x89e2cb(0x19b)]();if(_0x5aa826['length']===0x0||!_0x32f9ae||!_0x2d8212)return;const _0x2a59b4=[{'id':_0x383903['id'],'params':{'unitId':_0x32f9ae,'subUnitId':_0x4fb4c5,'selections':_0xcc70e4[_0x89e2cb(0x1d2)](_0x5aa826)}}],_0x1d2b79=this[_0x89e2cb(0x2e1)][_0x89e2cb(0x257)](_0x320a04,_0x2a59b4);if(!_0x5000cb(_0x1d2b79))throw _0x1d2b79[_0x89e2cb(0x1e7)];const _0x14868d=(_0xcce84e=(_0x45c3be=_0x1d2b79[_0x89e2cb(0xf3)][0x0])==null?void 0x0:_0x45c3be['params'])==null?void 0x0:_0xcce84e[_0x89e2cb(0x37f)];if(Array[_0x89e2cb(0x23c)](_0x14868d)&&_0x14868d['length']){if(_0x14868d[_0x89e2cb(0x1ad)]===_0x2a59b4[0x0][_0x89e2cb(0x1fb)][_0x89e2cb(0x37f)][_0x89e2cb(0x1ad)]&&_0x14868d['every']((_0x2b25b5,_0x4c6c77)=>_0x2c4df8[_0x89e2cb(0x360)](_0x2b25b5[_0x89e2cb(0x111)],_0x2a59b4[0x0][_0x89e2cb(0x1fb)][_0x89e2cb(0x37f)][_0x4c6c77]['range'])))return;this[_0x89e2cb(0x169)][_0x89e2cb(0x3a4)](_0x4648fa)[_0x89e2cb(0x129)](_0x383903['id'],{'unitId':_0x32f9ae,'subUnitId':_0x4fb4c5,'selections':_0x14868d});}}};it=cr([dt(0x0,_0xbc9492(_0x42904b)),dt(0x1,_0x56a4c4),dt(0x2,_0x252c78)],it);const ht=_0x40e439(_0x39927c(0x1be));var Ri=(_0x28ff0c=>(_0x28ff0c[_0x28ff0c['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x28ff0c[_0x28ff0c[_0x39927c(0x2ba)]=0x1]=_0x39927c(0x2ba),_0x28ff0c))(Ri||{});const _r=new Set([_0xc078ed['id']]);function zt(_0x4addcc,_0x1fdbde,_0x3b32b0,_0x56b4c6,_0x38dff3){var _0xb7252f=_0x39927c,_0x238612,_0x328d4b,_0x68b20f,_0x59971b;const _0x1df248=[];for(const _0x12a517 of _0x4addcc)if(_r[_0xb7252f(0x13b)](_0x12a517['id'])){if(_0x1df248['length']>0x0)break;_0x1df248['push'](_0x12a517);break;}else _0x1df248['push'](_0x12a517);const _0x1546bf=(_0x328d4b=(_0x238612=_0x38dff3[_0xb7252f(0x2d0)]())==null?void 0x0:_0x238612[_0xb7252f(0x29b)])!=null?_0x328d4b:'unknown',_0x249686=(_0x59971b=(_0x68b20f=_0x38dff3[_0xb7252f(0x2d0)]())==null?void 0x0:_0x68b20f[_0xb7252f(0xb3)])!=null?_0x59971b:_0xb7252f(0x39c);return{'changeset':{'unitID':_0x1fdbde,'type':_0x544bc6(_0x3b32b0['getUnitType'](_0x1fdbde)),'baseRev':_0x56b4c6[_0xb7252f(0x115)](_0x1fdbde),'revision':0x0,'userID':_0x1546bf,'memberID':_0x249686,'mutations':_0x1df248},'pendingMutations':_0x4addcc[_0xb7252f(0x263)](_0x1df248[_0xb7252f(0x1ad)])};}function lr(_0x720b9d,_0x394cad,_0x2ec5be,_0x436d11,_0x3c102b){var _0x5e1340=_0x39927c,_0x5bceb8,_0x2c323c,_0x23411f,_0x4c5000;const _0x402998=[_0x720b9d['reduce']((_0x160e7f,_0x3ec900)=>{var _0x398d4=_0x16b6,_0x16f3e9;const {id:_0x27049d}=_0x160e7f,{id:_0x3f54fc,type:_0x487c32}=_0x3ec900,_0x4fd307=(_0x16f3e9=_0x160e7f[_0x398d4(0x1fb)])!=null?_0x16f3e9:{'actions':null},_0x264dae=_0x3ec900[_0x398d4(0x1fb)];if(_0x27049d&&_0x27049d!==_0x3f54fc)throw new Error(_0x398d4(0x205)+_0x27049d+_0x398d4(0x181)+_0x3f54fc+'.');return{..._0x160e7f,'id':_0x3f54fc,'type':_0x487c32,'params':{'unitId':_0x264dae['unitId'],'textRanges':_0x264dae[_0x398d4(0xf8)],'actions':_0x240eaa[_0x398d4(0x128)](_0x4fd307[_0x398d4(0x271)],_0x264dae[_0x398d4(0x271)])}};},{})],_0x20745a=(_0x2c323c=(_0x5bceb8=_0x3c102b[_0x5e1340(0x2d0)]())==null?void 0x0:_0x5bceb8[_0x5e1340(0x29b)])!=null?_0x2c323c:_0x5e1340(0x39c),_0x3810f2=(_0x4c5000=(_0x23411f=_0x3c102b[_0x5e1340(0x2d0)]())==null?void 0x0:_0x23411f[_0x5e1340(0xb3)])!=null?_0x4c5000:'unknown';return{'changeset':{'unitID':_0x394cad,'type':_0x544bc6(_0x2ec5be[_0x5e1340(0x1b2)](_0x394cad)),'baseRev':_0x436d11[_0x5e1340(0x115)](_0x394cad),'revision':0x0,'userID':_0x20745a,'memberID':_0x3810f2,'mutations':_0x402998},'pendingMutations':[]};}function Oi(_0x45d8d0,_0x58931f){var _0x4f7c98=_0x39927c;const _0x23c30f=new _0x58be6b(0x1);return setTimeout(()=>_0x23c30f[_0x4f7c98(0x19d)](_0x58931f),_0x45d8d0),_0x23c30f[_0x4f7c98(0x2f5)]()[_0x4f7c98(0x153)](_0xe6bb2c(0x1));}const ur={'id':_0x7e713f['id'],'type':_0x36dda7[_0x39927c(0x1c7)],'params':{}};var dr=Object['defineProperty'],fr=Object[_0x39927c(0x186)],be=(_0x4ca09b,_0x8796d1,_0x442f17,_0x4cbe98)=>{var _0x3b533d=_0x39927c;for(var _0x72f1b6=_0x4cbe98>0x1?void 0x0:_0x4cbe98?fr(_0x8796d1,_0x442f17):_0x8796d1,_0x5735e9=_0x4ca09b[_0x3b533d(0x1ad)]-0x1,_0x1fe3ed;_0x5735e9>=0x0;_0x5735e9--)(_0x1fe3ed=_0x4ca09b[_0x5735e9])&&(_0x72f1b6=(_0x4cbe98?_0x1fe3ed(_0x8796d1,_0x442f17,_0x72f1b6):_0x1fe3ed(_0x72f1b6))||_0x72f1b6);return _0x4cbe98&&_0x72f1b6&&dr(_0x8796d1,_0x442f17,_0x72f1b6),_0x72f1b6;},A=(_0x517b56,_0x40f3fa)=>(_0x1f4d99,_0x365d16)=>_0x40f3fa(_0x1f4d99,_0x365d16,_0x517b56),yi=(_0x1a4e36=>(_0x1a4e36[_0x39927c(0x302)]=_0x39927c(0x24f),_0x1a4e36[_0x39927c(0x2b3)]=_0x39927c(0x31a),_0x1a4e36[_0x39927c(0x123)]='pending',_0x1a4e36[_0x39927c(0x327)]=_0x39927c(0xd9),_0x1a4e36[_0x39927c(0xb5)]=_0x39927c(0x2a1),_0x1a4e36[_0x39927c(0x170)]=_0x39927c(0x201),_0x1a4e36['CONFLICT']=_0x39927c(0x38b),_0x1a4e36[_0x39927c(0x144)]=_0x39927c(0x1c6),_0x1a4e36))(yi||{});const Ni=0xea60;class Re{constructor(_0x2931b7,_0x462e32,_0x32e215,_0x4da914,_0x566973,_0x192d7f,_0x16f3e,_0x2ac0a0,_0x5a9389){var _0x228582=_0x39927c;N(this,_0x228582(0x373),null),N(this,'_pendingMutations',[]),(this[_0x228582(0x1bf)]=_0x2931b7,this[_0x228582(0x33e)]=_0x462e32,this[_0x228582(0x34b)]=_0x566973,this[_0x228582(0x31b)]=_0x192d7f,this['_undoRedoService']=_0x16f3e,this['_revisionService']=_0x2ac0a0,this[_0x228582(0xbf)]=_0x5a9389,this[_0x228582(0x373)]=_0x32e215,this[_0x228582(0x3a3)]=_0x4da914);}[_0x39927c(0x27a)](_0x225ecd){var _0x3ada95=_0x39927c;const _0x564eb7=this[_0x3ada95(0x252)]['getCurrentRevOfUnit'](this[_0x3ada95(0x1bf)]);return _0x225ecd[_0x3ada95(0x209)]>_0x564eb7+0x1?(this[_0x3ada95(0x34b)][_0x3ada95(0x1a6)]({'from':_0x564eb7,'to':_0x225ecd[_0x3ada95(0x209)]-0x1}),!0x0):!0x1;}[_0x39927c(0x1a1)](_0x4b5aa3){var _0x55037d=_0x39927c;this[_0x55037d(0x2b0)][_0x55037d(0xe5)](this[_0x55037d(0x1bf)],_0x4b5aa3);}[_0x39927c(0x3ae)](_0x4e2aa5){var _0x26d868=_0x39927c,_0xdb93fb,_0x4be7ae;(_0x4be7ae=(_0xdb93fb=this[_0x26d868(0x34b)])[_0x26d868(0xb9)])==null||_0x4be7ae['call'](_0xdb93fb,_0x4e2aa5);}[_0x39927c(0x13c)](_0x301ef6){var _0x275d4e=_0x39927c,_0x141a3c,_0x307fed;return(_0x307fed=(_0x141a3c=this[_0x275d4e(0x34b)])[_0x275d4e(0x2c7)])==null?void 0x0:_0x307fed['call'](_0x141a3c,_0x301ef6);}['_transformStateCache'](_0x515566){var _0x29a4cf=_0x39927c,_0x49ebcc,_0x287700;return(_0x287700=(_0x49ebcc=this[_0x29a4cf(0x34b)])['onTransformState'])==null?void 0x0:_0x287700[_0x29a4cf(0x15d)](_0x49ebcc,_0x515566);}[_0x39927c(0x332)](_0x29b9d0){var _0x4fb2d5=_0x39927c,_0x58ffee,_0x9ea05e,_0x14a493;return(_0x14a493=(_0x9ea05e=(_0x58ffee=this['_handler'])[_0x4fb2d5(0x2a9)])==null?void 0x0:_0x9ea05e['call'](_0x58ffee,_0x29b9d0))!=null?_0x14a493:_0x29b9d0;}[_0x39927c(0x22e)](_0x25d4ec){var _0x3a58e6=_0x39927c,_0x231685,_0x316ecd,_0x49db03;return(_0x49db03=(_0x316ecd=(_0x231685=this[_0x3a58e6(0x34b)])[_0x3a58e6(0x3b5)])==null?void 0x0:_0x316ecd['call'](_0x231685,_0x25d4ec))!=null?_0x49db03:_0x25d4ec;}[_0x39927c(0x130)](_0x910818){var _0x52d9ce=_0x39927c,_0xbb268d,_0x53b25d;if(this[_0x52d9ce(0x33e)]===Q[_0x52d9ce(0x167)]){const {unitID:_0x4bd074,mutations:_0x5e2e58,memberID:_0x473442}=_0x910818,_0x43e00d=_0x5e2e58[0x0][_0x52d9ce(0x1fb)][_0x52d9ce(0xf8)];Array[_0x52d9ce(0x23c)](_0x43e00d)&&_0x43e00d[_0x52d9ce(0x1ad)]>0x0&&((_0x53b25d=(_0xbb268d=this[_0x52d9ce(0x34b)])[_0x52d9ce(0x329)])==null||_0x53b25d[_0x52d9ce(0x15d)](_0xbb268d,{'unitID':_0x4bd074,'memberID':_0x473442,'textRanges':_0x43e00d}));}}[_0x39927c(0x296)](){var _0x2bfff6=_0x39927c,_0x54ecf9;(_0x54ecf9=this[_0x2bfff6(0xbf)])==null||_0x54ecf9[_0x2bfff6(0x38e)](this[_0x2bfff6(0x1bf)],this['type'],this['_awaitingChangeset'],this[_0x2bfff6(0x3a3)]);}[_0x39927c(0x2d8)](){var _0x3c176e=_0x39927c;return this[_0x3c176e(0x252)][_0x3c176e(0x115)](this[_0x3c176e(0x1bf)]);}[_0x39927c(0x251)](){var _0x4279b8=_0x39927c;this['_revisionService'][_0x4279b8(0x3ac)](this[_0x4279b8(0x1bf)]);}['_executeRemoteChangeset'](_0x2336b9){var _0x3027ca=_0x39927c,_0x11d73b;let _0x54b8cd=this[_0x3027ca(0x332)](_0x2336b9);_0x54b8cd=this[_0x3027ca(0x22e)](_0x54b8cd);const _0x8a147d=_0x420764(_0x54b8cd[_0x3027ca(0xf0)],this['_commandService'],{'fromCollab':!0x0});if(!_0x8a147d[_0x3027ca(0x1f9)])throw _0x8a147d['error']instanceof Error?_0x8a147d[_0x3027ca(0x1e7)]:new Error((_0x11d73b=_0x8a147d[_0x3027ca(0x1e7)])!=null?_0x11d73b:_0x3027ca(0x10b));this[_0x3027ca(0x13c)](_0x54b8cd),this['_transformStateCache'](_0x54b8cd),this['_transformUndoredo'](_0x2336b9),this[_0x3027ca(0x3ae)](_0x54b8cd),this[_0x3027ca(0x130)](_0x54b8cd),this['_incrementRevisionNumber']();}}let De=class extends Re{constructor(_0x5ab349,_0x2240ac,_0x19864b,_0x2758e2,_0x38f220,_0x2fb2a4,_0x5e57b5,_0x5e3b57,_0x1f230f,_0x3de994){var _0x23d8c3=_0x39927c;super(_0x5ab349,_0x2240ac,null,[],_0x19864b,_0x5e57b5,_0x2fb2a4,_0x2758e2,_0x3de994),N(this,_0x23d8c3(0x210),'synced'),(this['_injector']=_0x38f220,this[_0x23d8c3(0x2c0)]=_0x5e3b57,this[_0x23d8c3(0x2e1)]=_0x1f230f,this['localCacheService']=_0x3de994);}[_0x39927c(0x126)](_0x434a77){var _0x5ec671=_0x39927c;const _0x4b13ef=this[_0x5ec671(0x169)][_0x5ec671(0x27f)](oe,this['unitID'],this['type'],[_0x434a77],this[_0x5ec671(0x34b)]);return _0x4b13ef[_0x5ec671(0xec)](),_0x4b13ef[_0x5ec671(0x296)](),_0x4b13ef;}[_0x39927c(0x24b)](_0xd820b1){var _0x5756e9=_0x39927c;if(this[_0x5756e9(0x27a)](_0xd820b1))return this[_0x5756e9(0x169)][_0x5756e9(0x27f)](te,this['unitID'],this[_0x5756e9(0x33e)],null,[],null,[_0xd820b1],this[_0x5756e9(0x34b)]);try{const _0x2ae6a8=this[_0x5756e9(0x2e1)]['transformMutationsWithChangeset'](_0xd820b1,[ur]);if(_0x5000cb(_0x2ae6a8)){const {c1Prime:_0x34a200}=_0x2ae6a8;return this[_0x5756e9(0x37b)](_0x34a200),this;}throw _0x2ae6a8[_0x5756e9(0x1e7)];}catch(_0x34e49b){return this[_0x5756e9(0x2c0)][_0x5756e9(0x1e7)](_0x34e49b),this[_0x5756e9(0x19f)](!0x1);}}[_0x39927c(0x19f)](_0x132861){var _0xe60d27=_0x39927c;return this[_0xe60d27(0x169)][_0xe60d27(0x27f)](de,this['unitID'],this[_0xe60d27(0x33e)],null,[],this['_handler'],_0x132861);}[_0x39927c(0x30f)](){var _0x7a253c=_0x39927c;throw new Error(_0x7a253c(0x2ea));}['onRemoteRej'](){var _0x3bd1e3=_0x39927c;throw new Error(_0x3bd1e3(0x307));}[_0x39927c(0x218)](){return this;}[_0x39927c(0x19e)](){var _0x495e3a=_0x39927c;return this[_0x495e3a(0x169)][_0x495e3a(0x27f)](fe,this['unitID'],this[_0x495e3a(0x33e)],null,[],this[_0x495e3a(0x34b)]);}[_0x39927c(0xe7)](){return this;}[_0x39927c(0x2e3)](){var _0x24b97b=_0x39927c;throw new Error(_0x24b97b(0x331));}[_0x39927c(0x149)](){var _0x349ce4=_0x39927c;const _0x47324e=this[_0x349ce4(0x252)][_0x349ce4(0x115)](this[_0x349ce4(0x1bf)]);return this[_0x349ce4(0x34b)][_0x349ce4(0x1a6)]({'from':_0x47324e,'to':0x0}),this['_injector'][_0x349ce4(0x27f)](te,this['unitID'],this[_0x349ce4(0x33e)],null,[],null,[],this[_0x349ce4(0x34b)]);}};De=be([A(0x3,_0xbc9492(_0x5b7e83)),A(0x4,_0xbc9492(_0x42904b)),A(0x5,_0x6c51a4),A(0x6,_0x4648fa),A(0x7,_0xa0a262),A(0x8,_0x56a4c4),A(0x9,_0x16b553(J))],De);let oe=class extends Re{constructor(_0x581481,_0x2a5184,_0x15211a,_0x131ce4,_0x3fb2fb,_0x54c5d7,_0x9558ea,_0x5e7a30,_0x4ae559,_0x43794d,_0x1abd60,_0x124bd5,_0x2bf9bf,_0x39a05b){var _0x65a56f=_0x39927c;super(_0x581481,_0x2a5184,null,_0x15211a,_0x131ce4,_0x4ae559,_0x2bf9bf,_0x54c5d7,_0x39a05b),N(this,_0x65a56f(0x210),_0x65a56f(0x133)),N(this,_0x65a56f(0x109),null),N(this,'_sendingTimer',null),(this[_0x65a56f(0x169)]=_0x3fb2fb,this[_0x65a56f(0x258)]=_0x9558ea,this[_0x65a56f(0x2c0)]=_0x5e7a30,this['_configService']=_0x43794d,this[_0x65a56f(0x2e1)]=_0x1abd60,this[_0x65a56f(0x234)]=_0x124bd5);}[_0x39927c(0x126)](_0x3ada87){var _0x3db566=_0x39927c;return this[_0x3db566(0x3a3)][_0x3db566(0x14b)](_0x3ada87),this[_0x3db566(0x296)](),this;}[_0x39927c(0x24b)](_0x32c34a){var _0x1e06e9=_0x39927c;if(this[_0x1e06e9(0x27a)](_0x32c34a))return this[_0x1e06e9(0x2e0)](),this[_0x1e06e9(0x169)]['createInstance'](te,this[_0x1e06e9(0x1bf)],this[_0x1e06e9(0x33e)],null,this[_0x1e06e9(0x3a3)],null,[_0x32c34a],this[_0x1e06e9(0x34b)]);try{const _0x448f00=this[_0x1e06e9(0x2e1)][_0x1e06e9(0x257)](_0x32c34a,this[_0x1e06e9(0x3a3)]);if(_0x5000cb(_0x448f00)){const {c1Prime:_0x4d22fd,m2Prime:_0x532372}=_0x448f00;this['_executeRemoteChangeset'](_0x4d22fd);const _0x51ce49=this['_injector'][_0x1e06e9(0x27f)](oe,this[_0x1e06e9(0x1bf)],this[_0x1e06e9(0x33e)],_0x532372,this[_0x1e06e9(0x34b)]);this[_0x1e06e9(0x2e0)]();const _0x48abb8=new Date()[_0x1e06e9(0x21b)](),_0x1beac3=this[_0x1e06e9(0x109)]?Math[_0x1e06e9(0x159)](this['_scheduleCompleteTimestamp']-_0x48abb8,0x0):this[_0x1e06e9(0x145)]();return _0x51ce49[_0x1e06e9(0xec)](_0x1beac3),_0x51ce49;}throw _0x448f00[_0x1e06e9(0x1e7)];}catch(_0x13934a){return this[_0x1e06e9(0x2c0)][_0x1e06e9(0x1e7)](_0x13934a),this[_0x1e06e9(0x19f)](!0x1);}}[_0x39927c(0x30f)](){var _0xa94272=_0x39927c;throw new Error(_0xa94272(0x308));}[_0x39927c(0x25e)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x39927c(0x218)](){return this;}[_0x39927c(0x19e)](){var _0x2d4d47=_0x39927c;return this[_0x2d4d47(0x2e0)](),this[_0x2d4d47(0x169)]['createInstance'](fe,this[_0x2d4d47(0x1bf)],this[_0x2d4d47(0x33e)],null,this['_pendingMutations'],this[_0x2d4d47(0x34b)]);}['toggleOnline'](){return this;}[_0x39927c(0xec)](_0x2bd856){var _0xb2121a=_0x39927c;const _0x45605e=_0x2bd856!=null?_0x2bd856:this[_0xb2121a(0x145)]();this[_0xb2121a(0x109)]=new Date()[_0xb2121a(0x21b)]()+_0x45605e,this[_0xb2121a(0x1ce)]=setTimeout(()=>{var _0x29c0c1=_0xb2121a;this[_0x29c0c1(0x2e0)]();let _0x45766c=null;switch(this[_0x29c0c1(0x33e)]){case Q[_0x29c0c1(0x2e8)]:{_0x45766c=zt(this[_0x29c0c1(0x3a3)],this[_0x29c0c1(0x1bf)],this[_0x29c0c1(0x234)],this['_revisionService'],this[_0x29c0c1(0x258)]);break;}case Q[_0x29c0c1(0x167)]:{this[_0x29c0c1(0x3a3)][_0x29c0c1(0x1b3)](_0x205d1c=>_0x205d1c['id']===_0x6be229['id'])?_0x45766c=lr(this[_0x29c0c1(0x3a3)],this[_0x29c0c1(0x1bf)],this[_0x29c0c1(0x234)],this[_0x29c0c1(0x252)],this[_0x29c0c1(0x258)]):_0x45766c=zt(this['_pendingMutations'],this[_0x29c0c1(0x1bf)],this[_0x29c0c1(0x234)],this['_revisionService'],this[_0x29c0c1(0x258)]);break;}default:throw new Error(_0x29c0c1(0x350)+this[_0x29c0c1(0x33e)]+_0x29c0c1(0x1fd));}const {changeset:_0x19f929,pendingMutations:_0xe4c656}=_0x45766c;this[_0x29c0c1(0x34b)][_0x29c0c1(0x301)](_0x19f929);const _0x204fc2=_0xe4c656[_0x29c0c1(0x1ad)]?this[_0x29c0c1(0x169)][_0x29c0c1(0x27f)](ae,this[_0x29c0c1(0x1bf)],this[_0x29c0c1(0x33e)],_0x19f929,_0xe4c656,this[_0x29c0c1(0x34b)],void 0x0):this['_injector'][_0x29c0c1(0x27f)](ue,this['unitID'],this[_0x29c0c1(0x33e)],_0x19f929,this[_0x29c0c1(0x34b)]);_0x204fc2['_updateLocalCache'](),this[_0x29c0c1(0x34b)][_0x29c0c1(0x185)](this,_0x204fc2);},_0x45605e);}[_0x39927c(0x145)](){var _0x148649=_0x39927c,_0x3ea2da;const _0x26adcc=this['_configService'][_0x148649(0x1a2)](q);return(_0x3ea2da=_0x26adcc==null?void 0x0:_0x26adcc[_0x148649(0xc8)])!=null?_0x3ea2da:Cn;}[_0x39927c(0x2e3)](){var _0x72e50a=_0x39927c;throw new Error(_0x72e50a(0x38f));}[_0x39927c(0x2e0)](){var _0x3d30ce=_0x39927c;this['_sendingTimer']!=null&&(clearTimeout(this[_0x3d30ce(0x1ce)]),this[_0x3d30ce(0x1ce)]=null);}[_0x39927c(0x19f)](_0x1dd4c6){var _0xab81f9=_0x39927c;return this['_clearScheduledTask'](),this[_0xab81f9(0x169)][_0xab81f9(0x27f)](de,this['unitID'],this['type'],null,this[_0xab81f9(0x3a3)],this[_0xab81f9(0x34b)],_0x1dd4c6);}};oe=be([A(0x4,_0xbc9492(_0x42904b)),A(0x5,_0xbc9492(_0x5b7e83)),A(0x6,_0xbc9492(xe)),A(0x7,_0xa0a262),A(0x8,_0x4648fa),A(0x9,_0x227ac9),A(0xa,_0x56a4c4),A(0xb,_0x252c78),A(0xc,_0x6c51a4),A(0xd,_0x16b553(J))],oe);let ue=class extends Re{constructor(_0x52ddfe,_0x93bf6a,_0x41ff7e,_0x23f8ec,_0x4b2401,_0x3b9db2,_0x37b3f9,_0x39a24e,_0x16fc76,_0x496c93,_0x503a81){var _0x4de8b=_0x39927c;super(_0x52ddfe,_0x93bf6a,_0x41ff7e,[],_0x23f8ec,_0x37b3f9,_0x496c93,_0x3b9db2,_0x503a81),N(this,'status','awaiting'),N(this,_0x4de8b(0x2be),0x0),N(this,'_resendTimer'),N(this,_0x4de8b(0x233)),(this[_0x4de8b(0x169)]=_0x4b2401,this[_0x4de8b(0x2c0)]=_0x39a24e,this[_0x4de8b(0x2e1)]=_0x16fc76);}[_0x39927c(0x126)](_0x17980f){var _0x4b69fd=_0x39927c;this['_clearScheduledTask']();const _0x4ac74c=this['_injector'][_0x4b69fd(0x27f)](ae,this[_0x4b69fd(0x1bf)],this[_0x4b69fd(0x33e)],this[_0x4b69fd(0x373)],[_0x17980f],this[_0x4b69fd(0x34b)],this['_resendTimer']);return _0x4ac74c[_0x4b69fd(0x296)](),_0x4ac74c;}[_0x39927c(0x24b)](_0xa954e9){var _0xf379f5=_0x39927c;if(this[_0xf379f5(0x27a)](_0xa954e9))return this[_0xf379f5(0x2e0)](),this['_injector'][_0xf379f5(0x27f)](te,this['unitID'],this[_0xf379f5(0x33e)],this[_0xf379f5(0x373)],[],null,[_0xa954e9],this[_0xf379f5(0x34b)]);try{const _0x516f59=this[_0xf379f5(0x2e1)][_0xf379f5(0x2ef)]([_0xa954e9],[this[_0xf379f5(0x373)]],!0x1);if(_0x8a4d76(_0x516f59)){const {c1Prime:_0x39f625,c2Prime:_0x4c317a}=_0x516f59;this[_0xf379f5(0x37b)](_0x39f625[0x0]),_0x4c317a[0x0][_0xf379f5(0x100)]=this[_0xf379f5(0x2d8)](),this[_0xf379f5(0x2e0)]();const _0x784569=this['_injector'][_0xf379f5(0x27f)](ue,this[_0xf379f5(0x1bf)],this[_0xf379f5(0x33e)],_0x4c317a[0x0],this[_0xf379f5(0x34b)]);return _0x784569['_updateLocalCache'](),_0x784569;}return this[_0xf379f5(0x19f)](!0x1);}catch(_0x5c2268){return this[_0xf379f5(0x2c0)][_0xf379f5(0x1e7)](_0x5c2268),this['_onConflict'](!0x1);}}[_0x39927c(0x30f)](_0x551b9a){var _0x42898f=_0x39927c;this[_0x42898f(0x2e0)]();const _0xa821f1=this[_0x42898f(0x252)][_0x42898f(0x115)](this[_0x42898f(0x1bf)]);if(_0x551b9a['revision']<_0xa821f1-0x1)return this;if(this[_0x42898f(0x27a)](_0x551b9a))return this[_0x42898f(0x169)][_0x42898f(0x27f)](te,this[_0x42898f(0x1bf)],this[_0x42898f(0x33e)],null,[],this[_0x42898f(0x373)],[],this['_handler']);this[_0x42898f(0x251)]();const _0x20b180=this[_0x42898f(0x169)][_0x42898f(0x27f)](De,this['unitID'],this[_0x42898f(0x33e)],this[_0x42898f(0x34b)]);return _0x20b180[_0x42898f(0x296)](),_0x20b180;}[_0x39927c(0x25e)](_0x36fab1){var _0x2a2978=_0x39927c;return this[_0x2a2978(0x19f)](!!(_0x36fab1!=null&&_0x36fab1[_0x2a2978(0x1ef)]));}[_0x39927c(0x218)](_0x555e6d){var _0x14cb62=_0x39927c;return this[_0x14cb62(0x2be)]>Ni?this[_0x14cb62(0x19e)]():(this[_0x14cb62(0x31e)]=Oi(this[_0x14cb62(0x2be)],{'timeout':this[_0x14cb62(0x2be)],'reqId':_0x555e6d['reqId']}),this[_0x14cb62(0x233)]=this[_0x14cb62(0x31e)]['subscribe'](({reqId:_0x43c03d,timeout:_0x1b5d77})=>{var _0x3d611a=_0x14cb62;this[_0x3d611a(0x216)](_0x43c03d,_0x1b5d77);}),this);}['toggleOffline'](){var _0x4bdc1b=_0x39927c;return this[_0x4bdc1b(0x2e0)](),this[_0x4bdc1b(0x169)]['createInstance'](fe,this[_0x4bdc1b(0x1bf)],this[_0x4bdc1b(0x33e)],this['_awaitingChangeset'],[],this['_handler']);}[_0x39927c(0xe7)](){return this;}[_0x39927c(0x2e3)](){var _0x39fd0a=_0x39927c;this[_0x39fd0a(0x34b)][_0x39fd0a(0x301)](this[_0x39fd0a(0x373)]);}['_onConflict'](_0x40ccc1){var _0x5b0a4f=_0x39927c;return this[_0x5b0a4f(0x2e0)](),this[_0x5b0a4f(0x169)][_0x5b0a4f(0x27f)](de,this['unitID'],this[_0x5b0a4f(0x33e)],this[_0x5b0a4f(0x373)],[],this[_0x5b0a4f(0x34b)],_0x40ccc1);}[_0x39927c(0x216)](_0x334b32,_0x4ba0d7){var _0x2dad03=_0x39927c,_0x49db7d;_0x334b32===((_0x49db7d=this[_0x2dad03(0x373)])==null?void 0x0:_0x49db7d[_0x2dad03(0x224)])&&(this[_0x2dad03(0x2e3)](),this[_0x2dad03(0x2be)]=_0x4ba0d7===0x0?0x3e8:_0x4ba0d7*0x2);}[_0x39927c(0x2e0)](){var _0xe58a6b=_0x39927c,_0x50c597;(_0x50c597=this[_0xe58a6b(0x233)])==null||_0x50c597[_0xe58a6b(0x1f5)](),this[_0xe58a6b(0x2be)]=0x0;}};ue=be([A(0x4,_0xbc9492(_0x42904b)),A(0x5,_0xbc9492(_0x5b7e83)),A(0x6,_0x4648fa),A(0x7,_0xa0a262),A(0x8,_0x56a4c4),A(0x9,_0x6c51a4),A(0xa,_0x16b553(J))],ue);let ae=class extends Re{constructor(_0x35e113,_0x2e3e30,_0x409f12,_0x66facc,_0x274c15,_0x15e605,_0x470ce9,_0x3a9959,_0x8e111f,_0x4c2344,_0x5558a7,_0xa1dbe8,_0x483821){var _0x54639e=_0x39927c;super(_0x35e113,_0x2e3e30,_0x409f12,_0x66facc,_0x274c15,_0x8e111f,_0xa1dbe8,_0x3a9959,_0x483821),N(this,_0x54639e(0x210),'awaiting_with_pending'),N(this,'_resendTimeout',0x0),N(this,_0x54639e(0x31e)),N(this,_0x54639e(0x233)),(this[_0x54639e(0x169)]=_0x470ce9,this[_0x54639e(0x2c0)]=_0x4c2344,this[_0x54639e(0x2e1)]=_0x5558a7,this[_0x54639e(0x1e1)]=_0x483821,_0x15e605&&(this[_0x54639e(0x31e)]=_0x15e605,this[_0x54639e(0x233)]=this['_resendTimer'][_0x54639e(0x34e)](({reqId:_0x3e3c6d,timeout:_0x41f088})=>{var _0x2fbb67=_0x54639e;this[_0x2fbb67(0x216)](_0x3e3c6d,_0x41f088);})));}[_0x39927c(0x126)](_0x51f125){var _0x55ee7e=_0x39927c;return this[_0x55ee7e(0x3a3)][_0x55ee7e(0x14b)](_0x51f125),this;}['onRemoteChangeset'](_0x1cf3a6){var _0x3128bf=_0x39927c;if(this['_checkMissing'](_0x1cf3a6))return this['_clearScheduledTask'](),this[_0x3128bf(0x169)]['createInstance'](te,this[_0x3128bf(0x1bf)],this[_0x3128bf(0x33e)],this[_0x3128bf(0x373)],this[_0x3128bf(0x3a3)],null,[_0x1cf3a6],this[_0x3128bf(0x34b)]);try{const _0x12e80e=this[_0x3128bf(0x2e1)][_0x3128bf(0x2ef)]([_0x1cf3a6],[this[_0x3128bf(0x373)]],!0x1);if(_0x8a4d76(_0x12e80e)){const {c1Prime:_0x58604e,c2Prime:_0x480982}=_0x12e80e,_0xb0aa5d=this[_0x3128bf(0x2e1)]['transformMutationsWithChangeset'](_0x58604e[0x0],this[_0x3128bf(0x3a3)]);if(_0x5000cb(_0xb0aa5d)){const {c1Prime:_0x1d6149,m2Prime:_0x53e363}=_0xb0aa5d;return this[_0x3128bf(0x37b)](_0x1d6149),_0x480982[0x0][_0x3128bf(0x100)]=this['_getCurrentRevision'](),this[_0x3128bf(0x2e0)](),this[_0x3128bf(0x169)][_0x3128bf(0x27f)](ae,this[_0x3128bf(0x1bf)],this[_0x3128bf(0x33e)],_0x480982[0x0],_0x53e363,this[_0x3128bf(0x34b)],void 0x0);}throw _0xb0aa5d[_0x3128bf(0x1e7)];}throw _0x12e80e[_0x3128bf(0x1e7)];}catch(_0x4b91f6){return this['_logService'][_0x3128bf(0x1e7)](_0x4b91f6),this[_0x3128bf(0x19f)](!0x1);}}['onRemoteAck'](_0x22ae69){var _0x1ccbb6=_0x39927c;if(this[_0x1ccbb6(0x2e0)](),this[_0x1ccbb6(0x27a)](_0x22ae69))return this[_0x1ccbb6(0x169)][_0x1ccbb6(0x27f)](te,this[_0x1ccbb6(0x1bf)],this[_0x1ccbb6(0x33e)],null,this[_0x1ccbb6(0x3a3)],this['_awaitingChangeset'],[],this[_0x1ccbb6(0x34b)]);this[_0x1ccbb6(0x251)]();const _0x551ac5=this[_0x1ccbb6(0x169)]['createInstance'](oe,this['unitID'],this[_0x1ccbb6(0x33e)],this[_0x1ccbb6(0x3a3)],this[_0x1ccbb6(0x34b)]);return _0x551ac5['_schedule'](),_0x551ac5['_updateLocalCache'](),_0x551ac5;}['onRemoteRej'](_0x3b338b){return this['_onConflict'](!!(_0x3b338b!=null&&_0x3b338b['isPermissionRej']));}[_0x39927c(0x218)](_0x5d4eeb){var _0x55b308=_0x39927c;return this[_0x55b308(0x2be)]>Ni?this['toggleOffline']():(this['_resendTimer']=Oi(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x5d4eeb['reqId']}),this['_sender']=this[_0x55b308(0x31e)]['subscribe'](({reqId:_0x2bff3d,timeout:_0x410f4d})=>{var _0x524b81=_0x55b308;this[_0x524b81(0x216)](_0x2bff3d,_0x410f4d);}),this);}[_0x39927c(0x19e)](){var _0x367718=_0x39927c;return this[_0x367718(0x2e0)](),this[_0x367718(0x169)][_0x367718(0x27f)](fe,this[_0x367718(0x1bf)],this['type'],this[_0x367718(0x373)],this[_0x367718(0x3a3)],this[_0x367718(0x34b)]);}[_0x39927c(0xe7)](){return this;}[_0x39927c(0x2e3)](){var _0x2d8e60=_0x39927c;this[_0x2d8e60(0x34b)][_0x2d8e60(0x301)](this[_0x2d8e60(0x373)]);}['_onConflict'](_0x155a71){var _0x30ecbc=_0x39927c;return this[_0x30ecbc(0x2e0)](),this[_0x30ecbc(0x169)][_0x30ecbc(0x27f)](de,this[_0x30ecbc(0x1bf)],this['type'],null,this[_0x30ecbc(0x3a3)],this['_handler'],_0x155a71);}[_0x39927c(0x216)](_0x4b70c1,_0x41f979){var _0x7a0362=_0x39927c,_0x58b8ab;_0x4b70c1===((_0x58b8ab=this[_0x7a0362(0x373)])==null?void 0x0:_0x58b8ab[_0x7a0362(0x224)])&&(this[_0x7a0362(0x2e3)](),this[_0x7a0362(0x2be)]=_0x41f979===0x0?0x3e8:_0x41f979*0x2);}[_0x39927c(0x2e0)](){var _0x1d44ab=_0x39927c,_0x4b4023;(_0x4b4023=this[_0x1d44ab(0x233)])==null||_0x4b4023[_0x1d44ab(0x1f5)](),this[_0x1d44ab(0x2be)]=0x0;}};ae=be([A(0x6,_0xbc9492(_0x42904b)),A(0x7,_0xbc9492(_0x5b7e83)),A(0x8,_0x4648fa),A(0x9,_0xa0a262),A(0xa,_0x56a4c4),A(0xb,_0x6c51a4),A(0xc,_0x16b553(J))],ae);let de=class extends Re{constructor(_0x1a57d2,_0x9e9241,_0x1b7c32,_0x487ecb,_0x1d50b8,_0x89ae49=!0x1,_0x22f15d,_0x4ab284,_0x5ad531,_0x1b168c,_0x3f6be1,_0x9f4096,_0x3cdc3c){var _0x1d5b32=_0x39927c;super(_0x1a57d2,_0x9e9241,_0x1b7c32,_0x487ecb,_0x1d50b8,_0x4ab284,_0x5ad531,_0x1b168c,_0x3cdc3c),N(this,_0x1d5b32(0x210),'conflict'),(this[_0x1d5b32(0xf1)]=_0x89ae49,this[_0x1d5b32(0x276)]=_0x22f15d,this[_0x1d5b32(0xe8)]=_0x3f6be1,this[_0x1d5b32(0x11f)]=_0x9f4096,this[_0x1d5b32(0x1e1)]=_0x3cdc3c,this['_showConflictNotification'](),this[_0x1d5b32(0x1b1)](),this[_0x1d5b32(0x2fe)]());}[_0x39927c(0x126)](){return this;}[_0x39927c(0x24b)](){return this;}[_0x39927c(0x30f)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x39927c(0x19e)](){return this;}['toggleOnline'](){return this;}['resend'](){var _0xf37393=_0x39927c;throw new Error(_0xf37393(0x1c0));}[_0x39927c(0x1b1)](){var _0x5ce6b3=_0x39927c,_0x969847;(_0x969847=this[_0x5ce6b3(0xbf)])==null||_0x969847[_0x5ce6b3(0x38e)](this[_0x5ce6b3(0x1bf)],this['type'],null,[]);}[_0x39927c(0x1df)](){var _0x13e06a=_0x39927c;this[_0x13e06a(0xf1)]?this[_0x13e06a(0x11f)][_0x13e06a(0xc5)]({'id':se[_0x13e06a(0x2b2)]}):this['_collaborationUIEventService'][_0x13e06a(0xc5)]({'id':se[_0x13e06a(0x310)]});}[_0x39927c(0x2fe)](){var _0x56fd9f=_0x39927c;this[_0x56fd9f(0x276)]['updatePermissionPoint'](new _0x3c7e45(this[_0x56fd9f(0x1bf)])['id'],!0x1);}};de=be([A(0x6,_0xbc9492(_0x17f25c)),A(0x7,_0x4648fa),A(0x8,_0x6c51a4),A(0x9,_0xbc9492(_0x5b7e83)),A(0xa,_0xbc9492(_0x3b67e6)),A(0xb,_0xbc9492(pe)),A(0xc,_0x16b553(J))],de);let fe=class extends Re{constructor(_0x15c65a,_0x243f6e,_0xe91559,_0x3e8028,_0x4065df,_0x29617d,_0x6e3e1d,_0x5690a7,_0x5003d9,_0x529856){var _0x1cc954=_0x39927c;super(_0x15c65a,_0x243f6e,_0xe91559,_0x3e8028,_0x4065df,_0x5690a7,_0x5003d9,_0x6e3e1d,_0x529856),N(this,_0x1cc954(0x210),_0x1cc954(0x1c6)),this[_0x1cc954(0x169)]=_0x29617d;}[_0x39927c(0x126)](_0x4acce0){var _0x3fb298=_0x39927c;return this[_0x3fb298(0x3a3)][_0x3fb298(0x14b)](_0x4acce0),this[_0x3fb298(0x296)](),this;}[_0x39927c(0x24b)](_0x51d18e){var _0x16bbdb=_0x39927c;throw new Error(_0x16bbdb(0x1ec));}[_0x39927c(0x30f)](){var _0x4bc3ae=_0x39927c;throw new Error(_0x4bc3ae(0xf6));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x39927c(0x218)](){return this;}[_0x39927c(0x19e)](){return this;}[_0x39927c(0xe7)](){var _0x520b32=_0x39927c;const {_injector:_0x38ef75,_pendingMutations:_0x2fc071,_awaitingChangeset:_0x1b52e8,unitID:_0x145a06,_handler:_0x31eaaa,type:_0xfa1ba3}=this,_0xea04b0=Di(_0x38ef75,_0x145a06,_0xfa1ba3,_0x1b52e8,_0x2fc071,_0x31eaaa);return _0xea04b0 instanceof oe?_0xea04b0[_0x520b32(0xec)]():(_0xea04b0 instanceof ae||_0xea04b0 instanceof ue)&&_0xea04b0[_0x520b32(0x2e3)](),_0xea04b0;}[_0x39927c(0x2e3)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};function _0x1002(){var _0xa00aa2=['awaitingChangeset','add','_createHandler','entries','LOGIN_URL_KEY','getUnitId','ticket','UnitEmbedded','_members','actions','237944Ckmyiy','UPDATE_CURSOR','NEW_CHANGESETS','HmacMD5','_permissionService','JOIN_ROOM_PERMISSION_DENIED','_minBufferSize','$super','_checkMissing','_state$','encode','SUBMIT_CHANGESET_TIMEOUT','_invKeySchedule','createInstance','_append','min','getCurrentSelections','_loadSheet','Hex','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_prevBlock','_updateState','c2Prime','unit-cache-','prototype','csShouldRetryEvent','Cipher','_registerDependencies','_onRecvEvent','online$','_socketService','url','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_waitCount','change$','delete','_updateLocalCache','onload','action','changesets','hasher','userID','_status$','Univer','_createInitialState','closeSession','CLOSE_ROOM','awaiting_with_pending','pluginName','code','debug','_getAPIPrefixPath','_waitForHeartbeatResponse','_collaborationSessionService','_getDownloadEndpointURL','onTransformRemoteChangesetByIMECache','_decreaseWaiting','getRoom','session','_networkConditionService','uploadFileServerUrl','CHANGESET_REJ','_undoRedoService','infoRsp','PERMISSION_DENIED','SYNCED','updatePermissionObjEvent','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_getRedoStack','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','lib','/universer-api/oidc/authpage','OTHER_CLIENTS_EDITING','createSocket','_undoStacks','_entityInit$','_resendTimeout','capture','_logService','onCommentUpdate','HttpExport','list','objects','_commentService','_shouldReportTelemetry','onTransformIME','_imageSourceCache','JOIN_ROOM_NOT_EXISTS','LIVESHARE_FETCH_OPERATIONS','SOCKET_FAILED','Utf8','charCodeAt','CHANGESET_SHOULD_RETRY','_change$','getCurrentUser','INGEST','msCrypto','APPLY_DUPLICATED','_transformStack','c1Prime','stopTime','initWorkbookPermissionChange','_getCurrentRevision','concat','image/png','COMPRESS_MUTATION_APPLY','_onMessage','message$','localeService','__creator','_clearScheduledTask','_transformService','Encryptor','resend','_createHmacHelper','_socket$','_telemetryInfo','_clearRedo','UNIVER_SHEET','LEAVE','[SyncedState]:\x20received\x20acknowledgement.','Error\x20on\x20receiving\x20event','byteOffset','_onRemoteACK','_onOffline','transformChangesets','Hasher','event$','/rev/','sessionTicket','_onUserJoin','asObservable','withCredentials','ivSize','_unlockTransition','_transitionLocked','defineProperty','_socketMessageSubscription','location','getValue','_disableEditing','\x0aCurrent:\x20','processBlock','onSendChangeset','NOT_COLLAB','sigBytes','_roomCreated$','salt','_rescheduleHeartbeat','[SyncedState]:\x20received\x20rejection.','[PendingState]:\x20received\x20acknowledgement.','_remoteChangesetQueue','string','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_removeRoom','USERS_LEAVE','SUBMIT_CHANGESET','onRemoteAck','CONFLICT','_getAPIPrefix','INTERNAL_ERROR','ERROR_IMAGE_TYPE','_getCtorByUniverType','USERS_ENTER','file','_onConnectionFailed','enableSingleActiveInstanceLock','/block/','synced','_commandService','readInt32LE','extend','_resendTimer','_getSessionTicket','_clearTimeoutTimer','univer-pro.collaboration-client.network-condition.service','authzUrl','telemetry\x20info\x20is\x20not\x20initialized','IDLE','encodeURIComponent','_toggleOffline','AWAITING','_initMergeInterceptor','onSyncEditingCollabCursor','FAIL','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_changesetSessionId','Malformed\x20UTF-8\x20data','format','commentUpdateEvent','resolve','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformRemoteChangesetByIMECache','CONNECTOR_DATA_TOO_LARGE','avatar','originalMeta','_acknowledgedAwaitingChangeset','override','?size=','_scheduleCollaborationTimeoutTimer','enableAuthServer','__Key__','/unit/','default','type','UNKNOWN_CMD','UNDEFINED','workbook','{fileID}','FETCH_MISSING','sid','_keyPriorReset','_onCombEvent','rng','session.join-failed','UNIVER_COLLABORATION_CLIENT_PLUGIN','auth.needGotoLoginAlert','_handler','_submitChangeset','_sendHeartbeatTimer','subscribe','ceil','[PendingState]:\x20unhandled\x20univer\x20type:\x20','COMPLETION_FINISHED','LIVESHARE_REQUEST_HOST','fromCharCode','42776iJyIax','collaboration_new_changeset','encryptBlock','SUCCUSS','close$','removeMember','save\x20fail\x20reason\x20is\x20','_throwTelemetryCollaborationNewChangeset','APPLY_REJECT','_nDataBytes','downloadEndpointUrl','src','equals','_ENC_XFORM_MODE','_singleActiveUnitService','permissionRejEvent','dispose$','SNAPSHOT_INVALID_SNAPSHOT','set','init','JOIN','reject','HELLO','ERROR_EXCEED_SIZE','floor','onMissedChangesetFetched','getMemberID','/collaborator','keySize','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_onRemoteRejected','_awaitingChangeset','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_onJoinRoomEvent','/universer-api/snapshot','_toggleOnline','loadOfflineData','algo','onlyLocal','_executeRemoteChangeset','getTypeOfUnitDisposed$','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','setConfig','selections','unitId','now','entityInit$','waitForRoom$','confirm','StreamCipher','_retryCount','[CollaborationSessionService]','clamp','objectActions','_getUploadFileURL','conflict','collaborators','_replaceFileID','updateOfflineData','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','post','_oKey','create','crypto','_doProcessBlock','[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.','join','getFocusedUnit','APPLY_NON_SEQUENTIAL_REVISION','_initCloseConn','getDeserializedSheetBlock','OTHER_CLIENT_EDITING','unknown','7475644ZqJZVy','getWorkbookSelections','exports','status$','map','parse','_pendingMutations','get','_sessionStatus$','session.room-full','_retryConnectingTimer','close','_candidateSocket','json','LOCAL_CACHE_INTERVAL','incrementRevOfUnit','headers','_transformSelections','session.room-not-exists','members$','forEach','ciphertext','getImage','_changesetReqId','onTransformRemoteChangesetByStateCache','_config','_unitID','collabSubmitChangesetUrl','ERROR_IMAGE','memberID','/object','AWAITING_WITH_PENDING','_telemetryService','LIVESHARE_TERMINATE','_compressMutationService','onTransformSelections','rev','_createInitialStateImpl','splice','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','fetchThroughInterceptors','_localCacheService','_doCryptBlock','UUID','APPLY_REVISION_CONFILICT','signUrlServerUrl','padding','emitEvent','_initUnitPermissionChange','clear','sendChangesetTimeout','/object/','PERMISSION_REJ','UNIVER_UNKNOWN','reverse','getInterceptPoints','OPTIONAL','key','socket\x20close','_startCollaboration','HmacSHA1','updateCursorEvent','replace','UNISCRIPT_RUN','encrypt','_getSignURL','put','awaiting','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','decryptBlock','_onRemoteChangeset','responseType','submit\x20changeset\x20error!','SEND_CHANGESET_TIMEOUT','UNAUTHENTICATED','duration','requestParams','_tryReconnect','MSG_FOR_ERROR','transformUndoRedo','_collaborationPaused','toggleOnline','_localeService','href','_doFinalize','connection\x20error','_schedule','/resources','SHOULD_CLOSE_CONN','_configService','mutations','_isPermissionRej','csRejEvent','m2Prime','dispose','byteLength','[OfflineState]:\x20received\x20acknowledgement.','_replayCachedMutations','textRanges','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','AES','updateMember','Could\x20not\x20dynamically\x20require\x20\x22','send','COLLAB_WEB_SOCKET_URL','function','baseRev','_getLoginPath','indexOf','find','socketService','_snapshotServerService','unpad','origin','[CollaborationEntity]','_scheduleCompleteTimestamp','_joinRoom','[CollaborationState]:\x20apply\x20error!','917535dihnZR','POST','_commentUpdate$','LIVESHARE_NEW_HOST','wsSessionTicketUrl','range','_startTelemetryCollaborationNewChangeset','YUUMI_UNABLE_LOAD_URL','_createSocketURL','getCurrentRevOfUnit','loadUnit','subject','_lockTransition','state$','_event$','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','setShowComponents','_reverseMap','LIVESHARE_OPERATION','_collaborationUIEventService','_initRequestHeader','name','append','PENDING','compute','_state','appendMutation','LICENSE_IMPORT_SIZE_EXCEEDED','compose','executeCommand','toString','HEARTBEAT_TIMEOUT','data','collaMsg','members','WordArray','_syncEditingCollabCursor','495oAxjLn','snapshot','pending','createCollaborator','iterations','collaboration-client.local-cache-service','enableOfflineEditing','target','fetching\x20missing\x20changesets\x20from\x20','/universer-api/user/session-ticket','has','_transformIMECache','BlockCipherMode','424624wBFqUL','createDecryptor','retryConnectingInterval','_getUndoStack','Undefined','_cipher','OFFLINE','_getSendChangesetTimeout','_doReset','COMPRESS_MUTATION_SEND','onStarting','fetchMiss','_onFetchMissResult','push','routeKey','ALREADY_EXISTS','COMMENT_UPDATE','univer-pro.collaboration-client-socket-service','HttpImport','uniscriptRunEvent','pad','pipe','generateRandomId','BufferedBlockAlgorithm','_data','symbol','includes','max','TOO_MANY_REQUESTS','editing\x20status\x20changed\x20to','[DataLoaderService]','call','_http','collaboratorID','_initDependencies','catch','getLatestCsReqIdBySid','Decryptor','error$','GLOBAL_ROOMS_CNT_EXCEEDS','_updateStatus','UNIVER_DOC','_applyRemoteChangeset','_injector','LICENSE_MAX_UNITS_EXCEEDED','substr','_timeoutTimer','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','CipherParams','words','FETCH_MISS','_hasher','getRandomValues','SNAPSHOT_SERVER_URL_KEY','YUUMI_SUBSCRIPTION_NOT_FOUND','_fetchMissChangesets','_DEC_XFORM_MODE','APPLY_PERMISSION_DENIED','INVALID_ARGUMENT','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_socket','RECV','apply','pauseCollaboration','UnitSnapshot','updatePermissionPoint','resourceIDs','\x20-\x20','random','_emitMembers','_roomMembers','onStateChange','getOwnPropertyDescriptor','_hash','FileId','onTransformState','collabWebSocketUrl','CHANGESET_ACK','\x20to\x20','_map','cmd','toLowerCase','/-/object/-/batch_allowed','setCurrentUser','_createSocket','getSnapshotAPIPath','sessionStatus$','kdf','42DcDRNo','_members$','_exhaustRemoteChangesetQueue','_substituteUndoStack','Base','getSheetId','repeat','next','toggleOffline','_onConflict','complete','_transformUndoredo','getConfig','_mode','JOIN_ROOM_FULL','PasswordBasedCipher','onMissingChangesets','stringify','_httpService','unitId\x20is\x20not\x20found','saveImage','_substituteRedoStack','focused$','length','subUnitId','PERSON','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_clearLocalCache','getUnitType','every','MD5','eventID','unitInfo$','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','mode','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','startTime','disposeWithMe','getTypeOfUnitAdded$','saveSnapshot','univer-pro.collaboration-client.single-active-unit-service','unitID','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_socketReady','HEARTBEAT','decrypt','OpenSSL','collaboration-client.config','offline','MUTATION','transformSelections','finalize','_iv','getUnitStatus$','ONLINE','_process','_sendingTimer','UPDATE_PERMISSION_OBJ','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','listRoles','deepClone','_collabSessionService','3UqSKbZ','getActiveSheet','UNIVER_SLIDE','_init','getCollabEntity','application/json','SHA1','SNAPSHOT_URL_KEY','hostname','SerializableCipher','BlockCipher','_showConflictNotification','3UzrkXd','localCacheService','SNAPSHOT_HAS_BEEN_REMOVED','reduce','JOIN_ROOM_FAILED','UNIVER_PROJECT','disableLocalCache','error','execute','startsWith','UNKNOWN_CODE','getSheetBlock','[OfflineState]:\x20received\x20changeset.','objectType','_keySchedule','isPermissionRej','_key','createEncryptor','LICENSE_DISTRO_REJECTED','_clearHeartbeatTimer','AUTHZ_URL_KEY','unsubscribe','getCollabEntity$','_collaborationTimeoutTimer','randomBytes','result','joinEvent','params','_clearCollaborationTimeoutTimer','\x20in\x20_schedule.','leaveEvent','2566310PMiyHL','cfg','fetch_missing','1180732dCqJXQ','updateCollaborator','UNRECOGNIZED','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_entities','body','fetchMissingChangesets','revision','filter','/universer-api/comb','fromCollab','deleteCollaborator','EvpKDF','Base64','status','Latin1','runId','[CollaborationUndoRedoService]','getAllMembers','SOCKET_FAILED_RETRY','_resendWithTimeout','objectID','onRemoteRetry','search','abs','getTime','update','commentUpdate$','_queuedRemoteChangesets','clone','ENSURE_SNAPSHOT_EXECUTION','/allowed','onCommandExecuted','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','reqId','loadDoc','newCsEvent','randomUUID','getMember','getUnitOnRev','_unitInfo$','_onUserLeave','?url=','YUUMI_RATE_OVER_LIMIT','_transformRemoteChangesetByStateCache','_instanceService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_snapshotService','registerHTTPInterceptor','_sender','_univerInstanceService','reset','_loadDoc','[CollaborationSession]','_type','patch','_eventService','_sessions','isArray','_userManagerService','open$','buffer','_iKey','_sendHeartbeat','copyFileMeta','_tryEnsureSocket','enc','_stopTelemetryCollaborationNewChangeset','_onLocalMutation','LICENSE_EXPORT_SIZE_EXCEEDED','BASE64','\x0aAfter:\x20','joinRsp','onRemoteChangeset','_clearUndo','/universer-api/authz','readAsDataURL','not_collab','size','_incrementRevisionNumber','_revisionService','roomInfos','_HTTPService','bind','blockSize','transformMutationsWithChangeset','_memberService','_listenToNetworkCondition','mixIn','_sheetTransformSelectionsService','requireSession','_createHelper','onRemoteRej','_handlerCallback','_xformMode','_parse','searchParams','slice','_authzIoService','interceptor','_onRemoteRetry','YUUMI_URL_COL_OUT_OF_RANGE'];_0x1002=function(){return _0xa00aa2;};return _0x1002();}fe=be([A(0x5,_0xbc9492(_0x42904b)),A(0x6,_0xbc9492(_0x5b7e83)),A(0x7,_0x4648fa),A(0x8,_0x6c51a4),A(0x9,_0x16b553(J))],fe);let te=class extends Re{constructor(_0x5390ce,_0xe4da94,_0x6bdc81,_0xdf1a72,_0x2b0a1e,_0x452148,_0x47139c,_0x5480bd,_0x12b3bf,_0x2a8fef,_0x50df9e,_0x3c82e8,_0x17329c,_0x16bb1c){var _0x37db4f=_0x39927c;super(_0x5390ce,_0xe4da94,_0x6bdc81,_0xdf1a72,_0x47139c,_0x50df9e,_0x3c82e8,_0x12b3bf,_0x16bb1c),N(this,_0x37db4f(0x210),_0x37db4f(0x201)),(this[_0x37db4f(0x336)]=_0x2b0a1e,this[_0x37db4f(0x21e)]=_0x452148,this[_0x37db4f(0x169)]=_0x5480bd,this[_0x37db4f(0x2c0)]=_0x2a8fef,this[_0x37db4f(0x2e1)]=_0x17329c,this[_0x37db4f(0x1e1)]=_0x16bb1c);}[_0x39927c(0x36d)](_0x54c09a){var _0xe30ba9=_0x39927c;try{const _0x30afff=[..._0x54c09a,...this[_0xe30ba9(0x21e)]],_0x28cfb6=[this[_0xe30ba9(0x373)]||this[_0xe30ba9(0x336)]][_0xe30ba9(0x20a)](_0xd18ede=>!!_0xd18ede);let _0x117064,_0x1c1546;if(_0x28cfb6[_0xe30ba9(0x1ad)]){const _0x8d8af6=this['_transformService'][_0xe30ba9(0x2ef)](_0x30afff,_0x28cfb6,!0x1);if(!_0x8a4d76(_0x8d8af6))throw _0x8d8af6[_0xe30ba9(0x1e7)];_0x117064=_0x8d8af6['c1Prime'],_0x1c1546=_0x8d8af6[_0xe30ba9(0x288)];}else _0x117064=_0x30afff,_0x1c1546=[];let _0x4f66ac=this[_0xe30ba9(0x3a3)];_0x117064[_0xe30ba9(0x3b1)](_0x90f349=>{var _0x3b2f04=_0xe30ba9;let _0x5f0da0;if(_0x4f66ac[_0x3b2f04(0x1ad)]){const _0x3732b4=this['_transformService'][_0x3b2f04(0x257)](_0x90f349,_0x4f66ac);if(!_0x5000cb(_0x3732b4))throw _0x3732b4[_0x3b2f04(0x1e7)];_0x5f0da0=_0x3732b4[_0x3b2f04(0x2d5)],_0x4f66ac=_0x3732b4['m2Prime'];}else _0x5f0da0=_0x90f349;this['_executeRemoteChangeset'](_0x5f0da0);}),this[_0xe30ba9(0x336)]&&this['_incrementRevisionNumber'](),this[_0xe30ba9(0x373)]&&_0x1c1546[_0xe30ba9(0x1ad)]&&(_0x1c1546[0x0][_0xe30ba9(0x100)]=this[_0xe30ba9(0x2d8)]());let _0x316cdf;if(this[_0xe30ba9(0x373)]&&_0x4f66ac[_0xe30ba9(0x1ad)]!==0x0)_0x316cdf=this[_0xe30ba9(0x169)][_0xe30ba9(0x27f)](ae,this[_0xe30ba9(0x1bf)],this['type'],_0x1c1546[0x0],_0x4f66ac,this[_0xe30ba9(0x34b)],void 0x0);else{if(this[_0xe30ba9(0x373)]&&_0x4f66ac['length']===0x0)_0x1c1546[0x0][_0xe30ba9(0x100)]=this[_0xe30ba9(0x2d8)](),_0x316cdf=this[_0xe30ba9(0x169)][_0xe30ba9(0x27f)](ue,this[_0xe30ba9(0x1bf)],this[_0xe30ba9(0x33e)],_0x1c1546[0x0],this[_0xe30ba9(0x34b)]);else{if(_0x4f66ac[_0xe30ba9(0x1ad)]!==0x0){const _0x28f4a5=this['_injector'][_0xe30ba9(0x27f)](oe,this['unitID'],this[_0xe30ba9(0x33e)],_0x4f66ac,this[_0xe30ba9(0x34b)]);_0x28f4a5['_schedule'](),_0x316cdf=_0x28f4a5;}else _0x316cdf=this[_0xe30ba9(0x169)][_0xe30ba9(0x27f)](De,this[_0xe30ba9(0x1bf)],this[_0xe30ba9(0x33e)],this[_0xe30ba9(0x34b)]);}}return _0x316cdf[_0xe30ba9(0x296)](),_0x316cdf;}catch(_0x1b34b1){return this[_0xe30ba9(0x2c0)][_0xe30ba9(0x1e7)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x1b34b1),this['_injector'][_0xe30ba9(0x27f)](de,this[_0xe30ba9(0x1bf)],this[_0xe30ba9(0x33e)],this[_0xe30ba9(0x373)],this[_0xe30ba9(0x3a3)],this[_0xe30ba9(0x34b)],!0x1);}}[_0x39927c(0x2e3)](){var _0xa7a777=_0x39927c;throw new Error(_0xa7a777(0x2b5));}[_0x39927c(0x126)](_0xe60998){var _0x15b4af=_0x39927c;return this[_0x15b4af(0x3a3)]['push'](_0xe60998),this;}['onRemoteChangeset'](_0x16d9d9){var _0x385498=_0x39927c;return this['_queuedRemoteChangesets'][_0x385498(0x14b)](_0x16d9d9),this;}[_0x39927c(0x30f)](_0x14564f){var _0x3e9fb4=_0x39927c;if(this[_0x3e9fb4(0x373)])return this[_0x3e9fb4(0x336)]=this[_0x3e9fb4(0x373)],this['_awaitingChangeset']=null,this;throw new Error(_0x3e9fb4(0x230));}[_0x39927c(0x25e)](_0xc5117e){var _0x22ea4c=_0x39927c;return this[_0x22ea4c(0x19f)](!!(_0xc5117e!=null&&_0xc5117e[_0x22ea4c(0x1ef)]));}[_0x39927c(0x218)](){return this;}['toggleOffline'](){var _0x55c7ec=_0x39927c;return this[_0x55c7ec(0x169)]['createInstance'](fe,this[_0x55c7ec(0x1bf)],this[_0x55c7ec(0x33e)],this[_0x55c7ec(0x373)],this[_0x55c7ec(0x3a3)],this[_0x55c7ec(0x34b)]);}[_0x39927c(0xe7)](){return this;}[_0x39927c(0x19f)](_0x2c3240){var _0x5299e8=_0x39927c;return this[_0x5299e8(0x169)]['createInstance'](de,this[_0x5299e8(0x1bf)],this['type'],this[_0x5299e8(0x373)],this[_0x5299e8(0x3a3)],this[_0x5299e8(0x34b)],_0x2c3240);}};te=be([A(0x7,_0xbc9492(_0x42904b)),A(0x8,_0xbc9492(_0x5b7e83)),A(0x9,_0xa0a262),A(0xa,_0x4648fa),A(0xb,_0x6c51a4),A(0xc,_0x56a4c4),A(0xd,_0x16b553(J))],te);function Di(_0x3f5427,_0x5d11ff,_0x48f64b,_0x22068f,_0x462474,_0x37cfab){var _0x19f5e4=_0x39927c;return _0x22068f&&_0x462474[_0x19f5e4(0x1ad)]?_0x3f5427['createInstance'](ae,_0x5d11ff,_0x48f64b,_0x22068f,_0x462474,_0x37cfab,void 0x0):_0x22068f?_0x3f5427[_0x19f5e4(0x27f)](ue,_0x5d11ff,_0x48f64b,_0x22068f,_0x37cfab):_0x462474[_0x19f5e4(0x1ad)]?_0x3f5427['createInstance'](oe,_0x5d11ff,_0x48f64b,_0x462474,_0x37cfab):_0x3f5427[_0x19f5e4(0x27f)](De,_0x5d11ff,_0x48f64b,_0x37cfab);}var vr=Object['defineProperty'],pr=Object[_0x39927c(0x186)],Lt=(_0x14fd64,_0x1e4612,_0x39bac7,_0x178927)=>{var _0x46977c=_0x39927c;for(var _0x4c64f6=_0x178927>0x1?void 0x0:_0x178927?pr(_0x1e4612,_0x39bac7):_0x1e4612,_0x5ac52c=_0x14fd64[_0x46977c(0x1ad)]-0x1,_0x3a3ae5;_0x5ac52c>=0x0;_0x5ac52c--)(_0x3a3ae5=_0x14fd64[_0x5ac52c])&&(_0x4c64f6=(_0x178927?_0x3a3ae5(_0x1e4612,_0x39bac7,_0x4c64f6):_0x3a3ae5(_0x4c64f6))||_0x4c64f6);return _0x178927&&_0x4c64f6&&vr(_0x1e4612,_0x39bac7,_0x4c64f6),_0x4c64f6;},k=(_0x2e5440,_0x40fbcb)=>(_0x49d64f,_0x579837)=>_0x40fbcb(_0x49d64f,_0x579837,_0x2e5440);let nt=class extends _0x3320ff{constructor(_0x4b1068,_0x241359,_0x3962b8,_0x4717e1,_0x283e46,_0x3cc6e2,_0x3eccb9,_0x340589,_0x1ec8d8,_0x3eb28c,_0x59d856,_0x306d81,_0x1766ea){var _0x36ff90=_0x39927c;super(),N(this,_0x36ff90(0x27b),new _0x4bc3f4(null)),N(this,_0x36ff90(0x119),this[_0x36ff90(0x27b)]['asObservable']()),N(this,'_state'),N(this,_0x36ff90(0xe6),!0x1),N(this,_0x36ff90(0x32c),''),N(this,_0x36ff90(0x3b4),0x0),N(this,_0x36ff90(0x3a0),this['state$'][_0x36ff90(0x153)](_0x3cfe06(_0x337f81=>_0x337f81?_0x337f81[_0x36ff90(0x210)]:yi[_0x36ff90(0x144)]),_0x399ee2(0x1))),N(this,_0x36ff90(0x2f9),!0x1),N(this,_0x36ff90(0x309),[]),(this['unitID']=_0x4b1068,this[_0x36ff90(0x2ac)]=_0x241359,this['_type']=_0x3962b8,this[_0x36ff90(0x169)]=_0x4717e1,this[_0x36ff90(0xb8)]=_0x283e46,this[_0x36ff90(0xe8)]=_0x3cc6e2,this[_0x36ff90(0x252)]=_0x3eccb9,this[_0x36ff90(0x23a)]=_0x340589,this[_0x36ff90(0x2c0)]=_0x1ec8d8,this[_0x36ff90(0x31b)]=_0x3eb28c,this['_permissionService']=_0x59d856,this['_singleActiveUnitService']=_0x306d81,this['_localCacheService']=_0x1766ea);}get['state'](){var _0x271acc=_0x39927c;return this[_0x271acc(0x125)];}async[_0x39927c(0x367)](){if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x39927c(0x17d)](){return this['_collaborationPaused']=!0x0,_0x41e975(()=>{var _0x348d95=_0x16b6;this[_0x348d95(0xe6)]=!0x1,this[_0x348d95(0x198)]();});}['onLocalMutation'](_0xbed942){var _0x5af05b=_0x39927c;this[_0x5af05b(0x246)](_0xbed942);}[_0x39927c(0x287)](_0x2eb441){var _0x7defd8=_0x39927c;this['_state']=_0x2eb441,this[_0x7defd8(0x27b)][_0x7defd8(0x19d)](_0x2eb441);}async[_0x39927c(0x1d7)](){var _0x354595=_0x39927c,_0x445816;this[_0x354595(0x287)](await this[_0x354595(0x29e)]()),this[_0x354595(0x362)]&&((_0x445816=this[_0x354595(0x362)])==null||_0x445816['editingUnit'](this[_0x354595(0x1bf)]),this['disposeWithMe'](this[_0x354595(0x362)][_0x354595(0x1cb)](this[_0x354595(0x1bf)])['subscribe'](_0x51593a=>{var _0x3c0fb3=_0x354595;this[_0x3c0fb3(0x2c0)][_0x3c0fb3(0x2a4)](_0x3c0fb3(0x108),_0x3c0fb3(0x15b),_0x51593a),_0x51593a===Ri['OTHER_CLIENTS_EDITING']?(this[_0x3c0fb3(0x23a)][_0x3c0fb3(0xc5)]({'id':se[_0x3c0fb3(0x39b)]}),this['_permissionService'][_0x3c0fb3(0x17f)](new _0x3c7e45(this['unitID'])['id'],!0x1),this[_0x3c0fb3(0x276)][_0x3c0fb3(0x11c)](!0x1)):(this['_permissionService'][_0x3c0fb3(0x17f)](new _0x3c7e45(this[_0x3c0fb3(0x1bf)])['id'],!0x0),this[_0x3c0fb3(0x276)][_0x3c0fb3(0x11c)](!0x0));})));let _0x3dec93=!0x1;return this['disposeWithMe'](this[_0x354595(0x2ac)][_0x354595(0x194)][_0x354595(0x34e)](_0x31a6da=>{var _0x5a389d=_0x354595;_0x31a6da===Te[_0x5a389d(0x1cc)]?this[_0x5a389d(0x377)](_0x3dec93):_0x31a6da===Te[_0x5a389d(0x144)]&&(_0x3dec93=!0x0,this[_0x5a389d(0x326)]());})),this[_0x354595(0x1bb)](this['session']['event$']['subscribe'](_0x5dc29f=>{var _0x26b0a1=_0x354595;try{switch(_0x5dc29f[_0x26b0a1(0x1b5)]){case _0x30c357[_0x26b0a1(0x274)]:{this[_0x26b0a1(0xdc)](_0x3980d4(_0x5dc29f[_0x26b0a1(0x12c)]));break;}case _0x30c357[_0x26b0a1(0x18b)]:{this[_0x26b0a1(0x2ed)](_0x5dc29f[_0x26b0a1(0x12c)]);break;}case _0x30c357[_0x26b0a1(0x2af)]:{this['_onRemoteRejected']();break;}case _0x30c357[_0x26b0a1(0x2ce)]:{this[_0x26b0a1(0x266)](_0x5dc29f[_0x26b0a1(0x12c)]);break;}case _0x30c357['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x26b0a1(0x14a)](_0x5dc29f['data'][_0x26b0a1(0x299)]['map'](_0x18e16b=>_0x3980d4(_0x18e16b)));break;}case _0x30c357[_0x26b0a1(0xca)]:{this[_0x26b0a1(0x372)]({'isPermissionRej':!0x0});break;}case _0x30c357[_0x26b0a1(0xd5)]:break;}}catch(_0x47861d){throw console[_0x26b0a1(0x1e7)](_0x26b0a1(0x2eb),_0x47861d),_0x47861d;}})),this['_state'];}[_0x39927c(0x2f8)](){var _0x2d5d2f=_0x39927c;this[_0x2d5d2f(0x2f9)]=!0x1;}[_0x39927c(0x118)](){var _0x49c5c7=_0x39927c;if(this[_0x49c5c7(0x2f9)])throw new Error(_0x49c5c7(0x395));this[_0x49c5c7(0x2f9)]=!0x0;}['_onLocalMutation'](_0x47adfc){var _0x27f4fd=_0x39927c;this[_0x27f4fd(0x118)](),this['_updateState'](this[_0x27f4fd(0x125)][_0x27f4fd(0x126)](_0x47adfc)),this[_0x27f4fd(0x2f8)]();}[_0x39927c(0xdc)](_0x15d36f){var _0x6e02a=_0x39927c;if(!(_0x15d36f[_0x6e02a(0x209)]<=this[_0x6e02a(0x252)]['getCurrentRevOfUnit'](this[_0x6e02a(0x1bf)]))){if(this[_0x6e02a(0xe6)]){this[_0x6e02a(0x309)][_0x6e02a(0x14b)](_0x15d36f);return;}this['_applyRemoteChangeset'](_0x15d36f);}}[_0x39927c(0x198)](){var _0x524387=_0x39927c;this[_0x524387(0x309)][_0x524387(0x3b1)](_0x112c54=>this[_0x524387(0x168)](_0x112c54)),this[_0x524387(0x309)]=[];}[_0x39927c(0x168)](_0x3347fc){var _0x438b6b=_0x39927c;const _0x162614=this['_compressMutationService'][_0x438b6b(0x265)]['fetchThroughInterceptors'](this[_0x438b6b(0xb8)][_0x438b6b(0x265)][_0x438b6b(0xcd)]()[_0x438b6b(0x2db)])(_0x3347fc[_0x438b6b(0xf0)],null)||_0x3347fc[_0x438b6b(0xf0)],_0x42dc68={..._0x3347fc,'mutations':_0x162614};this[_0x438b6b(0x118)](),this[_0x438b6b(0x287)](this['_state'][_0x438b6b(0x24b)](_0x42dc68)),this[_0x438b6b(0x2f8)]();}[_0x39927c(0x2ed)](_0x4b4c6f){var _0x4f8ddb=_0x39927c;this[_0x4f8ddb(0x118)](),this['_updateState'](this['_state'][_0x4f8ddb(0x30f)](_0x4b4c6f)),this[_0x4f8ddb(0x2f8)]();}[_0x39927c(0x372)](_0x13148c){var _0x57e246=_0x39927c;this[_0x57e246(0x118)](),this[_0x57e246(0x287)](this[_0x57e246(0x125)][_0x57e246(0x25e)](_0x13148c)),this[_0x57e246(0x2f8)]();}[_0x39927c(0x266)](_0x31c52b){var _0x359d69=_0x39927c;this[_0x359d69(0x118)](),this[_0x359d69(0x287)](this['_state'][_0x359d69(0x218)](_0x31c52b)),this[_0x359d69(0x2f8)]();}[_0x39927c(0x14a)](_0x46397e){var _0x44ca86=_0x39927c;if(!(this['_state']instanceof te))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x15a490=_0x46397e[_0x44ca86(0x3a1)](_0x29aa8f=>{var _0x458e4c=_0x44ca86;const _0x5bd2f1=this[_0x458e4c(0xb8)][_0x458e4c(0x265)][_0x458e4c(0xbe)](this[_0x458e4c(0xb8)]['interceptor']['getInterceptPoints']()[_0x458e4c(0x2db)])(_0x29aa8f[_0x458e4c(0xf0)],null)||_0x29aa8f[_0x458e4c(0xf0)];return{..._0x29aa8f,'mutations':_0x5bd2f1};});this[_0x44ca86(0x118)](),this['_updateState'](this['_state'][_0x44ca86(0x36d)](_0x15a490)),this['_unlockTransition']();}[_0x39927c(0x326)](){var _0x2fae06=_0x39927c;this['_lockTransition'](),this[_0x2fae06(0x287)](this[_0x2fae06(0x125)][_0x2fae06(0x19e)]()),this[_0x2fae06(0x2f8)]();}[_0x39927c(0x377)](_0x70b4da=!0x1){var _0x453271=_0x39927c;this['_lockTransition'](),this['_updateState'](this[_0x453271(0x125)][_0x453271(0xe7)]()),this['_unlockTransition']();const _0x525f14=this[_0x453271(0x125)];_0x70b4da&&_0x525f14 instanceof De&&(this[_0x453271(0x118)](),this[_0x453271(0x287)](_0x525f14['fetchMiss']()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x47eb4f=>{var _0x344b31=_0x16b6;this[_0x344b31(0x2ac)][_0x344b31(0x194)]['pipe'](_0xe6bb2c(0x1))['subscribe'](async _0x54a323=>{var _0x51307d=_0x344b31;_0x47eb4f(await this[_0x51307d(0xbb)](_0x54a323===Te['ONLINE']));});});}['_createHandler'](){var _0x51158d=_0x39927c;const _0x4dacf7=this[_0x51158d(0x1bf)];return{'onStateChange':(_0x11a93a,_0x24e2df)=>{var _0x563567=_0x51158d;if(_0x11a93a!==this[_0x563567(0x125)])throw new Error(_0x563567(0x2b7)+_0x11a93a[_0x563567(0x210)]+_0x563567(0x249)+_0x24e2df['status']+_0x563567(0x2ff)+this[_0x563567(0x125)]['status']);this[_0x563567(0x287)](_0x24e2df);},'onSendChangeset':_0x384bee=>{var _0x1bec0a=_0x51158d;_0x384bee['sid']||(_0x384bee['sid']=this[_0x1bec0a(0x32c)],_0x384bee[_0x1bec0a(0x224)]=++this['_changesetReqId']);const _0x2782b9={'eventID':_0x30c357[_0x1bec0a(0x30e)],'data':{'unitID':_0x384bee['unitID'],'unitType':this[_0x1bec0a(0x238)],'changeset':_0x384bee,'memberID':this[_0x1bec0a(0x2ac)][_0x1bec0a(0x36e)]()}};this['session'][_0x1bec0a(0xfd)](_0x2782b9,this[_0x1bec0a(0x1bf)]);},'onMissingChangesets':({from:_0x59fc0f,to:_0x41890a})=>{var _0x4bb1b2=_0x51158d;this[_0x4bb1b2(0x2c0)]['debug'](_0x4bb1b2(0x108),_0x4bb1b2(0x139)+_0x59fc0f+_0x4bb1b2(0x18c)+_0x41890a);const _0x376bc4={'eventID':_0x30c357[_0x4bb1b2(0x343)],'data':{'unitID':_0x4dacf7,'unitType':this[_0x4bb1b2(0x238)],'from':_0x59fc0f,'to':_0x41890a}};this[_0x4bb1b2(0x2ac)][_0x4bb1b2(0xfd)](_0x376bc4,this[_0x4bb1b2(0x1bf)]);}};}async[_0x39927c(0xbb)](_0xf242d5){var _0x2661fd=_0x39927c,_0x12476b,_0xa95abe,_0x1fb327;const _0x10c28f=await((_0x12476b=this[_0x2661fd(0xbf)])==null?void 0x0:_0x12476b[_0x2661fd(0x378)](this[_0x2661fd(0x1bf)])),_0x4b5374=(_0xa95abe=_0x10c28f==null?void 0x0:_0x10c28f[_0x2661fd(0xf0)])!=null?_0xa95abe:[],_0x3ff57d=(_0x1fb327=_0x10c28f==null?void 0x0:_0x10c28f[_0x2661fd(0x268)])!=null?_0x1fb327:null,_0x1055d1=!!(_0x3ff57d!=null&&_0x3ff57d[_0x2661fd(0x344)])&&!!(_0x3ff57d!=null&&_0x3ff57d['reqId']);this[_0x2661fd(0x32c)]=_0x1055d1?_0x3ff57d[_0x2661fd(0x344)]:sr(),this[_0x2661fd(0x3b4)]=_0x1055d1?_0x3ff57d[_0x2661fd(0x224)]:0x0;const _0x2c8f23=this[_0x2661fd(0x1bf)];try{this[_0x2661fd(0xf7)](_0x3ff57d,_0x4b5374);}catch(_0x20404b){this['_logService'][_0x2661fd(0x1e7)](_0x20404b);}const _0x200811=this['_createHandler']();if(_0xf242d5){const _0x290160=Di(this[_0x2661fd(0x169)],_0x2c8f23,this[_0x2661fd(0x238)],_0x3ff57d,_0x4b5374,_0x200811);return _0x290160 instanceof oe?_0x290160['_schedule']():(_0x290160 instanceof ae||_0x290160 instanceof ue)&&_0x290160[_0x2661fd(0x2e3)](),_0x290160;}return this[_0x2661fd(0x169)][_0x2661fd(0x27f)](fe,_0x2c8f23,this[_0x2661fd(0x238)],_0x3ff57d,_0x4b5374,_0x200811);}['_replayCachedMutations'](_0xfe5308,_0x23fbde){var _0x3da3c7=_0x39927c,_0x24409d,_0x5a76a1;const _0x4b9104=this[_0x3da3c7(0xb8)][_0x3da3c7(0x265)]['fetchThroughInterceptors'](this[_0x3da3c7(0xb8)][_0x3da3c7(0x265)][_0x3da3c7(0xcd)]()[_0x3da3c7(0x2db)]);(_0x24409d=_0x4b9104((_0xfe5308==null?void 0x0:_0xfe5308[_0x3da3c7(0xf0)])||[],null))==null||_0x24409d[_0x3da3c7(0x3b1)](_0x1c0ed4=>this['_commandService'][_0x3da3c7(0x129)](_0x1c0ed4['id'],_0x1c0ed4[_0x3da3c7(0x1fb)])),(_0x5a76a1=_0x4b9104(_0x23fbde||[],null))==null||_0x5a76a1[_0x3da3c7(0x3b1)](_0x28a09d=>this[_0x3da3c7(0x31b)][_0x3da3c7(0x129)](_0x28a09d['id'],_0x28a09d[_0x3da3c7(0x1fb)]));}};nt=Lt([k(0x3,_0xbc9492(_0x42904b)),k(0x4,_0xbc9492(_0x5eed80)),k(0x5,_0xbc9492(_0x3b67e6)),k(0x6,_0xbc9492(_0x5b7e83)),k(0x7,_0xbc9492(pe)),k(0x8,_0xa0a262),k(0x9,_0x4648fa),k(0xa,_0x17f25c),k(0xb,_0x16b553(ht)),k(0xc,_0x16b553(J))],nt);let Tt=class extends nt{constructor(_0x9a3d89,_0x518177,_0x3513e2,_0x43293d,_0x4b4e1e,_0x449f69,_0x49e41e,_0x3eacd2,_0x413da3,_0x476cb6,_0x3d02c9,_0x2a1951,_0x5b90da){var _0x477491=_0x39927c;super(_0x9a3d89,_0x3513e2,_0x518177,_0x43293d,_0x4b4e1e,_0x449f69,_0x49e41e,_0x3eacd2,_0x413da3,_0x476cb6,_0x3d02c9,_0x2a1951,_0x5b90da),N(this,_0x477491(0x25f),null),(this[_0x477491(0x1bf)]=_0x9a3d89,this[_0x477491(0x33e)]=_0x518177);}['addHandlerCallback'](_0x5890a2){this['_handlerCallback']=_0x5890a2;}['dispose'](){var _0x5a57f8=_0x39927c;this[_0x5a57f8(0x25f)]=null,super['dispose']();}['_createHandler'](){var _0x33fd9c=_0x39927c;const _0x433f16=super[_0x33fd9c(0x26a)]();return _0x433f16[_0x33fd9c(0x2c7)]=_0xe9fd10=>{var _0x30f3e1=_0x33fd9c,_0x76da8c,_0x21b3d1;return(_0x21b3d1=(_0x76da8c=this[_0x30f3e1(0x25f)])==null?void 0x0:_0x76da8c['onTransformIME'])==null?void 0x0:_0x21b3d1[_0x30f3e1(0x15d)](_0x76da8c,_0xe9fd10);},_0x433f16[_0x33fd9c(0x189)]=_0x5c6d71=>{var _0x4bb15e=_0x33fd9c,_0x5a599b,_0x4a8099;return(_0x4a8099=(_0x5a599b=this[_0x4bb15e(0x25f)])==null?void 0x0:_0x5a599b[_0x4bb15e(0x189)])==null?void 0x0:_0x4a8099[_0x4bb15e(0x15d)](_0x5a599b,_0x5c6d71);},_0x433f16[_0x33fd9c(0xb9)]=_0x5cb971=>{var _0x357811=_0x33fd9c,_0xd3d12f,_0xa8372b;return(_0xa8372b=(_0xd3d12f=this[_0x357811(0x25f)])==null?void 0x0:_0xd3d12f[_0x357811(0xb9)])==null?void 0x0:_0xa8372b[_0x357811(0x15d)](_0xd3d12f,_0x5cb971);},_0x433f16[_0x33fd9c(0x329)]=_0x3428c3=>{var _0x113224=_0x33fd9c,_0x27d988,_0x1aca6c;return(_0x1aca6c=(_0x27d988=this[_0x113224(0x25f)])==null?void 0x0:_0x27d988[_0x113224(0x329)])==null?void 0x0:_0x1aca6c['call'](_0x27d988,_0x3428c3);},_0x433f16[_0x33fd9c(0x2a9)]=_0xdf58e9=>{var _0x270ba4=_0x33fd9c,_0x55cd92,_0x2db220,_0x17a986;if(!((_0x55cd92=this[_0x270ba4(0x25f)])!=null&&_0x55cd92['onTransformRemoteChangesetByIMECache']))throw new Error(_0x270ba4(0x30b));return(_0x17a986=(_0x2db220=this[_0x270ba4(0x25f)])==null?void 0x0:_0x2db220['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x17a986[_0x270ba4(0x15d)](_0x2db220,_0xdf58e9);},_0x433f16[_0x33fd9c(0x3b5)]=_0x412bdc=>{var _0x52674f=_0x33fd9c,_0x30b7f0,_0xb60b12,_0x1ea077;if(!((_0x30b7f0=this[_0x52674f(0x25f)])!=null&&_0x30b7f0[_0x52674f(0x3b5)]))throw new Error(_0x52674f(0x371));return(_0x1ea077=(_0xb60b12=this[_0x52674f(0x25f)])==null?void 0x0:_0xb60b12[_0x52674f(0x3b5)])==null?void 0x0:_0x1ea077[_0x52674f(0x15d)](_0xb60b12,_0x412bdc);},_0x433f16;}async['_init'](){var _0x2ecbba=_0x39927c;const _0x579445=await super[_0x2ecbba(0x1d7)]();return this[_0x2ecbba(0x1bb)](this[_0x2ecbba(0x31b)][_0x2ecbba(0x222)]((_0x328ac0,_0x5845fc)=>{var _0x48fa8e=_0x2ecbba;if(_0x328ac0[_0x48fa8e(0x33e)]!==_0x36dda7[_0x48fa8e(0x1c7)]||_0x5845fc!=null&&_0x5845fc[_0x48fa8e(0x20c)]||_0x5845fc!=null&&_0x5845fc[_0x48fa8e(0x37a)]||_0x328ac0['id']===_0x6be229['id'])return;const _0x209c42=_0x328ac0[_0x48fa8e(0x1fb)];if((_0x209c42==null?void 0x0:_0x209c42[_0x48fa8e(0x380)])!==this[_0x48fa8e(0x1bf)])return;const _0x4b85a5=_0x328ac0,_0x17e933=this[_0x48fa8e(0xb8)][_0x48fa8e(0x265)][_0x48fa8e(0xbe)](this[_0x48fa8e(0xb8)][_0x48fa8e(0x265)][_0x48fa8e(0xcd)]()[_0x48fa8e(0x147)])([_0x4b85a5],null)||[_0x4b85a5];this[_0x48fa8e(0x246)](_0x17e933[0x0]);})),_0x579445;}};Tt=Lt([k(0x3,_0xbc9492(_0x42904b)),k(0x4,_0xbc9492(_0x5eed80)),k(0x5,_0xbc9492(_0x3b67e6)),k(0x6,_0xbc9492(_0x5b7e83)),k(0x7,_0xbc9492(pe)),k(0x8,_0xa0a262),k(0x9,_0x4648fa),k(0xa,_0x17f25c),k(0xb,_0x16b553(ht)),k(0xc,_0x16b553(J))],Tt);let Ct=class extends nt{constructor(_0x1960de,_0x31abb1,_0x5a28ba,_0x17d2d8,_0x2bbed5,_0xcc0345,_0x48c282,_0x2a5218,_0x50e981,_0xdc44a3,_0x599df8,_0x1d823f,_0x18655a,_0x45c47b){var _0x215516=_0x39927c;super(_0x1960de,_0x5a28ba,_0x31abb1,_0x17d2d8,_0x2bbed5,_0xcc0345,_0x48c282,_0x50e981,_0xdc44a3,_0x599df8,_0x1d823f,_0x18655a,_0x45c47b),this[_0x215516(0x1bf)]=_0x1960de,this[_0x215516(0x33e)]=_0x31abb1,this[_0x215516(0x25b)]=_0x2a5218;}[_0x39927c(0x26a)](){var _0x26cf8a=_0x39927c;const _0x1a488e=super[_0x26cf8a(0x26a)]();return _0x1a488e['onTransformSelections']=_0x589a2b=>this[_0x26cf8a(0x25b)][_0x26cf8a(0x1c8)](_0x589a2b),_0x1a488e;}async[_0x39927c(0x1d7)](){var _0x1ac8e0=_0x39927c;const _0x1d81da=await super[_0x1ac8e0(0x1d7)]();return this[_0x1ac8e0(0x1bb)](this[_0x1ac8e0(0x31b)]['onCommandExecuted']((_0x1111cd,_0x43fb54)=>{var _0x2bc8dd=_0x1ac8e0;if(_0x1111cd[_0x2bc8dd(0x33e)]!==_0x36dda7[_0x2bc8dd(0x1c7)]||_0x43fb54!=null&&_0x43fb54['fromCollab']||_0x43fb54!=null&&_0x43fb54['onlyLocal'])return;const _0xfe5a5e=_0x1111cd[_0x2bc8dd(0x1fb)];if((_0xfe5a5e==null?void 0x0:_0xfe5a5e[_0x2bc8dd(0x380)])!==this[_0x2bc8dd(0x1bf)])return;const _0x2c10f8=_0x1111cd,_0x4f1861=this['_compressMutationService'][_0x2bc8dd(0x265)][_0x2bc8dd(0xbe)](this[_0x2bc8dd(0xb8)]['interceptor'][_0x2bc8dd(0xcd)]()[_0x2bc8dd(0x147)])([_0x2c10f8],null)||[_0x2c10f8];this['_onLocalMutation'](_0x4f1861[0x0]);})),_0x1d81da;}};Ct=Lt([k(0x3,_0xbc9492(_0x42904b)),k(0x4,_0xbc9492(_0x5eed80)),k(0x5,_0xbc9492(_0x3b67e6)),k(0x6,_0xbc9492(_0x5b7e83)),k(0x7,_0xbc9492(it)),k(0x8,_0xbc9492(pe)),k(0x9,_0xa0a262),k(0xa,_0x4648fa),k(0xb,_0x17f25c),k(0xc,_0x16b553(ht)),k(0xd,_0x16b553(J))],Ct);var mr=Object[_0x39927c(0x2fa)],gr=Object[_0x39927c(0x186)],Sr=(_0x13a510,_0x30ee90,_0x488dbf,_0x298ed3)=>{for(var _0x5ef2f1=_0x298ed3>0x1?void 0x0:_0x298ed3?gr(_0x30ee90,_0x488dbf):_0x30ee90,_0x4d49f8=_0x13a510['length']-0x1,_0x4c88a4;_0x4d49f8>=0x0;_0x4d49f8--)(_0x4c88a4=_0x13a510[_0x4d49f8])&&(_0x5ef2f1=(_0x298ed3?_0x4c88a4(_0x30ee90,_0x488dbf,_0x5ef2f1):_0x4c88a4(_0x5ef2f1))||_0x5ef2f1);return _0x298ed3&&_0x5ef2f1&&mr(_0x30ee90,_0x488dbf,_0x5ef2f1),_0x5ef2f1;},ft=(_0xe4fa5c,_0x2e6709)=>(_0x41aa5e,_0x153645)=>_0x2e6709(_0x41aa5e,_0x153645,_0xe4fa5c);let rt=class extends _0x3320ff{constructor(_0x223bec,_0x12d1de,_0x4a605a){var _0x134ec9=_0x39927c;super(),N(this,_0x134ec9(0x206),new Map()),N(this,_0x134ec9(0x2bd),new _0x5c86fd()),N(this,_0x134ec9(0x382),this['_entityInit$'][_0x134ec9(0x2f5)]()),(this['_injector']=_0x223bec,this[_0x134ec9(0x1d3)]=_0x12d1de,this[_0x134ec9(0x234)]=_0x4a605a,this[_0x134ec9(0x1d7)]());}['dispose'](){var _0x1ab8a5=_0x39927c;super[_0x1ab8a5(0xf4)](),this['_entities'][_0x1ab8a5(0x3b1)](_0x4ff1e0=>_0x4ff1e0[_0x1ab8a5(0xf4)]()),this[_0x1ab8a5(0x206)][_0x1ab8a5(0xc7)]();}[_0x39927c(0x1d8)](_0x15efc5){var _0x5b3ca2=_0x39927c,_0x3f7ffa;return(_0x3f7ffa=this[_0x5b3ca2(0x206)][_0x5b3ca2(0x3a4)](_0x15efc5))!=null?_0x3f7ffa:null;}[_0x39927c(0x1f6)](_0x53f607){var _0x58f76b=_0x39927c;const _0x3a631c=this[_0x58f76b(0x1d8)](_0x53f607);return _0x3a631c?_0xe67418(_0x3a631c):this[_0x58f76b(0x2bd)]['pipe'](_0x2f4cab(_0x565e71=>_0x565e71[_0x58f76b(0x1bf)]===_0x53f607));}['readyForCollab'](_0x5b7d25){var _0x4b7453=_0x39927c;return _0x35beec(this[_0x4b7453(0x1f6)](_0x5b7d25)['pipe'](_0x28dd90(()=>{})));}[_0x39927c(0x1d7)](){var _0x253495=_0x39927c;this[_0x253495(0x234)]['getTypeOfUnitAdded$'](_0x42f03d[_0x253495(0x2e8)])['pipe'](_0x36cc5d(this[_0x253495(0x364)]),_0x186af8(0x10))[_0x253495(0x34e)](async _0x40a884=>{var _0x537c2b=_0x253495;const _0x45afcc=_0x40a884[_0x537c2b(0x26d)](),_0x10048c=await this['_startCollaboration'](_0x45afcc,Q[_0x537c2b(0x2e8)]);this['_entities'][_0x537c2b(0x366)](_0x45afcc,_0x10048c);}),this[_0x253495(0x234)][_0x253495(0x1bc)](_0x42f03d[_0x253495(0x167)])[_0x253495(0x153)](_0x36cc5d(this['dispose$']),_0x186af8(0x10))['pipe'](_0x2f4cab(_0x387f79=>!_0x387f79[_0x253495(0x26d)]()[_0x253495(0x1e9)]('__')))[_0x253495(0x34e)](async _0x544970=>{var _0x5bf2ef=_0x253495;const _0x4947e7=_0x544970['getUnitId'](),_0x291107=await this['_startCollaboration'](_0x4947e7,Q[_0x5bf2ef(0x167)]);this[_0x5bf2ef(0x206)][_0x5bf2ef(0x366)](_0x4947e7,_0x291107);}),_0x245007(this['_univerInstanceService'][_0x253495(0x37c)](_0x42f03d[_0x253495(0x2e8)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x42f03d[_0x253495(0x167)]))[_0x253495(0x153)](_0x36cc5d(this[_0x253495(0x364)]))[_0x253495(0x34e)](_0x9613df=>{var _0xcf49f4=_0x253495;const _0x55e60c=_0x9613df[_0xcf49f4(0x26d)](),_0x16f920=this[_0xcf49f4(0x206)][_0xcf49f4(0x3a4)](_0x55e60c);_0x16f920&&(_0x16f920[_0xcf49f4(0xf4)](),this['_entities'][_0xcf49f4(0x295)](_0x55e60c));});}async[_0x39927c(0xd1)](_0x1acb7d,_0x2711ef){var _0x5b0bc8=_0x39927c;const _0x3e51a8=await this[_0x5b0bc8(0x1d3)]['requireSession'](_0x1acb7d),_0x36ff92=this[_0x5b0bc8(0x169)]['createInstance'](this['_getCtorByUniverType'](_0x2711ef),_0x1acb7d,_0x2711ef,_0x3e51a8);return await _0x36ff92[_0x5b0bc8(0x367)](),this['_entityInit$'][_0x5b0bc8(0x19d)](_0x36ff92),_0x36ff92;}[_0x39927c(0x314)](_0x275b99){var _0x2b8180=_0x39927c;switch(_0x275b99){case Q[_0x2b8180(0x167)]:return Tt;case Q['UNIVER_SHEET']:return Ct;default:throw new Error(_0x2b8180(0x16d)+_0x275b99);}}};rt=Sr([ft(0x0,_0xbc9492(_0x42904b)),ft(0x1,_0xbc9492(Le)),ft(0x2,_0x252c78)],rt);var Er=Object[_0x39927c(0x2fa)],Ir=Object[_0x39927c(0x186)],Tr=(_0x2cc52b,_0x2e6d7a,_0x5e493d,_0x2dba32)=>{var _0x39a069=_0x39927c;for(var _0x9eadc3=_0x2dba32>0x1?void 0x0:_0x2dba32?Ir(_0x2e6d7a,_0x5e493d):_0x2e6d7a,_0x211998=_0x2cc52b[_0x39a069(0x1ad)]-0x1,_0x53419d;_0x211998>=0x0;_0x211998--)(_0x53419d=_0x2cc52b[_0x211998])&&(_0x9eadc3=(_0x2dba32?_0x53419d(_0x2e6d7a,_0x5e493d,_0x9eadc3):_0x53419d(_0x9eadc3))||_0x9eadc3);return _0x2dba32&&_0x9eadc3&&Er(_0x2e6d7a,_0x5e493d,_0x9eadc3),_0x9eadc3;},Jt=(_0x4cf869,_0x5efc4c)=>(_0x20e562,_0x1e70df)=>_0x5efc4c(_0x20e562,_0x1e70df,_0x4cf869);const Cr='DEFAULT_FILE_NAME',br=_0x39927c(0x29d);let bt=class extends _0x4e3892{constructor(_0x4474ca,_0x2c5f40){var _0x295101=_0x39927c;super(),this[_0x295101(0x234)]=_0x4474ca,this['_configService']=_0x2c5f40,this[_0x295101(0x1d7)]();}['_init'](){var _0x1e34f9=_0x39927c;this[_0x1e34f9(0x1bb)](this[_0x1e34f9(0x234)][_0x1e34f9(0x1ac)][_0x1e34f9(0x34e)](()=>{var _0x1fbd80=_0x1e34f9,_0x4164bd;const _0x41c137=this[_0x1fbd80(0x234)][_0x1fbd80(0x397)]();let _0x30e9de=(_0x4164bd=this[_0x1fbd80(0xef)]['getConfig'](Cr))!=null?_0x4164bd:br;_0x41c137 instanceof _0x2b50c5&&(_0x30e9de=_0x41c137[_0x1fbd80(0x121)]),document['title']=_0x30e9de;}));}};bt=Tr([Jt(0x0,_0x252c78),Jt(0x1,_0x227ac9)],bt);var Rr=Object['defineProperty'],Or=Object[_0x39927c(0x186)],yr=(_0x520297,_0x22e26b,_0x3c1085,_0x293f39)=>{for(var _0x2e8b96=_0x293f39>0x1?void 0x0:_0x293f39?Or(_0x22e26b,_0x3c1085):_0x22e26b,_0x43d0af=_0x520297['length']-0x1,_0x457092;_0x43d0af>=0x0;_0x43d0af--)(_0x457092=_0x520297[_0x43d0af])&&(_0x2e8b96=(_0x293f39?_0x457092(_0x22e26b,_0x3c1085,_0x2e8b96):_0x457092(_0x2e8b96))||_0x2e8b96);return _0x293f39&&_0x2e8b96&&Rr(_0x22e26b,_0x3c1085,_0x2e8b96),_0x2e8b96;},vt=(_0x51bfde,_0x3e5a9d)=>(_0xd8f2c7,_0x4af337)=>_0x3e5a9d(_0xd8f2c7,_0x4af337,_0x51bfde);let st=class{constructor(_0x5b0d47,_0x4c1320,_0x2c9e4f){var _0x48fe75=_0x39927c;this[_0x48fe75(0xef)]=_0x5b0d47,this[_0x48fe75(0x1a8)]=_0x4c1320,this[_0x48fe75(0x2de)]=_0x2c9e4f,this[_0x48fe75(0x367)]();}[_0x39927c(0x367)](){var _0x5a2f15=_0x39927c;this[_0x5a2f15(0x1a8)][_0x5a2f15(0x232)]({'priority':0x1,'interceptor':(_0x2f31d8,_0x27bfec)=>_0x27bfec(_0x2f31d8)[_0x5a2f15(0x153)](_0x395bf6(async _0x239204=>{var _0x2d1ceb=_0x5a2f15;const _0x308d9f=_0x239204;if(_0x308d9f[_0x2d1ceb(0x210)]===0x191){if(typeof window>'u')throw new Error(_0x2d1ceb(0xda));if(window[_0x2d1ceb(0x384)](this['localeService']['t'](_0x2d1ceb(0x34a)))){const _0x4f4d09=window[_0x2d1ceb(0x325)](window['location'][_0x2d1ceb(0xe9)]);window[_0x2d1ceb(0x2fc)][_0x2d1ceb(0xe9)]=this[_0x2d1ceb(0x101)]()+_0x2d1ceb(0x22c)+_0x4f4d09;}}return _0x308d9f;}))});}['_getLoginPath'](){var _0x36a5f4=_0x39927c,_0x4bdb6b,_0x46ad1b;const _0x3285c6=this['_configService']['getConfig'](xn),_0x438dd3=this[_0x36a5f4(0xef)][_0x36a5f4(0x1a2)](q);return(_0x46ad1b=(_0x4bdb6b=_0x438dd3==null?void 0x0:_0x438dd3['loginUrlKey'])!=null?_0x4bdb6b:_0x3285c6)!=null?_0x46ad1b:Ln;}};st=yr([vt(0x0,_0x227ac9),vt(0x1,_0xbc9492(_0x5ee64e)),vt(0x2,_0xbc9492(_0x3b67e6))],st);var Nr=Object[_0x39927c(0x2fa)],Dr=Object[_0x39927c(0x186)],Pr=(_0x2593dc,_0x141e63,_0x135229,_0x51bc68)=>{var _0x17cffa=_0x39927c;for(var _0x43d6bc=_0x51bc68>0x1?void 0x0:_0x51bc68?Dr(_0x141e63,_0x135229):_0x141e63,_0x3b2052=_0x2593dc[_0x17cffa(0x1ad)]-0x1,_0x3b9f67;_0x3b2052>=0x0;_0x3b2052--)(_0x3b9f67=_0x2593dc[_0x3b2052])&&(_0x43d6bc=(_0x51bc68?_0x3b9f67(_0x141e63,_0x135229,_0x43d6bc):_0x3b9f67(_0x43d6bc))||_0x43d6bc);return _0x51bc68&&_0x43d6bc&&Nr(_0x141e63,_0x135229,_0x43d6bc),_0x43d6bc;},Xt=(_0x18201f,_0x52cdca)=>(_0x2f748f,_0x4a0a8f)=>_0x52cdca(_0x2f748f,_0x4a0a8f,_0x18201f);const Pi=_0x39927c(0x1f4),wr=_0x39927c(0x24d);let Rt=class extends _0x4e3892{constructor(_0xfb550e,_0xa3a5b5){var _0xbeb532=_0x39927c;super(),this[_0xbeb532(0x254)]=_0xfb550e,this['_configService']=_0xa3a5b5,this['_initMergeInterceptor']();}[_0x39927c(0x328)](){var _0x10a020=_0x39927c;const _0x2547a4=this;this[_0x10a020(0x1bb)](this[_0x10a020(0x254)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x25ca04({'isMatch'(_0x59ca82){var _0x14db19=_0x10a020,_0x33d4f5;if(_0x59ca82['method']===_0x14db19(0x10d)&&((_0x33d4f5=_0x59ca82[_0x14db19(0xe2)])!=null&&_0x33d4f5['body'])){const {objectID:_0x596657,objectType:_0x418aa0}=_0x59ca82['requestParams']['body']||{};if(!_0x596657||_0x418aa0===void 0x0)return!0x1;const _0x18d0a4=_0x2547a4['_getAPIPrefixPath']()+'/'+_0x418aa0+_0x14db19(0xc9)+_0x596657+_0x14db19(0x221);if(_0x59ca82[_0x14db19(0x291)]===_0x18d0a4)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x242066){var _0x2a151c;return(_0x2a151c=_0x242066['requestParams'])==null?void 0x0:_0x2a151c['body'];},'mergeParamsToRequest'(_0x17d615,_0x1fd298){var _0x17e56e=_0x10a020;const _0x4a21b7=_0x2547a4['_getAPIPrefixPath']()+_0x17e56e(0x190),_0x3f66fd=_0x17d615[_0x17e56e(0x1e3)]((_0x8b0885,_0x42b22b)=>{var _0x39365a=_0x17e56e;const {unitID:_0x3cd444,objectID:_0x2289aa,objectType:_0x4bfc84,actions:_0x5bd37b}=_0x42b22b;return _0x8b0885[_0x3cd444]||(_0x8b0885[_0x3cd444]={}),_0x8b0885[_0x3cd444][_0x2289aa]||(_0x8b0885[_0x3cd444][_0x2289aa]={'objectID':_0x2289aa,'objectType':_0x4bfc84,'actions':[]}),_0x8b0885[_0x3cd444][_0x2289aa][_0x39365a(0x271)][_0x39365a(0x14b)](..._0x5bd37b),_0x8b0885;},{}),_0x45a7e3=[];for(const _0x27e11c in _0x3f66fd)for(const _0x1c63f8 in _0x3f66fd[_0x27e11c]){const {actions:_0xcfc14d,objectType:_0x52b44b}=_0x3f66fd[_0x27e11c][_0x1c63f8],_0x1b419c=[...new Set(_0xcfc14d)];_0x45a7e3[_0x17e56e(0x14b)]({'unitID':_0x27e11c,'objectID':_0x1c63f8,'objectType':_0x52b44b,'actions':_0x1b419c});}return new _0x101eba(_0x17e56e(0x10d),_0x4a21b7,{'headers':_0x1fd298[_0x17e56e(0x3ad)],'withCredentials':_0x1fd298[_0x17e56e(0x2f6)],'responseType':_0x1fd298[_0x17e56e(0xdd)],'body':{'requests':_0x45a7e3}});}},{'distributeResult'(_0x2b71dd,_0x29e303){var _0x42b17a=_0x10a020;const {objectActions:_0x16823f}=_0x2b71dd;return _0x29e303[_0x42b17a(0x3a1)](_0x292281=>{var _0x4ee1ff=_0x42b17a;const {unitID:_0x24833b,objectID:_0x652790,actions:_0x3cdfe0}=_0x292281,_0x5f26e0=_0x16823f[_0x4ee1ff(0x103)](_0x368944=>_0x368944['unitID']===_0x24833b&&_0x368944[_0x4ee1ff(0x217)]===_0x652790),_0x150bf8=_0x3cdfe0[_0x4ee1ff(0x3a1)](_0x41bc81=>_0x5f26e0==null?void 0x0:_0x5f26e0[_0x4ee1ff(0x271)][_0x4ee1ff(0x103)](_0x358950=>_0x358950[_0x4ee1ff(0x298)]===_0x41bc81))['filter'](_0x3e5a86=>!!_0x3e5a86);return{'config':_0x292281,'result':{'actions':_0x150bf8,'error':_0x2b71dd[_0x4ee1ff(0x1e7)]}};});}})}));}['_getAPIPrefixPath'](){var _0x488dc7=_0x39927c,_0x73029c,_0x4de6b8;const _0x556f22=this['_configService'][_0x488dc7(0x1a2)](Pi),_0x23b0bf=this[_0x488dc7(0xef)][_0x488dc7(0x1a2)](q);return(_0x4de6b8=(_0x73029c=_0x23b0bf==null?void 0x0:_0x23b0bf[_0x488dc7(0x322)])!=null?_0x73029c:_0x556f22)!=null?_0x4de6b8:wr;}async['create'](_0x62378e){var _0x122e4e=_0x39927c;const _0x555487=this[_0x122e4e(0x2a5)]()+'/'+_0x62378e[_0x122e4e(0x1ed)]+_0x122e4e(0xb4);return(await this[_0x122e4e(0x254)]['post'](_0x555487,{'body':_0x62378e}))['body'][_0x122e4e(0x217)]||'';}async[_0x39927c(0x2c3)](_0x289a18){var _0xab8c91=_0x39927c;const _0x66b3ad=this[_0xab8c91(0x2a5)]()+'/-/object/list';return(await this['_HTTPService'][_0xab8c91(0x390)](_0x66b3ad,{'body':_0x289a18}))[_0xab8c91(0x207)][_0xab8c91(0x2c4)];}async[_0x39927c(0x21c)](_0x2e47b6){var _0x2be30c=_0x39927c;const _0x20c742=this['_getAPIPrefixPath']()+'/'+_0x2e47b6[_0x2be30c(0x1ed)]+_0x2be30c(0xc9)+_0x2e47b6['objectID'];await this[_0x2be30c(0x254)][_0x2be30c(0xd8)](_0x20c742,{'body':_0x2e47b6});}async['allowed'](_0x24e0d1){var _0x248750=_0x39927c;const _0x117ab2=this['_getAPIPrefixPath']()+'/'+_0x24e0d1[_0x248750(0x1ed)]+'/object/'+_0x24e0d1['objectID']+'/allowed';return(await this[_0x248750(0x254)][_0x248750(0x390)](_0x117ab2,{'body':_0x24e0d1}))['body'][_0x248750(0x271)];}async['batchAllowed'](_0x194b62){var _0x58714d=_0x39927c;const _0x1e1fda=this[_0x58714d(0x2a5)]()+_0x58714d(0x190);return(await this[_0x58714d(0x254)]['post'](_0x1e1fda,{'body':{'requests':_0x194b62}}))['body'][_0x58714d(0x389)];}async[_0x39927c(0x1d1)](_0x5d3636){var _0x162386=_0x39927c;const _0x407a83=this[_0x162386(0x2a5)]()+'/'+_0x5d3636[_0x162386(0x1ed)]+'/role',_0x2f0506=await this[_0x162386(0x254)][_0x162386(0x390)](_0x407a83,{'body':_0x5d3636});return{'roles':_0x2f0506['body']['roles'],'actions':_0x2f0506[_0x162386(0x207)][_0x162386(0x271)]};}async[_0x39927c(0x20d)](_0x3b63a7){var _0x27d4b0=_0x39927c;const _0x11e7e9=this['_getAPIPrefixPath']()+_0x27d4b0(0x36f);await this['_HTTPService'][_0x27d4b0(0x295)](_0x11e7e9,{'params':{'collaboratorID':_0x3b63a7[_0x27d4b0(0x15f)],'objectID':_0x3b63a7['objectID'],'unitID':_0x3b63a7['unitID']}});}async[_0x39927c(0x203)](_0x3b3aee){var _0x862b3d=_0x39927c;const _0x21fded=this[_0x862b3d(0x2a5)]()+_0x862b3d(0x36f);await this[_0x862b3d(0x254)][_0x862b3d(0x239)](_0x21fded,{'body':_0x3b3aee});}async[_0x39927c(0x134)](_0x4d9f1c){var _0x48672d=_0x39927c;const _0xca223f=this[_0x48672d(0x2a5)]()+'/collaborator';await this[_0x48672d(0x254)][_0x48672d(0x390)](_0xca223f,{'body':_0x4d9f1c});}async['listCollaborators'](_0xed1f4c){var _0x2cf7ad=_0x39927c;const _0x138500=this[_0x2cf7ad(0x2a5)]()+_0x2cf7ad(0x36f);return(await this['_HTTPService']['get'](_0x138500,{'params':{'objectID':_0xed1f4c[_0x2cf7ad(0x217)],'unitID':_0xed1f4c['unitID']}}))['body'][_0x2cf7ad(0x38c)];}async['putCollaborators'](_0x52db97){var _0x4d1b9d=_0x39927c;const _0x263f0c=this[_0x4d1b9d(0x2a5)]()+_0x4d1b9d(0x36f);await this[_0x4d1b9d(0x254)][_0x4d1b9d(0xd8)](_0x263f0c,{'body':_0x52db97});}};Rt=Pr([Xt(0x0,_0xbc9492(_0x5ee64e)),Xt(0x1,_0xbc9492(_0x227ac9))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x3774dd){var _0x3cd5c7=_0x39927c;return _0x3774dd&&_0x3774dd['__esModule']&&Object[_0x3cd5c7(0x28a)]['hasOwnProperty']['call'](_0x3774dd,_0x3cd5c7(0x33d))?_0x3774dd[_0x3cd5c7(0x33d)]:_0x3774dd;}var Ve={'exports':{}};function Ur(_0x2d51bb){var _0x59220e=_0x39927c;throw new Error(_0x59220e(0xfc)+_0x2d51bb+_0x59220e(0x1b7));}var Ge={'exports':{}},Ar=Ge[_0x39927c(0x39f)],Zt;function ne(){var _0xff055b=_0x39927c;return Zt||(Zt=0x1,function(_0x33be10,_0xe7273b){(function(_0x5a986d,_0x293e13){_0x33be10['exports']=_0x293e13();}(Ar,function(){var _0x14c045=_0x14c045||function(_0x67b3df,_0x1fbe25){var _0x30bcd7=_0x16b6,_0x5ef6cf;if(typeof window<'u'&&window[_0x30bcd7(0x393)]&&(_0x5ef6cf=window['crypto']),typeof self<'u'&&self[_0x30bcd7(0x393)]&&(_0x5ef6cf=self[_0x30bcd7(0x393)]),typeof globalThis<'u'&&globalThis[_0x30bcd7(0x393)]&&(_0x5ef6cf=globalThis[_0x30bcd7(0x393)]),!_0x5ef6cf&&typeof window<'u'&&window[_0x30bcd7(0x2d2)]&&(_0x5ef6cf=window[_0x30bcd7(0x2d2)]),!_0x5ef6cf&&typeof pt<'u'&&pt[_0x30bcd7(0x393)]&&(_0x5ef6cf=pt[_0x30bcd7(0x393)]),!_0x5ef6cf&&typeof Ur==_0x30bcd7(0xff))try{_0x5ef6cf=require(_0x30bcd7(0x393));}catch{}var _0x6295f9=function(){var _0x57dcad=_0x30bcd7;if(_0x5ef6cf){if(typeof _0x5ef6cf[_0x57dcad(0x172)]==_0x57dcad(0xff))try{return _0x5ef6cf[_0x57dcad(0x172)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5ef6cf[_0x57dcad(0x1f8)]=='function')try{return _0x5ef6cf['randomBytes'](0x4)[_0x57dcad(0x31c)]();}catch{}}throw new Error(_0x57dcad(0x11b));},_0x27d872=Object[_0x30bcd7(0x392)]||(function(){function _0x46affe(){}return function(_0x164deb){var _0xaacfcb=_0x16b6,_0x362eab;return _0x46affe[_0xaacfcb(0x28a)]=_0x164deb,_0x362eab=new _0x46affe(),_0x46affe[_0xaacfcb(0x28a)]=null,_0x362eab;};}()),_0x3d8701={},_0x53471c=_0x3d8701[_0x30bcd7(0x2b8)]={},_0xc7fbe6=_0x53471c[_0x30bcd7(0x19a)]=(function(){return{'extend':function(_0x233bfd){var _0xfe8589=_0x16b6,_0x2ff2f6=_0x27d872(this);return _0x233bfd&&_0x2ff2f6[_0xfe8589(0x25a)](_0x233bfd),(!_0x2ff2f6['hasOwnProperty'](_0xfe8589(0x367))||this[_0xfe8589(0x367)]===_0x2ff2f6['init'])&&(_0x2ff2f6[_0xfe8589(0x367)]=function(){var _0x5c48b6=_0xfe8589;_0x2ff2f6[_0x5c48b6(0x279)][_0x5c48b6(0x367)][_0x5c48b6(0x17c)](this,arguments);}),_0x2ff2f6[_0xfe8589(0x367)][_0xfe8589(0x28a)]=_0x2ff2f6,_0x2ff2f6[_0xfe8589(0x279)]=this,_0x2ff2f6;},'create':function(){var _0x1986ca=_0x16b6,_0x4b1b54=this[_0x1986ca(0x31d)]();return _0x4b1b54[_0x1986ca(0x367)]['apply'](_0x4b1b54,arguments),_0x4b1b54;},'init':function(){},'mixIn':function(_0x2d15c9){var _0x1ac429=_0x16b6;for(var _0x1cf37b in _0x2d15c9)_0x2d15c9['hasOwnProperty'](_0x1cf37b)&&(this[_0x1cf37b]=_0x2d15c9[_0x1cf37b]);_0x2d15c9['hasOwnProperty'](_0x1ac429(0x12a))&&(this[_0x1ac429(0x12a)]=_0x2d15c9[_0x1ac429(0x12a)]);},'clone':function(){var _0x345c12=_0x16b6;return this['init'][_0x345c12(0x28a)][_0x345c12(0x31d)](this);}};}()),_0x3164eb=_0x53471c[_0x30bcd7(0x12f)]=_0xc7fbe6[_0x30bcd7(0x31d)]({'init':function(_0x48a138,_0x502d99){var _0x1e9818=_0x30bcd7;_0x48a138=this['words']=_0x48a138||[],_0x502d99!=_0x1fbe25?this[_0x1e9818(0x303)]=_0x502d99:this[_0x1e9818(0x303)]=_0x48a138[_0x1e9818(0x1ad)]*0x4;},'toString':function(_0x1530c5){var _0x13958f=_0x30bcd7;return(_0x1530c5||_0x1efd26)[_0x13958f(0x1a7)](this);},'concat':function(_0x3ab2b5){var _0x4dadbe=_0x30bcd7,_0x3c645b=this[_0x4dadbe(0x16f)],_0x314064=_0x3ab2b5['words'],_0x4a8d1c=this[_0x4dadbe(0x303)],_0x115a2f=_0x3ab2b5[_0x4dadbe(0x303)];if(this[_0x4dadbe(0x388)](),_0x4a8d1c%0x4)for(var _0xe47590=0x0;_0xe47590<_0x115a2f;_0xe47590++){var _0x1c8471=_0x314064[_0xe47590>>>0x2]>>>0x18-_0xe47590%0x4*0x8&0xff;_0x3c645b[_0x4a8d1c+_0xe47590>>>0x2]|=_0x1c8471<<0x18-(_0x4a8d1c+_0xe47590)%0x4*0x8;}else{for(var _0x541036=0x0;_0x541036<_0x115a2f;_0x541036+=0x4)_0x3c645b[_0x4a8d1c+_0x541036>>>0x2]=_0x314064[_0x541036>>>0x2];}return this[_0x4dadbe(0x303)]+=_0x115a2f,this;},'clamp':function(){var _0x15f340=_0x30bcd7,_0x268f2a=this[_0x15f340(0x16f)],_0x51759e=this[_0x15f340(0x303)];_0x268f2a[_0x51759e>>>0x2]&=0xffffffff<<0x20-_0x51759e%0x4*0x8,_0x268f2a[_0x15f340(0x1ad)]=_0x67b3df['ceil'](_0x51759e/0x4);},'clone':function(){var _0x23091c=_0x30bcd7,_0x22f0b0=_0xc7fbe6[_0x23091c(0x21f)][_0x23091c(0x15d)](this);return _0x22f0b0[_0x23091c(0x16f)]=this[_0x23091c(0x16f)][_0x23091c(0x263)](0x0),_0x22f0b0;},'random':function(_0x894f58){var _0x22a60d=_0x30bcd7;for(var _0x4016f3=[],_0x33e62f=0x0;_0x33e62f<_0x894f58;_0x33e62f+=0x4)_0x4016f3[_0x22a60d(0x14b)](_0x6295f9());return new _0x3164eb[(_0x22a60d(0x367))](_0x4016f3,_0x894f58);}}),_0x4e4a03=_0x3d8701['enc']={},_0x1efd26=_0x4e4a03[_0x30bcd7(0x284)]={'stringify':function(_0x1a2151){var _0xdfa215=_0x30bcd7;for(var _0xb93234=_0x1a2151[_0xdfa215(0x16f)],_0x117467=_0x1a2151[_0xdfa215(0x303)],_0x4f2134=[],_0x29c672=0x0;_0x29c672<_0x117467;_0x29c672++){var _0x274e52=_0xb93234[_0x29c672>>>0x2]>>>0x18-_0x29c672%0x4*0x8&0xff;_0x4f2134[_0xdfa215(0x14b)]((_0x274e52>>>0x4)[_0xdfa215(0x12a)](0x10)),_0x4f2134['push']((_0x274e52&0xf)['toString'](0x10));}return _0x4f2134[_0xdfa215(0x396)]('');},'parse':function(_0x64f6a1){var _0x17c5f3=_0x30bcd7;for(var _0x2a390d=_0x64f6a1['length'],_0x5f20a4=[],_0x54dd78=0x0;_0x54dd78<_0x2a390d;_0x54dd78+=0x2)_0x5f20a4[_0x54dd78>>>0x3]|=parseInt(_0x64f6a1[_0x17c5f3(0x16b)](_0x54dd78,0x2),0x10)<<0x18-_0x54dd78%0x8*0x4;return new _0x3164eb[(_0x17c5f3(0x367))](_0x5f20a4,_0x2a390d/0x2);}},_0x587aab=_0x4e4a03[_0x30bcd7(0x211)]={'stringify':function(_0x3ea6d1){var _0x1ef43e=_0x30bcd7;for(var _0x1ac477=_0x3ea6d1[_0x1ef43e(0x16f)],_0x251acc=_0x3ea6d1['sigBytes'],_0x3e19f1=[],_0x84208b=0x0;_0x84208b<_0x251acc;_0x84208b++){var _0x31070d=_0x1ac477[_0x84208b>>>0x2]>>>0x18-_0x84208b%0x4*0x8&0xff;_0x3e19f1[_0x1ef43e(0x14b)](String[_0x1ef43e(0x353)](_0x31070d));}return _0x3e19f1[_0x1ef43e(0x396)]('');},'parse':function(_0x3ab396){var _0x1ecde3=_0x30bcd7;for(var _0x40d7e7=_0x3ab396[_0x1ecde3(0x1ad)],_0x2035d6=[],_0x2551e5=0x0;_0x2551e5<_0x40d7e7;_0x2551e5++)_0x2035d6[_0x2551e5>>>0x2]|=(_0x3ab396['charCodeAt'](_0x2551e5)&0xff)<<0x18-_0x2551e5%0x4*0x8;return new _0x3164eb[(_0x1ecde3(0x367))](_0x2035d6,_0x40d7e7);}},_0x40596c=_0x4e4a03[_0x30bcd7(0x2cc)]={'stringify':function(_0x244b25){var _0x23f42f=_0x30bcd7;try{return decodeURIComponent(escape(_0x587aab[_0x23f42f(0x1a7)](_0x244b25)));}catch{throw new Error(_0x23f42f(0x32d));}},'parse':function(_0x39269f){var _0x2fc357=_0x30bcd7;return _0x587aab[_0x2fc357(0x3a2)](unescape(encodeURIComponent(_0x39269f)));}},_0x282303=_0x53471c[_0x30bcd7(0x155)]=_0xc7fbe6[_0x30bcd7(0x31d)]({'reset':function(){var _0x2ff056=_0x30bcd7;this[_0x2ff056(0x156)]=new _0x3164eb[(_0x2ff056(0x367))](),this[_0x2ff056(0x35d)]=0x0;},'_append':function(_0x497e88){var _0x11557e=_0x30bcd7;typeof _0x497e88==_0x11557e(0x30a)&&(_0x497e88=_0x40596c[_0x11557e(0x3a2)](_0x497e88)),this[_0x11557e(0x156)][_0x11557e(0x2d9)](_0x497e88),this['_nDataBytes']+=_0x497e88['sigBytes'];},'_process':function(_0x494ec7){var _0x35f571=_0x30bcd7,_0x18f061,_0x506299=this[_0x35f571(0x156)],_0x12c0b6=_0x506299['words'],_0x40b76b=_0x506299['sigBytes'],_0x3040f8=this[_0x35f571(0x256)],_0x5aebc9=_0x3040f8*0x4,_0x3c6f8c=_0x40b76b/_0x5aebc9;_0x494ec7?_0x3c6f8c=_0x67b3df[_0x35f571(0x34f)](_0x3c6f8c):_0x3c6f8c=_0x67b3df[_0x35f571(0x159)]((_0x3c6f8c|0x0)-this[_0x35f571(0x278)],0x0);var _0x59b319=_0x3c6f8c*_0x3040f8,_0x591690=_0x67b3df[_0x35f571(0x281)](_0x59b319*0x4,_0x40b76b);if(_0x59b319){for(var _0xdc23ff=0x0;_0xdc23ff<_0x59b319;_0xdc23ff+=_0x3040f8)this[_0x35f571(0x394)](_0x12c0b6,_0xdc23ff);_0x18f061=_0x12c0b6[_0x35f571(0xbc)](0x0,_0x59b319),_0x506299['sigBytes']-=_0x591690;}return new _0x3164eb[(_0x35f571(0x367))](_0x18f061,_0x591690);},'clone':function(){var _0x1d9aea=_0x30bcd7,_0x497b40=_0xc7fbe6['clone'][_0x1d9aea(0x15d)](this);return _0x497b40[_0x1d9aea(0x156)]=this['_data']['clone'](),_0x497b40;},'_minBufferSize':0x0});_0x53471c[_0x30bcd7(0x2f0)]=_0x282303[_0x30bcd7(0x31d)]({'cfg':_0xc7fbe6[_0x30bcd7(0x31d)](),'init':function(_0x75340){var _0x4a7b4f=_0x30bcd7;this[_0x4a7b4f(0x200)]=this[_0x4a7b4f(0x200)]['extend'](_0x75340),this[_0x4a7b4f(0x235)]();},'reset':function(){var _0x494a58=_0x30bcd7;_0x282303[_0x494a58(0x235)]['call'](this),this[_0x494a58(0x146)]();},'update':function(_0x2d62d4){var _0x328fbb=_0x30bcd7;return this[_0x328fbb(0x280)](_0x2d62d4),this[_0x328fbb(0x1cd)](),this;},'finalize':function(_0x1768b8){var _0x48c31a=_0x30bcd7;_0x1768b8&&this[_0x48c31a(0x280)](_0x1768b8);var _0x4ee887=this[_0x48c31a(0xea)]();return _0x4ee887;},'blockSize':0x10,'_createHelper':function(_0x10224a){return function(_0x4b50cd,_0x2a6d81){var _0xd81a11=_0x16b6;return new _0x10224a[(_0xd81a11(0x367))](_0x2a6d81)[_0xd81a11(0x1c9)](_0x4b50cd);};},'_createHmacHelper':function(_0x22df57){return function(_0x4e03cf,_0x4a5a0d){var _0x1f20f=_0x16b6;return new _0x195889['HMAC'][(_0x1f20f(0x367))](_0x22df57,_0x4a5a0d)['finalize'](_0x4e03cf);};}});var _0x195889=_0x3d8701['algo']={};return _0x3d8701;}(Math);return _0x14c045;}));}(Ge)),Ge[_0xff055b(0x39f)];}var We={'exports':{}},xr=We[_0x39927c(0x39f)],Qt;function wi(){return Qt||(Qt=0x1,function(_0x5aacb8,_0x4e97ac){(function(_0x496b24,_0x518988){_0x5aacb8['exports']=_0x518988(ne());}(xr,function(_0x30f5b9){var _0x3d2a68=_0x16b6;return(function(){var _0x27de97=_0x16b6,_0x69fc44=_0x30f5b9,_0xfd2831=_0x69fc44['lib'],_0x1ebc32=_0xfd2831['WordArray'],_0x497c83=_0x69fc44[_0x27de97(0x244)];_0x497c83[_0x27de97(0x20f)]={'stringify':function(_0x21e6b1){var _0xf5c9e8=_0x27de97,_0x33840a=_0x21e6b1[_0xf5c9e8(0x16f)],_0x52abd5=_0x21e6b1[_0xf5c9e8(0x303)],_0xee8234=this[_0xf5c9e8(0x18d)];_0x21e6b1[_0xf5c9e8(0x388)]();for(var _0x1057a8=[],_0x43f957=0x0;_0x43f957<_0x52abd5;_0x43f957+=0x3)for(var _0x24173a=_0x33840a[_0x43f957>>>0x2]>>>0x18-_0x43f957%0x4*0x8&0xff,_0x2cf2df=_0x33840a[_0x43f957+0x1>>>0x2]>>>0x18-(_0x43f957+0x1)%0x4*0x8&0xff,_0x3e0bea=_0x33840a[_0x43f957+0x2>>>0x2]>>>0x18-(_0x43f957+0x2)%0x4*0x8&0xff,_0x30f493=_0x24173a<<0x10|_0x2cf2df<<0x8|_0x3e0bea,_0x565b4a=0x0;_0x565b4a<0x4&&_0x43f957+_0x565b4a*0.75<_0x52abd5;_0x565b4a++)_0x1057a8[_0xf5c9e8(0x14b)](_0xee8234['charAt'](_0x30f493>>>0x6*(0x3-_0x565b4a)&0x3f));var _0x55b405=_0xee8234['charAt'](0x40);if(_0x55b405){for(;_0x1057a8['length']%0x4;)_0x1057a8['push'](_0x55b405);}return _0x1057a8['join']('');},'parse':function(_0x589ebe){var _0x4dacbf=_0x27de97,_0x1a3b0f=_0x589ebe[_0x4dacbf(0x1ad)],_0x4f0a22=this[_0x4dacbf(0x18d)],_0xa2f24a=this['_reverseMap'];if(!_0xa2f24a){_0xa2f24a=this[_0x4dacbf(0x11d)]=[];for(var _0x3d39d6=0x0;_0x3d39d6<_0x4f0a22['length'];_0x3d39d6++)_0xa2f24a[_0x4f0a22[_0x4dacbf(0x2cd)](_0x3d39d6)]=_0x3d39d6;}var _0x10c389=_0x4f0a22['charAt'](0x40);if(_0x10c389){var _0x2b3680=_0x589ebe[_0x4dacbf(0x102)](_0x10c389);_0x2b3680!==-0x1&&(_0x1a3b0f=_0x2b3680);}return _0x1170ea(_0x589ebe,_0x1a3b0f,_0xa2f24a);},'_map':_0x27de97(0x292)};function _0x1170ea(_0x2c09f9,_0xc85d6d,_0x479050){var _0x57df3b=_0x27de97;for(var _0x6ff035=[],_0x26056a=0x0,_0x4d3cb1=0x0;_0x4d3cb1<_0xc85d6d;_0x4d3cb1++)if(_0x4d3cb1%0x4){var _0x1cbf1f=_0x479050[_0x2c09f9[_0x57df3b(0x2cd)](_0x4d3cb1-0x1)]<<_0x4d3cb1%0x4*0x2,_0x2abf57=_0x479050[_0x2c09f9[_0x57df3b(0x2cd)](_0x4d3cb1)]>>>0x6-_0x4d3cb1%0x4*0x2,_0x10c92d=_0x1cbf1f|_0x2abf57;_0x6ff035[_0x26056a>>>0x2]|=_0x10c92d<<0x18-_0x26056a%0x4*0x8,_0x26056a++;}return _0x1ebc32['create'](_0x6ff035,_0x26056a);}}()),_0x30f5b9['enc'][_0x3d2a68(0x20f)];}));}(We)),We['exports'];}var Ke={'exports':{}},Lr=Ke[_0x39927c(0x39f)],ei;function Mr(){var _0x4c33e3=_0x39927c;return ei||(ei=0x1,function(_0x5a01ee,_0x4cabaf){(function(_0x5d1244,_0x2e1f94){var _0x28e791=_0x16b6;_0x5a01ee[_0x28e791(0x39f)]=_0x2e1f94(ne());}(Lr,function(_0x42a7c2){return function(_0x15ca90){var _0x3e636e=_0x16b6,_0x3c002b=_0x42a7c2,_0x16194c=_0x3c002b[_0x3e636e(0x2b8)],_0x5571d7=_0x16194c[_0x3e636e(0x12f)],_0x5f9762=_0x16194c['Hasher'],_0x30b475=_0x3c002b['algo'],_0x21778f=[];(function(){var _0x3e916f=_0x3e636e;for(var _0x5a07c3=0x0;_0x5a07c3<0x40;_0x5a07c3++)_0x21778f[_0x5a07c3]=_0x15ca90[_0x3e916f(0x21a)](_0x15ca90['sin'](_0x5a07c3+0x1))*0x100000000|0x0;}());var _0x3dd105=_0x30b475[_0x3e636e(0x1b4)]=_0x5f9762[_0x3e636e(0x31d)]({'_doReset':function(){var _0x470c6e=_0x3e636e;this[_0x470c6e(0x187)]=new _0x5571d7[(_0x470c6e(0x367))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x15d2e9,_0x1b04d7){var _0x453b6f=_0x3e636e;for(var _0x1e5af6=0x0;_0x1e5af6<0x10;_0x1e5af6++){var _0x2355de=_0x1b04d7+_0x1e5af6,_0x405099=_0x15d2e9[_0x2355de];_0x15d2e9[_0x2355de]=(_0x405099<<0x8|_0x405099>>>0x18)&0xff00ff|(_0x405099<<0x18|_0x405099>>>0x8)&0xff00ff00;}var _0x29a561=this[_0x453b6f(0x187)][_0x453b6f(0x16f)],_0x4cc1dc=_0x15d2e9[_0x1b04d7+0x0],_0xb758d7=_0x15d2e9[_0x1b04d7+0x1],_0x15f502=_0x15d2e9[_0x1b04d7+0x2],_0x364440=_0x15d2e9[_0x1b04d7+0x3],_0x2bde04=_0x15d2e9[_0x1b04d7+0x4],_0x4760e9=_0x15d2e9[_0x1b04d7+0x5],_0x3d5d25=_0x15d2e9[_0x1b04d7+0x6],_0x307dae=_0x15d2e9[_0x1b04d7+0x7],_0x30d134=_0x15d2e9[_0x1b04d7+0x8],_0x3f6602=_0x15d2e9[_0x1b04d7+0x9],_0x2fc698=_0x15d2e9[_0x1b04d7+0xa],_0x479040=_0x15d2e9[_0x1b04d7+0xb],_0x1dfdd2=_0x15d2e9[_0x1b04d7+0xc],_0xd99843=_0x15d2e9[_0x1b04d7+0xd],_0x2efb61=_0x15d2e9[_0x1b04d7+0xe],_0x8adb9=_0x15d2e9[_0x1b04d7+0xf],_0x590f15=_0x29a561[0x0],_0x565d2d=_0x29a561[0x1],_0x47eb6b=_0x29a561[0x2],_0x2dbdf0=_0x29a561[0x3];_0x590f15=_0x30740b(_0x590f15,_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x4cc1dc,0x7,_0x21778f[0x0]),_0x2dbdf0=_0x30740b(_0x2dbdf0,_0x590f15,_0x565d2d,_0x47eb6b,_0xb758d7,0xc,_0x21778f[0x1]),_0x47eb6b=_0x30740b(_0x47eb6b,_0x2dbdf0,_0x590f15,_0x565d2d,_0x15f502,0x11,_0x21778f[0x2]),_0x565d2d=_0x30740b(_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x590f15,_0x364440,0x16,_0x21778f[0x3]),_0x590f15=_0x30740b(_0x590f15,_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x2bde04,0x7,_0x21778f[0x4]),_0x2dbdf0=_0x30740b(_0x2dbdf0,_0x590f15,_0x565d2d,_0x47eb6b,_0x4760e9,0xc,_0x21778f[0x5]),_0x47eb6b=_0x30740b(_0x47eb6b,_0x2dbdf0,_0x590f15,_0x565d2d,_0x3d5d25,0x11,_0x21778f[0x6]),_0x565d2d=_0x30740b(_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x590f15,_0x307dae,0x16,_0x21778f[0x7]),_0x590f15=_0x30740b(_0x590f15,_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x30d134,0x7,_0x21778f[0x8]),_0x2dbdf0=_0x30740b(_0x2dbdf0,_0x590f15,_0x565d2d,_0x47eb6b,_0x3f6602,0xc,_0x21778f[0x9]),_0x47eb6b=_0x30740b(_0x47eb6b,_0x2dbdf0,_0x590f15,_0x565d2d,_0x2fc698,0x11,_0x21778f[0xa]),_0x565d2d=_0x30740b(_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x590f15,_0x479040,0x16,_0x21778f[0xb]),_0x590f15=_0x30740b(_0x590f15,_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x1dfdd2,0x7,_0x21778f[0xc]),_0x2dbdf0=_0x30740b(_0x2dbdf0,_0x590f15,_0x565d2d,_0x47eb6b,_0xd99843,0xc,_0x21778f[0xd]),_0x47eb6b=_0x30740b(_0x47eb6b,_0x2dbdf0,_0x590f15,_0x565d2d,_0x2efb61,0x11,_0x21778f[0xe]),_0x565d2d=_0x30740b(_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x590f15,_0x8adb9,0x16,_0x21778f[0xf]),_0x590f15=_0x2b23a3(_0x590f15,_0x565d2d,_0x47eb6b,_0x2dbdf0,_0xb758d7,0x5,_0x21778f[0x10]),_0x2dbdf0=_0x2b23a3(_0x2dbdf0,_0x590f15,_0x565d2d,_0x47eb6b,_0x3d5d25,0x9,_0x21778f[0x11]),_0x47eb6b=_0x2b23a3(_0x47eb6b,_0x2dbdf0,_0x590f15,_0x565d2d,_0x479040,0xe,_0x21778f[0x12]),_0x565d2d=_0x2b23a3(_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x590f15,_0x4cc1dc,0x14,_0x21778f[0x13]),_0x590f15=_0x2b23a3(_0x590f15,_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x4760e9,0x5,_0x21778f[0x14]),_0x2dbdf0=_0x2b23a3(_0x2dbdf0,_0x590f15,_0x565d2d,_0x47eb6b,_0x2fc698,0x9,_0x21778f[0x15]),_0x47eb6b=_0x2b23a3(_0x47eb6b,_0x2dbdf0,_0x590f15,_0x565d2d,_0x8adb9,0xe,_0x21778f[0x16]),_0x565d2d=_0x2b23a3(_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x590f15,_0x2bde04,0x14,_0x21778f[0x17]),_0x590f15=_0x2b23a3(_0x590f15,_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x3f6602,0x5,_0x21778f[0x18]),_0x2dbdf0=_0x2b23a3(_0x2dbdf0,_0x590f15,_0x565d2d,_0x47eb6b,_0x2efb61,0x9,_0x21778f[0x19]),_0x47eb6b=_0x2b23a3(_0x47eb6b,_0x2dbdf0,_0x590f15,_0x565d2d,_0x364440,0xe,_0x21778f[0x1a]),_0x565d2d=_0x2b23a3(_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x590f15,_0x30d134,0x14,_0x21778f[0x1b]),_0x590f15=_0x2b23a3(_0x590f15,_0x565d2d,_0x47eb6b,_0x2dbdf0,_0xd99843,0x5,_0x21778f[0x1c]),_0x2dbdf0=_0x2b23a3(_0x2dbdf0,_0x590f15,_0x565d2d,_0x47eb6b,_0x15f502,0x9,_0x21778f[0x1d]),_0x47eb6b=_0x2b23a3(_0x47eb6b,_0x2dbdf0,_0x590f15,_0x565d2d,_0x307dae,0xe,_0x21778f[0x1e]),_0x565d2d=_0x2b23a3(_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x590f15,_0x1dfdd2,0x14,_0x21778f[0x1f]),_0x590f15=_0x48fa90(_0x590f15,_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x4760e9,0x4,_0x21778f[0x20]),_0x2dbdf0=_0x48fa90(_0x2dbdf0,_0x590f15,_0x565d2d,_0x47eb6b,_0x30d134,0xb,_0x21778f[0x21]),_0x47eb6b=_0x48fa90(_0x47eb6b,_0x2dbdf0,_0x590f15,_0x565d2d,_0x479040,0x10,_0x21778f[0x22]),_0x565d2d=_0x48fa90(_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x590f15,_0x2efb61,0x17,_0x21778f[0x23]),_0x590f15=_0x48fa90(_0x590f15,_0x565d2d,_0x47eb6b,_0x2dbdf0,_0xb758d7,0x4,_0x21778f[0x24]),_0x2dbdf0=_0x48fa90(_0x2dbdf0,_0x590f15,_0x565d2d,_0x47eb6b,_0x2bde04,0xb,_0x21778f[0x25]),_0x47eb6b=_0x48fa90(_0x47eb6b,_0x2dbdf0,_0x590f15,_0x565d2d,_0x307dae,0x10,_0x21778f[0x26]),_0x565d2d=_0x48fa90(_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x590f15,_0x2fc698,0x17,_0x21778f[0x27]),_0x590f15=_0x48fa90(_0x590f15,_0x565d2d,_0x47eb6b,_0x2dbdf0,_0xd99843,0x4,_0x21778f[0x28]),_0x2dbdf0=_0x48fa90(_0x2dbdf0,_0x590f15,_0x565d2d,_0x47eb6b,_0x4cc1dc,0xb,_0x21778f[0x29]),_0x47eb6b=_0x48fa90(_0x47eb6b,_0x2dbdf0,_0x590f15,_0x565d2d,_0x364440,0x10,_0x21778f[0x2a]),_0x565d2d=_0x48fa90(_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x590f15,_0x3d5d25,0x17,_0x21778f[0x2b]),_0x590f15=_0x48fa90(_0x590f15,_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x3f6602,0x4,_0x21778f[0x2c]),_0x2dbdf0=_0x48fa90(_0x2dbdf0,_0x590f15,_0x565d2d,_0x47eb6b,_0x1dfdd2,0xb,_0x21778f[0x2d]),_0x47eb6b=_0x48fa90(_0x47eb6b,_0x2dbdf0,_0x590f15,_0x565d2d,_0x8adb9,0x10,_0x21778f[0x2e]),_0x565d2d=_0x48fa90(_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x590f15,_0x15f502,0x17,_0x21778f[0x2f]),_0x590f15=_0x57a306(_0x590f15,_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x4cc1dc,0x6,_0x21778f[0x30]),_0x2dbdf0=_0x57a306(_0x2dbdf0,_0x590f15,_0x565d2d,_0x47eb6b,_0x307dae,0xa,_0x21778f[0x31]),_0x47eb6b=_0x57a306(_0x47eb6b,_0x2dbdf0,_0x590f15,_0x565d2d,_0x2efb61,0xf,_0x21778f[0x32]),_0x565d2d=_0x57a306(_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x590f15,_0x4760e9,0x15,_0x21778f[0x33]),_0x590f15=_0x57a306(_0x590f15,_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x1dfdd2,0x6,_0x21778f[0x34]),_0x2dbdf0=_0x57a306(_0x2dbdf0,_0x590f15,_0x565d2d,_0x47eb6b,_0x364440,0xa,_0x21778f[0x35]),_0x47eb6b=_0x57a306(_0x47eb6b,_0x2dbdf0,_0x590f15,_0x565d2d,_0x2fc698,0xf,_0x21778f[0x36]),_0x565d2d=_0x57a306(_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x590f15,_0xb758d7,0x15,_0x21778f[0x37]),_0x590f15=_0x57a306(_0x590f15,_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x30d134,0x6,_0x21778f[0x38]),_0x2dbdf0=_0x57a306(_0x2dbdf0,_0x590f15,_0x565d2d,_0x47eb6b,_0x8adb9,0xa,_0x21778f[0x39]),_0x47eb6b=_0x57a306(_0x47eb6b,_0x2dbdf0,_0x590f15,_0x565d2d,_0x3d5d25,0xf,_0x21778f[0x3a]),_0x565d2d=_0x57a306(_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x590f15,_0xd99843,0x15,_0x21778f[0x3b]),_0x590f15=_0x57a306(_0x590f15,_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x2bde04,0x6,_0x21778f[0x3c]),_0x2dbdf0=_0x57a306(_0x2dbdf0,_0x590f15,_0x565d2d,_0x47eb6b,_0x479040,0xa,_0x21778f[0x3d]),_0x47eb6b=_0x57a306(_0x47eb6b,_0x2dbdf0,_0x590f15,_0x565d2d,_0x15f502,0xf,_0x21778f[0x3e]),_0x565d2d=_0x57a306(_0x565d2d,_0x47eb6b,_0x2dbdf0,_0x590f15,_0x3f6602,0x15,_0x21778f[0x3f]),_0x29a561[0x0]=_0x29a561[0x0]+_0x590f15|0x0,_0x29a561[0x1]=_0x29a561[0x1]+_0x565d2d|0x0,_0x29a561[0x2]=_0x29a561[0x2]+_0x47eb6b|0x0,_0x29a561[0x3]=_0x29a561[0x3]+_0x2dbdf0|0x0;},'_doFinalize':function(){var _0x35384b=_0x3e636e,_0x4ab346=this['_data'],_0x1790af=_0x4ab346[_0x35384b(0x16f)],_0x36da90=this[_0x35384b(0x35d)]*0x8,_0x2671c3=_0x4ab346[_0x35384b(0x303)]*0x8;_0x1790af[_0x2671c3>>>0x5]|=0x80<<0x18-_0x2671c3%0x20;var _0x114acd=_0x15ca90[_0x35384b(0x36c)](_0x36da90/0x100000000),_0x177454=_0x36da90;_0x1790af[(_0x2671c3+0x40>>>0x9<<0x4)+0xf]=(_0x114acd<<0x8|_0x114acd>>>0x18)&0xff00ff|(_0x114acd<<0x18|_0x114acd>>>0x8)&0xff00ff00,_0x1790af[(_0x2671c3+0x40>>>0x9<<0x4)+0xe]=(_0x177454<<0x8|_0x177454>>>0x18)&0xff00ff|(_0x177454<<0x18|_0x177454>>>0x8)&0xff00ff00,_0x4ab346[_0x35384b(0x303)]=(_0x1790af[_0x35384b(0x1ad)]+0x1)*0x4,this[_0x35384b(0x1cd)]();for(var _0x4f3a10=this[_0x35384b(0x187)],_0x2237be=_0x4f3a10['words'],_0x285979=0x0;_0x285979<0x4;_0x285979++){var _0x3297a5=_0x2237be[_0x285979];_0x2237be[_0x285979]=(_0x3297a5<<0x8|_0x3297a5>>>0x18)&0xff00ff|(_0x3297a5<<0x18|_0x3297a5>>>0x8)&0xff00ff00;}return _0x4f3a10;},'clone':function(){var _0x29a583=_0x3e636e,_0x2ac01b=_0x5f9762[_0x29a583(0x21f)][_0x29a583(0x15d)](this);return _0x2ac01b[_0x29a583(0x187)]=this['_hash'][_0x29a583(0x21f)](),_0x2ac01b;}});function _0x30740b(_0xfcb90c,_0x11a613,_0x504be6,_0x349a73,_0x1ea826,_0x2d3596,_0x537b16){var _0x42f2c5=_0xfcb90c+(_0x11a613&_0x504be6|~_0x11a613&_0x349a73)+_0x1ea826+_0x537b16;return(_0x42f2c5<<_0x2d3596|_0x42f2c5>>>0x20-_0x2d3596)+_0x11a613;}function _0x2b23a3(_0x4fa7dd,_0x166b52,_0x1d5065,_0x1f9a5d,_0x568a2b,_0xb334d2,_0x1243ac){var _0x29779e=_0x4fa7dd+(_0x166b52&_0x1f9a5d|_0x1d5065&~_0x1f9a5d)+_0x568a2b+_0x1243ac;return(_0x29779e<<_0xb334d2|_0x29779e>>>0x20-_0xb334d2)+_0x166b52;}function _0x48fa90(_0x315fc6,_0x55d434,_0x8f9d7a,_0x128a8d,_0x176f68,_0x4af785,_0x1ad7bf){var _0x133ace=_0x315fc6+(_0x55d434^_0x8f9d7a^_0x128a8d)+_0x176f68+_0x1ad7bf;return(_0x133ace<<_0x4af785|_0x133ace>>>0x20-_0x4af785)+_0x55d434;}function _0x57a306(_0x274f66,_0x1d7f59,_0x12bbf5,_0x1895f5,_0x432e52,_0x18ce71,_0x553e7c){var _0x92d8c1=_0x274f66+(_0x12bbf5^(_0x1d7f59|~_0x1895f5))+_0x432e52+_0x553e7c;return(_0x92d8c1<<_0x18ce71|_0x92d8c1>>>0x20-_0x18ce71)+_0x1d7f59;}_0x3c002b[_0x3e636e(0x1b4)]=_0x5f9762['_createHelper'](_0x3dd105),_0x3c002b[_0x3e636e(0x275)]=_0x5f9762[_0x3e636e(0x2e4)](_0x3dd105);}(Math),_0x42a7c2['MD5'];}));}(Ke)),Ke[_0x4c33e3(0x39f)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x39927c(0x39f)],ti;function Hr(){return ti||(ti=0x1,function(_0x54d0a2,_0x333989){(function(_0x60ffa0,_0x340c42){var _0x32bc05=_0x16b6;_0x54d0a2[_0x32bc05(0x39f)]=_0x340c42(ne());}($r,function(_0x52b78e){return(function(){var _0x2aba9d=_0x16b6,_0x2f7d63=_0x52b78e,_0x220027=_0x2f7d63[_0x2aba9d(0x2b8)],_0x190d21=_0x220027[_0x2aba9d(0x12f)],_0x2733cf=_0x220027[_0x2aba9d(0x2f0)],_0x186b5f=_0x2f7d63[_0x2aba9d(0x379)],_0x4f3473=[],_0x471a3a=_0x186b5f[_0x2aba9d(0x1da)]=_0x2733cf['extend']({'_doReset':function(){this['_hash']=new _0x190d21['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x210198,_0x25fe71){var _0x3a89b2=_0x2aba9d;for(var _0x5b1ac0=this['_hash'][_0x3a89b2(0x16f)],_0x539608=_0x5b1ac0[0x0],_0xdf9e77=_0x5b1ac0[0x1],_0x15c1ff=_0x5b1ac0[0x2],_0x475582=_0x5b1ac0[0x3],_0x2b4d00=_0x5b1ac0[0x4],_0x24a9b7=0x0;_0x24a9b7<0x50;_0x24a9b7++){if(_0x24a9b7<0x10)_0x4f3473[_0x24a9b7]=_0x210198[_0x25fe71+_0x24a9b7]|0x0;else{var _0x131b6b=_0x4f3473[_0x24a9b7-0x3]^_0x4f3473[_0x24a9b7-0x8]^_0x4f3473[_0x24a9b7-0xe]^_0x4f3473[_0x24a9b7-0x10];_0x4f3473[_0x24a9b7]=_0x131b6b<<0x1|_0x131b6b>>>0x1f;}var _0x30bf17=(_0x539608<<0x5|_0x539608>>>0x1b)+_0x2b4d00+_0x4f3473[_0x24a9b7];_0x24a9b7<0x14?_0x30bf17+=(_0xdf9e77&_0x15c1ff|~_0xdf9e77&_0x475582)+0x5a827999:_0x24a9b7<0x28?_0x30bf17+=(_0xdf9e77^_0x15c1ff^_0x475582)+0x6ed9eba1:_0x24a9b7<0x3c?_0x30bf17+=(_0xdf9e77&_0x15c1ff|_0xdf9e77&_0x475582|_0x15c1ff&_0x475582)-0x70e44324:_0x30bf17+=(_0xdf9e77^_0x15c1ff^_0x475582)-0x359d3e2a,_0x2b4d00=_0x475582,_0x475582=_0x15c1ff,_0x15c1ff=_0xdf9e77<<0x1e|_0xdf9e77>>>0x2,_0xdf9e77=_0x539608,_0x539608=_0x30bf17;}_0x5b1ac0[0x0]=_0x5b1ac0[0x0]+_0x539608|0x0,_0x5b1ac0[0x1]=_0x5b1ac0[0x1]+_0xdf9e77|0x0,_0x5b1ac0[0x2]=_0x5b1ac0[0x2]+_0x15c1ff|0x0,_0x5b1ac0[0x3]=_0x5b1ac0[0x3]+_0x475582|0x0,_0x5b1ac0[0x4]=_0x5b1ac0[0x4]+_0x2b4d00|0x0;},'_doFinalize':function(){var _0x3f8624=_0x2aba9d,_0x317298=this[_0x3f8624(0x156)],_0x51ab40=_0x317298[_0x3f8624(0x16f)],_0x363195=this[_0x3f8624(0x35d)]*0x8,_0x5797b0=_0x317298['sigBytes']*0x8;return _0x51ab40[_0x5797b0>>>0x5]|=0x80<<0x18-_0x5797b0%0x20,_0x51ab40[(_0x5797b0+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x363195/0x100000000),_0x51ab40[(_0x5797b0+0x40>>>0x9<<0x4)+0xf]=_0x363195,_0x317298[_0x3f8624(0x303)]=_0x51ab40[_0x3f8624(0x1ad)]*0x4,this[_0x3f8624(0x1cd)](),this[_0x3f8624(0x187)];},'clone':function(){var _0x50ca87=_0x2aba9d,_0x1fec28=_0x2733cf[_0x50ca87(0x21f)][_0x50ca87(0x15d)](this);return _0x1fec28[_0x50ca87(0x187)]=this[_0x50ca87(0x187)][_0x50ca87(0x21f)](),_0x1fec28;}});_0x2f7d63['SHA1']=_0x2733cf[_0x2aba9d(0x25d)](_0x471a3a),_0x2f7d63[_0x2aba9d(0xd2)]=_0x2733cf['_createHmacHelper'](_0x471a3a);}()),_0x52b78e['SHA1'];}));}(qe)),qe['exports'];}var ze={'exports':{}},kr=ze[_0x39927c(0x39f)],ii;function jr(){return ii||(ii=0x1,function(_0x37d4fa,_0x48b6d7){(function(_0x5533a2,_0x182836){var _0x26993f=_0x16b6;_0x37d4fa[_0x26993f(0x39f)]=_0x182836(ne());}(kr,function(_0x5c3b80){(function(){var _0x53b673=_0x16b6,_0x179d5b=_0x5c3b80,_0x5b7231=_0x179d5b['lib'],_0x557bf6=_0x5b7231['Base'],_0x5dd139=_0x179d5b[_0x53b673(0x244)],_0x4999c7=_0x5dd139[_0x53b673(0x2cc)],_0x3b9471=_0x179d5b[_0x53b673(0x379)];_0x3b9471['HMAC']=_0x557bf6[_0x53b673(0x31d)]({'init':function(_0x299b6b,_0xa6a43c){var _0x362bd8=_0x53b673;_0x299b6b=this[_0x362bd8(0x171)]=new _0x299b6b[(_0x362bd8(0x367))](),typeof _0xa6a43c==_0x362bd8(0x30a)&&(_0xa6a43c=_0x4999c7[_0x362bd8(0x3a2)](_0xa6a43c));var _0x153537=_0x299b6b[_0x362bd8(0x256)],_0x48cf1e=_0x153537*0x4;_0xa6a43c[_0x362bd8(0x303)]>_0x48cf1e&&(_0xa6a43c=_0x299b6b[_0x362bd8(0x1c9)](_0xa6a43c)),_0xa6a43c[_0x362bd8(0x388)]();for(var _0x2f49b8=this[_0x362bd8(0x391)]=_0xa6a43c[_0x362bd8(0x21f)](),_0x1763aa=this['_iKey']=_0xa6a43c[_0x362bd8(0x21f)](),_0x577462=_0x2f49b8[_0x362bd8(0x16f)],_0x3b3fdc=_0x1763aa[_0x362bd8(0x16f)],_0x9d6d0b=0x0;_0x9d6d0b<_0x153537;_0x9d6d0b++)_0x577462[_0x9d6d0b]^=0x5c5c5c5c,_0x3b3fdc[_0x9d6d0b]^=0x36363636;_0x2f49b8[_0x362bd8(0x303)]=_0x1763aa[_0x362bd8(0x303)]=_0x48cf1e,this[_0x362bd8(0x235)]();},'reset':function(){var _0xb6e6e3=_0x53b673,_0x58f40c=this[_0xb6e6e3(0x171)];_0x58f40c[_0xb6e6e3(0x235)](),_0x58f40c[_0xb6e6e3(0x21c)](this[_0xb6e6e3(0x240)]);},'update':function(_0x122337){var _0x99b870=_0x53b673;return this['_hasher'][_0x99b870(0x21c)](_0x122337),this;},'finalize':function(_0x50f0db){var _0x3c0ec3=_0x53b673,_0x41f22c=this['_hasher'],_0x49f323=_0x41f22c[_0x3c0ec3(0x1c9)](_0x50f0db);_0x41f22c[_0x3c0ec3(0x235)]();var _0x51e8d5=_0x41f22c['finalize'](this[_0x3c0ec3(0x391)][_0x3c0ec3(0x21f)]()[_0x3c0ec3(0x2d9)](_0x49f323));return _0x51e8d5;}});}());}));}(ze)),ze['exports'];}var Br=Ye[_0x39927c(0x39f)],ni;function Ui(){var _0x44893a=_0x39927c;return ni||(ni=0x1,function(_0x4730c8,_0x3af7f5){(function(_0x164ba4,_0x4e17ea,_0x43e25e){var _0x35507b=_0x16b6;_0x4730c8[_0x35507b(0x39f)]=_0x4e17ea(ne(),Hr(),jr());}(Br,function(_0x1e88ae){var _0xe68c89=_0x16b6;return(function(){var _0x7aba7f=_0x16b6,_0xee2dff=_0x1e88ae,_0x416e0a=_0xee2dff[_0x7aba7f(0x2b8)],_0x126916=_0x416e0a[_0x7aba7f(0x19a)],_0x378157=_0x416e0a['WordArray'],_0x1482d3=_0xee2dff[_0x7aba7f(0x379)],_0xf779c=_0x1482d3[_0x7aba7f(0x1b4)],_0x3cd0a4=_0x1482d3['EvpKDF']=_0x126916['extend']({'cfg':_0x126916[_0x7aba7f(0x31d)]({'keySize':0x80/0x20,'hasher':_0xf779c,'iterations':0x1}),'init':function(_0x3dc69c){var _0x23d855=_0x7aba7f;this[_0x23d855(0x200)]=this[_0x23d855(0x200)][_0x23d855(0x31d)](_0x3dc69c);},'compute':function(_0x15e442,_0x19b923){var _0x53f729=_0x7aba7f;for(var _0x24e1dc,_0x4648e9=this[_0x53f729(0x200)],_0x544a09=_0x4648e9[_0x53f729(0x29a)]['create'](),_0x1e0c19=_0x378157[_0x53f729(0x392)](),_0x46e172=_0x1e0c19[_0x53f729(0x16f)],_0x1eaef2=_0x4648e9[_0x53f729(0x370)],_0x236a86=_0x4648e9[_0x53f729(0x135)];_0x46e172[_0x53f729(0x1ad)]<_0x1eaef2;){_0x24e1dc&&_0x544a09[_0x53f729(0x21c)](_0x24e1dc),_0x24e1dc=_0x544a09[_0x53f729(0x21c)](_0x15e442)[_0x53f729(0x1c9)](_0x19b923),_0x544a09[_0x53f729(0x235)]();for(var _0x48e58e=0x1;_0x48e58e<_0x236a86;_0x48e58e++)_0x24e1dc=_0x544a09[_0x53f729(0x1c9)](_0x24e1dc),_0x544a09[_0x53f729(0x235)]();_0x1e0c19[_0x53f729(0x2d9)](_0x24e1dc);}return _0x1e0c19[_0x53f729(0x303)]=_0x1eaef2*0x4,_0x1e0c19;}});_0xee2dff[_0x7aba7f(0x20e)]=function(_0x21aca6,_0x15fc4d,_0x19b9ab){return _0x3cd0a4['create'](_0x19b9ab)['compute'](_0x21aca6,_0x15fc4d);};}()),_0x1e88ae[_0xe68c89(0x20e)];}));}(Ye)),Ye[_0x44893a(0x39f)];}var Je={'exports':{}},Fr=Je['exports'],ri;function Ai(){var _0x4914a2=_0x39927c;return ri||(ri=0x1,function(_0x4b07d8,_0x28b336){(function(_0x42c3d4,_0x323268,_0x37427b){var _0x455f5d=_0x16b6;_0x4b07d8[_0x455f5d(0x39f)]=_0x323268(ne(),Ui());}(Fr,function(_0x441ee5){var _0xe48ad0=_0x16b6;_0x441ee5['lib'][_0xe48ad0(0x28c)]||function(_0x118856){var _0x6796e0=_0xe48ad0,_0x47d935=_0x441ee5,_0x49fb53=_0x47d935[_0x6796e0(0x2b8)],_0x511558=_0x49fb53[_0x6796e0(0x19a)],_0xbb3f2e=_0x49fb53[_0x6796e0(0x12f)],_0x13306d=_0x49fb53[_0x6796e0(0x155)],_0x503e26=_0x47d935[_0x6796e0(0x244)];_0x503e26[_0x6796e0(0x2cc)];var _0xaac201=_0x503e26[_0x6796e0(0x20f)],_0x1b4679=_0x47d935[_0x6796e0(0x379)],_0x48474a=_0x1b4679[_0x6796e0(0x20e)],_0x3d2d95=_0x49fb53['Cipher']=_0x13306d[_0x6796e0(0x31d)]({'cfg':_0x511558[_0x6796e0(0x31d)](),'createEncryptor':function(_0x8a5d31,_0x5e5e11){var _0x5ea66a=_0x6796e0;return this[_0x5ea66a(0x392)](this[_0x5ea66a(0x361)],_0x8a5d31,_0x5e5e11);},'createDecryptor':function(_0x3ead9e,_0x1936ca){var _0x2b7eee=_0x6796e0;return this[_0x2b7eee(0x392)](this[_0x2b7eee(0x176)],_0x3ead9e,_0x1936ca);},'init':function(_0x3b529b,_0x29e12a,_0x3ba724){var _0x593062=_0x6796e0;this[_0x593062(0x200)]=this[_0x593062(0x200)]['extend'](_0x3ba724),this[_0x593062(0x260)]=_0x3b529b,this[_0x593062(0x1f0)]=_0x29e12a,this[_0x593062(0x235)]();},'reset':function(){var _0x31a175=_0x6796e0;_0x13306d[_0x31a175(0x235)][_0x31a175(0x15d)](this),this[_0x31a175(0x146)]();},'process':function(_0x4a68c0){var _0x20df07=_0x6796e0;return this[_0x20df07(0x280)](_0x4a68c0),this[_0x20df07(0x1cd)]();},'finalize':function(_0x19bf40){var _0x57b76f=_0x6796e0;_0x19bf40&&this[_0x57b76f(0x280)](_0x19bf40);var _0x5b4f23=this['_doFinalize']();return _0x5b4f23;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x550414(_0x291428){var _0x435645=_0x16b6;return typeof _0x291428==_0x435645(0x30a)?_0x1c55ed:_0x3d8747;}return function(_0x1a803d){return{'encrypt':function(_0x583c1a,_0x124a11,_0x405893){var _0x5a1101=_0x16b6;return _0x550414(_0x124a11)[_0x5a1101(0xd6)](_0x1a803d,_0x583c1a,_0x124a11,_0x405893);},'decrypt':function(_0x4269ed,_0x1cbbb8,_0xb4f4b2){var _0x344e75=_0x16b6;return _0x550414(_0x1cbbb8)[_0x344e75(0x1c3)](_0x1a803d,_0x4269ed,_0x1cbbb8,_0xb4f4b2);}};};}())});_0x49fb53[_0x6796e0(0x385)]=_0x3d2d95[_0x6796e0(0x31d)]({'_doFinalize':function(){var _0xb1d53c=_0x6796e0,_0x12cc5f=this[_0xb1d53c(0x1cd)](!0x0);return _0x12cc5f;},'blockSize':0x1});var _0x2d1705=_0x47d935[_0x6796e0(0x1b8)]={},_0x5b66bd=_0x49fb53[_0x6796e0(0x13d)]=_0x511558[_0x6796e0(0x31d)]({'createEncryptor':function(_0x433006,_0x3dd0df){var _0x5ce4d3=_0x6796e0;return this[_0x5ce4d3(0x2e2)][_0x5ce4d3(0x392)](_0x433006,_0x3dd0df);},'createDecryptor':function(_0x4e78b5,_0x4ad5e1){var _0x2d4edf=_0x6796e0;return this[_0x2d4edf(0x163)][_0x2d4edf(0x392)](_0x4e78b5,_0x4ad5e1);},'init':function(_0x50e27d,_0x119aa3){var _0x4dbec4=_0x6796e0;this[_0x4dbec4(0x143)]=_0x50e27d,this[_0x4dbec4(0x1ca)]=_0x119aa3;}}),_0x23c81a=_0x2d1705['CBC']=(function(){var _0x4594b6=_0x6796e0,_0x5e3acd=_0x5b66bd[_0x4594b6(0x31d)]();_0x5e3acd['Encryptor']=_0x5e3acd['extend']({'processBlock':function(_0x4471a9,_0x20768d){var _0x3b7fb0=_0x4594b6,_0x31250b=this['_cipher'],_0x10440d=_0x31250b[_0x3b7fb0(0x256)];_0x1576bc[_0x3b7fb0(0x15d)](this,_0x4471a9,_0x20768d,_0x10440d),_0x31250b[_0x3b7fb0(0x356)](_0x4471a9,_0x20768d),this['_prevBlock']=_0x4471a9[_0x3b7fb0(0x263)](_0x20768d,_0x20768d+_0x10440d);}}),_0x5e3acd[_0x4594b6(0x163)]=_0x5e3acd[_0x4594b6(0x31d)]({'processBlock':function(_0x49fe57,_0x46dd98){var _0xaff24e=_0x4594b6,_0x1b9ffc=this[_0xaff24e(0x143)],_0x5c3e6c=_0x1b9ffc[_0xaff24e(0x256)],_0x330510=_0x49fe57[_0xaff24e(0x263)](_0x46dd98,_0x46dd98+_0x5c3e6c);_0x1b9ffc[_0xaff24e(0xdb)](_0x49fe57,_0x46dd98),_0x1576bc[_0xaff24e(0x15d)](this,_0x49fe57,_0x46dd98,_0x5c3e6c),this[_0xaff24e(0x286)]=_0x330510;}});function _0x1576bc(_0x22fe64,_0x1f1a84,_0x1f4ad7){var _0x347e36=_0x4594b6,_0xa70e7d,_0x502a58=this[_0x347e36(0x1ca)];_0x502a58?(_0xa70e7d=_0x502a58,this['_iv']=_0x118856):_0xa70e7d=this[_0x347e36(0x286)];for(var _0x434d3f=0x0;_0x434d3f<_0x1f4ad7;_0x434d3f++)_0x22fe64[_0x1f1a84+_0x434d3f]^=_0xa70e7d[_0x434d3f];}return _0x5e3acd;}()),_0x374596=_0x47d935[_0x6796e0(0x152)]={},_0x344d24=_0x374596['Pkcs7']={'pad':function(_0x17a0a1,_0x55aaab){var _0x1c4aa0=_0x6796e0;for(var _0x3615e7=_0x55aaab*0x4,_0x622cf9=_0x3615e7-_0x17a0a1[_0x1c4aa0(0x303)]%_0x3615e7,_0x41f233=_0x622cf9<<0x18|_0x622cf9<<0x10|_0x622cf9<<0x8|_0x622cf9,_0x13a8ed=[],_0x397894=0x0;_0x397894<_0x622cf9;_0x397894+=0x4)_0x13a8ed[_0x1c4aa0(0x14b)](_0x41f233);var _0xa9488=_0xbb3f2e['create'](_0x13a8ed,_0x622cf9);_0x17a0a1['concat'](_0xa9488);},'unpad':function(_0x42dbd5){var _0x427091=_0x6796e0,_0x4dfed2=_0x42dbd5[_0x427091(0x16f)][_0x42dbd5[_0x427091(0x303)]-0x1>>>0x2]&0xff;_0x42dbd5['sigBytes']-=_0x4dfed2;}};_0x49fb53[_0x6796e0(0x1de)]=_0x3d2d95[_0x6796e0(0x31d)]({'cfg':_0x3d2d95[_0x6796e0(0x200)][_0x6796e0(0x31d)]({'mode':_0x23c81a,'padding':_0x344d24}),'reset':function(){var _0x3c7698=_0x6796e0,_0x90ad7a;_0x3d2d95[_0x3c7698(0x235)][_0x3c7698(0x15d)](this);var _0x161985=this[_0x3c7698(0x200)],_0x30d5b9=_0x161985['iv'],_0x3452e8=_0x161985[_0x3c7698(0x1b8)];this[_0x3c7698(0x260)]==this['_ENC_XFORM_MODE']?_0x90ad7a=_0x3452e8[_0x3c7698(0x1f1)]:(_0x90ad7a=_0x3452e8['createDecryptor'],this[_0x3c7698(0x278)]=0x1),this[_0x3c7698(0x1a3)]&&this['_mode'][_0x3c7698(0x2df)]==_0x90ad7a?this['_mode']['init'](this,_0x30d5b9&&_0x30d5b9[_0x3c7698(0x16f)]):(this[_0x3c7698(0x1a3)]=_0x90ad7a[_0x3c7698(0x15d)](_0x3452e8,this,_0x30d5b9&&_0x30d5b9[_0x3c7698(0x16f)]),this[_0x3c7698(0x1a3)][_0x3c7698(0x2df)]=_0x90ad7a);},'_doProcessBlock':function(_0x22d2ac,_0x5b34a6){var _0x317090=_0x6796e0;this[_0x317090(0x1a3)][_0x317090(0x300)](_0x22d2ac,_0x5b34a6);},'_doFinalize':function(){var _0x34b7f4=_0x6796e0,_0x4e94d1,_0x1a48f0=this[_0x34b7f4(0x200)][_0x34b7f4(0xc4)];return this[_0x34b7f4(0x260)]==this['_ENC_XFORM_MODE']?(_0x1a48f0[_0x34b7f4(0x152)](this[_0x34b7f4(0x156)],this[_0x34b7f4(0x256)]),_0x4e94d1=this['_process'](!0x0)):(_0x4e94d1=this[_0x34b7f4(0x1cd)](!0x0),_0x1a48f0[_0x34b7f4(0x106)](_0x4e94d1)),_0x4e94d1;},'blockSize':0x80/0x20});var _0x6a3f7=_0x49fb53[_0x6796e0(0x16e)]=_0x511558['extend']({'init':function(_0x4b39e1){var _0x256b66=_0x6796e0;this[_0x256b66(0x25a)](_0x4b39e1);},'toString':function(_0x56553f){return(_0x56553f||this['formatter'])['stringify'](this);}}),_0x51f9f4=_0x47d935[_0x6796e0(0x32e)]={},_0x401fe8=_0x51f9f4[_0x6796e0(0x1c4)]={'stringify':function(_0x964cf7){var _0x58cfe8=_0x6796e0,_0x406bb8,_0x513633=_0x964cf7[_0x58cfe8(0x3b2)],_0x5d0cc1=_0x964cf7[_0x58cfe8(0x305)];return _0x5d0cc1?_0x406bb8=_0xbb3f2e[_0x58cfe8(0x392)]([0x53616c74,0x65645f5f])[_0x58cfe8(0x2d9)](_0x5d0cc1)[_0x58cfe8(0x2d9)](_0x513633):_0x406bb8=_0x513633,_0x406bb8[_0x58cfe8(0x12a)](_0xaac201);},'parse':function(_0x4ec84e){var _0x81dbdc=_0x6796e0,_0x1e196a,_0x53a8c7=_0xaac201[_0x81dbdc(0x3a2)](_0x4ec84e),_0x10efb1=_0x53a8c7[_0x81dbdc(0x16f)];return _0x10efb1[0x0]==0x53616c74&&_0x10efb1[0x1]==0x65645f5f&&(_0x1e196a=_0xbb3f2e[_0x81dbdc(0x392)](_0x10efb1[_0x81dbdc(0x263)](0x2,0x4)),_0x10efb1[_0x81dbdc(0xbc)](0x0,0x4),_0x53a8c7['sigBytes']-=0x10),_0x6a3f7[_0x81dbdc(0x392)]({'ciphertext':_0x53a8c7,'salt':_0x1e196a});}},_0x3d8747=_0x49fb53[_0x6796e0(0x1dd)]=_0x511558['extend']({'cfg':_0x511558['extend']({'format':_0x401fe8}),'encrypt':function(_0x4ea816,_0x3d6e20,_0x473773,_0x5a85eb){var _0x4c859b=_0x6796e0;_0x5a85eb=this[_0x4c859b(0x200)][_0x4c859b(0x31d)](_0x5a85eb);var _0x1900ef=_0x4ea816[_0x4c859b(0x1f1)](_0x473773,_0x5a85eb),_0x3f89ea=_0x1900ef[_0x4c859b(0x1c9)](_0x3d6e20),_0x3e8089=_0x1900ef[_0x4c859b(0x200)];return _0x6a3f7[_0x4c859b(0x392)]({'ciphertext':_0x3f89ea,'key':_0x473773,'iv':_0x3e8089['iv'],'algorithm':_0x4ea816,'mode':_0x3e8089[_0x4c859b(0x1b8)],'padding':_0x3e8089[_0x4c859b(0xc4)],'blockSize':_0x4ea816[_0x4c859b(0x256)],'formatter':_0x5a85eb[_0x4c859b(0x32e)]});},'decrypt':function(_0xc8700e,_0x258b58,_0x558ef7,_0xf1376c){var _0x246e72=_0x6796e0;_0xf1376c=this[_0x246e72(0x200)][_0x246e72(0x31d)](_0xf1376c),_0x258b58=this['_parse'](_0x258b58,_0xf1376c[_0x246e72(0x32e)]);var _0x7355c4=_0xc8700e[_0x246e72(0x13f)](_0x558ef7,_0xf1376c)['finalize'](_0x258b58['ciphertext']);return _0x7355c4;},'_parse':function(_0x3510b8,_0x3ba888){return typeof _0x3510b8=='string'?_0x3ba888['parse'](_0x3510b8,this):_0x3510b8;}}),_0x575dc6=_0x47d935['kdf']={},_0x31473f=_0x575dc6[_0x6796e0(0x1c4)]={'execute':function(_0x375eac,_0x408352,_0x1140c4,_0x59aff3,_0x133265){var _0x5e1802=_0x6796e0;if(_0x59aff3||(_0x59aff3=_0xbb3f2e['random'](0x40/0x8)),_0x133265)var _0x1d6063=_0x48474a['create']({'keySize':_0x408352+_0x1140c4,'hasher':_0x133265})[_0x5e1802(0x124)](_0x375eac,_0x59aff3);else var _0x1d6063=_0x48474a['create']({'keySize':_0x408352+_0x1140c4})[_0x5e1802(0x124)](_0x375eac,_0x59aff3);var _0x1e0a2c=_0xbb3f2e[_0x5e1802(0x392)](_0x1d6063[_0x5e1802(0x16f)][_0x5e1802(0x263)](_0x408352),_0x1140c4*0x4);return _0x1d6063[_0x5e1802(0x303)]=_0x408352*0x4,_0x6a3f7[_0x5e1802(0x392)]({'key':_0x1d6063,'iv':_0x1e0a2c,'salt':_0x59aff3});}},_0x1c55ed=_0x49fb53[_0x6796e0(0x1a5)]=_0x3d8747['extend']({'cfg':_0x3d8747[_0x6796e0(0x200)][_0x6796e0(0x31d)]({'kdf':_0x31473f}),'encrypt':function(_0x503e5e,_0x2501c4,_0x4dbcb6,_0x3256df){var _0x4c0b4d=_0x6796e0;_0x3256df=this[_0x4c0b4d(0x200)][_0x4c0b4d(0x31d)](_0x3256df);var _0x221851=_0x3256df[_0x4c0b4d(0x195)][_0x4c0b4d(0x1e8)](_0x4dbcb6,_0x503e5e[_0x4c0b4d(0x370)],_0x503e5e[_0x4c0b4d(0x2f7)],_0x3256df['salt'],_0x3256df['hasher']);_0x3256df['iv']=_0x221851['iv'];var _0x30599=_0x3d8747[_0x4c0b4d(0xd6)][_0x4c0b4d(0x15d)](this,_0x503e5e,_0x2501c4,_0x221851['key'],_0x3256df);return _0x30599[_0x4c0b4d(0x25a)](_0x221851),_0x30599;},'decrypt':function(_0x1ffaa8,_0x3246ee,_0x5ee5ba,_0x118379){var _0x50ff06=_0x6796e0;_0x118379=this[_0x50ff06(0x200)][_0x50ff06(0x31d)](_0x118379),_0x3246ee=this[_0x50ff06(0x261)](_0x3246ee,_0x118379[_0x50ff06(0x32e)]);var _0x253fb6=_0x118379[_0x50ff06(0x195)][_0x50ff06(0x1e8)](_0x5ee5ba,_0x1ffaa8[_0x50ff06(0x370)],_0x1ffaa8[_0x50ff06(0x2f7)],_0x3246ee['salt'],_0x118379[_0x50ff06(0x29a)]);_0x118379['iv']=_0x253fb6['iv'];var _0x21779b=_0x3d8747[_0x50ff06(0x1c3)][_0x50ff06(0x15d)](this,_0x1ffaa8,_0x3246ee,_0x253fb6[_0x50ff06(0xcf)],_0x118379);return _0x21779b;}});}();}));}(Je)),Je[_0x4914a2(0x39f)];}var Vr=Ve[_0x39927c(0x39f)],si;function Gr(){var _0x12aff8=_0x39927c;return si||(si=0x1,function(_0x158010,_0x2be2df){(function(_0x2884e4,_0x3d5fc1,_0x1c6627){var _0x7a7383=_0x16b6;_0x158010[_0x7a7383(0x39f)]=_0x3d5fc1(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x4f94ef){var _0x5b0f23=_0x16b6;return(function(){var _0x4a5047=_0x16b6,_0x2e4167=_0x4f94ef,_0xab131c=_0x2e4167[_0x4a5047(0x2b8)],_0x3afd53=_0xab131c[_0x4a5047(0x1de)],_0x482ce2=_0x2e4167[_0x4a5047(0x379)],_0x2747c1=[],_0x7c2000=[],_0x54f37a=[],_0x3a3695=[],_0x2bedf3=[],_0x67a61=[],_0x239650=[],_0x2b1a67=[],_0x1a670b=[],_0x578a85=[];(function(){for(var _0x55b142=[],_0x24072f=0x0;_0x24072f<0x100;_0x24072f++)_0x24072f<0x80?_0x55b142[_0x24072f]=_0x24072f<<0x1:_0x55b142[_0x24072f]=_0x24072f<<0x1^0x11b;for(var _0x20c1f9=0x0,_0x184674=0x0,_0x24072f=0x0;_0x24072f<0x100;_0x24072f++){var _0x4d3e97=_0x184674^_0x184674<<0x1^_0x184674<<0x2^_0x184674<<0x3^_0x184674<<0x4;_0x4d3e97=_0x4d3e97>>>0x8^_0x4d3e97&0xff^0x63,_0x2747c1[_0x20c1f9]=_0x4d3e97,_0x7c2000[_0x4d3e97]=_0x20c1f9;var _0x2923b8=_0x55b142[_0x20c1f9],_0x2b6b2f=_0x55b142[_0x2923b8],_0x5c231f=_0x55b142[_0x2b6b2f],_0x10ba48=_0x55b142[_0x4d3e97]*0x101^_0x4d3e97*0x1010100;_0x54f37a[_0x20c1f9]=_0x10ba48<<0x18|_0x10ba48>>>0x8,_0x3a3695[_0x20c1f9]=_0x10ba48<<0x10|_0x10ba48>>>0x10,_0x2bedf3[_0x20c1f9]=_0x10ba48<<0x8|_0x10ba48>>>0x18,_0x67a61[_0x20c1f9]=_0x10ba48;var _0x10ba48=_0x5c231f*0x1010101^_0x2b6b2f*0x10001^_0x2923b8*0x101^_0x20c1f9*0x1010100;_0x239650[_0x4d3e97]=_0x10ba48<<0x18|_0x10ba48>>>0x8,_0x2b1a67[_0x4d3e97]=_0x10ba48<<0x10|_0x10ba48>>>0x10,_0x1a670b[_0x4d3e97]=_0x10ba48<<0x8|_0x10ba48>>>0x18,_0x578a85[_0x4d3e97]=_0x10ba48,_0x20c1f9?(_0x20c1f9=_0x2923b8^_0x55b142[_0x55b142[_0x55b142[_0x5c231f^_0x2923b8]]],_0x184674^=_0x55b142[_0x55b142[_0x184674]]):_0x20c1f9=_0x184674=0x1;}}());var _0x202eb7=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x44f96f=_0x482ce2[_0x4a5047(0xfa)]=_0x3afd53['extend']({'_doReset':function(){var _0x3ab117=_0x4a5047,_0x4d4610;if(!(this['_nRounds']&&this[_0x3ab117(0x345)]===this['_key'])){for(var _0xf09cdd=this[_0x3ab117(0x345)]=this[_0x3ab117(0x1f0)],_0x596c4b=_0xf09cdd[_0x3ab117(0x16f)],_0x371203=_0xf09cdd[_0x3ab117(0x303)]/0x4,_0xbd89e6=this['_nRounds']=_0x371203+0x6,_0x4b24bd=(_0xbd89e6+0x1)*0x4,_0x36fc43=this['_keySchedule']=[],_0x22e47e=0x0;_0x22e47e<_0x4b24bd;_0x22e47e++)_0x22e47e<_0x371203?_0x36fc43[_0x22e47e]=_0x596c4b[_0x22e47e]:(_0x4d4610=_0x36fc43[_0x22e47e-0x1],_0x22e47e%_0x371203?_0x371203>0x6&&_0x22e47e%_0x371203==0x4&&(_0x4d4610=_0x2747c1[_0x4d4610>>>0x18]<<0x18|_0x2747c1[_0x4d4610>>>0x10&0xff]<<0x10|_0x2747c1[_0x4d4610>>>0x8&0xff]<<0x8|_0x2747c1[_0x4d4610&0xff]):(_0x4d4610=_0x4d4610<<0x8|_0x4d4610>>>0x18,_0x4d4610=_0x2747c1[_0x4d4610>>>0x18]<<0x18|_0x2747c1[_0x4d4610>>>0x10&0xff]<<0x10|_0x2747c1[_0x4d4610>>>0x8&0xff]<<0x8|_0x2747c1[_0x4d4610&0xff],_0x4d4610^=_0x202eb7[_0x22e47e/_0x371203|0x0]<<0x18),_0x36fc43[_0x22e47e]=_0x36fc43[_0x22e47e-_0x371203]^_0x4d4610);for(var _0xd7652e=this[_0x3ab117(0x27e)]=[],_0x23b0cf=0x0;_0x23b0cf<_0x4b24bd;_0x23b0cf++){var _0x22e47e=_0x4b24bd-_0x23b0cf;if(_0x23b0cf%0x4)var _0x4d4610=_0x36fc43[_0x22e47e];else var _0x4d4610=_0x36fc43[_0x22e47e-0x4];_0x23b0cf<0x4||_0x22e47e<=0x4?_0xd7652e[_0x23b0cf]=_0x4d4610:_0xd7652e[_0x23b0cf]=_0x239650[_0x2747c1[_0x4d4610>>>0x18]]^_0x2b1a67[_0x2747c1[_0x4d4610>>>0x10&0xff]]^_0x1a670b[_0x2747c1[_0x4d4610>>>0x8&0xff]]^_0x578a85[_0x2747c1[_0x4d4610&0xff]];}}},'encryptBlock':function(_0x5d897e,_0x32badf){var _0x300a0d=_0x4a5047;this['_doCryptBlock'](_0x5d897e,_0x32badf,this[_0x300a0d(0x1ee)],_0x54f37a,_0x3a3695,_0x2bedf3,_0x67a61,_0x2747c1);},'decryptBlock':function(_0x54afeb,_0x415abd){var _0x4518de=_0x4a5047,_0x38a0f2=_0x54afeb[_0x415abd+0x1];_0x54afeb[_0x415abd+0x1]=_0x54afeb[_0x415abd+0x3],_0x54afeb[_0x415abd+0x3]=_0x38a0f2,this[_0x4518de(0xc0)](_0x54afeb,_0x415abd,this[_0x4518de(0x27e)],_0x239650,_0x2b1a67,_0x1a670b,_0x578a85,_0x7c2000);var _0x38a0f2=_0x54afeb[_0x415abd+0x1];_0x54afeb[_0x415abd+0x1]=_0x54afeb[_0x415abd+0x3],_0x54afeb[_0x415abd+0x3]=_0x38a0f2;},'_doCryptBlock':function(_0x29ffa9,_0x4ad066,_0x302e07,_0x26fe99,_0x459af2,_0x45b32d,_0x990081,_0x321317){for(var _0x2dfdaf=this['_nRounds'],_0xf0de5=_0x29ffa9[_0x4ad066]^_0x302e07[0x0],_0x91b770=_0x29ffa9[_0x4ad066+0x1]^_0x302e07[0x1],_0x4dd9b4=_0x29ffa9[_0x4ad066+0x2]^_0x302e07[0x2],_0x2015c8=_0x29ffa9[_0x4ad066+0x3]^_0x302e07[0x3],_0x1ccc65=0x4,_0x353c50=0x1;_0x353c50<_0x2dfdaf;_0x353c50++){var _0x269748=_0x26fe99[_0xf0de5>>>0x18]^_0x459af2[_0x91b770>>>0x10&0xff]^_0x45b32d[_0x4dd9b4>>>0x8&0xff]^_0x990081[_0x2015c8&0xff]^_0x302e07[_0x1ccc65++],_0xb0374=_0x26fe99[_0x91b770>>>0x18]^_0x459af2[_0x4dd9b4>>>0x10&0xff]^_0x45b32d[_0x2015c8>>>0x8&0xff]^_0x990081[_0xf0de5&0xff]^_0x302e07[_0x1ccc65++],_0x7ea1c2=_0x26fe99[_0x4dd9b4>>>0x18]^_0x459af2[_0x2015c8>>>0x10&0xff]^_0x45b32d[_0xf0de5>>>0x8&0xff]^_0x990081[_0x91b770&0xff]^_0x302e07[_0x1ccc65++],_0x19fada=_0x26fe99[_0x2015c8>>>0x18]^_0x459af2[_0xf0de5>>>0x10&0xff]^_0x45b32d[_0x91b770>>>0x8&0xff]^_0x990081[_0x4dd9b4&0xff]^_0x302e07[_0x1ccc65++];_0xf0de5=_0x269748,_0x91b770=_0xb0374,_0x4dd9b4=_0x7ea1c2,_0x2015c8=_0x19fada;}var _0x269748=(_0x321317[_0xf0de5>>>0x18]<<0x18|_0x321317[_0x91b770>>>0x10&0xff]<<0x10|_0x321317[_0x4dd9b4>>>0x8&0xff]<<0x8|_0x321317[_0x2015c8&0xff])^_0x302e07[_0x1ccc65++],_0xb0374=(_0x321317[_0x91b770>>>0x18]<<0x18|_0x321317[_0x4dd9b4>>>0x10&0xff]<<0x10|_0x321317[_0x2015c8>>>0x8&0xff]<<0x8|_0x321317[_0xf0de5&0xff])^_0x302e07[_0x1ccc65++],_0x7ea1c2=(_0x321317[_0x4dd9b4>>>0x18]<<0x18|_0x321317[_0x2015c8>>>0x10&0xff]<<0x10|_0x321317[_0xf0de5>>>0x8&0xff]<<0x8|_0x321317[_0x91b770&0xff])^_0x302e07[_0x1ccc65++],_0x19fada=(_0x321317[_0x2015c8>>>0x18]<<0x18|_0x321317[_0xf0de5>>>0x10&0xff]<<0x10|_0x321317[_0x91b770>>>0x8&0xff]<<0x8|_0x321317[_0x4dd9b4&0xff])^_0x302e07[_0x1ccc65++];_0x29ffa9[_0x4ad066]=_0x269748,_0x29ffa9[_0x4ad066+0x1]=_0xb0374,_0x29ffa9[_0x4ad066+0x2]=_0x7ea1c2,_0x29ffa9[_0x4ad066+0x3]=_0x19fada;},'keySize':0x100/0x20});_0x2e4167[_0x4a5047(0xfa)]=_0x3afd53[_0x4a5047(0x25d)](_0x44f96f);}()),_0x4f94ef[_0x5b0f23(0xfa)];}));}(Ve)),Ve[_0x12aff8(0x39f)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x39927c(0x39f)],ai;function zr(){var _0x4d8c8a=_0x39927c;return ai||(ai=0x1,function(_0x25556d,_0x33b205){(function(_0x18b5a9,_0x1ec227){var _0x1e3a18=_0x16b6;_0x25556d[_0x1e3a18(0x39f)]=_0x1ec227(ne());}(qr,function(_0x3eaf0c){var _0x541476=_0x16b6;return _0x3eaf0c[_0x541476(0x244)][_0x541476(0x2cc)];}));}(Xe)),Xe[_0x4d8c8a(0x39f)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze['exports'],ci;function Qr(){var _0x24049d=_0x39927c;return ci||(ci=0x1,function(_0x2c8ce6,_0x29ce12){(function(_0x398881,_0x430c1c){var _0x555dca=_0x16b6;_0x2c8ce6[_0x555dca(0x39f)]=_0x430c1c(ne());}(Zr,function(_0x3829cf){var _0x3bed74=_0x16b6;return(function(){var _0xa139ac=_0x16b6;if(typeof ArrayBuffer=='function'){var _0x2f54cd=_0x3829cf,_0x54affd=_0x2f54cd[_0xa139ac(0x2b8)],_0x7139fd=_0x54affd['WordArray'],_0x2e7e27=_0x7139fd[_0xa139ac(0x367)],_0x1e038d=_0x7139fd[_0xa139ac(0x367)]=function(_0x293c4d){var _0x3f1e38=_0xa139ac;if(_0x293c4d instanceof ArrayBuffer&&(_0x293c4d=new Uint8Array(_0x293c4d)),(_0x293c4d instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x293c4d instanceof Uint8ClampedArray||_0x293c4d instanceof Int16Array||_0x293c4d instanceof Uint16Array||_0x293c4d instanceof Int32Array||_0x293c4d instanceof Uint32Array||_0x293c4d instanceof Float32Array||_0x293c4d instanceof Float64Array)&&(_0x293c4d=new Uint8Array(_0x293c4d[_0x3f1e38(0x23f)],_0x293c4d[_0x3f1e38(0x2ec)],_0x293c4d[_0x3f1e38(0xf5)])),_0x293c4d instanceof Uint8Array){for(var _0xe3b17b=_0x293c4d[_0x3f1e38(0xf5)],_0x43a2bf=[],_0x20af95=0x0;_0x20af95<_0xe3b17b;_0x20af95++)_0x43a2bf[_0x20af95>>>0x2]|=_0x293c4d[_0x20af95]<<0x18-_0x20af95%0x4*0x8;_0x2e7e27['call'](this,_0x43a2bf,_0xe3b17b);}else _0x2e7e27['apply'](this,arguments);};_0x1e038d[_0xa139ac(0x28a)]=_0x7139fd;}}()),_0x3829cf['lib'][_0x3bed74(0x12f)];}));}(Ze)),Ze[_0x24049d(0x39f)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){var _0x1f55d7=_0x39927c;return hi||(hi=0x1,function(_0xd1bcd4,_0x3c6825){(function(_0x4cdcc1,_0x226978,_0x36c35b){var _0x2a9f24=_0x16b6;_0xd1bcd4[_0x2a9f24(0x39f)]=_0x226978(ne(),Ai());}(is,function(_0x339514){var _0x110bff=_0x16b6;return _0x339514[_0x110bff(0x152)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x339514[_0x110bff(0x152)]['NoPadding'];}));}(Qe)),Qe[_0x1f55d7(0x39f)];}var rs=ns();const ss=ke(rs);function os(_0x413acf,_0x279012){var _0x25906f=_0x39927c;const _0x1ce549=_0x279012-_0x413acf[_0x25906f(0x1ad)]%_0x279012,_0x23ae7b=String[_0x25906f(0x353)](_0x1ce549)[_0x25906f(0x19c)](_0x1ce549);return _0x413acf+_0x23ae7b;}function as(_0x2c4542,_0x10893f){var _0x579adf=_0x39927c;const _0x2ab590=ts[_0x579adf(0x182)](0x10),_0x40ab=os(_0x2c4542,0x10),_0x415fa2=Kr[_0x579adf(0xd6)](Xr['parse'](_0x40ab),oi[_0x579adf(0x3a2)](_0x10893f),{'iv':_0x2ab590,'padding':ss});return _0x2ab590[_0x579adf(0x2d9)](_0x415fa2[_0x579adf(0x3b2)])[_0x579adf(0x12a)](oi);}function cs(){var _0x1ee8d8=_0x39927c;const _0x15301d=_0x14aed3()[_0x1ee8d8(0x33b)];if(_0x15301d){const _0x4d87c3={'time':Math[_0x1ee8d8(0x36c)](Date[_0x1ee8d8(0x381)]()/0x3e8),'domain':location[_0x1ee8d8(0x1dc)]};return as(JSON[_0x1ee8d8(0x1a7)](_0x4d87c3),_0x15301d);}}var hs=Object[_0x39927c(0x2fa)],_s=Object[_0x39927c(0x186)],ls=(_0x14541d,_0x271065,_0x24f534,_0x3f4e6f)=>{var _0x85e832=_0x39927c;for(var _0x40e036=_0x3f4e6f>0x1?void 0x0:_0x3f4e6f?_s(_0x271065,_0x24f534):_0x271065,_0x1a6a65=_0x14541d[_0x85e832(0x1ad)]-0x1,_0x17d8b2;_0x1a6a65>=0x0;_0x1a6a65--)(_0x17d8b2=_0x14541d[_0x1a6a65])&&(_0x40e036=(_0x3f4e6f?_0x17d8b2(_0x271065,_0x24f534,_0x40e036):_0x17d8b2(_0x40e036))||_0x40e036);return _0x3f4e6f&&_0x40e036&&hs(_0x271065,_0x24f534,_0x40e036),_0x40e036;},us=(_0x259943,_0x19d654)=>(_0x119e49,_0x304fcf)=>_0x19d654(_0x119e49,_0x304fcf,_0x259943);let ot=class{constructor(_0x49d241){var _0x3717b0=_0x39927c;this[_0x3717b0(0x1a8)]=_0x49d241,this[_0x3717b0(0x120)]();}[_0x39927c(0x120)](){var _0x51f415=_0x39927c;this['_httpService'][_0x51f415(0x232)]({'interceptor':(_0x38106c,_0x4fc2c4)=>{var _0x5e3a08=_0x51f415;const _0x5b9935=_0x38106c[_0x5e3a08(0x3ad)],_0x1a9dd7=cs();return _0x1a9dd7&&_0x5b9935[_0x5e3a08(0x366)]('x-univer-host',_0x1a9dd7),_0x4fc2c4(_0x38106c);}});}};ot=ls([us(0x0,_0xbc9492(_0x5ee64e))],ot);var ds=Object[_0x39927c(0x2fa)],fs=Object[_0x39927c(0x186)],vs=(_0x5b9b65,_0x4f1352,_0x2ad85a,_0x2edb35)=>{var _0x203500=_0x39927c;for(var _0xcc008f=_0x2edb35>0x1?void 0x0:_0x2edb35?fs(_0x4f1352,_0x2ad85a):_0x4f1352,_0x57ba7e=_0x5b9b65[_0x203500(0x1ad)]-0x1,_0x34bc43;_0x57ba7e>=0x0;_0x57ba7e--)(_0x34bc43=_0x5b9b65[_0x57ba7e])&&(_0xcc008f=(_0x2edb35?_0x34bc43(_0x4f1352,_0x2ad85a,_0xcc008f):_0x34bc43(_0xcc008f))||_0xcc008f);return _0x2edb35&&_0xcc008f&&ds(_0x4f1352,_0x2ad85a,_0xcc008f),_0xcc008f;},mt=(_0x2279ee,_0x3c8c09)=>(_0x1d3cba,_0x53324b)=>_0x3c8c09(_0x1d3cba,_0x53324b,_0x2279ee);let Ot=class extends _0x3320ff{constructor(_0x2e2dcd,_0xb7f9ed,_0x30a250){var _0x4ddd14=_0x39927c;super(),N(this,_0x4ddd14(0x22a),new _0x4bc3f4(null)),N(this,_0x4ddd14(0x1b6),this[_0x4ddd14(0x22a)]['asObservable']()),(this[_0x4ddd14(0x2c0)]=_0x2e2dcd,this[_0x4ddd14(0x231)]=_0xb7f9ed,this[_0x4ddd14(0xbf)]=_0x30a250);}async[_0x39927c(0x116)](_0x3bdae7,_0x20e5d1,_0x4c40b7){var _0x554799=_0x39927c;this[_0x554799(0x22a)][_0x554799(0x19d)]({'unitId':_0x3bdae7,'type':_0x20e5d1,'subUnitId':_0x4c40b7});let _0x14407c=null;switch(_0x20e5d1){case Q[_0x554799(0x2e8)]:{_0x14407c=await this[_0x554799(0x283)](_0x3bdae7);break;}case Q[_0x554799(0x167)]:{_0x14407c=await this[_0x554799(0x236)](_0x3bdae7);break;}default:{this[_0x554799(0x2c0)][_0x554799(0x1e7)](_0x554799(0x15c),_0x554799(0xbd));break;}}return _0x14407c;}async[_0x39927c(0x283)](_0x551172){var _0x27869f=_0x39927c,_0x30b5c2;let _0x4c2c16=0x0;const _0x5513f9=await((_0x30b5c2=this[_0x27869f(0xbf)])==null?void 0x0:_0x30b5c2[_0x27869f(0x378)](_0x551172));return _0x5513f9&&(_0x5513f9[_0x27869f(0x268)]||_0x5513f9[_0x27869f(0xf0)][_0x27869f(0x1ad)]!==0x0)&&(_0x4c2c16=_0x5513f9['rev']),_0x4c2c16===0x0&&this[_0x27869f(0x2c0)][_0x27869f(0x2a4)](_0x27869f(0x15c),_0x27869f(0x374)),this[_0x27869f(0x231)]['loadSheet'](_0x551172,_0x4c2c16);}async[_0x39927c(0x236)](_0x1af3f3){var _0x555db4=_0x39927c,_0x286e61;let _0x237edb=0x0;const _0x5b5710=await((_0x286e61=this[_0x555db4(0xbf)])==null?void 0x0:_0x286e61[_0x555db4(0x378)](_0x1af3f3));return _0x5b5710&&(_0x5b5710[_0x555db4(0x268)]||_0x5b5710['mutations'][_0x555db4(0x1ad)]!==0x0)&&(_0x237edb=_0x5b5710[_0x555db4(0xba)]),_0x237edb===0x0&&this['_logService'][_0x555db4(0x2a4)](_0x555db4(0x15c),_0x555db4(0x374)),this[_0x555db4(0x231)][_0x555db4(0x225)](_0x1af3f3,_0x237edb);}};Ot=vs([mt(0x0,_0xa0a262),mt(0x1,_0xbc9492(_0x1dba11)),mt(0x2,_0x16b553(J))],Ot);var ps=Object[_0x39927c(0x2fa)],ms=Object[_0x39927c(0x186)],gs=(_0x5cd44d,_0x580bda,_0x4a1d09,_0x3d321f)=>{for(var _0x3c4dca=_0x3d321f>0x1?void 0x0:_0x3d321f?ms(_0x580bda,_0x4a1d09):_0x580bda,_0x56dd8c=_0x5cd44d['length']-0x1,_0x470c0c;_0x56dd8c>=0x0;_0x56dd8c--)(_0x470c0c=_0x5cd44d[_0x56dd8c])&&(_0x3c4dca=(_0x3d321f?_0x470c0c(_0x580bda,_0x4a1d09,_0x3c4dca):_0x470c0c(_0x3c4dca))||_0x3c4dca);return _0x3d321f&&_0x3c4dca&&ps(_0x580bda,_0x4a1d09,_0x3c4dca),_0x3c4dca;},gt=(_0x1f778b,_0xfd9a24)=>(_0x48b4ae,_0x23ed79)=>_0xfd9a24(_0x48b4ae,_0x23ed79,_0x1f778b);const Ss=[_0x39927c(0x2da),'image/jpeg','image/jpg','image/gif','image/bmp'],Es=0x5*0x400*0x400,Is='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Ts='/universer-api/stream/file/upload',Cs=_0x39927c(0x1b0),bs='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x1ec001,_0x5e7e67,_0x5c991b){var _0x599769=_0x39927c;N(this,_0x599769(0x293),0x0),N(this,_0x599769(0x2cf),new _0x5c86fd()),N(this,_0x599769(0x294),this[_0x599769(0x2cf)]),N(this,_0x599769(0x2c8),new Map()),(this[_0x599769(0x1a8)]=_0x1ec001,this['_configService']=_0x5e7e67,this[_0x599769(0x234)]=_0x5c991b);}['setWaitCount'](_0xe12bfd){var _0x125658=_0x39927c;this['_waitCount']=_0xe12bfd,this['_change$'][_0x125658(0x19d)](_0xe12bfd);}['getImageSourceCache'](_0x400e90,_0x48d215){var _0x40cb34=_0x39927c;if(_0x48d215===_0x4b9878['BASE64']){const _0x202c44=new Image();return _0x202c44[_0x40cb34(0x35f)]=_0x400e90,_0x202c44;}return this['_imageSourceCache']['get'](_0x400e90);}['addImageSourceCache'](_0x4f5880,_0x4b9712,_0x139fc7){var _0x1cb333=_0x39927c;_0x4b9712===_0x4b9878[_0x1cb333(0x248)]||_0x139fc7==null||this[_0x1cb333(0x2c8)][_0x1cb333(0x366)](_0x4f5880,_0x139fc7);}async[_0x39927c(0x3b3)](_0x161ffc){var _0x643091=_0x39927c;try{const _0x109e7a=this[_0x643091(0x38d)](this['_getSignURL'](),''+_0x161ffc),_0x1d1d0e=(await this[_0x643091(0x1a8)][_0x643091(0x3a4)](_0x109e7a))[_0x643091(0x207)];if(_0x1d1d0e[_0x643091(0x1e7)]&&_0x1d1d0e[_0x643091(0x1e7)][_0x643091(0x2a3)]===Ii['OK']){const _0x341065=new URL(_0x1d1d0e[_0x643091(0x291)],this['_getDownloadEndpointURL']())[_0x643091(0x12a)]();return Promise[_0x643091(0x330)](_0x341065);}return Promise[_0x643091(0x369)](_0x1d1d0e[_0x643091(0x1e7)]);}catch(_0x30af3e){return Promise[_0x643091(0x369)](_0x30af3e);}}async[_0x39927c(0x1aa)](_0x4083c8){var _0x42eba2=_0x39927c;let _0x4387e5='';if(!Ss[_0x42eba2(0x158)](_0x4083c8[_0x42eba2(0x33e)]))return this[_0x42eba2(0x2aa)](),Promise[_0x42eba2(0x369)](new Error(_0x1afbe1[_0x42eba2(0x313)]));if(_0x4083c8[_0x42eba2(0x250)]>Es)return this[_0x42eba2(0x2aa)](),Promise[_0x42eba2(0x369)](new Error(_0x1afbe1[_0x42eba2(0x36b)]));try{const _0xf3cae1=new FormData();_0xf3cae1[_0x42eba2(0x122)](_0x42eba2(0x316),_0x4083c8);const _0x3149f3=this['_univerInstanceService'][_0x42eba2(0x397)](),_0x52749a=_0x3149f3==null?void 0x0:_0x3149f3['getUnitId']();if(!_0x52749a)throw new Error(_0x42eba2(0x1a9));const _0x28b134=this[_0x42eba2(0x38a)]()+_0x42eba2(0x338)+_0x4083c8[_0x42eba2(0x250)][_0x42eba2(0x12a)]()+'&source='+Ti[_0x42eba2(0x26f)]+'&assign='+encodeURIComponent(_0x52749a),_0x300443=await(await fetch(_0x28b134,{'method':_0x42eba2(0x10d),'body':_0xf3cae1}))[_0x42eba2(0x3aa)]();if(typeof _0x300443['FileId']!=_0x42eba2(0x30a))return this[_0x42eba2(0x2aa)](),Promise[_0x42eba2(0x369)](new Error(_0x1afbe1[_0x42eba2(0xb2)]));_0x4387e5=_0x300443[_0x42eba2(0x188)];}catch{return this[_0x42eba2(0x2aa)](),Promise[_0x42eba2(0x369)](new Error(_0x1afbe1[_0x42eba2(0xb2)]));}return new Promise((_0x5a2ee1,_0x17286e)=>{var _0x2a5232=_0x42eba2;const _0x5d8f4f=new FileReader();_0x5d8f4f[_0x2a5232(0x24e)](_0x4083c8),_0x5d8f4f[_0x2a5232(0x297)]=_0x59de1a=>{var _0x39916f=_0x2a5232,_0x15a0f2;const _0x5d55e2=(_0x15a0f2=_0x59de1a[_0x39916f(0x138)])==null?void 0x0:_0x15a0f2[_0x39916f(0x1f9)];if(_0x5d55e2==null){this[_0x39916f(0x2aa)](),_0x17286e(new Error(_0x1afbe1[_0x39916f(0xb2)]));return;}const _0x28e911=_0xcc70e4[_0x39916f(0x154)](0x6);_0x5a2ee1({'imageId':_0x28e911,'imageSourceType':_0x4b9878[_0x39916f(0xc1)],'source':_0x4387e5,'base64Cache':_0x5d55e2,'status':_0x1afbe1[_0x39916f(0x357)]}),this['_decreaseWaiting']();};});}[_0x39927c(0x38a)](){var _0x25753a=_0x39927c,_0x24a3b6,_0x4e4c05;const _0x27ce1a=this[_0x25753a(0xef)][_0x25753a(0x1a2)](Is),_0x3ee914=this[_0x25753a(0xef)][_0x25753a(0x1a2)](q);return(_0x4e4c05=(_0x24a3b6=_0x3ee914==null?void 0x0:_0x3ee914[_0x25753a(0x2ae)])!=null?_0x24a3b6:_0x27ce1a)!=null?_0x4e4c05:Ts;}[_0x39927c(0xd7)](){var _0x32ba6b=_0x39927c,_0x3c8a4a,_0x2d9ff7;const _0x1f8528=this[_0x32ba6b(0xef)][_0x32ba6b(0x1a2)](Cs),_0x18a1c1=this[_0x32ba6b(0xef)]['getConfig'](q);return(_0x2d9ff7=(_0x3c8a4a=_0x18a1c1==null?void 0x0:_0x18a1c1[_0x32ba6b(0xc3)])!=null?_0x3c8a4a:_0x1f8528)!=null?_0x2d9ff7:bs;}[_0x39927c(0x2a8)](){var _0x345100=_0x39927c,_0x4dfda6;const _0x4368d2=this[_0x345100(0xef)][_0x345100(0x1a2)](q);return(_0x4dfda6=_0x4368d2==null?void 0x0:_0x4368d2[_0x345100(0x35e)])!=null?_0x4dfda6:location['origin'];}[_0x39927c(0x38d)](_0x2ee7de,_0x179401){var _0x28b822=_0x39927c;return _0x2ee7de[_0x28b822(0xd4)](_0x28b822(0x342),_0x179401);}[_0x39927c(0x2aa)](){var _0x346b9c=_0x39927c;this[_0x346b9c(0x293)]-=0x1,this['_change$'][_0x346b9c(0x19d)](this[_0x346b9c(0x293)]);}};yt=gs([gt(0x0,_0xbc9492(_0x5ee64e)),gt(0x1,_0x227ac9),gt(0x2,_0xbc9492(_0x252c78))],yt);var Rs=Object[_0x39927c(0x2fa)],Os=Object[_0x39927c(0x186)],ys=(_0x3ec589,_0x353643,_0xbd6877,_0x5b865a)=>{var _0x14d0f8=_0x39927c;for(var _0x338f3f=_0x5b865a>0x1?void 0x0:_0x5b865a?Os(_0x353643,_0xbd6877):_0x353643,_0x5d5b86=_0x3ec589[_0x14d0f8(0x1ad)]-0x1,_0x1facb7;_0x5d5b86>=0x0;_0x5d5b86--)(_0x1facb7=_0x3ec589[_0x5d5b86])&&(_0x338f3f=(_0x5b865a?_0x1facb7(_0x353643,_0xbd6877,_0x338f3f):_0x1facb7(_0x338f3f))||_0x338f3f);return _0x5b865a&&_0x338f3f&&Rs(_0x353643,_0xbd6877,_0x338f3f),_0x338f3f;},_i=(_0x329c37,_0x323c49)=>(_0x5b2d72,_0x448163)=>_0x323c49(_0x5b2d72,_0x448163,_0x329c37);const Ns='/universer-api/authz';let Nt=class{constructor(_0x336e7f,_0x146c7f){var _0x129585=_0x39927c;this[_0x129585(0xef)]=_0x336e7f,this[_0x129585(0x254)]=_0x146c7f;}['_getAPIPrefixPath'](){var _0x18c81a=_0x39927c,_0x1ec16c,_0x3ebec5;const _0x2378d8=this[_0x18c81a(0xef)][_0x18c81a(0x1a2)](Pi),_0x38630b=this[_0x18c81a(0xef)][_0x18c81a(0x1a2)](q);return(_0x3ebec5=(_0x1ec16c=_0x38630b==null?void 0x0:_0x38630b['authzUrl'])!=null?_0x1ec16c:_0x2378d8)!=null?_0x3ebec5:Ns;}async[_0x39927c(0x2c3)](_0x3e3c7f){var _0x13dbb7=_0x39927c;const _0x227ca0=this['_getAPIPrefixPath']()+_0x13dbb7(0x36f);return{'list':[{'title':'People','mentions':(await this['_HTTPService']['get'](_0x227ca0,{'params':{'objectID':_0x3e3c7f['unitId'],'unitID':_0x3e3c7f[_0x13dbb7(0x380)]}}))[_0x13dbb7(0x207)][_0x13dbb7(0x38c)]['map'](_0x3ba75c=>({'objectId':_0x3ba75c['id'],'name':_0x3ba75c[_0x13dbb7(0x117)][_0x13dbb7(0x121)],'metadata':{'icon':_0x3ba75c[_0x13dbb7(0x117)][_0x13dbb7(0x334)]},'label':_0x3ba75c[_0x13dbb7(0x117)][_0x13dbb7(0x121)],'objectType':_0x429eb3[_0x13dbb7(0x1af)]})),'metadata':{},'type':_0x429eb3[_0x13dbb7(0x1af)]}]};}};Nt=ys([_i(0x0,_0xbc9492(_0x227ac9)),_i(0x1,_0xbc9492(_0x5ee64e))],Nt);var Ds=Object[_0x39927c(0x2fa)],Ps=Object[_0x39927c(0x186)],ws=(_0x35848e,_0x1d2d05,_0x1de023,_0x2bb6d9)=>{var _0x446a1a=_0x39927c;for(var _0x272dde=_0x2bb6d9>0x1?void 0x0:_0x2bb6d9?Ps(_0x1d2d05,_0x1de023):_0x1d2d05,_0x979e9b=_0x35848e[_0x446a1a(0x1ad)]-0x1,_0x5d759e;_0x979e9b>=0x0;_0x979e9b--)(_0x5d759e=_0x35848e[_0x979e9b])&&(_0x272dde=(_0x2bb6d9?_0x5d759e(_0x1d2d05,_0x1de023,_0x272dde):_0x5d759e(_0x272dde))||_0x272dde);return _0x2bb6d9&&_0x272dde&&Ds(_0x1d2d05,_0x1de023,_0x272dde),_0x272dde;},Se=(_0x2a63e6,_0x1b8f96)=>(_0x13c95b,_0x127922)=>_0x1b8f96(_0x13c95b,_0x127922,_0x2a63e6);let at=class extends _0x3320ff{constructor(_0x4a55c2,_0x3b0924,_0x2b1047,_0x4cc22a,_0x323452,_0x24634f,_0x200127){var _0x4e879e=_0x39927c;super(),this[_0x4e879e(0x169)]=_0x4a55c2,this[_0x4e879e(0x234)]=_0x3b0924,this[_0x4e879e(0x276)]=_0x2b1047,this[_0x4e879e(0x2a7)]=_0x4cc22a,this[_0x4e879e(0x11f)]=_0x323452,this[_0x4e879e(0x264)]=_0x24634f,this[_0x4e879e(0x2b0)]=_0x200127,this[_0x4e879e(0xc6)](),this['_initCloseConn']();}[_0x39927c(0x399)](){var _0x3d9bf8=_0x39927c;const _0x4e152f=async _0x128fc6=>{var _0x1699d1=_0x16b6;(await this['_collaborationSessionService'][_0x1699d1(0x25c)](_0x128fc6))[_0x1699d1(0x2f1)][_0x1699d1(0x153)](_0x2f4cab(_0x4e0d26=>_0x4e0d26[_0x1699d1(0x1b5)]===_0x30c357['SHOULD_CLOSE_CONN']),_0x10bfe9(this[_0x1699d1(0x364)]))[_0x1699d1(0x34e)](_0x8d14ac=>{var _0x1c5082=_0x1699d1;const _0x1bdc59=_0x8d14ac,{reason:_0xfd2eec}=_0x1bdc59['data'];this[_0x1c5082(0x11f)][_0x1c5082(0xc5)]({'id':se[_0x1c5082(0x2a0)],'data':_0xfd2eec}),this['_permissionService'][_0x1c5082(0x17f)](new _0x3c7e45(_0x128fc6)['id'],!0x1),this['_collaborationSessionService'][_0x1c5082(0x29f)](_0x128fc6);});};_0x245007(this[_0x3d9bf8(0x234)][_0x3d9bf8(0x1bc)](_0x42f03d[_0x3d9bf8(0x2e8)]),this[_0x3d9bf8(0x234)][_0x3d9bf8(0x1bc)](_0x42f03d['UNIVER_DOC']))[_0x3d9bf8(0x153)](_0x28dd90(_0x34f2fe=>_0x34f2fe[_0x3d9bf8(0x26d)]()),_0x2f4cab(_0x587bd1=>!_0x3592ca(_0x587bd1)),_0x10bfe9(this[_0x3d9bf8(0x364)]))[_0x3d9bf8(0x34e)](_0x38badb=>{_0x4e152f(_0x38badb);});}[_0x39927c(0xc6)](){var _0x42eb2f=_0x39927c;const _0x3a207f=async _0xb0b8d1=>{var _0x1528ea=_0x16b6;const _0x18eb2e=await this[_0x1528ea(0x2a7)][_0x1528ea(0x25c)](_0xb0b8d1),_0x47db82=this['_injector']['get'](_0x1820bb);_0x18eb2e['event$']['pipe'](_0x2f4cab(_0xeec85b=>_0xeec85b[_0x1528ea(0x1b5)]===_0x30c357[_0x1528ea(0x1cf)]),_0x10bfe9(this['dispose$']))[_0x1528ea(0x34e)](_0x3006b8=>{var _0x225061=_0x1528ea;const _0x30ff64=_0x3006b8,{objectId:_0x18cb2b}=_0x30ff64[_0x225061(0x12c)];_0x18cb2b===_0xb0b8d1?_0x47db82[_0x225061(0x2d7)](_0xb0b8d1):_0x47db82['refreshPermission'](_0xb0b8d1,_0x18cb2b);});};_0x245007(this['_univerInstanceService'][_0x42eb2f(0x1bc)](_0x42f03d[_0x42eb2f(0x2e8)]),this[_0x42eb2f(0x234)][_0x42eb2f(0x1bc)](_0x42f03d[_0x42eb2f(0x167)]))[_0x42eb2f(0x153)](_0x28dd90(_0x5ba3c4=>_0x5ba3c4[_0x42eb2f(0x26d)]()),_0x2f4cab(_0x3e1a5a=>!_0x3592ca(_0x3e1a5a)),_0x10bfe9(this[_0x42eb2f(0x364)]))[_0x42eb2f(0x34e)](_0x38bab0=>{_0x3a207f(_0x38bab0);});}};at=ws([Se(0x0,_0xbc9492(_0x42904b)),Se(0x1,_0x252c78),Se(0x2,_0x17f25c),Se(0x3,_0xbc9492(Le)),Se(0x4,_0xbc9492(pe)),Se(0x5,_0x4f0206),Se(0x6,_0x6c51a4)],at);var Us=Object[_0x39927c(0x2fa)],As=Object[_0x39927c(0x186)],xs=(_0x1fe488,_0x158765,_0x2bd4f2,_0x2e0415)=>{var _0x281bb9=_0x39927c;for(var _0x1b281e=_0x2e0415>0x1?void 0x0:_0x2e0415?As(_0x158765,_0x2bd4f2):_0x158765,_0x355b2b=_0x1fe488[_0x281bb9(0x1ad)]-0x1,_0x166490;_0x355b2b>=0x0;_0x355b2b--)(_0x166490=_0x1fe488[_0x355b2b])&&(_0x1b281e=(_0x2e0415?_0x166490(_0x158765,_0x2bd4f2,_0x1b281e):_0x166490(_0x1b281e))||_0x1b281e);return _0x2e0415&&_0x1b281e&&Us(_0x158765,_0x2bd4f2,_0x1b281e),_0x1b281e;},li=(_0x26cc03,_0x54aef6)=>(_0x4a30d5,_0x2c7f49)=>_0x54aef6(_0x4a30d5,_0x2c7f49,_0x26cc03);let Dt=class{constructor(_0x3b8d9a,_0x14c432){var _0x1ed652=_0x39927c;this[_0x1ed652(0xef)]=_0x3b8d9a,this['_httpService']=_0x14c432;}async[_0x39927c(0x229)](_0x43dc10,_0x5b6ae6){var _0x855b31=_0x39927c,_0x550f16;const {unitID:_0x1f0bbe,type:_0x58ec7a,revision:_0x26a1a4=0x0}=_0x5b6ae6,_0x2994ee=this[_0x855b31(0x193)]()+'/'+_0x58ec7a+_0x855b31(0x33c)+_0x1f0bbe+_0x855b31(0x2f2)+_0x26a1a4,_0x2b22f0=(await this[_0x855b31(0x1a8)][_0x855b31(0x3a4)](_0x2994ee))['body'],_0x1c4b47=(_0x550f16=_0x2b22f0[_0x855b31(0x132)])==null?void 0x0:_0x550f16[_0x855b31(0x341)];if(_0x1c4b47){const _0x3abb17=_0x1c4b47==null?void 0x0:_0x1c4b47[_0x855b31(0x335)],_0xfb4ffb=_0x164596[_0x855b31(0x27c)](_0x8a2507(_0x3abb17));_0x1c4b47[_0x855b31(0x335)]=_0xfb4ffb,Object[_0x855b31(0x26b)](_0x1c4b47['sheets'])['forEach'](([,_0x52396f])=>{var _0x26d4c3=_0x855b31;const _0x2ba564=_0x52396f[_0x26d4c3(0x335)],_0x29e798=_0x164596[_0x26d4c3(0x27c)](_0x8a2507(_0x2ba564));_0x52396f['originalMeta']=_0x29e798;});}return _0x2b22f0;}async[_0x39927c(0x1eb)](_0xd12194,_0x30a93c){var _0x3115f8=_0x39927c;const {unitID:_0x3fe010,type:_0x3f71b0,blockID:_0xb5629b}=_0x30a93c,_0x842eee=this['_getAPIPrefix']()+'/'+_0x3f71b0+_0x3115f8(0x33c)+_0x3fe010+_0x3115f8(0x319)+_0xb5629b;return(await this[_0x3115f8(0x1a8)]['get'](_0x842eee))[_0x3115f8(0x207)];}async[_0x39927c(0x39a)](_0x2bc130,_0xd43a62){var _0x28f7d6=_0x39927c;const {unitID:_0x5b769d,type:_0x3a4a62,blockID:_0x53acd9}=_0xd43a62,_0x39682c=this[_0x28f7d6(0x311)]()+'/block/'+_0x3a4a62+_0x28f7d6(0x33c)+_0x5b769d+_0x28f7d6(0x319)+_0x53acd9;return(await this[_0x28f7d6(0x1a8)]['get'](_0x39682c))['body'];}async[_0x39927c(0x208)](_0x20979c,_0x1f9b07){var _0x46d809=_0x39927c;const {unitID:_0x523c99,type:_0x320026,from:_0x28ce20,to:_0x28bdeb}=_0x1f9b07,_0x322fee=this[_0x46d809(0x311)]()+'/'+_0x320026+_0x46d809(0x33c)+_0x523c99+'/fetchmissing?from='+_0x28ce20+'&to='+_0x28bdeb;return(await this[_0x46d809(0x1a8)][_0x46d809(0x3a4)](_0x322fee))['body'];}[_0x39927c(0x193)](){var _0x261cf=_0x39927c,_0x233deb;return(_0x233deb=this[_0x261cf(0xef)]['getConfig'](Tn))!=null?_0x233deb:this[_0x261cf(0x311)]();}[_0x39927c(0x311)](){var _0x502087=_0x39927c,_0x16425e,_0x2e0f68;const _0x27f594=this['_configService'][_0x502087(0x1a2)](En),_0x305dab=this[_0x502087(0xef)]['getConfig'](q);return(_0x2e0f68=(_0x16425e=_0x305dab==null?void 0x0:_0x305dab['snapshotServerUrl'])!=null?_0x16425e:_0x27f594)!=null?_0x2e0f68:In;}async['getResourcesRequest'](_0x23b658,_0x2273b7){var _0x4b9279=_0x39927c;const _0x198156='/universer-api/snapshot/'+_0x2273b7[_0x4b9279(0x33e)]+_0x4b9279(0x33c)+_0x2273b7[_0x4b9279(0x1bf)]+_0x4b9279(0xed);return(await this[_0x4b9279(0x1a8)]['get'](_0x198156,{'params':{'resourceId':JSON[_0x4b9279(0x1a7)](_0x2273b7[_0x4b9279(0x180)])}}))['body'];}[_0x39927c(0x1bd)](){var _0x2fe0fd=_0x39927c;throw new Error(_0x2fe0fd(0x285));}['saveSheetBlock'](){var _0x2ba4b0=_0x39927c;throw new Error(_0x2ba4b0(0x285));}['saveChangeset'](){var _0x1e47ca=_0x39927c;throw new Error(_0x1e47ca(0x285));}[_0x39927c(0x242)](){var _0x50803b=_0x39927c;throw new Error(_0x50803b(0x285));}[_0x39927c(0x162)](){var _0x335dd1=_0x39927c;throw new Error(_0x335dd1(0x285));}};Dt=xs([li(0x0,_0x227ac9),li(0x1,_0xbc9492(_0x5ee64e))],Dt);var Ls=Object[_0x39927c(0x2fa)],Ms=Object[_0x39927c(0x186)],$s=(_0x335ff3,_0x3826a4,_0x358a9a,_0x366ea6)=>{var _0x609c61=_0x39927c;for(var _0x459572=_0x366ea6>0x1?void 0x0:_0x366ea6?Ms(_0x3826a4,_0x358a9a):_0x3826a4,_0x36a161=_0x335ff3[_0x609c61(0x1ad)]-0x1,_0x3e9a74;_0x36a161>=0x0;_0x36a161--)(_0x3e9a74=_0x335ff3[_0x36a161])&&(_0x459572=(_0x366ea6?_0x3e9a74(_0x3826a4,_0x358a9a,_0x459572):_0x3e9a74(_0x459572))||_0x459572);return _0x366ea6&&_0x459572&&Ls(_0x3826a4,_0x358a9a,_0x459572),_0x459572;},Ae=(_0x4fc513,_0x11b50d)=>(_0x11f31b,_0x451e3f)=>_0x11b50d(_0x11f31b,_0x451e3f,_0x4fc513);let Pt=class extends _0x516f54{constructor(_0x211761,_0x1514ea,_0x550055,_0x38053c,_0x442424){var _0x2d2b0a=_0x39927c;super(_0x211761,_0x1514ea,_0x550055),this[_0x2d2b0a(0x2e1)]=_0x38053c,this[_0x2d2b0a(0x2c0)]=_0x442424;}[_0x39927c(0xe5)](_0x55eb53,_0x3489df){var _0x13609a=_0x39927c;const _0xf978ad=this[_0x13609a(0x141)](_0x55eb53);if(_0xf978ad)try{const _0x7e2ac5=this[_0x13609a(0x2d4)](_0xf978ad,_0x3489df);this['_substituteUndoStack'](_0x55eb53,_0x7e2ac5);}catch(_0x467fa8){this['_logService']['error']('[CollaborationUndoRedoService]',_0x467fa8),this[_0x13609a(0x24c)](_0x55eb53);}const _0x41b5c2=this['_getRedoStack'](_0x55eb53);if(_0x41b5c2)try{const _0x3b78a4=this[_0x13609a(0x2d4)](_0x41b5c2,_0x3489df);this[_0x13609a(0x1ab)](_0x55eb53,_0x3b78a4);}catch(_0x35f0e8){this[_0x13609a(0x2c0)][_0x13609a(0x1e7)](_0x35f0e8),this[_0x13609a(0x2e7)](_0x55eb53);}}['_clearUndo'](_0x26b74c){var _0x98fd8c=_0x39927c;const _0x281b8a=this['_getUndoStack'](_0x26b74c);_0x281b8a&&(_0x281b8a['length']=0x0,this[_0x98fd8c(0x166)]());}['_clearRedo'](_0x421c96){var _0x2bebe6=_0x39927c;const _0x37c282=this[_0x2bebe6(0x2b6)](_0x421c96);_0x37c282&&(_0x37c282[_0x2bebe6(0x1ad)]=0x0,this[_0x2bebe6(0x166)]());}[_0x39927c(0x199)](_0x236b14,_0x5a58c2){var _0x14fe35=_0x39927c;this[_0x14fe35(0x2bc)]['set'](_0x236b14,_0x5a58c2),this['_updateStatus']();}['_substituteRedoStack'](_0xbcacaf,_0x186a0b){var _0x1be334=_0x39927c;this['_redoStacks'][_0x1be334(0x366)](_0xbcacaf,_0x186a0b),this['_updateStatus']();}[_0x39927c(0x2d4)](_0x978d63,_0x579a6e){var _0x45be9c=_0x39927c;const _0x5f2e3c=[];let _0x234057=_0x579a6e,_0x3408ed=_0x579a6e;for(let _0x5bbb07=_0x978d63[_0x45be9c(0x1ad)]-0x1;_0x5bbb07>=0x0;_0x5bbb07--){const {unitID:_0x41f975,undoMutations:_0x745cff,redoMutations:_0x5eb6f0}=_0x978d63[_0x5bbb07],_0xede80f=this[_0x45be9c(0x2e1)][_0x45be9c(0x257)](_0x234057,_0x745cff),_0x311612=this[_0x45be9c(0x2e1)][_0x45be9c(0x257)](_0x3408ed,_0x5eb6f0);if(_0x2cc8b2(_0xede80f)||_0x2cc8b2(_0x311612)){this['_logService']['error'](_0x45be9c(0x213),'transformStack\x20failed!',_0xede80f,_0x311612);break;}_0x234057=_0xede80f['c1Prime'],_0x3408ed=_0x311612[_0x45be9c(0x2d5)],_0x5f2e3c[_0x45be9c(0x14b)]({'unitID':_0x41f975,'undoMutations':_0xede80f['m2Prime'],'redoMutations':_0x311612['m2Prime']});}return _0x5f2e3c[_0x45be9c(0xcc)]();}};Pt=$s([Ae(0x0,_0x252c78),Ae(0x1,_0x4648fa),Ae(0x2,_0x32d769),Ae(0x3,_0x56a4c4),Ae(0x4,_0xa0a262)],Pt);var xi=Object[_0x39927c(0x2fa)],Hs=Object[_0x39927c(0x186)],ks=(_0x58f6ae,_0xc8d436,_0x1579a2)=>_0xc8d436 in _0x58f6ae?xi(_0x58f6ae,_0xc8d436,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1579a2}):_0x58f6ae[_0xc8d436]=_0x1579a2,js=(_0x55c928,_0x50446b,_0x30931e,_0xf8944d)=>{var _0x1d33a6=_0x39927c;for(var _0x36a12a=_0xf8944d>0x1?void 0x0:_0xf8944d?Hs(_0x50446b,_0x30931e):_0x50446b,_0x554cd0=_0x55c928[_0x1d33a6(0x1ad)]-0x1,_0x46af5f;_0x554cd0>=0x0;_0x554cd0--)(_0x46af5f=_0x55c928[_0x554cd0])&&(_0x36a12a=(_0xf8944d?_0x46af5f(_0x50446b,_0x30931e,_0x36a12a):_0x46af5f(_0x36a12a))||_0x36a12a);return _0xf8944d&&_0x36a12a&&xi(_0x50446b,_0x30931e,_0x36a12a),_0x36a12a;},St=(_0x22fc1a,_0x28ae7f)=>(_0x2849c5,_0x4a8714)=>_0x28ae7f(_0x2849c5,_0x4a8714,_0x22fc1a),Bs=(_0x5969a6,_0x3d5a2c,_0x3fc2d3)=>ks(_0x5969a6,_0x3d5a2c+'',_0x3fc2d3);const Fs=_0x39927c(0x349);let wt=class extends _0x32dbaf{constructor(_0x70b130=Wt,_0x416af0,_0x11630b,_0x4a7013){var _0x8259ff=_0x39927c;super(),this['_config']=_0x70b130,this[_0x8259ff(0x2c0)]=_0x416af0,this[_0x8259ff(0x169)]=_0x11630b,this[_0x8259ff(0xef)]=_0x4a7013;const {..._0x36dd6e}=_0xebb80c({},Wt,this[_0x8259ff(0x3b6)]);this[_0x8259ff(0xef)][_0x8259ff(0x37e)](q,_0x36dd6e);}[_0x39927c(0x148)](){var _0x107146=_0x39927c;this[_0x107146(0x28d)](),this[_0x107146(0x160)]();}[_0x39927c(0x28d)](){var _0x5caa9b=_0x39927c,_0x4395cd,_0x54391d,_0x12c9d5,_0x517516;this[_0x5caa9b(0x169)][_0x5caa9b(0x13b)](_0x6c51a4)&&this[_0x5caa9b(0x2c0)][_0x5caa9b(0x1e7)]('[UniverCollaborationClientPlugin]',_0x5caa9b(0x32b));const _0x167ece=_0xf5302([[_0x6c51a4,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[bi],[at],[pe],[Ot],[Ci,{'useClass':(_0x54391d=(_0x4395cd=this[_0x5caa9b(0x3b6)])==null?void 0x0:_0x4395cd[_0x5caa9b(0x104)])!=null?_0x54391d:Et}],[_0x1982fa,{'useClass':Dt}],[_0x4f0206,{'useClass':Rt}],[_0x2ca8a4,{'useClass':yt}],[_0x1b6960,{'useClass':Nt}],[rt],[bt]],(_0x12c9d5=this['_config'])==null?void 0x0:_0x12c9d5[_0x5caa9b(0x337)]);if(!((_0x517516=this[_0x5caa9b(0x3b6)])!=null&&_0x517516[_0x5caa9b(0x318)])){const _0x307792=_0x167ece['findIndex'](([_0x128f54])=>_0x128f54===ht);_0x307792!==-0x1&&_0x167ece[_0x5caa9b(0xbc)](_0x307792,0x1);}_0x143ac5(this['_injector'],_0x167ece);}[_0x39927c(0x160)](){var _0x2cf6c7=_0x39927c,_0x392cfc,_0x4995fb,_0xd9f6bd;this[_0x2cf6c7(0x169)][_0x2cf6c7(0x3a4)](_0x5ee64e)[_0x2cf6c7(0x232)]({'priority':0x14,'interceptor':_0x3ce38f({'maxParallel':0x6})}),(_0x392cfc=this[_0x2cf6c7(0x3b6)])!=null&&_0x392cfc[_0x2cf6c7(0x137)]||(_0x4995fb=this['_injector'][_0x2cf6c7(0x3a4)](J,_0x1bea6c[_0x2cf6c7(0xce)]))==null||_0x4995fb[_0x2cf6c7(0x1e6)](),(_0xd9f6bd=this[_0x2cf6c7(0x3b6)])!=null&&_0xd9f6bd[_0x2cf6c7(0x33a)]&&_0x1df72b(this[_0x2cf6c7(0x169)],[[st]]),_0x1df72b(this[_0x2cf6c7(0x169)],[[ot],[rt],[at]]);}};Bs(wt,_0x39927c(0x2a2),Fs),wt=js([_0x49fdcf(_0xb83b1f,_0x19fdf0,_0x224eec),St(0x1,_0xa0a262),St(0x2,_0xbc9492(_0x42904b)),St(0x3,_0x227ac9)],wt);export{Pi as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,bn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,bi as CommentService,de as ConflictState,Rn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,Ri as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};