@univerjs-pro/collaboration-client 0.15.0-insiders.20260106-79b11f9 → 0.15.0-insiders.20260107-3d1cfdf

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 (54) 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/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +9 -9
  54. package/lib/types/controllers/collaboration/utils/empty.d.ts +0 -2
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x297613=_0x2e51;(function(_0x38308b,_0x89cba2){var _0xabc52a=_0x2e51,_0x404e06=_0x38308b();while(!![]){try{var _0x41f580=parseInt(_0xabc52a(0x2ba))/0x1+parseInt(_0xabc52a(0x175))/0x2+-parseInt(_0xabc52a(0x278))/0x3*(-parseInt(_0xabc52a(0x3e9))/0x4)+parseInt(_0xabc52a(0x2c2))/0x5*(-parseInt(_0xabc52a(0x3a9))/0x6)+-parseInt(_0xabc52a(0x128))/0x7*(parseInt(_0xabc52a(0x348))/0x8)+parseInt(_0xabc52a(0x213))/0x9+-parseInt(_0xabc52a(0x288))/0xa;if(_0x41f580===_0x89cba2)break;else _0x404e06['push'](_0x404e06['shift']());}catch(_0x4f21ac){_0x404e06['push'](_0x404e06['shift']());}}}(_0x5c3e,0xb249d));var Di=Object[_0x297613(0x3e7)],yi=(_0x50813d,_0x423407,_0x1065df)=>_0x423407 in _0x50813d?Di(_0x50813d,_0x423407,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1065df}):_0x50813d[_0x423407]=_0x1065df,D=(_0x306b27,_0x3a54b3,_0x269ab7)=>yi(_0x306b27,typeof _0x3a54b3!=_0x297613(0x185)?_0x3a54b3+'':_0x3a54b3,_0x269ab7);import{CollaborationEvent as _0x4752c4,ITransformService as _0x5735e6,isTransformMutationsWithChangesetSuccess as _0x47f07e,mapDocumentTypeToUniverType as _0x4a8fcf,RevisionService as _0x90395f,isTransformChangesetsSuccess as _0x37ae92,EmptyMutationInfo as _0x415b0a,CompressMutationService as _0x411a53,parseProtocolChangeset as _0x37ae34,uuidv4 as _0x2f8279,ISnapshotServerService as _0x560f67,parseChangesetToProtocol as _0xdd7f4b,SnapshotService as _0x580a97,textEncoder as _0x3c0bfe,b64DecodeUnicode as _0xb5d35d,isTransformMutationsWithChangesetFailure as _0x41b5d2,UniverCollaborationPlugin as _0x294beb}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0xf06b0d,Inject as _0x26bbed,UserManagerService as _0x309db0,Disposable as _0x147e04,UniverInstanceType as _0x36d7f4,ILogService as _0x2f0a5f,IConfigService as _0x8e0d98,Optional as _0x20c1a7,RxDisposable as _0x5ba552,createIdentifier as _0x3db7c7,Injector as _0x58079d,Tools as _0x4ea55b,Rectangle as _0x48a8a9,ICommandService as _0x3b90e9,JSONX as _0x2fd37c,IUndoRedoService as _0xf8321,IPermissionService as _0x2efae6,LocaleService as _0x5f547b,sequenceExecute as _0x3cdc63,toDisposable as _0x4cfa3e,CommandType as _0x51dc24,DisposableCollection as _0x5c0c8d,Workbook as _0x35f69b,resolveWithBasePath as _0x21d98a,generateRandomId as _0x2c1d46,MentionType as _0x402a53,isInternalEditorID as _0x9c9bc8,LocalUndoRedoService as _0x5d196e,IContextService as _0x57a6c5,DependentOn as _0x3ebc0f,Plugin as _0x531d15,merge as _0x2d6530,mergeOverrideWithDependencies as _0x438977,IAuthzIoService as _0x4f7490,IMentionIOService as _0xaa22bb,registerDependencies as _0x3c6d8c,Quantity as _0x332f2a,touchDependencies as _0x311e65}from'@univerjs/core';import{RichTextEditingMutation as _0x590051}from'@univerjs/docs';function _0x5c3e(){var _0x51c99b=['LICENSE_IMPORT_SIZE_EXCEEDED','getCurrentRevOfUnit','title','_listenToNetworkCondition','createDecryptor','getDeserializedSheetBlock','onRemoteAck','_configService','roomInfos','[PendingState]:\x20received\x20acknowledgement.','_map','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','FETCH_MISSING','cmd','People','patch','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','commentUpdateEvent','/rev/','[CollaborationSessionService]:\x20socket\x20error','COMPRESS_MUTATION_APPLY','unit-cache-','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','collaboration-client.local-cache-service','LOGIN_TOKEN_PROCESSING_FAILED','YUUMI_ASYNCIO_CANCELLED','_eventService','_clearHeartbeatTimer','PERSON','unpad','_key','NO_OTHER_CLIENTS_EDITING','stopTime','/unit/','/universer-api/snapshot/','join','[OfflineState]:\x20received\x20acknowledgement.','from','map','send','MUTATION','_onUserLeave','getFocusedUnit','enableCollaboration','liveShareOperation','values','_createInitialState','updateOfflineData','_doFinalize','ENTITLE_INSUFFICIENT_QUOTA','location','_compressMutationService','6vuBFUE','CURRENT_STATUS_CANNOT_OPERATE','substr','ALREADY_EXISTS','LIVESHARE_FETCH_OPERATIONS','_unitID','[PendingState]:\x20received\x20rejection.','Base','UnitSnapshot','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','roles','HmacMD5','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','fetching\x20missing\x20changesets\x20from\x20','updateSnapshot','_mode','refreshPermission','getInterceptPoints','USERS_LEAVE','[CollaborationSessionService]','encode','synced','_localeService','enableSingleActiveInstanceLock','getRoom','OFFLINE','LICENSE_DISTRO_REJECTED','_undoStacks','_getAPIPrefix','REDEMPTION_CODE_NOT_STARTED','UPDATE_PERMISSION_OBJ','setWaitCount','_checkMissing','BufferedBlockAlgorithm','socketService','textRanges','x-univer-host','splice','_disableEditing','APPLY_REVISION_CONFILICT','LICENSE_MAX_UNITS_EXCEEDED','HmacSHA1','ivSize','_syncEditingCollabCursor','event$','_collaborationPaused','addImageSourceCache','_decreaseWaiting','image/jpg','next','HEARTBEAT_TIMEOUT','[CollaborationUndoRedoService]','downloadEndpointUrl','init','_replaceFileID','default','putCollaborators','COMPRESS_MUTATION_SEND','_schedule','_telemetryService','[OfflineState]:\x20received\x20changeset.','defineProperty','NOT_COLLAB','59272DLHvvm','requestParams','onRemoteChangeset','createSocket','PENDING','YUUMI_TABLE_NOT_FOUND_IN_UNIT','add','_resendTimeout','[CollaborationSession]','/universer-api/uniscript','_createHelper','TOO_MANY_REQUESTS','updateCollaborator','code','OTHER_CLIENT_EDITING','SUCCUSS','range','_init','_getUploadFileURL','words','hasOwnProperty','SHA1','PSEUDO_FETCH_MISSING_RESULT','YUUMI_URL_COL_OUT_OF_RANGE','OPTIONAL','disableLocalCache','LEAVE','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_clearCollaborationTimeoutTimer','enc','_redoStacks','_joinRoom','function','_telemetryInfo','_updateState','_nRounds','UNDEFINED','_commentService','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_collaborationSessionService','_singleActiveUnitService','loginUrlKey','onMissedChangesetFetched','/object','INVALID_INVITE_CODE','_collaborationTimeoutTimer','_xformMode','unitId\x20is\x20not\x20found','filter','key','indexOf','/universer-api/file/{fileID}/sign-url','floor','_retryConnectingTimer','YUUMI_AI_RUN_FAILED','OpenSSL','LOGIN_FAILED','find','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','fetchMiss','?url=','reduce','resend','[CollaborationEntity]','authzUrl','getTypeOfUnitAdded$','ERROR_AGAIN','session.room-cnt-exceeds','_socket$','NEW_CHANGESETS','extend','ERROR_IMAGE','CipherParams','Pkcs7','ENTITLE_DUP_SUBSCRIPTION','_createHmacHelper','session.room-not-exists','telemetry\x20info\x20is\x20not\x20initialized','allowed','saveSnapshot','__esModule','UNKNOWN_CMD','resourceIDs','YUUMI_CONNECTOR_URL_NOT_FOUND','USERS_ENTER','_roomMembers','snapshotServerUrl','transformStack\x20failed!','routeKey','_lockTransition','_sessionStatus$','INVALID_ARGUMENT','_sendHeartbeatTimer','OTHER_CLIENTS_EDITING','AWAITING_WITH_PENDING','_executeRemoteChangeset','INTERNAL_ERROR','univer-pro.collaboration-client-socket-service','4395139nDQNXz','/collaborator','_members$','deleteCollaborator','removeMember','members$','encrypt','sessionStatus','_parse','asObservable','[FetchMissState]','listRoles','result','unitID','IDLE','entries','_showConflictNotification','_onRemoteRetry','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_resendWithTimeout','objectID','createEncryptor','_injector','onTransformRemoteChangesetByStateCache','_onRemoteChangeset','Base64','getResourcesRequest','[OfflineState]:\x20received\x20rejection.','onMissingChangesets','BASE64','_changesetSessionId','has','_invKeySchedule','/universer-api/oidc/authpage','error$','getTypeOfUnitDisposed$','byteLength','members','list','APPLY_REJECT','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','length','CHANGESET_SHOULD_RETRY','connection\x20error','_unitInfo$','_memberService','size','univer-pro.collaboration-client.single-active-unit-service','USER_NOT_INVITED_CODE','$super','catch','_applyRemoteChangeset','LIVESHARE_OPERATION','INVITE_CODE_ALREADY_BOUND','_doReset','[PendingState]:\x20unhandled\x20univer\x20type:\x20','subscribe','/universer-api/snapshot','Hasher','selections','/universer-api/user/session-ticket','decrypt','isPermissionRej','_tryReconnect','_getSignURL','_process','_getCurrentRevision','m2Prime','_doCryptBlock','ENTITLE_CAN_NOT_BUY_LOWER_OTP','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','capture','&to=','getValue','univer-pro.collaboration-client.network-condition.service','sessionStatus$','_queuedRemoteChangesets','218996QhtXdF','INGEST','onRemoteRej','_socketService','_reverseMap','_remoteChangesetQueue','_clearTimeoutTimer','conflict','_removeRoom','_snapshotService','_onConnectionFailed','push','algo','concat','UNIVER_SLIDE','ceil','symbol','csRejEvent','collaborators','DATA_SOURCE_TOO_LARGE','type','LIVESHARE_NEW_HOST','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','charAt','ENTITLE_USE_COUPON_NOT_1ST_TRADE','csShouldRetryEvent','_state','_isPermissionRej','UNIVER_SHEET','WECHAT_HAS_BEEN_BOUND','randomBytes','CLOSE_ROOM','toggleOnline','_shouldReportTelemetry','reset','editing\x20status\x20changed\x20to','_incrementRevisionNumber','_initRequestHeader','onTransformState','?size=','sendChangesetTimeout','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_instanceService','every','UnitEmbedded','SOCKET_FAILED_RETRY','image/gif','iterations','enableOfflineEditing','MSG_FOR_ERROR','collaboration_new_changeset','REDEMPTION_USER_REDEEM_TIMES_EXCEED','status','Error\x20on\x20receiving\x20event','INVITE_CODE_REQUIRED','retryConnectingInterval','random','_roomCreated$','_stopTelemetryCollaborationNewChangeset','COMMENT_UPDATE','AES','_onCombEvent','awaiting','append','CONFLICT','LICENSE_EXPORT_SIZE_EXCEEDED','_onJoinRoomEvent','startTime','getWorkbookSelections','loadSheet','_members','c1Prime','forEach','_unlockTransition','UserProfileImg','snapshot','_nDataBytes','_clearUndo','fromCollab','UNIVER_UNKNOWN','submit\x20changeset\x20error!','unitId','__creator','newCsEvent','_transformStateCache','onTransformSelections','YUUMI_NO_CUBOID_FOR_QUESTION','change$','YUUMI_RATE_OVER_LIMIT','_sendHeartbeat','workbook','getUnitType','memberID','LIVESHARE_TERMINATE','_type','body','_onFetchMissResult','hasher','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_clearRetryConnectingTimer','_onRemoteRejected','uniscriptRunEvent','_initUnitPermissionChange','_getCtorByUniverType','JOIN_ROOM_FAILED','findIndex','create','joinEvent','isArray','objects','getCurrentUser','/block/','Cipher','charCodeAt','interceptor','keySize','[SyncedState]:\x20received\x20acknowledgement.','_onRecvEvent','clamp','shouldCloseConn','_networkConditionService','finalize','reject','_socket','_awaitingChangeset','_throwTelemetryCollaborationNewChangeset','getOwnPropertyDescriptor','SUBMIT_CHANGESET','apply','getTime','_getAPIPrefixPath','_getSendChangesetTimeout','onMutationExecutedForCollab','_hasher','src','FileId','_sheetTransformSelectionsService','_handlerCallback','origin','format','closeSession','padding','_transitionLocked','confirm','csAckEvent','Undefined','userID','set','MD5','REDEMPTION_USER_NOT_ELIGIBLE','[UniverCollaborationClientPlugin]','_clearRedo','baseRev','localCacheService','msCrypto','execute','onlyLocal','_snapshotServerService','9358065bLLziq','kdf','_collabSessionService','ENTITLE_COUPON_EXPIRED','RECV','fetchThroughInterceptors','_exhaustRemoteChangesetQueue','_waitCount','cfg','revision','CHANGESET_REVISION_CONFILICT','COMPLETION_FINISHED','_onMessage','_cipher','_startTelemetryCollaborationNewChangeset','update','EMAIL_HAS_BEEN_BOUND','save\x20fail\x20reason\x20is\x20','JOIN_ROOM_PERMISSION_DENIED','fromCharCode','JOINING','HttpImport','href','SUBMIT_CHANGESET_TIMEOUT','blockSize','eventID','setShowComponents','ENTITLE_COUPON_USED_UP','BlockCipher','post','UNAUTHENTICATED','LIVESHARE_REQUEST_HOST','offline','_scheduleCompleteTimestamp','_toggleOffline','dispose$','/universer-api/authz','clone','_sendingTimer','compute','UNKNOWN_CODE','avatar','onTransformIME','_transformSelections','session','mode','[SyncedState]:\x20received\x20rejection.','infoRsp','\x20in\x20_schedule.','ENTITLE_CHAT_LIMIT_EXCEED','sid','_socketMessageSubscription','_commentUpdate$','saveSheetBlock','getUnitStatus$','_imageSourceCache','onSendChangeset','_entities','reverse','image/bmp','transformChangesets','mixIn','getAllMembers','_event$','salt','MOBILE_HAS_BEEN_BOUND','_prevBlock','PERMISSION_DENIED','\x20to\x20','crypto','ENTITLE_REPORT_LIMIT_EXCEED','_startCollaboration','BlockCipherMode','FETCH_MISS','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','FAIL','changesets','emitEvent','getConfig','_emitMembers','WordArray','_userManagerService','_sender','_status$','clear','_initDependencies','Malformed\x20UTF-8\x20data','lib','UNIVER_COLLABORATION_CLIENT_PLUGIN','_DEC_XFORM_MODE','transformUndoRedo','loadUnit','/fetchmissing?from=','action','objectActions','awaiting_with_pending','collabSubmitChangesetUrl','getRandomValues','_HTTPService','close','put','39cScvRy','pipe','_change$','Latin1','AUTHORIZE_CODE_ILLEGAL','_logService','[DataLoaderService]','_univerInstanceService','SHOULD_CLOSE_CONN','getUnitId','YUUMI_ALL_TABLES_IS_INVALID','not_collab','name','JOIN_ROOM_FULL','HELLO','CONNECTOR_DATA_TOO_LARGE','317540hUEgPH','SNAPSHOT_HAS_BEEN_REMOVED','pauseCollaboration','min','waitForRoom$','deepClone','DEFAULT_FILE_NAME','HEARTBEAT','_initCloseConn','Decryptor','_doProcessBlock','\x0aAfter:\x20','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_data','toggleOffline','fetch_missing','YUUMI_UNABLE_LOAD_URL','_waitForHeartbeatResponse','_localCacheService','updatePermissionPoint','_permissionService','getActiveSheet','c2Prime','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','/-/object/-/batch_allowed','disposeWithMe','SYNCED','stringify','_transformUndoredo','get','_revisionService','now','setConfig','_onConnectionOpen','_clearScheduledTask','ClipsheetFragments','transformMutationsWithChangeset','loadUnitOfRevision','objectType','JOIN_ROOM_NOT_EXISTS','_ENC_XFORM_MODE','debug','mutations','_onOffline','_iv','url','liveShareNewHost','_timeoutTimer','toString','registerHTTPInterceptor','1314457rSGEaG','_rescheduleHeartbeat','target','USER_NOT_FOUND','ciphertext','updateCursorEvent','INVITE_CODE_HAS_BEEN_UES','status$','3192985LpNIED','collabWebSocketUrl','_config','getUnit','EMAIL_VERIFY_CODE_MISMATCH','_acknowledgedAwaitingChangeset','message$','unsubscribe','_createInitialStateImpl','StreamCipher','UNRECOGNIZED','_hash','PERMISSION_REJ','_clearLocalCache','SOCKET_FAILED','UNISCRIPT_RUN','Encryptor','_httpService','/object/','_keyPriorReset','_keySchedule','dispose','_replayCachedMutations','readInt32LE','method','session.room-full','Utf8','getSheetBlock','string','APPLY_PERMISSION_DENIED','_tryEnsureSocket','_onConflict','_retryCount','/allowed','_onRemoteACK','_substituteUndoStack','localeService','startsWith','pad','/universer-api/comb','_undoRedoService','PY_RUNTIME_SCRIPT_ERROR','APPLY_NON_SEQUENTIAL_REVISION','\x20-\x20','&source=','_commandService','onTransformRemoteChangesetByIMECache','_onUserJoin','_collaborationUIEventService','pluginName','REDEMPTION_CODE_HAS_BEEN_CREATED','_minBufferSize','_transformStack','ONLINE','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','REDEMPTION_CODE_FULLY_REDEEMED','buffer','HEARTBEAT_INTERVAL','_initMergeInterceptor','reqId','readAsDataURL','socket\x20open.','slice','_submitChangeset','_transformService','_getLoginPath','/new_changes','_transformIMECache','NOT_FOUND','addHandlerCallback','close$','SNAPSHOT_INVALID_SNAPSHOT','_createHandler','_iKey','failed\x20to\x20apply\x20missed\x20changesets!','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','updateMember','getImage','_getDownloadEndpointURL','getSnapshotAPIPath','_updateStatus','_oKey','params','_changesetReqId','JOIN','_pendingMutations','setCurrentUser','getSheetId','EvpKDF','USER_IS_ANONYMOUS','reconnect','_candidateSocket','APPLY_DUPLICATED','UPDATE_CURSOR','getImageSourceCache','getMember','HttpExport','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_resendTimer','_sessions','sigBytes','max','actions','_state$','collaboratorID','pending','byteOffset','_onLocalMutation','_substituteRedoStack','_append','_createSocket','HMAC','_scheduleCollaborationTimeoutTimer','[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.','encryptBlock','CHANGESET_ACK','getCollabEntity','readyForCollab','headers','__Key__','open$','onSyncEditingCollabCursor','UNIVER_DOC','call','ERROR_IMAGE_TYPE','_handler','originalMeta','delete','error','processBlock','YUUMI_SUBSCRIPTION_NOT_FOUND','exports','unknown','GLOBAL_ROOMS_CNT_EXCEEDS','16xsPmdP','focused$','REDEMPTION_CODE_INACTIVE','createInstance','listCollaborators','Failed\x20to\x20update\x20permission\x20point','data','transformSelections','hostname','_toggleOnline','_registerDependencies','_transformRemoteChangesetByIMECache','NoPadding','[CollaborationState]:\x20apply\x20error!','_entityInit$','subject','image/jpeg','joinRsp','prototype','_getUndoStack','saveChangeset','requireSession','ENSURE_SNAPSHOT_EXECUTION','CHANGESET_REJ','parse','responseType','_socketReady','_doCreateSocket','appendMutation','fetchMissingChangesets','complete','Hex','repeat','UUID','_maxTotalRetryTimeout','getMemberID','_transformRemoteChangesetByStateCache','online$','ENTITLE_INVALID_COUPON_CODE','abs','_updateLocalCache','onRemoteRetry','UNIVER_PROJECT','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','REDEMPTION_INVALID_CODE'];_0x5c3e=function(){return _0x51c99b;};return _0x5c3e();}import{SheetsSelectionsService as _0x2fd920,SetSelectionsOperation as _0x4a8a9a,InsertSheetMutation as _0x4a1bfd,WorkbookEditablePermission as _0x266c0e,SheetPermissionInitController as _0x113cea}from'@univerjs/sheets';import{Subject as _0x34c84b,merge as _0x1e2b79,of as _0x191082,BehaviorSubject as _0x5ef610,takeUntil as _0x555e49,ReplaySubject as _0x3828c6,take as _0x208131,map as _0x37451a,shareReplay as _0x288b42,firstValueFrom as _0x3c298a,concatMap as _0x4413bb}from'rxjs';import{ITelemetryService as _0x4b2fe0}from'@univerjs/telemetry';import{map as _0x2c6a51,take as _0x54ec11,filter as _0x285157,delay as _0x45925c,takeUntil as _0x117cbb}from'rxjs/operators';import{HTTPService as _0x2a6ad7,ISocketService as _0x2c3ed4,MergeInterceptorFactory as _0x132386,HTTPRequest as _0x4b8ceb,UniverNetworkPlugin as _0x4ef3ae,ThresholdInterceptorFactory as _0x580fc7}from'@univerjs/network';import{ImageSourceType as _0x3fed5a,ImageUploadStatusType as _0xdd4f4d,IImageIoService as _0x1adb9d}from'@univerjs/drawing';import{getGlobalObject as _0x47f44e}from'@univerjs-pro/license';const Es=_0x297613(0x161),ps='SNAPSHOT_URL_KEY',ms=0x7d0,Is='ws://127.0.0.1:8000/universer-api/comb/connect',Or=_0x297613(0x164),Ss=_0x297613(0x2fb),gs=0x7530,di=_0x297613(0x3dc),fi=0x4e20,Ts=0x4e20,Os='RETRY_CONNECTING_MAX_COUNT',Rs=0x3,Rr='LOCAL_CACHE_INTERVAL',Nr=0x3e8,Ns=_0x297613(0x2e9),Cs=_0x297613(0x149),Cr=_0x297613(0x29f),br=_0x297613(0x3f2);var vi=(_0x2976bb=>(_0x2976bb[_0x2976bb[_0x297613(0x40d)]=0x0]=_0x297613(0x40d),_0x2976bb[_0x2976bb['OK']=0x1]='OK',_0x2976bb[_0x2976bb[_0x297613(0x126)]=0x2]=_0x297613(0x126),_0x2976bb[_0x2976bb[_0x297613(0x256)]=0x3]=_0x297613(0x256),_0x2976bb[_0x2976bb[_0x297613(0x306)]=0x4]=_0x297613(0x306),_0x2976bb[_0x2976bb[_0x297613(0x231)]=0x5]='UNAUTHENTICATED',_0x2976bb[_0x2976bb[_0x297613(0x3ac)]=0x6]='ALREADY_EXISTS',_0x2976bb[_0x2976bb[_0x297613(0x121)]=0x7]=_0x297613(0x121),_0x2976bb[_0x2976bb[_0x297613(0x3f4)]=0x8]=_0x297613(0x3f4),_0x2976bb[_0x2976bb[_0x297613(0x21e)]=0x9]=_0x297613(0x21e),_0x2976bb[_0x2976bb[_0x297613(0xfe)]=0xa]='LOGIN_FAILED',_0x2976bb[_0x2976bb['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x2976bb[_0x2976bb['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x297613(0x3b2),_0x2976bb[_0x2976bb[_0x297613(0x2c6)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x2976bb[_0x2976bb['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x297613(0x294),_0x2976bb[_0x2976bb[_0x297613(0x27c)]=0xf]=_0x297613(0x27c),_0x2976bb[_0x2976bb[_0x297613(0x38d)]=0x10]=_0x297613(0x38d),_0x2976bb[_0x2976bb[_0x297613(0x3aa)]=0x64]=_0x297613(0x3aa),_0x2976bb[_0x2976bb[_0x297613(0x108)]=0x65]=_0x297613(0x108),_0x2976bb[_0x2976bb[_0x297613(0x2bd)]=0xc9]=_0x297613(0x2bd),_0x2976bb[_0x2976bb[_0x297613(0x31b)]=0xca]=_0x297613(0x31b),_0x2976bb[_0x2976bb[_0x297613(0x21d)]=0x1389]=_0x297613(0x21d),_0x2976bb[_0x2976bb[_0x297613(0x309)]=0x1771]=_0x297613(0x309),_0x2976bb[_0x2976bb[_0x297613(0x289)]=0x1772]=_0x297613(0x289),_0x2976bb[_0x2976bb['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x297613(0x35e),_0x2976bb[_0x2976bb[_0x297613(0x14f)]=0x1b59]='APPLY_REJECT',_0x2976bb[_0x2976bb[_0x297613(0x2ec)]=0x1b5a]=_0x297613(0x2ec),_0x2976bb[_0x2976bb[_0x297613(0x3d1)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2976bb[_0x2976bb[_0x297613(0x2df)]=0x1b5c]=_0x297613(0x2df),_0x2976bb[_0x2976bb['APPLY_DUPLICATED']=0x1b5d]=_0x297613(0x31e),_0x2976bb[_0x2976bb['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x297613(0x287),_0x2976bb[_0x2976bb[_0x297613(0x3d2)]=0x2329]=_0x297613(0x3d2),_0x2976bb[_0x2976bb['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x297613(0x16e),_0x2976bb[_0x2976bb[_0x297613(0x375)]=0x232b]=_0x297613(0x375),_0x2976bb[_0x2976bb['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x297613(0x1b6),_0x2976bb[_0x2976bb[_0x297613(0x3c4)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2976bb[_0x2976bb[_0x297613(0x298)]=0x2711]=_0x297613(0x298),_0x2976bb[_0x2976bb[_0x297613(0x400)]=0x2712]=_0x297613(0x400),_0x2976bb[_0x2976bb[_0x297613(0x1cd)]=0x2713]=_0x297613(0x1cd),_0x2976bb[_0x2976bb[_0x297613(0x344)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2976bb[_0x2976bb['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x297613(0x1cb),_0x2976bb[_0x2976bb[_0x297613(0x38e)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2976bb[_0x2976bb[_0x297613(0x3ee)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x2976bb[_0x2976bb[_0x297613(0x282)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x2976bb[_0x2976bb[_0x297613(0x19e)]=0x271e]=_0x297613(0x19e),_0x2976bb[_0x2976bb[_0x297613(0xfc)]=0x271f]=_0x297613(0xfc),_0x2976bb[_0x2976bb[_0x297613(0x119)]=0x2720]=_0x297613(0x119),_0x2976bb[_0x2976bb['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x297613(0x2eb),_0x2976bb[_0x2976bb[_0x297613(0x2c0)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x2976bb[_0x2976bb[_0x297613(0xf2)]=0x2ee2]=_0x297613(0xf2),_0x2976bb[_0x2976bb[_0x297613(0x1ab)]=0x2ee3]=_0x297613(0x1ab),_0x2976bb[_0x2976bb[_0x297613(0x158)]=0x2ee4]=_0x297613(0x158),_0x2976bb[_0x2976bb['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x297613(0x15d),_0x2976bb[_0x2976bb[_0x297613(0x192)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2976bb[_0x2976bb[_0x297613(0x254)]=0x32ca]=_0x297613(0x254),_0x2976bb[_0x2976bb[_0x297613(0x223)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2976bb[_0x2976bb['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x297613(0x16d),_0x2976bb[_0x2976bb[_0x297613(0x1d7)]=0x36b2]=_0x297613(0x1d7),_0x2976bb[_0x2976bb[_0x297613(0x110)]=0x36b3]=_0x297613(0x110),_0x2976bb[_0x2976bb['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x2976bb[_0x2976bb[_0x297613(0x36e)]=0x36b5]=_0x297613(0x36e),_0x2976bb[_0x2976bb[_0x297613(0x216)]=0x36b6]=_0x297613(0x216),_0x2976bb[_0x2976bb['ENTITLE_COUPON_USED_UP']=0x36b7]=_0x297613(0x22e),_0x2976bb[_0x2976bb[_0x297613(0x18d)]=0x36b8]=_0x297613(0x18d),_0x2976bb[_0x2976bb['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x297613(0x244),_0x2976bb[_0x2976bb['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x297613(0x259),_0x2976bb[_0x2976bb['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x297613(0x3a6),_0x2976bb[_0x2976bb['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x2976bb[_0x2976bb[_0x297613(0x374)]=0x3a99]=_0x297613(0x374),_0x2976bb[_0x2976bb['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x297613(0x34a),_0x2976bb[_0x2976bb['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x297613(0x2f9),_0x2976bb[_0x2976bb[_0x297613(0x3c7)]=0x3a9c]=_0x297613(0x3c7),_0x2976bb[_0x2976bb[_0x297613(0x20a)]=0x3a9d]=_0x297613(0x20a),_0x2976bb[_0x2976bb[_0x297613(0x1a8)]=0x3a9e]=_0x297613(0x1a8),_0x2976bb[_0x2976bb[_0x297613(0x2f4)]=0x3a9f]=_0x297613(0x2f4),_0x2976bb[_0x2976bb['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x297613(0x188),_0x2976bb[_0x2976bb[_0x297613(0x2cc)]=-0x1]='UNRECOGNIZED',_0x2976bb))(vi||{}),Q=(_0x1dd77e=>(_0x1dd77e[_0x1dd77e[_0x297613(0x1c4)]=0x0]=_0x297613(0x1c4),_0x1dd77e[_0x1dd77e['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x1dd77e[_0x1dd77e[_0x297613(0x191)]=0x2]=_0x297613(0x191),_0x1dd77e[_0x1dd77e[_0x297613(0x183)]=0x3]='UNIVER_SLIDE',_0x1dd77e[_0x1dd77e[_0x297613(0x372)]=0x4]=_0x297613(0x372),_0x1dd77e[_0x1dd77e[_0x297613(0x2cc)]=-0x1]=_0x297613(0x2cc),_0x1dd77e))(Q||{}),j=(_0xc2fcf5=>(_0xc2fcf5[_0xc2fcf5[_0x297613(0x117)]=0x0]=_0x297613(0x117),_0xc2fcf5[_0xc2fcf5[_0x297613(0x286)]=0x1]=_0x297613(0x286),_0xc2fcf5[_0xc2fcf5[_0x297613(0x316)]=0x2]=_0x297613(0x316),_0xc2fcf5[_0xc2fcf5['LEAVE']=0x3]='LEAVE',_0xc2fcf5[_0xc2fcf5['INGEST']=0x4]=_0x297613(0x176),_0xc2fcf5[_0xc2fcf5['HEARTBEAT']=0x5]='HEARTBEAT',_0xc2fcf5[_0xc2fcf5[_0x297613(0x217)]=0x6]=_0x297613(0x217),_0xc2fcf5[_0xc2fcf5[_0x297613(0x2cc)]=-0x1]='UNRECOGNIZED',_0xc2fcf5))(j||{}),Ee=(_0x1a7615=>(_0x1a7615[_0x1a7615[_0x297613(0x23b)]=0x0]='UNKNOWN_CODE',_0x1a7615[_0x1a7615['OK']=0x1]='OK',_0x1a7615[_0x1a7615[_0x297613(0x25e)]=0x2]=_0x297613(0x25e),_0x1a7615[_0x1a7615[_0x297613(0x285)]=0x3e9]=_0x297613(0x285),_0x1a7615[_0x1a7615[_0x297613(0x2af)]=0x3ea]=_0x297613(0x2af),_0x1a7615[_0x1a7615[_0x297613(0x225)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x1a7615[_0x1a7615['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x1a7615[_0x1a7615[_0x297613(0x2cc)]=-0x1]=_0x297613(0x2cc),_0x1a7615))(Ee||{}),Ei=(_0x2d2f30=>(_0x2d2f30[_0x2d2f30[_0x297613(0x206)]=0x0]=_0x297613(0x206),_0x2d2f30[_0x2d2f30[_0x297613(0x228)]=0x1]='HttpImport',_0x2d2f30[_0x2d2f30[_0x297613(0x322)]=0x2]=_0x297613(0x322),_0x2d2f30[_0x2d2f30[_0x297613(0x1a1)]=0x3]='UnitEmbedded',_0x2d2f30[_0x2d2f30[_0x297613(0x3b1)]=0x4]='UnitSnapshot',_0x2d2f30[_0x2d2f30[_0x297613(0x1bf)]=0x5]=_0x297613(0x1bf),_0x2d2f30[_0x2d2f30[_0x297613(0x2ab)]=0x6]=_0x297613(0x2ab),_0x2d2f30[_0x2d2f30[_0x297613(0x2cc)]=-0x1]='UNRECOGNIZED',_0x2d2f30))(Ei||{});const bs=_0x297613(0x1a7);function Ds(_0x1ad6a2){var _0x5455c6=_0x297613;return JSON['stringify'](_0x1ad6a2)[_0x5455c6(0x151)];}var re=(_0x593df8=>(_0x593df8[_0x297613(0x3f7)]=_0x297613(0x3f7),_0x593df8[_0x297613(0x256)]=_0x297613(0x256),_0x593df8[_0x297613(0x1b5)]='CONFLICT',_0x593df8[_0x297613(0x194)]='CLOSE_ROOM',_0x593df8[_0x297613(0x1dd)]='JOIN_ROOM_FAILED',_0x593df8[_0x297613(0x1a2)]=_0x297613(0x1a2),_0x593df8[_0x297613(0x2d0)]='SOCKET_FAILED',_0x593df8['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x593df8))(re||{});class ve{constructor(){var _0x4d2ccc=_0x297613;D(this,_0x4d2ccc(0x252),new _0x34c84b()),D(this,'event$',this[_0x4d2ccc(0x252)][_0x4d2ccc(0x131)]());}['emitEvent'](_0x714ebd){var _0x551d5b=_0x297613;this[_0x551d5b(0x252)][_0x551d5b(0x3db)](_0x714ebd);}}class pi{constructor(){var _0x564219=_0x297613;D(this,_0x564219(0x247),new _0x34c84b()),D(this,'commentUpdate$',this[_0x564219(0x247)][_0x564219(0x131)]());}['onCommentUpdate'](_0xccc5){var _0x1d8716=_0x297613;this[_0x1d8716(0x247)]['next'](_0xccc5);}}var ys=Object['getOwnPropertyDescriptor'],Us=(_0x418395,_0x4f4678,_0x565e61,_0x49e529)=>{for(var _0x43d571=_0x49e529>0x1?void 0x0:_0x49e529?ys(_0x4f4678,_0x565e61):_0x4f4678,_0x5f0d1b=_0x418395['length']-0x1,_0x48fa94;_0x5f0d1b>=0x0;_0x5f0d1b--)(_0x48fa94=_0x418395[_0x5f0d1b])&&(_0x43d571=_0x48fa94(_0x43d571)||_0x43d571);return _0x43d571;},Ft=(_0xe73043,_0x4f27a8)=>(_0x3d9dc3,_0x207b60)=>_0x4f27a8(_0x3d9dc3,_0x207b60,_0xe73043);let Pe=class extends _0x147e04{constructor(_0x152fad,_0x8edcac){var _0x4ae925=_0x297613;super(),D(this,_0x4ae925(0x11b),new Map()),D(this,_0x4ae925(0x1ae),new _0x34c84b()),(this[_0x4ae925(0x27f)]=_0x152fad,this['_userManagerService']=_0x8edcac,this[_0x4ae925(0x2a1)](_0x1e2b79(this['_univerInstanceService'][_0x4ae925(0x14b)](_0x36d7f4[_0x4ae925(0x191)])[_0x4ae925(0x279)](_0x2c6a51(_0x1cdb53=>_0x1cdb53[_0x4ae925(0x281)]())),this[_0x4ae925(0x27f)][_0x4ae925(0x14b)](_0x36d7f4[_0x4ae925(0x33c)])[_0x4ae925(0x279)](_0x2c6a51(_0x34fad1=>_0x34fad1[_0x4ae925(0x281)]())),this[_0x4ae925(0x27f)]['getTypeOfUnitDisposed$'](_0x36d7f4[_0x4ae925(0x183)])[_0x4ae925(0x279)](_0x2c6a51(_0x4551fd=>_0x4551fd[_0x4ae925(0x281)]())))['subscribe'](_0x25ec91=>this[_0x4ae925(0x17d)](_0x25ec91))));}[_0x297613(0x28c)](_0x4c03c7){var _0x4de54f=_0x297613;return this[_0x4de54f(0x11b)][_0x4de54f(0x147)](_0x4c03c7)?_0x191082(this[_0x4de54f(0x11b)][_0x4de54f(0x2a5)](_0x4c03c7)):this[_0x4de54f(0x1ae)][_0x4de54f(0x279)](_0x2c6a51(_0x2ea522=>{var _0x12889f=_0x4de54f;if(_0x2ea522===_0x4c03c7)return this['_roomMembers'][_0x12889f(0x2a5)](_0x2ea522);}));}[_0x297613(0x318)](_0x3f8c54){var _0x1ab4d8=_0x297613;this[_0x1ab4d8(0x264)][_0x1ab4d8(0x318)](_0x3f8c54);}['getCurrentUser'](){var _0x3b6e96=_0x297613;return this[_0x3b6e96(0x264)][_0x3b6e96(0x1e3)]();}[_0x297613(0x30e)](_0xa775a3,_0x49edb4){var _0x3886da=_0x297613;let _0x113402=this[_0x3886da(0x11b)]['get'](_0xa775a3);_0x113402||(_0x113402=new As(),this[_0x3886da(0x11b)]['set'](_0xa775a3,_0x113402),this[_0x3886da(0x1ae)][_0x3886da(0x3db)](_0xa775a3)),_0x113402[_0x3886da(0x30e)](_0x49edb4);}[_0x297613(0x12c)](_0x21d7c5,_0x41491e){var _0x2aad61=_0x297613;const _0x5ef7d9=this['_roomMembers'][_0x2aad61(0x2a5)](_0x21d7c5);_0x5ef7d9&&_0x5ef7d9[_0x2aad61(0x12c)](_0x41491e);}[_0x297613(0x3c2)](_0x1a7506){var _0x17b85d=_0x297613;return this[_0x17b85d(0x11b)][_0x17b85d(0x2a5)](_0x1a7506);}['getMember'](_0x58033,_0x24a217){var _0x55b3c4=_0x297613;const _0x49e2bf=this[_0x55b3c4(0x11b)][_0x55b3c4(0x2a5)](_0x58033);if(_0x49e2bf)return _0x49e2bf[_0x55b3c4(0x321)](_0x24a217);}[_0x297613(0x17d)](_0x41c3db){var _0xbe1c65=_0x297613;const _0x53c16b=this[_0xbe1c65(0x11b)][_0xbe1c65(0x2a5)](_0x41c3db);_0x53c16b&&(_0x53c16b['dispose'](),this[_0xbe1c65(0x11b)][_0xbe1c65(0x341)](_0x41c3db));}['dispose'](){var _0x53badd=_0x297613;this[_0x53badd(0x11b)][_0x53badd(0x1bd)](_0x4bdcc8=>_0x4bdcc8[_0x53badd(0x2d7)]()),this['_roomMembers'][_0x53badd(0x267)](),this[_0x53badd(0x1ae)]['complete']();}};Pe=Us([Ft(0x0,_0xf06b0d),Ft(0x1,_0x26bbed(_0x309db0))],Pe);class As extends _0x147e04{constructor(){var _0x307e64=_0x297613;super(...arguments),D(this,'_members',new Map()),D(this,_0x307e64(0x12a),new _0x5ef610(this[_0x307e64(0x1bb)])),D(this,_0x307e64(0x12d),this[_0x307e64(0x12a)][_0x307e64(0x131)]());}[_0x297613(0x2d7)](){var _0x2e2d89=_0x297613;this['_members'][_0x2e2d89(0x267)]();}['updateMember'](_0x274b41){var _0x2bf671=_0x297613;this[_0x2bf671(0x1bb)][_0x2bf671(0x208)](_0x274b41[_0x2bf671(0x1d1)],_0x274b41),this[_0x2bf671(0x262)]();}[_0x297613(0x12c)](_0x408686){var _0x4923fd=_0x297613;this[_0x4923fd(0x1bb)]['delete'](_0x408686);}[_0x297613(0x321)](_0x4e9650){var _0x1ba6d4=_0x297613;return this[_0x1ba6d4(0x1bb)][_0x1ba6d4(0x2a5)](_0x4e9650);}[_0x297613(0x251)](){var _0x27c9e1=_0x297613;return Array[_0x27c9e1(0x39a)](this[_0x27c9e1(0x1bb)][_0x27c9e1(0x3a2)]());}['_emitMembers'](){var _0x26c623=_0x297613;this[_0x26c623(0x12a)][_0x26c623(0x3db)](this[_0x26c623(0x1bb)]);}}var Ps=Object[_0x297613(0x1f3)],Ls=(_0x2b9469,_0x273dee,_0xe0edc4,_0x27cf7d)=>{var _0x11b6db=_0x297613;for(var _0x2b3830=_0x27cf7d>0x1?void 0x0:_0x27cf7d?Ps(_0x273dee,_0xe0edc4):_0x273dee,_0x553902=_0x2b9469[_0x11b6db(0x151)]-0x1,_0x1abc11;_0x553902>=0x0;_0x553902--)(_0x1abc11=_0x2b9469[_0x553902])&&(_0x2b3830=_0x1abc11(_0x2b3830)||_0x2b3830);return _0x2b3830;},Oe=(_0x225ad,_0x3a5729)=>(_0x3668af,_0x29a958)=>_0x3a5729(_0x3668af,_0x29a958,_0x225ad),me=(_0x95390=>(_0x95390[_0x95390[_0x297613(0x136)]=0x0]='IDLE',_0x95390[_0x95390['JOINING']=0x1]=_0x297613(0x227),_0x95390[_0x95390['OFFLINE']=0x2]='OFFLINE',_0x95390[_0x95390[_0x297613(0x2f7)]=0x3]=_0x297613(0x2f7),_0x95390))(me||{});const jt={[Ee['FAIL']]:'session.join-failed',[Ee[_0x297613(0x285)]]:_0x297613(0x2db),[Ee['JOIN_ROOM_NOT_EXISTS']]:_0x297613(0x112),[Ee[_0x297613(0x225)]]:'session.room-permission-denied',[Ee[_0x297613(0x347)]]:_0x297613(0x109)};let mt=class extends _0x5ba552{constructor(_0x403dc7,_0x241b33,_0x2245b4,_0x3df996,_0x25313f,_0x59931b,_0x40fc4f,_0x347ba2){var _0x1cc166=_0x297613;super(),D(this,'_sessionStatus$',new _0x5ef610(0x0)),D(this,'sessionStatus$',this[_0x1cc166(0x120)][_0x1cc166(0x131)]()),D(this,_0x1cc166(0x252),new _0x34c84b()),D(this,'event$',this['_event$'][_0x1cc166(0x131)]()),D(this,_0x1cc166(0x1f0)),D(this,'_socketMessageSubscription'),D(this,_0x1cc166(0xf3)),D(this,_0x1cc166(0x196),!0x1),D(this,'_telemetryInfo',null),(this[_0x1cc166(0x3ae)]=_0x403dc7,this['_logService']=_0x2245b4,this['_configService']=_0x3df996,this[_0x1cc166(0x155)]=_0x25313f,this[_0x1cc166(0x40e)]=_0x59931b,this['_collaborationUIEventService']=_0x40fc4f,this[_0x1cc166(0x3e5)]=_0x347ba2,this['_shouldReportTelemetry']=!!this[_0x1cc166(0x3e5)],_0x241b33[_0x1cc166(0x279)](_0x555e49(this[_0x1cc166(0x236)]))[_0x1cc166(0x160)](_0x230d41=>{var _0x17d8fa=_0x1cc166,_0x1afcce;typeof _0x230d41>'u'||(this['_socket']=_0x230d41,_0x230d41?(this[_0x17d8fa(0x408)](_0x230d41),this[_0x17d8fa(0x246)]=_0x230d41[_0x17d8fa(0x2c8)]['subscribe'](_0x31d676=>{var _0x10b618=_0x17d8fa;_0x31d676[_0x10b618(0x11e)]===this['_unitID']&&this[_0x10b618(0x1b2)](_0x31d676);})):(this[_0x17d8fa(0x1f2)](),this[_0x17d8fa(0x120)][_0x17d8fa(0x3db)](0x2),(_0x1afcce=this['_socketMessageSubscription'])==null||_0x1afcce[_0x17d8fa(0x2c9)](),this['_socketMessageSubscription']=null));}));}get[_0x297613(0x12f)](){var _0x3ef404=_0x297613;return this[_0x3ef404(0x120)][_0x3ef404(0x171)]();}[_0x297613(0x36b)](){var _0x53a03f=_0x297613,_0x49a9ab,_0x306d75;return(_0x306d75=(_0x49a9ab=this[_0x53a03f(0x1f0)])==null?void 0x0:_0x49a9ab[_0x53a03f(0x1d1)])!=null?_0x306d75:null;}[_0x297613(0x2d7)](){var _0x21e4d6=_0x297613;super[_0x21e4d6(0x2d7)](),this[_0x21e4d6(0x236)][_0x21e4d6(0x3db)](),this['dispose$'][_0x21e4d6(0x366)]();}['close'](){var _0x579b21=_0x297613,_0x5abaab,_0x516c27;this[_0x579b21(0x1f2)](),(_0x5abaab=this[_0x579b21(0x1f0)])==null||_0x5abaab[_0x579b21(0x39c)]({'cmd':j[_0x579b21(0x403)],'data':{'roomID':this['_unitID']}}),(_0x516c27=this[_0x579b21(0x1f0)])==null||_0x516c27[_0x579b21(0x276)](),this[_0x579b21(0x252)][_0x579b21(0x366)](),this[_0x579b21(0x120)][_0x579b21(0x366)](),this[_0x579b21(0x2d7)]();}[_0x297613(0x1b2)](_0x264086){var _0x1b5032=_0x297613;_0x264086['cmd']===j[_0x1b5032(0x316)]?this[_0x1b5032(0x1b7)](_0x264086):_0x264086[_0x1b5032(0x382)]===j[_0x1b5032(0x217)]&&this[_0x1b5032(0x1ea)](_0x264086);}['_joinRoom'](_0x5b4dae){var _0x3d9aaf=_0x297613;this[_0x3d9aaf(0x120)][_0x3d9aaf(0x3db)](0x1),_0x5b4dae[_0x3d9aaf(0x39c)]({'cmd':j[_0x3d9aaf(0x316)],'routeKey':this[_0x3d9aaf(0x3ae)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3d9aaf(0x3ae)]}]}});}['_onJoinRoomEvent'](_0x837f2a){var _0x2555ca=_0x297613,_0x5dbced;if(_0x837f2a[_0x2555ca(0x3f6)]in jt){this[_0x2555ca(0x2f2)]['emitEvent']({'id':re[_0x2555ca(0x1dd)],'data':jt[_0x837f2a[_0x2555ca(0x3f6)]]}),this[_0x2555ca(0x120)]['next'](0x2);return;}this['_sessionStatus$'][_0x2555ca(0x3db)](0x3);const _0x14751d=(_0x5dbced=_0x837f2a[_0x2555ca(0x34e)][_0x2555ca(0x37d)][this[_0x2555ca(0x3ae)]])==null?void 0x0:_0x5dbced[_0x2555ca(0x14d)];_0x14751d&&_0x14751d[_0x2555ca(0x1bd)](_0x1ce8ea=>this[_0x2555ca(0x155)][_0x2555ca(0x30e)](this[_0x2555ca(0x3ae)],_0x1ce8ea));}[_0x297613(0x1ea)](_0x4a4dd5){var _0x56b076=_0x297613;try{const _0x149eca=_0x4a4dd5[_0x56b076(0x34e)];switch(_0x149eca[_0x56b076(0x22c)]){case _0x4752c4[_0x56b076(0x11a)]:this[_0x56b076(0x2f1)](_0x149eca),this[_0x56b076(0x252)][_0x56b076(0x3db)](_0x149eca);break;case _0x4752c4[_0x56b076(0x3bc)]:this[_0x56b076(0x39e)](_0x149eca),this[_0x56b076(0x252)]['next'](_0x149eca);break;case _0x4752c4[_0x56b076(0x335)]:case _0x4752c4[_0x56b076(0x152)]:this[_0x56b076(0x1af)](),this[_0x56b076(0x405)](),this[_0x56b076(0x252)][_0x56b076(0x3db)](_0x149eca);break;case _0x4752c4[_0x56b076(0x1a6)]:this[_0x56b076(0x27d)][_0x56b076(0x342)](_0x56b076(0x224)+JSON[_0x56b076(0x2a3)](_0x149eca)),this['_event$'][_0x56b076(0x3db)](_0x149eca);break;case _0x4752c4[_0x56b076(0x1b0)]:this[_0x56b076(0x40e)]['onCommentUpdate'](_0x149eca['data']),this[_0x56b076(0x252)]['next'](_0x149eca);break;default:this[_0x56b076(0x252)][_0x56b076(0x3db)](_0x149eca);}}catch(_0x2f898c){this[_0x56b076(0x27d)]['error'](_0x2f898c,_0x4a4dd5);}}[_0x297613(0x2f1)](_0x20e72f){var _0x5558ac=_0x297613;this[_0x5558ac(0x155)][_0x5558ac(0x30e)](this[_0x5558ac(0x3ae)],_0x20e72f[_0x5558ac(0x34e)]);}['_onUserLeave'](_0x297a98){var _0x214da9=_0x297613;this['_memberService'][_0x214da9(0x12c)](this[_0x214da9(0x3ae)],_0x297a98[_0x214da9(0x34e)][_0x214da9(0x1d1)]);}async['send'](_0x38e77d,_0x3a264b){var _0x4e4e91=_0x297613;if(this[_0x4e4e91(0x12f)]!==0x3||!this[_0x4e4e91(0x1f0)])throw new Error(_0x4e4e91(0x380));try{_0x38e77d[_0x4e4e91(0x22c)]===_0x4752c4[_0x4e4e91(0x1f4)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x38e77d)),this[_0x4e4e91(0x1f0)][_0x4e4e91(0x39c)]({'cmd':j['INGEST'],'routeKey':_0x3a264b,'routeType':'','data':_0x38e77d});}catch(_0x40b436){this[_0x4e4e91(0x27d)][_0x4e4e91(0x342)](_0x40b436);}}[_0x297613(0x332)](){var _0x415db7=_0x297613,_0xb41f79;this[_0x415db7(0xf3)]=setTimeout(()=>{var _0xc02c74=_0x415db7;this[_0xc02c74(0xf3)]=null,this[_0xc02c74(0x2f2)]['emitEvent']({'id':re[_0xc02c74(0x22a)]});},(_0xb41f79=this['_configService'][_0x415db7(0x261)](di))!=null?_0xb41f79:fi);}[_0x297613(0x405)](){var _0x3dd1e3=_0x297613;this[_0x3dd1e3(0xf3)]&&(clearTimeout(this[_0x3dd1e3(0xf3)]),this[_0x3dd1e3(0xf3)]=null);}[_0x297613(0x221)](_0x2963ca){var _0x534c49=_0x297613;if(!this[_0x534c49(0x196)])return;const {data:_0x1345c2}=_0x2963ca,{unitID:_0x323472,changeset:_0x3a7e3e}=_0x1345c2,{mutations:_0x20050f,type:_0x2684ce}=_0x3a7e3e;this[_0x534c49(0x40a)]={'unitId':_0x323472,'type':_0x2684ce,'startTime':performance[_0x534c49(0x2a7)](),'stopTime':0x0,'duration':0x0,'size':Ds(_0x20050f)};}[_0x297613(0x1af)](){var _0x1c8d77=_0x297613;if(this['_shouldReportTelemetry']){if(!this[_0x1c8d77(0x40a)]){this[_0x1c8d77(0x27d)][_0x1c8d77(0x342)](_0x1c8d77(0x3f1),_0x1c8d77(0x113));return;}this['_telemetryInfo'][_0x1c8d77(0x395)]=performance['now'](),this[_0x1c8d77(0x40a)]['duration']=this[_0x1c8d77(0x40a)][_0x1c8d77(0x395)]-this[_0x1c8d77(0x40a)][_0x1c8d77(0x1b8)],this['_telemetryService'][_0x1c8d77(0x16f)](bs,this[_0x1c8d77(0x40a)]),this[_0x1c8d77(0x40a)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x5eb36e=_0x297613;this[_0x5eb36e(0x40a)]=null;}};mt=Ls([Oe(0x2,_0x2f0a5f),Oe(0x3,_0x8e0d98),Oe(0x4,_0x26bbed(Pe)),Oe(0x5,_0x26bbed(pi)),Oe(0x6,_0x26bbed(ve)),Oe(0x7,_0x20c1a7(_0x4b2fe0))],mt);const X=_0x3db7c7(_0x297613(0x38c));function Dr(_0x38eef9){var _0x1ba3ae=_0x297613;return _0x1ba3ae(0x38a)+_0x38eef9;}var Ms=Object['getOwnPropertyDescriptor'],ws=(_0x485766,_0x3814b9,_0x3701c1,_0x4f7e11)=>{var _0xeecc43=_0x297613;for(var _0x451f66=_0x4f7e11>0x1?void 0x0:_0x4f7e11?Ms(_0x3814b9,_0x3701c1):_0x3814b9,_0x58a1de=_0x485766[_0xeecc43(0x151)]-0x1,_0x4bcef5;_0x58a1de>=0x0;_0x58a1de--)(_0x4bcef5=_0x485766[_0x58a1de])&&(_0x451f66=_0x4bcef5(_0x451f66)||_0x451f66);return _0x451f66;},ut=(_0x548a15,_0x24b45f)=>(_0x63f24f,_0x127600)=>_0x24b45f(_0x63f24f,_0x127600,_0x548a15);function xs(_0x3edae6){var _0x3ea3b8=_0x297613;const {unitID:_0x9a5621,mutations:_0xb4490f}=_0x3edae6;return{'unitId':_0x9a5621,'subUnitId':_0xb4490f[_0x3ea3b8(0x151)]>0x0?_0xb4490f[0x0][_0x3ea3b8(0x314)]['subUnitId']:null};}let it=class{constructor(_0x33b709,_0x27ffc8,_0x2fec9f){var _0x318c40=_0x297613;this[_0x318c40(0x13e)]=_0x33b709,this['_transformService']=_0x27ffc8,this[_0x318c40(0x19f)]=_0x2fec9f;}[_0x297613(0x34f)](_0xad92db){var _0x429579=_0x297613,_0x15d1d2,_0x3932d4,_0x269baf,_0x282e65;const _0x32fd85=this[_0x429579(0x13e)][_0x429579(0x2a5)](_0x2fd920),{unitId:_0x14ef07,subUnitId:_0x61b495}=xs(_0xad92db),_0x2ea255=_0x32fd85==null?void 0x0:_0x32fd85[_0x429579(0x1b9)](_0x14ef07)['getCurrentSelections'](),_0x435b43=(_0x3932d4=(_0x15d1d2=this[_0x429579(0x19f)][_0x429579(0x2c5)](_0x14ef07))==null?void 0x0:_0x15d1d2[_0x429579(0x29d)]())==null?void 0x0:_0x3932d4[_0x429579(0x319)]();if(_0x2ea255[_0x429579(0x151)]===0x0||!_0x14ef07||!_0x61b495)return;const _0x45fa1e=[{'id':_0x4a8a9a['id'],'params':{'unitId':_0x14ef07,'subUnitId':_0x435b43,'selections':_0x4ea55b[_0x429579(0x28d)](_0x2ea255)}}],_0x243dcb=this['_transformService'][_0x429579(0x2ac)](_0xad92db,_0x45fa1e);if(!_0x47f07e(_0x243dcb))throw _0x243dcb[_0x429579(0x342)];const _0x47c37e=(_0x282e65=(_0x269baf=_0x243dcb[_0x429579(0x16b)][0x0])==null?void 0x0:_0x269baf[_0x429579(0x314)])==null?void 0x0:_0x282e65[_0x429579(0x163)];if(Array[_0x429579(0x1e1)](_0x47c37e)&&_0x47c37e[_0x429579(0x151)]){if(_0x47c37e[_0x429579(0x151)]===_0x45fa1e[0x0]['params'][_0x429579(0x163)][_0x429579(0x151)]&&_0x47c37e['every']((_0x48c2f3,_0x2d5413)=>_0x48a8a9['equals'](_0x48c2f3[_0x429579(0x3f9)],_0x45fa1e[0x0]['params'][_0x429579(0x163)][_0x2d5413]['range'])))return;this[_0x429579(0x13e)][_0x429579(0x2a5)](_0x3b90e9)['executeCommand'](_0x4a8a9a['id'],{'unitId':_0x14ef07,'subUnitId':_0x435b43,'selections':_0x47c37e});}}};it=ws([ut(0x0,_0x26bbed(_0x58079d)),ut(0x1,_0x5735e6),ut(0x2,_0xf06b0d)],it);const _t=_0x3db7c7(_0x297613(0x157));var mi=(_0x4b2463=>(_0x4b2463[_0x4b2463[_0x297613(0x394)]=0x0]=_0x297613(0x394),_0x4b2463[_0x4b2463[_0x297613(0x123)]=0x1]=_0x297613(0x123),_0x4b2463))(mi||{});const K='collaboration-client.config',ks={};function $s(_0xba4754){var _0x59317d;return!!((_0x59317d=_0xba4754['params'])!=null&&_0x59317d['__splitChunk__']);}const Hs=new Set([_0x4a1bfd['id']]);function Vt(_0x43d55b,_0x12ec68,_0x5a6456,_0x44db2e,_0x4f78ad){var _0xa089cd=_0x297613,_0x3b78d0,_0x590b48,_0x2918fd,_0x51fa4f;const _0x5f31ce=[];for(const _0x58539a of _0x43d55b){if(Hs[_0xa089cd(0x147)](_0x58539a['id'])){if(_0x5f31ce[_0xa089cd(0x151)]>0x0)break;_0x5f31ce[_0xa089cd(0x180)](_0x58539a);break;}if($s(_0x58539a)){if(_0x5f31ce[_0xa089cd(0x151)]>0x0)break;_0x5f31ce[_0xa089cd(0x180)](_0x58539a);break;}_0x5f31ce[_0xa089cd(0x180)](_0x58539a);}const _0x4786ad=(_0x590b48=(_0x3b78d0=_0x4f78ad[_0xa089cd(0x1e3)]())==null?void 0x0:_0x3b78d0[_0xa089cd(0x207)])!=null?_0x590b48:'unknown',_0x1ada13=(_0x51fa4f=(_0x2918fd=_0x4f78ad[_0xa089cd(0x1e3)]())==null?void 0x0:_0x2918fd[_0xa089cd(0x1d1)])!=null?_0x51fa4f:'unknown';return{'changeset':{'unitID':_0x12ec68,'type':_0x4a8fcf(_0x5a6456[_0xa089cd(0x1d0)](_0x12ec68)),'baseRev':_0x44db2e[_0xa089cd(0x376)](_0x12ec68),'revision':0x0,'userID':_0x4786ad,'memberID':_0x1ada13,'mutations':_0x5f31ce},'pendingMutations':_0x43d55b[_0xa089cd(0x300)](_0x5f31ce[_0xa089cd(0x151)])};}function Bs(_0x4fdcbc,_0x55916e,_0x199c29,_0x3ea73f,_0x10f55d){var _0x4ba16a=_0x297613,_0x520bd9,_0x16ebda,_0x392db9,_0x24512b;const _0x310288=[_0x4fdcbc[_0x4ba16a(0x103)]((_0x887b09,_0x26fa75)=>{var _0x48b340=_0x4ba16a,_0x1637e0;const {id:_0x4906c0}=_0x887b09,{id:_0x315c98,type:_0x38bcd2}=_0x26fa75,_0x1aff74=(_0x1637e0=_0x887b09[_0x48b340(0x314)])!=null?_0x1637e0:{'actions':null},_0x27482e=_0x26fa75[_0x48b340(0x314)];if(_0x4906c0&&_0x4906c0!==_0x315c98)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4906c0+_0x48b340(0x2ed)+_0x315c98+'.');return{..._0x887b09,'id':_0x315c98,'type':_0x38bcd2,'params':{'unitId':_0x27482e[_0x48b340(0x1c6)],'textRanges':_0x27482e[_0x48b340(0x3cd)],'actions':_0x2fd37c['compose'](_0x1aff74[_0x48b340(0x328)],_0x27482e['actions'])}};},{})],_0x5b261a=(_0x16ebda=(_0x520bd9=_0x10f55d[_0x4ba16a(0x1e3)]())==null?void 0x0:_0x520bd9['userID'])!=null?_0x16ebda:_0x4ba16a(0x346),_0x309bed=(_0x24512b=(_0x392db9=_0x10f55d[_0x4ba16a(0x1e3)]())==null?void 0x0:_0x392db9['memberID'])!=null?_0x24512b:_0x4ba16a(0x346);return{'changeset':{'unitID':_0x55916e,'type':_0x4a8fcf(_0x199c29[_0x4ba16a(0x1d0)](_0x55916e)),'baseRev':_0x3ea73f['getCurrentRevOfUnit'](_0x55916e),'revision':0x0,'userID':_0x5b261a,'memberID':_0x309bed,'mutations':_0x310288},'pendingMutations':[]};}function Ii(_0x458c6c,_0x3f5af2){var _0x2d8ade=_0x297613;const _0x30dcce=new _0x3828c6(0x1);return setTimeout(()=>_0x30dcce['next'](_0x3f5af2),_0x458c6c),_0x30dcce['asObservable']()[_0x2d8ade(0x279)](_0x208131(0x1));}var Fs=Object[_0x297613(0x1f3)],Se=(_0x4dc75a,_0x45b64b,_0x50135a,_0x2cb433)=>{var _0x367112=_0x297613;for(var _0x43916e=_0x2cb433>0x1?void 0x0:_0x2cb433?Fs(_0x45b64b,_0x50135a):_0x45b64b,_0x203020=_0x4dc75a[_0x367112(0x151)]-0x1,_0x396b92;_0x203020>=0x0;_0x203020--)(_0x396b92=_0x4dc75a[_0x203020])&&(_0x43916e=_0x396b92(_0x43916e)||_0x43916e);return _0x43916e;},L=(_0x62da19,_0x482c85)=>(_0x30cfc5,_0x3ee103)=>_0x482c85(_0x30cfc5,_0x3ee103,_0x62da19),Si=(_0xd1de=>(_0xd1de[_0x297613(0x3e8)]=_0x297613(0x283),_0xd1de[_0x297613(0x2a2)]='synced',_0xd1de[_0x297613(0x3ed)]=_0x297613(0x32b),_0xd1de['AWAITING']=_0x297613(0x1b3),_0xd1de[_0x297613(0x124)]=_0x297613(0x272),_0xd1de[_0x297613(0x25c)]=_0x297613(0x297),_0xd1de['CONFLICT']=_0x297613(0x17c),_0xd1de[_0x297613(0x3c3)]=_0x297613(0x233),_0xd1de))(Si||{});const gi=0x4e20,Ti=0x2bf20;class ge{constructor(_0x7ce86,_0x542b12,_0x4d5c8f,_0x3a04e7,_0x1d716a,_0x2c09bd,_0x4c4917,_0x5b21a6,_0x1f9d63){var _0x10de3f=_0x297613;D(this,_0x10de3f(0x1f1),null),D(this,'_pendingMutations',[]),(this[_0x10de3f(0x135)]=_0x7ce86,this[_0x10de3f(0x189)]=_0x542b12,this[_0x10de3f(0x33f)]=_0x1d716a,this[_0x10de3f(0x2ef)]=_0x2c09bd,this[_0x10de3f(0x2ea)]=_0x4c4917,this[_0x10de3f(0x2a6)]=_0x5b21a6,this[_0x10de3f(0x29a)]=_0x1f9d63,this[_0x10de3f(0x1f1)]=_0x4d5c8f,this[_0x10de3f(0x317)]=_0x3a04e7);}[_0x297613(0x3ca)](_0x271f73){var _0x135e2c=_0x297613;const _0x3c0369=this[_0x135e2c(0x2a6)][_0x135e2c(0x376)](this['unitID']);return _0x271f73[_0x135e2c(0x21c)]>_0x3c0369+0x1?(this[_0x135e2c(0x33f)][_0x135e2c(0x144)]({'from':_0x3c0369,'to':_0x271f73[_0x135e2c(0x21c)]-0x1}),!0x0):!0x1;}[_0x297613(0x2a4)](_0x69cbd4){var _0x3491ce=_0x297613;this[_0x3491ce(0x2ea)][_0x3491ce(0x26d)](this['unitID'],_0x69cbd4);}['_transformSelections'](_0x20fc14){var _0x2329eb=_0x297613,_0x83f200,_0x5340da;(_0x5340da=(_0x83f200=this[_0x2329eb(0x33f)])[_0x2329eb(0x1ca)])==null||_0x5340da[_0x2329eb(0x33d)](_0x83f200,_0x20fc14);}['_transformIMECache'](_0x4c72e0){var _0x501d19=_0x297613,_0x2f27d3,_0x1ce689;return(_0x1ce689=(_0x2f27d3=this['_handler'])[_0x501d19(0x23d)])==null?void 0x0:_0x1ce689['call'](_0x2f27d3,_0x4c72e0);}[_0x297613(0x1c9)](_0x39f540){var _0x2f9b63=_0x297613,_0x54f8f3,_0x5b3fc9;return(_0x5b3fc9=(_0x54f8f3=this[_0x2f9b63(0x33f)])[_0x2f9b63(0x19b)])==null?void 0x0:_0x5b3fc9['call'](_0x54f8f3,_0x39f540);}[_0x297613(0x353)](_0x54af57){var _0x5997b5=_0x297613,_0x5dd2c5,_0x144fc3,_0x45cc11;return(_0x45cc11=(_0x144fc3=(_0x5dd2c5=this[_0x5997b5(0x33f)])[_0x5997b5(0x2f0)])==null?void 0x0:_0x144fc3[_0x5997b5(0x33d)](_0x5dd2c5,_0x54af57))!=null?_0x45cc11:_0x54af57;}[_0x297613(0x36c)](_0x12167b){var _0x284a58=_0x297613,_0x5ab539,_0x565d36,_0x1cadcf;return(_0x1cadcf=(_0x565d36=(_0x5ab539=this[_0x284a58(0x33f)])[_0x284a58(0x13f)])==null?void 0x0:_0x565d36[_0x284a58(0x33d)](_0x5ab539,_0x12167b))!=null?_0x1cadcf:_0x12167b;}[_0x297613(0x3d5)](_0x1e7c4b){var _0x59dd76=_0x297613,_0x579613,_0x510ce8;if(this[_0x59dd76(0x189)]===Q[_0x59dd76(0x33c)]){const {unitID:_0x4aa0d8,mutations:_0x3d78d0,memberID:_0x47ce7c}=_0x1e7c4b,_0x5ce5ee=_0x3d78d0['length']>0x0?_0x3d78d0[0x0][_0x59dd76(0x314)][_0x59dd76(0x3cd)]:[];Array[_0x59dd76(0x1e1)](_0x5ce5ee)&&_0x5ce5ee['length']>0x0&&((_0x510ce8=(_0x579613=this[_0x59dd76(0x33f)])[_0x59dd76(0x33b)])==null||_0x510ce8[_0x59dd76(0x33d)](_0x579613,{'unitID':_0x4aa0d8,'memberID':_0x47ce7c,'textRanges':_0x5ce5ee}));}}[_0x297613(0x370)](){var _0x3d8bc7=_0x297613,_0x549762;(_0x549762=this[_0x3d8bc7(0x29a)])==null||_0x549762[_0x3d8bc7(0x3a4)](this[_0x3d8bc7(0x135)],this[_0x3d8bc7(0x189)],this[_0x3d8bc7(0x1f1)],this[_0x3d8bc7(0x317)]);}[_0x297613(0x16a)](){var _0x5c976e=_0x297613;return this['_revisionService'][_0x5c976e(0x376)](this[_0x5c976e(0x135)]);}[_0x297613(0x199)](){var _0x2613a5=_0x297613;this[_0x2613a5(0x2a6)]['incrementRevOfUnit'](this[_0x2613a5(0x135)]);}[_0x297613(0x125)](_0x244cab){var _0x10f0bd=_0x297613,_0x545ffb;let _0x186e71=this['_transformRemoteChangesetByIMECache'](_0x244cab);_0x186e71=this['_transformRemoteChangesetByStateCache'](_0x186e71);const _0x549906=_0x3cdc63(_0x186e71[_0x10f0bd(0x2b2)],this[_0x10f0bd(0x2ef)],{'fromCollab':!0x0});if(!_0x549906[_0x10f0bd(0x134)])throw _0x549906[_0x10f0bd(0x342)]instanceof Error?_0x549906[_0x10f0bd(0x342)]:new Error((_0x545ffb=_0x549906[_0x10f0bd(0x342)])!=null?_0x545ffb:_0x10f0bd(0x355));this[_0x10f0bd(0x305)](_0x186e71),this[_0x10f0bd(0x1c9)](_0x186e71),this[_0x10f0bd(0x2a4)](_0x244cab),this[_0x10f0bd(0x23e)](_0x186e71),this[_0x10f0bd(0x3d5)](_0x186e71),this[_0x10f0bd(0x199)]();}}let be=class extends ge{constructor(_0x207cdf,_0x36439d,_0x52387a,_0x12d3ef,_0x436c5c,_0x587075,_0x3c0c60,_0x3b3466,_0xc39703,_0x673043){var _0x292cac=_0x297613;super(_0x207cdf,_0x36439d,null,[],_0x52387a,_0x3c0c60,_0x587075,_0x12d3ef,_0x673043),D(this,_0x292cac(0x1a9),_0x292cac(0x3bf)),(this['_injector']=_0x436c5c,this[_0x292cac(0x27d)]=_0x3b3466,this[_0x292cac(0x302)]=_0xc39703,this['localCacheService']=_0x673043);}[_0x297613(0x364)](_0x327e40){var _0xa90aaf=_0x297613;const _0x4af4ad=this[_0xa90aaf(0x13e)][_0xa90aaf(0x34b)](ae,this[_0xa90aaf(0x135)],this[_0xa90aaf(0x189)],[_0x327e40],this['_handler']);return _0x4af4ad['_schedule'](),_0x4af4ad[_0xa90aaf(0x370)](),_0x4af4ad;}[_0x297613(0x3eb)](_0x40a9f8){var _0x7bb251=_0x297613;if(this[_0x7bb251(0x3ca)](_0x40a9f8))return this['_injector'][_0x7bb251(0x34b)](ee,this[_0x7bb251(0x135)],this[_0x7bb251(0x189)],null,[],null,[_0x40a9f8],this[_0x7bb251(0x33f)]);try{const _0x48d92c=this[_0x7bb251(0x302)][_0x7bb251(0x2ac)](_0x40a9f8,[_0x415b0a]);if(_0x47f07e(_0x48d92c)){const {c1Prime:_0x128e04}=_0x48d92c;return this[_0x7bb251(0x125)](_0x128e04),this;}throw _0x48d92c[_0x7bb251(0x342)];}catch(_0x2a5414){return this['_logService'][_0x7bb251(0x342)](_0x2a5414),this[_0x7bb251(0x2e1)](!0x1);}}[_0x297613(0x2e1)](_0x20a9c1){var _0x2d70bb=_0x297613;return this[_0x2d70bb(0x13e)][_0x2d70bb(0x34b)](ue,this[_0x2d70bb(0x135)],this['type'],null,[],this[_0x2d70bb(0x33f)],_0x20a9c1);}[_0x297613(0x37b)](){var _0x7aac24=_0x297613;throw new Error(_0x7aac24(0x1e9));}[_0x297613(0x177)](){var _0x2cc851=_0x297613;throw new Error(_0x2cc851(0x241));}[_0x297613(0x371)](){return this;}['toggleOffline'](){var _0x58d91f=_0x297613;return this['_injector'][_0x58d91f(0x34b)](de,this['unitID'],this[_0x58d91f(0x189)],null,[],this[_0x58d91f(0x33f)]);}[_0x297613(0x195)](){return this;}[_0x297613(0x104)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x5bfcbd=_0x297613;const _0x1b1023=this[_0x5bfcbd(0x2a6)][_0x5bfcbd(0x376)](this[_0x5bfcbd(0x135)]);return this[_0x5bfcbd(0x33f)][_0x5bfcbd(0x144)]({'from':_0x1b1023,'to':0x0}),this[_0x5bfcbd(0x13e)][_0x5bfcbd(0x34b)](ee,this[_0x5bfcbd(0x135)],this['type'],null,[],null,[],this[_0x5bfcbd(0x33f)]);}};be=Se([L(0x3,_0x26bbed(_0x90395f)),L(0x4,_0x26bbed(_0x58079d)),L(0x5,_0xf8321),L(0x6,_0x3b90e9),L(0x7,_0x2f0a5f),L(0x8,_0x5735e6),L(0x9,_0x20c1a7(X))],be);let ae=class extends ge{constructor(_0x4546e3,_0x2f06b6,_0x4ca7a8,_0x347696,_0x501855,_0x566eae,_0x2c1115,_0x33b63f,_0x55fae6,_0x2665b3,_0x2868f9,_0x188669,_0x51638d,_0x37b87f){var _0x19c51a=_0x297613;super(_0x4546e3,_0x2f06b6,null,_0x4ca7a8,_0x347696,_0x55fae6,_0x51638d,_0x566eae,_0x37b87f),D(this,_0x19c51a(0x1a9),'pending'),D(this,'_scheduleCompleteTimestamp',null),D(this,_0x19c51a(0x239),null),(this['_injector']=_0x501855,this[_0x19c51a(0x155)]=_0x2c1115,this[_0x19c51a(0x27d)]=_0x33b63f,this['_configService']=_0x2665b3,this[_0x19c51a(0x302)]=_0x2868f9,this[_0x19c51a(0x27f)]=_0x188669);}['appendMutation'](_0x2aac54){var _0x21ad2b=_0x297613;return this[_0x21ad2b(0x317)][_0x21ad2b(0x180)](_0x2aac54),this[_0x21ad2b(0x370)](),this;}[_0x297613(0x3eb)](_0xf78d83){var _0x9c5276=_0x297613;if(this[_0x9c5276(0x3ca)](_0xf78d83))return this[_0x9c5276(0x2aa)](),this[_0x9c5276(0x13e)][_0x9c5276(0x34b)](ee,this[_0x9c5276(0x135)],this[_0x9c5276(0x189)],null,this[_0x9c5276(0x317)],null,[_0xf78d83],this[_0x9c5276(0x33f)]);try{const _0xe3556e=this[_0x9c5276(0x302)][_0x9c5276(0x2ac)](_0xf78d83,this['_pendingMutations']);if(_0x47f07e(_0xe3556e)){const {c1Prime:_0x16b847,m2Prime:_0x548e0a}=_0xe3556e;this[_0x9c5276(0x125)](_0x16b847);const _0x21ac91=this[_0x9c5276(0x13e)][_0x9c5276(0x34b)](ae,this[_0x9c5276(0x135)],this[_0x9c5276(0x189)],_0x548e0a,this[_0x9c5276(0x33f)]);this[_0x9c5276(0x2aa)]();const _0x3ec6c7=new Date()[_0x9c5276(0x1f6)](),_0x312356=this[_0x9c5276(0x234)]?Math[_0x9c5276(0x327)](this[_0x9c5276(0x234)]-_0x3ec6c7,0x0):this['_getSendChangesetTimeout']();return _0x21ac91[_0x9c5276(0x3e4)](_0x312356),_0x21ac91;}throw _0xe3556e['error'];}catch(_0x45701b){return this[_0x9c5276(0x27d)][_0x9c5276(0x342)](_0x45701b),this['_onConflict'](!0x1);}}[_0x297613(0x37b)](){var _0x35c819=_0x297613;throw new Error(_0x35c819(0x37e));}['onRemoteRej'](){var _0x3149aa=_0x297613;throw new Error(_0x3149aa(0x3af));}[_0x297613(0x371)](){return this;}[_0x297613(0x296)](){var _0x4870fb=_0x297613;return this['_clearScheduledTask'](),this['_injector'][_0x4870fb(0x34b)](de,this['unitID'],this[_0x4870fb(0x189)],null,this[_0x4870fb(0x317)],this[_0x4870fb(0x33f)]);}[_0x297613(0x195)](){return this;}['_schedule'](_0x10287d){var _0x4816c7=_0x297613;const _0x2bfb16=_0x10287d!=null?_0x10287d:this[_0x4816c7(0x1f8)]();this['_scheduleCompleteTimestamp']=new Date()[_0x4816c7(0x1f6)]()+_0x2bfb16,this['_sendingTimer']=setTimeout(()=>{var _0x44ec79=_0x4816c7;this[_0x44ec79(0x2aa)]();let _0x130604=null;switch(this[_0x44ec79(0x189)]){case Q[_0x44ec79(0x191)]:{_0x130604=Vt(this[_0x44ec79(0x317)],this['unitID'],this['_univerInstanceService'],this[_0x44ec79(0x2a6)],this[_0x44ec79(0x155)]);break;}case Q[_0x44ec79(0x33c)]:{this[_0x44ec79(0x317)][_0x44ec79(0x1a0)](_0x3601aa=>_0x3601aa['id']===_0x590051['id'])?_0x130604=Bs(this[_0x44ec79(0x317)],this[_0x44ec79(0x135)],this[_0x44ec79(0x27f)],this[_0x44ec79(0x2a6)],this[_0x44ec79(0x155)]):_0x130604=Vt(this[_0x44ec79(0x317)],this['unitID'],this['_univerInstanceService'],this[_0x44ec79(0x2a6)],this['_memberService']);break;}default:throw new Error(_0x44ec79(0x15f)+this[_0x44ec79(0x189)]+_0x44ec79(0x243));}const {changeset:_0x260be2,pendingMutations:_0x459a4d}=_0x130604;this[_0x44ec79(0x33f)]['onSendChangeset'](_0x260be2);const _0x50932a=_0x459a4d['length']?this['_injector'][_0x44ec79(0x34b)](oe,this[_0x44ec79(0x135)],this[_0x44ec79(0x189)],_0x260be2,_0x459a4d,this[_0x44ec79(0x33f)],void 0x0):this[_0x44ec79(0x13e)]['createInstance'](le,this[_0x44ec79(0x135)],this['type'],_0x260be2,this['_handler']);_0x50932a['_updateLocalCache'](),this['_handler']['onStateChange'](this,_0x50932a);},_0x2bfb16);}[_0x297613(0x1f8)](){var _0x4bd9fc=_0x297613,_0x15e95d;const _0x55562f=this[_0x4bd9fc(0x37c)][_0x4bd9fc(0x261)](K);return(_0x15e95d=_0x55562f==null?void 0x0:_0x55562f[_0x4bd9fc(0x19d)])!=null?_0x15e95d:ms;}[_0x297613(0x104)](){var _0x4d5146=_0x297613;throw new Error(_0x4d5146(0x373));}[_0x297613(0x2aa)](){var _0x4c0102=_0x297613;this[_0x4c0102(0x239)]!=null&&(clearTimeout(this[_0x4c0102(0x239)]),this[_0x4c0102(0x239)]=null);}['_onConflict'](_0x33bca0){var _0x52ae8c=_0x297613;return this[_0x52ae8c(0x2aa)](),this[_0x52ae8c(0x13e)]['createInstance'](ue,this[_0x52ae8c(0x135)],this[_0x52ae8c(0x189)],null,this[_0x52ae8c(0x317)],this[_0x52ae8c(0x33f)],_0x33bca0);}};ae=Se([L(0x4,_0x26bbed(_0x58079d)),L(0x5,_0x26bbed(_0x90395f)),L(0x6,_0x26bbed(Pe)),L(0x7,_0x2f0a5f),L(0x8,_0x3b90e9),L(0x9,_0x8e0d98),L(0xa,_0x5735e6),L(0xb,_0xf06b0d),L(0xc,_0xf8321),L(0xd,_0x20c1a7(X))],ae);let le=class extends ge{constructor(_0x426fef,_0x1e4ee5,_0x28adbd,_0x91513a,_0x429663,_0x2a8857,_0x510998,_0x20604f,_0x43f6cc,_0x11a6ee,_0x495942){var _0x25372a=_0x297613;super(_0x426fef,_0x1e4ee5,_0x28adbd,[],_0x91513a,_0x510998,_0x11a6ee,_0x2a8857,_0x495942),D(this,_0x25372a(0x1a9),'awaiting'),D(this,_0x25372a(0x3f0),0x0),D(this,_0x25372a(0x36a),0x0),D(this,_0x25372a(0x324)),D(this,_0x25372a(0x265)),(this['_injector']=_0x429663,this[_0x25372a(0x27d)]=_0x20604f,this[_0x25372a(0x302)]=_0x43f6cc);}[_0x297613(0x364)](_0x2a7014){var _0x4a0d2c=_0x297613;this['_clearScheduledTask']();const _0x636e5c=this[_0x4a0d2c(0x13e)]['createInstance'](oe,this[_0x4a0d2c(0x135)],this[_0x4a0d2c(0x189)],this[_0x4a0d2c(0x1f1)],[_0x2a7014],this[_0x4a0d2c(0x33f)],this[_0x4a0d2c(0x324)]);return _0x636e5c['_updateLocalCache'](),_0x636e5c;}[_0x297613(0x3eb)](_0x381cca){var _0x4643b5=_0x297613;if(this['_checkMissing'](_0x381cca))return this[_0x4643b5(0x2aa)](),this[_0x4643b5(0x13e)]['createInstance'](ee,this['unitID'],this['type'],this[_0x4643b5(0x1f1)],[],null,[_0x381cca],this[_0x4643b5(0x33f)]);try{const _0x2cf801=this[_0x4643b5(0x302)][_0x4643b5(0x24f)]([_0x381cca],[this[_0x4643b5(0x1f1)]],!0x1);if(_0x37ae92(_0x2cf801)){const {c1Prime:_0x1a7735,c2Prime:_0x5d8b74}=_0x2cf801;this['_executeRemoteChangeset'](_0x1a7735[0x0]),_0x5d8b74[0x0][_0x4643b5(0x20d)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x5388e2=this[_0x4643b5(0x13e)][_0x4643b5(0x34b)](le,this[_0x4643b5(0x135)],this[_0x4643b5(0x189)],_0x5d8b74[0x0],this[_0x4643b5(0x33f)]);return _0x5388e2['_updateLocalCache'](),_0x5388e2;}return this[_0x4643b5(0x2e1)](!0x1);}catch(_0x20713a){return this['_logService'][_0x4643b5(0x342)](_0x20713a),this[_0x4643b5(0x2e1)](!0x1);}}['onRemoteAck'](_0x46fe4c){var _0x180b66=_0x297613;this[_0x180b66(0x2aa)]();const _0x1bdd19=this[_0x180b66(0x2a6)][_0x180b66(0x376)](this[_0x180b66(0x135)]);if(_0x46fe4c[_0x180b66(0x21c)]<_0x1bdd19-0x1)return this;if(this[_0x180b66(0x3ca)](_0x46fe4c))return this['_injector'][_0x180b66(0x34b)](ee,this[_0x180b66(0x135)],this[_0x180b66(0x189)],null,[],this[_0x180b66(0x1f1)],[],this[_0x180b66(0x33f)]);this['_incrementRevisionNumber']();const _0xcda64a=this[_0x180b66(0x13e)]['createInstance'](be,this['unitID'],this['type'],this['_handler']);return _0xcda64a[_0x180b66(0x370)](),_0xcda64a;}['onRemoteRej'](_0x40a75c){var _0x391602=_0x297613;return this[_0x391602(0x2e1)](!!(_0x40a75c!=null&&_0x40a75c[_0x391602(0x166)]));}[_0x297613(0x371)](_0x3575fe){var _0x517c1e=_0x297613;return this['_maxTotalRetryTimeout']>Ti?this[_0x517c1e(0x296)]():(this['_resendTimer']=Ii(this[_0x517c1e(0x3f0)],{'timeout':this[_0x517c1e(0x3f0)],'reqId':_0x3575fe['reqId']}),this[_0x517c1e(0x265)]=this['_resendTimer'][_0x517c1e(0x160)](({reqId:_0x198461,timeout:_0x543426})=>{var _0x2e6872=_0x517c1e;this[_0x2e6872(0x13b)](_0x198461,_0x543426);}),this);}[_0x297613(0x296)](){var _0x3656f2=_0x297613;return this[_0x3656f2(0x2aa)](),this[_0x3656f2(0x13e)][_0x3656f2(0x34b)](de,this['unitID'],this[_0x3656f2(0x189)],this[_0x3656f2(0x1f1)],[],this[_0x3656f2(0x33f)]);}['toggleOnline'](){return this;}[_0x297613(0x104)](){var _0x1ef127=_0x297613;this[_0x1ef127(0x33f)][_0x1ef127(0x24b)](this['_awaitingChangeset']);}[_0x297613(0x2e1)](_0x585d7c){var _0xfdc7e2=_0x297613;return this[_0xfdc7e2(0x2aa)](),this[_0xfdc7e2(0x13e)][_0xfdc7e2(0x34b)](ue,this[_0xfdc7e2(0x135)],this[_0xfdc7e2(0x189)],this['_awaitingChangeset'],[],this[_0xfdc7e2(0x33f)],_0x585d7c);}['_resendWithTimeout'](_0x5274a7,_0x32e508){var _0x173efc=_0x297613,_0x20a0db;_0x5274a7===((_0x20a0db=this[_0x173efc(0x1f1)])==null?void 0x0:_0x20a0db[_0x173efc(0x2fd)])&&(this[_0x173efc(0x104)](),this['_resendTimeout']=_0x32e508===0x0?0x3e8:Math[_0x173efc(0x28b)](_0x32e508*0x2,gi),this[_0x173efc(0x36a)]+=this[_0x173efc(0x3f0)]);}[_0x297613(0x2aa)](){var _0x5c040c=_0x297613,_0x154fd7;(_0x154fd7=this[_0x5c040c(0x265)])==null||_0x154fd7[_0x5c040c(0x2c9)](),this[_0x5c040c(0x3f0)]=0x0,this['_maxTotalRetryTimeout']=0x0;}};le=Se([L(0x4,_0x26bbed(_0x58079d)),L(0x5,_0x26bbed(_0x90395f)),L(0x6,_0x3b90e9),L(0x7,_0x2f0a5f),L(0x8,_0x5735e6),L(0x9,_0xf8321),L(0xa,_0x20c1a7(X))],le);let oe=class extends ge{constructor(_0x4fa560,_0x177808,_0x443250,_0x5bc904,_0x3fa2cd,_0x8542e6,_0x4292b6,_0x376430,_0x801c65,_0x23226e,_0x51d72e,_0xd6799a,_0x359524){var _0x1102f9=_0x297613;super(_0x4fa560,_0x177808,_0x443250,_0x5bc904,_0x3fa2cd,_0x801c65,_0xd6799a,_0x376430,_0x359524),D(this,'status',_0x1102f9(0x272)),D(this,'_resendTimeout',0x0),D(this,_0x1102f9(0x36a),0x0),D(this,_0x1102f9(0x324)),D(this,_0x1102f9(0x265)),(this[_0x1102f9(0x13e)]=_0x4292b6,this['_logService']=_0x23226e,this[_0x1102f9(0x302)]=_0x51d72e,this['localCacheService']=_0x359524,_0x8542e6&&(this[_0x1102f9(0x324)]=_0x8542e6,this[_0x1102f9(0x265)]=this[_0x1102f9(0x324)][_0x1102f9(0x160)](({reqId:_0x5309dc,timeout:_0x228833})=>{var _0x2e7cf8=_0x1102f9;this[_0x2e7cf8(0x13b)](_0x5309dc,_0x228833);})));}[_0x297613(0x364)](_0x304224){var _0x52feac=_0x297613;return this[_0x52feac(0x317)]['push'](_0x304224),this;}[_0x297613(0x3eb)](_0x17658c){var _0x5b3f8a=_0x297613;if(this[_0x5b3f8a(0x3ca)](_0x17658c))return this['_clearScheduledTask'](),this['_injector']['createInstance'](ee,this[_0x5b3f8a(0x135)],this['type'],this[_0x5b3f8a(0x1f1)],this['_pendingMutations'],null,[_0x17658c],this[_0x5b3f8a(0x33f)]);try{const _0x53f7ac=this['_transformService']['transformChangesets']([_0x17658c],[this[_0x5b3f8a(0x1f1)]],!0x1);if(_0x37ae92(_0x53f7ac)){const {c1Prime:_0x5c4f76,c2Prime:_0xece080}=_0x53f7ac,_0x1f1b68=this[_0x5b3f8a(0x302)]['transformMutationsWithChangeset'](_0x5c4f76[0x0],this[_0x5b3f8a(0x317)]);if(_0x47f07e(_0x1f1b68)){const {c1Prime:_0x34fad3,m2Prime:_0x32459d}=_0x1f1b68;return this[_0x5b3f8a(0x125)](_0x34fad3),_0xece080[0x0][_0x5b3f8a(0x20d)]=this[_0x5b3f8a(0x16a)](),this[_0x5b3f8a(0x2aa)](),this[_0x5b3f8a(0x13e)][_0x5b3f8a(0x34b)](oe,this['unitID'],this[_0x5b3f8a(0x189)],_0xece080[0x0],_0x32459d,this['_handler'],void 0x0);}throw _0x1f1b68[_0x5b3f8a(0x342)];}throw _0x53f7ac[_0x5b3f8a(0x342)];}catch(_0x1e8240){return this[_0x5b3f8a(0x27d)]['error'](_0x1e8240),this[_0x5b3f8a(0x2e1)](!0x1);}}[_0x297613(0x37b)](_0x3785e3){var _0x578d98=_0x297613;if(this[_0x578d98(0x2aa)](),this[_0x578d98(0x3ca)](_0x3785e3))return this['_injector'][_0x578d98(0x34b)](ee,this[_0x578d98(0x135)],this[_0x578d98(0x189)],null,this[_0x578d98(0x317)],this['_awaitingChangeset'],[],this[_0x578d98(0x33f)]);this[_0x578d98(0x199)]();const _0x41c600=this[_0x578d98(0x13e)][_0x578d98(0x34b)](ae,this['unitID'],this[_0x578d98(0x189)],this[_0x578d98(0x317)],this['_handler']);return _0x41c600[_0x578d98(0x3e4)](),_0x41c600[_0x578d98(0x370)](),_0x41c600;}[_0x297613(0x177)](_0xe6ec0d){var _0x38b1c6=_0x297613;return this['_onConflict'](!!(_0xe6ec0d!=null&&_0xe6ec0d[_0x38b1c6(0x166)]));}[_0x297613(0x371)](_0x4a1fce){var _0x343161=_0x297613;return this[_0x343161(0x36a)]>Ti?this[_0x343161(0x296)]():(this[_0x343161(0x324)]=Ii(this[_0x343161(0x3f0)],{'timeout':this[_0x343161(0x3f0)],'reqId':_0x4a1fce[_0x343161(0x2fd)]}),this[_0x343161(0x265)]=this[_0x343161(0x324)][_0x343161(0x160)](({reqId:_0x377cdd,timeout:_0x5e16b2})=>{var _0x1d84a6=_0x343161;this[_0x1d84a6(0x13b)](_0x377cdd,_0x5e16b2);}),this);}[_0x297613(0x296)](){var _0x2ce583=_0x297613;return this[_0x2ce583(0x2aa)](),this[_0x2ce583(0x13e)]['createInstance'](de,this[_0x2ce583(0x135)],this[_0x2ce583(0x189)],this[_0x2ce583(0x1f1)],this[_0x2ce583(0x317)],this[_0x2ce583(0x33f)]);}['toggleOnline'](){return this;}[_0x297613(0x104)](){var _0x4eaa4a=_0x297613;this[_0x4eaa4a(0x33f)][_0x4eaa4a(0x24b)](this['_awaitingChangeset']);}[_0x297613(0x2e1)](_0x3cde5b){var _0x2a4a33=_0x297613;return this[_0x2a4a33(0x2aa)](),this[_0x2a4a33(0x13e)][_0x2a4a33(0x34b)](ue,this[_0x2a4a33(0x135)],this['type'],null,this[_0x2a4a33(0x317)],this[_0x2a4a33(0x33f)],_0x3cde5b);}['_resendWithTimeout'](_0x3afd75,_0x701c5b){var _0xc3a1ec=_0x297613,_0x295b20;_0x3afd75===((_0x295b20=this[_0xc3a1ec(0x1f1)])==null?void 0x0:_0x295b20[_0xc3a1ec(0x2fd)])&&(this[_0xc3a1ec(0x104)](),this[_0xc3a1ec(0x3f0)]=_0x701c5b===0x0?0x3e8:Math[_0xc3a1ec(0x28b)](_0x701c5b*0x2,gi),this['_maxTotalRetryTimeout']+=this['_resendTimeout']);}[_0x297613(0x2aa)](){var _0x23d8b0=_0x297613,_0x15c834;(_0x15c834=this[_0x23d8b0(0x265)])==null||_0x15c834[_0x23d8b0(0x2c9)](),this[_0x23d8b0(0x3f0)]=0x0,this[_0x23d8b0(0x36a)]=0x0;}};oe=Se([L(0x6,_0x26bbed(_0x58079d)),L(0x7,_0x26bbed(_0x90395f)),L(0x8,_0x3b90e9),L(0x9,_0x2f0a5f),L(0xa,_0x5735e6),L(0xb,_0xf8321),L(0xc,_0x20c1a7(X))],oe);let ue=class extends ge{constructor(_0x4e72e7,_0x1b4f10,_0xdeaa0,_0x221603,_0x29c16a,_0x4e55b1=!0x1,_0x59e50b,_0x4bee0d,_0x20a8b6,_0x5756c6,_0x24bdc5,_0x414873,_0x3b7ff7){var _0x541949=_0x297613;super(_0x4e72e7,_0x1b4f10,_0xdeaa0,_0x221603,_0x29c16a,_0x4bee0d,_0x20a8b6,_0x5756c6,_0x3b7ff7),D(this,'status','conflict'),(this['_isPermissionRej']=_0x4e55b1,this['_permissionService']=_0x59e50b,this[_0x541949(0x3c0)]=_0x24bdc5,this[_0x541949(0x2f2)]=_0x414873,this[_0x541949(0x20e)]=_0x3b7ff7,this[_0x541949(0x138)](),this[_0x541949(0x2cf)](),this[_0x541949(0x3d0)]());}['appendMutation'](){return this;}[_0x297613(0x3eb)](){return this;}['onRemoteAck'](){return this;}[_0x297613(0x177)](){return this;}[_0x297613(0x371)](){return this;}['toggleOffline'](){return this;}[_0x297613(0x195)](){return this;}[_0x297613(0x104)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x4010ed=_0x297613,_0x12fe5f;(_0x12fe5f=this[_0x4010ed(0x29a)])==null||_0x12fe5f[_0x4010ed(0x3a4)](this['unitID'],this[_0x4010ed(0x189)],null,[]);}[_0x297613(0x138)](){var _0x18e6ef=_0x297613;this[_0x18e6ef(0x190)]?this[_0x18e6ef(0x2f2)]['emitEvent']({'id':re[_0x18e6ef(0x256)]}):this['_collaborationUIEventService'][_0x18e6ef(0x260)]({'id':re[_0x18e6ef(0x1b5)]});}['_disableEditing'](){var _0x56d97d=_0x297613;this[_0x56d97d(0x29c)]['updatePermissionPoint'](new _0x266c0e(this[_0x56d97d(0x135)])['id'],!0x1);}};ue=Se([L(0x6,_0x26bbed(_0x2efae6)),L(0x7,_0x3b90e9),L(0x8,_0xf8321),L(0x9,_0x26bbed(_0x90395f)),L(0xa,_0x26bbed(_0x5f547b)),L(0xb,_0x26bbed(ve)),L(0xc,_0x20c1a7(X))],ue);function _0x2e51(_0x387bd4,_0x3e2a48){_0x387bd4=_0x387bd4-0xef;var _0x5c3ee6=_0x5c3e();var _0x2e5192=_0x5c3ee6[_0x387bd4];return _0x2e5192;}let de=class extends ge{constructor(_0x4d3d51,_0x54a039,_0x5894e3,_0x14ca23,_0x2c07a3,_0x2846f9,_0x2c5c8f,_0x3045c3,_0x15ea48,_0x506879){var _0x4ed789=_0x297613;super(_0x4d3d51,_0x54a039,_0x5894e3,_0x14ca23,_0x2c07a3,_0x3045c3,_0x15ea48,_0x2c5c8f,_0x506879),D(this,_0x4ed789(0x1a9),_0x4ed789(0x233)),this['_injector']=_0x2846f9;}[_0x297613(0x364)](_0x5de581){var _0x53b7a3=_0x297613;return this[_0x53b7a3(0x317)][_0x53b7a3(0x180)](_0x5de581),this['_updateLocalCache'](),this;}[_0x297613(0x3eb)](_0x4153d0){var _0x1a295e=_0x297613;throw new Error(_0x1a295e(0x3e6));}[_0x297613(0x37b)](){var _0x2b52c0=_0x297613;throw new Error(_0x2b52c0(0x399));}[_0x297613(0x177)](){var _0x309ee3=_0x297613;throw new Error(_0x309ee3(0x143));}[_0x297613(0x371)](){return this;}[_0x297613(0x296)](){return this;}[_0x297613(0x195)](){var _0x51b840=_0x297613;const {_injector:_0x253451,_pendingMutations:_0x49c7b7,_awaitingChangeset:_0x224d9b,unitID:_0x104bd9,_handler:_0x4fbe6d,type:_0x366b94}=this,_0x5073e6=Oi(_0x253451,_0x104bd9,_0x366b94,_0x224d9b,_0x49c7b7,_0x4fbe6d);return _0x5073e6 instanceof ae?_0x5073e6[_0x51b840(0x3e4)]():(_0x5073e6 instanceof oe||_0x5073e6 instanceof le)&&_0x5073e6[_0x51b840(0x104)](),_0x5073e6;}[_0x297613(0x104)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Se([L(0x5,_0x26bbed(_0x58079d)),L(0x6,_0x26bbed(_0x90395f)),L(0x7,_0x3b90e9),L(0x8,_0xf8321),L(0x9,_0x20c1a7(X))],de);let ee=class extends ge{constructor(_0x228d52,_0x469956,_0xe12760,_0x241ace,_0x39d767,_0xc74869,_0x48b198,_0x156713,_0x49cd23,_0x2c0b92,_0x148bb4,_0x556cc2,_0x5b9b9d,_0x14cb1c){var _0x1354fc=_0x297613;super(_0x228d52,_0x469956,_0xe12760,_0x241ace,_0x48b198,_0x148bb4,_0x556cc2,_0x49cd23,_0x14cb1c),D(this,_0x1354fc(0x1a9),_0x1354fc(0x297)),(this[_0x1354fc(0x2c7)]=_0x39d767,this['_queuedRemoteChangesets']=_0xc74869,this[_0x1354fc(0x13e)]=_0x156713,this[_0x1354fc(0x27d)]=_0x2c0b92,this[_0x1354fc(0x302)]=_0x5b9b9d,this[_0x1354fc(0x20e)]=_0x14cb1c);}[_0x297613(0xf0)](_0x1f3b66){var _0x5925b7=_0x297613;try{const _0x1c6ad4=[..._0x1f3b66,...this[_0x5925b7(0x174)]],_0x3aebcf=[this[_0x5925b7(0x1f1)]||this[_0x5925b7(0x2c7)]]['filter'](_0x1231bd=>!!_0x1231bd);let _0x2b1bcd,_0x3ad189;if(_0x3aebcf[_0x5925b7(0x151)]){const _0x2ae755=this[_0x5925b7(0x302)]['transformChangesets'](_0x1c6ad4,_0x3aebcf,!0x1);if(!_0x37ae92(_0x2ae755))throw _0x2ae755['error'];_0x2b1bcd=_0x2ae755[_0x5925b7(0x1bc)],_0x3ad189=_0x2ae755[_0x5925b7(0x29e)];}else _0x2b1bcd=_0x1c6ad4,_0x3ad189=[];let _0x4aba9f=this['_pendingMutations'];_0x2b1bcd[_0x5925b7(0x1bd)](_0x40e4b8=>{var _0x5b0b7a=_0x5925b7;let _0x3deaf4;if(_0x4aba9f[_0x5b0b7a(0x151)]){const _0x235693=this['_transformService'][_0x5b0b7a(0x2ac)](_0x40e4b8,_0x4aba9f);if(!_0x47f07e(_0x235693))throw _0x235693[_0x5b0b7a(0x342)];_0x3deaf4=_0x235693[_0x5b0b7a(0x1bc)],_0x4aba9f=_0x235693['m2Prime'];}else _0x3deaf4=_0x40e4b8;this[_0x5b0b7a(0x125)](_0x3deaf4);}),this[_0x5925b7(0x2c7)]&&this[_0x5925b7(0x199)](),this[_0x5925b7(0x1f1)]&&_0x3ad189[_0x5925b7(0x151)]&&(_0x3ad189[0x0][_0x5925b7(0x20d)]=this[_0x5925b7(0x16a)]());let _0x4885ce;if(this[_0x5925b7(0x1f1)]&&_0x4aba9f[_0x5925b7(0x151)]!==0x0)_0x4885ce=this['_injector']['createInstance'](oe,this[_0x5925b7(0x135)],this[_0x5925b7(0x189)],_0x3ad189[0x0],_0x4aba9f,this['_handler'],void 0x0);else{if(this[_0x5925b7(0x1f1)]&&_0x4aba9f['length']===0x0)_0x3ad189[0x0][_0x5925b7(0x20d)]=this['_getCurrentRevision'](),_0x4885ce=this[_0x5925b7(0x13e)][_0x5925b7(0x34b)](le,this[_0x5925b7(0x135)],this[_0x5925b7(0x189)],_0x3ad189[0x0],this[_0x5925b7(0x33f)]);else{if(_0x4aba9f[_0x5925b7(0x151)]!==0x0){const _0x4826ba=this[_0x5925b7(0x13e)][_0x5925b7(0x34b)](ae,this[_0x5925b7(0x135)],this[_0x5925b7(0x189)],_0x4aba9f,this[_0x5925b7(0x33f)]);_0x4826ba['_schedule'](),_0x4885ce=_0x4826ba;}else _0x4885ce=this['_injector'][_0x5925b7(0x34b)](be,this[_0x5925b7(0x135)],this['type'],this[_0x5925b7(0x33f)]);}}return _0x4885ce['_updateLocalCache'](),_0x4885ce;}catch(_0x409ba5){return this[_0x5925b7(0x27d)][_0x5925b7(0x342)](_0x5925b7(0x132),_0x5925b7(0x30c),_0x409ba5),this[_0x5925b7(0x13e)][_0x5925b7(0x34b)](ue,this[_0x5925b7(0x135)],this[_0x5925b7(0x189)],this[_0x5925b7(0x1f1)],this[_0x5925b7(0x317)],this[_0x5925b7(0x33f)],!0x1);}}['resend'](){var _0x35a282=_0x297613;throw new Error(_0x35a282(0x2f8));}[_0x297613(0x364)](_0x4912d7){var _0x1b8e11=_0x297613;return this[_0x1b8e11(0x317)][_0x1b8e11(0x180)](_0x4912d7),this;}['onRemoteChangeset'](_0x43fd8d){var _0x5380dd=_0x297613;return this[_0x5380dd(0x174)]['push'](_0x43fd8d),this;}['onRemoteAck'](_0x1eae33){var _0x47bd92=_0x297613;if(this[_0x47bd92(0x1f1)])return this[_0x47bd92(0x2c7)]=this[_0x47bd92(0x1f1)],this[_0x47bd92(0x1f1)]=null,this;throw new Error(_0x47bd92(0x38b));}[_0x297613(0x177)](_0x36198c){var _0x4366c3=_0x297613;return this['_onConflict'](!!(_0x36198c!=null&&_0x36198c[_0x4366c3(0x166)]));}[_0x297613(0x371)](){return this;}['toggleOffline'](){var _0x6025d6=_0x297613;return this[_0x6025d6(0x13e)][_0x6025d6(0x34b)](de,this[_0x6025d6(0x135)],this[_0x6025d6(0x189)],this[_0x6025d6(0x1f1)],this[_0x6025d6(0x317)],this[_0x6025d6(0x33f)]);}[_0x297613(0x195)](){return this;}[_0x297613(0x2e1)](_0x35c2f9){var _0x2eff3a=_0x297613;return this[_0x2eff3a(0x13e)][_0x2eff3a(0x34b)](ue,this['unitID'],this[_0x2eff3a(0x189)],this[_0x2eff3a(0x1f1)],this[_0x2eff3a(0x317)],this['_handler'],_0x35c2f9);}};ee=Se([L(0x7,_0x26bbed(_0x58079d)),L(0x8,_0x26bbed(_0x90395f)),L(0x9,_0x2f0a5f),L(0xa,_0x3b90e9),L(0xb,_0xf8321),L(0xc,_0x5735e6),L(0xd,_0x20c1a7(X))],ee);function Oi(_0x18ab60,_0x31a3f7,_0x2f60dc,_0x1506c3,_0x111069,_0x3c06a6){var _0x536f1b=_0x297613;return _0x1506c3&&_0x111069['length']?_0x18ab60['createInstance'](oe,_0x31a3f7,_0x2f60dc,_0x1506c3,_0x111069,_0x3c06a6,void 0x0):_0x1506c3?_0x18ab60[_0x536f1b(0x34b)](le,_0x31a3f7,_0x2f60dc,_0x1506c3,_0x3c06a6):_0x111069['length']?_0x18ab60[_0x536f1b(0x34b)](ae,_0x31a3f7,_0x2f60dc,_0x111069,_0x3c06a6):_0x18ab60['createInstance'](be,_0x31a3f7,_0x2f60dc,_0x3c06a6);}var js=Object['getOwnPropertyDescriptor'],At=(_0x349eae,_0x1c1da6,_0x45f93c,_0x5abfbf)=>{for(var _0x2c8dcc=_0x5abfbf>0x1?void 0x0:_0x5abfbf?js(_0x1c1da6,_0x45f93c):_0x1c1da6,_0x32f210=_0x349eae['length']-0x1,_0x5d7437;_0x32f210>=0x0;_0x32f210--)(_0x5d7437=_0x349eae[_0x32f210])&&(_0x2c8dcc=_0x5d7437(_0x2c8dcc)||_0x2c8dcc);return _0x2c8dcc;},$=(_0x578d76,_0x100635)=>(_0x36407b,_0x116670)=>_0x100635(_0x36407b,_0x116670,_0x578d76);let st=class extends _0x5ba552{constructor(_0x29d0a5,_0x146efb,_0x1c2bb5,_0x26b160,_0x51537f,_0x120cc9,_0x15085f,_0xfa6944,_0x1e57f6,_0x509c73,_0x4e21fc,_0x1810df,_0x143b71,_0x12a3f1){var _0xac6983=_0x297613;super(),D(this,_0xac6983(0x329),new _0x5ef610(null)),D(this,'state$',this[_0xac6983(0x329)]['asObservable']()),D(this,_0xac6983(0x18f)),D(this,_0xac6983(0x3d7),!0x1),D(this,_0xac6983(0x146),''),D(this,_0xac6983(0x315),0x0),D(this,'status$',this['state$']['pipe'](_0x37451a(_0x3696d9=>_0x3696d9?_0x3696d9[_0xac6983(0x1a9)]:Si[_0xac6983(0x3c3)]),_0x288b42(0x1))),D(this,_0xac6983(0x203),!0x1),D(this,_0xac6983(0x17a),[]),(this[_0xac6983(0x135)]=_0x29d0a5,this[_0xac6983(0x23f)]=_0x146efb,this[_0xac6983(0x1d3)]=_0x1c2bb5,this[_0xac6983(0x13e)]=_0x26b160,this[_0xac6983(0x3a8)]=_0x51537f,this['_localeService']=_0x120cc9,this[_0xac6983(0x2a6)]=_0x15085f,this['_eventService']=_0xfa6944,this[_0xac6983(0x27f)]=_0x1e57f6,this[_0xac6983(0x27d)]=_0x509c73,this['_commandService']=_0x4e21fc,this[_0xac6983(0x29c)]=_0x1810df,this[_0xac6983(0x411)]=_0x143b71,this['_localCacheService']=_0x12a3f1);}get['state'](){var _0x5abe2f=_0x297613;return this[_0x5abe2f(0x18f)];}async['init'](){var _0x1b6fcb=_0x297613;if(this['state'])throw new Error(_0x1b6fcb(0x150));await this[_0x1b6fcb(0x3fa)]();}[_0x297613(0x28a)](){var _0x260adc=_0x297613;return this[_0x260adc(0x3d7)]=!0x0,_0x4cfa3e(()=>{var _0x302061=_0x260adc;this[_0x302061(0x3d7)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x305f8c){var _0x2f8067=_0x297613;this[_0x2f8067(0x32d)](_0x305f8c);}['_updateState'](_0x531ef1){var _0x38c8c3=_0x297613;this['_state']=_0x531ef1,this[_0x38c8c3(0x329)]['next'](_0x531ef1);}async[_0x297613(0x3fa)](){var _0x34ec43=_0x297613,_0x512abb;this[_0x34ec43(0x40b)](await this[_0x34ec43(0x3a3)]()),this['_singleActiveUnitService']&&((_0x512abb=this[_0x34ec43(0x411)])==null||_0x512abb['editingUnit'](this['unitID']),this[_0x34ec43(0x2a1)](this[_0x34ec43(0x411)][_0x34ec43(0x249)](this[_0x34ec43(0x135)])[_0x34ec43(0x160)](_0x233ff8=>{var _0x1e1838=_0x34ec43;this['_logService'][_0x1e1838(0x2b1)](_0x1e1838(0x105),_0x1e1838(0x198),_0x233ff8),_0x233ff8===mi[_0x1e1838(0x123)]?(this[_0x1e1838(0x38f)][_0x1e1838(0x260)]({'id':re[_0x1e1838(0x3f7)]}),this[_0x1e1838(0x29c)][_0x1e1838(0x29b)](new _0x266c0e(this[_0x1e1838(0x135)])['id'],!0x1),this[_0x1e1838(0x29c)][_0x1e1838(0x22d)](!0x1)):(this[_0x1e1838(0x29c)][_0x1e1838(0x29b)](new _0x266c0e(this[_0x1e1838(0x135)])['id'],!0x0),this[_0x1e1838(0x29c)]['setShowComponents'](!0x0));})));let _0x3e5508=!0x1;return this[_0x34ec43(0x2a1)](this[_0x34ec43(0x23f)]['sessionStatus$'][_0x34ec43(0x160)](_0x59bba7=>{var _0x4e017f=_0x34ec43;_0x59bba7===me[_0x4e017f(0x2f7)]?this[_0x4e017f(0x351)](_0x3e5508):_0x59bba7===me[_0x4e017f(0x3c3)]&&(_0x3e5508=!0x0,this[_0x4e017f(0x235)]());})),this[_0x34ec43(0x2a1)](this[_0x34ec43(0x23f)][_0x34ec43(0x3d6)]['subscribe'](_0x1ed860=>{var _0x39a9e5=_0x34ec43;try{switch(_0x1ed860[_0x39a9e5(0x22c)]){case _0x4752c4[_0x39a9e5(0x10b)]:{this['_onRemoteChangeset'](_0x37ae34(_0x1ed860[_0x39a9e5(0x34e)]));break;}case _0x4752c4[_0x39a9e5(0x335)]:{this['_onRemoteACK'](_0x1ed860[_0x39a9e5(0x34e)]);break;}case _0x4752c4[_0x39a9e5(0x35f)]:{this[_0x39a9e5(0x1d9)]();break;}case _0x4752c4[_0x39a9e5(0x152)]:{this[_0x39a9e5(0x139)](_0x1ed860[_0x39a9e5(0x34e)]);break;}case _0x4752c4[_0x39a9e5(0x3ff)]:{this[_0x39a9e5(0x1d5)](_0x1ed860[_0x39a9e5(0x34e)][_0x39a9e5(0x25f)][_0x39a9e5(0x39b)](_0x2cf226=>_0x37ae34(_0x2cf226)));break;}case _0x4752c4['PERMISSION_REJ']:{this[_0x39a9e5(0x1d9)]({'isPermissionRej':!0x0});break;}case _0x4752c4[_0x39a9e5(0x2d1)]:break;}}catch(_0x525101){throw console['error'](_0x39a9e5(0x1aa),_0x525101),_0x525101;}})),this[_0x34ec43(0x18f)];}[_0x297613(0x1be)](){var _0x294b51=_0x297613;this[_0x294b51(0x203)]=!0x1;}[_0x297613(0x11f)](){var _0x534adb=_0x297613;if(this['_transitionLocked'])throw new Error(_0x534adb(0x333));this[_0x534adb(0x203)]=!0x0;}[_0x297613(0x32d)](_0x4cdbdf){var _0x1683c1=_0x297613;this[_0x1683c1(0x11f)](),this[_0x1683c1(0x40b)](this[_0x1683c1(0x18f)][_0x1683c1(0x364)](_0x4cdbdf)),this[_0x1683c1(0x1be)]();}[_0x297613(0x140)](_0x30e8b8){var _0x5bbf64=_0x297613;if(!(_0x30e8b8['revision']<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x5bbf64(0x135)]))){if(this[_0x5bbf64(0x3d7)]){this[_0x5bbf64(0x17a)][_0x5bbf64(0x180)](_0x30e8b8);return;}this[_0x5bbf64(0x15b)](_0x30e8b8);}}[_0x297613(0x219)](){var _0x4e94e1=_0x297613;this[_0x4e94e1(0x17a)][_0x4e94e1(0x1bd)](_0x2b10e0=>this[_0x4e94e1(0x15b)](_0x2b10e0)),this[_0x4e94e1(0x17a)]=[];}[_0x297613(0x15b)](_0x42818c){var _0x3f4324=_0x297613;const _0x321317=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x3f4324(0x3a8)][_0x3f4324(0x1e7)][_0x3f4324(0x3bb)]()[_0x3f4324(0x389)])(_0x42818c[_0x3f4324(0x2b2)],null)||_0x42818c[_0x3f4324(0x2b2)],_0x44b80d={..._0x42818c,'mutations':_0x321317};this[_0x3f4324(0x11f)](),this[_0x3f4324(0x40b)](this[_0x3f4324(0x18f)][_0x3f4324(0x3eb)](_0x44b80d)),this['_unlockTransition']();}[_0x297613(0x2e4)](_0x443660){var _0x223451=_0x297613;this[_0x223451(0x11f)](),this[_0x223451(0x40b)](this[_0x223451(0x18f)][_0x223451(0x37b)](_0x443660)),this[_0x223451(0x1be)]();}[_0x297613(0x1d9)](_0x47a442){var _0x105afd=_0x297613;this['_lockTransition'](),this[_0x105afd(0x40b)](this['_state']['onRemoteRej'](_0x47a442)),this[_0x105afd(0x1be)]();}[_0x297613(0x139)](_0x31e74c){var _0x43b88e=_0x297613;this[_0x43b88e(0x11f)](),this[_0x43b88e(0x40b)](this[_0x43b88e(0x18f)]['onRemoteRetry'](_0x31e74c)),this['_unlockTransition']();}[_0x297613(0x1d5)](_0x2f7198){var _0x44c123=_0x297613;if(!(this[_0x44c123(0x18f)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x2d8e05=_0x2f7198['map'](_0x4451d0=>{var _0x28afee=_0x44c123;const _0x4d0250=this['_compressMutationService'][_0x28afee(0x1e7)]['fetchThroughInterceptors'](this[_0x28afee(0x3a8)][_0x28afee(0x1e7)][_0x28afee(0x3bb)]()[_0x28afee(0x389)])(_0x4451d0[_0x28afee(0x2b2)],null)||_0x4451d0[_0x28afee(0x2b2)];return{..._0x4451d0,'mutations':_0x4d0250};});this[_0x44c123(0x11f)](),this[_0x44c123(0x40b)](this['_state'][_0x44c123(0xf0)](_0x2d8e05)),this['_unlockTransition']();}['_toggleOffline'](){var _0x1255ee=_0x297613;this[_0x1255ee(0x11f)](),this['_updateState'](this[_0x1255ee(0x18f)][_0x1255ee(0x296)]()),this['_unlockTransition']();}[_0x297613(0x351)](_0x2fd108=!0x1){var _0x597646=_0x297613;this[_0x597646(0x11f)](),this[_0x597646(0x40b)](this['_state'][_0x597646(0x195)]()),this[_0x597646(0x1be)]();const _0x469896=this[_0x597646(0x18f)];_0x2fd108&&_0x469896 instanceof be&&(this[_0x597646(0x11f)](),this[_0x597646(0x40b)](_0x469896[_0x597646(0x101)]()),this[_0x597646(0x1be)]());}async[_0x297613(0x3a3)](){return new Promise(_0x17db6c=>{var _0x2aeb6d=_0x2e51;this[_0x2aeb6d(0x23f)][_0x2aeb6d(0x173)][_0x2aeb6d(0x279)](_0x208131(0x1))[_0x2aeb6d(0x160)](async _0x3b1214=>{var _0x49a963=_0x2aeb6d;_0x17db6c(await this[_0x49a963(0x2ca)](_0x3b1214===me[_0x49a963(0x2f7)]));});});}[_0x297613(0x30a)](){var _0xaa46e=_0x297613;const _0x2bcfa3=this[_0xaa46e(0x135)];return{'onStateChange':(_0x40fa6c,_0x3004ed)=>{var _0x1e42c2=_0xaa46e;if(_0x40fa6c!==this[_0x1e42c2(0x18f)])throw new Error(_0x1e42c2(0x323)+_0x40fa6c['status']+_0x1e42c2(0x293)+_0x3004ed[_0x1e42c2(0x1a9)]+'\x0aCurrent:\x20'+this[_0x1e42c2(0x18f)][_0x1e42c2(0x1a9)]);this[_0x1e42c2(0x40b)](_0x3004ed);},'onSendChangeset':_0x2a550c=>{var _0x24b366=_0xaa46e;_0x2a550c[_0x24b366(0x245)]||(_0x2a550c['sid']=this['_changesetSessionId'],_0x2a550c[_0x24b366(0x2fd)]=++this[_0x24b366(0x315)]);const _0x2aff5d={'eventID':_0x4752c4[_0x24b366(0x1f4)],'data':{'unitID':_0x2a550c[_0x24b366(0x135)],'unitType':this[_0x24b366(0x1d3)],'changeset':_0x2a550c,'memberID':this[_0x24b366(0x23f)][_0x24b366(0x36b)]()}};this[_0x24b366(0x23f)][_0x24b366(0x39c)](_0x2aff5d,this[_0x24b366(0x135)]);},'onMissingChangesets':({from:_0xb2b4b2,to:_0x4979c0})=>{var _0x1097a7=_0xaa46e;this[_0x1097a7(0x27d)][_0x1097a7(0x2b1)](_0x1097a7(0x105),_0x1097a7(0x3b7)+_0xb2b4b2+_0x1097a7(0x257)+_0x4979c0);const _0xd95ff8={'eventID':_0x4752c4['FETCH_MISSING'],'data':{'unitID':_0x2bcfa3,'unitType':this['_type'],'from':_0xb2b4b2,'to':_0x4979c0}};this[_0x1097a7(0x23f)][_0x1097a7(0x39c)](_0xd95ff8,this[_0x1097a7(0x135)]);}};}async[_0x297613(0x2ca)](_0x2504d6){var _0x4de9ee=_0x297613,_0x26e4ec,_0x3083f2,_0x31a4a9;const _0x295a89=await((_0x26e4ec=this[_0x4de9ee(0x29a)])==null?void 0x0:_0x26e4ec['loadOfflineData'](this[_0x4de9ee(0x135)])),_0x4073b2=(_0x3083f2=_0x295a89==null?void 0x0:_0x295a89[_0x4de9ee(0x2b2)])!=null?_0x3083f2:[],_0x958f6e=(_0x31a4a9=_0x295a89==null?void 0x0:_0x295a89['awaitingChangeset'])!=null?_0x31a4a9:null,_0x2dd6d6=!!(_0x958f6e!=null&&_0x958f6e[_0x4de9ee(0x245)])&&!!(_0x958f6e!=null&&_0x958f6e[_0x4de9ee(0x2fd)]);this[_0x4de9ee(0x146)]=_0x2dd6d6?_0x958f6e[_0x4de9ee(0x245)]:_0x2f8279(),this[_0x4de9ee(0x315)]=_0x2dd6d6?_0x958f6e[_0x4de9ee(0x2fd)]:0x0;const _0x23e688=this['unitID'];try{this[_0x4de9ee(0x2d8)](_0x958f6e,_0x4073b2);}catch(_0x3ef86d){this[_0x4de9ee(0x27d)][_0x4de9ee(0x342)](_0x3ef86d);}const _0x4f9202=this['_createHandler']();if(_0x2504d6){const _0x3d2665=Oi(this[_0x4de9ee(0x13e)],_0x23e688,this[_0x4de9ee(0x1d3)],_0x958f6e,_0x4073b2,_0x4f9202);return _0x3d2665 instanceof ae?_0x3d2665[_0x4de9ee(0x3e4)]():(_0x3d2665 instanceof oe||_0x3d2665 instanceof le)&&_0x3d2665[_0x4de9ee(0x104)](),_0x3d2665;}return this[_0x4de9ee(0x13e)][_0x4de9ee(0x34b)](de,_0x23e688,this['_type'],_0x958f6e,_0x4073b2,_0x4f9202);}[_0x297613(0x2d8)](_0x37794b,_0x411b25){var _0x1d0d63=_0x297613,_0x5a8412,_0x3a00d6;const _0x2a9f9e=this['_compressMutationService'][_0x1d0d63(0x1e7)][_0x1d0d63(0x218)](this[_0x1d0d63(0x3a8)]['interceptor']['getInterceptPoints']()[_0x1d0d63(0x389)]);(_0x5a8412=_0x2a9f9e((_0x37794b==null?void 0x0:_0x37794b[_0x1d0d63(0x2b2)])||[],null))==null||_0x5a8412['forEach'](_0x4fd8db=>this[_0x1d0d63(0x2ef)]['executeCommand'](_0x4fd8db['id'],_0x4fd8db[_0x1d0d63(0x314)])),(_0x3a00d6=_0x2a9f9e(_0x411b25||[],null))==null||_0x3a00d6['forEach'](_0x57156c=>this[_0x1d0d63(0x2ef)]['executeCommand'](_0x57156c['id'],_0x57156c[_0x1d0d63(0x314)]));}};st=At([$(0x3,_0x26bbed(_0x58079d)),$(0x4,_0x26bbed(_0x411a53)),$(0x5,_0x26bbed(_0x5f547b)),$(0x6,_0x26bbed(_0x90395f)),$(0x7,_0x26bbed(ve)),$(0x8,_0xf06b0d),$(0x9,_0x2f0a5f),$(0xa,_0x3b90e9),$(0xb,_0x2efae6),$(0xc,_0x20c1a7(_t)),$(0xd,_0x20c1a7(X))],st);let It=class extends st{constructor(_0x387623,_0x4053d4,_0x398d19,_0x5b40fc,_0x4bbfc5,_0x561d27,_0x2f087e,_0x35f889,_0x11a0d4,_0x26f8b8,_0x5d294a,_0x4c83e4,_0x5620eb,_0x274e2b){var _0x3d1230=_0x297613;super(_0x387623,_0x398d19,_0x4053d4,_0x5b40fc,_0x4bbfc5,_0x561d27,_0x2f087e,_0x35f889,_0x11a0d4,_0x26f8b8,_0x5d294a,_0x4c83e4,_0x5620eb,_0x274e2b),D(this,'_handlerCallback',null),(this[_0x3d1230(0x135)]=_0x387623,this['type']=_0x4053d4);}[_0x297613(0x307)](_0x4c5cfb){var _0x299c72=_0x297613;this[_0x299c72(0x1fe)]=_0x4c5cfb;}[_0x297613(0x2d7)](){var _0x222d6e=_0x297613;this[_0x222d6e(0x1fe)]=null,super[_0x222d6e(0x2d7)]();}[_0x297613(0x30a)](){var _0xcdb3fb=_0x297613;const _0x4c173e=super[_0xcdb3fb(0x30a)]();return _0x4c173e[_0xcdb3fb(0x23d)]=_0x33805a=>{var _0x171c74=_0xcdb3fb,_0x353b2b,_0x2f50d0;return(_0x2f50d0=(_0x353b2b=this[_0x171c74(0x1fe)])==null?void 0x0:_0x353b2b[_0x171c74(0x23d)])==null?void 0x0:_0x2f50d0[_0x171c74(0x33d)](_0x353b2b,_0x33805a);},_0x4c173e['onTransformState']=_0x3b5c17=>{var _0x52a45f=_0xcdb3fb,_0x4978f4,_0x53ff35;return(_0x53ff35=(_0x4978f4=this[_0x52a45f(0x1fe)])==null?void 0x0:_0x4978f4[_0x52a45f(0x19b)])==null?void 0x0:_0x53ff35[_0x52a45f(0x33d)](_0x4978f4,_0x3b5c17);},_0x4c173e[_0xcdb3fb(0x1ca)]=_0x12ad04=>{var _0x52bd32=_0xcdb3fb,_0x3279a5,_0x2b37c1;return(_0x2b37c1=(_0x3279a5=this[_0x52bd32(0x1fe)])==null?void 0x0:_0x3279a5[_0x52bd32(0x1ca)])==null?void 0x0:_0x2b37c1[_0x52bd32(0x33d)](_0x3279a5,_0x12ad04);},_0x4c173e[_0xcdb3fb(0x33b)]=_0x25830b=>{var _0x14bbcf=_0xcdb3fb,_0x47f377,_0x3056b7;return(_0x3056b7=(_0x47f377=this[_0x14bbcf(0x1fe)])==null?void 0x0:_0x47f377[_0x14bbcf(0x33b)])==null?void 0x0:_0x3056b7[_0x14bbcf(0x33d)](_0x47f377,_0x25830b);},_0x4c173e[_0xcdb3fb(0x2f0)]=_0x3c6d64=>{var _0x1a33c8=_0xcdb3fb,_0x21e83e,_0x3f044f,_0x5ea0cc;if(!((_0x21e83e=this[_0x1a33c8(0x1fe)])!=null&&_0x21e83e['onTransformRemoteChangesetByIMECache']))throw new Error(_0x1a33c8(0x40f));return(_0x5ea0cc=(_0x3f044f=this[_0x1a33c8(0x1fe)])==null?void 0x0:_0x3f044f[_0x1a33c8(0x2f0)])==null?void 0x0:_0x5ea0cc[_0x1a33c8(0x33d)](_0x3f044f,_0x3c6d64);},_0x4c173e[_0xcdb3fb(0x13f)]=_0x19a8c4=>{var _0x5984c5=_0xcdb3fb,_0x109db7,_0x2bf352,_0xde6270;if(!((_0x109db7=this[_0x5984c5(0x1fe)])!=null&&_0x109db7[_0x5984c5(0x13f)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xde6270=(_0x2bf352=this['_handlerCallback'])==null?void 0x0:_0x2bf352['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0xde6270[_0x5984c5(0x33d)](_0x2bf352,_0x19a8c4);},_0x4c173e;}async['_init'](){var _0x2d0cf9=_0x297613;const _0x54d222=await super[_0x2d0cf9(0x3fa)]();return this[_0x2d0cf9(0x2a1)](this[_0x2d0cf9(0x2ef)][_0x2d0cf9(0x1f9)]((_0x1efaa9,_0xda6c4d)=>{var _0x46b84b=_0x2d0cf9;if(_0x1efaa9[_0x46b84b(0x189)]!==_0x51dc24[_0x46b84b(0x39d)]||_0xda6c4d!=null&&_0xda6c4d['fromCollab']||_0xda6c4d!=null&&_0xda6c4d[_0x46b84b(0x211)]||_0x1efaa9['id']===_0x590051['id'])return;const _0x114ee9=_0x1efaa9[_0x46b84b(0x314)];if((_0x114ee9==null?void 0x0:_0x114ee9['unitId'])!==this[_0x46b84b(0x135)])return;const _0x4217ef=_0x1efaa9,_0x36531f=this[_0x46b84b(0x3a8)]['interceptor']['fetchThroughInterceptors'](this[_0x46b84b(0x3a8)]['interceptor'][_0x46b84b(0x3bb)]()[_0x46b84b(0x3e3)])([_0x4217ef],this[_0x46b84b(0x27f)])||[_0x4217ef];this[_0x46b84b(0x32d)](_0x36531f[0x0]);})),_0x54d222;}};It=At([$(0x3,_0x26bbed(_0x58079d)),$(0x4,_0x26bbed(_0x411a53)),$(0x5,_0x26bbed(_0x5f547b)),$(0x6,_0x26bbed(_0x90395f)),$(0x7,_0x26bbed(ve)),$(0x8,_0xf06b0d),$(0x9,_0x2f0a5f),$(0xa,_0x3b90e9),$(0xb,_0x2efae6),$(0xc,_0x20c1a7(_t)),$(0xd,_0x20c1a7(X))],It);let St=class extends st{constructor(_0x2ac04,_0x4494d6,_0x117ba3,_0x1c807e,_0x319d38,_0x3fc045,_0x4a5db8,_0x330286,_0x156ab3,_0x95c7cc,_0x239cdc,_0x3a0fd8,_0x53def3,_0x4570a8,_0x57abbb){var _0x37ce2c=_0x297613;super(_0x2ac04,_0x117ba3,_0x4494d6,_0x1c807e,_0x319d38,_0x3fc045,_0x4a5db8,_0x156ab3,_0x95c7cc,_0x239cdc,_0x3a0fd8,_0x53def3,_0x4570a8,_0x57abbb),this[_0x37ce2c(0x135)]=_0x2ac04,this['type']=_0x4494d6,this['_sheetTransformSelectionsService']=_0x330286;}[_0x297613(0x30a)](){var _0x22dcab=_0x297613;const _0x503e48=super[_0x22dcab(0x30a)]();return _0x503e48[_0x22dcab(0x1ca)]=_0x3511f5=>this[_0x22dcab(0x1fd)][_0x22dcab(0x34f)](_0x3511f5),_0x503e48;}async[_0x297613(0x3fa)](){var _0x3ef408=_0x297613;const _0x5e8c64=await super[_0x3ef408(0x3fa)]();return this[_0x3ef408(0x2a1)](this[_0x3ef408(0x2ef)][_0x3ef408(0x1f9)]((_0x163430,_0x4774d6)=>{var _0x553883=_0x3ef408;if(_0x163430['type']!==_0x51dc24[_0x553883(0x39d)]||_0x4774d6!=null&&_0x4774d6[_0x553883(0x1c3)]||_0x4774d6!=null&&_0x4774d6[_0x553883(0x211)])return;const _0x3ca183=_0x163430['params'];if((_0x3ca183==null?void 0x0:_0x3ca183['unitId'])!==this[_0x553883(0x135)])return;const _0x4c0597=_0x163430,_0x40a245=this[_0x553883(0x3a8)][_0x553883(0x1e7)][_0x553883(0x218)](this[_0x553883(0x3a8)][_0x553883(0x1e7)][_0x553883(0x3bb)]()[_0x553883(0x3e3)])([_0x4c0597],this['_univerInstanceService'])||[_0x4c0597];this[_0x553883(0x32d)](_0x40a245[0x0]);})),_0x5e8c64;}};St=At([$(0x3,_0x26bbed(_0x58079d)),$(0x4,_0x26bbed(_0x411a53)),$(0x5,_0x26bbed(_0x5f547b)),$(0x6,_0x26bbed(_0x90395f)),$(0x7,_0x26bbed(it)),$(0x8,_0x26bbed(ve)),$(0x9,_0xf06b0d),$(0xa,_0x2f0a5f),$(0xb,_0x3b90e9),$(0xc,_0x2efae6),$(0xd,_0x20c1a7(_t)),$(0xe,_0x20c1a7(X))],St);const Vs=_0x3db7c7(_0x297613(0x172));function Gs(_0x330973){var _0x1eee4c=_0x297613,_0x312da0,_0x2142dc,_0x52ec68,_0x3d0db1,_0x4e5a8f;const _0x5175e6=_0x330973[_0x1eee4c(0x34e)],_0x1f0226=JSON[_0x1eee4c(0x360)](_0x5175e6);switch(_0x1f0226['cmd']){case j[_0x1eee4c(0x28f)]:case j[_0x1eee4c(0x286)]:{const _0x136f55=_0x1f0226[_0x1eee4c(0x242)];return{..._0x1f0226,'data':_0x136f55,'cmd':_0x1f0226['cmd']};}case j[_0x1eee4c(0x316)]:{const _0x4f82a0=_0x1f0226[_0x1eee4c(0x359)];return{..._0x1f0226,'data':_0x4f82a0,'cmd':_0x1f0226['cmd']};}case j['RECV']:{const _0x5e7fef=_0x1f0226['collaMsg'];switch(_0x5e7fef[_0x1eee4c(0x22c)]){case _0x4752c4[_0x1eee4c(0x2ce)]:return{..._0x1f0226,'data':{..._0x5e7fef,'data':(_0x312da0=_0x5e7fef['permissionRejEvent'])==null?void 0x0:_0x312da0['cs']},'cmd':_0x1f0226[_0x1eee4c(0x382)]};case _0x4752c4[_0x1eee4c(0x335)]:return{..._0x1f0226,'data':{..._0x5e7fef,'data':(_0x2142dc=_0x5e7fef[_0x1eee4c(0x205)])==null?void 0x0:_0x2142dc['cs']},'cmd':_0x1f0226[_0x1eee4c(0x382)]};case _0x4752c4[_0x1eee4c(0x10b)]:return{..._0x1f0226,'data':{..._0x5e7fef,'data':(_0x52ec68=_0x5e7fef[_0x1eee4c(0x1c8)])==null?void 0x0:_0x52ec68['cs']},'cmd':_0x1f0226[_0x1eee4c(0x382)]};case _0x4752c4[_0x1eee4c(0x35f)]:return{..._0x1f0226,'data':{..._0x5e7fef,'data':(_0x3d0db1=_0x5e7fef[_0x1eee4c(0x186)])==null?void 0x0:_0x3d0db1['cs']},'cmd':_0x1f0226[_0x1eee4c(0x382)]};case _0x4752c4[_0x1eee4c(0x152)]:return{..._0x1f0226,'data':{..._0x5e7fef,'data':(_0x4e5a8f=_0x5e7fef[_0x1eee4c(0x18e)])==null?void 0x0:_0x4e5a8f['cs']},'cmd':_0x1f0226['cmd']};case _0x4752c4[_0x1eee4c(0x31f)]:return{..._0x1f0226,'data':{..._0x5e7fef,'data':_0x5e7fef[_0x1eee4c(0x2bf)]},'cmd':_0x1f0226[_0x1eee4c(0x382)]};case _0x4752c4['USERS_ENTER']:return{..._0x1f0226,'data':{..._0x5e7fef,'data':_0x5e7fef[_0x1eee4c(0x1e0)]},'cmd':_0x1f0226['cmd']};case _0x4752c4['USERS_LEAVE']:return{..._0x1f0226,'data':{..._0x5e7fef,'data':_0x5e7fef['leaveEvent']},'cmd':_0x1f0226[_0x1eee4c(0x382)]};case _0x4752c4[_0x1eee4c(0x18a)]:return{..._0x1f0226,'data':{..._0x5e7fef,'data':_0x5e7fef[_0x1eee4c(0x2b6)]},'cmd':_0x1f0226['cmd']};case _0x4752c4['LIVESHARE_FETCH_OPERATIONS']:case _0x4752c4[_0x1eee4c(0x15c)]:return{..._0x1f0226,'data':{..._0x5e7fef,'data':_0x5e7fef[_0x1eee4c(0x3a1)]},'cmd':_0x1f0226[_0x1eee4c(0x382)]};case _0x4752c4[_0x1eee4c(0x1d2)]:return{..._0x1f0226,'data':{..._0x5e7fef,'data':_0x5e7fef[_0x1eee4c(0x2b6)]},'cmd':_0x1f0226[_0x1eee4c(0x382)]};case _0x4752c4['MSG_FOR_ERROR']:return{..._0x1f0226,'data':_0x5e7fef,'cmd':_0x1f0226['cmd']};case _0x4752c4[_0x1eee4c(0x1b0)]:return{..._0x1f0226,'data':{..._0x5e7fef,'data':_0x5e7fef[_0x1eee4c(0x386)]},'cmd':_0x1f0226[_0x1eee4c(0x382)]};case _0x4752c4[_0x1eee4c(0x3c8)]:return{..._0x1f0226,'data':{..._0x5e7fef,'data':_0x5e7fef['updatePermissionObjEvent']},'cmd':_0x1f0226['cmd']};case _0x4752c4[_0x1eee4c(0x280)]:return{..._0x1f0226,'data':{..._0x5e7fef,'data':_0x5e7fef[_0x1eee4c(0x1ec)]},'cmd':_0x1f0226[_0x1eee4c(0x382)]};case _0x4752c4[_0x1eee4c(0x2d1)]:return{..._0x1f0226,'data':{..._0x5e7fef,'data':_0x5e7fef[_0x1eee4c(0x1da)]},'cmd':_0x1f0226[_0x1eee4c(0x382)]};default:return _0x1f0226;}}default:return _0x1f0226;}}function Ws(_0x6ad78c){var _0x100367=_0x297613;switch(_0x6ad78c[_0x100367(0x382)]){case j[_0x100367(0x28f)]:case j[_0x100367(0x286)]:return JSON[_0x100367(0x2a3)]({'cmd':_0x6ad78c['cmd'],'routeKey':_0x6ad78c[_0x100367(0x11e)]});case j[_0x100367(0x176)]:{let _0x25c54d;switch(_0x6ad78c[_0x100367(0x34e)][_0x100367(0x22c)]){case _0x4752c4[_0x100367(0x31f)]:{_0x25c54d={'eventID':_0x4752c4[_0x100367(0x31f)],'updateCursorEvent':_0x6ad78c[_0x100367(0x34e)][_0x100367(0x34e)]};break;}case _0x4752c4['USERS_LEAVE']:{_0x25c54d={'eventID':_0x4752c4['USERS_LEAVE'],'leaveEvent':_0x6ad78c[_0x100367(0x34e)]['data']};break;}case _0x4752c4[_0x100367(0x11a)]:{_0x25c54d={'eventID':_0x4752c4[_0x100367(0x11a)],'joinEvent':_0x6ad78c[_0x100367(0x34e)][_0x100367(0x34e)]};break;}case _0x4752c4[_0x100367(0x18a)]:{_0x25c54d={'eventID':_0x4752c4['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x6ad78c[_0x100367(0x34e)][_0x100367(0x34e)]};break;}case _0x4752c4[_0x100367(0x15c)]:{_0x25c54d={'eventID':_0x4752c4[_0x100367(0x15c)],'liveShareOperation':_0x6ad78c[_0x100367(0x34e)][_0x100367(0x34e)]};break;}case _0x4752c4[_0x100367(0x1d2)]:{_0x25c54d={'eventID':_0x4752c4['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x6ad78c[_0x100367(0x34e)][_0x100367(0x34e)]};break;}case _0x4752c4[_0x100367(0x232)]:{_0x25c54d={'eventID':_0x4752c4[_0x100367(0x232)],'liveShareRequestHost':_0x6ad78c[_0x100367(0x34e)][_0x100367(0x34e)]};break;}case _0x4752c4[_0x100367(0x3ad)]:{_0x25c54d={'eventID':_0x4752c4['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x25c54d={'eventID':_0x6ad78c[_0x100367(0x34e)][_0x100367(0x22c)]};}return JSON[_0x100367(0x2a3)]({'cmd':_0x6ad78c[_0x100367(0x382)],'routeKey':_0x6ad78c[_0x100367(0x11e)],'collaMsg':_0x25c54d});}case j[_0x100367(0x316)]:return JSON[_0x100367(0x2a3)]({'cmd':_0x6ad78c[_0x100367(0x382)],'routeKey':_0x6ad78c['routeKey'],'joinReq':_0x6ad78c['data']});case j['LEAVE']:return JSON[_0x100367(0x2a3)]({'cmd':_0x6ad78c['cmd'],'routeKey':_0x6ad78c[_0x100367(0x11e)],'leaveReq':_0x6ad78c[_0x100367(0x34e)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ys=Object[_0x297613(0x1f3)],Ks=(_0x25e03c,_0x3de8ae,_0x26491b,_0x2eafd7)=>{var _0x5da173=_0x297613;for(var _0x37a588=_0x2eafd7>0x1?void 0x0:_0x2eafd7?Ys(_0x3de8ae,_0x26491b):_0x3de8ae,_0x2e4d70=_0x25e03c[_0x5da173(0x151)]-0x1,_0x41efb3;_0x2e4d70>=0x0;_0x2e4d70--)(_0x41efb3=_0x25e03c[_0x2e4d70])&&(_0x37a588=_0x41efb3(_0x37a588)||_0x37a588);return _0x37a588;},ye=(_0x3e43f5,_0xd14d26)=>(_0x5585be,_0x1ac719)=>_0xd14d26(_0x5585be,_0x1ac719,_0x3e43f5);const Ri=_0x3db7c7(_0x297613(0x127));function qs(_0x1e0e6a,_0x3b3166,_0x534072){var _0x36001e=_0x297613;return _0x1e0e6a+'/'+_0x3b3166+_0x36001e(0x396)+_0x534072+_0x36001e(0x304);}let Gt=class extends _0x147e04{constructor(_0x2a1cd8,_0x1c2905,_0x2075ee,_0x181f67,_0x3a5d61){var _0x2250e4=_0x297613;super(),this['_injector']=_0x2a1cd8,this[_0x2250e4(0x2d3)]=_0x1c2905,this[_0x2250e4(0x37c)]=_0x2075ee,this[_0x2250e4(0x27d)]=_0x181f67,this[_0x2250e4(0x212)]=_0x3a5d61;}[_0x297613(0x363)](_0x3a7a5d){var _0x44ba12=_0x297613;const _0x2b8c17=this[_0x44ba12(0x13e)][_0x44ba12(0x2a5)](_0x2c3ed4);if(!_0x2b8c17)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x39c3fd=_0x2b8c17[_0x44ba12(0x3ec)](_0x3a7a5d);if(!_0x39c3fd)throw new Error(_0x44ba12(0x385));const _0x562d20=new _0x5c0c8d(),_0x28140b=new _0x34c84b();_0x562d20[_0x44ba12(0x3ef)](_0x39c3fd[_0x44ba12(0x308)][_0x44ba12(0x160)](_0x51a9c3=>_0x28140b['next'](_0x51a9c3))),_0x562d20['add'](_0x4cfa3e(()=>_0x28140b[_0x44ba12(0x366)]()));const _0x56a504=new _0x34c84b();_0x562d20['add'](_0x39c3fd[_0x44ba12(0x14a)][_0x44ba12(0x160)](_0x3fb5da=>_0x56a504[_0x44ba12(0x3db)](_0x3fb5da))),_0x562d20[_0x44ba12(0x3ef)](_0x4cfa3e(()=>_0x56a504[_0x44ba12(0x366)]()));const _0x2d4b32=new _0x34c84b();_0x562d20['add'](_0x39c3fd['message$']['subscribe'](_0x1c96ff=>{var _0x52e340=_0x44ba12;const _0x1a5093=Gs(_0x1c96ff);_0x2d4b32[_0x52e340(0x3db)](_0x1a5093);})),_0x562d20[_0x44ba12(0x3ef)](_0x4cfa3e(()=>_0x2d4b32[_0x44ba12(0x366)]()));let _0x4de8f1;const _0xd0428e=()=>{var _0x21060a=_0x44ba12;_0x56a504[_0x21060a(0x3db)](new Event(_0x21060a(0x153))),_0x28140b[_0x21060a(0x3db)](new Event(_0x21060a(0x153))),_0x4de8f1[_0x21060a(0x276)]();};return _0x4de8f1={'memberID':'','close$':_0x28140b[_0x44ba12(0x131)](),'error$':_0x56a504[_0x44ba12(0x131)](),'open$':_0x39c3fd[_0x44ba12(0x33a)],'message$':_0x2d4b32[_0x44ba12(0x131)](),'send':_0x1fc234=>{var _0x46f422=_0x44ba12;if(_0x1fc234[_0x46f422(0x382)]===j['INGEST']){if(_0x1fc234['data'][_0x46f422(0x22c)]===_0x4752c4['SUBMIT_CHANGESET']){this[_0x46f422(0x301)](_0x4de8f1,_0x1fc234[_0x46f422(0x34e)])['catch'](_0x466ca8=>{var _0x3e664a=_0x46f422;this[_0x3e664a(0x27d)][_0x3e664a(0x342)](_0x466ca8),_0xd0428e();});return;}if(_0x1fc234['data'][_0x46f422(0x22c)]===_0x4752c4[_0x46f422(0x381)]){const _0x13ffe7=_0x1fc234[_0x46f422(0x34e)];this['_fetchMissChangesets'](_0x13ffe7)['then'](_0x94a2d9=>{var _0x204191=_0x46f422;_0x2d4b32[_0x204191(0x3db)]({'cmd':j[_0x204191(0x217)],'code':Ee['OK'],'routeKey':_0x13ffe7[_0x204191(0x34e)][_0x204191(0x135)],'routeType':'','data':{'eventID':_0x4752c4[_0x204191(0x3ff)],'data':{'changesets':_0x94a2d9}}});})[_0x46f422(0x15a)](_0x9acbb6=>{var _0x596bd9=_0x46f422;this[_0x596bd9(0x27d)][_0x596bd9(0x342)](_0x9acbb6),_0xd0428e();});return;}}_0x39c3fd[_0x46f422(0x39c)](Ws(_0x1fc234));},'close':()=>{var _0x50d6a9=_0x44ba12;_0x39c3fd[_0x50d6a9(0x276)](),_0x562d20[_0x50d6a9(0x2d7)]();}},_0x4de8f1;}async[_0x297613(0x301)](_0x431ed,_0x253e3a){var _0x5593d4=_0x297613,_0x383c65;const {unitType:_0x2b2c4e,unitID:_0xd4e0a,changeset:_0x1f18ab}=_0x253e3a[_0x5593d4(0x34e)],_0x22d647={'unitID':_0xd4e0a,'memberID':_0x431ed[_0x5593d4(0x1d1)],'type':_0x2b2c4e,'changeset':_0xdd7f4b(_0x1f18ab)},_0x97cbf2=this[_0x5593d4(0x37c)][_0x5593d4(0x261)](K),_0x3ce1e7=qs((_0x383c65=_0x97cbf2==null?void 0x0:_0x97cbf2[_0x5593d4(0x273)])!=null?_0x383c65:Ns,_0x2b2c4e,_0xd4e0a);try{await this[_0x5593d4(0x2d3)][_0x5593d4(0x230)](_0x3ce1e7,{'body':_0x22d647});}catch(_0x17bfc1){throw this[_0x5593d4(0x27d)][_0x5593d4(0x342)](_0x5593d4(0x3f1),_0x5593d4(0x1c5)),_0x17bfc1;}}async['_fetchMissChangesets'](_0x14a628){var _0x239acf=_0x297613;const {unitID:_0x3b3c5b,from:_0x762ea4,to:_0x13a030,unitType:_0x2d716f}=_0x14a628[_0x239acf(0x34e)];return(await this[_0x239acf(0x212)][_0x239acf(0x365)]({'metadata':void 0x0},{'unitID':_0x3b3c5b,'type':_0x2d716f,'from':_0x762ea4,'to':_0x13a030}))[_0x239acf(0x25f)][_0x239acf(0x39b)](_0x25f113=>((_0x25f113[_0x239acf(0x2b2)]===null||_0x25f113[_0x239acf(0x2b2)]===void 0x0)&&(_0x25f113['mutations']=[]),_0x25f113));}};Gt=Ks([ye(0x0,_0x26bbed(_0x58079d)),ye(0x1,_0x26bbed(_0x2a6ad7)),ye(0x2,_0x8e0d98),ye(0x3,_0x2f0a5f),ye(0x4,_0x560f67)],Gt);var zs=Object[_0x297613(0x1f3)],Xs=(_0x1aa2c3,_0x1de3e6,_0x34e50d,_0x212c34)=>{var _0x2b7605=_0x297613;for(var _0x2911d5=_0x212c34>0x1?void 0x0:_0x212c34?zs(_0x1de3e6,_0x34e50d):_0x1de3e6,_0x2ffe98=_0x1aa2c3[_0x2b7605(0x151)]-0x1,_0x4367bb;_0x2ffe98>=0x0;_0x2ffe98--)(_0x4367bb=_0x1aa2c3[_0x2ffe98])&&(_0x2911d5=_0x4367bb(_0x2911d5)||_0x2911d5);return _0x2911d5;},Re=(_0x623f65,_0x3f5a2f)=>(_0x52115a,_0x5da953)=>_0x3f5a2f(_0x52115a,_0x5da953,_0x623f65);let Le=class extends _0x147e04{constructor(_0x52ae44,_0x1a50da,_0x1ac506,_0xef99e8,_0x1fe767,_0x296a5d){var _0x78296a=_0x297613;super(),D(this,_0x78296a(0x10a),new _0x5ef610(void 0x0)),D(this,'socket$',this[_0x78296a(0x10a)]['asObservable']()),D(this,_0x78296a(0x31d),null),D(this,_0x78296a(0x325),new Map()),D(this,_0x78296a(0x266),new _0x5ef610(me[_0x78296a(0x136)])),D(this,_0x78296a(0x2c1),this[_0x78296a(0x266)]['asObservable']()),D(this,'_socketReady',!0x1),D(this,'_retryConnectingTimer'),D(this,_0x78296a(0x2e2),0x0),D(this,_0x78296a(0x122)),D(this,_0x78296a(0x2b7)),(this[_0x78296a(0x13e)]=_0x52ae44,this[_0x78296a(0x27d)]=_0x1a50da,this[_0x78296a(0x37c)]=_0x1ac506,this['_socketService']=_0xef99e8,this[_0x78296a(0x2f2)]=_0x1fe767,this[_0x78296a(0x1ed)]=_0x296a5d,this[_0x78296a(0x378)]());}get[_0x297613(0x1f0)](){return this['_socket$']['getValue']();}[_0x297613(0x378)](){var _0x308ee1=_0x297613;this[_0x308ee1(0x1ed)]&&this[_0x308ee1(0x2a1)](this[_0x308ee1(0x1ed)][_0x308ee1(0x36d)][_0x308ee1(0x160)](_0x276c95=>{var _0x30e991=_0x308ee1;_0x276c95&&!this[_0x30e991(0x1f0)]&&this[_0x30e991(0x31c)](),_0x276c95||this[_0x30e991(0x2b3)]();}));}[_0x297613(0x2d7)](){var _0x734e11=_0x297613;super[_0x734e11(0x2d7)](),this[_0x734e11(0x1d8)](),this['_clearTimeoutTimer'](),this[_0x734e11(0x390)](),this[_0x734e11(0x325)]['forEach'](_0x49e70c=>_0x49e70c[_0x734e11(0x2d7)]()),this[_0x734e11(0x325)]['clear'](),this[_0x734e11(0x266)][_0x734e11(0x366)]();}async[_0x297613(0x35d)](_0x28b2b2){var _0x534969=_0x297613;if(this[_0x534969(0x325)][_0x534969(0x147)](_0x28b2b2))return this['_sessions'][_0x534969(0x2a5)](_0x28b2b2);this[_0x534969(0x2e0)]();const _0x4b9589=this[_0x534969(0x13e)]['createInstance'](mt,_0x28b2b2,this['_socket$'][_0x534969(0x131)]());return this[_0x534969(0x325)][_0x534969(0x208)](_0x28b2b2,_0x4b9589),_0x4b9589;}[_0x297613(0x201)](_0x16fd2f){var _0x56f760=_0x297613,_0x2e258e;const _0xac4acc=this[_0x56f760(0x325)][_0x56f760(0x2a5)](_0x16fd2f);_0xac4acc&&(this[_0x56f760(0x325)][_0x56f760(0x341)](_0x16fd2f),_0xac4acc[_0x56f760(0x276)]()),this[_0x56f760(0x325)][_0x56f760(0x156)]||(_0x2e258e=this[_0x56f760(0x1f0)])==null||_0x2e258e[_0x56f760(0x276)]();}[_0x297613(0x31c)](){var _0x5c72a8=_0x297613;this[_0x5c72a8(0x2e2)]=0x0,this[_0x5c72a8(0x1d8)](),this[_0x5c72a8(0x167)]();}[_0x297613(0x1d8)](){var _0x2e7411=_0x297613;this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x2e7411(0xfb)]=null);}async[_0x297613(0x330)](){var _0x33edae=_0x297613,_0x1212dc;const _0x416194=this['_configService'][_0x33edae(0x261)](K),_0x311e70=(_0x1212dc=_0x416194==null?void 0x0:_0x416194[_0x33edae(0x2c3)])!=null?_0x1212dc:Is,_0xa671b0=await this[_0x33edae(0x178)]['createSocket'](_0x311e70);return this[_0x33edae(0x31d)]=_0xa671b0,_0xa671b0;}async[_0x297613(0x2e0)](){var _0x563289=_0x297613,_0x5d1125,_0x32de78;try{const _0xaa841b=(_0x32de78=(_0x5d1125=this[_0x563289(0x1f0)])!=null?_0x5d1125:this[_0x563289(0x31d)])!=null?_0x32de78:await this[_0x563289(0x330)]();if(_0xaa841b){const _0x4e8a02=_0xaa841b['send'];_0xaa841b[_0x563289(0x39c)]=_0xa3194b=>(this[_0x563289(0x2bb)](),_0x4e8a02[_0x563289(0x1f5)](_0xaa841b,[_0xa3194b])),_0xaa841b['message$'][_0x563289(0x160)](_0x4b926f=>this['_onMessage'](_0xaa841b,_0x4b926f)),_0xaa841b[_0x563289(0x14a)]['pipe'](_0x54ec11(0x1))[_0x563289(0x160)](_0x2daabc=>this[_0x563289(0x27d)][_0x563289(0x342)](_0x563289(0x388),_0x2daabc)),_0xaa841b['open$']['pipe'](_0x54ec11(0x1))[_0x563289(0x160)](()=>{this['_onConnectionOpen'](_0xaa841b);}),_0xaa841b['close$'][_0x563289(0x279)](_0x54ec11(0x1))[_0x563289(0x160)](_0x4bfc9a=>{var _0x3de33f=_0x563289;this['_logService'][_0x3de33f(0x2b1)](_0x3de33f(0x3bd),'socket\x20close',_0x4bfc9a),this[_0x3de33f(0x17f)]();});}}catch(_0xe9356b){this[_0x563289(0x27d)][_0x563289(0x342)](_0xe9356b),this[_0x563289(0x17f)]();}}[_0x297613(0x2a9)](_0x39ad37){var _0x20de37=_0x297613;this['_logService'][_0x20de37(0x2b1)](_0x20de37(0x3bd),_0x20de37(0x2ff)),_0x39ad37[_0x20de37(0x39c)]({'cmd':j[_0x20de37(0x286)]}),this['_rescheduleHeartbeat']();}[_0x297613(0x2b3)](){var _0x2f6fec=_0x297613;this['_socketReady']=!0x1,this[_0x2f6fec(0x31d)]=null,this[_0x2f6fec(0x266)][_0x2f6fec(0x3db)](me[_0x2f6fec(0x3c3)]),this[_0x2f6fec(0x10a)][_0x2f6fec(0x3db)](null),this[_0x2f6fec(0x17b)](),this[_0x2f6fec(0x390)]();}['_onConnectionFailed'](){var _0x52efbe=_0x297613,_0x483ca8;this['_onOffline'](),this[_0x52efbe(0x2e2)]<((_0x483ca8=this[_0x52efbe(0x37c)][_0x52efbe(0x261)](Os))!=null?_0x483ca8:Rs)?(this[_0x52efbe(0x2f2)]['emitEvent']({'id':re[_0x52efbe(0x1a2)]}),this[_0x52efbe(0x167)]()):this[_0x52efbe(0x2f2)][_0x52efbe(0x260)]({'id':re['SOCKET_FAILED']});}[_0x297613(0x167)](){var _0x4f8769=_0x297613,_0x479a16;const _0x432a5f=this[_0x4f8769(0x2e2)],_0x48d4df=this[_0x4f8769(0x37c)]['getConfig'](K),_0x2a198a=_0x432a5f===0x0?0x0:((_0x479a16=_0x48d4df==null?void 0x0:_0x48d4df[_0x4f8769(0x1ac)])!=null?_0x479a16:Ts)*0x2**_0x432a5f;this['_retryConnectingTimer']=setTimeout(()=>{var _0x55e1fc=_0x4f8769;clearTimeout(this[_0x55e1fc(0xfb)]),this['_retryConnectingTimer']=null,this[_0x55e1fc(0x2e0)]();},_0x2a198a),this['_retryCount']+=0x1;}[_0x297613(0x21f)](_0x11b314,_0x28fe90){var _0x4b87d3=_0x297613;const {cmd:_0x268366}=_0x28fe90;_0x268366===j['HELLO']&&!this[_0x4b87d3(0x362)]&&(_0x11b314[_0x4b87d3(0x1d1)]=_0x28fe90[_0x4b87d3(0x34e)]['memberID'],this[_0x4b87d3(0x10a)][_0x4b87d3(0x3db)](_0x11b314),this[_0x4b87d3(0x266)]['next'](me[_0x4b87d3(0x2f7)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x268366===j[_0x4b87d3(0x28f)]&&this[_0x4b87d3(0x17b)](),this[_0x4b87d3(0x2bb)]();}[_0x297613(0x2bb)](){var _0x14319d=_0x297613,_0x40df27;this[_0x14319d(0x390)](),this[_0x14319d(0x122)]=setTimeout(()=>this[_0x14319d(0x1ce)](),(_0x40df27=this[_0x14319d(0x37c)]['getConfig'](Ss))!=null?_0x40df27:gs);}[_0x297613(0x1ce)](){var _0x547198=_0x297613;this[_0x547198(0x1f0)][_0x547198(0x39c)]({'cmd':j[_0x547198(0x28f)]}),this[_0x547198(0x299)]();}[_0x297613(0x299)](){var _0x189274=_0x297613,_0x3d846d;this[_0x189274(0x2b7)]=setTimeout(()=>this[_0x189274(0x17f)](),(_0x3d846d=this[_0x189274(0x37c)]['getConfig'](di))!=null?_0x3d846d:fi);}[_0x297613(0x390)](){var _0x585b05=_0x297613;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x585b05(0x122)]),this[_0x585b05(0x122)]=null);}['_clearTimeoutTimer'](){var _0x24869e=_0x297613;this[_0x24869e(0x2b7)]!=null&&(clearTimeout(this[_0x24869e(0x2b7)]),this[_0x24869e(0x2b7)]=null);}};Le=Xs([Re(0x0,_0x26bbed(_0x58079d)),Re(0x1,_0x2f0a5f),Re(0x2,_0x8e0d98),Re(0x3,Ri),Re(0x4,_0x26bbed(ve)),Re(0x5,_0x20c1a7(Vs))],Le);var Js=Object[_0x297613(0x1f3)],Zs=(_0x3bca5a,_0x426375,_0x26f67b,_0x2403a1)=>{for(var _0x38bca8=_0x2403a1>0x1?void 0x0:_0x2403a1?Js(_0x426375,_0x26f67b):_0x426375,_0x2c935f=_0x3bca5a['length']-0x1,_0x2e95e7;_0x2c935f>=0x0;_0x2c935f--)(_0x2e95e7=_0x3bca5a[_0x2c935f])&&(_0x38bca8=_0x2e95e7(_0x38bca8)||_0x38bca8);return _0x38bca8;},Be=(_0x4640ae,_0xb8c18f)=>(_0x433e8e,_0x5a556e)=>_0xb8c18f(_0x433e8e,_0x5a556e,_0x4640ae);let nt=class extends _0x5ba552{constructor(_0x3121b8,_0x25030e,_0x257510,_0x521765){var _0x543a52=_0x297613,_0x434c87;super(),D(this,_0x543a52(0x24c),new Map()),D(this,_0x543a52(0x356),new _0x34c84b()),D(this,'entityInit$',this[_0x543a52(0x356)]['asObservable']()),(this[_0x543a52(0x13e)]=_0x3121b8,this['_collabSessionService']=_0x25030e,this[_0x543a52(0x37c)]=_0x257510,this[_0x543a52(0x27f)]=_0x521765,((_0x434c87=this[_0x543a52(0x37c)][_0x543a52(0x261)](K))==null?void 0x0:_0x434c87[_0x543a52(0x3a0)])!==!0x1&&this['_init']());}[_0x297613(0x2d7)](){var _0x49f0ac=_0x297613;super[_0x49f0ac(0x2d7)](),this[_0x49f0ac(0x24c)][_0x49f0ac(0x1bd)](_0x52a2be=>_0x52a2be[_0x49f0ac(0x2d7)]()),this[_0x49f0ac(0x24c)][_0x49f0ac(0x267)]();}['getCollabEntity'](_0x2c5bb2){var _0x3937fd=_0x297613,_0x2134e0;return(_0x2134e0=this[_0x3937fd(0x24c)][_0x3937fd(0x2a5)](_0x2c5bb2))!=null?_0x2134e0:null;}['getCollabEntity$'](_0xab7467){var _0x142721=_0x297613;const _0x5ee92a=this[_0x142721(0x336)](_0xab7467);return _0x5ee92a?_0x191082(_0x5ee92a):this[_0x142721(0x356)][_0x142721(0x279)](_0x285157(_0x47bf6e=>_0x47bf6e[_0x142721(0x135)]===_0xab7467));}[_0x297613(0x337)](_0x5e88a4){var _0x3a8d22=_0x297613;return _0x3c298a(this['getCollabEntity$'](_0x5e88a4)[_0x3a8d22(0x279)](_0x2c6a51(()=>{})));}[_0x297613(0x3fa)](){var _0x125bb3=_0x297613;this[_0x125bb3(0x27f)][_0x125bb3(0x107)](_0x36d7f4['UNIVER_SHEET'])[_0x125bb3(0x279)](_0x555e49(this[_0x125bb3(0x236)]),_0x45925c(0x10))[_0x125bb3(0x160)](async _0x225b9a=>{var _0x41ba06=_0x125bb3;const _0x3f99c4=_0x225b9a[_0x41ba06(0x281)](),_0x235d29=await this[_0x41ba06(0x25a)](_0x3f99c4,Q[_0x41ba06(0x191)]);this[_0x41ba06(0x24c)]['set'](_0x3f99c4,_0x235d29);}),this['_univerInstanceService'][_0x125bb3(0x107)](_0x36d7f4[_0x125bb3(0x33c)])['pipe'](_0x555e49(this[_0x125bb3(0x236)]),_0x45925c(0x10))[_0x125bb3(0x279)](_0x285157(_0x54df4e=>!_0x54df4e[_0x125bb3(0x281)]()[_0x125bb3(0x2e7)]('__')))['subscribe'](async _0x3717d8=>{var _0x2a86f1=_0x125bb3;const _0x2c4181=_0x3717d8[_0x2a86f1(0x281)](),_0x43e3a9=await this['_startCollaboration'](_0x2c4181,Q[_0x2a86f1(0x33c)]);this[_0x2a86f1(0x24c)][_0x2a86f1(0x208)](_0x2c4181,_0x43e3a9);}),_0x1e2b79(this[_0x125bb3(0x27f)][_0x125bb3(0x14b)](_0x36d7f4[_0x125bb3(0x191)]),this['_univerInstanceService'][_0x125bb3(0x14b)](_0x36d7f4[_0x125bb3(0x33c)]))[_0x125bb3(0x279)](_0x555e49(this[_0x125bb3(0x236)]))[_0x125bb3(0x160)](_0x4b27eb=>{var _0x30127d=_0x125bb3;const _0x2ec690=_0x4b27eb[_0x30127d(0x281)](),_0x4b4044=this[_0x30127d(0x24c)][_0x30127d(0x2a5)](_0x2ec690);_0x4b4044&&(_0x4b4044[_0x30127d(0x2d7)](),this['_entities'][_0x30127d(0x341)](_0x2ec690));});}async[_0x297613(0x25a)](_0x56e784,_0x5755a3){var _0x348e7b=_0x297613;const _0xc95985=await this[_0x348e7b(0x215)][_0x348e7b(0x35d)](_0x56e784),_0x269722=this[_0x348e7b(0x13e)][_0x348e7b(0x34b)](this[_0x348e7b(0x1dc)](_0x5755a3),_0x56e784,_0x5755a3,_0xc95985);return await _0x269722[_0x348e7b(0x3df)](),this[_0x348e7b(0x356)][_0x348e7b(0x3db)](_0x269722),_0x269722;}[_0x297613(0x1dc)](_0xcf363b){var _0x59e8d8=_0x297613;switch(_0xcf363b){case Q['UNIVER_DOC']:return It;case Q[_0x59e8d8(0x191)]:return St;default:throw new Error(_0x59e8d8(0x18b)+_0xcf363b);}}};nt=Zs([Be(0x0,_0x26bbed(_0x58079d)),Be(0x1,_0x26bbed(Le)),Be(0x2,_0x8e0d98),Be(0x3,_0xf06b0d)],nt);var Qs=Object[_0x297613(0x1f3)],en=(_0x3795f2,_0x12d89b,_0x3189d5,_0x5e2c4d)=>{var _0x164062=_0x297613;for(var _0x43d514=_0x5e2c4d>0x1?void 0x0:_0x5e2c4d?Qs(_0x12d89b,_0x3189d5):_0x12d89b,_0x576fdc=_0x3795f2[_0x164062(0x151)]-0x1,_0x5178ee;_0x576fdc>=0x0;_0x576fdc--)(_0x5178ee=_0x3795f2[_0x576fdc])&&(_0x43d514=_0x5178ee(_0x43d514)||_0x43d514);return _0x43d514;},Wt=(_0x2412c0,_0x458bbe)=>(_0x4ca4da,_0x5434fc)=>_0x458bbe(_0x4ca4da,_0x5434fc,_0x2412c0);const tn=_0x297613(0x28e),sn='Univer';let gt=class extends _0x147e04{constructor(_0x2b892b,_0x293d43){super(),this['_univerInstanceService']=_0x2b892b,this['_configService']=_0x293d43,this['_init']();}['_init'](){var _0xc173c=_0x297613;this[_0xc173c(0x2a1)](this['_univerInstanceService'][_0xc173c(0x349)][_0xc173c(0x160)](()=>{var _0x4d6d09=_0xc173c,_0x5bffd5;const _0x2e0b8a=this[_0x4d6d09(0x27f)][_0x4d6d09(0x39f)]();let _0x504592=(_0x5bffd5=this[_0x4d6d09(0x37c)]['getConfig'](tn))!=null?_0x5bffd5:sn;_0x2e0b8a instanceof _0x35f69b&&(_0x504592=_0x2e0b8a[_0x4d6d09(0x284)]),document[_0x4d6d09(0x377)]=_0x504592;}));}};gt=en([Wt(0x0,_0xf06b0d),Wt(0x1,_0x8e0d98)],gt);var nn=Object[_0x297613(0x1f3)],rn=(_0x731f6b,_0xaf996c,_0x2712e9,_0x45cd58)=>{var _0x3ac863=_0x297613;for(var _0x3c58b2=_0x45cd58>0x1?void 0x0:_0x45cd58?nn(_0xaf996c,_0x2712e9):_0xaf996c,_0x6a8b34=_0x731f6b[_0x3ac863(0x151)]-0x1,_0x20e19a;_0x6a8b34>=0x0;_0x6a8b34--)(_0x20e19a=_0x731f6b[_0x6a8b34])&&(_0x3c58b2=_0x20e19a(_0x3c58b2)||_0x3c58b2);return _0x3c58b2;},dt=(_0x403f5f,_0x21f6a6)=>(_0x168de2,_0x1f65a3)=>_0x21f6a6(_0x168de2,_0x1f65a3,_0x403f5f);let rt=class{constructor(_0x41b125,_0x4757e0,_0x4568a5){var _0x4724fc=_0x297613;this[_0x4724fc(0x37c)]=_0x41b125,this[_0x4724fc(0x2d3)]=_0x4757e0,this['localeService']=_0x4568a5,this[_0x4724fc(0x3df)]();}[_0x297613(0x3df)](){var _0x321a66=_0x297613;this[_0x321a66(0x2d3)][_0x321a66(0x2b9)]({'priority':0x1,'interceptor':(_0x3d1e8f,_0x555c3d)=>_0x555c3d(_0x3d1e8f)[_0x321a66(0x279)](_0x4413bb(async _0x52d74a=>{var _0x1a2583=_0x321a66;const _0x4f7bee=_0x52d74a;if(_0x4f7bee['status']===0x191){if(typeof window>'u')throw new Error(_0x1a2583(0x3b5));if(window[_0x1a2583(0x204)](this[_0x1a2583(0x2e6)]['t']('auth.needGotoLoginAlert'))){const _0x236658=window['encodeURIComponent'](window[_0x1a2583(0x3a7)][_0x1a2583(0x229)]);window[_0x1a2583(0x3a7)][_0x1a2583(0x229)]=this[_0x1a2583(0x303)]()+_0x1a2583(0x102)+_0x236658;}}return _0x4f7bee;}))});}[_0x297613(0x303)](){var _0x5b960b=_0x297613,_0x565ece;const _0x55deac=this[_0x5b960b(0x37c)][_0x5b960b(0x261)](K);return(_0x565ece=_0x55deac==null?void 0x0:_0x55deac[_0x5b960b(0xef)])!=null?_0x565ece:Cs;}};rt=rn([dt(0x0,_0x8e0d98),dt(0x1,_0x26bbed(_0x2a6ad7)),dt(0x2,_0x26bbed(_0x5f547b))],rt);var an=Object['getOwnPropertyDescriptor'],on=(_0x25e65e,_0x6569f9,_0x35c625,_0x23b582)=>{for(var _0x4f0fbd=_0x23b582>0x1?void 0x0:_0x23b582?an(_0x6569f9,_0x35c625):_0x6569f9,_0x131410=_0x25e65e['length']-0x1,_0x286561;_0x131410>=0x0;_0x131410--)(_0x286561=_0x25e65e[_0x131410])&&(_0x4f0fbd=_0x286561(_0x4f0fbd)||_0x4f0fbd);return _0x4f0fbd;},Yt=(_0x3336f,_0x111212)=>(_0xcb1a5c,_0x2cdff3)=>_0x111212(_0xcb1a5c,_0x2cdff3,_0x3336f);const cn=_0x297613(0x237);let Tt=class extends _0x147e04{constructor(_0x44ce47,_0x54b09c){var _0x568965=_0x297613;super(),this[_0x568965(0x275)]=_0x44ce47,this['_configService']=_0x54b09c,this[_0x568965(0x2fc)]();}['_initMergeInterceptor'](){var _0x35cc96=_0x297613;const _0xba817=this;this[_0x35cc96(0x2a1)](this[_0x35cc96(0x275)][_0x35cc96(0x2b9)]({'priority':0x3e7,'interceptor':_0x132386({'isMatch'(_0x498776){var _0x13fe63=_0x35cc96,_0x3b5f1f;if(_0x498776[_0x13fe63(0x2da)]==='POST'&&((_0x3b5f1f=_0x498776[_0x13fe63(0x3ea)])!=null&&_0x3b5f1f[_0x13fe63(0x1d4)])){const {objectID:_0x20eb37,objectType:_0x417cda}=_0x498776[_0x13fe63(0x3ea)]['body']||{};if(!_0x20eb37||_0x417cda===void 0x0)return!0x1;const _0x5c4ca4=_0xba817[_0x13fe63(0x1f7)]()+'/'+_0x417cda+_0x13fe63(0x2d4)+_0x20eb37+_0x13fe63(0x2e3);if(_0x498776[_0x13fe63(0x2b5)]===_0x5c4ca4)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x189e40){var _0x27d8e0=_0x35cc96,_0xf49db0;return(_0xf49db0=_0x189e40['requestParams'])==null?void 0x0:_0xf49db0[_0x27d8e0(0x1d4)];},'mergeParamsToRequest'(_0x109743,_0x3d785c){var _0x1e80a1=_0x35cc96;const _0x40a8f3=_0xba817['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x206d36=_0x109743[_0x1e80a1(0x103)]((_0x426a8a,_0x1824e8)=>{var _0x5f4c2a=_0x1e80a1;const {unitID:_0x65dece,objectID:_0x59d330,objectType:_0x2a506d,actions:_0x454419}=_0x1824e8;return _0x426a8a[_0x65dece]||(_0x426a8a[_0x65dece]={}),_0x426a8a[_0x65dece][_0x59d330]||(_0x426a8a[_0x65dece][_0x59d330]={'objectID':_0x59d330,'objectType':_0x2a506d,'actions':[]}),_0x426a8a[_0x65dece][_0x59d330][_0x5f4c2a(0x328)][_0x5f4c2a(0x180)](..._0x454419),_0x426a8a;},{}),_0x1d7c2e=[];for(const _0x2488ff in _0x206d36)for(const _0x27012d in _0x206d36[_0x2488ff]){const {actions:_0x7ded9d,objectType:_0x54376a}=_0x206d36[_0x2488ff][_0x27012d],_0x2ed823=[...new Set(_0x7ded9d)];_0x1d7c2e[_0x1e80a1(0x180)]({'unitID':_0x2488ff,'objectID':_0x27012d,'objectType':_0x54376a,'actions':_0x2ed823});}return new _0x4b8ceb('POST',_0x40a8f3,{'headers':_0x3d785c[_0x1e80a1(0x338)],'withCredentials':_0x3d785c['withCredentials'],'responseType':_0x3d785c[_0x1e80a1(0x361)],'body':{'requests':_0x1d7c2e}});}},{'distributeResult'(_0xb08291,_0x20cd19){var _0x1a93bb=_0x35cc96;const {objectActions:_0x5b8065}=_0xb08291;return _0x20cd19[_0x1a93bb(0x39b)](_0x2c5692=>{var _0x160e97=_0x1a93bb;const {unitID:_0x25002a,objectID:_0x3dc509,actions:_0x563485}=_0x2c5692,_0x1ef3cc=_0x5b8065[_0x160e97(0xff)](_0x473d30=>_0x473d30['unitID']===_0x25002a&&_0x473d30[_0x160e97(0x13c)]===_0x3dc509),_0x526dea=_0x563485['map'](_0x2b0bc4=>_0x1ef3cc==null?void 0x0:_0x1ef3cc[_0x160e97(0x328)]['find'](_0xbc477d=>_0xbc477d[_0x160e97(0x270)]===_0x2b0bc4))[_0x160e97(0xf6)](_0x2165b0=>!!_0x2165b0);return{'config':_0x2c5692,'result':{'actions':_0x526dea,'error':_0xb08291[_0x160e97(0x342)]}};});}})}));}['_getAPIPrefixPath'](){var _0x27416a=_0x297613,_0x8cd06d;const _0x2e622f=this[_0x27416a(0x37c)][_0x27416a(0x261)](K);return(_0x8cd06d=_0x2e622f==null?void 0x0:_0x2e622f['authzUrl'])!=null?_0x8cd06d:cn;}async[_0x297613(0x1df)](_0x1c7570){var _0x270a7b=_0x297613;const _0x314a15=this[_0x270a7b(0x1f7)]()+'/'+_0x1c7570[_0x270a7b(0x2ae)]+_0x270a7b(0xf1);return(await this[_0x270a7b(0x275)][_0x270a7b(0x230)](_0x314a15,{'body':_0x1c7570}))[_0x270a7b(0x1d4)][_0x270a7b(0x13c)]||'';}async[_0x297613(0x14e)](_0x1127b7){var _0x4bab13=_0x297613;const _0x4ea7f5=this[_0x4bab13(0x1f7)]()+'/-/object/list';return(await this[_0x4bab13(0x275)][_0x4bab13(0x230)](_0x4ea7f5,{'body':_0x1127b7}))['body'][_0x4bab13(0x1e2)];}async['update'](_0xb91559){var _0x2b3ddc=_0x297613,_0x2432d3,_0x1a473d;const _0x2cbb39=this[_0x2b3ddc(0x1f7)]()+'/'+_0xb91559[_0x2b3ddc(0x2ae)]+'/object/'+_0xb91559[_0x2b3ddc(0x13c)],_0x2ce131=await this[_0x2b3ddc(0x275)][_0x2b3ddc(0x277)](_0x2cbb39,{'body':_0xb91559});if(((_0x1a473d=(_0x2432d3=_0x2ce131==null?void 0x0:_0x2ce131['body'])==null?void 0x0:_0x2432d3['error'])==null?void 0x0:_0x1a473d['code'])!==0x1)throw new Error(_0x2b3ddc(0x34d));}async[_0x297613(0x114)](_0x24fc2b){var _0x52523d=_0x297613;const _0x8075f7=this[_0x52523d(0x1f7)]()+'/'+_0x24fc2b[_0x52523d(0x2ae)]+_0x52523d(0x2d4)+_0x24fc2b[_0x52523d(0x13c)]+_0x52523d(0x2e3);return(await this['_HTTPService'][_0x52523d(0x230)](_0x8075f7,{'body':_0x24fc2b}))[_0x52523d(0x1d4)]['actions'];}async['batchAllowed'](_0x559934){var _0x58303a=_0x297613;const _0x1b3eb0=this['_getAPIPrefixPath']()+_0x58303a(0x2a0);return(await this['_HTTPService'][_0x58303a(0x230)](_0x1b3eb0,{'body':{'requests':_0x559934}}))['body'][_0x58303a(0x271)];}async[_0x297613(0x133)](_0x462281){var _0x37a424=_0x297613;const _0x4be0b5=this['_getAPIPrefixPath']()+'/'+_0x462281[_0x37a424(0x2ae)]+'/role',_0x4ae2ff=await this['_HTTPService'][_0x37a424(0x230)](_0x4be0b5,{'body':_0x462281});return{'roles':_0x4ae2ff[_0x37a424(0x1d4)][_0x37a424(0x3b3)],'actions':_0x4ae2ff['body'][_0x37a424(0x328)]};}async[_0x297613(0x12b)](_0x43421f){var _0x49f3c8=_0x297613;const _0x208b3c=this[_0x49f3c8(0x1f7)]()+_0x49f3c8(0x129);await this[_0x49f3c8(0x275)][_0x49f3c8(0x341)](_0x208b3c,{'params':{'collaboratorID':_0x43421f[_0x49f3c8(0x32a)],'objectID':_0x43421f[_0x49f3c8(0x13c)],'unitID':_0x43421f['unitID']}});}async[_0x297613(0x3f5)](_0x169c26){var _0x20031b=_0x297613;const _0x3c5f4c=this[_0x20031b(0x1f7)]()+_0x20031b(0x129);await this[_0x20031b(0x275)][_0x20031b(0x384)](_0x3c5f4c,{'body':_0x169c26});}async['createCollaborator'](_0x25b8d7){var _0x252e4f=_0x297613;const _0x1c5149=this[_0x252e4f(0x1f7)]()+_0x252e4f(0x129);await this[_0x252e4f(0x275)]['post'](_0x1c5149,{'body':_0x25b8d7});}async[_0x297613(0x34c)](_0x461ea6){var _0x6e403a=_0x297613;const _0x3c7e15=this['_getAPIPrefixPath']()+_0x6e403a(0x129);return(await this[_0x6e403a(0x275)][_0x6e403a(0x2a5)](_0x3c7e15,{'params':{'objectID':_0x461ea6[_0x6e403a(0x13c)],'unitID':_0x461ea6[_0x6e403a(0x135)]}}))[_0x6e403a(0x1d4)][_0x6e403a(0x187)];}async[_0x297613(0x3e2)](_0x4ae8ff){var _0x8238df=_0x297613;const _0x83d135=this[_0x8238df(0x1f7)]()+_0x8238df(0x129);await this['_HTTPService'][_0x8238df(0x277)](_0x83d135,{'body':_0x4ae8ff});}};Tt=on([Yt(0x0,_0x26bbed(_0x2a6ad7)),Yt(0x1,_0x26bbed(_0x8e0d98))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x66dbfb){var _0x25e78a=_0x297613;return _0x66dbfb&&_0x66dbfb[_0x25e78a(0x116)]&&Object[_0x25e78a(0x35a)]['hasOwnProperty']['call'](_0x66dbfb,_0x25e78a(0x3e1))?_0x66dbfb[_0x25e78a(0x3e1)]:_0x66dbfb;}var Ve={'exports':{}};function _n(_0x1d4d23){var _0x13c890=_0x297613;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1d4d23+_0x13c890(0x30d));}var Ge={'exports':{}},hn=Ge[_0x297613(0x345)],Kt;function ie(){var _0x4e3ceb=_0x297613;return Kt||(Kt=0x1,function(_0x1ad5ae,_0x9e84ad){(function(_0x3bbb7f,_0x1b7e84){_0x1ad5ae['exports']=_0x1b7e84();}(hn,function(){var _0xcf6679=_0xcf6679||function(_0x5ef802,_0x4e8545){var _0x381d70=_0x2e51,_0x68bcdb;if(typeof window<'u'&&window['crypto']&&(_0x68bcdb=window[_0x381d70(0x258)]),typeof self<'u'&&self[_0x381d70(0x258)]&&(_0x68bcdb=self[_0x381d70(0x258)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x68bcdb=globalThis[_0x381d70(0x258)]),!_0x68bcdb&&typeof window<'u'&&window[_0x381d70(0x20f)]&&(_0x68bcdb=window[_0x381d70(0x20f)]),!_0x68bcdb&&typeof ft<'u'&&ft[_0x381d70(0x258)]&&(_0x68bcdb=ft[_0x381d70(0x258)]),!_0x68bcdb&&typeof _n==_0x381d70(0x409))try{_0x68bcdb=require('crypto');}catch{}var _0x24e762=function(){var _0x18efd2=_0x381d70;if(_0x68bcdb){if(typeof _0x68bcdb['getRandomValues']=='function')try{return _0x68bcdb[_0x18efd2(0x274)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x68bcdb[_0x18efd2(0x193)]==_0x18efd2(0x409))try{return _0x68bcdb[_0x18efd2(0x193)](0x4)[_0x18efd2(0x2d9)]();}catch{}}throw new Error(_0x18efd2(0x3b6));},_0x50d319=Object[_0x381d70(0x1df)]||(function(){function _0x4c6116(){}return function(_0x44d730){var _0x4db950;return _0x4c6116['prototype']=_0x44d730,_0x4db950=new _0x4c6116(),_0x4c6116['prototype']=null,_0x4db950;};}()),_0x31eb2e={},_0x13fd13=_0x31eb2e[_0x381d70(0x26a)]={},_0x5abe1d=_0x13fd13[_0x381d70(0x3b0)]=(function(){return{'extend':function(_0x57cebd){var _0x562139=_0x2e51,_0x53786b=_0x50d319(this);return _0x57cebd&&_0x53786b[_0x562139(0x250)](_0x57cebd),(!_0x53786b[_0x562139(0x3fd)]('init')||this[_0x562139(0x3df)]===_0x53786b[_0x562139(0x3df)])&&(_0x53786b[_0x562139(0x3df)]=function(){var _0x3aa01a=_0x562139;_0x53786b[_0x3aa01a(0x159)][_0x3aa01a(0x3df)][_0x3aa01a(0x1f5)](this,arguments);}),_0x53786b[_0x562139(0x3df)][_0x562139(0x35a)]=_0x53786b,_0x53786b[_0x562139(0x159)]=this,_0x53786b;},'create':function(){var _0x26c620=_0x2e51,_0x5af78b=this[_0x26c620(0x10c)]();return _0x5af78b['init']['apply'](_0x5af78b,arguments),_0x5af78b;},'init':function(){},'mixIn':function(_0x534d6b){var _0x27e77f=_0x2e51;for(var _0x583aed in _0x534d6b)_0x534d6b[_0x27e77f(0x3fd)](_0x583aed)&&(this[_0x583aed]=_0x534d6b[_0x583aed]);_0x534d6b[_0x27e77f(0x3fd)](_0x27e77f(0x2b8))&&(this[_0x27e77f(0x2b8)]=_0x534d6b[_0x27e77f(0x2b8)]);},'clone':function(){var _0xaf60c=_0x2e51;return this[_0xaf60c(0x3df)][_0xaf60c(0x35a)]['extend'](this);}};}()),_0x1529b9=_0x13fd13['WordArray']=_0x5abe1d[_0x381d70(0x10c)]({'init':function(_0x24bd5f,_0x4bcdf3){var _0xba7ecb=_0x381d70;_0x24bd5f=this[_0xba7ecb(0x3fc)]=_0x24bd5f||[],_0x4bcdf3!=_0x4e8545?this['sigBytes']=_0x4bcdf3:this['sigBytes']=_0x24bd5f[_0xba7ecb(0x151)]*0x4;},'toString':function(_0x4926f1){return(_0x4926f1||_0x50cef1)['stringify'](this);},'concat':function(_0x3a5964){var _0x231983=_0x381d70,_0x3672c8=this[_0x231983(0x3fc)],_0x13570d=_0x3a5964[_0x231983(0x3fc)],_0x357df6=this[_0x231983(0x326)],_0x275f4e=_0x3a5964[_0x231983(0x326)];if(this[_0x231983(0x1eb)](),_0x357df6%0x4)for(var _0x22ae92=0x0;_0x22ae92<_0x275f4e;_0x22ae92++){var _0x573416=_0x13570d[_0x22ae92>>>0x2]>>>0x18-_0x22ae92%0x4*0x8&0xff;_0x3672c8[_0x357df6+_0x22ae92>>>0x2]|=_0x573416<<0x18-(_0x357df6+_0x22ae92)%0x4*0x8;}else{for(var _0x6cecf8=0x0;_0x6cecf8<_0x275f4e;_0x6cecf8+=0x4)_0x3672c8[_0x357df6+_0x6cecf8>>>0x2]=_0x13570d[_0x6cecf8>>>0x2];}return this[_0x231983(0x326)]+=_0x275f4e,this;},'clamp':function(){var _0x4f9122=_0x381d70,_0x4d294d=this[_0x4f9122(0x3fc)],_0x1b716f=this[_0x4f9122(0x326)];_0x4d294d[_0x1b716f>>>0x2]&=0xffffffff<<0x20-_0x1b716f%0x4*0x8,_0x4d294d[_0x4f9122(0x151)]=_0x5ef802[_0x4f9122(0x184)](_0x1b716f/0x4);},'clone':function(){var _0x116f7e=_0x381d70,_0x2ec68c=_0x5abe1d['clone'][_0x116f7e(0x33d)](this);return _0x2ec68c[_0x116f7e(0x3fc)]=this[_0x116f7e(0x3fc)][_0x116f7e(0x300)](0x0),_0x2ec68c;},'random':function(_0x1ef0f3){var _0x100bf6=_0x381d70;for(var _0xef0293=[],_0x18307c=0x0;_0x18307c<_0x1ef0f3;_0x18307c+=0x4)_0xef0293[_0x100bf6(0x180)](_0x24e762());return new _0x1529b9[(_0x100bf6(0x3df))](_0xef0293,_0x1ef0f3);}}),_0x483fad=_0x31eb2e[_0x381d70(0x406)]={},_0x50cef1=_0x483fad[_0x381d70(0x367)]={'stringify':function(_0x29d969){var _0x1d72c7=_0x381d70;for(var _0x341f82=_0x29d969[_0x1d72c7(0x3fc)],_0x465e2b=_0x29d969['sigBytes'],_0x510ccd=[],_0x112558=0x0;_0x112558<_0x465e2b;_0x112558++){var _0x545b24=_0x341f82[_0x112558>>>0x2]>>>0x18-_0x112558%0x4*0x8&0xff;_0x510ccd[_0x1d72c7(0x180)]((_0x545b24>>>0x4)[_0x1d72c7(0x2b8)](0x10)),_0x510ccd[_0x1d72c7(0x180)]((_0x545b24&0xf)[_0x1d72c7(0x2b8)](0x10));}return _0x510ccd['join']('');},'parse':function(_0x2fc49e){var _0xac3025=_0x381d70;for(var _0x8ecb67=_0x2fc49e[_0xac3025(0x151)],_0x25bdf2=[],_0x3f213a=0x0;_0x3f213a<_0x8ecb67;_0x3f213a+=0x2)_0x25bdf2[_0x3f213a>>>0x3]|=parseInt(_0x2fc49e[_0xac3025(0x3ab)](_0x3f213a,0x2),0x10)<<0x18-_0x3f213a%0x8*0x4;return new _0x1529b9[(_0xac3025(0x3df))](_0x25bdf2,_0x8ecb67/0x2);}},_0x6d7f93=_0x483fad[_0x381d70(0x27b)]={'stringify':function(_0x15618f){var _0x38961f=_0x381d70;for(var _0x2868bb=_0x15618f[_0x38961f(0x3fc)],_0x286061=_0x15618f[_0x38961f(0x326)],_0x3eac45=[],_0x475b12=0x0;_0x475b12<_0x286061;_0x475b12++){var _0x15334d=_0x2868bb[_0x475b12>>>0x2]>>>0x18-_0x475b12%0x4*0x8&0xff;_0x3eac45[_0x38961f(0x180)](String[_0x38961f(0x226)](_0x15334d));}return _0x3eac45[_0x38961f(0x398)]('');},'parse':function(_0x26b1f9){var _0x18b61e=_0x381d70;for(var _0x13b2c1=_0x26b1f9[_0x18b61e(0x151)],_0x5d23a0=[],_0x563368=0x0;_0x563368<_0x13b2c1;_0x563368++)_0x5d23a0[_0x563368>>>0x2]|=(_0x26b1f9[_0x18b61e(0x1e6)](_0x563368)&0xff)<<0x18-_0x563368%0x4*0x8;return new _0x1529b9[(_0x18b61e(0x3df))](_0x5d23a0,_0x13b2c1);}},_0x400275=_0x483fad[_0x381d70(0x2dc)]={'stringify':function(_0x3941a0){var _0x4cf199=_0x381d70;try{return decodeURIComponent(escape(_0x6d7f93[_0x4cf199(0x2a3)](_0x3941a0)));}catch{throw new Error(_0x4cf199(0x269));}},'parse':function(_0x516e09){var _0x2505ff=_0x381d70;return _0x6d7f93[_0x2505ff(0x360)](unescape(encodeURIComponent(_0x516e09)));}},_0x31e191=_0x13fd13[_0x381d70(0x3cb)]=_0x5abe1d[_0x381d70(0x10c)]({'reset':function(){var _0x16d39a=_0x381d70;this[_0x16d39a(0x295)]=new _0x1529b9[(_0x16d39a(0x3df))](),this['_nDataBytes']=0x0;},'_append':function(_0x503f0e){var _0x147dfb=_0x381d70;typeof _0x503f0e==_0x147dfb(0x2de)&&(_0x503f0e=_0x400275[_0x147dfb(0x360)](_0x503f0e)),this[_0x147dfb(0x295)][_0x147dfb(0x182)](_0x503f0e),this[_0x147dfb(0x1c1)]+=_0x503f0e['sigBytes'];},'_process':function(_0xeb19ef){var _0x2bb28a=_0x381d70,_0x5c1915,_0x1819a3=this[_0x2bb28a(0x295)],_0x1fba92=_0x1819a3[_0x2bb28a(0x3fc)],_0x1e702c=_0x1819a3['sigBytes'],_0x4d8e4f=this[_0x2bb28a(0x22b)],_0x5f44df=_0x4d8e4f*0x4,_0x3fcfdc=_0x1e702c/_0x5f44df;_0xeb19ef?_0x3fcfdc=_0x5ef802[_0x2bb28a(0x184)](_0x3fcfdc):_0x3fcfdc=_0x5ef802['max']((_0x3fcfdc|0x0)-this[_0x2bb28a(0x2f5)],0x0);var _0x1b0759=_0x3fcfdc*_0x4d8e4f,_0x53ad4e=_0x5ef802[_0x2bb28a(0x28b)](_0x1b0759*0x4,_0x1e702c);if(_0x1b0759){for(var _0xb070b3=0x0;_0xb070b3<_0x1b0759;_0xb070b3+=_0x4d8e4f)this[_0x2bb28a(0x292)](_0x1fba92,_0xb070b3);_0x5c1915=_0x1fba92[_0x2bb28a(0x3cf)](0x0,_0x1b0759),_0x1819a3[_0x2bb28a(0x326)]-=_0x53ad4e;}return new _0x1529b9[(_0x2bb28a(0x3df))](_0x5c1915,_0x53ad4e);},'clone':function(){var _0x5b3dc7=_0x381d70,_0x2ad70f=_0x5abe1d[_0x5b3dc7(0x238)][_0x5b3dc7(0x33d)](this);return _0x2ad70f[_0x5b3dc7(0x295)]=this[_0x5b3dc7(0x295)][_0x5b3dc7(0x238)](),_0x2ad70f;},'_minBufferSize':0x0});_0x13fd13[_0x381d70(0x162)]=_0x31e191[_0x381d70(0x10c)]({'cfg':_0x5abe1d['extend'](),'init':function(_0x28a523){var _0x4296db=_0x381d70;this[_0x4296db(0x21b)]=this[_0x4296db(0x21b)][_0x4296db(0x10c)](_0x28a523),this[_0x4296db(0x197)]();},'reset':function(){var _0x4977a0=_0x381d70;_0x31e191['reset']['call'](this),this[_0x4977a0(0x15e)]();},'update':function(_0x18fc41){var _0x181c5b=_0x381d70;return this[_0x181c5b(0x32f)](_0x18fc41),this[_0x181c5b(0x169)](),this;},'finalize':function(_0x4416b7){var _0x4f926e=_0x381d70;_0x4416b7&&this[_0x4f926e(0x32f)](_0x4416b7);var _0x46e6f2=this[_0x4f926e(0x3a5)]();return _0x46e6f2;},'blockSize':0x10,'_createHelper':function(_0x4b5843){return function(_0x465189,_0x4faf49){var _0x4d12e3=_0x2e51;return new _0x4b5843[(_0x4d12e3(0x3df))](_0x4faf49)['finalize'](_0x465189);};},'_createHmacHelper':function(_0x35a405){return function(_0x55adf3,_0x43c3da){var _0x293491=_0x2e51;return new _0x5ca534[(_0x293491(0x331))][(_0x293491(0x3df))](_0x35a405,_0x43c3da)[_0x293491(0x1ee)](_0x55adf3);};}});var _0x5ca534=_0x31eb2e[_0x381d70(0x181)]={};return _0x31eb2e;}(Math);return _0xcf6679;}));}(Ge)),Ge[_0x4e3ceb(0x345)];}var We={'exports':{}},ln=We['exports'],qt;function Ni(){var _0xe7c201=_0x297613;return qt||(qt=0x1,function(_0x1f7be5,_0x2515f8){(function(_0x3eb58e,_0x1e8291){var _0x543796=_0x2e51;_0x1f7be5[_0x543796(0x345)]=_0x1e8291(ie());}(ln,function(_0x5caeba){var _0x279c35=_0x2e51;return(function(){var _0x27dfb7=_0x2e51,_0x47eaf1=_0x5caeba,_0x27ff17=_0x47eaf1['lib'],_0x138e2c=_0x27ff17[_0x27dfb7(0x263)],_0x141fca=_0x47eaf1[_0x27dfb7(0x406)];_0x141fca[_0x27dfb7(0x141)]={'stringify':function(_0x4578c7){var _0x2ed389=_0x27dfb7,_0x5f2b92=_0x4578c7[_0x2ed389(0x3fc)],_0x294870=_0x4578c7[_0x2ed389(0x326)],_0x5d460b=this['_map'];_0x4578c7[_0x2ed389(0x1eb)]();for(var _0xcbf7c8=[],_0x56cfb7=0x0;_0x56cfb7<_0x294870;_0x56cfb7+=0x3)for(var _0x288aa1=_0x5f2b92[_0x56cfb7>>>0x2]>>>0x18-_0x56cfb7%0x4*0x8&0xff,_0x106cc2=_0x5f2b92[_0x56cfb7+0x1>>>0x2]>>>0x18-(_0x56cfb7+0x1)%0x4*0x8&0xff,_0x44b808=_0x5f2b92[_0x56cfb7+0x2>>>0x2]>>>0x18-(_0x56cfb7+0x2)%0x4*0x8&0xff,_0x2996b3=_0x288aa1<<0x10|_0x106cc2<<0x8|_0x44b808,_0x1490ec=0x0;_0x1490ec<0x4&&_0x56cfb7+_0x1490ec*0.75<_0x294870;_0x1490ec++)_0xcbf7c8[_0x2ed389(0x180)](_0x5d460b[_0x2ed389(0x18c)](_0x2996b3>>>0x6*(0x3-_0x1490ec)&0x3f));var _0xd0f322=_0x5d460b['charAt'](0x40);if(_0xd0f322){for(;_0xcbf7c8[_0x2ed389(0x151)]%0x4;)_0xcbf7c8[_0x2ed389(0x180)](_0xd0f322);}return _0xcbf7c8[_0x2ed389(0x398)]('');},'parse':function(_0x2d8657){var _0x5806a7=_0x27dfb7,_0x21ec22=_0x2d8657['length'],_0x198947=this[_0x5806a7(0x37f)],_0x1c8fb6=this[_0x5806a7(0x179)];if(!_0x1c8fb6){_0x1c8fb6=this[_0x5806a7(0x179)]=[];for(var _0x1cbcb5=0x0;_0x1cbcb5<_0x198947[_0x5806a7(0x151)];_0x1cbcb5++)_0x1c8fb6[_0x198947[_0x5806a7(0x1e6)](_0x1cbcb5)]=_0x1cbcb5;}var _0x2548a7=_0x198947[_0x5806a7(0x18c)](0x40);if(_0x2548a7){var _0x1f9e91=_0x2d8657[_0x5806a7(0xf8)](_0x2548a7);_0x1f9e91!==-0x1&&(_0x21ec22=_0x1f9e91);}return _0xf57f01(_0x2d8657,_0x21ec22,_0x1c8fb6);},'_map':_0x27dfb7(0x404)};function _0xf57f01(_0x410966,_0x4ba538,_0x13bb1f){var _0x14ab34=_0x27dfb7;for(var _0xc9e7d2=[],_0x259ee7=0x0,_0x90eae7=0x0;_0x90eae7<_0x4ba538;_0x90eae7++)if(_0x90eae7%0x4){var _0x427467=_0x13bb1f[_0x410966[_0x14ab34(0x1e6)](_0x90eae7-0x1)]<<_0x90eae7%0x4*0x2,_0x3fb69e=_0x13bb1f[_0x410966[_0x14ab34(0x1e6)](_0x90eae7)]>>>0x6-_0x90eae7%0x4*0x2,_0x1f1eb9=_0x427467|_0x3fb69e;_0xc9e7d2[_0x259ee7>>>0x2]|=_0x1f1eb9<<0x18-_0x259ee7%0x4*0x8,_0x259ee7++;}return _0x138e2c[_0x14ab34(0x1df)](_0xc9e7d2,_0x259ee7);}}()),_0x5caeba[_0x279c35(0x406)][_0x279c35(0x141)];}));}(We)),We[_0xe7c201(0x345)];}var Ye={'exports':{}},un=Ye[_0x297613(0x345)],zt;function dn(){var _0x177cf3=_0x297613;return zt||(zt=0x1,function(_0x5ad264,_0x4f8f85){(function(_0x1c75bb,_0xaf52e4){_0x5ad264['exports']=_0xaf52e4(ie());}(un,function(_0x10e94c){var _0x3957d7=_0x2e51;return function(_0x374858){var _0x47b233=_0x2e51,_0x5811ae=_0x10e94c,_0x30cf3a=_0x5811ae[_0x47b233(0x26a)],_0x175730=_0x30cf3a['WordArray'],_0x66e62e=_0x30cf3a['Hasher'],_0x4083b6=_0x5811ae[_0x47b233(0x181)],_0x55b263=[];(function(){var _0x5c43b7=_0x47b233;for(var _0xf289d=0x0;_0xf289d<0x40;_0xf289d++)_0x55b263[_0xf289d]=_0x374858[_0x5c43b7(0x36f)](_0x374858['sin'](_0xf289d+0x1))*0x100000000|0x0;}());var _0x2c79aa=_0x4083b6[_0x47b233(0x209)]=_0x66e62e['extend']({'_doReset':function(){this['_hash']=new _0x175730['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x59af03,_0x41b350){var _0x4880b9=_0x47b233;for(var _0x2e74f8=0x0;_0x2e74f8<0x10;_0x2e74f8++){var _0x507f81=_0x41b350+_0x2e74f8,_0x168681=_0x59af03[_0x507f81];_0x59af03[_0x507f81]=(_0x168681<<0x8|_0x168681>>>0x18)&0xff00ff|(_0x168681<<0x18|_0x168681>>>0x8)&0xff00ff00;}var _0x6401b2=this[_0x4880b9(0x2cd)][_0x4880b9(0x3fc)],_0x49a4ac=_0x59af03[_0x41b350+0x0],_0xcb6ac7=_0x59af03[_0x41b350+0x1],_0x1c5ca8=_0x59af03[_0x41b350+0x2],_0x554b09=_0x59af03[_0x41b350+0x3],_0x4a0529=_0x59af03[_0x41b350+0x4],_0xe7ec8c=_0x59af03[_0x41b350+0x5],_0x97011e=_0x59af03[_0x41b350+0x6],_0x316349=_0x59af03[_0x41b350+0x7],_0x271951=_0x59af03[_0x41b350+0x8],_0x700a03=_0x59af03[_0x41b350+0x9],_0x538ca4=_0x59af03[_0x41b350+0xa],_0x4c2cf9=_0x59af03[_0x41b350+0xb],_0x3b1dfe=_0x59af03[_0x41b350+0xc],_0x303aa5=_0x59af03[_0x41b350+0xd],_0x1bd2a7=_0x59af03[_0x41b350+0xe],_0x1c6084=_0x59af03[_0x41b350+0xf],_0xcd2f45=_0x6401b2[0x0],_0xe41aa=_0x6401b2[0x1],_0x283004=_0x6401b2[0x2],_0x5e55b8=_0x6401b2[0x3];_0xcd2f45=_0x333fd3(_0xcd2f45,_0xe41aa,_0x283004,_0x5e55b8,_0x49a4ac,0x7,_0x55b263[0x0]),_0x5e55b8=_0x333fd3(_0x5e55b8,_0xcd2f45,_0xe41aa,_0x283004,_0xcb6ac7,0xc,_0x55b263[0x1]),_0x283004=_0x333fd3(_0x283004,_0x5e55b8,_0xcd2f45,_0xe41aa,_0x1c5ca8,0x11,_0x55b263[0x2]),_0xe41aa=_0x333fd3(_0xe41aa,_0x283004,_0x5e55b8,_0xcd2f45,_0x554b09,0x16,_0x55b263[0x3]),_0xcd2f45=_0x333fd3(_0xcd2f45,_0xe41aa,_0x283004,_0x5e55b8,_0x4a0529,0x7,_0x55b263[0x4]),_0x5e55b8=_0x333fd3(_0x5e55b8,_0xcd2f45,_0xe41aa,_0x283004,_0xe7ec8c,0xc,_0x55b263[0x5]),_0x283004=_0x333fd3(_0x283004,_0x5e55b8,_0xcd2f45,_0xe41aa,_0x97011e,0x11,_0x55b263[0x6]),_0xe41aa=_0x333fd3(_0xe41aa,_0x283004,_0x5e55b8,_0xcd2f45,_0x316349,0x16,_0x55b263[0x7]),_0xcd2f45=_0x333fd3(_0xcd2f45,_0xe41aa,_0x283004,_0x5e55b8,_0x271951,0x7,_0x55b263[0x8]),_0x5e55b8=_0x333fd3(_0x5e55b8,_0xcd2f45,_0xe41aa,_0x283004,_0x700a03,0xc,_0x55b263[0x9]),_0x283004=_0x333fd3(_0x283004,_0x5e55b8,_0xcd2f45,_0xe41aa,_0x538ca4,0x11,_0x55b263[0xa]),_0xe41aa=_0x333fd3(_0xe41aa,_0x283004,_0x5e55b8,_0xcd2f45,_0x4c2cf9,0x16,_0x55b263[0xb]),_0xcd2f45=_0x333fd3(_0xcd2f45,_0xe41aa,_0x283004,_0x5e55b8,_0x3b1dfe,0x7,_0x55b263[0xc]),_0x5e55b8=_0x333fd3(_0x5e55b8,_0xcd2f45,_0xe41aa,_0x283004,_0x303aa5,0xc,_0x55b263[0xd]),_0x283004=_0x333fd3(_0x283004,_0x5e55b8,_0xcd2f45,_0xe41aa,_0x1bd2a7,0x11,_0x55b263[0xe]),_0xe41aa=_0x333fd3(_0xe41aa,_0x283004,_0x5e55b8,_0xcd2f45,_0x1c6084,0x16,_0x55b263[0xf]),_0xcd2f45=_0x526163(_0xcd2f45,_0xe41aa,_0x283004,_0x5e55b8,_0xcb6ac7,0x5,_0x55b263[0x10]),_0x5e55b8=_0x526163(_0x5e55b8,_0xcd2f45,_0xe41aa,_0x283004,_0x97011e,0x9,_0x55b263[0x11]),_0x283004=_0x526163(_0x283004,_0x5e55b8,_0xcd2f45,_0xe41aa,_0x4c2cf9,0xe,_0x55b263[0x12]),_0xe41aa=_0x526163(_0xe41aa,_0x283004,_0x5e55b8,_0xcd2f45,_0x49a4ac,0x14,_0x55b263[0x13]),_0xcd2f45=_0x526163(_0xcd2f45,_0xe41aa,_0x283004,_0x5e55b8,_0xe7ec8c,0x5,_0x55b263[0x14]),_0x5e55b8=_0x526163(_0x5e55b8,_0xcd2f45,_0xe41aa,_0x283004,_0x538ca4,0x9,_0x55b263[0x15]),_0x283004=_0x526163(_0x283004,_0x5e55b8,_0xcd2f45,_0xe41aa,_0x1c6084,0xe,_0x55b263[0x16]),_0xe41aa=_0x526163(_0xe41aa,_0x283004,_0x5e55b8,_0xcd2f45,_0x4a0529,0x14,_0x55b263[0x17]),_0xcd2f45=_0x526163(_0xcd2f45,_0xe41aa,_0x283004,_0x5e55b8,_0x700a03,0x5,_0x55b263[0x18]),_0x5e55b8=_0x526163(_0x5e55b8,_0xcd2f45,_0xe41aa,_0x283004,_0x1bd2a7,0x9,_0x55b263[0x19]),_0x283004=_0x526163(_0x283004,_0x5e55b8,_0xcd2f45,_0xe41aa,_0x554b09,0xe,_0x55b263[0x1a]),_0xe41aa=_0x526163(_0xe41aa,_0x283004,_0x5e55b8,_0xcd2f45,_0x271951,0x14,_0x55b263[0x1b]),_0xcd2f45=_0x526163(_0xcd2f45,_0xe41aa,_0x283004,_0x5e55b8,_0x303aa5,0x5,_0x55b263[0x1c]),_0x5e55b8=_0x526163(_0x5e55b8,_0xcd2f45,_0xe41aa,_0x283004,_0x1c5ca8,0x9,_0x55b263[0x1d]),_0x283004=_0x526163(_0x283004,_0x5e55b8,_0xcd2f45,_0xe41aa,_0x316349,0xe,_0x55b263[0x1e]),_0xe41aa=_0x526163(_0xe41aa,_0x283004,_0x5e55b8,_0xcd2f45,_0x3b1dfe,0x14,_0x55b263[0x1f]),_0xcd2f45=_0x5c3f05(_0xcd2f45,_0xe41aa,_0x283004,_0x5e55b8,_0xe7ec8c,0x4,_0x55b263[0x20]),_0x5e55b8=_0x5c3f05(_0x5e55b8,_0xcd2f45,_0xe41aa,_0x283004,_0x271951,0xb,_0x55b263[0x21]),_0x283004=_0x5c3f05(_0x283004,_0x5e55b8,_0xcd2f45,_0xe41aa,_0x4c2cf9,0x10,_0x55b263[0x22]),_0xe41aa=_0x5c3f05(_0xe41aa,_0x283004,_0x5e55b8,_0xcd2f45,_0x1bd2a7,0x17,_0x55b263[0x23]),_0xcd2f45=_0x5c3f05(_0xcd2f45,_0xe41aa,_0x283004,_0x5e55b8,_0xcb6ac7,0x4,_0x55b263[0x24]),_0x5e55b8=_0x5c3f05(_0x5e55b8,_0xcd2f45,_0xe41aa,_0x283004,_0x4a0529,0xb,_0x55b263[0x25]),_0x283004=_0x5c3f05(_0x283004,_0x5e55b8,_0xcd2f45,_0xe41aa,_0x316349,0x10,_0x55b263[0x26]),_0xe41aa=_0x5c3f05(_0xe41aa,_0x283004,_0x5e55b8,_0xcd2f45,_0x538ca4,0x17,_0x55b263[0x27]),_0xcd2f45=_0x5c3f05(_0xcd2f45,_0xe41aa,_0x283004,_0x5e55b8,_0x303aa5,0x4,_0x55b263[0x28]),_0x5e55b8=_0x5c3f05(_0x5e55b8,_0xcd2f45,_0xe41aa,_0x283004,_0x49a4ac,0xb,_0x55b263[0x29]),_0x283004=_0x5c3f05(_0x283004,_0x5e55b8,_0xcd2f45,_0xe41aa,_0x554b09,0x10,_0x55b263[0x2a]),_0xe41aa=_0x5c3f05(_0xe41aa,_0x283004,_0x5e55b8,_0xcd2f45,_0x97011e,0x17,_0x55b263[0x2b]),_0xcd2f45=_0x5c3f05(_0xcd2f45,_0xe41aa,_0x283004,_0x5e55b8,_0x700a03,0x4,_0x55b263[0x2c]),_0x5e55b8=_0x5c3f05(_0x5e55b8,_0xcd2f45,_0xe41aa,_0x283004,_0x3b1dfe,0xb,_0x55b263[0x2d]),_0x283004=_0x5c3f05(_0x283004,_0x5e55b8,_0xcd2f45,_0xe41aa,_0x1c6084,0x10,_0x55b263[0x2e]),_0xe41aa=_0x5c3f05(_0xe41aa,_0x283004,_0x5e55b8,_0xcd2f45,_0x1c5ca8,0x17,_0x55b263[0x2f]),_0xcd2f45=_0x32682f(_0xcd2f45,_0xe41aa,_0x283004,_0x5e55b8,_0x49a4ac,0x6,_0x55b263[0x30]),_0x5e55b8=_0x32682f(_0x5e55b8,_0xcd2f45,_0xe41aa,_0x283004,_0x316349,0xa,_0x55b263[0x31]),_0x283004=_0x32682f(_0x283004,_0x5e55b8,_0xcd2f45,_0xe41aa,_0x1bd2a7,0xf,_0x55b263[0x32]),_0xe41aa=_0x32682f(_0xe41aa,_0x283004,_0x5e55b8,_0xcd2f45,_0xe7ec8c,0x15,_0x55b263[0x33]),_0xcd2f45=_0x32682f(_0xcd2f45,_0xe41aa,_0x283004,_0x5e55b8,_0x3b1dfe,0x6,_0x55b263[0x34]),_0x5e55b8=_0x32682f(_0x5e55b8,_0xcd2f45,_0xe41aa,_0x283004,_0x554b09,0xa,_0x55b263[0x35]),_0x283004=_0x32682f(_0x283004,_0x5e55b8,_0xcd2f45,_0xe41aa,_0x538ca4,0xf,_0x55b263[0x36]),_0xe41aa=_0x32682f(_0xe41aa,_0x283004,_0x5e55b8,_0xcd2f45,_0xcb6ac7,0x15,_0x55b263[0x37]),_0xcd2f45=_0x32682f(_0xcd2f45,_0xe41aa,_0x283004,_0x5e55b8,_0x271951,0x6,_0x55b263[0x38]),_0x5e55b8=_0x32682f(_0x5e55b8,_0xcd2f45,_0xe41aa,_0x283004,_0x1c6084,0xa,_0x55b263[0x39]),_0x283004=_0x32682f(_0x283004,_0x5e55b8,_0xcd2f45,_0xe41aa,_0x97011e,0xf,_0x55b263[0x3a]),_0xe41aa=_0x32682f(_0xe41aa,_0x283004,_0x5e55b8,_0xcd2f45,_0x303aa5,0x15,_0x55b263[0x3b]),_0xcd2f45=_0x32682f(_0xcd2f45,_0xe41aa,_0x283004,_0x5e55b8,_0x4a0529,0x6,_0x55b263[0x3c]),_0x5e55b8=_0x32682f(_0x5e55b8,_0xcd2f45,_0xe41aa,_0x283004,_0x4c2cf9,0xa,_0x55b263[0x3d]),_0x283004=_0x32682f(_0x283004,_0x5e55b8,_0xcd2f45,_0xe41aa,_0x1c5ca8,0xf,_0x55b263[0x3e]),_0xe41aa=_0x32682f(_0xe41aa,_0x283004,_0x5e55b8,_0xcd2f45,_0x700a03,0x15,_0x55b263[0x3f]),_0x6401b2[0x0]=_0x6401b2[0x0]+_0xcd2f45|0x0,_0x6401b2[0x1]=_0x6401b2[0x1]+_0xe41aa|0x0,_0x6401b2[0x2]=_0x6401b2[0x2]+_0x283004|0x0,_0x6401b2[0x3]=_0x6401b2[0x3]+_0x5e55b8|0x0;},'_doFinalize':function(){var _0x3ceb8a=_0x47b233,_0x1aed2d=this[_0x3ceb8a(0x295)],_0x1080a8=_0x1aed2d[_0x3ceb8a(0x3fc)],_0xbcf1dd=this[_0x3ceb8a(0x1c1)]*0x8,_0x351e4e=_0x1aed2d[_0x3ceb8a(0x326)]*0x8;_0x1080a8[_0x351e4e>>>0x5]|=0x80<<0x18-_0x351e4e%0x20;var _0x4ad994=_0x374858[_0x3ceb8a(0xfa)](_0xbcf1dd/0x100000000),_0x1c3ec4=_0xbcf1dd;_0x1080a8[(_0x351e4e+0x40>>>0x9<<0x4)+0xf]=(_0x4ad994<<0x8|_0x4ad994>>>0x18)&0xff00ff|(_0x4ad994<<0x18|_0x4ad994>>>0x8)&0xff00ff00,_0x1080a8[(_0x351e4e+0x40>>>0x9<<0x4)+0xe]=(_0x1c3ec4<<0x8|_0x1c3ec4>>>0x18)&0xff00ff|(_0x1c3ec4<<0x18|_0x1c3ec4>>>0x8)&0xff00ff00,_0x1aed2d[_0x3ceb8a(0x326)]=(_0x1080a8[_0x3ceb8a(0x151)]+0x1)*0x4,this[_0x3ceb8a(0x169)]();for(var _0x33dd97=this[_0x3ceb8a(0x2cd)],_0x30f128=_0x33dd97['words'],_0x23656f=0x0;_0x23656f<0x4;_0x23656f++){var _0x163d04=_0x30f128[_0x23656f];_0x30f128[_0x23656f]=(_0x163d04<<0x8|_0x163d04>>>0x18)&0xff00ff|(_0x163d04<<0x18|_0x163d04>>>0x8)&0xff00ff00;}return _0x33dd97;},'clone':function(){var _0x26e114=_0x47b233,_0x361eb9=_0x66e62e[_0x26e114(0x238)][_0x26e114(0x33d)](this);return _0x361eb9[_0x26e114(0x2cd)]=this[_0x26e114(0x2cd)][_0x26e114(0x238)](),_0x361eb9;}});function _0x333fd3(_0x47fdef,_0x899b23,_0x37fffa,_0x1dbfd9,_0x3d5f64,_0x13d925,_0x44333b){var _0x4f9426=_0x47fdef+(_0x899b23&_0x37fffa|~_0x899b23&_0x1dbfd9)+_0x3d5f64+_0x44333b;return(_0x4f9426<<_0x13d925|_0x4f9426>>>0x20-_0x13d925)+_0x899b23;}function _0x526163(_0x36e1c3,_0x1bbf69,_0x2536dc,_0x553286,_0x7d5d68,_0x171a46,_0x1bb50c){var _0x42fd08=_0x36e1c3+(_0x1bbf69&_0x553286|_0x2536dc&~_0x553286)+_0x7d5d68+_0x1bb50c;return(_0x42fd08<<_0x171a46|_0x42fd08>>>0x20-_0x171a46)+_0x1bbf69;}function _0x5c3f05(_0x4a6b07,_0x4ea583,_0x53564e,_0x3af81e,_0x42f32c,_0x445aec,_0xd54d04){var _0x3d33d7=_0x4a6b07+(_0x4ea583^_0x53564e^_0x3af81e)+_0x42f32c+_0xd54d04;return(_0x3d33d7<<_0x445aec|_0x3d33d7>>>0x20-_0x445aec)+_0x4ea583;}function _0x32682f(_0xa6870e,_0x19ad11,_0x1224f9,_0xe2667c,_0xfc61d0,_0x114f7f,_0x2483ec){var _0x2e8f64=_0xa6870e+(_0x1224f9^(_0x19ad11|~_0xe2667c))+_0xfc61d0+_0x2483ec;return(_0x2e8f64<<_0x114f7f|_0x2e8f64>>>0x20-_0x114f7f)+_0x19ad11;}_0x5811ae[_0x47b233(0x209)]=_0x66e62e[_0x47b233(0x3f3)](_0x2c79aa),_0x5811ae[_0x47b233(0x3b4)]=_0x66e62e[_0x47b233(0x111)](_0x2c79aa);}(Math),_0x10e94c[_0x3957d7(0x209)];}));}(Ye)),Ye[_0x177cf3(0x345)];}var Ke={'exports':{}},qe={'exports':{}},fn=qe['exports'],Xt;function vn(){var _0x35373c=_0x297613;return Xt||(Xt=0x1,function(_0x1dc9fd,_0x1277a9){(function(_0x3bd6ef,_0x5a9f2e){var _0x16a2c5=_0x2e51;_0x1dc9fd[_0x16a2c5(0x345)]=_0x5a9f2e(ie());}(fn,function(_0x2f137f){var _0x14bf9c=_0x2e51;return(function(){var _0x7fcd94=_0x2e51,_0x1d0615=_0x2f137f,_0x587fdd=_0x1d0615[_0x7fcd94(0x26a)],_0x16e0e2=_0x587fdd[_0x7fcd94(0x263)],_0x3b62ba=_0x587fdd[_0x7fcd94(0x162)],_0x311a60=_0x1d0615[_0x7fcd94(0x181)],_0xfa5e3d=[],_0xdbddce=_0x311a60[_0x7fcd94(0x3fe)]=_0x3b62ba[_0x7fcd94(0x10c)]({'_doReset':function(){var _0x54c75b=_0x7fcd94;this[_0x54c75b(0x2cd)]=new _0x16e0e2[(_0x54c75b(0x3df))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5120f6,_0x4f5951){var _0x17fd96=_0x7fcd94;for(var _0x5e82aa=this[_0x17fd96(0x2cd)][_0x17fd96(0x3fc)],_0x7d3abb=_0x5e82aa[0x0],_0x290892=_0x5e82aa[0x1],_0x5ba567=_0x5e82aa[0x2],_0x6f6af1=_0x5e82aa[0x3],_0x45d0f6=_0x5e82aa[0x4],_0x2b2155=0x0;_0x2b2155<0x50;_0x2b2155++){if(_0x2b2155<0x10)_0xfa5e3d[_0x2b2155]=_0x5120f6[_0x4f5951+_0x2b2155]|0x0;else{var _0x43467a=_0xfa5e3d[_0x2b2155-0x3]^_0xfa5e3d[_0x2b2155-0x8]^_0xfa5e3d[_0x2b2155-0xe]^_0xfa5e3d[_0x2b2155-0x10];_0xfa5e3d[_0x2b2155]=_0x43467a<<0x1|_0x43467a>>>0x1f;}var _0x327e28=(_0x7d3abb<<0x5|_0x7d3abb>>>0x1b)+_0x45d0f6+_0xfa5e3d[_0x2b2155];_0x2b2155<0x14?_0x327e28+=(_0x290892&_0x5ba567|~_0x290892&_0x6f6af1)+0x5a827999:_0x2b2155<0x28?_0x327e28+=(_0x290892^_0x5ba567^_0x6f6af1)+0x6ed9eba1:_0x2b2155<0x3c?_0x327e28+=(_0x290892&_0x5ba567|_0x290892&_0x6f6af1|_0x5ba567&_0x6f6af1)-0x70e44324:_0x327e28+=(_0x290892^_0x5ba567^_0x6f6af1)-0x359d3e2a,_0x45d0f6=_0x6f6af1,_0x6f6af1=_0x5ba567,_0x5ba567=_0x290892<<0x1e|_0x290892>>>0x2,_0x290892=_0x7d3abb,_0x7d3abb=_0x327e28;}_0x5e82aa[0x0]=_0x5e82aa[0x0]+_0x7d3abb|0x0,_0x5e82aa[0x1]=_0x5e82aa[0x1]+_0x290892|0x0,_0x5e82aa[0x2]=_0x5e82aa[0x2]+_0x5ba567|0x0,_0x5e82aa[0x3]=_0x5e82aa[0x3]+_0x6f6af1|0x0,_0x5e82aa[0x4]=_0x5e82aa[0x4]+_0x45d0f6|0x0;},'_doFinalize':function(){var _0x4cef66=_0x7fcd94,_0xdbd5cc=this[_0x4cef66(0x295)],_0x592424=_0xdbd5cc[_0x4cef66(0x3fc)],_0xe2b3db=this[_0x4cef66(0x1c1)]*0x8,_0x49fd27=_0xdbd5cc[_0x4cef66(0x326)]*0x8;return _0x592424[_0x49fd27>>>0x5]|=0x80<<0x18-_0x49fd27%0x20,_0x592424[(_0x49fd27+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0xe2b3db/0x100000000),_0x592424[(_0x49fd27+0x40>>>0x9<<0x4)+0xf]=_0xe2b3db,_0xdbd5cc['sigBytes']=_0x592424['length']*0x4,this[_0x4cef66(0x169)](),this['_hash'];},'clone':function(){var _0x456c3d=_0x7fcd94,_0x2c587c=_0x3b62ba[_0x456c3d(0x238)]['call'](this);return _0x2c587c[_0x456c3d(0x2cd)]=this['_hash'][_0x456c3d(0x238)](),_0x2c587c;}});_0x1d0615[_0x7fcd94(0x3fe)]=_0x3b62ba['_createHelper'](_0xdbddce),_0x1d0615[_0x7fcd94(0x3d3)]=_0x3b62ba[_0x7fcd94(0x111)](_0xdbddce);}()),_0x2f137f[_0x14bf9c(0x3fe)];}));}(qe)),qe[_0x35373c(0x345)];}var ze={'exports':{}},En=ze[_0x297613(0x345)],Jt;function pn(){return Jt||(Jt=0x1,function(_0x1c600a,_0x663523){(function(_0x9d6c0a,_0x4de096){var _0x975750=_0x2e51;_0x1c600a[_0x975750(0x345)]=_0x4de096(ie());}(En,function(_0xb88c14){(function(){var _0xb1230e=_0x2e51,_0x422877=_0xb88c14,_0x4526e7=_0x422877['lib'],_0x45809b=_0x4526e7[_0xb1230e(0x3b0)],_0x9b11c6=_0x422877[_0xb1230e(0x406)],_0x19304d=_0x9b11c6[_0xb1230e(0x2dc)],_0x343c8f=_0x422877[_0xb1230e(0x181)];_0x343c8f[_0xb1230e(0x331)]=_0x45809b[_0xb1230e(0x10c)]({'init':function(_0x433ec9,_0x39b62f){var _0xf71770=_0xb1230e;_0x433ec9=this[_0xf71770(0x1fa)]=new _0x433ec9[(_0xf71770(0x3df))](),typeof _0x39b62f==_0xf71770(0x2de)&&(_0x39b62f=_0x19304d['parse'](_0x39b62f));var _0x503cbc=_0x433ec9[_0xf71770(0x22b)],_0xd43fbf=_0x503cbc*0x4;_0x39b62f['sigBytes']>_0xd43fbf&&(_0x39b62f=_0x433ec9[_0xf71770(0x1ee)](_0x39b62f)),_0x39b62f[_0xf71770(0x1eb)]();for(var _0x26dc32=this[_0xf71770(0x313)]=_0x39b62f[_0xf71770(0x238)](),_0x801b76=this[_0xf71770(0x30b)]=_0x39b62f['clone'](),_0x209b5a=_0x26dc32[_0xf71770(0x3fc)],_0x1f0ab2=_0x801b76['words'],_0x124ed3=0x0;_0x124ed3<_0x503cbc;_0x124ed3++)_0x209b5a[_0x124ed3]^=0x5c5c5c5c,_0x1f0ab2[_0x124ed3]^=0x36363636;_0x26dc32['sigBytes']=_0x801b76['sigBytes']=_0xd43fbf,this[_0xf71770(0x197)]();},'reset':function(){var _0x5c2152=_0xb1230e,_0x2e61f8=this[_0x5c2152(0x1fa)];_0x2e61f8[_0x5c2152(0x197)](),_0x2e61f8[_0x5c2152(0x222)](this[_0x5c2152(0x30b)]);},'update':function(_0x4ad1c7){var _0x4bd689=_0xb1230e;return this[_0x4bd689(0x1fa)][_0x4bd689(0x222)](_0x4ad1c7),this;},'finalize':function(_0x36d357){var _0x3dff59=_0xb1230e,_0x4e6d75=this[_0x3dff59(0x1fa)],_0x354018=_0x4e6d75[_0x3dff59(0x1ee)](_0x36d357);_0x4e6d75['reset']();var _0x4f5d2c=_0x4e6d75['finalize'](this['_oKey']['clone']()[_0x3dff59(0x182)](_0x354018));return _0x4f5d2c;}});}());}));}(ze)),ze['exports'];}var mn=Ke[_0x297613(0x345)],Zt;function Ci(){var _0x59451e=_0x297613;return Zt||(Zt=0x1,function(_0x544ddd,_0x365916){(function(_0x3f69f1,_0x1a73ca,_0x5d5383){var _0x1159fe=_0x2e51;_0x544ddd[_0x1159fe(0x345)]=_0x1a73ca(ie(),vn(),pn());}(mn,function(_0x37f66d){return(function(){var _0xccab0b=_0x2e51,_0x3eb2e6=_0x37f66d,_0x17a376=_0x3eb2e6[_0xccab0b(0x26a)],_0x519086=_0x17a376[_0xccab0b(0x3b0)],_0x4455b2=_0x17a376[_0xccab0b(0x263)],_0x1865e0=_0x3eb2e6[_0xccab0b(0x181)],_0x2ca6e0=_0x1865e0[_0xccab0b(0x209)],_0x3ea357=_0x1865e0[_0xccab0b(0x31a)]=_0x519086['extend']({'cfg':_0x519086['extend']({'keySize':0x80/0x20,'hasher':_0x2ca6e0,'iterations':0x1}),'init':function(_0x36ccbb){var _0x3eadbe=_0xccab0b;this[_0x3eadbe(0x21b)]=this[_0x3eadbe(0x21b)][_0x3eadbe(0x10c)](_0x36ccbb);},'compute':function(_0x237c1e,_0xa47994){var _0x1f0293=_0xccab0b;for(var _0xaa3abc,_0x5c9511=this[_0x1f0293(0x21b)],_0x3d1eb5=_0x5c9511[_0x1f0293(0x1d6)][_0x1f0293(0x1df)](),_0x36d278=_0x4455b2[_0x1f0293(0x1df)](),_0x5b9618=_0x36d278[_0x1f0293(0x3fc)],_0xabe00f=_0x5c9511['keySize'],_0x41b1ba=_0x5c9511[_0x1f0293(0x1a4)];_0x5b9618[_0x1f0293(0x151)]<_0xabe00f;){_0xaa3abc&&_0x3d1eb5['update'](_0xaa3abc),_0xaa3abc=_0x3d1eb5['update'](_0x237c1e)['finalize'](_0xa47994),_0x3d1eb5[_0x1f0293(0x197)]();for(var _0x32eb06=0x1;_0x32eb06<_0x41b1ba;_0x32eb06++)_0xaa3abc=_0x3d1eb5[_0x1f0293(0x1ee)](_0xaa3abc),_0x3d1eb5[_0x1f0293(0x197)]();_0x36d278['concat'](_0xaa3abc);}return _0x36d278['sigBytes']=_0xabe00f*0x4,_0x36d278;}});_0x3eb2e6[_0xccab0b(0x31a)]=function(_0x1b4a9a,_0x4dd32d,_0x3d0bce){var _0x21ecab=_0xccab0b;return _0x3ea357[_0x21ecab(0x1df)](_0x3d0bce)[_0x21ecab(0x23a)](_0x1b4a9a,_0x4dd32d);};}()),_0x37f66d['EvpKDF'];}));}(Ke)),Ke[_0x59451e(0x345)];}var Xe={'exports':{}},In=Xe['exports'],Qt;function bi(){return Qt||(Qt=0x1,function(_0x5d9d8e,_0x2e34e3){(function(_0x59a778,_0x238270,_0x2db6a0){var _0x455b2a=_0x2e51;_0x5d9d8e[_0x455b2a(0x345)]=_0x238270(ie(),Ci());}(In,function(_0x303d61){var _0xc7d5f8=_0x2e51;_0x303d61[_0xc7d5f8(0x26a)][_0xc7d5f8(0x1e5)]||function(_0x574bdf){var _0x455a0c=_0xc7d5f8,_0x533f71=_0x303d61,_0x57e470=_0x533f71['lib'],_0xe9b76b=_0x57e470['Base'],_0x1c0b51=_0x57e470[_0x455a0c(0x263)],_0x59b4b0=_0x57e470[_0x455a0c(0x3cb)],_0x275044=_0x533f71[_0x455a0c(0x406)];_0x275044[_0x455a0c(0x2dc)];var _0x532433=_0x275044[_0x455a0c(0x141)],_0x31701b=_0x533f71[_0x455a0c(0x181)],_0x4eb8e8=_0x31701b[_0x455a0c(0x31a)],_0x1766b6=_0x57e470[_0x455a0c(0x1e5)]=_0x59b4b0[_0x455a0c(0x10c)]({'cfg':_0xe9b76b[_0x455a0c(0x10c)](),'createEncryptor':function(_0x506e9c,_0x3b5836){var _0x1e8908=_0x455a0c;return this['create'](this[_0x1e8908(0x2b0)],_0x506e9c,_0x3b5836);},'createDecryptor':function(_0x546854,_0x5ebdef){var _0x3b6c49=_0x455a0c;return this[_0x3b6c49(0x1df)](this[_0x3b6c49(0x26c)],_0x546854,_0x5ebdef);},'init':function(_0x9717db,_0x37408f,_0x111731){var _0x2c4677=_0x455a0c;this['cfg']=this[_0x2c4677(0x21b)]['extend'](_0x111731),this[_0x2c4677(0xf4)]=_0x9717db,this['_key']=_0x37408f,this[_0x2c4677(0x197)]();},'reset':function(){var _0x2b1f69=_0x455a0c;_0x59b4b0[_0x2b1f69(0x197)]['call'](this),this[_0x2b1f69(0x15e)]();},'process':function(_0xda9d36){var _0x518aff=_0x455a0c;return this[_0x518aff(0x32f)](_0xda9d36),this[_0x518aff(0x169)]();},'finalize':function(_0x47c741){var _0x2a8354=_0x455a0c;_0x47c741&&this[_0x2a8354(0x32f)](_0x47c741);var _0x5c4bf8=this[_0x2a8354(0x3a5)]();return _0x5c4bf8;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x34583c(_0x3247bf){return typeof _0x3247bf=='string'?_0x266d23:_0x3b4c7f;}return function(_0x366d75){return{'encrypt':function(_0x9dcfe5,_0x3dfe60,_0x35ad9f){var _0x41ae05=_0x2e51;return _0x34583c(_0x3dfe60)[_0x41ae05(0x12e)](_0x366d75,_0x9dcfe5,_0x3dfe60,_0x35ad9f);},'decrypt':function(_0x47e780,_0x30c42b,_0x4f5466){return _0x34583c(_0x30c42b)['decrypt'](_0x366d75,_0x47e780,_0x30c42b,_0x4f5466);}};};}())});_0x57e470[_0x455a0c(0x2cb)]=_0x1766b6[_0x455a0c(0x10c)]({'_doFinalize':function(){var _0x8d3810=this['_process'](!0x0);return _0x8d3810;},'blockSize':0x1});var _0x2b7588=_0x533f71[_0x455a0c(0x240)]={},_0x4407bd=_0x57e470[_0x455a0c(0x25b)]=_0xe9b76b[_0x455a0c(0x10c)]({'createEncryptor':function(_0x50ec2c,_0x8707de){var _0x5eb459=_0x455a0c;return this['Encryptor'][_0x5eb459(0x1df)](_0x50ec2c,_0x8707de);},'createDecryptor':function(_0x2d5ceb,_0xfef91a){var _0x53f2f2=_0x455a0c;return this['Decryptor'][_0x53f2f2(0x1df)](_0x2d5ceb,_0xfef91a);},'init':function(_0x7fa8a3,_0x446d91){this['_cipher']=_0x7fa8a3,this['_iv']=_0x446d91;}}),_0x49867e=_0x2b7588['CBC']=(function(){var _0x2ddbf9=_0x455a0c,_0x3e0c6d=_0x4407bd['extend']();_0x3e0c6d[_0x2ddbf9(0x2d2)]=_0x3e0c6d[_0x2ddbf9(0x10c)]({'processBlock':function(_0x312eee,_0x4a5ace){var _0x2e2ae0=_0x2ddbf9,_0x181938=this['_cipher'],_0x3b021c=_0x181938[_0x2e2ae0(0x22b)];_0x206e63['call'](this,_0x312eee,_0x4a5ace,_0x3b021c),_0x181938[_0x2e2ae0(0x334)](_0x312eee,_0x4a5ace),this['_prevBlock']=_0x312eee[_0x2e2ae0(0x300)](_0x4a5ace,_0x4a5ace+_0x3b021c);}}),_0x3e0c6d[_0x2ddbf9(0x291)]=_0x3e0c6d[_0x2ddbf9(0x10c)]({'processBlock':function(_0x1fb0fe,_0x74f80){var _0x1c233b=_0x2ddbf9,_0x3e9a15=this[_0x1c233b(0x220)],_0x3effcf=_0x3e9a15[_0x1c233b(0x22b)],_0x9915dc=_0x1fb0fe[_0x1c233b(0x300)](_0x74f80,_0x74f80+_0x3effcf);_0x3e9a15['decryptBlock'](_0x1fb0fe,_0x74f80),_0x206e63['call'](this,_0x1fb0fe,_0x74f80,_0x3effcf),this[_0x1c233b(0x255)]=_0x9915dc;}});function _0x206e63(_0x5e1ca0,_0x3b6931,_0x9fc0ca){var _0x3de97a=_0x2ddbf9,_0x17b194,_0x41cd3c=this[_0x3de97a(0x2b4)];_0x41cd3c?(_0x17b194=_0x41cd3c,this[_0x3de97a(0x2b4)]=_0x574bdf):_0x17b194=this[_0x3de97a(0x255)];for(var _0x1d20c8=0x0;_0x1d20c8<_0x9fc0ca;_0x1d20c8++)_0x5e1ca0[_0x3b6931+_0x1d20c8]^=_0x17b194[_0x1d20c8];}return _0x3e0c6d;}()),_0x587112=_0x533f71[_0x455a0c(0x2e8)]={},_0x4633ad=_0x587112[_0x455a0c(0x10f)]={'pad':function(_0x5bf42e,_0xb7ceab){var _0xc60b41=_0x455a0c;for(var _0x3fb2f1=_0xb7ceab*0x4,_0x264ef0=_0x3fb2f1-_0x5bf42e[_0xc60b41(0x326)]%_0x3fb2f1,_0x5c5729=_0x264ef0<<0x18|_0x264ef0<<0x10|_0x264ef0<<0x8|_0x264ef0,_0x54ccb8=[],_0x65bd1=0x0;_0x65bd1<_0x264ef0;_0x65bd1+=0x4)_0x54ccb8[_0xc60b41(0x180)](_0x5c5729);var _0x322e09=_0x1c0b51[_0xc60b41(0x1df)](_0x54ccb8,_0x264ef0);_0x5bf42e[_0xc60b41(0x182)](_0x322e09);},'unpad':function(_0x525151){var _0x180d81=_0x455a0c,_0x345a37=_0x525151[_0x180d81(0x3fc)][_0x525151[_0x180d81(0x326)]-0x1>>>0x2]&0xff;_0x525151[_0x180d81(0x326)]-=_0x345a37;}};_0x57e470['BlockCipher']=_0x1766b6[_0x455a0c(0x10c)]({'cfg':_0x1766b6[_0x455a0c(0x21b)][_0x455a0c(0x10c)]({'mode':_0x49867e,'padding':_0x4633ad}),'reset':function(){var _0x3fba81=_0x455a0c,_0x1f0aac;_0x1766b6[_0x3fba81(0x197)][_0x3fba81(0x33d)](this);var _0x62e2e7=this[_0x3fba81(0x21b)],_0x1a5266=_0x62e2e7['iv'],_0x759277=_0x62e2e7['mode'];this[_0x3fba81(0xf4)]==this[_0x3fba81(0x2b0)]?_0x1f0aac=_0x759277[_0x3fba81(0x13d)]:(_0x1f0aac=_0x759277[_0x3fba81(0x379)],this[_0x3fba81(0x2f5)]=0x1),this[_0x3fba81(0x3b9)]&&this[_0x3fba81(0x3b9)][_0x3fba81(0x1c7)]==_0x1f0aac?this['_mode'][_0x3fba81(0x3df)](this,_0x1a5266&&_0x1a5266[_0x3fba81(0x3fc)]):(this[_0x3fba81(0x3b9)]=_0x1f0aac[_0x3fba81(0x33d)](_0x759277,this,_0x1a5266&&_0x1a5266[_0x3fba81(0x3fc)]),this[_0x3fba81(0x3b9)][_0x3fba81(0x1c7)]=_0x1f0aac);},'_doProcessBlock':function(_0x1b50e1,_0x34b3ee){var _0x5c7acc=_0x455a0c;this[_0x5c7acc(0x3b9)][_0x5c7acc(0x343)](_0x1b50e1,_0x34b3ee);},'_doFinalize':function(){var _0x478733=_0x455a0c,_0x92ac34,_0x211a38=this[_0x478733(0x21b)][_0x478733(0x202)];return this[_0x478733(0xf4)]==this[_0x478733(0x2b0)]?(_0x211a38[_0x478733(0x2e8)](this[_0x478733(0x295)],this['blockSize']),_0x92ac34=this[_0x478733(0x169)](!0x0)):(_0x92ac34=this[_0x478733(0x169)](!0x0),_0x211a38[_0x478733(0x392)](_0x92ac34)),_0x92ac34;},'blockSize':0x80/0x20});var _0x1bfeb9=_0x57e470[_0x455a0c(0x10e)]=_0xe9b76b[_0x455a0c(0x10c)]({'init':function(_0xd824de){var _0x13c2b7=_0x455a0c;this[_0x13c2b7(0x250)](_0xd824de);},'toString':function(_0x58b6e4){var _0x267f4a=_0x455a0c;return(_0x58b6e4||this['formatter'])[_0x267f4a(0x2a3)](this);}}),_0x1ed830=_0x533f71[_0x455a0c(0x200)]={},_0x23d477=_0x1ed830[_0x455a0c(0xfd)]={'stringify':function(_0x5a397c){var _0x159b11=_0x455a0c,_0x291c4b,_0x43d29a=_0x5a397c[_0x159b11(0x2be)],_0x308b45=_0x5a397c[_0x159b11(0x253)];return _0x308b45?_0x291c4b=_0x1c0b51['create']([0x53616c74,0x65645f5f])[_0x159b11(0x182)](_0x308b45)['concat'](_0x43d29a):_0x291c4b=_0x43d29a,_0x291c4b[_0x159b11(0x2b8)](_0x532433);},'parse':function(_0x4a06e2){var _0x5c994f=_0x455a0c,_0x4d1395,_0x513724=_0x532433[_0x5c994f(0x360)](_0x4a06e2),_0x159d90=_0x513724[_0x5c994f(0x3fc)];return _0x159d90[0x0]==0x53616c74&&_0x159d90[0x1]==0x65645f5f&&(_0x4d1395=_0x1c0b51[_0x5c994f(0x1df)](_0x159d90[_0x5c994f(0x300)](0x2,0x4)),_0x159d90['splice'](0x0,0x4),_0x513724[_0x5c994f(0x326)]-=0x10),_0x1bfeb9[_0x5c994f(0x1df)]({'ciphertext':_0x513724,'salt':_0x4d1395});}},_0x3b4c7f=_0x57e470['SerializableCipher']=_0xe9b76b[_0x455a0c(0x10c)]({'cfg':_0xe9b76b[_0x455a0c(0x10c)]({'format':_0x23d477}),'encrypt':function(_0x32e1c9,_0x30ceff,_0x35b518,_0x5c2fc3){var _0x36b92b=_0x455a0c;_0x5c2fc3=this[_0x36b92b(0x21b)][_0x36b92b(0x10c)](_0x5c2fc3);var _0x2b3822=_0x32e1c9['createEncryptor'](_0x35b518,_0x5c2fc3),_0x18083f=_0x2b3822[_0x36b92b(0x1ee)](_0x30ceff),_0x4d99d3=_0x2b3822[_0x36b92b(0x21b)];return _0x1bfeb9[_0x36b92b(0x1df)]({'ciphertext':_0x18083f,'key':_0x35b518,'iv':_0x4d99d3['iv'],'algorithm':_0x32e1c9,'mode':_0x4d99d3['mode'],'padding':_0x4d99d3[_0x36b92b(0x202)],'blockSize':_0x32e1c9[_0x36b92b(0x22b)],'formatter':_0x5c2fc3[_0x36b92b(0x200)]});},'decrypt':function(_0x400221,_0x2acb19,_0x2d0834,_0x4d939b){var _0xc79907=_0x455a0c;_0x4d939b=this[_0xc79907(0x21b)][_0xc79907(0x10c)](_0x4d939b),_0x2acb19=this[_0xc79907(0x130)](_0x2acb19,_0x4d939b[_0xc79907(0x200)]);var _0x4f79e8=_0x400221[_0xc79907(0x379)](_0x2d0834,_0x4d939b)['finalize'](_0x2acb19[_0xc79907(0x2be)]);return _0x4f79e8;},'_parse':function(_0x4fafbd,_0x1e9b07){return typeof _0x4fafbd=='string'?_0x1e9b07['parse'](_0x4fafbd,this):_0x4fafbd;}}),_0x5670af=_0x533f71[_0x455a0c(0x214)]={},_0x341382=_0x5670af[_0x455a0c(0xfd)]={'execute':function(_0x3988ec,_0x372a9b,_0x46ad57,_0x8464fa,_0x2c62ad){var _0x27967c=_0x455a0c;if(_0x8464fa||(_0x8464fa=_0x1c0b51[_0x27967c(0x1ad)](0x40/0x8)),_0x2c62ad)var _0x56e684=_0x4eb8e8[_0x27967c(0x1df)]({'keySize':_0x372a9b+_0x46ad57,'hasher':_0x2c62ad})['compute'](_0x3988ec,_0x8464fa);else var _0x56e684=_0x4eb8e8[_0x27967c(0x1df)]({'keySize':_0x372a9b+_0x46ad57})[_0x27967c(0x23a)](_0x3988ec,_0x8464fa);var _0x305570=_0x1c0b51['create'](_0x56e684['words'][_0x27967c(0x300)](_0x372a9b),_0x46ad57*0x4);return _0x56e684['sigBytes']=_0x372a9b*0x4,_0x1bfeb9[_0x27967c(0x1df)]({'key':_0x56e684,'iv':_0x305570,'salt':_0x8464fa});}},_0x266d23=_0x57e470['PasswordBasedCipher']=_0x3b4c7f['extend']({'cfg':_0x3b4c7f[_0x455a0c(0x21b)][_0x455a0c(0x10c)]({'kdf':_0x341382}),'encrypt':function(_0x4fcef8,_0x4156f5,_0x28f268,_0x3394d9){var _0x2dba3b=_0x455a0c;_0x3394d9=this[_0x2dba3b(0x21b)][_0x2dba3b(0x10c)](_0x3394d9);var _0x4cefbd=_0x3394d9[_0x2dba3b(0x214)][_0x2dba3b(0x210)](_0x28f268,_0x4fcef8['keySize'],_0x4fcef8[_0x2dba3b(0x3d4)],_0x3394d9[_0x2dba3b(0x253)],_0x3394d9['hasher']);_0x3394d9['iv']=_0x4cefbd['iv'];var _0x210759=_0x3b4c7f[_0x2dba3b(0x12e)][_0x2dba3b(0x33d)](this,_0x4fcef8,_0x4156f5,_0x4cefbd[_0x2dba3b(0xf7)],_0x3394d9);return _0x210759[_0x2dba3b(0x250)](_0x4cefbd),_0x210759;},'decrypt':function(_0x48787b,_0x20bb2f,_0x1a7fc6,_0x27859c){var _0x5ca0c9=_0x455a0c;_0x27859c=this[_0x5ca0c9(0x21b)][_0x5ca0c9(0x10c)](_0x27859c),_0x20bb2f=this[_0x5ca0c9(0x130)](_0x20bb2f,_0x27859c[_0x5ca0c9(0x200)]);var _0x46a22d=_0x27859c[_0x5ca0c9(0x214)]['execute'](_0x1a7fc6,_0x48787b[_0x5ca0c9(0x1e8)],_0x48787b[_0x5ca0c9(0x3d4)],_0x20bb2f['salt'],_0x27859c['hasher']);_0x27859c['iv']=_0x46a22d['iv'];var _0x38dc4c=_0x3b4c7f[_0x5ca0c9(0x165)]['call'](this,_0x48787b,_0x20bb2f,_0x46a22d[_0x5ca0c9(0xf7)],_0x27859c);return _0x38dc4c;}});}();}));}(Xe)),Xe['exports'];}var Sn=Ve[_0x297613(0x345)],ei;function gn(){var _0x5b9995=_0x297613;return ei||(ei=0x1,function(_0x163fa0,_0x432867){(function(_0x559833,_0x46e308,_0x44d893){_0x163fa0['exports']=_0x46e308(ie(),Ni(),dn(),Ci(),bi());}(Sn,function(_0x396c2f){var _0x543b22=_0x2e51;return(function(){var _0x48cf6d=_0x2e51,_0x1edfdd=_0x396c2f,_0x327235=_0x1edfdd[_0x48cf6d(0x26a)],_0x56e776=_0x327235[_0x48cf6d(0x22f)],_0x1d9a41=_0x1edfdd[_0x48cf6d(0x181)],_0x37db11=[],_0x3007e2=[],_0x2f3229=[],_0x5e7bee=[],_0x4b6495=[],_0x58c7b3=[],_0x30a2f4=[],_0x1a6e86=[],_0x5eee0f=[],_0x4ea9e1=[];(function(){for(var _0x529b93=[],_0x20a0fd=0x0;_0x20a0fd<0x100;_0x20a0fd++)_0x20a0fd<0x80?_0x529b93[_0x20a0fd]=_0x20a0fd<<0x1:_0x529b93[_0x20a0fd]=_0x20a0fd<<0x1^0x11b;for(var _0x4027e2=0x0,_0x2fe4c5=0x0,_0x20a0fd=0x0;_0x20a0fd<0x100;_0x20a0fd++){var _0x2dcee1=_0x2fe4c5^_0x2fe4c5<<0x1^_0x2fe4c5<<0x2^_0x2fe4c5<<0x3^_0x2fe4c5<<0x4;_0x2dcee1=_0x2dcee1>>>0x8^_0x2dcee1&0xff^0x63,_0x37db11[_0x4027e2]=_0x2dcee1,_0x3007e2[_0x2dcee1]=_0x4027e2;var _0xd33ca=_0x529b93[_0x4027e2],_0x190fa7=_0x529b93[_0xd33ca],_0xf6a9aa=_0x529b93[_0x190fa7],_0xd247a8=_0x529b93[_0x2dcee1]*0x101^_0x2dcee1*0x1010100;_0x2f3229[_0x4027e2]=_0xd247a8<<0x18|_0xd247a8>>>0x8,_0x5e7bee[_0x4027e2]=_0xd247a8<<0x10|_0xd247a8>>>0x10,_0x4b6495[_0x4027e2]=_0xd247a8<<0x8|_0xd247a8>>>0x18,_0x58c7b3[_0x4027e2]=_0xd247a8;var _0xd247a8=_0xf6a9aa*0x1010101^_0x190fa7*0x10001^_0xd33ca*0x101^_0x4027e2*0x1010100;_0x30a2f4[_0x2dcee1]=_0xd247a8<<0x18|_0xd247a8>>>0x8,_0x1a6e86[_0x2dcee1]=_0xd247a8<<0x10|_0xd247a8>>>0x10,_0x5eee0f[_0x2dcee1]=_0xd247a8<<0x8|_0xd247a8>>>0x18,_0x4ea9e1[_0x2dcee1]=_0xd247a8,_0x4027e2?(_0x4027e2=_0xd33ca^_0x529b93[_0x529b93[_0x529b93[_0xf6a9aa^_0xd33ca]]],_0x2fe4c5^=_0x529b93[_0x529b93[_0x2fe4c5]]):_0x4027e2=_0x2fe4c5=0x1;}}());var _0x10a3e1=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4958bb=_0x1d9a41['AES']=_0x56e776[_0x48cf6d(0x10c)]({'_doReset':function(){var _0x28b769=_0x48cf6d,_0x58e9ad;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x28b769(0x393)])){for(var _0x5e1c18=this[_0x28b769(0x2d5)]=this[_0x28b769(0x393)],_0x34e647=_0x5e1c18[_0x28b769(0x3fc)],_0x4f3c5f=_0x5e1c18['sigBytes']/0x4,_0x4ada5d=this[_0x28b769(0x40c)]=_0x4f3c5f+0x6,_0x3e57fc=(_0x4ada5d+0x1)*0x4,_0x31d4a5=this[_0x28b769(0x2d6)]=[],_0x30a6be=0x0;_0x30a6be<_0x3e57fc;_0x30a6be++)_0x30a6be<_0x4f3c5f?_0x31d4a5[_0x30a6be]=_0x34e647[_0x30a6be]:(_0x58e9ad=_0x31d4a5[_0x30a6be-0x1],_0x30a6be%_0x4f3c5f?_0x4f3c5f>0x6&&_0x30a6be%_0x4f3c5f==0x4&&(_0x58e9ad=_0x37db11[_0x58e9ad>>>0x18]<<0x18|_0x37db11[_0x58e9ad>>>0x10&0xff]<<0x10|_0x37db11[_0x58e9ad>>>0x8&0xff]<<0x8|_0x37db11[_0x58e9ad&0xff]):(_0x58e9ad=_0x58e9ad<<0x8|_0x58e9ad>>>0x18,_0x58e9ad=_0x37db11[_0x58e9ad>>>0x18]<<0x18|_0x37db11[_0x58e9ad>>>0x10&0xff]<<0x10|_0x37db11[_0x58e9ad>>>0x8&0xff]<<0x8|_0x37db11[_0x58e9ad&0xff],_0x58e9ad^=_0x10a3e1[_0x30a6be/_0x4f3c5f|0x0]<<0x18),_0x31d4a5[_0x30a6be]=_0x31d4a5[_0x30a6be-_0x4f3c5f]^_0x58e9ad);for(var _0x1f27e9=this[_0x28b769(0x148)]=[],_0x15eedb=0x0;_0x15eedb<_0x3e57fc;_0x15eedb++){var _0x30a6be=_0x3e57fc-_0x15eedb;if(_0x15eedb%0x4)var _0x58e9ad=_0x31d4a5[_0x30a6be];else var _0x58e9ad=_0x31d4a5[_0x30a6be-0x4];_0x15eedb<0x4||_0x30a6be<=0x4?_0x1f27e9[_0x15eedb]=_0x58e9ad:_0x1f27e9[_0x15eedb]=_0x30a2f4[_0x37db11[_0x58e9ad>>>0x18]]^_0x1a6e86[_0x37db11[_0x58e9ad>>>0x10&0xff]]^_0x5eee0f[_0x37db11[_0x58e9ad>>>0x8&0xff]]^_0x4ea9e1[_0x37db11[_0x58e9ad&0xff]];}}},'encryptBlock':function(_0x15f4d3,_0x459efc){var _0x39705b=_0x48cf6d;this[_0x39705b(0x16c)](_0x15f4d3,_0x459efc,this[_0x39705b(0x2d6)],_0x2f3229,_0x5e7bee,_0x4b6495,_0x58c7b3,_0x37db11);},'decryptBlock':function(_0x113fb1,_0x141188){var _0x571d45=_0x48cf6d,_0xee1130=_0x113fb1[_0x141188+0x1];_0x113fb1[_0x141188+0x1]=_0x113fb1[_0x141188+0x3],_0x113fb1[_0x141188+0x3]=_0xee1130,this[_0x571d45(0x16c)](_0x113fb1,_0x141188,this[_0x571d45(0x148)],_0x30a2f4,_0x1a6e86,_0x5eee0f,_0x4ea9e1,_0x3007e2);var _0xee1130=_0x113fb1[_0x141188+0x1];_0x113fb1[_0x141188+0x1]=_0x113fb1[_0x141188+0x3],_0x113fb1[_0x141188+0x3]=_0xee1130;},'_doCryptBlock':function(_0x48d4a9,_0x56c14d,_0x3d4e5b,_0x2b2cd0,_0xf3a683,_0x2431d5,_0x138676,_0x50a248){var _0x525bed=_0x48cf6d;for(var _0x4ec760=this[_0x525bed(0x40c)],_0x22be18=_0x48d4a9[_0x56c14d]^_0x3d4e5b[0x0],_0x37e819=_0x48d4a9[_0x56c14d+0x1]^_0x3d4e5b[0x1],_0x14586d=_0x48d4a9[_0x56c14d+0x2]^_0x3d4e5b[0x2],_0x24b39f=_0x48d4a9[_0x56c14d+0x3]^_0x3d4e5b[0x3],_0x780fe0=0x4,_0x17903b=0x1;_0x17903b<_0x4ec760;_0x17903b++){var _0x25ec66=_0x2b2cd0[_0x22be18>>>0x18]^_0xf3a683[_0x37e819>>>0x10&0xff]^_0x2431d5[_0x14586d>>>0x8&0xff]^_0x138676[_0x24b39f&0xff]^_0x3d4e5b[_0x780fe0++],_0x1c8cd4=_0x2b2cd0[_0x37e819>>>0x18]^_0xf3a683[_0x14586d>>>0x10&0xff]^_0x2431d5[_0x24b39f>>>0x8&0xff]^_0x138676[_0x22be18&0xff]^_0x3d4e5b[_0x780fe0++],_0x9ecc0=_0x2b2cd0[_0x14586d>>>0x18]^_0xf3a683[_0x24b39f>>>0x10&0xff]^_0x2431d5[_0x22be18>>>0x8&0xff]^_0x138676[_0x37e819&0xff]^_0x3d4e5b[_0x780fe0++],_0x3f9b53=_0x2b2cd0[_0x24b39f>>>0x18]^_0xf3a683[_0x22be18>>>0x10&0xff]^_0x2431d5[_0x37e819>>>0x8&0xff]^_0x138676[_0x14586d&0xff]^_0x3d4e5b[_0x780fe0++];_0x22be18=_0x25ec66,_0x37e819=_0x1c8cd4,_0x14586d=_0x9ecc0,_0x24b39f=_0x3f9b53;}var _0x25ec66=(_0x50a248[_0x22be18>>>0x18]<<0x18|_0x50a248[_0x37e819>>>0x10&0xff]<<0x10|_0x50a248[_0x14586d>>>0x8&0xff]<<0x8|_0x50a248[_0x24b39f&0xff])^_0x3d4e5b[_0x780fe0++],_0x1c8cd4=(_0x50a248[_0x37e819>>>0x18]<<0x18|_0x50a248[_0x14586d>>>0x10&0xff]<<0x10|_0x50a248[_0x24b39f>>>0x8&0xff]<<0x8|_0x50a248[_0x22be18&0xff])^_0x3d4e5b[_0x780fe0++],_0x9ecc0=(_0x50a248[_0x14586d>>>0x18]<<0x18|_0x50a248[_0x24b39f>>>0x10&0xff]<<0x10|_0x50a248[_0x22be18>>>0x8&0xff]<<0x8|_0x50a248[_0x37e819&0xff])^_0x3d4e5b[_0x780fe0++],_0x3f9b53=(_0x50a248[_0x24b39f>>>0x18]<<0x18|_0x50a248[_0x22be18>>>0x10&0xff]<<0x10|_0x50a248[_0x37e819>>>0x8&0xff]<<0x8|_0x50a248[_0x14586d&0xff])^_0x3d4e5b[_0x780fe0++];_0x48d4a9[_0x56c14d]=_0x25ec66,_0x48d4a9[_0x56c14d+0x1]=_0x1c8cd4,_0x48d4a9[_0x56c14d+0x2]=_0x9ecc0,_0x48d4a9[_0x56c14d+0x3]=_0x3f9b53;},'keySize':0x100/0x20});_0x1edfdd[_0x48cf6d(0x1b1)]=_0x56e776[_0x48cf6d(0x3f3)](_0x4958bb);}()),_0x396c2f[_0x543b22(0x1b1)];}));}(Ve)),Ve[_0x5b9995(0x345)];}var Tn=gn();const On=$e(Tn);var Rn=Ni();const ti=$e(Rn);var Je={'exports':{}},Nn=Je['exports'],ii;function Cn(){return ii||(ii=0x1,function(_0x4660df,_0x49e271){(function(_0x323be0,_0x139393){var _0xb670f3=_0x2e51;_0x4660df[_0xb670f3(0x345)]=_0x139393(ie());}(Nn,function(_0x43177a){var _0x4692a0=_0x2e51;return _0x43177a[_0x4692a0(0x406)]['Utf8'];}));}(Je)),Je['exports'];}var bn=Cn();const Dn=$e(bn);var Ze={'exports':{}},yn=Ze[_0x297613(0x345)],si;function Un(){var _0x17c134=_0x297613;return si||(si=0x1,function(_0x35a66a,_0x2ba323){(function(_0x239b47,_0x40bfb2){var _0x354446=_0x2e51;_0x35a66a[_0x354446(0x345)]=_0x40bfb2(ie());}(yn,function(_0x23a385){var _0x3a4a35=_0x2e51;return(function(){var _0x4c99c8=_0x2e51;if(typeof ArrayBuffer=='function'){var _0x34c5d0=_0x23a385,_0x486216=_0x34c5d0['lib'],_0x2e4308=_0x486216[_0x4c99c8(0x263)],_0x322d6a=_0x2e4308[_0x4c99c8(0x3df)],_0x47d536=_0x2e4308['init']=function(_0x4c7361){var _0x161c7b=_0x4c99c8;if(_0x4c7361 instanceof ArrayBuffer&&(_0x4c7361=new Uint8Array(_0x4c7361)),(_0x4c7361 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4c7361 instanceof Uint8ClampedArray||_0x4c7361 instanceof Int16Array||_0x4c7361 instanceof Uint16Array||_0x4c7361 instanceof Int32Array||_0x4c7361 instanceof Uint32Array||_0x4c7361 instanceof Float32Array||_0x4c7361 instanceof Float64Array)&&(_0x4c7361=new Uint8Array(_0x4c7361[_0x161c7b(0x2fa)],_0x4c7361[_0x161c7b(0x32c)],_0x4c7361[_0x161c7b(0x14c)])),_0x4c7361 instanceof Uint8Array){for(var _0x3cdfa9=_0x4c7361[_0x161c7b(0x14c)],_0x56d0f8=[],_0x3cfae5=0x0;_0x3cfae5<_0x3cdfa9;_0x3cfae5++)_0x56d0f8[_0x3cfae5>>>0x2]|=_0x4c7361[_0x3cfae5]<<0x18-_0x3cfae5%0x4*0x8;_0x322d6a[_0x161c7b(0x33d)](this,_0x56d0f8,_0x3cdfa9);}else _0x322d6a[_0x161c7b(0x1f5)](this,arguments);};_0x47d536['prototype']=_0x2e4308;}}()),_0x23a385[_0x3a4a35(0x26a)]['WordArray'];}));}(Ze)),Ze[_0x17c134(0x345)];}var An=Un();const Pn=$e(An);var Qe={'exports':{}},Ln=Qe['exports'],ni;function Mn(){return ni||(ni=0x1,function(_0x297989,_0x204841){(function(_0x3fd9f1,_0x49400b,_0x31af09){_0x297989['exports']=_0x49400b(ie(),bi());}(Ln,function(_0x22f15c){var _0xb3a630=_0x2e51;return _0x22f15c['pad'][_0xb3a630(0x354)]={'pad':function(){},'unpad':function(){}},_0x22f15c['pad']['NoPadding'];}));}(Qe)),Qe['exports'];}var wn=Mn();const xn=$e(wn);function kn(_0x356fe5,_0x52508d){var _0xcef955=_0x297613;const _0x1b3924=_0x52508d-_0x356fe5[_0xcef955(0x151)]%_0x52508d,_0x4da458=String[_0xcef955(0x226)](_0x1b3924)[_0xcef955(0x368)](_0x1b3924);return _0x356fe5+_0x4da458;}function $n(_0x2e9e9a,_0x4ae66a){var _0x5b9aa8=_0x297613;const _0x1ca74a=Pn[_0x5b9aa8(0x1ad)](0x10),_0xa08d33=kn(_0x2e9e9a,0x10),_0x1608a6=On[_0x5b9aa8(0x12e)](Dn[_0x5b9aa8(0x360)](_0xa08d33),ti[_0x5b9aa8(0x360)](_0x4ae66a),{'iv':_0x1ca74a,'padding':xn});return _0x1ca74a[_0x5b9aa8(0x182)](_0x1608a6[_0x5b9aa8(0x2be)])[_0x5b9aa8(0x2b8)](ti);}function Hn(){var _0x370c40=_0x297613;const _0x4747b5=_0x47f44e()[_0x370c40(0x339)];if(_0x4747b5){const _0x4dab9d={'time':Math[_0x370c40(0xfa)](Date['now']()/0x3e8),'domain':location[_0x370c40(0x350)]};return $n(JSON['stringify'](_0x4dab9d),_0x4747b5);}}var Bn=Object[_0x297613(0x1f3)],Fn=(_0x4e912f,_0x52deac,_0x87944,_0x17d350)=>{for(var _0x15b1d9=_0x17d350>0x1?void 0x0:_0x17d350?Bn(_0x52deac,_0x87944):_0x52deac,_0x15c2cf=_0x4e912f['length']-0x1,_0x46d607;_0x15c2cf>=0x0;_0x15c2cf--)(_0x46d607=_0x4e912f[_0x15c2cf])&&(_0x15b1d9=_0x46d607(_0x15b1d9)||_0x15b1d9);return _0x15b1d9;},jn=(_0x4477e3,_0x11ce80)=>(_0xbf7501,_0x226b75)=>_0x11ce80(_0xbf7501,_0x226b75,_0x4477e3);let at=class{constructor(_0x4edeb0){var _0x47600f=_0x297613;this[_0x47600f(0x2d3)]=_0x4edeb0,this[_0x47600f(0x19a)]();}['_initRequestHeader'](){var _0x1c3a08=_0x297613;this[_0x1c3a08(0x2d3)][_0x1c3a08(0x2b9)]({'interceptor':(_0x4ec00c,_0x4bb8a3)=>{var _0x45df30=_0x1c3a08;const _0x3c93b9=_0x4ec00c[_0x45df30(0x338)],_0x14406f=Hn();return _0x14406f&&_0x3c93b9[_0x45df30(0x208)](_0x45df30(0x3ce),_0x14406f),_0x4bb8a3(_0x4ec00c);}});}};at=Fn([jn(0x0,_0x26bbed(_0x2a6ad7))],at);var Vn=Object[_0x297613(0x1f3)],Gn=(_0x150492,_0x7ec55e,_0x473369,_0x4f82aa)=>{var _0x1b96f3=_0x297613;for(var _0x57e558=_0x4f82aa>0x1?void 0x0:_0x4f82aa?Vn(_0x7ec55e,_0x473369):_0x7ec55e,_0x15af42=_0x150492[_0x1b96f3(0x151)]-0x1,_0x3a7904;_0x15af42>=0x0;_0x15af42--)(_0x3a7904=_0x150492[_0x15af42])&&(_0x57e558=_0x3a7904(_0x57e558)||_0x57e558);return _0x57e558;},vt=(_0x47152b,_0x2dc61b)=>(_0x5591e5,_0xa1bab9)=>_0x2dc61b(_0x5591e5,_0xa1bab9,_0x47152b);let Ot=class extends _0x5ba552{constructor(_0x340f3f,_0x47af57,_0xde1fff){var _0x178f03=_0x297613;super(),D(this,_0x178f03(0x154),new _0x5ef610(null)),D(this,'unitInfo$',this['_unitInfo$']['asObservable']()),(this[_0x178f03(0x27d)]=_0x340f3f,this[_0x178f03(0x17e)]=_0x47af57,this[_0x178f03(0x29a)]=_0xde1fff);}async[_0x297613(0x2ad)](_0x335130,_0x4dcd00,_0x1e0a50){var _0x548d79=_0x297613;this[_0x548d79(0x154)][_0x548d79(0x3db)]({'unitId':_0x335130,'type':_0x4dcd00});let _0x417fc0=null;switch(_0x4dcd00){case Q[_0x548d79(0x191)]:{_0x417fc0=await this[_0x548d79(0x17e)][_0x548d79(0x1ba)](_0x335130,_0x1e0a50);break;}case Q[_0x548d79(0x33c)]:{_0x417fc0=await this['_snapshotService']['loadDoc'](_0x335130,_0x1e0a50);break;}default:{this['_logService'][_0x548d79(0x342)]('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x417fc0;}async[_0x297613(0x26e)](_0x143532,_0x4c3271,_0x5bcb1d){var _0x5a8afa=_0x297613,_0x30a96e;this[_0x5a8afa(0x154)][_0x5a8afa(0x3db)]({'unitId':_0x143532,'type':_0x4c3271,'subUnitId':_0x5bcb1d});let _0x409570=0x0;const _0x3c9ade=await((_0x30a96e=this[_0x5a8afa(0x29a)])==null?void 0x0:_0x30a96e['loadOfflineData'](_0x143532));return _0x3c9ade&&(_0x3c9ade['awaitingChangeset']||_0x3c9ade['mutations'][_0x5a8afa(0x151)]!==0x0)&&(_0x409570=_0x3c9ade['rev']),_0x409570===0x0&&this[_0x5a8afa(0x27d)][_0x5a8afa(0x2b1)](_0x5a8afa(0x27e),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x5a8afa(0x2ad)](_0x143532,_0x4c3271,_0x409570);}};Ot=Gn([vt(0x0,_0x2f0a5f),vt(0x1,_0x26bbed(_0x580a97)),vt(0x2,_0x20c1a7(X))],Ot);var Wn=Object[_0x297613(0x1f3)],Yn=(_0x269bf9,_0x577187,_0x1f0924,_0xa319b9)=>{for(var _0x4f5b8b=_0xa319b9>0x1?void 0x0:_0xa319b9?Wn(_0x577187,_0x1f0924):_0x577187,_0xe253ae=_0x269bf9['length']-0x1,_0x1d550b;_0xe253ae>=0x0;_0xe253ae--)(_0x1d550b=_0x269bf9[_0xe253ae])&&(_0x4f5b8b=_0x1d550b(_0x4f5b8b)||_0x4f5b8b);return _0x4f5b8b;},Et=(_0x3bdebf,_0x5da029)=>(_0x2e0bbb,_0xea0540)=>_0x5da029(_0x2e0bbb,_0xea0540,_0x3bdebf);const Kn=['image/png',_0x297613(0x358),_0x297613(0x3da),_0x297613(0x1a3),_0x297613(0x24e)],qn=0x5*0x400*0x400,zn='/universer-api/stream/file/upload',Xn=_0x297613(0xf9);let Rt=class{constructor(_0x1fd856,_0x284a44,_0x9a5f6e){var _0x285877=_0x297613;D(this,_0x285877(0x21a),0x0),D(this,_0x285877(0x27a),new _0x34c84b()),D(this,_0x285877(0x1cc),this[_0x285877(0x27a)]),D(this,_0x285877(0x24a),new Map()),(this[_0x285877(0x2d3)]=_0x1fd856,this[_0x285877(0x37c)]=_0x284a44,this[_0x285877(0x27f)]=_0x9a5f6e);}[_0x297613(0x3c9)](_0x1ae3ce){var _0x1c6ac7=_0x297613;this['_waitCount']=_0x1ae3ce,this['_change$'][_0x1c6ac7(0x3db)](_0x1ae3ce);}[_0x297613(0x320)](_0x48c8c6,_0xae464){var _0x5360cd=_0x297613;if(_0xae464===_0x3fed5a[_0x5360cd(0x145)]){const _0xb3e71=new Image();return _0xb3e71[_0x5360cd(0x1fb)]=_0x48c8c6,_0xb3e71;}return this[_0x5360cd(0x24a)][_0x5360cd(0x2a5)](_0x48c8c6);}[_0x297613(0x3d8)](_0x4c5e0a,_0x16e29d,_0x1c3a0b){var _0x23f680=_0x297613;_0x16e29d===_0x3fed5a[_0x23f680(0x145)]||_0x1c3a0b==null||this[_0x23f680(0x24a)][_0x23f680(0x208)](_0x4c5e0a,_0x1c3a0b);}async[_0x297613(0x30f)](_0x1d9569){var _0x54a6ef=_0x297613;try{const _0x4e652f=this[_0x54a6ef(0x3e0)](this[_0x54a6ef(0x168)](),''+_0x1d9569),_0x316e04=(await this[_0x54a6ef(0x2d3)][_0x54a6ef(0x2a5)](_0x4e652f))[_0x54a6ef(0x1d4)];if(_0x316e04[_0x54a6ef(0x342)]&&_0x316e04[_0x54a6ef(0x342)][_0x54a6ef(0x3f6)]===vi['OK']){const _0x11fbda=_0x21d98a(_0x316e04[_0x54a6ef(0x2b5)],this[_0x54a6ef(0x310)]());return Promise['resolve'](_0x11fbda);}return Promise['reject'](_0x316e04[_0x54a6ef(0x342)]);}catch(_0x137004){return Promise[_0x54a6ef(0x1ef)](_0x137004);}}async['saveImage'](_0x5c561d){var _0x37d3ab=_0x297613;let _0x1fb39e='';if(!Kn['includes'](_0x5c561d[_0x37d3ab(0x189)]))return this[_0x37d3ab(0x3d9)](),Promise[_0x37d3ab(0x1ef)](new Error(_0xdd4f4d[_0x37d3ab(0x33e)]));if(_0x5c561d[_0x37d3ab(0x156)]>qn)return this['_decreaseWaiting'](),Promise[_0x37d3ab(0x1ef)](new Error(_0xdd4f4d['ERROR_EXCEED_SIZE']));try{const _0x10ffc7=new FormData();_0x10ffc7[_0x37d3ab(0x1b4)]('file',_0x5c561d);const _0x5273ab=this[_0x37d3ab(0x27f)][_0x37d3ab(0x39f)](),_0x320fd4=_0x5273ab==null?void 0x0:_0x5273ab[_0x37d3ab(0x281)]();if(!_0x320fd4)throw new Error(_0x37d3ab(0xf5));const _0x33dc32=this[_0x37d3ab(0x3fb)]()+_0x37d3ab(0x19c)+_0x5c561d[_0x37d3ab(0x156)][_0x37d3ab(0x2b8)]()+_0x37d3ab(0x2ee)+Ei['UnitEmbedded']+'&assign='+encodeURIComponent(_0x320fd4),_0x46aca2={'body':_0x10ffc7},_0x270db6=(await this['_httpService'][_0x37d3ab(0x230)](_0x33dc32,_0x46aca2))[_0x37d3ab(0x1d4)];if(typeof _0x270db6[_0x37d3ab(0x1fc)]!=_0x37d3ab(0x2de))return this[_0x37d3ab(0x3d9)](),Promise[_0x37d3ab(0x1ef)](new Error(_0xdd4f4d[_0x37d3ab(0x10d)]));_0x1fb39e=_0x270db6[_0x37d3ab(0x1fc)];}catch{return this['_decreaseWaiting'](),Promise[_0x37d3ab(0x1ef)](new Error(_0xdd4f4d[_0x37d3ab(0x10d)]));}return new Promise((_0x3987db,_0x483a75)=>{var _0x139f23=_0x37d3ab;const _0x57dc11=new FileReader();_0x57dc11[_0x139f23(0x2fe)](_0x5c561d),_0x57dc11['onload']=_0x5ef615=>{var _0x40be23=_0x139f23,_0x5a79ce;const _0x3a52ef=(_0x5a79ce=_0x5ef615[_0x40be23(0x2bc)])==null?void 0x0:_0x5a79ce['result'];if(_0x3a52ef==null){this['_decreaseWaiting'](),_0x483a75(new Error(_0xdd4f4d[_0x40be23(0x10d)]));return;}const _0x999a74=_0x2c1d46(0x6);_0x3987db({'imageId':_0x999a74,'imageSourceType':_0x3fed5a[_0x40be23(0x369)],'source':_0x1fb39e,'base64Cache':_0x3a52ef,'status':_0xdd4f4d[_0x40be23(0x3f8)]}),this[_0x40be23(0x3d9)]();};});}['_getUploadFileURL'](){var _0x139bb3=_0x297613,_0x28dfea;const _0x172566=this[_0x139bb3(0x37c)][_0x139bb3(0x261)](K);return(_0x28dfea=_0x172566==null?void 0x0:_0x172566['uploadFileServerUrl'])!=null?_0x28dfea:zn;}['_getSignURL'](){var _0x4bd623=_0x297613,_0x2acef2;const _0x11f464=this['_configService'][_0x4bd623(0x261)](K);return(_0x2acef2=_0x11f464==null?void 0x0:_0x11f464['signUrlServerUrl'])!=null?_0x2acef2:Xn;}[_0x297613(0x310)](){var _0x345017=_0x297613,_0x3ffbf0;const _0x1ff7db=this['_configService'][_0x345017(0x261)](K);return(_0x3ffbf0=_0x1ff7db==null?void 0x0:_0x1ff7db[_0x345017(0x3de)])!=null?_0x3ffbf0:location[_0x345017(0x1ff)];}['_replaceFileID'](_0x3de559,_0x19268a){return _0x3de559['replace']('{fileID}',_0x19268a);}[_0x297613(0x3d9)](){var _0x2aeb8b=_0x297613;this[_0x2aeb8b(0x21a)]-=0x1,this[_0x2aeb8b(0x27a)]['next'](this[_0x2aeb8b(0x21a)]);}};Rt=Yn([Et(0x0,_0x26bbed(_0x2a6ad7)),Et(0x1,_0x8e0d98),Et(0x2,_0x26bbed(_0xf06b0d))],Rt);var Jn=Object[_0x297613(0x1f3)],Zn=(_0xb5d53,_0x56cf60,_0x46f01c,_0x56262c)=>{var _0x330fa9=_0x297613;for(var _0x81cd35=_0x56262c>0x1?void 0x0:_0x56262c?Jn(_0x56cf60,_0x46f01c):_0x56cf60,_0x28dc6b=_0xb5d53[_0x330fa9(0x151)]-0x1,_0x463e33;_0x28dc6b>=0x0;_0x28dc6b--)(_0x463e33=_0xb5d53[_0x28dc6b])&&(_0x81cd35=_0x463e33(_0x81cd35)||_0x81cd35);return _0x81cd35;},ri=(_0x6ae7b7,_0x577de9)=>(_0x3c2b66,_0x5ebc90)=>_0x577de9(_0x3c2b66,_0x5ebc90,_0x6ae7b7);const Qn=_0x297613(0x237);let Nt=class{constructor(_0x3f690f,_0x543a7f){this['_configService']=_0x3f690f,this['_HTTPService']=_0x543a7f;}['_getAPIPrefixPath'](){var _0x40013e=_0x297613,_0x2507d3;const _0x31c921=this[_0x40013e(0x37c)]['getConfig'](K);return(_0x2507d3=_0x31c921==null?void 0x0:_0x31c921[_0x40013e(0x106)])!=null?_0x2507d3:Qn;}async[_0x297613(0x14e)](_0x2fa048){var _0x41795=_0x297613;const _0x5f25b9=this[_0x41795(0x1f7)]()+'/collaborator';return{'list':[{'title':_0x41795(0x383),'mentions':(await this[_0x41795(0x275)][_0x41795(0x2a5)](_0x5f25b9,{'params':{'objectID':_0x2fa048['unitId'],'unitID':_0x2fa048[_0x41795(0x1c6)]}}))['body']['collaborators'][_0x41795(0x39b)](_0x22fade=>({'objectId':_0x22fade['id'],'name':_0x22fade[_0x41795(0x357)]['name'],'metadata':{'icon':_0x22fade[_0x41795(0x357)][_0x41795(0x23c)]},'label':_0x22fade[_0x41795(0x357)][_0x41795(0x284)],'objectType':_0x402a53[_0x41795(0x391)]})),'metadata':{},'type':_0x402a53[_0x41795(0x391)]}]};}};Nt=Zn([ri(0x0,_0x26bbed(_0x8e0d98)),ri(0x1,_0x26bbed(_0x2a6ad7))],Nt);var er=Object['getOwnPropertyDescriptor'],tr=(_0x4aad8c,_0x346b4b,_0xf16289,_0x332ab2)=>{var _0x9c0ac0=_0x297613;for(var _0x3639f3=_0x332ab2>0x1?void 0x0:_0x332ab2?er(_0x346b4b,_0xf16289):_0x346b4b,_0x498d0d=_0x4aad8c[_0x9c0ac0(0x151)]-0x1,_0x130e4e;_0x498d0d>=0x0;_0x498d0d--)(_0x130e4e=_0x4aad8c[_0x498d0d])&&(_0x3639f3=_0x130e4e(_0x3639f3)||_0x3639f3);return _0x3639f3;},Ue=(_0x598b10,_0x1efe8a)=>(_0x5af1a2,_0x4864eb)=>_0x1efe8a(_0x5af1a2,_0x4864eb,_0x598b10);let ot=class extends _0x5ba552{constructor(_0x233f14,_0x421cab,_0x193b9a,_0xc09726,_0x47c743){var _0x14d81f=_0x297613;super(),this['_injector']=_0x233f14,this[_0x14d81f(0x27f)]=_0x421cab,this['_permissionService']=_0x193b9a,this['_collaborationSessionService']=_0xc09726,this[_0x14d81f(0x2f2)]=_0x47c743,this['_initUnitPermissionChange'](),this[_0x14d81f(0x290)]();}[_0x297613(0x290)](){var _0x4e802f=_0x297613;const _0xaa8483=async _0x1a9859=>{var _0x4910c8=_0x2e51;(await this[_0x4910c8(0x410)][_0x4910c8(0x35d)](_0x1a9859))[_0x4910c8(0x3d6)][_0x4910c8(0x279)](_0x285157(_0x3b89fb=>_0x3b89fb['eventID']===_0x4752c4[_0x4910c8(0x280)]),_0x117cbb(this['dispose$']))[_0x4910c8(0x160)](_0x36697d=>{var _0x22be39=_0x4910c8;const _0x4142fb=_0x36697d,{reason:_0x13f0c0}=_0x4142fb['data'];this[_0x22be39(0x2f2)][_0x22be39(0x260)]({'id':re[_0x22be39(0x194)],'data':_0x13f0c0}),this[_0x22be39(0x29c)]['updatePermissionPoint'](new _0x266c0e(_0x1a9859)['id'],!0x1),this[_0x22be39(0x410)][_0x22be39(0x201)](_0x1a9859);});};_0x1e2b79(this[_0x4e802f(0x27f)][_0x4e802f(0x107)](_0x36d7f4[_0x4e802f(0x191)]),this['_univerInstanceService'][_0x4e802f(0x107)](_0x36d7f4['UNIVER_DOC']))[_0x4e802f(0x279)](_0x2c6a51(_0x5e138a=>_0x5e138a[_0x4e802f(0x281)]()),_0x285157(_0x45307d=>!_0x9c9bc8(_0x45307d)),_0x117cbb(this['dispose$']))[_0x4e802f(0x160)](_0x5bb016=>{_0xaa8483(_0x5bb016);});}[_0x297613(0x1db)](){var _0x306c86=_0x297613;const _0x52f1a2=async _0x2223eb=>{var _0x5b2485=_0x2e51;const _0x4d5040=await this[_0x5b2485(0x410)][_0x5b2485(0x35d)](_0x2223eb),_0x449486=this[_0x5b2485(0x13e)][_0x5b2485(0x2a5)](_0x113cea);_0x4d5040[_0x5b2485(0x3d6)][_0x5b2485(0x279)](_0x285157(_0x4e4005=>_0x4e4005['eventID']===_0x4752c4['UPDATE_PERMISSION_OBJ']),_0x117cbb(this['dispose$']))[_0x5b2485(0x160)](_0x2cec05=>{var _0x16d873=_0x5b2485;const _0x532cf6=_0x2cec05,{objectId:_0x5d579a}=_0x532cf6[_0x16d873(0x34e)];_0x5d579a===_0x2223eb?_0x449486['initWorkbookPermissionChange'](_0x2223eb):_0x449486[_0x16d873(0x3ba)](_0x2223eb,_0x5d579a);});};_0x1e2b79(this[_0x306c86(0x27f)][_0x306c86(0x107)](_0x36d7f4['UNIVER_SHEET']))[_0x306c86(0x279)](_0x2c6a51(_0x11679d=>_0x11679d['getUnitId']()),_0x285157(_0x260ceb=>!_0x9c9bc8(_0x260ceb)),_0x117cbb(this[_0x306c86(0x236)]))[_0x306c86(0x160)](_0x414a9c=>{_0x52f1a2(_0x414a9c);});}};ot=tr([Ue(0x0,_0x26bbed(_0x58079d)),Ue(0x1,_0xf06b0d),Ue(0x2,_0x2efae6),Ue(0x3,_0x26bbed(Le)),Ue(0x4,_0x26bbed(ve))],ot);var ir=Object[_0x297613(0x1f3)],sr=(_0x1f43f6,_0x30cba9,_0x5c3a68,_0x3638bf)=>{var _0x25ab1b=_0x297613;for(var _0x6af59d=_0x3638bf>0x1?void 0x0:_0x3638bf?ir(_0x30cba9,_0x5c3a68):_0x30cba9,_0x4615e8=_0x1f43f6[_0x25ab1b(0x151)]-0x1,_0x5eb732;_0x4615e8>=0x0;_0x4615e8--)(_0x5eb732=_0x1f43f6[_0x4615e8])&&(_0x6af59d=_0x5eb732(_0x6af59d)||_0x6af59d);return _0x6af59d;},ai=(_0xcec7bd,_0x32a549)=>(_0x5a59a5,_0x319233)=>_0x32a549(_0x5a59a5,_0x319233,_0xcec7bd);let Ct=class{constructor(_0x14f157,_0x3f8618){var _0x49d9af=_0x297613;this[_0x49d9af(0x37c)]=_0x14f157,this['_httpService']=_0x3f8618;}async['getUnitOnRev'](_0x59dd36,_0x3f55dc){var _0xdcd861=_0x297613,_0x303632;const {unitID:_0x4e2e02,type:_0x30705,revision:_0x314f21=0x0}=_0x3f55dc,_0x3672c6=this[_0xdcd861(0x311)]()+'/'+_0x30705+'/unit/'+_0x4e2e02+_0xdcd861(0x387)+_0x314f21,_0x12eedd=(await this[_0xdcd861(0x2d3)]['get'](_0x3672c6))[_0xdcd861(0x1d4)],_0x5af307=(_0x303632=_0x12eedd[_0xdcd861(0x1c0)])==null?void 0x0:_0x303632[_0xdcd861(0x1cf)];if(_0x5af307){const _0x14c728=_0x5af307==null?void 0x0:_0x5af307[_0xdcd861(0x340)],_0x2d1f95=_0x3c0bfe[_0xdcd861(0x3be)](_0xb5d35d(_0x14c728));_0x5af307['originalMeta']=_0x2d1f95,Object[_0xdcd861(0x137)](_0x5af307['sheets'])[_0xdcd861(0x1bd)](([,_0x4257f6])=>{var _0x540645=_0xdcd861;const _0x5cb9ba=_0x4257f6[_0x540645(0x340)],_0x384498=_0x3c0bfe['encode'](_0xb5d35d(_0x5cb9ba));_0x4257f6[_0x540645(0x340)]=_0x384498;});}return _0x12eedd;}async[_0x297613(0x2dd)](_0x56c5d9,_0x1c34cb){var _0x5f4a24=_0x297613;const {unitID:_0x286e49,type:_0x573875,blockID:_0x30ea83}=_0x1c34cb,_0x1c900f=this['_getAPIPrefix']()+'/'+_0x573875+'/unit/'+_0x286e49+_0x5f4a24(0x1e4)+_0x30ea83;return(await this[_0x5f4a24(0x2d3)][_0x5f4a24(0x2a5)](_0x1c900f))[_0x5f4a24(0x1d4)];}async[_0x297613(0x37a)](_0x3d323a,_0x306319){var _0x12252e=_0x297613;const {unitID:_0xf3bfb,type:_0x14d33b,blockID:_0x3e5b79}=_0x306319,_0x15bcea=this[_0x12252e(0x3c6)]()+_0x12252e(0x1e4)+_0x14d33b+_0x12252e(0x396)+_0xf3bfb+_0x12252e(0x1e4)+_0x3e5b79;return(await this[_0x12252e(0x2d3)][_0x12252e(0x2a5)](_0x15bcea))[_0x12252e(0x1d4)];}async[_0x297613(0x365)](_0x5a3121,_0x57fa24){var _0x358aa0=_0x297613;const {unitID:_0x57d6f5,type:_0x22e9cd,from:_0x3b4356,to:_0x3bc7f9}=_0x57fa24,_0xc743bd=this[_0x358aa0(0x3c6)]()+'/'+_0x22e9cd+_0x358aa0(0x396)+_0x57d6f5+_0x358aa0(0x26f)+_0x3b4356+_0x358aa0(0x170)+_0x3bc7f9;return(await this['_httpService'][_0x358aa0(0x2a5)](_0xc743bd))[_0x358aa0(0x1d4)];}['getSnapshotAPIPath'](){var _0x14554a=_0x297613,_0x3a2518;return(_0x3a2518=this[_0x14554a(0x37c)][_0x14554a(0x261)](ps))!=null?_0x3a2518:this[_0x14554a(0x3c6)]();}[_0x297613(0x3c6)](){var _0x417f50=_0x297613,_0x32b910;const _0x7fb683=this[_0x417f50(0x37c)]['getConfig'](K);return(_0x32b910=_0x7fb683==null?void 0x0:_0x7fb683[_0x417f50(0x11c)])!=null?_0x32b910:Es;}async[_0x297613(0x142)](_0x4b5fe8,_0x5f41e1){var _0x227256=_0x297613;const _0x4d97f4=_0x227256(0x397)+_0x5f41e1[_0x227256(0x189)]+'/unit/'+_0x5f41e1[_0x227256(0x135)]+'/resources';return(await this[_0x227256(0x2d3)][_0x227256(0x2a5)](_0x4d97f4,{'params':{'resourceId':JSON[_0x227256(0x2a3)](_0x5f41e1[_0x227256(0x118)])}}))['body'];}[_0x297613(0x115)](){var _0x37ece7=_0x297613;throw new Error(_0x37ece7(0x100));}[_0x297613(0x3b8)](){var _0x2be83e=_0x297613;throw new Error(_0x2be83e(0x100));}[_0x297613(0x248)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x297613(0x35c)](){var _0x47a1fc=_0x297613;throw new Error(_0x47a1fc(0x100));}['copyFileMeta'](){var _0x1a4f9c=_0x297613;throw new Error(_0x1a4f9c(0x100));}['getLatestCsReqIdBySid'](){var _0x5bbaa5=_0x297613;throw new Error(_0x5bbaa5(0x100));}};Ct=sr([ai(0x0,_0x8e0d98),ai(0x1,_0x26bbed(_0x2a6ad7))],Ct);var nr=Object[_0x297613(0x1f3)],rr=(_0x794713,_0x59fe5d,_0x4e0e5f,_0x15c926)=>{var _0x1dc7b3=_0x297613;for(var _0x133102=_0x15c926>0x1?void 0x0:_0x15c926?nr(_0x59fe5d,_0x4e0e5f):_0x59fe5d,_0x275686=_0x794713[_0x1dc7b3(0x151)]-0x1,_0x44de94;_0x275686>=0x0;_0x275686--)(_0x44de94=_0x794713[_0x275686])&&(_0x133102=_0x44de94(_0x133102)||_0x133102);return _0x133102;},Ae=(_0x34baca,_0x90e452)=>(_0x5950ef,_0x595eee)=>_0x90e452(_0x5950ef,_0x595eee,_0x34baca);let bt=class extends _0x5d196e{constructor(_0x24125d,_0x28d1bf,_0x92a4ec,_0x52cdf3,_0x11eca8){var _0x66c61a=_0x297613;super(_0x24125d,_0x28d1bf,_0x92a4ec),this[_0x66c61a(0x302)]=_0x52cdf3,this[_0x66c61a(0x27d)]=_0x11eca8;}[_0x297613(0x26d)](_0xfeef27,_0x35ae73){var _0x2ac505=_0x297613;const _0x30ab84=this[_0x2ac505(0x35b)](_0xfeef27);if(_0x30ab84)try{const _0x2b3028=this['_transformStack'](_0x30ab84,_0x35ae73);this[_0x2ac505(0x2e5)](_0xfeef27,_0x2b3028);}catch(_0x537c7f){this[_0x2ac505(0x27d)][_0x2ac505(0x342)](_0x2ac505(0x3dd),_0x537c7f),this[_0x2ac505(0x1c2)](_0xfeef27);}const _0x3ec035=this['_getRedoStack'](_0xfeef27);if(_0x3ec035)try{const _0x29654e=this['_transformStack'](_0x3ec035,_0x35ae73);this[_0x2ac505(0x32e)](_0xfeef27,_0x29654e);}catch(_0x1880c2){this['_logService'][_0x2ac505(0x342)](_0x1880c2),this[_0x2ac505(0x20c)](_0xfeef27);}}[_0x297613(0x1c2)](_0x5bc2ea){var _0x116b90=_0x297613;const _0x2a99b0=this[_0x116b90(0x35b)](_0x5bc2ea);_0x2a99b0&&(_0x2a99b0[_0x116b90(0x151)]=0x0,this['_updateStatus']());}[_0x297613(0x20c)](_0x47b94f){var _0x37ea59=_0x297613;const _0x5d0b44=this['_getRedoStack'](_0x47b94f);_0x5d0b44&&(_0x5d0b44[_0x37ea59(0x151)]=0x0,this['_updateStatus']());}[_0x297613(0x2e5)](_0x5c4603,_0x4dc651){var _0x41edac=_0x297613;this[_0x41edac(0x3c5)][_0x41edac(0x208)](_0x5c4603,_0x4dc651),this[_0x41edac(0x312)]();}[_0x297613(0x32e)](_0x17f400,_0x20c5cc){var _0x465d22=_0x297613;this[_0x465d22(0x407)][_0x465d22(0x208)](_0x17f400,_0x20c5cc),this['_updateStatus']();}[_0x297613(0x2f6)](_0x25dd77,_0x49b24f){var _0x11c511=_0x297613;const _0x54264c=[];let _0x1945f9=_0x49b24f,_0x397fee=_0x49b24f;for(let _0x2d61c8=_0x25dd77['length']-0x1;_0x2d61c8>=0x0;_0x2d61c8--){const {unitID:_0x1d5a50,undoMutations:_0x4eaf3b,redoMutations:_0x3f9c9a}=_0x25dd77[_0x2d61c8],_0x41fb65=this['_transformService']['transformMutationsWithChangeset'](_0x1945f9,_0x4eaf3b),_0x4594fa=this[_0x11c511(0x302)][_0x11c511(0x2ac)](_0x397fee,_0x3f9c9a);if(_0x41b5d2(_0x41fb65)||_0x41b5d2(_0x4594fa)){this[_0x11c511(0x27d)][_0x11c511(0x342)]('[CollaborationUndoRedoService]',_0x11c511(0x11d),_0x41fb65,_0x4594fa);break;}_0x1945f9=_0x41fb65[_0x11c511(0x1bc)],_0x397fee=_0x4594fa['c1Prime'],_0x54264c[_0x11c511(0x180)]({'unitID':_0x1d5a50,'undoMutations':_0x41fb65[_0x11c511(0x16b)],'redoMutations':_0x4594fa[_0x11c511(0x16b)]});}return _0x54264c[_0x11c511(0x24d)]();}};bt=rr([Ae(0x0,_0xf06b0d),Ae(0x1,_0x3b90e9),Ae(0x2,_0x57a6c5),Ae(0x3,_0x5735e6),Ae(0x4,_0x2f0a5f)],bt);var ar=Object['defineProperty'],or=Object[_0x297613(0x1f3)],cr=(_0x141afc,_0x5570a5,_0x273cf1)=>_0x5570a5 in _0x141afc?ar(_0x141afc,_0x5570a5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x273cf1}):_0x141afc[_0x5570a5]=_0x273cf1,_r=(_0x36848e,_0x20c249,_0x31f9ae,_0x3ed3e9)=>{var _0x500c86=_0x297613;for(var _0x1ffe83=_0x3ed3e9>0x1?void 0x0:_0x3ed3e9?or(_0x20c249,_0x31f9ae):_0x20c249,_0x4a1cf5=_0x36848e[_0x500c86(0x151)]-0x1,_0x58fc86;_0x4a1cf5>=0x0;_0x4a1cf5--)(_0x58fc86=_0x36848e[_0x4a1cf5])&&(_0x1ffe83=_0x58fc86(_0x1ffe83)||_0x1ffe83);return _0x1ffe83;},pt=(_0x2d22f3,_0x58db74)=>(_0x661b29,_0x2cb2bf)=>_0x58db74(_0x661b29,_0x2cb2bf,_0x2d22f3),hr=(_0x14d850,_0x2f6df3,_0x3636df)=>cr(_0x14d850,_0x2f6df3+'',_0x3636df);const lr=_0x297613(0x26b);let Dt=class extends _0x531d15{constructor(_0x1f193f,_0xe6d11e,_0x23521c,_0x1f40f2){var _0xbf46a1=_0x297613;super(),D(this,'_config'),(this[_0xbf46a1(0x27d)]=_0xe6d11e,this['_injector']=_0x23521c,this['_configService']=_0x1f40f2);const {..._0x1b5a41}=_0x2d6530({},ks,_0x1f193f);if(!_0x1b5a41[_0xbf46a1(0x3cc)])throw new Error(_0xbf46a1(0x25d));this[_0xbf46a1(0x2c4)]=_0x1b5a41,this['_configService'][_0xbf46a1(0x2a8)](K,_0x1b5a41);}['onStarting'](){var _0x30aff6=_0x297613;this[_0x30aff6(0x352)](),this['_initDependencies']();}[_0x297613(0x352)](){var _0x29a74e=_0x297613,_0x28bb67,_0x55adf2;this[_0x29a74e(0x13e)][_0x29a74e(0x147)](_0xf8321)&&this[_0x29a74e(0x27d)]['error'](_0x29a74e(0x20b),_0x29a74e(0x13a));const _0x3d6366=_0x438977([[_0xf8321,{'useClass':bt}],[Le],[Pe],[it],[rt],[at],[pi],[ot],[ve],[Ot],[Ri,{'useClass':this[_0x29a74e(0x2c4)][_0x29a74e(0x3cc)]}],[_0x560f67,{'useClass':Ct}],[_0x4f7490,{'useClass':Tt}],[_0x1adb9d,{'useClass':Rt}],[_0xaa22bb,{'useClass':Nt}],[nt],[gt]],(_0x28bb67=this['_config'])==null?void 0x0:_0x28bb67['override']);if(!((_0x55adf2=this[_0x29a74e(0x2c4)])!=null&&_0x55adf2[_0x29a74e(0x3c1)])){const _0x5128f9=_0x3d6366[_0x29a74e(0x1de)](([_0x4d6786])=>_0x4d6786===_t);_0x5128f9!==-0x1&&_0x3d6366[_0x29a74e(0x3cf)](_0x5128f9,0x1);}_0x3c6d8c(this['_injector'],_0x3d6366);}[_0x297613(0x268)](){var _0x5cb045=_0x297613,_0x47d97b,_0x7673bb,_0x1cf54a;this[_0x5cb045(0x13e)][_0x5cb045(0x2a5)](_0x2a6ad7)[_0x5cb045(0x2b9)]({'priority':0x14,'interceptor':_0x580fc7({'maxParallel':0x6})}),(_0x47d97b=this[_0x5cb045(0x2c4)])!=null&&_0x47d97b[_0x5cb045(0x1a5)]||(_0x7673bb=this[_0x5cb045(0x13e)][_0x5cb045(0x2a5)](X,_0x332f2a[_0x5cb045(0x401)]))==null||_0x7673bb[_0x5cb045(0x402)](),(_0x1cf54a=this[_0x5cb045(0x2c4)])!=null&&_0x1cf54a['enableAuthServer']&&_0x311e65(this[_0x5cb045(0x13e)],[[rt]]),_0x311e65(this[_0x5cb045(0x13e)],[[at],[nt],[ot]]);}};hr(Dt,_0x297613(0x2f3),lr),Dt=_r([_0x3ebc0f(_0x294beb,_0x4ef3ae),pt(0x1,_0x2f0a5f),pt(0x2,_0x26bbed(_0x58079d)),pt(0x3,_0x8e0d98)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,Le as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,pi as CommentService,ue as ConflictState,Is as DEFAULT_COLLAB_WEB_SOCKET_URL,br as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Or as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Ss as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,Vs as INetworkConditionService,_t as ISingleActiveUnitService,Nr as LOCAL_CACHE_INTERVAL,Rr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Nt as MentionIoHttpService,de as OfflineState,ae as PendingState,Cr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Os as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ct as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Gs as deserializeToCombResponse,Dr as getLocalCacheKey,Ws as serializeCombRequest};
1
+ var _0xb830ac=_0x17ca;(function(_0x132285,_0x58f274){var _0x11571e=_0x17ca,_0xf12c68=_0x132285();while(!![]){try{var _0x21d777=-parseInt(_0x11571e(0x171))/0x1+-parseInt(_0x11571e(0x1b1))/0x2*(parseInt(_0x11571e(0x185))/0x3)+parseInt(_0x11571e(0x262))/0x4+-parseInt(_0x11571e(0x3bb))/0x5*(-parseInt(_0x11571e(0x1f8))/0x6)+-parseInt(_0x11571e(0x1fb))/0x7+parseInt(_0x11571e(0x20b))/0x8*(parseInt(_0x11571e(0x224))/0x9)+parseInt(_0x11571e(0x265))/0xa*(-parseInt(_0x11571e(0x369))/0xb);if(_0x21d777===_0x58f274)break;else _0xf12c68['push'](_0xf12c68['shift']());}catch(_0x5e70dd){_0xf12c68['push'](_0xf12c68['shift']());}}}(_0x1d47,0xac7ce));var Di=Object[_0xb830ac(0x180)],yi=(_0x24f01a,_0x2f6a64,_0x2637e3)=>_0x2f6a64 in _0x24f01a?Di(_0x24f01a,_0x2f6a64,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2637e3}):_0x24f01a[_0x2f6a64]=_0x2637e3,D=(_0x163610,_0x4900b2,_0x293b94)=>yi(_0x163610,typeof _0x4900b2!=_0xb830ac(0x306)?_0x4900b2+'':_0x4900b2,_0x293b94);import{CollaborationEvent as _0x4fe2f4,ITransformService as _0x3e67f5,isTransformMutationsWithChangesetSuccess as _0x4c5d6f,mapDocumentTypeToUniverType as _0x46a280,RevisionService as _0x19252a,isTransformChangesetsSuccess as _0x577c16,EmptyMutationInfo as _0x20defb,CompressMutationService as _0xe69ba6,parseProtocolChangeset as _0x4d2371,uuidv4 as _0x2e6657,ISnapshotServerService as _0x256d14,parseChangesetToProtocol as _0x7a02c2,SnapshotService as _0x16b550,textEncoder as _0x239223,b64DecodeUnicode as _0x9b7a41,isTransformMutationsWithChangesetFailure as _0x2a7718,UniverCollaborationPlugin as _0x3bfe3e}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x469993,Inject as _0x2aff60,UserManagerService as _0x2f2574,Disposable as _0x484da3,UniverInstanceType as _0x2d50ad,ILogService as _0x469422,IConfigService as _0x495b35,Optional as _0x2c2398,RxDisposable as _0x19a501,createIdentifier as _0x4d8857,Injector as _0x57442c,Tools as _0x1885ff,Rectangle as _0xcdb3a4,ICommandService as _0x26c597,JSONX as _0x5e6a4d,IUndoRedoService as _0xf3cf67,IPermissionService as _0x228023,LocaleService as _0x22c541,sequenceExecute as _0x253229,toDisposable as _0x17653c,CommandType as _0x48d90a,DisposableCollection as _0x4a5193,Workbook as _0x19906d,resolveWithBasePath as _0x188f0c,generateRandomId as _0x49efa2,MentionType as _0x450374,isInternalEditorID as _0x483a44,LocalUndoRedoService as _0x283e51,IContextService as _0x3befc9,DependentOn as _0x22d998,Plugin as _0x14de56,merge as _0x5e72bb,mergeOverrideWithDependencies as _0x5d2cbc,IAuthzIoService as _0x9db73a,IMentionIOService as _0x4eff9c,registerDependencies as _0x4eb64e,Quantity as _0x315b9b,touchDependencies as _0xd8901c}from'@univerjs/core';import{RichTextEditingMutation as _0xd7a1e}from'@univerjs/docs';import{SheetsSelectionsService as _0x338a76,SetSelectionsOperation as _0x124efa,InsertSheetMutation as _0x498872,WorkbookEditablePermission as _0x27abd8,SheetPermissionInitController as _0xf9df9f}from'@univerjs/sheets';import{Subject as _0x486fe1,merge as _0x12897c,of as _0x1e2000,BehaviorSubject as _0x392068,takeUntil as _0x31e3f0,ReplaySubject as _0x5cc4a1,take as _0x3bd633,map as _0x4de580,shareReplay as _0x286661,firstValueFrom as _0x356fd4,concatMap as _0x1973e3}from'rxjs';import{ITelemetryService as _0x1ce63c}from'@univerjs/telemetry';import{map as _0x23d4e7,take as _0x417dfc,filter as _0x15cae6,delay as _0x325e28,takeUntil as _0x22f454}from'rxjs/operators';import{HTTPService as _0x562ff5,ISocketService as _0x141d63,MergeInterceptorFactory as _0x5d7cff,HTTPRequest as _0x536ac0,UniverNetworkPlugin as _0x267d46,ThresholdInterceptorFactory as _0x80a204}from'@univerjs/network';import{ImageSourceType as _0x488ba6,ImageUploadStatusType as _0x34a7b8,IImageIoService as _0x2e435f}from'@univerjs/drawing';import{getGlobalObject as _0x437485}from'@univerjs-pro/license';const Es='/universer-api/snapshot',ps=_0xb830ac(0x242),ms=0x7d0,Is=_0xb830ac(0x113),Or=_0xb830ac(0x156),Ss='HEARTBEAT_INTERVAL',gs=0x7530,di='HEARTBEAT_TIMEOUT',fi=0x4e20,Ts=0x4e20,Os=_0xb830ac(0x2e6),Rs=0x3,Rr=_0xb830ac(0xf7),Nr=0x3e8,Ns='/universer-api/comb',Cs=_0xb830ac(0x243),Cr='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',br=_0xb830ac(0x158);var vi=(_0x9c4c2e=>(_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x3c8)]=0x0]=_0xb830ac(0x3c8),_0x9c4c2e[_0x9c4c2e['OK']=0x1]='OK',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x201)]=0x2]=_0xb830ac(0x201),_0x9c4c2e[_0x9c4c2e['PERMISSION_DENIED']=0x3]=_0xb830ac(0x378),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x3e4)]=0x4]=_0xb830ac(0x3e4),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x3e0)]=0x5]=_0xb830ac(0x3e0),_0x9c4c2e[_0x9c4c2e['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x252)]=0x7]=_0xb830ac(0x252),_0x9c4c2e[_0x9c4c2e['TOO_MANY_REQUESTS']=0x8]=_0xb830ac(0x2ff),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x3cd)]=0x9]=_0xb830ac(0x3cd),_0x9c4c2e[_0x9c4c2e['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x2aa)]=0xb]=_0xb830ac(0x2aa),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x387)]=0xc]=_0xb830ac(0x387),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x291)]=0xd]=_0xb830ac(0x291),_0x9c4c2e[_0x9c4c2e['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xb830ac(0x20a),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x1d6)]=0xf]=_0xb830ac(0x1d6),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0xee)]=0x10]=_0xb830ac(0xee),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x135)]=0x64]=_0xb830ac(0x135),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x3c3)]=0x65]=_0xb830ac(0x3c3),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x24e)]=0xc9]=_0xb830ac(0x24e),_0x9c4c2e[_0x9c4c2e['USER_IS_ANONYMOUS']=0xca]=_0xb830ac(0x1ce),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x24a)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x38c)]=0x1771]=_0xb830ac(0x38c),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x1a8)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x9c4c2e[_0x9c4c2e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xb830ac(0x1b3),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x15a)]=0x1b59]='APPLY_REJECT',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x339)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x9c4c2e[_0x9c4c2e['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xb830ac(0x394),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x3d4)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x3eb)]=0x1b5d]=_0xb830ac(0x3eb),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x3c1)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x132)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x22d)]=0x232a]=_0xb830ac(0x22d),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x3af)]=0x232b]=_0xb830ac(0x3af),_0x9c4c2e[_0x9c4c2e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0xb830ac(0x365),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x342)]=0x232d]=_0xb830ac(0x342),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x24f)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x36c)]=0x2712]=_0xb830ac(0x36c),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x21a)]=0x2713]=_0xb830ac(0x21a),_0x9c4c2e[_0x9c4c2e['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xb830ac(0x2a0),_0x9c4c2e[_0x9c4c2e['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x305)]=0x271b]=_0xb830ac(0x305),_0x9c4c2e[_0x9c4c2e['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x9c4c2e[_0x9c4c2e['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0xb830ac(0x255),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x33e)]=0x271e]=_0xb830ac(0x33e),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x38e)]=0x271f]=_0xb830ac(0x38e),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x207)]=0x2720]=_0xb830ac(0x207),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x216)]=0x2af9]=_0xb830ac(0x216),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x3ea)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x9c4c2e[_0x9c4c2e['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x11e)]=0x2ee3]=_0xb830ac(0x11e),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x190)]=0x2ee4]=_0xb830ac(0x190),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x1f9)]=0x2ee5]=_0xb830ac(0x1f9),_0x9c4c2e[_0x9c4c2e['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0xb830ac(0x3a1),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x331)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x1cf)]=0x32cb]=_0xb830ac(0x1cf),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x36e)]=0x36b1]=_0xb830ac(0x36e),_0x9c4c2e[_0x9c4c2e['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0xb830ac(0x1a9),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x219)]=0x36b3]=_0xb830ac(0x219),_0x9c4c2e[_0x9c4c2e['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x39e)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x267)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x37b)]=0x36b7]=_0xb830ac(0x37b),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x1aa)]=0x36b8]=_0xb830ac(0x1aa),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x1b4)]=0x3715]=_0xb830ac(0x1b4),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x36f)]=0x3716]=_0xb830ac(0x36f),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x31d)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x14d)]=0x37dd]=_0xb830ac(0x14d),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x3a2)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x2f4)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x32a)]=0x3a9b]=_0xb830ac(0x32a),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x34e)]=0x3a9c]=_0xb830ac(0x34e),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x3ab)]=0x3a9d]=_0xb830ac(0x3ab),_0x9c4c2e[_0x9c4c2e['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0xb830ac(0x1e7),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x350)]=0x3a9f]=_0xb830ac(0x350),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0xf4)]=0x3e81]=_0xb830ac(0xf4),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x111)]=-0x1]=_0xb830ac(0x111),_0x9c4c2e))(vi||{}),Q=(_0x727382=>(_0x727382[_0x727382[_0xb830ac(0x287)]=0x0]='UNIVER_UNKNOWN',_0x727382[_0x727382[_0xb830ac(0x264)]=0x1]=_0xb830ac(0x264),_0x727382[_0x727382[_0xb830ac(0x15b)]=0x2]=_0xb830ac(0x15b),_0x727382[_0x727382[_0xb830ac(0x336)]=0x3]=_0xb830ac(0x336),_0x727382[_0x727382[_0xb830ac(0x388)]=0x4]=_0xb830ac(0x388),_0x727382[_0x727382[_0xb830ac(0x111)]=-0x1]=_0xb830ac(0x111),_0x727382))(Q||{}),j=(_0x32db00=>(_0x32db00[_0x32db00['UNKNOWN_CMD']=0x0]=_0xb830ac(0x268),_0x32db00[_0x32db00[_0xb830ac(0x39c)]=0x1]='HELLO',_0x32db00[_0x32db00['JOIN']=0x2]=_0xb830ac(0x258),_0x32db00[_0x32db00['LEAVE']=0x3]=_0xb830ac(0x303),_0x32db00[_0x32db00['INGEST']=0x4]='INGEST',_0x32db00[_0x32db00['HEARTBEAT']=0x5]=_0xb830ac(0x16c),_0x32db00[_0x32db00[_0xb830ac(0x177)]=0x6]=_0xb830ac(0x177),_0x32db00[_0x32db00[_0xb830ac(0x111)]=-0x1]=_0xb830ac(0x111),_0x32db00))(j||{}),Ee=(_0x9ce498=>(_0x9ce498[_0x9ce498['UNKNOWN_CODE']=0x0]=_0xb830ac(0x240),_0x9ce498[_0x9ce498['OK']=0x1]='OK',_0x9ce498[_0x9ce498['FAIL']=0x2]=_0xb830ac(0x26f),_0x9ce498[_0x9ce498[_0xb830ac(0xfa)]=0x3e9]=_0xb830ac(0xfa),_0x9ce498[_0x9ce498[_0xb830ac(0x3e6)]=0x3ea]=_0xb830ac(0x3e6),_0x9ce498[_0x9ce498[_0xb830ac(0x3b8)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x9ce498[_0x9ce498[_0xb830ac(0x1c9)]=0x3ec]=_0xb830ac(0x1c9),_0x9ce498[_0x9ce498['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x9ce498))(Ee||{}),Ei=(_0x2c93b4=>(_0x2c93b4[_0x2c93b4['Undefined']=0x0]=_0xb830ac(0x223),_0x2c93b4[_0x2c93b4['HttpImport']=0x1]=_0xb830ac(0x2c1),_0x2c93b4[_0x2c93b4[_0xb830ac(0x259)]=0x2]='HttpExport',_0x2c93b4[_0x2c93b4[_0xb830ac(0x2df)]=0x3]=_0xb830ac(0x2df),_0x2c93b4[_0x2c93b4[_0xb830ac(0x19e)]=0x4]=_0xb830ac(0x19e),_0x2c93b4[_0x2c93b4[_0xb830ac(0x2cc)]=0x5]=_0xb830ac(0x2cc),_0x2c93b4[_0x2c93b4[_0xb830ac(0x117)]=0x6]='ClipsheetFragments',_0x2c93b4[_0x2c93b4[_0xb830ac(0x111)]=-0x1]='UNRECOGNIZED',_0x2c93b4))(Ei||{});const bs='collaboration_new_changeset';function Ds(_0x3d8996){var _0x295fb1=_0xb830ac;return JSON['stringify'](_0x3d8996)[_0x295fb1(0x13f)];}var re=(_0x396bb4=>(_0x396bb4[_0xb830ac(0x102)]=_0xb830ac(0x102),_0x396bb4[_0xb830ac(0x378)]=_0xb830ac(0x378),_0x396bb4[_0xb830ac(0x1df)]=_0xb830ac(0x1df),_0x396bb4['CLOSE_ROOM']='CLOSE_ROOM',_0x396bb4[_0xb830ac(0x130)]='JOIN_ROOM_FAILED',_0x396bb4[_0xb830ac(0x25f)]='SOCKET_FAILED_RETRY',_0x396bb4[_0xb830ac(0x28e)]=_0xb830ac(0x28e),_0x396bb4[_0xb830ac(0x29d)]=_0xb830ac(0x29d),_0x396bb4))(re||{});class ve{constructor(){var _0xcc3b27=_0xb830ac;D(this,_0xcc3b27(0x198),new _0x486fe1()),D(this,'event$',this['_event$'][_0xcc3b27(0x290)]());}[_0xb830ac(0x2f9)](_0x33a928){var _0x5108df=_0xb830ac;this['_event$'][_0x5108df(0x309)](_0x33a928);}}class pi{constructor(){var _0x413e47=_0xb830ac;D(this,_0x413e47(0x3ba),new _0x486fe1()),D(this,_0x413e47(0x22b),this[_0x413e47(0x3ba)][_0x413e47(0x290)]());}['onCommentUpdate'](_0xec0bb7){var _0x46891f=_0xb830ac;this[_0x46891f(0x3ba)]['next'](_0xec0bb7);}}var ys=Object[_0xb830ac(0x2f2)],Us=(_0x508682,_0x2cf47f,_0x23d9a0,_0xa5fbf8)=>{var _0x833b78=_0xb830ac;for(var _0x2906b0=_0xa5fbf8>0x1?void 0x0:_0xa5fbf8?ys(_0x2cf47f,_0x23d9a0):_0x2cf47f,_0x11df10=_0x508682[_0x833b78(0x13f)]-0x1,_0x261f65;_0x11df10>=0x0;_0x11df10--)(_0x261f65=_0x508682[_0x11df10])&&(_0x2906b0=_0x261f65(_0x2906b0)||_0x2906b0);return _0x2906b0;},Ft=(_0x35ecf3,_0x52f67d)=>(_0x4d8650,_0x803dcb)=>_0x52f67d(_0x4d8650,_0x803dcb,_0x35ecf3);let Pe=class extends _0x484da3{constructor(_0x2414ea,_0x3afc23){var _0x451590=_0xb830ac;super(),D(this,_0x451590(0x21e),new Map()),D(this,'_roomCreated$',new _0x486fe1()),(this[_0x451590(0x227)]=_0x2414ea,this[_0x451590(0x409)]=_0x3afc23,this['disposeWithMe'](_0x12897c(this['_univerInstanceService'][_0x451590(0x3e7)](_0x2d50ad[_0x451590(0x15b)])[_0x451590(0x12e)](_0x23d4e7(_0x505964=>_0x505964['getUnitId']())),this['_univerInstanceService'][_0x451590(0x3e7)](_0x2d50ad[_0x451590(0x264)])['pipe'](_0x23d4e7(_0x2506fe=>_0x2506fe['getUnitId']())),this[_0x451590(0x227)]['getTypeOfUnitDisposed$'](_0x2d50ad[_0x451590(0x336)])['pipe'](_0x23d4e7(_0x5bffc4=>_0x5bffc4[_0x451590(0x3b7)]())))['subscribe'](_0x5da97e=>this[_0x451590(0x28a)](_0x5da97e))));}[_0xb830ac(0x2f6)](_0x15a2d0){var _0x48c30f=_0xb830ac;return this[_0x48c30f(0x21e)][_0x48c30f(0x362)](_0x15a2d0)?_0x1e2000(this[_0x48c30f(0x21e)][_0x48c30f(0x12c)](_0x15a2d0)):this[_0x48c30f(0x321)][_0x48c30f(0x12e)](_0x23d4e7(_0x3195b8=>{var _0x23d04c=_0x48c30f;if(_0x3195b8===_0x15a2d0)return this[_0x23d04c(0x21e)][_0x23d04c(0x12c)](_0x3195b8);}));}[_0xb830ac(0x1f6)](_0x95f345){var _0x467b10=_0xb830ac;this[_0x467b10(0x409)]['setCurrentUser'](_0x95f345);}['getCurrentUser'](){var _0x476db1=_0xb830ac;return this[_0x476db1(0x409)][_0x476db1(0x284)]();}[_0xb830ac(0x182)](_0x41403f,_0x1798c8){var _0x2f1ddb=_0xb830ac;let _0x49e948=this[_0x2f1ddb(0x21e)][_0x2f1ddb(0x12c)](_0x41403f);_0x49e948||(_0x49e948=new As(),this[_0x2f1ddb(0x21e)]['set'](_0x41403f,_0x49e948),this[_0x2f1ddb(0x321)]['next'](_0x41403f)),_0x49e948[_0x2f1ddb(0x182)](_0x1798c8);}['removeMember'](_0x1d6dba,_0x10e907){var _0x152974=_0xb830ac;const _0x15f0b4=this[_0x152974(0x21e)]['get'](_0x1d6dba);_0x15f0b4&&_0x15f0b4['removeMember'](_0x10e907);}[_0xb830ac(0x3c5)](_0x5e1c06){var _0x2b6214=_0xb830ac;return this['_roomMembers'][_0x2b6214(0x12c)](_0x5e1c06);}[_0xb830ac(0x172)](_0x28b878,_0x4f4c93){var _0x4b4e38=_0xb830ac;const _0x141f10=this[_0x4b4e38(0x21e)][_0x4b4e38(0x12c)](_0x28b878);if(_0x141f10)return _0x141f10[_0x4b4e38(0x172)](_0x4f4c93);}[_0xb830ac(0x28a)](_0x5e5d1e){var _0x761587=_0xb830ac;const _0x3bd6a8=this[_0x761587(0x21e)][_0x761587(0x12c)](_0x5e5d1e);_0x3bd6a8&&(_0x3bd6a8['dispose'](),this[_0x761587(0x21e)][_0x761587(0x100)](_0x5e5d1e));}['dispose'](){var _0x5c6546=_0xb830ac;this['_roomMembers'][_0x5c6546(0x2a3)](_0x2986b7=>_0x2986b7[_0x5c6546(0x1b6)]()),this[_0x5c6546(0x21e)][_0x5c6546(0x17b)](),this[_0x5c6546(0x321)][_0x5c6546(0x2cf)]();}};Pe=Us([Ft(0x0,_0x469993),Ft(0x1,_0x2aff60(_0x2f2574))],Pe);class As extends _0x484da3{constructor(){var _0x4bc353=_0xb830ac;super(...arguments),D(this,_0x4bc353(0x2d2),new Map()),D(this,'_members$',new _0x392068(this[_0x4bc353(0x2d2)])),D(this,'members$',this[_0x4bc353(0x1f1)][_0x4bc353(0x290)]());}['dispose'](){var _0x5dec21=_0xb830ac;this[_0x5dec21(0x2d2)]['clear']();}[_0xb830ac(0x182)](_0x5daace){var _0x2eaae6=_0xb830ac;this[_0x2eaae6(0x2d2)][_0x2eaae6(0x1af)](_0x5daace[_0x2eaae6(0x164)],_0x5daace),this[_0x2eaae6(0xf0)]();}['removeMember'](_0x1cd876){var _0x20c9a9=_0xb830ac;this[_0x20c9a9(0x2d2)][_0x20c9a9(0x100)](_0x1cd876);}[_0xb830ac(0x172)](_0x561fd6){var _0x117100=_0xb830ac;return this[_0x117100(0x2d2)][_0x117100(0x12c)](_0x561fd6);}['getAllMembers'](){return Array['from'](this['_members']['values']());}['_emitMembers'](){var _0x369e14=_0xb830ac;this[_0x369e14(0x1f1)][_0x369e14(0x309)](this[_0x369e14(0x2d2)]);}}var Ps=Object[_0xb830ac(0x2f2)],Ls=(_0x13a7f6,_0x358b51,_0x1fe12a,_0xf085f)=>{for(var _0x15b18c=_0xf085f>0x1?void 0x0:_0xf085f?Ps(_0x358b51,_0x1fe12a):_0x358b51,_0xd5cba8=_0x13a7f6['length']-0x1,_0x2fb9b8;_0xd5cba8>=0x0;_0xd5cba8--)(_0x2fb9b8=_0x13a7f6[_0xd5cba8])&&(_0x15b18c=_0x2fb9b8(_0x15b18c)||_0x15b18c);return _0x15b18c;},Oe=(_0x1b8ed2,_0x3ac194)=>(_0x18546b,_0x5475e0)=>_0x3ac194(_0x18546b,_0x5475e0,_0x1b8ed2),me=(_0xa8b217=>(_0xa8b217[_0xa8b217[_0xb830ac(0x308)]=0x0]=_0xb830ac(0x308),_0xa8b217[_0xa8b217[_0xb830ac(0x3e5)]=0x1]=_0xb830ac(0x3e5),_0xa8b217[_0xa8b217['OFFLINE']=0x2]=_0xb830ac(0x1a4),_0xa8b217[_0xa8b217[_0xb830ac(0x320)]=0x3]=_0xb830ac(0x320),_0xa8b217))(me||{});const jt={[Ee[_0xb830ac(0x26f)]]:_0xb830ac(0x1b5),[Ee[_0xb830ac(0xfa)]]:'session.room-full',[Ee[_0xb830ac(0x3e6)]]:_0xb830ac(0x238),[Ee[_0xb830ac(0x3b8)]]:_0xb830ac(0x36b),[Ee[_0xb830ac(0x1c9)]]:'session.room-cnt-exceeds'};let mt=class extends _0x19a501{constructor(_0x41f33e,_0x184b77,_0x185db4,_0x59b31a,_0x11c715,_0x123576,_0x305900,_0x11ca35){var _0xc9ce45=_0xb830ac;super(),D(this,'_sessionStatus$',new _0x392068(0x0)),D(this,'sessionStatus$',this[_0xc9ce45(0x248)][_0xc9ce45(0x290)]()),D(this,_0xc9ce45(0x198),new _0x486fe1()),D(this,'event$',this[_0xc9ce45(0x198)][_0xc9ce45(0x290)]()),D(this,_0xc9ce45(0x26a)),D(this,'_socketMessageSubscription'),D(this,_0xc9ce45(0x14c)),D(this,'_shouldReportTelemetry',!0x1),D(this,'_telemetryInfo',null),(this['_unitID']=_0x41f33e,this[_0xc9ce45(0x3ef)]=_0x185db4,this[_0xc9ce45(0x25e)]=_0x59b31a,this['_memberService']=_0x11c715,this[_0xc9ce45(0x23a)]=_0x123576,this[_0xc9ce45(0x139)]=_0x305900,this['_telemetryService']=_0x11ca35,this[_0xc9ce45(0x200)]=!!this['_telemetryService'],_0x184b77['pipe'](_0x31e3f0(this['dispose$']))[_0xc9ce45(0x3db)](_0x46b280=>{var _0x3c26de=_0xc9ce45,_0x2406e9;typeof _0x46b280>'u'||(this[_0x3c26de(0x26a)]=_0x46b280,_0x46b280?(this[_0x3c26de(0x279)](_0x46b280),this[_0x3c26de(0x355)]=_0x46b280[_0x3c26de(0x399)][_0x3c26de(0x3db)](_0x3716e0=>{var _0x446a6f=_0x3c26de;_0x3716e0[_0x446a6f(0x31c)]===this[_0x446a6f(0x34c)]&&this[_0x446a6f(0x351)](_0x3716e0);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x3c26de(0x248)]['next'](0x2),(_0x2406e9=this[_0x3c26de(0x355)])==null||_0x2406e9['unsubscribe'](),this[_0x3c26de(0x355)]=null));}));}get[_0xb830ac(0x382)](){var _0x51aff6=_0xb830ac;return this[_0x51aff6(0x248)][_0x51aff6(0x2d7)]();}[_0xb830ac(0x1fa)](){var _0x224034=_0xb830ac,_0xea7287,_0x2e14db;return(_0x2e14db=(_0xea7287=this[_0x224034(0x26a)])==null?void 0x0:_0xea7287[_0x224034(0x164)])!=null?_0x2e14db:null;}[_0xb830ac(0x1b6)](){var _0x2b528c=_0xb830ac;super[_0x2b528c(0x1b6)](),this[_0x2b528c(0x1e3)][_0x2b528c(0x309)](),this[_0x2b528c(0x1e3)][_0x2b528c(0x2cf)]();}[_0xb830ac(0x2b5)](){var _0x34d926=_0xb830ac,_0x33c56a,_0x4fb50e;this[_0x34d926(0x38f)](),(_0x33c56a=this['_socket'])==null||_0x33c56a[_0x34d926(0x21f)]({'cmd':j[_0x34d926(0x303)],'data':{'roomID':this[_0x34d926(0x34c)]}}),(_0x4fb50e=this[_0x34d926(0x26a)])==null||_0x4fb50e['close'](),this['_event$'][_0x34d926(0x2cf)](),this[_0x34d926(0x248)][_0x34d926(0x2cf)](),this[_0x34d926(0x1b6)]();}[_0xb830ac(0x351)](_0x5e7512){var _0x4fb830=_0xb830ac;_0x5e7512[_0x4fb830(0x29f)]===j[_0x4fb830(0x258)]?this[_0x4fb830(0x404)](_0x5e7512):_0x5e7512['cmd']===j['RECV']&&this[_0x4fb830(0x3bf)](_0x5e7512);}[_0xb830ac(0x279)](_0xd10be0){var _0xb131eb=_0xb830ac;this[_0xb131eb(0x248)]['next'](0x1),_0xd10be0['send']({'cmd':j[_0xb131eb(0x258)],'routeKey':this[_0xb131eb(0x34c)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0xbff819){var _0x1c153e=_0xb830ac,_0x391ba7;if(_0xbff819[_0x1c153e(0x3fe)]in jt){this['_collaborationUIEventService']['emitEvent']({'id':re[_0x1c153e(0x130)],'data':jt[_0xbff819[_0x1c153e(0x3fe)]]}),this[_0x1c153e(0x248)][_0x1c153e(0x309)](0x2);return;}this[_0x1c153e(0x248)]['next'](0x3);const _0x4e664a=(_0x391ba7=_0xbff819['data']['roomInfos'][this[_0x1c153e(0x34c)]])==null?void 0x0:_0x391ba7['members'];_0x4e664a&&_0x4e664a[_0x1c153e(0x2a3)](_0x2574d3=>this[_0x1c153e(0x32b)][_0x1c153e(0x182)](this[_0x1c153e(0x34c)],_0x2574d3));}[_0xb830ac(0x3bf)](_0x5e4e55){var _0x462a75=_0xb830ac;try{const _0x28e42a=_0x5e4e55[_0x462a75(0x20e)];switch(_0x28e42a[_0x462a75(0x147)]){case _0x4fe2f4[_0x462a75(0x28c)]:this[_0x462a75(0x18c)](_0x28e42a),this[_0x462a75(0x198)][_0x462a75(0x309)](_0x28e42a);break;case _0x4fe2f4['USERS_LEAVE']:this['_onUserLeave'](_0x28e42a),this[_0x462a75(0x198)]['next'](_0x28e42a);break;case _0x4fe2f4['CHANGESET_ACK']:case _0x4fe2f4[_0x462a75(0x141)]:this[_0x462a75(0x2b0)](),this['_clearCollaborationTimeoutTimer'](),this[_0x462a75(0x198)][_0x462a75(0x309)](_0x28e42a);break;case _0x4fe2f4['MSG_FOR_ERROR']:this[_0x462a75(0x3ef)][_0x462a75(0x375)](_0x462a75(0x196)+JSON[_0x462a75(0x2b2)](_0x28e42a)),this[_0x462a75(0x198)][_0x462a75(0x309)](_0x28e42a);break;case _0x4fe2f4[_0x462a75(0x3b3)]:this[_0x462a75(0x23a)][_0x462a75(0x18e)](_0x28e42a[_0x462a75(0x20e)]),this[_0x462a75(0x198)]['next'](_0x28e42a);break;default:this[_0x462a75(0x198)][_0x462a75(0x309)](_0x28e42a);}}catch(_0x2e0fdb){this['_logService']['error'](_0x2e0fdb,_0x5e4e55);}}[_0xb830ac(0x18c)](_0x39969d){var _0x468355=_0xb830ac;this[_0x468355(0x32b)]['updateMember'](this[_0x468355(0x34c)],_0x39969d[_0x468355(0x20e)]);}[_0xb830ac(0x1ee)](_0x3635c8){var _0x2fe4d4=_0xb830ac;this[_0x2fe4d4(0x32b)][_0x2fe4d4(0x366)](this[_0x2fe4d4(0x34c)],_0x3635c8[_0x2fe4d4(0x20e)][_0x2fe4d4(0x164)]);}async['send'](_0x194ac8,_0x1d4892){var _0x508e4c=_0xb830ac;if(this[_0x508e4c(0x382)]!==0x3||!this['_socket'])throw new Error(_0x508e4c(0x1eb));try{_0x194ac8[_0x508e4c(0x147)]===_0x4fe2f4['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x194ac8)),this['_socket'][_0x508e4c(0x21f)]({'cmd':j[_0x508e4c(0x286)],'routeKey':_0x1d4892,'routeType':'','data':_0x194ac8});}catch(_0x36d284){this[_0x508e4c(0x3ef)][_0x508e4c(0x375)](_0x36d284);}}['_scheduleCollaborationTimeoutTimer'](){var _0x2f3a0b=_0xb830ac,_0x305eab;this[_0x2f3a0b(0x14c)]=setTimeout(()=>{var _0x3cbe30=_0x2f3a0b;this['_collaborationTimeoutTimer']=null,this[_0x3cbe30(0x139)][_0x3cbe30(0x2f9)]({'id':re[_0x3cbe30(0x29d)]});},(_0x305eab=this['_configService'][_0x2f3a0b(0x144)](di))!=null?_0x305eab:fi);}['_clearCollaborationTimeoutTimer'](){var _0xf96979=_0xb830ac;this[_0xf96979(0x14c)]&&(clearTimeout(this[_0xf96979(0x14c)]),this[_0xf96979(0x14c)]=null);}[_0xb830ac(0x142)](_0xd5194b){var _0x504610=_0xb830ac;if(!this['_shouldReportTelemetry'])return;const {data:_0x3e30f2}=_0xd5194b,{unitID:_0x965539,changeset:_0xc1082a}=_0x3e30f2,{mutations:_0x4a0c0b,type:_0x3b14d3}=_0xc1082a;this['_telemetryInfo']={'unitId':_0x965539,'type':_0x3b14d3,'startTime':performance[_0x504610(0x134)](),'stopTime':0x0,'duration':0x0,'size':Ds(_0x4a0c0b)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x1ec035=_0xb830ac;if(this[_0x1ec035(0x200)]){if(!this['_telemetryInfo']){this['_logService'][_0x1ec035(0x375)](_0x1ec035(0x257),_0x1ec035(0x131));return;}this['_telemetryInfo']['stopTime']=performance[_0x1ec035(0x134)](),this[_0x1ec035(0x23c)][_0x1ec035(0x1de)]=this[_0x1ec035(0x23c)][_0x1ec035(0x2ad)]-this[_0x1ec035(0x23c)][_0x1ec035(0x288)],this[_0x1ec035(0x371)][_0x1ec035(0x300)](bs,this['_telemetryInfo']),this[_0x1ec035(0x23c)]=null;}}[_0xb830ac(0x38f)](){var _0x413d80=_0xb830ac;this[_0x413d80(0x23c)]=null;}};mt=Ls([Oe(0x2,_0x469422),Oe(0x3,_0x495b35),Oe(0x4,_0x2aff60(Pe)),Oe(0x5,_0x2aff60(pi)),Oe(0x6,_0x2aff60(ve)),Oe(0x7,_0x2c2398(_0x1ce63c))],mt);const X=_0x4d8857(_0xb830ac(0x2fe));function Dr(_0x535e0a){var _0x2f8350=_0xb830ac;return _0x2f8350(0x360)+_0x535e0a;}var Ms=Object['getOwnPropertyDescriptor'],ws=(_0x487474,_0x882666,_0x279422,_0x261cdc)=>{var _0x2c4002=_0xb830ac;for(var _0x3e5f12=_0x261cdc>0x1?void 0x0:_0x261cdc?Ms(_0x882666,_0x279422):_0x882666,_0x18587b=_0x487474[_0x2c4002(0x13f)]-0x1,_0x31a4e0;_0x18587b>=0x0;_0x18587b--)(_0x31a4e0=_0x487474[_0x18587b])&&(_0x3e5f12=_0x31a4e0(_0x3e5f12)||_0x3e5f12);return _0x3e5f12;},ut=(_0x11db4e,_0x1f1e68)=>(_0x35fb7d,_0x18ba86)=>_0x1f1e68(_0x35fb7d,_0x18ba86,_0x11db4e);function xs(_0x606564){var _0x273904=_0xb830ac;const {unitID:_0x34307b,mutations:_0xb83ef0}=_0x606564;return{'unitId':_0x34307b,'subUnitId':_0xb83ef0[_0x273904(0x13f)]>0x0?_0xb83ef0[0x0][_0x273904(0x2af)][_0x273904(0x1da)]:null};}let it=class{constructor(_0x24f885,_0x51e67a,_0x5726da){var _0x486bcc=_0xb830ac;this[_0x486bcc(0x3ca)]=_0x24f885,this[_0x486bcc(0x29a)]=_0x51e67a,this[_0x486bcc(0x184)]=_0x5726da;}['transformSelections'](_0x44abd8){var _0x21d0ca=_0xb830ac,_0x20c24a,_0xd94901,_0x3f87fe,_0x4ed239;const _0x37bbb6=this[_0x21d0ca(0x3ca)][_0x21d0ca(0x12c)](_0x338a76),{unitId:_0x3574a8,subUnitId:_0x5bcad4}=xs(_0x44abd8),_0x3e6d7e=_0x37bbb6==null?void 0x0:_0x37bbb6[_0x21d0ca(0x235)](_0x3574a8)[_0x21d0ca(0x2ce)](),_0x1f032f=(_0xd94901=(_0x20c24a=this[_0x21d0ca(0x184)][_0x21d0ca(0x136)](_0x3574a8))==null?void 0x0:_0x20c24a[_0x21d0ca(0x2be)]())==null?void 0x0:_0xd94901[_0x21d0ca(0x3d9)]();if(_0x3e6d7e[_0x21d0ca(0x13f)]===0x0||!_0x3574a8||!_0x5bcad4)return;const _0x2971e9=[{'id':_0x124efa['id'],'params':{'unitId':_0x3574a8,'subUnitId':_0x1f032f,'selections':_0x1885ff[_0x21d0ca(0x23b)](_0x3e6d7e)}}],_0x19798d=this[_0x21d0ca(0x29a)][_0x21d0ca(0x1f7)](_0x44abd8,_0x2971e9);if(!_0x4c5d6f(_0x19798d))throw _0x19798d[_0x21d0ca(0x375)];const _0x34e58e=(_0x4ed239=(_0x3f87fe=_0x19798d[_0x21d0ca(0x328)][0x0])==null?void 0x0:_0x3f87fe[_0x21d0ca(0x2af)])==null?void 0x0:_0x4ed239[_0x21d0ca(0x16d)];if(Array[_0x21d0ca(0x15c)](_0x34e58e)&&_0x34e58e[_0x21d0ca(0x13f)]){if(_0x34e58e['length']===_0x2971e9[0x0][_0x21d0ca(0x2af)][_0x21d0ca(0x16d)][_0x21d0ca(0x13f)]&&_0x34e58e['every']((_0x4ec09,_0x1699b9)=>_0xcdb3a4[_0x21d0ca(0x3d7)](_0x4ec09['range'],_0x2971e9[0x0]['params'][_0x21d0ca(0x16d)][_0x1699b9][_0x21d0ca(0x140)])))return;this[_0x21d0ca(0x3ca)]['get'](_0x26c597)[_0x21d0ca(0x2a8)](_0x124efa['id'],{'unitId':_0x3574a8,'subUnitId':_0x1f032f,'selections':_0x34e58e});}}};it=ws([ut(0x0,_0x2aff60(_0x57442c)),ut(0x1,_0x3e67f5),ut(0x2,_0x469993)],it);const _t=_0x4d8857(_0xb830ac(0x3c9));var mi=(_0x182b62=>(_0x182b62[_0x182b62[_0xb830ac(0x383)]=0x0]=_0xb830ac(0x383),_0x182b62[_0x182b62['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x182b62))(mi||{});const K=_0xb830ac(0x101),ks={};function $s(_0x4742b7){var _0x3c6066=_0xb830ac,_0x54be11;return!!((_0x54be11=_0x4742b7[_0x3c6066(0x2af)])!=null&&_0x54be11[_0x3c6066(0x157)]);}const Hs=new Set([_0x498872['id']]);function Vt(_0x379946,_0x155751,_0x71feb5,_0x7843d0,_0x4a37c6){var _0x2dc4ae=_0xb830ac,_0x3b691e,_0x3efe2d,_0x6f2c15,_0x3bf7ff;const _0x2f78f1=[];for(const _0x15fe1c of _0x379946){if(Hs[_0x2dc4ae(0x362)](_0x15fe1c['id'])){if(_0x2f78f1['length']>0x0)break;_0x2f78f1[_0x2dc4ae(0x1e6)](_0x15fe1c);break;}if($s(_0x15fe1c)){if(_0x2f78f1[_0x2dc4ae(0x13f)]>0x0)break;_0x2f78f1['push'](_0x15fe1c);break;}_0x2f78f1['push'](_0x15fe1c);}const _0x3aaf65=(_0x3efe2d=(_0x3b691e=_0x4a37c6['getCurrentUser']())==null?void 0x0:_0x3b691e[_0x2dc4ae(0x165)])!=null?_0x3efe2d:_0x2dc4ae(0x1b9),_0x2879b7=(_0x3bf7ff=(_0x6f2c15=_0x4a37c6[_0x2dc4ae(0x284)]())==null?void 0x0:_0x6f2c15[_0x2dc4ae(0x164)])!=null?_0x3bf7ff:_0x2dc4ae(0x1b9);return{'changeset':{'unitID':_0x155751,'type':_0x46a280(_0x71feb5['getUnitType'](_0x155751)),'baseRev':_0x7843d0[_0x2dc4ae(0x126)](_0x155751),'revision':0x0,'userID':_0x3aaf65,'memberID':_0x2879b7,'mutations':_0x2f78f1},'pendingMutations':_0x379946[_0x2dc4ae(0x11c)](_0x2f78f1[_0x2dc4ae(0x13f)])};}function Bs(_0x23b72f,_0x73c7eb,_0x2c0fd4,_0x406f50,_0x1a0052){var _0x1798e7=_0xb830ac,_0x2ec3c5,_0xda308f,_0x3b3c59,_0x5c4580;const _0x34c6b=[_0x23b72f[_0x1798e7(0x349)]((_0x291680,_0x4019c3)=>{var _0x246881=_0x1798e7,_0x5ab849;const {id:_0xbfd18e}=_0x291680,{id:_0x11848b,type:_0x233e24}=_0x4019c3,_0x1bdbda=(_0x5ab849=_0x291680['params'])!=null?_0x5ab849:{'actions':null},_0x4244ce=_0x4019c3['params'];if(_0xbfd18e&&_0xbfd18e!==_0x11848b)throw new Error(_0x246881(0x297)+_0xbfd18e+_0x246881(0x389)+_0x11848b+'.');return{..._0x291680,'id':_0x11848b,'type':_0x233e24,'params':{'unitId':_0x4244ce[_0x246881(0x23d)],'textRanges':_0x4244ce[_0x246881(0x3c2)],'actions':_0x5e6a4d[_0x246881(0x2c8)](_0x1bdbda['actions'],_0x4244ce[_0x246881(0x150)])}};},{})],_0x6a3172=(_0xda308f=(_0x2ec3c5=_0x1a0052[_0x1798e7(0x284)]())==null?void 0x0:_0x2ec3c5[_0x1798e7(0x165)])!=null?_0xda308f:_0x1798e7(0x1b9),_0x483171=(_0x5c4580=(_0x3b3c59=_0x1a0052[_0x1798e7(0x284)]())==null?void 0x0:_0x3b3c59[_0x1798e7(0x164)])!=null?_0x5c4580:_0x1798e7(0x1b9);return{'changeset':{'unitID':_0x73c7eb,'type':_0x46a280(_0x2c0fd4['getUnitType'](_0x73c7eb)),'baseRev':_0x406f50[_0x1798e7(0x126)](_0x73c7eb),'revision':0x0,'userID':_0x6a3172,'memberID':_0x483171,'mutations':_0x34c6b},'pendingMutations':[]};}function Ii(_0xe2e575,_0x3e767c){var _0x5de811=_0xb830ac;const _0x50db93=new _0x5cc4a1(0x1);return setTimeout(()=>_0x50db93[_0x5de811(0x309)](_0x3e767c),_0xe2e575),_0x50db93[_0x5de811(0x290)]()[_0x5de811(0x12e)](_0x3bd633(0x1));}var Fs=Object[_0xb830ac(0x2f2)],Se=(_0x3408f9,_0x181a8d,_0xbc7c2,_0x24f489)=>{var _0x2c7cc5=_0xb830ac;for(var _0x3163e7=_0x24f489>0x1?void 0x0:_0x24f489?Fs(_0x181a8d,_0xbc7c2):_0x181a8d,_0x36a20=_0x3408f9[_0x2c7cc5(0x13f)]-0x1,_0x436323;_0x36a20>=0x0;_0x36a20--)(_0x436323=_0x3408f9[_0x36a20])&&(_0x3163e7=_0x436323(_0x3163e7)||_0x3163e7);return _0x3163e7;},L=(_0x3a7697,_0x17ec87)=>(_0x2fafdb,_0x16b8cf)=>_0x17ec87(_0x2fafdb,_0x16b8cf,_0x3a7697),Si=(_0x13be85=>(_0x13be85[_0xb830ac(0x3df)]=_0xb830ac(0x3de),_0x13be85['SYNCED']=_0xb830ac(0x39a),_0x13be85[_0xb830ac(0x169)]=_0xb830ac(0x3d5),_0x13be85[_0xb830ac(0x13c)]=_0xb830ac(0x30b),_0x13be85[_0xb830ac(0x103)]='awaiting_with_pending',_0x13be85['FETCH_MISS']=_0xb830ac(0x39b),_0x13be85[_0xb830ac(0x1df)]=_0xb830ac(0x301),_0x13be85[_0xb830ac(0x1a4)]=_0xb830ac(0x24c),_0x13be85))(Si||{});const gi=0x4e20,Ti=0x2bf20;class ge{constructor(_0x15e2f1,_0x3126a3,_0x2d7a15,_0x46b6e4,_0x6d106,_0x5db659,_0x327079,_0x504f17,_0x32a0ec){var _0x49df4f=_0xb830ac;D(this,'_awaitingChangeset',null),D(this,_0x49df4f(0x250),[]),(this['unitID']=_0x15e2f1,this['type']=_0x3126a3,this[_0x49df4f(0x33a)]=_0x6d106,this[_0x49df4f(0x1a3)]=_0x5db659,this['_undoRedoService']=_0x327079,this[_0x49df4f(0x1c6)]=_0x504f17,this[_0x49df4f(0x3a9)]=_0x32a0ec,this[_0x49df4f(0x363)]=_0x2d7a15,this[_0x49df4f(0x250)]=_0x46b6e4);}[_0xb830ac(0x26b)](_0xd8d10d){var _0x18374d=_0xb830ac;const _0x4dcf40=this[_0x18374d(0x1c6)][_0x18374d(0x126)](this['unitID']);return _0xd8d10d['revision']>_0x4dcf40+0x1?(this[_0x18374d(0x33a)][_0x18374d(0xfe)]({'from':_0x4dcf40,'to':_0xd8d10d[_0x18374d(0x234)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0xa58f2e){var _0x21865a=_0xb830ac;this[_0x21865a(0x2e9)][_0x21865a(0x3f2)](this[_0x21865a(0x3f5)],_0xa58f2e);}[_0xb830ac(0x195)](_0x515d04){var _0xd37057=_0xb830ac,_0x5590a0,_0x27f462;(_0x27f462=(_0x5590a0=this[_0xd37057(0x33a)])[_0xd37057(0x3f1)])==null||_0x27f462[_0xd37057(0xef)](_0x5590a0,_0x515d04);}['_transformIMECache'](_0x32cd36){var _0x1a7ff0=_0xb830ac,_0x18b3d9,_0x2fa953;return(_0x2fa953=(_0x18b3d9=this[_0x1a7ff0(0x33a)])[_0x1a7ff0(0x352)])==null?void 0x0:_0x2fa953[_0x1a7ff0(0xef)](_0x18b3d9,_0x32cd36);}['_transformStateCache'](_0x50e0dd){var _0x4343a1=_0xb830ac,_0x590750,_0x5d176e;return(_0x5d176e=(_0x590750=this[_0x4343a1(0x33a)])[_0x4343a1(0x25c)])==null?void 0x0:_0x5d176e[_0x4343a1(0xef)](_0x590750,_0x50e0dd);}[_0xb830ac(0x2c0)](_0x3bba54){var _0x53f074=_0xb830ac,_0x5ce456,_0x19c56b,_0x46aa06;return(_0x46aa06=(_0x19c56b=(_0x5ce456=this[_0x53f074(0x33a)])[_0x53f074(0x27c)])==null?void 0x0:_0x19c56b['call'](_0x5ce456,_0x3bba54))!=null?_0x46aa06:_0x3bba54;}[_0xb830ac(0x109)](_0x2ae525){var _0xd835b9=_0xb830ac,_0x4afe04,_0x3b2f72,_0x121096;return(_0x121096=(_0x3b2f72=(_0x4afe04=this[_0xd835b9(0x33a)])[_0xd835b9(0x335)])==null?void 0x0:_0x3b2f72[_0xd835b9(0xef)](_0x4afe04,_0x2ae525))!=null?_0x121096:_0x2ae525;}[_0xb830ac(0x318)](_0xbb77f4){var _0x55fca3=_0xb830ac,_0xb79341,_0x4276ca;if(this['type']===Q[_0x55fca3(0x264)]){const {unitID:_0x322c9c,mutations:_0x28e9f1,memberID:_0x7f04bf}=_0xbb77f4,_0xf8299a=_0x28e9f1[_0x55fca3(0x13f)]>0x0?_0x28e9f1[0x0][_0x55fca3(0x2af)]['textRanges']:[];Array[_0x55fca3(0x15c)](_0xf8299a)&&_0xf8299a[_0x55fca3(0x13f)]>0x0&&((_0x4276ca=(_0xb79341=this[_0x55fca3(0x33a)])[_0x55fca3(0x317)])==null||_0x4276ca['call'](_0xb79341,{'unitID':_0x322c9c,'memberID':_0x7f04bf,'textRanges':_0xf8299a}));}}[_0xb830ac(0x3b6)](){var _0x2bf4e1=_0xb830ac,_0x596196;(_0x596196=this[_0x2bf4e1(0x3a9)])==null||_0x596196['updateOfflineData'](this[_0x2bf4e1(0x3f5)],this[_0x2bf4e1(0x348)],this['_awaitingChangeset'],this[_0x2bf4e1(0x250)]);}[_0xb830ac(0x2e7)](){var _0x439510=_0xb830ac;return this[_0x439510(0x1c6)]['getCurrentRevOfUnit'](this[_0x439510(0x3f5)]);}['_incrementRevisionNumber'](){var _0x145c6a=_0xb830ac;this[_0x145c6a(0x1c6)][_0x145c6a(0x2b7)](this[_0x145c6a(0x3f5)]);}[_0xb830ac(0xf2)](_0x562fac){var _0x301866=_0xb830ac,_0x8bc7b;let _0x51dc45=this[_0x301866(0x2c0)](_0x562fac);_0x51dc45=this[_0x301866(0x109)](_0x51dc45);const _0xdc5fbf=_0x253229(_0x51dc45['mutations'],this[_0x301866(0x1a3)],{'fromCollab':!0x0});if(!_0xdc5fbf['result'])throw _0xdc5fbf[_0x301866(0x375)]instanceof Error?_0xdc5fbf['error']:new Error((_0x8bc7b=_0xdc5fbf[_0x301866(0x375)])!=null?_0x8bc7b:_0x301866(0x212));this[_0x301866(0x30a)](_0x51dc45),this['_transformStateCache'](_0x51dc45),this[_0x301866(0x3be)](_0x562fac),this[_0x301866(0x195)](_0x51dc45),this['_syncEditingCollabCursor'](_0x51dc45),this['_incrementRevisionNumber']();}}let be=class extends ge{constructor(_0x4f979c,_0x4312ee,_0x2c5837,_0x501317,_0x43e104,_0x36f96f,_0x22c230,_0x1c79ce,_0xc76eab,_0x72e45d){var _0x149cc8=_0xb830ac;super(_0x4f979c,_0x4312ee,null,[],_0x2c5837,_0x22c230,_0x36f96f,_0x501317,_0x72e45d),D(this,_0x149cc8(0x1ac),_0x149cc8(0x39a)),(this['_injector']=_0x43e104,this[_0x149cc8(0x3ef)]=_0x1c79ce,this[_0x149cc8(0x29a)]=_0xc76eab,this['localCacheService']=_0x72e45d);}[_0xb830ac(0x1b8)](_0x4cbc6e){var _0x52d635=_0xb830ac;const _0x4b1e40=this[_0x52d635(0x3ca)][_0x52d635(0x2ea)](ae,this[_0x52d635(0x3f5)],this[_0x52d635(0x348)],[_0x4cbc6e],this['_handler']);return _0x4b1e40[_0x52d635(0x15f)](),_0x4b1e40[_0x52d635(0x3b6)](),_0x4b1e40;}[_0xb830ac(0x11a)](_0x34174){var _0x1c9260=_0xb830ac;if(this['_checkMissing'](_0x34174))return this[_0x1c9260(0x3ca)]['createInstance'](ee,this['unitID'],this[_0x1c9260(0x348)],null,[],null,[_0x34174],this[_0x1c9260(0x33a)]);try{const _0x3a2976=this['_transformService']['transformMutationsWithChangeset'](_0x34174,[_0x20defb]);if(_0x4c5d6f(_0x3a2976)){const {c1Prime:_0x1a6885}=_0x3a2976;return this[_0x1c9260(0xf2)](_0x1a6885),this;}throw _0x3a2976[_0x1c9260(0x375)];}catch(_0x12f4fd){return this['_logService']['error'](_0x12f4fd),this[_0x1c9260(0x302)](!0x1);}}[_0xb830ac(0x302)](_0x18a9c9){var _0x18eb2d=_0xb830ac;return this[_0x18eb2d(0x3ca)][_0x18eb2d(0x2ea)](ue,this[_0x18eb2d(0x3f5)],this['type'],null,[],this['_handler'],_0x18a9c9);}[_0xb830ac(0x3fa)](){var _0x5af104=_0xb830ac;throw new Error(_0x5af104(0x2ca));}[_0xb830ac(0x1e8)](){var _0xe14a3=_0xb830ac;throw new Error(_0xe14a3(0x237));}[_0xb830ac(0x26e)](){return this;}[_0xb830ac(0x16a)](){var _0x2b3135=_0xb830ac;return this[_0x2b3135(0x3ca)][_0x2b3135(0x2ea)](de,this[_0x2b3135(0x3f5)],this[_0x2b3135(0x348)],null,[],this['_handler']);}[_0xb830ac(0x398)](){return this;}[_0xb830ac(0x327)](){var _0x215ce9=_0xb830ac;throw new Error(_0x215ce9(0x329));}[_0xb830ac(0xff)](){var _0x518292=_0xb830ac;const _0x3506a2=this[_0x518292(0x1c6)][_0x518292(0x126)](this[_0x518292(0x3f5)]);return this[_0x518292(0x33a)]['onMissingChangesets']({'from':_0x3506a2,'to':0x0}),this[_0x518292(0x3ca)][_0x518292(0x2ea)](ee,this[_0x518292(0x3f5)],this[_0x518292(0x348)],null,[],null,[],this[_0x518292(0x33a)]);}};be=Se([L(0x3,_0x2aff60(_0x19252a)),L(0x4,_0x2aff60(_0x57442c)),L(0x5,_0xf3cf67),L(0x6,_0x26c597),L(0x7,_0x469422),L(0x8,_0x3e67f5),L(0x9,_0x2c2398(X))],be);function _0x1d47(){var _0x5bf530=['[CollaborationEntity]','_xformMode','onMutationExecutedForCollab','byteOffset','failed\x20to\x20apply\x20missed\x20changesets!','_queuedRemoteChangesets','revision','getWorkbookSelections','{fileID}','[SyncedState]:\x20received\x20rejection.','session.room-not-exists','encrypt','_commentService','deepClone','_telemetryInfo','unitId','Hasher','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','UNKNOWN_CODE','name','SNAPSHOT_URL_KEY','/universer-api/oidc/authpage','leaveEvent','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[CollaborationSessionService]','awaitingChangeset','_sessionStatus$','LIVESHARE_REQUEST_HOST','CHANGESET_REVISION_CONFILICT','decrypt','offline','getUnitStatus$','USER_NOT_FOUND','YUUMI_UNABLE_LOAD_URL','_pendingMutations','Failed\x20to\x20update\x20permission\x20point','INVALID_ARGUMENT','FETCH_MISSING','saveSheetBlock','YUUMI_ALL_TABLES_IS_INVALID','/object','[CollaborationSession]','JOIN','HttpExport','originalMeta','_getCtorByUniverType','onTransformState','_singleActiveUnitService','_configService','SOCKET_FAILED_RETRY','NoPadding','PERMISSION_REJ','3819388pmXyAO','_createSocket','UNIVER_DOC','10AiyAWC','_HTTPService','ENTITLE_COUPON_EXPIRED','UNKNOWN_CMD','algo','_socket','_checkMissing','mode','getSheetBlock','onRemoteRetry','FAIL','loadDoc','_unitInfo$','UUID','retryConnectingInterval','state$','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_clearHeartbeatTimer','_startCollaboration','downloadEndpointUrl','_joinRoom','_doCryptBlock','compute','onTransformRemoteChangesetByIMECache','byteLength','commentUpdateEvent','joinRsp','function','[FetchMissState]','_initCloseConn','_append','getCurrentUser','apply','INGEST','UNIVER_UNKNOWN','startTime','onSendChangeset','_removeRoom','_maxTotalRetryTimeout','USERS_ENTER','&source=','SOCKET_FAILED','_undoStacks','asObservable','EMAIL_VERIFY_CODE_MISMATCH','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getRandomValues','change$','createDecryptor','hasOwnProperty','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_updateStatus','join','_transformService','initWorkbookPermissionChange','_waitCount','SUBMIT_CHANGESET_TIMEOUT','_createHandler','cmd','YUUMI_SUBSCRIPTION_NOT_FOUND','listCollaborators','signUrlServerUrl','forEach','permissionRejEvent','substr','_sendHeartbeat','fromCharCode','executeCommand','_socket$','MOBILE_VERIFY_CODE_MISMATCH','/-/object/-/batch_allowed','exports','stopTime','_compressMutationService','params','_stopTelemetryCollaborationNewChangeset','newCsEvent','stringify','charAt','Encryptor','close','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','incrementRevOfUnit','\x20to\x20','objectID','reconnect','parse','LIVESHARE_NEW_HOST','collabSubmitChangesetUrl','getActiveSheet','entries','_transformRemoteChangesetByIMECache','HttpImport','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','CBC','_createInitialState','iterations','$super','key','compose','_initRequestHeader','[SyncedState]:\x20received\x20acknowledgement.','concat','UserProfileImg','liveShareNewHost','getCurrentSelections','complete','_getSignURL','CHANGESET_ACK','_members','body','_createHelper','_collaborationPaused','_hash','getValue','Pkcs7','_oKey','extend','deleteCollaborator','Latin1','[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.','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','UnitEmbedded','uploadFileServerUrl','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','sid','formatter','splice','_resendWithTimeout','RETRY_CONNECTING_MAX_COUNT','_getCurrentRevision','min','_undoRedoService','createInstance','_getSendChangesetTimeout','salt','_clearTimeoutTimer','MUTATION','CHANGESET_REJ','getCollabEntity$','_networkConditionService','getOwnPropertyDescriptor','loadUnitOfRevision','REDEMPTION_CODE_INACTIVE','_transformStack','waitForRoom$','/block/','setConfig','emitEvent','updateSnapshot','_mode','/universer-api/snapshot/','_replayCachedMutations','collaboration-client.local-cache-service','TOO_MANY_REQUESTS','capture','conflict','_onConflict','LEAVE','_retryConnectingTimer','YUUMI_ASYNCIO_CANCELLED','symbol','/unit/','IDLE','next','_transformIMECache','awaiting','socket\x20close','_socketReady','append','fetchThroughInterceptors','_candidateSocket','_nDataBytes','Univer','StreamCipher','cfg','_incrementRevisionNumber','[DataLoaderService]','onSyncEditingCollabCursor','_syncEditingCollabCursor','_onRemoteChangeset','Base','find','routeKey','ENTITLE_INSUFFICIENT_QUOTA','/universer-api/authz','replace','ONLINE','_roomCreated$','_replaceFileID','baseRev','requireSession','readAsDataURL','localCacheService','resend','m2Prime','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','REDEMPTION_CODE_FULLY_REDEEMED','_memberService','socket$','enc','WordArray','_tryEnsureSocket','_initUnitPermissionChange','MOBILE_HAS_BEEN_BOUND','hostname','post','PSEUDO_FETCH_MISSING_RESULT','onTransformRemoteChangesetByStateCache','UNIVER_SLIDE','execute','workbook','APPLY_NON_SEQUENTIAL_REVISION','_handler','_transitionLocked','transformStack\x20failed!','_exhaustRemoteChangesetQueue','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','/universer-api/stream/file/upload','origin','_initMergeInterceptor','LICENSE_DISTRO_REJECTED','_onMessage','_handlerCallback','NEW_CHANGESETS','_collabSessionService','_iv','type','reduce','addImageSourceCache','_localeService','_unitID','state','REDEMPTION_CODE_NOT_STARTED','_remoteChangesetQueue','REDEMPTION_CODE_HAS_BEEN_CREATED','_onCombEvent','onTransformIME','list','_scheduleCompleteTimestamp','_socketMessageSubscription','_permissionService','_showConflictNotification','_onConnectionFailed','put','\x0aAfter:\x20','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_changesetReqId','_createHmacHelper','_listenToNetworkCondition','includes','unit-cache-','saveChangeset','has','_awaitingChangeset','registerHTTPInterceptor','LICENSE_EXPORT_SIZE_EXCEEDED','removeMember','onload','setWaitCount','3166471CBouFQ','image/jpg','session.room-permission-denied','YUUMI_URL_COL_OUT_OF_RANGE','authzUrl','ENTITLE_CAN_NOT_BUY_LOWER_OTP','ENTITLE_REPORT_LIMIT_EXCEED','?url=','_telemetryService','socketService','_collaborationSessionService','_onRemoteACK','error','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','PasswordBasedCipher','PERMISSION_DENIED','DEFAULT_FILE_NAME','_resendTimer','ENTITLE_COUPON_USED_UP','reqId','repeat','fetching\x20missing\x20changesets\x20from\x20','Hex','/-/object/list','add','sessionStatus','NO_OTHER_CLIENTS_EDITING','_prevBlock','getFocusedUnit','_getAPIPrefix','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UNIVER_PROJECT','\x20-\x20','ivSize','readyForCollab','SNAPSHOT_INVALID_SNAPSHOT','OPTIONAL','YUUMI_AI_RUN_FAILED','_throwTelemetryCollaborationNewChangeset','location','_disableEditing','_getUploadFileURL','/collaborator','APPLY_REVISION_CONFILICT','method','_sheetTransformSelectionsService','collaMsg','toggleOnline','message$','synced','fetch_missing','HELLO','pauseCollaboration','ENTITLE_INVALID_COUPON_CODE','random','encode','WECHAT_HAS_BEEN_BOUND','REDEMPTION_INVALID_CODE','_timeoutTimer','BufferedBlockAlgorithm','getTypeOfUnitAdded$','LIVESHARE_TERMINATE','getCollabEntity','sigBytes','_localCacheService','UPDATE_CURSOR','REDEMPTION_USER_NOT_ELIGIBLE','rev','disposeWithMe','_decreaseWaiting','LICENSE_IMPORT_SIZE_EXCEEDED','error$','mutations','action','COMMENT_UPDATE','_applyRemoteChangeset','_onRemoteRetry','_updateLocalCache','getUnitId','JOIN_ROOM_PERMISSION_DENIED','map','_commentUpdate$','2425JyjILQ','_nRounds','UPDATE_PERMISSION_OBJ','_transformUndoredo','_onRecvEvent','startsWith','CONNECTOR_DATA_TOO_LARGE','textRanges','ERROR_AGAIN','_changesetSessionId','getRoom','file','charCodeAt','UNDEFINED','univer-pro.collaboration-client.single-active-unit-service','_injector','createSocket','resolve','COMPLETION_FINISHED','catch','event$','sendChangesetTimeout','_iKey','_sendingTimer','image/bmp','APPLY_PERMISSION_DENIED','pending','_unlockTransition','equals','loadOfflineData','getSheetId','enableOfflineEditing','subscribe','BlockCipherMode','x-univer-host','not_collab','NOT_COLLAB','UNAUTHENTICATED','_onRemoteRejected','_substituteUndoStack','refreshPermission','NOT_FOUND','JOINING','JOIN_ROOM_NOT_EXISTS','getTypeOfUnitDisposed$','LIVESHARE_OPERATION','Error\x20on\x20receiving\x20event','INVITE_CODE_HAS_BEEN_UES','APPLY_DUPLICATED','_doFinalize','_updateState','collaborators','_logService','ERROR_IMAGE','onTransformSelections','transformUndoRedo','default','resourceIDs','unitID','csRejEvent','responseType','/object/','UNISCRIPT_RUN','onRemoteAck','entityInit$','requestParams','encryptBlock','code','_onLocalMutation','objectActions','open$','_clearScheduledTask','ciphertext','_onJoinRoomEvent','_cipher','title','_submitChangeset','status$','_userManagerService','_snapshotService','_sendHeartbeatTimer','reset','MSG_FOR_ERROR','LOGIN_TOKEN_PROCESSING_FAILED','call','_emitMembers','create','_executeRemoteChangeset','LIVESHARE_FETCH_OPERATIONS','DATA_SOURCE_TOO_LARGE','href','loadUnit','LOCAL_CACHE_INTERVAL','_getLoginPath','[OfflineState]:\x20received\x20acknowledgement.','JOIN_ROOM_FULL','_hasher','unsubscribe','MD5','onMissingChangesets','fetchMiss','delete','collaboration-client.config','OTHER_CLIENT_EDITING','AWAITING_WITH_PENDING','FileId','_config','sessionStatus$','setShowComponents','_socketService','_transformRemoteChangesetByStateCache','POST','__creator','session','csAckEvent','disableLocalCache','objectType','_map','UNRECOGNIZED','_clearRetryConnectingTimer','ws://127.0.0.1:8000/universer-api/comb/connect','_process','mixIn','size','ClipsheetFragments','_rescheduleHeartbeat','HmacSHA1','onRemoteChangeset','_getUndoStack','slice','_minBufferSize','INVITE_CODE_REQUIRED','COMPRESS_MUTATION_APPLY','EvpKDF','BASE64','SHA1','withCredentials','onlyLocal','loadSheet','getCurrentRevOfUnit','_ENC_XFORM_MODE','Decryptor','readInt32LE','AES','objects','get','finalize','pipe','[PendingState]:\x20unhandled\x20univer\x20type:\x20','JOIN_ROOM_FAILED','telemetry\x20info\x20is\x20not\x20initialized','LICENSE_MAX_UNITS_EXCEEDED','updateCollaborator','now','CURRENT_STATUS_CANNOT_OPERATE','getUnit','_eventService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_collaborationUIEventService','filter','_type','AWAITING','[PendingState]:\x20received\x20acknowledgement.','/fetchmissing?from=','length','range','CHANGESET_SHOULD_RETRY','_startTelemetryCollaborationNewChangeset','reject','getConfig','ceil','buffer','eventID','getInterceptPoints','_retryCount','pad','randomBytes','_collaborationTimeoutTimer','ENTITLE_NEED_BILLING_ADDRESS','_snapshotServerService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','actions','_getRedoStack','_clearRedo','_createInitialStateImpl','lib','_doProcessBlock','/universer-api/user/session-ticket','__splitChunk__','/universer-api/uniscript','string','APPLY_REJECT','UNIVER_SHEET','isArray','subject','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_schedule','HMAC','updatePermissionObjEvent','/new_changes','_tryReconnect','memberID','userID','_waitForHeartbeatResponse','BlockCipher','_key','PENDING','toggleOffline','updateCursorEvent','HEARTBEAT','selections','words','_onFetchMissResult','msCrypto','1360952RXUHmW','getMember','socket\x20open.','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','transformChangesets','hasher','RECV','_data','format','updatePermissionPoint','clear','_parse','_toggleOffline','univer-pro.collaboration-client-socket-service','[CollaborationUndoRedoService]','defineProperty','clone','updateMember','_keyPriorReset','_instanceService','1233993gpPCMD','init','_keySchedule','update','keySize','_doReset','/allowed','_onUserJoin','_change$','onCommentUpdate','_toggleOnline','USER_NOT_INVITED_CODE','processBlock','SHOULD_CLOSE_CONN','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','max','_transformSelections','save\x20fail\x20reason\x20is\x20','editingUnit','_event$','fetchMissingChangesets','uniscriptRunEvent','then','_state$','encodeURIComponent','UnitSnapshot','_initDependencies','kdf','?size=','_entities','_commandService','OFFLINE','avatar','OpenSSL','getLatestCsReqIdBySid','SNAPSHOT_HAS_BEEN_REMOVED','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','ENTITLE_USE_COUPON_NOT_1ST_TRADE','saveSnapshot','status','_lockTransition','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','set','_entityInit$','2mfhHfb','closeSession','ENSURE_SNAPSHOT_EXECUTION','ENTITLE_CHAT_LIMIT_EXCEED','session.join-failed','dispose','_sessions','appendMutation','unknown','_onOffline','decryptBlock','_getDownloadEndpointURL','crypto','onStarting','_clearUndo','csShouldRetryEvent','_init','putCollaborators','_fetchMissChangesets','USERS_LEAVE','updateOfflineData','_revisionService','SUBMIT_CHANGESET','_doCreateSocket','GLOBAL_ROOMS_CNT_EXCEEDS','_acknowledgedAwaitingChangeset','getUnitOnRev','loginUrlKey','override','USER_IS_ANONYMOUS','EMAIL_HAS_BEEN_BOUND','clamp','/universer-api/file/{fileID}/sign-url','ERROR_IMAGE_TYPE','CipherParams','_registerDependencies','onLocalMutation','AUTHORIZE_CODE_ILLEGAL','_sender','&to=','/resources','subUnitId','_reverseMap','close$','localeService','duration','CONFLICT','fromCollab','toString','interceptor','dispose$','sheets','batchAllowed','push','REDEMPTION_USER_REDEEM_TIMES_EXCEED','onRemoteRej','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','joinEvent','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_status$','submit\x20changeset\x20error!','_onUserLeave','_imageSourceCache','__esModule','_members$','Cipher','_state','isPermissionRej','Base64','setCurrentUser','transformMutationsWithChangeset','14160SYiMNf','INVITE_CODE_ALREADY_BOUND','getMemberID','3981180qXgbhm','&assign=','Utf8','univer-pro.collaboration-client.network-condition.service','connection\x20error','_shouldReportTelemetry','INTERNAL_ERROR','PERSON','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','\x0aCurrent:\x20','_onConnectionOpen','image/jpeg','YUUMI_CONNECTOR_URL_NOT_FOUND','enableAuthServer','listRoles','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','9887576pOXnSF','COMPRESS_MUTATION_SEND','_getAPIPrefixPath','data','blockSize','_invKeySchedule','getImage','[CollaborationState]:\x20apply\x20error!','/rev/','_clearLocalCache','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','PY_RUNTIME_SCRIPT_ERROR','liveShareOperation','every','ENTITLE_DUP_SUBSCRIPTION','YUUMI_RATE_OVER_LIMIT','CLOSE_ROOM','_resendTimeout','url','_roomMembers','send','_httpService','debug','awaiting_with_pending','Undefined','9LzdFXx','getTime','floor','_univerInstanceService','prototype','unpad','c1Prime','commentUpdate$','unitInfo$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED'];_0x1d47=function(){return _0x5bf530;};return _0x1d47();}let ae=class extends ge{constructor(_0x534120,_0x19d05d,_0x2e49c2,_0x2a8acb,_0x42f2a3,_0x14de44,_0x47a9ae,_0x35401b,_0xf2e6eb,_0x2b9208,_0x1719cb,_0x51024f,_0x26de5f,_0x4a8c46){var _0x2d6835=_0xb830ac;super(_0x534120,_0x19d05d,null,_0x2e49c2,_0x2a8acb,_0xf2e6eb,_0x26de5f,_0x14de44,_0x4a8c46),D(this,_0x2d6835(0x1ac),_0x2d6835(0x3d5)),D(this,_0x2d6835(0x354),null),D(this,'_sendingTimer',null),(this[_0x2d6835(0x3ca)]=_0x42f2a3,this[_0x2d6835(0x32b)]=_0x47a9ae,this[_0x2d6835(0x3ef)]=_0x35401b,this[_0x2d6835(0x25e)]=_0x2b9208,this['_transformService']=_0x1719cb,this['_univerInstanceService']=_0x51024f);}[_0xb830ac(0x1b8)](_0x3bfe59){var _0x2741a8=_0xb830ac;return this[_0x2741a8(0x250)][_0x2741a8(0x1e6)](_0x3bfe59),this[_0x2741a8(0x3b6)](),this;}['onRemoteChangeset'](_0x52310c){var _0x5ba304=_0xb830ac;if(this[_0x5ba304(0x26b)](_0x52310c))return this[_0x5ba304(0x402)](),this['_injector'][_0x5ba304(0x2ea)](ee,this[_0x5ba304(0x3f5)],this[_0x5ba304(0x348)],null,this[_0x5ba304(0x250)],null,[_0x52310c],this[_0x5ba304(0x33a)]);try{const _0x309b46=this['_transformService']['transformMutationsWithChangeset'](_0x52310c,this[_0x5ba304(0x250)]);if(_0x4c5d6f(_0x309b46)){const {c1Prime:_0x1f9ee1,m2Prime:_0x2ee0b8}=_0x309b46;this[_0x5ba304(0xf2)](_0x1f9ee1);const _0x54b415=this['_injector'][_0x5ba304(0x2ea)](ae,this[_0x5ba304(0x3f5)],this[_0x5ba304(0x348)],_0x2ee0b8,this[_0x5ba304(0x33a)]);this[_0x5ba304(0x402)]();const _0x511fcb=new Date()[_0x5ba304(0x225)](),_0x300a1a=this[_0x5ba304(0x354)]?Math[_0x5ba304(0x194)](this[_0x5ba304(0x354)]-_0x511fcb,0x0):this[_0x5ba304(0x2eb)]();return _0x54b415[_0x5ba304(0x15f)](_0x300a1a),_0x54b415;}throw _0x309b46[_0x5ba304(0x375)];}catch(_0x5df325){return this[_0x5ba304(0x3ef)][_0x5ba304(0x375)](_0x5df325),this[_0x5ba304(0x302)](!0x1);}}[_0xb830ac(0x3fa)](){var _0x5071f5=_0xb830ac;throw new Error(_0x5071f5(0x13d));}[_0xb830ac(0x1e8)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0xb830ac(0x16a)](){var _0x118671=_0xb830ac;return this['_clearScheduledTask'](),this[_0x118671(0x3ca)][_0x118671(0x2ea)](de,this['unitID'],this[_0x118671(0x348)],null,this[_0x118671(0x250)],this[_0x118671(0x33a)]);}['toggleOnline'](){return this;}['_schedule'](_0x425acf){var _0x2cf609=_0xb830ac;const _0x3bb366=_0x425acf!=null?_0x425acf:this[_0x2cf609(0x2eb)]();this[_0x2cf609(0x354)]=new Date()[_0x2cf609(0x225)]()+_0x3bb366,this['_sendingTimer']=setTimeout(()=>{var _0x5608de=_0x2cf609;this[_0x5608de(0x402)]();let _0x203474=null;switch(this[_0x5608de(0x348)]){case Q['UNIVER_SHEET']:{_0x203474=Vt(this[_0x5608de(0x250)],this[_0x5608de(0x3f5)],this[_0x5608de(0x227)],this[_0x5608de(0x1c6)],this[_0x5608de(0x32b)]);break;}case Q[_0x5608de(0x264)]:{this[_0x5608de(0x250)][_0x5608de(0x218)](_0x2437fd=>_0x2437fd['id']===_0xd7a1e['id'])?_0x203474=Bs(this[_0x5608de(0x250)],this[_0x5608de(0x3f5)],this[_0x5608de(0x227)],this[_0x5608de(0x1c6)],this[_0x5608de(0x32b)]):_0x203474=Vt(this[_0x5608de(0x250)],this[_0x5608de(0x3f5)],this[_0x5608de(0x227)],this[_0x5608de(0x1c6)],this[_0x5608de(0x32b)]);break;}default:throw new Error(_0x5608de(0x12f)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x439acf,pendingMutations:_0x40812d}=_0x203474;this[_0x5608de(0x33a)][_0x5608de(0x289)](_0x439acf);const _0x47db47=_0x40812d[_0x5608de(0x13f)]?this[_0x5608de(0x3ca)]['createInstance'](oe,this[_0x5608de(0x3f5)],this[_0x5608de(0x348)],_0x439acf,_0x40812d,this[_0x5608de(0x33a)],void 0x0):this['_injector'][_0x5608de(0x2ea)](le,this[_0x5608de(0x3f5)],this[_0x5608de(0x348)],_0x439acf,this[_0x5608de(0x33a)]);_0x47db47[_0x5608de(0x3b6)](),this[_0x5608de(0x33a)]['onStateChange'](this,_0x47db47);},_0x3bb366);}[_0xb830ac(0x2eb)](){var _0x2f779a=_0xb830ac,_0xec2399;const _0x20e049=this['_configService'][_0x2f779a(0x144)](K);return(_0xec2399=_0x20e049==null?void 0x0:_0x20e049[_0x2f779a(0x3d0)])!=null?_0xec2399:ms;}['resend'](){var _0x326256=_0xb830ac;throw new Error(_0x326256(0x275));}['_clearScheduledTask'](){var _0x560822=_0xb830ac;this[_0x560822(0x3d2)]!=null&&(clearTimeout(this[_0x560822(0x3d2)]),this[_0x560822(0x3d2)]=null);}[_0xb830ac(0x302)](_0xe9e898){var _0x29a14d=_0xb830ac;return this['_clearScheduledTask'](),this[_0x29a14d(0x3ca)]['createInstance'](ue,this['unitID'],this['type'],null,this[_0x29a14d(0x250)],this[_0x29a14d(0x33a)],_0xe9e898);}};ae=Se([L(0x4,_0x2aff60(_0x57442c)),L(0x5,_0x2aff60(_0x19252a)),L(0x6,_0x2aff60(Pe)),L(0x7,_0x469422),L(0x8,_0x26c597),L(0x9,_0x495b35),L(0xa,_0x3e67f5),L(0xb,_0x469993),L(0xc,_0xf3cf67),L(0xd,_0x2c2398(X))],ae);let le=class extends ge{constructor(_0xc8c762,_0x3cf761,_0xcffad8,_0x5897ec,_0x65522b,_0x27f6cd,_0x5b1370,_0x4a6595,_0x2167ee,_0x427e4e,_0x36d15d){var _0x2a79fa=_0xb830ac;super(_0xc8c762,_0x3cf761,_0xcffad8,[],_0x5897ec,_0x5b1370,_0x427e4e,_0x27f6cd,_0x36d15d),D(this,_0x2a79fa(0x1ac),'awaiting'),D(this,_0x2a79fa(0x21c),0x0),D(this,_0x2a79fa(0x28b),0x0),D(this,'_resendTimer'),D(this,_0x2a79fa(0x1d7)),(this[_0x2a79fa(0x3ca)]=_0x65522b,this[_0x2a79fa(0x3ef)]=_0x4a6595,this[_0x2a79fa(0x29a)]=_0x2167ee);}[_0xb830ac(0x1b8)](_0x5bdb64){var _0x37420a=_0xb830ac;this[_0x37420a(0x402)]();const _0x5b9d02=this[_0x37420a(0x3ca)]['createInstance'](oe,this[_0x37420a(0x3f5)],this[_0x37420a(0x348)],this[_0x37420a(0x363)],[_0x5bdb64],this[_0x37420a(0x33a)],this[_0x37420a(0x37a)]);return _0x5b9d02['_updateLocalCache'](),_0x5b9d02;}[_0xb830ac(0x11a)](_0x46a681){var _0x25baa7=_0xb830ac;if(this['_checkMissing'](_0x46a681))return this[_0x25baa7(0x402)](),this[_0x25baa7(0x3ca)][_0x25baa7(0x2ea)](ee,this[_0x25baa7(0x3f5)],this[_0x25baa7(0x348)],this[_0x25baa7(0x363)],[],null,[_0x46a681],this[_0x25baa7(0x33a)]);try{const _0x480d0e=this['_transformService'][_0x25baa7(0x175)]([_0x46a681],[this[_0x25baa7(0x363)]],!0x1);if(_0x577c16(_0x480d0e)){const {c1Prime:_0x4c4750,c2Prime:_0x26ed34}=_0x480d0e;this[_0x25baa7(0xf2)](_0x4c4750[0x0]),_0x26ed34[0x0][_0x25baa7(0x323)]=this[_0x25baa7(0x2e7)](),this['_clearScheduledTask']();const _0x5ec5cc=this[_0x25baa7(0x3ca)][_0x25baa7(0x2ea)](le,this[_0x25baa7(0x3f5)],this['type'],_0x26ed34[0x0],this[_0x25baa7(0x33a)]);return _0x5ec5cc[_0x25baa7(0x3b6)](),_0x5ec5cc;}return this[_0x25baa7(0x302)](!0x1);}catch(_0xc63902){return this[_0x25baa7(0x3ef)][_0x25baa7(0x375)](_0xc63902),this[_0x25baa7(0x302)](!0x1);}}[_0xb830ac(0x3fa)](_0x474449){var _0x5fb1a2=_0xb830ac;this[_0x5fb1a2(0x402)]();const _0x114178=this[_0x5fb1a2(0x1c6)][_0x5fb1a2(0x126)](this[_0x5fb1a2(0x3f5)]);if(_0x474449[_0x5fb1a2(0x234)]<_0x114178-0x1)return this;if(this[_0x5fb1a2(0x26b)](_0x474449))return this[_0x5fb1a2(0x3ca)]['createInstance'](ee,this[_0x5fb1a2(0x3f5)],this[_0x5fb1a2(0x348)],null,[],this['_awaitingChangeset'],[],this[_0x5fb1a2(0x33a)]);this[_0x5fb1a2(0x315)]();const _0x4147c4=this[_0x5fb1a2(0x3ca)]['createInstance'](be,this[_0x5fb1a2(0x3f5)],this[_0x5fb1a2(0x348)],this['_handler']);return _0x4147c4[_0x5fb1a2(0x3b6)](),_0x4147c4;}[_0xb830ac(0x1e8)](_0x4867fd){var _0x29b220=_0xb830ac;return this[_0x29b220(0x302)](!!(_0x4867fd!=null&&_0x4867fd[_0x29b220(0x1f4)]));}[_0xb830ac(0x26e)](_0x44f37e){var _0x5dd4a4=_0xb830ac;return this['_maxTotalRetryTimeout']>Ti?this[_0x5dd4a4(0x16a)]():(this[_0x5dd4a4(0x37a)]=Ii(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x44f37e[_0x5dd4a4(0x37c)]}),this[_0x5dd4a4(0x1d7)]=this[_0x5dd4a4(0x37a)][_0x5dd4a4(0x3db)](({reqId:_0x1aa0d6,timeout:_0x744fab})=>{var _0xa034b9=_0x5dd4a4;this[_0xa034b9(0x2e5)](_0x1aa0d6,_0x744fab);}),this);}['toggleOffline'](){var _0xe51fa0=_0xb830ac;return this[_0xe51fa0(0x402)](),this[_0xe51fa0(0x3ca)][_0xe51fa0(0x2ea)](de,this['unitID'],this['type'],this[_0xe51fa0(0x363)],[],this[_0xe51fa0(0x33a)]);}[_0xb830ac(0x398)](){return this;}[_0xb830ac(0x327)](){var _0xf4ff80=_0xb830ac;this[_0xf4ff80(0x33a)][_0xf4ff80(0x289)](this[_0xf4ff80(0x363)]);}[_0xb830ac(0x302)](_0x33449e){var _0x3aba68=_0xb830ac;return this[_0x3aba68(0x402)](),this[_0x3aba68(0x3ca)][_0x3aba68(0x2ea)](ue,this[_0x3aba68(0x3f5)],this['type'],this[_0x3aba68(0x363)],[],this['_handler'],_0x33449e);}['_resendWithTimeout'](_0x5435cd,_0xae7989){var _0x564101=_0xb830ac,_0x21a169;_0x5435cd===((_0x21a169=this[_0x564101(0x363)])==null?void 0x0:_0x21a169[_0x564101(0x37c)])&&(this[_0x564101(0x327)](),this[_0x564101(0x21c)]=_0xae7989===0x0?0x3e8:Math[_0x564101(0x2e8)](_0xae7989*0x2,gi),this[_0x564101(0x28b)]+=this[_0x564101(0x21c)]);}[_0xb830ac(0x402)](){var _0x4ab053=_0xb830ac,_0x4542f3;(_0x4542f3=this[_0x4ab053(0x1d7)])==null||_0x4542f3['unsubscribe'](),this['_resendTimeout']=0x0,this[_0x4ab053(0x28b)]=0x0;}};le=Se([L(0x4,_0x2aff60(_0x57442c)),L(0x5,_0x2aff60(_0x19252a)),L(0x6,_0x26c597),L(0x7,_0x469422),L(0x8,_0x3e67f5),L(0x9,_0xf3cf67),L(0xa,_0x2c2398(X))],le);let oe=class extends ge{constructor(_0x5e1003,_0x29e22f,_0xaf04f5,_0x2bc66c,_0x44a796,_0x2b0514,_0x555065,_0x203a3b,_0x4b399f,_0x244ba1,_0xaeeabf,_0x3add87,_0x5033e7){var _0x4d6921=_0xb830ac;super(_0x5e1003,_0x29e22f,_0xaf04f5,_0x2bc66c,_0x44a796,_0x4b399f,_0x3add87,_0x203a3b,_0x5033e7),D(this,_0x4d6921(0x1ac),_0x4d6921(0x222)),D(this,_0x4d6921(0x21c),0x0),D(this,_0x4d6921(0x28b),0x0),D(this,_0x4d6921(0x37a)),D(this,_0x4d6921(0x1d7)),(this['_injector']=_0x555065,this['_logService']=_0x244ba1,this[_0x4d6921(0x29a)]=_0xaeeabf,this[_0x4d6921(0x326)]=_0x5033e7,_0x2b0514&&(this[_0x4d6921(0x37a)]=_0x2b0514,this[_0x4d6921(0x1d7)]=this[_0x4d6921(0x37a)][_0x4d6921(0x3db)](({reqId:_0xb972aa,timeout:_0x1c5831})=>{var _0x25fa50=_0x4d6921;this[_0x25fa50(0x2e5)](_0xb972aa,_0x1c5831);})));}['appendMutation'](_0x2c931c){var _0x51b5dc=_0xb830ac;return this['_pendingMutations'][_0x51b5dc(0x1e6)](_0x2c931c),this;}['onRemoteChangeset'](_0x52d379){var _0x3e362c=_0xb830ac;if(this[_0x3e362c(0x26b)](_0x52d379))return this[_0x3e362c(0x402)](),this[_0x3e362c(0x3ca)][_0x3e362c(0x2ea)](ee,this[_0x3e362c(0x3f5)],this[_0x3e362c(0x348)],this[_0x3e362c(0x363)],this[_0x3e362c(0x250)],null,[_0x52d379],this['_handler']);try{const _0xef0c6a=this['_transformService']['transformChangesets']([_0x52d379],[this[_0x3e362c(0x363)]],!0x1);if(_0x577c16(_0xef0c6a)){const {c1Prime:_0x459427,c2Prime:_0x15d3e0}=_0xef0c6a,_0x219fc0=this[_0x3e362c(0x29a)]['transformMutationsWithChangeset'](_0x459427[0x0],this[_0x3e362c(0x250)]);if(_0x4c5d6f(_0x219fc0)){const {c1Prime:_0x183184,m2Prime:_0x3359e4}=_0x219fc0;return this[_0x3e362c(0xf2)](_0x183184),_0x15d3e0[0x0]['baseRev']=this[_0x3e362c(0x2e7)](),this[_0x3e362c(0x402)](),this[_0x3e362c(0x3ca)]['createInstance'](oe,this[_0x3e362c(0x3f5)],this[_0x3e362c(0x348)],_0x15d3e0[0x0],_0x3359e4,this[_0x3e362c(0x33a)],void 0x0);}throw _0x219fc0[_0x3e362c(0x375)];}throw _0xef0c6a[_0x3e362c(0x375)];}catch(_0x5b3d2c){return this['_logService'][_0x3e362c(0x375)](_0x5b3d2c),this['_onConflict'](!0x1);}}[_0xb830ac(0x3fa)](_0x350995){var _0x196667=_0xb830ac;if(this[_0x196667(0x402)](),this[_0x196667(0x26b)](_0x350995))return this['_injector']['createInstance'](ee,this[_0x196667(0x3f5)],this[_0x196667(0x348)],null,this[_0x196667(0x250)],this[_0x196667(0x363)],[],this[_0x196667(0x33a)]);this[_0x196667(0x315)]();const _0x2a8577=this[_0x196667(0x3ca)]['createInstance'](ae,this['unitID'],this['type'],this[_0x196667(0x250)],this[_0x196667(0x33a)]);return _0x2a8577[_0x196667(0x15f)](),_0x2a8577[_0x196667(0x3b6)](),_0x2a8577;}['onRemoteRej'](_0x2bd0f2){var _0x18c60c=_0xb830ac;return this[_0x18c60c(0x302)](!!(_0x2bd0f2!=null&&_0x2bd0f2[_0x18c60c(0x1f4)]));}['onRemoteRetry'](_0x5da747){var _0x40eaf1=_0xb830ac;return this[_0x40eaf1(0x28b)]>Ti?this['toggleOffline']():(this[_0x40eaf1(0x37a)]=Ii(this[_0x40eaf1(0x21c)],{'timeout':this[_0x40eaf1(0x21c)],'reqId':_0x5da747[_0x40eaf1(0x37c)]}),this[_0x40eaf1(0x1d7)]=this[_0x40eaf1(0x37a)]['subscribe'](({reqId:_0x45b2e9,timeout:_0x4e0a19})=>{var _0x1e6bb5=_0x40eaf1;this[_0x1e6bb5(0x2e5)](_0x45b2e9,_0x4e0a19);}),this);}['toggleOffline'](){var _0x57c015=_0xb830ac;return this['_clearScheduledTask'](),this[_0x57c015(0x3ca)]['createInstance'](de,this[_0x57c015(0x3f5)],this[_0x57c015(0x348)],this['_awaitingChangeset'],this[_0x57c015(0x250)],this[_0x57c015(0x33a)]);}['toggleOnline'](){return this;}[_0xb830ac(0x327)](){var _0x33ffb4=_0xb830ac;this[_0x33ffb4(0x33a)][_0x33ffb4(0x289)](this['_awaitingChangeset']);}[_0xb830ac(0x302)](_0x1de110){var _0xdd5b31=_0xb830ac;return this[_0xdd5b31(0x402)](),this[_0xdd5b31(0x3ca)]['createInstance'](ue,this[_0xdd5b31(0x3f5)],this[_0xdd5b31(0x348)],null,this[_0xdd5b31(0x250)],this[_0xdd5b31(0x33a)],_0x1de110);}[_0xb830ac(0x2e5)](_0x16a6bd,_0x9352c8){var _0x484e2e=_0xb830ac,_0x2624b4;_0x16a6bd===((_0x2624b4=this['_awaitingChangeset'])==null?void 0x0:_0x2624b4[_0x484e2e(0x37c)])&&(this[_0x484e2e(0x327)](),this['_resendTimeout']=_0x9352c8===0x0?0x3e8:Math['min'](_0x9352c8*0x2,gi),this[_0x484e2e(0x28b)]+=this[_0x484e2e(0x21c)]);}['_clearScheduledTask'](){var _0x52838f=_0xb830ac,_0x4614aa;(_0x4614aa=this[_0x52838f(0x1d7)])==null||_0x4614aa[_0x52838f(0xfc)](),this[_0x52838f(0x21c)]=0x0,this[_0x52838f(0x28b)]=0x0;}};oe=Se([L(0x6,_0x2aff60(_0x57442c)),L(0x7,_0x2aff60(_0x19252a)),L(0x8,_0x26c597),L(0x9,_0x469422),L(0xa,_0x3e67f5),L(0xb,_0xf3cf67),L(0xc,_0x2c2398(X))],oe);let ue=class extends ge{constructor(_0x4b8d1e,_0x414473,_0x1e8ba1,_0x4f03e1,_0x514202,_0x2c4016=!0x1,_0x4a20f9,_0x2c31dd,_0x4e97ea,_0x4f7a33,_0x3fe61d,_0x9aea7c,_0x5ed8eb){var _0x348dda=_0xb830ac;super(_0x4b8d1e,_0x414473,_0x1e8ba1,_0x4f03e1,_0x514202,_0x2c31dd,_0x4e97ea,_0x4f7a33,_0x5ed8eb),D(this,'status',_0x348dda(0x301)),(this['_isPermissionRej']=_0x2c4016,this[_0x348dda(0x356)]=_0x4a20f9,this[_0x348dda(0x34b)]=_0x3fe61d,this['_collaborationUIEventService']=_0x9aea7c,this['localCacheService']=_0x5ed8eb,this[_0x348dda(0x357)](),this[_0x348dda(0x214)](),this[_0x348dda(0x391)]());}['appendMutation'](){return this;}[_0xb830ac(0x11a)](){return this;}[_0xb830ac(0x3fa)](){return this;}['onRemoteRej'](){return this;}[_0xb830ac(0x26e)](){return this;}[_0xb830ac(0x16a)](){return this;}['toggleOnline'](){return this;}[_0xb830ac(0x327)](){var _0x2a2ad5=_0xb830ac;throw new Error(_0x2a2ad5(0x376));}[_0xb830ac(0x214)](){var _0x498bf5=_0xb830ac,_0x35b411;(_0x35b411=this[_0x498bf5(0x3a9)])==null||_0x35b411[_0x498bf5(0x1c5)](this[_0x498bf5(0x3f5)],this['type'],null,[]);}[_0xb830ac(0x357)](){var _0x2523fd=_0xb830ac;this['_isPermissionRej']?this[_0x2523fd(0x139)][_0x2523fd(0x2f9)]({'id':re[_0x2523fd(0x378)]}):this[_0x2523fd(0x139)][_0x2523fd(0x2f9)]({'id':re[_0x2523fd(0x1df)]});}[_0xb830ac(0x391)](){var _0x11b2ce=_0xb830ac;this['_permissionService']['updatePermissionPoint'](new _0x27abd8(this[_0x11b2ce(0x3f5)])['id'],!0x1);}};ue=Se([L(0x6,_0x2aff60(_0x228023)),L(0x7,_0x26c597),L(0x8,_0xf3cf67),L(0x9,_0x2aff60(_0x19252a)),L(0xa,_0x2aff60(_0x22c541)),L(0xb,_0x2aff60(ve)),L(0xc,_0x2c2398(X))],ue);let de=class extends ge{constructor(_0x261e6,_0x51dcca,_0x13846e,_0x5da3aa,_0x1b15ba,_0x23aeac,_0xf6c4e8,_0x3c0545,_0x7f1672,_0xc185ad){var _0x420d3d=_0xb830ac;super(_0x261e6,_0x51dcca,_0x13846e,_0x5da3aa,_0x1b15ba,_0x3c0545,_0x7f1672,_0xf6c4e8,_0xc185ad),D(this,_0x420d3d(0x1ac),_0x420d3d(0x24c)),this[_0x420d3d(0x3ca)]=_0x23aeac;}['appendMutation'](_0x524d72){var _0x38184c=_0xb830ac;return this['_pendingMutations']['push'](_0x524d72),this[_0x38184c(0x3b6)](),this;}[_0xb830ac(0x11a)](_0x5a1198){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0xb830ac(0x3fa)](){var _0x3cba6d=_0xb830ac;throw new Error(_0x3cba6d(0xf9));}[_0xb830ac(0x1e8)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0xb830ac(0x26e)](){return this;}[_0xb830ac(0x16a)](){return this;}[_0xb830ac(0x398)](){var _0x2f9ff6=_0xb830ac;const {_injector:_0x4fd7b4,_pendingMutations:_0x2642cd,_awaitingChangeset:_0x5edcae,unitID:_0x37e19c,_handler:_0x2a2893,type:_0x480098}=this,_0x2ac4a1=Oi(_0x4fd7b4,_0x37e19c,_0x480098,_0x5edcae,_0x2642cd,_0x2a2893);return _0x2ac4a1 instanceof ae?_0x2ac4a1[_0x2f9ff6(0x15f)]():(_0x2ac4a1 instanceof oe||_0x2ac4a1 instanceof le)&&_0x2ac4a1[_0x2f9ff6(0x327)](),_0x2ac4a1;}[_0xb830ac(0x327)](){var _0x1a2392=_0xb830ac;throw new Error(_0x1a2392(0x203));}};de=Se([L(0x5,_0x2aff60(_0x57442c)),L(0x6,_0x2aff60(_0x19252a)),L(0x7,_0x26c597),L(0x8,_0xf3cf67),L(0x9,_0x2c2398(X))],de);let ee=class extends ge{constructor(_0x89b798,_0x1671e6,_0x5dd07f,_0x4fe887,_0x20c66a,_0x279458,_0x54b3b6,_0x5bf2d2,_0x4733dc,_0x4ab7bc,_0x5656e7,_0x4ac119,_0x5a305f,_0x2224bc){var _0xc6f60e=_0xb830ac;super(_0x89b798,_0x1671e6,_0x5dd07f,_0x4fe887,_0x54b3b6,_0x5656e7,_0x4ac119,_0x4733dc,_0x2224bc),D(this,_0xc6f60e(0x1ac),_0xc6f60e(0x39b)),(this[_0xc6f60e(0x1ca)]=_0x20c66a,this[_0xc6f60e(0x233)]=_0x279458,this[_0xc6f60e(0x3ca)]=_0x5bf2d2,this[_0xc6f60e(0x3ef)]=_0x4ab7bc,this[_0xc6f60e(0x29a)]=_0x5a305f,this[_0xc6f60e(0x326)]=_0x2224bc);}['onMissedChangesetFetched'](_0x33e240){var _0x327e73=_0xb830ac;try{const _0x52912c=[..._0x33e240,...this[_0x327e73(0x233)]],_0x5c0773=[this[_0x327e73(0x363)]||this[_0x327e73(0x1ca)]][_0x327e73(0x13a)](_0x1a403c=>!!_0x1a403c);let _0x2000df,_0x5f306c;if(_0x5c0773[_0x327e73(0x13f)]){const _0x2643a4=this[_0x327e73(0x29a)][_0x327e73(0x175)](_0x52912c,_0x5c0773,!0x1);if(!_0x577c16(_0x2643a4))throw _0x2643a4[_0x327e73(0x375)];_0x2000df=_0x2643a4[_0x327e73(0x22a)],_0x5f306c=_0x2643a4['c2Prime'];}else _0x2000df=_0x52912c,_0x5f306c=[];let _0x485c5c=this[_0x327e73(0x250)];_0x2000df[_0x327e73(0x2a3)](_0x17248d=>{var _0x299c3b=_0x327e73;let _0x4e1e8f;if(_0x485c5c[_0x299c3b(0x13f)]){const _0x2dfbda=this[_0x299c3b(0x29a)][_0x299c3b(0x1f7)](_0x17248d,_0x485c5c);if(!_0x4c5d6f(_0x2dfbda))throw _0x2dfbda[_0x299c3b(0x375)];_0x4e1e8f=_0x2dfbda[_0x299c3b(0x22a)],_0x485c5c=_0x2dfbda[_0x299c3b(0x328)];}else _0x4e1e8f=_0x17248d;this[_0x299c3b(0xf2)](_0x4e1e8f);}),this[_0x327e73(0x1ca)]&&this['_incrementRevisionNumber'](),this[_0x327e73(0x363)]&&_0x5f306c[_0x327e73(0x13f)]&&(_0x5f306c[0x0][_0x327e73(0x323)]=this[_0x327e73(0x2e7)]());let _0x51c726;if(this[_0x327e73(0x363)]&&_0x485c5c['length']!==0x0)_0x51c726=this['_injector']['createInstance'](oe,this[_0x327e73(0x3f5)],this[_0x327e73(0x348)],_0x5f306c[0x0],_0x485c5c,this['_handler'],void 0x0);else{if(this[_0x327e73(0x363)]&&_0x485c5c[_0x327e73(0x13f)]===0x0)_0x5f306c[0x0]['baseRev']=this[_0x327e73(0x2e7)](),_0x51c726=this['_injector'][_0x327e73(0x2ea)](le,this[_0x327e73(0x3f5)],this[_0x327e73(0x348)],_0x5f306c[0x0],this[_0x327e73(0x33a)]);else{if(_0x485c5c['length']!==0x0){const _0x3eb59f=this[_0x327e73(0x3ca)][_0x327e73(0x2ea)](ae,this[_0x327e73(0x3f5)],this['type'],_0x485c5c,this['_handler']);_0x3eb59f[_0x327e73(0x15f)](),_0x51c726=_0x3eb59f;}else _0x51c726=this[_0x327e73(0x3ca)][_0x327e73(0x2ea)](be,this[_0x327e73(0x3f5)],this[_0x327e73(0x348)],this[_0x327e73(0x33a)]);}}return _0x51c726[_0x327e73(0x3b6)](),_0x51c726;}catch(_0x4436b8){return this['_logService'][_0x327e73(0x375)](_0x327e73(0x281),_0x327e73(0x232),_0x4436b8),this[_0x327e73(0x3ca)][_0x327e73(0x2ea)](ue,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x327e73(0x250)],this[_0x327e73(0x33a)],!0x1);}}[_0xb830ac(0x327)](){var _0x2c11b4=_0xb830ac;throw new Error(_0x2c11b4(0x2c2));}['appendMutation'](_0x313b6c){var _0x584bea=_0xb830ac;return this[_0x584bea(0x250)]['push'](_0x313b6c),this;}[_0xb830ac(0x11a)](_0x4c2e91){var _0x472840=_0xb830ac;return this['_queuedRemoteChangesets'][_0x472840(0x1e6)](_0x4c2e91),this;}[_0xb830ac(0x3fa)](_0x58aa64){var _0x15de0f=_0xb830ac;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x15de0f(0x363)],this[_0x15de0f(0x363)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x12a993){var _0x8aa03b=_0xb830ac;return this[_0x8aa03b(0x302)](!!(_0x12a993!=null&&_0x12a993[_0x8aa03b(0x1f4)]));}[_0xb830ac(0x26e)](){return this;}[_0xb830ac(0x16a)](){var _0xbca898=_0xb830ac;return this[_0xbca898(0x3ca)][_0xbca898(0x2ea)](de,this[_0xbca898(0x3f5)],this['type'],this['_awaitingChangeset'],this[_0xbca898(0x250)],this[_0xbca898(0x33a)]);}[_0xb830ac(0x398)](){return this;}['_onConflict'](_0x5ece11){var _0x5a4c34=_0xb830ac;return this[_0x5a4c34(0x3ca)][_0x5a4c34(0x2ea)](ue,this[_0x5a4c34(0x3f5)],this[_0x5a4c34(0x348)],this[_0x5a4c34(0x363)],this[_0x5a4c34(0x250)],this[_0x5a4c34(0x33a)],_0x5ece11);}};ee=Se([L(0x7,_0x2aff60(_0x57442c)),L(0x8,_0x2aff60(_0x19252a)),L(0x9,_0x469422),L(0xa,_0x26c597),L(0xb,_0xf3cf67),L(0xc,_0x3e67f5),L(0xd,_0x2c2398(X))],ee);function Oi(_0x2b1593,_0x5361e3,_0x1778d2,_0x3e51f7,_0x186d13,_0x29fbbd){var _0x3b245e=_0xb830ac;return _0x3e51f7&&_0x186d13[_0x3b245e(0x13f)]?_0x2b1593[_0x3b245e(0x2ea)](oe,_0x5361e3,_0x1778d2,_0x3e51f7,_0x186d13,_0x29fbbd,void 0x0):_0x3e51f7?_0x2b1593[_0x3b245e(0x2ea)](le,_0x5361e3,_0x1778d2,_0x3e51f7,_0x29fbbd):_0x186d13[_0x3b245e(0x13f)]?_0x2b1593[_0x3b245e(0x2ea)](ae,_0x5361e3,_0x1778d2,_0x186d13,_0x29fbbd):_0x2b1593[_0x3b245e(0x2ea)](be,_0x5361e3,_0x1778d2,_0x29fbbd);}var js=Object[_0xb830ac(0x2f2)],At=(_0x48abd4,_0x406ff9,_0x58f3ed,_0xf071cd)=>{var _0x44d7c2=_0xb830ac;for(var _0x498a17=_0xf071cd>0x1?void 0x0:_0xf071cd?js(_0x406ff9,_0x58f3ed):_0x406ff9,_0x1dfbf1=_0x48abd4[_0x44d7c2(0x13f)]-0x1,_0x4204fb;_0x1dfbf1>=0x0;_0x1dfbf1--)(_0x4204fb=_0x48abd4[_0x1dfbf1])&&(_0x498a17=_0x4204fb(_0x498a17)||_0x498a17);return _0x498a17;},$=(_0x3db794,_0x1e27c0)=>(_0x4ba0c0,_0x21bfd0)=>_0x1e27c0(_0x4ba0c0,_0x21bfd0,_0x3db794);let st=class extends _0x19a501{constructor(_0x3deebc,_0x288df8,_0x40eef6,_0x4116c0,_0xd178fa,_0x444fd3,_0x433918,_0xf5cf1b,_0x45f766,_0x3bafa7,_0xad86c2,_0x184599,_0x570e61,_0x93216f){var _0x5f1915=_0xb830ac;super(),D(this,_0x5f1915(0x19c),new _0x392068(null)),D(this,_0x5f1915(0x274),this[_0x5f1915(0x19c)][_0x5f1915(0x290)]()),D(this,_0x5f1915(0x1f3)),D(this,_0x5f1915(0x2d5),!0x1),D(this,_0x5f1915(0x3c4),''),D(this,_0x5f1915(0x35c),0x0),D(this,_0x5f1915(0x408),this[_0x5f1915(0x274)][_0x5f1915(0x12e)](_0x4de580(_0x37c6b4=>_0x37c6b4?_0x37c6b4['status']:Si[_0x5f1915(0x1a4)]),_0x286661(0x1))),D(this,_0x5f1915(0x33b),!0x1),D(this,'_remoteChangesetQueue',[]),(this[_0x5f1915(0x3f5)]=_0x3deebc,this[_0x5f1915(0x10c)]=_0x288df8,this[_0x5f1915(0x13b)]=_0x40eef6,this[_0x5f1915(0x3ca)]=_0x4116c0,this['_compressMutationService']=_0xd178fa,this[_0x5f1915(0x34b)]=_0x444fd3,this[_0x5f1915(0x1c6)]=_0x433918,this[_0x5f1915(0x137)]=_0xf5cf1b,this[_0x5f1915(0x227)]=_0x45f766,this['_logService']=_0x3bafa7,this[_0x5f1915(0x1a3)]=_0xad86c2,this[_0x5f1915(0x356)]=_0x184599,this[_0x5f1915(0x25d)]=_0x570e61,this[_0x5f1915(0x3a9)]=_0x93216f);}get[_0xb830ac(0x34d)](){var _0x436c45=_0xb830ac;return this[_0x436c45(0x1f3)];}async[_0xb830ac(0x186)](){var _0x529d7c=_0xb830ac;if(this[_0x529d7c(0x34d)])throw new Error(_0x529d7c(0x35b));await this[_0x529d7c(0x1c1)]();}[_0xb830ac(0x39d)](){var _0x6d3c8=_0xb830ac;return this[_0x6d3c8(0x2d5)]=!0x0,_0x17653c(()=>{var _0x5ee07b=_0x6d3c8;this[_0x5ee07b(0x2d5)]=!0x1,this[_0x5ee07b(0x33d)]();});}[_0xb830ac(0x1d5)](_0xc3eaae){var _0x2709ad=_0xb830ac;this[_0x2709ad(0x3ff)](_0xc3eaae);}['_updateState'](_0x51756a){var _0x1ceaf0=_0xb830ac;this[_0x1ceaf0(0x1f3)]=_0x51756a,this[_0x1ceaf0(0x19c)][_0x1ceaf0(0x309)](_0x51756a);}async['_init'](){var _0x287549=_0xb830ac,_0x153cd6;this[_0x287549(0x3ed)](await this[_0x287549(0x2c4)]()),this[_0x287549(0x25d)]&&((_0x153cd6=this['_singleActiveUnitService'])==null||_0x153cd6[_0x287549(0x197)](this[_0x287549(0x3f5)]),this[_0x287549(0x3ad)](this[_0x287549(0x25d)][_0x287549(0x24d)](this[_0x287549(0x3f5)])[_0x287549(0x3db)](_0x39a2da=>{var _0x1b100a=_0x287549;this['_logService'][_0x1b100a(0x221)](_0x1b100a(0x22e),'editing\x20status\x20changed\x20to',_0x39a2da),_0x39a2da===mi['OTHER_CLIENTS_EDITING']?(this[_0x1b100a(0x137)][_0x1b100a(0x2f9)]({'id':re[_0x1b100a(0x102)]}),this[_0x1b100a(0x356)][_0x1b100a(0x17a)](new _0x27abd8(this['unitID'])['id'],!0x1),this['_permissionService'][_0x1b100a(0x107)](!0x1)):(this[_0x1b100a(0x356)][_0x1b100a(0x17a)](new _0x27abd8(this[_0x1b100a(0x3f5)])['id'],!0x0),this[_0x1b100a(0x356)]['setShowComponents'](!0x0));})));let _0x1da421=!0x1;return this[_0x287549(0x3ad)](this[_0x287549(0x10c)][_0x287549(0x106)][_0x287549(0x3db)](_0x202b82=>{var _0x4edbc0=_0x287549;_0x202b82===me['ONLINE']?this[_0x4edbc0(0x18f)](_0x1da421):_0x202b82===me[_0x4edbc0(0x1a4)]&&(_0x1da421=!0x0,this[_0x4edbc0(0x17d)]());})),this['disposeWithMe'](this[_0x287549(0x10c)]['event$'][_0x287549(0x3db)](_0x111bda=>{var _0xa2a57b=_0x287549;try{switch(_0x111bda[_0xa2a57b(0x147)]){case _0x4fe2f4[_0xa2a57b(0x345)]:{this[_0xa2a57b(0x319)](_0x4d2371(_0x111bda[_0xa2a57b(0x20e)]));break;}case _0x4fe2f4[_0xa2a57b(0x2d1)]:{this[_0xa2a57b(0x374)](_0x111bda[_0xa2a57b(0x20e)]);break;}case _0x4fe2f4[_0xa2a57b(0x2ef)]:{this[_0xa2a57b(0x3e1)]();break;}case _0x4fe2f4[_0xa2a57b(0x141)]:{this[_0xa2a57b(0x3b5)](_0x111bda[_0xa2a57b(0x20e)]);break;}case _0x4fe2f4[_0xa2a57b(0x334)]:{this[_0xa2a57b(0x16f)](_0x111bda[_0xa2a57b(0x20e)]['changesets'][_0xa2a57b(0x3b9)](_0x2732b5=>_0x4d2371(_0x2732b5)));break;}case _0x4fe2f4[_0xa2a57b(0x261)]:{this[_0xa2a57b(0x3e1)]({'isPermissionRej':!0x0});break;}case _0x4fe2f4[_0xa2a57b(0x3f9)]:break;}}catch(_0x3e6c10){throw console[_0xa2a57b(0x375)](_0xa2a57b(0x3e9),_0x3e6c10),_0x3e6c10;}})),this[_0x287549(0x1f3)];}[_0xb830ac(0x3d6)](){var _0x31a6a1=_0xb830ac;this[_0x31a6a1(0x33b)]=!0x1;}[_0xb830ac(0x1ad)](){var _0x28575b=_0xb830ac;if(this[_0x28575b(0x33b)])throw new Error(_0x28575b(0x2dd));this['_transitionLocked']=!0x0;}[_0xb830ac(0x3ff)](_0xb9070e){var _0x757c4f=_0xb830ac;this['_lockTransition'](),this[_0x757c4f(0x3ed)](this[_0x757c4f(0x1f3)][_0x757c4f(0x1b8)](_0xb9070e)),this[_0x757c4f(0x3d6)]();}['_onRemoteChangeset'](_0x3b7bde){var _0x3aeac2=_0xb830ac;if(!(_0x3b7bde[_0x3aeac2(0x234)]<=this['_revisionService'][_0x3aeac2(0x126)](this[_0x3aeac2(0x3f5)]))){if(this[_0x3aeac2(0x2d5)]){this[_0x3aeac2(0x34f)][_0x3aeac2(0x1e6)](_0x3b7bde);return;}this[_0x3aeac2(0x3b4)](_0x3b7bde);}}['_exhaustRemoteChangesetQueue'](){var _0x5b6d47=_0xb830ac;this[_0x5b6d47(0x34f)][_0x5b6d47(0x2a3)](_0x8e96e4=>this['_applyRemoteChangeset'](_0x8e96e4)),this[_0x5b6d47(0x34f)]=[];}[_0xb830ac(0x3b4)](_0xf523a){var _0x260238=_0xb830ac;const _0x3c4f16=this[_0x260238(0x2ae)][_0x260238(0x1e2)][_0x260238(0x30f)](this[_0x260238(0x2ae)][_0x260238(0x1e2)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0xf523a[_0x260238(0x3b1)],null)||_0xf523a[_0x260238(0x3b1)],_0x376c35={..._0xf523a,'mutations':_0x3c4f16};this[_0x260238(0x1ad)](),this[_0x260238(0x3ed)](this[_0x260238(0x1f3)][_0x260238(0x11a)](_0x376c35)),this['_unlockTransition']();}[_0xb830ac(0x374)](_0x4a9136){var _0x4ae8b8=_0xb830ac;this[_0x4ae8b8(0x1ad)](),this['_updateState'](this[_0x4ae8b8(0x1f3)][_0x4ae8b8(0x3fa)](_0x4a9136)),this[_0x4ae8b8(0x3d6)]();}[_0xb830ac(0x3e1)](_0x4f20c0){var _0x54c4e6=_0xb830ac;this[_0x54c4e6(0x1ad)](),this[_0x54c4e6(0x3ed)](this[_0x54c4e6(0x1f3)][_0x54c4e6(0x1e8)](_0x4f20c0)),this['_unlockTransition']();}[_0xb830ac(0x3b5)](_0x298bc6){var _0x372e7f=_0xb830ac;this['_lockTransition'](),this[_0x372e7f(0x3ed)](this[_0x372e7f(0x1f3)]['onRemoteRetry'](_0x298bc6)),this[_0x372e7f(0x3d6)]();}[_0xb830ac(0x16f)](_0x2efdd5){var _0x5717bc=_0xb830ac;if(!(this[_0x5717bc(0x1f3)]instanceof ee))throw new TypeError(_0x5717bc(0x174));const _0x11230c=_0x2efdd5[_0x5717bc(0x3b9)](_0x4e7268=>{var _0x41c73b=_0x5717bc;const _0x418d96=this[_0x41c73b(0x2ae)][_0x41c73b(0x1e2)][_0x41c73b(0x30f)](this[_0x41c73b(0x2ae)][_0x41c73b(0x1e2)][_0x41c73b(0x148)]()[_0x41c73b(0x11f)])(_0x4e7268[_0x41c73b(0x3b1)],null)||_0x4e7268[_0x41c73b(0x3b1)];return{..._0x4e7268,'mutations':_0x418d96};});this[_0x5717bc(0x1ad)](),this['_updateState'](this[_0x5717bc(0x1f3)]['onMissedChangesetFetched'](_0x11230c)),this[_0x5717bc(0x3d6)]();}[_0xb830ac(0x17d)](){var _0x316a71=_0xb830ac;this[_0x316a71(0x1ad)](),this[_0x316a71(0x3ed)](this[_0x316a71(0x1f3)]['toggleOffline']()),this['_unlockTransition']();}[_0xb830ac(0x18f)](_0x444d18=!0x1){var _0x1138bb=_0xb830ac;this['_lockTransition'](),this[_0x1138bb(0x3ed)](this[_0x1138bb(0x1f3)][_0x1138bb(0x398)]()),this[_0x1138bb(0x3d6)]();const _0x4756ef=this[_0x1138bb(0x1f3)];_0x444d18&&_0x4756ef instanceof be&&(this['_lockTransition'](),this['_updateState'](_0x4756ef[_0x1138bb(0xff)]()),this[_0x1138bb(0x3d6)]());}async['_createInitialState'](){return new Promise(_0x96f5e2=>{var _0x42aa34=_0x17ca;this[_0x42aa34(0x10c)][_0x42aa34(0x106)]['pipe'](_0x3bd633(0x1))[_0x42aa34(0x3db)](async _0x30442a=>{var _0x59657d=_0x42aa34;_0x96f5e2(await this[_0x59657d(0x153)](_0x30442a===me[_0x59657d(0x320)]));});});}[_0xb830ac(0x29e)](){const _0x3ac55b=this['unitID'];return{'onStateChange':(_0x489a5c,_0x42c603)=>{var _0x2d3c9b=_0x17ca;if(_0x489a5c!==this[_0x2d3c9b(0x1f3)])throw new Error(_0x2d3c9b(0x23f)+_0x489a5c[_0x2d3c9b(0x1ac)]+_0x2d3c9b(0x35a)+_0x42c603['status']+_0x2d3c9b(0x204)+this[_0x2d3c9b(0x1f3)][_0x2d3c9b(0x1ac)]);this['_updateState'](_0x42c603);},'onSendChangeset':_0x2bfa4a=>{var _0x3535e3=_0x17ca;_0x2bfa4a[_0x3535e3(0x2e2)]||(_0x2bfa4a[_0x3535e3(0x2e2)]=this[_0x3535e3(0x3c4)],_0x2bfa4a[_0x3535e3(0x37c)]=++this[_0x3535e3(0x35c)]);const _0x3fe6ae={'eventID':_0x4fe2f4[_0x3535e3(0x1c7)],'data':{'unitID':_0x2bfa4a[_0x3535e3(0x3f5)],'unitType':this[_0x3535e3(0x13b)],'changeset':_0x2bfa4a,'memberID':this['session']['getMemberID']()}};this[_0x3535e3(0x10c)][_0x3535e3(0x21f)](_0x3fe6ae,this[_0x3535e3(0x3f5)]);},'onMissingChangesets':({from:_0x10a62a,to:_0x2b13dc})=>{var _0x339040=_0x17ca;this['_logService'][_0x339040(0x221)](_0x339040(0x22e),_0x339040(0x37e)+_0x10a62a+_0x339040(0x2b8)+_0x2b13dc);const _0x7c4f68={'eventID':_0x4fe2f4[_0x339040(0x253)],'data':{'unitID':_0x3ac55b,'unitType':this['_type'],'from':_0x10a62a,'to':_0x2b13dc}};this[_0x339040(0x10c)][_0x339040(0x21f)](_0x7c4f68,this['unitID']);}};}async['_createInitialStateImpl'](_0x4ff1a2){var _0x41ee97=_0xb830ac,_0x34a95a,_0x5dece9,_0x1ad16e;const _0x529cbf=await((_0x34a95a=this[_0x41ee97(0x3a9)])==null?void 0x0:_0x34a95a[_0x41ee97(0x3d8)](this['unitID'])),_0x1adb1c=(_0x5dece9=_0x529cbf==null?void 0x0:_0x529cbf[_0x41ee97(0x3b1)])!=null?_0x5dece9:[],_0x5ed766=(_0x1ad16e=_0x529cbf==null?void 0x0:_0x529cbf['awaitingChangeset'])!=null?_0x1ad16e:null,_0x4e7c3d=!!(_0x5ed766!=null&&_0x5ed766[_0x41ee97(0x2e2)])&&!!(_0x5ed766!=null&&_0x5ed766[_0x41ee97(0x37c)]);this['_changesetSessionId']=_0x4e7c3d?_0x5ed766[_0x41ee97(0x2e2)]:_0x2e6657(),this['_changesetReqId']=_0x4e7c3d?_0x5ed766[_0x41ee97(0x37c)]:0x0;const _0x2850bc=this[_0x41ee97(0x3f5)];try{this['_replayCachedMutations'](_0x5ed766,_0x1adb1c);}catch(_0x1b2bc4){this[_0x41ee97(0x3ef)][_0x41ee97(0x375)](_0x1b2bc4);}const _0x57c702=this[_0x41ee97(0x29e)]();if(_0x4ff1a2){const _0xca2104=Oi(this[_0x41ee97(0x3ca)],_0x2850bc,this[_0x41ee97(0x13b)],_0x5ed766,_0x1adb1c,_0x57c702);return _0xca2104 instanceof ae?_0xca2104[_0x41ee97(0x15f)]():(_0xca2104 instanceof oe||_0xca2104 instanceof le)&&_0xca2104[_0x41ee97(0x327)](),_0xca2104;}return this[_0x41ee97(0x3ca)][_0x41ee97(0x2ea)](de,_0x2850bc,this['_type'],_0x5ed766,_0x1adb1c,_0x57c702);}[_0xb830ac(0x2fd)](_0x5f34f7,_0x2ea028){var _0x5b6f88=_0xb830ac,_0x1eb90e,_0x4a47cc;const _0x34d425=this[_0x5b6f88(0x2ae)][_0x5b6f88(0x1e2)][_0x5b6f88(0x30f)](this[_0x5b6f88(0x2ae)][_0x5b6f88(0x1e2)][_0x5b6f88(0x148)]()[_0x5b6f88(0x11f)]);(_0x1eb90e=_0x34d425((_0x5f34f7==null?void 0x0:_0x5f34f7[_0x5b6f88(0x3b1)])||[],null))==null||_0x1eb90e[_0x5b6f88(0x2a3)](_0x4a90aa=>this[_0x5b6f88(0x1a3)]['executeCommand'](_0x4a90aa['id'],_0x4a90aa[_0x5b6f88(0x2af)])),(_0x4a47cc=_0x34d425(_0x2ea028||[],null))==null||_0x4a47cc[_0x5b6f88(0x2a3)](_0x5dca2a=>this[_0x5b6f88(0x1a3)][_0x5b6f88(0x2a8)](_0x5dca2a['id'],_0x5dca2a[_0x5b6f88(0x2af)]));}};st=At([$(0x3,_0x2aff60(_0x57442c)),$(0x4,_0x2aff60(_0xe69ba6)),$(0x5,_0x2aff60(_0x22c541)),$(0x6,_0x2aff60(_0x19252a)),$(0x7,_0x2aff60(ve)),$(0x8,_0x469993),$(0x9,_0x469422),$(0xa,_0x26c597),$(0xb,_0x228023),$(0xc,_0x2c2398(_t)),$(0xd,_0x2c2398(X))],st);let It=class extends st{constructor(_0x45f6bf,_0xb96dcc,_0x334ebc,_0x2aa538,_0x2c736a,_0x591920,_0x4e69cb,_0x14ec79,_0x264eb2,_0x134187,_0x473bcd,_0x2b56d2,_0x340df1,_0x10d4e7){var _0x27819c=_0xb830ac;super(_0x45f6bf,_0x334ebc,_0xb96dcc,_0x2aa538,_0x2c736a,_0x591920,_0x4e69cb,_0x14ec79,_0x264eb2,_0x134187,_0x473bcd,_0x2b56d2,_0x340df1,_0x10d4e7),D(this,_0x27819c(0x344),null),(this[_0x27819c(0x3f5)]=_0x45f6bf,this[_0x27819c(0x348)]=_0xb96dcc);}['addHandlerCallback'](_0xd39f0d){var _0x477a3b=_0xb830ac;this[_0x477a3b(0x344)]=_0xd39f0d;}[_0xb830ac(0x1b6)](){var _0x9f88bd=_0xb830ac;this[_0x9f88bd(0x344)]=null,super['dispose']();}[_0xb830ac(0x29e)](){var _0x48876b=_0xb830ac;const _0x381353=super[_0x48876b(0x29e)]();return _0x381353[_0x48876b(0x352)]=_0x3fdc0b=>{var _0x8480c=_0x48876b,_0x137676,_0x4d84db;return(_0x4d84db=(_0x137676=this['_handlerCallback'])==null?void 0x0:_0x137676[_0x8480c(0x352)])==null?void 0x0:_0x4d84db[_0x8480c(0xef)](_0x137676,_0x3fdc0b);},_0x381353[_0x48876b(0x25c)]=_0x41512e=>{var _0x46c597=_0x48876b,_0x2f248d,_0x5b63aa;return(_0x5b63aa=(_0x2f248d=this[_0x46c597(0x344)])==null?void 0x0:_0x2f248d[_0x46c597(0x25c)])==null?void 0x0:_0x5b63aa[_0x46c597(0xef)](_0x2f248d,_0x41512e);},_0x381353[_0x48876b(0x3f1)]=_0x2ab9d9=>{var _0x34740a=_0x48876b,_0x42099a,_0xb5cec6;return(_0xb5cec6=(_0x42099a=this[_0x34740a(0x344)])==null?void 0x0:_0x42099a['onTransformSelections'])==null?void 0x0:_0xb5cec6[_0x34740a(0xef)](_0x42099a,_0x2ab9d9);},_0x381353[_0x48876b(0x317)]=_0x4d1ad7=>{var _0x2303a4=_0x48876b,_0x46c74e,_0x31773c;return(_0x31773c=(_0x46c74e=this['_handlerCallback'])==null?void 0x0:_0x46c74e['onSyncEditingCollabCursor'])==null?void 0x0:_0x31773c[_0x2303a4(0xef)](_0x46c74e,_0x4d1ad7);},_0x381353[_0x48876b(0x27c)]=_0x196360=>{var _0x27435e=_0x48876b,_0x5acfb3,_0x305935,_0x1377be;if(!((_0x5acfb3=this[_0x27435e(0x344)])!=null&&_0x5acfb3[_0x27435e(0x27c)]))throw new Error(_0x27435e(0x2de));return(_0x1377be=(_0x305935=this[_0x27435e(0x344)])==null?void 0x0:_0x305935[_0x27435e(0x27c)])==null?void 0x0:_0x1377be[_0x27435e(0xef)](_0x305935,_0x196360);},_0x381353['onTransformRemoteChangesetByStateCache']=_0x5f5be5=>{var _0x375593=_0x48876b,_0x32b4bc,_0x3952b3,_0x49282e;if(!((_0x32b4bc=this[_0x375593(0x344)])!=null&&_0x32b4bc[_0x375593(0x335)]))throw new Error(_0x375593(0x193));return(_0x49282e=(_0x3952b3=this[_0x375593(0x344)])==null?void 0x0:_0x3952b3[_0x375593(0x335)])==null?void 0x0:_0x49282e[_0x375593(0xef)](_0x3952b3,_0x5f5be5);},_0x381353;}async[_0xb830ac(0x1c1)](){var _0x1c237a=_0xb830ac;const _0x44df24=await super[_0x1c237a(0x1c1)]();return this['disposeWithMe'](this[_0x1c237a(0x1a3)][_0x1c237a(0x230)]((_0x4d4579,_0x525124)=>{var _0x9942=_0x1c237a;if(_0x4d4579[_0x9942(0x348)]!==_0x48d90a[_0x9942(0x2ee)]||_0x525124!=null&&_0x525124['fromCollab']||_0x525124!=null&&_0x525124[_0x9942(0x124)]||_0x4d4579['id']===_0xd7a1e['id'])return;const _0x36511d=_0x4d4579['params'];if((_0x36511d==null?void 0x0:_0x36511d['unitId'])!==this[_0x9942(0x3f5)])return;const _0x2c3460=_0x4d4579,_0x389202=this[_0x9942(0x2ae)][_0x9942(0x1e2)][_0x9942(0x30f)](this[_0x9942(0x2ae)]['interceptor'][_0x9942(0x148)]()[_0x9942(0x20c)])([_0x2c3460],this[_0x9942(0x227)])||[_0x2c3460];this[_0x9942(0x3ff)](_0x389202[0x0]);})),_0x44df24;}};It=At([$(0x3,_0x2aff60(_0x57442c)),$(0x4,_0x2aff60(_0xe69ba6)),$(0x5,_0x2aff60(_0x22c541)),$(0x6,_0x2aff60(_0x19252a)),$(0x7,_0x2aff60(ve)),$(0x8,_0x469993),$(0x9,_0x469422),$(0xa,_0x26c597),$(0xb,_0x228023),$(0xc,_0x2c2398(_t)),$(0xd,_0x2c2398(X))],It);let St=class extends st{constructor(_0x4480af,_0x53ca7a,_0x96b1af,_0x4ba9dc,_0x3ebc00,_0xd69ec6,_0x489555,_0x1265cb,_0x547c95,_0x5aa145,_0x2e1db8,_0x28ee2c,_0xf395a0,_0x57f9c7,_0x41d46e){var _0x1549a9=_0xb830ac;super(_0x4480af,_0x96b1af,_0x53ca7a,_0x4ba9dc,_0x3ebc00,_0xd69ec6,_0x489555,_0x547c95,_0x5aa145,_0x2e1db8,_0x28ee2c,_0xf395a0,_0x57f9c7,_0x41d46e),this[_0x1549a9(0x3f5)]=_0x4480af,this[_0x1549a9(0x348)]=_0x53ca7a,this[_0x1549a9(0x396)]=_0x1265cb;}[_0xb830ac(0x29e)](){var _0x541837=_0xb830ac;const _0x59d3ea=super[_0x541837(0x29e)]();return _0x59d3ea[_0x541837(0x3f1)]=_0x173bc2=>this[_0x541837(0x396)]['transformSelections'](_0x173bc2),_0x59d3ea;}async[_0xb830ac(0x1c1)](){var _0x128a6e=_0xb830ac;const _0x1d1e49=await super[_0x128a6e(0x1c1)]();return this[_0x128a6e(0x3ad)](this[_0x128a6e(0x1a3)][_0x128a6e(0x230)]((_0x4c1335,_0x1cb070)=>{var _0x257148=_0x128a6e;if(_0x4c1335[_0x257148(0x348)]!==_0x48d90a[_0x257148(0x2ee)]||_0x1cb070!=null&&_0x1cb070[_0x257148(0x1e0)]||_0x1cb070!=null&&_0x1cb070[_0x257148(0x124)])return;const _0xdeea93=_0x4c1335[_0x257148(0x2af)];if((_0xdeea93==null?void 0x0:_0xdeea93[_0x257148(0x23d)])!==this[_0x257148(0x3f5)])return;const _0x141ec3=_0x4c1335,_0x52f6aa=this['_compressMutationService']['interceptor'][_0x257148(0x30f)](this[_0x257148(0x2ae)]['interceptor'][_0x257148(0x148)]()[_0x257148(0x20c)])([_0x141ec3],this['_univerInstanceService'])||[_0x141ec3];this[_0x257148(0x3ff)](_0x52f6aa[0x0]);})),_0x1d1e49;}};St=At([$(0x3,_0x2aff60(_0x57442c)),$(0x4,_0x2aff60(_0xe69ba6)),$(0x5,_0x2aff60(_0x22c541)),$(0x6,_0x2aff60(_0x19252a)),$(0x7,_0x2aff60(it)),$(0x8,_0x2aff60(ve)),$(0x9,_0x469993),$(0xa,_0x469422),$(0xb,_0x26c597),$(0xc,_0x228023),$(0xd,_0x2c2398(_t)),$(0xe,_0x2c2398(X))],St);const Vs=_0x4d8857(_0xb830ac(0x1fe));function Gs(_0xf04e8d){var _0x124ef9=_0xb830ac,_0x204a9e,_0x484c4d,_0xb2a60e,_0x31a70e,_0x1187a8;const _0x3645f2=_0xf04e8d[_0x124ef9(0x20e)],_0x252ed5=JSON[_0x124ef9(0x2bb)](_0x3645f2);switch(_0x252ed5[_0x124ef9(0x29f)]){case j[_0x124ef9(0x16c)]:case j[_0x124ef9(0x39c)]:{const _0x5835bd=_0x252ed5['infoRsp'];return{..._0x252ed5,'data':_0x5835bd,'cmd':_0x252ed5[_0x124ef9(0x29f)]};}case j[_0x124ef9(0x258)]:{const _0x1ed789=_0x252ed5[_0x124ef9(0x27f)];return{..._0x252ed5,'data':_0x1ed789,'cmd':_0x252ed5[_0x124ef9(0x29f)]};}case j[_0x124ef9(0x177)]:{const _0x25c4ec=_0x252ed5[_0x124ef9(0x397)];switch(_0x25c4ec[_0x124ef9(0x147)]){case _0x4fe2f4['PERMISSION_REJ']:return{..._0x252ed5,'data':{..._0x25c4ec,'data':(_0x204a9e=_0x25c4ec[_0x124ef9(0x2a4)])==null?void 0x0:_0x204a9e['cs']},'cmd':_0x252ed5[_0x124ef9(0x29f)]};case _0x4fe2f4[_0x124ef9(0x2d1)]:return{..._0x252ed5,'data':{..._0x25c4ec,'data':(_0x484c4d=_0x25c4ec[_0x124ef9(0x10d)])==null?void 0x0:_0x484c4d['cs']},'cmd':_0x252ed5[_0x124ef9(0x29f)]};case _0x4fe2f4['NEW_CHANGESETS']:return{..._0x252ed5,'data':{..._0x25c4ec,'data':(_0xb2a60e=_0x25c4ec[_0x124ef9(0x2b1)])==null?void 0x0:_0xb2a60e['cs']},'cmd':_0x252ed5['cmd']};case _0x4fe2f4[_0x124ef9(0x2ef)]:return{..._0x252ed5,'data':{..._0x25c4ec,'data':(_0x31a70e=_0x25c4ec[_0x124ef9(0x3f6)])==null?void 0x0:_0x31a70e['cs']},'cmd':_0x252ed5[_0x124ef9(0x29f)]};case _0x4fe2f4[_0x124ef9(0x141)]:return{..._0x252ed5,'data':{..._0x25c4ec,'data':(_0x1187a8=_0x25c4ec[_0x124ef9(0x1c0)])==null?void 0x0:_0x1187a8['cs']},'cmd':_0x252ed5[_0x124ef9(0x29f)]};case _0x4fe2f4[_0x124ef9(0x3aa)]:return{..._0x252ed5,'data':{..._0x25c4ec,'data':_0x25c4ec[_0x124ef9(0x16b)]},'cmd':_0x252ed5[_0x124ef9(0x29f)]};case _0x4fe2f4['USERS_ENTER']:return{..._0x252ed5,'data':{..._0x25c4ec,'data':_0x25c4ec[_0x124ef9(0x1ea)]},'cmd':_0x252ed5[_0x124ef9(0x29f)]};case _0x4fe2f4[_0x124ef9(0x1c4)]:return{..._0x252ed5,'data':{..._0x25c4ec,'data':_0x25c4ec[_0x124ef9(0x244)]},'cmd':_0x252ed5['cmd']};case _0x4fe2f4[_0x124ef9(0x2bc)]:return{..._0x252ed5,'data':{..._0x25c4ec,'data':_0x25c4ec[_0x124ef9(0x2cd)]},'cmd':_0x252ed5['cmd']};case _0x4fe2f4[_0x124ef9(0xf3)]:case _0x4fe2f4[_0x124ef9(0x3e8)]:return{..._0x252ed5,'data':{..._0x25c4ec,'data':_0x25c4ec[_0x124ef9(0x217)]},'cmd':_0x252ed5[_0x124ef9(0x29f)]};case _0x4fe2f4[_0x124ef9(0x3a6)]:return{..._0x252ed5,'data':{..._0x25c4ec,'data':_0x25c4ec[_0x124ef9(0x2cd)]},'cmd':_0x252ed5[_0x124ef9(0x29f)]};case _0x4fe2f4[_0x124ef9(0xed)]:return{..._0x252ed5,'data':_0x25c4ec,'cmd':_0x252ed5[_0x124ef9(0x29f)]};case _0x4fe2f4['COMMENT_UPDATE']:return{..._0x252ed5,'data':{..._0x25c4ec,'data':_0x25c4ec[_0x124ef9(0x27e)]},'cmd':_0x252ed5[_0x124ef9(0x29f)]};case _0x4fe2f4[_0x124ef9(0x3bd)]:return{..._0x252ed5,'data':{..._0x25c4ec,'data':_0x25c4ec[_0x124ef9(0x161)]},'cmd':_0x252ed5[_0x124ef9(0x29f)]};case _0x4fe2f4['SHOULD_CLOSE_CONN']:return{..._0x252ed5,'data':{..._0x25c4ec,'data':_0x25c4ec['shouldCloseConn']},'cmd':_0x252ed5[_0x124ef9(0x29f)]};case _0x4fe2f4[_0x124ef9(0x3f9)]:return{..._0x252ed5,'data':{..._0x25c4ec,'data':_0x25c4ec[_0x124ef9(0x19a)]},'cmd':_0x252ed5['cmd']};default:return _0x252ed5;}}default:return _0x252ed5;}}function Ws(_0x534163){var _0x234b02=_0xb830ac;switch(_0x534163['cmd']){case j[_0x234b02(0x16c)]:case j[_0x234b02(0x39c)]:return JSON[_0x234b02(0x2b2)]({'cmd':_0x534163[_0x234b02(0x29f)],'routeKey':_0x534163[_0x234b02(0x31c)]});case j[_0x234b02(0x286)]:{let _0x13f7e8;switch(_0x534163[_0x234b02(0x20e)][_0x234b02(0x147)]){case _0x4fe2f4[_0x234b02(0x3aa)]:{_0x13f7e8={'eventID':_0x4fe2f4[_0x234b02(0x3aa)],'updateCursorEvent':_0x534163['data'][_0x234b02(0x20e)]};break;}case _0x4fe2f4[_0x234b02(0x1c4)]:{_0x13f7e8={'eventID':_0x4fe2f4[_0x234b02(0x1c4)],'leaveEvent':_0x534163[_0x234b02(0x20e)][_0x234b02(0x20e)]};break;}case _0x4fe2f4['USERS_ENTER']:{_0x13f7e8={'eventID':_0x4fe2f4[_0x234b02(0x28c)],'joinEvent':_0x534163['data'][_0x234b02(0x20e)]};break;}case _0x4fe2f4[_0x234b02(0x2bc)]:{_0x13f7e8={'eventID':_0x4fe2f4['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x534163[_0x234b02(0x20e)][_0x234b02(0x20e)]};break;}case _0x4fe2f4[_0x234b02(0x3e8)]:{_0x13f7e8={'eventID':_0x4fe2f4[_0x234b02(0x3e8)],'liveShareOperation':_0x534163[_0x234b02(0x20e)][_0x234b02(0x20e)]};break;}case _0x4fe2f4[_0x234b02(0x3a6)]:{_0x13f7e8={'eventID':_0x4fe2f4[_0x234b02(0x3a6)],'liveShareTerminate':_0x534163['data']['data']};break;}case _0x4fe2f4[_0x234b02(0x249)]:{_0x13f7e8={'eventID':_0x4fe2f4[_0x234b02(0x249)],'liveShareRequestHost':_0x534163[_0x234b02(0x20e)]['data']};break;}case _0x4fe2f4[_0x234b02(0xf3)]:{_0x13f7e8={'eventID':_0x4fe2f4[_0x234b02(0xf3)]};break;}default:_0x13f7e8={'eventID':_0x534163[_0x234b02(0x20e)][_0x234b02(0x147)]};}return JSON['stringify']({'cmd':_0x534163['cmd'],'routeKey':_0x534163[_0x234b02(0x31c)],'collaMsg':_0x13f7e8});}case j[_0x234b02(0x258)]:return JSON[_0x234b02(0x2b2)]({'cmd':_0x534163[_0x234b02(0x29f)],'routeKey':_0x534163[_0x234b02(0x31c)],'joinReq':_0x534163[_0x234b02(0x20e)]});case j[_0x234b02(0x303)]:return JSON[_0x234b02(0x2b2)]({'cmd':_0x534163['cmd'],'routeKey':_0x534163[_0x234b02(0x31c)],'leaveReq':_0x534163['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ys=Object[_0xb830ac(0x2f2)],Ks=(_0x2b96e1,_0x10fc1d,_0x4d49ee,_0x42f2f0)=>{var _0x296198=_0xb830ac;for(var _0xb58cb1=_0x42f2f0>0x1?void 0x0:_0x42f2f0?Ys(_0x10fc1d,_0x4d49ee):_0x10fc1d,_0x5673c1=_0x2b96e1[_0x296198(0x13f)]-0x1,_0x55b4e6;_0x5673c1>=0x0;_0x5673c1--)(_0x55b4e6=_0x2b96e1[_0x5673c1])&&(_0xb58cb1=_0x55b4e6(_0xb58cb1)||_0xb58cb1);return _0xb58cb1;},ye=(_0x1fd217,_0x35b5df)=>(_0x29df71,_0x23b469)=>_0x35b5df(_0x29df71,_0x23b469,_0x1fd217);const Ri=_0x4d8857(_0xb830ac(0x17e));function qs(_0x380b3e,_0x4863b0,_0x3828b2){var _0x1801e6=_0xb830ac;return _0x380b3e+'/'+_0x4863b0+_0x1801e6(0x307)+_0x3828b2+_0x1801e6(0x162);}let Gt=class extends _0x484da3{constructor(_0x3f9955,_0xa219f7,_0x3d6490,_0x5b7b07,_0xc75f1d){var _0x390184=_0xb830ac;super(),this[_0x390184(0x3ca)]=_0x3f9955,this[_0x390184(0x220)]=_0xa219f7,this[_0x390184(0x25e)]=_0x3d6490,this[_0x390184(0x3ef)]=_0x5b7b07,this[_0x390184(0x14e)]=_0xc75f1d;}[_0xb830ac(0x1c8)](_0x2743e7){var _0x2a5fb1=_0xb830ac;const _0x527e03=this['_injector'][_0x2a5fb1(0x12c)](_0x141d63);if(!_0x527e03)throw new Error(_0x2a5fb1(0x14f));const _0x8fb859=_0x527e03[_0x2a5fb1(0x3cb)](_0x2743e7);if(!_0x8fb859)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x36a36b=new _0x4a5193(),_0x36a17d=new _0x486fe1();_0x36a36b[_0x2a5fb1(0x381)](_0x8fb859[_0x2a5fb1(0x1dc)][_0x2a5fb1(0x3db)](_0x218e98=>_0x36a17d[_0x2a5fb1(0x309)](_0x218e98))),_0x36a36b[_0x2a5fb1(0x381)](_0x17653c(()=>_0x36a17d[_0x2a5fb1(0x2cf)]()));const _0x5ebb9c=new _0x486fe1();_0x36a36b['add'](_0x8fb859['error$'][_0x2a5fb1(0x3db)](_0x4b1508=>_0x5ebb9c[_0x2a5fb1(0x309)](_0x4b1508))),_0x36a36b[_0x2a5fb1(0x381)](_0x17653c(()=>_0x5ebb9c['complete']()));const _0x3181db=new _0x486fe1();_0x36a36b[_0x2a5fb1(0x381)](_0x8fb859[_0x2a5fb1(0x399)]['subscribe'](_0x359e29=>{var _0x3c0983=_0x2a5fb1;const _0x25f572=Gs(_0x359e29);_0x3181db[_0x3c0983(0x309)](_0x25f572);})),_0x36a36b[_0x2a5fb1(0x381)](_0x17653c(()=>_0x3181db['complete']()));let _0x25719d;const _0x5c3294=()=>{var _0x1af1b8=_0x2a5fb1;_0x5ebb9c[_0x1af1b8(0x309)](new Event(_0x1af1b8(0x1ff))),_0x36a17d['next'](new Event(_0x1af1b8(0x1ff))),_0x25719d['close']();};return _0x25719d={'memberID':'','close$':_0x36a17d['asObservable'](),'error$':_0x5ebb9c[_0x2a5fb1(0x290)](),'open$':_0x8fb859['open$'],'message$':_0x3181db[_0x2a5fb1(0x290)](),'send':_0x3980aa=>{var _0x3c1d56=_0x2a5fb1;if(_0x3980aa[_0x3c1d56(0x29f)]===j[_0x3c1d56(0x286)]){if(_0x3980aa['data'][_0x3c1d56(0x147)]===_0x4fe2f4[_0x3c1d56(0x1c7)]){this[_0x3c1d56(0x407)](_0x25719d,_0x3980aa['data'])[_0x3c1d56(0x3ce)](_0x2cb2df=>{var _0x1291af=_0x3c1d56;this[_0x1291af(0x3ef)]['error'](_0x2cb2df),_0x5c3294();});return;}if(_0x3980aa[_0x3c1d56(0x20e)][_0x3c1d56(0x147)]===_0x4fe2f4['FETCH_MISSING']){const _0x1e81af=_0x3980aa['data'];this[_0x3c1d56(0x1c3)](_0x1e81af)[_0x3c1d56(0x19b)](_0x20a369=>{var _0x27fbf4=_0x3c1d56;_0x3181db['next']({'cmd':j['RECV'],'code':Ee['OK'],'routeKey':_0x1e81af[_0x27fbf4(0x20e)][_0x27fbf4(0x3f5)],'routeType':'','data':{'eventID':_0x4fe2f4[_0x27fbf4(0x334)],'data':{'changesets':_0x20a369}}});})[_0x3c1d56(0x3ce)](_0x1f7cd6=>{var _0x480f97=_0x3c1d56;this[_0x480f97(0x3ef)][_0x480f97(0x375)](_0x1f7cd6),_0x5c3294();});return;}}_0x8fb859[_0x3c1d56(0x21f)](Ws(_0x3980aa));},'close':()=>{var _0x33c0fe=_0x2a5fb1;_0x8fb859['close'](),_0x36a36b[_0x33c0fe(0x1b6)]();}},_0x25719d;}async[_0xb830ac(0x407)](_0x3bf55e,_0xf03781){var _0x22895a=_0xb830ac,_0x5871be;const {unitType:_0x1216e7,unitID:_0x35900d,changeset:_0xa1509}=_0xf03781[_0x22895a(0x20e)],_0x10710d={'unitID':_0x35900d,'memberID':_0x3bf55e[_0x22895a(0x164)],'type':_0x1216e7,'changeset':_0x7a02c2(_0xa1509)},_0x18f9fc=this[_0x22895a(0x25e)][_0x22895a(0x144)](K),_0x219f9e=qs((_0x5871be=_0x18f9fc==null?void 0x0:_0x18f9fc[_0x22895a(0x2bd)])!=null?_0x5871be:Ns,_0x1216e7,_0x35900d);try{await this[_0x22895a(0x220)][_0x22895a(0x333)](_0x219f9e,{'body':_0x10710d});}catch(_0x1e0b53){throw this[_0x22895a(0x3ef)][_0x22895a(0x375)](_0x22895a(0x257),_0x22895a(0x1ed)),_0x1e0b53;}}async[_0xb830ac(0x1c3)](_0x383f03){var _0x1b86df=_0xb830ac;const {unitID:_0x4d531e,from:_0x387215,to:_0x2e2905,unitType:_0x4256b3}=_0x383f03[_0x1b86df(0x20e)];return(await this[_0x1b86df(0x14e)][_0x1b86df(0x199)]({'metadata':void 0x0},{'unitID':_0x4d531e,'type':_0x4256b3,'from':_0x387215,'to':_0x2e2905}))['changesets'][_0x1b86df(0x3b9)](_0x224c62=>((_0x224c62['mutations']===null||_0x224c62[_0x1b86df(0x3b1)]===void 0x0)&&(_0x224c62[_0x1b86df(0x3b1)]=[]),_0x224c62));}};Gt=Ks([ye(0x0,_0x2aff60(_0x57442c)),ye(0x1,_0x2aff60(_0x562ff5)),ye(0x2,_0x495b35),ye(0x3,_0x469422),ye(0x4,_0x256d14)],Gt);var zs=Object[_0xb830ac(0x2f2)],Xs=(_0xb94653,_0x393145,_0x29af0f,_0x1648d8)=>{var _0x5ef81d=_0xb830ac;for(var _0x4bdd02=_0x1648d8>0x1?void 0x0:_0x1648d8?zs(_0x393145,_0x29af0f):_0x393145,_0x55fce0=_0xb94653[_0x5ef81d(0x13f)]-0x1,_0x3d7d9d;_0x55fce0>=0x0;_0x55fce0--)(_0x3d7d9d=_0xb94653[_0x55fce0])&&(_0x4bdd02=_0x3d7d9d(_0x4bdd02)||_0x4bdd02);return _0x4bdd02;},Re=(_0x24a830,_0x56a606)=>(_0x3c03a1,_0xcfee9b)=>_0x56a606(_0x3c03a1,_0xcfee9b,_0x24a830);let Le=class extends _0x484da3{constructor(_0x367d66,_0x3321e4,_0x5c375e,_0x44a551,_0xef04e,_0x4a2ea4){var _0x5bb007=_0xb830ac;super(),D(this,'_socket$',new _0x392068(void 0x0)),D(this,_0x5bb007(0x32c),this[_0x5bb007(0x2a9)][_0x5bb007(0x290)]()),D(this,_0x5bb007(0x310),null),D(this,_0x5bb007(0x1b7),new Map()),D(this,_0x5bb007(0x1ec),new _0x392068(me[_0x5bb007(0x308)])),D(this,_0x5bb007(0x408),this[_0x5bb007(0x1ec)][_0x5bb007(0x290)]()),D(this,'_socketReady',!0x1),D(this,_0x5bb007(0x304)),D(this,_0x5bb007(0x149),0x0),D(this,'_sendHeartbeatTimer'),D(this,'_timeoutTimer'),(this['_injector']=_0x367d66,this[_0x5bb007(0x3ef)]=_0x3321e4,this[_0x5bb007(0x25e)]=_0x5c375e,this[_0x5bb007(0x108)]=_0x44a551,this['_collaborationUIEventService']=_0xef04e,this[_0x5bb007(0x2f1)]=_0x4a2ea4,this['_listenToNetworkCondition']());}get[_0xb830ac(0x26a)](){var _0x3b485d=_0xb830ac;return this['_socket$'][_0x3b485d(0x2d7)]();}[_0xb830ac(0x35e)](){var _0x2ccb01=_0xb830ac;this[_0x2ccb01(0x2f1)]&&this[_0x2ccb01(0x3ad)](this['_networkConditionService']['online$'][_0x2ccb01(0x3db)](_0x1f5e9c=>{var _0x15fa44=_0x2ccb01;_0x1f5e9c&&!this['_socket']&&this[_0x15fa44(0x2ba)](),_0x1f5e9c||this['_onOffline']();}));}['dispose'](){var _0x167003=_0xb830ac;super[_0x167003(0x1b6)](),this[_0x167003(0x112)](),this[_0x167003(0x2ed)](),this[_0x167003(0x276)](),this[_0x167003(0x1b7)][_0x167003(0x2a3)](_0x324bff=>_0x324bff[_0x167003(0x1b6)]()),this[_0x167003(0x1b7)][_0x167003(0x17b)](),this['_status$'][_0x167003(0x2cf)]();}async['requireSession'](_0x195e54){var _0x595849=_0xb830ac;if(this[_0x595849(0x1b7)][_0x595849(0x362)](_0x195e54))return this[_0x595849(0x1b7)][_0x595849(0x12c)](_0x195e54);this[_0x595849(0x32f)]();const _0x563bd4=this[_0x595849(0x3ca)][_0x595849(0x2ea)](mt,_0x195e54,this[_0x595849(0x2a9)][_0x595849(0x290)]());return this[_0x595849(0x1b7)][_0x595849(0x1af)](_0x195e54,_0x563bd4),_0x563bd4;}[_0xb830ac(0x1b2)](_0x142a16){var _0x2f4228=_0xb830ac,_0x5e3883;const _0x488234=this[_0x2f4228(0x1b7)][_0x2f4228(0x12c)](_0x142a16);_0x488234&&(this[_0x2f4228(0x1b7)][_0x2f4228(0x100)](_0x142a16),_0x488234['close']()),this['_sessions'][_0x2f4228(0x116)]||(_0x5e3883=this['_socket'])==null||_0x5e3883[_0x2f4228(0x2b5)]();}[_0xb830ac(0x2ba)](){var _0x2ab638=_0xb830ac;this[_0x2ab638(0x149)]=0x0,this[_0x2ab638(0x112)](),this[_0x2ab638(0x163)]();}[_0xb830ac(0x112)](){var _0x38523b=_0xb830ac;this[_0x38523b(0x304)]!=null&&(clearTimeout(this[_0x38523b(0x304)]),this[_0x38523b(0x304)]=null);}async[_0xb830ac(0x263)](){var _0x14eb61=_0xb830ac,_0x5aa976;const _0x329fbf=this['_configService'][_0x14eb61(0x144)](K),_0x5e4cfb=(_0x5aa976=_0x329fbf==null?void 0x0:_0x329fbf['collabWebSocketUrl'])!=null?_0x5aa976:Is,_0x5e88a5=await this[_0x14eb61(0x108)][_0x14eb61(0x3cb)](_0x5e4cfb);return this['_candidateSocket']=_0x5e88a5,_0x5e88a5;}async[_0xb830ac(0x32f)](){var _0x4a9dfc=_0xb830ac,_0x111ad1,_0x3de5a4;try{const _0x3782f1=(_0x3de5a4=(_0x111ad1=this[_0x4a9dfc(0x26a)])!=null?_0x111ad1:this['_candidateSocket'])!=null?_0x3de5a4:await this[_0x4a9dfc(0x263)]();if(_0x3782f1){const _0x266092=_0x3782f1[_0x4a9dfc(0x21f)];_0x3782f1[_0x4a9dfc(0x21f)]=_0x117c53=>(this[_0x4a9dfc(0x118)](),_0x266092[_0x4a9dfc(0x285)](_0x3782f1,[_0x117c53])),_0x3782f1[_0x4a9dfc(0x399)]['subscribe'](_0x5b00dd=>this[_0x4a9dfc(0x343)](_0x3782f1,_0x5b00dd)),_0x3782f1[_0x4a9dfc(0x3b0)][_0x4a9dfc(0x12e)](_0x417dfc(0x1))['subscribe'](_0x40050e=>this[_0x4a9dfc(0x3ef)][_0x4a9dfc(0x375)]('[CollaborationSessionService]:\x20socket\x20error',_0x40050e)),_0x3782f1[_0x4a9dfc(0x401)][_0x4a9dfc(0x12e)](_0x417dfc(0x1))[_0x4a9dfc(0x3db)](()=>{var _0x1b8e5a=_0x4a9dfc;this[_0x1b8e5a(0x205)](_0x3782f1);}),_0x3782f1[_0x4a9dfc(0x1dc)][_0x4a9dfc(0x12e)](_0x417dfc(0x1))['subscribe'](_0x3b604e=>{var _0x5a93cc=_0x4a9dfc;this[_0x5a93cc(0x3ef)]['debug'](_0x5a93cc(0x246),_0x5a93cc(0x30c),_0x3b604e),this[_0x5a93cc(0x358)]();});}}catch(_0x3b06d3){this[_0x4a9dfc(0x3ef)]['error'](_0x3b06d3),this[_0x4a9dfc(0x358)]();}}[_0xb830ac(0x205)](_0x5f044e){var _0x10cffb=_0xb830ac;this[_0x10cffb(0x3ef)]['debug']('[CollaborationSessionService]',_0x10cffb(0x173)),_0x5f044e[_0x10cffb(0x21f)]({'cmd':j[_0x10cffb(0x39c)]}),this['_rescheduleHeartbeat']();}[_0xb830ac(0x1ba)](){var _0x5ae525=_0xb830ac;this[_0x5ae525(0x30d)]=!0x1,this[_0x5ae525(0x310)]=null,this[_0x5ae525(0x1ec)][_0x5ae525(0x309)](me[_0x5ae525(0x1a4)]),this['_socket$']['next'](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0xb830ac(0x358)](){var _0x13dc67=_0xb830ac,_0x3bc0dd;this[_0x13dc67(0x1ba)](),this[_0x13dc67(0x149)]<((_0x3bc0dd=this[_0x13dc67(0x25e)][_0x13dc67(0x144)](Os))!=null?_0x3bc0dd:Rs)?(this['_collaborationUIEventService'][_0x13dc67(0x2f9)]({'id':re[_0x13dc67(0x25f)]}),this[_0x13dc67(0x163)]()):this['_collaborationUIEventService'][_0x13dc67(0x2f9)]({'id':re[_0x13dc67(0x28e)]});}[_0xb830ac(0x163)](){var _0xef458e=_0xb830ac,_0x3b3b7e;const _0x152009=this[_0xef458e(0x149)],_0x93cdf3=this[_0xef458e(0x25e)][_0xef458e(0x144)](K),_0x2b6d93=_0x152009===0x0?0x0:((_0x3b3b7e=_0x93cdf3==null?void 0x0:_0x93cdf3[_0xef458e(0x273)])!=null?_0x3b3b7e:Ts)*0x2**_0x152009;this[_0xef458e(0x304)]=setTimeout(()=>{var _0x2c3269=_0xef458e;clearTimeout(this[_0x2c3269(0x304)]),this['_retryConnectingTimer']=null,this[_0x2c3269(0x32f)]();},_0x2b6d93),this[_0xef458e(0x149)]+=0x1;}[_0xb830ac(0x343)](_0x244f8a,_0x2a2625){var _0x5e58d6=_0xb830ac;const {cmd:_0x6ab4b}=_0x2a2625;_0x6ab4b===j[_0x5e58d6(0x39c)]&&!this[_0x5e58d6(0x30d)]&&(_0x244f8a[_0x5e58d6(0x164)]=_0x2a2625['data'][_0x5e58d6(0x164)],this[_0x5e58d6(0x2a9)][_0x5e58d6(0x309)](_0x244f8a),this['_status$'][_0x5e58d6(0x309)](me[_0x5e58d6(0x320)]),this[_0x5e58d6(0x30d)]=!0x0,this[_0x5e58d6(0x310)]=null),_0x6ab4b===j[_0x5e58d6(0x16c)]&&this['_clearTimeoutTimer'](),this[_0x5e58d6(0x118)]();}[_0xb830ac(0x118)](){var _0x597285=_0xb830ac,_0x32a2ff;this[_0x597285(0x276)](),this[_0x597285(0x40b)]=setTimeout(()=>this[_0x597285(0x2a6)](),(_0x32a2ff=this[_0x597285(0x25e)][_0x597285(0x144)](Ss))!=null?_0x32a2ff:gs);}[_0xb830ac(0x2a6)](){var _0x2423c5=_0xb830ac;this[_0x2423c5(0x26a)][_0x2423c5(0x21f)]({'cmd':j['HEARTBEAT']}),this[_0x2423c5(0x166)]();}['_waitForHeartbeatResponse'](){var _0x93f091=_0xb830ac,_0x26901f;this[_0x93f091(0x3a3)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x26901f=this[_0x93f091(0x25e)][_0x93f091(0x144)](di))!=null?_0x26901f:fi);}[_0xb830ac(0x276)](){var _0x5c7b6f=_0xb830ac;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x5c7b6f(0x40b)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x4a1ad0=_0xb830ac;this[_0x4a1ad0(0x3a3)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x4a1ad0(0x3a3)]=null);}};Le=Xs([Re(0x0,_0x2aff60(_0x57442c)),Re(0x1,_0x469422),Re(0x2,_0x495b35),Re(0x3,Ri),Re(0x4,_0x2aff60(ve)),Re(0x5,_0x2c2398(Vs))],Le);var Js=Object[_0xb830ac(0x2f2)],Zs=(_0x40cc7d,_0x141d5a,_0x4ef732,_0x53757f)=>{var _0x1a5a9b=_0xb830ac;for(var _0x57c393=_0x53757f>0x1?void 0x0:_0x53757f?Js(_0x141d5a,_0x4ef732):_0x141d5a,_0xc7a314=_0x40cc7d[_0x1a5a9b(0x13f)]-0x1,_0x18febc;_0xc7a314>=0x0;_0xc7a314--)(_0x18febc=_0x40cc7d[_0xc7a314])&&(_0x57c393=_0x18febc(_0x57c393)||_0x57c393);return _0x57c393;},Be=(_0x59b460,_0x1e677d)=>(_0x9ca7cb,_0x447989)=>_0x1e677d(_0x9ca7cb,_0x447989,_0x59b460);let nt=class extends _0x19a501{constructor(_0x41483a,_0x232c05,_0x3b37bc,_0x3f98d5){var _0x1cad9a=_0xb830ac,_0x56269a;super(),D(this,'_entities',new Map()),D(this,_0x1cad9a(0x1b0),new _0x486fe1()),D(this,_0x1cad9a(0x3fb),this[_0x1cad9a(0x1b0)][_0x1cad9a(0x290)]()),(this[_0x1cad9a(0x3ca)]=_0x41483a,this[_0x1cad9a(0x346)]=_0x232c05,this[_0x1cad9a(0x25e)]=_0x3b37bc,this[_0x1cad9a(0x227)]=_0x3f98d5,((_0x56269a=this[_0x1cad9a(0x25e)]['getConfig'](K))==null?void 0x0:_0x56269a['enableCollaboration'])!==!0x1&&this['_init']());}[_0xb830ac(0x1b6)](){var _0x39a256=_0xb830ac;super[_0x39a256(0x1b6)](),this['_entities'][_0x39a256(0x2a3)](_0x20e532=>_0x20e532[_0x39a256(0x1b6)]()),this[_0x39a256(0x1a2)]['clear']();}[_0xb830ac(0x3a7)](_0x58088e){var _0x161734=_0xb830ac,_0x4284b0;return(_0x4284b0=this[_0x161734(0x1a2)][_0x161734(0x12c)](_0x58088e))!=null?_0x4284b0:null;}[_0xb830ac(0x2f0)](_0x2fac0a){var _0xa34ee4=_0xb830ac;const _0x5eaf8d=this[_0xa34ee4(0x3a7)](_0x2fac0a);return _0x5eaf8d?_0x1e2000(_0x5eaf8d):this['_entityInit$']['pipe'](_0x15cae6(_0x2f14aa=>_0x2f14aa['unitID']===_0x2fac0a));}[_0xb830ac(0x38b)](_0x133fa3){var _0x222399=_0xb830ac;return _0x356fd4(this[_0x222399(0x2f0)](_0x133fa3)[_0x222399(0x12e)](_0x23d4e7(()=>{})));}[_0xb830ac(0x1c1)](){var _0x4de248=_0xb830ac;this[_0x4de248(0x227)][_0x4de248(0x3a5)](_0x2d50ad[_0x4de248(0x15b)])[_0x4de248(0x12e)](_0x31e3f0(this[_0x4de248(0x1e3)]),_0x325e28(0x10))['subscribe'](async _0x353362=>{var _0x3b917e=_0x4de248;const _0x5d26e9=_0x353362[_0x3b917e(0x3b7)](),_0x2b75df=await this[_0x3b917e(0x277)](_0x5d26e9,Q['UNIVER_SHEET']);this['_entities'][_0x3b917e(0x1af)](_0x5d26e9,_0x2b75df);}),this[_0x4de248(0x227)][_0x4de248(0x3a5)](_0x2d50ad[_0x4de248(0x264)])['pipe'](_0x31e3f0(this[_0x4de248(0x1e3)]),_0x325e28(0x10))[_0x4de248(0x12e)](_0x15cae6(_0x4cc741=>!_0x4cc741[_0x4de248(0x3b7)]()[_0x4de248(0x3c0)]('__')))[_0x4de248(0x3db)](async _0x3b1e0e=>{var _0x1c7248=_0x4de248;const _0x5df921=_0x3b1e0e[_0x1c7248(0x3b7)](),_0xe42047=await this[_0x1c7248(0x277)](_0x5df921,Q[_0x1c7248(0x264)]);this[_0x1c7248(0x1a2)]['set'](_0x5df921,_0xe42047);}),_0x12897c(this[_0x4de248(0x227)][_0x4de248(0x3e7)](_0x2d50ad[_0x4de248(0x15b)]),this[_0x4de248(0x227)][_0x4de248(0x3e7)](_0x2d50ad[_0x4de248(0x264)]))['pipe'](_0x31e3f0(this[_0x4de248(0x1e3)]))[_0x4de248(0x3db)](_0x1f1e1e=>{var _0x104a8b=_0x4de248;const _0x427984=_0x1f1e1e[_0x104a8b(0x3b7)](),_0x498eca=this[_0x104a8b(0x1a2)][_0x104a8b(0x12c)](_0x427984);_0x498eca&&(_0x498eca[_0x104a8b(0x1b6)](),this[_0x104a8b(0x1a2)]['delete'](_0x427984));});}async[_0xb830ac(0x277)](_0x138f5a,_0x4874a4){var _0xbc92cb=_0xb830ac;const _0x1ddd10=await this[_0xbc92cb(0x346)][_0xbc92cb(0x324)](_0x138f5a),_0x4becb0=this[_0xbc92cb(0x3ca)][_0xbc92cb(0x2ea)](this['_getCtorByUniverType'](_0x4874a4),_0x138f5a,_0x4874a4,_0x1ddd10);return await _0x4becb0[_0xbc92cb(0x186)](),this[_0xbc92cb(0x1b0)][_0xbc92cb(0x309)](_0x4becb0),_0x4becb0;}[_0xb830ac(0x25b)](_0x340bc8){var _0x1c35ff=_0xb830ac;switch(_0x340bc8){case Q['UNIVER_DOC']:return It;case Q[_0x1c35ff(0x15b)]:return St;default:throw new Error(_0x1c35ff(0x15e)+_0x340bc8);}}};nt=Zs([Be(0x0,_0x2aff60(_0x57442c)),Be(0x1,_0x2aff60(Le)),Be(0x2,_0x495b35),Be(0x3,_0x469993)],nt);var Qs=Object['getOwnPropertyDescriptor'],en=(_0x2c6a9c,_0x170f83,_0x485e3e,_0x54e604)=>{for(var _0x5cb8bf=_0x54e604>0x1?void 0x0:_0x54e604?Qs(_0x170f83,_0x485e3e):_0x170f83,_0x5a9c16=_0x2c6a9c['length']-0x1,_0x1371f8;_0x5a9c16>=0x0;_0x5a9c16--)(_0x1371f8=_0x2c6a9c[_0x5a9c16])&&(_0x5cb8bf=_0x1371f8(_0x5cb8bf)||_0x5cb8bf);return _0x5cb8bf;},Wt=(_0x34240b,_0x48d71b)=>(_0x2dfbd0,_0x34aee1)=>_0x48d71b(_0x2dfbd0,_0x34aee1,_0x34240b);const tn=_0xb830ac(0x379),sn=_0xb830ac(0x312);let gt=class extends _0x484da3{constructor(_0x3ad2ca,_0x3a2f73){var _0x352e57=_0xb830ac;super(),this['_univerInstanceService']=_0x3ad2ca,this[_0x352e57(0x25e)]=_0x3a2f73,this['_init']();}[_0xb830ac(0x1c1)](){var _0x36babe=_0xb830ac;this[_0x36babe(0x3ad)](this[_0x36babe(0x227)]['focused$'][_0x36babe(0x3db)](()=>{var _0x22363a=_0x36babe,_0x1b22ee;const _0xf89b5=this['_univerInstanceService']['getFocusedUnit']();let _0x299e48=(_0x1b22ee=this[_0x22363a(0x25e)][_0x22363a(0x144)](tn))!=null?_0x1b22ee:sn;_0xf89b5 instanceof _0x19906d&&(_0x299e48=_0xf89b5['name']),document[_0x22363a(0x406)]=_0x299e48;}));}};gt=en([Wt(0x0,_0x469993),Wt(0x1,_0x495b35)],gt);var nn=Object['getOwnPropertyDescriptor'],rn=(_0x40c145,_0x2cdd55,_0x36f7f0,_0x5c0f95)=>{var _0x5eeaa9=_0xb830ac;for(var _0x474bb9=_0x5c0f95>0x1?void 0x0:_0x5c0f95?nn(_0x2cdd55,_0x36f7f0):_0x2cdd55,_0x279c61=_0x40c145[_0x5eeaa9(0x13f)]-0x1,_0x5e409f;_0x279c61>=0x0;_0x279c61--)(_0x5e409f=_0x40c145[_0x279c61])&&(_0x474bb9=_0x5e409f(_0x474bb9)||_0x474bb9);return _0x474bb9;},dt=(_0x461a16,_0x27bfe5)=>(_0x3be4a2,_0x44f7ae)=>_0x27bfe5(_0x3be4a2,_0x44f7ae,_0x461a16);let rt=class{constructor(_0x59acfa,_0x37921d,_0x5d599d){var _0x5ed51a=_0xb830ac;this['_configService']=_0x59acfa,this[_0x5ed51a(0x220)]=_0x37921d,this[_0x5ed51a(0x1dd)]=_0x5d599d,this[_0x5ed51a(0x186)]();}[_0xb830ac(0x186)](){var _0x289680=_0xb830ac;this[_0x289680(0x220)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x4eee1c,_0x4553b6)=>_0x4553b6(_0x4eee1c)[_0x289680(0x12e)](_0x1973e3(async _0x46b60d=>{var _0xb1b59=_0x289680;const _0x5e25fe=_0x46b60d;if(_0x5e25fe[_0xb1b59(0x1ac)]===0x191){if(typeof window>'u')throw new Error(_0xb1b59(0x1ae));if(window['confirm'](this[_0xb1b59(0x1dd)]['t']('auth.needGotoLoginAlert'))){const _0x731cce=window[_0xb1b59(0x19d)](window[_0xb1b59(0x390)][_0xb1b59(0xf5)]);window[_0xb1b59(0x390)][_0xb1b59(0xf5)]=this[_0xb1b59(0xf8)]()+_0xb1b59(0x370)+_0x731cce;}}return _0x5e25fe;}))});}[_0xb830ac(0xf8)](){var _0x205593=_0xb830ac,_0x5491c2;const _0xd2f91b=this['_configService'][_0x205593(0x144)](K);return(_0x5491c2=_0xd2f91b==null?void 0x0:_0xd2f91b[_0x205593(0x1cc)])!=null?_0x5491c2:Cs;}};rt=rn([dt(0x0,_0x495b35),dt(0x1,_0x2aff60(_0x562ff5)),dt(0x2,_0x2aff60(_0x22c541))],rt);var an=Object[_0xb830ac(0x2f2)],on=(_0x5b804f,_0x157a0c,_0x2024b0,_0x114a6b)=>{var _0x4e451e=_0xb830ac;for(var _0x23af55=_0x114a6b>0x1?void 0x0:_0x114a6b?an(_0x157a0c,_0x2024b0):_0x157a0c,_0x5d8c78=_0x5b804f[_0x4e451e(0x13f)]-0x1,_0x33357e;_0x5d8c78>=0x0;_0x5d8c78--)(_0x33357e=_0x5b804f[_0x5d8c78])&&(_0x23af55=_0x33357e(_0x23af55)||_0x23af55);return _0x23af55;},Yt=(_0x7fd00a,_0x539cc5)=>(_0x2719d4,_0x361b30)=>_0x539cc5(_0x2719d4,_0x361b30,_0x7fd00a);const cn=_0xb830ac(0x31e);let Tt=class extends _0x484da3{constructor(_0x22b8bc,_0x398a8f){var _0x3bc6c1=_0xb830ac;super(),this[_0x3bc6c1(0x266)]=_0x22b8bc,this['_configService']=_0x398a8f,this[_0x3bc6c1(0x341)]();}[_0xb830ac(0x341)](){var _0x26934=_0xb830ac;const _0x3e7dff=this;this['disposeWithMe'](this[_0x26934(0x266)][_0x26934(0x364)]({'priority':0x3e7,'interceptor':_0x5d7cff({'isMatch'(_0x2d7e60){var _0x28cee6=_0x26934,_0x1e3655;if(_0x2d7e60[_0x28cee6(0x395)]===_0x28cee6(0x10a)&&((_0x1e3655=_0x2d7e60[_0x28cee6(0x3fc)])!=null&&_0x1e3655['body'])){const {objectID:_0x291402,objectType:_0x3a6881}=_0x2d7e60[_0x28cee6(0x3fc)][_0x28cee6(0x2d3)]||{};if(!_0x291402||_0x3a6881===void 0x0)return!0x1;const _0x4252e3=_0x3e7dff[_0x28cee6(0x20d)]()+'/'+_0x3a6881+_0x28cee6(0x3f8)+_0x291402+_0x28cee6(0x18b);if(_0x2d7e60[_0x28cee6(0x21d)]===_0x4252e3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x146c59){var _0x235980=_0x26934,_0x3971af;return(_0x3971af=_0x146c59['requestParams'])==null?void 0x0:_0x3971af[_0x235980(0x2d3)];},'mergeParamsToRequest'(_0x22017a,_0x2c964f){var _0x171cb3=_0x26934;const _0x287447=_0x3e7dff['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x5b0253=_0x22017a[_0x171cb3(0x349)]((_0x1ea11c,_0xb9dac8)=>{var _0x453c2b=_0x171cb3;const {unitID:_0x5d34ae,objectID:_0x61ac00,objectType:_0x45e192,actions:_0xfd266c}=_0xb9dac8;return _0x1ea11c[_0x5d34ae]||(_0x1ea11c[_0x5d34ae]={}),_0x1ea11c[_0x5d34ae][_0x61ac00]||(_0x1ea11c[_0x5d34ae][_0x61ac00]={'objectID':_0x61ac00,'objectType':_0x45e192,'actions':[]}),_0x1ea11c[_0x5d34ae][_0x61ac00][_0x453c2b(0x150)]['push'](..._0xfd266c),_0x1ea11c;},{}),_0x19c6b2=[];for(const _0x2a4073 in _0x5b0253)for(const _0x4d71d3 in _0x5b0253[_0x2a4073]){const {actions:_0x107b4b,objectType:_0x2e9ab8}=_0x5b0253[_0x2a4073][_0x4d71d3],_0x59b8d2=[...new Set(_0x107b4b)];_0x19c6b2[_0x171cb3(0x1e6)]({'unitID':_0x2a4073,'objectID':_0x4d71d3,'objectType':_0x2e9ab8,'actions':_0x59b8d2});}return new _0x536ac0(_0x171cb3(0x10a),_0x287447,{'headers':_0x2c964f['headers'],'withCredentials':_0x2c964f[_0x171cb3(0x123)],'responseType':_0x2c964f[_0x171cb3(0x3f7)],'body':{'requests':_0x19c6b2}});}},{'distributeResult'(_0xb63216,_0x1f0c63){var _0xb58c13=_0x26934;const {objectActions:_0x11e80e}=_0xb63216;return _0x1f0c63[_0xb58c13(0x3b9)](_0x4060b4=>{var _0x5ca452=_0xb58c13;const {unitID:_0xcfe0e4,objectID:_0x1cce70,actions:_0x27a998}=_0x4060b4,_0x2f767b=_0x11e80e[_0x5ca452(0x31b)](_0x202cde=>_0x202cde[_0x5ca452(0x3f5)]===_0xcfe0e4&&_0x202cde['objectID']===_0x1cce70),_0x19fbe2=_0x27a998['map'](_0x264da1=>_0x2f767b==null?void 0x0:_0x2f767b['actions'][_0x5ca452(0x31b)](_0x2c8cbd=>_0x2c8cbd[_0x5ca452(0x3b2)]===_0x264da1))['filter'](_0x3afdf7=>!!_0x3afdf7);return{'config':_0x4060b4,'result':{'actions':_0x19fbe2,'error':_0xb63216[_0x5ca452(0x375)]}};});}})}));}[_0xb830ac(0x20d)](){var _0x49796a=_0xb830ac,_0x383892;const _0x591bd7=this[_0x49796a(0x25e)][_0x49796a(0x144)](K);return(_0x383892=_0x591bd7==null?void 0x0:_0x591bd7[_0x49796a(0x36d)])!=null?_0x383892:cn;}async[_0xb830ac(0xf1)](_0x535f94){var _0x3c5cc9=_0xb830ac;const _0xeb2edd=this[_0x3c5cc9(0x20d)]()+'/'+_0x535f94[_0x3c5cc9(0x10f)]+_0x3c5cc9(0x256);return(await this['_HTTPService'][_0x3c5cc9(0x333)](_0xeb2edd,{'body':_0x535f94}))[_0x3c5cc9(0x2d3)][_0x3c5cc9(0x2b9)]||'';}async[_0xb830ac(0x353)](_0x52a255){var _0x266dff=_0xb830ac;const _0x4203eb=this[_0x266dff(0x20d)]()+_0x266dff(0x380);return(await this['_HTTPService'][_0x266dff(0x333)](_0x4203eb,{'body':_0x52a255}))[_0x266dff(0x2d3)][_0x266dff(0x12b)];}async[_0xb830ac(0x188)](_0x2f3e5a){var _0x5c4841=_0xb830ac,_0x54bada,_0x5e0664;const _0x1dca8d=this[_0x5c4841(0x20d)]()+'/'+_0x2f3e5a[_0x5c4841(0x10f)]+_0x5c4841(0x3f8)+_0x2f3e5a[_0x5c4841(0x2b9)],_0x176d88=await this[_0x5c4841(0x266)][_0x5c4841(0x359)](_0x1dca8d,{'body':_0x2f3e5a});if(((_0x5e0664=(_0x54bada=_0x176d88==null?void 0x0:_0x176d88[_0x5c4841(0x2d3)])==null?void 0x0:_0x54bada[_0x5c4841(0x375)])==null?void 0x0:_0x5e0664[_0x5c4841(0x3fe)])!==0x1)throw new Error(_0x5c4841(0x251));}async['allowed'](_0x51f00e){var _0x5219a1=_0xb830ac;const _0x28271c=this[_0x5219a1(0x20d)]()+'/'+_0x51f00e[_0x5219a1(0x10f)]+_0x5219a1(0x3f8)+_0x51f00e[_0x5219a1(0x2b9)]+_0x5219a1(0x18b);return(await this['_HTTPService'][_0x5219a1(0x333)](_0x28271c,{'body':_0x51f00e}))[_0x5219a1(0x2d3)][_0x5219a1(0x150)];}async[_0xb830ac(0x1e5)](_0x2c61f5){var _0x40b01b=_0xb830ac;const _0x40a781=this[_0x40b01b(0x20d)]()+_0x40b01b(0x2ab);return(await this[_0x40b01b(0x266)]['post'](_0x40a781,{'body':{'requests':_0x2c61f5}}))[_0x40b01b(0x2d3)][_0x40b01b(0x400)];}async[_0xb830ac(0x209)](_0x5bcdf9){var _0x4eb201=_0xb830ac;const _0x1037ee=this[_0x4eb201(0x20d)]()+'/'+_0x5bcdf9['objectType']+'/role',_0xd93828=await this[_0x4eb201(0x266)][_0x4eb201(0x333)](_0x1037ee,{'body':_0x5bcdf9});return{'roles':_0xd93828[_0x4eb201(0x2d3)]['roles'],'actions':_0xd93828[_0x4eb201(0x2d3)][_0x4eb201(0x150)]};}async[_0xb830ac(0x2db)](_0x473f35){var _0x57d3dd=_0xb830ac;const _0x590adc=this[_0x57d3dd(0x20d)]()+'/collaborator';await this[_0x57d3dd(0x266)][_0x57d3dd(0x100)](_0x590adc,{'params':{'collaboratorID':_0x473f35['collaboratorID'],'objectID':_0x473f35[_0x57d3dd(0x2b9)],'unitID':_0x473f35[_0x57d3dd(0x3f5)]}});}async[_0xb830ac(0x133)](_0x3bed72){var _0xe7fa83=_0xb830ac;const _0x1aff49=this[_0xe7fa83(0x20d)]()+'/collaborator';await this[_0xe7fa83(0x266)]['patch'](_0x1aff49,{'body':_0x3bed72});}async['createCollaborator'](_0xa346c5){var _0x3cf3ef=_0xb830ac;const _0xaf99c4=this[_0x3cf3ef(0x20d)]()+_0x3cf3ef(0x393);await this[_0x3cf3ef(0x266)][_0x3cf3ef(0x333)](_0xaf99c4,{'body':_0xa346c5});}async[_0xb830ac(0x2a1)](_0x35c2b1){var _0x413db1=_0xb830ac;const _0x1908e8=this['_getAPIPrefixPath']()+_0x413db1(0x393);return(await this[_0x413db1(0x266)][_0x413db1(0x12c)](_0x1908e8,{'params':{'objectID':_0x35c2b1[_0x413db1(0x2b9)],'unitID':_0x35c2b1[_0x413db1(0x3f5)]}}))[_0x413db1(0x2d3)][_0x413db1(0x3ee)];}async[_0xb830ac(0x1c2)](_0x443cdb){var _0x2e607c=_0xb830ac;const _0x10871c=this['_getAPIPrefixPath']()+_0x2e607c(0x393);await this['_HTTPService']['put'](_0x10871c,{'body':_0x443cdb});}};Tt=on([Yt(0x0,_0x2aff60(_0x562ff5)),Yt(0x1,_0x2aff60(_0x495b35))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x4718bb){var _0x8e4506=_0xb830ac;return _0x4718bb&&_0x4718bb[_0x8e4506(0x1f0)]&&Object[_0x8e4506(0x228)]['hasOwnProperty'][_0x8e4506(0xef)](_0x4718bb,_0x8e4506(0x3f3))?_0x4718bb[_0x8e4506(0x3f3)]:_0x4718bb;}var Ve={'exports':{}};function _n(_0x35b31b){var _0xb80853=_0xb830ac;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x35b31b+_0xb80853(0x1e9));}var Ge={'exports':{}},hn=Ge[_0xb830ac(0x2ac)],Kt;function ie(){var _0x179196=_0xb830ac;return Kt||(Kt=0x1,function(_0x4cbdde,_0x3b4b3f){(function(_0xe67e90,_0x233cec){var _0x1f7b48=_0x17ca;_0x4cbdde[_0x1f7b48(0x2ac)]=_0x233cec();}(hn,function(){var _0x33b896=_0x33b896||function(_0x38e18b,_0x57dafc){var _0x34f53b=_0x17ca,_0x2206d5;if(typeof window<'u'&&window['crypto']&&(_0x2206d5=window['crypto']),typeof self<'u'&&self[_0x34f53b(0x1bd)]&&(_0x2206d5=self[_0x34f53b(0x1bd)]),typeof globalThis<'u'&&globalThis[_0x34f53b(0x1bd)]&&(_0x2206d5=globalThis[_0x34f53b(0x1bd)]),!_0x2206d5&&typeof window<'u'&&window['msCrypto']&&(_0x2206d5=window[_0x34f53b(0x170)]),!_0x2206d5&&typeof ft<'u'&&ft['crypto']&&(_0x2206d5=ft[_0x34f53b(0x1bd)]),!_0x2206d5&&typeof _n==_0x34f53b(0x280))try{_0x2206d5=require('crypto');}catch{}var _0x3f3b24=function(){var _0x3846a2=_0x34f53b;if(_0x2206d5){if(typeof _0x2206d5[_0x3846a2(0x293)]=='function')try{return _0x2206d5['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2206d5[_0x3846a2(0x14b)]=='function')try{return _0x2206d5[_0x3846a2(0x14b)](0x4)[_0x3846a2(0x129)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x4b6ed1=Object[_0x34f53b(0xf1)]||(function(){function _0x55d433(){}return function(_0x5063e8){var _0x179d1f=_0x17ca,_0x310fc6;return _0x55d433[_0x179d1f(0x228)]=_0x5063e8,_0x310fc6=new _0x55d433(),_0x55d433[_0x179d1f(0x228)]=null,_0x310fc6;};}()),_0x272eb7={},_0x3e0b30=_0x272eb7['lib']={},_0x1b4efc=_0x3e0b30[_0x34f53b(0x31a)]=(function(){return{'extend':function(_0x35363a){var _0x44855b=_0x17ca,_0x5d1e2b=_0x4b6ed1(this);return _0x35363a&&_0x5d1e2b[_0x44855b(0x115)](_0x35363a),(!_0x5d1e2b[_0x44855b(0x296)]('init')||this[_0x44855b(0x186)]===_0x5d1e2b[_0x44855b(0x186)])&&(_0x5d1e2b[_0x44855b(0x186)]=function(){var _0x32e154=_0x44855b;_0x5d1e2b[_0x32e154(0x2c6)]['init']['apply'](this,arguments);}),_0x5d1e2b[_0x44855b(0x186)][_0x44855b(0x228)]=_0x5d1e2b,_0x5d1e2b[_0x44855b(0x2c6)]=this,_0x5d1e2b;},'create':function(){var _0x2f1820=_0x17ca,_0x1af800=this[_0x2f1820(0x2da)]();return _0x1af800['init'][_0x2f1820(0x285)](_0x1af800,arguments),_0x1af800;},'init':function(){},'mixIn':function(_0x13f097){var _0x501c48=_0x17ca;for(var _0x5e06c9 in _0x13f097)_0x13f097['hasOwnProperty'](_0x5e06c9)&&(this[_0x5e06c9]=_0x13f097[_0x5e06c9]);_0x13f097[_0x501c48(0x296)](_0x501c48(0x1e1))&&(this[_0x501c48(0x1e1)]=_0x13f097[_0x501c48(0x1e1)]);},'clone':function(){var _0x2e5b3e=_0x17ca;return this[_0x2e5b3e(0x186)]['prototype'][_0x2e5b3e(0x2da)](this);}};}()),_0x163ad9=_0x3e0b30['WordArray']=_0x1b4efc['extend']({'init':function(_0x5a099a,_0xdbf9bb){var _0x3aa552=_0x34f53b;_0x5a099a=this[_0x3aa552(0x16e)]=_0x5a099a||[],_0xdbf9bb!=_0x57dafc?this['sigBytes']=_0xdbf9bb:this[_0x3aa552(0x3a8)]=_0x5a099a[_0x3aa552(0x13f)]*0x4;},'toString':function(_0xceee1d){var _0x552992=_0x34f53b;return(_0xceee1d||_0x1c3631)[_0x552992(0x2b2)](this);},'concat':function(_0x3d5c40){var _0x5e5744=_0x34f53b,_0x5bede1=this[_0x5e5744(0x16e)],_0x16da18=_0x3d5c40[_0x5e5744(0x16e)],_0x26d9a6=this[_0x5e5744(0x3a8)],_0x57ebb=_0x3d5c40[_0x5e5744(0x3a8)];if(this[_0x5e5744(0x1d0)](),_0x26d9a6%0x4)for(var _0x445eca=0x0;_0x445eca<_0x57ebb;_0x445eca++){var _0xe284b2=_0x16da18[_0x445eca>>>0x2]>>>0x18-_0x445eca%0x4*0x8&0xff;_0x5bede1[_0x26d9a6+_0x445eca>>>0x2]|=_0xe284b2<<0x18-(_0x26d9a6+_0x445eca)%0x4*0x8;}else{for(var _0x4043df=0x0;_0x4043df<_0x57ebb;_0x4043df+=0x4)_0x5bede1[_0x26d9a6+_0x4043df>>>0x2]=_0x16da18[_0x4043df>>>0x2];}return this[_0x5e5744(0x3a8)]+=_0x57ebb,this;},'clamp':function(){var _0x366779=_0x34f53b,_0x45415e=this['words'],_0x2b0736=this[_0x366779(0x3a8)];_0x45415e[_0x2b0736>>>0x2]&=0xffffffff<<0x20-_0x2b0736%0x4*0x8,_0x45415e[_0x366779(0x13f)]=_0x38e18b[_0x366779(0x145)](_0x2b0736/0x4);},'clone':function(){var _0x2ac702=_0x34f53b,_0x4ac7f0=_0x1b4efc[_0x2ac702(0x181)][_0x2ac702(0xef)](this);return _0x4ac7f0[_0x2ac702(0x16e)]=this[_0x2ac702(0x16e)]['slice'](0x0),_0x4ac7f0;},'random':function(_0x4e8d53){var _0x355e08=_0x34f53b;for(var _0x6ea640=[],_0x5f1b1a=0x0;_0x5f1b1a<_0x4e8d53;_0x5f1b1a+=0x4)_0x6ea640[_0x355e08(0x1e6)](_0x3f3b24());return new _0x163ad9['init'](_0x6ea640,_0x4e8d53);}}),_0x1af339=_0x272eb7[_0x34f53b(0x32d)]={},_0x1c3631=_0x1af339[_0x34f53b(0x37f)]={'stringify':function(_0x1d7069){var _0x4fb1b7=_0x34f53b;for(var _0x31fb95=_0x1d7069[_0x4fb1b7(0x16e)],_0x5bea2d=_0x1d7069[_0x4fb1b7(0x3a8)],_0x48836d=[],_0x509eb1=0x0;_0x509eb1<_0x5bea2d;_0x509eb1++){var _0x48856e=_0x31fb95[_0x509eb1>>>0x2]>>>0x18-_0x509eb1%0x4*0x8&0xff;_0x48836d[_0x4fb1b7(0x1e6)]((_0x48856e>>>0x4)[_0x4fb1b7(0x1e1)](0x10)),_0x48836d[_0x4fb1b7(0x1e6)]((_0x48856e&0xf)[_0x4fb1b7(0x1e1)](0x10));}return _0x48836d[_0x4fb1b7(0x299)]('');},'parse':function(_0x298977){var _0x1f478b=_0x34f53b;for(var _0xde4920=_0x298977[_0x1f478b(0x13f)],_0x34adca=[],_0x53cb28=0x0;_0x53cb28<_0xde4920;_0x53cb28+=0x2)_0x34adca[_0x53cb28>>>0x3]|=parseInt(_0x298977[_0x1f478b(0x2a5)](_0x53cb28,0x2),0x10)<<0x18-_0x53cb28%0x8*0x4;return new _0x163ad9[(_0x1f478b(0x186))](_0x34adca,_0xde4920/0x2);}},_0x5f14fa=_0x1af339[_0x34f53b(0x2dc)]={'stringify':function(_0x5a1993){var _0xe6bfbc=_0x34f53b;for(var _0x41bc93=_0x5a1993[_0xe6bfbc(0x16e)],_0x50a84d=_0x5a1993[_0xe6bfbc(0x3a8)],_0x2f36dd=[],_0x548bb0=0x0;_0x548bb0<_0x50a84d;_0x548bb0++){var _0x41fd34=_0x41bc93[_0x548bb0>>>0x2]>>>0x18-_0x548bb0%0x4*0x8&0xff;_0x2f36dd[_0xe6bfbc(0x1e6)](String[_0xe6bfbc(0x2a7)](_0x41fd34));}return _0x2f36dd[_0xe6bfbc(0x299)]('');},'parse':function(_0x3be8d8){var _0x2b3286=_0x34f53b;for(var _0xfbec3d=_0x3be8d8['length'],_0x1914f8=[],_0x4269d6=0x0;_0x4269d6<_0xfbec3d;_0x4269d6++)_0x1914f8[_0x4269d6>>>0x2]|=(_0x3be8d8[_0x2b3286(0x3c7)](_0x4269d6)&0xff)<<0x18-_0x4269d6%0x4*0x8;return new _0x163ad9['init'](_0x1914f8,_0xfbec3d);}},_0x56abab=_0x1af339['Utf8']={'stringify':function(_0x496201){var _0x44de61=_0x34f53b;try{return decodeURIComponent(escape(_0x5f14fa[_0x44de61(0x2b2)](_0x496201)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0xef23c4){var _0x222066=_0x34f53b;return _0x5f14fa[_0x222066(0x2bb)](unescape(encodeURIComponent(_0xef23c4)));}},_0x461332=_0x3e0b30[_0x34f53b(0x3a4)]=_0x1b4efc[_0x34f53b(0x2da)]({'reset':function(){var _0x37151b=_0x34f53b;this[_0x37151b(0x178)]=new _0x163ad9[(_0x37151b(0x186))](),this['_nDataBytes']=0x0;},'_append':function(_0x2d77cb){var _0x56fe5d=_0x34f53b;typeof _0x2d77cb=='string'&&(_0x2d77cb=_0x56abab[_0x56fe5d(0x2bb)](_0x2d77cb)),this[_0x56fe5d(0x178)][_0x56fe5d(0x2cb)](_0x2d77cb),this[_0x56fe5d(0x311)]+=_0x2d77cb[_0x56fe5d(0x3a8)];},'_process':function(_0x14aaef){var _0xe89d2d=_0x34f53b,_0x55e870,_0x2b6f20=this[_0xe89d2d(0x178)],_0x100fd5=_0x2b6f20['words'],_0x42a7b8=_0x2b6f20[_0xe89d2d(0x3a8)],_0x2174e0=this[_0xe89d2d(0x20f)],_0x335ca0=_0x2174e0*0x4,_0x4d42f3=_0x42a7b8/_0x335ca0;_0x14aaef?_0x4d42f3=_0x38e18b[_0xe89d2d(0x145)](_0x4d42f3):_0x4d42f3=_0x38e18b[_0xe89d2d(0x194)]((_0x4d42f3|0x0)-this[_0xe89d2d(0x11d)],0x0);var _0x3b13ac=_0x4d42f3*_0x2174e0,_0x58249a=_0x38e18b[_0xe89d2d(0x2e8)](_0x3b13ac*0x4,_0x42a7b8);if(_0x3b13ac){for(var _0x4b0c9a=0x0;_0x4b0c9a<_0x3b13ac;_0x4b0c9a+=_0x2174e0)this[_0xe89d2d(0x155)](_0x100fd5,_0x4b0c9a);_0x55e870=_0x100fd5['splice'](0x0,_0x3b13ac),_0x2b6f20[_0xe89d2d(0x3a8)]-=_0x58249a;}return new _0x163ad9[(_0xe89d2d(0x186))](_0x55e870,_0x58249a);},'clone':function(){var _0x2a28db=_0x34f53b,_0x20ae4a=_0x1b4efc[_0x2a28db(0x181)]['call'](this);return _0x20ae4a['_data']=this[_0x2a28db(0x178)][_0x2a28db(0x181)](),_0x20ae4a;},'_minBufferSize':0x0});_0x3e0b30[_0x34f53b(0x23e)]=_0x461332[_0x34f53b(0x2da)]({'cfg':_0x1b4efc['extend'](),'init':function(_0x1309e3){var _0x22caa6=_0x34f53b;this['cfg']=this[_0x22caa6(0x314)]['extend'](_0x1309e3),this['reset']();},'reset':function(){var _0x692a22=_0x34f53b;_0x461332['reset'][_0x692a22(0xef)](this),this[_0x692a22(0x18a)]();},'update':function(_0x45eed9){var _0x954d93=_0x34f53b;return this['_append'](_0x45eed9),this[_0x954d93(0x114)](),this;},'finalize':function(_0x57d868){_0x57d868&&this['_append'](_0x57d868);var _0x2d5d4a=this['_doFinalize']();return _0x2d5d4a;},'blockSize':0x10,'_createHelper':function(_0x193186){return function(_0x2dd5f6,_0x115f3e){var _0x39635d=_0x17ca;return new _0x193186[(_0x39635d(0x186))](_0x115f3e)[_0x39635d(0x12d)](_0x2dd5f6);};},'_createHmacHelper':function(_0x27fce3){return function(_0x961fd1,_0x14a3f6){var _0x34270e=_0x17ca;return new _0x26bac6[(_0x34270e(0x160))]['init'](_0x27fce3,_0x14a3f6)['finalize'](_0x961fd1);};}});var _0x26bac6=_0x272eb7[_0x34f53b(0x269)]={};return _0x272eb7;}(Math);return _0x33b896;}));}(Ge)),Ge[_0x179196(0x2ac)];}var We={'exports':{}},ln=We[_0xb830ac(0x2ac)],qt;function Ni(){var _0x38d097=_0xb830ac;return qt||(qt=0x1,function(_0x47d718,_0x302ed0){(function(_0x45bff8,_0x4536d1){_0x47d718['exports']=_0x4536d1(ie());}(ln,function(_0x499a07){var _0x435eb6=_0x17ca;return(function(){var _0x4f643c=_0x17ca,_0x181765=_0x499a07,_0xa8dae2=_0x181765[_0x4f643c(0x154)],_0x2f9108=_0xa8dae2['WordArray'],_0x93cc03=_0x181765[_0x4f643c(0x32d)];_0x93cc03[_0x4f643c(0x1f5)]={'stringify':function(_0x326cc0){var _0x2d61ba=_0x4f643c,_0x450125=_0x326cc0[_0x2d61ba(0x16e)],_0x28bad9=_0x326cc0[_0x2d61ba(0x3a8)],_0xae635e=this['_map'];_0x326cc0[_0x2d61ba(0x1d0)]();for(var _0x150f5e=[],_0x3fb402=0x0;_0x3fb402<_0x28bad9;_0x3fb402+=0x3)for(var _0xc123c6=_0x450125[_0x3fb402>>>0x2]>>>0x18-_0x3fb402%0x4*0x8&0xff,_0x45a7ea=_0x450125[_0x3fb402+0x1>>>0x2]>>>0x18-(_0x3fb402+0x1)%0x4*0x8&0xff,_0x328725=_0x450125[_0x3fb402+0x2>>>0x2]>>>0x18-(_0x3fb402+0x2)%0x4*0x8&0xff,_0x580aa8=_0xc123c6<<0x10|_0x45a7ea<<0x8|_0x328725,_0x36cfee=0x0;_0x36cfee<0x4&&_0x3fb402+_0x36cfee*0.75<_0x28bad9;_0x36cfee++)_0x150f5e[_0x2d61ba(0x1e6)](_0xae635e[_0x2d61ba(0x2b3)](_0x580aa8>>>0x6*(0x3-_0x36cfee)&0x3f));var _0x476fe5=_0xae635e[_0x2d61ba(0x2b3)](0x40);if(_0x476fe5){for(;_0x150f5e[_0x2d61ba(0x13f)]%0x4;)_0x150f5e[_0x2d61ba(0x1e6)](_0x476fe5);}return _0x150f5e[_0x2d61ba(0x299)]('');},'parse':function(_0xdfe10){var _0x2afbc6=_0x4f643c,_0x510b4a=_0xdfe10[_0x2afbc6(0x13f)],_0x1459f6=this[_0x2afbc6(0x110)],_0x107756=this[_0x2afbc6(0x1db)];if(!_0x107756){_0x107756=this[_0x2afbc6(0x1db)]=[];for(var _0x54379d=0x0;_0x54379d<_0x1459f6['length'];_0x54379d++)_0x107756[_0x1459f6[_0x2afbc6(0x3c7)](_0x54379d)]=_0x54379d;}var _0x4c297c=_0x1459f6[_0x2afbc6(0x2b3)](0x40);if(_0x4c297c){var _0x31731a=_0xdfe10['indexOf'](_0x4c297c);_0x31731a!==-0x1&&(_0x510b4a=_0x31731a);}return _0x389e15(_0xdfe10,_0x510b4a,_0x107756);},'_map':_0x4f643c(0x138)};function _0x389e15(_0x4f7fbf,_0x2f3708,_0xf34594){var _0x455ace=_0x4f643c;for(var _0x764f80=[],_0x111b94=0x0,_0xa9fd5f=0x0;_0xa9fd5f<_0x2f3708;_0xa9fd5f++)if(_0xa9fd5f%0x4){var _0x1dd4f9=_0xf34594[_0x4f7fbf['charCodeAt'](_0xa9fd5f-0x1)]<<_0xa9fd5f%0x4*0x2,_0x3e3053=_0xf34594[_0x4f7fbf[_0x455ace(0x3c7)](_0xa9fd5f)]>>>0x6-_0xa9fd5f%0x4*0x2,_0xdca948=_0x1dd4f9|_0x3e3053;_0x764f80[_0x111b94>>>0x2]|=_0xdca948<<0x18-_0x111b94%0x4*0x8,_0x111b94++;}return _0x2f9108[_0x455ace(0xf1)](_0x764f80,_0x111b94);}}()),_0x499a07[_0x435eb6(0x32d)]['Base64'];}));}(We)),We[_0x38d097(0x2ac)];}var Ye={'exports':{}},un=Ye[_0xb830ac(0x2ac)],zt;function dn(){var _0x176670=_0xb830ac;return zt||(zt=0x1,function(_0x51f133,_0x87ad02){(function(_0x229cfd,_0x444f82){var _0x1dfefe=_0x17ca;_0x51f133[_0x1dfefe(0x2ac)]=_0x444f82(ie());}(un,function(_0x2169a1){return function(_0x54a62e){var _0xd41ec1=_0x17ca,_0x48970d=_0x2169a1,_0x23e7a2=_0x48970d['lib'],_0x376a29=_0x23e7a2['WordArray'],_0x164205=_0x23e7a2[_0xd41ec1(0x23e)],_0x482354=_0x48970d[_0xd41ec1(0x269)],_0x5d9a3f=[];(function(){for(var _0x4add19=0x0;_0x4add19<0x40;_0x4add19++)_0x5d9a3f[_0x4add19]=_0x54a62e['abs'](_0x54a62e['sin'](_0x4add19+0x1))*0x100000000|0x0;}());var _0x3b75cf=_0x482354[_0xd41ec1(0xfd)]=_0x164205['extend']({'_doReset':function(){var _0x448666=_0xd41ec1;this[_0x448666(0x2d6)]=new _0x376a29[(_0x448666(0x186))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1b6656,_0x153c63){var _0x401e13=_0xd41ec1;for(var _0x1614be=0x0;_0x1614be<0x10;_0x1614be++){var _0x23df8f=_0x153c63+_0x1614be,_0x3810ce=_0x1b6656[_0x23df8f];_0x1b6656[_0x23df8f]=(_0x3810ce<<0x8|_0x3810ce>>>0x18)&0xff00ff|(_0x3810ce<<0x18|_0x3810ce>>>0x8)&0xff00ff00;}var _0x413c1=this[_0x401e13(0x2d6)]['words'],_0x345e2d=_0x1b6656[_0x153c63+0x0],_0xa5eddb=_0x1b6656[_0x153c63+0x1],_0xfc494d=_0x1b6656[_0x153c63+0x2],_0x48485b=_0x1b6656[_0x153c63+0x3],_0x1c095f=_0x1b6656[_0x153c63+0x4],_0x33e87c=_0x1b6656[_0x153c63+0x5],_0x561bf7=_0x1b6656[_0x153c63+0x6],_0x5a35ca=_0x1b6656[_0x153c63+0x7],_0x33bd8f=_0x1b6656[_0x153c63+0x8],_0xa223e8=_0x1b6656[_0x153c63+0x9],_0x476835=_0x1b6656[_0x153c63+0xa],_0x22dec0=_0x1b6656[_0x153c63+0xb],_0x18b5e4=_0x1b6656[_0x153c63+0xc],_0x11c034=_0x1b6656[_0x153c63+0xd],_0x44dc45=_0x1b6656[_0x153c63+0xe],_0x237f71=_0x1b6656[_0x153c63+0xf],_0x2d9293=_0x413c1[0x0],_0x5bff52=_0x413c1[0x1],_0x16f01f=_0x413c1[0x2],_0x53ce8d=_0x413c1[0x3];_0x2d9293=_0x54e6d3(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0x345e2d,0x7,_0x5d9a3f[0x0]),_0x53ce8d=_0x54e6d3(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0xa5eddb,0xc,_0x5d9a3f[0x1]),_0x16f01f=_0x54e6d3(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0xfc494d,0x11,_0x5d9a3f[0x2]),_0x5bff52=_0x54e6d3(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x48485b,0x16,_0x5d9a3f[0x3]),_0x2d9293=_0x54e6d3(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0x1c095f,0x7,_0x5d9a3f[0x4]),_0x53ce8d=_0x54e6d3(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x33e87c,0xc,_0x5d9a3f[0x5]),_0x16f01f=_0x54e6d3(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x561bf7,0x11,_0x5d9a3f[0x6]),_0x5bff52=_0x54e6d3(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x5a35ca,0x16,_0x5d9a3f[0x7]),_0x2d9293=_0x54e6d3(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0x33bd8f,0x7,_0x5d9a3f[0x8]),_0x53ce8d=_0x54e6d3(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0xa223e8,0xc,_0x5d9a3f[0x9]),_0x16f01f=_0x54e6d3(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x476835,0x11,_0x5d9a3f[0xa]),_0x5bff52=_0x54e6d3(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x22dec0,0x16,_0x5d9a3f[0xb]),_0x2d9293=_0x54e6d3(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0x18b5e4,0x7,_0x5d9a3f[0xc]),_0x53ce8d=_0x54e6d3(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x11c034,0xc,_0x5d9a3f[0xd]),_0x16f01f=_0x54e6d3(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x44dc45,0x11,_0x5d9a3f[0xe]),_0x5bff52=_0x54e6d3(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x237f71,0x16,_0x5d9a3f[0xf]),_0x2d9293=_0x3e5dd3(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0xa5eddb,0x5,_0x5d9a3f[0x10]),_0x53ce8d=_0x3e5dd3(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x561bf7,0x9,_0x5d9a3f[0x11]),_0x16f01f=_0x3e5dd3(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x22dec0,0xe,_0x5d9a3f[0x12]),_0x5bff52=_0x3e5dd3(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x345e2d,0x14,_0x5d9a3f[0x13]),_0x2d9293=_0x3e5dd3(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0x33e87c,0x5,_0x5d9a3f[0x14]),_0x53ce8d=_0x3e5dd3(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x476835,0x9,_0x5d9a3f[0x15]),_0x16f01f=_0x3e5dd3(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x237f71,0xe,_0x5d9a3f[0x16]),_0x5bff52=_0x3e5dd3(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x1c095f,0x14,_0x5d9a3f[0x17]),_0x2d9293=_0x3e5dd3(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0xa223e8,0x5,_0x5d9a3f[0x18]),_0x53ce8d=_0x3e5dd3(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x44dc45,0x9,_0x5d9a3f[0x19]),_0x16f01f=_0x3e5dd3(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x48485b,0xe,_0x5d9a3f[0x1a]),_0x5bff52=_0x3e5dd3(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x33bd8f,0x14,_0x5d9a3f[0x1b]),_0x2d9293=_0x3e5dd3(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0x11c034,0x5,_0x5d9a3f[0x1c]),_0x53ce8d=_0x3e5dd3(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0xfc494d,0x9,_0x5d9a3f[0x1d]),_0x16f01f=_0x3e5dd3(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x5a35ca,0xe,_0x5d9a3f[0x1e]),_0x5bff52=_0x3e5dd3(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x18b5e4,0x14,_0x5d9a3f[0x1f]),_0x2d9293=_0x5e6d2b(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0x33e87c,0x4,_0x5d9a3f[0x20]),_0x53ce8d=_0x5e6d2b(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x33bd8f,0xb,_0x5d9a3f[0x21]),_0x16f01f=_0x5e6d2b(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x22dec0,0x10,_0x5d9a3f[0x22]),_0x5bff52=_0x5e6d2b(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x44dc45,0x17,_0x5d9a3f[0x23]),_0x2d9293=_0x5e6d2b(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0xa5eddb,0x4,_0x5d9a3f[0x24]),_0x53ce8d=_0x5e6d2b(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x1c095f,0xb,_0x5d9a3f[0x25]),_0x16f01f=_0x5e6d2b(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x5a35ca,0x10,_0x5d9a3f[0x26]),_0x5bff52=_0x5e6d2b(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x476835,0x17,_0x5d9a3f[0x27]),_0x2d9293=_0x5e6d2b(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0x11c034,0x4,_0x5d9a3f[0x28]),_0x53ce8d=_0x5e6d2b(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x345e2d,0xb,_0x5d9a3f[0x29]),_0x16f01f=_0x5e6d2b(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x48485b,0x10,_0x5d9a3f[0x2a]),_0x5bff52=_0x5e6d2b(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x561bf7,0x17,_0x5d9a3f[0x2b]),_0x2d9293=_0x5e6d2b(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0xa223e8,0x4,_0x5d9a3f[0x2c]),_0x53ce8d=_0x5e6d2b(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x18b5e4,0xb,_0x5d9a3f[0x2d]),_0x16f01f=_0x5e6d2b(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x237f71,0x10,_0x5d9a3f[0x2e]),_0x5bff52=_0x5e6d2b(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0xfc494d,0x17,_0x5d9a3f[0x2f]),_0x2d9293=_0x16d373(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0x345e2d,0x6,_0x5d9a3f[0x30]),_0x53ce8d=_0x16d373(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x5a35ca,0xa,_0x5d9a3f[0x31]),_0x16f01f=_0x16d373(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x44dc45,0xf,_0x5d9a3f[0x32]),_0x5bff52=_0x16d373(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x33e87c,0x15,_0x5d9a3f[0x33]),_0x2d9293=_0x16d373(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0x18b5e4,0x6,_0x5d9a3f[0x34]),_0x53ce8d=_0x16d373(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x48485b,0xa,_0x5d9a3f[0x35]),_0x16f01f=_0x16d373(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x476835,0xf,_0x5d9a3f[0x36]),_0x5bff52=_0x16d373(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0xa5eddb,0x15,_0x5d9a3f[0x37]),_0x2d9293=_0x16d373(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0x33bd8f,0x6,_0x5d9a3f[0x38]),_0x53ce8d=_0x16d373(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x237f71,0xa,_0x5d9a3f[0x39]),_0x16f01f=_0x16d373(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x561bf7,0xf,_0x5d9a3f[0x3a]),_0x5bff52=_0x16d373(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x11c034,0x15,_0x5d9a3f[0x3b]),_0x2d9293=_0x16d373(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0x1c095f,0x6,_0x5d9a3f[0x3c]),_0x53ce8d=_0x16d373(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x22dec0,0xa,_0x5d9a3f[0x3d]),_0x16f01f=_0x16d373(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0xfc494d,0xf,_0x5d9a3f[0x3e]),_0x5bff52=_0x16d373(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0xa223e8,0x15,_0x5d9a3f[0x3f]),_0x413c1[0x0]=_0x413c1[0x0]+_0x2d9293|0x0,_0x413c1[0x1]=_0x413c1[0x1]+_0x5bff52|0x0,_0x413c1[0x2]=_0x413c1[0x2]+_0x16f01f|0x0,_0x413c1[0x3]=_0x413c1[0x3]+_0x53ce8d|0x0;},'_doFinalize':function(){var _0x58f94d=_0xd41ec1,_0x1bc6a5=this['_data'],_0x2abc32=_0x1bc6a5[_0x58f94d(0x16e)],_0x346555=this['_nDataBytes']*0x8,_0x3c393e=_0x1bc6a5['sigBytes']*0x8;_0x2abc32[_0x3c393e>>>0x5]|=0x80<<0x18-_0x3c393e%0x20;var _0x58f8ce=_0x54a62e[_0x58f94d(0x226)](_0x346555/0x100000000),_0x7ce4db=_0x346555;_0x2abc32[(_0x3c393e+0x40>>>0x9<<0x4)+0xf]=(_0x58f8ce<<0x8|_0x58f8ce>>>0x18)&0xff00ff|(_0x58f8ce<<0x18|_0x58f8ce>>>0x8)&0xff00ff00,_0x2abc32[(_0x3c393e+0x40>>>0x9<<0x4)+0xe]=(_0x7ce4db<<0x8|_0x7ce4db>>>0x18)&0xff00ff|(_0x7ce4db<<0x18|_0x7ce4db>>>0x8)&0xff00ff00,_0x1bc6a5['sigBytes']=(_0x2abc32[_0x58f94d(0x13f)]+0x1)*0x4,this[_0x58f94d(0x114)]();for(var _0x2937e6=this[_0x58f94d(0x2d6)],_0x48c8ad=_0x2937e6[_0x58f94d(0x16e)],_0x6886a2=0x0;_0x6886a2<0x4;_0x6886a2++){var _0x3463a4=_0x48c8ad[_0x6886a2];_0x48c8ad[_0x6886a2]=(_0x3463a4<<0x8|_0x3463a4>>>0x18)&0xff00ff|(_0x3463a4<<0x18|_0x3463a4>>>0x8)&0xff00ff00;}return _0x2937e6;},'clone':function(){var _0x248d53=_0xd41ec1,_0x5b0d29=_0x164205[_0x248d53(0x181)][_0x248d53(0xef)](this);return _0x5b0d29[_0x248d53(0x2d6)]=this[_0x248d53(0x2d6)]['clone'](),_0x5b0d29;}});function _0x54e6d3(_0x2db23f,_0xa25fa2,_0x397672,_0x513d02,_0xaf3fa1,_0x4e53ff,_0x511a77){var _0x164aba=_0x2db23f+(_0xa25fa2&_0x397672|~_0xa25fa2&_0x513d02)+_0xaf3fa1+_0x511a77;return(_0x164aba<<_0x4e53ff|_0x164aba>>>0x20-_0x4e53ff)+_0xa25fa2;}function _0x3e5dd3(_0xd8dec4,_0x2f1730,_0x1afdd9,_0x3a93b9,_0x34a815,_0x434156,_0x23153e){var _0x5b6803=_0xd8dec4+(_0x2f1730&_0x3a93b9|_0x1afdd9&~_0x3a93b9)+_0x34a815+_0x23153e;return(_0x5b6803<<_0x434156|_0x5b6803>>>0x20-_0x434156)+_0x2f1730;}function _0x5e6d2b(_0x2076ea,_0x14d4d3,_0x527ca9,_0x78e8b,_0xbf6916,_0xb1b328,_0x4223d8){var _0x8f6d8c=_0x2076ea+(_0x14d4d3^_0x527ca9^_0x78e8b)+_0xbf6916+_0x4223d8;return(_0x8f6d8c<<_0xb1b328|_0x8f6d8c>>>0x20-_0xb1b328)+_0x14d4d3;}function _0x16d373(_0x2f9066,_0x217d53,_0x13a21a,_0x5264ad,_0x384cb4,_0x2b8d12,_0x29f879){var _0x302e10=_0x2f9066+(_0x13a21a^(_0x217d53|~_0x5264ad))+_0x384cb4+_0x29f879;return(_0x302e10<<_0x2b8d12|_0x302e10>>>0x20-_0x2b8d12)+_0x217d53;}_0x48970d[_0xd41ec1(0xfd)]=_0x164205[_0xd41ec1(0x2d4)](_0x3b75cf),_0x48970d['HmacMD5']=_0x164205[_0xd41ec1(0x35d)](_0x3b75cf);}(Math),_0x2169a1['MD5'];}));}(Ye)),Ye[_0x176670(0x2ac)];}var Ke={'exports':{}},qe={'exports':{}},fn=qe[_0xb830ac(0x2ac)],Xt;function vn(){var _0xaa29e8=_0xb830ac;return Xt||(Xt=0x1,function(_0x184a8d,_0x2ab5b3){(function(_0x4f47d8,_0xe0f71c){var _0x5703e5=_0x17ca;_0x184a8d[_0x5703e5(0x2ac)]=_0xe0f71c(ie());}(fn,function(_0x4073a0){var _0xa34701=_0x17ca;return(function(){var _0x5913ce=_0x17ca,_0x2deb36=_0x4073a0,_0x408238=_0x2deb36['lib'],_0x117c63=_0x408238[_0x5913ce(0x32e)],_0xa5503=_0x408238[_0x5913ce(0x23e)],_0x4c3a1c=_0x2deb36['algo'],_0x499a0d=[],_0x38a002=_0x4c3a1c[_0x5913ce(0x122)]=_0xa5503[_0x5913ce(0x2da)]({'_doReset':function(){var _0x136b0e=_0x5913ce;this[_0x136b0e(0x2d6)]=new _0x117c63[(_0x136b0e(0x186))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x58a3f3,_0x1618b1){for(var _0x56fe26=this['_hash']['words'],_0x24fff0=_0x56fe26[0x0],_0x4d8185=_0x56fe26[0x1],_0x55490f=_0x56fe26[0x2],_0x151826=_0x56fe26[0x3],_0x478750=_0x56fe26[0x4],_0x2289e4=0x0;_0x2289e4<0x50;_0x2289e4++){if(_0x2289e4<0x10)_0x499a0d[_0x2289e4]=_0x58a3f3[_0x1618b1+_0x2289e4]|0x0;else{var _0x2e84da=_0x499a0d[_0x2289e4-0x3]^_0x499a0d[_0x2289e4-0x8]^_0x499a0d[_0x2289e4-0xe]^_0x499a0d[_0x2289e4-0x10];_0x499a0d[_0x2289e4]=_0x2e84da<<0x1|_0x2e84da>>>0x1f;}var _0x332220=(_0x24fff0<<0x5|_0x24fff0>>>0x1b)+_0x478750+_0x499a0d[_0x2289e4];_0x2289e4<0x14?_0x332220+=(_0x4d8185&_0x55490f|~_0x4d8185&_0x151826)+0x5a827999:_0x2289e4<0x28?_0x332220+=(_0x4d8185^_0x55490f^_0x151826)+0x6ed9eba1:_0x2289e4<0x3c?_0x332220+=(_0x4d8185&_0x55490f|_0x4d8185&_0x151826|_0x55490f&_0x151826)-0x70e44324:_0x332220+=(_0x4d8185^_0x55490f^_0x151826)-0x359d3e2a,_0x478750=_0x151826,_0x151826=_0x55490f,_0x55490f=_0x4d8185<<0x1e|_0x4d8185>>>0x2,_0x4d8185=_0x24fff0,_0x24fff0=_0x332220;}_0x56fe26[0x0]=_0x56fe26[0x0]+_0x24fff0|0x0,_0x56fe26[0x1]=_0x56fe26[0x1]+_0x4d8185|0x0,_0x56fe26[0x2]=_0x56fe26[0x2]+_0x55490f|0x0,_0x56fe26[0x3]=_0x56fe26[0x3]+_0x151826|0x0,_0x56fe26[0x4]=_0x56fe26[0x4]+_0x478750|0x0;},'_doFinalize':function(){var _0x3e1676=_0x5913ce,_0x8f0db7=this[_0x3e1676(0x178)],_0x112d34=_0x8f0db7[_0x3e1676(0x16e)],_0x48b878=this[_0x3e1676(0x311)]*0x8,_0x3cf502=_0x8f0db7[_0x3e1676(0x3a8)]*0x8;return _0x112d34[_0x3cf502>>>0x5]|=0x80<<0x18-_0x3cf502%0x20,_0x112d34[(_0x3cf502+0x40>>>0x9<<0x4)+0xe]=Math[_0x3e1676(0x226)](_0x48b878/0x100000000),_0x112d34[(_0x3cf502+0x40>>>0x9<<0x4)+0xf]=_0x48b878,_0x8f0db7[_0x3e1676(0x3a8)]=_0x112d34[_0x3e1676(0x13f)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x14c0fb=_0x5913ce,_0x3f6d99=_0xa5503[_0x14c0fb(0x181)][_0x14c0fb(0xef)](this);return _0x3f6d99['_hash']=this[_0x14c0fb(0x2d6)][_0x14c0fb(0x181)](),_0x3f6d99;}});_0x2deb36[_0x5913ce(0x122)]=_0xa5503[_0x5913ce(0x2d4)](_0x38a002),_0x2deb36[_0x5913ce(0x119)]=_0xa5503[_0x5913ce(0x35d)](_0x38a002);}()),_0x4073a0[_0xa34701(0x122)];}));}(qe)),qe[_0xaa29e8(0x2ac)];}var ze={'exports':{}},En=ze[_0xb830ac(0x2ac)],Jt;function pn(){var _0x2c320a=_0xb830ac;return Jt||(Jt=0x1,function(_0x3efcc1,_0x342c6c){(function(_0x1fba6b,_0x1dbefb){var _0x59b662=_0x17ca;_0x3efcc1[_0x59b662(0x2ac)]=_0x1dbefb(ie());}(En,function(_0x32d524){(function(){var _0x354c3d=_0x17ca,_0x1fe46d=_0x32d524,_0x38aa4b=_0x1fe46d[_0x354c3d(0x154)],_0x377d20=_0x38aa4b[_0x354c3d(0x31a)],_0x31995b=_0x1fe46d[_0x354c3d(0x32d)],_0x84a10f=_0x31995b['Utf8'],_0x5bba55=_0x1fe46d['algo'];_0x5bba55[_0x354c3d(0x160)]=_0x377d20[_0x354c3d(0x2da)]({'init':function(_0x56566d,_0x4da0da){var _0x4c1f25=_0x354c3d;_0x56566d=this['_hasher']=new _0x56566d['init'](),typeof _0x4da0da==_0x4c1f25(0x159)&&(_0x4da0da=_0x84a10f[_0x4c1f25(0x2bb)](_0x4da0da));var _0x733fd7=_0x56566d[_0x4c1f25(0x20f)],_0x59ad1a=_0x733fd7*0x4;_0x4da0da[_0x4c1f25(0x3a8)]>_0x59ad1a&&(_0x4da0da=_0x56566d[_0x4c1f25(0x12d)](_0x4da0da)),_0x4da0da[_0x4c1f25(0x1d0)]();for(var _0x3aebd9=this[_0x4c1f25(0x2d9)]=_0x4da0da[_0x4c1f25(0x181)](),_0x4a2340=this['_iKey']=_0x4da0da[_0x4c1f25(0x181)](),_0x12142e=_0x3aebd9[_0x4c1f25(0x16e)],_0x44504a=_0x4a2340[_0x4c1f25(0x16e)],_0xc2d20f=0x0;_0xc2d20f<_0x733fd7;_0xc2d20f++)_0x12142e[_0xc2d20f]^=0x5c5c5c5c,_0x44504a[_0xc2d20f]^=0x36363636;_0x3aebd9[_0x4c1f25(0x3a8)]=_0x4a2340[_0x4c1f25(0x3a8)]=_0x59ad1a,this['reset']();},'reset':function(){var _0x46226d=_0x354c3d,_0x214c35=this['_hasher'];_0x214c35['reset'](),_0x214c35[_0x46226d(0x188)](this[_0x46226d(0x3d1)]);},'update':function(_0x296eb8){var _0x1625d7=_0x354c3d;return this['_hasher'][_0x1625d7(0x188)](_0x296eb8),this;},'finalize':function(_0xfdde36){var _0x264df4=_0x354c3d,_0x12453b=this[_0x264df4(0xfb)],_0xd8524e=_0x12453b[_0x264df4(0x12d)](_0xfdde36);_0x12453b[_0x264df4(0x40c)]();var _0x5d26a3=_0x12453b[_0x264df4(0x12d)](this[_0x264df4(0x2d9)][_0x264df4(0x181)]()['concat'](_0xd8524e));return _0x5d26a3;}});}());}));}(ze)),ze[_0x2c320a(0x2ac)];}var mn=Ke[_0xb830ac(0x2ac)],Zt;function Ci(){var _0x40320f=_0xb830ac;return Zt||(Zt=0x1,function(_0x3e56e3,_0x349d0b){(function(_0x43a6ca,_0x1871df,_0x1718aa){_0x3e56e3['exports']=_0x1871df(ie(),vn(),pn());}(mn,function(_0x295b60){var _0xd14c43=_0x17ca;return(function(){var _0x4c670d=_0x17ca,_0x3fd825=_0x295b60,_0x657790=_0x3fd825[_0x4c670d(0x154)],_0x45e9d4=_0x657790[_0x4c670d(0x31a)],_0x397b91=_0x657790['WordArray'],_0x450137=_0x3fd825[_0x4c670d(0x269)],_0x57c3f7=_0x450137[_0x4c670d(0xfd)],_0x3d338b=_0x450137['EvpKDF']=_0x45e9d4['extend']({'cfg':_0x45e9d4[_0x4c670d(0x2da)]({'keySize':0x80/0x20,'hasher':_0x57c3f7,'iterations':0x1}),'init':function(_0xce46dd){var _0x35bb8c=_0x4c670d;this[_0x35bb8c(0x314)]=this['cfg'][_0x35bb8c(0x2da)](_0xce46dd);},'compute':function(_0x3ac4dc,_0x1ca98e){var _0x3ea902=_0x4c670d;for(var _0x485304,_0x143c6c=this[_0x3ea902(0x314)],_0x66259=_0x143c6c[_0x3ea902(0x176)][_0x3ea902(0xf1)](),_0x48bbb5=_0x397b91[_0x3ea902(0xf1)](),_0x197d73=_0x48bbb5[_0x3ea902(0x16e)],_0x3f7e4d=_0x143c6c[_0x3ea902(0x189)],_0x5daa61=_0x143c6c[_0x3ea902(0x2c5)];_0x197d73['length']<_0x3f7e4d;){_0x485304&&_0x66259[_0x3ea902(0x188)](_0x485304),_0x485304=_0x66259[_0x3ea902(0x188)](_0x3ac4dc)[_0x3ea902(0x12d)](_0x1ca98e),_0x66259['reset']();for(var _0x535ad1=0x1;_0x535ad1<_0x5daa61;_0x535ad1++)_0x485304=_0x66259['finalize'](_0x485304),_0x66259['reset']();_0x48bbb5[_0x3ea902(0x2cb)](_0x485304);}return _0x48bbb5['sigBytes']=_0x3f7e4d*0x4,_0x48bbb5;}});_0x3fd825[_0x4c670d(0x120)]=function(_0xac5422,_0x2d906d,_0x542d65){var _0x2f5aef=_0x4c670d;return _0x3d338b[_0x2f5aef(0xf1)](_0x542d65)[_0x2f5aef(0x27b)](_0xac5422,_0x2d906d);};}()),_0x295b60[_0xd14c43(0x120)];}));}(Ke)),Ke[_0x40320f(0x2ac)];}var Xe={'exports':{}},In=Xe[_0xb830ac(0x2ac)],Qt;function bi(){var _0x39d314=_0xb830ac;return Qt||(Qt=0x1,function(_0xd3f15a,_0x36738c){(function(_0x3ff9f5,_0xee054c,_0x23ad17){_0xd3f15a['exports']=_0xee054c(ie(),Ci());}(In,function(_0x5274e7){var _0x323289=_0x17ca;_0x5274e7[_0x323289(0x154)][_0x323289(0x1f2)]||function(_0x58802b){var _0x298416=_0x323289,_0x275fe8=_0x5274e7,_0x59875c=_0x275fe8['lib'],_0x2f46b6=_0x59875c[_0x298416(0x31a)],_0x37656f=_0x59875c[_0x298416(0x32e)],_0x15d7d4=_0x59875c[_0x298416(0x3a4)],_0x33e0a4=_0x275fe8['enc'];_0x33e0a4['Utf8'];var _0x68a35b=_0x33e0a4[_0x298416(0x1f5)],_0x142c7f=_0x275fe8['algo'],_0x3ea749=_0x142c7f[_0x298416(0x120)],_0x5c66c4=_0x59875c[_0x298416(0x1f2)]=_0x15d7d4[_0x298416(0x2da)]({'cfg':_0x2f46b6[_0x298416(0x2da)](),'createEncryptor':function(_0x4b5286,_0x990bfd){var _0x397020=_0x298416;return this[_0x397020(0xf1)](this[_0x397020(0x127)],_0x4b5286,_0x990bfd);},'createDecryptor':function(_0x54ff7f,_0x5647ae){return this['create'](this['_DEC_XFORM_MODE'],_0x54ff7f,_0x5647ae);},'init':function(_0x381512,_0x18ced2,_0x445e0d){var _0x24f9a1=_0x298416;this['cfg']=this[_0x24f9a1(0x314)]['extend'](_0x445e0d),this[_0x24f9a1(0x22f)]=_0x381512,this[_0x24f9a1(0x168)]=_0x18ced2,this[_0x24f9a1(0x40c)]();},'reset':function(){var _0x11e930=_0x298416;_0x15d7d4['reset'][_0x11e930(0xef)](this),this['_doReset']();},'process':function(_0x3e33ff){var _0x4155a3=_0x298416;return this[_0x4155a3(0x283)](_0x3e33ff),this['_process']();},'finalize':function(_0x33c83f){var _0x351ff5=_0x298416;_0x33c83f&&this[_0x351ff5(0x283)](_0x33c83f);var _0x453fd7=this[_0x351ff5(0x3ec)]();return _0x453fd7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x389990(_0x37f369){var _0x2cea44=_0x17ca;return typeof _0x37f369==_0x2cea44(0x159)?_0x1ef0d7:_0x314f93;}return function(_0xafe6d4){return{'encrypt':function(_0x5b2ba4,_0xb00c5a,_0x10d000){return _0x389990(_0xb00c5a)['encrypt'](_0xafe6d4,_0x5b2ba4,_0xb00c5a,_0x10d000);},'decrypt':function(_0xf666af,_0x56a583,_0x46586e){var _0x105410=_0x17ca;return _0x389990(_0x56a583)[_0x105410(0x24b)](_0xafe6d4,_0xf666af,_0x56a583,_0x46586e);}};};}())});_0x59875c[_0x298416(0x313)]=_0x5c66c4[_0x298416(0x2da)]({'_doFinalize':function(){var _0x3efc75=_0x298416,_0x1e8d26=this[_0x3efc75(0x114)](!0x0);return _0x1e8d26;},'blockSize':0x1});var _0x41c73e=_0x275fe8[_0x298416(0x26c)]={},_0x2dc264=_0x59875c[_0x298416(0x3dc)]=_0x2f46b6[_0x298416(0x2da)]({'createEncryptor':function(_0x2f6729,_0x1d089b){var _0x4f8113=_0x298416;return this[_0x4f8113(0x2b4)][_0x4f8113(0xf1)](_0x2f6729,_0x1d089b);},'createDecryptor':function(_0x132ac5,_0x2a038e){var _0x2e3b61=_0x298416;return this[_0x2e3b61(0x128)][_0x2e3b61(0xf1)](_0x132ac5,_0x2a038e);},'init':function(_0x27c465,_0x2372c4){this['_cipher']=_0x27c465,this['_iv']=_0x2372c4;}}),_0x2c2887=_0x41c73e[_0x298416(0x2c3)]=(function(){var _0x222a79=_0x298416,_0x4192cf=_0x2dc264[_0x222a79(0x2da)]();_0x4192cf['Encryptor']=_0x4192cf[_0x222a79(0x2da)]({'processBlock':function(_0x1dc8a1,_0x5252f1){var _0x2223f8=_0x222a79,_0x3791ad=this[_0x2223f8(0x405)],_0x25bd48=_0x3791ad[_0x2223f8(0x20f)];_0x110a77[_0x2223f8(0xef)](this,_0x1dc8a1,_0x5252f1,_0x25bd48),_0x3791ad[_0x2223f8(0x3fd)](_0x1dc8a1,_0x5252f1),this[_0x2223f8(0x384)]=_0x1dc8a1[_0x2223f8(0x11c)](_0x5252f1,_0x5252f1+_0x25bd48);}}),_0x4192cf[_0x222a79(0x128)]=_0x4192cf[_0x222a79(0x2da)]({'processBlock':function(_0x1ab037,_0x3c9966){var _0x584811=_0x222a79,_0x454f96=this[_0x584811(0x405)],_0x493fed=_0x454f96['blockSize'],_0x312c8a=_0x1ab037[_0x584811(0x11c)](_0x3c9966,_0x3c9966+_0x493fed);_0x454f96[_0x584811(0x1bb)](_0x1ab037,_0x3c9966),_0x110a77[_0x584811(0xef)](this,_0x1ab037,_0x3c9966,_0x493fed),this[_0x584811(0x384)]=_0x312c8a;}});function _0x110a77(_0x25b882,_0x13c158,_0x2860c4){var _0x531d79=_0x222a79,_0x24c253,_0x4cf73f=this[_0x531d79(0x347)];_0x4cf73f?(_0x24c253=_0x4cf73f,this[_0x531d79(0x347)]=_0x58802b):_0x24c253=this['_prevBlock'];for(var _0x116b94=0x0;_0x116b94<_0x2860c4;_0x116b94++)_0x25b882[_0x13c158+_0x116b94]^=_0x24c253[_0x116b94];}return _0x4192cf;}()),_0x779034=_0x275fe8[_0x298416(0x14a)]={},_0x6fc8ad=_0x779034[_0x298416(0x2d8)]={'pad':function(_0x2fd2be,_0x8f7921){var _0x56e4d2=_0x298416;for(var _0x2599bd=_0x8f7921*0x4,_0x59340c=_0x2599bd-_0x2fd2be['sigBytes']%_0x2599bd,_0xd9474c=_0x59340c<<0x18|_0x59340c<<0x10|_0x59340c<<0x8|_0x59340c,_0x4a3a63=[],_0x3eda5d=0x0;_0x3eda5d<_0x59340c;_0x3eda5d+=0x4)_0x4a3a63['push'](_0xd9474c);var _0x10b327=_0x37656f[_0x56e4d2(0xf1)](_0x4a3a63,_0x59340c);_0x2fd2be[_0x56e4d2(0x2cb)](_0x10b327);},'unpad':function(_0x2891bb){var _0x344f94=_0x298416,_0x5c3929=_0x2891bb[_0x344f94(0x16e)][_0x2891bb[_0x344f94(0x3a8)]-0x1>>>0x2]&0xff;_0x2891bb[_0x344f94(0x3a8)]-=_0x5c3929;}};_0x59875c['BlockCipher']=_0x5c66c4[_0x298416(0x2da)]({'cfg':_0x5c66c4[_0x298416(0x314)][_0x298416(0x2da)]({'mode':_0x2c2887,'padding':_0x6fc8ad}),'reset':function(){var _0x4a4e99=_0x298416,_0x302ec7;_0x5c66c4[_0x4a4e99(0x40c)][_0x4a4e99(0xef)](this);var _0x5a665b=this[_0x4a4e99(0x314)],_0x1aa0be=_0x5a665b['iv'],_0x471cc6=_0x5a665b[_0x4a4e99(0x26c)];this['_xformMode']==this[_0x4a4e99(0x127)]?_0x302ec7=_0x471cc6['createEncryptor']:(_0x302ec7=_0x471cc6['createDecryptor'],this[_0x4a4e99(0x11d)]=0x1),this[_0x4a4e99(0x2fb)]&&this[_0x4a4e99(0x2fb)][_0x4a4e99(0x10b)]==_0x302ec7?this[_0x4a4e99(0x2fb)][_0x4a4e99(0x186)](this,_0x1aa0be&&_0x1aa0be[_0x4a4e99(0x16e)]):(this[_0x4a4e99(0x2fb)]=_0x302ec7[_0x4a4e99(0xef)](_0x471cc6,this,_0x1aa0be&&_0x1aa0be[_0x4a4e99(0x16e)]),this[_0x4a4e99(0x2fb)][_0x4a4e99(0x10b)]=_0x302ec7);},'_doProcessBlock':function(_0x14aada,_0xba5b9f){var _0x58fac6=_0x298416;this['_mode'][_0x58fac6(0x191)](_0x14aada,_0xba5b9f);},'_doFinalize':function(){var _0x52b7c0=_0x298416,_0x11cd08,_0x2c4e7c=this[_0x52b7c0(0x314)]['padding'];return this[_0x52b7c0(0x22f)]==this['_ENC_XFORM_MODE']?(_0x2c4e7c['pad'](this[_0x52b7c0(0x178)],this['blockSize']),_0x11cd08=this[_0x52b7c0(0x114)](!0x0)):(_0x11cd08=this[_0x52b7c0(0x114)](!0x0),_0x2c4e7c[_0x52b7c0(0x229)](_0x11cd08)),_0x11cd08;},'blockSize':0x80/0x20});var _0x173ff0=_0x59875c[_0x298416(0x1d3)]=_0x2f46b6[_0x298416(0x2da)]({'init':function(_0x5a47f6){var _0x21fc8a=_0x298416;this[_0x21fc8a(0x115)](_0x5a47f6);},'toString':function(_0x32d330){var _0x27584c=_0x298416;return(_0x32d330||this[_0x27584c(0x2e3)])['stringify'](this);}}),_0x28daba=_0x275fe8[_0x298416(0x179)]={},_0x286563=_0x28daba[_0x298416(0x1a6)]={'stringify':function(_0x4df8df){var _0x30f8d2=_0x298416,_0x5a70c2,_0x5d76ee=_0x4df8df[_0x30f8d2(0x403)],_0x4221e7=_0x4df8df[_0x30f8d2(0x2ec)];return _0x4221e7?_0x5a70c2=_0x37656f[_0x30f8d2(0xf1)]([0x53616c74,0x65645f5f])[_0x30f8d2(0x2cb)](_0x4221e7)[_0x30f8d2(0x2cb)](_0x5d76ee):_0x5a70c2=_0x5d76ee,_0x5a70c2[_0x30f8d2(0x1e1)](_0x68a35b);},'parse':function(_0x21baae){var _0x3507c8=_0x298416,_0x27bed1,_0x363d4a=_0x68a35b[_0x3507c8(0x2bb)](_0x21baae),_0xfc115a=_0x363d4a['words'];return _0xfc115a[0x0]==0x53616c74&&_0xfc115a[0x1]==0x65645f5f&&(_0x27bed1=_0x37656f[_0x3507c8(0xf1)](_0xfc115a['slice'](0x2,0x4)),_0xfc115a[_0x3507c8(0x2e4)](0x0,0x4),_0x363d4a[_0x3507c8(0x3a8)]-=0x10),_0x173ff0[_0x3507c8(0xf1)]({'ciphertext':_0x363d4a,'salt':_0x27bed1});}},_0x314f93=_0x59875c['SerializableCipher']=_0x2f46b6[_0x298416(0x2da)]({'cfg':_0x2f46b6[_0x298416(0x2da)]({'format':_0x286563}),'encrypt':function(_0x18ef10,_0x1f596a,_0x3dd274,_0x5211e1){var _0x3c5311=_0x298416;_0x5211e1=this[_0x3c5311(0x314)][_0x3c5311(0x2da)](_0x5211e1);var _0x11ea75=_0x18ef10['createEncryptor'](_0x3dd274,_0x5211e1),_0x3b4793=_0x11ea75[_0x3c5311(0x12d)](_0x1f596a),_0x26418a=_0x11ea75[_0x3c5311(0x314)];return _0x173ff0[_0x3c5311(0xf1)]({'ciphertext':_0x3b4793,'key':_0x3dd274,'iv':_0x26418a['iv'],'algorithm':_0x18ef10,'mode':_0x26418a[_0x3c5311(0x26c)],'padding':_0x26418a['padding'],'blockSize':_0x18ef10[_0x3c5311(0x20f)],'formatter':_0x5211e1[_0x3c5311(0x179)]});},'decrypt':function(_0xf19f5f,_0x406182,_0x228562,_0x330a79){var _0x37044f=_0x298416;_0x330a79=this[_0x37044f(0x314)][_0x37044f(0x2da)](_0x330a79),_0x406182=this[_0x37044f(0x17c)](_0x406182,_0x330a79[_0x37044f(0x179)]);var _0xd6d345=_0xf19f5f[_0x37044f(0x295)](_0x228562,_0x330a79)[_0x37044f(0x12d)](_0x406182[_0x37044f(0x403)]);return _0xd6d345;},'_parse':function(_0x1389d2,_0x2e3be9){var _0x233b48=_0x298416;return typeof _0x1389d2==_0x233b48(0x159)?_0x2e3be9[_0x233b48(0x2bb)](_0x1389d2,this):_0x1389d2;}}),_0x348749=_0x275fe8[_0x298416(0x1a0)]={},_0x346120=_0x348749[_0x298416(0x1a6)]={'execute':function(_0x310bde,_0x1e602e,_0xd3f13c,_0x9bb177,_0x313f67){var _0x309b8c=_0x298416;if(_0x9bb177||(_0x9bb177=_0x37656f[_0x309b8c(0x39f)](0x40/0x8)),_0x313f67)var _0x51bdd6=_0x3ea749['create']({'keySize':_0x1e602e+_0xd3f13c,'hasher':_0x313f67})[_0x309b8c(0x27b)](_0x310bde,_0x9bb177);else var _0x51bdd6=_0x3ea749[_0x309b8c(0xf1)]({'keySize':_0x1e602e+_0xd3f13c})[_0x309b8c(0x27b)](_0x310bde,_0x9bb177);var _0x3c058c=_0x37656f[_0x309b8c(0xf1)](_0x51bdd6[_0x309b8c(0x16e)]['slice'](_0x1e602e),_0xd3f13c*0x4);return _0x51bdd6['sigBytes']=_0x1e602e*0x4,_0x173ff0[_0x309b8c(0xf1)]({'key':_0x51bdd6,'iv':_0x3c058c,'salt':_0x9bb177});}},_0x1ef0d7=_0x59875c[_0x298416(0x377)]=_0x314f93[_0x298416(0x2da)]({'cfg':_0x314f93[_0x298416(0x314)][_0x298416(0x2da)]({'kdf':_0x346120}),'encrypt':function(_0x30366f,_0x761a53,_0x4d3059,_0x3f5f15){var _0x2e77ae=_0x298416;_0x3f5f15=this['cfg'][_0x2e77ae(0x2da)](_0x3f5f15);var _0x2ee68b=_0x3f5f15['kdf'][_0x2e77ae(0x337)](_0x4d3059,_0x30366f[_0x2e77ae(0x189)],_0x30366f[_0x2e77ae(0x38a)],_0x3f5f15[_0x2e77ae(0x2ec)],_0x3f5f15[_0x2e77ae(0x176)]);_0x3f5f15['iv']=_0x2ee68b['iv'];var _0x2c4059=_0x314f93['encrypt'][_0x2e77ae(0xef)](this,_0x30366f,_0x761a53,_0x2ee68b[_0x2e77ae(0x2c7)],_0x3f5f15);return _0x2c4059[_0x2e77ae(0x115)](_0x2ee68b),_0x2c4059;},'decrypt':function(_0x51a1f6,_0x49144a,_0x29a881,_0x1ce332){var _0x2ca9c4=_0x298416;_0x1ce332=this[_0x2ca9c4(0x314)][_0x2ca9c4(0x2da)](_0x1ce332),_0x49144a=this['_parse'](_0x49144a,_0x1ce332[_0x2ca9c4(0x179)]);var _0xa15a3=_0x1ce332[_0x2ca9c4(0x1a0)][_0x2ca9c4(0x337)](_0x29a881,_0x51a1f6['keySize'],_0x51a1f6[_0x2ca9c4(0x38a)],_0x49144a[_0x2ca9c4(0x2ec)],_0x1ce332['hasher']);_0x1ce332['iv']=_0xa15a3['iv'];var _0x4a0311=_0x314f93[_0x2ca9c4(0x24b)][_0x2ca9c4(0xef)](this,_0x51a1f6,_0x49144a,_0xa15a3['key'],_0x1ce332);return _0x4a0311;}});}();}));}(Xe)),Xe[_0x39d314(0x2ac)];}var Sn=Ve[_0xb830ac(0x2ac)],ei;function gn(){return ei||(ei=0x1,function(_0x57cc25,_0x76a563){(function(_0x3757de,_0x3dba2d,_0x3dc282){var _0x568322=_0x17ca;_0x57cc25[_0x568322(0x2ac)]=_0x3dba2d(ie(),Ni(),dn(),Ci(),bi());}(Sn,function(_0x8776d1){return(function(){var _0x54b994=_0x17ca,_0x1b17e8=_0x8776d1,_0x4225cc=_0x1b17e8[_0x54b994(0x154)],_0x52a904=_0x4225cc[_0x54b994(0x167)],_0x2a1695=_0x1b17e8[_0x54b994(0x269)],_0x2fb64b=[],_0xe5c77f=[],_0x1bc6ba=[],_0x101c49=[],_0x49cb7e=[],_0x3add5c=[],_0x453adf=[],_0x2ae0fd=[],_0x147845=[],_0x10b857=[];(function(){for(var _0x2dc7dd=[],_0xa8204e=0x0;_0xa8204e<0x100;_0xa8204e++)_0xa8204e<0x80?_0x2dc7dd[_0xa8204e]=_0xa8204e<<0x1:_0x2dc7dd[_0xa8204e]=_0xa8204e<<0x1^0x11b;for(var _0x547976=0x0,_0x4290a8=0x0,_0xa8204e=0x0;_0xa8204e<0x100;_0xa8204e++){var _0x5d8b0f=_0x4290a8^_0x4290a8<<0x1^_0x4290a8<<0x2^_0x4290a8<<0x3^_0x4290a8<<0x4;_0x5d8b0f=_0x5d8b0f>>>0x8^_0x5d8b0f&0xff^0x63,_0x2fb64b[_0x547976]=_0x5d8b0f,_0xe5c77f[_0x5d8b0f]=_0x547976;var _0x5392f2=_0x2dc7dd[_0x547976],_0x2b97a0=_0x2dc7dd[_0x5392f2],_0x1e863d=_0x2dc7dd[_0x2b97a0],_0x7b5d86=_0x2dc7dd[_0x5d8b0f]*0x101^_0x5d8b0f*0x1010100;_0x1bc6ba[_0x547976]=_0x7b5d86<<0x18|_0x7b5d86>>>0x8,_0x101c49[_0x547976]=_0x7b5d86<<0x10|_0x7b5d86>>>0x10,_0x49cb7e[_0x547976]=_0x7b5d86<<0x8|_0x7b5d86>>>0x18,_0x3add5c[_0x547976]=_0x7b5d86;var _0x7b5d86=_0x1e863d*0x1010101^_0x2b97a0*0x10001^_0x5392f2*0x101^_0x547976*0x1010100;_0x453adf[_0x5d8b0f]=_0x7b5d86<<0x18|_0x7b5d86>>>0x8,_0x2ae0fd[_0x5d8b0f]=_0x7b5d86<<0x10|_0x7b5d86>>>0x10,_0x147845[_0x5d8b0f]=_0x7b5d86<<0x8|_0x7b5d86>>>0x18,_0x10b857[_0x5d8b0f]=_0x7b5d86,_0x547976?(_0x547976=_0x5392f2^_0x2dc7dd[_0x2dc7dd[_0x2dc7dd[_0x1e863d^_0x5392f2]]],_0x4290a8^=_0x2dc7dd[_0x2dc7dd[_0x4290a8]]):_0x547976=_0x4290a8=0x1;}}());var _0x45668f=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x30ca79=_0x2a1695[_0x54b994(0x12a)]=_0x52a904[_0x54b994(0x2da)]({'_doReset':function(){var _0x16a57a=_0x54b994,_0x37ae78;if(!(this[_0x16a57a(0x3bc)]&&this[_0x16a57a(0x183)]===this[_0x16a57a(0x168)])){for(var _0xb6cc54=this[_0x16a57a(0x183)]=this[_0x16a57a(0x168)],_0x19ede7=_0xb6cc54[_0x16a57a(0x16e)],_0xeb10f1=_0xb6cc54[_0x16a57a(0x3a8)]/0x4,_0x349ea6=this[_0x16a57a(0x3bc)]=_0xeb10f1+0x6,_0x553edc=(_0x349ea6+0x1)*0x4,_0x476797=this[_0x16a57a(0x187)]=[],_0x2dfe61=0x0;_0x2dfe61<_0x553edc;_0x2dfe61++)_0x2dfe61<_0xeb10f1?_0x476797[_0x2dfe61]=_0x19ede7[_0x2dfe61]:(_0x37ae78=_0x476797[_0x2dfe61-0x1],_0x2dfe61%_0xeb10f1?_0xeb10f1>0x6&&_0x2dfe61%_0xeb10f1==0x4&&(_0x37ae78=_0x2fb64b[_0x37ae78>>>0x18]<<0x18|_0x2fb64b[_0x37ae78>>>0x10&0xff]<<0x10|_0x2fb64b[_0x37ae78>>>0x8&0xff]<<0x8|_0x2fb64b[_0x37ae78&0xff]):(_0x37ae78=_0x37ae78<<0x8|_0x37ae78>>>0x18,_0x37ae78=_0x2fb64b[_0x37ae78>>>0x18]<<0x18|_0x2fb64b[_0x37ae78>>>0x10&0xff]<<0x10|_0x2fb64b[_0x37ae78>>>0x8&0xff]<<0x8|_0x2fb64b[_0x37ae78&0xff],_0x37ae78^=_0x45668f[_0x2dfe61/_0xeb10f1|0x0]<<0x18),_0x476797[_0x2dfe61]=_0x476797[_0x2dfe61-_0xeb10f1]^_0x37ae78);for(var _0x3fc1c0=this[_0x16a57a(0x210)]=[],_0x23620a=0x0;_0x23620a<_0x553edc;_0x23620a++){var _0x2dfe61=_0x553edc-_0x23620a;if(_0x23620a%0x4)var _0x37ae78=_0x476797[_0x2dfe61];else var _0x37ae78=_0x476797[_0x2dfe61-0x4];_0x23620a<0x4||_0x2dfe61<=0x4?_0x3fc1c0[_0x23620a]=_0x37ae78:_0x3fc1c0[_0x23620a]=_0x453adf[_0x2fb64b[_0x37ae78>>>0x18]]^_0x2ae0fd[_0x2fb64b[_0x37ae78>>>0x10&0xff]]^_0x147845[_0x2fb64b[_0x37ae78>>>0x8&0xff]]^_0x10b857[_0x2fb64b[_0x37ae78&0xff]];}}},'encryptBlock':function(_0x361007,_0x6e9794){var _0x4083db=_0x54b994;this[_0x4083db(0x27a)](_0x361007,_0x6e9794,this[_0x4083db(0x187)],_0x1bc6ba,_0x101c49,_0x49cb7e,_0x3add5c,_0x2fb64b);},'decryptBlock':function(_0x227f88,_0x34c506){var _0x4b6df5=_0x54b994,_0x4c05e2=_0x227f88[_0x34c506+0x1];_0x227f88[_0x34c506+0x1]=_0x227f88[_0x34c506+0x3],_0x227f88[_0x34c506+0x3]=_0x4c05e2,this[_0x4b6df5(0x27a)](_0x227f88,_0x34c506,this[_0x4b6df5(0x210)],_0x453adf,_0x2ae0fd,_0x147845,_0x10b857,_0xe5c77f);var _0x4c05e2=_0x227f88[_0x34c506+0x1];_0x227f88[_0x34c506+0x1]=_0x227f88[_0x34c506+0x3],_0x227f88[_0x34c506+0x3]=_0x4c05e2;},'_doCryptBlock':function(_0xe3c158,_0x58413b,_0x26708b,_0x1467e8,_0x367c1f,_0x215f98,_0x5ce290,_0x163113){for(var _0x59a332=this['_nRounds'],_0x5870ee=_0xe3c158[_0x58413b]^_0x26708b[0x0],_0x2fc519=_0xe3c158[_0x58413b+0x1]^_0x26708b[0x1],_0x44d207=_0xe3c158[_0x58413b+0x2]^_0x26708b[0x2],_0x5a8124=_0xe3c158[_0x58413b+0x3]^_0x26708b[0x3],_0x271e16=0x4,_0x2ddb8e=0x1;_0x2ddb8e<_0x59a332;_0x2ddb8e++){var _0x321bf2=_0x1467e8[_0x5870ee>>>0x18]^_0x367c1f[_0x2fc519>>>0x10&0xff]^_0x215f98[_0x44d207>>>0x8&0xff]^_0x5ce290[_0x5a8124&0xff]^_0x26708b[_0x271e16++],_0x115e45=_0x1467e8[_0x2fc519>>>0x18]^_0x367c1f[_0x44d207>>>0x10&0xff]^_0x215f98[_0x5a8124>>>0x8&0xff]^_0x5ce290[_0x5870ee&0xff]^_0x26708b[_0x271e16++],_0x134220=_0x1467e8[_0x44d207>>>0x18]^_0x367c1f[_0x5a8124>>>0x10&0xff]^_0x215f98[_0x5870ee>>>0x8&0xff]^_0x5ce290[_0x2fc519&0xff]^_0x26708b[_0x271e16++],_0x5563cc=_0x1467e8[_0x5a8124>>>0x18]^_0x367c1f[_0x5870ee>>>0x10&0xff]^_0x215f98[_0x2fc519>>>0x8&0xff]^_0x5ce290[_0x44d207&0xff]^_0x26708b[_0x271e16++];_0x5870ee=_0x321bf2,_0x2fc519=_0x115e45,_0x44d207=_0x134220,_0x5a8124=_0x5563cc;}var _0x321bf2=(_0x163113[_0x5870ee>>>0x18]<<0x18|_0x163113[_0x2fc519>>>0x10&0xff]<<0x10|_0x163113[_0x44d207>>>0x8&0xff]<<0x8|_0x163113[_0x5a8124&0xff])^_0x26708b[_0x271e16++],_0x115e45=(_0x163113[_0x2fc519>>>0x18]<<0x18|_0x163113[_0x44d207>>>0x10&0xff]<<0x10|_0x163113[_0x5a8124>>>0x8&0xff]<<0x8|_0x163113[_0x5870ee&0xff])^_0x26708b[_0x271e16++],_0x134220=(_0x163113[_0x44d207>>>0x18]<<0x18|_0x163113[_0x5a8124>>>0x10&0xff]<<0x10|_0x163113[_0x5870ee>>>0x8&0xff]<<0x8|_0x163113[_0x2fc519&0xff])^_0x26708b[_0x271e16++],_0x5563cc=(_0x163113[_0x5a8124>>>0x18]<<0x18|_0x163113[_0x5870ee>>>0x10&0xff]<<0x10|_0x163113[_0x2fc519>>>0x8&0xff]<<0x8|_0x163113[_0x44d207&0xff])^_0x26708b[_0x271e16++];_0xe3c158[_0x58413b]=_0x321bf2,_0xe3c158[_0x58413b+0x1]=_0x115e45,_0xe3c158[_0x58413b+0x2]=_0x134220,_0xe3c158[_0x58413b+0x3]=_0x5563cc;},'keySize':0x100/0x20});_0x1b17e8[_0x54b994(0x12a)]=_0x52a904[_0x54b994(0x2d4)](_0x30ca79);}()),_0x8776d1['AES'];}));}(Ve)),Ve['exports'];}var Tn=gn();const On=$e(Tn);var Rn=Ni();const ti=$e(Rn);var Je={'exports':{}},Nn=Je[_0xb830ac(0x2ac)],ii;function Cn(){return ii||(ii=0x1,function(_0xc8e03c,_0x1492a7){(function(_0x4fd8ba,_0x115d29){_0xc8e03c['exports']=_0x115d29(ie());}(Nn,function(_0x4c9965){var _0x49f0b5=_0x17ca;return _0x4c9965[_0x49f0b5(0x32d)][_0x49f0b5(0x1fd)];}));}(Je)),Je['exports'];}var bn=Cn();function _0x17ca(_0x431543,_0x24f76f){_0x431543=_0x431543-0xed;var _0x1d47ed=_0x1d47();var _0x17cafe=_0x1d47ed[_0x431543];return _0x17cafe;}const Dn=$e(bn);var Ze={'exports':{}},yn=Ze['exports'],si;function Un(){var _0x2c3e01=_0xb830ac;return si||(si=0x1,function(_0x4372ea,_0x2bba53){(function(_0x60f8d2,_0x4a5759){var _0x16129f=_0x17ca;_0x4372ea[_0x16129f(0x2ac)]=_0x4a5759(ie());}(yn,function(_0x57b619){var _0x5625ca=_0x17ca;return(function(){var _0x476c25=_0x17ca;if(typeof ArrayBuffer=='function'){var _0x2535ba=_0x57b619,_0x3cf357=_0x2535ba[_0x476c25(0x154)],_0x215d07=_0x3cf357[_0x476c25(0x32e)],_0x236b63=_0x215d07[_0x476c25(0x186)],_0x16a04c=_0x215d07['init']=function(_0x272cd5){var _0x3c6d5=_0x476c25;if(_0x272cd5 instanceof ArrayBuffer&&(_0x272cd5=new Uint8Array(_0x272cd5)),(_0x272cd5 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x272cd5 instanceof Uint8ClampedArray||_0x272cd5 instanceof Int16Array||_0x272cd5 instanceof Uint16Array||_0x272cd5 instanceof Int32Array||_0x272cd5 instanceof Uint32Array||_0x272cd5 instanceof Float32Array||_0x272cd5 instanceof Float64Array)&&(_0x272cd5=new Uint8Array(_0x272cd5[_0x3c6d5(0x146)],_0x272cd5[_0x3c6d5(0x231)],_0x272cd5[_0x3c6d5(0x27d)])),_0x272cd5 instanceof Uint8Array){for(var _0x54bccb=_0x272cd5[_0x3c6d5(0x27d)],_0x356e10=[],_0x3761b7=0x0;_0x3761b7<_0x54bccb;_0x3761b7++)_0x356e10[_0x3761b7>>>0x2]|=_0x272cd5[_0x3761b7]<<0x18-_0x3761b7%0x4*0x8;_0x236b63[_0x3c6d5(0xef)](this,_0x356e10,_0x54bccb);}else _0x236b63[_0x3c6d5(0x285)](this,arguments);};_0x16a04c[_0x476c25(0x228)]=_0x215d07;}}()),_0x57b619[_0x5625ca(0x154)][_0x5625ca(0x32e)];}));}(Ze)),Ze[_0x2c3e01(0x2ac)];}var An=Un();const Pn=$e(An);var Qe={'exports':{}},Ln=Qe['exports'],ni;function Mn(){var _0x255d07=_0xb830ac;return ni||(ni=0x1,function(_0x1af3f9,_0xa1872b){(function(_0xa60772,_0x4d06a2,_0x45a552){var _0x2ef127=_0x17ca;_0x1af3f9[_0x2ef127(0x2ac)]=_0x4d06a2(ie(),bi());}(Ln,function(_0x41f113){var _0x23d24d=_0x17ca;return _0x41f113[_0x23d24d(0x14a)][_0x23d24d(0x260)]={'pad':function(){},'unpad':function(){}},_0x41f113[_0x23d24d(0x14a)]['NoPadding'];}));}(Qe)),Qe[_0x255d07(0x2ac)];}var wn=Mn();const xn=$e(wn);function kn(_0x4f3bb1,_0x1e6cfb){var _0x35cf68=_0xb830ac;const _0x4954c0=_0x1e6cfb-_0x4f3bb1[_0x35cf68(0x13f)]%_0x1e6cfb,_0x3e758f=String[_0x35cf68(0x2a7)](_0x4954c0)[_0x35cf68(0x37d)](_0x4954c0);return _0x4f3bb1+_0x3e758f;}function $n(_0x48b465,_0x425099){var _0x362e83=_0xb830ac;const _0xc08ccd=Pn[_0x362e83(0x39f)](0x10),_0x385a24=kn(_0x48b465,0x10),_0x1d76be=On[_0x362e83(0x239)](Dn[_0x362e83(0x2bb)](_0x385a24),ti[_0x362e83(0x2bb)](_0x425099),{'iv':_0xc08ccd,'padding':xn});return _0xc08ccd[_0x362e83(0x2cb)](_0x1d76be[_0x362e83(0x403)])[_0x362e83(0x1e1)](ti);}function Hn(){var _0x20e4ae=_0xb830ac;const _0x51bfd3=_0x437485()['__Key__'];if(_0x51bfd3){const _0x1aa200={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x20e4ae(0x332)]};return $n(JSON[_0x20e4ae(0x2b2)](_0x1aa200),_0x51bfd3);}}var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x4b83f4,_0x4c8c0d,_0x14551d,_0x1e3935)=>{var _0x4dac1b=_0xb830ac;for(var _0x2bed1a=_0x1e3935>0x1?void 0x0:_0x1e3935?Bn(_0x4c8c0d,_0x14551d):_0x4c8c0d,_0x4c88b6=_0x4b83f4[_0x4dac1b(0x13f)]-0x1,_0x57a331;_0x4c88b6>=0x0;_0x4c88b6--)(_0x57a331=_0x4b83f4[_0x4c88b6])&&(_0x2bed1a=_0x57a331(_0x2bed1a)||_0x2bed1a);return _0x2bed1a;},jn=(_0x13829b,_0x45e71f)=>(_0x5be608,_0x22feba)=>_0x45e71f(_0x5be608,_0x22feba,_0x13829b);let at=class{constructor(_0x3a0219){var _0x38980e=_0xb830ac;this[_0x38980e(0x220)]=_0x3a0219,this[_0x38980e(0x2c9)]();}[_0xb830ac(0x2c9)](){var _0x14f18e=_0xb830ac;this[_0x14f18e(0x220)][_0x14f18e(0x364)]({'interceptor':(_0x51ca7f,_0x31e4d8)=>{var _0x5bfaa5=_0x14f18e;const _0x45fd7b=_0x51ca7f['headers'],_0x428c76=Hn();return _0x428c76&&_0x45fd7b['set'](_0x5bfaa5(0x3dd),_0x428c76),_0x31e4d8(_0x51ca7f);}});}};at=Fn([jn(0x0,_0x2aff60(_0x562ff5))],at);var Vn=Object['getOwnPropertyDescriptor'],Gn=(_0x5417c6,_0x131301,_0x44894f,_0x5cc1b1)=>{for(var _0x5a541a=_0x5cc1b1>0x1?void 0x0:_0x5cc1b1?Vn(_0x131301,_0x44894f):_0x131301,_0x23a024=_0x5417c6['length']-0x1,_0x3e277d;_0x23a024>=0x0;_0x23a024--)(_0x3e277d=_0x5417c6[_0x23a024])&&(_0x5a541a=_0x3e277d(_0x5a541a)||_0x5a541a);return _0x5a541a;},vt=(_0x36ed97,_0x6ea63e)=>(_0x5ade95,_0x38614b)=>_0x6ea63e(_0x5ade95,_0x38614b,_0x36ed97);let Ot=class extends _0x19a501{constructor(_0x12ae99,_0x15b819,_0x286232){var _0x1bfd33=_0xb830ac;super(),D(this,_0x1bfd33(0x271),new _0x392068(null)),D(this,_0x1bfd33(0x22c),this[_0x1bfd33(0x271)][_0x1bfd33(0x290)]()),(this['_logService']=_0x12ae99,this[_0x1bfd33(0x40a)]=_0x15b819,this[_0x1bfd33(0x3a9)]=_0x286232);}async['loadUnitOfRevision'](_0x1a0f45,_0x191882,_0xf6e495){var _0x3a973a=_0xb830ac;this[_0x3a973a(0x271)]['next']({'unitId':_0x1a0f45,'type':_0x191882});let _0x53fd1c=null;switch(_0x191882){case Q[_0x3a973a(0x15b)]:{_0x53fd1c=await this[_0x3a973a(0x40a)][_0x3a973a(0x125)](_0x1a0f45,_0xf6e495);break;}case Q['UNIVER_DOC']:{_0x53fd1c=await this[_0x3a973a(0x40a)][_0x3a973a(0x270)](_0x1a0f45,_0xf6e495);break;}default:{this[_0x3a973a(0x3ef)]['error'](_0x3a973a(0x316),_0x3a973a(0x245));break;}}return _0x53fd1c;}async[_0xb830ac(0xf6)](_0x1fdd2f,_0x2622a9,_0x159c8c){var _0x1323e4=_0xb830ac,_0x18b5a6;this[_0x1323e4(0x271)][_0x1323e4(0x309)]({'unitId':_0x1fdd2f,'type':_0x2622a9,'subUnitId':_0x159c8c});let _0x5b1e0e=0x0;const _0x320f9a=await((_0x18b5a6=this['_localCacheService'])==null?void 0x0:_0x18b5a6[_0x1323e4(0x3d8)](_0x1fdd2f));return _0x320f9a&&(_0x320f9a[_0x1323e4(0x247)]||_0x320f9a['mutations'][_0x1323e4(0x13f)]!==0x0)&&(_0x5b1e0e=_0x320f9a[_0x1323e4(0x3ac)]),_0x5b1e0e===0x0&&this[_0x1323e4(0x3ef)][_0x1323e4(0x221)](_0x1323e4(0x316),_0x1323e4(0x215)),this[_0x1323e4(0x2f3)](_0x1fdd2f,_0x2622a9,_0x5b1e0e);}};Ot=Gn([vt(0x0,_0x469422),vt(0x1,_0x2aff60(_0x16b550)),vt(0x2,_0x2c2398(X))],Ot);var Wn=Object[_0xb830ac(0x2f2)],Yn=(_0x5b552c,_0x576c2b,_0x3e1ea8,_0x12bb11)=>{for(var _0x4bf952=_0x12bb11>0x1?void 0x0:_0x12bb11?Wn(_0x576c2b,_0x3e1ea8):_0x576c2b,_0x45b6ef=_0x5b552c['length']-0x1,_0x2af1f1;_0x45b6ef>=0x0;_0x45b6ef--)(_0x2af1f1=_0x5b552c[_0x45b6ef])&&(_0x4bf952=_0x2af1f1(_0x4bf952)||_0x4bf952);return _0x4bf952;},Et=(_0x205aa4,_0x38dc3f)=>(_0x38e810,_0x4cb39d)=>_0x38dc3f(_0x38e810,_0x4cb39d,_0x205aa4);const Kn=['image/png',_0xb830ac(0x206),_0xb830ac(0x36a),'image/gif',_0xb830ac(0x3d3)],qn=0x5*0x400*0x400,zn=_0xb830ac(0x33f),Xn=_0xb830ac(0x1d1);let Rt=class{constructor(_0x436267,_0x10864a,_0x54663e){var _0x2b42f5=_0xb830ac;D(this,_0x2b42f5(0x29c),0x0),D(this,'_change$',new _0x486fe1()),D(this,_0x2b42f5(0x294),this[_0x2b42f5(0x18d)]),D(this,_0x2b42f5(0x1ef),new Map()),(this[_0x2b42f5(0x220)]=_0x436267,this[_0x2b42f5(0x25e)]=_0x10864a,this['_univerInstanceService']=_0x54663e);}[_0xb830ac(0x368)](_0x170eb4){this['_waitCount']=_0x170eb4,this['_change$']['next'](_0x170eb4);}['getImageSourceCache'](_0x4d13b1,_0x2895f0){var _0x5e5543=_0xb830ac;if(_0x2895f0===_0x488ba6['BASE64']){const _0x3344e2=new Image();return _0x3344e2['src']=_0x4d13b1,_0x3344e2;}return this[_0x5e5543(0x1ef)][_0x5e5543(0x12c)](_0x4d13b1);}[_0xb830ac(0x34a)](_0x58913f,_0x34fa4c,_0x304ab8){var _0x341c84=_0xb830ac;_0x34fa4c===_0x488ba6[_0x341c84(0x121)]||_0x304ab8==null||this['_imageSourceCache'][_0x341c84(0x1af)](_0x58913f,_0x304ab8);}async[_0xb830ac(0x211)](_0x4a493c){var _0x1a68c3=_0xb830ac;try{const _0x6cece1=this[_0x1a68c3(0x322)](this[_0x1a68c3(0x2d0)](),''+_0x4a493c),_0x639cb7=(await this[_0x1a68c3(0x220)][_0x1a68c3(0x12c)](_0x6cece1))[_0x1a68c3(0x2d3)];if(_0x639cb7[_0x1a68c3(0x375)]&&_0x639cb7[_0x1a68c3(0x375)]['code']===vi['OK']){const _0x30ec99=_0x188f0c(_0x639cb7[_0x1a68c3(0x21d)],this['_getDownloadEndpointURL']());return Promise[_0x1a68c3(0x3cc)](_0x30ec99);}return Promise[_0x1a68c3(0x143)](_0x639cb7[_0x1a68c3(0x375)]);}catch(_0x4a6d6d){return Promise['reject'](_0x4a6d6d);}}async['saveImage'](_0x2d0ee5){var _0x165172=_0xb830ac;let _0x2b1b74='';if(!Kn[_0x165172(0x35f)](_0x2d0ee5[_0x165172(0x348)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x34a7b8[_0x165172(0x1d2)]));if(_0x2d0ee5[_0x165172(0x116)]>qn)return this['_decreaseWaiting'](),Promise[_0x165172(0x143)](new Error(_0x34a7b8['ERROR_EXCEED_SIZE']));try{const _0xd95dfc=new FormData();_0xd95dfc[_0x165172(0x30e)](_0x165172(0x3c6),_0x2d0ee5);const _0x1d9d85=this[_0x165172(0x227)][_0x165172(0x385)](),_0x39c1d3=_0x1d9d85==null?void 0x0:_0x1d9d85[_0x165172(0x3b7)]();if(!_0x39c1d3)throw new Error('unitId\x20is\x20not\x20found');const _0x4348ed=this[_0x165172(0x392)]()+_0x165172(0x1a1)+_0x2d0ee5[_0x165172(0x116)][_0x165172(0x1e1)]()+_0x165172(0x28d)+Ei[_0x165172(0x2df)]+_0x165172(0x1fc)+encodeURIComponent(_0x39c1d3),_0x2ade44={'body':_0xd95dfc},_0x11ee2a=(await this[_0x165172(0x220)][_0x165172(0x333)](_0x4348ed,_0x2ade44))['body'];if(typeof _0x11ee2a[_0x165172(0x104)]!='string')return this['_decreaseWaiting'](),Promise[_0x165172(0x143)](new Error(_0x34a7b8[_0x165172(0x3f0)]));_0x2b1b74=_0x11ee2a[_0x165172(0x104)];}catch{return this['_decreaseWaiting'](),Promise[_0x165172(0x143)](new Error(_0x34a7b8['ERROR_IMAGE']));}return new Promise((_0x2aa472,_0x47c95d)=>{var _0x5e2f1b=_0x165172;const _0x22622c=new FileReader();_0x22622c[_0x5e2f1b(0x325)](_0x2d0ee5),_0x22622c[_0x5e2f1b(0x367)]=_0x197bc8=>{var _0x371100=_0x5e2f1b,_0x556b31;const _0x343bdd=(_0x556b31=_0x197bc8['target'])==null?void 0x0:_0x556b31['result'];if(_0x343bdd==null){this[_0x371100(0x3ae)](),_0x47c95d(new Error(_0x34a7b8['ERROR_IMAGE']));return;}const _0x5df3cc=_0x49efa2(0x6);_0x2aa472({'imageId':_0x5df3cc,'imageSourceType':_0x488ba6[_0x371100(0x272)],'source':_0x2b1b74,'base64Cache':_0x343bdd,'status':_0x34a7b8['SUCCUSS']}),this[_0x371100(0x3ae)]();};});}['_getUploadFileURL'](){var _0x105dc7=_0xb830ac,_0x36125b;const _0xd8adbf=this[_0x105dc7(0x25e)]['getConfig'](K);return(_0x36125b=_0xd8adbf==null?void 0x0:_0xd8adbf[_0x105dc7(0x2e0)])!=null?_0x36125b:zn;}[_0xb830ac(0x2d0)](){var _0x1cd439=_0xb830ac,_0x3cb9e4;const _0x4165a6=this[_0x1cd439(0x25e)][_0x1cd439(0x144)](K);return(_0x3cb9e4=_0x4165a6==null?void 0x0:_0x4165a6[_0x1cd439(0x2a2)])!=null?_0x3cb9e4:Xn;}[_0xb830ac(0x1bc)](){var _0x1ff839=_0xb830ac,_0x3fc613;const _0x503370=this['_configService'][_0x1ff839(0x144)](K);return(_0x3fc613=_0x503370==null?void 0x0:_0x503370[_0x1ff839(0x278)])!=null?_0x3fc613:location[_0x1ff839(0x340)];}[_0xb830ac(0x322)](_0xc78d5b,_0x26c0f4){var _0x179cd8=_0xb830ac;return _0xc78d5b[_0x179cd8(0x31f)](_0x179cd8(0x236),_0x26c0f4);}[_0xb830ac(0x3ae)](){var _0x426e12=_0xb830ac;this[_0x426e12(0x29c)]-=0x1,this[_0x426e12(0x18d)][_0x426e12(0x309)](this['_waitCount']);}};Rt=Yn([Et(0x0,_0x2aff60(_0x562ff5)),Et(0x1,_0x495b35),Et(0x2,_0x2aff60(_0x469993))],Rt);var Jn=Object[_0xb830ac(0x2f2)],Zn=(_0x3cb7b4,_0x31ec46,_0x210ad8,_0x54d973)=>{var _0x1240bd=_0xb830ac;for(var _0x48c06b=_0x54d973>0x1?void 0x0:_0x54d973?Jn(_0x31ec46,_0x210ad8):_0x31ec46,_0xf9b2a8=_0x3cb7b4[_0x1240bd(0x13f)]-0x1,_0x13aa6f;_0xf9b2a8>=0x0;_0xf9b2a8--)(_0x13aa6f=_0x3cb7b4[_0xf9b2a8])&&(_0x48c06b=_0x13aa6f(_0x48c06b)||_0x48c06b);return _0x48c06b;},ri=(_0x5b1cc4,_0x1e2739)=>(_0x58011c,_0xbd4598)=>_0x1e2739(_0x58011c,_0xbd4598,_0x5b1cc4);const Qn='/universer-api/authz';let Nt=class{constructor(_0x136686,_0x52932d){var _0x496b88=_0xb830ac;this['_configService']=_0x136686,this[_0x496b88(0x266)]=_0x52932d;}[_0xb830ac(0x20d)](){var _0x334fcd=_0xb830ac,_0x52acf2;const _0x228531=this[_0x334fcd(0x25e)][_0x334fcd(0x144)](K);return(_0x52acf2=_0x228531==null?void 0x0:_0x228531[_0x334fcd(0x36d)])!=null?_0x52acf2:Qn;}async[_0xb830ac(0x353)](_0x1192bb){var _0x243d48=_0xb830ac;const _0x443c60=this[_0x243d48(0x20d)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this[_0x243d48(0x266)][_0x243d48(0x12c)](_0x443c60,{'params':{'objectID':_0x1192bb[_0x243d48(0x23d)],'unitID':_0x1192bb[_0x243d48(0x23d)]}}))['body'][_0x243d48(0x3ee)][_0x243d48(0x3b9)](_0x54c553=>({'objectId':_0x54c553['id'],'name':_0x54c553[_0x243d48(0x15d)][_0x243d48(0x241)],'metadata':{'icon':_0x54c553['subject'][_0x243d48(0x1a5)]},'label':_0x54c553[_0x243d48(0x15d)][_0x243d48(0x241)],'objectType':_0x450374[_0x243d48(0x202)]})),'metadata':{},'type':_0x450374[_0x243d48(0x202)]}]};}};Nt=Zn([ri(0x0,_0x2aff60(_0x495b35)),ri(0x1,_0x2aff60(_0x562ff5))],Nt);var er=Object[_0xb830ac(0x2f2)],tr=(_0x3b63cd,_0x1d3440,_0x3924d6,_0x540b73)=>{var _0x524a09=_0xb830ac;for(var _0x19f085=_0x540b73>0x1?void 0x0:_0x540b73?er(_0x1d3440,_0x3924d6):_0x1d3440,_0x1e2efa=_0x3b63cd[_0x524a09(0x13f)]-0x1,_0x162f1c;_0x1e2efa>=0x0;_0x1e2efa--)(_0x162f1c=_0x3b63cd[_0x1e2efa])&&(_0x19f085=_0x162f1c(_0x19f085)||_0x19f085);return _0x19f085;},Ue=(_0x4ec2e7,_0x2d2006)=>(_0x782f9e,_0x13ea47)=>_0x2d2006(_0x782f9e,_0x13ea47,_0x4ec2e7);let ot=class extends _0x19a501{constructor(_0x350e4c,_0x2d1c59,_0x2cd511,_0x3d6723,_0x85b684){var _0xd5be46=_0xb830ac;super(),this[_0xd5be46(0x3ca)]=_0x350e4c,this[_0xd5be46(0x227)]=_0x2d1c59,this['_permissionService']=_0x2cd511,this[_0xd5be46(0x373)]=_0x3d6723,this[_0xd5be46(0x139)]=_0x85b684,this[_0xd5be46(0x330)](),this[_0xd5be46(0x282)]();}[_0xb830ac(0x282)](){var _0x46d3d8=_0xb830ac;const _0x18ee31=async _0x58255d=>{var _0x12245b=_0x17ca;(await this[_0x12245b(0x373)]['requireSession'](_0x58255d))[_0x12245b(0x3cf)][_0x12245b(0x12e)](_0x15cae6(_0x1fb72a=>_0x1fb72a['eventID']===_0x4fe2f4[_0x12245b(0x192)]),_0x22f454(this[_0x12245b(0x1e3)]))[_0x12245b(0x3db)](_0x1dfcd1=>{var _0xaa3652=_0x12245b;const _0x47a66f=_0x1dfcd1,{reason:_0x2d787b}=_0x47a66f[_0xaa3652(0x20e)];this[_0xaa3652(0x139)][_0xaa3652(0x2f9)]({'id':re[_0xaa3652(0x21b)],'data':_0x2d787b}),this[_0xaa3652(0x356)][_0xaa3652(0x17a)](new _0x27abd8(_0x58255d)['id'],!0x1),this[_0xaa3652(0x373)][_0xaa3652(0x1b2)](_0x58255d);});};_0x12897c(this[_0x46d3d8(0x227)][_0x46d3d8(0x3a5)](_0x2d50ad[_0x46d3d8(0x15b)]),this[_0x46d3d8(0x227)][_0x46d3d8(0x3a5)](_0x2d50ad['UNIVER_DOC']))[_0x46d3d8(0x12e)](_0x23d4e7(_0x21b0cd=>_0x21b0cd[_0x46d3d8(0x3b7)]()),_0x15cae6(_0x48f6f4=>!_0x483a44(_0x48f6f4)),_0x22f454(this['dispose$']))[_0x46d3d8(0x3db)](_0x575024=>{_0x18ee31(_0x575024);});}[_0xb830ac(0x330)](){var _0x946a30=_0xb830ac;const _0x28d631=async _0x5149c3=>{var _0x5496c7=_0x17ca;const _0x9ac1b6=await this['_collaborationSessionService']['requireSession'](_0x5149c3),_0xb50faa=this[_0x5496c7(0x3ca)]['get'](_0xf9df9f);_0x9ac1b6[_0x5496c7(0x3cf)]['pipe'](_0x15cae6(_0x579176=>_0x579176['eventID']===_0x4fe2f4[_0x5496c7(0x3bd)]),_0x22f454(this[_0x5496c7(0x1e3)]))['subscribe'](_0x54bf4f=>{var _0xb128fc=_0x5496c7;const _0x3f6ef4=_0x54bf4f,{objectId:_0x47839d}=_0x3f6ef4['data'];_0x47839d===_0x5149c3?_0xb50faa[_0xb128fc(0x29b)](_0x5149c3):_0xb50faa[_0xb128fc(0x3e3)](_0x5149c3,_0x47839d);});};_0x12897c(this[_0x946a30(0x227)][_0x946a30(0x3a5)](_0x2d50ad[_0x946a30(0x15b)]))['pipe'](_0x23d4e7(_0x221ab4=>_0x221ab4['getUnitId']()),_0x15cae6(_0x1d348e=>!_0x483a44(_0x1d348e)),_0x22f454(this[_0x946a30(0x1e3)]))[_0x946a30(0x3db)](_0x1846a6=>{_0x28d631(_0x1846a6);});}};ot=tr([Ue(0x0,_0x2aff60(_0x57442c)),Ue(0x1,_0x469993),Ue(0x2,_0x228023),Ue(0x3,_0x2aff60(Le)),Ue(0x4,_0x2aff60(ve))],ot);var ir=Object[_0xb830ac(0x2f2)],sr=(_0x2983d9,_0x1a01e1,_0x324798,_0x25d6f2)=>{var _0x8c476a=_0xb830ac;for(var _0x5e8927=_0x25d6f2>0x1?void 0x0:_0x25d6f2?ir(_0x1a01e1,_0x324798):_0x1a01e1,_0xfeeca2=_0x2983d9[_0x8c476a(0x13f)]-0x1,_0x50fd92;_0xfeeca2>=0x0;_0xfeeca2--)(_0x50fd92=_0x2983d9[_0xfeeca2])&&(_0x5e8927=_0x50fd92(_0x5e8927)||_0x5e8927);return _0x5e8927;},ai=(_0x200daf,_0x3ae226)=>(_0x4dfe7a,_0xf60b4f)=>_0x3ae226(_0x4dfe7a,_0xf60b4f,_0x200daf);let Ct=class{constructor(_0x2650d3,_0x3a6768){var _0xa9a224=_0xb830ac;this[_0xa9a224(0x25e)]=_0x2650d3,this['_httpService']=_0x3a6768;}async[_0xb830ac(0x1cb)](_0x5dca37,_0x4aae5b){var _0x1cf339=_0xb830ac,_0x5ec6d7;const {unitID:_0x5a49ac,type:_0x391377,revision:_0x2c0a1b=0x0}=_0x4aae5b,_0x3bc073=this['getSnapshotAPIPath']()+'/'+_0x391377+_0x1cf339(0x307)+_0x5a49ac+_0x1cf339(0x213)+_0x2c0a1b,_0x4c3924=(await this[_0x1cf339(0x220)][_0x1cf339(0x12c)](_0x3bc073))['body'],_0x106461=(_0x5ec6d7=_0x4c3924['snapshot'])==null?void 0x0:_0x5ec6d7[_0x1cf339(0x338)];if(_0x106461){const _0x444538=_0x106461==null?void 0x0:_0x106461[_0x1cf339(0x25a)],_0x47ad43=_0x239223[_0x1cf339(0x3a0)](_0x9b7a41(_0x444538));_0x106461[_0x1cf339(0x25a)]=_0x47ad43,Object[_0x1cf339(0x2bf)](_0x106461[_0x1cf339(0x1e4)])['forEach'](([,_0x598bbe])=>{var _0x35c039=_0x1cf339;const _0x4a602e=_0x598bbe[_0x35c039(0x25a)],_0x416a0f=_0x239223[_0x35c039(0x3a0)](_0x9b7a41(_0x4a602e));_0x598bbe[_0x35c039(0x25a)]=_0x416a0f;});}return _0x4c3924;}async[_0xb830ac(0x26d)](_0x5284d3,_0x2d15ca){var _0x1f15b2=_0xb830ac;const {unitID:_0xaa068d,type:_0x5d64f3,blockID:_0x1bfcb5}=_0x2d15ca,_0x5cfd01=this[_0x1f15b2(0x386)]()+'/'+_0x5d64f3+_0x1f15b2(0x307)+_0xaa068d+_0x1f15b2(0x2f7)+_0x1bfcb5;return(await this[_0x1f15b2(0x220)][_0x1f15b2(0x12c)](_0x5cfd01))[_0x1f15b2(0x2d3)];}async['getDeserializedSheetBlock'](_0x1854f9,_0x57a988){var _0x18798b=_0xb830ac;const {unitID:_0x2eaabf,type:_0x560684,blockID:_0x44decd}=_0x57a988,_0x53d3ac=this[_0x18798b(0x386)]()+_0x18798b(0x2f7)+_0x560684+'/unit/'+_0x2eaabf+'/block/'+_0x44decd;return(await this[_0x18798b(0x220)][_0x18798b(0x12c)](_0x53d3ac))[_0x18798b(0x2d3)];}async[_0xb830ac(0x199)](_0x10c1f1,_0x39614c){var _0x49f0a9=_0xb830ac;const {unitID:_0x267387,type:_0x5f51c7,from:_0x32607b,to:_0x4be46b}=_0x39614c,_0x1cfc97=this['_getAPIPrefix']()+'/'+_0x5f51c7+_0x49f0a9(0x307)+_0x267387+_0x49f0a9(0x13e)+_0x32607b+_0x49f0a9(0x1d8)+_0x4be46b;return(await this[_0x49f0a9(0x220)][_0x49f0a9(0x12c)](_0x1cfc97))['body'];}['getSnapshotAPIPath'](){var _0x37ef2=_0xb830ac,_0x54c205;return(_0x54c205=this[_0x37ef2(0x25e)][_0x37ef2(0x144)](ps))!=null?_0x54c205:this[_0x37ef2(0x386)]();}[_0xb830ac(0x386)](){var _0x5b5884=_0xb830ac,_0x525420;const _0x4562bd=this[_0x5b5884(0x25e)]['getConfig'](K);return(_0x525420=_0x4562bd==null?void 0x0:_0x4562bd['snapshotServerUrl'])!=null?_0x525420:Es;}async['getResourcesRequest'](_0x582c89,_0x466215){var _0x237b9d=_0xb830ac;const _0x4c7e4b=_0x237b9d(0x2fc)+_0x466215[_0x237b9d(0x348)]+_0x237b9d(0x307)+_0x466215[_0x237b9d(0x3f5)]+_0x237b9d(0x1d9);return(await this[_0x237b9d(0x220)][_0x237b9d(0x12c)](_0x4c7e4b,{'params':{'resourceId':JSON[_0x237b9d(0x2b2)](_0x466215[_0x237b9d(0x3f4)])}}))[_0x237b9d(0x2d3)];}[_0xb830ac(0x1ab)](){var _0x5f253d=_0xb830ac;throw new Error(_0x5f253d(0x292));}[_0xb830ac(0x2fa)](){var _0x41f055=_0xb830ac;throw new Error(_0x41f055(0x292));}[_0xb830ac(0x254)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xb830ac(0x361)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){var _0x288b82=_0xb830ac;throw new Error(_0x288b82(0x292));}[_0xb830ac(0x1a7)](){var _0x5e35c2=_0xb830ac;throw new Error(_0x5e35c2(0x292));}};Ct=sr([ai(0x0,_0x495b35),ai(0x1,_0x2aff60(_0x562ff5))],Ct);var nr=Object[_0xb830ac(0x2f2)],rr=(_0x376c25,_0x8bcc9f,_0x38400a,_0x5ef4e2)=>{var _0xe3492c=_0xb830ac;for(var _0x5b4e93=_0x5ef4e2>0x1?void 0x0:_0x5ef4e2?nr(_0x8bcc9f,_0x38400a):_0x8bcc9f,_0x15b662=_0x376c25[_0xe3492c(0x13f)]-0x1,_0x12697c;_0x15b662>=0x0;_0x15b662--)(_0x12697c=_0x376c25[_0x15b662])&&(_0x5b4e93=_0x12697c(_0x5b4e93)||_0x5b4e93);return _0x5b4e93;},Ae=(_0x544d91,_0x335091)=>(_0x9648aa,_0x220031)=>_0x335091(_0x9648aa,_0x220031,_0x544d91);let bt=class extends _0x283e51{constructor(_0x3d004b,_0x108777,_0x5564a6,_0x62cd46,_0x7aedf2){super(_0x3d004b,_0x108777,_0x5564a6),this['_transformService']=_0x62cd46,this['_logService']=_0x7aedf2;}[_0xb830ac(0x3f2)](_0x4819c2,_0x3524e5){var _0x32503e=_0xb830ac;const _0x33bf86=this['_getUndoStack'](_0x4819c2);if(_0x33bf86)try{const _0x26cb56=this[_0x32503e(0x2f5)](_0x33bf86,_0x3524e5);this['_substituteUndoStack'](_0x4819c2,_0x26cb56);}catch(_0x587f4d){this['_logService'][_0x32503e(0x375)](_0x32503e(0x17f),_0x587f4d),this[_0x32503e(0x1bf)](_0x4819c2);}const _0x1cdb90=this[_0x32503e(0x151)](_0x4819c2);if(_0x1cdb90)try{const _0x24c8a7=this['_transformStack'](_0x1cdb90,_0x3524e5);this['_substituteRedoStack'](_0x4819c2,_0x24c8a7);}catch(_0x2c21cf){this[_0x32503e(0x3ef)][_0x32503e(0x375)](_0x2c21cf),this[_0x32503e(0x152)](_0x4819c2);}}['_clearUndo'](_0x522259){var _0x354cbf=_0xb830ac;const _0x2c278c=this[_0x354cbf(0x11b)](_0x522259);_0x2c278c&&(_0x2c278c[_0x354cbf(0x13f)]=0x0,this['_updateStatus']());}[_0xb830ac(0x152)](_0x37891b){var _0x3f2c71=_0xb830ac;const _0x532f84=this[_0x3f2c71(0x151)](_0x37891b);_0x532f84&&(_0x532f84[_0x3f2c71(0x13f)]=0x0,this[_0x3f2c71(0x298)]());}[_0xb830ac(0x3e2)](_0x3ebfd9,_0x5bfb2f){var _0x4c5ff6=_0xb830ac;this[_0x4c5ff6(0x28f)][_0x4c5ff6(0x1af)](_0x3ebfd9,_0x5bfb2f),this[_0x4c5ff6(0x298)]();}['_substituteRedoStack'](_0x3630fa,_0x5dbb4f){var _0x41242b=_0xb830ac;this['_redoStacks'][_0x41242b(0x1af)](_0x3630fa,_0x5dbb4f),this['_updateStatus']();}[_0xb830ac(0x2f5)](_0x4e4c23,_0x737b66){var _0x569063=_0xb830ac;const _0x4e4a2c=[];let _0x4316f6=_0x737b66,_0x3e73be=_0x737b66;for(let _0x170883=_0x4e4c23[_0x569063(0x13f)]-0x1;_0x170883>=0x0;_0x170883--){const {unitID:_0x467037,undoMutations:_0x4cd2ed,redoMutations:_0x450638}=_0x4e4c23[_0x170883],_0x1c4f64=this[_0x569063(0x29a)][_0x569063(0x1f7)](_0x4316f6,_0x4cd2ed),_0xe79540=this[_0x569063(0x29a)][_0x569063(0x1f7)](_0x3e73be,_0x450638);if(_0x2a7718(_0x1c4f64)||_0x2a7718(_0xe79540)){this[_0x569063(0x3ef)][_0x569063(0x375)](_0x569063(0x17f),_0x569063(0x33c),_0x1c4f64,_0xe79540);break;}_0x4316f6=_0x1c4f64['c1Prime'],_0x3e73be=_0xe79540[_0x569063(0x22a)],_0x4e4a2c[_0x569063(0x1e6)]({'unitID':_0x467037,'undoMutations':_0x1c4f64[_0x569063(0x328)],'redoMutations':_0xe79540['m2Prime']});}return _0x4e4a2c['reverse']();}};bt=rr([Ae(0x0,_0x469993),Ae(0x1,_0x26c597),Ae(0x2,_0x3befc9),Ae(0x3,_0x3e67f5),Ae(0x4,_0x469422)],bt);var ar=Object[_0xb830ac(0x180)],or=Object['getOwnPropertyDescriptor'],cr=(_0x31ea53,_0x1f3846,_0x1883d4)=>_0x1f3846 in _0x31ea53?ar(_0x31ea53,_0x1f3846,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1883d4}):_0x31ea53[_0x1f3846]=_0x1883d4,_r=(_0x5e1989,_0x5601ce,_0x5a9f26,_0x26b0f5)=>{var _0x5f45ad=_0xb830ac;for(var _0x29b53b=_0x26b0f5>0x1?void 0x0:_0x26b0f5?or(_0x5601ce,_0x5a9f26):_0x5601ce,_0x156c54=_0x5e1989[_0x5f45ad(0x13f)]-0x1,_0x133129;_0x156c54>=0x0;_0x156c54--)(_0x133129=_0x5e1989[_0x156c54])&&(_0x29b53b=_0x133129(_0x29b53b)||_0x29b53b);return _0x29b53b;},pt=(_0x3ef7b3,_0x591369)=>(_0x2a739a,_0x3ed6cc)=>_0x591369(_0x2a739a,_0x3ed6cc,_0x3ef7b3),hr=(_0x13bdee,_0x76da66,_0x1b5263)=>cr(_0x13bdee,_0x76da66+'',_0x1b5263);const lr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Dt=class extends _0x14de56{constructor(_0x2a72a1,_0x3c0079,_0x342ebd,_0x16d101){var _0x3e6833=_0xb830ac;super(),D(this,_0x3e6833(0x105)),(this[_0x3e6833(0x3ef)]=_0x3c0079,this[_0x3e6833(0x3ca)]=_0x342ebd,this[_0x3e6833(0x25e)]=_0x16d101);const {..._0x27bdc8}=_0x5e72bb({},ks,_0x2a72a1);if(!_0x27bdc8['socketService'])throw new Error(_0x3e6833(0x2e1));this[_0x3e6833(0x105)]=_0x27bdc8,this['_configService'][_0x3e6833(0x2f8)](K,_0x27bdc8);}[_0xb830ac(0x1be)](){var _0x5a6f20=_0xb830ac;this[_0x5a6f20(0x1d4)](),this[_0x5a6f20(0x19f)]();}[_0xb830ac(0x1d4)](){var _0x4272b0=_0xb830ac,_0x3748e2,_0x9cc506;this[_0x4272b0(0x3ca)][_0x4272b0(0x362)](_0xf3cf67)&&this['_logService'][_0x4272b0(0x375)]('[UniverCollaborationClientPlugin]',_0x4272b0(0x2b6));const _0x295ec3=_0x5d2cbc([[_0xf3cf67,{'useClass':bt}],[Le],[Pe],[it],[rt],[at],[pi],[ot],[ve],[Ot],[Ri,{'useClass':this[_0x4272b0(0x105)][_0x4272b0(0x372)]}],[_0x256d14,{'useClass':Ct}],[_0x9db73a,{'useClass':Tt}],[_0x2e435f,{'useClass':Rt}],[_0x4eff9c,{'useClass':Nt}],[nt],[gt]],(_0x3748e2=this[_0x4272b0(0x105)])==null?void 0x0:_0x3748e2[_0x4272b0(0x1cd)]);if(!((_0x9cc506=this[_0x4272b0(0x105)])!=null&&_0x9cc506['enableSingleActiveInstanceLock'])){const _0x40b8bf=_0x295ec3['findIndex'](([_0x1998e1])=>_0x1998e1===_t);_0x40b8bf!==-0x1&&_0x295ec3['splice'](_0x40b8bf,0x1);}_0x4eb64e(this[_0x4272b0(0x3ca)],_0x295ec3);}[_0xb830ac(0x19f)](){var _0x1b2055=_0xb830ac,_0x1eeb96,_0x524b44,_0x14e8ef;this[_0x1b2055(0x3ca)]['get'](_0x562ff5)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x80a204({'maxParallel':0x6})}),(_0x1eeb96=this['_config'])!=null&&_0x1eeb96[_0x1b2055(0x3da)]||(_0x524b44=this['_injector'][_0x1b2055(0x12c)](X,_0x315b9b[_0x1b2055(0x38d)]))==null||_0x524b44[_0x1b2055(0x10e)](),(_0x14e8ef=this[_0x1b2055(0x105)])!=null&&_0x14e8ef[_0x1b2055(0x208)]&&_0xd8901c(this['_injector'],[[rt]]),_0xd8901c(this[_0x1b2055(0x3ca)],[[at],[nt],[ot]]);}};hr(Dt,'pluginName',lr),Dt=_r([_0x22d998(_0x3bfe3e,_0x267d46),pt(0x1,_0x469422),pt(0x2,_0x2aff60(_0x57442c)),pt(0x3,_0x495b35)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,Le as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,pi as CommentService,ue as ConflictState,Is as DEFAULT_COLLAB_WEB_SOCKET_URL,br as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Or as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Ss as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,Vs as INetworkConditionService,_t as ISingleActiveUnitService,Nr as LOCAL_CACHE_INTERVAL,Rr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Nt as MentionIoHttpService,de as OfflineState,ae as PendingState,Cr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Os as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ct as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Gs as deserializeToCombResponse,Dr as getLocalCacheKey,Ws as serializeCombRequest};