@univerjs-pro/collaboration-client 0.10.6 → 0.10.7-nightly.202509080357

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.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +11 -11
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x3719d7=_0x3e70;(function(_0x43b06a,_0xe1f524){var _0x389131=_0x3e70,_0x5e27a9=_0x43b06a();while(!![]){try{var _0x459db6=parseInt(_0x389131(0x2be))/0x1+-parseInt(_0x389131(0x300))/0x2*(-parseInt(_0x389131(0x2f4))/0x3)+parseInt(_0x389131(0x1e9))/0x4+-parseInt(_0x389131(0x452))/0x5+-parseInt(_0x389131(0x34a))/0x6+-parseInt(_0x389131(0x2cd))/0x7*(-parseInt(_0x389131(0x1fc))/0x8)+-parseInt(_0x389131(0x437))/0x9*(-parseInt(_0x389131(0x47a))/0xa);if(_0x459db6===_0xe1f524)break;else _0x5e27a9['push'](_0x5e27a9['shift']());}catch(_0x573617){_0x5e27a9['push'](_0x5e27a9['shift']());}}}(_0x345c,0x78ff2));var yi=Object[_0x3719d7(0x323)],Ni=(_0x2b9b3b,_0x51b990,_0x53b207)=>_0x51b990 in _0x2b9b3b?yi(_0x2b9b3b,_0x51b990,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53b207}):_0x2b9b3b[_0x51b990]=_0x53b207,N=(_0x56e71c,_0x510d58,_0x53e474)=>Ni(_0x56e71c,typeof _0x510d58!='symbol'?_0x510d58+'':_0x510d58,_0x53e474);import{CollaborationEvent as _0x1454f,ITransformService as _0x53796d,isTransformMutationsWithChangesetSuccess as _0x22b450,mapDocumentTypeToUniverType as _0x23c0c5,RevisionService as _0x1882ad,isTransformChangesetsSuccess as _0x212dc7,CompressMutationService as _0x3bed2b,parseProtocolChangeset as _0xf37b2f,uuidv4 as _0x34342e,ISnapshotServerService as _0x364d64,parseChangesetToProtocol as _0x3c14dd,SnapshotService as _0xba1272,textEncoder as _0x5a9644,b64DecodeUnicode as _0x7bb237,isTransformMutationsWithChangesetFailure as _0x3e3cfd,UniverCollaborationPlugin as _0x20245b}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x3b570d,Inject as _0x9a05e2,UserManagerService as _0x1c9002,Disposable as _0x3c4e94,UniverInstanceType as _0x14a7db,ILogService as _0x116fbc,IConfigService as _0x3f20e3,Optional as _0x16e192,RxDisposable as _0x103aff,createIdentifier as _0x428e84,Injector as _0x220a42,Tools as _0xefb524,Rectangle as _0xe2622d,ICommandService as _0x5491ec,JSONX as _0x3503b4,CommandType as _0x1f5e95,IUndoRedoService as _0x36e271,IPermissionService as _0x1fa5cb,LocaleService as _0xfa6b6f,sequenceExecute as _0x288403,toDisposable as _0x1d27ff,DisposableCollection as _0x380f49,Workbook as _0x52dadb,generateRandomId as _0x3c6a17,MentionType as _0x9eb8b8,isInternalEditorID as _0x125852,LocalUndoRedoService as _0x39dd25,IContextService as _0x127030,DependentOn as _0x388995,Plugin as _0xe33549,merge as _0x3ff756,mergeOverrideWithDependencies as _0x5e76f3,IAuthzIoService as _0x3f2941,IMentionIOService as _0x2fa4d8,registerDependencies as _0x3bb1d1,Quantity as _0x4a4281,touchDependencies as _0x82f3a3}from'@univerjs/core';import{RichTextEditingMutation as _0x56aa1d}from'@univerjs/docs';import{SheetsSelectionsService as _0x27cf59,SetSelectionsOperation as _0x39f493,InsertSheetMutation as _0x5e97a1,EmptyMutation as _0x295ef4,WorkbookEditablePermission as _0x52443e,SheetPermissionInitController as _0x367d49}from'@univerjs/sheets';import{Subject as _0x3ca5c9,merge as _0x2f8997,of as _0x224c4f,BehaviorSubject as _0x261aac,takeUntil as _0x4176c5,ReplaySubject as _0x2f4850,take as _0x17a050,map as _0x2fd62e,shareReplay as _0x2a36ea,firstValueFrom as _0x4d9741,concatMap as _0x182fc3}from'rxjs';import{ITelemetryService as _0x57e83d}from'@univerjs/telemetry';import{map as _0x5a13d1,take as _0x3d8f27,filter as _0x1e33d7,delay as _0x1e3ec4,takeUntil as _0x35375c}from'rxjs/operators';import{HTTPService as _0x4ae839,ISocketService as _0x201287,MergeInterceptorFactory as _0x24f580,HTTPRequest as _0x3792af,UniverNetworkPlugin as _0xe72fc3,ThresholdInterceptorFactory as _0x3fddbe}from'@univerjs/network';function _0x345c(){var _0xaebb7b=['_members$','entries','dispose$','AES','_acknowledgedAwaitingChangeset','_iKey','filter','FileId','name','/unit/','getTypeOfUnitDisposed$','_onRemoteRejected','revision','sheets','\x20to\x20','snapshot','objectType','_resendWithTimeout','HEARTBEAT','IDLE','_process','_transformUndoredo','_startTelemetryCollaborationNewChangeset','_doFinalize','send','keySize','_state','Decryptor','RECV','UNIVER_PROJECT','lib','getImage','HmacMD5','_replaceFileID','getRoom','file','onCommentUpdate','socket$','_minBufferSize','Utf8','registerHTTPInterceptor','encode','disposeWithMe','[DataLoaderService]','_removeRoom','sendChangesetTimeout','objectActions','_key','csRejEvent','loginUrlKey','_collaborationTimeoutTimer','Base64','UPDATE_CURSOR','/-/object/list','ivSize','_transformService','/rev/','leaveEvent','resend','CBC','originalMeta','_oKey','downloadEndpointUrl','_clearRetryConnectingTimer','HEARTBEAT_TIMEOUT','_onConflict','rev','_sheetTransformSelectionsService','_httpService','_onOffline','override','_revisionService','YUUMI_ALL_TABLES_IS_INVALID','data','SHOULD_CLOSE_CONN','_timeoutTimer','UNIVER_COLLABORATION_CLIENT_PLUGIN','YUUMI_SUBSCRIPTION_NOT_FOUND','closeSession','deleteCollaborator','ERROR_EXCEED_SIZE','range','HELLO','SOCKET_FAILED_RETRY','get','_undoStacks','state','awaitingChangeset','_DEC_XFORM_MODE','_permissionService','_startCollaboration','WECHAT_HAS_BEEN_BOUND','[OfflineState]:\x20received\x20rejection.','_sessions','createDecryptor','UNIVER_SLIDE','msCrypto','mixIn','createInstance','_replayCachedMutations','YUUMI_AI_RUN_FAILED','UNISCRIPT_RUN','LIVESHARE_TERMINATE','_logService','reduce','_redoStacks','map','CLOSE_ROOM','/collaborator','ONLINE','interceptor','_stopTelemetryCollaborationNewChangeset','_awaitingChangeset','reverse','unpad','_disableEditing','permissionRejEvent','getMember','updateCollaborator','HMAC','LIVESHARE_FETCH_OPERATIONS','updateSnapshot','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_createHandler','CHANGESET_REVISION_CONFILICT','commentUpdateEvent','_clearHeartbeatTimer','_iv','_getSendChangesetTimeout','APPLY_REVISION_CONFILICT','createSocket','iterations','getRandomValues','add','message$','emitEvent','/block/','COMPLETION_FINISHED','sessionStatus','YUUMI_CONNECTOR_URL_NOT_FOUND','Failed\x20to\x20update\x20permission\x20point','EvpKDF','_unlockTransition','LICENSE_MAX_UNITS_EXCEEDED','INVALID_ARGUMENT','has','_onUserJoin','_changesetSessionId','StreamCipher','FETCH_MISS','[OfflineState]:\x20received\x20changeset.','fromCollab','patch','LIVESHARE_REQUEST_HOST','INVITE_CODE_ALREADY_BOUND','_transformIMECache','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','AWAITING_WITH_PENDING','_tryEnsureSocket','LICENSE_IMPORT_SIZE_EXCEEDED','connection\x20error','_prevBlock','JOINING','NOT_COLLAB','min','&assign=','subscribe','UNIVER_DOC','_queuedRemoteChangesets','_commandService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','CHANGESET_SHOULD_RETRY','WordArray','slice','mode','_keyPriorReset','PERMISSION_DENIED','_telemetryInfo','append','_showConflictNotification','fromCharCode','_getDownloadEndpointURL','splice','getSheetBlock','default','sigBytes','COMMENT_UPDATE','MUTATION','MOBILE_HAS_BEEN_BOUND','getResourcesRequest','hostname','_getAPIPrefixPath','JOIN_ROOM_NOT_EXISTS','ALREADY_EXISTS','dispose','memberID','concat','createEncryptor','_status$','synced','_roomCreated$','EMAIL_VERIFY_CODE_MISMATCH','_handlerCallback','_parse','entityInit$','parse','session.room-permission-denied','getTypeOfUnitAdded$','_onMessage','Univer','__creator','setWaitCount','then','ERROR_IMAGE','getDeserializedSheetBlock','?url=','2781117ekelJe','next','selections','unitID','x-univer-host','disableLocalCache','SNAPSHOT_INVALID_SNAPSHOT','_remoteChangesetQueue','_waitCount','stopTime','_isPermissionRej','updatePermissionObjEvent','UnitEmbedded','every','SUCCUSS','CHANGESET_REJ','_decreaseWaiting','POST','floor','_entities','result','readyForCollab','FETCH_MISSING','location','clone','algo','socket\x20open.','4379800qhjCtR','status','open$','fetchThroughInterceptors','state$','USER_NOT_INVITED_CODE','_pendingMutations','INVITE_CODE_HAS_BEEN_UES','_localeService','reqId','_candidateSocket','_scheduleCollaborationTimeoutTimer','isArray','MD5','_doCreateSocket','error$','[CollaborationUndoRedoService]','length','capture','_telemetryService','toggleOnline','charAt','getSnapshotAPIPath','INVITE_CODE_REQUIRED','UPDATE_PERMISSION_OBJ','_doCryptBlock','pauseCollaboration','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','/universer-api/authz','APPLY_DUPLICATED','_changesetReqId','USERS_ENTER','collaborators','forEach','collaboration_new_changeset','[SyncedState]:\x20received\x20rejection.','body','COMPRESS_MUTATION_SEND','init','_type','10SObaXS','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_data','update','getWorkbookSelections','EMAIL_HAS_BEEN_BOUND','awaiting_with_pending','_onFetchMissResult','collaboratorID','/universer-api/snapshot/','_univerInstanceService','getCurrentUser','_socketReady','byteLength','UUID','appendMutation','size','encodeURIComponent','_onRemoteRetry','MSG_FOR_ERROR','addHandlerCallback','_invKeySchedule','_onCombEvent','fetchMiss','_event$','error','LEAVE','_getSignURL','_onConnectionOpen','_onConnectionFailed','_onRemoteChangeset','url','commentUpdate$','\x20in\x20_schedule.','charCodeAt','socketService','_reverseMap','/universer-api/file/{fileID}/sign-url','enc','withCredentials','byteOffset','addImageSourceCache','onTransformSelections','getUnitType','extend','compute','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','/universer-api/stream/file/upload','_socketMessageSubscription','mutations','_updateState','OFFLINE','_transformSelections','UNRECOGNIZED','CHANGESET_ACK','method','collabSubmitChangesetUrl','session.join-failed','requestParams','roles','[CollaborationSessionService]','_compressMutationService','_userManagerService','UNKNOWN_CODE','indexOf','_unitInfo$','fetch_missing','toggleOffline','abs','removeMember','LOGIN_FAILED','offline','_updateLocalCache','set','Cipher','Undefined','[CollaborationSession]','?size=','_sendingTimer','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_getCtorByUniverType','asObservable','localeService','_executeRemoteChangeset','PSEUDO_FETCH_MISSING_RESULT','_getLoginPath','_shouldReportTelemetry','delete','hasher','sessionStatus$','waitForRoom$','fetching\x20missing\x20changesets\x20from\x20','clear','_syncEditingCollabCursor','COMPRESS_MUTATION_APPLY','c1Prime','_toggleOnline','_tryReconnect','getCollabEntity','uploadFileServerUrl','batchAllowed','join','PENDING','118548eFDugK','_throwTelemetryCollaborationNewChangeset','UNIVER_SHEET','_unitID','/universer-api/comb','_eventService','onStarting','_injector','_initRequestHeader','_updateStatus','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_cipher','_hasher','_createSocket','onRemoteChangeset','now','NEW_CHANGESETS','_hash','PasswordBasedCipher','24856dyTlRb','loadUnitOfRevision','transformMutationsWithChangeset','PERSON','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','PERMISSION_REJ','_socketService','_clearUndo','_getUndoStack','onRemoteAck','onMissedChangesetFetched','formatter','BASE64','_getAPIPrefix','getCurrentSelections','_mode','_onJoinRoomEvent','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','eventID','_sender','status$','joinEvent','image/jpeg','onRemoteRej','_sessionStatus$','onTransformIME','code','saveChangeset','textRanges','&source=','collaboration-client.config','Could\x20not\x20dynamically\x20require\x20\x22','_commentUpdate$','loadUnit','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_incrementRevisionNumber','change$','_transformRemoteChangesetByIMECache','_localCacheService','onlyLocal','randomBytes','FAIL','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','changesets','routeKey','debug','/object/','kdf','CONFLICT','OpenSSL','_createHelper','getInterceptPoints','/allowed','auth.needGotoLoginAlert','_transitionLocked','onTransformRemoteChangesetByStateCache','DEFAULT_FILE_NAME','_handler','HEARTBEAT_INTERVAL','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','loadDoc','startTime','Hex','_keySchedule','initWorkbookPermissionChange','getMemberID','localCacheService','substr','session.room-not-exists','onSyncEditingCollabCursor','avatar','_init','[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.','actions','type','onSendChangeset','transformSelections','HttpExport','_transformStack','execute','Hasher','_registerDependencies','UnitSnapshot','_onUserLeave','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','awaiting','CONNECTOR_DATA_TOO_LARGE','target','UNKNOWN_CMD','call','reject','_substituteRedoStack','executeCommand','LICENSE_DISTRO_REJECTED','newCsEvent','readInt32LE','setShowComponents','LICENSE_EXPORT_SIZE_EXCEEDED','NOT_FOUND','random','_getRedoStack','JOIN','INGEST','toString','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','conflict','event$','objects','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_state$','_sendHeartbeat','post','enableAuthServer','format','_networkConditionService','ceil','onMissingChangesets','objectID','_nDataBytes','_change$','headers','UNAUTHENTICATED','close','getConfig','m2Prime','_retryCount','_ENC_XFORM_MODE','SUBMIT_CHANGESET','_memberService','words','_append','_HTTPService','_createInitialStateImpl','getUnitStatus$','JOIN_ROOM_FULL','_submitChangeset','/object','pipe','pending','_listenToNetworkCondition','onRemoteRetry','_socket$','$super','_members','[UniverCollaborationClientPlugin]','max','subject','params','_getCurrentRevision','{fileID}','_transformRemoteChangesetByStateCache','clamp','_rescheduleHeartbeat','SUBMIT_CHANGESET_TIMEOUT','JOIN_ROOM_FAILED','getValue','_entityInit$','_commentService','_schedule','OTHER_CLIENT_EDITING','INVALID_INVITE_CODE','create','_snapshotService','Error\x20on\x20receiving\x20event','session','saveImage','_singleActiveUnitService','/resources','UserProfileImg','_collaborationPaused','BlockCipherMode','UNIVER_UNKNOWN','userID','updateCursorEvent','fetchMissingChangesets','_joinRoom','_collaborationSessionService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','updatePermissionPoint','_map','liveShareNewHost','[OfflineState]:\x20received\x20acknowledgement.','_configService','key','getTime','list','_sendHeartbeatTimer','collaMsg','sid','session.room-cnt-exceeds','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','authzUrl','blockSize','742238wvkwYT','_clearScheduledTask','ciphertext','_scheduleCompleteTimestamp','startsWith','[FetchMissState]','_toggleOffline','NO_OTHER_CLIENTS_EDITING','cmd','_transformStateCache','stringify','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_exhaustRemoteChangesetQueue','members$','onTransformState','175YEhJkX','TOO_MANY_REQUESTS','/role','getOwnPropertyDescriptor','onTransformRemoteChangesetByIMECache','getCurrentRevOfUnit','apply','image/png','_nRounds','exports','_onRemoteACK','unit-cache-','_xformMode','href','/-/object/-/batch_allowed','hasOwnProperty','People','_waitForHeartbeatResponse','crypto','reset','GLOBAL_ROOMS_CNT_EXCEEDS','APPLY_NON_SEQUENTIAL_REVISION','title','_onLocalMutation','getAllMembers','onStateChange','createCollaborator','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','deepClone','[CollaborationEntity]','HttpImport','pad','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_applyRemoteChangeset','_resendTimer','_checkMissing','loadSheet','action','_snapshotServerService','140925dSoxmV','updateMember','requireSession','&to=','ERROR_IMAGE_TYPE','_socket','refreshPermission','ws://127.0.0.1:8000/universer-api/comb/connect','copyFileMeta','_clearTimeoutTimer','liveShareOperation','_imageSourceCache','12Zbndlc','listRoles','SNAPSHOT_HAS_BEEN_REMOVED','transformChangesets','APPLY_REJECT','_collabSessionService','onCommandExecuted','updateOfflineData','retryConnectingInterval','_roomMembers','SOCKET_FAILED','SHA1','_createHmacHelper','roomInfos','_lockTransition','put','_instanceService','_doProcessBlock','origin','USERS_LEAVE','c2Prime','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','infoRsp','getUnit','NoPadding','complete','getFocusedUnit','_initDependencies','univer-pro.collaboration-client-socket-service','unsubscribe','isPermissionRej','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','salt','_getUploadFileURL','_initUnitPermissionChange','defineProperty','image/gif','_createInitialState','_initCloseConn','catch','transformUndoRedo','close$','_collaborationUIEventService','pluginName','RETRY_CONNECTING_MAX_COUNT','INTERNAL_ERROR','_doReset','_emitMembers','_retryConnectingTimer','encrypt','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_config','UNDEFINED','collaboration-client.local-cache-service','YUUMI_UNABLE_LOAD_URL','cfg','putCollaborators','Base','_resendTimeout','setCurrentUser','from','baseRev','push','Encryptor','includes','getImageSourceCache','prototype','[CollaborationSessionService]:\x20socket\x20error','_substituteUndoStack','PY_RUNTIME_SCRIPT_ERROR','_initMergeInterceptor','string','OTHER_CLIENTS_EDITING','JOIN_ROOM_PERMISSION_DENIED','413106eDgjmM','YUUMI_ASYNCIO_CANCELLED','unknown','/universer-api/snapshot','readAsDataURL','_clearRedo','LIVESHARE_NEW_HOST','unitInfo$','univer-pro.collaboration-client.single-active-unit-service','_onRecvEvent','getUnitId','HmacSHA1','function','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','finalize','_fetchMissChangesets','SerializableCipher','session.room-full','unitId','BufferedBlockAlgorithm','decrypt'];_0x345c=function(){return _0xaebb7b;};return _0x345c();}import{ImageSourceType as _0x2297e6,ImageUploadStatusType as _0x5d8351,IImageIoService as _0x377a8c}from'@univerjs/drawing';import{getGlobalObject as _0x1bb761}from'@univerjs-pro/license';const fs=_0x3719d7(0x34d),vs='SNAPSHOT_URL_KEY',ps=0x7d0,ms=_0x3719d7(0x2fb),Ir='/universer-api/user/session-ticket',gs=_0x3719d7(0x236),Ss=0x7530,di=_0x3719d7(0x39f),fi=0x4e20,Es=0x4e20,Is=_0x3719d7(0x32c),Ts=0x3,Tr='LOCAL_CACHE_INTERVAL',Cr=0x3e8,Cs=_0x3719d7(0x1ed),Rs='/universer-api/oidc/authpage',Rr='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Or='/universer-api/uniscript';var vi=(_0x462650=>(_0x462650[_0x462650[_0x3719d7(0x334)]=0x0]='UNDEFINED',_0x462650[_0x462650['OK']=0x1]='OK',_0x462650[_0x462650[_0x3719d7(0x32d)]=0x2]='INTERNAL_ERROR',_0x462650[_0x462650['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x462650[_0x462650[_0x3719d7(0x25e)]=0x4]=_0x3719d7(0x25e),_0x462650[_0x462650['UNAUTHENTICATED']=0x5]=_0x3719d7(0x275),_0x462650[_0x462650[_0x3719d7(0x420)]=0x6]='ALREADY_EXISTS',_0x462650[_0x462650['INVALID_ARGUMENT']=0x7]=_0x3719d7(0x3ef),_0x462650[_0x462650['TOO_MANY_REQUESTS']=0x8]=_0x3719d7(0x2ce),_0x462650[_0x462650[_0x3719d7(0x3e8)]=0x9]='COMPLETION_FINISHED',_0x462650[_0x462650[_0x3719d7(0x1c8)]=0xa]='LOGIN_FAILED',_0x462650[_0x462650['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x462650[_0x462650[_0x3719d7(0x268)]=0xc]=_0x3719d7(0x268),_0x462650[_0x462650['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x3719d7(0x428),_0x462650[_0x462650[_0x3719d7(0x315)]=0xe]=_0x3719d7(0x315),_0x462650[_0x462650[_0x3719d7(0x3db)]=0x1389]=_0x3719d7(0x3db),_0x462650[_0x462650[_0x3719d7(0x43d)]=0x1771]=_0x3719d7(0x43d),_0x462650[_0x462650[_0x3719d7(0x302)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x462650[_0x462650['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x462650[_0x462650['APPLY_REJECT']=0x1b59]=_0x3719d7(0x304),_0x462650[_0x462650[_0x3719d7(0x2e2)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x462650[_0x462650['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3719d7(0x3e0),_0x462650[_0x462650['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x462650[_0x462650[_0x3719d7(0x46f)]=0x1b5d]=_0x3719d7(0x46f),_0x462650[_0x462650[_0x3719d7(0x252)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x462650[_0x462650[_0x3719d7(0x3ee)]=0x2329]=_0x3719d7(0x3ee),_0x462650[_0x462650['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x462650[_0x462650[_0x3719d7(0x3fe)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x462650[_0x462650[_0x3719d7(0x25d)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x462650[_0x462650[_0x3719d7(0x259)]=0x232d]=_0x3719d7(0x259),_0x462650[_0x462650[_0x3719d7(0x336)]=0x2711]=_0x3719d7(0x336),_0x462650[_0x462650['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x462650[_0x462650['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x462650[_0x462650['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3719d7(0x3ac),_0x462650[_0x462650['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x462650[_0x462650[_0x3719d7(0x34b)]=0x271b]=_0x3719d7(0x34b),_0x462650[_0x462650[_0x3719d7(0x47b)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x462650[_0x462650[_0x3719d7(0x3a7)]=0x271d]=_0x3719d7(0x3a7),_0x462650[_0x462650[_0x3719d7(0x332)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x462650[_0x462650[_0x3719d7(0x3c3)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x462650[_0x462650['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x3719d7(0x3ea),_0x462650[_0x462650[_0x3719d7(0x345)]=0x2af9]=_0x3719d7(0x345),_0x462650[_0x462650['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3719d7(0x459),_0x462650[_0x462650['INVALID_INVITE_CODE']=0x2ee2]=_0x3719d7(0x29c),_0x462650[_0x462650[_0x3719d7(0x469)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x462650[_0x462650[_0x3719d7(0x457)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x462650[_0x462650[_0x3719d7(0x3f9)]=0x2ee5]=_0x3719d7(0x3f9),_0x462650[_0x462650[_0x3719d7(0x3ba)]=0x32c9]=_0x3719d7(0x3ba),_0x462650[_0x462650['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x3719d7(0x41b),_0x462650[_0x462650[_0x3719d7(0x47f)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x462650[_0x462650[_0x3719d7(0x1b7)]=-0x1]=_0x3719d7(0x1b7),_0x462650))(vi||{}),Z=(_0x4128cb=>(_0x4128cb[_0x4128cb['UNIVER_UNKNOWN']=0x0]=_0x3719d7(0x2a7),_0x4128cb[_0x4128cb[_0x3719d7(0x406)]=0x1]=_0x3719d7(0x406),_0x4128cb[_0x4128cb[_0x3719d7(0x1eb)]=0x2]=_0x3719d7(0x1eb),_0x4128cb[_0x4128cb[_0x3719d7(0x3be)]=0x3]='UNIVER_SLIDE',_0x4128cb[_0x4128cb[_0x3719d7(0x37c)]=0x4]=_0x3719d7(0x37c),_0x4128cb[_0x4128cb[_0x3719d7(0x1b7)]=-0x1]=_0x3719d7(0x1b7),_0x4128cb))(Z||{}),F=(_0x3e1709=>(_0x3e1709[_0x3e1709[_0x3719d7(0x254)]=0x0]='UNKNOWN_CMD',_0x3e1709[_0x3e1709[_0x3719d7(0x3b1)]=0x1]=_0x3719d7(0x3b1),_0x3e1709[_0x3e1709['JOIN']=0x2]='JOIN',_0x3e1709[_0x3e1709[_0x3719d7(0x19c)]=0x3]=_0x3719d7(0x19c),_0x3e1709[_0x3e1709[_0x3719d7(0x262)]=0x4]='INGEST',_0x3e1709[_0x3e1709[_0x3719d7(0x371)]=0x5]=_0x3719d7(0x371),_0x3e1709[_0x3e1709[_0x3719d7(0x37b)]=0x6]=_0x3719d7(0x37b),_0x3e1709[_0x3e1709['UNRECOGNIZED']=-0x1]=_0x3719d7(0x1b7),_0x3e1709))(F||{}),pe=(_0x2f7e8a=>(_0x2f7e8a[_0x2f7e8a[_0x3719d7(0x1c1)]=0x0]=_0x3719d7(0x1c1),_0x2f7e8a[_0x2f7e8a['OK']=0x1]='OK',_0x2f7e8a[_0x2f7e8a[_0x3719d7(0x225)]=0x2]='FAIL',_0x2f7e8a[_0x2f7e8a[_0x3719d7(0x282)]=0x3e9]=_0x3719d7(0x282),_0x2f7e8a[_0x2f7e8a[_0x3719d7(0x41f)]=0x3ea]=_0x3719d7(0x41f),_0x2f7e8a[_0x2f7e8a['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x3719d7(0x349),_0x2f7e8a[_0x2f7e8a[_0x3719d7(0x2e1)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x2f7e8a[_0x2f7e8a[_0x3719d7(0x1b7)]=-0x1]='UNRECOGNIZED',_0x2f7e8a))(pe||{}),pi=(_0x361b1c=>(_0x361b1c[_0x361b1c[_0x3719d7(0x1cd)]=0x0]='Undefined',_0x361b1c[_0x361b1c[_0x3719d7(0x2eb)]=0x1]=_0x3719d7(0x2eb),_0x361b1c[_0x361b1c[_0x3719d7(0x249)]=0x2]=_0x3719d7(0x249),_0x361b1c[_0x361b1c[_0x3719d7(0x443)]=0x3]='UnitEmbedded',_0x361b1c[_0x361b1c[_0x3719d7(0x24e)]=0x4]=_0x3719d7(0x24e),_0x361b1c[_0x361b1c['UserProfileImg']=0x5]=_0x3719d7(0x2a4),_0x361b1c[_0x361b1c[_0x3719d7(0x1b7)]=-0x1]=_0x3719d7(0x1b7),_0x361b1c))(pi||{});const Os=_0x3719d7(0x474);function bs(_0x5ef569){var _0x210881=_0x3719d7;return JSON[_0x210881(0x2c8)](_0x5ef569)['length'];}var ne=(_0x570339=>(_0x570339['OTHER_CLIENT_EDITING']=_0x3719d7(0x29b),_0x570339[_0x3719d7(0x40f)]=_0x3719d7(0x40f),_0x570339['CONFLICT']=_0x3719d7(0x22c),_0x570339[_0x3719d7(0x3ca)]='CLOSE_ROOM',_0x570339['JOIN_ROOM_FAILED']=_0x3719d7(0x296),_0x570339[_0x3719d7(0x3b2)]=_0x3719d7(0x3b2),_0x570339[_0x3719d7(0x30a)]=_0x3719d7(0x30a),_0x570339[_0x3719d7(0x295)]=_0x3719d7(0x295),_0x570339))(ne||{});class ve{constructor(){var _0x393596=_0x3719d7;N(this,'_event$',new _0x3ca5c9()),N(this,_0x393596(0x266),this[_0x393596(0x19a)]['asObservable']());}[_0x3719d7(0x3e6)](_0x1487c4){var _0x438118=_0x3719d7;this['_event$'][_0x438118(0x438)](_0x1487c4);}}class mi{constructor(){var _0x270269=_0x3719d7;N(this,_0x270269(0x21c),new _0x3ca5c9()),N(this,_0x270269(0x1a2),this['_commentUpdate$'][_0x270269(0x1d3)]());}['onCommentUpdate'](_0xbfc76e){var _0x1ea67b=_0x3719d7;this['_commentUpdate$'][_0x1ea67b(0x438)](_0xbfc76e);}}var ys=Object[_0x3719d7(0x2d0)],Ns=(_0x53b483,_0x369258,_0x932515,_0xba687a)=>{var _0x21bcdd=_0x3719d7;for(var _0x5ab866=_0xba687a>0x1?void 0x0:_0xba687a?ys(_0x369258,_0x932515):_0x369258,_0x518812=_0x53b483[_0x21bcdd(0x463)]-0x1,_0x2a2c71;_0x518812>=0x0;_0x518812--)(_0x2a2c71=_0x53b483[_0x518812])&&(_0x5ab866=_0x2a2c71(_0x5ab866)||_0x5ab866);return _0x5ab866;},Ft=(_0xf37f77,_0x21df00)=>(_0x4963d6,_0x3b1b64)=>_0x21df00(_0x4963d6,_0x3b1b64,_0xf37f77);let we=class extends _0x3c4e94{constructor(_0xf2a307,_0x4da51e){var _0x16256a=_0x3719d7;super(),N(this,'_roomMembers',new Map()),N(this,_0x16256a(0x427),new _0x3ca5c9()),(this[_0x16256a(0x484)]=_0xf2a307,this[_0x16256a(0x1c0)]=_0x4da51e,this[_0x16256a(0x389)](_0x2f8997(this['_univerInstanceService'][_0x16256a(0x369)](_0x14a7db[_0x16256a(0x1eb)])[_0x16256a(0x285)](_0x5a13d1(_0x4fb92d=>_0x4fb92d['getUnitId']())),this['_univerInstanceService'][_0x16256a(0x369)](_0x14a7db['UNIVER_DOC'])[_0x16256a(0x285)](_0x5a13d1(_0x4e74b6=>_0x4e74b6[_0x16256a(0x354)]())),this[_0x16256a(0x484)][_0x16256a(0x369)](_0x14a7db[_0x16256a(0x3be)])['pipe'](_0x5a13d1(_0x3fa120=>_0x3fa120[_0x16256a(0x354)]())))[_0x16256a(0x405)](_0x2e42de=>this[_0x16256a(0x38b)](_0x2e42de))));}[_0x3719d7(0x1dc)](_0x3f0ee2){var _0xcc11c6=_0x3719d7;return this[_0xcc11c6(0x309)][_0xcc11c6(0x3f0)](_0x3f0ee2)?_0x224c4f(this[_0xcc11c6(0x309)][_0xcc11c6(0x3b3)](_0x3f0ee2)):this[_0xcc11c6(0x427)][_0xcc11c6(0x285)](_0x5a13d1(_0x445318=>{var _0x2b1611=_0xcc11c6;if(_0x445318===_0x3f0ee2)return this[_0x2b1611(0x309)][_0x2b1611(0x3b3)](_0x445318);}));}['setCurrentUser'](_0xde4aee){var _0x37dbf0=_0x3719d7;this['_userManagerService'][_0x37dbf0(0x33b)](_0xde4aee);}[_0x3719d7(0x485)](){var _0x4fb851=_0x3719d7;return this[_0x4fb851(0x1c0)][_0x4fb851(0x485)]();}[_0x3719d7(0x2f5)](_0x421e99,_0x231357){var _0x9a6fd0=_0x3719d7;let _0x43a20d=this[_0x9a6fd0(0x309)]['get'](_0x421e99);_0x43a20d||(_0x43a20d=new Ds(),this[_0x9a6fd0(0x309)]['set'](_0x421e99,_0x43a20d),this[_0x9a6fd0(0x427)]['next'](_0x421e99)),_0x43a20d[_0x9a6fd0(0x2f5)](_0x231357);}[_0x3719d7(0x1c7)](_0x12aacc,_0x39f2af){var _0x2dea95=_0x3719d7;const _0x5eaf74=this[_0x2dea95(0x309)][_0x2dea95(0x3b3)](_0x12aacc);_0x5eaf74&&_0x5eaf74[_0x2dea95(0x1c7)](_0x39f2af);}[_0x3719d7(0x381)](_0x53d3d2){var _0x1688fc=_0x3719d7;return this[_0x1688fc(0x309)]['get'](_0x53d3d2);}[_0x3719d7(0x3d4)](_0x31eae0,_0x237bfb){var _0x51df4e=_0x3719d7;const _0x188db9=this[_0x51df4e(0x309)][_0x51df4e(0x3b3)](_0x31eae0);if(_0x188db9)return _0x188db9[_0x51df4e(0x3d4)](_0x237bfb);}['_removeRoom'](_0x55a5e0){var _0x418078=_0x3719d7;const _0x5d28df=this['_roomMembers']['get'](_0x55a5e0);_0x5d28df&&(_0x5d28df[_0x418078(0x421)](),this[_0x418078(0x309)]['delete'](_0x55a5e0));}[_0x3719d7(0x421)](){var _0x4f4999=_0x3719d7;this[_0x4f4999(0x309)][_0x4f4999(0x473)](_0x272448=>_0x272448[_0x4f4999(0x421)]()),this[_0x4f4999(0x309)][_0x4f4999(0x1de)](),this['_roomCreated$'][_0x4f4999(0x319)]();}};we=Ns([Ft(0x0,_0x3b570d),Ft(0x1,_0x9a05e2(_0x1c9002))],we);class Ds extends _0x3c4e94{constructor(){var _0x50a172=_0x3719d7;super(...arguments),N(this,_0x50a172(0x28b),new Map()),N(this,_0x50a172(0x35f),new _0x261aac(this[_0x50a172(0x28b)])),N(this,_0x50a172(0x2cb),this['_members$'][_0x50a172(0x1d3)]());}['dispose'](){var _0x28dab2=_0x3719d7;this[_0x28dab2(0x28b)][_0x28dab2(0x1de)]();}['updateMember'](_0x117bf6){var _0x6081c9=_0x3719d7;this[_0x6081c9(0x28b)][_0x6081c9(0x1cb)](_0x117bf6['memberID'],_0x117bf6),this[_0x6081c9(0x32f)]();}[_0x3719d7(0x1c7)](_0x4b4950){var _0x5bc09c=_0x3719d7;this[_0x5bc09c(0x28b)]['delete'](_0x4b4950);}[_0x3719d7(0x3d4)](_0x92ca72){var _0x4bd9ce=_0x3719d7;return this['_members'][_0x4bd9ce(0x3b3)](_0x92ca72);}[_0x3719d7(0x2e5)](){var _0x37d813=_0x3719d7;return Array[_0x37d813(0x33c)](this[_0x37d813(0x28b)]['values']());}[_0x3719d7(0x32f)](){var _0x59e705=_0x3719d7;this['_members$'][_0x59e705(0x438)](this[_0x59e705(0x28b)]);}}var Us=Object[_0x3719d7(0x2d0)],As=(_0x5f37b2,_0x225eba,_0x4a76d7,_0x5ab1aa)=>{var _0x1cd828=_0x3719d7;for(var _0x265382=_0x5ab1aa>0x1?void 0x0:_0x5ab1aa?Us(_0x225eba,_0x4a76d7):_0x225eba,_0x4b4ab5=_0x5f37b2[_0x1cd828(0x463)]-0x1,_0x4c4099;_0x4b4ab5>=0x0;_0x4b4ab5--)(_0x4c4099=_0x5f37b2[_0x4b4ab5])&&(_0x265382=_0x4c4099(_0x265382)||_0x265382);return _0x265382;},Ce=(_0x1161ed,_0x559ca6)=>(_0xd0abee,_0x3d8df0)=>_0x559ca6(_0xd0abee,_0x3d8df0,_0x1161ed),ge=(_0x377127=>(_0x377127[_0x377127[_0x3719d7(0x372)]=0x0]=_0x3719d7(0x372),_0x377127[_0x377127[_0x3719d7(0x401)]=0x1]='JOINING',_0x377127[_0x377127[_0x3719d7(0x1b5)]=0x2]=_0x3719d7(0x1b5),_0x377127[_0x377127[_0x3719d7(0x3cc)]=0x3]=_0x3719d7(0x3cc),_0x377127))(ge||{});const Vt={[pe[_0x3719d7(0x225)]]:_0x3719d7(0x1bb),[pe[_0x3719d7(0x282)]]:_0x3719d7(0x35b),[pe['JOIN_ROOM_NOT_EXISTS']]:_0x3719d7(0x240),[pe[_0x3719d7(0x349)]]:_0x3719d7(0x42d),[pe[_0x3719d7(0x2e1)]]:_0x3719d7(0x2ba)};let gt=class extends _0x103aff{constructor(_0x4ab777,_0x445568,_0x4b83e4,_0x17f24a,_0x397ef3,_0x131641,_0x5e5dc9,_0x2ceee6){var _0x1a178c=_0x3719d7;super(),N(this,_0x1a178c(0x214),new _0x261aac(0x0)),N(this,_0x1a178c(0x1db),this[_0x1a178c(0x214)][_0x1a178c(0x1d3)]()),N(this,_0x1a178c(0x19a),new _0x3ca5c9()),N(this,_0x1a178c(0x266),this[_0x1a178c(0x19a)][_0x1a178c(0x1d3)]()),N(this,_0x1a178c(0x2f9)),N(this,_0x1a178c(0x1b2)),N(this,_0x1a178c(0x391)),N(this,_0x1a178c(0x1d8),!0x1),N(this,'_telemetryInfo',null),(this[_0x1a178c(0x1ec)]=_0x4ab777,this['_logService']=_0x4b83e4,this['_configService']=_0x17f24a,this['_memberService']=_0x397ef3,this[_0x1a178c(0x299)]=_0x131641,this[_0x1a178c(0x32a)]=_0x5e5dc9,this[_0x1a178c(0x465)]=_0x2ceee6,this[_0x1a178c(0x1d8)]=!!this[_0x1a178c(0x465)],_0x445568[_0x1a178c(0x285)](_0x4176c5(this[_0x1a178c(0x361)]))[_0x1a178c(0x405)](_0x46aa3f=>{var _0x59f6dd=_0x1a178c,_0x12b5e3;typeof _0x46aa3f>'u'||(this[_0x59f6dd(0x2f9)]=_0x46aa3f,_0x46aa3f?(this[_0x59f6dd(0x2ab)](_0x46aa3f),this['_socketMessageSubscription']=_0x46aa3f[_0x59f6dd(0x3e5)][_0x59f6dd(0x405)](_0x32ae0a=>{var _0x36bda1=_0x59f6dd;_0x32ae0a[_0x36bda1(0x228)]===this[_0x36bda1(0x1ec)]&&this['_onCombEvent'](_0x32ae0a);})):(this[_0x59f6dd(0x1ea)](),this['_sessionStatus$'][_0x59f6dd(0x438)](0x2),(_0x12b5e3=this[_0x59f6dd(0x1b2)])==null||_0x12b5e3[_0x59f6dd(0x31d)](),this['_socketMessageSubscription']=null));}));}get[_0x3719d7(0x3e9)](){var _0x41bb24=_0x3719d7;return this[_0x41bb24(0x214)][_0x41bb24(0x297)]();}[_0x3719d7(0x23d)](){var _0xaf5d8f,_0x542c41;return(_0x542c41=(_0xaf5d8f=this['_socket'])==null?void 0x0:_0xaf5d8f['memberID'])!=null?_0x542c41:null;}[_0x3719d7(0x421)](){var _0x3ed57e=_0x3719d7;super['dispose'](),this[_0x3ed57e(0x361)]['next'](),this[_0x3ed57e(0x361)][_0x3ed57e(0x319)]();}[_0x3719d7(0x276)](){var _0x42966d=_0x3719d7,_0x33b321,_0x2e1caa;this[_0x42966d(0x1ea)](),(_0x33b321=this['_socket'])==null||_0x33b321[_0x42966d(0x377)]({'cmd':F[_0x42966d(0x19c)],'data':{'roomID':this[_0x42966d(0x1ec)]}}),(_0x2e1caa=this[_0x42966d(0x2f9)])==null||_0x2e1caa['close'](),this[_0x42966d(0x19a)][_0x42966d(0x319)](),this['_sessionStatus$'][_0x42966d(0x319)](),this[_0x42966d(0x421)]();}[_0x3719d7(0x198)](_0x588753){var _0x227342=_0x3719d7;_0x588753['cmd']===F[_0x227342(0x261)]?this[_0x227342(0x20c)](_0x588753):_0x588753[_0x227342(0x2c6)]===F[_0x227342(0x37b)]&&this['_onRecvEvent'](_0x588753);}['_joinRoom'](_0x27dae5){var _0x384371=_0x3719d7;this[_0x384371(0x214)][_0x384371(0x438)](0x1),_0x27dae5[_0x384371(0x377)]({'cmd':F[_0x384371(0x261)],'routeKey':this[_0x384371(0x1ec)],'routeType':'','data':{'rooms':[{'roomID':this[_0x384371(0x1ec)]}]}});}[_0x3719d7(0x20c)](_0xf5857d){var _0x5b3e97=_0x3719d7,_0x6359d7;if(_0xf5857d[_0x5b3e97(0x216)]in Vt){this[_0x5b3e97(0x32a)][_0x5b3e97(0x3e6)]({'id':ne[_0x5b3e97(0x296)],'data':Vt[_0xf5857d[_0x5b3e97(0x216)]]}),this[_0x5b3e97(0x214)][_0x5b3e97(0x438)](0x2);return;}this[_0x5b3e97(0x214)][_0x5b3e97(0x438)](0x3);const _0x58013c=(_0x6359d7=_0xf5857d['data'][_0x5b3e97(0x30d)][this[_0x5b3e97(0x1ec)]])==null?void 0x0:_0x6359d7['members'];_0x58013c&&_0x58013c[_0x5b3e97(0x473)](_0x36c9ea=>this[_0x5b3e97(0x27c)]['updateMember'](this[_0x5b3e97(0x1ec)],_0x36c9ea));}[_0x3719d7(0x353)](_0x1bcbe9){var _0x497c05=_0x3719d7;try{const _0x28fe7f=_0x1bcbe9[_0x497c05(0x3a8)];switch(_0x28fe7f['eventID']){case _0x1454f[_0x497c05(0x471)]:this[_0x497c05(0x3f1)](_0x28fe7f),this[_0x497c05(0x19a)]['next'](_0x28fe7f);break;case _0x1454f[_0x497c05(0x313)]:this[_0x497c05(0x24f)](_0x28fe7f),this[_0x497c05(0x19a)]['next'](_0x28fe7f);break;case _0x1454f[_0x497c05(0x1b8)]:case _0x1454f['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x497c05(0x438)](_0x28fe7f);break;case _0x1454f[_0x497c05(0x195)]:this[_0x497c05(0x3c6)][_0x497c05(0x19b)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x497c05(0x2c8)](_0x28fe7f)),this[_0x497c05(0x19a)][_0x497c05(0x438)](_0x28fe7f);break;case _0x1454f[_0x497c05(0x419)]:this[_0x497c05(0x299)][_0x497c05(0x383)](_0x28fe7f[_0x497c05(0x3a8)]),this[_0x497c05(0x19a)][_0x497c05(0x438)](_0x28fe7f);break;default:this[_0x497c05(0x19a)][_0x497c05(0x438)](_0x28fe7f);}}catch(_0x53002f){this[_0x497c05(0x3c6)]['error'](_0x53002f,_0x1bcbe9);}}[_0x3719d7(0x3f1)](_0x45b78d){var _0x4ae29b=_0x3719d7;this[_0x4ae29b(0x27c)]['updateMember'](this['_unitID'],_0x45b78d[_0x4ae29b(0x3a8)]);}[_0x3719d7(0x24f)](_0x5e0fd7){var _0x50de44=_0x3719d7;this[_0x50de44(0x27c)]['removeMember'](this['_unitID'],_0x5e0fd7['data'][_0x50de44(0x422)]);}async[_0x3719d7(0x377)](_0x20c961,_0x5bdc96){var _0x50449e=_0x3719d7;if(this[_0x50449e(0x3e9)]!==0x3||!this['_socket'])throw new Error(_0x50449e(0x2e8));try{_0x20c961[_0x50449e(0x20e)]===_0x1454f[_0x50449e(0x27b)]&&(this[_0x50449e(0x45d)](),this['_startTelemetryCollaborationNewChangeset'](_0x20c961)),this[_0x50449e(0x2f9)][_0x50449e(0x377)]({'cmd':F['INGEST'],'routeKey':_0x5bdc96,'routeType':'','data':_0x20c961});}catch(_0x258933){this['_logService'][_0x50449e(0x19b)](_0x258933);}}[_0x3719d7(0x45d)](){var _0xeb9893=_0x3719d7,_0x7b0ccb;this[_0xeb9893(0x391)]=setTimeout(()=>{var _0x79d9d1=_0xeb9893;this[_0x79d9d1(0x391)]=null,this[_0x79d9d1(0x32a)][_0x79d9d1(0x3e6)]({'id':ne[_0x79d9d1(0x295)]});},(_0x7b0ccb=this[_0xeb9893(0x2b3)]['getConfig'](di))!=null?_0x7b0ccb:fi);}['_clearCollaborationTimeoutTimer'](){var _0x1ef527=_0x3719d7;this[_0x1ef527(0x391)]&&(clearTimeout(this[_0x1ef527(0x391)]),this[_0x1ef527(0x391)]=null);}[_0x3719d7(0x375)](_0x5b2259){var _0x5b171=_0x3719d7;if(!this[_0x5b171(0x1d8)])return;const {data:_0x31fdcc}=_0x5b2259,{unitID:_0x511378,changeset:_0x4caa9a}=_0x31fdcc,{mutations:_0x970336,type:_0x349254}=_0x4caa9a;this[_0x5b171(0x410)]={'unitId':_0x511378,'type':_0x349254,'startTime':performance[_0x5b171(0x1f8)](),'stopTime':0x0,'duration':0x0,'size':bs(_0x970336)};}[_0x3719d7(0x3ce)](){var _0x1bbb8f=_0x3719d7;if(this['_shouldReportTelemetry']){if(!this[_0x1bbb8f(0x410)]){this[_0x1bbb8f(0x3c6)][_0x1bbb8f(0x19b)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x1bbb8f(0x410)][_0x1bbb8f(0x440)]=performance[_0x1bbb8f(0x1f8)](),this[_0x1bbb8f(0x410)]['duration']=this['_telemetryInfo'][_0x1bbb8f(0x440)]-this['_telemetryInfo'][_0x1bbb8f(0x239)],this[_0x1bbb8f(0x465)][_0x1bbb8f(0x464)](Os,this[_0x1bbb8f(0x410)]),this[_0x1bbb8f(0x410)]=null;}}[_0x3719d7(0x1ea)](){this['_telemetryInfo']=null;}};gt=As([Ce(0x2,_0x116fbc),Ce(0x3,_0x3f20e3),Ce(0x4,_0x9a05e2(we)),Ce(0x5,_0x9a05e2(mi)),Ce(0x6,_0x9a05e2(ve)),Ce(0x7,_0x16e192(_0x57e83d))],gt);const J=_0x428e84(_0x3719d7(0x335));function br(_0x1c552a){var _0x2e6c66=_0x3719d7;return _0x2e6c66(0x2d8)+_0x1c552a;}var ws=Object[_0x3719d7(0x2d0)],Ps=(_0x72e1fa,_0x3a23be,_0x2105a3,_0x5c0ea9)=>{var _0x542b0e=_0x3719d7;for(var _0xd90321=_0x5c0ea9>0x1?void 0x0:_0x5c0ea9?ws(_0x3a23be,_0x2105a3):_0x3a23be,_0x245b7a=_0x72e1fa[_0x542b0e(0x463)]-0x1,_0x1f8b8f;_0x245b7a>=0x0;_0x245b7a--)(_0x1f8b8f=_0x72e1fa[_0x245b7a])&&(_0xd90321=_0x1f8b8f(_0xd90321)||_0xd90321);return _0xd90321;},ut=(_0xe14109,_0x141374)=>(_0x5db5a3,_0x184cf6)=>_0x141374(_0x5db5a3,_0x184cf6,_0xe14109);function Ms(_0x2519a3){var _0x345901=_0x3719d7;const {unitID:_0x5b2a94,mutations:_0x260349}=_0x2519a3;return{'unitId':_0x5b2a94,'subUnitId':_0x260349[0x0][_0x345901(0x28f)]['subUnitId']};}let it=class{constructor(_0x592f15,_0x5786c9,_0x56fbec){var _0x65eade=_0x3719d7;this[_0x65eade(0x1f0)]=_0x592f15,this[_0x65eade(0x396)]=_0x5786c9,this['_instanceService']=_0x56fbec;}[_0x3719d7(0x248)](_0x30e5db){var _0x1c9a9c=_0x3719d7,_0x1771cf,_0x3b6924,_0x5e3f38,_0xa1cf01;const _0x37e070=this[_0x1c9a9c(0x1f0)][_0x1c9a9c(0x3b3)](_0x27cf59),{unitId:_0xab105b,subUnitId:_0x3f37a6}=Ms(_0x30e5db),_0x42337d=_0x37e070==null?void 0x0:_0x37e070[_0x1c9a9c(0x47e)](_0xab105b)[_0x1c9a9c(0x20a)](),_0x308ceb=(_0x3b6924=(_0x1771cf=this[_0x1c9a9c(0x310)][_0x1c9a9c(0x317)](_0xab105b))==null?void 0x0:_0x1771cf['getActiveSheet']())==null?void 0x0:_0x3b6924['getSheetId']();if(_0x42337d['length']===0x0||!_0xab105b||!_0x3f37a6)return;const _0x481603=[{'id':_0x39f493['id'],'params':{'unitId':_0xab105b,'subUnitId':_0x308ceb,'selections':_0xefb524[_0x1c9a9c(0x2e9)](_0x42337d)}}],_0x5687d2=this[_0x1c9a9c(0x396)]['transformMutationsWithChangeset'](_0x30e5db,_0x481603);if(!_0x22b450(_0x5687d2))throw _0x5687d2[_0x1c9a9c(0x19b)];const _0x50b7e1=(_0xa1cf01=(_0x5e3f38=_0x5687d2[_0x1c9a9c(0x278)][0x0])==null?void 0x0:_0x5e3f38[_0x1c9a9c(0x28f)])==null?void 0x0:_0xa1cf01[_0x1c9a9c(0x439)];if(Array[_0x1c9a9c(0x45e)](_0x50b7e1)&&_0x50b7e1[_0x1c9a9c(0x463)]){if(_0x50b7e1['length']===_0x481603[0x0][_0x1c9a9c(0x28f)][_0x1c9a9c(0x439)][_0x1c9a9c(0x463)]&&_0x50b7e1[_0x1c9a9c(0x444)]((_0x364ccb,_0x2280d8)=>_0xe2622d['equals'](_0x364ccb[_0x1c9a9c(0x3b0)],_0x481603[0x0][_0x1c9a9c(0x28f)][_0x1c9a9c(0x439)][_0x2280d8][_0x1c9a9c(0x3b0)])))return;this['_injector'][_0x1c9a9c(0x3b3)](_0x5491ec)[_0x1c9a9c(0x258)](_0x39f493['id'],{'unitId':_0xab105b,'subUnitId':_0x308ceb,'selections':_0x50b7e1});}}};it=Ps([ut(0x0,_0x9a05e2(_0x220a42)),ut(0x1,_0x53796d),ut(0x2,_0x3b570d)],it);const ht=_0x428e84(_0x3719d7(0x352));var gi=(_0xf34973=>(_0xf34973[_0xf34973[_0x3719d7(0x2c5)]=0x0]=_0x3719d7(0x2c5),_0xf34973[_0xf34973['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0xf34973))(gi||{});const K=_0x3719d7(0x21a),Ls={},xs=new Set([_0x5e97a1['id']]);function Wt(_0x11805d,_0x3f20cc,_0x4d9d75,_0x1e8afd,_0xb5f421){var _0x3d92f2=_0x3719d7,_0x26895e,_0x396948,_0x525d45,_0x79ba31;const _0x2feaa6=[];for(const _0x33c870 of _0x11805d)if(xs[_0x3d92f2(0x3f0)](_0x33c870['id'])){if(_0x2feaa6[_0x3d92f2(0x463)]>0x0)break;_0x2feaa6[_0x3d92f2(0x33e)](_0x33c870);break;}else _0x2feaa6[_0x3d92f2(0x33e)](_0x33c870);const _0x590523=(_0x396948=(_0x26895e=_0xb5f421[_0x3d92f2(0x485)]())==null?void 0x0:_0x26895e[_0x3d92f2(0x2a8)])!=null?_0x396948:_0x3d92f2(0x34c),_0x176f53=(_0x79ba31=(_0x525d45=_0xb5f421[_0x3d92f2(0x485)]())==null?void 0x0:_0x525d45['memberID'])!=null?_0x79ba31:_0x3d92f2(0x34c);return{'changeset':{'unitID':_0x3f20cc,'type':_0x23c0c5(_0x4d9d75[_0x3d92f2(0x1ad)](_0x3f20cc)),'baseRev':_0x1e8afd[_0x3d92f2(0x2d2)](_0x3f20cc),'revision':0x0,'userID':_0x590523,'memberID':_0x176f53,'mutations':_0x2feaa6},'pendingMutations':_0x11805d[_0x3d92f2(0x40c)](_0x2feaa6['length'])};}function ks(_0x162671,_0x50cee8,_0x5496ac,_0x19bbe2,_0x373f10){var _0x53c25f=_0x3719d7,_0x5ce589,_0x17170b,_0x15ad5d,_0x19e3e4;const _0x2654ad=[_0x162671[_0x53c25f(0x3c7)]((_0x16d10f,_0x4c344a)=>{var _0x34fd80=_0x53c25f,_0x2b1e87;const {id:_0x4e612f}=_0x16d10f,{id:_0x24b413,type:_0x52abd4}=_0x4c344a,_0xddc198=(_0x2b1e87=_0x16d10f[_0x34fd80(0x28f)])!=null?_0x2b1e87:{'actions':null},_0xa1b9be=_0x4c344a[_0x34fd80(0x28f)];if(_0x4e612f&&_0x4e612f!==_0x24b413)throw new Error(_0x34fd80(0x3d9)+_0x4e612f+'\x20-\x20'+_0x24b413+'.');return{..._0x16d10f,'id':_0x24b413,'type':_0x52abd4,'params':{'unitId':_0xa1b9be[_0x34fd80(0x35c)],'textRanges':_0xa1b9be[_0x34fd80(0x218)],'actions':_0x3503b4['compose'](_0xddc198[_0x34fd80(0x245)],_0xa1b9be['actions'])}};},{})],_0x256216=(_0x17170b=(_0x5ce589=_0x373f10['getCurrentUser']())==null?void 0x0:_0x5ce589['userID'])!=null?_0x17170b:_0x53c25f(0x34c),_0x44ca70=(_0x19e3e4=(_0x15ad5d=_0x373f10['getCurrentUser']())==null?void 0x0:_0x15ad5d['memberID'])!=null?_0x19e3e4:_0x53c25f(0x34c);return{'changeset':{'unitID':_0x50cee8,'type':_0x23c0c5(_0x5496ac[_0x53c25f(0x1ad)](_0x50cee8)),'baseRev':_0x19bbe2[_0x53c25f(0x2d2)](_0x50cee8),'revision':0x0,'userID':_0x256216,'memberID':_0x44ca70,'mutations':_0x2654ad},'pendingMutations':[]};}function Si(_0x53a86f,_0x509886){var _0x46bbcb=_0x3719d7;const _0xf0593a=new _0x2f4850(0x1);return setTimeout(()=>_0xf0593a['next'](_0x509886),_0x53a86f),_0xf0593a[_0x46bbcb(0x1d3)]()['pipe'](_0x17a050(0x1));}const $s={'id':_0x295ef4['id'],'type':_0x1f5e95[_0x3719d7(0x41a)],'params':{}};var Hs=Object[_0x3719d7(0x2d0)],Ee=(_0x5e579d,_0x53b7cf,_0x5b227f,_0x26f94b)=>{var _0x5378c2=_0x3719d7;for(var _0xca5536=_0x26f94b>0x1?void 0x0:_0x26f94b?Hs(_0x53b7cf,_0x5b227f):_0x53b7cf,_0x46336e=_0x5e579d[_0x5378c2(0x463)]-0x1,_0x4e37b6;_0x46336e>=0x0;_0x46336e--)(_0x4e37b6=_0x5e579d[_0x46336e])&&(_0xca5536=_0x4e37b6(_0xca5536)||_0xca5536);return _0xca5536;},P=(_0x2614c7,_0x3bc42f)=>(_0xf12c3a,_0x413d9a)=>_0x3bc42f(_0xf12c3a,_0x413d9a,_0x2614c7),Ei=(_0x81690d=>(_0x81690d[_0x3719d7(0x402)]='not_collab',_0x81690d['SYNCED']=_0x3719d7(0x426),_0x81690d[_0x3719d7(0x1e8)]='pending',_0x81690d['AWAITING']='awaiting',_0x81690d[_0x3719d7(0x3fc)]=_0x3719d7(0x480),_0x81690d[_0x3719d7(0x3f4)]=_0x3719d7(0x1c4),_0x81690d[_0x3719d7(0x22c)]='conflict',_0x81690d[_0x3719d7(0x1b5)]=_0x3719d7(0x1c9),_0x81690d))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x2bd83b,_0x3cdd0b,_0x161b9c,_0xda1639,_0x3d3e27,_0xed4f27,_0x57ca38,_0x2268f7,_0x54f921){var _0x58fe8f=_0x3719d7;N(this,_0x58fe8f(0x3cf),null),N(this,_0x58fe8f(0x458),[]),(this[_0x58fe8f(0x43a)]=_0x2bd83b,this[_0x58fe8f(0x246)]=_0x3cdd0b,this['_handler']=_0x3d3e27,this[_0x58fe8f(0x408)]=_0xed4f27,this['_undoRedoService']=_0x57ca38,this[_0x58fe8f(0x3a6)]=_0x2268f7,this['_localCacheService']=_0x54f921,this[_0x58fe8f(0x3cf)]=_0x161b9c,this['_pendingMutations']=_0xda1639);}['_checkMissing'](_0x17c968){var _0x26bd41=_0x3719d7;const _0x3f2b44=this[_0x26bd41(0x3a6)][_0x26bd41(0x2d2)](this['unitID']);return _0x17c968[_0x26bd41(0x36b)]>_0x3f2b44+0x1?(this['_handler']['onMissingChangesets']({'from':_0x3f2b44,'to':_0x17c968[_0x26bd41(0x36b)]-0x1}),!0x0):!0x1;}[_0x3719d7(0x374)](_0x59fd25){var _0x2bd826=_0x3719d7;this['_undoRedoService'][_0x2bd826(0x328)](this[_0x2bd826(0x43a)],_0x59fd25);}[_0x3719d7(0x1b6)](_0x2d7cbc){var _0x57f0ec=_0x3719d7,_0xd8383d,_0x52e372;(_0x52e372=(_0xd8383d=this[_0x57f0ec(0x235)])[_0x57f0ec(0x1ac)])==null||_0x52e372['call'](_0xd8383d,_0x2d7cbc);}[_0x3719d7(0x3fa)](_0x59f3fe){var _0x432307=_0x3719d7,_0x186a91,_0x2ac07e;return(_0x2ac07e=(_0x186a91=this[_0x432307(0x235)])[_0x432307(0x215)])==null?void 0x0:_0x2ac07e['call'](_0x186a91,_0x59f3fe);}[_0x3719d7(0x2c7)](_0x3c7716){var _0x3227ec=_0x3719d7,_0x36a8ee,_0x36ca60;return(_0x36ca60=(_0x36a8ee=this[_0x3227ec(0x235)])[_0x3227ec(0x2cc)])==null?void 0x0:_0x36ca60[_0x3227ec(0x255)](_0x36a8ee,_0x3c7716);}[_0x3719d7(0x221)](_0x46142c){var _0x1b5938,_0x230fe0,_0xb59071;return(_0xb59071=(_0x230fe0=(_0x1b5938=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x230fe0['call'](_0x1b5938,_0x46142c))!=null?_0xb59071:_0x46142c;}[_0x3719d7(0x292)](_0x15d67a){var _0x45ab10=_0x3719d7,_0x46622e,_0x17244e,_0x190cda;return(_0x190cda=(_0x17244e=(_0x46622e=this[_0x45ab10(0x235)])[_0x45ab10(0x233)])==null?void 0x0:_0x17244e[_0x45ab10(0x255)](_0x46622e,_0x15d67a))!=null?_0x190cda:_0x15d67a;}[_0x3719d7(0x1df)](_0x4c23cb){var _0x542a64=_0x3719d7,_0x4661b1,_0x189ded;if(this[_0x542a64(0x246)]===Z[_0x542a64(0x406)]){const {unitID:_0x371713,mutations:_0x383245,memberID:_0x1bab59}=_0x4c23cb,_0x3e4909=_0x383245[0x0][_0x542a64(0x28f)][_0x542a64(0x218)];Array[_0x542a64(0x45e)](_0x3e4909)&&_0x3e4909['length']>0x0&&((_0x189ded=(_0x4661b1=this[_0x542a64(0x235)])['onSyncEditingCollabCursor'])==null||_0x189ded[_0x542a64(0x255)](_0x4661b1,{'unitID':_0x371713,'memberID':_0x1bab59,'textRanges':_0x3e4909}));}}[_0x3719d7(0x1ca)](){var _0x71b0e5=_0x3719d7,_0x24c61f;(_0x24c61f=this['_localCacheService'])==null||_0x24c61f['updateOfflineData'](this['unitID'],this[_0x71b0e5(0x246)],this[_0x71b0e5(0x3cf)],this[_0x71b0e5(0x458)]);}[_0x3719d7(0x290)](){var _0x4e65b1=_0x3719d7;return this[_0x4e65b1(0x3a6)][_0x4e65b1(0x2d2)](this[_0x4e65b1(0x43a)]);}[_0x3719d7(0x21f)](){var _0x102595=_0x3719d7;this[_0x102595(0x3a6)]['incrementRevOfUnit'](this[_0x102595(0x43a)]);}[_0x3719d7(0x1d5)](_0x1ad22f){var _0x2ba68f=_0x3719d7,_0x5a88d6;let _0x170825=this[_0x2ba68f(0x221)](_0x1ad22f);_0x170825=this[_0x2ba68f(0x292)](_0x170825);const _0x2ccb00=_0x288403(_0x170825[_0x2ba68f(0x1b3)],this[_0x2ba68f(0x408)],{'fromCollab':!0x0});if(!_0x2ccb00['result'])throw _0x2ccb00[_0x2ba68f(0x19b)]instanceof Error?_0x2ccb00[_0x2ba68f(0x19b)]:new Error((_0x5a88d6=_0x2ccb00[_0x2ba68f(0x19b)])!=null?_0x5a88d6:'[CollaborationState]:\x20apply\x20error!');this[_0x2ba68f(0x3fa)](_0x170825),this['_transformStateCache'](_0x170825),this['_transformUndoredo'](_0x1ad22f),this[_0x2ba68f(0x1b6)](_0x170825),this[_0x2ba68f(0x1df)](_0x170825),this['_incrementRevisionNumber']();}}let ye=class extends Ie{constructor(_0x541577,_0x1969ee,_0x4b116f,_0xcd9eda,_0x11cc4b,_0x5b7b78,_0x33d02a,_0x28f2f4,_0x5cf4fb,_0x116486){var _0x4208c7=_0x3719d7;super(_0x541577,_0x1969ee,null,[],_0x4b116f,_0x33d02a,_0x5b7b78,_0xcd9eda,_0x116486),N(this,_0x4208c7(0x453),_0x4208c7(0x426)),(this[_0x4208c7(0x1f0)]=_0x11cc4b,this[_0x4208c7(0x3c6)]=_0x28f2f4,this[_0x4208c7(0x396)]=_0x5cf4fb,this[_0x4208c7(0x23e)]=_0x116486);}[_0x3719d7(0x191)](_0x31fabf){var _0x176ff5=_0x3719d7;const _0x5999ef=this['_injector'][_0x176ff5(0x3c1)](re,this[_0x176ff5(0x43a)],this[_0x176ff5(0x246)],[_0x31fabf],this[_0x176ff5(0x235)]);return _0x5999ef[_0x176ff5(0x29a)](),_0x5999ef[_0x176ff5(0x1ca)](),_0x5999ef;}[_0x3719d7(0x1f7)](_0x42cd93){var _0x30819b=_0x3719d7;if(this[_0x30819b(0x2f0)](_0x42cd93))return this['_injector']['createInstance'](Q,this[_0x30819b(0x43a)],this[_0x30819b(0x246)],null,[],null,[_0x42cd93],this[_0x30819b(0x235)]);try{const _0x39fe5e=this[_0x30819b(0x396)][_0x30819b(0x1fe)](_0x42cd93,[$s]);if(_0x22b450(_0x39fe5e)){const {c1Prime:_0x40c108}=_0x39fe5e;return this[_0x30819b(0x1d5)](_0x40c108),this;}throw _0x39fe5e[_0x30819b(0x19b)];}catch(_0x3d7a56){return this[_0x30819b(0x3c6)][_0x30819b(0x19b)](_0x3d7a56),this['_onConflict'](!0x1);}}[_0x3719d7(0x3a0)](_0x1d966b){var _0x50762a=_0x3719d7;return this[_0x50762a(0x1f0)][_0x50762a(0x3c1)](le,this['unitID'],this['type'],null,[],this['_handler'],_0x1d966b);}[_0x3719d7(0x205)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x3719d7(0x213)](){var _0x2b6276=_0x3719d7;throw new Error(_0x2b6276(0x475));}[_0x3719d7(0x288)](){return this;}['toggleOffline'](){var _0x2c46c8=_0x3719d7;return this[_0x2c46c8(0x1f0)]['createInstance'](ue,this[_0x2c46c8(0x43a)],this['type'],null,[],this[_0x2c46c8(0x235)]);}['toggleOnline'](){return this;}[_0x3719d7(0x399)](){var _0x18e417=_0x3719d7;throw new Error(_0x18e417(0x20d));}[_0x3719d7(0x199)](){var _0x120afe=_0x3719d7;const _0x3304f9=this['_revisionService'][_0x120afe(0x2d2)](this[_0x120afe(0x43a)]);return this[_0x120afe(0x235)][_0x120afe(0x270)]({'from':_0x3304f9,'to':0x0}),this[_0x120afe(0x1f0)][_0x120afe(0x3c1)](Q,this['unitID'],this['type'],null,[],null,[],this['_handler']);}};ye=Ee([P(0x3,_0x9a05e2(_0x1882ad)),P(0x4,_0x9a05e2(_0x220a42)),P(0x5,_0x36e271),P(0x6,_0x5491ec),P(0x7,_0x116fbc),P(0x8,_0x53796d),P(0x9,_0x16e192(J))],ye);let re=class extends Ie{constructor(_0x5646be,_0x3d9d74,_0x5243bd,_0xd1cd2e,_0x1477ca,_0x1afb99,_0x319d82,_0x3eb9c7,_0x5ec189,_0xf8667b,_0x1eec61,_0x303cf1,_0x3b4246,_0xc78a5b){var _0x522b80=_0x3719d7;super(_0x5646be,_0x3d9d74,null,_0x5243bd,_0xd1cd2e,_0x5ec189,_0x3b4246,_0x1afb99,_0xc78a5b),N(this,'status',_0x522b80(0x286)),N(this,_0x522b80(0x2c1),null),N(this,_0x522b80(0x1d0),null),(this['_injector']=_0x1477ca,this[_0x522b80(0x27c)]=_0x319d82,this[_0x522b80(0x3c6)]=_0x3eb9c7,this[_0x522b80(0x2b3)]=_0xf8667b,this[_0x522b80(0x396)]=_0x1eec61,this[_0x522b80(0x484)]=_0x303cf1);}[_0x3719d7(0x191)](_0x14cea2){var _0xcf451f=_0x3719d7;return this[_0xcf451f(0x458)][_0xcf451f(0x33e)](_0x14cea2),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x16a9f7){var _0x3995e0=_0x3719d7;if(this['_checkMissing'](_0x16a9f7))return this[_0x3995e0(0x2bf)](),this[_0x3995e0(0x1f0)][_0x3995e0(0x3c1)](Q,this[_0x3995e0(0x43a)],this[_0x3995e0(0x246)],null,this[_0x3995e0(0x458)],null,[_0x16a9f7],this[_0x3995e0(0x235)]);try{const _0x43a6fe=this[_0x3995e0(0x396)]['transformMutationsWithChangeset'](_0x16a9f7,this[_0x3995e0(0x458)]);if(_0x22b450(_0x43a6fe)){const {c1Prime:_0xf53078,m2Prime:_0x4c9006}=_0x43a6fe;this['_executeRemoteChangeset'](_0xf53078);const _0x2f7cdf=this[_0x3995e0(0x1f0)][_0x3995e0(0x3c1)](re,this[_0x3995e0(0x43a)],this[_0x3995e0(0x246)],_0x4c9006,this[_0x3995e0(0x235)]);this[_0x3995e0(0x2bf)]();const _0x45d3cf=new Date()[_0x3995e0(0x2b5)](),_0x187e6e=this[_0x3995e0(0x2c1)]?Math[_0x3995e0(0x28d)](this[_0x3995e0(0x2c1)]-_0x45d3cf,0x0):this[_0x3995e0(0x3df)]();return _0x2f7cdf['_schedule'](_0x187e6e),_0x2f7cdf;}throw _0x43a6fe[_0x3995e0(0x19b)];}catch(_0x2035c2){return this['_logService'][_0x3995e0(0x19b)](_0x2035c2),this[_0x3995e0(0x3a0)](!0x1);}}[_0x3719d7(0x205)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x3719d7(0x288)](){return this;}[_0x3719d7(0x1c5)](){var _0x1f78fd=_0x3719d7;return this[_0x1f78fd(0x2bf)](),this[_0x1f78fd(0x1f0)]['createInstance'](ue,this[_0x1f78fd(0x43a)],this[_0x1f78fd(0x246)],null,this[_0x1f78fd(0x458)],this[_0x1f78fd(0x235)]);}[_0x3719d7(0x466)](){return this;}[_0x3719d7(0x29a)](_0xf2b7f6){var _0x5123aa=_0x3719d7;const _0x4c8448=_0xf2b7f6!=null?_0xf2b7f6:this['_getSendChangesetTimeout']();this[_0x5123aa(0x2c1)]=new Date()[_0x5123aa(0x2b5)]()+_0x4c8448,this[_0x5123aa(0x1d0)]=setTimeout(()=>{var _0x26027c=_0x5123aa;this[_0x26027c(0x2bf)]();let _0x3c6a08=null;switch(this[_0x26027c(0x246)]){case Z['UNIVER_SHEET']:{_0x3c6a08=Wt(this[_0x26027c(0x458)],this[_0x26027c(0x43a)],this['_univerInstanceService'],this[_0x26027c(0x3a6)],this['_memberService']);break;}case Z['UNIVER_DOC']:{this[_0x26027c(0x458)][_0x26027c(0x444)](_0x3cfb9b=>_0x3cfb9b['id']===_0x56aa1d['id'])?_0x3c6a08=ks(this[_0x26027c(0x458)],this[_0x26027c(0x43a)],this[_0x26027c(0x484)],this[_0x26027c(0x3a6)],this['_memberService']):_0x3c6a08=Wt(this['_pendingMutations'],this[_0x26027c(0x43a)],this[_0x26027c(0x484)],this['_revisionService'],this[_0x26027c(0x27c)]);break;}default:throw new Error(_0x26027c(0x1d1)+this[_0x26027c(0x246)]+_0x26027c(0x1a3));}const {changeset:_0x319d57,pendingMutations:_0x34512d}=_0x3c6a08;this[_0x26027c(0x235)][_0x26027c(0x247)](_0x319d57);const _0x58ab23=_0x34512d[_0x26027c(0x463)]?this[_0x26027c(0x1f0)][_0x26027c(0x3c1)](ae,this[_0x26027c(0x43a)],this[_0x26027c(0x246)],_0x319d57,_0x34512d,this[_0x26027c(0x235)],void 0x0):this[_0x26027c(0x1f0)][_0x26027c(0x3c1)](_e,this['unitID'],this[_0x26027c(0x246)],_0x319d57,this[_0x26027c(0x235)]);_0x58ab23[_0x26027c(0x1ca)](),this['_handler'][_0x26027c(0x2e6)](this,_0x58ab23);},_0x4c8448);}[_0x3719d7(0x3df)](){var _0xf180ef=_0x3719d7,_0x382623;const _0x55861e=this[_0xf180ef(0x2b3)]['getConfig'](K);return(_0x382623=_0x55861e==null?void 0x0:_0x55861e[_0xf180ef(0x38c)])!=null?_0x382623:ps;}[_0x3719d7(0x399)](){var _0xc50b79=_0x3719d7;throw new Error(_0xc50b79(0x200));}[_0x3719d7(0x2bf)](){var _0x4e65ee=_0x3719d7;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x4e65ee(0x1d0)]=null);}[_0x3719d7(0x3a0)](_0x2925f0){var _0x580548=_0x3719d7;return this[_0x580548(0x2bf)](),this[_0x580548(0x1f0)][_0x580548(0x3c1)](le,this[_0x580548(0x43a)],this['type'],null,this[_0x580548(0x458)],this[_0x580548(0x235)],_0x2925f0);}};re=Ee([P(0x4,_0x9a05e2(_0x220a42)),P(0x5,_0x9a05e2(_0x1882ad)),P(0x6,_0x9a05e2(we)),P(0x7,_0x116fbc),P(0x8,_0x5491ec),P(0x9,_0x3f20e3),P(0xa,_0x53796d),P(0xb,_0x3b570d),P(0xc,_0x36e271),P(0xd,_0x16e192(J))],re);let _e=class extends Ie{constructor(_0x159469,_0x50b08c,_0x5288e4,_0x53a586,_0x4861c0,_0x42cf31,_0x77ab1d,_0x28f01a,_0x42a868,_0x3b5311,_0x3766e7){var _0x16f35c=_0x3719d7;super(_0x159469,_0x50b08c,_0x5288e4,[],_0x53a586,_0x77ab1d,_0x3b5311,_0x42cf31,_0x3766e7),N(this,_0x16f35c(0x453),_0x16f35c(0x251)),N(this,_0x16f35c(0x33a),0x0),N(this,_0x16f35c(0x2ef)),N(this,_0x16f35c(0x20f)),(this[_0x16f35c(0x1f0)]=_0x4861c0,this[_0x16f35c(0x3c6)]=_0x28f01a,this[_0x16f35c(0x396)]=_0x42a868);}[_0x3719d7(0x191)](_0x3d7d32){var _0x51fdf4=_0x3719d7;this[_0x51fdf4(0x2bf)]();const _0x3f2f20=this[_0x51fdf4(0x1f0)][_0x51fdf4(0x3c1)](ae,this['unitID'],this[_0x51fdf4(0x246)],this[_0x51fdf4(0x3cf)],[_0x3d7d32],this[_0x51fdf4(0x235)],this[_0x51fdf4(0x2ef)]);return _0x3f2f20[_0x51fdf4(0x1ca)](),_0x3f2f20;}[_0x3719d7(0x1f7)](_0x48b011){var _0x178e47=_0x3719d7;if(this['_checkMissing'](_0x48b011))return this['_clearScheduledTask'](),this[_0x178e47(0x1f0)][_0x178e47(0x3c1)](Q,this['unitID'],this[_0x178e47(0x246)],this['_awaitingChangeset'],[],null,[_0x48b011],this['_handler']);try{const _0x145c6e=this['_transformService'][_0x178e47(0x303)]([_0x48b011],[this[_0x178e47(0x3cf)]],!0x1);if(_0x212dc7(_0x145c6e)){const {c1Prime:_0x1ce716,c2Prime:_0x175c40}=_0x145c6e;this[_0x178e47(0x1d5)](_0x1ce716[0x0]),_0x175c40[0x0]['baseRev']=this[_0x178e47(0x290)](),this['_clearScheduledTask']();const _0x14abc4=this[_0x178e47(0x1f0)][_0x178e47(0x3c1)](_e,this['unitID'],this[_0x178e47(0x246)],_0x175c40[0x0],this[_0x178e47(0x235)]);return _0x14abc4['_updateLocalCache'](),_0x14abc4;}return this[_0x178e47(0x3a0)](!0x1);}catch(_0x39c6dd){return this[_0x178e47(0x3c6)][_0x178e47(0x19b)](_0x39c6dd),this[_0x178e47(0x3a0)](!0x1);}}[_0x3719d7(0x205)](_0x1eb12e){var _0x430765=_0x3719d7;this[_0x430765(0x2bf)]();const _0x5bec96=this[_0x430765(0x3a6)][_0x430765(0x2d2)](this[_0x430765(0x43a)]);if(_0x1eb12e[_0x430765(0x36b)]<_0x5bec96-0x1)return this;if(this[_0x430765(0x2f0)](_0x1eb12e))return this[_0x430765(0x1f0)][_0x430765(0x3c1)](Q,this[_0x430765(0x43a)],this[_0x430765(0x246)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x430765(0x21f)]();const _0x4366e4=this[_0x430765(0x1f0)][_0x430765(0x3c1)](ye,this[_0x430765(0x43a)],this[_0x430765(0x246)],this[_0x430765(0x235)]);return _0x4366e4['_updateLocalCache'](),_0x4366e4;}[_0x3719d7(0x213)](_0x39d402){var _0x450566=_0x3719d7;return this['_onConflict'](!!(_0x39d402!=null&&_0x39d402[_0x450566(0x31e)]));}['onRemoteRetry'](_0x60280f){var _0x278be7=_0x3719d7;return this[_0x278be7(0x33a)]>Ii?this[_0x278be7(0x1c5)]():(this[_0x278be7(0x2ef)]=Si(this[_0x278be7(0x33a)],{'timeout':this[_0x278be7(0x33a)],'reqId':_0x60280f[_0x278be7(0x45b)]}),this[_0x278be7(0x20f)]=this['_resendTimer'][_0x278be7(0x405)](({reqId:_0x5b265f,timeout:_0x4f8c0e})=>{var _0x416305=_0x278be7;this[_0x416305(0x370)](_0x5b265f,_0x4f8c0e);}),this);}[_0x3719d7(0x1c5)](){var _0x3b6c1d=_0x3719d7;return this[_0x3b6c1d(0x2bf)](),this[_0x3b6c1d(0x1f0)][_0x3b6c1d(0x3c1)](ue,this[_0x3b6c1d(0x43a)],this[_0x3b6c1d(0x246)],this[_0x3b6c1d(0x3cf)],[],this[_0x3b6c1d(0x235)]);}[_0x3719d7(0x466)](){return this;}[_0x3719d7(0x399)](){var _0xd3d3f1=_0x3719d7;this[_0xd3d3f1(0x235)]['onSendChangeset'](this[_0xd3d3f1(0x3cf)]);}[_0x3719d7(0x3a0)](_0x22a47){var _0x35f788=_0x3719d7;return this[_0x35f788(0x2bf)](),this[_0x35f788(0x1f0)][_0x35f788(0x3c1)](le,this[_0x35f788(0x43a)],this['type'],this[_0x35f788(0x3cf)],[],this[_0x35f788(0x235)],_0x22a47);}[_0x3719d7(0x370)](_0x587187,_0x1b4226){var _0x28dcc1=_0x3719d7,_0x1b4385;_0x587187===((_0x1b4385=this[_0x28dcc1(0x3cf)])==null?void 0x0:_0x1b4385[_0x28dcc1(0x45b)])&&(this['resend'](),this[_0x28dcc1(0x33a)]=_0x1b4226===0x0?0x3e8:_0x1b4226*0x2);}['_clearScheduledTask'](){var _0x1d1fde=_0x3719d7,_0x4cf260;(_0x4cf260=this['_sender'])==null||_0x4cf260['unsubscribe'](),this[_0x1d1fde(0x33a)]=0x0;}};_e=Ee([P(0x4,_0x9a05e2(_0x220a42)),P(0x5,_0x9a05e2(_0x1882ad)),P(0x6,_0x5491ec),P(0x7,_0x116fbc),P(0x8,_0x53796d),P(0x9,_0x36e271),P(0xa,_0x16e192(J))],_e);let ae=class extends Ie{constructor(_0x8a76,_0x5623a3,_0x5cb571,_0x1c593e,_0x38ddd9,_0x42adbd,_0x19bbfb,_0x2e4acc,_0x3c208c,_0x536d0a,_0x15a8f3,_0x46d23f,_0x53b7f2){var _0x322046=_0x3719d7;super(_0x8a76,_0x5623a3,_0x5cb571,_0x1c593e,_0x38ddd9,_0x3c208c,_0x46d23f,_0x2e4acc,_0x53b7f2),N(this,'status',_0x322046(0x480)),N(this,_0x322046(0x33a),0x0),N(this,_0x322046(0x2ef)),N(this,_0x322046(0x20f)),(this[_0x322046(0x1f0)]=_0x19bbfb,this[_0x322046(0x3c6)]=_0x536d0a,this[_0x322046(0x396)]=_0x15a8f3,this['localCacheService']=_0x53b7f2,_0x42adbd&&(this[_0x322046(0x2ef)]=_0x42adbd,this[_0x322046(0x20f)]=this['_resendTimer'][_0x322046(0x405)](({reqId:_0xa5511d,timeout:_0x5eda72})=>{var _0x32f333=_0x322046;this[_0x32f333(0x370)](_0xa5511d,_0x5eda72);})));}[_0x3719d7(0x191)](_0x27616a){var _0x239683=_0x3719d7;return this['_pendingMutations'][_0x239683(0x33e)](_0x27616a),this;}[_0x3719d7(0x1f7)](_0x1b1033){var _0x406b48=_0x3719d7;if(this['_checkMissing'](_0x1b1033))return this[_0x406b48(0x2bf)](),this[_0x406b48(0x1f0)][_0x406b48(0x3c1)](Q,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x406b48(0x458)],null,[_0x1b1033],this[_0x406b48(0x235)]);try{const _0x4a9f45=this[_0x406b48(0x396)][_0x406b48(0x303)]([_0x1b1033],[this[_0x406b48(0x3cf)]],!0x1);if(_0x212dc7(_0x4a9f45)){const {c1Prime:_0x44e81e,c2Prime:_0x5632a3}=_0x4a9f45,_0x2ef930=this[_0x406b48(0x396)][_0x406b48(0x1fe)](_0x44e81e[0x0],this[_0x406b48(0x458)]);if(_0x22b450(_0x2ef930)){const {c1Prime:_0x271b3b,m2Prime:_0x3e6e8c}=_0x2ef930;return this[_0x406b48(0x1d5)](_0x271b3b),_0x5632a3[0x0][_0x406b48(0x33d)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x406b48(0x1f0)]['createInstance'](ae,this[_0x406b48(0x43a)],this['type'],_0x5632a3[0x0],_0x3e6e8c,this[_0x406b48(0x235)],void 0x0);}throw _0x2ef930['error'];}throw _0x4a9f45[_0x406b48(0x19b)];}catch(_0x559b04){return this['_logService']['error'](_0x559b04),this['_onConflict'](!0x1);}}[_0x3719d7(0x205)](_0xda2337){var _0x12029d=_0x3719d7;if(this['_clearScheduledTask'](),this[_0x12029d(0x2f0)](_0xda2337))return this[_0x12029d(0x1f0)][_0x12029d(0x3c1)](Q,this[_0x12029d(0x43a)],this['type'],null,this[_0x12029d(0x458)],this['_awaitingChangeset'],[],this['_handler']);this[_0x12029d(0x21f)]();const _0xf34f11=this[_0x12029d(0x1f0)][_0x12029d(0x3c1)](re,this[_0x12029d(0x43a)],this[_0x12029d(0x246)],this[_0x12029d(0x458)],this[_0x12029d(0x235)]);return _0xf34f11[_0x12029d(0x29a)](),_0xf34f11[_0x12029d(0x1ca)](),_0xf34f11;}[_0x3719d7(0x213)](_0x2e9491){var _0x263324=_0x3719d7;return this[_0x263324(0x3a0)](!!(_0x2e9491!=null&&_0x2e9491[_0x263324(0x31e)]));}[_0x3719d7(0x288)](_0x588e5f){var _0x48a8a0=_0x3719d7;return this[_0x48a8a0(0x33a)]>Ii?this[_0x48a8a0(0x1c5)]():(this[_0x48a8a0(0x2ef)]=Si(this[_0x48a8a0(0x33a)],{'timeout':this[_0x48a8a0(0x33a)],'reqId':_0x588e5f[_0x48a8a0(0x45b)]}),this['_sender']=this[_0x48a8a0(0x2ef)][_0x48a8a0(0x405)](({reqId:_0x155dfc,timeout:_0x548ff8})=>{var _0x988ed=_0x48a8a0;this[_0x988ed(0x370)](_0x155dfc,_0x548ff8);}),this);}[_0x3719d7(0x1c5)](){var _0x22746d=_0x3719d7;return this[_0x22746d(0x2bf)](),this['_injector']['createInstance'](ue,this[_0x22746d(0x43a)],this[_0x22746d(0x246)],this[_0x22746d(0x3cf)],this['_pendingMutations'],this[_0x22746d(0x235)]);}[_0x3719d7(0x466)](){return this;}['resend'](){var _0xf7eb0b=_0x3719d7;this[_0xf7eb0b(0x235)][_0xf7eb0b(0x247)](this['_awaitingChangeset']);}[_0x3719d7(0x3a0)](_0x1a830a){var _0x3e2283=_0x3719d7;return this[_0x3e2283(0x2bf)](),this[_0x3e2283(0x1f0)][_0x3e2283(0x3c1)](le,this[_0x3e2283(0x43a)],this[_0x3e2283(0x246)],null,this[_0x3e2283(0x458)],this[_0x3e2283(0x235)],_0x1a830a);}['_resendWithTimeout'](_0x2cf280,_0x369f57){var _0x22cfa1=_0x3719d7,_0x5aaa77;_0x2cf280===((_0x5aaa77=this['_awaitingChangeset'])==null?void 0x0:_0x5aaa77[_0x22cfa1(0x45b)])&&(this[_0x22cfa1(0x399)](),this[_0x22cfa1(0x33a)]=_0x369f57===0x0?0x3e8:_0x369f57*0x2);}[_0x3719d7(0x2bf)](){var _0x3765b1=_0x3719d7,_0x45c24e;(_0x45c24e=this[_0x3765b1(0x20f)])==null||_0x45c24e['unsubscribe'](),this['_resendTimeout']=0x0;}};ae=Ee([P(0x6,_0x9a05e2(_0x220a42)),P(0x7,_0x9a05e2(_0x1882ad)),P(0x8,_0x5491ec),P(0x9,_0x116fbc),P(0xa,_0x53796d),P(0xb,_0x36e271),P(0xc,_0x16e192(J))],ae);let le=class extends Ie{constructor(_0x4b13cd,_0x33b24b,_0x21008a,_0x422199,_0x2006ae,_0x35aef6=!0x1,_0xe06a6,_0x46d1c6,_0x4f6a8d,_0xfeae8d,_0x2c29dd,_0x9a5425,_0x64eb88){var _0x2c0848=_0x3719d7;super(_0x4b13cd,_0x33b24b,_0x21008a,_0x422199,_0x2006ae,_0x46d1c6,_0x4f6a8d,_0xfeae8d,_0x64eb88),N(this,_0x2c0848(0x453),_0x2c0848(0x265)),(this['_isPermissionRej']=_0x35aef6,this['_permissionService']=_0xe06a6,this['_localeService']=_0x2c29dd,this[_0x2c0848(0x32a)]=_0x9a5425,this[_0x2c0848(0x23e)]=_0x64eb88,this[_0x2c0848(0x412)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x3719d7(0x191)](){return this;}['onRemoteChangeset'](){return this;}[_0x3719d7(0x205)](){return this;}['onRemoteRej'](){return this;}[_0x3719d7(0x288)](){return this;}[_0x3719d7(0x1c5)](){return this;}[_0x3719d7(0x466)](){return this;}[_0x3719d7(0x399)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x5b2b7f=_0x3719d7,_0x502cc4;(_0x502cc4=this['_localCacheService'])==null||_0x502cc4[_0x5b2b7f(0x307)](this[_0x5b2b7f(0x43a)],this[_0x5b2b7f(0x246)],null,[]);}['_showConflictNotification'](){var _0x33c5f1=_0x3719d7;this[_0x33c5f1(0x441)]?this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x33c5f1(0x40f)]}):this[_0x33c5f1(0x32a)][_0x33c5f1(0x3e6)]({'id':ne[_0x33c5f1(0x22c)]});}[_0x3719d7(0x3d2)](){var _0x248b57=_0x3719d7;this['_permissionService']['updatePermissionPoint'](new _0x52443e(this[_0x248b57(0x43a)])['id'],!0x1);}};le=Ee([P(0x6,_0x9a05e2(_0x1fa5cb)),P(0x7,_0x5491ec),P(0x8,_0x36e271),P(0x9,_0x9a05e2(_0x1882ad)),P(0xa,_0x9a05e2(_0xfa6b6f)),P(0xb,_0x9a05e2(ve)),P(0xc,_0x16e192(J))],le);let ue=class extends Ie{constructor(_0x2618fb,_0x53659f,_0x18e177,_0x3ba328,_0x312eeb,_0x110a11,_0x321326,_0x5022c6,_0x93ff8b,_0x4d275b){var _0x5547eb=_0x3719d7;super(_0x2618fb,_0x53659f,_0x18e177,_0x3ba328,_0x312eeb,_0x5022c6,_0x93ff8b,_0x321326,_0x4d275b),N(this,_0x5547eb(0x453),_0x5547eb(0x1c9)),this[_0x5547eb(0x1f0)]=_0x110a11;}[_0x3719d7(0x191)](_0x44f76c){var _0x236783=_0x3719d7;return this['_pendingMutations']['push'](_0x44f76c),this[_0x236783(0x1ca)](),this;}[_0x3719d7(0x1f7)](_0x248fc8){var _0x22bbc7=_0x3719d7;throw new Error(_0x22bbc7(0x3f5));}['onRemoteAck'](){var _0x5b5ce6=_0x3719d7;throw new Error(_0x5b5ce6(0x2b2));}['onRemoteRej'](){var _0x10c5ec=_0x3719d7;throw new Error(_0x10c5ec(0x3bb));}[_0x3719d7(0x288)](){return this;}[_0x3719d7(0x1c5)](){return this;}['toggleOnline'](){var _0xb8aa7b=_0x3719d7;const {_injector:_0x2de56b,_pendingMutations:_0x15cff7,_awaitingChangeset:_0x3ab54f,unitID:_0x8577f,_handler:_0xcd27f5,type:_0x31dccb}=this,_0xb40054=Ti(_0x2de56b,_0x8577f,_0x31dccb,_0x3ab54f,_0x15cff7,_0xcd27f5);return _0xb40054 instanceof re?_0xb40054[_0xb8aa7b(0x29a)]():(_0xb40054 instanceof ae||_0xb40054 instanceof _e)&&_0xb40054[_0xb8aa7b(0x399)](),_0xb40054;}[_0x3719d7(0x399)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ue=Ee([P(0x5,_0x9a05e2(_0x220a42)),P(0x6,_0x9a05e2(_0x1882ad)),P(0x7,_0x5491ec),P(0x8,_0x36e271),P(0x9,_0x16e192(J))],ue);let Q=class extends Ie{constructor(_0x454e11,_0x55203c,_0x56b725,_0x321baf,_0xfe807,_0x201d6a,_0x309b3e,_0x3487ae,_0x2903f6,_0x10998c,_0x261a33,_0x4c28d3,_0xbd795b,_0x34b1fe){var _0x3ce583=_0x3719d7;super(_0x454e11,_0x55203c,_0x56b725,_0x321baf,_0x309b3e,_0x261a33,_0x4c28d3,_0x2903f6,_0x34b1fe),N(this,_0x3ce583(0x453),'fetch_missing'),(this[_0x3ce583(0x363)]=_0xfe807,this[_0x3ce583(0x407)]=_0x201d6a,this['_injector']=_0x3487ae,this['_logService']=_0x10998c,this[_0x3ce583(0x396)]=_0xbd795b,this['localCacheService']=_0x34b1fe);}[_0x3719d7(0x206)](_0x4f2450){var _0xdb0066=_0x3719d7;try{const _0x305c08=[..._0x4f2450,...this[_0xdb0066(0x407)]],_0x319865=[this[_0xdb0066(0x3cf)]||this[_0xdb0066(0x363)]][_0xdb0066(0x365)](_0x27c911=>!!_0x27c911);let _0x1c04e7,_0x51fad3;if(_0x319865['length']){const _0x1379f9=this['_transformService']['transformChangesets'](_0x305c08,_0x319865,!0x1);if(!_0x212dc7(_0x1379f9))throw _0x1379f9['error'];_0x1c04e7=_0x1379f9[_0xdb0066(0x1e1)],_0x51fad3=_0x1379f9[_0xdb0066(0x314)];}else _0x1c04e7=_0x305c08,_0x51fad3=[];let _0x3ceed5=this[_0xdb0066(0x458)];_0x1c04e7['forEach'](_0x567d1b=>{var _0x17e613=_0xdb0066;let _0x308792;if(_0x3ceed5[_0x17e613(0x463)]){const _0x1a7938=this[_0x17e613(0x396)][_0x17e613(0x1fe)](_0x567d1b,_0x3ceed5);if(!_0x22b450(_0x1a7938))throw _0x1a7938[_0x17e613(0x19b)];_0x308792=_0x1a7938[_0x17e613(0x1e1)],_0x3ceed5=_0x1a7938[_0x17e613(0x278)];}else _0x308792=_0x567d1b;this[_0x17e613(0x1d5)](_0x308792);}),this[_0xdb0066(0x363)]&&this[_0xdb0066(0x21f)](),this['_awaitingChangeset']&&_0x51fad3[_0xdb0066(0x463)]&&(_0x51fad3[0x0][_0xdb0066(0x33d)]=this[_0xdb0066(0x290)]());let _0x347277;if(this[_0xdb0066(0x3cf)]&&_0x3ceed5[_0xdb0066(0x463)]!==0x0)_0x347277=this[_0xdb0066(0x1f0)][_0xdb0066(0x3c1)](ae,this[_0xdb0066(0x43a)],this['type'],_0x51fad3[0x0],_0x3ceed5,this[_0xdb0066(0x235)],void 0x0);else{if(this['_awaitingChangeset']&&_0x3ceed5['length']===0x0)_0x51fad3[0x0][_0xdb0066(0x33d)]=this[_0xdb0066(0x290)](),_0x347277=this[_0xdb0066(0x1f0)]['createInstance'](_e,this['unitID'],this[_0xdb0066(0x246)],_0x51fad3[0x0],this[_0xdb0066(0x235)]);else{if(_0x3ceed5['length']!==0x0){const _0x5865ca=this[_0xdb0066(0x1f0)][_0xdb0066(0x3c1)](re,this[_0xdb0066(0x43a)],this[_0xdb0066(0x246)],_0x3ceed5,this['_handler']);_0x5865ca[_0xdb0066(0x29a)](),_0x347277=_0x5865ca;}else _0x347277=this[_0xdb0066(0x1f0)]['createInstance'](ye,this['unitID'],this[_0xdb0066(0x246)],this[_0xdb0066(0x235)]);}}return _0x347277[_0xdb0066(0x1ca)](),_0x347277;}catch(_0x3fc3c2){return this[_0xdb0066(0x3c6)][_0xdb0066(0x19b)](_0xdb0066(0x2c3),'failed\x20to\x20apply\x20missed\x20changesets!',_0x3fc3c2),this[_0xdb0066(0x1f0)]['createInstance'](le,this[_0xdb0066(0x43a)],this['type'],this[_0xdb0066(0x3cf)],this[_0xdb0066(0x458)],this['_handler'],!0x1);}}[_0x3719d7(0x399)](){var _0x2cbf22=_0x3719d7;throw new Error(_0x2cbf22(0x226));}['appendMutation'](_0x6afb03){var _0x45ca17=_0x3719d7;return this[_0x45ca17(0x458)][_0x45ca17(0x33e)](_0x6afb03),this;}[_0x3719d7(0x1f7)](_0x39fd06){var _0x5c14c2=_0x3719d7;return this[_0x5c14c2(0x407)][_0x5c14c2(0x33e)](_0x39fd06),this;}[_0x3719d7(0x205)](_0x3677ea){var _0x43ea38=_0x3719d7;if(this['_awaitingChangeset'])return this[_0x43ea38(0x363)]=this[_0x43ea38(0x3cf)],this[_0x43ea38(0x3cf)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x3719d7(0x213)](_0x1afd72){var _0x374292=_0x3719d7;return this[_0x374292(0x3a0)](!!(_0x1afd72!=null&&_0x1afd72[_0x374292(0x31e)]));}[_0x3719d7(0x288)](){return this;}[_0x3719d7(0x1c5)](){var _0x469e5e=_0x3719d7;return this['_injector'][_0x469e5e(0x3c1)](ue,this[_0x469e5e(0x43a)],this[_0x469e5e(0x246)],this[_0x469e5e(0x3cf)],this['_pendingMutations'],this['_handler']);}[_0x3719d7(0x466)](){return this;}['_onConflict'](_0xdbf94c){var _0x29ccb0=_0x3719d7;return this[_0x29ccb0(0x1f0)][_0x29ccb0(0x3c1)](le,this[_0x29ccb0(0x43a)],this[_0x29ccb0(0x246)],this[_0x29ccb0(0x3cf)],this[_0x29ccb0(0x458)],this[_0x29ccb0(0x235)],_0xdbf94c);}};Q=Ee([P(0x7,_0x9a05e2(_0x220a42)),P(0x8,_0x9a05e2(_0x1882ad)),P(0x9,_0x116fbc),P(0xa,_0x5491ec),P(0xb,_0x36e271),P(0xc,_0x53796d),P(0xd,_0x16e192(J))],Q);function Ti(_0x5ea504,_0x194605,_0x46683e,_0x115cef,_0x501ea4,_0x3c583f){var _0x129404=_0x3719d7;return _0x115cef&&_0x501ea4[_0x129404(0x463)]?_0x5ea504[_0x129404(0x3c1)](ae,_0x194605,_0x46683e,_0x115cef,_0x501ea4,_0x3c583f,void 0x0):_0x115cef?_0x5ea504[_0x129404(0x3c1)](_e,_0x194605,_0x46683e,_0x115cef,_0x3c583f):_0x501ea4[_0x129404(0x463)]?_0x5ea504[_0x129404(0x3c1)](re,_0x194605,_0x46683e,_0x501ea4,_0x3c583f):_0x5ea504[_0x129404(0x3c1)](ye,_0x194605,_0x46683e,_0x3c583f);}var Bs=Object[_0x3719d7(0x2d0)],wt=(_0x469f75,_0x195514,_0x26bee0,_0x805f48)=>{var _0x6cd343=_0x3719d7;for(var _0x314b69=_0x805f48>0x1?void 0x0:_0x805f48?Bs(_0x195514,_0x26bee0):_0x195514,_0x5c2732=_0x469f75[_0x6cd343(0x463)]-0x1,_0x37a8f8;_0x5c2732>=0x0;_0x5c2732--)(_0x37a8f8=_0x469f75[_0x5c2732])&&(_0x314b69=_0x37a8f8(_0x314b69)||_0x314b69);return _0x314b69;},H=(_0x5a8b18,_0x2067e5)=>(_0x4d3f85,_0x5ed135)=>_0x2067e5(_0x4d3f85,_0x5ed135,_0x5a8b18);let st=class extends _0x103aff{constructor(_0x527863,_0x5676d8,_0x32676f,_0x1f5fcb,_0x17704a,_0x5ef9d8,_0x464071,_0x15766c,_0x4d68ec,_0xf17cb3,_0x2ade5e,_0x4e658d,_0x4689b1){var _0x59813f=_0x3719d7;super(),N(this,_0x59813f(0x269),new _0x261aac(null)),N(this,_0x59813f(0x456),this[_0x59813f(0x269)][_0x59813f(0x1d3)]()),N(this,'_state'),N(this,'_collaborationPaused',!0x1),N(this,_0x59813f(0x3f2),''),N(this,_0x59813f(0x470),0x0),N(this,_0x59813f(0x210),this[_0x59813f(0x456)][_0x59813f(0x285)](_0x2fd62e(_0x2ca8ca=>_0x2ca8ca?_0x2ca8ca[_0x59813f(0x453)]:Ei[_0x59813f(0x1b5)]),_0x2a36ea(0x1))),N(this,_0x59813f(0x232),!0x1),N(this,_0x59813f(0x43e),[]),(this[_0x59813f(0x43a)]=_0x527863,this['session']=_0x5676d8,this[_0x59813f(0x479)]=_0x32676f,this[_0x59813f(0x1f0)]=_0x1f5fcb,this[_0x59813f(0x1bf)]=_0x17704a,this[_0x59813f(0x45a)]=_0x5ef9d8,this[_0x59813f(0x3a6)]=_0x464071,this[_0x59813f(0x1ee)]=_0x15766c,this[_0x59813f(0x3c6)]=_0x4d68ec,this[_0x59813f(0x408)]=_0xf17cb3,this[_0x59813f(0x3b8)]=_0x2ade5e,this[_0x59813f(0x2a2)]=_0x4e658d,this[_0x59813f(0x222)]=_0x4689b1);}get['state'](){var _0x3d936c=_0x3719d7;return this[_0x3d936c(0x379)];}async['init'](){var _0x28dec2=_0x3719d7;if(this[_0x28dec2(0x3b5)])throw new Error(_0x28dec2(0x409));await this[_0x28dec2(0x243)]();}[_0x3719d7(0x46c)](){var _0x27c01c=_0x3719d7;return this[_0x27c01c(0x2a5)]=!0x0,_0x1d27ff(()=>{var _0x1c863d=_0x27c01c;this['_collaborationPaused']=!0x1,this[_0x1c863d(0x2ca)]();});}['onLocalMutation'](_0x2e3df2){var _0x45b57=_0x3719d7;this[_0x45b57(0x2e4)](_0x2e3df2);}[_0x3719d7(0x1b4)](_0x1b3861){var _0xe74f02=_0x3719d7;this[_0xe74f02(0x379)]=_0x1b3861,this['_state$'][_0xe74f02(0x438)](_0x1b3861);}async[_0x3719d7(0x243)](){var _0xaadd01=_0x3719d7,_0x4ec624;this[_0xaadd01(0x1b4)](await this[_0xaadd01(0x325)]()),this['_singleActiveUnitService']&&((_0x4ec624=this[_0xaadd01(0x2a2)])==null||_0x4ec624['editingUnit'](this['unitID']),this[_0xaadd01(0x389)](this[_0xaadd01(0x2a2)][_0xaadd01(0x281)](this[_0xaadd01(0x43a)])['subscribe'](_0x5d0a0c=>{var _0x18a32b=_0xaadd01;this[_0x18a32b(0x3c6)]['debug'](_0x18a32b(0x2ea),'editing\x20status\x20changed\x20to',_0x5d0a0c),_0x5d0a0c===gi[_0x18a32b(0x348)]?(this[_0x18a32b(0x1ee)]['emitEvent']({'id':ne['OTHER_CLIENT_EDITING']}),this[_0x18a32b(0x3b8)][_0x18a32b(0x2af)](new _0x52443e(this[_0x18a32b(0x43a)])['id'],!0x1),this['_permissionService'][_0x18a32b(0x25c)](!0x1)):(this[_0x18a32b(0x3b8)][_0x18a32b(0x2af)](new _0x52443e(this[_0x18a32b(0x43a)])['id'],!0x0),this['_permissionService'][_0x18a32b(0x25c)](!0x0));})));let _0xfe4e2d=!0x1;return this[_0xaadd01(0x389)](this[_0xaadd01(0x2a0)][_0xaadd01(0x1db)]['subscribe'](_0x2476fa=>{var _0x24945e=_0xaadd01;_0x2476fa===ge[_0x24945e(0x3cc)]?this[_0x24945e(0x1e2)](_0xfe4e2d):_0x2476fa===ge[_0x24945e(0x1b5)]&&(_0xfe4e2d=!0x0,this[_0x24945e(0x2c4)]());})),this[_0xaadd01(0x389)](this[_0xaadd01(0x2a0)][_0xaadd01(0x266)][_0xaadd01(0x405)](_0x5ad014=>{var _0x382bd3=_0xaadd01;try{switch(_0x5ad014[_0x382bd3(0x20e)]){case _0x1454f['NEW_CHANGESETS']:{this[_0x382bd3(0x1a0)](_0xf37b2f(_0x5ad014['data']));break;}case _0x1454f[_0x382bd3(0x1b8)]:{this[_0x382bd3(0x2d7)](_0x5ad014[_0x382bd3(0x3a8)]);break;}case _0x1454f[_0x382bd3(0x446)]:{this[_0x382bd3(0x36a)]();break;}case _0x1454f[_0x382bd3(0x40a)]:{this['_onRemoteRetry'](_0x5ad014[_0x382bd3(0x3a8)]);break;}case _0x1454f[_0x382bd3(0x1d6)]:{this[_0x382bd3(0x481)](_0x5ad014[_0x382bd3(0x3a8)][_0x382bd3(0x227)]['map'](_0x51a7ed=>_0xf37b2f(_0x51a7ed)));break;}case _0x1454f[_0x382bd3(0x201)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x1454f[_0x382bd3(0x3c4)]:break;}}catch(_0x39acb9){throw console[_0x382bd3(0x19b)](_0x382bd3(0x29f),_0x39acb9),_0x39acb9;}})),this['_state'];}['_unlockTransition'](){var _0x12de13=_0x3719d7;this[_0x12de13(0x232)]=!0x1;}[_0x3719d7(0x30e)](){var _0x59debe=_0x3719d7;if(this[_0x59debe(0x232)])throw new Error(_0x59debe(0x244));this[_0x59debe(0x232)]=!0x0;}[_0x3719d7(0x2e4)](_0x2a3a20){var _0x143413=_0x3719d7;this[_0x143413(0x30e)](),this[_0x143413(0x1b4)](this['_state']['appendMutation'](_0x2a3a20)),this[_0x143413(0x3ed)]();}[_0x3719d7(0x1a0)](_0x2d8e86){var _0x2c288c=_0x3719d7;if(!(_0x2d8e86['revision']<=this[_0x2c288c(0x3a6)][_0x2c288c(0x2d2)](this['unitID']))){if(this[_0x2c288c(0x2a5)]){this[_0x2c288c(0x43e)][_0x2c288c(0x33e)](_0x2d8e86);return;}this[_0x2c288c(0x2ee)](_0x2d8e86);}}[_0x3719d7(0x2ca)](){var _0x3d18eb=_0x3719d7;this[_0x3d18eb(0x43e)]['forEach'](_0xf2362f=>this[_0x3d18eb(0x2ee)](_0xf2362f)),this['_remoteChangesetQueue']=[];}[_0x3719d7(0x2ee)](_0x3d3778){var _0x3bac29=_0x3719d7;const _0x4c8541=this[_0x3bac29(0x1bf)][_0x3bac29(0x3cd)][_0x3bac29(0x455)](this['_compressMutationService'][_0x3bac29(0x3cd)][_0x3bac29(0x22f)]()['COMPRESS_MUTATION_APPLY'])(_0x3d3778[_0x3bac29(0x1b3)],null)||_0x3d3778[_0x3bac29(0x1b3)],_0x572c32={..._0x3d3778,'mutations':_0x4c8541};this[_0x3bac29(0x30e)](),this[_0x3bac29(0x1b4)](this[_0x3bac29(0x379)][_0x3bac29(0x1f7)](_0x572c32)),this[_0x3bac29(0x3ed)]();}[_0x3719d7(0x2d7)](_0x3c2568){var _0x3e99b1=_0x3719d7;this['_lockTransition'](),this[_0x3e99b1(0x1b4)](this[_0x3e99b1(0x379)][_0x3e99b1(0x205)](_0x3c2568)),this[_0x3e99b1(0x3ed)]();}[_0x3719d7(0x36a)](_0x33d93d){var _0x4fa6e6=_0x3719d7;this[_0x4fa6e6(0x30e)](),this[_0x4fa6e6(0x1b4)](this[_0x4fa6e6(0x379)][_0x4fa6e6(0x213)](_0x33d93d)),this[_0x4fa6e6(0x3ed)]();}[_0x3719d7(0x194)](_0x5d73c7){var _0x331e20=_0x3719d7;this[_0x331e20(0x30e)](),this[_0x331e20(0x1b4)](this[_0x331e20(0x379)]['onRemoteRetry'](_0x5d73c7)),this[_0x331e20(0x3ed)]();}[_0x3719d7(0x481)](_0x3dfbb8){var _0x4baa9d=_0x3719d7;if(!(this[_0x4baa9d(0x379)]instanceof Q))throw new TypeError(_0x4baa9d(0x46d));const _0x58f047=_0x3dfbb8['map'](_0x42a029=>{var _0x54190e=_0x4baa9d;const _0x4b1f92=this[_0x54190e(0x1bf)]['interceptor'][_0x54190e(0x455)](this[_0x54190e(0x1bf)]['interceptor'][_0x54190e(0x22f)]()[_0x54190e(0x1e0)])(_0x42a029['mutations'],null)||_0x42a029[_0x54190e(0x1b3)];return{..._0x42a029,'mutations':_0x4b1f92};});this[_0x4baa9d(0x30e)](),this[_0x4baa9d(0x1b4)](this[_0x4baa9d(0x379)][_0x4baa9d(0x206)](_0x58f047)),this[_0x4baa9d(0x3ed)]();}[_0x3719d7(0x2c4)](){var _0xfc8dc9=_0x3719d7;this[_0xfc8dc9(0x30e)](),this[_0xfc8dc9(0x1b4)](this[_0xfc8dc9(0x379)][_0xfc8dc9(0x1c5)]()),this[_0xfc8dc9(0x3ed)]();}['_toggleOnline'](_0x5954e4=!0x1){var _0x87dc38=_0x3719d7;this[_0x87dc38(0x30e)](),this[_0x87dc38(0x1b4)](this[_0x87dc38(0x379)][_0x87dc38(0x466)]()),this[_0x87dc38(0x3ed)]();const _0x408c90=this[_0x87dc38(0x379)];_0x5954e4&&_0x408c90 instanceof ye&&(this[_0x87dc38(0x30e)](),this['_updateState'](_0x408c90[_0x87dc38(0x199)]()),this['_unlockTransition']());}async[_0x3719d7(0x325)](){return new Promise(_0x284ec1=>{var _0x4b0aff=_0x3e70;this[_0x4b0aff(0x2a0)][_0x4b0aff(0x1db)]['pipe'](_0x17a050(0x1))['subscribe'](async _0x11091c=>{var _0x2e88a2=_0x4b0aff;_0x284ec1(await this[_0x2e88a2(0x280)](_0x11091c===ge[_0x2e88a2(0x3cc)]));});});}[_0x3719d7(0x3da)](){var _0x527cff=_0x3719d7;const _0x1dbe13=this[_0x527cff(0x43a)];return{'onStateChange':(_0x24b63d,_0xba60b4)=>{var _0x21119d=_0x527cff;if(_0x24b63d!==this[_0x21119d(0x379)])throw new Error(_0x21119d(0x250)+_0x24b63d[_0x21119d(0x453)]+'\x0aAfter:\x20'+_0xba60b4[_0x21119d(0x453)]+'\x0aCurrent:\x20'+this[_0x21119d(0x379)][_0x21119d(0x453)]);this[_0x21119d(0x1b4)](_0xba60b4);},'onSendChangeset':_0x21473e=>{var _0x261f4a=_0x527cff;_0x21473e[_0x261f4a(0x2b9)]||(_0x21473e[_0x261f4a(0x2b9)]=this[_0x261f4a(0x3f2)],_0x21473e[_0x261f4a(0x45b)]=++this[_0x261f4a(0x470)]);const _0x4c31e6={'eventID':_0x1454f[_0x261f4a(0x27b)],'data':{'unitID':_0x21473e[_0x261f4a(0x43a)],'unitType':this[_0x261f4a(0x479)],'changeset':_0x21473e,'memberID':this[_0x261f4a(0x2a0)][_0x261f4a(0x23d)]()}};this['session'][_0x261f4a(0x377)](_0x4c31e6,this[_0x261f4a(0x43a)]);},'onMissingChangesets':({from:_0x42ecb6,to:_0x13e5bb})=>{var _0x118887=_0x527cff;this[_0x118887(0x3c6)][_0x118887(0x229)](_0x118887(0x2ea),_0x118887(0x1dd)+_0x42ecb6+_0x118887(0x36d)+_0x13e5bb);const _0x18777a={'eventID':_0x1454f[_0x118887(0x44d)],'data':{'unitID':_0x1dbe13,'unitType':this[_0x118887(0x479)],'from':_0x42ecb6,'to':_0x13e5bb}};this['session'][_0x118887(0x377)](_0x18777a,this[_0x118887(0x43a)]);}};}async[_0x3719d7(0x280)](_0x53b84f){var _0x4c5e45=_0x3719d7,_0x43b162,_0xdcf562,_0x101cf6;const _0x6c674b=await((_0x43b162=this[_0x4c5e45(0x222)])==null?void 0x0:_0x43b162['loadOfflineData'](this[_0x4c5e45(0x43a)])),_0x203f69=(_0xdcf562=_0x6c674b==null?void 0x0:_0x6c674b[_0x4c5e45(0x1b3)])!=null?_0xdcf562:[],_0x27dbb6=(_0x101cf6=_0x6c674b==null?void 0x0:_0x6c674b[_0x4c5e45(0x3b6)])!=null?_0x101cf6:null,_0x54286c=!!(_0x27dbb6!=null&&_0x27dbb6[_0x4c5e45(0x2b9)])&&!!(_0x27dbb6!=null&&_0x27dbb6[_0x4c5e45(0x45b)]);this[_0x4c5e45(0x3f2)]=_0x54286c?_0x27dbb6[_0x4c5e45(0x2b9)]:_0x34342e(),this[_0x4c5e45(0x470)]=_0x54286c?_0x27dbb6[_0x4c5e45(0x45b)]:0x0;const _0xb0626b=this[_0x4c5e45(0x43a)];try{this[_0x4c5e45(0x3c2)](_0x27dbb6,_0x203f69);}catch(_0x4f8f5a){this[_0x4c5e45(0x3c6)][_0x4c5e45(0x19b)](_0x4f8f5a);}const _0x309bb7=this['_createHandler']();if(_0x53b84f){const _0x146a31=Ti(this[_0x4c5e45(0x1f0)],_0xb0626b,this[_0x4c5e45(0x479)],_0x27dbb6,_0x203f69,_0x309bb7);return _0x146a31 instanceof re?_0x146a31[_0x4c5e45(0x29a)]():(_0x146a31 instanceof ae||_0x146a31 instanceof _e)&&_0x146a31[_0x4c5e45(0x399)](),_0x146a31;}return this[_0x4c5e45(0x1f0)]['createInstance'](ue,_0xb0626b,this[_0x4c5e45(0x479)],_0x27dbb6,_0x203f69,_0x309bb7);}[_0x3719d7(0x3c2)](_0x33c452,_0x42693e){var _0xdbcab5=_0x3719d7,_0x104a99,_0x3eb28f;const _0x14896b=this['_compressMutationService'][_0xdbcab5(0x3cd)][_0xdbcab5(0x455)](this[_0xdbcab5(0x1bf)][_0xdbcab5(0x3cd)][_0xdbcab5(0x22f)]()['COMPRESS_MUTATION_APPLY']);(_0x104a99=_0x14896b((_0x33c452==null?void 0x0:_0x33c452[_0xdbcab5(0x1b3)])||[],null))==null||_0x104a99[_0xdbcab5(0x473)](_0x2b58cb=>this[_0xdbcab5(0x408)][_0xdbcab5(0x258)](_0x2b58cb['id'],_0x2b58cb[_0xdbcab5(0x28f)])),(_0x3eb28f=_0x14896b(_0x42693e||[],null))==null||_0x3eb28f[_0xdbcab5(0x473)](_0x17d0bb=>this[_0xdbcab5(0x408)][_0xdbcab5(0x258)](_0x17d0bb['id'],_0x17d0bb[_0xdbcab5(0x28f)]));}};st=wt([H(0x3,_0x9a05e2(_0x220a42)),H(0x4,_0x9a05e2(_0x3bed2b)),H(0x5,_0x9a05e2(_0xfa6b6f)),H(0x6,_0x9a05e2(_0x1882ad)),H(0x7,_0x9a05e2(ve)),H(0x8,_0x116fbc),H(0x9,_0x5491ec),H(0xa,_0x1fa5cb),H(0xb,_0x16e192(ht)),H(0xc,_0x16e192(J))],st);let St=class extends st{constructor(_0x12880a,_0x557186,_0x50483c,_0x57c23c,_0x2db31c,_0x181a01,_0x3f7f98,_0x160bb7,_0x10f81b,_0x3a7b4d,_0x90f26e,_0x3a2a72,_0x5e3a1e){var _0x2d9dd7=_0x3719d7;super(_0x12880a,_0x50483c,_0x557186,_0x57c23c,_0x2db31c,_0x181a01,_0x3f7f98,_0x160bb7,_0x10f81b,_0x3a7b4d,_0x90f26e,_0x3a2a72,_0x5e3a1e),N(this,'_handlerCallback',null),(this['unitID']=_0x12880a,this[_0x2d9dd7(0x246)]=_0x557186);}[_0x3719d7(0x196)](_0x13690c){var _0x4c33f8=_0x3719d7;this[_0x4c33f8(0x429)]=_0x13690c;}[_0x3719d7(0x421)](){var _0x34d0dd=_0x3719d7;this['_handlerCallback']=null,super[_0x34d0dd(0x421)]();}[_0x3719d7(0x3da)](){var _0x2dafdf=_0x3719d7;const _0x491a2d=super[_0x2dafdf(0x3da)]();return _0x491a2d[_0x2dafdf(0x215)]=_0x6ed728=>{var _0xf660f7=_0x2dafdf,_0x3b3802,_0x447407;return(_0x447407=(_0x3b3802=this[_0xf660f7(0x429)])==null?void 0x0:_0x3b3802['onTransformIME'])==null?void 0x0:_0x447407[_0xf660f7(0x255)](_0x3b3802,_0x6ed728);},_0x491a2d[_0x2dafdf(0x2cc)]=_0x4b89b0=>{var _0x484e85=_0x2dafdf,_0x3c7c33,_0x200679;return(_0x200679=(_0x3c7c33=this['_handlerCallback'])==null?void 0x0:_0x3c7c33[_0x484e85(0x2cc)])==null?void 0x0:_0x200679[_0x484e85(0x255)](_0x3c7c33,_0x4b89b0);},_0x491a2d[_0x2dafdf(0x1ac)]=_0x50c2b7=>{var _0x468cc6=_0x2dafdf,_0x56ca9a,_0x1da7eb;return(_0x1da7eb=(_0x56ca9a=this['_handlerCallback'])==null?void 0x0:_0x56ca9a[_0x468cc6(0x1ac)])==null?void 0x0:_0x1da7eb[_0x468cc6(0x255)](_0x56ca9a,_0x50c2b7);},_0x491a2d[_0x2dafdf(0x241)]=_0x3e8b0c=>{var _0x214451=_0x2dafdf,_0x5c928c,_0x389112;return(_0x389112=(_0x5c928c=this[_0x214451(0x429)])==null?void 0x0:_0x5c928c['onSyncEditingCollabCursor'])==null?void 0x0:_0x389112[_0x214451(0x255)](_0x5c928c,_0x3e8b0c);},_0x491a2d[_0x2dafdf(0x2d1)]=_0x4a659e=>{var _0x451422=_0x2dafdf,_0x1adb98,_0x4de5bf,_0x340dbf;if(!((_0x1adb98=this[_0x451422(0x429)])!=null&&_0x1adb98['onTransformRemoteChangesetByIMECache']))throw new Error(_0x451422(0x2ae));return(_0x340dbf=(_0x4de5bf=this['_handlerCallback'])==null?void 0x0:_0x4de5bf['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x340dbf['call'](_0x4de5bf,_0x4a659e);},_0x491a2d[_0x2dafdf(0x233)]=_0x199822=>{var _0x5f2d86=_0x2dafdf,_0x344a1d,_0x326984,_0x1cdb99;if(!((_0x344a1d=this['_handlerCallback'])!=null&&_0x344a1d[_0x5f2d86(0x233)]))throw new Error(_0x5f2d86(0x1b0));return(_0x1cdb99=(_0x326984=this['_handlerCallback'])==null?void 0x0:_0x326984[_0x5f2d86(0x233)])==null?void 0x0:_0x1cdb99[_0x5f2d86(0x255)](_0x326984,_0x199822);},_0x491a2d;}async[_0x3719d7(0x243)](){var _0x150da4=_0x3719d7;const _0x55f1f8=await super['_init']();return this[_0x150da4(0x389)](this[_0x150da4(0x408)][_0x150da4(0x306)]((_0x4bb9c9,_0x4cdd2d)=>{var _0xe22884=_0x150da4;if(_0x4bb9c9[_0xe22884(0x246)]!==_0x1f5e95[_0xe22884(0x41a)]||_0x4cdd2d!=null&&_0x4cdd2d[_0xe22884(0x3f6)]||_0x4cdd2d!=null&&_0x4cdd2d[_0xe22884(0x223)]||_0x4bb9c9['id']===_0x56aa1d['id'])return;const _0x4ff33a=_0x4bb9c9[_0xe22884(0x28f)];if((_0x4ff33a==null?void 0x0:_0x4ff33a[_0xe22884(0x35c)])!==this[_0xe22884(0x43a)])return;const _0xde716c=_0x4bb9c9,_0x1afda0=this['_compressMutationService'][_0xe22884(0x3cd)][_0xe22884(0x455)](this[_0xe22884(0x1bf)][_0xe22884(0x3cd)]['getInterceptPoints']()[_0xe22884(0x477)])([_0xde716c],null)||[_0xde716c];this[_0xe22884(0x2e4)](_0x1afda0[0x0]);})),_0x55f1f8;}};St=wt([H(0x3,_0x9a05e2(_0x220a42)),H(0x4,_0x9a05e2(_0x3bed2b)),H(0x5,_0x9a05e2(_0xfa6b6f)),H(0x6,_0x9a05e2(_0x1882ad)),H(0x7,_0x9a05e2(ve)),H(0x8,_0x116fbc),H(0x9,_0x5491ec),H(0xa,_0x1fa5cb),H(0xb,_0x16e192(ht)),H(0xc,_0x16e192(J))],St);let Et=class extends st{constructor(_0x5abdc2,_0x56cfe4,_0x26d7a7,_0x2873b4,_0x744706,_0x448caf,_0x2e4ccd,_0x2d0fb8,_0xc83465,_0x22dde1,_0x362ac9,_0x57a6e3,_0x195f4a,_0x2e8076){var _0x5b4ca0=_0x3719d7;super(_0x5abdc2,_0x26d7a7,_0x56cfe4,_0x2873b4,_0x744706,_0x448caf,_0x2e4ccd,_0xc83465,_0x22dde1,_0x362ac9,_0x57a6e3,_0x195f4a,_0x2e8076),this[_0x5b4ca0(0x43a)]=_0x5abdc2,this[_0x5b4ca0(0x246)]=_0x56cfe4,this[_0x5b4ca0(0x3a2)]=_0x2d0fb8;}['_createHandler'](){var _0x49bb12=_0x3719d7;const _0x23f9fe=super[_0x49bb12(0x3da)]();return _0x23f9fe[_0x49bb12(0x1ac)]=_0x326dd5=>this[_0x49bb12(0x3a2)][_0x49bb12(0x248)](_0x326dd5),_0x23f9fe;}async[_0x3719d7(0x243)](){var _0x5a2a01=_0x3719d7;const _0x46e2c3=await super['_init']();return this[_0x5a2a01(0x389)](this[_0x5a2a01(0x408)][_0x5a2a01(0x306)]((_0x59889b,_0x4a7b56)=>{var _0xc5d220=_0x5a2a01;if(_0x59889b[_0xc5d220(0x246)]!==_0x1f5e95[_0xc5d220(0x41a)]||_0x4a7b56!=null&&_0x4a7b56[_0xc5d220(0x3f6)]||_0x4a7b56!=null&&_0x4a7b56['onlyLocal'])return;const _0xe9bf1b=_0x59889b['params'];if((_0xe9bf1b==null?void 0x0:_0xe9bf1b['unitId'])!==this[_0xc5d220(0x43a)])return;const _0x5246cc=_0x59889b,_0x54dd82=this[_0xc5d220(0x1bf)][_0xc5d220(0x3cd)][_0xc5d220(0x455)](this[_0xc5d220(0x1bf)]['interceptor'][_0xc5d220(0x22f)]()[_0xc5d220(0x477)])([_0x5246cc],null)||[_0x5246cc];this[_0xc5d220(0x2e4)](_0x54dd82[0x0]);})),_0x46e2c3;}};Et=wt([H(0x3,_0x9a05e2(_0x220a42)),H(0x4,_0x9a05e2(_0x3bed2b)),H(0x5,_0x9a05e2(_0xfa6b6f)),H(0x6,_0x9a05e2(_0x1882ad)),H(0x7,_0x9a05e2(it)),H(0x8,_0x9a05e2(ve)),H(0x9,_0x116fbc),H(0xa,_0x5491ec),H(0xb,_0x1fa5cb),H(0xc,_0x16e192(ht)),H(0xd,_0x16e192(J))],Et);const js=_0x428e84('univer-pro.collaboration-client.network-condition.service');function Fs(_0x49977a){var _0x182133=_0x3719d7,_0x54593c,_0x1ad2dc,_0x313b8a,_0x30b5aa,_0xa8eb1;const _0x5e6b22=_0x49977a[_0x182133(0x3a8)],_0x138eee=JSON['parse'](_0x5e6b22);switch(_0x138eee['cmd']){case F[_0x182133(0x371)]:case F[_0x182133(0x3b1)]:{const _0x59665b=_0x138eee[_0x182133(0x316)];return{..._0x138eee,'data':_0x59665b,'cmd':_0x138eee[_0x182133(0x2c6)]};}case F[_0x182133(0x261)]:{const _0x1c4fa3=_0x138eee['joinRsp'];return{..._0x138eee,'data':_0x1c4fa3,'cmd':_0x138eee[_0x182133(0x2c6)]};}case F['RECV']:{const _0x2e9773=_0x138eee[_0x182133(0x2b8)];switch(_0x2e9773['eventID']){case _0x1454f[_0x182133(0x201)]:return{..._0x138eee,'data':{..._0x2e9773,'data':(_0x54593c=_0x2e9773[_0x182133(0x3d3)])==null?void 0x0:_0x54593c['cs']},'cmd':_0x138eee['cmd']};case _0x1454f[_0x182133(0x1b8)]:return{..._0x138eee,'data':{..._0x2e9773,'data':(_0x1ad2dc=_0x2e9773['csAckEvent'])==null?void 0x0:_0x1ad2dc['cs']},'cmd':_0x138eee[_0x182133(0x2c6)]};case _0x1454f[_0x182133(0x1f9)]:return{..._0x138eee,'data':{..._0x2e9773,'data':(_0x313b8a=_0x2e9773[_0x182133(0x25a)])==null?void 0x0:_0x313b8a['cs']},'cmd':_0x138eee['cmd']};case _0x1454f[_0x182133(0x446)]:return{..._0x138eee,'data':{..._0x2e9773,'data':(_0x30b5aa=_0x2e9773[_0x182133(0x38f)])==null?void 0x0:_0x30b5aa['cs']},'cmd':_0x138eee[_0x182133(0x2c6)]};case _0x1454f['CHANGESET_SHOULD_RETRY']:return{..._0x138eee,'data':{..._0x2e9773,'data':(_0xa8eb1=_0x2e9773['csShouldRetryEvent'])==null?void 0x0:_0xa8eb1['cs']},'cmd':_0x138eee[_0x182133(0x2c6)]};case _0x1454f[_0x182133(0x393)]:return{..._0x138eee,'data':{..._0x2e9773,'data':_0x2e9773[_0x182133(0x2a9)]},'cmd':_0x138eee['cmd']};case _0x1454f[_0x182133(0x471)]:return{..._0x138eee,'data':{..._0x2e9773,'data':_0x2e9773[_0x182133(0x211)]},'cmd':_0x138eee['cmd']};case _0x1454f[_0x182133(0x313)]:return{..._0x138eee,'data':{..._0x2e9773,'data':_0x2e9773[_0x182133(0x398)]},'cmd':_0x138eee['cmd']};case _0x1454f[_0x182133(0x350)]:return{..._0x138eee,'data':{..._0x2e9773,'data':_0x2e9773[_0x182133(0x2b1)]},'cmd':_0x138eee[_0x182133(0x2c6)]};case _0x1454f[_0x182133(0x3d7)]:case _0x1454f['LIVESHARE_OPERATION']:return{..._0x138eee,'data':{..._0x2e9773,'data':_0x2e9773[_0x182133(0x2fe)]},'cmd':_0x138eee[_0x182133(0x2c6)]};case _0x1454f['LIVESHARE_TERMINATE']:return{..._0x138eee,'data':{..._0x2e9773,'data':_0x2e9773[_0x182133(0x2b1)]},'cmd':_0x138eee['cmd']};case _0x1454f[_0x182133(0x195)]:return{..._0x138eee,'data':_0x2e9773,'cmd':_0x138eee['cmd']};case _0x1454f[_0x182133(0x419)]:return{..._0x138eee,'data':{..._0x2e9773,'data':_0x2e9773[_0x182133(0x3dc)]},'cmd':_0x138eee[_0x182133(0x2c6)]};case _0x1454f[_0x182133(0x46a)]:return{..._0x138eee,'data':{..._0x2e9773,'data':_0x2e9773[_0x182133(0x442)]},'cmd':_0x138eee[_0x182133(0x2c6)]};case _0x1454f['SHOULD_CLOSE_CONN']:return{..._0x138eee,'data':{..._0x2e9773,'data':_0x2e9773['shouldCloseConn']},'cmd':_0x138eee[_0x182133(0x2c6)]};case _0x1454f[_0x182133(0x3c4)]:return{..._0x138eee,'data':{..._0x2e9773,'data':_0x2e9773['uniscriptRunEvent']},'cmd':_0x138eee[_0x182133(0x2c6)]};default:return _0x138eee;}}default:return _0x138eee;}}function Vs(_0x3091b4){var _0x213cb3=_0x3719d7;switch(_0x3091b4['cmd']){case F[_0x213cb3(0x371)]:case F[_0x213cb3(0x3b1)]:return JSON[_0x213cb3(0x2c8)]({'cmd':_0x3091b4['cmd'],'routeKey':_0x3091b4[_0x213cb3(0x228)]});case F[_0x213cb3(0x262)]:{let _0x52dfc0;switch(_0x3091b4['data'][_0x213cb3(0x20e)]){case _0x1454f['UPDATE_CURSOR']:{_0x52dfc0={'eventID':_0x1454f[_0x213cb3(0x393)],'updateCursorEvent':_0x3091b4[_0x213cb3(0x3a8)][_0x213cb3(0x3a8)]};break;}case _0x1454f[_0x213cb3(0x313)]:{_0x52dfc0={'eventID':_0x1454f[_0x213cb3(0x313)],'leaveEvent':_0x3091b4[_0x213cb3(0x3a8)][_0x213cb3(0x3a8)]};break;}case _0x1454f[_0x213cb3(0x471)]:{_0x52dfc0={'eventID':_0x1454f[_0x213cb3(0x471)],'joinEvent':_0x3091b4[_0x213cb3(0x3a8)][_0x213cb3(0x3a8)]};break;}case _0x1454f[_0x213cb3(0x350)]:{_0x52dfc0={'eventID':_0x1454f[_0x213cb3(0x350)],'liveShareNewHost':_0x3091b4[_0x213cb3(0x3a8)][_0x213cb3(0x3a8)]};break;}case _0x1454f['LIVESHARE_OPERATION']:{_0x52dfc0={'eventID':_0x1454f['LIVESHARE_OPERATION'],'liveShareOperation':_0x3091b4[_0x213cb3(0x3a8)][_0x213cb3(0x3a8)]};break;}case _0x1454f[_0x213cb3(0x3c5)]:{_0x52dfc0={'eventID':_0x1454f[_0x213cb3(0x3c5)],'liveShareTerminate':_0x3091b4[_0x213cb3(0x3a8)][_0x213cb3(0x3a8)]};break;}case _0x1454f['LIVESHARE_REQUEST_HOST']:{_0x52dfc0={'eventID':_0x1454f[_0x213cb3(0x3f8)],'liveShareRequestHost':_0x3091b4[_0x213cb3(0x3a8)][_0x213cb3(0x3a8)]};break;}case _0x1454f[_0x213cb3(0x3d7)]:{_0x52dfc0={'eventID':_0x1454f[_0x213cb3(0x3d7)]};break;}default:_0x52dfc0={'eventID':_0x3091b4[_0x213cb3(0x3a8)]['eventID']};}return JSON['stringify']({'cmd':_0x3091b4[_0x213cb3(0x2c6)],'routeKey':_0x3091b4[_0x213cb3(0x228)],'collaMsg':_0x52dfc0});}case F['JOIN']:return JSON[_0x213cb3(0x2c8)]({'cmd':_0x3091b4[_0x213cb3(0x2c6)],'routeKey':_0x3091b4[_0x213cb3(0x228)],'joinReq':_0x3091b4[_0x213cb3(0x3a8)]});case F[_0x213cb3(0x19c)]:return JSON[_0x213cb3(0x2c8)]({'cmd':_0x3091b4[_0x213cb3(0x2c6)],'routeKey':_0x3091b4[_0x213cb3(0x228)],'leaveReq':_0x3091b4[_0x213cb3(0x3a8)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ws=Object[_0x3719d7(0x2d0)],Gs=(_0x1b15da,_0x41e19a,_0x35dabd,_0x366240)=>{var _0x304130=_0x3719d7;for(var _0x5c9586=_0x366240>0x1?void 0x0:_0x366240?Ws(_0x41e19a,_0x35dabd):_0x41e19a,_0x24129a=_0x1b15da[_0x304130(0x463)]-0x1,_0xca1256;_0x24129a>=0x0;_0x24129a--)(_0xca1256=_0x1b15da[_0x24129a])&&(_0x5c9586=_0xca1256(_0x5c9586)||_0x5c9586);return _0x5c9586;},De=(_0x3ffad6,_0x3a128a)=>(_0x67ad0d,_0x3afd4f)=>_0x3a128a(_0x67ad0d,_0x3afd4f,_0x3ffad6);const Ci=_0x428e84(_0x3719d7(0x31c));function Ys(_0x2a839e,_0x39c654,_0x1cee3a){var _0x3117b9=_0x3719d7;return _0x2a839e+'/'+_0x39c654+_0x3117b9(0x368)+_0x1cee3a+'/new_changes';}let Gt=class extends _0x3c4e94{constructor(_0x28cd61,_0x4a3c39,_0x2193cb,_0x386bf6,_0x2282b8){var _0x40bd41=_0x3719d7;super(),this['_injector']=_0x28cd61,this[_0x40bd41(0x3a3)]=_0x4a3c39,this[_0x40bd41(0x2b3)]=_0x2193cb,this['_logService']=_0x386bf6,this[_0x40bd41(0x2f3)]=_0x2282b8;}[_0x3719d7(0x460)](_0x2cef70){var _0x5e784d=_0x3719d7;const _0x3342a2=this[_0x5e784d(0x1f0)]['get'](_0x201287);if(!_0x3342a2)throw new Error(_0x5e784d(0x2ed));const _0x5a9809=_0x3342a2[_0x5e784d(0x3e1)](_0x2cef70);if(!_0x5a9809)throw new Error(_0x5e784d(0x264));const _0x322758=new _0x380f49(),_0x5a8e5b=new _0x3ca5c9();_0x322758[_0x5e784d(0x3e4)](_0x5a9809[_0x5e784d(0x329)][_0x5e784d(0x405)](_0x45e8ff=>_0x5a8e5b[_0x5e784d(0x438)](_0x45e8ff))),_0x322758[_0x5e784d(0x3e4)](_0x1d27ff(()=>_0x5a8e5b[_0x5e784d(0x319)]()));const _0x469370=new _0x3ca5c9();_0x322758[_0x5e784d(0x3e4)](_0x5a9809[_0x5e784d(0x461)]['subscribe'](_0x109337=>_0x469370[_0x5e784d(0x438)](_0x109337))),_0x322758['add'](_0x1d27ff(()=>_0x469370['complete']()));const _0x30bbe8=new _0x3ca5c9();_0x322758[_0x5e784d(0x3e4)](_0x5a9809[_0x5e784d(0x3e5)][_0x5e784d(0x405)](_0x24a8c5=>{var _0x4c5118=_0x5e784d;const _0x395338=Fs(_0x24a8c5);_0x30bbe8[_0x4c5118(0x438)](_0x395338);})),_0x322758[_0x5e784d(0x3e4)](_0x1d27ff(()=>_0x30bbe8[_0x5e784d(0x319)]()));let _0x3616e5;const _0x17aaea=()=>{var _0x194a4=_0x5e784d;_0x469370[_0x194a4(0x438)](new Event(_0x194a4(0x3ff))),_0x5a8e5b[_0x194a4(0x438)](new Event(_0x194a4(0x3ff))),_0x3616e5[_0x194a4(0x276)]();};return _0x3616e5={'memberID':'','close$':_0x5a8e5b[_0x5e784d(0x1d3)](),'error$':_0x469370[_0x5e784d(0x1d3)](),'open$':_0x5a9809[_0x5e784d(0x454)],'message$':_0x30bbe8[_0x5e784d(0x1d3)](),'send':_0x42b2eb=>{var _0x3b1eae=_0x5e784d;if(_0x42b2eb[_0x3b1eae(0x2c6)]===F['INGEST']){if(_0x42b2eb['data'][_0x3b1eae(0x20e)]===_0x1454f[_0x3b1eae(0x27b)]){this[_0x3b1eae(0x283)](_0x3616e5,_0x42b2eb[_0x3b1eae(0x3a8)])[_0x3b1eae(0x327)](_0x3261b6=>{var _0x3af60f=_0x3b1eae;this['_logService'][_0x3af60f(0x19b)](_0x3261b6),_0x17aaea();});return;}if(_0x42b2eb[_0x3b1eae(0x3a8)][_0x3b1eae(0x20e)]===_0x1454f[_0x3b1eae(0x44d)]){const _0x5c9895=_0x42b2eb['data'];this[_0x3b1eae(0x359)](_0x5c9895)[_0x3b1eae(0x433)](_0x47c4a1=>{var _0x4e1745=_0x3b1eae;_0x30bbe8['next']({'cmd':F[_0x4e1745(0x37b)],'code':pe['OK'],'routeKey':_0x5c9895[_0x4e1745(0x3a8)][_0x4e1745(0x43a)],'routeType':'','data':{'eventID':_0x1454f['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x47c4a1}}});})[_0x3b1eae(0x327)](_0x4d12a0=>{var _0x5d81f7=_0x3b1eae;this[_0x5d81f7(0x3c6)][_0x5d81f7(0x19b)](_0x4d12a0),_0x17aaea();});return;}}_0x5a9809['send'](Vs(_0x42b2eb));},'close':()=>{var _0xf30c37=_0x5e784d;_0x5a9809[_0xf30c37(0x276)](),_0x322758[_0xf30c37(0x421)]();}},_0x3616e5;}async['_submitChangeset'](_0x2ff656,_0x4a0a96){var _0x3dc482=_0x3719d7,_0x1bc046;const {unitType:_0x495c1e,unitID:_0x390bab,changeset:_0x4c5671}=_0x4a0a96[_0x3dc482(0x3a8)],_0x4800e5={'unitID':_0x390bab,'memberID':_0x2ff656[_0x3dc482(0x422)],'type':_0x495c1e,'changeset':_0x3c14dd(_0x4c5671)},_0x5d38ae=this[_0x3dc482(0x2b3)][_0x3dc482(0x277)](K),_0x1d1068=Ys((_0x1bc046=_0x5d38ae==null?void 0x0:_0x5d38ae[_0x3dc482(0x1ba)])!=null?_0x1bc046:Cs,_0x495c1e,_0x390bab);try{await this[_0x3dc482(0x3a3)][_0x3dc482(0x26b)](_0x1d1068,{'body':_0x4800e5});}catch(_0x580bcd){throw this[_0x3dc482(0x3c6)][_0x3dc482(0x19b)](_0x3dc482(0x1ce),'submit\x20changeset\x20error!'),_0x580bcd;}}async[_0x3719d7(0x359)](_0x57104e){var _0x21ba5b=_0x3719d7;const {unitID:_0xa4de23,from:_0x893e26,to:_0x48ddb8,unitType:_0x1efffc}=_0x57104e[_0x21ba5b(0x3a8)];return(await this[_0x21ba5b(0x2f3)][_0x21ba5b(0x2aa)]({'metadata':void 0x0},{'unitID':_0xa4de23,'type':_0x1efffc,'from':_0x893e26,'to':_0x48ddb8}))[_0x21ba5b(0x227)];}};Gt=Gs([De(0x0,_0x9a05e2(_0x220a42)),De(0x1,_0x9a05e2(_0x4ae839)),De(0x2,_0x3f20e3),De(0x3,_0x116fbc),De(0x4,_0x364d64)],Gt);var Ks=Object[_0x3719d7(0x2d0)],qs=(_0xc45bfd,_0x3efd99,_0x53c14f,_0x5868f0)=>{var _0xa7a84d=_0x3719d7;for(var _0x270ddc=_0x5868f0>0x1?void 0x0:_0x5868f0?Ks(_0x3efd99,_0x53c14f):_0x3efd99,_0x2512d6=_0xc45bfd[_0xa7a84d(0x463)]-0x1,_0x572f0d;_0x2512d6>=0x0;_0x2512d6--)(_0x572f0d=_0xc45bfd[_0x2512d6])&&(_0x270ddc=_0x572f0d(_0x270ddc)||_0x270ddc);return _0x270ddc;},Re=(_0x4322fd,_0xd19adc)=>(_0x6b58e4,_0x35fff7)=>_0xd19adc(_0x6b58e4,_0x35fff7,_0x4322fd);let Pe=class extends _0x3c4e94{constructor(_0x30e926,_0x3485b1,_0x55de94,_0x5af34,_0x32361e,_0x137515){var _0x32924d=_0x3719d7;super(),N(this,_0x32924d(0x289),new _0x261aac(void 0x0)),N(this,_0x32924d(0x384),this[_0x32924d(0x289)][_0x32924d(0x1d3)]()),N(this,'_candidateSocket',null),N(this,'_sessions',new Map()),N(this,_0x32924d(0x425),new _0x261aac(ge[_0x32924d(0x372)])),N(this,_0x32924d(0x210),this[_0x32924d(0x425)][_0x32924d(0x1d3)]()),N(this,_0x32924d(0x18e),!0x1),N(this,_0x32924d(0x330)),N(this,_0x32924d(0x279),0x0),N(this,_0x32924d(0x2b7)),N(this,_0x32924d(0x3aa)),(this[_0x32924d(0x1f0)]=_0x30e926,this[_0x32924d(0x3c6)]=_0x3485b1,this[_0x32924d(0x2b3)]=_0x55de94,this[_0x32924d(0x202)]=_0x5af34,this['_collaborationUIEventService']=_0x32361e,this[_0x32924d(0x26e)]=_0x137515,this['_listenToNetworkCondition']());}get['_socket'](){var _0x2c12db=_0x3719d7;return this[_0x2c12db(0x289)][_0x2c12db(0x297)]();}[_0x3719d7(0x287)](){var _0x228927=_0x3719d7;this['_networkConditionService']&&this[_0x228927(0x389)](this[_0x228927(0x26e)]['online$']['subscribe'](_0x142884=>{var _0x1772c6=_0x228927;_0x142884&&!this[_0x1772c6(0x2f9)]&&this['reconnect'](),_0x142884||this[_0x1772c6(0x3a4)]();}));}[_0x3719d7(0x421)](){var _0x40bc71=_0x3719d7;super[_0x40bc71(0x421)](),this[_0x40bc71(0x39e)](),this[_0x40bc71(0x2fd)](),this[_0x40bc71(0x3dd)](),this[_0x40bc71(0x3bc)][_0x40bc71(0x473)](_0x253b2c=>_0x253b2c[_0x40bc71(0x421)]()),this[_0x40bc71(0x3bc)][_0x40bc71(0x1de)](),this['_status$'][_0x40bc71(0x319)]();}async['requireSession'](_0x840b5d){var _0x19f300=_0x3719d7;if(this['_sessions'][_0x19f300(0x3f0)](_0x840b5d))return this['_sessions'][_0x19f300(0x3b3)](_0x840b5d);this['_tryEnsureSocket']();const _0x4a27dc=this['_injector']['createInstance'](gt,_0x840b5d,this['_socket$'][_0x19f300(0x1d3)]());return this[_0x19f300(0x3bc)][_0x19f300(0x1cb)](_0x840b5d,_0x4a27dc),_0x4a27dc;}[_0x3719d7(0x3ad)](_0x42359f){var _0x36ed3d=_0x3719d7,_0x328a3c;const _0x5770cb=this[_0x36ed3d(0x3bc)][_0x36ed3d(0x3b3)](_0x42359f);_0x5770cb&&(this[_0x36ed3d(0x3bc)][_0x36ed3d(0x1d9)](_0x42359f),_0x5770cb[_0x36ed3d(0x276)]()),this[_0x36ed3d(0x3bc)][_0x36ed3d(0x192)]||(_0x328a3c=this[_0x36ed3d(0x2f9)])==null||_0x328a3c[_0x36ed3d(0x276)]();}['reconnect'](){var _0x76480a=_0x3719d7;this[_0x76480a(0x279)]=0x0,this[_0x76480a(0x39e)](),this[_0x76480a(0x1e3)]();}[_0x3719d7(0x39e)](){var _0x22a88e=_0x3719d7;this[_0x22a88e(0x330)]!=null&&(clearTimeout(this[_0x22a88e(0x330)]),this[_0x22a88e(0x330)]=null);}async[_0x3719d7(0x1f6)](){var _0x38dcb3=_0x3719d7,_0x35cfea;const _0x2f59c8=this[_0x38dcb3(0x2b3)][_0x38dcb3(0x277)](K),_0x139600=(_0x35cfea=_0x2f59c8==null?void 0x0:_0x2f59c8['collabWebSocketUrl'])!=null?_0x35cfea:ms,_0x2f8892=await this[_0x38dcb3(0x202)][_0x38dcb3(0x3e1)](_0x139600);return this['_candidateSocket']=_0x2f8892,_0x2f8892;}async[_0x3719d7(0x3fd)](){var _0x180604=_0x3719d7,_0x59c00b,_0x3e74de;try{const _0x2e60b4=(_0x3e74de=(_0x59c00b=this['_socket'])!=null?_0x59c00b:this['_candidateSocket'])!=null?_0x3e74de:await this[_0x180604(0x1f6)]();if(_0x2e60b4){const _0x36ad9d=_0x2e60b4[_0x180604(0x377)];_0x2e60b4['send']=_0x21341c=>(this['_rescheduleHeartbeat'](),_0x36ad9d['apply'](_0x2e60b4,[_0x21341c])),_0x2e60b4[_0x180604(0x3e5)][_0x180604(0x405)](_0x1fd65f=>this[_0x180604(0x42f)](_0x2e60b4,_0x1fd65f)),_0x2e60b4[_0x180604(0x461)][_0x180604(0x285)](_0x3d8f27(0x1))['subscribe'](_0x5416c9=>this['_logService'][_0x180604(0x19b)](_0x180604(0x343),_0x5416c9)),_0x2e60b4['open$']['pipe'](_0x3d8f27(0x1))[_0x180604(0x405)](()=>{var _0x1ae6af=_0x180604;this[_0x1ae6af(0x19e)](_0x2e60b4);}),_0x2e60b4[_0x180604(0x329)]['pipe'](_0x3d8f27(0x1))[_0x180604(0x405)](_0x1f0cb2=>{var _0x27f564=_0x180604;this[_0x27f564(0x3c6)]['debug']('[CollaborationSessionService]','socket\x20close',_0x1f0cb2),this['_onConnectionFailed']();});}}catch(_0x4b26f4){this['_logService'][_0x180604(0x19b)](_0x4b26f4),this[_0x180604(0x19f)]();}}['_onConnectionOpen'](_0x389ef1){var _0x188386=_0x3719d7;this['_logService'][_0x188386(0x229)](_0x188386(0x1be),_0x188386(0x451)),_0x389ef1[_0x188386(0x377)]({'cmd':F[_0x188386(0x3b1)]}),this[_0x188386(0x294)]();}['_onOffline'](){var _0x17ac0f=_0x3719d7;this['_socketReady']=!0x1,this[_0x17ac0f(0x45c)]=null,this[_0x17ac0f(0x425)][_0x17ac0f(0x438)](ge['OFFLINE']),this[_0x17ac0f(0x289)]['next'](null),this[_0x17ac0f(0x2fd)](),this[_0x17ac0f(0x3dd)]();}[_0x3719d7(0x19f)](){var _0x50a558=_0x3719d7,_0x56be1a;this[_0x50a558(0x3a4)](),this[_0x50a558(0x279)]<((_0x56be1a=this['_configService']['getConfig'](Is))!=null?_0x56be1a:Ts)?(this[_0x50a558(0x32a)][_0x50a558(0x3e6)]({'id':ne[_0x50a558(0x3b2)]}),this[_0x50a558(0x1e3)]()):this[_0x50a558(0x32a)][_0x50a558(0x3e6)]({'id':ne[_0x50a558(0x30a)]});}[_0x3719d7(0x1e3)](){var _0x555111=_0x3719d7,_0x51c8f0;const _0xcbbcde=this[_0x555111(0x279)],_0x4daebe=this[_0x555111(0x2b3)]['getConfig'](K),_0x2791de=_0xcbbcde===0x0?0x0:((_0x51c8f0=_0x4daebe==null?void 0x0:_0x4daebe[_0x555111(0x308)])!=null?_0x51c8f0:Es)*0x2**_0xcbbcde;this[_0x555111(0x330)]=setTimeout(()=>{var _0x19a8c4=_0x555111;clearTimeout(this[_0x19a8c4(0x330)]),this[_0x19a8c4(0x330)]=null,this[_0x19a8c4(0x3fd)]();},_0x2791de),this[_0x555111(0x279)]+=0x1;}['_onMessage'](_0x8d2d36,_0x400eba){var _0x399c4a=_0x3719d7;const {cmd:_0x26a6e2}=_0x400eba;_0x26a6e2===F[_0x399c4a(0x3b1)]&&!this['_socketReady']&&(_0x8d2d36['memberID']=_0x400eba[_0x399c4a(0x3a8)][_0x399c4a(0x422)],this['_socket$'][_0x399c4a(0x438)](_0x8d2d36),this['_status$'][_0x399c4a(0x438)](ge['ONLINE']),this[_0x399c4a(0x18e)]=!0x0,this['_candidateSocket']=null),_0x26a6e2===F[_0x399c4a(0x371)]&&this[_0x399c4a(0x2fd)](),this['_rescheduleHeartbeat']();}[_0x3719d7(0x294)](){var _0x3ce8f5=_0x3719d7,_0x152ab4;this[_0x3ce8f5(0x3dd)](),this[_0x3ce8f5(0x2b7)]=setTimeout(()=>this[_0x3ce8f5(0x26a)](),(_0x152ab4=this[_0x3ce8f5(0x2b3)][_0x3ce8f5(0x277)](gs))!=null?_0x152ab4:Ss);}[_0x3719d7(0x26a)](){var _0x4384f4=_0x3719d7;this['_socket'][_0x4384f4(0x377)]({'cmd':F['HEARTBEAT']}),this[_0x4384f4(0x2de)]();}[_0x3719d7(0x2de)](){var _0x1eac75=_0x3719d7,_0x3c7d13;this[_0x1eac75(0x3aa)]=setTimeout(()=>this[_0x1eac75(0x19f)](),(_0x3c7d13=this['_configService'][_0x1eac75(0x277)](di))!=null?_0x3c7d13:fi);}[_0x3719d7(0x3dd)](){var _0x2ddd07=_0x3719d7;this[_0x2ddd07(0x2b7)]!=null&&(clearTimeout(this[_0x2ddd07(0x2b7)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x2eb79a=_0x3719d7;this[_0x2eb79a(0x3aa)]!=null&&(clearTimeout(this[_0x2eb79a(0x3aa)]),this[_0x2eb79a(0x3aa)]=null);}};Pe=qs([Re(0x0,_0x9a05e2(_0x220a42)),Re(0x1,_0x116fbc),Re(0x2,_0x3f20e3),Re(0x3,Ci),Re(0x4,_0x9a05e2(ve)),Re(0x5,_0x16e192(js))],Pe);var zs=Object[_0x3719d7(0x2d0)],Js=(_0x28990c,_0x415d8f,_0x22ab7c,_0x47b21c)=>{var _0x3558e4=_0x3719d7;for(var _0x48d73b=_0x47b21c>0x1?void 0x0:_0x47b21c?zs(_0x415d8f,_0x22ab7c):_0x415d8f,_0x395776=_0x28990c[_0x3558e4(0x463)]-0x1,_0xe94aa7;_0x395776>=0x0;_0x395776--)(_0xe94aa7=_0x28990c[_0x395776])&&(_0x48d73b=_0xe94aa7(_0x48d73b)||_0x48d73b);return _0x48d73b;},Be=(_0x9ddf55,_0x46df37)=>(_0x1d450a,_0x1e0107)=>_0x46df37(_0x1d450a,_0x1e0107,_0x9ddf55);let nt=class extends _0x103aff{constructor(_0x50a984,_0x4de8b8,_0xbffc7b,_0x30d4d8){var _0x50f957=_0x3719d7,_0x186601;super(),N(this,'_entities',new Map()),N(this,_0x50f957(0x298),new _0x3ca5c9()),N(this,_0x50f957(0x42b),this[_0x50f957(0x298)][_0x50f957(0x1d3)]()),(this[_0x50f957(0x1f0)]=_0x50a984,this[_0x50f957(0x305)]=_0x4de8b8,this[_0x50f957(0x2b3)]=_0xbffc7b,this[_0x50f957(0x484)]=_0x30d4d8,((_0x186601=this[_0x50f957(0x2b3)]['getConfig'](K))==null?void 0x0:_0x186601['enableCollaboration'])!==!0x1&&this['_init']());}[_0x3719d7(0x421)](){var _0x453624=_0x3719d7;super['dispose'](),this['_entities']['forEach'](_0x3e4d9e=>_0x3e4d9e['dispose']()),this[_0x453624(0x44a)]['clear']();}[_0x3719d7(0x1e4)](_0x193611){var _0x4eec28=_0x3719d7,_0x57cdb6;return(_0x57cdb6=this[_0x4eec28(0x44a)][_0x4eec28(0x3b3)](_0x193611))!=null?_0x57cdb6:null;}['getCollabEntity$'](_0x698ef0){var _0x3d8b5a=_0x3719d7;const _0x44f1d1=this[_0x3d8b5a(0x1e4)](_0x698ef0);return _0x44f1d1?_0x224c4f(_0x44f1d1):this[_0x3d8b5a(0x298)][_0x3d8b5a(0x285)](_0x1e33d7(_0x7f8faf=>_0x7f8faf[_0x3d8b5a(0x43a)]===_0x698ef0));}[_0x3719d7(0x44c)](_0x5ed621){var _0x4d7fc1=_0x3719d7;return _0x4d9741(this['getCollabEntity$'](_0x5ed621)[_0x4d7fc1(0x285)](_0x5a13d1(()=>{})));}[_0x3719d7(0x243)](){var _0x4e6a79=_0x3719d7;this['_univerInstanceService'][_0x4e6a79(0x42e)](_0x14a7db[_0x4e6a79(0x1eb)])[_0x4e6a79(0x285)](_0x4176c5(this[_0x4e6a79(0x361)]),_0x1e3ec4(0x10))[_0x4e6a79(0x405)](async _0x512b0b=>{var _0x550d78=_0x4e6a79;const _0x2ca89a=_0x512b0b['getUnitId'](),_0xcda845=await this[_0x550d78(0x3b9)](_0x2ca89a,Z[_0x550d78(0x1eb)]);this[_0x550d78(0x44a)][_0x550d78(0x1cb)](_0x2ca89a,_0xcda845);}),this[_0x4e6a79(0x484)][_0x4e6a79(0x42e)](_0x14a7db[_0x4e6a79(0x406)])[_0x4e6a79(0x285)](_0x4176c5(this['dispose$']),_0x1e3ec4(0x10))[_0x4e6a79(0x285)](_0x1e33d7(_0x4f1d84=>!_0x4f1d84['getUnitId']()[_0x4e6a79(0x2c2)]('__')))[_0x4e6a79(0x405)](async _0x39eb85=>{var _0x567136=_0x4e6a79;const _0x310fba=_0x39eb85[_0x567136(0x354)](),_0x863877=await this['_startCollaboration'](_0x310fba,Z[_0x567136(0x406)]);this[_0x567136(0x44a)][_0x567136(0x1cb)](_0x310fba,_0x863877);}),_0x2f8997(this['_univerInstanceService'][_0x4e6a79(0x369)](_0x14a7db[_0x4e6a79(0x1eb)]),this[_0x4e6a79(0x484)][_0x4e6a79(0x369)](_0x14a7db[_0x4e6a79(0x406)]))[_0x4e6a79(0x285)](_0x4176c5(this[_0x4e6a79(0x361)]))[_0x4e6a79(0x405)](_0x3211d0=>{var _0x26d4a2=_0x4e6a79;const _0x212175=_0x3211d0['getUnitId'](),_0x2981ce=this[_0x26d4a2(0x44a)]['get'](_0x212175);_0x2981ce&&(_0x2981ce[_0x26d4a2(0x421)](),this[_0x26d4a2(0x44a)][_0x26d4a2(0x1d9)](_0x212175));});}async['_startCollaboration'](_0x4de581,_0x4e753e){var _0x40b189=_0x3719d7;const _0xd760d3=await this[_0x40b189(0x305)]['requireSession'](_0x4de581),_0x43bb58=this[_0x40b189(0x1f0)][_0x40b189(0x3c1)](this[_0x40b189(0x1d2)](_0x4e753e),_0x4de581,_0x4e753e,_0xd760d3);return await _0x43bb58[_0x40b189(0x478)](),this[_0x40b189(0x298)][_0x40b189(0x438)](_0x43bb58),_0x43bb58;}[_0x3719d7(0x1d2)](_0x23b2b5){var _0x235a0b=_0x3719d7;switch(_0x23b2b5){case Z[_0x235a0b(0x406)]:return St;case Z[_0x235a0b(0x1eb)]:return Et;default:throw new Error(_0x235a0b(0x31f)+_0x23b2b5);}}};nt=Js([Be(0x0,_0x9a05e2(_0x220a42)),Be(0x1,_0x9a05e2(Pe)),Be(0x2,_0x3f20e3),Be(0x3,_0x3b570d)],nt);var Xs=Object[_0x3719d7(0x2d0)],Zs=(_0x6ee165,_0x22b4c7,_0x2f246d,_0x13d112)=>{var _0x3a52c9=_0x3719d7;for(var _0x5e56ad=_0x13d112>0x1?void 0x0:_0x13d112?Xs(_0x22b4c7,_0x2f246d):_0x22b4c7,_0xb7ac5a=_0x6ee165[_0x3a52c9(0x463)]-0x1,_0x13b098;_0xb7ac5a>=0x0;_0xb7ac5a--)(_0x13b098=_0x6ee165[_0xb7ac5a])&&(_0x5e56ad=_0x13b098(_0x5e56ad)||_0x5e56ad);return _0x5e56ad;},Yt=(_0x499ed1,_0x2816e3)=>(_0xd0363,_0x488996)=>_0x2816e3(_0xd0363,_0x488996,_0x499ed1);const Qs=_0x3719d7(0x234),en=_0x3719d7(0x430);let It=class extends _0x3c4e94{constructor(_0x8589e,_0x139190){var _0x2ff3c0=_0x3719d7;super(),this['_univerInstanceService']=_0x8589e,this[_0x2ff3c0(0x2b3)]=_0x139190,this[_0x2ff3c0(0x243)]();}[_0x3719d7(0x243)](){var _0x1f73b3=_0x3719d7;this['disposeWithMe'](this['_univerInstanceService']['focused$'][_0x1f73b3(0x405)](()=>{var _0x3c4e51=_0x1f73b3,_0x2a0d2f;const _0x3146b4=this['_univerInstanceService'][_0x3c4e51(0x31a)]();let _0x42390=(_0x2a0d2f=this['_configService']['getConfig'](Qs))!=null?_0x2a0d2f:en;_0x3146b4 instanceof _0x52dadb&&(_0x42390=_0x3146b4[_0x3c4e51(0x367)]),document[_0x3c4e51(0x2e3)]=_0x42390;}));}};It=Zs([Yt(0x0,_0x3b570d),Yt(0x1,_0x3f20e3)],It);var tn=Object[_0x3719d7(0x2d0)],sn=(_0x4e3c7e,_0x16229e,_0x51245d,_0x4d8d58)=>{var _0x6e777d=_0x3719d7;for(var _0x37d742=_0x4d8d58>0x1?void 0x0:_0x4d8d58?tn(_0x16229e,_0x51245d):_0x16229e,_0x57280b=_0x4e3c7e[_0x6e777d(0x463)]-0x1,_0xc47981;_0x57280b>=0x0;_0x57280b--)(_0xc47981=_0x4e3c7e[_0x57280b])&&(_0x37d742=_0xc47981(_0x37d742)||_0x37d742);return _0x37d742;},dt=(_0x3ca6b9,_0x421cc4)=>(_0xd4be23,_0x2bc31d)=>_0x421cc4(_0xd4be23,_0x2bc31d,_0x3ca6b9);let rt=class{constructor(_0xed860b,_0x481880,_0x213852){var _0x10bd06=_0x3719d7;this[_0x10bd06(0x2b3)]=_0xed860b,this[_0x10bd06(0x3a3)]=_0x481880,this['localeService']=_0x213852,this[_0x10bd06(0x478)]();}['init'](){var _0x3d5d9d=_0x3719d7;this[_0x3d5d9d(0x3a3)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x36f020,_0x56ae82)=>_0x56ae82(_0x36f020)[_0x3d5d9d(0x285)](_0x182fc3(async _0x499fa4=>{var _0xa53ae5=_0x3d5d9d;const _0x1273b5=_0x499fa4;if(_0x1273b5[_0xa53ae5(0x453)]===0x191){if(typeof window>'u')throw new Error(_0xa53ae5(0x3fb));if(window['confirm'](this[_0xa53ae5(0x1d4)]['t'](_0xa53ae5(0x231)))){const _0x12b77d=window[_0xa53ae5(0x193)](window['location'][_0xa53ae5(0x2da)]);window[_0xa53ae5(0x44e)]['href']=this[_0xa53ae5(0x1d7)]()+_0xa53ae5(0x436)+_0x12b77d;}}return _0x1273b5;}))});}[_0x3719d7(0x1d7)](){var _0x35798d=_0x3719d7,_0x4226e5;const _0x49e960=this[_0x35798d(0x2b3)]['getConfig'](K);return(_0x4226e5=_0x49e960==null?void 0x0:_0x49e960[_0x35798d(0x390)])!=null?_0x4226e5:Rs;}};rt=sn([dt(0x0,_0x3f20e3),dt(0x1,_0x9a05e2(_0x4ae839)),dt(0x2,_0x9a05e2(_0xfa6b6f))],rt);var nn=Object[_0x3719d7(0x2d0)],rn=(_0x1e1a4d,_0x2e4d1b,_0xc46b60,_0x4d2fb2)=>{var _0x10f833=_0x3719d7;for(var _0x520474=_0x4d2fb2>0x1?void 0x0:_0x4d2fb2?nn(_0x2e4d1b,_0xc46b60):_0x2e4d1b,_0x4aec9b=_0x1e1a4d[_0x10f833(0x463)]-0x1,_0x44f695;_0x4aec9b>=0x0;_0x4aec9b--)(_0x44f695=_0x1e1a4d[_0x4aec9b])&&(_0x520474=_0x44f695(_0x520474)||_0x520474);return _0x520474;},Kt=(_0x30bd86,_0x48d40b)=>(_0x679017,_0x3d5fff)=>_0x48d40b(_0x679017,_0x3d5fff,_0x30bd86);const an=_0x3719d7(0x46e);let Tt=class extends _0x3c4e94{constructor(_0x2a7ba6,_0x52ed1d){var _0x54d65e=_0x3719d7;super(),this[_0x54d65e(0x27f)]=_0x2a7ba6,this[_0x54d65e(0x2b3)]=_0x52ed1d,this[_0x54d65e(0x346)]();}[_0x3719d7(0x346)](){var _0x13eb12=_0x3719d7;const _0x35a150=this;this['disposeWithMe'](this[_0x13eb12(0x27f)][_0x13eb12(0x387)]({'priority':0x3e7,'interceptor':_0x24f580({'isMatch'(_0xba1a4a){var _0x3e6d3d=_0x13eb12,_0x26e3dc;if(_0xba1a4a[_0x3e6d3d(0x1b9)]===_0x3e6d3d(0x448)&&((_0x26e3dc=_0xba1a4a[_0x3e6d3d(0x1bc)])!=null&&_0x26e3dc[_0x3e6d3d(0x476)])){const {objectID:_0x4ed943,objectType:_0x1657db}=_0xba1a4a[_0x3e6d3d(0x1bc)][_0x3e6d3d(0x476)]||{};if(!_0x4ed943||_0x1657db===void 0x0)return!0x1;const _0x5aaec3=_0x35a150['_getAPIPrefixPath']()+'/'+_0x1657db+_0x3e6d3d(0x22a)+_0x4ed943+'/allowed';if(_0xba1a4a[_0x3e6d3d(0x1a1)]===_0x5aaec3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2534bc){var _0x5cec33=_0x13eb12,_0x5482fd;return(_0x5482fd=_0x2534bc['requestParams'])==null?void 0x0:_0x5482fd[_0x5cec33(0x476)];},'mergeParamsToRequest'(_0x39e26f,_0x35085b){var _0x4f5fdf=_0x13eb12;const _0x43f9ee=_0x35a150[_0x4f5fdf(0x41e)]()+_0x4f5fdf(0x2db),_0x16243d=_0x39e26f[_0x4f5fdf(0x3c7)]((_0x384e2f,_0x384334)=>{var _0x3435fd=_0x4f5fdf;const {unitID:_0x30096e,objectID:_0x2a18a0,objectType:_0x2b7ae5,actions:_0x17fae8}=_0x384334;return _0x384e2f[_0x30096e]||(_0x384e2f[_0x30096e]={}),_0x384e2f[_0x30096e][_0x2a18a0]||(_0x384e2f[_0x30096e][_0x2a18a0]={'objectID':_0x2a18a0,'objectType':_0x2b7ae5,'actions':[]}),_0x384e2f[_0x30096e][_0x2a18a0][_0x3435fd(0x245)][_0x3435fd(0x33e)](..._0x17fae8),_0x384e2f;},{}),_0x59306e=[];for(const _0x11eb01 in _0x16243d)for(const _0xf65a19 in _0x16243d[_0x11eb01]){const {actions:_0x268c87,objectType:_0x1dde3b}=_0x16243d[_0x11eb01][_0xf65a19],_0x5b562e=[...new Set(_0x268c87)];_0x59306e['push']({'unitID':_0x11eb01,'objectID':_0xf65a19,'objectType':_0x1dde3b,'actions':_0x5b562e});}return new _0x3792af(_0x4f5fdf(0x448),_0x43f9ee,{'headers':_0x35085b[_0x4f5fdf(0x274)],'withCredentials':_0x35085b[_0x4f5fdf(0x1a9)],'responseType':_0x35085b['responseType'],'body':{'requests':_0x59306e}});}},{'distributeResult'(_0x227032,_0x1374bb){const {objectActions:_0x108b76}=_0x227032;return _0x1374bb['map'](_0x424cef=>{var _0xad7581=_0x3e70;const {unitID:_0x4a8964,objectID:_0x377af8,actions:_0x1f98a2}=_0x424cef,_0x418fcf=_0x108b76['find'](_0xc3c796=>_0xc3c796['unitID']===_0x4a8964&&_0xc3c796[_0xad7581(0x271)]===_0x377af8),_0x11e82c=_0x1f98a2['map'](_0x1220a0=>_0x418fcf==null?void 0x0:_0x418fcf['actions']['find'](_0x316471=>_0x316471[_0xad7581(0x2f2)]===_0x1220a0))['filter'](_0x275722=>!!_0x275722);return{'config':_0x424cef,'result':{'actions':_0x11e82c,'error':_0x227032[_0xad7581(0x19b)]}};});}})}));}[_0x3719d7(0x41e)](){var _0x271779=_0x3719d7,_0x2c3572;const _0xe0ff1f=this[_0x271779(0x2b3)][_0x271779(0x277)](K);return(_0x2c3572=_0xe0ff1f==null?void 0x0:_0xe0ff1f[_0x271779(0x2bc)])!=null?_0x2c3572:an;}async[_0x3719d7(0x29d)](_0x5d507f){var _0x319eef=_0x3719d7;const _0x228d03=this[_0x319eef(0x41e)]()+'/'+_0x5d507f['objectType']+_0x319eef(0x284);return(await this['_HTTPService']['post'](_0x228d03,{'body':_0x5d507f}))[_0x319eef(0x476)]['objectID']||'';}async['list'](_0x13ed38){var _0x3b1bc9=_0x3719d7;const _0x11640c=this['_getAPIPrefixPath']()+_0x3b1bc9(0x394);return(await this[_0x3b1bc9(0x27f)][_0x3b1bc9(0x26b)](_0x11640c,{'body':_0x13ed38}))['body'][_0x3b1bc9(0x267)];}async[_0x3719d7(0x47d)](_0x7767aa){var _0x389d3d=_0x3719d7,_0x54c92a,_0x411037;const _0x101333=this[_0x389d3d(0x41e)]()+'/'+_0x7767aa['objectType']+_0x389d3d(0x22a)+_0x7767aa[_0x389d3d(0x271)],_0x3851d8=await this[_0x389d3d(0x27f)]['put'](_0x101333,{'body':_0x7767aa});if(((_0x411037=(_0x54c92a=_0x3851d8==null?void 0x0:_0x3851d8['body'])==null?void 0x0:_0x54c92a['error'])==null?void 0x0:_0x411037[_0x389d3d(0x216)])!==0x1)throw new Error(_0x389d3d(0x3eb));}async['allowed'](_0x4a668f){var _0x2dcfee=_0x3719d7;const _0x42c271=this[_0x2dcfee(0x41e)]()+'/'+_0x4a668f[_0x2dcfee(0x36f)]+_0x2dcfee(0x22a)+_0x4a668f[_0x2dcfee(0x271)]+_0x2dcfee(0x230);return(await this[_0x2dcfee(0x27f)][_0x2dcfee(0x26b)](_0x42c271,{'body':_0x4a668f}))[_0x2dcfee(0x476)][_0x2dcfee(0x245)];}async[_0x3719d7(0x1e6)](_0x35f060){var _0x591fdd=_0x3719d7;const _0x5660fa=this[_0x591fdd(0x41e)]()+'/-/object/-/batch_allowed';return(await this[_0x591fdd(0x27f)][_0x591fdd(0x26b)](_0x5660fa,{'body':{'requests':_0x35f060}}))[_0x591fdd(0x476)][_0x591fdd(0x38d)];}async[_0x3719d7(0x301)](_0x342844){var _0x2234ed=_0x3719d7;const _0x3f03d5=this[_0x2234ed(0x41e)]()+'/'+_0x342844['objectType']+_0x2234ed(0x2cf),_0x5ca807=await this[_0x2234ed(0x27f)]['post'](_0x3f03d5,{'body':_0x342844});return{'roles':_0x5ca807['body'][_0x2234ed(0x1bd)],'actions':_0x5ca807['body'][_0x2234ed(0x245)]};}async[_0x3719d7(0x3ae)](_0x42688f){var _0xd0e61c=_0x3719d7;const _0x3ca343=this[_0xd0e61c(0x41e)]()+_0xd0e61c(0x3cb);await this[_0xd0e61c(0x27f)][_0xd0e61c(0x1d9)](_0x3ca343,{'params':{'collaboratorID':_0x42688f[_0xd0e61c(0x482)],'objectID':_0x42688f[_0xd0e61c(0x271)],'unitID':_0x42688f[_0xd0e61c(0x43a)]}});}async[_0x3719d7(0x3d5)](_0x24f048){var _0x1a68fb=_0x3719d7;const _0x1a835f=this[_0x1a68fb(0x41e)]()+_0x1a68fb(0x3cb);await this['_HTTPService'][_0x1a68fb(0x3f7)](_0x1a835f,{'body':_0x24f048});}async[_0x3719d7(0x2e7)](_0x14f7b1){var _0x57467a=_0x3719d7;const _0x1ec1cf=this[_0x57467a(0x41e)]()+_0x57467a(0x3cb);await this[_0x57467a(0x27f)][_0x57467a(0x26b)](_0x1ec1cf,{'body':_0x14f7b1});}async['listCollaborators'](_0x1586b4){var _0x31430f=_0x3719d7;const _0x2f3168=this[_0x31430f(0x41e)]()+_0x31430f(0x3cb);return(await this[_0x31430f(0x27f)][_0x31430f(0x3b3)](_0x2f3168,{'params':{'objectID':_0x1586b4[_0x31430f(0x271)],'unitID':_0x1586b4[_0x31430f(0x43a)]}}))[_0x31430f(0x476)][_0x31430f(0x472)];}async[_0x3719d7(0x338)](_0x60f26a){var _0x583e9d=_0x3719d7;const _0x5a30d6=this[_0x583e9d(0x41e)]()+_0x583e9d(0x3cb);await this[_0x583e9d(0x27f)][_0x583e9d(0x30f)](_0x5a30d6,{'body':_0x60f26a});}};Tt=rn([Kt(0x0,_0x9a05e2(_0x4ae839)),Kt(0x1,_0x9a05e2(_0x3f20e3))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x3a485d){var _0x14bb17=_0x3719d7;return _0x3a485d&&_0x3a485d['__esModule']&&Object[_0x14bb17(0x342)][_0x14bb17(0x2dc)]['call'](_0x3a485d,_0x14bb17(0x417))?_0x3a485d[_0x14bb17(0x417)]:_0x3a485d;}var Ve={'exports':{}};function on(_0x46ac4a){var _0x3b7ca9=_0x3719d7;throw new Error(_0x3b7ca9(0x21b)+_0x46ac4a+_0x3b7ca9(0x2ad));}var We={'exports':{}},cn=We[_0x3719d7(0x2d6)],qt;function te(){var _0x4dca9e=_0x3719d7;return qt||(qt=0x1,function(_0x4455cf,_0x407192){(function(_0x32858a,_0x4d416c){var _0x3bd662=_0x3e70;_0x4455cf[_0x3bd662(0x2d6)]=_0x4d416c();}(cn,function(){var _0x4dea35=_0x4dea35||function(_0x23b8a8,_0x5b8301){var _0xd4cc85=_0x3e70,_0x51c9b0;if(typeof window<'u'&&window[_0xd4cc85(0x2df)]&&(_0x51c9b0=window['crypto']),typeof self<'u'&&self[_0xd4cc85(0x2df)]&&(_0x51c9b0=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x51c9b0=globalThis[_0xd4cc85(0x2df)]),!_0x51c9b0&&typeof window<'u'&&window[_0xd4cc85(0x3bf)]&&(_0x51c9b0=window[_0xd4cc85(0x3bf)]),!_0x51c9b0&&typeof ft<'u'&&ft['crypto']&&(_0x51c9b0=ft['crypto']),!_0x51c9b0&&typeof on==_0xd4cc85(0x356))try{_0x51c9b0=require('crypto');}catch{}var _0x1b1a76=function(){var _0x3e73b9=_0xd4cc85;if(_0x51c9b0){if(typeof _0x51c9b0['getRandomValues']==_0x3e73b9(0x356))try{return _0x51c9b0[_0x3e73b9(0x3e3)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x51c9b0[_0x3e73b9(0x224)]==_0x3e73b9(0x356))try{return _0x51c9b0[_0x3e73b9(0x224)](0x4)[_0x3e73b9(0x25b)]();}catch{}}throw new Error(_0x3e73b9(0x357));},_0x3512f4=Object[_0xd4cc85(0x29d)]||(function(){function _0x24d681(){}return function(_0x174393){var _0x123b1b=_0x3e70,_0x4c3190;return _0x24d681['prototype']=_0x174393,_0x4c3190=new _0x24d681(),_0x24d681[_0x123b1b(0x342)]=null,_0x4c3190;};}()),_0x479fe3={},_0x4f18e7=_0x479fe3['lib']={},_0x5b6c42=_0x4f18e7[_0xd4cc85(0x339)]=(function(){return{'extend':function(_0x244c65){var _0x3613c5=_0x3e70,_0x176646=_0x3512f4(this);return _0x244c65&&_0x176646['mixIn'](_0x244c65),(!_0x176646[_0x3613c5(0x2dc)](_0x3613c5(0x478))||this[_0x3613c5(0x478)]===_0x176646[_0x3613c5(0x478)])&&(_0x176646[_0x3613c5(0x478)]=function(){var _0x53d98a=_0x3613c5;_0x176646['$super'][_0x53d98a(0x478)][_0x53d98a(0x2d3)](this,arguments);}),_0x176646['init'][_0x3613c5(0x342)]=_0x176646,_0x176646[_0x3613c5(0x28a)]=this,_0x176646;},'create':function(){var _0x190ad4=_0x3e70,_0x2cdca4=this[_0x190ad4(0x1ae)]();return _0x2cdca4['init'][_0x190ad4(0x2d3)](_0x2cdca4,arguments),_0x2cdca4;},'init':function(){},'mixIn':function(_0x4208d7){var _0xc57e72=_0x3e70;for(var _0x4a970d in _0x4208d7)_0x4208d7[_0xc57e72(0x2dc)](_0x4a970d)&&(this[_0x4a970d]=_0x4208d7[_0x4a970d]);_0x4208d7[_0xc57e72(0x2dc)](_0xc57e72(0x263))&&(this[_0xc57e72(0x263)]=_0x4208d7[_0xc57e72(0x263)]);},'clone':function(){var _0x57f117=_0x3e70;return this[_0x57f117(0x478)][_0x57f117(0x342)][_0x57f117(0x1ae)](this);}};}()),_0x3a93ce=_0x4f18e7[_0xd4cc85(0x40b)]=_0x5b6c42[_0xd4cc85(0x1ae)]({'init':function(_0xa8be86,_0x28bd0b){var _0x30770c=_0xd4cc85;_0xa8be86=this[_0x30770c(0x27d)]=_0xa8be86||[],_0x28bd0b!=_0x5b8301?this[_0x30770c(0x418)]=_0x28bd0b:this[_0x30770c(0x418)]=_0xa8be86[_0x30770c(0x463)]*0x4;},'toString':function(_0x174bd5){var _0x3b91d4=_0xd4cc85;return(_0x174bd5||_0x4d3d1b)[_0x3b91d4(0x2c8)](this);},'concat':function(_0x1171fd){var _0x655e5d=_0xd4cc85,_0xf5948f=this['words'],_0x370405=_0x1171fd[_0x655e5d(0x27d)],_0x2ad848=this['sigBytes'],_0x6240aa=_0x1171fd['sigBytes'];if(this[_0x655e5d(0x293)](),_0x2ad848%0x4)for(var _0x5b742b=0x0;_0x5b742b<_0x6240aa;_0x5b742b++){var _0x5c53d3=_0x370405[_0x5b742b>>>0x2]>>>0x18-_0x5b742b%0x4*0x8&0xff;_0xf5948f[_0x2ad848+_0x5b742b>>>0x2]|=_0x5c53d3<<0x18-(_0x2ad848+_0x5b742b)%0x4*0x8;}else{for(var _0x57fe60=0x0;_0x57fe60<_0x6240aa;_0x57fe60+=0x4)_0xf5948f[_0x2ad848+_0x57fe60>>>0x2]=_0x370405[_0x57fe60>>>0x2];}return this[_0x655e5d(0x418)]+=_0x6240aa,this;},'clamp':function(){var _0x7a4f=_0xd4cc85,_0x482224=this[_0x7a4f(0x27d)],_0x25613c=this[_0x7a4f(0x418)];_0x482224[_0x25613c>>>0x2]&=0xffffffff<<0x20-_0x25613c%0x4*0x8,_0x482224['length']=_0x23b8a8[_0x7a4f(0x26f)](_0x25613c/0x4);},'clone':function(){var _0x3d91ec=_0xd4cc85,_0x21bfac=_0x5b6c42[_0x3d91ec(0x44f)][_0x3d91ec(0x255)](this);return _0x21bfac[_0x3d91ec(0x27d)]=this['words'][_0x3d91ec(0x40c)](0x0),_0x21bfac;},'random':function(_0x2be738){var _0x2ee286=_0xd4cc85;for(var _0x49c118=[],_0x2c9413=0x0;_0x2c9413<_0x2be738;_0x2c9413+=0x4)_0x49c118['push'](_0x1b1a76());return new _0x3a93ce[(_0x2ee286(0x478))](_0x49c118,_0x2be738);}}),_0x37fcfb=_0x479fe3['enc']={},_0x4d3d1b=_0x37fcfb[_0xd4cc85(0x23a)]={'stringify':function(_0x4a84e3){var _0x5bc225=_0xd4cc85;for(var _0x5b426e=_0x4a84e3[_0x5bc225(0x27d)],_0x373182=_0x4a84e3[_0x5bc225(0x418)],_0x575c97=[],_0x1ebda8=0x0;_0x1ebda8<_0x373182;_0x1ebda8++){var _0x839f4c=_0x5b426e[_0x1ebda8>>>0x2]>>>0x18-_0x1ebda8%0x4*0x8&0xff;_0x575c97['push']((_0x839f4c>>>0x4)[_0x5bc225(0x263)](0x10)),_0x575c97['push']((_0x839f4c&0xf)[_0x5bc225(0x263)](0x10));}return _0x575c97['join']('');},'parse':function(_0x4d0206){var _0x286491=_0xd4cc85;for(var _0x2728d8=_0x4d0206[_0x286491(0x463)],_0x106582=[],_0x48ab9b=0x0;_0x48ab9b<_0x2728d8;_0x48ab9b+=0x2)_0x106582[_0x48ab9b>>>0x3]|=parseInt(_0x4d0206[_0x286491(0x23f)](_0x48ab9b,0x2),0x10)<<0x18-_0x48ab9b%0x8*0x4;return new _0x3a93ce[(_0x286491(0x478))](_0x106582,_0x2728d8/0x2);}},_0x22dc8f=_0x37fcfb['Latin1']={'stringify':function(_0x106976){var _0x2f70d3=_0xd4cc85;for(var _0x5921c1=_0x106976[_0x2f70d3(0x27d)],_0x217f87=_0x106976['sigBytes'],_0x483efa=[],_0x352cfc=0x0;_0x352cfc<_0x217f87;_0x352cfc++){var _0x399e16=_0x5921c1[_0x352cfc>>>0x2]>>>0x18-_0x352cfc%0x4*0x8&0xff;_0x483efa[_0x2f70d3(0x33e)](String[_0x2f70d3(0x413)](_0x399e16));}return _0x483efa[_0x2f70d3(0x1e7)]('');},'parse':function(_0xaa02b6){var _0x499718=_0xd4cc85;for(var _0x1704ae=_0xaa02b6[_0x499718(0x463)],_0x121484=[],_0x302679=0x0;_0x302679<_0x1704ae;_0x302679++)_0x121484[_0x302679>>>0x2]|=(_0xaa02b6[_0x499718(0x1a4)](_0x302679)&0xff)<<0x18-_0x302679%0x4*0x8;return new _0x3a93ce['init'](_0x121484,_0x1704ae);}},_0x52f48d=_0x37fcfb['Utf8']={'stringify':function(_0x2fd4a9){try{return decodeURIComponent(escape(_0x22dc8f['stringify'](_0x2fd4a9)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x31f919){var _0x344c1b=_0xd4cc85;return _0x22dc8f[_0x344c1b(0x42c)](unescape(encodeURIComponent(_0x31f919)));}},_0x5cdc4b=_0x4f18e7[_0xd4cc85(0x35d)]=_0x5b6c42[_0xd4cc85(0x1ae)]({'reset':function(){var _0x3c0be1=_0xd4cc85;this['_data']=new _0x3a93ce[(_0x3c0be1(0x478))](),this[_0x3c0be1(0x272)]=0x0;},'_append':function(_0x49d571){var _0x5cd6e8=_0xd4cc85;typeof _0x49d571==_0x5cd6e8(0x347)&&(_0x49d571=_0x52f48d[_0x5cd6e8(0x42c)](_0x49d571)),this[_0x5cd6e8(0x47c)][_0x5cd6e8(0x423)](_0x49d571),this[_0x5cd6e8(0x272)]+=_0x49d571[_0x5cd6e8(0x418)];},'_process':function(_0x250f75){var _0x559f68=_0xd4cc85,_0x307a42,_0xc68a59=this[_0x559f68(0x47c)],_0x14d701=_0xc68a59[_0x559f68(0x27d)],_0x1ba1c6=_0xc68a59[_0x559f68(0x418)],_0x480293=this[_0x559f68(0x2bd)],_0x4d2312=_0x480293*0x4,_0x2fc406=_0x1ba1c6/_0x4d2312;_0x250f75?_0x2fc406=_0x23b8a8[_0x559f68(0x26f)](_0x2fc406):_0x2fc406=_0x23b8a8[_0x559f68(0x28d)]((_0x2fc406|0x0)-this['_minBufferSize'],0x0);var _0x1a721b=_0x2fc406*_0x480293,_0x118a2b=_0x23b8a8[_0x559f68(0x403)](_0x1a721b*0x4,_0x1ba1c6);if(_0x1a721b){for(var _0x10a410=0x0;_0x10a410<_0x1a721b;_0x10a410+=_0x480293)this[_0x559f68(0x311)](_0x14d701,_0x10a410);_0x307a42=_0x14d701[_0x559f68(0x415)](0x0,_0x1a721b),_0xc68a59[_0x559f68(0x418)]-=_0x118a2b;}return new _0x3a93ce[(_0x559f68(0x478))](_0x307a42,_0x118a2b);},'clone':function(){var _0x5cda35=_0xd4cc85,_0x138817=_0x5b6c42[_0x5cda35(0x44f)][_0x5cda35(0x255)](this);return _0x138817[_0x5cda35(0x47c)]=this['_data'][_0x5cda35(0x44f)](),_0x138817;},'_minBufferSize':0x0});_0x4f18e7[_0xd4cc85(0x24c)]=_0x5cdc4b[_0xd4cc85(0x1ae)]({'cfg':_0x5b6c42[_0xd4cc85(0x1ae)](),'init':function(_0x556a32){var _0x5ecc84=_0xd4cc85;this['cfg']=this[_0x5ecc84(0x337)][_0x5ecc84(0x1ae)](_0x556a32),this[_0x5ecc84(0x2e0)]();},'reset':function(){var _0x309d64=_0xd4cc85;_0x5cdc4b[_0x309d64(0x2e0)]['call'](this),this[_0x309d64(0x32e)]();},'update':function(_0x45280b){var _0x5a2e10=_0xd4cc85;return this[_0x5a2e10(0x27e)](_0x45280b),this[_0x5a2e10(0x373)](),this;},'finalize':function(_0x5e8dda){var _0x1ed05b=_0xd4cc85;_0x5e8dda&&this['_append'](_0x5e8dda);var _0x3ce4ee=this[_0x1ed05b(0x376)]();return _0x3ce4ee;},'blockSize':0x10,'_createHelper':function(_0x391b5f){return function(_0x2a11ad,_0x3b60df){var _0x40fa7c=_0x3e70;return new _0x391b5f['init'](_0x3b60df)[_0x40fa7c(0x358)](_0x2a11ad);};},'_createHmacHelper':function(_0x1ff715){return function(_0xbf15ba,_0x4a28d3){var _0x4ad75f=_0x3e70;return new _0x216bd7[(_0x4ad75f(0x3d6))]['init'](_0x1ff715,_0x4a28d3)[_0x4ad75f(0x358)](_0xbf15ba);};}});var _0x216bd7=_0x479fe3[_0xd4cc85(0x450)]={};return _0x479fe3;}(Math);return _0x4dea35;}));}(We)),We[_0x4dca9e(0x2d6)];}var Ge={'exports':{}},hn=Ge['exports'],zt;function Ri(){var _0x57977f=_0x3719d7;return zt||(zt=0x1,function(_0x5b5d3c,_0x47886e){(function(_0x24df6d,_0x145e36){var _0x2c60f5=_0x3e70;_0x5b5d3c[_0x2c60f5(0x2d6)]=_0x145e36(te());}(hn,function(_0xf288b2){var _0x14b4b5=_0x3e70;return(function(){var _0x166a62=_0x3e70,_0x4d6093=_0xf288b2,_0x10d094=_0x4d6093[_0x166a62(0x37d)],_0x5e255e=_0x10d094[_0x166a62(0x40b)],_0x405037=_0x4d6093[_0x166a62(0x1a8)];_0x405037[_0x166a62(0x392)]={'stringify':function(_0x2a6d08){var _0x4181c0=_0x166a62,_0x2f6ac2=_0x2a6d08['words'],_0x98f32c=_0x2a6d08[_0x4181c0(0x418)],_0x49a620=this[_0x4181c0(0x2b0)];_0x2a6d08[_0x4181c0(0x293)]();for(var _0x231272=[],_0x2f1400=0x0;_0x2f1400<_0x98f32c;_0x2f1400+=0x3)for(var _0x4d15fb=_0x2f6ac2[_0x2f1400>>>0x2]>>>0x18-_0x2f1400%0x4*0x8&0xff,_0xad14ec=_0x2f6ac2[_0x2f1400+0x1>>>0x2]>>>0x18-(_0x2f1400+0x1)%0x4*0x8&0xff,_0x7fe994=_0x2f6ac2[_0x2f1400+0x2>>>0x2]>>>0x18-(_0x2f1400+0x2)%0x4*0x8&0xff,_0x4a3129=_0x4d15fb<<0x10|_0xad14ec<<0x8|_0x7fe994,_0x5bb045=0x0;_0x5bb045<0x4&&_0x2f1400+_0x5bb045*0.75<_0x98f32c;_0x5bb045++)_0x231272[_0x4181c0(0x33e)](_0x49a620[_0x4181c0(0x467)](_0x4a3129>>>0x6*(0x3-_0x5bb045)&0x3f));var _0xa7b36f=_0x49a620[_0x4181c0(0x467)](0x40);if(_0xa7b36f){for(;_0x231272[_0x4181c0(0x463)]%0x4;)_0x231272[_0x4181c0(0x33e)](_0xa7b36f);}return _0x231272[_0x4181c0(0x1e7)]('');},'parse':function(_0x2d9193){var _0x4f9f34=_0x166a62,_0x50b411=_0x2d9193[_0x4f9f34(0x463)],_0x3b0886=this[_0x4f9f34(0x2b0)],_0x4f5728=this[_0x4f9f34(0x1a6)];if(!_0x4f5728){_0x4f5728=this['_reverseMap']=[];for(var _0x18485b=0x0;_0x18485b<_0x3b0886[_0x4f9f34(0x463)];_0x18485b++)_0x4f5728[_0x3b0886[_0x4f9f34(0x1a4)](_0x18485b)]=_0x18485b;}var _0x268158=_0x3b0886[_0x4f9f34(0x467)](0x40);if(_0x268158){var _0x490fc7=_0x2d9193[_0x4f9f34(0x1c2)](_0x268158);_0x490fc7!==-0x1&&(_0x50b411=_0x490fc7);}return _0x406c73(_0x2d9193,_0x50b411,_0x4f5728);},'_map':_0x166a62(0x21e)};function _0x406c73(_0x1dea87,_0x1ae817,_0x210c34){var _0x192461=_0x166a62;for(var _0x4272c7=[],_0xb21216=0x0,_0xb0766a=0x0;_0xb0766a<_0x1ae817;_0xb0766a++)if(_0xb0766a%0x4){var _0x2eeb15=_0x210c34[_0x1dea87[_0x192461(0x1a4)](_0xb0766a-0x1)]<<_0xb0766a%0x4*0x2,_0x27d27f=_0x210c34[_0x1dea87[_0x192461(0x1a4)](_0xb0766a)]>>>0x6-_0xb0766a%0x4*0x2,_0x3dd83e=_0x2eeb15|_0x27d27f;_0x4272c7[_0xb21216>>>0x2]|=_0x3dd83e<<0x18-_0xb21216%0x4*0x8,_0xb21216++;}return _0x5e255e['create'](_0x4272c7,_0xb21216);}}()),_0xf288b2[_0x14b4b5(0x1a8)][_0x14b4b5(0x392)];}));}(Ge)),Ge[_0x57977f(0x2d6)];}var Ye={'exports':{}},_n=Ye[_0x3719d7(0x2d6)],Jt;function ln(){var _0x5e6c1f=_0x3719d7;return Jt||(Jt=0x1,function(_0x4b1216,_0x31035e){(function(_0x200c33,_0x118042){var _0x498b97=_0x3e70;_0x4b1216[_0x498b97(0x2d6)]=_0x118042(te());}(_n,function(_0x152f89){var _0x3f122f=_0x3e70;return function(_0x1136e0){var _0xf0b21a=_0x3e70,_0x28aebb=_0x152f89,_0x4b1daf=_0x28aebb['lib'],_0x51a6f6=_0x4b1daf[_0xf0b21a(0x40b)],_0x561c37=_0x4b1daf[_0xf0b21a(0x24c)],_0x47dbd2=_0x28aebb[_0xf0b21a(0x450)],_0x548009=[];(function(){var _0x67491f=_0xf0b21a;for(var _0x126680=0x0;_0x126680<0x40;_0x126680++)_0x548009[_0x126680]=_0x1136e0[_0x67491f(0x1c6)](_0x1136e0['sin'](_0x126680+0x1))*0x100000000|0x0;}());var _0x1adc3f=_0x47dbd2[_0xf0b21a(0x45f)]=_0x561c37['extend']({'_doReset':function(){var _0x7880ec=_0xf0b21a;this[_0x7880ec(0x1fa)]=new _0x51a6f6['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1f68a8,_0x10e7d6){var _0xbf5812=_0xf0b21a;for(var _0x1a739b=0x0;_0x1a739b<0x10;_0x1a739b++){var _0x5152d5=_0x10e7d6+_0x1a739b,_0x477c58=_0x1f68a8[_0x5152d5];_0x1f68a8[_0x5152d5]=(_0x477c58<<0x8|_0x477c58>>>0x18)&0xff00ff|(_0x477c58<<0x18|_0x477c58>>>0x8)&0xff00ff00;}var _0x4a8d15=this[_0xbf5812(0x1fa)]['words'],_0x5a4c1e=_0x1f68a8[_0x10e7d6+0x0],_0x46faa3=_0x1f68a8[_0x10e7d6+0x1],_0x585585=_0x1f68a8[_0x10e7d6+0x2],_0xcb27fe=_0x1f68a8[_0x10e7d6+0x3],_0x31bc43=_0x1f68a8[_0x10e7d6+0x4],_0x128444=_0x1f68a8[_0x10e7d6+0x5],_0x1ba871=_0x1f68a8[_0x10e7d6+0x6],_0x313c3f=_0x1f68a8[_0x10e7d6+0x7],_0x52e892=_0x1f68a8[_0x10e7d6+0x8],_0x355507=_0x1f68a8[_0x10e7d6+0x9],_0x3de84c=_0x1f68a8[_0x10e7d6+0xa],_0x422047=_0x1f68a8[_0x10e7d6+0xb],_0x10d7e8=_0x1f68a8[_0x10e7d6+0xc],_0x452e8e=_0x1f68a8[_0x10e7d6+0xd],_0x26d404=_0x1f68a8[_0x10e7d6+0xe],_0x37143e=_0x1f68a8[_0x10e7d6+0xf],_0x9d5635=_0x4a8d15[0x0],_0x179b43=_0x4a8d15[0x1],_0x393865=_0x4a8d15[0x2],_0x2f77c1=_0x4a8d15[0x3];_0x9d5635=_0x372cb1(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x5a4c1e,0x7,_0x548009[0x0]),_0x2f77c1=_0x372cb1(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x46faa3,0xc,_0x548009[0x1]),_0x393865=_0x372cb1(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x585585,0x11,_0x548009[0x2]),_0x179b43=_0x372cb1(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0xcb27fe,0x16,_0x548009[0x3]),_0x9d5635=_0x372cb1(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x31bc43,0x7,_0x548009[0x4]),_0x2f77c1=_0x372cb1(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x128444,0xc,_0x548009[0x5]),_0x393865=_0x372cb1(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x1ba871,0x11,_0x548009[0x6]),_0x179b43=_0x372cb1(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x313c3f,0x16,_0x548009[0x7]),_0x9d5635=_0x372cb1(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x52e892,0x7,_0x548009[0x8]),_0x2f77c1=_0x372cb1(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x355507,0xc,_0x548009[0x9]),_0x393865=_0x372cb1(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x3de84c,0x11,_0x548009[0xa]),_0x179b43=_0x372cb1(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x422047,0x16,_0x548009[0xb]),_0x9d5635=_0x372cb1(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x10d7e8,0x7,_0x548009[0xc]),_0x2f77c1=_0x372cb1(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x452e8e,0xc,_0x548009[0xd]),_0x393865=_0x372cb1(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x26d404,0x11,_0x548009[0xe]),_0x179b43=_0x372cb1(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x37143e,0x16,_0x548009[0xf]),_0x9d5635=_0x1f503b(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x46faa3,0x5,_0x548009[0x10]),_0x2f77c1=_0x1f503b(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x1ba871,0x9,_0x548009[0x11]),_0x393865=_0x1f503b(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x422047,0xe,_0x548009[0x12]),_0x179b43=_0x1f503b(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x5a4c1e,0x14,_0x548009[0x13]),_0x9d5635=_0x1f503b(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x128444,0x5,_0x548009[0x14]),_0x2f77c1=_0x1f503b(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x3de84c,0x9,_0x548009[0x15]),_0x393865=_0x1f503b(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x37143e,0xe,_0x548009[0x16]),_0x179b43=_0x1f503b(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x31bc43,0x14,_0x548009[0x17]),_0x9d5635=_0x1f503b(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x355507,0x5,_0x548009[0x18]),_0x2f77c1=_0x1f503b(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x26d404,0x9,_0x548009[0x19]),_0x393865=_0x1f503b(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0xcb27fe,0xe,_0x548009[0x1a]),_0x179b43=_0x1f503b(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x52e892,0x14,_0x548009[0x1b]),_0x9d5635=_0x1f503b(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x452e8e,0x5,_0x548009[0x1c]),_0x2f77c1=_0x1f503b(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x585585,0x9,_0x548009[0x1d]),_0x393865=_0x1f503b(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x313c3f,0xe,_0x548009[0x1e]),_0x179b43=_0x1f503b(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x10d7e8,0x14,_0x548009[0x1f]),_0x9d5635=_0x540fd2(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x128444,0x4,_0x548009[0x20]),_0x2f77c1=_0x540fd2(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x52e892,0xb,_0x548009[0x21]),_0x393865=_0x540fd2(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x422047,0x10,_0x548009[0x22]),_0x179b43=_0x540fd2(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x26d404,0x17,_0x548009[0x23]),_0x9d5635=_0x540fd2(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x46faa3,0x4,_0x548009[0x24]),_0x2f77c1=_0x540fd2(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x31bc43,0xb,_0x548009[0x25]),_0x393865=_0x540fd2(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x313c3f,0x10,_0x548009[0x26]),_0x179b43=_0x540fd2(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x3de84c,0x17,_0x548009[0x27]),_0x9d5635=_0x540fd2(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x452e8e,0x4,_0x548009[0x28]),_0x2f77c1=_0x540fd2(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x5a4c1e,0xb,_0x548009[0x29]),_0x393865=_0x540fd2(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0xcb27fe,0x10,_0x548009[0x2a]),_0x179b43=_0x540fd2(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x1ba871,0x17,_0x548009[0x2b]),_0x9d5635=_0x540fd2(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x355507,0x4,_0x548009[0x2c]),_0x2f77c1=_0x540fd2(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x10d7e8,0xb,_0x548009[0x2d]),_0x393865=_0x540fd2(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x37143e,0x10,_0x548009[0x2e]),_0x179b43=_0x540fd2(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x585585,0x17,_0x548009[0x2f]),_0x9d5635=_0x336fe1(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x5a4c1e,0x6,_0x548009[0x30]),_0x2f77c1=_0x336fe1(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x313c3f,0xa,_0x548009[0x31]),_0x393865=_0x336fe1(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x26d404,0xf,_0x548009[0x32]),_0x179b43=_0x336fe1(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x128444,0x15,_0x548009[0x33]),_0x9d5635=_0x336fe1(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x10d7e8,0x6,_0x548009[0x34]),_0x2f77c1=_0x336fe1(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0xcb27fe,0xa,_0x548009[0x35]),_0x393865=_0x336fe1(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x3de84c,0xf,_0x548009[0x36]),_0x179b43=_0x336fe1(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x46faa3,0x15,_0x548009[0x37]),_0x9d5635=_0x336fe1(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x52e892,0x6,_0x548009[0x38]),_0x2f77c1=_0x336fe1(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x37143e,0xa,_0x548009[0x39]),_0x393865=_0x336fe1(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x1ba871,0xf,_0x548009[0x3a]),_0x179b43=_0x336fe1(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x452e8e,0x15,_0x548009[0x3b]),_0x9d5635=_0x336fe1(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x31bc43,0x6,_0x548009[0x3c]),_0x2f77c1=_0x336fe1(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x422047,0xa,_0x548009[0x3d]),_0x393865=_0x336fe1(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x585585,0xf,_0x548009[0x3e]),_0x179b43=_0x336fe1(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x355507,0x15,_0x548009[0x3f]),_0x4a8d15[0x0]=_0x4a8d15[0x0]+_0x9d5635|0x0,_0x4a8d15[0x1]=_0x4a8d15[0x1]+_0x179b43|0x0,_0x4a8d15[0x2]=_0x4a8d15[0x2]+_0x393865|0x0,_0x4a8d15[0x3]=_0x4a8d15[0x3]+_0x2f77c1|0x0;},'_doFinalize':function(){var _0x13bd56=_0xf0b21a,_0x8326c2=this[_0x13bd56(0x47c)],_0x3f591d=_0x8326c2[_0x13bd56(0x27d)],_0x30f92d=this['_nDataBytes']*0x8,_0x5c837f=_0x8326c2[_0x13bd56(0x418)]*0x8;_0x3f591d[_0x5c837f>>>0x5]|=0x80<<0x18-_0x5c837f%0x20;var _0x52f699=_0x1136e0[_0x13bd56(0x449)](_0x30f92d/0x100000000),_0x3a6ede=_0x30f92d;_0x3f591d[(_0x5c837f+0x40>>>0x9<<0x4)+0xf]=(_0x52f699<<0x8|_0x52f699>>>0x18)&0xff00ff|(_0x52f699<<0x18|_0x52f699>>>0x8)&0xff00ff00,_0x3f591d[(_0x5c837f+0x40>>>0x9<<0x4)+0xe]=(_0x3a6ede<<0x8|_0x3a6ede>>>0x18)&0xff00ff|(_0x3a6ede<<0x18|_0x3a6ede>>>0x8)&0xff00ff00,_0x8326c2[_0x13bd56(0x418)]=(_0x3f591d['length']+0x1)*0x4,this[_0x13bd56(0x373)]();for(var _0x217d33=this[_0x13bd56(0x1fa)],_0x800288=_0x217d33[_0x13bd56(0x27d)],_0x3c5875=0x0;_0x3c5875<0x4;_0x3c5875++){var _0x57e7e5=_0x800288[_0x3c5875];_0x800288[_0x3c5875]=(_0x57e7e5<<0x8|_0x57e7e5>>>0x18)&0xff00ff|(_0x57e7e5<<0x18|_0x57e7e5>>>0x8)&0xff00ff00;}return _0x217d33;},'clone':function(){var _0x549f02=_0xf0b21a,_0x41d976=_0x561c37[_0x549f02(0x44f)][_0x549f02(0x255)](this);return _0x41d976['_hash']=this['_hash'][_0x549f02(0x44f)](),_0x41d976;}});function _0x372cb1(_0x3a9874,_0x55e6db,_0xef14a9,_0x4d5bf0,_0x568c8f,_0x527315,_0x47868a){var _0x35a824=_0x3a9874+(_0x55e6db&_0xef14a9|~_0x55e6db&_0x4d5bf0)+_0x568c8f+_0x47868a;return(_0x35a824<<_0x527315|_0x35a824>>>0x20-_0x527315)+_0x55e6db;}function _0x1f503b(_0x1aafff,_0x451a47,_0x207045,_0xc80f41,_0x50828c,_0xe9c06e,_0x12e0ae){var _0x24b9a3=_0x1aafff+(_0x451a47&_0xc80f41|_0x207045&~_0xc80f41)+_0x50828c+_0x12e0ae;return(_0x24b9a3<<_0xe9c06e|_0x24b9a3>>>0x20-_0xe9c06e)+_0x451a47;}function _0x540fd2(_0x213ceb,_0xee1b86,_0x429a7d,_0x197edf,_0x1dee9e,_0x3fb2b8,_0x429ca4){var _0x26aa19=_0x213ceb+(_0xee1b86^_0x429a7d^_0x197edf)+_0x1dee9e+_0x429ca4;return(_0x26aa19<<_0x3fb2b8|_0x26aa19>>>0x20-_0x3fb2b8)+_0xee1b86;}function _0x336fe1(_0x6b3591,_0x3b09e6,_0x53b2e1,_0x21f716,_0x5db267,_0x1a0795,_0xe8df97){var _0x216a77=_0x6b3591+(_0x53b2e1^(_0x3b09e6|~_0x21f716))+_0x5db267+_0xe8df97;return(_0x216a77<<_0x1a0795|_0x216a77>>>0x20-_0x1a0795)+_0x3b09e6;}_0x28aebb['MD5']=_0x561c37[_0xf0b21a(0x22e)](_0x1adc3f),_0x28aebb[_0xf0b21a(0x37f)]=_0x561c37[_0xf0b21a(0x30c)](_0x1adc3f);}(Math),_0x152f89[_0x3f122f(0x45f)];}));}(Ye)),Ye[_0x5e6c1f(0x2d6)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x3719d7(0x2d6)],Xt;function dn(){return Xt||(Xt=0x1,function(_0x53c012,_0x1825b2){(function(_0x5b6fd1,_0x53b812){_0x53c012['exports']=_0x53b812(te());}(un,function(_0x5f2d69){var _0x36c87f=_0x3e70;return(function(){var _0x5e3c03=_0x3e70,_0x35737c=_0x5f2d69,_0x30a824=_0x35737c[_0x5e3c03(0x37d)],_0x23ed06=_0x30a824[_0x5e3c03(0x40b)],_0x4dfba4=_0x30a824['Hasher'],_0x10d4a4=_0x35737c[_0x5e3c03(0x450)],_0x4cd716=[],_0x300b7f=_0x10d4a4['SHA1']=_0x4dfba4[_0x5e3c03(0x1ae)]({'_doReset':function(){var _0x31f8cb=_0x5e3c03;this[_0x31f8cb(0x1fa)]=new _0x23ed06['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x31e544,_0x558152){var _0x5eb948=_0x5e3c03;for(var _0x5582c2=this[_0x5eb948(0x1fa)]['words'],_0x419689=_0x5582c2[0x0],_0x35cbc2=_0x5582c2[0x1],_0x5b44a9=_0x5582c2[0x2],_0x254ac7=_0x5582c2[0x3],_0x3a800a=_0x5582c2[0x4],_0x1e4c91=0x0;_0x1e4c91<0x50;_0x1e4c91++){if(_0x1e4c91<0x10)_0x4cd716[_0x1e4c91]=_0x31e544[_0x558152+_0x1e4c91]|0x0;else{var _0xe317f6=_0x4cd716[_0x1e4c91-0x3]^_0x4cd716[_0x1e4c91-0x8]^_0x4cd716[_0x1e4c91-0xe]^_0x4cd716[_0x1e4c91-0x10];_0x4cd716[_0x1e4c91]=_0xe317f6<<0x1|_0xe317f6>>>0x1f;}var _0x1d8dc1=(_0x419689<<0x5|_0x419689>>>0x1b)+_0x3a800a+_0x4cd716[_0x1e4c91];_0x1e4c91<0x14?_0x1d8dc1+=(_0x35cbc2&_0x5b44a9|~_0x35cbc2&_0x254ac7)+0x5a827999:_0x1e4c91<0x28?_0x1d8dc1+=(_0x35cbc2^_0x5b44a9^_0x254ac7)+0x6ed9eba1:_0x1e4c91<0x3c?_0x1d8dc1+=(_0x35cbc2&_0x5b44a9|_0x35cbc2&_0x254ac7|_0x5b44a9&_0x254ac7)-0x70e44324:_0x1d8dc1+=(_0x35cbc2^_0x5b44a9^_0x254ac7)-0x359d3e2a,_0x3a800a=_0x254ac7,_0x254ac7=_0x5b44a9,_0x5b44a9=_0x35cbc2<<0x1e|_0x35cbc2>>>0x2,_0x35cbc2=_0x419689,_0x419689=_0x1d8dc1;}_0x5582c2[0x0]=_0x5582c2[0x0]+_0x419689|0x0,_0x5582c2[0x1]=_0x5582c2[0x1]+_0x35cbc2|0x0,_0x5582c2[0x2]=_0x5582c2[0x2]+_0x5b44a9|0x0,_0x5582c2[0x3]=_0x5582c2[0x3]+_0x254ac7|0x0,_0x5582c2[0x4]=_0x5582c2[0x4]+_0x3a800a|0x0;},'_doFinalize':function(){var _0x4ebe33=_0x5e3c03,_0x3983d8=this['_data'],_0x3e20f7=_0x3983d8[_0x4ebe33(0x27d)],_0x5aedc0=this[_0x4ebe33(0x272)]*0x8,_0x1f4d77=_0x3983d8[_0x4ebe33(0x418)]*0x8;return _0x3e20f7[_0x1f4d77>>>0x5]|=0x80<<0x18-_0x1f4d77%0x20,_0x3e20f7[(_0x1f4d77+0x40>>>0x9<<0x4)+0xe]=Math[_0x4ebe33(0x449)](_0x5aedc0/0x100000000),_0x3e20f7[(_0x1f4d77+0x40>>>0x9<<0x4)+0xf]=_0x5aedc0,_0x3983d8[_0x4ebe33(0x418)]=_0x3e20f7[_0x4ebe33(0x463)]*0x4,this['_process'](),this[_0x4ebe33(0x1fa)];},'clone':function(){var _0x3f5e1d=_0x5e3c03,_0x2d97c6=_0x4dfba4['clone'][_0x3f5e1d(0x255)](this);return _0x2d97c6[_0x3f5e1d(0x1fa)]=this['_hash'][_0x3f5e1d(0x44f)](),_0x2d97c6;}});_0x35737c['SHA1']=_0x4dfba4[_0x5e3c03(0x22e)](_0x300b7f),_0x35737c[_0x5e3c03(0x355)]=_0x4dfba4[_0x5e3c03(0x30c)](_0x300b7f);}()),_0x5f2d69[_0x36c87f(0x30b)];}));}(qe)),qe['exports'];}var ze={'exports':{}},fn=ze[_0x3719d7(0x2d6)],Zt;function vn(){var _0xaa64be=_0x3719d7;return Zt||(Zt=0x1,function(_0x5d055d,_0x4bed82){(function(_0x507352,_0x52fab4){var _0x3b67e2=_0x3e70;_0x5d055d[_0x3b67e2(0x2d6)]=_0x52fab4(te());}(fn,function(_0x5ef076){(function(){var _0x29b6d8=_0x3e70,_0x58e67b=_0x5ef076,_0x22915c=_0x58e67b[_0x29b6d8(0x37d)],_0x4b9c97=_0x22915c[_0x29b6d8(0x339)],_0x1dfb86=_0x58e67b[_0x29b6d8(0x1a8)],_0x165461=_0x1dfb86['Utf8'],_0x348edb=_0x58e67b[_0x29b6d8(0x450)];_0x348edb[_0x29b6d8(0x3d6)]=_0x4b9c97[_0x29b6d8(0x1ae)]({'init':function(_0x204591,_0x243989){var _0x1ebb79=_0x29b6d8;_0x204591=this['_hasher']=new _0x204591[(_0x1ebb79(0x478))](),typeof _0x243989==_0x1ebb79(0x347)&&(_0x243989=_0x165461['parse'](_0x243989));var _0x240530=_0x204591['blockSize'],_0x21fe52=_0x240530*0x4;_0x243989[_0x1ebb79(0x418)]>_0x21fe52&&(_0x243989=_0x204591[_0x1ebb79(0x358)](_0x243989)),_0x243989[_0x1ebb79(0x293)]();for(var _0xcbc373=this[_0x1ebb79(0x39c)]=_0x243989[_0x1ebb79(0x44f)](),_0x145a8a=this[_0x1ebb79(0x364)]=_0x243989[_0x1ebb79(0x44f)](),_0x3c4460=_0xcbc373[_0x1ebb79(0x27d)],_0x3f6750=_0x145a8a[_0x1ebb79(0x27d)],_0x24c387=0x0;_0x24c387<_0x240530;_0x24c387++)_0x3c4460[_0x24c387]^=0x5c5c5c5c,_0x3f6750[_0x24c387]^=0x36363636;_0xcbc373[_0x1ebb79(0x418)]=_0x145a8a[_0x1ebb79(0x418)]=_0x21fe52,this[_0x1ebb79(0x2e0)]();},'reset':function(){var _0x52d52d=_0x29b6d8,_0x207646=this[_0x52d52d(0x1f5)];_0x207646['reset'](),_0x207646[_0x52d52d(0x47d)](this['_iKey']);},'update':function(_0x45ff83){var _0x2db811=_0x29b6d8;return this[_0x2db811(0x1f5)][_0x2db811(0x47d)](_0x45ff83),this;},'finalize':function(_0x3206a0){var _0x203fed=_0x29b6d8,_0x2dc978=this['_hasher'],_0x2096d4=_0x2dc978['finalize'](_0x3206a0);_0x2dc978['reset']();var _0x2ba7ef=_0x2dc978['finalize'](this[_0x203fed(0x39c)][_0x203fed(0x44f)]()[_0x203fed(0x423)](_0x2096d4));return _0x2ba7ef;}});}());}));}(ze)),ze[_0xaa64be(0x2d6)];}var pn=Ke[_0x3719d7(0x2d6)],Qt;function Oi(){return Qt||(Qt=0x1,function(_0x53716d,_0x5b0171){(function(_0x236183,_0x1ad409,_0x3ad6fd){var _0x59d458=_0x3e70;_0x53716d[_0x59d458(0x2d6)]=_0x1ad409(te(),dn(),vn());}(pn,function(_0x20c20d){var _0x110fd2=_0x3e70;return(function(){var _0x408473=_0x3e70,_0x2a450c=_0x20c20d,_0x5428=_0x2a450c[_0x408473(0x37d)],_0x384821=_0x5428[_0x408473(0x339)],_0xa81275=_0x5428[_0x408473(0x40b)],_0x3da845=_0x2a450c[_0x408473(0x450)],_0x1d9898=_0x3da845['MD5'],_0x19ed3b=_0x3da845[_0x408473(0x3ec)]=_0x384821[_0x408473(0x1ae)]({'cfg':_0x384821['extend']({'keySize':0x80/0x20,'hasher':_0x1d9898,'iterations':0x1}),'init':function(_0x26559b){var _0x1ae36b=_0x408473;this[_0x1ae36b(0x337)]=this['cfg'][_0x1ae36b(0x1ae)](_0x26559b);},'compute':function(_0x4bedd4,_0x553d57){var _0x25668e=_0x408473;for(var _0x2daffc,_0x2a0ed8=this[_0x25668e(0x337)],_0x15925f=_0x2a0ed8[_0x25668e(0x1da)][_0x25668e(0x29d)](),_0x58ed34=_0xa81275[_0x25668e(0x29d)](),_0x2ab4cc=_0x58ed34['words'],_0x4d4b16=_0x2a0ed8['keySize'],_0x17cf65=_0x2a0ed8[_0x25668e(0x3e2)];_0x2ab4cc[_0x25668e(0x463)]<_0x4d4b16;){_0x2daffc&&_0x15925f['update'](_0x2daffc),_0x2daffc=_0x15925f[_0x25668e(0x47d)](_0x4bedd4)['finalize'](_0x553d57),_0x15925f[_0x25668e(0x2e0)]();for(var _0x2bbc80=0x1;_0x2bbc80<_0x17cf65;_0x2bbc80++)_0x2daffc=_0x15925f['finalize'](_0x2daffc),_0x15925f[_0x25668e(0x2e0)]();_0x58ed34[_0x25668e(0x423)](_0x2daffc);}return _0x58ed34[_0x25668e(0x418)]=_0x4d4b16*0x4,_0x58ed34;}});_0x2a450c[_0x408473(0x3ec)]=function(_0x1662eb,_0x533078,_0x592814){var _0x366198=_0x408473;return _0x19ed3b[_0x366198(0x29d)](_0x592814)[_0x366198(0x1af)](_0x1662eb,_0x533078);};}()),_0x20c20d[_0x110fd2(0x3ec)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},mn=Je[_0x3719d7(0x2d6)],ei;function bi(){var _0x3693a4=_0x3719d7;return ei||(ei=0x1,function(_0x472e79,_0x83e1ae){(function(_0x389df5,_0x521cba,_0x23141d){var _0x4fa038=_0x3e70;_0x472e79[_0x4fa038(0x2d6)]=_0x521cba(te(),Oi());}(mn,function(_0x1cbaba){var _0x2fb79f=_0x3e70;_0x1cbaba['lib'][_0x2fb79f(0x1cc)]||function(_0x281cdd){var _0x58a9f3=_0x2fb79f,_0x4e223f=_0x1cbaba,_0x11fe56=_0x4e223f[_0x58a9f3(0x37d)],_0x528d77=_0x11fe56[_0x58a9f3(0x339)],_0x4dc865=_0x11fe56[_0x58a9f3(0x40b)],_0x1189a4=_0x11fe56[_0x58a9f3(0x35d)],_0x3d3493=_0x4e223f['enc'];_0x3d3493[_0x58a9f3(0x386)];var _0x47aa36=_0x3d3493[_0x58a9f3(0x392)],_0x5f27fc=_0x4e223f[_0x58a9f3(0x450)],_0x5dd204=_0x5f27fc[_0x58a9f3(0x3ec)],_0x8d9564=_0x11fe56[_0x58a9f3(0x1cc)]=_0x1189a4['extend']({'cfg':_0x528d77[_0x58a9f3(0x1ae)](),'createEncryptor':function(_0x34b127,_0x5a64ea){var _0x4145b7=_0x58a9f3;return this[_0x4145b7(0x29d)](this[_0x4145b7(0x27a)],_0x34b127,_0x5a64ea);},'createDecryptor':function(_0x2e56df,_0x311351){var _0x315391=_0x58a9f3;return this['create'](this[_0x315391(0x3b7)],_0x2e56df,_0x311351);},'init':function(_0x49dce3,_0x117bf5,_0x3e0f28){var _0x125cb1=_0x58a9f3;this[_0x125cb1(0x337)]=this[_0x125cb1(0x337)]['extend'](_0x3e0f28),this[_0x125cb1(0x2d9)]=_0x49dce3,this['_key']=_0x117bf5,this[_0x125cb1(0x2e0)]();},'reset':function(){var _0x55c48d=_0x58a9f3;_0x1189a4[_0x55c48d(0x2e0)][_0x55c48d(0x255)](this),this[_0x55c48d(0x32e)]();},'process':function(_0x166e1b){var _0x242d97=_0x58a9f3;return this[_0x242d97(0x27e)](_0x166e1b),this[_0x242d97(0x373)]();},'finalize':function(_0x5d03d7){var _0x2b3c19=_0x58a9f3;_0x5d03d7&&this['_append'](_0x5d03d7);var _0x180f35=this[_0x2b3c19(0x376)]();return _0x180f35;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2e85db(_0x17c74c){var _0x2f7bda=_0x3e70;return typeof _0x17c74c==_0x2f7bda(0x347)?_0x21d7bb:_0x34a247;}return function(_0x4c2120){return{'encrypt':function(_0x3a584a,_0x555832,_0x298833){return _0x2e85db(_0x555832)['encrypt'](_0x4c2120,_0x3a584a,_0x555832,_0x298833);},'decrypt':function(_0x17db20,_0x14b566,_0x734c21){var _0x2e708e=_0x3e70;return _0x2e85db(_0x14b566)[_0x2e708e(0x35e)](_0x4c2120,_0x17db20,_0x14b566,_0x734c21);}};};}())});_0x11fe56[_0x58a9f3(0x3f3)]=_0x8d9564['extend']({'_doFinalize':function(){var _0x23bf5f=_0x58a9f3,_0x4b05b4=this[_0x23bf5f(0x373)](!0x0);return _0x4b05b4;},'blockSize':0x1});var _0x3babee=_0x4e223f[_0x58a9f3(0x40d)]={},_0x19b4af=_0x11fe56[_0x58a9f3(0x2a6)]=_0x528d77[_0x58a9f3(0x1ae)]({'createEncryptor':function(_0x1ef52b,_0xd7e2ba){var _0x1d7047=_0x58a9f3;return this[_0x1d7047(0x33f)][_0x1d7047(0x29d)](_0x1ef52b,_0xd7e2ba);},'createDecryptor':function(_0x41361c,_0x45725a){var _0x287aa3=_0x58a9f3;return this['Decryptor'][_0x287aa3(0x29d)](_0x41361c,_0x45725a);},'init':function(_0x595ed9,_0x35c4ae){var _0x255682=_0x58a9f3;this[_0x255682(0x1f4)]=_0x595ed9,this[_0x255682(0x3de)]=_0x35c4ae;}}),_0x4f282a=_0x3babee[_0x58a9f3(0x39a)]=(function(){var _0x28cf56=_0x58a9f3,_0x34c81a=_0x19b4af[_0x28cf56(0x1ae)]();_0x34c81a[_0x28cf56(0x33f)]=_0x34c81a['extend']({'processBlock':function(_0x365d86,_0x259d1b){var _0x1807f3=_0x28cf56,_0xbdb2c4=this[_0x1807f3(0x1f4)],_0x10db17=_0xbdb2c4[_0x1807f3(0x2bd)];_0x418521['call'](this,_0x365d86,_0x259d1b,_0x10db17),_0xbdb2c4['encryptBlock'](_0x365d86,_0x259d1b),this[_0x1807f3(0x400)]=_0x365d86[_0x1807f3(0x40c)](_0x259d1b,_0x259d1b+_0x10db17);}}),_0x34c81a[_0x28cf56(0x37a)]=_0x34c81a['extend']({'processBlock':function(_0xff88aa,_0x5b1164){var _0x521a06=_0x28cf56,_0x19aeb9=this[_0x521a06(0x1f4)],_0x56b791=_0x19aeb9[_0x521a06(0x2bd)],_0x31e134=_0xff88aa[_0x521a06(0x40c)](_0x5b1164,_0x5b1164+_0x56b791);_0x19aeb9['decryptBlock'](_0xff88aa,_0x5b1164),_0x418521[_0x521a06(0x255)](this,_0xff88aa,_0x5b1164,_0x56b791),this[_0x521a06(0x400)]=_0x31e134;}});function _0x418521(_0x390f36,_0xc4ff8b,_0x5301cf){var _0x294ae6=_0x28cf56,_0xb4eb9e,_0x5d5c53=this['_iv'];_0x5d5c53?(_0xb4eb9e=_0x5d5c53,this[_0x294ae6(0x3de)]=_0x281cdd):_0xb4eb9e=this['_prevBlock'];for(var _0xbfe614=0x0;_0xbfe614<_0x5301cf;_0xbfe614++)_0x390f36[_0xc4ff8b+_0xbfe614]^=_0xb4eb9e[_0xbfe614];}return _0x34c81a;}()),_0x45a941=_0x4e223f[_0x58a9f3(0x2ec)]={},_0x4c82d3=_0x45a941['Pkcs7']={'pad':function(_0x37ebff,_0x10fd65){var _0x2e57b6=_0x58a9f3;for(var _0x6ae90f=_0x10fd65*0x4,_0x58c72e=_0x6ae90f-_0x37ebff[_0x2e57b6(0x418)]%_0x6ae90f,_0x6fa3ab=_0x58c72e<<0x18|_0x58c72e<<0x10|_0x58c72e<<0x8|_0x58c72e,_0x6a6f0f=[],_0x31e71a=0x0;_0x31e71a<_0x58c72e;_0x31e71a+=0x4)_0x6a6f0f['push'](_0x6fa3ab);var _0x3d39af=_0x4dc865[_0x2e57b6(0x29d)](_0x6a6f0f,_0x58c72e);_0x37ebff[_0x2e57b6(0x423)](_0x3d39af);},'unpad':function(_0x1221a2){var _0x4ce0d5=_0x58a9f3,_0x68a202=_0x1221a2[_0x4ce0d5(0x27d)][_0x1221a2[_0x4ce0d5(0x418)]-0x1>>>0x2]&0xff;_0x1221a2['sigBytes']-=_0x68a202;}};_0x11fe56['BlockCipher']=_0x8d9564['extend']({'cfg':_0x8d9564[_0x58a9f3(0x337)][_0x58a9f3(0x1ae)]({'mode':_0x4f282a,'padding':_0x4c82d3}),'reset':function(){var _0x8e63cc=_0x58a9f3,_0x3657f7;_0x8d9564[_0x8e63cc(0x2e0)][_0x8e63cc(0x255)](this);var _0x16942f=this[_0x8e63cc(0x337)],_0x3f330d=_0x16942f['iv'],_0x8a6e44=_0x16942f[_0x8e63cc(0x40d)];this['_xformMode']==this[_0x8e63cc(0x27a)]?_0x3657f7=_0x8a6e44['createEncryptor']:(_0x3657f7=_0x8a6e44['createDecryptor'],this[_0x8e63cc(0x385)]=0x1),this[_0x8e63cc(0x20b)]&&this[_0x8e63cc(0x20b)][_0x8e63cc(0x431)]==_0x3657f7?this[_0x8e63cc(0x20b)]['init'](this,_0x3f330d&&_0x3f330d[_0x8e63cc(0x27d)]):(this[_0x8e63cc(0x20b)]=_0x3657f7['call'](_0x8a6e44,this,_0x3f330d&&_0x3f330d[_0x8e63cc(0x27d)]),this[_0x8e63cc(0x20b)][_0x8e63cc(0x431)]=_0x3657f7);},'_doProcessBlock':function(_0x419034,_0x1a8bb0){this['_mode']['processBlock'](_0x419034,_0x1a8bb0);},'_doFinalize':function(){var _0x2711a3=_0x58a9f3,_0x260ee1,_0x40a489=this['cfg']['padding'];return this['_xformMode']==this[_0x2711a3(0x27a)]?(_0x40a489[_0x2711a3(0x2ec)](this[_0x2711a3(0x47c)],this['blockSize']),_0x260ee1=this[_0x2711a3(0x373)](!0x0)):(_0x260ee1=this[_0x2711a3(0x373)](!0x0),_0x40a489[_0x2711a3(0x3d1)](_0x260ee1)),_0x260ee1;},'blockSize':0x80/0x20});var _0xd61ef2=_0x11fe56['CipherParams']=_0x528d77[_0x58a9f3(0x1ae)]({'init':function(_0x3daebd){this['mixIn'](_0x3daebd);},'toString':function(_0x3c6397){var _0x371514=_0x58a9f3;return(_0x3c6397||this[_0x371514(0x207)])[_0x371514(0x2c8)](this);}}),_0x18ddd6=_0x4e223f[_0x58a9f3(0x26d)]={},_0x2668e5=_0x18ddd6[_0x58a9f3(0x22d)]={'stringify':function(_0x12e923){var _0x49b758=_0x58a9f3,_0x3a6211,_0x310e6d=_0x12e923[_0x49b758(0x2c0)],_0x584961=_0x12e923[_0x49b758(0x320)];return _0x584961?_0x3a6211=_0x4dc865['create']([0x53616c74,0x65645f5f])[_0x49b758(0x423)](_0x584961)[_0x49b758(0x423)](_0x310e6d):_0x3a6211=_0x310e6d,_0x3a6211['toString'](_0x47aa36);},'parse':function(_0x5cf6b0){var _0x333c21=_0x58a9f3,_0x2d7a2b,_0x3f106f=_0x47aa36[_0x333c21(0x42c)](_0x5cf6b0),_0x3ad5c4=_0x3f106f[_0x333c21(0x27d)];return _0x3ad5c4[0x0]==0x53616c74&&_0x3ad5c4[0x1]==0x65645f5f&&(_0x2d7a2b=_0x4dc865[_0x333c21(0x29d)](_0x3ad5c4[_0x333c21(0x40c)](0x2,0x4)),_0x3ad5c4[_0x333c21(0x415)](0x0,0x4),_0x3f106f[_0x333c21(0x418)]-=0x10),_0xd61ef2['create']({'ciphertext':_0x3f106f,'salt':_0x2d7a2b});}},_0x34a247=_0x11fe56[_0x58a9f3(0x35a)]=_0x528d77[_0x58a9f3(0x1ae)]({'cfg':_0x528d77['extend']({'format':_0x2668e5}),'encrypt':function(_0x2879b1,_0x35acb3,_0x14857c,_0x29106c){var _0x1b43bd=_0x58a9f3;_0x29106c=this[_0x1b43bd(0x337)]['extend'](_0x29106c);var _0x23371d=_0x2879b1[_0x1b43bd(0x424)](_0x14857c,_0x29106c),_0x4121e5=_0x23371d[_0x1b43bd(0x358)](_0x35acb3),_0x20da25=_0x23371d[_0x1b43bd(0x337)];return _0xd61ef2[_0x1b43bd(0x29d)]({'ciphertext':_0x4121e5,'key':_0x14857c,'iv':_0x20da25['iv'],'algorithm':_0x2879b1,'mode':_0x20da25['mode'],'padding':_0x20da25['padding'],'blockSize':_0x2879b1[_0x1b43bd(0x2bd)],'formatter':_0x29106c[_0x1b43bd(0x26d)]});},'decrypt':function(_0xd330ee,_0x2a64fa,_0x3a85c4,_0x351eaf){var _0x1f9d59=_0x58a9f3;_0x351eaf=this[_0x1f9d59(0x337)][_0x1f9d59(0x1ae)](_0x351eaf),_0x2a64fa=this[_0x1f9d59(0x42a)](_0x2a64fa,_0x351eaf[_0x1f9d59(0x26d)]);var _0x5c849b=_0xd330ee[_0x1f9d59(0x3bd)](_0x3a85c4,_0x351eaf)[_0x1f9d59(0x358)](_0x2a64fa[_0x1f9d59(0x2c0)]);return _0x5c849b;},'_parse':function(_0x510cf,_0x7bd9f3){var _0x3bd21e=_0x58a9f3;return typeof _0x510cf==_0x3bd21e(0x347)?_0x7bd9f3[_0x3bd21e(0x42c)](_0x510cf,this):_0x510cf;}}),_0x46af6c=_0x4e223f[_0x58a9f3(0x22b)]={},_0x3acc41=_0x46af6c[_0x58a9f3(0x22d)]={'execute':function(_0x14ce97,_0x373fe4,_0x55762a,_0x3a6b52,_0x348b5b){var _0x1e8b3a=_0x58a9f3;if(_0x3a6b52||(_0x3a6b52=_0x4dc865[_0x1e8b3a(0x25f)](0x40/0x8)),_0x348b5b)var _0x1b010d=_0x5dd204['create']({'keySize':_0x373fe4+_0x55762a,'hasher':_0x348b5b})['compute'](_0x14ce97,_0x3a6b52);else var _0x1b010d=_0x5dd204[_0x1e8b3a(0x29d)]({'keySize':_0x373fe4+_0x55762a})[_0x1e8b3a(0x1af)](_0x14ce97,_0x3a6b52);var _0x456e1e=_0x4dc865[_0x1e8b3a(0x29d)](_0x1b010d[_0x1e8b3a(0x27d)]['slice'](_0x373fe4),_0x55762a*0x4);return _0x1b010d[_0x1e8b3a(0x418)]=_0x373fe4*0x4,_0xd61ef2[_0x1e8b3a(0x29d)]({'key':_0x1b010d,'iv':_0x456e1e,'salt':_0x3a6b52});}},_0x21d7bb=_0x11fe56[_0x58a9f3(0x1fb)]=_0x34a247['extend']({'cfg':_0x34a247[_0x58a9f3(0x337)][_0x58a9f3(0x1ae)]({'kdf':_0x3acc41}),'encrypt':function(_0x136362,_0x5b9488,_0x5ba7eb,_0x476bee){var _0x2063d9=_0x58a9f3;_0x476bee=this[_0x2063d9(0x337)][_0x2063d9(0x1ae)](_0x476bee);var _0x3f5691=_0x476bee[_0x2063d9(0x22b)][_0x2063d9(0x24b)](_0x5ba7eb,_0x136362[_0x2063d9(0x378)],_0x136362[_0x2063d9(0x395)],_0x476bee['salt'],_0x476bee[_0x2063d9(0x1da)]);_0x476bee['iv']=_0x3f5691['iv'];var _0x49be09=_0x34a247[_0x2063d9(0x331)][_0x2063d9(0x255)](this,_0x136362,_0x5b9488,_0x3f5691[_0x2063d9(0x2b4)],_0x476bee);return _0x49be09[_0x2063d9(0x3c0)](_0x3f5691),_0x49be09;},'decrypt':function(_0x4a71db,_0xdcb7e9,_0x30fbd7,_0x9ef3c1){var _0x22fa90=_0x58a9f3;_0x9ef3c1=this['cfg']['extend'](_0x9ef3c1),_0xdcb7e9=this['_parse'](_0xdcb7e9,_0x9ef3c1[_0x22fa90(0x26d)]);var _0x413ab6=_0x9ef3c1['kdf']['execute'](_0x30fbd7,_0x4a71db[_0x22fa90(0x378)],_0x4a71db['ivSize'],_0xdcb7e9[_0x22fa90(0x320)],_0x9ef3c1['hasher']);_0x9ef3c1['iv']=_0x413ab6['iv'];var _0x1cb2b2=_0x34a247[_0x22fa90(0x35e)][_0x22fa90(0x255)](this,_0x4a71db,_0xdcb7e9,_0x413ab6[_0x22fa90(0x2b4)],_0x9ef3c1);return _0x1cb2b2;}});}();}));}(Je)),Je[_0x3693a4(0x2d6)];}var gn=Ve[_0x3719d7(0x2d6)],ti;function Sn(){var _0x43f05a=_0x3719d7;return ti||(ti=0x1,function(_0x1a9c0d,_0xf8da2d){(function(_0x18e127,_0x2db897,_0x895069){var _0x3024b0=_0x3e70;_0x1a9c0d[_0x3024b0(0x2d6)]=_0x2db897(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x3dd989){var _0x488882=_0x3e70;return(function(){var _0x1acf39=_0x3e70,_0x1f1405=_0x3dd989,_0x2d2e69=_0x1f1405[_0x1acf39(0x37d)],_0x4a4ef2=_0x2d2e69['BlockCipher'],_0x42fcdd=_0x1f1405[_0x1acf39(0x450)],_0x441eef=[],_0x50d572=[],_0x2863c2=[],_0x3bfd2c=[],_0x482f91=[],_0x4c74ac=[],_0x1c3b90=[],_0x5808ae=[],_0xa7e41a=[],_0x9c6206=[];(function(){for(var _0x24633b=[],_0xe3c3e9=0x0;_0xe3c3e9<0x100;_0xe3c3e9++)_0xe3c3e9<0x80?_0x24633b[_0xe3c3e9]=_0xe3c3e9<<0x1:_0x24633b[_0xe3c3e9]=_0xe3c3e9<<0x1^0x11b;for(var _0x2f1c19=0x0,_0x28fab7=0x0,_0xe3c3e9=0x0;_0xe3c3e9<0x100;_0xe3c3e9++){var _0x5d40e9=_0x28fab7^_0x28fab7<<0x1^_0x28fab7<<0x2^_0x28fab7<<0x3^_0x28fab7<<0x4;_0x5d40e9=_0x5d40e9>>>0x8^_0x5d40e9&0xff^0x63,_0x441eef[_0x2f1c19]=_0x5d40e9,_0x50d572[_0x5d40e9]=_0x2f1c19;var _0x1d1082=_0x24633b[_0x2f1c19],_0x2df367=_0x24633b[_0x1d1082],_0x498700=_0x24633b[_0x2df367],_0x2fee62=_0x24633b[_0x5d40e9]*0x101^_0x5d40e9*0x1010100;_0x2863c2[_0x2f1c19]=_0x2fee62<<0x18|_0x2fee62>>>0x8,_0x3bfd2c[_0x2f1c19]=_0x2fee62<<0x10|_0x2fee62>>>0x10,_0x482f91[_0x2f1c19]=_0x2fee62<<0x8|_0x2fee62>>>0x18,_0x4c74ac[_0x2f1c19]=_0x2fee62;var _0x2fee62=_0x498700*0x1010101^_0x2df367*0x10001^_0x1d1082*0x101^_0x2f1c19*0x1010100;_0x1c3b90[_0x5d40e9]=_0x2fee62<<0x18|_0x2fee62>>>0x8,_0x5808ae[_0x5d40e9]=_0x2fee62<<0x10|_0x2fee62>>>0x10,_0xa7e41a[_0x5d40e9]=_0x2fee62<<0x8|_0x2fee62>>>0x18,_0x9c6206[_0x5d40e9]=_0x2fee62,_0x2f1c19?(_0x2f1c19=_0x1d1082^_0x24633b[_0x24633b[_0x24633b[_0x498700^_0x1d1082]]],_0x28fab7^=_0x24633b[_0x24633b[_0x28fab7]]):_0x2f1c19=_0x28fab7=0x1;}}());var _0x2bc4f8=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2c3d60=_0x42fcdd[_0x1acf39(0x362)]=_0x4a4ef2[_0x1acf39(0x1ae)]({'_doReset':function(){var _0x4dd229=_0x1acf39,_0x55ddf7;if(!(this[_0x4dd229(0x2d5)]&&this[_0x4dd229(0x40e)]===this[_0x4dd229(0x38e)])){for(var _0x3d260f=this[_0x4dd229(0x40e)]=this['_key'],_0x329599=_0x3d260f[_0x4dd229(0x27d)],_0x324b9a=_0x3d260f['sigBytes']/0x4,_0x17c66d=this[_0x4dd229(0x2d5)]=_0x324b9a+0x6,_0x4c82a7=(_0x17c66d+0x1)*0x4,_0x4257d2=this[_0x4dd229(0x23b)]=[],_0x39a214=0x0;_0x39a214<_0x4c82a7;_0x39a214++)_0x39a214<_0x324b9a?_0x4257d2[_0x39a214]=_0x329599[_0x39a214]:(_0x55ddf7=_0x4257d2[_0x39a214-0x1],_0x39a214%_0x324b9a?_0x324b9a>0x6&&_0x39a214%_0x324b9a==0x4&&(_0x55ddf7=_0x441eef[_0x55ddf7>>>0x18]<<0x18|_0x441eef[_0x55ddf7>>>0x10&0xff]<<0x10|_0x441eef[_0x55ddf7>>>0x8&0xff]<<0x8|_0x441eef[_0x55ddf7&0xff]):(_0x55ddf7=_0x55ddf7<<0x8|_0x55ddf7>>>0x18,_0x55ddf7=_0x441eef[_0x55ddf7>>>0x18]<<0x18|_0x441eef[_0x55ddf7>>>0x10&0xff]<<0x10|_0x441eef[_0x55ddf7>>>0x8&0xff]<<0x8|_0x441eef[_0x55ddf7&0xff],_0x55ddf7^=_0x2bc4f8[_0x39a214/_0x324b9a|0x0]<<0x18),_0x4257d2[_0x39a214]=_0x4257d2[_0x39a214-_0x324b9a]^_0x55ddf7);for(var _0x395e54=this[_0x4dd229(0x197)]=[],_0xf386a7=0x0;_0xf386a7<_0x4c82a7;_0xf386a7++){var _0x39a214=_0x4c82a7-_0xf386a7;if(_0xf386a7%0x4)var _0x55ddf7=_0x4257d2[_0x39a214];else var _0x55ddf7=_0x4257d2[_0x39a214-0x4];_0xf386a7<0x4||_0x39a214<=0x4?_0x395e54[_0xf386a7]=_0x55ddf7:_0x395e54[_0xf386a7]=_0x1c3b90[_0x441eef[_0x55ddf7>>>0x18]]^_0x5808ae[_0x441eef[_0x55ddf7>>>0x10&0xff]]^_0xa7e41a[_0x441eef[_0x55ddf7>>>0x8&0xff]]^_0x9c6206[_0x441eef[_0x55ddf7&0xff]];}}},'encryptBlock':function(_0x2a276c,_0x178256){var _0x2efaf8=_0x1acf39;this[_0x2efaf8(0x46b)](_0x2a276c,_0x178256,this[_0x2efaf8(0x23b)],_0x2863c2,_0x3bfd2c,_0x482f91,_0x4c74ac,_0x441eef);},'decryptBlock':function(_0x31d98d,_0x5e2bf7){var _0x4ed4bc=_0x1acf39,_0x176047=_0x31d98d[_0x5e2bf7+0x1];_0x31d98d[_0x5e2bf7+0x1]=_0x31d98d[_0x5e2bf7+0x3],_0x31d98d[_0x5e2bf7+0x3]=_0x176047,this['_doCryptBlock'](_0x31d98d,_0x5e2bf7,this[_0x4ed4bc(0x197)],_0x1c3b90,_0x5808ae,_0xa7e41a,_0x9c6206,_0x50d572);var _0x176047=_0x31d98d[_0x5e2bf7+0x1];_0x31d98d[_0x5e2bf7+0x1]=_0x31d98d[_0x5e2bf7+0x3],_0x31d98d[_0x5e2bf7+0x3]=_0x176047;},'_doCryptBlock':function(_0x32c36e,_0x5f109a,_0x515918,_0x587f4a,_0x2ce2c1,_0x4f52ea,_0x1380e1,_0x1aa3e5){var _0x4120ba=_0x1acf39;for(var _0x45d503=this[_0x4120ba(0x2d5)],_0x1ec0cf=_0x32c36e[_0x5f109a]^_0x515918[0x0],_0x138e36=_0x32c36e[_0x5f109a+0x1]^_0x515918[0x1],_0x267ab7=_0x32c36e[_0x5f109a+0x2]^_0x515918[0x2],_0x33caa1=_0x32c36e[_0x5f109a+0x3]^_0x515918[0x3],_0x58f284=0x4,_0x4bdd5a=0x1;_0x4bdd5a<_0x45d503;_0x4bdd5a++){var _0x5a65ff=_0x587f4a[_0x1ec0cf>>>0x18]^_0x2ce2c1[_0x138e36>>>0x10&0xff]^_0x4f52ea[_0x267ab7>>>0x8&0xff]^_0x1380e1[_0x33caa1&0xff]^_0x515918[_0x58f284++],_0x1eecfa=_0x587f4a[_0x138e36>>>0x18]^_0x2ce2c1[_0x267ab7>>>0x10&0xff]^_0x4f52ea[_0x33caa1>>>0x8&0xff]^_0x1380e1[_0x1ec0cf&0xff]^_0x515918[_0x58f284++],_0x2985a8=_0x587f4a[_0x267ab7>>>0x18]^_0x2ce2c1[_0x33caa1>>>0x10&0xff]^_0x4f52ea[_0x1ec0cf>>>0x8&0xff]^_0x1380e1[_0x138e36&0xff]^_0x515918[_0x58f284++],_0x36a422=_0x587f4a[_0x33caa1>>>0x18]^_0x2ce2c1[_0x1ec0cf>>>0x10&0xff]^_0x4f52ea[_0x138e36>>>0x8&0xff]^_0x1380e1[_0x267ab7&0xff]^_0x515918[_0x58f284++];_0x1ec0cf=_0x5a65ff,_0x138e36=_0x1eecfa,_0x267ab7=_0x2985a8,_0x33caa1=_0x36a422;}var _0x5a65ff=(_0x1aa3e5[_0x1ec0cf>>>0x18]<<0x18|_0x1aa3e5[_0x138e36>>>0x10&0xff]<<0x10|_0x1aa3e5[_0x267ab7>>>0x8&0xff]<<0x8|_0x1aa3e5[_0x33caa1&0xff])^_0x515918[_0x58f284++],_0x1eecfa=(_0x1aa3e5[_0x138e36>>>0x18]<<0x18|_0x1aa3e5[_0x267ab7>>>0x10&0xff]<<0x10|_0x1aa3e5[_0x33caa1>>>0x8&0xff]<<0x8|_0x1aa3e5[_0x1ec0cf&0xff])^_0x515918[_0x58f284++],_0x2985a8=(_0x1aa3e5[_0x267ab7>>>0x18]<<0x18|_0x1aa3e5[_0x33caa1>>>0x10&0xff]<<0x10|_0x1aa3e5[_0x1ec0cf>>>0x8&0xff]<<0x8|_0x1aa3e5[_0x138e36&0xff])^_0x515918[_0x58f284++],_0x36a422=(_0x1aa3e5[_0x33caa1>>>0x18]<<0x18|_0x1aa3e5[_0x1ec0cf>>>0x10&0xff]<<0x10|_0x1aa3e5[_0x138e36>>>0x8&0xff]<<0x8|_0x1aa3e5[_0x267ab7&0xff])^_0x515918[_0x58f284++];_0x32c36e[_0x5f109a]=_0x5a65ff,_0x32c36e[_0x5f109a+0x1]=_0x1eecfa,_0x32c36e[_0x5f109a+0x2]=_0x2985a8,_0x32c36e[_0x5f109a+0x3]=_0x36a422;},'keySize':0x100/0x20});_0x1f1405['AES']=_0x4a4ef2[_0x1acf39(0x22e)](_0x2c3d60);}()),_0x3dd989[_0x488882(0x362)];}));}(Ve)),Ve[_0x43f05a(0x2d6)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0x3719d7(0x2d6)],si;function Rn(){var _0x43cc0b=_0x3719d7;return si||(si=0x1,function(_0x24d796,_0x3d813c){(function(_0x5afdd7,_0x2d2aeb){var _0x28a794=_0x3e70;_0x24d796[_0x28a794(0x2d6)]=_0x2d2aeb(te());}(Cn,function(_0x374ae2){var _0x77fe90=_0x3e70;return _0x374ae2[_0x77fe90(0x1a8)]['Utf8'];}));}(Xe)),Xe[_0x43cc0b(0x2d6)];}function _0x3e70(_0x1dbf28,_0x2f2efe){var _0x345c54=_0x345c();return _0x3e70=function(_0x3e7022,_0x19ab00){_0x3e7022=_0x3e7022-0x18e;var _0x21d694=_0x345c54[_0x3e7022];return _0x21d694;},_0x3e70(_0x1dbf28,_0x2f2efe);}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze['exports'],ni;function Nn(){return ni||(ni=0x1,function(_0x523540,_0x1a95ca){(function(_0x512454,_0x236a58){var _0x168b87=_0x3e70;_0x523540[_0x168b87(0x2d6)]=_0x236a58(te());}(yn,function(_0x384abe){var _0x3fdf8e=_0x3e70;return(function(){var _0x46d327=_0x3e70;if(typeof ArrayBuffer==_0x46d327(0x356)){var _0x3753c2=_0x384abe,_0x5072c9=_0x3753c2[_0x46d327(0x37d)],_0x16d3c6=_0x5072c9[_0x46d327(0x40b)],_0x3a31b7=_0x16d3c6[_0x46d327(0x478)],_0x20c02f=_0x16d3c6[_0x46d327(0x478)]=function(_0x19a6d9){var _0x3aa311=_0x46d327;if(_0x19a6d9 instanceof ArrayBuffer&&(_0x19a6d9=new Uint8Array(_0x19a6d9)),(_0x19a6d9 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x19a6d9 instanceof Uint8ClampedArray||_0x19a6d9 instanceof Int16Array||_0x19a6d9 instanceof Uint16Array||_0x19a6d9 instanceof Int32Array||_0x19a6d9 instanceof Uint32Array||_0x19a6d9 instanceof Float32Array||_0x19a6d9 instanceof Float64Array)&&(_0x19a6d9=new Uint8Array(_0x19a6d9['buffer'],_0x19a6d9[_0x3aa311(0x1aa)],_0x19a6d9[_0x3aa311(0x18f)])),_0x19a6d9 instanceof Uint8Array){for(var _0x43c9a0=_0x19a6d9[_0x3aa311(0x18f)],_0x5ab99e=[],_0xf21101=0x0;_0xf21101<_0x43c9a0;_0xf21101++)_0x5ab99e[_0xf21101>>>0x2]|=_0x19a6d9[_0xf21101]<<0x18-_0xf21101%0x4*0x8;_0x3a31b7[_0x3aa311(0x255)](this,_0x5ab99e,_0x43c9a0);}else _0x3a31b7[_0x3aa311(0x2d3)](this,arguments);};_0x20c02f['prototype']=_0x16d3c6;}}()),_0x384abe['lib'][_0x3fdf8e(0x40b)];}));}(Ze)),Ze['exports'];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0x3719d7(0x2d6)],ri;function wn(){var _0x22e2cd=_0x3719d7;return ri||(ri=0x1,function(_0x47fa3e,_0x407c04){(function(_0x1e1173,_0x32a058,_0x47b588){var _0x496904=_0x3e70;_0x47fa3e[_0x496904(0x2d6)]=_0x32a058(te(),bi());}(An,function(_0x3f2829){var _0x327eed=_0x3e70;return _0x3f2829[_0x327eed(0x2ec)][_0x327eed(0x318)]={'pad':function(){},'unpad':function(){}},_0x3f2829['pad'][_0x327eed(0x318)];}));}(Qe)),Qe[_0x22e2cd(0x2d6)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x50ce02,_0x5d5996){var _0x3fbdf5=_0x3719d7;const _0x2cc3f1=_0x5d5996-_0x50ce02[_0x3fbdf5(0x463)]%_0x5d5996,_0x332250=String[_0x3fbdf5(0x413)](_0x2cc3f1)['repeat'](_0x2cc3f1);return _0x50ce02+_0x332250;}function xn(_0xd14dec,_0x4200c0){var _0x2c1c43=_0x3719d7;const _0x53a67b=Un[_0x2c1c43(0x25f)](0x10),_0xc0e54f=Ln(_0xd14dec,0x10),_0x5ecd4e=In[_0x2c1c43(0x331)](bn['parse'](_0xc0e54f),ii[_0x2c1c43(0x42c)](_0x4200c0),{'iv':_0x53a67b,'padding':Mn});return _0x53a67b[_0x2c1c43(0x423)](_0x5ecd4e[_0x2c1c43(0x2c0)])[_0x2c1c43(0x263)](ii);}function kn(){var _0x35569a=_0x3719d7;const _0x587351=_0x1bb761()['__Key__'];if(_0x587351){const _0x3ca614={'time':Math[_0x35569a(0x449)](Date[_0x35569a(0x1f8)]()/0x3e8),'domain':location[_0x35569a(0x41d)]};return xn(JSON[_0x35569a(0x2c8)](_0x3ca614),_0x587351);}}var $n=Object[_0x3719d7(0x2d0)],Hn=(_0x4e85af,_0x564050,_0x339a9d,_0x338726)=>{for(var _0x38ad44=_0x338726>0x1?void 0x0:_0x338726?$n(_0x564050,_0x339a9d):_0x564050,_0x45d5af=_0x4e85af['length']-0x1,_0x206d9f;_0x45d5af>=0x0;_0x45d5af--)(_0x206d9f=_0x4e85af[_0x45d5af])&&(_0x38ad44=_0x206d9f(_0x38ad44)||_0x38ad44);return _0x38ad44;},Bn=(_0x5ac9be,_0x537c3b)=>(_0xccb6eb,_0x54853a)=>_0x537c3b(_0xccb6eb,_0x54853a,_0x5ac9be);let at=class{constructor(_0x4e2248){var _0x593fde=_0x3719d7;this[_0x593fde(0x3a3)]=_0x4e2248,this[_0x593fde(0x1f1)]();}[_0x3719d7(0x1f1)](){var _0x359ced=_0x3719d7;this[_0x359ced(0x3a3)]['registerHTTPInterceptor']({'interceptor':(_0x5ba372,_0x11db6c)=>{var _0xeef896=_0x359ced;const _0x534301=_0x5ba372[_0xeef896(0x274)],_0x4ff810=kn();return _0x4ff810&&_0x534301[_0xeef896(0x1cb)](_0xeef896(0x43b),_0x4ff810),_0x11db6c(_0x5ba372);}});}};at=Hn([Bn(0x0,_0x9a05e2(_0x4ae839))],at);var jn=Object[_0x3719d7(0x2d0)],Fn=(_0x5a277f,_0x267c27,_0x5f0ccf,_0x35f28f)=>{var _0x2e1bef=_0x3719d7;for(var _0x4ffe4e=_0x35f28f>0x1?void 0x0:_0x35f28f?jn(_0x267c27,_0x5f0ccf):_0x267c27,_0x4be162=_0x5a277f[_0x2e1bef(0x463)]-0x1,_0x374d5f;_0x4be162>=0x0;_0x4be162--)(_0x374d5f=_0x5a277f[_0x4be162])&&(_0x4ffe4e=_0x374d5f(_0x4ffe4e)||_0x4ffe4e);return _0x4ffe4e;},vt=(_0x42567d,_0x4e3004)=>(_0x1c166e,_0x3f7ebd)=>_0x4e3004(_0x1c166e,_0x3f7ebd,_0x42567d);let Ct=class extends _0x103aff{constructor(_0xf00ac,_0x2d9e98,_0x4f7cc8){var _0x4d6966=_0x3719d7;super(),N(this,'_unitInfo$',new _0x261aac(null)),N(this,_0x4d6966(0x351),this[_0x4d6966(0x1c3)][_0x4d6966(0x1d3)]()),(this[_0x4d6966(0x3c6)]=_0xf00ac,this[_0x4d6966(0x29e)]=_0x2d9e98,this[_0x4d6966(0x222)]=_0x4f7cc8);}async['loadUnitOfRevision'](_0x61332f,_0x3c609a,_0x31c19c){var _0x579cc5=_0x3719d7;this[_0x579cc5(0x1c3)][_0x579cc5(0x438)]({'unitId':_0x61332f,'type':_0x3c609a});let _0x1d69fc=null;switch(_0x3c609a){case Z[_0x579cc5(0x1eb)]:{_0x1d69fc=await this['_snapshotService'][_0x579cc5(0x2f1)](_0x61332f,_0x31c19c);break;}case Z[_0x579cc5(0x406)]:{_0x1d69fc=await this['_snapshotService'][_0x579cc5(0x238)](_0x61332f,_0x31c19c);break;}default:{this[_0x579cc5(0x3c6)][_0x579cc5(0x19b)](_0x579cc5(0x38a),_0x579cc5(0x2c9));break;}}return _0x1d69fc;}async[_0x3719d7(0x21d)](_0x36a076,_0x179059,_0x1cb14f){var _0x31e1af=_0x3719d7,_0x22b5d8;this[_0x31e1af(0x1c3)][_0x31e1af(0x438)]({'unitId':_0x36a076,'type':_0x179059,'subUnitId':_0x1cb14f});let _0x37d682=0x0;const _0x3201c9=await((_0x22b5d8=this[_0x31e1af(0x222)])==null?void 0x0:_0x22b5d8['loadOfflineData'](_0x36a076));return _0x3201c9&&(_0x3201c9[_0x31e1af(0x3b6)]||_0x3201c9['mutations'][_0x31e1af(0x463)]!==0x0)&&(_0x37d682=_0x3201c9[_0x31e1af(0x3a1)]),_0x37d682===0x0&&this[_0x31e1af(0x3c6)]['debug'](_0x31e1af(0x38a),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x31e1af(0x1fd)](_0x36a076,_0x179059,_0x37d682);}};Ct=Fn([vt(0x0,_0x116fbc),vt(0x1,_0x9a05e2(_0xba1272)),vt(0x2,_0x16e192(J))],Ct);var Vn=Object['getOwnPropertyDescriptor'],Wn=(_0x5ca402,_0x22fd24,_0x35ff01,_0x1633c5)=>{var _0xe47dd4=_0x3719d7;for(var _0x4c4a3d=_0x1633c5>0x1?void 0x0:_0x1633c5?Vn(_0x22fd24,_0x35ff01):_0x22fd24,_0x5bf1b0=_0x5ca402[_0xe47dd4(0x463)]-0x1,_0x1a4fbc;_0x5bf1b0>=0x0;_0x5bf1b0--)(_0x1a4fbc=_0x5ca402[_0x5bf1b0])&&(_0x4c4a3d=_0x1a4fbc(_0x4c4a3d)||_0x4c4a3d);return _0x4c4a3d;},pt=(_0x2b3e01,_0x4e361c)=>(_0x2d73ac,_0x2b1029)=>_0x4e361c(_0x2d73ac,_0x2b1029,_0x2b3e01);const Gn=[_0x3719d7(0x2d4),_0x3719d7(0x212),'image/jpg',_0x3719d7(0x324),'image/bmp'],Yn=0x5*0x400*0x400,Kn=_0x3719d7(0x1b1),qn=_0x3719d7(0x1a7);let Rt=class{constructor(_0x519600,_0x273696,_0x491b53){var _0x48f86f=_0x3719d7;N(this,_0x48f86f(0x43f),0x0),N(this,_0x48f86f(0x273),new _0x3ca5c9()),N(this,_0x48f86f(0x220),this[_0x48f86f(0x273)]),N(this,_0x48f86f(0x2ff),new Map()),(this['_httpService']=_0x519600,this[_0x48f86f(0x2b3)]=_0x273696,this[_0x48f86f(0x484)]=_0x491b53);}[_0x3719d7(0x432)](_0x3e426b){var _0x840da1=_0x3719d7;this[_0x840da1(0x43f)]=_0x3e426b,this[_0x840da1(0x273)]['next'](_0x3e426b);}[_0x3719d7(0x341)](_0x1fc784,_0x1b5b0a){var _0x58a04e=_0x3719d7;if(_0x1b5b0a===_0x2297e6[_0x58a04e(0x208)]){const _0x46c58b=new Image();return _0x46c58b['src']=_0x1fc784,_0x46c58b;}return this['_imageSourceCache'][_0x58a04e(0x3b3)](_0x1fc784);}[_0x3719d7(0x1ab)](_0x4e97bf,_0x26a2b8,_0x668097){var _0x366aa3=_0x3719d7;_0x26a2b8===_0x2297e6['BASE64']||_0x668097==null||this[_0x366aa3(0x2ff)][_0x366aa3(0x1cb)](_0x4e97bf,_0x668097);}async[_0x3719d7(0x37e)](_0x175d1d){var _0x37a5c2=_0x3719d7;try{const _0x2865fb=this[_0x37a5c2(0x380)](this[_0x37a5c2(0x19d)](),''+_0x175d1d),_0x48eca4=(await this[_0x37a5c2(0x3a3)][_0x37a5c2(0x3b3)](_0x2865fb))[_0x37a5c2(0x476)];if(_0x48eca4[_0x37a5c2(0x19b)]&&_0x48eca4[_0x37a5c2(0x19b)][_0x37a5c2(0x216)]===vi['OK']){const _0x5469d5=new URL(_0x48eca4[_0x37a5c2(0x1a1)],this[_0x37a5c2(0x414)]())[_0x37a5c2(0x263)]();return Promise['resolve'](_0x5469d5);}return Promise['reject'](_0x48eca4['error']);}catch(_0x467fde){return Promise[_0x37a5c2(0x256)](_0x467fde);}}async[_0x3719d7(0x2a1)](_0x1d2daf){var _0x4e8298=_0x3719d7;let _0x328611='';if(!Gn[_0x4e8298(0x340)](_0x1d2daf[_0x4e8298(0x246)]))return this[_0x4e8298(0x447)](),Promise[_0x4e8298(0x256)](new Error(_0x5d8351[_0x4e8298(0x2f8)]));if(_0x1d2daf[_0x4e8298(0x192)]>Yn)return this[_0x4e8298(0x447)](),Promise['reject'](new Error(_0x5d8351[_0x4e8298(0x3af)]));try{const _0x11c227=new FormData();_0x11c227[_0x4e8298(0x411)](_0x4e8298(0x382),_0x1d2daf);const _0x450f46=this[_0x4e8298(0x484)]['getFocusedUnit'](),_0x18b232=_0x450f46==null?void 0x0:_0x450f46[_0x4e8298(0x354)]();if(!_0x18b232)throw new Error('unitId\x20is\x20not\x20found');const _0x2aba21=this['_getUploadFileURL']()+_0x4e8298(0x1cf)+_0x1d2daf['size']['toString']()+_0x4e8298(0x219)+pi[_0x4e8298(0x443)]+_0x4e8298(0x404)+encodeURIComponent(_0x18b232),_0x181e25={'body':_0x11c227},_0x3afefb=(await this['_httpService'][_0x4e8298(0x26b)](_0x2aba21,_0x181e25))[_0x4e8298(0x476)];if(typeof _0x3afefb[_0x4e8298(0x366)]!=_0x4e8298(0x347))return this[_0x4e8298(0x447)](),Promise['reject'](new Error(_0x5d8351[_0x4e8298(0x434)]));_0x328611=_0x3afefb['FileId'];}catch{return this[_0x4e8298(0x447)](),Promise[_0x4e8298(0x256)](new Error(_0x5d8351[_0x4e8298(0x434)]));}return new Promise((_0x2b2cbd,_0x481e46)=>{var _0x336968=_0x4e8298;const _0x57f883=new FileReader();_0x57f883[_0x336968(0x34e)](_0x1d2daf),_0x57f883['onload']=_0x467f01=>{var _0x547ccb=_0x336968,_0x21ba74;const _0x2745c5=(_0x21ba74=_0x467f01[_0x547ccb(0x253)])==null?void 0x0:_0x21ba74[_0x547ccb(0x44b)];if(_0x2745c5==null){this[_0x547ccb(0x447)](),_0x481e46(new Error(_0x5d8351[_0x547ccb(0x434)]));return;}const _0x3328bc=_0x3c6a17(0x6);_0x2b2cbd({'imageId':_0x3328bc,'imageSourceType':_0x2297e6[_0x547ccb(0x190)],'source':_0x328611,'base64Cache':_0x2745c5,'status':_0x5d8351[_0x547ccb(0x445)]}),this[_0x547ccb(0x447)]();};});}[_0x3719d7(0x321)](){var _0x51efe9=_0x3719d7,_0x6f20a3;const _0x4a05a0=this['_configService'][_0x51efe9(0x277)](K);return(_0x6f20a3=_0x4a05a0==null?void 0x0:_0x4a05a0[_0x51efe9(0x1e5)])!=null?_0x6f20a3:Kn;}[_0x3719d7(0x19d)](){var _0x326376=_0x3719d7,_0x44702f;const _0x2d6068=this[_0x326376(0x2b3)][_0x326376(0x277)](K);return(_0x44702f=_0x2d6068==null?void 0x0:_0x2d6068['signUrlServerUrl'])!=null?_0x44702f:qn;}[_0x3719d7(0x414)](){var _0x18ef71=_0x3719d7,_0x4671e8;const _0x1675ee=this[_0x18ef71(0x2b3)][_0x18ef71(0x277)](K);return(_0x4671e8=_0x1675ee==null?void 0x0:_0x1675ee[_0x18ef71(0x39d)])!=null?_0x4671e8:location[_0x18ef71(0x312)];}[_0x3719d7(0x380)](_0x2e259d,_0x37a275){var _0x452ee6=_0x3719d7;return _0x2e259d['replace'](_0x452ee6(0x291),_0x37a275);}[_0x3719d7(0x447)](){var _0x4c5f95=_0x3719d7;this[_0x4c5f95(0x43f)]-=0x1,this[_0x4c5f95(0x273)]['next'](this[_0x4c5f95(0x43f)]);}};Rt=Wn([pt(0x0,_0x9a05e2(_0x4ae839)),pt(0x1,_0x3f20e3),pt(0x2,_0x9a05e2(_0x3b570d))],Rt);var zn=Object[_0x3719d7(0x2d0)],Jn=(_0x5af12a,_0x43fd36,_0x517f9e,_0x5f2809)=>{for(var _0x373fca=_0x5f2809>0x1?void 0x0:_0x5f2809?zn(_0x43fd36,_0x517f9e):_0x43fd36,_0x1536c0=_0x5af12a['length']-0x1,_0x5e44f4;_0x1536c0>=0x0;_0x1536c0--)(_0x5e44f4=_0x5af12a[_0x1536c0])&&(_0x373fca=_0x5e44f4(_0x373fca)||_0x373fca);return _0x373fca;},ai=(_0x4ce598,_0x490476)=>(_0x4ac935,_0x912f98)=>_0x490476(_0x4ac935,_0x912f98,_0x4ce598);const Xn=_0x3719d7(0x46e);let Ot=class{constructor(_0x5f51f9,_0x596903){var _0xa93c71=_0x3719d7;this['_configService']=_0x5f51f9,this[_0xa93c71(0x27f)]=_0x596903;}[_0x3719d7(0x41e)](){var _0x2cac63=_0x3719d7,_0x346b8c;const _0x842a45=this[_0x2cac63(0x2b3)][_0x2cac63(0x277)](K);return(_0x346b8c=_0x842a45==null?void 0x0:_0x842a45[_0x2cac63(0x2bc)])!=null?_0x346b8c:Xn;}async[_0x3719d7(0x2b6)](_0x10cbae){var _0x25f68e=_0x3719d7;const _0x5538b1=this[_0x25f68e(0x41e)]()+'/collaborator';return{'list':[{'title':_0x25f68e(0x2dd),'mentions':(await this[_0x25f68e(0x27f)]['get'](_0x5538b1,{'params':{'objectID':_0x10cbae[_0x25f68e(0x35c)],'unitID':_0x10cbae['unitId']}}))[_0x25f68e(0x476)]['collaborators'][_0x25f68e(0x3c9)](_0x19eb4c=>({'objectId':_0x19eb4c['id'],'name':_0x19eb4c['subject'][_0x25f68e(0x367)],'metadata':{'icon':_0x19eb4c['subject'][_0x25f68e(0x242)]},'label':_0x19eb4c[_0x25f68e(0x28e)]['name'],'objectType':_0x9eb8b8['PERSON']})),'metadata':{},'type':_0x9eb8b8[_0x25f68e(0x1ff)]}]};}};Ot=Jn([ai(0x0,_0x9a05e2(_0x3f20e3)),ai(0x1,_0x9a05e2(_0x4ae839))],Ot);var Zn=Object[_0x3719d7(0x2d0)],Qn=(_0x178f92,_0x4a8101,_0x5aeb38,_0x200865)=>{for(var _0x34e431=_0x200865>0x1?void 0x0:_0x200865?Zn(_0x4a8101,_0x5aeb38):_0x4a8101,_0x3c790b=_0x178f92['length']-0x1,_0x1f5543;_0x3c790b>=0x0;_0x3c790b--)(_0x1f5543=_0x178f92[_0x3c790b])&&(_0x34e431=_0x1f5543(_0x34e431)||_0x34e431);return _0x34e431;},Ue=(_0x2d2859,_0x8a439d)=>(_0x1e67a3,_0x18ab7a)=>_0x8a439d(_0x1e67a3,_0x18ab7a,_0x2d2859);let ot=class extends _0x103aff{constructor(_0x1e43e5,_0x5da499,_0x4a7e49,_0x2945af,_0x2cc008){var _0x417922=_0x3719d7;super(),this[_0x417922(0x1f0)]=_0x1e43e5,this[_0x417922(0x484)]=_0x5da499,this[_0x417922(0x3b8)]=_0x4a7e49,this[_0x417922(0x2ac)]=_0x2945af,this[_0x417922(0x32a)]=_0x2cc008,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x3719d7(0x326)](){var _0x30baac=_0x3719d7;const _0x46fa7f=async _0x2ddb55=>{var _0x1debff=_0x3e70;(await this[_0x1debff(0x2ac)][_0x1debff(0x2f6)](_0x2ddb55))[_0x1debff(0x266)]['pipe'](_0x1e33d7(_0x3e0f7b=>_0x3e0f7b[_0x1debff(0x20e)]===_0x1454f[_0x1debff(0x3a9)]),_0x35375c(this[_0x1debff(0x361)]))[_0x1debff(0x405)](_0x223013=>{var _0x2bce6d=_0x1debff;const _0x4ee737=_0x223013,{reason:_0x4f3ab6}=_0x4ee737[_0x2bce6d(0x3a8)];this[_0x2bce6d(0x32a)][_0x2bce6d(0x3e6)]({'id':ne[_0x2bce6d(0x3ca)],'data':_0x4f3ab6}),this[_0x2bce6d(0x3b8)][_0x2bce6d(0x2af)](new _0x52443e(_0x2ddb55)['id'],!0x1),this['_collaborationSessionService'][_0x2bce6d(0x3ad)](_0x2ddb55);});};_0x2f8997(this['_univerInstanceService'][_0x30baac(0x42e)](_0x14a7db[_0x30baac(0x1eb)]),this[_0x30baac(0x484)][_0x30baac(0x42e)](_0x14a7db[_0x30baac(0x406)]))['pipe'](_0x5a13d1(_0x2e92fa=>_0x2e92fa[_0x30baac(0x354)]()),_0x1e33d7(_0x1bb2f2=>!_0x125852(_0x1bb2f2)),_0x35375c(this['dispose$']))[_0x30baac(0x405)](_0xe85c84=>{_0x46fa7f(_0xe85c84);});}[_0x3719d7(0x322)](){var _0x59f960=_0x3719d7;const _0x28d906=async _0x4e96ab=>{var _0x4a95ea=_0x3e70;const _0x4f0ce0=await this[_0x4a95ea(0x2ac)][_0x4a95ea(0x2f6)](_0x4e96ab),_0x15864c=this['_injector'][_0x4a95ea(0x3b3)](_0x367d49);_0x4f0ce0[_0x4a95ea(0x266)][_0x4a95ea(0x285)](_0x1e33d7(_0x45fb99=>_0x45fb99['eventID']===_0x1454f[_0x4a95ea(0x46a)]),_0x35375c(this[_0x4a95ea(0x361)]))['subscribe'](_0x55e5d8=>{var _0x1094ce=_0x4a95ea;const _0x4b2ad0=_0x55e5d8,{objectId:_0xf304b2}=_0x4b2ad0[_0x1094ce(0x3a8)];_0xf304b2===_0x4e96ab?_0x15864c[_0x1094ce(0x23c)](_0x4e96ab):_0x15864c[_0x1094ce(0x2fa)](_0x4e96ab,_0xf304b2);});};_0x2f8997(this[_0x59f960(0x484)][_0x59f960(0x42e)](_0x14a7db[_0x59f960(0x1eb)]))[_0x59f960(0x285)](_0x5a13d1(_0x5cf6c0=>_0x5cf6c0[_0x59f960(0x354)]()),_0x1e33d7(_0x49cb2d=>!_0x125852(_0x49cb2d)),_0x35375c(this['dispose$']))[_0x59f960(0x405)](_0x33ccfb=>{_0x28d906(_0x33ccfb);});}};ot=Qn([Ue(0x0,_0x9a05e2(_0x220a42)),Ue(0x1,_0x3b570d),Ue(0x2,_0x1fa5cb),Ue(0x3,_0x9a05e2(Pe)),Ue(0x4,_0x9a05e2(ve))],ot);var er=Object[_0x3719d7(0x2d0)],tr=(_0x15a1aa,_0xf7c531,_0x233f8e,_0x1daaae)=>{var _0x2728a8=_0x3719d7;for(var _0x1690aa=_0x1daaae>0x1?void 0x0:_0x1daaae?er(_0xf7c531,_0x233f8e):_0xf7c531,_0x446fff=_0x15a1aa[_0x2728a8(0x463)]-0x1,_0x5d1def;_0x446fff>=0x0;_0x446fff--)(_0x5d1def=_0x15a1aa[_0x446fff])&&(_0x1690aa=_0x5d1def(_0x1690aa)||_0x1690aa);return _0x1690aa;},oi=(_0x17783a,_0x2a54d6)=>(_0xdc678c,_0x5bffab)=>_0x2a54d6(_0xdc678c,_0x5bffab,_0x17783a);let bt=class{constructor(_0x5d9fcd,_0x262056){var _0x421257=_0x3719d7;this[_0x421257(0x2b3)]=_0x5d9fcd,this[_0x421257(0x3a3)]=_0x262056;}async['getUnitOnRev'](_0x35654d,_0x263888){var _0x53404a=_0x3719d7,_0x4443d5;const {unitID:_0x289bb1,type:_0x16f9d1,revision:_0x363350=0x0}=_0x263888,_0x3e2a34=this['getSnapshotAPIPath']()+'/'+_0x16f9d1+_0x53404a(0x368)+_0x289bb1+_0x53404a(0x397)+_0x363350,_0x437b33=(await this[_0x53404a(0x3a3)][_0x53404a(0x3b3)](_0x3e2a34))[_0x53404a(0x476)],_0x50bcfc=(_0x4443d5=_0x437b33[_0x53404a(0x36e)])==null?void 0x0:_0x4443d5['workbook'];if(_0x50bcfc){const _0x3a5067=_0x50bcfc==null?void 0x0:_0x50bcfc[_0x53404a(0x39b)],_0x5103b6=_0x5a9644[_0x53404a(0x388)](_0x7bb237(_0x3a5067));_0x50bcfc[_0x53404a(0x39b)]=_0x5103b6,Object[_0x53404a(0x360)](_0x50bcfc[_0x53404a(0x36c)])['forEach'](([,_0x1d9775])=>{var _0x5f5888=_0x53404a;const _0x1f3725=_0x1d9775[_0x5f5888(0x39b)],_0x4221f7=_0x5a9644[_0x5f5888(0x388)](_0x7bb237(_0x1f3725));_0x1d9775['originalMeta']=_0x4221f7;});}return _0x437b33;}async[_0x3719d7(0x416)](_0x44aae2,_0x1a47ce){var _0x99a343=_0x3719d7;const {unitID:_0x5ea744,type:_0x417a6a,blockID:_0x209564}=_0x1a47ce,_0x4e5d0c=this[_0x99a343(0x209)]()+'/'+_0x417a6a+_0x99a343(0x368)+_0x5ea744+'/block/'+_0x209564;return(await this[_0x99a343(0x3a3)]['get'](_0x4e5d0c))[_0x99a343(0x476)];}async[_0x3719d7(0x435)](_0x940de,_0x47208b){var _0xaeeb3=_0x3719d7;const {unitID:_0x523c6,type:_0x2dcbe0,blockID:_0x321afc}=_0x47208b,_0x2e4726=this[_0xaeeb3(0x209)]()+_0xaeeb3(0x3e7)+_0x2dcbe0+_0xaeeb3(0x368)+_0x523c6+_0xaeeb3(0x3e7)+_0x321afc;return(await this[_0xaeeb3(0x3a3)]['get'](_0x2e4726))[_0xaeeb3(0x476)];}async[_0x3719d7(0x2aa)](_0x3b95c6,_0x57b9d9){var _0x4258f9=_0x3719d7;const {unitID:_0x193496,type:_0x3fcef1,from:_0x573a41,to:_0x2007c2}=_0x57b9d9,_0xf8781c=this[_0x4258f9(0x209)]()+'/'+_0x3fcef1+_0x4258f9(0x368)+_0x193496+'/fetchmissing?from='+_0x573a41+_0x4258f9(0x2f7)+_0x2007c2;return(await this[_0x4258f9(0x3a3)][_0x4258f9(0x3b3)](_0xf8781c))['body'];}[_0x3719d7(0x468)](){var _0x340e2d=_0x3719d7,_0x4ec9e9;return(_0x4ec9e9=this[_0x340e2d(0x2b3)][_0x340e2d(0x277)](vs))!=null?_0x4ec9e9:this[_0x340e2d(0x209)]();}['_getAPIPrefix'](){var _0x1bb952=_0x3719d7,_0x32e375;const _0x1d93e8=this[_0x1bb952(0x2b3)][_0x1bb952(0x277)](K);return(_0x32e375=_0x1d93e8==null?void 0x0:_0x1d93e8['snapshotServerUrl'])!=null?_0x32e375:fs;}async[_0x3719d7(0x41c)](_0x2f07dd,_0x20969e){var _0x195f73=_0x3719d7;const _0x54dc07=_0x195f73(0x483)+_0x20969e[_0x195f73(0x246)]+_0x195f73(0x368)+_0x20969e[_0x195f73(0x43a)]+_0x195f73(0x2a3);return(await this[_0x195f73(0x3a3)][_0x195f73(0x3b3)](_0x54dc07,{'params':{'resourceId':JSON['stringify'](_0x20969e['resourceIDs'])}}))['body'];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3719d7(0x3d8)](){var _0x416f76=_0x3719d7;throw new Error(_0x416f76(0x237));}['saveSheetBlock'](){var _0x72f283=_0x3719d7;throw new Error(_0x72f283(0x237));}[_0x3719d7(0x217)](){var _0x3165e1=_0x3719d7;throw new Error(_0x3165e1(0x237));}[_0x3719d7(0x2fc)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){var _0x3cf75f=_0x3719d7;throw new Error(_0x3cf75f(0x237));}};bt=tr([oi(0x0,_0x3f20e3),oi(0x1,_0x9a05e2(_0x4ae839))],bt);var ir=Object['getOwnPropertyDescriptor'],sr=(_0x1a82cf,_0x191da0,_0x11db8f,_0x564ef8)=>{var _0x4c491c=_0x3719d7;for(var _0x2bdbd4=_0x564ef8>0x1?void 0x0:_0x564ef8?ir(_0x191da0,_0x11db8f):_0x191da0,_0x593507=_0x1a82cf[_0x4c491c(0x463)]-0x1,_0x26b8b3;_0x593507>=0x0;_0x593507--)(_0x26b8b3=_0x1a82cf[_0x593507])&&(_0x2bdbd4=_0x26b8b3(_0x2bdbd4)||_0x2bdbd4);return _0x2bdbd4;},Ae=(_0x19ded4,_0x2dc4b6)=>(_0x36783a,_0x22081e)=>_0x2dc4b6(_0x36783a,_0x22081e,_0x19ded4);let yt=class extends _0x39dd25{constructor(_0x161c73,_0x1d5bb9,_0x4e8c05,_0x3ea4b2,_0x2b6224){var _0x3d4aa1=_0x3719d7;super(_0x161c73,_0x1d5bb9,_0x4e8c05),this[_0x3d4aa1(0x396)]=_0x3ea4b2,this[_0x3d4aa1(0x3c6)]=_0x2b6224;}[_0x3719d7(0x328)](_0x23f565,_0x36d35e){var _0x54f53a=_0x3719d7;const _0x1afbe0=this[_0x54f53a(0x204)](_0x23f565);if(_0x1afbe0)try{const _0x367480=this[_0x54f53a(0x24a)](_0x1afbe0,_0x36d35e);this[_0x54f53a(0x344)](_0x23f565,_0x367480);}catch(_0x4be624){this[_0x54f53a(0x3c6)][_0x54f53a(0x19b)](_0x54f53a(0x462),_0x4be624),this[_0x54f53a(0x203)](_0x23f565);}const _0x32162b=this['_getRedoStack'](_0x23f565);if(_0x32162b)try{const _0x2e7604=this[_0x54f53a(0x24a)](_0x32162b,_0x36d35e);this[_0x54f53a(0x257)](_0x23f565,_0x2e7604);}catch(_0x3257e5){this[_0x54f53a(0x3c6)]['error'](_0x3257e5),this[_0x54f53a(0x34f)](_0x23f565);}}['_clearUndo'](_0x58f1a2){var _0x38eec1=_0x3719d7;const _0x2cd4e5=this[_0x38eec1(0x204)](_0x58f1a2);_0x2cd4e5&&(_0x2cd4e5[_0x38eec1(0x463)]=0x0,this['_updateStatus']());}[_0x3719d7(0x34f)](_0x3f5148){var _0x3a56ee=_0x3719d7;const _0x92ba9a=this[_0x3a56ee(0x260)](_0x3f5148);_0x92ba9a&&(_0x92ba9a[_0x3a56ee(0x463)]=0x0,this['_updateStatus']());}[_0x3719d7(0x344)](_0x13307e,_0x57f366){var _0x4fff5e=_0x3719d7;this[_0x4fff5e(0x3b4)][_0x4fff5e(0x1cb)](_0x13307e,_0x57f366),this[_0x4fff5e(0x1f2)]();}[_0x3719d7(0x257)](_0x24afd3,_0x2d6608){var _0x42c5a4=_0x3719d7;this[_0x42c5a4(0x3c8)]['set'](_0x24afd3,_0x2d6608),this[_0x42c5a4(0x1f2)]();}[_0x3719d7(0x24a)](_0x2a294c,_0x4051c2){var _0xc81f04=_0x3719d7;const _0xcd73fe=[];let _0x1329d8=_0x4051c2,_0x18b475=_0x4051c2;for(let _0x34764e=_0x2a294c[_0xc81f04(0x463)]-0x1;_0x34764e>=0x0;_0x34764e--){const {unitID:_0x4d1873,undoMutations:_0x1c8bb4,redoMutations:_0x3fcab8}=_0x2a294c[_0x34764e],_0x395fbf=this[_0xc81f04(0x396)][_0xc81f04(0x1fe)](_0x1329d8,_0x1c8bb4),_0x4c7d33=this[_0xc81f04(0x396)][_0xc81f04(0x1fe)](_0x18b475,_0x3fcab8);if(_0x3e3cfd(_0x395fbf)||_0x3e3cfd(_0x4c7d33)){this[_0xc81f04(0x3c6)][_0xc81f04(0x19b)](_0xc81f04(0x462),'transformStack\x20failed!',_0x395fbf,_0x4c7d33);break;}_0x1329d8=_0x395fbf['c1Prime'],_0x18b475=_0x4c7d33[_0xc81f04(0x1e1)],_0xcd73fe[_0xc81f04(0x33e)]({'unitID':_0x4d1873,'undoMutations':_0x395fbf[_0xc81f04(0x278)],'redoMutations':_0x4c7d33[_0xc81f04(0x278)]});}return _0xcd73fe[_0xc81f04(0x3d0)]();}};yt=sr([Ae(0x0,_0x3b570d),Ae(0x1,_0x5491ec),Ae(0x2,_0x127030),Ae(0x3,_0x53796d),Ae(0x4,_0x116fbc)],yt);var nr=Object[_0x3719d7(0x323)],rr=Object['getOwnPropertyDescriptor'],ar=(_0x28b345,_0x3b7153,_0x3f1895)=>_0x3b7153 in _0x28b345?nr(_0x28b345,_0x3b7153,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f1895}):_0x28b345[_0x3b7153]=_0x3f1895,or=(_0x4c3150,_0x5e93e1,_0x2c46b8,_0xc50d24)=>{var _0x5d228b=_0x3719d7;for(var _0x1c8813=_0xc50d24>0x1?void 0x0:_0xc50d24?rr(_0x5e93e1,_0x2c46b8):_0x5e93e1,_0x3c5f73=_0x4c3150[_0x5d228b(0x463)]-0x1,_0x586887;_0x3c5f73>=0x0;_0x3c5f73--)(_0x586887=_0x4c3150[_0x3c5f73])&&(_0x1c8813=_0x586887(_0x1c8813)||_0x1c8813);return _0x1c8813;},mt=(_0x988dd8,_0x3fc01b)=>(_0x37e44b,_0x414375)=>_0x3fc01b(_0x37e44b,_0x414375,_0x988dd8),cr=(_0x373498,_0x53c97a,_0x1183ff)=>ar(_0x373498,_0x53c97a+'',_0x1183ff);const hr=_0x3719d7(0x3ab);let Nt=class extends _0xe33549{constructor(_0x48f7e4,_0x266088,_0x289d82,_0x1dac9e){var _0x422d25=_0x3719d7;super(),N(this,_0x422d25(0x333)),(this[_0x422d25(0x3c6)]=_0x266088,this['_injector']=_0x289d82,this[_0x422d25(0x2b3)]=_0x1dac9e);const {..._0x58e384}=_0x3ff756({},Ls,_0x48f7e4);if(!_0x58e384[_0x422d25(0x1a5)])throw new Error(_0x422d25(0x2bb));this[_0x422d25(0x333)]=_0x58e384,this[_0x422d25(0x2b3)]['setConfig'](K,_0x58e384);}[_0x3719d7(0x1ef)](){var _0x26b426=_0x3719d7;this[_0x26b426(0x24d)](),this[_0x26b426(0x31b)]();}[_0x3719d7(0x24d)](){var _0x2886f5=_0x3719d7,_0x4e7f2,_0x3c9a98;this[_0x2886f5(0x1f0)][_0x2886f5(0x3f0)](_0x36e271)&&this['_logService'][_0x2886f5(0x19b)](_0x2886f5(0x28c),_0x2886f5(0x1f3));const _0x539cfb=_0x5e76f3([[_0x36e271,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this[_0x2886f5(0x333)][_0x2886f5(0x1a5)]}],[_0x364d64,{'useClass':bt}],[_0x3f2941,{'useClass':Tt}],[_0x377a8c,{'useClass':Rt}],[_0x2fa4d8,{'useClass':Ot}],[nt],[It]],(_0x4e7f2=this['_config'])==null?void 0x0:_0x4e7f2[_0x2886f5(0x3a5)]);if(!((_0x3c9a98=this[_0x2886f5(0x333)])!=null&&_0x3c9a98['enableSingleActiveInstanceLock'])){const _0x1c9103=_0x539cfb['findIndex'](([_0x466988])=>_0x466988===ht);_0x1c9103!==-0x1&&_0x539cfb[_0x2886f5(0x415)](_0x1c9103,0x1);}_0x3bb1d1(this[_0x2886f5(0x1f0)],_0x539cfb);}[_0x3719d7(0x31b)](){var _0x170f9c=_0x3719d7,_0x13b3e3,_0x2e501e,_0x254141;this[_0x170f9c(0x1f0)]['get'](_0x4ae839)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x3fddbe({'maxParallel':0x6})}),(_0x13b3e3=this[_0x170f9c(0x333)])!=null&&_0x13b3e3['enableOfflineEditing']||(_0x2e501e=this['_injector'][_0x170f9c(0x3b3)](J,_0x4a4281['OPTIONAL']))==null||_0x2e501e[_0x170f9c(0x43c)](),(_0x254141=this[_0x170f9c(0x333)])!=null&&_0x254141[_0x170f9c(0x26c)]&&_0x82f3a3(this[_0x170f9c(0x1f0)],[[rt]]),_0x82f3a3(this[_0x170f9c(0x1f0)],[[at],[nt],[ot]]);}};cr(Nt,_0x3719d7(0x32b),hr),Nt=or([_0x388995(_0x20245b,_0xe72fc3),mt(0x1,_0x116fbc),mt(0x2,_0x9a05e2(_0x220a42)),mt(0x3,_0x3f20e3)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Gt as CollaborationSocketService,Ei as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,mi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,js as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,gi as UnitStatus,Nt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,br as getLocalCacheKey,Vs as serializeCombRequest};
1
+ var _0x3cf5cf=_0x15c9;(function(_0x391e66,_0x17891d){var _0x3d4241=_0x15c9,_0x1fb235=_0x391e66();while(!![]){try{var _0x3a93a3=-parseInt(_0x3d4241(0x309))/0x1+-parseInt(_0x3d4241(0x42b))/0x2+parseInt(_0x3d4241(0x330))/0x3*(parseInt(_0x3d4241(0x2f0))/0x4)+-parseInt(_0x3d4241(0x219))/0x5+-parseInt(_0x3d4241(0x2cf))/0x6+-parseInt(_0x3d4241(0x3ae))/0x7+parseInt(_0x3d4241(0x3d1))/0x8;if(_0x3a93a3===_0x17891d)break;else _0x1fb235['push'](_0x1fb235['shift']());}catch(_0x174e4e){_0x1fb235['push'](_0x1fb235['shift']());}}}(_0x25e3,0x2f22e));var yi=Object[_0x3cf5cf(0x319)],Ni=(_0x5b5aa8,_0xf982f1,_0x5bac96)=>_0xf982f1 in _0x5b5aa8?yi(_0x5b5aa8,_0xf982f1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5bac96}):_0x5b5aa8[_0xf982f1]=_0x5bac96,N=(_0x2ebb03,_0xe6d816,_0x5e1b25)=>Ni(_0x2ebb03,typeof _0xe6d816!='symbol'?_0xe6d816+'':_0xe6d816,_0x5e1b25);import{CollaborationEvent as _0x500e4e,ITransformService as _0x2388e2,isTransformMutationsWithChangesetSuccess as _0x598cb7,mapDocumentTypeToUniverType as _0x260560,RevisionService as _0x3816e9,isTransformChangesetsSuccess as _0x160105,CompressMutationService as _0x2580cb,parseProtocolChangeset as _0x3dcdd2,uuidv4 as _0xd0f467,ISnapshotServerService as _0x39a9e8,parseChangesetToProtocol as _0xdb7472,SnapshotService as _0x3b0404,textEncoder as _0x529280,b64DecodeUnicode as _0xa68969,isTransformMutationsWithChangesetFailure as _0x769296,UniverCollaborationPlugin as _0x170b91}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x1ddf79,Inject as _0x12820d,UserManagerService as _0x11fb85,Disposable as _0x3b1b66,UniverInstanceType as _0x16ae93,ILogService as _0x25fad5,IConfigService as _0x288419,Optional as _0x3d8a9a,RxDisposable as _0x193882,createIdentifier as _0x5d02c6,Injector as _0x29ebe1,Tools as _0x195b3b,Rectangle as _0xb3f1f4,ICommandService as _0x35e576,JSONX as _0x3caed4,CommandType as _0x263fb7,IUndoRedoService as _0x209b3,IPermissionService as _0x2842df,LocaleService as _0x367971,sequenceExecute as _0x238702,toDisposable as _0x1f05c5,DisposableCollection as _0xcb61f3,Workbook as _0x43305b,generateRandomId as _0x1b7f89,MentionType as _0x2badaf,isInternalEditorID as _0x106050,LocalUndoRedoService as _0x5e26e8,IContextService as _0xa06ba3,DependentOn as _0x538d36,Plugin as _0x370560,merge as _0x2fea4c,mergeOverrideWithDependencies as _0x25ff61,IAuthzIoService as _0x3b045a,IMentionIOService as _0x4357e9,registerDependencies as _0x3757a2,Quantity as _0x54377c,touchDependencies as _0x446515}from'@univerjs/core';import{RichTextEditingMutation as _0x101834}from'@univerjs/docs';import{SheetsSelectionsService as _0x46882a,SetSelectionsOperation as _0x87a985,InsertSheetMutation as _0x28ae56,EmptyMutation as _0xc717c6,WorkbookEditablePermission as _0x51ffc0,SheetPermissionInitController as _0x170f3a}from'@univerjs/sheets';import{Subject as _0x87fa09,merge as _0x33440c,of as _0x261eb4,BehaviorSubject as _0x542843,takeUntil as _0x423904,ReplaySubject as _0x2058c9,take as _0x28f507,map as _0x3af1a1,shareReplay as _0x3d249c,firstValueFrom as _0x2c843e,concatMap as _0x206488}from'rxjs';import{ITelemetryService as _0x20c0d1}from'@univerjs/telemetry';import{map as _0x57a7d9,take as _0x3e31ca,filter as _0x56c61e,delay as _0x18224c,takeUntil as _0x29897e}from'rxjs/operators';import{HTTPService as _0x5aa5ca,ISocketService as _0x28a538,MergeInterceptorFactory as _0x2203ec,HTTPRequest as _0x5e59d8,UniverNetworkPlugin as _0x4fc6e0,ThresholdInterceptorFactory as _0x1107a3}from'@univerjs/network';import{ImageSourceType as _0x17c898,ImageUploadStatusType as _0x403ccd,IImageIoService as _0x3ce4f9}from'@univerjs/drawing';import{getGlobalObject as _0x13c42f}from'@univerjs-pro/license';const fs=_0x3cf5cf(0x27c),vs=_0x3cf5cf(0x259),ps=0x7d0,ms=_0x3cf5cf(0x320),Ir='/universer-api/user/session-ticket',gs=_0x3cf5cf(0x191),Ss=0x7530,di='HEARTBEAT_TIMEOUT',fi=0x4e20,Es=0x4e20,Is=_0x3cf5cf(0x218),Ts=0x3,Tr=_0x3cf5cf(0x352),Cr=0x3e8,Cs=_0x3cf5cf(0x41a),Rs=_0x3cf5cf(0x1ab),Rr='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Or=_0x3cf5cf(0x235);var vi=(_0x469027=>(_0x469027[_0x469027[_0x3cf5cf(0x280)]=0x0]=_0x3cf5cf(0x280),_0x469027[_0x469027['OK']=0x1]='OK',_0x469027[_0x469027[_0x3cf5cf(0x25c)]=0x2]=_0x3cf5cf(0x25c),_0x469027[_0x469027['PERMISSION_DENIED']=0x3]=_0x3cf5cf(0x30e),_0x469027[_0x469027[_0x3cf5cf(0x1ee)]=0x4]=_0x3cf5cf(0x1ee),_0x469027[_0x469027[_0x3cf5cf(0x1bf)]=0x5]=_0x3cf5cf(0x1bf),_0x469027[_0x469027[_0x3cf5cf(0x19c)]=0x6]=_0x3cf5cf(0x19c),_0x469027[_0x469027[_0x3cf5cf(0x3cb)]=0x7]=_0x3cf5cf(0x3cb),_0x469027[_0x469027[_0x3cf5cf(0x3ac)]=0x8]='TOO_MANY_REQUESTS',_0x469027[_0x469027[_0x3cf5cf(0x207)]=0x9]='COMPLETION_FINISHED',_0x469027[_0x469027[_0x3cf5cf(0x194)]=0xa]=_0x3cf5cf(0x194),_0x469027[_0x469027[_0x3cf5cf(0x21f)]=0xb]=_0x3cf5cf(0x21f),_0x469027[_0x469027[_0x3cf5cf(0x389)]=0xc]=_0x3cf5cf(0x389),_0x469027[_0x469027['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x469027[_0x469027[_0x3cf5cf(0x26a)]=0xe]=_0x3cf5cf(0x26a),_0x469027[_0x469027[_0x3cf5cf(0x24f)]=0x1389]=_0x3cf5cf(0x24f),_0x469027[_0x469027[_0x3cf5cf(0x34b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x469027[_0x469027[_0x3cf5cf(0x148)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x469027[_0x469027[_0x3cf5cf(0x2cc)]=0x1773]=_0x3cf5cf(0x2cc),_0x469027[_0x469027[_0x3cf5cf(0x1af)]=0x1b59]='APPLY_REJECT',_0x469027[_0x469027[_0x3cf5cf(0x270)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x469027[_0x469027[_0x3cf5cf(0x365)]=0x1b5b]=_0x3cf5cf(0x365),_0x469027[_0x469027[_0x3cf5cf(0x15d)]=0x1b5c]=_0x3cf5cf(0x15d),_0x469027[_0x469027[_0x3cf5cf(0x17c)]=0x1b5d]=_0x3cf5cf(0x17c),_0x469027[_0x469027['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x469027[_0x469027[_0x3cf5cf(0x30d)]=0x2329]=_0x3cf5cf(0x30d),_0x469027[_0x469027[_0x3cf5cf(0x1a0)]=0x232a]=_0x3cf5cf(0x1a0),_0x469027[_0x469027['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x469027[_0x469027['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3cf5cf(0x1d1),_0x469027[_0x469027[_0x3cf5cf(0x3e1)]=0x232d]=_0x3cf5cf(0x3e1),_0x469027[_0x469027['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x3cf5cf(0x337),_0x469027[_0x469027['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x469027[_0x469027['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3cf5cf(0x2c2),_0x469027[_0x469027['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3cf5cf(0x3dd),_0x469027[_0x469027[_0x3cf5cf(0x2f4)]=0x271a]=_0x3cf5cf(0x2f4),_0x469027[_0x469027[_0x3cf5cf(0x2b1)]=0x271b]=_0x3cf5cf(0x2b1),_0x469027[_0x469027['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x469027[_0x469027[_0x3cf5cf(0x28f)]=0x271d]=_0x3cf5cf(0x28f),_0x469027[_0x469027[_0x3cf5cf(0x356)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x469027[_0x469027[_0x3cf5cf(0x1c9)]=0x271f]=_0x3cf5cf(0x1c9),_0x469027[_0x469027[_0x3cf5cf(0x30f)]=0x2720]=_0x3cf5cf(0x30f),_0x469027[_0x469027[_0x3cf5cf(0x268)]=0x2af9]=_0x3cf5cf(0x268),_0x469027[_0x469027['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3cf5cf(0x288),_0x469027[_0x469027[_0x3cf5cf(0x1f7)]=0x2ee2]=_0x3cf5cf(0x1f7),_0x469027[_0x469027[_0x3cf5cf(0x1e0)]=0x2ee3]=_0x3cf5cf(0x1e0),_0x469027[_0x469027[_0x3cf5cf(0x31d)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x469027[_0x469027[_0x3cf5cf(0x2d2)]=0x2ee5]=_0x3cf5cf(0x2d2),_0x469027[_0x469027[_0x3cf5cf(0x424)]=0x32c9]=_0x3cf5cf(0x424),_0x469027[_0x469027[_0x3cf5cf(0x303)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x469027[_0x469027[_0x3cf5cf(0x438)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x469027[_0x469027[_0x3cf5cf(0x308)]=-0x1]='UNRECOGNIZED',_0x469027))(vi||{}),Z=(_0x3b4e4b=>(_0x3b4e4b[_0x3b4e4b[_0x3cf5cf(0x2f8)]=0x0]=_0x3cf5cf(0x2f8),_0x3b4e4b[_0x3b4e4b[_0x3cf5cf(0x3f5)]=0x1]=_0x3cf5cf(0x3f5),_0x3b4e4b[_0x3b4e4b[_0x3cf5cf(0x202)]=0x2]=_0x3cf5cf(0x202),_0x3b4e4b[_0x3b4e4b[_0x3cf5cf(0x1e5)]=0x3]=_0x3cf5cf(0x1e5),_0x3b4e4b[_0x3b4e4b[_0x3cf5cf(0x1fd)]=0x4]=_0x3cf5cf(0x1fd),_0x3b4e4b[_0x3b4e4b[_0x3cf5cf(0x308)]=-0x1]=_0x3cf5cf(0x308),_0x3b4e4b))(Z||{}),F=(_0x17586f=>(_0x17586f[_0x17586f[_0x3cf5cf(0x32e)]=0x0]=_0x3cf5cf(0x32e),_0x17586f[_0x17586f[_0x3cf5cf(0x156)]=0x1]=_0x3cf5cf(0x156),_0x17586f[_0x17586f[_0x3cf5cf(0x19a)]=0x2]=_0x3cf5cf(0x19a),_0x17586f[_0x17586f[_0x3cf5cf(0x3ed)]=0x3]=_0x3cf5cf(0x3ed),_0x17586f[_0x17586f['INGEST']=0x4]=_0x3cf5cf(0x2dc),_0x17586f[_0x17586f[_0x3cf5cf(0x21d)]=0x5]=_0x3cf5cf(0x21d),_0x17586f[_0x17586f['RECV']=0x6]=_0x3cf5cf(0x190),_0x17586f[_0x17586f[_0x3cf5cf(0x308)]=-0x1]=_0x3cf5cf(0x308),_0x17586f))(F||{}),pe=(_0x2c6d6b=>(_0x2c6d6b[_0x2c6d6b[_0x3cf5cf(0x28b)]=0x0]=_0x3cf5cf(0x28b),_0x2c6d6b[_0x2c6d6b['OK']=0x1]='OK',_0x2c6d6b[_0x2c6d6b[_0x3cf5cf(0x387)]=0x2]='FAIL',_0x2c6d6b[_0x2c6d6b[_0x3cf5cf(0x3cd)]=0x3e9]=_0x3cf5cf(0x3cd),_0x2c6d6b[_0x2c6d6b[_0x3cf5cf(0x374)]=0x3ea]=_0x3cf5cf(0x374),_0x2c6d6b[_0x2c6d6b['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x3cf5cf(0x1bd),_0x2c6d6b[_0x2c6d6b['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x3cf5cf(0x3e4),_0x2c6d6b[_0x2c6d6b['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2c6d6b))(pe||{}),pi=(_0x3110d2=>(_0x3110d2[_0x3110d2['Undefined']=0x0]='Undefined',_0x3110d2[_0x3110d2['HttpImport']=0x1]='HttpImport',_0x3110d2[_0x3110d2[_0x3cf5cf(0x244)]=0x2]=_0x3cf5cf(0x244),_0x3110d2[_0x3110d2[_0x3cf5cf(0x348)]=0x3]=_0x3cf5cf(0x348),_0x3110d2[_0x3110d2[_0x3cf5cf(0x1fe)]=0x4]=_0x3cf5cf(0x1fe),_0x3110d2[_0x3110d2[_0x3cf5cf(0x347)]=0x5]='UserProfileImg',_0x3110d2[_0x3110d2[_0x3cf5cf(0x308)]=-0x1]=_0x3cf5cf(0x308),_0x3110d2))(pi||{});const Os=_0x3cf5cf(0x274);function bs(_0x13ec4c){var _0xba2353=_0x3cf5cf;return JSON[_0xba2353(0x378)](_0x13ec4c)[_0xba2353(0x146)];}var ne=(_0x39d4e=>(_0x39d4e[_0x3cf5cf(0x350)]=_0x3cf5cf(0x350),_0x39d4e['PERMISSION_DENIED']=_0x3cf5cf(0x30e),_0x39d4e[_0x3cf5cf(0x1e3)]=_0x3cf5cf(0x1e3),_0x39d4e['CLOSE_ROOM']=_0x3cf5cf(0x1a6),_0x39d4e['JOIN_ROOM_FAILED']=_0x3cf5cf(0x22e),_0x39d4e[_0x3cf5cf(0x2bf)]=_0x3cf5cf(0x2bf),_0x39d4e[_0x3cf5cf(0x2b3)]='SOCKET_FAILED',_0x39d4e[_0x3cf5cf(0x388)]=_0x3cf5cf(0x388),_0x39d4e))(ne||{});class ve{constructor(){var _0x365607=_0x3cf5cf;N(this,_0x365607(0x29e),new _0x87fa09()),N(this,'event$',this['_event$'][_0x365607(0x2a1)]());}[_0x3cf5cf(0x2e5)](_0x120bfb){var _0x258be1=_0x3cf5cf;this[_0x258be1(0x29e)][_0x258be1(0x33b)](_0x120bfb);}}class mi{constructor(){var _0x4ceab5=_0x3cf5cf;N(this,_0x4ceab5(0x410),new _0x87fa09()),N(this,_0x4ceab5(0x432),this[_0x4ceab5(0x410)][_0x4ceab5(0x2a1)]());}[_0x3cf5cf(0x36e)](_0x572386){this['_commentUpdate$']['next'](_0x572386);}}var ys=Object['getOwnPropertyDescriptor'],Ns=(_0x1b7502,_0x4abddb,_0x1f4fa5,_0x2bc080)=>{var _0x2186a7=_0x3cf5cf;for(var _0x54f68a=_0x2bc080>0x1?void 0x0:_0x2bc080?ys(_0x4abddb,_0x1f4fa5):_0x4abddb,_0x25814d=_0x1b7502[_0x2186a7(0x146)]-0x1,_0x57a376;_0x25814d>=0x0;_0x25814d--)(_0x57a376=_0x1b7502[_0x25814d])&&(_0x54f68a=_0x57a376(_0x54f68a)||_0x54f68a);return _0x54f68a;},Ft=(_0x2b12a4,_0x220f26)=>(_0x4c617f,_0x51f1e8)=>_0x220f26(_0x4c617f,_0x51f1e8,_0x2b12a4);let we=class extends _0x3b1b66{constructor(_0x23d4f2,_0x9c0330){var _0x5cb4bf=_0x3cf5cf;super(),N(this,_0x5cb4bf(0x37f),new Map()),N(this,_0x5cb4bf(0x201),new _0x87fa09()),(this[_0x5cb4bf(0x257)]=_0x23d4f2,this['_userManagerService']=_0x9c0330,this[_0x5cb4bf(0x36a)](_0x33440c(this['_univerInstanceService'][_0x5cb4bf(0x315)](_0x16ae93[_0x5cb4bf(0x202)])[_0x5cb4bf(0x286)](_0x57a7d9(_0x2c57c1=>_0x2c57c1['getUnitId']())),this[_0x5cb4bf(0x257)][_0x5cb4bf(0x315)](_0x16ae93[_0x5cb4bf(0x3f5)])[_0x5cb4bf(0x286)](_0x57a7d9(_0x129045=>_0x129045[_0x5cb4bf(0x23b)]())),this[_0x5cb4bf(0x257)][_0x5cb4bf(0x315)](_0x16ae93['UNIVER_SLIDE'])[_0x5cb4bf(0x286)](_0x57a7d9(_0x42e922=>_0x42e922['getUnitId']())))['subscribe'](_0x4a5b91=>this[_0x5cb4bf(0x3be)](_0x4a5b91))));}[_0x3cf5cf(0x25a)](_0x1a94df){var _0x308b66=_0x3cf5cf;return this[_0x308b66(0x37f)][_0x308b66(0x2ae)](_0x1a94df)?_0x261eb4(this[_0x308b66(0x37f)][_0x308b66(0x24d)](_0x1a94df)):this[_0x308b66(0x201)]['pipe'](_0x57a7d9(_0x6196db=>{var _0xe0e586=_0x308b66;if(_0x6196db===_0x1a94df)return this[_0xe0e586(0x37f)][_0xe0e586(0x24d)](_0x6196db);}));}[_0x3cf5cf(0x141)](_0x1e1069){var _0x1b7bb3=_0x3cf5cf;this['_userManagerService'][_0x1b7bb3(0x141)](_0x1e1069);}['getCurrentUser'](){return this['_userManagerService']['getCurrentUser']();}['updateMember'](_0x5c3b36,_0x2b3bd6){var _0x322515=_0x3cf5cf;let _0xd05bf0=this[_0x322515(0x37f)][_0x322515(0x24d)](_0x5c3b36);_0xd05bf0||(_0xd05bf0=new Ds(),this[_0x322515(0x37f)][_0x322515(0x195)](_0x5c3b36,_0xd05bf0),this[_0x322515(0x201)][_0x322515(0x33b)](_0x5c3b36)),_0xd05bf0[_0x322515(0x269)](_0x2b3bd6);}[_0x3cf5cf(0x3f6)](_0x314042,_0x2eb54e){var _0x2c854b=_0x3cf5cf;const _0x27a3b4=this[_0x2c854b(0x37f)][_0x2c854b(0x24d)](_0x314042);_0x27a3b4&&_0x27a3b4[_0x2c854b(0x3f6)](_0x2eb54e);}['getRoom'](_0x1b7e21){var _0x4c6423=_0x3cf5cf;return this[_0x4c6423(0x37f)][_0x4c6423(0x24d)](_0x1b7e21);}[_0x3cf5cf(0x3da)](_0x105b33,_0x12ef63){var _0x5775f9=_0x3cf5cf;const _0x5bf365=this['_roomMembers'][_0x5775f9(0x24d)](_0x105b33);if(_0x5bf365)return _0x5bf365[_0x5775f9(0x3da)](_0x12ef63);}[_0x3cf5cf(0x3be)](_0x1e7a37){var _0x56c40d=_0x3cf5cf;const _0x192494=this[_0x56c40d(0x37f)][_0x56c40d(0x24d)](_0x1e7a37);_0x192494&&(_0x192494[_0x56c40d(0x255)](),this[_0x56c40d(0x37f)]['delete'](_0x1e7a37));}['dispose'](){var _0x4f53ba=_0x3cf5cf;this[_0x4f53ba(0x37f)]['forEach'](_0x4c0259=>_0x4c0259['dispose']()),this[_0x4f53ba(0x37f)][_0x4f53ba(0x336)](),this[_0x4f53ba(0x201)]['complete']();}};we=Ns([Ft(0x0,_0x1ddf79),Ft(0x1,_0x12820d(_0x11fb85))],we);class Ds extends _0x3b1b66{constructor(){var _0x2c8c6f=_0x3cf5cf;super(...arguments),N(this,_0x2c8c6f(0x3b7),new Map()),N(this,'_members$',new _0x542843(this[_0x2c8c6f(0x3b7)])),N(this,_0x2c8c6f(0x2af),this[_0x2c8c6f(0x43f)][_0x2c8c6f(0x2a1)]());}[_0x3cf5cf(0x255)](){var _0x30f548=_0x3cf5cf;this[_0x30f548(0x3b7)]['clear']();}['updateMember'](_0x4db1d6){var _0x1a194a=_0x3cf5cf;this[_0x1a194a(0x3b7)][_0x1a194a(0x195)](_0x4db1d6['memberID'],_0x4db1d6),this['_emitMembers']();}['removeMember'](_0x2e9c23){var _0x5998ba=_0x3cf5cf;this['_members'][_0x5998ba(0x434)](_0x2e9c23);}['getMember'](_0x1a7373){var _0x153f9b=_0x3cf5cf;return this[_0x153f9b(0x3b7)][_0x153f9b(0x24d)](_0x1a7373);}[_0x3cf5cf(0x33a)](){var _0x250186=_0x3cf5cf;return Array[_0x250186(0x41f)](this['_members'][_0x250186(0x14f)]());}['_emitMembers'](){var _0x1c9e24=_0x3cf5cf;this[_0x1c9e24(0x43f)][_0x1c9e24(0x33b)](this['_members']);}}var Us=Object[_0x3cf5cf(0x1dc)],As=(_0x35a444,_0x4bfba1,_0x4eff9a,_0x585dc2)=>{for(var _0x16b386=_0x585dc2>0x1?void 0x0:_0x585dc2?Us(_0x4bfba1,_0x4eff9a):_0x4bfba1,_0x3551cb=_0x35a444['length']-0x1,_0x1719b2;_0x3551cb>=0x0;_0x3551cb--)(_0x1719b2=_0x35a444[_0x3551cb])&&(_0x16b386=_0x1719b2(_0x16b386)||_0x16b386);return _0x16b386;},Ce=(_0xc906fa,_0x4ccc58)=>(_0x122cc8,_0x3ce81f)=>_0x4ccc58(_0x122cc8,_0x3ce81f,_0xc906fa),ge=(_0x4c92f0=>(_0x4c92f0[_0x4c92f0['IDLE']=0x0]='IDLE',_0x4c92f0[_0x4c92f0[_0x3cf5cf(0x2d1)]=0x1]=_0x3cf5cf(0x2d1),_0x4c92f0[_0x4c92f0['OFFLINE']=0x2]=_0x3cf5cf(0x394),_0x4c92f0[_0x4c92f0[_0x3cf5cf(0x19e)]=0x3]=_0x3cf5cf(0x19e),_0x4c92f0))(ge||{});const Vt={[pe[_0x3cf5cf(0x387)]]:_0x3cf5cf(0x231),[pe['JOIN_ROOM_FULL']]:'session.room-full',[pe[_0x3cf5cf(0x374)]]:'session.room-not-exists',[pe[_0x3cf5cf(0x1bd)]]:_0x3cf5cf(0x29d),[pe['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x3cf5cf(0x200)};let gt=class extends _0x193882{constructor(_0x3e40e7,_0x4bda85,_0x125a8f,_0x25423e,_0x11a2a2,_0x5cd655,_0x5d0538,_0x2f64cd){var _0x3d00c0=_0x3cf5cf;super(),N(this,'_sessionStatus$',new _0x542843(0x0)),N(this,_0x3d00c0(0x38d),this[_0x3d00c0(0x431)][_0x3d00c0(0x2a1)]()),N(this,'_event$',new _0x87fa09()),N(this,_0x3d00c0(0x3db),this[_0x3d00c0(0x29e)][_0x3d00c0(0x2a1)]()),N(this,_0x3d00c0(0x2ff)),N(this,'_socketMessageSubscription'),N(this,'_collaborationTimeoutTimer'),N(this,'_shouldReportTelemetry',!0x1),N(this,'_telemetryInfo',null),(this[_0x3d00c0(0x29c)]=_0x3e40e7,this[_0x3d00c0(0x35e)]=_0x125a8f,this[_0x3d00c0(0x2a6)]=_0x25423e,this['_memberService']=_0x11a2a2,this[_0x3d00c0(0x21c)]=_0x5cd655,this[_0x3d00c0(0x331)]=_0x5d0538,this[_0x3d00c0(0x439)]=_0x2f64cd,this['_shouldReportTelemetry']=!!this[_0x3d00c0(0x439)],_0x4bda85[_0x3d00c0(0x286)](_0x423904(this[_0x3d00c0(0x302)]))[_0x3d00c0(0x1d4)](_0x38524f=>{var _0x1567c=_0x3d00c0,_0x3c72ae;typeof _0x38524f>'u'||(this[_0x1567c(0x2ff)]=_0x38524f,_0x38524f?(this[_0x1567c(0x2eb)](_0x38524f),this['_socketMessageSubscription']=_0x38524f['message$'][_0x1567c(0x1d4)](_0x14358e=>{var _0x538885=_0x1567c;_0x14358e[_0x538885(0x3fd)]===this[_0x538885(0x29c)]&&this['_onCombEvent'](_0x14358e);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x1567c(0x431)][_0x1567c(0x33b)](0x2),(_0x3c72ae=this[_0x1567c(0x2e8)])==null||_0x3c72ae[_0x1567c(0x28c)](),this[_0x1567c(0x2e8)]=null));}));}get[_0x3cf5cf(0x417)](){var _0x42c6ce=_0x3cf5cf;return this[_0x42c6ce(0x431)][_0x42c6ce(0x237)]();}[_0x3cf5cf(0x343)](){var _0x5a48fe=_0x3cf5cf,_0x167251,_0x5a9c5f;return(_0x5a9c5f=(_0x167251=this[_0x5a48fe(0x2ff)])==null?void 0x0:_0x167251[_0x5a48fe(0x3bb)])!=null?_0x5a9c5f:null;}[_0x3cf5cf(0x255)](){var _0x43d0b0=_0x3cf5cf;super[_0x43d0b0(0x255)](),this[_0x43d0b0(0x302)][_0x43d0b0(0x33b)](),this[_0x43d0b0(0x302)]['complete']();}['close'](){var _0x362d09=_0x3cf5cf,_0x3498cb,_0x48b13c;this[_0x362d09(0x400)](),(_0x3498cb=this[_0x362d09(0x2ff)])==null||_0x3498cb[_0x362d09(0x1e1)]({'cmd':F[_0x362d09(0x3ed)],'data':{'roomID':this[_0x362d09(0x29c)]}}),(_0x48b13c=this[_0x362d09(0x2ff)])==null||_0x48b13c['close'](),this[_0x362d09(0x29e)][_0x362d09(0x1d7)](),this[_0x362d09(0x431)][_0x362d09(0x1d7)](),this[_0x362d09(0x255)]();}['_onCombEvent'](_0x2fc2f7){var _0x4c418d=_0x3cf5cf;_0x2fc2f7[_0x4c418d(0x436)]===F[_0x4c418d(0x19a)]?this[_0x4c418d(0x2b7)](_0x2fc2f7):_0x2fc2f7['cmd']===F[_0x4c418d(0x190)]&&this[_0x4c418d(0x171)](_0x2fc2f7);}[_0x3cf5cf(0x2eb)](_0x3bf745){var _0x28847e=_0x3cf5cf;this[_0x28847e(0x431)][_0x28847e(0x33b)](0x1),_0x3bf745[_0x28847e(0x1e1)]({'cmd':F[_0x28847e(0x19a)],'routeKey':this[_0x28847e(0x29c)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x3cf5cf(0x2b7)](_0x4c4648){var _0x12d805=_0x3cf5cf,_0x2dbcda;if(_0x4c4648[_0x12d805(0x1e8)]in Vt){this[_0x12d805(0x331)]['emitEvent']({'id':ne[_0x12d805(0x22e)],'data':Vt[_0x4c4648[_0x12d805(0x1e8)]]}),this[_0x12d805(0x431)]['next'](0x2);return;}this[_0x12d805(0x431)][_0x12d805(0x33b)](0x3);const _0x8efbb1=(_0x2dbcda=_0x4c4648[_0x12d805(0x2f7)]['roomInfos'][this['_unitID']])==null?void 0x0:_0x2dbcda[_0x12d805(0x279)];_0x8efbb1&&_0x8efbb1['forEach'](_0x2c1c9e=>this[_0x12d805(0x3c4)]['updateMember'](this[_0x12d805(0x29c)],_0x2c1c9e));}[_0x3cf5cf(0x171)](_0x38bc2b){var _0x5676c7=_0x3cf5cf;try{const _0x210fde=_0x38bc2b[_0x5676c7(0x2f7)];switch(_0x210fde[_0x5676c7(0x2c8)]){case _0x500e4e[_0x5676c7(0x2ee)]:this[_0x5676c7(0x3b4)](_0x210fde),this['_event$'][_0x5676c7(0x33b)](_0x210fde);break;case _0x500e4e[_0x5676c7(0x2e4)]:this[_0x5676c7(0x264)](_0x210fde),this[_0x5676c7(0x29e)][_0x5676c7(0x33b)](_0x210fde);break;case _0x500e4e[_0x5676c7(0x38c)]:case _0x500e4e['CHANGESET_SHOULD_RETRY']:this[_0x5676c7(0x29a)](),this[_0x5676c7(0x1c0)](),this[_0x5676c7(0x29e)][_0x5676c7(0x33b)](_0x210fde);break;case _0x500e4e['MSG_FOR_ERROR']:this[_0x5676c7(0x35e)][_0x5676c7(0x3a6)](_0x5676c7(0x188)+JSON[_0x5676c7(0x378)](_0x210fde)),this[_0x5676c7(0x29e)]['next'](_0x210fde);break;case _0x500e4e[_0x5676c7(0x15f)]:this[_0x5676c7(0x21c)]['onCommentUpdate'](_0x210fde[_0x5676c7(0x2f7)]),this[_0x5676c7(0x29e)][_0x5676c7(0x33b)](_0x210fde);break;default:this['_event$']['next'](_0x210fde);}}catch(_0x345845){this['_logService'][_0x5676c7(0x3a6)](_0x345845,_0x38bc2b);}}['_onUserJoin'](_0x2c2197){var _0x1f5e18=_0x3cf5cf;this[_0x1f5e18(0x3c4)][_0x1f5e18(0x269)](this[_0x1f5e18(0x29c)],_0x2c2197['data']);}[_0x3cf5cf(0x264)](_0x90f1a7){var _0x152ab9=_0x3cf5cf;this[_0x152ab9(0x3c4)][_0x152ab9(0x3f6)](this[_0x152ab9(0x29c)],_0x90f1a7[_0x152ab9(0x2f7)][_0x152ab9(0x3bb)]);}async[_0x3cf5cf(0x1e1)](_0x5dcd51,_0x2bcb31){var _0x102a0e=_0x3cf5cf;if(this[_0x102a0e(0x417)]!==0x3||!this[_0x102a0e(0x2ff)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x5dcd51[_0x102a0e(0x2c8)]===_0x500e4e[_0x102a0e(0x322)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x102a0e(0x311)](_0x5dcd51)),this[_0x102a0e(0x2ff)]['send']({'cmd':F[_0x102a0e(0x2dc)],'routeKey':_0x2bcb31,'routeType':'','data':_0x5dcd51});}catch(_0xb28263){this[_0x102a0e(0x35e)]['error'](_0xb28263);}}[_0x3cf5cf(0x2c9)](){var _0x5d8d48=_0x3cf5cf,_0x54100b;this[_0x5d8d48(0x383)]=setTimeout(()=>{var _0x49af61=_0x5d8d48;this[_0x49af61(0x383)]=null,this[_0x49af61(0x331)][_0x49af61(0x2e5)]({'id':ne[_0x49af61(0x388)]});},(_0x54100b=this[_0x5d8d48(0x2a6)][_0x5d8d48(0x342)](di))!=null?_0x54100b:fi);}[_0x3cf5cf(0x1c0)](){var _0x1e671c=_0x3cf5cf;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x1e671c(0x383)]=null);}[_0x3cf5cf(0x311)](_0x54acfa){var _0x205c1f=_0x3cf5cf;if(!this[_0x205c1f(0x39d)])return;const {data:_0x4e3f3a}=_0x54acfa,{unitID:_0x2ed7f8,changeset:_0x5a208a}=_0x4e3f3a,{mutations:_0x3c233b,type:_0x238107}=_0x5a208a;this[_0x205c1f(0x2d7)]={'unitId':_0x2ed7f8,'type':_0x238107,'startTime':performance[_0x205c1f(0x166)](),'stopTime':0x0,'duration':0x0,'size':bs(_0x3c233b)};}[_0x3cf5cf(0x29a)](){var _0x8c4c7a=_0x3cf5cf;if(this[_0x8c4c7a(0x39d)]){if(!this[_0x8c4c7a(0x2d7)]){this[_0x8c4c7a(0x35e)][_0x8c4c7a(0x3a6)](_0x8c4c7a(0x3d2),_0x8c4c7a(0x35d));return;}this['_telemetryInfo'][_0x8c4c7a(0x2fe)]=performance['now'](),this[_0x8c4c7a(0x2d7)][_0x8c4c7a(0x37b)]=this[_0x8c4c7a(0x2d7)][_0x8c4c7a(0x2fe)]-this['_telemetryInfo']['startTime'],this[_0x8c4c7a(0x439)][_0x8c4c7a(0x2f9)](Os,this[_0x8c4c7a(0x2d7)]),this[_0x8c4c7a(0x2d7)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x2e7886=_0x3cf5cf;this[_0x2e7886(0x2d7)]=null;}};gt=As([Ce(0x2,_0x25fad5),Ce(0x3,_0x288419),Ce(0x4,_0x12820d(we)),Ce(0x5,_0x12820d(mi)),Ce(0x6,_0x12820d(ve)),Ce(0x7,_0x3d8a9a(_0x20c0d1))],gt);const J=_0x5d02c6(_0x3cf5cf(0x39b));function br(_0x1216e3){var _0x13b8f6=_0x3cf5cf;return _0x13b8f6(0x29b)+_0x1216e3;}var ws=Object[_0x3cf5cf(0x1dc)],Ps=(_0x2aa11b,_0x2c89b4,_0x516fea,_0x329ee5)=>{var _0x145249=_0x3cf5cf;for(var _0x405ee4=_0x329ee5>0x1?void 0x0:_0x329ee5?ws(_0x2c89b4,_0x516fea):_0x2c89b4,_0x2986f6=_0x2aa11b[_0x145249(0x146)]-0x1,_0x4bdce5;_0x2986f6>=0x0;_0x2986f6--)(_0x4bdce5=_0x2aa11b[_0x2986f6])&&(_0x405ee4=_0x4bdce5(_0x405ee4)||_0x405ee4);return _0x405ee4;},ut=(_0x877ab0,_0x8a3812)=>(_0x58a41e,_0xd4cdda)=>_0x8a3812(_0x58a41e,_0xd4cdda,_0x877ab0);function Ms(_0x170207){var _0x2b9a61=_0x3cf5cf;const {unitID:_0x58ea2e,mutations:_0x4b5a4d}=_0x170207;return{'unitId':_0x58ea2e,'subUnitId':_0x4b5a4d[0x0]['params'][_0x2b9a61(0x324)]};}let it=class{constructor(_0x47b76b,_0x386c30,_0x545469){var _0x3d068d=_0x3cf5cf;this['_injector']=_0x47b76b,this[_0x3d068d(0x2a3)]=_0x386c30,this[_0x3d068d(0x26f)]=_0x545469;}['transformSelections'](_0x342466){var _0x16fa04=_0x3cf5cf,_0x215ee1,_0x449840,_0xbd85a0,_0x31aebe;const _0x24adfb=this[_0x16fa04(0x204)][_0x16fa04(0x24d)](_0x46882a),{unitId:_0x11c3a6,subUnitId:_0x48e136}=Ms(_0x342466),_0x1d0619=_0x24adfb==null?void 0x0:_0x24adfb[_0x16fa04(0x3aa)](_0x11c3a6)['getCurrentSelections'](),_0x507438=(_0x449840=(_0x215ee1=this[_0x16fa04(0x26f)][_0x16fa04(0x40f)](_0x11c3a6))==null?void 0x0:_0x215ee1[_0x16fa04(0x2b5)]())==null?void 0x0:_0x449840[_0x16fa04(0x295)]();if(_0x1d0619['length']===0x0||!_0x11c3a6||!_0x48e136)return;const _0x2fd552=[{'id':_0x87a985['id'],'params':{'unitId':_0x11c3a6,'subUnitId':_0x507438,'selections':_0x195b3b['deepClone'](_0x1d0619)}}],_0x52f507=this[_0x16fa04(0x2a3)]['transformMutationsWithChangeset'](_0x342466,_0x2fd552);if(!_0x598cb7(_0x52f507))throw _0x52f507[_0x16fa04(0x3a6)];const _0x21f9a0=(_0x31aebe=(_0xbd85a0=_0x52f507[_0x16fa04(0x37e)][0x0])==null?void 0x0:_0xbd85a0['params'])==null?void 0x0:_0x31aebe[_0x16fa04(0x2fb)];if(Array[_0x16fa04(0x250)](_0x21f9a0)&&_0x21f9a0[_0x16fa04(0x146)]){if(_0x21f9a0['length']===_0x2fd552[0x0]['params']['selections']['length']&&_0x21f9a0[_0x16fa04(0x3a0)]((_0x2cb0ee,_0x446395)=>_0xb3f1f4[_0x16fa04(0x305)](_0x2cb0ee[_0x16fa04(0x3f4)],_0x2fd552[0x0][_0x16fa04(0x40a)][_0x16fa04(0x2fb)][_0x446395][_0x16fa04(0x3f4)])))return;this[_0x16fa04(0x204)][_0x16fa04(0x24d)](_0x35e576)[_0x16fa04(0x1d8)](_0x87a985['id'],{'unitId':_0x11c3a6,'subUnitId':_0x507438,'selections':_0x21f9a0});}}};it=Ps([ut(0x0,_0x12820d(_0x29ebe1)),ut(0x1,_0x2388e2),ut(0x2,_0x1ddf79)],it);const ht=_0x5d02c6('univer-pro.collaboration-client.single-active-unit-service');var gi=(_0x2b0037=>(_0x2b0037[_0x2b0037[_0x3cf5cf(0x323)]=0x0]=_0x3cf5cf(0x323),_0x2b0037[_0x2b0037['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x2b0037))(gi||{});const K=_0x3cf5cf(0x38e),Ls={},xs=new Set([_0x28ae56['id']]);function Wt(_0x489ebe,_0x165f22,_0x1ad617,_0x5d7e80,_0x4e9cbd){var _0x1a4cbb=_0x3cf5cf,_0x2102a7,_0x1a2c80,_0x3a1cbd,_0x52f6d6;const _0x3b7c3a=[];for(const _0x29feed of _0x489ebe)if(xs[_0x1a4cbb(0x2ae)](_0x29feed['id'])){if(_0x3b7c3a['length']>0x0)break;_0x3b7c3a[_0x1a4cbb(0x2c6)](_0x29feed);break;}else _0x3b7c3a['push'](_0x29feed);const _0x805b70=(_0x1a2c80=(_0x2102a7=_0x4e9cbd[_0x1a4cbb(0x3dc)]())==null?void 0x0:_0x2102a7['userID'])!=null?_0x1a2c80:_0x1a4cbb(0x3fa),_0x40c0ae=(_0x52f6d6=(_0x3a1cbd=_0x4e9cbd[_0x1a4cbb(0x3dc)]())==null?void 0x0:_0x3a1cbd[_0x1a4cbb(0x3bb)])!=null?_0x52f6d6:_0x1a4cbb(0x3fa);return{'changeset':{'unitID':_0x165f22,'type':_0x260560(_0x1ad617[_0x1a4cbb(0x21b)](_0x165f22)),'baseRev':_0x5d7e80[_0x1a4cbb(0x422)](_0x165f22),'revision':0x0,'userID':_0x805b70,'memberID':_0x40c0ae,'mutations':_0x3b7c3a},'pendingMutations':_0x489ebe[_0x1a4cbb(0x358)](_0x3b7c3a[_0x1a4cbb(0x146)])};}function ks(_0x327848,_0x54a776,_0x285595,_0x46067c,_0x3f944e){var _0x2cd9a7=_0x3cf5cf,_0x10e244,_0x3ddfba,_0x13f452,_0xe05e7c;const _0x7c1c0e=[_0x327848[_0x2cd9a7(0x3d8)]((_0x235ab2,_0x41d2c1)=>{var _0x545014=_0x2cd9a7,_0x1e99d0;const {id:_0x3d3703}=_0x235ab2,{id:_0x2eab38,type:_0x57d3ac}=_0x41d2c1,_0x342aa5=(_0x1e99d0=_0x235ab2[_0x545014(0x40a)])!=null?_0x1e99d0:{'actions':null},_0x3fb32e=_0x41d2c1[_0x545014(0x40a)];if(_0x3d3703&&_0x3d3703!==_0x2eab38)throw new Error(_0x545014(0x371)+_0x3d3703+'\x20-\x20'+_0x2eab38+'.');return{..._0x235ab2,'id':_0x2eab38,'type':_0x57d3ac,'params':{'unitId':_0x3fb32e[_0x545014(0x2c4)],'textRanges':_0x3fb32e[_0x545014(0x17d)],'actions':_0x3caed4[_0x545014(0x32a)](_0x342aa5[_0x545014(0x3b1)],_0x3fb32e[_0x545014(0x3b1)])}};},{})],_0x3b7127=(_0x3ddfba=(_0x10e244=_0x3f944e['getCurrentUser']())==null?void 0x0:_0x10e244['userID'])!=null?_0x3ddfba:_0x2cd9a7(0x3fa),_0x1b5e3d=(_0xe05e7c=(_0x13f452=_0x3f944e[_0x2cd9a7(0x3dc)]())==null?void 0x0:_0x13f452[_0x2cd9a7(0x3bb)])!=null?_0xe05e7c:_0x2cd9a7(0x3fa);return{'changeset':{'unitID':_0x54a776,'type':_0x260560(_0x285595['getUnitType'](_0x54a776)),'baseRev':_0x46067c[_0x2cd9a7(0x422)](_0x54a776),'revision':0x0,'userID':_0x3b7127,'memberID':_0x1b5e3d,'mutations':_0x7c1c0e},'pendingMutations':[]};}function Si(_0x4275be,_0x215c5f){var _0x3739f8=_0x3cf5cf;const _0x5758a5=new _0x2058c9(0x1);return setTimeout(()=>_0x5758a5[_0x3739f8(0x33b)](_0x215c5f),_0x4275be),_0x5758a5[_0x3739f8(0x2a1)]()['pipe'](_0x28f507(0x1));}const $s={'id':_0xc717c6['id'],'type':_0x263fb7[_0x3cf5cf(0x2fa)],'params':{}};var Hs=Object[_0x3cf5cf(0x1dc)],Ee=(_0x4c1866,_0x315eaa,_0x1d0d45,_0x19871a)=>{var _0x461f70=_0x3cf5cf;for(var _0x5992da=_0x19871a>0x1?void 0x0:_0x19871a?Hs(_0x315eaa,_0x1d0d45):_0x315eaa,_0x4bdf30=_0x4c1866[_0x461f70(0x146)]-0x1,_0x49048d;_0x4bdf30>=0x0;_0x4bdf30--)(_0x49048d=_0x4c1866[_0x4bdf30])&&(_0x5992da=_0x49048d(_0x5992da)||_0x5992da);return _0x5992da;},P=(_0x3419cf,_0x3bf874)=>(_0x32b314,_0x375ca0)=>_0x3bf874(_0x32b314,_0x375ca0,_0x3419cf),Ei=(_0x438b72=>(_0x438b72[_0x3cf5cf(0x22b)]=_0x3cf5cf(0x404),_0x438b72[_0x3cf5cf(0x1c2)]=_0x3cf5cf(0x2f3),_0x438b72['PENDING']=_0x3cf5cf(0x14a),_0x438b72['AWAITING']='awaiting',_0x438b72[_0x3cf5cf(0x227)]='awaiting_with_pending',_0x438b72[_0x3cf5cf(0x2c3)]='fetch_missing',_0x438b72[_0x3cf5cf(0x1e3)]=_0x3cf5cf(0x176),_0x438b72['OFFLINE']=_0x3cf5cf(0x3ec),_0x438b72))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x53a4f9,_0x3a70e7,_0x2fbb1a,_0x1c917c,_0x661f82,_0x51128f,_0x42d656,_0x565268,_0x9a9ac){var _0x3d9f44=_0x3cf5cf;N(this,_0x3d9f44(0x24c),null),N(this,_0x3d9f44(0x1b4),[]),(this['unitID']=_0x53a4f9,this[_0x3d9f44(0x412)]=_0x3a70e7,this[_0x3d9f44(0x1ad)]=_0x661f82,this[_0x3d9f44(0x314)]=_0x51128f,this[_0x3d9f44(0x1ed)]=_0x42d656,this[_0x3d9f44(0x1fb)]=_0x565268,this['_localCacheService']=_0x9a9ac,this[_0x3d9f44(0x24c)]=_0x2fbb1a,this[_0x3d9f44(0x1b4)]=_0x1c917c);}[_0x3cf5cf(0x384)](_0xfe5be4){var _0x1afd0e=_0x3cf5cf;const _0x21fd90=this[_0x1afd0e(0x1fb)][_0x1afd0e(0x422)](this[_0x1afd0e(0x223)]);return _0xfe5be4[_0x1afd0e(0x23c)]>_0x21fd90+0x1?(this[_0x1afd0e(0x1ad)][_0x1afd0e(0x36c)]({'from':_0x21fd90,'to':_0xfe5be4[_0x1afd0e(0x23c)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x4778a6){var _0x3ca058=_0x3cf5cf;this[_0x3ca058(0x1ed)][_0x3ca058(0x366)](this[_0x3ca058(0x223)],_0x4778a6);}[_0x3cf5cf(0x313)](_0x5aeca9){var _0x121646,_0x1f5647;(_0x1f5647=(_0x121646=this['_handler'])['onTransformSelections'])==null||_0x1f5647['call'](_0x121646,_0x5aeca9);}[_0x3cf5cf(0x355)](_0x44bef7){var _0x5c0aea=_0x3cf5cf,_0x2a516e,_0x55cd0b;return(_0x55cd0b=(_0x2a516e=this[_0x5c0aea(0x1ad)])[_0x5c0aea(0x184)])==null?void 0x0:_0x55cd0b[_0x5c0aea(0x22a)](_0x2a516e,_0x44bef7);}[_0x3cf5cf(0x3a3)](_0x162e37){var _0xc967b=_0x3cf5cf,_0x4031e6,_0x4ad9c7;return(_0x4ad9c7=(_0x4031e6=this[_0xc967b(0x1ad)])[_0xc967b(0x1b7)])==null?void 0x0:_0x4ad9c7[_0xc967b(0x22a)](_0x4031e6,_0x162e37);}[_0x3cf5cf(0x399)](_0x5da977){var _0x4fc297=_0x3cf5cf,_0x34c494,_0x1e0c45,_0x176b0c;return(_0x176b0c=(_0x1e0c45=(_0x34c494=this[_0x4fc297(0x1ad)])[_0x4fc297(0x2cb)])==null?void 0x0:_0x1e0c45[_0x4fc297(0x22a)](_0x34c494,_0x5da977))!=null?_0x176b0c:_0x5da977;}[_0x3cf5cf(0x215)](_0x4d3a8e){var _0x58d894=_0x3cf5cf,_0x58f037,_0x3681d5,_0x4a4239;return(_0x4a4239=(_0x3681d5=(_0x58f037=this['_handler'])[_0x58d894(0x301)])==null?void 0x0:_0x3681d5[_0x58d894(0x22a)](_0x58f037,_0x4d3a8e))!=null?_0x4a4239:_0x4d3a8e;}['_syncEditingCollabCursor'](_0x57ff38){var _0x3dd597=_0x3cf5cf,_0x220a52,_0x24eddf;if(this[_0x3dd597(0x412)]===Z[_0x3dd597(0x3f5)]){const {unitID:_0x3efee5,mutations:_0x89e06c,memberID:_0x471e4b}=_0x57ff38,_0x363080=_0x89e06c[0x0][_0x3dd597(0x40a)]['textRanges'];Array[_0x3dd597(0x250)](_0x363080)&&_0x363080[_0x3dd597(0x146)]>0x0&&((_0x24eddf=(_0x220a52=this[_0x3dd597(0x1ad)])[_0x3dd597(0x345)])==null||_0x24eddf[_0x3dd597(0x22a)](_0x220a52,{'unitID':_0x3efee5,'memberID':_0x471e4b,'textRanges':_0x363080}));}}[_0x3cf5cf(0x181)](){var _0x3f5bd9=_0x3cf5cf,_0x2c9756;(_0x2c9756=this[_0x3f5bd9(0x198)])==null||_0x2c9756[_0x3f5bd9(0x40e)](this[_0x3f5bd9(0x223)],this[_0x3f5bd9(0x412)],this[_0x3f5bd9(0x24c)],this[_0x3f5bd9(0x1b4)]);}[_0x3cf5cf(0x35a)](){var _0x343df2=_0x3cf5cf;return this[_0x343df2(0x1fb)][_0x343df2(0x422)](this['unitID']);}[_0x3cf5cf(0x168)](){var _0x36dfd7=_0x3cf5cf;this[_0x36dfd7(0x1fb)][_0x36dfd7(0x334)](this[_0x36dfd7(0x223)]);}[_0x3cf5cf(0x25e)](_0x33ab2f){var _0x1f88b3=_0x3cf5cf,_0x46fb4e;let _0x435de3=this['_transformRemoteChangesetByIMECache'](_0x33ab2f);_0x435de3=this[_0x1f88b3(0x215)](_0x435de3);const _0x5cdcfc=_0x238702(_0x435de3['mutations'],this[_0x1f88b3(0x314)],{'fromCollab':!0x0});if(!_0x5cdcfc['result'])throw _0x5cdcfc[_0x1f88b3(0x3a6)]instanceof Error?_0x5cdcfc[_0x1f88b3(0x3a6)]:new Error((_0x46fb4e=_0x5cdcfc[_0x1f88b3(0x3a6)])!=null?_0x46fb4e:_0x1f88b3(0x38f));this[_0x1f88b3(0x355)](_0x435de3),this[_0x1f88b3(0x3a3)](_0x435de3),this[_0x1f88b3(0x382)](_0x33ab2f),this[_0x1f88b3(0x313)](_0x435de3),this[_0x1f88b3(0x398)](_0x435de3),this[_0x1f88b3(0x168)]();}}let ye=class extends Ie{constructor(_0x12c4ee,_0x362a86,_0x127766,_0x9db367,_0x23a89c,_0x389f7c,_0x75093b,_0x47e0a8,_0x1d124e,_0x122e7b){var _0x1f014f=_0x3cf5cf;super(_0x12c4ee,_0x362a86,null,[],_0x127766,_0x75093b,_0x389f7c,_0x9db367,_0x122e7b),N(this,_0x1f014f(0x1ce),_0x1f014f(0x2f3)),(this[_0x1f014f(0x204)]=_0x23a89c,this['_logService']=_0x47e0a8,this[_0x1f014f(0x2a3)]=_0x1d124e,this[_0x1f014f(0x1a4)]=_0x122e7b);}[_0x3cf5cf(0x17a)](_0x1c797f){var _0x5a7df3=_0x3cf5cf;const _0x5b5ba2=this[_0x5a7df3(0x204)][_0x5a7df3(0x282)](re,this['unitID'],this['type'],[_0x1c797f],this[_0x5a7df3(0x1ad)]);return _0x5b5ba2[_0x5a7df3(0x2ed)](),_0x5b5ba2[_0x5a7df3(0x181)](),_0x5b5ba2;}[_0x3cf5cf(0x1b5)](_0x11935b){var _0x61398a=_0x3cf5cf;if(this['_checkMissing'](_0x11935b))return this['_injector'][_0x61398a(0x282)](Q,this[_0x61398a(0x223)],this['type'],null,[],null,[_0x11935b],this['_handler']);try{const _0x115fa2=this[_0x61398a(0x2a3)][_0x61398a(0x1f2)](_0x11935b,[$s]);if(_0x598cb7(_0x115fa2)){const {c1Prime:_0x56e78a}=_0x115fa2;return this[_0x61398a(0x25e)](_0x56e78a),this;}throw _0x115fa2[_0x61398a(0x3a6)];}catch(_0x2a9032){return this[_0x61398a(0x35e)]['error'](_0x2a9032),this[_0x61398a(0x2f6)](!0x1);}}[_0x3cf5cf(0x2f6)](_0x2556cf){var _0x272d1e=_0x3cf5cf;return this[_0x272d1e(0x204)]['createInstance'](le,this['unitID'],this['type'],null,[],this[_0x272d1e(0x1ad)],_0x2556cf);}[_0x3cf5cf(0x344)](){var _0x29bb37=_0x3cf5cf;throw new Error(_0x29bb37(0x405));}[_0x3cf5cf(0x30b)](){var _0x509302=_0x3cf5cf;throw new Error(_0x509302(0x335));}['onRemoteRetry'](){return this;}[_0x3cf5cf(0x2a2)](){var _0x924f9d=_0x3cf5cf;return this[_0x924f9d(0x204)][_0x924f9d(0x282)](ue,this[_0x924f9d(0x223)],this[_0x924f9d(0x412)],null,[],this[_0x924f9d(0x1ad)]);}['toggleOnline'](){return this;}[_0x3cf5cf(0x251)](){var _0x2f81ff=_0x3cf5cf;throw new Error(_0x2f81ff(0x329));}[_0x3cf5cf(0x240)](){var _0x7c41bb=_0x3cf5cf;const _0x3cf1e5=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return this[_0x7c41bb(0x1ad)][_0x7c41bb(0x36c)]({'from':_0x3cf1e5,'to':0x0}),this[_0x7c41bb(0x204)][_0x7c41bb(0x282)](Q,this[_0x7c41bb(0x223)],this[_0x7c41bb(0x412)],null,[],null,[],this[_0x7c41bb(0x1ad)]);}};ye=Ee([P(0x3,_0x12820d(_0x3816e9)),P(0x4,_0x12820d(_0x29ebe1)),P(0x5,_0x209b3),P(0x6,_0x35e576),P(0x7,_0x25fad5),P(0x8,_0x2388e2),P(0x9,_0x3d8a9a(J))],ye);let re=class extends Ie{constructor(_0x5f15b8,_0x469c0b,_0x1bd2ce,_0x509e7f,_0x2a2825,_0x28a8ea,_0x5b7134,_0x33f7d6,_0x17e820,_0x62d39,_0x2dbbbb,_0x53751f,_0x3d244c,_0x7e50a9){var _0x29893a=_0x3cf5cf;super(_0x5f15b8,_0x469c0b,null,_0x1bd2ce,_0x509e7f,_0x17e820,_0x3d244c,_0x28a8ea,_0x7e50a9),N(this,'status',_0x29893a(0x14a)),N(this,_0x29893a(0x233),null),N(this,_0x29893a(0x32f),null),(this['_injector']=_0x2a2825,this[_0x29893a(0x3c4)]=_0x5b7134,this[_0x29893a(0x35e)]=_0x33f7d6,this[_0x29893a(0x2a6)]=_0x62d39,this['_transformService']=_0x2dbbbb,this[_0x29893a(0x257)]=_0x53751f);}[_0x3cf5cf(0x17a)](_0x9949aa){var _0x29f96e=_0x3cf5cf;return this['_pendingMutations'][_0x29f96e(0x2c6)](_0x9949aa),this[_0x29f96e(0x181)](),this;}[_0x3cf5cf(0x1b5)](_0x427c64){var _0x4c43b4=_0x3cf5cf;if(this[_0x4c43b4(0x384)](_0x427c64))return this[_0x4c43b4(0x23f)](),this['_injector'][_0x4c43b4(0x282)](Q,this[_0x4c43b4(0x223)],this[_0x4c43b4(0x412)],null,this['_pendingMutations'],null,[_0x427c64],this[_0x4c43b4(0x1ad)]);try{const _0x258f57=this[_0x4c43b4(0x2a3)][_0x4c43b4(0x1f2)](_0x427c64,this[_0x4c43b4(0x1b4)]);if(_0x598cb7(_0x258f57)){const {c1Prime:_0x4cc946,m2Prime:_0xa03a71}=_0x258f57;this['_executeRemoteChangeset'](_0x4cc946);const _0x2e5c2e=this['_injector']['createInstance'](re,this[_0x4c43b4(0x223)],this[_0x4c43b4(0x412)],_0xa03a71,this[_0x4c43b4(0x1ad)]);this[_0x4c43b4(0x23f)]();const _0x5441e3=new Date()[_0x4c43b4(0x145)](),_0x5cafc1=this[_0x4c43b4(0x233)]?Math[_0x4c43b4(0x239)](this[_0x4c43b4(0x233)]-_0x5441e3,0x0):this[_0x4c43b4(0x3bc)]();return _0x2e5c2e[_0x4c43b4(0x2ed)](_0x5cafc1),_0x2e5c2e;}throw _0x258f57['error'];}catch(_0x2e14b8){return this[_0x4c43b4(0x35e)][_0x4c43b4(0x3a6)](_0x2e14b8),this[_0x4c43b4(0x2f6)](!0x1);}}[_0x3cf5cf(0x344)](){var _0x129de9=_0x3cf5cf;throw new Error(_0x129de9(0x3ca));}['onRemoteRej'](){var _0x1fa5da=_0x3cf5cf;throw new Error(_0x1fa5da(0x41e));}[_0x3cf5cf(0x2b6)](){return this;}[_0x3cf5cf(0x2a2)](){var _0x2b8610=_0x3cf5cf;return this['_clearScheduledTask'](),this[_0x2b8610(0x204)][_0x2b8610(0x282)](ue,this[_0x2b8610(0x223)],this[_0x2b8610(0x412)],null,this['_pendingMutations'],this[_0x2b8610(0x1ad)]);}[_0x3cf5cf(0x3d4)](){return this;}[_0x3cf5cf(0x2ed)](_0xd1805b){var _0x109c15=_0x3cf5cf;const _0x4d4bb5=_0xd1805b!=null?_0xd1805b:this[_0x109c15(0x3bc)]();this[_0x109c15(0x233)]=new Date()[_0x109c15(0x145)]()+_0x4d4bb5,this[_0x109c15(0x32f)]=setTimeout(()=>{var _0x5ea76e=_0x109c15;this[_0x5ea76e(0x23f)]();let _0x3ef91a=null;switch(this['type']){case Z[_0x5ea76e(0x202)]:{_0x3ef91a=Wt(this[_0x5ea76e(0x1b4)],this[_0x5ea76e(0x223)],this[_0x5ea76e(0x257)],this['_revisionService'],this['_memberService']);break;}case Z[_0x5ea76e(0x3f5)]:{this[_0x5ea76e(0x1b4)][_0x5ea76e(0x3a0)](_0x3a23f6=>_0x3a23f6['id']===_0x101834['id'])?_0x3ef91a=ks(this['_pendingMutations'],this['unitID'],this[_0x5ea76e(0x257)],this[_0x5ea76e(0x1fb)],this['_memberService']):_0x3ef91a=Wt(this[_0x5ea76e(0x1b4)],this[_0x5ea76e(0x223)],this[_0x5ea76e(0x257)],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x5ea76e(0x23a)+this[_0x5ea76e(0x412)]+_0x5ea76e(0x20f));}const {changeset:_0x52404f,pendingMutations:_0x2d226a}=_0x3ef91a;this[_0x5ea76e(0x1ad)][_0x5ea76e(0x242)](_0x52404f);const _0xd9491a=_0x2d226a['length']?this[_0x5ea76e(0x204)]['createInstance'](ae,this[_0x5ea76e(0x223)],this[_0x5ea76e(0x412)],_0x52404f,_0x2d226a,this[_0x5ea76e(0x1ad)],void 0x0):this[_0x5ea76e(0x204)][_0x5ea76e(0x282)](_e,this[_0x5ea76e(0x223)],this[_0x5ea76e(0x412)],_0x52404f,this[_0x5ea76e(0x1ad)]);_0xd9491a[_0x5ea76e(0x181)](),this['_handler'][_0x5ea76e(0x3a9)](this,_0xd9491a);},_0x4d4bb5);}['_getSendChangesetTimeout'](){var _0x41e0bb=_0x3cf5cf,_0xe5a768;const _0x9142f2=this[_0x41e0bb(0x2a6)][_0x41e0bb(0x342)](K);return(_0xe5a768=_0x9142f2==null?void 0x0:_0x9142f2[_0x41e0bb(0x1c3)])!=null?_0xe5a768:ps;}[_0x3cf5cf(0x251)](){var _0x54ae22=_0x3cf5cf;throw new Error(_0x54ae22(0x2d9));}[_0x3cf5cf(0x23f)](){this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x3cf5cf(0x2f6)](_0x3afbce){var _0x351427=_0x3cf5cf;return this[_0x351427(0x23f)](),this[_0x351427(0x204)]['createInstance'](le,this[_0x351427(0x223)],this['type'],null,this[_0x351427(0x1b4)],this['_handler'],_0x3afbce);}};re=Ee([P(0x4,_0x12820d(_0x29ebe1)),P(0x5,_0x12820d(_0x3816e9)),P(0x6,_0x12820d(we)),P(0x7,_0x25fad5),P(0x8,_0x35e576),P(0x9,_0x288419),P(0xa,_0x2388e2),P(0xb,_0x1ddf79),P(0xc,_0x209b3),P(0xd,_0x3d8a9a(J))],re);let _e=class extends Ie{constructor(_0x208324,_0x5d52d9,_0x5d03b3,_0x559b7f,_0x5f47d6,_0x1b1dd6,_0x7d58c8,_0x22b558,_0x318f54,_0x1d5911,_0x6e3b11){var _0xf7c822=_0x3cf5cf;super(_0x208324,_0x5d52d9,_0x5d03b3,[],_0x559b7f,_0x7d58c8,_0x1d5911,_0x1b1dd6,_0x6e3b11),N(this,'status',_0xf7c822(0x31c)),N(this,_0xf7c822(0x3f3),0x0),N(this,_0xf7c822(0x147)),N(this,_0xf7c822(0x2f2)),(this[_0xf7c822(0x204)]=_0x5f47d6,this['_logService']=_0x22b558,this[_0xf7c822(0x2a3)]=_0x318f54);}['appendMutation'](_0x3494bd){var _0x25bbcd=_0x3cf5cf;this[_0x25bbcd(0x23f)]();const _0x7672c2=this[_0x25bbcd(0x204)][_0x25bbcd(0x282)](ae,this[_0x25bbcd(0x223)],this['type'],this[_0x25bbcd(0x24c)],[_0x3494bd],this[_0x25bbcd(0x1ad)],this['_resendTimer']);return _0x7672c2[_0x25bbcd(0x181)](),_0x7672c2;}[_0x3cf5cf(0x1b5)](_0x2b6baf){var _0x2ee9c0=_0x3cf5cf;if(this[_0x2ee9c0(0x384)](_0x2b6baf))return this[_0x2ee9c0(0x23f)](),this[_0x2ee9c0(0x204)][_0x2ee9c0(0x282)](Q,this[_0x2ee9c0(0x223)],this[_0x2ee9c0(0x412)],this['_awaitingChangeset'],[],null,[_0x2b6baf],this[_0x2ee9c0(0x1ad)]);try{const _0x2c667e=this['_transformService'][_0x2ee9c0(0x3b0)]([_0x2b6baf],[this['_awaitingChangeset']],!0x1);if(_0x160105(_0x2c667e)){const {c1Prime:_0x48334f,c2Prime:_0x296956}=_0x2c667e;this['_executeRemoteChangeset'](_0x48334f[0x0]),_0x296956[0x0][_0x2ee9c0(0x142)]=this['_getCurrentRevision'](),this[_0x2ee9c0(0x23f)]();const _0x2786b3=this[_0x2ee9c0(0x204)][_0x2ee9c0(0x282)](_e,this[_0x2ee9c0(0x223)],this[_0x2ee9c0(0x412)],_0x296956[0x0],this[_0x2ee9c0(0x1ad)]);return _0x2786b3[_0x2ee9c0(0x181)](),_0x2786b3;}return this[_0x2ee9c0(0x2f6)](!0x1);}catch(_0x167301){return this['_logService'][_0x2ee9c0(0x3a6)](_0x167301),this[_0x2ee9c0(0x2f6)](!0x1);}}[_0x3cf5cf(0x344)](_0x1ed48b){var _0x5b5a99=_0x3cf5cf;this[_0x5b5a99(0x23f)]();const _0x56676f=this['_revisionService'][_0x5b5a99(0x422)](this[_0x5b5a99(0x223)]);if(_0x1ed48b[_0x5b5a99(0x23c)]<_0x56676f-0x1)return this;if(this['_checkMissing'](_0x1ed48b))return this[_0x5b5a99(0x204)]['createInstance'](Q,this['unitID'],this[_0x5b5a99(0x412)],null,[],this[_0x5b5a99(0x24c)],[],this[_0x5b5a99(0x1ad)]);this['_incrementRevisionNumber']();const _0x1a9500=this[_0x5b5a99(0x204)]['createInstance'](ye,this['unitID'],this[_0x5b5a99(0x412)],this['_handler']);return _0x1a9500['_updateLocalCache'](),_0x1a9500;}[_0x3cf5cf(0x30b)](_0x3e6e49){var _0x128764=_0x3cf5cf;return this['_onConflict'](!!(_0x3e6e49!=null&&_0x3e6e49[_0x128764(0x209)]));}[_0x3cf5cf(0x2b6)](_0x1a264f){var _0x471f5b=_0x3cf5cf;return this[_0x471f5b(0x3f3)]>Ii?this[_0x471f5b(0x2a2)]():(this['_resendTimer']=Si(this[_0x471f5b(0x3f3)],{'timeout':this['_resendTimeout'],'reqId':_0x1a264f[_0x471f5b(0x27a)]}),this[_0x471f5b(0x2f2)]=this[_0x471f5b(0x147)][_0x471f5b(0x1d4)](({reqId:_0x7d62e2,timeout:_0x2d2a0d})=>{var _0x5a392c=_0x471f5b;this[_0x5a392c(0x312)](_0x7d62e2,_0x2d2a0d);}),this);}[_0x3cf5cf(0x2a2)](){var _0x2a2ec2=_0x3cf5cf;return this[_0x2a2ec2(0x23f)](),this['_injector'][_0x2a2ec2(0x282)](ue,this['unitID'],this[_0x2a2ec2(0x412)],this[_0x2a2ec2(0x24c)],[],this[_0x2a2ec2(0x1ad)]);}['toggleOnline'](){return this;}[_0x3cf5cf(0x251)](){var _0x2345e3=_0x3cf5cf;this[_0x2345e3(0x1ad)][_0x2345e3(0x242)](this[_0x2345e3(0x24c)]);}[_0x3cf5cf(0x2f6)](_0x540141){var _0x464f70=_0x3cf5cf;return this[_0x464f70(0x23f)](),this[_0x464f70(0x204)][_0x464f70(0x282)](le,this[_0x464f70(0x223)],this[_0x464f70(0x412)],this[_0x464f70(0x24c)],[],this[_0x464f70(0x1ad)],_0x540141);}[_0x3cf5cf(0x312)](_0x575121,_0x2f3847){var _0xe4bb0a=_0x3cf5cf,_0x547ec9;_0x575121===((_0x547ec9=this[_0xe4bb0a(0x24c)])==null?void 0x0:_0x547ec9['reqId'])&&(this[_0xe4bb0a(0x251)](),this[_0xe4bb0a(0x3f3)]=_0x2f3847===0x0?0x3e8:_0x2f3847*0x2);}['_clearScheduledTask'](){var _0x8f938=_0x3cf5cf,_0x26609b;(_0x26609b=this[_0x8f938(0x2f2)])==null||_0x26609b[_0x8f938(0x28c)](),this[_0x8f938(0x3f3)]=0x0;}};_e=Ee([P(0x4,_0x12820d(_0x29ebe1)),P(0x5,_0x12820d(_0x3816e9)),P(0x6,_0x35e576),P(0x7,_0x25fad5),P(0x8,_0x2388e2),P(0x9,_0x209b3),P(0xa,_0x3d8a9a(J))],_e);let ae=class extends Ie{constructor(_0x1537f6,_0x94b1b1,_0x5c46a4,_0xbc370c,_0x57dbce,_0xc64ca7,_0x3c7105,_0x4f958a,_0x18c161,_0x29e265,_0x2c9e52,_0x561eb3,_0x317a72){var _0x1a6ac0=_0x3cf5cf;super(_0x1537f6,_0x94b1b1,_0x5c46a4,_0xbc370c,_0x57dbce,_0x18c161,_0x561eb3,_0x4f958a,_0x317a72),N(this,'status',_0x1a6ac0(0x42a)),N(this,_0x1a6ac0(0x3f3),0x0),N(this,_0x1a6ac0(0x147)),N(this,'_sender'),(this[_0x1a6ac0(0x204)]=_0x3c7105,this[_0x1a6ac0(0x35e)]=_0x29e265,this[_0x1a6ac0(0x2a3)]=_0x2c9e52,this[_0x1a6ac0(0x1a4)]=_0x317a72,_0xc64ca7&&(this[_0x1a6ac0(0x147)]=_0xc64ca7,this[_0x1a6ac0(0x2f2)]=this[_0x1a6ac0(0x147)]['subscribe'](({reqId:_0x25e60e,timeout:_0x1096b4})=>{var _0x2cb631=_0x1a6ac0;this[_0x2cb631(0x312)](_0x25e60e,_0x1096b4);})));}[_0x3cf5cf(0x17a)](_0x5d941f){var _0x219467=_0x3cf5cf;return this[_0x219467(0x1b4)][_0x219467(0x2c6)](_0x5d941f),this;}[_0x3cf5cf(0x1b5)](_0x451bf3){var _0x467010=_0x3cf5cf;if(this[_0x467010(0x384)](_0x451bf3))return this[_0x467010(0x23f)](),this[_0x467010(0x204)]['createInstance'](Q,this[_0x467010(0x223)],this[_0x467010(0x412)],this[_0x467010(0x24c)],this[_0x467010(0x1b4)],null,[_0x451bf3],this[_0x467010(0x1ad)]);try{const _0x244e34=this['_transformService']['transformChangesets']([_0x451bf3],[this[_0x467010(0x24c)]],!0x1);if(_0x160105(_0x244e34)){const {c1Prime:_0x1481b8,c2Prime:_0x3cc652}=_0x244e34,_0x4d7df1=this[_0x467010(0x2a3)][_0x467010(0x1f2)](_0x1481b8[0x0],this[_0x467010(0x1b4)]);if(_0x598cb7(_0x4d7df1)){const {c1Prime:_0x4b97a1,m2Prime:_0x577150}=_0x4d7df1;return this['_executeRemoteChangeset'](_0x4b97a1),_0x3cc652[0x0][_0x467010(0x142)]=this[_0x467010(0x35a)](),this[_0x467010(0x23f)](),this[_0x467010(0x204)][_0x467010(0x282)](ae,this[_0x467010(0x223)],this[_0x467010(0x412)],_0x3cc652[0x0],_0x577150,this['_handler'],void 0x0);}throw _0x4d7df1['error'];}throw _0x244e34[_0x467010(0x3a6)];}catch(_0x4d4314){return this['_logService'][_0x467010(0x3a6)](_0x4d4314),this[_0x467010(0x2f6)](!0x1);}}['onRemoteAck'](_0x455200){var _0x13057c=_0x3cf5cf;if(this[_0x13057c(0x23f)](),this['_checkMissing'](_0x455200))return this[_0x13057c(0x204)][_0x13057c(0x282)](Q,this['unitID'],this[_0x13057c(0x412)],null,this[_0x13057c(0x1b4)],this[_0x13057c(0x24c)],[],this[_0x13057c(0x1ad)]);this[_0x13057c(0x168)]();const _0x1d8f5f=this[_0x13057c(0x204)][_0x13057c(0x282)](re,this[_0x13057c(0x223)],this[_0x13057c(0x412)],this[_0x13057c(0x1b4)],this[_0x13057c(0x1ad)]);return _0x1d8f5f['_schedule'](),_0x1d8f5f['_updateLocalCache'](),_0x1d8f5f;}[_0x3cf5cf(0x30b)](_0x46a1ea){var _0x244af6=_0x3cf5cf;return this[_0x244af6(0x2f6)](!!(_0x46a1ea!=null&&_0x46a1ea[_0x244af6(0x209)]));}[_0x3cf5cf(0x2b6)](_0x439c2b){var _0x3cd449=_0x3cf5cf;return this['_resendTimeout']>Ii?this['toggleOffline']():(this[_0x3cd449(0x147)]=Si(this[_0x3cd449(0x3f3)],{'timeout':this[_0x3cd449(0x3f3)],'reqId':_0x439c2b[_0x3cd449(0x27a)]}),this[_0x3cd449(0x2f2)]=this[_0x3cd449(0x147)]['subscribe'](({reqId:_0x106894,timeout:_0x246e1c})=>{var _0x39614f=_0x3cd449;this[_0x39614f(0x312)](_0x106894,_0x246e1c);}),this);}['toggleOffline'](){var _0x51d5fd=_0x3cf5cf;return this[_0x51d5fd(0x23f)](),this[_0x51d5fd(0x204)][_0x51d5fd(0x282)](ue,this[_0x51d5fd(0x223)],this[_0x51d5fd(0x412)],this[_0x51d5fd(0x24c)],this['_pendingMutations'],this[_0x51d5fd(0x1ad)]);}['toggleOnline'](){return this;}[_0x3cf5cf(0x251)](){var _0x508394=_0x3cf5cf;this[_0x508394(0x1ad)][_0x508394(0x242)](this[_0x508394(0x24c)]);}[_0x3cf5cf(0x2f6)](_0x15d813){var _0x230b21=_0x3cf5cf;return this['_clearScheduledTask'](),this[_0x230b21(0x204)]['createInstance'](le,this[_0x230b21(0x223)],this['type'],null,this[_0x230b21(0x1b4)],this[_0x230b21(0x1ad)],_0x15d813);}[_0x3cf5cf(0x312)](_0x26b652,_0x323671){var _0x2a972e=_0x3cf5cf,_0x3e033d;_0x26b652===((_0x3e033d=this[_0x2a972e(0x24c)])==null?void 0x0:_0x3e033d[_0x2a972e(0x27a)])&&(this[_0x2a972e(0x251)](),this['_resendTimeout']=_0x323671===0x0?0x3e8:_0x323671*0x2);}[_0x3cf5cf(0x23f)](){var _0x5e1e9d=_0x3cf5cf,_0x508096;(_0x508096=this[_0x5e1e9d(0x2f2)])==null||_0x508096[_0x5e1e9d(0x28c)](),this[_0x5e1e9d(0x3f3)]=0x0;}};ae=Ee([P(0x6,_0x12820d(_0x29ebe1)),P(0x7,_0x12820d(_0x3816e9)),P(0x8,_0x35e576),P(0x9,_0x25fad5),P(0xa,_0x2388e2),P(0xb,_0x209b3),P(0xc,_0x3d8a9a(J))],ae);let le=class extends Ie{constructor(_0x39552d,_0x43cb9e,_0x49d431,_0x4bc467,_0x2ad75f,_0x585a69=!0x1,_0x2c5133,_0x39603a,_0x3975da,_0x421290,_0x401f6c,_0x24e24a,_0x1f62be){var _0x3a0581=_0x3cf5cf;super(_0x39552d,_0x43cb9e,_0x49d431,_0x4bc467,_0x2ad75f,_0x39603a,_0x3975da,_0x421290,_0x1f62be),N(this,_0x3a0581(0x1ce),'conflict'),(this['_isPermissionRej']=_0x585a69,this[_0x3a0581(0x277)]=_0x2c5133,this[_0x3a0581(0x294)]=_0x401f6c,this[_0x3a0581(0x331)]=_0x24e24a,this['localCacheService']=_0x1f62be,this[_0x3a0581(0x278)](),this['_clearLocalCache'](),this[_0x3a0581(0x340)]());}[_0x3cf5cf(0x17a)](){return this;}['onRemoteChangeset'](){return this;}[_0x3cf5cf(0x344)](){return this;}[_0x3cf5cf(0x30b)](){return this;}[_0x3cf5cf(0x2b6)](){return this;}[_0x3cf5cf(0x2a2)](){return this;}[_0x3cf5cf(0x3d4)](){return this;}[_0x3cf5cf(0x251)](){var _0x113ec9=_0x3cf5cf;throw new Error(_0x113ec9(0x1ac));}['_clearLocalCache'](){var _0x24c4a3=_0x3cf5cf,_0x2f5244;(_0x2f5244=this['_localCacheService'])==null||_0x2f5244[_0x24c4a3(0x40e)](this[_0x24c4a3(0x223)],this['type'],null,[]);}[_0x3cf5cf(0x278)](){var _0x20dc6e=_0x3cf5cf;this[_0x20dc6e(0x23d)]?this[_0x20dc6e(0x331)][_0x20dc6e(0x2e5)]({'id':ne['PERMISSION_DENIED']}):this[_0x20dc6e(0x331)][_0x20dc6e(0x2e5)]({'id':ne[_0x20dc6e(0x1e3)]});}[_0x3cf5cf(0x340)](){var _0x389c11=_0x3cf5cf;this[_0x389c11(0x277)][_0x389c11(0x18a)](new _0x51ffc0(this[_0x389c11(0x223)])['id'],!0x1);}};le=Ee([P(0x6,_0x12820d(_0x2842df)),P(0x7,_0x35e576),P(0x8,_0x209b3),P(0x9,_0x12820d(_0x3816e9)),P(0xa,_0x12820d(_0x367971)),P(0xb,_0x12820d(ve)),P(0xc,_0x3d8a9a(J))],le);let ue=class extends Ie{constructor(_0x256810,_0x1dd012,_0x570a77,_0x540c1b,_0x746f57,_0x456bd2,_0x39074f,_0x53d9f9,_0x2f1501,_0x3d36cc){var _0x59b7bb=_0x3cf5cf;super(_0x256810,_0x1dd012,_0x570a77,_0x540c1b,_0x746f57,_0x53d9f9,_0x2f1501,_0x39074f,_0x3d36cc),N(this,'status',_0x59b7bb(0x3ec)),this[_0x59b7bb(0x204)]=_0x456bd2;}['appendMutation'](_0x5a642e){var _0x1eac44=_0x3cf5cf;return this[_0x1eac44(0x1b4)][_0x1eac44(0x2c6)](_0x5a642e),this['_updateLocalCache'](),this;}[_0x3cf5cf(0x1b5)](_0x5364ac){var _0x1bee11=_0x3cf5cf;throw new Error(_0x1bee11(0x1e4));}[_0x3cf5cf(0x344)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x3cf5cf(0x30b)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x3cf5cf(0x2b6)](){return this;}[_0x3cf5cf(0x2a2)](){return this;}[_0x3cf5cf(0x3d4)](){var _0x5a502=_0x3cf5cf;const {_injector:_0x32853f,_pendingMutations:_0x2771b2,_awaitingChangeset:_0x1d9136,unitID:_0x20c61e,_handler:_0x3212e2,type:_0x31ee66}=this,_0xcba571=Ti(_0x32853f,_0x20c61e,_0x31ee66,_0x1d9136,_0x2771b2,_0x3212e2);return _0xcba571 instanceof re?_0xcba571[_0x5a502(0x2ed)]():(_0xcba571 instanceof ae||_0xcba571 instanceof _e)&&_0xcba571[_0x5a502(0x251)](),_0xcba571;}[_0x3cf5cf(0x251)](){var _0x5a6765=_0x3cf5cf;throw new Error(_0x5a6765(0x1d3));}};ue=Ee([P(0x5,_0x12820d(_0x29ebe1)),P(0x6,_0x12820d(_0x3816e9)),P(0x7,_0x35e576),P(0x8,_0x209b3),P(0x9,_0x3d8a9a(J))],ue);let Q=class extends Ie{constructor(_0x56ddb6,_0x466399,_0x35a423,_0x561dad,_0x19a24c,_0x25f9db,_0x1dcfa6,_0x540716,_0x76718e,_0x123a81,_0x2a0184,_0x5b13e8,_0x592013,_0x312cad){var _0x5a1566=_0x3cf5cf;super(_0x56ddb6,_0x466399,_0x35a423,_0x561dad,_0x1dcfa6,_0x2a0184,_0x5b13e8,_0x76718e,_0x312cad),N(this,_0x5a1566(0x1ce),_0x5a1566(0x41d)),(this[_0x5a1566(0x34a)]=_0x19a24c,this[_0x5a1566(0x3bf)]=_0x25f9db,this[_0x5a1566(0x204)]=_0x540716,this[_0x5a1566(0x35e)]=_0x123a81,this[_0x5a1566(0x2a3)]=_0x592013,this[_0x5a1566(0x1a4)]=_0x312cad);}[_0x3cf5cf(0x26c)](_0x4e1b1e){var _0x482f69=_0x3cf5cf;try{const _0x2af249=[..._0x4e1b1e,...this['_queuedRemoteChangesets']],_0x512d95=[this[_0x482f69(0x24c)]||this[_0x482f69(0x34a)]][_0x482f69(0x2d3)](_0x4e09c9=>!!_0x4e09c9);let _0x19e2e3,_0x3c263f;if(_0x512d95['length']){const _0x43a6c6=this[_0x482f69(0x2a3)][_0x482f69(0x3b0)](_0x2af249,_0x512d95,!0x1);if(!_0x160105(_0x43a6c6))throw _0x43a6c6[_0x482f69(0x3a6)];_0x19e2e3=_0x43a6c6['c1Prime'],_0x3c263f=_0x43a6c6[_0x482f69(0x3c9)];}else _0x19e2e3=_0x2af249,_0x3c263f=[];let _0xe1d615=this['_pendingMutations'];_0x19e2e3[_0x482f69(0x360)](_0x56e36b=>{var _0x488c26=_0x482f69;let _0x44414f;if(_0xe1d615[_0x488c26(0x146)]){const _0x4c584f=this['_transformService'][_0x488c26(0x1f2)](_0x56e36b,_0xe1d615);if(!_0x598cb7(_0x4c584f))throw _0x4c584f[_0x488c26(0x3a6)];_0x44414f=_0x4c584f[_0x488c26(0x385)],_0xe1d615=_0x4c584f[_0x488c26(0x37e)];}else _0x44414f=_0x56e36b;this[_0x488c26(0x25e)](_0x44414f);}),this[_0x482f69(0x34a)]&&this[_0x482f69(0x168)](),this[_0x482f69(0x24c)]&&_0x3c263f[_0x482f69(0x146)]&&(_0x3c263f[0x0][_0x482f69(0x142)]=this[_0x482f69(0x35a)]());let _0x218646;if(this[_0x482f69(0x24c)]&&_0xe1d615['length']!==0x0)_0x218646=this[_0x482f69(0x204)][_0x482f69(0x282)](ae,this[_0x482f69(0x223)],this['type'],_0x3c263f[0x0],_0xe1d615,this['_handler'],void 0x0);else{if(this[_0x482f69(0x24c)]&&_0xe1d615[_0x482f69(0x146)]===0x0)_0x3c263f[0x0][_0x482f69(0x142)]=this['_getCurrentRevision'](),_0x218646=this[_0x482f69(0x204)][_0x482f69(0x282)](_e,this[_0x482f69(0x223)],this['type'],_0x3c263f[0x0],this[_0x482f69(0x1ad)]);else{if(_0xe1d615[_0x482f69(0x146)]!==0x0){const _0x5ab6e5=this[_0x482f69(0x204)][_0x482f69(0x282)](re,this[_0x482f69(0x223)],this[_0x482f69(0x412)],_0xe1d615,this['_handler']);_0x5ab6e5[_0x482f69(0x2ed)](),_0x218646=_0x5ab6e5;}else _0x218646=this[_0x482f69(0x204)][_0x482f69(0x282)](ye,this[_0x482f69(0x223)],this[_0x482f69(0x412)],this[_0x482f69(0x1ad)]);}}return _0x218646['_updateLocalCache'](),_0x218646;}catch(_0x5573c0){return this[_0x482f69(0x35e)]['error'](_0x482f69(0x248),_0x482f69(0x154),_0x5573c0),this[_0x482f69(0x204)][_0x482f69(0x282)](le,this[_0x482f69(0x223)],this[_0x482f69(0x412)],this['_awaitingChangeset'],this[_0x482f69(0x1b4)],this[_0x482f69(0x1ad)],!0x1);}}[_0x3cf5cf(0x251)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3cf5cf(0x17a)](_0x3edbe6){return this['_pendingMutations']['push'](_0x3edbe6),this;}['onRemoteChangeset'](_0x2bebfa){var _0x2d605c=_0x3cf5cf;return this['_queuedRemoteChangesets'][_0x2d605c(0x2c6)](_0x2bebfa),this;}['onRemoteAck'](_0x297438){var _0x5ab860=_0x3cf5cf;if(this[_0x5ab860(0x24c)])return this[_0x5ab860(0x34a)]=this[_0x5ab860(0x24c)],this[_0x5ab860(0x24c)]=null,this;throw new Error(_0x5ab860(0x36d));}[_0x3cf5cf(0x30b)](_0x12073a){var _0x468123=_0x3cf5cf;return this[_0x468123(0x2f6)](!!(_0x12073a!=null&&_0x12073a[_0x468123(0x209)]));}[_0x3cf5cf(0x2b6)](){return this;}[_0x3cf5cf(0x2a2)](){var _0xc7df8f=_0x3cf5cf;return this['_injector']['createInstance'](ue,this[_0xc7df8f(0x223)],this[_0xc7df8f(0x412)],this[_0xc7df8f(0x24c)],this[_0xc7df8f(0x1b4)],this['_handler']);}[_0x3cf5cf(0x3d4)](){return this;}[_0x3cf5cf(0x2f6)](_0x31e881){var _0x214e1b=_0x3cf5cf;return this['_injector'][_0x214e1b(0x282)](le,this[_0x214e1b(0x223)],this[_0x214e1b(0x412)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x214e1b(0x1ad)],_0x31e881);}};Q=Ee([P(0x7,_0x12820d(_0x29ebe1)),P(0x8,_0x12820d(_0x3816e9)),P(0x9,_0x25fad5),P(0xa,_0x35e576),P(0xb,_0x209b3),P(0xc,_0x2388e2),P(0xd,_0x3d8a9a(J))],Q);function Ti(_0x382131,_0xa58eb1,_0x2365bc,_0x5ccbb6,_0x5dc932,_0x202e84){var _0x2807cd=_0x3cf5cf;return _0x5ccbb6&&_0x5dc932[_0x2807cd(0x146)]?_0x382131[_0x2807cd(0x282)](ae,_0xa58eb1,_0x2365bc,_0x5ccbb6,_0x5dc932,_0x202e84,void 0x0):_0x5ccbb6?_0x382131['createInstance'](_e,_0xa58eb1,_0x2365bc,_0x5ccbb6,_0x202e84):_0x5dc932[_0x2807cd(0x146)]?_0x382131['createInstance'](re,_0xa58eb1,_0x2365bc,_0x5dc932,_0x202e84):_0x382131[_0x2807cd(0x282)](ye,_0xa58eb1,_0x2365bc,_0x202e84);}var Bs=Object['getOwnPropertyDescriptor'],wt=(_0x18a3c6,_0x498766,_0xe49280,_0x634429)=>{var _0x24b341=_0x3cf5cf;for(var _0x48f4ee=_0x634429>0x1?void 0x0:_0x634429?Bs(_0x498766,_0xe49280):_0x498766,_0x304e4f=_0x18a3c6[_0x24b341(0x146)]-0x1,_0xf7b284;_0x304e4f>=0x0;_0x304e4f--)(_0xf7b284=_0x18a3c6[_0x304e4f])&&(_0x48f4ee=_0xf7b284(_0x48f4ee)||_0x48f4ee);return _0x48f4ee;},H=(_0x5e0092,_0x484406)=>(_0x24b8fc,_0x4460fe)=>_0x484406(_0x24b8fc,_0x4460fe,_0x5e0092);let st=class extends _0x193882{constructor(_0x57c3f7,_0x43d1e9,_0x31cd13,_0x16a510,_0x393dca,_0x27e687,_0x55bcbd,_0x360f4c,_0xb49032,_0x248851,_0x33e3e9,_0x5ad2dc,_0x13f585){var _0x13bd0a=_0x3cf5cf;super(),N(this,_0x13bd0a(0x1c1),new _0x542843(null)),N(this,_0x13bd0a(0x1bc),this[_0x13bd0a(0x1c1)][_0x13bd0a(0x2a1)]()),N(this,'_state'),N(this,_0x13bd0a(0x1c7),!0x1),N(this,_0x13bd0a(0x179),''),N(this,'_changesetReqId',0x0),N(this,_0x13bd0a(0x34c),this[_0x13bd0a(0x1bc)][_0x13bd0a(0x286)](_0x3af1a1(_0x2a37fd=>_0x2a37fd?_0x2a37fd[_0x13bd0a(0x1ce)]:Ei[_0x13bd0a(0x394)]),_0x3d249c(0x1))),N(this,_0x13bd0a(0x429),!0x1),N(this,_0x13bd0a(0x349),[]),(this['unitID']=_0x57c3f7,this[_0x13bd0a(0x2c7)]=_0x43d1e9,this[_0x13bd0a(0x26d)]=_0x31cd13,this[_0x13bd0a(0x204)]=_0x16a510,this[_0x13bd0a(0x42e)]=_0x393dca,this[_0x13bd0a(0x294)]=_0x27e687,this[_0x13bd0a(0x1fb)]=_0x55bcbd,this[_0x13bd0a(0x289)]=_0x360f4c,this[_0x13bd0a(0x35e)]=_0xb49032,this[_0x13bd0a(0x314)]=_0x248851,this['_permissionService']=_0x33e3e9,this[_0x13bd0a(0x361)]=_0x5ad2dc,this[_0x13bd0a(0x198)]=_0x13f585);}get[_0x3cf5cf(0x2f1)](){var _0x4f736e=_0x3cf5cf;return this[_0x4f736e(0x3a8)];}async[_0x3cf5cf(0x2e7)](){var _0x5705db=_0x3cf5cf;if(this[_0x5705db(0x2f1)])throw new Error(_0x5705db(0x1f4));await this[_0x5705db(0x3d5)]();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0x1f05c5(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x3cf5cf(0x3e9)](_0x4299e4){var _0x4648ee=_0x3cf5cf;this[_0x4648ee(0x173)](_0x4299e4);}[_0x3cf5cf(0x1c5)](_0x463495){var _0x52a066=_0x3cf5cf;this['_state']=_0x463495,this[_0x52a066(0x1c1)][_0x52a066(0x33b)](_0x463495);}async[_0x3cf5cf(0x3d5)](){var _0xc34f02=_0x3cf5cf,_0x27c788;this[_0xc34f02(0x1c5)](await this[_0xc34f02(0x3a4)]()),this[_0xc34f02(0x361)]&&((_0x27c788=this['_singleActiveUnitService'])==null||_0x27c788[_0xc34f02(0x416)](this[_0xc34f02(0x223)]),this[_0xc34f02(0x36a)](this[_0xc34f02(0x361)]['getUnitStatus$'](this[_0xc34f02(0x223)])['subscribe'](_0x1b281a=>{var _0x58ac72=_0xc34f02;this[_0x58ac72(0x35e)]['debug'](_0x58ac72(0x3d9),_0x58ac72(0x192),_0x1b281a),_0x1b281a===gi[_0x58ac72(0x299)]?(this[_0x58ac72(0x289)][_0x58ac72(0x2e5)]({'id':ne[_0x58ac72(0x350)]}),this[_0x58ac72(0x277)][_0x58ac72(0x18a)](new _0x51ffc0(this[_0x58ac72(0x223)])['id'],!0x1),this[_0x58ac72(0x277)][_0x58ac72(0x236)](!0x1)):(this[_0x58ac72(0x277)][_0x58ac72(0x18a)](new _0x51ffc0(this['unitID'])['id'],!0x0),this[_0x58ac72(0x277)][_0x58ac72(0x236)](!0x0));})));let _0x3ed401=!0x1;return this[_0xc34f02(0x36a)](this[_0xc34f02(0x2c7)][_0xc34f02(0x38d)][_0xc34f02(0x1d4)](_0x369e60=>{var _0x4958ef=_0xc34f02;_0x369e60===ge[_0x4958ef(0x19e)]?this[_0x4958ef(0x275)](_0x3ed401):_0x369e60===ge[_0x4958ef(0x394)]&&(_0x3ed401=!0x0,this['_toggleOffline']());})),this[_0xc34f02(0x36a)](this[_0xc34f02(0x2c7)]['event$'][_0xc34f02(0x1d4)](_0x4f2ddf=>{var _0x5ec155=_0xc34f02;try{switch(_0x4f2ddf[_0x5ec155(0x2c8)]){case _0x500e4e[_0x5ec155(0x19f)]:{this[_0x5ec155(0x406)](_0x3dcdd2(_0x4f2ddf[_0x5ec155(0x2f7)]));break;}case _0x500e4e['CHANGESET_ACK']:{this[_0x5ec155(0x2b8)](_0x4f2ddf['data']);break;}case _0x500e4e[_0x5ec155(0x14e)]:{this[_0x5ec155(0x2e9)]();break;}case _0x500e4e['CHANGESET_SHOULD_RETRY']:{this[_0x5ec155(0x17e)](_0x4f2ddf[_0x5ec155(0x2f7)]);break;}case _0x500e4e[_0x5ec155(0x381)]:{this['_onFetchMissResult'](_0x4f2ddf[_0x5ec155(0x2f7)][_0x5ec155(0x258)][_0x5ec155(0x36f)](_0x212685=>_0x3dcdd2(_0x212685)));break;}case _0x500e4e['PERMISSION_REJ']:{this[_0x5ec155(0x2e9)]({'isPermissionRej':!0x0});break;}case _0x500e4e[_0x5ec155(0x206)]:break;}}catch(_0x3ef091){throw console[_0x5ec155(0x3a6)](_0x5ec155(0x1de),_0x3ef091),_0x3ef091;}})),this[_0xc34f02(0x3a8)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x3cf5cf(0x2ef)](){var _0x5b7d94=_0x3cf5cf;if(this[_0x5b7d94(0x429)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x5b7d94(0x429)]=!0x0;}[_0x3cf5cf(0x173)](_0x17bd85){var _0x2e298e=_0x3cf5cf;this['_lockTransition'](),this[_0x2e298e(0x1c5)](this['_state'][_0x2e298e(0x17a)](_0x17bd85)),this['_unlockTransition']();}[_0x3cf5cf(0x406)](_0x2fd4a0){var _0x2c418f=_0x3cf5cf;if(!(_0x2fd4a0['revision']<=this[_0x2c418f(0x1fb)]['getCurrentRevOfUnit'](this[_0x2c418f(0x223)]))){if(this['_collaborationPaused']){this[_0x2c418f(0x349)][_0x2c418f(0x2c6)](_0x2fd4a0);return;}this[_0x2c418f(0x3ea)](_0x2fd4a0);}}['_exhaustRemoteChangesetQueue'](){var _0x4fc86a=_0x3cf5cf;this[_0x4fc86a(0x349)]['forEach'](_0xf09d48=>this[_0x4fc86a(0x3ea)](_0xf09d48)),this[_0x4fc86a(0x349)]=[];}[_0x3cf5cf(0x3ea)](_0x3b777f){var _0x4c8abc=_0x3cf5cf;const _0x13d984=this[_0x4c8abc(0x42e)][_0x4c8abc(0x1dd)][_0x4c8abc(0x22c)](this['_compressMutationService'][_0x4c8abc(0x1dd)][_0x4c8abc(0x14c)]()[_0x4c8abc(0x402)])(_0x3b777f[_0x4c8abc(0x426)],null)||_0x3b777f[_0x4c8abc(0x426)],_0x338058={..._0x3b777f,'mutations':_0x13d984};this[_0x4c8abc(0x2ef)](),this[_0x4c8abc(0x1c5)](this[_0x4c8abc(0x3a8)][_0x4c8abc(0x1b5)](_0x338058)),this[_0x4c8abc(0x1ea)]();}[_0x3cf5cf(0x2b8)](_0x178419){var _0x3fcc71=_0x3cf5cf;this[_0x3fcc71(0x2ef)](),this['_updateState'](this['_state'][_0x3fcc71(0x344)](_0x178419)),this[_0x3fcc71(0x1ea)]();}[_0x3cf5cf(0x2e9)](_0x2c9882){var _0x171255=_0x3cf5cf;this[_0x171255(0x2ef)](),this['_updateState'](this[_0x171255(0x3a8)]['onRemoteRej'](_0x2c9882)),this[_0x171255(0x1ea)]();}[_0x3cf5cf(0x17e)](_0x2dafd8){var _0x4f7f0f=_0x3cf5cf;this[_0x4f7f0f(0x2ef)](),this['_updateState'](this[_0x4f7f0f(0x3a8)][_0x4f7f0f(0x2b6)](_0x2dafd8)),this[_0x4f7f0f(0x1ea)]();}[_0x3cf5cf(0x2aa)](_0x4c66d0){var _0x35a6fa=_0x3cf5cf;if(!(this[_0x35a6fa(0x3a8)]instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x2cd4b2=_0x4c66d0['map'](_0x960900=>{var _0x2ffc02=_0x35a6fa;const _0x4f4385=this['_compressMutationService'][_0x2ffc02(0x1dd)]['fetchThroughInterceptors'](this[_0x2ffc02(0x42e)][_0x2ffc02(0x1dd)][_0x2ffc02(0x14c)]()[_0x2ffc02(0x402)])(_0x960900['mutations'],null)||_0x960900['mutations'];return{..._0x960900,'mutations':_0x4f4385};});this[_0x35a6fa(0x2ef)](),this[_0x35a6fa(0x1c5)](this[_0x35a6fa(0x3a8)]['onMissedChangesetFetched'](_0x2cd4b2)),this[_0x35a6fa(0x1ea)]();}[_0x3cf5cf(0x2cd)](){var _0x374c35=_0x3cf5cf;this['_lockTransition'](),this[_0x374c35(0x1c5)](this[_0x374c35(0x3a8)][_0x374c35(0x2a2)]()),this[_0x374c35(0x1ea)]();}[_0x3cf5cf(0x275)](_0x1c9643=!0x1){var _0x42ea0b=_0x3cf5cf;this[_0x42ea0b(0x2ef)](),this[_0x42ea0b(0x1c5)](this[_0x42ea0b(0x3a8)][_0x42ea0b(0x3d4)]()),this[_0x42ea0b(0x1ea)]();const _0x1dea17=this[_0x42ea0b(0x3a8)];_0x1c9643&&_0x1dea17 instanceof ye&&(this[_0x42ea0b(0x2ef)](),this['_updateState'](_0x1dea17['fetchMiss']()),this['_unlockTransition']());}async[_0x3cf5cf(0x3a4)](){return new Promise(_0x13b329=>{var _0x57cd42=_0x15c9;this[_0x57cd42(0x2c7)][_0x57cd42(0x38d)]['pipe'](_0x28f507(0x1))[_0x57cd42(0x1d4)](async _0x571367=>{var _0x4a7575=_0x57cd42;_0x13b329(await this[_0x4a7575(0x35b)](_0x571367===ge[_0x4a7575(0x19e)]));});});}['_createHandler'](){var _0x309547=_0x3cf5cf;const _0x34b339=this[_0x309547(0x223)];return{'onStateChange':(_0x320e40,_0x5d0c37)=>{var _0x5956b3=_0x309547;if(_0x320e40!==this['_state'])throw new Error(_0x5956b3(0x24b)+_0x320e40[_0x5956b3(0x1ce)]+'\x0aAfter:\x20'+_0x5d0c37['status']+_0x5956b3(0x21a)+this[_0x5956b3(0x3a8)][_0x5956b3(0x1ce)]);this['_updateState'](_0x5d0c37);},'onSendChangeset':_0x44e301=>{var _0x525af8=_0x309547;_0x44e301[_0x525af8(0x39f)]||(_0x44e301['sid']=this['_changesetSessionId'],_0x44e301[_0x525af8(0x27a)]=++this['_changesetReqId']);const _0x288fbb={'eventID':_0x500e4e[_0x525af8(0x322)],'data':{'unitID':_0x44e301['unitID'],'unitType':this[_0x525af8(0x26d)],'changeset':_0x44e301,'memberID':this[_0x525af8(0x2c7)]['getMemberID']()}};this[_0x525af8(0x2c7)][_0x525af8(0x1e1)](_0x288fbb,this[_0x525af8(0x223)]);},'onMissingChangesets':({from:_0xa929d8,to:_0x5ba6e7})=>{var _0x105489=_0x309547;this[_0x105489(0x35e)][_0x105489(0x359)](_0x105489(0x3d9),_0x105489(0x391)+_0xa929d8+_0x105489(0x3f9)+_0x5ba6e7);const _0x5e79b6={'eventID':_0x500e4e[_0x105489(0x427)],'data':{'unitID':_0x34b339,'unitType':this[_0x105489(0x26d)],'from':_0xa929d8,'to':_0x5ba6e7}};this[_0x105489(0x2c7)][_0x105489(0x1e1)](_0x5e79b6,this[_0x105489(0x223)]);}};}async['_createInitialStateImpl'](_0xef0a0a){var _0xd030c6=_0x3cf5cf,_0x92600,_0x85e900,_0x232229;const _0x20e85a=await((_0x92600=this[_0xd030c6(0x198)])==null?void 0x0:_0x92600[_0xd030c6(0x1ca)](this[_0xd030c6(0x223)])),_0x48d410=(_0x85e900=_0x20e85a==null?void 0x0:_0x20e85a[_0xd030c6(0x426)])!=null?_0x85e900:[],_0x1a42d9=(_0x232229=_0x20e85a==null?void 0x0:_0x20e85a['awaitingChangeset'])!=null?_0x232229:null,_0x537086=!!(_0x1a42d9!=null&&_0x1a42d9[_0xd030c6(0x39f)])&&!!(_0x1a42d9!=null&&_0x1a42d9[_0xd030c6(0x27a)]);this['_changesetSessionId']=_0x537086?_0x1a42d9['sid']:_0xd0f467(),this[_0xd030c6(0x37a)]=_0x537086?_0x1a42d9[_0xd030c6(0x27a)]:0x0;const _0x1f8d78=this[_0xd030c6(0x223)];try{this['_replayCachedMutations'](_0x1a42d9,_0x48d410);}catch(_0x51d2aa){this[_0xd030c6(0x35e)]['error'](_0x51d2aa);}const _0xd40965=this[_0xd030c6(0x43e)]();if(_0xef0a0a){const _0x20c80b=Ti(this[_0xd030c6(0x204)],_0x1f8d78,this[_0xd030c6(0x26d)],_0x1a42d9,_0x48d410,_0xd40965);return _0x20c80b instanceof re?_0x20c80b[_0xd030c6(0x2ed)]():(_0x20c80b instanceof ae||_0x20c80b instanceof _e)&&_0x20c80b[_0xd030c6(0x251)](),_0x20c80b;}return this[_0xd030c6(0x204)][_0xd030c6(0x282)](ue,_0x1f8d78,this['_type'],_0x1a42d9,_0x48d410,_0xd40965);}[_0x3cf5cf(0x1a7)](_0x47e246,_0x4e3bb2){var _0x2e37ce=_0x3cf5cf,_0x543110,_0x304283;const _0x2ffecc=this[_0x2e37ce(0x42e)][_0x2e37ce(0x1dd)][_0x2e37ce(0x22c)](this['_compressMutationService'][_0x2e37ce(0x1dd)][_0x2e37ce(0x14c)]()['COMPRESS_MUTATION_APPLY']);(_0x543110=_0x2ffecc((_0x47e246==null?void 0x0:_0x47e246[_0x2e37ce(0x426)])||[],null))==null||_0x543110[_0x2e37ce(0x360)](_0x47b8c9=>this[_0x2e37ce(0x314)]['executeCommand'](_0x47b8c9['id'],_0x47b8c9[_0x2e37ce(0x40a)])),(_0x304283=_0x2ffecc(_0x4e3bb2||[],null))==null||_0x304283['forEach'](_0x5da16b=>this[_0x2e37ce(0x314)][_0x2e37ce(0x1d8)](_0x5da16b['id'],_0x5da16b['params']));}};st=wt([H(0x3,_0x12820d(_0x29ebe1)),H(0x4,_0x12820d(_0x2580cb)),H(0x5,_0x12820d(_0x367971)),H(0x6,_0x12820d(_0x3816e9)),H(0x7,_0x12820d(ve)),H(0x8,_0x25fad5),H(0x9,_0x35e576),H(0xa,_0x2842df),H(0xb,_0x3d8a9a(ht)),H(0xc,_0x3d8a9a(J))],st);let St=class extends st{constructor(_0x5190e0,_0x5d9242,_0xfcf1a2,_0x2cb554,_0x3662aa,_0x14611c,_0x58f2f2,_0xbe0d00,_0x5e8490,_0xd5d778,_0x4b15dd,_0x2f1f06,_0x35ab2d){var _0x3e5bb5=_0x3cf5cf;super(_0x5190e0,_0xfcf1a2,_0x5d9242,_0x2cb554,_0x3662aa,_0x14611c,_0x58f2f2,_0xbe0d00,_0x5e8490,_0xd5d778,_0x4b15dd,_0x2f1f06,_0x35ab2d),N(this,'_handlerCallback',null),(this[_0x3e5bb5(0x223)]=_0x5190e0,this[_0x3e5bb5(0x412)]=_0x5d9242);}['addHandlerCallback'](_0xa18fc9){var _0x4d5aa0=_0x3cf5cf;this[_0x4d5aa0(0x226)]=_0xa18fc9;}['dispose'](){var _0x51f55c=_0x3cf5cf;this[_0x51f55c(0x226)]=null,super[_0x51f55c(0x255)]();}[_0x3cf5cf(0x43e)](){var _0x27e93a=_0x3cf5cf;const _0x359aa2=super['_createHandler']();return _0x359aa2['onTransformIME']=_0x42385c=>{var _0x50a821=_0x15c9,_0x24a5c4,_0x478d1d;return(_0x478d1d=(_0x24a5c4=this[_0x50a821(0x226)])==null?void 0x0:_0x24a5c4[_0x50a821(0x184)])==null?void 0x0:_0x478d1d[_0x50a821(0x22a)](_0x24a5c4,_0x42385c);},_0x359aa2['onTransformState']=_0x22f512=>{var _0x2378fb=_0x15c9,_0x7eef4a,_0x583504;return(_0x583504=(_0x7eef4a=this[_0x2378fb(0x226)])==null?void 0x0:_0x7eef4a[_0x2378fb(0x1b7)])==null?void 0x0:_0x583504[_0x2378fb(0x22a)](_0x7eef4a,_0x22f512);},_0x359aa2[_0x27e93a(0x2c0)]=_0x2f511b=>{var _0x471d83=_0x27e93a,_0x3b91dc,_0x22733f;return(_0x22733f=(_0x3b91dc=this['_handlerCallback'])==null?void 0x0:_0x3b91dc[_0x471d83(0x2c0)])==null?void 0x0:_0x22733f[_0x471d83(0x22a)](_0x3b91dc,_0x2f511b);},_0x359aa2['onSyncEditingCollabCursor']=_0x4990cf=>{var _0x9fe5ba=_0x27e93a,_0x3098ca,_0x2acc06;return(_0x2acc06=(_0x3098ca=this[_0x9fe5ba(0x226)])==null?void 0x0:_0x3098ca[_0x9fe5ba(0x345)])==null?void 0x0:_0x2acc06[_0x9fe5ba(0x22a)](_0x3098ca,_0x4990cf);},_0x359aa2[_0x27e93a(0x2cb)]=_0x24d119=>{var _0x45c5db=_0x27e93a,_0x1c10b2,_0xe916eb,_0x31eea9;if(!((_0x1c10b2=this[_0x45c5db(0x226)])!=null&&_0x1c10b2[_0x45c5db(0x2cb)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x31eea9=(_0xe916eb=this['_handlerCallback'])==null?void 0x0:_0xe916eb[_0x45c5db(0x2cb)])==null?void 0x0:_0x31eea9[_0x45c5db(0x22a)](_0xe916eb,_0x24d119);},_0x359aa2['onTransformRemoteChangesetByStateCache']=_0xd6b1ee=>{var _0x5b6176=_0x27e93a,_0x406532,_0x5e7326,_0x130c67;if(!((_0x406532=this['_handlerCallback'])!=null&&_0x406532[_0x5b6176(0x301)]))throw new Error(_0x5b6176(0x178));return(_0x130c67=(_0x5e7326=this[_0x5b6176(0x226)])==null?void 0x0:_0x5e7326[_0x5b6176(0x301)])==null?void 0x0:_0x130c67[_0x5b6176(0x22a)](_0x5e7326,_0xd6b1ee);},_0x359aa2;}async[_0x3cf5cf(0x3d5)](){var _0x58923c=_0x3cf5cf;const _0x23d833=await super['_init']();return this[_0x58923c(0x36a)](this[_0x58923c(0x314)][_0x58923c(0x16a)]((_0x4e40b1,_0x4a04c3)=>{var _0x14906a=_0x58923c;if(_0x4e40b1[_0x14906a(0x412)]!==_0x263fb7[_0x14906a(0x2fa)]||_0x4a04c3!=null&&_0x4a04c3[_0x14906a(0x222)]||_0x4a04c3!=null&&_0x4a04c3[_0x14906a(0x3df)]||_0x4e40b1['id']===_0x101834['id'])return;const _0x164fb6=_0x4e40b1['params'];if((_0x164fb6==null?void 0x0:_0x164fb6[_0x14906a(0x2c4)])!==this['unitID'])return;const _0x475c71=_0x4e40b1,_0x2e6778=this[_0x14906a(0x42e)][_0x14906a(0x1dd)]['fetchThroughInterceptors'](this[_0x14906a(0x42e)][_0x14906a(0x1dd)]['getInterceptPoints']()[_0x14906a(0x2d4)])([_0x475c71],null)||[_0x475c71];this['_onLocalMutation'](_0x2e6778[0x0]);})),_0x23d833;}};St=wt([H(0x3,_0x12820d(_0x29ebe1)),H(0x4,_0x12820d(_0x2580cb)),H(0x5,_0x12820d(_0x367971)),H(0x6,_0x12820d(_0x3816e9)),H(0x7,_0x12820d(ve)),H(0x8,_0x25fad5),H(0x9,_0x35e576),H(0xa,_0x2842df),H(0xb,_0x3d8a9a(ht)),H(0xc,_0x3d8a9a(J))],St);let Et=class extends st{constructor(_0xe6a8bb,_0x82359f,_0x1a059b,_0x82602f,_0x102df1,_0x39f553,_0x2b7e41,_0x261238,_0x428d5c,_0x272d63,_0x489184,_0x2207b2,_0x36e7cb,_0xbe9ce3){var _0x50535b=_0x3cf5cf;super(_0xe6a8bb,_0x1a059b,_0x82359f,_0x82602f,_0x102df1,_0x39f553,_0x2b7e41,_0x428d5c,_0x272d63,_0x489184,_0x2207b2,_0x36e7cb,_0xbe9ce3),this[_0x50535b(0x223)]=_0xe6a8bb,this[_0x50535b(0x412)]=_0x82359f,this[_0x50535b(0x296)]=_0x261238;}[_0x3cf5cf(0x43e)](){var _0x1bab5b=_0x3cf5cf;const _0x11c6a5=super[_0x1bab5b(0x43e)]();return _0x11c6a5[_0x1bab5b(0x2c0)]=_0x559752=>this[_0x1bab5b(0x296)]['transformSelections'](_0x559752),_0x11c6a5;}async[_0x3cf5cf(0x3d5)](){var _0x1b37fd=_0x3cf5cf;const _0x40089a=await super[_0x1b37fd(0x3d5)]();return this[_0x1b37fd(0x36a)](this[_0x1b37fd(0x314)][_0x1b37fd(0x16a)]((_0x413d5f,_0x18d663)=>{var _0x434c59=_0x1b37fd;if(_0x413d5f[_0x434c59(0x412)]!==_0x263fb7[_0x434c59(0x2fa)]||_0x18d663!=null&&_0x18d663['fromCollab']||_0x18d663!=null&&_0x18d663['onlyLocal'])return;const _0x10772c=_0x413d5f[_0x434c59(0x40a)];if((_0x10772c==null?void 0x0:_0x10772c[_0x434c59(0x2c4)])!==this[_0x434c59(0x223)])return;const _0x3992f8=_0x413d5f,_0x7c9428=this[_0x434c59(0x42e)]['interceptor']['fetchThroughInterceptors'](this[_0x434c59(0x42e)][_0x434c59(0x1dd)][_0x434c59(0x14c)]()[_0x434c59(0x2d4)])([_0x3992f8],null)||[_0x3992f8];this[_0x434c59(0x173)](_0x7c9428[0x0]);})),_0x40089a;}};Et=wt([H(0x3,_0x12820d(_0x29ebe1)),H(0x4,_0x12820d(_0x2580cb)),H(0x5,_0x12820d(_0x367971)),H(0x6,_0x12820d(_0x3816e9)),H(0x7,_0x12820d(it)),H(0x8,_0x12820d(ve)),H(0x9,_0x25fad5),H(0xa,_0x35e576),H(0xb,_0x2842df),H(0xc,_0x3d8a9a(ht)),H(0xd,_0x3d8a9a(J))],Et);const js=_0x5d02c6(_0x3cf5cf(0x376));function Fs(_0x16e6c5){var _0x8ae551=_0x3cf5cf,_0x2ffcf5,_0x3c5488,_0x3ee53d,_0x53ad11,_0x2efe63;const _0x11bdbc=_0x16e6c5['data'],_0x49d883=JSON[_0x8ae551(0x3f2)](_0x11bdbc);switch(_0x49d883['cmd']){case F[_0x8ae551(0x21d)]:case F[_0x8ae551(0x156)]:{const _0xfa1041=_0x49d883[_0x8ae551(0x211)];return{..._0x49d883,'data':_0xfa1041,'cmd':_0x49d883[_0x8ae551(0x436)]};}case F[_0x8ae551(0x19a)]:{const _0x4045d8=_0x49d883[_0x8ae551(0x34e)];return{..._0x49d883,'data':_0x4045d8,'cmd':_0x49d883[_0x8ae551(0x436)]};}case F['RECV']:{const _0x1abc36=_0x49d883['collaMsg'];switch(_0x1abc36[_0x8ae551(0x2c8)]){case _0x500e4e[_0x8ae551(0x182)]:return{..._0x49d883,'data':{..._0x1abc36,'data':(_0x2ffcf5=_0x1abc36['permissionRejEvent'])==null?void 0x0:_0x2ffcf5['cs']},'cmd':_0x49d883[_0x8ae551(0x436)]};case _0x500e4e['CHANGESET_ACK']:return{..._0x49d883,'data':{..._0x1abc36,'data':(_0x3c5488=_0x1abc36[_0x8ae551(0x2bc)])==null?void 0x0:_0x3c5488['cs']},'cmd':_0x49d883['cmd']};case _0x500e4e[_0x8ae551(0x19f)]:return{..._0x49d883,'data':{..._0x1abc36,'data':(_0x3ee53d=_0x1abc36['newCsEvent'])==null?void 0x0:_0x3ee53d['cs']},'cmd':_0x49d883['cmd']};case _0x500e4e['CHANGESET_REJ']:return{..._0x49d883,'data':{..._0x1abc36,'data':(_0x53ad11=_0x1abc36[_0x8ae551(0x256)])==null?void 0x0:_0x53ad11['cs']},'cmd':_0x49d883['cmd']};case _0x500e4e[_0x8ae551(0x30c)]:return{..._0x49d883,'data':{..._0x1abc36,'data':(_0x2efe63=_0x1abc36[_0x8ae551(0x212)])==null?void 0x0:_0x2efe63['cs']},'cmd':_0x49d883['cmd']};case _0x500e4e[_0x8ae551(0x2be)]:return{..._0x49d883,'data':{..._0x1abc36,'data':_0x1abc36[_0x8ae551(0x3c6)]},'cmd':_0x49d883[_0x8ae551(0x436)]};case _0x500e4e['USERS_ENTER']:return{..._0x49d883,'data':{..._0x1abc36,'data':_0x1abc36[_0x8ae551(0x1aa)]},'cmd':_0x49d883[_0x8ae551(0x436)]};case _0x500e4e[_0x8ae551(0x2e4)]:return{..._0x49d883,'data':{..._0x1abc36,'data':_0x1abc36[_0x8ae551(0x1f0)]},'cmd':_0x49d883['cmd']};case _0x500e4e[_0x8ae551(0x3ee)]:return{..._0x49d883,'data':{..._0x1abc36,'data':_0x1abc36[_0x8ae551(0x3af)]},'cmd':_0x49d883['cmd']};case _0x500e4e[_0x8ae551(0x1ae)]:case _0x500e4e[_0x8ae551(0x1f6)]:return{..._0x49d883,'data':{..._0x1abc36,'data':_0x1abc36[_0x8ae551(0x252)]},'cmd':_0x49d883[_0x8ae551(0x436)]};case _0x500e4e[_0x8ae551(0x1c6)]:return{..._0x49d883,'data':{..._0x1abc36,'data':_0x1abc36[_0x8ae551(0x3af)]},'cmd':_0x49d883[_0x8ae551(0x436)]};case _0x500e4e[_0x8ae551(0x1b0)]:return{..._0x49d883,'data':_0x1abc36,'cmd':_0x49d883[_0x8ae551(0x436)]};case _0x500e4e[_0x8ae551(0x15f)]:return{..._0x49d883,'data':{..._0x1abc36,'data':_0x1abc36[_0x8ae551(0x3a1)]},'cmd':_0x49d883[_0x8ae551(0x436)]};case _0x500e4e[_0x8ae551(0x1e6)]:return{..._0x49d883,'data':{..._0x1abc36,'data':_0x1abc36[_0x8ae551(0x3c2)]},'cmd':_0x49d883['cmd']};case _0x500e4e[_0x8ae551(0x2ba)]:return{..._0x49d883,'data':{..._0x1abc36,'data':_0x1abc36[_0x8ae551(0x346)]},'cmd':_0x49d883[_0x8ae551(0x436)]};case _0x500e4e['UNISCRIPT_RUN']:return{..._0x49d883,'data':{..._0x1abc36,'data':_0x1abc36[_0x8ae551(0x1cf)]},'cmd':_0x49d883[_0x8ae551(0x436)]};default:return _0x49d883;}}default:return _0x49d883;}}function Vs(_0x3b097a){var _0x1d84dd=_0x3cf5cf;switch(_0x3b097a[_0x1d84dd(0x436)]){case F['HEARTBEAT']:case F[_0x1d84dd(0x156)]:return JSON[_0x1d84dd(0x378)]({'cmd':_0x3b097a['cmd'],'routeKey':_0x3b097a[_0x1d84dd(0x3fd)]});case F[_0x1d84dd(0x2dc)]:{let _0x49679d;switch(_0x3b097a[_0x1d84dd(0x2f7)][_0x1d84dd(0x2c8)]){case _0x500e4e['UPDATE_CURSOR']:{_0x49679d={'eventID':_0x500e4e[_0x1d84dd(0x2be)],'updateCursorEvent':_0x3b097a['data'][_0x1d84dd(0x2f7)]};break;}case _0x500e4e[_0x1d84dd(0x2e4)]:{_0x49679d={'eventID':_0x500e4e['USERS_LEAVE'],'leaveEvent':_0x3b097a['data']['data']};break;}case _0x500e4e[_0x1d84dd(0x2ee)]:{_0x49679d={'eventID':_0x500e4e[_0x1d84dd(0x2ee)],'joinEvent':_0x3b097a[_0x1d84dd(0x2f7)]['data']};break;}case _0x500e4e['LIVESHARE_NEW_HOST']:{_0x49679d={'eventID':_0x500e4e[_0x1d84dd(0x3ee)],'liveShareNewHost':_0x3b097a[_0x1d84dd(0x2f7)][_0x1d84dd(0x2f7)]};break;}case _0x500e4e[_0x1d84dd(0x1f6)]:{_0x49679d={'eventID':_0x500e4e[_0x1d84dd(0x1f6)],'liveShareOperation':_0x3b097a['data']['data']};break;}case _0x500e4e['LIVESHARE_TERMINATE']:{_0x49679d={'eventID':_0x500e4e[_0x1d84dd(0x1c6)],'liveShareTerminate':_0x3b097a[_0x1d84dd(0x2f7)][_0x1d84dd(0x2f7)]};break;}case _0x500e4e[_0x1d84dd(0x316)]:{_0x49679d={'eventID':_0x500e4e[_0x1d84dd(0x316)],'liveShareRequestHost':_0x3b097a[_0x1d84dd(0x2f7)][_0x1d84dd(0x2f7)]};break;}case _0x500e4e[_0x1d84dd(0x1ae)]:{_0x49679d={'eventID':_0x500e4e['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x49679d={'eventID':_0x3b097a['data']['eventID']};}return JSON[_0x1d84dd(0x378)]({'cmd':_0x3b097a['cmd'],'routeKey':_0x3b097a[_0x1d84dd(0x3fd)],'collaMsg':_0x49679d});}case F['JOIN']:return JSON[_0x1d84dd(0x378)]({'cmd':_0x3b097a[_0x1d84dd(0x436)],'routeKey':_0x3b097a[_0x1d84dd(0x3fd)],'joinReq':_0x3b097a[_0x1d84dd(0x2f7)]});case F[_0x1d84dd(0x3ed)]:return JSON[_0x1d84dd(0x378)]({'cmd':_0x3b097a['cmd'],'routeKey':_0x3b097a['routeKey'],'leaveReq':_0x3b097a[_0x1d84dd(0x2f7)]});default:throw new Error(_0x1d84dd(0x39e));}}var Ws=Object[_0x3cf5cf(0x1dc)],Gs=(_0x27ed86,_0x25f778,_0x588978,_0x38ff4f)=>{var _0x4665f1=_0x3cf5cf;for(var _0x2333a7=_0x38ff4f>0x1?void 0x0:_0x38ff4f?Ws(_0x25f778,_0x588978):_0x25f778,_0x1a9ae8=_0x27ed86[_0x4665f1(0x146)]-0x1,_0x47cfc8;_0x1a9ae8>=0x0;_0x1a9ae8--)(_0x47cfc8=_0x27ed86[_0x1a9ae8])&&(_0x2333a7=_0x47cfc8(_0x2333a7)||_0x2333a7);return _0x2333a7;},De=(_0x1346b8,_0x2c568c)=>(_0x487bbf,_0x8b42e2)=>_0x2c568c(_0x487bbf,_0x8b42e2,_0x1346b8);const Ci=_0x5d02c6(_0x3cf5cf(0x32d));function Ys(_0x1acd58,_0x471634,_0x29b0f7){var _0x13f972=_0x3cf5cf;return _0x1acd58+'/'+_0x471634+_0x13f972(0x189)+_0x29b0f7+_0x13f972(0x19d);}let Gt=class extends _0x3b1b66{constructor(_0x17920a,_0x5f279a,_0x62fdbc,_0x56bd47,_0x1eb564){var _0x55dd09=_0x3cf5cf;super(),this[_0x55dd09(0x204)]=_0x17920a,this[_0x55dd09(0x3c0)]=_0x5f279a,this['_configService']=_0x62fdbc,this[_0x55dd09(0x35e)]=_0x56bd47,this[_0x55dd09(0x397)]=_0x1eb564;}['_doCreateSocket'](_0x51405c){var _0x15bd0f=_0x3cf5cf;const _0x2cea2e=this[_0x15bd0f(0x204)][_0x15bd0f(0x24d)](_0x28a538);if(!_0x2cea2e)throw new Error(_0x15bd0f(0x2ca));const _0x475ff2=_0x2cea2e[_0x15bd0f(0x401)](_0x51405c);if(!_0x475ff2)throw new Error(_0x15bd0f(0x276));const _0x475626=new _0xcb61f3(),_0x21324c=new _0x87fa09();_0x475626[_0x15bd0f(0x3e2)](_0x475ff2['close$'][_0x15bd0f(0x1d4)](_0x4ac726=>_0x21324c[_0x15bd0f(0x33b)](_0x4ac726))),_0x475626['add'](_0x1f05c5(()=>_0x21324c[_0x15bd0f(0x1d7)]()));const _0x139430=new _0x87fa09();_0x475626[_0x15bd0f(0x3e2)](_0x475ff2['error$'][_0x15bd0f(0x1d4)](_0x58d058=>_0x139430[_0x15bd0f(0x33b)](_0x58d058))),_0x475626[_0x15bd0f(0x3e2)](_0x1f05c5(()=>_0x139430['complete']()));const _0x3d51a8=new _0x87fa09();_0x475626[_0x15bd0f(0x3e2)](_0x475ff2[_0x15bd0f(0x15a)][_0x15bd0f(0x1d4)](_0x426623=>{const _0x3301ab=Fs(_0x426623);_0x3d51a8['next'](_0x3301ab);})),_0x475626[_0x15bd0f(0x3e2)](_0x1f05c5(()=>_0x3d51a8[_0x15bd0f(0x1d7)]()));let _0x1cdf59;const _0x34c179=()=>{var _0x4dd3ea=_0x15bd0f;_0x139430[_0x4dd3ea(0x33b)](new Event(_0x4dd3ea(0x193))),_0x21324c['next'](new Event(_0x4dd3ea(0x193))),_0x1cdf59[_0x4dd3ea(0x42c)]();};return _0x1cdf59={'memberID':'','close$':_0x21324c[_0x15bd0f(0x2a1)](),'error$':_0x139430[_0x15bd0f(0x2a1)](),'open$':_0x475ff2[_0x15bd0f(0x3a2)],'message$':_0x3d51a8[_0x15bd0f(0x2a1)](),'send':_0xf0e286=>{var _0x5a2ca2=_0x15bd0f;if(_0xf0e286[_0x5a2ca2(0x436)]===F[_0x5a2ca2(0x2dc)]){if(_0xf0e286[_0x5a2ca2(0x2f7)]['eventID']===_0x500e4e[_0x5a2ca2(0x322)]){this[_0x5a2ca2(0x1f1)](_0x1cdf59,_0xf0e286['data'])['catch'](_0x4b1a09=>{var _0x46a934=_0x5a2ca2;this[_0x46a934(0x35e)]['error'](_0x4b1a09),_0x34c179();});return;}if(_0xf0e286[_0x5a2ca2(0x2f7)]['eventID']===_0x500e4e[_0x5a2ca2(0x427)]){const _0x37fdf6=_0xf0e286['data'];this['_fetchMissChangesets'](_0x37fdf6)['then'](_0x52a4e0=>{var _0x5cc092=_0x5a2ca2;_0x3d51a8[_0x5cc092(0x33b)]({'cmd':F[_0x5cc092(0x190)],'code':pe['OK'],'routeKey':_0x37fdf6[_0x5cc092(0x2f7)][_0x5cc092(0x223)],'routeType':'','data':{'eventID':_0x500e4e[_0x5cc092(0x381)],'data':{'changesets':_0x52a4e0}}});})[_0x5a2ca2(0x2fd)](_0x2baf00=>{var _0x45cfc3=_0x5a2ca2;this['_logService'][_0x45cfc3(0x3a6)](_0x2baf00),_0x34c179();});return;}}_0x475ff2['send'](Vs(_0xf0e286));},'close':()=>{var _0x19ce69=_0x15bd0f;_0x475ff2['close'](),_0x475626[_0x19ce69(0x255)]();}},_0x1cdf59;}async[_0x3cf5cf(0x1f1)](_0xda3625,_0x4858e2){var _0x4d3f6f=_0x3cf5cf,_0x5f3754;const {unitType:_0x1a218c,unitID:_0x276487,changeset:_0x4abd72}=_0x4858e2['data'],_0x4a5e84={'unitID':_0x276487,'memberID':_0xda3625[_0x4d3f6f(0x3bb)],'type':_0x1a218c,'changeset':_0xdb7472(_0x4abd72)},_0x1e8afd=this[_0x4d3f6f(0x2a6)][_0x4d3f6f(0x342)](K),_0x597291=Ys((_0x5f3754=_0x1e8afd==null?void 0x0:_0x1e8afd[_0x4d3f6f(0x149)])!=null?_0x5f3754:Cs,_0x1a218c,_0x276487);try{await this[_0x4d3f6f(0x3c0)][_0x4d3f6f(0x291)](_0x597291,{'body':_0x4a5e84});}catch(_0x1a5642){throw this[_0x4d3f6f(0x35e)]['error'](_0x4d3f6f(0x3d2),_0x4d3f6f(0x150)),_0x1a5642;}}async[_0x3cf5cf(0x3c5)](_0x98fb4a){var _0x224184=_0x3cf5cf;const {unitID:_0x3ec63e,from:_0x30dcdb,to:_0x545bc3,unitType:_0x541776}=_0x98fb4a[_0x224184(0x2f7)];return(await this['_snapshotServerService'][_0x224184(0x1a2)]({'metadata':void 0x0},{'unitID':_0x3ec63e,'type':_0x541776,'from':_0x30dcdb,'to':_0x545bc3}))[_0x224184(0x258)];}};Gt=Gs([De(0x0,_0x12820d(_0x29ebe1)),De(0x1,_0x12820d(_0x5aa5ca)),De(0x2,_0x288419),De(0x3,_0x25fad5),De(0x4,_0x39a9e8)],Gt);var Ks=Object[_0x3cf5cf(0x1dc)],qs=(_0x54ecaa,_0x4947cd,_0x4e03ec,_0x510e9e)=>{var _0x2b0ca1=_0x3cf5cf;for(var _0x378a28=_0x510e9e>0x1?void 0x0:_0x510e9e?Ks(_0x4947cd,_0x4e03ec):_0x4947cd,_0x5947a3=_0x54ecaa[_0x2b0ca1(0x146)]-0x1,_0x5473a9;_0x5947a3>=0x0;_0x5947a3--)(_0x5473a9=_0x54ecaa[_0x5947a3])&&(_0x378a28=_0x5473a9(_0x378a28)||_0x378a28);return _0x378a28;},Re=(_0x4088a2,_0x206f98)=>(_0x41fd4f,_0x184763)=>_0x206f98(_0x41fd4f,_0x184763,_0x4088a2);let Pe=class extends _0x3b1b66{constructor(_0x1abade,_0xbf0bb2,_0x34ca26,_0x309bfa,_0x1df4b0,_0x4296ea){var _0x3c5830=_0x3cf5cf;super(),N(this,_0x3c5830(0x3cc),new _0x542843(void 0x0)),N(this,_0x3c5830(0x3c3),this[_0x3c5830(0x3cc)]['asObservable']()),N(this,'_candidateSocket',null),N(this,'_sessions',new Map()),N(this,'_status$',new _0x542843(ge[_0x3c5830(0x1e2)])),N(this,_0x3c5830(0x34c),this[_0x3c5830(0x380)][_0x3c5830(0x2a1)]()),N(this,_0x3c5830(0x414),!0x1),N(this,_0x3c5830(0x15e)),N(this,_0x3c5830(0x2b4),0x0),N(this,_0x3c5830(0x3a7)),N(this,'_timeoutTimer'),(this[_0x3c5830(0x204)]=_0x1abade,this[_0x3c5830(0x35e)]=_0xbf0bb2,this[_0x3c5830(0x2a6)]=_0x34ca26,this[_0x3c5830(0x31b)]=_0x309bfa,this[_0x3c5830(0x331)]=_0x1df4b0,this['_networkConditionService']=_0x4296ea,this[_0x3c5830(0x183)]());}get['_socket'](){return this['_socket$']['getValue']();}['_listenToNetworkCondition'](){var _0x47d0d8=_0x3cf5cf;this[_0x47d0d8(0x29f)]&&this[_0x47d0d8(0x36a)](this['_networkConditionService'][_0x47d0d8(0x38a)][_0x47d0d8(0x1d4)](_0x27ae9a=>{var _0x407bde=_0x47d0d8;_0x27ae9a&&!this[_0x407bde(0x2ff)]&&this['reconnect'](),_0x27ae9a||this[_0x407bde(0x3d0)]();}));}[_0x3cf5cf(0x255)](){var _0x215662=_0x3cf5cf;super[_0x215662(0x255)](),this[_0x215662(0x3fb)](),this[_0x215662(0x27f)](),this[_0x215662(0x199)](),this['_sessions']['forEach'](_0x1c73ce=>_0x1c73ce[_0x215662(0x255)]()),this[_0x215662(0x159)]['clear'](),this[_0x215662(0x380)]['complete']();}async[_0x3cf5cf(0x3fe)](_0x24278b){var _0x134e4a=_0x3cf5cf;if(this[_0x134e4a(0x159)][_0x134e4a(0x2ae)](_0x24278b))return this['_sessions'][_0x134e4a(0x24d)](_0x24278b);this[_0x134e4a(0x2f5)]();const _0x20e0ca=this[_0x134e4a(0x204)][_0x134e4a(0x282)](gt,_0x24278b,this[_0x134e4a(0x3cc)][_0x134e4a(0x2a1)]());return this[_0x134e4a(0x159)][_0x134e4a(0x195)](_0x24278b,_0x20e0ca),_0x20e0ca;}['closeSession'](_0x3f643c){var _0x1f5596=_0x3cf5cf,_0x33fc6b;const _0x4be813=this[_0x1f5596(0x159)]['get'](_0x3f643c);_0x4be813&&(this[_0x1f5596(0x159)][_0x1f5596(0x434)](_0x3f643c),_0x4be813[_0x1f5596(0x42c)]()),this['_sessions'][_0x1f5596(0x1b1)]||(_0x33fc6b=this[_0x1f5596(0x2ff)])==null||_0x33fc6b[_0x1f5596(0x42c)]();}[_0x3cf5cf(0x393)](){var _0x251de0=_0x3cf5cf;this[_0x251de0(0x2b4)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x251de0(0x3bd)]();}[_0x3cf5cf(0x3fb)](){var _0x1dab0e=_0x3cf5cf;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x1dab0e(0x15e)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x377bc4=_0x3cf5cf,_0x1f8e31;const _0x402691=this[_0x377bc4(0x2a6)][_0x377bc4(0x342)](K),_0x40f226=(_0x1f8e31=_0x402691==null?void 0x0:_0x402691['collabWebSocketUrl'])!=null?_0x1f8e31:ms,_0x4a2f60=await this[_0x377bc4(0x31b)]['createSocket'](_0x40f226);return this[_0x377bc4(0x2c5)]=_0x4a2f60,_0x4a2f60;}async[_0x3cf5cf(0x2f5)](){var _0x3cfd59=_0x3cf5cf,_0x4b2392,_0x323cf6;try{const _0x40e00b=(_0x323cf6=(_0x4b2392=this[_0x3cfd59(0x2ff)])!=null?_0x4b2392:this['_candidateSocket'])!=null?_0x323cf6:await this[_0x3cfd59(0x214)]();if(_0x40e00b){const _0x182d78=_0x40e00b[_0x3cfd59(0x1e1)];_0x40e00b[_0x3cfd59(0x1e1)]=_0x742902=>(this['_rescheduleHeartbeat'](),_0x182d78[_0x3cfd59(0x26e)](_0x40e00b,[_0x742902])),_0x40e00b['message$'][_0x3cfd59(0x1d4)](_0x4f240b=>this[_0x3cfd59(0x262)](_0x40e00b,_0x4f240b)),_0x40e00b[_0x3cfd59(0x2ea)][_0x3cfd59(0x286)](_0x3e31ca(0x1))[_0x3cfd59(0x1d4)](_0x1f538a=>this[_0x3cfd59(0x35e)][_0x3cfd59(0x3a6)]('[CollaborationSessionService]:\x20socket\x20error',_0x1f538a)),_0x40e00b['open$'][_0x3cfd59(0x286)](_0x3e31ca(0x1))['subscribe'](()=>{var _0x1fc9f5=_0x3cfd59;this[_0x1fc9f5(0x1b2)](_0x40e00b);}),_0x40e00b[_0x3cfd59(0x2d5)][_0x3cfd59(0x286)](_0x3e31ca(0x1))[_0x3cfd59(0x1d4)](_0x3dcf1c=>{var _0xe0f1ec=_0x3cfd59;this[_0xe0f1ec(0x35e)][_0xe0f1ec(0x359)](_0xe0f1ec(0x1fa),_0xe0f1ec(0x216),_0x3dcf1c),this[_0xe0f1ec(0x3e6)]();});}}catch(_0x57f9c9){this[_0x3cfd59(0x35e)]['error'](_0x57f9c9),this[_0x3cfd59(0x3e6)]();}}[_0x3cf5cf(0x1b2)](_0x5577b2){var _0x39d344=_0x3cf5cf;this[_0x39d344(0x35e)][_0x39d344(0x359)](_0x39d344(0x1fa),_0x39d344(0x230)),_0x5577b2['send']({'cmd':F['HELLO']}),this[_0x39d344(0x28d)]();}['_onOffline'](){var _0x264eb1=_0x3cf5cf;this[_0x264eb1(0x414)]=!0x1,this['_candidateSocket']=null,this[_0x264eb1(0x380)][_0x264eb1(0x33b)](ge[_0x264eb1(0x394)]),this[_0x264eb1(0x3cc)][_0x264eb1(0x33b)](null),this[_0x264eb1(0x27f)](),this['_clearHeartbeatTimer']();}[_0x3cf5cf(0x3e6)](){var _0x12cfc2=_0x3cf5cf,_0x3db838;this[_0x12cfc2(0x3d0)](),this[_0x12cfc2(0x2b4)]<((_0x3db838=this[_0x12cfc2(0x2a6)][_0x12cfc2(0x342)](Is))!=null?_0x3db838:Ts)?(this['_collaborationUIEventService'][_0x12cfc2(0x2e5)]({'id':ne[_0x12cfc2(0x2bf)]}),this[_0x12cfc2(0x3bd)]()):this[_0x12cfc2(0x331)][_0x12cfc2(0x2e5)]({'id':ne[_0x12cfc2(0x2b3)]});}[_0x3cf5cf(0x3bd)](){var _0x1fc4f0=_0x3cf5cf,_0x5e161d;const _0x107414=this[_0x1fc4f0(0x2b4)],_0x3e684b=this['_configService'][_0x1fc4f0(0x342)](K),_0x2c52ef=_0x107414===0x0?0x0:((_0x5e161d=_0x3e684b==null?void 0x0:_0x3e684b[_0x1fc4f0(0x2e0)])!=null?_0x5e161d:Es)*0x2**_0x107414;this[_0x1fc4f0(0x15e)]=setTimeout(()=>{var _0x4e3a76=_0x1fc4f0;clearTimeout(this[_0x4e3a76(0x15e)]),this[_0x4e3a76(0x15e)]=null,this['_tryEnsureSocket']();},_0x2c52ef),this[_0x1fc4f0(0x2b4)]+=0x1;}[_0x3cf5cf(0x262)](_0x42ceaa,_0x463f82){var _0x520a7b=_0x3cf5cf;const {cmd:_0x389cdd}=_0x463f82;_0x389cdd===F[_0x520a7b(0x156)]&&!this['_socketReady']&&(_0x42ceaa['memberID']=_0x463f82[_0x520a7b(0x2f7)]['memberID'],this['_socket$'][_0x520a7b(0x33b)](_0x42ceaa),this[_0x520a7b(0x380)]['next'](ge[_0x520a7b(0x19e)]),this[_0x520a7b(0x414)]=!0x0,this[_0x520a7b(0x2c5)]=null),_0x389cdd===F[_0x520a7b(0x21d)]&&this[_0x520a7b(0x27f)](),this[_0x520a7b(0x28d)]();}[_0x3cf5cf(0x28d)](){var _0x5c40a0=_0x3cf5cf,_0x4ddb77;this[_0x5c40a0(0x199)](),this[_0x5c40a0(0x3a7)]=setTimeout(()=>this[_0x5c40a0(0x3ab)](),(_0x4ddb77=this[_0x5c40a0(0x2a6)]['getConfig'](gs))!=null?_0x4ddb77:Ss);}[_0x3cf5cf(0x3ab)](){var _0x268052=_0x3cf5cf;this[_0x268052(0x2ff)][_0x268052(0x1e1)]({'cmd':F[_0x268052(0x21d)]}),this[_0x268052(0x1f3)]();}[_0x3cf5cf(0x1f3)](){var _0x29edec=_0x3cf5cf,_0x1c893b;this[_0x29edec(0x43b)]=setTimeout(()=>this[_0x29edec(0x3e6)](),(_0x1c893b=this[_0x29edec(0x2a6)][_0x29edec(0x342)](di))!=null?_0x1c893b:fi);}[_0x3cf5cf(0x199)](){var _0xbd53e6=_0x3cf5cf;this[_0xbd53e6(0x3a7)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x3cf5cf(0x27f)](){var _0x47778f=_0x3cf5cf;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x47778f(0x43b)]=null);}};Pe=qs([Re(0x0,_0x12820d(_0x29ebe1)),Re(0x1,_0x25fad5),Re(0x2,_0x288419),Re(0x3,Ci),Re(0x4,_0x12820d(ve)),Re(0x5,_0x3d8a9a(js))],Pe);var zs=Object['getOwnPropertyDescriptor'],Js=(_0x1aaec0,_0x598d77,_0x18b08b,_0x335bb3)=>{var _0x27e796=_0x3cf5cf;for(var _0x3e65c0=_0x335bb3>0x1?void 0x0:_0x335bb3?zs(_0x598d77,_0x18b08b):_0x598d77,_0x39841a=_0x1aaec0[_0x27e796(0x146)]-0x1,_0x350e41;_0x39841a>=0x0;_0x39841a--)(_0x350e41=_0x1aaec0[_0x39841a])&&(_0x3e65c0=_0x350e41(_0x3e65c0)||_0x3e65c0);return _0x3e65c0;},Be=(_0xdf75b4,_0x45f00d)=>(_0x527498,_0x429c64)=>_0x45f00d(_0x527498,_0x429c64,_0xdf75b4);let nt=class extends _0x193882{constructor(_0x5d54f9,_0x3b2cbe,_0x4b0adf,_0x3d2366){var _0x56777c=_0x3cf5cf,_0x714b1b;super(),N(this,_0x56777c(0x1b9),new Map()),N(this,'_entityInit$',new _0x87fa09()),N(this,'entityInit$',this[_0x56777c(0x1da)][_0x56777c(0x2a1)]()),(this['_injector']=_0x5d54f9,this[_0x56777c(0x185)]=_0x3b2cbe,this['_configService']=_0x4b0adf,this[_0x56777c(0x257)]=_0x3d2366,((_0x714b1b=this[_0x56777c(0x2a6)][_0x56777c(0x342)](K))==null?void 0x0:_0x714b1b['enableCollaboration'])!==!0x1&&this[_0x56777c(0x3d5)]());}['dispose'](){var _0x5936db=_0x3cf5cf;super[_0x5936db(0x255)](),this[_0x5936db(0x1b9)][_0x5936db(0x360)](_0x10409e=>_0x10409e[_0x5936db(0x255)]()),this[_0x5936db(0x1b9)][_0x5936db(0x336)]();}[_0x3cf5cf(0x163)](_0x1cc974){var _0x5f4f12=_0x3cf5cf,_0x1993bc;return(_0x1993bc=this['_entities'][_0x5f4f12(0x24d)](_0x1cc974))!=null?_0x1993bc:null;}[_0x3cf5cf(0x22f)](_0x450c59){var _0x4282c3=_0x3cf5cf;const _0x17626f=this[_0x4282c3(0x163)](_0x450c59);return _0x17626f?_0x261eb4(_0x17626f):this[_0x4282c3(0x1da)]['pipe'](_0x56c61e(_0x41bb63=>_0x41bb63['unitID']===_0x450c59));}[_0x3cf5cf(0x2dd)](_0x63c880){var _0xe32529=_0x3cf5cf;return _0x2c843e(this[_0xe32529(0x22f)](_0x63c880)[_0xe32529(0x286)](_0x57a7d9(()=>{})));}['_init'](){var _0x5630eb=_0x3cf5cf;this[_0x5630eb(0x257)][_0x5630eb(0x1b6)](_0x16ae93['UNIVER_SHEET'])[_0x5630eb(0x286)](_0x423904(this[_0x5630eb(0x302)]),_0x18224c(0x10))[_0x5630eb(0x1d4)](async _0x106155=>{var _0xcbaa18=_0x5630eb;const _0xed10d2=_0x106155[_0xcbaa18(0x23b)](),_0x11b956=await this[_0xcbaa18(0x369)](_0xed10d2,Z[_0xcbaa18(0x202)]);this[_0xcbaa18(0x1b9)][_0xcbaa18(0x195)](_0xed10d2,_0x11b956);}),this['_univerInstanceService'][_0x5630eb(0x1b6)](_0x16ae93[_0x5630eb(0x3f5)])[_0x5630eb(0x286)](_0x423904(this[_0x5630eb(0x302)]),_0x18224c(0x10))[_0x5630eb(0x286)](_0x56c61e(_0x3ee1de=>!_0x3ee1de[_0x5630eb(0x23b)]()[_0x5630eb(0x386)]('__')))[_0x5630eb(0x1d4)](async _0x9c7063=>{var _0x308eed=_0x5630eb;const _0x4bf78c=_0x9c7063[_0x308eed(0x23b)](),_0x1e800a=await this['_startCollaboration'](_0x4bf78c,Z[_0x308eed(0x3f5)]);this[_0x308eed(0x1b9)][_0x308eed(0x195)](_0x4bf78c,_0x1e800a);}),_0x33440c(this[_0x5630eb(0x257)][_0x5630eb(0x315)](_0x16ae93[_0x5630eb(0x202)]),this[_0x5630eb(0x257)][_0x5630eb(0x315)](_0x16ae93[_0x5630eb(0x3f5)]))[_0x5630eb(0x286)](_0x423904(this[_0x5630eb(0x302)]))[_0x5630eb(0x1d4)](_0x3073f0=>{var _0x591650=_0x5630eb;const _0x11eaaa=_0x3073f0[_0x591650(0x23b)](),_0x196b1a=this['_entities'][_0x591650(0x24d)](_0x11eaaa);_0x196b1a&&(_0x196b1a[_0x591650(0x255)](),this['_entities']['delete'](_0x11eaaa));});}async[_0x3cf5cf(0x369)](_0x4e1377,_0x3b4c27){var _0x598962=_0x3cf5cf;const _0x2f244f=await this[_0x598962(0x185)][_0x598962(0x3fe)](_0x4e1377),_0x5f35ce=this['_injector'][_0x598962(0x282)](this[_0x598962(0x413)](_0x3b4c27),_0x4e1377,_0x3b4c27,_0x2f244f);return await _0x5f35ce['init'](),this[_0x598962(0x1da)][_0x598962(0x33b)](_0x5f35ce),_0x5f35ce;}[_0x3cf5cf(0x413)](_0x244684){var _0x27d720=_0x3cf5cf;switch(_0x244684){case Z[_0x27d720(0x3f5)]:return St;case Z['UNIVER_SHEET']:return Et;default:throw new Error(_0x27d720(0x229)+_0x244684);}}};nt=Js([Be(0x0,_0x12820d(_0x29ebe1)),Be(0x1,_0x12820d(Pe)),Be(0x2,_0x288419),Be(0x3,_0x1ddf79)],nt);var Xs=Object[_0x3cf5cf(0x1dc)],Zs=(_0x352a81,_0x51d330,_0x4543d5,_0x3c0483)=>{var _0x23a330=_0x3cf5cf;for(var _0x4403d3=_0x3c0483>0x1?void 0x0:_0x3c0483?Xs(_0x51d330,_0x4543d5):_0x51d330,_0x94f077=_0x352a81[_0x23a330(0x146)]-0x1,_0x2a533b;_0x94f077>=0x0;_0x94f077--)(_0x2a533b=_0x352a81[_0x94f077])&&(_0x4403d3=_0x2a533b(_0x4403d3)||_0x4403d3);return _0x4403d3;},Yt=(_0x370122,_0x1badef)=>(_0x19da2f,_0x314506)=>_0x1badef(_0x19da2f,_0x314506,_0x370122);const Qs=_0x3cf5cf(0x31f),en='Univer';let It=class extends _0x3b1b66{constructor(_0x1df8a9,_0x5b88d9){var _0x265516=_0x3cf5cf;super(),this[_0x265516(0x257)]=_0x1df8a9,this[_0x265516(0x2a6)]=_0x5b88d9,this[_0x265516(0x3d5)]();}[_0x3cf5cf(0x3d5)](){var _0x1ff641=_0x3cf5cf;this[_0x1ff641(0x36a)](this[_0x1ff641(0x257)][_0x1ff641(0x1fc)][_0x1ff641(0x1d4)](()=>{var _0x395ca5=_0x1ff641,_0x3d8297;const _0x130d40=this[_0x395ca5(0x257)][_0x395ca5(0x415)]();let _0x5859eb=(_0x3d8297=this['_configService'][_0x395ca5(0x342)](Qs))!=null?_0x3d8297:en;_0x130d40 instanceof _0x43305b&&(_0x5859eb=_0x130d40[_0x395ca5(0x3c7)]),document['title']=_0x5859eb;}));}};It=Zs([Yt(0x0,_0x1ddf79),Yt(0x1,_0x288419)],It);var tn=Object[_0x3cf5cf(0x1dc)],sn=(_0x15972a,_0x16e298,_0x3a2487,_0x2e9862)=>{for(var _0x360d4d=_0x2e9862>0x1?void 0x0:_0x2e9862?tn(_0x16e298,_0x3a2487):_0x16e298,_0x35e7a6=_0x15972a['length']-0x1,_0x1fb9f9;_0x35e7a6>=0x0;_0x35e7a6--)(_0x1fb9f9=_0x15972a[_0x35e7a6])&&(_0x360d4d=_0x1fb9f9(_0x360d4d)||_0x360d4d);return _0x360d4d;},dt=(_0x5efb5a,_0x32f446)=>(_0x37710f,_0x8d63f0)=>_0x32f446(_0x37710f,_0x8d63f0,_0x5efb5a);let rt=class{constructor(_0x5a34dd,_0x1c44a0,_0x41764f){var _0x1f628d=_0x3cf5cf;this[_0x1f628d(0x2a6)]=_0x5a34dd,this[_0x1f628d(0x3c0)]=_0x1c44a0,this[_0x1f628d(0x1d0)]=_0x41764f,this['init']();}[_0x3cf5cf(0x2e7)](){var _0x21a062=_0x3cf5cf;this[_0x21a062(0x3c0)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x1643cb,_0x3eeba2)=>_0x3eeba2(_0x1643cb)['pipe'](_0x206488(async _0x43792d=>{var _0xd089f3=_0x21a062;const _0x18de9d=_0x43792d;if(_0x18de9d[_0xd089f3(0x1ce)]===0x191){if(typeof window>'u')throw new Error(_0xd089f3(0x16d));if(window['confirm'](this['localeService']['t'](_0xd089f3(0x16f)))){const _0x2e7cd7=window['encodeURIComponent'](window[_0xd089f3(0x249)][_0xd089f3(0x28e)]);window[_0xd089f3(0x249)][_0xd089f3(0x28e)]=this['_getLoginPath']()+_0xd089f3(0x20d)+_0x2e7cd7;}}return _0x18de9d;}))});}[_0x3cf5cf(0x1cc)](){var _0x4e9b26=_0x3cf5cf,_0x6bfd2a;const _0x3b8d72=this[_0x4e9b26(0x2a6)][_0x4e9b26(0x342)](K);return(_0x6bfd2a=_0x3b8d72==null?void 0x0:_0x3b8d72[_0x4e9b26(0x328)])!=null?_0x6bfd2a:Rs;}};rt=sn([dt(0x0,_0x288419),dt(0x1,_0x12820d(_0x5aa5ca)),dt(0x2,_0x12820d(_0x367971))],rt);var nn=Object[_0x3cf5cf(0x1dc)],rn=(_0x20216c,_0x9af5d2,_0x212b7a,_0x69d935)=>{var _0x554280=_0x3cf5cf;for(var _0x5ede05=_0x69d935>0x1?void 0x0:_0x69d935?nn(_0x9af5d2,_0x212b7a):_0x9af5d2,_0x324c27=_0x20216c[_0x554280(0x146)]-0x1,_0x321b60;_0x324c27>=0x0;_0x324c27--)(_0x321b60=_0x20216c[_0x324c27])&&(_0x5ede05=_0x321b60(_0x5ede05)||_0x5ede05);return _0x5ede05;},Kt=(_0x5093a1,_0x1eab89)=>(_0x254616,_0x3fe3d6)=>_0x1eab89(_0x254616,_0x3fe3d6,_0x5093a1);const an=_0x3cf5cf(0x373);let Tt=class extends _0x3b1b66{constructor(_0x4c0d4a,_0x117f51){var _0x3c1938=_0x3cf5cf;super(),this[_0x3c1938(0x37d)]=_0x4c0d4a,this[_0x3c1938(0x2a6)]=_0x117f51,this[_0x3c1938(0x2de)]();}[_0x3cf5cf(0x2de)](){var _0x113e1e=_0x3cf5cf;const _0x23c264=this;this[_0x113e1e(0x36a)](this[_0x113e1e(0x37d)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x2203ec({'isMatch'(_0x142fc8){var _0x209b4b=_0x113e1e,_0x5e0b5b;if(_0x142fc8[_0x209b4b(0x2ac)]===_0x209b4b(0x42d)&&((_0x5e0b5b=_0x142fc8[_0x209b4b(0x333)])!=null&&_0x5e0b5b[_0x209b4b(0x403)])){const {objectID:_0x1d65e2,objectType:_0x398b58}=_0x142fc8[_0x209b4b(0x333)]['body']||{};if(!_0x1d65e2||_0x398b58===void 0x0)return!0x1;const _0x3caef6=_0x23c264[_0x209b4b(0x2ce)]()+'/'+_0x398b58+_0x209b4b(0x19b)+_0x1d65e2+_0x209b4b(0x32c);if(_0x142fc8[_0x209b4b(0x2da)]===_0x3caef6)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x311dcb){var _0xceddeb=_0x113e1e,_0x3a05b9;return(_0x3a05b9=_0x311dcb['requestParams'])==null?void 0x0:_0x3a05b9[_0xceddeb(0x403)];},'mergeParamsToRequest'(_0x2dc47d,_0x58a57c){var _0x49e8a6=_0x113e1e;const _0x13639c=_0x23c264[_0x49e8a6(0x2ce)]()+'/-/object/-/batch_allowed',_0xeb810f=_0x2dc47d[_0x49e8a6(0x3d8)]((_0xa6d82f,_0x371b83)=>{var _0x2d41f9=_0x49e8a6;const {unitID:_0x3d3b31,objectID:_0x57eecb,objectType:_0x63af69,actions:_0x17c454}=_0x371b83;return _0xa6d82f[_0x3d3b31]||(_0xa6d82f[_0x3d3b31]={}),_0xa6d82f[_0x3d3b31][_0x57eecb]||(_0xa6d82f[_0x3d3b31][_0x57eecb]={'objectID':_0x57eecb,'objectType':_0x63af69,'actions':[]}),_0xa6d82f[_0x3d3b31][_0x57eecb][_0x2d41f9(0x3b1)][_0x2d41f9(0x2c6)](..._0x17c454),_0xa6d82f;},{}),_0xc114a3=[];for(const _0x4d4a65 in _0xeb810f)for(const _0x3ceefc in _0xeb810f[_0x4d4a65]){const {actions:_0x350458,objectType:_0x3ee500}=_0xeb810f[_0x4d4a65][_0x3ceefc],_0x372094=[...new Set(_0x350458)];_0xc114a3[_0x49e8a6(0x2c6)]({'unitID':_0x4d4a65,'objectID':_0x3ceefc,'objectType':_0x3ee500,'actions':_0x372094});}return new _0x5e59d8(_0x49e8a6(0x42d),_0x13639c,{'headers':_0x58a57c['headers'],'withCredentials':_0x58a57c[_0x49e8a6(0x43d)],'responseType':_0x58a57c['responseType'],'body':{'requests':_0xc114a3}});}},{'distributeResult'(_0xeb59f6,_0x29c9fb){var _0x890d5e=_0x113e1e;const {objectActions:_0x32cf3c}=_0xeb59f6;return _0x29c9fb[_0x890d5e(0x36f)](_0x25fc56=>{var _0x32f773=_0x890d5e;const {unitID:_0x2a7996,objectID:_0xf06631,actions:_0x461723}=_0x25fc56,_0x776450=_0x32cf3c[_0x32f773(0x27d)](_0x231cc8=>_0x231cc8['unitID']===_0x2a7996&&_0x231cc8[_0x32f773(0x26b)]===_0xf06631),_0x8b9648=_0x461723[_0x32f773(0x36f)](_0x3ea6ee=>_0x776450==null?void 0x0:_0x776450[_0x32f773(0x3b1)][_0x32f773(0x27d)](_0x1a7d13=>_0x1a7d13['action']===_0x3ea6ee))[_0x32f773(0x2d3)](_0x3844b0=>!!_0x3844b0);return{'config':_0x25fc56,'result':{'actions':_0x8b9648,'error':_0xeb59f6[_0x32f773(0x3a6)]}};});}})}));}[_0x3cf5cf(0x2ce)](){var _0x2a98b1=_0x3cf5cf,_0x3d2b26;const _0x77f1d9=this[_0x2a98b1(0x2a6)]['getConfig'](K);return(_0x3d2b26=_0x77f1d9==null?void 0x0:_0x77f1d9[_0x2a98b1(0x390)])!=null?_0x3d2b26:an;}async[_0x3cf5cf(0x423)](_0x928b55){var _0x3ee78e=_0x3cf5cf;const _0x3eb2ed=this[_0x3ee78e(0x2ce)]()+'/'+_0x928b55['objectType']+_0x3ee78e(0x2c1);return(await this[_0x3ee78e(0x37d)]['post'](_0x3eb2ed,{'body':_0x928b55}))[_0x3ee78e(0x403)][_0x3ee78e(0x26b)]||'';}async[_0x3cf5cf(0x411)](_0xc153a2){var _0x4ad1c9=_0x3cf5cf;const _0x38eda6=this['_getAPIPrefixPath']()+_0x4ad1c9(0x1a8);return(await this[_0x4ad1c9(0x37d)][_0x4ad1c9(0x291)](_0x38eda6,{'body':_0xc153a2}))[_0x4ad1c9(0x403)]['objects'];}async['update'](_0x1f9886){var _0x1449fb=_0x3cf5cf,_0x4eef79,_0x2faf24;const _0x40c008=this[_0x1449fb(0x2ce)]()+'/'+_0x1f9886[_0x1449fb(0x437)]+_0x1449fb(0x19b)+_0x1f9886[_0x1449fb(0x26b)],_0x1f62b8=await this[_0x1449fb(0x37d)][_0x1449fb(0x210)](_0x40c008,{'body':_0x1f9886});if(((_0x2faf24=(_0x4eef79=_0x1f62b8==null?void 0x0:_0x1f62b8[_0x1449fb(0x403)])==null?void 0x0:_0x4eef79[_0x1449fb(0x3a6)])==null?void 0x0:_0x2faf24[_0x1449fb(0x1e8)])!==0x1)throw new Error(_0x1449fb(0x203));}async[_0x3cf5cf(0x351)](_0x19fa7e){var _0x1bab37=_0x3cf5cf;const _0x15eabf=this[_0x1bab37(0x2ce)]()+'/'+_0x19fa7e['objectType']+'/object/'+_0x19fa7e[_0x1bab37(0x26b)]+'/allowed';return(await this[_0x1bab37(0x37d)][_0x1bab37(0x291)](_0x15eabf,{'body':_0x19fa7e}))[_0x1bab37(0x403)][_0x1bab37(0x3b1)];}async[_0x3cf5cf(0x379)](_0x5745e8){var _0x17740f=_0x3cf5cf;const _0x58aa12=this[_0x17740f(0x2ce)]()+_0x17740f(0x1b3);return(await this[_0x17740f(0x37d)]['post'](_0x58aa12,{'body':{'requests':_0x5745e8}}))[_0x17740f(0x403)][_0x17740f(0x3f8)];}async[_0x3cf5cf(0x2bd)](_0x46f8c0){var _0x53a3bd=_0x3cf5cf;const _0x5d86eb=this[_0x53a3bd(0x2ce)]()+'/'+_0x46f8c0[_0x53a3bd(0x437)]+'/role',_0x4c7c27=await this[_0x53a3bd(0x37d)][_0x53a3bd(0x291)](_0x5d86eb,{'body':_0x46f8c0});return{'roles':_0x4c7c27[_0x53a3bd(0x403)][_0x53a3bd(0x16c)],'actions':_0x4c7c27[_0x53a3bd(0x403)][_0x53a3bd(0x3b1)]};}async[_0x3cf5cf(0x169)](_0x25c72e){var _0x1d156c=_0x3cf5cf;const _0x52dac8=this[_0x1d156c(0x2ce)]()+_0x1d156c(0x30a);await this[_0x1d156c(0x37d)][_0x1d156c(0x434)](_0x52dac8,{'params':{'collaboratorID':_0x25c72e[_0x1d156c(0x3e7)],'objectID':_0x25c72e['objectID'],'unitID':_0x25c72e['unitID']}});}async['updateCollaborator'](_0x45fcc3){var _0x2d2ba6=_0x3cf5cf;const _0x2abec2=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x2d2ba6(0x174)](_0x2abec2,{'body':_0x45fcc3});}async['createCollaborator'](_0x1173d3){var _0x377dac=_0x3cf5cf;const _0x2c047f=this[_0x377dac(0x2ce)]()+_0x377dac(0x30a);await this[_0x377dac(0x37d)]['post'](_0x2c047f,{'body':_0x1173d3});}async[_0x3cf5cf(0x143)](_0x2f6be5){var _0x8caf56=_0x3cf5cf;const _0x38e678=this[_0x8caf56(0x2ce)]()+_0x8caf56(0x30a);return(await this[_0x8caf56(0x37d)][_0x8caf56(0x24d)](_0x38e678,{'params':{'objectID':_0x2f6be5[_0x8caf56(0x26b)],'unitID':_0x2f6be5[_0x8caf56(0x223)]}}))[_0x8caf56(0x403)][_0x8caf56(0x271)];}async['putCollaborators'](_0x3048df){var _0x4b0029=_0x3cf5cf;const _0x350a62=this['_getAPIPrefixPath']()+_0x4b0029(0x30a);await this['_HTTPService'][_0x4b0029(0x210)](_0x350a62,{'body':_0x3048df});}};Tt=rn([Kt(0x0,_0x12820d(_0x5aa5ca)),Kt(0x1,_0x12820d(_0x288419))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x397085){var _0x55367f=_0x3cf5cf;return _0x397085&&_0x397085['__esModule']&&Object[_0x55367f(0x18b)][_0x55367f(0x1e9)][_0x55367f(0x22a)](_0x397085,_0x55367f(0x165))?_0x397085[_0x55367f(0x165)]:_0x397085;}var Ve={'exports':{}};function on(_0x614c6){var _0x532f2a=_0x3cf5cf;throw new Error(_0x532f2a(0x31a)+_0x614c6+_0x532f2a(0x1ba));}var We={'exports':{}},cn=We[_0x3cf5cf(0x1f5)],qt;function te(){var _0x209a17=_0x3cf5cf;return qt||(qt=0x1,function(_0x42ea3d,_0x349992){(function(_0x4f0542,_0xb45e09){var _0x26d6f5=_0x15c9;_0x42ea3d[_0x26d6f5(0x1f5)]=_0xb45e09();}(cn,function(){var _0x758ce8=_0x758ce8||function(_0x24ebfd,_0x2181a8){var _0x339d03=_0x15c9,_0x313143;if(typeof window<'u'&&window['crypto']&&(_0x313143=window[_0x339d03(0x2ec)]),typeof self<'u'&&self[_0x339d03(0x2ec)]&&(_0x313143=self['crypto']),typeof globalThis<'u'&&globalThis[_0x339d03(0x2ec)]&&(_0x313143=globalThis[_0x339d03(0x2ec)]),!_0x313143&&typeof window<'u'&&window[_0x339d03(0x40b)]&&(_0x313143=window[_0x339d03(0x40b)]),!_0x313143&&typeof ft<'u'&&ft[_0x339d03(0x2ec)]&&(_0x313143=ft[_0x339d03(0x2ec)]),!_0x313143&&typeof on=='function')try{_0x313143=require('crypto');}catch{}var _0x340a61=function(){var _0x5c3de5=_0x339d03;if(_0x313143){if(typeof _0x313143['getRandomValues']==_0x5c3de5(0x263))try{return _0x313143[_0x5c3de5(0x3e3)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x313143[_0x5c3de5(0x1ff)]==_0x5c3de5(0x263))try{return _0x313143['randomBytes'](0x4)[_0x5c3de5(0x177)]();}catch{}}throw new Error(_0x5c3de5(0x2a0));},_0x201b12=Object['create']||(function(){function _0x1579b1(){}return function(_0x1bb7dc){var _0x256a1e=_0x15c9,_0x2facf5;return _0x1579b1['prototype']=_0x1bb7dc,_0x2facf5=new _0x1579b1(),_0x1579b1[_0x256a1e(0x18b)]=null,_0x2facf5;};}()),_0x5c6aa3={},_0x501e2f=_0x5c6aa3[_0x339d03(0x20b)]={},_0x2b3dd0=_0x501e2f['Base']=(function(){return{'extend':function(_0x970a82){var _0x3dbba9=_0x15c9,_0x3e5b25=_0x201b12(this);return _0x970a82&&_0x3e5b25[_0x3dbba9(0x164)](_0x970a82),(!_0x3e5b25[_0x3dbba9(0x1e9)](_0x3dbba9(0x2e7))||this[_0x3dbba9(0x2e7)]===_0x3e5b25[_0x3dbba9(0x2e7)])&&(_0x3e5b25[_0x3dbba9(0x2e7)]=function(){var _0xa7321f=_0x3dbba9;_0x3e5b25[_0xa7321f(0x2d0)][_0xa7321f(0x2e7)][_0xa7321f(0x26e)](this,arguments);}),_0x3e5b25[_0x3dbba9(0x2e7)][_0x3dbba9(0x18b)]=_0x3e5b25,_0x3e5b25['$super']=this,_0x3e5b25;},'create':function(){var _0x130bc7=_0x15c9,_0x26aea2=this[_0x130bc7(0x155)]();return _0x26aea2['init'][_0x130bc7(0x26e)](_0x26aea2,arguments),_0x26aea2;},'init':function(){},'mixIn':function(_0x1bb1fe){var _0x38e7af=_0x15c9;for(var _0xe5673b in _0x1bb1fe)_0x1bb1fe[_0x38e7af(0x1e9)](_0xe5673b)&&(this[_0xe5673b]=_0x1bb1fe[_0xe5673b]);_0x1bb1fe[_0x38e7af(0x1e9)]('toString')&&(this['toString']=_0x1bb1fe['toString']);},'clone':function(){var _0x2d82ad=_0x15c9;return this['init']['prototype'][_0x2d82ad(0x155)](this);}};}()),_0x2107ee=_0x501e2f[_0x339d03(0x245)]=_0x2b3dd0['extend']({'init':function(_0x1d5982,_0x36acd7){var _0x40480b=_0x339d03;_0x1d5982=this[_0x40480b(0x261)]=_0x1d5982||[],_0x36acd7!=_0x2181a8?this['sigBytes']=_0x36acd7:this[_0x40480b(0x34d)]=_0x1d5982[_0x40480b(0x146)]*0x4;},'toString':function(_0x537cb9){return(_0x537cb9||_0x327d7f)['stringify'](this);},'concat':function(_0x48d854){var _0x3b0af0=_0x339d03,_0x47a857=this['words'],_0x435f45=_0x48d854['words'],_0x38695a=this[_0x3b0af0(0x34d)],_0x49b2aa=_0x48d854['sigBytes'];if(this[_0x3b0af0(0x42f)](),_0x38695a%0x4)for(var _0x5d164a=0x0;_0x5d164a<_0x49b2aa;_0x5d164a++){var _0x58dfba=_0x435f45[_0x5d164a>>>0x2]>>>0x18-_0x5d164a%0x4*0x8&0xff;_0x47a857[_0x38695a+_0x5d164a>>>0x2]|=_0x58dfba<<0x18-(_0x38695a+_0x5d164a)%0x4*0x8;}else{for(var _0x5d8b74=0x0;_0x5d8b74<_0x49b2aa;_0x5d8b74+=0x4)_0x47a857[_0x38695a+_0x5d8b74>>>0x2]=_0x435f45[_0x5d8b74>>>0x2];}return this[_0x3b0af0(0x34d)]+=_0x49b2aa,this;},'clamp':function(){var _0x714a36=_0x339d03,_0x483e08=this[_0x714a36(0x261)],_0x501b99=this[_0x714a36(0x34d)];_0x483e08[_0x501b99>>>0x2]&=0xffffffff<<0x20-_0x501b99%0x4*0x8,_0x483e08[_0x714a36(0x146)]=_0x24ebfd[_0x714a36(0x353)](_0x501b99/0x4);},'clone':function(){var _0x208e3e=_0x339d03,_0x2dcd89=_0x2b3dd0[_0x208e3e(0x306)][_0x208e3e(0x22a)](this);return _0x2dcd89[_0x208e3e(0x261)]=this[_0x208e3e(0x261)]['slice'](0x0),_0x2dcd89;},'random':function(_0xd01fb5){for(var _0x248860=[],_0x4e0ef2=0x0;_0x4e0ef2<_0xd01fb5;_0x4e0ef2+=0x4)_0x248860['push'](_0x340a61());return new _0x2107ee['init'](_0x248860,_0xd01fb5);}}),_0xdb1c05=_0x5c6aa3[_0x339d03(0x18e)]={},_0x327d7f=_0xdb1c05[_0x339d03(0x354)]={'stringify':function(_0x3f2ca8){var _0x3aebf8=_0x339d03;for(var _0xa190b9=_0x3f2ca8['words'],_0x2e4fb3=_0x3f2ca8[_0x3aebf8(0x34d)],_0x4be02b=[],_0x39c715=0x0;_0x39c715<_0x2e4fb3;_0x39c715++){var _0x2a02f=_0xa190b9[_0x39c715>>>0x2]>>>0x18-_0x39c715%0x4*0x8&0xff;_0x4be02b[_0x3aebf8(0x2c6)]((_0x2a02f>>>0x4)[_0x3aebf8(0x23e)](0x10)),_0x4be02b[_0x3aebf8(0x2c6)]((_0x2a02f&0xf)['toString'](0x10));}return _0x4be02b[_0x3aebf8(0x2b2)]('');},'parse':function(_0x4d433b){var _0xba3f0f=_0x339d03;for(var _0x504067=_0x4d433b[_0xba3f0f(0x146)],_0x56f7a7=[],_0x5a5880=0x0;_0x5a5880<_0x504067;_0x5a5880+=0x2)_0x56f7a7[_0x5a5880>>>0x3]|=parseInt(_0x4d433b['substr'](_0x5a5880,0x2),0x10)<<0x18-_0x5a5880%0x8*0x4;return new _0x2107ee[(_0xba3f0f(0x2e7))](_0x56f7a7,_0x504067/0x2);}},_0x4aca25=_0xdb1c05[_0x339d03(0x2d6)]={'stringify':function(_0x4dd0f1){var _0x24657e=_0x339d03;for(var _0x2e5e0a=_0x4dd0f1[_0x24657e(0x261)],_0x270ed3=_0x4dd0f1[_0x24657e(0x34d)],_0x37ec8f=[],_0x1021d3=0x0;_0x1021d3<_0x270ed3;_0x1021d3++){var _0x59cdc1=_0x2e5e0a[_0x1021d3>>>0x2]>>>0x18-_0x1021d3%0x4*0x8&0xff;_0x37ec8f[_0x24657e(0x2c6)](String[_0x24657e(0x33c)](_0x59cdc1));}return _0x37ec8f[_0x24657e(0x2b2)]('');},'parse':function(_0x293815){var _0x3665c1=_0x339d03;for(var _0x1a1912=_0x293815[_0x3665c1(0x146)],_0x1dc53b=[],_0x2c7a89=0x0;_0x2c7a89<_0x1a1912;_0x2c7a89++)_0x1dc53b[_0x2c7a89>>>0x2]|=(_0x293815['charCodeAt'](_0x2c7a89)&0xff)<<0x18-_0x2c7a89%0x4*0x8;return new _0x2107ee[(_0x3665c1(0x2e7))](_0x1dc53b,_0x1a1912);}},_0x55c2bc=_0xdb1c05[_0x339d03(0x2e3)]={'stringify':function(_0x584105){var _0x2fed08=_0x339d03;try{return decodeURIComponent(escape(_0x4aca25[_0x2fed08(0x378)](_0x584105)));}catch{throw new Error(_0x2fed08(0x1cd));}},'parse':function(_0x4a7da4){var _0x5dbd94=_0x339d03;return _0x4aca25[_0x5dbd94(0x3f2)](unescape(encodeURIComponent(_0x4a7da4)));}},_0x119a0e=_0x501e2f[_0x339d03(0x1df)]=_0x2b3dd0['extend']({'reset':function(){var _0x28e13d=_0x339d03;this[_0x28e13d(0x396)]=new _0x2107ee[(_0x28e13d(0x2e7))](),this[_0x28e13d(0x20e)]=0x0;},'_append':function(_0x2814b1){var _0x55c991=_0x339d03;typeof _0x2814b1=='string'&&(_0x2814b1=_0x55c2bc[_0x55c991(0x3f2)](_0x2814b1)),this['_data'][_0x55c991(0x16e)](_0x2814b1),this[_0x55c991(0x20e)]+=_0x2814b1['sigBytes'];},'_process':function(_0x18d0a6){var _0x2578f5=_0x339d03,_0xbd9b6f,_0x3e1d2f=this[_0x2578f5(0x396)],_0x5e17fc=_0x3e1d2f[_0x2578f5(0x261)],_0x54dd6e=_0x3e1d2f[_0x2578f5(0x34d)],_0x1985c3=this[_0x2578f5(0x3de)],_0x5d4c2b=_0x1985c3*0x4,_0x474898=_0x54dd6e/_0x5d4c2b;_0x18d0a6?_0x474898=_0x24ebfd[_0x2578f5(0x353)](_0x474898):_0x474898=_0x24ebfd[_0x2578f5(0x239)]((_0x474898|0x0)-this[_0x2578f5(0x293)],0x0);var _0x1e4331=_0x474898*_0x1985c3,_0x510c28=_0x24ebfd[_0x2578f5(0x3b5)](_0x1e4331*0x4,_0x54dd6e);if(_0x1e4331){for(var _0x181bba=0x0;_0x181bba<_0x1e4331;_0x181bba+=_0x1985c3)this[_0x2578f5(0x318)](_0x5e17fc,_0x181bba);_0xbd9b6f=_0x5e17fc[_0x2578f5(0x170)](0x0,_0x1e4331),_0x3e1d2f[_0x2578f5(0x34d)]-=_0x510c28;}return new _0x2107ee[(_0x2578f5(0x2e7))](_0xbd9b6f,_0x510c28);},'clone':function(){var _0x14d6bb=_0x339d03,_0x41552b=_0x2b3dd0[_0x14d6bb(0x306)]['call'](this);return _0x41552b[_0x14d6bb(0x396)]=this[_0x14d6bb(0x396)][_0x14d6bb(0x306)](),_0x41552b;},'_minBufferSize':0x0});_0x501e2f['Hasher']=_0x119a0e[_0x339d03(0x155)]({'cfg':_0x2b3dd0['extend'](),'init':function(_0x4c1c93){var _0x24ec77=_0x339d03;this[_0x24ec77(0x32b)]=this[_0x24ec77(0x32b)][_0x24ec77(0x155)](_0x4c1c93),this[_0x24ec77(0x37c)]();},'reset':function(){var _0xe97c4b=_0x339d03;_0x119a0e[_0xe97c4b(0x37c)][_0xe97c4b(0x22a)](this),this[_0xe97c4b(0x428)]();},'update':function(_0x42678d){var _0x244b88=_0x339d03;return this[_0x244b88(0x2b0)](_0x42678d),this['_process'](),this;},'finalize':function(_0x4cbfb7){var _0x559ece=_0x339d03;_0x4cbfb7&&this['_append'](_0x4cbfb7);var _0x1507a3=this[_0x559ece(0x3c8)]();return _0x1507a3;},'blockSize':0x10,'_createHelper':function(_0x5e0bce){return function(_0x9447f0,_0xe1a77a){var _0x9a07b8=_0x15c9;return new _0x5e0bce[(_0x9a07b8(0x2e7))](_0xe1a77a)['finalize'](_0x9447f0);};},'_createHmacHelper':function(_0xbf85d3){return function(_0x3e4d61,_0x38ce4e){var _0x51216d=_0x15c9;return new _0x135cfe[(_0x51216d(0x2ad))][(_0x51216d(0x2e7))](_0xbf85d3,_0x38ce4e)['finalize'](_0x3e4d61);};}});var _0x135cfe=_0x5c6aa3[_0x339d03(0x341)]={};return _0x5c6aa3;}(Math);return _0x758ce8;}));}(We)),We[_0x209a17(0x1f5)];}function _0x15c9(_0x11c47e,_0x293fbe){var _0x25e322=_0x25e3();return _0x15c9=function(_0x15c947,_0x56f9fe){_0x15c947=_0x15c947-0x141;var _0x5296cc=_0x25e322[_0x15c947];return _0x5296cc;},_0x15c9(_0x11c47e,_0x293fbe);}var Ge={'exports':{}},hn=Ge[_0x3cf5cf(0x1f5)],zt;function Ri(){var _0x49fa50=_0x3cf5cf;return zt||(zt=0x1,function(_0x59980a,_0x4b76ee){(function(_0x5b4e11,_0x57d5f3){_0x59980a['exports']=_0x57d5f3(te());}(hn,function(_0x41a5ce){var _0x370998=_0x15c9;return(function(){var _0x22650f=_0x15c9,_0x6d404=_0x41a5ce,_0x4e5079=_0x6d404['lib'],_0x2ec543=_0x4e5079[_0x22650f(0x245)],_0x375092=_0x6d404['enc'];_0x375092['Base64']={'stringify':function(_0x1e9052){var _0x1cbf95=_0x22650f,_0x4da743=_0x1e9052[_0x1cbf95(0x261)],_0x58dc1f=_0x1e9052[_0x1cbf95(0x34d)],_0x3da73f=this['_map'];_0x1e9052[_0x1cbf95(0x42f)]();for(var _0x204452=[],_0x1fcfeb=0x0;_0x1fcfeb<_0x58dc1f;_0x1fcfeb+=0x3)for(var _0x15c1f7=_0x4da743[_0x1fcfeb>>>0x2]>>>0x18-_0x1fcfeb%0x4*0x8&0xff,_0x461352=_0x4da743[_0x1fcfeb+0x1>>>0x2]>>>0x18-(_0x1fcfeb+0x1)%0x4*0x8&0xff,_0x58db23=_0x4da743[_0x1fcfeb+0x2>>>0x2]>>>0x18-(_0x1fcfeb+0x2)%0x4*0x8&0xff,_0x220d28=_0x15c1f7<<0x10|_0x461352<<0x8|_0x58db23,_0x26dd8f=0x0;_0x26dd8f<0x4&&_0x1fcfeb+_0x26dd8f*0.75<_0x58dc1f;_0x26dd8f++)_0x204452[_0x1cbf95(0x2c6)](_0x3da73f[_0x1cbf95(0x3b2)](_0x220d28>>>0x6*(0x3-_0x26dd8f)&0x3f));var _0x4d5e54=_0x3da73f['charAt'](0x40);if(_0x4d5e54){for(;_0x204452[_0x1cbf95(0x146)]%0x4;)_0x204452[_0x1cbf95(0x2c6)](_0x4d5e54);}return _0x204452[_0x1cbf95(0x2b2)]('');},'parse':function(_0xe47a95){var _0x516c73=_0x22650f,_0x45d23c=_0xe47a95[_0x516c73(0x146)],_0x7065a4=this['_map'],_0xe70824=this[_0x516c73(0x3fc)];if(!_0xe70824){_0xe70824=this[_0x516c73(0x3fc)]=[];for(var _0x1180c6=0x0;_0x1180c6<_0x7065a4[_0x516c73(0x146)];_0x1180c6++)_0xe70824[_0x7065a4[_0x516c73(0x1a5)](_0x1180c6)]=_0x1180c6;}var _0x29b7d0=_0x7065a4[_0x516c73(0x3b2)](0x40);if(_0x29b7d0){var _0x1e4b86=_0xe47a95[_0x516c73(0x3d6)](_0x29b7d0);_0x1e4b86!==-0x1&&(_0x45d23c=_0x1e4b86);}return _0x7bf210(_0xe47a95,_0x45d23c,_0xe70824);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x7bf210(_0x25ff51,_0xd023f3,_0x2c4ad1){var _0x17ca9e=_0x22650f;for(var _0x3e6913=[],_0x145d9e=0x0,_0x17169d=0x0;_0x17169d<_0xd023f3;_0x17169d++)if(_0x17169d%0x4){var _0x3b9ccf=_0x2c4ad1[_0x25ff51[_0x17ca9e(0x1a5)](_0x17169d-0x1)]<<_0x17169d%0x4*0x2,_0x2f8849=_0x2c4ad1[_0x25ff51[_0x17ca9e(0x1a5)](_0x17169d)]>>>0x6-_0x17169d%0x4*0x2,_0x3d0bf1=_0x3b9ccf|_0x2f8849;_0x3e6913[_0x145d9e>>>0x2]|=_0x3d0bf1<<0x18-_0x145d9e%0x4*0x8,_0x145d9e++;}return _0x2ec543[_0x17ca9e(0x423)](_0x3e6913,_0x145d9e);}}()),_0x41a5ce['enc'][_0x370998(0x2fc)];}));}(Ge)),Ge[_0x49fa50(0x1f5)];}var Ye={'exports':{}},_n=Ye[_0x3cf5cf(0x1f5)],Jt;function ln(){return Jt||(Jt=0x1,function(_0x1749ab,_0x2749df){(function(_0x1b6dbb,_0x3fcc34){_0x1749ab['exports']=_0x3fcc34(te());}(_n,function(_0x454abe){var _0x33ddfa=_0x15c9;return function(_0x2ea015){var _0x5203bc=_0x15c9,_0x308332=_0x454abe,_0x3afa26=_0x308332[_0x5203bc(0x20b)],_0x3b1c30=_0x3afa26[_0x5203bc(0x245)],_0x5338dd=_0x3afa26['Hasher'],_0x1ab60c=_0x308332[_0x5203bc(0x341)],_0x1038b1=[];(function(){var _0x5f33b3=_0x5203bc;for(var _0x2ddc01=0x0;_0x2ddc01<0x40;_0x2ddc01++)_0x1038b1[_0x2ddc01]=_0x2ea015[_0x5f33b3(0x35c)](_0x2ea015['sin'](_0x2ddc01+0x1))*0x100000000|0x0;}());var _0x57b4c1=_0x1ab60c[_0x5203bc(0x43a)]=_0x5338dd['extend']({'_doReset':function(){var _0x24c5e7=_0x5203bc;this[_0x24c5e7(0x2df)]=new _0x3b1c30[(_0x24c5e7(0x2e7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5dcda1,_0x1517b1){var _0x36b093=_0x5203bc;for(var _0x5d88c3=0x0;_0x5d88c3<0x10;_0x5d88c3++){var _0x31529b=_0x1517b1+_0x5d88c3,_0x4a6038=_0x5dcda1[_0x31529b];_0x5dcda1[_0x31529b]=(_0x4a6038<<0x8|_0x4a6038>>>0x18)&0xff00ff|(_0x4a6038<<0x18|_0x4a6038>>>0x8)&0xff00ff00;}var _0x38955f=this[_0x36b093(0x2df)][_0x36b093(0x261)],_0x17145a=_0x5dcda1[_0x1517b1+0x0],_0x14ca14=_0x5dcda1[_0x1517b1+0x1],_0x429453=_0x5dcda1[_0x1517b1+0x2],_0x3283fd=_0x5dcda1[_0x1517b1+0x3],_0x177f57=_0x5dcda1[_0x1517b1+0x4],_0x3afa33=_0x5dcda1[_0x1517b1+0x5],_0x10bf1e=_0x5dcda1[_0x1517b1+0x6],_0x232b27=_0x5dcda1[_0x1517b1+0x7],_0x337485=_0x5dcda1[_0x1517b1+0x8],_0x1903f9=_0x5dcda1[_0x1517b1+0x9],_0x522c98=_0x5dcda1[_0x1517b1+0xa],_0x4952c9=_0x5dcda1[_0x1517b1+0xb],_0x56b8e=_0x5dcda1[_0x1517b1+0xc],_0x57d34b=_0x5dcda1[_0x1517b1+0xd],_0x2f3d4c=_0x5dcda1[_0x1517b1+0xe],_0x401624=_0x5dcda1[_0x1517b1+0xf],_0x11b061=_0x38955f[0x0],_0x3eb065=_0x38955f[0x1],_0x1a1410=_0x38955f[0x2],_0x6ec61b=_0x38955f[0x3];_0x11b061=_0x3f1769(_0x11b061,_0x3eb065,_0x1a1410,_0x6ec61b,_0x17145a,0x7,_0x1038b1[0x0]),_0x6ec61b=_0x3f1769(_0x6ec61b,_0x11b061,_0x3eb065,_0x1a1410,_0x14ca14,0xc,_0x1038b1[0x1]),_0x1a1410=_0x3f1769(_0x1a1410,_0x6ec61b,_0x11b061,_0x3eb065,_0x429453,0x11,_0x1038b1[0x2]),_0x3eb065=_0x3f1769(_0x3eb065,_0x1a1410,_0x6ec61b,_0x11b061,_0x3283fd,0x16,_0x1038b1[0x3]),_0x11b061=_0x3f1769(_0x11b061,_0x3eb065,_0x1a1410,_0x6ec61b,_0x177f57,0x7,_0x1038b1[0x4]),_0x6ec61b=_0x3f1769(_0x6ec61b,_0x11b061,_0x3eb065,_0x1a1410,_0x3afa33,0xc,_0x1038b1[0x5]),_0x1a1410=_0x3f1769(_0x1a1410,_0x6ec61b,_0x11b061,_0x3eb065,_0x10bf1e,0x11,_0x1038b1[0x6]),_0x3eb065=_0x3f1769(_0x3eb065,_0x1a1410,_0x6ec61b,_0x11b061,_0x232b27,0x16,_0x1038b1[0x7]),_0x11b061=_0x3f1769(_0x11b061,_0x3eb065,_0x1a1410,_0x6ec61b,_0x337485,0x7,_0x1038b1[0x8]),_0x6ec61b=_0x3f1769(_0x6ec61b,_0x11b061,_0x3eb065,_0x1a1410,_0x1903f9,0xc,_0x1038b1[0x9]),_0x1a1410=_0x3f1769(_0x1a1410,_0x6ec61b,_0x11b061,_0x3eb065,_0x522c98,0x11,_0x1038b1[0xa]),_0x3eb065=_0x3f1769(_0x3eb065,_0x1a1410,_0x6ec61b,_0x11b061,_0x4952c9,0x16,_0x1038b1[0xb]),_0x11b061=_0x3f1769(_0x11b061,_0x3eb065,_0x1a1410,_0x6ec61b,_0x56b8e,0x7,_0x1038b1[0xc]),_0x6ec61b=_0x3f1769(_0x6ec61b,_0x11b061,_0x3eb065,_0x1a1410,_0x57d34b,0xc,_0x1038b1[0xd]),_0x1a1410=_0x3f1769(_0x1a1410,_0x6ec61b,_0x11b061,_0x3eb065,_0x2f3d4c,0x11,_0x1038b1[0xe]),_0x3eb065=_0x3f1769(_0x3eb065,_0x1a1410,_0x6ec61b,_0x11b061,_0x401624,0x16,_0x1038b1[0xf]),_0x11b061=_0x1ec793(_0x11b061,_0x3eb065,_0x1a1410,_0x6ec61b,_0x14ca14,0x5,_0x1038b1[0x10]),_0x6ec61b=_0x1ec793(_0x6ec61b,_0x11b061,_0x3eb065,_0x1a1410,_0x10bf1e,0x9,_0x1038b1[0x11]),_0x1a1410=_0x1ec793(_0x1a1410,_0x6ec61b,_0x11b061,_0x3eb065,_0x4952c9,0xe,_0x1038b1[0x12]),_0x3eb065=_0x1ec793(_0x3eb065,_0x1a1410,_0x6ec61b,_0x11b061,_0x17145a,0x14,_0x1038b1[0x13]),_0x11b061=_0x1ec793(_0x11b061,_0x3eb065,_0x1a1410,_0x6ec61b,_0x3afa33,0x5,_0x1038b1[0x14]),_0x6ec61b=_0x1ec793(_0x6ec61b,_0x11b061,_0x3eb065,_0x1a1410,_0x522c98,0x9,_0x1038b1[0x15]),_0x1a1410=_0x1ec793(_0x1a1410,_0x6ec61b,_0x11b061,_0x3eb065,_0x401624,0xe,_0x1038b1[0x16]),_0x3eb065=_0x1ec793(_0x3eb065,_0x1a1410,_0x6ec61b,_0x11b061,_0x177f57,0x14,_0x1038b1[0x17]),_0x11b061=_0x1ec793(_0x11b061,_0x3eb065,_0x1a1410,_0x6ec61b,_0x1903f9,0x5,_0x1038b1[0x18]),_0x6ec61b=_0x1ec793(_0x6ec61b,_0x11b061,_0x3eb065,_0x1a1410,_0x2f3d4c,0x9,_0x1038b1[0x19]),_0x1a1410=_0x1ec793(_0x1a1410,_0x6ec61b,_0x11b061,_0x3eb065,_0x3283fd,0xe,_0x1038b1[0x1a]),_0x3eb065=_0x1ec793(_0x3eb065,_0x1a1410,_0x6ec61b,_0x11b061,_0x337485,0x14,_0x1038b1[0x1b]),_0x11b061=_0x1ec793(_0x11b061,_0x3eb065,_0x1a1410,_0x6ec61b,_0x57d34b,0x5,_0x1038b1[0x1c]),_0x6ec61b=_0x1ec793(_0x6ec61b,_0x11b061,_0x3eb065,_0x1a1410,_0x429453,0x9,_0x1038b1[0x1d]),_0x1a1410=_0x1ec793(_0x1a1410,_0x6ec61b,_0x11b061,_0x3eb065,_0x232b27,0xe,_0x1038b1[0x1e]),_0x3eb065=_0x1ec793(_0x3eb065,_0x1a1410,_0x6ec61b,_0x11b061,_0x56b8e,0x14,_0x1038b1[0x1f]),_0x11b061=_0x163430(_0x11b061,_0x3eb065,_0x1a1410,_0x6ec61b,_0x3afa33,0x4,_0x1038b1[0x20]),_0x6ec61b=_0x163430(_0x6ec61b,_0x11b061,_0x3eb065,_0x1a1410,_0x337485,0xb,_0x1038b1[0x21]),_0x1a1410=_0x163430(_0x1a1410,_0x6ec61b,_0x11b061,_0x3eb065,_0x4952c9,0x10,_0x1038b1[0x22]),_0x3eb065=_0x163430(_0x3eb065,_0x1a1410,_0x6ec61b,_0x11b061,_0x2f3d4c,0x17,_0x1038b1[0x23]),_0x11b061=_0x163430(_0x11b061,_0x3eb065,_0x1a1410,_0x6ec61b,_0x14ca14,0x4,_0x1038b1[0x24]),_0x6ec61b=_0x163430(_0x6ec61b,_0x11b061,_0x3eb065,_0x1a1410,_0x177f57,0xb,_0x1038b1[0x25]),_0x1a1410=_0x163430(_0x1a1410,_0x6ec61b,_0x11b061,_0x3eb065,_0x232b27,0x10,_0x1038b1[0x26]),_0x3eb065=_0x163430(_0x3eb065,_0x1a1410,_0x6ec61b,_0x11b061,_0x522c98,0x17,_0x1038b1[0x27]),_0x11b061=_0x163430(_0x11b061,_0x3eb065,_0x1a1410,_0x6ec61b,_0x57d34b,0x4,_0x1038b1[0x28]),_0x6ec61b=_0x163430(_0x6ec61b,_0x11b061,_0x3eb065,_0x1a1410,_0x17145a,0xb,_0x1038b1[0x29]),_0x1a1410=_0x163430(_0x1a1410,_0x6ec61b,_0x11b061,_0x3eb065,_0x3283fd,0x10,_0x1038b1[0x2a]),_0x3eb065=_0x163430(_0x3eb065,_0x1a1410,_0x6ec61b,_0x11b061,_0x10bf1e,0x17,_0x1038b1[0x2b]),_0x11b061=_0x163430(_0x11b061,_0x3eb065,_0x1a1410,_0x6ec61b,_0x1903f9,0x4,_0x1038b1[0x2c]),_0x6ec61b=_0x163430(_0x6ec61b,_0x11b061,_0x3eb065,_0x1a1410,_0x56b8e,0xb,_0x1038b1[0x2d]),_0x1a1410=_0x163430(_0x1a1410,_0x6ec61b,_0x11b061,_0x3eb065,_0x401624,0x10,_0x1038b1[0x2e]),_0x3eb065=_0x163430(_0x3eb065,_0x1a1410,_0x6ec61b,_0x11b061,_0x429453,0x17,_0x1038b1[0x2f]),_0x11b061=_0x2e122d(_0x11b061,_0x3eb065,_0x1a1410,_0x6ec61b,_0x17145a,0x6,_0x1038b1[0x30]),_0x6ec61b=_0x2e122d(_0x6ec61b,_0x11b061,_0x3eb065,_0x1a1410,_0x232b27,0xa,_0x1038b1[0x31]),_0x1a1410=_0x2e122d(_0x1a1410,_0x6ec61b,_0x11b061,_0x3eb065,_0x2f3d4c,0xf,_0x1038b1[0x32]),_0x3eb065=_0x2e122d(_0x3eb065,_0x1a1410,_0x6ec61b,_0x11b061,_0x3afa33,0x15,_0x1038b1[0x33]),_0x11b061=_0x2e122d(_0x11b061,_0x3eb065,_0x1a1410,_0x6ec61b,_0x56b8e,0x6,_0x1038b1[0x34]),_0x6ec61b=_0x2e122d(_0x6ec61b,_0x11b061,_0x3eb065,_0x1a1410,_0x3283fd,0xa,_0x1038b1[0x35]),_0x1a1410=_0x2e122d(_0x1a1410,_0x6ec61b,_0x11b061,_0x3eb065,_0x522c98,0xf,_0x1038b1[0x36]),_0x3eb065=_0x2e122d(_0x3eb065,_0x1a1410,_0x6ec61b,_0x11b061,_0x14ca14,0x15,_0x1038b1[0x37]),_0x11b061=_0x2e122d(_0x11b061,_0x3eb065,_0x1a1410,_0x6ec61b,_0x337485,0x6,_0x1038b1[0x38]),_0x6ec61b=_0x2e122d(_0x6ec61b,_0x11b061,_0x3eb065,_0x1a1410,_0x401624,0xa,_0x1038b1[0x39]),_0x1a1410=_0x2e122d(_0x1a1410,_0x6ec61b,_0x11b061,_0x3eb065,_0x10bf1e,0xf,_0x1038b1[0x3a]),_0x3eb065=_0x2e122d(_0x3eb065,_0x1a1410,_0x6ec61b,_0x11b061,_0x57d34b,0x15,_0x1038b1[0x3b]),_0x11b061=_0x2e122d(_0x11b061,_0x3eb065,_0x1a1410,_0x6ec61b,_0x177f57,0x6,_0x1038b1[0x3c]),_0x6ec61b=_0x2e122d(_0x6ec61b,_0x11b061,_0x3eb065,_0x1a1410,_0x4952c9,0xa,_0x1038b1[0x3d]),_0x1a1410=_0x2e122d(_0x1a1410,_0x6ec61b,_0x11b061,_0x3eb065,_0x429453,0xf,_0x1038b1[0x3e]),_0x3eb065=_0x2e122d(_0x3eb065,_0x1a1410,_0x6ec61b,_0x11b061,_0x1903f9,0x15,_0x1038b1[0x3f]),_0x38955f[0x0]=_0x38955f[0x0]+_0x11b061|0x0,_0x38955f[0x1]=_0x38955f[0x1]+_0x3eb065|0x0,_0x38955f[0x2]=_0x38955f[0x2]+_0x1a1410|0x0,_0x38955f[0x3]=_0x38955f[0x3]+_0x6ec61b|0x0;},'_doFinalize':function(){var _0x233ce6=_0x5203bc,_0x1dae93=this[_0x233ce6(0x396)],_0x1b56a5=_0x1dae93['words'],_0x2bbf5a=this[_0x233ce6(0x20e)]*0x8,_0x45aac4=_0x1dae93['sigBytes']*0x8;_0x1b56a5[_0x45aac4>>>0x5]|=0x80<<0x18-_0x45aac4%0x20;var _0x1d5013=_0x2ea015[_0x233ce6(0x186)](_0x2bbf5a/0x100000000),_0x22fdd5=_0x2bbf5a;_0x1b56a5[(_0x45aac4+0x40>>>0x9<<0x4)+0xf]=(_0x1d5013<<0x8|_0x1d5013>>>0x18)&0xff00ff|(_0x1d5013<<0x18|_0x1d5013>>>0x8)&0xff00ff00,_0x1b56a5[(_0x45aac4+0x40>>>0x9<<0x4)+0xe]=(_0x22fdd5<<0x8|_0x22fdd5>>>0x18)&0xff00ff|(_0x22fdd5<<0x18|_0x22fdd5>>>0x8)&0xff00ff00,_0x1dae93[_0x233ce6(0x34d)]=(_0x1b56a5['length']+0x1)*0x4,this[_0x233ce6(0x18c)]();for(var _0x178c45=this[_0x233ce6(0x2df)],_0xa79baf=_0x178c45['words'],_0x158ce0=0x0;_0x158ce0<0x4;_0x158ce0++){var _0x2b1e66=_0xa79baf[_0x158ce0];_0xa79baf[_0x158ce0]=(_0x2b1e66<<0x8|_0x2b1e66>>>0x18)&0xff00ff|(_0x2b1e66<<0x18|_0x2b1e66>>>0x8)&0xff00ff00;}return _0x178c45;},'clone':function(){var _0x42b55b=_0x5203bc,_0x22a17a=_0x5338dd[_0x42b55b(0x306)]['call'](this);return _0x22a17a[_0x42b55b(0x2df)]=this[_0x42b55b(0x2df)]['clone'](),_0x22a17a;}});function _0x3f1769(_0x257e6d,_0x33bb5b,_0x5693c7,_0x486bb5,_0x219319,_0x375f78,_0x38e73a){var _0x2ec7d4=_0x257e6d+(_0x33bb5b&_0x5693c7|~_0x33bb5b&_0x486bb5)+_0x219319+_0x38e73a;return(_0x2ec7d4<<_0x375f78|_0x2ec7d4>>>0x20-_0x375f78)+_0x33bb5b;}function _0x1ec793(_0x2cdf46,_0x470726,_0x2024f8,_0x1bf33f,_0x3136b2,_0x3f0425,_0x10891b){var _0x3bf8bc=_0x2cdf46+(_0x470726&_0x1bf33f|_0x2024f8&~_0x1bf33f)+_0x3136b2+_0x10891b;return(_0x3bf8bc<<_0x3f0425|_0x3bf8bc>>>0x20-_0x3f0425)+_0x470726;}function _0x163430(_0x548b19,_0x1f7bc6,_0x1badf2,_0x109335,_0x364d79,_0x4f03d8,_0x3fc414){var _0x239e5d=_0x548b19+(_0x1f7bc6^_0x1badf2^_0x109335)+_0x364d79+_0x3fc414;return(_0x239e5d<<_0x4f03d8|_0x239e5d>>>0x20-_0x4f03d8)+_0x1f7bc6;}function _0x2e122d(_0x1ca65f,_0x5baf46,_0x4c4c0b,_0x304203,_0x3ac06d,_0x294bdb,_0xbbe504){var _0x2cb456=_0x1ca65f+(_0x4c4c0b^(_0x5baf46|~_0x304203))+_0x3ac06d+_0xbbe504;return(_0x2cb456<<_0x294bdb|_0x2cb456>>>0x20-_0x294bdb)+_0x5baf46;}_0x308332[_0x5203bc(0x43a)]=_0x5338dd[_0x5203bc(0x1eb)](_0x57b4c1),_0x308332[_0x5203bc(0x265)]=_0x5338dd['_createHmacHelper'](_0x57b4c1);}(Math),_0x454abe[_0x33ddfa(0x43a)];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x3cf5cf(0x1f5)],Xt;function dn(){var _0x129329=_0x3cf5cf;return Xt||(Xt=0x1,function(_0x5e7f96,_0xf21bdf){(function(_0x353982,_0x20da14){var _0x53dce5=_0x15c9;_0x5e7f96[_0x53dce5(0x1f5)]=_0x20da14(te());}(un,function(_0x2d4817){var _0x542469=_0x15c9;return(function(){var _0x15e315=_0x15c9,_0x5dafe6=_0x2d4817,_0x4c2079=_0x5dafe6[_0x15e315(0x20b)],_0x13a6be=_0x4c2079[_0x15e315(0x245)],_0x5d95e=_0x4c2079[_0x15e315(0x1c8)],_0x5be9ee=_0x5dafe6[_0x15e315(0x341)],_0x2661d8=[],_0x5d9e0a=_0x5be9ee[_0x15e315(0x2a7)]=_0x5d95e[_0x15e315(0x155)]({'_doReset':function(){var _0x16bcb7=_0x15e315;this[_0x16bcb7(0x2df)]=new _0x13a6be['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x59f8a7,_0xf21f80){var _0x8cce98=_0x15e315;for(var _0x196873=this[_0x8cce98(0x2df)][_0x8cce98(0x261)],_0x55913a=_0x196873[0x0],_0x153272=_0x196873[0x1],_0x2eb7d7=_0x196873[0x2],_0x2ee4cd=_0x196873[0x3],_0x492b88=_0x196873[0x4],_0xba67cd=0x0;_0xba67cd<0x50;_0xba67cd++){if(_0xba67cd<0x10)_0x2661d8[_0xba67cd]=_0x59f8a7[_0xf21f80+_0xba67cd]|0x0;else{var _0x45bec2=_0x2661d8[_0xba67cd-0x3]^_0x2661d8[_0xba67cd-0x8]^_0x2661d8[_0xba67cd-0xe]^_0x2661d8[_0xba67cd-0x10];_0x2661d8[_0xba67cd]=_0x45bec2<<0x1|_0x45bec2>>>0x1f;}var _0xebc0ef=(_0x55913a<<0x5|_0x55913a>>>0x1b)+_0x492b88+_0x2661d8[_0xba67cd];_0xba67cd<0x14?_0xebc0ef+=(_0x153272&_0x2eb7d7|~_0x153272&_0x2ee4cd)+0x5a827999:_0xba67cd<0x28?_0xebc0ef+=(_0x153272^_0x2eb7d7^_0x2ee4cd)+0x6ed9eba1:_0xba67cd<0x3c?_0xebc0ef+=(_0x153272&_0x2eb7d7|_0x153272&_0x2ee4cd|_0x2eb7d7&_0x2ee4cd)-0x70e44324:_0xebc0ef+=(_0x153272^_0x2eb7d7^_0x2ee4cd)-0x359d3e2a,_0x492b88=_0x2ee4cd,_0x2ee4cd=_0x2eb7d7,_0x2eb7d7=_0x153272<<0x1e|_0x153272>>>0x2,_0x153272=_0x55913a,_0x55913a=_0xebc0ef;}_0x196873[0x0]=_0x196873[0x0]+_0x55913a|0x0,_0x196873[0x1]=_0x196873[0x1]+_0x153272|0x0,_0x196873[0x2]=_0x196873[0x2]+_0x2eb7d7|0x0,_0x196873[0x3]=_0x196873[0x3]+_0x2ee4cd|0x0,_0x196873[0x4]=_0x196873[0x4]+_0x492b88|0x0;},'_doFinalize':function(){var _0x377f62=_0x15e315,_0x1464fc=this['_data'],_0x55a3e9=_0x1464fc[_0x377f62(0x261)],_0x4bad78=this[_0x377f62(0x20e)]*0x8,_0x5bd91c=_0x1464fc['sigBytes']*0x8;return _0x55a3e9[_0x5bd91c>>>0x5]|=0x80<<0x18-_0x5bd91c%0x20,_0x55a3e9[(_0x5bd91c+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x4bad78/0x100000000),_0x55a3e9[(_0x5bd91c+0x40>>>0x9<<0x4)+0xf]=_0x4bad78,_0x1464fc[_0x377f62(0x34d)]=_0x55a3e9[_0x377f62(0x146)]*0x4,this['_process'](),this[_0x377f62(0x2df)];},'clone':function(){var _0x6490c2=_0x15e315,_0x110bda=_0x5d95e['clone'][_0x6490c2(0x22a)](this);return _0x110bda[_0x6490c2(0x2df)]=this[_0x6490c2(0x2df)][_0x6490c2(0x306)](),_0x110bda;}});_0x5dafe6[_0x15e315(0x2a7)]=_0x5d95e[_0x15e315(0x1eb)](_0x5d9e0a),_0x5dafe6[_0x15e315(0x298)]=_0x5d95e[_0x15e315(0x234)](_0x5d9e0a);}()),_0x2d4817[_0x542469(0x2a7)];}));}(qe)),qe[_0x129329(0x1f5)];}var ze={'exports':{}},fn=ze[_0x3cf5cf(0x1f5)],Zt;function vn(){return Zt||(Zt=0x1,function(_0x5e5e1d,_0x3eff5c){(function(_0x23c0e6,_0x25a3b5){var _0x1f2b71=_0x15c9;_0x5e5e1d[_0x1f2b71(0x1f5)]=_0x25a3b5(te());}(fn,function(_0x305732){(function(){var _0x2c51f1=_0x15c9,_0x2a1bf3=_0x305732,_0xa1faa7=_0x2a1bf3[_0x2c51f1(0x20b)],_0x5a99ee=_0xa1faa7[_0x2c51f1(0x433)],_0x52addb=_0x2a1bf3[_0x2c51f1(0x18e)],_0x1c848a=_0x52addb[_0x2c51f1(0x2e3)],_0x5e3b57=_0x2a1bf3[_0x2c51f1(0x341)];_0x5e3b57['HMAC']=_0x5a99ee['extend']({'init':function(_0x30c51e,_0x2ac5f5){var _0x33c0d0=_0x2c51f1;_0x30c51e=this[_0x33c0d0(0x430)]=new _0x30c51e[(_0x33c0d0(0x2e7))](),typeof _0x2ac5f5==_0x33c0d0(0x2bb)&&(_0x2ac5f5=_0x1c848a[_0x33c0d0(0x3f2)](_0x2ac5f5));var _0x3fd079=_0x30c51e[_0x33c0d0(0x3de)],_0x4d9044=_0x3fd079*0x4;_0x2ac5f5[_0x33c0d0(0x34d)]>_0x4d9044&&(_0x2ac5f5=_0x30c51e['finalize'](_0x2ac5f5)),_0x2ac5f5[_0x33c0d0(0x42f)]();for(var _0x27dd0c=this[_0x33c0d0(0x375)]=_0x2ac5f5[_0x33c0d0(0x306)](),_0xd15063=this[_0x33c0d0(0x24e)]=_0x2ac5f5[_0x33c0d0(0x306)](),_0x155c26=_0x27dd0c[_0x33c0d0(0x261)],_0x24653d=_0xd15063['words'],_0xd410dd=0x0;_0xd410dd<_0x3fd079;_0xd410dd++)_0x155c26[_0xd410dd]^=0x5c5c5c5c,_0x24653d[_0xd410dd]^=0x36363636;_0x27dd0c[_0x33c0d0(0x34d)]=_0xd15063[_0x33c0d0(0x34d)]=_0x4d9044,this[_0x33c0d0(0x37c)]();},'reset':function(){var _0x4293a1=_0x2c51f1,_0x3ee09f=this[_0x4293a1(0x430)];_0x3ee09f['reset'](),_0x3ee09f[_0x4293a1(0x35f)](this[_0x4293a1(0x24e)]);},'update':function(_0x122dc0){var _0x14026c=_0x2c51f1;return this[_0x14026c(0x430)][_0x14026c(0x35f)](_0x122dc0),this;},'finalize':function(_0x52fac2){var _0x16946b=_0x2c51f1,_0x3495fb=this[_0x16946b(0x430)],_0x4817c3=_0x3495fb['finalize'](_0x52fac2);_0x3495fb[_0x16946b(0x37c)]();var _0x136fea=_0x3495fb['finalize'](this['_oKey']['clone']()[_0x16946b(0x16e)](_0x4817c3));return _0x136fea;}});}());}));}(ze)),ze['exports'];}var pn=Ke[_0x3cf5cf(0x1f5)],Qt;function Oi(){var _0x141335=_0x3cf5cf;return Qt||(Qt=0x1,function(_0x1c5f90,_0x3eee15){(function(_0xe7bf90,_0x3c1e2e,_0xd28e5a){var _0x2b815e=_0x15c9;_0x1c5f90[_0x2b815e(0x1f5)]=_0x3c1e2e(te(),dn(),vn());}(pn,function(_0x9e1fbc){var _0x11a357=_0x15c9;return(function(){var _0x7e77f6=_0x15c9,_0x947c9f=_0x9e1fbc,_0x34c0f7=_0x947c9f[_0x7e77f6(0x20b)],_0x144737=_0x34c0f7['Base'],_0x2412ef=_0x34c0f7[_0x7e77f6(0x245)],_0x1f3fa0=_0x947c9f[_0x7e77f6(0x341)],_0x3b660c=_0x1f3fa0['MD5'],_0x2ca8c3=_0x1f3fa0[_0x7e77f6(0x1cb)]=_0x144737[_0x7e77f6(0x155)]({'cfg':_0x144737[_0x7e77f6(0x155)]({'keySize':0x80/0x20,'hasher':_0x3b660c,'iterations':0x1}),'init':function(_0x5c73c5){var _0x550067=_0x7e77f6;this[_0x550067(0x32b)]=this[_0x550067(0x32b)][_0x550067(0x155)](_0x5c73c5);},'compute':function(_0x4b8d20,_0x10f29f){var _0x51dddf=_0x7e77f6;for(var _0x2e4061,_0x30fb30=this['cfg'],_0x49d39c=_0x30fb30[_0x51dddf(0x2a8)]['create'](),_0x492025=_0x2412ef['create'](),_0x397e19=_0x492025['words'],_0x10288d=_0x30fb30[_0x51dddf(0x157)],_0x491f7c=_0x30fb30[_0x51dddf(0x321)];_0x397e19['length']<_0x10288d;){_0x2e4061&&_0x49d39c[_0x51dddf(0x35f)](_0x2e4061),_0x2e4061=_0x49d39c['update'](_0x4b8d20)[_0x51dddf(0x332)](_0x10f29f),_0x49d39c['reset']();for(var _0x14a8da=0x1;_0x14a8da<_0x491f7c;_0x14a8da++)_0x2e4061=_0x49d39c[_0x51dddf(0x332)](_0x2e4061),_0x49d39c[_0x51dddf(0x37c)]();_0x492025['concat'](_0x2e4061);}return _0x492025[_0x51dddf(0x34d)]=_0x10288d*0x4,_0x492025;}});_0x947c9f[_0x7e77f6(0x1cb)]=function(_0x3c7f1d,_0x5908a8,_0x5a60dc){var _0x5ebb57=_0x7e77f6;return _0x2ca8c3[_0x5ebb57(0x423)](_0x5a60dc)[_0x5ebb57(0x196)](_0x3c7f1d,_0x5908a8);};}()),_0x9e1fbc[_0x11a357(0x1cb)];}));}(Ke)),Ke[_0x141335(0x1f5)];}var Je={'exports':{}},mn=Je[_0x3cf5cf(0x1f5)],ei;function bi(){var _0x56f160=_0x3cf5cf;return ei||(ei=0x1,function(_0x51d862,_0x53fd60){(function(_0x124d71,_0x56708b,_0x5403e8){var _0x2ca0f0=_0x15c9;_0x51d862[_0x2ca0f0(0x1f5)]=_0x56708b(te(),Oi());}(mn,function(_0x54c742){var _0x3e5c48=_0x15c9;_0x54c742['lib'][_0x3e5c48(0x3ef)]||function(_0x4f1042){var _0x47b804=_0x3e5c48,_0x4ed507=_0x54c742,_0x3ea6f3=_0x4ed507[_0x47b804(0x20b)],_0x2eab16=_0x3ea6f3[_0x47b804(0x433)],_0x4111a8=_0x3ea6f3[_0x47b804(0x245)],_0x106aa3=_0x3ea6f3['BufferedBlockAlgorithm'],_0x24dbe3=_0x4ed507[_0x47b804(0x18e)];_0x24dbe3[_0x47b804(0x2e3)];var _0x5a29ca=_0x24dbe3[_0x47b804(0x2fc)],_0x49adac=_0x4ed507[_0x47b804(0x341)],_0x531697=_0x49adac[_0x47b804(0x1cb)],_0x5508fb=_0x3ea6f3[_0x47b804(0x3ef)]=_0x106aa3['extend']({'cfg':_0x2eab16[_0x47b804(0x155)](),'createEncryptor':function(_0x1e24bd,_0x5a7123){var _0x32ffd2=_0x47b804;return this[_0x32ffd2(0x423)](this[_0x32ffd2(0x408)],_0x1e24bd,_0x5a7123);},'createDecryptor':function(_0x3aaa9c,_0x1eaa38){var _0x5f24b9=_0x47b804;return this['create'](this[_0x5f24b9(0x33f)],_0x3aaa9c,_0x1eaa38);},'init':function(_0x1c820d,_0x927e3e,_0x583c1c){var _0x2db99e=_0x47b804;this[_0x2db99e(0x32b)]=this['cfg'][_0x2db99e(0x155)](_0x583c1c),this[_0x2db99e(0x2ab)]=_0x1c820d,this[_0x2db99e(0x325)]=_0x927e3e,this[_0x2db99e(0x37c)]();},'reset':function(){var _0x23d40a=_0x47b804;_0x106aa3[_0x23d40a(0x37c)]['call'](this),this[_0x23d40a(0x428)]();},'process':function(_0x4c69ff){var _0x5e7b77=_0x47b804;return this[_0x5e7b77(0x2b0)](_0x4c69ff),this['_process']();},'finalize':function(_0xa57104){_0xa57104&&this['_append'](_0xa57104);var _0x3d986f=this['_doFinalize']();return _0x3d986f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5e6248(_0x2232a6){var _0x29d284=_0x15c9;return typeof _0x2232a6==_0x29d284(0x2bb)?_0x3e5f36:_0x44a7d0;}return function(_0x5e8894){return{'encrypt':function(_0x27ef30,_0x2ff788,_0x559db7){var _0x277bb5=_0x15c9;return _0x5e6248(_0x2ff788)[_0x277bb5(0x1db)](_0x5e8894,_0x27ef30,_0x2ff788,_0x559db7);},'decrypt':function(_0x727b8d,_0x4e8940,_0x5915d2){return _0x5e6248(_0x4e8940)['decrypt'](_0x5e8894,_0x727b8d,_0x4e8940,_0x5915d2);}};};}())});_0x3ea6f3[_0x47b804(0x253)]=_0x5508fb[_0x47b804(0x155)]({'_doFinalize':function(){var _0x17ba68=this['_process'](!0x0);return _0x17ba68;},'blockSize':0x1});var _0x5e1618=_0x4ed507[_0x47b804(0x205)]={},_0x4a5de2=_0x3ea6f3[_0x47b804(0x20c)]=_0x2eab16[_0x47b804(0x155)]({'createEncryptor':function(_0x192cd4,_0x19809d){var _0x2703b8=_0x47b804;return this[_0x2703b8(0x38b)][_0x2703b8(0x423)](_0x192cd4,_0x19809d);},'createDecryptor':function(_0x313b1b,_0x35e3cb){var _0x39b9af=_0x47b804;return this[_0x39b9af(0x18f)][_0x39b9af(0x423)](_0x313b1b,_0x35e3cb);},'init':function(_0x5b6d22,_0xb9064e){var _0x1173d5=_0x47b804;this[_0x1173d5(0x180)]=_0x5b6d22,this[_0x1173d5(0x25f)]=_0xb9064e;}}),_0x4d4a09=_0x5e1618[_0x47b804(0x362)]=(function(){var _0x209e00=_0x47b804,_0x3d8ed1=_0x4a5de2['extend']();_0x3d8ed1[_0x209e00(0x38b)]=_0x3d8ed1['extend']({'processBlock':function(_0x2fdad,_0x199361){var _0x3c9f41=_0x209e00,_0x16aa3a=this[_0x3c9f41(0x180)],_0x34ae7f=_0x16aa3a['blockSize'];_0x1f1bd1[_0x3c9f41(0x22a)](this,_0x2fdad,_0x199361,_0x34ae7f),_0x16aa3a[_0x3c9f41(0x39a)](_0x2fdad,_0x199361),this[_0x3c9f41(0x2e1)]=_0x2fdad[_0x3c9f41(0x358)](_0x199361,_0x199361+_0x34ae7f);}}),_0x3d8ed1[_0x209e00(0x18f)]=_0x3d8ed1[_0x209e00(0x155)]({'processBlock':function(_0x1c882e,_0x31bc0e){var _0x1b62b6=_0x209e00,_0x2bcd86=this['_cipher'],_0x5de277=_0x2bcd86[_0x1b62b6(0x3de)],_0xc1dd40=_0x1c882e[_0x1b62b6(0x358)](_0x31bc0e,_0x31bc0e+_0x5de277);_0x2bcd86[_0x1b62b6(0x1c4)](_0x1c882e,_0x31bc0e),_0x1f1bd1[_0x1b62b6(0x22a)](this,_0x1c882e,_0x31bc0e,_0x5de277),this['_prevBlock']=_0xc1dd40;}});function _0x1f1bd1(_0xfbe433,_0xf0c889,_0x3abd25){var _0xdc018d=_0x209e00,_0x1f1ed4,_0x2e2d9a=this[_0xdc018d(0x25f)];_0x2e2d9a?(_0x1f1ed4=_0x2e2d9a,this['_iv']=_0x4f1042):_0x1f1ed4=this[_0xdc018d(0x2e1)];for(var _0x6fee27=0x0;_0x6fee27<_0x3abd25;_0x6fee27++)_0xfbe433[_0xf0c889+_0x6fee27]^=_0x1f1ed4[_0x6fee27];}return _0x3d8ed1;}()),_0x5a25f=_0x4ed507[_0x47b804(0x160)]={},_0x4ce417=_0x5a25f[_0x47b804(0x3f7)]={'pad':function(_0x293957,_0x101259){var _0x595dfe=_0x47b804;for(var _0x54be71=_0x101259*0x4,_0x5a76a7=_0x54be71-_0x293957['sigBytes']%_0x54be71,_0x790e3c=_0x5a76a7<<0x18|_0x5a76a7<<0x10|_0x5a76a7<<0x8|_0x5a76a7,_0x1029e6=[],_0x399e4c=0x0;_0x399e4c<_0x5a76a7;_0x399e4c+=0x4)_0x1029e6['push'](_0x790e3c);var _0x5cfa4a=_0x4111a8[_0x595dfe(0x423)](_0x1029e6,_0x5a76a7);_0x293957[_0x595dfe(0x16e)](_0x5cfa4a);},'unpad':function(_0x180cd5){var _0x1d25af=_0x47b804,_0x305a3b=_0x180cd5[_0x1d25af(0x261)][_0x180cd5['sigBytes']-0x1>>>0x2]&0xff;_0x180cd5[_0x1d25af(0x34d)]-=_0x305a3b;}};_0x3ea6f3[_0x47b804(0x1e7)]=_0x5508fb['extend']({'cfg':_0x5508fb[_0x47b804(0x32b)]['extend']({'mode':_0x4d4a09,'padding':_0x4ce417}),'reset':function(){var _0x3e060c=_0x47b804,_0x258641;_0x5508fb[_0x3e060c(0x37c)]['call'](this);var _0x4165dc=this[_0x3e060c(0x32b)],_0x5e4817=_0x4165dc['iv'],_0x2d5ba2=_0x4165dc[_0x3e060c(0x205)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x258641=_0x2d5ba2['createEncryptor']:(_0x258641=_0x2d5ba2[_0x3e060c(0x267)],this[_0x3e060c(0x293)]=0x1),this[_0x3e060c(0x3ff)]&&this[_0x3e060c(0x3ff)][_0x3e060c(0x33d)]==_0x258641?this[_0x3e060c(0x3ff)][_0x3e060c(0x2e7)](this,_0x5e4817&&_0x5e4817[_0x3e060c(0x261)]):(this[_0x3e060c(0x3ff)]=_0x258641[_0x3e060c(0x22a)](_0x2d5ba2,this,_0x5e4817&&_0x5e4817[_0x3e060c(0x261)]),this[_0x3e060c(0x3ff)]['__creator']=_0x258641);},'_doProcessBlock':function(_0x9c7315,_0x470ecc){var _0x5811d1=_0x47b804;this[_0x5811d1(0x3ff)][_0x5811d1(0x247)](_0x9c7315,_0x470ecc);},'_doFinalize':function(){var _0x355bc4=_0x47b804,_0x4e039f,_0x3c59ca=this[_0x355bc4(0x32b)][_0x355bc4(0x421)];return this[_0x355bc4(0x2ab)]==this[_0x355bc4(0x408)]?(_0x3c59ca['pad'](this['_data'],this['blockSize']),_0x4e039f=this[_0x355bc4(0x18c)](!0x0)):(_0x4e039f=this['_process'](!0x0),_0x3c59ca['unpad'](_0x4e039f)),_0x4e039f;},'blockSize':0x80/0x20});var _0x84ecf6=_0x3ea6f3[_0x47b804(0x1f9)]=_0x2eab16[_0x47b804(0x155)]({'init':function(_0x48292a){var _0x2d87a2=_0x47b804;this[_0x2d87a2(0x164)](_0x48292a);},'toString':function(_0x12959b){var _0x347d98=_0x47b804;return(_0x12959b||this[_0x347d98(0x2a9)])[_0x347d98(0x378)](this);}}),_0x3c2547=_0x4ed507[_0x47b804(0x28a)]={},_0x5d43f7=_0x3c2547[_0x47b804(0x1d2)]={'stringify':function(_0x456413){var _0x11d10e=_0x47b804,_0xb21426,_0x3f6050=_0x456413['ciphertext'],_0x12fcca=_0x456413[_0x11d10e(0x213)];return _0x12fcca?_0xb21426=_0x4111a8[_0x11d10e(0x423)]([0x53616c74,0x65645f5f])[_0x11d10e(0x16e)](_0x12fcca)[_0x11d10e(0x16e)](_0x3f6050):_0xb21426=_0x3f6050,_0xb21426['toString'](_0x5a29ca);},'parse':function(_0x1974f9){var _0x3468ad=_0x47b804,_0x30965c,_0x2c2868=_0x5a29ca[_0x3468ad(0x3f2)](_0x1974f9),_0x213731=_0x2c2868['words'];return _0x213731[0x0]==0x53616c74&&_0x213731[0x1]==0x65645f5f&&(_0x30965c=_0x4111a8[_0x3468ad(0x423)](_0x213731['slice'](0x2,0x4)),_0x213731[_0x3468ad(0x170)](0x0,0x4),_0x2c2868['sigBytes']-=0x10),_0x84ecf6[_0x3468ad(0x423)]({'ciphertext':_0x2c2868,'salt':_0x30965c});}},_0x44a7d0=_0x3ea6f3[_0x47b804(0x25b)]=_0x2eab16[_0x47b804(0x155)]({'cfg':_0x2eab16['extend']({'format':_0x5d43f7}),'encrypt':function(_0x2c3afa,_0x4c69e0,_0x348eb2,_0x119392){var _0x186c1e=_0x47b804;_0x119392=this[_0x186c1e(0x32b)][_0x186c1e(0x155)](_0x119392);var _0x35ce98=_0x2c3afa[_0x186c1e(0x221)](_0x348eb2,_0x119392),_0x182a4c=_0x35ce98['finalize'](_0x4c69e0),_0x3d028d=_0x35ce98[_0x186c1e(0x32b)];return _0x84ecf6['create']({'ciphertext':_0x182a4c,'key':_0x348eb2,'iv':_0x3d028d['iv'],'algorithm':_0x2c3afa,'mode':_0x3d028d[_0x186c1e(0x205)],'padding':_0x3d028d[_0x186c1e(0x421)],'blockSize':_0x2c3afa[_0x186c1e(0x3de)],'formatter':_0x119392['format']});},'decrypt':function(_0x244d4f,_0x49feb4,_0x1237da,_0x5e1732){var _0x2b2110=_0x47b804;_0x5e1732=this[_0x2b2110(0x32b)][_0x2b2110(0x155)](_0x5e1732),_0x49feb4=this[_0x2b2110(0x17b)](_0x49feb4,_0x5e1732['format']);var _0x40480c=_0x244d4f[_0x2b2110(0x267)](_0x1237da,_0x5e1732)[_0x2b2110(0x332)](_0x49feb4[_0x2b2110(0x392)]);return _0x40480c;},'_parse':function(_0x24dbd8,_0xeae49c){var _0x2e0a0b=_0x47b804;return typeof _0x24dbd8==_0x2e0a0b(0x2bb)?_0xeae49c[_0x2e0a0b(0x3f2)](_0x24dbd8,this):_0x24dbd8;}}),_0xb74542=_0x4ed507[_0x47b804(0x304)]={},_0x2aef3f=_0xb74542[_0x47b804(0x1d2)]={'execute':function(_0x477ac5,_0x258b47,_0x2d76c5,_0xa3f448,_0xb0c3d4){var _0x5b2e63=_0x47b804;if(_0xa3f448||(_0xa3f448=_0x4111a8[_0x5b2e63(0x15c)](0x40/0x8)),_0xb0c3d4)var _0x3cc971=_0x531697['create']({'keySize':_0x258b47+_0x2d76c5,'hasher':_0xb0c3d4})[_0x5b2e63(0x196)](_0x477ac5,_0xa3f448);else var _0x3cc971=_0x531697[_0x5b2e63(0x423)]({'keySize':_0x258b47+_0x2d76c5})[_0x5b2e63(0x196)](_0x477ac5,_0xa3f448);var _0x36dd10=_0x4111a8['create'](_0x3cc971['words']['slice'](_0x258b47),_0x2d76c5*0x4);return _0x3cc971[_0x5b2e63(0x34d)]=_0x258b47*0x4,_0x84ecf6[_0x5b2e63(0x423)]({'key':_0x3cc971,'iv':_0x36dd10,'salt':_0xa3f448});}},_0x3e5f36=_0x3ea6f3['PasswordBasedCipher']=_0x44a7d0[_0x47b804(0x155)]({'cfg':_0x44a7d0[_0x47b804(0x32b)][_0x47b804(0x155)]({'kdf':_0x2aef3f}),'encrypt':function(_0x4f8bf5,_0x41f178,_0x1c86e8,_0x49a555){var _0x4b088=_0x47b804;_0x49a555=this[_0x4b088(0x32b)][_0x4b088(0x155)](_0x49a555);var _0x194144=_0x49a555[_0x4b088(0x304)][_0x4b088(0x151)](_0x1c86e8,_0x4f8bf5[_0x4b088(0x157)],_0x4f8bf5[_0x4b088(0x3c1)],_0x49a555['salt'],_0x49a555['hasher']);_0x49a555['iv']=_0x194144['iv'];var _0x35aba0=_0x44a7d0['encrypt'][_0x4b088(0x22a)](this,_0x4f8bf5,_0x41f178,_0x194144[_0x4b088(0x232)],_0x49a555);return _0x35aba0[_0x4b088(0x164)](_0x194144),_0x35aba0;},'decrypt':function(_0x4b61f0,_0x5aaa50,_0x8dc6ab,_0x1290d1){var _0x285acd=_0x47b804;_0x1290d1=this[_0x285acd(0x32b)][_0x285acd(0x155)](_0x1290d1),_0x5aaa50=this[_0x285acd(0x17b)](_0x5aaa50,_0x1290d1[_0x285acd(0x28a)]);var _0x76209b=_0x1290d1[_0x285acd(0x304)][_0x285acd(0x151)](_0x8dc6ab,_0x4b61f0[_0x285acd(0x157)],_0x4b61f0[_0x285acd(0x3c1)],_0x5aaa50[_0x285acd(0x213)],_0x1290d1['hasher']);_0x1290d1['iv']=_0x76209b['iv'];var _0x14569b=_0x44a7d0[_0x285acd(0x3eb)][_0x285acd(0x22a)](this,_0x4b61f0,_0x5aaa50,_0x76209b[_0x285acd(0x232)],_0x1290d1);return _0x14569b;}});}();}));}(Je)),Je[_0x56f160(0x1f5)];}var gn=Ve['exports'],ti;function Sn(){return ti||(ti=0x1,function(_0x18573a,_0x435375){(function(_0x53ff36,_0x2cc1bf,_0x1ec9a4){var _0x2f69a1=_0x15c9;_0x18573a[_0x2f69a1(0x1f5)]=_0x2cc1bf(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x2ce14b){var _0xc27e5a=_0x15c9;return(function(){var _0xdd1973=_0x15c9,_0x14e644=_0x2ce14b,_0x20b4d3=_0x14e644['lib'],_0x40c664=_0x20b4d3['BlockCipher'],_0x120329=_0x14e644[_0xdd1973(0x341)],_0x255308=[],_0x396b26=[],_0x2607e=[],_0x5311a9=[],_0x495eb7=[],_0x400c7d=[],_0x596dd8=[],_0x2c8279=[],_0x172a08=[],_0x1e62fe=[];(function(){for(var _0x2f89f4=[],_0x4e27b7=0x0;_0x4e27b7<0x100;_0x4e27b7++)_0x4e27b7<0x80?_0x2f89f4[_0x4e27b7]=_0x4e27b7<<0x1:_0x2f89f4[_0x4e27b7]=_0x4e27b7<<0x1^0x11b;for(var _0x3ec7b8=0x0,_0x54c83c=0x0,_0x4e27b7=0x0;_0x4e27b7<0x100;_0x4e27b7++){var _0x2392c4=_0x54c83c^_0x54c83c<<0x1^_0x54c83c<<0x2^_0x54c83c<<0x3^_0x54c83c<<0x4;_0x2392c4=_0x2392c4>>>0x8^_0x2392c4&0xff^0x63,_0x255308[_0x3ec7b8]=_0x2392c4,_0x396b26[_0x2392c4]=_0x3ec7b8;var _0x1118e0=_0x2f89f4[_0x3ec7b8],_0x10a95e=_0x2f89f4[_0x1118e0],_0x1b8af6=_0x2f89f4[_0x10a95e],_0x31df49=_0x2f89f4[_0x2392c4]*0x101^_0x2392c4*0x1010100;_0x2607e[_0x3ec7b8]=_0x31df49<<0x18|_0x31df49>>>0x8,_0x5311a9[_0x3ec7b8]=_0x31df49<<0x10|_0x31df49>>>0x10,_0x495eb7[_0x3ec7b8]=_0x31df49<<0x8|_0x31df49>>>0x18,_0x400c7d[_0x3ec7b8]=_0x31df49;var _0x31df49=_0x1b8af6*0x1010101^_0x10a95e*0x10001^_0x1118e0*0x101^_0x3ec7b8*0x1010100;_0x596dd8[_0x2392c4]=_0x31df49<<0x18|_0x31df49>>>0x8,_0x2c8279[_0x2392c4]=_0x31df49<<0x10|_0x31df49>>>0x10,_0x172a08[_0x2392c4]=_0x31df49<<0x8|_0x31df49>>>0x18,_0x1e62fe[_0x2392c4]=_0x31df49,_0x3ec7b8?(_0x3ec7b8=_0x1118e0^_0x2f89f4[_0x2f89f4[_0x2f89f4[_0x1b8af6^_0x1118e0]]],_0x54c83c^=_0x2f89f4[_0x2f89f4[_0x54c83c]]):_0x3ec7b8=_0x54c83c=0x1;}}());var _0x42869e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xc6b779=_0x120329[_0xdd1973(0x17f)]=_0x40c664[_0xdd1973(0x155)]({'_doReset':function(){var _0xf91839=_0xdd1973,_0x318c4e;if(!(this[_0xf91839(0x36b)]&&this[_0xf91839(0x1d5)]===this[_0xf91839(0x325)])){for(var _0x5c94a0=this[_0xf91839(0x1d5)]=this[_0xf91839(0x325)],_0x25e18b=_0x5c94a0[_0xf91839(0x261)],_0x11f71b=_0x5c94a0[_0xf91839(0x34d)]/0x4,_0x261019=this[_0xf91839(0x36b)]=_0x11f71b+0x6,_0x1c84ed=(_0x261019+0x1)*0x4,_0x20fdc6=this[_0xf91839(0x3d3)]=[],_0x4fd91b=0x0;_0x4fd91b<_0x1c84ed;_0x4fd91b++)_0x4fd91b<_0x11f71b?_0x20fdc6[_0x4fd91b]=_0x25e18b[_0x4fd91b]:(_0x318c4e=_0x20fdc6[_0x4fd91b-0x1],_0x4fd91b%_0x11f71b?_0x11f71b>0x6&&_0x4fd91b%_0x11f71b==0x4&&(_0x318c4e=_0x255308[_0x318c4e>>>0x18]<<0x18|_0x255308[_0x318c4e>>>0x10&0xff]<<0x10|_0x255308[_0x318c4e>>>0x8&0xff]<<0x8|_0x255308[_0x318c4e&0xff]):(_0x318c4e=_0x318c4e<<0x8|_0x318c4e>>>0x18,_0x318c4e=_0x255308[_0x318c4e>>>0x18]<<0x18|_0x255308[_0x318c4e>>>0x10&0xff]<<0x10|_0x255308[_0x318c4e>>>0x8&0xff]<<0x8|_0x255308[_0x318c4e&0xff],_0x318c4e^=_0x42869e[_0x4fd91b/_0x11f71b|0x0]<<0x18),_0x20fdc6[_0x4fd91b]=_0x20fdc6[_0x4fd91b-_0x11f71b]^_0x318c4e);for(var _0x3f088f=this['_invKeySchedule']=[],_0x250e16=0x0;_0x250e16<_0x1c84ed;_0x250e16++){var _0x4fd91b=_0x1c84ed-_0x250e16;if(_0x250e16%0x4)var _0x318c4e=_0x20fdc6[_0x4fd91b];else var _0x318c4e=_0x20fdc6[_0x4fd91b-0x4];_0x250e16<0x4||_0x4fd91b<=0x4?_0x3f088f[_0x250e16]=_0x318c4e:_0x3f088f[_0x250e16]=_0x596dd8[_0x255308[_0x318c4e>>>0x18]]^_0x2c8279[_0x255308[_0x318c4e>>>0x10&0xff]]^_0x172a08[_0x255308[_0x318c4e>>>0x8&0xff]]^_0x1e62fe[_0x255308[_0x318c4e&0xff]];}}},'encryptBlock':function(_0x5cd5b3,_0x3f0fcf){this['_doCryptBlock'](_0x5cd5b3,_0x3f0fcf,this['_keySchedule'],_0x2607e,_0x5311a9,_0x495eb7,_0x400c7d,_0x255308);},'decryptBlock':function(_0x595921,_0x1ee846){var _0xccb0e0=_0x595921[_0x1ee846+0x1];_0x595921[_0x1ee846+0x1]=_0x595921[_0x1ee846+0x3],_0x595921[_0x1ee846+0x3]=_0xccb0e0,this['_doCryptBlock'](_0x595921,_0x1ee846,this['_invKeySchedule'],_0x596dd8,_0x2c8279,_0x172a08,_0x1e62fe,_0x396b26);var _0xccb0e0=_0x595921[_0x1ee846+0x1];_0x595921[_0x1ee846+0x1]=_0x595921[_0x1ee846+0x3],_0x595921[_0x1ee846+0x3]=_0xccb0e0;},'_doCryptBlock':function(_0x4b774c,_0x5aa069,_0xfd09e,_0x2a5b06,_0x32aae9,_0x361cc0,_0x1c4359,_0x515f0b){var _0xb84ed1=_0xdd1973;for(var _0x9b7896=this[_0xb84ed1(0x36b)],_0x2a3737=_0x4b774c[_0x5aa069]^_0xfd09e[0x0],_0x3d9151=_0x4b774c[_0x5aa069+0x1]^_0xfd09e[0x1],_0x5b1d06=_0x4b774c[_0x5aa069+0x2]^_0xfd09e[0x2],_0x5b6915=_0x4b774c[_0x5aa069+0x3]^_0xfd09e[0x3],_0x2e184f=0x4,_0x5aa987=0x1;_0x5aa987<_0x9b7896;_0x5aa987++){var _0x24d255=_0x2a5b06[_0x2a3737>>>0x18]^_0x32aae9[_0x3d9151>>>0x10&0xff]^_0x361cc0[_0x5b1d06>>>0x8&0xff]^_0x1c4359[_0x5b6915&0xff]^_0xfd09e[_0x2e184f++],_0x399b32=_0x2a5b06[_0x3d9151>>>0x18]^_0x32aae9[_0x5b1d06>>>0x10&0xff]^_0x361cc0[_0x5b6915>>>0x8&0xff]^_0x1c4359[_0x2a3737&0xff]^_0xfd09e[_0x2e184f++],_0x4a892d=_0x2a5b06[_0x5b1d06>>>0x18]^_0x32aae9[_0x5b6915>>>0x10&0xff]^_0x361cc0[_0x2a3737>>>0x8&0xff]^_0x1c4359[_0x3d9151&0xff]^_0xfd09e[_0x2e184f++],_0x1f15a4=_0x2a5b06[_0x5b6915>>>0x18]^_0x32aae9[_0x2a3737>>>0x10&0xff]^_0x361cc0[_0x3d9151>>>0x8&0xff]^_0x1c4359[_0x5b1d06&0xff]^_0xfd09e[_0x2e184f++];_0x2a3737=_0x24d255,_0x3d9151=_0x399b32,_0x5b1d06=_0x4a892d,_0x5b6915=_0x1f15a4;}var _0x24d255=(_0x515f0b[_0x2a3737>>>0x18]<<0x18|_0x515f0b[_0x3d9151>>>0x10&0xff]<<0x10|_0x515f0b[_0x5b1d06>>>0x8&0xff]<<0x8|_0x515f0b[_0x5b6915&0xff])^_0xfd09e[_0x2e184f++],_0x399b32=(_0x515f0b[_0x3d9151>>>0x18]<<0x18|_0x515f0b[_0x5b1d06>>>0x10&0xff]<<0x10|_0x515f0b[_0x5b6915>>>0x8&0xff]<<0x8|_0x515f0b[_0x2a3737&0xff])^_0xfd09e[_0x2e184f++],_0x4a892d=(_0x515f0b[_0x5b1d06>>>0x18]<<0x18|_0x515f0b[_0x5b6915>>>0x10&0xff]<<0x10|_0x515f0b[_0x2a3737>>>0x8&0xff]<<0x8|_0x515f0b[_0x3d9151&0xff])^_0xfd09e[_0x2e184f++],_0x1f15a4=(_0x515f0b[_0x5b6915>>>0x18]<<0x18|_0x515f0b[_0x2a3737>>>0x10&0xff]<<0x10|_0x515f0b[_0x3d9151>>>0x8&0xff]<<0x8|_0x515f0b[_0x5b1d06&0xff])^_0xfd09e[_0x2e184f++];_0x4b774c[_0x5aa069]=_0x24d255,_0x4b774c[_0x5aa069+0x1]=_0x399b32,_0x4b774c[_0x5aa069+0x2]=_0x4a892d,_0x4b774c[_0x5aa069+0x3]=_0x1f15a4;},'keySize':0x100/0x20});_0x14e644['AES']=_0x40c664[_0xdd1973(0x1eb)](_0xc6b779);}()),_0x2ce14b[_0xc27e5a(0x17f)];}));}(Ve)),Ve['exports'];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0x3cf5cf(0x1f5)],si;function Rn(){var _0x2afb73=_0x3cf5cf;return si||(si=0x1,function(_0x2c98f,_0x5d6c5c){(function(_0x5c7dac,_0x5223b9){_0x2c98f['exports']=_0x5223b9(te());}(Cn,function(_0x2ca760){var _0x337ae1=_0x15c9;return _0x2ca760[_0x337ae1(0x18e)][_0x337ae1(0x2e3)];}));}(Xe)),Xe[_0x2afb73(0x1f5)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze['exports'],ni;function Nn(){var _0x250d57=_0x3cf5cf;return ni||(ni=0x1,function(_0x52887d,_0x10185e){(function(_0x27c049,_0x3aae45){var _0x176e66=_0x15c9;_0x52887d[_0x176e66(0x1f5)]=_0x3aae45(te());}(yn,function(_0x2a1b31){var _0x40dabf=_0x15c9;return(function(){var _0x23f9ba=_0x15c9;if(typeof ArrayBuffer==_0x23f9ba(0x263)){var _0x1ca1a0=_0x2a1b31,_0x41f69a=_0x1ca1a0[_0x23f9ba(0x20b)],_0x24b1cf=_0x41f69a[_0x23f9ba(0x245)],_0x55fc81=_0x24b1cf['init'],_0x1c1df0=_0x24b1cf['init']=function(_0x4f58be){var _0x2dc700=_0x23f9ba;if(_0x4f58be instanceof ArrayBuffer&&(_0x4f58be=new Uint8Array(_0x4f58be)),(_0x4f58be instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4f58be instanceof Uint8ClampedArray||_0x4f58be instanceof Int16Array||_0x4f58be instanceof Uint16Array||_0x4f58be instanceof Int32Array||_0x4f58be instanceof Uint32Array||_0x4f58be instanceof Float32Array||_0x4f58be instanceof Float64Array)&&(_0x4f58be=new Uint8Array(_0x4f58be[_0x2dc700(0x3f1)],_0x4f58be[_0x2dc700(0x21e)],_0x4f58be['byteLength'])),_0x4f58be instanceof Uint8Array){for(var _0x2305a0=_0x4f58be[_0x2dc700(0x152)],_0x354589=[],_0x38e9ab=0x0;_0x38e9ab<_0x2305a0;_0x38e9ab++)_0x354589[_0x38e9ab>>>0x2]|=_0x4f58be[_0x38e9ab]<<0x18-_0x38e9ab%0x4*0x8;_0x55fc81[_0x2dc700(0x22a)](this,_0x354589,_0x2305a0);}else _0x55fc81[_0x2dc700(0x26e)](this,arguments);};_0x1c1df0[_0x23f9ba(0x18b)]=_0x24b1cf;}}()),_0x2a1b31[_0x40dabf(0x20b)]['WordArray'];}));}(Ze)),Ze[_0x250d57(0x1f5)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0x3cf5cf(0x1f5)],ri;function wn(){var _0x1a8573=_0x3cf5cf;return ri||(ri=0x1,function(_0x9a1e0b,_0x43beb6){(function(_0x5130d7,_0x2510a3,_0x420582){_0x9a1e0b['exports']=_0x2510a3(te(),bi());}(An,function(_0x2a48f9){var _0x16ccfd=_0x15c9;return _0x2a48f9[_0x16ccfd(0x160)][_0x16ccfd(0x162)]={'pad':function(){},'unpad':function(){}},_0x2a48f9[_0x16ccfd(0x160)][_0x16ccfd(0x162)];}));}(Qe)),Qe[_0x1a8573(0x1f5)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0xbbccc0,_0x4ad98a){var _0x56dddf=_0x3cf5cf;const _0x52cf0e=_0x4ad98a-_0xbbccc0[_0x56dddf(0x146)]%_0x4ad98a,_0x329567=String[_0x56dddf(0x33c)](_0x52cf0e)[_0x56dddf(0x327)](_0x52cf0e);return _0xbbccc0+_0x329567;}function xn(_0x4357b3,_0x5aca02){var _0x2e2159=_0x3cf5cf;const _0x2c2fb3=Un[_0x2e2159(0x15c)](0x10),_0x1bf5e0=Ln(_0x4357b3,0x10),_0xfb1b82=In[_0x2e2159(0x1db)](bn[_0x2e2159(0x3f2)](_0x1bf5e0),ii[_0x2e2159(0x3f2)](_0x5aca02),{'iv':_0x2c2fb3,'padding':Mn});return _0x2c2fb3[_0x2e2159(0x16e)](_0xfb1b82[_0x2e2159(0x392)])['toString'](ii);}function kn(){var _0x475a02=_0x3cf5cf;const _0x4a8882=_0x13c42f()[_0x475a02(0x2a4)];if(_0x4a8882){const _0x4f80a2={'time':Math[_0x475a02(0x186)](Date[_0x475a02(0x166)]()/0x3e8),'domain':location[_0x475a02(0x208)]};return xn(JSON['stringify'](_0x4f80a2),_0x4a8882);}}var $n=Object[_0x3cf5cf(0x1dc)],Hn=(_0x263318,_0x451d4e,_0x3eb1f9,_0x49aeed)=>{var _0x4757ef=_0x3cf5cf;for(var _0x557eee=_0x49aeed>0x1?void 0x0:_0x49aeed?$n(_0x451d4e,_0x3eb1f9):_0x451d4e,_0x3ca29d=_0x263318[_0x4757ef(0x146)]-0x1,_0x2e26aa;_0x3ca29d>=0x0;_0x3ca29d--)(_0x2e26aa=_0x263318[_0x3ca29d])&&(_0x557eee=_0x2e26aa(_0x557eee)||_0x557eee);return _0x557eee;},Bn=(_0x104242,_0x85e54b)=>(_0x4b56dc,_0x15336a)=>_0x85e54b(_0x4b56dc,_0x15336a,_0x104242);let at=class{constructor(_0x3079f8){var _0x176c5c=_0x3cf5cf;this[_0x176c5c(0x3c0)]=_0x3079f8,this[_0x176c5c(0x1a3)]();}[_0x3cf5cf(0x1a3)](){var _0x2f4e8f=_0x3cf5cf;this['_httpService'][_0x2f4e8f(0x224)]({'interceptor':(_0xb9554b,_0x196f50)=>{var _0x397200=_0x2f4e8f;const _0x591e32=_0xb9554b[_0x397200(0x3a5)],_0x398361=kn();return _0x398361&&_0x591e32[_0x397200(0x195)](_0x397200(0x297),_0x398361),_0x196f50(_0xb9554b);}});}};at=Hn([Bn(0x0,_0x12820d(_0x5aa5ca))],at);var jn=Object[_0x3cf5cf(0x1dc)],Fn=(_0x498490,_0x2fa6d7,_0x9dcdb,_0x1f15fb)=>{var _0x3ef61d=_0x3cf5cf;for(var _0x4765f4=_0x1f15fb>0x1?void 0x0:_0x1f15fb?jn(_0x2fa6d7,_0x9dcdb):_0x2fa6d7,_0x31e766=_0x498490[_0x3ef61d(0x146)]-0x1,_0x2c75ac;_0x31e766>=0x0;_0x31e766--)(_0x2c75ac=_0x498490[_0x31e766])&&(_0x4765f4=_0x2c75ac(_0x4765f4)||_0x4765f4);return _0x4765f4;},vt=(_0x416d29,_0x54328d)=>(_0x176727,_0x21a6ff)=>_0x54328d(_0x176727,_0x21a6ff,_0x416d29);let Ct=class extends _0x193882{constructor(_0x48007a,_0x2641f5,_0x78e705){var _0x4e038f=_0x3cf5cf;super(),N(this,'_unitInfo$',new _0x542843(null)),N(this,'unitInfo$',this[_0x4e038f(0x418)][_0x4e038f(0x2a1)]()),(this[_0x4e038f(0x35e)]=_0x48007a,this[_0x4e038f(0x266)]=_0x2641f5,this[_0x4e038f(0x198)]=_0x78e705);}async[_0x3cf5cf(0x440)](_0x703a83,_0x3a3224,_0x1dab4c){var _0x40ebde=_0x3cf5cf;this[_0x40ebde(0x418)][_0x40ebde(0x33b)]({'unitId':_0x703a83,'type':_0x3a3224});let _0x459471=null;switch(_0x3a3224){case Z[_0x40ebde(0x202)]:{_0x459471=await this[_0x40ebde(0x266)]['loadSheet'](_0x703a83,_0x1dab4c);break;}case Z[_0x40ebde(0x3f5)]:{_0x459471=await this[_0x40ebde(0x266)][_0x40ebde(0x292)](_0x703a83,_0x1dab4c);break;}default:{this[_0x40ebde(0x35e)][_0x40ebde(0x3a6)](_0x40ebde(0x409),_0x40ebde(0x3e8));break;}}return _0x459471;}async[_0x3cf5cf(0x290)](_0xc0a561,_0x3e9b40,_0x36f50a){var _0x73553d=_0x3cf5cf,_0x5e1496;this[_0x73553d(0x418)][_0x73553d(0x33b)]({'unitId':_0xc0a561,'type':_0x3e9b40,'subUnitId':_0x36f50a});let _0x518054=0x0;const _0x7d06d5=await((_0x5e1496=this[_0x73553d(0x198)])==null?void 0x0:_0x5e1496['loadOfflineData'](_0xc0a561));return _0x7d06d5&&(_0x7d06d5[_0x73553d(0x3cf)]||_0x7d06d5['mutations'][_0x73553d(0x146)]!==0x0)&&(_0x518054=_0x7d06d5[_0x73553d(0x1f8)]),_0x518054===0x0&&this[_0x73553d(0x35e)]['debug'](_0x73553d(0x409),_0x73553d(0x31e)),this[_0x73553d(0x440)](_0xc0a561,_0x3e9b40,_0x518054);}};Ct=Fn([vt(0x0,_0x25fad5),vt(0x1,_0x12820d(_0x3b0404)),vt(0x2,_0x3d8a9a(J))],Ct);var Vn=Object[_0x3cf5cf(0x1dc)],Wn=(_0x21e01a,_0x583f6f,_0x1fbfca,_0x53569a)=>{for(var _0x38e22b=_0x53569a>0x1?void 0x0:_0x53569a?Vn(_0x583f6f,_0x1fbfca):_0x583f6f,_0x3e298c=_0x21e01a['length']-0x1,_0x420ea1;_0x3e298c>=0x0;_0x3e298c--)(_0x420ea1=_0x21e01a[_0x3e298c])&&(_0x38e22b=_0x420ea1(_0x38e22b)||_0x38e22b);return _0x38e22b;},pt=(_0x24de3e,_0x4f7144)=>(_0x4ec591,_0x1def55)=>_0x4f7144(_0x4ec591,_0x1def55,_0x24de3e);const Gn=[_0x3cf5cf(0x370),'image/jpeg',_0x3cf5cf(0x3ce),_0x3cf5cf(0x2e2),_0x3cf5cf(0x1ec)],Yn=0x5*0x400*0x400,Kn=_0x3cf5cf(0x3d7),qn=_0x3cf5cf(0x287);let Rt=class{constructor(_0x1b356c,_0x118b53,_0x1eca05){var _0x39dd0b=_0x3cf5cf;N(this,_0x39dd0b(0x2db),0x0),N(this,_0x39dd0b(0x1b8),new _0x87fa09()),N(this,_0x39dd0b(0x241),this[_0x39dd0b(0x1b8)]),N(this,'_imageSourceCache',new Map()),(this[_0x39dd0b(0x3c0)]=_0x1b356c,this[_0x39dd0b(0x2a6)]=_0x118b53,this[_0x39dd0b(0x257)]=_0x1eca05);}[_0x3cf5cf(0x27b)](_0x182178){var _0x312511=_0x3cf5cf;this[_0x312511(0x2db)]=_0x182178,this[_0x312511(0x1b8)][_0x312511(0x33b)](_0x182178);}[_0x3cf5cf(0x300)](_0x40b221,_0x1b47c8){var _0x4c0483=_0x3cf5cf;if(_0x1b47c8===_0x17c898[_0x4c0483(0x33e)]){const _0x3740a4=new Image();return _0x3740a4[_0x4c0483(0x175)]=_0x40b221,_0x3740a4;}return this['_imageSourceCache'][_0x4c0483(0x24d)](_0x40b221);}[_0x3cf5cf(0x2d8)](_0x1722e2,_0x4af5a2,_0x4d0763){var _0x232bd0=_0x3cf5cf;_0x4af5a2===_0x17c898[_0x232bd0(0x33e)]||_0x4d0763==null||this['_imageSourceCache'][_0x232bd0(0x195)](_0x1722e2,_0x4d0763);}async[_0x3cf5cf(0x338)](_0x55bd54){var _0x36c8cb=_0x3cf5cf;try{const _0x38c853=this['_replaceFileID'](this[_0x36c8cb(0x228)](),''+_0x55bd54),_0x48dff4=(await this[_0x36c8cb(0x3c0)][_0x36c8cb(0x24d)](_0x38c853))[_0x36c8cb(0x403)];if(_0x48dff4[_0x36c8cb(0x3a6)]&&_0x48dff4[_0x36c8cb(0x3a6)][_0x36c8cb(0x1e8)]===vi['OK']){const _0x4c8b99=new URL(_0x48dff4[_0x36c8cb(0x2da)],this[_0x36c8cb(0x307)]())['toString']();return Promise[_0x36c8cb(0x364)](_0x4c8b99);}return Promise['reject'](_0x48dff4[_0x36c8cb(0x3a6)]);}catch(_0x1d2ffe){return Promise[_0x36c8cb(0x3b6)](_0x1d2ffe);}}async['saveImage'](_0x378d0b){var _0x4706a8=_0x3cf5cf;let _0x50d5e7='';if(!Gn[_0x4706a8(0x3ad)](_0x378d0b[_0x4706a8(0x412)]))return this['_decreaseWaiting'](),Promise[_0x4706a8(0x3b6)](new Error(_0x403ccd[_0x4706a8(0x284)]));if(_0x378d0b[_0x4706a8(0x1b1)]>Yn)return this[_0x4706a8(0x225)](),Promise['reject'](new Error(_0x403ccd[_0x4706a8(0x246)]));try{const _0x5150dc=new FormData();_0x5150dc[_0x4706a8(0x407)](_0x4706a8(0x220),_0x378d0b);const _0xcc43fa=this[_0x4706a8(0x257)][_0x4706a8(0x415)](),_0x275caf=_0xcc43fa==null?void 0x0:_0xcc43fa[_0x4706a8(0x23b)]();if(!_0x275caf)throw new Error(_0x4706a8(0x217));const _0x4b7788=this['_getUploadFileURL']()+_0x4706a8(0x419)+_0x378d0b[_0x4706a8(0x1b1)][_0x4706a8(0x23e)]()+'&source='+pi['UnitEmbedded']+_0x4706a8(0x1bb)+encodeURIComponent(_0x275caf),_0x528c6d={'body':_0x5150dc},_0x4a40a2=(await this[_0x4706a8(0x3c0)][_0x4706a8(0x291)](_0x4b7788,_0x528c6d))[_0x4706a8(0x403)];if(typeof _0x4a40a2[_0x4706a8(0x420)]!=_0x4706a8(0x2bb))return this[_0x4706a8(0x225)](),Promise[_0x4706a8(0x3b6)](new Error(_0x403ccd['ERROR_IMAGE']));_0x50d5e7=_0x4a40a2[_0x4706a8(0x420)];}catch{return this[_0x4706a8(0x225)](),Promise[_0x4706a8(0x3b6)](new Error(_0x403ccd['ERROR_IMAGE']));}return new Promise((_0x164e61,_0x3f8497)=>{var _0x2de8df=_0x4706a8;const _0x4346b9=new FileReader();_0x4346b9[_0x2de8df(0x187)](_0x378d0b),_0x4346b9['onload']=_0x3ff0d7=>{var _0x514255=_0x2de8df,_0x4099c6;const _0x557b6c=(_0x4099c6=_0x3ff0d7[_0x514255(0x372)])==null?void 0x0:_0x4099c6[_0x514255(0x283)];if(_0x557b6c==null){this[_0x514255(0x225)](),_0x3f8497(new Error(_0x403ccd[_0x514255(0x326)]));return;}const _0x5420e9=_0x1b7f89(0x6);_0x164e61({'imageId':_0x5420e9,'imageSourceType':_0x17c898['UUID'],'source':_0x50d5e7,'base64Cache':_0x557b6c,'status':_0x403ccd['SUCCUSS']}),this[_0x514255(0x225)]();};});}[_0x3cf5cf(0x16b)](){var _0x3a2d2a=_0x3cf5cf,_0x23b6ff;const _0x402386=this['_configService'][_0x3a2d2a(0x342)](K);return(_0x23b6ff=_0x402386==null?void 0x0:_0x402386[_0x3a2d2a(0x1d9)])!=null?_0x23b6ff:Kn;}[_0x3cf5cf(0x228)](){var _0x3d0529=_0x3cf5cf,_0x191676;const _0x1946ca=this[_0x3d0529(0x2a6)][_0x3d0529(0x342)](K);return(_0x191676=_0x1946ca==null?void 0x0:_0x1946ca[_0x3d0529(0x3b9)])!=null?_0x191676:qn;}[_0x3cf5cf(0x307)](){var _0x2fcb1e=_0x3cf5cf,_0x21b740;const _0x4d0748=this[_0x2fcb1e(0x2a6)][_0x2fcb1e(0x342)](K);return(_0x21b740=_0x4d0748==null?void 0x0:_0x4d0748[_0x2fcb1e(0x377)])!=null?_0x21b740:location[_0x2fcb1e(0x285)];}[_0x3cf5cf(0x368)](_0x181411,_0x46c19a){var _0x49d65f=_0x3cf5cf;return _0x181411['replace'](_0x49d65f(0x41c),_0x46c19a);}[_0x3cf5cf(0x225)](){var _0x48741e=_0x3cf5cf;this[_0x48741e(0x2db)]-=0x1,this[_0x48741e(0x1b8)][_0x48741e(0x33b)](this[_0x48741e(0x2db)]);}};Rt=Wn([pt(0x0,_0x12820d(_0x5aa5ca)),pt(0x1,_0x288419),pt(0x2,_0x12820d(_0x1ddf79))],Rt);var zn=Object['getOwnPropertyDescriptor'],Jn=(_0x3235d5,_0x3d439d,_0xa0a1db,_0x5d0e49)=>{var _0x5e2e8d=_0x3cf5cf;for(var _0x47600f=_0x5d0e49>0x1?void 0x0:_0x5d0e49?zn(_0x3d439d,_0xa0a1db):_0x3d439d,_0x240dc5=_0x3235d5[_0x5e2e8d(0x146)]-0x1,_0x2240c9;_0x240dc5>=0x0;_0x240dc5--)(_0x2240c9=_0x3235d5[_0x240dc5])&&(_0x47600f=_0x2240c9(_0x47600f)||_0x47600f);return _0x47600f;},ai=(_0x14bce9,_0x1d0282)=>(_0x168e23,_0x86275b)=>_0x1d0282(_0x168e23,_0x86275b,_0x14bce9);const Xn='/universer-api/authz';let Ot=class{constructor(_0x4df173,_0x2025d6){var _0x4e1cc3=_0x3cf5cf;this[_0x4e1cc3(0x2a6)]=_0x4df173,this[_0x4e1cc3(0x37d)]=_0x2025d6;}[_0x3cf5cf(0x2ce)](){var _0x22ebc5=_0x3cf5cf,_0x24cc65;const _0xbf5fff=this['_configService'][_0x22ebc5(0x342)](K);return(_0x24cc65=_0xbf5fff==null?void 0x0:_0xbf5fff[_0x22ebc5(0x390)])!=null?_0x24cc65:Xn;}async[_0x3cf5cf(0x411)](_0x2373f6){var _0x3288b3=_0x3cf5cf;const _0xa4e506=this[_0x3288b3(0x2ce)]()+_0x3288b3(0x30a);return{'list':[{'title':_0x3288b3(0x1ef),'mentions':(await this['_HTTPService']['get'](_0xa4e506,{'params':{'objectID':_0x2373f6[_0x3288b3(0x2c4)],'unitID':_0x2373f6[_0x3288b3(0x2c4)]}}))[_0x3288b3(0x403)][_0x3288b3(0x271)][_0x3288b3(0x36f)](_0x403933=>({'objectId':_0x403933['id'],'name':_0x403933[_0x3288b3(0x1a9)][_0x3288b3(0x3c7)],'metadata':{'icon':_0x403933['subject'][_0x3288b3(0x3f0)]},'label':_0x403933[_0x3288b3(0x1a9)][_0x3288b3(0x3c7)],'objectType':_0x2badaf[_0x3288b3(0x20a)]})),'metadata':{},'type':_0x2badaf[_0x3288b3(0x20a)]}]};}};Ot=Jn([ai(0x0,_0x12820d(_0x288419)),ai(0x1,_0x12820d(_0x5aa5ca))],Ot);var Zn=Object[_0x3cf5cf(0x1dc)],Qn=(_0x10f2d6,_0x317bf5,_0x212720,_0x591320)=>{var _0x32ef56=_0x3cf5cf;for(var _0x27c7c3=_0x591320>0x1?void 0x0:_0x591320?Zn(_0x317bf5,_0x212720):_0x317bf5,_0x3d2810=_0x10f2d6[_0x32ef56(0x146)]-0x1,_0x5b7bf0;_0x3d2810>=0x0;_0x3d2810--)(_0x5b7bf0=_0x10f2d6[_0x3d2810])&&(_0x27c7c3=_0x5b7bf0(_0x27c7c3)||_0x27c7c3);return _0x27c7c3;},Ue=(_0x45b0de,_0x414e14)=>(_0x2b2dac,_0x43b2ec)=>_0x414e14(_0x2b2dac,_0x43b2ec,_0x45b0de);let ot=class extends _0x193882{constructor(_0x3c0bc4,_0x3c81e5,_0x4d1884,_0x139e69,_0x22bf63){var _0x4d3ccc=_0x3cf5cf;super(),this[_0x4d3ccc(0x204)]=_0x3c0bc4,this['_univerInstanceService']=_0x3c81e5,this[_0x4d3ccc(0x277)]=_0x4d1884,this['_collaborationSessionService']=_0x139e69,this[_0x4d3ccc(0x331)]=_0x22bf63,this[_0x4d3ccc(0x254)](),this[_0x4d3ccc(0x3b8)]();}[_0x3cf5cf(0x3b8)](){var _0x301e6f=_0x3cf5cf;const _0x523d00=async _0x190e57=>{var _0x3bbe6a=_0x15c9;(await this[_0x3bbe6a(0x172)][_0x3bbe6a(0x3fe)](_0x190e57))[_0x3bbe6a(0x3db)]['pipe'](_0x56c61e(_0x5e8a7a=>_0x5e8a7a[_0x3bbe6a(0x2c8)]===_0x500e4e[_0x3bbe6a(0x2ba)]),_0x29897e(this[_0x3bbe6a(0x302)]))['subscribe'](_0x368cc9=>{var _0x3c9467=_0x3bbe6a;const _0x3fdce4=_0x368cc9,{reason:_0x5a3ab2}=_0x3fdce4[_0x3c9467(0x2f7)];this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x3c9467(0x1a6)],'data':_0x5a3ab2}),this[_0x3c9467(0x277)][_0x3c9467(0x18a)](new _0x51ffc0(_0x190e57)['id'],!0x1),this['_collaborationSessionService'][_0x3c9467(0x1be)](_0x190e57);});};_0x33440c(this['_univerInstanceService'][_0x301e6f(0x1b6)](_0x16ae93[_0x301e6f(0x202)]),this[_0x301e6f(0x257)][_0x301e6f(0x1b6)](_0x16ae93[_0x301e6f(0x3f5)]))[_0x301e6f(0x286)](_0x57a7d9(_0x308c73=>_0x308c73[_0x301e6f(0x23b)]()),_0x56c61e(_0x3a14b3=>!_0x106050(_0x3a14b3)),_0x29897e(this[_0x301e6f(0x302)]))['subscribe'](_0xfb1341=>{_0x523d00(_0xfb1341);});}[_0x3cf5cf(0x254)](){var _0x2cc109=_0x3cf5cf;const _0x5b61b7=async _0x32f297=>{var _0x5485c7=_0x15c9;const _0x4c1a00=await this[_0x5485c7(0x172)]['requireSession'](_0x32f297),_0x348013=this[_0x5485c7(0x204)][_0x5485c7(0x24d)](_0x170f3a);_0x4c1a00['event$'][_0x5485c7(0x286)](_0x56c61e(_0x1009be=>_0x1009be['eventID']===_0x500e4e[_0x5485c7(0x1e6)]),_0x29897e(this['dispose$']))[_0x5485c7(0x1d4)](_0x41a1a8=>{var _0x1f42a1=_0x5485c7;const _0x44a579=_0x41a1a8,{objectId:_0x4d500e}=_0x44a579[_0x1f42a1(0x2f7)];_0x4d500e===_0x32f297?_0x348013['initWorkbookPermissionChange'](_0x32f297):_0x348013[_0x1f42a1(0x158)](_0x32f297,_0x4d500e);});};_0x33440c(this[_0x2cc109(0x257)][_0x2cc109(0x1b6)](_0x16ae93[_0x2cc109(0x202)]))[_0x2cc109(0x286)](_0x57a7d9(_0x185a93=>_0x185a93['getUnitId']()),_0x56c61e(_0x2b42a5=>!_0x106050(_0x2b42a5)),_0x29897e(this[_0x2cc109(0x302)]))['subscribe'](_0x4da45b=>{_0x5b61b7(_0x4da45b);});}};ot=Qn([Ue(0x0,_0x12820d(_0x29ebe1)),Ue(0x1,_0x1ddf79),Ue(0x2,_0x2842df),Ue(0x3,_0x12820d(Pe)),Ue(0x4,_0x12820d(ve))],ot);var er=Object['getOwnPropertyDescriptor'],tr=(_0x358fac,_0x343ea3,_0x3bccb7,_0x44939b)=>{var _0x38df9f=_0x3cf5cf;for(var _0x3a86bd=_0x44939b>0x1?void 0x0:_0x44939b?er(_0x343ea3,_0x3bccb7):_0x343ea3,_0x154476=_0x358fac[_0x38df9f(0x146)]-0x1,_0x5898b7;_0x154476>=0x0;_0x154476--)(_0x5898b7=_0x358fac[_0x154476])&&(_0x3a86bd=_0x5898b7(_0x3a86bd)||_0x3a86bd);return _0x3a86bd;},oi=(_0x290842,_0x1e98ac)=>(_0xcbf55c,_0x4d7abc)=>_0x1e98ac(_0xcbf55c,_0x4d7abc,_0x290842);let bt=class{constructor(_0x4ef4f3,_0x353937){var _0x586bce=_0x3cf5cf;this[_0x586bce(0x2a6)]=_0x4ef4f3,this[_0x586bce(0x3c0)]=_0x353937;}async['getUnitOnRev'](_0x286c6a,_0x76eb38){var _0x595171=_0x3cf5cf,_0x5bdb29;const {unitID:_0x3b9cfa,type:_0x3b8bcb,revision:_0x57c8aa=0x0}=_0x76eb38,_0x33c94b=this['getSnapshotAPIPath']()+'/'+_0x3b8bcb+_0x595171(0x189)+_0x3b9cfa+_0x595171(0x2a5)+_0x57c8aa,_0x1b2d1d=(await this['_httpService'][_0x595171(0x24d)](_0x33c94b))['body'],_0x51b3a8=(_0x5bdb29=_0x1b2d1d['snapshot'])==null?void 0x0:_0x5bdb29[_0x595171(0x317)];if(_0x51b3a8){const _0x1e786b=_0x51b3a8==null?void 0x0:_0x51b3a8[_0x595171(0x281)],_0x48c349=_0x529280[_0x595171(0x144)](_0xa68969(_0x1e786b));_0x51b3a8[_0x595171(0x281)]=_0x48c349,Object[_0x595171(0x15b)](_0x51b3a8['sheets'])[_0x595171(0x360)](([,_0x471895])=>{var _0x4887b2=_0x595171;const _0x5d383e=_0x471895[_0x4887b2(0x281)],_0x211a04=_0x529280[_0x4887b2(0x144)](_0xa68969(_0x5d383e));_0x471895[_0x4887b2(0x281)]=_0x211a04;});}return _0x1b2d1d;}async['getSheetBlock'](_0x28ad06,_0x26f2ac){var _0x353e29=_0x3cf5cf;const {unitID:_0x2d4601,type:_0x46a30f,blockID:_0x25e468}=_0x26f2ac,_0x11360c=this[_0x353e29(0x39c)]()+'/'+_0x46a30f+_0x353e29(0x189)+_0x2d4601+'/block/'+_0x25e468;return(await this[_0x353e29(0x3c0)][_0x353e29(0x24d)](_0x11360c))[_0x353e29(0x403)];}async['getDeserializedSheetBlock'](_0x4ab2ba,_0x1e1bfa){var _0x55731d=_0x3cf5cf;const {unitID:_0x55e22e,type:_0x1e879a,blockID:_0x5da9dc}=_0x1e1bfa,_0x33f1e6=this[_0x55731d(0x39c)]()+_0x55731d(0x339)+_0x1e879a+_0x55731d(0x189)+_0x55e22e+_0x55731d(0x339)+_0x5da9dc;return(await this[_0x55731d(0x3c0)]['get'](_0x33f1e6))[_0x55731d(0x403)];}async[_0x3cf5cf(0x1a2)](_0x4413de,_0x50e092){var _0x2a3e89=_0x3cf5cf;const {unitID:_0x42ee70,type:_0xb4cf78,from:_0x509ce5,to:_0x5c9ddc}=_0x50e092,_0xf090c9=this[_0x2a3e89(0x39c)]()+'/'+_0xb4cf78+_0x2a3e89(0x189)+_0x42ee70+_0x2a3e89(0x3e5)+_0x509ce5+'&to='+_0x5c9ddc;return(await this['_httpService']['get'](_0xf090c9))[_0x2a3e89(0x403)];}[_0x3cf5cf(0x273)](){var _0x157a4b=_0x3cf5cf,_0x43faa7;return(_0x43faa7=this['_configService'][_0x157a4b(0x342)](vs))!=null?_0x43faa7:this['_getAPIPrefix']();}['_getAPIPrefix'](){var _0x2b6558=_0x3cf5cf,_0x40f70d;const _0x40e12a=this[_0x2b6558(0x2a6)]['getConfig'](K);return(_0x40f70d=_0x40e12a==null?void 0x0:_0x40e12a[_0x2b6558(0x3ba)])!=null?_0x40f70d:fs;}async['getResourcesRequest'](_0x75365b,_0x4b5d60){var _0x515aaa=_0x3cf5cf;const _0x36d317='/universer-api/snapshot/'+_0x4b5d60['type']+'/unit/'+_0x4b5d60[_0x515aaa(0x223)]+_0x515aaa(0x1a1);return(await this[_0x515aaa(0x3c0)]['get'](_0x36d317,{'params':{'resourceId':JSON[_0x515aaa(0x378)](_0x4b5d60[_0x515aaa(0x18d)])}}))[_0x515aaa(0x403)];}['saveSnapshot'](){var _0x194848=_0x3cf5cf;throw new Error(_0x194848(0x357));}[_0x3cf5cf(0x363)](){var _0x45c7f6=_0x3cf5cf;throw new Error(_0x45c7f6(0x357));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3cf5cf(0x2b9)](){var _0x4f61aa=_0x3cf5cf;throw new Error(_0x4f61aa(0x357));}[_0x3cf5cf(0x153)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){var _0x24b758=_0x3cf5cf;throw new Error(_0x24b758(0x357));}};bt=tr([oi(0x0,_0x288419),oi(0x1,_0x12820d(_0x5aa5ca))],bt);var ir=Object['getOwnPropertyDescriptor'],sr=(_0x378542,_0x26f9ef,_0x5ec84f,_0x3eace6)=>{var _0xed3499=_0x3cf5cf;for(var _0x36edff=_0x3eace6>0x1?void 0x0:_0x3eace6?ir(_0x26f9ef,_0x5ec84f):_0x26f9ef,_0x5f2777=_0x378542[_0xed3499(0x146)]-0x1,_0x2f2d1d;_0x5f2777>=0x0;_0x5f2777--)(_0x2f2d1d=_0x378542[_0x5f2777])&&(_0x36edff=_0x2f2d1d(_0x36edff)||_0x36edff);return _0x36edff;},Ae=(_0x524894,_0x12adc7)=>(_0xd25516,_0x233109)=>_0x12adc7(_0xd25516,_0x233109,_0x524894);function _0x25e3(){var _0x1ca035=['dispose$','MOBILE_HAS_BEEN_BOUND','kdf','equals','clone','_getDownloadEndpointURL','UNRECOGNIZED','360765wTpJEZ','/collaborator','onRemoteRej','CHANGESET_SHOULD_RETRY','LICENSE_MAX_UNITS_EXCEEDED','PERMISSION_DENIED','YUUMI_CONNECTOR_URL_NOT_FOUND','_redoStacks','_startTelemetryCollaborationNewChangeset','_resendWithTimeout','_transformSelections','_commandService','getTypeOfUnitDisposed$','LIVESHARE_REQUEST_HOST','workbook','_doProcessBlock','defineProperty','Could\x20not\x20dynamically\x20require\x20\x22','_socketService','awaiting','USER_NOT_INVITED_CODE','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','DEFAULT_FILE_NAME','ws://127.0.0.1:8000/universer-api/comb/connect','iterations','SUBMIT_CHANGESET','NO_OTHER_CLIENTS_EDITING','subUnitId','_key','ERROR_IMAGE','repeat','loginUrlKey','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','compose','cfg','/allowed','univer-pro.collaboration-client-socket-service','UNKNOWN_CMD','_sendingTimer','3TgCNfW','_collaborationUIEventService','finalize','requestParams','incrementRevOfUnit','[SyncedState]:\x20received\x20rejection.','clear','YUUMI_UNABLE_LOAD_URL','getImage','/block/','getAllMembers','next','fromCharCode','__creator','BASE64','_DEC_XFORM_MODE','_disableEditing','algo','getConfig','getMemberID','onRemoteAck','onSyncEditingCollabCursor','shouldCloseConn','UserProfileImg','UnitEmbedded','_remoteChangesetQueue','_acknowledgedAwaitingChangeset','SNAPSHOT_INVALID_SNAPSHOT','status$','sigBytes','joinRsp','_clearUndo','OTHER_CLIENT_EDITING','allowed','LOCAL_CACHE_INTERVAL','ceil','Hex','_transformIMECache','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','slice','debug','_getCurrentRevision','_createInitialStateImpl','abs','telemetry\x20info\x20is\x20not\x20initialized','_logService','update','forEach','_singleActiveUnitService','CBC','updateSnapshot','resolve','APPLY_REVISION_CONFILICT','transformUndoRedo','[UniverCollaborationClientPlugin]','_replaceFileID','_startCollaboration','disposeWithMe','_nRounds','onMissingChangesets','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','onCommentUpdate','map','image/png','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','target','/universer-api/authz','JOIN_ROOM_NOT_EXISTS','_oKey','univer-pro.collaboration-client.network-condition.service','downloadEndpointUrl','stringify','batchAllowed','_changesetReqId','duration','reset','_HTTPService','m2Prime','_roomMembers','_status$','PSEUDO_FETCH_MISSING_RESULT','_transformUndoredo','_collaborationTimeoutTimer','_checkMissing','c1Prime','startsWith','FAIL','SUBMIT_CHANGESET_TIMEOUT','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','online$','Encryptor','CHANGESET_ACK','sessionStatus$','collaboration-client.config','[CollaborationState]:\x20apply\x20error!','authzUrl','fetching\x20missing\x20changesets\x20from\x20','ciphertext','reconnect','OFFLINE','reverse','_data','_snapshotServerService','_syncEditingCollabCursor','_transformRemoteChangesetByIMECache','encryptBlock','collaboration-client.local-cache-service','_getAPIPrefix','_shouldReportTelemetry','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','sid','every','commentUpdateEvent','open$','_transformStateCache','_createInitialState','headers','error','_sendHeartbeatTimer','_state','onStateChange','getWorkbookSelections','_sendHeartbeat','TOO_MANY_REQUESTS','includes','2387875vAaUYW','liveShareNewHost','transformChangesets','actions','charAt','_config','_onUserJoin','min','reject','_members','_initCloseConn','signUrlServerUrl','snapshotServerUrl','memberID','_getSendChangesetTimeout','_tryReconnect','_removeRoom','_queuedRemoteChangesets','_httpService','ivSize','updatePermissionObjEvent','socket$','_memberService','_fetchMissChangesets','updateCursorEvent','name','_doFinalize','c2Prime','[PendingState]:\x20received\x20acknowledgement.','INVALID_ARGUMENT','_socket$','JOIN_ROOM_FULL','image/jpg','awaitingChangeset','_onOffline','13384440vMFBlp','[CollaborationSession]','_keySchedule','toggleOnline','_init','indexOf','/universer-api/stream/file/upload','reduce','[CollaborationEntity]','getMember','event$','getCurrentUser','YUUMI_SUBSCRIPTION_NOT_FOUND','blockSize','onlyLocal','_initDependencies','LICENSE_DISTRO_REJECTED','add','getRandomValues','GLOBAL_ROOMS_CNT_EXCEEDS','/fetchmissing?from=','_onConnectionFailed','collaboratorID','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onLocalMutation','_applyRemoteChangeset','decrypt','offline','LEAVE','LIVESHARE_NEW_HOST','Cipher','avatar','buffer','parse','_resendTimeout','range','UNIVER_DOC','removeMember','Pkcs7','objectActions','\x20to\x20','unknown','_clearRetryConnectingTimer','_reverseMap','routeKey','requireSession','_mode','_throwTelemetryCollaborationNewChangeset','createSocket','COMPRESS_MUTATION_APPLY','body','not_collab','[SyncedState]:\x20received\x20acknowledgement.','_onRemoteChangeset','append','_ENC_XFORM_MODE','[DataLoaderService]','params','msCrypto','enableOfflineEditing','_getRedoStack','updateOfflineData','getUnit','_commentUpdate$','list','type','_getCtorByUniverType','_socketReady','getFocusedUnit','editingUnit','sessionStatus','_unitInfo$','?size=','/universer-api/comb','override','{fileID}','fetch_missing','[PendingState]:\x20received\x20rejection.','from','FileId','padding','getCurrentRevOfUnit','create','WECHAT_HAS_BEEN_BOUND','pluginName','mutations','FETCH_MISSING','_doReset','_transitionLocked','awaiting_with_pending','650426OCOGxm','close','POST','_compressMutationService','clamp','_hasher','_sessionStatus$','commentUpdate$','Base','delete','_registerDependencies','cmd','objectType','EMAIL_HAS_BEEN_BOUND','_telemetryService','MD5','_timeoutTimer','socketService','withCredentials','_createHandler','_members$','loadUnitOfRevision','setCurrentUser','baseRev','listCollaborators','encode','getTime','length','_resendTimer','SNAPSHOT_HAS_BEEN_REMOVED','collabSubmitChangesetUrl','pending','_getUndoStack','getInterceptPoints','_substituteRedoStack','CHANGESET_REJ','values','submit\x20changeset\x20error!','execute','byteLength','copyFileMeta','failed\x20to\x20apply\x20missed\x20changesets!','extend','HELLO','keySize','refreshPermission','_sessions','message$','entries','random','APPLY_PERMISSION_DENIED','_retryConnectingTimer','COMMENT_UPDATE','pad','_updateStatus','NoPadding','getCollabEntity','mixIn','default','now','enableSingleActiveInstanceLock','_incrementRevisionNumber','deleteCollaborator','onCommandExecuted','_getUploadFileURL','roles','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','concat','auth.needGotoLoginAlert','splice','_onRecvEvent','_collaborationSessionService','_onLocalMutation','patch','src','conflict','readInt32LE','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_changesetSessionId','appendMutation','_parse','APPLY_DUPLICATED','textRanges','_onRemoteRetry','AES','_cipher','_updateLocalCache','PERMISSION_REJ','_listenToNetworkCondition','onTransformIME','_collabSessionService','floor','readAsDataURL','save\x20fail\x20reason\x20is\x20','/unit/','updatePermissionPoint','prototype','_process','resourceIDs','enc','Decryptor','RECV','HEARTBEAT_INTERVAL','editing\x20status\x20changed\x20to','connection\x20error','LOGIN_FAILED','set','compute','_undoStacks','_localCacheService','_clearHeartbeatTimer','JOIN','/object/','ALREADY_EXISTS','/new_changes','ONLINE','NEW_CHANGESETS','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','/resources','fetchMissingChangesets','_initRequestHeader','localCacheService','charCodeAt','CLOSE_ROOM','_replayCachedMutations','/-/object/list','subject','joinEvent','/universer-api/oidc/authpage','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_handler','LIVESHARE_FETCH_OPERATIONS','APPLY_REJECT','MSG_FOR_ERROR','size','_onConnectionOpen','/-/object/-/batch_allowed','_pendingMutations','onRemoteChangeset','getTypeOfUnitAdded$','onTransformState','_change$','_entities','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','&assign=','state$','JOIN_ROOM_PERMISSION_DENIED','closeSession','UNAUTHENTICATED','_clearCollaborationTimeoutTimer','_state$','SYNCED','sendChangesetTimeout','decryptBlock','_updateState','LIVESHARE_TERMINATE','_collaborationPaused','Hasher','YUUMI_AI_RUN_FAILED','loadOfflineData','EvpKDF','_getLoginPath','Malformed\x20UTF-8\x20data','status','uniscriptRunEvent','localeService','LICENSE_EXPORT_SIZE_EXCEEDED','OpenSSL','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','subscribe','_keyPriorReset','UNIVER_COLLABORATION_CLIENT_PLUGIN','complete','executeCommand','uploadFileServerUrl','_entityInit$','encrypt','getOwnPropertyDescriptor','interceptor','Error\x20on\x20receiving\x20event','BufferedBlockAlgorithm','INVITE_CODE_REQUIRED','send','IDLE','CONFLICT','[OfflineState]:\x20received\x20changeset.','UNIVER_SLIDE','UPDATE_PERMISSION_OBJ','BlockCipher','code','hasOwnProperty','_unlockTransition','_createHelper','image/bmp','_undoRedoService','NOT_FOUND','People','leaveEvent','_submitChangeset','transformMutationsWithChangeset','_waitForHeartbeatResponse','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','exports','LIVESHARE_OPERATION','INVALID_INVITE_CODE','rev','CipherParams','[CollaborationSessionService]','_revisionService','focused$','UNIVER_PROJECT','UnitSnapshot','randomBytes','session.room-cnt-exceeds','_roomCreated$','UNIVER_SHEET','Failed\x20to\x20update\x20permission\x20point','_injector','mode','UNISCRIPT_RUN','COMPLETION_FINISHED','hostname','isPermissionRej','PERSON','lib','BlockCipherMode','?url=','_nDataBytes','\x20in\x20_schedule.','put','infoRsp','csShouldRetryEvent','salt','_createSocket','_transformRemoteChangesetByStateCache','socket\x20close','unitId\x20is\x20not\x20found','RETRY_CONNECTING_MAX_COUNT','1868135aHWZkh','\x0aCurrent:\x20','getUnitType','_commentService','HEARTBEAT','byteOffset','MOBILE_VERIFY_CODE_MISMATCH','file','createEncryptor','fromCollab','unitID','registerHTTPInterceptor','_decreaseWaiting','_handlerCallback','AWAITING_WITH_PENDING','_getSignURL','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','call','NOT_COLLAB','fetchThroughInterceptors','_clearRedo','JOIN_ROOM_FAILED','getCollabEntity$','socket\x20open.','session.join-failed','key','_scheduleCompleteTimestamp','_createHmacHelper','/universer-api/uniscript','setShowComponents','getValue','transformStack\x20failed!','max','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getUnitId','revision','_isPermissionRej','toString','_clearScheduledTask','fetchMiss','change$','onSendChangeset','enableAuthServer','HttpExport','WordArray','ERROR_EXCEED_SIZE','processBlock','[FetchMissState]','location','[CollaborationUndoRedoService]','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_awaitingChangeset','get','_iKey','CHANGESET_REVISION_CONFILICT','isArray','resend','liveShareOperation','StreamCipher','_initUnitPermissionChange','dispose','csRejEvent','_univerInstanceService','changesets','SNAPSHOT_URL_KEY','waitForRoom$','SerializableCipher','INTERNAL_ERROR','_substituteUndoStack','_executeRemoteChangeset','_iv','onStarting','words','_onMessage','function','_onUserLeave','HmacMD5','_snapshotService','createDecryptor','PY_RUNTIME_SCRIPT_ERROR','updateMember','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','objectID','onMissedChangesetFetched','_type','apply','_instanceService','APPLY_NON_SEQUENTIAL_REVISION','collaborators','disableLocalCache','getSnapshotAPIPath','collaboration_new_changeset','_toggleOnline','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_permissionService','_showConflictNotification','members','reqId','setWaitCount','/universer-api/snapshot','find','_transformStack','_clearTimeoutTimer','UNDEFINED','originalMeta','createInstance','result','ERROR_IMAGE_TYPE','origin','pipe','/universer-api/file/{fileID}/sign-url','INVITE_CODE_HAS_BEEN_UES','_eventService','format','UNKNOWN_CODE','unsubscribe','_rescheduleHeartbeat','href','YUUMI_ALL_TABLES_IS_INVALID','loadUnit','post','loadDoc','_minBufferSize','_localeService','getSheetId','_sheetTransformSelectionsService','x-univer-host','HmacSHA1','OTHER_CLIENTS_EDITING','_stopTelemetryCollaborationNewChangeset','unit-cache-','_unitID','session.room-permission-denied','_event$','_networkConditionService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','asObservable','toggleOffline','_transformService','__Key__','/rev/','_configService','SHA1','hasher','formatter','_onFetchMissResult','_xformMode','method','HMAC','has','members$','_append','YUUMI_ASYNCIO_CANCELLED','join','SOCKET_FAILED','_retryCount','getActiveSheet','onRemoteRetry','_onJoinRoomEvent','_onRemoteACK','saveChangeset','SHOULD_CLOSE_CONN','string','csAckEvent','listRoles','UPDATE_CURSOR','SOCKET_FAILED_RETRY','onTransformSelections','/object','YUUMI_RATE_OVER_LIMIT','FETCH_MISS','unitId','_candidateSocket','push','session','eventID','_scheduleCollaborationTimeoutTimer','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','onTransformRemoteChangesetByIMECache','ENSURE_SNAPSHOT_EXECUTION','_toggleOffline','_getAPIPrefixPath','1523880JqNgqQ','$super','JOINING','INVITE_CODE_ALREADY_BOUND','filter','COMPRESS_MUTATION_SEND','close$','Latin1','_telemetryInfo','addImageSourceCache','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','url','_waitCount','INGEST','readyForCollab','_initMergeInterceptor','_hash','retryConnectingInterval','_prevBlock','image/gif','Utf8','USERS_LEAVE','emitEvent','findIndex','init','_socketMessageSubscription','_onRemoteRejected','error$','_joinRoom','crypto','_schedule','USERS_ENTER','_lockTransition','698900BdlcZK','state','_sender','synced','YUUMI_NO_CUBOID_FOR_QUESTION','_tryEnsureSocket','_onConflict','data','UNIVER_UNKNOWN','capture','MUTATION','selections','Base64','catch','stopTime','_socket','getImageSourceCache','onTransformRemoteChangesetByStateCache'];_0x25e3=function(){return _0x1ca035;};return _0x25e3();}let yt=class extends _0x5e26e8{constructor(_0xec93f3,_0x4498d3,_0x3764cb,_0x581716,_0x2dd973){var _0x1a3a61=_0x3cf5cf;super(_0xec93f3,_0x4498d3,_0x3764cb),this[_0x1a3a61(0x2a3)]=_0x581716,this[_0x1a3a61(0x35e)]=_0x2dd973;}[_0x3cf5cf(0x366)](_0xeab378,_0x19892f){var _0x89a23=_0x3cf5cf;const _0x139861=this[_0x89a23(0x14b)](_0xeab378);if(_0x139861)try{const _0x5def2f=this[_0x89a23(0x27e)](_0x139861,_0x19892f);this[_0x89a23(0x25d)](_0xeab378,_0x5def2f);}catch(_0x146a0f){this[_0x89a23(0x35e)][_0x89a23(0x3a6)](_0x89a23(0x24a),_0x146a0f),this[_0x89a23(0x34f)](_0xeab378);}const _0x559ddc=this['_getRedoStack'](_0xeab378);if(_0x559ddc)try{const _0x18a23c=this[_0x89a23(0x27e)](_0x559ddc,_0x19892f);this['_substituteRedoStack'](_0xeab378,_0x18a23c);}catch(_0x2fea91){this['_logService'][_0x89a23(0x3a6)](_0x2fea91),this[_0x89a23(0x22d)](_0xeab378);}}['_clearUndo'](_0x231b8c){var _0x499c8e=_0x3cf5cf;const _0x615d96=this[_0x499c8e(0x14b)](_0x231b8c);_0x615d96&&(_0x615d96[_0x499c8e(0x146)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x421d9d){var _0x3756bd=_0x3cf5cf;const _0x5250a1=this[_0x3756bd(0x40d)](_0x421d9d);_0x5250a1&&(_0x5250a1[_0x3756bd(0x146)]=0x0,this['_updateStatus']());}[_0x3cf5cf(0x25d)](_0x26cd18,_0x5ec5cb){var _0x1ae8ee=_0x3cf5cf;this[_0x1ae8ee(0x197)]['set'](_0x26cd18,_0x5ec5cb),this[_0x1ae8ee(0x161)]();}[_0x3cf5cf(0x14d)](_0x5c5eba,_0xff7ffa){var _0x3a01de=_0x3cf5cf;this[_0x3a01de(0x310)][_0x3a01de(0x195)](_0x5c5eba,_0xff7ffa),this[_0x3a01de(0x161)]();}[_0x3cf5cf(0x27e)](_0x3b9643,_0x166f69){var _0x289032=_0x3cf5cf;const _0x252c38=[];let _0x5aad9a=_0x166f69,_0x162013=_0x166f69;for(let _0xf9a4d6=_0x3b9643[_0x289032(0x146)]-0x1;_0xf9a4d6>=0x0;_0xf9a4d6--){const {unitID:_0x586444,undoMutations:_0x1f5108,redoMutations:_0x3e2701}=_0x3b9643[_0xf9a4d6],_0x516b4e=this['_transformService'][_0x289032(0x1f2)](_0x5aad9a,_0x1f5108),_0x413230=this['_transformService'][_0x289032(0x1f2)](_0x162013,_0x3e2701);if(_0x769296(_0x516b4e)||_0x769296(_0x413230)){this[_0x289032(0x35e)][_0x289032(0x3a6)](_0x289032(0x24a),_0x289032(0x238),_0x516b4e,_0x413230);break;}_0x5aad9a=_0x516b4e['c1Prime'],_0x162013=_0x413230[_0x289032(0x385)],_0x252c38[_0x289032(0x2c6)]({'unitID':_0x586444,'undoMutations':_0x516b4e[_0x289032(0x37e)],'redoMutations':_0x413230['m2Prime']});}return _0x252c38[_0x289032(0x395)]();}};yt=sr([Ae(0x0,_0x1ddf79),Ae(0x1,_0x35e576),Ae(0x2,_0xa06ba3),Ae(0x3,_0x2388e2),Ae(0x4,_0x25fad5)],yt);var nr=Object[_0x3cf5cf(0x319)],rr=Object[_0x3cf5cf(0x1dc)],ar=(_0x1d6196,_0xec1146,_0x31f323)=>_0xec1146 in _0x1d6196?nr(_0x1d6196,_0xec1146,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31f323}):_0x1d6196[_0xec1146]=_0x31f323,or=(_0x284f05,_0x204261,_0x44063e,_0x1afa1c)=>{var _0x5b1c59=_0x3cf5cf;for(var _0x33f52e=_0x1afa1c>0x1?void 0x0:_0x1afa1c?rr(_0x204261,_0x44063e):_0x204261,_0x320ca2=_0x284f05[_0x5b1c59(0x146)]-0x1,_0x41b0d8;_0x320ca2>=0x0;_0x320ca2--)(_0x41b0d8=_0x284f05[_0x320ca2])&&(_0x33f52e=_0x41b0d8(_0x33f52e)||_0x33f52e);return _0x33f52e;},mt=(_0x9db409,_0x3a3899)=>(_0x249c5d,_0x1cd934)=>_0x3a3899(_0x249c5d,_0x1cd934,_0x9db409),cr=(_0xaf8400,_0x5651dc,_0x5dac07)=>ar(_0xaf8400,_0x5651dc+'',_0x5dac07);const hr=_0x3cf5cf(0x1d6);let Nt=class extends _0x370560{constructor(_0x1636ee,_0x495307,_0x144bd7,_0x1f4231){var _0x5df616=_0x3cf5cf;super(),N(this,_0x5df616(0x3b3)),(this[_0x5df616(0x35e)]=_0x495307,this[_0x5df616(0x204)]=_0x144bd7,this[_0x5df616(0x2a6)]=_0x1f4231);const {..._0x590173}=_0x2fea4c({},Ls,_0x1636ee);if(!_0x590173['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x5df616(0x3b3)]=_0x590173,this['_configService']['setConfig'](K,_0x590173);}[_0x3cf5cf(0x260)](){var _0x289c6c=_0x3cf5cf;this[_0x289c6c(0x435)](),this[_0x289c6c(0x3e0)]();}[_0x3cf5cf(0x435)](){var _0x2efd97=_0x3cf5cf,_0x3a176e,_0x3f4ee9;this[_0x2efd97(0x204)][_0x2efd97(0x2ae)](_0x209b3)&&this[_0x2efd97(0x35e)][_0x2efd97(0x3a6)](_0x2efd97(0x367),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x1e652a=_0x25ff61([[_0x209b3,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this['_config'][_0x2efd97(0x43c)]}],[_0x39a9e8,{'useClass':bt}],[_0x3b045a,{'useClass':Tt}],[_0x3ce4f9,{'useClass':Rt}],[_0x4357e9,{'useClass':Ot}],[nt],[It]],(_0x3a176e=this['_config'])==null?void 0x0:_0x3a176e[_0x2efd97(0x41b)]);if(!((_0x3f4ee9=this[_0x2efd97(0x3b3)])!=null&&_0x3f4ee9[_0x2efd97(0x167)])){const _0x317ea9=_0x1e652a[_0x2efd97(0x2e6)](([_0x5a5fbe])=>_0x5a5fbe===ht);_0x317ea9!==-0x1&&_0x1e652a[_0x2efd97(0x170)](_0x317ea9,0x1);}_0x3757a2(this['_injector'],_0x1e652a);}['_initDependencies'](){var _0x37b0cd=_0x3cf5cf,_0x36596f,_0x41edc9,_0x2df19d;this[_0x37b0cd(0x204)]['get'](_0x5aa5ca)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x1107a3({'maxParallel':0x6})}),(_0x36596f=this[_0x37b0cd(0x3b3)])!=null&&_0x36596f[_0x37b0cd(0x40c)]||(_0x41edc9=this['_injector']['get'](J,_0x54377c['OPTIONAL']))==null||_0x41edc9[_0x37b0cd(0x272)](),(_0x2df19d=this[_0x37b0cd(0x3b3)])!=null&&_0x2df19d[_0x37b0cd(0x243)]&&_0x446515(this[_0x37b0cd(0x204)],[[rt]]),_0x446515(this[_0x37b0cd(0x204)],[[at],[nt],[ot]]);}};cr(Nt,_0x3cf5cf(0x425),hr),Nt=or([_0x538d36(_0x170b91,_0x4fc6e0),mt(0x1,_0x25fad5),mt(0x2,_0x12820d(_0x29ebe1)),mt(0x3,_0x288419)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Gt as CollaborationSocketService,Ei as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,mi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,js as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,gi as UnitStatus,Nt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,br as getLocalCacheKey,Vs as serializeCombRequest};