@univerjs-pro/collaboration-client 0.5.4-nightly.202501181605 → 0.5.4-nightly.202501200849

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x384d48=_0x56fc;(function(_0x19e951,_0x5075df){var _0x558074=_0x56fc,_0x243334=_0x19e951();while(!![]){try{var _0x182e15=parseInt(_0x558074(0x1c8))/0x1+parseInt(_0x558074(0x2d8))/0x2*(-parseInt(_0x558074(0x3cd))/0x3)+-parseInt(_0x558074(0x3fc))/0x4+parseInt(_0x558074(0x1a7))/0x5+-parseInt(_0x558074(0x202))/0x6+-parseInt(_0x558074(0x28d))/0x7*(-parseInt(_0x558074(0x1ff))/0x8)+-parseInt(_0x558074(0x2d3))/0x9*(-parseInt(_0x558074(0x3c5))/0xa);if(_0x182e15===_0x5075df)break;else _0x243334['push'](_0x243334['shift']());}catch(_0x2236db){_0x243334['push'](_0x243334['shift']());}}}(_0x5c41,0x19b67));var Li=Object[_0x384d48(0x1e0)],Mi=(_0x1bf9b2,_0x32e487,_0x50725d)=>_0x32e487 in _0x1bf9b2?Li(_0x1bf9b2,_0x32e487,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x50725d}):_0x1bf9b2[_0x32e487]=_0x50725d,N=(_0x820c0e,_0x17a890,_0x10220e)=>Mi(_0x820c0e,typeof _0x17a890!=_0x384d48(0x271)?_0x17a890+'':_0x17a890,_0x10220e);function _0x5c41(){var _0x597003=['[SyncedState]:\x20received\x20acknowledgement.','_compressMutationService','unitInfo$','body','updateMember','getUnit','_members','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','origin','_schedule','COLLAB_WEB_SOCKET_URL','shouldCloseConn','_applyRemoteChangeset','_clearScheduledTask','keySize','_transformSelections','_transformStack','_revisionService','_createSocketURL','[CollaborationState]:\x20apply\x20error!','init','getCollabEntity','fetchMiss','_handlerCallback','encrypt','_sendingTimer','_getSessionTicket','_ENC_XFORM_MODE','9QyyzxS','addImageSourceCache','infoRsp','concat','saveImage','14TsKAXZ','stopTime','csShouldRetryEvent','APPLY_REVISION_CONFILICT','_waitCount','dispose','override','joinEvent','_pendingMutations','collaboration-client.local-cache-service','transformMutationsWithChangeset','add','ivSize','_onRemoteChangeset','unsubscribe','LICENSE_DISTRO_REJECTED','parse','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_initDependencies','image/jpg','/universer-api/snapshot','_resendTimeout','image/bmp','_substituteUndoStack','isArray','Decryptor','HMAC','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_resendWithTimeout','processBlock','_univerInstanceService','getSheetId','asObservable','_snapshotServerService','snapshot','_getCtorByUniverType','_unlockTransition','loadDoc','_imageSourceCache','Base64','APPLY_REJECT','pending','enc','SNAPSHOT_INVALID_SNAPSHOT','LICENSE_IMPORT_SIZE_EXCEEDED','emitEvent','_onRemoteRejected','_queuedRemoteChangesets','lib','blockSize','appendMutation','title','UNKNOWN_CODE','updatePermissionPoint','encodeURIComponent','_instanceService','sessionTicket','_commentService','_xformMode','put','_keySchedule','_cipher','_parse','target','_clearCollaborationTimeoutTimer','toggleOnline','_commentUpdate$','state','_clearUndo','_prevBlock','collaMsg','onload','location','_resendTimer','unitId','MD5','onSendChangeset','_onRemoteRetry','userID','objectID','listCollaborators','data','[OfflineState]:\x20received\x20acknowledgement.','charCodeAt','onRemoteRej','LIVESHARE_NEW_HOST','delete','Encryptor','_onOffline','INTERNAL_ERROR','PERMISSION_DENIED','uniscriptRunEvent','setCurrentUser','mutations','FAIL','onStateChange','_executeRemoteChangeset','editing\x20status\x20changed\x20to','subscribe','editingUnit','find','join','_transformService','JOIN_ROOM_FULL','listRoles','_telemetryService','charAt','[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.','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','TOO_MANY_REQUESTS','INVALID_ARGUMENT','SUBMIT_CHANGESET_TIMEOUT','_invKeySchedule','[OfflineState]:\x20received\x20changeset.','c1Prime','sid','UNIVER_SHEET','SUBMIT_CHANGESET','fetch_missing','next','_listenToNetworkCondition','_roomCreated$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CHANGESET_REVISION_CONFILICT','type','message$','[CollaborationSessionService]','_disableEditing','/universer-api/oidc/authpage','putCollaborators','__creator','ERROR_EXCEED_SIZE','conflict','_config','YUUMI_UNABLE_LOAD_URL','SNAPSHOT_URL_KEY','getCurrentUser','_type','getUnitId','SOCKET_FAILED','onSyncEditingCollabCursor','_entities','enableOfflineEditing','_doCryptBlock','sin','\x0aCurrent:\x20','createDecryptor','CipherParams','getActiveSheet','key','[UniverCollaborationClientPlugin]','_sender','_status$','push','[CollaborationSession]','dispose$','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','set','COMMENT_UPDATE','_data','cfg','_createHelper','_transitionLocked','SYNCED','_getLoginPath','_collaborationSessionService','_collabSessionService','every','saveSnapshot','apply','entityInit$','ws://127.0.0.1:8000/universer-api/comb/connect','textRanges','_toggleOnline','now','JOIN_ROOM_PERMISSION_DENIED','startTime','localeService','_stopTelemetryCollaborationNewChangeset','from','_collaborationTimeoutTimer','/rev/','memberID','GLOBAL_ROOMS_CNT_EXCEEDS','_updateLocalCache','Base','NEW_CHANGESETS','RECV','/allowed','AUTHZ_URL_KEY','revision','padding','interceptor','[CollaborationUndoRedoService]','_getRedoStack','\x20in\x20_schedule.','onTransformIME','prototype','_submitChangeset','[PendingState]:\x20received\x20acknowledgement.','action','CHANGESET_REJ','_onRemoteACK','BufferedBlockAlgorithm','_getAPIPrefixPath','HEARTBEAT_INTERVAL','newCsEvent','_onUserLeave','stringify','status$','USERS_LEAVE','downloadEndpointUrl','registerHTTPInterceptor','error$','resend','unknown','/block/','LICENSE_EXPORT_SIZE_EXCEEDED','pipe','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','auth.needGotoLoginAlert','_change$','Malformed\x20UTF-8\x20data','updateOfflineData','close','getCollabEntity$','fetchThroughInterceptors','mixIn','isPermissionRej','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getImage','UNIVER_DOC','string','LIVESHARE_REQUEST_HOST','_scheduleCollaborationTimeoutTimer','cmd','1516990khWVbt','ERROR_IMAGE','getConfig','_sessions','_onUserJoin','UNRECOGNIZED','OTHER_CLIENTS_EDITING','copyFileMeta','42069tQrHjm','requestParams','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_clearLocalCache','_injector','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_key','readInt32LE','SHOULD_CLOSE_CONN','send','_keyPriorReset','reset','HttpExport','algo','_localeService','_doProcessBlock','fetchMissingChangesets','SNAPSHOT_HAS_BEEN_REMOVED','SNAPSHOT_SERVER_URL_KEY','decryptBlock','randomBytes','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','\x0aAfter:\x20','_onConnectionOpen','SEND_CHANGESET_TIMEOUT','encryptBlock','hasOwnProperty','ticket','roomInfos','sigBytes','CONFLICT','_candidateSocket','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_socketReady','BASE64','UNAUTHENTICATED','_changesetReqId','open$','OpenSSL','_handler','objectType','_onConnectionFailed','YUUMI_URL_COL_OUT_OF_RANGE','UNIVER_SLIDE','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','routeKey','_createInitialStateImpl','711276BQlQzz','_getAPIPrefix','_transformStateCache','UNIVER_PROJECT','getMember','session.room-cnt-exceeds','_socket','socket\x20open.','pad','ALREADY_EXISTS','univer-pro.collaboration-client.single-active-unit-service','YUUMI_SUBSCRIPTION_NOT_FOUND','_lockTransition','readAsDataURL','_permissionService','OTHER_CLIENT_EDITING','onCommandExecuted','fromCollab','min','_registerDependencies','onMissedChangesetFetched','values','patch','session.join-failed','msCrypto','reverse','filter','BlockCipherMode','Univer','_createHandler','image/png','readyForCollab','not_collab','_http','YUUMI_RATE_OVER_LIMIT','pluginName','JOIN','_transformRemoteChangesetByStateCache','&source=','LEAVE','onTransformSelections','HttpImport','NOT_FOUND','json','online$','pauseCollaboration','getImageSourceCache','_updateState','[OfflineState]:\x20received\x20rejection.','buffer','IDLE','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_transformRemoteChangesetByIMECache','execute','post','_state','random','transformSelections','COMPRESS_MUTATION_APPLY','_acknowledgedAwaitingChangeset','ERROR_IMAGE_TYPE','UNKNOWN_CMD','url','getCurrentSelections','_onCombEvent','_emitMembers','words','_snapshotService','replace','floor','list','/new_changes','_clearHeartbeatTimer','/role','disposeWithMe','_collaborationPaused','session.room-full','_shouldReportTelemetry','getInterceptPoints','SOCKET_FAILED_RETRY','awaitingChangeset','m2Prime','&assign=','confirm','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','APPLY_PERMISSION_DENIED','has','_getUndoStack','_throwTelemetryCollaborationNewChangeset','[FetchMissState]','workbook','_hasher','_nRounds','_getSignURL','UnitSnapshot','image/jpeg','connection\x20error','format','HELLO','_onConflict','_decreaseWaiting','getCurrentRevOfUnit','UPDATE_PERMISSION_OBJ','kdf','_map','_collaborationUIEventService','error','/unit/','APPLY_DUPLICATED','decrypt','event$','_syncEditingCollabCursor','_telemetryInfo','UnitEmbedded','closeSession','headers','signUrlServerUrl','?size=','setShowComponents','_memberService','objectActions','_nDataBytes','Cipher','JOIN_ROOM_FAILED','saveChangeset','_toggleOffline','max','SHA1','_clearTimeoutTimer','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','unitID','subject','avatar','originalMeta','failed\x20to\x20apply\x20missed\x20changesets!','CHANGESET_SHOULD_RETRY','formatter','src','fetching\x20missing\x20changesets\x20from\x20','liveShareNewHost','__esModule','_iKey','_undoStacks','_getDownloadEndpointURL','Hasher','authzUrl','Utf8','byteOffset','addHandlerCallback','_transformIMECache','image/gif','mode','sheets','function','getTypeOfUnitDisposed$','_onMessage','_rescheduleHeartbeat','/fetchmissing?from=','_retryConnectingTimer','onRemoteRetry','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','JOIN_ROOM_NOT_EXISTS','EXCHANGE_SIGN_URL_SERVER_URL_KEY','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','POST','href','application/json','sessionStatus$','compute','createSocket','collabWebSocketUrl','collaboratorID','UNISCRIPT_RUN','csAckEvent','close$','/object/','_entityInit$','FileId','82315uFQMku','OPTIONAL','toLowerCase','hasher','RETRY_CONNECTING_MAX_COUNT','rev','_getSendChangesetTimeout','transformChangesets','onRemoteChangeset','_createSocket','__Key__','getOwnPropertyDescriptor','selections','collaboration-client.config','debug','loadOfflineData','subUnitId','encode','getTime','PSEUDO_FETCH_MISSING_RESULT','leaveEvent','INGEST','requireSession','sendChangesetTimeout','changesets','getFocusedUnit','collabSubmitChangesetUrl','_reverseMap','_DEC_XFORM_MODE','call','create','entries','COLLAB_SUBMIT_CHANGESET_URL','106090BMCzRv','c2Prime','_socket$','synced','size','_startTelemetryCollaborationNewChangeset','LICENSE_MAX_UNITS_EXCEEDED','_eventService','_oKey','OFFLINE','_sendHeartbeatTimer','/collaborator','_checkMissing','ONLINE','disableLocalCache','randomUUID','COMPLETION_FINISHED','waitForRoom$','_changesetSessionId','_HTTPService','_mode','onTransformState','update','_localCacheService','defineProperty','actions','csRejEvent','_substituteRedoStack','joinRsp','LIVESHARE_OPERATION','onTransformRemoteChangesetByIMECache','createEncryptor','allowed','PasswordBasedCipher','_logService','_configService','_replayCachedMutations','rng','commentUpdateEvent','iterations','_incrementRevisionNumber','_onLocalMutation','unitId\x20is\x20not\x20found','finalize','onCommentUpdate','USERS_ENTER','params','BlockCipher','code','ceil','getSheetBlock','APPLY_NON_SEQUENTIAL_REVISION','slice','LOCAL_CACHE_INTERVAL','removeMember','985384zmSoIy','_socketService','localCacheService','96756AJiCeu','fromCharCode','collaborators','CLOSE_ROOM','Undefined','/universer-api/comb','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_minBufferSize','getTypeOfUnitAdded$','PERMISSION_REJ','length','_createHmacHelper','clamp','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','focused$','clone','onlyLocal','updatePermissionObjEvent','_updateStatus','_onRecvEvent','_removeRoom','capture','batchAllowed','awaiting_with_pending','catch','_append','_members$','_scheduleCompleteTimestamp','_initCloseConn','transformUndoRedo','_hash','_state$','getSnapshotAPIPath','_retryCount','_iv','MUTATION','_startCollaboration','/-/object/list','salt','sessionStatus','WordArray','_getCurrentRevision','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','UNDEFINED','onTransformRemoteChangesetByStateCache','wsSessionTicketUrl','status','_sendHeartbeat','_awaitingChangeset','_roomMembers','initWorkbookPermissionChange','_commandService','MSG_FOR_ERROR','LIVESHARE_TERMINATE','loginUrlKey','_process','[DataLoaderService]','toggleOffline','EvpKDF','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','splice','getUnitOnRev','_sheetTransformSelectionsService','UUID','uploadFileServerUrl','UNIVER_UNKNOWN','session','_showConflictNotification','_loadSheet','CONNECTOR_DATA_TOO_LARGE','deepClone','_loadDoc','searchParams','crypto','NO_OTHER_CLIENTS_EDITING','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_initMergeInterceptor','NOT_COLLAB','CHANGESET_ACK','Could\x20not\x20dynamically\x20require\x20\x22','reject','reconnect','COMPRESS_MUTATION_SEND','_doReset','_joinRoom','_init','permissionRejEvent','getRandomValues','append','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','[CollaborationSessionService]:\x20socket\x20error','_onJoinRoomEvent','PY_RUNTIME_SCRIPT_ERROR','enableSingleActiveInstanceLock','_sessionStatus$','forEach','ciphertext','Hex','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','extend','_createInitialState','PENDING','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','bind','executeCommand','\x20-\x20','[CollaborationEntity]','state$','compose','_undoRedoService','_getUploadFileURL','symbol','HEARTBEAT_TIMEOUT','_tryReconnect','change$','$super','JOINING','getDeserializedSheetBlock','/universer-api/user/session-ticket','name','HEARTBEAT','exports','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','\x20to\x20','_networkConditionService','PERSON','_userManagerService','getMemberID','Pkcs7','FETCH_MISSING','result','ENSURE_SNAPSHOT_EXECUTION','{fileID}','_event$','_transformUndoredo','incrementRevOfUnit','members','range','reqId','7hVtQfj','HmacMD5','/-/object/-/batch_allowed','eventID','_fetchMissChangesets','/universer-api/snapshot/','repeat','baseRev','_isPermissionRej','clear','CBC','NoPadding','_exhaustRemoteChangesetQueue','createInstance','runId','responseType','_singleActiveUnitService','offline','AES','AWAITING_WITH_PENDING','_httpService','_timeoutTimer','UPDATE_CURSOR','toString','/universer-api/uniscript','SerializableCipher','_remoteChangesetQueue','/object','get','_unitID','byteLength','map','FETCH_MISS','complete','reduce','LIVESHARE_FETCH_OPERATIONS','_socketMessageSubscription','abs','onRemoteAck','resolve','submit\x20changeset\x20error!','loadUnit'];_0x5c41=function(){return _0x597003;};return _0x5c41();}import{createIdentifier as _0x49fd55,Inject as _0x524d9b,Injector as _0x1e48d3,Disposable as _0x347757,DisposableCollection as _0x1c03cd,toDisposable as _0x529a4c,IConfigService as _0x3564e5,ILogService as _0x1e9a27,UserManagerService as _0x40a6c6,UniverInstanceType as _0x5deaa7,IUniverInstanceService as _0x588b40,LocaleService as _0x3fdf27,Optional as _0x49b7db,RxDisposable as _0x2c70a0,Tools as _0xe421c3,Rectangle as _0x96c0e2,ICommandService as _0x3f1db4,JSONX as _0x5bbc99,CommandType as _0x27f1c3,IPermissionService as _0x2386b0,IUndoRedoService as _0x2e02f4,sequenceExecute as _0x2a084b,Workbook as _0xb396a2,MentionType as _0x478f38,IAuthzIoService as _0x5a60a8,isInternalEditorID as _0x47ad52,LocalUndoRedoService as _0x337441,IContextService as _0x2dc06d,DependentOn as _0x197520,Plugin as _0x33c7f6,merge as _0x78f827,mergeOverrideWithDependencies as _0x1de4ae,IMentionIOService as _0x251c0c,registerDependencies as _0x493563,Quantity as _0x2f1b9c,touchDependencies as _0x4b47bb}from'@univerjs/core';import{Subject as _0x14c30e,merge as _0x178676,of as _0xd625e4,BehaviorSubject as _0x34646d,takeUntil as _0x10b867,ReplaySubject as _0x27baf2,take as _0x4c3c1b,map as _0xb2b0a3,shareReplay as _0x4ba0df,firstValueFrom as _0x3804bf,concatMap as _0x3e81d3}from'rxjs';import{map as _0x4f7920,take as _0x2394d8,filter as _0x4a7a86,delay as _0x4a79c5,takeUntil as _0x8aaa0f}from'rxjs/operators';import{HTTPService as _0x1fa986,ISocketService as _0xc55183,MergeInterceptorFactory as _0x2ae067,HTTPRequest as _0x13ab81,UniverNetworkPlugin as _0x471945,ThresholdInterceptorFactory as _0x3b17f8}from'@univerjs/network';import{CollaborationEvent as _0x51f52f,parseChangesetToProtocol as _0x180124,ISnapshotServerService as _0x46e3e3,isTransformMutationsWithChangesetSuccess as _0x5265cb,ITransformService as _0x2e7c83,mapDocumentTypeToUniverType as _0x41452d,RevisionService as _0x32f691,isTransformChangesetsSuccess as _0x2a3274,CompressMutationService as _0x2f36ae,parseProtocolChangeset as _0x491f1a,SnapshotService as _0x31b040,textEncoder as _0x28e985,b64DecodeUnicode as _0x10ebf8,isTransformMutationsWithChangesetFailure as _0xe645cd,UniverCollaborationPlugin as _0x3588eb}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x1b4275}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x566255}from'@univerjs/docs';import{SheetsSelectionsService as _0x56d89c,SetSelectionsOperation as _0x37cbe9,InsertSheetMutation as _0xace5c5,EmptyMutation as _0x5ced12,WorkbookEditablePermission as _0x386980,SheetPermissionInitController as _0xdc28aa,UniverSheetsPlugin as _0x37d18c}from'@univerjs/sheets';import{ImageSourceType as _0x1dcd50,ImageUploadStatusType as _0x4b4ef7,IImageIoService as _0x3c6605}from'@univerjs/drawing';import{getGlobalObject as _0x39b028}from'@univerjs-pro/license';const En=_0x384d48(0x3df),In=_0x384d48(0x2ec),Tn=_0x384d48(0x360),eo=_0x384d48(0x3e5),Cn=0x7d0,Rn=_0x384d48(0x2c1),bn=_0x384d48(0x384),On=_0x384d48(0x278),yn=_0x384d48(0x3a6),Nn=0x7530,Si=_0x384d48(0x272),Ei=0x4e20,Dn=0x4e20,Pn=_0x384d48(0x1ab),wn=0x3,to=_0x384d48(0x1fd),io=0x3e8,Un=_0x384d48(0x1c7),An=_0x384d48(0x207),xn='LOGIN_URL_KEY',Ln=_0x384d48(0x359),no=_0x384d48(0x3be),ro=_0x384d48(0x2a5);var Ii=(_0x5f07d9=>(_0x5f07d9[_0x5f07d9['UNDEFINED']=0x0]=_0x384d48(0x22d),_0x5f07d9[_0x5f07d9['OK']=0x1]='OK',_0x5f07d9[_0x5f07d9[_0x384d48(0x332)]=0x2]=_0x384d48(0x332),_0x5f07d9[_0x5f07d9[_0x384d48(0x333)]=0x3]=_0x384d48(0x333),_0x5f07d9[_0x5f07d9[_0x384d48(0x426)]=0x4]=_0x384d48(0x426),_0x5f07d9[_0x5f07d9[_0x384d48(0x3f0)]=0x5]=_0x384d48(0x3f0),_0x5f07d9[_0x5f07d9['ALREADY_EXISTS']=0x6]=_0x384d48(0x405),_0x5f07d9[_0x5f07d9[_0x384d48(0x347)]=0x7]=_0x384d48(0x347),_0x5f07d9[_0x5f07d9[_0x384d48(0x346)]=0x8]=_0x384d48(0x346),_0x5f07d9[_0x5f07d9[_0x384d48(0x1d8)]=0x9]='COMPLETION_FINISHED',_0x5f07d9[_0x5f07d9[_0x384d48(0x354)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5f07d9[_0x5f07d9['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x384d48(0x304),_0x5f07d9[_0x5f07d9['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x384d48(0x3de),_0x5f07d9[_0x5f07d9[_0x384d48(0x285)]=0x1773]=_0x384d48(0x285),_0x5f07d9[_0x5f07d9[_0x384d48(0x301)]=0x1b59]='APPLY_REJECT',_0x5f07d9[_0x5f07d9[_0x384d48(0x1fb)]=0x1b5a]=_0x384d48(0x1fb),_0x5f07d9[_0x5f07d9['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x384d48(0x2db),_0x5f07d9[_0x5f07d9[_0x384d48(0x451)]=0x1b5c]=_0x384d48(0x451),_0x5f07d9[_0x5f07d9[_0x384d48(0x468)]=0x1b5d]=_0x384d48(0x468),_0x5f07d9[_0x5f07d9[_0x384d48(0x247)]=0x1f41]=_0x384d48(0x247),_0x5f07d9[_0x5f07d9['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x384d48(0x1ce),_0x5f07d9[_0x5f07d9['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x384d48(0x353),_0x5f07d9[_0x5f07d9[_0x384d48(0x305)]=0x232b]=_0x384d48(0x305),_0x5f07d9[_0x5f07d9[_0x384d48(0x3b2)]=0x232c]=_0x384d48(0x3b2),_0x5f07d9[_0x5f07d9[_0x384d48(0x2e7)]=0x232d]=_0x384d48(0x2e7),_0x5f07d9[_0x5f07d9[_0x384d48(0x35f)]=0x2711]=_0x384d48(0x35f),_0x5f07d9[_0x5f07d9[_0x384d48(0x3f7)]=0x2712]=_0x384d48(0x3f7),_0x5f07d9[_0x5f07d9['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x384d48(0x41e),_0x5f07d9[_0x5f07d9['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x384d48(0x407),_0x5f07d9[_0x5f07d9[_0x384d48(0x25e)]=0x2af9]=_0x384d48(0x25e),_0x5f07d9[_0x5f07d9[_0x384d48(0x3ca)]=-0x1]=_0x384d48(0x3ca),_0x5f07d9))(Ii||{}),Q=(_0x44058d=>(_0x44058d[_0x44058d[_0x384d48(0x243)]=0x0]=_0x384d48(0x243),_0x44058d[_0x44058d[_0x384d48(0x3c0)]=0x1]=_0x384d48(0x3c0),_0x44058d[_0x44058d['UNIVER_SHEET']=0x2]=_0x384d48(0x34d),_0x44058d[_0x44058d[_0x384d48(0x3f8)]=0x3]=_0x384d48(0x3f8),_0x44058d[_0x44058d[_0x384d48(0x3ff)]=0x4]=_0x384d48(0x3ff),_0x44058d[_0x44058d[_0x384d48(0x3ca)]=-0x1]=_0x384d48(0x3ca),_0x44058d))(Q||{}),F=(_0x6abb1b=>(_0x6abb1b[_0x6abb1b[_0x384d48(0x439)]=0x0]=_0x384d48(0x439),_0x6abb1b[_0x6abb1b[_0x384d48(0x45e)]=0x1]=_0x384d48(0x45e),_0x6abb1b[_0x6abb1b['JOIN']=0x2]=_0x384d48(0x420),_0x6abb1b[_0x6abb1b[_0x384d48(0x423)]=0x3]=_0x384d48(0x423),_0x6abb1b[_0x6abb1b['INGEST']=0x4]=_0x384d48(0x1bc),_0x6abb1b[_0x6abb1b[_0x384d48(0x27a)]=0x5]=_0x384d48(0x27a),_0x6abb1b[_0x6abb1b[_0x384d48(0x394)]=0x6]=_0x384d48(0x394),_0x6abb1b[_0x6abb1b['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x6abb1b))(F||{}),Ee=(_0x2ed479=>(_0x2ed479[_0x2ed479[_0x384d48(0x30d)]=0x0]=_0x384d48(0x30d),_0x2ed479[_0x2ed479['OK']=0x1]='OK',_0x2ed479[_0x2ed479[_0x384d48(0x337)]=0x2]='FAIL',_0x2ed479[_0x2ed479[_0x384d48(0x340)]=0x3e9]=_0x384d48(0x340),_0x2ed479[_0x2ed479[_0x384d48(0x196)]=0x3ea]=_0x384d48(0x196),_0x2ed479[_0x2ed479['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x384d48(0x388),_0x2ed479[_0x2ed479[_0x384d48(0x390)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x2ed479[_0x2ed479[_0x384d48(0x3ca)]=-0x1]=_0x384d48(0x3ca),_0x2ed479))(Ee||{}),Ti=(_0x1584d9=>(_0x1584d9[_0x1584d9['Undefined']=0x0]=_0x384d48(0x206),_0x1584d9[_0x1584d9[_0x384d48(0x425)]=0x1]=_0x384d48(0x425),_0x1584d9[_0x1584d9[_0x384d48(0x3d9)]=0x2]=_0x384d48(0x3d9),_0x1584d9[_0x1584d9[_0x384d48(0x46d)]=0x3]='UnitEmbedded',_0x1584d9[_0x1584d9[_0x384d48(0x45a)]=0x4]='UnitSnapshot',_0x1584d9[_0x1584d9[_0x384d48(0x3ca)]=-0x1]=_0x384d48(0x3ca),_0x1584d9))(Ti||{});const q=_0x384d48(0x1b4),Wt={};var se=(_0x1bc8c3=>(_0x1bc8c3[_0x384d48(0x40b)]=_0x384d48(0x40b),_0x1bc8c3[_0x384d48(0x333)]='PERMISSION_DENIED',_0x1bc8c3[_0x384d48(0x3eb)]=_0x384d48(0x3eb),_0x1bc8c3[_0x384d48(0x205)]=_0x384d48(0x205),_0x1bc8c3['JOIN_ROOM_FAILED']=_0x384d48(0x170),_0x1bc8c3[_0x384d48(0x44b)]=_0x384d48(0x44b),_0x1bc8c3[_0x384d48(0x364)]=_0x384d48(0x364),_0x1bc8c3[_0x384d48(0x348)]=_0x384d48(0x348),_0x1bc8c3))(se||{});class pe{constructor(){var _0x2cb81d=_0x384d48;N(this,_0x2cb81d(0x287),new _0x14c30e()),N(this,_0x2cb81d(0x46a),this[_0x2cb81d(0x287)][_0x2cb81d(0x2f9)]());}['emitEvent'](_0xc71ca1){var _0x5a65d3=_0x384d48;this[_0x5a65d3(0x287)][_0x5a65d3(0x350)](_0xc71ca1);}}const Mn=_0x49fd55('univer-pro.collaboration-client.network-condition.service');function $n(_0x5e80d9){var _0x59b8a8=_0x384d48,_0x1a891c,_0xe0064,_0x38e161,_0x2536dc,_0x3cd24d;const _0x12cdde=_0x5e80d9[_0x59b8a8(0x32a)],_0x5aa246=JSON[_0x59b8a8(0x2e8)](_0x12cdde);switch(_0x5aa246[_0x59b8a8(0x3c4)]){case F[_0x59b8a8(0x27a)]:case F[_0x59b8a8(0x45e)]:{const _0x43184f=_0x5aa246[_0x59b8a8(0x2d5)];return{..._0x5aa246,'data':_0x43184f,'cmd':_0x5aa246[_0x59b8a8(0x3c4)]};}case F[_0x59b8a8(0x420)]:{const _0x5934e8=_0x5aa246[_0x59b8a8(0x1e4)];return{..._0x5aa246,'data':_0x5934e8,'cmd':_0x5aa246[_0x59b8a8(0x3c4)]};}case F['RECV']:{const _0x4b692f=_0x5aa246[_0x59b8a8(0x31f)];switch(_0x4b692f[_0x59b8a8(0x290)]){case _0x51f52f[_0x59b8a8(0x20b)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':(_0x1a891c=_0x4b692f[_0x59b8a8(0x258)])==null?void 0x0:_0x1a891c['cs']},'cmd':_0x5aa246['cmd']};case _0x51f52f[_0x59b8a8(0x250)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':(_0xe0064=_0x4b692f[_0x59b8a8(0x1a2)])==null?void 0x0:_0xe0064['cs']},'cmd':_0x5aa246[_0x59b8a8(0x3c4)]};case _0x51f52f[_0x59b8a8(0x393)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':(_0x38e161=_0x4b692f[_0x59b8a8(0x3a7)])==null?void 0x0:_0x38e161['cs']},'cmd':_0x5aa246['cmd']};case _0x51f52f[_0x59b8a8(0x3a2)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':(_0x2536dc=_0x4b692f[_0x59b8a8(0x1e2)])==null?void 0x0:_0x2536dc['cs']},'cmd':_0x5aa246[_0x59b8a8(0x3c4)]};case _0x51f52f[_0x59b8a8(0x17c)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':(_0x3cd24d=_0x4b692f[_0x59b8a8(0x2da)])==null?void 0x0:_0x3cd24d['cs']},'cmd':_0x5aa246['cmd']};case _0x51f52f[_0x59b8a8(0x2a3)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':_0x4b692f['updateCursorEvent']},'cmd':_0x5aa246[_0x59b8a8(0x3c4)]};case _0x51f52f['USERS_ENTER']:return{..._0x5aa246,'data':{..._0x4b692f,'data':_0x4b692f[_0x59b8a8(0x2df)]},'cmd':_0x5aa246[_0x59b8a8(0x3c4)]};case _0x51f52f[_0x59b8a8(0x3ab)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':_0x4b692f[_0x59b8a8(0x1bb)]},'cmd':_0x5aa246[_0x59b8a8(0x3c4)]};case _0x51f52f[_0x59b8a8(0x32e)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':_0x4b692f[_0x59b8a8(0x180)]},'cmd':_0x5aa246[_0x59b8a8(0x3c4)]};case _0x51f52f[_0x59b8a8(0x2b0)]:case _0x51f52f[_0x59b8a8(0x1e5)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':_0x4b692f['liveShareOperation']},'cmd':_0x5aa246['cmd']};case _0x51f52f['LIVESHARE_TERMINATE']:return{..._0x5aa246,'data':{..._0x4b692f,'data':_0x4b692f[_0x59b8a8(0x180)]},'cmd':_0x5aa246[_0x59b8a8(0x3c4)]};case _0x51f52f[_0x59b8a8(0x236)]:return{..._0x5aa246,'data':_0x4b692f,'cmd':_0x5aa246[_0x59b8a8(0x3c4)]};case _0x51f52f[_0x59b8a8(0x377)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':_0x4b692f[_0x59b8a8(0x1ee)]},'cmd':_0x5aa246[_0x59b8a8(0x3c4)]};case _0x51f52f[_0x59b8a8(0x462)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':_0x4b692f[_0x59b8a8(0x213)]},'cmd':_0x5aa246[_0x59b8a8(0x3c4)]};case _0x51f52f[_0x59b8a8(0x3d5)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':_0x4b692f[_0x59b8a8(0x2c2)]},'cmd':_0x5aa246['cmd']};case _0x51f52f[_0x59b8a8(0x1a1)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':_0x4b692f[_0x59b8a8(0x334)]},'cmd':_0x5aa246['cmd']};default:return _0x5aa246;}}default:return _0x5aa246;}}function Hn(_0x582fc4){var _0x404be9=_0x384d48;switch(_0x582fc4['cmd']){case F[_0x404be9(0x27a)]:case F[_0x404be9(0x45e)]:return JSON[_0x404be9(0x3a9)]({'cmd':_0x582fc4['cmd'],'routeKey':_0x582fc4[_0x404be9(0x3fa)]});case F[_0x404be9(0x1bc)]:{let _0x3fac01;switch(_0x582fc4[_0x404be9(0x32a)][_0x404be9(0x290)]){case _0x51f52f[_0x404be9(0x2a3)]:{_0x3fac01={'eventID':_0x51f52f[_0x404be9(0x2a3)],'updateCursorEvent':_0x582fc4[_0x404be9(0x32a)][_0x404be9(0x32a)]};break;}case _0x51f52f[_0x404be9(0x3ab)]:{_0x3fac01={'eventID':_0x51f52f[_0x404be9(0x3ab)],'leaveEvent':_0x582fc4[_0x404be9(0x32a)][_0x404be9(0x32a)]};break;}case _0x51f52f[_0x404be9(0x1f5)]:{_0x3fac01={'eventID':_0x51f52f[_0x404be9(0x1f5)],'joinEvent':_0x582fc4[_0x404be9(0x32a)][_0x404be9(0x32a)]};break;}case _0x51f52f['LIVESHARE_NEW_HOST']:{_0x3fac01={'eventID':_0x51f52f[_0x404be9(0x32e)],'liveShareNewHost':_0x582fc4[_0x404be9(0x32a)][_0x404be9(0x32a)]};break;}case _0x51f52f[_0x404be9(0x1e5)]:{_0x3fac01={'eventID':_0x51f52f[_0x404be9(0x1e5)],'liveShareOperation':_0x582fc4['data']['data']};break;}case _0x51f52f[_0x404be9(0x237)]:{_0x3fac01={'eventID':_0x51f52f[_0x404be9(0x237)],'liveShareTerminate':_0x582fc4[_0x404be9(0x32a)][_0x404be9(0x32a)]};break;}case _0x51f52f[_0x404be9(0x3c2)]:{_0x3fac01={'eventID':_0x51f52f[_0x404be9(0x3c2)],'liveShareRequestHost':_0x582fc4[_0x404be9(0x32a)][_0x404be9(0x32a)]};break;}case _0x51f52f[_0x404be9(0x2b0)]:{_0x3fac01={'eventID':_0x51f52f[_0x404be9(0x2b0)]};break;}default:_0x3fac01={'eventID':_0x582fc4[_0x404be9(0x32a)][_0x404be9(0x290)]};}return JSON[_0x404be9(0x3a9)]({'cmd':_0x582fc4['cmd'],'routeKey':_0x582fc4['routeKey'],'collaMsg':_0x3fac01});}case F['JOIN']:return JSON[_0x404be9(0x3a9)]({'cmd':_0x582fc4['cmd'],'routeKey':_0x582fc4[_0x404be9(0x3fa)],'joinReq':_0x582fc4['data']});case F[_0x404be9(0x423)]:return JSON[_0x404be9(0x3a9)]({'cmd':_0x582fc4[_0x404be9(0x3c4)],'routeKey':_0x582fc4[_0x404be9(0x3fa)],'leaveReq':_0x582fc4[_0x404be9(0x32a)]});default:throw new Error(_0x404be9(0x3f9));}}var kn=Object[_0x384d48(0x1e0)],jn=Object[_0x384d48(0x1b2)],Bn=(_0x4ae034,_0x88e8eb,_0x157d89,_0x103f06)=>{var _0x371d18=_0x384d48;for(var _0x196e8a=_0x103f06>0x1?void 0x0:_0x103f06?jn(_0x88e8eb,_0x157d89):_0x88e8eb,_0xd90d75=_0x4ae034[_0x371d18(0x20c)]-0x1,_0x1b9499;_0xd90d75>=0x0;_0xd90d75--)(_0x1b9499=_0x4ae034[_0xd90d75])&&(_0x196e8a=(_0x103f06?_0x1b9499(_0x88e8eb,_0x157d89,_0x196e8a):_0x1b9499(_0x196e8a))||_0x196e8a);return _0x103f06&&_0x196e8a&&kn(_0x88e8eb,_0x157d89,_0x196e8a),_0x196e8a;},Ue=(_0x34890a,_0x10d8f4)=>(_0x500972,_0x29a3b3)=>_0x10d8f4(_0x500972,_0x29a3b3,_0x34890a);const Ci=_0x49fd55('univer-pro.collaboration-client-socket-service');function Fn(_0x1de315,_0x13e383,_0x5ab160){var _0x4efdaa=_0x384d48;return _0x1de315+'/'+_0x13e383+'/unit/'+_0x5ab160+_0x4efdaa(0x443);}let Et=class extends _0x347757{constructor(_0x5ba96b,_0x3bc015,_0x37a7d9,_0x1562ed,_0x42493c){var _0x488e8b=_0x384d48;super(),this[_0x488e8b(0x3d1)]=_0x5ba96b,this[_0x488e8b(0x41d)]=_0x3bc015,this[_0x488e8b(0x1eb)]=_0x37a7d9,this['_logService']=_0x1562ed,this[_0x488e8b(0x2fa)]=_0x42493c;}[_0x384d48(0x19e)](_0x3ac60e){var _0x2db3ad=_0x384d48;const _0x197af2=this[_0x2db3ad(0x3d1)][_0x2db3ad(0x2a9)](_0xc55183);if(!_0x197af2)throw new Error(_0x2db3ad(0x345));const _0x54d322=_0x197af2[_0x2db3ad(0x19e)](_0x3ac60e);if(!_0x54d322)throw new Error(_0x2db3ad(0x268));const _0x47e149=new _0x1c03cd(),_0x24dfd5=new _0x14c30e();_0x47e149[_0x2db3ad(0x2e3)](_0x54d322['close$'][_0x2db3ad(0x33b)](_0x31bec8=>_0x24dfd5['next'](_0x31bec8))),_0x47e149[_0x2db3ad(0x2e3)](_0x529a4c(()=>_0x24dfd5[_0x2db3ad(0x2ae)]()));const _0x1ce4ba=new _0x14c30e();_0x47e149[_0x2db3ad(0x2e3)](_0x54d322[_0x2db3ad(0x3ae)]['subscribe'](_0x573b49=>_0x1ce4ba['next'](_0x573b49))),_0x47e149['add'](_0x529a4c(()=>_0x1ce4ba['complete']()));const _0x7c7e5a=new _0x14c30e();_0x47e149['add'](_0x54d322[_0x2db3ad(0x356)][_0x2db3ad(0x33b)](_0x27d935=>{var _0x1cd624=_0x2db3ad;const _0x522eb2=$n(_0x27d935);_0x7c7e5a[_0x1cd624(0x350)](_0x522eb2);})),_0x47e149[_0x2db3ad(0x2e3)](_0x529a4c(()=>_0x7c7e5a[_0x2db3ad(0x2ae)]()));let _0x3ee0ad;const _0x2d4007=()=>{var _0x1e439d=_0x2db3ad;_0x1ce4ba[_0x1e439d(0x350)](new Event('connection\x20error')),_0x24dfd5[_0x1e439d(0x350)](new CloseEvent(_0x1e439d(0x45c))),_0x3ee0ad[_0x1e439d(0x3b9)]();};return _0x3ee0ad={'memberID':'','close$':_0x24dfd5['asObservable'](),'error$':_0x1ce4ba[_0x2db3ad(0x2f9)](),'open$':_0x54d322[_0x2db3ad(0x3f2)],'message$':_0x7c7e5a['asObservable'](),'send':_0x7fb52c=>{var _0x5d3e9a=_0x2db3ad;if(_0x7fb52c[_0x5d3e9a(0x3c4)]===F['INGEST']){if(_0x7fb52c[_0x5d3e9a(0x32a)][_0x5d3e9a(0x290)]===_0x51f52f[_0x5d3e9a(0x34e)]){this[_0x5d3e9a(0x39f)](_0x3ee0ad,_0x7fb52c[_0x5d3e9a(0x32a)])[_0x5d3e9a(0x21a)](_0x5bee7c=>{var _0x1134cb=_0x5d3e9a;this[_0x1134cb(0x1ea)][_0x1134cb(0x466)](_0x5bee7c),_0x2d4007();});return;}if(_0x7fb52c[_0x5d3e9a(0x32a)][_0x5d3e9a(0x290)]===_0x51f52f['FETCH_MISSING']){const _0x4086e2=_0x7fb52c[_0x5d3e9a(0x32a)];this[_0x5d3e9a(0x291)](_0x4086e2)['then'](_0x29f246=>{var _0xb9617f=_0x5d3e9a;_0x7c7e5a[_0xb9617f(0x350)]({'cmd':F[_0xb9617f(0x394)],'code':Ee['OK'],'routeKey':_0x4086e2[_0xb9617f(0x32a)][_0xb9617f(0x177)],'routeType':'','data':{'eventID':_0x51f52f[_0xb9617f(0x1ba)],'data':{'changesets':_0x29f246}}});})[_0x5d3e9a(0x21a)](_0x3a343a=>{var _0x5c509a=_0x5d3e9a;this[_0x5c509a(0x1ea)][_0x5c509a(0x466)](_0x3a343a),_0x2d4007();});return;}}_0x54d322['send'](Hn(_0x7fb52c));},'close':()=>{var _0xecad20=_0x2db3ad;_0x54d322[_0xecad20(0x3b9)](),_0x47e149[_0xecad20(0x2dd)]();}},_0x3ee0ad;}async['_submitChangeset'](_0x15c051,_0x5967ec){var _0x5c01e4=_0x384d48,_0x2692fe,_0x2749bb;const {unitType:_0x2f75f9,unitID:_0x306a0d,changeset:_0x4570ad}=_0x5967ec['data'],_0x594b4d={'unitID':_0x306a0d,'memberID':_0x15c051['memberID'],'type':_0x2f75f9,'changeset':_0x180124(_0x4570ad)},_0x1ac180=this[_0x5c01e4(0x1eb)]['getConfig'](Un),_0x288d1d=this[_0x5c01e4(0x1eb)][_0x5c01e4(0x3c7)](q),_0x52fa75=Fn((_0x2749bb=(_0x2692fe=_0x288d1d==null?void 0x0:_0x288d1d[_0x5c01e4(0x1c1)])!=null?_0x2692fe:_0x1ac180)!=null?_0x2749bb:An,_0x2f75f9,_0x306a0d);try{await this['_http'][_0x5c01e4(0x432)](_0x52fa75,{'body':_0x594b4d});}catch(_0x1a2b9e){throw this[_0x5c01e4(0x1ea)][_0x5c01e4(0x466)](_0x5c01e4(0x373),_0x5c01e4(0x2b5)),_0x1a2b9e;}}async[_0x384d48(0x291)](_0x567e3b){var _0x1cf37f=_0x384d48;const {unitID:_0x537d35,from:_0x55a22b,to:_0x55089d,unitType:_0x1499a3}=_0x567e3b[_0x1cf37f(0x32a)];return(await this[_0x1cf37f(0x2fa)][_0x1cf37f(0x3dd)]({'metadata':void 0x0},{'unitID':_0x537d35,'type':_0x1499a3,'from':_0x55a22b,'to':_0x55089d}))['changesets'];}};Et=Bn([Ue(0x0,_0x524d9b(_0x1e48d3)),Ue(0x1,_0x524d9b(_0x1fa986)),Ue(0x2,_0x3564e5),Ue(0x3,_0x1e9a27),Ue(0x4,_0x46e3e3)],Et);const Vn='collaboration_new_changeset';function Gn(_0x4abd44){var _0x549e10=_0x384d48;return JSON[_0x549e10(0x3a9)](_0x4abd44)[_0x549e10(0x20c)];}class Ri{constructor(){var _0xeab724=_0x384d48;N(this,'_commentUpdate$',new _0x14c30e()),N(this,'commentUpdate$',this[_0xeab724(0x31b)][_0xeab724(0x2f9)]());}[_0x384d48(0x1f4)](_0x45f973){var _0x583665=_0x384d48;this[_0x583665(0x31b)]['next'](_0x45f973);}}var Wn=Object[_0x384d48(0x1e0)],Kn=Object[_0x384d48(0x1b2)],Yn=(_0x39957b,_0x58e03e,_0x4caf84,_0x3ead7d)=>{var _0x3d15bf=_0x384d48;for(var _0x536a02=_0x3ead7d>0x1?void 0x0:_0x3ead7d?Kn(_0x58e03e,_0x4caf84):_0x58e03e,_0x3a0847=_0x39957b[_0x3d15bf(0x20c)]-0x1,_0x2d2e14;_0x3a0847>=0x0;_0x3a0847--)(_0x2d2e14=_0x39957b[_0x3a0847])&&(_0x536a02=(_0x3ead7d?_0x2d2e14(_0x58e03e,_0x4caf84,_0x536a02):_0x2d2e14(_0x536a02))||_0x536a02);return _0x3ead7d&&_0x536a02&&Wn(_0x58e03e,_0x4caf84,_0x536a02),_0x536a02;},Kt=(_0x383e93,_0x124b51)=>(_0x1b4893,_0x1c2d46)=>_0x124b51(_0x1b4893,_0x1c2d46,_0x383e93);let xe=class extends _0x347757{constructor(_0x2db08c,_0x163744){var _0x3ad300=_0x384d48;super(),N(this,'_roomMembers',new Map()),N(this,'_roomCreated$',new _0x14c30e()),(this[_0x3ad300(0x2f7)]=_0x2db08c,this['_userManagerService']=_0x163744,this[_0x3ad300(0x446)](_0x178676(this[_0x3ad300(0x2f7)][_0x3ad300(0x18f)](_0x5deaa7[_0x3ad300(0x34d)])[_0x3ad300(0x3b3)](_0x4f7920(_0x27eda9=>_0x27eda9[_0x3ad300(0x363)]())),this['_univerInstanceService'][_0x3ad300(0x18f)](_0x5deaa7[_0x3ad300(0x3c0)])[_0x3ad300(0x3b3)](_0x4f7920(_0x1a9640=>_0x1a9640[_0x3ad300(0x363)]())),this[_0x3ad300(0x2f7)][_0x3ad300(0x18f)](_0x5deaa7[_0x3ad300(0x3f8)])[_0x3ad300(0x3b3)](_0x4f7920(_0x2b5954=>_0x2b5954[_0x3ad300(0x363)]())))['subscribe'](_0x48c76c=>this[_0x3ad300(0x216)](_0x48c76c))));}[_0x384d48(0x1d9)](_0x3cf092){var _0x1c856e=_0x384d48;return this['_roomMembers'][_0x1c856e(0x452)](_0x3cf092)?_0xd625e4(this[_0x1c856e(0x233)]['get'](_0x3cf092)):this[_0x1c856e(0x352)][_0x1c856e(0x3b3)](_0x4f7920(_0x1c4ab2=>{var _0x2f0795=_0x1c856e;if(_0x1c4ab2===_0x3cf092)return this[_0x2f0795(0x233)]['get'](_0x1c4ab2);}));}[_0x384d48(0x335)](_0x21f851){var _0xe04e26=_0x384d48;this[_0xe04e26(0x280)][_0xe04e26(0x335)](_0x21f851);}[_0x384d48(0x361)](){var _0x52ae9a=_0x384d48;return this[_0x52ae9a(0x280)][_0x52ae9a(0x361)]();}['updateMember'](_0x1d159e,_0x39a8fb){var _0x51ac1e=_0x384d48;let _0x3fd480=this[_0x51ac1e(0x233)][_0x51ac1e(0x2a9)](_0x1d159e);_0x3fd480||(_0x3fd480=new qn(),this[_0x51ac1e(0x233)][_0x51ac1e(0x376)](_0x1d159e,_0x3fd480),this[_0x51ac1e(0x352)][_0x51ac1e(0x350)](_0x1d159e)),_0x3fd480[_0x51ac1e(0x2bb)](_0x39a8fb);}[_0x384d48(0x1fe)](_0x2d72d5,_0x59ac3d){var _0x578909=_0x384d48;const _0x56172b=this[_0x578909(0x233)][_0x578909(0x2a9)](_0x2d72d5);_0x56172b&&_0x56172b[_0x578909(0x1fe)](_0x59ac3d);}['getRoom'](_0x524708){var _0x47aa0a=_0x384d48;return this[_0x47aa0a(0x233)][_0x47aa0a(0x2a9)](_0x524708);}['getMember'](_0x1414b9,_0x3374d6){var _0x294685=_0x384d48;const _0x1638a0=this[_0x294685(0x233)][_0x294685(0x2a9)](_0x1414b9);if(_0x1638a0)return _0x1638a0[_0x294685(0x400)](_0x3374d6);}[_0x384d48(0x216)](_0x24fbb4){var _0x4b928e=_0x384d48;const _0x5be078=this[_0x4b928e(0x233)]['get'](_0x24fbb4);_0x5be078&&(_0x5be078[_0x4b928e(0x2dd)](),this['_roomMembers']['delete'](_0x24fbb4));}[_0x384d48(0x2dd)](){var _0x5d3c11=_0x384d48;this['_roomMembers'][_0x5d3c11(0x261)](_0x33bf16=>_0x33bf16['dispose']()),this[_0x5d3c11(0x233)]['clear'](),this['_roomCreated$'][_0x5d3c11(0x2ae)]();}};xe=Yn([Kt(0x0,_0x588b40),Kt(0x1,_0x524d9b(_0x40a6c6))],xe);class qn extends _0x347757{constructor(){var _0x49157c=_0x384d48;super(...arguments),N(this,_0x49157c(0x2bd),new Map()),N(this,_0x49157c(0x21c),new _0x34646d(this[_0x49157c(0x2bd)])),N(this,'members$',this[_0x49157c(0x21c)]['asObservable']());}[_0x384d48(0x2dd)](){var _0x1bf5e8=_0x384d48;this[_0x1bf5e8(0x2bd)][_0x1bf5e8(0x296)]();}[_0x384d48(0x2bb)](_0x5eca83){var _0x3c0a66=_0x384d48;this[_0x3c0a66(0x2bd)]['set'](_0x5eca83['memberID'],_0x5eca83),this[_0x3c0a66(0x43d)]();}['removeMember'](_0x64e77a){var _0xb52dba=_0x384d48;this[_0xb52dba(0x2bd)][_0xb52dba(0x32f)](_0x64e77a);}[_0x384d48(0x400)](_0x1014a4){var _0x4808af=_0x384d48;return this[_0x4808af(0x2bd)][_0x4808af(0x2a9)](_0x1014a4);}['getAllMembers'](){var _0x134b46=_0x384d48;return Array[_0x134b46(0x38c)](this[_0x134b46(0x2bd)][_0x134b46(0x411)]());}[_0x384d48(0x43d)](){var _0x454221=_0x384d48;this[_0x454221(0x21c)][_0x454221(0x350)](this[_0x454221(0x2bd)]);}}var zn=Object[_0x384d48(0x1e0)],Jn=Object[_0x384d48(0x1b2)],Xn=(_0x4f30b4,_0x49708d,_0x405389,_0x54d691)=>{var _0x38ed41=_0x384d48;for(var _0x38676a=_0x54d691>0x1?void 0x0:_0x54d691?Jn(_0x49708d,_0x405389):_0x49708d,_0x3a0ee8=_0x4f30b4[_0x38ed41(0x20c)]-0x1,_0x5c01f8;_0x3a0ee8>=0x0;_0x3a0ee8--)(_0x5c01f8=_0x4f30b4[_0x3a0ee8])&&(_0x38676a=(_0x54d691?_0x5c01f8(_0x49708d,_0x405389,_0x38676a):_0x5c01f8(_0x38676a))||_0x38676a);return _0x54d691&&_0x38676a&&zn(_0x49708d,_0x405389,_0x38676a),_0x38676a;},me=(_0x87ecb2,_0x1eef76)=>(_0xc9d2fc,_0x193198)=>_0x1eef76(_0xc9d2fc,_0x193198,_0x87ecb2),Te=(_0xa71d6e=>(_0xa71d6e[_0xa71d6e[_0x384d48(0x42e)]=0x0]='IDLE',_0xa71d6e[_0xa71d6e[_0x384d48(0x276)]=0x1]=_0x384d48(0x276),_0xa71d6e[_0xa71d6e[_0x384d48(0x1d1)]=0x2]=_0x384d48(0x1d1),_0xa71d6e[_0xa71d6e['ONLINE']=0x3]=_0x384d48(0x1d5),_0xa71d6e))(Te||{});const Yt={[Ee[_0x384d48(0x337)]]:_0x384d48(0x413),[Ee[_0x384d48(0x340)]]:_0x384d48(0x448),[Ee[_0x384d48(0x196)]]:'session.room-not-exists',[Ee[_0x384d48(0x388)]]:'session.room-permission-denied',[Ee[_0x384d48(0x390)]]:_0x384d48(0x401)};let It=class extends _0x2c70a0{constructor(_0x2a1595,_0x7ed23,_0x247998,_0x557fa1,_0x40d0a5,_0x115089,_0x359b24,_0x2fa12f,_0x4c1aa7){var _0x111c6f=_0x384d48;super(),N(this,_0x111c6f(0x260),new _0x34646d(0x0)),N(this,_0x111c6f(0x19c),this['_sessionStatus$'][_0x111c6f(0x2f9)]()),N(this,_0x111c6f(0x287),new _0x14c30e()),N(this,_0x111c6f(0x46a),this[_0x111c6f(0x287)][_0x111c6f(0x2f9)]()),N(this,'_socket'),N(this,_0x111c6f(0x2b1)),N(this,_0x111c6f(0x38d)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x111c6f(0x46c),null),(this[_0x111c6f(0x2aa)]=_0x2a1595,this[_0x111c6f(0x1ea)]=_0x247998,this[_0x111c6f(0x1eb)]=_0x557fa1,this['_localeService']=_0x40d0a5,this['_memberService']=_0x115089,this[_0x111c6f(0x312)]=_0x359b24,this['_collaborationUIEventService']=_0x2fa12f,this[_0x111c6f(0x342)]=_0x4c1aa7,this[_0x111c6f(0x449)]=!!this[_0x111c6f(0x342)],_0x7ed23['pipe'](_0x10b867(this[_0x111c6f(0x374)]))[_0x111c6f(0x33b)](_0x2e581b=>{var _0x3607e7=_0x111c6f,_0x134f0f;typeof _0x2e581b>'u'||(this['_socket']=_0x2e581b,_0x2e581b?(this[_0x3607e7(0x256)](_0x2e581b),this['_socketMessageSubscription']=_0x2e581b[_0x3607e7(0x356)][_0x3607e7(0x33b)](_0x314e7c=>{var _0x1c9dc9=_0x3607e7;_0x314e7c[_0x1c9dc9(0x3fa)]===this['_unitID']&&this[_0x1c9dc9(0x43c)](_0x314e7c);})):(this[_0x3607e7(0x454)](),this[_0x3607e7(0x260)][_0x3607e7(0x350)](0x2),(_0x134f0f=this['_socketMessageSubscription'])==null||_0x134f0f[_0x3607e7(0x2e6)](),this[_0x3607e7(0x2b1)]=null));}));}get[_0x384d48(0x229)](){var _0x40cd81=_0x384d48;return this[_0x40cd81(0x260)]['getValue']();}['getMemberID'](){var _0x2bd41a=_0x384d48,_0x1af86b,_0x9a6bc5;return(_0x9a6bc5=(_0x1af86b=this[_0x2bd41a(0x402)])==null?void 0x0:_0x1af86b[_0x2bd41a(0x38f)])!=null?_0x9a6bc5:null;}[_0x384d48(0x2dd)](){var _0x1ddf59=_0x384d48;super[_0x1ddf59(0x2dd)](),this[_0x1ddf59(0x374)][_0x1ddf59(0x350)](),this[_0x1ddf59(0x374)][_0x1ddf59(0x2ae)]();}[_0x384d48(0x3b9)](){var _0x1195ff=_0x384d48,_0x363823,_0x22532f;this['_throwTelemetryCollaborationNewChangeset'](),(_0x363823=this[_0x1195ff(0x402)])==null||_0x363823[_0x1195ff(0x3d6)]({'cmd':F[_0x1195ff(0x423)],'data':{'roomID':this[_0x1195ff(0x2aa)]}}),(_0x22532f=this['_socket'])==null||_0x22532f[_0x1195ff(0x3b9)](),this[_0x1195ff(0x287)]['complete'](),this['_sessionStatus$'][_0x1195ff(0x2ae)](),this['dispose']();}[_0x384d48(0x43c)](_0x4ed0f2){var _0x1fad1e=_0x384d48;_0x4ed0f2[_0x1fad1e(0x3c4)]===F[_0x1fad1e(0x420)]?this[_0x1fad1e(0x25d)](_0x4ed0f2):_0x4ed0f2[_0x1fad1e(0x3c4)]===F[_0x1fad1e(0x394)]&&this[_0x1fad1e(0x215)](_0x4ed0f2);}[_0x384d48(0x256)](_0x5e6e9d){var _0x353505=_0x384d48;this['_sessionStatus$'][_0x353505(0x350)](0x1),_0x5e6e9d[_0x353505(0x3d6)]({'cmd':F['JOIN'],'routeKey':this[_0x353505(0x2aa)],'routeType':'','data':{'rooms':[{'roomID':this[_0x353505(0x2aa)]}]}});}[_0x384d48(0x25d)](_0x216451){var _0x48d044=_0x384d48,_0x46daf7;if(_0x216451[_0x48d044(0x1f8)]in Yt){this[_0x48d044(0x465)][_0x48d044(0x306)]({'id':se['JOIN_ROOM_FAILED'],'data':Yt[_0x216451[_0x48d044(0x1f8)]]}),this[_0x48d044(0x260)][_0x48d044(0x350)](0x2);return;}this[_0x48d044(0x260)]['next'](0x3);const _0x46f11f=(_0x46daf7=_0x216451['data'][_0x48d044(0x3e9)][this[_0x48d044(0x2aa)]])==null?void 0x0:_0x46daf7[_0x48d044(0x28a)];_0x46f11f&&_0x46f11f[_0x48d044(0x261)](_0x23d8df=>this['_memberService'][_0x48d044(0x2bb)](this[_0x48d044(0x2aa)],_0x23d8df));}[_0x384d48(0x215)](_0x1f1727){var _0x964cc=_0x384d48;try{const _0x530938=_0x1f1727[_0x964cc(0x32a)];switch(_0x530938[_0x964cc(0x290)]){case _0x51f52f[_0x964cc(0x1f5)]:this[_0x964cc(0x3c9)](_0x530938),this[_0x964cc(0x287)][_0x964cc(0x350)](_0x530938);break;case _0x51f52f['USERS_LEAVE']:this[_0x964cc(0x3a8)](_0x530938),this[_0x964cc(0x287)][_0x964cc(0x350)](_0x530938);break;case _0x51f52f['CHANGESET_ACK']:case _0x51f52f['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x964cc(0x319)](),this[_0x964cc(0x287)][_0x964cc(0x350)](_0x530938);break;case _0x51f52f['MSG_FOR_ERROR']:this[_0x964cc(0x1ea)][_0x964cc(0x466)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x964cc(0x3a9)](_0x530938)),this['_event$'][_0x964cc(0x350)](_0x530938);break;case _0x51f52f['COMMENT_UPDATE']:this['_commentService'][_0x964cc(0x1f4)](_0x530938[_0x964cc(0x32a)]),this[_0x964cc(0x287)][_0x964cc(0x350)](_0x530938);break;default:this['_event$'][_0x964cc(0x350)](_0x530938);}}catch(_0x193f0a){this[_0x964cc(0x1ea)][_0x964cc(0x466)](_0x193f0a,_0x1f1727);}}[_0x384d48(0x3c9)](_0x9bc874){var _0x3712fe=_0x384d48;this[_0x3712fe(0x473)]['updateMember'](this[_0x3712fe(0x2aa)],_0x9bc874[_0x3712fe(0x32a)]);}[_0x384d48(0x3a8)](_0x1e8e63){var _0x45c9d6=_0x384d48;this[_0x45c9d6(0x473)][_0x45c9d6(0x1fe)](this[_0x45c9d6(0x2aa)],_0x1e8e63[_0x45c9d6(0x32a)][_0x45c9d6(0x38f)]);}async[_0x384d48(0x3d6)](_0x378f36,_0x404527){var _0x1d3e53=_0x384d48;if(this[_0x1d3e53(0x229)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x378f36[_0x1d3e53(0x290)]===_0x51f52f['SUBMIT_CHANGESET']&&(this[_0x1d3e53(0x3c3)](),this[_0x1d3e53(0x1cd)](_0x378f36)),this['_socket'][_0x1d3e53(0x3d6)]({'cmd':F['INGEST'],'routeKey':_0x404527,'routeType':'','data':_0x378f36});}catch(_0xadcfe6){this[_0x1d3e53(0x1ea)][_0x1d3e53(0x466)](_0xadcfe6);}}[_0x384d48(0x3c3)](){var _0x50b92a=_0x384d48,_0x36e410;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x18bc64=_0x56fc;this['_collaborationTimeoutTimer']=null,this[_0x18bc64(0x465)][_0x18bc64(0x306)]({'id':se[_0x18bc64(0x348)]});},(_0x36e410=this[_0x50b92a(0x1eb)][_0x50b92a(0x3c7)](Si))!=null?_0x36e410:Ei);}[_0x384d48(0x319)](){var _0x504070=_0x384d48;this[_0x504070(0x38d)]&&(clearTimeout(this[_0x504070(0x38d)]),this[_0x504070(0x38d)]=null);}[_0x384d48(0x1cd)](_0x617f8c){var _0x37c6d6=_0x384d48;if(!this[_0x37c6d6(0x449)])return;const {data:_0x599ab3}=_0x617f8c,{unitID:_0x5ca06b,changeset:_0x4a8df9}=_0x599ab3,{mutations:_0xbf8506,type:_0x26c707}=_0x4a8df9;this[_0x37c6d6(0x46c)]={'unitId':_0x5ca06b,'type':_0x26c707,'startTime':performance[_0x37c6d6(0x387)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0xbf8506)};}[_0x384d48(0x38b)](){var _0x31fea1=_0x384d48;if(this[_0x31fea1(0x449)]){if(!this['_telemetryInfo']){this[_0x31fea1(0x1ea)]['error']('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x31fea1(0x46c)]['stopTime']=performance[_0x31fea1(0x387)](),this['_telemetryInfo']['duration']=this['_telemetryInfo'][_0x31fea1(0x2d9)]-this[_0x31fea1(0x46c)][_0x31fea1(0x389)],this['_telemetryService'][_0x31fea1(0x217)](Vn,this[_0x31fea1(0x46c)]),this[_0x31fea1(0x46c)]=null;}}[_0x384d48(0x454)](){var _0xe291cc=_0x384d48;this[_0xe291cc(0x46c)]=null;}};It=Xn([me(0x2,_0x1e9a27),me(0x3,_0x3564e5),me(0x4,_0x524d9b(_0x3fdf27)),me(0x5,_0x524d9b(xe)),me(0x6,_0x524d9b(Ri)),me(0x7,_0x524d9b(pe)),me(0x8,_0x49b7db(_0x1b4275))],It);var Zn=Object[_0x384d48(0x1e0)],Qn=Object[_0x384d48(0x1b2)],er=(_0x2d9d18,_0x1cd4fe,_0x36d0d6,_0x443599)=>{var _0x5d857b=_0x384d48;for(var _0x3bdd73=_0x443599>0x1?void 0x0:_0x443599?Qn(_0x1cd4fe,_0x36d0d6):_0x1cd4fe,_0x114f39=_0x2d9d18[_0x5d857b(0x20c)]-0x1,_0x57a81e;_0x114f39>=0x0;_0x114f39--)(_0x57a81e=_0x2d9d18[_0x114f39])&&(_0x3bdd73=(_0x443599?_0x57a81e(_0x1cd4fe,_0x36d0d6,_0x3bdd73):_0x57a81e(_0x3bdd73))||_0x3bdd73);return _0x443599&&_0x3bdd73&&Zn(_0x1cd4fe,_0x36d0d6,_0x3bdd73),_0x3bdd73;},ge=(_0x1f6e99,_0xdfa482)=>(_0x57fa7d,_0x95c3ca)=>_0xdfa482(_0x57fa7d,_0x95c3ca,_0x1f6e99);let Le=class extends _0x347757{constructor(_0x3f7fd3,_0x42fe00,_0x342e1d,_0x15d923,_0x12d496,_0x35e8b7,_0x1edb7f){var _0x55985b=_0x384d48;super(),N(this,_0x55985b(0x1ca),new _0x34646d(void 0x0)),N(this,'socket$',this[_0x55985b(0x1ca)][_0x55985b(0x2f9)]()),N(this,'_candidateSocket',null),N(this,_0x55985b(0x3c8),new Map()),N(this,_0x55985b(0x371),new _0x34646d(Te[_0x55985b(0x42e)])),N(this,_0x55985b(0x3aa),this[_0x55985b(0x371)][_0x55985b(0x2f9)]()),N(this,_0x55985b(0x3ee),!0x1),N(this,_0x55985b(0x193)),N(this,_0x55985b(0x223),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x55985b(0x2a2)),(this[_0x55985b(0x3d1)]=_0x3f7fd3,this['_logService']=_0x42fe00,this[_0x55985b(0x1eb)]=_0x342e1d,this[_0x55985b(0x200)]=_0x15d923,this[_0x55985b(0x2a1)]=_0x12d496,this[_0x55985b(0x465)]=_0x35e8b7,this[_0x55985b(0x27e)]=_0x1edb7f,this['_listenToNetworkCondition']());}get[_0x384d48(0x402)](){var _0x57e8f1=_0x384d48;return this[_0x57e8f1(0x1ca)]['getValue']();}[_0x384d48(0x351)](){var _0x1a7e69=_0x384d48;this[_0x1a7e69(0x27e)]&&this[_0x1a7e69(0x446)](this['_networkConditionService'][_0x1a7e69(0x428)]['subscribe'](_0x11a484=>{var _0x886bc4=_0x1a7e69;_0x11a484&&!this[_0x886bc4(0x402)]&&this[_0x886bc4(0x253)](),_0x11a484||this[_0x886bc4(0x331)]();}));}[_0x384d48(0x2dd)](){var _0x44f99f=_0x384d48;super[_0x44f99f(0x2dd)](),this[_0x44f99f(0x3c8)]['forEach'](_0x5af3e9=>_0x5af3e9['dispose']()),this[_0x44f99f(0x3c8)][_0x44f99f(0x296)](),this['_status$'][_0x44f99f(0x2ae)]();}async[_0x384d48(0x1bd)](_0xfb20a3){var _0x18dbae=_0x384d48;if(this[_0x18dbae(0x3c8)][_0x18dbae(0x452)](_0xfb20a3))return this[_0x18dbae(0x3c8)][_0x18dbae(0x2a9)](_0xfb20a3);this['_tryEnsureSocket']();const _0x5886b3=this[_0x18dbae(0x3d1)][_0x18dbae(0x29a)](It,_0xfb20a3,this['_socket$'][_0x18dbae(0x2f9)]());return this['_sessions']['set'](_0xfb20a3,_0x5886b3),_0x5886b3;}[_0x384d48(0x46e)](_0x5b43a3){var _0x461082=_0x384d48,_0x50e399;const _0x5af91f=this['_sessions'][_0x461082(0x2a9)](_0x5b43a3);_0x5af91f&&(this[_0x461082(0x3c8)][_0x461082(0x32f)](_0x5b43a3),_0x5af91f[_0x461082(0x3b9)]()),this[_0x461082(0x3c8)][_0x461082(0x1cc)]||(_0x50e399=this[_0x461082(0x402)])==null||_0x50e399['close']();}['reconnect'](){var _0xf4c918=_0x384d48;this[_0xf4c918(0x223)]=0x0,this[_0xf4c918(0x193)]!=null&&(clearTimeout(this[_0xf4c918(0x193)]),this[_0xf4c918(0x193)]=null),this[_0xf4c918(0x273)]();}async[_0x384d48(0x2d1)](){var _0x22dd30=_0x384d48,_0x1824cf,_0x232e0d,_0x26e6b3;const _0x1676bf=this[_0x22dd30(0x1eb)]['getConfig'](q),_0x36cd85=(_0x1824cf=_0x1676bf==null?void 0x0:_0x1676bf[_0x22dd30(0x22f)])!=null?_0x1824cf:On;return(_0x26e6b3=(_0x232e0d=(await this[_0x22dd30(0x2a1)][_0x22dd30(0x2a9)](_0x36cd85,{'headers':{'Content-Type':_0x22dd30(0x19b)}}))[_0x22dd30(0x2ba)])==null?void 0x0:_0x232e0d[_0x22dd30(0x3e8)])!=null?_0x26e6b3:'';}[_0x384d48(0x2c9)](_0x1c785d){var _0x51a085=_0x384d48,_0x496d08,_0xdc66c4;const _0x7aa479=this[_0x51a085(0x1eb)][_0x51a085(0x3c7)](Rn),_0x1a582d=this[_0x51a085(0x1eb)][_0x51a085(0x3c7)](q),_0x1a7658=(_0xdc66c4=(_0x496d08=_0x1a582d==null?void 0x0:_0x1a582d[_0x51a085(0x19f)])!=null?_0x496d08:_0x7aa479)!=null?_0xdc66c4:bn,_0x1eb305=typeof window>'u'?new URL(_0x1a7658):new URL(_0x1a7658,window['location'][_0x51a085(0x2bf)]);_0x1eb305[_0x51a085(0x24a)][_0x51a085(0x376)](_0x51a085(0x311),_0x1c785d);const _0x230c0d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x230c0d['get'](_0x51a085(0x29b))&&_0x1eb305[_0x51a085(0x24a)][_0x51a085(0x376)](_0x51a085(0x29b),_0x230c0d[_0x51a085(0x2a9)](_0x51a085(0x29b))),_0x1eb305[_0x51a085(0x2a4)]();}async[_0x384d48(0x1b0)](){var _0x26623d=_0x384d48;const _0x347e66=await this[_0x26623d(0x2d1)](),_0x3d9591=this[_0x26623d(0x2c9)](_0x347e66),_0x2b284f=this['_socketService'][_0x26623d(0x19e)](_0x3d9591);return this[_0x26623d(0x3ec)]=_0x2b284f,_0x2b284f;}async['_tryEnsureSocket'](){var _0x2c0b44=_0x384d48,_0x246564,_0x35329e;try{const _0x2fcb18=(_0x35329e=(_0x246564=this[_0x2c0b44(0x402)])!=null?_0x246564:this[_0x2c0b44(0x3ec)])!=null?_0x35329e:await this[_0x2c0b44(0x1b0)]();if(_0x2fcb18){const _0x4a27cf=_0x2fcb18[_0x2c0b44(0x3d6)];_0x2fcb18[_0x2c0b44(0x3d6)]=_0x44cbfc=>(this[_0x2c0b44(0x191)](),_0x4a27cf[_0x2c0b44(0x382)](_0x2fcb18,[_0x44cbfc])),_0x2fcb18[_0x2c0b44(0x356)]['subscribe'](_0x3dff00=>this[_0x2c0b44(0x190)](_0x2fcb18,_0x3dff00)),_0x2fcb18[_0x2c0b44(0x3ae)][_0x2c0b44(0x3b3)](_0x2394d8(0x1))[_0x2c0b44(0x33b)](_0x579221=>this['_logService']['error'](_0x2c0b44(0x25c),_0x579221)),_0x2fcb18[_0x2c0b44(0x3f2)][_0x2c0b44(0x3b3)](_0x2394d8(0x1))[_0x2c0b44(0x33b)](()=>{this['_onConnectionOpen'](_0x2fcb18);}),_0x2fcb18[_0x2c0b44(0x1a3)][_0x2c0b44(0x3b3)](_0x2394d8(0x1))[_0x2c0b44(0x33b)](_0x1c7464=>{var _0xe2e12b=_0x2c0b44;this[_0xe2e12b(0x1ea)][_0xe2e12b(0x1b5)](_0xe2e12b(0x357),'socket\x20close',_0x1c7464),this[_0xe2e12b(0x3f6)]();});}}catch(_0x5c8ca2){this[_0x2c0b44(0x1ea)][_0x2c0b44(0x466)](_0x5c8ca2),this[_0x2c0b44(0x3f6)]();}}[_0x384d48(0x3e4)](_0x4e4b81){var _0x4aa852=_0x384d48;this[_0x4aa852(0x1ea)][_0x4aa852(0x1b5)](_0x4aa852(0x357),_0x4aa852(0x403)),_0x4e4b81[_0x4aa852(0x3d6)]({'cmd':F['HELLO']}),this[_0x4aa852(0x191)]();}[_0x384d48(0x331)](){var _0x377a3a=_0x384d48;this[_0x377a3a(0x3ee)]=!0x1,this[_0x377a3a(0x3ec)]=null,this[_0x377a3a(0x371)][_0x377a3a(0x350)](Te[_0x377a3a(0x1d1)]),this[_0x377a3a(0x1ca)][_0x377a3a(0x350)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x6e0dfe=_0x384d48,_0x5a4a3d;this[_0x6e0dfe(0x331)](),this[_0x6e0dfe(0x223)]<((_0x5a4a3d=this['_configService'][_0x6e0dfe(0x3c7)](Pn))!=null?_0x5a4a3d:wn)?(this[_0x6e0dfe(0x465)]['emitEvent']({'id':se[_0x6e0dfe(0x44b)]}),this[_0x6e0dfe(0x273)]()):this[_0x6e0dfe(0x465)][_0x6e0dfe(0x306)]({'id':se[_0x6e0dfe(0x364)]});}[_0x384d48(0x273)](){var _0x106005=_0x384d48,_0x364d10;const _0x281cab=this[_0x106005(0x223)],_0x5ed98d=this['_configService'][_0x106005(0x3c7)](q),_0x3f6384=_0x281cab===0x0?0x0:((_0x364d10=_0x5ed98d==null?void 0x0:_0x5ed98d['retryConnectingInterval'])!=null?_0x364d10:Dn)*0x2**_0x281cab;this[_0x106005(0x193)]=setTimeout(()=>{var _0x26662c=_0x106005;clearTimeout(this[_0x26662c(0x193)]),this[_0x26662c(0x193)]=null,this['_tryEnsureSocket']();},_0x3f6384),this['_retryCount']+=0x1;}[_0x384d48(0x190)](_0x5b278e,_0x306196){var _0xbcdc0=_0x384d48;const {cmd:_0x6cd594}=_0x306196;_0x6cd594===F[_0xbcdc0(0x45e)]&&!this[_0xbcdc0(0x3ee)]&&(_0x5b278e[_0xbcdc0(0x38f)]=_0x306196[_0xbcdc0(0x32a)][_0xbcdc0(0x38f)],this[_0xbcdc0(0x1ca)][_0xbcdc0(0x350)](_0x5b278e),this['_status$'][_0xbcdc0(0x350)](Te['ONLINE']),this['_socketReady']=!0x0,this[_0xbcdc0(0x3ec)]=null),_0x6cd594===F[_0xbcdc0(0x27a)]&&this['_clearTimeoutTimer'](),this[_0xbcdc0(0x191)]();}[_0x384d48(0x191)](){var _0x1e3424=_0x384d48,_0x379f94;this[_0x1e3424(0x444)](),this[_0x1e3424(0x1d2)]=setTimeout(()=>this[_0x1e3424(0x231)](),(_0x379f94=this['_configService'][_0x1e3424(0x3c7)](yn))!=null?_0x379f94:Nn);}[_0x384d48(0x231)](){var _0x29b63e=_0x384d48;this['_socket']['send']({'cmd':F[_0x29b63e(0x27a)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0x367b51=_0x384d48,_0x1796f0;this[_0x367b51(0x2a2)]=setTimeout(()=>this[_0x367b51(0x3f6)](),(_0x1796f0=this[_0x367b51(0x1eb)][_0x367b51(0x3c7)](Si))!=null?_0x1796f0:Ei);}[_0x384d48(0x444)](){var _0x46fd2c=_0x384d48;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x46fd2c(0x1d2)]),this[_0x46fd2c(0x1d2)]=null);}[_0x384d48(0x175)](){var _0x3eafb3=_0x384d48;this[_0x3eafb3(0x2a2)]!=null&&(clearTimeout(this[_0x3eafb3(0x2a2)]),this[_0x3eafb3(0x2a2)]=null);}};Le=er([ge(0x0,_0x524d9b(_0x1e48d3)),ge(0x1,_0x1e9a27),ge(0x2,_0x3564e5),ge(0x3,Ci),ge(0x4,_0x524d9b(_0x1fa986)),ge(0x5,_0x524d9b(pe)),ge(0x6,_0x49b7db(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x384d48(0x372)]((n+0x100)[_0x384d48(0x2a4)](0x10)['slice'](0x1));function tr(_0x3ac2a1,_0x3cfad0=0x0){var _0xcc1b64=_0x384d48;return(V[_0x3ac2a1[_0x3cfad0+0x0]]+V[_0x3ac2a1[_0x3cfad0+0x1]]+V[_0x3ac2a1[_0x3cfad0+0x2]]+V[_0x3ac2a1[_0x3cfad0+0x3]]+'-'+V[_0x3ac2a1[_0x3cfad0+0x4]]+V[_0x3ac2a1[_0x3cfad0+0x5]]+'-'+V[_0x3ac2a1[_0x3cfad0+0x6]]+V[_0x3ac2a1[_0x3cfad0+0x7]]+'-'+V[_0x3ac2a1[_0x3cfad0+0x8]]+V[_0x3ac2a1[_0x3cfad0+0x9]]+'-'+V[_0x3ac2a1[_0x3cfad0+0xa]]+V[_0x3ac2a1[_0x3cfad0+0xb]]+V[_0x3ac2a1[_0x3cfad0+0xc]]+V[_0x3ac2a1[_0x3cfad0+0xd]]+V[_0x3ac2a1[_0x3cfad0+0xe]]+V[_0x3ac2a1[_0x3cfad0+0xf]])[_0xcc1b64(0x1a9)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x3c7330=_0x384d48;if(!ut){if(typeof crypto>'u'||!crypto[_0x3c7330(0x259)])throw new Error(_0x3c7330(0x3cf));ut=crypto['getRandomValues'][_0x3c7330(0x269)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x384d48(0x1d7)]&&crypto[_0x384d48(0x1d7)]['bind'](crypto),qt={'randomUUID':rr};function sr(_0x1edef8,_0xeccaed,_0x4da9c){var _0x195bea=_0x384d48,_0x55c23f,_0x30ee4b,_0x1feb9d;if(qt[_0x195bea(0x1d7)]&&!_0x1edef8)return qt[_0x195bea(0x1d7)]();_0x1edef8=_0x1edef8||{};const _0x4ba8ca=(_0x1feb9d=(_0x30ee4b=_0x1edef8['random'])!=null?_0x30ee4b:(_0x55c23f=_0x1edef8[_0x195bea(0x1ed)])==null?void 0x0:_0x55c23f[_0x195bea(0x1c4)](_0x1edef8))!=null?_0x1feb9d:nr();if(_0x4ba8ca[_0x195bea(0x20c)]<0x10)throw new Error(_0x195bea(0x375));return _0x4ba8ca[0x6]=_0x4ba8ca[0x6]&0xf|0x40,_0x4ba8ca[0x8]=_0x4ba8ca[0x8]&0x3f|0x80,tr(_0x4ba8ca);}const J=_0x49fd55(_0x384d48(0x2e1));function so(_0x31a06d){return'unit-cache-'+_0x31a06d;}var or=Object[_0x384d48(0x1e0)],ar=Object[_0x384d48(0x1b2)],cr=(_0x4849f1,_0x1b176c,_0x18be1a,_0x1164e8)=>{for(var _0x4c65d3=_0x1164e8>0x1?void 0x0:_0x1164e8?ar(_0x1b176c,_0x18be1a):_0x1b176c,_0xb955af=_0x4849f1['length']-0x1,_0x5de725;_0xb955af>=0x0;_0xb955af--)(_0x5de725=_0x4849f1[_0xb955af])&&(_0x4c65d3=(_0x1164e8?_0x5de725(_0x1b176c,_0x18be1a,_0x4c65d3):_0x5de725(_0x4c65d3))||_0x4c65d3);return _0x1164e8&&_0x4c65d3&&or(_0x1b176c,_0x18be1a,_0x4c65d3),_0x4c65d3;},dt=(_0x41094f,_0x4f2e66)=>(_0xcc7e9d,_0xee0678)=>_0x4f2e66(_0xcc7e9d,_0xee0678,_0x41094f);function hr(_0x3a0c37){var _0x447a6e=_0x384d48;const {unitID:_0x26e6dd,mutations:_0x2c1a58}=_0x3a0c37;return{'unitId':_0x26e6dd,'subUnitId':_0x2c1a58[0x0][_0x447a6e(0x1f6)][_0x447a6e(0x1b7)]};}let it=class{constructor(_0x4bdb0c,_0x11ce4a,_0x5c4b0d){var _0x48e788=_0x384d48;this['_injector']=_0x4bdb0c,this['_transformService']=_0x11ce4a,this[_0x48e788(0x310)]=_0x5c4b0d;}['transformSelections'](_0x11cb90){var _0x49ed15=_0x384d48,_0x2cb2d1,_0x16fd73,_0x3bf993,_0x463831;const _0x297313=this['_injector'][_0x49ed15(0x2a9)](_0x56d89c),{unitId:_0x37f950,subUnitId:_0x580fa9}=hr(_0x11cb90),_0x21d9ac=_0x297313==null?void 0x0:_0x297313['getWorkbookSelections'](_0x37f950)[_0x49ed15(0x43b)](),_0x224a3b=(_0x16fd73=(_0x2cb2d1=this['_instanceService'][_0x49ed15(0x2bc)](_0x37f950))==null?void 0x0:_0x2cb2d1[_0x49ed15(0x36d)]())==null?void 0x0:_0x16fd73[_0x49ed15(0x2f8)]();if(_0x21d9ac[_0x49ed15(0x20c)]===0x0||!_0x37f950||!_0x580fa9)return;const _0x25cdb5=[{'id':_0x37cbe9['id'],'params':{'unitId':_0x37f950,'subUnitId':_0x224a3b,'selections':_0xe421c3[_0x49ed15(0x248)](_0x21d9ac)}}],_0x41f4ef=this[_0x49ed15(0x33f)][_0x49ed15(0x2e2)](_0x11cb90,_0x25cdb5);if(!_0x5265cb(_0x41f4ef))throw _0x41f4ef[_0x49ed15(0x466)];const _0xd64fdf=(_0x463831=(_0x3bf993=_0x41f4ef[_0x49ed15(0x44d)][0x0])==null?void 0x0:_0x3bf993[_0x49ed15(0x1f6)])==null?void 0x0:_0x463831[_0x49ed15(0x1b3)];if(Array['isArray'](_0xd64fdf)&&_0xd64fdf[_0x49ed15(0x20c)]){if(_0xd64fdf[_0x49ed15(0x20c)]===_0x25cdb5[0x0][_0x49ed15(0x1f6)][_0x49ed15(0x1b3)][_0x49ed15(0x20c)]&&_0xd64fdf[_0x49ed15(0x380)]((_0x456b48,_0x5974ce)=>_0x96c0e2['equals'](_0x456b48[_0x49ed15(0x28b)],_0x25cdb5[0x0][_0x49ed15(0x1f6)][_0x49ed15(0x1b3)][_0x5974ce][_0x49ed15(0x28b)])))return;this[_0x49ed15(0x3d1)][_0x49ed15(0x2a9)](_0x3f1db4)[_0x49ed15(0x26a)](_0x37cbe9['id'],{'unitId':_0x37f950,'subUnitId':_0x224a3b,'selections':_0xd64fdf});}}};it=cr([dt(0x0,_0x524d9b(_0x1e48d3)),dt(0x1,_0x2e7c83),dt(0x2,_0x588b40)],it);const ht=_0x49fd55(_0x384d48(0x406));var bi=(_0x38f44f=>(_0x38f44f[_0x38f44f[_0x384d48(0x24c)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x38f44f[_0x38f44f[_0x384d48(0x3cb)]=0x1]=_0x384d48(0x3cb),_0x38f44f))(bi||{});const _r=new Set([_0xace5c5['id']]);function zt(_0x41381e,_0x2cab88,_0xb1aabb,_0x317cb0,_0x24abbf){var _0x520274=_0x384d48,_0xc555e3,_0x50cf27,_0x3c7f94,_0x203980;const _0x514340=[];for(const _0x5c5494 of _0x41381e)if(_r[_0x520274(0x452)](_0x5c5494['id'])){if(_0x514340[_0x520274(0x20c)]>0x0)break;_0x514340['push'](_0x5c5494);break;}else _0x514340[_0x520274(0x372)](_0x5c5494);const _0x506388=(_0x50cf27=(_0xc555e3=_0x24abbf['getCurrentUser']())==null?void 0x0:_0xc555e3[_0x520274(0x327)])!=null?_0x50cf27:_0x520274(0x3b0),_0x13df67=(_0x203980=(_0x3c7f94=_0x24abbf[_0x520274(0x361)]())==null?void 0x0:_0x3c7f94[_0x520274(0x38f)])!=null?_0x203980:_0x520274(0x3b0);return{'changeset':{'unitID':_0x2cab88,'type':_0x41452d(_0xb1aabb['getUnitType'](_0x2cab88)),'baseRev':_0x317cb0[_0x520274(0x461)](_0x2cab88),'revision':0x0,'userID':_0x506388,'memberID':_0x13df67,'mutations':_0x514340},'pendingMutations':_0x41381e[_0x520274(0x1fc)](_0x514340[_0x520274(0x20c)])};}function lr(_0x23d107,_0x425429,_0x34265b,_0x34c370,_0x5202ac){var _0x323bc3=_0x384d48,_0x21c0e3,_0x18c078,_0xdd8e44,_0x42fc11;const _0x331372=[_0x23d107[_0x323bc3(0x2af)]((_0x445791,_0x1ddd1a)=>{var _0x57679e=_0x323bc3,_0x3b4926;const {id:_0x5be497}=_0x445791,{id:_0x48468c,type:_0x1aad21}=_0x1ddd1a,_0x511c91=(_0x3b4926=_0x445791[_0x57679e(0x1f6)])!=null?_0x3b4926:{'actions':null},_0x42a2ef=_0x1ddd1a[_0x57679e(0x1f6)];if(_0x5be497&&_0x5be497!==_0x48468c)throw new Error(_0x57679e(0x2f4)+_0x5be497+_0x57679e(0x26b)+_0x48468c+'.');return{..._0x445791,'id':_0x48468c,'type':_0x1aad21,'params':{'unitId':_0x42a2ef[_0x57679e(0x323)],'textRanges':_0x42a2ef[_0x57679e(0x385)],'actions':_0x5bbc99[_0x57679e(0x26e)](_0x511c91[_0x57679e(0x1e1)],_0x42a2ef['actions'])}};},{})],_0x3b51b1=(_0x18c078=(_0x21c0e3=_0x5202ac[_0x323bc3(0x361)]())==null?void 0x0:_0x21c0e3[_0x323bc3(0x327)])!=null?_0x18c078:_0x323bc3(0x3b0),_0x217ad6=(_0x42fc11=(_0xdd8e44=_0x5202ac[_0x323bc3(0x361)]())==null?void 0x0:_0xdd8e44['memberID'])!=null?_0x42fc11:'unknown';return{'changeset':{'unitID':_0x425429,'type':_0x41452d(_0x34265b['getUnitType'](_0x425429)),'baseRev':_0x34c370[_0x323bc3(0x461)](_0x425429),'revision':0x0,'userID':_0x3b51b1,'memberID':_0x217ad6,'mutations':_0x331372},'pendingMutations':[]};}function Oi(_0x2b88e9,_0x44cdad){var _0x4a1fd3=_0x384d48;const _0x5a242d=new _0x27baf2(0x1);return setTimeout(()=>_0x5a242d['next'](_0x44cdad),_0x2b88e9),_0x5a242d['asObservable']()[_0x4a1fd3(0x3b3)](_0x4c3c1b(0x1));}const ur={'id':_0x5ced12['id'],'type':_0x27f1c3['MUTATION'],'params':{}};var dr=Object[_0x384d48(0x1e0)],fr=Object[_0x384d48(0x1b2)],Re=(_0x1cbf8f,_0x2dafe8,_0x4b4c38,_0x10df0c)=>{var _0x55bdff=_0x384d48;for(var _0x376761=_0x10df0c>0x1?void 0x0:_0x10df0c?fr(_0x2dafe8,_0x4b4c38):_0x2dafe8,_0x1bcc1b=_0x1cbf8f[_0x55bdff(0x20c)]-0x1,_0x3c310a;_0x1bcc1b>=0x0;_0x1bcc1b--)(_0x3c310a=_0x1cbf8f[_0x1bcc1b])&&(_0x376761=(_0x10df0c?_0x3c310a(_0x2dafe8,_0x4b4c38,_0x376761):_0x3c310a(_0x376761))||_0x376761);return _0x10df0c&&_0x376761&&dr(_0x2dafe8,_0x4b4c38,_0x376761),_0x376761;},A=(_0x4f463b,_0x4419e7)=>(_0x4fdbd6,_0x224d80)=>_0x4419e7(_0x4fdbd6,_0x224d80,_0x4f463b),yi=(_0x1236e3=>(_0x1236e3[_0x384d48(0x24f)]=_0x384d48(0x41c),_0x1236e3[_0x384d48(0x37c)]=_0x384d48(0x1cb),_0x1236e3[_0x384d48(0x267)]=_0x384d48(0x302),_0x1236e3['AWAITING']='awaiting',_0x1236e3[_0x384d48(0x2a0)]=_0x384d48(0x219),_0x1236e3[_0x384d48(0x2ad)]='fetch_missing',_0x1236e3[_0x384d48(0x3eb)]=_0x384d48(0x35d),_0x1236e3[_0x384d48(0x1d1)]=_0x384d48(0x29e),_0x1236e3))(yi||{});const Ni=0xea60;class be{constructor(_0x505d9f,_0x1bda93,_0x3a8cda,_0x1c1737,_0x28d8c8,_0x58d2bc,_0x217e43,_0x12a2b8,_0x462fef){var _0x162623=_0x384d48;N(this,'_awaitingChangeset',null),N(this,'_pendingMutations',[]),(this[_0x162623(0x177)]=_0x505d9f,this['type']=_0x1bda93,this[_0x162623(0x3f4)]=_0x28d8c8,this[_0x162623(0x235)]=_0x58d2bc,this[_0x162623(0x26f)]=_0x217e43,this[_0x162623(0x2c8)]=_0x12a2b8,this[_0x162623(0x1df)]=_0x462fef,this[_0x162623(0x232)]=_0x3a8cda,this['_pendingMutations']=_0x1c1737);}[_0x384d48(0x1d4)](_0x118972){var _0x225a78=_0x384d48;const _0x2d0ae8=this['_revisionService'][_0x225a78(0x461)](this[_0x225a78(0x177)]);return _0x118972[_0x225a78(0x397)]>_0x2d0ae8+0x1?(this[_0x225a78(0x3f4)]['onMissingChangesets']({'from':_0x2d0ae8,'to':_0x118972[_0x225a78(0x397)]-0x1}),!0x0):!0x1;}[_0x384d48(0x288)](_0x8ea36e){var _0x1efe79=_0x384d48;this[_0x1efe79(0x26f)][_0x1efe79(0x21f)](this[_0x1efe79(0x177)],_0x8ea36e);}[_0x384d48(0x2c6)](_0x4c793b){var _0x1a7c74=_0x384d48,_0x458410,_0xa07352;(_0xa07352=(_0x458410=this[_0x1a7c74(0x3f4)])[_0x1a7c74(0x424)])==null||_0xa07352[_0x1a7c74(0x1c4)](_0x458410,_0x4c793b);}[_0x384d48(0x18a)](_0x620d14){var _0x5cdc78=_0x384d48,_0x4fc1f0,_0xb04c7d;return(_0xb04c7d=(_0x4fc1f0=this[_0x5cdc78(0x3f4)])[_0x5cdc78(0x39d)])==null?void 0x0:_0xb04c7d[_0x5cdc78(0x1c4)](_0x4fc1f0,_0x620d14);}[_0x384d48(0x3fe)](_0x53eadf){var _0x30a2b6=_0x384d48,_0x4d4bd9,_0x2f0571;return(_0x2f0571=(_0x4d4bd9=this[_0x30a2b6(0x3f4)])[_0x30a2b6(0x1dd)])==null?void 0x0:_0x2f0571[_0x30a2b6(0x1c4)](_0x4d4bd9,_0x53eadf);}[_0x384d48(0x430)](_0x2a5c1a){var _0x27da7e=_0x384d48,_0x128134,_0x3e22b6,_0x14f187;return(_0x14f187=(_0x3e22b6=(_0x128134=this[_0x27da7e(0x3f4)])[_0x27da7e(0x1e6)])==null?void 0x0:_0x3e22b6[_0x27da7e(0x1c4)](_0x128134,_0x2a5c1a))!=null?_0x14f187:_0x2a5c1a;}[_0x384d48(0x421)](_0x342356){var _0x21203a=_0x384d48,_0x1c6d0b,_0x48ce75,_0x5817c8;return(_0x5817c8=(_0x48ce75=(_0x1c6d0b=this[_0x21203a(0x3f4)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x48ce75[_0x21203a(0x1c4)](_0x1c6d0b,_0x342356))!=null?_0x5817c8:_0x342356;}[_0x384d48(0x46b)](_0x96fd04){var _0x55effb=_0x384d48,_0x41d0e1,_0x2889aa;if(this[_0x55effb(0x355)]===Q[_0x55effb(0x3c0)]){const {unitID:_0x397177,mutations:_0x4a20c7,memberID:_0x43616d}=_0x96fd04,_0x2f2e8e=_0x4a20c7[0x0][_0x55effb(0x1f6)][_0x55effb(0x385)];Array[_0x55effb(0x2f0)](_0x2f2e8e)&&_0x2f2e8e[_0x55effb(0x20c)]>0x0&&((_0x2889aa=(_0x41d0e1=this[_0x55effb(0x3f4)])[_0x55effb(0x365)])==null||_0x2889aa[_0x55effb(0x1c4)](_0x41d0e1,{'unitID':_0x397177,'memberID':_0x43616d,'textRanges':_0x2f2e8e}));}}[_0x384d48(0x391)](){var _0x5c0794=_0x384d48,_0x4e4a3c;(_0x4e4a3c=this['_localCacheService'])==null||_0x4e4a3c[_0x5c0794(0x3b8)](this[_0x5c0794(0x177)],this[_0x5c0794(0x355)],this[_0x5c0794(0x232)],this['_pendingMutations']);}[_0x384d48(0x22b)](){var _0x54bb08=_0x384d48;return this[_0x54bb08(0x2c8)]['getCurrentRevOfUnit'](this['unitID']);}['_incrementRevisionNumber'](){var _0x4e3f11=_0x384d48;this[_0x4e3f11(0x2c8)][_0x4e3f11(0x289)](this[_0x4e3f11(0x177)]);}[_0x384d48(0x339)](_0xb630db){var _0x304426=_0x384d48,_0x169637;let _0x2f9eaa=this[_0x304426(0x430)](_0xb630db);_0x2f9eaa=this['_transformRemoteChangesetByStateCache'](_0x2f9eaa);const _0x56b36c=_0x2a084b(_0x2f9eaa['mutations'],this[_0x304426(0x235)],{'fromCollab':!0x0});if(!_0x56b36c[_0x304426(0x284)])throw _0x56b36c[_0x304426(0x466)]instanceof Error?_0x56b36c[_0x304426(0x466)]:new Error((_0x169637=_0x56b36c['error'])!=null?_0x169637:_0x304426(0x2ca));this[_0x304426(0x18a)](_0x2f9eaa),this['_transformStateCache'](_0x2f9eaa),this[_0x304426(0x288)](_0xb630db),this[_0x304426(0x2c6)](_0x2f9eaa),this['_syncEditingCollabCursor'](_0x2f9eaa),this[_0x304426(0x1f0)]();}}let De=class extends be{constructor(_0x2acd22,_0x35b0c3,_0x4b4ab8,_0x3edefa,_0x1ff885,_0x36e880,_0x3f5346,_0x10225d,_0x3952ab,_0x22c89b){var _0x41b626=_0x384d48;super(_0x2acd22,_0x35b0c3,null,[],_0x4b4ab8,_0x3f5346,_0x36e880,_0x3edefa,_0x22c89b),N(this,'status',_0x41b626(0x1cb)),(this[_0x41b626(0x3d1)]=_0x1ff885,this['_logService']=_0x10225d,this[_0x41b626(0x33f)]=_0x3952ab,this[_0x41b626(0x201)]=_0x22c89b);}[_0x384d48(0x30b)](_0x3809eb){var _0x1cd325=_0x384d48;const _0x5cd1d9=this[_0x1cd325(0x3d1)][_0x1cd325(0x29a)](oe,this[_0x1cd325(0x177)],this[_0x1cd325(0x355)],[_0x3809eb],this['_handler']);return _0x5cd1d9[_0x1cd325(0x2c0)](),_0x5cd1d9[_0x1cd325(0x391)](),_0x5cd1d9;}['onRemoteChangeset'](_0x3e50da){var _0xacea4a=_0x384d48;if(this[_0xacea4a(0x1d4)](_0x3e50da))return this[_0xacea4a(0x3d1)][_0xacea4a(0x29a)](te,this[_0xacea4a(0x177)],this['type'],null,[],null,[_0x3e50da],this[_0xacea4a(0x3f4)]);try{const _0x424fc4=this[_0xacea4a(0x33f)][_0xacea4a(0x2e2)](_0x3e50da,[ur]);if(_0x5265cb(_0x424fc4)){const {c1Prime:_0x256950}=_0x424fc4;return this['_executeRemoteChangeset'](_0x256950),this;}throw _0x424fc4['error'];}catch(_0x7da211){return this[_0xacea4a(0x1ea)]['error'](_0x7da211),this['_onConflict'](!0x1);}}['_onConflict'](_0x48ab56){var _0x4972b4=_0x384d48;return this[_0x4972b4(0x3d1)][_0x4972b4(0x29a)](de,this[_0x4972b4(0x177)],this[_0x4972b4(0x355)],null,[],this['_handler'],_0x48ab56);}[_0x384d48(0x2b3)](){var _0x36c51b=_0x384d48;throw new Error(_0x36c51b(0x2b7));}[_0x384d48(0x32d)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x384d48(0x194)](){return this;}[_0x384d48(0x23b)](){var _0x4dda3c=_0x384d48;return this[_0x4dda3c(0x3d1)]['createInstance'](fe,this['unitID'],this['type'],null,[],this[_0x4dda3c(0x3f4)]);}[_0x384d48(0x31a)](){return this;}[_0x384d48(0x3af)](){var _0x187daf=_0x384d48;throw new Error(_0x187daf(0x195));}[_0x384d48(0x2cd)](){var _0x3e97ed=_0x384d48;const _0x24abac=this['_revisionService'][_0x3e97ed(0x461)](this[_0x3e97ed(0x177)]);return this['_handler']['onMissingChangesets']({'from':_0x24abac,'to':0x0}),this['_injector'][_0x3e97ed(0x29a)](te,this[_0x3e97ed(0x177)],this[_0x3e97ed(0x355)],null,[],null,[],this[_0x3e97ed(0x3f4)]);}};De=Re([A(0x3,_0x524d9b(_0x32f691)),A(0x4,_0x524d9b(_0x1e48d3)),A(0x5,_0x2e02f4),A(0x6,_0x3f1db4),A(0x7,_0x1e9a27),A(0x8,_0x2e7c83),A(0x9,_0x49b7db(J))],De);let oe=class extends be{constructor(_0x405770,_0x406b5f,_0x587e57,_0x261622,_0x568c22,_0x665c8b,_0x2708e0,_0x5145fe,_0x53c733,_0x5979a4,_0x10c6a3,_0x48d781,_0xe2781e,_0x35a5a8){var _0x134bbc=_0x384d48;super(_0x405770,_0x406b5f,null,_0x587e57,_0x261622,_0x53c733,_0xe2781e,_0x665c8b,_0x35a5a8),N(this,_0x134bbc(0x230),_0x134bbc(0x302)),N(this,_0x134bbc(0x21d),null),N(this,_0x134bbc(0x2d0),null),(this[_0x134bbc(0x3d1)]=_0x568c22,this[_0x134bbc(0x473)]=_0x2708e0,this[_0x134bbc(0x1ea)]=_0x5145fe,this[_0x134bbc(0x1eb)]=_0x5979a4,this[_0x134bbc(0x33f)]=_0x10c6a3,this[_0x134bbc(0x2f7)]=_0x48d781);}['appendMutation'](_0x213d33){var _0x52bf2a=_0x384d48;return this[_0x52bf2a(0x2e0)][_0x52bf2a(0x372)](_0x213d33),this['_updateLocalCache'](),this;}[_0x384d48(0x1af)](_0x12f3fb){var _0x3a4e5e=_0x384d48;if(this['_checkMissing'](_0x12f3fb))return this['_clearScheduledTask'](),this[_0x3a4e5e(0x3d1)][_0x3a4e5e(0x29a)](te,this[_0x3a4e5e(0x177)],this[_0x3a4e5e(0x355)],null,this[_0x3a4e5e(0x2e0)],null,[_0x12f3fb],this[_0x3a4e5e(0x3f4)]);try{const _0x710361=this[_0x3a4e5e(0x33f)][_0x3a4e5e(0x2e2)](_0x12f3fb,this[_0x3a4e5e(0x2e0)]);if(_0x5265cb(_0x710361)){const {c1Prime:_0xeace61,m2Prime:_0x55daf2}=_0x710361;this[_0x3a4e5e(0x339)](_0xeace61);const _0x104343=this[_0x3a4e5e(0x3d1)][_0x3a4e5e(0x29a)](oe,this[_0x3a4e5e(0x177)],this['type'],_0x55daf2,this[_0x3a4e5e(0x3f4)]);this[_0x3a4e5e(0x2c4)]();const _0x43f77b=new Date()[_0x3a4e5e(0x1b9)](),_0x190b36=this['_scheduleCompleteTimestamp']?Math[_0x3a4e5e(0x173)](this['_scheduleCompleteTimestamp']-_0x43f77b,0x0):this[_0x3a4e5e(0x1ad)]();return _0x104343['_schedule'](_0x190b36),_0x104343;}throw _0x710361[_0x3a4e5e(0x466)];}catch(_0x4c2ea5){return this[_0x3a4e5e(0x1ea)][_0x3a4e5e(0x466)](_0x4c2ea5),this[_0x3a4e5e(0x45f)](!0x1);}}[_0x384d48(0x2b3)](){var _0x4531cd=_0x384d48;throw new Error(_0x4531cd(0x3a0));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x384d48(0x194)](){return this;}[_0x384d48(0x23b)](){var _0x378ce8=_0x384d48;return this['_clearScheduledTask'](),this['_injector'][_0x378ce8(0x29a)](fe,this[_0x378ce8(0x177)],this['type'],null,this[_0x378ce8(0x2e0)],this[_0x378ce8(0x3f4)]);}[_0x384d48(0x31a)](){return this;}[_0x384d48(0x2c0)](_0x466f52){var _0x836c54=_0x384d48;const _0x266d06=_0x466f52!=null?_0x466f52:this[_0x836c54(0x1ad)]();this[_0x836c54(0x21d)]=new Date()[_0x836c54(0x1b9)]()+_0x266d06,this[_0x836c54(0x2d0)]=setTimeout(()=>{var _0x237415=_0x836c54;this[_0x237415(0x2c4)]();let _0x398443=null;switch(this['type']){case Q[_0x237415(0x34d)]:{_0x398443=zt(this[_0x237415(0x2e0)],this[_0x237415(0x177)],this[_0x237415(0x2f7)],this['_revisionService'],this['_memberService']);break;}case Q[_0x237415(0x3c0)]:{this[_0x237415(0x2e0)][_0x237415(0x380)](_0xfb869b=>_0xfb869b['id']===_0x566255['id'])?_0x398443=lr(this[_0x237415(0x2e0)],this[_0x237415(0x177)],this[_0x237415(0x2f7)],this[_0x237415(0x2c8)],this['_memberService']):_0x398443=zt(this['_pendingMutations'],this[_0x237415(0x177)],this[_0x237415(0x2f7)],this[_0x237415(0x2c8)],this[_0x237415(0x473)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x237415(0x355)]+_0x237415(0x39c));}const {changeset:_0x1a4ae4,pendingMutations:_0x4a2625}=_0x398443;this[_0x237415(0x3f4)][_0x237415(0x325)](_0x1a4ae4);const _0x888ff5=_0x4a2625[_0x237415(0x20c)]?this[_0x237415(0x3d1)][_0x237415(0x29a)](ae,this[_0x237415(0x177)],this[_0x237415(0x355)],_0x1a4ae4,_0x4a2625,this[_0x237415(0x3f4)],void 0x0):this['_injector'][_0x237415(0x29a)](ue,this[_0x237415(0x177)],this[_0x237415(0x355)],_0x1a4ae4,this[_0x237415(0x3f4)]);_0x888ff5[_0x237415(0x391)](),this['_handler'][_0x237415(0x338)](this,_0x888ff5);},_0x266d06);}[_0x384d48(0x1ad)](){var _0x3ab91d=_0x384d48,_0x2f7c51;const _0x57dce0=this[_0x3ab91d(0x1eb)]['getConfig'](q);return(_0x2f7c51=_0x57dce0==null?void 0x0:_0x57dce0[_0x3ab91d(0x1be)])!=null?_0x2f7c51:Cn;}[_0x384d48(0x3af)](){var _0x5cd2be=_0x384d48;throw new Error(_0x5cd2be(0x264));}[_0x384d48(0x2c4)](){var _0x1d4f0b=_0x384d48;this['_sendingTimer']!=null&&(clearTimeout(this[_0x1d4f0b(0x2d0)]),this['_sendingTimer']=null);}[_0x384d48(0x45f)](_0x154d3b){var _0x307f37=_0x384d48;return this['_clearScheduledTask'](),this[_0x307f37(0x3d1)][_0x307f37(0x29a)](de,this['unitID'],this[_0x307f37(0x355)],null,this[_0x307f37(0x2e0)],this[_0x307f37(0x3f4)],_0x154d3b);}};oe=Re([A(0x4,_0x524d9b(_0x1e48d3)),A(0x5,_0x524d9b(_0x32f691)),A(0x6,_0x524d9b(xe)),A(0x7,_0x1e9a27),A(0x8,_0x3f1db4),A(0x9,_0x3564e5),A(0xa,_0x2e7c83),A(0xb,_0x588b40),A(0xc,_0x2e02f4),A(0xd,_0x49b7db(J))],oe);let ue=class extends be{constructor(_0x13149c,_0x2f978c,_0x799357,_0x499f75,_0x588179,_0x3da1b4,_0x2f972f,_0x31ea6f,_0x1c198c,_0x472419,_0x53a008){var _0x20c5f4=_0x384d48;super(_0x13149c,_0x2f978c,_0x799357,[],_0x499f75,_0x2f972f,_0x472419,_0x3da1b4,_0x53a008),N(this,_0x20c5f4(0x230),'awaiting'),N(this,'_resendTimeout',0x0),N(this,_0x20c5f4(0x322)),N(this,_0x20c5f4(0x370)),(this[_0x20c5f4(0x3d1)]=_0x588179,this['_logService']=_0x31ea6f,this[_0x20c5f4(0x33f)]=_0x1c198c);}[_0x384d48(0x30b)](_0x28dcc8){var _0x2db687=_0x384d48;this[_0x2db687(0x2c4)]();const _0x453605=this[_0x2db687(0x3d1)][_0x2db687(0x29a)](ae,this[_0x2db687(0x177)],this['type'],this[_0x2db687(0x232)],[_0x28dcc8],this[_0x2db687(0x3f4)],this[_0x2db687(0x322)]);return _0x453605['_updateLocalCache'](),_0x453605;}[_0x384d48(0x1af)](_0x12af67){var _0x1829bd=_0x384d48;if(this['_checkMissing'](_0x12af67))return this[_0x1829bd(0x2c4)](),this[_0x1829bd(0x3d1)][_0x1829bd(0x29a)](te,this[_0x1829bd(0x177)],this['type'],this[_0x1829bd(0x232)],[],null,[_0x12af67],this[_0x1829bd(0x3f4)]);try{const _0x5a34ee=this[_0x1829bd(0x33f)][_0x1829bd(0x1ae)]([_0x12af67],[this[_0x1829bd(0x232)]],!0x1);if(_0x2a3274(_0x5a34ee)){const {c1Prime:_0x45df1c,c2Prime:_0x469125}=_0x5a34ee;this[_0x1829bd(0x339)](_0x45df1c[0x0]),_0x469125[0x0]['baseRev']=this[_0x1829bd(0x22b)](),this[_0x1829bd(0x2c4)]();const _0x2226c5=this[_0x1829bd(0x3d1)][_0x1829bd(0x29a)](ue,this['unitID'],this[_0x1829bd(0x355)],_0x469125[0x0],this[_0x1829bd(0x3f4)]);return _0x2226c5[_0x1829bd(0x391)](),_0x2226c5;}return this[_0x1829bd(0x45f)](!0x1);}catch(_0x1617be){return this['_logService']['error'](_0x1617be),this[_0x1829bd(0x45f)](!0x1);}}[_0x384d48(0x2b3)](_0x307975){var _0x551642=_0x384d48;this[_0x551642(0x2c4)]();const _0x59b89a=this[_0x551642(0x2c8)][_0x551642(0x461)](this[_0x551642(0x177)]);if(_0x307975[_0x551642(0x397)]<_0x59b89a-0x1)return this;if(this[_0x551642(0x1d4)](_0x307975))return this[_0x551642(0x3d1)]['createInstance'](te,this[_0x551642(0x177)],this[_0x551642(0x355)],null,[],this[_0x551642(0x232)],[],this[_0x551642(0x3f4)]);this['_incrementRevisionNumber']();const _0x44aabb=this[_0x551642(0x3d1)][_0x551642(0x29a)](De,this['unitID'],this[_0x551642(0x355)],this['_handler']);return _0x44aabb['_updateLocalCache'](),_0x44aabb;}[_0x384d48(0x32d)](_0x52d243){return this['_onConflict'](!!(_0x52d243!=null&&_0x52d243['isPermissionRej']));}[_0x384d48(0x194)](_0x1d6f51){var _0x2ebf78=_0x384d48;return this[_0x2ebf78(0x2ed)]>Ni?this[_0x2ebf78(0x23b)]():(this['_resendTimer']=Oi(this['_resendTimeout'],{'timeout':this[_0x2ebf78(0x2ed)],'reqId':_0x1d6f51[_0x2ebf78(0x28c)]}),this[_0x2ebf78(0x370)]=this['_resendTimer'][_0x2ebf78(0x33b)](({reqId:_0x5f0fec,timeout:_0x2ad8bc})=>{var _0x537305=_0x2ebf78;this[_0x537305(0x2f5)](_0x5f0fec,_0x2ad8bc);}),this);}[_0x384d48(0x23b)](){var _0xfdd459=_0x384d48;return this[_0xfdd459(0x2c4)](),this[_0xfdd459(0x3d1)]['createInstance'](fe,this['unitID'],this[_0xfdd459(0x355)],this[_0xfdd459(0x232)],[],this[_0xfdd459(0x3f4)]);}[_0x384d48(0x31a)](){return this;}[_0x384d48(0x3af)](){var _0x2d3d1b=_0x384d48;this['_handler'][_0x2d3d1b(0x325)](this[_0x2d3d1b(0x232)]);}[_0x384d48(0x45f)](_0x34d394){var _0x51c2a4=_0x384d48;return this['_clearScheduledTask'](),this[_0x51c2a4(0x3d1)]['createInstance'](de,this['unitID'],this[_0x51c2a4(0x355)],this[_0x51c2a4(0x232)],[],this[_0x51c2a4(0x3f4)],_0x34d394);}[_0x384d48(0x2f5)](_0xe5cb74,_0x1160f9){var _0x4385c8=_0x384d48,_0x34e3a2;_0xe5cb74===((_0x34e3a2=this['_awaitingChangeset'])==null?void 0x0:_0x34e3a2[_0x4385c8(0x28c)])&&(this['resend'](),this[_0x4385c8(0x2ed)]=_0x1160f9===0x0?0x3e8:_0x1160f9*0x2);}['_clearScheduledTask'](){var _0x3fec45=_0x384d48,_0x4cc82d;(_0x4cc82d=this['_sender'])==null||_0x4cc82d[_0x3fec45(0x2e6)](),this[_0x3fec45(0x2ed)]=0x0;}};ue=Re([A(0x4,_0x524d9b(_0x1e48d3)),A(0x5,_0x524d9b(_0x32f691)),A(0x6,_0x3f1db4),A(0x7,_0x1e9a27),A(0x8,_0x2e7c83),A(0x9,_0x2e02f4),A(0xa,_0x49b7db(J))],ue);let ae=class extends be{constructor(_0x3868bf,_0xa969c9,_0x1c9649,_0x101478,_0x348083,_0x3e12a6,_0x40cad2,_0x4e6d12,_0x1b53ad,_0x1ba85e,_0x182f1a,_0x3e71ed,_0x5aea19){var _0x10d666=_0x384d48;super(_0x3868bf,_0xa969c9,_0x1c9649,_0x101478,_0x348083,_0x1b53ad,_0x3e71ed,_0x4e6d12,_0x5aea19),N(this,_0x10d666(0x230),_0x10d666(0x219)),N(this,_0x10d666(0x2ed),0x0),N(this,_0x10d666(0x322)),N(this,_0x10d666(0x370)),(this[_0x10d666(0x3d1)]=_0x40cad2,this[_0x10d666(0x1ea)]=_0x1ba85e,this[_0x10d666(0x33f)]=_0x182f1a,this[_0x10d666(0x201)]=_0x5aea19,_0x3e12a6&&(this[_0x10d666(0x322)]=_0x3e12a6,this['_sender']=this[_0x10d666(0x322)][_0x10d666(0x33b)](({reqId:_0x4babe4,timeout:_0x1cb760})=>{var _0x4767eb=_0x10d666;this[_0x4767eb(0x2f5)](_0x4babe4,_0x1cb760);})));}[_0x384d48(0x30b)](_0x278524){var _0x34304f=_0x384d48;return this[_0x34304f(0x2e0)][_0x34304f(0x372)](_0x278524),this;}['onRemoteChangeset'](_0x4290c9){var _0x3d4665=_0x384d48;if(this[_0x3d4665(0x1d4)](_0x4290c9))return this['_clearScheduledTask'](),this['_injector']['createInstance'](te,this['unitID'],this[_0x3d4665(0x355)],this['_awaitingChangeset'],this[_0x3d4665(0x2e0)],null,[_0x4290c9],this[_0x3d4665(0x3f4)]);try{const _0x4edaea=this['_transformService']['transformChangesets']([_0x4290c9],[this[_0x3d4665(0x232)]],!0x1);if(_0x2a3274(_0x4edaea)){const {c1Prime:_0x29833a,c2Prime:_0x327cec}=_0x4edaea,_0x4c9ced=this['_transformService'][_0x3d4665(0x2e2)](_0x29833a[0x0],this['_pendingMutations']);if(_0x5265cb(_0x4c9ced)){const {c1Prime:_0x2a3263,m2Prime:_0x3f3d41}=_0x4c9ced;return this[_0x3d4665(0x339)](_0x2a3263),_0x327cec[0x0]['baseRev']=this[_0x3d4665(0x22b)](),this[_0x3d4665(0x2c4)](),this[_0x3d4665(0x3d1)][_0x3d4665(0x29a)](ae,this[_0x3d4665(0x177)],this[_0x3d4665(0x355)],_0x327cec[0x0],_0x3f3d41,this['_handler'],void 0x0);}throw _0x4c9ced[_0x3d4665(0x466)];}throw _0x4edaea[_0x3d4665(0x466)];}catch(_0xc2a8fe){return this[_0x3d4665(0x1ea)][_0x3d4665(0x466)](_0xc2a8fe),this[_0x3d4665(0x45f)](!0x1);}}[_0x384d48(0x2b3)](_0x8b5ec8){var _0x249e3c=_0x384d48;if(this['_clearScheduledTask'](),this[_0x249e3c(0x1d4)](_0x8b5ec8))return this[_0x249e3c(0x3d1)][_0x249e3c(0x29a)](te,this[_0x249e3c(0x177)],this[_0x249e3c(0x355)],null,this[_0x249e3c(0x2e0)],this[_0x249e3c(0x232)],[],this[_0x249e3c(0x3f4)]);this[_0x249e3c(0x1f0)]();const _0x43f229=this[_0x249e3c(0x3d1)][_0x249e3c(0x29a)](oe,this[_0x249e3c(0x177)],this[_0x249e3c(0x355)],this[_0x249e3c(0x2e0)],this[_0x249e3c(0x3f4)]);return _0x43f229[_0x249e3c(0x2c0)](),_0x43f229[_0x249e3c(0x391)](),_0x43f229;}[_0x384d48(0x32d)](_0x20539d){var _0x223bba=_0x384d48;return this[_0x223bba(0x45f)](!!(_0x20539d!=null&&_0x20539d[_0x223bba(0x3bd)]));}['onRemoteRetry'](_0x138e74){var _0x3f31ed=_0x384d48;return this['_resendTimeout']>Ni?this[_0x3f31ed(0x23b)]():(this[_0x3f31ed(0x322)]=Oi(this[_0x3f31ed(0x2ed)],{'timeout':this[_0x3f31ed(0x2ed)],'reqId':_0x138e74[_0x3f31ed(0x28c)]}),this[_0x3f31ed(0x370)]=this[_0x3f31ed(0x322)][_0x3f31ed(0x33b)](({reqId:_0x51ef7b,timeout:_0x34ba80})=>{var _0x14b227=_0x3f31ed;this[_0x14b227(0x2f5)](_0x51ef7b,_0x34ba80);}),this);}[_0x384d48(0x23b)](){var _0x44c16c=_0x384d48;return this[_0x44c16c(0x2c4)](),this[_0x44c16c(0x3d1)][_0x44c16c(0x29a)](fe,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x44c16c(0x2e0)],this[_0x44c16c(0x3f4)]);}['toggleOnline'](){return this;}[_0x384d48(0x3af)](){var _0x42cd7b=_0x384d48;this[_0x42cd7b(0x3f4)]['onSendChangeset'](this[_0x42cd7b(0x232)]);}[_0x384d48(0x45f)](_0x2f3d07){var _0x5b45e9=_0x384d48;return this[_0x5b45e9(0x2c4)](),this[_0x5b45e9(0x3d1)][_0x5b45e9(0x29a)](de,this[_0x5b45e9(0x177)],this[_0x5b45e9(0x355)],null,this[_0x5b45e9(0x2e0)],this[_0x5b45e9(0x3f4)],_0x2f3d07);}['_resendWithTimeout'](_0x4669ae,_0xb9704b){var _0x2e7377=_0x384d48,_0x3b7f11;_0x4669ae===((_0x3b7f11=this[_0x2e7377(0x232)])==null?void 0x0:_0x3b7f11['reqId'])&&(this[_0x2e7377(0x3af)](),this[_0x2e7377(0x2ed)]=_0xb9704b===0x0?0x3e8:_0xb9704b*0x2);}[_0x384d48(0x2c4)](){var _0x1b415c=_0x384d48,_0x5eefb3;(_0x5eefb3=this[_0x1b415c(0x370)])==null||_0x5eefb3[_0x1b415c(0x2e6)](),this[_0x1b415c(0x2ed)]=0x0;}};ae=Re([A(0x6,_0x524d9b(_0x1e48d3)),A(0x7,_0x524d9b(_0x32f691)),A(0x8,_0x3f1db4),A(0x9,_0x1e9a27),A(0xa,_0x2e7c83),A(0xb,_0x2e02f4),A(0xc,_0x49b7db(J))],ae);let de=class extends be{constructor(_0x261e13,_0x4acb12,_0x36d4c4,_0x5487c4,_0x18beb8,_0x1f6874=!0x1,_0x335446,_0x121b77,_0x1d2c88,_0x1564d2,_0x2c4dd9,_0x3731a5,_0x3b1acc){var _0x13912b=_0x384d48;super(_0x261e13,_0x4acb12,_0x36d4c4,_0x5487c4,_0x18beb8,_0x121b77,_0x1d2c88,_0x1564d2,_0x3b1acc),N(this,_0x13912b(0x230),_0x13912b(0x35d)),(this['_isPermissionRej']=_0x1f6874,this[_0x13912b(0x40a)]=_0x335446,this[_0x13912b(0x3db)]=_0x2c4dd9,this[_0x13912b(0x465)]=_0x3731a5,this['localCacheService']=_0x3b1acc,this[_0x13912b(0x245)](),this[_0x13912b(0x3d0)](),this[_0x13912b(0x358)]());}['appendMutation'](){return this;}[_0x384d48(0x1af)](){return this;}['onRemoteAck'](){return this;}[_0x384d48(0x32d)](){return this;}[_0x384d48(0x194)](){return this;}[_0x384d48(0x23b)](){return this;}[_0x384d48(0x31a)](){return this;}[_0x384d48(0x3af)](){var _0x350dfe=_0x384d48;throw new Error(_0x350dfe(0x2f3));}['_clearLocalCache'](){var _0x4b52a7=_0x384d48,_0x4e2619;(_0x4e2619=this[_0x4b52a7(0x1df)])==null||_0x4e2619[_0x4b52a7(0x3b8)](this[_0x4b52a7(0x177)],this[_0x4b52a7(0x355)],null,[]);}['_showConflictNotification'](){var _0x3688a1=_0x384d48;this[_0x3688a1(0x295)]?this[_0x3688a1(0x465)][_0x3688a1(0x306)]({'id':se['PERMISSION_DENIED']}):this[_0x3688a1(0x465)][_0x3688a1(0x306)]({'id':se[_0x3688a1(0x3eb)]});}[_0x384d48(0x358)](){var _0x582a3c=_0x384d48;this[_0x582a3c(0x40a)][_0x582a3c(0x30e)](new _0x386980(this['unitID'])['id'],!0x1);}};de=Re([A(0x6,_0x524d9b(_0x2386b0)),A(0x7,_0x3f1db4),A(0x8,_0x2e02f4),A(0x9,_0x524d9b(_0x32f691)),A(0xa,_0x524d9b(_0x3fdf27)),A(0xb,_0x524d9b(pe)),A(0xc,_0x49b7db(J))],de);let fe=class extends be{constructor(_0x5ae57d,_0x4510c6,_0x2d6c3c,_0x1c2713,_0x2d93fd,_0x1e4814,_0x46d455,_0x4eb157,_0x1be7bd,_0x5d2f61){var _0x8d899b=_0x384d48;super(_0x5ae57d,_0x4510c6,_0x2d6c3c,_0x1c2713,_0x2d93fd,_0x4eb157,_0x1be7bd,_0x46d455,_0x5d2f61),N(this,'status',_0x8d899b(0x29e)),this[_0x8d899b(0x3d1)]=_0x1e4814;}[_0x384d48(0x30b)](_0x921b5d){var _0x1e6e41=_0x384d48;return this[_0x1e6e41(0x2e0)][_0x1e6e41(0x372)](_0x921b5d),this[_0x1e6e41(0x391)](),this;}[_0x384d48(0x1af)](_0x58c544){var _0x165807=_0x384d48;throw new Error(_0x165807(0x34a));}[_0x384d48(0x2b3)](){var _0xb8845f=_0x384d48;throw new Error(_0xb8845f(0x32b));}['onRemoteRej'](){var _0x23ba81=_0x384d48;throw new Error(_0x23ba81(0x42c));}[_0x384d48(0x194)](){return this;}[_0x384d48(0x23b)](){return this;}['toggleOnline'](){const {_injector:_0x300659,_pendingMutations:_0x34c0d0,_awaitingChangeset:_0x460f8d,unitID:_0x3cc799,_handler:_0x5095cd,type:_0x22bc9c}=this,_0xdbb1a3=Di(_0x300659,_0x3cc799,_0x22bc9c,_0x460f8d,_0x34c0d0,_0x5095cd);return _0xdbb1a3 instanceof oe?_0xdbb1a3['_schedule']():(_0xdbb1a3 instanceof ae||_0xdbb1a3 instanceof ue)&&_0xdbb1a3['resend'](),_0xdbb1a3;}['resend'](){var _0x2b5724=_0x384d48;throw new Error(_0x2b5724(0x3d2));}};fe=Re([A(0x5,_0x524d9b(_0x1e48d3)),A(0x6,_0x524d9b(_0x32f691)),A(0x7,_0x3f1db4),A(0x8,_0x2e02f4),A(0x9,_0x49b7db(J))],fe);let te=class extends be{constructor(_0x168209,_0x5490ad,_0xc95023,_0x1a29eb,_0x57d4e5,_0x25fe09,_0x4ec135,_0x170c6e,_0x58123a,_0x395768,_0x7c7704,_0x3c2ec9,_0x8b6041,_0x42f578){var _0x1a9897=_0x384d48;super(_0x168209,_0x5490ad,_0xc95023,_0x1a29eb,_0x4ec135,_0x7c7704,_0x3c2ec9,_0x58123a,_0x42f578),N(this,_0x1a9897(0x230),_0x1a9897(0x34f)),(this[_0x1a9897(0x437)]=_0x57d4e5,this[_0x1a9897(0x308)]=_0x25fe09,this['_injector']=_0x170c6e,this[_0x1a9897(0x1ea)]=_0x395768,this[_0x1a9897(0x33f)]=_0x8b6041,this[_0x1a9897(0x201)]=_0x42f578);}[_0x384d48(0x410)](_0x32cdd3){var _0x136bf6=_0x384d48;try{const _0x3b6721=[..._0x32cdd3,...this[_0x136bf6(0x308)]],_0x3a651b=[this[_0x136bf6(0x232)]||this[_0x136bf6(0x437)]]['filter'](_0x5a4f33=>!!_0x5a4f33);let _0x3abc7b,_0x32d39f;if(_0x3a651b['length']){const _0x2ba471=this[_0x136bf6(0x33f)][_0x136bf6(0x1ae)](_0x3b6721,_0x3a651b,!0x1);if(!_0x2a3274(_0x2ba471))throw _0x2ba471['error'];_0x3abc7b=_0x2ba471[_0x136bf6(0x34b)],_0x32d39f=_0x2ba471[_0x136bf6(0x1c9)];}else _0x3abc7b=_0x3b6721,_0x32d39f=[];let _0x283a69=this[_0x136bf6(0x2e0)];_0x3abc7b[_0x136bf6(0x261)](_0x484c47=>{var _0x79399=_0x136bf6;let _0x111917;if(_0x283a69['length']){const _0x593a48=this['_transformService'][_0x79399(0x2e2)](_0x484c47,_0x283a69);if(!_0x5265cb(_0x593a48))throw _0x593a48[_0x79399(0x466)];_0x111917=_0x593a48[_0x79399(0x34b)],_0x283a69=_0x593a48[_0x79399(0x44d)];}else _0x111917=_0x484c47;this[_0x79399(0x339)](_0x111917);}),this['_acknowledgedAwaitingChangeset']&&this[_0x136bf6(0x1f0)](),this[_0x136bf6(0x232)]&&_0x32d39f[_0x136bf6(0x20c)]&&(_0x32d39f[0x0][_0x136bf6(0x294)]=this[_0x136bf6(0x22b)]());let _0x38d7c4;if(this['_awaitingChangeset']&&_0x283a69['length']!==0x0)_0x38d7c4=this[_0x136bf6(0x3d1)][_0x136bf6(0x29a)](ae,this[_0x136bf6(0x177)],this[_0x136bf6(0x355)],_0x32d39f[0x0],_0x283a69,this[_0x136bf6(0x3f4)],void 0x0);else{if(this[_0x136bf6(0x232)]&&_0x283a69[_0x136bf6(0x20c)]===0x0)_0x32d39f[0x0][_0x136bf6(0x294)]=this[_0x136bf6(0x22b)](),_0x38d7c4=this[_0x136bf6(0x3d1)][_0x136bf6(0x29a)](ue,this[_0x136bf6(0x177)],this[_0x136bf6(0x355)],_0x32d39f[0x0],this[_0x136bf6(0x3f4)]);else{if(_0x283a69[_0x136bf6(0x20c)]!==0x0){const _0x1ac23b=this[_0x136bf6(0x3d1)]['createInstance'](oe,this[_0x136bf6(0x177)],this['type'],_0x283a69,this['_handler']);_0x1ac23b[_0x136bf6(0x2c0)](),_0x38d7c4=_0x1ac23b;}else _0x38d7c4=this[_0x136bf6(0x3d1)]['createInstance'](De,this['unitID'],this['type'],this[_0x136bf6(0x3f4)]);}}return _0x38d7c4[_0x136bf6(0x391)](),_0x38d7c4;}catch(_0x13adb6){return this[_0x136bf6(0x1ea)][_0x136bf6(0x466)](_0x136bf6(0x455),_0x136bf6(0x17b),_0x13adb6),this[_0x136bf6(0x3d1)]['createInstance'](de,this[_0x136bf6(0x177)],this['type'],this['_awaitingChangeset'],this[_0x136bf6(0x2e0)],this[_0x136bf6(0x3f4)],!0x1);}}[_0x384d48(0x3af)](){var _0x56686a=_0x384d48;throw new Error(_0x56686a(0x23d));}['appendMutation'](_0xcbdddd){var _0x5dabfa=_0x384d48;return this[_0x5dabfa(0x2e0)][_0x5dabfa(0x372)](_0xcbdddd),this;}[_0x384d48(0x1af)](_0x47238c){var _0x8fd334=_0x384d48;return this[_0x8fd334(0x308)][_0x8fd334(0x372)](_0x47238c),this;}[_0x384d48(0x2b3)](_0x2138d7){var _0x470caf=_0x384d48;if(this[_0x470caf(0x232)])return this[_0x470caf(0x437)]=this[_0x470caf(0x232)],this[_0x470caf(0x232)]=null,this;throw new Error(_0x470caf(0x3b4));}[_0x384d48(0x32d)](_0x29aaeb){var _0x3e1756=_0x384d48;return this['_onConflict'](!!(_0x29aaeb!=null&&_0x29aaeb[_0x3e1756(0x3bd)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0xfd32bb=_0x384d48;return this[_0xfd32bb(0x3d1)][_0xfd32bb(0x29a)](fe,this[_0xfd32bb(0x177)],this['type'],this[_0xfd32bb(0x232)],this[_0xfd32bb(0x2e0)],this[_0xfd32bb(0x3f4)]);}[_0x384d48(0x31a)](){return this;}[_0x384d48(0x45f)](_0x27c8bd){var _0x35796d=_0x384d48;return this[_0x35796d(0x3d1)]['createInstance'](de,this['unitID'],this[_0x35796d(0x355)],this[_0x35796d(0x232)],this[_0x35796d(0x2e0)],this[_0x35796d(0x3f4)],_0x27c8bd);}};te=Re([A(0x7,_0x524d9b(_0x1e48d3)),A(0x8,_0x524d9b(_0x32f691)),A(0x9,_0x1e9a27),A(0xa,_0x3f1db4),A(0xb,_0x2e02f4),A(0xc,_0x2e7c83),A(0xd,_0x49b7db(J))],te);function Di(_0x1cf948,_0xf724b9,_0x205feb,_0x1e8e66,_0x438ed5,_0x446fcd){var _0x511c8d=_0x384d48;return _0x1e8e66&&_0x438ed5[_0x511c8d(0x20c)]?_0x1cf948[_0x511c8d(0x29a)](ae,_0xf724b9,_0x205feb,_0x1e8e66,_0x438ed5,_0x446fcd,void 0x0):_0x1e8e66?_0x1cf948[_0x511c8d(0x29a)](ue,_0xf724b9,_0x205feb,_0x1e8e66,_0x446fcd):_0x438ed5[_0x511c8d(0x20c)]?_0x1cf948[_0x511c8d(0x29a)](oe,_0xf724b9,_0x205feb,_0x438ed5,_0x446fcd):_0x1cf948['createInstance'](De,_0xf724b9,_0x205feb,_0x446fcd);}var vr=Object[_0x384d48(0x1e0)],pr=Object[_0x384d48(0x1b2)],Lt=(_0xe4a53e,_0x5b10c3,_0x3b848d,_0x458330)=>{var _0x4a3928=_0x384d48;for(var _0x401fca=_0x458330>0x1?void 0x0:_0x458330?pr(_0x5b10c3,_0x3b848d):_0x5b10c3,_0x3bbdbd=_0xe4a53e[_0x4a3928(0x20c)]-0x1,_0x96c1d9;_0x3bbdbd>=0x0;_0x3bbdbd--)(_0x96c1d9=_0xe4a53e[_0x3bbdbd])&&(_0x401fca=(_0x458330?_0x96c1d9(_0x5b10c3,_0x3b848d,_0x401fca):_0x96c1d9(_0x401fca))||_0x401fca);return _0x458330&&_0x401fca&&vr(_0x5b10c3,_0x3b848d,_0x401fca),_0x401fca;},k=(_0x4726f0,_0x2e9617)=>(_0x44261,_0x18b47a)=>_0x2e9617(_0x44261,_0x18b47a,_0x4726f0);let nt=class extends _0x2c70a0{constructor(_0x6c1951,_0x119173,_0x36a5ae,_0x351555,_0x1d8a5f,_0x363d62,_0xca8843,_0x2238bb,_0x5cedce,_0x2f5bd4,_0x2d928a,_0x5b028d,_0x541c44){var _0x5f153d=_0x384d48;super(),N(this,_0x5f153d(0x221),new _0x34646d(null)),N(this,'state$',this[_0x5f153d(0x221)][_0x5f153d(0x2f9)]()),N(this,'_state'),N(this,_0x5f153d(0x447),!0x1),N(this,_0x5f153d(0x1da),''),N(this,_0x5f153d(0x3f1),0x0),N(this,_0x5f153d(0x3aa),this[_0x5f153d(0x26d)][_0x5f153d(0x3b3)](_0xb2b0a3(_0x56cba3=>_0x56cba3?_0x56cba3[_0x5f153d(0x230)]:yi[_0x5f153d(0x1d1)]),_0x4ba0df(0x1))),N(this,_0x5f153d(0x37b),!0x1),N(this,_0x5f153d(0x2a7),[]),(this[_0x5f153d(0x177)]=_0x6c1951,this[_0x5f153d(0x244)]=_0x119173,this[_0x5f153d(0x362)]=_0x36a5ae,this[_0x5f153d(0x3d1)]=_0x351555,this[_0x5f153d(0x2b8)]=_0x1d8a5f,this[_0x5f153d(0x3db)]=_0x363d62,this[_0x5f153d(0x2c8)]=_0xca8843,this[_0x5f153d(0x1cf)]=_0x2238bb,this[_0x5f153d(0x1ea)]=_0x5cedce,this['_commandService']=_0x2f5bd4,this[_0x5f153d(0x40a)]=_0x2d928a,this[_0x5f153d(0x29d)]=_0x5b028d,this[_0x5f153d(0x1df)]=_0x541c44);}get[_0x384d48(0x31c)](){return this['_state'];}async['init'](){var _0x4d4dc1=_0x384d48;if(this['state'])throw new Error(_0x4d4dc1(0x198));await this[_0x4d4dc1(0x257)]();}[_0x384d48(0x429)](){return this['_collaborationPaused']=!0x0,_0x529a4c(()=>{var _0x438971=_0x56fc;this[_0x438971(0x447)]=!0x1,this[_0x438971(0x299)]();});}['onLocalMutation'](_0x4b9832){var _0xd4c6aa=_0x384d48;this[_0xd4c6aa(0x1f1)](_0x4b9832);}[_0x384d48(0x42b)](_0x1aa49b){var _0x135c66=_0x384d48;this['_state']=_0x1aa49b,this[_0x135c66(0x221)][_0x135c66(0x350)](_0x1aa49b);}async[_0x384d48(0x257)](){var _0x2bdab1=_0x384d48,_0x292867;this[_0x2bdab1(0x42b)](await this[_0x2bdab1(0x266)]()),this[_0x2bdab1(0x29d)]&&((_0x292867=this[_0x2bdab1(0x29d)])==null||_0x292867[_0x2bdab1(0x33c)](this[_0x2bdab1(0x177)]),this[_0x2bdab1(0x446)](this[_0x2bdab1(0x29d)]['getUnitStatus$'](this[_0x2bdab1(0x177)])['subscribe'](_0x28eb86=>{var _0x46c740=_0x2bdab1;this[_0x46c740(0x1ea)][_0x46c740(0x1b5)](_0x46c740(0x26c),_0x46c740(0x33a),_0x28eb86),_0x28eb86===bi[_0x46c740(0x3cb)]?(this['_eventService'][_0x46c740(0x306)]({'id':se[_0x46c740(0x40b)]}),this[_0x46c740(0x40a)][_0x46c740(0x30e)](new _0x386980(this[_0x46c740(0x177)])['id'],!0x1),this[_0x46c740(0x40a)][_0x46c740(0x472)](!0x1)):(this['_permissionService'][_0x46c740(0x30e)](new _0x386980(this[_0x46c740(0x177)])['id'],!0x0),this[_0x46c740(0x40a)][_0x46c740(0x472)](!0x0));})));let _0x2a8419=!0x1;return this[_0x2bdab1(0x446)](this[_0x2bdab1(0x244)]['sessionStatus$'][_0x2bdab1(0x33b)](_0x208418=>{var _0x50c4ca=_0x2bdab1;_0x208418===Te[_0x50c4ca(0x1d5)]?this[_0x50c4ca(0x386)](_0x2a8419):_0x208418===Te[_0x50c4ca(0x1d1)]&&(_0x2a8419=!0x0,this[_0x50c4ca(0x172)]());})),this[_0x2bdab1(0x446)](this['session']['event$'][_0x2bdab1(0x33b)](_0x182fab=>{var _0x5c5d8d=_0x2bdab1;try{switch(_0x182fab[_0x5c5d8d(0x290)]){case _0x51f52f[_0x5c5d8d(0x393)]:{this['_onRemoteChangeset'](_0x491f1a(_0x182fab[_0x5c5d8d(0x32a)]));break;}case _0x51f52f[_0x5c5d8d(0x250)]:{this[_0x5c5d8d(0x3a3)](_0x182fab['data']);break;}case _0x51f52f[_0x5c5d8d(0x3a2)]:{this[_0x5c5d8d(0x307)]();break;}case _0x51f52f[_0x5c5d8d(0x17c)]:{this[_0x5c5d8d(0x326)](_0x182fab[_0x5c5d8d(0x32a)]);break;}case _0x51f52f[_0x5c5d8d(0x1ba)]:{this['_onFetchMissResult'](_0x182fab[_0x5c5d8d(0x32a)][_0x5c5d8d(0x1bf)][_0x5c5d8d(0x2ac)](_0x3838e0=>_0x491f1a(_0x3838e0)));break;}case _0x51f52f['PERMISSION_REJ']:{this[_0x5c5d8d(0x307)]({'isPermissionRej':!0x0});break;}case _0x51f52f[_0x5c5d8d(0x1a1)]:break;}}catch(_0x5d0693){throw console[_0x5c5d8d(0x466)]('Error\x20on\x20receiving\x20event',_0x5d0693),_0x5d0693;}})),this[_0x2bdab1(0x433)];}[_0x384d48(0x2fd)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x195b2f=_0x384d48;if(this[_0x195b2f(0x37b)])throw new Error(_0x195b2f(0x344));this['_transitionLocked']=!0x0;}[_0x384d48(0x1f1)](_0x3440d5){var _0x48e67f=_0x384d48;this[_0x48e67f(0x408)](),this['_updateState'](this[_0x48e67f(0x433)]['appendMutation'](_0x3440d5)),this[_0x48e67f(0x2fd)]();}[_0x384d48(0x2e5)](_0xaeb492){var _0x26666c=_0x384d48;if(!(_0xaeb492[_0x26666c(0x397)]<=this['_revisionService'][_0x26666c(0x461)](this[_0x26666c(0x177)]))){if(this[_0x26666c(0x447)]){this[_0x26666c(0x2a7)]['push'](_0xaeb492);return;}this[_0x26666c(0x2c3)](_0xaeb492);}}[_0x384d48(0x299)](){var _0xd2a1d3=_0x384d48;this['_remoteChangesetQueue']['forEach'](_0x1f380f=>this[_0xd2a1d3(0x2c3)](_0x1f380f)),this[_0xd2a1d3(0x2a7)]=[];}[_0x384d48(0x2c3)](_0x5250ff){var _0x34edea=_0x384d48;const _0x55fde3=this['_compressMutationService'][_0x34edea(0x399)][_0x34edea(0x3bb)](this[_0x34edea(0x2b8)][_0x34edea(0x399)][_0x34edea(0x44a)]()[_0x34edea(0x436)])(_0x5250ff['mutations'],null)||_0x5250ff['mutations'],_0x4e0444={..._0x5250ff,'mutations':_0x55fde3};this[_0x34edea(0x408)](),this[_0x34edea(0x42b)](this[_0x34edea(0x433)][_0x34edea(0x1af)](_0x4e0444)),this['_unlockTransition']();}['_onRemoteACK'](_0x569118){var _0x551724=_0x384d48;this[_0x551724(0x408)](),this[_0x551724(0x42b)](this[_0x551724(0x433)][_0x551724(0x2b3)](_0x569118)),this[_0x551724(0x2fd)]();}[_0x384d48(0x307)](_0x22bd52){var _0x53fcce=_0x384d48;this['_lockTransition'](),this[_0x53fcce(0x42b)](this[_0x53fcce(0x433)][_0x53fcce(0x32d)](_0x22bd52)),this[_0x53fcce(0x2fd)]();}[_0x384d48(0x326)](_0x3ba51c){var _0x22fd12=_0x384d48;this[_0x22fd12(0x408)](),this[_0x22fd12(0x42b)](this[_0x22fd12(0x433)][_0x22fd12(0x194)](_0x3ba51c)),this[_0x22fd12(0x2fd)]();}['_onFetchMissResult'](_0x3958ec){var _0x392290=_0x384d48;if(!(this[_0x392290(0x433)]instanceof te))throw new TypeError(_0x392290(0x20f));const _0x2440aa=_0x3958ec[_0x392290(0x2ac)](_0x39949e=>{var _0x2a0818=_0x392290;const _0x3a216a=this[_0x2a0818(0x2b8)]['interceptor'][_0x2a0818(0x3bb)](this[_0x2a0818(0x2b8)][_0x2a0818(0x399)][_0x2a0818(0x44a)]()[_0x2a0818(0x436)])(_0x39949e[_0x2a0818(0x336)],null)||_0x39949e[_0x2a0818(0x336)];return{..._0x39949e,'mutations':_0x3a216a};});this[_0x392290(0x408)](),this[_0x392290(0x42b)](this[_0x392290(0x433)]['onMissedChangesetFetched'](_0x2440aa)),this['_unlockTransition']();}[_0x384d48(0x172)](){var _0x78965e=_0x384d48;this[_0x78965e(0x408)](),this['_updateState'](this[_0x78965e(0x433)][_0x78965e(0x23b)]()),this[_0x78965e(0x2fd)]();}['_toggleOnline'](_0x20ae87=!0x1){var _0x470067=_0x384d48;this[_0x470067(0x408)](),this[_0x470067(0x42b)](this[_0x470067(0x433)][_0x470067(0x31a)]()),this[_0x470067(0x2fd)]();const _0x46aa05=this[_0x470067(0x433)];_0x20ae87&&_0x46aa05 instanceof De&&(this[_0x470067(0x408)](),this['_updateState'](_0x46aa05[_0x470067(0x2cd)]()),this[_0x470067(0x2fd)]());}async[_0x384d48(0x266)](){return new Promise(_0x540d34=>{var _0x12e88b=_0x56fc;this[_0x12e88b(0x244)][_0x12e88b(0x19c)][_0x12e88b(0x3b3)](_0x4c3c1b(0x1))[_0x12e88b(0x33b)](async _0x4d1f77=>{var _0xb860e9=_0x12e88b;_0x540d34(await this[_0xb860e9(0x3fb)](_0x4d1f77===Te[_0xb860e9(0x1d5)]));});});}[_0x384d48(0x419)](){var _0x30505c=_0x384d48;const _0x5ca35b=this[_0x30505c(0x177)];return{'onStateChange':(_0xe9b343,_0x2eee3b)=>{var _0x594482=_0x30505c;if(_0xe9b343!==this['_state'])throw new Error(_0x594482(0x208)+_0xe9b343[_0x594482(0x230)]+_0x594482(0x3e3)+_0x2eee3b['status']+_0x594482(0x36a)+this[_0x594482(0x433)]['status']);this[_0x594482(0x42b)](_0x2eee3b);},'onSendChangeset':_0x360182=>{var _0x17f276=_0x30505c;_0x360182[_0x17f276(0x34c)]||(_0x360182[_0x17f276(0x34c)]=this['_changesetSessionId'],_0x360182[_0x17f276(0x28c)]=++this[_0x17f276(0x3f1)]);const _0x4d25a9={'eventID':_0x51f52f['SUBMIT_CHANGESET'],'data':{'unitID':_0x360182[_0x17f276(0x177)],'unitType':this[_0x17f276(0x362)],'changeset':_0x360182,'memberID':this[_0x17f276(0x244)][_0x17f276(0x281)]()}};this[_0x17f276(0x244)][_0x17f276(0x3d6)](_0x4d25a9,this[_0x17f276(0x177)]);},'onMissingChangesets':({from:_0x5cbdc0,to:_0x5ba423})=>{var _0x58a639=_0x30505c;this[_0x58a639(0x1ea)][_0x58a639(0x1b5)](_0x58a639(0x26c),_0x58a639(0x17f)+_0x5cbdc0+_0x58a639(0x27d)+_0x5ba423);const _0x2af9ce={'eventID':_0x51f52f[_0x58a639(0x283)],'data':{'unitID':_0x5ca35b,'unitType':this[_0x58a639(0x362)],'from':_0x5cbdc0,'to':_0x5ba423}};this['session'][_0x58a639(0x3d6)](_0x2af9ce,this[_0x58a639(0x177)]);}};}async[_0x384d48(0x3fb)](_0x25a4c3){var _0x18420f=_0x384d48,_0x2b7a30,_0x492920,_0x43524b;const _0x57891f=await((_0x2b7a30=this[_0x18420f(0x1df)])==null?void 0x0:_0x2b7a30[_0x18420f(0x1b6)](this[_0x18420f(0x177)])),_0x1bd147=(_0x492920=_0x57891f==null?void 0x0:_0x57891f[_0x18420f(0x336)])!=null?_0x492920:[],_0x58198a=(_0x43524b=_0x57891f==null?void 0x0:_0x57891f[_0x18420f(0x44c)])!=null?_0x43524b:null,_0x518ad5=!!(_0x58198a!=null&&_0x58198a[_0x18420f(0x34c)])&&!!(_0x58198a!=null&&_0x58198a[_0x18420f(0x28c)]);this[_0x18420f(0x1da)]=_0x518ad5?_0x58198a['sid']:sr(),this[_0x18420f(0x3f1)]=_0x518ad5?_0x58198a[_0x18420f(0x28c)]:0x0;const _0x719340=this[_0x18420f(0x177)];try{this['_replayCachedMutations'](_0x58198a,_0x1bd147);}catch(_0x3213a2){this[_0x18420f(0x1ea)][_0x18420f(0x466)](_0x3213a2);}const _0x276955=this[_0x18420f(0x419)]();if(_0x25a4c3){const _0x364219=Di(this[_0x18420f(0x3d1)],_0x719340,this[_0x18420f(0x362)],_0x58198a,_0x1bd147,_0x276955);return _0x364219 instanceof oe?_0x364219[_0x18420f(0x2c0)]():(_0x364219 instanceof ae||_0x364219 instanceof ue)&&_0x364219['resend'](),_0x364219;}return this['_injector']['createInstance'](fe,_0x719340,this[_0x18420f(0x362)],_0x58198a,_0x1bd147,_0x276955);}[_0x384d48(0x1ec)](_0x4ad595,_0x26a033){var _0x2b8ac2=_0x384d48,_0x4f7fe4,_0x567375;const _0x4fce30=this[_0x2b8ac2(0x2b8)][_0x2b8ac2(0x399)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x2b8ac2(0x399)][_0x2b8ac2(0x44a)]()[_0x2b8ac2(0x436)]);(_0x4f7fe4=_0x4fce30((_0x4ad595==null?void 0x0:_0x4ad595['mutations'])||[],null))==null||_0x4f7fe4[_0x2b8ac2(0x261)](_0x3a965f=>this[_0x2b8ac2(0x235)]['executeCommand'](_0x3a965f['id'],_0x3a965f[_0x2b8ac2(0x1f6)])),(_0x567375=_0x4fce30(_0x26a033||[],null))==null||_0x567375[_0x2b8ac2(0x261)](_0x406293=>this[_0x2b8ac2(0x235)][_0x2b8ac2(0x26a)](_0x406293['id'],_0x406293[_0x2b8ac2(0x1f6)]));}};nt=Lt([k(0x3,_0x524d9b(_0x1e48d3)),k(0x4,_0x524d9b(_0x2f36ae)),k(0x5,_0x524d9b(_0x3fdf27)),k(0x6,_0x524d9b(_0x32f691)),k(0x7,_0x524d9b(pe)),k(0x8,_0x1e9a27),k(0x9,_0x3f1db4),k(0xa,_0x2386b0),k(0xb,_0x49b7db(ht)),k(0xc,_0x49b7db(J))],nt);let Tt=class extends nt{constructor(_0x64cf1d,_0xeab05a,_0x1be79f,_0x200b06,_0x3bc542,_0x2151ee,_0x3e7c2a,_0x488813,_0x20c8aa,_0x34ab33,_0x35eb60,_0x14f2b0,_0x12d48c){var _0x1f63d1=_0x384d48;super(_0x64cf1d,_0x1be79f,_0xeab05a,_0x200b06,_0x3bc542,_0x2151ee,_0x3e7c2a,_0x488813,_0x20c8aa,_0x34ab33,_0x35eb60,_0x14f2b0,_0x12d48c),N(this,'_handlerCallback',null),(this[_0x1f63d1(0x177)]=_0x64cf1d,this[_0x1f63d1(0x355)]=_0xeab05a);}[_0x384d48(0x189)](_0x57744b){var _0x49816f=_0x384d48;this[_0x49816f(0x2ce)]=_0x57744b;}[_0x384d48(0x2dd)](){var _0x530e20=_0x384d48;this[_0x530e20(0x2ce)]=null,super[_0x530e20(0x2dd)]();}[_0x384d48(0x419)](){var _0x5ef3c6=_0x384d48;const _0x53eab9=super[_0x5ef3c6(0x419)]();return _0x53eab9['onTransformIME']=_0x1e9a54=>{var _0xdb526b=_0x5ef3c6,_0x15060e,_0x3b7a25;return(_0x3b7a25=(_0x15060e=this[_0xdb526b(0x2ce)])==null?void 0x0:_0x15060e['onTransformIME'])==null?void 0x0:_0x3b7a25[_0xdb526b(0x1c4)](_0x15060e,_0x1e9a54);},_0x53eab9[_0x5ef3c6(0x1dd)]=_0x1b8625=>{var _0x564e1f=_0x5ef3c6,_0x4bc1b6,_0x1071bb;return(_0x1071bb=(_0x4bc1b6=this[_0x564e1f(0x2ce)])==null?void 0x0:_0x4bc1b6[_0x564e1f(0x1dd)])==null?void 0x0:_0x1071bb[_0x564e1f(0x1c4)](_0x4bc1b6,_0x1b8625);},_0x53eab9[_0x5ef3c6(0x424)]=_0x55a2a6=>{var _0x107196=_0x5ef3c6,_0x3aac21,_0x3ad3e7;return(_0x3ad3e7=(_0x3aac21=this['_handlerCallback'])==null?void 0x0:_0x3aac21[_0x107196(0x424)])==null?void 0x0:_0x3ad3e7['call'](_0x3aac21,_0x55a2a6);},_0x53eab9[_0x5ef3c6(0x365)]=_0x18ab7c=>{var _0x5527c3=_0x5ef3c6,_0x527ce3,_0x3c7990;return(_0x3c7990=(_0x527ce3=this[_0x5527c3(0x2ce)])==null?void 0x0:_0x527ce3[_0x5527c3(0x365)])==null?void 0x0:_0x3c7990[_0x5527c3(0x1c4)](_0x527ce3,_0x18ab7c);},_0x53eab9['onTransformRemoteChangesetByIMECache']=_0x2c33df=>{var _0xe3e19f=_0x5ef3c6,_0x59e9fb,_0x2c512c,_0x262cae;if(!((_0x59e9fb=this[_0xe3e19f(0x2ce)])!=null&&_0x59e9fb[_0xe3e19f(0x1e6)]))throw new Error(_0xe3e19f(0x176));return(_0x262cae=(_0x2c512c=this['_handlerCallback'])==null?void 0x0:_0x2c512c['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x262cae['call'](_0x2c512c,_0x2c33df);},_0x53eab9[_0x5ef3c6(0x22e)]=_0x2d73a5=>{var _0x4b2f8d=_0x5ef3c6,_0x1eda1d,_0x32a2e9,_0x3d9ffe;if(!((_0x1eda1d=this[_0x4b2f8d(0x2ce)])!=null&&_0x1eda1d[_0x4b2f8d(0x22e)]))throw new Error(_0x4b2f8d(0x42f));return(_0x3d9ffe=(_0x32a2e9=this[_0x4b2f8d(0x2ce)])==null?void 0x0:_0x32a2e9['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x3d9ffe[_0x4b2f8d(0x1c4)](_0x32a2e9,_0x2d73a5);},_0x53eab9;}async[_0x384d48(0x257)](){var _0x5dad5b=_0x384d48;const _0x31b3dd=await super['_init']();return this[_0x5dad5b(0x446)](this['_commandService'][_0x5dad5b(0x40c)]((_0x4a30c4,_0x1a7d3a)=>{var _0x96d958=_0x5dad5b;if(_0x4a30c4[_0x96d958(0x355)]!==_0x27f1c3['MUTATION']||_0x1a7d3a!=null&&_0x1a7d3a[_0x96d958(0x40d)]||_0x1a7d3a!=null&&_0x1a7d3a[_0x96d958(0x212)]||_0x4a30c4['id']===_0x566255['id'])return;const _0x20eca8=_0x4a30c4[_0x96d958(0x1f6)];if((_0x20eca8==null?void 0x0:_0x20eca8[_0x96d958(0x323)])!==this['unitID'])return;const _0x42c06e=_0x4a30c4,_0xd3f00b=this['_compressMutationService'][_0x96d958(0x399)][_0x96d958(0x3bb)](this[_0x96d958(0x2b8)]['interceptor'][_0x96d958(0x44a)]()[_0x96d958(0x254)])([_0x42c06e],null)||[_0x42c06e];this[_0x96d958(0x1f1)](_0xd3f00b[0x0]);})),_0x31b3dd;}};Tt=Lt([k(0x3,_0x524d9b(_0x1e48d3)),k(0x4,_0x524d9b(_0x2f36ae)),k(0x5,_0x524d9b(_0x3fdf27)),k(0x6,_0x524d9b(_0x32f691)),k(0x7,_0x524d9b(pe)),k(0x8,_0x1e9a27),k(0x9,_0x3f1db4),k(0xa,_0x2386b0),k(0xb,_0x49b7db(ht)),k(0xc,_0x49b7db(J))],Tt);let Ct=class extends nt{constructor(_0x111a62,_0x528dba,_0x4942e6,_0x1e5890,_0x2066fd,_0x590135,_0x5d2528,_0x288d8c,_0x2ccc39,_0x5ef13d,_0x137e78,_0x58669b,_0x44cffe,_0x84a65a){var _0x3772d3=_0x384d48;super(_0x111a62,_0x4942e6,_0x528dba,_0x1e5890,_0x2066fd,_0x590135,_0x5d2528,_0x2ccc39,_0x5ef13d,_0x137e78,_0x58669b,_0x44cffe,_0x84a65a),this[_0x3772d3(0x177)]=_0x111a62,this[_0x3772d3(0x355)]=_0x528dba,this['_sheetTransformSelectionsService']=_0x288d8c;}[_0x384d48(0x419)](){var _0x2e1cbc=_0x384d48;const _0x41a06d=super[_0x2e1cbc(0x419)]();return _0x41a06d[_0x2e1cbc(0x424)]=_0x561a04=>this[_0x2e1cbc(0x240)][_0x2e1cbc(0x435)](_0x561a04),_0x41a06d;}async['_init'](){var _0x8d2aa7=_0x384d48;const _0x368433=await super[_0x8d2aa7(0x257)]();return this['disposeWithMe'](this[_0x8d2aa7(0x235)][_0x8d2aa7(0x40c)]((_0x221157,_0x4db261)=>{var _0x44e5b5=_0x8d2aa7;if(_0x221157[_0x44e5b5(0x355)]!==_0x27f1c3[_0x44e5b5(0x225)]||_0x4db261!=null&&_0x4db261['fromCollab']||_0x4db261!=null&&_0x4db261[_0x44e5b5(0x212)])return;const _0x556709=_0x221157['params'];if((_0x556709==null?void 0x0:_0x556709[_0x44e5b5(0x323)])!==this[_0x44e5b5(0x177)])return;const _0x25cdb9=_0x221157,_0x4a1a9e=this['_compressMutationService'][_0x44e5b5(0x399)][_0x44e5b5(0x3bb)](this[_0x44e5b5(0x2b8)]['interceptor'][_0x44e5b5(0x44a)]()[_0x44e5b5(0x254)])([_0x25cdb9],null)||[_0x25cdb9];this['_onLocalMutation'](_0x4a1a9e[0x0]);})),_0x368433;}};Ct=Lt([k(0x3,_0x524d9b(_0x1e48d3)),k(0x4,_0x524d9b(_0x2f36ae)),k(0x5,_0x524d9b(_0x3fdf27)),k(0x6,_0x524d9b(_0x32f691)),k(0x7,_0x524d9b(it)),k(0x8,_0x524d9b(pe)),k(0x9,_0x1e9a27),k(0xa,_0x3f1db4),k(0xb,_0x2386b0),k(0xc,_0x49b7db(ht)),k(0xd,_0x49b7db(J))],Ct);var mr=Object[_0x384d48(0x1e0)],gr=Object[_0x384d48(0x1b2)],Sr=(_0x49136a,_0x1828ed,_0x551d1e,_0x5b72d2)=>{var _0x202963=_0x384d48;for(var _0x4e2c0f=_0x5b72d2>0x1?void 0x0:_0x5b72d2?gr(_0x1828ed,_0x551d1e):_0x1828ed,_0x3b7b7e=_0x49136a[_0x202963(0x20c)]-0x1,_0x55abde;_0x3b7b7e>=0x0;_0x3b7b7e--)(_0x55abde=_0x49136a[_0x3b7b7e])&&(_0x4e2c0f=(_0x5b72d2?_0x55abde(_0x1828ed,_0x551d1e,_0x4e2c0f):_0x55abde(_0x4e2c0f))||_0x4e2c0f);return _0x5b72d2&&_0x4e2c0f&&mr(_0x1828ed,_0x551d1e,_0x4e2c0f),_0x4e2c0f;},ft=(_0x12b8d0,_0x2db59e)=>(_0x139e1c,_0xadd667)=>_0x2db59e(_0x139e1c,_0xadd667,_0x12b8d0);let rt=class extends _0x2c70a0{constructor(_0xfac62a,_0x495ca2,_0x29d8ed){var _0x235f86=_0x384d48;super(),N(this,'_entities',new Map()),N(this,_0x235f86(0x1a5),new _0x14c30e()),N(this,_0x235f86(0x383),this['_entityInit$'][_0x235f86(0x2f9)]()),(this['_injector']=_0xfac62a,this[_0x235f86(0x37f)]=_0x495ca2,this['_univerInstanceService']=_0x29d8ed,this[_0x235f86(0x257)]());}[_0x384d48(0x2dd)](){var _0x295cef=_0x384d48;super['dispose'](),this[_0x295cef(0x366)][_0x295cef(0x261)](_0x4df249=>_0x4df249['dispose']()),this[_0x295cef(0x366)][_0x295cef(0x296)]();}[_0x384d48(0x2cc)](_0x4d7bcc){var _0x58aa87=_0x384d48,_0x29608e;return(_0x29608e=this[_0x58aa87(0x366)]['get'](_0x4d7bcc))!=null?_0x29608e:null;}[_0x384d48(0x3ba)](_0x35b7f2){var _0x19e880=_0x384d48;const _0x5a56f5=this[_0x19e880(0x2cc)](_0x35b7f2);return _0x5a56f5?_0xd625e4(_0x5a56f5):this[_0x19e880(0x1a5)][_0x19e880(0x3b3)](_0x4a7a86(_0x560248=>_0x560248['unitID']===_0x35b7f2));}[_0x384d48(0x41b)](_0x2eaac5){var _0x3d62ca=_0x384d48;return _0x3804bf(this[_0x3d62ca(0x3ba)](_0x2eaac5)['pipe'](_0x4f7920(()=>{})));}['_init'](){var _0x190ce3=_0x384d48;this[_0x190ce3(0x2f7)][_0x190ce3(0x20a)](_0x5deaa7[_0x190ce3(0x34d)])[_0x190ce3(0x3b3)](_0x10b867(this[_0x190ce3(0x374)]),_0x4a79c5(0x10))[_0x190ce3(0x33b)](async _0x433977=>{var _0x5a1a8b=_0x190ce3;const _0x62c578=_0x433977[_0x5a1a8b(0x363)](),_0x36501a=await this[_0x5a1a8b(0x226)](_0x62c578,Q['UNIVER_SHEET']);this['_entities'][_0x5a1a8b(0x376)](_0x62c578,_0x36501a);}),this[_0x190ce3(0x2f7)][_0x190ce3(0x20a)](_0x5deaa7['UNIVER_DOC'])[_0x190ce3(0x3b3)](_0x10b867(this[_0x190ce3(0x374)]),_0x4a79c5(0x10))['pipe'](_0x4a7a86(_0x264062=>!_0x264062['getUnitId']()['startsWith']('__')))['subscribe'](async _0x14890b=>{var _0x458774=_0x190ce3;const _0x32890c=_0x14890b[_0x458774(0x363)](),_0x146464=await this[_0x458774(0x226)](_0x32890c,Q['UNIVER_DOC']);this[_0x458774(0x366)][_0x458774(0x376)](_0x32890c,_0x146464);}),_0x178676(this[_0x190ce3(0x2f7)][_0x190ce3(0x18f)](_0x5deaa7[_0x190ce3(0x34d)]),this[_0x190ce3(0x2f7)][_0x190ce3(0x18f)](_0x5deaa7[_0x190ce3(0x3c0)]))[_0x190ce3(0x3b3)](_0x10b867(this[_0x190ce3(0x374)]))[_0x190ce3(0x33b)](_0x1be48a=>{var _0x5941ee=_0x190ce3;const _0x52c4d0=_0x1be48a['getUnitId'](),_0xebf938=this[_0x5941ee(0x366)][_0x5941ee(0x2a9)](_0x52c4d0);_0xebf938&&(_0xebf938[_0x5941ee(0x2dd)](),this[_0x5941ee(0x366)][_0x5941ee(0x32f)](_0x52c4d0));});}async['_startCollaboration'](_0x474fff,_0x2e8c66){var _0x4e7112=_0x384d48;const _0x39a343=await this[_0x4e7112(0x37f)]['requireSession'](_0x474fff),_0x202ca2=this[_0x4e7112(0x3d1)]['createInstance'](this[_0x4e7112(0x2fc)](_0x2e8c66),_0x474fff,_0x2e8c66,_0x39a343);return await _0x202ca2[_0x4e7112(0x2cb)](),this['_entityInit$']['next'](_0x202ca2),_0x202ca2;}['_getCtorByUniverType'](_0x434763){var _0x32ecb7=_0x384d48;switch(_0x434763){case Q[_0x32ecb7(0x3c0)]:return Tt;case Q[_0x32ecb7(0x34d)]:return Ct;default:throw new Error(_0x32ecb7(0x2be)+_0x434763);}}};rt=Sr([ft(0x0,_0x524d9b(_0x1e48d3)),ft(0x1,_0x524d9b(Le)),ft(0x2,_0x588b40)],rt);var Er=Object[_0x384d48(0x1e0)],Ir=Object[_0x384d48(0x1b2)],Tr=(_0x1d4899,_0x89c9c9,_0x20b088,_0x50bb95)=>{var _0x5b7eb8=_0x384d48;for(var _0x3bc509=_0x50bb95>0x1?void 0x0:_0x50bb95?Ir(_0x89c9c9,_0x20b088):_0x89c9c9,_0x1a8323=_0x1d4899[_0x5b7eb8(0x20c)]-0x1,_0x542d2f;_0x1a8323>=0x0;_0x1a8323--)(_0x542d2f=_0x1d4899[_0x1a8323])&&(_0x3bc509=(_0x50bb95?_0x542d2f(_0x89c9c9,_0x20b088,_0x3bc509):_0x542d2f(_0x3bc509))||_0x3bc509);return _0x50bb95&&_0x3bc509&&Er(_0x89c9c9,_0x20b088,_0x3bc509),_0x3bc509;},Jt=(_0x39d454,_0x41a9f6)=>(_0x2a0e4a,_0x549f30)=>_0x41a9f6(_0x2a0e4a,_0x549f30,_0x39d454);const Cr='DEFAULT_FILE_NAME',Rr=_0x384d48(0x418);let Rt=class extends _0x347757{constructor(_0x43dc45,_0x5613c5){var _0x2742b1=_0x384d48;super(),this[_0x2742b1(0x2f7)]=_0x43dc45,this[_0x2742b1(0x1eb)]=_0x5613c5,this[_0x2742b1(0x257)]();}[_0x384d48(0x257)](){var _0x1bfdd8=_0x384d48;this[_0x1bfdd8(0x446)](this['_univerInstanceService'][_0x1bfdd8(0x210)]['subscribe'](()=>{var _0x46ff2e=_0x1bfdd8,_0x1c197e;const _0x34e722=this[_0x46ff2e(0x2f7)][_0x46ff2e(0x1c0)]();let _0x3f6f1a=(_0x1c197e=this[_0x46ff2e(0x1eb)][_0x46ff2e(0x3c7)](Cr))!=null?_0x1c197e:Rr;_0x34e722 instanceof _0xb396a2&&(_0x3f6f1a=_0x34e722[_0x46ff2e(0x279)]),document[_0x46ff2e(0x30c)]=_0x3f6f1a;}));}};Rt=Tr([Jt(0x0,_0x588b40),Jt(0x1,_0x3564e5)],Rt);var br=Object['defineProperty'],Or=Object[_0x384d48(0x1b2)],yr=(_0x5c478d,_0x562cd4,_0x355543,_0x45c819)=>{for(var _0x17792b=_0x45c819>0x1?void 0x0:_0x45c819?Or(_0x562cd4,_0x355543):_0x562cd4,_0x290f9b=_0x5c478d['length']-0x1,_0x46a842;_0x290f9b>=0x0;_0x290f9b--)(_0x46a842=_0x5c478d[_0x290f9b])&&(_0x17792b=(_0x45c819?_0x46a842(_0x562cd4,_0x355543,_0x17792b):_0x46a842(_0x17792b))||_0x17792b);return _0x45c819&&_0x17792b&&br(_0x562cd4,_0x355543,_0x17792b),_0x17792b;},vt=(_0x3cea0b,_0x10d7ce)=>(_0x50a3cb,_0x1eba4f)=>_0x10d7ce(_0x50a3cb,_0x1eba4f,_0x3cea0b);let st=class{constructor(_0x1f21c3,_0x4e6995,_0x46dbb6){var _0x5d85ac=_0x384d48;this[_0x5d85ac(0x1eb)]=_0x1f21c3,this[_0x5d85ac(0x2a1)]=_0x4e6995,this['localeService']=_0x46dbb6,this['init']();}['init'](){var _0xad29df=_0x384d48;this[_0xad29df(0x2a1)][_0xad29df(0x3ad)]({'priority':0x1,'interceptor':(_0x5ab528,_0x1a0213)=>_0x1a0213(_0x5ab528)[_0xad29df(0x3b3)](_0x3e81d3(async _0x5e2d68=>{var _0x16b032=_0xad29df;const _0xaa9fc6=_0x5e2d68;if(_0xaa9fc6['status']===0x191){if(typeof window>'u')throw new Error(_0x16b032(0x3e2));if(window[_0x16b032(0x44f)](this[_0x16b032(0x38a)]['t'](_0x16b032(0x3b5)))){const _0x3bf57d=window[_0x16b032(0x30f)](window[_0x16b032(0x321)]['href']);window[_0x16b032(0x321)][_0x16b032(0x19a)]=this[_0x16b032(0x37d)]()+'?url='+_0x3bf57d;}}return _0xaa9fc6;}))});}[_0x384d48(0x37d)](){var _0x2ed43e=_0x384d48,_0x35a8a9,_0x1cbf44;const _0x561fce=this[_0x2ed43e(0x1eb)]['getConfig'](xn),_0x10161d=this[_0x2ed43e(0x1eb)][_0x2ed43e(0x3c7)](q);return(_0x1cbf44=(_0x35a8a9=_0x10161d==null?void 0x0:_0x10161d[_0x2ed43e(0x238)])!=null?_0x35a8a9:_0x561fce)!=null?_0x1cbf44:Ln;}};st=yr([vt(0x0,_0x3564e5),vt(0x1,_0x524d9b(_0x1fa986)),vt(0x2,_0x524d9b(_0x3fdf27))],st);var Nr=Object[_0x384d48(0x1e0)],Dr=Object['getOwnPropertyDescriptor'],Pr=(_0x48eb7b,_0x153732,_0x59937e,_0x22db2c)=>{var _0x5ec359=_0x384d48;for(var _0x3ee09c=_0x22db2c>0x1?void 0x0:_0x22db2c?Dr(_0x153732,_0x59937e):_0x153732,_0x1ffaf8=_0x48eb7b[_0x5ec359(0x20c)]-0x1,_0x53f603;_0x1ffaf8>=0x0;_0x1ffaf8--)(_0x53f603=_0x48eb7b[_0x1ffaf8])&&(_0x3ee09c=(_0x22db2c?_0x53f603(_0x153732,_0x59937e,_0x3ee09c):_0x53f603(_0x3ee09c))||_0x3ee09c);return _0x22db2c&&_0x3ee09c&&Nr(_0x153732,_0x59937e,_0x3ee09c),_0x3ee09c;},Xt=(_0x260f4c,_0xdea853)=>(_0x5da994,_0x360ca3)=>_0xdea853(_0x5da994,_0x360ca3,_0x260f4c);const Pi=_0x384d48(0x396),wr='/universer-api/authz';let bt=class extends _0x347757{constructor(_0x3018f8,_0x140bda){var _0x44acfc=_0x384d48;super(),this['_HTTPService']=_0x3018f8,this[_0x44acfc(0x1eb)]=_0x140bda,this['_initMergeInterceptor']();}[_0x384d48(0x24e)](){var _0x39decc=_0x384d48;const _0x5c23b4=this;this['disposeWithMe'](this[_0x39decc(0x1db)][_0x39decc(0x3ad)]({'priority':0x3e7,'interceptor':_0x2ae067({'isMatch'(_0x53c783){var _0x2c27a0=_0x39decc,_0x4f6c7e;if(_0x53c783['method']===_0x2c27a0(0x199)&&((_0x4f6c7e=_0x53c783[_0x2c27a0(0x3ce)])!=null&&_0x4f6c7e['body'])){const {objectID:_0x38f877,objectType:_0x30cff3}=_0x53c783[_0x2c27a0(0x3ce)]['body']||{};if(!_0x38f877||_0x30cff3===void 0x0)return!0x1;const _0x2e4556=_0x5c23b4[_0x2c27a0(0x3a5)]()+'/'+_0x30cff3+_0x2c27a0(0x1a4)+_0x38f877+_0x2c27a0(0x395);if(_0x53c783[_0x2c27a0(0x43a)]===_0x2e4556)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x51fbc9){var _0x556dda=_0x39decc,_0x112e8d;return(_0x112e8d=_0x51fbc9[_0x556dda(0x3ce)])==null?void 0x0:_0x112e8d['body'];},'mergeParamsToRequest'(_0x46d710,_0x1b59ea){var _0xca7e63=_0x39decc;const _0x130306=_0x5c23b4[_0xca7e63(0x3a5)]()+_0xca7e63(0x28f),_0x2e72d1=_0x46d710[_0xca7e63(0x2af)]((_0x415862,_0x500c18)=>{var _0x537228=_0xca7e63;const {unitID:_0x348fa0,objectID:_0x112d5a,objectType:_0x429339,actions:_0x83a528}=_0x500c18;return _0x415862[_0x348fa0]||(_0x415862[_0x348fa0]={}),_0x415862[_0x348fa0][_0x112d5a]||(_0x415862[_0x348fa0][_0x112d5a]={'objectID':_0x112d5a,'objectType':_0x429339,'actions':[]}),_0x415862[_0x348fa0][_0x112d5a][_0x537228(0x1e1)][_0x537228(0x372)](..._0x83a528),_0x415862;},{}),_0x5d8ac3=[];for(const _0x3ff232 in _0x2e72d1)for(const _0x5e069d in _0x2e72d1[_0x3ff232]){const {actions:_0x4ce0b2,objectType:_0x580841}=_0x2e72d1[_0x3ff232][_0x5e069d],_0x599584=[...new Set(_0x4ce0b2)];_0x5d8ac3[_0xca7e63(0x372)]({'unitID':_0x3ff232,'objectID':_0x5e069d,'objectType':_0x580841,'actions':_0x599584});}return new _0x13ab81(_0xca7e63(0x199),_0x130306,{'headers':_0x1b59ea[_0xca7e63(0x46f)],'withCredentials':_0x1b59ea['withCredentials'],'responseType':_0x1b59ea[_0xca7e63(0x29c)],'body':{'requests':_0x5d8ac3}});}},{'distributeResult'(_0x1350e8,_0x45edfe){const {objectActions:_0x278b04}=_0x1350e8;return _0x45edfe['map'](_0x46a05c=>{var _0x2aab46=_0x56fc;const {unitID:_0x4ba290,objectID:_0x20ee2d,actions:_0x516a5f}=_0x46a05c,_0x70e987=_0x278b04['find'](_0x1bfb96=>_0x1bfb96[_0x2aab46(0x177)]===_0x4ba290&&_0x1bfb96['objectID']===_0x20ee2d),_0x36ef07=_0x516a5f[_0x2aab46(0x2ac)](_0x5c8981=>_0x70e987==null?void 0x0:_0x70e987[_0x2aab46(0x1e1)][_0x2aab46(0x33d)](_0x471e75=>_0x471e75[_0x2aab46(0x3a1)]===_0x5c8981))[_0x2aab46(0x416)](_0x5213cc=>!!_0x5213cc);return{'config':_0x46a05c,'result':{'actions':_0x36ef07,'error':_0x1350e8[_0x2aab46(0x466)]}};});}})}));}[_0x384d48(0x3a5)](){var _0x1f82e7=_0x384d48,_0x3ac856,_0x23d210;const _0x4f9468=this[_0x1f82e7(0x1eb)][_0x1f82e7(0x3c7)](Pi),_0x2c0ba5=this['_configService'][_0x1f82e7(0x3c7)](q);return(_0x23d210=(_0x3ac856=_0x2c0ba5==null?void 0x0:_0x2c0ba5[_0x1f82e7(0x186)])!=null?_0x3ac856:_0x4f9468)!=null?_0x23d210:wr;}async[_0x384d48(0x1c5)](_0x5d38fa){var _0x178f8e=_0x384d48;const _0x533dcd=this[_0x178f8e(0x3a5)]()+'/'+_0x5d38fa['objectType']+_0x178f8e(0x2a8);return(await this[_0x178f8e(0x1db)]['post'](_0x533dcd,{'body':_0x5d38fa}))[_0x178f8e(0x2ba)][_0x178f8e(0x328)]||'';}async[_0x384d48(0x442)](_0x16cb3a){var _0x43daad=_0x384d48;const _0x17f1dd=this['_getAPIPrefixPath']()+_0x43daad(0x227);return(await this[_0x43daad(0x1db)][_0x43daad(0x432)](_0x17f1dd,{'body':_0x16cb3a}))[_0x43daad(0x2ba)]['objects'];}async[_0x384d48(0x1de)](_0x23f9a1){var _0x163a01=_0x384d48;const _0x51a235=this[_0x163a01(0x3a5)]()+'/'+_0x23f9a1[_0x163a01(0x3f5)]+_0x163a01(0x1a4)+_0x23f9a1[_0x163a01(0x328)];await this['_HTTPService']['put'](_0x51a235,{'body':_0x23f9a1});}async[_0x384d48(0x1e8)](_0xc51384){var _0x10b7fc=_0x384d48;const _0x48fcb3=this[_0x10b7fc(0x3a5)]()+'/'+_0xc51384['objectType']+_0x10b7fc(0x1a4)+_0xc51384[_0x10b7fc(0x328)]+'/allowed';return(await this[_0x10b7fc(0x1db)][_0x10b7fc(0x432)](_0x48fcb3,{'body':_0xc51384}))[_0x10b7fc(0x2ba)][_0x10b7fc(0x1e1)];}async[_0x384d48(0x218)](_0x4a536d){var _0x4b4818=_0x384d48;const _0x57d2d5=this[_0x4b4818(0x3a5)]()+_0x4b4818(0x28f);return(await this[_0x4b4818(0x1db)][_0x4b4818(0x432)](_0x57d2d5,{'body':{'requests':_0x4a536d}}))['body'][_0x4b4818(0x474)];}async[_0x384d48(0x341)](_0x21a9cd){var _0x1d9c90=_0x384d48;const _0x26bcbb=this[_0x1d9c90(0x3a5)]()+'/'+_0x21a9cd[_0x1d9c90(0x3f5)]+_0x1d9c90(0x445),_0x4ecf11=await this['_HTTPService']['post'](_0x26bcbb,{'body':_0x21a9cd});return{'roles':_0x4ecf11[_0x1d9c90(0x2ba)]['roles'],'actions':_0x4ecf11[_0x1d9c90(0x2ba)][_0x1d9c90(0x1e1)]};}async['deleteCollaborator'](_0x4a539d){var _0x33f6d2=_0x384d48;const _0xe831ec=this[_0x33f6d2(0x3a5)]()+_0x33f6d2(0x1d3);await this['_HTTPService'][_0x33f6d2(0x32f)](_0xe831ec,{'params':{'collaboratorID':_0x4a539d[_0x33f6d2(0x1a0)],'objectID':_0x4a539d['objectID'],'unitID':_0x4a539d[_0x33f6d2(0x177)]}});}async['updateCollaborator'](_0x6c2ac9){var _0x321284=_0x384d48;const _0x1bc585=this['_getAPIPrefixPath']()+_0x321284(0x1d3);await this[_0x321284(0x1db)][_0x321284(0x412)](_0x1bc585,{'body':_0x6c2ac9});}async['createCollaborator'](_0x24807f){var _0x15a720=_0x384d48;const _0x3d8944=this[_0x15a720(0x3a5)]()+'/collaborator';await this[_0x15a720(0x1db)][_0x15a720(0x432)](_0x3d8944,{'body':_0x24807f});}async[_0x384d48(0x329)](_0x303303){var _0x204451=_0x384d48;const _0x52a1d4=this['_getAPIPrefixPath']()+_0x204451(0x1d3);return(await this[_0x204451(0x1db)]['get'](_0x52a1d4,{'params':{'objectID':_0x303303[_0x204451(0x328)],'unitID':_0x303303['unitID']}}))[_0x204451(0x2ba)][_0x204451(0x204)];}async[_0x384d48(0x35a)](_0x2c5f84){var _0x58d5e6=_0x384d48;const _0x5e62eb=this['_getAPIPrefixPath']()+_0x58d5e6(0x1d3);await this['_HTTPService'][_0x58d5e6(0x314)](_0x5e62eb,{'body':_0x2c5f84});}};bt=Pr([Xt(0x0,_0x524d9b(_0x1fa986)),Xt(0x1,_0x524d9b(_0x3564e5))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x7d31c6){var _0x38097a=_0x384d48;return _0x7d31c6&&_0x7d31c6[_0x38097a(0x181)]&&Object['prototype'][_0x38097a(0x3e7)][_0x38097a(0x1c4)](_0x7d31c6,'default')?_0x7d31c6['default']:_0x7d31c6;}var Ve={'exports':{}};function Ur(_0x1f2aa5){var _0x97b1fa=_0x384d48;throw new Error(_0x97b1fa(0x251)+_0x1f2aa5+_0x97b1fa(0x22c));}var Ge={'exports':{}},Ar=Ge[_0x384d48(0x27b)],Zt;function ne(){var _0x207170=_0x384d48;return Zt||(Zt=0x1,function(_0x13fddf,_0x7f467e){(function(_0x297c75,_0x550d95){var _0x1193d7=_0x56fc;_0x13fddf[_0x1193d7(0x27b)]=_0x550d95();}(Ar,function(){var _0x34313f=_0x34313f||function(_0x41d30f,_0x34573f){var _0x34bf53=_0x56fc,_0x564eb5;if(typeof window<'u'&&window['crypto']&&(_0x564eb5=window[_0x34bf53(0x24b)]),typeof self<'u'&&self[_0x34bf53(0x24b)]&&(_0x564eb5=self[_0x34bf53(0x24b)]),typeof globalThis<'u'&&globalThis[_0x34bf53(0x24b)]&&(_0x564eb5=globalThis[_0x34bf53(0x24b)]),!_0x564eb5&&typeof window<'u'&&window[_0x34bf53(0x414)]&&(_0x564eb5=window[_0x34bf53(0x414)]),!_0x564eb5&&typeof pt<'u'&&pt[_0x34bf53(0x24b)]&&(_0x564eb5=pt['crypto']),!_0x564eb5&&typeof Ur==_0x34bf53(0x18e))try{_0x564eb5=require(_0x34bf53(0x24b));}catch{}var _0x141741=function(){var _0x59f533=_0x34bf53;if(_0x564eb5){if(typeof _0x564eb5[_0x59f533(0x259)]==_0x59f533(0x18e))try{return _0x564eb5[_0x59f533(0x259)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x564eb5[_0x59f533(0x3e1)]==_0x59f533(0x18e))try{return _0x564eb5[_0x59f533(0x3e1)](0x4)[_0x59f533(0x3d4)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x17e7a7=Object[_0x34bf53(0x1c5)]||(function(){function _0x426a0c(){}return function(_0x138d28){var _0x3bf364=_0x56fc,_0x5c3c18;return _0x426a0c[_0x3bf364(0x39e)]=_0x138d28,_0x5c3c18=new _0x426a0c(),_0x426a0c[_0x3bf364(0x39e)]=null,_0x5c3c18;};}()),_0x30352b={},_0x1349d5=_0x30352b[_0x34bf53(0x309)]={},_0x344e03=_0x1349d5[_0x34bf53(0x392)]=(function(){return{'extend':function(_0x337245){var _0xdbd27d=_0x56fc,_0x4f9daa=_0x17e7a7(this);return _0x337245&&_0x4f9daa[_0xdbd27d(0x3bc)](_0x337245),(!_0x4f9daa['hasOwnProperty'](_0xdbd27d(0x2cb))||this[_0xdbd27d(0x2cb)]===_0x4f9daa[_0xdbd27d(0x2cb)])&&(_0x4f9daa[_0xdbd27d(0x2cb)]=function(){var _0x2499af=_0xdbd27d;_0x4f9daa['$super'][_0x2499af(0x2cb)][_0x2499af(0x382)](this,arguments);}),_0x4f9daa[_0xdbd27d(0x2cb)][_0xdbd27d(0x39e)]=_0x4f9daa,_0x4f9daa[_0xdbd27d(0x275)]=this,_0x4f9daa;},'create':function(){var _0x571cf1=_0x56fc,_0x5aba25=this[_0x571cf1(0x265)]();return _0x5aba25['init'][_0x571cf1(0x382)](_0x5aba25,arguments),_0x5aba25;},'init':function(){},'mixIn':function(_0x4e43e1){var _0x2db423=_0x56fc;for(var _0x3797dd in _0x4e43e1)_0x4e43e1[_0x2db423(0x3e7)](_0x3797dd)&&(this[_0x3797dd]=_0x4e43e1[_0x3797dd]);_0x4e43e1[_0x2db423(0x3e7)](_0x2db423(0x2a4))&&(this[_0x2db423(0x2a4)]=_0x4e43e1[_0x2db423(0x2a4)]);},'clone':function(){var _0x565c9f=_0x56fc;return this['init'][_0x565c9f(0x39e)]['extend'](this);}};}()),_0x213493=_0x1349d5[_0x34bf53(0x22a)]=_0x344e03[_0x34bf53(0x265)]({'init':function(_0x4b0218,_0x2cc165){var _0x31d832=_0x34bf53;_0x4b0218=this[_0x31d832(0x43e)]=_0x4b0218||[],_0x2cc165!=_0x34573f?this['sigBytes']=_0x2cc165:this[_0x31d832(0x3ea)]=_0x4b0218['length']*0x4;},'toString':function(_0x5292d8){var _0x2e28c6=_0x34bf53;return(_0x5292d8||_0x411c31)[_0x2e28c6(0x3a9)](this);},'concat':function(_0x2864c8){var _0x1b0697=_0x34bf53,_0x70aec9=this['words'],_0x11e80b=_0x2864c8[_0x1b0697(0x43e)],_0x46ea60=this['sigBytes'],_0x2edc81=_0x2864c8[_0x1b0697(0x3ea)];if(this[_0x1b0697(0x20e)](),_0x46ea60%0x4)for(var _0x52b7af=0x0;_0x52b7af<_0x2edc81;_0x52b7af++){var _0x5af433=_0x11e80b[_0x52b7af>>>0x2]>>>0x18-_0x52b7af%0x4*0x8&0xff;_0x70aec9[_0x46ea60+_0x52b7af>>>0x2]|=_0x5af433<<0x18-(_0x46ea60+_0x52b7af)%0x4*0x8;}else{for(var _0x58142e=0x0;_0x58142e<_0x2edc81;_0x58142e+=0x4)_0x70aec9[_0x46ea60+_0x58142e>>>0x2]=_0x11e80b[_0x58142e>>>0x2];}return this[_0x1b0697(0x3ea)]+=_0x2edc81,this;},'clamp':function(){var _0x128632=_0x34bf53,_0x3cf3a6=this[_0x128632(0x43e)],_0x248f04=this[_0x128632(0x3ea)];_0x3cf3a6[_0x248f04>>>0x2]&=0xffffffff<<0x20-_0x248f04%0x4*0x8,_0x3cf3a6[_0x128632(0x20c)]=_0x41d30f[_0x128632(0x1f9)](_0x248f04/0x4);},'clone':function(){var _0x10790d=_0x34bf53,_0x2fee21=_0x344e03[_0x10790d(0x211)][_0x10790d(0x1c4)](this);return _0x2fee21['words']=this[_0x10790d(0x43e)]['slice'](0x0),_0x2fee21;},'random':function(_0x227f96){for(var _0x480284=[],_0x1bfa0b=0x0;_0x1bfa0b<_0x227f96;_0x1bfa0b+=0x4)_0x480284['push'](_0x141741());return new _0x213493['init'](_0x480284,_0x227f96);}}),_0x4518e0=_0x30352b[_0x34bf53(0x303)]={},_0x411c31=_0x4518e0[_0x34bf53(0x263)]={'stringify':function(_0x5395af){var _0x41fdb4=_0x34bf53;for(var _0x33a9=_0x5395af[_0x41fdb4(0x43e)],_0x5dac1b=_0x5395af['sigBytes'],_0x42f245=[],_0x51b16f=0x0;_0x51b16f<_0x5dac1b;_0x51b16f++){var _0x4451ab=_0x33a9[_0x51b16f>>>0x2]>>>0x18-_0x51b16f%0x4*0x8&0xff;_0x42f245['push']((_0x4451ab>>>0x4)[_0x41fdb4(0x2a4)](0x10)),_0x42f245['push']((_0x4451ab&0xf)[_0x41fdb4(0x2a4)](0x10));}return _0x42f245[_0x41fdb4(0x33e)]('');},'parse':function(_0x4816b1){var _0x520a8=_0x34bf53;for(var _0x23a5ee=_0x4816b1[_0x520a8(0x20c)],_0x2a5fb1=[],_0x4a9be9=0x0;_0x4a9be9<_0x23a5ee;_0x4a9be9+=0x2)_0x2a5fb1[_0x4a9be9>>>0x3]|=parseInt(_0x4816b1['substr'](_0x4a9be9,0x2),0x10)<<0x18-_0x4a9be9%0x8*0x4;return new _0x213493[(_0x520a8(0x2cb))](_0x2a5fb1,_0x23a5ee/0x2);}},_0x271057=_0x4518e0['Latin1']={'stringify':function(_0x18c728){var _0x51e3e4=_0x34bf53;for(var _0x26c060=_0x18c728[_0x51e3e4(0x43e)],_0x3fc02b=_0x18c728[_0x51e3e4(0x3ea)],_0x153af0=[],_0x440631=0x0;_0x440631<_0x3fc02b;_0x440631++){var _0x588061=_0x26c060[_0x440631>>>0x2]>>>0x18-_0x440631%0x4*0x8&0xff;_0x153af0[_0x51e3e4(0x372)](String[_0x51e3e4(0x203)](_0x588061));}return _0x153af0[_0x51e3e4(0x33e)]('');},'parse':function(_0x226776){var _0x302b71=_0x34bf53;for(var _0xc794b6=_0x226776[_0x302b71(0x20c)],_0x3da4a4=[],_0x11dddf=0x0;_0x11dddf<_0xc794b6;_0x11dddf++)_0x3da4a4[_0x11dddf>>>0x2]|=(_0x226776[_0x302b71(0x32c)](_0x11dddf)&0xff)<<0x18-_0x11dddf%0x4*0x8;return new _0x213493['init'](_0x3da4a4,_0xc794b6);}},_0x71c514=_0x4518e0['Utf8']={'stringify':function(_0x4cb84d){var _0x291448=_0x34bf53;try{return decodeURIComponent(escape(_0x271057['stringify'](_0x4cb84d)));}catch{throw new Error(_0x291448(0x3b7));}},'parse':function(_0x53dd56){var _0x324861=_0x34bf53;return _0x271057[_0x324861(0x2e8)](unescape(encodeURIComponent(_0x53dd56)));}},_0x2de564=_0x1349d5[_0x34bf53(0x3a4)]=_0x344e03[_0x34bf53(0x265)]({'reset':function(){var _0x937eb2=_0x34bf53;this['_data']=new _0x213493[(_0x937eb2(0x2cb))](),this[_0x937eb2(0x475)]=0x0;},'_append':function(_0x112424){var _0x570f0c=_0x34bf53;typeof _0x112424==_0x570f0c(0x3c1)&&(_0x112424=_0x71c514[_0x570f0c(0x2e8)](_0x112424)),this[_0x570f0c(0x378)][_0x570f0c(0x2d6)](_0x112424),this[_0x570f0c(0x475)]+=_0x112424[_0x570f0c(0x3ea)];},'_process':function(_0x3ebb6a){var _0x514b85=_0x34bf53,_0x18a8ea,_0x375546=this[_0x514b85(0x378)],_0x60c1ad=_0x375546[_0x514b85(0x43e)],_0x17a569=_0x375546[_0x514b85(0x3ea)],_0x29ab52=this[_0x514b85(0x30a)],_0x1b5ed7=_0x29ab52*0x4,_0x789a00=_0x17a569/_0x1b5ed7;_0x3ebb6a?_0x789a00=_0x41d30f['ceil'](_0x789a00):_0x789a00=_0x41d30f[_0x514b85(0x173)]((_0x789a00|0x0)-this[_0x514b85(0x209)],0x0);var _0x4e9ea8=_0x789a00*_0x29ab52,_0x4245cf=_0x41d30f[_0x514b85(0x40e)](_0x4e9ea8*0x4,_0x17a569);if(_0x4e9ea8){for(var _0x583b87=0x0;_0x583b87<_0x4e9ea8;_0x583b87+=_0x29ab52)this[_0x514b85(0x3dc)](_0x60c1ad,_0x583b87);_0x18a8ea=_0x60c1ad['splice'](0x0,_0x4e9ea8),_0x375546[_0x514b85(0x3ea)]-=_0x4245cf;}return new _0x213493[(_0x514b85(0x2cb))](_0x18a8ea,_0x4245cf);},'clone':function(){var _0x5c62e1=_0x34bf53,_0x44b7a3=_0x344e03[_0x5c62e1(0x211)][_0x5c62e1(0x1c4)](this);return _0x44b7a3[_0x5c62e1(0x378)]=this[_0x5c62e1(0x378)][_0x5c62e1(0x211)](),_0x44b7a3;},'_minBufferSize':0x0});_0x1349d5[_0x34bf53(0x185)]=_0x2de564[_0x34bf53(0x265)]({'cfg':_0x344e03[_0x34bf53(0x265)](),'init':function(_0x139fdd){var _0x4525ab=_0x34bf53;this['cfg']=this[_0x4525ab(0x379)][_0x4525ab(0x265)](_0x139fdd),this['reset']();},'reset':function(){var _0x1b9bd6=_0x34bf53;_0x2de564[_0x1b9bd6(0x3d8)][_0x1b9bd6(0x1c4)](this),this[_0x1b9bd6(0x255)]();},'update':function(_0x33ace6){return this['_append'](_0x33ace6),this['_process'](),this;},'finalize':function(_0x47b1e9){var _0x1fa80f=_0x34bf53;_0x47b1e9&&this[_0x1fa80f(0x21b)](_0x47b1e9);var _0x182ca6=this['_doFinalize']();return _0x182ca6;},'blockSize':0x10,'_createHelper':function(_0xc9603c){return function(_0x343073,_0x2ded03){var _0x16ad06=_0x56fc;return new _0xc9603c['init'](_0x2ded03)[_0x16ad06(0x1f3)](_0x343073);};},'_createHmacHelper':function(_0x22fbbb){return function(_0x197db4,_0x5bf378){var _0x4c073b=_0x56fc;return new _0x40d5a9[(_0x4c073b(0x2f2))][(_0x4c073b(0x2cb))](_0x22fbbb,_0x5bf378)['finalize'](_0x197db4);};}});var _0x40d5a9=_0x30352b[_0x34bf53(0x3da)]={};return _0x30352b;}(Math);return _0x34313f;}));}(Ge)),Ge[_0x207170(0x27b)];}var We={'exports':{}},xr=We['exports'],Qt;function wi(){return Qt||(Qt=0x1,function(_0x7baf7f,_0x4f6ece){(function(_0x1667b4,_0x647bb5){var _0x5caa7e=_0x56fc;_0x7baf7f[_0x5caa7e(0x27b)]=_0x647bb5(ne());}(xr,function(_0x5b0844){var _0x2415b8=_0x56fc;return(function(){var _0x5201a4=_0x56fc,_0x38dd59=_0x5b0844,_0x20c5c9=_0x38dd59[_0x5201a4(0x309)],_0x3476cc=_0x20c5c9[_0x5201a4(0x22a)],_0x437d77=_0x38dd59[_0x5201a4(0x303)];_0x437d77[_0x5201a4(0x300)]={'stringify':function(_0x1a4182){var _0x2aab6e=_0x5201a4,_0x993417=_0x1a4182[_0x2aab6e(0x43e)],_0x133d44=_0x1a4182[_0x2aab6e(0x3ea)],_0x32c60f=this['_map'];_0x1a4182[_0x2aab6e(0x20e)]();for(var _0x493657=[],_0x2f1855=0x0;_0x2f1855<_0x133d44;_0x2f1855+=0x3)for(var _0x3e5c04=_0x993417[_0x2f1855>>>0x2]>>>0x18-_0x2f1855%0x4*0x8&0xff,_0x20b418=_0x993417[_0x2f1855+0x1>>>0x2]>>>0x18-(_0x2f1855+0x1)%0x4*0x8&0xff,_0xaf7ecb=_0x993417[_0x2f1855+0x2>>>0x2]>>>0x18-(_0x2f1855+0x2)%0x4*0x8&0xff,_0x570ea8=_0x3e5c04<<0x10|_0x20b418<<0x8|_0xaf7ecb,_0x2ab275=0x0;_0x2ab275<0x4&&_0x2f1855+_0x2ab275*0.75<_0x133d44;_0x2ab275++)_0x493657[_0x2aab6e(0x372)](_0x32c60f[_0x2aab6e(0x343)](_0x570ea8>>>0x6*(0x3-_0x2ab275)&0x3f));var _0x29593b=_0x32c60f[_0x2aab6e(0x343)](0x40);if(_0x29593b){for(;_0x493657['length']%0x4;)_0x493657[_0x2aab6e(0x372)](_0x29593b);}return _0x493657[_0x2aab6e(0x33e)]('');},'parse':function(_0x35c7e2){var _0x442932=_0x5201a4,_0x30077b=_0x35c7e2[_0x442932(0x20c)],_0x3bd4f9=this[_0x442932(0x464)],_0x40e8cb=this[_0x442932(0x1c2)];if(!_0x40e8cb){_0x40e8cb=this[_0x442932(0x1c2)]=[];for(var _0x80da51=0x0;_0x80da51<_0x3bd4f9[_0x442932(0x20c)];_0x80da51++)_0x40e8cb[_0x3bd4f9[_0x442932(0x32c)](_0x80da51)]=_0x80da51;}var _0x1edf5f=_0x3bd4f9[_0x442932(0x343)](0x40);if(_0x1edf5f){var _0x156579=_0x35c7e2['indexOf'](_0x1edf5f);_0x156579!==-0x1&&(_0x30077b=_0x156579);}return _0x3afd4e(_0x35c7e2,_0x30077b,_0x40e8cb);},'_map':_0x5201a4(0x24d)};function _0x3afd4e(_0x33107f,_0x54064e,_0x5b31f9){var _0x40540c=_0x5201a4;for(var _0x5fbabe=[],_0x5871be=0x0,_0x4f600a=0x0;_0x4f600a<_0x54064e;_0x4f600a++)if(_0x4f600a%0x4){var _0x1c1b61=_0x5b31f9[_0x33107f[_0x40540c(0x32c)](_0x4f600a-0x1)]<<_0x4f600a%0x4*0x2,_0x1e4263=_0x5b31f9[_0x33107f[_0x40540c(0x32c)](_0x4f600a)]>>>0x6-_0x4f600a%0x4*0x2,_0x58e2eb=_0x1c1b61|_0x1e4263;_0x5fbabe[_0x5871be>>>0x2]|=_0x58e2eb<<0x18-_0x5871be%0x4*0x8,_0x5871be++;}return _0x3476cc['create'](_0x5fbabe,_0x5871be);}}()),_0x5b0844[_0x2415b8(0x303)][_0x2415b8(0x300)];}));}(We)),We['exports'];}function _0x56fc(_0x5b6670,_0x19dfd0){var _0x5c4163=_0x5c41();return _0x56fc=function(_0x56fc64,_0x118cae){_0x56fc64=_0x56fc64-0x16f;var _0x4c565f=_0x5c4163[_0x56fc64];return _0x4c565f;},_0x56fc(_0x5b6670,_0x19dfd0);}var Ke={'exports':{}},Lr=Ke['exports'],ei;function Mr(){return ei||(ei=0x1,function(_0x316fd6,_0x2cc07c){(function(_0x5a3f49,_0x1b7954){_0x316fd6['exports']=_0x1b7954(ne());}(Lr,function(_0x50d879){var _0x190e01=_0x56fc;return function(_0x50b768){var _0x4434a9=_0x56fc,_0x1129d8=_0x50d879,_0x5f4be7=_0x1129d8['lib'],_0x4d76ed=_0x5f4be7[_0x4434a9(0x22a)],_0x121096=_0x5f4be7['Hasher'],_0x15196d=_0x1129d8['algo'],_0x3ec551=[];(function(){var _0x2b6214=_0x4434a9;for(var _0x2023e3=0x0;_0x2023e3<0x40;_0x2023e3++)_0x3ec551[_0x2023e3]=_0x50b768[_0x2b6214(0x2b2)](_0x50b768[_0x2b6214(0x369)](_0x2023e3+0x1))*0x100000000|0x0;}());var _0x52bc8b=_0x15196d[_0x4434a9(0x324)]=_0x121096['extend']({'_doReset':function(){var _0x574c5c=_0x4434a9;this['_hash']=new _0x4d76ed[(_0x574c5c(0x2cb))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xf3ba6,_0x117b1f){var _0x4e1562=_0x4434a9;for(var _0x2ad497=0x0;_0x2ad497<0x10;_0x2ad497++){var _0x38b678=_0x117b1f+_0x2ad497,_0x44b0ac=_0xf3ba6[_0x38b678];_0xf3ba6[_0x38b678]=(_0x44b0ac<<0x8|_0x44b0ac>>>0x18)&0xff00ff|(_0x44b0ac<<0x18|_0x44b0ac>>>0x8)&0xff00ff00;}var _0x428b83=this[_0x4e1562(0x220)][_0x4e1562(0x43e)],_0x5bf40e=_0xf3ba6[_0x117b1f+0x0],_0x267ddc=_0xf3ba6[_0x117b1f+0x1],_0x2c6b28=_0xf3ba6[_0x117b1f+0x2],_0x285a6e=_0xf3ba6[_0x117b1f+0x3],_0x4534f3=_0xf3ba6[_0x117b1f+0x4],_0x2c77be=_0xf3ba6[_0x117b1f+0x5],_0x31f0ad=_0xf3ba6[_0x117b1f+0x6],_0x32daaf=_0xf3ba6[_0x117b1f+0x7],_0x15f8ac=_0xf3ba6[_0x117b1f+0x8],_0x1d5c4a=_0xf3ba6[_0x117b1f+0x9],_0x3b94d7=_0xf3ba6[_0x117b1f+0xa],_0x2cdaf1=_0xf3ba6[_0x117b1f+0xb],_0xbbb499=_0xf3ba6[_0x117b1f+0xc],_0x30e871=_0xf3ba6[_0x117b1f+0xd],_0x52cc89=_0xf3ba6[_0x117b1f+0xe],_0x54115a=_0xf3ba6[_0x117b1f+0xf],_0x504901=_0x428b83[0x0],_0x5997c9=_0x428b83[0x1],_0x52960a=_0x428b83[0x2],_0x59a5a8=_0x428b83[0x3];_0x504901=_0x5dc0de(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x5bf40e,0x7,_0x3ec551[0x0]),_0x59a5a8=_0x5dc0de(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x267ddc,0xc,_0x3ec551[0x1]),_0x52960a=_0x5dc0de(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x2c6b28,0x11,_0x3ec551[0x2]),_0x5997c9=_0x5dc0de(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x285a6e,0x16,_0x3ec551[0x3]),_0x504901=_0x5dc0de(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x4534f3,0x7,_0x3ec551[0x4]),_0x59a5a8=_0x5dc0de(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x2c77be,0xc,_0x3ec551[0x5]),_0x52960a=_0x5dc0de(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x31f0ad,0x11,_0x3ec551[0x6]),_0x5997c9=_0x5dc0de(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x32daaf,0x16,_0x3ec551[0x7]),_0x504901=_0x5dc0de(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x15f8ac,0x7,_0x3ec551[0x8]),_0x59a5a8=_0x5dc0de(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x1d5c4a,0xc,_0x3ec551[0x9]),_0x52960a=_0x5dc0de(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x3b94d7,0x11,_0x3ec551[0xa]),_0x5997c9=_0x5dc0de(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x2cdaf1,0x16,_0x3ec551[0xb]),_0x504901=_0x5dc0de(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0xbbb499,0x7,_0x3ec551[0xc]),_0x59a5a8=_0x5dc0de(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x30e871,0xc,_0x3ec551[0xd]),_0x52960a=_0x5dc0de(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x52cc89,0x11,_0x3ec551[0xe]),_0x5997c9=_0x5dc0de(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x54115a,0x16,_0x3ec551[0xf]),_0x504901=_0x4485ce(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x267ddc,0x5,_0x3ec551[0x10]),_0x59a5a8=_0x4485ce(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x31f0ad,0x9,_0x3ec551[0x11]),_0x52960a=_0x4485ce(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x2cdaf1,0xe,_0x3ec551[0x12]),_0x5997c9=_0x4485ce(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x5bf40e,0x14,_0x3ec551[0x13]),_0x504901=_0x4485ce(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x2c77be,0x5,_0x3ec551[0x14]),_0x59a5a8=_0x4485ce(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x3b94d7,0x9,_0x3ec551[0x15]),_0x52960a=_0x4485ce(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x54115a,0xe,_0x3ec551[0x16]),_0x5997c9=_0x4485ce(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x4534f3,0x14,_0x3ec551[0x17]),_0x504901=_0x4485ce(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x1d5c4a,0x5,_0x3ec551[0x18]),_0x59a5a8=_0x4485ce(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x52cc89,0x9,_0x3ec551[0x19]),_0x52960a=_0x4485ce(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x285a6e,0xe,_0x3ec551[0x1a]),_0x5997c9=_0x4485ce(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x15f8ac,0x14,_0x3ec551[0x1b]),_0x504901=_0x4485ce(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x30e871,0x5,_0x3ec551[0x1c]),_0x59a5a8=_0x4485ce(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x2c6b28,0x9,_0x3ec551[0x1d]),_0x52960a=_0x4485ce(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x32daaf,0xe,_0x3ec551[0x1e]),_0x5997c9=_0x4485ce(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0xbbb499,0x14,_0x3ec551[0x1f]),_0x504901=_0x194450(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x2c77be,0x4,_0x3ec551[0x20]),_0x59a5a8=_0x194450(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x15f8ac,0xb,_0x3ec551[0x21]),_0x52960a=_0x194450(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x2cdaf1,0x10,_0x3ec551[0x22]),_0x5997c9=_0x194450(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x52cc89,0x17,_0x3ec551[0x23]),_0x504901=_0x194450(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x267ddc,0x4,_0x3ec551[0x24]),_0x59a5a8=_0x194450(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x4534f3,0xb,_0x3ec551[0x25]),_0x52960a=_0x194450(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x32daaf,0x10,_0x3ec551[0x26]),_0x5997c9=_0x194450(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x3b94d7,0x17,_0x3ec551[0x27]),_0x504901=_0x194450(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x30e871,0x4,_0x3ec551[0x28]),_0x59a5a8=_0x194450(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x5bf40e,0xb,_0x3ec551[0x29]),_0x52960a=_0x194450(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x285a6e,0x10,_0x3ec551[0x2a]),_0x5997c9=_0x194450(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x31f0ad,0x17,_0x3ec551[0x2b]),_0x504901=_0x194450(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x1d5c4a,0x4,_0x3ec551[0x2c]),_0x59a5a8=_0x194450(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0xbbb499,0xb,_0x3ec551[0x2d]),_0x52960a=_0x194450(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x54115a,0x10,_0x3ec551[0x2e]),_0x5997c9=_0x194450(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x2c6b28,0x17,_0x3ec551[0x2f]),_0x504901=_0x2f2472(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x5bf40e,0x6,_0x3ec551[0x30]),_0x59a5a8=_0x2f2472(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x32daaf,0xa,_0x3ec551[0x31]),_0x52960a=_0x2f2472(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x52cc89,0xf,_0x3ec551[0x32]),_0x5997c9=_0x2f2472(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x2c77be,0x15,_0x3ec551[0x33]),_0x504901=_0x2f2472(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0xbbb499,0x6,_0x3ec551[0x34]),_0x59a5a8=_0x2f2472(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x285a6e,0xa,_0x3ec551[0x35]),_0x52960a=_0x2f2472(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x3b94d7,0xf,_0x3ec551[0x36]),_0x5997c9=_0x2f2472(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x267ddc,0x15,_0x3ec551[0x37]),_0x504901=_0x2f2472(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x15f8ac,0x6,_0x3ec551[0x38]),_0x59a5a8=_0x2f2472(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x54115a,0xa,_0x3ec551[0x39]),_0x52960a=_0x2f2472(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x31f0ad,0xf,_0x3ec551[0x3a]),_0x5997c9=_0x2f2472(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x30e871,0x15,_0x3ec551[0x3b]),_0x504901=_0x2f2472(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x4534f3,0x6,_0x3ec551[0x3c]),_0x59a5a8=_0x2f2472(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x2cdaf1,0xa,_0x3ec551[0x3d]),_0x52960a=_0x2f2472(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x2c6b28,0xf,_0x3ec551[0x3e]),_0x5997c9=_0x2f2472(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x1d5c4a,0x15,_0x3ec551[0x3f]),_0x428b83[0x0]=_0x428b83[0x0]+_0x504901|0x0,_0x428b83[0x1]=_0x428b83[0x1]+_0x5997c9|0x0,_0x428b83[0x2]=_0x428b83[0x2]+_0x52960a|0x0,_0x428b83[0x3]=_0x428b83[0x3]+_0x59a5a8|0x0;},'_doFinalize':function(){var _0x1a3a2e=_0x4434a9,_0x41ea64=this[_0x1a3a2e(0x378)],_0xd1783f=_0x41ea64[_0x1a3a2e(0x43e)],_0x505979=this[_0x1a3a2e(0x475)]*0x8,_0xf57fbb=_0x41ea64[_0x1a3a2e(0x3ea)]*0x8;_0xd1783f[_0xf57fbb>>>0x5]|=0x80<<0x18-_0xf57fbb%0x20;var _0x3919cc=_0x50b768[_0x1a3a2e(0x441)](_0x505979/0x100000000),_0x4bbb7a=_0x505979;_0xd1783f[(_0xf57fbb+0x40>>>0x9<<0x4)+0xf]=(_0x3919cc<<0x8|_0x3919cc>>>0x18)&0xff00ff|(_0x3919cc<<0x18|_0x3919cc>>>0x8)&0xff00ff00,_0xd1783f[(_0xf57fbb+0x40>>>0x9<<0x4)+0xe]=(_0x4bbb7a<<0x8|_0x4bbb7a>>>0x18)&0xff00ff|(_0x4bbb7a<<0x18|_0x4bbb7a>>>0x8)&0xff00ff00,_0x41ea64['sigBytes']=(_0xd1783f[_0x1a3a2e(0x20c)]+0x1)*0x4,this[_0x1a3a2e(0x239)]();for(var _0x170465=this[_0x1a3a2e(0x220)],_0x47b5f2=_0x170465[_0x1a3a2e(0x43e)],_0x57cbde=0x0;_0x57cbde<0x4;_0x57cbde++){var _0x323a3c=_0x47b5f2[_0x57cbde];_0x47b5f2[_0x57cbde]=(_0x323a3c<<0x8|_0x323a3c>>>0x18)&0xff00ff|(_0x323a3c<<0x18|_0x323a3c>>>0x8)&0xff00ff00;}return _0x170465;},'clone':function(){var _0x3555f0=_0x4434a9,_0x431b2c=_0x121096[_0x3555f0(0x211)][_0x3555f0(0x1c4)](this);return _0x431b2c[_0x3555f0(0x220)]=this[_0x3555f0(0x220)][_0x3555f0(0x211)](),_0x431b2c;}});function _0x5dc0de(_0x592460,_0x5d36db,_0x3f701e,_0x4f90b1,_0x98cbef,_0x16cabf,_0x26d5a2){var _0x3c089b=_0x592460+(_0x5d36db&_0x3f701e|~_0x5d36db&_0x4f90b1)+_0x98cbef+_0x26d5a2;return(_0x3c089b<<_0x16cabf|_0x3c089b>>>0x20-_0x16cabf)+_0x5d36db;}function _0x4485ce(_0x40a1c5,_0x1b59cc,_0x2dfbf0,_0x528031,_0xbbe311,_0x1dafcc,_0x4571d0){var _0x79a3cf=_0x40a1c5+(_0x1b59cc&_0x528031|_0x2dfbf0&~_0x528031)+_0xbbe311+_0x4571d0;return(_0x79a3cf<<_0x1dafcc|_0x79a3cf>>>0x20-_0x1dafcc)+_0x1b59cc;}function _0x194450(_0x3cf06f,_0x251c63,_0x1e7484,_0x418e47,_0x3ab857,_0x34921f,_0x43b049){var _0xaf474c=_0x3cf06f+(_0x251c63^_0x1e7484^_0x418e47)+_0x3ab857+_0x43b049;return(_0xaf474c<<_0x34921f|_0xaf474c>>>0x20-_0x34921f)+_0x251c63;}function _0x2f2472(_0x413cd5,_0x2483ff,_0x1ab8f8,_0x1e63f8,_0x189ee9,_0x1def58,_0x3fe1c6){var _0x46c4b4=_0x413cd5+(_0x1ab8f8^(_0x2483ff|~_0x1e63f8))+_0x189ee9+_0x3fe1c6;return(_0x46c4b4<<_0x1def58|_0x46c4b4>>>0x20-_0x1def58)+_0x2483ff;}_0x1129d8[_0x4434a9(0x324)]=_0x121096[_0x4434a9(0x37a)](_0x52bc8b),_0x1129d8[_0x4434a9(0x28e)]=_0x121096[_0x4434a9(0x20d)](_0x52bc8b);}(Math),_0x50d879[_0x190e01(0x324)];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x384d48(0x27b)],ti;function Hr(){var _0x5f1f8d=_0x384d48;return ti||(ti=0x1,function(_0x563144,_0x23924a){(function(_0x586c70,_0x2bdc3a){_0x563144['exports']=_0x2bdc3a(ne());}($r,function(_0x337986){return(function(){var _0x4c93b1=_0x56fc,_0x3c745e=_0x337986,_0x4c53db=_0x3c745e[_0x4c93b1(0x309)],_0x2054a7=_0x4c53db['WordArray'],_0x4abdf4=_0x4c53db[_0x4c93b1(0x185)],_0x18fa89=_0x3c745e[_0x4c93b1(0x3da)],_0x426f65=[],_0x35f4db=_0x18fa89[_0x4c93b1(0x174)]=_0x4abdf4[_0x4c93b1(0x265)]({'_doReset':function(){var _0xecf693=_0x4c93b1;this[_0xecf693(0x220)]=new _0x2054a7['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5b71c6,_0x56db6e){var _0x28957b=_0x4c93b1;for(var _0x538fad=this[_0x28957b(0x220)][_0x28957b(0x43e)],_0x1162a3=_0x538fad[0x0],_0x218bd4=_0x538fad[0x1],_0x2dbce6=_0x538fad[0x2],_0x2033fa=_0x538fad[0x3],_0x2fac26=_0x538fad[0x4],_0x172f12=0x0;_0x172f12<0x50;_0x172f12++){if(_0x172f12<0x10)_0x426f65[_0x172f12]=_0x5b71c6[_0x56db6e+_0x172f12]|0x0;else{var _0x169604=_0x426f65[_0x172f12-0x3]^_0x426f65[_0x172f12-0x8]^_0x426f65[_0x172f12-0xe]^_0x426f65[_0x172f12-0x10];_0x426f65[_0x172f12]=_0x169604<<0x1|_0x169604>>>0x1f;}var _0x39defd=(_0x1162a3<<0x5|_0x1162a3>>>0x1b)+_0x2fac26+_0x426f65[_0x172f12];_0x172f12<0x14?_0x39defd+=(_0x218bd4&_0x2dbce6|~_0x218bd4&_0x2033fa)+0x5a827999:_0x172f12<0x28?_0x39defd+=(_0x218bd4^_0x2dbce6^_0x2033fa)+0x6ed9eba1:_0x172f12<0x3c?_0x39defd+=(_0x218bd4&_0x2dbce6|_0x218bd4&_0x2033fa|_0x2dbce6&_0x2033fa)-0x70e44324:_0x39defd+=(_0x218bd4^_0x2dbce6^_0x2033fa)-0x359d3e2a,_0x2fac26=_0x2033fa,_0x2033fa=_0x2dbce6,_0x2dbce6=_0x218bd4<<0x1e|_0x218bd4>>>0x2,_0x218bd4=_0x1162a3,_0x1162a3=_0x39defd;}_0x538fad[0x0]=_0x538fad[0x0]+_0x1162a3|0x0,_0x538fad[0x1]=_0x538fad[0x1]+_0x218bd4|0x0,_0x538fad[0x2]=_0x538fad[0x2]+_0x2dbce6|0x0,_0x538fad[0x3]=_0x538fad[0x3]+_0x2033fa|0x0,_0x538fad[0x4]=_0x538fad[0x4]+_0x2fac26|0x0;},'_doFinalize':function(){var _0x312976=_0x4c93b1,_0x26f741=this[_0x312976(0x378)],_0x25c57c=_0x26f741[_0x312976(0x43e)],_0x34332b=this[_0x312976(0x475)]*0x8,_0x5f1471=_0x26f741[_0x312976(0x3ea)]*0x8;return _0x25c57c[_0x5f1471>>>0x5]|=0x80<<0x18-_0x5f1471%0x20,_0x25c57c[(_0x5f1471+0x40>>>0x9<<0x4)+0xe]=Math[_0x312976(0x441)](_0x34332b/0x100000000),_0x25c57c[(_0x5f1471+0x40>>>0x9<<0x4)+0xf]=_0x34332b,_0x26f741[_0x312976(0x3ea)]=_0x25c57c[_0x312976(0x20c)]*0x4,this[_0x312976(0x239)](),this[_0x312976(0x220)];},'clone':function(){var _0x58148a=_0x4c93b1,_0x206b36=_0x4abdf4[_0x58148a(0x211)][_0x58148a(0x1c4)](this);return _0x206b36['_hash']=this['_hash'][_0x58148a(0x211)](),_0x206b36;}});_0x3c745e[_0x4c93b1(0x174)]=_0x4abdf4[_0x4c93b1(0x37a)](_0x35f4db),_0x3c745e['HmacSHA1']=_0x4abdf4[_0x4c93b1(0x20d)](_0x35f4db);}()),_0x337986['SHA1'];}));}(qe)),qe[_0x5f1f8d(0x27b)];}var ze={'exports':{}},kr=ze['exports'],ii;function jr(){return ii||(ii=0x1,function(_0x26d51b,_0x5bfe00){(function(_0x86f352,_0x3e3492){var _0x438ea1=_0x56fc;_0x26d51b[_0x438ea1(0x27b)]=_0x3e3492(ne());}(kr,function(_0x7359fa){(function(){var _0x5bb989=_0x56fc,_0x310f47=_0x7359fa,_0x5e7752=_0x310f47[_0x5bb989(0x309)],_0x341e16=_0x5e7752['Base'],_0x28f009=_0x310f47['enc'],_0x182436=_0x28f009[_0x5bb989(0x187)],_0x5e964a=_0x310f47[_0x5bb989(0x3da)];_0x5e964a['HMAC']=_0x341e16[_0x5bb989(0x265)]({'init':function(_0x48b0ca,_0x3f3de6){var _0x2f5ef9=_0x5bb989;_0x48b0ca=this[_0x2f5ef9(0x457)]=new _0x48b0ca['init'](),typeof _0x3f3de6=='string'&&(_0x3f3de6=_0x182436[_0x2f5ef9(0x2e8)](_0x3f3de6));var _0x1e561e=_0x48b0ca[_0x2f5ef9(0x30a)],_0x4bb0bc=_0x1e561e*0x4;_0x3f3de6['sigBytes']>_0x4bb0bc&&(_0x3f3de6=_0x48b0ca[_0x2f5ef9(0x1f3)](_0x3f3de6)),_0x3f3de6['clamp']();for(var _0x183c70=this[_0x2f5ef9(0x1d0)]=_0x3f3de6[_0x2f5ef9(0x211)](),_0x3bfbe5=this[_0x2f5ef9(0x182)]=_0x3f3de6['clone'](),_0x24e073=_0x183c70[_0x2f5ef9(0x43e)],_0x74299c=_0x3bfbe5[_0x2f5ef9(0x43e)],_0x5dc9a0=0x0;_0x5dc9a0<_0x1e561e;_0x5dc9a0++)_0x24e073[_0x5dc9a0]^=0x5c5c5c5c,_0x74299c[_0x5dc9a0]^=0x36363636;_0x183c70[_0x2f5ef9(0x3ea)]=_0x3bfbe5[_0x2f5ef9(0x3ea)]=_0x4bb0bc,this[_0x2f5ef9(0x3d8)]();},'reset':function(){var _0x2d0516=_0x5bb989,_0x1915ef=this[_0x2d0516(0x457)];_0x1915ef[_0x2d0516(0x3d8)](),_0x1915ef[_0x2d0516(0x1de)](this['_iKey']);},'update':function(_0x2b66ba){var _0x410da8=_0x5bb989;return this[_0x410da8(0x457)][_0x410da8(0x1de)](_0x2b66ba),this;},'finalize':function(_0x4094f8){var _0x412e76=_0x5bb989,_0x1598fc=this[_0x412e76(0x457)],_0x2ed99b=_0x1598fc[_0x412e76(0x1f3)](_0x4094f8);_0x1598fc['reset']();var _0x34485f=_0x1598fc[_0x412e76(0x1f3)](this['_oKey'][_0x412e76(0x211)]()[_0x412e76(0x2d6)](_0x2ed99b));return _0x34485f;}});}());}));}(ze)),ze['exports'];}var Br=Ye[_0x384d48(0x27b)],ni;function Ui(){var _0x56fd05=_0x384d48;return ni||(ni=0x1,function(_0x43ee2b,_0x2ae705){(function(_0x1a703b,_0x2111ad,_0x5571d2){var _0x3af775=_0x56fc;_0x43ee2b[_0x3af775(0x27b)]=_0x2111ad(ne(),Hr(),jr());}(Br,function(_0x4b9294){var _0x40fa39=_0x56fc;return(function(){var _0x2a12da=_0x56fc,_0xf034a7=_0x4b9294,_0x42346b=_0xf034a7[_0x2a12da(0x309)],_0x5861e2=_0x42346b[_0x2a12da(0x392)],_0x1b449f=_0x42346b[_0x2a12da(0x22a)],_0x16082c=_0xf034a7[_0x2a12da(0x3da)],_0x9e4ae9=_0x16082c[_0x2a12da(0x324)],_0x37b8bd=_0x16082c['EvpKDF']=_0x5861e2[_0x2a12da(0x265)]({'cfg':_0x5861e2[_0x2a12da(0x265)]({'keySize':0x80/0x20,'hasher':_0x9e4ae9,'iterations':0x1}),'init':function(_0x461fb6){var _0x5c1b05=_0x2a12da;this[_0x5c1b05(0x379)]=this[_0x5c1b05(0x379)][_0x5c1b05(0x265)](_0x461fb6);},'compute':function(_0x20d3c6,_0x2457ff){var _0x850bf0=_0x2a12da;for(var _0x27901f,_0x3978f6=this['cfg'],_0x7ddc95=_0x3978f6[_0x850bf0(0x1aa)][_0x850bf0(0x1c5)](),_0x5d3ca5=_0x1b449f['create'](),_0x728761=_0x5d3ca5[_0x850bf0(0x43e)],_0x36b89c=_0x3978f6['keySize'],_0x58e436=_0x3978f6[_0x850bf0(0x1ef)];_0x728761[_0x850bf0(0x20c)]<_0x36b89c;){_0x27901f&&_0x7ddc95[_0x850bf0(0x1de)](_0x27901f),_0x27901f=_0x7ddc95['update'](_0x20d3c6)[_0x850bf0(0x1f3)](_0x2457ff),_0x7ddc95[_0x850bf0(0x3d8)]();for(var _0x2867ef=0x1;_0x2867ef<_0x58e436;_0x2867ef++)_0x27901f=_0x7ddc95[_0x850bf0(0x1f3)](_0x27901f),_0x7ddc95[_0x850bf0(0x3d8)]();_0x5d3ca5[_0x850bf0(0x2d6)](_0x27901f);}return _0x5d3ca5[_0x850bf0(0x3ea)]=_0x36b89c*0x4,_0x5d3ca5;}});_0xf034a7[_0x2a12da(0x23c)]=function(_0x46ba1f,_0x175119,_0x41d805){return _0x37b8bd['create'](_0x41d805)['compute'](_0x46ba1f,_0x175119);};}()),_0x4b9294[_0x40fa39(0x23c)];}));}(Ye)),Ye[_0x56fd05(0x27b)];}var Je={'exports':{}},Fr=Je[_0x384d48(0x27b)],ri;function Ai(){var _0x396254=_0x384d48;return ri||(ri=0x1,function(_0x4f1b91,_0x5f4ed1){(function(_0x54ac98,_0xffb0fa,_0x590e1d){_0x4f1b91['exports']=_0xffb0fa(ne(),Ui());}(Fr,function(_0x4c6262){var _0x550e6b=_0x56fc;_0x4c6262[_0x550e6b(0x309)][_0x550e6b(0x16f)]||function(_0x3b30fe){var _0x5b5ed8=_0x550e6b,_0x11a86f=_0x4c6262,_0x5bbfdf=_0x11a86f[_0x5b5ed8(0x309)],_0x3a308e=_0x5bbfdf[_0x5b5ed8(0x392)],_0x120f18=_0x5bbfdf[_0x5b5ed8(0x22a)],_0x40f2ea=_0x5bbfdf[_0x5b5ed8(0x3a4)],_0x548754=_0x11a86f[_0x5b5ed8(0x303)];_0x548754[_0x5b5ed8(0x187)];var _0x1c3b04=_0x548754[_0x5b5ed8(0x300)],_0x257d73=_0x11a86f['algo'],_0xcf2768=_0x257d73[_0x5b5ed8(0x23c)],_0xf51a43=_0x5bbfdf[_0x5b5ed8(0x16f)]=_0x40f2ea['extend']({'cfg':_0x3a308e['extend'](),'createEncryptor':function(_0x3e1478,_0x4c3014){var _0x53faa3=_0x5b5ed8;return this[_0x53faa3(0x1c5)](this[_0x53faa3(0x2d2)],_0x3e1478,_0x4c3014);},'createDecryptor':function(_0x7708b9,_0x492762){var _0x1beb09=_0x5b5ed8;return this['create'](this[_0x1beb09(0x1c3)],_0x7708b9,_0x492762);},'init':function(_0x438856,_0x3bd56c,_0x48cc9f){var _0x3bf072=_0x5b5ed8;this[_0x3bf072(0x379)]=this['cfg'][_0x3bf072(0x265)](_0x48cc9f),this[_0x3bf072(0x313)]=_0x438856,this[_0x3bf072(0x3d3)]=_0x3bd56c,this[_0x3bf072(0x3d8)]();},'reset':function(){_0x40f2ea['reset']['call'](this),this['_doReset']();},'process':function(_0xa15993){var _0x32ae68=_0x5b5ed8;return this[_0x32ae68(0x21b)](_0xa15993),this[_0x32ae68(0x239)]();},'finalize':function(_0x4017b2){var _0x427810=_0x5b5ed8;_0x4017b2&&this[_0x427810(0x21b)](_0x4017b2);var _0x267628=this['_doFinalize']();return _0x267628;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x411784(_0x5113ca){var _0x327f47=_0x56fc;return typeof _0x5113ca==_0x327f47(0x3c1)?_0x20cb6b:_0x3051a5;}return function(_0xc9af75){return{'encrypt':function(_0x22e6c2,_0x3aa5a2,_0x36ecb6){var _0x17898a=_0x56fc;return _0x411784(_0x3aa5a2)[_0x17898a(0x2cf)](_0xc9af75,_0x22e6c2,_0x3aa5a2,_0x36ecb6);},'decrypt':function(_0x51ff26,_0x2fe514,_0x2b8fd1){var _0x139408=_0x56fc;return _0x411784(_0x2fe514)[_0x139408(0x469)](_0xc9af75,_0x51ff26,_0x2fe514,_0x2b8fd1);}};};}())});_0x5bbfdf['StreamCipher']=_0xf51a43[_0x5b5ed8(0x265)]({'_doFinalize':function(){var _0x4e1514=_0x5b5ed8,_0x217013=this[_0x4e1514(0x239)](!0x0);return _0x217013;},'blockSize':0x1});var _0x2c0ad6=_0x11a86f['mode']={},_0x2dc358=_0x5bbfdf[_0x5b5ed8(0x417)]=_0x3a308e['extend']({'createEncryptor':function(_0x367e76,_0x2b0068){var _0x2965a5=_0x5b5ed8;return this[_0x2965a5(0x330)]['create'](_0x367e76,_0x2b0068);},'createDecryptor':function(_0x397ce0,_0x57a1b3){var _0x3ee5fb=_0x5b5ed8;return this[_0x3ee5fb(0x2f1)][_0x3ee5fb(0x1c5)](_0x397ce0,_0x57a1b3);},'init':function(_0x499cc7,_0xfd1490){var _0x50a291=_0x5b5ed8;this[_0x50a291(0x316)]=_0x499cc7,this['_iv']=_0xfd1490;}}),_0x142bd3=_0x2c0ad6[_0x5b5ed8(0x297)]=(function(){var _0x4e45ac=_0x5b5ed8,_0x4a6b0c=_0x2dc358['extend']();_0x4a6b0c[_0x4e45ac(0x330)]=_0x4a6b0c[_0x4e45ac(0x265)]({'processBlock':function(_0x34c17f,_0x2bcf34){var _0x59de7b=_0x4e45ac,_0x337c84=this[_0x59de7b(0x316)],_0x1fae95=_0x337c84[_0x59de7b(0x30a)];_0x453a13[_0x59de7b(0x1c4)](this,_0x34c17f,_0x2bcf34,_0x1fae95),_0x337c84[_0x59de7b(0x3e6)](_0x34c17f,_0x2bcf34),this[_0x59de7b(0x31e)]=_0x34c17f['slice'](_0x2bcf34,_0x2bcf34+_0x1fae95);}}),_0x4a6b0c[_0x4e45ac(0x2f1)]=_0x4a6b0c[_0x4e45ac(0x265)]({'processBlock':function(_0x3a53f6,_0x46b311){var _0x269066=_0x4e45ac,_0x3a9d23=this[_0x269066(0x316)],_0x46875a=_0x3a9d23['blockSize'],_0x6ede97=_0x3a53f6['slice'](_0x46b311,_0x46b311+_0x46875a);_0x3a9d23[_0x269066(0x3e0)](_0x3a53f6,_0x46b311),_0x453a13[_0x269066(0x1c4)](this,_0x3a53f6,_0x46b311,_0x46875a),this[_0x269066(0x31e)]=_0x6ede97;}});function _0x453a13(_0x4f90b2,_0x1b17c3,_0x124144){var _0x302741=_0x4e45ac,_0x34cd79,_0x4f1de6=this['_iv'];_0x4f1de6?(_0x34cd79=_0x4f1de6,this[_0x302741(0x224)]=_0x3b30fe):_0x34cd79=this[_0x302741(0x31e)];for(var _0x18d6d0=0x0;_0x18d6d0<_0x124144;_0x18d6d0++)_0x4f90b2[_0x1b17c3+_0x18d6d0]^=_0x34cd79[_0x18d6d0];}return _0x4a6b0c;}()),_0x4a9572=_0x11a86f[_0x5b5ed8(0x404)]={},_0x45b723=_0x4a9572[_0x5b5ed8(0x282)]={'pad':function(_0x14cbc0,_0x2b9edd){var _0xbea982=_0x5b5ed8;for(var _0x2b5387=_0x2b9edd*0x4,_0x39e447=_0x2b5387-_0x14cbc0[_0xbea982(0x3ea)]%_0x2b5387,_0x35df06=_0x39e447<<0x18|_0x39e447<<0x10|_0x39e447<<0x8|_0x39e447,_0x51f499=[],_0x182637=0x0;_0x182637<_0x39e447;_0x182637+=0x4)_0x51f499[_0xbea982(0x372)](_0x35df06);var _0x54ae12=_0x120f18[_0xbea982(0x1c5)](_0x51f499,_0x39e447);_0x14cbc0[_0xbea982(0x2d6)](_0x54ae12);},'unpad':function(_0x4f17cd){var _0x40c825=_0x5b5ed8,_0x9bc7b1=_0x4f17cd[_0x40c825(0x43e)][_0x4f17cd[_0x40c825(0x3ea)]-0x1>>>0x2]&0xff;_0x4f17cd[_0x40c825(0x3ea)]-=_0x9bc7b1;}};_0x5bbfdf['BlockCipher']=_0xf51a43[_0x5b5ed8(0x265)]({'cfg':_0xf51a43[_0x5b5ed8(0x379)][_0x5b5ed8(0x265)]({'mode':_0x142bd3,'padding':_0x45b723}),'reset':function(){var _0x2b31c2=_0x5b5ed8,_0x56f29f;_0xf51a43[_0x2b31c2(0x3d8)][_0x2b31c2(0x1c4)](this);var _0x1e1bff=this['cfg'],_0x5ba496=_0x1e1bff['iv'],_0x419b35=_0x1e1bff[_0x2b31c2(0x18c)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x56f29f=_0x419b35[_0x2b31c2(0x1e7)]:(_0x56f29f=_0x419b35[_0x2b31c2(0x36b)],this[_0x2b31c2(0x209)]=0x1),this[_0x2b31c2(0x1dc)]&&this[_0x2b31c2(0x1dc)][_0x2b31c2(0x35b)]==_0x56f29f?this[_0x2b31c2(0x1dc)][_0x2b31c2(0x2cb)](this,_0x5ba496&&_0x5ba496[_0x2b31c2(0x43e)]):(this[_0x2b31c2(0x1dc)]=_0x56f29f['call'](_0x419b35,this,_0x5ba496&&_0x5ba496['words']),this[_0x2b31c2(0x1dc)][_0x2b31c2(0x35b)]=_0x56f29f);},'_doProcessBlock':function(_0x3c6d35,_0x523a76){var _0xbd5d5d=_0x5b5ed8;this[_0xbd5d5d(0x1dc)][_0xbd5d5d(0x2f6)](_0x3c6d35,_0x523a76);},'_doFinalize':function(){var _0x251972=_0x5b5ed8,_0x2f9596,_0x4c74bb=this[_0x251972(0x379)][_0x251972(0x398)];return this['_xformMode']==this[_0x251972(0x2d2)]?(_0x4c74bb[_0x251972(0x404)](this['_data'],this[_0x251972(0x30a)]),_0x2f9596=this['_process'](!0x0)):(_0x2f9596=this[_0x251972(0x239)](!0x0),_0x4c74bb['unpad'](_0x2f9596)),_0x2f9596;},'blockSize':0x80/0x20});var _0xcb14d7=_0x5bbfdf[_0x5b5ed8(0x36c)]=_0x3a308e['extend']({'init':function(_0x478d0f){var _0x2216c2=_0x5b5ed8;this[_0x2216c2(0x3bc)](_0x478d0f);},'toString':function(_0x2e146c){var _0x51623b=_0x5b5ed8;return(_0x2e146c||this[_0x51623b(0x17d)])[_0x51623b(0x3a9)](this);}}),_0x15814b=_0x11a86f[_0x5b5ed8(0x45d)]={},_0x3f03c6=_0x15814b[_0x5b5ed8(0x3f3)]={'stringify':function(_0x14eafd){var _0x59c0c3=_0x5b5ed8,_0x343cbd,_0xaa3fa9=_0x14eafd[_0x59c0c3(0x262)],_0x3ca2fd=_0x14eafd[_0x59c0c3(0x228)];return _0x3ca2fd?_0x343cbd=_0x120f18[_0x59c0c3(0x1c5)]([0x53616c74,0x65645f5f])[_0x59c0c3(0x2d6)](_0x3ca2fd)[_0x59c0c3(0x2d6)](_0xaa3fa9):_0x343cbd=_0xaa3fa9,_0x343cbd['toString'](_0x1c3b04);},'parse':function(_0x41cbea){var _0x7f6e6d=_0x5b5ed8,_0x59b31c,_0x4e0a02=_0x1c3b04[_0x7f6e6d(0x2e8)](_0x41cbea),_0x4962d8=_0x4e0a02[_0x7f6e6d(0x43e)];return _0x4962d8[0x0]==0x53616c74&&_0x4962d8[0x1]==0x65645f5f&&(_0x59b31c=_0x120f18['create'](_0x4962d8[_0x7f6e6d(0x1fc)](0x2,0x4)),_0x4962d8[_0x7f6e6d(0x23e)](0x0,0x4),_0x4e0a02[_0x7f6e6d(0x3ea)]-=0x10),_0xcb14d7['create']({'ciphertext':_0x4e0a02,'salt':_0x59b31c});}},_0x3051a5=_0x5bbfdf[_0x5b5ed8(0x2a6)]=_0x3a308e['extend']({'cfg':_0x3a308e[_0x5b5ed8(0x265)]({'format':_0x3f03c6}),'encrypt':function(_0x86f598,_0x198c26,_0x4754ed,_0x19b72f){var _0x1c4508=_0x5b5ed8;_0x19b72f=this['cfg']['extend'](_0x19b72f);var _0x14106e=_0x86f598[_0x1c4508(0x1e7)](_0x4754ed,_0x19b72f),_0x5f92e=_0x14106e[_0x1c4508(0x1f3)](_0x198c26),_0x3477e5=_0x14106e['cfg'];return _0xcb14d7[_0x1c4508(0x1c5)]({'ciphertext':_0x5f92e,'key':_0x4754ed,'iv':_0x3477e5['iv'],'algorithm':_0x86f598,'mode':_0x3477e5[_0x1c4508(0x18c)],'padding':_0x3477e5['padding'],'blockSize':_0x86f598[_0x1c4508(0x30a)],'formatter':_0x19b72f[_0x1c4508(0x45d)]});},'decrypt':function(_0x5cbe35,_0x3917c6,_0x3a7709,_0x33e909){var _0x2ec7f3=_0x5b5ed8;_0x33e909=this[_0x2ec7f3(0x379)][_0x2ec7f3(0x265)](_0x33e909),_0x3917c6=this[_0x2ec7f3(0x317)](_0x3917c6,_0x33e909[_0x2ec7f3(0x45d)]);var _0x349e80=_0x5cbe35['createDecryptor'](_0x3a7709,_0x33e909)[_0x2ec7f3(0x1f3)](_0x3917c6[_0x2ec7f3(0x262)]);return _0x349e80;},'_parse':function(_0xed3b30,_0x3fead3){var _0x2bb44a=_0x5b5ed8;return typeof _0xed3b30==_0x2bb44a(0x3c1)?_0x3fead3[_0x2bb44a(0x2e8)](_0xed3b30,this):_0xed3b30;}}),_0x3bcd67=_0x11a86f[_0x5b5ed8(0x463)]={},_0x5a6b1a=_0x3bcd67['OpenSSL']={'execute':function(_0x26ff4b,_0x1fd6cb,_0x3caafa,_0x3b7303,_0x19d246){var _0x3020db=_0x5b5ed8;if(_0x3b7303||(_0x3b7303=_0x120f18[_0x3020db(0x434)](0x40/0x8)),_0x19d246)var _0x4602f8=_0xcf2768[_0x3020db(0x1c5)]({'keySize':_0x1fd6cb+_0x3caafa,'hasher':_0x19d246})[_0x3020db(0x19d)](_0x26ff4b,_0x3b7303);else var _0x4602f8=_0xcf2768[_0x3020db(0x1c5)]({'keySize':_0x1fd6cb+_0x3caafa})['compute'](_0x26ff4b,_0x3b7303);var _0x490fd0=_0x120f18[_0x3020db(0x1c5)](_0x4602f8[_0x3020db(0x43e)][_0x3020db(0x1fc)](_0x1fd6cb),_0x3caafa*0x4);return _0x4602f8[_0x3020db(0x3ea)]=_0x1fd6cb*0x4,_0xcb14d7[_0x3020db(0x1c5)]({'key':_0x4602f8,'iv':_0x490fd0,'salt':_0x3b7303});}},_0x20cb6b=_0x5bbfdf[_0x5b5ed8(0x1e9)]=_0x3051a5['extend']({'cfg':_0x3051a5[_0x5b5ed8(0x379)]['extend']({'kdf':_0x5a6b1a}),'encrypt':function(_0x479378,_0x44268f,_0x5ed514,_0x228dc7){var _0x1985b2=_0x5b5ed8;_0x228dc7=this['cfg'][_0x1985b2(0x265)](_0x228dc7);var _0x1a1bfd=_0x228dc7[_0x1985b2(0x463)][_0x1985b2(0x431)](_0x5ed514,_0x479378[_0x1985b2(0x2c5)],_0x479378[_0x1985b2(0x2e4)],_0x228dc7[_0x1985b2(0x228)],_0x228dc7['hasher']);_0x228dc7['iv']=_0x1a1bfd['iv'];var _0x675530=_0x3051a5['encrypt'][_0x1985b2(0x1c4)](this,_0x479378,_0x44268f,_0x1a1bfd[_0x1985b2(0x36e)],_0x228dc7);return _0x675530[_0x1985b2(0x3bc)](_0x1a1bfd),_0x675530;},'decrypt':function(_0x1d54e2,_0x4f5a7a,_0x53184d,_0xe03eea){var _0x4e8542=_0x5b5ed8;_0xe03eea=this[_0x4e8542(0x379)][_0x4e8542(0x265)](_0xe03eea),_0x4f5a7a=this[_0x4e8542(0x317)](_0x4f5a7a,_0xe03eea[_0x4e8542(0x45d)]);var _0x1c3126=_0xe03eea[_0x4e8542(0x463)]['execute'](_0x53184d,_0x1d54e2[_0x4e8542(0x2c5)],_0x1d54e2[_0x4e8542(0x2e4)],_0x4f5a7a[_0x4e8542(0x228)],_0xe03eea[_0x4e8542(0x1aa)]);_0xe03eea['iv']=_0x1c3126['iv'];var _0x477d97=_0x3051a5[_0x4e8542(0x469)][_0x4e8542(0x1c4)](this,_0x1d54e2,_0x4f5a7a,_0x1c3126['key'],_0xe03eea);return _0x477d97;}});}();}));}(Je)),Je[_0x396254(0x27b)];}var Vr=Ve[_0x384d48(0x27b)],si;function Gr(){var _0x4e58b2=_0x384d48;return si||(si=0x1,function(_0x41277d,_0x5ee81a){(function(_0x5b733c,_0x7fda5e,_0x29b2f3){var _0x3009e7=_0x56fc;_0x41277d[_0x3009e7(0x27b)]=_0x7fda5e(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x15e89b){var _0x44c505=_0x56fc;return(function(){var _0x2d9dfe=_0x56fc,_0x316dd1=_0x15e89b,_0x38380f=_0x316dd1[_0x2d9dfe(0x309)],_0x1f975e=_0x38380f[_0x2d9dfe(0x1f7)],_0xd2ca4f=_0x316dd1[_0x2d9dfe(0x3da)],_0x2c67f5=[],_0x3bf298=[],_0x11725d=[],_0x1d6047=[],_0x64eb2=[],_0x249049=[],_0x1e8814=[],_0x12bc8d=[],_0x157793=[],_0x48ec2a=[];(function(){for(var _0x33d687=[],_0x58c23c=0x0;_0x58c23c<0x100;_0x58c23c++)_0x58c23c<0x80?_0x33d687[_0x58c23c]=_0x58c23c<<0x1:_0x33d687[_0x58c23c]=_0x58c23c<<0x1^0x11b;for(var _0x53279c=0x0,_0x5d7b18=0x0,_0x58c23c=0x0;_0x58c23c<0x100;_0x58c23c++){var _0x3930ef=_0x5d7b18^_0x5d7b18<<0x1^_0x5d7b18<<0x2^_0x5d7b18<<0x3^_0x5d7b18<<0x4;_0x3930ef=_0x3930ef>>>0x8^_0x3930ef&0xff^0x63,_0x2c67f5[_0x53279c]=_0x3930ef,_0x3bf298[_0x3930ef]=_0x53279c;var _0x5e6826=_0x33d687[_0x53279c],_0x45925e=_0x33d687[_0x5e6826],_0xc7a627=_0x33d687[_0x45925e],_0x830ba=_0x33d687[_0x3930ef]*0x101^_0x3930ef*0x1010100;_0x11725d[_0x53279c]=_0x830ba<<0x18|_0x830ba>>>0x8,_0x1d6047[_0x53279c]=_0x830ba<<0x10|_0x830ba>>>0x10,_0x64eb2[_0x53279c]=_0x830ba<<0x8|_0x830ba>>>0x18,_0x249049[_0x53279c]=_0x830ba;var _0x830ba=_0xc7a627*0x1010101^_0x45925e*0x10001^_0x5e6826*0x101^_0x53279c*0x1010100;_0x1e8814[_0x3930ef]=_0x830ba<<0x18|_0x830ba>>>0x8,_0x12bc8d[_0x3930ef]=_0x830ba<<0x10|_0x830ba>>>0x10,_0x157793[_0x3930ef]=_0x830ba<<0x8|_0x830ba>>>0x18,_0x48ec2a[_0x3930ef]=_0x830ba,_0x53279c?(_0x53279c=_0x5e6826^_0x33d687[_0x33d687[_0x33d687[_0xc7a627^_0x5e6826]]],_0x5d7b18^=_0x33d687[_0x33d687[_0x5d7b18]]):_0x53279c=_0x5d7b18=0x1;}}());var _0x267044=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1efeda=_0xd2ca4f[_0x2d9dfe(0x29f)]=_0x1f975e[_0x2d9dfe(0x265)]({'_doReset':function(){var _0x416e68=_0x2d9dfe,_0x42c77b;if(!(this[_0x416e68(0x458)]&&this['_keyPriorReset']===this[_0x416e68(0x3d3)])){for(var _0x26c696=this[_0x416e68(0x3d7)]=this[_0x416e68(0x3d3)],_0x46e167=_0x26c696['words'],_0x8f78cb=_0x26c696[_0x416e68(0x3ea)]/0x4,_0x15a0c8=this[_0x416e68(0x458)]=_0x8f78cb+0x6,_0x222c55=(_0x15a0c8+0x1)*0x4,_0x45976e=this[_0x416e68(0x315)]=[],_0x2a2cc1=0x0;_0x2a2cc1<_0x222c55;_0x2a2cc1++)_0x2a2cc1<_0x8f78cb?_0x45976e[_0x2a2cc1]=_0x46e167[_0x2a2cc1]:(_0x42c77b=_0x45976e[_0x2a2cc1-0x1],_0x2a2cc1%_0x8f78cb?_0x8f78cb>0x6&&_0x2a2cc1%_0x8f78cb==0x4&&(_0x42c77b=_0x2c67f5[_0x42c77b>>>0x18]<<0x18|_0x2c67f5[_0x42c77b>>>0x10&0xff]<<0x10|_0x2c67f5[_0x42c77b>>>0x8&0xff]<<0x8|_0x2c67f5[_0x42c77b&0xff]):(_0x42c77b=_0x42c77b<<0x8|_0x42c77b>>>0x18,_0x42c77b=_0x2c67f5[_0x42c77b>>>0x18]<<0x18|_0x2c67f5[_0x42c77b>>>0x10&0xff]<<0x10|_0x2c67f5[_0x42c77b>>>0x8&0xff]<<0x8|_0x2c67f5[_0x42c77b&0xff],_0x42c77b^=_0x267044[_0x2a2cc1/_0x8f78cb|0x0]<<0x18),_0x45976e[_0x2a2cc1]=_0x45976e[_0x2a2cc1-_0x8f78cb]^_0x42c77b);for(var _0x561a07=this[_0x416e68(0x349)]=[],_0x21d07b=0x0;_0x21d07b<_0x222c55;_0x21d07b++){var _0x2a2cc1=_0x222c55-_0x21d07b;if(_0x21d07b%0x4)var _0x42c77b=_0x45976e[_0x2a2cc1];else var _0x42c77b=_0x45976e[_0x2a2cc1-0x4];_0x21d07b<0x4||_0x2a2cc1<=0x4?_0x561a07[_0x21d07b]=_0x42c77b:_0x561a07[_0x21d07b]=_0x1e8814[_0x2c67f5[_0x42c77b>>>0x18]]^_0x12bc8d[_0x2c67f5[_0x42c77b>>>0x10&0xff]]^_0x157793[_0x2c67f5[_0x42c77b>>>0x8&0xff]]^_0x48ec2a[_0x2c67f5[_0x42c77b&0xff]];}}},'encryptBlock':function(_0x3b9f1b,_0x237bfc){var _0x2b0f6f=_0x2d9dfe;this[_0x2b0f6f(0x368)](_0x3b9f1b,_0x237bfc,this[_0x2b0f6f(0x315)],_0x11725d,_0x1d6047,_0x64eb2,_0x249049,_0x2c67f5);},'decryptBlock':function(_0x4919ab,_0x41d037){var _0x3901cd=_0x2d9dfe,_0x4e81d0=_0x4919ab[_0x41d037+0x1];_0x4919ab[_0x41d037+0x1]=_0x4919ab[_0x41d037+0x3],_0x4919ab[_0x41d037+0x3]=_0x4e81d0,this[_0x3901cd(0x368)](_0x4919ab,_0x41d037,this['_invKeySchedule'],_0x1e8814,_0x12bc8d,_0x157793,_0x48ec2a,_0x3bf298);var _0x4e81d0=_0x4919ab[_0x41d037+0x1];_0x4919ab[_0x41d037+0x1]=_0x4919ab[_0x41d037+0x3],_0x4919ab[_0x41d037+0x3]=_0x4e81d0;},'_doCryptBlock':function(_0x55550c,_0x12a4fe,_0xec5d30,_0xa67adc,_0x33d0f9,_0x59e948,_0x7bbfd8,_0x3b12a2){var _0xcb3bb7=_0x2d9dfe;for(var _0x2dfdef=this[_0xcb3bb7(0x458)],_0x75e6b=_0x55550c[_0x12a4fe]^_0xec5d30[0x0],_0x2d3d66=_0x55550c[_0x12a4fe+0x1]^_0xec5d30[0x1],_0x526ac8=_0x55550c[_0x12a4fe+0x2]^_0xec5d30[0x2],_0x4ad452=_0x55550c[_0x12a4fe+0x3]^_0xec5d30[0x3],_0x460fd7=0x4,_0x29800e=0x1;_0x29800e<_0x2dfdef;_0x29800e++){var _0x7eadea=_0xa67adc[_0x75e6b>>>0x18]^_0x33d0f9[_0x2d3d66>>>0x10&0xff]^_0x59e948[_0x526ac8>>>0x8&0xff]^_0x7bbfd8[_0x4ad452&0xff]^_0xec5d30[_0x460fd7++],_0x7ead1f=_0xa67adc[_0x2d3d66>>>0x18]^_0x33d0f9[_0x526ac8>>>0x10&0xff]^_0x59e948[_0x4ad452>>>0x8&0xff]^_0x7bbfd8[_0x75e6b&0xff]^_0xec5d30[_0x460fd7++],_0x70822b=_0xa67adc[_0x526ac8>>>0x18]^_0x33d0f9[_0x4ad452>>>0x10&0xff]^_0x59e948[_0x75e6b>>>0x8&0xff]^_0x7bbfd8[_0x2d3d66&0xff]^_0xec5d30[_0x460fd7++],_0x2bd506=_0xa67adc[_0x4ad452>>>0x18]^_0x33d0f9[_0x75e6b>>>0x10&0xff]^_0x59e948[_0x2d3d66>>>0x8&0xff]^_0x7bbfd8[_0x526ac8&0xff]^_0xec5d30[_0x460fd7++];_0x75e6b=_0x7eadea,_0x2d3d66=_0x7ead1f,_0x526ac8=_0x70822b,_0x4ad452=_0x2bd506;}var _0x7eadea=(_0x3b12a2[_0x75e6b>>>0x18]<<0x18|_0x3b12a2[_0x2d3d66>>>0x10&0xff]<<0x10|_0x3b12a2[_0x526ac8>>>0x8&0xff]<<0x8|_0x3b12a2[_0x4ad452&0xff])^_0xec5d30[_0x460fd7++],_0x7ead1f=(_0x3b12a2[_0x2d3d66>>>0x18]<<0x18|_0x3b12a2[_0x526ac8>>>0x10&0xff]<<0x10|_0x3b12a2[_0x4ad452>>>0x8&0xff]<<0x8|_0x3b12a2[_0x75e6b&0xff])^_0xec5d30[_0x460fd7++],_0x70822b=(_0x3b12a2[_0x526ac8>>>0x18]<<0x18|_0x3b12a2[_0x4ad452>>>0x10&0xff]<<0x10|_0x3b12a2[_0x75e6b>>>0x8&0xff]<<0x8|_0x3b12a2[_0x2d3d66&0xff])^_0xec5d30[_0x460fd7++],_0x2bd506=(_0x3b12a2[_0x4ad452>>>0x18]<<0x18|_0x3b12a2[_0x75e6b>>>0x10&0xff]<<0x10|_0x3b12a2[_0x2d3d66>>>0x8&0xff]<<0x8|_0x3b12a2[_0x526ac8&0xff])^_0xec5d30[_0x460fd7++];_0x55550c[_0x12a4fe]=_0x7eadea,_0x55550c[_0x12a4fe+0x1]=_0x7ead1f,_0x55550c[_0x12a4fe+0x2]=_0x70822b,_0x55550c[_0x12a4fe+0x3]=_0x2bd506;},'keySize':0x100/0x20});_0x316dd1[_0x2d9dfe(0x29f)]=_0x1f975e[_0x2d9dfe(0x37a)](_0x1efeda);}()),_0x15e89b[_0x44c505(0x29f)];}));}(Ve)),Ve[_0x4e58b2(0x27b)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x384d48(0x27b)],ai;function zr(){var _0x19b73b=_0x384d48;return ai||(ai=0x1,function(_0x361b8d,_0x4c1877){(function(_0x5be4ae,_0x32bc2a){var _0x48acf2=_0x56fc;_0x361b8d[_0x48acf2(0x27b)]=_0x32bc2a(ne());}(qr,function(_0x1b50c6){var _0x37bc34=_0x56fc;return _0x1b50c6[_0x37bc34(0x303)]['Utf8'];}));}(Xe)),Xe[_0x19b73b(0x27b)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x384d48(0x27b)],ci;function Qr(){var _0x28e21a=_0x384d48;return ci||(ci=0x1,function(_0x1b597d,_0x45fa54){(function(_0x3fd442,_0x562c2b){var _0x221c3a=_0x56fc;_0x1b597d[_0x221c3a(0x27b)]=_0x562c2b(ne());}(Zr,function(_0x409d17){var _0x2c6478=_0x56fc;return(function(){var _0x48fc19=_0x56fc;if(typeof ArrayBuffer==_0x48fc19(0x18e)){var _0x1b14f0=_0x409d17,_0x4c9bce=_0x1b14f0['lib'],_0x541243=_0x4c9bce[_0x48fc19(0x22a)],_0x45b397=_0x541243[_0x48fc19(0x2cb)],_0x199def=_0x541243[_0x48fc19(0x2cb)]=function(_0x12ca57){var _0x1f4433=_0x48fc19;if(_0x12ca57 instanceof ArrayBuffer&&(_0x12ca57=new Uint8Array(_0x12ca57)),(_0x12ca57 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x12ca57 instanceof Uint8ClampedArray||_0x12ca57 instanceof Int16Array||_0x12ca57 instanceof Uint16Array||_0x12ca57 instanceof Int32Array||_0x12ca57 instanceof Uint32Array||_0x12ca57 instanceof Float32Array||_0x12ca57 instanceof Float64Array)&&(_0x12ca57=new Uint8Array(_0x12ca57[_0x1f4433(0x42d)],_0x12ca57[_0x1f4433(0x188)],_0x12ca57[_0x1f4433(0x2ab)])),_0x12ca57 instanceof Uint8Array){for(var _0x4f4f89=_0x12ca57[_0x1f4433(0x2ab)],_0x251b8e=[],_0x867e4f=0x0;_0x867e4f<_0x4f4f89;_0x867e4f++)_0x251b8e[_0x867e4f>>>0x2]|=_0x12ca57[_0x867e4f]<<0x18-_0x867e4f%0x4*0x8;_0x45b397[_0x1f4433(0x1c4)](this,_0x251b8e,_0x4f4f89);}else _0x45b397[_0x1f4433(0x382)](this,arguments);};_0x199def[_0x48fc19(0x39e)]=_0x541243;}}()),_0x409d17[_0x2c6478(0x309)][_0x2c6478(0x22a)];}));}(Ze)),Ze[_0x28e21a(0x27b)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x384d48(0x27b)],hi;function ns(){return hi||(hi=0x1,function(_0x1f876f,_0x100161){(function(_0xf6d1,_0xbb253e,_0x5e990f){var _0x131520=_0x56fc;_0x1f876f[_0x131520(0x27b)]=_0xbb253e(ne(),Ai());}(is,function(_0x46daff){var _0x39613c=_0x56fc;return _0x46daff[_0x39613c(0x404)][_0x39613c(0x298)]={'pad':function(){},'unpad':function(){}},_0x46daff[_0x39613c(0x404)][_0x39613c(0x298)];}));}(Qe)),Qe['exports'];}var rs=ns();const ss=ke(rs);function os(_0xaa09c7,_0x5d51ac){var _0x4f66ee=_0x384d48;const _0x405594=_0x5d51ac-_0xaa09c7[_0x4f66ee(0x20c)]%_0x5d51ac,_0x168871=String[_0x4f66ee(0x203)](_0x405594)[_0x4f66ee(0x293)](_0x405594);return _0xaa09c7+_0x168871;}function as(_0x43c49c,_0x335ddb){var _0x277a73=_0x384d48;const _0x13dd8d=ts[_0x277a73(0x434)](0x10),_0x2d6e98=os(_0x43c49c,0x10),_0x5b4177=Kr[_0x277a73(0x2cf)](Xr['parse'](_0x2d6e98),oi[_0x277a73(0x2e8)](_0x335ddb),{'iv':_0x13dd8d,'padding':ss});return _0x13dd8d[_0x277a73(0x2d6)](_0x5b4177['ciphertext'])[_0x277a73(0x2a4)](oi);}function cs(){var _0x3b807b=_0x384d48;const _0x280fa4=_0x39b028()[_0x3b807b(0x1b1)];if(_0x280fa4){const _0x4ceb75={'time':Math[_0x3b807b(0x441)](Date['now']()/0x3e8),'domain':location['hostname']};return as(JSON[_0x3b807b(0x3a9)](_0x4ceb75),_0x280fa4);}}var hs=Object['defineProperty'],_s=Object[_0x384d48(0x1b2)],ls=(_0x113179,_0x503f9b,_0x2dbd44,_0x4c0ed9)=>{for(var _0x3282cc=_0x4c0ed9>0x1?void 0x0:_0x4c0ed9?_s(_0x503f9b,_0x2dbd44):_0x503f9b,_0xf95dcf=_0x113179['length']-0x1,_0x1c7735;_0xf95dcf>=0x0;_0xf95dcf--)(_0x1c7735=_0x113179[_0xf95dcf])&&(_0x3282cc=(_0x4c0ed9?_0x1c7735(_0x503f9b,_0x2dbd44,_0x3282cc):_0x1c7735(_0x3282cc))||_0x3282cc);return _0x4c0ed9&&_0x3282cc&&hs(_0x503f9b,_0x2dbd44,_0x3282cc),_0x3282cc;},us=(_0x205cf0,_0x1525da)=>(_0x208c3a,_0x5ae828)=>_0x1525da(_0x208c3a,_0x5ae828,_0x205cf0);let ot=class{constructor(_0x1e16af){this['_httpService']=_0x1e16af,this['_initRequestHeader']();}['_initRequestHeader'](){var _0x66f234=_0x384d48;this['_httpService'][_0x66f234(0x3ad)]({'interceptor':(_0x1c8e3b,_0x509c19)=>{var _0x5d6263=_0x66f234;const _0x4b5a36=_0x1c8e3b[_0x5d6263(0x46f)],_0x23d2c5=cs();return _0x23d2c5&&_0x4b5a36[_0x5d6263(0x376)]('x-univer-host',_0x23d2c5),_0x509c19(_0x1c8e3b);}});}};ot=ls([us(0x0,_0x524d9b(_0x1fa986))],ot);var ds=Object[_0x384d48(0x1e0)],fs=Object['getOwnPropertyDescriptor'],vs=(_0x514841,_0x429d2b,_0x4c289b,_0x2e3bfe)=>{var _0x4f8325=_0x384d48;for(var _0x21f747=_0x2e3bfe>0x1?void 0x0:_0x2e3bfe?fs(_0x429d2b,_0x4c289b):_0x429d2b,_0x300587=_0x514841[_0x4f8325(0x20c)]-0x1,_0x2d11cd;_0x300587>=0x0;_0x300587--)(_0x2d11cd=_0x514841[_0x300587])&&(_0x21f747=(_0x2e3bfe?_0x2d11cd(_0x429d2b,_0x4c289b,_0x21f747):_0x2d11cd(_0x21f747))||_0x21f747);return _0x2e3bfe&&_0x21f747&&ds(_0x429d2b,_0x4c289b,_0x21f747),_0x21f747;},mt=(_0x392637,_0x2a7fff)=>(_0x854597,_0x11d920)=>_0x2a7fff(_0x854597,_0x11d920,_0x392637);let Ot=class extends _0x2c70a0{constructor(_0x5236df,_0x40daaf,_0x57fd74){var _0x996192=_0x384d48;super(),N(this,'_unitInfo$',new _0x34646d(null)),N(this,_0x996192(0x2b9),this['_unitInfo$'][_0x996192(0x2f9)]()),(this[_0x996192(0x1ea)]=_0x5236df,this[_0x996192(0x43f)]=_0x40daaf,this[_0x996192(0x1df)]=_0x57fd74);}async[_0x384d48(0x2b6)](_0x5e9f32,_0x7c4619,_0x441e10){var _0x29e365=_0x384d48;this['_unitInfo$']['next']({'unitId':_0x5e9f32,'type':_0x7c4619,'subUnitId':_0x441e10});let _0x4579ef=null;switch(_0x7c4619){case Q[_0x29e365(0x34d)]:{_0x4579ef=await this[_0x29e365(0x246)](_0x5e9f32);break;}case Q['UNIVER_DOC']:{_0x4579ef=await this[_0x29e365(0x249)](_0x5e9f32);break;}default:{this[_0x29e365(0x1ea)][_0x29e365(0x466)](_0x29e365(0x23a),_0x29e365(0x450));break;}}return _0x4579ef;}async[_0x384d48(0x246)](_0xfec933){var _0x14c3ce=_0x384d48,_0x3b6b0d;let _0x4345ea=0x0;const _0x40f30e=await((_0x3b6b0d=this[_0x14c3ce(0x1df)])==null?void 0x0:_0x3b6b0d[_0x14c3ce(0x1b6)](_0xfec933));return _0x40f30e&&(_0x40f30e[_0x14c3ce(0x44c)]||_0x40f30e[_0x14c3ce(0x336)][_0x14c3ce(0x20c)]!==0x0)&&(_0x4345ea=_0x40f30e[_0x14c3ce(0x1ac)]),_0x4345ea===0x0&&this[_0x14c3ce(0x1ea)][_0x14c3ce(0x1b5)]('[DataLoaderService]',_0x14c3ce(0x2e9)),this[_0x14c3ce(0x43f)]['loadSheet'](_0xfec933,_0x4345ea);}async[_0x384d48(0x249)](_0x5e6d35){var _0x55286b=_0x384d48,_0x2c6bb9;let _0x3e7625=0x0;const _0x28ed57=await((_0x2c6bb9=this['_localCacheService'])==null?void 0x0:_0x2c6bb9[_0x55286b(0x1b6)](_0x5e6d35));return _0x28ed57&&(_0x28ed57[_0x55286b(0x44c)]||_0x28ed57[_0x55286b(0x336)][_0x55286b(0x20c)]!==0x0)&&(_0x3e7625=_0x28ed57[_0x55286b(0x1ac)]),_0x3e7625===0x0&&this[_0x55286b(0x1ea)]['debug'](_0x55286b(0x23a),_0x55286b(0x2e9)),this[_0x55286b(0x43f)][_0x55286b(0x2fe)](_0x5e6d35,_0x3e7625);}};Ot=vs([mt(0x0,_0x1e9a27),mt(0x1,_0x524d9b(_0x31b040)),mt(0x2,_0x49b7db(J))],Ot);var ps=Object['defineProperty'],ms=Object[_0x384d48(0x1b2)],gs=(_0x5255c1,_0x4ad768,_0x43280a,_0x3b1108)=>{var _0x4a3dd5=_0x384d48;for(var _0x1f125d=_0x3b1108>0x1?void 0x0:_0x3b1108?ms(_0x4ad768,_0x43280a):_0x4ad768,_0x43238b=_0x5255c1[_0x4a3dd5(0x20c)]-0x1,_0x11e1c6;_0x43238b>=0x0;_0x43238b--)(_0x11e1c6=_0x5255c1[_0x43238b])&&(_0x1f125d=(_0x3b1108?_0x11e1c6(_0x4ad768,_0x43280a,_0x1f125d):_0x11e1c6(_0x1f125d))||_0x1f125d);return _0x3b1108&&_0x1f125d&&ps(_0x4ad768,_0x43280a,_0x1f125d),_0x1f125d;},gt=(_0x387fd1,_0x12811d)=>(_0x24bf65,_0x1c8fa0)=>_0x12811d(_0x24bf65,_0x1c8fa0,_0x387fd1);const Ss=[_0x384d48(0x41a),_0x384d48(0x45b),_0x384d48(0x2eb),_0x384d48(0x18b),_0x384d48(0x2ee)],Es=0x5*0x400*0x400,Is=_0x384d48(0x25b),Ts='/universer-api/stream/file/upload',Cs=_0x384d48(0x197),Rs='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x294c3b,_0xd18b4b,_0x5d121e){var _0x2c121e=_0x384d48;N(this,_0x2c121e(0x2dc),0x0),N(this,_0x2c121e(0x3b6),new _0x14c30e()),N(this,_0x2c121e(0x274),this['_change$']),N(this,_0x2c121e(0x2ff),new Map()),(this[_0x2c121e(0x2a1)]=_0x294c3b,this['_configService']=_0xd18b4b,this[_0x2c121e(0x2f7)]=_0x5d121e);}['setWaitCount'](_0xbec62b){var _0x41c001=_0x384d48;this['_waitCount']=_0xbec62b,this[_0x41c001(0x3b6)]['next'](_0xbec62b);}[_0x384d48(0x42a)](_0x112e57,_0x37e432){var _0x152088=_0x384d48;if(_0x37e432===_0x1dcd50[_0x152088(0x3ef)]){const _0x1406b2=new Image();return _0x1406b2[_0x152088(0x17e)]=_0x112e57,_0x1406b2;}return this[_0x152088(0x2ff)][_0x152088(0x2a9)](_0x112e57);}[_0x384d48(0x2d4)](_0x2af79d,_0x3584e9,_0x4f44d0){var _0x1ecc5d=_0x384d48;_0x3584e9===_0x1dcd50[_0x1ecc5d(0x3ef)]||_0x4f44d0==null||this[_0x1ecc5d(0x2ff)][_0x1ecc5d(0x376)](_0x2af79d,_0x4f44d0);}async[_0x384d48(0x3bf)](_0x122feb){var _0x2b140f=_0x384d48;try{const _0x178062=this['_replaceFileID'](this['_getSignURL'](),''+_0x122feb),_0x15949d=(await this['_httpService'][_0x2b140f(0x2a9)](_0x178062))[_0x2b140f(0x2ba)];if(_0x15949d[_0x2b140f(0x466)]&&_0x15949d[_0x2b140f(0x466)]['code']===Ii['OK']){const _0x18c17b=new URL(_0x15949d[_0x2b140f(0x43a)],this['_getDownloadEndpointURL']())[_0x2b140f(0x2a4)]();return Promise[_0x2b140f(0x2b4)](_0x18c17b);}return Promise[_0x2b140f(0x252)](_0x15949d['error']);}catch(_0x33f287){return Promise[_0x2b140f(0x252)](_0x33f287);}}async[_0x384d48(0x2d7)](_0x3cba02){var _0x3961a3=_0x384d48;let _0x283e8a='';if(!Ss['includes'](_0x3cba02[_0x3961a3(0x355)]))return this[_0x3961a3(0x460)](),Promise['reject'](new Error(_0x4b4ef7[_0x3961a3(0x438)]));if(_0x3cba02[_0x3961a3(0x1cc)]>Es)return this[_0x3961a3(0x460)](),Promise[_0x3961a3(0x252)](new Error(_0x4b4ef7[_0x3961a3(0x35c)]));try{const _0x870f5e=new FormData();_0x870f5e[_0x3961a3(0x25a)]('file',_0x3cba02);const _0x8869f9=this[_0x3961a3(0x2f7)][_0x3961a3(0x1c0)](),_0x43dc7d=_0x8869f9==null?void 0x0:_0x8869f9[_0x3961a3(0x363)]();if(!_0x43dc7d)throw new Error(_0x3961a3(0x1f2));const _0x53e854=this['_getUploadFileURL']()+_0x3961a3(0x471)+_0x3cba02['size'][_0x3961a3(0x2a4)]()+_0x3961a3(0x422)+Ti['UnitEmbedded']+_0x3961a3(0x44e)+encodeURIComponent(_0x43dc7d),_0x29249c=await(await fetch(_0x53e854,{'method':'POST','body':_0x870f5e}))[_0x3961a3(0x427)]();if(typeof _0x29249c[_0x3961a3(0x1a6)]!='string')return this['_decreaseWaiting'](),Promise[_0x3961a3(0x252)](new Error(_0x4b4ef7[_0x3961a3(0x3c6)]));_0x283e8a=_0x29249c[_0x3961a3(0x1a6)];}catch{return this[_0x3961a3(0x460)](),Promise[_0x3961a3(0x252)](new Error(_0x4b4ef7[_0x3961a3(0x3c6)]));}return new Promise((_0x345726,_0x3bdf96)=>{var _0x46ad17=_0x3961a3;const _0x26d3e2=new FileReader();_0x26d3e2[_0x46ad17(0x409)](_0x3cba02),_0x26d3e2[_0x46ad17(0x320)]=_0x3be545=>{var _0x2292dc=_0x46ad17,_0x40f7e7;const _0x7a4a1b=(_0x40f7e7=_0x3be545[_0x2292dc(0x318)])==null?void 0x0:_0x40f7e7[_0x2292dc(0x284)];if(_0x7a4a1b==null){this[_0x2292dc(0x460)](),_0x3bdf96(new Error(_0x4b4ef7[_0x2292dc(0x3c6)]));return;}const _0x4f173a=_0xe421c3['generateRandomId'](0x6);_0x345726({'imageId':_0x4f173a,'imageSourceType':_0x1dcd50[_0x2292dc(0x241)],'source':_0x283e8a,'base64Cache':_0x7a4a1b,'status':_0x4b4ef7['SUCCUSS']}),this[_0x2292dc(0x460)]();};});}[_0x384d48(0x270)](){var _0x333fe1=_0x384d48,_0x13bd92,_0x757e88;const _0x3b4b46=this['_configService'][_0x333fe1(0x3c7)](Is),_0x7af6f6=this['_configService']['getConfig'](q);return(_0x757e88=(_0x13bd92=_0x7af6f6==null?void 0x0:_0x7af6f6[_0x333fe1(0x242)])!=null?_0x13bd92:_0x3b4b46)!=null?_0x757e88:Ts;}[_0x384d48(0x459)](){var _0x18c3a4=_0x384d48,_0x1e736e,_0x4465ab;const _0x363e40=this[_0x18c3a4(0x1eb)][_0x18c3a4(0x3c7)](Cs),_0x29383c=this[_0x18c3a4(0x1eb)][_0x18c3a4(0x3c7)](q);return(_0x4465ab=(_0x1e736e=_0x29383c==null?void 0x0:_0x29383c[_0x18c3a4(0x470)])!=null?_0x1e736e:_0x363e40)!=null?_0x4465ab:Rs;}[_0x384d48(0x184)](){var _0x10aeb8=_0x384d48,_0x1ed2aa;const _0x42b8c2=this[_0x10aeb8(0x1eb)]['getConfig'](q);return(_0x1ed2aa=_0x42b8c2==null?void 0x0:_0x42b8c2[_0x10aeb8(0x3ac)])!=null?_0x1ed2aa:location[_0x10aeb8(0x2bf)];}['_replaceFileID'](_0x50a62b,_0x1f163d){var _0x401343=_0x384d48;return _0x50a62b[_0x401343(0x440)](_0x401343(0x286),_0x1f163d);}[_0x384d48(0x460)](){var _0x42bfaf=_0x384d48;this[_0x42bfaf(0x2dc)]-=0x1,this[_0x42bfaf(0x3b6)][_0x42bfaf(0x350)](this[_0x42bfaf(0x2dc)]);}};yt=gs([gt(0x0,_0x524d9b(_0x1fa986)),gt(0x1,_0x3564e5),gt(0x2,_0x524d9b(_0x588b40))],yt);var bs=Object[_0x384d48(0x1e0)],Os=Object['getOwnPropertyDescriptor'],ys=(_0xca2b76,_0x212605,_0x5ee7ab,_0x4f56e9)=>{for(var _0x2b3e68=_0x4f56e9>0x1?void 0x0:_0x4f56e9?Os(_0x212605,_0x5ee7ab):_0x212605,_0x9a1e43=_0xca2b76['length']-0x1,_0x286ec0;_0x9a1e43>=0x0;_0x9a1e43--)(_0x286ec0=_0xca2b76[_0x9a1e43])&&(_0x2b3e68=(_0x4f56e9?_0x286ec0(_0x212605,_0x5ee7ab,_0x2b3e68):_0x286ec0(_0x2b3e68))||_0x2b3e68);return _0x4f56e9&&_0x2b3e68&&bs(_0x212605,_0x5ee7ab,_0x2b3e68),_0x2b3e68;},_i=(_0x2c87a3,_0x2811f2)=>(_0x29d7b0,_0x37150d)=>_0x2811f2(_0x29d7b0,_0x37150d,_0x2c87a3);const Ns='/universer-api/authz';let Nt=class{constructor(_0x34ab68,_0x3ff40f){this['_configService']=_0x34ab68,this['_HTTPService']=_0x3ff40f;}[_0x384d48(0x3a5)](){var _0xf01520=_0x384d48,_0x45c945,_0x7eb715;const _0xd5b41a=this[_0xf01520(0x1eb)]['getConfig'](Pi),_0x453cfb=this[_0xf01520(0x1eb)][_0xf01520(0x3c7)](q);return(_0x7eb715=(_0x45c945=_0x453cfb==null?void 0x0:_0x453cfb['authzUrl'])!=null?_0x45c945:_0xd5b41a)!=null?_0x7eb715:Ns;}async['list'](_0x164d12){var _0x1bfadb=_0x384d48;const _0x5ca5f6=this[_0x1bfadb(0x3a5)]()+_0x1bfadb(0x1d3);return{'list':[{'title':'People','mentions':(await this[_0x1bfadb(0x1db)][_0x1bfadb(0x2a9)](_0x5ca5f6,{'params':{'objectID':_0x164d12[_0x1bfadb(0x323)],'unitID':_0x164d12['unitId']}}))[_0x1bfadb(0x2ba)][_0x1bfadb(0x204)][_0x1bfadb(0x2ac)](_0x1d4ba3=>({'objectId':_0x1d4ba3['id'],'name':_0x1d4ba3[_0x1bfadb(0x178)][_0x1bfadb(0x279)],'metadata':{'icon':_0x1d4ba3[_0x1bfadb(0x178)][_0x1bfadb(0x179)]},'label':_0x1d4ba3[_0x1bfadb(0x178)]['name'],'objectType':_0x478f38[_0x1bfadb(0x27f)]})),'metadata':{},'type':_0x478f38['PERSON']}]};}};Nt=ys([_i(0x0,_0x524d9b(_0x3564e5)),_i(0x1,_0x524d9b(_0x1fa986))],Nt);var Ds=Object[_0x384d48(0x1e0)],Ps=Object[_0x384d48(0x1b2)],ws=(_0x240a8a,_0x3abfbc,_0x436bc8,_0x18dc3e)=>{var _0x20946e=_0x384d48;for(var _0x40484c=_0x18dc3e>0x1?void 0x0:_0x18dc3e?Ps(_0x3abfbc,_0x436bc8):_0x3abfbc,_0x5a0a4f=_0x240a8a[_0x20946e(0x20c)]-0x1,_0xbbc436;_0x5a0a4f>=0x0;_0x5a0a4f--)(_0xbbc436=_0x240a8a[_0x5a0a4f])&&(_0x40484c=(_0x18dc3e?_0xbbc436(_0x3abfbc,_0x436bc8,_0x40484c):_0xbbc436(_0x40484c))||_0x40484c);return _0x18dc3e&&_0x40484c&&Ds(_0x3abfbc,_0x436bc8,_0x40484c),_0x40484c;},Se=(_0x35f836,_0x455b1d)=>(_0x213d5c,_0x2d7dc9)=>_0x455b1d(_0x213d5c,_0x2d7dc9,_0x35f836);let at=class extends _0x2c70a0{constructor(_0x230670,_0x1e0983,_0x208223,_0x59e04e,_0x1718ef,_0x2e5960,_0x2295c9){var _0x3b9c61=_0x384d48;super(),this[_0x3b9c61(0x3d1)]=_0x230670,this[_0x3b9c61(0x2f7)]=_0x1e0983,this[_0x3b9c61(0x40a)]=_0x208223,this[_0x3b9c61(0x37e)]=_0x59e04e,this[_0x3b9c61(0x465)]=_0x1718ef,this['_authzIoService']=_0x2e5960,this[_0x3b9c61(0x26f)]=_0x2295c9,this['_initUnitPermissionChange'](),this[_0x3b9c61(0x21e)]();}['_initCloseConn'](){var _0x4988be=_0x384d48;const _0x87e4e1=async _0x2c2672=>{var _0xbf8585=_0x56fc;(await this[_0xbf8585(0x37e)][_0xbf8585(0x1bd)](_0x2c2672))[_0xbf8585(0x46a)][_0xbf8585(0x3b3)](_0x4a7a86(_0x56fdb8=>_0x56fdb8['eventID']===_0x51f52f[_0xbf8585(0x3d5)]),_0x8aaa0f(this[_0xbf8585(0x374)]))['subscribe'](_0x2ea43b=>{var _0x5b0121=_0xbf8585;const _0x5dbf91=_0x2ea43b,{reason:_0x30564c}=_0x5dbf91['data'];this[_0x5b0121(0x465)][_0x5b0121(0x306)]({'id':se[_0x5b0121(0x205)],'data':_0x30564c}),this[_0x5b0121(0x40a)][_0x5b0121(0x30e)](new _0x386980(_0x2c2672)['id'],!0x1),this['_collaborationSessionService'][_0x5b0121(0x46e)](_0x2c2672);});};_0x178676(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x5deaa7['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x5deaa7['UNIVER_DOC']))[_0x4988be(0x3b3)](_0x4f7920(_0x3374e8=>_0x3374e8[_0x4988be(0x363)]()),_0x4a7a86(_0x40ef21=>!_0x47ad52(_0x40ef21)),_0x8aaa0f(this[_0x4988be(0x374)]))[_0x4988be(0x33b)](_0x1d25e0=>{_0x87e4e1(_0x1d25e0);});}['_initUnitPermissionChange'](){var _0x26f3df=_0x384d48;const _0x2faa7d=async _0x5e49b2=>{var _0x2cf5ac=_0x56fc;const _0x230c91=await this[_0x2cf5ac(0x37e)][_0x2cf5ac(0x1bd)](_0x5e49b2),_0xeee9d1=this[_0x2cf5ac(0x3d1)][_0x2cf5ac(0x2a9)](_0xdc28aa);_0x230c91['event$'][_0x2cf5ac(0x3b3)](_0x4a7a86(_0x64b1a7=>_0x64b1a7[_0x2cf5ac(0x290)]===_0x51f52f[_0x2cf5ac(0x462)]),_0x8aaa0f(this[_0x2cf5ac(0x374)]))[_0x2cf5ac(0x33b)](_0x422ead=>{var _0x31d41c=_0x2cf5ac;const _0x2040d4=_0x422ead,{objectId:_0x11818d}=_0x2040d4[_0x31d41c(0x32a)];_0x11818d===_0x5e49b2?_0xeee9d1[_0x31d41c(0x234)](_0x5e49b2):_0xeee9d1['refreshPermission'](_0x5e49b2,_0x11818d);});};_0x178676(this['_univerInstanceService'][_0x26f3df(0x20a)](_0x5deaa7[_0x26f3df(0x34d)]),this['_univerInstanceService'][_0x26f3df(0x20a)](_0x5deaa7[_0x26f3df(0x3c0)]))[_0x26f3df(0x3b3)](_0x4f7920(_0x1b5b21=>_0x1b5b21[_0x26f3df(0x363)]()),_0x4a7a86(_0x115a53=>!_0x47ad52(_0x115a53)),_0x8aaa0f(this[_0x26f3df(0x374)]))[_0x26f3df(0x33b)](_0x2c78e9=>{_0x2faa7d(_0x2c78e9);});}};at=ws([Se(0x0,_0x524d9b(_0x1e48d3)),Se(0x1,_0x588b40),Se(0x2,_0x2386b0),Se(0x3,_0x524d9b(Le)),Se(0x4,_0x524d9b(pe)),Se(0x5,_0x5a60a8),Se(0x6,_0x2e02f4)],at);var Us=Object['defineProperty'],As=Object[_0x384d48(0x1b2)],xs=(_0x43b30c,_0x5a4077,_0x20e012,_0x32cf4a)=>{for(var _0xead80c=_0x32cf4a>0x1?void 0x0:_0x32cf4a?As(_0x5a4077,_0x20e012):_0x5a4077,_0x1b6e25=_0x43b30c['length']-0x1,_0x54d8f1;_0x1b6e25>=0x0;_0x1b6e25--)(_0x54d8f1=_0x43b30c[_0x1b6e25])&&(_0xead80c=(_0x32cf4a?_0x54d8f1(_0x5a4077,_0x20e012,_0xead80c):_0x54d8f1(_0xead80c))||_0xead80c);return _0x32cf4a&&_0xead80c&&Us(_0x5a4077,_0x20e012,_0xead80c),_0xead80c;},li=(_0x36bd9f,_0x35972c)=>(_0x5270d8,_0x1a4f79)=>_0x35972c(_0x5270d8,_0x1a4f79,_0x36bd9f);let Dt=class{constructor(_0x1b487a,_0x5b3d9e){var _0x3e6d01=_0x384d48;this[_0x3e6d01(0x1eb)]=_0x1b487a,this[_0x3e6d01(0x2a1)]=_0x5b3d9e;}async[_0x384d48(0x23f)](_0x500df2,_0x31a405){var _0x1f2218=_0x384d48,_0x45f388;const {unitID:_0x4c6c1b,type:_0x211785,revision:_0x505af5=0x0}=_0x31a405,_0x5aff42=this[_0x1f2218(0x222)]()+'/'+_0x211785+_0x1f2218(0x467)+_0x4c6c1b+_0x1f2218(0x38e)+_0x505af5,_0x48bd1c=(await this['_httpService'][_0x1f2218(0x2a9)](_0x5aff42))[_0x1f2218(0x2ba)],_0x1bd7c1=(_0x45f388=_0x48bd1c[_0x1f2218(0x2fb)])==null?void 0x0:_0x45f388[_0x1f2218(0x456)];if(_0x1bd7c1){const _0x5059db=_0x1bd7c1==null?void 0x0:_0x1bd7c1[_0x1f2218(0x17a)],_0x41fac0=_0x28e985[_0x1f2218(0x1b8)](_0x10ebf8(_0x5059db));_0x1bd7c1[_0x1f2218(0x17a)]=_0x41fac0,Object[_0x1f2218(0x1c6)](_0x1bd7c1[_0x1f2218(0x18d)])[_0x1f2218(0x261)](([,_0x1ab533])=>{var _0x11ae2=_0x1f2218;const _0x49fa29=_0x1ab533[_0x11ae2(0x17a)],_0x1f7c5b=_0x28e985[_0x11ae2(0x1b8)](_0x10ebf8(_0x49fa29));_0x1ab533[_0x11ae2(0x17a)]=_0x1f7c5b;});}return _0x48bd1c;}async[_0x384d48(0x1fa)](_0x1ef1d9,_0x5d6713){var _0x13ebad=_0x384d48;const {unitID:_0xc4fc6a,type:_0x30800d,blockID:_0x166eab}=_0x5d6713,_0x40159c=this[_0x13ebad(0x3fd)]()+'/'+_0x30800d+_0x13ebad(0x467)+_0xc4fc6a+'/block/'+_0x166eab;return(await this[_0x13ebad(0x2a1)][_0x13ebad(0x2a9)](_0x40159c))[_0x13ebad(0x2ba)];}async[_0x384d48(0x277)](_0x374dd6,_0x202c86){var _0x462fca=_0x384d48;const {unitID:_0x3c7cbf,type:_0x36e6b5,blockID:_0xc5be04}=_0x202c86,_0x3cc608=this[_0x462fca(0x3fd)]()+'/block/'+_0x36e6b5+_0x462fca(0x467)+_0x3c7cbf+_0x462fca(0x3b1)+_0xc5be04;return(await this[_0x462fca(0x2a1)][_0x462fca(0x2a9)](_0x3cc608))[_0x462fca(0x2ba)];}async[_0x384d48(0x3dd)](_0x1725da,_0x1288a6){var _0x4e1291=_0x384d48;const {unitID:_0x89bb83,type:_0x306aaf,from:_0x325a04,to:_0x17f56a}=_0x1288a6,_0x222c6d=this[_0x4e1291(0x3fd)]()+'/'+_0x306aaf+_0x4e1291(0x467)+_0x89bb83+_0x4e1291(0x192)+_0x325a04+'&to='+_0x17f56a;return(await this[_0x4e1291(0x2a1)]['get'](_0x222c6d))[_0x4e1291(0x2ba)];}[_0x384d48(0x222)](){var _0x4fb130=_0x384d48,_0x3eec92;return(_0x3eec92=this[_0x4fb130(0x1eb)][_0x4fb130(0x3c7)](Tn))!=null?_0x3eec92:this[_0x4fb130(0x3fd)]();}[_0x384d48(0x3fd)](){var _0x1f14bc=_0x384d48,_0x2a35ba,_0x3d7193;const _0x2acb2d=this[_0x1f14bc(0x1eb)][_0x1f14bc(0x3c7)](En),_0x3262e3=this['_configService'][_0x1f14bc(0x3c7)](q);return(_0x3d7193=(_0x2a35ba=_0x3262e3==null?void 0x0:_0x3262e3['snapshotServerUrl'])!=null?_0x2a35ba:_0x2acb2d)!=null?_0x3d7193:In;}async['getResourcesRequest'](_0x5ab352,_0x3b0804){var _0x34e770=_0x384d48;const _0x200cb9=_0x34e770(0x292)+_0x3b0804[_0x34e770(0x355)]+'/unit/'+_0x3b0804['unitID']+'/resources';return(await this[_0x34e770(0x2a1)][_0x34e770(0x2a9)](_0x200cb9,{'params':{'resourceId':JSON[_0x34e770(0x3a9)](_0x3b0804['resourceIDs'])}}))[_0x34e770(0x2ba)];}[_0x384d48(0x381)](){var _0x233202=_0x384d48;throw new Error(_0x233202(0x3ed));}['saveSheetBlock'](){var _0x4f5b76=_0x384d48;throw new Error(_0x4f5b76(0x3ed));}[_0x384d48(0x171)](){var _0x3f6efd=_0x384d48;throw new Error(_0x3f6efd(0x3ed));}[_0x384d48(0x3cc)](){var _0x52e69b=_0x384d48;throw new Error(_0x52e69b(0x3ed));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Dt=xs([li(0x0,_0x3564e5),li(0x1,_0x524d9b(_0x1fa986))],Dt);var Ls=Object[_0x384d48(0x1e0)],Ms=Object[_0x384d48(0x1b2)],$s=(_0x12496b,_0x181d0e,_0x3a519d,_0x54444d)=>{var _0x31399d=_0x384d48;for(var _0xa63bdf=_0x54444d>0x1?void 0x0:_0x54444d?Ms(_0x181d0e,_0x3a519d):_0x181d0e,_0x19c2e2=_0x12496b[_0x31399d(0x20c)]-0x1,_0x4bbe6e;_0x19c2e2>=0x0;_0x19c2e2--)(_0x4bbe6e=_0x12496b[_0x19c2e2])&&(_0xa63bdf=(_0x54444d?_0x4bbe6e(_0x181d0e,_0x3a519d,_0xa63bdf):_0x4bbe6e(_0xa63bdf))||_0xa63bdf);return _0x54444d&&_0xa63bdf&&Ls(_0x181d0e,_0x3a519d,_0xa63bdf),_0xa63bdf;},Ae=(_0x174ce2,_0x1eb2d3)=>(_0x5c4b7e,_0x11bd03)=>_0x1eb2d3(_0x5c4b7e,_0x11bd03,_0x174ce2);let Pt=class extends _0x337441{constructor(_0x202c9e,_0x393182,_0xd5067,_0x1645a7,_0x23e5ef){var _0x53130c=_0x384d48;super(_0x202c9e,_0x393182,_0xd5067),this[_0x53130c(0x33f)]=_0x1645a7,this[_0x53130c(0x1ea)]=_0x23e5ef;}[_0x384d48(0x21f)](_0x1aceb2,_0x45b7eb){var _0x337265=_0x384d48;const _0x2a2872=this[_0x337265(0x453)](_0x1aceb2);if(_0x2a2872)try{const _0x269bd2=this[_0x337265(0x2c7)](_0x2a2872,_0x45b7eb);this[_0x337265(0x2ef)](_0x1aceb2,_0x269bd2);}catch(_0x16b6c4){this[_0x337265(0x1ea)][_0x337265(0x466)](_0x337265(0x39a),_0x16b6c4),this['_clearUndo'](_0x1aceb2);}const _0x5a942e=this[_0x337265(0x39b)](_0x1aceb2);if(_0x5a942e)try{const _0x4179c0=this[_0x337265(0x2c7)](_0x5a942e,_0x45b7eb);this[_0x337265(0x1e3)](_0x1aceb2,_0x4179c0);}catch(_0x5b8cb5){this[_0x337265(0x1ea)][_0x337265(0x466)](_0x5b8cb5),this['_clearRedo'](_0x1aceb2);}}[_0x384d48(0x31d)](_0x5c9fef){var _0x1d3562=_0x384d48;const _0x21a3aa=this[_0x1d3562(0x453)](_0x5c9fef);_0x21a3aa&&(_0x21a3aa[_0x1d3562(0x20c)]=0x0,this[_0x1d3562(0x214)]());}['_clearRedo'](_0xa5b1c8){var _0x27a676=_0x384d48;const _0x3d2ba2=this[_0x27a676(0x39b)](_0xa5b1c8);_0x3d2ba2&&(_0x3d2ba2['length']=0x0,this[_0x27a676(0x214)]());}[_0x384d48(0x2ef)](_0x5b51c8,_0x4fe9ac){var _0x5cc71e=_0x384d48;this[_0x5cc71e(0x183)][_0x5cc71e(0x376)](_0x5b51c8,_0x4fe9ac),this[_0x5cc71e(0x214)]();}[_0x384d48(0x1e3)](_0x319fd6,_0x3ed6b4){var _0xfb28fb=_0x384d48;this['_redoStacks'][_0xfb28fb(0x376)](_0x319fd6,_0x3ed6b4),this['_updateStatus']();}[_0x384d48(0x2c7)](_0x268b79,_0x286749){var _0x12ed51=_0x384d48;const _0x5cc7d6=[];let _0x33dc7c=_0x286749,_0x5e39fd=_0x286749;for(let _0x55e40b=_0x268b79['length']-0x1;_0x55e40b>=0x0;_0x55e40b--){const {unitID:_0x2e6a12,undoMutations:_0x1ea3a1,redoMutations:_0x5394e1}=_0x268b79[_0x55e40b],_0x17fc82=this[_0x12ed51(0x33f)][_0x12ed51(0x2e2)](_0x33dc7c,_0x1ea3a1),_0x482479=this[_0x12ed51(0x33f)]['transformMutationsWithChangeset'](_0x5e39fd,_0x5394e1);if(_0xe645cd(_0x17fc82)||_0xe645cd(_0x482479)){this[_0x12ed51(0x1ea)][_0x12ed51(0x466)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x17fc82,_0x482479);break;}_0x33dc7c=_0x17fc82[_0x12ed51(0x34b)],_0x5e39fd=_0x482479[_0x12ed51(0x34b)],_0x5cc7d6[_0x12ed51(0x372)]({'unitID':_0x2e6a12,'undoMutations':_0x17fc82[_0x12ed51(0x44d)],'redoMutations':_0x482479[_0x12ed51(0x44d)]});}return _0x5cc7d6[_0x12ed51(0x415)]();}};Pt=$s([Ae(0x0,_0x588b40),Ae(0x1,_0x3f1db4),Ae(0x2,_0x2dc06d),Ae(0x3,_0x2e7c83),Ae(0x4,_0x1e9a27)],Pt);var xi=Object[_0x384d48(0x1e0)],Hs=Object['getOwnPropertyDescriptor'],ks=(_0x2cbe94,_0x31a8b2,_0x355abc)=>_0x31a8b2 in _0x2cbe94?xi(_0x2cbe94,_0x31a8b2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x355abc}):_0x2cbe94[_0x31a8b2]=_0x355abc,js=(_0x4b50c0,_0x338bb6,_0x32e128,_0x31419f)=>{var _0xf9a94b=_0x384d48;for(var _0x191784=_0x31419f>0x1?void 0x0:_0x31419f?Hs(_0x338bb6,_0x32e128):_0x338bb6,_0x3580a5=_0x4b50c0[_0xf9a94b(0x20c)]-0x1,_0x415b99;_0x3580a5>=0x0;_0x3580a5--)(_0x415b99=_0x4b50c0[_0x3580a5])&&(_0x191784=(_0x31419f?_0x415b99(_0x338bb6,_0x32e128,_0x191784):_0x415b99(_0x191784))||_0x191784);return _0x31419f&&_0x191784&&xi(_0x338bb6,_0x32e128,_0x191784),_0x191784;},St=(_0x48788c,_0x7b85d3)=>(_0x409f0f,_0x15652b)=>_0x7b85d3(_0x409f0f,_0x15652b,_0x48788c),Bs=(_0x1a193b,_0x144171,_0x32215b)=>ks(_0x1a193b,_0x144171+'',_0x32215b);const Fs='UNIVER_COLLABORATION_CLIENT_PLUGIN';let wt=class extends _0x33c7f6{constructor(_0x196b01=Wt,_0x444411,_0x4e82fb,_0x124a7c){var _0x3f2eb7=_0x384d48;super(),this[_0x3f2eb7(0x35e)]=_0x196b01,this[_0x3f2eb7(0x1ea)]=_0x444411,this[_0x3f2eb7(0x3d1)]=_0x4e82fb,this[_0x3f2eb7(0x1eb)]=_0x124a7c;const {..._0x218967}=_0x78f827({},Wt,this[_0x3f2eb7(0x35e)]);this[_0x3f2eb7(0x1eb)]['setConfig'](q,_0x218967);}['onStarting'](){var _0x41fe09=_0x384d48;this[_0x41fe09(0x40f)](),this[_0x41fe09(0x2ea)]();}[_0x384d48(0x40f)](){var _0x55dbf7=_0x384d48,_0x64496d,_0xb36d7e,_0x586fa2,_0x7b5fb1;this['_injector']['has'](_0x2e02f4)&&this[_0x55dbf7(0x1ea)]['error'](_0x55dbf7(0x36f),_0x55dbf7(0x27c));const _0x4fa591=_0x1de4ae([[_0x2e02f4,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0xb36d7e=(_0x64496d=this['_config'])==null?void 0x0:_0x64496d['socketService'])!=null?_0xb36d7e:Et}],[_0x46e3e3,{'useClass':Dt}],[_0x5a60a8,{'useClass':bt}],[_0x3c6605,{'useClass':yt}],[_0x251c0c,{'useClass':Nt}],[rt],[Rt]],(_0x586fa2=this[_0x55dbf7(0x35e)])==null?void 0x0:_0x586fa2[_0x55dbf7(0x2de)]);if(!((_0x7b5fb1=this[_0x55dbf7(0x35e)])!=null&&_0x7b5fb1[_0x55dbf7(0x25f)])){const _0x2d4e40=_0x4fa591['findIndex'](([_0x3d801a])=>_0x3d801a===ht);_0x2d4e40!==-0x1&&_0x4fa591[_0x55dbf7(0x23e)](_0x2d4e40,0x1);}_0x493563(this['_injector'],_0x4fa591);}[_0x384d48(0x2ea)](){var _0x3c137e=_0x384d48,_0x4048b4,_0x8b36d1,_0x20f9eb;this['_injector']['get'](_0x1fa986)[_0x3c137e(0x3ad)]({'priority':0x14,'interceptor':_0x3b17f8({'maxParallel':0x6})}),(_0x4048b4=this[_0x3c137e(0x35e)])!=null&&_0x4048b4[_0x3c137e(0x367)]||(_0x8b36d1=this[_0x3c137e(0x3d1)][_0x3c137e(0x2a9)](J,_0x2f1b9c[_0x3c137e(0x1a8)]))==null||_0x8b36d1[_0x3c137e(0x1d6)](),(_0x20f9eb=this['_config'])!=null&&_0x20f9eb['enableAuthServer']&&_0x4b47bb(this['_injector'],[[st]]),_0x4b47bb(this['_injector'],[[ot],[rt],[at]]);}};Bs(wt,_0x384d48(0x41f),Fs),wt=js([_0x197520(_0x3588eb,_0x37d18c,_0x471945),St(0x1,_0x1e9a27),St(0x2,_0x524d9b(_0x1e48d3)),St(0x3,_0x3564e5)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn 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,Ri as CommentService,de as ConflictState,bn 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,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
1
+ var _0x56ebe4=_0x8d60;(function(_0x57fc6d,_0x378f69){var _0x4cf423=_0x8d60,_0x4c33c8=_0x57fc6d();while(!![]){try{var _0x3f35d1=parseInt(_0x4cf423(0x99))/0x1*(parseInt(_0x4cf423(0x1c6))/0x2)+parseInt(_0x4cf423(0x286))/0x3+parseInt(_0x4cf423(0x31c))/0x4*(-parseInt(_0x4cf423(0x340))/0x5)+parseInt(_0x4cf423(0xe9))/0x6*(parseInt(_0x4cf423(0x139))/0x7)+-parseInt(_0x4cf423(0x79))/0x8*(-parseInt(_0x4cf423(0x23a))/0x9)+-parseInt(_0x4cf423(0x8d))/0xa+-parseInt(_0x4cf423(0x1d9))/0xb;if(_0x3f35d1===_0x378f69)break;else _0x4c33c8['push'](_0x4c33c8['shift']());}catch(_0x5c57ee){_0x4c33c8['push'](_0x4c33c8['shift']());}}}(_0x7f60,0xb5d44));var Li=Object['defineProperty'],Mi=(_0x56dce3,_0x7dd610,_0xbfcee7)=>_0x7dd610 in _0x56dce3?Li(_0x56dce3,_0x7dd610,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xbfcee7}):_0x56dce3[_0x7dd610]=_0xbfcee7,N=(_0xa71297,_0x4d031a,_0x32c54a)=>Mi(_0xa71297,typeof _0x4d031a!='symbol'?_0x4d031a+'':_0x4d031a,_0x32c54a);import{createIdentifier as _0x3f95fd,Inject as _0x10a372,Injector as _0x28066c,Disposable as _0x43d67a,DisposableCollection as _0x5b1227,toDisposable as _0x8ea70a,IConfigService as _0x495d61,ILogService as _0x2eb8c5,UserManagerService as _0x39d16c,UniverInstanceType as _0x58d019,IUniverInstanceService as _0x4f76fc,LocaleService as _0x1bd86e,Optional as _0x5893d5,RxDisposable as _0x28b5a4,Tools as _0x13d639,Rectangle as _0x35836e,ICommandService as _0x1854e4,JSONX as _0x4a7e4b,CommandType as _0xad03cb,IPermissionService as _0x3582b2,IUndoRedoService as _0x56d618,sequenceExecute as _0x3669fb,Workbook as _0x8e3287,MentionType as _0x503aa1,IAuthzIoService as _0x3efeb3,isInternalEditorID as _0x4290c1,LocalUndoRedoService as _0x3227c5,IContextService as _0x1c6df0,DependentOn as _0x1354f3,Plugin as _0x357d84,merge as _0xd9d8d1,mergeOverrideWithDependencies as _0x42f882,IMentionIOService as _0x1e4280,registerDependencies as _0x2b2b62,Quantity as _0x2b1a2c,touchDependencies as _0x507c99}from'@univerjs/core';import{Subject as _0x204182,merge as _0x137f9c,of as _0x12fac6,BehaviorSubject as _0x486f67,takeUntil as _0x393b20,ReplaySubject as _0x99636c,take as _0x2d13ac,map as _0x35c8d1,shareReplay as _0x2e0449,firstValueFrom as _0x5f50cb,concatMap as _0x284fcc}from'rxjs';import{map as _0x387b22,take as _0x34c7e4,filter as _0x803da5,delay as _0x4fe25d,takeUntil as _0x5f40f9}from'rxjs/operators';import{HTTPService as _0x27ab0a,ISocketService as _0x5c2fa7,MergeInterceptorFactory as _0x1772c6,HTTPRequest as _0xe480ff,UniverNetworkPlugin as _0xae6199,ThresholdInterceptorFactory as _0x132c84}from'@univerjs/network';import{CollaborationEvent as _0x4c4aff,parseChangesetToProtocol as _0x27f36d,ISnapshotServerService as _0x4867dc,isTransformMutationsWithChangesetSuccess as _0x274f8f,ITransformService as _0x45afc8,mapDocumentTypeToUniverType as _0x1e2f7a,RevisionService as _0x10fef9,isTransformChangesetsSuccess as _0x51d847,CompressMutationService as _0x40ecae,parseProtocolChangeset as _0x4e8785,SnapshotService as _0x488872,textEncoder as _0x1d5b66,b64DecodeUnicode as _0x15bf07,isTransformMutationsWithChangesetFailure as _0x4c2e7c,UniverCollaborationPlugin as _0x1bd2e5}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x5edc8e}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x5e9627}from'@univerjs/docs';import{SheetsSelectionsService as _0x585bd3,SetSelectionsOperation as _0x267bd9,InsertSheetMutation as _0x44dcd4,EmptyMutation as _0x5b165d,WorkbookEditablePermission as _0x2b5d2f,SheetPermissionInitController as _0x44768c,UniverSheetsPlugin as _0x576354}from'@univerjs/sheets';import{ImageSourceType as _0x12f73f,ImageUploadStatusType as _0x4ed268,IImageIoService as _0x1d93e6}from'@univerjs/drawing';import{getGlobalObject as _0x293a42}from'@univerjs-pro/license';const En='SNAPSHOT_SERVER_URL_KEY',In=_0x56ebe4(0x35c),Tn='SNAPSHOT_URL_KEY',eo=_0x56ebe4(0x137),Cn=0x7d0,Rn='COLLAB_WEB_SOCKET_URL',bn='ws://127.0.0.1:8000/universer-api/comb/connect',On=_0x56ebe4(0x29b),yn=_0x56ebe4(0x330),Nn=0x7530,Si='HEARTBEAT_TIMEOUT',Ei=0x4e20,Dn=0x4e20,Pn=_0x56ebe4(0x97),wn=0x3,to=_0x56ebe4(0x25e),io=0x3e8,Un=_0x56ebe4(0x21e),An=_0x56ebe4(0x69),xn=_0x56ebe4(0xe8),Ln=_0x56ebe4(0x157),no=_0x56ebe4(0x27c),ro='/universer-api/uniscript';var Ii=(_0x5d895e=>(_0x5d895e[_0x5d895e['UNDEFINED']=0x0]=_0x56ebe4(0xea),_0x5d895e[_0x5d895e['OK']=0x1]='OK',_0x5d895e[_0x5d895e[_0x56ebe4(0x68)]=0x2]='INTERNAL_ERROR',_0x5d895e[_0x5d895e[_0x56ebe4(0xd0)]=0x3]=_0x56ebe4(0xd0),_0x5d895e[_0x5d895e['NOT_FOUND']=0x4]='NOT_FOUND',_0x5d895e[_0x5d895e['UNAUTHENTICATED']=0x5]=_0x56ebe4(0x18c),_0x5d895e[_0x5d895e[_0x56ebe4(0x26f)]=0x6]=_0x56ebe4(0x26f),_0x5d895e[_0x5d895e['INVALID_ARGUMENT']=0x7]=_0x56ebe4(0x2d5),_0x5d895e[_0x5d895e['TOO_MANY_REQUESTS']=0x8]=_0x56ebe4(0x6b),_0x5d895e[_0x5d895e[_0x56ebe4(0x1a7)]=0x9]=_0x56ebe4(0x1a7),_0x5d895e[_0x5d895e['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x56ebe4(0xca),_0x5d895e[_0x5d895e[_0x56ebe4(0x1f9)]=0x1771]=_0x56ebe4(0x1f9),_0x5d895e[_0x5d895e['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5d895e[_0x5d895e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x56ebe4(0x9d),_0x5d895e[_0x5d895e['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x5d895e[_0x5d895e[_0x56ebe4(0x2aa)]=0x1b5a]=_0x56ebe4(0x2aa),_0x5d895e[_0x5d895e[_0x56ebe4(0x2db)]=0x1b5b]=_0x56ebe4(0x2db),_0x5d895e[_0x5d895e['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5d895e[_0x5d895e[_0x56ebe4(0x310)]=0x1b5d]=_0x56ebe4(0x310),_0x5d895e[_0x5d895e[_0x56ebe4(0x261)]=0x1f41]=_0x56ebe4(0x261),_0x5d895e[_0x5d895e[_0x56ebe4(0xc5)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5d895e[_0x5d895e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5d895e[_0x5d895e[_0x56ebe4(0x152)]=0x232b]=_0x56ebe4(0x152),_0x5d895e[_0x5d895e[_0x56ebe4(0x341)]=0x232c]=_0x56ebe4(0x341),_0x5d895e[_0x5d895e[_0x56ebe4(0x10d)]=0x232d]=_0x56ebe4(0x10d),_0x5d895e[_0x5d895e[_0x56ebe4(0x12e)]=0x2711]=_0x56ebe4(0x12e),_0x5d895e[_0x5d895e['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x56ebe4(0x178),_0x5d895e[_0x5d895e['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x56ebe4(0x86),_0x5d895e[_0x5d895e[_0x56ebe4(0x1e0)]=0x2714]=_0x56ebe4(0x1e0),_0x5d895e[_0x5d895e[_0x56ebe4(0x226)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5d895e[_0x5d895e[_0x56ebe4(0x101)]=-0x1]='UNRECOGNIZED',_0x5d895e))(Ii||{}),Q=(_0x4038f6=>(_0x4038f6[_0x4038f6[_0x56ebe4(0x8a)]=0x0]='UNIVER_UNKNOWN',_0x4038f6[_0x4038f6[_0x56ebe4(0x342)]=0x1]=_0x56ebe4(0x342),_0x4038f6[_0x4038f6[_0x56ebe4(0xef)]=0x2]=_0x56ebe4(0xef),_0x4038f6[_0x4038f6[_0x56ebe4(0x2ba)]=0x3]=_0x56ebe4(0x2ba),_0x4038f6[_0x4038f6[_0x56ebe4(0x2a8)]=0x4]=_0x56ebe4(0x2a8),_0x4038f6[_0x4038f6['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4038f6))(Q||{}),F=(_0x392bd7=>(_0x392bd7[_0x392bd7[_0x56ebe4(0x1ef)]=0x0]=_0x56ebe4(0x1ef),_0x392bd7[_0x392bd7['HELLO']=0x1]='HELLO',_0x392bd7[_0x392bd7['JOIN']=0x2]='JOIN',_0x392bd7[_0x392bd7[_0x56ebe4(0x1ae)]=0x3]='LEAVE',_0x392bd7[_0x392bd7[_0x56ebe4(0x207)]=0x4]='INGEST',_0x392bd7[_0x392bd7[_0x56ebe4(0xcd)]=0x5]=_0x56ebe4(0xcd),_0x392bd7[_0x392bd7[_0x56ebe4(0x23d)]=0x6]=_0x56ebe4(0x23d),_0x392bd7[_0x392bd7[_0x56ebe4(0x101)]=-0x1]=_0x56ebe4(0x101),_0x392bd7))(F||{}),Ee=(_0x257440=>(_0x257440[_0x257440[_0x56ebe4(0xdf)]=0x0]=_0x56ebe4(0xdf),_0x257440[_0x257440['OK']=0x1]='OK',_0x257440[_0x257440['FAIL']=0x2]='FAIL',_0x257440[_0x257440[_0x56ebe4(0x192)]=0x3e9]=_0x56ebe4(0x192),_0x257440[_0x257440[_0x56ebe4(0xb0)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x257440[_0x257440['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x56ebe4(0x76),_0x257440[_0x257440[_0x56ebe4(0x2f7)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x257440[_0x257440[_0x56ebe4(0x101)]=-0x1]=_0x56ebe4(0x101),_0x257440))(Ee||{}),Ti=(_0x2c33d8=>(_0x2c33d8[_0x2c33d8[_0x56ebe4(0x28e)]=0x0]=_0x56ebe4(0x28e),_0x2c33d8[_0x2c33d8[_0x56ebe4(0x173)]=0x1]=_0x56ebe4(0x173),_0x2c33d8[_0x2c33d8[_0x56ebe4(0x11b)]=0x2]=_0x56ebe4(0x11b),_0x2c33d8[_0x2c33d8[_0x56ebe4(0x29a)]=0x3]=_0x56ebe4(0x29a),_0x2c33d8[_0x2c33d8['UnitSnapshot']=0x4]=_0x56ebe4(0x24a),_0x2c33d8[_0x2c33d8[_0x56ebe4(0x101)]=-0x1]=_0x56ebe4(0x101),_0x2c33d8))(Ti||{});const q=_0x56ebe4(0x1e7),Wt={};var se=(_0x16be66=>(_0x16be66['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x16be66[_0x56ebe4(0xd0)]=_0x56ebe4(0xd0),_0x16be66[_0x56ebe4(0x114)]=_0x56ebe4(0x114),_0x16be66['CLOSE_ROOM']=_0x56ebe4(0x75),_0x16be66['JOIN_ROOM_FAILED']=_0x56ebe4(0x1d5),_0x16be66[_0x56ebe4(0x1ad)]='SOCKET_FAILED_RETRY',_0x16be66['SOCKET_FAILED']='SOCKET_FAILED',_0x16be66['SUBMIT_CHANGESET_TIMEOUT']=_0x56ebe4(0x240),_0x16be66))(se||{});class pe{constructor(){var _0x306231=_0x56ebe4;N(this,'_event$',new _0x204182()),N(this,_0x306231(0x8c),this[_0x306231(0x2fd)][_0x306231(0x34f)]());}[_0x56ebe4(0x2bc)](_0x5126d2){var _0x2da9f9=_0x56ebe4;this[_0x2da9f9(0x2fd)][_0x2da9f9(0x165)](_0x5126d2);}}const Mn=_0x3f95fd('univer-pro.collaboration-client.network-condition.service');function $n(_0xa3f7f6){var _0x54a2c8=_0x56ebe4,_0x145aba,_0x5e2d5e,_0x96bb25,_0x2bbeb7,_0x217bcb;const _0x3247ff=_0xa3f7f6[_0x54a2c8(0xf1)],_0x5ba4a1=JSON['parse'](_0x3247ff);switch(_0x5ba4a1[_0x54a2c8(0x138)]){case F[_0x54a2c8(0xcd)]:case F[_0x54a2c8(0xfb)]:{const _0x1587d1=_0x5ba4a1[_0x54a2c8(0x115)];return{..._0x5ba4a1,'data':_0x1587d1,'cmd':_0x5ba4a1['cmd']};}case F[_0x54a2c8(0x70)]:{const _0x1161e2=_0x5ba4a1[_0x54a2c8(0x20e)];return{..._0x5ba4a1,'data':_0x1161e2,'cmd':_0x5ba4a1[_0x54a2c8(0x138)]};}case F[_0x54a2c8(0x23d)]:{const _0x3d8c1a=_0x5ba4a1[_0x54a2c8(0x32e)];switch(_0x3d8c1a['eventID']){case _0x4c4aff[_0x54a2c8(0x2c3)]:return{..._0x5ba4a1,'data':{..._0x3d8c1a,'data':(_0x145aba=_0x3d8c1a[_0x54a2c8(0x1bd)])==null?void 0x0:_0x145aba['cs']},'cmd':_0x5ba4a1[_0x54a2c8(0x138)]};case _0x4c4aff['CHANGESET_ACK']:return{..._0x5ba4a1,'data':{..._0x3d8c1a,'data':(_0x5e2d5e=_0x3d8c1a['csAckEvent'])==null?void 0x0:_0x5e2d5e['cs']},'cmd':_0x5ba4a1['cmd']};case _0x4c4aff[_0x54a2c8(0x100)]:return{..._0x5ba4a1,'data':{..._0x3d8c1a,'data':(_0x96bb25=_0x3d8c1a['newCsEvent'])==null?void 0x0:_0x96bb25['cs']},'cmd':_0x5ba4a1[_0x54a2c8(0x138)]};case _0x4c4aff['CHANGESET_REJ']:return{..._0x5ba4a1,'data':{..._0x3d8c1a,'data':(_0x2bbeb7=_0x3d8c1a[_0x54a2c8(0x1dc)])==null?void 0x0:_0x2bbeb7['cs']},'cmd':_0x5ba4a1[_0x54a2c8(0x138)]};case _0x4c4aff[_0x54a2c8(0x1a8)]:return{..._0x5ba4a1,'data':{..._0x3d8c1a,'data':(_0x217bcb=_0x3d8c1a[_0x54a2c8(0x2be)])==null?void 0x0:_0x217bcb['cs']},'cmd':_0x5ba4a1['cmd']};case _0x4c4aff[_0x54a2c8(0x21f)]:return{..._0x5ba4a1,'data':{..._0x3d8c1a,'data':_0x3d8c1a['updateCursorEvent']},'cmd':_0x5ba4a1[_0x54a2c8(0x138)]};case _0x4c4aff['USERS_ENTER']:return{..._0x5ba4a1,'data':{..._0x3d8c1a,'data':_0x3d8c1a[_0x54a2c8(0x222)]},'cmd':_0x5ba4a1[_0x54a2c8(0x138)]};case _0x4c4aff[_0x54a2c8(0x35a)]:return{..._0x5ba4a1,'data':{..._0x3d8c1a,'data':_0x3d8c1a[_0x54a2c8(0x18a)]},'cmd':_0x5ba4a1[_0x54a2c8(0x138)]};case _0x4c4aff[_0x54a2c8(0x31d)]:return{..._0x5ba4a1,'data':{..._0x3d8c1a,'data':_0x3d8c1a[_0x54a2c8(0x1e1)]},'cmd':_0x5ba4a1['cmd']};case _0x4c4aff[_0x54a2c8(0x171)]:case _0x4c4aff[_0x54a2c8(0x2ad)]:return{..._0x5ba4a1,'data':{..._0x3d8c1a,'data':_0x3d8c1a[_0x54a2c8(0x345)]},'cmd':_0x5ba4a1['cmd']};case _0x4c4aff[_0x54a2c8(0x2b1)]:return{..._0x5ba4a1,'data':{..._0x3d8c1a,'data':_0x3d8c1a['liveShareNewHost']},'cmd':_0x5ba4a1[_0x54a2c8(0x138)]};case _0x4c4aff[_0x54a2c8(0x211)]:return{..._0x5ba4a1,'data':_0x3d8c1a,'cmd':_0x5ba4a1[_0x54a2c8(0x138)]};case _0x4c4aff[_0x54a2c8(0x1b5)]:return{..._0x5ba4a1,'data':{..._0x3d8c1a,'data':_0x3d8c1a[_0x54a2c8(0x232)]},'cmd':_0x5ba4a1[_0x54a2c8(0x138)]};case _0x4c4aff[_0x54a2c8(0x278)]:return{..._0x5ba4a1,'data':{..._0x3d8c1a,'data':_0x3d8c1a['updatePermissionObjEvent']},'cmd':_0x5ba4a1[_0x54a2c8(0x138)]};case _0x4c4aff['SHOULD_CLOSE_CONN']:return{..._0x5ba4a1,'data':{..._0x3d8c1a,'data':_0x3d8c1a[_0x54a2c8(0x2ab)]},'cmd':_0x5ba4a1[_0x54a2c8(0x138)]};case _0x4c4aff[_0x54a2c8(0x289)]:return{..._0x5ba4a1,'data':{..._0x3d8c1a,'data':_0x3d8c1a[_0x54a2c8(0x30c)]},'cmd':_0x5ba4a1[_0x54a2c8(0x138)]};default:return _0x5ba4a1;}}default:return _0x5ba4a1;}}function Hn(_0x230b4d){var _0x1e2777=_0x56ebe4;switch(_0x230b4d[_0x1e2777(0x138)]){case F[_0x1e2777(0xcd)]:case F[_0x1e2777(0xfb)]:return JSON[_0x1e2777(0x25f)]({'cmd':_0x230b4d[_0x1e2777(0x138)],'routeKey':_0x230b4d['routeKey']});case F[_0x1e2777(0x207)]:{let _0xd6378c;switch(_0x230b4d[_0x1e2777(0xf1)][_0x1e2777(0x142)]){case _0x4c4aff['UPDATE_CURSOR']:{_0xd6378c={'eventID':_0x4c4aff[_0x1e2777(0x21f)],'updateCursorEvent':_0x230b4d['data'][_0x1e2777(0xf1)]};break;}case _0x4c4aff['USERS_LEAVE']:{_0xd6378c={'eventID':_0x4c4aff[_0x1e2777(0x35a)],'leaveEvent':_0x230b4d[_0x1e2777(0xf1)][_0x1e2777(0xf1)]};break;}case _0x4c4aff[_0x1e2777(0x25b)]:{_0xd6378c={'eventID':_0x4c4aff[_0x1e2777(0x25b)],'joinEvent':_0x230b4d[_0x1e2777(0xf1)][_0x1e2777(0xf1)]};break;}case _0x4c4aff[_0x1e2777(0x31d)]:{_0xd6378c={'eventID':_0x4c4aff[_0x1e2777(0x31d)],'liveShareNewHost':_0x230b4d[_0x1e2777(0xf1)][_0x1e2777(0xf1)]};break;}case _0x4c4aff[_0x1e2777(0x2ad)]:{_0xd6378c={'eventID':_0x4c4aff[_0x1e2777(0x2ad)],'liveShareOperation':_0x230b4d[_0x1e2777(0xf1)]['data']};break;}case _0x4c4aff[_0x1e2777(0x2b1)]:{_0xd6378c={'eventID':_0x4c4aff[_0x1e2777(0x2b1)],'liveShareTerminate':_0x230b4d[_0x1e2777(0xf1)][_0x1e2777(0xf1)]};break;}case _0x4c4aff[_0x1e2777(0x2a9)]:{_0xd6378c={'eventID':_0x4c4aff[_0x1e2777(0x2a9)],'liveShareRequestHost':_0x230b4d[_0x1e2777(0xf1)]['data']};break;}case _0x4c4aff[_0x1e2777(0x171)]:{_0xd6378c={'eventID':_0x4c4aff[_0x1e2777(0x171)]};break;}default:_0xd6378c={'eventID':_0x230b4d[_0x1e2777(0xf1)][_0x1e2777(0x142)]};}return JSON[_0x1e2777(0x25f)]({'cmd':_0x230b4d['cmd'],'routeKey':_0x230b4d[_0x1e2777(0x230)],'collaMsg':_0xd6378c});}case F['JOIN']:return JSON[_0x1e2777(0x25f)]({'cmd':_0x230b4d[_0x1e2777(0x138)],'routeKey':_0x230b4d[_0x1e2777(0x230)],'joinReq':_0x230b4d[_0x1e2777(0xf1)]});case F['LEAVE']:return JSON[_0x1e2777(0x25f)]({'cmd':_0x230b4d[_0x1e2777(0x138)],'routeKey':_0x230b4d[_0x1e2777(0x230)],'leaveReq':_0x230b4d[_0x1e2777(0xf1)]});default:throw new Error(_0x1e2777(0x303));}}var kn=Object['defineProperty'],jn=Object[_0x56ebe4(0x2ac)],Bn=(_0x1c53b2,_0x2a3f06,_0x523132,_0x5c5a26)=>{var _0x3a6796=_0x56ebe4;for(var _0x14ba06=_0x5c5a26>0x1?void 0x0:_0x5c5a26?jn(_0x2a3f06,_0x523132):_0x2a3f06,_0x363109=_0x1c53b2[_0x3a6796(0x146)]-0x1,_0x3f1475;_0x363109>=0x0;_0x363109--)(_0x3f1475=_0x1c53b2[_0x363109])&&(_0x14ba06=(_0x5c5a26?_0x3f1475(_0x2a3f06,_0x523132,_0x14ba06):_0x3f1475(_0x14ba06))||_0x14ba06);return _0x5c5a26&&_0x14ba06&&kn(_0x2a3f06,_0x523132,_0x14ba06),_0x14ba06;},Ue=(_0x968f38,_0x1d6f0e)=>(_0x5320e0,_0x2a8bda)=>_0x1d6f0e(_0x5320e0,_0x2a8bda,_0x968f38);const Ci=_0x3f95fd(_0x56ebe4(0x208));function Fn(_0x2c30a9,_0x2035ec,_0x7d289b){var _0x4b1eff=_0x56ebe4;return _0x2c30a9+'/'+_0x2035ec+'/unit/'+_0x7d289b+_0x4b1eff(0x24c);}let Et=class extends _0x43d67a{constructor(_0x1b299c,_0x1806da,_0x512988,_0x4f29eb,_0x40a6e7){var _0x140c66=_0x56ebe4;super(),this[_0x140c66(0x20d)]=_0x1b299c,this['_http']=_0x1806da,this[_0x140c66(0x1bf)]=_0x512988,this['_logService']=_0x4f29eb,this[_0x140c66(0xb6)]=_0x40a6e7;}[_0x56ebe4(0x1bb)](_0xfbe21c){var _0x3a6069=_0x56ebe4;const _0xcbf9b=this[_0x3a6069(0x20d)][_0x3a6069(0xf8)](_0x5c2fa7);if(!_0xcbf9b)throw new Error(_0x3a6069(0x1ff));const _0x5ebeda=_0xcbf9b[_0x3a6069(0x1bb)](_0xfbe21c);if(!_0x5ebeda)throw new Error(_0x3a6069(0x254));const _0x4dcb63=new _0x5b1227(),_0x337bc2=new _0x204182();_0x4dcb63['add'](_0x5ebeda[_0x3a6069(0x1c2)][_0x3a6069(0x1b0)](_0x3cb68a=>_0x337bc2[_0x3a6069(0x165)](_0x3cb68a))),_0x4dcb63[_0x3a6069(0x268)](_0x8ea70a(()=>_0x337bc2[_0x3a6069(0x14f)]()));const _0x8c0285=new _0x204182();_0x4dcb63[_0x3a6069(0x268)](_0x5ebeda[_0x3a6069(0x107)][_0x3a6069(0x1b0)](_0x10e247=>_0x8c0285[_0x3a6069(0x165)](_0x10e247))),_0x4dcb63[_0x3a6069(0x268)](_0x8ea70a(()=>_0x8c0285['complete']()));const _0x3c7186=new _0x204182();_0x4dcb63['add'](_0x5ebeda[_0x3a6069(0x1ab)][_0x3a6069(0x1b0)](_0x176720=>{var _0xe15477=_0x3a6069;const _0x27863f=$n(_0x176720);_0x3c7186[_0xe15477(0x165)](_0x27863f);})),_0x4dcb63['add'](_0x8ea70a(()=>_0x3c7186['complete']()));let _0x2bc0f6;const _0x21474b=()=>{var _0x2a9906=_0x3a6069;_0x8c0285[_0x2a9906(0x165)](new Event(_0x2a9906(0x10f))),_0x337bc2[_0x2a9906(0x165)](new CloseEvent(_0x2a9906(0x10f))),_0x2bc0f6['close']();};return _0x2bc0f6={'memberID':'','close$':_0x337bc2['asObservable'](),'error$':_0x8c0285[_0x3a6069(0x34f)](),'open$':_0x5ebeda['open$'],'message$':_0x3c7186[_0x3a6069(0x34f)](),'send':_0x5482dd=>{var _0x318379=_0x3a6069;if(_0x5482dd['cmd']===F[_0x318379(0x207)]){if(_0x5482dd['data'][_0x318379(0x142)]===_0x4c4aff['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x2bc0f6,_0x5482dd['data'])[_0x318379(0x27e)](_0x29345e=>{var _0x58ce25=_0x318379;this[_0x58ce25(0x162)][_0x58ce25(0x1a5)](_0x29345e),_0x21474b();});return;}if(_0x5482dd[_0x318379(0xf1)][_0x318379(0x142)]===_0x4c4aff[_0x318379(0x14e)]){const _0x33eff6=_0x5482dd[_0x318379(0xf1)];this[_0x318379(0x7f)](_0x33eff6)[_0x318379(0x274)](_0xc984e0=>{var _0x3dcc12=_0x318379;_0x3c7186[_0x3dcc12(0x165)]({'cmd':F['RECV'],'code':Ee['OK'],'routeKey':_0x33eff6[_0x3dcc12(0xf1)][_0x3dcc12(0x243)],'routeType':'','data':{'eventID':_0x4c4aff[_0x3dcc12(0x141)],'data':{'changesets':_0xc984e0}}});})['catch'](_0x4eae9d=>{var _0x46fd66=_0x318379;this['_logService'][_0x46fd66(0x1a5)](_0x4eae9d),_0x21474b();});return;}}_0x5ebeda[_0x318379(0x16f)](Hn(_0x5482dd));},'close':()=>{var _0x53602b=_0x3a6069;_0x5ebeda[_0x53602b(0x1be)](),_0x4dcb63[_0x53602b(0x210)]();}},_0x2bc0f6;}async[_0x56ebe4(0x6d)](_0x1080c8,_0x1327b3){var _0x4d0090=_0x56ebe4,_0x392925,_0x957af5;const {unitType:_0xe69550,unitID:_0x3fbeeb,changeset:_0x34ce0e}=_0x1327b3[_0x4d0090(0xf1)],_0x1c3f2d={'unitID':_0x3fbeeb,'memberID':_0x1080c8[_0x4d0090(0x16c)],'type':_0xe69550,'changeset':_0x27f36d(_0x34ce0e)},_0x43e550=this[_0x4d0090(0x1bf)][_0x4d0090(0x1d3)](Un),_0x2e5fd6=this[_0x4d0090(0x1bf)]['getConfig'](q),_0x3bed6a=Fn((_0x957af5=(_0x392925=_0x2e5fd6==null?void 0x0:_0x2e5fd6[_0x4d0090(0x6a)])!=null?_0x392925:_0x43e550)!=null?_0x957af5:An,_0xe69550,_0x3fbeeb);try{await this['_http'][_0x4d0090(0x329)](_0x3bed6a,{'body':_0x1c3f2d});}catch(_0x429f4c){throw this['_logService']['error'](_0x4d0090(0x262),_0x4d0090(0x338)),_0x429f4c;}}async['_fetchMissChangesets'](_0x422cd6){var _0x356a5b=_0x56ebe4;const {unitID:_0x4576aa,from:_0x52a091,to:_0x1a574f,unitType:_0x3ed023}=_0x422cd6[_0x356a5b(0xf1)];return(await this[_0x356a5b(0xb6)][_0x356a5b(0x256)]({'metadata':void 0x0},{'unitID':_0x4576aa,'type':_0x3ed023,'from':_0x52a091,'to':_0x1a574f}))[_0x356a5b(0x302)];}};Et=Bn([Ue(0x0,_0x10a372(_0x28066c)),Ue(0x1,_0x10a372(_0x27ab0a)),Ue(0x2,_0x495d61),Ue(0x3,_0x2eb8c5),Ue(0x4,_0x4867dc)],Et);const Vn='collaboration_new_changeset';function Gn(_0x1ba875){var _0x489115=_0x56ebe4;return JSON[_0x489115(0x25f)](_0x1ba875)[_0x489115(0x146)];}class Ri{constructor(){var _0xb2a60=_0x56ebe4;N(this,_0xb2a60(0x209),new _0x204182()),N(this,'commentUpdate$',this[_0xb2a60(0x209)][_0xb2a60(0x34f)]());}[_0x56ebe4(0xb2)](_0x40fcb5){var _0x24ef1b=_0x56ebe4;this[_0x24ef1b(0x209)][_0x24ef1b(0x165)](_0x40fcb5);}}var Wn=Object[_0x56ebe4(0xf9)],Kn=Object[_0x56ebe4(0x2ac)],Yn=(_0x3d73ca,_0x39a464,_0x5999da,_0x3e8f5f)=>{var _0x260bd2=_0x56ebe4;for(var _0x287cfa=_0x3e8f5f>0x1?void 0x0:_0x3e8f5f?Kn(_0x39a464,_0x5999da):_0x39a464,_0xd6eaae=_0x3d73ca[_0x260bd2(0x146)]-0x1,_0x1bf833;_0xd6eaae>=0x0;_0xd6eaae--)(_0x1bf833=_0x3d73ca[_0xd6eaae])&&(_0x287cfa=(_0x3e8f5f?_0x1bf833(_0x39a464,_0x5999da,_0x287cfa):_0x1bf833(_0x287cfa))||_0x287cfa);return _0x3e8f5f&&_0x287cfa&&Wn(_0x39a464,_0x5999da,_0x287cfa),_0x287cfa;},Kt=(_0x213b72,_0x2554a2)=>(_0x4a1f22,_0x4ebe0c)=>_0x2554a2(_0x4a1f22,_0x4ebe0c,_0x213b72);let xe=class extends _0x43d67a{constructor(_0x2366e0,_0x24c51e){var _0x290784=_0x56ebe4;super(),N(this,_0x290784(0x85),new Map()),N(this,'_roomCreated$',new _0x204182()),(this[_0x290784(0x1b3)]=_0x2366e0,this[_0x290784(0x111)]=_0x24c51e,this['disposeWithMe'](_0x137f9c(this[_0x290784(0x1b3)][_0x290784(0x14d)](_0x58d019['UNIVER_SHEET'])[_0x290784(0xba)](_0x387b22(_0x182dc9=>_0x182dc9[_0x290784(0x25d)]())),this['_univerInstanceService'][_0x290784(0x14d)](_0x58d019['UNIVER_DOC'])[_0x290784(0xba)](_0x387b22(_0x50bf80=>_0x50bf80[_0x290784(0x25d)]())),this[_0x290784(0x1b3)][_0x290784(0x14d)](_0x58d019['UNIVER_SLIDE'])[_0x290784(0xba)](_0x387b22(_0x1f7052=>_0x1f7052[_0x290784(0x25d)]())))[_0x290784(0x1b0)](_0x349e81=>this[_0x290784(0x294)](_0x349e81))));}['waitForRoom$'](_0xa1e65f){var _0x3f3fea=_0x56ebe4;return this[_0x3f3fea(0x85)][_0x3f3fea(0x1d6)](_0xa1e65f)?_0x12fac6(this['_roomMembers'][_0x3f3fea(0xf8)](_0xa1e65f)):this['_roomCreated$'][_0x3f3fea(0xba)](_0x387b22(_0x3239b6=>{var _0x39778b=_0x3f3fea;if(_0x3239b6===_0xa1e65f)return this[_0x39778b(0x85)]['get'](_0x3239b6);}));}[_0x56ebe4(0x316)](_0x20f324){var _0xf081fe=_0x56ebe4;this['_userManagerService'][_0xf081fe(0x316)](_0x20f324);}[_0x56ebe4(0x1f0)](){var _0x1aecc5=_0x56ebe4;return this[_0x1aecc5(0x111)][_0x1aecc5(0x1f0)]();}[_0x56ebe4(0x259)](_0x1e8705,_0x34e8a3){var _0x4de08c=_0x56ebe4;let _0x54780a=this[_0x4de08c(0x85)][_0x4de08c(0xf8)](_0x1e8705);_0x54780a||(_0x54780a=new qn(),this['_roomMembers'][_0x4de08c(0x2e4)](_0x1e8705,_0x54780a),this[_0x4de08c(0x1f8)]['next'](_0x1e8705)),_0x54780a[_0x4de08c(0x259)](_0x34e8a3);}[_0x56ebe4(0x159)](_0x5e69ae,_0x4d8dee){var _0x2fdfe0=_0x56ebe4;const _0x34d155=this['_roomMembers'][_0x2fdfe0(0xf8)](_0x5e69ae);_0x34d155&&_0x34d155[_0x2fdfe0(0x159)](_0x4d8dee);}['getRoom'](_0x264c72){var _0x524597=_0x56ebe4;return this['_roomMembers'][_0x524597(0xf8)](_0x264c72);}[_0x56ebe4(0x2a5)](_0x538e9d,_0x24bb9f){var _0x4a1134=_0x56ebe4;const _0x20c66a=this[_0x4a1134(0x85)][_0x4a1134(0xf8)](_0x538e9d);if(_0x20c66a)return _0x20c66a['getMember'](_0x24bb9f);}[_0x56ebe4(0x294)](_0x3927df){var _0x48c468=_0x56ebe4;const _0x492784=this['_roomMembers']['get'](_0x3927df);_0x492784&&(_0x492784[_0x48c468(0x210)](),this[_0x48c468(0x85)][_0x48c468(0xbb)](_0x3927df));}[_0x56ebe4(0x210)](){var _0x239527=_0x56ebe4;this[_0x239527(0x85)][_0x239527(0x328)](_0x1567a5=>_0x1567a5[_0x239527(0x210)]()),this[_0x239527(0x85)]['clear'](),this[_0x239527(0x1f8)]['complete']();}};xe=Yn([Kt(0x0,_0x4f76fc),Kt(0x1,_0x10a372(_0x39d16c))],xe);class qn extends _0x43d67a{constructor(){var _0x598584=_0x56ebe4;super(...arguments),N(this,'_members',new Map()),N(this,_0x598584(0x198),new _0x486f67(this[_0x598584(0x214)])),N(this,_0x598584(0x1ea),this[_0x598584(0x198)][_0x598584(0x34f)]());}[_0x56ebe4(0x210)](){var _0x7e520a=_0x56ebe4;this['_members'][_0x7e520a(0x16e)]();}[_0x56ebe4(0x259)](_0x57fc56){var _0x253095=_0x56ebe4;this[_0x253095(0x214)]['set'](_0x57fc56[_0x253095(0x16c)],_0x57fc56),this[_0x253095(0x1e5)]();}['removeMember'](_0x558f0d){var _0x3a2124=_0x56ebe4;this[_0x3a2124(0x214)][_0x3a2124(0xbb)](_0x558f0d);}[_0x56ebe4(0x2a5)](_0xd1d520){var _0x451644=_0x56ebe4;return this[_0x451644(0x214)][_0x451644(0xf8)](_0xd1d520);}[_0x56ebe4(0xc2)](){var _0x3ebf5c=_0x56ebe4;return Array[_0x3ebf5c(0x2f5)](this[_0x3ebf5c(0x214)][_0x3ebf5c(0x33b)]());}[_0x56ebe4(0x1e5)](){var _0x44ada2=_0x56ebe4;this[_0x44ada2(0x198)]['next'](this[_0x44ada2(0x214)]);}}var zn=Object['defineProperty'],Jn=Object[_0x56ebe4(0x2ac)],Xn=(_0x489d1b,_0x3ea892,_0x2f59c3,_0x2bbd51)=>{var _0x32c4a3=_0x56ebe4;for(var _0x106776=_0x2bbd51>0x1?void 0x0:_0x2bbd51?Jn(_0x3ea892,_0x2f59c3):_0x3ea892,_0x55351f=_0x489d1b[_0x32c4a3(0x146)]-0x1,_0x494fad;_0x55351f>=0x0;_0x55351f--)(_0x494fad=_0x489d1b[_0x55351f])&&(_0x106776=(_0x2bbd51?_0x494fad(_0x3ea892,_0x2f59c3,_0x106776):_0x494fad(_0x106776))||_0x106776);return _0x2bbd51&&_0x106776&&zn(_0x3ea892,_0x2f59c3,_0x106776),_0x106776;},me=(_0xa23c01,_0x33f49b)=>(_0x509fb3,_0x32b4b2)=>_0x33f49b(_0x509fb3,_0x32b4b2,_0xa23c01),Te=(_0x4b3fbc=>(_0x4b3fbc[_0x4b3fbc[_0x56ebe4(0x197)]=0x0]=_0x56ebe4(0x197),_0x4b3fbc[_0x4b3fbc['JOINING']=0x1]=_0x56ebe4(0x34b),_0x4b3fbc[_0x4b3fbc['OFFLINE']=0x2]=_0x56ebe4(0x119),_0x4b3fbc[_0x4b3fbc[_0x56ebe4(0xee)]=0x3]=_0x56ebe4(0xee),_0x4b3fbc))(Te||{});const Yt={[Ee[_0x56ebe4(0x169)]]:_0x56ebe4(0x311),[Ee[_0x56ebe4(0x192)]]:'session.room-full',[Ee[_0x56ebe4(0xb0)]]:_0x56ebe4(0xa7),[Ee[_0x56ebe4(0x76)]]:'session.room-permission-denied',[Ee[_0x56ebe4(0x2f7)]]:_0x56ebe4(0x313)};let It=class extends _0x28b5a4{constructor(_0x30f921,_0x373a24,_0x1bfb88,_0x1a48e0,_0x34ab9c,_0x195d15,_0x3d3db0,_0x286207,_0x3385fe){var _0xdcc6dc=_0x56ebe4;super(),N(this,_0xdcc6dc(0x304),new _0x486f67(0x0)),N(this,_0xdcc6dc(0x104),this[_0xdcc6dc(0x304)][_0xdcc6dc(0x34f)]()),N(this,_0xdcc6dc(0x2fd),new _0x204182()),N(this,_0xdcc6dc(0x8c),this[_0xdcc6dc(0x2fd)][_0xdcc6dc(0x34f)]()),N(this,_0xdcc6dc(0x1c7)),N(this,'_socketMessageSubscription'),N(this,_0xdcc6dc(0x247)),N(this,_0xdcc6dc(0xc8),!0x1),N(this,_0xdcc6dc(0xc7),null),(this['_unitID']=_0x30f921,this[_0xdcc6dc(0x162)]=_0x1bfb88,this[_0xdcc6dc(0x1bf)]=_0x1a48e0,this[_0xdcc6dc(0x337)]=_0x34ab9c,this[_0xdcc6dc(0x229)]=_0x195d15,this[_0xdcc6dc(0x14a)]=_0x3d3db0,this[_0xdcc6dc(0x218)]=_0x286207,this[_0xdcc6dc(0x34e)]=_0x3385fe,this['_shouldReportTelemetry']=!!this[_0xdcc6dc(0x34e)],_0x373a24[_0xdcc6dc(0xba)](_0x393b20(this[_0xdcc6dc(0x205)]))[_0xdcc6dc(0x1b0)](_0x3d2639=>{var _0x35363f=_0xdcc6dc,_0x27ba5a;typeof _0x3d2639>'u'||(this[_0x35363f(0x1c7)]=_0x3d2639,_0x3d2639?(this[_0x35363f(0x195)](_0x3d2639),this[_0x35363f(0x87)]=_0x3d2639[_0x35363f(0x1ab)][_0x35363f(0x1b0)](_0x31440c=>{var _0x539422=_0x35363f;_0x31440c[_0x539422(0x230)]===this[_0x539422(0x77)]&&this['_onCombEvent'](_0x31440c);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x35363f(0x304)][_0x35363f(0x165)](0x2),(_0x27ba5a=this[_0x35363f(0x87)])==null||_0x27ba5a[_0x35363f(0x122)](),this[_0x35363f(0x87)]=null));}));}get[_0x56ebe4(0x1fd)](){var _0x2fc78d=_0x56ebe4;return this[_0x2fc78d(0x304)][_0x2fc78d(0x32f)]();}[_0x56ebe4(0x2c7)](){var _0x57d74a=_0x56ebe4,_0x1b0a8c,_0x525a66;return(_0x525a66=(_0x1b0a8c=this[_0x57d74a(0x1c7)])==null?void 0x0:_0x1b0a8c['memberID'])!=null?_0x525a66:null;}['dispose'](){var _0x586f6c=_0x56ebe4;super[_0x586f6c(0x210)](),this[_0x586f6c(0x205)][_0x586f6c(0x165)](),this[_0x586f6c(0x205)][_0x586f6c(0x14f)]();}[_0x56ebe4(0x1be)](){var _0x379c90=_0x56ebe4,_0x1827f9,_0x47ed76;this['_throwTelemetryCollaborationNewChangeset'](),(_0x1827f9=this[_0x379c90(0x1c7)])==null||_0x1827f9[_0x379c90(0x16f)]({'cmd':F[_0x379c90(0x1ae)],'data':{'roomID':this['_unitID']}}),(_0x47ed76=this['_socket'])==null||_0x47ed76[_0x379c90(0x1be)](),this[_0x379c90(0x2fd)][_0x379c90(0x14f)](),this[_0x379c90(0x304)]['complete'](),this[_0x379c90(0x210)]();}[_0x56ebe4(0x1e9)](_0x95cb40){var _0x50b1bd=_0x56ebe4;_0x95cb40[_0x50b1bd(0x138)]===F['JOIN']?this['_onJoinRoomEvent'](_0x95cb40):_0x95cb40['cmd']===F[_0x50b1bd(0x23d)]&&this[_0x50b1bd(0x277)](_0x95cb40);}[_0x56ebe4(0x195)](_0x4f6a9e){var _0x3100e3=_0x56ebe4;this[_0x3100e3(0x304)][_0x3100e3(0x165)](0x1),_0x4f6a9e[_0x3100e3(0x16f)]({'cmd':F[_0x3100e3(0x70)],'routeKey':this[_0x3100e3(0x77)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3100e3(0x77)]}]}});}[_0x56ebe4(0x284)](_0x43dd4a){var _0x13e35d=_0x56ebe4,_0x34e366;if(_0x43dd4a[_0x13e35d(0x280)]in Yt){this[_0x13e35d(0x218)][_0x13e35d(0x2bc)]({'id':se[_0x13e35d(0x1d5)],'data':Yt[_0x43dd4a[_0x13e35d(0x280)]]}),this[_0x13e35d(0x304)]['next'](0x2);return;}this[_0x13e35d(0x304)][_0x13e35d(0x165)](0x3);const _0x2230c1=(_0x34e366=_0x43dd4a[_0x13e35d(0xf1)][_0x13e35d(0x1fe)][this[_0x13e35d(0x77)]])==null?void 0x0:_0x34e366['members'];_0x2230c1&&_0x2230c1[_0x13e35d(0x328)](_0x67f80=>this[_0x13e35d(0x229)][_0x13e35d(0x259)](this[_0x13e35d(0x77)],_0x67f80));}[_0x56ebe4(0x277)](_0x66da1){var _0x283368=_0x56ebe4;try{const _0x258539=_0x66da1[_0x283368(0xf1)];switch(_0x258539['eventID']){case _0x4c4aff[_0x283368(0x25b)]:this['_onUserJoin'](_0x258539),this[_0x283368(0x2fd)]['next'](_0x258539);break;case _0x4c4aff[_0x283368(0x35a)]:this[_0x283368(0xf4)](_0x258539),this[_0x283368(0x2fd)][_0x283368(0x165)](_0x258539);break;case _0x4c4aff[_0x283368(0x315)]:case _0x4c4aff[_0x283368(0x1a8)]:this[_0x283368(0x1e6)](),this[_0x283368(0x318)](),this[_0x283368(0x2fd)][_0x283368(0x165)](_0x258539);break;case _0x4c4aff[_0x283368(0x211)]:this[_0x283368(0x162)][_0x283368(0x1a5)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x283368(0x25f)](_0x258539)),this[_0x283368(0x2fd)]['next'](_0x258539);break;case _0x4c4aff[_0x283368(0x1b5)]:this[_0x283368(0x14a)]['onCommentUpdate'](_0x258539[_0x283368(0xf1)]),this[_0x283368(0x2fd)]['next'](_0x258539);break;default:this[_0x283368(0x2fd)][_0x283368(0x165)](_0x258539);}}catch(_0x24a3af){this['_logService']['error'](_0x24a3af,_0x66da1);}}[_0x56ebe4(0x347)](_0x232b0e){var _0x301a9b=_0x56ebe4;this['_memberService'][_0x301a9b(0x259)](this[_0x301a9b(0x77)],_0x232b0e['data']);}[_0x56ebe4(0xf4)](_0xeb2a1d){var _0x8aca18=_0x56ebe4;this['_memberService'][_0x8aca18(0x159)](this['_unitID'],_0xeb2a1d[_0x8aca18(0xf1)]['memberID']);}async[_0x56ebe4(0x16f)](_0x5a505f,_0x2bb5a5){var _0x942960=_0x56ebe4;if(this['sessionStatus']!==0x3||!this[_0x942960(0x1c7)])throw new Error(_0x942960(0x2d3));try{_0x5a505f[_0x942960(0x142)]===_0x4c4aff[_0x942960(0x20b)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x942960(0x26d)](_0x5a505f)),this[_0x942960(0x1c7)]['send']({'cmd':F['INGEST'],'routeKey':_0x2bb5a5,'routeType':'','data':_0x5a505f});}catch(_0x1500cd){this[_0x942960(0x162)][_0x942960(0x1a5)](_0x1500cd);}}[_0x56ebe4(0x351)](){var _0x4af6d0=_0x56ebe4,_0x70f6eb;this[_0x4af6d0(0x247)]=setTimeout(()=>{var _0x4c88e7=_0x4af6d0;this[_0x4c88e7(0x247)]=null,this[_0x4c88e7(0x218)]['emitEvent']({'id':se[_0x4c88e7(0x240)]});},(_0x70f6eb=this[_0x4af6d0(0x1bf)][_0x4af6d0(0x1d3)](Si))!=null?_0x70f6eb:Ei);}[_0x56ebe4(0x318)](){var _0x39b430=_0x56ebe4;this[_0x39b430(0x247)]&&(clearTimeout(this[_0x39b430(0x247)]),this[_0x39b430(0x247)]=null);}[_0x56ebe4(0x26d)](_0x207564){var _0x5aa562=_0x56ebe4;if(!this[_0x5aa562(0xc8)])return;const {data:_0x41677c}=_0x207564,{unitID:_0x519dd4,changeset:_0x4f2f1b}=_0x41677c,{mutations:_0x4bc130,type:_0x15e336}=_0x4f2f1b;this[_0x5aa562(0xc7)]={'unitId':_0x519dd4,'type':_0x15e336,'startTime':performance[_0x5aa562(0x1e3)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x4bc130)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x362833=_0x56ebe4;if(this[_0x362833(0xc8)]){if(!this[_0x362833(0xc7)]){this[_0x362833(0x162)][_0x362833(0x1a5)](_0x362833(0x262),_0x362833(0x1a6));return;}this[_0x362833(0xc7)][_0x362833(0x242)]=performance[_0x362833(0x1e3)](),this[_0x362833(0xc7)][_0x362833(0x131)]=this[_0x362833(0xc7)][_0x362833(0x242)]-this[_0x362833(0xc7)]['startTime'],this['_telemetryService'][_0x362833(0x343)](Vn,this['_telemetryInfo']),this[_0x362833(0xc7)]=null;}}[_0x56ebe4(0x1fb)](){var _0x50991c=_0x56ebe4;this[_0x50991c(0xc7)]=null;}};It=Xn([me(0x2,_0x2eb8c5),me(0x3,_0x495d61),me(0x4,_0x10a372(_0x1bd86e)),me(0x5,_0x10a372(xe)),me(0x6,_0x10a372(Ri)),me(0x7,_0x10a372(pe)),me(0x8,_0x5893d5(_0x5edc8e))],It);var Zn=Object[_0x56ebe4(0xf9)],Qn=Object[_0x56ebe4(0x2ac)],er=(_0x779a5d,_0x41f75f,_0x1edf0a,_0xc88664)=>{var _0x4b909a=_0x56ebe4;for(var _0x5ed997=_0xc88664>0x1?void 0x0:_0xc88664?Qn(_0x41f75f,_0x1edf0a):_0x41f75f,_0xee9fc=_0x779a5d[_0x4b909a(0x146)]-0x1,_0x478232;_0xee9fc>=0x0;_0xee9fc--)(_0x478232=_0x779a5d[_0xee9fc])&&(_0x5ed997=(_0xc88664?_0x478232(_0x41f75f,_0x1edf0a,_0x5ed997):_0x478232(_0x5ed997))||_0x5ed997);return _0xc88664&&_0x5ed997&&Zn(_0x41f75f,_0x1edf0a,_0x5ed997),_0x5ed997;},ge=(_0x11557b,_0x46c80d)=>(_0x47fb2a,_0x263b84)=>_0x46c80d(_0x47fb2a,_0x263b84,_0x11557b);let Le=class extends _0x43d67a{constructor(_0x55766e,_0x35d99d,_0x562ec4,_0xfbbeab,_0x1564bf,_0x1b73c5,_0x189134){var _0xc6a05f=_0x56ebe4;super(),N(this,_0xc6a05f(0x17d),new _0x486f67(void 0x0)),N(this,_0xc6a05f(0x2b6),this[_0xc6a05f(0x17d)][_0xc6a05f(0x34f)]()),N(this,_0xc6a05f(0x19e),null),N(this,_0xc6a05f(0xcf),new Map()),N(this,_0xc6a05f(0x72),new _0x486f67(Te['IDLE'])),N(this,_0xc6a05f(0x103),this[_0xc6a05f(0x72)][_0xc6a05f(0x34f)]()),N(this,_0xc6a05f(0x348),!0x1),N(this,_0xc6a05f(0x25a)),N(this,_0xc6a05f(0x1dd),0x0),N(this,_0xc6a05f(0xf3)),N(this,_0xc6a05f(0x35f)),(this['_injector']=_0x55766e,this[_0xc6a05f(0x162)]=_0x35d99d,this['_configService']=_0x562ec4,this['_socketService']=_0xfbbeab,this[_0xc6a05f(0x1d8)]=_0x1564bf,this[_0xc6a05f(0x218)]=_0x1b73c5,this['_networkConditionService']=_0x189134,this[_0xc6a05f(0x7b)]());}get[_0x56ebe4(0x1c7)](){return this['_socket$']['getValue']();}[_0x56ebe4(0x7b)](){var _0x479a2c=_0x56ebe4;this[_0x479a2c(0x2c2)]&&this[_0x479a2c(0x312)](this[_0x479a2c(0x2c2)][_0x479a2c(0x2a7)][_0x479a2c(0x1b0)](_0x47282c=>{var _0x26b95d=_0x479a2c;_0x47282c&&!this[_0x26b95d(0x1c7)]&&this[_0x26b95d(0x1cd)](),_0x47282c||this[_0x26b95d(0x28a)]();}));}['dispose'](){var _0x189e19=_0x56ebe4;super[_0x189e19(0x210)](),this['_sessions'][_0x189e19(0x328)](_0x45d069=>_0x45d069['dispose']()),this['_sessions'][_0x189e19(0x16e)](),this[_0x189e19(0x72)][_0x189e19(0x14f)]();}async[_0x56ebe4(0x249)](_0x113bbf){var _0x268041=_0x56ebe4;if(this[_0x268041(0xcf)]['has'](_0x113bbf))return this[_0x268041(0xcf)][_0x268041(0xf8)](_0x113bbf);this[_0x268041(0x2e0)]();const _0x3a4fbe=this['_injector'][_0x268041(0x24d)](It,_0x113bbf,this[_0x268041(0x17d)]['asObservable']());return this[_0x268041(0xcf)][_0x268041(0x2e4)](_0x113bbf,_0x3a4fbe),_0x3a4fbe;}[_0x56ebe4(0x2e5)](_0x48d099){var _0x4d524a=_0x56ebe4,_0x535310;const _0x2edaf5=this['_sessions'][_0x4d524a(0xf8)](_0x48d099);_0x2edaf5&&(this[_0x4d524a(0xcf)][_0x4d524a(0xbb)](_0x48d099),_0x2edaf5[_0x4d524a(0x1be)]()),this[_0x4d524a(0xcf)]['size']||(_0x535310=this[_0x4d524a(0x1c7)])==null||_0x535310['close']();}[_0x56ebe4(0x1cd)](){var _0x4d67d6=_0x56ebe4;this[_0x4d67d6(0x1dd)]=0x0,this[_0x4d67d6(0x25a)]!=null&&(clearTimeout(this[_0x4d67d6(0x25a)]),this[_0x4d67d6(0x25a)]=null),this[_0x4d67d6(0x206)]();}async['_getSessionTicket'](){var _0x3507a2=_0x56ebe4,_0x429820,_0x46d5b3,_0x5e861e;const _0x511ed1=this['_configService'][_0x3507a2(0x1d3)](q),_0x5e45ef=(_0x429820=_0x511ed1==null?void 0x0:_0x511ed1[_0x3507a2(0x10a)])!=null?_0x429820:On;return(_0x5e861e=(_0x46d5b3=(await this[_0x3507a2(0x1d8)][_0x3507a2(0xf8)](_0x5e45ef,{'headers':{'Content-Type':'application/json'}}))[_0x3507a2(0x33d)])==null?void 0x0:_0x46d5b3[_0x3507a2(0x275)])!=null?_0x5e861e:'';}[_0x56ebe4(0x252)](_0x5624f3){var _0xfcc7c0=_0x56ebe4,_0x1f7dae,_0x1740d5;const _0x3c11ff=this[_0xfcc7c0(0x1bf)][_0xfcc7c0(0x1d3)](Rn),_0x3f3a20=this[_0xfcc7c0(0x1bf)]['getConfig'](q),_0xee8718=(_0x1740d5=(_0x1f7dae=_0x3f3a20==null?void 0x0:_0x3f3a20[_0xfcc7c0(0x352)])!=null?_0x1f7dae:_0x3c11ff)!=null?_0x1740d5:bn,_0x320d91=typeof window>'u'?new URL(_0xee8718):new URL(_0xee8718,window[_0xfcc7c0(0x2ec)]['origin']);_0x320d91[_0xfcc7c0(0x1e4)][_0xfcc7c0(0x2e4)](_0xfcc7c0(0x22c),_0x5624f3);const _0x3ea3fa=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xfcc7c0(0x2ec)][_0xfcc7c0(0x132)]);return _0x3ea3fa['get'](_0xfcc7c0(0xd9))&&_0x320d91[_0xfcc7c0(0x1e4)]['set']('runId',_0x3ea3fa[_0xfcc7c0(0xf8)](_0xfcc7c0(0xd9))),_0x320d91['toString']();}async[_0x56ebe4(0x155)](){var _0x3e00a4=_0x56ebe4;const _0x5a727a=await this[_0x3e00a4(0x258)](),_0x21c954=this[_0x3e00a4(0x252)](_0x5a727a),_0x38ab6c=this[_0x3e00a4(0x24b)]['createSocket'](_0x21c954);return this['_candidateSocket']=_0x38ab6c,_0x38ab6c;}async['_tryEnsureSocket'](){var _0x1e53f6=_0x56ebe4,_0x2c2987,_0x3bb609;try{const _0x9aac28=(_0x3bb609=(_0x2c2987=this[_0x1e53f6(0x1c7)])!=null?_0x2c2987:this[_0x1e53f6(0x19e)])!=null?_0x3bb609:await this[_0x1e53f6(0x155)]();if(_0x9aac28){const _0x1b78b5=_0x9aac28[_0x1e53f6(0x16f)];_0x9aac28[_0x1e53f6(0x16f)]=_0x363069=>(this[_0x1e53f6(0x2ce)](),_0x1b78b5[_0x1e53f6(0x1cf)](_0x9aac28,[_0x363069])),_0x9aac28[_0x1e53f6(0x1ab)][_0x1e53f6(0x1b0)](_0x490f3c=>this['_onMessage'](_0x9aac28,_0x490f3c)),_0x9aac28['error$'][_0x1e53f6(0xba)](_0x34c7e4(0x1))[_0x1e53f6(0x1b0)](_0x1e751f=>this[_0x1e53f6(0x162)][_0x1e53f6(0x1a5)]('[CollaborationSessionService]:\x20socket\x20error',_0x1e751f)),_0x9aac28[_0x1e53f6(0x287)][_0x1e53f6(0xba)](_0x34c7e4(0x1))[_0x1e53f6(0x1b0)](()=>{var _0x334e1b=_0x1e53f6;this[_0x334e1b(0xe2)](_0x9aac28);}),_0x9aac28['close$'][_0x1e53f6(0xba)](_0x34c7e4(0x1))[_0x1e53f6(0x1b0)](_0x2c041c=>{var _0xf27dc2=_0x1e53f6;this[_0xf27dc2(0x162)][_0xf27dc2(0x7c)](_0xf27dc2(0x108),_0xf27dc2(0x144),_0x2c041c),this[_0xf27dc2(0x147)]();});}}catch(_0x2de20d){this[_0x1e53f6(0x162)][_0x1e53f6(0x1a5)](_0x2de20d),this[_0x1e53f6(0x147)]();}}['_onConnectionOpen'](_0xc4f624){var _0x2d1e38=_0x56ebe4;this[_0x2d1e38(0x162)][_0x2d1e38(0x7c)](_0x2d1e38(0x108),_0x2d1e38(0x360)),_0xc4f624[_0x2d1e38(0x16f)]({'cmd':F[_0x2d1e38(0xfb)]}),this['_rescheduleHeartbeat']();}[_0x56ebe4(0x28a)](){var _0x528fdb=_0x56ebe4;this['_socketReady']=!0x1,this[_0x528fdb(0x19e)]=null,this[_0x528fdb(0x72)][_0x528fdb(0x165)](Te[_0x528fdb(0x119)]),this['_socket$'][_0x528fdb(0x165)](null),this[_0x528fdb(0x241)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x13acc9=_0x56ebe4,_0x4ec27a;this[_0x13acc9(0x28a)](),this[_0x13acc9(0x1dd)]<((_0x4ec27a=this[_0x13acc9(0x1bf)][_0x13acc9(0x1d3)](Pn))!=null?_0x4ec27a:wn)?(this[_0x13acc9(0x218)][_0x13acc9(0x2bc)]({'id':se[_0x13acc9(0x1ad)]}),this[_0x13acc9(0x206)]()):this[_0x13acc9(0x218)][_0x13acc9(0x2bc)]({'id':se[_0x13acc9(0x21d)]});}['_tryReconnect'](){var _0x1f0b3e=_0x56ebe4,_0x449fed;const _0x26be9a=this[_0x1f0b3e(0x1dd)],_0x2a5c5a=this['_configService'][_0x1f0b3e(0x1d3)](q),_0x27676f=_0x26be9a===0x0?0x0:((_0x449fed=_0x2a5c5a==null?void 0x0:_0x2a5c5a['retryConnectingInterval'])!=null?_0x449fed:Dn)*0x2**_0x26be9a;this[_0x1f0b3e(0x25a)]=setTimeout(()=>{var _0x4cc547=_0x1f0b3e;clearTimeout(this[_0x4cc547(0x25a)]),this[_0x4cc547(0x25a)]=null,this[_0x4cc547(0x2e0)]();},_0x27676f),this[_0x1f0b3e(0x1dd)]+=0x1;}['_onMessage'](_0x214f1f,_0x1c6543){var _0x182a02=_0x56ebe4;const {cmd:_0x1f0374}=_0x1c6543;_0x1f0374===F[_0x182a02(0xfb)]&&!this['_socketReady']&&(_0x214f1f[_0x182a02(0x16c)]=_0x1c6543['data'][_0x182a02(0x16c)],this[_0x182a02(0x17d)][_0x182a02(0x165)](_0x214f1f),this[_0x182a02(0x72)][_0x182a02(0x165)](Te[_0x182a02(0xee)]),this['_socketReady']=!0x0,this[_0x182a02(0x19e)]=null),_0x1f0374===F[_0x182a02(0xcd)]&&this[_0x182a02(0x241)](),this[_0x182a02(0x2ce)]();}[_0x56ebe4(0x2ce)](){var _0x4377b5=_0x56ebe4,_0x3f6ad1;this[_0x4377b5(0x30d)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x4377b5(0x2f9)](),(_0x3f6ad1=this['_configService']['getConfig'](yn))!=null?_0x3f6ad1:Nn);}['_sendHeartbeat'](){var _0x3f87a9=_0x56ebe4;this[_0x3f87a9(0x1c7)][_0x3f87a9(0x16f)]({'cmd':F[_0x3f87a9(0xcd)]}),this['_waitForHeartbeatResponse']();}[_0x56ebe4(0x333)](){var _0x369fab=_0x56ebe4,_0x74858a;this[_0x369fab(0x35f)]=setTimeout(()=>this[_0x369fab(0x147)](),(_0x74858a=this[_0x369fab(0x1bf)][_0x369fab(0x1d3)](Si))!=null?_0x74858a:Ei);}[_0x56ebe4(0x30d)](){var _0x464e76=_0x56ebe4;this[_0x464e76(0xf3)]!=null&&(clearTimeout(this[_0x464e76(0xf3)]),this[_0x464e76(0xf3)]=null);}[_0x56ebe4(0x241)](){var _0x4b3f23=_0x56ebe4;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x4b3f23(0x35f)]),this[_0x4b3f23(0x35f)]=null);}};Le=er([ge(0x0,_0x10a372(_0x28066c)),ge(0x1,_0x2eb8c5),ge(0x2,_0x495d61),ge(0x3,Ci),ge(0x4,_0x10a372(_0x27ab0a)),ge(0x5,_0x10a372(pe)),ge(0x6,_0x5893d5(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x56ebe4(0xb9)]((n+0x100)[_0x56ebe4(0x237)](0x10)[_0x56ebe4(0x2ea)](0x1));function tr(_0x341d2f,_0xed30e1=0x0){var _0x287c73=_0x56ebe4;return(V[_0x341d2f[_0xed30e1+0x0]]+V[_0x341d2f[_0xed30e1+0x1]]+V[_0x341d2f[_0xed30e1+0x2]]+V[_0x341d2f[_0xed30e1+0x3]]+'-'+V[_0x341d2f[_0xed30e1+0x4]]+V[_0x341d2f[_0xed30e1+0x5]]+'-'+V[_0x341d2f[_0xed30e1+0x6]]+V[_0x341d2f[_0xed30e1+0x7]]+'-'+V[_0x341d2f[_0xed30e1+0x8]]+V[_0x341d2f[_0xed30e1+0x9]]+'-'+V[_0x341d2f[_0xed30e1+0xa]]+V[_0x341d2f[_0xed30e1+0xb]]+V[_0x341d2f[_0xed30e1+0xc]]+V[_0x341d2f[_0xed30e1+0xd]]+V[_0x341d2f[_0xed30e1+0xe]]+V[_0x341d2f[_0xed30e1+0xf]])[_0x287c73(0x276)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x4ab5db=_0x56ebe4;if(!ut){if(typeof crypto>'u'||!crypto[_0x4ab5db(0x305)])throw new Error(_0x4ab5db(0x28f));ut=crypto[_0x4ab5db(0x305)][_0x4ab5db(0x11d)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x56ebe4(0x1c9)]&&crypto['randomUUID'][_0x56ebe4(0x11d)](crypto),qt={'randomUUID':rr};function sr(_0x1c5c66,_0x4cb85b,_0x584603){var _0x336422=_0x56ebe4,_0x275c97,_0x26f779,_0xbd4d1a;if(qt[_0x336422(0x1c9)]&&!_0x1c5c66)return qt[_0x336422(0x1c9)]();_0x1c5c66=_0x1c5c66||{};const _0x317019=(_0xbd4d1a=(_0x26f779=_0x1c5c66[_0x336422(0x33a)])!=null?_0x26f779:(_0x275c97=_0x1c5c66[_0x336422(0x9f)])==null?void 0x0:_0x275c97[_0x336422(0x2d1)](_0x1c5c66))!=null?_0xbd4d1a:nr();if(_0x317019[_0x336422(0x146)]<0x10)throw new Error(_0x336422(0x176));return _0x317019[0x6]=_0x317019[0x6]&0xf|0x40,_0x317019[0x8]=_0x317019[0x8]&0x3f|0x80,tr(_0x317019);}const J=_0x3f95fd(_0x56ebe4(0x231));function so(_0x53a178){var _0x197897=_0x56ebe4;return _0x197897(0x353)+_0x53a178;}var or=Object[_0x56ebe4(0xf9)],ar=Object[_0x56ebe4(0x2ac)],cr=(_0x589ce3,_0x45a8ca,_0x599eda,_0x2e95af)=>{var _0x28658a=_0x56ebe4;for(var _0x435380=_0x2e95af>0x1?void 0x0:_0x2e95af?ar(_0x45a8ca,_0x599eda):_0x45a8ca,_0x1a68ef=_0x589ce3[_0x28658a(0x146)]-0x1,_0x233df7;_0x1a68ef>=0x0;_0x1a68ef--)(_0x233df7=_0x589ce3[_0x1a68ef])&&(_0x435380=(_0x2e95af?_0x233df7(_0x45a8ca,_0x599eda,_0x435380):_0x233df7(_0x435380))||_0x435380);return _0x2e95af&&_0x435380&&or(_0x45a8ca,_0x599eda,_0x435380),_0x435380;},dt=(_0x656d60,_0x41775b)=>(_0x1dda5c,_0x13596d)=>_0x41775b(_0x1dda5c,_0x13596d,_0x656d60);function hr(_0x2dbde9){var _0x4d381a=_0x56ebe4;const {unitID:_0x4f2a16,mutations:_0x11a272}=_0x2dbde9;return{'unitId':_0x4f2a16,'subUnitId':_0x11a272[0x0][_0x4d381a(0xaa)][_0x4d381a(0x19f)]};}let it=class{constructor(_0x32d75b,_0xb2be3f,_0x3baf80){var _0x376dc6=_0x56ebe4;this[_0x376dc6(0x20d)]=_0x32d75b,this[_0x376dc6(0x272)]=_0xb2be3f,this['_instanceService']=_0x3baf80;}[_0x56ebe4(0x26b)](_0x2b883b){var _0x3695f4=_0x56ebe4,_0x226dcd,_0x1b6286,_0x1de519,_0x209f7d;const _0x3a7c51=this[_0x3695f4(0x20d)][_0x3695f4(0xf8)](_0x585bd3),{unitId:_0x22db95,subUnitId:_0x3e9d83}=hr(_0x2b883b),_0xd66123=_0x3a7c51==null?void 0x0:_0x3a7c51[_0x3695f4(0x22a)](_0x22db95)['getCurrentSelections'](),_0x80e3f1=(_0x1b6286=(_0x226dcd=this[_0x3695f4(0x279)][_0x3695f4(0x32a)](_0x22db95))==null?void 0x0:_0x226dcd[_0x3695f4(0xe7)]())==null?void 0x0:_0x1b6286[_0x3695f4(0x84)]();if(_0xd66123[_0x3695f4(0x146)]===0x0||!_0x22db95||!_0x3e9d83)return;const _0x198ccc=[{'id':_0x267bd9['id'],'params':{'unitId':_0x22db95,'subUnitId':_0x80e3f1,'selections':_0x13d639[_0x3695f4(0x35b)](_0xd66123)}}],_0x46a2bd=this[_0x3695f4(0x272)]['transformMutationsWithChangeset'](_0x2b883b,_0x198ccc);if(!_0x274f8f(_0x46a2bd))throw _0x46a2bd[_0x3695f4(0x1a5)];const _0x4320f5=(_0x209f7d=(_0x1de519=_0x46a2bd[_0x3695f4(0x283)][0x0])==null?void 0x0:_0x1de519[_0x3695f4(0xaa)])==null?void 0x0:_0x209f7d[_0x3695f4(0x271)];if(Array[_0x3695f4(0x2e1)](_0x4320f5)&&_0x4320f5[_0x3695f4(0x146)]){if(_0x4320f5[_0x3695f4(0x146)]===_0x198ccc[0x0][_0x3695f4(0xaa)][_0x3695f4(0x271)][_0x3695f4(0x146)]&&_0x4320f5[_0x3695f4(0x225)]((_0x150d80,_0xfaa902)=>_0x35836e['equals'](_0x150d80[_0x3695f4(0x224)],_0x198ccc[0x0]['params'][_0x3695f4(0x271)][_0xfaa902]['range'])))return;this[_0x3695f4(0x20d)][_0x3695f4(0xf8)](_0x1854e4)[_0x3695f4(0xf6)](_0x267bd9['id'],{'unitId':_0x22db95,'subUnitId':_0x80e3f1,'selections':_0x4320f5});}}};it=cr([dt(0x0,_0x10a372(_0x28066c)),dt(0x1,_0x45afc8),dt(0x2,_0x4f76fc)],it);const ht=_0x3f95fd(_0x56ebe4(0x2df));var bi=(_0x2ab934=>(_0x2ab934[_0x2ab934['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x56ebe4(0x66),_0x2ab934[_0x2ab934['OTHER_CLIENTS_EDITING']=0x1]=_0x56ebe4(0x227),_0x2ab934))(bi||{});const _r=new Set([_0x44dcd4['id']]);function zt(_0x569058,_0x1795f0,_0x4599f9,_0x313fac,_0x42a3d7){var _0x367e7b=_0x56ebe4,_0x2807a3,_0x1bf34a,_0x302b5c,_0x23b3c5;const _0x114623=[];for(const _0xd2467e of _0x569058)if(_r[_0x367e7b(0x1d6)](_0xd2467e['id'])){if(_0x114623[_0x367e7b(0x146)]>0x0)break;_0x114623[_0x367e7b(0xb9)](_0xd2467e);break;}else _0x114623[_0x367e7b(0xb9)](_0xd2467e);const _0x58f931=(_0x1bf34a=(_0x2807a3=_0x42a3d7['getCurrentUser']())==null?void 0x0:_0x2807a3[_0x367e7b(0x8b)])!=null?_0x1bf34a:_0x367e7b(0x8f),_0x5494cb=(_0x23b3c5=(_0x302b5c=_0x42a3d7[_0x367e7b(0x1f0)]())==null?void 0x0:_0x302b5c[_0x367e7b(0x16c)])!=null?_0x23b3c5:_0x367e7b(0x8f);return{'changeset':{'unitID':_0x1795f0,'type':_0x1e2f7a(_0x4599f9[_0x367e7b(0x26a)](_0x1795f0)),'baseRev':_0x313fac[_0x367e7b(0x33c)](_0x1795f0),'revision':0x0,'userID':_0x58f931,'memberID':_0x5494cb,'mutations':_0x114623},'pendingMutations':_0x569058[_0x367e7b(0x2ea)](_0x114623['length'])};}function lr(_0x4838f2,_0x1b1b2a,_0x461aee,_0x8e5046,_0x5336bc){var _0x530cf0=_0x56ebe4,_0x29ad89,_0x12dca0,_0x2ecdd6,_0x26fecc;const _0x58b99e=[_0x4838f2['reduce']((_0xcd6f09,_0x48cfc0)=>{var _0x3b7c32=_0x8d60,_0x3dc269;const {id:_0x27bd88}=_0xcd6f09,{id:_0x4d33ab,type:_0x45edc1}=_0x48cfc0,_0x132771=(_0x3dc269=_0xcd6f09[_0x3b7c32(0xaa)])!=null?_0x3dc269:{'actions':null},_0x10fec0=_0x48cfc0[_0x3b7c32(0xaa)];if(_0x27bd88&&_0x27bd88!==_0x4d33ab)throw new Error(_0x3b7c32(0x2dd)+_0x27bd88+'\x20-\x20'+_0x4d33ab+'.');return{..._0xcd6f09,'id':_0x4d33ab,'type':_0x45edc1,'params':{'unitId':_0x10fec0[_0x3b7c32(0x94)],'textRanges':_0x10fec0[_0x3b7c32(0x1da)],'actions':_0x4a7e4b['compose'](_0x132771['actions'],_0x10fec0[_0x3b7c32(0x221)])}};},{})],_0x5aae71=(_0x12dca0=(_0x29ad89=_0x5336bc['getCurrentUser']())==null?void 0x0:_0x29ad89[_0x530cf0(0x8b)])!=null?_0x12dca0:_0x530cf0(0x8f),_0x1e03e6=(_0x26fecc=(_0x2ecdd6=_0x5336bc[_0x530cf0(0x1f0)]())==null?void 0x0:_0x2ecdd6[_0x530cf0(0x16c)])!=null?_0x26fecc:_0x530cf0(0x8f);return{'changeset':{'unitID':_0x1b1b2a,'type':_0x1e2f7a(_0x461aee[_0x530cf0(0x26a)](_0x1b1b2a)),'baseRev':_0x8e5046[_0x530cf0(0x33c)](_0x1b1b2a),'revision':0x0,'userID':_0x5aae71,'memberID':_0x1e03e6,'mutations':_0x58b99e},'pendingMutations':[]};}function Oi(_0x21afb2,_0xcf8ef7){var _0x3ec3aa=_0x56ebe4;const _0x548b65=new _0x99636c(0x1);return setTimeout(()=>_0x548b65['next'](_0xcf8ef7),_0x21afb2),_0x548b65[_0x3ec3aa(0x34f)]()[_0x3ec3aa(0xba)](_0x2d13ac(0x1));}const ur={'id':_0x5b165d['id'],'type':_0xad03cb[_0x56ebe4(0x292)],'params':{}};var dr=Object[_0x56ebe4(0xf9)],fr=Object[_0x56ebe4(0x2ac)],Re=(_0x12d123,_0x1cae79,_0x1506a6,_0x4d95cf)=>{var _0x15a4ae=_0x56ebe4;for(var _0xd6ee4a=_0x4d95cf>0x1?void 0x0:_0x4d95cf?fr(_0x1cae79,_0x1506a6):_0x1cae79,_0x334133=_0x12d123[_0x15a4ae(0x146)]-0x1,_0x3f4708;_0x334133>=0x0;_0x334133--)(_0x3f4708=_0x12d123[_0x334133])&&(_0xd6ee4a=(_0x4d95cf?_0x3f4708(_0x1cae79,_0x1506a6,_0xd6ee4a):_0x3f4708(_0xd6ee4a))||_0xd6ee4a);return _0x4d95cf&&_0xd6ee4a&&dr(_0x1cae79,_0x1506a6,_0xd6ee4a),_0xd6ee4a;},A=(_0xe7f0d7,_0x40e6af)=>(_0x44f0b8,_0x2ac3bc)=>_0x40e6af(_0x44f0b8,_0x2ac3bc,_0xe7f0d7),yi=(_0x563b7b=>(_0x563b7b[_0x56ebe4(0x2c9)]='not_collab',_0x563b7b[_0x56ebe4(0x23b)]=_0x56ebe4(0x30b),_0x563b7b[_0x56ebe4(0xa4)]=_0x56ebe4(0x186),_0x563b7b[_0x56ebe4(0x8e)]=_0x56ebe4(0xed),_0x563b7b[_0x56ebe4(0x91)]=_0x56ebe4(0x297),_0x563b7b[_0x56ebe4(0x363)]=_0x56ebe4(0x106),_0x563b7b[_0x56ebe4(0x114)]=_0x56ebe4(0x2de),_0x563b7b[_0x56ebe4(0x119)]=_0x56ebe4(0xf5),_0x563b7b))(yi||{});const Ni=0xea60;class be{constructor(_0x2bfe9a,_0x1b6e99,_0x39f821,_0x2f4696,_0x261994,_0x598240,_0x46ec82,_0x5b6dc2,_0x429416){var _0x7b8615=_0x56ebe4;N(this,'_awaitingChangeset',null),N(this,'_pendingMutations',[]),(this[_0x7b8615(0x243)]=_0x2bfe9a,this['type']=_0x1b6e99,this[_0x7b8615(0x184)]=_0x261994,this[_0x7b8615(0x359)]=_0x598240,this[_0x7b8615(0x1f5)]=_0x46ec82,this[_0x7b8615(0x9a)]=_0x5b6dc2,this[_0x7b8615(0x15c)]=_0x429416,this[_0x7b8615(0xdb)]=_0x39f821,this[_0x7b8615(0x187)]=_0x2f4696);}[_0x56ebe4(0xfe)](_0x2ff49c){var _0x49f9d1=_0x56ebe4;const _0x3349dc=this[_0x49f9d1(0x9a)][_0x49f9d1(0x33c)](this[_0x49f9d1(0x243)]);return _0x2ff49c[_0x49f9d1(0x183)]>_0x3349dc+0x1?(this[_0x49f9d1(0x184)][_0x49f9d1(0x33e)]({'from':_0x3349dc,'to':_0x2ff49c[_0x49f9d1(0x183)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0xbd407a){var _0x13ed3a=_0x56ebe4;this[_0x13ed3a(0x1f5)][_0x13ed3a(0x248)](this[_0x13ed3a(0x243)],_0xbd407a);}[_0x56ebe4(0x30f)](_0x21ff1a){var _0x299c30=_0x56ebe4,_0x356248,_0xd70dda;(_0xd70dda=(_0x356248=this['_handler'])[_0x299c30(0x16a)])==null||_0xd70dda[_0x299c30(0x2d1)](_0x356248,_0x21ff1a);}['_transformIMECache'](_0x383443){var _0x7a702d=_0x56ebe4,_0x29b1d8,_0xa7ddb8;return(_0xa7ddb8=(_0x29b1d8=this['_handler'])[_0x7a702d(0x7a)])==null?void 0x0:_0xa7ddb8[_0x7a702d(0x2d1)](_0x29b1d8,_0x383443);}[_0x56ebe4(0x1a0)](_0x12a0c0){var _0x5c6841=_0x56ebe4,_0x1b0a0e,_0x12d5f4;return(_0x12d5f4=(_0x1b0a0e=this[_0x5c6841(0x184)])[_0x5c6841(0x22f)])==null?void 0x0:_0x12d5f4[_0x5c6841(0x2d1)](_0x1b0a0e,_0x12a0c0);}[_0x56ebe4(0x18d)](_0x5c8702){var _0x52d5b7=_0x56ebe4,_0xa0e706,_0xe51e01,_0x4aaa08;return(_0x4aaa08=(_0xe51e01=(_0xa0e706=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xe51e01[_0x52d5b7(0x2d1)](_0xa0e706,_0x5c8702))!=null?_0x4aaa08:_0x5c8702;}[_0x56ebe4(0x1ce)](_0x56a297){var _0x1efe99=_0x56ebe4,_0x518efa,_0x27724e,_0x4def96;return(_0x4def96=(_0x27724e=(_0x518efa=this[_0x1efe99(0x184)])[_0x1efe99(0xe1)])==null?void 0x0:_0x27724e[_0x1efe99(0x2d1)](_0x518efa,_0x56a297))!=null?_0x4def96:_0x56a297;}[_0x56ebe4(0x1ba)](_0x58d8a5){var _0xc79057=_0x56ebe4,_0x18f2de,_0xf9f139;if(this[_0xc79057(0x22e)]===Q[_0xc79057(0x342)]){const {unitID:_0x551394,mutations:_0x702bbe,memberID:_0x5f38bb}=_0x58d8a5,_0x48f5ef=_0x702bbe[0x0][_0xc79057(0xaa)][_0xc79057(0x1da)];Array[_0xc79057(0x2e1)](_0x48f5ef)&&_0x48f5ef[_0xc79057(0x146)]>0x0&&((_0xf9f139=(_0x18f2de=this[_0xc79057(0x184)])[_0xc79057(0x12a)])==null||_0xf9f139[_0xc79057(0x2d1)](_0x18f2de,{'unitID':_0x551394,'memberID':_0x5f38bb,'textRanges':_0x48f5ef}));}}[_0x56ebe4(0x361)](){var _0x1018af=_0x56ebe4,_0x48109d;(_0x48109d=this[_0x1018af(0x15c)])==null||_0x48109d[_0x1018af(0x2a0)](this['unitID'],this['type'],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x56ebe4(0x1b1)](){var _0x1b2c5c=_0x56ebe4;return this[_0x1b2c5c(0x9a)]['getCurrentRevOfUnit'](this[_0x1b2c5c(0x243)]);}[_0x56ebe4(0xa2)](){var _0x55b6c4=_0x56ebe4;this['_revisionService'][_0x55b6c4(0x191)](this[_0x55b6c4(0x243)]);}[_0x56ebe4(0x2fa)](_0x561ca4){var _0x73892e=_0x56ebe4,_0x4fabda;let _0x30abda=this[_0x73892e(0x18d)](_0x561ca4);_0x30abda=this[_0x73892e(0x1ce)](_0x30abda);const _0x46fcda=_0x3669fb(_0x30abda['mutations'],this[_0x73892e(0x359)],{'fromCollab':!0x0});if(!_0x46fcda[_0x73892e(0xd7)])throw _0x46fcda[_0x73892e(0x1a5)]instanceof Error?_0x46fcda[_0x73892e(0x1a5)]:new Error((_0x4fabda=_0x46fcda['error'])!=null?_0x4fabda:_0x73892e(0xa5));this[_0x73892e(0xde)](_0x30abda),this[_0x73892e(0x1a0)](_0x30abda),this[_0x73892e(0x16b)](_0x561ca4),this[_0x73892e(0x30f)](_0x30abda),this[_0x73892e(0x1ba)](_0x30abda),this[_0x73892e(0xa2)]();}}let De=class extends be{constructor(_0x250c34,_0x4d4591,_0x56070a,_0x408268,_0x34eba6,_0x4b34e0,_0x3dcfaa,_0x505521,_0x3028d3,_0x22a4a2){var _0x5c9533=_0x56ebe4;super(_0x250c34,_0x4d4591,null,[],_0x56070a,_0x3dcfaa,_0x4b34e0,_0x408268,_0x22a4a2),N(this,_0x5c9533(0x98),_0x5c9533(0x30b)),(this[_0x5c9533(0x20d)]=_0x34eba6,this[_0x5c9533(0x162)]=_0x505521,this['_transformService']=_0x3028d3,this[_0x5c9533(0x6e)]=_0x22a4a2);}[_0x56ebe4(0x299)](_0x5010a3){var _0x10a5ce=_0x56ebe4;const _0x16bd49=this['_injector'][_0x10a5ce(0x24d)](oe,this[_0x10a5ce(0x243)],this[_0x10a5ce(0x22e)],[_0x5010a3],this[_0x10a5ce(0x184)]);return _0x16bd49[_0x10a5ce(0x67)](),_0x16bd49[_0x10a5ce(0x361)](),_0x16bd49;}['onRemoteChangeset'](_0x2cc822){var _0x178904=_0x56ebe4;if(this['_checkMissing'](_0x2cc822))return this[_0x178904(0x20d)][_0x178904(0x24d)](te,this['unitID'],this[_0x178904(0x22e)],null,[],null,[_0x2cc822],this['_handler']);try{const _0x665402=this[_0x178904(0x272)][_0x178904(0xab)](_0x2cc822,[ur]);if(_0x274f8f(_0x665402)){const {c1Prime:_0x3f58bc}=_0x665402;return this['_executeRemoteChangeset'](_0x3f58bc),this;}throw _0x665402[_0x178904(0x1a5)];}catch(_0x379da8){return this[_0x178904(0x162)][_0x178904(0x1a5)](_0x379da8),this[_0x178904(0xf0)](!0x1);}}[_0x56ebe4(0xf0)](_0x249250){var _0x1dcffa=_0x56ebe4;return this[_0x1dcffa(0x20d)][_0x1dcffa(0x24d)](de,this[_0x1dcffa(0x243)],this[_0x1dcffa(0x22e)],null,[],this[_0x1dcffa(0x184)],_0x249250);}[_0x56ebe4(0x21c)](){var _0x255c09=_0x56ebe4;throw new Error(_0x255c09(0x234));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x56ebe4(0x245)](){return this;}['toggleOffline'](){var _0x4deb0d=_0x56ebe4;return this[_0x4deb0d(0x20d)][_0x4deb0d(0x24d)](fe,this[_0x4deb0d(0x243)],this['type'],null,[],this[_0x4deb0d(0x184)]);}[_0x56ebe4(0x1b9)](){return this;}[_0x56ebe4(0x188)](){var _0x590076=_0x56ebe4;throw new Error(_0x590076(0x1ed));}[_0x56ebe4(0x332)](){var _0x4aa485=_0x56ebe4;const _0x3badca=this[_0x4aa485(0x9a)][_0x4aa485(0x33c)](this['unitID']);return this['_handler'][_0x4aa485(0x33e)]({'from':_0x3badca,'to':0x0}),this[_0x4aa485(0x20d)][_0x4aa485(0x24d)](te,this[_0x4aa485(0x243)],this[_0x4aa485(0x22e)],null,[],null,[],this['_handler']);}};De=Re([A(0x3,_0x10a372(_0x10fef9)),A(0x4,_0x10a372(_0x28066c)),A(0x5,_0x56d618),A(0x6,_0x1854e4),A(0x7,_0x2eb8c5),A(0x8,_0x45afc8),A(0x9,_0x5893d5(J))],De);let oe=class extends be{constructor(_0x4e1b5d,_0x4a0e3a,_0x45c1d7,_0x29375f,_0x47ed23,_0xbc22bf,_0x105477,_0x2aa78c,_0x4a0b18,_0x3f1664,_0xcb8a0b,_0x1392f1,_0x3e9b1f,_0x590274){var _0x2914c3=_0x56ebe4;super(_0x4e1b5d,_0x4a0e3a,null,_0x45c1d7,_0x29375f,_0x4a0b18,_0x3e9b1f,_0xbc22bf,_0x590274),N(this,_0x2914c3(0x98),_0x2914c3(0x186)),N(this,_0x2914c3(0x1f1),null),N(this,_0x2914c3(0x81),null),(this[_0x2914c3(0x20d)]=_0x47ed23,this[_0x2914c3(0x229)]=_0x105477,this['_logService']=_0x2aa78c,this[_0x2914c3(0x1bf)]=_0x3f1664,this[_0x2914c3(0x272)]=_0xcb8a0b,this[_0x2914c3(0x1b3)]=_0x1392f1);}['appendMutation'](_0x1df522){var _0x22e2a5=_0x56ebe4;return this[_0x22e2a5(0x187)][_0x22e2a5(0xb9)](_0x1df522),this[_0x22e2a5(0x361)](),this;}[_0x56ebe4(0x1c8)](_0x2a0e58){var _0x284abd=_0x56ebe4;if(this['_checkMissing'](_0x2a0e58))return this[_0x284abd(0xeb)](),this[_0x284abd(0x20d)][_0x284abd(0x24d)](te,this['unitID'],this['type'],null,this['_pendingMutations'],null,[_0x2a0e58],this['_handler']);try{const _0xd07a3c=this[_0x284abd(0x272)][_0x284abd(0xab)](_0x2a0e58,this['_pendingMutations']);if(_0x274f8f(_0xd07a3c)){const {c1Prime:_0x17d90c,m2Prime:_0x73a93e}=_0xd07a3c;this[_0x284abd(0x2fa)](_0x17d90c);const _0x478574=this[_0x284abd(0x20d)][_0x284abd(0x24d)](oe,this[_0x284abd(0x243)],this[_0x284abd(0x22e)],_0x73a93e,this['_handler']);this[_0x284abd(0xeb)]();const _0x483c7d=new Date()[_0x284abd(0x215)](),_0x527a36=this[_0x284abd(0x1f1)]?Math[_0x284abd(0xac)](this[_0x284abd(0x1f1)]-_0x483c7d,0x0):this[_0x284abd(0x34d)]();return _0x478574[_0x284abd(0x67)](_0x527a36),_0x478574;}throw _0xd07a3c[_0x284abd(0x1a5)];}catch(_0x5a87a5){return this[_0x284abd(0x162)][_0x284abd(0x1a5)](_0x5a87a5),this[_0x284abd(0xf0)](!0x1);}}['onRemoteAck'](){var _0x4ab28b=_0x56ebe4;throw new Error(_0x4ab28b(0x126));}[_0x56ebe4(0x28d)](){var _0x56d284=_0x56ebe4;throw new Error(_0x56d284(0x2d2));}[_0x56ebe4(0x245)](){return this;}[_0x56ebe4(0x164)](){var _0x121389=_0x56ebe4;return this['_clearScheduledTask'](),this[_0x121389(0x20d)][_0x121389(0x24d)](fe,this[_0x121389(0x243)],this[_0x121389(0x22e)],null,this[_0x121389(0x187)],this['_handler']);}[_0x56ebe4(0x1b9)](){return this;}[_0x56ebe4(0x67)](_0x28a708){var _0xc52fbd=_0x56ebe4;const _0x3128c8=_0x28a708!=null?_0x28a708:this[_0xc52fbd(0x34d)]();this[_0xc52fbd(0x1f1)]=new Date()['getTime']()+_0x3128c8,this[_0xc52fbd(0x81)]=setTimeout(()=>{var _0x19fb1d=_0xc52fbd;this[_0x19fb1d(0xeb)]();let _0x2f3a50=null;switch(this[_0x19fb1d(0x22e)]){case Q[_0x19fb1d(0xef)]:{_0x2f3a50=zt(this[_0x19fb1d(0x187)],this['unitID'],this['_univerInstanceService'],this[_0x19fb1d(0x9a)],this[_0x19fb1d(0x229)]);break;}case Q[_0x19fb1d(0x342)]:{this[_0x19fb1d(0x187)]['every'](_0x166d28=>_0x166d28['id']===_0x5e9627['id'])?_0x2f3a50=lr(this['_pendingMutations'],this[_0x19fb1d(0x243)],this[_0x19fb1d(0x1b3)],this['_revisionService'],this[_0x19fb1d(0x229)]):_0x2f3a50=zt(this[_0x19fb1d(0x187)],this[_0x19fb1d(0x243)],this[_0x19fb1d(0x1b3)],this[_0x19fb1d(0x9a)],this[_0x19fb1d(0x229)]);break;}default:throw new Error(_0x19fb1d(0x2d6)+this[_0x19fb1d(0x22e)]+_0x19fb1d(0x1b4));}const {changeset:_0x25dc32,pendingMutations:_0x4be5fa}=_0x2f3a50;this[_0x19fb1d(0x184)][_0x19fb1d(0x93)](_0x25dc32);const _0x3e2a6a=_0x4be5fa[_0x19fb1d(0x146)]?this[_0x19fb1d(0x20d)][_0x19fb1d(0x24d)](ae,this['unitID'],this[_0x19fb1d(0x22e)],_0x25dc32,_0x4be5fa,this['_handler'],void 0x0):this['_injector']['createInstance'](ue,this[_0x19fb1d(0x243)],this[_0x19fb1d(0x22e)],_0x25dc32,this['_handler']);_0x3e2a6a[_0x19fb1d(0x361)](),this['_handler']['onStateChange'](this,_0x3e2a6a);},_0x3128c8);}[_0x56ebe4(0x34d)](){var _0x32dc1e=_0x56ebe4,_0x2a141b;const _0x1c809e=this['_configService']['getConfig'](q);return(_0x2a141b=_0x1c809e==null?void 0x0:_0x1c809e[_0x32dc1e(0x220)])!=null?_0x2a141b:Cn;}[_0x56ebe4(0x188)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x3b8ce0=_0x56ebe4;this[_0x3b8ce0(0x81)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x3b8ce0(0x81)]=null);}[_0x56ebe4(0xf0)](_0x5c734f){var _0x4a9f29=_0x56ebe4;return this[_0x4a9f29(0xeb)](),this[_0x4a9f29(0x20d)][_0x4a9f29(0x24d)](de,this['unitID'],this[_0x4a9f29(0x22e)],null,this[_0x4a9f29(0x187)],this[_0x4a9f29(0x184)],_0x5c734f);}};oe=Re([A(0x4,_0x10a372(_0x28066c)),A(0x5,_0x10a372(_0x10fef9)),A(0x6,_0x10a372(xe)),A(0x7,_0x2eb8c5),A(0x8,_0x1854e4),A(0x9,_0x495d61),A(0xa,_0x45afc8),A(0xb,_0x4f76fc),A(0xc,_0x56d618),A(0xd,_0x5893d5(J))],oe);let ue=class extends be{constructor(_0x2cd442,_0x4a3e05,_0x193bb3,_0x435468,_0x2b7615,_0x1dec0a,_0x2fb080,_0x1088bc,_0x229815,_0x1399ce,_0x46a06c){var _0x5824d7=_0x56ebe4;super(_0x2cd442,_0x4a3e05,_0x193bb3,[],_0x435468,_0x2fb080,_0x1399ce,_0x1dec0a,_0x46a06c),N(this,_0x5824d7(0x98),_0x5824d7(0xed)),N(this,_0x5824d7(0x344),0x0),N(this,_0x5824d7(0x130)),N(this,'_sender'),(this['_injector']=_0x2b7615,this[_0x5824d7(0x162)]=_0x1088bc,this[_0x5824d7(0x272)]=_0x229815);}[_0x56ebe4(0x299)](_0x8d023b){var _0x114a0a=_0x56ebe4;this[_0x114a0a(0xeb)]();const _0x359cd0=this[_0x114a0a(0x20d)][_0x114a0a(0x24d)](ae,this['unitID'],this[_0x114a0a(0x22e)],this[_0x114a0a(0xdb)],[_0x8d023b],this['_handler'],this[_0x114a0a(0x130)]);return _0x359cd0[_0x114a0a(0x361)](),_0x359cd0;}[_0x56ebe4(0x1c8)](_0x158a0a){var _0x2eccac=_0x56ebe4;if(this[_0x2eccac(0xfe)](_0x158a0a))return this[_0x2eccac(0xeb)](),this['_injector'][_0x2eccac(0x24d)](te,this[_0x2eccac(0x243)],this[_0x2eccac(0x22e)],this[_0x2eccac(0xdb)],[],null,[_0x158a0a],this[_0x2eccac(0x184)]);try{const _0x543e70=this['_transformService'][_0x2eccac(0x2c4)]([_0x158a0a],[this[_0x2eccac(0xdb)]],!0x1);if(_0x51d847(_0x543e70)){const {c1Prime:_0x227344,c2Prime:_0x48cc61}=_0x543e70;this[_0x2eccac(0x2fa)](_0x227344[0x0]),_0x48cc61[0x0][_0x2eccac(0x2a4)]=this[_0x2eccac(0x1b1)](),this[_0x2eccac(0xeb)]();const _0x23ce71=this[_0x2eccac(0x20d)]['createInstance'](ue,this[_0x2eccac(0x243)],this['type'],_0x48cc61[0x0],this[_0x2eccac(0x184)]);return _0x23ce71['_updateLocalCache'](),_0x23ce71;}return this[_0x2eccac(0xf0)](!0x1);}catch(_0x2367ee){return this['_logService'][_0x2eccac(0x1a5)](_0x2367ee),this[_0x2eccac(0xf0)](!0x1);}}[_0x56ebe4(0x21c)](_0x449070){var _0x3fde9d=_0x56ebe4;this[_0x3fde9d(0xeb)]();const _0x30321e=this[_0x3fde9d(0x9a)][_0x3fde9d(0x33c)](this['unitID']);if(_0x449070[_0x3fde9d(0x183)]<_0x30321e-0x1)return this;if(this['_checkMissing'](_0x449070))return this[_0x3fde9d(0x20d)][_0x3fde9d(0x24d)](te,this[_0x3fde9d(0x243)],this[_0x3fde9d(0x22e)],null,[],this['_awaitingChangeset'],[],this[_0x3fde9d(0x184)]);this[_0x3fde9d(0xa2)]();const _0x510cbb=this['_injector'][_0x3fde9d(0x24d)](De,this[_0x3fde9d(0x243)],this['type'],this[_0x3fde9d(0x184)]);return _0x510cbb[_0x3fde9d(0x361)](),_0x510cbb;}['onRemoteRej'](_0x23436e){var _0x5ee482=_0x56ebe4;return this[_0x5ee482(0xf0)](!!(_0x23436e!=null&&_0x23436e[_0x5ee482(0x322)]));}[_0x56ebe4(0x245)](_0x1ae294){var _0x20f39f=_0x56ebe4;return this['_resendTimeout']>Ni?this['toggleOffline']():(this['_resendTimer']=Oi(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x1ae294[_0x20f39f(0x336)]}),this[_0x20f39f(0x2f0)]=this[_0x20f39f(0x130)][_0x20f39f(0x1b0)](({reqId:_0x39a39c,timeout:_0x45c842})=>{this['_resendWithTimeout'](_0x39a39c,_0x45c842);}),this);}[_0x56ebe4(0x164)](){var _0xccac60=_0x56ebe4;return this[_0xccac60(0xeb)](),this[_0xccac60(0x20d)][_0xccac60(0x24d)](fe,this['unitID'],this[_0xccac60(0x22e)],this[_0xccac60(0xdb)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x56ebe4(0x188)](){var _0x20174c=_0x56ebe4;this[_0x20174c(0x184)][_0x20174c(0x93)](this[_0x20174c(0xdb)]);}[_0x56ebe4(0xf0)](_0x3dc868){var _0x408079=_0x56ebe4;return this[_0x408079(0xeb)](),this['_injector'][_0x408079(0x24d)](de,this['unitID'],this[_0x408079(0x22e)],this[_0x408079(0xdb)],[],this[_0x408079(0x184)],_0x3dc868);}[_0x56ebe4(0xc3)](_0xd28422,_0x2ff1cf){var _0x332060=_0x56ebe4,_0x5808bc;_0xd28422===((_0x5808bc=this[_0x332060(0xdb)])==null?void 0x0:_0x5808bc[_0x332060(0x336)])&&(this['resend'](),this[_0x332060(0x344)]=_0x2ff1cf===0x0?0x3e8:_0x2ff1cf*0x2);}[_0x56ebe4(0xeb)](){var _0x403490=_0x56ebe4,_0x5766cf;(_0x5766cf=this[_0x403490(0x2f0)])==null||_0x5766cf[_0x403490(0x122)](),this[_0x403490(0x344)]=0x0;}};ue=Re([A(0x4,_0x10a372(_0x28066c)),A(0x5,_0x10a372(_0x10fef9)),A(0x6,_0x1854e4),A(0x7,_0x2eb8c5),A(0x8,_0x45afc8),A(0x9,_0x56d618),A(0xa,_0x5893d5(J))],ue);let ae=class extends be{constructor(_0x19bb64,_0x35d3f5,_0x15fddd,_0x5bef41,_0x9a1384,_0x4f938c,_0x56c316,_0x1d7dbc,_0x3b5ea1,_0x50b150,_0x4dd49b,_0x462c7b,_0x59e7b4){var _0x15f706=_0x56ebe4;super(_0x19bb64,_0x35d3f5,_0x15fddd,_0x5bef41,_0x9a1384,_0x3b5ea1,_0x462c7b,_0x1d7dbc,_0x59e7b4),N(this,'status',_0x15f706(0x297)),N(this,_0x15f706(0x344),0x0),N(this,_0x15f706(0x130)),N(this,'_sender'),(this['_injector']=_0x56c316,this[_0x15f706(0x162)]=_0x50b150,this['_transformService']=_0x4dd49b,this['localCacheService']=_0x59e7b4,_0x4f938c&&(this[_0x15f706(0x130)]=_0x4f938c,this['_sender']=this['_resendTimer'][_0x15f706(0x1b0)](({reqId:_0x37ee9a,timeout:_0x238ec7})=>{var _0x5bdb67=_0x15f706;this[_0x5bdb67(0xc3)](_0x37ee9a,_0x238ec7);})));}[_0x56ebe4(0x299)](_0x34f431){var _0x5b557d=_0x56ebe4;return this[_0x5b557d(0x187)][_0x5b557d(0xb9)](_0x34f431),this;}[_0x56ebe4(0x1c8)](_0x32d1f0){var _0x3eb5b3=_0x56ebe4;if(this['_checkMissing'](_0x32d1f0))return this[_0x3eb5b3(0xeb)](),this[_0x3eb5b3(0x20d)]['createInstance'](te,this['unitID'],this[_0x3eb5b3(0x22e)],this['_awaitingChangeset'],this[_0x3eb5b3(0x187)],null,[_0x32d1f0],this[_0x3eb5b3(0x184)]);try{const _0x316d54=this[_0x3eb5b3(0x272)]['transformChangesets']([_0x32d1f0],[this['_awaitingChangeset']],!0x1);if(_0x51d847(_0x316d54)){const {c1Prime:_0x5bb7fe,c2Prime:_0x50876c}=_0x316d54,_0x3330d0=this['_transformService'][_0x3eb5b3(0xab)](_0x5bb7fe[0x0],this[_0x3eb5b3(0x187)]);if(_0x274f8f(_0x3330d0)){const {c1Prime:_0x36fd36,m2Prime:_0x517b4c}=_0x3330d0;return this[_0x3eb5b3(0x2fa)](_0x36fd36),_0x50876c[0x0][_0x3eb5b3(0x2a4)]=this[_0x3eb5b3(0x1b1)](),this[_0x3eb5b3(0xeb)](),this[_0x3eb5b3(0x20d)]['createInstance'](ae,this['unitID'],this[_0x3eb5b3(0x22e)],_0x50876c[0x0],_0x517b4c,this[_0x3eb5b3(0x184)],void 0x0);}throw _0x3330d0[_0x3eb5b3(0x1a5)];}throw _0x316d54['error'];}catch(_0x43117b){return this[_0x3eb5b3(0x162)]['error'](_0x43117b),this[_0x3eb5b3(0xf0)](!0x1);}}[_0x56ebe4(0x21c)](_0x34cce3){var _0x18a2e4=_0x56ebe4;if(this[_0x18a2e4(0xeb)](),this[_0x18a2e4(0xfe)](_0x34cce3))return this[_0x18a2e4(0x20d)][_0x18a2e4(0x24d)](te,this['unitID'],this[_0x18a2e4(0x22e)],null,this['_pendingMutations'],this[_0x18a2e4(0xdb)],[],this[_0x18a2e4(0x184)]);this['_incrementRevisionNumber']();const _0x5f3558=this[_0x18a2e4(0x20d)][_0x18a2e4(0x24d)](oe,this['unitID'],this[_0x18a2e4(0x22e)],this[_0x18a2e4(0x187)],this[_0x18a2e4(0x184)]);return _0x5f3558['_schedule'](),_0x5f3558[_0x18a2e4(0x361)](),_0x5f3558;}[_0x56ebe4(0x28d)](_0x59fa35){var _0x548600=_0x56ebe4;return this[_0x548600(0xf0)](!!(_0x59fa35!=null&&_0x59fa35[_0x548600(0x322)]));}['onRemoteRetry'](_0x1eb2d3){var _0x993b5=_0x56ebe4;return this[_0x993b5(0x344)]>Ni?this[_0x993b5(0x164)]():(this['_resendTimer']=Oi(this[_0x993b5(0x344)],{'timeout':this['_resendTimeout'],'reqId':_0x1eb2d3[_0x993b5(0x336)]}),this[_0x993b5(0x2f0)]=this[_0x993b5(0x130)]['subscribe'](({reqId:_0x47b2c7,timeout:_0x4177b4})=>{var _0x31da42=_0x993b5;this[_0x31da42(0xc3)](_0x47b2c7,_0x4177b4);}),this);}[_0x56ebe4(0x164)](){var _0x2ce1bf=_0x56ebe4;return this[_0x2ce1bf(0xeb)](),this['_injector'][_0x2ce1bf(0x24d)](fe,this['unitID'],this[_0x2ce1bf(0x22e)],this['_awaitingChangeset'],this[_0x2ce1bf(0x187)],this['_handler']);}['toggleOnline'](){return this;}[_0x56ebe4(0x188)](){var _0x2e3eca=_0x56ebe4;this['_handler'][_0x2e3eca(0x93)](this[_0x2e3eca(0xdb)]);}[_0x56ebe4(0xf0)](_0x483f5a){var _0x502985=_0x56ebe4;return this['_clearScheduledTask'](),this[_0x502985(0x20d)]['createInstance'](de,this[_0x502985(0x243)],this[_0x502985(0x22e)],null,this['_pendingMutations'],this[_0x502985(0x184)],_0x483f5a);}[_0x56ebe4(0xc3)](_0x5160d8,_0x156899){var _0x3cbc2b=_0x56ebe4,_0x2da122;_0x5160d8===((_0x2da122=this[_0x3cbc2b(0xdb)])==null?void 0x0:_0x2da122[_0x3cbc2b(0x336)])&&(this[_0x3cbc2b(0x188)](),this[_0x3cbc2b(0x344)]=_0x156899===0x0?0x3e8:_0x156899*0x2);}[_0x56ebe4(0xeb)](){var _0x3cc98a=_0x56ebe4,_0xaa88bf;(_0xaa88bf=this[_0x3cc98a(0x2f0)])==null||_0xaa88bf[_0x3cc98a(0x122)](),this['_resendTimeout']=0x0;}};ae=Re([A(0x6,_0x10a372(_0x28066c)),A(0x7,_0x10a372(_0x10fef9)),A(0x8,_0x1854e4),A(0x9,_0x2eb8c5),A(0xa,_0x45afc8),A(0xb,_0x56d618),A(0xc,_0x5893d5(J))],ae);let de=class extends be{constructor(_0x4a2b33,_0x48b47d,_0x5455f3,_0xd320db,_0x40b9fa,_0x3a084e=!0x1,_0x516160,_0x167a4f,_0xfd7840,_0x298462,_0x45032f,_0xc26403,_0x5034b8){var _0x5c73b5=_0x56ebe4;super(_0x4a2b33,_0x48b47d,_0x5455f3,_0xd320db,_0x40b9fa,_0x167a4f,_0xfd7840,_0x298462,_0x5034b8),N(this,_0x5c73b5(0x98),'conflict'),(this[_0x5c73b5(0x12d)]=_0x3a084e,this[_0x5c73b5(0x161)]=_0x516160,this[_0x5c73b5(0x337)]=_0x45032f,this['_collaborationUIEventService']=_0xc26403,this[_0x5c73b5(0x6e)]=_0x5034b8,this[_0x5c73b5(0x21b)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x56ebe4(0x299)](){return this;}[_0x56ebe4(0x1c8)](){return this;}[_0x56ebe4(0x21c)](){return this;}['onRemoteRej'](){return this;}[_0x56ebe4(0x245)](){return this;}['toggleOffline'](){return this;}[_0x56ebe4(0x1b9)](){return this;}['resend'](){var _0x1adec5=_0x56ebe4;throw new Error(_0x1adec5(0x32d));}['_clearLocalCache'](){var _0x3a5728=_0x56ebe4,_0x494139;(_0x494139=this[_0x3a5728(0x15c)])==null||_0x494139[_0x3a5728(0x2a0)](this[_0x3a5728(0x243)],this[_0x3a5728(0x22e)],null,[]);}[_0x56ebe4(0x21b)](){var _0x10714f=_0x56ebe4;this[_0x10714f(0x12d)]?this[_0x10714f(0x218)][_0x10714f(0x2bc)]({'id':se['PERMISSION_DENIED']}):this[_0x10714f(0x218)]['emitEvent']({'id':se[_0x10714f(0x114)]});}[_0x56ebe4(0x296)](){var _0x32b099=_0x56ebe4;this['_permissionService'][_0x32b099(0x1b8)](new _0x2b5d2f(this['unitID'])['id'],!0x1);}};de=Re([A(0x6,_0x10a372(_0x3582b2)),A(0x7,_0x1854e4),A(0x8,_0x56d618),A(0x9,_0x10a372(_0x10fef9)),A(0xa,_0x10a372(_0x1bd86e)),A(0xb,_0x10a372(pe)),A(0xc,_0x5893d5(J))],de);let fe=class extends be{constructor(_0x34a1d3,_0x3e2b35,_0x322dae,_0x5d02d1,_0x759132,_0x1a0c9f,_0x521945,_0x5686bb,_0x421aba,_0x2afd51){var _0x1a59a9=_0x56ebe4;super(_0x34a1d3,_0x3e2b35,_0x322dae,_0x5d02d1,_0x759132,_0x5686bb,_0x421aba,_0x521945,_0x2afd51),N(this,_0x1a59a9(0x98),_0x1a59a9(0xf5)),this['_injector']=_0x1a0c9f;}['appendMutation'](_0x4783aa){var _0x4ebf4f=_0x56ebe4;return this['_pendingMutations'][_0x4ebf4f(0xb9)](_0x4783aa),this[_0x4ebf4f(0x361)](),this;}[_0x56ebe4(0x1c8)](_0x52b58e){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x180d1c=_0x56ebe4;throw new Error(_0x180d1c(0x1c0));}['onRemoteRej'](){var _0x5a5713=_0x56ebe4;throw new Error(_0x5a5713(0x182));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x3b81dc=_0x56ebe4;const {_injector:_0xfd4336,_pendingMutations:_0x1d73be,_awaitingChangeset:_0x4659db,unitID:_0x3111bf,_handler:_0xd0b8dd,type:_0x24e993}=this,_0x3e9c93=Di(_0xfd4336,_0x3111bf,_0x24e993,_0x4659db,_0x1d73be,_0xd0b8dd);return _0x3e9c93 instanceof oe?_0x3e9c93[_0x3b81dc(0x67)]():(_0x3e9c93 instanceof ae||_0x3e9c93 instanceof ue)&&_0x3e9c93[_0x3b81dc(0x188)](),_0x3e9c93;}['resend'](){var _0x1b45ed=_0x56ebe4;throw new Error(_0x1b45ed(0x1fa));}};fe=Re([A(0x5,_0x10a372(_0x28066c)),A(0x6,_0x10a372(_0x10fef9)),A(0x7,_0x1854e4),A(0x8,_0x56d618),A(0x9,_0x5893d5(J))],fe);let te=class extends be{constructor(_0x32b0c9,_0x1436e9,_0x2a7820,_0x53fa11,_0x410724,_0x5b0e27,_0x573674,_0x2b953e,_0x32287d,_0x4f5086,_0xfede87,_0x4ab5ae,_0x41d228,_0x5f4db3){var _0x599a57=_0x56ebe4;super(_0x32b0c9,_0x1436e9,_0x2a7820,_0x53fa11,_0x573674,_0xfede87,_0x4ab5ae,_0x32287d,_0x5f4db3),N(this,_0x599a57(0x98),_0x599a57(0x106)),(this['_acknowledgedAwaitingChangeset']=_0x410724,this['_queuedRemoteChangesets']=_0x5b0e27,this['_injector']=_0x2b953e,this[_0x599a57(0x162)]=_0x4f5086,this[_0x599a57(0x272)]=_0x41d228,this[_0x599a57(0x6e)]=_0x5f4db3);}[_0x56ebe4(0x244)](_0x406d97){var _0x1d4aba=_0x56ebe4;try{const _0x4d5c7f=[..._0x406d97,...this[_0x1d4aba(0x15a)]],_0x4b67b7=[this[_0x1d4aba(0xdb)]||this[_0x1d4aba(0xdc)]]['filter'](_0x53c65d=>!!_0x53c65d);let _0x5b2856,_0x2ceb23;if(_0x4b67b7[_0x1d4aba(0x146)]){const _0x2a2d00=this[_0x1d4aba(0x272)]['transformChangesets'](_0x4d5c7f,_0x4b67b7,!0x1);if(!_0x51d847(_0x2a2d00))throw _0x2a2d00['error'];_0x5b2856=_0x2a2d00[_0x1d4aba(0x34c)],_0x2ceb23=_0x2a2d00['c2Prime'];}else _0x5b2856=_0x4d5c7f,_0x2ceb23=[];let _0x101f50=this[_0x1d4aba(0x187)];_0x5b2856[_0x1d4aba(0x328)](_0x354478=>{var _0x3eccec=_0x1d4aba;let _0x2a87ae;if(_0x101f50[_0x3eccec(0x146)]){const _0x225c38=this[_0x3eccec(0x272)]['transformMutationsWithChangeset'](_0x354478,_0x101f50);if(!_0x274f8f(_0x225c38))throw _0x225c38[_0x3eccec(0x1a5)];_0x2a87ae=_0x225c38[_0x3eccec(0x34c)],_0x101f50=_0x225c38[_0x3eccec(0x283)];}else _0x2a87ae=_0x354478;this[_0x3eccec(0x2fa)](_0x2a87ae);}),this['_acknowledgedAwaitingChangeset']&&this[_0x1d4aba(0xa2)](),this[_0x1d4aba(0xdb)]&&_0x2ceb23[_0x1d4aba(0x146)]&&(_0x2ceb23[0x0][_0x1d4aba(0x2a4)]=this[_0x1d4aba(0x1b1)]());let _0x1aad6d;if(this['_awaitingChangeset']&&_0x101f50[_0x1d4aba(0x146)]!==0x0)_0x1aad6d=this[_0x1d4aba(0x20d)][_0x1d4aba(0x24d)](ae,this[_0x1d4aba(0x243)],this[_0x1d4aba(0x22e)],_0x2ceb23[0x0],_0x101f50,this[_0x1d4aba(0x184)],void 0x0);else{if(this[_0x1d4aba(0xdb)]&&_0x101f50[_0x1d4aba(0x146)]===0x0)_0x2ceb23[0x0]['baseRev']=this['_getCurrentRevision'](),_0x1aad6d=this[_0x1d4aba(0x20d)][_0x1d4aba(0x24d)](ue,this[_0x1d4aba(0x243)],this[_0x1d4aba(0x22e)],_0x2ceb23[0x0],this[_0x1d4aba(0x184)]);else{if(_0x101f50['length']!==0x0){const _0x375399=this[_0x1d4aba(0x20d)][_0x1d4aba(0x24d)](oe,this[_0x1d4aba(0x243)],this[_0x1d4aba(0x22e)],_0x101f50,this[_0x1d4aba(0x184)]);_0x375399['_schedule'](),_0x1aad6d=_0x375399;}else _0x1aad6d=this['_injector'][_0x1d4aba(0x24d)](De,this[_0x1d4aba(0x243)],this[_0x1d4aba(0x22e)],this[_0x1d4aba(0x184)]);}}return _0x1aad6d[_0x1d4aba(0x361)](),_0x1aad6d;}catch(_0xd935a6){return this['_logService'][_0x1d4aba(0x1a5)](_0x1d4aba(0xd4),_0x1d4aba(0x149),_0xd935a6),this['_injector'][_0x1d4aba(0x24d)](de,this[_0x1d4aba(0x243)],this['type'],this[_0x1d4aba(0xdb)],this[_0x1d4aba(0x187)],this[_0x1d4aba(0x184)],!0x1);}}['resend'](){var _0x3265a8=_0x56ebe4;throw new Error(_0x3265a8(0x2fe));}[_0x56ebe4(0x299)](_0x3ca19a){var _0x2010cd=_0x56ebe4;return this[_0x2010cd(0x187)]['push'](_0x3ca19a),this;}[_0x56ebe4(0x1c8)](_0x1b6da6){var _0x24d204=_0x56ebe4;return this['_queuedRemoteChangesets'][_0x24d204(0xb9)](_0x1b6da6),this;}[_0x56ebe4(0x21c)](_0x4627ab){var _0x58834b=_0x56ebe4;if(this[_0x58834b(0xdb)])return this[_0x58834b(0xdc)]=this[_0x58834b(0xdb)],this[_0x58834b(0xdb)]=null,this;throw new Error(_0x58834b(0x9b));}[_0x56ebe4(0x28d)](_0x3d82c5){var _0x57d69d=_0x56ebe4;return this[_0x57d69d(0xf0)](!!(_0x3d82c5!=null&&_0x3d82c5[_0x57d69d(0x322)]));}[_0x56ebe4(0x245)](){return this;}[_0x56ebe4(0x164)](){var _0x49df79=_0x56ebe4;return this['_injector']['createInstance'](fe,this[_0x49df79(0x243)],this[_0x49df79(0x22e)],this[_0x49df79(0xdb)],this[_0x49df79(0x187)],this[_0x49df79(0x184)]);}['toggleOnline'](){return this;}[_0x56ebe4(0xf0)](_0x78aeca){var _0x16c5eb=_0x56ebe4;return this[_0x16c5eb(0x20d)][_0x16c5eb(0x24d)](de,this[_0x16c5eb(0x243)],this['type'],this[_0x16c5eb(0xdb)],this[_0x16c5eb(0x187)],this[_0x16c5eb(0x184)],_0x78aeca);}};te=Re([A(0x7,_0x10a372(_0x28066c)),A(0x8,_0x10a372(_0x10fef9)),A(0x9,_0x2eb8c5),A(0xa,_0x1854e4),A(0xb,_0x56d618),A(0xc,_0x45afc8),A(0xd,_0x5893d5(J))],te);function Di(_0x1ee4cf,_0x20f091,_0x5ec1ce,_0x28dddd,_0x6892a3,_0x1ec859){var _0x5a123f=_0x56ebe4;return _0x28dddd&&_0x6892a3[_0x5a123f(0x146)]?_0x1ee4cf['createInstance'](ae,_0x20f091,_0x5ec1ce,_0x28dddd,_0x6892a3,_0x1ec859,void 0x0):_0x28dddd?_0x1ee4cf[_0x5a123f(0x24d)](ue,_0x20f091,_0x5ec1ce,_0x28dddd,_0x1ec859):_0x6892a3['length']?_0x1ee4cf['createInstance'](oe,_0x20f091,_0x5ec1ce,_0x6892a3,_0x1ec859):_0x1ee4cf[_0x5a123f(0x24d)](De,_0x20f091,_0x5ec1ce,_0x1ec859);}var vr=Object[_0x56ebe4(0xf9)],pr=Object[_0x56ebe4(0x2ac)],Lt=(_0x3db852,_0x3ab30b,_0x13cb36,_0x2d6dbc)=>{for(var _0x16f8c4=_0x2d6dbc>0x1?void 0x0:_0x2d6dbc?pr(_0x3ab30b,_0x13cb36):_0x3ab30b,_0x53cf2a=_0x3db852['length']-0x1,_0xe658a9;_0x53cf2a>=0x0;_0x53cf2a--)(_0xe658a9=_0x3db852[_0x53cf2a])&&(_0x16f8c4=(_0x2d6dbc?_0xe658a9(_0x3ab30b,_0x13cb36,_0x16f8c4):_0xe658a9(_0x16f8c4))||_0x16f8c4);return _0x2d6dbc&&_0x16f8c4&&vr(_0x3ab30b,_0x13cb36,_0x16f8c4),_0x16f8c4;},k=(_0x526465,_0xab2fd)=>(_0x413f0b,_0x27fb2d)=>_0xab2fd(_0x413f0b,_0x27fb2d,_0x526465);let nt=class extends _0x28b5a4{constructor(_0x1bf21a,_0x178a43,_0x5bd114,_0x16329b,_0x53d681,_0x8ca29,_0x2dd32a,_0x374195,_0x245f20,_0xe09be9,_0x288310,_0xd389f3,_0x5bfe4d){var _0x510c5a=_0x56ebe4;super(),N(this,_0x510c5a(0x1b6),new _0x486f67(null)),N(this,'state$',this['_state$'][_0x510c5a(0x34f)]()),N(this,_0x510c5a(0xe0)),N(this,_0x510c5a(0x2fc),!0x1),N(this,_0x510c5a(0x223),''),N(this,_0x510c5a(0xe3),0x0),N(this,_0x510c5a(0x103),this[_0x510c5a(0x14b)][_0x510c5a(0xba)](_0x35c8d1(_0x4fde47=>_0x4fde47?_0x4fde47[_0x510c5a(0x98)]:yi[_0x510c5a(0x119)]),_0x2e0449(0x1))),N(this,_0x510c5a(0x2b5),!0x1),N(this,_0x510c5a(0x11e),[]),(this[_0x510c5a(0x243)]=_0x1bf21a,this['session']=_0x178a43,this[_0x510c5a(0x1a2)]=_0x5bd114,this[_0x510c5a(0x20d)]=_0x16329b,this[_0x510c5a(0x246)]=_0x53d681,this[_0x510c5a(0x337)]=_0x8ca29,this[_0x510c5a(0x9a)]=_0x2dd32a,this['_eventService']=_0x374195,this[_0x510c5a(0x162)]=_0x245f20,this['_commandService']=_0xe09be9,this['_permissionService']=_0x288310,this[_0x510c5a(0x1bc)]=_0xd389f3,this[_0x510c5a(0x15c)]=_0x5bfe4d);}get[_0x56ebe4(0x1aa)](){var _0x74a3a1=_0x56ebe4;return this[_0x74a3a1(0xe0)];}async['init'](){var _0x3e5e52=_0x56ebe4;if(this['state'])throw new Error(_0x3e5e52(0x2e3));await this[_0x3e5e52(0x180)]();}[_0x56ebe4(0x16d)](){var _0x16874f=_0x56ebe4;return this[_0x16874f(0x2fc)]=!0x0,_0x8ea70a(()=>{var _0x43a8f5=_0x16874f;this[_0x43a8f5(0x2fc)]=!0x1,this[_0x43a8f5(0x1f2)]();});}['onLocalMutation'](_0x1b936c){var _0x5916ac=_0x56ebe4;this[_0x5916ac(0x17f)](_0x1b936c);}[_0x56ebe4(0x2bd)](_0x153fab){var _0x32cbd9=_0x56ebe4;this[_0x32cbd9(0xe0)]=_0x153fab,this['_state$'][_0x32cbd9(0x165)](_0x153fab);}async[_0x56ebe4(0x180)](){var _0x18c3fe=_0x56ebe4,_0x51ceb6;this[_0x18c3fe(0x2bd)](await this[_0x18c3fe(0x2e6)]()),this[_0x18c3fe(0x1bc)]&&((_0x51ceb6=this[_0x18c3fe(0x1bc)])==null||_0x51ceb6[_0x18c3fe(0x250)](this[_0x18c3fe(0x243)]),this[_0x18c3fe(0x312)](this[_0x18c3fe(0x1bc)][_0x18c3fe(0x1db)](this['unitID'])['subscribe'](_0x67b4ba=>{var _0x21dc4d=_0x18c3fe;this[_0x21dc4d(0x162)][_0x21dc4d(0x7c)](_0x21dc4d(0xa0),_0x21dc4d(0x2c6),_0x67b4ba),_0x67b4ba===bi[_0x21dc4d(0x227)]?(this['_eventService'][_0x21dc4d(0x2bc)]({'id':se[_0x21dc4d(0x1b2)]}),this[_0x21dc4d(0x161)][_0x21dc4d(0x1b8)](new _0x2b5d2f(this[_0x21dc4d(0x243)])['id'],!0x1),this[_0x21dc4d(0x161)][_0x21dc4d(0xc4)](!0x1)):(this[_0x21dc4d(0x161)][_0x21dc4d(0x1b8)](new _0x2b5d2f(this[_0x21dc4d(0x243)])['id'],!0x0),this[_0x21dc4d(0x161)][_0x21dc4d(0xc4)](!0x0));})));let _0x258038=!0x1;return this[_0x18c3fe(0x312)](this[_0x18c3fe(0xbf)][_0x18c3fe(0x104)][_0x18c3fe(0x1b0)](_0x5b4a89=>{var _0x4ee1b4=_0x18c3fe;_0x5b4a89===Te[_0x4ee1b4(0xee)]?this[_0x4ee1b4(0x1a3)](_0x258038):_0x5b4a89===Te[_0x4ee1b4(0x119)]&&(_0x258038=!0x0,this[_0x4ee1b4(0x166)]());})),this['disposeWithMe'](this['session'][_0x18c3fe(0x8c)][_0x18c3fe(0x1b0)](_0x5a4813=>{var _0x2a6c01=_0x18c3fe;try{switch(_0x5a4813['eventID']){case _0x4c4aff[_0x2a6c01(0x100)]:{this['_onRemoteChangeset'](_0x4e8785(_0x5a4813[_0x2a6c01(0xf1)]));break;}case _0x4c4aff[_0x2a6c01(0x315)]:{this[_0x2a6c01(0x28b)](_0x5a4813[_0x2a6c01(0xf1)]);break;}case _0x4c4aff['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x4c4aff[_0x2a6c01(0x1a8)]:{this['_onRemoteRetry'](_0x5a4813['data']);break;}case _0x4c4aff[_0x2a6c01(0x141)]:{this[_0x2a6c01(0x15b)](_0x5a4813[_0x2a6c01(0xf1)]['changesets'][_0x2a6c01(0xb7)](_0x458468=>_0x4e8785(_0x458468)));break;}case _0x4c4aff[_0x2a6c01(0x2c3)]:{this[_0x2a6c01(0x1f3)]({'isPermissionRej':!0x0});break;}case _0x4c4aff[_0x2a6c01(0x289)]:break;}}catch(_0x258e87){throw console['error'](_0x2a6c01(0x327),_0x258e87),_0x258e87;}})),this[_0x18c3fe(0xe0)];}[_0x56ebe4(0x10e)](){var _0x2c6961=_0x56ebe4;this[_0x2c6961(0x2b5)]=!0x1;}[_0x56ebe4(0x319)](){var _0x47c274=_0x56ebe4;if(this[_0x47c274(0x2b5)])throw new Error(_0x47c274(0x28c));this['_transitionLocked']=!0x0;}[_0x56ebe4(0x17f)](_0x4470f7){var _0x574a43=_0x56ebe4;this[_0x574a43(0x319)](),this['_updateState'](this['_state'][_0x574a43(0x299)](_0x4470f7)),this[_0x574a43(0x10e)]();}[_0x56ebe4(0x9c)](_0x2d9d19){var _0x4a6c5c=_0x56ebe4;if(!(_0x2d9d19[_0x4a6c5c(0x183)]<=this[_0x4a6c5c(0x9a)]['getCurrentRevOfUnit'](this[_0x4a6c5c(0x243)]))){if(this[_0x4a6c5c(0x2fc)]){this[_0x4a6c5c(0x11e)][_0x4a6c5c(0xb9)](_0x2d9d19);return;}this[_0x4a6c5c(0x1f7)](_0x2d9d19);}}[_0x56ebe4(0x1f2)](){var _0x34b685=_0x56ebe4;this[_0x34b685(0x11e)][_0x34b685(0x328)](_0x291c06=>this[_0x34b685(0x1f7)](_0x291c06)),this[_0x34b685(0x11e)]=[];}[_0x56ebe4(0x1f7)](_0xbd52be){var _0x57030f=_0x56ebe4;const _0x78612c=this[_0x57030f(0x246)][_0x57030f(0x7e)][_0x57030f(0x13c)](this[_0x57030f(0x246)][_0x57030f(0x7e)][_0x57030f(0xfa)]()[_0x57030f(0xb5)])(_0xbd52be[_0x57030f(0x26e)],null)||_0xbd52be[_0x57030f(0x26e)],_0x1cca5e={..._0xbd52be,'mutations':_0x78612c};this[_0x57030f(0x319)](),this[_0x57030f(0x2bd)](this[_0x57030f(0xe0)][_0x57030f(0x1c8)](_0x1cca5e)),this['_unlockTransition']();}[_0x56ebe4(0x28b)](_0x4522d8){var _0x3b52c2=_0x56ebe4;this[_0x3b52c2(0x319)](),this[_0x3b52c2(0x2bd)](this[_0x3b52c2(0xe0)][_0x3b52c2(0x21c)](_0x4522d8)),this['_unlockTransition']();}[_0x56ebe4(0x1f3)](_0x2e09c4){var _0x31c4de=_0x56ebe4;this[_0x31c4de(0x319)](),this[_0x31c4de(0x2bd)](this[_0x31c4de(0xe0)][_0x31c4de(0x28d)](_0x2e09c4)),this['_unlockTransition']();}['_onRemoteRetry'](_0x534c4c){var _0x217b55=_0x56ebe4;this['_lockTransition'](),this[_0x217b55(0x2bd)](this['_state']['onRemoteRetry'](_0x534c4c)),this['_unlockTransition']();}[_0x56ebe4(0x15b)](_0x43612f){var _0x394090=_0x56ebe4;if(!(this['_state']instanceof te))throw new TypeError(_0x394090(0x134));const _0x58629a=_0x43612f[_0x394090(0xb7)](_0x341cc4=>{var _0x20a7da=_0x394090;const _0x3e5fee=this['_compressMutationService'][_0x20a7da(0x7e)][_0x20a7da(0x13c)](this[_0x20a7da(0x246)][_0x20a7da(0x7e)][_0x20a7da(0xfa)]()['COMPRESS_MUTATION_APPLY'])(_0x341cc4[_0x20a7da(0x26e)],null)||_0x341cc4[_0x20a7da(0x26e)];return{..._0x341cc4,'mutations':_0x3e5fee};});this[_0x394090(0x319)](),this[_0x394090(0x2bd)](this[_0x394090(0xe0)][_0x394090(0x244)](_0x58629a)),this[_0x394090(0x10e)]();}[_0x56ebe4(0x166)](){var _0x45f858=_0x56ebe4;this['_lockTransition'](),this['_updateState'](this['_state'][_0x45f858(0x164)]()),this[_0x45f858(0x10e)]();}[_0x56ebe4(0x1a3)](_0x5eeecf=!0x1){var _0x4662ea=_0x56ebe4;this[_0x4662ea(0x319)](),this['_updateState'](this[_0x4662ea(0xe0)][_0x4662ea(0x1b9)]()),this[_0x4662ea(0x10e)]();const _0x1fe804=this[_0x4662ea(0xe0)];_0x5eeecf&&_0x1fe804 instanceof De&&(this['_lockTransition'](),this['_updateState'](_0x1fe804[_0x4662ea(0x332)]()),this[_0x4662ea(0x10e)]());}async['_createInitialState'](){return new Promise(_0x441376=>{var _0x4e4d1c=_0x8d60;this[_0x4e4d1c(0xbf)][_0x4e4d1c(0x104)][_0x4e4d1c(0xba)](_0x2d13ac(0x1))[_0x4e4d1c(0x1b0)](async _0x29063f=>{var _0x1beade=_0x4e4d1c;_0x441376(await this[_0x1beade(0x1d0)](_0x29063f===Te[_0x1beade(0xee)]));});});}[_0x56ebe4(0x18e)](){var _0x1d2165=_0x56ebe4;const _0x4d77d2=this[_0x1d2165(0x243)];return{'onStateChange':(_0x11e845,_0x547614)=>{var _0x53ccab=_0x1d2165;if(_0x11e845!==this['_state'])throw new Error(_0x53ccab(0x355)+_0x11e845['status']+_0x53ccab(0x364)+_0x547614[_0x53ccab(0x98)]+_0x53ccab(0x11f)+this[_0x53ccab(0xe0)][_0x53ccab(0x98)]);this[_0x53ccab(0x2bd)](_0x547614);},'onSendChangeset':_0xdfc861=>{var _0x4dd6c1=_0x1d2165;_0xdfc861[_0x4dd6c1(0x125)]||(_0xdfc861[_0x4dd6c1(0x125)]=this[_0x4dd6c1(0x223)],_0xdfc861['reqId']=++this['_changesetReqId']);const _0x21b549={'eventID':_0x4c4aff[_0x4dd6c1(0x20b)],'data':{'unitID':_0xdfc861[_0x4dd6c1(0x243)],'unitType':this['_type'],'changeset':_0xdfc861,'memberID':this[_0x4dd6c1(0xbf)]['getMemberID']()}};this[_0x4dd6c1(0xbf)][_0x4dd6c1(0x16f)](_0x21b549,this[_0x4dd6c1(0x243)]);},'onMissingChangesets':({from:_0x4912e0,to:_0x1a1960})=>{var _0x1bfa74=_0x1d2165;this[_0x1bfa74(0x162)][_0x1bfa74(0x7c)](_0x1bfa74(0xa0),_0x1bfa74(0x266)+_0x4912e0+_0x1bfa74(0x288)+_0x1a1960);const _0x4d7164={'eventID':_0x4c4aff[_0x1bfa74(0x14e)],'data':{'unitID':_0x4d77d2,'unitType':this[_0x1bfa74(0x1a2)],'from':_0x4912e0,'to':_0x1a1960}};this[_0x1bfa74(0xbf)][_0x1bfa74(0x16f)](_0x4d7164,this['unitID']);}};}async[_0x56ebe4(0x1d0)](_0x41ab54){var _0x521fa0=_0x56ebe4,_0xb65a96,_0x17a71f,_0x173c9b;const _0x206758=await((_0xb65a96=this['_localCacheService'])==null?void 0x0:_0xb65a96[_0x521fa0(0x2f3)](this['unitID'])),_0x4cd12c=(_0x17a71f=_0x206758==null?void 0x0:_0x206758[_0x521fa0(0x26e)])!=null?_0x17a71f:[],_0x437795=(_0x173c9b=_0x206758==null?void 0x0:_0x206758[_0x521fa0(0x269)])!=null?_0x173c9b:null,_0x3dd01c=!!(_0x437795!=null&&_0x437795[_0x521fa0(0x125)])&&!!(_0x437795!=null&&_0x437795[_0x521fa0(0x336)]);this[_0x521fa0(0x223)]=_0x3dd01c?_0x437795['sid']:sr(),this[_0x521fa0(0xe3)]=_0x3dd01c?_0x437795[_0x521fa0(0x336)]:0x0;const _0x19929c=this[_0x521fa0(0x243)];try{this['_replayCachedMutations'](_0x437795,_0x4cd12c);}catch(_0x4d9c84){this[_0x521fa0(0x162)][_0x521fa0(0x1a5)](_0x4d9c84);}const _0x4c3ae7=this[_0x521fa0(0x18e)]();if(_0x41ab54){const _0x21361b=Di(this[_0x521fa0(0x20d)],_0x19929c,this[_0x521fa0(0x1a2)],_0x437795,_0x4cd12c,_0x4c3ae7);return _0x21361b instanceof oe?_0x21361b[_0x521fa0(0x67)]():(_0x21361b instanceof ae||_0x21361b instanceof ue)&&_0x21361b[_0x521fa0(0x188)](),_0x21361b;}return this[_0x521fa0(0x20d)]['createInstance'](fe,_0x19929c,this['_type'],_0x437795,_0x4cd12c,_0x4c3ae7);}['_replayCachedMutations'](_0x402f45,_0xbeab60){var _0x87e564=_0x56ebe4,_0xa2b508,_0x1b827f;const _0xb779ea=this['_compressMutationService'][_0x87e564(0x7e)]['fetchThroughInterceptors'](this[_0x87e564(0x246)][_0x87e564(0x7e)][_0x87e564(0xfa)]()[_0x87e564(0xb5)]);(_0xa2b508=_0xb779ea((_0x402f45==null?void 0x0:_0x402f45[_0x87e564(0x26e)])||[],null))==null||_0xa2b508[_0x87e564(0x328)](_0xf617e8=>this['_commandService'][_0x87e564(0xf6)](_0xf617e8['id'],_0xf617e8[_0x87e564(0xaa)])),(_0x1b827f=_0xb779ea(_0xbeab60||[],null))==null||_0x1b827f['forEach'](_0x4c44e8=>this[_0x87e564(0x359)]['executeCommand'](_0x4c44e8['id'],_0x4c44e8['params']));}};nt=Lt([k(0x3,_0x10a372(_0x28066c)),k(0x4,_0x10a372(_0x40ecae)),k(0x5,_0x10a372(_0x1bd86e)),k(0x6,_0x10a372(_0x10fef9)),k(0x7,_0x10a372(pe)),k(0x8,_0x2eb8c5),k(0x9,_0x1854e4),k(0xa,_0x3582b2),k(0xb,_0x5893d5(ht)),k(0xc,_0x5893d5(J))],nt);let Tt=class extends nt{constructor(_0x25f0f9,_0x2bea8c,_0x5a82f2,_0x35b63d,_0x4bbd09,_0x2bb0d9,_0xe1eeee,_0x2a7ed1,_0x5b2216,_0x3237cb,_0x1ac19f,_0x14abdd,_0x283f47){var _0x2f59f4=_0x56ebe4;super(_0x25f0f9,_0x5a82f2,_0x2bea8c,_0x35b63d,_0x4bbd09,_0x2bb0d9,_0xe1eeee,_0x2a7ed1,_0x5b2216,_0x3237cb,_0x1ac19f,_0x14abdd,_0x283f47),N(this,_0x2f59f4(0x31b),null),(this[_0x2f59f4(0x243)]=_0x25f0f9,this[_0x2f59f4(0x22e)]=_0x2bea8c);}[_0x56ebe4(0x217)](_0x4a2899){var _0x41f929=_0x56ebe4;this[_0x41f929(0x31b)]=_0x4a2899;}['dispose'](){var _0x3cc955=_0x56ebe4;this[_0x3cc955(0x31b)]=null,super[_0x3cc955(0x210)]();}[_0x56ebe4(0x18e)](){var _0x33e693=_0x56ebe4;const _0xbca595=super[_0x33e693(0x18e)]();return _0xbca595[_0x33e693(0x7a)]=_0xbfbe32=>{var _0x541c76=_0x33e693,_0x1ba144,_0x4a2e81;return(_0x4a2e81=(_0x1ba144=this[_0x541c76(0x31b)])==null?void 0x0:_0x1ba144[_0x541c76(0x7a)])==null?void 0x0:_0x4a2e81['call'](_0x1ba144,_0xbfbe32);},_0xbca595[_0x33e693(0x22f)]=_0xf76a77=>{var _0x12896f=_0x33e693,_0x308bdd,_0x40866e;return(_0x40866e=(_0x308bdd=this[_0x12896f(0x31b)])==null?void 0x0:_0x308bdd['onTransformState'])==null?void 0x0:_0x40866e[_0x12896f(0x2d1)](_0x308bdd,_0xf76a77);},_0xbca595['onTransformSelections']=_0x5a06f6=>{var _0x3f4d72=_0x33e693,_0x5bc8ff,_0x47ef36;return(_0x47ef36=(_0x5bc8ff=this['_handlerCallback'])==null?void 0x0:_0x5bc8ff[_0x3f4d72(0x16a)])==null?void 0x0:_0x47ef36['call'](_0x5bc8ff,_0x5a06f6);},_0xbca595[_0x33e693(0x12a)]=_0x4a066b=>{var _0x345b0d=_0x33e693,_0xfe202a,_0x22c590;return(_0x22c590=(_0xfe202a=this[_0x345b0d(0x31b)])==null?void 0x0:_0xfe202a['onSyncEditingCollabCursor'])==null?void 0x0:_0x22c590[_0x345b0d(0x2d1)](_0xfe202a,_0x4a066b);},_0xbca595[_0x33e693(0x22d)]=_0x456a73=>{var _0x5039ad=_0x33e693,_0x39937b,_0x29712e,_0x3310ff;if(!((_0x39937b=this[_0x5039ad(0x31b)])!=null&&_0x39937b['onTransformRemoteChangesetByIMECache']))throw new Error(_0x5039ad(0x2b2));return(_0x3310ff=(_0x29712e=this[_0x5039ad(0x31b)])==null?void 0x0:_0x29712e[_0x5039ad(0x22d)])==null?void 0x0:_0x3310ff[_0x5039ad(0x2d1)](_0x29712e,_0x456a73);},_0xbca595[_0x33e693(0xe1)]=_0x1c14a5=>{var _0x4a8f00=_0x33e693,_0x2e2930,_0x30eaa6,_0x2d079a;if(!((_0x2e2930=this['_handlerCallback'])!=null&&_0x2e2930[_0x4a8f00(0xe1)]))throw new Error(_0x4a8f00(0x2b4));return(_0x2d079a=(_0x30eaa6=this[_0x4a8f00(0x31b)])==null?void 0x0:_0x30eaa6[_0x4a8f00(0xe1)])==null?void 0x0:_0x2d079a[_0x4a8f00(0x2d1)](_0x30eaa6,_0x1c14a5);},_0xbca595;}async[_0x56ebe4(0x180)](){var _0x16be15=_0x56ebe4;const _0x5dfbc5=await super[_0x16be15(0x180)]();return this[_0x16be15(0x312)](this[_0x16be15(0x359)][_0x16be15(0x1de)]((_0x8a22f3,_0x14b008)=>{var _0x10c112=_0x16be15;if(_0x8a22f3['type']!==_0xad03cb['MUTATION']||_0x14b008!=null&&_0x14b008['fromCollab']||_0x14b008!=null&&_0x14b008[_0x10c112(0xd1)]||_0x8a22f3['id']===_0x5e9627['id'])return;const _0x47f021=_0x8a22f3[_0x10c112(0xaa)];if((_0x47f021==null?void 0x0:_0x47f021[_0x10c112(0x94)])!==this[_0x10c112(0x243)])return;const _0x4a0e87=_0x8a22f3,_0x28e197=this['_compressMutationService'][_0x10c112(0x7e)][_0x10c112(0x13c)](this[_0x10c112(0x246)]['interceptor']['getInterceptPoints']()[_0x10c112(0x1c5)])([_0x4a0e87],null)||[_0x4a0e87];this['_onLocalMutation'](_0x28e197[0x0]);})),_0x5dfbc5;}};Tt=Lt([k(0x3,_0x10a372(_0x28066c)),k(0x4,_0x10a372(_0x40ecae)),k(0x5,_0x10a372(_0x1bd86e)),k(0x6,_0x10a372(_0x10fef9)),k(0x7,_0x10a372(pe)),k(0x8,_0x2eb8c5),k(0x9,_0x1854e4),k(0xa,_0x3582b2),k(0xb,_0x5893d5(ht)),k(0xc,_0x5893d5(J))],Tt);let Ct=class extends nt{constructor(_0x28d99d,_0x59a122,_0x135145,_0x480059,_0x132f33,_0x1c66bf,_0xb0a481,_0x31c3cd,_0x1f448e,_0x283424,_0x4b6245,_0x5c7f78,_0x1c3aac,_0x21a1fb){var _0x3a9ba5=_0x56ebe4;super(_0x28d99d,_0x135145,_0x59a122,_0x480059,_0x132f33,_0x1c66bf,_0xb0a481,_0x1f448e,_0x283424,_0x4b6245,_0x5c7f78,_0x1c3aac,_0x21a1fb),this[_0x3a9ba5(0x243)]=_0x28d99d,this[_0x3a9ba5(0x22e)]=_0x59a122,this[_0x3a9ba5(0x31e)]=_0x31c3cd;}[_0x56ebe4(0x18e)](){var _0x4b9942=_0x56ebe4;const _0x32c8d0=super[_0x4b9942(0x18e)]();return _0x32c8d0[_0x4b9942(0x16a)]=_0x154966=>this[_0x4b9942(0x31e)][_0x4b9942(0x26b)](_0x154966),_0x32c8d0;}async[_0x56ebe4(0x180)](){var _0x454925=_0x56ebe4;const _0x4596cf=await super[_0x454925(0x180)]();return this[_0x454925(0x312)](this[_0x454925(0x359)][_0x454925(0x1de)]((_0x443b11,_0x316582)=>{var _0x466390=_0x454925;if(_0x443b11['type']!==_0xad03cb['MUTATION']||_0x316582!=null&&_0x316582[_0x466390(0x82)]||_0x316582!=null&&_0x316582[_0x466390(0xd1)])return;const _0x3d1e5=_0x443b11[_0x466390(0xaa)];if((_0x3d1e5==null?void 0x0:_0x3d1e5['unitId'])!==this[_0x466390(0x243)])return;const _0x21fcdb=_0x443b11,_0x16001e=this[_0x466390(0x246)][_0x466390(0x7e)][_0x466390(0x13c)](this[_0x466390(0x246)][_0x466390(0x7e)][_0x466390(0xfa)]()[_0x466390(0x1c5)])([_0x21fcdb],null)||[_0x21fcdb];this[_0x466390(0x17f)](_0x16001e[0x0]);})),_0x4596cf;}};Ct=Lt([k(0x3,_0x10a372(_0x28066c)),k(0x4,_0x10a372(_0x40ecae)),k(0x5,_0x10a372(_0x1bd86e)),k(0x6,_0x10a372(_0x10fef9)),k(0x7,_0x10a372(it)),k(0x8,_0x10a372(pe)),k(0x9,_0x2eb8c5),k(0xa,_0x1854e4),k(0xb,_0x3582b2),k(0xc,_0x5893d5(ht)),k(0xd,_0x5893d5(J))],Ct);var mr=Object[_0x56ebe4(0xf9)],gr=Object['getOwnPropertyDescriptor'],Sr=(_0x155e58,_0x197b2c,_0x149cce,_0xe731de)=>{var _0x17eccf=_0x56ebe4;for(var _0x55bdea=_0xe731de>0x1?void 0x0:_0xe731de?gr(_0x197b2c,_0x149cce):_0x197b2c,_0x44f4a8=_0x155e58[_0x17eccf(0x146)]-0x1,_0x578fce;_0x44f4a8>=0x0;_0x44f4a8--)(_0x578fce=_0x155e58[_0x44f4a8])&&(_0x55bdea=(_0xe731de?_0x578fce(_0x197b2c,_0x149cce,_0x55bdea):_0x578fce(_0x55bdea))||_0x55bdea);return _0xe731de&&_0x55bdea&&mr(_0x197b2c,_0x149cce,_0x55bdea),_0x55bdea;},ft=(_0x4838b6,_0x49c2d2)=>(_0x403ff4,_0x951233)=>_0x49c2d2(_0x403ff4,_0x951233,_0x4838b6);let rt=class extends _0x28b5a4{constructor(_0x27a394,_0x4e5bce,_0x457331){var _0x3a6646=_0x56ebe4;super(),N(this,_0x3a6646(0x2d8),new Map()),N(this,_0x3a6646(0xc9),new _0x204182()),N(this,_0x3a6646(0x326),this['_entityInit$'][_0x3a6646(0x34f)]()),(this[_0x3a6646(0x20d)]=_0x27a394,this[_0x3a6646(0x1d1)]=_0x4e5bce,this[_0x3a6646(0x1b3)]=_0x457331,this[_0x3a6646(0x180)]());}['dispose'](){var _0x319554=_0x56ebe4;super[_0x319554(0x210)](),this[_0x319554(0x2d8)][_0x319554(0x328)](_0x2444e4=>_0x2444e4[_0x319554(0x210)]()),this[_0x319554(0x2d8)][_0x319554(0x16e)]();}[_0x56ebe4(0x350)](_0x907842){var _0x574352=_0x56ebe4,_0x1f0cf3;return(_0x1f0cf3=this[_0x574352(0x2d8)][_0x574352(0xf8)](_0x907842))!=null?_0x1f0cf3:null;}[_0x56ebe4(0xa8)](_0x100cd0){var _0x542615=_0x56ebe4;const _0x483764=this[_0x542615(0x350)](_0x100cd0);return _0x483764?_0x12fac6(_0x483764):this[_0x542615(0xc9)]['pipe'](_0x803da5(_0x519732=>_0x519732[_0x542615(0x243)]===_0x100cd0));}[_0x56ebe4(0x2b8)](_0x36432b){var _0x495a53=_0x56ebe4;return _0x5f50cb(this[_0x495a53(0xa8)](_0x36432b)[_0x495a53(0xba)](_0x387b22(()=>{})));}['_init'](){var _0x36c109=_0x56ebe4;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x58d019[_0x36c109(0xef)])[_0x36c109(0xba)](_0x393b20(this[_0x36c109(0x205)]),_0x4fe25d(0x10))[_0x36c109(0x1b0)](async _0x343736=>{var _0x5c9e4f=_0x36c109;const _0x204a38=_0x343736[_0x5c9e4f(0x25d)](),_0x509591=await this[_0x5c9e4f(0x216)](_0x204a38,Q[_0x5c9e4f(0xef)]);this[_0x5c9e4f(0x2d8)][_0x5c9e4f(0x2e4)](_0x204a38,_0x509591);}),this[_0x36c109(0x1b3)]['getTypeOfUnitAdded$'](_0x58d019['UNIVER_DOC'])[_0x36c109(0xba)](_0x393b20(this[_0x36c109(0x205)]),_0x4fe25d(0x10))[_0x36c109(0xba)](_0x803da5(_0x7f2bee=>!_0x7f2bee['getUnitId']()[_0x36c109(0x113)]('__')))[_0x36c109(0x1b0)](async _0x5b467c=>{var _0x2327f2=_0x36c109;const _0x35fc73=_0x5b467c[_0x2327f2(0x25d)](),_0x190de2=await this[_0x2327f2(0x216)](_0x35fc73,Q[_0x2327f2(0x342)]);this[_0x2327f2(0x2d8)][_0x2327f2(0x2e4)](_0x35fc73,_0x190de2);}),_0x137f9c(this[_0x36c109(0x1b3)]['getTypeOfUnitDisposed$'](_0x58d019[_0x36c109(0xef)]),this[_0x36c109(0x1b3)]['getTypeOfUnitDisposed$'](_0x58d019[_0x36c109(0x342)]))[_0x36c109(0xba)](_0x393b20(this[_0x36c109(0x205)]))['subscribe'](_0x380b7c=>{var _0xea4d9d=_0x36c109;const _0x49a205=_0x380b7c['getUnitId'](),_0x8e318b=this[_0xea4d9d(0x2d8)][_0xea4d9d(0xf8)](_0x49a205);_0x8e318b&&(_0x8e318b[_0xea4d9d(0x210)](),this[_0xea4d9d(0x2d8)][_0xea4d9d(0xbb)](_0x49a205));});}async[_0x56ebe4(0x216)](_0x586eba,_0x462da4){var _0x2704e9=_0x56ebe4;const _0x2eb7b1=await this['_collabSessionService'][_0x2704e9(0x249)](_0x586eba),_0x46b9cb=this['_injector'][_0x2704e9(0x24d)](this[_0x2704e9(0x1f6)](_0x462da4),_0x586eba,_0x462da4,_0x2eb7b1);return await _0x46b9cb['init'](),this[_0x2704e9(0xc9)]['next'](_0x46b9cb),_0x46b9cb;}[_0x56ebe4(0x1f6)](_0x202b7c){var _0x133f65=_0x56ebe4;switch(_0x202b7c){case Q[_0x133f65(0x342)]:return Tt;case Q['UNIVER_SHEET']:return Ct;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x202b7c);}}};rt=Sr([ft(0x0,_0x10a372(_0x28066c)),ft(0x1,_0x10a372(Le)),ft(0x2,_0x4f76fc)],rt);var Er=Object['defineProperty'],Ir=Object[_0x56ebe4(0x2ac)],Tr=(_0x4e719c,_0x412f45,_0x35f215,_0x5c3f84)=>{for(var _0x1dde1b=_0x5c3f84>0x1?void 0x0:_0x5c3f84?Ir(_0x412f45,_0x35f215):_0x412f45,_0x42a852=_0x4e719c['length']-0x1,_0x26dbe1;_0x42a852>=0x0;_0x42a852--)(_0x26dbe1=_0x4e719c[_0x42a852])&&(_0x1dde1b=(_0x5c3f84?_0x26dbe1(_0x412f45,_0x35f215,_0x1dde1b):_0x26dbe1(_0x1dde1b))||_0x1dde1b);return _0x5c3f84&&_0x1dde1b&&Er(_0x412f45,_0x35f215,_0x1dde1b),_0x1dde1b;},Jt=(_0x13403d,_0xf0e7af)=>(_0x1f3117,_0x1f60ea)=>_0xf0e7af(_0x1f3117,_0x1f60ea,_0x13403d);const Cr=_0x56ebe4(0x105),Rr=_0x56ebe4(0x71);let Rt=class extends _0x43d67a{constructor(_0x28a198,_0x152c5e){var _0x5b73b6=_0x56ebe4;super(),this[_0x5b73b6(0x1b3)]=_0x28a198,this[_0x5b73b6(0x1bf)]=_0x152c5e,this['_init']();}[_0x56ebe4(0x180)](){var _0x325805=_0x56ebe4;this[_0x325805(0x312)](this[_0x325805(0x1b3)][_0x325805(0x2bf)]['subscribe'](()=>{var _0x195110=_0x325805,_0x1ff615;const _0x281201=this[_0x195110(0x1b3)][_0x195110(0x323)]();let _0xfd852=(_0x1ff615=this[_0x195110(0x1bf)][_0x195110(0x1d3)](Cr))!=null?_0x1ff615:Rr;_0x281201 instanceof _0x8e3287&&(_0xfd852=_0x281201[_0x195110(0x193)]),document[_0x195110(0x12f)]=_0xfd852;}));}};Rt=Tr([Jt(0x0,_0x4f76fc),Jt(0x1,_0x495d61)],Rt);var br=Object[_0x56ebe4(0xf9)],Or=Object[_0x56ebe4(0x2ac)],yr=(_0x5a5680,_0x43ef82,_0x9e3ce5,_0x5705d7)=>{var _0x39d00f=_0x56ebe4;for(var _0x18d147=_0x5705d7>0x1?void 0x0:_0x5705d7?Or(_0x43ef82,_0x9e3ce5):_0x43ef82,_0x6f2d2b=_0x5a5680[_0x39d00f(0x146)]-0x1,_0x5b47e7;_0x6f2d2b>=0x0;_0x6f2d2b--)(_0x5b47e7=_0x5a5680[_0x6f2d2b])&&(_0x18d147=(_0x5705d7?_0x5b47e7(_0x43ef82,_0x9e3ce5,_0x18d147):_0x5b47e7(_0x18d147))||_0x18d147);return _0x5705d7&&_0x18d147&&br(_0x43ef82,_0x9e3ce5,_0x18d147),_0x18d147;},vt=(_0x424fd3,_0x49082b)=>(_0x1f980c,_0x91ddaa)=>_0x49082b(_0x1f980c,_0x91ddaa,_0x424fd3);let st=class{constructor(_0xa71942,_0x223eee,_0x508ff6){var _0xa0b962=_0x56ebe4;this[_0xa0b962(0x1bf)]=_0xa71942,this['_httpService']=_0x223eee,this['localeService']=_0x508ff6,this[_0xa0b962(0x78)]();}['init'](){var _0x320bc7=_0x56ebe4;this[_0x320bc7(0x1d8)][_0x320bc7(0x307)]({'priority':0x1,'interceptor':(_0x32cc70,_0x5606ee)=>_0x5606ee(_0x32cc70)[_0x320bc7(0xba)](_0x284fcc(async _0x51e19f=>{var _0x23d19b=_0x320bc7;const _0x57eeec=_0x51e19f;if(_0x57eeec[_0x23d19b(0x98)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x23d19b(0x163)](this[_0x23d19b(0x264)]['t'](_0x23d19b(0x300)))){const _0x411deb=window[_0x23d19b(0x233)](window[_0x23d19b(0x2ec)][_0x23d19b(0x2ff)]);window['location'][_0x23d19b(0x2ff)]=this[_0x23d19b(0x1d2)]()+_0x23d19b(0x1a4)+_0x411deb;}}return _0x57eeec;}))});}[_0x56ebe4(0x1d2)](){var _0x4de1e4=_0x56ebe4,_0x17a3e1,_0x334daa;const _0x50cdaf=this[_0x4de1e4(0x1bf)][_0x4de1e4(0x1d3)](xn),_0x5f56f0=this['_configService'][_0x4de1e4(0x1d3)](q);return(_0x334daa=(_0x17a3e1=_0x5f56f0==null?void 0x0:_0x5f56f0[_0x4de1e4(0xa9)])!=null?_0x17a3e1:_0x50cdaf)!=null?_0x334daa:Ln;}};st=yr([vt(0x0,_0x495d61),vt(0x1,_0x10a372(_0x27ab0a)),vt(0x2,_0x10a372(_0x1bd86e))],st);var Nr=Object[_0x56ebe4(0xf9)],Dr=Object[_0x56ebe4(0x2ac)],Pr=(_0x1b125c,_0x20d66c,_0x3b8901,_0x3fe4d4)=>{var _0x1cf110=_0x56ebe4;for(var _0x2f4eac=_0x3fe4d4>0x1?void 0x0:_0x3fe4d4?Dr(_0x20d66c,_0x3b8901):_0x20d66c,_0x53feb7=_0x1b125c[_0x1cf110(0x146)]-0x1,_0x3e3722;_0x53feb7>=0x0;_0x53feb7--)(_0x3e3722=_0x1b125c[_0x53feb7])&&(_0x2f4eac=(_0x3fe4d4?_0x3e3722(_0x20d66c,_0x3b8901,_0x2f4eac):_0x3e3722(_0x2f4eac))||_0x2f4eac);return _0x3fe4d4&&_0x2f4eac&&Nr(_0x20d66c,_0x3b8901,_0x2f4eac),_0x2f4eac;},Xt=(_0x9508ef,_0x22a0d3)=>(_0x26b9b0,_0x57116d)=>_0x22a0d3(_0x26b9b0,_0x57116d,_0x9508ef);const Pi='AUTHZ_URL_KEY',wr=_0x56ebe4(0x167);let bt=class extends _0x43d67a{constructor(_0x44d5c8,_0x15fe25){var _0x4df499=_0x56ebe4;super(),this[_0x4df499(0x13b)]=_0x44d5c8,this[_0x4df499(0x1bf)]=_0x15fe25,this[_0x4df499(0x1f4)]();}['_initMergeInterceptor'](){var _0x5d4922=_0x56ebe4;const _0x15b5ff=this;this[_0x5d4922(0x312)](this['_HTTPService'][_0x5d4922(0x307)]({'priority':0x3e7,'interceptor':_0x1772c6({'isMatch'(_0x4d4bdc){var _0x1a87ea=_0x5d4922,_0x23bf35;if(_0x4d4bdc['method']===_0x1a87ea(0x2dc)&&((_0x23bf35=_0x4d4bdc['requestParams'])!=null&&_0x23bf35[_0x1a87ea(0x33d)])){const {objectID:_0x8544b0,objectType:_0xe93d9c}=_0x4d4bdc[_0x1a87ea(0x260)][_0x1a87ea(0x33d)]||{};if(!_0x8544b0||_0xe93d9c===void 0x0)return!0x1;const _0x4182ca=_0x15b5ff['_getAPIPrefixPath']()+'/'+_0xe93d9c+_0x1a87ea(0xe4)+_0x8544b0+_0x1a87ea(0x12b);if(_0x4d4bdc[_0x1a87ea(0x181)]===_0x4182ca)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x248d10){var _0x5c9a45=_0x5d4922,_0x224a06;return(_0x224a06=_0x248d10[_0x5c9a45(0x260)])==null?void 0x0:_0x224a06[_0x5c9a45(0x33d)];},'mergeParamsToRequest'(_0xf27e9b,_0x4baca5){var _0x10508c=_0x5d4922;const _0x35c67f=_0x15b5ff[_0x10508c(0x32b)]()+_0x10508c(0x156),_0x5da796=_0xf27e9b[_0x10508c(0x133)]((_0x53686c,_0x79c675)=>{var _0x4d5bdb=_0x10508c;const {unitID:_0x1d50d6,objectID:_0x4e8e6d,objectType:_0x2fd94f,actions:_0x8b87d3}=_0x79c675;return _0x53686c[_0x1d50d6]||(_0x53686c[_0x1d50d6]={}),_0x53686c[_0x1d50d6][_0x4e8e6d]||(_0x53686c[_0x1d50d6][_0x4e8e6d]={'objectID':_0x4e8e6d,'objectType':_0x2fd94f,'actions':[]}),_0x53686c[_0x1d50d6][_0x4e8e6d]['actions'][_0x4d5bdb(0xb9)](..._0x8b87d3),_0x53686c;},{}),_0x3d37e1=[];for(const _0x3a836d in _0x5da796)for(const _0x510e5f in _0x5da796[_0x3a836d]){const {actions:_0x36ebfe,objectType:_0x16bb64}=_0x5da796[_0x3a836d][_0x510e5f],_0x221fa0=[...new Set(_0x36ebfe)];_0x3d37e1[_0x10508c(0xb9)]({'unitID':_0x3a836d,'objectID':_0x510e5f,'objectType':_0x16bb64,'actions':_0x221fa0});}return new _0xe480ff(_0x10508c(0x2dc),_0x35c67f,{'headers':_0x4baca5[_0x10508c(0x123)],'withCredentials':_0x4baca5['withCredentials'],'responseType':_0x4baca5[_0x10508c(0x1c4)],'body':{'requests':_0x3d37e1}});}},{'distributeResult'(_0x1bc99c,_0x1d1091){const {objectActions:_0x33f898}=_0x1bc99c;return _0x1d1091['map'](_0x2f09af=>{var _0x2ca76b=_0x8d60;const {unitID:_0x497642,objectID:_0x91fc6,actions:_0x557e7f}=_0x2f09af,_0x31d668=_0x33f898[_0x2ca76b(0x212)](_0x543414=>_0x543414['unitID']===_0x497642&&_0x543414[_0x2ca76b(0x1eb)]===_0x91fc6),_0x3a5b28=_0x557e7f[_0x2ca76b(0xb7)](_0x4a1f73=>_0x31d668==null?void 0x0:_0x31d668[_0x2ca76b(0x221)][_0x2ca76b(0x212)](_0x152f57=>_0x152f57['action']===_0x4a1f73))[_0x2ca76b(0x2d0)](_0x4ec5c5=>!!_0x4ec5c5);return{'config':_0x2f09af,'result':{'actions':_0x3a5b28,'error':_0x1bc99c[_0x2ca76b(0x1a5)]}};});}})}));}[_0x56ebe4(0x32b)](){var _0x2b5aec=_0x56ebe4,_0x40f230,_0x3e5e48;const _0x42971e=this[_0x2b5aec(0x1bf)][_0x2b5aec(0x1d3)](Pi),_0x53980f=this[_0x2b5aec(0x1bf)][_0x2b5aec(0x1d3)](q);return(_0x3e5e48=(_0x40f230=_0x53980f==null?void 0x0:_0x53980f[_0x2b5aec(0x2ed)])!=null?_0x40f230:_0x42971e)!=null?_0x3e5e48:wr;}async[_0x56ebe4(0x1b7)](_0x424835){var _0x548991=_0x56ebe4;const _0x1b07f0=this[_0x548991(0x32b)]()+'/'+_0x424835['objectType']+_0x548991(0x2d9);return(await this[_0x548991(0x13b)][_0x548991(0x329)](_0x1b07f0,{'body':_0x424835}))[_0x548991(0x33d)][_0x548991(0x1eb)]||'';}async['list'](_0x2601ab){var _0x69a3a2=_0x56ebe4;const _0x11f2c6=this['_getAPIPrefixPath']()+_0x69a3a2(0x13d);return(await this[_0x69a3a2(0x13b)][_0x69a3a2(0x329)](_0x11f2c6,{'body':_0x2601ab}))[_0x69a3a2(0x33d)][_0x69a3a2(0x175)];}async[_0x56ebe4(0xe6)](_0x23d211){var _0x12954e=_0x56ebe4;const _0x41714c=this[_0x12954e(0x32b)]()+'/'+_0x23d211[_0x12954e(0x239)]+_0x12954e(0xe4)+_0x23d211[_0x12954e(0x1eb)];await this[_0x12954e(0x13b)][_0x12954e(0x1cc)](_0x41714c,{'body':_0x23d211});}async['allowed'](_0x3350a8){var _0x53b9d2=_0x56ebe4;const _0x219bf2=this[_0x53b9d2(0x32b)]()+'/'+_0x3350a8[_0x53b9d2(0x239)]+_0x53b9d2(0xe4)+_0x3350a8[_0x53b9d2(0x1eb)]+_0x53b9d2(0x12b);return(await this[_0x53b9d2(0x13b)][_0x53b9d2(0x329)](_0x219bf2,{'body':_0x3350a8}))[_0x53b9d2(0x33d)][_0x53b9d2(0x221)];}async[_0x56ebe4(0x35d)](_0x8b51e8){var _0x598229=_0x56ebe4;const _0x29cac2=this[_0x598229(0x32b)]()+_0x598229(0x156);return(await this[_0x598229(0x13b)][_0x598229(0x329)](_0x29cac2,{'body':{'requests':_0x8b51e8}}))[_0x598229(0x33d)]['objectActions'];}async[_0x56ebe4(0x35e)](_0x31c210){var _0x1b2a40=_0x56ebe4;const _0x79a323=this[_0x1b2a40(0x32b)]()+'/'+_0x31c210[_0x1b2a40(0x239)]+'/role',_0x191825=await this[_0x1b2a40(0x13b)]['post'](_0x79a323,{'body':_0x31c210});return{'roles':_0x191825[_0x1b2a40(0x33d)][_0x1b2a40(0x17b)],'actions':_0x191825[_0x1b2a40(0x33d)][_0x1b2a40(0x221)]};}async['deleteCollaborator'](_0x1c46e6){var _0x29cb3c=_0x56ebe4;const _0x2450e5=this[_0x29cb3c(0x32b)]()+'/collaborator';await this[_0x29cb3c(0x13b)][_0x29cb3c(0xbb)](_0x2450e5,{'params':{'collaboratorID':_0x1c46e6[_0x29cb3c(0x2cc)],'objectID':_0x1c46e6[_0x29cb3c(0x1eb)],'unitID':_0x1c46e6['unitID']}});}async['updateCollaborator'](_0xda7667){var _0x4403cf=_0x56ebe4;const _0x260586=this[_0x4403cf(0x32b)]()+_0x4403cf(0x324);await this['_HTTPService']['patch'](_0x260586,{'body':_0xda7667});}async[_0x56ebe4(0xb3)](_0x2e3ba7){var _0x44fc6f=_0x56ebe4;const _0x610dc8=this[_0x44fc6f(0x32b)]()+_0x44fc6f(0x324);await this[_0x44fc6f(0x13b)]['post'](_0x610dc8,{'body':_0x2e3ba7});}async['listCollaborators'](_0x4b3cda){var _0x247ca4=_0x56ebe4;const _0x2e644b=this[_0x247ca4(0x32b)]()+_0x247ca4(0x324);return(await this[_0x247ca4(0x13b)][_0x247ca4(0xf8)](_0x2e644b,{'params':{'objectID':_0x4b3cda[_0x247ca4(0x1eb)],'unitID':_0x4b3cda[_0x247ca4(0x243)]}}))[_0x247ca4(0x33d)][_0x247ca4(0x238)];}async[_0x56ebe4(0x308)](_0x169352){var _0x26a05d=_0x56ebe4;const _0x145bba=this['_getAPIPrefixPath']()+_0x26a05d(0x324);await this[_0x26a05d(0x13b)][_0x26a05d(0x1cc)](_0x145bba,{'body':_0x169352});}};bt=Pr([Xt(0x0,_0x10a372(_0x27ab0a)),Xt(0x1,_0x10a372(_0x495d61))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x355f16){var _0x58bc49=_0x56ebe4;return _0x355f16&&_0x355f16[_0x58bc49(0x2f1)]&&Object[_0x58bc49(0xc0)][_0x58bc49(0x29e)][_0x58bc49(0x2d1)](_0x355f16,'default')?_0x355f16[_0x58bc49(0x23e)]:_0x355f16;}var Ve={'exports':{}};function Ur(_0x8ced87){var _0x37a878=_0x56ebe4;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x8ced87+_0x37a878(0x150));}var Ge={'exports':{}},Ar=Ge[_0x56ebe4(0x2eb)],Zt;function ne(){var _0x4ecb3e=_0x56ebe4;return Zt||(Zt=0x1,function(_0x426bc4,_0x1d22d6){(function(_0x14332d,_0x53f8be){var _0x270d7e=_0x8d60;_0x426bc4[_0x270d7e(0x2eb)]=_0x53f8be();}(Ar,function(){var _0x5ce1df=_0x5ce1df||function(_0x60f162,_0x33cff5){var _0x520131=_0x8d60,_0x4e4b83;if(typeof window<'u'&&window[_0x520131(0x154)]&&(_0x4e4b83=window[_0x520131(0x154)]),typeof self<'u'&&self[_0x520131(0x154)]&&(_0x4e4b83=self['crypto']),typeof globalThis<'u'&&globalThis[_0x520131(0x154)]&&(_0x4e4b83=globalThis[_0x520131(0x154)]),!_0x4e4b83&&typeof window<'u'&&window[_0x520131(0x13f)]&&(_0x4e4b83=window[_0x520131(0x13f)]),!_0x4e4b83&&typeof pt<'u'&&pt[_0x520131(0x154)]&&(_0x4e4b83=pt['crypto']),!_0x4e4b83&&typeof Ur==_0x520131(0x285))try{_0x4e4b83=require(_0x520131(0x154));}catch{}var _0x1930fa=function(){var _0x2a69d8=_0x520131;if(_0x4e4b83){if(typeof _0x4e4b83[_0x2a69d8(0x305)]==_0x2a69d8(0x285))try{return _0x4e4b83[_0x2a69d8(0x305)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4e4b83[_0x2a69d8(0x2a3)]==_0x2a69d8(0x285))try{return _0x4e4b83[_0x2a69d8(0x2a3)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x2a69d8(0x201));},_0x5109e6=Object[_0x520131(0x1b7)]||(function(){function _0x50fe23(){}return function(_0x260e06){var _0x2523b4;return _0x50fe23['prototype']=_0x260e06,_0x2523b4=new _0x50fe23(),_0x50fe23['prototype']=null,_0x2523b4;};}()),_0xed4f87={},_0x5b7aef=_0xed4f87[_0x520131(0x2cb)]={},_0x486cca=_0x5b7aef['Base']=(function(){return{'extend':function(_0x10187b){var _0x293900=_0x8d60,_0x121666=_0x5109e6(this);return _0x10187b&&_0x121666[_0x293900(0x136)](_0x10187b),(!_0x121666['hasOwnProperty']('init')||this[_0x293900(0x78)]===_0x121666['init'])&&(_0x121666[_0x293900(0x78)]=function(){var _0x1932b5=_0x293900;_0x121666[_0x1932b5(0xfd)][_0x1932b5(0x78)][_0x1932b5(0x1cf)](this,arguments);}),_0x121666[_0x293900(0x78)]['prototype']=_0x121666,_0x121666[_0x293900(0xfd)]=this,_0x121666;},'create':function(){var _0x3ee0d4=_0x8d60,_0x3addf9=this[_0x3ee0d4(0x281)]();return _0x3addf9[_0x3ee0d4(0x78)][_0x3ee0d4(0x1cf)](_0x3addf9,arguments),_0x3addf9;},'init':function(){},'mixIn':function(_0x3b1e82){var _0x1b6a00=_0x8d60;for(var _0x4cc54c in _0x3b1e82)_0x3b1e82[_0x1b6a00(0x29e)](_0x4cc54c)&&(this[_0x4cc54c]=_0x3b1e82[_0x4cc54c]);_0x3b1e82['hasOwnProperty'](_0x1b6a00(0x237))&&(this[_0x1b6a00(0x237)]=_0x3b1e82[_0x1b6a00(0x237)]);},'clone':function(){var _0x1edef5=_0x8d60;return this[_0x1edef5(0x78)][_0x1edef5(0xc0)][_0x1edef5(0x281)](this);}};}()),_0x212830=_0x5b7aef['WordArray']=_0x486cca[_0x520131(0x281)]({'init':function(_0x2192d8,_0x39b204){var _0x12c952=_0x520131;_0x2192d8=this['words']=_0x2192d8||[],_0x39b204!=_0x33cff5?this['sigBytes']=_0x39b204:this['sigBytes']=_0x2192d8[_0x12c952(0x146)]*0x4;},'toString':function(_0x38dd7e){var _0x3fd0cf=_0x520131;return(_0x38dd7e||_0x44e82a)[_0x3fd0cf(0x25f)](this);},'concat':function(_0xf8d127){var _0x190b10=_0x520131,_0x26bd19=this[_0x190b10(0xb4)],_0x5800c1=_0xf8d127[_0x190b10(0xb4)],_0xb730cb=this[_0x190b10(0x2e9)],_0x17dcf6=_0xf8d127[_0x190b10(0x2e9)];if(this[_0x190b10(0xa6)](),_0xb730cb%0x4)for(var _0x1a5063=0x0;_0x1a5063<_0x17dcf6;_0x1a5063++){var _0x46b5b5=_0x5800c1[_0x1a5063>>>0x2]>>>0x18-_0x1a5063%0x4*0x8&0xff;_0x26bd19[_0xb730cb+_0x1a5063>>>0x2]|=_0x46b5b5<<0x18-(_0xb730cb+_0x1a5063)%0x4*0x8;}else{for(var _0x2c240f=0x0;_0x2c240f<_0x17dcf6;_0x2c240f+=0x4)_0x26bd19[_0xb730cb+_0x2c240f>>>0x2]=_0x5800c1[_0x2c240f>>>0x2];}return this['sigBytes']+=_0x17dcf6,this;},'clamp':function(){var _0x2699e6=_0x520131,_0x23ce91=this[_0x2699e6(0xb4)],_0x1cb21b=this[_0x2699e6(0x2e9)];_0x23ce91[_0x1cb21b>>>0x2]&=0xffffffff<<0x20-_0x1cb21b%0x4*0x8,_0x23ce91[_0x2699e6(0x146)]=_0x60f162[_0x2699e6(0x2ef)](_0x1cb21b/0x4);},'clone':function(){var _0x447f82=_0x520131,_0x1eb063=_0x486cca[_0x447f82(0x10b)]['call'](this);return _0x1eb063['words']=this[_0x447f82(0xb4)][_0x447f82(0x2ea)](0x0),_0x1eb063;},'random':function(_0x511550){var _0x109195=_0x520131;for(var _0x58f399=[],_0x114bde=0x0;_0x114bde<_0x511550;_0x114bde+=0x4)_0x58f399[_0x109195(0xb9)](_0x1930fa());return new _0x212830[(_0x109195(0x78))](_0x58f399,_0x511550);}}),_0xf9f2bb=_0xed4f87['enc']={},_0x44e82a=_0xf9f2bb[_0x520131(0xcc)]={'stringify':function(_0x2b980e){var _0x122910=_0x520131;for(var _0x243dce=_0x2b980e[_0x122910(0xb4)],_0x537790=_0x2b980e['sigBytes'],_0x572ded=[],_0x21b856=0x0;_0x21b856<_0x537790;_0x21b856++){var _0x564c57=_0x243dce[_0x21b856>>>0x2]>>>0x18-_0x21b856%0x4*0x8&0xff;_0x572ded[_0x122910(0xb9)]((_0x564c57>>>0x4)[_0x122910(0x237)](0x10)),_0x572ded[_0x122910(0xb9)]((_0x564c57&0xf)['toString'](0x10));}return _0x572ded['join']('');},'parse':function(_0x317d5a){var _0x4a28a1=_0x520131;for(var _0x26bc01=_0x317d5a[_0x4a28a1(0x146)],_0x563253=[],_0x3dd2a0=0x0;_0x3dd2a0<_0x26bc01;_0x3dd2a0+=0x2)_0x563253[_0x3dd2a0>>>0x3]|=parseInt(_0x317d5a[_0x4a28a1(0x24f)](_0x3dd2a0,0x2),0x10)<<0x18-_0x3dd2a0%0x8*0x4;return new _0x212830[(_0x4a28a1(0x78))](_0x563253,_0x26bc01/0x2);}},_0x38c87=_0xf9f2bb[_0x520131(0x1d4)]={'stringify':function(_0x18b709){var _0x581179=_0x520131;for(var _0x3c3f62=_0x18b709[_0x581179(0xb4)],_0x4aefe9=_0x18b709[_0x581179(0x2e9)],_0x26614d=[],_0x19b5c5=0x0;_0x19b5c5<_0x4aefe9;_0x19b5c5++){var _0xfaee0a=_0x3c3f62[_0x19b5c5>>>0x2]>>>0x18-_0x19b5c5%0x4*0x8&0xff;_0x26614d[_0x581179(0xb9)](String['fromCharCode'](_0xfaee0a));}return _0x26614d[_0x581179(0x18b)]('');},'parse':function(_0x3ad3e9){var _0x5f1a3c=_0x520131;for(var _0x34cd52=_0x3ad3e9['length'],_0x22ed28=[],_0x15b187=0x0;_0x15b187<_0x34cd52;_0x15b187++)_0x22ed28[_0x15b187>>>0x2]|=(_0x3ad3e9[_0x5f1a3c(0x2b3)](_0x15b187)&0xff)<<0x18-_0x15b187%0x4*0x8;return new _0x212830[(_0x5f1a3c(0x78))](_0x22ed28,_0x34cd52);}},_0x47d8d0=_0xf9f2bb[_0x520131(0x160)]={'stringify':function(_0x2bbd0b){var _0x5bb208=_0x520131;try{return decodeURIComponent(escape(_0x38c87[_0x5bb208(0x25f)](_0x2bbd0b)));}catch{throw new Error(_0x5bb208(0x309));}},'parse':function(_0xd081dd){return _0x38c87['parse'](unescape(encodeURIComponent(_0xd081dd)));}},_0x38376c=_0x5b7aef[_0x520131(0x2f6)]=_0x486cca[_0x520131(0x281)]({'reset':function(){var _0x27da4f=_0x520131;this[_0x27da4f(0xb8)]=new _0x212830[(_0x27da4f(0x78))](),this[_0x27da4f(0x282)]=0x0;},'_append':function(_0x3bc856){var _0x5134a7=_0x520131;typeof _0x3bc856==_0x5134a7(0x26c)&&(_0x3bc856=_0x47d8d0[_0x5134a7(0x19c)](_0x3bc856)),this[_0x5134a7(0xb8)][_0x5134a7(0x12c)](_0x3bc856),this[_0x5134a7(0x282)]+=_0x3bc856[_0x5134a7(0x2e9)];},'_process':function(_0x4da4a7){var _0x580502=_0x520131,_0xf9273b,_0x2eeae7=this[_0x580502(0xb8)],_0x539625=_0x2eeae7['words'],_0x8b4984=_0x2eeae7[_0x580502(0x2e9)],_0x42cccf=this[_0x580502(0x10c)],_0xa937de=_0x42cccf*0x4,_0x36845b=_0x8b4984/_0xa937de;_0x4da4a7?_0x36845b=_0x60f162['ceil'](_0x36845b):_0x36845b=_0x60f162[_0x580502(0xac)]((_0x36845b|0x0)-this[_0x580502(0x9e)],0x0);var _0x5c697f=_0x36845b*_0x42cccf,_0x95c101=_0x60f162['min'](_0x5c697f*0x4,_0x8b4984);if(_0x5c697f){for(var _0x5cbc41=0x0;_0x5cbc41<_0x5c697f;_0x5cbc41+=_0x42cccf)this[_0x580502(0x116)](_0x539625,_0x5cbc41);_0xf9273b=_0x539625[_0x580502(0x11c)](0x0,_0x5c697f),_0x2eeae7['sigBytes']-=_0x95c101;}return new _0x212830[(_0x580502(0x78))](_0xf9273b,_0x95c101);},'clone':function(){var _0x281f1a=_0x520131,_0x2ef468=_0x486cca[_0x281f1a(0x10b)][_0x281f1a(0x2d1)](this);return _0x2ef468[_0x281f1a(0xb8)]=this['_data'][_0x281f1a(0x10b)](),_0x2ef468;},'_minBufferSize':0x0});_0x5b7aef['Hasher']=_0x38376c['extend']({'cfg':_0x486cca['extend'](),'init':function(_0x321729){var _0x2d198a=_0x520131;this['cfg']=this[_0x2d198a(0x257)][_0x2d198a(0x281)](_0x321729),this[_0x2d198a(0x199)]();},'reset':function(){var _0x39db74=_0x520131;_0x38376c[_0x39db74(0x199)][_0x39db74(0x2d1)](this),this[_0x39db74(0x1cb)]();},'update':function(_0x4c6c4b){var _0x461172=_0x520131;return this[_0x461172(0x335)](_0x4c6c4b),this[_0x461172(0x2ae)](),this;},'finalize':function(_0x35b419){var _0x56b916=_0x520131;_0x35b419&&this[_0x56b916(0x335)](_0x35b419);var _0xe36cff=this[_0x56b916(0x153)]();return _0xe36cff;},'blockSize':0x10,'_createHelper':function(_0xcaa093){return function(_0x546e73,_0x300b7f){var _0x4ba37d=_0x8d60;return new _0xcaa093[(_0x4ba37d(0x78))](_0x300b7f)[_0x4ba37d(0x2c0)](_0x546e73);};},'_createHmacHelper':function(_0x2a410b){return function(_0x36913c,_0xc4d81c){var _0x120d23=_0x8d60;return new _0x1694d5[(_0x120d23(0x2e7))][(_0x120d23(0x78))](_0x2a410b,_0xc4d81c)['finalize'](_0x36913c);};}});var _0x1694d5=_0xed4f87[_0x520131(0x29d)]={};return _0xed4f87;}(Math);return _0x5ce1df;}));}(Ge)),Ge[_0x4ecb3e(0x2eb)];}var We={'exports':{}},xr=We[_0x56ebe4(0x2eb)],Qt;function wi(){var _0x1048b9=_0x56ebe4;return Qt||(Qt=0x1,function(_0xb1a5c4,_0x3225db){(function(_0xf8f537,_0x51a228){var _0x4d7f89=_0x8d60;_0xb1a5c4[_0x4d7f89(0x2eb)]=_0x51a228(ne());}(xr,function(_0x2ffee9){var _0xfd8410=_0x8d60;return(function(){var _0x4b67f6=_0x8d60,_0xfa9f92=_0x2ffee9,_0xa6b7da=_0xfa9f92[_0x4b67f6(0x2cb)],_0x53e890=_0xa6b7da['WordArray'],_0x4429ec=_0xfa9f92[_0x4b67f6(0x121)];_0x4429ec[_0x4b67f6(0x1c1)]={'stringify':function(_0x4aaaad){var _0x379a9d=_0x4b67f6,_0x5484f4=_0x4aaaad[_0x379a9d(0xb4)],_0x5286f5=_0x4aaaad[_0x379a9d(0x2e9)],_0x1084db=this[_0x379a9d(0x135)];_0x4aaaad[_0x379a9d(0xa6)]();for(var _0xbf0c38=[],_0xba62db=0x0;_0xba62db<_0x5286f5;_0xba62db+=0x3)for(var _0x546ba9=_0x5484f4[_0xba62db>>>0x2]>>>0x18-_0xba62db%0x4*0x8&0xff,_0x18269d=_0x5484f4[_0xba62db+0x1>>>0x2]>>>0x18-(_0xba62db+0x1)%0x4*0x8&0xff,_0x377dfc=_0x5484f4[_0xba62db+0x2>>>0x2]>>>0x18-(_0xba62db+0x2)%0x4*0x8&0xff,_0x33908e=_0x546ba9<<0x10|_0x18269d<<0x8|_0x377dfc,_0x627117=0x0;_0x627117<0x4&&_0xba62db+_0x627117*0.75<_0x5286f5;_0x627117++)_0xbf0c38[_0x379a9d(0xb9)](_0x1084db[_0x379a9d(0x27b)](_0x33908e>>>0x6*(0x3-_0x627117)&0x3f));var _0x12de61=_0x1084db[_0x379a9d(0x27b)](0x40);if(_0x12de61){for(;_0xbf0c38['length']%0x4;)_0xbf0c38[_0x379a9d(0xb9)](_0x12de61);}return _0xbf0c38[_0x379a9d(0x18b)]('');},'parse':function(_0x23dc12){var _0x210cd9=_0x4b67f6,_0x2a750f=_0x23dc12['length'],_0x240963=this['_map'],_0x25d6e9=this[_0x210cd9(0x2da)];if(!_0x25d6e9){_0x25d6e9=this['_reverseMap']=[];for(var _0xba7170=0x0;_0xba7170<_0x240963[_0x210cd9(0x146)];_0xba7170++)_0x25d6e9[_0x240963[_0x210cd9(0x2b3)](_0xba7170)]=_0xba7170;}var _0x461fcf=_0x240963[_0x210cd9(0x27b)](0x40);if(_0x461fcf){var _0xaba78f=_0x23dc12[_0x210cd9(0x29c)](_0x461fcf);_0xaba78f!==-0x1&&(_0x2a750f=_0xaba78f);}return _0x4cc230(_0x23dc12,_0x2a750f,_0x25d6e9);},'_map':_0x4b67f6(0x30a)};function _0x4cc230(_0x2bd1b9,_0x5a4d46,_0x248257){var _0x531830=_0x4b67f6;for(var _0x1938a0=[],_0x44fa55=0x0,_0x32377e=0x0;_0x32377e<_0x5a4d46;_0x32377e++)if(_0x32377e%0x4){var _0x546fac=_0x248257[_0x2bd1b9[_0x531830(0x2b3)](_0x32377e-0x1)]<<_0x32377e%0x4*0x2,_0x88fb75=_0x248257[_0x2bd1b9['charCodeAt'](_0x32377e)]>>>0x6-_0x32377e%0x4*0x2,_0x38b02c=_0x546fac|_0x88fb75;_0x1938a0[_0x44fa55>>>0x2]|=_0x38b02c<<0x18-_0x44fa55%0x4*0x8,_0x44fa55++;}return _0x53e890[_0x531830(0x1b7)](_0x1938a0,_0x44fa55);}}()),_0x2ffee9[_0xfd8410(0x121)][_0xfd8410(0x1c1)];}));}(We)),We[_0x1048b9(0x2eb)];}var Ke={'exports':{}},Lr=Ke['exports'],ei;function Mr(){var _0x313423=_0x56ebe4;return ei||(ei=0x1,function(_0x533db5,_0x11c3d3){(function(_0x516d09,_0x8d952c){var _0x1f243b=_0x8d60;_0x533db5[_0x1f243b(0x2eb)]=_0x8d952c(ne());}(Lr,function(_0x18ec94){var _0x37fdfb=_0x8d60;return function(_0xe6b8e8){var _0x1ee898=_0x8d60,_0x4a175d=_0x18ec94,_0x591e74=_0x4a175d[_0x1ee898(0x2cb)],_0x2f72dc=_0x591e74['WordArray'],_0x1821b6=_0x591e74[_0x1ee898(0x127)],_0x432cbb=_0x4a175d[_0x1ee898(0x29d)],_0x2c1908=[];(function(){var _0x2d61a5=_0x1ee898;for(var _0x51d72d=0x0;_0x51d72d<0x40;_0x51d72d++)_0x2c1908[_0x51d72d]=_0xe6b8e8[_0x2d61a5(0x1e8)](_0xe6b8e8[_0x2d61a5(0x172)](_0x51d72d+0x1))*0x100000000|0x0;}());var _0x12ecd2=_0x432cbb[_0x1ee898(0x80)]=_0x1821b6[_0x1ee898(0x281)]({'_doReset':function(){var _0x558b13=_0x1ee898;this[_0x558b13(0x110)]=new _0x2f72dc[(_0x558b13(0x78))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x13219b,_0x48adb4){var _0xffc191=_0x1ee898;for(var _0x4fa590=0x0;_0x4fa590<0x10;_0x4fa590++){var _0x51e960=_0x48adb4+_0x4fa590,_0x4331ed=_0x13219b[_0x51e960];_0x13219b[_0x51e960]=(_0x4331ed<<0x8|_0x4331ed>>>0x18)&0xff00ff|(_0x4331ed<<0x18|_0x4331ed>>>0x8)&0xff00ff00;}var _0x2a0892=this[_0xffc191(0x110)]['words'],_0x173f9e=_0x13219b[_0x48adb4+0x0],_0x3e6c41=_0x13219b[_0x48adb4+0x1],_0x4081d9=_0x13219b[_0x48adb4+0x2],_0x4201e0=_0x13219b[_0x48adb4+0x3],_0x7787e0=_0x13219b[_0x48adb4+0x4],_0x3fb6ec=_0x13219b[_0x48adb4+0x5],_0x2b2550=_0x13219b[_0x48adb4+0x6],_0x365907=_0x13219b[_0x48adb4+0x7],_0x5a29c5=_0x13219b[_0x48adb4+0x8],_0x279baf=_0x13219b[_0x48adb4+0x9],_0xfa0520=_0x13219b[_0x48adb4+0xa],_0x151956=_0x13219b[_0x48adb4+0xb],_0x3bd3bd=_0x13219b[_0x48adb4+0xc],_0x216fa8=_0x13219b[_0x48adb4+0xd],_0x25e2da=_0x13219b[_0x48adb4+0xe],_0x3aeec8=_0x13219b[_0x48adb4+0xf],_0x44c42b=_0x2a0892[0x0],_0x1a85c3=_0x2a0892[0x1],_0x2daf2f=_0x2a0892[0x2],_0x1129ac=_0x2a0892[0x3];_0x44c42b=_0x5baf31(_0x44c42b,_0x1a85c3,_0x2daf2f,_0x1129ac,_0x173f9e,0x7,_0x2c1908[0x0]),_0x1129ac=_0x5baf31(_0x1129ac,_0x44c42b,_0x1a85c3,_0x2daf2f,_0x3e6c41,0xc,_0x2c1908[0x1]),_0x2daf2f=_0x5baf31(_0x2daf2f,_0x1129ac,_0x44c42b,_0x1a85c3,_0x4081d9,0x11,_0x2c1908[0x2]),_0x1a85c3=_0x5baf31(_0x1a85c3,_0x2daf2f,_0x1129ac,_0x44c42b,_0x4201e0,0x16,_0x2c1908[0x3]),_0x44c42b=_0x5baf31(_0x44c42b,_0x1a85c3,_0x2daf2f,_0x1129ac,_0x7787e0,0x7,_0x2c1908[0x4]),_0x1129ac=_0x5baf31(_0x1129ac,_0x44c42b,_0x1a85c3,_0x2daf2f,_0x3fb6ec,0xc,_0x2c1908[0x5]),_0x2daf2f=_0x5baf31(_0x2daf2f,_0x1129ac,_0x44c42b,_0x1a85c3,_0x2b2550,0x11,_0x2c1908[0x6]),_0x1a85c3=_0x5baf31(_0x1a85c3,_0x2daf2f,_0x1129ac,_0x44c42b,_0x365907,0x16,_0x2c1908[0x7]),_0x44c42b=_0x5baf31(_0x44c42b,_0x1a85c3,_0x2daf2f,_0x1129ac,_0x5a29c5,0x7,_0x2c1908[0x8]),_0x1129ac=_0x5baf31(_0x1129ac,_0x44c42b,_0x1a85c3,_0x2daf2f,_0x279baf,0xc,_0x2c1908[0x9]),_0x2daf2f=_0x5baf31(_0x2daf2f,_0x1129ac,_0x44c42b,_0x1a85c3,_0xfa0520,0x11,_0x2c1908[0xa]),_0x1a85c3=_0x5baf31(_0x1a85c3,_0x2daf2f,_0x1129ac,_0x44c42b,_0x151956,0x16,_0x2c1908[0xb]),_0x44c42b=_0x5baf31(_0x44c42b,_0x1a85c3,_0x2daf2f,_0x1129ac,_0x3bd3bd,0x7,_0x2c1908[0xc]),_0x1129ac=_0x5baf31(_0x1129ac,_0x44c42b,_0x1a85c3,_0x2daf2f,_0x216fa8,0xc,_0x2c1908[0xd]),_0x2daf2f=_0x5baf31(_0x2daf2f,_0x1129ac,_0x44c42b,_0x1a85c3,_0x25e2da,0x11,_0x2c1908[0xe]),_0x1a85c3=_0x5baf31(_0x1a85c3,_0x2daf2f,_0x1129ac,_0x44c42b,_0x3aeec8,0x16,_0x2c1908[0xf]),_0x44c42b=_0x35939f(_0x44c42b,_0x1a85c3,_0x2daf2f,_0x1129ac,_0x3e6c41,0x5,_0x2c1908[0x10]),_0x1129ac=_0x35939f(_0x1129ac,_0x44c42b,_0x1a85c3,_0x2daf2f,_0x2b2550,0x9,_0x2c1908[0x11]),_0x2daf2f=_0x35939f(_0x2daf2f,_0x1129ac,_0x44c42b,_0x1a85c3,_0x151956,0xe,_0x2c1908[0x12]),_0x1a85c3=_0x35939f(_0x1a85c3,_0x2daf2f,_0x1129ac,_0x44c42b,_0x173f9e,0x14,_0x2c1908[0x13]),_0x44c42b=_0x35939f(_0x44c42b,_0x1a85c3,_0x2daf2f,_0x1129ac,_0x3fb6ec,0x5,_0x2c1908[0x14]),_0x1129ac=_0x35939f(_0x1129ac,_0x44c42b,_0x1a85c3,_0x2daf2f,_0xfa0520,0x9,_0x2c1908[0x15]),_0x2daf2f=_0x35939f(_0x2daf2f,_0x1129ac,_0x44c42b,_0x1a85c3,_0x3aeec8,0xe,_0x2c1908[0x16]),_0x1a85c3=_0x35939f(_0x1a85c3,_0x2daf2f,_0x1129ac,_0x44c42b,_0x7787e0,0x14,_0x2c1908[0x17]),_0x44c42b=_0x35939f(_0x44c42b,_0x1a85c3,_0x2daf2f,_0x1129ac,_0x279baf,0x5,_0x2c1908[0x18]),_0x1129ac=_0x35939f(_0x1129ac,_0x44c42b,_0x1a85c3,_0x2daf2f,_0x25e2da,0x9,_0x2c1908[0x19]),_0x2daf2f=_0x35939f(_0x2daf2f,_0x1129ac,_0x44c42b,_0x1a85c3,_0x4201e0,0xe,_0x2c1908[0x1a]),_0x1a85c3=_0x35939f(_0x1a85c3,_0x2daf2f,_0x1129ac,_0x44c42b,_0x5a29c5,0x14,_0x2c1908[0x1b]),_0x44c42b=_0x35939f(_0x44c42b,_0x1a85c3,_0x2daf2f,_0x1129ac,_0x216fa8,0x5,_0x2c1908[0x1c]),_0x1129ac=_0x35939f(_0x1129ac,_0x44c42b,_0x1a85c3,_0x2daf2f,_0x4081d9,0x9,_0x2c1908[0x1d]),_0x2daf2f=_0x35939f(_0x2daf2f,_0x1129ac,_0x44c42b,_0x1a85c3,_0x365907,0xe,_0x2c1908[0x1e]),_0x1a85c3=_0x35939f(_0x1a85c3,_0x2daf2f,_0x1129ac,_0x44c42b,_0x3bd3bd,0x14,_0x2c1908[0x1f]),_0x44c42b=_0x466ddc(_0x44c42b,_0x1a85c3,_0x2daf2f,_0x1129ac,_0x3fb6ec,0x4,_0x2c1908[0x20]),_0x1129ac=_0x466ddc(_0x1129ac,_0x44c42b,_0x1a85c3,_0x2daf2f,_0x5a29c5,0xb,_0x2c1908[0x21]),_0x2daf2f=_0x466ddc(_0x2daf2f,_0x1129ac,_0x44c42b,_0x1a85c3,_0x151956,0x10,_0x2c1908[0x22]),_0x1a85c3=_0x466ddc(_0x1a85c3,_0x2daf2f,_0x1129ac,_0x44c42b,_0x25e2da,0x17,_0x2c1908[0x23]),_0x44c42b=_0x466ddc(_0x44c42b,_0x1a85c3,_0x2daf2f,_0x1129ac,_0x3e6c41,0x4,_0x2c1908[0x24]),_0x1129ac=_0x466ddc(_0x1129ac,_0x44c42b,_0x1a85c3,_0x2daf2f,_0x7787e0,0xb,_0x2c1908[0x25]),_0x2daf2f=_0x466ddc(_0x2daf2f,_0x1129ac,_0x44c42b,_0x1a85c3,_0x365907,0x10,_0x2c1908[0x26]),_0x1a85c3=_0x466ddc(_0x1a85c3,_0x2daf2f,_0x1129ac,_0x44c42b,_0xfa0520,0x17,_0x2c1908[0x27]),_0x44c42b=_0x466ddc(_0x44c42b,_0x1a85c3,_0x2daf2f,_0x1129ac,_0x216fa8,0x4,_0x2c1908[0x28]),_0x1129ac=_0x466ddc(_0x1129ac,_0x44c42b,_0x1a85c3,_0x2daf2f,_0x173f9e,0xb,_0x2c1908[0x29]),_0x2daf2f=_0x466ddc(_0x2daf2f,_0x1129ac,_0x44c42b,_0x1a85c3,_0x4201e0,0x10,_0x2c1908[0x2a]),_0x1a85c3=_0x466ddc(_0x1a85c3,_0x2daf2f,_0x1129ac,_0x44c42b,_0x2b2550,0x17,_0x2c1908[0x2b]),_0x44c42b=_0x466ddc(_0x44c42b,_0x1a85c3,_0x2daf2f,_0x1129ac,_0x279baf,0x4,_0x2c1908[0x2c]),_0x1129ac=_0x466ddc(_0x1129ac,_0x44c42b,_0x1a85c3,_0x2daf2f,_0x3bd3bd,0xb,_0x2c1908[0x2d]),_0x2daf2f=_0x466ddc(_0x2daf2f,_0x1129ac,_0x44c42b,_0x1a85c3,_0x3aeec8,0x10,_0x2c1908[0x2e]),_0x1a85c3=_0x466ddc(_0x1a85c3,_0x2daf2f,_0x1129ac,_0x44c42b,_0x4081d9,0x17,_0x2c1908[0x2f]),_0x44c42b=_0x3cde26(_0x44c42b,_0x1a85c3,_0x2daf2f,_0x1129ac,_0x173f9e,0x6,_0x2c1908[0x30]),_0x1129ac=_0x3cde26(_0x1129ac,_0x44c42b,_0x1a85c3,_0x2daf2f,_0x365907,0xa,_0x2c1908[0x31]),_0x2daf2f=_0x3cde26(_0x2daf2f,_0x1129ac,_0x44c42b,_0x1a85c3,_0x25e2da,0xf,_0x2c1908[0x32]),_0x1a85c3=_0x3cde26(_0x1a85c3,_0x2daf2f,_0x1129ac,_0x44c42b,_0x3fb6ec,0x15,_0x2c1908[0x33]),_0x44c42b=_0x3cde26(_0x44c42b,_0x1a85c3,_0x2daf2f,_0x1129ac,_0x3bd3bd,0x6,_0x2c1908[0x34]),_0x1129ac=_0x3cde26(_0x1129ac,_0x44c42b,_0x1a85c3,_0x2daf2f,_0x4201e0,0xa,_0x2c1908[0x35]),_0x2daf2f=_0x3cde26(_0x2daf2f,_0x1129ac,_0x44c42b,_0x1a85c3,_0xfa0520,0xf,_0x2c1908[0x36]),_0x1a85c3=_0x3cde26(_0x1a85c3,_0x2daf2f,_0x1129ac,_0x44c42b,_0x3e6c41,0x15,_0x2c1908[0x37]),_0x44c42b=_0x3cde26(_0x44c42b,_0x1a85c3,_0x2daf2f,_0x1129ac,_0x5a29c5,0x6,_0x2c1908[0x38]),_0x1129ac=_0x3cde26(_0x1129ac,_0x44c42b,_0x1a85c3,_0x2daf2f,_0x3aeec8,0xa,_0x2c1908[0x39]),_0x2daf2f=_0x3cde26(_0x2daf2f,_0x1129ac,_0x44c42b,_0x1a85c3,_0x2b2550,0xf,_0x2c1908[0x3a]),_0x1a85c3=_0x3cde26(_0x1a85c3,_0x2daf2f,_0x1129ac,_0x44c42b,_0x216fa8,0x15,_0x2c1908[0x3b]),_0x44c42b=_0x3cde26(_0x44c42b,_0x1a85c3,_0x2daf2f,_0x1129ac,_0x7787e0,0x6,_0x2c1908[0x3c]),_0x1129ac=_0x3cde26(_0x1129ac,_0x44c42b,_0x1a85c3,_0x2daf2f,_0x151956,0xa,_0x2c1908[0x3d]),_0x2daf2f=_0x3cde26(_0x2daf2f,_0x1129ac,_0x44c42b,_0x1a85c3,_0x4081d9,0xf,_0x2c1908[0x3e]),_0x1a85c3=_0x3cde26(_0x1a85c3,_0x2daf2f,_0x1129ac,_0x44c42b,_0x279baf,0x15,_0x2c1908[0x3f]),_0x2a0892[0x0]=_0x2a0892[0x0]+_0x44c42b|0x0,_0x2a0892[0x1]=_0x2a0892[0x1]+_0x1a85c3|0x0,_0x2a0892[0x2]=_0x2a0892[0x2]+_0x2daf2f|0x0,_0x2a0892[0x3]=_0x2a0892[0x3]+_0x1129ac|0x0;},'_doFinalize':function(){var _0xf5ed5a=_0x1ee898,_0x57b547=this['_data'],_0x2c77b3=_0x57b547['words'],_0x16f005=this[_0xf5ed5a(0x282)]*0x8,_0x5d502f=_0x57b547[_0xf5ed5a(0x2e9)]*0x8;_0x2c77b3[_0x5d502f>>>0x5]|=0x80<<0x18-_0x5d502f%0x20;var _0x332de5=_0xe6b8e8[_0xf5ed5a(0x158)](_0x16f005/0x100000000),_0xf662c4=_0x16f005;_0x2c77b3[(_0x5d502f+0x40>>>0x9<<0x4)+0xf]=(_0x332de5<<0x8|_0x332de5>>>0x18)&0xff00ff|(_0x332de5<<0x18|_0x332de5>>>0x8)&0xff00ff00,_0x2c77b3[(_0x5d502f+0x40>>>0x9<<0x4)+0xe]=(_0xf662c4<<0x8|_0xf662c4>>>0x18)&0xff00ff|(_0xf662c4<<0x18|_0xf662c4>>>0x8)&0xff00ff00,_0x57b547[_0xf5ed5a(0x2e9)]=(_0x2c77b3[_0xf5ed5a(0x146)]+0x1)*0x4,this[_0xf5ed5a(0x2ae)]();for(var _0x188e5b=this[_0xf5ed5a(0x110)],_0x18ef7d=_0x188e5b[_0xf5ed5a(0xb4)],_0x37ab2b=0x0;_0x37ab2b<0x4;_0x37ab2b++){var _0x16ee74=_0x18ef7d[_0x37ab2b];_0x18ef7d[_0x37ab2b]=(_0x16ee74<<0x8|_0x16ee74>>>0x18)&0xff00ff|(_0x16ee74<<0x18|_0x16ee74>>>0x8)&0xff00ff00;}return _0x188e5b;},'clone':function(){var _0x2d7f3f=_0x1ee898,_0x1d62a7=_0x1821b6[_0x2d7f3f(0x10b)][_0x2d7f3f(0x2d1)](this);return _0x1d62a7[_0x2d7f3f(0x110)]=this[_0x2d7f3f(0x110)][_0x2d7f3f(0x10b)](),_0x1d62a7;}});function _0x5baf31(_0x469d7e,_0x1fabd4,_0x52288,_0x250b9a,_0x806b0f,_0x9c7df7,_0x38175b){var _0x1ca3e0=_0x469d7e+(_0x1fabd4&_0x52288|~_0x1fabd4&_0x250b9a)+_0x806b0f+_0x38175b;return(_0x1ca3e0<<_0x9c7df7|_0x1ca3e0>>>0x20-_0x9c7df7)+_0x1fabd4;}function _0x35939f(_0x3a114a,_0x88c580,_0xb4000a,_0x1dabbf,_0x58b1d5,_0x5ba94d,_0x1c5362){var _0x16bfe7=_0x3a114a+(_0x88c580&_0x1dabbf|_0xb4000a&~_0x1dabbf)+_0x58b1d5+_0x1c5362;return(_0x16bfe7<<_0x5ba94d|_0x16bfe7>>>0x20-_0x5ba94d)+_0x88c580;}function _0x466ddc(_0x51fcd7,_0xa8499c,_0x5c635c,_0x586a81,_0x13943a,_0xec61fa,_0x53d0ba){var _0xbbdbb6=_0x51fcd7+(_0xa8499c^_0x5c635c^_0x586a81)+_0x13943a+_0x53d0ba;return(_0xbbdbb6<<_0xec61fa|_0xbbdbb6>>>0x20-_0xec61fa)+_0xa8499c;}function _0x3cde26(_0xcf83ed,_0x4c91f3,_0xa20d1,_0x240d6c,_0x46e97,_0x3dbb8e,_0x53f258){var _0x34a1fb=_0xcf83ed+(_0xa20d1^(_0x4c91f3|~_0x240d6c))+_0x46e97+_0x53f258;return(_0x34a1fb<<_0x3dbb8e|_0x34a1fb>>>0x20-_0x3dbb8e)+_0x4c91f3;}_0x4a175d[_0x1ee898(0x80)]=_0x1821b6[_0x1ee898(0x339)](_0x12ecd2),_0x4a175d[_0x1ee898(0x2af)]=_0x1821b6[_0x1ee898(0x196)](_0x12ecd2);}(Math),_0x18ec94[_0x37fdfb(0x80)];}));}(Ke)),Ke[_0x313423(0x2eb)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x56ebe4(0x2eb)],ti;function Hr(){var _0x107a9b=_0x56ebe4;return ti||(ti=0x1,function(_0x4a6559,_0x65cca7){(function(_0x215f64,_0x34d5b8){_0x4a6559['exports']=_0x34d5b8(ne());}($r,function(_0x137645){return(function(){var _0x9506c8=_0x8d60,_0x3e6e1e=_0x137645,_0x50a7c6=_0x3e6e1e[_0x9506c8(0x2cb)],_0x2accac=_0x50a7c6[_0x9506c8(0x2f8)],_0xa203ec=_0x50a7c6['Hasher'],_0x2c3be4=_0x3e6e1e[_0x9506c8(0x29d)],_0x262e13=[],_0x4b6d41=_0x2c3be4[_0x9506c8(0x356)]=_0xa203ec['extend']({'_doReset':function(){var _0x46e712=_0x9506c8;this[_0x46e712(0x110)]=new _0x2accac[(_0x46e712(0x78))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3a54c7,_0x33fca5){var _0x44d0d8=_0x9506c8;for(var _0x4de81a=this[_0x44d0d8(0x110)]['words'],_0xbd44dd=_0x4de81a[0x0],_0x468b04=_0x4de81a[0x1],_0x4a5966=_0x4de81a[0x2],_0x47f40a=_0x4de81a[0x3],_0x444b91=_0x4de81a[0x4],_0x38ae3d=0x0;_0x38ae3d<0x50;_0x38ae3d++){if(_0x38ae3d<0x10)_0x262e13[_0x38ae3d]=_0x3a54c7[_0x33fca5+_0x38ae3d]|0x0;else{var _0x596673=_0x262e13[_0x38ae3d-0x3]^_0x262e13[_0x38ae3d-0x8]^_0x262e13[_0x38ae3d-0xe]^_0x262e13[_0x38ae3d-0x10];_0x262e13[_0x38ae3d]=_0x596673<<0x1|_0x596673>>>0x1f;}var _0x571c76=(_0xbd44dd<<0x5|_0xbd44dd>>>0x1b)+_0x444b91+_0x262e13[_0x38ae3d];_0x38ae3d<0x14?_0x571c76+=(_0x468b04&_0x4a5966|~_0x468b04&_0x47f40a)+0x5a827999:_0x38ae3d<0x28?_0x571c76+=(_0x468b04^_0x4a5966^_0x47f40a)+0x6ed9eba1:_0x38ae3d<0x3c?_0x571c76+=(_0x468b04&_0x4a5966|_0x468b04&_0x47f40a|_0x4a5966&_0x47f40a)-0x70e44324:_0x571c76+=(_0x468b04^_0x4a5966^_0x47f40a)-0x359d3e2a,_0x444b91=_0x47f40a,_0x47f40a=_0x4a5966,_0x4a5966=_0x468b04<<0x1e|_0x468b04>>>0x2,_0x468b04=_0xbd44dd,_0xbd44dd=_0x571c76;}_0x4de81a[0x0]=_0x4de81a[0x0]+_0xbd44dd|0x0,_0x4de81a[0x1]=_0x4de81a[0x1]+_0x468b04|0x0,_0x4de81a[0x2]=_0x4de81a[0x2]+_0x4a5966|0x0,_0x4de81a[0x3]=_0x4de81a[0x3]+_0x47f40a|0x0,_0x4de81a[0x4]=_0x4de81a[0x4]+_0x444b91|0x0;},'_doFinalize':function(){var _0x59df91=_0x9506c8,_0x561fb5=this[_0x59df91(0xb8)],_0x351dd7=_0x561fb5[_0x59df91(0xb4)],_0x2dc2bc=this['_nDataBytes']*0x8,_0x25a27f=_0x561fb5[_0x59df91(0x2e9)]*0x8;return _0x351dd7[_0x25a27f>>>0x5]|=0x80<<0x18-_0x25a27f%0x20,_0x351dd7[(_0x25a27f+0x40>>>0x9<<0x4)+0xe]=Math[_0x59df91(0x158)](_0x2dc2bc/0x100000000),_0x351dd7[(_0x25a27f+0x40>>>0x9<<0x4)+0xf]=_0x2dc2bc,_0x561fb5[_0x59df91(0x2e9)]=_0x351dd7[_0x59df91(0x146)]*0x4,this[_0x59df91(0x2ae)](),this[_0x59df91(0x110)];},'clone':function(){var _0x3be807=_0x9506c8,_0x36658c=_0xa203ec[_0x3be807(0x10b)]['call'](this);return _0x36658c[_0x3be807(0x110)]=this['_hash'][_0x3be807(0x10b)](),_0x36658c;}});_0x3e6e1e[_0x9506c8(0x356)]=_0xa203ec[_0x9506c8(0x339)](_0x4b6d41),_0x3e6e1e[_0x9506c8(0x143)]=_0xa203ec[_0x9506c8(0x196)](_0x4b6d41);}()),_0x137645['SHA1'];}));}(qe)),qe[_0x107a9b(0x2eb)];}function _0x7f60(){var _0x1108e6=['subUnitId','_transformStateCache','ERROR_EXCEED_SIZE','_type','_toggleOnline','?url=','error','telemetry\x20info\x20is\x20not\x20initialized','COMPLETION_FINISHED','CHANGESET_SHOULD_RETRY','/block/','state','message$','entries','SOCKET_FAILED_RETRY','LEAVE','_oKey','subscribe','_getCurrentRevision','OTHER_CLIENT_EDITING','_univerInstanceService','\x20in\x20_schedule.','COMMENT_UPDATE','_state$','create','updatePermissionPoint','toggleOnline','_syncEditingCollabCursor','createSocket','_singleActiveUnitService','permissionRejEvent','close','_configService','[OfflineState]:\x20received\x20acknowledgement.','Base64','close$','padding','responseType','COMPRESS_MUTATION_SEND','60586dLoHqK','_socket','onRemoteChangeset','randomUUID','_initDependencies','_doReset','put','reconnect','_transformRemoteChangesetByStateCache','apply','_createInitialStateImpl','_collabSessionService','_getLoginPath','getConfig','Latin1','JOIN_ROOM_FAILED','has','hasher','_httpService','10269930qcGcfI','textRanges','getUnitStatus$','csRejEvent','_retryCount','onCommandExecuted','[CollaborationUndoRedoService]','YUUMI_SUBSCRIPTION_NOT_FOUND','liveShareNewHost','Encryptor','now','searchParams','_emitMembers','_stopTelemetryCollaborationNewChangeset','collaboration-client.config','abs','_onCombEvent','members$','objectID','FileId','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','Pkcs7','UNKNOWN_CMD','getCurrentUser','_scheduleCompleteTimestamp','_exhaustRemoteChangesetQueue','_onRemoteRejected','_initMergeInterceptor','_undoRedoService','_getCtorByUniverType','_applyRemoteChangeset','_roomCreated$','SNAPSHOT_INVALID_SNAPSHOT','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_throwTelemetryCollaborationNewChangeset','change$','sessionStatus','roomInfos','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','enableOfflineEditing','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','originalMeta','key','pad','dispose$','_tryReconnect','INGEST','univer-pro.collaboration-client-socket-service','_commentUpdate$','_getRedoStack','SUBMIT_CHANGESET','_snapshotService','_injector','joinRsp','format','dispose','MSG_FOR_ERROR','find','sheets','_members','getTime','_startCollaboration','addHandlerCallback','_collaborationUIEventService','ERROR_IMAGE','_initRequestHeader','_showConflictNotification','onRemoteAck','SOCKET_FAILED','COLLAB_SUBMIT_CHANGESET_URL','UPDATE_CURSOR','sendChangesetTimeout','actions','joinEvent','_changesetSessionId','range','every','PY_RUNTIME_SCRIPT_ERROR','OTHER_CLIENTS_EDITING','getSheetBlock','_memberService','getWorkbookSelections','encode','sessionTicket','onTransformRemoteChangesetByIMECache','type','onTransformState','routeKey','collaboration-client.local-cache-service','commentUpdateEvent','encodeURIComponent','[SyncedState]:\x20received\x20acknowledgement.','/universer-api/file/{fileID}/sign-url','image/jpg','toString','collaborators','objectType','296631kpjhZL','SYNCED','PasswordBasedCipher','RECV','default','_unitInfo$','SUBMIT_CHANGESET_TIMEOUT','_clearTimeoutTimer','stopTime','unitID','onMissedChangesetFetched','onRemoteRetry','_compressMutationService','_collaborationTimeoutTimer','transformUndoRedo','requireSession','UnitSnapshot','_socketService','/new_changes','createInstance','_keySchedule','substr','editingUnit','fromCharCode','_createSocketURL','_getDownloadEndpointURL','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','socketService','fetchMissingChangesets','cfg','_getSessionTicket','updateMember','_retryConnectingTimer','USERS_ENTER','&source=','getUnitId','LOCAL_CACHE_INTERVAL','stringify','requestParams','CONNECTOR_DATA_TOO_LARGE','[CollaborationSession]','repeat','localeService','_replaceFileID','fetching\x20missing\x20changesets\x20from\x20','?size=','add','awaitingChangeset','getUnitType','transformSelections','string','_startTelemetryCollaborationNewChangeset','mutations','ALREADY_EXISTS','_clearUndo','selections','_transformService','PERSON','then','ticket','toLowerCase','_onRecvEvent','UPDATE_PERMISSION_OBJ','_instanceService','image/gif','charAt','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','EvpKDF','catch','encryptBlock','code','extend','_nDataBytes','m2Prime','_onJoinRoomEvent','function','3332304HqTZKN','open$','\x20to\x20','UNISCRIPT_RUN','_onOffline','_onRemoteACK','[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.','onRemoteRej','Undefined','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','BlockCipherMode','keySize','MUTATION','UNIVER_COLLABORATION_CLIENT_PLUGIN','_removeRoom','createEncryptor','_disableEditing','awaiting_with_pending','uploadFileServerUrl','appendMutation','UnitEmbedded','/universer-api/user/session-ticket','indexOf','algo','hasOwnProperty','enableAuthServer','updateOfflineData','formatter','&assign=','randomBytes','baseRev','getMember','People','online$','UNIVER_PROJECT','LIVESHARE_REQUEST_HOST','APPLY_NON_SEQUENTIAL_REVISION','shouldCloseConn','getOwnPropertyDescriptor','LIVESHARE_OPERATION','_process','HmacMD5','_loadDoc','LIVESHARE_TERMINATE','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','charCodeAt','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_transitionLocked','socket$','append','readyForCollab','ivSize','UNIVER_SLIDE','processBlock','emitEvent','_updateState','csShouldRetryEvent','focused$','finalize','_config','_networkConditionService','PERMISSION_REJ','transformChangesets','onStarting','editing\x20status\x20changed\x20to','getMemberID','compute','NOT_COLLAB','/fetchmissing?from=','lib','collaboratorID','_substituteUndoStack','_rescheduleHeartbeat','_keyPriorReset','filter','call','[PendingState]:\x20received\x20rejection.','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_clearRedo','INVALID_ARGUMENT','[PendingState]:\x20unhandled\x20univer\x20type:\x20','includes','_entities','/object','_reverseMap','APPLY_REVISION_CONFILICT','POST','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','conflict','univer-pro.collaboration-client.single-active-unit-service','_tryEnsureSocket','isArray','/unit/','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','set','closeSession','_createInitialState','HMAC','BlockCipher','sigBytes','slice','exports','location','authzUrl','_doCryptBlock','ceil','_sender','__esModule','downloadEndpointUrl','loadOfflineData','Base','from','BufferedBlockAlgorithm','GLOBAL_ROOMS_CNT_EXCEEDS','WordArray','_sendHeartbeat','_executeRemoteChangeset','[DataLoaderService]','_collaborationPaused','_event$','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','href','auth.needGotoLoginAlert','_getAPIPrefix','changesets','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_sessionStatus$','getRandomValues','rev','registerHTTPInterceptor','putCollaborators','Malformed\x20UTF-8\x20data','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','synced','uniscriptRunEvent','_clearHeartbeatTimer','_iv','_transformSelections','APPLY_DUPLICATED','session.join-failed','disposeWithMe','session.room-cnt-exceeds','unpad','CHANGESET_ACK','setCurrentUser','Cipher','_clearCollaborationTimeoutTimer','_lockTransition','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_handlerCallback','4dQjZdQ','LIVESHARE_NEW_HOST','_sheetTransformSelectionsService','[UniverCollaborationClientPlugin]','getImageSourceCache','__creator','isPermissionRej','getFocusedUnit','/collaborator','kdf','entityInit$','Error\x20on\x20receiving\x20event','forEach','post','getUnit','_getAPIPrefixPath','StreamCipher','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','collaMsg','getValue','HEARTBEAT_INTERVAL','saveImage','fetchMiss','_waitForHeartbeatResponse','execute','_append','reqId','_localeService','submit\x20changeset\x20error!','_createHelper','random','values','getCurrentRevOfUnit','body','onMissingChangesets','file','1051495ZGMMRW','LICENSE_EXPORT_SIZE_EXCEEDED','UNIVER_DOC','capture','_resendTimeout','liveShareOperation','AES','_onUserJoin','_socketReady','_prevBlock','unitInfo$','JOINING','c1Prime','_getSendChangesetTimeout','_telemetryService','asObservable','getCollabEntity','_scheduleCollaborationTimeoutTimer','collabWebSocketUrl','unit-cache-','buffer','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','SHA1','subject','_substituteRedoStack','_commandService','USERS_LEAVE','deepClone','/universer-api/snapshot','batchAllowed','listRoles','_timeoutTimer','socket\x20open.','_updateLocalCache','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','FETCH_MISS','\x0aAfter:\x20','_change$','NO_OTHER_CLIENTS_EDITING','_schedule','INTERNAL_ERROR','/universer-api/comb','collabSubmitChangesetUrl','TOO_MANY_REQUESTS','_hasher','_submitChangeset','localCacheService','_transformStack','JOIN','Univer','_status$','mode','_invKeySchedule','CLOSE_ROOM','JOIN_ROOM_PERMISSION_DENIED','_unitID','init','24XQDZtf','onTransformIME','_listenToNetworkCondition','debug','resourceIDs','interceptor','_fetchMissChangesets','MD5','_sendingTimer','fromCollab','image/bmp','getSheetId','_roomMembers','YUUMI_RATE_OVER_LIMIT','_socketMessageSubscription','loadUnit','workbook','UNIVER_UNKNOWN','userID','event$','351200cXvIYd','AWAITING','unknown','_cipher','AWAITING_WITH_PENDING','SerializableCipher','onSendChangeset','unitId','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','reverse','RETRY_CONNECTING_MAX_COUNT','status','6hPcmlX','_revisionService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_onRemoteChangeset','ENSURE_SNAPSHOT_EXECUTION','_minBufferSize','rng','[CollaborationEntity]','snapshotServerUrl','_incrementRevisionNumber','_imageSourceCache','PENDING','[CollaborationState]:\x20apply\x20error!','clamp','session.room-not-exists','getCollabEntity$','loginUrlKey','params','transformMutationsWithChangeset','max','getSnapshotAPIPath','getImage','_registerDependencies','JOIN_ROOM_NOT_EXISTS','BASE64','onCommentUpdate','createCollaborator','words','COMPRESS_MUTATION_APPLY','_snapshotServerService','map','_data','push','pipe','delete','replace','_xformMode','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','session','prototype','_getUndoStack','getAllMembers','_resendWithTimeout','setShowComponents','LICENSE_MAX_UNITS_EXCEEDED','reject','_telemetryInfo','_shouldReportTelemetry','_entityInit$','CHANGESET_REVISION_CONFILICT','size','Hex','HEARTBEAT','Decryptor','_sessions','PERMISSION_DENIED','onlyLocal','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','saveSheetBlock','[FetchMissState]','addImageSourceCache','decrypt','result','NoPadding','runId','setWaitCount','_awaitingChangeset','_acknowledgedAwaitingChangeset','_parse','_transformIMECache','UNKNOWN_CODE','_state','onTransformRemoteChangesetByStateCache','_onConnectionOpen','_changesetReqId','/object/','_initCloseConn','update','getActiveSheet','LOGIN_URL_KEY','3194508hcYshd','UNDEFINED','_clearScheduledTask','snapshot','awaiting','ONLINE','UNIVER_SHEET','_onConflict','data','initWorkbookPermissionChange','_sendHeartbeatTimer','_onUserLeave','offline','executeCommand','target','get','defineProperty','getInterceptPoints','HELLO','_DEC_XFORM_MODE','$super','_checkMissing','_mode','NEW_CHANGESETS','UNRECOGNIZED','generateRandomId','status$','sessionStatus$','DEFAULT_FILE_NAME','fetch_missing','error$','[CollaborationSessionService]','_nRounds','wsSessionTicketUrl','clone','blockSize','LICENSE_DISTRO_REJECTED','_unlockTransition','connection\x20error','_hash','_userManagerService','_getUploadFileURL','startsWith','CONFLICT','infoRsp','_doProcessBlock','_decreaseWaiting','ciphertext','OFFLINE','list','HttpExport','splice','bind','_remoteChangesetQueue','\x0aCurrent:\x20','_collaborationSessionService','enc','unsubscribe','headers','__Key__','sid','[PendingState]:\x20received\x20acknowledgement.','Hasher','salt','signUrlServerUrl','onSyncEditingCollabCursor','/allowed','concat','_isPermissionRej','YUUMI_UNABLE_LOAD_URL','title','_resendTimer','duration','search','reduce','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_map','mixIn','SEND_CHANGESET_TIMEOUT','cmd','7wknDvD','encrypt','_HTTPService','fetchThroughInterceptors','/-/object/list','_initUnitPermissionChange','msCrypto','findIndex','PSEUDO_FETCH_MISSING_RESULT','eventID','HmacSHA1','socket\x20close','_loadSheet','length','_onConnectionFailed','ERROR_IMAGE_TYPE','failed\x20to\x20apply\x20missed\x20changesets!','_commentService','state$','_redoStacks','getTypeOfUnitDisposed$','FETCH_MISSING','complete','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_waitCount','LICENSE_IMPORT_SIZE_EXCEEDED','_doFinalize','crypto','_createSocket','/-/object/-/batch_allowed','/universer-api/oidc/authpage','floor','removeMember','_queuedRemoteChangesets','_onFetchMissResult','_localCacheService','createDecryptor','getDeserializedSheetBlock','x-univer-host','Utf8','_permissionService','_logService','confirm','toggleOffline','next','_toggleOffline','/universer-api/authz','/universer-api/snapshot/','FAIL','onTransformSelections','_transformUndoredo','memberID','pauseCollaboration','clear','send','/resources','LIVESHARE_FETCH_OPERATIONS','sin','HttpImport','_ENC_XFORM_MODE','objects','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','decryptBlock','YUUMI_URL_COL_OUT_OF_RANGE','_key','saveSnapshot','roles','readAsDataURL','_socket$','resolve','_onLocalMutation','_init','url','[OfflineState]:\x20received\x20rejection.','revision','_handler','avatar','pending','_pendingMutations','resend','getTypeOfUnitAdded$','leaveEvent','join','UNAUTHENTICATED','_transformRemoteChangesetByIMECache','_createHandler','enableSingleActiveInstanceLock','_updateStatus','incrementRevOfUnit','JOIN_ROOM_FULL','name','copyFileMeta','_joinRoom','_createHmacHelper','IDLE','_members$','reset','_getSignURL','hostname','parse','OpenSSL','_candidateSocket'];_0x7f60=function(){return _0x1108e6;};return _0x7f60();}var ze={'exports':{}},kr=ze[_0x56ebe4(0x2eb)],ii;function jr(){return ii||(ii=0x1,function(_0x292179,_0x303c91){(function(_0x3de0dd,_0x27fe15){var _0x2137db=_0x8d60;_0x292179[_0x2137db(0x2eb)]=_0x27fe15(ne());}(kr,function(_0x322b56){(function(){var _0xfaba7c=_0x8d60,_0x2e382a=_0x322b56,_0x5dacfd=_0x2e382a[_0xfaba7c(0x2cb)],_0x52e3b7=_0x5dacfd[_0xfaba7c(0x2f4)],_0x1148f7=_0x2e382a[_0xfaba7c(0x121)],_0x54ddc4=_0x1148f7[_0xfaba7c(0x160)],_0x4f7010=_0x2e382a['algo'];_0x4f7010[_0xfaba7c(0x2e7)]=_0x52e3b7[_0xfaba7c(0x281)]({'init':function(_0x210fd0,_0x3a2594){var _0x218667=_0xfaba7c;_0x210fd0=this['_hasher']=new _0x210fd0['init'](),typeof _0x3a2594==_0x218667(0x26c)&&(_0x3a2594=_0x54ddc4[_0x218667(0x19c)](_0x3a2594));var _0x14114e=_0x210fd0[_0x218667(0x10c)],_0x5f2373=_0x14114e*0x4;_0x3a2594[_0x218667(0x2e9)]>_0x5f2373&&(_0x3a2594=_0x210fd0['finalize'](_0x3a2594)),_0x3a2594[_0x218667(0xa6)]();for(var _0x2d944b=this[_0x218667(0x1af)]=_0x3a2594[_0x218667(0x10b)](),_0x37c52d=this['_iKey']=_0x3a2594[_0x218667(0x10b)](),_0x1feb6d=_0x2d944b[_0x218667(0xb4)],_0x24ffd9=_0x37c52d[_0x218667(0xb4)],_0x27a620=0x0;_0x27a620<_0x14114e;_0x27a620++)_0x1feb6d[_0x27a620]^=0x5c5c5c5c,_0x24ffd9[_0x27a620]^=0x36363636;_0x2d944b['sigBytes']=_0x37c52d['sigBytes']=_0x5f2373,this['reset']();},'reset':function(){var _0x4fb02d=_0xfaba7c,_0x321351=this['_hasher'];_0x321351[_0x4fb02d(0x199)](),_0x321351[_0x4fb02d(0xe6)](this['_iKey']);},'update':function(_0x5097d9){var _0x4ed7fe=_0xfaba7c;return this[_0x4ed7fe(0x6c)][_0x4ed7fe(0xe6)](_0x5097d9),this;},'finalize':function(_0x54afec){var _0x2d8d7e=_0xfaba7c,_0x587481=this['_hasher'],_0x494a54=_0x587481[_0x2d8d7e(0x2c0)](_0x54afec);_0x587481[_0x2d8d7e(0x199)]();var _0x565472=_0x587481[_0x2d8d7e(0x2c0)](this[_0x2d8d7e(0x1af)][_0x2d8d7e(0x10b)]()[_0x2d8d7e(0x12c)](_0x494a54));return _0x565472;}});}());}));}(ze)),ze['exports'];}var Br=Ye[_0x56ebe4(0x2eb)],ni;function Ui(){var _0x2a80ea=_0x56ebe4;return ni||(ni=0x1,function(_0x5da315,_0x8b301c){(function(_0x4ebe9a,_0x1b657c,_0x2b8d39){var _0x2ece17=_0x8d60;_0x5da315[_0x2ece17(0x2eb)]=_0x1b657c(ne(),Hr(),jr());}(Br,function(_0x574218){var _0x113c9d=_0x8d60;return(function(){var _0x1b436d=_0x8d60,_0x510b4e=_0x574218,_0x3b8ea5=_0x510b4e[_0x1b436d(0x2cb)],_0x485101=_0x3b8ea5[_0x1b436d(0x2f4)],_0x3d1716=_0x3b8ea5[_0x1b436d(0x2f8)],_0xdb609f=_0x510b4e[_0x1b436d(0x29d)],_0x586036=_0xdb609f[_0x1b436d(0x80)],_0x1e2578=_0xdb609f[_0x1b436d(0x27d)]=_0x485101[_0x1b436d(0x281)]({'cfg':_0x485101[_0x1b436d(0x281)]({'keySize':0x80/0x20,'hasher':_0x586036,'iterations':0x1}),'init':function(_0x387fe0){var _0x2be662=_0x1b436d;this[_0x2be662(0x257)]=this['cfg']['extend'](_0x387fe0);},'compute':function(_0x53b211,_0x5af16a){var _0x1f3d30=_0x1b436d;for(var _0x57c2b3,_0x49bf8a=this['cfg'],_0x30144e=_0x49bf8a[_0x1f3d30(0x1d7)]['create'](),_0x61c374=_0x3d1716[_0x1f3d30(0x1b7)](),_0x4dd370=_0x61c374[_0x1f3d30(0xb4)],_0x2a1856=_0x49bf8a[_0x1f3d30(0x291)],_0x466e40=_0x49bf8a['iterations'];_0x4dd370[_0x1f3d30(0x146)]<_0x2a1856;){_0x57c2b3&&_0x30144e[_0x1f3d30(0xe6)](_0x57c2b3),_0x57c2b3=_0x30144e['update'](_0x53b211)['finalize'](_0x5af16a),_0x30144e[_0x1f3d30(0x199)]();for(var _0x3efed6=0x1;_0x3efed6<_0x466e40;_0x3efed6++)_0x57c2b3=_0x30144e['finalize'](_0x57c2b3),_0x30144e[_0x1f3d30(0x199)]();_0x61c374[_0x1f3d30(0x12c)](_0x57c2b3);}return _0x61c374[_0x1f3d30(0x2e9)]=_0x2a1856*0x4,_0x61c374;}});_0x510b4e[_0x1b436d(0x27d)]=function(_0xdb2d1a,_0x4b4bfe,_0x440ced){var _0x170322=_0x1b436d;return _0x1e2578[_0x170322(0x1b7)](_0x440ced)[_0x170322(0x2c8)](_0xdb2d1a,_0x4b4bfe);};}()),_0x574218[_0x113c9d(0x27d)];}));}(Ye)),Ye[_0x2a80ea(0x2eb)];}var Je={'exports':{}},Fr=Je[_0x56ebe4(0x2eb)],ri;function Ai(){var _0x50bb2c=_0x56ebe4;return ri||(ri=0x1,function(_0x234fe1,_0x16a63e){(function(_0x543516,_0xa5f7ee,_0x3ecbba){_0x234fe1['exports']=_0xa5f7ee(ne(),Ui());}(Fr,function(_0x3636fb){var _0x25f56a=_0x8d60;_0x3636fb[_0x25f56a(0x2cb)][_0x25f56a(0x317)]||function(_0x3299bb){var _0x3bd0a4=_0x25f56a,_0x44e1a2=_0x3636fb,_0x4e2305=_0x44e1a2[_0x3bd0a4(0x2cb)],_0x20fef6=_0x4e2305[_0x3bd0a4(0x2f4)],_0x22185b=_0x4e2305[_0x3bd0a4(0x2f8)],_0x48ce70=_0x4e2305[_0x3bd0a4(0x2f6)],_0x55f3de=_0x44e1a2[_0x3bd0a4(0x121)];_0x55f3de[_0x3bd0a4(0x160)];var _0x4b8422=_0x55f3de[_0x3bd0a4(0x1c1)],_0x1c3290=_0x44e1a2['algo'],_0x259839=_0x1c3290['EvpKDF'],_0x7d3c19=_0x4e2305['Cipher']=_0x48ce70[_0x3bd0a4(0x281)]({'cfg':_0x20fef6[_0x3bd0a4(0x281)](),'createEncryptor':function(_0x4ab33c,_0x1c7384){var _0x3e8d0e=_0x3bd0a4;return this[_0x3e8d0e(0x1b7)](this[_0x3e8d0e(0x174)],_0x4ab33c,_0x1c7384);},'createDecryptor':function(_0x222425,_0x5d6aff){var _0x566950=_0x3bd0a4;return this[_0x566950(0x1b7)](this[_0x566950(0xfc)],_0x222425,_0x5d6aff);},'init':function(_0x20746e,_0x1f9a18,_0x43b56c){var _0x3101d9=_0x3bd0a4;this[_0x3101d9(0x257)]=this[_0x3101d9(0x257)][_0x3101d9(0x281)](_0x43b56c),this[_0x3101d9(0xbd)]=_0x20746e,this[_0x3101d9(0x179)]=_0x1f9a18,this[_0x3101d9(0x199)]();},'reset':function(){var _0x22facb=_0x3bd0a4;_0x48ce70[_0x22facb(0x199)][_0x22facb(0x2d1)](this),this['_doReset']();},'process':function(_0x2bac9b){var _0x5bbd53=_0x3bd0a4;return this[_0x5bbd53(0x335)](_0x2bac9b),this[_0x5bbd53(0x2ae)]();},'finalize':function(_0x22a7d8){var _0x1c738d=_0x3bd0a4;_0x22a7d8&&this[_0x1c738d(0x335)](_0x22a7d8);var _0x62a7bf=this[_0x1c738d(0x153)]();return _0x62a7bf;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xbc36e7(_0x46dcd4){var _0x17249b=_0x8d60;return typeof _0x46dcd4==_0x17249b(0x26c)?_0x1bc1c5:_0x3da7f9;}return function(_0x23f619){return{'encrypt':function(_0x3a4b5a,_0x39c901,_0x3885c3){var _0x3204f1=_0x8d60;return _0xbc36e7(_0x39c901)[_0x3204f1(0x13a)](_0x23f619,_0x3a4b5a,_0x39c901,_0x3885c3);},'decrypt':function(_0x196e32,_0x5cb82e,_0x5515d0){return _0xbc36e7(_0x5cb82e)['decrypt'](_0x23f619,_0x196e32,_0x5cb82e,_0x5515d0);}};};}())});_0x4e2305[_0x3bd0a4(0x32c)]=_0x7d3c19['extend']({'_doFinalize':function(){var _0x114510=_0x3bd0a4,_0x2761f7=this[_0x114510(0x2ae)](!0x0);return _0x2761f7;},'blockSize':0x1});var _0x2a4e69=_0x44e1a2[_0x3bd0a4(0x73)]={},_0xb1635b=_0x4e2305[_0x3bd0a4(0x290)]=_0x20fef6['extend']({'createEncryptor':function(_0x42066d,_0x12d408){var _0x13d164=_0x3bd0a4;return this['Encryptor'][_0x13d164(0x1b7)](_0x42066d,_0x12d408);},'createDecryptor':function(_0x33d01a,_0x5c82f4){var _0x42640=_0x3bd0a4;return this[_0x42640(0xce)]['create'](_0x33d01a,_0x5c82f4);},'init':function(_0x11f5d3,_0xebdf1e){var _0x1377b3=_0x3bd0a4;this['_cipher']=_0x11f5d3,this[_0x1377b3(0x30e)]=_0xebdf1e;}}),_0x48cf58=_0x2a4e69['CBC']=(function(){var _0x41d405=_0x3bd0a4,_0x1df3e0=_0xb1635b[_0x41d405(0x281)]();_0x1df3e0[_0x41d405(0x1e2)]=_0x1df3e0[_0x41d405(0x281)]({'processBlock':function(_0x25bab9,_0x5dc93a){var _0x17ee6f=_0x41d405,_0x42f976=this[_0x17ee6f(0x90)],_0x5a6a2c=_0x42f976['blockSize'];_0x27a2d6[_0x17ee6f(0x2d1)](this,_0x25bab9,_0x5dc93a,_0x5a6a2c),_0x42f976[_0x17ee6f(0x27f)](_0x25bab9,_0x5dc93a),this['_prevBlock']=_0x25bab9['slice'](_0x5dc93a,_0x5dc93a+_0x5a6a2c);}}),_0x1df3e0['Decryptor']=_0x1df3e0['extend']({'processBlock':function(_0x23abef,_0x5c2573){var _0x4e685d=_0x41d405,_0x23cad5=this[_0x4e685d(0x90)],_0x5be7a6=_0x23cad5[_0x4e685d(0x10c)],_0x3e4e78=_0x23abef[_0x4e685d(0x2ea)](_0x5c2573,_0x5c2573+_0x5be7a6);_0x23cad5[_0x4e685d(0x177)](_0x23abef,_0x5c2573),_0x27a2d6[_0x4e685d(0x2d1)](this,_0x23abef,_0x5c2573,_0x5be7a6),this[_0x4e685d(0x349)]=_0x3e4e78;}});function _0x27a2d6(_0x13e309,_0x18285c,_0x211573){var _0x56ea73=_0x41d405,_0x29463b,_0x117835=this[_0x56ea73(0x30e)];_0x117835?(_0x29463b=_0x117835,this[_0x56ea73(0x30e)]=_0x3299bb):_0x29463b=this[_0x56ea73(0x349)];for(var _0xe74ac5=0x0;_0xe74ac5<_0x211573;_0xe74ac5++)_0x13e309[_0x18285c+_0xe74ac5]^=_0x29463b[_0xe74ac5];}return _0x1df3e0;}()),_0x12df10=_0x44e1a2[_0x3bd0a4(0x204)]={},_0x5a9ddd=_0x12df10[_0x3bd0a4(0x1ee)]={'pad':function(_0x275600,_0x3344d1){var _0x9463df=_0x3bd0a4;for(var _0x1a32d9=_0x3344d1*0x4,_0x1d74af=_0x1a32d9-_0x275600['sigBytes']%_0x1a32d9,_0x133604=_0x1d74af<<0x18|_0x1d74af<<0x10|_0x1d74af<<0x8|_0x1d74af,_0x1238c9=[],_0x28fea2=0x0;_0x28fea2<_0x1d74af;_0x28fea2+=0x4)_0x1238c9['push'](_0x133604);var _0xb67a3a=_0x22185b[_0x9463df(0x1b7)](_0x1238c9,_0x1d74af);_0x275600[_0x9463df(0x12c)](_0xb67a3a);},'unpad':function(_0x69977a){var _0x473ae5=_0x3bd0a4,_0x23eaae=_0x69977a['words'][_0x69977a[_0x473ae5(0x2e9)]-0x1>>>0x2]&0xff;_0x69977a['sigBytes']-=_0x23eaae;}};_0x4e2305[_0x3bd0a4(0x2e8)]=_0x7d3c19[_0x3bd0a4(0x281)]({'cfg':_0x7d3c19[_0x3bd0a4(0x257)][_0x3bd0a4(0x281)]({'mode':_0x48cf58,'padding':_0x5a9ddd}),'reset':function(){var _0x315a59=_0x3bd0a4,_0x4f76c9;_0x7d3c19[_0x315a59(0x199)][_0x315a59(0x2d1)](this);var _0x5a89c4=this[_0x315a59(0x257)],_0x32352f=_0x5a89c4['iv'],_0x159f06=_0x5a89c4[_0x315a59(0x73)];this[_0x315a59(0xbd)]==this['_ENC_XFORM_MODE']?_0x4f76c9=_0x159f06[_0x315a59(0x295)]:(_0x4f76c9=_0x159f06[_0x315a59(0x15d)],this[_0x315a59(0x9e)]=0x1),this[_0x315a59(0xff)]&&this[_0x315a59(0xff)][_0x315a59(0x321)]==_0x4f76c9?this[_0x315a59(0xff)]['init'](this,_0x32352f&&_0x32352f[_0x315a59(0xb4)]):(this[_0x315a59(0xff)]=_0x4f76c9[_0x315a59(0x2d1)](_0x159f06,this,_0x32352f&&_0x32352f['words']),this[_0x315a59(0xff)][_0x315a59(0x321)]=_0x4f76c9);},'_doProcessBlock':function(_0x5c5394,_0x57ff59){var _0x3c40be=_0x3bd0a4;this[_0x3c40be(0xff)][_0x3c40be(0x2bb)](_0x5c5394,_0x57ff59);},'_doFinalize':function(){var _0x3def5=_0x3bd0a4,_0x2706ee,_0x5a12a5=this[_0x3def5(0x257)][_0x3def5(0x1c3)];return this[_0x3def5(0xbd)]==this['_ENC_XFORM_MODE']?(_0x5a12a5[_0x3def5(0x204)](this[_0x3def5(0xb8)],this[_0x3def5(0x10c)]),_0x2706ee=this['_process'](!0x0)):(_0x2706ee=this[_0x3def5(0x2ae)](!0x0),_0x5a12a5[_0x3def5(0x314)](_0x2706ee)),_0x2706ee;},'blockSize':0x80/0x20});var _0xdb892a=_0x4e2305['CipherParams']=_0x20fef6[_0x3bd0a4(0x281)]({'init':function(_0xe83457){var _0x5b1d5d=_0x3bd0a4;this[_0x5b1d5d(0x136)](_0xe83457);},'toString':function(_0xbceb9c){var _0x4da97f=_0x3bd0a4;return(_0xbceb9c||this[_0x4da97f(0x2a1)])[_0x4da97f(0x25f)](this);}}),_0x43f6c2=_0x44e1a2[_0x3bd0a4(0x20f)]={},_0x1a9841=_0x43f6c2[_0x3bd0a4(0x19d)]={'stringify':function(_0x5b5b7d){var _0x32ff77=_0x3bd0a4,_0xaa11a0,_0x59b697=_0x5b5b7d[_0x32ff77(0x118)],_0x2626c6=_0x5b5b7d['salt'];return _0x2626c6?_0xaa11a0=_0x22185b['create']([0x53616c74,0x65645f5f])[_0x32ff77(0x12c)](_0x2626c6)[_0x32ff77(0x12c)](_0x59b697):_0xaa11a0=_0x59b697,_0xaa11a0[_0x32ff77(0x237)](_0x4b8422);},'parse':function(_0x183a47){var _0x42320b=_0x3bd0a4,_0x744bf6,_0x3b5ebb=_0x4b8422['parse'](_0x183a47),_0x315645=_0x3b5ebb[_0x42320b(0xb4)];return _0x315645[0x0]==0x53616c74&&_0x315645[0x1]==0x65645f5f&&(_0x744bf6=_0x22185b[_0x42320b(0x1b7)](_0x315645[_0x42320b(0x2ea)](0x2,0x4)),_0x315645[_0x42320b(0x11c)](0x0,0x4),_0x3b5ebb[_0x42320b(0x2e9)]-=0x10),_0xdb892a[_0x42320b(0x1b7)]({'ciphertext':_0x3b5ebb,'salt':_0x744bf6});}},_0x3da7f9=_0x4e2305[_0x3bd0a4(0x92)]=_0x20fef6[_0x3bd0a4(0x281)]({'cfg':_0x20fef6[_0x3bd0a4(0x281)]({'format':_0x1a9841}),'encrypt':function(_0x3a8472,_0xc4d445,_0x1a0006,_0x2528ee){var _0x2e682b=_0x3bd0a4;_0x2528ee=this[_0x2e682b(0x257)][_0x2e682b(0x281)](_0x2528ee);var _0x1a2df6=_0x3a8472[_0x2e682b(0x295)](_0x1a0006,_0x2528ee),_0x4515a5=_0x1a2df6[_0x2e682b(0x2c0)](_0xc4d445),_0x3112a0=_0x1a2df6[_0x2e682b(0x257)];return _0xdb892a[_0x2e682b(0x1b7)]({'ciphertext':_0x4515a5,'key':_0x1a0006,'iv':_0x3112a0['iv'],'algorithm':_0x3a8472,'mode':_0x3112a0[_0x2e682b(0x73)],'padding':_0x3112a0['padding'],'blockSize':_0x3a8472[_0x2e682b(0x10c)],'formatter':_0x2528ee[_0x2e682b(0x20f)]});},'decrypt':function(_0x1cb204,_0x1120b4,_0x599abe,_0x31b99d){var _0x2327d7=_0x3bd0a4;_0x31b99d=this[_0x2327d7(0x257)]['extend'](_0x31b99d),_0x1120b4=this['_parse'](_0x1120b4,_0x31b99d[_0x2327d7(0x20f)]);var _0x1856c4=_0x1cb204[_0x2327d7(0x15d)](_0x599abe,_0x31b99d)[_0x2327d7(0x2c0)](_0x1120b4[_0x2327d7(0x118)]);return _0x1856c4;},'_parse':function(_0x712b54,_0x257024){return typeof _0x712b54=='string'?_0x257024['parse'](_0x712b54,this):_0x712b54;}}),_0x47323b=_0x44e1a2[_0x3bd0a4(0x325)]={},_0x4a37f6=_0x47323b['OpenSSL']={'execute':function(_0x5c54f0,_0xa358cf,_0x57f430,_0x914601,_0x3945e8){var _0x308abc=_0x3bd0a4;if(_0x914601||(_0x914601=_0x22185b[_0x308abc(0x33a)](0x40/0x8)),_0x3945e8)var _0x573080=_0x259839[_0x308abc(0x1b7)]({'keySize':_0xa358cf+_0x57f430,'hasher':_0x3945e8})[_0x308abc(0x2c8)](_0x5c54f0,_0x914601);else var _0x573080=_0x259839[_0x308abc(0x1b7)]({'keySize':_0xa358cf+_0x57f430})[_0x308abc(0x2c8)](_0x5c54f0,_0x914601);var _0x4577b4=_0x22185b['create'](_0x573080[_0x308abc(0xb4)][_0x308abc(0x2ea)](_0xa358cf),_0x57f430*0x4);return _0x573080[_0x308abc(0x2e9)]=_0xa358cf*0x4,_0xdb892a['create']({'key':_0x573080,'iv':_0x4577b4,'salt':_0x914601});}},_0x1bc1c5=_0x4e2305[_0x3bd0a4(0x23c)]=_0x3da7f9[_0x3bd0a4(0x281)]({'cfg':_0x3da7f9[_0x3bd0a4(0x257)][_0x3bd0a4(0x281)]({'kdf':_0x4a37f6}),'encrypt':function(_0x448b6a,_0x481a20,_0x372c86,_0x5ab2a2){var _0x49a188=_0x3bd0a4;_0x5ab2a2=this[_0x49a188(0x257)][_0x49a188(0x281)](_0x5ab2a2);var _0x30e87f=_0x5ab2a2[_0x49a188(0x325)][_0x49a188(0x334)](_0x372c86,_0x448b6a[_0x49a188(0x291)],_0x448b6a[_0x49a188(0x2b9)],_0x5ab2a2[_0x49a188(0x128)],_0x5ab2a2['hasher']);_0x5ab2a2['iv']=_0x30e87f['iv'];var _0x1a7a61=_0x3da7f9[_0x49a188(0x13a)][_0x49a188(0x2d1)](this,_0x448b6a,_0x481a20,_0x30e87f['key'],_0x5ab2a2);return _0x1a7a61[_0x49a188(0x136)](_0x30e87f),_0x1a7a61;},'decrypt':function(_0x536a9e,_0x12cb5f,_0xa87d74,_0x10cdd6){var _0x55d60c=_0x3bd0a4;_0x10cdd6=this[_0x55d60c(0x257)][_0x55d60c(0x281)](_0x10cdd6),_0x12cb5f=this[_0x55d60c(0xdd)](_0x12cb5f,_0x10cdd6[_0x55d60c(0x20f)]);var _0x1577e8=_0x10cdd6[_0x55d60c(0x325)][_0x55d60c(0x334)](_0xa87d74,_0x536a9e[_0x55d60c(0x291)],_0x536a9e['ivSize'],_0x12cb5f[_0x55d60c(0x128)],_0x10cdd6[_0x55d60c(0x1d7)]);_0x10cdd6['iv']=_0x1577e8['iv'];var _0x81763a=_0x3da7f9[_0x55d60c(0xd6)]['call'](this,_0x536a9e,_0x12cb5f,_0x1577e8[_0x55d60c(0x203)],_0x10cdd6);return _0x81763a;}});}();}));}(Je)),Je[_0x50bb2c(0x2eb)];}var Vr=Ve[_0x56ebe4(0x2eb)],si;function Gr(){var _0x36c576=_0x56ebe4;return si||(si=0x1,function(_0x3ccf80,_0x5e7430){(function(_0x315a87,_0x128b7e,_0x341062){var _0x131b32=_0x8d60;_0x3ccf80[_0x131b32(0x2eb)]=_0x128b7e(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x4bcb3d){var _0x4d6171=_0x8d60;return(function(){var _0x18d823=_0x8d60,_0x2ec888=_0x4bcb3d,_0x2b6a57=_0x2ec888[_0x18d823(0x2cb)],_0x530a99=_0x2b6a57[_0x18d823(0x2e8)],_0x9c9aa8=_0x2ec888[_0x18d823(0x29d)],_0x5a0f1e=[],_0x95bcd6=[],_0x42d184=[],_0x47b51c=[],_0x384a4e=[],_0x2a4166=[],_0x236f7c=[],_0x2db4bb=[],_0x2adfc0=[],_0x57e53a=[];(function(){for(var _0x576e6e=[],_0x41bbfc=0x0;_0x41bbfc<0x100;_0x41bbfc++)_0x41bbfc<0x80?_0x576e6e[_0x41bbfc]=_0x41bbfc<<0x1:_0x576e6e[_0x41bbfc]=_0x41bbfc<<0x1^0x11b;for(var _0x2b2527=0x0,_0x31d29f=0x0,_0x41bbfc=0x0;_0x41bbfc<0x100;_0x41bbfc++){var _0x4c65b9=_0x31d29f^_0x31d29f<<0x1^_0x31d29f<<0x2^_0x31d29f<<0x3^_0x31d29f<<0x4;_0x4c65b9=_0x4c65b9>>>0x8^_0x4c65b9&0xff^0x63,_0x5a0f1e[_0x2b2527]=_0x4c65b9,_0x95bcd6[_0x4c65b9]=_0x2b2527;var _0x1147f3=_0x576e6e[_0x2b2527],_0x3640c9=_0x576e6e[_0x1147f3],_0x29813e=_0x576e6e[_0x3640c9],_0x1dcbeb=_0x576e6e[_0x4c65b9]*0x101^_0x4c65b9*0x1010100;_0x42d184[_0x2b2527]=_0x1dcbeb<<0x18|_0x1dcbeb>>>0x8,_0x47b51c[_0x2b2527]=_0x1dcbeb<<0x10|_0x1dcbeb>>>0x10,_0x384a4e[_0x2b2527]=_0x1dcbeb<<0x8|_0x1dcbeb>>>0x18,_0x2a4166[_0x2b2527]=_0x1dcbeb;var _0x1dcbeb=_0x29813e*0x1010101^_0x3640c9*0x10001^_0x1147f3*0x101^_0x2b2527*0x1010100;_0x236f7c[_0x4c65b9]=_0x1dcbeb<<0x18|_0x1dcbeb>>>0x8,_0x2db4bb[_0x4c65b9]=_0x1dcbeb<<0x10|_0x1dcbeb>>>0x10,_0x2adfc0[_0x4c65b9]=_0x1dcbeb<<0x8|_0x1dcbeb>>>0x18,_0x57e53a[_0x4c65b9]=_0x1dcbeb,_0x2b2527?(_0x2b2527=_0x1147f3^_0x576e6e[_0x576e6e[_0x576e6e[_0x29813e^_0x1147f3]]],_0x31d29f^=_0x576e6e[_0x576e6e[_0x31d29f]]):_0x2b2527=_0x31d29f=0x1;}}());var _0x52bdb6=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x52037d=_0x9c9aa8[_0x18d823(0x346)]=_0x530a99[_0x18d823(0x281)]({'_doReset':function(){var _0x5558ac=_0x18d823,_0x8606f7;if(!(this[_0x5558ac(0x109)]&&this[_0x5558ac(0x2cf)]===this[_0x5558ac(0x179)])){for(var _0x4d84b6=this['_keyPriorReset']=this[_0x5558ac(0x179)],_0x84bfea=_0x4d84b6[_0x5558ac(0xb4)],_0x2cf748=_0x4d84b6[_0x5558ac(0x2e9)]/0x4,_0xcf693a=this[_0x5558ac(0x109)]=_0x2cf748+0x6,_0x1a9e6c=(_0xcf693a+0x1)*0x4,_0x24a53e=this[_0x5558ac(0x24e)]=[],_0x3a3172=0x0;_0x3a3172<_0x1a9e6c;_0x3a3172++)_0x3a3172<_0x2cf748?_0x24a53e[_0x3a3172]=_0x84bfea[_0x3a3172]:(_0x8606f7=_0x24a53e[_0x3a3172-0x1],_0x3a3172%_0x2cf748?_0x2cf748>0x6&&_0x3a3172%_0x2cf748==0x4&&(_0x8606f7=_0x5a0f1e[_0x8606f7>>>0x18]<<0x18|_0x5a0f1e[_0x8606f7>>>0x10&0xff]<<0x10|_0x5a0f1e[_0x8606f7>>>0x8&0xff]<<0x8|_0x5a0f1e[_0x8606f7&0xff]):(_0x8606f7=_0x8606f7<<0x8|_0x8606f7>>>0x18,_0x8606f7=_0x5a0f1e[_0x8606f7>>>0x18]<<0x18|_0x5a0f1e[_0x8606f7>>>0x10&0xff]<<0x10|_0x5a0f1e[_0x8606f7>>>0x8&0xff]<<0x8|_0x5a0f1e[_0x8606f7&0xff],_0x8606f7^=_0x52bdb6[_0x3a3172/_0x2cf748|0x0]<<0x18),_0x24a53e[_0x3a3172]=_0x24a53e[_0x3a3172-_0x2cf748]^_0x8606f7);for(var _0x444be5=this[_0x5558ac(0x74)]=[],_0x48f62a=0x0;_0x48f62a<_0x1a9e6c;_0x48f62a++){var _0x3a3172=_0x1a9e6c-_0x48f62a;if(_0x48f62a%0x4)var _0x8606f7=_0x24a53e[_0x3a3172];else var _0x8606f7=_0x24a53e[_0x3a3172-0x4];_0x48f62a<0x4||_0x3a3172<=0x4?_0x444be5[_0x48f62a]=_0x8606f7:_0x444be5[_0x48f62a]=_0x236f7c[_0x5a0f1e[_0x8606f7>>>0x18]]^_0x2db4bb[_0x5a0f1e[_0x8606f7>>>0x10&0xff]]^_0x2adfc0[_0x5a0f1e[_0x8606f7>>>0x8&0xff]]^_0x57e53a[_0x5a0f1e[_0x8606f7&0xff]];}}},'encryptBlock':function(_0x3050f8,_0x234673){var _0x21a9a8=_0x18d823;this['_doCryptBlock'](_0x3050f8,_0x234673,this[_0x21a9a8(0x24e)],_0x42d184,_0x47b51c,_0x384a4e,_0x2a4166,_0x5a0f1e);},'decryptBlock':function(_0x24ce96,_0x19e4d2){var _0x3debb6=_0x18d823,_0x543199=_0x24ce96[_0x19e4d2+0x1];_0x24ce96[_0x19e4d2+0x1]=_0x24ce96[_0x19e4d2+0x3],_0x24ce96[_0x19e4d2+0x3]=_0x543199,this[_0x3debb6(0x2ee)](_0x24ce96,_0x19e4d2,this[_0x3debb6(0x74)],_0x236f7c,_0x2db4bb,_0x2adfc0,_0x57e53a,_0x95bcd6);var _0x543199=_0x24ce96[_0x19e4d2+0x1];_0x24ce96[_0x19e4d2+0x1]=_0x24ce96[_0x19e4d2+0x3],_0x24ce96[_0x19e4d2+0x3]=_0x543199;},'_doCryptBlock':function(_0x41d0c9,_0x48072b,_0x2a941e,_0x55d1d5,_0x330e5a,_0x4185d2,_0x24b9fd,_0x41ea20){var _0x3a6275=_0x18d823;for(var _0x3b7b4a=this[_0x3a6275(0x109)],_0x1ae984=_0x41d0c9[_0x48072b]^_0x2a941e[0x0],_0x3adc29=_0x41d0c9[_0x48072b+0x1]^_0x2a941e[0x1],_0x13b9f3=_0x41d0c9[_0x48072b+0x2]^_0x2a941e[0x2],_0x557954=_0x41d0c9[_0x48072b+0x3]^_0x2a941e[0x3],_0x5cc2b6=0x4,_0x555913=0x1;_0x555913<_0x3b7b4a;_0x555913++){var _0x3d457f=_0x55d1d5[_0x1ae984>>>0x18]^_0x330e5a[_0x3adc29>>>0x10&0xff]^_0x4185d2[_0x13b9f3>>>0x8&0xff]^_0x24b9fd[_0x557954&0xff]^_0x2a941e[_0x5cc2b6++],_0x5891ce=_0x55d1d5[_0x3adc29>>>0x18]^_0x330e5a[_0x13b9f3>>>0x10&0xff]^_0x4185d2[_0x557954>>>0x8&0xff]^_0x24b9fd[_0x1ae984&0xff]^_0x2a941e[_0x5cc2b6++],_0x5d7394=_0x55d1d5[_0x13b9f3>>>0x18]^_0x330e5a[_0x557954>>>0x10&0xff]^_0x4185d2[_0x1ae984>>>0x8&0xff]^_0x24b9fd[_0x3adc29&0xff]^_0x2a941e[_0x5cc2b6++],_0x298d7c=_0x55d1d5[_0x557954>>>0x18]^_0x330e5a[_0x1ae984>>>0x10&0xff]^_0x4185d2[_0x3adc29>>>0x8&0xff]^_0x24b9fd[_0x13b9f3&0xff]^_0x2a941e[_0x5cc2b6++];_0x1ae984=_0x3d457f,_0x3adc29=_0x5891ce,_0x13b9f3=_0x5d7394,_0x557954=_0x298d7c;}var _0x3d457f=(_0x41ea20[_0x1ae984>>>0x18]<<0x18|_0x41ea20[_0x3adc29>>>0x10&0xff]<<0x10|_0x41ea20[_0x13b9f3>>>0x8&0xff]<<0x8|_0x41ea20[_0x557954&0xff])^_0x2a941e[_0x5cc2b6++],_0x5891ce=(_0x41ea20[_0x3adc29>>>0x18]<<0x18|_0x41ea20[_0x13b9f3>>>0x10&0xff]<<0x10|_0x41ea20[_0x557954>>>0x8&0xff]<<0x8|_0x41ea20[_0x1ae984&0xff])^_0x2a941e[_0x5cc2b6++],_0x5d7394=(_0x41ea20[_0x13b9f3>>>0x18]<<0x18|_0x41ea20[_0x557954>>>0x10&0xff]<<0x10|_0x41ea20[_0x1ae984>>>0x8&0xff]<<0x8|_0x41ea20[_0x3adc29&0xff])^_0x2a941e[_0x5cc2b6++],_0x298d7c=(_0x41ea20[_0x557954>>>0x18]<<0x18|_0x41ea20[_0x1ae984>>>0x10&0xff]<<0x10|_0x41ea20[_0x3adc29>>>0x8&0xff]<<0x8|_0x41ea20[_0x13b9f3&0xff])^_0x2a941e[_0x5cc2b6++];_0x41d0c9[_0x48072b]=_0x3d457f,_0x41d0c9[_0x48072b+0x1]=_0x5891ce,_0x41d0c9[_0x48072b+0x2]=_0x5d7394,_0x41d0c9[_0x48072b+0x3]=_0x298d7c;},'keySize':0x100/0x20});_0x2ec888[_0x18d823(0x346)]=_0x530a99[_0x18d823(0x339)](_0x52037d);}()),_0x4bcb3d[_0x4d6171(0x346)];}));}(Ve)),Ve[_0x36c576(0x2eb)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x56ebe4(0x2eb)],ai;function zr(){var _0x3fe120=_0x56ebe4;return ai||(ai=0x1,function(_0x367647,_0x62e680){(function(_0x5a0444,_0x21d4d6){var _0x480aff=_0x8d60;_0x367647[_0x480aff(0x2eb)]=_0x21d4d6(ne());}(qr,function(_0x168e61){var _0x304c1d=_0x8d60;return _0x168e61[_0x304c1d(0x121)][_0x304c1d(0x160)];}));}(Xe)),Xe[_0x3fe120(0x2eb)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x56ebe4(0x2eb)],ci;function Qr(){return ci||(ci=0x1,function(_0x30adf4,_0x1a6217){(function(_0x257264,_0x1cf128){var _0x3e5f6f=_0x8d60;_0x30adf4[_0x3e5f6f(0x2eb)]=_0x1cf128(ne());}(Zr,function(_0x307f95){var _0x348109=_0x8d60;return(function(){var _0x2790ee=_0x8d60;if(typeof ArrayBuffer=='function'){var _0x340f95=_0x307f95,_0x129f92=_0x340f95['lib'],_0x3b3b30=_0x129f92[_0x2790ee(0x2f8)],_0x10c5b6=_0x3b3b30[_0x2790ee(0x78)],_0x1c3f17=_0x3b3b30[_0x2790ee(0x78)]=function(_0x1f1932){var _0x59adc9=_0x2790ee;if(_0x1f1932 instanceof ArrayBuffer&&(_0x1f1932=new Uint8Array(_0x1f1932)),(_0x1f1932 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1f1932 instanceof Uint8ClampedArray||_0x1f1932 instanceof Int16Array||_0x1f1932 instanceof Uint16Array||_0x1f1932 instanceof Int32Array||_0x1f1932 instanceof Uint32Array||_0x1f1932 instanceof Float32Array||_0x1f1932 instanceof Float64Array)&&(_0x1f1932=new Uint8Array(_0x1f1932[_0x59adc9(0x354)],_0x1f1932['byteOffset'],_0x1f1932['byteLength'])),_0x1f1932 instanceof Uint8Array){for(var _0x31f071=_0x1f1932['byteLength'],_0x53df1d=[],_0x482a91=0x0;_0x482a91<_0x31f071;_0x482a91++)_0x53df1d[_0x482a91>>>0x2]|=_0x1f1932[_0x482a91]<<0x18-_0x482a91%0x4*0x8;_0x10c5b6[_0x59adc9(0x2d1)](this,_0x53df1d,_0x31f071);}else _0x10c5b6[_0x59adc9(0x1cf)](this,arguments);};_0x1c3f17['prototype']=_0x3b3b30;}}()),_0x307f95[_0x348109(0x2cb)][_0x348109(0x2f8)];}));}(Ze)),Ze['exports'];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x56ebe4(0x2eb)],hi;function ns(){return hi||(hi=0x1,function(_0x3c5779,_0x464d98){(function(_0x27aa67,_0x220092,_0x152b5d){var _0x1e80a6=_0x8d60;_0x3c5779[_0x1e80a6(0x2eb)]=_0x220092(ne(),Ai());}(is,function(_0x55a48e){var _0x1f2e82=_0x8d60;return _0x55a48e['pad'][_0x1f2e82(0xd8)]={'pad':function(){},'unpad':function(){}},_0x55a48e[_0x1f2e82(0x204)][_0x1f2e82(0xd8)];}));}(Qe)),Qe['exports'];}var rs=ns();const ss=ke(rs);function os(_0x48d388,_0x3bea07){var _0x208857=_0x56ebe4;const _0x52149e=_0x3bea07-_0x48d388[_0x208857(0x146)]%_0x3bea07,_0xa508bd=String[_0x208857(0x251)](_0x52149e)[_0x208857(0x263)](_0x52149e);return _0x48d388+_0xa508bd;}function as(_0x3ab7a2,_0x7c2b32){var _0x35fdea=_0x56ebe4;const _0x274be8=ts['random'](0x10),_0x2783e6=os(_0x3ab7a2,0x10),_0x2c4cd1=Kr[_0x35fdea(0x13a)](Xr[_0x35fdea(0x19c)](_0x2783e6),oi[_0x35fdea(0x19c)](_0x7c2b32),{'iv':_0x274be8,'padding':ss});return _0x274be8[_0x35fdea(0x12c)](_0x2c4cd1[_0x35fdea(0x118)])[_0x35fdea(0x237)](oi);}function cs(){var _0x1dcd4c=_0x56ebe4;const _0x3f8e17=_0x293a42()[_0x1dcd4c(0x124)];if(_0x3f8e17){const _0x2d8077={'time':Math['floor'](Date[_0x1dcd4c(0x1e3)]()/0x3e8),'domain':location[_0x1dcd4c(0x19b)]};return as(JSON[_0x1dcd4c(0x25f)](_0x2d8077),_0x3f8e17);}}var hs=Object['defineProperty'],_s=Object[_0x56ebe4(0x2ac)],ls=(_0x426a7c,_0x204bfe,_0x1ba059,_0x402fac)=>{var _0xba6049=_0x56ebe4;for(var _0x129e10=_0x402fac>0x1?void 0x0:_0x402fac?_s(_0x204bfe,_0x1ba059):_0x204bfe,_0x4e1de8=_0x426a7c[_0xba6049(0x146)]-0x1,_0x3fea97;_0x4e1de8>=0x0;_0x4e1de8--)(_0x3fea97=_0x426a7c[_0x4e1de8])&&(_0x129e10=(_0x402fac?_0x3fea97(_0x204bfe,_0x1ba059,_0x129e10):_0x3fea97(_0x129e10))||_0x129e10);return _0x402fac&&_0x129e10&&hs(_0x204bfe,_0x1ba059,_0x129e10),_0x129e10;},us=(_0x31b521,_0x116816)=>(_0x55c0dc,_0x403d63)=>_0x116816(_0x55c0dc,_0x403d63,_0x31b521);let ot=class{constructor(_0x30a811){var _0xcd31c7=_0x56ebe4;this[_0xcd31c7(0x1d8)]=_0x30a811,this['_initRequestHeader']();}[_0x56ebe4(0x21a)](){var _0x277ae4=_0x56ebe4;this[_0x277ae4(0x1d8)][_0x277ae4(0x307)]({'interceptor':(_0x473169,_0x3ee858)=>{var _0xdca881=_0x277ae4;const _0x21e86f=_0x473169[_0xdca881(0x123)],_0xc10a6f=cs();return _0xc10a6f&&_0x21e86f[_0xdca881(0x2e4)](_0xdca881(0x15f),_0xc10a6f),_0x3ee858(_0x473169);}});}};ot=ls([us(0x0,_0x10a372(_0x27ab0a))],ot);var ds=Object[_0x56ebe4(0xf9)],fs=Object[_0x56ebe4(0x2ac)],vs=(_0x35112d,_0x4b09ae,_0x54e3c6,_0x15db8c)=>{for(var _0x214441=_0x15db8c>0x1?void 0x0:_0x15db8c?fs(_0x4b09ae,_0x54e3c6):_0x4b09ae,_0x363b19=_0x35112d['length']-0x1,_0x4e36e7;_0x363b19>=0x0;_0x363b19--)(_0x4e36e7=_0x35112d[_0x363b19])&&(_0x214441=(_0x15db8c?_0x4e36e7(_0x4b09ae,_0x54e3c6,_0x214441):_0x4e36e7(_0x214441))||_0x214441);return _0x15db8c&&_0x214441&&ds(_0x4b09ae,_0x54e3c6,_0x214441),_0x214441;},mt=(_0xeeb82,_0x309a37)=>(_0xaba84c,_0xb218ce)=>_0x309a37(_0xaba84c,_0xb218ce,_0xeeb82);let Ot=class extends _0x28b5a4{constructor(_0x19a17e,_0x114a47,_0x2a7888){var _0x5900c8=_0x56ebe4;super(),N(this,_0x5900c8(0x23f),new _0x486f67(null)),N(this,_0x5900c8(0x34a),this['_unitInfo$'][_0x5900c8(0x34f)]()),(this[_0x5900c8(0x162)]=_0x19a17e,this[_0x5900c8(0x20c)]=_0x114a47,this['_localCacheService']=_0x2a7888);}async[_0x56ebe4(0x88)](_0x3d0da5,_0x987e6c,_0x3590ac){var _0x293cc5=_0x56ebe4;this[_0x293cc5(0x23f)][_0x293cc5(0x165)]({'unitId':_0x3d0da5,'type':_0x987e6c,'subUnitId':_0x3590ac});let _0x5cf696=null;switch(_0x987e6c){case Q['UNIVER_SHEET']:{_0x5cf696=await this['_loadSheet'](_0x3d0da5);break;}case Q['UNIVER_DOC']:{_0x5cf696=await this[_0x293cc5(0x2b0)](_0x3d0da5);break;}default:{this[_0x293cc5(0x162)][_0x293cc5(0x1a5)](_0x293cc5(0x2fb),_0x293cc5(0xbe));break;}}return _0x5cf696;}async[_0x56ebe4(0x145)](_0x2b2385){var _0x357972=_0x56ebe4,_0xd620cf;let _0x5e431e=0x0;const _0x2f9109=await((_0xd620cf=this[_0x357972(0x15c)])==null?void 0x0:_0xd620cf['loadOfflineData'](_0x2b2385));return _0x2f9109&&(_0x2f9109[_0x357972(0x269)]||_0x2f9109['mutations'][_0x357972(0x146)]!==0x0)&&(_0x5e431e=_0x2f9109['rev']),_0x5e431e===0x0&&this['_logService'][_0x357972(0x7c)](_0x357972(0x2fb),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x357972(0x20c)]['loadSheet'](_0x2b2385,_0x5e431e);}async['_loadDoc'](_0x4f829d){var _0x330a02=_0x56ebe4,_0x5149cd;let _0x299265=0x0;const _0x187981=await((_0x5149cd=this[_0x330a02(0x15c)])==null?void 0x0:_0x5149cd[_0x330a02(0x2f3)](_0x4f829d));return _0x187981&&(_0x187981['awaitingChangeset']||_0x187981[_0x330a02(0x26e)][_0x330a02(0x146)]!==0x0)&&(_0x299265=_0x187981[_0x330a02(0x306)]),_0x299265===0x0&&this[_0x330a02(0x162)][_0x330a02(0x7c)]('[DataLoaderService]',_0x330a02(0x362)),this['_snapshotService']['loadDoc'](_0x4f829d,_0x299265);}};Ot=vs([mt(0x0,_0x2eb8c5),mt(0x1,_0x10a372(_0x488872)),mt(0x2,_0x5893d5(J))],Ot);var ps=Object[_0x56ebe4(0xf9)],ms=Object['getOwnPropertyDescriptor'],gs=(_0x579717,_0x4f90b5,_0x12e0df,_0x47ae01)=>{var _0x16685d=_0x56ebe4;for(var _0x2f8d71=_0x47ae01>0x1?void 0x0:_0x47ae01?ms(_0x4f90b5,_0x12e0df):_0x4f90b5,_0x5b84c2=_0x579717[_0x16685d(0x146)]-0x1,_0x2f4476;_0x5b84c2>=0x0;_0x5b84c2--)(_0x2f4476=_0x579717[_0x5b84c2])&&(_0x2f8d71=(_0x47ae01?_0x2f4476(_0x4f90b5,_0x12e0df,_0x2f8d71):_0x2f4476(_0x2f8d71))||_0x2f8d71);return _0x47ae01&&_0x2f8d71&&ps(_0x4f90b5,_0x12e0df,_0x2f8d71),_0x2f8d71;},gt=(_0x21ac70,_0x22e186)=>(_0x52f321,_0x2e70e8)=>_0x22e186(_0x52f321,_0x2e70e8,_0x21ac70);const Ss=['image/png','image/jpeg',_0x56ebe4(0x236),_0x56ebe4(0x27a),_0x56ebe4(0x83)],Es=0x5*0x400*0x400,Is=_0x56ebe4(0xd2),Ts='/universer-api/stream/file/upload',Cs='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Rs=_0x56ebe4(0x235);let yt=class{constructor(_0x1301d8,_0xaf3d8e,_0x5c3e44){var _0x3bc100=_0x56ebe4;N(this,_0x3bc100(0x151),0x0),N(this,_0x3bc100(0x365),new _0x204182()),N(this,_0x3bc100(0x1fc),this[_0x3bc100(0x365)]),N(this,_0x3bc100(0xa3),new Map()),(this[_0x3bc100(0x1d8)]=_0x1301d8,this[_0x3bc100(0x1bf)]=_0xaf3d8e,this[_0x3bc100(0x1b3)]=_0x5c3e44);}[_0x56ebe4(0xda)](_0x238fa1){var _0x171990=_0x56ebe4;this[_0x171990(0x151)]=_0x238fa1,this['_change$'][_0x171990(0x165)](_0x238fa1);}[_0x56ebe4(0x320)](_0x31de26,_0x440720){var _0x5d99fb=_0x56ebe4;if(_0x440720===_0x12f73f[_0x5d99fb(0xb1)]){const _0x4e986b=new Image();return _0x4e986b['src']=_0x31de26,_0x4e986b;}return this[_0x5d99fb(0xa3)][_0x5d99fb(0xf8)](_0x31de26);}[_0x56ebe4(0xd5)](_0x3a33db,_0x15f078,_0x17ae3f){var _0xeb674=_0x56ebe4;_0x15f078===_0x12f73f['BASE64']||_0x17ae3f==null||this[_0xeb674(0xa3)][_0xeb674(0x2e4)](_0x3a33db,_0x17ae3f);}async[_0x56ebe4(0xae)](_0x36a5cf){var _0x580e99=_0x56ebe4;try{const _0x40f721=this[_0x580e99(0x265)](this[_0x580e99(0x19a)](),''+_0x36a5cf),_0xefe531=(await this[_0x580e99(0x1d8)][_0x580e99(0xf8)](_0x40f721))[_0x580e99(0x33d)];if(_0xefe531[_0x580e99(0x1a5)]&&_0xefe531[_0x580e99(0x1a5)]['code']===Ii['OK']){const _0x57b4cc=new URL(_0xefe531[_0x580e99(0x181)],this[_0x580e99(0x253)]())[_0x580e99(0x237)]();return Promise[_0x580e99(0x17e)](_0x57b4cc);}return Promise[_0x580e99(0xc6)](_0xefe531[_0x580e99(0x1a5)]);}catch(_0x330e86){return Promise[_0x580e99(0xc6)](_0x330e86);}}async[_0x56ebe4(0x331)](_0x3cb5f6){var _0x538e94=_0x56ebe4;let _0xdfb0b3='';if(!Ss[_0x538e94(0x2d7)](_0x3cb5f6[_0x538e94(0x22e)]))return this[_0x538e94(0x117)](),Promise[_0x538e94(0xc6)](new Error(_0x4ed268[_0x538e94(0x148)]));if(_0x3cb5f6[_0x538e94(0xcb)]>Es)return this[_0x538e94(0x117)](),Promise['reject'](new Error(_0x4ed268[_0x538e94(0x1a1)]));try{const _0x293a12=new FormData();_0x293a12[_0x538e94(0x2b7)](_0x538e94(0x33f),_0x3cb5f6);const _0x2419c0=this[_0x538e94(0x1b3)]['getFocusedUnit'](),_0x33fc71=_0x2419c0==null?void 0x0:_0x2419c0[_0x538e94(0x25d)]();if(!_0x33fc71)throw new Error('unitId\x20is\x20not\x20found');const _0x504d6a=this[_0x538e94(0x112)]()+_0x538e94(0x267)+_0x3cb5f6[_0x538e94(0xcb)]['toString']()+_0x538e94(0x25c)+Ti[_0x538e94(0x29a)]+_0x538e94(0x2a2)+encodeURIComponent(_0x33fc71),_0x2dfe3e=await(await fetch(_0x504d6a,{'method':'POST','body':_0x293a12}))['json']();if(typeof _0x2dfe3e[_0x538e94(0x1ec)]!=_0x538e94(0x26c))return this[_0x538e94(0x117)](),Promise['reject'](new Error(_0x4ed268[_0x538e94(0x219)]));_0xdfb0b3=_0x2dfe3e[_0x538e94(0x1ec)];}catch{return this[_0x538e94(0x117)](),Promise[_0x538e94(0xc6)](new Error(_0x4ed268[_0x538e94(0x219)]));}return new Promise((_0x4e1282,_0x1b1b2c)=>{var _0x379a24=_0x538e94;const _0x3fcf05=new FileReader();_0x3fcf05[_0x379a24(0x17c)](_0x3cb5f6),_0x3fcf05['onload']=_0x21f432=>{var _0x2a653e=_0x379a24,_0x311b69;const _0x522a01=(_0x311b69=_0x21f432[_0x2a653e(0xf7)])==null?void 0x0:_0x311b69[_0x2a653e(0xd7)];if(_0x522a01==null){this[_0x2a653e(0x117)](),_0x1b1b2c(new Error(_0x4ed268[_0x2a653e(0x219)]));return;}const _0x19a201=_0x13d639[_0x2a653e(0x102)](0x6);_0x4e1282({'imageId':_0x19a201,'imageSourceType':_0x12f73f['UUID'],'source':_0xdfb0b3,'base64Cache':_0x522a01,'status':_0x4ed268['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x56ebe4(0x112)](){var _0x202f6a=_0x56ebe4,_0x8404d2,_0x225bd0;const _0x1ae824=this[_0x202f6a(0x1bf)][_0x202f6a(0x1d3)](Is),_0x57bff2=this[_0x202f6a(0x1bf)][_0x202f6a(0x1d3)](q);return(_0x225bd0=(_0x8404d2=_0x57bff2==null?void 0x0:_0x57bff2[_0x202f6a(0x298)])!=null?_0x8404d2:_0x1ae824)!=null?_0x225bd0:Ts;}['_getSignURL'](){var _0x3efded=_0x56ebe4,_0x2b66d9,_0x3de10a;const _0x37f041=this['_configService'][_0x3efded(0x1d3)](Cs),_0x576ce3=this[_0x3efded(0x1bf)][_0x3efded(0x1d3)](q);return(_0x3de10a=(_0x2b66d9=_0x576ce3==null?void 0x0:_0x576ce3[_0x3efded(0x129)])!=null?_0x2b66d9:_0x37f041)!=null?_0x3de10a:Rs;}[_0x56ebe4(0x253)](){var _0x56b12e=_0x56ebe4,_0xa782f8;const _0x2633e4=this[_0x56b12e(0x1bf)][_0x56b12e(0x1d3)](q);return(_0xa782f8=_0x2633e4==null?void 0x0:_0x2633e4[_0x56b12e(0x2f2)])!=null?_0xa782f8:location['origin'];}[_0x56ebe4(0x265)](_0x2e282b,_0x3e10db){var _0x39eaa3=_0x56ebe4;return _0x2e282b[_0x39eaa3(0xbc)]('{fileID}',_0x3e10db);}[_0x56ebe4(0x117)](){var _0x2478b5=_0x56ebe4;this[_0x2478b5(0x151)]-=0x1,this['_change$'][_0x2478b5(0x165)](this[_0x2478b5(0x151)]);}};yt=gs([gt(0x0,_0x10a372(_0x27ab0a)),gt(0x1,_0x495d61),gt(0x2,_0x10a372(_0x4f76fc))],yt);var bs=Object[_0x56ebe4(0xf9)],Os=Object['getOwnPropertyDescriptor'],ys=(_0x1b635c,_0x36301e,_0x5d5904,_0x515d02)=>{var _0x4bb912=_0x56ebe4;for(var _0x3d70c4=_0x515d02>0x1?void 0x0:_0x515d02?Os(_0x36301e,_0x5d5904):_0x36301e,_0xe45e02=_0x1b635c[_0x4bb912(0x146)]-0x1,_0x43a315;_0xe45e02>=0x0;_0xe45e02--)(_0x43a315=_0x1b635c[_0xe45e02])&&(_0x3d70c4=(_0x515d02?_0x43a315(_0x36301e,_0x5d5904,_0x3d70c4):_0x43a315(_0x3d70c4))||_0x3d70c4);return _0x515d02&&_0x3d70c4&&bs(_0x36301e,_0x5d5904,_0x3d70c4),_0x3d70c4;},_i=(_0x24f588,_0x1ff5e9)=>(_0x309559,_0x81a9bd)=>_0x1ff5e9(_0x309559,_0x81a9bd,_0x24f588);const Ns=_0x56ebe4(0x167);let Nt=class{constructor(_0x5b7dfa,_0x1c76a2){var _0x4c70b4=_0x56ebe4;this[_0x4c70b4(0x1bf)]=_0x5b7dfa,this['_HTTPService']=_0x1c76a2;}['_getAPIPrefixPath'](){var _0x42382c=_0x56ebe4,_0x1b1f51,_0x438ec4;const _0x3615d6=this[_0x42382c(0x1bf)]['getConfig'](Pi),_0x144d1a=this[_0x42382c(0x1bf)][_0x42382c(0x1d3)](q);return(_0x438ec4=(_0x1b1f51=_0x144d1a==null?void 0x0:_0x144d1a[_0x42382c(0x2ed)])!=null?_0x1b1f51:_0x3615d6)!=null?_0x438ec4:Ns;}async[_0x56ebe4(0x11a)](_0x200b05){var _0x5e1881=_0x56ebe4;const _0x198dfa=this[_0x5e1881(0x32b)]()+_0x5e1881(0x324);return{'list':[{'title':_0x5e1881(0x2a6),'mentions':(await this[_0x5e1881(0x13b)][_0x5e1881(0xf8)](_0x198dfa,{'params':{'objectID':_0x200b05[_0x5e1881(0x94)],'unitID':_0x200b05['unitId']}}))[_0x5e1881(0x33d)][_0x5e1881(0x238)][_0x5e1881(0xb7)](_0x8b2a03=>({'objectId':_0x8b2a03['id'],'name':_0x8b2a03[_0x5e1881(0x357)][_0x5e1881(0x193)],'metadata':{'icon':_0x8b2a03[_0x5e1881(0x357)][_0x5e1881(0x185)]},'label':_0x8b2a03['subject'][_0x5e1881(0x193)],'objectType':_0x503aa1[_0x5e1881(0x273)]})),'metadata':{},'type':_0x503aa1[_0x5e1881(0x273)]}]};}};Nt=ys([_i(0x0,_0x10a372(_0x495d61)),_i(0x1,_0x10a372(_0x27ab0a))],Nt);var Ds=Object[_0x56ebe4(0xf9)],Ps=Object[_0x56ebe4(0x2ac)],ws=(_0x2263b2,_0x481ec1,_0x420942,_0x188003)=>{for(var _0x54320b=_0x188003>0x1?void 0x0:_0x188003?Ps(_0x481ec1,_0x420942):_0x481ec1,_0x1358a9=_0x2263b2['length']-0x1,_0x107f38;_0x1358a9>=0x0;_0x1358a9--)(_0x107f38=_0x2263b2[_0x1358a9])&&(_0x54320b=(_0x188003?_0x107f38(_0x481ec1,_0x420942,_0x54320b):_0x107f38(_0x54320b))||_0x54320b);return _0x188003&&_0x54320b&&Ds(_0x481ec1,_0x420942,_0x54320b),_0x54320b;},Se=(_0x54272f,_0x2248a5)=>(_0x482000,_0x35b783)=>_0x2248a5(_0x482000,_0x35b783,_0x54272f);let at=class extends _0x28b5a4{constructor(_0x3cf177,_0x21bb07,_0xd219bf,_0x5a0928,_0x29c18b,_0x38e5e2,_0x172fe5){var _0x237e69=_0x56ebe4;super(),this['_injector']=_0x3cf177,this[_0x237e69(0x1b3)]=_0x21bb07,this[_0x237e69(0x161)]=_0xd219bf,this[_0x237e69(0x120)]=_0x5a0928,this[_0x237e69(0x218)]=_0x29c18b,this['_authzIoService']=_0x38e5e2,this[_0x237e69(0x1f5)]=_0x172fe5,this['_initUnitPermissionChange'](),this[_0x237e69(0xe5)]();}[_0x56ebe4(0xe5)](){var _0x10b204=_0x56ebe4;const _0x4f882d=async _0x378750=>{var _0x3ae727=_0x8d60;(await this[_0x3ae727(0x120)][_0x3ae727(0x249)](_0x378750))[_0x3ae727(0x8c)][_0x3ae727(0xba)](_0x803da5(_0x8f49ec=>_0x8f49ec[_0x3ae727(0x142)]===_0x4c4aff['SHOULD_CLOSE_CONN']),_0x5f40f9(this['dispose$']))['subscribe'](_0x38ac4c=>{var _0x959814=_0x3ae727;const _0x23b2a5=_0x38ac4c,{reason:_0x499af4}=_0x23b2a5[_0x959814(0xf1)];this[_0x959814(0x218)]['emitEvent']({'id':se[_0x959814(0x75)],'data':_0x499af4}),this[_0x959814(0x161)]['updatePermissionPoint'](new _0x2b5d2f(_0x378750)['id'],!0x1),this[_0x959814(0x120)][_0x959814(0x2e5)](_0x378750);});};_0x137f9c(this[_0x10b204(0x1b3)]['getTypeOfUnitAdded$'](_0x58d019[_0x10b204(0xef)]),this[_0x10b204(0x1b3)]['getTypeOfUnitAdded$'](_0x58d019[_0x10b204(0x342)]))['pipe'](_0x387b22(_0x2ffd97=>_0x2ffd97[_0x10b204(0x25d)]()),_0x803da5(_0x2530d1=>!_0x4290c1(_0x2530d1)),_0x5f40f9(this[_0x10b204(0x205)]))['subscribe'](_0x954693=>{_0x4f882d(_0x954693);});}[_0x56ebe4(0x13e)](){var _0x2247a5=_0x56ebe4;const _0xb6b24=async _0x1beae8=>{var _0x4a7e63=_0x8d60;const _0x9c4180=await this[_0x4a7e63(0x120)]['requireSession'](_0x1beae8),_0x357d15=this[_0x4a7e63(0x20d)][_0x4a7e63(0xf8)](_0x44768c);_0x9c4180['event$']['pipe'](_0x803da5(_0x45b1d8=>_0x45b1d8[_0x4a7e63(0x142)]===_0x4c4aff[_0x4a7e63(0x278)]),_0x5f40f9(this[_0x4a7e63(0x205)]))[_0x4a7e63(0x1b0)](_0x32f74a=>{var _0x59de47=_0x4a7e63;const _0x2a886c=_0x32f74a,{objectId:_0x39b6e8}=_0x2a886c[_0x59de47(0xf1)];_0x39b6e8===_0x1beae8?_0x357d15[_0x59de47(0xf2)](_0x1beae8):_0x357d15['refreshPermission'](_0x1beae8,_0x39b6e8);});};_0x137f9c(this[_0x2247a5(0x1b3)][_0x2247a5(0x189)](_0x58d019['UNIVER_SHEET']),this[_0x2247a5(0x1b3)]['getTypeOfUnitAdded$'](_0x58d019[_0x2247a5(0x342)]))[_0x2247a5(0xba)](_0x387b22(_0x4a81cc=>_0x4a81cc[_0x2247a5(0x25d)]()),_0x803da5(_0x57e8db=>!_0x4290c1(_0x57e8db)),_0x5f40f9(this[_0x2247a5(0x205)]))['subscribe'](_0x40ba59=>{_0xb6b24(_0x40ba59);});}};at=ws([Se(0x0,_0x10a372(_0x28066c)),Se(0x1,_0x4f76fc),Se(0x2,_0x3582b2),Se(0x3,_0x10a372(Le)),Se(0x4,_0x10a372(pe)),Se(0x5,_0x3efeb3),Se(0x6,_0x56d618)],at);var Us=Object[_0x56ebe4(0xf9)],As=Object[_0x56ebe4(0x2ac)],xs=(_0x5e3bf0,_0x5890a1,_0x4a1cc4,_0x3655c8)=>{var _0x35a07e=_0x56ebe4;for(var _0xf546b9=_0x3655c8>0x1?void 0x0:_0x3655c8?As(_0x5890a1,_0x4a1cc4):_0x5890a1,_0x3ac8d5=_0x5e3bf0[_0x35a07e(0x146)]-0x1,_0x362db9;_0x3ac8d5>=0x0;_0x3ac8d5--)(_0x362db9=_0x5e3bf0[_0x3ac8d5])&&(_0xf546b9=(_0x3655c8?_0x362db9(_0x5890a1,_0x4a1cc4,_0xf546b9):_0x362db9(_0xf546b9))||_0xf546b9);return _0x3655c8&&_0xf546b9&&Us(_0x5890a1,_0x4a1cc4,_0xf546b9),_0xf546b9;},li=(_0x98a8df,_0x5f39a9)=>(_0x2a0b10,_0xef5d17)=>_0x5f39a9(_0x2a0b10,_0xef5d17,_0x98a8df);let Dt=class{constructor(_0x529320,_0x4503a8){var _0x3b75b3=_0x56ebe4;this[_0x3b75b3(0x1bf)]=_0x529320,this[_0x3b75b3(0x1d8)]=_0x4503a8;}async['getUnitOnRev'](_0x14a19a,_0xa11c02){var _0x54acc5=_0x56ebe4,_0x3edec0;const {unitID:_0x5131c0,type:_0x13ec60,revision:_0x120614=0x0}=_0xa11c02,_0x3c7ac4=this[_0x54acc5(0xad)]()+'/'+_0x13ec60+_0x54acc5(0x2e2)+_0x5131c0+'/rev/'+_0x120614,_0x5631c5=(await this['_httpService']['get'](_0x3c7ac4))[_0x54acc5(0x33d)],_0x5bae9c=(_0x3edec0=_0x5631c5[_0x54acc5(0xec)])==null?void 0x0:_0x3edec0[_0x54acc5(0x89)];if(_0x5bae9c){const _0x2f8c4d=_0x5bae9c==null?void 0x0:_0x5bae9c[_0x54acc5(0x202)],_0x1e0053=_0x1d5b66[_0x54acc5(0x22b)](_0x15bf07(_0x2f8c4d));_0x5bae9c['originalMeta']=_0x1e0053,Object[_0x54acc5(0x1ac)](_0x5bae9c[_0x54acc5(0x213)])[_0x54acc5(0x328)](([,_0x565b3d])=>{var _0x504d1b=_0x54acc5;const _0x2daa07=_0x565b3d[_0x504d1b(0x202)],_0x4c3e0c=_0x1d5b66['encode'](_0x15bf07(_0x2daa07));_0x565b3d[_0x504d1b(0x202)]=_0x4c3e0c;});}return _0x5631c5;}async[_0x56ebe4(0x228)](_0x1f6b40,_0x12ff11){var _0x5bbaa4=_0x56ebe4;const {unitID:_0x38aa45,type:_0x3ab88b,blockID:_0x5411b9}=_0x12ff11,_0x333274=this['_getAPIPrefix']()+'/'+_0x3ab88b+_0x5bbaa4(0x2e2)+_0x38aa45+_0x5bbaa4(0x1a9)+_0x5411b9;return(await this['_httpService']['get'](_0x333274))['body'];}async[_0x56ebe4(0x15e)](_0x223d1f,_0x2c3ed7){var _0xd55c7=_0x56ebe4;const {unitID:_0x4f4876,type:_0x500a6c,blockID:_0x28099a}=_0x2c3ed7,_0x135389=this[_0xd55c7(0x301)]()+'/block/'+_0x500a6c+_0xd55c7(0x2e2)+_0x4f4876+'/block/'+_0x28099a;return(await this[_0xd55c7(0x1d8)][_0xd55c7(0xf8)](_0x135389))[_0xd55c7(0x33d)];}async[_0x56ebe4(0x256)](_0x4ac5c5,_0x1e2a05){var _0xcc0f1=_0x56ebe4;const {unitID:_0x55f6d2,type:_0x11082a,from:_0x18a5f0,to:_0x525343}=_0x1e2a05,_0x4f260c=this[_0xcc0f1(0x301)]()+'/'+_0x11082a+_0xcc0f1(0x2e2)+_0x55f6d2+_0xcc0f1(0x2ca)+_0x18a5f0+'&to='+_0x525343;return(await this[_0xcc0f1(0x1d8)][_0xcc0f1(0xf8)](_0x4f260c))[_0xcc0f1(0x33d)];}[_0x56ebe4(0xad)](){var _0x5ba296=_0x56ebe4,_0x3cc098;return(_0x3cc098=this[_0x5ba296(0x1bf)][_0x5ba296(0x1d3)](Tn))!=null?_0x3cc098:this[_0x5ba296(0x301)]();}['_getAPIPrefix'](){var _0x5bd44a=_0x56ebe4,_0x237196,_0x4c3a19;const _0xef6ea7=this['_configService'][_0x5bd44a(0x1d3)](En),_0x109a52=this[_0x5bd44a(0x1bf)][_0x5bd44a(0x1d3)](q);return(_0x4c3a19=(_0x237196=_0x109a52==null?void 0x0:_0x109a52[_0x5bd44a(0xa1)])!=null?_0x237196:_0xef6ea7)!=null?_0x4c3a19:In;}async['getResourcesRequest'](_0x1717d4,_0x356eb7){var _0x13669e=_0x56ebe4;const _0x474d7b=_0x13669e(0x168)+_0x356eb7[_0x13669e(0x22e)]+_0x13669e(0x2e2)+_0x356eb7[_0x13669e(0x243)]+_0x13669e(0x170);return(await this[_0x13669e(0x1d8)][_0x13669e(0xf8)](_0x474d7b,{'params':{'resourceId':JSON['stringify'](_0x356eb7[_0x13669e(0x7d)])}}))[_0x13669e(0x33d)];}[_0x56ebe4(0x17a)](){var _0x65a4bd=_0x56ebe4;throw new Error(_0x65a4bd(0x95));}[_0x56ebe4(0xd3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){var _0x1eade1=_0x56ebe4;throw new Error(_0x1eade1(0x95));}[_0x56ebe4(0x194)](){var _0x2391ad=_0x56ebe4;throw new Error(_0x2391ad(0x95));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Dt=xs([li(0x0,_0x495d61),li(0x1,_0x10a372(_0x27ab0a))],Dt);function _0x8d60(_0x36dc69,_0x4567b2){var _0x7f603a=_0x7f60();return _0x8d60=function(_0x8d609d,_0x5e6cc0){_0x8d609d=_0x8d609d-0x66;var _0x104170=_0x7f603a[_0x8d609d];return _0x104170;},_0x8d60(_0x36dc69,_0x4567b2);}var Ls=Object['defineProperty'],Ms=Object[_0x56ebe4(0x2ac)],$s=(_0xa82a63,_0x1cd852,_0x1f6443,_0x3b93db)=>{var _0xa2fc91=_0x56ebe4;for(var _0x2c555e=_0x3b93db>0x1?void 0x0:_0x3b93db?Ms(_0x1cd852,_0x1f6443):_0x1cd852,_0x464b42=_0xa82a63[_0xa2fc91(0x146)]-0x1,_0x491370;_0x464b42>=0x0;_0x464b42--)(_0x491370=_0xa82a63[_0x464b42])&&(_0x2c555e=(_0x3b93db?_0x491370(_0x1cd852,_0x1f6443,_0x2c555e):_0x491370(_0x2c555e))||_0x2c555e);return _0x3b93db&&_0x2c555e&&Ls(_0x1cd852,_0x1f6443,_0x2c555e),_0x2c555e;},Ae=(_0x1e639e,_0xae1c12)=>(_0x169091,_0x3cacbf)=>_0xae1c12(_0x169091,_0x3cacbf,_0x1e639e);let Pt=class extends _0x3227c5{constructor(_0x2502f1,_0x51bdaf,_0x164eb6,_0x21fcba,_0x472034){var _0x54ff19=_0x56ebe4;super(_0x2502f1,_0x51bdaf,_0x164eb6),this[_0x54ff19(0x272)]=_0x21fcba,this['_logService']=_0x472034;}[_0x56ebe4(0x248)](_0x313672,_0x58658d){var _0x935fb=_0x56ebe4;const _0x24afbc=this[_0x935fb(0xc1)](_0x313672);if(_0x24afbc)try{const _0x13d4a9=this[_0x935fb(0x6f)](_0x24afbc,_0x58658d);this['_substituteUndoStack'](_0x313672,_0x13d4a9);}catch(_0x4c6b78){this[_0x935fb(0x162)][_0x935fb(0x1a5)](_0x935fb(0x1df),_0x4c6b78),this[_0x935fb(0x270)](_0x313672);}const _0x46fa6b=this['_getRedoStack'](_0x313672);if(_0x46fa6b)try{const _0x12dd66=this[_0x935fb(0x6f)](_0x46fa6b,_0x58658d);this['_substituteRedoStack'](_0x313672,_0x12dd66);}catch(_0x56ac77){this['_logService'][_0x935fb(0x1a5)](_0x56ac77),this[_0x935fb(0x2d4)](_0x313672);}}[_0x56ebe4(0x270)](_0x332303){var _0xd8a199=_0x56ebe4;const _0x2a2daf=this[_0xd8a199(0xc1)](_0x332303);_0x2a2daf&&(_0x2a2daf[_0xd8a199(0x146)]=0x0,this['_updateStatus']());}[_0x56ebe4(0x2d4)](_0xfd834){var _0x27265a=_0x56ebe4;const _0x467444=this[_0x27265a(0x20a)](_0xfd834);_0x467444&&(_0x467444[_0x27265a(0x146)]=0x0,this[_0x27265a(0x190)]());}[_0x56ebe4(0x2cd)](_0x54b641,_0x499b3d){var _0xb41085=_0x56ebe4;this['_undoStacks'][_0xb41085(0x2e4)](_0x54b641,_0x499b3d),this[_0xb41085(0x190)]();}[_0x56ebe4(0x358)](_0x36c14d,_0x4c676d){var _0x28e1d7=_0x56ebe4;this[_0x28e1d7(0x14c)]['set'](_0x36c14d,_0x4c676d),this[_0x28e1d7(0x190)]();}['_transformStack'](_0x3d8192,_0x39869c){var _0x5a0a22=_0x56ebe4;const _0x55d63e=[];let _0x2a2f87=_0x39869c,_0x29c951=_0x39869c;for(let _0x772de1=_0x3d8192['length']-0x1;_0x772de1>=0x0;_0x772de1--){const {unitID:_0x3d9ed4,undoMutations:_0x16e4dc,redoMutations:_0xdc92}=_0x3d8192[_0x772de1],_0x526619=this[_0x5a0a22(0x272)][_0x5a0a22(0xab)](_0x2a2f87,_0x16e4dc),_0x4d35f0=this[_0x5a0a22(0x272)][_0x5a0a22(0xab)](_0x29c951,_0xdc92);if(_0x4c2e7c(_0x526619)||_0x4c2e7c(_0x4d35f0)){this['_logService'][_0x5a0a22(0x1a5)](_0x5a0a22(0x1df),'transformStack\x20failed!',_0x526619,_0x4d35f0);break;}_0x2a2f87=_0x526619[_0x5a0a22(0x34c)],_0x29c951=_0x4d35f0['c1Prime'],_0x55d63e[_0x5a0a22(0xb9)]({'unitID':_0x3d9ed4,'undoMutations':_0x526619[_0x5a0a22(0x283)],'redoMutations':_0x4d35f0[_0x5a0a22(0x283)]});}return _0x55d63e[_0x5a0a22(0x96)]();}};Pt=$s([Ae(0x0,_0x4f76fc),Ae(0x1,_0x1854e4),Ae(0x2,_0x1c6df0),Ae(0x3,_0x45afc8),Ae(0x4,_0x2eb8c5)],Pt);var xi=Object[_0x56ebe4(0xf9)],Hs=Object[_0x56ebe4(0x2ac)],ks=(_0x3e52b2,_0x5b6e1e,_0x520fa0)=>_0x5b6e1e in _0x3e52b2?xi(_0x3e52b2,_0x5b6e1e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x520fa0}):_0x3e52b2[_0x5b6e1e]=_0x520fa0,js=(_0x3dcfde,_0x3ce13b,_0x58b3f5,_0x303b1a)=>{for(var _0x3d3f2c=_0x303b1a>0x1?void 0x0:_0x303b1a?Hs(_0x3ce13b,_0x58b3f5):_0x3ce13b,_0x5bee19=_0x3dcfde['length']-0x1,_0x2bd8ac;_0x5bee19>=0x0;_0x5bee19--)(_0x2bd8ac=_0x3dcfde[_0x5bee19])&&(_0x3d3f2c=(_0x303b1a?_0x2bd8ac(_0x3ce13b,_0x58b3f5,_0x3d3f2c):_0x2bd8ac(_0x3d3f2c))||_0x3d3f2c);return _0x303b1a&&_0x3d3f2c&&xi(_0x3ce13b,_0x58b3f5,_0x3d3f2c),_0x3d3f2c;},St=(_0x552ce9,_0x11b857)=>(_0x306a67,_0x344095)=>_0x11b857(_0x306a67,_0x344095,_0x552ce9),Bs=(_0x4632a0,_0x2c830f,_0xb0ae10)=>ks(_0x4632a0,_0x2c830f+'',_0xb0ae10);const Fs=_0x56ebe4(0x293);let wt=class extends _0x357d84{constructor(_0x1879e4=Wt,_0x5d130e,_0x2927e3,_0x35a4af){var _0x4110e1=_0x56ebe4;super(),this['_config']=_0x1879e4,this[_0x4110e1(0x162)]=_0x5d130e,this[_0x4110e1(0x20d)]=_0x2927e3,this['_configService']=_0x35a4af;const {..._0x51f1e6}=_0xd9d8d1({},Wt,this[_0x4110e1(0x2c1)]);this[_0x4110e1(0x1bf)]['setConfig'](q,_0x51f1e6);}[_0x56ebe4(0x2c5)](){var _0x43154a=_0x56ebe4;this[_0x43154a(0xaf)](),this[_0x43154a(0x1ca)]();}['_registerDependencies'](){var _0x17217b=_0x56ebe4,_0xef0c30,_0x171d7b,_0x2efc31,_0x1694df;this[_0x17217b(0x20d)]['has'](_0x56d618)&&this[_0x17217b(0x162)][_0x17217b(0x1a5)](_0x17217b(0x31f),_0x17217b(0x31a));const _0x5e11ae=_0x42f882([[_0x56d618,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x171d7b=(_0xef0c30=this[_0x17217b(0x2c1)])==null?void 0x0:_0xef0c30[_0x17217b(0x255)])!=null?_0x171d7b:Et}],[_0x4867dc,{'useClass':Dt}],[_0x3efeb3,{'useClass':bt}],[_0x1d93e6,{'useClass':yt}],[_0x1e4280,{'useClass':Nt}],[rt],[Rt]],(_0x2efc31=this['_config'])==null?void 0x0:_0x2efc31['override']);if(!((_0x1694df=this['_config'])!=null&&_0x1694df[_0x17217b(0x18f)])){const _0x11b9fb=_0x5e11ae[_0x17217b(0x140)](([_0xb76445])=>_0xb76445===ht);_0x11b9fb!==-0x1&&_0x5e11ae[_0x17217b(0x11c)](_0x11b9fb,0x1);}_0x2b2b62(this[_0x17217b(0x20d)],_0x5e11ae);}['_initDependencies'](){var _0x2ad61f=_0x56ebe4,_0x2d046d,_0x5afac0,_0x3d84df;this[_0x2ad61f(0x20d)]['get'](_0x27ab0a)[_0x2ad61f(0x307)]({'priority':0x14,'interceptor':_0x132c84({'maxParallel':0x6})}),(_0x2d046d=this[_0x2ad61f(0x2c1)])!=null&&_0x2d046d[_0x2ad61f(0x200)]||(_0x5afac0=this[_0x2ad61f(0x20d)]['get'](J,_0x2b1a2c['OPTIONAL']))==null||_0x5afac0['disableLocalCache'](),(_0x3d84df=this['_config'])!=null&&_0x3d84df[_0x2ad61f(0x29f)]&&_0x507c99(this[_0x2ad61f(0x20d)],[[st]]),_0x507c99(this[_0x2ad61f(0x20d)],[[ot],[rt],[at]]);}};Bs(wt,'pluginName',Fs),wt=js([_0x1354f3(_0x1bd2e5,_0x576354,_0xae6199),St(0x1,_0x2eb8c5),St(0x2,_0x10a372(_0x28066c)),St(0x3,_0x495d61)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn 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,Ri as CommentService,de as ConflictState,bn 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,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};